File size: 66,017 Bytes
fd0f693
 
 
 
 
1
2
3
4
5
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[102],{9120:function(e,t,n){e.exports=n.p+"static/media/ratchet-web_bg.6187fd97.wasm"},1190:function(e,t,n){let r;function i(e,t,n){if(!t.has(e))throw TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function a(e,t){var n=i(e,t,"get");return n.get?n.get.call(e):n.value}function o(e,t,n){!function(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.set(e,n)}function c(e,t,n){var r=i(e,t,"set");return!function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw TypeError("attempted to set read only private field");t.value=n}}(e,r,n),n}n.d(t,{C:function(){return h}}),(s=b||(b={})).LOAD="LOAD",s.EXEC="EXEC",s.WRITE_FILE="WRITE_FILE",s.READ_FILE="READ_FILE",s.DELETE_FILE="DELETE_FILE",s.RENAME="RENAME",s.CREATE_DIR="CREATE_DIR",s.LIST_DIR="LIST_DIR",s.DELETE_DIR="DELETE_DIR",s.ERROR="ERROR",s.DOWNLOAD="DOWNLOAD",s.PROGRESS="PROGRESS",s.LOG="LOG";let u=(r=0,()=>r++);Error("unknown message type");let _=Error("ffmpeg is not loaded, call `await ffmpeg.load()` first"),f=Error("called FFmpeg.terminate()");Error("failed to import ffmpeg-core.js");var s,b,d=new WeakMap,l=new WeakMap,g=new WeakMap,w=new WeakMap,p=new WeakMap,m=new WeakMap,y=new WeakMap;class h{on(e,t){"log"===e?a(this,w).push(t):"progress"===e&&a(this,p).push(t)}off(e,t){"log"===e?c(this,w,a(this,w).filter(e=>e!==t)):"progress"===e&&c(this,p,a(this,p).filter(e=>e!==t))}constructor(){var e=this;o(this,d,{writable:!0,value:void 0}),o(this,l,{writable:!0,value:void 0}),o(this,g,{writable:!0,value:void 0}),o(this,w,{writable:!0,value:void 0}),o(this,p,{writable:!0,value:void 0}),o(this,m,{writable:!0,value:void 0}),o(this,y,{writable:!0,value:void 0}),c(this,d,null),c(this,l,{}),c(this,g,{}),c(this,w,[]),c(this,p,[]),this.loaded=!1,c(this,m,()=>{a(this,d)&&(a(this,d).onmessage=e=>{let{data:{id:t,type:n,data:r}}=e;switch(n){case b.LOAD:this.loaded=!0,a(this,l)[t](r);break;case b.EXEC:case b.WRITE_FILE:case b.READ_FILE:case b.DELETE_FILE:case b.RENAME:case b.CREATE_DIR:case b.LIST_DIR:case b.DELETE_DIR:a(this,l)[t](r);break;case b.LOG:a(this,w).forEach(e=>e(r));break;case b.PROGRESS:a(this,p).forEach(e=>e(r));break;case b.ERROR:a(this,g)[t](r)}delete a(this,l)[t],delete a(this,g)[t]})}),c(this,y,function(t){let{type:n,data:r}=t,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return a(e,d)?new Promise((t,o)=>{let c=u();a(e,d)&&a(e,d).postMessage({id:c,type:n,data:r},i),a(e,l)[c]=t,a(e,g)[c]=o}):Promise.reject(_)}),this.load=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return a(e,d)||(c(e,d,new Worker(n.tu(new URL(n.p+n.u(629),n.b)),{type:void 0})),a(e,m).call(e)),a(e,y).call(e,{type:b.LOAD,data:t})},this.exec=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;return a(e,y).call(e,{type:b.EXEC,data:{args:t,timeout:n}})},this.terminate=()=>{for(let e of Object.keys(a(this,g)))a(this,g)[e](f),delete a(this,g)[e],delete a(this,l)[e];a(this,d)&&(a(this,d).terminate(),c(this,d,null),this.loaded=!1)},this.writeFile=(e,t)=>{let n=[];return t instanceof Uint8Array&&n.push(t.buffer),a(this,y).call(this,{type:b.WRITE_FILE,data:{path:e,data:t}},n)},this.readFile=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"binary";return a(e,y).call(e,{type:b.READ_FILE,data:{path:t,encoding:n}})},this.deleteFile=e=>a(this,y).call(this,{type:b.DELETE_FILE,data:{path:e}}),this.rename=(e,t)=>a(this,y).call(this,{type:b.RENAME,data:{oldPath:e,newPath:t}}),this.createDir=e=>a(this,y).call(this,{type:b.CREATE_DIR,data:{path:e}}),this.listDir=e=>a(this,y).call(this,{type:b.LIST_DIR,data:{path:e}}),this.deleteDir=e=>a(this,y).call(this,{type:b.DELETE_DIR,data:{path:e}})}}},1715:function(e,t,n){n.d(t,{Wn:function(){return o}});let r=Error("failed to get response body reader"),i=Error("failed to complete download"),a=async(e,t)=>{let n;let a=await fetch(e);try{var o;let c=parseInt(a.headers.get("Content-Length")||"-1"),u=null===(o=a.body)||void 0===o?void 0:o.getReader();if(!u)throw r;let _=[],f=0;for(;;){let{done:n,value:r}=await u.read(),a=r?r.length:0;if(n){if(-1!=c&&c!==f)throw i;t&&t({url:e,total:c,received:f,delta:a,done:n});break}_.push(r),f+=a,t&&t({url:e,total:c,received:f,delta:a,done:n})}let s=new Uint8Array(f),b=0;for(let e of _)s.set(e,b),b+=e.length;n=s.buffer}catch(r){console.log("failed to send download progress event: ",r),n=await a.arrayBuffer(),t&&t({url:e,total:n.byteLength,received:n.byteLength,delta:0,done:!0})}return n},o=async function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0,i=n?await a(e,r):await (await fetch(e)).arrayBuffer(),o=new Blob([i],{type:t});return URL.createObjectURL(o)}},7313:function(e,t,n){let r;n.d(t,{Hn:function(){return W},dX:function(){return F},iQ:function(){return A},ko:function(){return P},qX:function(){return R}}),e=n.hmd(e);let i="undefined"!=typeof TextDecoder?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};"undefined"!=typeof TextDecoder&&i.decode();let a=null;function o(){return(null===a||0===a.byteLength)&&(a=new Uint8Array(r.memory.buffer)),a}function c(e,t){return e>>>=0,i.decode(o().subarray(e,e+t))}let u=Array(128).fill(void 0);u.push(void 0,null,!0,!1);let _=u.length;function f(e){_===u.length&&u.push(u.length+1);let t=_;return _=u[t],u[t]=e,t}function s(e){let t=u[e];return e<132||(u[e]=_,_=e),t}let b=0,d="undefined"!=typeof TextEncoder?new TextEncoder("utf-8"):{encode:()=>{throw Error("TextEncoder not available")}},l="function"==typeof d.encodeInto?function(e,t){return d.encodeInto(e,t)}:function(e,t){let n=d.encode(e);return t.set(n),{read:e.length,written:n.length}};function g(e,t,n){if(void 0===n){let n=d.encode(e),r=t(n.length,1)>>>0;return o().subarray(r,r+n.length).set(n),b=n.length,r}let r=e.length,i=t(r,1)>>>0,a=o(),c=0;for(;c<r;c++){let t=e.charCodeAt(c);if(t>127)break;a[i+c]=t}if(c!==r){0!==c&&(e=e.slice(c)),i=n(i,r,r=c+3*e.length,1)>>>0;let t=l(e,o().subarray(i+c,i+r));c+=t.written,i=n(i,r,c,1)>>>0}return b=c,i}function w(e){return null==e}let p=null;function m(){return(null===p||0===p.byteLength)&&(p=new Int32Array(r.memory.buffer)),p}let y=null,h="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>{r.__wbindgen_export_2.get(e.dtor)(e.a,e.b)});function v(e,t,n,i){let a={a:e,b:t,cnt:1,dtor:n},o=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];a.cnt++;let o=a.a;a.a=0;try{return i(o,a.b,...t)}finally{0==--a.cnt?(r.__wbindgen_export_2.get(a.dtor)(o,a.b),h.unregister(a)):a.a=o}};return o.original=a,h.register(o,a,a),o}function S(e,t,n){try{let a=r.__wbindgen_add_to_stack_pointer(-16);r.wasm_bindgen__convert__closures__invoke1_mut__h84894b1c7a21ee86(a,e,t,f(n));var i=m()[a/4+0];if(m()[a/4+1])throw s(i)}finally{r.__wbindgen_add_to_stack_pointer(16)}}function T(e,t,n){r.wasm_bindgen__convert__closures__invoke1_mut__h64c7a3125830e328(e,t,f(n))}function C(e,t,n){r.wasm_bindgen__convert__closures__invoke1_mut__h8505a9b85d407755(e,t,f(n))}function B(e,t,n,i){let a={a:e,b:t,cnt:1,dtor:n},o=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];a.cnt++;try{return i(a.a,a.b,...t)}finally{0==--a.cnt&&(r.__wbindgen_export_2.get(a.dtor)(a.a,a.b),a.a=0,h.unregister(a))}};return o.original=a,h.register(o,a,a),o}function x(e,t,n){r.wasm_bindgen__convert__closures__invoke1__hf9c3eff83181de0b(e,t,f(n))}function E(e,t){r._dyn_core__ops__function__Fn_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1d946e257630a9d1(e,t)}let U=null;function D(){return(null===U||0===U.byteLength)&&(U=new Uint32Array(r.memory.buffer)),U}function k(e,t){try{return e.apply(this,t)}catch(e){r.__wbindgen_exn_store(f(e))}}function I(e,t){return e>>>=0,D().subarray(e/4,e/4+t)}let R=Object.freeze({Q8:0,0:"Q8",F32:1,1:"F32"}),A=Object.freeze({Transcribe:0,0:"Transcribe",Translate:1,1:"Translate"}),P=Object.freeze({WhisperTiny:0,0:"WhisperTiny",WhisperBase:1,1:"WhisperBase",WhisperSmall:2,2:"WhisperSmall",WhisperMedium:3,3:"WhisperMedium",WhisperLargeV2:4,4:"WhisperLargeV2",WhisperLargeV3:5,5:"WhisperLargeV3",DistilWhisperLargeV3:6,6:"DistilWhisperLargeV3"});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));let L="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_decodingoptionsbuilder_free(e>>>0));class F{static __wrap(e){e>>>=0;let t=Object.create(F.prototype);return t.__wbg_ptr=e,L.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,L.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_decodingoptionsbuilder_free(e)}setTask(e){let t=this.__destroy_into_raw(),n=r.decodingoptionsbuilder_setTask(t,e);return F.__wrap(n)}setLanguage(e){let t=this.__destroy_into_raw(),n=g(e,r.__wbindgen_malloc,r.__wbindgen_realloc),i=b,a=r.decodingoptionsbuilder_setLanguage(t,n,i);return F.__wrap(a)}setTemperature(e){let t=this.__destroy_into_raw(),n=r.decodingoptionsbuilder_setTemperature(t,e);return F.__wrap(n)}setSampleLen(e){let t=this.__destroy_into_raw(),n=r.decodingoptionsbuilder_setSampleLen(t,e);return F.__wrap(n)}setBestOf(e){let t=this.__destroy_into_raw(),n=r.decodingoptionsbuilder_setBestOf(t,e);return F.__wrap(n)}setBeamSize(e){let t=this.__destroy_into_raw(),n=r.decodingoptionsbuilder_setBeamSize(t,e);return F.__wrap(n)}setPatience(e){let t=this.__destroy_into_raw(),n=r.decodingoptionsbuilder_setPatience(t,e);return F.__wrap(n)}setLengthPenalty(e){let t=this.__destroy_into_raw(),n=r.decodingoptionsbuilder_setLengthPenalty(t,e);return F.__wrap(n)}setPrompt(e){let t=this.__destroy_into_raw(),n=g(e,r.__wbindgen_malloc,r.__wbindgen_realloc),i=b,a=r.decodingoptionsbuilder_setPrompt(t,n,i);return F.__wrap(a)}setPrefix(e){let t=this.__destroy_into_raw(),n=g(e,r.__wbindgen_malloc,r.__wbindgen_realloc),i=b,a=r.decodingoptionsbuilder_setPrefix(t,n,i);return F.__wrap(a)}setSuppressTokens(e){let t=this.__destroy_into_raw(),n=function(e,t){let n=t(4*e.length,4)>>>0;return D().set(e,n/4),b=e.length,n}(e,r.__wbindgen_malloc),i=b,a=r.decodingoptionsbuilder_setSuppressTokens(t,n,i);return F.__wrap(a)}setSuppressBlank(e){let t=this.__destroy_into_raw(),n=r.decodingoptionsbuilder_setSuppressBlank(t,e);return F.__wrap(n)}setWithoutTimestamps(e){let t=this.__destroy_into_raw(),n=r.decodingoptionsbuilder_setWithoutTimestamps(t,e);return F.__wrap(n)}setMaxInitialTimestamp(e){let t=this.__destroy_into_raw(),n=r.decodingoptionsbuilder_setMaxInitialTimestamp(t,e);return F.__wrap(n)}setTimeOffset(e){let t=this.__destroy_into_raw(),n=r.decodingoptionsbuilder_setTimeOffset(t,e);return F.__wrap(n)}build(){return s(r.decodingoptionsbuilder_build(this.__wbg_ptr))}constructor(){let e=r.decodingoptionsbuilder_new();return this.__wbg_ptr=e>>>0,this}}let O="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_model_free(e>>>0));class W{static __wrap(e){e>>>=0;let t=Object.create(W.prototype);return t.__wbg_ptr=e,O.register(t,t.__wbg_ptr,t),t}__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,t,n){return s(r.model_load(e,t,f(n)))}run(e){return s(r.model_run(this.__wbg_ptr,f(e)))}}async function M(e,t){if("function"==typeof Response&&e instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(e,t)}catch(t){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",t);else throw t}let n=await e.arrayBuffer();return await WebAssembly.instantiate(n,t)}{let n=await WebAssembly.instantiate(e,t);return n instanceof WebAssembly.Instance?{instance:n,module:e}:n}}async function G(t){if(void 0!==r)return r;void 0===t&&(t=new n.U(n(9120)));let i=function(){let t={};return t.wbg={},t.wbg.__wbindgen_string_new=function(e,t){return f(c(e,t))},t.wbg.__wbindgen_object_drop_ref=function(e){s(e)},t.wbg.__wbindgen_is_undefined=function(e){return void 0===u[e]},t.wbg.__wbindgen_boolean_get=function(e){let t=u[e];return"boolean"==typeof t?t?1:0:2},t.wbg.__wbindgen_number_new=function(e){return f(e)},t.wbg.__wbindgen_cb_drop=function(e){let t=s(e).original;return 1==t.cnt--&&(t.a=0,!0)},t.wbg.__wbindgen_string_get=function(e,t){let n=u[t],i="string"==typeof n?n:void 0;var a=w(i)?0:g(i,r.__wbindgen_malloc,r.__wbindgen_realloc),o=b;m()[e/4+1]=o,m()[e/4+0]=a},t.wbg.__wbindgen_as_number=function(e){return+u[e]},t.wbg.__wbindgen_object_clone_ref=function(e){return f(u[e])},t.wbg.__wbg_model_new=function(e){return f(W.__wrap(e))},t.wbg.__wbindgen_error_new=function(e,t){return f(Error(c(e,t)))},t.wbg.__wbindgen_is_object=function(e){let t=u[e];return"object"==typeof t&&null!==t},t.wbg.__wbindgen_in=function(e,t){return u[e]in u[t]},t.wbg.__wbindgen_is_string=function(e){return"string"==typeof u[e]},t.wbg.__wbindgen_number_get=function(e,t){let n=u[t],i="number"==typeof n?n:void 0;((null===y||0===y.byteLength)&&(y=new Float64Array(r.memory.buffer)),y)[e/8+1]=w(i)?0:i,m()[e/4+0]=!w(i)},t.wbg.__wbindgen_is_function=function(e){return"function"==typeof u[e]},t.wbg.__wbindgen_is_null=function(e){return null===u[e]},t.wbg.__wbindgen_jsval_loose_eq=function(e,t){return u[e]==u[t]},t.wbg.__wbg_String_b9412f8799faab3e=function(e,t){let n=g(String(u[t]),r.__wbindgen_malloc,r.__wbindgen_realloc),i=b;m()[e/4+1]=i,m()[e/4+0]=n},t.wbg.__wbindgen_bigint_from_u64=function(e){return f(BigInt.asUintN(64,e))},t.wbg.__wbg_getwithrefkey_edc2c8960f0f1191=function(e,t){return f(u[e][u[t]])},t.wbg.__wbg_set_f975102236d3c502=function(e,t,n){u[e][s(t)]=s(n)},t.wbg.__wbg_set_20cbc34131e76824=function(e,t,n){u[e][s(t)]=s(n)},t.wbg.__wbg_performance_3f3012faa4463882=function(e){return f(u[e].performance)},t.wbg.__wbg_now_2fd65358804c9485=function(e){return u[e].now()},t.wbg.__wbg_Window_7bd5d737b6110ed5=function(e){return f(u[e].Window)},t.wbg.__wbg_WorkerGlobalScope_10e1fa12a09a520b=function(e){return f(u[e].WorkerGlobalScope)},t.wbg.__wbg_getRandomValues_7e42b4fb8779dc6d=function(){return k(function(e,t){u[e].getRandomValues(u[t])},arguments)},t.wbg.__wbg_randomFillSync_b70ccbdf4926a99d=function(){return k(function(e,t){u[e].randomFillSync(s(t))},arguments)},t.wbg.__wbg_crypto_d05b68a3572bb8ca=function(e){return f(u[e].crypto)},t.wbg.__wbg_process_b02b3570280d0366=function(e){return f(u[e].process)},t.wbg.__wbg_versions_c1cb42213cedf0f5=function(e){return f(u[e].versions)},t.wbg.__wbg_node_43b1089f407e4ec2=function(e){return f(u[e].node)},t.wbg.__wbg_require_9a7e0f667ead4995=function(){return k(function(){return f(e.require)},arguments)},t.wbg.__wbg_msCrypto_10fc94afee92bd76=function(e){return f(u[e].msCrypto)},t.wbg.__wbg_new_abda76e883ba8a5f=function(){return f(Error())},t.wbg.__wbg_stack_658279fe44541cf6=function(e,t){let n=g(u[t].stack,r.__wbindgen_malloc,r.__wbindgen_realloc),i=b;m()[e/4+1]=i,m()[e/4+0]=n},t.wbg.__wbg_error_f851667af71bcfc6=function(e,t){let n,i;try{n=e,i=t,console.error(c(e,t))}finally{r.__wbindgen_free(n,i,1)}},t.wbg.__wbg_queueMicrotask_f61ee94ee663068b=function(e){queueMicrotask(u[e])},t.wbg.__wbg_queueMicrotask_f82fc5d1e8f816ae=function(e){return f(u[e].queueMicrotask)},t.wbg.__wbg_Window_4c97c099b03994c2=function(e){return f(u[e].Window)},t.wbg.__wbg_WorkerGlobalScope_b87d69ab991859f6=function(e){return f(u[e].WorkerGlobalScope)},t.wbg.__wbg_global_c22c39d5b60f622c=function(e){return f(u[e].global)},t.wbg.__wbg_indexedDB_f50e4ba5302a87c6=function(){return k(function(e){let t=u[e].indexedDB;return w(t)?0:f(t)},arguments)},t.wbg.__wbg_instanceof_Window_9029196b662bc42a=function(e){let t;try{t=u[e]instanceof Window}catch(e){t=!1}return t},t.wbg.__wbg_querySelectorAll_c03e8664a5a0f0c5=function(){return k(function(e,t,n){return f(u[e].querySelectorAll(c(t,n)))},arguments)},t.wbg.__wbg_name_e1f42ed4f319b110=function(e,t){let n=g(u[t].name,r.__wbindgen_malloc,r.__wbindgen_realloc),i=b;m()[e/4+1]=i,m()[e/4+0]=n},t.wbg.__wbg_message_ad3cc15a4d40c34b=function(e,t){let n=g(u[t].message,r.__wbindgen_malloc,r.__wbindgen_realloc),i=b;m()[e/4+1]=i,m()[e/4+0]=n},t.wbg.__wbg_code_e5bc0ed8fd7bc4b8=function(e){return u[e].code},t.wbg.__wbg_item_d675c1262c12fad2=function(e,t,n){let i=u[t].item(n>>>0);var a=w(i)?0:g(i,r.__wbindgen_malloc,r.__wbindgen_realloc),o=b;m()[e/4+1]=o,m()[e/4+0]=a},t.wbg.__wbg_target_f171e89c61e2bccf=function(e){let t=u[e].target;return w(t)?0:f(t)},t.wbg.__wbg_getPreferredCanvasFormat_1f6c9ef810196b92=function(e){return f(u[e].getPreferredCanvasFormat())},t.wbg.__wbg_requestAdapter_d8298d7a27a391f0=function(e,t){return f(u[e].requestAdapter(u[t]))},t.wbg.__wbg_instanceof_GpuAdapter_c0a5a310603ba618=function(e){let t;try{t=u[e]instanceof GPUAdapter}catch(e){t=!1}return t},t.wbg.__wbg_features_88901f43932fb28e=function(e){return f(u[e].features)},t.wbg.__wbg_limits_a7f3fbf58768b61f=function(e){return f(u[e].limits)},t.wbg.__wbg_requestDevice_068e794820eb88eb=function(e,t){return f(u[e].requestDevice(u[t]))},t.wbg.__wbg_size_6540ddb49e0d7120=function(e){return u[e].size},t.wbg.__wbg_usage_f5b34f3e0170424b=function(e){return u[e].usage},t.wbg.__wbg_destroy_9b5398e5b148e210=function(e){u[e].destroy()},t.wbg.__wbg_getMappedRange_becef7e3d9dc5489=function(e,t,n){return f(u[e].getMappedRange(t,n))},t.wbg.__wbg_mapAsync_91acdcf41b7ae21d=function(e,t,n,r){return f(u[e].mapAsync(t>>>0,n,r))},t.wbg.__wbg_unmap_1677c09514e08e64=function(e){u[e].unmap()},t.wbg.__wbg_instanceof_GpuCanvasContext_7a77e275c38d41d8=function(e){let t;try{t=u[e]instanceof GPUCanvasContext}catch(e){t=!1}return t},t.wbg.__wbg_configure_93a57a4e5e0f8bcf=function(e,t){u[e].configure(u[t])},t.wbg.__wbg_getCurrentTexture_ecedc4f6f71990d2=function(e){return f(u[e].getCurrentTexture())},t.wbg.__wbg_label_c7970304720cf8b0=function(e,t){let n=g(u[t].label,r.__wbindgen_malloc,r.__wbindgen_realloc),i=b;m()[e/4+1]=i,m()[e/4+0]=n},t.wbg.__wbg_beginComputePass_579a2563c561da68=function(e,t){return f(u[e].beginComputePass(u[t]))},t.wbg.__wbg_beginRenderPass_d04327f7231bd5af=function(e,t){return f(u[e].beginRenderPass(u[t]))},t.wbg.__wbg_clearBuffer_c370e7adb8398388=function(e,t,n){u[e].clearBuffer(u[t],n)},t.wbg.__wbg_clearBuffer_b8e6751290709d43=function(e,t,n,r){u[e].clearBuffer(u[t],n,r)},t.wbg.__wbg_copyBufferToBuffer_79ac12f409453cf0=function(e,t,n,r,i,a){u[e].copyBufferToBuffer(u[t],n,u[r],i,a)},t.wbg.__wbg_copyBufferToTexture_ac956e6d47c24e73=function(e,t,n,r){u[e].copyBufferToTexture(u[t],u[n],u[r])},t.wbg.__wbg_copyTextureToBuffer_787ec8d8c4c216f1=function(e,t,n,r){u[e].copyTextureToBuffer(u[t],u[n],u[r])},t.wbg.__wbg_copyTextureToTexture_a86e849469b0ef38=function(e,t,n,r){u[e].copyTextureToTexture(u[t],u[n],u[r])},t.wbg.__wbg_finish_5153789564a5eee5=function(e){return f(u[e].finish())},t.wbg.__wbg_finish_d1049a13335e8326=function(e,t){return f(u[e].finish(u[t]))},t.wbg.__wbg_resolveQuerySet_8ac49c71e15cdf6a=function(e,t,n,r,i,a){u[e].resolveQuerySet(u[t],n>>>0,r>>>0,u[i],a>>>0)},t.wbg.__wbg_writeTimestamp_107647519ce52436=function(e,t,n){u[e].writeTimestamp(u[t],n>>>0)},t.wbg.__wbg_dispatchWorkgroups_c484cd3530a3801d=function(e,t,n,r){u[e].dispatchWorkgroups(t>>>0,n>>>0,r>>>0)},t.wbg.__wbg_dispatchWorkgroupsIndirect_2b89ee1731fab5f8=function(e,t,n){u[e].dispatchWorkgroupsIndirect(u[t],n)},t.wbg.__wbg_end_dab719019df5969c=function(e){u[e].end()},t.wbg.__wbg_setPipeline_598117fdeb73cf8f=function(e,t){u[e].setPipeline(u[t])},t.wbg.__wbg_setBindGroup_c619f49c16ef095b=function(e,t,n){u[e].setBindGroup(t>>>0,u[n])},t.wbg.__wbg_setBindGroup_dffce83253968cdd=function(e,t,n,r,i,a,o){u[e].setBindGroup(t>>>0,u[n],I(r,i),a,o>>>0)},t.wbg.__wbg_getBindGroupLayout_20dc45d52b96fa42=function(e,t){return f(u[e].getBindGroupLayout(t>>>0))},t.wbg.__wbg_features_dfb2178c91fa1dd7=function(e){return f(u[e].features)},t.wbg.__wbg_limits_45ceb777867eb768=function(e){return f(u[e].limits)},t.wbg.__wbg_queue_f2aeb5c277e56f93=function(e){return f(u[e].queue)},t.wbg.__wbg_setonuncapturederror_b3c814f611d5e585=function(e,t){u[e].onuncapturederror=u[t]},t.wbg.__wbg_createBindGroup_fa5515d52f9c6a69=function(e,t){return f(u[e].createBindGroup(u[t]))},t.wbg.__wbg_createBindGroupLayout_af3b9d9ee0a1f5f9=function(e,t){return f(u[e].createBindGroupLayout(u[t]))},t.wbg.__wbg_createBuffer_36e159f52cc644a7=function(e,t){return f(u[e].createBuffer(u[t]))},t.wbg.__wbg_createCommandEncoder_a50a1dab2b499b95=function(e,t){return f(u[e].createCommandEncoder(u[t]))},t.wbg.__wbg_createComputePipeline_89131452dfd12672=function(e,t){return f(u[e].createComputePipeline(u[t]))},t.wbg.__wbg_createPipelineLayout_1e10c8281fb85c01=function(e,t){return f(u[e].createPipelineLayout(u[t]))},t.wbg.__wbg_createQuerySet_ccb746122176f8e5=function(e,t){return f(u[e].createQuerySet(u[t]))},t.wbg.__wbg_createRenderBundleEncoder_ad2d0237f581427b=function(e,t){return f(u[e].createRenderBundleEncoder(u[t]))},t.wbg.__wbg_createRenderPipeline_745f00bcb1ca6edf=function(e,t){return f(u[e].createRenderPipeline(u[t]))},t.wbg.__wbg_createSampler_09cd36835c9befb3=function(e,t){return f(u[e].createSampler(u[t]))},t.wbg.__wbg_createShaderModule_59bbf537b8b5cf7c=function(e,t){return f(u[e].createShaderModule(u[t]))},t.wbg.__wbg_createTexture_dbd00b550944125c=function(e,t){return f(u[e].createTexture(u[t]))},t.wbg.__wbg_destroy_abb6deaa6cb27aa3=function(e){u[e].destroy()},t.wbg.__wbg_popErrorScope_19075fb98a08b740=function(e){return f(u[e].popErrorScope())},t.wbg.__wbg_pushErrorScope_0728aae3f2d3ed48=function(e,t){u[e].pushErrorScope(s(t))},t.wbg.__wbg_message_c934153af8567cdb=function(e,t){let n=g(u[t].message,r.__wbindgen_malloc,r.__wbindgen_realloc),i=b;m()[e/4+1]=i,m()[e/4+0]=n},t.wbg.__wbg_instanceof_GpuOutOfMemoryError_45166ef4e2774fbe=function(e){let t;try{t=u[e]instanceof GPUOutOfMemoryError}catch(e){t=!1}return t},t.wbg.__wbg_copyExternalImageToTexture_819ec294d299f624=function(e,t,n,r){u[e].copyExternalImageToTexture(u[t],u[n],u[r])},t.wbg.__wbg_submit_3104e9b014f75846=function(e,t){u[e].submit(u[t])},t.wbg.__wbg_writeBuffer_becf0c8f0323ffd7=function(e,t,n,r,i,a){u[e].writeBuffer(u[t],n,u[r],i,a)},t.wbg.__wbg_writeTexture_465ecc6146e5052c=function(e,t,n,r,i){u[e].writeTexture(u[t],u[n],u[r],u[i])},t.wbg.__wbg_finish_863657abae52896e=function(e){return f(u[e].finish())},t.wbg.__wbg_finish_e580ef236d53f04b=function(e,t){return f(u[e].finish(u[t]))},t.wbg.__wbg_setBindGroup_e6d2dd2ab3573b6d=function(e,t,n){u[e].setBindGroup(t>>>0,u[n])},t.wbg.__wbg_setBindGroup_6bc8944422dbb3cd=function(e,t,n,r,i,a,o){u[e].setBindGroup(t>>>0,u[n],I(r,i),a,o>>>0)},t.wbg.__wbg_draw_3958097471a10642=function(e,t,n,r,i){u[e].draw(t>>>0,n>>>0,r>>>0,i>>>0)},t.wbg.__wbg_drawIndexed_8856cc4ccffa3498=function(e,t,n,r,i,a){u[e].drawIndexed(t>>>0,n>>>0,r>>>0,i,a>>>0)},t.wbg.__wbg_drawIndexedIndirect_0404fa6cb9a6db25=function(e,t,n){u[e].drawIndexedIndirect(u[t],n)},t.wbg.__wbg_drawIndirect_95c6eb1494a44d06=function(e,t,n){u[e].drawIndirect(u[t],n)},t.wbg.__wbg_setIndexBuffer_4dc5432dc348458d=function(e,t,n,r){u[e].setIndexBuffer(u[t],s(n),r)},t.wbg.__wbg_setIndexBuffer_f3bae4da9e407eaf=function(e,t,n,r,i){u[e].setIndexBuffer(u[t],s(n),r,i)},t.wbg.__wbg_setPipeline_66f1e900256fc946=function(e,t){u[e].setPipeline(u[t])},t.wbg.__wbg_setVertexBuffer_c782d133fd439184=function(e,t,n,r){u[e].setVertexBuffer(t>>>0,u[n],r)},t.wbg.__wbg_setVertexBuffer_4da0a96267ce82db=function(e,t,n,r,i){u[e].setVertexBuffer(t>>>0,u[n],r,i)},t.wbg.__wbg_end_bdfb66792e0c59a2=function(e){u[e].end()},t.wbg.__wbg_executeBundles_0a1fdfd83c1a3e57=function(e,t){u[e].executeBundles(u[t])},t.wbg.__wbg_setBlendConstant_e89574db5137b2f6=function(e,t){u[e].setBlendConstant(u[t])},t.wbg.__wbg_setScissorRect_0af8c89e90a6e89c=function(e,t,n,r,i){u[e].setScissorRect(t>>>0,n>>>0,r>>>0,i>>>0)},t.wbg.__wbg_setStencilReference_71be0db67db2f7ab=function(e,t){u[e].setStencilReference(t>>>0)},t.wbg.__wbg_setViewport_9c5fb686baf1cf4f=function(e,t,n,r,i,a,o){u[e].setViewport(t,n,r,i,a,o)},t.wbg.__wbg_setBindGroup_ed098a3302f084a7=function(e,t,n){u[e].setBindGroup(t>>>0,u[n])},t.wbg.__wbg_setBindGroup_ce4432036922cd83=function(e,t,n,r,i,a,o){u[e].setBindGroup(t>>>0,u[n],I(r,i),a,o>>>0)},t.wbg.__wbg_draw_6357a5fbc8a6b097=function(e,t,n,r,i){u[e].draw(t>>>0,n>>>0,r>>>0,i>>>0)},t.wbg.__wbg_drawIndexed_5d1dd89d7375148c=function(e,t,n,r,i,a){u[e].drawIndexed(t>>>0,n>>>0,r>>>0,i,a>>>0)},t.wbg.__wbg_drawIndexedIndirect_526599171cfbbee5=function(e,t,n){u[e].drawIndexedIndirect(u[t],n)},t.wbg.__wbg_drawIndirect_8dd595dc622e21ac=function(e,t,n){u[e].drawIndirect(u[t],n)},t.wbg.__wbg_setIndexBuffer_1f4a86d1cc8c16d9=function(e,t,n,r){u[e].setIndexBuffer(u[t],s(n),r)},t.wbg.__wbg_setIndexBuffer_9f8493460611f96b=function(e,t,n,r,i){u[e].setIndexBuffer(u[t],s(n),r,i)},t.wbg.__wbg_setPipeline_18ce556bdea62cc5=function(e,t){u[e].setPipeline(u[t])},t.wbg.__wbg_setVertexBuffer_2a2c84d65c1063f9=function(e,t,n,r){u[e].setVertexBuffer(t>>>0,u[n],r)},t.wbg.__wbg_setVertexBuffer_176c2dff823c42c1=function(e,t,n,r,i){u[e].setVertexBuffer(t>>>0,u[n],r,i)},t.wbg.__wbg_getBindGroupLayout_dfc1b97f78c04beb=function(e,t){return f(u[e].getBindGroupLayout(t>>>0))},t.wbg.__wbg_has_8720889cf3ad610c=function(e,t,n){return u[e].has(c(t,n))},t.wbg.__wbg_maxTextureDimension1D_4d1ddb46ed9dc470=function(e){return u[e].maxTextureDimension1D},t.wbg.__wbg_maxTextureDimension2D_37a46e61490c8297=function(e){return u[e].maxTextureDimension2D},t.wbg.__wbg_maxTextureDimension3D_7e3a97204d211743=function(e){return u[e].maxTextureDimension3D},t.wbg.__wbg_maxTextureArrayLayers_fee4db585706a5eb=function(e){return u[e].maxTextureArrayLayers},t.wbg.__wbg_maxBindGroups_dc8a5f97ba653c91=function(e){return u[e].maxBindGroups},t.wbg.__wbg_maxBindingsPerBindGroup_3d5ab311420be5df=function(e){return u[e].maxBindingsPerBindGroup},t.wbg.__wbg_maxDynamicUniformBuffersPerPipelineLayout_6b839b7dc97f34f0=function(e){return u[e].maxDynamicUniformBuffersPerPipelineLayout},t.wbg.__wbg_maxDynamicStorageBuffersPerPipelineLayout_5328cd2b9d884831=function(e){return u[e].maxDynamicStorageBuffersPerPipelineLayout},t.wbg.__wbg_maxSampledTexturesPerShaderStage_ac006b00cf776b4a=function(e){return u[e].maxSampledTexturesPerShaderStage},t.wbg.__wbg_maxSamplersPerShaderStage_dc092d6a272be20a=function(e){return u[e].maxSamplersPerShaderStage},t.wbg.__wbg_maxStorageBuffersPerShaderStage_dc5b58734b9ab932=function(e){return u[e].maxStorageBuffersPerShaderStage},t.wbg.__wbg_maxStorageTexturesPerShaderStage_2fec939cb0d5bbfd=function(e){return u[e].maxStorageTexturesPerShaderStage},t.wbg.__wbg_maxUniformBuffersPerShaderStage_b30d53cbf89caeae=function(e){return u[e].maxUniformBuffersPerShaderStage},t.wbg.__wbg_maxUniformBufferBindingSize_eec576e1342504b5=function(e){return u[e].maxUniformBufferBindingSize},t.wbg.__wbg_maxStorageBufferBindingSize_1ef0cc5e43dad09b=function(e){return u[e].maxStorageBufferBindingSize},t.wbg.__wbg_minUniformBufferOffsetAlignment_3af8c32faa30c5d8=function(e){return u[e].minUniformBufferOffsetAlignment},t.wbg.__wbg_minStorageBufferOffsetAlignment_766ef8ea8f9fe6e1=function(e){return u[e].minStorageBufferOffsetAlignment},t.wbg.__wbg_maxVertexBuffers_b4d31be9e3f93990=function(e){return u[e].maxVertexBuffers},t.wbg.__wbg_maxBufferSize_2d8398a691b9a8ce=function(e){return u[e].maxBufferSize},t.wbg.__wbg_maxVertexAttributes_904c5eb19a6f6c65=function(e){return u[e].maxVertexAttributes},t.wbg.__wbg_maxVertexBufferArrayStride_6800975c373d83bc=function(e){return u[e].maxVertexBufferArrayStride},t.wbg.__wbg_maxInterStageShaderComponents_b9f179b1cde06d08=function(e){return u[e].maxInterStageShaderComponents},t.wbg.__wbg_maxComputeWorkgroupStorageSize_9318e498283b79fb=function(e){return u[e].maxComputeWorkgroupStorageSize},t.wbg.__wbg_maxComputeInvocationsPerWorkgroup_2bfea723194ac5a0=function(e){return u[e].maxComputeInvocationsPerWorkgroup},t.wbg.__wbg_maxComputeWorkgroupSizeX_91fc9ba04de4148f=function(e){return u[e].maxComputeWorkgroupSizeX},t.wbg.__wbg_maxComputeWorkgroupSizeY_9052627dce4a7d1f=function(e){return u[e].maxComputeWorkgroupSizeY},t.wbg.__wbg_maxComputeWorkgroupSizeZ_45a1a82f8446a750=function(e){return u[e].maxComputeWorkgroupSizeZ},t.wbg.__wbg_maxComputeWorkgroupsPerDimension_100ee7392cc04c20=function(e){return u[e].maxComputeWorkgroupsPerDimension},t.wbg.__wbg_createView_3e46af1f54fdcd1f=function(e,t){return f(u[e].createView(u[t]))},t.wbg.__wbg_destroy_728f676d96e34538=function(e){u[e].destroy()},t.wbg.__wbg_error_f85e77a2651e41dc=function(e){return f(u[e].error)},t.wbg.__wbg_instanceof_GpuValidationError_af2aa2e306669317=function(e){let t;try{t=u[e]instanceof GPUValidationError}catch(e){t=!1}return t},t.wbg.__wbg_new_1eead62f64ca15ce=function(){return k(function(){return f(new Headers)},arguments)},t.wbg.__wbg_get_2e9aab260014946d=function(){return k(function(e,t,n,i){let a=u[t].get(c(n,i));var o=w(a)?0:g(a,r.__wbindgen_malloc,r.__wbindgen_realloc),_=b;m()[e/4+1]=_,m()[e/4+0]=o},arguments)},t.wbg.__wbg_setwidth_a667a942dba6656e=function(e,t){u[e].width=t>>>0},t.wbg.__wbg_setheight_a747d440760fe5aa=function(e,t){u[e].height=t>>>0},t.wbg.__wbg_getContext_7c5944ea807bf5d3=function(){return k(function(e,t,n){let r=u[e].getContext(c(t,n));return w(r)?0:f(r)},arguments)},t.wbg.__wbg_objectStoreNames_774e47f8818de433=function(e){return f(u[e].objectStoreNames)},t.wbg.__wbg_setonversionchange_ee7f4abfb91cc81b=function(e,t){u[e].onversionchange=u[t]},t.wbg.__wbg_createObjectStore_40ad9287f7935c33=function(){return k(function(e,t,n){return f(u[e].createObjectStore(c(t,n)))},arguments)},t.wbg.__wbg_transaction_d6f1ef0b34b58a31=function(){return k(function(e,t,n,r){return f(u[e].transaction(c(t,n),s(r)))},arguments)},t.wbg.__wbg_open_6a08b03c958d4ad0=function(){return k(function(e,t,n,r){return f(u[e].open(c(t,n),r>>>0))},arguments)},t.wbg.__wbg_get_fc26906e5ae1ea85=function(){return k(function(e,t){return f(u[e].get(u[t]))},arguments)},t.wbg.__wbg_put_fb32824d87feec5c=function(){return k(function(e,t,n){return f(u[e].put(u[t],u[n]))},arguments)},t.wbg.__wbg_setonblocked_4311b52f166b3434=function(e,t){u[e].onblocked=u[t]},t.wbg.__wbg_setonupgradeneeded_5a39a65558c323b2=function(e,t){u[e].onupgradeneeded=u[t]},t.wbg.__wbg_result_edff16ff107d6acb=function(){return k(function(e){return f(u[e].result)},arguments)},t.wbg.__wbg_error_8a79f35fe9368563=function(){return k(function(e){let t=u[e].error;return w(t)?0:f(t)},arguments)},t.wbg.__wbg_readyState_a9f7376e6e642409=function(e){return f(u[e].readyState)},t.wbg.__wbg_setonsuccess_f518a37d8228a576=function(e,t){u[e].onsuccess=u[t]},t.wbg.__wbg_setonerror_7bf21979c5219792=function(e,t){u[e].onerror=u[t]},t.wbg.__wbg_setonabort_2b13e673d32df8bc=function(e,t){u[e].onabort=u[t]},t.wbg.__wbg_setoncomplete_97a83c9bfeb56eaf=function(e,t){u[e].oncomplete=u[t]},t.wbg.__wbg_setonerror_b7a755ab0647ce3e=function(e,t){u[e].onerror=u[t]},t.wbg.__wbg_objectStore_5a858a654147f96f=function(){return k(function(e,t,n){return f(u[e].objectStore(c(t,n)))},arguments)},t.wbg.__wbg_gpu_24536c9523d924b1=function(e){return f(u[e].gpu)},t.wbg.__wbg_get_c77649dd3862b63a=function(e,t){let n=u[e][t>>>0];return w(n)?0:f(n)},t.wbg.__wbg_setwidth_15266a5e81f43cf0=function(e,t){u[e].width=t>>>0},t.wbg.__wbg_setheight_2e9bab573f1775a6=function(e,t){u[e].height=t>>>0},t.wbg.__wbg_getReader_c9e7b98084cba41c=function(e){return f(u[e].getReader())},t.wbg.__wbg_instanceof_ReadableStreamDefaultReader_df870416942317b0=function(e){let t;try{t=u[e]instanceof ReadableStreamDefaultReader}catch(e){t=!1}return t},t.wbg.__wbg_read_b40399852b2f7b2b=function(e){return f(u[e].read())},t.wbg.__wbg_url_fda63503ced387ff=function(e,t){let n=g(u[t].url,r.__wbindgen_malloc,r.__wbindgen_realloc),i=b;m()[e/4+1]=i,m()[e/4+0]=n},t.wbg.__wbg_newwithstr_3d9bc779603a93c7=function(){return k(function(e,t){return f(new Request(c(e,t)))},arguments)},t.wbg.__wbg_newwithstrandinit_cad5cd6038c7ff5d=function(){return k(function(e,t,n){return f(new Request(c(e,t),u[n]))},arguments)},t.wbg.__wbg_instanceof_Response_fc4327dbfcdf5ced=function(e){let t;try{t=u[e]instanceof Response}catch(e){t=!1}return t},t.wbg.__wbg_status_ac85a3142a84caa2=function(e){return u[e].status},t.wbg.__wbg_ok_e3d8d84e630fd064=function(e){return u[e].ok},t.wbg.__wbg_headers_b70de86b8e989bc0=function(e){return f(u[e].headers)},t.wbg.__wbg_body_b86f372950de5b7d=function(e){let t=u[e].body;return w(t)?0:f(t)},t.wbg.__wbg_search_2ff3bb9114e0ca34=function(e,t){let n=g(u[t].search,r.__wbindgen_malloc,r.__wbindgen_realloc),i=b;m()[e/4+1]=i,m()[e/4+0]=n},t.wbg.__wbg_setsearch_16b87f04ea0e6b80=function(e,t,n){u[e].search=c(t,n)},t.wbg.__wbg_new_a76f6bcb38f791ea=function(){return k(function(e,t){return f(new URL(c(e,t)))},arguments)},t.wbg.__wbg_new_2a98b9c4a51bdc04=function(){return k(function(){return f(new URLSearchParams)},arguments)},t.wbg.__wbg_document_f7ace2b956f30a4f=function(e){let t=u[e].document;return w(t)?0:f(t)},t.wbg.__wbg_navigator_7c9103698acde322=function(e){return f(u[e].navigator)},t.wbg.__wbg_indexedDB_839701fb576f779c=function(){return k(function(e){let t=u[e].indexedDB;return w(t)?0:f(t)},arguments)},t.wbg.__wbg_fetch_336b6f0cb426b46e=function(e,t){return f(u[e].fetch(u[t]))},t.wbg.__wbg_instanceof_WorkerGlobalScope_d9d741da0fb130ce=function(e){let t;try{t=u[e]instanceof WorkerGlobalScope}catch(e){t=!1}return t},t.wbg.__wbg_navigator_41bd88b80ed4685e=function(e){return f(u[e].navigator)},t.wbg.__wbg_indexedDB_406f87676b363c82=function(){return k(function(e){let t=u[e].indexedDB;return w(t)?0:f(t)},arguments)},t.wbg.__wbg_fetch_8eaf01857a5bb21f=function(e,t){return f(u[e].fetch(u[t]))},t.wbg.__wbg_gpu_1678673f109c8aeb=function(e){return f(u[e].gpu)},t.wbg.__wbg_debug_9b8701f894da9929=function(e,t,n,r){console.debug(u[e],u[t],u[n],u[r])},t.wbg.__wbg_error_d9bce418caafb712=function(e,t,n,r){console.error(u[e],u[t],u[n],u[r])},t.wbg.__wbg_info_bb52f40b06f679de=function(e,t,n,r){console.info(u[e],u[t],u[n],u[r])},t.wbg.__wbg_log_ea7093e35e3efd07=function(e,t,n,r){console.log(u[e],u[t],u[n],u[r])},t.wbg.__wbg_warn_dfc0e0cf544a13bd=function(e,t,n,r){console.warn(u[e],u[t],u[n],u[r])},t.wbg.__wbg_get_0ee8ea3c7c984c45=function(e,t){return f(u[e][t>>>0])},t.wbg.__wbg_length_161c0d89c6535c1d=function(e){return u[e].length},t.wbg.__wbg_new_75208e29bddfd88c=function(){return f([])},t.wbg.__wbg_newnoargs_cfecb3965268594c=function(e,t){return f(Function(c(e,t)))},t.wbg.__wbg_next_586204376d2ed373=function(e){return f(u[e].next)},t.wbg.__wbg_next_b2d3366343a208b3=function(){return k(function(e){return f(u[e].next())},arguments)},t.wbg.__wbg_done_90b14d6f6eacc42f=function(e){return u[e].done},t.wbg.__wbg_value_3158be908c80a75e=function(e){return f(u[e].value)},t.wbg.__wbg_iterator_40027cdd598da26b=function(){return f(Symbol.iterator)},t.wbg.__wbg_get_3fddfed2c83f434c=function(){return k(function(e,t){return f(Reflect.get(u[e],u[t]))},arguments)},t.wbg.__wbg_call_3f093dd26d5569f8=function(){return k(function(e,t){return f(u[e].call(u[t]))},arguments)},t.wbg.__wbg_new_632630b5cec17f21=function(){return f({})},t.wbg.__wbg_set_79c308ecd9a1d091=function(e,t,n){u[e][t>>>0]=s(n)},t.wbg.__wbg_isArray_e783c41d0dd19b44=function(e){return Array.isArray(u[e])},t.wbg.__wbg_push_0239ee92f127e807=function(e,t){return u[e].push(u[t])},t.wbg.__wbg_instanceof_ArrayBuffer_9221fa854ffb71b5=function(e){let t;try{t=u[e]instanceof ArrayBuffer}catch(e){t=!1}return t},t.wbg.__wbg_instanceof_Error_5869c4f17aac9eb2=function(e){let t;try{t=u[e]instanceof Error}catch(e){t=!1}return t},t.wbg.__wbg_message_2a19bb5b62cf8e22=function(e){return f(u[e].message)},t.wbg.__wbg_name_405bb0aa047a1bf5=function(e){return f(u[e].name)},t.wbg.__wbg_toString_07f01913ec9af122=function(e){return f(u[e].toString())},t.wbg.__wbg_call_67f2111acd2dfdb6=function(){return k(function(e,t,n){return f(u[e].call(u[t],u[n]))},arguments)},t.wbg.__wbg_isSafeInteger_a23a66ee7c41b273=function(e){return Number.isSafeInteger(u[e])},t.wbg.__wbg_getTime_0e03c3f524be31ef=function(e){return u[e].getTime()},t.wbg.__wbg_getTimezoneOffset_840b552f34917133=function(e){return u[e].getTimezoneOffset()},t.wbg.__wbg_new_a9d80688888b4894=function(e){return f(new Date(u[e]))},t.wbg.__wbg_new0_7a6141101f2206da=function(){return f(new Date)},t.wbg.__wbg_instanceof_Object_4abbcd5d20d5f7df=function(e){let t;try{t=u[e]instanceof Object}catch(e){t=!1}return t},t.wbg.__wbg_entries_488960b196cfb6a5=function(e){return f(Object.entries(u[e]))},t.wbg.__wbg_toString_6eb7c1f755c00453=function(e){return f(u[e].toString())},t.wbg.__wbg_valueOf_524ec9f8b05882e8=function(e){return f(u[e].valueOf())},t.wbg.__wbg_set_961700853a212a39=function(){return k(function(e,t,n){return Reflect.set(u[e],u[t],u[n])},arguments)},t.wbg.__wbg_buffer_b914fb8b50ebbc3e=function(e){return f(u[e].buffer)},t.wbg.__wbg_stringify_865daa6fb8c83d5a=function(){return k(function(e){return f(JSON.stringify(u[e]))},arguments)},t.wbg.__wbg_new_70828a4353259d4b=function(e,t){try{var n={a:e,b:t};let i=new Promise((e,t)=>{let i=n.a;n.a=0;try{var a;return a=n.b,void r.wasm_bindgen__convert__closures__invoke2_mut__h9dfbe4ec4bdfb44f(i,a,f(e),f(t))}finally{n.a=i}});return f(i)}finally{n.a=n.b=0}},t.wbg.__wbg_resolve_5da6faf2c96fd1d5=function(e){return f(Promise.resolve(u[e]))},t.wbg.__wbg_then_f9e58f5a50f43eae=function(e,t){return f(u[e].then(u[t]))},t.wbg.__wbg_then_20a5920e447d1cb1=function(e,t,n){return f(u[e].then(u[t],u[n]))},t.wbg.__wbg_self_05040bd9523805b9=function(){return k(function(){return f(self.self)},arguments)},t.wbg.__wbg_window_adc720039f2cb14f=function(){return k(function(){return f(window.window)},arguments)},t.wbg.__wbg_globalThis_622105db80c1457d=function(){return k(function(){return f(globalThis.globalThis)},arguments)},t.wbg.__wbg_global_f56b013ed9bcf359=function(){return k(function(){return f(n.g.global)},arguments)},t.wbg.__wbg_newwithbyteoffsetandlength_0de9ee56e9f6ee6e=function(e,t,n){return f(new Uint8Array(u[e],t>>>0,n>>>0))},t.wbg.__wbg_new_b1f2d6842d615181=function(e){return f(new Uint8Array(u[e]))},t.wbg.__wbg_set_7d988c98e6ced92d=function(e,t,n){u[e].set(u[t],n>>>0)},t.wbg.__wbg_length_21c4b0ae73cba59d=function(e){return u[e].length},t.wbg.__wbg_instanceof_Uint8Array_c299a4ee232e76ba=function(e){let t;try{t=u[e]instanceof Uint8Array}catch(e){t=!1}return t},t.wbg.__wbg_newwithlength_0d03cef43b68a530=function(e){return f(new Uint8Array(e>>>0))},t.wbg.__wbg_buffer_67e624f5a0ab2319=function(e){return f(u[e].buffer)},t.wbg.__wbg_subarray_adc418253d76e2f1=function(e,t,n){return f(u[e].subarray(t>>>0,n>>>0))},t.wbg.__wbindgen_debug_string=function(e,t){let n=g(function e(t){let n;let r=typeof t;if("number"==r||"boolean"==r||null==t)return"".concat(t);if("string"==r)return'"'.concat(t,'"');if("symbol"==r){let e=t.description;return null==e?"Symbol":"Symbol(".concat(e,")")}if("function"==r){let e=t.name;return"string"==typeof e&&e.length>0?"Function(".concat(e,")"):"Function"}if(Array.isArray(t)){let n=t.length,r="[";n>0&&(r+=e(t[0]));for(let i=1;i<n;i++)r+=", "+e(t[i]);return r+"]"}let i=/\[object ([^\]]+)\]/.exec(toString.call(t));if(!(i.length>1))return toString.call(t);if("Object"==(n=i[1]))try{return"Object("+JSON.stringify(t)+")"}catch(e){return"Object"}return t instanceof Error?"".concat(t.name,": ").concat(t.message,"\n").concat(t.stack):n}(u[t]),r.__wbindgen_malloc,r.__wbindgen_realloc),i=b;m()[e/4+1]=i,m()[e/4+0]=n},t.wbg.__wbindgen_throw=function(e,t){throw Error(c(e,t))},t.wbg.__wbindgen_memory=function(){return f(r.memory)},t.wbg.__wbindgen_closure_wrapper462=function(e,t,n){return f(v(e,t,16,S))},t.wbg.__wbindgen_closure_wrapper3884=function(e,t,n){return f(v(e,t,1726,T))},t.wbg.__wbindgen_closure_wrapper3886=function(e,t,n){return f(v(e,t,1726,T))},t.wbg.__wbindgen_closure_wrapper4422=function(e,t,n){return f(v(e,t,2042,C))},t.wbg.__wbindgen_closure_wrapper4493=function(e,t,n){return f(B(e,t,2071,x))},t.wbg.__wbindgen_closure_wrapper4495=function(e,t,n){return f(B(e,t,2071,E))},t}();("string"==typeof t||"function"==typeof Request&&t instanceof Request||"function"==typeof URL&&t instanceof URL)&&(t=fetch(t));let{instance:o,module:_}=await M(await t,i);return r=o.exports,G.__wbindgen_wasm_module=_,y=null,p=null,U=null,a=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)),t.ZP=G},1882:function(e,t,n){var r,i;void 0!==(i="function"==typeof(r=function(){var e={172351395:{name:"EBML",type:"Container"},646:{name:"EBMLVersion",type:"Uint"},759:{name:"EBMLReadVersion",type:"Uint"},754:{name:"EBMLMaxIDLength",type:"Uint"},755:{name:"EBMLMaxSizeLength",type:"Uint"},642:{name:"DocType",type:"String"},647:{name:"DocTypeVersion",type:"Uint"},645:{name:"DocTypeReadVersion",type:"Uint"},108:{name:"Void",type:"Binary"},63:{name:"CRC-32",type:"Binary"},190023271:{name:"SignatureSlot",type:"Container"},16010:{name:"SignatureAlgo",type:"Uint"},16026:{name:"SignatureHash",type:"Uint"},16037:{name:"SignaturePublicKey",type:"Binary"},16053:{name:"Signature",type:"Binary"},15963:{name:"SignatureElements",type:"Container"},15995:{name:"SignatureElementList",type:"Container"},9522:{name:"SignedElement",type:"Binary"},139690087:{name:"Segment",type:"Container"},21863284:{name:"SeekHead",type:"Container"},3515:{name:"Seek",type:"Container"},5035:{name:"SeekID",type:"Binary"},5036:{name:"SeekPosition",type:"Uint"},88713574:{name:"Info",type:"Container"},13220:{name:"SegmentUID",type:"Binary"},13188:{name:"SegmentFilename",type:"String"},1882403:{name:"PrevUID",type:"Binary"},1868715:{name:"PrevFilename",type:"String"},2013475:{name:"NextUID",type:"Binary"},1999803:{name:"NextFilename",type:"String"},1092:{name:"SegmentFamily",type:"Binary"},10532:{name:"ChapterTranslate",type:"Container"},10748:{name:"ChapterTranslateEditionUID",type:"Uint"},10687:{name:"ChapterTranslateCodec",type:"Uint"},10661:{name:"ChapterTranslateID",type:"Binary"},710577:{name:"TimecodeScale",type:"Uint"},1161:{name:"Duration",type:"Float"},1121:{name:"DateUTC",type:"Date"},15273:{name:"Title",type:"String"},3456:{name:"MuxingApp",type:"String"},5953:{name:"WritingApp",type:"String"},103:{name:"Timecode",type:"Uint"},6228:{name:"SilentTracks",type:"Container"},6359:{name:"SilentTrackNumber",type:"Uint"},39:{name:"Position",type:"Uint"},43:{name:"PrevSize",type:"Uint"},35:{name:"SimpleBlock",type:"Binary"},32:{name:"BlockGroup",type:"Container"},33:{name:"Block",type:"Binary"},34:{name:"BlockVirtual",type:"Binary"},13729:{name:"BlockAdditions",type:"Container"},38:{name:"BlockMore",type:"Container"},110:{name:"BlockAddID",type:"Uint"},37:{name:"BlockAdditional",type:"Binary"},27:{name:"BlockDuration",type:"Uint"},122:{name:"ReferencePriority",type:"Uint"},123:{name:"ReferenceBlock",type:"Int"},125:{name:"ReferenceVirtual",type:"Int"},36:{name:"CodecState",type:"Binary"},13730:{name:"DiscardPadding",type:"Int"},14:{name:"Slices",type:"Container"},104:{name:"TimeSlice",type:"Container"},76:{name:"LaceNumber",type:"Uint"},77:{name:"FrameNumber",type:"Uint"},75:{name:"BlockAdditionID",type:"Uint"},78:{name:"Delay",type:"Uint"},79:{name:"SliceDuration",type:"Uint"},72:{name:"ReferenceFrame",type:"Container"},73:{name:"ReferenceOffset",type:"Uint"},74:{name:"ReferenceTimeCode",type:"Uint"},47:{name:"EncryptedBlock",type:"Binary"},106212971:{name:"Tracks",type:"Container"},46:{name:"TrackEntry",type:"Container"},87:{name:"TrackNumber",type:"Uint"},13253:{name:"TrackUID",type:"Uint"},3:{name:"TrackType",type:"Uint"},57:{name:"FlagEnabled",type:"Uint"},8:{name:"FlagDefault",type:"Uint"},5546:{name:"FlagForced",type:"Uint"},28:{name:"FlagLacing",type:"Uint"},11751:{name:"MinCache",type:"Uint"},11768:{name:"MaxCache",type:"Uint"},254851:{name:"DefaultDuration",type:"Uint"},216698:{name:"DefaultDecodedFieldDuration",type:"Uint"},209231:{name:"TrackTimecodeScale",type:"Float"},4991:{name:"TrackOffset",type:"Int"},5614:{name:"MaxBlockAdditionID",type:"Uint"},4974:{name:"Name",type:"String"},177564:{name:"Language",type:"String"},6:{name:"CodecID",type:"String"},9122:{name:"CodecPrivate",type:"Binary"},362120:{name:"CodecName",type:"String"},13382:{name:"AttachmentLink",type:"Uint"},1742487:{name:"CodecSettings",type:"String"},1785920:{name:"CodecInfoURL",type:"String"},438848:{name:"CodecDownloadURL",type:"String"},42:{name:"CodecDecodeAll",type:"Uint"},12203:{name:"TrackOverlay",type:"Uint"},5802:{name:"CodecDelay",type:"Uint"},5819:{name:"SeekPreRoll",type:"Uint"},9764:{name:"TrackTranslate",type:"Container"},9980:{name:"TrackTranslateEditionUID",type:"Uint"},9919:{name:"TrackTranslateCodec",type:"Uint"},9893:{name:"TrackTranslateTrackID",type:"Binary"},96:{name:"Video",type:"Container"},26:{name:"FlagInterlaced",type:"Uint"},5048:{name:"StereoMode",type:"Uint"},5056:{name:"AlphaMode",type:"Uint"},5049:{name:"OldStereoMode",type:"Uint"},48:{name:"PixelWidth",type:"Uint"},58:{name:"PixelHeight",type:"Uint"},5290:{name:"PixelCropBottom",type:"Uint"},5307:{name:"PixelCropTop",type:"Uint"},5324:{name:"PixelCropLeft",type:"Uint"},5341:{name:"PixelCropRight",type:"Uint"},5296:{name:"DisplayWidth",type:"Uint"},5306:{name:"DisplayHeight",type:"Uint"},5298:{name:"DisplayUnit",type:"Uint"},5299:{name:"AspectRatioType",type:"Uint"},963876:{name:"ColourSpace",type:"Binary"},1029411:{name:"GammaValue",type:"Float"},230371:{name:"FrameRate",type:"Float"},97:{name:"Audio",type:"Container"},53:{name:"SamplingFrequency",type:"Float"},14517:{name:"OutputSamplingFrequency",type:"Float"},31:{name:"Channels",type:"Uint"},15739:{name:"ChannelPositions",type:"Binary"},8804:{name:"BitDepth",type:"Uint"},98:{name:"TrackOperation",type:"Container"},99:{name:"TrackCombinePlanes",type:"Container"},100:{name:"TrackPlane",type:"Container"},101:{name:"TrackPlaneUID",type:"Uint"},102:{name:"TrackPlaneType",type:"Uint"},105:{name:"TrackJoinBlocks",type:"Container"},109:{name:"TrackJoinUID",type:"Uint"},64:{name:"TrickTrackUID",type:"Uint"},65:{name:"TrickTrackSegmentUID",type:"Binary"},70:{name:"TrickTrackFlag",type:"Uint"},71:{name:"TrickMasterTrackUID",type:"Uint"},68:{name:"TrickMasterTrackSegmentUID",type:"Binary"},11648:{name:"ContentEncodings",type:"Container"},8768:{name:"ContentEncoding",type:"Container"},4145:{name:"ContentEncodingOrder",type:"Uint"},4146:{name:"ContentEncodingScope",type:"Uint"},4147:{name:"ContentEncodingType",type:"Uint"},4148:{name:"ContentCompression",type:"Container"},596:{name:"ContentCompAlgo",type:"Uint"},597:{name:"ContentCompSettings",type:"Binary"},4149:{name:"ContentEncryption",type:"Container"},2017:{name:"ContentEncAlgo",type:"Uint"},2018:{name:"ContentEncKeyID",type:"Binary"},2019:{name:"ContentSignature",type:"Binary"},2020:{name:"ContentSigKeyID",type:"Binary"},2021:{name:"ContentSigAlgo",type:"Uint"},2022:{name:"ContentSigHashAlgo",type:"Uint"},206814059:{name:"Cues",type:"Container"},59:{name:"CuePoint",type:"Container"},51:{name:"CueTime",type:"Uint"},55:{name:"CueTrackPositions",type:"Container"},119:{name:"CueTrack",type:"Uint"},113:{name:"CueClusterPosition",type:"Uint"},112:{name:"CueRelativePosition",type:"Uint"},50:{name:"CueDuration",type:"Uint"},4984:{name:"CueBlockNumber",type:"Uint"},106:{name:"CueCodecState",type:"Uint"},91:{name:"CueReference",type:"Container"},22:{name:"CueRefTime",type:"Uint"},23:{name:"CueRefCluster",type:"Uint"},4959:{name:"CueRefNumber",type:"Uint"},107:{name:"CueRefCodecState",type:"Uint"},155296873:{name:"Attachments",type:"Container"},8615:{name:"AttachedFile",type:"Container"},1662:{name:"FileDescription",type:"String"},1646:{name:"FileName",type:"String"},1632:{name:"FileMimeType",type:"String"},1628:{name:"FileData",type:"Binary"},1710:{name:"FileUID",type:"Uint"},1653:{name:"FileReferral",type:"Binary"},1633:{name:"FileUsedStartTime",type:"Uint"},1634:{name:"FileUsedEndTime",type:"Uint"},4433776:{name:"Chapters",type:"Container"},1465:{name:"EditionEntry",type:"Container"},1468:{name:"EditionUID",type:"Uint"},1469:{name:"EditionFlagHidden",type:"Uint"},1499:{name:"EditionFlagDefault",type:"Uint"},1501:{name:"EditionFlagOrdered",type:"Uint"},54:{name:"ChapterAtom",type:"Container"},13252:{name:"ChapterUID",type:"Uint"},5716:{name:"ChapterStringUID",type:"String"},17:{name:"ChapterTimeStart",type:"Uint"},18:{name:"ChapterTimeEnd",type:"Uint"},24:{name:"ChapterFlagHidden",type:"Uint"},1432:{name:"ChapterFlagEnabled",type:"Uint"},11879:{name:"ChapterSegmentUID",type:"Binary"},11964:{name:"ChapterSegmentEditionUID",type:"Uint"},9155:{name:"ChapterPhysicalEquiv",type:"Uint"},15:{name:"ChapterTrack",type:"Container"},9:{name:"ChapterTrackNumber",type:"Uint"},0:{name:"ChapterDisplay",type:"Container"},5:{name:"ChapString",type:"String"},892:{name:"ChapLanguage",type:"String"},894:{name:"ChapCountry",type:"String"},10564:{name:"ChapProcess",type:"Container"},10581:{name:"ChapProcessCodecID",type:"Uint"},1293:{name:"ChapProcessPrivate",type:"Binary"},10513:{name:"ChapProcessCommand",type:"Container"},10530:{name:"ChapProcessTime",type:"Uint"},10547:{name:"ChapProcessData",type:"Binary"},39109479:{name:"Tags",type:"Container"},13171:{name:"Tag",type:"Container"},9152:{name:"Targets",type:"Container"},10442:{name:"TargetTypeValue",type:"Uint"},9162:{name:"TargetType",type:"String"},9157:{name:"TagTrackUID",type:"Uint"},9161:{name:"TagEditionUID",type:"Uint"},9156:{name:"TagChapterUID",type:"Uint"},9158:{name:"TagAttachmentUID",type:"Uint"},10184:{name:"SimpleTag",type:"Container"},1443:{name:"TagName",type:"String"},1146:{name:"TagLanguage",type:"String"},1156:{name:"TagDefault",type:"Uint"},1159:{name:"TagString",type:"String"},1157:{name:"TagBinary",type:"Binary"}};function t(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e}function n(e,t){this.name=e||"Unknown",this.type=t||"Unknown"}function r(e,t){n.call(this,e,t||"Uint")}function i(e){return e.length%2==1?"0"+e:e}function a(e,t){n.call(this,e,t||"Float")}function o(e,t){n.call(this,e,t||"Container")}function c(e){o.call(this,"File","File"),this.setSource(e)}function u(e,t,n,r){if("object"==typeof n&&(r=n,n=void 0),!n)return new Promise(function(n){u(e,t,n,r)});try{var i=new FileReader;i.onloadend=function(){try{var a=new c(new Uint8Array(i.result));a.fixDuration(t,r)&&(e=a.toBlob(e.type))}catch(e){}n(e)},i.readAsArrayBuffer(e)}catch(t){n(e)}}return n.prototype.updateBySource=function(){},n.prototype.setSource=function(e){this.source=e,this.updateBySource()},n.prototype.updateByData=function(){},n.prototype.setData=function(e){this.data=e,this.updateByData()},t(r,n),r.prototype.updateBySource=function(){this.data="";for(var e=0;e<this.source.length;e++){var t=this.source[e].toString(16);this.data+=i(t)}},r.prototype.updateByData=function(){var e=this.data.length/2;this.source=new Uint8Array(e);for(var t=0;t<e;t++){var n=this.data.substr(2*t,2);this.source[t]=parseInt(n,16)}},r.prototype.getValue=function(){return parseInt(this.data,16)},r.prototype.setValue=function(e){this.setData(i(e.toString(16)))},t(a,n),a.prototype.getFloatArrayType=function(){return this.source&&4===this.source.length?Float32Array:Float64Array},a.prototype.updateBySource=function(){var e=this.source.reverse(),t=new(this.getFloatArrayType())(e.buffer);this.data=t[0]},a.prototype.updateByData=function(){var e=new(this.getFloatArrayType())([this.data]),t=new Uint8Array(e.buffer);this.source=t.reverse()},a.prototype.getValue=function(){return this.data},a.prototype.setValue=function(e){this.setData(e)},t(o,n),o.prototype.readByte=function(){return this.source[this.offset++]},o.prototype.readUint=function(){for(var e=this.readByte(),t=8-e.toString(2).length,n=e-(1<<7-t),r=0;r<t;r++)n*=256,n+=this.readByte();return n},o.prototype.updateBySource=function(){for(this.data=[],this.offset=0;this.offset<this.source.length;this.offset=c){var t=this.readUint(),i=this.readUint(),c=Math.min(this.offset+i,this.source.length),u=this.source.slice(this.offset,c),_=e[t]||{name:"Unknown",type:"Unknown"},f=n;switch(_.type){case"Container":f=o;break;case"Uint":f=r;break;case"Float":f=a}var s=new f(_.name,_.type);s.setSource(u),this.data.push({id:t,idHex:t.toString(16),data:s})}},o.prototype.writeUint=function(e,t){for(var n=1,r=128;e>=r&&n<8;n++,r*=128);if(!t)for(var i=r+e,a=n-1;a>=0;a--){var o=i%256;this.source[this.offset+a]=o,i=(i-o)/256}this.offset+=n},o.prototype.writeSections=function(e){this.offset=0;for(var t=0;t<this.data.length;t++){var n=this.data[t],r=n.data.source,i=r.length;this.writeUint(n.id,e),this.writeUint(i,e),e||this.source.set(r,this.offset),this.offset+=i}return this.offset},o.prototype.updateByData=function(){var e=this.writeSections("draft");this.source=new Uint8Array(e),this.writeSections()},o.prototype.getSectionById=function(e){for(var t=0;t<this.data.length;t++){var n=this.data[t];if(n.id===e)return n.data}return null},t(c,o),c.prototype.fixDuration=function(e,t){var n=t&&t.logger;void 0===n?n=function(e){console.log(e)}:n||(n=function(){});var r=this.getSectionById(139690087);if(!r)return n("[fix-webm-duration] Segment section is missing"),!1;var i=r.getSectionById(88713574);if(!i)return n("[fix-webm-duration] Info section is missing"),!1;var o=i.getSectionById(710577);if(!o)return n("[fix-webm-duration] TimecodeScale section is missing"),!1;var c=i.getSectionById(1161);if(c){if(!(0>=c.getValue()))return n("[fix-webm-duration] Duration section is present"),!1;n("[fix-webm-duration] Duration section is present, but the value is empty"),c.setValue(e)}else n("[fix-webm-duration] Duration section is missing"),(c=new a("Duration","Float")).setValue(e),i.data.push({id:1161,data:c});return o.setValue(1e6),i.updateByData(),r.updateByData(),this.updateByData(),!0},c.prototype.toBlob=function(e){return new Blob([this.source.buffer],{type:e||"video/webm"})},u.default=u,u})?r.call(t,n,t,e):r)&&(e.exports=i)},7337:function(e,t,n){var r,i;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(i=n.g.process)?void 0:i.env)?n.g.process:n(1071)},1071:function(e){!function(){var t={229:function(e){var t,n,r,i=e.exports={};function a(){throw Error("setTimeout has not been defined")}function o(){throw Error("clearTimeout has not been defined")}function c(e){if(t===setTimeout)return setTimeout(e,0);if((t===a||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:a}catch(e){t=a}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var u=[],_=!1,f=-1;function s(){_&&r&&(_=!1,r.length?u=r.concat(u):f=-1,u.length&&b())}function b(){if(!_){var e=c(s);_=!0;for(var t=u.length;t;){for(r=u,u=[];++f<t;)r&&r[f].run();f=-1,t=u.length}r=null,_=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function l(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new d(e,t)),1!==u.length||_||c(b)},d.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=l,i.addListener=l,i.once=l,i.off=l,i.removeListener=l,i.removeAllListeners=l,i.emit=l,i.prependListener=l,i.prependOnceListener=l,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var a=n[e]={exports:{}},o=!0;try{t[e](a,a.exports,r),o=!1}finally{o&&delete n[e]}return a.exports}r.ab="//";var i=r(229);e.exports=i}()},8077:function(e,t,n){n.d(t,{Z:function(){return I}});var r=n(4209),i=n(303),a=n(2948),o=n.n(a),c=!1,u={get passive(){c=!0;return}};window.addEventListener("testPassive",null,u),window.removeEventListener("testPassive",null,u);var _=window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),f=[],s=!1,b=-1,d=void 0,l=void 0,g=function(e){return f.some(function(t){return!!(t.options.allowTouchMove&&t.options.allowTouchMove(e))})},w=function(e){var t=e||window.event;return!!g(t.target)||t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1)},p=function(e){if(void 0===l){var t=!!e&&!0===e.reserveScrollBarGap,n=window.innerWidth-document.documentElement.clientWidth;t&&n>0&&(l=document.body.style.paddingRight,document.body.style.paddingRight=n+"px")}void 0===d&&(d=document.body.style.overflow,document.body.style.overflow="hidden")},m=function(){void 0!==l&&(document.body.style.paddingRight=l,l=void 0),void 0!==d&&(document.body.style.overflow=d,d=void 0)},y=function(e,t){var n=e.targetTouches[0].clientY-b;return!g(e.target)&&(t&&0===t.scrollTop&&n>0?w(e):t&&t.scrollHeight-t.scrollTop<=t.clientHeight&&n<0?w(e):(e.stopPropagation(),!0))},h=function(e,t){if(!e){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}!f.some(function(t){return t.targetElement===e})&&(f=[].concat(function(e){if(!Array.isArray(e))return Array.from(e);for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}(f),[{targetElement:e,options:t||{}}]),_?(e.ontouchstart=function(e){1===e.targetTouches.length&&(b=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&y(t,e)},s||(document.addEventListener("touchmove",w,c?{passive:!1}:void 0),s=!0)):p(t))},v=function(e){if(!e){console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");return}f=f.filter(function(t){return t.targetElement!==e}),_?(e.ontouchstart=null,e.ontouchmove=null,s&&0===f.length&&(document.removeEventListener("touchmove",w,c?{passive:!1}:void 0),s=!1)):f.length||m()};function S(){return(S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n(7337);var T=function(e){var t=e.classes,n=e.classNames,i=e.styles,a=e.id,c=e.closeIcon,u=e.onClick;return r.createElement("button",{id:a,className:o()(t.closeButton,null==n?void 0:n.closeButton),style:null==i?void 0:i.closeButton,onClick:u,"data-testid":"close-button"},c||r.createElement("svg",{className:null==n?void 0:n.closeIcon,style:null==i?void 0:i.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"})))},C=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'];function B(e){for(var t=document.activeElement,n=e.querySelectorAll(C.join(",")),r=[],i=0;i<n.length;i++){var a=n[i];(t===a||!a.disabled&&function(e){var t=parseInt(e.getAttribute("tabindex"),10);return isNaN(t)?e.getAttribute("contentEditable")?0:e.tabIndex:t}(a)>-1&&!(null===a.offsetParent||"hidden"===getComputedStyle(a).visibility)&&function(e){if("INPUT"!==e.tagName||"radio"!==e.type||!e.name)return!0;var t=(e.form||e.ownerDocument).querySelectorAll('input[type="radio"][name="'+e.name+'"]'),n=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return n===e||void 0===n&&t[0]===e}(a))&&r.push(a)}return r}var x=function(e){var t=e.container,n=e.initialFocusRef,i=(0,r.useRef)();return(0,r.useEffect)(function(){var e=function(e){(null==t?void 0:t.current)&&function(e,t){if(e&&"Tab"===e.key&&t&&t.contains&&t.contains(e.target)){var n=B(t),r=n[0],i=n[n.length-1];e.shiftKey&&e.target===r?(i.focus(),e.preventDefault()):e.shiftKey||e.target!==i||(r.focus(),e.preventDefault())}}(e,t.current)};if(document.addEventListener("keydown",e),null==t?void 0:t.current){var r=function(){-1!==C.findIndex(function(e){var t;return null==(t=document.activeElement)?void 0:t.matches(e)})&&(i.current=document.activeElement)};if(n)r(),requestAnimationFrame(function(){var e;null==(e=n.current)||e.focus()});else{var a=B(t.current);a[0]&&(r(),a[0].focus())}}return function(){var t;document.removeEventListener("keydown",e),null==(t=i.current)||t.focus()}},[t,n]),null},E=[],U={add:function(e){E.push(e)},remove:function(e){E=E.filter(function(t){return t!==e})},isTopModal:function(e){return!!E.length&&E[E.length-1]===e}},D=function(e,t,n,i,a){var o=(0,r.useRef)(null);(0,r.useEffect)(function(){return t&&e.current&&i&&(o.current=e.current,h(e.current,{reserveScrollBarGap:a})),function(){o.current&&(v(o.current),o.current=null)}},[t,n,e,i,a])},k={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"},I=r.forwardRef(function(e,t){var n,a,c,u,_=e.open,f=e.center,s=e.blockScroll,b=e.closeOnEsc,d=void 0===b||b,l=e.closeOnOverlayClick,g=void 0===l||l,w=e.container,p=e.showCloseIcon,m=e.closeIconId,y=e.closeIcon,h=e.focusTrapped,v=e.initialFocusRef,C=e.animationDuration,B=void 0===C?300:C,E=e.classNames,I=e.styles,R=e.role,A=e.ariaDescribedby,P=e.ariaLabelledby,L=e.containerId,F=e.modalId,O=e.onClose,W=e.onEscKeyDown,M=e.onOverlayClick,G=e.onAnimationEnd,z=e.children,V=e.reserveScrollBarGap,N=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{isStateful:!0},n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,[t,n]=r.useState(e),{current:i}=r.useRef({current:t});return Object.defineProperty(i,"current",{get:()=>t,set:e=>{Object.is(t,e)||(t=e,n(e))}}),i}(null),i=(0,r.useRef)(null),a=t.isStateful?n:i;return r.useEffect(()=>{e&&("function"==typeof e?e(a.current):e.current=a.current)}),a}(t),j=(0,r.useRef)(null),q=(0,r.useRef)(null),H=(0,r.useRef)(null);null===H.current&&(H.current=document.createElement("div"));var X=(0,r.useState)(!1),Q=X[0],K=X[1];(0,r.useEffect)(function(){return _&&U.add(j),function(){U.remove(j)}},[_,j]),D(j,_,Q,void 0===s||s,V);var J=function(){!H.current||w||document.body.contains(H.current)||document.body.appendChild(H.current),document.addEventListener("keydown",Z)},Y=function(){H.current&&!w&&document.body.contains(H.current)&&document.body.removeChild(H.current),document.removeEventListener("keydown",Z)},Z=function(e){27===e.keyCode&&U.isTopModal(j)&&(null==W||W(e),d&&O())};(0,r.useEffect)(function(){return function(){Q&&Y()}},[Q]),(0,r.useEffect)(function(){_&&!Q&&(K(!0),J())},[_]);var $=function(){q.current=!1},ee=w||H.current,et=_?null!=(n=null==E?void 0:E.overlayAnimationIn)?n:k.overlayAnimationIn:null!=(a=null==E?void 0:E.overlayAnimationOut)?a:k.overlayAnimationOut,en=_?null!=(c=null==E?void 0:E.modalAnimationIn)?c:k.modalAnimationIn:null!=(u=null==E?void 0:E.modalAnimationOut)?u:k.modalAnimationOut;return Q&&ee?i.createPortal(r.createElement("div",{className:o()(k.root,null==E?void 0:E.root),style:null==I?void 0:I.root,"data-testid":"root"},r.createElement("div",{className:o()(k.overlay,null==E?void 0:E.overlay),"data-testid":"overlay","aria-hidden":!0,style:S({animation:et+" "+B+"ms"},null==I?void 0:I.overlay)}),r.createElement("div",{ref:j,id:L,className:o()(k.modalContainer,f&&k.modalContainerCenter,null==E?void 0:E.modalContainer),style:null==I?void 0:I.modalContainer,"data-testid":"modal-container",onClick:function(e){if(null===q.current&&(q.current=!0),!q.current){q.current=null;return}null==M||M(e),g&&O(),q.current=null}},r.createElement("div",{ref:N,className:o()(k.modal,null==E?void 0:E.modal),style:S({animation:en+" "+B+"ms"},null==I?void 0:I.modal),onMouseDown:$,onMouseUp:$,onClick:$,onAnimationEnd:function(){_||K(!1),null==G||G()},id:F,role:void 0===R?"dialog":R,"aria-modal":"true","aria-labelledby":P,"aria-describedby":A,"data-testid":"modal",tabIndex:-1},(void 0===h||h)&&r.createElement(x,{container:N,initialFocusRef:void 0===v?void 0:v}),z,(void 0===p||p)&&r.createElement(T,{classes:k,classNames:E,styles:I,closeIcon:y,onClick:O,id:m})))),ee):null})},2948:function(e,t){var n;!/*!
	Copyright (c) 2018 Jed Watson.
	Licensed under the MIT License (MIT), see
	http://jedwatson.github.io/classnames
*/function(){var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}(n)))}return e}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0!==(n=(function(){return i}).apply(t,[]))&&(e.exports=n)}()}}]);