(()=>{var __webpack_modules__={7552:(e,t,r)=>{e.exports=r(5697)},2169:(e,t,r)=>{e.exports=r(4608)},2250:(e,t,r)=>{e.exports=r(4731)},973:(e,t,r)=>{e.exports=r(9233)},8327:function(e,t){var r,n=(r="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0,"undefined"!=typeof __filename&&(r=r||__filename),function(e){var t,n=void 0!==(e=e||{})?e:{},i={};for(t in n)n.hasOwnProperty(t)&&(i[t]=n[t]);var o,a,s=[],u=!1,c=!1;u="object"==typeof window,c="function"==typeof importScripts,o="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node&&!u&&!c,a=!u&&!o&&!c;var f,l,p,d,v="";o?(v=__dirname+"/",f=function(e,t){return p||(p=require("fs")),d||(d=require("path")),e=d.normalize(e),p.readFileSync(e,t?null:"utf8")},l=function(e){var t=f(e,!0);return t.buffer||(t=new Uint8Array(t)),b(t.buffer),t},process.argv.length>1&&process.argv[1].replace(/\\/g,"/"),s=process.argv.slice(2),process.on("uncaughtException",(function(e){if(!(e instanceof Dt))throw e})),process.on("unhandledRejection",Y),n.inspect=function(){return"[Emscripten Module object]"}):a?("undefined"!=typeof read&&(f=function(e){return read(e)}),l=function(e){var t;return"function"==typeof readbuffer?new Uint8Array(readbuffer(e)):(b("object"==typeof(t=read(e,"binary"))),t)},"undefined"!=typeof scriptArgs?s=scriptArgs:void 0!==arguments&&(s=arguments),"undefined"!=typeof print&&("undefined"==typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeof printErr?printErr:print)):(u||c)&&(c?v=self.location.href:document.currentScript&&(v=document.currentScript.src),r&&(v=r),v=0!==v.indexOf("blob:")?v.substr(0,v.lastIndexOf("/")+1):"",f=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},c&&(l=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}));var m=n.print||console.log.bind(console),h=n.printErr||console.warn.bind(console);for(t in i)i.hasOwnProperty(t)&&(n[t]=i[t]);i=null,n.arguments&&(s=n.arguments),n.thisProgram&&n.thisProgram,n.quit&&n.quit;var y,g;n.wasmBinary&&(y=n.wasmBinary),n.noExitRuntime&&n.noExitRuntime,"object"!=typeof WebAssembly&&h("no native wasm support detected");var _=new WebAssembly.Table({initial:181,maximum:181,element:"anyfunc"}),w=!1;function b(e,t){e||Y("Assertion failed: "+t)}function T(e){var t=n["_"+e];return b(t,"Cannot call unknown function "+e+", make sure it is exported"),t}var C="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function x(e,t,r){for(var n=t+r,i=t;e[i]&&!(i>=n);)++i;if(i-t>16&&e.subarray&&C)return C.decode(e.subarray(t,i));for(var o="";t>10,56320|1023&c)}}else o+=String.fromCharCode((31&a)<<6|s)}else o+=String.fromCharCode(a)}return o}function P(e,t){return e?x(S,e,t):""}function $(e,t,r){return function(e,t,r,n){if(!(n>0))return 0;for(var i=r,o=r+n-1,a=0;a=55296&&s<=57343&&(s=65536+((1023&s)<<10)|1023&e.charCodeAt(++a)),s<=127){if(r>=o)break;t[r++]=s}else if(s<=2047){if(r+1>=o)break;t[r++]=192|s>>6,t[r++]=128|63&s}else if(s<=65535){if(r+2>=o)break;t[r++]=224|s>>12,t[r++]=128|s>>6&63,t[r++]=128|63&s}else{if(r+3>=o)break;t[r++]=240|s>>18,t[r++]=128|s>>12&63,t[r++]=128|s>>6&63,t[r++]=128|63&s}}return t[r]=0,r-i}(e,S,t,r)}"undefined"!=typeof TextDecoder&&new TextDecoder("utf-16le");var A,k,S,E,j,O,F,R,W;function I(e,t){return e%t>0&&(e+=t-e%t),e}function D(e){A=e,n.HEAP8=k=new Int8Array(e),n.HEAP16=E=new Int16Array(e),n.HEAP32=O=new Int32Array(e),n.HEAPU8=S=new Uint8Array(e),n.HEAPU16=j=new Uint16Array(e),n.HEAPU32=F=new Uint32Array(e),n.HEAPF32=R=new Float32Array(e),n.HEAPF64=W=new Float64Array(e)}var U=n.TOTAL_MEMORY||1073741824;function M(e){for(;e.length>0;){var t=e.shift();if("function"!=typeof t){var r=t.func;"number"==typeof r?void 0===t.arg?n.dynCall_v(r):n.dynCall_vi(r,t.arg):r(void 0===t.arg?null:t.arg)}else t()}}(g=n.wasmMemory?n.wasmMemory:new WebAssembly.Memory({initial:U/65536}))&&(A=g.buffer),U=A.byteLength,D(A),O[11512]=5289088;var z=[],N=[],q=[],B=[],L=[];function V(e){z.unshift(e)}function H(e){L.unshift(e)}Math.abs,Math.ceil,Math.floor,Math.min;var G=0,Z=null,X=null;function Y(e){throw n.onAbort&&n.onAbort(e),m(e+=""),h(e),w=!0,e="abort("+e+"). Build with -s ASSERTIONS=1 for more info.",new WebAssembly.RuntimeError(e)}n.preloadedImages={},n.preloadedAudios={};var J="data:application/octet-stream;base64,";function K(e){return String.prototype.startsWith?e.startsWith(J):0===e.indexOf(J)}var Q="charlswasm_decode.wasm";function ee(){try{if(y)return new Uint8Array(y);if(l)return l(Q);throw"both async and sync fetching of the wasm failed"}catch(e){Y(e)}}function te(e,t){B.unshift({func:e,arg:t})}K(Q)||(Q=function(e){return n.locateFile?n.locateFile(e,v):v+e}(Q)),N.push({func:function(){St()}});var re={};var ne={};function ie(e){for(;e.length;){var t=e.pop();e.pop()(t)}}function oe(e){return this.fromWireType(F[e>>2])}var ae={},se={},ue={},ce=48,fe=57;function le(e){if(void 0===e)return"_unknown";var t=(e=e.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return t>=ce&&t<=fe?"_"+e:e}function pe(e,t){return e=le(e),new Function("body","return function "+e+'() {\n "use strict"; return body.apply(this, arguments);\n};\n')(t)}function de(e,t){var r=pe(t,(function(e){this.name=t,this.message=e;var r=new Error(e).stack;void 0!==r&&(this.stack=this.toString()+"\n"+r.replace(/^Error(:[^\n]*)?\n/,""))}));return r.prototype=Object.create(e.prototype),r.prototype.constructor=r,r.prototype.toString=function(){return void 0===this.message?this.name:this.name+": "+this.message},r}var ve=void 0;function me(e){throw new ve(e)}function he(e,t,r){function n(t){var n=r(t);n.length!==e.length&&me("Mismatched type converter count");for(var i=0;i>2)+n]);return r}function ft(e,t,r,n,i){var o=t.length;o<2&&be("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var a=null!==t[1]&&null!==r,s=!1,u=1;u0?", ":"")+l),p+=(c?"var rv = ":"")+"invoker(fn"+(l.length>0?", ":"")+l+");\n",s)p+="runDestructors(destructors);\n";else for(u=a?1:2;u4&&0==--pt[e].refcount&&(pt[e]=void 0,lt.push(e))}function vt(){for(var e=0,t=5;t>2])};case 3:return function(e){return this.fromWireType(W[e>>3])};default:throw new TypeError("Unknown float type: "+e)}}function _t(e,t,r){switch(t){case 0:return r?function(e){return k[e]}:function(e){return S[e]};case 1:return r?function(e){return E[e>>1]}:function(e){return j[e>>1]};case 2:return r?function(e){return O[e>>2]}:function(e){return F[e>>2]};default:throw new TypeError("Unknown integer type: "+e)}}var wt={};function bt(){return"object"==typeof globalThis?globalThis:Function("return this")()}function Tt(e,t){var r=se[e];return void 0===r&&be(t+" has unknown type "+st(e)),r}function Ct(e){for(var t="",r=0;r> 2) + "+r+'], "parameter '+r+'");\nvar arg'+r+" = argType"+r+".readValueFromPointer(args);\nargs += argType"+r+"['argPackAdvance'];\n";return i+="var obj = new constructor("+t+");\nreturn __emval_register(obj);\n}\n",new Function("requireRegisteredType","Module","__emval_register",i)(Tt,n,ht)}var xt={};var Pt={buffers:[null,[],[]],printChar:function(e,t){var r=Pt.buffers[e];0===t||10===t?((1===e?m:h)(x(r,0)),r.length=0):r.push(t)},varargs:0,get:function(e){return Pt.varargs+=4,O[Pt.varargs-4>>2]},getStr:function(){return P(Pt.get())},get64:function(){var e=Pt.get();return Pt.get(),e},getZero:function(){Pt.get()}};ve=n.InternalError=de(Error,"InternalError"),function(){for(var e=new Array(256),t=0;t<256;++t)e[t]=String.fromCharCode(t);ge=e}(),we=n.BindingError=de(Error,"BindingError"),De.prototype.isAliasOf=Ce,De.prototype.clone=Ee,De.prototype.delete=je,De.prototype.isDeleted=Oe,De.prototype.deleteLater=Ie,nt.prototype.getPointee=He,nt.prototype.destructor=Ge,nt.prototype.argPackAdvance=8,nt.prototype.readValueFromPointer=oe,nt.prototype.deleteObject=Ze,nt.prototype.fromWireType=rt,n.getInheritedInstanceCount=Ye,n.getLiveInheritedInstances=Je,n.flushPendingDeletes=We,n.setDelayFunction=Ke,at=n.UnboundTypeError=de(Error,"UnboundTypeError"),n.count_emval_handles=vt,n.get_first_emval=mt;var $t={__cxa_allocate_exception:function(e){return Et(e)},__cxa_atexit:function(){return te.apply(null,arguments)},__cxa_thread_atexit:function(){return te.apply(null,arguments)},__cxa_throw:function(e,t,r){throw re[e]={ptr:e,adjusted:[e],type:t,destructor:r,refcount:0,caught:!1,rethrown:!1},"uncaught_exception"in jt?jt.uncaught_exceptions++:jt.uncaught_exceptions=1,e},_embind_finalize_value_object:function(e){var t=ne[e];delete ne[e];var r=t.rawConstructor,n=t.rawDestructor,i=t.fields;he([e],i.map((function(e){return e.getterReturnType})).concat(i.map((function(e){return e.setterArgumentType}))),(function(e){var o={};return i.forEach((function(t,r){var n=t.fieldName,a=e[r],s=t.getter,u=t.getterContext,c=e[r+i.length],f=t.setter,l=t.setterContext;o[n]={read:function(e){return a.fromWireType(s(u,e))},write:function(e,t){var r=[];f(l,e,c.toWireType(r,t)),ie(r)}}})),[{name:t.name,fromWireType:function(e){var t={};for(var r in o)t[r]=o[r].read(e);return n(e),t},toWireType:function(e,t){for(var i in o)if(!(i in t))throw new TypeError("Missing field");var a=r();for(i in o)o[i].write(a,t[i]);return null!==e&&e.push(n,a),a},argPackAdvance:8,readValueFromPointer:oe,destructorFunction:n}]}))},_embind_register_bool:function(e,t,r,n,i){var o=ye(r);Te(e,{name:t=_e(t),fromWireType:function(e){return!!e},toWireType:function(e,t){return t?n:i},argPackAdvance:8,readValueFromPointer:function(e){var n;if(1===r)n=k;else if(2===r)n=E;else{if(4!==r)throw new TypeError("Unknown boolean type size: "+t);n=O}return this.fromWireType(n[e>>o])},destructorFunction:null})},_embind_register_class:function(e,t,r,n,i,o,a,s,u,c,f,l,p){f=_e(f),o=ot(i,o),s&&(s=ot(a,s)),c&&(c=ot(u,c)),p=ot(l,p);var d=le(f);ze(d,(function(){ut("Cannot construct "+f+" due to unbound types",[n])})),he([e,t,r],n?[n]:[],(function(t){var r,i;t=t[0],i=n?(r=t.registeredClass).instancePrototype:De.prototype;var a=pe(d,(function(){if(Object.getPrototypeOf(this)!==u)throw new we("Use 'new' to construct "+f);if(void 0===l.constructor_body)throw new we(f+" has no accessible constructor");var e=l.constructor_body[arguments.length];if(void 0===e)throw new we("Tried to invoke ctor of "+f+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(l.constructor_body).toString()+") parameters instead!");return e.apply(this,arguments)})),u=Object.create(i,{constructor:{value:a}});a.prototype=u;var l=new Ne(f,a,u,p,r,o,s,c),v=new nt(f,l,!0,!1,!1),m=new nt(f+"*",l,!1,!1,!1),h=new nt(f+" const*",l,!1,!0,!1);return Ue[e]={pointerType:m,constPointerType:h},it(d,a),[v,m,h]}))},_embind_register_class_constructor:function(e,t,r,n,i,o){b(t>0);var a=ct(t,r);i=ot(n,i);var s=[o],u=[];he([],[e],(function(e){var r="constructor "+(e=e[0]).name;if(void 0===e.registeredClass.constructor_body&&(e.registeredClass.constructor_body=[]),void 0!==e.registeredClass.constructor_body[t-1])throw new we("Cannot register multiple constructors with identical number of parameters ("+(t-1)+") for class '"+e.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");return e.registeredClass.constructor_body[t-1]=function(){ut("Cannot construct "+e.name+" due to unbound types",a)},he([],a,(function(n){return e.registeredClass.constructor_body[t-1]=function(){arguments.length!==t-1&&be(r+" called with "+arguments.length+" arguments, expected "+(t-1)),u.length=0,s.length=t;for(var e=1;e>>s}}var u=-1!=t.indexOf("unsigned");Te(e,{name:t,fromWireType:a,toWireType:function(e,r){if("number"!=typeof r&&"boolean"!=typeof r)throw new TypeError('Cannot convert "'+yt(r)+'" to '+this.name);if(ri)throw new TypeError('Passing a number "'+yt(r)+'" from JS side to C/C++ side to an argument of type "'+t+'", which is outside the valid range ['+n+", "+i+"]!");return u?r>>>0:0|r},argPackAdvance:8,readValueFromPointer:_t(t,o,0!==n),destructorFunction:null})},_embind_register_memory_view:function(e,t,r){var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][t];function i(e){var t=F,r=t[e>>=2],i=t[e+1];return new n(t.buffer,i,r)}Te(e,{name:r=_e(r),fromWireType:i,argPackAdvance:8,readValueFromPointer:i},{ignoreDuplicateRegistrations:!0})},_embind_register_std_string:function(e,t){var r="std::string"===(t=_e(t));Te(e,{name:t,fromWireType:function(e){var t,n=F[e>>2];if(r){var i=S[e+4+n],o=0;0!=i&&(o=i,S[e+4+n]=0);for(var a=e+4,s=0;s<=n;++s){var u=e+4+s;if(0==S[u]){var c=P(a);void 0===t?t=c:(t+=String.fromCharCode(0),t+=c),a=u+1}}0!=o&&(S[e+4+n]=o)}else{var f=new Array(n);for(s=0;s=55296&&n<=57343&&(n=65536+((1023&n)<<10)|1023&e.charCodeAt(++r)),n<=127?++t:t+=n<=2047?2:n<=65535?3:4}return t}(t)}:function(){return t.length})(),o=Et(4+i+1);if(F[o>>2]=i,r&&n)$(t,o+4,i+1);else if(n)for(var a=0;a255&&(Ot(o),be("String has UTF-16 code units that do not fit in 8 bits")),S[o+4+a]=s}else for(a=0;a>2],o=new Array(r),a=e+4>>i,s=0;s>2]=o;for(var u=a+4>>i,c=0;c4&&(pt[e].refcount+=1)},_emval_new:function(e,t,r,n){e=function(e){return e||be("Cannot use deleted val. handle = "+e),pt[e].value}(e);var i=xt[t];return i||(i=Ct(t),xt[t]=i),i(e,r,n)},_emval_take_value:function(e,t){return ht((e=Tt(e,"_emval_take_value")).readValueFromPointer(t))},abort:function(){Y()},emscripten_get_sbrk_ptr:function(){return 46048},emscripten_memcpy_big:function(e,t,r){S.set(S.subarray(t,t+r),e)},emscripten_resize_heap:function(e){var t=k.length,r=2147418112;if(e>r)return!1;for(var n=Math.max(t,16777216);n>16),D(g.buffer),1}catch(e){}}(n)},fd_close:function(e){try{return 0}catch(e){return"undefined"!=typeof FS&&e instanceof FS.ErrnoError||Y(e),e.errno}},fd_seek:function(e,t,r,n,i){try{return 0}catch(e){return"undefined"!=typeof FS&&e instanceof FS.ErrnoError||Y(e),e.errno}},fd_write:function(e,t,r,n){try{for(var i=0,o=0;o>2],s=O[t+(8*o+4)>>2],u=0;u>2]=i,0}catch(e){return"undefined"!=typeof FS&&e instanceof FS.ErrnoError||Y(e),e.errno}},memory:g,setTempRet0:function(e){},table:_},At=function(){var e={env:$t,wasi_snapshot_preview1:$t};function t(e,t){var r=e.exports;n.asm=r,function(e){if(G--,n.monitorRunDependencies&&n.monitorRunDependencies(G),0==G&&(null!==Z&&(clearInterval(Z),Z=null),X)){var t=X;X=null,t()}}()}function r(e){t(e.instance)}function i(t){return(y||!u&&!c||"function"!=typeof fetch?new Promise((function(e,t){e(ee())})):fetch(Q,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load wasm binary file at '"+Q+"'";return e.arrayBuffer()})).catch((function(){return ee()}))).then((function(t){return WebAssembly.instantiate(t,e)})).then(t,(function(e){h("failed to asynchronously prepare wasm: "+e),Y(e)}))}if(G++,n.monitorRunDependencies&&n.monitorRunDependencies(G),n.instantiateWasm)try{return n.instantiateWasm(e,t)}catch(e){return h("Module.instantiateWasm callback failed with error: "+e),!1}return function(){if(y||"function"!=typeof WebAssembly.instantiateStreaming||K(Q)||"function"!=typeof fetch)return i(r);fetch(Q,{credentials:"same-origin"}).then((function(t){return WebAssembly.instantiateStreaming(t,e).then(r,(function(e){h("wasm streaming compile failed: "+e),h("falling back to ArrayBuffer instantiation"),i(r)}))}))}(),{}}();n.asm=At;var kt,St=n.___wasm_call_ctors=function(){return n.asm.__wasm_call_ctors.apply(null,arguments)},Et=n._malloc=function(){return n.asm.malloc.apply(null,arguments)},jt=(n._setThrew=function(){return n.asm.setThrew.apply(null,arguments)},n.__ZSt18uncaught_exceptionv=function(){return n.asm._ZSt18uncaught_exceptionv.apply(null,arguments)}),Ot=n._free=function(){return n.asm.free.apply(null,arguments)},Ft=n.___getTypeName=function(){return n.asm.__getTypeName.apply(null,arguments)},Rt=(n.___embind_register_native_and_builtin_types=function(){return n.asm.__embind_register_native_and_builtin_types.apply(null,arguments)},n.stackSave=function(){return n.asm.stackSave.apply(null,arguments)}),Wt=n.stackAlloc=function(){return n.asm.stackAlloc.apply(null,arguments)},It=n.stackRestore=function(){return n.asm.stackRestore.apply(null,arguments)};function Dt(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}function Ut(e){function t(){kt||(kt=!0,w||(M(N),M(q),n.onRuntimeInitialized&&n.onRuntimeInitialized(),function(){if(n.postRun)for("function"==typeof n.postRun&&(n.postRun=[n.postRun]);n.postRun.length;)H(n.postRun.shift());M(L)}()))}e=e||s,G>0||(function(){if(n.preRun)for("function"==typeof n.preRun&&(n.preRun=[n.preRun]);n.preRun.length;)V(n.preRun.shift());M(z)}(),G>0||(n.setStatus?(n.setStatus("Running..."),setTimeout((function(){setTimeout((function(){n.setStatus("")}),1),t()}),1)):t()))}if(n.__growWasmMemory=function(){return n.asm.__growWasmMemory.apply(null,arguments)},n.dynCall_i=function(){return n.asm.dynCall_i.apply(null,arguments)},n.dynCall_vi=function(){return n.asm.dynCall_vi.apply(null,arguments)},n.dynCall_iii=function(){return n.asm.dynCall_iii.apply(null,arguments)},n.dynCall_viii=function(){return n.asm.dynCall_viii.apply(null,arguments)},n.dynCall_ii=function(){return n.asm.dynCall_ii.apply(null,arguments)},n.dynCall_iiii=function(){return n.asm.dynCall_iiii.apply(null,arguments)},n.dynCall_vii=function(){return n.asm.dynCall_vii.apply(null,arguments)},n.dynCall_viiii=function(){return n.asm.dynCall_viiii.apply(null,arguments)},n.dynCall_v=function(){return n.asm.dynCall_v.apply(null,arguments)},n.dynCall_iidiiii=function(){return n.asm.dynCall_iidiiii.apply(null,arguments)},n.dynCall_jiji=function(){return n.asm.dynCall_jiji.apply(null,arguments)},n.dynCall_viiiiii=function(){return n.asm.dynCall_viiiiii.apply(null,arguments)},n.dynCall_viiiii=function(){return n.asm.dynCall_viiiii.apply(null,arguments)},n.asm=At,n.ccall=function(e,t,r,n,i){var o={string:function(e){var t=0;if(null!=e&&0!==e){var r=1+(e.length<<2);$(e,t=Wt(r),r)}return t},array:function(e){var t=Wt(e.length);return function(e,t){k.set(e,t)}(e,t),t}},a=T(e),s=[],u=0;if(n)for(var c=0;c0;)n.preInit.pop()();return Ut(),e});"object"==typeof t&&"object"==typeof e?e.exports=n:"function"==typeof define&&define.amd?define([],(function(){return n})):"object"==typeof t&&(t.CharLSWASM=n)},9400:function(e,t){var r,n=(r="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0,"undefined"!=typeof __filename&&(r=r||__filename),function(e){var t,n=void 0!==(e=e||{})?e:{},i={};for(t in n)n.hasOwnProperty(t)&&(i[t]=n[t]);var o,a,s=[],u="./this.program",c=function(e,t){throw t},f=!1,l=!1;f="object"==typeof window,l="function"==typeof importScripts,o="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node&&!f&&!l,a=!f&&!o&&!l;var p,d,v,m,h="";o?(h=__dirname+"/",p=function(e,t){return v||(v=require("fs")),m||(m=require("path")),e=m.normalize(e),v.readFileSync(e,t?null:"utf8")},d=function(e){var t=p(e,!0);return t.buffer||(t=new Uint8Array(t)),$(t.buffer),t},process.argv.length>1&&(u=process.argv[1].replace(/\\/g,"/")),s=process.argv.slice(2),process.on("uncaughtException",(function(e){if(!(e instanceof Kt))throw e})),process.on("unhandledRejection",te),c=function(e){process.exit(e)},n.inspect=function(){return"[Emscripten Module object]"}):a?("undefined"!=typeof read&&(p=function(e){return read(e)}),d=function(e){var t;return"function"==typeof readbuffer?new Uint8Array(readbuffer(e)):($("object"==typeof(t=read(e,"binary"))),t)},"undefined"!=typeof scriptArgs?s=scriptArgs:void 0!==arguments&&(s=arguments),"function"==typeof quit&&(c=function(e){quit(e)}),"undefined"!=typeof print&&("undefined"==typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeof printErr?printErr:print)):(f||l)&&(l?h=self.location.href:document.currentScript&&(h=document.currentScript.src),r&&(h=r),h=0!==h.indexOf("blob:")?h.substr(0,h.lastIndexOf("/")+1):"",p=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},l&&(d=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}));var y=n.print||console.log.bind(console),g=n.printErr||console.warn.bind(console);for(t in i)i.hasOwnProperty(t)&&(n[t]=i[t]);i=null,n.arguments&&(s=n.arguments),n.thisProgram&&(u=n.thisProgram),n.quit&&(c=n.quit);var _,w,b,T=0,C=function(e){T=e};n.wasmBinary&&(_=n.wasmBinary),n.noExitRuntime&&(w=n.noExitRuntime),"object"!=typeof WebAssembly&&g("no native wasm support detected");var x=new WebAssembly.Table({initial:204,maximum:204,element:"anyfunc"}),P=!1;function $(e,t){e||te("Assertion failed: "+t)}function A(e){var t=n["_"+e];return $(t,"Cannot call unknown function "+e+", make sure it is exported"),t}var k="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function S(e,t,r){for(var n=t+r,i=t;e[i]&&!(i>=n);)++i;if(i-t>16&&e.subarray&&k)return k.decode(e.subarray(t,i));for(var o="";t>10,56320|1023&c)}}else o+=String.fromCharCode((31&a)<<6|s)}else o+=String.fromCharCode(a)}return o}function E(e,t){return e?S(R,e,t):""}function j(e,t,r){return function(e,t,r,n){if(!(n>0))return 0;for(var i=r,o=r+n-1,a=0;a=55296&&s<=57343&&(s=65536+((1023&s)<<10)|1023&e.charCodeAt(++a)),s<=127){if(r>=o)break;t[r++]=s}else if(s<=2047){if(r+1>=o)break;t[r++]=192|s>>6,t[r++]=128|63&s}else if(s<=65535){if(r+2>=o)break;t[r++]=224|s>>12,t[r++]=128|s>>6&63,t[r++]=128|63&s}else{if(r+3>=o)break;t[r++]=240|s>>18,t[r++]=128|s>>12&63,t[r++]=128|s>>6&63,t[r++]=128|63&s}}return t[r]=0,r-i}(e,R,t,r)}"undefined"!=typeof TextDecoder&&new TextDecoder("utf-16le");var O,F,R,W,I,D,U,M,z;function N(e,t){return e%t>0&&(e+=t-e%t),e}function q(e){O=e,n.HEAP8=F=new Int8Array(e),n.HEAP16=W=new Int16Array(e),n.HEAP32=D=new Int32Array(e),n.HEAPU8=R=new Uint8Array(e),n.HEAPU16=I=new Uint16Array(e),n.HEAPU32=U=new Uint32Array(e),n.HEAPF32=M=new Float32Array(e),n.HEAPF64=z=new Float64Array(e)}var B=n.TOTAL_MEMORY||1073741824;function L(e){for(;e.length>0;){var t=e.shift();if("function"!=typeof t){var r=t.func;"number"==typeof r?void 0===t.arg?n.dynCall_v(r):n.dynCall_vi(r,t.arg):r(void 0===t.arg?null:t.arg)}else t()}}(b=n.wasmMemory?n.wasmMemory:new WebAssembly.Memory({initial:B/65536}))&&(O=b.buffer),B=O.byteLength,q(O),D[3932]=5258768;var V=[],H=[],G=[],Z=[],X=[];function Y(e){V.unshift(e)}function J(e){X.unshift(e)}Math.abs,Math.ceil,Math.floor,Math.min;var K=0,Q=null,ee=null;function te(e){throw n.onAbort&&n.onAbort(e),y(e+=""),g(e),P=!0,e="abort("+e+"). Build with -s ASSERTIONS=1 for more info.",new WebAssembly.RuntimeError(e)}n.preloadedImages={},n.preloadedAudios={};var re="data:application/octet-stream;base64,";function ne(e){return String.prototype.startsWith?e.startsWith(re):0===e.indexOf(re)}var ie="libjpegturbowasm_decode.wasm";function oe(){try{if(_)return new Uint8Array(_);if(d)return d(ie);throw"both async and sync fetching of the wasm failed"}catch(e){te(e)}}function ae(e,t){Z.unshift({func:e,arg:t})}ne(ie)||(ie=function(e){return n.locateFile?n.locateFile(e,h):h+e}(ie)),H.push({func:function(){Dt()}});var se={};var ue={};function ce(e){for(;e.length;){var t=e.pop();e.pop()(t)}}function fe(e){return this.fromWireType(U[e>>2])}var le={},pe={},de={},ve=48,me=57;function he(e){if(void 0===e)return"_unknown";var t=(e=e.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return t>=ve&&t<=me?"_"+e:e}function ye(e,t){return e=he(e),new Function("body","return function "+e+'() {\n "use strict"; return body.apply(this, arguments);\n};\n')(t)}function ge(e,t){var r=ye(t,(function(e){this.name=t,this.message=e;var r=new Error(e).stack;void 0!==r&&(this.stack=this.toString()+"\n"+r.replace(/^Error(:[^\n]*)?\n/,""))}));return r.prototype=Object.create(e.prototype),r.prototype.constructor=r,r.prototype.toString=function(){return void 0===this.message?this.name:this.name+": "+this.message},r}var _e=void 0;function we(e){throw new _e(e)}function be(e,t,r){function n(t){var n=r(t);n.length!==e.length&&we("Mismatched type converter count");for(var i=0;i>2)+n]);return r}function mt(e,t,r,n,i){var o=t.length;o<2&&$e("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var a=null!==t[1]&&null!==r,s=!1,u=1;u0?", ":"")+l),p+=(c?"var rv = ":"")+"invoker(fn"+(l.length>0?", ":"")+l+");\n",s)p+="runDestructors(destructors);\n";else for(u=a?1:2;u4&&0==--yt[e].refcount&&(yt[e]=void 0,ht.push(e))}function _t(){for(var e=0,t=5;t>2])};case 3:return function(e){return this.fromWireType(z[e>>3])};default:throw new TypeError("Unknown float type: "+e)}}function xt(e,t,r){switch(t){case 0:return r?function(e){return F[e]}:function(e){return R[e]};case 1:return r?function(e){return W[e>>1]}:function(e){return I[e>>1]};case 2:return r?function(e){return D[e>>2]}:function(e){return U[e>>2]};default:throw new TypeError("Unknown integer type: "+e)}}var Pt={};function $t(){return"object"==typeof globalThis?globalThis:Function("return this")()}function At(e,t){var r=pe[e];return void 0===r&&$e(t+" has unknown type "+pt(e)),r}function kt(e){for(var t="",r=0;r> 2) + "+r+'], "parameter '+r+'");\nvar arg'+r+" = argType"+r+".readValueFromPointer(args);\nargs += argType"+r+"['argPackAdvance'];\n";return i+="var obj = new constructor("+t+");\nreturn __emval_register(obj);\n}\n",new Function("requireRegisteredType","Module","__emval_register",i)(At,n,bt)}var St={};var Et=0;var jt={};function Ot(){if(!Ot.strings){var e={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:u};for(var t in jt)e[t]=jt[t];var r=[];for(var t in e)r.push(t+"="+e[t]);Ot.strings=r}return Ot.strings}var Ft={buffers:[null,[],[]],printChar:function(e,t){var r=Ft.buffers[e];0===t||10===t?((1===e?y:g)(S(r,0)),r.length=0):r.push(t)},varargs:0,get:function(e){return Ft.varargs+=4,D[Ft.varargs-4>>2]},getStr:function(){return E(Ft.get())},get64:function(){var e=Ft.get();return Ft.get(),e},getZero:function(){Ft.get()}};_e=n.InternalError=ge(Error,"InternalError"),function(){for(var e=new Array(256),t=0;t<256;++t)e[t]=String.fromCharCode(t);Ce=e}(),Pe=n.BindingError=ge(Error,"BindingError"),qe.prototype.isAliasOf=ke,qe.prototype.clone=We,qe.prototype.delete=Ie,qe.prototype.isDeleted=De,qe.prototype.deleteLater=Ne,ut.prototype.getPointee=Je,ut.prototype.destructor=Ke,ut.prototype.argPackAdvance=8,ut.prototype.readValueFromPointer=fe,ut.prototype.deleteObject=Qe,ut.prototype.fromWireType=st,n.getInheritedInstanceCount=tt,n.getLiveInheritedInstances=rt,n.flushPendingDeletes=ze,n.setDelayFunction=nt,lt=n.UnboundTypeError=ge(Error,"UnboundTypeError"),n.count_emval_handles=_t,n.get_first_emval=wt;var Rt={__cxa_allocate_exception:function(e){return Ut(e)},__cxa_thread_atexit:function(){return ae.apply(null,arguments)},__cxa_throw:function(e,t,r){throw se[e]={ptr:e,adjusted:[e],type:t,destructor:r,refcount:0,caught:!1,rethrown:!1},"uncaught_exception"in qt?qt.uncaught_exceptions++:qt.uncaught_exceptions=1,e},_embind_finalize_value_object:function(e){var t=ue[e];delete ue[e];var r=t.rawConstructor,n=t.rawDestructor,i=t.fields;be([e],i.map((function(e){return e.getterReturnType})).concat(i.map((function(e){return e.setterArgumentType}))),(function(e){var o={};return i.forEach((function(t,r){var n=t.fieldName,a=e[r],s=t.getter,u=t.getterContext,c=e[r+i.length],f=t.setter,l=t.setterContext;o[n]={read:function(e){return a.fromWireType(s(u,e))},write:function(e,t){var r=[];f(l,e,c.toWireType(r,t)),ce(r)}}})),[{name:t.name,fromWireType:function(e){var t={};for(var r in o)t[r]=o[r].read(e);return n(e),t},toWireType:function(e,t){for(var i in o)if(!(i in t))throw new TypeError("Missing field");var a=r();for(i in o)o[i].write(a,t[i]);return null!==e&&e.push(n,a),a},argPackAdvance:8,readValueFromPointer:fe,destructorFunction:n}]}))},_embind_register_bool:function(e,t,r,n,i){var o=Te(r);Ae(e,{name:t=xe(t),fromWireType:function(e){return!!e},toWireType:function(e,t){return t?n:i},argPackAdvance:8,readValueFromPointer:function(e){var n;if(1===r)n=F;else if(2===r)n=W;else{if(4!==r)throw new TypeError("Unknown boolean type size: "+t);n=D}return this.fromWireType(n[e>>o])},destructorFunction:null})},_embind_register_class:function(e,t,r,n,i,o,a,s,u,c,f,l,p){f=xe(f),o=ft(i,o),s&&(s=ft(a,s)),c&&(c=ft(u,c)),p=ft(l,p);var d=he(f);Ve(d,(function(){dt("Cannot construct "+f+" due to unbound types",[n])})),be([e,t,r],n?[n]:[],(function(t){var r,i;t=t[0],i=n?(r=t.registeredClass).instancePrototype:qe.prototype;var a=ye(d,(function(){if(Object.getPrototypeOf(this)!==u)throw new Pe("Use 'new' to construct "+f);if(void 0===l.constructor_body)throw new Pe(f+" has no accessible constructor");var e=l.constructor_body[arguments.length];if(void 0===e)throw new Pe("Tried to invoke ctor of "+f+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(l.constructor_body).toString()+") parameters instead!");return e.apply(this,arguments)})),u=Object.create(i,{constructor:{value:a}});a.prototype=u;var l=new He(f,a,u,p,r,o,s,c),v=new ut(f,l,!0,!1,!1),m=new ut(f+"*",l,!1,!1,!1),h=new ut(f+" const*",l,!1,!0,!1);return Be[e]={pointerType:m,constPointerType:h},ct(d,a),[v,m,h]}))},_embind_register_class_constructor:function(e,t,r,n,i,o){$(t>0);var a=vt(t,r);i=ft(n,i);var s=[o],u=[];be([],[e],(function(e){var r="constructor "+(e=e[0]).name;if(void 0===e.registeredClass.constructor_body&&(e.registeredClass.constructor_body=[]),void 0!==e.registeredClass.constructor_body[t-1])throw new Pe("Cannot register multiple constructors with identical number of parameters ("+(t-1)+") for class '"+e.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");return e.registeredClass.constructor_body[t-1]=function(){dt("Cannot construct "+e.name+" due to unbound types",a)},be([],a,(function(n){return e.registeredClass.constructor_body[t-1]=function(){arguments.length!==t-1&&$e(r+" called with "+arguments.length+" arguments, expected "+(t-1)),u.length=0,s.length=t;for(var e=1;e>>s}}var u=-1!=t.indexOf("unsigned");Ae(e,{name:t,fromWireType:a,toWireType:function(e,r){if("number"!=typeof r&&"boolean"!=typeof r)throw new TypeError('Cannot convert "'+Tt(r)+'" to '+this.name);if(ri)throw new TypeError('Passing a number "'+Tt(r)+'" from JS side to C/C++ side to an argument of type "'+t+'", which is outside the valid range ['+n+", "+i+"]!");return u?r>>>0:0|r},argPackAdvance:8,readValueFromPointer:xt(t,o,0!==n),destructorFunction:null})},_embind_register_memory_view:function(e,t,r){var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][t];function i(e){var t=U,r=t[e>>=2],i=t[e+1];return new n(t.buffer,i,r)}Ae(e,{name:r=xe(r),fromWireType:i,argPackAdvance:8,readValueFromPointer:i},{ignoreDuplicateRegistrations:!0})},_embind_register_std_string:function(e,t){var r="std::string"===(t=xe(t));Ae(e,{name:t,fromWireType:function(e){var t,n=U[e>>2];if(r){var i=R[e+4+n],o=0;0!=i&&(o=i,R[e+4+n]=0);for(var a=e+4,s=0;s<=n;++s){var u=e+4+s;if(0==R[u]){var c=E(a);void 0===t?t=c:(t+=String.fromCharCode(0),t+=c),a=u+1}}0!=o&&(R[e+4+n]=o)}else{var f=new Array(n);for(s=0;s=55296&&n<=57343&&(n=65536+((1023&n)<<10)|1023&e.charCodeAt(++r)),n<=127?++t:t+=n<=2047?2:n<=65535?3:4}return t}(t)}:function(){return t.length})(),o=Ut(4+i+1);if(U[o>>2]=i,r&&n)j(t,o+4,i+1);else if(n)for(var a=0;a255&&(Mt(o),$e("String has UTF-16 code units that do not fit in 8 bits")),R[o+4+a]=s}else for(a=0;a>2],o=new Array(r),a=e+4>>i,s=0;s>2]=o;for(var u=a+4>>i,c=0;c4&&(yt[e].refcount+=1)},_emval_new:function(e,t,r,n){e=function(e){return e||$e("Cannot use deleted val. handle = "+e),yt[e].value}(e);var i=St[t];return i||(i=kt(t),St[t]=i),i(e,r,n)},_emval_take_value:function(e,t){return bt((e=At(e,"_emval_take_value")).readValueFromPointer(t))},abort:function(){te()},emscripten_get_sbrk_ptr:function(){return 15728},emscripten_longjmp:function(e,t){!function(e,t){throw Nt(e,t||1),"longjmp"}(e,t)},emscripten_memcpy_big:function(e,t,r){R.set(R.subarray(t,t+r),e)},emscripten_resize_heap:function(e){var t=F.length,r=2147418112;if(e>r)return!1;for(var n=Math.max(t,16777216);n>16),q(b.buffer),1}catch(e){}}(n)},environ_get:function(e,t){var r=Ot(),n=0;return r.forEach((function(r,i){var o=t+n;D[e+4*i>>2]=o,function(e,t,r){for(var n=0;n>0]=e.charCodeAt(n);r||(F[t>>0]=0)}(r,o),n+=r.length+1})),0},environ_sizes_get:function(e,t){var r=Ot();D[e>>2]=r.length;var n=0;return r.forEach((function(e){n+=e.length+1})),D[t>>2]=n,0},exit:function(e){!function(e,t){t&&w&&0===e||(w||(P=!0,n.onExit&&n.onExit(e)),c(e,new Kt(e)))}(e)},fd_close:function(e){try{return 0}catch(e){return"undefined"!=typeof FS&&e instanceof FS.ErrnoError||te(e),e.errno}},fd_seek:function(e,t,r,n,i){try{return 0}catch(e){return"undefined"!=typeof FS&&e instanceof FS.ErrnoError||te(e),e.errno}},fd_write:function(e,t,r,n){try{for(var i=0,o=0;o>2],s=D[t+(8*o+4)>>2],u=0;u>2]=i,0}catch(e){return"undefined"!=typeof FS&&e instanceof FS.ErrnoError||te(e),e.errno}},getTempRet0:function(){return 0|T},invoke_ii:function(e,t){var r=Xt();try{return Ht(e,t)}catch(e){if(Jt(r),e!==e+0&&"longjmp"!==e)throw e;Nt(1,0)}},invoke_iii:function(e,t,r){var n=Xt();try{return Gt(e,t,r)}catch(e){if(Jt(n),e!==e+0&&"longjmp"!==e)throw e;Nt(1,0)}},invoke_iiii:function(e,t,r,n){var i=Xt();try{return Zt(e,t,r,n)}catch(e){if(Jt(i),e!==e+0&&"longjmp"!==e)throw e;Nt(1,0)}},invoke_vi:function(e,t){var r=Xt();try{Lt(e,t)}catch(e){if(Jt(r),e!==e+0&&"longjmp"!==e)throw e;Nt(1,0)}},invoke_viii:function(e,t,r,n){var i=Xt();try{Vt(e,t,r,n)}catch(e){if(Jt(i),e!==e+0&&"longjmp"!==e)throw e;Nt(1,0)}},memory:b,saveSetjmp:function e(t,r,n,i){r|=0,n|=0,i|=0;var o=0;for(Et=Et+1|0,D[(t|=0)>>2]=Et;(0|o)<(0|i);){if(0==(0|D[n+(o<<3)>>2]))return D[n+(o<<3)>>2]=Et,D[n+(4+(o<<3))>>2]=r,D[n+(8+(o<<3))>>2]=0,C(0|i),0|n;o=o+1|0}return n=0|e(0|t,0|r,0|(n=0|zt(0|n,8*(1+(i=2*i|0)|0)|0)),0|i),C(0|i),0|n},setTempRet0:function(e){C(0|e)},table:x,testSetjmp:function(e,t,r){e|=0,t|=0,r|=0;for(var n=0,i=0;(0|n)<(0|r)&&0!=(0|(i=0|D[t+(n<<3)>>2]));){if((0|i)==(0|e))return 0|D[t+(4+(n<<3))>>2];n=n+1|0}return 0}},Wt=function(){var e={env:Rt,wasi_snapshot_preview1:Rt};function t(e,t){var r=e.exports;n.asm=r,function(e){if(K--,n.monitorRunDependencies&&n.monitorRunDependencies(K),0==K&&(null!==Q&&(clearInterval(Q),Q=null),ee)){var t=ee;ee=null,t()}}()}function r(e){t(e.instance)}function i(t){return(_||!f&&!l||"function"!=typeof fetch?new Promise((function(e,t){e(oe())})):fetch(ie,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load wasm binary file at '"+ie+"'";return e.arrayBuffer()})).catch((function(){return oe()}))).then((function(t){return WebAssembly.instantiate(t,e)})).then(t,(function(e){g("failed to asynchronously prepare wasm: "+e),te(e)}))}if(K++,n.monitorRunDependencies&&n.monitorRunDependencies(K),n.instantiateWasm)try{return n.instantiateWasm(e,t)}catch(e){return g("Module.instantiateWasm callback failed with error: "+e),!1}return function(){if(_||"function"!=typeof WebAssembly.instantiateStreaming||ne(ie)||"function"!=typeof fetch)return i(r);fetch(ie,{credentials:"same-origin"}).then((function(t){return WebAssembly.instantiateStreaming(t,e).then(r,(function(e){g("wasm streaming compile failed: "+e),g("falling back to ArrayBuffer instantiation"),i(r)}))}))}(),{}}();n.asm=Wt;var It,Dt=n.___wasm_call_ctors=function(){return n.asm.__wasm_call_ctors.apply(null,arguments)},Ut=n._malloc=function(){return n.asm.malloc.apply(null,arguments)},Mt=n._free=function(){return n.asm.free.apply(null,arguments)},zt=n._realloc=function(){return n.asm.realloc.apply(null,arguments)},Nt=n._setThrew=function(){return n.asm.setThrew.apply(null,arguments)},qt=n.__ZSt18uncaught_exceptionv=function(){return n.asm._ZSt18uncaught_exceptionv.apply(null,arguments)},Bt=n.___getTypeName=function(){return n.asm.__getTypeName.apply(null,arguments)},Lt=(n.___embind_register_native_and_builtin_types=function(){return n.asm.__embind_register_native_and_builtin_types.apply(null,arguments)},n.dynCall_vi=function(){return n.asm.dynCall_vi.apply(null,arguments)}),Vt=n.dynCall_viii=function(){return n.asm.dynCall_viii.apply(null,arguments)},Ht=n.dynCall_ii=function(){return n.asm.dynCall_ii.apply(null,arguments)},Gt=n.dynCall_iii=function(){return n.asm.dynCall_iii.apply(null,arguments)},Zt=n.dynCall_iiii=function(){return n.asm.dynCall_iiii.apply(null,arguments)},Xt=n.stackSave=function(){return n.asm.stackSave.apply(null,arguments)},Yt=n.stackAlloc=function(){return n.asm.stackAlloc.apply(null,arguments)},Jt=n.stackRestore=function(){return n.asm.stackRestore.apply(null,arguments)};function Kt(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}function Qt(e){function t(){It||(It=!0,P||(L(H),L(G),n.onRuntimeInitialized&&n.onRuntimeInitialized(),function(){if(n.postRun)for("function"==typeof n.postRun&&(n.postRun=[n.postRun]);n.postRun.length;)J(n.postRun.shift());L(X)}()))}e=e||s,K>0||(function(){if(n.preRun)for("function"==typeof n.preRun&&(n.preRun=[n.preRun]);n.preRun.length;)Y(n.preRun.shift());L(V)}(),K>0||(n.setStatus?(n.setStatus("Running..."),setTimeout((function(){setTimeout((function(){n.setStatus("")}),1),t()}),1)):t()))}if(n.__growWasmMemory=function(){return n.asm.__growWasmMemory.apply(null,arguments)},n.dynCall_i=function(){return n.asm.dynCall_i.apply(null,arguments)},n.dynCall_vii=function(){return n.asm.dynCall_vii.apply(null,arguments)},n.dynCall_iiiiii=function(){return n.asm.dynCall_iiiiii.apply(null,arguments)},n.dynCall_iiiiiii=function(){return n.asm.dynCall_iiiiiii.apply(null,arguments)},n.dynCall_iiiii=function(){return n.asm.dynCall_iiiii.apply(null,arguments)},n.dynCall_viiii=function(){return n.asm.dynCall_viiii.apply(null,arguments)},n.dynCall_viiiiiii=function(){return n.asm.dynCall_viiiiiii.apply(null,arguments)},n.dynCall_viiiii=function(){return n.asm.dynCall_viiiii.apply(null,arguments)},n.dynCall_jiji=function(){return n.asm.dynCall_jiji.apply(null,arguments)},n.dynCall_viiiiii=function(){return n.asm.dynCall_viiiiii.apply(null,arguments)},n.asm=Wt,n.ccall=function(e,t,r,n,i){var o={string:function(e){var t=0;if(null!=e&&0!==e){var r=1+(e.length<<2);j(e,t=Yt(r),r)}return t},array:function(e){var t=Yt(e.length);return function(e,t){F.set(e,t)}(e,t),t}},a=A(e),s=[],u=0;if(n)for(var c=0;c0;)n.preInit.pop()();return w=!0,Qt(),e});"object"==typeof t&&"object"==typeof e?e.exports=n:"function"==typeof define&&define.amd?define([],(function(){return n})):"object"==typeof t&&(t.libjpegturbowasm_decode=n)},4044:function(e,t){var r,n=(r="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0,"undefined"!=typeof __filename&&(r=r||__filename),function(e){var t,n=void 0!==(e=e||{})?e:{},i={};for(t in n)n.hasOwnProperty(t)&&(i[t]=n[t]);var o,a,s=[],u="./this.program",c=!1,f=!1;c="object"==typeof window,f="function"==typeof importScripts,o="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node&&!c&&!f,a=!c&&!o&&!f;var l,p,d,v,m="";o?(m=__dirname+"/",l=function(e,t){return d||(d=require("fs")),v||(v=require("path")),e=v.normalize(e),d.readFileSync(e,t?null:"utf8")},p=function(e){var t=l(e,!0);return t.buffer||(t=new Uint8Array(t)),T(t.buffer),t},process.argv.length>1&&(u=process.argv[1].replace(/\\/g,"/")),s=process.argv.slice(2),process.on("uncaughtException",(function(e){if(!(e instanceof Ut))throw e})),process.on("unhandledRejection",J),n.inspect=function(){return"[Emscripten Module object]"}):a?("undefined"!=typeof read&&(l=function(e){return read(e)}),p=function(e){var t;return"function"==typeof readbuffer?new Uint8Array(readbuffer(e)):(T("object"==typeof(t=read(e,"binary"))),t)},"undefined"!=typeof scriptArgs?s=scriptArgs:void 0!==arguments&&(s=arguments),"undefined"!=typeof print&&("undefined"==typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeof printErr?printErr:print)):(c||f)&&(f?m=self.location.href:document.currentScript&&(m=document.currentScript.src),r&&(m=r),m=0!==m.indexOf("blob:")?m.substr(0,m.lastIndexOf("/")+1):"",l=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},f&&(p=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}));var h=n.print||console.log.bind(console),y=n.printErr||console.warn.bind(console);for(t in i)i.hasOwnProperty(t)&&(n[t]=i[t]);i=null,n.arguments&&(s=n.arguments),n.thisProgram&&(u=n.thisProgram),n.quit&&n.quit;var g,_;n.wasmBinary&&(g=n.wasmBinary),n.noExitRuntime&&n.noExitRuntime,"object"!=typeof WebAssembly&&y("no native wasm support detected");var w=new WebAssembly.Table({initial:178,maximum:178,element:"anyfunc"}),b=!1;function T(e,t){e||J("Assertion failed: "+t)}function C(e){var t=n["_"+e];return T(t,"Cannot call unknown function "+e+", make sure it is exported"),t}var x="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function P(e,t,r){for(var n=t+r,i=t;e[i]&&!(i>=n);)++i;if(i-t>16&&e.subarray&&x)return x.decode(e.subarray(t,i));for(var o="";t>10,56320|1023&c)}}else o+=String.fromCharCode((31&a)<<6|s)}else o+=String.fromCharCode(a)}return o}function $(e,t){return e?P(E,e,t):""}function A(e,t,r){return function(e,t,r,n){if(!(n>0))return 0;for(var i=r,o=r+n-1,a=0;a=55296&&s<=57343&&(s=65536+((1023&s)<<10)|1023&e.charCodeAt(++a)),s<=127){if(r>=o)break;t[r++]=s}else if(s<=2047){if(r+1>=o)break;t[r++]=192|s>>6,t[r++]=128|63&s}else if(s<=65535){if(r+2>=o)break;t[r++]=224|s>>12,t[r++]=128|s>>6&63,t[r++]=128|63&s}else{if(r+3>=o)break;t[r++]=240|s>>18,t[r++]=128|s>>12&63,t[r++]=128|s>>6&63,t[r++]=128|63&s}}return t[r]=0,r-i}(e,E,t,r)}"undefined"!=typeof TextDecoder&&new TextDecoder("utf-16le");var k,S,E,j,O,F,R,W,I;function D(e,t){return e%t>0&&(e+=t-e%t),e}function U(e){k=e,n.HEAP8=S=new Int8Array(e),n.HEAP16=j=new Int16Array(e),n.HEAP32=F=new Int32Array(e),n.HEAPU8=E=new Uint8Array(e),n.HEAPU16=O=new Uint16Array(e),n.HEAPU32=R=new Uint32Array(e),n.HEAPF32=W=new Float32Array(e),n.HEAPF64=I=new Float64Array(e)}var M=n.TOTAL_MEMORY||1073741824;function z(e){for(;e.length>0;){var t=e.shift();if("function"!=typeof t){var r=t.func;"number"==typeof r?void 0===t.arg?n.dynCall_v(r):n.dynCall_vi(r,t.arg):r(void 0===t.arg?null:t.arg)}else t()}}(_=n.wasmMemory?n.wasmMemory:new WebAssembly.Memory({initial:M/65536}))&&(k=_.buffer),M=k.byteLength,U(k),F[6080]=5267360;var N=[],q=[],B=[],L=[],V=[];function H(e){N.unshift(e)}function G(e){V.unshift(e)}Math.abs,Math.ceil,Math.floor,Math.min;var Z=0,X=null,Y=null;function J(e){throw n.onAbort&&n.onAbort(e),h(e+=""),y(e),b=!0,e="abort("+e+"). Build with -s ASSERTIONS=1 for more info.",new WebAssembly.RuntimeError(e)}n.preloadedImages={},n.preloadedAudios={};var K="data:application/octet-stream;base64,";function Q(e){return String.prototype.startsWith?e.startsWith(K):0===e.indexOf(K)}var ee="openjpegwasm_decode.wasm";function te(){try{if(g)return new Uint8Array(g);if(p)return p(ee);throw"both async and sync fetching of the wasm failed"}catch(e){J(e)}}function re(e,t){L.unshift({func:e,arg:t})}Q(ee)||(ee=function(e){return n.locateFile?n.locateFile(e,m):m+e}(ee)),q.push({func:function(){jt()}});var ne={};function ie(e){for(;e.length;){var t=e.pop();e.pop()(t)}}function oe(e){return this.fromWireType(R[e>>2])}var ae={},se={},ue={},ce=48,fe=57;function le(e){if(void 0===e)return"_unknown";var t=(e=e.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return t>=ce&&t<=fe?"_"+e:e}function pe(e,t){return e=le(e),new Function("body","return function "+e+'() {\n "use strict"; return body.apply(this, arguments);\n};\n')(t)}function de(e,t){var r=pe(t,(function(e){this.name=t,this.message=e;var r=new Error(e).stack;void 0!==r&&(this.stack=this.toString()+"\n"+r.replace(/^Error(:[^\n]*)?\n/,""))}));return r.prototype=Object.create(e.prototype),r.prototype.constructor=r,r.prototype.toString=function(){return void 0===this.message?this.name:this.name+": "+this.message},r}var ve=void 0;function me(e){throw new ve(e)}function he(e,t,r){function n(t){var n=r(t);n.length!==e.length&&me("Mismatched type converter count");for(var i=0;i>2)+n]);return r}function ft(e,t,r,n,i){var o=t.length;o<2&&be("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var a=null!==t[1]&&null!==r,s=!1,u=1;u0?", ":"")+l),p+=(c?"var rv = ":"")+"invoker(fn"+(l.length>0?", ":"")+l+");\n",s)p+="runDestructors(destructors);\n";else for(u=a?1:2;u4&&0==--pt[e].refcount&&(pt[e]=void 0,lt.push(e))}function vt(){for(var e=0,t=5;t>2])};case 3:return function(e){return this.fromWireType(I[e>>3])};default:throw new TypeError("Unknown float type: "+e)}}function _t(e,t,r){switch(t){case 0:return r?function(e){return S[e]}:function(e){return E[e]};case 1:return r?function(e){return j[e>>1]}:function(e){return O[e>>1]};case 2:return r?function(e){return F[e>>2]}:function(e){return R[e>>2]};default:throw new TypeError("Unknown integer type: "+e)}}var wt={};function bt(){return"object"==typeof globalThis?globalThis:Function("return this")()}function Tt(e,t){var r=se[e];return void 0===r&&be(t+" has unknown type "+st(e)),r}function Ct(e){for(var t="",r=0;r> 2) + "+r+'], "parameter '+r+'");\nvar arg'+r+" = argType"+r+".readValueFromPointer(args);\nargs += argType"+r+"['argPackAdvance'];\n";return i+="var obj = new constructor("+t+");\nreturn __emval_register(obj);\n}\n",new Function("requireRegisteredType","Module","__emval_register",i)(Tt,n,ht)}var xt={};var Pt={};function $t(){if(!$t.strings){var e={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:u};for(var t in Pt)e[t]=Pt[t];var r=[];for(var t in e)r.push(t+"="+e[t]);$t.strings=r}return $t.strings}var At={buffers:[null,[],[]],printChar:function(e,t){var r=At.buffers[e];0===t||10===t?((1===e?h:y)(P(r,0)),r.length=0):r.push(t)},varargs:0,get:function(e){return At.varargs+=4,F[At.varargs-4>>2]},getStr:function(){return $(At.get())},get64:function(){var e=At.get();return At.get(),e},getZero:function(){At.get()}};ve=n.InternalError=de(Error,"InternalError"),function(){for(var e=new Array(256),t=0;t<256;++t)e[t]=String.fromCharCode(t);ge=e}(),we=n.BindingError=de(Error,"BindingError"),De.prototype.isAliasOf=Ce,De.prototype.clone=Ee,De.prototype.delete=je,De.prototype.isDeleted=Oe,De.prototype.deleteLater=Ie,nt.prototype.getPointee=He,nt.prototype.destructor=Ge,nt.prototype.argPackAdvance=8,nt.prototype.readValueFromPointer=oe,nt.prototype.deleteObject=Ze,nt.prototype.fromWireType=rt,n.getInheritedInstanceCount=Ye,n.getLiveInheritedInstances=Je,n.flushPendingDeletes=We,n.setDelayFunction=Ke,at=n.UnboundTypeError=de(Error,"UnboundTypeError"),n.count_emval_handles=vt,n.get_first_emval=mt;var kt={__cxa_thread_atexit:function(){return re.apply(null,arguments)},_embind_finalize_value_object:function(e){var t=ne[e];delete ne[e];var r=t.rawConstructor,n=t.rawDestructor,i=t.fields;he([e],i.map((function(e){return e.getterReturnType})).concat(i.map((function(e){return e.setterArgumentType}))),(function(e){var o={};return i.forEach((function(t,r){var n=t.fieldName,a=e[r],s=t.getter,u=t.getterContext,c=e[r+i.length],f=t.setter,l=t.setterContext;o[n]={read:function(e){return a.fromWireType(s(u,e))},write:function(e,t){var r=[];f(l,e,c.toWireType(r,t)),ie(r)}}})),[{name:t.name,fromWireType:function(e){var t={};for(var r in o)t[r]=o[r].read(e);return n(e),t},toWireType:function(e,t){for(var i in o)if(!(i in t))throw new TypeError("Missing field");var a=r();for(i in o)o[i].write(a,t[i]);return null!==e&&e.push(n,a),a},argPackAdvance:8,readValueFromPointer:oe,destructorFunction:n}]}))},_embind_register_bool:function(e,t,r,n,i){var o=ye(r);Te(e,{name:t=_e(t),fromWireType:function(e){return!!e},toWireType:function(e,t){return t?n:i},argPackAdvance:8,readValueFromPointer:function(e){var n;if(1===r)n=S;else if(2===r)n=j;else{if(4!==r)throw new TypeError("Unknown boolean type size: "+t);n=F}return this.fromWireType(n[e>>o])},destructorFunction:null})},_embind_register_class:function(e,t,r,n,i,o,a,s,u,c,f,l,p){f=_e(f),o=ot(i,o),s&&(s=ot(a,s)),c&&(c=ot(u,c)),p=ot(l,p);var d=le(f);ze(d,(function(){ut("Cannot construct "+f+" due to unbound types",[n])})),he([e,t,r],n?[n]:[],(function(t){var r,i;t=t[0],i=n?(r=t.registeredClass).instancePrototype:De.prototype;var a=pe(d,(function(){if(Object.getPrototypeOf(this)!==u)throw new we("Use 'new' to construct "+f);if(void 0===l.constructor_body)throw new we(f+" has no accessible constructor");var e=l.constructor_body[arguments.length];if(void 0===e)throw new we("Tried to invoke ctor of "+f+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(l.constructor_body).toString()+") parameters instead!");return e.apply(this,arguments)})),u=Object.create(i,{constructor:{value:a}});a.prototype=u;var l=new Ne(f,a,u,p,r,o,s,c),v=new nt(f,l,!0,!1,!1),m=new nt(f+"*",l,!1,!1,!1),h=new nt(f+" const*",l,!1,!0,!1);return Ue[e]={pointerType:m,constPointerType:h},it(d,a),[v,m,h]}))},_embind_register_class_constructor:function(e,t,r,n,i,o){T(t>0);var a=ct(t,r);i=ot(n,i);var s=[o],u=[];he([],[e],(function(e){var r="constructor "+(e=e[0]).name;if(void 0===e.registeredClass.constructor_body&&(e.registeredClass.constructor_body=[]),void 0!==e.registeredClass.constructor_body[t-1])throw new we("Cannot register multiple constructors with identical number of parameters ("+(t-1)+") for class '"+e.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");return e.registeredClass.constructor_body[t-1]=function(){ut("Cannot construct "+e.name+" due to unbound types",a)},he([],a,(function(n){return e.registeredClass.constructor_body[t-1]=function(){arguments.length!==t-1&&be(r+" called with "+arguments.length+" arguments, expected "+(t-1)),u.length=0,s.length=t;for(var e=1;e>>s}}var u=-1!=t.indexOf("unsigned");Te(e,{name:t,fromWireType:a,toWireType:function(e,r){if("number"!=typeof r&&"boolean"!=typeof r)throw new TypeError('Cannot convert "'+yt(r)+'" to '+this.name);if(ri)throw new TypeError('Passing a number "'+yt(r)+'" from JS side to C/C++ side to an argument of type "'+t+'", which is outside the valid range ['+n+", "+i+"]!");return u?r>>>0:0|r},argPackAdvance:8,readValueFromPointer:_t(t,o,0!==n),destructorFunction:null})},_embind_register_memory_view:function(e,t,r){var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][t];function i(e){var t=R,r=t[e>>=2],i=t[e+1];return new n(t.buffer,i,r)}Te(e,{name:r=_e(r),fromWireType:i,argPackAdvance:8,readValueFromPointer:i},{ignoreDuplicateRegistrations:!0})},_embind_register_std_string:function(e,t){var r="std::string"===(t=_e(t));Te(e,{name:t,fromWireType:function(e){var t,n=R[e>>2];if(r){var i=E[e+4+n],o=0;0!=i&&(o=i,E[e+4+n]=0);for(var a=e+4,s=0;s<=n;++s){var u=e+4+s;if(0==E[u]){var c=$(a);void 0===t?t=c:(t+=String.fromCharCode(0),t+=c),a=u+1}}0!=o&&(E[e+4+n]=o)}else{var f=new Array(n);for(s=0;s=55296&&n<=57343&&(n=65536+((1023&n)<<10)|1023&e.charCodeAt(++r)),n<=127?++t:t+=n<=2047?2:n<=65535?3:4}return t}(t)}:function(){return t.length})(),o=Ot(4+i+1);if(R[o>>2]=i,r&&n)A(t,o+4,i+1);else if(n)for(var a=0;a255&&(Ft(o),be("String has UTF-16 code units that do not fit in 8 bits")),E[o+4+a]=s}else for(a=0;a>2],o=new Array(r),a=e+4>>i,s=0;s>2]=o;for(var u=a+4>>i,c=0;c4&&(pt[e].refcount+=1)},_emval_new:function(e,t,r,n){e=function(e){return e||be("Cannot use deleted val. handle = "+e),pt[e].value}(e);var i=xt[t];return i||(i=Ct(t),xt[t]=i),i(e,r,n)},_emval_take_value:function(e,t){return ht((e=Tt(e,"_emval_take_value")).readValueFromPointer(t))},abort:function(){J()},emscripten_get_sbrk_ptr:function(){return 24320},emscripten_memcpy_big:function(e,t,r){E.set(E.subarray(t,t+r),e)},emscripten_resize_heap:function(e){var t=S.length,r=2147418112;if(e>r)return!1;for(var n=Math.max(t,16777216);n>16),U(_.buffer),1}catch(e){}}(n)},environ_get:function(e,t){var r=$t(),n=0;return r.forEach((function(r,i){var o=t+n;F[e+4*i>>2]=o,function(e,t,r){for(var n=0;n>0]=e.charCodeAt(n);r||(S[t>>0]=0)}(r,o),n+=r.length+1})),0},environ_sizes_get:function(e,t){var r=$t();F[e>>2]=r.length;var n=0;return r.forEach((function(e){n+=e.length+1})),F[t>>2]=n,0},fd_close:function(e){try{return 0}catch(e){return"undefined"!=typeof FS&&e instanceof FS.ErrnoError||J(e),e.errno}},fd_seek:function(e,t,r,n,i){try{return 0}catch(e){return"undefined"!=typeof FS&&e instanceof FS.ErrnoError||J(e),e.errno}},fd_write:function(e,t,r,n){try{for(var i=0,o=0;o>2],s=F[t+(8*o+4)>>2],u=0;u>2]=i,0}catch(e){return"undefined"!=typeof FS&&e instanceof FS.ErrnoError||J(e),e.errno}},memory:_,pthread_attr_init:function(e){return 0},pthread_attr_setdetachstate:function(){},pthread_cond_destroy:function(){return 0},pthread_cond_init:function(){return 0},pthread_create:function(){return 6},pthread_join:function(){},setTempRet0:function(e){},sysconf:function(e){switch(e){case 30:case 75:return 16384;case 85:return 131068;case 132:case 133:case 12:case 137:case 138:case 15:case 235:case 16:case 17:case 18:case 19:case 20:case 149:case 13:case 10:case 236:case 153:case 9:case 21:case 22:case 159:case 154:case 14:case 77:case 78:case 139:case 80:case 81:case 82:case 68:case 67:case 164:case 11:case 29:case 47:case 48:case 95:case 52:case 51:case 46:return 200809;case 79:return 0;case 27:case 246:case 127:case 128:case 23:case 24:case 160:case 161:case 181:case 182:case 242:case 183:case 184:case 243:case 244:case 245:case 165:case 178:case 179:case 49:case 50:case 168:case 169:case 175:case 170:case 171:case 172:case 97:case 76:case 32:case 173:case 35:return-1;case 176:case 177:case 7:case 155:case 8:case 157:case 125:case 126:case 92:case 93:case 129:case 130:case 131:case 94:case 91:return 1;case 74:case 60:case 69:case 70:case 4:return 1024;case 31:case 42:case 72:return 32;case 87:case 26:case 33:return 2147483647;case 34:case 1:return 47839;case 38:case 36:return 99;case 43:case 37:return 2048;case 0:return 2097152;case 3:return 65536;case 28:return 32768;case 44:return 32767;case 39:return 1e3;case 89:return 700;case 71:return 256;case 40:return 255;case 2:return 100;case 180:return 64;case 25:return 20;case 5:return 16;case 6:return 6;case 73:return 4;case 84:return"object"==typeof navigator&&navigator.hardwareConcurrency||1}return function(e){n.___errno_location&&(F[n.___errno_location()>>2]=e)}(28),-1},table:w},St=function(){var e={env:kt,wasi_snapshot_preview1:kt};function t(e,t){var r=e.exports;n.asm=r,function(e){if(Z--,n.monitorRunDependencies&&n.monitorRunDependencies(Z),0==Z&&(null!==X&&(clearInterval(X),X=null),Y)){var t=Y;Y=null,t()}}()}function r(e){t(e.instance)}function i(t){return(g||!c&&!f||"function"!=typeof fetch?new Promise((function(e,t){e(te())})):fetch(ee,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load wasm binary file at '"+ee+"'";return e.arrayBuffer()})).catch((function(){return te()}))).then((function(t){return WebAssembly.instantiate(t,e)})).then(t,(function(e){y("failed to asynchronously prepare wasm: "+e),J(e)}))}if(Z++,n.monitorRunDependencies&&n.monitorRunDependencies(Z),n.instantiateWasm)try{return n.instantiateWasm(e,t)}catch(e){return y("Module.instantiateWasm callback failed with error: "+e),!1}return function(){if(g||"function"!=typeof WebAssembly.instantiateStreaming||Q(ee)||"function"!=typeof fetch)return i(r);fetch(ee,{credentials:"same-origin"}).then((function(t){return WebAssembly.instantiateStreaming(t,e).then(r,(function(e){y("wasm streaming compile failed: "+e),y("falling back to ArrayBuffer instantiation"),i(r)}))}))}(),{}}();n.asm=St;var Et,jt=n.___wasm_call_ctors=function(){return n.asm.__wasm_call_ctors.apply(null,arguments)},Ot=n._malloc=function(){return n.asm.malloc.apply(null,arguments)},Ft=n._free=function(){return n.asm.free.apply(null,arguments)},Rt=(n._setThrew=function(){return n.asm.setThrew.apply(null,arguments)},n.__ZSt18uncaught_exceptionv=function(){return n.asm._ZSt18uncaught_exceptionv.apply(null,arguments)},n.___getTypeName=function(){return n.asm.__getTypeName.apply(null,arguments)}),Wt=(n.___embind_register_native_and_builtin_types=function(){return n.asm.__embind_register_native_and_builtin_types.apply(null,arguments)},n.stackSave=function(){return n.asm.stackSave.apply(null,arguments)}),It=n.stackAlloc=function(){return n.asm.stackAlloc.apply(null,arguments)},Dt=n.stackRestore=function(){return n.asm.stackRestore.apply(null,arguments)};function Ut(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}function Mt(e){function t(){Et||(Et=!0,b||(z(q),z(B),n.onRuntimeInitialized&&n.onRuntimeInitialized(),function(){if(n.postRun)for("function"==typeof n.postRun&&(n.postRun=[n.postRun]);n.postRun.length;)G(n.postRun.shift());z(V)}()))}e=e||s,Z>0||(function(){if(n.preRun)for("function"==typeof n.preRun&&(n.preRun=[n.preRun]);n.preRun.length;)H(n.preRun.shift());z(N)}(),Z>0||(n.setStatus?(n.setStatus("Running..."),setTimeout((function(){setTimeout((function(){n.setStatus("")}),1),t()}),1)):t()))}if(n.__growWasmMemory=function(){return n.asm.__growWasmMemory.apply(null,arguments)},n.dynCall_i=function(){return n.asm.dynCall_i.apply(null,arguments)},n.dynCall_vi=function(){return n.asm.dynCall_vi.apply(null,arguments)},n.dynCall_iii=function(){return n.asm.dynCall_iii.apply(null,arguments)},n.dynCall_viii=function(){return n.asm.dynCall_viii.apply(null,arguments)},n.dynCall_ii=function(){return n.asm.dynCall_ii.apply(null,arguments)},n.dynCall_iiii=function(){return n.asm.dynCall_iiii.apply(null,arguments)},n.dynCall_vii=function(){return n.asm.dynCall_vii.apply(null,arguments)},n.dynCall_viiii=function(){return n.asm.dynCall_viiii.apply(null,arguments)},n.dynCall_iji=function(){return n.asm.dynCall_iji.apply(null,arguments)},n.dynCall_jji=function(){return n.asm.dynCall_jji.apply(null,arguments)},n.dynCall_iiji=function(){return n.asm.dynCall_iiji.apply(null,arguments)},n.dynCall_jiji=function(){return n.asm.dynCall_jiji.apply(null,arguments)},n.dynCall_iiiii=function(){return n.asm.dynCall_iiiii.apply(null,arguments)},n.dynCall_iiiiii=function(){return n.asm.dynCall_iiiiii.apply(null,arguments)},n.dynCall_iiiiiiii=function(){return n.asm.dynCall_iiiiiiii.apply(null,arguments)},n.dynCall_iiiiiii=function(){return n.asm.dynCall_iiiiiii.apply(null,arguments)},n.dynCall_iiiiiiiiiiii=function(){return n.asm.dynCall_iiiiiiiiiiii.apply(null,arguments)},n.dynCall_iidiiii=function(){return n.asm.dynCall_iidiiii.apply(null,arguments)},n.dynCall_viiiiii=function(){return n.asm.dynCall_viiiiii.apply(null,arguments)},n.dynCall_viiiii=function(){return n.asm.dynCall_viiiii.apply(null,arguments)},n.asm=St,n.ccall=function(e,t,r,n,i){var o={string:function(e){var t=0;if(null!=e&&0!==e){var r=1+(e.length<<2);A(e,t=It(r),r)}return t},array:function(e){var t=It(e.length);return function(e,t){S.set(e,t)}(e,t),t}},a=C(e),s=[],u=0;if(n)for(var c=0;c0;)n.preInit.pop()();return Mt(),e});"object"==typeof t&&"object"==typeof e?e.exports=n:"function"==typeof define&&define.amd?define([],(function(){return n})):"object"==typeof t&&(t.OpenJPEGWASM=n)},1065:(e,t,r)=>{var n=r(5792),i=r(9291),o=String.prototype;e.exports=function(e){var t=e.endsWith;return"string"==typeof e||e===o||n(o,e)&&t===o.endsWith?i:t}},4129:(e,t,r)=>{var n=r(5792),i=r(4455),o=String.prototype;e.exports=function(e){var t=e.padStart;return"string"==typeof e||e===o||n(o,e)&&t===o.padStart?i:t}},7281:(e,t,r)=>{r(6454),r(2228),r(2575),r(3658),r(4465),r(8359),r(5203),r(8109);var n=r(9081);e.exports=n.Promise},9956:(e,t,r)=>{r(2228),r(2575),r(1222),r(8109);var n=r(9081);e.exports=n.Set},9291:(e,t,r)=>{r(2329);var n=r(2018);e.exports=n("String").endsWith},4455:(e,t,r)=>{r(6639);var n=r(2018);e.exports=n("String").padStart},5222:(e,t,r)=>{var n=r(2868),i=r(8307),o=r(7265),a=n.TypeError;e.exports=function(e){if(i(e))return e;throw a(o(e)+" is not a function")}},2736:(e,t,r)=>{var n=r(2868),i=r(1775),o=r(7265),a=n.TypeError;e.exports=function(e){if(i(e))return e;throw a(o(e)+" is not a constructor")}},9154:(e,t,r)=>{var n=r(2868),i=r(8307),o=n.String,a=n.TypeError;e.exports=function(e){if("object"==typeof e||i(e))return e;throw a("Can't set "+o(e)+" as a prototype")}},7710:e=>{e.exports=function(){}},8792:(e,t,r)=>{var n=r(2868),i=r(5792),o=n.TypeError;e.exports=function(e,t){if(i(t,e))return e;throw o("Incorrect invocation")}},1912:(e,t,r)=>{var n=r(2868),i=r(3359),o=n.String,a=n.TypeError;e.exports=function(e){if(i(e))return e;throw a(o(e)+" is not an object")}},6715:(e,t,r)=>{var n=r(6530);e.exports=n((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},7075:(e,t,r)=>{var n=r(3861),i=r(3055),o=r(9876),a=function(e){return function(t,r,a){var s,u=n(t),c=o(u),f=i(a,c);if(e&&r!=r){for(;c>f;)if((s=u[f++])!=s)return!0}else for(;c>f;f++)if((e||f in u)&&u[f]===r)return e||f||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},4206:(e,t,r)=>{var n=r(7673),i=r(3880),o=r(1251),a=r(2058),s=r(9876),u=r(8136),c=i([].push),f=function(e){var t=1==e,r=2==e,i=3==e,f=4==e,l=6==e,p=7==e,d=5==e||l;return function(v,m,h,y){for(var g,_,w=a(v),b=o(w),T=n(m,h),C=s(b),x=0,P=y||u,$=t?P(v,C):r||p?P(v,0):void 0;C>x;x++)if((d||x in b)&&(_=T(g=b[x],x,w),e))if(t)$[x]=_;else if(_)switch(e){case 3:return!0;case 5:return g;case 6:return x;case 2:c($,g)}else switch(e){case 4:return!1;case 7:c($,g)}return l?-1:i||f?f:$}};e.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},6901:(e,t,r)=>{var n=r(2868),i=r(3055),o=r(9876),a=r(409),s=n.Array,u=Math.max;e.exports=function(e,t,r){for(var n=o(e),c=i(t,n),f=i(void 0===r?n:r,n),l=s(u(f-c,0)),p=0;c{var n=r(3880);e.exports=n([].slice)},3400:(e,t,r)=>{var n=r(2868),i=r(1054),o=r(1775),a=r(3359),s=r(5712)("species"),u=n.Array;e.exports=function(e){var t;return i(e)&&(t=e.constructor,(o(t)&&(t===u||i(t.prototype))||a(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?u:t}},8136:(e,t,r)=>{var n=r(3400);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},8908:(e,t,r)=>{var n=r(5712)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var r=!1;try{var o={};o[n]=function(){return{next:function(){return{done:r=!0}}}},e(o)}catch(e){}return r}},1570:(e,t,r)=>{var n=r(3880),i=n({}.toString),o=n("".slice);e.exports=function(e){return o(i(e),8,-1)}},7499:(e,t,r)=>{var n=r(2868),i=r(8889),o=r(8307),a=r(1570),s=r(5712)("toStringTag"),u=n.Object,c="Arguments"==a(function(){return arguments}());e.exports=i?a:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=u(e),s))?r:c?a(t):"Object"==(n=a(t))&&o(t.callee)?"Arguments":n}},9191:(e,t,r)=>{var n=r(3880),i=Error,o=n("".replace),a=String(i("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,u=s.test(a);e.exports=function(e,t){if(u&&"string"==typeof e&&!i.prepareStackTrace)for(;t--;)e=o(e,s,"");return e}},7857:(e,t,r)=>{"use strict";var n=r(7550).f,i=r(2491),o=r(4624),a=r(7673),s=r(8792),u=r(3906),c=r(8277),f=r(3918),l=r(7001),p=r(9446).fastKey,d=r(5875),v=d.set,m=d.getterFor;e.exports={getConstructor:function(e,t,r,c){var f=e((function(e,n){s(e,d),v(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),l||(e.size=0),null!=n&&u(n,e[c],{that:e,AS_ENTRIES:r})})),d=f.prototype,h=m(t),y=function(e,t,r){var n,i,o=h(e),a=g(e,t);return a?a.value=r:(o.last=a={index:i=p(t,!0),key:t,value:r,previous:n=o.last,next:void 0,removed:!1},o.first||(o.first=a),n&&(n.next=a),l?o.size++:e.size++,"F"!==i&&(o.index[i]=a)),e},g=function(e,t){var r,n=h(e),i=p(t);if("F"!==i)return n.index[i];for(r=n.first;r;r=r.next)if(r.key==t)return r};return o(d,{clear:function(){for(var e=h(this),t=e.index,r=e.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete t[r.index],r=r.next;e.first=e.last=void 0,l?e.size=0:this.size=0},delete:function(e){var t=this,r=h(t),n=g(t,e);if(n){var i=n.next,o=n.previous;delete r.index[n.index],n.removed=!0,o&&(o.next=i),i&&(i.previous=o),r.first==n&&(r.first=i),r.last==n&&(r.last=o),l?r.size--:t.size--}return!!n},forEach:function(e){for(var t,r=h(this),n=a(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:r.first;)for(n(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!g(this,e)}}),o(d,r?{get:function(e){var t=g(this,e);return t&&t.value},set:function(e,t){return y(this,0===e?0:e,t)}}:{add:function(e){return y(this,e=0===e?0:e,e)}}),l&&n(d,"size",{get:function(){return h(this).size}}),f},setStrong:function(e,t,r){var n=t+" Iterator",i=m(t),o=m(n);c(e,t,(function(e,t){v(this,{type:n,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=o(this),t=e.kind,r=e.last;r&&r.removed;)r=r.previous;return e.target&&(e.last=r=r?r.next:e.state.first)?"keys"==t?{value:r.key,done:!1}:"values"==t?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),f(t)}}},1390:(e,t,r)=>{"use strict";var n=r(390),i=r(2868),o=r(9446),a=r(6530),s=r(8518),u=r(3906),c=r(8792),f=r(8307),l=r(3359),p=r(6738),d=r(7550).f,v=r(4206).forEach,m=r(7001),h=r(5875),y=h.set,g=h.getterFor;e.exports=function(e,t,r){var h,_=-1!==e.indexOf("Map"),w=-1!==e.indexOf("Weak"),b=_?"set":"add",T=i[e],C=T&&T.prototype,x={};if(m&&f(T)&&(w||C.forEach&&!a((function(){(new T).entries().next()})))){var P=(h=t((function(t,r){y(c(t,P),{type:e,collection:new T}),null!=r&&u(r,t[b],{that:t,AS_ENTRIES:_})}))).prototype,$=g(e);v(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(e){var t="add"==e||"set"==e;!(e in C)||w&&"clear"==e||s(P,e,(function(r,n){var i=$(this).collection;if(!t&&w&&!l(r))return"get"==e&&void 0;var o=i[e](0===r?0:r,n);return t?this:o}))})),w||d(P,"size",{configurable:!0,get:function(){return $(this).collection.size}})}else h=r.getConstructor(t,e,_,b),o.enable();return p(h,e,!1,!0),x[e]=h,n({global:!0,forced:!0},x),w||r.setStrong(h,e,_),h}},4498:(e,t,r)=>{var n=r(5584),i=r(5340),o=r(5904),a=r(7550);e.exports=function(e,t,r){for(var s=i(t),u=a.f,c=o.f,f=0;f{var n=r(5712)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n]=!1,"/./"[e](t)}catch(e){}}return!1}},872:(e,t,r)=>{var n=r(6530);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},8611:(e,t,r)=>{"use strict";var n=r(7300).IteratorPrototype,i=r(2491),o=r(5595),a=r(6738),s=r(9418),u=function(){return this};e.exports=function(e,t,r,c){var f=t+" Iterator";return e.prototype=i(n,{next:o(+!c,r)}),a(e,f,!1,!0),s[f]=u,e}},8518:(e,t,r)=>{var n=r(7001),i=r(7550),o=r(5595);e.exports=n?function(e,t,r){return i.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},5595:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},409:(e,t,r)=>{"use strict";var n=r(5623),i=r(7550),o=r(5595);e.exports=function(e,t,r){var a=n(t);a in e?i.f(e,a,o(0,r)):e[a]=r}},491:(e,t,r)=>{var n=r(8518);e.exports=function(e,t,r,i){return i&&i.enumerable?e[t]=r:n(e,t,r),e}},4624:(e,t,r)=>{var n=r(491);e.exports=function(e,t,r){for(var i in t)r&&r.unsafe&&e[i]?e[i]=t[i]:n(e,i,t[i],r);return e}},6868:(e,t,r)=>{var n=r(2868),i=Object.defineProperty;e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},8277:(e,t,r)=>{"use strict";var n=r(390),i=r(3146),o=r(8367),a=r(7730),s=r(8307),u=r(8611),c=r(2629),f=r(5255),l=r(6738),p=r(8518),d=r(491),v=r(5712),m=r(9418),h=r(7300),y=a.PROPER,g=a.CONFIGURABLE,_=h.IteratorPrototype,w=h.BUGGY_SAFARI_ITERATORS,b=v("iterator"),T="keys",C="values",x="entries",P=function(){return this};e.exports=function(e,t,r,a,v,h,$){u(r,t,a);var A,k,S,E=function(e){if(e===v&&W)return W;if(!w&&e in F)return F[e];switch(e){case T:case C:case x:return function(){return new r(this,e)}}return function(){return new r(this)}},j=t+" Iterator",O=!1,F=e.prototype,R=F[b]||F["@@iterator"]||v&&F[v],W=!w&&R||E(v),I="Array"==t&&F.entries||R;if(I&&(A=c(I.call(new e)))!==Object.prototype&&A.next&&(o||c(A)===_||(f?f(A,_):s(A[b])||d(A,b,P)),l(A,j,!0,!0),o&&(m[j]=P)),y&&v==C&&R&&R.name!==C&&(!o&&g?p(F,"name",C):(O=!0,W=function(){return i(R,this)})),v)if(k={values:E(C),keys:h?W:E(T),entries:E(x)},$)for(S in k)(w||O||!(S in F))&&d(F,S,k[S]);else n({target:t,proto:!0,forced:w||O},k);return o&&!$||F[b]===W||d(F,b,W,{name:v}),m[t]=W,k}},7001:(e,t,r)=>{var n=r(6530);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},231:(e,t,r)=>{var n=r(2868),i=r(3359),o=n.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},315:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},6610:e=>{e.exports="object"==typeof window&&"object"!=typeof Deno},6405:(e,t,r)=>{var n=r(6900),i=r(2868);e.exports=/ipad|iphone|ipod/i.test(n)&&void 0!==i.Pebble},6540:(e,t,r)=>{var n=r(6900);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},6521:(e,t,r)=>{var n=r(1570),i=r(2868);e.exports="process"==n(i.process)},4010:(e,t,r)=>{var n=r(6900);e.exports=/web0s(?!.*chrome)/i.test(n)},6900:(e,t,r)=>{var n=r(8104);e.exports=n("navigator","userAgent")||""},8233:(e,t,r)=>{var n,i,o=r(2868),a=r(6900),s=o.process,u=o.Deno,c=s&&s.versions||u&&u.version,f=c&&c.v8;f&&(i=(n=f.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(i=+n[1]),e.exports=i},2018:(e,t,r)=>{var n=r(9081);e.exports=function(e){return n[e+"Prototype"]}},2712:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},8417:(e,t,r)=>{var n=r(6530),i=r(5595);e.exports=!n((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",i(1,7)),7!==e.stack)}))},390:(e,t,r)=>{"use strict";var n=r(2868),i=r(6266),o=r(3880),a=r(8307),s=r(5904).f,u=r(1011),c=r(9081),f=r(7673),l=r(8518),p=r(5584),d=function(e){var t=function(r,n,o){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(r);case 2:return new e(r,n)}return new e(r,n,o)}return i(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var r,i,v,m,h,y,g,_,w=e.target,b=e.global,T=e.stat,C=e.proto,x=b?n:T?n[w]:(n[w]||{}).prototype,P=b?c:c[w]||l(c,w,{})[w],$=P.prototype;for(v in t)r=!u(b?v:w+(T?".":"#")+v,e.forced)&&x&&p(x,v),h=P[v],r&&(y=e.dontCallGetSet?(_=s(x,v))&&_.value:x[v]),m=r&&y?y:t[v],r&&typeof h==typeof m||(g=e.bind&&r?f(m,n):e.wrap&&r?d(m):C&&a(m)?o(m):m,(e.sham||m&&m.sham||h&&h.sham)&&l(g,"sham",!0),l(P,v,g),C&&(p(c,i=w+"Prototype")||l(c,i,{}),l(c[i],v,m),e.real&&$&&!$[v]&&l($,v,m)))}},6530:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},6558:(e,t,r)=>{var n=r(6530);e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},6266:(e,t,r)=>{var n=r(9086),i=Function.prototype,o=i.apply,a=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(o):function(){return a.apply(o,arguments)})},7673:(e,t,r)=>{var n=r(3880),i=r(5222),o=r(9086),a=n(n.bind);e.exports=function(e,t){return i(e),void 0===t?e:o?a(e,t):function(){return e.apply(t,arguments)}}},9086:(e,t,r)=>{var n=r(6530);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},3146:(e,t,r)=>{var n=r(9086),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},7730:(e,t,r)=>{var n=r(7001),i=r(5584),o=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=i(o,"name"),u=s&&"something"===function(){}.name,c=s&&(!n||n&&a(o,"name").configurable);e.exports={EXISTS:s,PROPER:u,CONFIGURABLE:c}},3880:(e,t,r)=>{var n=r(9086),i=Function.prototype,o=i.bind,a=i.call,s=n&&o.bind(a,a);e.exports=n?function(e){return e&&s(e)}:function(e){return e&&function(){return a.apply(e,arguments)}}},8104:(e,t,r)=>{var n=r(9081),i=r(2868),o=r(8307),a=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?a(n[e])||a(i[e]):n[e]&&n[e][t]||i[e]&&i[e][t]}},5018:(e,t,r)=>{var n=r(7499),i=r(2809),o=r(9418),a=r(5712)("iterator");e.exports=function(e){if(null!=e)return i(e,a)||i(e,"@@iterator")||o[n(e)]}},5945:(e,t,r)=>{var n=r(2868),i=r(3146),o=r(5222),a=r(1912),s=r(7265),u=r(5018),c=n.TypeError;e.exports=function(e,t){var r=arguments.length<2?u(e):t;if(o(r))return a(i(r,e));throw c(s(e)+" is not iterable")}},2809:(e,t,r)=>{var n=r(5222);e.exports=function(e,t){var r=e[t];return null==r?void 0:n(r)}},2868:(e,t,r)=>{var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},5584:(e,t,r)=>{var n=r(3880),i=r(2058),o=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},7048:e=>{e.exports={}},8471:(e,t,r)=>{var n=r(2868);e.exports=function(e,t){var r=n.console;r&&r.error&&(1==arguments.length?r.error(e):r.error(e,t))}},5644:(e,t,r)=>{var n=r(8104);e.exports=n("document","documentElement")},640:(e,t,r)=>{var n=r(7001),i=r(6530),o=r(231);e.exports=!n&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},1251:(e,t,r)=>{var n=r(2868),i=r(3880),o=r(6530),a=r(1570),s=n.Object,u=i("".split);e.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?u(e,""):s(e)}:s},1494:(e,t,r)=>{var n=r(3880),i=r(8307),o=r(2656),a=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return a(e)}),e.exports=o.inspectSource},8525:(e,t,r)=>{var n=r(3359),i=r(8518);e.exports=function(e,t){n(t)&&"cause"in t&&i(e,"cause",t.cause)}},9446:(e,t,r)=>{var n=r(390),i=r(3880),o=r(7048),a=r(3359),s=r(5584),u=r(7550).f,c=r(9035),f=r(6159),l=r(8002),p=r(9),d=r(6558),v=!1,m=p("meta"),h=0,y=function(e){u(e,m,{value:{objectID:"O"+h++,weakData:{}}})},g=e.exports={enable:function(){g.enable=function(){},v=!0;var e=c.f,t=i([].splice),r={};r[m]=1,e(r).length&&(c.f=function(r){for(var n=e(r),i=0,o=n.length;i{var n,i,o,a=r(2297),s=r(2868),u=r(3880),c=r(3359),f=r(8518),l=r(5584),p=r(2656),d=r(5039),v=r(7048),m="Object already initialized",h=s.TypeError,y=s.WeakMap;if(a||p.state){var g=p.state||(p.state=new y),_=u(g.get),w=u(g.has),b=u(g.set);n=function(e,t){if(w(g,e))throw new h(m);return t.facade=e,b(g,e,t),t},i=function(e){return _(g,e)||{}},o=function(e){return w(g,e)}}else{var T=d("state");v[T]=!0,n=function(e,t){if(l(e,T))throw new h(m);return t.facade=e,f(e,T,t),t},i=function(e){return l(e,T)?e[T]:{}},o=function(e){return l(e,T)}}e.exports={set:n,get:i,has:o,enforce:function(e){return o(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=i(t)).type!==e)throw h("Incompatible receiver, "+e+" required");return r}}}},6475:(e,t,r)=>{var n=r(5712),i=r(9418),o=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},1054:(e,t,r)=>{var n=r(1570);e.exports=Array.isArray||function(e){return"Array"==n(e)}},8307:e=>{e.exports=function(e){return"function"==typeof e}},1775:(e,t,r)=>{var n=r(3880),i=r(6530),o=r(8307),a=r(7499),s=r(8104),u=r(1494),c=function(){},f=[],l=s("Reflect","construct"),p=/^\s*(?:class|function)\b/,d=n(p.exec),v=!p.exec(c),m=function(e){if(!o(e))return!1;try{return l(c,f,e),!0}catch(e){return!1}},h=function(e){if(!o(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return v||!!d(p,u(e))}catch(e){return!0}};h.sham=!0,e.exports=!l||i((function(){var e;return m(m.call)||!m(Object)||!m((function(){e=!0}))||e}))?h:m},1011:(e,t,r)=>{var n=r(6530),i=r(8307),o=/#|\.prototype\./,a=function(e,t){var r=u[s(e)];return r==f||r!=c&&(i(t)?n(t):!!t)},s=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},u=a.data={},c=a.NATIVE="N",f=a.POLYFILL="P";e.exports=a},3359:(e,t,r)=>{var n=r(8307);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},8367:e=>{e.exports=!0},6858:(e,t,r)=>{var n=r(3359),i=r(1570),o=r(5712)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},1149:(e,t,r)=>{var n=r(2868),i=r(8104),o=r(8307),a=r(5792),s=r(6046),u=n.Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return o(t)&&a(t.prototype,u(e))}},3906:(e,t,r)=>{var n=r(2868),i=r(7673),o=r(3146),a=r(1912),s=r(7265),u=r(6475),c=r(9876),f=r(5792),l=r(5945),p=r(5018),d=r(309),v=n.TypeError,m=function(e,t){this.stopped=e,this.result=t},h=m.prototype;e.exports=function(e,t,r){var n,y,g,_,w,b,T,C=r&&r.that,x=!(!r||!r.AS_ENTRIES),P=!(!r||!r.IS_ITERATOR),$=!(!r||!r.INTERRUPTED),A=i(t,C),k=function(e){return n&&d(n,"normal",e),new m(!0,e)},S=function(e){return x?(a(e),$?A(e[0],e[1],k):A(e[0],e[1])):$?A(e,k):A(e)};if(P)n=e;else{if(!(y=p(e)))throw v(s(e)+" is not iterable");if(u(y)){for(g=0,_=c(e);_>g;g++)if((w=S(e[g]))&&f(h,w))return w;return new m(!1)}n=l(e,y)}for(b=n.next;!(T=o(b,n)).done;){try{w=S(T.value)}catch(e){d(n,"throw",e)}if("object"==typeof w&&w&&f(h,w))return w}return new m(!1)}},309:(e,t,r)=>{var n=r(3146),i=r(1912),o=r(2809);e.exports=function(e,t,r){var a,s;i(e);try{if(!(a=o(e,"return"))){if("throw"===t)throw r;return r}a=n(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw r;if(s)throw a;return i(a),r}},7300:(e,t,r)=>{"use strict";var n,i,o,a=r(6530),s=r(8307),u=r(2491),c=r(2629),f=r(491),l=r(5712),p=r(8367),d=l("iterator"),v=!1;[].keys&&("next"in(o=[].keys())?(i=c(c(o)))!==Object.prototype&&(n=i):v=!0),null==n||a((function(){var e={};return n[d].call(e)!==e}))?n={}:p&&(n=u(n)),s(n[d])||f(n,d,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:v}},9418:e=>{e.exports={}},9876:(e,t,r)=>{var n=r(3746);e.exports=function(e){return n(e.length)}},2047:e=>{var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},8054:(e,t,r)=>{var n,i,o,a,s,u,c,f,l=r(2868),p=r(7673),d=r(5904).f,v=r(6569).set,m=r(6540),h=r(6405),y=r(4010),g=r(6521),_=l.MutationObserver||l.WebKitMutationObserver,w=l.document,b=l.process,T=l.Promise,C=d(l,"queueMicrotask"),x=C&&C.value;x||(n=function(){var e,t;for(g&&(e=b.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(e){throw i?a():o=void 0,e}}o=void 0,e&&e.enter()},m||g||y||!_||!w?!h&&T&&T.resolve?((c=T.resolve(void 0)).constructor=T,f=p(c.then,c),a=function(){f(n)}):g?a=function(){b.nextTick(n)}:(v=p(v,l),a=function(){v(n)}):(s=!0,u=w.createTextNode(""),new _(n).observe(u,{characterData:!0}),a=function(){u.data=s=!s})),e.exports=x||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},3216:(e,t,r)=>{var n=r(8233),i=r(6530);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},2297:(e,t,r)=>{var n=r(2868),i=r(8307),o=r(1494),a=n.WeakMap;e.exports=i(a)&&/native code/.test(o(a))},4130:(e,t,r)=>{"use strict";var n=r(5222),i=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new i(e)}},7515:(e,t,r)=>{var n=r(5264);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},9611:(e,t,r)=>{var n=r(2868),i=r(6858),o=n.TypeError;e.exports=function(e){if(i(e))throw o("The method doesn't accept regular expressions");return e}},2491:(e,t,r)=>{var n,i=r(1912),o=r(4686),a=r(2712),s=r(7048),u=r(5644),c=r(231),f=r(5039)("IE_PROTO"),l=function(){},p=function(e){return"