diff --git a/favicon-6664fe8d142ed36c.ico b/favicon-6664fe8d142ed36c.ico new file mode 100644 index 0000000..77d7e40 Binary files /dev/null and b/favicon-6664fe8d142ed36c.ico differ diff --git a/icon-1024.png b/icon-1024.png new file mode 100644 index 0000000..506d282 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..ae2bfc2 Binary files /dev/null and b/icon-256.png differ diff --git a/icon_ios_touch_192.png b/icon_ios_touch_192.png new file mode 100644 index 0000000..3ef09c1 Binary files /dev/null and b/icon_ios_touch_192.png differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..e3f8a43 --- /dev/null +++ b/index.html @@ -0,0 +1 @@ +RustyChaosCraftor \ No newline at end of file diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..e9d65e7 --- /dev/null +++ b/manifest.json @@ -0,0 +1,28 @@ +{ + "name": "RustyChaosCraftor PWA", + "short_name": "rusty-chaos-craftor-pwa", + "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" +} \ No newline at end of file diff --git a/maskable_icon_x512.png b/maskable_icon_x512.png new file mode 100644 index 0000000..423ef08 Binary files /dev/null and b/maskable_icon_x512.png differ diff --git a/rusty-chaos-craftor-df55dc4d5d6580b2.js b/rusty-chaos-craftor-df55dc4d5d6580b2.js new file mode 100644 index 0000000..d107dd7 --- /dev/null +++ b/rusty-chaos-craftor-df55dc4d5d6580b2.js @@ -0,0 +1 @@ +let J=0,R=`string`,K=1,T=`Object`,M=`utf-8`,I=null,P=`number`,L=`undefined`,Q=`boolean`,V=4,S=`function`,U=16,W=66,G=Array,N=Error,O=Uint8Array,H=undefined;var A=(async(a,b)=>{if(typeof Response===S&&a instanceof Response){if(typeof WebAssembly.instantiateStreaming===S){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 w=((b,c,d)=>{a.__wbindgen_export_3(b,c,l(d))});var q=(a=>{const b=typeof a;if(b==P||b==Q||a==I){return `${a}`};if(b==R){return `"${a}"`};if(b==`symbol`){const b=a.description;if(b==I){return `Symbol`}else{return `Symbol(${b})`}};if(b==S){const b=a.name;if(typeof b==R&&b.length>J){return `Function(${b})`}else{return `Function`}};if(G.isArray(a)){const b=a.length;let c=`[`;if(b>J){c+=q(a[J])};for(let d=K;dK){d=c[K]}else{return toString.call(a)};if(d==T){try{return `Object(`+ JSON.stringify(a)+ `)`}catch(a){return T}};if(a instanceof N){return `${a.name}: ${a.message}\n${a.stack}`};return d});var C=((a,b)=>{});var x=((b,c)=>{try{const g=a.__wbindgen_add_to_stack_pointer(-U);a.__wbindgen_export_4(g,b,c);var d=k()[g/V+ J];var e=k()[g/V+ K];if(e){throw f(d)}}finally{a.__wbindgen_add_to_stack_pointer(U)}});var f=(a=>{const b=c(a);e(a);return b});var l=(a=>{if(d===b.length)b.push(b.length+ K);const c=d;d=b[c];b[c]=a;return c});function z(b,c){try{return b.apply(this,c)}catch(b){a.__wbindgen_export_7(l(b))}}var k=(()=>{if(j===I||j.byteLength===J){j=new Int32Array(a.memory.buffer)};return j});var g=(a=>a===H||a===I);var c=(a=>b[a]);var y=((b,c)=>{a.__wbindgen_export_5(b,c)});var F=(async(b)=>{if(a!==H)return a;if(typeof b===L){b=new URL(`rusty-chaos-craftor-df55dc4d5d6580b2_bg.wasm`,import.meta.url)};const c=B();if(typeof b===R||typeof Request===S&&b instanceof Request||typeof URL===S&&b instanceof URL){b=fetch(b)};C(c);const {instance:d,module:e}=await A(await b,c);return D(d,e)});var E=(b=>{if(a!==H)return a;const c=B();C(c);if(!(b instanceof WebAssembly.Module)){b=new WebAssembly.Module(b)};const d=new WebAssembly.Instance(b,c);return D(d,b)});var i=(()=>{if(h===I||h.byteLength===J){h=new Float64Array(a.memory.buffer)};return h});var B=(()=>{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--==K){b.a=J;return !0};const c=!1;return c});b.wbg.__wbg_deleteProgram_ffe51c2159e56aeb=((a,b)=>{c(a).deleteProgram(c(b))});b.wbg.__wbg_deleteProgram_100d1c04b7f0f6ee=((a,b)=>{c(a).deleteProgram(c(b))});b.wbg.__wbg_getParameter_92e1c06daec0a5db=function(){return z(((a,b)=>{const d=c(a).getParameter(b>>>J);return l(d)}),arguments)};b.wbg.__wbg_getParameter_fedfba9017d5fbcd=function(){return z(((a,b)=>{const d=c(a).getParameter(b>>>J);return l(d)}),arguments)};b.wbg.__wbindgen_number_get=((a,b)=>{const d=c(b);const e=typeof d===P?d:H;i()[a/8+ K]=g(e)?J:e;k()[a/V+ J]=!g(e)});b.wbg.__wbg_createProgram_76ddcf5596a96a1a=(a=>{const b=c(a).createProgram();return g(b)?J:l(b)});b.wbg.__wbg_createProgram_36349c11c5d787f1=(a=>{const b=c(a).createProgram();return g(b)?J:l(b)});b.wbg.__wbg_linkProgram_1ab5d0990c565f87=((a,b)=>{c(a).linkProgram(c(b))});b.wbg.__wbg_linkProgram_79a9e7719a86a93e=((a,b)=>{c(a).linkProgram(c(b))});b.wbg.__wbg_getProgramParameter_ac16a850d3f251f3=((a,b,d)=>{const e=c(a).getProgramParameter(c(b),d>>>J);return l(e)});b.wbg.__wbg_getProgramParameter_69a29687a127f713=((a,b,d)=>{const e=c(a).getProgramParameter(c(b),d>>>J);return l(e)});b.wbg.__wbindgen_boolean_get=(a=>{const b=c(a);const d=typeof b===Q?(b?K:J):2;return d});b.wbg.__wbg_getProgramInfoLog_99334d62bea10332=((b,d,e)=>{const f=c(d).getProgramInfoLog(c(e));var h=g(f)?J:u(f,a.__wbindgen_export_0,a.__wbindgen_export_1);var i=r;k()[b/V+ K]=i;k()[b/V+ J]=h});b.wbg.__wbg_getProgramInfoLog_5caeb981d27a790c=((b,d,e)=>{const f=c(d).getProgramInfoLog(c(e));var h=g(f)?J:u(f,a.__wbindgen_export_0,a.__wbindgen_export_1);var i=r;k()[b/V+ K]=i;k()[b/V+ J]=h});b.wbg.__wbg_getUniformLocation_29cc1018d110f9f0=((a,b,d,e)=>{const f=c(a).getUniformLocation(c(b),p(d,e));return g(f)?J:l(f)});b.wbg.__wbg_getUniformLocation_50b6838495678a49=((a,b,d,e)=>{const f=c(a).getUniformLocation(c(b),p(d,e));return g(f)?J:l(f)});b.wbg.__wbg_getAttribLocation_b08751ecb11d328d=((a,b,d,e)=>{const f=c(a).getAttribLocation(c(b),p(d,e));return f});b.wbg.__wbg_getAttribLocation_7d1c430e776fec76=((a,b,d,e)=>{const f=c(a).getAttribLocation(c(b),p(d,e));return f});b.wbg.__wbg_createVertexArrayOES_528c4cd10c985d11=(a=>{const b=c(a).createVertexArrayOES();return g(b)?J:l(b)});b.wbg.__wbg_createVertexArray_7466a685c3b93a65=(a=>{const b=c(a).createVertexArray();return g(b)?J:l(b)});b.wbg.__wbg_bindBuffer_a0055fe364603e72=((a,b,d)=>{c(a).bindBuffer(b>>>J,c(d))});b.wbg.__wbg_bindBuffer_c71ed62c7c21bed0=((a,b,d)=>{c(a).bindBuffer(b>>>J,c(d))});b.wbg.__wbg_vertexAttribPointer_1241d48b9272fc9d=((a,b,d,e,f,g,h)=>{c(a).vertexAttribPointer(b>>>J,d,e>>>J,f!==J,g,h)});b.wbg.__wbg_vertexAttribPointer_7be57c972fbee1d0=((a,b,d,e,f,g,h)=>{c(a).vertexAttribPointer(b>>>J,d,e>>>J,f!==J,g,h)});b.wbg.__wbg_enableVertexAttribArray_f8678d164c294659=((a,b)=>{c(a).enableVertexAttribArray(b>>>J)});b.wbg.__wbg_enableVertexAttribArray_0424d3842911d8b6=((a,b)=>{c(a).enableVertexAttribArray(b>>>J)});b.wbg.__wbg_bindVertexArrayOES_d0c90ddc7c6360d2=((a,b)=>{c(a).bindVertexArrayOES(c(b))});b.wbg.__wbg_bindVertexArray_7b37e9d04dfd27d9=((a,b)=>{c(a).bindVertexArray(c(b))});b.wbg.__wbg_instanceof_Window_3e5cd1f48c152d01=(a=>{let b;try{b=c(a) instanceof Window}catch(a){b=!1}const d=b;return d});b.wbg.__wbg_matchMedia_7fbd33cb577fe4ad=function(){return z(((a,b,d)=>{const e=c(a).matchMedia(p(b,d));return g(e)?J:l(e)}),arguments)};b.wbg.__wbg_matches_4cc0ff05af669dc3=(a=>{const b=c(a).matches;return b});b.wbg.__wbg_devicePixelRatio_964a528c661f5575=(a=>{const b=c(a).devicePixelRatio;return b});b.wbg.__wbg_addEventListener_9bf60ea8a362e5e4=function(){return z(((a,b,d,e)=>{c(a).addEventListener(p(b,d),c(e))}),arguments)};b.wbg.__wbindgen_object_clone_ref=(a=>{const b=c(a);return l(b)});b.wbg.__wbg_document_d609202d16c38224=(a=>{const b=c(a).document;return g(b)?J:l(b)});b.wbg.__wbindgen_string_new=((a,b)=>{const c=p(a,b);return l(c)});b.wbg.__wbg_performance_43f012c27bf6b283=(a=>{const b=c(a).performance;return g(b)?J:l(b)});b.wbg.__wbg_now_b724952e890dc703=(a=>{const b=c(a).now();return b});b.wbg.__wbg_localStorage_8c507fd281456944=function(){return z((a=>{const b=c(a).localStorage;return g(b)?J:l(b)}),arguments)};b.wbg.__wbg_setItem_3786c4c8dd0c9bd0=function(){return z(((a,b,d,e,f)=>{c(a).setItem(p(b,d),p(e,f))}),arguments)};b.wbg.__wbg_parentElement_72e144c2e8d9e0b5=(a=>{const b=c(a).parentElement;return g(b)?J:l(b)});b.wbg.__wbg_clientWidth_eca2065ae6dd9dcd=(a=>{const b=c(a).clientWidth;return b});b.wbg.__wbg_clientHeight_530993c2aa871aaf=(a=>{const b=c(a).clientHeight;return b});b.wbg.__wbg_style_97c680a5cbdf49cd=(a=>{const b=c(a).style;return l(b)});b.wbg.__wbg_setProperty_ecf331459a4d3891=function(){return z(((a,b,d,e,f)=>{c(a).setProperty(p(b,d),p(e,f))}),arguments)};b.wbg.__wbg_setwidth_7591ce24118fd14a=((a,b)=>{c(a).width=b>>>J});b.wbg.__wbg_setheight_f7ae862183d88bd5=((a,b)=>{c(a).height=b>>>J});b.wbg.__wbg_body_64abc9aba1891e91=(a=>{const b=c(a).body;return g(b)?J:l(b)});b.wbg.__wbg_open_1526872b77d837c5=function(){return z(((a,b,d,e,f)=>{const h=c(a).open(p(b,d),p(e,f));return g(h)?J:l(h)}),arguments)};b.wbg.__wbg_navigator_96ba491902f8f083=(a=>{const b=c(a).navigator;return l(b)});b.wbg.__wbg_clipboard_45ab59b632e2c484=(a=>{const b=c(a).clipboard;return g(b)?J:l(b)});b.wbg.__wbg_writeText_ff00236e4aca4201=((a,b,d)=>{const e=c(a).writeText(p(b,d));return l(e)});b.wbg.__wbg_userAgent_569b1cd728f0086d=function(){return z(((b,d)=>{const e=c(d).userAgent;const f=u(e,a.__wbindgen_export_0,a.__wbindgen_export_1);const g=r;k()[b/V+ K]=g;k()[b/V+ J]=f}),arguments)};b.wbg.__wbg_getBoundingClientRect_4167ccfa40cf88fc=(a=>{const b=c(a).getBoundingClientRect();return l(b)});b.wbg.__wbg_scrollTop_a96e7e0ba1916978=(a=>{const b=c(a).scrollTop;return b});b.wbg.__wbg_offsetTop_c09c80578fe1b728=(a=>{const b=c(a).offsetTop;return b});b.wbg.__wbg_height_415b4e67932f43c9=(a=>{const b=c(a).height;return b});b.wbg.__wbg_scrollLeft_4ecf6ec16fd5dbf8=(a=>{const b=c(a).scrollLeft;return b});b.wbg.__wbg_offsetLeft_0a88504157e0950b=(a=>{const b=c(a).offsetLeft;return b});b.wbg.__wbg_offsetWidth_b1977ba06d409033=(a=>{const b=c(a).offsetWidth;return b});b.wbg.__wbg_width_1ccae8ab185a4192=(a=>{const b=c(a).width;return b});b.wbg.__wbg_getElementById_65b9547a428b5eb4=((a,b,d)=>{const e=c(a).getElementById(p(b,d));return g(e)?J:l(e)});b.wbg.__wbg_instanceof_HtmlCanvasElement_fba0ac991170cc00=(a=>{let b;try{b=c(a) instanceof HTMLCanvasElement}catch(a){b=!1}const d=b;return d});b.wbg.__wbg_width_cfc58d9656d60465=(a=>{const b=c(a).width;return b});b.wbg.__wbg_height_1ba9072bd4001d19=(a=>{const b=c(a).height;return b});b.wbg.__wbg_instanceof_HtmlInputElement_e7869aaef9cbb0e6=(a=>{let b;try{b=c(a) instanceof HTMLInputElement}catch(a){b=!1}const d=b;return d});b.wbg.__wbindgen_debug_string=((b,d)=>{const e=q(c(d));const f=u(e,a.__wbindgen_export_0,a.__wbindgen_export_1);const g=r;k()[b/V+ K]=g;k()[b/V+ J]=f});b.wbg.__wbindgen_string_get=((b,d)=>{const e=c(d);const f=typeof e===R?e:H;var h=g(f)?J:u(f,a.__wbindgen_export_0,a.__wbindgen_export_1);var i=r;k()[b/V+ K]=i;k()[b/V+ J]=h});b.wbg.__wbg_createTexture_fc71efc6d11fdbcb=(a=>{const b=c(a).createTexture();return g(b)?J:l(b)});b.wbg.__wbg_createTexture_0a5d95233724c9fb=(a=>{const b=c(a).createTexture();return g(b)?J:l(b)});b.wbg.__wbg_bindTexture_df13ba7e7ee5d984=((a,b,d)=>{c(a).bindTexture(b>>>J,c(d))});b.wbg.__wbg_bindTexture_ba764bb08be120f7=((a,b,d)=>{c(a).bindTexture(b>>>J,c(d))});b.wbg.__wbg_disable_8938e1da156fa7d9=((a,b)=>{c(a).disable(b>>>J)});b.wbg.__wbg_disable_483aff0769a6f791=((a,b)=>{c(a).disable(b>>>J)});b.wbg.__wbg_viewport_2464c396536924a3=((a,b,d,e,f)=>{c(a).viewport(b,d,e,f)});b.wbg.__wbg_viewport_146f8499414eebc9=((a,b,d,e,f)=>{c(a).viewport(b,d,e,f)});b.wbg.__wbg_clearColor_253d33d2ea420d1a=((a,b,d,e,f)=>{c(a).clearColor(b,d,e,f)});b.wbg.__wbg_clearColor_0b26e6b243b514b3=((a,b,d,e,f)=>{c(a).clearColor(b,d,e,f)});b.wbg.__wbg_clear_5e252567fe8f1763=((a,b)=>{c(a).clear(b>>>J)});b.wbg.__wbg_clear_1621e0405dedb722=((a,b)=>{c(a).clear(b>>>J)});b.wbg.__wbg_scissor_6691dacd4ecb8e80=((a,b,d,e,f)=>{c(a).scissor(b,d,e,f)});b.wbg.__wbg_scissor_c1bf95c48721deac=((a,b,d,e,f)=>{c(a).scissor(b,d,e,f)});b.wbg.__wbg_disableVertexAttribArray_b196e82af1f9e794=((a,b)=>{c(a).disableVertexAttribArray(b>>>J)});b.wbg.__wbg_disableVertexAttribArray_0c9e77abfba9ee15=((a,b)=>{c(a).disableVertexAttribArray(b>>>J)});b.wbg.__wbg_getItem_5395a7e200c31e89=function(){return z(((b,d,e,f)=>{const h=c(d).getItem(p(e,f));var i=g(h)?J:u(h,a.__wbindgen_export_0,a.__wbindgen_export_1);var j=r;k()[b/V+ K]=j;k()[b/V+ J]=i}),arguments)};b.wbg.__wbg_location_176c34e89c2c9d80=(a=>{const b=c(a).location;return l(b)});b.wbg.__wbg_hash_be2940ca236b5efc=function(){return z(((b,d)=>{const e=c(d).hash;const f=u(e,a.__wbindgen_export_0,a.__wbindgen_export_1);const g=r;k()[b/V+ K]=g;k()[b/V+ J]=f}),arguments)};b.wbg.__wbg_search_9f7ca8896c2d0804=function(){return z(((b,d)=>{const e=c(d).search;const f=u(e,a.__wbindgen_export_0,a.__wbindgen_export_1);const g=r;k()[b/V+ K]=g;k()[b/V+ J]=f}),arguments)};b.wbg.__wbg_href_160af2ae1328d7b7=function(){return z(((b,d)=>{const e=c(d).href;const f=u(e,a.__wbindgen_export_0,a.__wbindgen_export_1);const g=r;k()[b/V+ K]=g;k()[b/V+ J]=f}),arguments)};b.wbg.__wbg_protocol_51a4e630fff75abb=function(){return z(((b,d)=>{const e=c(d).protocol;const f=u(e,a.__wbindgen_export_0,a.__wbindgen_export_1);const g=r;k()[b/V+ K]=g;k()[b/V+ J]=f}),arguments)};b.wbg.__wbg_host_793ff88f2063bc10=function(){return z(((b,d)=>{const e=c(d).host;const f=u(e,a.__wbindgen_export_0,a.__wbindgen_export_1);const g=r;k()[b/V+ K]=g;k()[b/V+ J]=f}),arguments)};b.wbg.__wbg_hostname_6a864c6261102cc7=function(){return z(((b,d)=>{const e=c(d).hostname;const f=u(e,a.__wbindgen_export_0,a.__wbindgen_export_1);const g=r;k()[b/V+ K]=g;k()[b/V+ J]=f}),arguments)};b.wbg.__wbg_port_715b7b0dc92c5688=function(){return z(((b,d)=>{const e=c(d).port;const f=u(e,a.__wbindgen_export_0,a.__wbindgen_export_1);const g=r;k()[b/V+ K]=g;k()[b/V+ J]=f}),arguments)};b.wbg.__wbg_origin_595edc88be6e66b8=function(){return z(((b,d)=>{const e=c(d).origin;const f=u(e,a.__wbindgen_export_0,a.__wbindgen_export_1);const g=r;k()[b/V+ K]=g;k()[b/V+ J]=f}),arguments)};b.wbg.__wbg_requestAnimationFrame_74309aadebde12fa=function(){return z(((a,b)=>{const d=c(a).requestAnimationFrame(c(b));return d}),arguments)};b.wbg.__wbg_removeEventListener_66ee1536a0b32c11=function(){return z(((a,b,d,e)=>{c(a).removeEventListener(p(b,d),c(e))}),arguments)};b.wbg.__wbg_clearInterval_d246e34afa42bd5b=((a,b)=>{c(a).clearInterval(b)});b.wbg.__wbg_stopPropagation_b7a931152e09c2ab=(a=>{c(a).stopPropagation()});b.wbg.__wbg_preventDefault_7f821f72e7c6b5d4=(a=>{c(a).preventDefault()});b.wbg.__wbg_clipboardData_e265cdf86dee361a=(a=>{const b=c(a).clipboardData;return g(b)?J:l(b)});b.wbg.__wbg_getData_9bb88de49d7a730d=function(){return z(((b,d,e,f)=>{const g=c(d).getData(p(e,f));const h=u(g,a.__wbindgen_export_0,a.__wbindgen_export_1);const i=r;k()[b/V+ K]=i;k()[b/V+ J]=h}),arguments)};b.wbg.__wbg_altKey_bf16cace6fb79198=(a=>{const b=c(a).altKey;return b});b.wbg.__wbg_ctrlKey_977280484bcead08=(a=>{const b=c(a).ctrlKey;return b});b.wbg.__wbg_shiftKey_55894418ec38c771=(a=>{const b=c(a).shiftKey;return b});b.wbg.__wbg_metaKey_16606958d932a374=(a=>{const b=c(a).metaKey;return b});b.wbg.__wbg_key_cf8022c18f47869e=((b,d)=>{const e=c(d).key;const f=u(e,a.__wbindgen_export_0,a.__wbindgen_export_1);const g=r;k()[b/V+ K]=g;k()[b/V+ J]=f});b.wbg.__wbg_isComposing_c7e418f80e641f3b=(a=>{const b=c(a).isComposing;return b});b.wbg.__wbg_keyCode_48fe24f81bbcf215=(a=>{const b=c(a).keyCode;return b});b.wbg.__wbg_hidden_f1bf0d1466fc7298=(a=>{const b=c(a).hidden;return b});b.wbg.__wbg_matches_9502c0f8ac0be969=(a=>{const b=c(a).matches;return b});b.wbg.__wbg_dataTransfer_86945596a7c803c5=(a=>{const b=c(a).dataTransfer;return g(b)?J:l(b)});b.wbg.__wbg_files_3defd8db0f04ee46=(a=>{const b=c(a).files;return g(b)?J:l(b)});b.wbg.__wbg_length_c8f895dad5ec94df=(a=>{const b=c(a).length;return b});b.wbg.__wbg_get_6756090dbec4b385=((a,b)=>{const d=c(a)[b>>>J];return g(d)?J:l(d)});b.wbg.__wbg_name_bbf9c43b9611377a=((b,d)=>{const e=c(d).name;const f=u(e,a.__wbindgen_export_0,a.__wbindgen_export_1);const g=r;k()[b/V+ K]=g;k()[b/V+ J]=f});b.wbg.__wbg_type_7c5cca016a153969=((b,d)=>{const e=c(d).type;const f=u(e,a.__wbindgen_export_0,a.__wbindgen_export_1);const g=r;k()[b/V+ K]=g;k()[b/V+ J]=f});b.wbg.__wbg_lastModified_435cb62cf983296f=(a=>{const b=c(a).lastModified;return b});b.wbg.__wbg_size_5c0f6bdb97c23ee9=(a=>{const b=c(a).size;return b});b.wbg.__wbg_arrayBuffer_a9d862b05aaee2f9=(a=>{const b=c(a).arrayBuffer();return l(b)});b.wbg.__wbg_new_8f67e318f15d7254=(a=>{const b=new O(c(a));return l(b)});b.wbg.__wbg_length_1d25fa9e4ac21ce7=(a=>{const b=c(a).length;return b});b.wbg.__wbindgen_memory=(()=>{const b=a.memory;return l(b)});b.wbg.__wbg_buffer_a448f833075b71ba=(a=>{const b=c(a).buffer;return l(b)});b.wbg.__wbg_set_2357bf09366ee480=((a,b,d)=>{c(a).set(c(b),d>>>J)});b.wbg.__wbg_items_ebb6335fa98edc22=(a=>{const b=c(a).items;return l(b)});b.wbg.__wbg_length_19f098aef166f1f1=(a=>{const b=c(a).length;return b});b.wbg.__wbg_get_9243b518e58464da=((a,b)=>{const d=c(a)[b>>>J];return g(d)?J:l(d)});b.wbg.__wbg_type_97130f571e8d1d7c=((b,d)=>{const e=c(d).type;const f=u(e,a.__wbindgen_export_0,a.__wbindgen_export_1);const g=r;k()[b/V+ K]=g;k()[b/V+ J]=f});b.wbg.__wbg_deltaMode_5f43eb63f3077df7=(a=>{const b=c(a).deltaMode;return b});b.wbg.__wbg_deltaX_03d8f6dcd2e14b63=(a=>{const b=c(a).deltaX;return b});b.wbg.__wbg_deltaY_7d9a7eb25f83e193=(a=>{const b=c(a).deltaY;return b});b.wbg.__wbg_ctrlKey_643b17aaac67db50=(a=>{const b=c(a).ctrlKey;return b});b.wbg.__wbg_metaKey_2a8dbd51a3f59e9c=(a=>{const b=c(a).metaKey;return b});b.wbg.__wbg_shiftKey_8fb7301f56e7e01c=(a=>{const b=c(a).shiftKey;return b});b.wbg.__wbg_changedTouches_1032f6aefa8e23a6=(a=>{const b=c(a).changedTouches;return l(b)});b.wbg.__wbg_length_9c0dd0075317fa21=(a=>{const b=c(a).length;return b});b.wbg.__wbg_item_828cbc1b99e68116=((a,b)=>{const d=c(a).item(b>>>J);return g(d)?J:l(d)});b.wbg.__wbg_identifier_8939f89f50c8fa6b=(a=>{const b=c(a).identifier;return b});b.wbg.__wbg_pageX_5b1c068609f43d64=(a=>{const b=c(a).pageX;return b});b.wbg.__wbg_pageY_b06b85e2cba2d3f7=(a=>{const b=c(a).pageY;return b});b.wbg.__wbg_force_c9599f2fa4a04bc2=(a=>{const b=c(a).force;return b});b.wbg.__wbg_left_253905e6c5050382=(a=>{const b=c(a).left;return b});b.wbg.__wbg_top_da9f6cf2fb5b9968=(a=>{const b=c(a).top;return b});b.wbg.__wbg_setTimeout_06458eba2b40711c=function(){return z(((a,b,d)=>{const e=c(a).setTimeout(c(b),d);return e}),arguments)};b.wbg.__wbg_sethidden_1c32a8f6514b56aa=((a,b)=>{c(a).hidden=b!==J});b.wbg.__wbg_focus_6d3d2b6776d06f7f=function(){return z((a=>{c(a).focus()}),arguments)};b.wbg.__wbg_innerHeight_5e414ce6ae3fd139=function(){return z((a=>{const b=c(a).innerHeight;return l(b)}),arguments)};b.wbg.__wbg_blur_0f6854a1635dce70=function(){return z((a=>{c(a).blur()}),arguments)};b.wbg.__wbg_touches_87a0bcfa4c2fa447=(a=>{const b=c(a).touches;return l(b)});b.wbg.__wbg_get_7398eda896ed301e=((a,b)=>{const d=c(a)[b>>>J];return g(d)?J:l(d)});b.wbg.__wbg_button_cd87b6dabbde9631=(a=>{const b=c(a).button;return b});b.wbg.__wbg_clientX_1a01963cb1caa614=(a=>{const b=c(a).clientX;return b});b.wbg.__wbg_clientY_c370190d4150fba9=(a=>{const b=c(a).clientY;return b});b.wbg.__wbg_new_5558faf900c28862=(()=>{const a=new N();return l(a)});b.wbg.__wbg_stack_0ad674156f31e4a6=((b,d)=>{const e=c(d).stack;const f=u(e,a.__wbindgen_export_0,a.__wbindgen_export_1);const g=r;k()[b/V+ K]=g;k()[b/V+ J]=f});b.wbg.__wbg_error_14d05ac44618f166=((b,c)=>{let d;let e;try{d=b;e=c;console.error(p(b,c))}finally{a.__wbindgen_export_6(d,e,K)}});b.wbg.__wbg_createElement_fdd5c113cb84539e=function(){return z(((a,b,d)=>{const e=c(a).createElement(p(b,d));return l(e)}),arguments)};b.wbg.__wbg_setid_26cf25dc305dcc43=((a,b,d)=>{c(a).id=p(b,d)});b.wbg.__wbg_setsize_566de3ada2f67c28=((a,b)=>{c(a).size=b>>>J});b.wbg.__wbg_setautofocus_e3adf449a14d2913=((a,b)=>{c(a).autofocus=b!==J});b.wbg.__wbg_setvalue_5b3442ff620b4a5d=((a,b,d)=>{c(a).value=p(b,d)});b.wbg.__wbg_data_5d89389455680c67=((b,d)=>{const e=c(d).data;var f=g(e)?J:u(e,a.__wbindgen_export_0,a.__wbindgen_export_1);var h=r;k()[b/V+ K]=h;k()[b/V+ J]=f});b.wbg.__wbg_value_e024243a9dae20bc=((b,d)=>{const e=c(d).value;const f=u(e,a.__wbindgen_export_0,a.__wbindgen_export_1);const g=r;k()[b/V+ K]=g;k()[b/V+ J]=f});b.wbg.__wbg_warn_0fa5ef0dc2a288d0=((a,b)=>{console.warn(p(a,b))});b.wbg.__wbg_info_e044b22a5191d711=((a,b)=>{console.info(p(a,b))});b.wbg.__wbg_debug_a8a54540f1bab3f4=((a,b)=>{console.debug(p(a,b))});b.wbg.__wbg_trace_d15d23fb5b2b47ef=((a,b)=>{console.trace(p(a,b))});b.wbg.__wbg_getContext_164dc98953ddbc68=function(){return z(((a,b,d)=>{const e=c(a).getContext(p(b,d));return g(e)?J:l(e)}),arguments)};b.wbg.__wbg_instanceof_WebGlRenderingContext_275e63499db8b412=(a=>{let b;try{b=c(a) instanceof WebGLRenderingContext}catch(a){b=!1}const d=b;return d});b.wbg.__wbg_getExtension_f109da65b46fbeb8=function(){return z(((a,b,d)=>{const e=c(a).getExtension(p(b,d));return g(e)?J:l(e)}),arguments)};b.wbg.__wbg_getSupportedExtensions_4b8ded535a18e392=(a=>{const b=c(a).getSupportedExtensions();return g(b)?J:l(b)});b.wbg.__wbg_length_1009b1af0c481d7b=(a=>{const b=c(a).length;return b});b.wbg.__wbg_get_f01601b5a68d10e3=((a,b)=>{const d=c(a)[b>>>J];return l(d)});b.wbg.__wbg_instanceof_WebGl2RenderingContext_2a0a9b7be3acc66a=(a=>{let b;try{b=c(a) instanceof WebGL2RenderingContext}catch(a){b=!1}const d=b;return d});b.wbg.__wbg_getExtension_b32d1f4b44a2464b=function(){return z(((a,b,d)=>{const e=c(a).getExtension(p(b,d));return g(e)?J:l(e)}),arguments)};b.wbg.__wbg_getSupportedExtensions_24ca3063e6cb52dc=(a=>{const b=c(a).getSupportedExtensions();return g(b)?J:l(b)});b.wbg.__wbg_getError_33ddd6622c984b78=(a=>{const b=c(a).getError();return b});b.wbg.__wbg_getError_2a7bd3d31e0d4a22=(a=>{const b=c(a).getError();return b});b.wbg.__wbg_createShader_25391a4dceb30291=((a,b)=>{const d=c(a).createShader(b>>>J);return g(d)?J:l(d)});b.wbg.__wbg_createShader_a56f470ffa1c92a5=((a,b)=>{const d=c(a).createShader(b>>>J);return g(d)?J:l(d)});b.wbg.__wbg_shaderSource_8581035b723a56a7=((a,b,d,e)=>{c(a).shaderSource(c(b),p(d,e))});b.wbg.__wbg_shaderSource_f58b7f19ccf7f292=((a,b,d,e)=>{c(a).shaderSource(c(b),p(d,e))});b.wbg.__wbg_compileShader_df38c9b4d109df2c=((a,b)=>{c(a).compileShader(c(b))});b.wbg.__wbg_compileShader_710b082356f5014b=((a,b)=>{c(a).compileShader(c(b))});b.wbg.__wbg_getShaderParameter_d5af258ca8110f13=((a,b,d)=>{const e=c(a).getShaderParameter(c(b),d>>>J);return l(e)});b.wbg.__wbg_getShaderParameter_033044aa2910ba65=((a,b,d)=>{const e=c(a).getShaderParameter(c(b),d>>>J);return l(e)});b.wbg.__wbg_getShaderInfoLog_207d91c9201acffa=((b,d,e)=>{const f=c(d).getShaderInfoLog(c(e));var h=g(f)?J:u(f,a.__wbindgen_export_0,a.__wbindgen_export_1);var i=r;k()[b/V+ K]=i;k()[b/V+ J]=h});b.wbg.__wbg_getShaderInfoLog_e78ccbd4507b9d0c=((b,d,e)=>{const f=c(d).getShaderInfoLog(c(e));var h=g(f)?J:u(f,a.__wbindgen_export_0,a.__wbindgen_export_1);var i=r;k()[b/V+ K]=i;k()[b/V+ J]=h});b.wbg.__wbg_texParameteri_fba016345d388fd9=((a,b,d,e)=>{c(a).texParameteri(b>>>J,d>>>J,e)});b.wbg.__wbg_texParameteri_31d32c2b86548f8e=((a,b,d,e)=>{c(a).texParameteri(b>>>J,d>>>J,e)});b.wbg.__wbg_pixelStorei_48bb580e625ac760=((a,b,d)=>{c(a).pixelStorei(b>>>J,d)});b.wbg.__wbg_pixelStorei_b4b6c5d89e9b5f96=((a,b,d)=>{c(a).pixelStorei(b>>>J,d)});b.wbg.__wbg_newwithbyteoffsetandlength_d0482f893617af71=((a,b,d)=>{const e=new O(c(a),b>>>J,d>>>J);return l(e)});b.wbg.__wbg_texSubImage2D_1b4def2ea95bfb31=function(){return z(((a,b,d,e,f,g,h,i,j,k)=>{c(a).texSubImage2D(b>>>J,d,e,f,g,h,i>>>J,j>>>J,c(k))}),arguments)};b.wbg.__wbg_texSubImage2D_be9f61a79f57b819=function(){return z(((a,b,d,e,f,g,h,i,j,k)=>{c(a).texSubImage2D(b>>>J,d,e,f,g,h,i>>>J,j>>>J,c(k))}),arguments)};b.wbg.__wbg_texImage2D_50acf334022f586d=function(){return z(((a,b,d,e,f,g,h,i,j,k)=>{c(a).texImage2D(b>>>J,d,e,f,g,h,i>>>J,j>>>J,c(k))}),arguments)};b.wbg.__wbg_texImage2D_7900fb999e467869=function(){return z(((a,b,d,e,f,g,h,i,j,k)=>{c(a).texImage2D(b>>>J,d,e,f,g,h,i>>>J,j>>>J,c(k))}),arguments)};b.wbg.__wbg_enable_e39f53a946b9e3a0=((a,b)=>{c(a).enable(b>>>J)});b.wbg.__wbg_enable_c5caba1636ec3c96=((a,b)=>{c(a).enable(b>>>J)});b.wbg.__wbg_colorMask_ee95cb90b5399c1d=((a,b,d,e,f)=>{c(a).colorMask(b!==J,d!==J,e!==J,f!==J)});b.wbg.__wbg_colorMask_048d9f7d86363300=((a,b,d,e,f)=>{c(a).colorMask(b!==J,d!==J,e!==J,f!==J)});b.wbg.__wbg_blendEquationSeparate_68fd537772dc05eb=((a,b,d)=>{c(a).blendEquationSeparate(b>>>J,d>>>J)});b.wbg.__wbg_blendEquationSeparate_821c15a65234ac9e=((a,b,d)=>{c(a).blendEquationSeparate(b>>>J,d>>>J)});b.wbg.__wbg_blendFuncSeparate_c3c9b0213697920c=((a,b,d,e,f)=>{c(a).blendFuncSeparate(b>>>J,d>>>J,e>>>J,f>>>J)});b.wbg.__wbg_blendFuncSeparate_285a70ec8276ccab=((a,b,d,e,f)=>{c(a).blendFuncSeparate(b>>>J,d>>>J,e>>>J,f>>>J)});b.wbg.__wbg_useProgram_667ebfb0fb0de4c0=((a,b)=>{c(a).useProgram(c(b))});b.wbg.__wbg_useProgram_45855699f032d49a=((a,b)=>{c(a).useProgram(c(b))});b.wbg.__wbg_uniform2f_07d7d700bb962bb6=((a,b,d,e)=>{c(a).uniform2f(c(b),d,e)});b.wbg.__wbg_uniform2f_3ecad549d55491f1=((a,b,d,e)=>{c(a).uniform2f(c(b),d,e)});b.wbg.__wbg_uniform1i_59bbe75ef84036ac=((a,b,d)=>{c(a).uniform1i(c(b),d)});b.wbg.__wbg_uniform1i_a949331c579124f5=((a,b,d)=>{c(a).uniform1i(c(b),d)});b.wbg.__wbg_activeTexture_123afbbc8970fe31=((a,b)=>{c(a).activeTexture(b>>>J)});b.wbg.__wbg_activeTexture_713ce7d3e753740f=((a,b)=>{c(a).activeTexture(b>>>J)});b.wbg.__wbg_drawElements_44afd9c142d1e01f=((a,b,d,e,f)=>{c(a).drawElements(b>>>J,d,e>>>J,f)});b.wbg.__wbg_drawElements_b5d8be50bbd1221c=((a,b,d,e,f)=>{c(a).drawElements(b>>>J,d,e>>>J,f)});b.wbg.__wbg_deleteShader_c10a3e2a689f8115=((a,b)=>{c(a).deleteShader(c(b))});b.wbg.__wbg_deleteShader_40389978f329df9f=((a,b)=>{c(a).deleteShader(c(b))});b.wbg.__wbg_attachShader_289e2f1d24149257=((a,b,d)=>{c(a).attachShader(c(b),c(d))});b.wbg.__wbg_attachShader_184a61d345c20d42=((a,b,d)=>{c(a).attachShader(c(b),c(d))});b.wbg.__wbg_detachShader_bef8220f8d13b6f7=((a,b,d)=>{c(a).detachShader(c(b),c(d))});b.wbg.__wbg_detachShader_297dda80dd5f185f=((a,b,d)=>{c(a).detachShader(c(b),c(d))});b.wbg.__wbg_createBuffer_993ecd2e92aabe3c=(a=>{const b=c(a).createBuffer();return g(b)?J:l(b)});b.wbg.__wbg_createBuffer_210de590ff501232=(a=>{const b=c(a).createBuffer();return g(b)?J:l(b)});b.wbg.__wbg_bufferData_11f5ff31cb447750=((a,b,d,e)=>{c(a).bufferData(b>>>J,c(d),e>>>J)});b.wbg.__wbg_bufferData_a05a44a5492e757f=((a,b,d,e)=>{c(a).bufferData(b>>>J,c(d),e>>>J)});b.wbg.__wbg_deleteBuffer_f4994a64cdd473a3=((a,b)=>{c(a).deleteBuffer(c(b))});b.wbg.__wbg_deleteBuffer_3129e4f30c465a14=((a,b)=>{c(a).deleteBuffer(c(b))});b.wbg.__wbg_deleteTexture_b8458a96b71a0a04=((a,b)=>{c(a).deleteTexture(c(b))});b.wbg.__wbg_deleteTexture_ad998c535ddaaf67=((a,b)=>{c(a).deleteTexture(c(b))});b.wbg.__wbg_self_f0e34d89f33b99fd=function(){return z((()=>{const a=self.self;return l(a)}),arguments)};b.wbg.__wbg_window_d3b084224f4774d7=function(){return z((()=>{const a=window.window;return l(a)}),arguments)};b.wbg.__wbg_globalThis_9caa27ff917c6860=function(){return z((()=>{const a=globalThis.globalThis;return l(a)}),arguments)};b.wbg.__wbg_global_35dfdd59a4da3e74=function(){return z((()=>{const a=global.global;return l(a)}),arguments)};b.wbg.__wbindgen_is_undefined=(a=>{const b=c(a)===H;return b});b.wbg.__wbg_newnoargs_c62ea9419c21fbac=((a,b)=>{const c=new Function(p(a,b));return l(c)});b.wbg.__wbg_call_90c26b09837aba1c=function(){return z(((a,b)=>{const d=c(a).call(c(b));return l(d)}),arguments)};b.wbg.__wbg_crypto_58f13aa23ffcb166=(a=>{const b=c(a).crypto;return l(b)});b.wbg.__wbindgen_is_object=(a=>{const b=c(a);const d=typeof b===`object`&&b!==I;return d});b.wbg.__wbg_process_5b786e71d465a513=(a=>{const b=c(a).process;return l(b)});b.wbg.__wbg_versions_c2ab80650590b6a2=(a=>{const b=c(a).versions;return l(b)});b.wbg.__wbg_node_523d7bd03ef69fba=(a=>{const b=c(a).node;return l(b)});b.wbg.__wbindgen_is_string=(a=>{const b=typeof c(a)===R;return b});b.wbg.__wbg_msCrypto_abcb1295e768d1f2=(a=>{const b=c(a).msCrypto;return l(b)});b.wbg.__wbg_newwithlength_6c2df9e2f3028c43=(a=>{const b=new O(a>>>J);return l(b)});b.wbg.__wbg_require_2784e593a4674877=function(){return z((()=>{const a=module.require;return l(a)}),arguments)};b.wbg.__wbindgen_is_function=(a=>{const b=typeof c(a)===S;return b});b.wbg.__wbg_call_5da1969d7cd31ccd=function(){return z(((a,b,d)=>{const e=c(a).call(c(b),c(d));return l(e)}),arguments)};b.wbg.__wbg_randomFillSync_a0d98aa11c81fe89=function(){return z(((a,b)=>{c(a).randomFillSync(f(b))}),arguments)};b.wbg.__wbg_subarray_2e940e41c0f5a1d9=((a,b,d)=>{const e=c(a).subarray(b>>>J,d>>>J);return l(e)});b.wbg.__wbg_getRandomValues_504510b5564925af=function(){return z(((a,b)=>{c(a).getRandomValues(c(b))}),arguments)};b.wbg.__wbindgen_throw=((a,b)=>{throw new N(p(a,b))});b.wbg.__wbg_then_8371cc12cfedc5a2=((a,b,d)=>{const e=c(a).then(c(b),c(d));return l(e)});b.wbg.__wbg_queueMicrotask_adae4bc085237231=(a=>{const b=c(a).queueMicrotask;return l(b)});b.wbg.__wbg_resolve_6e1c6553a82f85b7=(a=>{const b=Promise.resolve(c(a));return l(b)});b.wbg.__wbg_then_3ab08cd4fbb91ae9=((a,b)=>{const d=c(a).then(c(b));return l(d)});b.wbg.__wbg_queueMicrotask_4d890031a6a5a50c=(a=>{queueMicrotask(c(a))});b.wbg.__wbg_appendChild_d30e6b83791d04c0=function(){return z(((a,b)=>{const d=c(a).appendChild(c(b));return l(d)}),arguments)};b.wbg.__wbg_performance_a1b8bde2ee512264=(a=>{const b=c(a).performance;return l(b)});b.wbg.__wbg_now_abd80e969af37148=(a=>{const b=c(a).now();return b});b.wbg.__wbindgen_closure_wrapper385=((a,b,c)=>{const d=v(a,b,W,w);return l(d)});b.wbg.__wbindgen_closure_wrapper671=((a,b,c)=>{const d=v(a,b,W,x);return l(d)});b.wbg.__wbindgen_closure_wrapper727=((a,b,c)=>{const d=v(a,b,W,y);return l(d)});b.wbg.__wbindgen_closure_wrapper3512=((a,b,c)=>{const d=v(a,b,W,w);return l(d)});return b});var e=(a=>{if(a<132)return;b[a]=d;d=a});var v=((b,c,d,e)=>{const f={a:b,b:c,cnt:K,dtor:d};const g=(...b)=>{f.cnt++;const c=f.a;f.a=J;try{return e(c,f.b,...b)}finally{if(--f.cnt===J){a.__wbindgen_export_2.get(f.dtor)(c,f.b)}else{f.a=c}}};g.original=f;return g});var u=((a,b,c)=>{if(c===H){const c=s.encode(a);const d=b(c.length,K)>>>J;o().subarray(d,d+ c.length).set(c);r=c.length;return d};let d=a.length;let e=b(d,K)>>>J;const f=o();let g=J;for(;g127)break;f[e+ g]=b};if(g!==d){if(g!==J){a=a.slice(g)};e=c(e,d,d=g+ a.length*3,K)>>>J;const b=o().subarray(e+ g,e+ d);const f=t(a,b);g+=f.written};r=g;return e});var o=(()=>{if(n===I||n.byteLength===J){n=new O(a.memory.buffer)};return n});var p=((a,b)=>{a=a>>>J;return m.decode(o().subarray(a,a+ b))});var D=((b,c)=>{a=b.exports;F.__wbindgen_wasm_module=c;h=I;j=I;n=I;a.__wbindgen_start();return a});let a;const b=new G(128).fill(H);b.push(H,I,!0,!1);let d=b.length;let h=I;let j=I;const m=typeof TextDecoder!==L?new TextDecoder(M,{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw N(`TextDecoder not available`)}};if(typeof TextDecoder!==L){m.decode()};let n=I;let r=J;const s=typeof TextEncoder!==L?new TextEncoder(M):{encode:()=>{throw N(`TextEncoder not available`)}};const t=typeof s.encodeInto===S?((a,b)=>s.encodeInto(a,b)):((a,b)=>{const c=s.encode(a);b.set(c);return {read:a.length,written:c.length}});export default F;export{E as initSync} \ No newline at end of file diff --git a/rusty-chaos-craftor-df55dc4d5d6580b2_bg.wasm b/rusty-chaos-craftor-df55dc4d5d6580b2_bg.wasm new file mode 100644 index 0000000..1e9f19a Binary files /dev/null and b/rusty-chaos-craftor-df55dc4d5d6580b2_bg.wasm differ diff --git a/sw.js b/sw.js new file mode 100644 index 0000000..0c4ce2c --- /dev/null +++ b/sw.js @@ -0,0 +1,25 @@ +var cacheName = 'rusty-chaos-craftor-pwa'; +var filesToCache = [ + './', + './index.html', + './rusty-chaos-craftor.js', + './rusty-chaos-craftor_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); + }) + ); +});