@volcengine/veplayer 1.11.1-rc.0 → 1.11.1-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +0,0 @@
1
- // Built @Tue, 15 Aug 2023 03:38:19 GMT
2
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("core-js/modules/es.object.assign.js"),require("core-js/modules/es.object.to-string.js"),require("core-js/modules/es.promise.js"),require("core-js/modules/es.object.get-own-property-descriptor.js"),require("core-js/modules/es.array.iterator.js"),require("core-js/modules/es.typed-array.uint8-array.js"),require("core-js/modules/es.typed-array.copy-within.js"),require("core-js/modules/es.typed-array.every.js"),require("core-js/modules/es.typed-array.fill.js"),require("core-js/modules/es.typed-array.filter.js"),require("core-js/modules/es.typed-array.find.js"),require("core-js/modules/es.typed-array.find-index.js"),require("core-js/modules/es.typed-array.for-each.js"),require("core-js/modules/es.typed-array.includes.js"),require("core-js/modules/es.typed-array.index-of.js"),require("core-js/modules/es.typed-array.iterator.js"),require("core-js/modules/es.typed-array.join.js"),require("core-js/modules/es.typed-array.last-index-of.js"),require("core-js/modules/es.typed-array.map.js"),require("core-js/modules/es.typed-array.reduce.js"),require("core-js/modules/es.typed-array.reduce-right.js"),require("core-js/modules/es.typed-array.reverse.js"),require("core-js/modules/es.typed-array.set.js"),require("core-js/modules/es.typed-array.slice.js"),require("core-js/modules/es.typed-array.some.js"),require("core-js/modules/es.typed-array.sort.js"),require("core-js/modules/es.typed-array.subarray.js"),require("core-js/modules/es.typed-array.to-locale-string.js"),require("core-js/modules/es.typed-array.to-string.js"),require("core-js/modules/es.regexp.exec.js"),require("core-js/modules/es.string.replace.js"),require("core-js/modules/es.array-buffer.constructor.js"),require("core-js/modules/es.typed-array.int32-array.js"),require("core-js/modules/es.typed-array.float32-array.js"),require("core-js/modules/es.typed-array.float64-array.js"),require("core-js/modules/es.typed-array.int8-array.js"),require("core-js/modules/es.typed-array.int16-array.js"),require("core-js/modules/es.typed-array.uint16-array.js"),require("core-js/modules/es.typed-array.uint32-array.js"),require("core-js/modules/es.math.imul.js"),require("core-js/modules/es.math.fround.js"),require("core-js/modules/es.math.clz32.js"),require("core-js/modules/es.math.trunc.js"),require("core-js/modules/es.regexp.to-string.js"),require("core-js/modules/es.string.starts-with.js"),require("core-js/modules/es.array.copy-within.js"),require("core-js/modules/es.array.slice.js"),require("core-js/modules/es.array.splice.js"),require("core-js/modules/es.array.join.js"),require("core-js/modules/es.array.filter.js"),require("core-js/modules/es.array.concat.js"),require("core-js/modules/es.string.link.js"),require("core-js/modules/es.function.name.js"),require("core-js/modules/es.array.includes.js"),require("core-js/modules/es.string.includes.js"),require("core-js/modules/es.regexp.flags.js"),require("core-js/modules/web.dom-collections.for-each.js"),require("core-js/modules/es.object.keys.js"),require("core-js/modules/es.number.constructor.js")):"function"==typeof define&&define.amd?define(["core-js/modules/es.object.assign.js","core-js/modules/es.object.to-string.js","core-js/modules/es.promise.js","core-js/modules/es.object.get-own-property-descriptor.js","core-js/modules/es.array.iterator.js","core-js/modules/es.typed-array.uint8-array.js","core-js/modules/es.typed-array.copy-within.js","core-js/modules/es.typed-array.every.js","core-js/modules/es.typed-array.fill.js","core-js/modules/es.typed-array.filter.js","core-js/modules/es.typed-array.find.js","core-js/modules/es.typed-array.find-index.js","core-js/modules/es.typed-array.for-each.js","core-js/modules/es.typed-array.includes.js","core-js/modules/es.typed-array.index-of.js","core-js/modules/es.typed-array.iterator.js","core-js/modules/es.typed-array.join.js","core-js/modules/es.typed-array.last-index-of.js","core-js/modules/es.typed-array.map.js","core-js/modules/es.typed-array.reduce.js","core-js/modules/es.typed-array.reduce-right.js","core-js/modules/es.typed-array.reverse.js","core-js/modules/es.typed-array.set.js","core-js/modules/es.typed-array.slice.js","core-js/modules/es.typed-array.some.js","core-js/modules/es.typed-array.sort.js","core-js/modules/es.typed-array.subarray.js","core-js/modules/es.typed-array.to-locale-string.js","core-js/modules/es.typed-array.to-string.js","core-js/modules/es.regexp.exec.js","core-js/modules/es.string.replace.js","core-js/modules/es.array-buffer.constructor.js","core-js/modules/es.typed-array.int32-array.js","core-js/modules/es.typed-array.float32-array.js","core-js/modules/es.typed-array.float64-array.js","core-js/modules/es.typed-array.int8-array.js","core-js/modules/es.typed-array.int16-array.js","core-js/modules/es.typed-array.uint16-array.js","core-js/modules/es.typed-array.uint32-array.js","core-js/modules/es.math.imul.js","core-js/modules/es.math.fround.js","core-js/modules/es.math.clz32.js","core-js/modules/es.math.trunc.js","core-js/modules/es.regexp.to-string.js","core-js/modules/es.string.starts-with.js","core-js/modules/es.array.copy-within.js","core-js/modules/es.array.slice.js","core-js/modules/es.array.splice.js","core-js/modules/es.array.join.js","core-js/modules/es.array.filter.js","core-js/modules/es.array.concat.js","core-js/modules/es.string.link.js","core-js/modules/es.function.name.js","core-js/modules/es.array.includes.js","core-js/modules/es.string.includes.js","core-js/modules/es.regexp.flags.js","core-js/modules/web.dom-collections.for-each.js","core-js/modules/es.object.keys.js","core-js/modules/es.number.constructor.js"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).DashAbralgo=t()}(this,(function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}var t,r=(t="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0,function(r){var n,o,i=void 0!==(r=r||{})?r:{},a=Object.assign;i.ready=new Promise((function(e,t){n=e,o=t})),Object.getOwnPropertyDescriptor(i.ready,"_getPredictedBitrate")||(Object.defineProperty(i.ready,"_getPredictedBitrate",{configurable:!0,get:function(){K("You are getting _getPredictedBitrate on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(i.ready,"_getPredictedBitrate",{configurable:!0,set:function(){K("You are setting _getPredictedBitrate on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(i.ready,"_updateMediaInfo")||(Object.defineProperty(i.ready,"_updateMediaInfo",{configurable:!0,get:function(){K("You are getting _updateMediaInfo on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(i.ready,"_updateMediaInfo",{configurable:!0,set:function(){K("You are setting _updateMediaInfo on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(i.ready,"_updateBufferInfo")||(Object.defineProperty(i.ready,"_updateBufferInfo",{configurable:!0,get:function(){K("You are getting _updateBufferInfo on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(i.ready,"_updateBufferInfo",{configurable:!0,set:function(){K("You are setting _updateBufferInfo on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(i.ready,"_updateSwitchInfo")||(Object.defineProperty(i.ready,"_updateSwitchInfo",{configurable:!0,get:function(){K("You are getting _updateSwitchInfo on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(i.ready,"_updateSwitchInfo",{configurable:!0,set:function(){K("You are setting _updateSwitchInfo on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(i.ready,"_updateDeviceInfo")||(Object.defineProperty(i.ready,"_updateDeviceInfo",{configurable:!0,get:function(){K("You are getting _updateDeviceInfo on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(i.ready,"_updateDeviceInfo",{configurable:!0,set:function(){K("You are setting _updateDeviceInfo on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(i.ready,"_parseMPD")||(Object.defineProperty(i.ready,"_parseMPD",{configurable:!0,get:function(){K("You are getting _parseMPD on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(i.ready,"_parseMPD",{configurable:!0,set:function(){K("You are setting _parseMPD on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(i.ready,"_getPreloadBitrate")||(Object.defineProperty(i.ready,"_getPreloadBitrate",{configurable:!0,get:function(){K("You are getting _getPreloadBitrate on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(i.ready,"_getPreloadBitrate",{configurable:!0,set:function(){K("You are setting _getPreloadBitrate on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(i.ready,"_updatePreloadSupplier")||(Object.defineProperty(i.ready,"_updatePreloadSupplier",{configurable:!0,get:function(){K("You are getting _updatePreloadSupplier on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(i.ready,"_updatePreloadSupplier",{configurable:!0,set:function(){K("You are setting _updatePreloadSupplier on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(i.ready,"_updatePreloadInfo")||(Object.defineProperty(i.ready,"_updatePreloadInfo",{configurable:!0,get:function(){K("You are getting _updatePreloadInfo on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(i.ready,"_updatePreloadInfo",{configurable:!0,set:function(){K("You are setting _updatePreloadInfo on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(i.ready,"_setDebugModel")||(Object.defineProperty(i.ready,"_setDebugModel",{configurable:!0,get:function(){K("You are getting _setDebugModel on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(i.ready,"_setDebugModel",{configurable:!0,set:function(){K("You are setting _setDebugModel on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(i.ready,"_free")||(Object.defineProperty(i.ready,"_free",{configurable:!0,get:function(){K("You are getting _free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(i.ready,"_free",{configurable:!0,set:function(){K("You are setting _free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(i.ready,"___stdio_exit")||(Object.defineProperty(i.ready,"___stdio_exit",{configurable:!0,get:function(){K("You are getting ___stdio_exit on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(i.ready,"___stdio_exit",{configurable:!0,set:function(){K("You are setting ___stdio_exit on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(i.ready,"onRuntimeInitialized")||(Object.defineProperty(i.ready,"onRuntimeInitialized",{configurable:!0,get:function(){K("You are getting onRuntimeInitialized on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(i.ready,"onRuntimeInitialized",{configurable:!0,set:function(){K("You are setting onRuntimeInitialized on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}));var s=a({},i),c=!0;if(i.ENVIRONMENT)throw new Error("Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -s ENVIRONMENT=web or -s ENVIRONMENT=node)");var u,f,d,l="";if("undefined"!=typeof document&&document.currentScript&&(l=document.currentScript.src),t&&(l=t),l=0!==l.indexOf("blob:")?l.substr(0,l.replace(/[?#].*/,"").lastIndexOf("/")+1):"","object"!==("undefined"==typeof window?"undefined":e(window))&&"function"!=typeof importScripts)throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");u=function(e){try{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText}catch(n){var r=ke(e);if(r)return function(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];n>255&&(y(!1,"Character code "+n+" ("+String.fromCharCode(n)+") at offset "+r+" not in 0x00-0xFF."),n&=255),t.push(String.fromCharCode(n))}return t.join("")}(r);throw n}},f=function(e,t,r){var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="arraybuffer",n.onload=function(){if(200==n.status||0==n.status&&n.response)t(n.response);else{var o=ke(e);o?t(o.buffer):r()}},n.onerror=r,n.send(null)};var p=i.print||console.log.bind(console),E=i.printErr||console.warn.bind(console);function b(e){b.shown||(b.shown={}),b.shown[e]||(b.shown[e]=1,E(e))}a(i,s),s=null,i.arguments&&i.arguments,Object.getOwnPropertyDescriptor(i,"arguments")||Object.defineProperty(i,"arguments",{configurable:!0,get:function(){K("Module.arguments has been replaced with plain arguments_ (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),i.thisProgram&&i.thisProgram,Object.getOwnPropertyDescriptor(i,"thisProgram")||Object.defineProperty(i,"thisProgram",{configurable:!0,get:function(){K("Module.thisProgram has been replaced with plain thisProgram (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),i.quit&&i.quit,Object.getOwnPropertyDescriptor(i,"quit")||Object.defineProperty(i,"quit",{configurable:!0,get:function(){K("Module.quit has been replaced with plain quit_ (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),y(void 0===i.memoryInitializerPrefixURL,"Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead"),y(void 0===i.pthreadMainPrefixURL,"Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead"),y(void 0===i.cdInitializerPrefixURL,"Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead"),y(void 0===i.filePackagePrefixURL,"Module.filePackagePrefixURL option was removed, use Module.locateFile instead"),y(void 0===i.read,"Module.read option was removed (modify read_ in JS)"),y(void 0===i.readAsync,"Module.readAsync option was removed (modify readAsync in JS)"),y(void 0===i.readBinary,"Module.readBinary option was removed (modify readBinary in JS)"),y(void 0===i.setWindowTitle,"Module.setWindowTitle option was removed (modify setWindowTitle in JS)"),y(void 0===i.TOTAL_MEMORY,"Module.TOTAL_MEMORY has been renamed Module.INITIAL_MEMORY"),Object.getOwnPropertyDescriptor(i,"read")||Object.defineProperty(i,"read",{configurable:!0,get:function(){K("Module.read has been replaced with plain read_ (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),Object.getOwnPropertyDescriptor(i,"readAsync")||Object.defineProperty(i,"readAsync",{configurable:!0,get:function(){K("Module.readAsync has been replaced with plain readAsync (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),Object.getOwnPropertyDescriptor(i,"readBinary")||Object.defineProperty(i,"readBinary",{configurable:!0,get:function(){K("Module.readBinary has been replaced with plain readBinary (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),Object.getOwnPropertyDescriptor(i,"setWindowTitle")||Object.defineProperty(i,"setWindowTitle",{configurable:!0,get:function(){K("Module.setWindowTitle has been replaced with plain setWindowTitle (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),y(!0,"worker environment detected but not enabled at build time. Add 'worker' to `-s ENVIRONMENT` to enable."),y(!0,"node environment detected but not enabled at build time. Add 'node' to `-s ENVIRONMENT` to enable."),y(!0,"shell environment detected but not enabled at build time. Add 'shell' to `-s ENVIRONMENT` to enable.");var h,O=0;i.wasmBinary&&(h=i.wasmBinary),Object.getOwnPropertyDescriptor(i,"wasmBinary")||Object.defineProperty(i,"wasmBinary",{configurable:!0,get:function(){K("Module.wasmBinary has been replaced with plain wasmBinary (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),i.noExitRuntime,Object.getOwnPropertyDescriptor(i,"noExitRuntime")||Object.defineProperty(i,"noExitRuntime",{configurable:!0,get:function(){K("Module.noExitRuntime has been replaced with plain noExitRuntime (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}});var A,g={Memory:function(e){this.buffer=new ArrayBuffer(65536*e.initial)},Module:function(e){},Instance:function(e,t){this.exports=function(e){for(var t,r=new Uint8Array(123),n=25;n>=0;--n)r[48+n]=52+n,r[65+n]=n,r[97+n]=26+n;function o(e,t,n){for(var o,i,a=0,s=t,c=n.length,u=t+(3*c>>2)-("="==n[c-2])-("="==n[c-1]);a<c;a+=4)o=r[n.charCodeAt(a+1)],i=r[n.charCodeAt(a+2)],e[s++]=r[n.charCodeAt(a)]<<2|o>>4,s<u&&(e[s++]=o<<4|i>>2),s<u&&(e[s++]=i<<6|r[n.charCodeAt(a+3)])}r[43]=62,r[47]=63;var i=new ArrayBuffer(16),a=new Int32Array(i),s=new Float64Array(i);function c(e){return a[e]}function u(e,t){a[e]=t}function f(){return s[0]}function d(e){s[0]=e}return function(e){var r=e.memory,n=r.buffer;r.grow=function(e){e|=0;var o=0|ao(),c=o+e|0;if(o<c&&c<65536){var u=new ArrayBuffer(O(c,65536));new Int8Array(u).set(i),i=new Int8Array(u),a=new Int16Array(u),s=new Int32Array(u),l=new Uint8Array(u),p=new Uint16Array(u),E=new Uint32Array(u),b=new Float32Array(u),h=new Float64Array(u),n=u,r.buffer=n,t=l}return o};var i=new Int8Array(n),a=new Int16Array(n),s=new Int32Array(n),l=new Uint8Array(n),p=new Uint16Array(n),E=new Uint32Array(n),b=new Float32Array(n),h=new Float64Array(n),O=Math.imul,A=Math.fround,g=Math.abs,m=Math.clz32,y=Math.min,w=Math.floor,T=Math.ceil,D=e.abort,k=e.gettimeofday,v=e.__assert_fail,_=e.__cxa_allocate_exception,R=e.__cxa_throw,M=e.emscripten_memcpy_big,P=e.fd_write,S=e.emscripten_resize_heap,j=e.fd_read,F=e.fd_close,I=e.abort,N=e.setTempRet0,U=e.fd_seek,x=20896,X=0,C=0;function H(e){var t,r=0,n=0,o=0,i=0,a=0,c=0,u=0,f=0,d=0,p=0,b=0,h=0;x=t=x-16|0;e:{t:{r:{n:{o:{i:{a:{s:{c:{u:{f:{if((e|=0)>>>0<=244){if(3&(r=(i=s[2787])>>>(n=(u=e>>>0<11?16:e+11&-8)>>>3|0)|0)){e=(a=s[11196+(r=(o=n+(1&(-1^r))|0)<<3)>>2])+8|0,(0|(n=s[a+8>>2]))!=(0|(r=r+11188|0))?(s[n+12>>2]=r,s[r+8>>2]=n):(b=11148,h=Kt(o)&i,s[b>>2]=h),r=o<<3,s[a+4>>2]=3|r,s[4+(r=r+a|0)>>2]=1|s[r+4>>2];break e}if((p=s[2789])>>>0>=u>>>0)break f;if(r){n=e=(r=(0-(e=(0-(e=2<<n)|e)&r<<n)&e)-1|0)>>>12&16,n|=e=(r=r>>>e|0)>>>5&8,n|=e=(r=r>>>e|0)>>>2&4,c=s[11196+(e=(n=((n|=e=(r=r>>>e|0)>>>1&2)|(e=(r=r>>>e|0)>>>1&1))+(r>>>e|0)|0)<<3)>>2],(0|(r=s[c+8>>2]))!=(0|(e=e+11188|0))?(s[r+12>>2]=e,s[e+8>>2]=r):(i=Kt(n)&i,s[2787]=i),e=c+8|0,s[c+4>>2]=3|u,a=(r=n<<3)-u|0,s[4+(o=c+u|0)>>2]=1|a,s[r+c>>2]=a,p&&(n=11188+((r=p>>>3|0)<<3)|0,c=s[2792],(r=1<<r)&i?r=s[n+8>>2]:(s[2787]=r|i,r=n),s[n+8>>2]=c,s[r+12>>2]=c,s[c+12>>2]=n,s[c+8>>2]=r),s[2792]=o,s[2789]=a;break e}if(!(d=s[2788]))break f;for(n=e=(r=(d&0-d)-1|0)>>>12&16,n|=e=(r=r>>>e|0)>>>5&8,n|=e=(r=r>>>e|0)>>>2&4,r=s[11452+(((n|=e=(r=r>>>e|0)>>>1&2)|(e=(r=r>>>e|0)>>>1&1))+(r>>>e|0)<<2)>>2],o=(-8&s[r+4>>2])-u|0,n=r;(e=s[n+16>>2])||(e=s[n+20>>2]);)o=(a=(n=(-8&s[e+4>>2])-u|0)>>>0<o>>>0)?n:o,r=a?e:r,n=e;if(f=s[r+24>>2],(0|(a=s[r+12>>2]))!=(0|r)){e=s[r+8>>2],s[e+12>>2]=a,s[a+8>>2]=e;break t}if(!(e=s[(n=r+20|0)>>2])){if(!(e=s[r+16>>2]))break u;n=r+16|0}for(;c=n,a=e,(e=s[(n=e+20|0)>>2])||(n=a+16|0,e=s[a+16>>2]););s[c>>2]=0;break t}if(u=-1,!(e>>>0>4294967231)&&(u=-8&(e=e+11|0),d=s[2788])){o=0-u|0,i=0,u>>>0<256||(i=31,u>>>0>16777215||(e=e>>>8|0,e<<=c=e+1048320>>>16&8,i=28+((e=((e<<=n=e+520192>>>16&4)<<(r=e+245760>>>16&2)>>>15|0)-(r|n|c)|0)<<1|u>>>e+21&1)|0));d:{l:{if(n=s[11452+(i<<2)>>2])for(e=0,r=u<<(31==(0|i)?0:25-(i>>>1|0)|0);;){if(!((c=(-8&s[n+4>>2])-u|0)>>>0>=o>>>0||(a=n,o=c))){o=0,e=n;break l}if(c=s[n+20>>2],n=s[16+((r>>>29&4)+n|0)>>2],e=c?(0|c)==(0|n)?e:c:e,r<<=1,!n)break}else e=0;if(!(e|a)){if(a=0,!(e=(0-(e=2<<i)|e)&d))break f;n=e=(r=(e&0-e)-1|0)>>>12&16,n|=e=(r=r>>>e|0)>>>5&8,n|=e=(r=r>>>e|0)>>>2&4,e=s[11452+(((n|=e=(r=r>>>e|0)>>>1&2)|(e=(r=r>>>e|0)>>>1&1))+(r>>>e|0)<<2)>>2]}if(!e)break d}for(;o=(n=(r=(-8&s[e+4>>2])-u|0)>>>0<o>>>0)?r:o,a=n?e:a,e=(r=s[e+16>>2])||s[e+20>>2];);}if(!(!a|s[2789]-u>>>0<=o>>>0)){if(i=s[a+24>>2],(0|a)!=(0|(r=s[a+12>>2]))){e=s[a+8>>2],s[e+12>>2]=r,s[r+8>>2]=e;break r}if(!(e=s[(n=a+20|0)>>2])){if(!(e=s[a+16>>2]))break c;n=a+16|0}for(;c=n,r=e,(e=s[(n=e+20|0)>>2])||(n=r+16|0,e=s[r+16>>2]););s[c>>2]=0;break r}}}if((n=s[2789])>>>0>=u>>>0){o=s[2792],(r=n-u|0)>>>0>=16?(s[2789]=r,e=o+u|0,s[2792]=e,s[e+4>>2]=1|r,s[n+o>>2]=r,s[o+4>>2]=3|u):(s[2792]=0,s[2789]=0,s[o+4>>2]=3|n,s[4+(e=n+o|0)>>2]=1|s[e+4>>2]),e=o+8|0;break e}if((f=s[2790])>>>0>u>>>0){r=f-u|0,s[2790]=r,e=(n=s[2793])+u|0,s[2793]=e,s[e+4>>2]=1|r,s[n+4>>2]=3|u,e=n+8|0;break e}if(e=0,d=u+47|0,s[2905]?n=s[2907]:(s[2908]=-1,s[2909]=-1,s[2906]=4096,s[2907]=4096,s[2905]=t+12&-16^1431655768,s[2910]=0,s[2898]=0,n=4096),(n=(c=d+n|0)&(a=0-n|0))>>>0<=u>>>0)break e;if((o=s[2897])&&o>>>0<(i=(r=s[2895])+n|0)>>>0|r>>>0>=i>>>0)break e;if(4&l[11592])break i;f:{d:{if(o=s[2793])for(e=11596;;){if((r=s[e>>2])>>>0<=o>>>0&o>>>0<r+s[e+4>>2]>>>0)break d;if(!(e=s[e+8>>2]))break}if(-1==(0|(r=qe(0))))break a;if(i=n,(e=(o=s[2906])-1|0)&r&&(i=(n-r|0)+(e+r&0-o)|0),i>>>0<=u>>>0|i>>>0>2147483646)break a;if((o=s[2897])&&o>>>0<(a=(e=s[2895])+i|0)>>>0|e>>>0>=a>>>0)break a;if((0|r)!=(0|(e=qe(i))))break f;break o}if((i=a&c-f)>>>0>2147483646)break a;if((0|(r=qe(i)))==(s[e>>2]+s[e+4>>2]|0))break s;e=r}if(!(-1==(0|e)|u+48>>>0<=i>>>0)){if((r=(r=s[2907])+(d-i|0)&0-r)>>>0>2147483646){r=e;break o}if(-1!=(0|qe(r))){i=r+i|0,r=e;break o}qe(0-i|0);break a}if(r=e,-1!=(0|e))break o;break a}a=0;break t}r=0;break r}if(-1!=(0|r))break o}s[2898]=4|s[2898]}if(n>>>0>2147483646)break n;if(-1==(0|(r=qe(n)))|-1==(0|(e=qe(0)))|e>>>0<=r>>>0)break n;if((i=e-r|0)>>>0<=u+40>>>0)break n}e=s[2895]+i|0,s[2895]=e,e>>>0>E[2896]&&(s[2896]=e);o:{i:{a:{if(c=s[2793]){for(e=11596;;){if(((o=s[e>>2])+(n=s[e+4>>2])|0)==(0|r))break a;if(!(e=s[e+8>>2]))break}break i}for((e=s[2791])>>>0<=r>>>0&&e||(s[2791]=r),e=0,s[2900]=i,s[2899]=r,s[2795]=-1,s[2796]=s[2905],s[2902]=0;n=11188+(o=e<<3)|0,s[o+11196>>2]=n,s[o+11200>>2]=n,32!=(0|(e=e+1|0)););n=(o=i-40|0)-(e=r+8&7?-8-r&7:0)|0,s[2790]=n,e=e+r|0,s[2793]=e,s[e+4>>2]=1|n,s[4+(r+o|0)>>2]=40,s[2794]=s[2909];break o}if(!(8&l[e+12|0]|o>>>0>c>>>0|r>>>0<=c>>>0)){s[e+4>>2]=n+i,n=(e=c+8&7?-8-c&7:0)+c|0,s[2793]=n,e=(r=s[2790]+i|0)-e|0,s[2790]=e,s[n+4>>2]=1|e,s[4+(r+c|0)>>2]=40,s[2794]=s[2909];break o}}E[2791]>r>>>0&&(s[2791]=r),n=r+i|0,e=11596;i:{a:{s:{c:{u:{f:{for(;;){if((0|n)!=s[e>>2]){if(e=s[e+8>>2])continue;break f}break}if(!(8&l[e+12|0]))break u}for(e=11596;;){if((n=s[e>>2])>>>0<=c>>>0&&(a=n+s[e+4>>2]|0)>>>0>c>>>0)break c;e=s[e+8>>2]}}if(s[e>>2]=r,s[e+4>>2]=s[e+4>>2]+i,s[4+(d=(r+8&7?-8-r&7:0)+r|0)>>2]=3|u,n=(i=n+(n+8&7?-8-n&7:0)|0)-(f=u+d|0)|0,(0|i)==(0|c)){s[2793]=f,e=s[2790]+n|0,s[2790]=e,s[f+4>>2]=1|e;break a}if(s[2792]==(0|i)){s[2792]=f,e=s[2789]+n|0,s[2789]=e,s[f+4>>2]=1|e,s[e+f>>2]=e;break a}if(1==(3&(e=s[i+4>>2]))){c=-8&e;u:if(e>>>0<=255){if(o=s[i+8>>2],e=e>>>3|0,(0|(r=s[i+12>>2]))==(0|o)){b=11148,h=s[2787]&Kt(e),s[b>>2]=h;break u}s[o+12>>2]=r,s[r+8>>2]=o}else{if(u=s[i+24>>2],(0|i)==(0|(r=s[i+12>>2])))if((o=s[(e=i+20|0)>>2])||(o=s[(e=i+16|0)>>2])){for(;a=e,(o=s[(e=(r=o)+20|0)>>2])||(e=r+16|0,o=s[r+16>>2]););s[a>>2]=0}else r=0;else e=s[i+8>>2],s[e+12>>2]=r,s[r+8>>2]=e;if(u){o=s[i+28>>2];f:{if(s[(e=11452+(o<<2)|0)>>2]==(0|i)){if(s[e>>2]=r,r)break f;b=11152,h=s[2788]&Kt(o),s[b>>2]=h;break u}if(s[u+(s[u+16>>2]==(0|i)?16:20)>>2]=r,!r)break u}s[r+24>>2]=u,(e=s[i+16>>2])&&(s[r+16>>2]=e,s[e+24>>2]=r),(e=s[i+20>>2])&&(s[r+20>>2]=e,s[e+24>>2]=r)}}i=i+c|0,n=n+c|0}if(s[i+4>>2]=-2&s[i+4>>2],s[f+4>>2]=1|n,s[n+f>>2]=n,n>>>0<=255){r=11188+((e=n>>>3|0)<<3)|0,(n=s[2787])&(e=1<<e)?e=s[r+8>>2]:(s[2787]=e|n,e=r),s[r+8>>2]=f,s[e+12>>2]=f,s[f+12>>2]=r,s[f+8>>2]=e;break a}if(e=31,n>>>0<=16777215&&(e=n>>>8|0,e<<=a=e+1048320>>>16&8,e=28+((e=((e<<=o=e+520192>>>16&4)<<(r=e+245760>>>16&2)>>>15|0)-(r|o|a)|0)<<1|n>>>e+21&1)|0),s[f+28>>2]=e,s[f+16>>2]=0,s[f+20>>2]=0,a=11452+(e<<2)|0,(o=s[2788])&(r=1<<e)){for(e=n<<(31==(0|e)?0:25-(e>>>1|0)|0),r=s[a>>2];;){if(o=r,(-8&s[r+4>>2])==(0|n))break s;if(r=e>>>29|0,e<<=1,!(r=s[16+(a=o+(4&r)|0)>>2]))break}s[a+16>>2]=f,s[f+24>>2]=o}else s[2788]=r|o,s[a>>2]=f,s[f+24>>2]=a;s[f+12>>2]=f,s[f+8>>2]=f;break a}for(n=(o=i-40|0)-(e=r+8&7?-8-r&7:0)|0,s[2790]=n,e=e+r|0,s[2793]=e,s[e+4>>2]=1|n,s[4+(r+o|0)>>2]=40,s[2794]=s[2909],s[(n=(e=(a+(a-39&7?39-a&7:0)|0)-47|0)>>>0<c+16>>>0?c:e)+4>>2]=27,e=s[2902],s[n+16>>2]=s[2901],s[n+20>>2]=e,e=s[2900],s[n+8>>2]=s[2899],s[n+12>>2]=e,s[2901]=n+8,s[2900]=i,s[2899]=r,s[2902]=0,e=n+24|0;s[e+4>>2]=7,r=e+8|0,e=e+4|0,r>>>0<a>>>0;);if((0|n)==(0|c))break o;if(s[n+4>>2]=-2&s[n+4>>2],a=n-c|0,s[c+4>>2]=1|a,s[n>>2]=a,a>>>0<=255){r=11188+((e=a>>>3|0)<<3)|0,(n=s[2787])&(e=1<<e)?e=s[r+8>>2]:(s[2787]=e|n,e=r),s[r+8>>2]=c,s[e+12>>2]=c,s[c+12>>2]=r,s[c+8>>2]=e;break o}if(e=31,s[c+16>>2]=0,s[c+20>>2]=0,a>>>0<=16777215&&(e=a>>>8|0,e<<=o=e+1048320>>>16&8,e=28+((e=((e<<=n=e+520192>>>16&4)<<(r=e+245760>>>16&2)>>>15|0)-(r|n|o)|0)<<1|a>>>e+21&1)|0),s[c+28>>2]=e,o=11452+(e<<2)|0,(n=s[2788])&(r=1<<e)){for(e=a<<(31==(0|e)?0:25-(e>>>1|0)|0),r=s[o>>2];;){if(n=r,(0|a)==(-8&s[r+4>>2]))break i;if(r=e>>>29|0,e<<=1,!(r=s[16+(o=n+(4&r)|0)>>2]))break}s[o+16>>2]=c,s[c+24>>2]=n}else s[2788]=r|n,s[o>>2]=c,s[c+24>>2]=o;s[c+12>>2]=c,s[c+8>>2]=c;break o}e=s[o+8>>2],s[e+12>>2]=f,s[o+8>>2]=f,s[f+24>>2]=0,s[f+12>>2]=o,s[f+8>>2]=e}e=d+8|0;break e}e=s[n+8>>2],s[e+12>>2]=c,s[n+8>>2]=c,s[c+24>>2]=0,s[c+12>>2]=n,s[c+8>>2]=e}if(!((e=s[2790])>>>0<=u>>>0)){r=e-u|0,s[2790]=r,e=(n=s[2793])+u|0,s[2793]=e,s[e+4>>2]=1|r,s[n+4>>2]=3|u,e=n+8|0;break e}}s[2744]=48,e=0;break e}r:if(i){n=s[a+28>>2];n:{if(s[(e=11452+(n<<2)|0)>>2]==(0|a)){if(s[e>>2]=r,r)break n;d=Kt(n)&d,s[2788]=d;break r}if(s[i+(s[i+16>>2]==(0|a)?16:20)>>2]=r,!r)break r}s[r+24>>2]=i,(e=s[a+16>>2])&&(s[r+16>>2]=e,s[e+24>>2]=r),(e=s[a+20>>2])&&(s[r+20>>2]=e,s[e+24>>2]=r)}r:if(o>>>0<=15)e=o+u|0,s[a+4>>2]=3|e,s[4+(e=e+a|0)>>2]=1|s[e+4>>2];else if(s[a+4>>2]=3|u,s[4+(i=a+u|0)>>2]=1|o,s[o+i>>2]=o,o>>>0<=255)r=11188+((e=o>>>3|0)<<3)|0,(n=s[2787])&(e=1<<e)?e=s[r+8>>2]:(s[2787]=e|n,e=r),s[r+8>>2]=i,s[e+12>>2]=i,s[i+12>>2]=r,s[i+8>>2]=e;else{e=31,o>>>0<=16777215&&(e=o>>>8|0,e<<=c=e+1048320>>>16&8,e=28+((e=((e<<=n=e+520192>>>16&4)<<(r=e+245760>>>16&2)>>>15|0)-(r|n|c)|0)<<1|o>>>e+21&1)|0),s[i+28>>2]=e,s[i+16>>2]=0,s[i+20>>2]=0,r=11452+(e<<2)|0;n:{if((n=1<<e)&d){for(e=o<<(31==(0|e)?0:25-(e>>>1|0)|0),u=s[r>>2];;){if((-8&s[(r=u)+4>>2])==(0|o))break n;if(n=e>>>29|0,e<<=1,!(u=s[16+(n=(4&n)+r|0)>>2]))break}s[n+16>>2]=i}else s[2788]=n|d,s[r>>2]=i;s[i+24>>2]=r,s[i+12>>2]=i,s[i+8>>2]=i;break r}e=s[r+8>>2],s[e+12>>2]=i,s[r+8>>2]=i,s[i+24>>2]=0,s[i+12>>2]=r,s[i+8>>2]=e}e=a+8|0;break e}t:if(f){n=s[r+28>>2];r:{if(s[(e=11452+(n<<2)|0)>>2]==(0|r)){if(s[e>>2]=a,a)break r;b=11152,h=Kt(n)&d,s[b>>2]=h;break t}if(s[f+(s[f+16>>2]==(0|r)?16:20)>>2]=a,!a)break t}s[a+24>>2]=f,(e=s[r+16>>2])&&(s[a+16>>2]=e,s[e+24>>2]=a),(e=s[r+20>>2])&&(s[a+20>>2]=e,s[e+24>>2]=a)}o>>>0<=15?(e=o+u|0,s[r+4>>2]=3|e,s[4+(e=e+r|0)>>2]=1|s[e+4>>2]):(s[r+4>>2]=3|u,s[4+(a=r+u|0)>>2]=1|o,s[o+a>>2]=o,p&&(n=11188+((e=p>>>3|0)<<3)|0,c=s[2792],(e=1<<e)&i?e=s[n+8>>2]:(s[2787]=e|i,e=n),s[n+8>>2]=c,s[e+12>>2]=c,s[c+12>>2]=n,s[c+8>>2]=e),s[2792]=a,s[2789]=o),e=r+8|0}return x=t+16|0,0|e}function Q(e,t,r){var n,o,i,c=0,u=0,f=0,d=0,l=0,p=0,E=0,b=0,A=0,g=0,m=0,y=0;e:{t:{r:{n:{if((0|(c=Tn(t)))<=109){if(34==(0|c))break n;if(91==(0|c))break t;if(102!=(0|c))break e;o:{i:{if(102==(0|Tn(t))){if(pr(t),!(nr(t,97)&&nr(t,108)&&nr(t,115)&&nr(t,101)&&pt(r,0))){if(r=3,Dn(e))break i;gn(e,r,Ur(t)),Dn(e)}break o}v(2687,1526,883,1987),D()}v(2577,1526,891,1987),D()}return}if(123==(0|c))break r;if(116!=(0|c)){if(110!=(0|c))break e;o:{i:{if(110==(0|Tn(t))){if(pr(t),nr(t,117)&&nr(t,108)&&nr(t,108))It(Ae(r+32|0));else{if(Dn(e))break i;gn(e,3,Ur(t)),Dn(e)}break o}v(2670,1526,857,1421),D()}v(2577,1526,865,1421),D()}return}o:{i:{if(116==(0|Tn(t))){if(pr(t),!(nr(t,114)&&nr(t,117)&&nr(t,101)&&pt(r,1))){if(r=3,Dn(e))break i;gn(e,r,Ur(t)),Dn(e)}break o}v(2653,1526,870,1869),D()}v(2577,1526,878,1869),D()}return}return void Y(e,t,r)}r:{n:{if(123==(0|Tn(t))){if(pr(t),Le(Ae(r+32|0),3),nt(t),Dn(e))break r;if(nr(t,125))break n;for(;;){o:{i:{a:{s:{if(34!=(0|Tn(t))){if(Dn(e))break s;if(gn(e,4,Ur(t)),Dn(e))break r}if(Y(e,t,r),Dn(e))break r;if(nt(t),Dn(e))break r;if(!nr(t,58)){if(Dn(e))break a;if(gn(e,5,Ur(t)),Dn(e))break r}if(nt(t),Dn(e))break r;if(Q(e,t,r),Dn(e))break r;if(nt(t),Dn(e))break r;if(f=f+1|0,44==(0|(d=Tn(t))))break i;if(125==(0|d)&&(pr(t),Me(r,f)))break r;if(Dn(e))break o;if(gn(e,6,Ur(t)),!Dn(e))continue;break r}v(2577,1526,758,1128),D()}v(2577,1526,767,1128),D()}if(pr(t),nt(t),!Dn(e))continue;break r}break}v(2577,1526,792,1128),D()}v(2636,1526,741,1128),D()}Me(r,0)}return}t:{r:{n:{if(91==(0|Tn(t))){if(pr(t),Le(Ae(r+32|0),4),nt(t),Dn(e))break t;if(nr(t,93))break r;if(Q(e,t,r),Dn(e))break t;for(;;){if(nt(t),Dn(e))break t;f=f+1|0;o:{if(nr(t,44)){if(nt(t),!Dn(e))break o;break t}if(nr(t,93)&&ze(r,f))break t;if(Dn(e))break n;if(gn(e,7,Ur(t)),Dn(e))break t}if(Q(e,t,r),Dn(e))break}break t}v(2704,1526,809,1024),D()}v(2577,1526,842,1024),D()}ze(r,0)}return}x=n=x-32|0,c=n+8|0,o=Mt(n+16|0,t),s[c>>2]=o,i=On(c),t=rr(c,45);e:{t:{r:{n:{o:{i:{a:{s:if(48!=(0|hn(c)))c:{u:{if(!((0|hn(c))<49||(0|hn(c))>57)){l=bn(c)-48|0,p=hn(c);f:{if(!t){if((0|p)>47)break f;break c}if((0|p)<48)break c;for(;;){if((0|hn(c))>57)break s;if(!(l>>>0<214748364)){if(214748364!=(0|l))break u;if(!((0|hn(c))<=56)){l=214748364;break u}}if(f=f+1|0,l=(bn(c)+O(l,10)|0)-48|0,!((0|hn(c))>47))break}break s}for(;;){if((0|hn(c))>57)break s;if(!(l>>>0<429496729)){if(429496729!=(0|l))break u;if(!((0|hn(c))<=53)){l=429496729;break u}}if(f=f+1|0,l=(bn(c)+O(l,10)|0)-48|0,!((0|hn(c))>47))break}break s}if(!Dn(e)){if(gn(e,3,On(c)),Dn(e))break a;break s}v(2577,1526,1538,1166),D()}d=l,p=hn(c);u:{f:{if(!t){if(g=1,(0|p)<=47)break s;for(;;){if((0|hn(c))>57)break s;if(!(429496729==(0|u)&d>>>0<2576980377|u>>>0<429496729)){if(-1717986919!=(0|d)|429496729!=(0|u))break f;if(!((0|hn(c))<=53)){d=-1717986919,u=429496729;break f}}if(d=Ue(d,u,10,0),m=(u=C)+1|0,p=u,u=(d=d+(u=bn(c)-48|0)|0)>>>0<u>>>0?m:p,f=f+1|0,!((0|hn(c))>47))break}break u}if(g=1,(0|p)<48)break s;for(;;){if((0|hn(c))>57)break s;if(!(214748364==(0|u)&d>>>0<3435973836|u>>>0<214748364)){if(-858993460!=(0|d)|214748364!=(0|u))break f;if(!((0|hn(c))<=56)){d=-858993460,u=214748364;break f}}if(d=Ue(d,u,10,0),m=(u=C)+1|0,p=u,u=(d=d+(u=bn(c)-48|0)|0)>>>0<u>>>0?m:p,f=f+1|0,!((0|hn(c))>47))break}break u}if(E=+(d>>>0)+4294967296*+(u>>>0),b=1,!((0|hn(c))<48))for(;;){if((0|hn(c))>57)break u;if(E=10*E+ +(bn(c)-48|0),!((0|hn(c))>47))break}}}else bn(c);s:if(rr(c,46)){if(!((0|hn(c))>=48&&(0|hn(c))<58)){if(Dn(e))break i;if(gn(e,14,On(c)),Dn(e))break a}if(!b){d=g?d:l,u=g?u:0;c:if(!((0|hn(c))<48))for(;;){if((0|hn(c))>57|u>>>0>2097151)break c;if(d=Ue(d,u,10,0),p=f,b=(f=C)+1|0,u=f,f=p+(0!=((u=(d=d+(f=bn(c)-48|0)|0)>>>0<f>>>0?b:u)|d))|0,A=A-1|0,!((0|hn(c))>47))break}E=+(d>>>0)+4294967296*+(u>>>0)}if((0|hn(c))<48)b=1;else for(b=1;;){if((0|hn(c))>57)break s;if(p=bn(c),(0|f)>16||(A=A-1|0,(E=10*E+ +(p-48|0))>0&&(f=f+1|0)),!((0|hn(c))>47))break}}if(rr(c,101)||(f=0,rr(c,69))){rr(c,43)||(y=rr(c,45));s:if((0|hn(c))<48||(0|hn(c))>57){if(Dn(e))break r;if(gn(e,15,On(c)),f=0,Dn(e))break a}else{if(f=bn(c)-48|0,y){if((0|A)>0)break o;if((0|hn(c))<48)break s;for(p=(A+2147483639|0)/10|0;;){if((0|hn(c))>57)break s;c:if(!((0|p)>=(0|(f=(bn(c)+O(f,10)|0)-48|0))||(0|hn(c))<48))for(;;){if((0|hn(c))>57)break c;if(bn(c),!((0|hn(c))>47))break}if(!((0|hn(c))>47))break}break s}if((0|hn(c))<48)break s;for(p=308-A|0;;){if((0|hn(c))>57)break s;if((0|p)<(0|(f=(bn(c)+O(f,10)|0)-48|0))){if(Dn(e))break n;if(gn(e,13,i),Dn(e))break a}if(!((0|hn(c))>47))break}}E=b?E:+((g?d:l)>>>0)+4294967296*+((g?u:0)>>>0),b=1,f=y?0-f|0:f}if(c=f,b){if((E=(0|(d=c+A|0))<=-309?St(St(E,-308),d+308|0):St(E,d))>17976931348623157e292){if(Dn(e))break t;if(gn(e,13,i),Dn(e))break a}e=Ae(r+32|0),s[e+16>>2]=0,s[e+20>>2]=0,s[e+8>>2]=0,s[e+12>>2]=0,h[e>>3]=t?-E:E,a[e+18>>1]=534}else if(g){if(t){e=Ae(r+32|0),s[e+16>>2]=0,s[e+20>>2]=0,s[e+8>>2]=0,s[e+12>>2]=0,l=0-d|0,s[e>>2]=l,t=0-((0!=(0|d))+u|0)|0,s[e+4>>2]=t,a[e+18>>1]=150;s:{if((0|t)>0|(0|t)>=0){if(r=t?406:470,a[e+18>>1]=r,!t&l>>>0>2147483647|t)break s;r|=32}else if(r=182,-1==(0|t)&l>>>0<2147483648|-1!=(0|t))break s;a[e+18>>1]=r}break a}e=Ae(r+32|0),s[e+16>>2]=0,s[e+20>>2]=0,s[e+8>>2]=0,s[e+12>>2]=0,s[e>>2]=d,s[e+4>>2]=u,t=(0|u)>0|(0|u)>=0?406:278,a[e+18>>1]=t,u||(a[e+18>>1]=64|t,!u&d>>>0>2147483647|u||(a[e+18>>1]=96|t))}else t?(e=Ae(r+32|0),s[e+16>>2]=0,s[e+20>>2]=0,s[e+8>>2]=0,s[e+12>>2]=0,t=0-l|0,s[e>>2]=t,s[e+4>>2]=t>>31,a[e+18>>1]=(0|t)>=0?502:182):(e=Ae(r+32|0),s[e+16>>2]=0,s[e+20>>2]=0,s[e+8>>2]=0,s[e+12>>2]=0,s[e>>2]=l,s[e+4>>2]=0,a[e+18>>1]=(0|l)>=0?502:470)}Bt(o),x=n+32|0;break e}v(2577,1526,1581,1166),D()}v(2324,1526,1645,1166),D()}v(2577,1526,1661,1166),D()}v(2577,1526,1666,1166),D()}v(2577,1526,1713,1166),D()}}function G(e,t,r,n,o){var c,u,f,d=0,p=0,E=0,b=0,A=0,g=0,m=0,y=0,w=0,T=0,D=0,k=0,v=0,_=0,R=0,M=0;x=c=x-80|0,s[c+76>>2]=t,f=c+55|0,u=c+56|0,t=0;e:{t:{r:{n:{o:for(;;){if((2147483647-m|0)<(0|t))break n;m=t+m|0;i:{a:{s:{if(g=s[c+76>>2],A=l[0|(t=g)])for(;;){c:{u:if(d=255&A){if(37!=(0|d))break c;for(A=t;;){if(37!=l[t+1|0])break u;if(d=t+2|0,s[c+76>>2]=d,A=A+1|0,p=l[t+2|0],t=d,37!=(0|p))break}}else A=t;if((0|(t=A-g|0))>(0|(_=2147483647-m|0)))break n;if(e&&le(e,g,t),t)continue o;T=-1,d=1,p=!An(i[s[c+76>>2]+1|0]),t=s[c+76>>2],p|36!=l[t+2|0]||(T=i[t+1|0]-48|0,v=1,d=3),t=d+t|0,s[c+76>>2]=t,y=0;u:if((p=(E=i[0|t])-32|0)>>>0>31)d=t;else if(d=t,75913&(b=1<<p))for(;;){if(d=t+1|0,s[c+76>>2]=d,y|=b,(p=(E=i[t+1|0])-32|0)>>>0>=32)break u;if(t=d,!(75913&(b=1<<p)))break}u:if(42!=(0|E)){if((0|(w=Ne(c+76|0)))<0)break n;t=s[c+76>>2]}else{if(An(i[d+1|0])&&(t=s[c+76>>2],36==l[t+2|0]))s[((i[t+1|0]<<2)+o|0)-192>>2]=10,w=s[((i[t+1|0]<<3)+n|0)-384>>2],v=1,t=t+3|0;else{if(v)break s;v=0,w=0,e&&(t=s[r>>2],s[r>>2]=t+4,w=s[t>>2]),t=s[c+76>>2]+1|0}if(s[c+76>>2]=t,(0|w)>=0)break u;w=0-w|0,y|=8192}if(d=0,b=-1,D=0,46==l[0|t])if(42!=l[t+1|0])s[c+76>>2]=t+1,b=Ne(c+76|0),t=s[c+76>>2],D=1;else{if(An(i[t+2|0])&&(t=s[c+76>>2],36==l[t+3|0]))s[((i[t+2|0]<<2)+o|0)-192>>2]=10,b=s[((i[t+2|0]<<3)+n|0)-384>>2],t=t+4|0;else{if(v)break s;e?(t=s[r>>2],s[r>>2]=t+4,b=s[t>>2]):b=0,t=s[c+76>>2]+2|0}s[c+76>>2]=t,D=(-1^b)>>>31|0}for(;;){if(k=d,A=28,i[0|t]-123>>>0<4294967238)break r;if(E=t+1|0,s[c+76>>2]=E,d=i[0|t],t=E,!((d=l[7807+(d+O(k,58)|0)|0])-1>>>0<8))break}u:{f:{if(27!=(0|d)){if(!d)break r;if((0|T)>=0){s[(T<<2)+o>>2]=d,d=s[4+(t=(T<<3)+n|0)>>2],s[c+64>>2]=s[t>>2],s[c+68>>2]=d;break f}if(!e)break i;$(c- -64|0,d,r),E=s[c+76>>2];break u}if((0|T)>=0)break r}if(t=0,!e)continue o}p=-65537&y,d=8192&y?p:y,y=0,T=1035,A=u;u:{f:{d:{l:{p:{E:{b:{h:{O:{A:{g:{m:{y:{w:{T:{D:switch(t=i[E-1|0],(t=k&&3==(15&t)?-33&t:t)-88|0){case 11:break u;case 9:case 13:case 14:case 15:break f;case 27:break b;case 12:case 17:break A;case 23:break g;case 0:case 32:break m;case 24:break y;case 22:break w;case 29:break T;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 10:case 16:case 18:case 19:case 20:case 21:case 25:case 26:case 28:case 30:case 31:break a}D:switch(t-65|0){case 0:case 4:case 5:case 6:break f;case 2:break p;case 1:case 3:break a}if(83==(0|t))break E;break a}E=s[c+64>>2],p=s[c+68>>2],T=1035;break O}t=0;w:switch(255&k){case 0:case 1:case 6:s[s[c+64>>2]>>2]=m;continue o;case 2:d=s[c+64>>2],s[d>>2]=m,s[d+4>>2]=m>>31;continue o;case 3:a[s[c+64>>2]>>1]=m;continue o;case 4:i[s[c+64>>2]]=m;continue o;case 7:break w;default:continue o}d=s[c+64>>2],s[d>>2]=m,s[d+4>>2]=m>>31;continue o}b=b>>>0>8?b:8,d|=8,t=120}if(g=u,R=32&t,(E=s[c+64>>2])|(p=s[c+68>>2]))for(;i[0|(g=g-1|0)]=R|l[8336+(15&E)|0],M=!p&E>>>0>15|0!=(0|p),k=p,p=p>>>4|0,E=(15&k)<<28|E>>>4,M;);if(!(8&d)|!(s[c+64>>2]|s[c+68>>2]))break h;T=1035+(t>>>4|0)|0,y=2;break h}if(t=u,(E=s[c+64>>2])|(p=s[c+68>>2]))for(;i[0|(t=t-1|0)]=7&E|48,k=!p&E>>>0>7|0!=(0|p),g=p,p=p>>>3|0,E=(7&g)<<29|E>>>3,k;);if(g=t,!(8&d))break h;b=(0|(t=u-g|0))<(0|b)?b:t+1|0;break h}p=t=s[c+68>>2],E=s[c+64>>2],(0|t)<0?(p=0-(p+(0!=(0|E))|0)|0,E=0-E|0,s[c+64>>2]=E,s[c+68>>2]=p,y=1,T=1035):2048&d?(y=1,T=1036):T=(y=1&d)?1037:1035}g=_e(E,p,u)}if((0|b)<0&&D)break n;if(d=D?-65537&d:d,!(0!=((p=s[c+64>>2])|(t=s[c+68>>2]))|b)){g=u,b=0;break a}b=(0|(t=!(t|p)+(u-g|0)|0))<(0|b)?b:t;break a}d=0!=(0|(E=D=(0|b)<0?2147483647:b));b:{h:{O:{A:if(!(!(3&(t=A=g=(t=s[c+64>>2])||2383))|!E))for(;;){if(!l[0|t])break O;if(d=0!=(0|(E=E-1|0)),!(3&(t=t+1|0)))break A;if(!E)break}if(!d)break h}O:if(!(!l[0|t]|E>>>0<4))for(;;){if((-1^(d=s[t>>2]))&d-16843009&-2139062144)break O;if(t=t+4|0,!((E=E-4|0)>>>0>3))break}if(E)for(;;){if(!l[0|t])break b;if(t=t+1|0,!(E=E-1|0))break}}t=0}if(A=(t=t?t-A|0:D)+g|0,(0|b)>=0){d=p,b=t;break a}if(d=p,b=t,l[0|A])break n;break a}if(b){A=s[c+64>>2];break l}t=0,Qe(e,32,w,0,d);break d}s[c+12>>2]=0,s[c+8>>2]=s[c+64>>2],A=c+8|0,s[c+64>>2]=A,b=-1}t=0;l:{for(;;){if(!(p=s[A>>2]))break l;if(!((g=(0|(p=ce(c+4|0,p)))<0)|p>>>0>b-t>>>0)){if(A=A+4|0,b>>>0>(t=t+p|0)>>>0)continue;break l}break}if(g)break t}if(A=61,(0|t)<0)break r;if(Qe(e,32,w,t,d),t)for(b=0,A=s[c+64>>2];;){if(!(p=s[A>>2]))break d;if((b=(p=ce(c+4|0,p))+b|0)>>>0>t>>>0)break d;if(le(e,c+4|0,p),A=A+4|0,!(t>>>0>b>>>0))break}else t=0}Qe(e,32,w,t,8192^d),t=(0|t)<(0|w)?w:t;continue o}if((0|b)<0&&D)break n;if(A=61,(0|(t=0|io[7](e,h[c+64>>3],w,b,d,t)))>=0)continue o;break r}i[c+55|0]=s[c+64>>2],b=1,g=f,d=p;break a}d=t+1|0,s[c+76>>2]=d,A=l[t+1|0],t=d}if(e)break e;if(!v)break i;for(t=1;;){if(e=s[(t<<2)+o>>2]){if($((t<<3)+n|0,e,r),m=1,10!=(0|(t=t+1|0)))continue;break e}break}if(m=1,t>>>0>=10)break e;for(;;){if(s[(t<<2)+o>>2])break s;if(10==(0|(t=t+1|0)))break}break e}A=28;break r}if((0|(b=(0|b)<(0|(E=A-g|0))?E:b))>(2147483647-y|0))break n;if(A=61,(0|_)<(0|(t=(0|(p=b+y|0))>(0|w)?p:w)))break r;Qe(e,32,t,p,d),le(e,T,y),Qe(e,48,t,p,65536^d),Qe(e,48,b,E,0),le(e,g,E),Qe(e,32,t,p,8192^d);continue}break}m=0;break e}A=61}s[2744]=A}m=-1}return x=c+80|0,m}function B(e){var t=0,r=0,n=0,o=0,i=0,a=0,c=0,u=0,f=0;e:if(e|=0){i=(n=e-8|0)+(e=-8&(t=s[e-4>>2]))|0;t:if(!(1&t)){if(!(3&t))break e;if((n=n-(t=s[n>>2])|0)>>>0<E[2791])break e;if(e=e+t|0,s[2792]==(0|n)){if(3==(3&(t=s[i+4>>2])))return s[2789]=e,s[i+4>>2]=-2&t,s[n+4>>2]=1|e,void(s[e+n>>2]=e)}else{if(t>>>0<=255){if(o=s[n+8>>2],t=t>>>3|0,(0|(r=s[n+12>>2]))==(0|o)){u=11148,f=s[2787]&Kt(t),s[u>>2]=f;break t}s[o+12>>2]=r,s[r+8>>2]=o;break t}if(c=s[n+24>>2],(0|n)==(0|(t=s[n+12>>2])))if((r=s[(o=n+20|0)>>2])||(r=s[(o=n+16|0)>>2])){for(;a=o,(r=s[(o=(t=r)+20|0)>>2])||(o=t+16|0,r=s[t+16>>2]););s[a>>2]=0}else t=0;else r=s[n+8>>2],s[r+12>>2]=t,s[t+8>>2]=r;if(!c)break t;o=s[n+28>>2];r:{if(s[(r=11452+(o<<2)|0)>>2]==(0|n)){if(s[r>>2]=t,t)break r;u=11152,f=s[2788]&Kt(o),s[u>>2]=f;break t}if(s[c+(s[c+16>>2]==(0|n)?16:20)>>2]=t,!t)break t}if(s[t+24>>2]=c,(r=s[n+16>>2])&&(s[t+16>>2]=r,s[r+24>>2]=t),!(r=s[n+20>>2]))break t;s[t+20>>2]=r,s[r+24>>2]=t}}if(!(n>>>0>=i>>>0)&&1&(t=s[i+4>>2])){t:{if(!(2&t)){if(s[2793]==(0|i)){if(s[2793]=n,e=s[2790]+e|0,s[2790]=e,s[n+4>>2]=1|e,s[2792]!=(0|n))break e;return s[2789]=0,void(s[2792]=0)}if(s[2792]==(0|i))return s[2792]=n,e=s[2789]+e|0,s[2789]=e,s[n+4>>2]=1|e,void(s[e+n>>2]=e);e=(-8&t)+e|0;r:if(t>>>0<=255){if(o=s[i+8>>2],t=t>>>3|0,(0|(r=s[i+12>>2]))==(0|o)){u=11148,f=s[2787]&Kt(t),s[u>>2]=f;break r}s[o+12>>2]=r,s[r+8>>2]=o}else{if(c=s[i+24>>2],(0|i)==(0|(t=s[i+12>>2])))if((r=s[(o=i+20|0)>>2])||(r=s[(o=i+16|0)>>2])){for(;a=o,(r=s[(o=(t=r)+20|0)>>2])||(o=t+16|0,r=s[t+16>>2]););s[a>>2]=0}else t=0;else r=s[i+8>>2],s[r+12>>2]=t,s[t+8>>2]=r;if(c){o=s[i+28>>2];n:{if(s[(r=11452+(o<<2)|0)>>2]==(0|i)){if(s[r>>2]=t,t)break n;u=11152,f=s[2788]&Kt(o),s[u>>2]=f;break r}if(s[c+(s[c+16>>2]==(0|i)?16:20)>>2]=t,!t)break r}s[t+24>>2]=c,(r=s[i+16>>2])&&(s[t+16>>2]=r,s[r+24>>2]=t),(r=s[i+20>>2])&&(s[t+20>>2]=r,s[r+24>>2]=t)}}if(s[n+4>>2]=1|e,s[e+n>>2]=e,s[2792]!=(0|n))break t;return void(s[2789]=e)}s[i+4>>2]=-2&t,s[n+4>>2]=1|e,s[e+n>>2]=e}if(e>>>0<=255)return t=11188+((e=e>>>3|0)<<3)|0,(r=s[2787])&(e=1<<e)?e=s[t+8>>2]:(s[2787]=e|r,e=t),s[t+8>>2]=n,s[e+12>>2]=n,s[n+12>>2]=t,void(s[n+8>>2]=e);o=31,s[n+16>>2]=0,s[n+20>>2]=0,e>>>0<=16777215&&(t=e>>>8|0,t<<=a=t+1048320>>>16&8,o=28+((t=((t<<=o=t+520192>>>16&4)<<(r=t+245760>>>16&2)>>>15|0)-(r|o|a)|0)<<1|e>>>t+21&1)|0),s[n+28>>2]=o,a=11452+(o<<2)|0;t:{r:{if((r=s[2788])&(t=1<<o)){for(o=e<<(31==(0|o)?0:25-(o>>>1|0)|0),t=s[a>>2];;){if(r=t,(-8&s[t+4>>2])==(0|e))break r;if(t=o>>>29|0,o<<=1,!(t=s[16+(a=r+(4&t)|0)>>2]))break}s[a+16>>2]=n,s[n+24>>2]=r}else s[2788]=t|r,s[a>>2]=n,s[n+24>>2]=a;s[n+12>>2]=n,s[n+8>>2]=n;break t}e=s[r+8>>2],s[e+12>>2]=n,s[r+8>>2]=n,s[n+24>>2]=0,s[n+12>>2]=r,s[n+8>>2]=e}e=s[2795]-1|0,s[2795]=e||-1}}}function W(e,t){var r,n=0,o=0,i=0,a=0,c=0,u=0,f=0;r=e+t|0;e:{t:if(!(1&(n=s[e+4>>2]))){if(!(3&n))break e;t=(n=s[e>>2])+t|0;r:{if((0|(e=e-n|0))!=s[2792]){if(n>>>0<=255){if(i=s[e+8>>2],n=n>>>3|0,(0|(o=s[e+12>>2]))!=(0|i))break r;u=11148,f=s[2787]&Kt(n),s[u>>2]=f;break t}if(c=s[e+24>>2],(0|(n=s[e+12>>2]))==(0|e))if((o=s[(i=e+20|0)>>2])||(o=s[(i=e+16|0)>>2])){for(;a=i,(o=s[(i=(n=o)+20|0)>>2])||(i=n+16|0,o=s[n+16>>2]););s[a>>2]=0}else n=0;else o=s[e+8>>2],s[o+12>>2]=n,s[n+8>>2]=o;if(!c)break t;i=s[e+28>>2];n:{if(s[(o=11452+(i<<2)|0)>>2]==(0|e)){if(s[o>>2]=n,n)break n;u=11152,f=s[2788]&Kt(i),s[u>>2]=f;break t}if(s[c+(s[c+16>>2]==(0|e)?16:20)>>2]=n,!n)break t}if(s[n+24>>2]=c,(o=s[e+16>>2])&&(s[n+16>>2]=o,s[o+24>>2]=n),!(o=s[e+20>>2]))break t;s[n+20>>2]=o,s[o+24>>2]=n;break t}if(3!=(3&(n=s[r+4>>2])))break t;return s[2789]=t,s[r+4>>2]=-2&n,s[e+4>>2]=1|t,void(s[r>>2]=t)}s[i+12>>2]=o,s[o+8>>2]=i}t:{if(!(2&(n=s[r+4>>2]))){if(s[2793]==(0|r)){if(s[2793]=e,t=s[2790]+t|0,s[2790]=t,s[e+4>>2]=1|t,s[2792]!=(0|e))break e;return s[2789]=0,void(s[2792]=0)}if(s[2792]==(0|r))return s[2792]=e,t=s[2789]+t|0,s[2789]=t,s[e+4>>2]=1|t,void(s[e+t>>2]=t);t=(-8&n)+t|0;r:if(n>>>0<=255){if(i=s[r+8>>2],n=n>>>3|0,(0|(o=s[r+12>>2]))==(0|i)){u=11148,f=s[2787]&Kt(n),s[u>>2]=f;break r}s[i+12>>2]=o,s[o+8>>2]=i}else{if(c=s[r+24>>2],(0|r)==(0|(n=s[r+12>>2])))if((i=s[(o=r+20|0)>>2])||(i=s[(o=r+16|0)>>2])){for(;a=o,(i=s[(o=(n=i)+20|0)>>2])||(o=n+16|0,i=s[n+16>>2]););s[a>>2]=0}else n=0;else o=s[r+8>>2],s[o+12>>2]=n,s[n+8>>2]=o;if(c){i=s[r+28>>2];n:{if(s[(o=11452+(i<<2)|0)>>2]==(0|r)){if(s[o>>2]=n,n)break n;u=11152,f=s[2788]&Kt(i),s[u>>2]=f;break r}if(s[c+(s[c+16>>2]==(0|r)?16:20)>>2]=n,!n)break r}s[n+24>>2]=c,(o=s[r+16>>2])&&(s[n+16>>2]=o,s[o+24>>2]=n),(o=s[r+20>>2])&&(s[n+20>>2]=o,s[o+24>>2]=n)}}if(s[e+4>>2]=1|t,s[e+t>>2]=t,s[2792]!=(0|e))break t;return void(s[2789]=t)}s[r+4>>2]=-2&n,s[e+4>>2]=1|t,s[e+t>>2]=t}if(t>>>0<=255)return n=11188+((t=t>>>3|0)<<3)|0,(o=s[2787])&(t=1<<t)?t=s[n+8>>2]:(s[2787]=t|o,t=n),s[n+8>>2]=e,s[t+12>>2]=e,s[e+12>>2]=n,void(s[e+8>>2]=t);i=31,s[e+16>>2]=0,s[e+20>>2]=0,t>>>0<=16777215&&(n=t>>>8|0,n<<=a=n+1048320>>>16&8,i=28+((n=((n<<=i=n+520192>>>16&4)<<(o=n+245760>>>16&2)>>>15|0)-(o|i|a)|0)<<1|t>>>n+21&1)|0),s[e+28>>2]=i,a=11452+(i<<2)|0;t:{if((o=s[2788])&(n=1<<i)){for(i=t<<(31==(0|i)?0:25-(i>>>1|0)|0),n=s[a>>2];;){if(o=n,(-8&s[n+4>>2])==(0|t))break t;if(n=i>>>29|0,i<<=1,!(n=s[16+(a=o+(4&n)|0)>>2]))break}s[a+16>>2]=e,s[e+24>>2]=o}else s[2788]=n|o,s[a>>2]=e,s[e+24>>2]=a;return s[e+12>>2]=e,void(s[e+8>>2]=e)}t=s[o+8>>2],s[t+12>>2]=e,s[o+8>>2]=e,s[e+24>>2]=0,s[e+12>>2]=o,s[e+8>>2]=t}}function L(){var e=0,t=0,r=0,n=0,o=0,c=0,u=0;if(!(1&i[9928])){if(x=r=x-16|0,e=Qt(r),x=n=x-16|0,!l[s[rn(n+8|0,s[e+4>>2])>>2]])e:{t:{if(t=s[e+8>>2],1!=(0|(e=l[0|t]))){if(2&e)break t;i[0|t]=2,t=1}else t=0;break e}I(),D()}x=n+16|0,x=r+16|0,t&&(s[2304]=0,s[2305]=0,s[2310]=0,s[2311]=0,s[2308]=-1,s[2309]=-1,s[2316]=-1,s[2317]=-1,s[2320]=0,s[2321]=0,s[2327]=0,s[2328]=0,s[2326]=1061158912,s[2324]=1045220557,s[2325]=1053609165,s[2339]=-1,s[2340]=-1,s[2306]=0,s[2307]=0,s[2312]=0,s[2313]=0,s[2314]=0,s[2315]=0,s[2318]=-1,s[2319]=-1,s[2322]=0,s[2323]=0,s[2329]=0,s[2330]=0,s[2331]=0,s[2332]=0,s[2341]=-1,s[2342]=-1,s[2345]=0,s[2346]=0,s[2343]=0,s[2344]=0,s[2353]=0,s[2354]=-1082130432,s[2355]=-1082130432,s[2356]=-1082130432,s[2357]=1065353216,s[2358]=1091567616,s[2359]=1073741824,s[2350]=1065353216,s[2348]=16842753,i[9396]=0,re(9440,0,48),s[2382]=0,s[2383]=1076887552,s[2380]=0,s[2381]=1078067200,s[2378]=0,s[2379]=1077542912,_t(9624),_t(9636),_t(9648),t=ln(9664),rt(9736),rt(9748),_t(9768),_t(9780),_t(9792),_t(9812),r=_t(9824),e=_t(9836),n=_t(9848),o=_t(9860),_t(9872),_t(9896),s[2404]=0,s[2405]=0,s[2402]=0,s[2403]=0,s[2400]=0,s[2401]=0,Mn(9624),Mn(9636),Rn(9648),s[t>>2]=0,s[2420]=0,s[2421]=0,s[2418]=0,s[2419]=0,Mn(9688),s[2428]=0,s[2429]=0,s[2426]=0,Rn(r),Rn(n),Rn(o),Rn(e),s[2471]=-1,s[2472]=0,s[2473]=0,Kr(9896),s[2481]=0,s[2477]=-1,s[2478]=-1,s[2479]=-1,s[2480]=2,s[2304]=0,s[2305]=0,s[2332]=0,s[2310]=0,s[2311]=0,s[2306]=0,s[2307]=0,s[2312]=0,s[2313]=0,re(9440,0,48),s[2329]=0,s[2330]=0,s[2322]=0,s[2323]=0,a[4696]=1,s[2314]=0,s[2315]=0,s[2316]=0,s[2317]=0,s[2400]=0,s[2401]=0,s[2402]=0,s[2403]=0,s[2404]=0,s[2405]=0,Mn(9624),Mn(9636),Rn(9648),Rn(9824),Rn(9860),s[2441]=5,Mn(9792),s[2440]=0,Mn(9768),Mn(9780),s[2452]=5,Mn(9812),s[2451]=0,kt(9736),Dt(9748),s[2376]=0,s[2377]=1076887552,s[2374]=0,s[2375]=1077805056,s[2372]=0,s[2373]=1077149696,s[2351]=1084227584,s[2352]=1084227584,s[2324]=1045220557,s[2325]=1053609165,s[2337]=4,s[2338]=2,s[2335]=12,s[2336]=5,s[2398]=0,s[2399]=1075314688,s[2396]=0,s[2397]=1077936128,s[2394]=-687194767,s[2395]=-1077055325,s[2392]=1717986918,s[2393]=1072064102,s[2390]=0,s[2391]=1071644672,s[2388]=0,s[2389]=1072168960,s[2386]=0,s[2387]=1073217536,s[2384]=-858993459,s[2385]=1072483532,s[2353]=1086324736,s[2333]=10,s[2334]=10,s[2326]=1061158912,s[2327]=0,s[2320]=0,s[2321]=0,x=t=x-16|0,r=Qt(t),x=e=x-16|0,c=s[rn(e+8|0,s[r+4>>2])>>2],u=1,i[0|c]=u,i[s[r+8>>2]]=1,x=e+16|0,x=t+16|0)}return 9216}function Z(e,t){var r,n,o=0,i=0,a=0,c=0,u=0,f=0,d=0,l=0,p=0,E=0,b=0,h=0,O=0;if(n=Sr(e),r=s[e+8>>2],_r(e),t){if(r)if(t>>>0>=4294967232)s[2744]=48,i=0;else{u=t>>>0<11?16:t+11&-8,a=-8&(l=s[4+(c=r-8|0)>>2]);e:if(3&l){f=a+c|0;t:if(a>>>0>=u>>>0){if((i=a-u|0)>>>0<16)break t;s[c+4>>2]=1&l|u|2,s[4+(o=c+u|0)>>2]=3|i,s[f+4>>2]=1|s[f+4>>2],W(o,i)}else if(s[2793]!=(0|f))if(s[2792]!=(0|f)){if(2&(i=s[f+4>>2]))break e;if((p=a+(-8&i)|0)>>>0<u>>>0)break e;b=p-u|0;r:if(i>>>0<=255){if(d=s[f+8>>2],o=i>>>3|0,(0|(i=s[f+12>>2]))==(0|d)){h=11148,O=s[2787]&Kt(o),s[h>>2]=O;break r}s[d+12>>2]=i,s[i+8>>2]=d}else{if(E=s[f+24>>2],(0|f)==(0|(a=s[f+12>>2])))if((o=s[(d=f+20|0)>>2])||(o=s[(d=f+16|0)>>2])){for(;i=d,a=o,(o=s[(d=o+20|0)>>2])||(d=a+16|0,o=s[a+16>>2]););s[i>>2]=0}else a=0;else o=s[f+8>>2],s[o+12>>2]=a,s[a+8>>2]=o;if(E){i=s[f+28>>2];n:{if(s[(o=11452+(i<<2)|0)>>2]==(0|f)){if(s[o>>2]=a,a)break n;h=11152,O=s[2788]&Kt(i),s[h>>2]=O;break r}if(s[(s[E+16>>2]==(0|f)?16:20)+E>>2]=a,!a)break r}s[a+24>>2]=E,(o=s[f+16>>2])&&(s[a+16>>2]=o,s[o+24>>2]=a),(o=s[f+20>>2])&&(s[a+20>>2]=o,s[o+24>>2]=a)}}b>>>0<=15?(s[c+4>>2]=1&l|p|2,s[4+(o=c+p|0)>>2]=1|s[o+4>>2]):(s[c+4>>2]=1&l|u|2,s[4+(i=c+u|0)>>2]=3|b,s[4+(o=c+p|0)>>2]=1|s[o+4>>2],W(i,b))}else{if((i=a+s[2789]|0)>>>0<u>>>0)break e;(o=i-u|0)>>>0>=16?(s[c+4>>2]=1&l|u|2,s[4+(d=c+u|0)>>2]=1|o,s[(i=i+c|0)>>2]=o,s[i+4>>2]=-2&s[i+4>>2]):(s[c+4>>2]=i|1&l|2,s[4+(o=i+c|0)>>2]=1|s[o+4>>2],o=0),s[2792]=d,s[2789]=o}else{if((d=a+s[2790]|0)>>>0<=u>>>0)break e;s[c+4>>2]=1&l|u|2,o=d-u|0,s[4+(i=c+u|0)>>2]=1|o,s[2790]=o,s[2793]=i}o=c}else{if(u>>>0<256)break e;if(a>>>0>=u+4>>>0&&(o=c,a-u>>>0<=s[2907]<<1>>>0))break e;o=0}i=o+8|0,o||(i=0,(c=H(t))&&(z(c,r,t>>>0>(o=(3&(o=s[r-4>>2])?-4:-8)+(-8&o)|0)>>>0?o:t),B(r),i=c))}else i=H(t);o=i}else B(r),o=0;s[e+8>>2]=o,s[e+16>>2]=t+o,s[e+12>>2]=o+n}function V(e,t,r){var n=0,o=0,i=0,a=0,c=0,u=0;e:for(;;){a=t-4|0;t:for(;;){for(n=e;;){r:{n:{o:{i:{a:{s:{c:{u:{f:switch(0|(o=(e=t-n|0)>>2)){case 5:break c;case 4:break u;case 2:break f;case 0:case 1:break r;case 3:break a;default:break s}if(!zr(e=t-4|0,n))break r;return void vt(n,e)}return void ot(n,n+4|0,n+8|0,t-4|0)}return void Ye(n,n+4|0,n+8|0,n+12|0,t-4|0)}if((0|e)<=123){for(o=t,x=a=x-16|0,Xe(n,n+4|0,r=n+8|0),t=n+12|0;(0|t)!=(0|o);){if(zr(t,r)){for(s[a+12>>2]=s[t>>2],e=t;;){if(i=e,e=r,s[i>>2]=s[e>>2],(0|e)!=(0|n)){if(zr(a+12|0,r=e-4|0))continue}else e=n;break}s[e>>2]=s[a+12>>2]}r=t,t=t+4|0}return void(x=a+16|0)}if(i=((0|o)/2<<2)+n|0,c=e>>>0>=3997?Ye(n,(e=(0|o)/4<<2)+n|0,i,e+i|0,a):Xe(n,i,a),e=a,!zr(n,i)){for(;;){if((0|n)==(0|(e=e-4|0))){if(o=n+4|0,zr(n,a))break o;for(;;){if((0|o)==(0|a))break r;if(zr(n,o)){vt(o,a),o=o+4|0;break o}o=o+4|0}}if(zr(e,i))break}vt(n,e),c=c+1|0}if((o=n+4|0)>>>0>=e>>>0)break i;for(;;)if(u=o,o=o+4|0,!zr(u,i)){for(;!zr(e=e-4|0,i););if(e>>>0<u>>>0){o=u;break i}vt(u,e),i=(0|i)==(0|u)?e:i,c=c+1|0}}Xe(n,n+4|0,t-4|0);break r}if((0|o)!=(0|i)&&zr(i,o)&&(vt(o,i),c=c+1|0),!c){if(u=ie(n,o),ie(e=o+4|0,t)){if(t=o,e=n,!u)continue e;break r}if(i=2,u)break n}if((o-n|0)<(t-o|0)){V(n,o,r),e=o+4|0;continue t}V(o+4|0,t,r),t=o,e=n;continue e}if((0|(i=a))==(0|o))break r;for(;;)if(o=(e=o)+4|0,zr(n,e)){for(;zr(n,i=i-4|0););if(!(e>>>0<i>>>0))break;vt(e,i)}i=4}switch(n=e,i-2|0){case 0:continue t;case 2:continue;default:break r}}break}break}break}}function Y(e,t,r,n){var o,i,a=0,c=0,u=0;if(x=i=x-32|0,34==(0|Tn(o=Mt(i+16|0,t)))){pr(o),s[4+(a=i+8|0)>>2]=0,s[a>>2]=e;e:{t:{r:{n:{o:{i:{for(;;){a:{s:{if(92!=(0|(t=Tn(o)))){if(34!=(255&t))break s;pr(o),pe(a,0);break e}if(c=Ur(o),pr(o),t=Tn(o),u=l[5120+(255&t)|0]){pr(o),pe(a,u<<24>>24);continue}if(117==(0|t)){if(pr(o),t=me(e,o,c),Dn(e))break a;if(55296==(-1024&t)){if(!nr(o,92)||!nr(o,117)){if(Dn(e))break i;if(gn(e,9,c),Dn(e))break a}if(u=me(e,o,c),Dn(e))break a;if(u-57344>>>0<=4294966271){if(Dn(e))break o;if(gn(e,9,c),Dn(e))break a}t=65536+(u-56320|(t<<10)-56623104)|0}c:{u:{if(!(t>>>0<=127))if(t>>>0<=2047)pe(a,t>>>6|-64),t=63&t|-128;else if(t>>>0<=65535)pe(a,t>>>12|-32),pe(a,t>>>6&63|-128),t=63&t|-128;else{if(t>>>0>=1114112)break u;pe(a,t>>>18|-16),pe(a,t>>>12&63|-128),pe(a,t>>>6&63|-128),t=63&t|-128}pe(a,t<<24>>24);break c}v(2267,1497,115,2095),D()}continue}if(Dn(e))break n;if(gn(e,10,c),!Dn(e))continue;break a}if(!(t>>>0<=31)){Ur(o),pe(a,pr(o));continue}if(c=Dn(e),t){if(c)break t;if(gn(e,12,Ur(o)),!Dn(e))continue}else{if(c)break r;if(gn(e,11,Ur(o)),!Dn(e))continue}}break}break e}v(2577,1526,1029,1389),D()}v(2577,1526,1033,1389),D()}v(2577,1526,1039,1389),D()}v(2577,1526,1048,1389),D()}v(2577,1526,1050,1389),D()}return Dn(e)||(t=s[a+4>>2]-1|0,c=s[a+4>>2],Sr(a=s[a>>2])>>>0<c>>>0&&(v(2525,1552,139,1210),D()),u=a,a=s[a+12>>2]-c|0,s[u+12>>2]=a,de(r,a,t)),Bt(o),void(x=i+32|0)}v(2721,1526,963,1630),D(),v(2577,1526,985,1630),D()}function J(e,t){var r,n,o,i,c,u,f=0,d=0;x=i=x-16|0,s[4+(f=i+8|0)>>2]=t,s[f>>2]=t,x=n=x+-64|0,r=n+24|0,Br(o=e+32|0)?(t=s[o>>2])||(v(2227,1552,173,1153),D()):t=0,jt(r,t,256),en(d=r+24|0),s[r+32>>2]=2,c=rn(n+16|0,e),x=t=x-16|0,Gr(d,0,0),u=rn(t+8|0,r),nt(f);e:{t:{r:if(!Dn(r)){n:{if(!Tn(f)){if(d=1,!Dn(r))break n;v(2577,1526,571,1975),D()}if(Q(r,f,e),Dn(r))break r;if(nt(f),Dn(r))break r;if(!Tn(f))break r;if(d=2,Dn(r))break t}gn(r,d,Ur(f)),Dn(r)}f=s[r+28>>2],s[n+8>>2]=s[r+24>>2],s[n+12>>2]=f,cn(s[u>>2]),x=t+16|0;break e}v(2577,1526,583,1975),D()}t=s[n+12>>2],s[e+56>>2]=s[n+8>>2],s[e+60>>2]=t,t=Br(e+56|0),s[n+4>>2]=0,s[n>>2]=t?0:3;e:{t:{if(s[n>>2]|1&s[n+4>>2]){if(24!=(0|Sr(o)))break t;(0|(t=ht(o,1)))!=(0|e)&&(f=s[t+4>>2],s[e>>2]=s[t>>2],s[e+4>>2]=f,f=s[t+20>>2],s[e+16>>2]=s[t+16>>2],s[e+20>>2]=f,f=s[t+12>>2],s[e+8>>2]=s[t+8>>2],s[e+12>>2]=f,a[t+18>>1]=0)}cn(t=s[c>>2]+32|0),s[t+12>>2]!=s[t+8>>2]?Z(t,Sr(t)):(B(s[t+8>>2]),s[t+16>>2]=0,s[t+8>>2]=0,s[t+12>>2]=0),Ar(r),x=n- -64|0;break e}v(2390,1469,2344,1409),D()}return x=i+16|0,e}function z(e,t,r){var n,o=0,a=0;if(r>>>0>=512)return M(0|e,0|t,0|r),e;n=e+r|0;e:if(3&(e^t))if(n>>>0<4)r=e;else if((o=n-4|0)>>>0<e>>>0)r=e;else for(r=e;i[0|r]=l[0|t],i[r+1|0]=l[t+1|0],i[r+2|0]=l[t+2|0],i[r+3|0]=l[t+3|0],t=t+4|0,o>>>0>=(r=r+4|0)>>>0;);else{t:if(3&e)if(r)for(r=e;;){if(i[0|r]=l[0|t],t=t+1|0,!(3&(r=r+1|0)))break t;if(!(r>>>0<n>>>0))break}else r=e;else r=e;if(!((o=-4&n)>>>0<64||(a=o+-64|0)>>>0<r>>>0))for(;s[r>>2]=s[t>>2],s[r+4>>2]=s[t+4>>2],s[r+8>>2]=s[t+8>>2],s[r+12>>2]=s[t+12>>2],s[r+16>>2]=s[t+16>>2],s[r+20>>2]=s[t+20>>2],s[r+24>>2]=s[t+24>>2],s[r+28>>2]=s[t+28>>2],s[r+32>>2]=s[t+32>>2],s[r+36>>2]=s[t+36>>2],s[r+40>>2]=s[t+40>>2],s[r+44>>2]=s[t+44>>2],s[r+48>>2]=s[t+48>>2],s[r+52>>2]=s[t+52>>2],s[r+56>>2]=s[t+56>>2],s[r+60>>2]=s[t+60>>2],t=t- -64|0,a>>>0>=(r=r- -64|0)>>>0;);if(r>>>0>=o>>>0)break e;for(;s[r>>2]=s[t>>2],t=t+4|0,o>>>0>(r=r+4|0)>>>0;);}if(r>>>0<n>>>0)for(;i[0|r]=l[0|t],t=t+1|0,(0|n)!=(0|(r=r+1|0)););return e}function q(e,t,r){var n=0,o=0,i=0,a=0,s=0,c=0,u=0,f=0,d=0;n=e;e:{t:{r:{n:{o:{i:{a:{s:{c:{u:{if(t){if(!r)break u;break c}e=(n>>>0)/(r>>>0)|0,C=0;break e}if(!n)break s;break a}if(!(r-1&r))break i;o=0-(a=(m(r)+33|0)-m(t)|0)|0;break n}e=(t>>>0)/0|0,C=0;break e}if((e=32-m(t)|0)>>>0<31)break o;break r}if(1==(0|r))break t;r=31&(e=r?31-m(r-1^r)|0:32),(63&e)>>>0>=32?(e=0,t=t>>>r|0):(e=t>>>r|0,t=((1<<r)-1&t)<<32-r|n>>>r),C=e,e=t;break e}a=e+1|0,o=63-e|0}if(i=31&(e=63&a),e>>>0>=32?(e=0,s=t>>>i|0):(e=t>>>i|0,s=((1<<i)-1&t)<<32-i|n>>>i),i=e,o=31&(e=63&o),e>>>0>=32?(e=n<<o,n=0):(e=(1<<o)-1&n>>>32-o|t<<o,n<<=o),t=e,a)for(d=-1!=(0|(o=r-1|0))?0:-1;s=(e=s<<1|t>>>31)-(u=r&(c=d-((i=i<<1|s>>>31)+(e>>>0>o>>>0)|0)>>31))|0,i=i-(e>>>0<u>>>0)|0,t=t<<1|n>>>31,n=f|n<<1,f=1&c,a=a-1|0;);C=t<<1|n>>>31,e=f|n<<1;break e}n=0,t=0}C=t,e=n}return e}function K(e,t,r){var n,o=0,i=0,a=0,c=0,u=0;x=n=x-16|0;e:{if(sn(t)){if(!Qr(r))break e;sn(t)||(v(2566,1469,1246,1350),D()),rn(e,s[t+8>>2]),Nt(o=n+8|0,t);t:if(Jr(e,o))for(;;){i=s[e>>2];r:{n:{if(Qr(r)){if(!Qr(i))break n;if((0|(a=Tt(r)))==(0|Tt(i))){if(o=1,(0|(c=Pt(r)))==(0|(i=Pt(i))))break r;o:{i:{a:{if(a>>>0>=4){if(3&(i|c))break a;for(;;){if(s[c>>2]!=s[i>>2])break a;if(i=i+4|0,c=c+4|0,!((a=a-4|0)>>>0>3))break}}if(!a)break i}for(;;){if((0|(o=l[0|c]))==(0|(u=l[0|i]))){if(i=i+1|0,c=c+1|0,a=a-1|0)continue;break i}break}o=o-u|0;break o}o=0}o=!o}else o=0;break r}v(2625,1469,2171,1431),D()}v(2605,1469,2172,1431),D()}if(o)break t;if(s[e>>2]=s[e>>2]+48,Nt(o=n+8|0,t),!Jr(e,o))break}return void(x=n+16|0)}v(2566,1469,1334,1178),D()}v(2620,1469,1335,1178),D()}function $(e,t,r){e:switch(t-9|0){case 0:return t=s[r>>2],s[r>>2]=t+4,void(s[e>>2]=s[t>>2]);case 6:return t=s[r>>2],s[r>>2]=t+4,t=a[t>>1],s[e>>2]=t,void(s[e+4>>2]=t>>31);case 7:return t=s[r>>2],s[r>>2]=t+4,s[e>>2]=p[t>>1],void(s[e+4>>2]=0);case 8:return t=s[r>>2],s[r>>2]=t+4,t=i[0|t],s[e>>2]=t,void(s[e+4>>2]=t>>31);case 9:return t=s[r>>2],s[r>>2]=t+4,s[e>>2]=l[0|t],void(s[e+4>>2]=0);case 16:return t=s[r>>2]+7&-8,s[r>>2]=t+8,void(h[e>>3]=h[t>>3]);case 17:io[8](e,r);default:return;case 1:case 4:case 14:return t=s[r>>2],s[r>>2]=t+4,t=s[t>>2],s[e>>2]=t,void(s[e+4>>2]=t>>31);case 2:case 5:case 11:case 15:return t=s[r>>2],s[r>>2]=t+4,s[e>>2]=s[t>>2],void(s[e+4>>2]=0);case 3:case 10:case 12:case 13:}t=s[r>>2]+7&-8,s[r>>2]=t+8,r=s[t+4>>2],s[e>>2]=s[t>>2],s[e+4>>2]=r}function ee(e,t,r){var n,o=0,i=0,a=0,c=0;x=n=x-32|0,s[e+16>>2]=0,s[e>>2]=-1,s[e+4>>2]=-1,s[e+8>>2]=-1,s[e+12>>2]=2;e:{t:switch(0|r){case 0:o=ft(t,3);break e;case 1:a=ft(t,2),i=-1;r:if(!(s[t+544>>2]<2))for(c=t+576|0,o=1;;){if(.5*+s[t+668>>2]>+s[sr(c,o)>>2]&&(i=s[sr(c,o)>>2],o>>>0>2))break r;if(!((0|(o=o+1|0))<s[t+544>>2]))break}o=(0|i)<(0|a)?a:i;break e}o=ft(t,3)}s[e>>2]=o,i=fe(t,s[t+140>>2],s[t+144>>2]),s[t+108>>2]=i,(0|i)>0&&(o=he(t,o,i),s[e>>2]=o),1!=(0|(a=s[t+672>>2]))?(i=5e3,s[e+4>>2]=5e3,e=-1):(s[e+16>>2]=1,s[e+8>>2]=1024e3,i=-1,e=1024e3),c=s[t+668>>2],s[n+24>>2]=1,s[n+20>>2]=e,s[n+16>>2]=i,s[n+12>>2]=o,s[n+8>>2]=a,s[n+4>>2]=c,s[n>>2]=r,ae(t,3564,n),x=n+32|0}function te(e,t,r){var n=0,o=0;e:if((0|e)!=(0|t)){if(t-(o=e+r|0)>>>0<=0-(r<<1)>>>0)return void z(e,t,r);if(n=3&(e^t),e>>>0<t>>>0){if(!n){if(3&e)for(;;){if(!r)break e;if(i[0|e]=l[0|t],t=t+1|0,r=r-1|0,!(3&(e=e+1|0)))break}if(!(r>>>0<=3))for(;s[e>>2]=s[t>>2],t=t+4|0,e=e+4|0,(r=r-4|0)>>>0>3;);}if(r)for(;i[0|e]=l[0|t],e=e+1|0,t=t+1|0,r=r-1|0;);}else{if(!n){if(3&o)for(;;){if(!r)break e;if(i[0|(n=(r=r-1|0)+e|0)]=l[t+r|0],!(3&n))break}if(!(r>>>0<=3))for(;s[(r=r-4|0)+e>>2]=s[t+r>>2],r>>>0>3;);}if(!r)break e;for(;i[(r=r-1|0)+e|0]=l[t+r|0],r;);}}}function re(e,t,r){var n=0,o=0,a=0;if(r&&(i[0|e]=t,i[(o=e+r|0)-1|0]=t,!(r>>>0<3||(i[e+2|0]=t,i[e+1|0]=t,i[o-3|0]=t,i[o-2|0]=t,r>>>0<7||(i[e+3|0]=t,i[o-4|0]=t,r>>>0<9||(a=(o=0-e&3)+e|0,n=O(255&t,16843009),s[a>>2]=n,s[(r=(t=r-o&-4)+a|0)-4>>2]=n,t>>>0<9||(s[a+8>>2]=n,s[a+4>>2]=n,s[r-8>>2]=n,s[r-12>>2]=n,t>>>0<25||(s[a+24>>2]=n,s[a+20>>2]=n,s[a+16>>2]=n,s[a+12>>2]=n,s[r-16>>2]=n,s[r-20>>2]=n,s[r-24>>2]=n,s[r-28>>2]=n,(r=(r=t)-(t=4&a|24)|0)>>>0<32))))))))for(n=Ue(n,0,1,1),o=C,t=t+a|0;s[t+24>>2]=n,s[t+28>>2]=o,s[t+16>>2]=n,s[t+20>>2]=o,s[t+8>>2]=n,s[t+12>>2]=o,s[t>>2]=n,s[t+4>>2]=o,t=t+32|0,(r=r-32|0)>>>0>31;);return e}function ne(e,t){var r,n,o,i,a,c=0,u=0,f=0,d=0;if(s[e+4>>2]!=s[Ln(e)>>2])return x=u=x-16|0,c=Ht(u,e,1),fn(Ln(e),s[c+4>>2],t),s[c+4>>2]=s[c+4>>2]+4,Vr(c),void(x=u+16|0);if(x=r=x-32|0,o=Ln(e),u=Je(e,Ir(e)+1|0),f=Ir(e),x=n=x-16|0,s[n+12>>2]=0,dn(12+(c=r+8|0)|0,o),u&&(d=dr(s[c+16>>2],u)),s[c>>2]=d,f=(f<<2)+d|0,s[c+8>>2]=f,s[c+4>>2]=f,i=Gn(c),a=(u<<2)+d|0,s[i>>2]=a,x=n+16|0,fn(0,s[c+8>>2],t),s[c+8>>2]=s[c+8>>2]+4,vn(e),t=c+4|0,tr(Ln(e),s[e>>2],s[e+4>>2],t),vt(e,t),vt(e+4|0,c+8|0),vt(Ln(e),Gn(c)),s[c>>2]=s[c+4>>2],xn(e,Ir(e)),(0|(e=s[c+4>>2]))!=s[c+8>>2])for(;s[c+8>>2]=s[c+8>>2]-4,(0|e)!=s[c+8>>2];);s[c>>2]&&B(e=s[c>>2]),x=r+32|0}function oe(e,t,r,n){var o=0;s[n+8>>2]=t,s[n>>2]=0,s[n+4>>2]=0,s[r>>2]=n,s[s[e>>2]>>2]&&(s[e>>2]=s[s[e>>2]>>2]),r=(0|(n=s[Wn(e)>>2]))==(0|(t=s[r>>2])),i[t+12|0]=r;e:if(!r)for(;;){if(l[s[t+8>>2]+12|0])break e;o=Pr(s[t+8>>2]),r=s[t+8>>2];t:{if(o){if(!(!(r=s[s[r+8>>2]+4>>2])|l[r+12|0]))break t;Pr(t)||$e(t=s[t+8>>2]),t=s[t+8>>2],i[t+12|0]=1,t=s[t+8>>2],i[t+12|0]=0,Ke(t);break e}if(!(r=s[s[r+8>>2]>>2])|l[r+12|0]){Pr(t)&&Ke(t=s[t+8>>2]),t=s[t+8>>2],i[t+12|0]=1,t=s[t+8>>2],i[t+12|0]=0,$e(t);break e}}if(t=s[t+8>>2],i[t+12|0]=1,t=s[t+8>>2],i[t+12|0]=(0|t)==(0|n),i[r+12|0]=1,(0|t)==(0|n))break}e=Ln(e),s[e>>2]=s[e>>2]+1}function ie(e,t){var r,n=0,o=0,i=0,a=0,c=0,u=0;x=r=x-16|0,a=1;e:{t:switch(t-e>>2){case 2:if(!zr(t=t-4|0,e))break e;vt(e,t);break e;case 3:Xe(e,e+4|0,t-4|0);break e;case 4:ot(e,e+4|0,e+8|0,t-4|0);break e;case 5:Ye(e,e+4|0,e+8|0,e+12|0,t-4|0);break e;case 0:case 1:break e}for(Xe(e,e+4|0,i=e+8|0),n=e+12|0;;){if((0|t)==(0|n))break e;t:{if(zr(n,i)){for(s[r+12>>2]=s[n>>2],o=n;;){if(u=o,o=i,s[u>>2]=s[o>>2],(0|e)!=(0|o)){if(zr(r+12|0,i=o-4|0))continue}else o=e;break}if(s[o>>2]=s[r+12>>2],8==(0|(c=c+1|0)))break t}i=n,n=n+4|0;continue}break}a=(n+4|0)==(0|t)}return x=r+16|0,a}function ae(e,t,r){var n,o=0,i=0;if(x=n=x-16|0,l[e+178|0]){if(s[n+12>>2]=r,x=o=x-208|0,s[o+204>>2]=r,re(e=o+160|0,0,40),s[o+200>>2]=s[o+204>>2],!((0|G(0,t,o+200|0,o+80|0,e))<0)){e=s[2207]>=0,r=s[2188],s[2206]<=0&&(s[2188]=-33&r);e:{t:{if(s[2200]){if(s[2192])break t}else s[2200]=80,s[2195]=0,s[2192]=0,s[2193]=0,i=s[2199],s[2199]=o;if(We(8752))break e}G(8752,t,o+200|0,o+80|0,o+160|0)}i&&(io[s[2197]](8752,0,0),s[2200]=0,s[2199]=i,s[2195]=0,s[2192]=0,s[2193]=0),s[2188]=s[2188]|32&r}x=o+208|0}x=n+16|0}function se(e,t){var r=0,n=0,o=0;if((0|e)!=(0|t)){if(!$r(e))return $r(t)?(o=Dr(t),t=Er(t),x=r=x-16|0,t>>>0<=10?(Cn(e,t),on(e,o,t),i[r+15|0]=0,Nn(e+t|0,r+15|0)):be(e,10,t-10|0,e=l[e+11|0],e,t,o),void(x=r+16|0)):(s[e+8>>2]=s[t+8>>2],r=s[t+4>>2],s[e>>2]=s[t>>2],void(s[e+4>>2]=r));o=Dr(t),t=Er(t),x=r=x-16|0,(n=jr(e))>>>0>t>>>0?(n=s[e>>2],Xn(e,t),on(n,o,t),i[r+15|0]=0,Nn(t+n|0,r+15|0)):be(e,n-1|0,1+(t-n|0)|0,e=s[e+4>>2],e,t,o),x=r+16|0}}function ce(e,t){if(!e)return 0;e:{t:{if(e){if(t>>>0<=127)break t;if(s[s[2781]>>2]){if(t>>>0<=2047){i[e+1|0]=63&t|128,i[0|e]=t>>>6|192,e=2;break e}if(!(57344!=(-8192&t)&t>>>0>=55296)){i[e+2|0]=63&t|128,i[0|e]=t>>>12|224,i[e+1|0]=t>>>6&63|128,e=3;break e}if(t-65536>>>0<=1048575){i[e+3|0]=63&t|128,i[0|e]=t>>>18|240,i[e+2|0]=t>>>6&63|128,i[e+1|0]=t>>>12&63|128,e=4;break e}}else if(57216==(-128&t))break t;s[2744]=25,e=-1}else e=1;break e}i[0|e]=t,e=1}return e}function ue(e){var t,r=0,n=0,o=0,i=0;if(Fr(t=e+608|0))for(e=0;r=Hr(t,e),(0|(o=s[r+4>>2]))>=0&(r=s[r>>2])>>>0>=2|(0|o)>0?(r=Hr(t,e),o=s[r>>2],r=s[r+4>>2]):(o=1,r=0),i+=1/(+(o>>>0)+4294967296*+(0|r)),e=e+1|0,Fr(t)>>>0>e>>>0;);return Fr(t)&&(n=+(Fr(t)>>>0)/i),g(n)<0x8000000000000000?(C=g(n)>=1?~~(n>0?y(w(2.3283064365386963e-10*n),4294967295):T(2.3283064365386963e-10*(n-+(~~n>>>0>>>0))))>>>0:0,~~n>>>0):(C=-2147483648,0)}function fe(e,t,r){var n,o=0,i=0,a=0,c=0,u=0,f=0,d=0,l=0;x=n=x-16|0,o=-1;e:if(!((0|t)<=0|(0|r)<=0)){if(s[e+544>>2]>0){for(c=(o=t>>>0>r>>>0)?t:r,u=o?r:t,f=e+576|0,d=e+564|0,l=e+552|0,t=0;;){if(r=s[sr(l,t)>>2],i=sr(d,t),o=-1,(0|r)<=0)break e;if((0|(i=s[i>>2]))<=0)break e;if(o=sr(f,t),(0|((a=r>>>0>i>>>0)?i:r))>=(0|u)|(0|(a?r:i))>=(0|c)||!((0|(t=t+1|0))<s[e+544>>2]))break}o=s[o>>2]}s[n>>2]=o,ae(e,3712,n)}return x=n+16|0,o}function de(e,t,r){var n,o,c,u=0;return u=Ae(e+32|0),o=cr(e),x=n=x-16|0,s[u>>2]=0,s[u+4>>2]=0,s[u+16>>2]=0,s[u+20>>2]=0,s[u+8>>2]=0,s[u+12>>2]=0,s[4+(e=n+8|0)>>2]=r,s[e>>2]=t||5376,!r|t||(v(1064,1469,401,1671),D()),E[e+4>>2]<18?(a[u+18>>1]=7173,In(u,s[e+4>>2])):(a[u+18>>1]=3077,s[u>>2]=s[e+4>>2],Bn(t=u,u=Ee(o,s[e+4>>2]+1|0))),c=z(u,s[e>>2],s[e+4>>2])+s[e+4>>2]|0,i[0|c]=0,x=n+16|0,1}function le(e,t,r){var n=0,o=0,i=0;if(!(32&l[0|e]))e:{n=t;t:{if(!(e=s[(t=e)+16>>2])){if(We(t))break t;e=s[t+16>>2]}if(e-(i=s[t+20>>2])>>>0<r>>>0){io[s[t+36>>2]](t,n,r);break e}r:if(!(s[t+80>>2]<0)){for(e=r;;){if(o=e,!e)break r;if(10==l[n+(e=o-1|0)|0])break}if(io[s[t+36>>2]](t,n,o)>>>0<o>>>0)break t;n=n+o|0,r=r-o|0,i=s[t+20>>2]}z(i,n,r),s[t+20>>2]=s[t+20>>2]+r}}}function pe(e,t){var r,n=0,o=0;r=s[e>>2],(s[r+16>>2]-s[r+12>>2]|0)<=0&&(s[r+8>>2]?n=((n=_r(r))+1>>>1|0)+n|0:(s[r>>2]||(n=Ot(1),s[r+4>>2]=n,s[r>>2]=n),n=s[r+20>>2]),Z(r,n>>>0<(o=Sr(r)+1|0)>>>0?o:n));e:{t:{if(n=s[r+12>>2]){if((s[r+16>>2]-n|0)<=0)break t;s[r+12>>2]=n+1;break e}v(2238,1552,130,2084),D()}v(2428,1552,131,2084),D()}i[0|n]=t,s[e+4>>2]=s[e+4>>2]+1}function Ee(e,t){var r=0,n=0,o=0,i=0;e:if(t){if(n=t+7&-8,!((t=s[e>>2])&&(o=n+(r=s[t+4>>2])|0)>>>0<=E[t>>2])){if(r=(t=s[e+4>>2])>>>0>n>>>0?t:n,s[e+12>>2]||(t=Ot(1),s[e+16>>2]=t,s[e+12>>2]=t),(t=(t=r+16|0)?H(t):0)&&(s[t+4>>2]=0,s[t>>2]=r,s[t+8>>2]=s[e>>2],s[e>>2]=t),!t)break e;t=s[e>>2],o=n+(r=s[t+4>>2])|0}s[t+4>>2]=o,i=16+(t+r|0)|0}return i}function be(e,t,r,n,o,a,c){var u,f=0,d=0;if(x=u=x-16|0,(-1^t)-17>>>0>=r>>>0)return f=Dr(e),t>>>0<2147483623?(s[u+8>>2]=t<<1,s[u+12>>2]=t+r,r=Ft(s[qt(u+12|0,u+8|0)>>2])):r=-18,r=Ot(d=r+1|0),a&&on(r,c,a),(n=n-o|0)&&on(r+a|0,o+f|0,n),10!=(0|t)&&B(f),Yn(e,r),Lr(e,d),Xn(t=e,e=n+a|0),i[u+7|0]=0,Nn(e+r|0,u+7|0),void(x=u+16|0);ro(),D()}function he(e,t,r){var n,o=0,i=0,a=0,c=0;x=n=x-16|0,a=t;e:if(!((0|r)<=0|(0|t)<=(0|r)||(i=1,s[e+544>>2]<=0||(0|(o=s[sr(c=e+576|0,0)>>2]))>(0|r))))for(;;){if(a=o,s[e+544>>2]<=(0|i))break e;if(o=sr(c,i),i=i+1|0,!((0|(o=s[o>>2]))<=(0|r)))break}return s[n+8>>2]=a,s[n+4>>2]=r,s[n>>2]=t,ae(e,3932,n),x=n+16|0,a}function Oe(e,t,r,n){i[e+53|0]=1;e:if(s[e+4>>2]==(0|r)){i[e+52|0]=1;t:{if(!(r=s[e+16>>2])){if(s[e+36>>2]=1,s[e+24>>2]=n,s[e+16>>2]=t,1!=(0|n))break e;if(1==s[e+48>>2])break t;break e}if((0|t)==(0|r)){if(2==(0|(r=s[e+24>>2]))&&(s[e+24>>2]=n,r=n),1!=s[e+48>>2])break e;if(1==(0|r))break t;break e}s[e+36>>2]=s[e+36>>2]+1}i[e+54|0]=1}}function Ae(e){var t=0,r=0;(s[e+16>>2]-s[e+12>>2]|0)<24&&(s[e+8>>2]?t=((t=_r(e))+1>>>1|0)+t|0:(s[e>>2]||(t=Ot(1),s[e+4>>2]=t,s[e>>2]=t),t=s[e+20>>2]),Z(e,t>>>0<(r=Sr(e)+24|0)>>>0?r:t));e:{t:{if(t=s[e+12>>2]){if((s[e+16>>2]-t|0)<24)break t;s[e+12>>2]=t+24;break e}v(2238,1552,130,2084),D()}v(2428,1552,131,2084),D()}return t}function ge(e,t){var r,n,o;return x=o=(x=n=(x=r=x-16|0)-16|0)-32|0,Rt(o,t),K(n,e,Fe(o+8|0,o)),x=o+32|0,s[(t=n+8|0)>>2]=s[n>>2],x=n+16|0,s[r+8>>2]=s[t>>2],x=t=x-16|0,sn(e)||(v(2566,1469,1243,2102),D()),e=s[rn(t+8|0,s[e+8>>2]+O(s[e>>2],48)|0)>>2],x=t+16|0,s[r>>2]=e,e=Jr(r+8|0,r),x=r+16|0,e}function me(e,t,r){for(var n=0,o=0,i=0;;){e:{n=(o=Tn(t))+(n<<4)|0;t:if((o-48&255)>>>0<=9)n=n-48|0;else if((o-65&255)>>>0<=5)n=n-55|0;else if((o-97&255)>>>0<=5)n=n-87|0;else{if(!Dn(e)){if(gn(e,8,r),!Dn(e))break t;n=0;break e}v(2577,1526,919,2308),D()}if(pr(t),4!=(0|(i=i+1|0)))continue}break}return n}function ye(e,t,r){var n=0,o=0,i=0;n=En(e),o=Wn(e);e:{if(n){t:{for(;;){r:{if(zr(r,i=n+16|0)){if(!s[n>>2])break e}else{if(!zr(i,r))break t;if(o=n+4|0,!s[n+4>>2])break r;n=o}o=n,n=s[n>>2];continue}break}return s[t>>2]=n,o}return s[t>>2]=n,o}n=Wn(e)}return s[t>>2]=n,n}function we(e){var t=0,r=0,n=0;e:{if(3&(t=e))for(;;){if(!l[0|t])break e;if(!(3&(t=t+1|0)))break}for(;r=t,t=t+4|0,!((-1^(n=s[r>>2]))&n-16843009&-2139062144););if(!(255&n))return r-e|0;for(;n=l[r+1|0],r=t=r+1|0,n;);}return t-e|0}function Te(e,t){var r=0,n=0;if(s[e+4>>2]!=s[Ln(e)>>2])return x=n=x-16|0,r=or(n,e),pn(Ln(e),s[r+4>>2],t),s[r+4>>2]=s[r+4>>2]+8,Vr(r),void(x=n+16|0);x=n=x-32|0,r=Ln(e),r=je(n+8|0,ke(e,Fr(e)+1|0),Fr(e),r),pn(0,s[r+8>>2],t),s[r+8>>2]=s[r+8>>2]+8,at(e,r),tt(r),x=n+32|0}function De(e,t,r){var n=0;if(!r)return s[e+4>>2]==s[t+4>>2];if((0|e)==(0|t))return 1;r=s[e+4>>2],e=l[0|r],t=s[t+4>>2];e:if(!(!e|(0|(n=l[0|t]))!=(0|e)))for(;;){if(n=l[t+1|0],!(e=l[r+1|0]))break e;if(t=t+1|0,r=r+1|0,(0|e)!=(0|n))break}return(0|e)==(0|n)}function ke(e,t){var r,n,o=0;if(x=r=x-16|0,s[r+12>>2]=t,x=n=x-16|0,s[n+12>>2]=536870911,s[n+8>>2]=2147483647,o=s[zt(n+12|0,n+8|0)>>2],x=n+16|0,t>>>0<=o>>>0)return(e=Rr(e))>>>0<o>>>1>>>0&&(s[r+8>>2]=e<<1,o=s[qt(r+8|0,r+12|0)>>2]),x=r+16|0,o;zn(),D()}function ve(e,t){var r,n,o,a=0,s=0;return x=o=x-16|0,r=we(t),x=n=x-16|0,r>>>0<=4294967279?(r>>>0<=10?(Cn(e,r),a=e):(Yn(e,a=Ot(s=Ft(r)+1|0)),Lr(e,s),Xn(e,r)),on(a,t,r),i[n+15|0]=0,Nn(r+a|0,n+15|0),x=n+16|0):(ro(),D()),x=o+16|0,e}function _e(e,t,r){var n=0,o=0,a=0;if(t)for(;o=Ue(n=q(e,t,10),a=C,10,0),i[0|(r=r-1|0)]=e-o|48,o=t>>>0>9,e=n,t=a,o;);else n=e;if(n)for(;e=(n>>>0)/10|0,i[0|(r=r-1|0)]=n-O(e,10)|48,t=n>>>0>9,n=e,t;);return r}function Re(e){var t,r,n=0,o=0,i=0,a=0,s=0,c=0,u=0;if(!((0|(r=Fr(t=e+644|0)))<=1)){for(e=n=r-1|0;o=e-1|0,i=+(0|e),a=(h[Hr(t,e)>>3]-h[Hr(t,o)>>3])*i+a,s+=i,c=e>>>0>1,e=o,c;);(0|r)<=1||(u=a/(s*+(0|n)))}return u}function Me(e,t){var r=0,n=0,o=0;return r=e+32|0,n=O(t,48),Sr(r)>>>0<n>>>0&&(v(2525,1552,139,1210),D()),n=s[r+12>>2]-n|0,s[r+12>>2]=n,r=xt(r),e=cr(e),a[r+18>>1]=3,t?(Bn(r,o=Ee(o=e,e=O(t,48))),z(o,n,e)):Bn(r,0),s[r>>2]=t,s[r+4>>2]=t,1}function Pe(e,t){var r,n,o=0;r=we(t),x=n=x-16|0,(o=$r(e)?jr(e)-1|0:10)>>>0>=r>>>0?(o=Dr(e),r&&te(o,t,r),i[n+15|0]=0,Nn(r+o|0,n+15|0),$r(e)?Xn(e,r):Cn(e,r)):be(e,o,r-o|0,e=Er(e),e,r,t),x=n+16|0}function Se(e,t){var r,n,o=0;if(d(+e),r=0|c(1),n=0|c(0),2047!=(0|(o=r>>>20&2047))){if(!o)return 0==e?o=0:(e=Se(0x10000000000000000*e,t),o=s[t>>2]+-64|0),s[t>>2]=o,e;s[t>>2]=o-1022,u(0,0|n),u(1,-2146435073&r|1071644672),e=+f()}return e}function je(e,t,r,n){var o,i,a,c=0;return x=o=x-16|0,s[o+12>>2]=0,dn(e+12|0,n),t&&(t>>>0>536870911&&(Ge(1796),D()),c=Ot(t<<3)),s[e>>2]=c,r=(r<<3)+c|0,s[e+8>>2]=r,s[e+4>>2]=r,i=Gn(e),a=(t<<3)+c|0,s[i>>2]=a,x=o+16|0,e}function Fe(e,t){var r,n;return x=n=x-16|0,s[e>>2]=0,s[e+4>>2]=0,s[e+16>>2]=0,s[e+20>>2]=0,s[e+8>>2]=0,s[e+12>>2]=0,s[(r=n+8|0)>>2]=s[t>>2],s[r+4>>2]=s[t+4>>2],a[e+18>>1]=1029,Bn(e,s[r>>2]),s[e>>2]=s[r+4>>2],x=n+16|0,e}function Ie(e){var t,r=0,n=0;if(t=s[e+28>>2]){e:if(r=s[t>>2]){for(;;){if(s[t+8>>2]!=(0|r)){if(n=s[r+8>>2],B(r),s[t>>2]=n,r=n)continue;break e}break}s[r+4>>2]=0}(r=s[t+16>>2])&&B(r),B(t)}Ar(e+32|0)}function Ne(e){var t=0,r=0,n=0;if(!An(i[s[e>>2]]))return 0;for(;n=s[e>>2],t=-1,r>>>0<=214748364&&(t=i[0|n]-48|0,t=(2147483647-(r=O(r,10))|0)<(0|t)?-1:t+r|0),s[e>>2]=n+1,r=t,An(i[n+1|0]););return t}function Ue(e,t,r,n){var o,i,a,s,c=0,u=0;return s=O(c=r>>>16|0,u=e>>>16|0),c=(65535&(u=((a=O(o=65535&r,i=65535&e))>>>16|0)+O(u,o)|0))+O(c,i)|0,C=(O(t,r)+s|0)+O(e,n)+(u>>>16)+(c>>>16)|0,65535&a|c<<16}function xe(e,t,r){var n;if(!(n=s[e+16>>2]))return s[e+36>>2]=1,s[e+24>>2]=r,void(s[e+16>>2]=t);e:{if((0|t)==(0|n)){if(2!=s[e+24>>2])break e;return void(s[e+24>>2]=r)}i[e+54|0]=1,s[e+24>>2]=2,s[e+36>>2]=s[e+36>>2]+1}}function Xe(e,t,r){var n,o=0;o=zr(t,e),n=zr(r,t);e:{if(o){if(n)return vt(e,r),1;if(vt(e,t),o=1,!zr(r,t))break e;vt(t,r)}else{if(o=0,!n)break e;if(vt(t,r),o=1,!zr(t,e))break e;vt(e,t)}o=2}return o}function Ce(e){var t=0;return It(e),s[e+28>>2]=0,s[e+24>>2]=0,jt(e+32|0,0,1024),en(e+56|0),s[e+24>>2]||(t=Ot(20),s[t+16>>2]=0,s[t+12>>2]=0,s[t+8>>2]=0,s[t+4>>2]=65536,s[t>>2]=0,s[e+28>>2]=t,s[e+24>>2]=t),e}function He(e,t){var r,n,o;return x=r=x-32|0,Rt(r,t),o=Fe(r+8|0,r),x=t=x-16|0,K(n=t+8|0,e,o),Nt(t,e),Jr(n,t)?(x=t+16|0,e=s[t+8>>2]+24|0):(v(1981,1469,1218,2248),D()),x=r+32|0,e}function Qe(e,t,r,n,o){var i;if(x=i=x-256|0,!(73728&o|(0|r)<=(0|n))){if(re(i,255&t,(n=(r=r-n|0)>>>0<256)?r:256),!n)for(;le(e,i,256),(r=r-256|0)>>>0>255;);le(e,i,r)}x=i+256|0}function Ge(e){var t,r,n,o,i;t=0|_(8),s[t>>2]=8588,s[t>>2]=8632,n=Ot((r=we(e))+13|0),s[n+8>>2]=0,s[n+4>>2]=r,s[n>>2]=r,o=t,i=z(n+12|0,e,r+1|0),s[o+4>>2]=i,s[t>>2]=8680,R(0|t,8712,2),D()}function Be(){var e,t,r=0,n=0;return x=r=x-16|0,k(r+8|0,0),n=s[r+12>>2],x=r+16|0,r=Ue(r=s[r+8>>2],r>>31,1e3,0),t=C,n=r+(e=q(n,n>>31,1e3))|0,r=C+t|0,C=r=n>>>0<e>>>0?r+1|0:r,n}function We(e){var t=0;return t=s[e+72>>2],s[e+72>>2]=t-1|t,8&(t=s[e>>2])?(s[e>>2]=32|t,-1):(s[e+4>>2]=0,s[e+8>>2]=0,t=s[e+44>>2],s[e+28>>2]=t,s[e+20>>2]=t,s[e+16>>2]=t+s[e+48>>2],0)}function Le(e,t){if(s[e>>2]=0,s[e+4>>2]=0,s[e+16>>2]=0,s[e+20>>2]=0,s[e+8>>2]=0,s[e+12>>2]=0,t>>>0<7)return a[e+18>>1]=p[5378+(t<<1)>>1],void(5==(0|t)&&In(e,0));v(2022,1469,714,1879),D()}function Ze(e){var t=0,r=0;e&&(s[e+20>>2]!=s[e+28>>2]&&io[s[e+36>>2]](e,0,0),(0|(t=s[e+4>>2]))!=(0|(r=s[e+8>>2]))&&(t=t-r|0,io[s[e+40>>2]](e,t,t>>31,1)))}function Ve(e,t){var r,n,o,i;x=r=x-16|0,s[r+8>>2]=t,o=r,i=mn(e),s[o>>2]=i,n=hr(8+(t=s[e>>2]+(s[r+8>>2]-s[r>>2]>>3<<3)|0)|0,s[e+4>>2],t),Fr(e),At(e,n),Vn(e),Zt(t),x=r+16|0}function Ye(e,t,r,n,o){var i=0;if(i=ot(e,t,r,n),zr(o,n)){if(vt(n,o),!zr(n,r))return i+1|0;if(vt(r,n),!zr(r,t))return i+2|0;if(vt(t,r),!zr(t,e))return i+3|0;vt(e,t),i=i+4|0}return i}function Je(e,t){var r;if(x=r=x-16|0,s[r+12>>2]=t,t>>>0<=(t=lt(e))>>>0)return(e=Mr(e))>>>0<t>>>1>>>0&&(s[r+8>>2]=e<<1,t=s[qt(r+8|0,r+12|0)>>2]),x=r+16|0,t;zn(),D()}function ze(e,t){var r,n=0,o=0;return r=ht(n=e+32|0,t),n=xt(n),e=cr(e),a[n+18>>1]=4,t?(Bn(n,o=Ee(o=e,e=O(t,24))),z(o,r,e)):Bn(n,0),s[n>>2]=t,s[n+4>>2]=t,1}function qe(e){var t,r;return(e=(t=s[2225])+(r=e+3&-4)|0)>>>0<=t>>>0&&r||e>>>0>ao()<<16>>>0&&!(0|S(0|e))?(s[2744]=48,-1):(s[2225]=e,t)}function Ke(e){var t,r=0;t=s[e>>2],r=s[t+4>>2],s[e>>2]=r,r&&Bn(r,e),s[t+8>>2]=s[e+8>>2],r=Pr(e)?s[e+8>>2]:s[e+8>>2]+4|0,s[r>>2]=t,s[t+4>>2]=e,Bn(e,t)}function $e(e){var t,r=0;t=s[e+4>>2],r=s[t>>2],s[e+4>>2]=r,r&&Bn(r,e),s[t+8>>2]=s[e+8>>2],r=Pr(e)?s[e+8>>2]:s[e+8>>2]+4|0,s[r>>2]=t,s[t>>2]=e,Bn(e,t)}function et(e,t){var r,n,o=0;x=r=x-32|0,n=o=Ln(e),o=je(r+8|0,ke(e,Fr(e)+1|0),Fr(e),o),br(n,s[o+8>>2],t),s[o+8>>2]=s[o+8>>2]+8,at(e,o),tt(o),x=r+32|0}function tt(e){var t=0;if((0|(t=s[e+4>>2]))!=s[e+8>>2])for(;s[e+8>>2]=s[e+8>>2]-8,(0|t)!=s[e+8>>2];);s[e>>2]&&B(t=s[e>>2])}function rt(e){var t,r,n,o;x=t=(x=r=x-16|0)-16|0,s[e+4>>2]=0,s[t+12>>2]=0,yn(e+8|0,t+12|0),n=e,o=Wn(e),s[n>>2]=o,x=t+16|0,x=r+16|0}function nt(e){var t,r=0;for(x=t=x-16|0,e=Mt(t,e);!((r=(255&Tn(e))-9|0)>>>0>23|!(1<<r&8388627));)pr(e);Bt(e),x=t+16|0}function ot(e,t,r,n){var o=0;if(o=Xe(e,t,r),zr(n,r)){if(vt(r,n),!zr(r,t))return o+1|0;if(vt(t,r),!zr(t,e))return o+2|0;vt(e,t),o=o+3|0}return o}function it(e,t){var r;if(Ir(r=e+576|0))for(e=0;;){if(s[sr(r,e)>>2]==(0|t))return e;if(e=e+1|0,!(Ir(r)>>>0>e>>>0))break}return 0}function at(e,t){var r;kn(e),r=t+4|0,tr(Ln(e),s[e>>2],s[e+4>>2],r),vt(e,r),vt(e+4|0,t+8|0),vt(Ln(e),Gn(t)),s[t>>2]=s[t+4>>2],Fr(e),Rr(e),Rr(e)}function st(e,t,r,n){var o;x=o=x-16|0,n=Ht(o,e,n),(0|(e=r-t|0))>0&&(z(s[n+4>>2],t,e),s[n+4>>2]=e+s[n+4>>2]),Vr(n),x=o+16|0}function ct(e,t){e:{if(an(e)){if(E[e>>2]<=t>>>0)break e;return s[e+8>>2]+O(t,24)|0}v(2556,1469,1668,2248),D()}v(1775,1469,1669,2248),D()}function ut(e,t){var r,n,o;lt(e)>>>0<t>>>0&&(zn(),D()),r=dr(Ln(e),t),s[e>>2]=r,s[e+4>>2]=r,n=Ln(e),o=(t<<2)+r|0,s[n>>2]=o,xn(e)}function ft(e,t){var r;return Ir(r=e+576|0)?(e=s[e+544>>2]<=(0|t)?Ir(r)-1|0:(0|t)>0?t:0,s[Yr(r,e)>>2]):0}function dt(e){var t;s[e+4>>2],t=s[e>>2],s[e+4>>2]=t}function lt(e){var t;return x=t=x-16|0,s[t+12>>2]=1073741823,s[t+8>>2]=2147483647,e=s[zt(t+12|0,t+8|0)>>2],x=t+16|0,e}function pt(e,t){return e=Ae(e+32|0),s[e+16>>2]=0,s[e+20>>2]=0,s[e>>2]=0,s[e+4>>2]=0,s[e+8>>2]=0,s[e+12>>2]=0,a[e+18>>1]=t?10:9,1}function Et(e){var t,r;return x=r=(x=t=x-16|0)-16|0,e=s[rn(r+8|0,Wn(e))>>2],x=r+16|0,e=s[rn(t+8|0,e)>>2],x=t+16|0,e}function bt(e,t,r){var n;return x=n=x-16|0,s[n+12>>2]=t,yn(e,n+12|0),t=s[r+4>>2],s[e+4>>2]=s[r>>2],s[e+8>>2]=t,x=n+16|0,e}function ht(e,t){var r;return t=O(t,24),Sr(e)>>>0<t>>>0&&(v(2525,1552,139,1210),D()),r=e,e=s[e+12>>2]-t|0,s[r+12>>2]=e,e}function Ot(e){var t=0;e=e||1;e:{for(;;){if(t=H(e))break e;if(!(t=s[3172]))break;io[0|t]()}I(),D()}return t}function At(e,t){s[e+4>>2],s[e+4>>2]=t}function gt(e,t){s[e+4>>2],s[e+4>>2]=t}function mt(e){var t,r;return s[(e|=0)>>2]=8632,t=s[e+4>>2]-12|0,r=s[t+8>>2]-1|0,s[t+8>>2]=r,(0|r)<0&&B(t),0|e}function yt(e,t){var r,n;x=n=x-16|0,r=or(n,e),br(Ln(e),s[r+4>>2],t),s[r+4>>2]=s[r+4>>2]+8,Vr(r),x=n+16|0}function wt(e,t){var r;return x=r=x-16|0,s[r+8>>2]=s[e>>2],s[r>>2]=s[t>>2],e=Jr(r+8|0,r),x=r+16|0,e}function Tt(e){if(Qr(e))return 16&l[e+19|0]?17-i[e+17|0]|0:s[e>>2];v(2625,1469,1857,1443),D()}function Dt(e){var t=0,r=0;Wt(e,En(e)),t=Ln(e),r=0,s[t>>2]=r,t=e,r=Wn(e),s[t>>2]=r,t=Wn(e),r=0,s[t>>2]=r}function kt(e){var t=0,r=0;Lt(e,En(e)),t=Ln(e),r=0,s[t>>2]=r,t=e,r=Wn(e),s[t>>2]=r,t=Wn(e),r=0,s[t>>2]=r}function vt(e,t){var r;x=r=x-16|0,s[r+12>>2]=s[e>>2],s[e>>2]=s[t>>2],s[t>>2]=s[r+12>>2],x=r+16|0}function _t(e){var t;return x=t=x-16|0,s[e>>2]=0,s[e+4>>2]=0,s[t+12>>2]=0,$n(e+8|0),x=t+16|0,e}function Rt(e,t){var r,n;s[e>>2]=t,t||(v(2337,1469,413,1362),D()),r=e,n=we(t),s[r+4>>2]=n}function Mt(e,t){var r,n;return r=s[t+4>>2],n=s[t>>2],s[e+8>>2]=t,s[e>>2]=n,s[e+4>>2]=r,e}function Pt(e){if(Qr(e))return 16&l[e+19|0]||(e=s[e+8>>2]),e;v(2625,1469,1852,1620),D()}function St(e,t){if((0|t)>=-308){if((0|t)>=0)return Gt(t)*e;e/=Gt(0-t|0)}else e=0;return e}function jt(e,t,r){s[e+4>>2]=0,s[e+8>>2]=0,s[e>>2]=t,s[e+20>>2]=r,s[e+12>>2]=0,s[e+16>>2]=0}function Ft(e){var t=0;return e=e>>>0>=11?11==(0|(e=(t=e+16&-16)-1|0))?t:e:10}function It(e){s[e>>2]=0,s[e+4>>2]=0,s[e+16>>2]=0,s[e+20>>2]=0,s[e+8>>2]=0,s[e+12>>2]=0}function Nt(e,t){sn(t)||(v(2566,1469,1249,2102),D()),rn(e,s[t+8>>2]+O(s[t>>2],48)|0)}function Ut(e){var t;x=t=x-16|0,s[e>>2]=0,s[e+4>>2]=0,s[e+8>>2]=0,x=t+16|0}function xt(e){return Sr(e)>>>0<=23&&(v(2502,1552,146,1206),D()),s[e+12>>2]-24|0}function Xt(e){var t;return x=t=x-16|0,e=s[rn(t+8|0,mn(e))>>2],x=t+16|0,e}function Ct(e){var t;return x=t=x-16|0,e=s[rn(t+8|0,nn(e))>>2],x=t+16|0,e}function Ht(e,t,r){return s[e>>2]=t,t=s[t+4>>2],s[e+4>>2]=t,s[e+8>>2]=t+(r<<2),e}function Qt(e){return s[e+12>>2]=0,s[e+4>>2]=9928,s[e>>2]=9928,s[e+8>>2]=9929,e}function Gt(e){return e>>>0>=309&&(v(2289,1586,48,2318),D()),h[5392+(e<<3)>>3]}function Bt(e){var t,r;r=s[e+4>>2],t=s[e+8>>2],s[t>>2]=s[e>>2],s[t+4>>2]=r}function Wt(e,t){t&&(Wt(e,s[t>>2]),Wt(e,s[t+4>>2]),eo(t+16|0),B(t))}function Lt(e,t){t&&(Lt(e,s[t>>2]),Lt(e,s[t+4>>2]),Kn(t+16|0),B(t))}function Zt(e){var t;return x=t=x-16|0,e=s[rn(t+8|0,e)>>2],x=t+16|0,e}function Vt(e){var t;return x=t=x-16|0,Yn(t+8|0,e),x=t+16|0,s[t+8>>2]}function Yt(e){var t;return x=t=x-16|0,s[t+8>>2]=e,x=t+16|0,s[t+8>>2]}function Jt(e){return 32&l[e+18|0]||(v(1642,1469,1816,1114),D()),s[e>>2]}function zt(e,t){var r,n;return x=r=x-16|0,n=qr(t,e),x=r+16|0,n?t:e}function qt(e,t){var r,n;return x=r=x-16|0,n=qr(e,t),x=r+16|0,n?t:e}function Kt(e){var t;return(-1>>>(t=31&e)&-2)<<t|(-1<<(e=0-e&31)&-2)>>>e}function $t(e){var t=0;kn(e),s[e>>2]&&(Hn(e),t=s[e>>2],Rr(e),B(t))}function er(e){var t=0;vn(e),s[e>>2]&&(Qn(e),t=s[e>>2],Mr(e),B(t))}function tr(e,t,r,n){e=r-t|0,r=s[n>>2]-e|0,s[n>>2]=r,(0|e)>0&&z(r,t,e)}function rr(e,t){var r;return(0|(r=hn(e)))==(0|t)&&bn(e),(0|t)==(0|r)}function nr(e,t){var r;return(0|(r=Tn(e)))==(0|t)&&pr(e),(0|t)==(0|r)}function or(e,t){return s[e>>2]=t,t=s[t+4>>2],s[e+4>>2]=t,s[e+8>>2]=t+8,e}function ir(e,t){var r;x=r=x-16|0,V(Yt(e),Yt(t),r+8|0),x=r+16|0}function ar(e,t,r){1==s[e+28>>2]|s[e+4>>2]!=(0|t)||(s[e+28>>2]=r)}function sr(e,t){return Ir(e)>>>0<=t>>>0&&(to(),D()),s[e>>2]+(t<<2)|0}function cr(e){return(e=s[e+24>>2])||(v(2227,1469,2492,1153),D()),e}function ur(e){return an(e)||(v(2556,1469,1642,1864),D()),s[e>>2]}function fr(e,t){s[e+4>>2]==s[Ln(e)>>2]?et(e,t):yt(e,t)}function dr(e,t){return t>>>0>1073741823&&(Ge(1796),D()),Ot(t<<2)}function lr(e,t){E[e+4>>2]<E[Ln(e)>>2]?yt(e,t):et(e,t)}function pr(e){var t;return t=e,e=s[e>>2],s[t>>2]=e+1,i[0|e]}function Er(e){return $r(e)?s[e+4>>2]:l[e+11|0]}function br(e,t,r){e=s[r+4>>2],s[t>>2]=s[r>>2],s[t+4>>2]=e}function hr(e,t,r){return(t=t-e|0)&&te(r,e,t),t+r|0}function Or(e){var t=0;$r(e)&&(t=s[e>>2],jr(e),B(t))}function Ar(e){B(s[e+8>>2]),(e=s[e+4>>2])&&B(e)}function gr(e){var t;return t=s[e>>2],s[e>>2]=0,t}function mr(e,t,r){s[e>>2]=s[t>>2],i[e+4|0]=l[0|r]}function yr(e){return(s[Ln(e)>>2]-s[e>>2]|0)/48|0}function wr(e){return kr(e)||(to(),D()),s[e>>2]}function Tr(e){return e?(s[2744]=e,-1):0}function Dr(e){return $r(e)?s[e>>2]:e}function kr(e){return(s[e+4>>2]-s[e>>2]|0)/48|0}function vr(e,t){return i[e+4|0]=0,s[e>>2]=t,e}function _r(e){return s[e+16>>2]-s[e+8>>2]|0}function Rr(e){return s[Ln(e)>>2]-s[e>>2]>>3}function Mr(e){return s[Ln(e)>>2]-s[e>>2]>>2}function Pr(e){return s[s[e+8>>2]>>2]==(0|e)}function Sr(e){return s[e+12>>2]-s[e+8>>2]|0}function jr(e){return 2147483647&s[e+8>>2]}function Fr(e){return s[e+4>>2]-s[e>>2]>>3}function Ir(e){return s[e+4>>2]-s[e>>2]>>2}function Nr(e,t){return s[e>>2]=s[t>>2],e}function Ur(e){return s[e>>2]-s[e+4>>2]|0}function xr(e){return s[e>>2]=s[e>>2]+8,e}function Xr(e){return s[e>>2]=s[e>>2]-4,e}function Cr(e){return s[e>>2]=s[e>>2]-8,e}function Hr(e,t){return s[e>>2]+(t<<3)|0}function Qr(e){return(4&l[e+19|0])>>>2|0}function Gr(e,t,r){s[e+4>>2]=r,s[e>>2]=t}function Br(e){return 0!=s[(e|=0)>>2]|0}function Wr(e){return Ut(e),Ut(e+24|0),e}function Lr(e,t){s[e+8>>2]=-2147483648|t}function Zr(e){return Ut(e),Ut(e+32|0),e}function Vr(e){s[s[e>>2]+4>>2]=s[e+4>>2]}function Yr(e,t){return s[e>>2]+(t<<2)|0}function Jr(e,t){return s[e>>2]!=s[t>>2]}function zr(e,t){return s[e>>2]<s[t>>2]}function qr(e,t){return E[e>>2]<E[t>>2]}function Kr(e){kr(e),dt(e),yr(e),kr(e)}function $r(e){return l[e+11|0]>>>7|0}function en(e){s[e>>2]=0,s[e+4>>2]=0}function tn(e,t){Ir(e),gt(e,t),Jn(e)}function rn(e,t){return s[e>>2]=t,e}function nn(e){return Zt(s[e+4>>2])}function on(e,t,r){r&&z(e,t,r)}function an(e){return 4==p[e+18>>1]}function sn(e){return 3==p[e+18>>1]}function cn(e){s[e+12>>2]=s[e+8>>2]}function un(e){return s[e>>2]+16|0}function fn(e,t,r){s[t>>2]=s[r>>2]}function dn(e,t){$n(e),Yn(e+4|0,t)}function ln(e){return _t(e+24|0),e}function pn(e,t,r){h[t>>3]=h[r>>3]}function En(e){return s[Wn(e)>>2]}function bn(e){return pr(s[e>>2])}function hn(e){return Tn(s[e>>2])}function On(e){return Ur(s[e>>2])}function An(e){return e-48>>>0<10}function gn(e,t,r){Gr(e+24|0,t,r)}function mn(e){return Zt(s[e>>2])}function yn(e,t){s[e>>2]=s[t>>2]}function wn(e){yr(e),kr(e),yr(e)}function Tn(e){return i[s[e>>2]]}function Dn(e){return Br(e+24|0)}function kn(e){Rr(e),Fr(e),Rr(e)}function vn(e){Mr(e),Ir(e),Mr(e)}function _n(e){return Br(e+56|0)}function Rn(e){Fr(e),Hn(e),Vn(e)}function Mn(e){Ir(e),Qn(e),Jn(e)}function Pn(e){Or(e+24|0),Or(e)}function Sn(e){Or(e+32|0),Or(e)}function jn(e,t){return He(e,t)}function Fn(e){return 0|(e|=0)}function In(e,t){i[e+17|0]=17-t}function Nn(e,t){i[0|e]=l[0|t]}function Un(e,t,r){z(t,r,48)}function xn(e,t){Mr(e),Mr(e)}function Xn(e,t){s[e+4>>2]=t}function Cn(e,t){i[e+11|0]=t}function Hn(e){At(e,s[e>>2])}function Qn(e){gt(e,s[e>>2])}function Gn(e){return e+12|0}function Bn(e,t){s[e+8>>2]=t}function Wn(e){return e+4|0}function Ln(e){return e+8|0}function Zn(e){B(e|=0)}function Vn(e){Rr(e),Fr(e)}function Yn(e,t){s[e>>2]=t}function Jn(e){Mr(e),Ir(e)}function zn(){Ge(1146),D()}function qn(e){er(e+24|0)}function Kn(e){Sn(e+4|0)}function $n(e){s[e>>2]=0}function eo(e){Pn(e+4|0)}function to(){ro(),D()}function ro(){I(),D()}function no(e){}o(t=l,1024,"UGFyc2VBcnJheQAtKyAgIDBYMHgALTBYKzBYIDBYLTB4KzB4IDB4AHN0ciAhPSAwIHx8IGxlbiA9PSAwdQBBbGdvcml0aG1CQUJCd2l0aFN0YWxsRXZlbnQAR2V0SW50AGhlaWdodABQYXJzZU9iamVjdABpdGVtcwB2ZWN0b3IAR2V0QWxsb2NhdG9yAFBhcnNlTnVtYmVyAEZpbmRNZW1iZXIAQWxnb3JpdGhtU3RhcnR1cABUb3AAUG9wAHN0YXRlX2luZm8Ac3RkOjpleGNlcHRpb24AX19jeGFfZ3VhcmRfYWNxdWlyZSBkZXRlY3RlZCByZWN1cnNpdmUgaW5pdGlhbGl6YXRpb24Adl9hZGFwdGF0aW9uAGFfYWRhcHRhdGlvbgBzZWdtZW50X2R1cmF0aW9uAHNldF9kdXJhdGlvbgBNZW1iZXJCZWdpbgBOb3ROdWxsU3RyTGVuAG5hbgBpdGVtX251bQBQYXJzZVN0cmluZ1RvU3RyZWFtAFBhcnNlU3RyZWFtAFBhcnNlTnVsbABTdHJpbmdFcXVhbABHZXRTdHJpbmdMZW5ndGgAYmFuZHdpZHRoAC4vbGlicy9yYXBpZGpzb24vZG9jdW1lbnQuaAAuL2xpYnMvcmFwaWRqc29uL2VuY29kaW5ncy5oAC4vbGlicy9yYXBpZGpzb24vcmVhZGVyLmgALi9saWJzL3JhcGlkanNvbi9pbnRlcm5hbC9zdGFjay5oAC4vbGlicy9yYXBpZGpzb24vaW50ZXJuYWwvcG93MTAuaABHZXRTdHJpbmcAUGFyc2VTdHJpbmcAZGF0YV8uZi5mbGFncyAmIGtJbnRGbGFnAGluZgBHZW5lcmljU3RyaW5nUmVmAHNldF9zaXplAGNvbnRlbnRfdG90YWxfc2l6ZQBjdXJyZW50X2NvbnRlbnRfZG93bmxvYWRfc2l6ZQBjdXJyZW50X2hlYWRlcl9kb3dubG9hZF9zaXplAGluZGV4IDwgZGF0YV8uYS5zaXplAGFsbG9jYXRvcjxUPjo6YWxsb2NhdGUoc2l6ZV90IG4pICduJyBleGNlZWRzIG1heGltdW0gc3VwcG9ydGVkIHNpemUAU2l6ZQBQYXJzZVRydWUAR2VuZXJpY1ZhbHVlAGNvbnRlbnRfZG93bmxvYWRfc3RhdGUAaGVhZGVyX2Rvd25sb2FkX3N0YXRlAHN0cmVhbV9iaXRyYXRlAGZyYW1lX3JhdGUAc2FtcGxlX3JhdGUAUGFyc2UAZmFsc2UAUGFyc2VGYWxzZQBwcmVsb2FkX3R5cGUAbWVkaWFfdHlwZQB0eXBlID49IGtOdWxsVHlwZSAmJiB0eXBlIDw9IGtOdW1iZXJUeXBlAHN0YXJ0X3RpbWUAR2V0RG91YmxlAFB1c2hVbnNhZmUARW5jb2RlAE1lbWJlckVuZABzdHJlYW1faWQAW1NlbGVjdG9yTG9nXSBbJXNdIGNoYW5nZSBxdWFsaXR5IGZyb20gJWQgLT4gJWQAW1NlbGVjdG9yTG9nXSBbJXNdIG1heCBiaXRyYXRlIGxpbWl0IGZyb20gJWQgLT4gJWQAY29kZWMAYWxsb2NhdG9yXwBzdGFja1RvcF8Ab3BlcmF0b3JbXQBOQU4ASU5GAGNvZGVwb2ludCA8PSAweDEwRkZGRgBuID49IDAgJiYgbiA8PSAzMDgAUGFyc2VIZXg0AFBvdzEwAGV4cEZyYWMgPD0gMABzdHIgIT0gMAAoZGF0YV8uZi5mbGFncyAmIGtVaW50NjRGbGFnKSAhPSAwAC4AKG51bGwpAHN0YWNrXy5HZXRTaXplKCkgPT0gc2l6ZW9mKFZhbHVlVHlwZSkAc3RhdGljX2Nhc3Q8c3RkOjpwdHJkaWZmX3Q+KHNpemVvZihUKSAqIGNvdW50KSA8PSAoc3RhY2tFbmRfIC0gc3RhY2tUb3BfKQBHZXRTaXplKCkgPj0gc2l6ZW9mKFQpAEdldFNpemUoKSA+PSBjb3VudCAqIHNpemVvZihUKQBJc0FycmF5KCkASXNPYmplY3QoKQAhSGFzUGFyc2VFcnJvcigpAElzTnVtYmVyKCkAcmhzLklzU3RyaW5nKCkAbmFtZS5Jc1N0cmluZygpAGlzLlBlZWsoKSA9PSAneycAaXMuUGVlaygpID09ICd0JwBpcy5QZWVrKCkgPT0gJ24nAGlzLlBlZWsoKSA9PSAnZicAaXMuUGVlaygpID09ICdbJwBzLlBlZWsoKSA9PSAnXCInACVkIABbU2VsZWN0b3JMb2ddIFN1cHBvcnQgYml0cmF0ZTogAFtTZWxlY3RvckxvZ10gdmlkZW9fc3RyZWFtIHN0cmVhbV9pZDolcyBzZWdtZW50X2R1cmF0aW9uOiVkIGJhbmR3aWR0aDolZCB3aWR0aDolZCBoZWlnaHQ6JWQgZnJhbWVyYXRlOiUuMmYgY29kZWM6JXMKAFtTZWxlY3RvckxvZ10gYXVkaW9fc3RyZWFtIHN0cmVhbV9pZDolcyBzZWdtZW50X2R1cmF0aW9uOiVkIGJhbmR3aWR0aDolZCBzYW1wbGVfcmF0ZTolZCBjb2RlYzolcwoAW1NlbGVjdG9yTG9nXSBQcmVsb2FkIGluZm8gaXM6ICVzCgBbU2VsZWN0b3JMb2ddIE1QRCBpbmZvIGlzOiAlcwoAW1NlbGVjdG9yTG9nXSBbJXNdIHRocmVzaG9sZCBoaWdoOiUuMmxmIGxvdzolLjJsZiBodXJyeTolLjJsZgoAW1NlbGVjdG9yTG9nXSBkZXZpY2VfaW5mbyBzY3JlZW5fd2lkdGg6JWQgc2NyZWVuX2hlaWdodDolZCBkZXZpY2VfcGl4ZWxfcmF0aW86JS4yZiBzY3JlZW5fZnBzOiUuMmYKAFtTZWxlY3RvckxvZ10gWyVzXSBzdGFydHVwX2luZm8gdGltZTolbGx1IGRvd25sb2FkX3NwZWVkOiVsbGQgcHJlZGljdGVkX2JhbmR3aWR0aDolbGxkIGJpdHJhdGU6JWQgY3VycmVudF9iaXRyYXRlOiVkIGJ1ZmZlcl9sZW5ndGg6JS4yZiBwcmVkaWN0ZWRfZXJyb3I6JS4yZiBtYXhfZXJyb3I6JS4yZiBzZWVrX2FjdGlvbjolZCBwbGF5X3Bvc2l0aW9uOiVsbGQgaGFzX3N0YXJ0OiVkIHN0YXJ0dXBfZGVjaXNpb25fY291bnQ6JWQKAFtTZWxlY3RvckxvZ10gdmlkZW9fbWVkaWFfaW5mbyBzZWdtZW50X2R1cmF0aW9uOiVkIGJpdHJhdGU6JWQgd2lkdGg6JWQgaGVpZ2h0OiVkIGJpdHJhdGVfbGV2ZWxzOiVkCgBbU2VsZWN0b3JMb2ddIFtQcmVsb2FkZXJdIG1ldGhvZDolZCBkb3dubG9hZF9zcGVlZDogJWQsIG1lZGlhX2Zvcm1hdDogJWQgcHJlbG9hZF9iaXRyYXRlOiVkIHByZWxvYWRfZHVyYXRpb246JWQgcHJlbG9hZF9zaXplOiVkIGNvbnNpZGVyX3NjcmVlbjolZAoAW1NlbGVjdG9yTG9nXSBbZmluZE1heEJpdHJhdGU0U2NyZWVuXSBTZXQgQUJSIG1heCBiaXRyYXRlIGZvciBzY3JlZW46JWQKAFtTZWxlY3RvckxvZ10gW3NlZWsgYWN0aW9uXSBub3dfY2hlY2tfdGltZTolbGxkIHNlZWtfYWN0aW9uOiVkIGVuYWJsZV9zZWVrX3N0YWJsZV9tb2RlbDolZAoAW1NlbGVjdG9yTG9nXSBQcmVsb2FkIGluZm8gaXRlbV9udW06JWQsIGl0ZW1zX3NpemU6JWQKAFtTZWxlY3RvckxvZ10gW2FkanVzdEJpdHJhdGVdIEFCUiBwcmVkaWN0IGJpdHJhdGU6JWQgYWRqdXN0IG1heCBiaXRyYXRlOiVkIHRvICVkCgBbU2VsZWN0b3JMb2ddIFtQcmVsb2FkZXJdIG1ldGhvZDolZCBkb3dubG9hZF9zcGVlZDogJWQsIG1lZGlhX2Zvcm1hdDogJWQKAFtTZWxlY3RvckxvZ10gW1ByZWxvYWRlcl0gZG93bmxvYWRfc3BlZWQ6ICVkLCBtZWRpYV9mb3JtYXQ6ICVkCgBbU2VsZWN0b3JMb2ddIFN0YXJ0dXAgdXNlIHByZWxvYWQgaXRlbSBhdCBiaXRyYXRlOiAlZAoAW1NlbGVjdG9yTG9nXSBbJXNdIG5vd19jaGVja190aW1lOiVsbGQsIGJ1ZmZlcl9sZW5ndGg6JS4ybGYvJS4yZiwgcGxheV9zcGVlZDolLjJmLCBjdXJyZW50X2JpdHJhdGU6JWQsIHByZWRpY3RfYml0cmF0ZTolZCwgYmFuZHdpZHRoOiVsbGQsIHByZWRpY3RlZF9iYW5kd2lkdGg6JWxsZCwgc2VnbWVudF9kdXJhdGlvbjolZCwgc3RhbGxfY291bnQ6JWQsIHNlZWtfYWN0aW9uOiVkLCBzZWVrX3N0YXlfdGltZTolLjJmLCBwbGF5X3Bvc2l0aW9uOiVsbGQsIGxhc3Rfc2Vla19jaGVja190aW1lOiVsbGQsIHN0YWxsX2V2ZW50OiVkLCBzdGFsbF9ldmVudF9jb3VudDolZC8lZCwgcW9lX3ZhbHVlOiUuMmYgKCUuMmYgJS4yZiAlLjJmKSAoJWQtPiVkKQoAW1NlbGVjdG9yTG9nXSBbRVJST1JdIFByZWxvYWQgaW5mbyBwYXJzZSBlcnJvciEKAFtTZWxlY3RvckxvZ10gW0VSUk9SXSBObyB2X2FkYXB0YXRpb24gaW4gTVBEIQoAW1NlbGVjdG9yTG9nXSBbRVJST1JdIE5vIGFfYWRhcHRhdGlvbiBpbiBNUEQhCgBbU2VsZWN0b3JMb2ddIFtzZWVrIGFjdGlvbl0gbm93X2NoZWNrX3RpbWU6JWxsZCBsYXN0X3NlZWtfY2hlY2tfdGltZTolbGxkIHNlZWtfYWN0aW9uOiVkIGhhbmcgdXAhISEhCgBbU2VsZWN0b3JMb2ddIFtFUlJPUl0gUHJlbG9hZCBpbmZvIGl0ZW1zIGVycm9yICEhIQoAW1NlbGVjdG9yTG9nXSBbRVJST1JdIFByZWxvYWQgaW5mbyBzdGF0ZSBlcnJvciAhISEKAFtTZWxlY3RvckxvZ10gW0VSUk9SXSB2X2FkYXB0YXRpb24gcGFyc2UgZXJyb3IgISEhCgBbU2VsZWN0b3JMb2ddIFtFUlJPUl0gYV9hZGFwdGF0aW9uIHBhcnNlIGVycm9yICEhIQoAW1NlbGVjdG9yTG9nXSBtT3BlbmVkVGltZTogJWxsZCwgbU1ldGhvZDogJWQsIG1CdWZmZXI6ICUuMmxmLyUuMmYgbURvd25sb2FkU3BlZWQ6JWxsZCAK"),o(t,5154,"Ig=="),o(t,5167,"Lw=="),o(t,5212,"XAAAAAAACAAAAAwAAAAAAAAACgAAAA0ACQ=="),o(t,5380,"CQAKAAMABAAFHPYDAAAAAAAA8D8AAAAAAAAkQAAAAAAAAFlAAAAAAABAj0AAAAAAAIjDQAAAAAAAavhAAAAAAICELkEAAAAA0BJjQQAAAACE15dBAAAAAGXNzUEAAAAgX6ACQgAAAOh2SDdCAAAAopQabUIAAEDlnDCiQgAAkB7EvNZCAAA0JvVrDEMAgOA3ecNBQwCg2IVXNHZDAMhOZ23Bq0MAPZFg5FjhQ0CMtXgdrxVEUO/i1uQaS0SS1U0Gz/CARPZK4ccCLbVEtJ3ZeUN46kSRAigsKosgRTUDMrf0rVRFAoT+5HHZiUWBEh8v5yfARSHX5vrgMfRF6oygOVk+KUYksAiI741fRhduBbW1uJNGnMlGIuOmyEYDfNjqm9D+RoJNx3JhQjNH4yB5z/kSaEcbaVdDuBeeR7GhFirTztJHHUqc9IeCB0ilXMPxKWM9SOcZGjf6XXJIYaDgxHj1pkh5yBj21rLcSEx9z1nG7xFJnlxD8LdrRknGM1TspQZ8SVygtLMnhLFJc8ihoDHl5UmPOsoIfl4bSppkfsUOG1FKwP3ddtJhhUowfZUUR7q6Sj5u3WxstPBKzskUiIfhJEtB/Blq6RlaS6k9UOIxUJBLE03kWj5kxEtXYJ3xTX35S224BG6h3C9MRPPC5OTpY0wVsPMdXuSYTBuccKV1Hc9MkWFmh2lyA031+T/pA084TXL4j+PEYm5NR/s5Drv9ok0ZesjRKb3XTZ+YOkZ0rA1OZJ/kq8iLQk49x93Wui53Tgw5lYxp+qxOp0Pd94Ec4k6RlNR1oqMWT7W5SROLTExPERQO7NavgU8WmRGnzBu2T1v/1dC/outPmb+F4rdFIVB/LyfbJZdVUF/78FHv/IpQG502kxXewFBiRAT4mhX1UHtVBbYBWypRbVXDEeF4YFHIKjRWGZeUUXo1wavfvMlRbMFYywsWAFLH8S6+jhs0Ujmuum1yImlSx1kpCQ9rn1Id2Lll6aLTUiROKL+jiwhTrWHyroyuPlMMfVftFy1zU09crehd+KdTY7PYYnX23VMecMddCboSVCVMObWLaEdULp+Hoq5CfVR9w5QlrUmyVFz0+W4Y3OZUc3G4ih6THFXoRrMW89tRVaIYYNzvUoZVyh5406vnu1U/Eytky3DxVQ7YNT3+zCVWEk6DzD1AW1bLENKfJgiRVv6UxkcwSsVWPTq4Wbyc+lZmJBO49aEwV4DtFyZzymRX4Oid7w/9mVeMscL1KT7QV+9dM3O0TQRYazUAkCFhOVjFQgD0ablvWLspgDji06NYKjSgxtrI2Fg1QUh4EfsOWcEoLevqXENZ8XL4pSU0eFmtj3YPL0GuWcwZqmm96OJZP6AUxOyiF1pPyBn1p4tNWjIdMPlId4JafiR8NxsVt1qeLVsFYtrsWoL8WEN9CCJbozsvlJyKVluMCju5Qy2MW5fmxFNKnMFbPSC26FwD9ltNqOMiNIQrXDBJzpWgMmFcfNtBu0h/lVxbUhLqGt/KXHlzS9JwywBdV1DeBk3+NF1t5JVI4D1qXcSuXS2sZqBddRq1OFeA1F0SYeIGbaAJXqt8TSREBEBe1ttgLVUFdF7MErl4qgapXn9X5xZVSN9er5ZQLjWNE19bvOR5gnBIX3LrXRijjH5fJ7M67+UXs1/xXwlr393nX+23y0VX1R1g9FKfi1alUmCxJ4curE6HYJ3xKDpXIr1gApdZhHY18mDD/G8l1MImYfT7yy6Jc1xheH0/vTXIkWHWXI8sQzrGYQw0s/fTyPthhwDQeoRdMWKpAISZ5bRlYtQA5f8eIptihCDvX1P10GKl6Oo3qDIFY8+i5UVSfzpjwYWva5OPcGMyZ5tGeLOkY/5AQlhW4Nljn2gp9zUsEGTGwvN0QzdEZHizMFIURXlkVuC8ZlmWr2Q2DDbg973jZEOPQ9h1rRhlFHNUTtPYTmXsx/QQhEeDZej5MRVlGbhlYXh+Wr4f7mU9C4/41tMiZgzOsrbMiFdmj4Ff5P9qjWb5sLvu32LCZjidauqX+/ZmhkQF5X26LGfUSiOvjvRhZ4kd7FqycZZn6ySn8R4OzGcTdwhX04gBaNeUyiwI6zVoDTr9N8pla2hIRP5inh+haFrVvfuFZ9VosUqtemfBCmmvTqys4LhAaVpi19cY53Rp8TrNDd8gqmnWRKBoi1TgaQxWyEKuaRRqj2t60xmESWpzBllIIOV/agikNy0077NqCo2FOAHr6GpM8KaGwSUfazBWKPSYd1Nru2syMX9ViGuqBn/93mq+aypkb17LAvNrNT0LNn7DJ2yCDI7DXbRdbNHHOJq6kJJsxvnGQOk0x2w3uPiQIwL9bCNzmzpWITJt609CyaupZm3m45K7FlScbXDOOzWOtNFtDMKKwrEhBm6Pci0zHqo7bpln/N9SSnFuf4H7l+ecpW7fYfp9IQTbbix9vO6U4hBvdpxrKjobRW+Ugwa1CGJ6bz0SJHFFfbBvzBZtzZac5G9/XMiAvMMZcM85fdBVGlBwQ4icROsghHBUqsMVJim5cOmUNJtvc+9wEd0AwSWoI3FWFEExL5JYcWtZkf26to5x49d63jQyw3HcjRkWwv73cVPxn5ty/i1y1PZDoQe/YnKJ9JSJyW6Xcqsx+ut7Ss1yC198c41OAnPNdlvQMOI2c4FUcgS9mmxz0HTHIrbgoXMEUnmr41jWc4amV5Yc7wt0FMj23XF1QXQYenRVztJ1dJ6Y0eqBR6t0Y//CMrEM4XQ8v3N/3U8VdQuvUN/Uo0p1Z22SC2WmgHXACHdO/s+0dfHKFOL9A+p11v5MrX5CIHaMPqBYHlNUdi9OyO7lZ4l2u2F6at/Bv3YVfYyiK9nzdlqcL4t2zyh3cIP7LVQDX3cmMr2cFGKTd7B+7MOZOsh3XJ7nNEBJ/nf5whAhyO0yeLjzVCk6qWd4pTCqs4iTnXhnXkpwNXzSeAH2XMxCGwd5gjN0fxPiPHkxoKgvTA1yeT3IkjufkKZ5TXp3Csc03HlwrIpm/KAReoxXLYA7CUZ6b604YIqLe3plbCN8Njexen9HLBsEheV6Xln3IUXmGnvblzo1689Qe9I9iQLmA4V7Ro0rg99EuntMOPuxC2vwe18Gep7OhSR89ocYRkKnWXz6VM9riQiQfDgqw8arCsR8x/RzuFYN+Xz48ZBmrFAvfTuXGsBrkmN9Cj0hsAZ3mH1MjClcyJTOfbD3mTn9HAN+nHUAiDzkN34DkwCqS91tfuJbQEpPqqJ+2nLQHONU136QjwTkGyoNf7rZgm5ROkJ/KZAjyuXIdn8zdKw8H3usf6DI64XzzOF/AAAAAAAAAAAZAAoAGRkZAAAAAAUAAAAAAAAJAAAAAAsAAAAAAAAAABkAEQoZGRkDCgcAAQAJCxgAAAkGCwAACwAGGQAAABkZGQ=="),o(t,7953,"DgAAAAAAAAAAGQAKDRkZGQANAAACAAkOAAAACQAOAAAO"),o(t,8011,"DA=="),o(t,8023,"EwAAAAATAAAAAAkMAAAAAAAMAAAM"),o(t,8069,"EA=="),o(t,8081,"DwAAAAQPAAAAAAkQAAAAAAAQAAAQ"),o(t,8127,"Eg=="),o(t,8139,"EQAAAAARAAAAAAkSAAAAAAASAAASAAAaAAAAGhoa"),o(t,8194,"GgAAABoaGgAAAAAAAAk="),o(t,8243,"FA=="),o(t,8255,"FwAAAAAXAAAAAAkUAAAAAAAUAAAU"),o(t,8301,"Fg=="),o(t,8313,"FQAAAAAVAAAAAAkWAAAAAAAWAAAWAAAwMTIzNDU2Nzg5QUJDREVGTjEwX19jeHhhYml2MTE2X19zaGltX3R5cGVfaW5mb0UAAAAAMCEAAKAgAAAkIgAATjEwX19jeHhhYml2MTE3X19jbGFzc190eXBlX2luZm9FAAAAMCEAANAgAADEIAAAAAAAAPQgAAAMAAAADQAAAA4AAAAPAAAAEAAAABEAAAASAAAAEwAAAAAAAAB4IQAADAAAABQAAAAOAAAADwAAABAAAAAVAAAAFgAAABcAAABOMTBfX2N4eGFiaXYxMjBfX3NpX2NsYXNzX3R5cGVfaW5mb0UAAAAAMCEAAFAhAAD0IAAAAAAAAKghAAAYAAAAGQAAABoAAABTdDlleGNlcHRpb24AAAAACCEAAJghAAAAAAAA1CEAAAIAAAAbAAAAHAAAAFN0MTFsb2dpY19lcnJvcgAwIQAAxCEAAKghAAAAAAAACCIAAAIAAAAdAAAAHAAAAFN0MTJsZW5ndGhfZXJyb3IAAAAAMCEAAPQhAADUIQAAU3Q5dHlwZV9pbmZvAAAAAAghAAAUIg=="),o(t,8752,"BQ=="),o(t,8764,"BA=="),o(t,8788,"BQAAAAYAAADYJgAAAAQ="),o(t,8812,"AQ=="),o(t,8828,"/////wo="),o(t,8896,"MCIAAKBRAAAJ"),o(t,8916,"CQ=="),o(t,8936,"CgAAAAAAAAALAAAAiC0AAAAE"),o(t,8980,"/////w=="),o(t,9048,"yCIAAAAAAAAF"),o(t,9068,"CQ=="),o(t,9092,"BQAAAAsAAACQMQ=="),o(t,9116,"Ag=="),o(t,9132,"//////////8="),o(t,9200,"YCM=");var oo,io=((oo=[null,function(e){e|=0,Mn(9624),Mn(9636),Rn(9648),Rn(9824),Rn(9848),Rn(9860),Rn(9836),wn(9896),s[2474]&&(dt(9896),e=s[2474],yr(9896),B(e)),er(9872),$t(9860),$t(9848),$t(9836),$t(9824),er(9812),er(9792),er(9780),er(9768),Wt(9748,En(9748)),Lt(9736,En(9736)),qn(9664),$t(9648),er(9636),er(9624)},mt,Br,function(e){return 0},function(e,t,r){t|=0,r|=0;var n,o=0,i=0,a=0,c=0,u=0,f=0;x=n=x-32|0,o=s[28+(e|=0)>>2],s[n+16>>2]=o,i=s[e+20>>2],s[n+28>>2]=r,s[n+24>>2]=t,t=i-o|0,s[n+20>>2]=t,o=t+r|0,f=2;e:{t:{t=n+16|0;r:{if(!Tr(0|P(s[e+60>>2],0|t,2,n+12|0)))for(;;){if((0|(i=s[n+12>>2]))==(0|o))break r;if((0|i)<0)break t;if(a=i-((c=(a=s[t+4>>2])>>>0<i>>>0)?a:0)|0,s[(u=(c<<3)+t|0)>>2]=a+s[u>>2],s[(u=(c?12:4)+t|0)>>2]=s[u>>2]-a,o=o-i|0,t=c?t+8|0:t,f=f-c|0,Tr(0|P(s[e+60>>2],0|t,0|f,n+12|0)))break}if(-1!=(0|o))break t}t=s[e+44>>2],s[e+28>>2]=t,s[e+20>>2]=t,s[e+16>>2]=t+s[e+48>>2],e=r;break e}s[e+28>>2]=0,s[e+16>>2]=0,s[e+20>>2]=0,s[e>>2]=32|s[e>>2],e=0,2!=(0|f)&&(e=r-s[t+4>>2]|0)}return x=n+32|0,0|e},function(e,t,r,n){return C=0,0},function(e,t,r,n,o,a){e|=0,t=+t,r|=0,n|=0,o|=0,a|=0;var u,f=0,p=0,E=0,b=0,h=0,A=0,m=0,y=0,w=0,T=0,D=0,k=0,v=0,_=0,R=0,M=0,P=0,S=0;x=u=x-560|0,s[u+44>>2]=0,d(+t),f=0|c(1),c(0),(0|f)<0?(k=1,R=1045,d(+(t=-t)),f=0|c(1),c(0)):2048&o?(k=1,R=1048):(R=(k=1&o)?1051:1046,S=!k);e:if(2146435072!=(2146435072&f)){_=u+16|0;t:{r:{n:{if(t=Se(t,u+44|0),0!=(t+=t)){if(f=s[u+44>>2],s[u+44>>2]=f-1,97!=(0|(D=32|a)))break n;break t}if(97==(0|(D=32|a)))break t;h=s[u+44>>2],A=(0|n)<0?6:n;break r}h=f-29|0,s[u+44>>2]=h,t*=268435456,A=(0|n)<0?6:n}for(p=w=(0|h)<0?u+48|0:u+336|0;n=t<4294967296&t>=0?~~t>>>0:0,s[p>>2]=n,p=p+4|0,0!=(t=1e9*(t-+(n>>>0))););if((0|h)<=0)n=h,f=p,b=w;else for(b=w,n=h;;){if(n=n>>>0<29?n:29,!(b>>>0>(f=p-4|0)>>>0)){for(E=0;y=s[f>>2],m=31&n,M=E,(63&n)>>>0>=32?(E=y<<m,y=0):(E=(1<<m)-1&y>>>32-m,y<<=m),E=E+P|0,y=Ue(E=q(m=M+y|0,E=m>>>0<y>>>0?E+1|0:E,1e9),C,1e9,0),s[f>>2]=m-y,b>>>0<=(f=f-4|0)>>>0;);E&&(s[(b=b-4|0)>>2]=E)}for(;b>>>0<(f=p)>>>0&&!s[(p=f-4|0)>>2];);if(n=s[u+44>>2]-n|0,s[u+44>>2]=n,p=f,!((0|n)>0))break}if(p=(A+25>>>0)/9|0,(0|n)<0)for(v=p+1|0,m=102==(0|D);;){E=(n=0-n|0)>>>0<9?n:9;r:if(f>>>0>b>>>0){for(y=1e9>>>E|0,P=-1<<E^-1,n=0,p=b;M=n,n=s[p>>2],s[p>>2]=M+(n>>>E|0),n=O(y,n&P),(p=p+4|0)>>>0<f>>>0;);if(p=s[b>>2],!n)break r;s[f>>2]=n,f=f+4|0}else p=s[b>>2];if(n=E+s[u+44>>2]|0,s[u+44>>2]=n,b=(!p<<2)+b|0,f=f-(p=m?w:b)>>2>(0|v)?p+(v<<2)|0:f,!((0|n)<0))break}if(n=0,!(f>>>0<=b>>>0||(n=O(w-b>>2,9),p=10,(E=s[b>>2])>>>0<10)))for(;n=n+1|0,E>>>0>=(p=O(p,10))>>>0;);if((0|(p=(A-(102==(0|D)?0:n)|0)-(103==(0|D)&0!=(0|A))|0))<(O(f-w>>2,9)-9|0)){if(h=((((0|h)<0?4:292)+u|0)+((m=(0|(E=p+9216|0))/9|0)<<2)|0)-4048|0,p=10,(0|(E=E-O(m,9)|0))<=7)for(;p=O(p,10),8!=(0|(E=E+1|0)););if(!(!(E=(m=s[h>>2])-O(p,v=(m>>>0)/(p>>>0)|0)|0)&(0|(y=h+4|0))==(0|f))&&(!(1&v)&&(t=9007199254740992,!(1&i[h-4|0])|1e9!=(0|p)|b>>>0>=h>>>0)||(t=9007199254740994),T=(0|f)==(0|y)?1:1.5,T=E>>>0<(y=p>>>1|0)>>>0?.5:(0|y)==(0|E)?T:1.5,45!=l[0|R]|S||(T=-T,t=-t),E=m-E|0,s[h>>2]=E,t+T!=t)){if(n=p+E|0,s[h>>2]=n,n>>>0>=1e9)for(;s[h>>2]=0,(h=h-4|0)>>>0<b>>>0&&(s[(b=b-4|0)>>2]=0),n=s[h>>2]+1|0,s[h>>2]=n,n>>>0>999999999;);if(n=O(w-b>>2,9),p=10,!((E=s[b>>2])>>>0<10))for(;n=n+1|0,E>>>0>=(p=O(p,10))>>>0;);}f=f>>>0>(p=h+4|0)>>>0?p:f}for(;p=f,!(E=f>>>0<=b>>>0)&&!s[(f=p-4|0)>>2];);if(103==(0|D)){if(A=((h=(0|(f=A||1))>(0|n)&(0|n)>-5)?-1^n:-1)+f|0,a=(h?-1:-2)+a|0,!(h=8&o)){if(f=-9,!E&&(m=s[p-4>>2])&&(E=10,f=0,!((m>>>0)%10|0))){for(;h=f,f=f+1|0,!((m>>>0)%((E=O(E,10))>>>0)|0););f=-1^h}E=O(p-w>>2,9),70!=(-33&a)?(h=0,A=(0|(f=(0|(f=((n+E|0)+f|0)-9|0))>0?f:0))>(0|A)?A:f):(h=0,A=(0|(f=(0|(f=(f+E|0)-9|0))>0?f:0))>(0|A)?A:f)}}else h=8&o;if(E=-1,(0|((D=h|A)?2147483645:2147483646))<(0|A))break e;if(m=1+((0!=(0|D))+A|0)|0,70!=(0|(y=-33&a))){if((_-(f=_e((f=n>>31)+n^f,0,_))|0)<=1)for(;i[0|(f=f-1|0)]=48,(_-f|0)<2;);if(i[0|(v=f-2|0)]=a,i[f-1|0]=(0|n)<0?45:43,(0|(f=_-v|0))>(2147483647-m|0))break e}else{if((2147483647-m|0)<(0|n))break e;f=(0|n)>0?n:0}if((0|(n=f+m|0))>(2147483647^k))break e;Qe(e,32,r,a=n+k|0,o),le(e,R,k),Qe(e,48,r,a,65536^o);r:{n:{o:{if(70==(0|y)){for(n=8|(f=u+16|0),h=9|f,b=E=b>>>0>w>>>0?w:b;;){f=_e(s[b>>2],0,h);i:if((0|E)==(0|b))(0|f)==(0|h)&&(i[u+24|0]=48,f=n);else{if(u+16>>>0>=f>>>0)break i;for(;i[0|(f=f-1|0)]=48,u+16>>>0<f>>>0;);}if(le(e,f,h-f|0),!(w>>>0>=(b=b+4|0)>>>0))break}if(D&&le(e,2381,1),(0|A)<=0|p>>>0<=b>>>0)break o;for(;;){if((f=_e(s[b>>2],0,h))>>>0>u+16>>>0)for(;i[0|(f=f-1|0)]=48,u+16>>>0<f>>>0;);if(le(e,f,(0|A)<9?A:9),f=A-9|0,p>>>0<=(b=b+4|0)>>>0)break n;if(n=(0|A)>9,A=f,!n)break}break n}i:if(!((0|A)<0))for(E=p>>>0>b>>>0?p:b+4|0,w=9|(n=u+16|0),n|=8,p=b;;){(0|w)==(0|(f=_e(s[p>>2],0,w)))&&(i[u+24|0]=48,f=n);a:if((0|p)==(0|b))le(e,f,1),f=f+1|0,h|A&&le(e,2381,1);else{if(u+16>>>0>=f>>>0)break a;for(;i[0|(f=f-1|0)]=48,u+16>>>0<f>>>0;);}if(le(e,M=f,(0|(f=w-f|0))<(0|A)?f:A),A=A-f|0,E>>>0<=(p=p+4|0)>>>0)break i;if(!((0|A)>=0))break}Qe(e,48,A+18|0,18,0),le(e,v,_-v|0);break r}f=A}Qe(e,48,f+9|0,9,0)}Qe(e,32,r,a,8192^o),E=(0|r)>(0|a)?r:a;break e}if(A=(a<<26>>31&9)+R|0,!(n>>>0>11)){for(f=12-n|0,T=16;T*=16,f=f-1|0;);t=45!=l[0|A]?t+T-T:-(T+(-t-T))}for((0|_)==(0|(f=_e((f=(p=s[u+44>>2])>>31)^f+p,0,_)))&&(i[u+15|0]=48,f=u+15|0),h=2|k,b=32&a,p=s[u+44>>2],i[0|(w=f-2|0)]=a+15,i[f-1|0]=(0|p)<0?45:43,E=8&o,p=u+16|0;a=p,f=g(t)<2147483648?~~t:-2147483648,i[0|p]=b|l[f+8336|0],!(E|(0|n)>0)&0==(t=16*(t-+(0|f)))|1!=((p=a+1|0)-(u+16|0)|0)||(i[a+1|0]=46,p=a+2|0),0!=t;);E=-1,(2147483645-(a=(m=_-w|0)+h|0)|0)<(0|n)||(Qe(e,32,r,n=(f=!n||((b=p-(u+16|0)|0)-2|0)>=(0|n)?b=p-(u+16|0)|0:n+2|0)+a|0,o),le(e,A,h),Qe(e,48,r,n,65536^o),le(e,u+16|0,b),Qe(e,48,f-b|0,0,0),le(e,w,m),Qe(e,32,r,n,8192^o),E=(0|r)>(0|n)?r:n)}else Qe(e,32,r,n=k+3|0,-65537&o),le(e,R,k),a&=32,le(e,t!=t?a?1376:2259:a?1667:2263,3),Qe(e,32,r,n,8192^o),E=(0|r)>(0|n)?r:n;return x=u+560|0,0|E},function(e,t){e|=0;var r,n,o,i,a,c=0,d=0,l=0,p=0,E=0,b=0,O=0,A=0,g=0,m=0,y=0;d=t|=0,t=s[t>>2]+7&-8,s[d>>2]=t+16,o=e,A=s[(e=t)>>2],t=s[e+4>>2],n=l=s[e+12>>2],x=r=x-32|0;e:if((0|(c=(l&=2147483647)-1006698496|0))==(0|(p=l-1140785152|0))&(d=s[e+8>>2])>>>0<d>>>0|c>>>0<p>>>0){if(c=(e=d)<<4|t>>>28,l=d=n<<4|e>>>28,t=e=268435455&t,134217728==(0|e)&0!=(0|A)|e>>>0>134217728){e=l+1073741824|0,e=(t=c+1|0)?e:e+1|0,c=t;break e}if(e=l+1073741824|0,134217728^t|A)break e;e=(t=1&c)>>>0>(c=l=t+c|0)>>>0?e+1|0:e}else(!d&2147418112==(0|l)?!(t|A):l>>>0<2147418112)?(c=0,e=2146435072,l>>>0>1140785151||(e=0,(m=l>>>16|0)>>>0<15249||(c=A,e=t,l=p=65535&n|65536,g=d,E=d,64&(O=m-15233|0)?(p=c,c=31&(d=O+-64|0),(63&d)>>>0>=32?(e=p<<c,E=0):(e=(1<<c)-1&p>>>32-c|e<<c,E=p<<c),p=e,c=0,e=0):O&&(b=31&(d=O),(63&d)>>>0>=32?(d=E<<b,E=0):(d=(1<<b)-1&E>>>32-b|p<<b,E<<=b),p=d,y=E,E=c,b=31&(d=64-O|0),(63&d)>>>0>=32?(d=0,E=e>>>b|0):(d=e>>>b|0,E=((1<<b)-1&e)<<32-b|E>>>b),E|=y,p|=d,b=31&O,(63&O)>>>0>=32?(d=c<<b,c=0):(d=(1<<b)-1&c>>>32-b|e<<b,c<<=b),e=d),s[r+16>>2]=c,s[r+20>>2]=e,s[r+24>>2]=E,s[r+28>>2]=p,64&(d=15361-m|0)?(t=g,p=31&(e=d+-64|0),(63&e)>>>0>=32?(d=0,A=l>>>p|0):(d=l>>>p|0,A=((1<<p)-1&l)<<32-p|t>>>p),t=d,g=0,l=0):d&&(p=g,c=31&(e=64-d|0),(63&e)>>>0>=32?(e=p<<c,c=0):(e=(1<<c)-1&p>>>32-c|l<<c,c=p<<c),p=e,E=c,c=A,O=31&(e=d),(63&e)>>>0>=32?(d=0,t=t>>>O|0):(d=t>>>O|0,t=((1<<O)-1&t)<<32-O|c>>>O),A=E|t,t=d|p,d=g,p=31&e,(63&e)>>>0>=32?(e=0,g=l>>>p|0):(e=l>>>p|0,g=((1<<p)-1&l)<<32-p|d>>>p),l=e),s[r>>2]=A,s[r+4>>2]=t,s[r+8>>2]=g,s[r+12>>2]=l,c=(t=s[r+8>>2])<<4|(l=s[r+4>>2])>>>28,e=s[r+12>>2]<<4|t>>>28,134217728==(0|(l&=268435455))&0!=(0|(t=s[r>>2]|0!=(s[r+16>>2]|s[r+24>>2]|s[r+20>>2]|s[r+28>>2])))|l>>>0>134217728?(e=(t=c+1|0)?e:e+1|0,c=t):134217728^l|t||(e=(t=c+(1&c)|0)>>>0<c>>>0?e+1|0:e,c=t)))):(c=(e=d)<<4|t>>>28,e=524287&(d=n<<4|e>>>28)|2146959360);x=r+32|0,u(0,0|c),u(1,-2147483648&n|e),i=o,a=+f(),h[i>>3]=a},function(e){return 0|F(s[60+(e|=0)>>2])},function(e,t,r){e|=0,t|=0,r|=0;var n,o=0,a=0,c=0;x=n=x-32|0,s[n+16>>2]=t,o=s[e+48>>2],s[n+20>>2]=r-(0!=(0|o)),c=s[e+44>>2],s[n+28>>2]=o,s[n+24>>2]=c;e:{t:{if(Tr(0|j(s[e+60>>2],n+16|0,2,n+12|0)))t=32;else{if((0|(o=s[n+12>>2]))>0)break t;t=o?32:16}s[e>>2]=t|s[e>>2];break e}(c=s[n+20>>2])>>>0>=o>>>0?a=o:(a=s[e+44>>2],s[e+4>>2]=a,s[e+8>>2]=a+(o-c|0),s[e+48>>2]&&(s[e+4>>2]=a+1,i[(t+r|0)-1|0]=l[0|a]),a=r)}return x=n+32|0,0|a},function(e,t,r,n){var o;return t|=0,r|=0,n|=0,x=o=x-16|0,e=Tr(0|U(s[60+(e|=0)>>2],0|t,0|r,255&n,o+8|0)),x=o+16|0,C=e?-1:s[o+12>>2],0|(e?-1:s[o+8>>2])},Fn,Zn,no,no,function(e,t,r){r|=0;var n,o=0,i=0,a=0,c=0;if(x=n=x+-64|0,o=1,!De(e|=0,t|=0,0)&&(o=0,t)){x=o=x+-64|0,i=s[t>>2],a=s[i-4>>2],c=s[i-8>>2],s[o+20>>2]=0,s[o+16>>2]=8388,s[o+12>>2]=t,s[o+8>>2]=8436,i=0,re(o+24|0,0,39),t=t+c|0;e:if(De(a,8436,0))s[o+56>>2]=1,io[s[s[a>>2]+20>>2]](a,o+8|0,t,t,1,0),i=1==s[o+32>>2]?t:0;else{io[s[s[a>>2]+24>>2]](a,o+8|0,t,1,0);t:switch(s[o+44>>2]){case 0:i=1==s[o+48>>2]&&1==s[o+36>>2]&&1==s[o+40>>2]?s[o+28>>2]:0;break e;case 1:break t;default:break e}1!=s[o+32>>2]&&s[o+48>>2]|1!=s[o+36>>2]|1!=s[o+40>>2]||(i=s[o+24>>2])}x=o- -64|0,o=0,i&&(re(4|(t=n+8|0),0,52),s[n+56>>2]=1,s[n+20>>2]=-1,s[n+16>>2]=e,s[n+8>>2]=i,io[s[s[i>>2]+28>>2]](i,t,s[r>>2],1),1==(0|(e=s[n+32>>2]))&&(s[r>>2]=s[n+24>>2]),o=1==(0|e))}return x=n- -64|0,0|o},function(e,t,r,n,o,i){r|=0,n|=0,o|=0,i|=0,De(e|=0,s[8+(t|=0)>>2],i)&&Oe(t,r,n,o)},function(e,t,r,n,o){if(r|=0,n|=0,o|=0,De(e|=0,s[8+(t|=0)>>2],o))ar(t,r,n);else e:if(De(e,s[t>>2],o)){if(!(s[t+16>>2]!=(0|r)&s[t+20>>2]!=(0|r))){if(1!=(0|n))break e;return void(s[t+32>>2]=1)}s[t+20>>2]=r,s[t+32>>2]=n,s[t+40>>2]=s[t+40>>2]+1,1!=s[t+36>>2]|2!=s[t+24>>2]||(i[t+54|0]=1),s[t+44>>2]=4}},function(e,t,r,n){r|=0,n|=0,De(e|=0,s[8+(t|=0)>>2],0)&&xe(t,r,n)},Zn,function(e,t,r,n,o,i){r|=0,n|=0,o|=0,i|=0,De(e|=0,s[8+(t|=0)>>2],i)?Oe(t,r,n,o):(e=s[e+8>>2],io[s[s[e>>2]+20>>2]](e,t,r,n,o,i))},function(e,t,r,n,o){if(r|=0,n|=0,o|=0,De(e|=0,s[8+(t|=0)>>2],o))ar(t,r,n);else e:{if(De(e,s[t>>2],o)){if(!(s[t+16>>2]!=(0|r)&s[t+20>>2]!=(0|r))){if(1!=(0|n))break e;return void(s[t+32>>2]=1)}s[t+32>>2]=n;t:if(4!=s[t+44>>2]){if(a[t+52>>1]=0,e=s[e+8>>2],io[s[s[e>>2]+20>>2]](e,t,r,r,1,o),l[t+53|0]){if(s[t+44>>2]=3,!l[t+52|0])break t;break e}s[t+44>>2]=4}if(s[t+20>>2]=r,s[t+40>>2]=s[t+40>>2]+1,1!=s[t+36>>2]|2!=s[t+24>>2])break e;return void(i[t+54|0]=1)}e=s[e+8>>2],io[s[s[e>>2]+24>>2]](e,t,r,n,o)}},function(e,t,r,n){r|=0,n|=0,De(e|=0,s[8+(t|=0)>>2],0)?xe(t,r,n):(e=s[e+8>>2],io[s[s[e>>2]+28>>2]](e,t,r,n))},Fn,Zn,function(e){return 1225},function(e){B(mt(e|=0))},function(e){return s[4+(e|=0)>>2]},function(e){mt(e|=0),B(e)}]).set=function(e,t){this[e]=t},oo.get=function(e){return this[e]},oo);function ao(){return n.byteLength/65536|0}return{__wasm_call_ctors:function(){X=12704,s[2781]=11012,s[2763]=42},malloc:H,parseMPD:function(e){e|=0;var t,r,n,o=0,a=0,c=0,u=0,f=0,d=0,O=0,m=0,y=0,w=0,T=0,k=0,_=0,R=0,M=0,P=0,S=A(0),j=0,F=0;r=L(),x=t=x-240|0,kt(c=r+520|0),Dt(n=r+532|0),w=e,s[t+112>>2]=e,ae(r,3024,t+112|0);e:if(!_n(J(T=Ce(t+176|0),e))&&ge(T,1294)){if(an(O=He(T,1294))){if(ur(O))for(k=t+160|0,_=t+148|0;;){if(!(ge(e=ct(O,y),2112)&&ge(e,1320)&&ge(e,1459)&&ge(e,1952)&&ge(e,1463)&&ge(e,1121)&&ge(e,2221))){ae(r,4925,0);break e}a=Zr(o=t+128|0),Pe(o,Pt(jn(e,2112))),m=+(0|Jt(jn(e,1320)))/1e3,o=g(m)<2147483648?~~m:-2147483648,s[t+152>>2]=o,j=t,F=Jt(jn(e,1459)),s[j+148>>2]=F,j=t,F=Jt(jn(e,1463)),s[j+140>>2]=F,j=t,F=Jt(jn(e,1121)),s[j+144>>2]=F;t:{r:{if(o=jn(e,1952),(16&l[o+18|0])>>>4|0){if(512&(u=p[o+18>>1])){m=h[o>>3];break t}if(32&u){m=+s[o>>2];break t}if(64&u){m=+E[o>>2];break t}if(128&u){m=+E[o>>2]+4294967296*+s[o+4>>2];break t}if(!(256&u))break r;m=+E[o>>2]+4294967296*+E[o+4>>2];break t}v(2594,1469,1825,2074),D()}v(2346,1469,1830,2074),D()}if(b[t+156>>2]=m,Pe(k,Pt(jn(e,2221))),x=u=x-32|0,j=u,F=Vt(_),s[j+16>>2]=F,x=e=x-32|0,R=ye(c,e+28|0,_),d=s[R>>2],i[e+27|0]=0,d||(x=d=x-16|0,f=Wn(c),P=bt(o=e+8|0,Ot(64),vr(d+8|0,f)),M=s[P>>2]+16|0,x=f=x-16|0,s[f+8>>2]=s[u+16>>2],s[M>>2]=s[s[f+8>>2]>>2],Zr(re(M+4|0,0,44)),x=f+16|0,j=Wn(P),F=1,i[j+4|0]=F,x=d+16|0,oe(c,s[e+28>>2],R,s[o>>2]),d=gr(o),i[e+27|0]=1,f=s[o>>2],s[o>>2]=0,f&&(l[Wn(o)+4|0]&&Kn(f+16|0),f&&B(f))),mr(o=u+24|0,rn(e+8|0,d),e+27|0),x=e+32|0,e=un(o),x=u+32|0,se(e=e+4|0,a),s[e+28>>2]=s[a+28>>2],o=s[a+24>>2],s[e+20>>2]=s[a+20>>2],s[e+24>>2]=o,o=s[a+16>>2],s[e+12>>2]=s[a+12>>2],s[e+16>>2]=o,se(e+32|0,a+32|0),e=Dr(t+128|0),o=s[t+152>>2],u=s[t+148>>2],f=s[t+140>>2],d=s[t+144>>2],S=b[t+156>>2],j=t,F=Dr(k),s[j+96>>2]=F,h[t+88>>3]=S,s[t+80>>2]=d,s[t+76>>2]=f,s[t+72>>2]=u,s[t+68>>2]=o,s[t+64>>2]=e,ae(r,2774,t- -64|0),Sn(a),y=y+1|0,!(ur(O)>>>0>y>>>0))break}if(s[r+548>>2]=5,Mn(u=r+576|0),s[r+544>>2]=0,Mn(f=r+552|0),Mn(y=r+564|0),x=a=(x=e=x-16|0)-16|0,o=s[rn(a+8|0,s[c>>2])>>2],x=a+16|0,a=s[rn(e+8|0,o)>>2],x=e+16|0,s[(o=t+128|0)>>2]=a,j=t,F=Et(c),s[j+120>>2]=F,Jr(o,t+120|0))for(;;){if(j=r,F=s[un(o)+28>>2],s[j+548>>2]=F,ne(u,un(o)+24|0),s[r+544>>2]=s[r+544>>2]+1,ne(f,un(o)+16|0),ne(y,un(o)+20|0),e=s[r+548>>2],a=s[un(o)+24>>2],O=s[un(o)+16>>2],d=s[un(o)+20>>2],s[t+48>>2]=s[r+544>>2],s[t+44>>2]=d,s[t+40>>2]=O,s[t+36>>2]=a,s[t+32>>2]=e,ae(r,3464,t+32|0),e=s[o>>2],a=s[e+4>>2])for(e=a;a=e,e=s[e>>2];);else{if(!Pr(e))for(;!Pr(e=s[e+8>>2]););a=s[e+8>>2]}if(s[o>>2]=a,j=t,F=Et(c),s[j+120>>2]=F,!Jr(o,t+120|0))break}}if(!_n(J(T,w))&&ge(T,1307)){if(an(u=He(T,1307))){if(f=r+596|0,ur(u))for(k=t+152|0,y=t+140|0,O=0;;){if(!(ge(e=ct(u,O),2112)&&ge(e,1320)&&ge(e,1459)&&ge(e,1963)&&ge(e,2221))){ae(r,4977,0);break e}if(w=Wr(a=t+128|0),Pe(a,Pt(jn(e,2112))),m=+(0|Jt(jn(e,1320)))/1e3,a=g(m)<2147483648?~~m:-2147483648,s[t+144>>2]=a,j=t,F=Jt(jn(e,1459)),s[j+140>>2]=F,j=t,F=Jt(jn(e,1963)),s[j+148>>2]=F,Pe(k,Pt(jn(e,2221))),x=o=x-32|0,j=o,F=Vt(y),s[j+16>>2]=F,x=e=x-32|0,M=ye(n,e+28|0,y),d=s[M>>2],i[e+27|0]=0,d||(x=d=x-16|0,c=Wn(n),R=bt(a=e+8|0,Ot(56),vr(d+8|0,c)),_=s[R>>2]+16|0,x=c=x-16|0,s[c+8>>2]=s[o+16>>2],s[_>>2]=s[s[c+8>>2]>>2],Wr(re(_+4|0,0,36)),x=c+16|0,j=Wn(R),F=1,i[j+4|0]=F,x=d+16|0,oe(n,s[e+28>>2],M,s[a>>2]),d=gr(a),i[e+27|0]=1,c=s[a>>2],s[a>>2]=0,c&&(l[Wn(a)+4|0]&&eo(c+16|0),c&&B(c))),mr(a=o+24|0,rn(e+8|0,d),e+27|0),x=e+32|0,e=un(a),x=o+32|0,se(e=e+4|0,w),s[e+20>>2]=s[w+20>>2],a=s[w+16>>2],s[e+12>>2]=s[w+12>>2],s[e+16>>2]=a,se(e+24|0,w+24|0),s[r+592>>2]=s[t+144>>2],ne(f,y),s[r+588>>2]=s[r+588>>2]+1,e=Dr(t+128|0),a=s[t+144>>2],o=s[t+140>>2],c=s[t+148>>2],j=t,F=Dr(k),s[j+16>>2]=F,s[t+12>>2]=c,s[t+8>>2]=o,s[t+4>>2]=a,s[t>>2]=e,ae(r,2891,t),Pn(w),O=O+1|0,!(ur(u)>>>0>O>>>0))break}ir(mn(f),nn(f))}}else ae(r,4672,0)}else ae(r,4625,0);Ie(T),x=t+240|0},updatePreloadInfo:function(e){e|=0;var t,r,n,o=0,i=0,a=0,c=0,u=0,f=0,d=0,l=0,p=0,E=0,b=0,h=0;n=L(),x=r=x-144|0,s[n+676>>2]=0,Kr(t=n+680|0),s[r+16>>2]=e,ae(n,2989,r+16|0);e:if(!_n(J(u=Ce(r+80|0),e))&&ge(u,1380)&&ge(u,1140)){b=n,h=Jt(He(u,1380)),s[b+676>>2]=h;t:{if(an(d=He(u,1140))&&ur(d))for(;;){if(i=4821,!ge(e=ct(d,l),2011))break t;if(!ge(e,1998))break t;if(!ge(e,1937))break t;if(!ge(e,2063))break t;if(!ge(e,1697))break t;if(!ge(e,1214))break t;if(b=r,h=Jt(jn(e,2011)),s[b+32>>2]=h,b=r,h=Jt(jn(e,1998)),s[b+36>>2]=h,b=r,h=Jt(jn(e,1937)),s[b+40>>2]=h,b=r,h=Jt(jn(e,2063)),s[b+44>>2]=h,b=r,h=Jt(jn(e,1697)),s[b+52>>2]=h,i=4873,!ge(e=jn(e,1214),1337))break t;if(!ge(e,1688))break t;if(!ge(e,1746))break t;if(!ge(e,1716))break t;if(!ge(e,1915))break t;if(!ge(e,1892))break t;if(b=r,h=Jt(jn(e,1337)),s[b+56>>2]=h,b=r,h=Jt(jn(e,1688)),s[b+60>>2]=h,b=r,h=Jt(jn(e,1746)),s[b+64>>2]=h,b=r,h=Jt(jn(e,1716)),s[b+68>>2]=h,b=r,h=Jt(jn(e,1915)),s[b+72>>2]=h,b=r,h=Jt(jn(e,1892)),s[b+76>>2]=h,f=r+32|0,s[t+4>>2]==s[Ln(t)>>2]){if(x=p=x-32|0,E=Ln(t),o=p+8|0,c=kr(t)+1|0,x=e=x-16|0,s[e+12>>2]=c,x=a=x-16|0,s[a+12>>2]=89478485,s[a+8>>2]=2147483647,i=s[zt(a+12|0,a+8|0)>>2],x=a+16|0,i>>>0>=c>>>0?((a=yr(t))>>>0<i>>>1>>>0&&(s[e+8>>2]=a<<1,i=s[qt(e+8|0,e+12|0)>>2]),x=e+16|0,e=i):(zn(),D()),c=kr(t),i=0,x=a=x-16|0,s[a+12>>2]=0,dn(o+12|0,E),e&&(e>>>0>89478485&&(Ge(1796),D()),i=Ot(O(e,48))),s[o>>2]=i,c=O(c,48)+i|0,s[o+8>>2]=c,s[o+4>>2]=c,b=Gn(o),h=O(e,48)+i|0,s[b>>2]=h,x=a+16|0,Un(0,s[o+8>>2],f),s[o+8>>2]=s[o+8>>2]+48,wn(t),e=o+4|0,f=s[t>>2],i=s[t+4>>2]-f|0,a=s[e>>2]+O((0|i)/-48|0,48)|0,s[e>>2]=a,(0|i)>0&&z(a,f,i),vt(t,e),vt(t+4|0,o+8|0),vt(Ln(t),Gn(o)),s[o>>2]=s[o+4>>2],kr(t),yr(t),yr(t),(0|(e=s[o+4>>2]))!=s[o+8>>2])for(;s[o+8>>2]=s[o+8>>2]-48,(0|e)!=s[o+8>>2];);s[o>>2]&&B(e=s[o>>2]),x=p+32|0}else x=e=x-16|0,s[e>>2]=t,i=s[t+4>>2],s[e+4>>2]=i,s[e+8>>2]=i+48,Un(Ln(t),s[e+4>>2],f),s[e+4>>2]=s[e+4>>2]+48,Vr(e),x=e+16|0;if(l=l+1|0,!(ur(d)>>>0>l>>>0))break}e=s[n+676>>2],b=r,h=kr(t),s[b+4>>2]=h,s[r>>2]=e,ae(n,3877,r);break e}ae(n,i,0)}else ae(n,4576,0);Ie(u),x=r+144|0},updateDeviceInfo:function(e,t,r,n){e|=0,t|=0,r=A(r),n=A(n);var o,i,a=0;o=L(),x=i=x-32|0,(0|e)<=0|(0|t)<=0||(s[o+152>>2]=t,s[o+148>>2]=e,s[o+144>>2]=t,s[o+140>>2]=e,(a=+r)>2.01?s[o+200>>2]=1073741824:a<.01?s[o+200>>2]=1065353216:b[o+200>>2]=r),n>A(0)&&(b[o+204>>2]=n),h[i+16>>3]=n,s[i+4>>2]=t,s[i>>2]=e,h[i+8>>3]=r,ae(o,3118,i),x=i+32|0},updateMediaInfo:function(e,t,r,n){e|=0,t|=0,r=+r,n=+n;var o,i,a,c=0,u=0,f=0,d=0,l=0,p=0;if(x=o=x-96|0,i=ln(o+56|0),a=_t(o+40|0),h[i+16>>3]=n,h[i+8>>3]=r,s[i>>2]=t,(0|t)>0)for(;ne(a,(c<<2)+e|0),(0|(c=c+1|0))!=(0|t););if(ir(mn(a),nn(a)),(0|(e=i+24|0))!=(0|a)){x=t=x-16|0,c=(f=s[a+4>>2])-(u=s[a>>2])>>2;e:if(Mr(e)>>>0>=c>>>0){if(Ir(e)>>>0<c>>>0){s[t+12>>2]=u,d=Ir(e),s[t+12>>2]=s[t+12>>2]+(d<<2),hr(u,s[t+12>>2],s[e>>2]),st(e,s[t+12>>2],f,c-Ir(e)|0);break e}tn(e,hr(u,f,s[e>>2]))}else s[e>>2]&&(Mn(e),d=s[e>>2],Mr(e),B(d),l=Ln(e),p=0,s[l>>2]=p,s[e>>2]=0,s[e+4>>2]=0),ut(e,Je(e,c)),st(e,u,f,c);x=t+16|0}if(e=L(),t=s[i+4>>2],s[o>>2]=s[i>>2],s[o+4>>2]=t,t=s[i+20>>2],s[o+16>>2]=s[i+16>>2],s[o+20>>2]=t,t=s[i+12>>2],s[o+8>>2]=s[i+8>>2],s[o+12>>2]=t,t=i+24|0,x=c=(x=f=x-16|0)-16|0,s[(u=o+24|0)>>2]=0,s[u+4>>2]=0,s[c+12>>2]=0,$n(u+8|0),x=c+16|0,(c=Ir(t))&&(ut(u,c),st(u,s[t>>2],s[t+4>>2],c)),c=0,x=t=(x=f+16|0)-16|0,ae(e,2742,0),h[e+456>>3]=h[o+8>>3],h[e+464>>3]=h[o+16>>3],s[e+448>>2]=s[o>>2],Mn(u=e+472|0),Ir(f=o+24|0))for(;ne(u,Yr(f,c)),l=t,p=s[Yr(u,c)>>2],s[l>>2]=p,ae(e,2738,t),c=c+1|0,Ir(f)>>>0>c>>>0;);ae(e,5115,0),s[e+248>>2]=0,s[e+252>>2]=0,s[e+240>>2]=0,s[e+244>>2]=0,s[e+232>>2]=0,s[e+236>>2]=0,s[e+224>>2]=0,s[e+228>>2]=0,x=t+16|0,qn(o),er(a),qn(i),x=o+96|0},updateBufferInfo:function(e,t,r,n,o,i,a,c,u,f){e=A(e),t=A(t),r=A(r),n=A(n),o=A(o),i|=0,a|=0,c=A(c),u|=0,f|=0;var d,l,p,E=0,m=0;x=d=x-128|0,l=L(),b[d+104>>2]=t,b[d+112>>2]=+A(g(e))<=1e-6?A(1):e,i=(p=O(i,8e3))>>31,s[d+120>>2]=p,s[d+124>>2]=i,s[d+56>>2]=p,s[d+60>>2]=i,b[d+108>>2]=r,i=s[d+108>>2],s[d+40>>2]=s[d+104>>2],s[d+44>>2]=i,i=s[d+116>>2],s[d+48>>2]=s[d+112>>2],s[d+52>>2]=i,b[d+100>>2]=o,b[d+96>>2]=n,i=s[d+100>>2],s[d+32>>2]=s[d+96>>2],s[d+36>>2]=i,e=b[d+48>>2],+A(g(e))<=1e-6&&(s[d+48>>2]=1065353216,e=A(1)),h[l+224>>3]=b[d+32>>2],h[l+232>>3]=b[d+36>>2],b[l+76>>2]=b[d+40>>2],t=b[d+44>>2],b[l+72>>2]=t,h[l+288>>3]=A(t*b[l+80>>2]),h[l+272>>3]=A(t*b[l+84>>2]),h[l+280>>3]=A(t*b[l+88>>2]),h[l+376>>3]=+t/20*3,i=s[d+60>>2],s[l+24>>2]=s[d+56>>2],s[l+28>>2]=i,b[l+184>>2]=e,i=L(),s[d+80>>2]=a,b[d+88>>2]=c,s[d+72>>2]=-1,s[d+76>>2]=-1,s[d+8>>2]=-1,s[d+12>>2]=-1,s[d+84>>2]=u,a=s[d+84>>2],s[d+16>>2]=s[d+80>>2],s[d+20>>2]=a,s[d+92>>2]=f,a=s[d+92>>2],s[d+24>>2]=s[d+88>>2],s[d+28>>2]=a,s[d+64>>2]=-1,a=s[d+68>>2],s[d>>2]=s[d+64>>2],s[d+4>>2]=a,x=u=x-16|0,s[i+92>>2]=s[d+16>>2],e=b[d+24>>2],A(g(e))<A(0x8000000000000000)?(f=A(g(e))>=A(1)?~~(e>A(0)?A(y(A(w(A(e*A(2.3283064365386963e-10)))),A(4294967296))):A(T(A(A(e-A(~~e>>>0>>>0))*A(2.3283064365386963e-10)))))>>>0:0,a=~~e>>>0):(f=-2147483648,a=0),s[i+64>>2]=a,s[i+68>>2]=f,s[i+96>>2]=s[d+20>>2],s[i+172>>2]=s[d+28>>2],ne(a=i+656|0,i+96|0),Ir(a)>>>0>=61&&(E=u,m=mn(a),s[E+8>>2]=m,f=s[Nr(u,u+8|0)>>2],x=i=x-16|0,s[i+8>>2]=f,E=i,m=mn(a),s[E>>2]=m,tn(a,hr(4+(f=s[a>>2]+(s[i+8>>2]-s[i>>2]>>2<<2)|0)|0,s[a+4>>2],f)),Zt(f),x=i+16|0),x=u+16|0,x=d+128|0},updateSwitchInfo:function(e,t,r,n,o,a){e|=0,t|=0,r=A(r),n|=0,o=A(o),a=A(a);var c,u,f,d=A(0);x=u=x-80|0,c=L(),b[u+76>>2]=a,b[u+72>>2]=o,s[u+68>>2]=1061158912,s[u+60>>2]=1045220557,s[u+64>>2]=1053609165,b[u+56>>2]=r,i[u+52|0]=n,s[u+48>>2]=50,s[(n=u)+40>>2]=e,s[n+44>>2]=t,n=z(n,n+40|0,40),r=b[n+20>>2],+A(g(r))<=1e-6&&(s[n+20>>2]=1045220557,r=A(.20000000298023224)),o=b[n+24>>2],+A(g(o))<=1e-6&&(s[n+24>>2]=1053609165,o=A(.4000000059604645)),a=b[n+28>>2],+A(g(a))<=1e-6&&(s[n+28>>2]=1061158912,a=A(.75)),d=b[n+16>>2],+A(g(d))<=1e-6&&(s[n+16>>2]=1084227584,d=A(5)),e=s[n+4>>2],s[c+32>>2]=s[n>>2],s[c+36>>2]=e,e=t=s[n+8>>2],s[c+40>>2]=e,s[c+44>>2]=e>>31,e=l[n+12|0],s[c+192>>2]=1084227584,i[c+178|0]=e,b[c+188>>2]=d,d=A(0|t),h[c+288>>3]=A(r*d),b[c+88>>2]=a,b[c+84>>2]=o,b[c+80>>2]=r,h[c+280>>3]=A(a*d),f=+A(o*d),h[c+272>>3]=f,s[c+132>>2]=4,s[c+136>>2]=2,s[c+124>>2]=12,s[c+128>>2]=5,h[c+376>>3]=+(0|t)/20*3,s[c+360>>2]=-687194767,s[c+364>>2]=-1077055325,s[c+336>>2]=-1717986918,s[c+340>>2]=1072273817,s[c+328>>2]=858993459,s[c+332>>2]=1072902963,s[c+320>>2]=-858993459,s[c+324>>2]=1072483532,s[c+116>>2]=10,s[c+120>>2]=10,i[c+177|0]=0,h[c+368>>3]=f+12,s[c+64>>2]=0,s[c+68>>2]=0,s[c+92>>2]=0,x=n+80|0},updatePreloadSupplier:function(e,t){var r,n,o;e|=0,t|=0,x=r=x-16|0,n=L(),s[r+12>>2]=t,s[r+8>>2]=O(e,8e3),e=s[r+12>>2],s[r>>2]=s[r+8>>2],s[r+4>>2]=e,x=e=x-16|0,t=s[r>>2],s[n+668>>2]=t,o=s[r+4>>2],s[n+672>>2]=o,s[e+4>>2]=o,s[e>>2]=t,ae(n,4088,e),x=e+16|0,x=r+16|0},getPredictedBitrate:function(e,t){e|=0,t|=0;var r,n=0,o=0,a=0,c=0,u=0,f=0,d=A(0),p=0,m=0,D=A(0),k=0,v=0,_=0,R=0,M=0,P=A(0),S=A(0),j=0,F=0,I=0,N=0,U=0,X=A(0),H=A(0),Q=A(0),G=0,B=0,W=0,Z=0,V=0,Y=0,J=0,z=0,q=0,K=0,$=0;if(n=L(),x=r=x-48|0,o=Be(),a=s[n+36>>2],c=s[n+32>>2],s[n+8>>2]=o-c,s[n+12>>2]=C-((o>>>0<c>>>0)+a|0),f=h[n+256>>3],d=b[n+72>>2],u=s[n+28>>2],s[(o=r)+32>>2]=s[n+24>>2],s[o+36>>2]=u,h[o+24>>3]=d,h[o+16>>3]=f,s[o+8>>2]=t,s[o>>2]=c,s[o+4>>2]=a,ae(n,5029,o),d=b[n+200>>2],D=A(d*A(s[n+148>>2])),t=A(g(D))<A(2147483648)?~~D:-2147483648,s[n+140>>2]=t,d=A(d*A(s[n+152>>2])),t=A(g(d))<A(2147483648)?~~d:-2147483648,s[n+144>>2]=t,x=t=x-176|0,c=ve(t+160|0,1189),o=Be(),u=s[n+32>>2],a=C-(s[n+36>>2]+(u>>>0>o>>>0)|0)|0,u=o-u|0,s[n+8>>2]=u,s[n+12>>2]=a,o=-1,(_=u>>>0<(p=O(s[n+548>>2],1e3)-2e3|0)>>>0)&(0|a)<=(0|(u=p>>31))|(0|a)<(0|u)){if(kr(o=n+680|0)&&-1!=s[wr(o)+44>>2]&&-1!=(0|(o=s[wr(o)+8>>2])))s[t+112>>2]=o,ae(n,4152,t+112|0);else{if(u=-1,o=0,(0|(p=s[n+544>>2]))<=0)a=-1;else{a=(0|e)<0;e:{for(;;){if(!a){a=s[sr(n+576|0,0)>>2],p=s[n+544>>2];break e}if((0|p)==(0|(o=o+1|0)))break}a=-1}if(o=1,!((0|p)<=1))for(p=n+576|0,k=(0|e)<0;k||h[n+336>>3]*+s[n+24>>2]>+s[sr(p,o)>>2]&&(u=s[sr(p,o)>>2]),(0|(o=o+1|0))<s[n+544>>2];);}o=(0|a)<(0|u)?u:a}o=l[n+180|0]&&s[n+168>>2]>1?e:o,a=fe(n,s[n+140>>2],s[n+144>>2]),s[n+108>>2]=a,(0|a)>0&&(o=he(n,o,a)),(0|(a=s[n+172>>2]))<=0|(0|o)<=(0|a)||(a=Dr(c),s[t+104>>2]=s[n+172>>2],s[t+100>>2]=o,s[t+96>>2]=a,ae(n,2170,t+96|0),o=s[n+172>>2]),s[n+100>>2]=e,h[n+256>>3]=h[n+232>>3],Te(a=n+644|0,n+256|0),Fr(a)>>>0>E[n+120>>2]&&(q=t,K=mn(a),s[q+144>>2]=K,Ve(a,s[Nr(t+152|0,t+144|0)>>2])),q=n,$=Re(n),h[q+264>>3]=$,s[t+144>>2]=e,s[t+148>>2]=e>>31,lr(a=n+620|0,t+144|0),Fr(a)>>>0>s[n+116>>2]<<1>>>0&&(q=t,K=mn(a),s[q+144>>2]=K,Ve(a,s[Nr(t+136|0,t+144|0)>>2])),(u=s[n+24>>2])>>>0<40001&(0|(a=s[n+28>>2]))<=0|(0|a)<0||(d=A(A(+(u>>>0)+4294967296*+(0|a))/b[n+184>>2]),A(g(d))<A(0x8000000000000000)?(u=A(g(d))>=A(1)?~~(d>A(0)?A(y(A(w(A(d*A(2.3283064365386963e-10)))),A(4294967296))):A(T(A(A(d-A(~~d>>>0>>>0))*A(2.3283064365386963e-10)))))>>>0:0,a=~~d>>>0):(u=-2147483648,a=0),s[t+144>>2]=a,s[t+148>>2]=u,fr(a=n+608|0,t+144|0),Fr(a)>>>0<=E[n+124>>2]||(q=t,K=mn(a),s[q+128>>2]=K,Ve(a,s[Nr(t+120|0,t+128|0)>>2]))),a=Dr(c),u=Be(),p=s[n+24>>2],k=s[n+28>>2],m=s[n+48>>2],R=s[n+52>>2],f=h[n+256>>3],v=s[n+92>>2],_=s[n+64>>2],N=s[n+68>>2],U=l[n+180|0],s[t+84>>2]=s[n+168>>2],s[t+80>>2]=U,s[t+72>>2]=_,s[t+76>>2]=N,s[t- -64>>2]=v,s[t+56>>2]=0,s[t+60>>2]=0,s[t+48>>2]=0,s[t+52>>2]=0,h[t+40>>3]=f,s[t+36>>2]=e,s[t+32>>2]=o,s[t+24>>2]=m,s[t+28>>2]=R,s[t+16>>2]=p,s[t+20>>2]=k,s[t+8>>2]=u,s[t+12>>2]=C,s[t>>2]=a,ae(n,3218,t)}if(Or(c),x=t+176|0,t=o,-1==(0|o)){if(o=0,x=c=x-352|0,k=ve(c+336|0,1086),a=Be(),t=e,s[n+100>>2]=e,h[n+256>>3]=h[n+232>>3],e=s[n+32>>2],u=C-(s[n+36>>2]+(e>>>0>a>>>0)|0)|0,s[n+8>>2]=a-e,s[n+12>>2]=u,Te(e=n+644|0,n+256|0),Fr(e)>>>0>E[n+120>>2]&&(q=c,K=mn(e),s[q+320>>2]=K,Ve(e,s[Nr(c+328|0,c+320|0)>>2])),q=n,$=Re(n),h[q+264>>3]=$,h[n+256>>3]<.1&&(s[n+156>>2]=s[n+156>>2]+1),1==s[n+96>>2]&&(s[n+160>>2]=s[n+160>>2]+1),x=e=x-16|0,q=e,K=Ct(u=n+656|0),s[q+8>>2]=K,q=e,K=Xt(u),s[q>>2]=K,wt(e+8|0,e))for(;x=a=x-16|0,p=e+8|0,s[a+8>>2]=s[p>>2],m=s[Xr(a+8|0)>>2],x=a+16|0,a=s[m>>2],Xr(p),q=e,K=Xt(u),s[q>>2]=K,o=(1==(0|a))+o|0,wt(p,e););if(x=e+16|0,s[n+164>>2]=o,s[c+320>>2]=t,R=t>>31,s[c+324>>2]=R,lr(p=n+620|0,c+320|0),Fr(p)>>>0>s[n+116>>2]<<1>>>0&&(q=c,K=mn(p),s[q+320>>2]=K,Ve(p,s[Nr(c+312|0,c+320|0)>>2])),(o=s[n+24>>2])>>>0<40001&(0|(e=s[n+28>>2]))<=0|(0|e)<0||(d=A(A(+(o>>>0)+4294967296*+(0|e))/b[n+184>>2]),A(g(d))<A(0x8000000000000000)?(o=A(g(d))>=A(1)?~~(d>A(0)?A(y(A(w(A(d*A(2.3283064365386963e-10)))),A(4294967296))):A(T(A(A(d-A(~~d>>>0>>>0))*A(2.3283064365386963e-10)))))>>>0:0,e=~~d>>>0):(o=-2147483648,e=0),s[c+320>>2]=e,s[c+324>>2]=o,fr(e=n+608|0,c+320|0),Fr(e)>>>0<=E[n+124>>2]||(q=c,K=mn(e),s[q+304>>2]=K,Ve(e,s[Nr(c+296|0,c+304|0)>>2]))),s[c+320>>2]=0,s[c+324>>2]=0,-1!=(s[n+56>>2]&s[n+60>>2])&&Fr(e=n+608|0)){if(e=Hr(e,Fr(e)-1|0),a=s[e>>2],v=s[e+4>>2],e=s[n+56>>2],o=s[n+60>>2]-(v+(a>>>0>e>>>0)|0)|0,m=(e=e-a|0)+(u=o>>31)|0,o=o+u|0,h[c+320>>3]=(+((m^u)>>>0)+4294967296*+(u^(e>>>0>m>>>0?o+1|0:o)))/(+(a>>>0)+4294967296*+(0|v)),Te(e=n+632|0,c+320|0),Fr(e)>>>0>E[n+128>>2]&&(q=c,K=mn(e),s[q+304>>2]=K,Ve(e,s[Nr(c+288|0,c+304|0)>>2])),o=mn(e),a=nn(e),x=e=x-32|0,s[e+16>>2]=a,s[e+24>>2]=o,Jr(e+24|0,e+16|0)&&(s[e>>2]=s[e+24>>2],Jr(xr(e),e+16|0)))for(;h[s[e+24>>2]>>3]<h[s[e>>2]>>3]&&(s[e+24>>2]=s[e>>2]),Jr(xr(e),e+16|0););x=e+32|0,s[c+304>>2]=s[e+24>>2],f=h[s[c+304>>2]>>3],f=(+(ue(n)>>>0)+4294967296*+(0|C))/(f+1),g(f)<0x8000000000000000?(o=g(f)>=1?~~(f>0?y(w(2.3283064365386963e-10*f),4294967295):T(2.3283064365386963e-10*(f-+(~~f>>>0>>>0))))>>>0:0,e=~~f>>>0):(o=-2147483648,e=0),s[n+48>>2]=e,s[n+52>>2]=o}else q=n,K=ue(n),s[q+48>>2]=K,s[n+52>>2]=C,Te(n+632|0,c+320|0),e=s[n+48>>2],o=s[n+52>>2];s[n+56>>2]=e,s[n+60>>2]=o,(o=s[n+92>>2])&&(e=s[n+12>>2],a=s[n+8>>2],s[n+16>>2]=a,s[n+20>>2]=e,s[c+268>>2]=1,s[c+264>>2]=o,s[c+256>>2]=a,s[c+260>>2]=e,ae(n,3785,c+256|0));e:{t:if(!(e=s[n+16>>2])&(0|(o=s[n+20>>2]))<=0|(0|o)<0||!(+((a=s[n+8>>2])-e>>>0)+4294967296*+((u=s[n+12>>2])-((e>>>0>a>>>0)+o|0)|0)<8e3)){l[n+176|0]&&(i[n+176|0]=0),f=h[n+312>>3],e=s[n+164>>2],j=h[n+304>>3],F=h[n+296>>3],o=Dr(k),I=21-(I=21-f)/(f=+(0|e)+1),h[c+248>>3]=I,F=31-(31-F)/f,h[c+240>>3]=F,s[c+224>>2]=o,j=41-(41-j)/f,h[c+232>>3]=j,ae(n,3055,c+224|0);r:{n:{o:{if((f=h[n+256>>3])<I){if(e=s[n+544>>2]<=0,f=h[n+336>>3]*+s[n+48>>2],a=g(f)<2147483648?~~f:-2147483648,e)break o;if(e=0,(0|a)<s[sr(u=n+576|0,0)>>2])break o;for(;;){if(o=s[sr(u,e)>>2],(0|(e=e+1|0))>=s[n+544>>2])break n;if(!((0|a)>=s[sr(u,e)>>2]))break}break n}a=s[n+48>>2],o=s[n+52>>2];i:{if(f<F){if(e=t,a>>>0<1001&(0|o)<=0|(0|o)<0)break e;if(f=h[n+320>>3]*(+(a>>>0)+4294967296*+(0|o)),!(g(f)<2147483648))break i;o=~~f;break r}if(e=t,!(f>=j)|a>>>0<1001&(0|o)<=0|(0|o)<0|s[n+544>>2]<=0)break e;for(o=n+576|0,e=0;;){if((0|t)<s[sr(o,e)>>2]){e=s[sr(o,e)>>2],u=o=s[n+48>>2],a=e,o=(_=e>>>0<o>>>0)&(0|(o=s[n+52>>2]))>=(0|(e>>=31))|(0|e)<(0|o)?u:a;break r}if(!((0|(e=e+1|0))<s[n+544>>2]))break}break t}o=-2147483648;break r}o=a}if((0|o)>(0|(e=t)))break e}if(e=t,-1==(0|o))break e;if(a=-1,s[n+544>>2]>0)for(m=n+576|0,e=2147483647;u=(v=o-s[sr(m,M)>>2]|0)>>31,(0|(u^=u+v))<(0|e)&&(a=s[sr(m,M)>>2],e=u),(0|(M=M+1|0))<s[n+544>>2];);if((0|t)>=(0|(e=a)))break e;if(!Fr(p))break e;q=c,K=Ct(p),s[q+304>>2]=K,q=c,K=Xt(p),s[q+280>>2]=K,o=0;r:if(wt(c+304|0,c+280|0))for(;;){if(x=a=x-16|0,s[a+8>>2]=s[c+304>>2],u=s[Cr(a+8|0)>>2],x=a+16|0,(0|t)!=s[u>>2]|(0|R)!=s[u+4>>2])break r;if(Cr(a=c+304|0),q=c,K=Xt(p),s[q+280>>2]=K,o=o+1|0,!wt(a,c+280|0))break}if(!(s[n+132>>2]>(0|o)||+s[n+548>>2]>=h[n+256>>3]/+b[n+184>>2]))break e}else s[c+208>>2]=s[n+92>>2],s[c+200>>2]=e,s[c+204>>2]=o,s[c+192>>2]=a,s[c+196>>2]=u,ae(n,4719,c+192|0);e=t}o=fe(n,s[n+140>>2],s[n+144>>2]),s[n+108>>2]=o,(0|o)>0&&(e=he(n,e,o)),(0|(u=it(n,t)))<=(0|(a=it(n,e)))|(u-a|0)<3?o=a:(e=ft(n,o=u-2|0),p=Dr(k),s[c+184>>2]=o,s[c+180>>2]=a,s[c+176>>2]=p,ae(n,2122,c+176|0)),(0|(a=s[n+172>>2]))<=0|(0|e)<=(0|a)||(a=Dr(k),s[c+168>>2]=s[n+172>>2],s[c+164>>2]=e,s[c+160>>2]=a,ae(n,2170,c+160|0),e=s[n+172>>2]),a=Dr(k),p=s[n+548>>2],M=s[n+8>>2],m=s[n+12>>2],d=b[n+72>>2],D=b[n+184>>2],P=b[n+192>>2],S=b[n+208>>2],X=b[n+212>>2],H=b[n+216>>2],Q=b[n+220>>2],f=h[n+256>>3],R=s[n+24>>2],v=s[n+28>>2],_=s[n+48>>2],N=s[n+52>>2],U=s[n+156>>2],G=s[n+92>>2],B=s[n+64>>2],W=s[n+68>>2],Z=s[n+20>>2],V=s[n+16>>2],Y=s[n+96>>2],J=s[n+164>>2],z=s[n+160>>2],s[c+156>>2]=o,s[c+152>>2]=u,s[c+112>>2]=z,s[c+108>>2]=J,s[c+104>>2]=Y,s[c+96>>2]=V,s[c+100>>2]=Z,s[c+88>>2]=B,s[c+92>>2]=W,s[c+72>>2]=G,s[c+68>>2]=U,s[c- -64>>2]=p,s[c+56>>2]=_,s[c+60>>2]=N,s[c+48>>2]=R,s[c+52>>2]=v,s[c+44>>2]=e,s[c+40>>2]=t,h[c+16>>3]=f,h[c+144>>3]=Q,h[c+136>>3]=H,h[c+128>>3]=X,h[c+120>>3]=S,h[c+80>>3]=P,h[c+32>>3]=D,h[c+24>>3]=d,s[c+8>>2]=M,s[c+12>>2]=m,s[c>>2]=a,ae(n,4207,c),s[n+104>>2]=e,t=s[n+12>>2],s[n>>2]=s[n+8>>2],s[n+4>>2]=t,h[n+248>>3]=h[n+232>>3],h[n+240>>3]=h[n+224>>3],Or(k),x=c+352|0,t=e}return x=r+48|0,e=L(),d=A(+E[e+48>>2]+4294967296*+s[e+52>>2]),D=b[L()+208>>2],P=b[L()+212>>2],S=A(b[L()+216>>2]*A(100)),n=A(g(S))<A(2147483648)?~~S:-2147483648,S=b[L()+220>>2],e=Ot(28),s[e+20>>2]=n,P=A(P*A(100)),o=A(g(P))<A(2147483648)?~~P:-2147483648,s[e+16>>2]=o,D=A(D*A(100)),o=A(g(D))<A(2147483648)?~~D:-2147483648,s[e+12>>2]=o,o=A(g(d))<A(2147483648)?~~d:-2147483648,s[e+8>>2]=o,s[e+4>>2]=0,s[e>>2]=t,d=A(S*A(100)),t=A(g(d))<A(2147483648)?~~d:-2147483648,s[e+24>>2]=t,0|e},getPreloadBitrate:function(e){var t,r,n,o,i;return e|=0,x=t=x-32|0,n=L(),x=r=x-48|0,s[t+24>>2]=0,s[t+8>>2]=-1,s[t+12>>2]=-1,s[t+16>>2]=-1,s[t+20>>2]=2,o=s[n+672>>2],i=s[n+668>>2],s[r>>2]=e,s[r+4>>2]=i,s[r+8>>2]=o,ae(n,4014,r),ee(r+24|0,n,e||0),s[t+24>>2]=s[r+40>>2],e=s[r+36>>2],s[t+16>>2]=s[r+32>>2],s[t+20>>2]=e,e=s[r+28>>2],s[t+8>>2]=s[r+24>>2],s[t+12>>2]=e,x=r+48|0,e=Ot(20),s[e>>2]=s[t+8>>2],s[e+4>>2]=s[t+12>>2],s[e+8>>2]=s[t+24>>2],s[e+12>>2]=s[t+16>>2],s[e+16>>2]=s[t+20>>2],x=t+32|0,0|e},setDebugModel:function(e){var t,r;e|=0,t=L(),r=e,i[t+178|0]=r},__indirect_function_table:io,free:B,__errno_location:function(){return 10976},__stdio_exit:function(){var e=0;if(e=s[2743])for(;Ze(e),e=s[e+56>>2];);Ze(s[2262]),Ze(s[2224]),Ze(s[2300])},emscripten_stack_init:function(){X=12704},emscripten_stack_get_free:function(){return x-X|0},emscripten_stack_get_end:function(){return 0|X},stackSave:function(){return 0|x},stackRestore:function(e){x=e|=0},stackAlloc:function(e){return x=e=x-(e|=0)&-16,0|e},dynCall_jiji:function(e,t,r,n,o){return t|=0,r|=0,n|=0,o|=0,e=0|io[0|(e|=0)](t,r,n,o),N(0|C),0|e}}}(e)}(ve)},instantiate:function(e,t){return{then:function(t){var r=new g.Module(e);return t({instance:new g.Instance(r)}),{catch:function(){}}}}},RuntimeError:Error};h=[],"object"!==e(g)&&K("no native wasm support detected");var m=!1;function y(e,t){e||K("Assertion failed"+(t?": "+t:""))}function w(e,t,r,n,o){var a={string:function(e){var t=0;if(null!=e&&0!==e){var r=1+(e.length<<2);j(e,t=Ie(r),r)}return t},array:function(e){var t=Ie(e.length);return I(e,t),t}},s=function(e){var t=i["_"+e];return y(t,"Cannot call unknown function "+e+", make sure it is exported"),t}(e),c=[],u=0;if(y("array"!==t,'Return type should not be "array".'),n)for(var f=0;f<n.length;f++){var d=a[r[f]];d?(0===u&&(u=je()),c[f]=d(n[f])):c[f]=n[f]}var l,p=s.apply(null,c);return l=p,0!==u&&Fe(u),p=function(e){return"string"===t?P(e):"boolean"===t?Boolean(e):e}(l),p}var T,D,k,v,_,R="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function M(e,t,r){for(var n=t+r,o=t;e[o]&&!(o>=n);)++o;if(o-t>16&&e.subarray&&R)return R.decode(e.subarray(t,o));for(var i="";t<o;){var a=e[t++];if(128&a){var s=63&e[t++];if(192!=(224&a)){var c=63&e[t++];if(224==(240&a)?a=(15&a)<<12|s<<6|c:(240!=(248&a)&&b("Invalid UTF-8 leading byte 0x"+a.toString(16)+" encountered when deserializing a UTF-8 string in wasm memory to a JS string!"),a=(7&a)<<18|s<<12|c<<6|63&e[t++]),a<65536)i+=String.fromCharCode(a);else{var u=a-65536;i+=String.fromCharCode(55296|u>>10,56320|1023&u)}}else i+=String.fromCharCode((31&a)<<6|s)}else i+=String.fromCharCode(a)}return i}function P(e,t){return e?M(k,e,t):""}function S(e,t,r,n){if(!(n>0))return 0;for(var o=r,i=r+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)),s<=127){if(r>=i)break;t[r++]=s}else if(s<=2047){if(r+1>=i)break;t[r++]=192|s>>6,t[r++]=128|63&s}else if(s<=65535){if(r+2>=i)break;t[r++]=224|s>>12,t[r++]=128|s>>6&63,t[r++]=128|63&s}else{if(r+3>=i)break;s>1114111&&b("Invalid Unicode code point 0x"+s.toString(16)+" encountered when serializing a JS string to a UTF-8 string in wasm memory! (Valid unicode code points should be in range 0-0x10FFFF)."),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-o}function j(e,t,r){return y("number"==typeof r,"stringToUTF8(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!"),S(e,k,t,r)}function F(e){for(var t=0,r=0;r<e.length;++r){var n=e.charCodeAt(r);n>=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}function I(e,t){y(e.length>=0,"writeArrayToMemory array must have a length (should be an array or typed array)"),D.set(e,t)}function N(e){T=e,i.HEAP8=D=new Int8Array(e),i.HEAP16=new Int16Array(e),i.HEAP32=v=new Int32Array(e),i.HEAPU8=k=new Uint8Array(e),i.HEAPU16=new Uint16Array(e),i.HEAPU32=_=new Uint32Array(e),i.HEAPF32=new Float32Array(e),i.HEAPF64=new Float64Array(e)}"undefined"!=typeof TextDecoder&&new TextDecoder("utf-16le");var U=8192;i.TOTAL_STACK&&y(U===i.TOTAL_STACK,"the stack size can no longer be determined at runtime");var x,X=i.INITIAL_MEMORY||65536;function C(){var e=Se();y(0==(3&e)),v[e+4>>2]=34821223,v[e+8>>2]=2310721022,v[0]=1668509029}function H(){if(!m){var e=Se(),t=_[e+4>>2],r=_[e+8>>2];34821223==t&&2310721022==r||K("Stack overflow! Stack cookie has been overwritten, expected hex dwords 0x89BACDFE and 0x2135467, but received 0x"+r.toString(16)+" 0x"+t.toString(16)),1668509029!==v[0]&&K("Runtime error: The application has corrupted its heap memory area (address zero)!")}}Object.getOwnPropertyDescriptor(i,"INITIAL_MEMORY")||Object.defineProperty(i,"INITIAL_MEMORY",{configurable:!0,get:function(){K("Module.INITIAL_MEMORY has been replaced with plain INITIAL_MEMORY (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),y(X>=U,"INITIAL_MEMORY should be larger than TOTAL_STACK, was "+X+"! (TOTAL_STACK="+U+")"),y("undefined"!=typeof Int32Array&&"undefined"!=typeof Float64Array&&void 0!==Int32Array.prototype.subarray&&void 0!==Int32Array.prototype.set,"JS engine does not provide full typed array support"),(A=i.wasmMemory?i.wasmMemory:new g.Memory({initial:X/65536,maximum:32768}))&&(T=A.buffer),y((X=T.byteLength)%65536==0),N(T),function(){var e=new Int16Array(1),t=new Int8Array(e.buffer);if(e[0]=25459,115!==t[0]||99!==t[1])throw"Runtime error: expected the system to be little-endian! (Run with -s SUPPORT_BIG_ENDIAN=1 to bypass)"}();var Q=[],G=[],B=[],W=!1;y(Math.imul,"This browser does not support Math.imul(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),y(Math.fround,"This browser does not support Math.fround(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),y(Math.clz32,"This browser does not support Math.clz32(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),y(Math.trunc,"This browser does not support Math.trunc(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");var L=0,Z=null,V=null,Y={};function J(e){for(var t=e;;){if(!Y[e])return e;e=t+Math.random()}}function z(e){L++,i.monitorRunDependencies&&i.monitorRunDependencies(L),e?(y(!Y[e]),Y[e]=1,null===Z&&"undefined"!=typeof setInterval&&(Z=setInterval((function(){if(m)return clearInterval(Z),void(Z=null);var e=!1;for(var t in Y)e||(e=!0,E("still waiting on run dependencies:")),E("dependency: "+t);e&&E("(end of list)")}),1e4))):E("warning: run dependency added without ID")}function q(e){if(L--,i.monitorRunDependencies&&i.monitorRunDependencies(L),e?(y(Y[e]),delete Y[e]):E("warning: run dependency removed without ID"),0==L&&(null!==Z&&(clearInterval(Z),Z=null),V)){var t=V;V=null,t()}}function K(e){i.onAbort&&i.onAbort(e),E(e="Aborted("+e+")"),m=!0;var t=new g.RuntimeError(e);throw o(t),t}i.preloadedImages={},i.preloadedAudios={};var $,ee,te,re,ne="data:application/octet-stream;base64,";function oe(e){return e.startsWith(ne)}function ie(e,t){return function(){var r=e,n=t;return t||(n=i.asm),y(W,"native function `"+r+"` called before runtime initialization"),y(!0,"native function `"+r+"` called after runtime exit (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),n[e]||y(n[e],"exported native function `"+r+"` not found"),n[e].apply(null,arguments)}}function ae(e){try{if(e==$&&h)return new Uint8Array(h);var t=ke(e);if(t)return t;if(!d)throw"both async and sync fetching of the wasm failed"}catch(r){K(r)}}function se(e){for(;e.length>0;){var t=e.shift();if("function"!=typeof t){var r=t.func;"number"==typeof r?void 0===t.arg?ue(r)():ue(r)(t.arg):r(void 0===t.arg?null:t.arg)}else t(i)}}function ce(e){return e.replace(/\b_Z[\w\d_]+/g,(function(e){var t,r=(t=e,b("warning: build with -s DEMANGLE_SUPPORT=1 to link in libcxxabi demangling"),t);return e===r?e:r+" ["+e+"]"}))}function ue(e){return x.get(e)}function fe(e){this.excPtr=e,this.ptr=e-16,this.set_type=function(e){v[this.ptr+4>>2]=e},this.get_type=function(){return v[this.ptr+4>>2]},this.set_destructor=function(e){v[this.ptr+8>>2]=e},this.get_destructor=function(){return v[this.ptr+8>>2]},this.set_refcount=function(e){v[this.ptr>>2]=e},this.set_caught=function(e){e=e?1:0,D[this.ptr+12>>0]=e},this.get_caught=function(){return 0!=D[this.ptr+12>>0]},this.set_rethrown=function(e){e=e?1:0,D[this.ptr+13>>0]=e},this.get_rethrown=function(){return 0!=D[this.ptr+13>>0]},this.init=function(e,t){this.set_type(e),this.set_destructor(t),this.set_refcount(0),this.set_caught(!1),this.set_rethrown(!1)},this.add_ref=function(){var e=v[this.ptr>>2];v[this.ptr>>2]=e+1},this.release_ref=function(){var e=v[this.ptr>>2];return v[this.ptr>>2]=e-1,y(e>0),1===e}}function de(e){try{return A.grow(e-T.byteLength+65535>>>16),N(A.buffer),1}catch(t){E("emscripten_realloc_buffer: Attempted to grow heap from "+T.byteLength+" bytes to "+e+" bytes, but got error: "+t)}}oe($="index.wasm")||(ee=$,$=i.locateFile?i.locateFile(ee,l):l+ee);var le={splitPath:function(e){return/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(e).slice(1)},normalizeArray:function(e,t){for(var r=0,n=e.length-1;n>=0;n--){var o=e[n];"."===o?e.splice(n,1):".."===o?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r;r--)e.unshift("..");return e},normalize:function(e){var t="/"===e.charAt(0),r="/"===e.substr(-1);return(e=le.normalizeArray(e.split("/").filter((function(e){return!!e})),!t).join("/"))||t||(e="."),e&&r&&(e+="/"),(t?"/":"")+e},dirname:function(e){var t=le.splitPath(e),r=t[0],n=t[1];return r||n?(n&&(n=n.substr(0,n.length-1)),r+n):"."},basename:function(e){if("/"===e)return"/";var t=(e=(e=le.normalize(e)).replace(/\/$/,"")).lastIndexOf("/");return-1===t?e:e.substr(t+1)},extname:function(e){return le.splitPath(e)[3]},join:function(){var e=Array.prototype.slice.call(arguments,0);return le.normalize(e.join("/"))},join2:function(e,t){return le.normalize(e+"/"+t)}},pe={resolve:function(){for(var e="",t=!1,r=arguments.length-1;r>=-1&&!t;r--){var n=r>=0?arguments[r]:Ae.cwd();if("string"!=typeof n)throw new TypeError("Arguments to path.resolve must be strings");if(!n)return"";e=n+"/"+e,t="/"===n.charAt(0)}return(t?"/":"")+(e=le.normalizeArray(e.split("/").filter((function(e){return!!e})),!t).join("/"))||"."},relative:function(e,t){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var r=e.length-1;r>=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=pe.resolve(e).substr(1),t=pe.resolve(t).substr(1);for(var n=r(e.split("/")),o=r(t.split("/")),i=Math.min(n.length,o.length),a=i,s=0;s<i;s++)if(n[s]!==o[s]){a=s;break}var c=[];for(s=a;s<n.length;s++)c.push("..");return(c=c.concat(o.slice(a))).join("/")}},Ee={ttys:[],init:function(){},shutdown:function(){},register:function(e,t){Ee.ttys[e]={input:[],output:[],ops:t},Ae.registerDevice(e,Ee.stream_ops)},stream_ops:{open:function(e){var t=Ee.ttys[e.node.rdev];if(!t)throw new Ae.ErrnoError(43);e.tty=t,e.seekable=!1},close:function(e){e.tty.ops.flush(e.tty)},flush:function(e){e.tty.ops.flush(e.tty)},read:function(e,t,r,n,o){if(!e.tty||!e.tty.ops.get_char)throw new Ae.ErrnoError(60);for(var i=0,a=0;a<n;a++){var s;try{s=e.tty.ops.get_char(e.tty)}catch(c){throw new Ae.ErrnoError(29)}if(void 0===s&&0===i)throw new Ae.ErrnoError(6);if(null==s)break;i++,t[r+a]=s}return i&&(e.node.timestamp=Date.now()),i},write:function(e,t,r,n,o){if(!e.tty||!e.tty.ops.put_char)throw new Ae.ErrnoError(60);try{for(var i=0;i<n;i++)e.tty.ops.put_char(e.tty,t[r+i])}catch(a){throw new Ae.ErrnoError(29)}return n&&(e.node.timestamp=Date.now()),i}},default_tty_ops:{get_char:function(e){if(!e.input.length){var t=null;if("undefined"!=typeof window&&"function"==typeof window.prompt?null!==(t=window.prompt("Input: "))&&(t+="\n"):"function"==typeof readline&&null!==(t=readline())&&(t+="\n"),!t)return null;e.input=Te(t,!0)}return e.input.shift()},put_char:function(e,t){null===t||10===t?(p(M(e.output,0)),e.output=[]):0!=t&&e.output.push(t)},flush:function(e){e.output&&e.output.length>0&&(p(M(e.output,0)),e.output=[])}},default_tty1_ops:{put_char:function(e,t){null===t||10===t?(E(M(e.output,0)),e.output=[]):0!=t&&e.output.push(t)},flush:function(e){e.output&&e.output.length>0&&(E(M(e.output,0)),e.output=[])}}},be={ops_table:null,mount:function(e){return be.createNode(null,"/",16895,0)},createNode:function(e,t,r,n){if(Ae.isBlkdev(r)||Ae.isFIFO(r))throw new Ae.ErrnoError(63);be.ops_table||(be.ops_table={dir:{node:{getattr:be.node_ops.getattr,setattr:be.node_ops.setattr,lookup:be.node_ops.lookup,mknod:be.node_ops.mknod,rename:be.node_ops.rename,unlink:be.node_ops.unlink,rmdir:be.node_ops.rmdir,readdir:be.node_ops.readdir,symlink:be.node_ops.symlink},stream:{llseek:be.stream_ops.llseek}},file:{node:{getattr:be.node_ops.getattr,setattr:be.node_ops.setattr},stream:{llseek:be.stream_ops.llseek,read:be.stream_ops.read,write:be.stream_ops.write,allocate:be.stream_ops.allocate,mmap:be.stream_ops.mmap,msync:be.stream_ops.msync}},link:{node:{getattr:be.node_ops.getattr,setattr:be.node_ops.setattr,readlink:be.node_ops.readlink},stream:{}},chrdev:{node:{getattr:be.node_ops.getattr,setattr:be.node_ops.setattr},stream:Ae.chrdev_stream_ops}});var o=Ae.createNode(e,t,r,n);return Ae.isDir(o.mode)?(o.node_ops=be.ops_table.dir.node,o.stream_ops=be.ops_table.dir.stream,o.contents={}):Ae.isFile(o.mode)?(o.node_ops=be.ops_table.file.node,o.stream_ops=be.ops_table.file.stream,o.usedBytes=0,o.contents=null):Ae.isLink(o.mode)?(o.node_ops=be.ops_table.link.node,o.stream_ops=be.ops_table.link.stream):Ae.isChrdev(o.mode)&&(o.node_ops=be.ops_table.chrdev.node,o.stream_ops=be.ops_table.chrdev.stream),o.timestamp=Date.now(),e&&(e.contents[t]=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,t){var r=e.contents?e.contents.length:0;if(!(r>=t)){t=Math.max(t,r*(r<1048576?2:1.125)>>>0),0!=r&&(t=Math.max(t,256));var n=e.contents;e.contents=new Uint8Array(t),e.usedBytes>0&&e.contents.set(n.subarray(0,e.usedBytes),0)}},resizeFileStorage:function(e,t){if(e.usedBytes!=t)if(0==t)e.contents=null,e.usedBytes=0;else{var r=e.contents;e.contents=new Uint8Array(t),r&&e.contents.set(r.subarray(0,Math.min(t,e.usedBytes))),e.usedBytes=t}},node_ops:{getattr:function(e){var t={};return t.dev=Ae.isChrdev(e.mode)?e.id:1,t.ino=e.id,t.mode=e.mode,t.nlink=1,t.uid=0,t.gid=0,t.rdev=e.rdev,Ae.isDir(e.mode)?t.size=4096:Ae.isFile(e.mode)?t.size=e.usedBytes:Ae.isLink(e.mode)?t.size=e.link.length:t.size=0,t.atime=new Date(e.timestamp),t.mtime=new Date(e.timestamp),t.ctime=new Date(e.timestamp),t.blksize=4096,t.blocks=Math.ceil(t.size/t.blksize),t},setattr:function(e,t){void 0!==t.mode&&(e.mode=t.mode),void 0!==t.timestamp&&(e.timestamp=t.timestamp),void 0!==t.size&&be.resizeFileStorage(e,t.size)},lookup:function(e,t){throw Ae.genericErrors[44]},mknod:function(e,t,r,n){return be.createNode(e,t,r,n)},rename:function(e,t,r){if(Ae.isDir(e.mode)){var n;try{n=Ae.lookupNode(t,r)}catch(i){}if(n)for(var o in n.contents)throw new Ae.ErrnoError(55)}delete e.parent.contents[e.name],e.parent.timestamp=Date.now(),e.name=r,t.contents[r]=e,t.timestamp=e.parent.timestamp,e.parent=t},unlink:function(e,t){delete e.contents[t],e.timestamp=Date.now()},rmdir:function(e,t){var r=Ae.lookupNode(e,t);for(var n in r.contents)throw new Ae.ErrnoError(55);delete e.contents[t],e.timestamp=Date.now()},readdir:function(e){var t=[".",".."];for(var r in e.contents)e.contents.hasOwnProperty(r)&&t.push(r);return t},symlink:function(e,t,r){var n=be.createNode(e,t,41471,0);return n.link=r,n},readlink:function(e){if(!Ae.isLink(e.mode))throw new Ae.ErrnoError(28);return e.link}},stream_ops:{read:function(e,t,r,n,o){var i=e.node.contents;if(o>=e.node.usedBytes)return 0;var a=Math.min(e.node.usedBytes-o,n);if(y(a>=0),a>8&&i.subarray)t.set(i.subarray(o,o+a),r);else for(var s=0;s<a;s++)t[r+s]=i[o+s];return a},write:function(e,t,r,n,o,i){if(y(!(t instanceof ArrayBuffer)),t.buffer===D.buffer&&(i=!1),!n)return 0;var a=e.node;if(a.timestamp=Date.now(),t.subarray&&(!a.contents||a.contents.subarray)){if(i)return y(0===o,"canOwn must imply no weird position inside the file"),a.contents=t.subarray(r,r+n),a.usedBytes=n,n;if(0===a.usedBytes&&0===o)return a.contents=t.slice(r,r+n),a.usedBytes=n,n;if(o+n<=a.usedBytes)return a.contents.set(t.subarray(r,r+n),o),n}if(be.expandFileStorage(a,o+n),a.contents.subarray&&t.subarray)a.contents.set(t.subarray(r,r+n),o);else for(var s=0;s<n;s++)a.contents[o+s]=t[r+s];return a.usedBytes=Math.max(a.usedBytes,o+n),n},llseek:function(e,t,r){var n=t;if(1===r?n+=e.position:2===r&&Ae.isFile(e.node.mode)&&(n+=e.node.usedBytes),n<0)throw new Ae.ErrnoError(28);return n},allocate:function(e,t,r){be.expandFileStorage(e.node,t+r),e.node.usedBytes=Math.max(e.node.usedBytes,t+r)},mmap:function(e,t,r,n,o,i){if(0!==t)throw new Ae.ErrnoError(28);if(!Ae.isFile(e.node.mode))throw new Ae.ErrnoError(43);var a,s,c=e.node.contents;if(2&i||c.buffer!==T){if((n>0||n+r<c.length)&&(c=c.subarray?c.subarray(n,n+r):Array.prototype.slice.call(c,n,n+r)),s=!0,!(a=void K("internal error: mmapAlloc called but `memalign` native symbol not exported")))throw new Ae.ErrnoError(48);D.set(c,a)}else s=!1,a=c.byteOffset;return{ptr:a,allocated:s}},msync:function(e,t,r,n,o){if(!Ae.isFile(e.node.mode))throw new Ae.ErrnoError(43);return 2&o||be.stream_ops.write(e,t,0,n,r,!1),0}}},he={0:"Success",1:"Arg list too long",2:"Permission denied",3:"Address already in use",4:"Address not available",5:"Address family not supported by protocol family",6:"No more processes",7:"Socket already connected",8:"Bad file number",9:"Trying to read unreadable message",10:"Mount device busy",11:"Operation canceled",12:"No children",13:"Connection aborted",14:"Connection refused",15:"Connection reset by peer",16:"File locking deadlock error",17:"Destination address required",18:"Math arg out of domain of func",19:"Quota exceeded",20:"File exists",21:"Bad address",22:"File too large",23:"Host is unreachable",24:"Identifier removed",25:"Illegal byte sequence",26:"Connection already in progress",27:"Interrupted system call",28:"Invalid argument",29:"I/O error",30:"Socket is already connected",31:"Is a directory",32:"Too many symbolic links",33:"Too many open files",34:"Too many links",35:"Message too long",36:"Multihop attempted",37:"File or path name too long",38:"Network interface is not configured",39:"Connection reset by network",40:"Network is unreachable",41:"Too many open files in system",42:"No buffer space available",43:"No such device",44:"No such file or directory",45:"Exec format error",46:"No record locks available",47:"The link has been severed",48:"Not enough core",49:"No message of desired type",50:"Protocol not available",51:"No space left on device",52:"Function not implemented",53:"Socket is not connected",54:"Not a directory",55:"Directory not empty",56:"State not recoverable",57:"Socket operation on non-socket",59:"Not a typewriter",60:"No such device or address",61:"Value too large for defined data type",62:"Previous owner died",63:"Not super-user",64:"Broken pipe",65:"Protocol error",66:"Unknown protocol",67:"Protocol wrong type for socket",68:"Math result not representable",69:"Read only file system",70:"Illegal seek",71:"No such process",72:"Stale file handle",73:"Connection timed out",74:"Text file busy",75:"Cross-device link",100:"Device not a stream",101:"Bad font file fmt",102:"Invalid slot",103:"Invalid request code",104:"No anode",105:"Block device required",106:"Channel number out of range",107:"Level 3 halted",108:"Level 3 reset",109:"Link number out of range",110:"Protocol driver not attached",111:"No CSI structure available",112:"Level 2 halted",113:"Invalid exchange",114:"Invalid request descriptor",115:"Exchange full",116:"No data (for no delay io)",117:"Timer expired",118:"Out of streams resources",119:"Machine is not on the network",120:"Package not installed",121:"The object is remote",122:"Advertise error",123:"Srmount error",124:"Communication error on send",125:"Cross mount point (not really error)",126:"Given log. name not unique",127:"f.d. invalid for this operation",128:"Remote address changed",129:"Can access a needed shared lib",130:"Accessing a corrupted shared lib",131:".lib section in a.out corrupted",132:"Attempting to link in too many libs",133:"Attempting to exec a shared library",135:"Streams pipe error",136:"Too many users",137:"Socket type not supported",138:"Not supported",139:"Protocol family not supported",140:"Can't send after socket shutdown",141:"Too many references",142:"Host is down",148:"No medium (in tape drive)",156:"Level 2 not synchronized"},Oe={},Ae={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:!1,ignorePermissions:!0,ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,lookupPath:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(e=pe.resolve(Ae.cwd(),e)))return{path:"",node:null};var r={follow_mount:!0,recurse_count:0};for(var n in r)void 0===t[n]&&(t[n]=r[n]);if(t.recurse_count>8)throw new Ae.ErrnoError(32);for(var o=le.normalizeArray(e.split("/").filter((function(e){return!!e})),!1),i=Ae.root,a="/",s=0;s<o.length;s++){var c=s===o.length-1;if(c&&t.parent)break;if(i=Ae.lookupNode(i,o[s]),a=le.join2(a,o[s]),Ae.isMountpoint(i)&&(!c||c&&t.follow_mount)&&(i=i.mounted.root),!c||t.follow)for(var u=0;Ae.isLink(i.mode);){var f=Ae.readlink(a);if(a=pe.resolve(le.dirname(a),f),i=Ae.lookupPath(a,{recurse_count:t.recurse_count}).node,u++>40)throw new Ae.ErrnoError(32)}}return{path:a,node:i}},getPath:function(e){for(var t;;){if(Ae.isRoot(e)){var r=e.mount.mountpoint;return t?"/"!==r[r.length-1]?r+"/"+t:r+t:r}t=t?e.name+"/"+t:e.name,e=e.parent}},hashName:function(e,t){for(var r=0,n=0;n<t.length;n++)r=(r<<5)-r+t.charCodeAt(n)|0;return(e+r>>>0)%Ae.nameTable.length},hashAddNode:function(e){var t=Ae.hashName(e.parent.id,e.name);e.name_next=Ae.nameTable[t],Ae.nameTable[t]=e},hashRemoveNode:function(e){var t=Ae.hashName(e.parent.id,e.name);if(Ae.nameTable[t]===e)Ae.nameTable[t]=e.name_next;else for(var r=Ae.nameTable[t];r;){if(r.name_next===e){r.name_next=e.name_next;break}r=r.name_next}},lookupNode:function(e,t){var r=Ae.mayLookup(e);if(r)throw new Ae.ErrnoError(r,e);for(var n=Ae.hashName(e.id,t),o=Ae.nameTable[n];o;o=o.name_next){var i=o.name;if(o.parent.id===e.id&&i===t)return o}return Ae.lookup(e,t)},createNode:function(t,r,n,o){y("object"===e(t));var i=new Ae.FSNode(t,r,n,o);return Ae.hashAddNode(i),i},destroyNode:function(e){Ae.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 t=Ae.flagModes[e];if(void 0===t)throw new Error("Unknown file open mode: "+e);return t},flagsToPermissionString:function(e){var t=["r","w","rw"][3&e];return 512&e&&(t+="w"),t},nodePermissions:function(e,t){return Ae.ignorePermissions||(!t.includes("r")||292&e.mode)&&(!t.includes("w")||146&e.mode)&&(!t.includes("x")||73&e.mode)?0:2},mayLookup:function(e){var t=Ae.nodePermissions(e,"x");return t||(e.node_ops.lookup?0:2)},mayCreate:function(e,t){try{return Ae.lookupNode(e,t),20}catch(r){}return Ae.nodePermissions(e,"wx")},mayDelete:function(e,t,r){var n;try{n=Ae.lookupNode(e,t)}catch(i){return i.errno}var o=Ae.nodePermissions(e,"wx");if(o)return o;if(r){if(!Ae.isDir(n.mode))return 54;if(Ae.isRoot(n)||Ae.getPath(n)===Ae.cwd())return 10}else if(Ae.isDir(n.mode))return 31;return 0},mayOpen:function(e,t){return e?Ae.isLink(e.mode)?32:Ae.isDir(e.mode)&&("r"!==Ae.flagsToPermissionString(t)||512&t)?31:Ae.nodePermissions(e,Ae.flagsToPermissionString(t)):44},MAX_OPEN_FDS:4096,nextfd:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ae.MAX_OPEN_FDS,r=e;r<=t;r++)if(!Ae.streams[r])return r;throw new Ae.ErrnoError(33)},getStream:function(e){return Ae.streams[e]},createStream:function(e,t,r){Ae.FSStream||(Ae.FSStream=function(){},Ae.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 Ae.FSStream;for(var o in e)n[o]=e[o];e=n;var i=Ae.nextfd(t,r);return e.fd=i,Ae.streams[i]=e,e},closeStream:function(e){Ae.streams[e]=null},chrdev_stream_ops:{open:function(e){var t=Ae.getDevice(e.node.rdev);e.stream_ops=t.stream_ops,e.stream_ops.open&&e.stream_ops.open(e)},llseek:function(){throw new Ae.ErrnoError(70)}},major:function(e){return e>>8},minor:function(e){return 255&e},makedev:function(e,t){return e<<8|t},registerDevice:function(e,t){Ae.devices[e]={stream_ops:t}},getDevice:function(e){return Ae.devices[e]},getMounts:function(e){for(var t=[],r=[e];r.length;){var n=r.pop();t.push(n),r.push.apply(r,n.mounts)}return t},syncfs:function(e,t){"function"==typeof e&&(t=e,e=!1),Ae.syncFSRequests++,Ae.syncFSRequests>1&&E("warning: "+Ae.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work");var r=Ae.getMounts(Ae.root.mount),n=0;function o(e){return y(Ae.syncFSRequests>0),Ae.syncFSRequests--,t(e)}function i(e){if(e)return i.errored?void 0:(i.errored=!0,o(e));++n>=r.length&&o(null)}r.forEach((function(t){if(!t.type.syncfs)return i(null);t.type.syncfs(t,e,i)}))},mount:function(e,t,r){if("string"==typeof e)throw e;var n,o="/"===r,i=!r;if(o&&Ae.root)throw new Ae.ErrnoError(10);if(!o&&!i){var a=Ae.lookupPath(r,{follow_mount:!1});if(r=a.path,n=a.node,Ae.isMountpoint(n))throw new Ae.ErrnoError(10);if(!Ae.isDir(n.mode))throw new Ae.ErrnoError(54)}var s={type:e,opts:t,mountpoint:r,mounts:[]},c=e.mount(s);return c.mount=s,s.root=c,o?Ae.root=c:n&&(n.mounted=s,n.mount&&n.mount.mounts.push(s)),c},unmount:function(e){var t=Ae.lookupPath(e,{follow_mount:!1});if(!Ae.isMountpoint(t.node))throw new Ae.ErrnoError(28);var r=t.node,n=r.mounted,o=Ae.getMounts(n);Object.keys(Ae.nameTable).forEach((function(e){for(var t=Ae.nameTable[e];t;){var r=t.name_next;o.includes(t.mount)&&Ae.destroyNode(t),t=r}})),r.mounted=null;var i=r.mount.mounts.indexOf(n);y(-1!==i),r.mount.mounts.splice(i,1)},lookup:function(e,t){return e.node_ops.lookup(e,t)},mknod:function(e,t,r){var n=Ae.lookupPath(e,{parent:!0}).node,o=le.basename(e);if(!o||"."===o||".."===o)throw new Ae.ErrnoError(28);var i=Ae.mayCreate(n,o);if(i)throw new Ae.ErrnoError(i);if(!n.node_ops.mknod)throw new Ae.ErrnoError(63);return n.node_ops.mknod(n,o,t,r)},create:function(e,t){return t=void 0!==t?t:438,t&=4095,t|=32768,Ae.mknod(e,t,0)},mkdir:function(e,t){return t=void 0!==t?t:511,t&=1023,t|=16384,Ae.mknod(e,t,0)},mkdirTree:function(e,t){for(var r=e.split("/"),n="",o=0;o<r.length;++o)if(r[o]){n+="/"+r[o];try{Ae.mkdir(n,t)}catch(i){if(20!=i.errno)throw i}}},mkdev:function(e,t,r){return void 0===r&&(r=t,t=438),t|=8192,Ae.mknod(e,t,r)},symlink:function(e,t){if(!pe.resolve(e))throw new Ae.ErrnoError(44);var r=Ae.lookupPath(t,{parent:!0}).node;if(!r)throw new Ae.ErrnoError(44);var n=le.basename(t),o=Ae.mayCreate(r,n);if(o)throw new Ae.ErrnoError(o);if(!r.node_ops.symlink)throw new Ae.ErrnoError(63);return r.node_ops.symlink(r,n,e)},rename:function(e,t){var r,n,o=le.dirname(e),i=le.dirname(t),a=le.basename(e),s=le.basename(t);if(r=Ae.lookupPath(e,{parent:!0}).node,n=Ae.lookupPath(t,{parent:!0}).node,!r||!n)throw new Ae.ErrnoError(44);if(r.mount!==n.mount)throw new Ae.ErrnoError(75);var c,u=Ae.lookupNode(r,a),f=pe.relative(e,i);if("."!==f.charAt(0))throw new Ae.ErrnoError(28);if("."!==(f=pe.relative(t,o)).charAt(0))throw new Ae.ErrnoError(55);try{c=Ae.lookupNode(n,s)}catch(p){}if(u!==c){var d=Ae.isDir(u.mode),l=Ae.mayDelete(r,a,d);if(l)throw new Ae.ErrnoError(l);if(l=c?Ae.mayDelete(n,s,d):Ae.mayCreate(n,s))throw new Ae.ErrnoError(l);if(!r.node_ops.rename)throw new Ae.ErrnoError(63);if(Ae.isMountpoint(u)||c&&Ae.isMountpoint(c))throw new Ae.ErrnoError(10);if(n!==r&&(l=Ae.nodePermissions(r,"w")))throw new Ae.ErrnoError(l);Ae.hashRemoveNode(u);try{r.node_ops.rename(u,n,s)}catch(p){throw p}finally{Ae.hashAddNode(u)}}},rmdir:function(e){var t=Ae.lookupPath(e,{parent:!0}).node,r=le.basename(e),n=Ae.lookupNode(t,r),o=Ae.mayDelete(t,r,!0);if(o)throw new Ae.ErrnoError(o);if(!t.node_ops.rmdir)throw new Ae.ErrnoError(63);if(Ae.isMountpoint(n))throw new Ae.ErrnoError(10);t.node_ops.rmdir(t,r),Ae.destroyNode(n)},readdir:function(e){var t=Ae.lookupPath(e,{follow:!0}).node;if(!t.node_ops.readdir)throw new Ae.ErrnoError(54);return t.node_ops.readdir(t)},unlink:function(e){var t=Ae.lookupPath(e,{parent:!0}).node;if(!t)throw new Ae.ErrnoError(44);var r=le.basename(e),n=Ae.lookupNode(t,r),o=Ae.mayDelete(t,r,!1);if(o)throw new Ae.ErrnoError(o);if(!t.node_ops.unlink)throw new Ae.ErrnoError(63);if(Ae.isMountpoint(n))throw new Ae.ErrnoError(10);t.node_ops.unlink(t,r),Ae.destroyNode(n)},readlink:function(e){var t=Ae.lookupPath(e).node;if(!t)throw new Ae.ErrnoError(44);if(!t.node_ops.readlink)throw new Ae.ErrnoError(28);return pe.resolve(Ae.getPath(t.parent),t.node_ops.readlink(t))},stat:function(e,t){var r=Ae.lookupPath(e,{follow:!t}).node;if(!r)throw new Ae.ErrnoError(44);if(!r.node_ops.getattr)throw new Ae.ErrnoError(63);return r.node_ops.getattr(r)},lstat:function(e){return Ae.stat(e,!0)},chmod:function(e,t,r){var n;if(!(n="string"==typeof e?Ae.lookupPath(e,{follow:!r}).node:e).node_ops.setattr)throw new Ae.ErrnoError(63);n.node_ops.setattr(n,{mode:4095&t|-4096&n.mode,timestamp:Date.now()})},lchmod:function(e,t){Ae.chmod(e,t,!0)},fchmod:function(e,t){var r=Ae.getStream(e);if(!r)throw new Ae.ErrnoError(8);Ae.chmod(r.node,t)},chown:function(e,t,r,n){var o;if(!(o="string"==typeof e?Ae.lookupPath(e,{follow:!n}).node:e).node_ops.setattr)throw new Ae.ErrnoError(63);o.node_ops.setattr(o,{timestamp:Date.now()})},lchown:function(e,t,r){Ae.chown(e,t,r,!0)},fchown:function(e,t,r){var n=Ae.getStream(e);if(!n)throw new Ae.ErrnoError(8);Ae.chown(n.node,t,r)},truncate:function(e,t){if(t<0)throw new Ae.ErrnoError(28);var r;if(!(r="string"==typeof e?Ae.lookupPath(e,{follow:!0}).node:e).node_ops.setattr)throw new Ae.ErrnoError(63);if(Ae.isDir(r.mode))throw new Ae.ErrnoError(31);if(!Ae.isFile(r.mode))throw new Ae.ErrnoError(28);var n=Ae.nodePermissions(r,"w");if(n)throw new Ae.ErrnoError(n);r.node_ops.setattr(r,{size:t,timestamp:Date.now()})},ftruncate:function(e,t){var r=Ae.getStream(e);if(!r)throw new Ae.ErrnoError(8);if(0==(2097155&r.flags))throw new Ae.ErrnoError(28);Ae.truncate(r.node,t)},utime:function(e,t,r){var n=Ae.lookupPath(e,{follow:!0}).node;n.node_ops.setattr(n,{timestamp:Math.max(t,r)})},open:function(t,r,n,o,a){if(""===t)throw new Ae.ErrnoError(44);var s;if(n=void 0===n?438:n,n=64&(r="string"==typeof r?Ae.modeStringToFlags(r):r)?4095&n|32768:0,"object"===e(t))s=t;else{t=le.normalize(t);try{s=Ae.lookupPath(t,{follow:!(131072&r)}).node}catch(d){}}var c=!1;if(64&r)if(s){if(128&r)throw new Ae.ErrnoError(20)}else s=Ae.mknod(t,n,0),c=!0;if(!s)throw new Ae.ErrnoError(44);if(Ae.isChrdev(s.mode)&&(r&=-513),65536&r&&!Ae.isDir(s.mode))throw new Ae.ErrnoError(54);if(!c){var u=Ae.mayOpen(s,r);if(u)throw new Ae.ErrnoError(u)}512&r&&Ae.truncate(s,0),r&=-131713;var f=Ae.createStream({node:s,path:Ae.getPath(s),flags:r,seekable:!0,position:0,stream_ops:s.stream_ops,ungotten:[],error:!1},o,a);return f.stream_ops.open&&f.stream_ops.open(f),!i.logReadFiles||1&r||(Ae.readFiles||(Ae.readFiles={}),t in Ae.readFiles||(Ae.readFiles[t]=1)),f},close:function(e){if(Ae.isClosed(e))throw new Ae.ErrnoError(8);e.getdents&&(e.getdents=null);try{e.stream_ops.close&&e.stream_ops.close(e)}catch(t){throw t}finally{Ae.closeStream(e.fd)}e.fd=null},isClosed:function(e){return null===e.fd},llseek:function(e,t,r){if(Ae.isClosed(e))throw new Ae.ErrnoError(8);if(!e.seekable||!e.stream_ops.llseek)throw new Ae.ErrnoError(70);if(0!=r&&1!=r&&2!=r)throw new Ae.ErrnoError(28);return e.position=e.stream_ops.llseek(e,t,r),e.ungotten=[],e.position},read:function(e,t,r,n,o){if(n<0||o<0)throw new Ae.ErrnoError(28);if(Ae.isClosed(e))throw new Ae.ErrnoError(8);if(1==(2097155&e.flags))throw new Ae.ErrnoError(8);if(Ae.isDir(e.node.mode))throw new Ae.ErrnoError(31);if(!e.stream_ops.read)throw new Ae.ErrnoError(28);var i=void 0!==o;if(i){if(!e.seekable)throw new Ae.ErrnoError(70)}else o=e.position;var a=e.stream_ops.read(e,t,r,n,o);return i||(e.position+=a),a},write:function(e,t,r,n,o,i){if(n<0||o<0)throw new Ae.ErrnoError(28);if(Ae.isClosed(e))throw new Ae.ErrnoError(8);if(0==(2097155&e.flags))throw new Ae.ErrnoError(8);if(Ae.isDir(e.node.mode))throw new Ae.ErrnoError(31);if(!e.stream_ops.write)throw new Ae.ErrnoError(28);e.seekable&&1024&e.flags&&Ae.llseek(e,0,2);var a=void 0!==o;if(a){if(!e.seekable)throw new Ae.ErrnoError(70)}else o=e.position;var s=e.stream_ops.write(e,t,r,n,o,i);return a||(e.position+=s),s},allocate:function(e,t,r){if(Ae.isClosed(e))throw new Ae.ErrnoError(8);if(t<0||r<=0)throw new Ae.ErrnoError(28);if(0==(2097155&e.flags))throw new Ae.ErrnoError(8);if(!Ae.isFile(e.node.mode)&&!Ae.isDir(e.node.mode))throw new Ae.ErrnoError(43);if(!e.stream_ops.allocate)throw new Ae.ErrnoError(138);e.stream_ops.allocate(e,t,r)},mmap:function(e,t,r,n,o,i){if(0!=(2&o)&&0==(2&i)&&2!=(2097155&e.flags))throw new Ae.ErrnoError(2);if(1==(2097155&e.flags))throw new Ae.ErrnoError(2);if(!e.stream_ops.mmap)throw new Ae.ErrnoError(43);return e.stream_ops.mmap(e,t,r,n,o,i)},msync:function(e,t,r,n,o){return e&&e.stream_ops.msync?e.stream_ops.msync(e,t,r,n,o):0},munmap:function(e){return 0},ioctl:function(e,t,r){if(!e.stream_ops.ioctl)throw new Ae.ErrnoError(59);return e.stream_ops.ioctl(e,t,r)},readFile:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(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 n=Ae.open(e,r.flags),o=Ae.stat(e).size,i=new Uint8Array(o);return Ae.read(n,i,0,o,0),"utf8"===r.encoding?t=M(i,0):"binary"===r.encoding&&(t=i),Ae.close(n),t},writeFile:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};r.flags=r.flags||577;var n=Ae.open(e,r.flags,r.mode);if("string"==typeof t){var o=new Uint8Array(F(t)+1),i=S(t,o,0,o.length);Ae.write(n,o,0,i,void 0,r.canOwn)}else{if(!ArrayBuffer.isView(t))throw new Error("Unsupported data type");Ae.write(n,t,0,t.byteLength,void 0,r.canOwn)}Ae.close(n)},cwd:function(){return Ae.currentPath},chdir:function(e){var t=Ae.lookupPath(e,{follow:!0});if(null===t.node)throw new Ae.ErrnoError(44);if(!Ae.isDir(t.node.mode))throw new Ae.ErrnoError(54);var r=Ae.nodePermissions(t.node,"x");if(r)throw new Ae.ErrnoError(r);Ae.currentPath=t.path},createDefaultDirectories:function(){Ae.mkdir("/tmp"),Ae.mkdir("/home"),Ae.mkdir("/home/web_user")},createDefaultDevices:function(){Ae.mkdir("/dev"),Ae.registerDevice(Ae.makedev(1,3),{read:function(){return 0},write:function(e,t,r,n,o){return n}}),Ae.mkdev("/dev/null",Ae.makedev(1,3)),Ee.register(Ae.makedev(5,0),Ee.default_tty_ops),Ee.register(Ae.makedev(6,0),Ee.default_tty1_ops),Ae.mkdev("/dev/tty",Ae.makedev(5,0)),Ae.mkdev("/dev/tty1",Ae.makedev(6,0));var t=function(){if("object"===("undefined"==typeof crypto?"undefined":e(crypto))&&"function"==typeof crypto.getRandomValues){var t=new Uint8Array(1);return function(){return crypto.getRandomValues(t),t[0]}}return function(){K("no cryptographic support found for randomDevice. consider polyfilling it if you want to use something insecure like Math.random(), e.g. put this in a --pre-js: var crypto = { getRandomValues: function(array) { for (var i = 0; i < array.length; i++) array[i] = (Math.random()*256)|0 } };")}}();Ae.createDevice("/dev","random",t),Ae.createDevice("/dev","urandom",t),Ae.mkdir("/dev/shm"),Ae.mkdir("/dev/shm/tmp")},createSpecialDirectories:function(){Ae.mkdir("/proc");var e=Ae.mkdir("/proc/self");Ae.mkdir("/proc/self/fd"),Ae.mount({mount:function(){var t=Ae.createNode(e,"fd",16895,73);return t.node_ops={lookup:function(e,t){var r=+t,n=Ae.getStream(r);if(!n)throw new Ae.ErrnoError(8);var o={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:function(){return n.path}}};return o.parent=o,o}},t}},{},"/proc/self/fd")},createStandardStreams:function(){i.stdin?Ae.createDevice("/dev","stdin",i.stdin):Ae.symlink("/dev/tty","/dev/stdin"),i.stdout?Ae.createDevice("/dev","stdout",null,i.stdout):Ae.symlink("/dev/tty","/dev/stdout"),i.stderr?Ae.createDevice("/dev","stderr",null,i.stderr):Ae.symlink("/dev/tty1","/dev/stderr");var e=Ae.open("/dev/stdin",0),t=Ae.open("/dev/stdout",1),r=Ae.open("/dev/stderr",1);y(0===e.fd,"invalid handle for stdin ("+e.fd+")"),y(1===t.fd,"invalid handle for stdout ("+t.fd+")"),y(2===r.fd,"invalid handle for stderr ("+r.fd+")")},ensureErrnoError:function(){Ae.ErrnoError||(Ae.ErrnoError=function(e,t){this.node=t,this.setErrno=function(e){for(var t in this.errno=e,Oe)if(Oe[t]===e){this.code=t;break}},this.setErrno(e),this.message=he[e],this.stack&&(Object.defineProperty(this,"stack",{value:(new Error).stack,writable:!0}),this.stack=ce(this.stack))},Ae.ErrnoError.prototype=new Error,Ae.ErrnoError.prototype.constructor=Ae.ErrnoError,[44].forEach((function(e){Ae.genericErrors[e]=new Ae.ErrnoError(e),Ae.genericErrors[e].stack="<generic error, no stack>"})))},staticInit:function(){Ae.ensureErrnoError(),Ae.nameTable=new Array(4096),Ae.mount(be,{},"/"),Ae.createDefaultDirectories(),Ae.createDefaultDevices(),Ae.createSpecialDirectories(),Ae.filesystems={MEMFS:be}},init:function(e,t,r){y(!Ae.init.initialized,"FS.init was previously called. If you want to initialize later with custom parameters, remove any earlier calls (note that one is automatically added to the generated code)"),Ae.init.initialized=!0,Ae.ensureErrnoError(),i.stdin=e||i.stdin,i.stdout=t||i.stdout,i.stderr=r||i.stderr,Ae.createStandardStreams()},quit:function(){Ae.init.initialized=!1,Re();for(var e=0;e<Ae.streams.length;e++){var t=Ae.streams[e];t&&Ae.close(t)}},getMode:function(e,t){var r=0;return e&&(r|=365),t&&(r|=146),r},findObject:function(e,t){var r=Ae.analyzePath(e,t);return r.exists?r.object:null},analyzePath:function(e,t){try{e=(n=Ae.lookupPath(e,{follow:!t})).path}catch(o){}var r={isRoot:!1,exists:!1,error:0,name:null,path:null,object:null,parentExists:!1,parentPath:null,parentObject:null};try{var n=Ae.lookupPath(e,{parent:!0});r.parentExists=!0,r.parentPath=n.path,r.parentObject=n.node,r.name=le.basename(e),n=Ae.lookupPath(e,{follow:!t}),r.exists=!0,r.path=n.path,r.object=n.node,r.name=n.node.name,r.isRoot="/"===n.path}catch(o){r.error=o.errno}return r},createPath:function(e,t,r,n){e="string"==typeof e?e:Ae.getPath(e);for(var o=t.split("/").reverse();o.length;){var i=o.pop();if(i){var a=le.join2(e,i);try{Ae.mkdir(a)}catch(s){}e=a}}return a},createFile:function(e,t,r,n,o){var i=le.join2("string"==typeof e?e:Ae.getPath(e),t),a=Ae.getMode(n,o);return Ae.create(i,a)},createDataFile:function(e,t,r,n,o,i){var a=t;e&&(e="string"==typeof e?e:Ae.getPath(e),a=t?le.join2(e,t):e);var s=Ae.getMode(n,o),c=Ae.create(a,s);if(r){if("string"==typeof r){for(var u=new Array(r.length),f=0,d=r.length;f<d;++f)u[f]=r.charCodeAt(f);r=u}Ae.chmod(c,146|s);var l=Ae.open(c,577);Ae.write(l,r,0,r.length,0,i),Ae.close(l),Ae.chmod(c,s)}return c},createDevice:function(e,t,r,n){var o=le.join2("string"==typeof e?e:Ae.getPath(e),t),i=Ae.getMode(!!r,!!n);Ae.createDevice.major||(Ae.createDevice.major=64);var a=Ae.makedev(Ae.createDevice.major++,0);return Ae.registerDevice(a,{open:function(e){e.seekable=!1},close:function(e){n&&n.buffer&&n.buffer.length&&n(10)},read:function(e,t,n,o,i){for(var a=0,s=0;s<o;s++){var c;try{c=r()}catch(u){throw new Ae.ErrnoError(29)}if(void 0===c&&0===a)throw new Ae.ErrnoError(6);if(null==c)break;a++,t[n+s]=c}return a&&(e.node.timestamp=Date.now()),a},write:function(e,t,r,o,i){for(var a=0;a<o;a++)try{n(t[r+a])}catch(s){throw new Ae.ErrnoError(29)}return o&&(e.node.timestamp=Date.now()),a}}),Ae.mkdev(o,i,a)},forceLoadFile:function(e){if(e.isDevice||e.isFolder||e.link||e.contents)return!0;if("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(!u)throw new Error("Cannot load without read() or XMLHttpRequest.");try{e.contents=Te(u(e.url),!0),e.usedBytes=e.contents.length}catch(t){throw new Ae.ErrnoError(29)}},createLazyFile:function(e,t,r,n,o){function i(){this.lengthKnown=!1,this.chunks=[]}if(i.prototype.get=function(e){if(!(e>this.length-1||e<0)){var t=e%this.chunkSize,r=e/this.chunkSize|0;return this.getter(r)[t]}},i.prototype.setDataGetter=function(e){this.getter=e},i.prototype.cacheLength=function(){var e=new XMLHttpRequest;if(e.open("HEAD",r,!1),e.send(null),!(e.status>=200&&e.status<300||304===e.status))throw new Error("Couldn't load "+r+". Status: "+e.status);var t,n=Number(e.getResponseHeader("Content-length")),o=(t=e.getResponseHeader("Accept-Ranges"))&&"bytes"===t,i=(t=e.getResponseHeader("Content-Encoding"))&&"gzip"===t,a=1048576;o||(a=n);var s=this;s.setDataGetter((function(e){var t=e*a,o=(e+1)*a-1;if(o=Math.min(o,n-1),void 0===s.chunks[e]&&(s.chunks[e]=function(e,t){if(e>t)throw new Error("invalid range ("+e+", "+t+") or no bytes requested!");if(t>n-1)throw new Error("only "+n+" bytes available! programmer error!");var o=new XMLHttpRequest;if(o.open("GET",r,!1),n!==a&&o.setRequestHeader("Range","bytes="+e+"-"+t),"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 "+r+". Status: "+o.status);return void 0!==o.response?new Uint8Array(o.response||[]):Te(o.responseText||"",!0)}(t,o)),void 0===s.chunks[e])throw new Error("doXHR failed!");return s.chunks[e]})),!i&&n||(a=n=1,n=this.getter(0).length,a=n,p("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)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var a={isDevice:!1,url:r},s=Ae.createFile(e,t,a,n,o);a.contents?s.contents=a.contents:a.url&&(s.contents=null,s.url=a.url),Object.defineProperties(s,{usedBytes:{get:function(){return this.contents.length}}});var c={};return Object.keys(s.stream_ops).forEach((function(e){var t=s.stream_ops[e];c[e]=function(){return Ae.forceLoadFile(s),t.apply(null,arguments)}})),c.read=function(e,t,r,n,o){Ae.forceLoadFile(s);var i=e.node.contents;if(o>=i.length)return 0;var a=Math.min(i.length-o,n);if(y(a>=0),i.slice)for(var c=0;c<a;c++)t[r+c]=i[o+c];else for(c=0;c<a;c++)t[r+c]=i.get(o+c);return a},s.stream_ops=c,s},createPreloadedFile:function(e,t,r,n,o,i,a,s,c,u){var d=t?pe.resolve(le.join2(e,t)):e,l=J("cp "+d);function p(r){function f(r){u&&u(),s||Ae.createDataFile(e,t,r,n,o,c),i&&i(),q(l)}Browser.handledByPreloadPlugin(r,d,f,(function(){a&&a(),q(l)}))||f(r)}z(l),"string"==typeof r?function(e,t,r,n){var o=n?"":J("al "+e);f(e,(function(r){y(r,'Loading data file "'+e+'" failed (no arrayBuffer).'),t(new Uint8Array(r)),o&&q(o)}),(function(t){if(!r)throw'Loading data file "'+e+'" failed.';r()})),o&&z(o)}(r,(function(e){return p(e)}),a):p(r)},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,t,r){t=t||function(){},r=r||function(){};var n=Ae.indexedDB();try{var o=n.open(Ae.DB_NAME(),Ae.DB_VERSION)}catch(i){return r(i)}o.onupgradeneeded=function(){p("creating db"),o.result.createObjectStore(Ae.DB_STORE_NAME)},o.onsuccess=function(){var n=o.result.transaction([Ae.DB_STORE_NAME],"readwrite"),i=n.objectStore(Ae.DB_STORE_NAME),a=0,s=0,c=e.length;function u(){0==s?t():r()}e.forEach((function(e){var t=i.put(Ae.analyzePath(e).object.contents,e);t.onsuccess=function(){++a+s==c&&u()},t.onerror=function(){s++,a+s==c&&u()}})),n.onerror=r},o.onerror=r},loadFilesFromDB:function(e,t,r){t=t||function(){},r=r||function(){};var n=Ae.indexedDB();try{var o=n.open(Ae.DB_NAME(),Ae.DB_VERSION)}catch(i){return r(i)}o.onupgradeneeded=r,o.onsuccess=function(){var n=o.result;try{var a=n.transaction([Ae.DB_STORE_NAME],"readonly")}catch(i){return void r(i)}var s=a.objectStore(Ae.DB_STORE_NAME),c=0,u=0,f=e.length;function d(){0==u?t():r()}e.forEach((function(e){var t=s.get(e);t.onsuccess=function(){Ae.analyzePath(e).exists&&Ae.unlink(e),Ae.createDataFile(le.dirname(e),le.basename(e),t.result,!0,!0,!0),++c+u==f&&d()},t.onerror=function(){u++,c+u==f&&d()}})),a.onerror=r},o.onerror=r},absolutePath:function(){K("FS.absolutePath has been removed; use PATH_FS.resolve instead")},createFolder:function(){K("FS.createFolder has been removed; use FS.mkdir instead")},createLink:function(){K("FS.createLink has been removed; use FS.symlink instead")},joinPath:function(){K("FS.joinPath has been removed; use PATH.join instead")},mmapAlloc:function(){K("FS.mmapAlloc has been replaced by the top level function mmapAlloc")},standardizePath:function(){K("FS.standardizePath has been removed; use PATH.normalize instead")}},ge={mappings:{},DEFAULT_POLLMASK:5,calculateAt:function(e,t,r){if("/"===t[0])return t;var n;if(-100===e)n=Ae.cwd();else{var o=Ae.getStream(e);if(!o)throw new Ae.ErrnoError(8);n=o.path}if(0==t.length){if(!r)throw new Ae.ErrnoError(44);return n}return le.join2(n,t)},doStat:function(e,t,r){try{var n=e(t)}catch(o){if(o&&o.node&&le.normalize(t)!==le.normalize(Ae.getPath(o.node)))return-54;throw o}return v[r>>2]=n.dev,v[r+4>>2]=0,v[r+8>>2]=n.ino,v[r+12>>2]=n.mode,v[r+16>>2]=n.nlink,v[r+20>>2]=n.uid,v[r+24>>2]=n.gid,v[r+28>>2]=n.rdev,v[r+32>>2]=0,re=[n.size>>>0,(te=n.size,+Math.abs(te)>=1?te>0?(0|Math.min(+Math.floor(te/4294967296),4294967295))>>>0:~~+Math.ceil((te-+(~~te>>>0))/4294967296)>>>0:0)],v[r+40>>2]=re[0],v[r+44>>2]=re[1],v[r+48>>2]=4096,v[r+52>>2]=n.blocks,v[r+56>>2]=n.atime.getTime()/1e3|0,v[r+60>>2]=0,v[r+64>>2]=n.mtime.getTime()/1e3|0,v[r+68>>2]=0,v[r+72>>2]=n.ctime.getTime()/1e3|0,v[r+76>>2]=0,re=[n.ino>>>0,(te=n.ino,+Math.abs(te)>=1?te>0?(0|Math.min(+Math.floor(te/4294967296),4294967295))>>>0:~~+Math.ceil((te-+(~~te>>>0))/4294967296)>>>0:0)],v[r+80>>2]=re[0],v[r+84>>2]=re[1],0},doMsync:function(e,t,r,n,o){var i=k.slice(e,e+r);Ae.msync(t,i,o,r,n)},doMkdir:function(e,t){return"/"===(e=le.normalize(e))[e.length-1]&&(e=e.substr(0,e.length-1)),Ae.mkdir(e,t,0),0},doMknod:function(e,t,r){switch(61440&t){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}return Ae.mknod(e,t,r),0},doReadlink:function(e,t,r){if(r<=0)return-28;var n=Ae.readlink(e),o=Math.min(r,F(n)),i=D[t+o];return j(n,t,r+1),D[t+o]=i,o},doAccess:function(e,t){if(-8&t)return-28;var r=Ae.lookupPath(e,{follow:!0}).node;if(!r)return-44;var n="";return 4&t&&(n+="r"),2&t&&(n+="w"),1&t&&(n+="x"),n&&Ae.nodePermissions(r,n)?-2:0},doDup:function(e,t,r){var n=Ae.getStream(r);return n&&Ae.close(n),Ae.open(e,t,0,r,r).fd},doReadv:function(e,t,r,n){for(var o=0,i=0;i<r;i++){var a=v[t+8*i>>2],s=v[t+(8*i+4)>>2],c=Ae.read(e,D,a,s,n);if(c<0)return-1;if(o+=c,c<s)break}return o},doWritev:function(e,t,r,n){for(var o=0,i=0;i<r;i++){var a=v[t+8*i>>2],s=v[t+(8*i+4)>>2],c=Ae.write(e,D,a,s,n);if(c<0)return-1;o+=c}return o},varargs:void 0,get:function(){return y(null!=ge.varargs),ge.varargs+=4,v[ge.varargs-4>>2]},getStr:function(e){return P(e)},getStreamFromFD:function(e){var t=Ae.getStream(e);if(!t)throw new Ae.ErrnoError(8);return t},get64:function(e,t){return y(e>=0?0===t:-1===t),e}},me=function(e,t,r,n){e||(e=this),this.parent=e,this.mount=e.mount,this.mounted=null,this.id=Ae.nextInode++,this.name=t,this.mode=r,this.node_ops={},this.stream_ops={},this.rdev=n},ye=365,we=146;function Te(e,t,r){var n=r>0?r:F(e)+1,o=new Array(n),i=S(e,o,0,o.length);return t&&(o.length=i),o}Object.defineProperties(me.prototype,{read:{get:function(){return(this.mode&ye)===ye},set:function(e){e?this.mode|=ye:this.mode&=-366}},write:{get:function(){return(this.mode&we)===we},set:function(e){e?this.mode|=we:this.mode&=-147}},isFolder:{get:function(){return Ae.isDir(this.mode)}},isDevice:{get:function(){return Ae.isChrdev(this.mode)}}}),Ae.FSNode=me,Ae.staticInit(),Oe={EPERM:63,ENOENT:44,ESRCH:71,EINTR:27,EIO:29,ENXIO:60,E2BIG:1,ENOEXEC:45,EBADF:8,ECHILD:12,EAGAIN:6,EWOULDBLOCK:6,ENOMEM:48,EACCES:2,EFAULT:21,ENOTBLK:105,EBUSY:10,EEXIST:20,EXDEV:75,ENODEV:43,ENOTDIR:54,EISDIR:31,EINVAL:28,ENFILE:41,EMFILE:33,ENOTTY:59,ETXTBSY:74,EFBIG:22,ENOSPC:51,ESPIPE:70,EROFS:69,EMLINK:34,EPIPE:64,EDOM:18,ERANGE:68,ENOMSG:49,EIDRM:24,ECHRNG:106,EL2NSYNC:156,EL3HLT:107,EL3RST:108,ELNRNG:109,EUNATCH:110,ENOCSI:111,EL2HLT:112,EDEADLK:16,ENOLCK:46,EBADE:113,EBADR:114,EXFULL:115,ENOANO:104,EBADRQC:103,EBADSLT:102,EDEADLOCK:16,EBFONT:101,ENOSTR:100,ENODATA:116,ETIME:117,ENOSR:118,ENONET:119,ENOPKG:120,EREMOTE:121,ENOLINK:47,EADV:122,ESRMNT:123,ECOMM:124,EPROTO:65,EMULTIHOP:36,EDOTDOT:125,EBADMSG:9,ENOTUNIQ:126,EBADFD:127,EREMCHG:128,ELIBACC:129,ELIBBAD:130,ELIBSCN:131,ELIBMAX:132,ELIBEXEC:133,ENOSYS:52,ENOTEMPTY:55,ENAMETOOLONG:37,ELOOP:32,EOPNOTSUPP:138,EPFNOSUPPORT:139,ECONNRESET:15,ENOBUFS:42,EAFNOSUPPORT:5,EPROTOTYPE:67,ENOTSOCK:57,ENOPROTOOPT:50,ESHUTDOWN:140,ECONNREFUSED:14,EADDRINUSE:3,ECONNABORTED:13,ENETUNREACH:40,ENETDOWN:38,ETIMEDOUT:73,EHOSTDOWN:142,EHOSTUNREACH:23,EINPROGRESS:26,EALREADY:7,EDESTADDRREQ:17,EMSGSIZE:35,EPROTONOSUPPORT:66,ESOCKTNOSUPPORT:137,EADDRNOTAVAIL:4,ENETRESET:39,EISCONN:30,ENOTCONN:53,ETOOMANYREFS:141,EUSERS:136,EDQUOT:19,ESTALE:72,ENOTSUP:138,ENOMEDIUM:148,EILSEQ:25,EOVERFLOW:61,ECANCELED:11,ENOTRECOVERABLE:56,EOWNERDEAD:62,ESTRPIPE:135};var De="function"==typeof atob?atob:function(e){var t,r,n,o,i,a,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c="",u=0;e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");do{t=s.indexOf(e.charAt(u++))<<2|(o=s.indexOf(e.charAt(u++)))>>4,r=(15&o)<<4|(i=s.indexOf(e.charAt(u++)))>>2,n=(3&i)<<6|(a=s.indexOf(e.charAt(u++))),c+=String.fromCharCode(t),64!==i&&(c+=String.fromCharCode(r)),64!==a&&(c+=String.fromCharCode(n))}while(u<e.length);return c};function ke(e){if(oe(e))return function(e){try{for(var t=De(e),r=new Uint8Array(t.length),n=0;n<t.length;++n)r[n]=t.charCodeAt(n);return r}catch(o){throw new Error("Converting base64 string to bytes failed.")}}(e.slice(ne.length))}var ve={__assert_fail:function(e,t,r,n){K("Assertion failed: "+P(e)+", at: "+[t?P(t):"unknown filename",r,n?P(n):"unknown function"])},__cxa_allocate_exception:function(e){return _e(e+16)+16},__cxa_throw:function(e,t,r){throw new fe(e).init(t,r),e+" - Exception catching is disabled, this exception cannot be caught. Compile with -s NO_DISABLE_EXCEPTION_CATCHING or -s EXCEPTION_CATCHING_ALLOWED=[..] to catch."},abort:function(){K("native code called abort()")},emscripten_memcpy_big:function(e,t,r){k.copyWithin(e,t,t+r)},emscripten_resize_heap:function(e){var t=k.length;y((e>>>=0)>t);var r,n,o=2147483648;if(e>o)return E("Cannot enlarge memory, asked to go up to "+e+" bytes, but the limit is "+o+" bytes!"),!1;for(var i=1;i<=4;i*=2){var a=t*(1+.2/i);a=Math.min(a,e+100663296);var s=Math.min(o,((r=Math.max(e,a))%(n=65536)>0&&(r+=n-r%n),r));if(de(s))return E("Warning: Enlarging memory arrays, this is not fast! "+[t,s]),!0}return E("Failed to grow the heap from "+t+" bytes to "+s+" bytes, not enough memory!"),!1},fd_close:function(e){try{var t=ge.getStreamFromFD(e);return Ae.close(t),0}catch(r){if(void 0===Ae||!(r instanceof Ae.ErrnoError))throw r;return r.errno}},fd_read:function(e,t,r,n){try{var o=ge.getStreamFromFD(e),i=ge.doReadv(o,t,r);return v[n>>2]=i,0}catch(a){if(void 0===Ae||!(a instanceof Ae.ErrnoError))throw a;return a.errno}},fd_seek:function(e,t,r,n,o){try{var i=ge.getStreamFromFD(e),a=4294967296*r+(t>>>0),s=9007199254740992;return a<=-s||a>=s?-61:(Ae.llseek(i,a,n),re=[i.position>>>0,(te=i.position,+Math.abs(te)>=1?te>0?(0|Math.min(+Math.floor(te/4294967296),4294967295))>>>0:~~+Math.ceil((te-+(~~te>>>0))/4294967296)>>>0:0)],v[o>>2]=re[0],v[o+4>>2]=re[1],i.getdents&&0===a&&0===n&&(i.getdents=null),0)}catch(c){if(void 0===Ae||!(c instanceof Ae.ErrnoError))throw c;return c.errno}},fd_write:function(e,t,r,n){try{var o=ge.getStreamFromFD(e),i=ge.doWritev(o,t,r);return v[n>>2]=i,0}catch(a){if(void 0===Ae||!(a instanceof Ae.ErrnoError))throw a;return a.errno}},getTempRet0:function(){return O},gettimeofday:function(e){var t=Date.now();return v[e>>2]=t/1e3|0,v[e+4>>2]=t%1e3*1e3|0,0},memory:A,setTempRet0:function(e){O=e}};!function(){var e={env:ve,wasi_snapshot_preview1:ve};function t(e,t){var r,n=e.exports;i.asm=n,y(x=i.asm.__indirect_function_table,"table not found in wasm exports"),r=i.asm.__wasm_call_ctors,G.unshift(r),q("wasm-instantiate")}z("wasm-instantiate");var r=i;function n(e){y(i===r,"the Module object should not be replaced during async compilation - perhaps the order of HTML elements is wrong?"),r=null,t(e.instance)}function a(t){return(!h&&c&&"function"==typeof fetch?fetch($,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load wasm binary file at '"+$+"'";return e.arrayBuffer()})).catch((function(){return ae($)})):Promise.resolve().then((function(){return ae($)}))).then((function(t){return g.instantiate(t,e)})).then((function(e){return e})).then(t,(function(e){E("failed to asynchronously prepare wasm: "+e),$.startsWith("file://")&&E("warning: Loading from a file URI ("+$+") is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing"),K(e)}))}if(i.instantiateWasm)try{return i.instantiateWasm(e,t)}catch(s){return E("Module.instantiateWasm callback failed with error: "+s),!1}(h||"function"!=typeof g.instantiateStreaming||oe($)||"function"!=typeof fetch?a(n):fetch($,{credentials:"same-origin"}).then((function(t){return g.instantiateStreaming(t,e).then(n,(function(e){return E("wasm streaming compile failed: "+e),E("falling back to ArrayBuffer instantiation"),a(n)}))}))).catch(o)}(),i.___wasm_call_ctors=ie("__wasm_call_ctors");var _e=i._malloc=ie("malloc");i._parseMPD=ie("parseMPD"),i._updatePreloadInfo=ie("updatePreloadInfo"),i._updateDeviceInfo=ie("updateDeviceInfo"),i._updateMediaInfo=ie("updateMediaInfo"),i._updateBufferInfo=ie("updateBufferInfo"),i._updateSwitchInfo=ie("updateSwitchInfo"),i._updatePreloadSupplier=ie("updatePreloadSupplier"),i._getPredictedBitrate=ie("getPredictedBitrate"),i._getPreloadBitrate=ie("getPreloadBitrate"),i._setDebugModel=ie("setDebugModel"),i._free=ie("free"),i.___errno_location=ie("__errno_location");var Re=i.___stdio_exit=ie("__stdio_exit"),Me=i._emscripten_stack_init=function(){return(Me=i._emscripten_stack_init=i.asm.emscripten_stack_init).apply(null,arguments)};i._emscripten_stack_get_free=function(){return(i._emscripten_stack_get_free=i.asm.emscripten_stack_get_free).apply(null,arguments)};var Pe,Se=i._emscripten_stack_get_end=function(){return(Se=i._emscripten_stack_get_end=i.asm.emscripten_stack_get_end).apply(null,arguments)},je=i.stackSave=ie("stackSave"),Fe=i.stackRestore=ie("stackRestore"),Ie=i.stackAlloc=ie("stackAlloc");function Ne(e){function t(){Pe||(Pe=!0,i.calledRun=!0,m||(H(),y(!W),W=!0,i.noFSInit||Ae.init.initialized||Ae.init(),Ae.ignorePermissions=!1,se(G),n(i),i.onRuntimeInitialized&&i.onRuntimeInitialized(),y(!i._main,'compiled without a main, but one is present. if you added it from JS, use Module["onRuntimeInitialized"]'),function(){if(H(),i.postRun)for("function"==typeof i.postRun&&(i.postRun=[i.postRun]);i.postRun.length;)e=i.postRun.shift(),B.unshift(e);var e;se(B)}()))}L>0||(Me(),C(),function(){if(i.preRun)for("function"==typeof i.preRun&&(i.preRun=[i.preRun]);i.preRun.length;)e=i.preRun.shift(),Q.unshift(e);var e;se(Q)}(),L>0||(i.setStatus?(i.setStatus("Running..."),setTimeout((function(){setTimeout((function(){i.setStatus("")}),1),t()}),1)):t(),H()))}if(i.dynCall_jiji=ie("dynCall_jiji"),Object.getOwnPropertyDescriptor(i,"intArrayFromString")||(i.intArrayFromString=function(){return K("'intArrayFromString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"intArrayToString")||(i.intArrayToString=function(){return K("'intArrayToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),i.ccall=w,i.cwrap=function(e,t,r,n){return function(){return w(e,t,r,arguments)}},Object.getOwnPropertyDescriptor(i,"setValue")||(i.setValue=function(){return K("'setValue' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"getValue")||(i.getValue=function(){return K("'getValue' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"allocate")||(i.allocate=function(){return K("'allocate' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"UTF8ArrayToString")||(i.UTF8ArrayToString=function(){return K("'UTF8ArrayToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"UTF8ToString")||(i.UTF8ToString=function(){return K("'UTF8ToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"stringToUTF8Array")||(i.stringToUTF8Array=function(){return K("'stringToUTF8Array' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"stringToUTF8")||(i.stringToUTF8=function(){return K("'stringToUTF8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"lengthBytesUTF8")||(i.lengthBytesUTF8=function(){return K("'lengthBytesUTF8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"stackTrace")||(i.stackTrace=function(){return K("'stackTrace' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"addOnPreRun")||(i.addOnPreRun=function(){return K("'addOnPreRun' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"addOnInit")||(i.addOnInit=function(){return K("'addOnInit' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"addOnPreMain")||(i.addOnPreMain=function(){return K("'addOnPreMain' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"addOnExit")||(i.addOnExit=function(){return K("'addOnExit' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"addOnPostRun")||(i.addOnPostRun=function(){return K("'addOnPostRun' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"writeStringToMemory")||(i.writeStringToMemory=function(){return K("'writeStringToMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),i.writeArrayToMemory=I,Object.getOwnPropertyDescriptor(i,"writeAsciiToMemory")||(i.writeAsciiToMemory=function(){return K("'writeAsciiToMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"addRunDependency")||(i.addRunDependency=function(){return K("'addRunDependency' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),Object.getOwnPropertyDescriptor(i,"removeRunDependency")||(i.removeRunDependency=function(){return K("'removeRunDependency' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),Object.getOwnPropertyDescriptor(i,"FS_createFolder")||(i.FS_createFolder=function(){return K("'FS_createFolder' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"FS_createPath")||(i.FS_createPath=function(){return K("'FS_createPath' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),Object.getOwnPropertyDescriptor(i,"FS_createDataFile")||(i.FS_createDataFile=function(){return K("'FS_createDataFile' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),Object.getOwnPropertyDescriptor(i,"FS_createPreloadedFile")||(i.FS_createPreloadedFile=function(){return K("'FS_createPreloadedFile' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),Object.getOwnPropertyDescriptor(i,"FS_createLazyFile")||(i.FS_createLazyFile=function(){return K("'FS_createLazyFile' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),Object.getOwnPropertyDescriptor(i,"FS_createLink")||(i.FS_createLink=function(){return K("'FS_createLink' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"FS_createDevice")||(i.FS_createDevice=function(){return K("'FS_createDevice' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),Object.getOwnPropertyDescriptor(i,"FS_unlink")||(i.FS_unlink=function(){return K("'FS_unlink' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),Object.getOwnPropertyDescriptor(i,"getLEB")||(i.getLEB=function(){return K("'getLEB' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"getFunctionTables")||(i.getFunctionTables=function(){return K("'getFunctionTables' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"alignFunctionTables")||(i.alignFunctionTables=function(){return K("'alignFunctionTables' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"registerFunctions")||(i.registerFunctions=function(){return K("'registerFunctions' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"addFunction")||(i.addFunction=function(){return K("'addFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"removeFunction")||(i.removeFunction=function(){return K("'removeFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"getFuncWrapper")||(i.getFuncWrapper=function(){return K("'getFuncWrapper' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"prettyPrint")||(i.prettyPrint=function(){return K("'prettyPrint' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"dynCall")||(i.dynCall=function(){return K("'dynCall' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"getCompilerSetting")||(i.getCompilerSetting=function(){return K("'getCompilerSetting' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),i.print=p,Object.getOwnPropertyDescriptor(i,"printErr")||(i.printErr=function(){return K("'printErr' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"getTempRet0")||(i.getTempRet0=function(){return K("'getTempRet0' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"setTempRet0")||(i.setTempRet0=function(){return K("'setTempRet0' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"callMain")||(i.callMain=function(){return K("'callMain' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"abort")||(i.abort=function(){return K("'abort' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"keepRuntimeAlive")||(i.keepRuntimeAlive=function(){return K("'keepRuntimeAlive' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"zeroMemory")||(i.zeroMemory=function(){return K("'zeroMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"stringToNewUTF8")||(i.stringToNewUTF8=function(){return K("'stringToNewUTF8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"setFileTime")||(i.setFileTime=function(){return K("'setFileTime' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"emscripten_realloc_buffer")||(i.emscripten_realloc_buffer=function(){return K("'emscripten_realloc_buffer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"ENV")||(i.ENV=function(){return K("'ENV' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"withStackSave")||(i.withStackSave=function(){return K("'withStackSave' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"ERRNO_CODES")||(i.ERRNO_CODES=function(){return K("'ERRNO_CODES' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"ERRNO_MESSAGES")||(i.ERRNO_MESSAGES=function(){return K("'ERRNO_MESSAGES' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"setErrNo")||(i.setErrNo=function(){return K("'setErrNo' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"inetPton4")||(i.inetPton4=function(){return K("'inetPton4' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"inetNtop4")||(i.inetNtop4=function(){return K("'inetNtop4' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"inetPton6")||(i.inetPton6=function(){return K("'inetPton6' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"inetNtop6")||(i.inetNtop6=function(){return K("'inetNtop6' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"readSockaddr")||(i.readSockaddr=function(){return K("'readSockaddr' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"writeSockaddr")||(i.writeSockaddr=function(){return K("'writeSockaddr' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"DNS")||(i.DNS=function(){return K("'DNS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"getHostByName")||(i.getHostByName=function(){return K("'getHostByName' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"GAI_ERRNO_MESSAGES")||(i.GAI_ERRNO_MESSAGES=function(){return K("'GAI_ERRNO_MESSAGES' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"Protocols")||(i.Protocols=function(){return K("'Protocols' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"Sockets")||(i.Sockets=function(){return K("'Sockets' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"getRandomDevice")||(i.getRandomDevice=function(){return K("'getRandomDevice' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"traverseStack")||(i.traverseStack=function(){return K("'traverseStack' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"convertFrameToPC")||(i.convertFrameToPC=function(){return K("'convertFrameToPC' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"UNWIND_CACHE")||(i.UNWIND_CACHE=function(){return K("'UNWIND_CACHE' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"saveInUnwindCache")||(i.saveInUnwindCache=function(){return K("'saveInUnwindCache' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"convertPCtoSourceLocation")||(i.convertPCtoSourceLocation=function(){return K("'convertPCtoSourceLocation' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"readAsmConstArgsArray")||(i.readAsmConstArgsArray=function(){return K("'readAsmConstArgsArray' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"readAsmConstArgs")||(i.readAsmConstArgs=function(){return K("'readAsmConstArgs' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"mainThreadEM_ASM")||(i.mainThreadEM_ASM=function(){return K("'mainThreadEM_ASM' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"jstoi_q")||(i.jstoi_q=function(){return K("'jstoi_q' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"jstoi_s")||(i.jstoi_s=function(){return K("'jstoi_s' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"getExecutableName")||(i.getExecutableName=function(){return K("'getExecutableName' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"listenOnce")||(i.listenOnce=function(){return K("'listenOnce' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"autoResumeAudioContext")||(i.autoResumeAudioContext=function(){return K("'autoResumeAudioContext' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"dynCallLegacy")||(i.dynCallLegacy=function(){return K("'dynCallLegacy' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"getDynCaller")||(i.getDynCaller=function(){return K("'getDynCaller' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"dynCall")||(i.dynCall=function(){return K("'dynCall' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"callRuntimeCallbacks")||(i.callRuntimeCallbacks=function(){return K("'callRuntimeCallbacks' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"setWasmTableEntry")||(i.setWasmTableEntry=function(){return K("'setWasmTableEntry' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"getWasmTableEntry")||(i.getWasmTableEntry=function(){return K("'getWasmTableEntry' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"handleException")||(i.handleException=function(){return K("'handleException' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"runtimeKeepalivePush")||(i.runtimeKeepalivePush=function(){return K("'runtimeKeepalivePush' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"runtimeKeepalivePop")||(i.runtimeKeepalivePop=function(){return K("'runtimeKeepalivePop' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"callUserCallback")||(i.callUserCallback=function(){return K("'callUserCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"maybeExit")||(i.maybeExit=function(){return K("'maybeExit' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"safeSetTimeout")||(i.safeSetTimeout=function(){return K("'safeSetTimeout' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"asmjsMangle")||(i.asmjsMangle=function(){return K("'asmjsMangle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"asyncLoad")||(i.asyncLoad=function(){return K("'asyncLoad' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"alignMemory")||(i.alignMemory=function(){return K("'alignMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"mmapAlloc")||(i.mmapAlloc=function(){return K("'mmapAlloc' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"reallyNegative")||(i.reallyNegative=function(){return K("'reallyNegative' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"unSign")||(i.unSign=function(){return K("'unSign' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"reSign")||(i.reSign=function(){return K("'reSign' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"formatString")||(i.formatString=function(){return K("'formatString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"PATH")||(i.PATH=function(){return K("'PATH' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"PATH_FS")||(i.PATH_FS=function(){return K("'PATH_FS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"SYSCALLS")||(i.SYSCALLS=function(){return K("'SYSCALLS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"syscallMmap2")||(i.syscallMmap2=function(){return K("'syscallMmap2' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"syscallMunmap")||(i.syscallMunmap=function(){return K("'syscallMunmap' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"getSocketFromFD")||(i.getSocketFromFD=function(){return K("'getSocketFromFD' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"getSocketAddress")||(i.getSocketAddress=function(){return K("'getSocketAddress' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"JSEvents")||(i.JSEvents=function(){return K("'JSEvents' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"registerKeyEventCallback")||(i.registerKeyEventCallback=function(){return K("'registerKeyEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"specialHTMLTargets")||(i.specialHTMLTargets=function(){return K("'specialHTMLTargets' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"maybeCStringToJsString")||(i.maybeCStringToJsString=function(){return K("'maybeCStringToJsString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"findEventTarget")||(i.findEventTarget=function(){return K("'findEventTarget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"findCanvasEventTarget")||(i.findCanvasEventTarget=function(){return K("'findCanvasEventTarget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"getBoundingClientRect")||(i.getBoundingClientRect=function(){return K("'getBoundingClientRect' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"fillMouseEventData")||(i.fillMouseEventData=function(){return K("'fillMouseEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"registerMouseEventCallback")||(i.registerMouseEventCallback=function(){return K("'registerMouseEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"registerWheelEventCallback")||(i.registerWheelEventCallback=function(){return K("'registerWheelEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"registerUiEventCallback")||(i.registerUiEventCallback=function(){return K("'registerUiEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"registerFocusEventCallback")||(i.registerFocusEventCallback=function(){return K("'registerFocusEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"fillDeviceOrientationEventData")||(i.fillDeviceOrientationEventData=function(){return K("'fillDeviceOrientationEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"registerDeviceOrientationEventCallback")||(i.registerDeviceOrientationEventCallback=function(){return K("'registerDeviceOrientationEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"fillDeviceMotionEventData")||(i.fillDeviceMotionEventData=function(){return K("'fillDeviceMotionEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"registerDeviceMotionEventCallback")||(i.registerDeviceMotionEventCallback=function(){return K("'registerDeviceMotionEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"screenOrientation")||(i.screenOrientation=function(){return K("'screenOrientation' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"fillOrientationChangeEventData")||(i.fillOrientationChangeEventData=function(){return K("'fillOrientationChangeEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"registerOrientationChangeEventCallback")||(i.registerOrientationChangeEventCallback=function(){return K("'registerOrientationChangeEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"fillFullscreenChangeEventData")||(i.fillFullscreenChangeEventData=function(){return K("'fillFullscreenChangeEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"registerFullscreenChangeEventCallback")||(i.registerFullscreenChangeEventCallback=function(){return K("'registerFullscreenChangeEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"registerRestoreOldStyle")||(i.registerRestoreOldStyle=function(){return K("'registerRestoreOldStyle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"hideEverythingExceptGivenElement")||(i.hideEverythingExceptGivenElement=function(){return K("'hideEverythingExceptGivenElement' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"restoreHiddenElements")||(i.restoreHiddenElements=function(){return K("'restoreHiddenElements' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"setLetterbox")||(i.setLetterbox=function(){return K("'setLetterbox' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"currentFullscreenStrategy")||(i.currentFullscreenStrategy=function(){return K("'currentFullscreenStrategy' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"restoreOldWindowedStyle")||(i.restoreOldWindowedStyle=function(){return K("'restoreOldWindowedStyle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"softFullscreenResizeWebGLRenderTarget")||(i.softFullscreenResizeWebGLRenderTarget=function(){return K("'softFullscreenResizeWebGLRenderTarget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"doRequestFullscreen")||(i.doRequestFullscreen=function(){return K("'doRequestFullscreen' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"fillPointerlockChangeEventData")||(i.fillPointerlockChangeEventData=function(){return K("'fillPointerlockChangeEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"registerPointerlockChangeEventCallback")||(i.registerPointerlockChangeEventCallback=function(){return K("'registerPointerlockChangeEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"registerPointerlockErrorEventCallback")||(i.registerPointerlockErrorEventCallback=function(){return K("'registerPointerlockErrorEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"requestPointerLock")||(i.requestPointerLock=function(){return K("'requestPointerLock' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"fillVisibilityChangeEventData")||(i.fillVisibilityChangeEventData=function(){return K("'fillVisibilityChangeEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"registerVisibilityChangeEventCallback")||(i.registerVisibilityChangeEventCallback=function(){return K("'registerVisibilityChangeEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"registerTouchEventCallback")||(i.registerTouchEventCallback=function(){return K("'registerTouchEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"fillGamepadEventData")||(i.fillGamepadEventData=function(){return K("'fillGamepadEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"registerGamepadEventCallback")||(i.registerGamepadEventCallback=function(){return K("'registerGamepadEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"registerBeforeUnloadEventCallback")||(i.registerBeforeUnloadEventCallback=function(){return K("'registerBeforeUnloadEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"fillBatteryEventData")||(i.fillBatteryEventData=function(){return K("'fillBatteryEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"battery")||(i.battery=function(){return K("'battery' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"registerBatteryEventCallback")||(i.registerBatteryEventCallback=function(){return K("'registerBatteryEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"setCanvasElementSize")||(i.setCanvasElementSize=function(){return K("'setCanvasElementSize' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"getCanvasElementSize")||(i.getCanvasElementSize=function(){return K("'getCanvasElementSize' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"demangle")||(i.demangle=function(){return K("'demangle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"demangleAll")||(i.demangleAll=function(){return K("'demangleAll' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"jsStackTrace")||(i.jsStackTrace=function(){return K("'jsStackTrace' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"stackTrace")||(i.stackTrace=function(){return K("'stackTrace' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"getEnvStrings")||(i.getEnvStrings=function(){return K("'getEnvStrings' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"checkWasiClock")||(i.checkWasiClock=function(){return K("'checkWasiClock' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"writeI53ToI64")||(i.writeI53ToI64=function(){return K("'writeI53ToI64' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"writeI53ToI64Clamped")||(i.writeI53ToI64Clamped=function(){return K("'writeI53ToI64Clamped' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"writeI53ToI64Signaling")||(i.writeI53ToI64Signaling=function(){return K("'writeI53ToI64Signaling' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"writeI53ToU64Clamped")||(i.writeI53ToU64Clamped=function(){return K("'writeI53ToU64Clamped' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"writeI53ToU64Signaling")||(i.writeI53ToU64Signaling=function(){return K("'writeI53ToU64Signaling' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"readI53FromI64")||(i.readI53FromI64=function(){return K("'readI53FromI64' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"readI53FromU64")||(i.readI53FromU64=function(){return K("'readI53FromU64' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"convertI32PairToI53")||(i.convertI32PairToI53=function(){return K("'convertI32PairToI53' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"convertU32PairToI53")||(i.convertU32PairToI53=function(){return K("'convertU32PairToI53' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"setImmediateWrapped")||(i.setImmediateWrapped=function(){return K("'setImmediateWrapped' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"clearImmediateWrapped")||(i.clearImmediateWrapped=function(){return K("'clearImmediateWrapped' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"polyfillSetImmediate")||(i.polyfillSetImmediate=function(){return K("'polyfillSetImmediate' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"uncaughtExceptionCount")||(i.uncaughtExceptionCount=function(){return K("'uncaughtExceptionCount' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"exceptionLast")||(i.exceptionLast=function(){return K("'exceptionLast' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"exceptionCaught")||(i.exceptionCaught=function(){return K("'exceptionCaught' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"ExceptionInfo")||(i.ExceptionInfo=function(){return K("'ExceptionInfo' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"CatchInfo")||(i.CatchInfo=function(){return K("'CatchInfo' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"exception_addRef")||(i.exception_addRef=function(){return K("'exception_addRef' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"exception_decRef")||(i.exception_decRef=function(){return K("'exception_decRef' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"Browser")||(i.Browser=function(){return K("'Browser' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"funcWrappers")||(i.funcWrappers=function(){return K("'funcWrappers' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"getFuncWrapper")||(i.getFuncWrapper=function(){return K("'getFuncWrapper' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"setMainLoop")||(i.setMainLoop=function(){return K("'setMainLoop' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"wget")||(i.wget=function(){return K("'wget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"FS")||(i.FS=function(){return K("'FS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"MEMFS")||(i.MEMFS=function(){return K("'MEMFS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"TTY")||(i.TTY=function(){return K("'TTY' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"PIPEFS")||(i.PIPEFS=function(){return K("'PIPEFS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"SOCKFS")||(i.SOCKFS=function(){return K("'SOCKFS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"_setNetworkCallback")||(i._setNetworkCallback=function(){return K("'_setNetworkCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"tempFixedLengthArray")||(i.tempFixedLengthArray=function(){return K("'tempFixedLengthArray' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"miniTempWebGLFloatBuffers")||(i.miniTempWebGLFloatBuffers=function(){return K("'miniTempWebGLFloatBuffers' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"heapObjectForWebGLType")||(i.heapObjectForWebGLType=function(){return K("'heapObjectForWebGLType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"heapAccessShiftForWebGLHeap")||(i.heapAccessShiftForWebGLHeap=function(){return K("'heapAccessShiftForWebGLHeap' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"GL")||(i.GL=function(){return K("'GL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"emscriptenWebGLGet")||(i.emscriptenWebGLGet=function(){return K("'emscriptenWebGLGet' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"computeUnpackAlignedImageSize")||(i.computeUnpackAlignedImageSize=function(){return K("'computeUnpackAlignedImageSize' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"emscriptenWebGLGetTexPixelData")||(i.emscriptenWebGLGetTexPixelData=function(){return K("'emscriptenWebGLGetTexPixelData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"emscriptenWebGLGetUniform")||(i.emscriptenWebGLGetUniform=function(){return K("'emscriptenWebGLGetUniform' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"webglGetUniformLocation")||(i.webglGetUniformLocation=function(){return K("'webglGetUniformLocation' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"webglPrepareUniformLocationsBeforeFirstUse")||(i.webglPrepareUniformLocationsBeforeFirstUse=function(){return K("'webglPrepareUniformLocationsBeforeFirstUse' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"webglGetLeftBracePos")||(i.webglGetLeftBracePos=function(){return K("'webglGetLeftBracePos' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"emscriptenWebGLGetVertexAttrib")||(i.emscriptenWebGLGetVertexAttrib=function(){return K("'emscriptenWebGLGetVertexAttrib' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"writeGLArray")||(i.writeGLArray=function(){return K("'writeGLArray' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"AL")||(i.AL=function(){return K("'AL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"SDL_unicode")||(i.SDL_unicode=function(){return K("'SDL_unicode' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"SDL_ttfContext")||(i.SDL_ttfContext=function(){return K("'SDL_ttfContext' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"SDL_audio")||(i.SDL_audio=function(){return K("'SDL_audio' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"SDL")||(i.SDL=function(){return K("'SDL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"SDL_gfx")||(i.SDL_gfx=function(){return K("'SDL_gfx' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"GLUT")||(i.GLUT=function(){return K("'GLUT' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"EGL")||(i.EGL=function(){return K("'EGL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"GLFW_Window")||(i.GLFW_Window=function(){return K("'GLFW_Window' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"GLFW")||(i.GLFW=function(){return K("'GLFW' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"GLEW")||(i.GLEW=function(){return K("'GLEW' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"IDBStore")||(i.IDBStore=function(){return K("'IDBStore' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"runAndAbortIfError")||(i.runAndAbortIfError=function(){return K("'runAndAbortIfError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"warnOnce")||(i.warnOnce=function(){return K("'warnOnce' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"stackSave")||(i.stackSave=function(){return K("'stackSave' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"stackRestore")||(i.stackRestore=function(){return K("'stackRestore' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"stackAlloc")||(i.stackAlloc=function(){return K("'stackAlloc' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"AsciiToString")||(i.AsciiToString=function(){return K("'AsciiToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"stringToAscii")||(i.stringToAscii=function(){return K("'stringToAscii' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"UTF16ToString")||(i.UTF16ToString=function(){return K("'UTF16ToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"stringToUTF16")||(i.stringToUTF16=function(){return K("'stringToUTF16' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"lengthBytesUTF16")||(i.lengthBytesUTF16=function(){return K("'lengthBytesUTF16' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"UTF32ToString")||(i.UTF32ToString=function(){return K("'UTF32ToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"stringToUTF32")||(i.stringToUTF32=function(){return K("'stringToUTF32' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"lengthBytesUTF32")||(i.lengthBytesUTF32=function(){return K("'lengthBytesUTF32' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"allocateUTF8")||(i.allocateUTF8=function(){return K("'allocateUTF8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"allocateUTF8OnStack")||(i.allocateUTF8OnStack=function(){return K("'allocateUTF8OnStack' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),i.writeStackCookie=C,i.checkStackCookie=H,Object.getOwnPropertyDescriptor(i,"intArrayFromBase64")||(i.intArrayFromBase64=function(){return K("'intArrayFromBase64' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"tryParseAsDataURI")||(i.tryParseAsDataURI=function(){return K("'tryParseAsDataURI' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(i,"ALLOC_NORMAL")||Object.defineProperty(i,"ALLOC_NORMAL",{configurable:!0,get:function(){K("'ALLOC_NORMAL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}}),Object.getOwnPropertyDescriptor(i,"ALLOC_STACK")||Object.defineProperty(i,"ALLOC_STACK",{configurable:!0,get:function(){K("'ALLOC_STACK' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}}),V=function e(){Pe||Ne(),Pe||(V=e)},i.run=Ne,i.preInit)for("function"==typeof i.preInit&&(i.preInit=[i.preInit]);i.preInit.length>0;)i.preInit.pop()();return Ne(),r.ready});return r}));