ratchet-phi / _next /static /chunks /784-34039ae36415b4c2.js
FL33TW00D
chore: bump
b4ac70e unverified
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[784],{8591:function(e,n,t){e.exports=t.p+"static/media/ratchet-web_bg.aa27ad6c.wasm"},6115:function(e,n,t){let r;t.d(n,{Hn:function(){return D},qX:function(){return P}}),e=t.hmd(e);let o=Array(128).fill(void 0);o.push(void 0,null,!0,!1);let _=o.length;function i(e){let n=o[e];return e<132||(o[e]=_,_=e),n}let c="undefined"!=typeof TextDecoder?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};"undefined"!=typeof TextDecoder&&c.decode();let u=null;function a(){return(null===u||0===u.byteLength)&&(u=new Uint8Array(r.memory.buffer)),u}function f(e,n){return e>>>=0,c.decode(a().subarray(e,e+n))}function b(e){_===o.length&&o.push(o.length+1);let n=_;return _=o[n],o[n]=e,n}let g=0,d="undefined"!=typeof TextEncoder?new TextEncoder("utf-8"):{encode:()=>{throw Error("TextEncoder not available")}},w="function"==typeof d.encodeInto?function(e,n){return d.encodeInto(e,n)}:function(e,n){let t=d.encode(e);return n.set(t),{read:e.length,written:t.length}};function l(e,n,t){if(void 0===t){let t=d.encode(e),r=n(t.length,1)>>>0;return a().subarray(r,r+t.length).set(t),g=t.length,r}let r=e.length,o=n(r,1)>>>0,_=a(),i=0;for(;i<r;i++){let n=e.charCodeAt(i);if(n>127)break;_[o+i]=n}if(i!==r){0!==i&&(e=e.slice(i)),o=t(o,r,r=i+3*e.length,1)>>>0;let n=w(e,a().subarray(o+i,o+r));i+=n.written,o=t(o,r,i,1)>>>0}return g=i,o}function s(e){return null==e}let m=null;function p(){return(null===m||0===m.byteLength)&&(m=new Int32Array(r.memory.buffer)),m}let y=null,v=null,h="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>{r.__wbindgen_export_2.get(e.dtor)(e.a,e.b)});function x(e,n,t,o){let _={a:e,b:n,cnt:1,dtor:t},i=function(){for(var e=arguments.length,n=Array(e),t=0;t<e;t++)n[t]=arguments[t];_.cnt++;let i=_.a;_.a=0;try{return o(i,_.b,...n)}finally{0==--_.cnt?(r.__wbindgen_export_2.get(_.dtor)(i,_.b),h.unregister(_)):_.a=i}};return i.original=_,h.register(i,_,_),i}function S(e,n,t){try{let _=r.__wbindgen_add_to_stack_pointer(-16);r.wasm_bindgen__convert__closures__invoke1_mut__ha4e31a507c1ce3c0(_,e,n,b(t));var o=p()[_/4+0];if(p()[_/4+1])throw i(o)}finally{r.__wbindgen_add_to_stack_pointer(16)}}function B(e,n,t){r.wasm_bindgen__convert__closures__invoke1_mut__h54113721cf7cbdd8(e,n,b(t))}function T(e,n,t){r.wasm_bindgen__convert__closures__invoke1_mut__hc7c3c75005f9e3a4(e,n,b(t))}function A(e,n,t,o){let _={a:e,b:n,cnt:1,dtor:t},i=function(){for(var e=arguments.length,n=Array(e),t=0;t<e;t++)n[t]=arguments[t];_.cnt++;try{return o(_.a,_.b,...n)}finally{0==--_.cnt&&(r.__wbindgen_export_2.get(_.dtor)(_.a,_.b),_.a=0,h.unregister(_))}};return i.original=_,h.register(i,_,_),i}function E(e,n){r._dyn_core__ops__function__Fn_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb8f96a6cfe3a0a0b(e,n)}function I(e,n,t){r.wasm_bindgen__convert__closures__invoke1__hf99dde9fc29c5f6d(e,n,b(t))}let C=null;function R(e,n){try{return e.apply(this,n)}catch(e){r.__wbindgen_exn_store(b(e))}}function k(e,n){return e>>>=0,((null===C||0===C.byteLength)&&(C=new Uint32Array(r.memory.buffer)),C).subarray(e/4,e/4+n)}Object.freeze({Transcribe:0,0:"Transcribe",Translate:1,1:"Translate"});let P=Object.freeze({Q8_0:0,0:"Q8_0",F32:1,1:"F32"});Object.freeze({Model:0,0:"Model",Dataset:1,1:"Dataset",Space:2,2:"Space"}),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry(e=>r.__wbg_api_free(e>>>0)),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry(e=>r.__wbg_apibuilder_free(e>>>0)),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry(e=>r.__wbg_decodingoptions_free(e>>>0)),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry(e=>r.__wbg_decodingoptionsbuilder_free(e>>>0));let O="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_model_free(e>>>0));class D{static __wrap(e){e>>>=0;let n=Object.create(D.prototype);return n.__wbg_ptr=e,O.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,O.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_model_free(e)}static load(e,n,t){return i(r.model_load(b(e),n,b(t)))}run(e){return i(r.model_run(this.__wbg_ptr,b(e)))}}async function G(e,n){if("function"==typeof Response&&e instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(e,n)}catch(n){if("application/wasm"!=e.headers.get("Content-Type"))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",n);else throw n}let t=await e.arrayBuffer();return await WebAssembly.instantiate(t,n)}{let t=await WebAssembly.instantiate(e,n);return t instanceof WebAssembly.Instance?{instance:t,module:e}:t}}async function L(n){if(void 0!==r)return r;void 0===n&&(n=new t.U(t(8591)));let _=function(){let n={};return n.wbg={},n.wbg.__wbindgen_object_drop_ref=function(e){i(e)},n.wbg.__wbindgen_string_new=function(e,n){return b(f(e,n))},n.wbg.__wbindgen_boolean_get=function(e){let n=o[e];return"boolean"==typeof n?n?1:0:2},n.wbg.__wbindgen_number_new=function(e){return b(e)},n.wbg.__wbindgen_is_string=function(e){return"string"==typeof o[e]},n.wbg.__wbindgen_error_new=function(e,n){return b(Error(f(e,n)))},n.wbg.__wbindgen_string_get=function(e,n){let t=o[n],_="string"==typeof t?t:void 0;var i=s(_)?0:l(_,r.__wbindgen_malloc,r.__wbindgen_realloc),c=g;p()[e/4+1]=c,p()[e/4+0]=i},n.wbg.__wbindgen_number_get=function(e,n){let t=o[n],_="number"==typeof t?t:void 0;((null===y||0===y.byteLength)&&(y=new Float64Array(r.memory.buffer)),y)[e/8+1]=s(_)?0:_,p()[e/4+0]=!s(_)},n.wbg.__wbindgen_is_bigint=function(e){return"bigint"==typeof o[e]},n.wbg.__wbindgen_bigint_from_i64=function(e){return b(e)},n.wbg.__wbindgen_jsval_eq=function(e,n){return o[e]===o[n]},n.wbg.__wbindgen_cb_drop=function(e){let n=i(e).original;return 1==n.cnt--&&(n.a=0,!0)},n.wbg.__wbindgen_is_object=function(e){let n=o[e];return"object"==typeof n&&null!==n},n.wbg.__wbindgen_is_undefined=function(e){return void 0===o[e]},n.wbg.__wbindgen_in=function(e,n){return o[e]in o[n]},n.wbg.__wbindgen_is_function=function(e){return"function"==typeof o[e]},n.wbg.__wbindgen_object_clone_ref=function(e){return b(o[e])},n.wbg.__wbg_model_new=function(e){return b(D.__wrap(e))},n.wbg.__wbindgen_bigint_from_u64=function(e){return b(BigInt.asUintN(64,e))},n.wbg.__wbindgen_is_null=function(e){return null===o[e]},n.wbg.__wbindgen_as_number=function(e){return+o[e]},n.wbg.__wbindgen_jsval_loose_eq=function(e,n){return o[e]==o[n]},n.wbg.__wbg_set_20cbc34131e76824=function(e,n,t){o[e][i(n)]=i(t)},n.wbg.__wbg_String_b9412f8799faab3e=function(e,n){let t=l(String(o[n]),r.__wbindgen_malloc,r.__wbindgen_realloc),_=g;p()[e/4+1]=_,p()[e/4+0]=t},n.wbg.__wbg_getwithrefkey_edc2c8960f0f1191=function(e,n){return b(o[e][o[n]])},n.wbg.__wbg_set_f975102236d3c502=function(e,n,t){o[e][i(n)]=i(t)},n.wbg.__wbg_new_abda76e883ba8a5f=function(){return b(Error())},n.wbg.__wbg_stack_658279fe44541cf6=function(e,n){let t=l(o[n].stack,r.__wbindgen_malloc,r.__wbindgen_realloc),_=g;p()[e/4+1]=_,p()[e/4+0]=t},n.wbg.__wbg_error_f851667af71bcfc6=function(e,n){let t,o;try{t=e,o=n,console.error(f(e,n))}finally{r.__wbindgen_free(t,o,1)}},n.wbg.__wbg_performance_a1b8bde2ee512264=function(e){return b(o[e].performance)},n.wbg.__wbg_now_abd80e969af37148=function(e){return o[e].now()},n.wbg.__wbg_getRandomValues_260cc23a41afad9a=function(){return R(function(e,n){o[e].getRandomValues(o[n])},arguments)},n.wbg.__wbg_randomFillSync_290977693942bf03=function(){return R(function(e,n){o[e].randomFillSync(i(n))},arguments)},n.wbg.__wbg_crypto_566d7465cdbb6b7a=function(e){return b(o[e].crypto)},n.wbg.__wbg_process_dc09a8c7d59982f6=function(e){return b(o[e].process)},n.wbg.__wbg_versions_d98c6400c6ca2bd8=function(e){return b(o[e].versions)},n.wbg.__wbg_node_caaf83d002149bd5=function(e){return b(o[e].node)},n.wbg.__wbg_require_94a9da52636aacbf=function(){return R(function(){return b(e.require)},arguments)},n.wbg.__wbg_msCrypto_0b84745e9245cdf6=function(e){return b(o[e].msCrypto)},n.wbg.__wbg_error_57d6c3ab7cc664a4=function(e){return b(o[e].error)},n.wbg.__wbg_instanceof_GpuDeviceLostInfo_0e70d1a0cfb82565=function(e){let n;try{n=o[e]instanceof GPUDeviceLostInfo}catch(e){n=!1}return n},n.wbg.__wbg_reason_596372ea0d8b6154=function(e){return b(o[e].reason)},n.wbg.__wbg_message_83c28f06fc155312=function(e,n){let t=l(o[n].message,r.__wbindgen_malloc,r.__wbindgen_realloc),_=g;p()[e/4+1]=_,p()[e/4+0]=t},n.wbg.__wbg_gpu_637ebb4a318a815f=function(e){return b(o[e].gpu)},n.wbg.__wbg_instanceof_GpuValidationError_810143a72fa54cc9=function(e){let n;try{n=o[e]instanceof GPUValidationError}catch(e){n=!1}return n},n.wbg.__wbg_message_dc5f63756746fa21=function(e,n){let t=l(o[n].message,r.__wbindgen_malloc,r.__wbindgen_realloc),_=g;p()[e/4+1]=_,p()[e/4+0]=t},n.wbg.__wbg_instanceof_GpuOutOfMemoryError_6c7f324bb78cf6ec=function(e){let n;try{n=o[e]instanceof GPUOutOfMemoryError}catch(e){n=!1}return n},n.wbg.__wbg_has_008b08c39bba4437=function(e,n,t){return o[e].has(f(n,t))},n.wbg.__wbg_maxTextureDimension1D_9c334fdf6dfd544c=function(e){return o[e].maxTextureDimension1D},n.wbg.__wbg_maxTextureDimension2D_fbbde599f79dcd43=function(e){return o[e].maxTextureDimension2D},n.wbg.__wbg_maxTextureDimension3D_dfbef6596f9c05a9=function(e){return o[e].maxTextureDimension3D},n.wbg.__wbg_maxTextureArrayLayers_15be24cd453440ec=function(e){return o[e].maxTextureArrayLayers},n.wbg.__wbg_maxBindGroups_92a90bd4185f5481=function(e){return o[e].maxBindGroups},n.wbg.__wbg_maxBindingsPerBindGroup_b980d76dd4c9b848=function(e){return o[e].maxBindingsPerBindGroup},n.wbg.__wbg_maxDynamicUniformBuffersPerPipelineLayout_acb80dbc6fd9967a=function(e){return o[e].maxDynamicUniformBuffersPerPipelineLayout},n.wbg.__wbg_maxDynamicStorageBuffersPerPipelineLayout_a6a49e1648ff252b=function(e){return o[e].maxDynamicStorageBuffersPerPipelineLayout},n.wbg.__wbg_maxSampledTexturesPerShaderStage_05b0cc69fc222741=function(e){return o[e].maxSampledTexturesPerShaderStage},n.wbg.__wbg_maxSamplersPerShaderStage_ea57f96a1a5a129d=function(e){return o[e].maxSamplersPerShaderStage},n.wbg.__wbg_maxStorageBuffersPerShaderStage_ca0c480c2d5e3b24=function(e){return o[e].maxStorageBuffersPerShaderStage},n.wbg.__wbg_maxStorageTexturesPerShaderStage_a480e1eb32139565=function(e){return o[e].maxStorageTexturesPerShaderStage},n.wbg.__wbg_maxUniformBuffersPerShaderStage_384462775693e66f=function(e){return o[e].maxUniformBuffersPerShaderStage},n.wbg.__wbg_maxUniformBufferBindingSize_4ab7aa97239acb81=function(e){return o[e].maxUniformBufferBindingSize},n.wbg.__wbg_maxStorageBufferBindingSize_e30d1d44161f8f9d=function(e){return o[e].maxStorageBufferBindingSize},n.wbg.__wbg_maxVertexBuffers_6b20abf43db8f36c=function(e){return o[e].maxVertexBuffers},n.wbg.__wbg_maxBufferSize_39af530942677f77=function(e){return o[e].maxBufferSize},n.wbg.__wbg_maxVertexAttributes_72a430d340faa981=function(e){return o[e].maxVertexAttributes},n.wbg.__wbg_maxVertexBufferArrayStride_0de74dfc20292044=function(e){return o[e].maxVertexBufferArrayStride},n.wbg.__wbg_minUniformBufferOffsetAlignment_e93d45acf2ef5d63=function(e){return o[e].minUniformBufferOffsetAlignment},n.wbg.__wbg_minStorageBufferOffsetAlignment_eb9629ef3e2dbef1=function(e){return o[e].minStorageBufferOffsetAlignment},n.wbg.__wbg_maxInterStageShaderComponents_0ae69f52037abda6=function(e){return o[e].maxInterStageShaderComponents},n.wbg.__wbg_maxColorAttachments_31204c1e29979bdf=function(e){return o[e].maxColorAttachments},n.wbg.__wbg_maxColorAttachmentBytesPerSample_aa174250fe7fe24a=function(e){return o[e].maxColorAttachmentBytesPerSample},n.wbg.__wbg_maxComputeWorkgroupStorageSize_67379db914442ac4=function(e){return o[e].maxComputeWorkgroupStorageSize},n.wbg.__wbg_maxComputeInvocationsPerWorkgroup_afd42f2a68b5a5bb=function(e){return o[e].maxComputeInvocationsPerWorkgroup},n.wbg.__wbg_maxComputeWorkgroupSizeX_8f7d39166ed839fa=function(e){return o[e].maxComputeWorkgroupSizeX},n.wbg.__wbg_maxComputeWorkgroupSizeY_1032d9f1d0756947=function(e){return o[e].maxComputeWorkgroupSizeY},n.wbg.__wbg_maxComputeWorkgroupSizeZ_9dd79fb8395caee7=function(e){return o[e].maxComputeWorkgroupSizeZ},n.wbg.__wbg_maxComputeWorkgroupsPerDimension_ea45bed25666045f=function(e){return o[e].maxComputeWorkgroupsPerDimension},n.wbg.__wbg_instanceof_GpuAdapter_4ef715661989ec5f=function(e){let n;try{n=o[e]instanceof GPUAdapter}catch(e){n=!1}return n},n.wbg.__wbg_queue_a81a3accf7985493=function(e){return b(o[e].queue)},n.wbg.__wbg_instanceof_GpuCanvasContext_49aff6e71a577ca8=function(e){let n;try{n=o[e]instanceof GPUCanvasContext}catch(e){n=!1}return n},n.wbg.__wbg_Window_c57eeb318aede548=function(e){return b(o[e].Window)},n.wbg.__wbg_WorkerGlobalScope_c217f74ea14f96ef=function(e){return b(o[e].WorkerGlobalScope)},n.wbg.__wbg_requestAdapter_83566b2b75a979fe=function(e,n){return b(o[e].requestAdapter(o[n]))},n.wbg.__wbg_requestDevice_54ad28aad4c2485d=function(e,n){return b(o[e].requestDevice(o[n]))},n.wbg.__wbg_features_0d652946b430d280=function(e){return b(o[e].features)},n.wbg.__wbg_limits_46b036fb3e7d97ce=function(e){return b(o[e].limits)},n.wbg.__wbg_getPreferredCanvasFormat_97680f173a3ec7d9=function(e){return b(o[e].getPreferredCanvasFormat())},n.wbg.__wbg_configure_e9b57f53a5e90ceb=function(e,n){o[e].configure(o[n])},n.wbg.__wbg_getCurrentTexture_ca7aca992bcbc91a=function(e){return b(o[e].getCurrentTexture())},n.wbg.__wbg_features_9d128ae848ff640c=function(e){return b(o[e].features)},n.wbg.__wbg_limits_c1a0d81c6dcd9f25=function(e){return b(o[e].limits)},n.wbg.__wbg_createShaderModule_6e60c33e30139f42=function(e,n){return b(o[e].createShaderModule(o[n]))},n.wbg.__wbg_createBindGroupLayout_4684e26bb3fbd7c7=function(e,n){return b(o[e].createBindGroupLayout(o[n]))},n.wbg.__wbg_createBindGroup_242c3e450116a6e6=function(e,n){return b(o[e].createBindGroup(o[n]))},n.wbg.__wbg_createPipelineLayout_f0c3bd2b0618423b=function(e,n){return b(o[e].createPipelineLayout(o[n]))},n.wbg.__wbg_createRenderPipeline_f1c8c845d4fb7c4f=function(e,n){return b(o[e].createRenderPipeline(o[n]))},n.wbg.__wbg_createComputePipeline_f892dfa170161d71=function(e,n){return b(o[e].createComputePipeline(o[n]))},n.wbg.__wbg_createBuffer_cba4e3b488b0b151=function(e,n){return b(o[e].createBuffer(o[n]))},n.wbg.__wbg_createTexture_3268d758edd2443f=function(e,n){return b(o[e].createTexture(o[n]))},n.wbg.__wbg_createSampler_6bd031fe21c5baa3=function(e,n){return b(o[e].createSampler(o[n]))},n.wbg.__wbg_createQuerySet_409fe5789e547982=function(e,n){return b(o[e].createQuerySet(o[n]))},n.wbg.__wbg_createCommandEncoder_738bb1e31052fa09=function(e,n){return b(o[e].createCommandEncoder(o[n]))},n.wbg.__wbg_createRenderBundleEncoder_f3fbca1e2533bc18=function(e,n){return b(o[e].createRenderBundleEncoder(o[n]))},n.wbg.__wbg_destroy_7a907fc8e85d55bd=function(e){o[e].destroy()},n.wbg.__wbg_lost_8b38f6b11ee6fc7a=function(e){return b(o[e].lost)},n.wbg.__wbg_setonuncapturederror_0be5de64e7007c74=function(e,n){o[e].onuncapturederror=o[n]},n.wbg.__wbg_pushErrorScope_9d2efa96f1284dc5=function(e,n){o[e].pushErrorScope(i(n))},n.wbg.__wbg_popErrorScope_ad424d89092f73bc=function(e){return b(o[e].popErrorScope())},n.wbg.__wbg_mapAsync_a4db4d81e3b0e24b=function(e,n,t,r){return b(o[e].mapAsync(n>>>0,t,r))},n.wbg.__wbg_getMappedRange_7f6439ca92c29adf=function(e,n,t){return b(o[e].getMappedRange(n,t))},n.wbg.__wbg_unmap_611bf1cbd5f97c38=function(e){o[e].unmap()},n.wbg.__wbg_createView_b7dd472e0c5be5b1=function(e,n){return b(o[e].createView(o[n]))},n.wbg.__wbg_destroy_8d61225b18a45189=function(e){o[e].destroy()},n.wbg.__wbg_destroy_fe38f4df8ac7f974=function(e){o[e].destroy()},n.wbg.__wbg_getBindGroupLayout_842350d31781afdc=function(e,n){return b(o[e].getBindGroupLayout(n>>>0))},n.wbg.__wbg_getBindGroupLayout_9f115a1647bfeade=function(e,n){return b(o[e].getBindGroupLayout(n>>>0))},n.wbg.__wbg_copyBufferToBuffer_ebaf981920d421ff=function(e,n,t,r,_,i){o[e].copyBufferToBuffer(o[n],t,o[r],_,i)},n.wbg.__wbg_copyBufferToTexture_5586daea57d79a1b=function(e,n,t,r){o[e].copyBufferToTexture(o[n],o[t],o[r])},n.wbg.__wbg_copyTextureToBuffer_e033973f9cb8a789=function(e,n,t,r){o[e].copyTextureToBuffer(o[n],o[t],o[r])},n.wbg.__wbg_copyTextureToTexture_d330e7079cb1e5df=function(e,n,t,r){o[e].copyTextureToTexture(o[n],o[t],o[r])},n.wbg.__wbg_beginComputePass_cde9db452d8454d3=function(e,n){return b(o[e].beginComputePass(o[n]))},n.wbg.__wbg_end_6b84044f8e94cab1=function(e){o[e].end()},n.wbg.__wbg_beginRenderPass_3c26df111c9aa06a=function(e,n){return b(o[e].beginRenderPass(o[n]))},n.wbg.__wbg_end_986f2e7b2e086e45=function(e){o[e].end()},n.wbg.__wbg_label_11db1ff6a0c2b04a=function(e,n){let t=l(o[n].label,r.__wbindgen_malloc,r.__wbindgen_realloc),_=g;p()[e/4+1]=_,p()[e/4+0]=t},n.wbg.__wbg_finish_9d3296fd7f05b8be=function(e,n){return b(o[e].finish(o[n]))},n.wbg.__wbg_finish_3ebfaf95c1cb1f62=function(e){return b(o[e].finish())},n.wbg.__wbg_clearBuffer_eef39f7aca353d3b=function(e,n,t){o[e].clearBuffer(o[n],t)},n.wbg.__wbg_clearBuffer_d8565fd58408fecc=function(e,n,t,r){o[e].clearBuffer(o[n],t,r)},n.wbg.__wbg_resolveQuerySet_cc94108081626a85=function(e,n,t,r,_,i){o[e].resolveQuerySet(o[n],t>>>0,r>>>0,o[_],i>>>0)},n.wbg.__wbg_finish_43826c0e085a9105=function(e){return b(o[e].finish())},n.wbg.__wbg_finish_874e37ba756dbb34=function(e,n){return b(o[e].finish(o[n]))},n.wbg.__wbg_writeBuffer_e90d5d11db4eab3d=function(e,n,t,r,_,i){o[e].writeBuffer(o[n],t,o[r],_,i)},n.wbg.__wbg_usage_6a86f0d1b227b2d9=function(e){return o[e].usage},n.wbg.__wbg_size_3267237df19a7c75=function(e){return o[e].size},n.wbg.__wbg_writeTexture_838556a4e982ad58=function(e,n,t,r,_){o[e].writeTexture(o[n],o[t],o[r],o[_])},n.wbg.__wbg_copyExternalImageToTexture_991efbf06f7e65cc=function(e,n,t,r){o[e].copyExternalImageToTexture(o[n],o[t],o[r])},n.wbg.__wbg_setPipeline_866ee4cb30c2e7d0=function(e,n){o[e].setPipeline(o[n])},n.wbg.__wbg_setBindGroup_de385e8d90051649=function(e,n,t){o[e].setBindGroup(n>>>0,o[t])},n.wbg.__wbg_setBindGroup_0a86b4467e20e8fb=function(e,n,t,r,_,i,c){o[e].setBindGroup(n>>>0,o[t],k(r,_),i,c>>>0)},n.wbg.__wbg_dispatchWorkgroups_0cf698fce26bed01=function(e,n,t,r){o[e].dispatchWorkgroups(n>>>0,t>>>0,r>>>0)},n.wbg.__wbg_dispatchWorkgroupsIndirect_287883a1c1af6dff=function(e,n,t){o[e].dispatchWorkgroupsIndirect(o[n],t)},n.wbg.__wbg_setPipeline_2996b930cd949244=function(e,n){o[e].setPipeline(o[n])},n.wbg.__wbg_setBindGroup_b61d1e50cd875ea0=function(e,n,t){o[e].setBindGroup(n>>>0,o[t])},n.wbg.__wbg_setBindGroup_2b6c8643f4fac448=function(e,n,t,r,_,i,c){o[e].setBindGroup(n>>>0,o[t],k(r,_),i,c>>>0)},n.wbg.__wbg_setIndexBuffer_358f835d6ad82757=function(e,n,t,r){o[e].setIndexBuffer(o[n],i(t),r)},n.wbg.__wbg_setIndexBuffer_39644914be2c14ea=function(e,n,t,r,_){o[e].setIndexBuffer(o[n],i(t),r,_)},n.wbg.__wbg_setVertexBuffer_a6e1dc59bc210f43=function(e,n,t,r){o[e].setVertexBuffer(n>>>0,o[t],r)},n.wbg.__wbg_setVertexBuffer_422eb55665e6c9b9=function(e,n,t,r,_){o[e].setVertexBuffer(n>>>0,o[t],r,_)},n.wbg.__wbg_draw_a609897c83c44f7d=function(e,n,t,r,_){o[e].draw(n>>>0,t>>>0,r>>>0,_>>>0)},n.wbg.__wbg_drawIndexed_196c69d7af0a85d0=function(e,n,t,r,_,i){o[e].drawIndexed(n>>>0,t>>>0,r>>>0,_,i>>>0)},n.wbg.__wbg_drawIndirect_f781c54ff4148cae=function(e,n,t){o[e].drawIndirect(o[n],t)},n.wbg.__wbg_drawIndexedIndirect_06c1d3991251bca9=function(e,n,t){o[e].drawIndexedIndirect(o[n],t)},n.wbg.__wbg_setPipeline_433cc46f3c74bd87=function(e,n){o[e].setPipeline(o[n])},n.wbg.__wbg_setBindGroup_58f4d6540abc3a8c=function(e,n,t){o[e].setBindGroup(n>>>0,o[t])},n.wbg.__wbg_setBindGroup_8548bffe3aac2384=function(e,n,t,r,_,i,c){o[e].setBindGroup(n>>>0,o[t],k(r,_),i,c>>>0)},n.wbg.__wbg_setIndexBuffer_a5a577434653cf20=function(e,n,t,r){o[e].setIndexBuffer(o[n],i(t),r)},n.wbg.__wbg_setIndexBuffer_3813572ed0aed847=function(e,n,t,r,_){o[e].setIndexBuffer(o[n],i(t),r,_)},n.wbg.__wbg_setVertexBuffer_cbb485ac3f4bbebe=function(e,n,t,r){o[e].setVertexBuffer(n>>>0,o[t],r)},n.wbg.__wbg_setVertexBuffer_d93e85c8e63ee680=function(e,n,t,r,_){o[e].setVertexBuffer(n>>>0,o[t],r,_)},n.wbg.__wbg_draw_1266952f19030532=function(e,n,t,r,_){o[e].draw(n>>>0,t>>>0,r>>>0,_>>>0)},n.wbg.__wbg_drawIndexed_bc2247be7d403907=function(e,n,t,r,_,i){o[e].drawIndexed(n>>>0,t>>>0,r>>>0,_,i>>>0)},n.wbg.__wbg_drawIndirect_dcfdac9179a6eece=function(e,n,t){o[e].drawIndirect(o[n],t)},n.wbg.__wbg_drawIndexedIndirect_ae6843ded857a7a0=function(e,n,t){o[e].drawIndexedIndirect(o[n],t)},n.wbg.__wbg_setBlendConstant_59453617149c6189=function(e,n){o[e].setBlendConstant(o[n])},n.wbg.__wbg_setScissorRect_2ce51d9f66d0da5a=function(e,n,t,r,_){o[e].setScissorRect(n>>>0,t>>>0,r>>>0,_>>>0)},n.wbg.__wbg_setViewport_c7784ff412a3f741=function(e,n,t,r,_,i,c){o[e].setViewport(n,t,r,_,i,c)},n.wbg.__wbg_setStencilReference_a6b99f58204d333b=function(e,n){o[e].setStencilReference(n>>>0)},n.wbg.__wbg_executeBundles_367d166dd1f39304=function(e,n){o[e].executeBundles(o[n])},n.wbg.__wbg_submit_45411deaf663460c=function(e,n){o[e].submit(o[n])},n.wbg.__wbg_queueMicrotask_481971b0d87f3dd4=function(e){queueMicrotask(o[e])},n.wbg.__wbg_queueMicrotask_3cbae2ec6b6cd3d6=function(e){return b(o[e].queueMicrotask)},n.wbg.__wbg_Window_4c97c099b03994c2=function(e){return b(o[e].Window)},n.wbg.__wbg_WorkerGlobalScope_b87d69ab991859f6=function(e){return b(o[e].WorkerGlobalScope)},n.wbg.__wbg_global_c22c39d5b60f622c=function(e){return b(o[e].global)},n.wbg.__wbg_indexedDB_f50e4ba5302a87c6=function(){return R(function(e){let n=o[e].indexedDB;return s(n)?0:b(n)},arguments)},n.wbg.__wbg_instanceof_Window_f401953a2cf86220=function(e){let n;try{n=o[e]instanceof Window}catch(e){n=!1}return n},n.wbg.__wbg_querySelectorAll_4e0fcdb64cda2cd5=function(){return R(function(e,n,t){return b(o[e].querySelectorAll(f(n,t)))},arguments)},n.wbg.__wbg_name_ad77fa16ecd61496=function(e,n){let t=l(o[n].name,r.__wbindgen_malloc,r.__wbindgen_realloc),_=g;p()[e/4+1]=_,p()[e/4+0]=t},n.wbg.__wbg_message_c539585471131985=function(e,n){let t=l(o[n].message,r.__wbindgen_malloc,r.__wbindgen_realloc),_=g;p()[e/4+1]=_,p()[e/4+0]=t},n.wbg.__wbg_code_bddcff79610894cf=function(e){return o[e].code},n.wbg.__wbg_item_87130eb4d38ecdc5=function(e,n,t){let _=o[n].item(t>>>0);var i=s(_)?0:l(_,r.__wbindgen_malloc,r.__wbindgen_realloc),c=g;p()[e/4+1]=c,p()[e/4+0]=i},n.wbg.__wbg_target_2fc177e386c8b7b0=function(e){let n=o[e].target;return s(n)?0:b(n)},n.wbg.__wbg_new_ab6fd82b10560829=function(){return R(function(){return b(new Headers)},arguments)},n.wbg.__wbg_get_0ebaad3318b38f2a=function(){return R(function(e,n,t,_){let i=o[n].get(f(t,_));var c=s(i)?0:l(i,r.__wbindgen_malloc,r.__wbindgen_realloc),u=g;p()[e/4+1]=u,p()[e/4+0]=c},arguments)},n.wbg.__wbg_set_cb0e7a5c2dd66afd=function(){return R(function(e,n,t,r,_){o[e].set(f(n,t),f(r,_))},arguments)},n.wbg.__wbg_setwidth_080107476e633963=function(e,n){o[e].width=n>>>0},n.wbg.__wbg_setheight_dc240617639f1f51=function(e,n){o[e].height=n>>>0},n.wbg.__wbg_getContext_df50fa48a8876636=function(){return R(function(e,n,t){let r=o[e].getContext(f(n,t));return s(r)?0:b(r)},arguments)},n.wbg.__wbg_objectStoreNames_588b5924274239fd=function(e){return b(o[e].objectStoreNames)},n.wbg.__wbg_setonversionchange_af0457acbb949df2=function(e,n){o[e].onversionchange=o[n]},n.wbg.__wbg_createObjectStore_882f2f6b1b1ef040=function(){return R(function(e,n,t){return b(o[e].createObjectStore(f(n,t)))},arguments)},n.wbg.__wbg_transaction_1e282a79e9bb7387=function(){return R(function(e,n,t,r){return b(o[e].transaction(f(n,t),i(r)))},arguments)},n.wbg.__wbg_open_f0d7259fd7e689ce=function(){return R(function(e,n,t,r){return b(o[e].open(f(n,t),r>>>0))},arguments)},n.wbg.__wbg_getAll_0ab46ba1dfcee129=function(){return R(function(e,n){return b(o[e].getAll(o[n]))},arguments)},n.wbg.__wbg_createIndex_da6487aa78602b31=function(){return R(function(e,n,t,r){return b(o[e].createIndex(f(n,t),o[r]))},arguments)},n.wbg.__wbg_get_5361b64cac0d0826=function(){return R(function(e,n){return b(o[e].get(o[n]))},arguments)},n.wbg.__wbg_index_383b6812c1508030=function(){return R(function(e,n,t){return b(o[e].index(f(n,t)))},arguments)},n.wbg.__wbg_put_22792e17580ca18b=function(){return R(function(e,n,t){return b(o[e].put(o[n],o[t]))},arguments)},n.wbg.__wbg_setonblocked_eb1032a3dfaabd1c=function(e,n){o[e].onblocked=o[n]},n.wbg.__wbg_setonupgradeneeded_ad7645373c7d5e1b=function(e,n){o[e].onupgradeneeded=o[n]},n.wbg.__wbg_result_6cedf5f78600a79c=function(){return R(function(e){return b(o[e].result)},arguments)},n.wbg.__wbg_error_685b20024dc2d6ca=function(){return R(function(e){let n=o[e].error;return s(n)?0:b(n)},arguments)},n.wbg.__wbg_readyState_f8d58cc9e9c4f906=function(e){return b(o[e].readyState)},n.wbg.__wbg_setonsuccess_632ce0a1460455c2=function(e,n){o[e].onsuccess=o[n]},n.wbg.__wbg_setonerror_8479b33e7568a904=function(e,n){o[e].onerror=o[n]},n.wbg.__wbg_setonabort_523135fd9168ae8b=function(e,n){o[e].onabort=o[n]},n.wbg.__wbg_setoncomplete_d8e4236665cbf1e2=function(e,n){o[e].oncomplete=o[n]},n.wbg.__wbg_setonerror_da071ec94e148397=function(e,n){o[e].onerror=o[n]},n.wbg.__wbg_objectStore_da468793bd9df17b=function(){return R(function(e,n,t){return b(o[e].objectStore(f(n,t)))},arguments)},n.wbg.__wbg_get_8cd5eba00ab6304f=function(e,n){let t=o[e][n>>>0];return s(t)?0:b(t)},n.wbg.__wbg_setwidth_83d936c4b04dcbec=function(e,n){o[e].width=n>>>0},n.wbg.__wbg_setheight_6025ba0d58e6cc8c=function(e,n){o[e].height=n>>>0},n.wbg.__wbg_getContext_c102f659d540d068=function(){return R(function(e,n,t){let r=o[e].getContext(f(n,t));return s(r)?0:b(r)},arguments)},n.wbg.__wbg_getReader_205ad0215affbd99=function(e){return b(o[e].getReader())},n.wbg.__wbg_instanceof_ReadableStreamDefaultReader_91ddaab964b5d81d=function(e){let n;try{n=o[e]instanceof ReadableStreamDefaultReader}catch(e){n=!1}return n},n.wbg.__wbg_read_e7d0f8a49be01d86=function(e){return b(o[e].read())},n.wbg.__wbg_url_7807f6a1fddc3e23=function(e,n){let t=l(o[n].url,r.__wbindgen_malloc,r.__wbindgen_realloc),_=g;p()[e/4+1]=_,p()[e/4+0]=t},n.wbg.__wbg_newwithstr_36b0b3f97efe096f=function(){return R(function(e,n){return b(new Request(f(e,n)))},arguments)},n.wbg.__wbg_newwithstrandinit_3fd6fba4083ff2d0=function(){return R(function(e,n,t){return b(new Request(f(e,n),o[t]))},arguments)},n.wbg.__wbg_instanceof_Response_849eb93e75734b6e=function(e){let n;try{n=o[e]instanceof Response}catch(e){n=!1}return n},n.wbg.__wbg_status_61a01141acd3cf74=function(e){return o[e].status},n.wbg.__wbg_ok_38d7c30bbc66719e=function(e){return o[e].ok},n.wbg.__wbg_headers_9620bfada380764a=function(e){return b(o[e].headers)},n.wbg.__wbg_body_9545a94f397829db=function(e){let n=o[e].body;return s(n)?0:b(n)},n.wbg.__wbg_search_c68f506c44be6d1e=function(e,n){let t=l(o[n].search,r.__wbindgen_malloc,r.__wbindgen_realloc),_=g;p()[e/4+1]=_,p()[e/4+0]=t},n.wbg.__wbg_setsearch_fd62f4de409a2bb3=function(e,n,t){o[e].search=f(n,t)},n.wbg.__wbg_new_67853c351755d2cf=function(){return R(function(e,n){return b(new URL(f(e,n)))},arguments)},n.wbg.__wbg_new_4c501d7c115d20a6=function(){return R(function(){return b(new URLSearchParams)},arguments)},n.wbg.__wbg_document_5100775d18896c16=function(e){let n=o[e].document;return s(n)?0:b(n)},n.wbg.__wbg_navigator_6c8fa55c5cc8796e=function(e){return b(o[e].navigator)},n.wbg.__wbg_indexedDB_7c51d9056667f4e0=function(){return R(function(e){let n=o[e].indexedDB;return s(n)?0:b(n)},arguments)},n.wbg.__wbg_fetch_c4b6afebdb1f918e=function(e,n){return b(o[e].fetch(o[n]))},n.wbg.__wbg_instanceof_WorkerGlobalScope_46b577f151fad960=function(e){let n;try{n=o[e]instanceof WorkerGlobalScope}catch(e){n=!1}return n},n.wbg.__wbg_navigator_56803b85352a0575=function(e){return b(o[e].navigator)},n.wbg.__wbg_indexedDB_d312f95759a15fdc=function(){return R(function(e){let n=o[e].indexedDB;return s(n)?0:b(n)},arguments)},n.wbg.__wbg_fetch_921fad6ef9e883dd=function(e,n){return b(o[e].fetch(o[n]))},n.wbg.__wbg_debug_7d879afce6cf56cb=function(e,n,t,r){console.debug(o[e],o[n],o[t],o[r])},n.wbg.__wbg_error_696630710900ec44=function(e,n,t,r){console.error(o[e],o[n],o[t],o[r])},n.wbg.__wbg_info_80803d9a3f0aad16=function(e,n,t,r){console.info(o[e],o[n],o[t],o[r])},n.wbg.__wbg_log_151eb4333ef0fe39=function(e,n,t,r){console.log(o[e],o[n],o[t],o[r])},n.wbg.__wbg_warn_5d3f783b0bae8943=function(e,n,t,r){console.warn(o[e],o[n],o[t],o[r])},n.wbg.__wbg_get_bd8e338fbd5f5cc8=function(e,n){return b(o[e][n>>>0])},n.wbg.__wbg_length_cd7af8117672b8b8=function(e){return o[e].length},n.wbg.__wbg_new_16b304a2cfa7ff4a=function(){return b([])},n.wbg.__wbg_newnoargs_e258087cd0daa0ea=function(e,n){return b(Function(f(e,n)))},n.wbg.__wbg_new_d9bc3a0147634640=function(){return b(new Map)},n.wbg.__wbg_next_40fc327bfc8770e6=function(e){return b(o[e].next)},n.wbg.__wbg_next_196c84450b364254=function(){return R(function(e){return b(o[e].next())},arguments)},n.wbg.__wbg_done_298b57d23c0fc80c=function(e){return o[e].done},n.wbg.__wbg_value_d93c65011f51a456=function(e){return b(o[e].value)},n.wbg.__wbg_iterator_2cee6dadfd956dfa=function(){return b(Symbol.iterator)},n.wbg.__wbg_get_e3c254076557e348=function(){return R(function(e,n){return b(Reflect.get(o[e],o[n]))},arguments)},n.wbg.__wbg_call_27c0f87801dedf93=function(){return R(function(e,n){return b(o[e].call(o[n]))},arguments)},n.wbg.__wbg_new_72fb9a18b5ae2624=function(){return b({})},n.wbg.__wbg_set_d4638f722068f043=function(e,n,t){o[e][n>>>0]=i(t)},n.wbg.__wbg_isArray_2ab64d95e09ea0ae=function(e){return Array.isArray(o[e])},n.wbg.__wbg_push_a5b05aedc7234f9f=function(e,n){return o[e].push(o[n])},n.wbg.__wbg_instanceof_ArrayBuffer_836825be07d4c9d2=function(e){let n;try{n=o[e]instanceof ArrayBuffer}catch(e){n=!1}return n},n.wbg.__wbg_instanceof_Error_e20bb56fd5591a93=function(e){let n;try{n=o[e]instanceof Error}catch(e){n=!1}return n},n.wbg.__wbg_message_5bf28016c2b49cfb=function(e){return b(o[e].message)},n.wbg.__wbg_name_e7429f0dda6079e2=function(e){return b(o[e].name)},n.wbg.__wbg_toString_ffe4c9ea3b3532e9=function(e){return b(o[e].toString())},n.wbg.__wbg_call_b3ca7c6051f9bec1=function(){return R(function(e,n,t){return b(o[e].call(o[n],o[t]))},arguments)},n.wbg.__wbg_set_8417257aaedc936b=function(e,n,t){return b(o[e].set(o[n],o[t]))},n.wbg.__wbg_isSafeInteger_f7b04ef02296c4d2=function(e){return Number.isSafeInteger(o[e])},n.wbg.__wbg_getTime_2bc4375165f02d15=function(e){return o[e].getTime()},n.wbg.__wbg_getTimezoneOffset_38257122e236c190=function(e){return o[e].getTimezoneOffset()},n.wbg.__wbg_new_cf3ec55744a78578=function(e){return b(new Date(o[e]))},n.wbg.__wbg_new0_7d84e5b2cd9fdc73=function(){return b(new Date)},n.wbg.__wbg_instanceof_Object_71ca3c0a59266746=function(e){let n;try{n=o[e]instanceof Object}catch(e){n=!1}return n},n.wbg.__wbg_entries_95cc2c823b285a09=function(e){return b(Object.entries(o[e]))},n.wbg.__wbg_toString_c816a20ab859d0c1=function(e){return b(o[e].toString())},n.wbg.__wbg_valueOf_a0b7c836f68a054b=function(e){return b(o[e].valueOf())},n.wbg.__wbg_set_1f9b04f170055d33=function(){return R(function(e,n,t){return Reflect.set(o[e],o[n],o[t])},arguments)},n.wbg.__wbg_buffer_12d079cc21e14bdb=function(e){return b(o[e].buffer)},n.wbg.__wbg_stringify_8887fe74e1c50d81=function(){return R(function(e){return b(JSON.stringify(o[e]))},arguments)},n.wbg.__wbg_new_81740750da40724f=function(e,n){try{var t={a:e,b:n};let o=new Promise((e,n)=>{let o=t.a;t.a=0;try{var _;return _=t.b,void r.wasm_bindgen__convert__closures__invoke2_mut__h93c4e0660e881a4b(o,_,b(e),b(n))}finally{t.a=o}});return b(o)}finally{t.a=t.b=0}},n.wbg.__wbg_resolve_b0083a7967828ec8=function(e){return b(Promise.resolve(o[e]))},n.wbg.__wbg_then_0c86a60e8fcfe9f6=function(e,n){return b(o[e].then(o[n]))},n.wbg.__wbg_then_a73caa9a87991566=function(e,n,t){return b(o[e].then(o[n],o[t]))},n.wbg.__wbg_self_ce0dbfc45cf2f5be=function(){return R(function(){return b(self.self)},arguments)},n.wbg.__wbg_window_c6fb939a7f436783=function(){return R(function(){return b(window.window)},arguments)},n.wbg.__wbg_globalThis_d1e6af4856ba331b=function(){return R(function(){return b(globalThis.globalThis)},arguments)},n.wbg.__wbg_global_207b558942527489=function(){return R(function(){return b(t.g.global)},arguments)},n.wbg.__wbg_newwithbyteoffsetandlength_aa4a17c33a06e5cb=function(e,n,t){return b(new Uint8Array(o[e],n>>>0,t>>>0))},n.wbg.__wbg_new_63b92bc8671ed464=function(e){return b(new Uint8Array(o[e]))},n.wbg.__wbg_set_a47bac70306a19a7=function(e,n,t){o[e].set(o[n],t>>>0)},n.wbg.__wbg_length_c20a40f15020d68a=function(e){return o[e].length},n.wbg.__wbg_instanceof_Uint8Array_2b3bbecd033d19f6=function(e){let n;try{n=o[e]instanceof Uint8Array}catch(e){n=!1}return n},n.wbg.__wbg_newwithlength_e9b4878cebadb3d3=function(e){return b(new Uint8Array(e>>>0))},n.wbg.__wbg_buffer_dd7f74bc60f1faab=function(e){return b(o[e].buffer)},n.wbg.__wbg_subarray_a1f73cd4b5b42fe1=function(e,n,t){return b(o[e].subarray(n>>>0,t>>>0))},n.wbg.__wbindgen_bigint_get_as_i64=function(e,n){let t=o[n],_="bigint"==typeof t?t:void 0;((null===v||0===v.byteLength)&&(v=new BigInt64Array(r.memory.buffer)),v)[e/8+1]=s(_)?BigInt(0):_,p()[e/4+0]=!s(_)},n.wbg.__wbindgen_debug_string=function(e,n){let t=l(function e(n){let t;let r=typeof n;if("number"==r||"boolean"==r||null==n)return"".concat(n);if("string"==r)return'"'.concat(n,'"');if("symbol"==r){let e=n.description;return null==e?"Symbol":"Symbol(".concat(e,")")}if("function"==r){let e=n.name;return"string"==typeof e&&e.length>0?"Function(".concat(e,")"):"Function"}if(Array.isArray(n)){let t=n.length,r="[";t>0&&(r+=e(n[0]));for(let o=1;o<t;o++)r+=", "+e(n[o]);return r+"]"}let o=/\[object ([^\]]+)\]/.exec(toString.call(n));if(!(o.length>1))return toString.call(n);if("Object"==(t=o[1]))try{return"Object("+JSON.stringify(n)+")"}catch(e){return"Object"}return n instanceof Error?"".concat(n.name,": ").concat(n.message,"\n").concat(n.stack):t}(o[n]),r.__wbindgen_malloc,r.__wbindgen_realloc),_=g;p()[e/4+1]=_,p()[e/4+0]=t},n.wbg.__wbindgen_throw=function(e,n){throw Error(f(e,n))},n.wbg.__wbindgen_memory=function(){return b(r.memory)},n.wbg.__wbindgen_closure_wrapper513=function(e,n,t){return b(x(e,n,17,S))},n.wbg.__wbindgen_closure_wrapper4836=function(e,n,t){return b(x(e,n,2263,B))},n.wbg.__wbindgen_closure_wrapper4838=function(e,n,t){return b(x(e,n,2263,B))},n.wbg.__wbindgen_closure_wrapper5531=function(e,n,t){return b(x(e,n,2462,T))},n.wbg.__wbindgen_closure_wrapper5662=function(e,n,t){return b(A(e,n,2511,E))},n.wbg.__wbindgen_closure_wrapper5664=function(e,n,t){return b(A(e,n,2511,I))},n}();("string"==typeof n||"function"==typeof Request&&n instanceof Request||"function"==typeof URL&&n instanceof URL)&&(n=fetch(n));let{instance:c,module:a}=await G(await n,_);return r=c.exports,L.__wbindgen_wasm_module=a,v=null,y=null,m=null,C=null,u=null,r.__wbindgen_start(),r}"undefined"==typeof FinalizationRegistry||new FinalizationRegistry(e=>r.__wbg_modelkey_free(e>>>0)),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry(e=>r.__wbg_segment_free(e>>>0)),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry(e=>r.__wbg_streamedsegment_free(e>>>0)),n.ZP=L},7337:function(e,n,t){var r,o;e.exports=(null==(r=t.g.process)?void 0:r.env)&&"object"==typeof(null==(o=t.g.process)?void 0:o.env)?t.g.process:t(1071)},1071:function(e){!function(){var n={229:function(e){var n,t,r,o=e.exports={};function _(){throw Error("setTimeout has not been defined")}function i(){throw Error("clearTimeout has not been defined")}function c(e){if(n===setTimeout)return setTimeout(e,0);if((n===_||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:_}catch(e){n=_}try{t="function"==typeof clearTimeout?clearTimeout:i}catch(e){t=i}}();var u=[],a=!1,f=-1;function b(){a&&r&&(a=!1,r.length?u=r.concat(u):f=-1,u.length&&g())}function g(){if(!a){var e=c(b);a=!0;for(var n=u.length;n;){for(r=u,u=[];++f<n;)r&&r[f].run();f=-1,n=u.length}r=null,a=!1,function(e){if(t===clearTimeout)return clearTimeout(e);if((t===i||!t)&&clearTimeout)return t=clearTimeout,clearTimeout(e);try{t(e)}catch(n){try{return t.call(null,e)}catch(n){return t.call(this,e)}}}(e)}}function d(e,n){this.fun=e,this.array=n}function w(){}o.nextTick=function(e){var n=Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)n[t-1]=arguments[t];u.push(new d(e,n)),1!==u.length||a||c(g)},d.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=w,o.addListener=w,o.once=w,o.off=w,o.removeListener=w,o.removeAllListeners=w,o.emit=w,o.prependListener=w,o.prependOnceListener=w,o.listeners=function(e){return[]},o.binding=function(e){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw Error("process.chdir is not supported")},o.umask=function(){return 0}}},t={};function r(e){var o=t[e];if(void 0!==o)return o.exports;var _=t[e]={exports:{}},i=!0;try{n[e](_,_.exports,r),i=!1}finally{i&&delete t[e]}return _.exports}r.ab="//";var o=r(229);e.exports=o}()},8077:function(e,n,t){t.d(n,{Z:function(){return k}});var r=t(4209),o=t(303),_=t(2948),i=t.n(_),c=!1,u={get passive(){c=!0;return}};window.addEventListener("testPassive",null,u),window.removeEventListener("testPassive",null,u);var a=window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),f=[],b=!1,g=-1,d=void 0,w=void 0,l=function(e){return f.some(function(n){return!!(n.options.allowTouchMove&&n.options.allowTouchMove(e))})},s=function(e){var n=e||window.event;return!!l(n.target)||n.touches.length>1||(n.preventDefault&&n.preventDefault(),!1)},m=function(e){if(void 0===w){var n=!!e&&!0===e.reserveScrollBarGap,t=window.innerWidth-document.documentElement.clientWidth;n&&t>0&&(w=document.body.style.paddingRight,document.body.style.paddingRight=t+"px")}void 0===d&&(d=document.body.style.overflow,document.body.style.overflow="hidden")},p=function(){void 0!==w&&(document.body.style.paddingRight=w,w=void 0),void 0!==d&&(document.body.style.overflow=d,d=void 0)},y=function(e,n){var t=e.targetTouches[0].clientY-g;return!l(e.target)&&(n&&0===n.scrollTop&&t>0?s(e):n&&n.scrollHeight-n.scrollTop<=n.clientHeight&&t<0?s(e):(e.stopPropagation(),!0))},v=function(e,n){if(!e){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}!f.some(function(n){return n.targetElement===e})&&(f=[].concat(function(e){if(!Array.isArray(e))return Array.from(e);for(var n=0,t=Array(e.length);n<e.length;n++)t[n]=e[n];return t}(f),[{targetElement:e,options:n||{}}]),a?(e.ontouchstart=function(e){1===e.targetTouches.length&&(g=e.targetTouches[0].clientY)},e.ontouchmove=function(n){1===n.targetTouches.length&&y(n,e)},b||(document.addEventListener("touchmove",s,c?{passive:!1}:void 0),b=!0)):m(n))},h=function(e){if(!e){console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");return}f=f.filter(function(n){return n.targetElement!==e}),a?(e.ontouchstart=null,e.ontouchmove=null,b&&0===f.length&&(document.removeEventListener("touchmove",s,c?{passive:!1}:void 0),b=!1)):f.length||p()};function x(){return(x=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(this,arguments)}t(7337);var S=function(e){var n=e.classes,t=e.classNames,o=e.styles,_=e.id,c=e.closeIcon,u=e.onClick;return r.createElement("button",{id:_,className:i()(n.closeButton,null==t?void 0:t.closeButton),style:null==o?void 0:o.closeButton,onClick:u,"data-testid":"close-button"},c||r.createElement("svg",{className:null==t?void 0:t.closeIcon,style:null==o?void 0:o.closeIcon,width:28,height:28,viewBox:"0 0 36 36","data-testid":"close-icon"},r.createElement("path",{d:"M28.5 9.62L26.38 7.5 18 15.88 9.62 7.5 7.5 9.62 15.88 18 7.5 26.38l2.12 2.12L18 20.12l8.38 8.38 2.12-2.12L20.12 18z"})))},B=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'];function T(e){for(var n=document.activeElement,t=e.querySelectorAll(B.join(",")),r=[],o=0;o<t.length;o++){var _=t[o];(n===_||!_.disabled&&function(e){var n=parseInt(e.getAttribute("tabindex"),10);return isNaN(n)?e.getAttribute("contentEditable")?0:e.tabIndex:n}(_)>-1&&!(null===_.offsetParent||"hidden"===getComputedStyle(_).visibility)&&function(e){if("INPUT"!==e.tagName||"radio"!==e.type||!e.name)return!0;var n=(e.form||e.ownerDocument).querySelectorAll('input[type="radio"][name="'+e.name+'"]'),t=function(e,n){for(var t=0;t<e.length;t++)if(e[t].checked&&e[t].form===n)return e[t]}(n,e.form);return t===e||void 0===t&&n[0]===e}(_))&&r.push(_)}return r}var A=function(e){var n=e.container,t=e.initialFocusRef,o=(0,r.useRef)();return(0,r.useEffect)(function(){var e=function(e){(null==n?void 0:n.current)&&function(e,n){if(e&&"Tab"===e.key&&n&&n.contains&&n.contains(e.target)){var t=T(n),r=t[0],o=t[t.length-1];e.shiftKey&&e.target===r?(o.focus(),e.preventDefault()):e.shiftKey||e.target!==o||(r.focus(),e.preventDefault())}}(e,n.current)};if(document.addEventListener("keydown",e),null==n?void 0:n.current){var r=function(){-1!==B.findIndex(function(e){var n;return null==(n=document.activeElement)?void 0:n.matches(e)})&&(o.current=document.activeElement)};if(t)r(),requestAnimationFrame(function(){var e;null==(e=t.current)||e.focus()});else{var _=T(n.current);_[0]&&(r(),_[0].focus())}}return function(){var n;document.removeEventListener("keydown",e),null==(n=o.current)||n.focus()}},[n,t]),null},E=[],I={add:function(e){E.push(e)},remove:function(e){E=E.filter(function(n){return n!==e})},isTopModal:function(e){return!!E.length&&E[E.length-1]===e}},C=function(e,n,t,o,_){var i=(0,r.useRef)(null);(0,r.useEffect)(function(){return n&&e.current&&o&&(i.current=e.current,v(e.current,{reserveScrollBarGap:_})),function(){i.current&&(h(i.current),i.current=null)}},[n,t,e,o,_])},R={root:"react-responsive-modal-root",overlay:"react-responsive-modal-overlay",overlayAnimationIn:"react-responsive-modal-overlay-in",overlayAnimationOut:"react-responsive-modal-overlay-out",modalContainer:"react-responsive-modal-container",modalContainerCenter:"react-responsive-modal-containerCenter",modal:"react-responsive-modal-modal",modalAnimationIn:"react-responsive-modal-modal-in",modalAnimationOut:"react-responsive-modal-modal-out",closeButton:"react-responsive-modal-closeButton"},k=r.forwardRef(function(e,n){var t,_,c,u,a=e.open,f=e.center,b=e.blockScroll,g=e.closeOnEsc,d=void 0===g||g,w=e.closeOnOverlayClick,l=void 0===w||w,s=e.container,m=e.showCloseIcon,p=e.closeIconId,y=e.closeIcon,v=e.focusTrapped,h=e.initialFocusRef,B=e.animationDuration,T=void 0===B?300:B,E=e.classNames,k=e.styles,P=e.role,O=e.ariaDescribedby,D=e.ariaLabelledby,G=e.containerId,L=e.modalId,z=e.onClose,W=e.onEscKeyDown,F=e.onOverlayClick,j=e.onAnimationEnd,U=e.children,q=e.reserveScrollBarGap,M=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{isStateful:!0},t=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,[n,t]=r.useState(e),{current:o}=r.useRef({current:n});return Object.defineProperty(o,"current",{get:()=>n,set:e=>{Object.is(n,e)||(n=e,t(e))}}),o}(null),o=(0,r.useRef)(null),_=n.isStateful?t:o;return r.useEffect(()=>{e&&("function"==typeof e?e(_.current):e.current=_.current)}),_}(n),V=(0,r.useRef)(null),N=(0,r.useRef)(null),Q=(0,r.useRef)(null);null===Q.current&&(Q.current=document.createElement("div"));var H=(0,r.useState)(!1),Y=H[0],Z=H[1];(0,r.useEffect)(function(){return a&&I.add(V),function(){I.remove(V)}},[a,V]),C(V,a,Y,void 0===b||b,q);var K=function(){!Q.current||s||document.body.contains(Q.current)||document.body.appendChild(Q.current),document.addEventListener("keydown",J)},X=function(){Q.current&&!s&&document.body.contains(Q.current)&&document.body.removeChild(Q.current),document.removeEventListener("keydown",J)},J=function(e){27===e.keyCode&&I.isTopModal(V)&&(null==W||W(e),d&&z())};(0,r.useEffect)(function(){return function(){Y&&X()}},[Y]),(0,r.useEffect)(function(){a&&!Y&&(Z(!0),K())},[a]);var $=function(){N.current=!1},ee=s||Q.current,en=a?null!=(t=null==E?void 0:E.overlayAnimationIn)?t:R.overlayAnimationIn:null!=(_=null==E?void 0:E.overlayAnimationOut)?_:R.overlayAnimationOut,et=a?null!=(c=null==E?void 0:E.modalAnimationIn)?c:R.modalAnimationIn:null!=(u=null==E?void 0:E.modalAnimationOut)?u:R.modalAnimationOut;return Y&&ee?o.createPortal(r.createElement("div",{className:i()(R.root,null==E?void 0:E.root),style:null==k?void 0:k.root,"data-testid":"root"},r.createElement("div",{className:i()(R.overlay,null==E?void 0:E.overlay),"data-testid":"overlay","aria-hidden":!0,style:x({animation:en+" "+T+"ms"},null==k?void 0:k.overlay)}),r.createElement("div",{ref:V,id:G,className:i()(R.modalContainer,f&&R.modalContainerCenter,null==E?void 0:E.modalContainer),style:null==k?void 0:k.modalContainer,"data-testid":"modal-container",onClick:function(e){if(null===N.current&&(N.current=!0),!N.current){N.current=null;return}null==F||F(e),l&&z(),N.current=null}},r.createElement("div",{ref:M,className:i()(R.modal,null==E?void 0:E.modal),style:x({animation:et+" "+T+"ms"},null==k?void 0:k.modal),onMouseDown:$,onMouseUp:$,onClick:$,onAnimationEnd:function(){a||Z(!1),null==j||j()},id:L,role:void 0===P?"dialog":P,"aria-modal":"true","aria-labelledby":D,"aria-describedby":O,"data-testid":"modal",tabIndex:-1},(void 0===v||v)&&r.createElement(A,{container:M,initialFocusRef:void 0===h?void 0:h}),U,(void 0===m||m)&&r.createElement(S,{classes:R,classNames:E,styles:k,closeIcon:y,onClick:z,id:p})))),ee):null})},2948:function(e,n){var t;!/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/function(){var r={}.hasOwnProperty;function o(){for(var e="",n=0;n<arguments.length;n++){var t=arguments[n];t&&(e=_(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var n="";for(var t in e)r.call(e,t)&&e[t]&&(n=_(n,t));return n}(t)))}return e}function _(e,n){return n?e?e+" "+n:e+n:e}e.exports?(o.default=o,e.exports=o):void 0!==(t=(function(){return o}).apply(n,[]))&&(e.exports=t)}()}}]);