UNPKG

@ruffle-rs/ruffle

Version:

Putting Flash back on the web. Ruffle will polyfill all Flash content and replace it with the Ruffle flash player.

1 lines • 84.8 kB
"use strict";(self.webpackChunkruffle_selfhosted=self.webpackChunkruffle_selfhosted||[]).push([[655],{693:(e,n,_)=>{function t(e,n){const _=e.length,t=e.getChannelData(0),r=e.getChannelData(1);let b=0,c=0;for(;c<_;)t[c]=n[b],r[c]=n[b+1],c++,b+=2}function r(e,n){return e[n]}_.d(n,{AU:()=>t,UU:()=>r})},655:(e,n,_)=>{_.r(n),_.d(n,{IntoUnderlyingByteSource:()=>K,IntoUnderlyingSink:()=>Y,IntoUnderlyingSource:()=>J,Ruffle:()=>ee,default:()=>be,initSync:()=>te});var t=_(693);e=_.hmd(e);const r="undefined"!=typeof AudioContext?AudioContext:"undefined"!=typeof webkitAudioContext?webkitAudioContext:void 0;let b;const c=new Array(128).fill(void 0);function f(e){return c[e]}c.push(void 0,null,!0,!1);let u=c.length;function a(e){const n=f(e);return function(e){e<132||(c[e]=u,u=e)}(e),n}let o=0,i=null;function g(){return null!==i&&0!==i.byteLength||(i=new Uint8Array(b.memory.buffer)),i}const w="undefined"!=typeof TextEncoder?new TextEncoder("utf-8"):{encode:()=>{throw Error("TextEncoder not available")}},d="function"==typeof w.encodeInto?function(e,n){return w.encodeInto(e,n)}:function(e,n){const _=w.encode(e);return n.set(_),{read:e.length,written:_.length}};function s(e,n,_){if(void 0===_){const _=w.encode(e),t=n(_.length,1)>>>0;return g().subarray(t,t+_.length).set(_),o=_.length,t}let t=e.length,r=n(t,1)>>>0;const b=g();let c=0;for(;c<t;c++){const n=e.charCodeAt(c);if(n>127)break;b[r+c]=n}if(c!==t){0!==c&&(e=e.slice(c)),r=_(r,t,t=c+3*e.length,1)>>>0;const n=g().subarray(r+c,r+t);c+=d(e,n).written,r=_(r,t,c,1)>>>0}return o=c,r}function l(e){return null==e}let m=null;function p(){return null!==m&&0!==m.byteLength||(m=new Int32Array(b.memory.buffer)),m}function y(e){u===c.length&&c.push(c.length+1);const n=u;return u=c[n],c[n]=e,n}const x="undefined"!=typeof TextDecoder?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};function h(e,n){return e>>>=0,x.decode(g().subarray(e,e+n))}"undefined"!=typeof TextDecoder&&x.decode();let S=null;function v(){return null!==S&&0!==S.byteLength||(S=new Float64Array(b.memory.buffer)),S}let B=null;function A(e){const n=typeof e;if("number"==n||"boolean"==n||null==e)return`${e}`;if("string"==n)return`"${e}"`;if("symbol"==n){const n=e.description;return null==n?"Symbol":`Symbol(${n})`}if("function"==n){const n=e.name;return"string"==typeof n&&n.length>0?`Function(${n})`:"Function"}if(Array.isArray(e)){const n=e.length;let _="[";n>0&&(_+=A(e[0]));for(let t=1;t<n;t++)_+=", "+A(e[t]);return _+="]",_}const _=/\[object ([^\]]+)\]/.exec(toString.call(e));let t;if(!(_.length>1))return toString.call(e);if(t=_[1],"Object"==t)try{return"Object("+JSON.stringify(e)+")"}catch(e){return"Object"}return e instanceof Error?`${e.name}: ${e.message}\n${e.stack}`:t}const I="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>{b.__wbindgen_export_2.get(e.dtor)(e.a,e.b)}));function T(e,n,_,t){const r={a:e,b:n,cnt:1,dtor:_},c=(...e)=>{r.cnt++;const n=r.a;r.a=0;try{return t(n,r.b,...e)}finally{0==--r.cnt?(b.__wbindgen_export_2.get(r.dtor)(n,r.b),I.unregister(r)):r.a=n}};return c.original=r,I.register(c,r,r),c}function D(e,n,_){b._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0dbbe45938d004ad(e,n,y(_))}function P(e,n,_){b._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h287f728e8ffe22cf(e,n,_)}function k(e,n){b._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hcae2d4f238152741(e,n)}function C(e,n){b._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h952b2194f9d10fb8(e,n)}function R(e,n,_){b._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha17b0fd1f8acbfb2(e,n,y(_))}function E(e,n){b._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h78f4512deff64430(e,n)}function M(e,n,_){b._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha6b11f1129e82a95(e,n,y(_))}function L(e,n,_){b._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8d6e2b1e398025cb(e,n,y(_))}function F(e,n){try{return e.apply(this,n)}catch(e){b.__wbindgen_exn_store(y(e))}}let O=null;function W(){return null!==O&&0!==O.byteLength||(O=new Uint32Array(b.memory.buffer)),O}function U(e,n){const _=n(4*e.length,4)>>>0,t=W();for(let n=0;n<e.length;n++)t[_/4+n]=y(e[n]);return o=e.length,_}let G=null;function V(e,n){return e>>>=0,(null!==G&&0!==G.byteLength||(G=new Float32Array(b.memory.buffer)),G).subarray(e/4,e/4+n)}function q(e,n){return e>>>=0,W().subarray(e/4,e/4+n)}function z(e,n){return e>>>=0,p().subarray(e/4,e/4+n)}function H(e,n){return e>>>=0,g().subarray(e/1,e/1+n)}let j=null;function Q(e,n){return e>>>=0,(null!==j&&0!==j.byteLength||(j=new Uint8ClampedArray(b.memory.buffer)),j).subarray(e/1,e/1+n)}const N="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>b.__wbg_intounderlyingbytesource_free(e>>>0)));class K{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,N.unregister(this),e}free(){const e=this.__destroy_into_raw();b.__wbg_intounderlyingbytesource_free(e)}get type(){let e,n;try{const r=b.__wbindgen_add_to_stack_pointer(-16);b.intounderlyingbytesource_type(r,this.__wbg_ptr);var _=p()[r/4+0],t=p()[r/4+1];return e=_,n=t,h(_,t)}finally{b.__wbindgen_add_to_stack_pointer(16),b.__wbindgen_free(e,n,1)}}get autoAllocateChunkSize(){return b.intounderlyingbytesource_autoAllocateChunkSize(this.__wbg_ptr)>>>0}start(e){b.intounderlyingbytesource_start(this.__wbg_ptr,y(e))}pull(e){return a(b.intounderlyingbytesource_pull(this.__wbg_ptr,y(e)))}cancel(){const e=this.__destroy_into_raw();b.intounderlyingbytesource_cancel(e)}}const $="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>b.__wbg_intounderlyingsink_free(e>>>0)));class Y{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,$.unregister(this),e}free(){const e=this.__destroy_into_raw();b.__wbg_intounderlyingsink_free(e)}write(e){return a(b.intounderlyingsink_write(this.__wbg_ptr,y(e)))}close(){const e=this.__destroy_into_raw();return a(b.intounderlyingsink_close(e))}abort(e){const n=this.__destroy_into_raw();return a(b.intounderlyingsink_abort(n,y(e)))}}const X="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>b.__wbg_intounderlyingsource_free(e>>>0)));class J{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,X.unregister(this),e}free(){const e=this.__destroy_into_raw();b.__wbg_intounderlyingsource_free(e)}pull(e){return a(b.intounderlyingsource_pull(this.__wbg_ptr,y(e)))}cancel(){const e=this.__destroy_into_raw();b.intounderlyingsource_cancel(e)}}const Z="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>b.__wbg_ruffle_free(e>>>0)));class ee{static __wrap(e){e>>>=0;const n=Object.create(ee.prototype);return n.__wbg_ptr=e,Z.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,Z.unregister(this),e}free(){const e=this.__destroy_into_raw();b.__wbg_ruffle_free(e)}constructor(e,n,_){return a(b.ruffle_new(y(e),y(n),y(_)))}stream_from(e,n){try{const t=b.__wbindgen_add_to_stack_pointer(-16),r=s(e,b.__wbindgen_malloc,b.__wbindgen_realloc),c=o;b.ruffle_stream_from(t,this.__wbg_ptr,r,c,y(n));var _=p()[t/4+0];if(p()[t/4+1])throw a(_)}finally{b.__wbindgen_add_to_stack_pointer(16)}}load_data(e,n,_){try{const r=b.__wbindgen_add_to_stack_pointer(-16),c=s(_,b.__wbindgen_malloc,b.__wbindgen_realloc),f=o;b.ruffle_load_data(r,this.__wbg_ptr,y(e),y(n),c,f);var t=p()[r/4+0];if(p()[r/4+1])throw a(t)}finally{b.__wbindgen_add_to_stack_pointer(16)}}play(){b.ruffle_play(this.__wbg_ptr)}pause(){b.ruffle_pause(this.__wbg_ptr)}is_playing(){return 0!==b.ruffle_is_playing(this.__wbg_ptr)}volume(){return b.ruffle_volume(this.__wbg_ptr)}set_volume(e){b.ruffle_set_volume(this.__wbg_ptr,e)}renderer_debug_info(){return a(b.ruffle_renderer_debug_info(this.__wbg_ptr))}renderer_name(){return a(b.ruffle_renderer_name(this.__wbg_ptr))}prepare_context_menu(){return a(b.ruffle_prepare_context_menu(this.__wbg_ptr))}run_context_menu_callback(e){b.ruffle_run_context_menu_callback(this.__wbg_ptr,e)}set_fullscreen(e){b.ruffle_set_fullscreen(this.__wbg_ptr,e)}clear_custom_menu_items(){b.ruffle_clear_custom_menu_items(this.__wbg_ptr)}destroy(){b.ruffle_destroy(this.__wbg_ptr)}add_font(e,n){const _=s(e,b.__wbindgen_malloc,b.__wbindgen_realloc),t=o;b.ruffle_add_font(this.__wbg_ptr,_,t,y(n))}set_default_font(e,n){const _=s(e,b.__wbindgen_malloc,b.__wbindgen_realloc),t=o,r=U(n,b.__wbindgen_malloc),c=o;b.ruffle_set_default_font(this.__wbg_ptr,_,t,r,c)}call_exposed_callback(e,n){const _=s(e,b.__wbindgen_malloc,b.__wbindgen_realloc),t=o,r=U(n,b.__wbindgen_malloc),c=o;return a(b.ruffle_call_exposed_callback(this.__wbg_ptr,_,t,r,c))}set_trace_observer(e){b.ruffle_set_trace_observer(this.__wbg_ptr,y(e))}audio_context(){return a(b.ruffle_audio_context(this.__wbg_ptr))}static is_wasm_simd_used(){return 0!==b.ruffle_is_wasm_simd_used()}}function ne(){const n={wbg:{}};return n.wbg.__wbindgen_object_drop_ref=function(e){a(e)},n.wbg.__wbindgen_string_get=function(e,n){const _=f(n),t="string"==typeof _?_:void 0;var r=l(t)?0:s(t,b.__wbindgen_malloc,b.__wbindgen_realloc),c=o;p()[e/4+1]=c,p()[e/4+0]=r},n.wbg.__wbindgen_cb_drop=function(e){const n=a(e).original;if(1==n.cnt--)return n.a=0,!0;return!1},n.wbg.__wbindgen_object_clone_ref=function(e){return y(f(e))},n.wbg.__wbg_setMetadata_128bd20648a12d07=function(e,n){f(e).setMetadata(a(n))},n.wbg.__wbindgen_is_function=function(e){return"function"==typeof f(e)},n.wbg.__wbindgen_string_new=function(e,n){return y(h(e,n))},n.wbg.__wbg_getProperty_af1b259e02b39917=function(){return F((function(e,n){return y((0,t.UU)(f(e),f(n)))}),arguments)},n.wbg.__wbg_onCallbackAvailable_d54d3847055a0720=function(e,n,_){f(e).onCallbackAvailable(h(n,_))},n.wbg.__wbg_onFSCommand_68fd9326a1eb7ff5=function(){return F((function(e,n,_,t,r){return f(e).onFSCommand(h(n,_),h(t,r))}),arguments)},n.wbg.__wbindgen_number_get=function(e,n){const _=f(n),t="number"==typeof _?_:void 0;v()[e/8+1]=l(t)?0:t,p()[e/4+0]=!l(t)},n.wbg.__wbindgen_boolean_get=function(e){const n=f(e);return"boolean"==typeof n?n?1:0:2},n.wbg.__wbindgen_is_null=function(e){return null===f(e)},n.wbg.__wbindgen_number_new=function(e){return y(e)},n.wbg.__wbg_panic_52092d3d09d11787=function(e,n){f(e).panic(f(n))},n.wbg.__wbg_displayRootMovieDownloadFailedMessage_ed4ad3ae9522c8a3=function(e,n){f(e).displayRootMovieDownloadFailedMessage(0!==n)},n.wbg.__wbg_displayMessage_6b8a0011f836541f=function(e,n,_){f(e).displayMessage(h(n,_))},n.wbg.__wbg_setFullscreen_85ac797b8823b727=function(){return F((function(e,n){f(e).setFullscreen(0!==n)}),arguments)},n.wbg.__wbg_openVirtualKeyboard_e0659b8d0c7b81ed=function(e){f(e).openVirtualKeyboard()},n.wbg.__wbg_isVirtualKeyboardFocused_1719ab4ec034b0ab=function(e){return f(e).isVirtualKeyboardFocused()},n.wbg.__wbg_displayUnsupportedVideo_619cdc62d232655a=function(e,n,_){f(e).displayUnsupportedVideo(h(n,_))},n.wbg.__wbindgen_error_new=function(e,n){return y(new Error(h(e,n)))},n.wbg.__wbindgen_add=function(e,n){return y(f(e)+f(n))},n.wbg.__wbg_ruffle_new=function(e){return y(ee.__wrap(e))},n.wbg.__wbindgen_is_bigint=function(e){return"bigint"==typeof f(e)},n.wbg.__wbindgen_is_object=function(e){const n=f(e);return"object"==typeof n&&null!==n},n.wbg.__wbindgen_in=function(e,n){return f(e)in f(n)},n.wbg.__wbindgen_bigint_from_i64=function(e){return y(e)},n.wbg.__wbindgen_jsval_eq=function(e,n){return f(e)===f(n)},n.wbg.__wbindgen_bigint_from_u64=function(e){return y(BigInt.asUintN(64,e))},n.wbg.__wbindgen_is_string=function(e){return"string"==typeof f(e)},n.wbg.__wbindgen_is_undefined=function(e){return void 0===f(e)},n.wbg.__wbg_copyToAudioBufferInterleaved_efb71b16faf5adb2=function(e,n,_){(0,t.AU)(f(e),V(n,_))},n.wbg.__wbg_new_abda76e883ba8a5f=function(){return y(new Error)},n.wbg.__wbg_stack_658279fe44541cf6=function(e,n){const _=s(f(n).stack,b.__wbindgen_malloc,b.__wbindgen_realloc),t=o;p()[e/4+1]=t,p()[e/4+0]=_},n.wbg.__wbg_error_f851667af71bcfc6=function(e,n){let _,t;try{_=e,t=n,console.error(h(e,n))}finally{b.__wbindgen_free(_,t,1)}},n.wbg.__wbindgen_jsval_loose_eq=function(e,n){return f(e)==f(n)},n.wbg.__wbindgen_as_number=function(e){return+f(e)},n.wbg.__wbg_getwithrefkey_edc2c8960f0f1191=function(e,n){return y(f(e)[f(n)])},n.wbg.__wbg_set_f975102236d3c502=function(e,n,_){f(e)[a(n)]=a(_)},n.wbg.__wbg_String_b9412f8799faab3e=function(e,n){const _=s(String(f(n)),b.__wbindgen_malloc,b.__wbindgen_realloc),t=o;p()[e/4+1]=t,p()[e/4+0]=_},n.wbg.__wbg_getReader_ab94afcb5cb7689a=function(){return F((function(e){return y(f(e).getReader())}),arguments)},n.wbg.__wbg_done_2ffa852272310e47=function(e){return f(e).done},n.wbg.__wbg_value_9f6eeb1e2aab8d96=function(e){return y(f(e).value)},n.wbg.__wbg_log_c9486ca5d8e2cbe8=function(e,n){let _,t;try{_=e,t=n,console.log(h(e,n))}finally{b.__wbindgen_free(_,t,1)}},n.wbg.__wbg_log_aba5996d9bde071f=function(e,n,_,t,r,c,f,u){let a,o;try{a=e,o=n,console.log(h(e,n),h(_,t),h(r,c),h(f,u))}finally{b.__wbindgen_free(a,o,1)}},n.wbg.__wbg_mark_40e050a77cc39fea=function(e,n){performance.mark(h(e,n))},n.wbg.__wbg_measure_aa7a73f17813f708=function(){return F((function(e,n,_,t){let r,c,f,u;try{r=e,c=n,f=_,u=t,performance.measure(h(e,n),h(_,t))}finally{b.__wbindgen_free(r,c,1),b.__wbindgen_free(f,u,1)}}),arguments)},n.wbg.__wbg_crypto_1d1f22824a6a080c=function(e){return y(f(e).crypto)},n.wbg.__wbg_process_4a72847cc503995b=function(e){return y(f(e).process)},n.wbg.__wbg_versions_f686565e586dd935=function(e){return y(f(e).versions)},n.wbg.__wbg_node_104a2ff8d6ea03a2=function(e){return y(f(e).node)},n.wbg.__wbg_require_cca90b1a94a0255b=function(){return F((function(){return y(e.require)}),arguments)},n.wbg.__wbg_msCrypto_eb05e62b530a1508=function(e){return y(f(e).msCrypto)},n.wbg.__wbg_randomFillSync_5c9c955aa56b6049=function(){return F((function(e,n){f(e).randomFillSync(a(n))}),arguments)},n.wbg.__wbg_getRandomValues_3aa56aa6edec874c=function(){return F((function(e,n){f(e).getRandomValues(f(n))}),arguments)},n.wbg.__wbg_performance_a1b8bde2ee512264=function(e){return y(f(e).performance)},n.wbg.__wbg_now_abd80e969af37148=function(e){return f(e).now()},n.wbg.__wbg_instanceof_GpuValidationError_5da6ac919fba8737=function(e){let n;try{n=f(e)instanceof GPUValidationError}catch(e){n=!1}return n},n.wbg.__wbg_instanceof_GpuCanvasContext_a8f6b2929cf7ac72=function(e){let n;try{n=f(e)instanceof GPUCanvasContext}catch(e){n=!1}return n},n.wbg.__wbg_instanceof_GpuAdapter_675bbcd7cd565366=function(e){let n;try{n=f(e)instanceof GPUAdapter}catch(e){n=!1}return n},n.wbg.__wbg_end_cf40d9d2d0da0542=function(e){f(e).end()},n.wbg.__wbg_executeBundles_0af360b832437e34=function(e,n){f(e).executeBundles(f(n))},n.wbg.__wbg_setBlendConstant_2b8a4d08db94ef4b=function(e,n){f(e).setBlendConstant(f(n))},n.wbg.__wbg_setScissorRect_93f569c9c20465ea=function(e,n,_,t,r){f(e).setScissorRect(n>>>0,_>>>0,t>>>0,r>>>0)},n.wbg.__wbg_setStencilReference_851edd0301443d9f=function(e,n){f(e).setStencilReference(n>>>0)},n.wbg.__wbg_setViewport_b528e642e8fba393=function(e,n,_,t,r,b,c){f(e).setViewport(n,_,t,r,b,c)},n.wbg.__wbg_setBindGroup_dd735ae90f8f8bb5=function(e,n,_){f(e).setBindGroup(n>>>0,f(_))},n.wbg.__wbg_setBindGroup_cf061f92a47bfc35=function(e,n,_,t,r,b,c){f(e).setBindGroup(n>>>0,f(_),q(t,r),b,c>>>0)},n.wbg.__wbg_draw_9d9deb4ea591ff53=function(e,n,_,t,r){f(e).draw(n>>>0,_>>>0,t>>>0,r>>>0)},n.wbg.__wbg_drawIndexed_650a64a8756c383a=function(e,n,_,t,r,b){f(e).drawIndexed(n>>>0,_>>>0,t>>>0,r,b>>>0)},n.wbg.__wbg_drawIndexedIndirect_468a8501dbcfbef7=function(e,n,_){f(e).drawIndexedIndirect(f(n),_)},n.wbg.__wbg_drawIndirect_867d1f4498970ed6=function(e,n,_){f(e).drawIndirect(f(n),_)},n.wbg.__wbg_setIndexBuffer_043cf9e6b8d9bab8=function(e,n,_,t){f(e).setIndexBuffer(f(n),a(_),t)},n.wbg.__wbg_setIndexBuffer_06903b407b49be6d=function(e,n,_,t,r){f(e).setIndexBuffer(f(n),a(_),t,r)},n.wbg.__wbg_setPipeline_42b1b5a043c178a4=function(e,n){f(e).setPipeline(f(n))},n.wbg.__wbg_setVertexBuffer_ed7f0780773c2093=function(e,n,_,t){f(e).setVertexBuffer(n>>>0,f(_),t)},n.wbg.__wbg_setVertexBuffer_cfbc801a11b2b2cd=function(e,n,_,t,r){f(e).setVertexBuffer(n>>>0,f(_),t,r)},n.wbg.__wbg_maxTextureDimension1D_ddcb46c74b7a0ecc=function(e){return f(e).maxTextureDimension1D},n.wbg.__wbg_maxTextureDimension2D_706110d241f13182=function(e){return f(e).maxTextureDimension2D},n.wbg.__wbg_maxTextureDimension3D_258d3e5dcbb7ae82=function(e){return f(e).maxTextureDimension3D},n.wbg.__wbg_maxTextureArrayLayers_755cceaa7bf92db3=function(e){return f(e).maxTextureArrayLayers},n.wbg.__wbg_maxBindGroups_77acf673701b2033=function(e){return f(e).maxBindGroups},n.wbg.__wbg_maxBindingsPerBindGroup_ee30517e14ff6b3c=function(e){return f(e).maxBindingsPerBindGroup},n.wbg.__wbg_maxDynamicUniformBuffersPerPipelineLayout_5231b2712f207872=function(e){return f(e).maxDynamicUniformBuffersPerPipelineLayout},n.wbg.__wbg_maxDynamicStorageBuffersPerPipelineLayout_2162be11827e6a9e=function(e){return f(e).maxDynamicStorageBuffersPerPipelineLayout},n.wbg.__wbg_maxSampledTexturesPerShaderStage_12c1ad11ed7f078b=function(e){return f(e).maxSampledTexturesPerShaderStage},n.wbg.__wbg_maxSamplersPerShaderStage_3dd93befa4cc2cfe=function(e){return f(e).maxSamplersPerShaderStage},n.wbg.__wbg_maxStorageBuffersPerShaderStage_212343371d2a6198=function(e){return f(e).maxStorageBuffersPerShaderStage},n.wbg.__wbg_maxStorageTexturesPerShaderStage_ccc8044f9154afa1=function(e){return f(e).maxStorageTexturesPerShaderStage},n.wbg.__wbg_maxUniformBuffersPerShaderStage_f9e3cbc44c488d8d=function(e){return f(e).maxUniformBuffersPerShaderStage},n.wbg.__wbg_maxUniformBufferBindingSize_cf56156fa5f6e50f=function(e){return f(e).maxUniformBufferBindingSize},n.wbg.__wbg_maxStorageBufferBindingSize_f13debb16f988742=function(e){return f(e).maxStorageBufferBindingSize},n.wbg.__wbg_minUniformBufferOffsetAlignment_f21bc6f52f591b23=function(e){return f(e).minUniformBufferOffsetAlignment},n.wbg.__wbg_minStorageBufferOffsetAlignment_9a4902d10ccd3652=function(e){return f(e).minStorageBufferOffsetAlignment},n.wbg.__wbg_maxVertexBuffers_c76a6144b8e6ece0=function(e){return f(e).maxVertexBuffers},n.wbg.__wbg_maxBufferSize_e54038e4bb003bc8=function(e){return f(e).maxBufferSize},n.wbg.__wbg_maxVertexAttributes_84bd4a556f92c239=function(e){return f(e).maxVertexAttributes},n.wbg.__wbg_maxVertexBufferArrayStride_ecc8a29222dea85e=function(e){return f(e).maxVertexBufferArrayStride},n.wbg.__wbg_maxInterStageShaderComponents_863b889702752696=function(e){return f(e).maxInterStageShaderComponents},n.wbg.__wbg_maxComputeWorkgroupStorageSize_82448acb20a9efba=function(e){return f(e).maxComputeWorkgroupStorageSize},n.wbg.__wbg_maxComputeInvocationsPerWorkgroup_b22189caffbcf407=function(e){return f(e).maxComputeInvocationsPerWorkgroup},n.wbg.__wbg_maxComputeWorkgroupSizeX_b7e9b87440bc44c0=function(e){return f(e).maxComputeWorkgroupSizeX},n.wbg.__wbg_maxComputeWorkgroupSizeY_fe7fbb52a6a321d5=function(e){return f(e).maxComputeWorkgroupSizeY},n.wbg.__wbg_maxComputeWorkgroupSizeZ_64d1cfa4663db82f=function(e){return f(e).maxComputeWorkgroupSizeZ},n.wbg.__wbg_maxComputeWorkgroupsPerDimension_efc3e953c71f81b3=function(e){return f(e).maxComputeWorkgroupsPerDimension},n.wbg.__wbg_createView_d94df2cf12f51051=function(e,n){return y(f(e).createView(f(n)))},n.wbg.__wbg_destroy_0e473eb42eb825f1=function(e){f(e).destroy()},n.wbg.__wbg_copyExternalImageToTexture_48505f2ff1cb0cf0=function(e,n,_,t){f(e).copyExternalImageToTexture(f(n),f(_),f(t))},n.wbg.__wbg_submit_f2517011b025285f=function(e,n){f(e).submit(f(n))},n.wbg.__wbg_writeBuffer_a9ad83e7a9ac9d1e=function(e,n,_,t,r,b){f(e).writeBuffer(f(n),_,f(t),r,b)},n.wbg.__wbg_writeTexture_e418dedbd3c77a1c=function(e,n,_,t,r){f(e).writeTexture(f(n),f(_),f(t),f(r))},n.wbg.__wbg_getBindGroupLayout_2ac2d497e38802ef=function(e,n){return y(f(e).getBindGroupLayout(n>>>0))},n.wbg.__wbg_features_0d562755efddf72c=function(e){return y(f(e).features)},n.wbg.__wbg_limits_55da1c99f0e976e9=function(e){return y(f(e).limits)},n.wbg.__wbg_queue_15e94b1ed1ba16f8=function(e){return y(f(e).queue)},n.wbg.__wbg_setonuncapturederror_3ee57f1a17c2830d=function(e,n){f(e).onuncapturederror=f(n)},n.wbg.__wbg_createBindGroup_5123902bc1e36cc4=function(e,n){return y(f(e).createBindGroup(f(n)))},n.wbg.__wbg_createBindGroupLayout_b0c2f3a6f7d18059=function(e,n){return y(f(e).createBindGroupLayout(f(n)))},n.wbg.__wbg_createBuffer_8c862fe4a28b2d51=function(e,n){return y(f(e).createBuffer(f(n)))},n.wbg.__wbg_createCommandEncoder_9012d7db325fa03e=function(e,n){return y(f(e).createCommandEncoder(f(n)))},n.wbg.__wbg_createComputePipeline_5ae4b1f242668dfa=function(e,n){return y(f(e).createComputePipeline(f(n)))},n.wbg.__wbg_createPipelineLayout_37e0e3af31059fc1=function(e,n){return y(f(e).createPipelineLayout(f(n)))},n.wbg.__wbg_createQuerySet_d54619d368d7dd22=function(e,n){return y(f(e).createQuerySet(f(n)))},n.wbg.__wbg_createRenderBundleEncoder_5ae7675de454fbf0=function(e,n){return y(f(e).createRenderBundleEncoder(f(n)))},n.wbg.__wbg_createRenderPipeline_4d68c3e986df2a75=function(e,n){return y(f(e).createRenderPipeline(f(n)))},n.wbg.__wbg_createSampler_de0d16cd11a5cc7b=function(e,n){return y(f(e).createSampler(f(n)))},n.wbg.__wbg_createShaderModule_f7e713da42dbb7ea=function(e,n){return y(f(e).createShaderModule(f(n)))},n.wbg.__wbg_createTexture_5f896538314d2e64=function(e,n){return y(f(e).createTexture(f(n)))},n.wbg.__wbg_destroy_8ce1f83528791ca9=function(e){f(e).destroy()},n.wbg.__wbg_popErrorScope_305d6755b4ec5d8d=function(e){return y(f(e).popErrorScope())},n.wbg.__wbg_pushErrorScope_ce2f5d4046ca31f6=function(e,n){f(e).pushErrorScope(a(n))},n.wbg.__wbg_instanceof_GpuOutOfMemoryError_fc6bfc92523aa4f4=function(e){let n;try{n=f(e)instanceof GPUOutOfMemoryError}catch(e){n=!1}return n},n.wbg.__wbg_features_9f72c868d6af0b8d=function(e){return y(f(e).features)},n.wbg.__wbg_limits_1f1a4bb4c092ca2c=function(e){return y(f(e).limits)},n.wbg.__wbg_requestDevice_9c83f27179a99e65=function(e,n){return y(f(e).requestDevice(f(n)))},n.wbg.__wbg_message_f2a2e76018f5d52f=function(e,n){const _=s(f(n).message,b.__wbindgen_malloc,b.__wbindgen_realloc),t=o;p()[e/4+1]=t,p()[e/4+0]=_},n.wbg.__wbg_getMappedRange_ba391bfb20f2a393=function(e,n,_){return y(f(e).getMappedRange(n,_))},n.wbg.__wbg_configure_3d097f5e85c1b8be=function(e,n){f(e).configure(f(n))},n.wbg.__wbg_getCurrentTexture_708f1004c7e69d9a=function(e){return y(f(e).getCurrentTexture())},n.wbg.__wbg_error_11c623b752f3ff0f=function(e){return y(f(e).error)},n.wbg.__wbg_gpu_60b5eb17eb957854=function(e){return y(f(e).gpu)},n.wbg.__wbg_dispatchWorkgroups_1df593c3d6c79a7c=function(e,n,_,t){f(e).dispatchWorkgroups(n>>>0,_>>>0,t>>>0)},n.wbg.__wbg_dispatchWorkgroupsIndirect_a8acc06f153b6907=function(e,n,_){f(e).dispatchWorkgroupsIndirect(f(n),_)},n.wbg.__wbg_end_df1f1196b983a2c1=function(e){f(e).end()},n.wbg.__wbg_setPipeline_5927afa82a66b006=function(e,n){f(e).setPipeline(f(n))},n.wbg.__wbg_setBindGroup_e6f36794ec41ec5c=function(e,n,_){f(e).setBindGroup(n>>>0,f(_))},n.wbg.__wbg_setBindGroup_4740f45d0dd9a40a=function(e,n,_,t,r,b,c){f(e).setBindGroup(n>>>0,f(_),q(t,r),b,c>>>0)},n.wbg.__wbg_finish_5753cfe75b8ff1af=function(e){return y(f(e).finish())},n.wbg.__wbg_finish_b9839222e037a51e=function(e,n){return y(f(e).finish(f(n)))},n.wbg.__wbg_setBindGroup_f94d316567f1d0fc=function(e,n,_){f(e).setBindGroup(n>>>0,f(_))},n.wbg.__wbg_setBindGroup_48f3fbe512864ad9=function(e,n,_,t,r,b,c){f(e).setBindGroup(n>>>0,f(_),q(t,r),b,c>>>0)},n.wbg.__wbg_draw_96226af23cab0d85=function(e,n,_,t,r){f(e).draw(n>>>0,_>>>0,t>>>0,r>>>0)},n.wbg.__wbg_drawIndexed_1c467644a1bc89ff=function(e,n,_,t,r,b){f(e).drawIndexed(n>>>0,_>>>0,t>>>0,r,b>>>0)},n.wbg.__wbg_drawIndexedIndirect_279217c40eb67f68=function(e,n,_){f(e).drawIndexedIndirect(f(n),_)},n.wbg.__wbg_drawIndirect_a9bee61f493b639e=function(e,n,_){f(e).drawIndirect(f(n),_)},n.wbg.__wbg_setIndexBuffer_204a2b9a6758ab63=function(e,n,_,t){f(e).setIndexBuffer(f(n),a(_),t)},n.wbg.__wbg_setIndexBuffer_67342e26f64e0712=function(e,n,_,t,r){f(e).setIndexBuffer(f(n),a(_),t,r)},n.wbg.__wbg_setPipeline_e38eb1f97f5ecafa=function(e,n){f(e).setPipeline(f(n))},n.wbg.__wbg_setVertexBuffer_49de4dcb44a2ab41=function(e,n,_,t){f(e).setVertexBuffer(n>>>0,f(_),t)},n.wbg.__wbg_setVertexBuffer_b0f91a955af9a83c=function(e,n,_,t,r){f(e).setVertexBuffer(n>>>0,f(_),t,r)},n.wbg.__wbg_has_6dc604737cc778ea=function(e,n,_){return f(e).has(h(n,_))},n.wbg.__wbg_Window_ae070805b1226083=function(e){return y(f(e).Window)},n.wbg.__wbg_WorkerGlobalScope_9af0f1983cb2092e=function(e){return y(f(e).WorkerGlobalScope)},n.wbg.__wbg_requestAdapter_b0d64c10f0bfd226=function(e,n){return y(f(e).requestAdapter(f(n)))},n.wbg.__wbg_getPreferredCanvasFormat_45283b0bce3a7bda=function(e){return y(f(e).getPreferredCanvasFormat())},n.wbg.__wbg_mapAsync_ce27ebba67f67f3f=function(e,n,_,t){return y(f(e).mapAsync(n>>>0,_,t))},n.wbg.__wbg_unmap_f3d18e3fe556feaf=function(e){f(e).unmap()},n.wbg.__wbg_destroy_405c5391dcc4114d=function(e){f(e).destroy()},n.wbg.__wbg_getBindGroupLayout_d0a82bab7bd9ca14=function(e,n){return y(f(e).getBindGroupLayout(n>>>0))},n.wbg.__wbg_copyBufferToBuffer_b600364aa4c31d9a=function(e,n,_,t,r,b){f(e).copyBufferToBuffer(f(n),_,f(t),r,b)},n.wbg.__wbg_copyBufferToTexture_4559e6d203d55ea4=function(e,n,_,t){f(e).copyBufferToTexture(f(n),f(_),f(t))},n.wbg.__wbg_copyTextureToBuffer_16d76ec4aa2ee7d5=function(e,n,_,t){f(e).copyTextureToBuffer(f(n),f(_),f(t))},n.wbg.__wbg_copyTextureToTexture_f00441e7f7ae92ba=function(e,n,_,t){f(e).copyTextureToTexture(f(n),f(_),f(t))},n.wbg.__wbg_beginComputePass_90bd231e6b9ce199=function(e,n){return y(f(e).beginComputePass(f(n)))},n.wbg.__wbg_beginRenderPass_7584717956df77f1=function(e,n){return y(f(e).beginRenderPass(f(n)))},n.wbg.__wbg_label_c9198cdb1825abd5=function(e,n){const _=s(f(n).label,b.__wbindgen_malloc,b.__wbindgen_realloc),t=o;p()[e/4+1]=t,p()[e/4+0]=_},n.wbg.__wbg_finish_d8e0cb06cfd278af=function(e,n){return y(f(e).finish(f(n)))},n.wbg.__wbg_finish_07611ae5e5c28379=function(e){return y(f(e).finish())},n.wbg.__wbg_clearBuffer_ecf35ab0c911f925=function(e,n,_){f(e).clearBuffer(f(n),_)},n.wbg.__wbg_clearBuffer_52403064b3cc4cfb=function(e,n,_,t){f(e).clearBuffer(f(n),_,t)},n.wbg.__wbg_writeTimestamp_c8bbe7180194237d=function(e,n,_){f(e).writeTimestamp(f(n),_>>>0)},n.wbg.__wbg_resolveQuerySet_c9db96541b4a0f9d=function(e,n,_,t,r,b){f(e).resolveQuerySet(f(n),_>>>0,t>>>0,f(r),b>>>0)},n.wbg.__wbg_usage_91c9f7b31b7b99c9=function(e){return f(e).usage},n.wbg.__wbg_size_ac03167f62f8fc6f=function(e){return f(e).size},n.wbg.__wbg_queueMicrotask_3cbae2ec6b6cd3d6=function(e){return y(f(e).queueMicrotask)},n.wbg.__wbg_queueMicrotask_481971b0d87f3dd4=function(e){queueMicrotask(f(e))},n.wbg.__wbg_instanceof_Window_f401953a2cf86220=function(e){let n;try{n=f(e)instanceof Window}catch(e){n=!1}return n},n.wbg.__wbg_document_5100775d18896c16=function(e){const n=f(e).document;return l(n)?0:y(n)},n.wbg.__wbg_location_2951b5ee34f19221=function(e){return y(f(e).location)},n.wbg.__wbg_navigator_6c8fa55c5cc8796e=function(e){return y(f(e).navigator)},n.wbg.__wbg_devicePixelRatio_efc553b59506f64c=function(e){return f(e).devicePixelRatio},n.wbg.__wbg_localStorage_e381d34d0c40c761=function(){return F((function(e){const n=f(e).localStorage;return l(n)?0:y(n)}),arguments)},n.wbg.__wbg_confirm_5c66cecc6cf673d1=function(){return F((function(e,n,_){return f(e).confirm(h(n,_))}),arguments)},n.wbg.__wbg_focus_ca436824e14c8128=function(){return F((function(e){f(e).focus()}),arguments)},n.wbg.__wbg_open_cc82b8aaf0c296c1=function(){return F((function(e,n,_,t,r){const b=f(e).open(h(n,_),h(t,r));return l(b)?0:y(b)}),arguments)},n.wbg.__wbg_cancelAnimationFrame_111532f326e480af=function(){return F((function(e,n){f(e).cancelAnimationFrame(n)}),arguments)},n.wbg.__wbg_requestAnimationFrame_549258cfa66011f0=function(){return F((function(e,n){return f(e).requestAnimationFrame(f(n))}),arguments)},n.wbg.__wbg_fetch_c4b6afebdb1f918e=function(e,n){return y(f(e).fetch(f(n)))},n.wbg.__wbg_instanceof_WebGl2RenderingContext_6b8f92d566ced9e1=function(e){let n;try{n=f(e)instanceof WebGL2RenderingContext}catch(e){n=!1}return n},n.wbg.__wbg_beginQuery_3d6bb95151ccc499=function(e,n,_){f(e).beginQuery(n>>>0,f(_))},n.wbg.__wbg_bindBufferRange_e7b7d4cd65a6f94d=function(e,n,_,t,r,b){f(e).bindBufferRange(n>>>0,_>>>0,f(t),r,b)},n.wbg.__wbg_bindSampler_065f0bdf49888ff1=function(e,n,_){f(e).bindSampler(n>>>0,f(_))},n.wbg.__wbg_bindVertexArray_239574d42dbbd203=function(e,n){f(e).bindVertexArray(f(n))},n.wbg.__wbg_blitFramebuffer_4d77c70dcb183e0c=function(e,n,_,t,r,b,c,u,a,o,i){f(e).blitFramebuffer(n,_,t,r,b,c,u,a,o>>>0,i>>>0)},n.wbg.__wbg_bufferData_194f0914aaada840=function(e,n,_,t){f(e).bufferData(n>>>0,_,t>>>0)},n.wbg.__wbg_bufferData_c787516945ba48c2=function(e,n,_,t){f(e).bufferData(n>>>0,f(_),t>>>0)},n.wbg.__wbg_bufferSubData_7f5ddd4fdc628963=function(e,n,_,t){f(e).bufferSubData(n>>>0,_,f(t))},n.wbg.__wbg_clearBufferiv_519fe97abe38622e=function(e,n,_,t,r){f(e).clearBufferiv(n>>>0,_,z(t,r))},n.wbg.__wbg_clearBufferuiv_1ae6df4bc96ffe37=function(e,n,_,t,r){f(e).clearBufferuiv(n>>>0,_,q(t,r))},n.wbg.__wbg_clientWaitSync_8f9f625ae9a42de6=function(e,n,_,t){return f(e).clientWaitSync(f(n),_>>>0,t>>>0)},n.wbg.__wbg_compressedTexSubImage2D_f77856eab95e8671=function(e,n,_,t,r,b,c,u,a,o){f(e).compressedTexSubImage2D(n>>>0,_,t,r,b,c,u>>>0,a,o)},n.wbg.__wbg_compressedTexSubImage2D_87d89d4b3f413805=function(e,n,_,t,r,b,c,u,a){f(e).compressedTexSubImage2D(n>>>0,_,t,r,b,c,u>>>0,f(a))},n.wbg.__wbg_compressedTexSubImage3D_b69e67d3cd62b756=function(e,n,_,t,r,b,c,u,a,o,i,g){f(e).compressedTexSubImage3D(n>>>0,_,t,r,b,c,u,a,o>>>0,i,g)},n.wbg.__wbg_compressedTexSubImage3D_ff8eceb18a7ea2d6=function(e,n,_,t,r,b,c,u,a,o,i){f(e).compressedTexSubImage3D(n>>>0,_,t,r,b,c,u,a,o>>>0,f(i))},n.wbg.__wbg_copyBufferSubData_db2c040cc06be689=function(e,n,_,t,r,b){f(e).copyBufferSubData(n>>>0,_>>>0,t,r,b)},n.wbg.__wbg_copyTexSubImage3D_0a3f60d0ee6409c7=function(e,n,_,t,r,b,c,u,a,o){f(e).copyTexSubImage3D(n>>>0,_,t,r,b,c,u,a,o)},n.wbg.__wbg_createQuery_576d391ec549ed5e=function(e){const n=f(e).createQuery();return l(n)?0:y(n)},n.wbg.__wbg_createSampler_49de055e495fedf8=function(e){const n=f(e).createSampler();return l(n)?0:y(n)},n.wbg.__wbg_createVertexArray_4f450ed4d4a69acf=function(e){const n=f(e).createVertexArray();return l(n)?0:y(n)},n.wbg.__wbg_deleteQuery_9aaca8e15da5bc9c=function(e,n){f(e).deleteQuery(f(n))},n.wbg.__wbg_deleteSampler_93e35dc696f633c9=function(e,n){f(e).deleteSampler(f(n))},n.wbg.__wbg_deleteSync_80326e1fc23a1016=function(e,n){f(e).deleteSync(f(n))},n.wbg.__wbg_deleteVertexArray_67635c7fe59aa660=function(e,n){f(e).deleteVertexArray(f(n))},n.wbg.__wbg_drawArraysInstanced_3f02ae8708f8c4c7=function(e,n,_,t,r){f(e).drawArraysInstanced(n>>>0,_,t,r)},n.wbg.__wbg_drawBuffers_6d32a0c370b9cb7f=function(e,n){f(e).drawBuffers(f(n))},n.wbg.__wbg_drawElementsInstanced_981861e70f6f9991=function(e,n,_,t,r,b){f(e).drawElementsInstanced(n>>>0,_,t>>>0,r,b)},n.wbg.__wbg_endQuery_f256667aaa2e9fac=function(e,n){f(e).endQuery(n>>>0)},n.wbg.__wbg_fenceSync_f9c8da648fd4e444=function(e,n,_){const t=f(e).fenceSync(n>>>0,_>>>0);return l(t)?0:y(t)},n.wbg.__wbg_framebufferTextureLayer_45cb5a2978de4939=function(e,n,_,t,r,b){f(e).framebufferTextureLayer(n>>>0,_>>>0,f(t),r,b)},n.wbg.__wbg_getBufferSubData_7f31bd9ec3682832=function(e,n,_,t){f(e).getBufferSubData(n>>>0,_,f(t))},n.wbg.__wbg_getIndexedParameter_ad00bfb1210dbb28=function(){return F((function(e,n,_){return y(f(e).getIndexedParameter(n>>>0,_>>>0))}),arguments)},n.wbg.__wbg_getQueryParameter_ea4da47c69182e79=function(e,n,_){return y(f(e).getQueryParameter(f(n),_>>>0))},n.wbg.__wbg_getSyncParameter_295178259afc15d8=function(e,n,_){return y(f(e).getSyncParameter(f(n),_>>>0))},n.wbg.__wbg_getUniformBlockIndex_091bee5be624ff21=function(e,n,_,t){return f(e).getUniformBlockIndex(f(n),h(_,t))},n.wbg.__wbg_invalidateFramebuffer_99c0131e9e958f49=function(){return F((function(e,n,_){f(e).invalidateFramebuffer(n>>>0,f(_))}),arguments)},n.wbg.__wbg_readBuffer_c02ab6ce6d95c99b=function(e,n){f(e).readBuffer(n>>>0)},n.wbg.__wbg_readPixels_40ba392d7aaf6ac0=function(){return F((function(e,n,_,t,r,b,c,u){f(e).readPixels(n,_,t,r,b>>>0,c>>>0,f(u))}),arguments)},n.wbg.__wbg_readPixels_db02ea1a888b611a=function(){return F((function(e,n,_,t,r,b,c,u){f(e).readPixels(n,_,t,r,b>>>0,c>>>0,u)}),arguments)},n.wbg.__wbg_renderbufferStorageMultisample_37c0b1b9e8a4f342=function(e,n,_,t,r,b){f(e).renderbufferStorageMultisample(n>>>0,_,t>>>0,r,b)},n.wbg.__wbg_samplerParameterf_f60306a8facede3e=function(e,n,_,t){f(e).samplerParameterf(f(n),_>>>0,t)},n.wbg.__wbg_samplerParameteri_da5225ffbb653046=function(e,n,_,t){f(e).samplerParameteri(f(n),_>>>0,t)},n.wbg.__wbg_texImage2D_2558a70047650d54=function(){return F((function(e,n,_,t,r,b,c,u,a,o){f(e).texImage2D(n>>>0,_,t,r,b,c,u>>>0,a>>>0,f(o))}),arguments)},n.wbg.__wbg_texImage2D_f807cf3bdc044190=function(){return F((function(e,n,_,t,r,b,c,u,a,o,i){f(e).texImage2D(n>>>0,_,t,r,b,c,u>>>0,a>>>0,0===o?void 0:H(o,i))}),arguments)},n.wbg.__wbg_texImage3D_7987a4b692d91b21=function(){return F((function(e,n,_,t,r,b,c,u,a,o,i){f(e).texImage3D(n>>>0,_,t,r,b,c,u,a>>>0,o>>>0,f(i))}),arguments)},n.wbg.__wbg_texStorage2D_0fff70234489e5a8=function(e,n,_,t,r,b){f(e).texStorage2D(n>>>0,_,t>>>0,r,b)},n.wbg.__wbg_texStorage3D_7d322e9790add281=function(e,n,_,t,r,b,c){f(e).texStorage3D(n>>>0,_,t>>>0,r,b,c)},n.wbg.__wbg_texSubImage2D_b4ac5eac47418cc5=function(){return F((function(e,n,_,t,r,b,c,u,a,o){f(e).texSubImage2D(n>>>0,_,t,r,b,c,u>>>0,a>>>0,f(o))}),arguments)},n.wbg.__wbg_texSubImage2D_b962ba533b866161=function(){return F((function(e,n,_,t,r,b,c,u,a,o){f(e).texSubImage2D(n>>>0,_,t,r,b,c,u>>>0,a>>>0,o)}),arguments)},n.wbg.__wbg_texSubImage2D_0b72a7308c3e78d3=function(){return F((function(e,n,_,t,r,b,c,u,a,o){f(e).texSubImage2D(n>>>0,_,t,r,b,c,u>>>0,a>>>0,f(o))}),arguments)},n.wbg.__wbg_texSubImage2D_8f2db7871647d37a=function(){return F((function(e,n,_,t,r,b,c,u,a,o){f(e).texSubImage2D(n>>>0,_,t,r,b,c,u>>>0,a>>>0,f(o))}),arguments)},n.wbg.__wbg_texSubImage2D_defc51298c31c0e3=function(){return F((function(e,n,_,t,r,b,c,u,a,o){f(e).texSubImage2D(n>>>0,_,t,r,b,c,u>>>0,a>>>0,f(o))}),arguments)},n.wbg.__wbg_texSubImage3D_bd2fd28608206fe5=function(){return F((function(e,n,_,t,r,b,c,u,a,o,i,g){f(e).texSubImage3D(n>>>0,_,t,r,b,c,u,a,o>>>0,i>>>0,g)}),arguments)},n.wbg.__wbg_texSubImage3D_895cc20d45e04909=function(){return F((function(e,n,_,t,r,b,c,u,a,o,i,g){f(e).texSubImage3D(n>>>0,_,t,r,b,c,u,a,o>>>0,i>>>0,f(g))}),arguments)},n.wbg.__wbg_texSubImage3D_f75ab42a48d9b789=function(){return F((function(e,n,_,t,r,b,c,u,a,o,i,g){f(e).texSubImage3D(n>>>0,_,t,r,b,c,u,a,o>>>0,i>>>0,f(g))}),arguments)},n.wbg.__wbg_texSubImage3D_2b48a701e63f042e=function(){return F((function(e,n,_,t,r,b,c,u,a,o,i,g){f(e).texSubImage3D(n>>>0,_,t,r,b,c,u,a,o>>>0,i>>>0,f(g))}),arguments)},n.wbg.__wbg_texSubImage3D_f983428ce1099b7f=function(){return F((function(e,n,_,t,r,b,c,u,a,o,i,g){f(e).texSubImage3D(n>>>0,_,t,r,b,c,u,a,o>>>0,i>>>0,f(g))}),arguments)},n.wbg.__wbg_uniform1ui_71145d62b7bd13f4=function(e,n,_){f(e).uniform1ui(f(n),_>>>0)},n.wbg.__wbg_uniform2fv_4bd352337ccc4530=function(e,n,_,t){f(e).uniform2fv(f(n),V(_,t))},n.wbg.__wbg_uniform2iv_829bd2f635ddf819=function(e,n,_,t){f(e).uniform2iv(f(n),z(_,t))},n.wbg.__wbg_uniform2uiv_6ae4fe2845703965=function(e,n,_,t){f(e).uniform2uiv(f(n),q(_,t))},n.wbg.__wbg_uniform3fv_3d2854c81603e498=function(e,n,_,t){f(e).uniform3fv(f(n),V(_,t))},n.wbg.__wbg_uniform3iv_71333eb685ad9616=function(e,n,_,t){f(e).uniform3iv(f(n),z(_,t))},n.wbg.__wbg_uniform3uiv_998cd5452e009d35=function(e,n,_,t){f(e).uniform3uiv(f(n),q(_,t))},n.wbg.__wbg_uniform4fv_39cdcce4b1acc767=function(e,n,_,t){f(e).uniform4fv(f(n),V(_,t))},n.wbg.__wbg_uniform4iv_f54116c4cfdcd96e=function(e,n,_,t){f(e).uniform4iv(f(n),z(_,t))},n.wbg.__wbg_uniform4uiv_c1b79c253aa0271f=function(e,n,_,t){f(e).uniform4uiv(f(n),q(_,t))},n.wbg.__wbg_uniformBlockBinding_52117c1104e3ac8a=function(e,n,_,t){f(e).uniformBlockBinding(f(n),_>>>0,t>>>0)},n.wbg.__wbg_uniformMatrix2fv_756ddcf41f02aa75=function(e,n,_,t,r){f(e).uniformMatrix2fv(f(n),0!==_,V(t,r))},n.wbg.__wbg_uniformMatrix2x3fv_b11505178375085e=function(e,n,_,t,r){f(e).uniformMatrix2x3fv(f(n),0!==_,V(t,r))},n.wbg.__wbg_uniformMatrix2x4fv_9a96ca1263d07814=function(e,n,_,t,r){f(e).uniformMatrix2x4fv(f(n),0!==_,V(t,r))},n.wbg.__wbg_uniformMatrix3fv_f26b98137276fd3d=function(e,n,_,t,r){f(e).uniformMatrix3fv(f(n),0!==_,V(t,r))},n.wbg.__wbg_uniformMatrix3x2fv_8e447d81dfee8f45=function(e,n,_,t,r){f(e).uniformMatrix3x2fv(f(n),0!==_,V(t,r))},n.wbg.__wbg_uniformMatrix3x4fv_0b4125c5150e9ebc=function(e,n,_,t,r){f(e).uniformMatrix3x4fv(f(n),0!==_,V(t,r))},n.wbg.__wbg_uniformMatrix4fv_5d8e0e047546456b=function(e,n,_,t,r){f(e).uniformMatrix4fv(f(n),0!==_,V(t,r))},n.wbg.__wbg_uniformMatrix4x2fv_15b6f3535fd4ce98=function(e,n,_,t,r){f(e).uniformMatrix4x2fv(f(n),0!==_,V(t,r))},n.wbg.__wbg_uniformMatrix4x3fv_5550b8543a32bbbd=function(e,n,_,t,r){f(e).uniformMatrix4x3fv(f(n),0!==_,V(t,r))},n.wbg.__wbg_vertexAttribDivisor_8479e8b81c913ed6=function(e,n,_){f(e).vertexAttribDivisor(n>>>0,_>>>0)},n.wbg.__wbg_vertexAttribIPointer_69f2f4bd74cf0bcb=function(e,n,_,t,r,b){f(e).vertexAttribIPointer(n>>>0,_,t>>>0,r,b)},n.wbg.__wbg_activeTexture_d42cec3a26e47a5b=function(e,n){f(e).activeTexture(n>>>0)},n.wbg.__wbg_attachShader_2112634b3ffa9e9f=function(e,n,_){f(e).attachShader(f(n),f(_))},n.wbg.__wbg_bindAttribLocation_e05596ff4f5413c3=function(e,n,_,t,r){f(e).bindAttribLocation(f(n),_>>>0,h(t,r))},n.wbg.__wbg_bindBuffer_90d4fb91538001d5=function(e,n,_){f(e).bindBuffer(n>>>0,f(_))},n.wbg.__wbg_bindFramebuffer_4f950b884dc4be83=function(e,n,_){f(e).bindFramebuffer(n>>>0,f(_))},n.wbg.__wbg_bindRenderbuffer_1e0b14f526ed7a9d=function(e,n,_){f(e).bindRenderbuffer(n>>>0,f(_))},n.wbg.__wbg_bindTexture_75a698c47a923814=function(e,n,_){f(e).bindTexture(n>>>0,f(_))},n.wbg.__wbg_blendColor_7d3bf5e5214b44f7=function(e,n,_,t,r){f(e).blendColor(n,_,t,r)},n.wbg.__wbg_blendEquation_6ca8e567e79464a4=function(e,n){f(e).blendEquation(n>>>0)},n.wbg.__wbg_blendEquationSeparate_34aa4cecd02882ab=function(e,n,_){f(e).blendEquationSeparate(n>>>0,_>>>0)},n.wbg.__wbg_blendFunc_cffe61957c92e9ac=function(e,n,_){f(e).blendFunc(n>>>0,_>>>0)},n.wbg.__wbg_blendFuncSeparate_3c342f57887c2900=function(e,n,_,t,r){f(e).blendFuncSeparate(n>>>0,_>>>0,t>>>0,r>>>0)},n.wbg.__wbg_clear_8e2508724944df18=function(e,n){f(e).clear(n>>>0)},n.wbg.__wbg_clearColor_480962bfac4e1cbd=function(e,n,_,t,r){f(e).clearColor(n,_,t,r)},n.wbg.__wbg_clearDepth_f5b4a73c4b8050eb=function(e,n){f(e).clearDepth(n)},n.wbg.__wbg_clearStencil_1e4bb9932be75fce=function(e,n){f(e).clearStencil(n)},n.wbg.__wbg_colorMask_21a93d0180bcbffa=function(e,n,_,t,r){f(e).colorMask(0!==n,0!==_,0!==t,0!==r)},n.wbg.__wbg_compileShader_f40e0c51a7a836fd=function(e,n){f(e).compileShader(f(n))},n.wbg.__wbg_copyTexSubImage2D_65140521b061c61b=function(e,n,_,t,r,b,c,u,a){f(e).copyTexSubImage2D(n>>>0,_,t,r,b,c,u,a)},n.wbg.__wbg_createBuffer_7f57647465d111f0=function(e){const n=f(e).createBuffer();return l(n)?0:y(n)},n.wbg.__wbg_createFramebuffer_8ebfde8c77472024=function(e){const n=f(e).createFramebuffer();return l(n)?0:y(n)},n.wbg.__wbg_createProgram_7759fb2effb5d9b3=function(e){const n=f(e).createProgram();return l(n)?0:y(n)},n.wbg.__wbg_createRenderbuffer_340b1c428d564bfd=function(e){const n=f(e).createRenderbuffer();return l(n)?0:y(n)},n.wbg.__wbg_createShader_b474ef421ec0f80b=function(e,n){const _=f(e).createShader(n>>>0);return l(_)?0:y(_)},n.wbg.__wbg_createTexture_18b4a88c14cb086e=function(e){const n=f(e).createTexture();return l(n)?0:y(n)},n.wbg.__wbg_cullFace_fe427cdf8d0ea4e2=function(e,n){f(e).cullFace(n>>>0)},n.wbg.__wbg_deleteBuffer_fca5d765302c9a4e=function(e,n){f(e).deleteBuffer(f(n))},n.wbg.__wbg_deleteFramebuffer_da681ed1dfa6d543=function(e,n){f(e).deleteFramebuffer(f(n))},n.wbg.__wbg_deleteProgram_a06d69620332cc70=function(e,n){f(e).deleteProgram(f(n))},n.wbg.__wbg_deleteRenderbuffer_5dcdde247a392125=function(e,n){f(e).deleteRenderbuffer(f(n))},n.wbg.__wbg_deleteShader_138a810cc0ca9986=function(e,n){f(e).deleteShader(f(n))},n.wbg.__wbg_deleteTexture_eae7abcfa3015f09=function(e,n){f(e).deleteTexture(f(n))},n.wbg.__wbg_depthFunc_5527d3ee35e25a8d=function(e,n){f(e).depthFunc(n>>>0)},n.wbg.__wbg_depthMask_9120207d491c649a=function(e,n){f(e).depthMask(0!==n)},n.wbg.__wbg_depthRange_d8d5ad00fd133fc0=function(e,n,_){f(e).depthRange(n,_)},n.wbg.__wbg_disable_f0ef6e9a7ac6ddd7=function(e,n){f(e).disable(n>>>0)},n.wbg.__wbg_disableVertexAttribArray_e4f458e34e54fe78=function(e,n){f(e).disableVertexAttribArray(n>>>0)},n.wbg.__wbg_drawArrays_5bf0d92947e472af=function(e,n,_,t){f(e).drawArrays(n>>>0,_,t)},n.wbg.__wbg_enable_8b3019da8846ce76=function(e,n){f(e).enable(n>>>0)},n.wbg.__wbg_enableVertexAttribArray_9d7b7e199f86e09b=function(e,n){f(e).enableVertexAttribArray(n>>>0)},n.wbg.__wbg_framebufferRenderbuffer_0144c6e35e2edb19=function(e,n,_,t,r){f(e).framebufferRenderbuffer(n>>>0,_>>>0,t>>>0,f(r))},n.wbg.__wbg_framebufferTexture2D_a6ad7148f7983ae6=function(e,n,_,t,r,b){f(e).framebufferTexture2D(n>>>0,_>>>0,t>>>0,f(r),b)},n.wbg.__wbg_frontFace_41ab8e7ce3e48cae=function(e,n){f(e).frontFace(n>>>0)},n.wbg.__wbg_getError_d02c89917f45dd5e=function(e){return f(e).getError()},n.wbg.__wbg_getExtension_bef4112494c87f34=function(){return F((function(e,n,_){const t=f(e).getExtension(h(n,_));return l(t)?0:y(t)}),arguments)},n.wbg.__wbg_getParameter_aa9af66884d2b210=function(){return F((function(e,n){return y(f(e).getParameter(n>>>0))}),arguments)},n.wbg.__wbg_getProgramInfoLog_4d189135f8d5a2de=function(e,n,_){const t=f(n).getProgramInfoLog(f(_));var r=l(t)?0:s(t,b.__wbindgen_malloc,b.__wbindgen_realloc),c=o;p()[e/4+1]=c,p()[e/4+0]=r},n.wbg.__wbg_getProgramParameter_7b04ca71a79d9047=function(e,n,_){return y(f(e).getProgramParameter(f(n),_>>>0))},n.wbg.__wbg_getShaderInfoLog_d5de3e4eab06fc46=function(e,n,_){const t=f(n).getShaderInfoLog(f(_));var r=l(t)?0:s(t,b.__wbindgen_malloc,b.__wbindgen_realloc),c=o;p()[e/4+1]=c,p()[e/4+0]=r},n.wbg.__wbg_getShaderParameter_4ddb51279bb1500b=function(e,n,_){return y(f(e).getShaderParameter(f(n),_>>>0))},n.wbg.__wbg_getSupportedExtensions_7a174085f9e1983a=function(e){const n=f(e).getSupportedExtensions();return l(n)?0:y(n)},n.wbg.__wbg_getUniformLocation_51ec30e3755e574d=function(e,n,_,t){const r=f(e).getUniformLocation(f(n),h(_,t));return l(r)?0:y(r)},n.wbg.__wbg_linkProgram_eabc664217816e72=function(e,n){f(e).linkProgram(f(n))},n.wbg.__wbg_pixelStorei_162a23ba7872b886=function(e,n,_){f(e).pixelStorei(n>>>0,_)},n.wbg.__wbg_polygonOffset_9f20aa27db3ea0a2=function(e,n,_){f(e).polygonOffset(n,_)},n.wbg.__wbg_renderbufferStorage_ff5740fb95ecf231=function(e,n,_,t,r){f(e).renderbufferStorage(n>>>0,_>>>0,t,r)},n.wbg.__wbg_scissor_726eea865bbd6809=function(e,n,_,t,r){f(e).scissor(n,_,t,r)},n.wbg.__wbg_shaderSource_7943d06f24862a3b=function(e,n,_,t){f(e).shaderSource(f(n),h(_,t))},n.wbg.__wbg_stencilFuncSeparate_c16750a621e43580=function(e,n,_,t,r){f(e).stencilFuncSeparate(n>>>0,_>>>0,t,r>>>0)},n.wbg.__wbg_stencilMask_9abfc669d9c2a893=function(e,n){f(e).stencilMask(n>>>0)},n.wbg.__wbg_stencilMaskSeparate_a1f8f805de62aac5=function(e,n,_){f(e).stencilMaskSeparate(n>>>0,_>>>0)},n.wbg.__wbg_stencilOpSeparate_2f2cc25254360270=function(e,n,_,t,r){f(e).stencilOpSeparate(n>>>0,_>>>0,t>>>0,r>>>0)},n.wbg.__wbg_texParameteri_8f70dffce11d7da1=function(e,n,_,t){f(e).texParameteri(n>>>0,_>>>0,t)},n.wbg.__wbg_uniform1f_9b9e5339e7560722=function(e,n,_){f(e).uniform1f(f(n),_)},n.wbg.__wbg_uniform1i_bdcd75be097285e6=function(e,n,_){f(e).uniform1i(f(n),_)},n.wbg.__wbg_uniform4f_b143081575a3bb56=function(e,n,_,t,r,b){f(e).uniform4f(f(n),_,t,r,b)},n.wbg.__wbg_useProgram_757fab437af29c20=function(e,n){f(e).useProgram(f(n))},n.wbg.__wbg_vertexAttribPointer_4416f0325c02aa13=function(e,n,_,t,r,b,c){f(e).vertexAttribPointer(n>>>0,_,t>>>0,0!==r,b,c)},n.wbg.__wbg_viewport_7414e7e2a83afc72=function(e,n,_,t,r){f(e).viewport(n,_,t,r)},n.wbg.__wbg_body_edb1908d3ceff3a1=function(e){const n=f(e).body;return l(n)?0:y(n)},n.wbg.__wbg_createElement_8bae7856a4bb7411=function(){return F((function(e,n,_){return y(f(e).createElement(h(n,_)))}),arguments)},n.wbg.__wbg_createElementNS_556a62fb298be5a2=function(){return F((function(e,n,_,t,r){return y(f(e).createElementNS(0===n?void 0:h(n,_),h(t,r)))}),arguments)},n.wbg.__wbg_querySelector_a5f74efc5fa193dd=function(){return F((function(e,n,_){const t=f(e).querySelector(h(n,_));return l(t)?0:y(t)}),arguments)},n.wbg.__wbg_querySelectorAll_4e0fcdb64cda2cd5=function(){return F((function(e,n,_){return y(f(e).querySelectorAll(h(n,_)))}),arguments)},n.wbg.__wbg_setid_37bacc3f09f555aa=function(e,n,_){f(e).id=h(n,_)},n.wbg.__wbg_clientWidth_7ea3915573b64350=function(e){return f(e).clientWidth},n.wbg.__wbg_clientHeight_d24efa25aa66e844=function(e){return f(e).clientHeight},n.wbg.__wbg_setinnerHTML_26d69b59e1af99c7=function(e,n,_){f(e).innerHTML=h(n,_)},n.wbg.__wbg_querySelector_4007461b1978a9eb=function(){return F((function(e,n,_){const t=f(e).querySelector(h(n,_));return l(t)?0:y(t)}),arguments)},n.wbg.__wbg_releasePointerCapture_188077a2b7bc54b4=function(){return F((function(e,n){f(e).releasePointerCapture(n)}),arguments)},n.wbg.__wbg_setAttribute_3c9f6c303b696daa=function(){return F((function(e,n,_,t,r){f(e).setAttribute(h(n,_),h(t,r))}),arguments)},n.wbg.__wbg_setAttributeNS_b4f4460edccac457=function(){return F((function(e,n,_,t,r,b,c){f(e).setAttributeNS(0===n?void 0:h(n,_),h(t,r),h(b,c))}),arguments)},n.wbg.__wbg_setPointerCapture_0fdaad7a916c8486=function(){return F((function(e,n){f(e).setPointerCapture(n)}),arguments)},n.wbg.__wbg_remove_49b0a5925a04b955=function(e){f(e).remove()},n.wbg.__wbg_instanceof_HtmlElement_3bcc4ff70cfdcba5=function(e){let n;try{n=f(e)instanceof HTMLElement}catch(e){n=!1}return n},n.wbg.__wbg_setinnerText_087b7e3f90d97466=function(e,n,_){f(e).innerText=h(n,_)},n.wbg.__wbg_style_c3fc3dd146182a2d=function(e){return y(f(e).style)},n.wbg.__wbg_setonclick_4fd9bd8531d33a17=function(e,n){f(e).onclick=f(n)},n.wbg.__wbg_click_897b305b2e10b9cf=function(e){f(e).click()},n.wbg.__wbg_addEventListener_53b787075bd5e003=function(){return F((function(e,n,_,t){f(e).addEventListener(h(n,_),f(t))}),arguments)},n.wbg.__wbg_addEventListener_4283b15b4f039eb5=function(){return F((function(e,n,_,t,r){f(e).addEventListener(h(n,_),f(t),f(r))}),arguments)},n.wbg.__wbg_addEventListener_7c498ab22c1c10b5=function(){return F((function(e,n,_,t,r){f(e).addEventListener(h(n,_),f(t),0!==r)}),arguments)},n.wbg.__wbg_dispatchEvent_63c0c01600a98fd2=function(){return F((function(e,n){return f(e).dispatchEvent(f(n))}),arguments)},n.wbg.__wbg_removeEventListener_92cb9b3943463338=function(){return F((function(e,n,_,t){f(e).removeEventListener(h(n,_),f(t))}),arguments)},n.wbg.__wbg_removeEventListener_5d31483804421bfa=function(){return F((function(e,n,_,t,r){f(e).removeEventListener(h(n,_),f(t),0!==r)}),arguments)},n.wbg.__wbg_width_6aa39fc77f088914=function(e){return f(e).width},n.wbg.__wbg_setwidth_83d936c4b04dcbec=function(e,n){f(e).width=n>>>0},n.wbg.__wbg_height_05a87854adf24d83=function(e){return f(e).height},n.wbg.__wbg_setheight_6025ba0d58e6cc8c=function(e,n){f(e).height=n>>>0},n.wbg.__wbg_getContext_c102f659d540d068=function(){return F((function(e,n,_){const t=f(e).getContext(h(n,_));return l(t)?0:y(t)}),arguments)},n.wbg.__wbg_getContext_c9fc178d1fa6f8fe=function(){return F((function(e,n,_,t){const r=f(e).getContext(h(n,_),f(t));return l(r)?0:y(r)}),arguments)},n.wbg.__wbg_framebufferTextureMultiviewOVR_a4eb1a11052508f4=function(e,n,_,t,r,b,c){f(e).framebufferTextureMultiviewOVR(n>>>0,_>>>0,f(t),r,b,c)},n.wbg.__wbg_instanceof_WebGlRenderingContext_d48361eb1e636d9a=function(e){let n;try{n=f(e)instanceof WebGLRenderingContext}catch(e){n=!1}return n},n.wbg.__wbg_drawingBufferWidth_bf7074fcb9fa2661=function(e){return f(e).drawingBufferWidth},n.wbg.__wbg_drawingBufferHeight_b3c922278dc48514=function(e){return f(e).drawingBufferHeight},n.wbg.__wbg_bufferData_bb9321e8fa042bac=function(e,n,_,t){f(e).bufferData(n>>>0,_,t>>>0)},n.wbg.__wbg_bufferData_5d1e6b8eaa7d23c8=function(e,n,_,t){f(e).bufferData(n>>>0,f(_),t>>>0)},n.wbg.__wbg_bufferData_d37ea06bddbb0e15=function(e,n,_,t,r){f(e).bufferData(n>>>0,H(_,t),r>>>0)},n.wbg.__wbg_bufferSubData_a6cea5e056662bd7=function(e,n,_,t){f(e).bufferSubData(n>>>0,_,f(t))},n.wbg.__wbg_compressedTexSubImage2D_db8b170a99900aff=function(e,n,_,t,r,b,c,u,a){f(e).compressedTexSubImage2D(n>>>0,_,t,r,b,c,u>>>0,f(a))},n.wbg.__wbg_readPixels_551d0505625c865b=function(){return F((function(e,n,_,t,r,b,c,u){f(e).readPixels(n,_,t,r,b>>>0,c>>>0,f(u))}),arguments)},n.wbg.__wbg_texImage2D_a14a3c7863e25c89=function(){return F((function(e,n,_,t,r,b,c,u,a,o){f(e).texImage2D(n>>>0,_,t,r,b,c,u>>>0,a>>>0,f(o))}),arguments)},n.wbg.__wbg_texImage2D_e7b9786b49257799=function(){return F((function(e,n,_,t,r,b,c,u,a,o,i){f(e).texImage2D(n>>>0,_,t,r,b,c,u>>>0,a>>>0,0===o?void 0:H(o,i))}),arguments)},n.wbg.__wbg_texSubImage2D_55a407e48f3a5cb4=function(){return F((function(e,n,_,t,r,b,c,u,a,o){f(e).texSubImage2D(n>>>0,_,t,r,b,c,u>>>0,a>>>0,f(o))}),arguments)},n.wbg.__wbg_uniform1fv_c8526e876e1ab4cb=function(e,n,_,t){f(e).uniform1fv(f(n),V(_,t))},n.wbg.__wbg_uniform2fv_dcb8b73e2637092a=function(e,n,_,t){f(e).uniform2fv(f(n),V(_,t))},n.wbg.__wbg_uniform2iv_fc73855d9dec793a=function(e,n,_,t){f(e).uniform2iv(f(n),z(_,t))},n.wbg.__wbg_uniform3fv_3e32c897d3ed1eaa=function(e,n,_,t){f(e).uniform3fv(f(n),V(_,t))},n.wbg.__w