diff --git a/celeste_rs_gui-3fc2607906e8164e.js b/celeste_rs_gui-3fc2607906e8164e.js new file mode 100644 index 0000000..1e04285 --- /dev/null +++ b/celeste_rs_gui-3fc2607906e8164e.js @@ -0,0 +1 @@ +let R=0,W=`boolean`,N=1,Y=`Object`,P=`utf-8`,M=null,_=4,a0=554,T=`function`,V=`number`,Z=16,O=`undefined`,X=`string`,K=Array,Q=Error,U=Int32Array,$=Promise,S=Uint8Array,L=undefined;var j=(()=>{if(i===M||i.byteLength===R){i=new S(a.memory.buffer)};return i});var u=(a=>{const b=typeof a;if(b==V||b==W||a==M){return `${a}`};if(b==X){return `"${a}"`};if(b==`symbol`){const b=a.description;if(b==M){return `Symbol`}else{return `Symbol(${b})`}};if(b==T){const b=a.name;if(typeof b==X&&b.length>R){return `Function(${b})`}else{return `Function`}};if(K.isArray(a)){const b=a.length;let c=`[`;if(b>R){c+=u(a[R])};for(let d=N;dN){d=c[N]}else{return toString.call(a)};if(d==Y){try{return `Object(`+ JSON.stringify(a)+ `)`}catch(a){return Y}};if(a instanceof Q){return `${a.name}: ${a.message}\n${a.stack}`};return d});var I=(b=>{if(a!==L)return a;const c=F();G(c);if(!(b instanceof WebAssembly.Module)){b=new WebAssembly.Module(b)};const d=new WebAssembly.Instance(b,c);return H(d,b)});var x=((b,c)=>{a.wasm_bindgen__convert__closures__invoke0_mut__hde86c3613084e723(b,c)});var D=((b,c,d,e)=>{a.wasm_bindgen__convert__closures__invoke2_mut__h13dedd7d2899b9f1(b,c,g(d),g(e))});function C(b,c){try{return b.apply(this,c)}catch(b){a.__wbindgen_exn_store(g(b))}}var H=((b,c)=>{a=b.exports;J.__wbindgen_wasm_module=c;s=M;q=M;i=M;a.__wbindgen_start();return a});var F=(()=>{const b={};b.wbg={};b.wbg.__wbindgen_object_drop_ref=(a=>{f(a)});b.wbg.__wbindgen_cb_drop=(a=>{const b=f(a).original;if(b.cnt--==N){b.a=R;return !0};const c=!1;return c});b.wbg.__wbindgen_object_clone_ref=(a=>{const b=c(a);return g(b)});b.wbg.__wbindgen_string_new=((a,b)=>{const c=k(a,b);return g(c)});b.wbg.__wbg_log_c9486ca5d8e2cbe8=((b,c)=>{let d;let e;try{d=b;e=c;console.log(k(b,c))}finally{a.__wbindgen_free(d,e,N)}});b.wbg.__wbg_log_aba5996d9bde071f=((b,c,d,e,f,g,h,i)=>{let j;let l;try{j=b;l=c;console.log(k(b,c),k(d,e),k(f,g),k(h,i))}finally{a.__wbindgen_free(j,l,N)}});b.wbg.__wbg_mark_40e050a77cc39fea=((a,b)=>{performance.mark(k(a,b))});b.wbg.__wbg_measure_aa7a73f17813f708=function(){return C(((b,c,d,e)=>{let f;let g;let h;let i;try{f=b;g=c;h=d;i=e;performance.measure(k(b,c),k(d,e))}finally{a.__wbindgen_free(f,g,N);a.__wbindgen_free(h,i,N)}}),arguments)};b.wbg.__wbg_new_abda76e883ba8a5f=(()=>{const a=new Q();return g(a)});b.wbg.__wbg_stack_658279fe44541cf6=((b,d)=>{const e=c(d).stack;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/_+ N]=g;r()[b/_+ R]=f});b.wbg.__wbg_error_f851667af71bcfc6=((b,c)=>{let d;let e;try{d=b;e=c;console.error(k(b,c))}finally{a.__wbindgen_free(d,e,N)}});b.wbg.__wbindgen_string_get=((b,d)=>{const e=c(d);const f=typeof e===X?e:L;var g=p(f)?R:o(f,a.__wbindgen_malloc,a.__wbindgen_realloc);var h=l;r()[b/_+ N]=h;r()[b/_+ R]=g});b.wbg.__wbindgen_number_get=((a,b)=>{const d=c(b);const e=typeof d===V?d:L;t()[a/8+ N]=p(e)?R:e;r()[a/_+ R]=!p(e)});b.wbg.__wbg_error_ca2474234fef2329=((b,c)=>{let d;let e;try{d=b;e=c;console.error(k(b,c))}finally{a.__wbindgen_free(d,e,N)}});b.wbg.__wbg_new_ad8b60ed55d95a64=(()=>{const a=new Q();return g(a)});b.wbg.__wbg_stack_1c80e3b436be887a=((b,d)=>{const e=c(d).stack;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/_+ N]=g;r()[b/_+ R]=f});b.wbg.__wbg_queueMicrotask_118eeb525d584d9a=(a=>{queueMicrotask(c(a))});b.wbg.__wbg_queueMicrotask_26a89c14c53809c0=(a=>{const b=c(a).queueMicrotask;return g(b)});b.wbg.__wbindgen_is_function=(a=>{const b=typeof c(a)===T;return b});b.wbg.__wbg_performance_eeefc685c9bc38b4=(a=>{const b=c(a).performance;return g(b)});b.wbg.__wbindgen_is_undefined=(a=>{const b=c(a)===L;return b});b.wbg.__wbg_now_e0d8ec93dd25766a=(a=>{const b=c(a).now();return b});b.wbg.__wbindgen_boolean_get=(a=>{const b=c(a);const d=typeof b===W?(b?N:R):2;return d});b.wbg.__wbg_instanceof_WebGl2RenderingContext_92adf5bbd2568b71=(a=>{let b;try{b=c(a) instanceof WebGL2RenderingContext}catch(a){b=!1}const d=b;return d});b.wbg.__wbg_bindVertexArray_2a70aed123353597=((a,b)=>{c(a).bindVertexArray(c(b))});b.wbg.__wbg_bufferData_eab63186e3e72d98=((a,b,d,e)=>{c(a).bufferData(b>>>R,c(d),e>>>R)});b.wbg.__wbg_createVertexArray_761ba22fc5da3ad7=(a=>{const b=c(a).createVertexArray();return p(b)?R:g(b)});b.wbg.__wbg_texImage2D_1159b898accc2807=function(){return C(((a,b,d,e,f,g,h,i,j,k)=>{c(a).texImage2D(b>>>R,d,e,f,g,h,i>>>R,j>>>R,c(k))}),arguments)};b.wbg.__wbg_texSubImage2D_33018bcf2de70890=function(){return C(((a,b,d,e,f,g,h,i,j,k)=>{c(a).texSubImage2D(b>>>R,d,e,f,g,h,i>>>R,j>>>R,c(k))}),arguments)};b.wbg.__wbg_texSubImage2D_b97aa5ddc0162314=function(){return C(((a,b,d,e,f,g,h,i,j,k)=>{c(a).texSubImage2D(b>>>R,d,e,f,g,h,i>>>R,j>>>R,k)}),arguments)};b.wbg.__wbg_activeTexture_02d56293bce2f613=((a,b)=>{c(a).activeTexture(b>>>R)});b.wbg.__wbg_attachShader_70c3f88b777a0a54=((a,b,d)=>{c(a).attachShader(c(b),c(d))});b.wbg.__wbg_bindBuffer_ac939bcab5249160=((a,b,d)=>{c(a).bindBuffer(b>>>R,c(d))});b.wbg.__wbg_bindTexture_e28115f3ea3da6d2=((a,b,d)=>{c(a).bindTexture(b>>>R,c(d))});b.wbg.__wbg_blendEquationSeparate_457e81472270e23c=((a,b,d)=>{c(a).blendEquationSeparate(b>>>R,d>>>R)});b.wbg.__wbg_blendFuncSeparate_b6a96b8e26e75171=((a,b,d,e,f)=>{c(a).blendFuncSeparate(b>>>R,d>>>R,e>>>R,f>>>R)});b.wbg.__wbg_clear_40335e7899ec7759=((a,b)=>{c(a).clear(b>>>R)});b.wbg.__wbg_clearColor_b48ee3ca810de959=((a,b,d,e,f)=>{c(a).clearColor(b,d,e,f)});b.wbg.__wbg_colorMask_743f2bbb6e3fb4e5=((a,b,d,e,f)=>{c(a).colorMask(b!==R,d!==R,e!==R,f!==R)});b.wbg.__wbg_compileShader_bdfb3d5a3ad59498=((a,b)=>{c(a).compileShader(c(b))});b.wbg.__wbg_createBuffer_a95c59cc2c1750e7=(a=>{const b=c(a).createBuffer();return p(b)?R:g(b)});b.wbg.__wbg_createProgram_0a7670ed33f06d97=(a=>{const b=c(a).createProgram();return p(b)?R:g(b)});b.wbg.__wbg_createShader_119ffcdb1667f405=((a,b)=>{const d=c(a).createShader(b>>>R);return p(d)?R:g(d)});b.wbg.__wbg_createTexture_4f0c3c77df4bde11=(a=>{const b=c(a).createTexture();return p(b)?R:g(b)});b.wbg.__wbg_deleteBuffer_b8aaa61f9bb13617=((a,b)=>{c(a).deleteBuffer(c(b))});b.wbg.__wbg_deleteProgram_d90e44574acb8018=((a,b)=>{c(a).deleteProgram(c(b))});b.wbg.__wbg_deleteShader_5ec1e25476df2da0=((a,b)=>{c(a).deleteShader(c(b))});b.wbg.__wbg_deleteTexture_554c30847d340929=((a,b)=>{c(a).deleteTexture(c(b))});b.wbg.__wbg_detachShader_5fe9df16c9007fca=((a,b,d)=>{c(a).detachShader(c(b),c(d))});b.wbg.__wbg_disable_f68719f70ddfb5b8=((a,b)=>{c(a).disable(b>>>R)});b.wbg.__wbg_disableVertexAttribArray_557393d91e187e24=((a,b)=>{c(a).disableVertexAttribArray(b>>>R)});b.wbg.__wbg_drawElements_a3781a76e2ccb054=((a,b,d,e,f)=>{c(a).drawElements(b>>>R,d,e>>>R,f)});b.wbg.__wbg_enable_6dab9d5278ba15e2=((a,b)=>{c(a).enable(b>>>R)});b.wbg.__wbg_enableVertexAttribArray_c2bfb733e87824c8=((a,b)=>{c(a).enableVertexAttribArray(b>>>R)});b.wbg.__wbg_getAttribLocation_cab9273a8063f57a=((a,b,d,e)=>{const f=c(a).getAttribLocation(c(b),k(d,e));return f});b.wbg.__wbg_getError_b3d74583648031ab=(a=>{const b=c(a).getError();return b});b.wbg.__wbg_getExtension_25430e0ed157fcf8=function(){return C(((a,b,d)=>{const e=c(a).getExtension(k(b,d));return p(e)?R:g(e)}),arguments)};b.wbg.__wbg_getParameter_b282105ca8420119=function(){return C(((a,b)=>{const d=c(a).getParameter(b>>>R);return g(d)}),arguments)};b.wbg.__wbg_getProgramInfoLog_110f43b4125782e9=((b,d,e)=>{const f=c(d).getProgramInfoLog(c(e));var g=p(f)?R:o(f,a.__wbindgen_malloc,a.__wbindgen_realloc);var h=l;r()[b/_+ N]=h;r()[b/_+ R]=g});b.wbg.__wbg_getProgramParameter_22b3f1c8d913cd2c=((a,b,d)=>{const e=c(a).getProgramParameter(c(b),d>>>R);return g(e)});b.wbg.__wbg_getShaderInfoLog_562b1447e7c24866=((b,d,e)=>{const f=c(d).getShaderInfoLog(c(e));var g=p(f)?R:o(f,a.__wbindgen_malloc,a.__wbindgen_realloc);var h=l;r()[b/_+ N]=h;r()[b/_+ R]=g});b.wbg.__wbg_getShaderParameter_58d3b34afa9db13b=((a,b,d)=>{const e=c(a).getShaderParameter(c(b),d>>>R);return g(e)});b.wbg.__wbg_getSupportedExtensions_1a007030d26efba5=(a=>{const b=c(a).getSupportedExtensions();return p(b)?R:g(b)});b.wbg.__wbg_getUniformLocation_7b435a76db4f3128=((a,b,d,e)=>{const f=c(a).getUniformLocation(c(b),k(d,e));return p(f)?R:g(f)});b.wbg.__wbg_linkProgram_e170ffe0b8242136=((a,b)=>{c(a).linkProgram(c(b))});b.wbg.__wbg_pixelStorei_6be3fc7114b690b8=((a,b,d)=>{c(a).pixelStorei(b>>>R,d)});b.wbg.__wbg_scissor_27cb154cc9864444=((a,b,d,e,f)=>{c(a).scissor(b,d,e,f)});b.wbg.__wbg_shaderSource_e12efd3a2bf3413d=((a,b,d,e)=>{c(a).shaderSource(c(b),k(d,e))});b.wbg.__wbg_texParameteri_f5c0d085b77931dd=((a,b,d,e)=>{c(a).texParameteri(b>>>R,d>>>R,e)});b.wbg.__wbg_uniform1i_1fd90743f7b78faa=((a,b,d)=>{c(a).uniform1i(c(b),d)});b.wbg.__wbg_uniform2f_e5d4fed81577da9b=((a,b,d,e)=>{c(a).uniform2f(c(b),d,e)});b.wbg.__wbg_useProgram_53de6b084c4780ce=((a,b)=>{c(a).useProgram(c(b))});b.wbg.__wbg_vertexAttribPointer_3133080603a92d4c=((a,b,d,e,f,g,h)=>{c(a).vertexAttribPointer(b>>>R,d,e>>>R,f!==R,g,h)});b.wbg.__wbg_viewport_afd5166081d009b2=((a,b,d,e,f)=>{c(a).viewport(b,d,e,f)});b.wbg.__wbg_instanceof_Window_99dc9805eaa2614b=(a=>{let b;try{b=c(a) instanceof Window}catch(a){b=!1}const d=b;return d});b.wbg.__wbg_document_5257b70811e953c0=(a=>{const b=c(a).document;return p(b)?R:g(b)});b.wbg.__wbg_location_0f233324e8e8c699=(a=>{const b=c(a).location;return g(b)});b.wbg.__wbg_navigator_910cca0226b70083=(a=>{const b=c(a).navigator;return g(b)});b.wbg.__wbg_innerHeight_dc4c81e04e8bc294=function(){return C((a=>{const b=c(a).innerHeight;return g(b)}),arguments)};b.wbg.__wbg_devicePixelRatio_93bac98af723c7ba=(a=>{const b=c(a).devicePixelRatio;return b});b.wbg.__wbg_speechSynthesis_49032620643b6c6d=function(){return C((a=>{const b=c(a).speechSynthesis;return g(b)}),arguments)};b.wbg.__wbg_localStorage_318b1c4f106a46f9=function(){return C((a=>{const b=c(a).localStorage;return p(b)?R:g(b)}),arguments)};b.wbg.__wbg_performance_698febdfb8f1f470=(a=>{const b=c(a).performance;return p(b)?R:g(b)});b.wbg.__wbg_matchMedia_fed5c8e73cf148cf=function(){return C(((a,b,d)=>{const e=c(a).matchMedia(k(b,d));return p(e)?R:g(e)}),arguments)};b.wbg.__wbg_open_0aa18467f0bb625e=function(){return C(((a,b,d,e,f)=>{const h=c(a).open(k(b,d),k(e,f));return p(h)?R:g(h)}),arguments)};b.wbg.__wbg_cancelAnimationFrame_2635bb6bdb94eb3f=function(){return C(((a,b)=>{c(a).cancelAnimationFrame(b)}),arguments)};b.wbg.__wbg_requestAnimationFrame_1820a8e6b645ec5a=function(){return C(((a,b)=>{const d=c(a).requestAnimationFrame(c(b));return d}),arguments)};b.wbg.__wbg_clearInterval_9886eebcc6575e58=((a,b)=>{c(a).clearInterval(b)});b.wbg.__wbg_setTimeout_bd20251bb242e262=function(){return C(((a,b,d)=>{const e=c(a).setTimeout(c(b),d);return e}),arguments)};b.wbg.__wbg_body_3eb73da919b867a1=(a=>{const b=c(a).body;return p(b)?R:g(b)});b.wbg.__wbg_createElement_1a136faad4101f43=function(){return C(((a,b,d)=>{const e=c(a).createElement(k(b,d));return g(e)}),arguments)};b.wbg.__wbg_getElementById_00904c7c4a32c23b=((a,b,d)=>{const e=c(a).getElementById(k(b,d));return p(e)?R:g(e)});b.wbg.__wbg_setid_4a30be2ea97a37dd=((a,b,d)=>{c(a).id=k(b,d)});b.wbg.__wbg_scrollLeft_d6eb4c6a0a6417b2=(a=>{const b=c(a).scrollLeft;return b});b.wbg.__wbg_clientWidth_63a18f3f1c0d50b9=(a=>{const b=c(a).clientWidth;return b});b.wbg.__wbg_clientHeight_12bebacfbf7ddf82=(a=>{const b=c(a).clientHeight;return b});b.wbg.__wbg_setinnerHTML_99deeacfff0ae4cc=((a,b,d)=>{c(a).innerHTML=k(b,d)});b.wbg.__wbg_getBoundingClientRect_f3f6eb39f24c1bb0=(a=>{const b=c(a).getBoundingClientRect();return g(b)});b.wbg.__wbg_remove_ed2f62f1a8be044b=(a=>{c(a).remove()});b.wbg.__wbg_instanceof_HtmlElement_430cfa09315574cc=(a=>{let b;try{b=c(a) instanceof HTMLElement}catch(a){b=!1}const d=b;return d});b.wbg.__wbg_scrollTop_b8364983aece464a=(a=>{const b=c(a).scrollTop;return b});b.wbg.__wbg_setinnerText_50a32710b8f1b7b6=((a,b,d)=>{c(a).innerText=k(b,d)});b.wbg.__wbg_hidden_445daefa35729d27=(a=>{const b=c(a).hidden;return b});b.wbg.__wbg_sethidden_a1bed94b94610e67=((a,b)=>{c(a).hidden=b!==R});b.wbg.__wbg_style_b32d5cb9a6bd4720=(a=>{const b=c(a).style;return g(b)});b.wbg.__wbg_offsetTop_f17e37517e25eb43=(a=>{const b=c(a).offsetTop;return b});b.wbg.__wbg_offsetLeft_0d0f84745a0af686=(a=>{const b=c(a).offsetLeft;return b});b.wbg.__wbg_offsetWidth_d131cad586641a97=(a=>{const b=c(a).offsetWidth;return b});b.wbg.__wbg_setonclick_da378f5c0567cc03=((a,b)=>{c(a).onclick=c(b)});b.wbg.__wbg_blur_3de7a3848d6d481c=function(){return C((a=>{c(a).blur()}),arguments)};b.wbg.__wbg_focus_623326ec4eefd224=function(){return C((a=>{c(a).focus()}),arguments)};b.wbg.__wbg_instanceof_WebGlRenderingContext_7515fd5b9abf4249=(a=>{let b;try{b=c(a) instanceof WebGLRenderingContext}catch(a){b=!1}const d=b;return d});b.wbg.__wbg_bufferData_b2e68fdc1fd1e94b=((a,b,d,e)=>{c(a).bufferData(b>>>R,c(d),e>>>R)});b.wbg.__wbg_texImage2D_9cd1931c442b03ad=function(){return C(((a,b,d,e,f,g,h,i,j,k)=>{c(a).texImage2D(b>>>R,d,e,f,g,h,i>>>R,j>>>R,c(k))}),arguments)};b.wbg.__wbg_texSubImage2D_d23a3ec1fa60bdaf=function(){return C(((a,b,d,e,f,g,h,i,j,k)=>{c(a).texSubImage2D(b>>>R,d,e,f,g,h,i>>>R,j>>>R,c(k))}),arguments)};b.wbg.__wbg_activeTexture_3748123e1becf07d=((a,b)=>{c(a).activeTexture(b>>>R)});b.wbg.__wbg_attachShader_cfbbdefc08a0422f=((a,b,d)=>{c(a).attachShader(c(b),c(d))});b.wbg.__wbg_bindBuffer_3f166cc2f502fc09=((a,b,d)=>{c(a).bindBuffer(b>>>R,c(d))});b.wbg.__wbg_bindTexture_be92cdd3f162b4f9=((a,b,d)=>{c(a).bindTexture(b>>>R,c(d))});b.wbg.__wbg_blendEquationSeparate_33f23a57d77e8079=((a,b,d)=>{c(a).blendEquationSeparate(b>>>R,d>>>R)});b.wbg.__wbg_blendFuncSeparate_52fdb0f1fbf57928=((a,b,d,e,f)=>{c(a).blendFuncSeparate(b>>>R,d>>>R,e>>>R,f>>>R)});b.wbg.__wbg_clear_af4278a00382d3ce=((a,b)=>{c(a).clear(b>>>R)});b.wbg.__wbg_clearColor_9a45e2200c61a8f2=((a,b,d,e,f)=>{c(a).clearColor(b,d,e,f)});b.wbg.__wbg_colorMask_57603facaeb6e2e3=((a,b,d,e,f)=>{c(a).colorMask(b!==R,d!==R,e!==R,f!==R)});b.wbg.__wbg_compileShader_be824cfad43331b8=((a,b)=>{c(a).compileShader(c(b))});b.wbg.__wbg_createBuffer_90bf79c414ad4956=(a=>{const b=c(a).createBuffer();return p(b)?R:g(b)});b.wbg.__wbg_createProgram_983b87cad6d06768=(a=>{const b=c(a).createProgram();return p(b)?R:g(b)});b.wbg.__wbg_createShader_896229165c5a11d4=((a,b)=>{const d=c(a).createShader(b>>>R);return p(d)?R:g(d)});b.wbg.__wbg_createTexture_b77eefdce0bb2c55=(a=>{const b=c(a).createTexture();return p(b)?R:g(b)});b.wbg.__wbg_deleteBuffer_d70596808095dac2=((a,b)=>{c(a).deleteBuffer(c(b))});b.wbg.__wbg_deleteProgram_8447c337271aa934=((a,b)=>{c(a).deleteProgram(c(b))});b.wbg.__wbg_deleteShader_322b059ad560664a=((a,b)=>{c(a).deleteShader(c(b))});b.wbg.__wbg_deleteTexture_bbda7cb554bc12b9=((a,b)=>{c(a).deleteTexture(c(b))});b.wbg.__wbg_detachShader_1faf06c8a1000e58=((a,b,d)=>{c(a).detachShader(c(b),c(d))});b.wbg.__wbg_disable_57e8624c865bd654=((a,b)=>{c(a).disable(b>>>R)});b.wbg.__wbg_disableVertexAttribArray_fb822948cb54eec9=((a,b)=>{c(a).disableVertexAttribArray(b>>>R)});b.wbg.__wbg_drawElements_5cade7fb4236c93b=((a,b,d,e,f)=>{c(a).drawElements(b>>>R,d,e>>>R,f)});b.wbg.__wbg_enable_54d01bacc240df3e=((a,b)=>{c(a).enable(b>>>R)});b.wbg.__wbg_enableVertexAttribArray_c971ef03599058ec=((a,b)=>{c(a).enableVertexAttribArray(b>>>R)});b.wbg.__wbg_getAttribLocation_3ec473fee682bd2a=((a,b,d,e)=>{const f=c(a).getAttribLocation(c(b),k(d,e));return f});b.wbg.__wbg_getError_0a6390188216606e=(a=>{const b=c(a).getError();return b});b.wbg.__wbg_getExtension_5dfa3b5f570d8fe1=function(){return C(((a,b,d)=>{const e=c(a).getExtension(k(b,d));return p(e)?R:g(e)}),arguments)};b.wbg.__wbg_getParameter_798cbb8ff20c7af0=function(){return C(((a,b)=>{const d=c(a).getParameter(b>>>R);return g(d)}),arguments)};b.wbg.__wbg_getProgramInfoLog_3ff10ea818ab6ce4=((b,d,e)=>{const f=c(d).getProgramInfoLog(c(e));var g=p(f)?R:o(f,a.__wbindgen_malloc,a.__wbindgen_realloc);var h=l;r()[b/_+ N]=h;r()[b/_+ R]=g});b.wbg.__wbg_getProgramParameter_35800b92324ff726=((a,b,d)=>{const e=c(a).getProgramParameter(c(b),d>>>R);return g(e)});b.wbg.__wbg_getShaderInfoLog_3e435d2b50e0ecf0=((b,d,e)=>{const f=c(d).getShaderInfoLog(c(e));var g=p(f)?R:o(f,a.__wbindgen_malloc,a.__wbindgen_realloc);var h=l;r()[b/_+ N]=h;r()[b/_+ R]=g});b.wbg.__wbg_getShaderParameter_a9315ba73ab18731=((a,b,d)=>{const e=c(a).getShaderParameter(c(b),d>>>R);return g(e)});b.wbg.__wbg_getSupportedExtensions_eebc361c389e2ab3=(a=>{const b=c(a).getSupportedExtensions();return p(b)?R:g(b)});b.wbg.__wbg_getUniformLocation_f161344f25983444=((a,b,d,e)=>{const f=c(a).getUniformLocation(c(b),k(d,e));return p(f)?R:g(f)});b.wbg.__wbg_linkProgram_caeab1eb0c0246be=((a,b)=>{c(a).linkProgram(c(b))});b.wbg.__wbg_pixelStorei_ac98844c2d6d1937=((a,b,d)=>{c(a).pixelStorei(b>>>R,d)});b.wbg.__wbg_scissor_7206bcd2a5540aa3=((a,b,d,e,f)=>{c(a).scissor(b,d,e,f)});b.wbg.__wbg_shaderSource_04af20ecb1962b3b=((a,b,d,e)=>{c(a).shaderSource(c(b),k(d,e))});b.wbg.__wbg_texParameteri_dd08984388e62491=((a,b,d,e)=>{c(a).texParameteri(b>>>R,d>>>R,e)});b.wbg.__wbg_uniform1i_5a5f1f9d5828e6c6=((a,b,d)=>{c(a).uniform1i(c(b),d)});b.wbg.__wbg_uniform2f_d1df633e1cda7ce0=((a,b,d,e)=>{c(a).uniform2f(c(b),d,e)});b.wbg.__wbg_useProgram_229c8fa8394b4c26=((a,b)=>{c(a).useProgram(c(b))});b.wbg.__wbg_vertexAttribPointer_e9c4ff85658b9ad2=((a,b,d,e,f,g,h)=>{c(a).vertexAttribPointer(b>>>R,d,e>>>R,f!==R,g,h)});b.wbg.__wbg_viewport_0ca27d1d6ac8424c=((a,b,d,e,f)=>{c(a).viewport(b,d,e,f)});b.wbg.__wbg_instanceof_HtmlInputElement_d53941bc0aaa6ae9=(a=>{let b;try{b=c(a) instanceof HTMLInputElement}catch(a){b=!1}const d=b;return d});b.wbg.__wbg_setaccept_daff69ab32942193=((a,b,d)=>{c(a).accept=k(b,d)});b.wbg.__wbg_setautofocus_4389a83ce5fce4de=((a,b)=>{c(a).autofocus=b!==R});b.wbg.__wbg_files_0fe2affb0f600765=(a=>{const b=c(a).files;return p(b)?R:g(b)});b.wbg.__wbg_setmultiple_ed858720a0451899=((a,b)=>{c(a).multiple=b!==R});b.wbg.__wbg_setsize_16b7c38ee657b247=((a,b)=>{c(a).size=b>>>R});b.wbg.__wbg_settype_c544f49a0425f209=((a,b,d)=>{c(a).type=k(b,d)});b.wbg.__wbg_value_c93cb4b4d352228e=((b,d)=>{const e=c(d).value;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/_+ N]=g;r()[b/_+ R]=f});b.wbg.__wbg_setvalue_9bd3f93b3864ddbf=((a,b,d)=>{c(a).value=k(b,d)});b.wbg.__wbg_instanceof_HtmlCanvasElement_a6076360513b6876=(a=>{let b;try{b=c(a) instanceof HTMLCanvasElement}catch(a){b=!1}const d=b;return d});b.wbg.__wbg_width_9d9d26b087c6ad54=(a=>{const b=c(a).width;return b});b.wbg.__wbg_setwidth_05075fb6b4cc720e=((a,b)=>{c(a).width=b>>>R});b.wbg.__wbg_height_770da314320603d8=(a=>{const b=c(a).height;return b});b.wbg.__wbg_setheight_7e0e88a922100d8c=((a,b)=>{c(a).height=b>>>R});b.wbg.__wbg_getContext_39cdfeffd658feb7=function(){return C(((a,b,d)=>{const e=c(a).getContext(k(b,d));return p(e)?R:g(e)}),arguments)};b.wbg.__wbg_matches_2a7b0d97653c323f=(a=>{const b=c(a).matches;return b});b.wbg.__wbg_userAgent_4106f80b9924b065=function(){return C(((b,d)=>{const e=c(d).userAgent;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/_+ N]=g;r()[b/_+ R]=f}),arguments)};b.wbg.__wbg_touches_95bba57784560e75=(a=>{const b=c(a).touches;return g(b)});b.wbg.__wbg_changedTouches_9667f17739458e92=(a=>{const b=c(a).changedTouches;return g(b)});b.wbg.__wbg_top_d39cc7e325e1f687=(a=>{const b=c(a).top;return b});b.wbg.__wbg_left_064e5e69a7d7c925=(a=>{const b=c(a).left;return b});b.wbg.__wbg_name_6c808ccae465f9e1=((b,d)=>{const e=c(d).name;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/_+ N]=g;r()[b/_+ R]=f});b.wbg.__wbg_lastModified_5b92d1f516d58609=(a=>{const b=c(a).lastModified;return b});b.wbg.__wbg_href_1ab7f03b8a745310=function(){return C(((b,d)=>{const e=c(d).href;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/_+ N]=g;r()[b/_+ R]=f}),arguments)};b.wbg.__wbg_origin_a66ff95a994d7e40=function(){return C(((b,d)=>{const e=c(d).origin;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/_+ N]=g;r()[b/_+ R]=f}),arguments)};b.wbg.__wbg_protocol_14f54c8356e78bea=function(){return C(((b,d)=>{const e=c(d).protocol;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/_+ N]=g;r()[b/_+ R]=f}),arguments)};b.wbg.__wbg_host_0c29a6ff8ae1ff8c=function(){return C(((b,d)=>{const e=c(d).host;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/_+ N]=g;r()[b/_+ R]=f}),arguments)};b.wbg.__wbg_hostname_26a3a1944f8c045c=function(){return C(((b,d)=>{const e=c(d).hostname;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/_+ N]=g;r()[b/_+ R]=f}),arguments)};b.wbg.__wbg_port_a56212936bd85dac=function(){return C(((b,d)=>{const e=c(d).port;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/_+ N]=g;r()[b/_+ R]=f}),arguments)};b.wbg.__wbg_search_eb68df82d26f8761=function(){return C(((b,d)=>{const e=c(d).search;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/_+ N]=g;r()[b/_+ R]=f}),arguments)};b.wbg.__wbg_hash_9bd16c0f666cdf27=function(){return C(((b,d)=>{const e=c(d).hash;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/_+ N]=g;r()[b/_+ R]=f}),arguments)};b.wbg.__wbg_reload_eaf733714c3b8431=function(){return C((a=>{c(a).reload()}),arguments)};b.wbg.__wbg_createObjectURL_0a02ce8c75afc373=function(){return C(((b,d)=>{const e=URL.createObjectURL(c(d));const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/_+ N]=g;r()[b/_+ R]=f}),arguments)};b.wbg.__wbg_now_65ff8ec2b863300c=(a=>{const b=c(a).now();return b});b.wbg.__wbg_setvolume_8f37b8f0c12da738=((a,b)=>{c(a).volume=b});b.wbg.__wbg_setrate_bcbb8a02a544ffaa=((a,b)=>{c(a).rate=b});b.wbg.__wbg_setpitch_0a009b6413179163=((a,b)=>{c(a).pitch=b});b.wbg.__wbg_newwithtext_4c52c77cf50640f9=function(){return C(((a,b)=>{const c=new SpeechSynthesisUtterance(k(a,b));return g(c)}),arguments)};b.wbg.__wbg_getItem_f7e7a061bbdabefe=function(){return C(((b,d,e,f)=>{const g=c(d).getItem(k(e,f));var h=p(g)?R:o(g,a.__wbindgen_malloc,a.__wbindgen_realloc);var i=l;r()[b/_+ N]=i;r()[b/_+ R]=h}),arguments)};b.wbg.__wbg_setItem_2b72ddf192083111=function(){return C(((a,b,d,e,f)=>{c(a).setItem(k(b,d),k(e,f))}),arguments)};b.wbg.__wbg_length_568297424aea6468=(a=>{const b=c(a).length;return b});b.wbg.__wbg_item_b77b7c1ae96bba19=((a,b)=>{const d=c(a).item(b>>>R);return p(d)?R:g(d)});b.wbg.__wbg_get_2f7d53cc08af8d1a=((a,b)=>{const d=c(a)[b>>>R];return p(d)?R:g(d)});b.wbg.__wbg_setProperty_a763529f4ef8ac76=function(){return C(((a,b,d,e,f)=>{c(a).setProperty(k(b,d),k(e,f))}),arguments)};b.wbg.__wbg_width_164c11c1f72aa632=(a=>{const b=c(a).width;return b});b.wbg.__wbg_height_ac60120008caa50b=(a=>{const b=c(a).height;return b});b.wbg.__wbg_preventDefault_d2c7416966cb0632=(a=>{c(a).preventDefault()});b.wbg.__wbg_stopPropagation_786ab850031995e5=(a=>{c(a).stopPropagation()});b.wbg.__wbg_clientX_4d37584813a1790a=(a=>{const b=c(a).clientX;return b});b.wbg.__wbg_clientY_ea543e0b8dc1490d=(a=>{const b=c(a).clientY;return b});b.wbg.__wbg_ctrlKey_0d75e0e9028bd999=(a=>{const b=c(a).ctrlKey;return b});b.wbg.__wbg_shiftKey_12353f0e19b21d6a=(a=>{const b=c(a).shiftKey;return b});b.wbg.__wbg_altKey_a076f8612103d7e8=(a=>{const b=c(a).altKey;return b});b.wbg.__wbg_metaKey_4e3f6e986f2802b1=(a=>{const b=c(a).metaKey;return b});b.wbg.__wbg_button_8a97c55db17c7314=(a=>{const b=c(a).button;return b});b.wbg.__wbg_identifier_87f10c1b114973b1=(a=>{const b=c(a).identifier;return b});b.wbg.__wbg_pageX_6bdd2e573704efc2=(a=>{const b=c(a).pageX;return b});b.wbg.__wbg_pageY_74fbace64ec902b5=(a=>{const b=c(a).pageY;return b});b.wbg.__wbg_force_a248870a06b19f84=(a=>{const b=c(a).force;return b});b.wbg.__wbg_size_be41bf26ab113208=(a=>{const b=c(a).size;return b});b.wbg.__wbg_type_b596e92b4e34956a=((b,d)=>{const e=c(d).type;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/_+ N]=g;r()[b/_+ R]=f});b.wbg.__wbg_newwithu8arraysequenceandoptions_d0ee7f095b8bf8eb=function(){return C(((a,b)=>{const d=new Blob(c(a),c(b));return g(d)}),arguments)};b.wbg.__wbg_arrayBuffer_fb7b7f60c42268ca=(a=>{const b=c(a).arrayBuffer();return g(b)});b.wbg.__wbg_addEventListener_2f891d22985fd3c8=function(){return C(((a,b,d,e)=>{c(a).addEventListener(k(b,d),c(e))}),arguments)};b.wbg.__wbg_removeEventListener_07715e6f464823fc=function(){return C(((a,b,d,e)=>{c(a).removeEventListener(k(b,d),c(e))}),arguments)};b.wbg.__wbg_keyCode_6acbcd0e4e062504=(a=>{const b=c(a).keyCode;return b});b.wbg.__wbg_altKey_c3c61dc3af936846=(a=>{const b=c(a).altKey;return b});b.wbg.__wbg_ctrlKey_e7fc1575581bc431=(a=>{const b=c(a).ctrlKey;return b});b.wbg.__wbg_shiftKey_0a061aeba25dbd63=(a=>{const b=c(a).shiftKey;return b});b.wbg.__wbg_metaKey_b879a69fa9f3f7af=(a=>{const b=c(a).metaKey;return b});b.wbg.__wbg_isComposing_aa6fdae3e5d50cdb=(a=>{const b=c(a).isComposing;return b});b.wbg.__wbg_key_9a2550983fbad1d0=((b,d)=>{const e=c(d).key;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/_+ N]=g;r()[b/_+ R]=f});b.wbg.__wbg_instanceof_HtmlButtonElement_2e288583ed44f37c=(a=>{let b;try{b=c(a) instanceof HTMLButtonElement}catch(a){b=!1}const d=b;return d});b.wbg.__wbg_length_c610906ecf0a8f99=(a=>{const b=c(a).length;return b});b.wbg.__wbg_get_428f35579210a950=((a,b)=>{const d=c(a)[b>>>R];return p(d)?R:g(d)});b.wbg.__wbg_dataTransfer_114daff2829a408c=(a=>{const b=c(a).dataTransfer;return p(b)?R:g(b)});b.wbg.__wbg_deltaX_de18e6f358ab88cf=(a=>{const b=c(a).deltaX;return b});b.wbg.__wbg_deltaY_50a026b7421f883d=(a=>{const b=c(a).deltaY;return b});b.wbg.__wbg_deltaMode_b8290e36698673d0=(a=>{const b=c(a).deltaMode;return b});b.wbg.__wbg_data_03b517344e75fca6=((b,d)=>{const e=c(d).data;var f=p(e)?R:o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);var g=l;r()[b/_+ N]=g;r()[b/_+ R]=f});b.wbg.__wbg_items_5ca9bad002b2890c=(a=>{const b=c(a).items;return g(b)});b.wbg.__wbg_files_0aa81397021d2faa=(a=>{const b=c(a).files;return p(b)?R:g(b)});b.wbg.__wbg_parentElement_86a7612dde875ba9=(a=>{const b=c(a).parentElement;return p(b)?R:g(b)});b.wbg.__wbg_appendChild_bd383ec5356c0bdb=function(){return C(((a,b)=>{const d=c(a).appendChild(c(b));return g(d)}),arguments)};b.wbg.__wbg_cancel_5bf5e5903af53580=(a=>{c(a).cancel()});b.wbg.__wbg_speak_db05924dff6a2674=((a,b)=>{c(a).speak(c(b))});b.wbg.__wbg_type_b820b38587c684cd=((b,d)=>{const e=c(d).type;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/_+ N]=g;r()[b/_+ R]=f});b.wbg.__wbg_length_5f3530f0f1af8661=(a=>{const b=c(a).length;return b});b.wbg.__wbg_get_f2ba4265e9e1e12b=((a,b)=>{const d=c(a)[b>>>R];return p(d)?R:g(d)});b.wbg.__wbg_result_e515a9bf8390ef47=function(){return C((a=>{const b=c(a).result;return g(b)}),arguments)};b.wbg.__wbg_setonload_427d4e894b2d55b4=((a,b)=>{c(a).onload=c(b)});b.wbg.__wbg_new_b07bacad2380fbb9=function(){return C((()=>{const a=new FileReader();return g(a)}),arguments)};b.wbg.__wbg_readAsArrayBuffer_84f69d5bca819f0a=function(){return C(((a,b)=>{c(a).readAsArrayBuffer(c(b))}),arguments)};b.wbg.__wbg_instanceof_HtmlAnchorElement_afbec6867d883d45=(a=>{let b;try{b=c(a) instanceof HTMLAnchorElement}catch(a){b=!1}const d=b;return d});b.wbg.__wbg_setdownload_27aa66329922270e=((a,b,d)=>{c(a).download=k(b,d)});b.wbg.__wbg_sethref_e4f758ffb6abc79c=((a,b,d)=>{c(a).href=k(b,d)});b.wbg.__wbg_matches_68b7ad47c1091323=(a=>{const b=c(a).matches;return b});b.wbg.__wbg_bindVertexArrayOES_e95cf32f50e47240=((a,b)=>{c(a).bindVertexArrayOES(c(b))});b.wbg.__wbg_createVertexArrayOES_96ccfea00081dcf3=(a=>{const b=c(a).createVertexArrayOES();return p(b)?R:g(b)});b.wbg.__wbg_get_c43534c00f382c8a=((a,b)=>{const d=c(a)[b>>>R];return g(d)});b.wbg.__wbg_length_d99b680fd68bf71b=(a=>{const b=c(a).length;return b});b.wbg.__wbg_new_34c624469fb1d4fd=(()=>{const a=new K();return g(a)});b.wbg.__wbg_newnoargs_5859b6d41c6fe9f7=((a,b)=>{const c=new Function(k(a,b));return g(c)});b.wbg.__wbg_call_a79f1973a4f07d5e=function(){return C(((a,b)=>{const d=c(a).call(c(b));return g(d)}),arguments)};b.wbg.__wbg_new_87d841e70661f6e9=(()=>{const a=new Object();return g(a)});b.wbg.__wbg_self_086b5302bcafb962=function(){return C((()=>{const a=self.self;return g(a)}),arguments)};b.wbg.__wbg_window_132fa5d7546f1de5=function(){return C((()=>{const a=window.window;return g(a)}),arguments)};b.wbg.__wbg_globalThis_e5f801a37ad7d07b=function(){return C((()=>{const a=globalThis.globalThis;return g(a)}),arguments)};b.wbg.__wbg_global_f9a61fce4af6b7c1=function(){return C((()=>{const a=global.global;return g(a)}),arguments)};b.wbg.__wbg_push_906164999551d793=((a,b)=>{const d=c(a).push(c(b));return d});b.wbg.__wbg_call_f6a2bc58c19c53c6=function(){return C(((a,b,d)=>{const e=c(a).call(c(b),c(d));return g(e)}),arguments)};b.wbg.__wbg_new_1d93771b84541aa5=((a,b)=>{try{var c={a:a,b:b};var d=(a,b)=>{const d=c.a;c.a=R;try{return D(d,c.b,a,b)}finally{c.a=d}};const e=new $(d);return g(e)}finally{c.a=c.b=R}});b.wbg.__wbg_resolve_97ecd55ee839391b=(a=>{const b=$.resolve(c(a));return g(b)});b.wbg.__wbg_then_7aeb7c5f1536640f=((a,b)=>{const d=c(a).then(c(b));return g(d)});b.wbg.__wbg_then_5842e4e97f7beace=((a,b,d)=>{const e=c(a).then(c(b),c(d));return g(e)});b.wbg.__wbg_buffer_5d1b598a01b41a42=(a=>{const b=c(a).buffer;return g(b)});b.wbg.__wbg_newwithbyteoffsetandlength_54c7b98977affdec=((a,b,d)=>{const e=new Int8Array(c(a),b>>>R,d>>>R);return g(e)});b.wbg.__wbg_newwithbyteoffsetandlength_16ba6d10861ea013=((a,b,d)=>{const e=new Int16Array(c(a),b>>>R,d>>>R);return g(e)});b.wbg.__wbg_newwithbyteoffsetandlength_821c7736f0d22b04=((a,b,d)=>{const e=new U(c(a),b>>>R,d>>>R);return g(e)});b.wbg.__wbg_newwithbyteoffsetandlength_d695c7957788f922=((a,b,d)=>{const e=new S(c(a),b>>>R,d>>>R);return g(e)});b.wbg.__wbg_new_ace717933ad7117f=(a=>{const b=new S(c(a));return g(b)});b.wbg.__wbg_set_74906aa30864df5a=((a,b,d)=>{c(a).set(c(b),d>>>R)});b.wbg.__wbg_length_f0764416ba5bb237=(a=>{const b=c(a).length;return b});b.wbg.__wbg_newwithbyteoffsetandlength_2412e38a0385bbe2=((a,b,d)=>{const e=new Uint16Array(c(a),b>>>R,d>>>R);return g(e)});b.wbg.__wbg_newwithbyteoffsetandlength_aeed38cac7555df7=((a,b,d)=>{const e=new Uint32Array(c(a),b>>>R,d>>>R);return g(e)});b.wbg.__wbg_newwithbyteoffsetandlength_21163b4dfcbc673c=((a,b,d)=>{const e=new Float32Array(c(a),b>>>R,d>>>R);return g(e)});b.wbg.__wbg_buffer_3da2aecfd9814cd8=(a=>{const b=c(a).buffer;return g(b)});b.wbg.__wbg_set_37a50e901587b477=function(){return C(((a,b,d)=>{const e=Reflect.set(c(a),c(b),c(d));return e}),arguments)};b.wbg.__wbindgen_debug_string=((b,d)=>{const e=u(c(d));const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/_+ N]=g;r()[b/_+ R]=f});b.wbg.__wbindgen_throw=((a,b)=>{throw new Q(k(a,b))});b.wbg.__wbindgen_memory=(()=>{const b=a.memory;return g(b)});b.wbg.__wbindgen_closure_wrapper728=((a,b,c)=>{const d=v(a,b,44,w);return g(d)});b.wbg.__wbindgen_closure_wrapper1540=((a,b,c)=>{const d=v(a,b,415,x);return g(d)});b.wbg.__wbindgen_closure_wrapper1934=((a,b,c)=>{const d=v(a,b,a0,y);return g(d)});b.wbg.__wbindgen_closure_wrapper1936=((a,b,c)=>{const d=v(a,b,a0,z);return g(d)});b.wbg.__wbindgen_closure_wrapper1938=((a,b,c)=>{const d=v(a,b,a0,A);return g(d)});b.wbg.__wbindgen_closure_wrapper2003=((a,b,c)=>{const d=v(a,b,574,B);return g(d)});return b});var v=((b,c,d,e)=>{const f={a:b,b:c,cnt:N,dtor:d};const g=(...b)=>{f.cnt++;const c=f.a;f.a=R;try{return e(c,f.b,...b)}finally{if(--f.cnt===R){a.__wbindgen_export_2.get(f.dtor)(c,f.b)}else{f.a=c}}};g.original=f;return g});var G=((a,b)=>{});var w=((b,c)=>{a._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hfc5cf0065df9cea8(b,c)});var p=(a=>a===L||a===M);var g=(a=>{if(d===b.length)b.push(b.length+ N);const c=d;d=b[c];b[c]=a;return c});var E=(async(a,b)=>{if(typeof Response===T&&a instanceof Response){if(typeof WebAssembly.instantiateStreaming===T){try{return await WebAssembly.instantiateStreaming(a,b)}catch(b){if(a.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`,b)}else{throw b}}};const c=await a.arrayBuffer();return await WebAssembly.instantiate(c,b)}else{const c=await WebAssembly.instantiate(a,b);if(c instanceof WebAssembly.Instance){return {instance:c,module:a}}else{return c}}});var A=((b,c)=>{try{const g=a.__wbindgen_add_to_stack_pointer(-Z);a._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h4cb6a76bc280f5b2(g,b,c);var d=r()[g/_+ R];var e=r()[g/_+ N];if(e){throw f(d)}}finally{a.__wbindgen_add_to_stack_pointer(Z)}});var t=(()=>{if(s===M||s.byteLength===R){s=new Float64Array(a.memory.buffer)};return s});var z=((b,c,d)=>{a._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h34d6b9396a368229(b,c,g(d))});var o=((a,b,c)=>{if(c===L){const c=m.encode(a);const d=b(c.length,N)>>>R;j().subarray(d,d+ c.length).set(c);l=c.length;return d};let d=a.length;let e=b(d,N)>>>R;const f=j();let g=R;for(;g127)break;f[e+ g]=b};if(g!==d){if(g!==R){a=a.slice(g)};e=c(e,d,d=g+ a.length*3,N)>>>R;const b=j().subarray(e+ g,e+ d);const f=n(a,b);g+=f.written};l=g;return e});var c=(a=>b[a]);var f=(a=>{const b=c(a);e(a);return b});var k=((a,b)=>{a=a>>>R;return h.decode(j().subarray(a,a+ b))});var J=(async(b)=>{if(a!==L)return a;if(typeof b===O){b=new URL(`celeste_rs_gui_bg.wasm`,import.meta.url)};const c=F();if(typeof b===X||typeof Request===T&&b instanceof Request||typeof URL===T&&b instanceof URL){b=fetch(b)};G(c);const {instance:d,module:e}=await E(await b,c);return H(d,e)});var B=((b,c,d)=>{a._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h054848f3504d75f4(b,c,g(d))});var r=(()=>{if(q===M||q.byteLength===R){q=new U(a.memory.buffer)};return q});var e=(a=>{if(a<132)return;b[a]=d;d=a});var y=((b,c)=>{a._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h365614c9f5ee148c(b,c)});let a;const b=new K(128).fill(L);b.push(L,M,!0,!1);let d=b.length;const h=typeof TextDecoder!==O?new TextDecoder(P,{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Q(`TextDecoder not available`)}};if(typeof TextDecoder!==O){h.decode()};let i=M;let l=R;const m=typeof TextEncoder!==O?new TextEncoder(P):{encode:()=>{throw Q(`TextEncoder not available`)}};const n=typeof m.encodeInto===T?((a,b)=>m.encodeInto(a,b)):((a,b)=>{const c=m.encode(a);b.set(c);return {read:a.length,written:c.length}});let q=M;let s=M;export default J;export{I as initSync} \ No newline at end of file diff --git a/celeste_rs_gui-3fc2607906e8164e_bg.wasm b/celeste_rs_gui-3fc2607906e8164e_bg.wasm new file mode 100644 index 0000000..93f6e40 Binary files /dev/null and b/celeste_rs_gui-3fc2607906e8164e_bg.wasm differ diff --git a/favicon-684c5eb7568ac0f1.ico b/favicon-684c5eb7568ac0f1.ico new file mode 100644 index 0000000..e3cf083 Binary files /dev/null and b/favicon-684c5eb7568ac0f1.ico differ diff --git a/icon-1024.png b/icon-1024.png new file mode 100644 index 0000000..304fa9a Binary files /dev/null and b/icon-1024.png differ diff --git a/icon-256.png b/icon-256.png new file mode 100644 index 0000000..254f650 Binary files /dev/null and b/icon-256.png differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..87a0b91 --- /dev/null +++ b/index.html @@ -0,0 +1 @@ +celeste.rs \ No newline at end of file diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..a42c298 --- /dev/null +++ b/manifest.json @@ -0,0 +1,28 @@ +{ + "name": "celeste.rs gui", + "short_name": "c_rs_gui", + "icons": [ + { + "src": "./icon-256.png", + "sizes": "256x256", + "type": "image/png" + }, + { + "src": "./maskable_icon_x512.png", + "sizes": "512x512", + "type": "image/png", + "purpose": "any maskable" + }, + { + "src": "./icon-1024.png", + "sizes": "1024x1024", + "type": "image/png" + } + ], + "lang": "en-US", + "id": "/index.html", + "start_url": "./index.html", + "display": "standalone", + "background_color": "white", + "theme_color": "white" +} diff --git a/maskable_icon_x512.png b/maskable_icon_x512.png new file mode 100644 index 0000000..6312dcc Binary files /dev/null and b/maskable_icon_x512.png differ diff --git a/sw.js b/sw.js new file mode 100644 index 0000000..ff12525 --- /dev/null +++ b/sw.js @@ -0,0 +1,25 @@ +var cacheName = 'celeste-save-editor'; +var filesToCache = [ + './', + './index.html', + './celeste_rs_gui.js', + './celeste_rs_gui_bg.wasm', +]; + +/* Start the service worker and cache all of the app's content */ +self.addEventListener('install', function (e) { + e.waitUntil( + caches.open(cacheName).then(function (cache) { + return cache.addAll(filesToCache); + }) + ); +}); + +/* Serve cached content when offline */ +self.addEventListener('fetch', function (e) { + e.respondWith( + caches.match(e.request).then(function (response) { + return response || fetch(e.request); + }) + ); +});