mirror of
https://github.com/osmarks/website
synced 2024-12-24 17:10:32 +00:00
4 lines
10 KiB
JavaScript
4 lines
10 KiB
JavaScript
|
(()=>{var a,w=new Array(128).fill(void 0);w.push(void 0,null,!0,!1);function c(n){return w[n]}var E=w.length;function L(n){n<132||(w[n]=E,E=n)}function M(n){let e=c(n);return L(n),e}function _(n){E===w.length&&w.push(w.length+1);let e=E;return E=w[e],w[e]=n,e}var T=typeof TextDecoder<"u"?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};typeof TextDecoder<"u"&&T.decode();var p=null;function m(){return(p===null||p.byteLength===0)&&(p=new Uint8Array(a.memory.buffer)),p}function s(n,e){return n=n>>>0,T.decode(m().subarray(n,n+e))}function g(n){return n==null}var k=null;function R(){return(k===null||k.byteLength===0)&&(k=new Float64Array(a.memory.buffer)),k}var A=null;function l(){return(A===null||A.byteLength===0)&&(A=new Int32Array(a.memory.buffer)),A}function W(n){let e=typeof n;if(e=="number"||e=="boolean"||n==null)return`${n}`;if(e=="string")return`"${n}"`;if(e=="symbol"){let o=n.description;return o==null?"Symbol":`Symbol(${o})`}if(e=="function"){let o=n.name;return typeof o=="string"&&o.length>0?`Function(${o})`:"Function"}if(Array.isArray(n)){let o=n.length,i="[";o>0&&(i+=W(n[0]));for(let u=1;u<o;u++)i+=", "+W(n[u]);return i+="]",i}let t=/\[object ([^\]]+)\]/.exec(toString.call(n)),r;if(t.length>1)r=t[1];else return toString.call(n);if(r=="Object")try{return"Object("+JSON.stringify(n)+")"}catch{return"Object"}return n instanceof Error?`${n.name}: ${n.message}
|
||
|
${n.stack}`:r}var d=0,v=typeof TextEncoder<"u"?new TextEncoder("utf-8"):{encode:()=>{throw Error("TextEncoder not available")}},U=typeof v.encodeInto=="function"?function(n,e){return v.encodeInto(n,e)}:function(n,e){let t=v.encode(n);return e.set(t),{read:n.length,written:t.length}};function h(n,e,t){if(t===void 0){let f=v.encode(n),y=e(f.length,1)>>>0;return m().subarray(y,y+f.length).set(f),d=f.length,y}let r=n.length,o=e(r,1)>>>0,i=m(),u=0;for(;u<r;u++){let f=n.charCodeAt(u);if(f>127)break;i[o+u]=f}if(u!==r){u!==0&&(n=n.slice(u)),o=t(o,r,r=u+n.length*3,1)>>>0;let f=m().subarray(o+u,o+r),y=U(n,f);u+=y.written}return d=u,o}function C(n,e,t,r){let o={a:n,b:e,cnt:1,dtor:t},i=(...u)=>{o.cnt++;let f=o.a;o.a=0;try{return r(f,o.b,...u)}finally{--o.cnt===0?a.__wbindgen_export_2.get(o.dtor)(f,o.b):o.a=f}};return i.original=o,i}function F(n,e){let t=e(n.length*1,1)>>>0;return m().set(n,t/1),d=n.length,t}function B(n,e,t){let r=F(t,a.__wbindgen_malloc),o=d;a.wasm_bindgen__convert__closures__invoke1_mut__h5860e381bcb9706c(n,e,r,o)}function D(n,e,t,r){let o={a:n,b:e,cnt:1,dtor:t},i=(...u)=>{o.cnt++;try{return r(o.a,o.b,...u)}finally{--o.cnt===0&&(a.__wbindgen_export_2.get(o.dtor)(o.a,o.b),o.a=0)}};return i.original=o,i}function N(n,e,t){a.wasm_bindgen__convert__closures__invoke1__h5a4fa13f3ec138ca(n,e,_(t))}function $(n,e){return n=n>>>0,m().subarray(n/1,n/1+e)}function V(n){return()=>{throw new Error(`${n} is not defined`)}}function S(){let n=a.main();return M(n)}var x=null;function z(){return(x===null||x.byteLength===0)&&(x=new Uint32Array(a.memory.buffer)),x}function q(n,e){n=n>>>0;let r=z().subarray(n/4,n/4+e),o=[];for(let i=0;i<r.length;i++)o.push(M(r[i]));return o}function b(n,e){try{return n.apply(this,e)}catch(t){a.__wbindgen_exn_store(_(t))}}async function J(n,e){if(typeof Response=="function"&&n instanceof Response){if(typeof WebAssembly.instantiateStreaming=="function")try{return await WebAssembly.instantiateStreaming(n,e)}catch(r){if(n.headers.get("Content-Type")!="application/wasm")console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",r);else throw r}let t=await n.arrayBuffer();return await WebAssembly.instantiate(t,e)}else{let t=await WebAssembly.instantiate(n,e);return t instanceof WebAssembly.Instance?{instance:t,module:n}:t}}function H(){let n={};return n.wbg={},n.wbg.__wbindgen_object_drop_ref=function(e){M(e)},n.wbg.__wbindgen_object_clone_ref=function(e){let t=c(e);return _(t)},n.wbg.__wbg_wincallback_a6a4fc5b782108cf=typeof win_callback=="function"?win_callback:V("win_callback"),n.wbg.__wbg_runaibackground_8f0429c82a23ffaf=function(e,t){var r=$(e,t).slice();a.__wbindgen_free(e,t*1,1),run_ai_background(r)},n.wbg.__wbindgen_string_new=function(e,t){let r=s(e,t);return _(r)},n.wbg.__wbindgen_number_get=function(e,t){let r=c(t),o=typeof r=="number"?r:void 0;R()[e/8+1]=g(o)?0:o,l()[e/4+0]=!g(o)},n.wbg.__wbindgen_number_new=function(e){return _(e)},n.wbg.__wbg_new_abda76e883ba8a5f=function(){let e=new Error;return _(e)},n.wbg.__wbg_stack_658279fe44541cf6=function(e,t){let r=c(t).stack,o=h(r,a.__wbindgen_malloc,a.__wbindgen_realloc),i=d;l()[e/4+1]=i,l()[e/4+0]=o},n.wbg.__wbg_error_f851667af71bcfc6=function(e,t){let r,o;try{r=e,o=t,console.error(s(e,t))}finally{a.__wbindgen_free(r,o,1)}},n.wbg.__wbg_warn_40349716c899750a=function(e,t){var r=q(e,t).slice();a.__wbindgen_free(e,t*4,4),console.warn(...r)},n.wbg.__wbg_instanceof_Window_434ce1849eb4e0fc=function(e){let t;try{t=c(e)instanceof Window}catch{t=!1}return t},n.wbg.__wbg_body_4579ae140279af20=function(e){let t=c(e).body;return g(t)?0:_(t)},n.wbg.__wbg_createElement_d15f046703844f09=function(){return b(function(e,t,r){let o=c(e).createElement(s(t,r));return _(o)},arguments)},n.wbg.__wbg_createElementNS_11acf9c78d336078=function(){return b(function(e,t,r,o,i){let u=c(e).createElementNS(t===0?void 0:s(t,r),s(o,i));return _(u)},arguments)},n.wbg.__wbg_createTextNode_18d067bf6369a475=function(e,t,r){let o=c(e).create
|
||
|
//# sourceMappingURL=app.js.map
|