1"use strict";(self.webpackChunkdemo_code_website=self.webpackChunkdemo_code_website||[]).push([[727],{27727:function(e,r,t){t.r(r);var n=function(){var e="undefined"!==typeof document&&document.currentScript?document.currentScript.src:void 0;return function(r){var t,n;(r="undefined"!==typeof(r=r||{})?r:{}).ready=new Promise((function(e,r){t=e,n=r}));var o,i={};for(o in r)r.hasOwnProperty(o)&&(i[o]=r[o]);var a,s,u,c=[],f="./this.program",l=!0,d=!1,p="";(l||d)&&(d?p=self.location.href:"undefined"!==typeof document&&document.currentScript&&(p=document.currentScript.src),e&&(p=e),p=0!==p.indexOf("blob:")?p.substr(0,p.replace(/[?#].*/,"").lastIndexOf("/")+1):"",a=function(e){var r=new XMLHttpRequest;return r.open("GET",e,!1),r.send(null),r.responseText},d&&(u=function(e){var r=new XMLHttpRequest;return r.open("GET",e,!1),r.responseType="arraybuffer",r.send(null),new Uint8Array(r.response)}),s=function(e,r,t){var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="arraybuffer",n.onload=function(){200==n.status||0==n.status&&n.response?r(n.response):t()},n.onerror=t,n.send(null)});var h=r.print||console.log.bind(console),m=r.printErr||console.warn.bind(console);for(o in i)i.hasOwnProperty(o)&&(r[o]=i[o]);i=null,r.arguments&&(c=r.arguments),r.thisProgram&&(f=r.thisProgram),r.quit&&r.quit;var v,y=function(e){e};r.wasmBinary&&(v=r.wasmBinary);var w;r.noExitRuntime;"object"!==typeof WebAssembly&&ee("no native wasm support detected");var g=!1;function E(e,r){e||ee("Assertion failed: "+r)}var _="undefined"!==typeof TextDecoder?new TextDecoder("utf8"):void 0;function b(e,r,t){for(var n=r+t,o=r;e[o]&&!(o>=n);)++o;if(o-r>16&&e.subarray&&_)return _.decode(e.subarray(r,o));for(var i="";r<o;){var a=e[r++];if(128&a){var s=63&e[r++];if(192!=(224&a)){var u=63&e[r++];if((a=224==(240&a)?(15&a)<<12|s<<6|u:(7&a)<<18|s<<12|u<<6|63&e[r++])<65536)i+=String.fromCharCode(a);else{var c=a-65536;i+=String.fromCharCode(55296|c>>10,56320|1023&c)}}else i+=String.fromCharCode((31&a)<<6|s)}else i+=String.fromCharCode(a)}return i}function k(e,r){return e?b(F,e,r):""}function P(e,r,t,n){if(!(n>0))return 0;for(var o=t,i=t+n-1,a=0;a<e.length;++a){var s=e.charCodeAt(a);if(s>=55296&&s<=57343)s=65536+((1023&s)<<10)|1023&e.charCodeAt(++a);if(s<=127){if(t>=i)break;r[t++]=s}else if(s<=2047){if(t+1>=i)break;r[t++]=192|s>>6,r[t++]=128|63&s}else if(s<=65535){if(t+2>=i)break;r[t++]=224|s>>12,r[t++]=128|s>>6&63,r[t++]=128|63&s}else{if(t+3>=i)break;r[t++]=240|s>>18,r[t++]=128|s>>12&63,r[t++]=128|s>>6&63,r[t++]=128|63&s}}return r[t]=0,t-o}function T(e,r,t){return P(e,F,r,t)}function D(e){for(var r=0,t=0;t<e.length;++t){var n=e.charCodeAt(t);n>=55296&&n<=57343&&(n=65536+((1023&n)<<10)|1023&e.charCodeAt(++t)),n<=127?++r:r+=n<=2047?2:n<=65535?3:4}return r}var C,A,F,S,$,M,O,R,j,x="undefined"!==typeof TextDecoder?new TextDecoder("utf-16le"):void 0;function W(e,r){for(var t=e,n=t>>1,o=n+r/2;!(n>=o)&&$[n];)++n;if((t=n<<1)-e>32&&x)return x.decode(F.subarray(e,t));for(var i="",a=0;!(a>=r/2);++a){var s=S[e+2*a>>1];if(0==s)break;i+=String.fromCharCode(s)}return i}function B(e,r,t){if(void 0===t&&(t=2147483647),t<2)return 0;for(var n=r,o=(t-=2)<2*e.length?t/2:e.length,i=0;i<o;++i){var a=e.charCodeAt(i);S[r>>1]=a,r+=2}return S[r>>1]=0,r-n}function N(e){return 2*e.length}function z(e,r){for(var t=0,n="";!(t>=r/4);){var o=M[e+4*t>>2];if(0==o)break;if(++t,o>=65536){var i=o-65536;n+=String.fromCharCode(55296|i>>10,56320|1023&i)}else n+=String.fromCharCode(o)}return n}function I(e,r,t){if(void 0===t&&(t=2147483647),t<4)return 0;for(var n=r,o=n+t-4,i=0;i<e.length;++i){var a=e.charCodeAt(i);if(a>=55296&&a<=57343)a=65536+((1023&a)<<10)|1023&e.charCodeAt(++i);if(M[r>>2]=a,(r+=4)+4>o)break}return M[r>>2]=0,r-n}function U(e){for(var r=0,t=0;t<e.length;++t){var n=e.charCodeAt(t);n>=55296&&n<=57343&&++t,r+=4}return r}function L(e,r){A.set(e,r)}function H(e){C=e,r.HEAP8=A=new Int8Array(e),r.HEAP16=S=new Int16Array(e),r.HEAP32=M=new Int32Array(e),r.HEAPU8=F=new Uint8Array(e),r.HEAPU16=$=new Uint16Array(e),r.HEAPU32=O=new Uint32Array(e),r.HEAPF32=R=new Float32Array(e),r.HEAPF64=j=new Float64Array(e)}r.INITIAL_MEMORY;var V,Y=[],q=[],X=[];var G=0,K=null,J=null;function Z(e){G++,r.monitorRunDependencies&&r.monitorRunDependencies(G)}function Q(e){if(G--,r.monitorRunDependencies&&r.monitorRunDependencies(G),0==G&&(null!==K&&(clearInterval(K),K=null),J)){var t=J;J=null,t()}}function ee(e){r.onAbort&&r.onAbort(e),m(e="Aborted("+e+")"),g=!0,1,e+=". Build with -s ASSERTIONS=1 for more info.";var t=new WebAssembly.RuntimeError(e);throw n(t),t}r.preloadedImages={},r.preloadedAudios={};var re,te,ne,oe,ie="data:application/octet-stream;base64,";function ae(e){return e.startsWith(ie)}function se(e){try{if(e==re&&v)return new Uint8Array(v);if(u)return u(e);throw"both async and sync fetching of the wasm failed"}catch(m){ee(m)}}function ue(e){for(;e.length>0;){var t=e.shift();if("function"!=typeof t){var n=t.func;"number"===typeof n?void 0===t.arg?fe(n)():fe(n)(t.arg):n(void 0===t.arg?null:t.arg)}else t(r)}}ae(re="process.wasm")||(te=re,re=r.locateFile?r.locateFile(te,p):p+te);var ce=[];function fe(e){var r=ce[e];return r||(e>=ce.length&&(ce.length=e+1),ce[e]=r=V.get(e)),r}function le(e){this.excPtr=e,this.ptr=e-16,this.set_type=function(e){M[this.ptr+4>>2]=e},this.get_type=function(){return M[this.ptr+4>>2]},this.set_destructor=function(e){M[this.ptr+8>>2]=e},this.get_destructor=function(){return M[this.ptr+8>>2]},this.set_refcount=function(e){M[this.ptr>>2]=e},this.set_caught=function(e){e=e?1:0,A[this.ptr+12>>0]=e},this.get_caught=function(){return 0!=A[this.ptr+12>>0]},this.set_rethrown=function(e){e=e?1:0,A[this.ptr+13>>0]=e},this.get_rethrown=function(){return 0!=A[this.ptr+13>>0]},this.init=function(e,r){this.set_type(e),this.set_destructor(r),this.set_refcount(0),this.set_caught(!1),this.set_rethrown(!1)},this.add_ref=function(){var e=M[this.ptr>>2];M[this.ptr>>2]=e+1},this.release_ref=function(){var e=M[this.ptr>>2];return M[this.ptr>>2]=e-1,1===e}}var de={};function pe(e){for(;e.length;){var r=e.pop();e.pop()(r)}}function he(e){return this.fromWireType(O[e>>2])}var me={},ve={},ye={},we=48,ge=57;function Ee(e){if(void 0===e)return"_unknown";
vendor: 9,762 bytes, line 1
1var r=(e=e.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return r>=we&&r<=ge?"_"+e:e}function _e(e,r){return e=Ee(e),new Function("body","return function "+e+'() {\n "use strict"; return body.apply(this, arguments);\n};\n')(r)}function be(e,r){var t=_e(r,(function(e){this.name=r,this.message=e;var t=new Error(e).stack;void 0!==t&&(this.stack=this.toString()+"\n"+t.replace(/^Error(:[^\n]*)?\n/,""))}));return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.prototype.toString=function(){return void 0===this.message?this.name:this.name+": "+this.message},t}var ke=void 0;function Pe(e){throw new ke(e)}function Te(e,r,t){function n(r){var n=t(r);n.length!==e.length&&Pe("Mismatched type converter count");for(var o=0;o<e.length;++o)Me(e[o],n[o])}e.forEach((function(e){ye[e]=r}));var o=new Array(r.length),i=[],a=0;r.forEach((function(e,r){ve.hasOwnProperty(e)?o[r]=ve[e]:(i.push(e),me.hasOwnProperty(e)||(me[e]=[]),me[e].push((function(){o[r]=ve[e],++a===i.length&&n(o)})))})),0===i.length&&n(o)}var De={};function Ce(e){switch(e){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+e)}}var Ae=void 0;function Fe(e){for(var r="",t=e;F[t];)r+=Ae[F[t++]];return r}var Se=void 0;function $e(e){throw new Se(e)}function Me(e,r,t){if(t=t||{},!("argPackAdvance"in r))throw new TypeError("registerType registeredInstance requires argPackAdvance");var n=r.name;if(e||$e('type "'+n+'" must have a positive integer typeid pointer'),ve.hasOwnProperty(e)){if(t.ignoreDuplicateRegistrations)return;$e("Cannot register type '"+n+"' twice")}if(ve[e]=r,delete ye[e],me.hasOwnProperty(e)){var o=me[e];delete me[e],o.forEach((function(e){e()}))}}function Oe(e){if(!(this instanceof Ye))return!1;if(!(e instanceof Ye))return!1;for(var r=this.$$.ptrType.registeredClass,t=this.$$.ptr,n=e.$$.ptrType.registeredClass,o=e.$$.ptr;r.baseClass;)t=r.upcast(t),r=r.baseClass;for(;n.baseClass;)o=n.upcast(o),n=n.baseClass;return r===n&&t===o}function Re(e){$e(e.$$.ptrType.registeredClass.name+" instance already deleted")}var je=!1;function xe(e){}function We(e){e.count.value-=1,0===e.count.value&&function(e){e.smartPtr?e.smartPtrType.rawDestructor(e.smartPtr):e.ptrType.registeredClass.rawDestructor(e.ptr)}(e)}function Be(e){return"undefined"===typeof FinalizationRegistry?(Be=function(e){return e},e):(je=new FinalizationRegistry((function(e){We(e.$$)})),Be=function(e){var r={$$:e.$$};return je.register(e,r,e),e},xe=function(e){je.unregister(e)},Be(e))}function Ne(){if(this.$$.ptr||Re(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var e,r=Be(Object.create(Object.getPrototypeOf(this),{$$:{value:(e=this.$$,{count:e.count,deleteScheduled:e.deleteScheduled,preservePointerOnDelete:e.preservePointerOnDelete,ptr:e.ptr,ptrType:e.ptrType,smartPtr:e.smartPtr,smartPtrType:e.smartPtrType})}}));return r.$$.count.value+=1,r.$$.deleteScheduled=!1,r}function ze(){this.$$.ptr||Re(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&$e("Object already scheduled for deletion"),xe(this),We(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)}function Ie(){return!this.$$.ptr}var Ue=void 0,Le=[];function He(){for(;Le.length;){var e=Le.pop();e.$$.deleteScheduled=!1,e.delete()}}function Ve(){return this.$$.ptr||Re(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&$e("Object already scheduled for deletion"),Le.push(this),1===Le.length&&Ue&&Ue(He),this.$$.deleteScheduled=!0,this}function Ye(){}var qe={};function Xe(e,r,t){if(void 0===e[r].overloadTable){var n=e[r];e[r]=function(){return e[r].overloadTable.hasOwnProperty(arguments.length)||$e("Function '"+t+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+e[r].overloadTable+")!"),e[r].overloadTable[arguments.length].apply(this,arguments)},e[r].overloadTable=[],e[r].overloadTable[n.argCount]=n}}function Ge(e,t,n){r.hasOwnProperty(e)?((void 0===n||void 0!==r[e].overloadTable&&void 0!==r[e].overloadTable[n])&&$e("Cannot register public name '"+e+"' twice"),Xe(r,e,e),r.hasOwnProperty(n)&&$e("Cannot register multiple overloads of a function with the same number of arguments ("+n+")!"),r[e].overloadTable[n]=t):(r[e]=t,void 0!==n&&(r[e].numArguments=n))}function Ke(e,r,t,n,o,i,a,s){this.name=e,this.constructor=r,this.instancePrototype=t,this.rawDestructor=n,this.baseClass=o,this.getActualType=i,this.upcast=a,this.downcast=s,this.pureVirtualFunctions=[]}function Je(e,r,t){for(;r!==t;)r.upcast||$e("Expected null or instance of "+t.name+", got an instance of "+r.name),e=r.upcast(e),r=r.baseClass;return e}function Ze(e,r){if(null===r)return this.isReference&&$e("null is not a valid "+this.name),0;r.$$||$e('Cannot pass "'+Sr(r)+'" as a '+this.name),r.$$.ptr||$e("Cannot pass deleted object as a pointer of type "+this.name);var t=r.$$.ptrType.registeredClass;return Je(r.$$.ptr,t,this.registeredClass)}function Qe(e,r){var t;if(null===r)return this.isReference&&$e("null is not a valid "+this.name),this.isSmartPointer?(t=this.rawConstructor(),null!==e&&e.push(this.rawDestructor,t),t):0;r.$$||$e('Cannot pass "'+Sr(r)+'" as a '+this.name),r.$$.ptr||$e("Cannot pass deleted object as a pointer of type "+this.name),!this.isConst&&r.$$.ptrType.isConst&&$e("Cannot convert argument of type "+(r.$$.smartPtrType?r.$$.smartPtrType.name:r.$$.ptrType.name)+" to parameter type "+this.name);var n=r.$$.ptrType.registeredClass;if(t=Je(r.$$.ptr,n,this.registeredClass),this.isSmartPointer)switch(void 0===r.$$.smartPtr&&$e("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:r.$$.smartPtrType===this?t=r.$$.smartPtr:$e("Cannot convert argument of type "+(r.$$.smartPtrType?r.$$.smartPtrType.name:r.$$.ptrType.name)+" to parameter type "+this.name);break;case 1:t=r.$$.smartPtr;break;case 2:if(r.$$.smartPtrType===this)t=r.$$.smartPtr;else{var o=r.clone();t=this.rawShare(t,Cr.toHandle((function(){o.delete()}))),null!==e&&e.push(this.rawDestructor,t)}break;default:$e("Unsupporting sharing policy")}return t}function er(e,r){if(null===r)return this.isReference&&$e("null is not a valid "+this.name),0;r.$$||$e('Cannot pass "'+Sr(r)+'" as a '+this.name),r.$$.ptr||$e("Cannot pass deleted object as a pointer of type "+this.name),r.$$.ptrType.isConst&&$e("Cannot convert argument of type "+r.$$.ptrType.name+" to parameter type "+this.name);var t=r.$$.ptrType.registeredClass;return Je(r.$$.ptr,t,this.registeredClass)}function rr(e){return this.rawGetPointee&&(e=this.rawGetPointee(e)),e}function tr(e){this.rawDestructor&&this.rawDestructor(e)}function nr(e){null!==e&&e.delete()}function or(e,r,t){if(r===t)return e;if(void 0===t.baseClass)return null;var n=or(e,r,t.baseClass);return null===n?null:t.downcast(n)}function ir(){return Object.keys(ur).length}function ar(){var e=[];for(var r in ur)ur.hasOwnProperty(r)&&e.push(ur[r]);return e}function sr(e){Ue=e,Le.length&&Ue&&Ue(He)}var ur={};function cr(e,r){return r=function(e,r){for(void 0===r&&$e("ptr should not be undefined");e.baseClass;)r=e.upcast(r),e=e.baseClass;return r}(e,r),ur[r]}function fr(e,r){return r.ptrType&&r.ptr||Pe("makeClassHandle requires ptr and ptrType"),!!r.smartPtrType!==!!r.smartPtr&&Pe("Both smartPtrType and smartPtr must be specified"),r.count={value:1},Be(Object.create(e,{$$:{value:r}}))}function lr(e){var r=this.getPointee(e);if(!r)return this.destructor(e),null;var t=cr(this.registeredClass,r);if(void 0!==t){if(0===t.$$.count.value)return t.$$.ptr=r,t.$$.smartPtr=e,t.clone();var n=t.clone();return this.destructor(e),n}function o(){return this.isSmartPointer?fr(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:r,smartPtrType:this,smartPtr:e}):fr(this.registeredClass.instancePrototype,{ptrType:this,ptr:e})}var i,a=this.registeredClass.getActualType(r),s=qe[a];if(!s)return o.call(this);i=this.isConst?s.constPointerType:s.pointerType;var u=or(r,this.registeredClass,i.registeredClass);return null===u?o.call(this):this.isSmartPointer?fr(i.registeredClass.instancePrototype,{ptrType:i,ptr:u,smartPtrType:this,smartPtr:e}):fr(i.registeredClass.instancePrototype,{ptrType:i,ptr:u})}function dr(e,r,t,n,o,i,a,s,u,c,f){this.name=e,this.registeredClass=r,this.isReference=t,this.isConst=n,this.isSmartPointer=o,this.pointeeType=i,this.sharingPolicy=a,this.rawGetPointee=s,this.rawConstructor=u,this.rawShare=c,this.rawDestructor=f,o||void 0!==r.baseClass?this.toWireType=Qe:n?(this.toWireType=Ze,this.destructorFunction=null):(this.toWireType=er,this.destructorFunction=null)}function pr(e,t,n){r.hasOwnProperty(e)||Pe("Replacing nonexistant public symbol"),void 0!==r[e].overloadTable&&void 0!==n?r[e].overloadTable[n]=t:(r[e]=t,r[e].argCount=n)}function hr(e,t,n){return e.includes("j")?function(e,t,n){var o=r["dynCall_"+e];return n&&n.length?o.apply(null,[t].concat(n)):o.call(null,t)}(e,t,n):fe(t).apply(null,n)}function mr(e,r){var t=(e=Fe(e)).includes("j")?function(e,r){var t=[];return function(){t.length=arguments.length;for(var n=0;n<arguments.length;n++)t[n]=arguments[n];return hr(e,r,t)}}(e,r):fe(r);return"function"!==typeof t&&$e("unknown function pointer with signature "+e+": "+r),t}var vr=void 0;function yr(e){var r=rt(e),t=Fe(r);return et(r),t}function wr(e,r){var t=[],n={};throw r.forEach((function e(r){n[r]||ve[r]||(ye[r]?ye[r].forEach(e):(t.push(r),n[r]=!0))})),new vr(e+": "+t.map(yr).join([", "]))}function gr(e,r){for(var t=[],n=0;n<e;n++)t.push(M[(r>>2)+n]);return t}function Er(e,r,t,n,o){var i=r.length;i<2&&$e("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var a=null!==r[1]&&null!==t,s=!1,u=1;u<r.length;++u)if(null!==r[u]&&void 0===r[u].destructorFunction){s=!0;break}var c="void"!==r[0].name,f="",l="";for(u=0;
1u<i-2;++u)f+=(0!==u?", ":"")+"arg"+u,l+=(0!==u?", ":"")+"arg"+u+"Wired";var d="return function "+Ee(e)+"("+f+") {\nif (arguments.length !== "+(i-2)+") {\nthrowBindingError('function "+e+" called with ' + arguments.length + ' arguments, expected "+(i-2)+" args!');\n}\n";s&&(d+="var destructors = [];\n");var p=s?"destructors":"null",h=["throwBindingError","invoker","fn","runDestructors","retType","classParam"],m=[$e,n,o,pe,r[0],r[1]];a&&(d+="var thisWired = classParam.toWireType("+p+", this);\n");for(u=0;u<i-2;++u)d+="var arg"+u+"Wired = argType"+u+".toWireType("+p+", arg"+u+"); // "+r[u+2].name+"\n",h.push("argType"+u),m.push(r[u+2]);if(a&&(l="thisWired"+(l.length>0?", ":"")+l),d+=(c?"var rv = ":"")+"invoker(fn"+(l.length>0?", ":"")+l+");\n",s)d+="runDestructors(destructors);\n";else for(u=a?1:2;u<r.length;++u){var v=1===u?"thisWired":"arg"+(u-2)+"Wired";null!==r[u].destructorFunction&&(d+=v+"_dtor("+v+"); // "+r[u].name+"\n",h.push(v+"_dtor"),m.push(r[u].destructorFunction))}return c&&(d+="var ret = retType.fromWireType(rv);\nreturn ret;\n"),d+="}\n",h.push(d),function(e,r){if(!(e instanceof Function))throw new TypeError("new_ called with constructor type "+typeof e+" which is not a function");var t=_e(e.name||"unknownFunctionName",(function(){}));t.prototype=e.prototype;var n=new t,o=e.apply(n,r);return o instanceof Object?o:n}(Function,h).apply(null,m)}function _r(e,r,t){return e instanceof Object||$e(t+' with invalid "this": '+e),e instanceof r.registeredClass.constructor||$e(t+' incompatible with "this" of type '+e.constructor.name),e.$$.ptr||$e("cannot call emscripten binding method "+t+" on deleted object"),Je(e.$$.ptr,e.$$.ptrType.registeredClass,r.registeredClass)}var br=[],kr=[{},{value:void 0},{value:null},{value:!0},{value:!1}];function Pr(e){e>4&&0===--kr[e].refcount&&(kr[e]=void 0,br.push(e))}function Tr(){for(var e=0,r=5;r<kr.length;++r)void 0!==kr[r]&&++e;return e}function Dr(){for(var e=5;e<kr.length;++e)if(void 0!==kr[e])return kr[e];return null}var Cr={toValue:function(e){return e||$e("Cannot use deleted val. handle = "+e),kr[e].value},toHandle:function(e){switch(e){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:var r=br.length?br.pop():kr.length;return kr[r]={refcount:1,value:e},r}}};function Ar(e,r,t){switch(r){case 0:return function(e){var r=t?A:F;return this.fromWireType(r[e])};case 1:return function(e){var r=t?S:$;return this.fromWireType(r[e>>1])};case 2:return function(e){var r=t?M:O;return this.fromWireType(r[e>>2])};default:throw new TypeError("Unknown integer type: "+e)}}function Fr(e,r){var t=ve[e];return void 0===t&&$e(r+" has unknown type "+yr(e)),t}function Sr(e){if(null===e)return"null";var r=typeof e;return"object"===r||"array"===r||"function"===r?e.toString():""+e}function $r(e,r){switch(r){case 2:return function(e){return this.fromWireType(R[e>>2])};case 3:return function(e){return this.fromWireType(j[e>>3])};default:throw new TypeError("Unknown float type: "+e)}}function Mr(e,r,t){switch(r){case 0:return t?function(e){return A[e]}:function(e){return F[e]};case 1:return t?function(e){return S[e>>1]}:function(e){return $[e>>1]};case 2:return t?function(e){return M[e>>2]}:function(e){return O[e>>2]};default:throw new TypeError("Unknown integer type: "+e)}}function Or(e){try{return w.grow(e-C.byteLength+65535>>>16),H(w.buffer),1}catch(r){}}var Rr={};
1function jr(){if(!jr.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",_:f||"./this.program"};for(var r in Rr)void 0===Rr[r]?delete e[r]:e[r]=Rr[r];var t=[];for(var r in e)t.push(r+"="+e[r]);jr.strings=t}return jr.strings}var xr={splitPath:function(e){return/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(e).slice(1)},normalizeArray:function(e,r){for(var t=0,n=e.length-1;n>=0;n--){var o=e[n];"."===o?e.splice(n,1):".."===o?(e.splice(n,1),t++):t&&(e.splice(n,1),t--)}if(r)for(;t;t--)e.unshift("..");return e},normalize:function(e){var r="/"===e.charAt(0),t="/"===e.substr(-1);return(e=xr.normalizeArray(e.split("/").filter((function(e){return!!e})),!r).join("/"))||r||(e="."),e&&t&&(e+="/"),(r?"/":"")+e},dirname:function(e){var r=xr.splitPath(e),t=r[0],n=r[1];return t||n?(n&&(n=n.substr(0,n.length-1)),t+n):"."},basename:function(e){if("/"===e)return"/";var r=(e=(e=xr.normalize(e)).replace(/\/$/,"")).lastIndexOf("/");return-1===r?e:e.substr(r+1)},extname:function(e){return xr.splitPath(e)[3]},join:function(){var e=Array.prototype.slice.call(arguments,0);return xr.normalize(e.join("/"))},join2:function(e,r){return xr.normalize(e+"/"+r)}};var Wr={resolve:function(){for(var e="",r=!1,t=arguments.length-1;t>=-1&&!r;t--){var n=t>=0?arguments[t]:zr.cwd();if("string"!==typeof n)throw new TypeError("Arguments to path.resolve must be strings");if(!n)return"";e=n+"/"+e,r="/"===n.charAt(0)}return(r?"/":"")+(e=xr.normalizeArray(e.split("/").filter((function(e){return!!e})),!r).join("/"))||"."},relative:function(e,r){function t(e){for(var r=0;r<e.length&&""===e[r];r++);for(var t=e.length-1;t>=0&&""===e[t];t--);return r>t?[]:e.slice(r,t-r+1)}e=Wr.resolve(e).substr(1),r=Wr.resolve(r).substr(1);for(var n=t(e.split("/")),o=t(r.split("/")),i=Math.min(n.length,o.length),a=i,s=0;s<i;s++)if(n[s]!==o[s]){a=s;break}var u=[];for(s=a;s<n.length;s++)u.push("..");return(u=u.concat(o.slice(a))).join("/")}},Br={ttys:[],init:function(){},shutdown:function(){},register:function(e,r){Br.ttys[e]={input:[],output:[],ops:r},zr.registerDevice(e,Br.stream_ops)},stream_ops:{open:function(e){var r=Br.ttys[e.node.rdev];if(!r)throw new zr.ErrnoError(43);e.tty=r,e.seekable=!1},close:function(e){e.tty.ops.flush(e.tty)},flush:function(e){e.tty.ops.flush(e.tty)},read:function(e,r,t,n,o){if(!e.tty||!e.tty.ops.get_char)throw new zr.ErrnoError(60);for(var i=0,a=0;a<n;a++){var s;try{s=e.tty.ops.get_char(e.tty)}catch(u){throw new zr.ErrnoError(29)}if(void 0===s&&0===i)throw new zr.ErrnoError(6);if(null===s||void 0===s)break;i++,r[t+a]=s}return i&&(e.node.timestamp=Date.now()),i},write:function(e,r,t,n,o){if(!e.tty||!e.tty.ops.put_char)throw new zr.ErrnoError(60);try{for(var i=0;i<n;i++)e.tty.ops.put_char(e.tty,r[t+i])}catch(a){throw new zr.ErrnoError(29)}return n&&(e.node.timestamp=Date.now()),i}},default_tty_ops:{get_char:function(e){if(!e.input.length){var r=null;if("undefined"!=typeof window&&"function"==typeof window.prompt?null!==(r=window.prompt("Input: "))&&(r+="\n"):"function"==typeof readline&&null!==(r=readline())&&(r+="\n"),!r)return null;e.input=Kr(r,!0)}return e.input.shift()},put_char:function(e,r){null===r||10===r?(h(b(e.output,0)),e.output=[]):0!=r&&e.output.push(r)},flush:function(e){e.output&&e.output.length>0&&(h(b(e.output,0)),e.output=[])}},default_tty1_ops:{put_char:function(e,r){null===r||10===r?(m(b(e.output,0)),e.output=[]):0!=r&&e.output.push(r)},flush:function(e){e.output&&e.output.length>0&&(m(b(e.output,0)),e.output=[])}}};var Nr={ops_table:null,mount:function(e){return Nr.createNode(null,"/",16895,0)},createNode:function(e,r,t,n){if(zr.isBlkdev(t)||zr.isFIFO(t))throw new zr.ErrnoError(63);Nr.ops_table||(Nr.ops_table={dir:{node:{getattr:Nr.node_ops.getattr,setattr:Nr.node_ops.setattr,lookup:Nr.node_ops.lookup,mknod:Nr.node_ops.mknod,rename:Nr.node_ops.rename,unlink:Nr.node_ops.unlink,rmdir:Nr.node_ops.rmdir,readdir:Nr.node_ops.readdir,symlink:Nr.node_ops.symlink},stream:{llseek:Nr.stream_ops.llseek}}
vendor: 3,304 bytes, line 1
1,file:{node:{getattr:Nr.node_ops.getattr,setattr:Nr.node_ops.setattr},stream:{llseek:Nr.stream_ops.llseek,read:Nr.stream_ops.read,write:Nr.stream_ops.write,allocate:Nr.stream_ops.allocate,mmap:Nr.stream_ops.mmap,msync:Nr.stream_ops.msync}},link:{node:{getattr:Nr.node_ops.getattr,setattr:Nr.node_ops.setattr,readlink:Nr.node_ops.readlink},stream:{}},chrdev:{node:{getattr:Nr.node_ops.getattr,setattr:Nr.node_ops.setattr},stream:zr.chrdev_stream_ops}});var o=zr.createNode(e,r,t,n);return zr.isDir(o.mode)?(o.node_ops=Nr.ops_table.dir.node,o.stream_ops=Nr.ops_table.dir.stream,o.contents={}):zr.isFile(o.mode)?(o.node_ops=Nr.ops_table.file.node,o.stream_ops=Nr.ops_table.file.stream,o.usedBytes=0,o.contents=null):zr.isLink(o.mode)?(o.node_ops=Nr.ops_table.link.node,o.stream_ops=Nr.ops_table.link.stream):zr.isChrdev(o.mode)&&(o.node_ops=Nr.ops_table.chrdev.node,o.stream_ops=Nr.ops_table.chrdev.stream),o.timestamp=Date.now(),e&&(e.contents[r]=o,e.timestamp=o.timestamp),o},getFileDataAsTypedArray:function(e){return e.contents?e.contents.subarray?e.contents.subarray(0,e.usedBytes):new Uint8Array(e.contents):new Uint8Array(0)},expandFileStorage:function(e,r){var t=e.contents?e.contents.length:0;if(!(t>=r)){r=Math.max(r,t*(t<1048576?2:1.125)>>>0),0!=t&&(r=Math.max(r,256));var n=e.contents;e.contents=new Uint8Array(r),e.usedBytes>0&&e.contents.set(n.subarray(0,e.usedBytes),0)}},resizeFileStorage:function(e,r){if(e.usedBytes!=r)if(0==r)e.contents=null,e.usedBytes=0;else{var t=e.contents;e.contents=new Uint8Array(r),t&&e.contents.set(t.subarray(0,Math.min(r,e.usedBytes))),e.usedBytes=r}},node_ops:{getattr:function(e){var r={};return r.dev=zr.isChrdev(e.mode)?e.id:1,r.ino=e.id,r.mode=e.mode,r.nlink=1,r.uid=0,r.gid=0,r.rdev=e.rdev,zr.isDir(e.mode)?r.size=4096:zr.isFile(e.mode)?r.size=e.usedBytes:zr.isLink(e.mode)?r.size=e.link.length:r.size=0,r.atime=new Date(e.timestamp),r.mtime=new Date(e.timestamp),r.ctime=new Date(e.timestamp),r.blksize=4096,r.blocks=Math.ceil(r.size/r.blksize),r},setattr:function(e,r){void 0!==r.mode&&(e.mode=r.mode),void 0!==r.timestamp&&(e.timestamp=r.timestamp),void 0!==r.size&&Nr.resizeFileStorage(e,r.size)},lookup:function(e,r){throw zr.genericErrors[44]},mknod:function(e,r,t,n){return Nr.createNode(e,r,t,n)},rename:function(e,r,t){if(zr.isDir(e.mode)){var n;try{n=zr.lookupNode(r,t)}catch(i){}if(n)for(var o in n.contents)throw new zr.ErrnoError(55)}delete e.parent.contents[e.name],e.parent.timestamp=Date.now(),e.name=t,r.contents[t]=e,r.timestamp=e.parent.timestamp,e.parent=r},unlink:function(e,r){delete e.contents[r],e.timestamp=Date.now()},rmdir:function(e,r){var t=zr.lookupNode(e,r);for(var n in t.contents)throw new zr.ErrnoError(55);delete e.contents[r],e.timestamp=Date.now()},readdir:function(e){var r=[".",".."];for(var t in e.contents)e.contents.hasOwnProperty(t)&&r.push(t);return r},symlink:function(e,r,t){var n=Nr.createNode(e,r,41471,0);return n.link=t,n},readlink:function(e){if(!zr.isLink(e.mode))throw new zr.ErrnoError(28);return e.link}},stream_ops:{read:function(e,r,t,n,o){var i=e.node.contents;if(o>=e.node.usedBytes)return 0;var a=Math.min(e.node.usedBytes-o,n);if(a>8&&i.subarray)r.set(i.subarray(o,o+a),t);else for(var s=0;s<a;s++)r[t+s]=i[o+s];return a},write:function(e,r,t,n,o,i){if(r.buffer===A.buffer&&(i=!1),!n)return 0;
1var a=e.node;if(a.timestamp=Date.now(),r.subarray&&(!a.contents||a.contents.subarray)){if(i)return a.contents=r.subarray(t,t+n),a.usedBytes=n,n;if(0===a.usedBytes&&0===o)return a.contents=r.slice(t,t+n),a.usedBytes=n,n;if(o+n<=a.usedBytes)return a.contents.set(r.subarray(t,t+n),o),n}if(Nr.expandFileStorage(a,o+n),a.contents.subarray&&r.subarray)a.contents.set(r.subarray(t,t+n),o);else for(var s=0;s<n;s++)a.contents[o+s]=r[t+s];return a.usedBytes=Math.max(a.usedBytes,o+n),n},llseek:function(e,r,t){var n=r;if(1===t?n+=e.position:2===t&&zr.isFile(e.node.mode)&&(n+=e.node.usedBytes),n<0)throw new zr.ErrnoError(28);return n},allocate:function(e,r,t){Nr.expandFileStorage(e.node,r+t),e.node.usedBytes=Math.max(e.node.usedBytes,r+t)},mmap:function(e,r,t,n,o,i){if(0!==r)throw new zr.ErrnoError(28);if(!zr.isFile(e.node.mode))throw new zr.ErrnoError(43);var a,s,u=e.node.contents;if(2&i||u.buffer!==C){if((n>0||n+t<u.length)&&(u=u.subarray?u.subarray(n,n+t):Array.prototype.slice.call(u,n,n+t)),s=!0,!(a=void ee()))throw new zr.ErrnoError(48);A.set(u,a)}else s=!1,a=u.byteOffset;return{ptr:a,allocated:s}},msync:function(e,r,t,n,o){if(!zr.isFile(e.node.mode))throw new zr.ErrnoError(43);if(2&o)return 0;Nr.stream_ops.write(e,r,0,n,t,!1);return 0}}};var zr={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:!1,ignorePermissions:!0,ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,lookupPath:function(e,r){if(r=r||{},!(e=Wr.resolve(zr.cwd(),e)))return{path:"",node:null};var t={follow_mount:!0,recurse_count:0};for(var n in t)void 0===r[n]&&(r[n]=t[n]);if(r.recurse_count>8)throw new zr.ErrnoError(32);for(var o=xr.normalizeArray(e.split("/").filter((function(e){return!!e})),!1),i=zr.root,a="/",s=0;s<o.length;s++){var u=s===o.length-1;if(u&&r.parent)break;if(i=zr.lookupNode(i,o[s]),a=xr.join2(a,o[s]),zr.isMountpoint(i)&&(!u||u&&r.follow_mount)&&(i=i.mounted.root),!u||r.follow)for(var c=0;zr.isLink(i.mode);){var f=zr.readlink(a);if(a=Wr.resolve(xr.dirname(a),f),i=zr.lookupPath(a,{recurse_count:r.recurse_count}).node,c++>40)throw new zr.ErrnoError(32)}}return{path:a,node:i}},getPath:function(e){for(var r;;){if(zr.isRoot(e)){var t=e.mount.mountpoint;return r?"/"!==t[t.length-1]?t+"/"+r:t+r:t}r=r?e.name+"/"+r:e.name,e=e.parent}},hashName:function(e,r){for(var t=0,n=0;n<r.length;n++)t=(t<<5)-t+r.charCodeAt(n)|0;return(e+t>>>0)%zr.nameTable.length},hashAddNode:function(e){var r=zr.hashName(e.parent.id,e.name);e.name_next=zr.nameTable[r],zr.nameTable[r]=e},hashRemoveNode:function(e){var r=zr.hashName(e.parent.id,e.name);if(zr.nameTable[r]===e)zr.nameTable[r]=e.name_next;else for(var t=zr.nameTable[r];t;){if(t.name_next===e){t.name_next=e.name_next;break}t=t.name_next}},lookupNode:function(e,r){var t=zr.mayLookup(e);if(t)throw new zr.ErrnoError(t,e);for(var n=zr.hashName(e.id,r),o=zr.nameTable[n];o;o=o.name_next){var i=o.name;if(o.parent.id===e.id&&i===r)return o}return zr.lookup(e,r)},createNode:function(e,r,t,n){var o=new zr.FSNode(e,r,t,n);return zr.hashAddNode(o),o},destroyNode:function(e){zr.hashRemoveNode(e)},isRoot:function(e){return e===e.parent},isMountpoint:function(e){return!!e.mounted},isFile:function(e){return 32768===(61440&e)},isDir:function(e){return 16384===(61440&e)},isLink:function(e){return 40960===(61440&e)},isChrdev:function(e){return 8192===(61440&e)},isBlkdev:function(e){return 24576===(61440&e)},isFIFO:function(e){return 4096===(61440&e)},isSocket:function(e){return 49152===(49152&e)},flagModes:{r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090},modeStringToFlags:function(e){var r=zr.flagModes[e];if("undefined"===typeof r)throw new Error("Unknown file open mode: "+e);return r},flagsToPermissionString:function(e){var r=["r","w","rw"][3&e];return 512&e&&(r+="w"),r},nodePermissions:function(e,r){return zr.ignorePermissions||(!r.includes("r")||292&e.mode)&&(!r.includes("w")||146&e.mode)&&(!r.includes("x")||73&e.mode)?0:2},mayLookup:function(e){var r=zr.nodePermissions(e,"x");return r||(e.node_ops.lookup?0:2)},mayCreate:function(e,r){try{zr.lookupNode(e,r);return 20}catch(t){}return zr.nodePermissions(e,"wx")},mayDelete:function(e,r,t){var n;try{n=zr.lookupNode(e,r)}catch(i){return i.errno}var o=zr.nodePermissions(e,"wx");if(o)return o;if(t){if(!zr.isDir(n.mode))return 54;if(zr.isRoot(n)||zr.getPath(n)===zr.cwd())return 10}else if(zr.isDir(n.mode))return 31;return 0},mayOpen:function(e,r){return e?zr.isLink(e.mode)?32:zr.isDir(e.mode)&&("r"!==zr.flagsToPermissionString(r)||512&r)?31:zr.nodePermissions(e,zr.flagsToPermissionString(r)):44},MAX_OPEN_FDS:4096,nextfd:function(e,r){e=e||0,r=r||zr.MAX_OPEN_FDS;for(var t=e;t<=r;t++)if(!zr.streams[t])return t;throw new zr.ErrnoError(33)}
1,getStream:function(e){return zr.streams[e]},createStream:function(e,r,t){zr.FSStream||(zr.FSStream=function(){},zr.FSStream.prototype={object:{get:function(){return this.node},set:function(e){this.node=e}},isRead:{get:function(){return 1!==(2097155&this.flags)}},isWrite:{get:function(){return 0!==(2097155&this.flags)}},isAppend:{get:function(){return 1024&this.flags}}});var n=new zr.FSStream;for(var o in e)n[o]=e[o];e=n;var i=zr.nextfd(r,t);return e.fd=i,zr.streams[i]=e,e},closeStream:function(e){zr.streams[e]=null},chrdev_stream_ops:{open:function(e){var r=zr.getDevice(e.node.rdev);e.stream_ops=r.stream_ops,e.stream_ops.open&&e.stream_ops.open(e)},llseek:function(){throw new zr.ErrnoError(70)}},major:function(e){return e>>8},minor:function(e){return 255&e},makedev:function(e,r){return e<<8|r},registerDevice:function(e,r){zr.devices[e]={stream_ops:r}},getDevice:function(e){return zr.devices[e]},getMounts:function(e){for(var r=[],t=[e];t.length;){var n=t.pop();r.push(n),t.push.apply(t,n.mounts)}return r},syncfs:function(e,r){"function"===typeof e&&(r=e,e=!1),zr.syncFSRequests++,zr.syncFSRequests>1&&m("warning: "+zr.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work");var t=zr.getMounts(zr.root.mount),n=0;function o(e){return zr.syncFSRequests--,r(e)}function i(e){if(e)return i.errored?void 0:(i.errored=!0,o(e));++n>=t.length&&o(null)}t.forEach((function(r){if(!r.type.syncfs)return i(null);r.type.syncfs(r,e,i)}))},mount:function(e,r,t){var n,o="/"===t,i=!t;if(o&&zr.root)throw new zr.ErrnoError(10);if(!o&&!i){var a=zr.lookupPath(t,{follow_mount:!1});if(t=a.path,n=a.node,zr.isMountpoint(n))throw new zr.ErrnoError(10);if(!zr.isDir(n.mode))throw new zr.ErrnoError(54)}var s={type:e,opts:r,mountpoint:t,mounts:[]},u=e.mount(s);return u.mount=s,s.root=u,o?zr.root=u:n&&(n.mounted=s,n.mount&&n.mount.mounts.push(s)),u},unmount:function(e){var r=zr.lookupPath(e,{follow_mount:!1});if(!zr.isMountpoint(r.node))throw new zr.ErrnoError(28);var t=r.node,n=t.mounted,o=zr.getMounts(n);Object.keys(zr.nameTable).forEach((function(e){for(var r=zr.nameTable[e];r;){var t=r.name_next;o.includes(r.mount)&&zr.destroyNode(r),r=t}})),t.mounted=null;var i=t.mount.mounts.indexOf(n);t.mount.mounts.splice(i,1)},lookup:function(e,r){return e.node_ops.lookup(e,r)},mknod:function(e,r,t){var n=zr.lookupPath(e,{parent:!0}).node,o=xr.basename(e);if(!o||"."===o||".."===o)throw new zr.ErrnoError(28);var i=zr.mayCreate(n,o);if(i)throw new zr.ErrnoError(i);if(!n.node_ops.mknod)throw new zr.ErrnoError(63);return n.node_ops.mknod(n,o,r,t)},create:function(e,r){return r=void 0!==r?r:438,r&=4095,r|=32768,zr.mknod(e,r,0)},mkdir:function(e,r){return r=void 0!==r?r:511,r&=1023,r|=16384,zr.mknod(e,r,0)},mkdirTree:function(e,r){for(var t=e.split("/"),n="",o=0;o<t.length;++o)if(t[o]){n+="/"+t[o];try{zr.mkdir(n,r)}catch(i){if(20!=i.errno)throw i}}},mkdev:function(e,r,t){return"undefined"===typeof t&&(t=r,r=438),r|=8192,zr.mknod(e,r,t)},symlink:function(e,r){if(!Wr.resolve(e))throw new zr.ErrnoError(44);var t=zr.lookupPath(r,{parent:!0}).node;if(!t)throw new zr.ErrnoError(44);var n=xr.basename(r),o=zr.mayCreate(t,n);if(o)throw new zr.ErrnoError(o);if(!t.node_ops.symlink)throw new zr.ErrnoError(63);return t.node_ops.symlink(t,n,e)},rename:function(e,r){var t,n,o=xr.dirname(e),i=xr.dirname(r),a=xr.basename(e),s=xr.basename(r);if(t=zr.lookupPath(e,{parent:!0}).node,n=zr.lookupPath(r,{parent:!0}).node,!t||!n)throw new zr.ErrnoError(44);if(t.mount!==n.mount)throw new zr.ErrnoError(75);var u,c=zr.lookupNode(t,a),f=Wr.relative(e,i);if("."!==f.charAt(0))throw new zr.ErrnoError(28);if("."!==(f=Wr.relative(r,o)).charAt(0))throw new zr.ErrnoError(55);try{u=zr.lookupNode(n,s)}catch(p){}if(c!==u){var l=zr.isDir(c.mode),d=zr.mayDelete(t,a,l);if(d)throw new zr.ErrnoError(d);if(d=u?zr.mayDelete(n,s,l):zr.mayCreate(n,s))throw new zr.ErrnoError(d);if(!t.node_ops.rename)throw new zr.ErrnoError(63);if(zr.isMountpoint(c)||u&&zr.isMountpoint(u))throw new zr.ErrnoError(10);if(n!==t&&(d=zr.nodePermissions(t,"w")))throw new zr.ErrnoError(d);zr.hashRemoveNode(c);try{t.node_ops.rename(c,n,s)}catch(p){throw p}finally{zr.hashAddNode(c)}}},rmdir:function(e){var r=zr.lookupPath(e,{parent:!0}).node,t=xr.basename(e),n=zr.lookupNode(r,t),o=zr.mayDelete(r,t,!0);if(o)throw new zr.ErrnoError(o);if(!r.node_ops.rmdir)throw new zr.ErrnoError(63);if(zr.isMountpoint(n))throw new zr.ErrnoError(10);r.node_ops.rmdir(r,t),zr.destroyNode(n)},readdir:function(e){var r=zr.lookupPath(e,{follow:!0}).node;if(!r.node_ops.readdir)throw new zr.ErrnoError(54);return r.node_ops.readdir(r)},unlink:function(e){var r=zr.lookupPath(e,{parent:!0}).node,t=xr.basename(e),n=zr.lookupNode(r,t),o=zr.mayDelete(r,t,!1);if(o)throw new zr.ErrnoError(o);if(!r.node_ops.unlink)throw new zr.ErrnoError(63);if(zr.isMountpoint(n))throw new zr.ErrnoError(10);r.node_ops.unlink(r,t),zr.destroyNode(n)},readlink:function(e){var r=zr.lookupPath(e).node;if(!r)throw new zr.ErrnoError(44);if(!r.node_ops.readlink)throw new zr.ErrnoError(28);return Wr.resolve(zr.getPath(r.parent),r.node_ops.readlink(r))},stat:function(e,r){var t=zr.lookupPath(e,{follow:!r}).node;if(!t)throw new zr.ErrnoError(44);if(!t.node_ops.getattr)throw new zr.ErrnoError(63);return t.node_ops.getattr(t)},lstat:function(e){return zr.stat(e,!0)},chmod:function(e,r,t){var n;"string"===typeof e?n=zr.lookupPath(e,{follow:!t}).node:n=e;if(!n.node_ops.setattr)throw new zr.ErrnoError(63);n.node_ops.setattr(n,{mode:4095&r|-4096&n.mode,timestamp:Date.now()})},lchmod:function(e,r){zr.chmod(e,r,!0)},fchmod:function(e,r){var t=zr.getStream(e);if(!t)throw new zr.ErrnoError(8);zr.chmod(t.node,r)},chown:function(e,r,t,n){var o;"string"===typeof e?o=zr.lookupPath(e,{follow:!n}).node:o=e;if(!o.node_ops.setattr)throw new zr.ErrnoError(63);o.node_ops.setattr(o,{timestamp:Date.now()})},lchown:function(e,r,t){zr.chown(e,r,t,!0)},fchown:function(e,r,t){var n=zr.getStream(e);if(!n)throw new zr.ErrnoError(8);zr.chown(n.node,r,t)},truncate:function(e,r){if(r<0)throw new zr.ErrnoError(28);var t;"string"===typeof e?t=zr.lookupPath(e,{follow:!0}).node:t=e;if(!t.node_ops.setattr)throw new zr.ErrnoError(63);if(zr.isDir(t.mode))throw new zr.ErrnoError(31);if(!zr.isFile(t.mode))throw new zr.ErrnoError(28);var n=zr.nodePermissions(t,"w");if(n)throw new zr.ErrnoError(n);t.node_ops.setattr(t,{size:r,timestamp:Date.now()})},ftruncate:function(e,r){var t=zr.getStream(e);if(!t)throw new zr.ErrnoError(8);if(0===(2097155&t.flags))throw new zr.ErrnoError(28);zr.truncate(t.node,r)},utime:function(e,r,t){var n=zr.lookupPath(e,{follow:!0}).node;n.node_ops.setattr(n,{timestamp:Math.max(r,t)})},open:function(e,t,n,o,i){if(""===e)throw new zr.ErrnoError(44);var a;if(n="undefined"===typeof n?438:n,n=64&(t="string"===typeof t?zr.modeStringToFlags(t):t)?4095&n|32768:0,"object"===typeof e)a=e;else{e=xr.normalize(e);try{a=zr.lookupPath(e,{follow:!(131072&t)}).node}catch(f){}}var s=!1;if(64&t)if(a){if(128&t)throw new zr.ErrnoError(20)}else a=zr.mknod(e,n,0),s=!0;if(!a)throw new zr.ErrnoError(44);if(zr.isChrdev(a.mode)&&(t&=-513),65536&t&&!zr.isDir(a.mode))throw new zr.ErrnoError(54);if(!s){var u=zr.mayOpen(a,t);
1if(u)throw new zr.ErrnoError(u)}512&t&&zr.truncate(a,0),t&=-131713;var c=zr.createStream({node:a,path:zr.getPath(a),id:a.id,flags:t,mode:a.mode,seekable:!0,position:0,stream_ops:a.stream_ops,node_ops:a.node_ops,ungotten:[],error:!1},o,i);return c.stream_ops.open&&c.stream_ops.open(c),!r.logReadFiles||1&t||(zr.readFiles||(zr.readFiles={}),e in zr.readFiles||(zr.readFiles[e]=1)),c},close:function(e){if(zr.isClosed(e))throw new zr.ErrnoError(8);e.getdents&&(e.getdents=null);try{e.stream_ops.close&&e.stream_ops.close(e)}catch(r){throw r}finally{zr.closeStream(e.fd)}e.fd=null},isClosed:function(e){return null===e.fd},llseek:function(e,r,t){if(zr.isClosed(e))throw new zr.ErrnoError(8);if(!e.seekable||!e.stream_ops.llseek)throw new zr.ErrnoError(70);if(0!=t&&1!=t&&2!=t)throw new zr.ErrnoError(28);return e.position=e.stream_ops.llseek(e,r,t),e.ungotten=[],e.position},read:function(e,r,t,n,o){if(n<0||o<0)throw new zr.ErrnoError(28);if(zr.isClosed(e))throw new zr.ErrnoError(8);if(1===(2097155&e.flags))throw new zr.ErrnoError(8);if(zr.isDir(e.node.mode))throw new zr.ErrnoError(31);if(!e.stream_ops.read)throw new zr.ErrnoError(28);var i="undefined"!==typeof o;if(i){if(!e.seekable)throw new zr.ErrnoError(70)}else o=e.position;var a=e.stream_ops.read(e,r,t,n,o);return i||(e.position+=a),a},write:function(e,r,t,n,o,i){if(n<0||o<0)throw new zr.ErrnoError(28);if(zr.isClosed(e))throw new zr.ErrnoError(8);if(0===(2097155&e.flags))throw new zr.ErrnoError(8);if(zr.isDir(e.node.mode))throw new zr.ErrnoError(31);if(!e.stream_ops.write)throw new zr.ErrnoError(28);e.seekable&&1024&e.flags&&zr.llseek(e,0,2);var a="undefined"!==typeof o;if(a){if(!e.seekable)throw new zr.ErrnoError(70)}else o=e.position;var s=e.stream_ops.write(e,r,t,n,o,i);return a||(e.position+=s),s},allocate:function(e,r,t){if(zr.isClosed(e))throw new zr.ErrnoError(8);if(r<0||t<=0)throw new zr.ErrnoError(28);if(0===(2097155&e.flags))throw new zr.ErrnoError(8);if(!zr.isFile(e.node.mode)&&!zr.isDir(e.node.mode))throw new zr.ErrnoError(43);if(!e.stream_ops.allocate)throw new zr.ErrnoError(138);e.stream_ops.allocate(e,r,t)},mmap:function(e,r,t,n,o,i){if(0!==(2&o)&&0===(2&i)&&2!==(2097155&e.flags))throw new zr.ErrnoError(2);if(1===(2097155&e.flags))throw new zr.ErrnoError(2);if(!e.stream_ops.mmap)throw new zr.ErrnoError(43);return e.stream_ops.mmap(e,r,t,n,o,i)},msync:function(e,r,t,n,o){return e&&e.stream_ops.msync?e.stream_ops.msync(e,r,t,n,o):0},munmap:function(e){return 0},ioctl:function(e,r,t){if(!e.stream_ops.ioctl)throw new zr.ErrnoError(59);return e.stream_ops.ioctl(e,r,t)},readFile:function(e,r){if((r=r||{}).flags=r.flags||0,r.encoding=r.encoding||"binary","utf8"!==r.encoding&&"binary"!==r.encoding)throw new Error('Invalid encoding type "'+r.encoding+'"');var t,n=zr.open(e,r.flags),o=zr.stat(e).size,i=new Uint8Array(o);return zr.read(n,i,0,o,0),"utf8"===r.encoding?t=b(i,0):"binary"===r.encoding&&(t=i),zr.close(n),t},writeFile:function(e,r,t){(t=t||{}).flags=t.flags||577;var n=zr.open(e,t.flags,t.mode);if("string"===typeof r){var o=new Uint8Array(D(r)+1),i=P(r,o,0,o.length);zr.write(n,o,0,i,void 0,t.canOwn)}else{if(!ArrayBuffer.isView(r))throw new Error("Unsupported data type");zr.write(n,r,0,r.byteLength,void 0,t.canOwn)}zr.close(n)},cwd:function(){return zr.currentPath},chdir:function(e){var r=zr.lookupPath(e,{follow:!0});if(null===r.node)throw new zr.ErrnoError(44);if(!zr.isDir(r.node.mode))throw new zr.ErrnoError(54);
1var t=zr.nodePermissions(r.node,"x");if(t)throw new zr.ErrnoError(t);zr.currentPath=r.path},createDefaultDirectories:function(){zr.mkdir("/tmp"),zr.mkdir("/home"),zr.mkdir("/home/web_user")},createDefaultDevices:function(){zr.mkdir("/dev"),zr.registerDevice(zr.makedev(1,3),{read:function(){return 0},write:function(e,r,t,n,o){return n}}),zr.mkdev("/dev/null",zr.makedev(1,3)),Br.register(zr.makedev(5,0),Br.default_tty_ops),Br.register(zr.makedev(6,0),Br.default_tty1_ops),zr.mkdev("/dev/tty",zr.makedev(5,0)),zr.mkdev("/dev/tty1",zr.makedev(6,0));var e=function(){if("object"===typeof crypto&&"function"===typeof crypto.getRandomValues){var e=new Uint8Array(1);return function(){return crypto.getRandomValues(e),e[0]}}return function(){ee("randomDevice")}}();zr.createDevice("/dev","random",e),zr.createDevice("/dev","urandom",e),zr.mkdir("/dev/shm"),zr.mkdir("/dev/shm/tmp")},createSpecialDirectories:function(){zr.mkdir("/proc");var e=zr.mkdir("/proc/self");zr.mkdir("/proc/self/fd"),zr.mount({mount:function(){var r=zr.createNode(e,"fd",16895,73);return r.node_ops={lookup:function(e,r){var t=+r,n=zr.getStream(t);if(!n)throw new zr.ErrnoError(8);var o={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:function(){return n.path}}};return o.parent=o,o}},r}},{},"/proc/self/fd")},createStandardStreams:function(){r.stdin?zr.createDevice("/dev","stdin",r.stdin):zr.symlink("/dev/tty","/dev/stdin"),r.stdout?zr.createDevice("/dev","stdout",null,r.stdout):zr.symlink("/dev/tty","/dev/stdout"),r.stderr?zr.createDevice("/dev","stderr",null,r.stderr):zr.symlink("/dev/tty1","/dev/stderr");zr.open("/dev/stdin",0),zr.open("/dev/stdout",1),zr.open("/dev/stderr",1)},ensureErrnoError:function(){zr.ErrnoError||(zr.ErrnoError=function(e,r){this.node=r,this.setErrno=function(e){this.errno=e},this.setErrno(e),this.message="FS error"},zr.ErrnoError.prototype=new Error,zr.ErrnoError.prototype.constructor=zr.ErrnoError,[44].forEach((function(e){zr.genericErrors[e]=new zr.ErrnoError(e),zr.genericErrors[e].stack="<generic error, no stack>"})))},staticInit:function(){zr.ensureErrnoError(),zr.nameTable=new Array(4096),zr.mount(Nr,{},"/"),zr.createDefaultDirectories(),zr.createDefaultDevices(),zr.createSpecialDirectories(),zr.filesystems={MEMFS:Nr}},init:function(e,t,n){zr.init.initialized=!0,zr.ensureErrnoError(),r.stdin=e||r.stdin,r.stdout=t||r.stdout,r.stderr=n||r.stderr,zr.createStandardStreams()},quit:function(){zr.init.initialized=!1;var e=r._fflush;e&&e(0);for(var t=0;t<zr.streams.length;t++){var n=zr.streams[t];n&&zr.close(n)}},getMode:function(e,r){var t=0;return e&&(t|=365),r&&(t|=146),t},findObject:function(e,r){var t=zr.analyzePath(e,r);return t.exists?t.object:null},analyzePath:function(e,r){try{e=(n=zr.lookupPath(e,{follow:!r})).path}catch(o){}var t={isRoot:!1,exists:!1,error:0,name:null,path:null,object:null,parentExists:!1,parentPath:null,parentObject:null};try{var n=zr.lookupPath(e,{parent:!0});t.parentExists=!0,t.parentPath=n.path,t.parentObject=n.node,t.name=xr.basename(e),n=zr.lookupPath(e,{follow:!r}),t.exists=!0,t.path=n.path,t.object=n.node,t.name=n.node.name,t.isRoot="/"===n.path}catch(o){t.error=o.errno}return t},createPath:function(e,r,t,n){e="string"===typeof e?e:zr.getPath(e);for(var o=r.split("/").reverse();o.length;){var i=o.pop();if(i){var a=xr.join2(e,i);try{zr.mkdir(a)}catch(s){}e=a}}return a},createFile:function(e,r,t,n,o){var i=xr.join2("string"===typeof e?e:zr.getPath(e),r),a=zr.getMode(n,o);return zr.create(i,a)},createDataFile:function(e,r,t,n,o,i){var a=r?xr.join2("string"===typeof e?e:zr.getPath(e),r):e,s=zr.getMode(n,o),u=zr.create(a,s);if(t){if("string"===typeof t){for(var c=new Array(t.length),f=0,l=t.length;f<l;++f)c[f]=t.charCodeAt(f);t=c}zr.chmod(u,146|s);var d=zr.open(u,577);zr.write(d,t,0,t.length,0,i),zr.close(d),zr.chmod(u,s)}return u},createDevice:function(e,r,t,n){var o=xr.join2("string"===typeof e?e:zr.getPath(e),r),i=zr.getMode(!!t,!!n);zr.createDevice.major||(zr.createDevice.major=64);var a=zr.makedev(zr.createDevice.major++,0);return zr.registerDevice(a,{open:function(e){e.seekable=!1},close:function(e){n&&n.buffer&&n.buffer.length&&n(10)},read:function(e,r,n,o,i){for(var a=0,s=0;s<o;s++){var u;try{u=t()}catch(c){throw new zr.ErrnoError(29)}if(void 0===u&&0===a)throw new zr.ErrnoError(6);if(null===u||void 0===u)break;a++,r[n+s]=u}return a&&(e.node.timestamp=Date.now()),a},write:function(e,r,t,o,i){for(var a=0;a<o;a++)try{n(r[t+a])}catch(s){throw new zr.ErrnoError(29)}return o&&(e.node.timestamp=Date.now()),a}}),zr.mkdev(o,i,a)},forceLoadFile:function(e){if(e.isDevice||e.isFolder||e.link||e.contents)return!0;
1if("undefined"!==typeof XMLHttpRequest)throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.");if(!a)throw new Error("Cannot load without read() or XMLHttpRequest.");try{e.contents=Kr(a(e.url),!0),e.usedBytes=e.contents.length}catch(r){throw new zr.ErrnoError(29)}},createLazyFile:function(e,r,t,n,o){function i(){this.lengthKnown=!1,this.chunks=[]}if(i.prototype.get=function(e){if(!(e>this.length-1||e<0)){var r=e%this.chunkSize,t=e/this.chunkSize|0;return this.getter(t)[r]}},i.prototype.setDataGetter=function(e){this.getter=e},i.prototype.cacheLength=function(){var e=new XMLHttpRequest;if(e.open("HEAD",t,!1),e.send(null),!(e.status>=200&&e.status<300||304===e.status))throw new Error("Couldn't load "+t+". Status: "+e.status);var r,n=Number(e.getResponseHeader("Content-length")),o=(r=e.getResponseHeader("Accept-Ranges"))&&"bytes"===r,i=(r=e.getResponseHeader("Content-Encoding"))&&"gzip"===r,a=1048576;o||(a=n);var s=this;s.setDataGetter((function(e){var r=e*a,o=(e+1)*a-1;if(o=Math.min(o,n-1),"undefined"===typeof s.chunks[e]&&(s.chunks[e]=function(e,r){if(e>r)throw new Error("invalid range ("+e+", "+r+") or no bytes requested!");if(r>n-1)throw new Error("only "+n+" bytes available! programmer error!");var o=new XMLHttpRequest;if(o.open("GET",t,!1),n!==a&&o.setRequestHeader("Range","bytes="+e+"-"+r),"undefined"!=typeof Uint8Array&&(o.responseType="arraybuffer"),o.overrideMimeType&&o.overrideMimeType("text/plain; charset=x-user-defined"),o.send(null),!(o.status>=200&&o.status<300||304===o.status))throw new Error("Couldn't load "+t+". Status: "+o.status);return void 0!==o.response?new Uint8Array(o.response||[]):Kr(o.responseText||"",!0)}(r,o)),"undefined"===typeof s.chunks[e])throw new Error("doXHR failed!");return s.chunks[e]})),!i&&n||(a=n=1,n=this.getter(0).length,a=n,h("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=n,this._chunkSize=a,this.lengthKnown=!0},"undefined"!==typeof XMLHttpRequest){if(!d)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var a=new i;Object.defineProperties(a,{length:{get:function(){return this.lengthKnown||this.cacheLength(),this._length}},chunkSize:{get:function(){return this.lengthKnown||this.cacheLength(),this._chunkSize}}});var s={isDevice:!1,contents:a}}else s={isDevice:!1,url:t};var u=zr.createFile(e,r,s,n,o);s.contents?u.contents=s.contents:s.url&&(u.contents=null,u.url=s.url),Object.defineProperties(u,{usedBytes:{get:function(){return this.contents.length}}});var c={};return Object.keys(u.stream_ops).forEach((function(e){var r=u.stream_ops[e];c[e]=function(){return zr.forceLoadFile(u),r.apply(null,arguments)}})),c.read=function(e,r,t,n,o){zr.forceLoadFile(u);var i=e.node.contents;if(o>=i.length)return 0;var a=Math.min(i.length-o,n);if(i.slice)for(var s=0;s<a;s++)r[t+s]=i[o+s];else for(s=0;s<a;s++)r[t+s]=i.get(o+s);return a},u.stream_ops=c,u},createPreloadedFile:function(e,t,n,o,i,a,u,c,f,l){Browser.init();var d=t?Wr.resolve(xr.join2(e,t)):e;function p(n){function s(r){l&&l(),c||zr.createDataFile(e,t,r,o,i,f),a&&a(),Q()}var p=!1;r.preloadPlugins.forEach((function(e){p||e.canHandle(d)&&(e.handle(n,d,s,(function(){u&&u(),Q()})),p=!0)})),p||s(n)}Z(),"string"==typeof n?function(e,r,t,n){var o=n?"":"al "+e;s(e,(function(t){E(t,'Loading data file "'+e+'" failed (no arrayBuffer).'),r(new Uint8Array(t)),o&&Q()}),(function(r){if(!t)throw'Loading data file "'+e+'" failed.';t()})),o&&Z()}(n,(function(e){p(e)}),u):p(n)},indexedDB:function(){return window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB},DB_NAME:function(){return"EM_FS_"+window.location.pathname},DB_VERSION:20,DB_STORE_NAME:"FILE_DATA",saveFilesToDB:function(e,r,t){r=r||function(){},t=t||function(){};var n=zr.indexedDB();try{var o=n.open(zr.DB_NAME(),zr.DB_VERSION)}catch(i){return t(i)}o.onupgradeneeded=function(){h("creating db"),o.result.createObjectStore(zr.DB_STORE_NAME)},o.onsuccess=function(){var n=o.result.transaction([zr.DB_STORE_NAME],"readwrite"),i=n.objectStore(zr.DB_STORE_NAME),a=0,s=0,u=e.length;function c(){0==s?r():t()}e.forEach((function(e){var r=i.put(zr.analyzePath(e).object.contents,e);r.onsuccess=function(){++a+s==u&&c()},r.onerror=function(){s++,a+s==u&&c()}})),n.onerror=t},o.onerror=t},loadFilesFromDB:function(e,r,t){r=r||function(){},t=t||function(){};var n=zr.indexedDB();try{var o=n.open(zr.DB_NAME(),zr.DB_VERSION)}catch(i){return t(i)}o.onupgradeneeded=t,o.onsuccess=function(){var n=o.result;try{var a=n.transaction([zr.DB_STORE_NAME],"readonly")}catch(i){return void t(i)}var s=a.objectStore(zr.DB_STORE_NAME),u=0,c=0,f=e.length;function l(){0==c?r():t()}e.forEach((function(e){var r=s.get(e);r.onsuccess=function(){zr.analyzePath(e).exists&&zr.unlink(e),zr.createDataFile(xr.dirname(e),xr.basename(e),r.result,!0,!0,!0),++u+c==f&&l()},r.onerror=function(){c++,u+c==f&&l()}})),a.onerror=t},o.onerror=t}},Ir={mappings:{},DEFAULT_POLLMASK:5,calculateAt:function(e,r,t){if("/"===r[0])return r;var n;if(-100===e)n=zr.cwd();else{var o=zr.getStream(e);if(!o)throw new zr.ErrnoError(8);n=o.path}if(0==r.length){if(!t)throw new zr.ErrnoError(44);return n}return xr.join2(n,r)},doStat:function(e,r,t){try{var n=e(r)}catch(o){if(o&&o.node&&xr.normalize(r)!==xr.normalize(zr.getPath(o.node)))return-54;throw o}return M[t>>2]=n.dev,M[t+4>>2]=0,M[t+8>>2]=n.ino,M[t+12>>2]=n.mode,M[t+16>>2]=n.nlink,M[t+20>>2]=n.uid,M[t+24>>2]=n.gid,M[t+28>>2]=n.rdev,M[t+32>>2]=0,oe=[n.size>>>0,(ne=n.size,+Math.abs(ne)>=1?ne>0?(0|Math.min(+Math.floor(ne/4294967296),4294967295))>>>0:~~+Math.ceil((ne-+(~~ne>>>0))/4294967296)>>>0:0)],M[t+40>>2]=oe[0],M[t+44>>2]=oe[1],M[t+48>>2]=4096,M[t+52>>2]=n.blocks,M[t+56>>2]=n.atime.getTime()/1e3|0,M[t+60>>2]=0,M[t+64>>2]=n.mtime.getTime()/1e3|0,M[t+68>>2]=0,M[t+72>>2]=n.ctime.getTime()/1e3|0,M[t+76>>2]=0,oe=[n.ino>>>0,(ne=n.ino,+Math.abs(ne)>=1?ne>0?(0|Math.min(+Math.floor(ne/4294967296),4294967295))>>>0:~~+Math.ceil((ne-+(~~ne>>>0))/4294967296)>>>0:0)],M[t+80>>2]=oe[0],M[t+84>>2]=oe[1],0},doMsync:function(e,r,t,n,o){var i=F.slice(e,e+t);zr.msync(r,i,o,t,n)},doMkdir:function(e,r){return"/"===(e=xr.normalize(e))[e.length-1]&&(e=e.substr(0,e.length-1)),zr.mkdir(e,r,0),0},doMknod:function(e,r,t){switch(61440&r){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}return zr.mknod(e,r,t),0},doReadlink:function(e,r,t){if(t<=0)return-28;var n=zr.readlink(e),o=Math.min(t,D(n)),i=A[r+o];return T(n,r,t+1),A[r+o]=i,o},doAccess:function(e,r){if(-8&r)return-28;var t;if(!(t=zr.lookupPath(e,{follow:!0}).node))return-44;var n="";return 4&r&&(n+="r"),2&r&&(n+="w"),1&r&&(n+="x"),n&&zr.nodePermissions(t,n)?-2:0},doDup:function(e,r,t){var n=zr.getStream(t);return n&&zr.close(n),zr.open(e,r,0,t,t).fd},doReadv:function(e,r,t,n){for(var o=0,i=0;i<t;i++){var a=M[r+8*i>>2],s=M[r+(8*i+4)>>2],u=zr.read(e,A,a,s,n);if(u<0)return-1;if(o+=u,u<s)break}return o},doWritev:function(e,r,t,n){for(var o=0,i=0;i<t;i++){var a=M[r+8*i>>2],s=M[r+(8*i+4)>>2],u=zr.write(e,A,a,s,n);if(u<0)return-1;o+=u}return o},varargs:void 0,get:function(){return Ir.varargs+=4,M[Ir.varargs-4>>2]},getStr:function(e){return k(e)},getStreamFromFD:function(e){var r=zr.getStream(e);if(!r)throw new zr.ErrnoError(8);return r},get64:function(e,r){return e}};function Ur(e){return e%4===0&&(e%100!==0||e%400===0)}function Lr(e,r){for(var t=0,n=0;n<=r;t+=e[n++]);return t}var Hr=[31,29,31,30,31,30,31,31,30,31,30,31],Vr=[31,28,31,30,31,30,31,31,30,31,30,31];function Yr(e,r){for(var t=new Date(e.getTime());r>0;){var n=Ur(t.getFullYear()),o=t.getMonth(),i=(n?Hr:Vr)[o];if(!(r>i-t.getDate()))return t.setDate(t.getDate()+r),t;r-=i-t.getDate()+1,t.setDate(1),o<11?t.setMonth(o+1):(t.setMonth(0),t.setFullYear(t.getFullYear()+1))}return t}ke=r.InternalError=be(Error,"InternalError"),function(){for(var e=new Array(256),r=0;r<256;++r)e[r]=String.fromCharCode(r);Ae=e}(),Se=r.BindingError=be(Error,"BindingError"),Ye.prototype.isAliasOf=Oe,Ye.prototype.clone=Ne,Ye.prototype.delete=ze,Ye.prototype.isDeleted=Ie,Ye.prototype.deleteLater=Ve,dr.prototype.getPointee=rr,dr.prototype.destructor=tr,dr.prototype.argPackAdvance=8,dr.prototype.readValueFromPointer=he,dr.prototype.deleteObject=nr,dr.prototype.fromWireType=lr,r.getInheritedInstanceCount=ir,r.getLiveInheritedInstances=ar,r.flushPendingDeletes=He,r.setDelayFunction=sr,vr=r.UnboundTypeError=be(Error,"UnboundTypeError"),r.count_emval_handles=Tr,r.get_first_emval=Dr;var qr=function(e,r,t,n){e||(e=this),this.parent=e,this.mount=e.mount,this.mounted=null,this.id=zr.nextInode++,this.name=r,this.mode=t,this.node_ops={},this.stream_ops={},this.rdev=n},Xr=365,Gr=146;function Kr(e,r,t){var n=t>0?t:D(e)+1,o=new Array(n),i=P(e,o,0,o.length);return r&&(o.length=i),o}Object.defineProperties(qr.prototype,{read:{get:function(){return(this.mode&Xr)===Xr},set:function(e){e?this.mode|=Xr:this.mode&=-366}},write:{get:function(){return(this.mode&Gr)===Gr},set:function(e){e?this.mode|=Gr:this.mode&=-147}},isFolder:{get:function(){return zr.isDir(this.mode)}},isDevice:{get:function(){return zr.isChrdev(this.mode)}}}),zr.FSNode=qr,zr.staticInit();var Jr,Zr={d:function(e){return Qr(e+16)+16},e:function(e,r,t){throw new le(e).init(r,t),e,e},n:function(e){var r=de[e];delete de[e];var t=r.elements,n=t.length,o=t.map((function(e){return e.getterReturnType})).concat(t.map((function(e){return e.setterArgumentType}))),i=r.rawConstructor,a=r.rawDestructor;Te([e],o,(function(e){return t.forEach((function(r,t){var o=e[t],i=r.getter,a=r.getterContext,s=e[t+n],u=r.setter,c=r.setterContext;r.read=function(e){return o.fromWireType(i(a,e))},r.write=function(e,r){var t=[];u(c,e,s.toWireType(t,r)),pe(t)}})),[{name:r.name,fromWireType:function(e){for(var r=new Array(n),o=0;o<n;++o)r[o]=t[o].read(e);return a(e),r},toWireType:function(e,o){if(n!==o.length)throw new TypeError("Incorrect number of tuple elements for "+r.name+": expected="+n+", actual="+o.length);for(var s=i(),u=0;u<n;++u)t[u].write(s,o[u]);return null!==e&&e.push(a,s),s},argPackAdvance:8,readValueFromPointer:he,destructorFunction:a}]}))},p:function(e){var r=De[e];delete De[e];var t=r.rawConstructor,n=r.rawDestructor,o=r.fields;Te([e],o.map((function(e){return e.getterReturnType})).concat(o.map((function(e){return e.setterArgumentType}))),(function(e){var i={};return o.forEach((function(r,t){var n=r.fieldName,a=e[t],s=r.getter,u=r.getterContext,c=e[t+o.length],f=r.setter,l=r.setterContext;i[n]={read:function(e){return a.fromWireType(s(u,e))},write:function(e,r){var t=[];f(l,e,c.toWireType(t,r)),pe(t)}}})),[{name:r.name,fromWireType:function(e){var r={};
1for(var t in i)r[t]=i[t].read(e);return n(e),r},toWireType:function(e,r){for(var o in i)if(!(o in r))throw new TypeError('Missing field: "'+o+'"');var a=t();for(o in i)i[o].write(a,r[o]);return null!==e&&e.push(n,a),a},argPackAdvance:8,readValueFromPointer:he,destructorFunction:n}]}))},y:function(e,r,t,n,o){},I:function(e,r,t,n,o){var i=Ce(t);Me(e,{name:r=Fe(r),fromWireType:function(e){return!!e},toWireType:function(e,r){return r?n:o},argPackAdvance:8,readValueFromPointer:function(e){var n;if(1===t)n=A;else if(2===t)n=S;else{if(4!==t)throw new TypeError("Unknown boolean type size: "+r);n=M}return this.fromWireType(n[e>>i])},destructorFunction:null})},h:function(e,r,t,n,o,i,a,s,u,c,f,l,d){f=Fe(f),i=mr(o,i),s&&(s=mr(a,s)),c&&(c=mr(u,c)),d=mr(l,d);var p=Ee(f);Ge(p,(function(){wr("Cannot construct "+f+" due to unbound types",[n])})),Te([e,r,t],n?[n]:[],(function(r){var t,o;r=r[0],o=n?(t=r.registeredClass).instancePrototype:Ye.prototype;var a=_e(p,(function(){if(Object.getPrototypeOf(this)!==u)throw new Se("Use 'new' to construct "+f);if(void 0===l.constructor_body)throw new Se(f+" has no accessible constructor");var e=l.constructor_body[arguments.length];if(void 0===e)throw new Se("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(o,{constructor:{value:a}});a.prototype=u;var l=new Ke(f,a,u,d,t,i,s,c),h=new dr(f,l,!0,!1,!1),m=new dr(f+"*",l,!1,!1,!1),v=new dr(f+" const*",l,!1,!0,!1);return qe[e]={pointerType:m,constPointerType:v},pr(p,a),[h,m,v]}))},g:function(e,r,t,n,o,i){E(r>0);var a=gr(r,t);o=mr(n,o),Te([],[e],(function(e){var t="constructor "+(e=e[0]).name;if(void 0===e.registeredClass.constructor_body&&(e.registeredClass.constructor_body=[]),void 0!==e.registeredClass.constructor_body[r-1])throw new Se("Cannot register multiple constructors with identical number of parameters ("+(r-1)+") for class '"+e.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");return e.registeredClass.constructor_body[r-1]=function(){wr("Cannot construct "+e.name+" due to unbound types",a)},Te([],a,(function(n){return n.splice(1,0,null),e.registeredClass.constructor_body[r-1]=Er(t,n,null,o,i),[]})),[]}))},c:function(e,r,t,n,o,i,a,s){var u=gr(t,n);r=Fe(r),i=mr(o,i),Te([],[e],(function(e){var n=(e=e[0]).name+"."+r;function o(){wr("Cannot call "+n+" due to unbound types",u)}r.startsWith("@@")&&(r=Symbol[r.substring(2)]),s&&e.registeredClass.pureVirtualFunctions.push(r);var c=e.registeredClass.instancePrototype,f=c[r];return void 0===f||void 0===f.overloadTable&&f.className!==e.name&&f.argCount===t-2?(o.argCount=t-2,o.className=e.name,c[r]=o):(Xe(c,r,n),c[r].overloadTable[t-2]=o),Te([],u,(function(o){var s=Er(n,o,e,i,a);return void 0===c[r].overloadTable?(s.argCount=t-2,c[r]=s):c[r].overloadTable[t-2]=s,[]})),[]}))},r:function(e,r,t,n,o,i,a,s,u,c){r=Fe(r),o=mr(n,o),Te([],[e],(function(e){var n=(e=e[0]).name+"."+r,f={get:function(){wr("Cannot access "+n+" due to unbound types",[t,a])},enumerable:!0,configurable:!0};return f.set=u?function(){wr("Cannot access "+n+" due to unbound types",[t,a])}:function(e){$e(n+" is a read-only property")},Object.defineProperty(e.registeredClass.instancePrototype,r,f),Te([],u?[t,a]:[t],(function(t){var a=t[0],f={get:function(){var r=_r(this,e,n+" getter");return a.fromWireType(o(i,r))},enumerable:!0};if(u){u=mr(s,u);var l=t[1];f.set=function(r){var t=_r(this,e,n+" setter"),o=[];u(c,t,l.toWireType(o,r)),pe(o)}}return Object.defineProperty(e.registeredClass.instancePrototype,r,f),[]})),[]}))},H:function(e,r){Me(e,{name:r=Fe(r),fromWireType:function(e){var r=Cr.toValue(e);return Pr(e),r},toWireType:function(e,r){return Cr.toHandle(r)},argPackAdvance:8,readValueFromPointer:he,destructorFunction:null})},q:function(e,r,t,n){var o=Ce(t);function i(){}r=Fe(r),i.values={},Me(e,{name:r,constructor:i,fromWireType:function(e){return this.constructor.values[e]},toWireType:function(e,r){return r.value},argPackAdvance:8,readValueFromPointer:Ar(r,o,n),destructorFunction:null}),Ge(r,i)},i:function(e,r,t){var n=Fr(e,"enum");r=Fe(r);var o=n.constructor,i=Object.create(n.constructor.prototype,{value:{value:t},constructor:{value:_e(n.name+"_"+r,(function(){}))}});o.values[t]=i,o[r]=i},v:function(e,r,t){var n=Ce(t);Me(e,{name:r=Fe(r),fromWireType:function(e){return e},toWireType:function(e,r){if("number"!==typeof r&&"boolean"!==typeof r)throw new TypeError('Cannot convert "'+Sr(r)+'" to '+this.name);return r},argPackAdvance:8,readValueFromPointer:$r(r,n),destructorFunction:null})},a:function(e,r,t,n,o,i){var a=gr(r,t);e=Fe(e),o=mr(n,o),Ge(e,(function(){wr("Cannot call "+e+" due to unbound types",a)}),r-1),Te([],a,(function(t){var n=[t[0],null].concat(t.slice(1));return pr(e,Er(e,n,null,o,i),r-1),[]}))},k:function(e,r,t,n,o){r=Fe(r),-1===o&&(o=4294967295);var i=Ce(t),a=function(e){return e};if(0===n){var s=32-8*t;a=function(e){return e<<s>>>s}}
1var u=r.includes("unsigned");Me(e,{name:r,fromWireType:a,toWireType:function(e,t){if("number"!==typeof t&&"boolean"!==typeof t)throw new TypeError('Cannot convert "'+Sr(t)+'" to '+this.name);if(t<n||t>o)throw new TypeError('Passing a number "'+Sr(t)+'" from JS side to C/C++ side to an argument of type "'+r+'", which is outside the valid range ['+n+", "+o+"]!");return u?t>>>0:0|t},argPackAdvance:8,readValueFromPointer:Mr(r,i,0!==n),destructorFunction:null})},j:function(e,r,t){var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][r];function o(e){var r=O,t=r[e>>=2],o=r[e+1];return new n(C,o,t)}Me(e,{name:t=Fe(t),fromWireType:o,argPackAdvance:8,readValueFromPointer:o},{ignoreDuplicateRegistrations:!0})},w:function(e,r){var t="std::string"===(r=Fe(r));Me(e,{name:r,fromWireType:function(e){var r,n=O[e>>2];if(t)for(var o=e+4,i=0;i<=n;++i){var a=e+4+i;if(i==n||0==F[a]){var s=k(o,a-o);void 0===r?r=s:(r+=String.fromCharCode(0),r+=s),o=a+1}}else{var u=new Array(n);for(i=0;i<n;++i)u[i]=String.fromCharCode(F[e+4+i]);r=u.join("")}return et(e),r},toWireType:function(e,r){r instanceof ArrayBuffer&&(r=new Uint8Array(r));var n="string"===typeof r;n||r instanceof Uint8Array||r instanceof Uint8ClampedArray||r instanceof Int8Array||$e("Cannot pass non-string to std::string");var o=(t&&n?function(){return D(r)}:function(){return r.length})(),i=Qr(4+o+1);if(O[i>>2]=o,t&&n)T(r,i+4,o+1);else if(n)for(var a=0;a<o;++a){var s=r.charCodeAt(a);s>255&&(et(i),$e("String has UTF-16 code units that do not fit in 8 bits")),F[i+4+a]=s}else for(a=0;a<o;++a)F[i+4+a]=r[a];return null!==e&&e.push(et,i),i},argPackAdvance:8,readValueFromPointer:he,destructorFunction:function(e){et(e)}})},t:function(e,r,t){var n,o,i,a,s;t=Fe(t),2===r?(n=W,o=B,a=N,i=function(){return $},s=1):4===r&&(n=z,o=I,a=U,i=function(){return O},s=2),Me(e,{name:t,fromWireType:function(e){for(var t,o=O[e>>2],a=i(),u=e+4,c=0;c<=o;++c){var f=e+4+c*r;if(c==o||0==a[f>>s]){var l=n(u,f-u);void 0===t?t=l:(t+=String.fromCharCode(0),t+=l),u=f+r}}return et(e),t},toWireType:function(e,n){"string"!==typeof n&&$e("Cannot pass non-string to C++ string type "+t);var i=a(n),u=Qr(4+i+r);return O[u>>2]=i>>s,o(n,u+4,i+r),null!==e&&e.push(et,u),u},argPackAdvance:8,readValueFromPointer:he,destructorFunction:function(e){et(e)}})},o:function(e,r,t,n,o,i){de[e]={name:Fe(r),rawConstructor:mr(t,n),rawDestructor:mr(o,i),elements:[]}},b:function(e,r,t,n,o,i,a,s,u){de[e].elements.push({getterReturnType:r,getter:mr(t,n),getterContext:o,setterArgumentType:i,setter:mr(a,s),setterContext:u})},m:function(e,r,t,n,o,i){De[e]={name:Fe(r),rawConstructor:mr(t,n),rawDestructor:mr(o,i),fields:[]}},f:function(e,r,t,n,o,i,a,s,u,c){De[e].fields.push({fieldName:Fe(r),getterReturnType:t,getter:mr(n,o),getterContext:i,setterArgumentType:a,setter:mr(s,u),setterContext:c})},J:function(e,r){Me(e,{isVoid:!0,name:r=Fe(r),argPackAdvance:0,fromWireType:function(){},toWireType:function(e,r){}})},K:Pr,L:function(e){e>4&&(kr[e].refcount+=1)},l:function(e,r){var t=(e=Fr(e,"_emval_take_value")).readValueFromPointer(r);return Cr.toHandle(t)},u:function(){ee("")},A:function(e,r,t){F.copyWithin(e,r,r+t)},s:function(e){var r,t,n=F.length,o=2147483648;if((e>>>=0)>o)return!1;for(var i=1;i<=4;i*=2){var a=n*(1+.2/i);if(a=Math.min(a,e+100663296),Or(Math.min(o,((r=Math.max(e,a))%(t=65536)>0&&(r+=t-r%t),r))))return!0}return!1},C:function(e,r){var t=0;return jr().forEach((function(n,o){var i=r+t;M[e+4*o>>2]=i,function(e,r,t){for(var n=0;n<e.length;++n)A[r++>>0]=e.charCodeAt(n);t||(A[r>>0]=0)}(n,i),t+=n.length+1})),0},D:function(e,r){var t=jr();M[e>>2]=t.length;var n=0;return t.forEach((function(e){n+=e.length+1})),M[r>>2]=n,0},G:function(e){try{var r=Ir.getStreamFromFD(e);return zr.close(r),0}catch(t){return"undefined"!==typeof zr&&t instanceof zr.ErrnoError||ee(t),t.errno}},E:function(e,r,t,n){try{var o=Ir.getStreamFromFD(e),i=Ir.doReadv(o,r,t);return M[n>>2]=i,0}catch(a){return"undefined"!==typeof zr&&a instanceof zr.ErrnoError||ee(a),a.errno}},x:function(e,r,t,n,o){try{var i=Ir.getStreamFromFD(e),a=4294967296*t+(r>>>0),s=9007199254740992;return a<=-s||a>=s?-61:(zr.llseek(i,a,n),oe=[i.position>>>0,(ne=i.position,+Math.abs(ne)>=1?ne>0?(0|Math.min(+Math.floor(ne/4294967296),4294967295))>>>0:~~+Math.ceil((ne-+(~~ne>>>0))/4294967296)>>>0:0)],M[o>>2]=oe[0],M[o+4>>2]=oe[1],i.getdents&&0===a&&0===n&&(i.getdents=null),0)}catch(u){return"undefined"!==typeof zr&&u instanceof zr.ErrnoError||ee(u),u.errno}},F:function(e,r,t,n){try{var o=Ir.getStreamFromFD(e),i=Ir.doWritev(o,r,t);return M[n>>2]=i,0}catch(a){return"undefined"!==typeof zr&&a instanceof zr.ErrnoError||ee(a),a.errno}},z:function(e){y(e)},B:function(e,r,t,n){return function(e,r,t,n){var o=M[n+40>>2],i={tm_sec:M[n>>2],tm_min:M[n+4>>2],tm_hour:M[n+8>>2],tm_mday:M[n+12>>2],tm_mon:M[n+16>>2],tm_year:M[n+20>>2],tm_wday:M[n+24>>2],tm_yday:M[n+28>>2],tm_isdst:M[n+32>>2],tm_gmtoff:M[n+36>>2],tm_zone:o?k(o):""},a=k(t),s={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var u in s)a=a.replace(new RegExp(u,"g"),s[u]);
1var c=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],f=["January","February","March","April","May","June","July","August","September","October","November","December"];function l(e,r,t){for(var n="number"===typeof e?e.toString():e||"";n.length<r;)n=t[0]+n;return n}function d(e,r){return l(e,r,"0")}function p(e,r){function t(e){return e<0?-1:e>0?1:0}var n;return 0===(n=t(e.getFullYear()-r.getFullYear()))&&0===(n=t(e.getMonth()-r.getMonth()))&&(n=t(e.getDate()-r.getDate())),n}function h(e){switch(e.getDay()){case 0:return new Date(e.getFullYear()-1,11,29);case 1:return e;case 2:return new Date(e.getFullYear(),0,3);case 3:return new Date(e.getFullYear(),0,2);case 4:return new Date(e.getFullYear(),0,1);case 5:return new Date(e.getFullYear()-1,11,31);case 6:return new Date(e.getFullYear()-1,11,30)}}function m(e){var r=Yr(new Date(e.tm_year+1900,0,1),e.tm_yday),t=new Date(r.getFullYear(),0,4),n=new Date(r.getFullYear()+1,0,4),o=h(t),i=h(n);return p(o,r)<=0?p(i,r)<=0?r.getFullYear()+1:r.getFullYear():r.getFullYear()-1}var v={"%a":function(e){return c[e.tm_wday].substring(0,3)},"%A":function(e){return c[e.tm_wday]},"%b":function(e){return f[e.tm_mon].substring(0,3)},"%B":function(e){return f[e.tm_mon]},"%C":function(e){return d((e.tm_year+1900)/100|0,2)},"%d":function(e){return d(e.tm_mday,2)},"%e":function(e){return l(e.tm_mday,2," ")},"%g":function(e){return m(e).toString().substring(2)},"%G":function(e){return m(e)},"%H":function(e){return d(e.tm_hour,2)},"%I":function(e){var r=e.tm_hour;return 0==r?r=12:r>12&&(r-=12),d(r,2)},"%j":function(e){return d(e.tm_mday+Lr(Ur(e.tm_year+1900)?Hr:Vr,e.tm_mon-1),3)},"%m":function(e){return d(e.tm_mon+1,2)},"%M":function(e){return d(e.tm_min,2)},"%n":function(){return"\n"},"%p":function(e){return e.tm_hour>=0&&e.tm_hour<12?"AM":"PM"},"%S":function(e){return d(e.tm_sec,2)},"%t":function(){return"\t"},"%u":function(e){return e.tm_wday||7},"%U":function(e){var r=new Date(e.tm_year+1900,0,1),t=0===r.getDay()?r:Yr(r,7-r.getDay()),n=new Date(e.tm_year+1900,e.tm_mon,e.tm_mday);if(p(t,n)<0){var o=Lr(Ur(n.getFullYear())?Hr:Vr,n.getMonth()-1)-31,i=31-t.getDate()+o+n.getDate();return d(Math.ceil(i/7),2)}return 0===p(t,r)?"01":"00"},"%V":function(e){var r,t=new Date(e.tm_year+1900,0,4),n=new Date(e.tm_year+1901,0,4),o=h(t),i=h(n),a=Yr(new Date(e.tm_year+1900,0,1),e.tm_yday);return p(a,o)<0?"53":p(i,a)<=0?"01":(r=o.getFullYear()<e.tm_year+1900?e.tm_yday+32-o.getDate():e.tm_yday+1-o.getDate(),d(Math.ceil(r/7),2))},"%w":function(e){return e.tm_wday},"%W":function(e){var r=new Date(e.tm_year,0,1),t=1===r.getDay()?r:Yr(r,0===r.getDay()?1:7-r.getDay()+1),n=new Date(e.tm_year+1900,e.tm_mon,e.tm_mday);if(p(t,n)<0){var o=Lr(Ur(n.getFullYear())?Hr:Vr,n.getMonth()-1)-31,i=31-t.getDate()+o+n.getDate();return d(Math.ceil(i/7),2)}return 0===p(t,r)?"01":"00"},"%y":function(e){return(e.tm_year+1900).toString().substring(2)},"%Y":function(e){return e.tm_year+1900},"%z":function(e){var r=e.tm_gmtoff,t=r>=0;return r=(r=Math.abs(r)/60)/60*100+r%60,(t?"+":"-")+String("0000"+r).slice(-4)},"%Z":function(e){return e.tm_zone},"%%":function(){return"%"}};for(var u in v)a.includes(u)&&(a=a.replace(new RegExp(u,"g"),v[u](i)));var y=Kr(a,!1);return y.length>r?0:(L(y,e),y.length-1)}(e,r,t,n)}},Qr=(function(){var e={a:Zr};function t(e,t){var n,o=e.exports;r.asm=o,H((w=r.asm.M).buffer),V=r.asm.O,n=r.asm.N,q.unshift(n),Q()}function o(e){t(e.instance)}function i(r){return(v||!l&&!d||"function"!==typeof fetch?Promise.resolve().then((function(){return se(re)})):fetch(re,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load wasm binary file at '"+re+"'";return e.arrayBuffer()})).catch((function(){return se(re)}))).then((function(r){return WebAssembly.instantiate(r,e)})).then((function(e){return e})).then(r,(function(e){m("failed to asynchronously prepare wasm: "+e),ee(e)}))}if(Z(),r.instantiateWasm)try{return r.instantiateWasm(e,t)}catch(a){return m("Module.instantiateWasm callback failed with error: "+a),!1}(v||"function"!==typeof WebAssembly.instantiateStreaming||ae(re)||"function"!==typeof fetch?i(o):fetch(re,{credentials:"same-origin"}).then((function(r){return WebAssembly.instantiateStreaming(r,e).then(o,(function(e){return m("wasm streaming compile failed: "+e),m("falling back to ArrayBuffer instantiation"),i(o)}))}))).catch(n)}(),r.___wasm_call_ctors=function(){return(r.___wasm_call_ctors=r.asm.N).apply(null,arguments)},r._malloc=function(){return(Qr=r._malloc=r.asm.P).apply(null,arguments)}),et=r._free=function(){return(et=r._free=r.asm.Q).apply(null,arguments)},rt=r.___getTypeName=function(){return(rt=r.___getTypeName=r.asm.R).apply(null,arguments)},tt=(r.___embind_register_native_and_builtin_types=function(){return(r.___embind_register_native_and_builtin_types=r.asm.S).apply(null,arguments)},r.stackSave=function(){return(tt=r.stackSave=r.asm.T).apply(null,arguments)}),nt=r.stackRestore=function(){return(nt=r.stackRestore=r.asm.U).apply(null,arguments)},ot=r.stackAlloc=function(){return(ot=r.stackAlloc=r.asm.V).apply(null,arguments)};r.dynCall_jiji=function(){return(r.dynCall_jiji=r.asm.W).apply(null,arguments)},r.dynCall_iiiiij=function(){return(r.dynCall_iiiiij=r.asm.X).apply(null,arguments)},r.dynCall_iiiiijj=function(){return(r.dynCall_iiiiijj=r.asm.Y).apply(null,arguments)},r.dynCall_iiiiiijj=function(){return(r.dynCall_iiiiiijj=r.asm.Z).apply(null,arguments)},r.dynCall_viijii=function(){return(r.dynCall_viijii=r.asm._).apply(null,arguments)};function it(e){function n(){Jr||(Jr=!0,r.calledRun=!0,g||(!0,r.noFSInit||zr.init.initialized||zr.init(),zr.ignorePermissions=!1,Br.init(),ue(q),t(r),r.onRuntimeInitialized&&r.onRuntimeInitialized(),function(){if(r.postRun)for("function"==typeof r.postRun&&(r.postRun=[r.postRun]);r.postRun.length;)e=r.postRun.shift(),X.unshift(e);var e;ue(X)}()))}e=e||c,G>0||(!function(){if(r.preRun)for("function"==typeof r.preRun&&(r.preRun=[r.preRun]);r.preRun.length;)e=r.preRun.shift(),Y.unshift(e);var e;ue(Y)}(),G>0||(r.setStatus?(r.setStatus("Running..."),setTimeout((function(){setTimeout((function(){r.setStatus("")}),1),n()}),1)):n()))}if(r.ccall=function(e,t,n,o,i){var a={string:function(e){var r=0;if(null!==e&&void 0!==e&&0!==e){var t=1+(e.length<<2);T(e,r=ot(t),t)}return r},array:function(e){var r=ot(e.length);return L(e,r),r}},s=function(e){var t=r["_"+e];return E(t,"Cannot call unknown function "+e+", make sure it is exported"),t}(e),u=[],c=0;if(o)for(var f=0;f<o.length;f++){var l=a[n[f]];l?(0===c&&(c=tt()),u[f]=l(o[f])):u[f]=o[f]}var d=s.apply(null,u);return d=function(e){return 0!==c&&nt(c),function(e){return"string"===t?k(e):"boolean"===t?Boolean(e):e}(e)}(d)},J=function e(){Jr||it(),Jr||(J=e)},r.run=it,r.preInit)for("function"==typeof r.preInit&&(r.preInit=[r.preInit]);r.preInit.length>0;)r.preInit.pop()();return it(),r.ready}}();r.default=n}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.