
var Module = (function() {
  var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined;
  return (
function(Module) {
  Module = Module || {};

var d;d||(d=typeof Module !== 'undefined' ? Module : {});var h={},l;for(l in d)d.hasOwnProperty(l)&&(h[l]=d[l]);var aa=[],ba="./this.program";function ca(a,b){throw b;}var n="",da,ea;n=self.location.href;_scriptDir&&(n=_scriptDir);0!==n.indexOf("blob:")?n=n.substr(0,n.lastIndexOf("/")+1):n="";da=function(a){var b=new XMLHttpRequest;b.open("GET",a,!1);b.send(null);return b.responseText};
ea=function(a){var b=new XMLHttpRequest;b.open("GET",a,!1);b.responseType="arraybuffer";b.send(null);return new Uint8Array(b.response)};var fa=d.print||console.log.bind(console),p=d.printErr||console.warn.bind(console);for(l in h)h.hasOwnProperty(l)&&(d[l]=h[l]);h=null;d.arguments&&(aa=d.arguments);d.thisProgram&&(ba=d.thisProgram);d.quit&&(ca=d.quit);function ha(a){var b=r[ia>>2];a=b+a+15&-16;a>ja()&&v();r[ia>>2]=a;return b}
var ka={"f64-rem":function(a,b){return a%b},"debugger":function(){}},la=0,w;d.wasmBinary&&(w=d.wasmBinary);var ma;d.noExitRuntime&&(ma=d.noExitRuntime);"object"!==typeof WebAssembly&&p("no native wasm support detected");var x,na=!1;function oa(a,b){a||v("Assertion failed: "+b)}
function pa(a){if("number"===typeof a){var b=!0;var c=a}else b=!1,c=a.length;var e=y(Math.max(c,1));if(b){a=e;oa(0==(e&3));for(b=e+(c&-4);a<b;a+=4)r[a>>2]=0;for(b=e+c;a<b;)z[a++>>0]=0;return e}a.subarray||a.slice?A.set(a,e):A.set(new Uint8Array(a),e);return e}var qa="undefined"!==typeof TextDecoder?new TextDecoder("utf8"):void 0;
function B(a,b,c){var e=b+c;for(c=b;a[c]&&!(c>=e);)++c;if(16<c-b&&a.subarray&&qa)return qa.decode(a.subarray(b,c));for(e="";b<c;){var f=a[b++];if(f&128){var g=a[b++]&63;if(192==(f&224))e+=String.fromCharCode((f&31)<<6|g);else{var k=a[b++]&63;f=224==(f&240)?(f&15)<<12|g<<6|k:(f&7)<<18|g<<12|k<<6|a[b++]&63;65536>f?e+=String.fromCharCode(f):(f-=65536,e+=String.fromCharCode(55296|f>>10,56320|f&1023))}}else e+=String.fromCharCode(f)}return e}function C(a){return a?B(A,a,void 0):""}
function D(a,b,c,e){if(!(0<e))return 0;var f=c;e=c+e-1;for(var g=0;g<a.length;++g){var k=a.charCodeAt(g);if(55296<=k&&57343>=k){var m=a.charCodeAt(++g);k=65536+((k&1023)<<10)|m&1023}if(127>=k){if(c>=e)break;b[c++]=k}else{if(2047>=k){if(c+1>=e)break;b[c++]=192|k>>6}else{if(65535>=k){if(c+2>=e)break;b[c++]=224|k>>12}else{if(c+3>=e)break;b[c++]=240|k>>18;b[c++]=128|k>>12&63}b[c++]=128|k>>6&63}b[c++]=128|k&63}}b[c]=0;return c-f}
function sa(a){for(var b=0,c=0;c<a.length;++c){var e=a.charCodeAt(c);55296<=e&&57343>=e&&(e=65536+((e&1023)<<10)|a.charCodeAt(++c)&1023);127>=e?++b:b=2047>=e?b+2:65535>=e?b+3:b+4}return b}"undefined"!==typeof TextDecoder&&new TextDecoder("utf-16le");function ta(a){var b=sa(a)+1,c=ua(b);D(a,z,c,b);return c}function va(a){0<a%65536&&(a+=65536-a%65536);return a}var E,z,A,wa,r;
function xa(a){E=a;d.HEAP8=z=new Int8Array(a);d.HEAP16=wa=new Int16Array(a);d.HEAP32=r=new Int32Array(a);d.HEAPU8=A=new Uint8Array(a);d.HEAPU16=new Uint16Array(a);d.HEAPU32=new Uint32Array(a);d.HEAPF32=new Float32Array(a);d.HEAPF64=new Float64Array(a)}var ia=148032,ya=d.TOTAL_MEMORY||16777216;d.wasmMemory?x=d.wasmMemory:x=new WebAssembly.Memory({initial:ya/65536});x&&(E=x.buffer);ya=E.byteLength;xa(E);r[ia>>2]=5390944;
function za(a){for(;0<a.length;){var b=a.shift();if("function"==typeof b)b();else{var c=b.dc;"number"===typeof c?void 0===b.La?d.dynCall_v(c):d.dynCall_vi(c,b.La):c(void 0===b.La?null:b.La)}}}var Aa=[],Ba=[],Ca=[],Da=[],Ea=!1;function Fa(){var a=d.preRun.shift();Aa.unshift(a)}var Ga=Math.abs,Ha=Math.ceil,Ia=Math.floor,Ja=Math.min,F=0,Ka=null,Na=null;function Oa(){F++;d.monitorRunDependencies&&d.monitorRunDependencies(F)}
function Pa(){F--;d.monitorRunDependencies&&d.monitorRunDependencies(F);if(0==F&&(null!==Ka&&(clearInterval(Ka),Ka=null),Na)){var a=Na;Na=null;a()}}d.preloadedImages={};d.preloadedAudios={};function Qa(){var a=G;return String.prototype.startsWith?a.startsWith("data:application/octet-stream;base64,"):0===a.indexOf("data:application/octet-stream;base64,")}var G="ect.wasm";if(!Qa()){var Ra=G;G=d.locateFile?d.locateFile(Ra,n):n+Ra}
function Sa(){try{if(w)return new Uint8Array(w);if(ea)return ea(G);throw"both async and sync fetching of the wasm failed";}catch(a){v(a)}}function Ta(){return w||"function"!==typeof fetch?new Promise(function(a){a(Sa())}):fetch(G,{credentials:"same-origin"}).then(function(a){if(!a.ok)throw"failed to load wasm binary file at '"+G+"'";return a.arrayBuffer()}).catch(function(){return Sa()})}
function Ua(a){function b(a){d.asm=a.exports;Pa()}function c(a){b(a.instance)}function e(a){return Ta().then(function(a){return WebAssembly.instantiate(a,f)}).then(a,function(a){p("failed to asynchronously prepare wasm: "+a);v(a)})}var f={env:a,wasi_unstable:a,global:{NaN:NaN,Infinity:Infinity},"global.Math":Math,asm2wasm:ka};Oa();if(d.instantiateWasm)try{return d.instantiateWasm(f,b)}catch(g){return p("Module.instantiateWasm callback failed with error: "+g),!1}(function(){if(w||"function"!==typeof WebAssembly.instantiateStreaming||
Qa()||"function"!==typeof fetch)return e(c);fetch(G,{credentials:"same-origin"}).then(function(a){return WebAssembly.instantiateStreaming(a,f).then(c,function(a){p("wasm streaming compile failed: "+a);p("falling back to ArrayBuffer instantiation");e(c)})})})();return{}}d.asm=function(a,b){b.memory=x;b.table=new WebAssembly.Table({initial:1038,maximum:1038,element:"anyfunc"});b.__memory_base=1024;b.__table_base=0;return Ua(b)};var H,I;Ba.push({dc:function(){Va()}});
function Wa(a){return a.replace(/\b__Z[\w\d_]+/g,function(a){return a===a?a:a+" ["+a+"]"})}function Xa(){var a=Error();if(!a.stack){try{throw Error(0);}catch(b){a=b}if(!a.stack)return"(no stack trace available)"}return a.stack.toString()}function Ya(){var a=Xa();d.extraStackTrace&&(a+="\n"+d.extraStackTrace());return Wa(a)}var J={};
function Za(a){if(Za.Ma){var b=r[a>>2];var c=r[b>>2]}else Za.Ma=!0,J.USER=J.LOGNAME="web_user",J.PATH="/",J.PWD="/",J.HOME="/home/web_user",J.LANG=("object"===typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",J._=ba,c=Ea?y(1024):ha(1024),b=Ea?y(256):ha(256),r[b>>2]=c,r[a>>2]=b;a=[];var e=0,f;for(f in J)if("string"===typeof J[f]){var g=f+"="+J[f];a.push(g);e+=g.length}if(1024<e)throw Error("Environment size exceeded TOTAL_ENV_SIZE!");for(f=0;f<a.length;f++){e=
g=a[f];for(var k=c,m=0;m<e.length;++m)z[k++>>0]=e.charCodeAt(m);z[k>>0]=0;r[b+4*f>>2]=c;c+=g.length+1}r[b+4*a.length>>2]=0}function $a(){v()}function ab(){return"object"===typeof performance&&performance&&"function"===typeof performance.now}function K(a){d.___errno_location&&(r[d.___errno_location()>>2]=a);return a}function bb(a,b){if(0===a)a=Date.now();else if(1===a&&ab())a=$a();else return K(22),-1;r[b>>2]=a/1E3|0;r[b+4>>2]=a%1E3*1E6|0;return 0}var L={},cb=[];function db(a){a&&L[a].Bc++}
function eb(a){if(!a||L[a])return a;for(var b in L)for(var c=+b,e=L[c].Sb,f=e.length,g=0;g<f;g++)if(e[g]===a)return c;return a}function fb(a,b){for(var c=0,e=a.length-1;0<=e;e--){var f=a[e];"."===f?a.splice(e,1):".."===f?(a.splice(e,1),c++):c&&(a.splice(e,1),c--)}if(b)for(;c;c--)a.unshift("..");return a}function M(a){var b="/"===a.charAt(0),c="/"===a.substr(-1);(a=fb(a.split("/").filter(function(a){return!!a}),!b).join("/"))||b||(a=".");a&&c&&(a+="/");return(b?"/":"")+a}
function gb(a){var b=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(a).slice(1);a=b[0];b=b[1];if(!a&&!b)return".";b&&(b=b.substr(0,b.length-1));return a+b}function N(a){if("/"===a)return"/";var b=a.lastIndexOf("/");return-1===b?a:a.substr(b+1)}function hb(){return M(Array.prototype.slice.call(arguments,0).join("/"))}function O(a,b){return M(a+"/"+b)}
function Q(){for(var a="",b=!1,c=arguments.length-1;-1<=c&&!b;c--){b=0<=c?arguments[c]:R.wa();if("string"!==typeof b)throw new TypeError("Arguments to path.resolve must be strings");if(!b)return"";a=b+"/"+a;b="/"===b.charAt(0)}a=fb(a.split("/").filter(function(a){return!!a}),!b).join("/");return(b?"/":"")+a||"."}
function ib(a,b){function c(a){for(var b=0;b<a.length&&""===a[b];b++);for(var c=a.length-1;0<=c&&""===a[c];c--);return b>c?[]:a.slice(b,c-b+1)}a=Q(a).substr(1);b=Q(b).substr(1);a=c(a.split("/"));b=c(b.split("/"));for(var e=Math.min(a.length,b.length),f=e,g=0;g<e;g++)if(a[g]!==b[g]){f=g;break}e=[];for(g=f;g<a.length;g++)e.push("..");e=e.concat(b.slice(f));return e.join("/")}var jb=[];function kb(a,b){jb[a]={input:[],v:[],da:b};R.eb(a,lb)}
var lb={open:function(a){var b=jb[a.node.ea];if(!b)throw new R.b(19);a.o=b;a.seekable=!1},close:function(a){a.o.da.flush(a.o)},flush:function(a){a.o.da.flush(a.o)},read:function(a,b,c,e){if(!a.o||!a.o.da.Bb)throw new R.b(6);for(var f=0,g=0;g<e;g++){try{var k=a.o.da.Bb(a.o)}catch(m){throw new R.b(5);}if(void 0===k&&0===f)throw new R.b(11);if(null===k||void 0===k)break;f++;b[c+g]=k}f&&(a.node.timestamp=Date.now());return f},write:function(a,b,c,e){if(!a.o||!a.o.da.$a)throw new R.b(6);try{for(var f=
0;f<e;f++)a.o.da.$a(a.o,b[c+f])}catch(g){throw new R.b(5);}e&&(a.node.timestamp=Date.now());return f}},mb={Bb:function(a){if(!a.input.length){var b=null;"undefined"!=typeof window&&"function"==typeof window.prompt?(b=window.prompt("Input: "),null!==b&&(b+="\n")):"function"==typeof readline&&(b=readline(),null!==b&&(b+="\n"));if(!b)return null;a.input=S(b,!0)}return a.input.shift()},$a:function(a,b){null===b||10===b?(fa(B(a.v,0)),a.v=[]):0!=b&&a.v.push(b)},flush:function(a){a.v&&0<a.v.length&&(fa(B(a.v,
0)),a.v=[])}},nb={$a:function(a,b){null===b||10===b?(p(B(a.v,0)),a.v=[]):0!=b&&a.v.push(b)},flush:function(a){a.v&&0<a.v.length&&(p(B(a.v,0)),a.v=[])}},T={L:null,l:function(){return T.createNode(null,"/",16895,0)},createNode:function(a,b,c,e){if(R.kc(c)||R.lc(c))throw new R.b(1);T.L||(T.L={dir:{node:{F:T.f.F,s:T.f.s,U:T.f.U,J:T.f.J,aa:T.f.aa,N:T.f.N,X:T.f.X,S:T.f.S,M:T.f.M},stream:{G:T.g.G}},file:{node:{F:T.f.F,s:T.f.s},stream:{G:T.g.G,read:T.g.read,write:T.g.write,ha:T.g.ha,ba:T.g.ba,ca:T.g.ca}},
link:{node:{F:T.f.F,s:T.f.s,W:T.f.W},stream:{}},ob:{node:{F:T.f.F,s:T.f.s},stream:R.Tb}});c=R.createNode(a,b,c,e);R.m(c.mode)?(c.f=T.L.dir.node,c.g=T.L.dir.stream,c.c={}):R.isFile(c.mode)?(c.f=T.L.file.node,c.g=T.L.file.stream,c.j=0,c.c=null):R.ma(c.mode)?(c.f=T.L.link.node,c.g=T.L.link.stream):R.Aa(c.mode)&&(c.f=T.L.ob.node,c.g=T.L.ob.stream);c.timestamp=Date.now();a&&(a.c[b]=c);return c},bd:function(a){if(a.c&&a.c.subarray){for(var b=[],c=0;c<a.j;++c)b.push(a.c[c]);return b}return a.c},gc:function(a){return a.c?
a.c.subarray?a.c.subarray(0,a.j):new Uint8Array(a.c):new Uint8Array},xb:function(a,b){var c=a.c?a.c.length:0;c>=b||(b=Math.max(b,c*(1048576>c?2:1.125)|0),0!=c&&(b=Math.max(b,256)),c=a.c,a.c=new Uint8Array(b),0<a.j&&a.c.set(c.subarray(0,a.j),0))},Ec:function(a,b){if(a.j!=b)if(0==b)a.c=null,a.j=0;else{if(!a.c||a.c.subarray){var c=a.c;a.c=new Uint8Array(new ArrayBuffer(b));c&&a.c.set(c.subarray(0,Math.min(b,a.j)))}else if(a.c||(a.c=[]),a.c.length>b)a.c.length=b;else for(;a.c.length<b;)a.c.push(0);a.j=
b}},f:{F:function(a){var b={};b.ub=R.Aa(a.mode)?a.id:1;b.za=a.id;b.mode=a.mode;b.Hb=1;b.uid=0;b.Db=0;b.ea=a.ea;R.m(a.mode)?b.size=4096:R.isFile(a.mode)?b.size=a.j:R.ma(a.mode)?b.size=a.link.length:b.size=0;b.hb=new Date(a.timestamp);b.qa=new Date(a.timestamp);b.rb=new Date(a.timestamp);b.ib=4096;b.jb=Math.ceil(b.size/b.ib);return b},s:function(a,b){void 0!==b.mode&&(a.mode=b.mode);void 0!==b.timestamp&&(a.timestamp=b.timestamp);void 0!==b.size&&T.Ec(a,b.size)},U:function(){throw R.Qa[2];},J:function(a,
b,c,e){return T.createNode(a,b,c,e)},aa:function(a,b,c){if(R.m(a.mode)){try{var e=R.R(b,c)}catch(g){}if(e)for(var f in e.c)throw new R.b(39);}delete a.parent.c[a.name];a.name=c;b.c[c]=a;a.parent=b},N:function(a,b){delete a.c[b]},X:function(a,b){var c=R.R(a,b),e;for(e in c.c)throw new R.b(39);delete a.c[b]},S:function(a){var b=[".",".."],c;for(c in a.c)a.c.hasOwnProperty(c)&&b.push(c);return b},M:function(a,b,c){a=T.createNode(a,b,41471,0);a.link=c;return a},W:function(a){if(!R.ma(a.mode))throw new R.b(22);
return a.link}},g:{read:function(a,b,c,e,f){var g=a.node.c;if(f>=a.node.j)return 0;a=Math.min(a.node.j-f,e);if(8<a&&g.subarray)b.set(g.subarray(f,f+a),c);else for(e=0;e<a;e++)b[c+e]=g[f+e];return a},write:function(a,b,c,e,f,g){g=!1;if(!e)return 0;a=a.node;a.timestamp=Date.now();if(b.subarray&&(!a.c||a.c.subarray)){if(g)return a.c=b.subarray(c,c+e),a.j=e;if(0===a.j&&0===f)return a.c=new Uint8Array(b.subarray(c,c+e)),a.j=e;if(f+e<=a.j)return a.c.set(b.subarray(c,c+e),f),e}T.xb(a,f+e);if(a.c.subarray&&
b.subarray)a.c.set(b.subarray(c,c+e),f);else for(g=0;g<e;g++)a.c[f+g]=b[c+g];a.j=Math.max(a.j,f+e);return e},G:function(a,b,c){1===c?b+=a.position:2===c&&R.isFile(a.node.mode)&&(b+=a.node.j);if(0>b)throw new R.b(22);return b},ha:function(a,b,c){T.xb(a.node,b+c);a.node.j=Math.max(a.node.j,b+c)},ba:function(a,b,c,e,f,g,k){if(!R.isFile(a.node.mode))throw new R.b(19);c=a.node.c;if(k&2||c.buffer!==b&&c.buffer!==b.buffer){if(0<f||f+e<a.node.j)c.subarray?c=c.subarray(f,f+e):c=Array.prototype.slice.call(c,
f,f+e);a=!0;f=b.buffer==z.buffer;e=y(e);if(!e)throw new R.b(12);(f?z:b).set(c,e)}else a=!1,e=c.byteOffset;return{Jb:e,Ja:a}},ca:function(a,b,c,e,f){if(!R.isFile(a.node.mode))throw new R.b(19);if(f&2)return 0;T.g.write(a,b,0,e,c,!1);return 0}}},U={tb:{},indexedDB:function(){if("undefined"!==typeof indexedDB)return indexedDB;var a=null;"object"===typeof window&&(a=window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB);oa(a,"IDBFS used, but indexedDB not supported");return a},
sa:21,A:"FILE_DATA",l:function(a){return T.l.apply(null,arguments)},fb:function(a,b,c){U.hc(a,function(e,f){if(e)return c(e);U.ic(a,function(a,e){if(a)return c(a);U.Ac(b?e:f,b?f:e,c)})})},ec:function(a,b){var c=U.tb[a];if(c)return b(null,c);try{var e=U.indexedDB().open(a,U.sa)}catch(f){return b(f)}if(!e)return b("Unable to connect to IndexedDB");e.onupgradeneeded=function(a){var b=a.target.result;a=a.target.transaction;b=b.objectStoreNames.contains(U.A)?a.objectStore(U.A):b.createObjectStore(U.A);
b.indexNames.contains("timestamp")||b.createIndex("timestamp","timestamp",{unique:!1})};e.onsuccess=function(){c=e.result;U.tb[a]=c;b(null,c)};e.onerror=function(a){b(this.error);a.preventDefault()}},hc:function(a,b){function c(a){return"."!==a&&".."!==a}function e(a){return function(b){return O(a,b)}}var f={};for(a=R.S(a.oa).filter(c).map(e(a.oa));a.length;){var g=a.pop();try{var k=R.stat(g)}catch(m){return b(m)}R.m(k.mode)&&a.push.apply(a,R.S(g).filter(c).map(e(g)));f[g]={timestamp:k.qa}}return b(null,
{type:"local",entries:f})},ic:function(a,b){var c={};U.ec(a.oa,function(a,f){if(a)return b(a);try{var e=f.transaction([U.A],"readonly");e.onerror=function(a){b(this.error);a.preventDefault()};e.objectStore(U.A).index("timestamp").openKeyCursor().onsuccess=function(a){a=a.target.result;if(!a)return b(null,{type:"remote",db:f,entries:c});c[a.primaryKey]={timestamp:a.key};a.continue()}}catch(k){return b(k)}})},oc:function(a,b){try{var c=R.i(a).node;var e=R.stat(a)}catch(f){return b(f)}return R.m(e.mode)?
b(null,{timestamp:e.qa,mode:e.mode}):R.isFile(e.mode)?(c.c=T.gc(c),b(null,{timestamp:e.qa,mode:e.mode,c:c.c})):b(Error("node type not supported"))},Jc:function(a,b,c){try{if(R.m(b.mode))R.B(a,b.mode);else if(R.isFile(b.mode))R.Mb(a,b.c,{lb:!0});else return c(Error("node type not supported"));R.ja(a,b.mode);R.Lb(a,b.timestamp,b.timestamp)}catch(e){return c(e)}c(null)},Cc:function(a,b){try{R.i(a);var c=R.stat(a);R.m(c.mode)?R.X(a):R.isFile(c.mode)&&R.N(a)}catch(e){return b(e)}b(null)},pc:function(a,
b,c){a=a.get(b);a.onsuccess=function(a){c(null,a.target.result)};a.onerror=function(a){c(this.error);a.preventDefault()}},Kc:function(a,b,c,e){a=a.put(c,b);a.onsuccess=function(){e(null)};a.onerror=function(a){e(this.error);a.preventDefault()}},Dc:function(a,b,c){a=a.delete(b);a.onsuccess=function(){c(null)};a.onerror=function(a){c(this.error);a.preventDefault()}},Ac:function(a,b,c){function e(a){if(a&&!m)return m=!0,c(a)}var f=0,g=[];Object.keys(a.entries).forEach(function(c){var e=a.entries[c],
k=b.entries[c];if(!k||e.timestamp>k.timestamp)g.push(c),f++});var k=[];Object.keys(b.entries).forEach(function(b){a.entries[b]||(k.push(b),f++)});if(!f)return c(null);var m=!1,q=("remote"===a.type?a.db:b.db).transaction([U.A],"readwrite"),t=q.objectStore(U.A);q.onerror=function(a){e(this.error);a.preventDefault()};q.oncomplete=function(){m||c(null)};g.sort().forEach(function(a){"local"===b.type?U.pc(t,a,function(b,c){if(b)return e(b);U.Jc(a,c,e)}):U.oc(a,function(b,c){if(b)return e(b);U.Kc(t,a,c,
e)})});k.sort().reverse().forEach(function(a){"local"===b.type?U.Cc(a,e):U.Dc(t,a,e)})}},V={Ia:16895,ga:33279,bb:null,l:function(a){function b(a){a=a.split("/");for(var b=e,c=0;c<a.length-1;c++){var g=a.slice(0,c+1).join("/");f[g]||(f[g]=V.createNode(b,a[c],V.Ia,0));b=f[g]}return b}function c(a){a=a.split("/");return a[a.length-1]}oa(!0);V.bb||(V.bb=new FileReaderSync);var e=V.createNode(null,"/",V.Ia,0),f={};Array.prototype.forEach.call(a.Za.files||[],function(a){V.createNode(b(a.name),c(a.name),
V.ga,0,a,a.lastModifiedDate)});(a.Za.blobs||[]).forEach(function(a){V.createNode(b(a.name),c(a.name),V.ga,0,a.data)});(a.Za.packages||[]).forEach(function(a){a.metadata.files.forEach(function(e){var f=e.filename.substr(1);V.createNode(b(f),c(f),V.ga,0,a.blob.slice(e.start,e.end))})});return e},createNode:function(a,b,c,e,f,g){e=R.createNode(a,b,c);e.mode=c;e.f=V.f;e.g=V.g;e.timestamp=(g||new Date).getTime();oa(V.ga!==V.Ia);c===V.ga?(e.size=f.size,e.c=f):(e.size=4096,e.c={});a&&(a.c[b]=e);return e},
f:{F:function(a){return{ub:1,za:void 0,mode:a.mode,Hb:1,uid:0,Db:0,ea:void 0,size:a.size,hb:new Date(a.timestamp),qa:new Date(a.timestamp),rb:new Date(a.timestamp),ib:4096,jb:Math.ceil(a.size/4096)}},s:function(a,b){void 0!==b.mode&&(a.mode=b.mode);void 0!==b.timestamp&&(a.timestamp=b.timestamp)},U:function(){throw new R.b(2);},J:function(){throw new R.b(1);},aa:function(){throw new R.b(1);},N:function(){throw new R.b(1);},X:function(){throw new R.b(1);},S:function(a){var b=[".",".."],c;for(c in a.c)a.c.hasOwnProperty(c)&&
b.push(c);return b},M:function(){throw new R.b(1);},W:function(){throw new R.b(1);}},g:{read:function(a,b,c,e,f){if(f>=a.node.size)return 0;a=a.node.c.slice(f,f+e);e=V.bb.readAsArrayBuffer(a);b.set(new Uint8Array(e),c);return a.size},write:function(){throw new R.b(5);},G:function(a,b,c){1===c?b+=a.position:2===c&&R.isFile(a.node.mode)&&(b+=a.node.size);if(0>b)throw new R.b(22);return b}}},R={root:null,pa:[],vb:{},streams:[],uc:1,K:null,sb:"/",Ta:!1,Gb:!0,u:{},Kb:{Ib:{Ob:1,Pb:2}},b:null,Qa:{},ac:null,
Ea:0,jc:function(a){if(!(a instanceof R.b))throw a+" : "+Ya();return K(a.h)},i:function(a,b){a=Q(R.wa(),a);b=b||{};if(!a)return{path:"",node:null};var c={Pa:!0,cb:0},e;for(e in c)void 0===b[e]&&(b[e]=c[e]);if(8<b.cb)throw new R.b(40);a=fb(a.split("/").filter(function(a){return!!a}),!1);var f=R.root;c="/";for(e=0;e<a.length;e++){var g=e===a.length-1;if(g&&b.parent)break;f=R.R(f,a[e]);c=O(c,a[e]);R.Y(f)&&(!g||g&&b.Pa)&&(f=f.na.root);if(!g||b.D)for(g=0;R.ma(f.mode);)if(f=R.W(c),c=Q(gb(c),f),f=R.i(c,
{cb:b.cb}).node,40<g++)throw new R.b(40);}return{path:c,node:f}},I:function(a){for(var b;;){if(R.Ba(a))return a=a.l.oa,b?"/"!==a[a.length-1]?a+"/"+b:a+b:a;b=b?a.name+"/"+b:a.name;a=a.parent}},Sa:function(a,b){for(var c=0,e=0;e<b.length;e++)c=(c<<5)-c+b.charCodeAt(e)|0;return(a+c>>>0)%R.K.length},Eb:function(a){var b=R.Sa(a.parent.id,a.name);a.$=R.K[b];R.K[b]=a},Fb:function(a){var b=R.Sa(a.parent.id,a.name);if(R.K[b]===a)R.K[b]=a.$;else for(b=R.K[b];b;){if(b.$===a){b.$=a.$;break}b=b.$}},R:function(a,
b){var c=R.rc(a);if(c)throw new R.b(c,a);for(c=R.K[R.Sa(a.id,b)];c;c=c.$){var e=c.name;if(c.parent.id===a.id&&e===b)return c}return R.U(a,b)},createNode:function(a,b,c,e){R.ta||(R.ta=function(a,b,c,e){a||(a=this);this.parent=a;this.l=a.l;this.na=null;this.id=R.uc++;this.name=b;this.mode=c;this.f={};this.g={};this.ea=e},R.ta.prototype={},Object.defineProperties(R.ta.prototype,{read:{get:function(){return 365===(this.mode&365)},set:function(a){a?this.mode|=365:this.mode&=-366}},write:{get:function(){return 146===
(this.mode&146)},set:function(a){a?this.mode|=146:this.mode&=-147}},mc:{get:function(){return R.m(this.mode)}},Va:{get:function(){return R.Aa(this.mode)}}}));a=new R.ta(a,b,c,e);R.Eb(a);return a},Na:function(a){R.Fb(a)},Ba:function(a){return a===a.parent},Y:function(a){return!!a.na},isFile:function(a){return 32768===(a&61440)},m:function(a){return 16384===(a&61440)},ma:function(a){return 40960===(a&61440)},Aa:function(a){return 8192===(a&61440)},kc:function(a){return 24576===(a&61440)},lc:function(a){return 4096===
(a&61440)},cd:function(a){return 49152===(a&49152)},bc:{r:0,rs:1052672,"r+":2,w:577,wx:705,xw:705,"w+":578,"wx+":706,"xw+":706,a:1089,ax:1217,xa:1217,"a+":1090,"ax+":1218,"xa+":1218},tc:function(a){var b=R.bc[a];if("undefined"===typeof b)throw Error("Unknown file open mode: "+a);return b},yb:function(a){var b=["r","w","rw"][a&3];a&512&&(b+="w");return b},V:function(a,b){if(R.Gb)return 0;if(-1===b.indexOf("r")||a.mode&292){if(-1!==b.indexOf("w")&&!(a.mode&146)||-1!==b.indexOf("x")&&!(a.mode&73))return 13}else return 13;
return 0},rc:function(a){var b=R.V(a,"x");return b?b:a.f.U?0:13},Ya:function(a,b){try{return R.R(a,b),17}catch(c){}return R.V(a,"wx")},Ca:function(a,b,c){try{var e=R.R(a,b)}catch(f){return f.h}if(a=R.V(a,"wx"))return a;if(c){if(!R.m(e.mode))return 20;if(R.Ba(e)||R.I(e)===R.wa())return 16}else if(R.m(e.mode))return 21;return 0},sc:function(a,b){return a?R.ma(a.mode)?40:R.m(a.mode)&&("r"!==R.yb(b)||b&512)?21:R.V(a,R.yb(b)):2},Nb:4096,vc:function(a,b){b=b||R.Nb;for(a=a||0;a<=b;a++)if(!R.streams[a])return a;
throw new R.b(24);},P:function(a){return R.streams[a]},$b:function(a,b,c){R.ua||(R.ua=function(){},R.ua.prototype={},Object.defineProperties(R.ua.prototype,{object:{get:function(){return this.node},set:function(a){this.node=a}}}));var e=new R.ua,f;for(f in a)e[f]=a[f];a=e;b=R.vc(b,c);a.H=b;return R.streams[b]=a},Ub:function(a){R.streams[a]=null},Tb:{open:function(a){a.g=R.fc(a.node.ea).g;a.g.open&&a.g.open(a)},G:function(){throw new R.b(29);}},Xa:function(a){return a>>8},jd:function(a){return a&255},
Z:function(a,b){return a<<8|b},eb:function(a,b){R.vb[a]={g:b}},fc:function(a){return R.vb[a]},Ab:function(a){var b=[];for(a=[a];a.length;){var c=a.pop();b.push(c);a.push.apply(a,c.pa)}return b},fb:function(a,b){function c(a){R.Ea--;return b(a)}function e(a){if(a){if(!e.ia)return e.ia=!0,c(a)}else++g>=f.length&&c(null)}"function"===typeof a&&(b=a,a=!1);R.Ea++;1<R.Ea&&console.log("warning: "+R.Ea+" FS.syncfs operations in flight at once, probably just doing extra work");var f=R.Ab(R.root.l),g=0;f.forEach(function(b){if(!b.type.fb)return e(null);
b.type.fb(b,a,e)})},l:function(a,b,c){var e="/"===c,f=!c;if(e&&R.root)throw new R.b(16);if(!e&&!f){var g=R.i(c,{Pa:!1});c=g.path;g=g.node;if(R.Y(g))throw new R.b(16);if(!R.m(g.mode))throw new R.b(20);}b={type:a,Za:b,oa:c,pa:[]};a=a.l(b);a.l=b;b.root=a;e?R.root=a:g&&(g.na=b,g.l&&g.l.pa.push(b));return a},qd:function(a){a=R.i(a,{Pa:!1});if(!R.Y(a.node))throw new R.b(22);a=a.node;var b=a.na,c=R.Ab(b);Object.keys(R.K).forEach(function(a){for(a=R.K[a];a;){var b=a.$;-1!==c.indexOf(a.l)&&R.Na(a);a=b}});
a.na=null;a.l.pa.splice(a.l.pa.indexOf(b),1)},U:function(a,b){return a.f.U(a,b)},J:function(a,b,c){var e=R.i(a,{parent:!0}).node;a=N(a);if(!a||"."===a||".."===a)throw new R.b(22);var f=R.Ya(e,a);if(f)throw new R.b(f);if(!e.f.J)throw new R.b(1);return e.f.J(e,a,b,c)},create:function(a,b){return R.J(a,(void 0!==b?b:438)&4095|32768,0)},B:function(a,b){return R.J(a,(void 0!==b?b:511)&1023|16384,0)},kd:function(a,b){a=a.split("/");for(var c="",e=0;e<a.length;++e)if(a[e]){c+="/"+a[e];try{R.B(c,b)}catch(f){if(17!=
f.h)throw f;}}},Da:function(a,b,c){"undefined"===typeof c&&(c=b,b=438);return R.J(a,b|8192,c)},M:function(a,b){if(!Q(a))throw new R.b(2);var c=R.i(b,{parent:!0}).node;if(!c)throw new R.b(2);b=N(b);var e=R.Ya(c,b);if(e)throw new R.b(e);if(!c.f.M)throw new R.b(1);return c.f.M(c,b,a)},aa:function(a,b){var c=gb(a),e=gb(b),f=N(a),g=N(b);try{var k=R.i(a,{parent:!0});var m=k.node;k=R.i(b,{parent:!0});var q=k.node}catch(u){throw new R.b(16);}if(!m||!q)throw new R.b(2);if(m.l!==q.l)throw new R.b(18);k=R.R(m,
f);e=ib(a,e);if("."!==e.charAt(0))throw new R.b(22);e=ib(b,c);if("."!==e.charAt(0))throw new R.b(39);try{var t=R.R(q,g)}catch(u){}if(k!==t){c=R.m(k.mode);if(f=R.Ca(m,f,c))throw new R.b(f);if(f=t?R.Ca(q,g,c):R.Ya(q,g))throw new R.b(f);if(!m.f.aa)throw new R.b(1);if(R.Y(k)||t&&R.Y(t))throw new R.b(16);if(q!==m&&(f=R.V(m,"w")))throw new R.b(f);try{R.u.willMovePath&&R.u.willMovePath(a,b)}catch(u){console.log("FS.trackingDelegate['willMovePath']('"+a+"', '"+b+"') threw an exception: "+u.message)}R.Fb(k);
try{m.f.aa(k,q,g)}catch(u){throw u;}finally{R.Eb(k)}try{if(R.u.onMovePath)R.u.onMovePath(a,b)}catch(u){console.log("FS.trackingDelegate['onMovePath']('"+a+"', '"+b+"') threw an exception: "+u.message)}}},X:function(a){var b=R.i(a,{parent:!0}).node,c=N(a),e=R.R(b,c),f=R.Ca(b,c,!0);if(f)throw new R.b(f);if(!b.f.X)throw new R.b(1);if(R.Y(e))throw new R.b(16);try{R.u.willDeletePath&&R.u.willDeletePath(a)}catch(g){console.log("FS.trackingDelegate['willDeletePath']('"+a+"') threw an exception: "+g.message)}b.f.X(b,
c);R.Na(e);try{if(R.u.onDeletePath)R.u.onDeletePath(a)}catch(g){console.log("FS.trackingDelegate['onDeletePath']('"+a+"') threw an exception: "+g.message)}},S:function(a){a=R.i(a,{D:!0}).node;if(!a.f.S)throw new R.b(20);return a.f.S(a)},N:function(a){var b=R.i(a,{parent:!0}).node,c=N(a),e=R.R(b,c),f=R.Ca(b,c,!1);if(f)throw new R.b(f);if(!b.f.N)throw new R.b(1);if(R.Y(e))throw new R.b(16);try{R.u.willDeletePath&&R.u.willDeletePath(a)}catch(g){console.log("FS.trackingDelegate['willDeletePath']('"+a+
"') threw an exception: "+g.message)}b.f.N(b,c);R.Na(e);try{if(R.u.onDeletePath)R.u.onDeletePath(a)}catch(g){console.log("FS.trackingDelegate['onDeletePath']('"+a+"') threw an exception: "+g.message)}},W:function(a){a=R.i(a).node;if(!a)throw new R.b(2);if(!a.f.W)throw new R.b(22);return Q(R.I(a.parent),a.f.W(a))},stat:function(a,b){a=R.i(a,{D:!b}).node;if(!a)throw new R.b(2);if(!a.f.F)throw new R.b(1);return a.f.F(a)},hd:function(a){return R.stat(a,!0)},ja:function(a,b,c){var e;"string"===typeof a?
e=R.i(a,{D:!c}).node:e=a;if(!e.f.s)throw new R.b(1);e.f.s(e,{mode:b&4095|e.mode&-4096,timestamp:Date.now()})},ed:function(a,b){R.ja(a,b,!0)},Zc:function(a,b){a=R.P(a);if(!a)throw new R.b(9);R.ja(a.node,b)},nb:function(a,b,c,e){var f;"string"===typeof a?f=R.i(a,{D:!e}).node:f=a;if(!f.f.s)throw new R.b(1);f.f.s(f,{timestamp:Date.now()})},fd:function(a,b,c){R.nb(a,b,c,!0)},$c:function(a,b,c){a=R.P(a);if(!a)throw new R.b(9);R.nb(a.node,b,c)},truncate:function(a,b){if(0>b)throw new R.b(22);var c;"string"===
typeof a?c=R.i(a,{D:!0}).node:c=a;if(!c.f.s)throw new R.b(1);if(R.m(c.mode))throw new R.b(21);if(!R.isFile(c.mode))throw new R.b(22);if(a=R.V(c,"w"))throw new R.b(a);c.f.s(c,{size:b,timestamp:Date.now()})},cc:function(a,b){a=R.P(a);if(!a)throw new R.b(9);if(0===(a.flags&2097155))throw new R.b(22);R.truncate(a.node,b)},Lb:function(a,b,c){a=R.i(a,{D:!0}).node;a.f.s(a,{timestamp:Math.max(b,c)})},open:function(a,b,c,e,f){if(""===a)throw new R.b(2);b="string"===typeof b?R.tc(b):b;c=b&64?("undefined"===
typeof c?438:c)&4095|32768:0;if("object"===typeof a)var g=a;else{a=M(a);try{g=R.i(a,{D:!(b&131072)}).node}catch(m){}}var k=!1;if(b&64)if(g){if(b&128)throw new R.b(17);}else g=R.J(a,c,0),k=!0;if(!g)throw new R.b(2);R.Aa(g.mode)&&(b&=-513);if(b&65536&&!R.m(g.mode))throw new R.b(20);if(!k&&(c=R.sc(g,b)))throw new R.b(c);b&512&&R.truncate(g,0);b&=-641;e=R.$b({node:g,path:R.I(g),flags:b,seekable:!0,position:0,g:g.g,Pc:[],error:!1},e,f);e.g.open&&e.g.open(e);!d.logReadFiles||b&1||(R.ab||(R.ab={}),a in R.ab||
(R.ab[a]=1,console.log("FS.trackingDelegate error on read file: "+a)));try{R.u.onOpenFile&&(f=0,1!==(b&2097155)&&(f|=R.Kb.Ib.Ob),0!==(b&2097155)&&(f|=R.Kb.Ib.Pb),R.u.onOpenFile(a,f))}catch(m){console.log("FS.trackingDelegate['onOpenFile']('"+a+"', flags) threw an exception: "+m.message)}return e},close:function(a){if(R.la(a))throw new R.b(9);a.Ra&&(a.Ra=null);try{a.g.close&&a.g.close(a)}catch(b){throw b;}finally{R.Ub(a.H)}a.H=null},la:function(a){return null===a.H},G:function(a,b,c){if(R.la(a))throw new R.b(9);
if(!a.seekable||!a.g.G)throw new R.b(29);if(0!=c&&1!=c&&2!=c)throw new R.b(22);a.position=a.g.G(a,b,c);a.Pc=[];return a.position},read:function(a,b,c,e,f){if(0>e||0>f)throw new R.b(22);if(R.la(a))throw new R.b(9);if(1===(a.flags&2097155))throw new R.b(9);if(R.m(a.node.mode))throw new R.b(21);if(!a.g.read)throw new R.b(22);var g="undefined"!==typeof f;if(!g)f=a.position;else if(!a.seekable)throw new R.b(29);b=a.g.read(a,b,c,e,f);g||(a.position+=b);return b},write:function(a,b,c,e,f,g){if(0>e||0>f)throw new R.b(22);
if(R.la(a))throw new R.b(9);if(0===(a.flags&2097155))throw new R.b(9);if(R.m(a.node.mode))throw new R.b(21);if(!a.g.write)throw new R.b(22);a.flags&1024&&R.G(a,0,2);var k="undefined"!==typeof f;if(!k)f=a.position;else if(!a.seekable)throw new R.b(29);b=a.g.write(a,b,c,e,f,g);k||(a.position+=b);try{if(a.path&&R.u.onWriteToFile)R.u.onWriteToFile(a.path)}catch(m){console.log("FS.trackingDelegate['onWriteToFile']('"+a.path+"') threw an exception: "+m.message)}return b},ha:function(a,b,c){if(R.la(a))throw new R.b(9);
if(0>b||0>=c)throw new R.b(22);if(0===(a.flags&2097155))throw new R.b(9);if(!R.isFile(a.node.mode)&&!R.m(a.node.mode))throw new R.b(19);if(!a.g.ha)throw new R.b(95);a.g.ha(a,b,c)},ba:function(a,b,c,e,f,g,k){if(0!==(g&2)&&0===(k&2)&&2!==(a.flags&2097155))throw new R.b(13);if(1===(a.flags&2097155))throw new R.b(13);if(!a.g.ba)throw new R.b(19);return a.g.ba(a,b,c,e,f,g,k)},ca:function(a,b,c,e,f){return a&&a.g.ca?a.g.ca(a,b,c,e,f):0},ld:function(){return 0},Ua:function(a,b,c){if(!a.g.Ua)throw new R.b(25);
return a.g.Ua(a,b,c)},zc:function(a,b){b=b||{};b.flags=b.flags||"r";b.encoding=b.encoding||"binary";if("utf8"!==b.encoding&&"binary"!==b.encoding)throw Error('Invalid encoding type "'+b.encoding+'"');var c,e=R.open(a,b.flags);a=R.stat(a).size;var f=new Uint8Array(a);R.read(e,f,0,a,0);"utf8"===b.encoding?c=B(f,0):"binary"===b.encoding&&(c=f);R.close(e);return c},Mb:function(a,b,c){c=c||{};c.flags=c.flags||"w";a=R.open(a,c.flags,c.mode);if("string"===typeof b){var e=new Uint8Array(sa(b)+1);b=D(b,e,
0,e.length);R.write(a,e,0,b,void 0,c.lb)}else if(ArrayBuffer.isView(b))R.write(a,b,0,b.byteLength,void 0,c.lb);else throw Error("Unsupported data type");R.close(a)},wa:function(){return R.sb},Sc:function(a){a=R.i(a,{D:!0});if(null===a.node)throw new R.b(2);if(!R.m(a.node.mode))throw new R.b(20);var b=R.V(a.node,"x");if(b)throw new R.b(b);R.sb=a.path},Wb:function(){R.B("/tmp");R.B("/home");R.B("/home/web_user")},Vb:function(){R.B("/dev");R.eb(R.Z(1,3),{read:function(){return 0},write:function(a,b,
f,g){return g}});R.Da("/dev/null",R.Z(1,3));kb(R.Z(5,0),mb);kb(R.Z(6,0),nb);R.Da("/dev/tty",R.Z(5,0));R.Da("/dev/tty1",R.Z(6,0));if("object"===typeof crypto&&"function"===typeof crypto.getRandomValues){var a=new Uint8Array(1);var b=function(){crypto.getRandomValues(a);return a[0]}}b||(b=function(){v("random_device")});R.T("/dev","random",b);R.T("/dev","urandom",b);R.B("/dev/shm");R.B("/dev/shm/tmp")},Yb:function(){R.B("/proc");R.B("/proc/self");R.B("/proc/self/fd");R.l({l:function(){var a=R.createNode("/proc/self",
"fd",16895,73);a.f={U:function(a,c){var b=R.P(+c);if(!b)throw new R.b(9);a={parent:null,l:{oa:"fake"},f:{W:function(){return b.path}}};return a.parent=a}};return a}},{},"/proc/self/fd")},Zb:function(){d.stdin?R.T("/dev","stdin",d.stdin):R.M("/dev/tty","/dev/stdin");d.stdout?R.T("/dev","stdout",null,d.stdout):R.M("/dev/tty","/dev/stdout");d.stderr?R.T("/dev","stderr",null,d.stderr):R.M("/dev/tty1","/dev/stderr");R.open("/dev/stdin","r");R.open("/dev/stdout","w");R.open("/dev/stderr","w")},wb:function(){R.b||
(R.b=function(a,b){this.node=b;this.Hc=function(a){this.h=a};this.Hc(a);this.message="FS error"},R.b.prototype=Error(),R.b.prototype.constructor=R.b,[2].forEach(function(a){R.Qa[a]=new R.b(a);R.Qa[a].stack="<generic error, no stack>"}))},Ic:function(){R.wb();R.K=Array(4096);R.l(T,{},"/");R.Wb();R.Vb();R.Yb();R.ac={MEMFS:T,IDBFS:U,WORKERFS:V}},ka:function(a,b,c){R.ka.Ta=!0;R.wb();d.stdin=a||d.stdin;d.stdout=b||d.stdout;d.stderr=c||d.stderr;R.Zb()},md:function(){R.ka.Ta=!1;var a=d._fflush;a&&a(0);for(a=
0;a<R.streams.length;a++){var b=R.streams[a];b&&R.close(b)}},ya:function(a,b){var c=0;a&&(c|=365);b&&(c|=146);return c},dd:function(a,b){a=hb.apply(null,a);b&&"/"==a[0]&&(a=a.substr(1));return a},Qc:function(a,b){return Q(b,a)},od:function(a){return M(a)},ad:function(a,b){a=R.Ka(a,b);if(a.Oa)return a.object;K(a.error);return null},Ka:function(a,b){try{var c=R.i(a,{D:!b});a=c.path}catch(f){}var e={Ba:!1,Oa:!1,error:0,name:null,path:null,object:null,wc:!1,yc:null,xc:null};try{c=R.i(a,{parent:!0}),e.wc=
!0,e.yc=c.path,e.xc=c.node,e.name=N(a),c=R.i(a,{D:!b}),e.Oa=!0,e.path=c.path,e.object=c.node,e.name=c.node.name,e.Ba="/"===c.path}catch(f){e.error=f.h}return e},Tc:function(a,b,c,e){a=O("string"===typeof a?a:R.I(a),b);return R.B(a,R.ya(c,e))},Wc:function(a,b){a="string"===typeof a?a:R.I(a);for(b=b.split("/").reverse();b.length;){var c=b.pop();if(c){var e=O(a,c);try{R.B(e)}catch(f){}a=e}}return e},Xb:function(a,b,c,e,f){a=O("string"===typeof a?a:R.I(a),b);return R.create(a,R.ya(e,f))},qb:function(a,
b,c,e,f,g){a=b?O("string"===typeof a?a:R.I(a),b):a;e=R.ya(e,f);f=R.create(a,e);if(c){if("string"===typeof c){a=Array(c.length);b=0;for(var k=c.length;b<k;++b)a[b]=c.charCodeAt(b);c=a}R.ja(f,e|146);a=R.open(f,"w");R.write(a,c,0,c.length,0,g);R.close(a);R.ja(f,e)}return f},T:function(a,b,c,e){a=O("string"===typeof a?a:R.I(a),b);b=R.ya(!!c,!!e);R.T.Xa||(R.T.Xa=64);var f=R.Z(R.T.Xa++,0);R.eb(f,{open:function(a){a.seekable=!1},close:function(){e&&e.buffer&&e.buffer.length&&e(10)},read:function(a,b,e,f){for(var g=
0,k=0;k<f;k++){try{var m=c()}catch(La){throw new R.b(5);}if(void 0===m&&0===g)throw new R.b(11);if(null===m||void 0===m)break;g++;b[e+k]=m}g&&(a.node.timestamp=Date.now());return g},write:function(a,b,c,f){for(var g=0;g<f;g++)try{e(b[c+g])}catch(u){throw new R.b(5);}f&&(a.node.timestamp=Date.now());return g}});return R.Da(a,b,f)},Vc:function(a,b,c){a=O("string"===typeof a?a:R.I(a),b);return R.M(c,a)},zb:function(a){if(a.Va||a.mc||a.link||a.c)return!0;var b=!0;if("undefined"!==typeof XMLHttpRequest)throw 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(da)try{a.c=S(da(a.url),!0),a.j=a.c.length}catch(c){b=!1}else throw Error("Cannot load without read() or XMLHttpRequest.");b||K(5);return b},Uc:function(a,b,c,e,f){function g(){this.Wa=!1;this.va=[]}g.prototype.get=function(a){if(!(a>this.length-1||0>a)){var b=a%this.pb;return this.Cb(a/this.pb|0)[b]}};g.prototype.Gc=function(a){this.Cb=a};g.prototype.kb=function(){var a=new XMLHttpRequest;a.open("HEAD",c,!1);a.send(null);if(!(200<=a.status&&300>a.status||304===a.status))throw Error("Couldn't load "+
c+". Status: "+a.status);var b=Number(a.getResponseHeader("Content-length")),e,f=(e=a.getResponseHeader("Accept-Ranges"))&&"bytes"===e;a=(e=a.getResponseHeader("Content-Encoding"))&&"gzip"===e;var g=1048576;f||(g=b);var k=this;k.Gc(function(a){var e=a*g,f=(a+1)*g-1;f=Math.min(f,b-1);if("undefined"===typeof k.va[a]){var ra=k.va;if(e>f)throw Error("invalid range ("+e+", "+f+") or no bytes requested!");if(f>b-1)throw Error("only "+b+" bytes available! programmer error!");var m=new XMLHttpRequest;m.open("GET",
c,!1);b!==g&&m.setRequestHeader("Range","bytes="+e+"-"+f);"undefined"!=typeof Uint8Array&&(m.responseType="arraybuffer");m.overrideMimeType&&m.overrideMimeType("text/plain; charset=x-user-defined");m.send(null);if(!(200<=m.status&&300>m.status||304===m.status))throw Error("Couldn't load "+c+". Status: "+m.status);e=void 0!==m.response?new Uint8Array(m.response||[]):S(m.responseText||"",!0);ra[a]=e}if("undefined"===typeof k.va[a])throw Error("doXHR failed!");return k.va[a]});if(a||!b)g=b=1,g=b=this.Cb(0).length,
console.log("LazyFiles on gzip forces download of the whole file when length is accessed");this.Rb=b;this.Qb=g;this.Wa=!0};if("undefined"!==typeof XMLHttpRequest){var k=new g;Object.defineProperties(k,{length:{get:function(){this.Wa||this.kb();return this.Rb}},pb:{get:function(){this.Wa||this.kb();return this.Qb}}});k={Va:!1,c:k}}else k={Va:!1,url:c};var m=R.Xb(a,b,k,e,f);k.c?m.c=k.c:k.url&&(m.c=null,m.url=k.url);Object.defineProperties(m,{j:{get:function(){return this.c.length}}});var q={};Object.keys(m.g).forEach(function(a){var b=
m.g[a];q[a]=function(){if(!R.zb(m))throw new R.b(5);return b.apply(null,arguments)}});q.read=function(a,b,c,e,f){if(!R.zb(m))throw new R.b(5);a=a.node.c;if(f>=a.length)return 0;e=Math.min(a.length-f,e);if(a.slice)for(var g=0;g<e;g++)b[c+g]=a[f+g];else for(g=0;g<e;g++)b[c+g]=a.get(f+g);return e};m.g=q;return m},Xc:function(a,b,c,e,f,g,k,m,q,t){function u(c){function ra(c){t&&t();m||R.qb(a,b,c,e,f,q);g&&g();Pa()}var Ma=!1;d.preloadPlugins.forEach(function(a){!Ma&&a.canHandle(P)&&(a.handle(c,P,ra,function(){k&&
k();Pa()}),Ma=!0)});Ma||ra(c)}(void 0).ka();var P=b?Q(O(a,b)):a;Oa();"string"==typeof c?(void 0).Rc(c,function(a){u(a)},k):u(c)},indexedDB:function(){return window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB},gb:function(){return"EM_FS_"+window.location.pathname},sa:20,A:"FILE_DATA",nd:function(a,b,c){b=b||function(){};c=c||function(){};var e=R.indexedDB();try{var f=e.open(R.gb(),R.sa)}catch(g){return c(g)}f.onupgradeneeded=function(){console.log("creating db");f.result.createObjectStore(R.A)};
f.onsuccess=function(){var e=f.result.transaction([R.A],"readwrite"),k=e.objectStore(R.A),m=0,q=0,t=a.length;a.forEach(function(a){a=k.put(R.Ka(a).object.c,a);a.onsuccess=function(){m++;m+q==t&&(0==q?b():c())};a.onerror=function(){q++;m+q==t&&(0==q?b():c())}});e.onerror=c};f.onerror=c},gd:function(a,b,c){b=b||function(){};c=c||function(){};var e=R.indexedDB();try{var f=e.open(R.gb(),R.sa)}catch(g){return c(g)}f.onupgradeneeded=c;f.onsuccess=function(){var e=f.result;try{var k=e.transaction([R.A],
"readonly")}catch(P){c(P);return}var m=k.objectStore(R.A),q=0,t=0,u=a.length;a.forEach(function(a){var e=m.get(a);e.onsuccess=function(){R.Ka(a).Oa&&R.N(a);R.qb(gb(a),N(a),e.result,!0,!0,!0);q++;q+t==u&&(0==t?b():c())};e.onerror=function(){t++;q+t==u&&(0==t?b():c())}});k.onerror=c};f.onerror=c}},ob={};
function pb(a,b){var c=R.stat;try{var e=c(a)}catch(f){if(f&&f.node&&M(a)!==M(R.I(f.node)))return-20;throw f;}r[b>>2]=e.ub;r[b+4>>2]=0;r[b+8>>2]=e.za;r[b+12>>2]=e.mode;r[b+16>>2]=e.Hb;r[b+20>>2]=e.uid;r[b+24>>2]=e.Db;r[b+28>>2]=e.ea;r[b+32>>2]=0;I=[e.size>>>0,(H=e.size,1<=+Ga(H)?0<H?(Ja(+Ia(H/4294967296),4294967295)|0)>>>0:~~+Ha((H-+(~~H>>>0))/4294967296)>>>0:0)];r[b+40>>2]=I[0];r[b+44>>2]=I[1];r[b+48>>2]=4096;r[b+52>>2]=e.jb;r[b+56>>2]=e.hb.getTime()/1E3|0;r[b+60>>2]=0;r[b+64>>2]=e.qa.getTime()/1E3|
0;r[b+68>>2]=0;r[b+72>>2]=e.rb.getTime()/1E3|0;r[b+76>>2]=0;I=[e.za>>>0,(H=e.za,1<=+Ga(H)?0<H?(Ja(+Ia(H/4294967296),4294967295)|0)>>>0:~~+Ha((H-+(~~H>>>0))/4294967296)>>>0:0)];r[b+80>>2]=I[0];r[b+84>>2]=I[1];return 0}function qb(a,b,c){var e=R.P(c);e&&R.close(e);return R.open(a,b,0,c,c).H}var W=0;function X(){W+=4;return r[W-4>>2]}function Y(){var a=R.P(X());if(!a)throw new R.b(9);return a}
function rb(a,b,c,e,f,g){g<<=12;if(0!==(e&16)&&0!==a%16384)return-22;if(0!==(e&32)){a=sb(16384,b);if(!a)return-12;tb(a,0,b);c=!0}else{var k=R.P(f);if(!k)return-9;c=R.ba(k,A,a,b,g,c,e);a=c.Jb;c=c.Ja}ob[a]={qc:a,nc:b,Ja:c,H:f,flags:e};return a}function ub(a,b){if(-1===a||0===b)return-22;var c=ob[a];if(!c)return 0;if(b===c.nc){var e=R.P(c.H),f=c.flags,g=new Uint8Array(A.subarray(a,a+b));R.ca(e,g,0,b,f);ob[a]=null;c.Ja&&vb(c.qc)}return 0}
function wb(a,b,c,e){try{a=R.P(a);if(!a)throw new R.b(9);a:{for(var f=0,g=0;g<c;g++){var k=R.write(a,z,r[b+8*g>>2],r[b+(8*g+4)>>2],void 0);if(0>k){var m=-1;break a}f+=k}m=f}r[e>>2]=m;return 0}catch(q){return"undefined"!==typeof R&&q instanceof R.b||v(q),-q.h}}function ja(){return z.length}function xb(a){if(0===a)return 0;a=C(a);if(!J.hasOwnProperty(a))return 0;xb.O&&vb(xb.O);a=J[a];var b=sa(a)+1,c=y(b);c&&D(a,z,c,b);xb.O=c;return xb.O}function yb(a){return Math.log(a)/Math.LN2}
function Z(){Z.O||(Z.O=[]);Z.O.push(zb());return Z.O.length-1}D("GMT",A,147936,4);function Ab(){function a(a){return(a=a.toTimeString().match(/\(([A-Za-z ]+)\)$/))?a[1]:"GMT"}if(!Ab.Ma){Ab.Ma=!0;r[Bb()>>2]=60*(new Date).getTimezoneOffset();var b=new Date(2E3,0,1),c=new Date(2E3,6,1);r[Cb()>>2]=Number(b.getTimezoneOffset()!=c.getTimezoneOffset());var e=a(b),f=a(c);e=pa(S(e));f=pa(S(f));c.getTimezoneOffset()<b.getTimezoneOffset()?(r[Db()>>2]=e,r[Db()+4>>2]=f):(r[Db()>>2]=f,r[Db()+4>>2]=e)}}
function Eb(a,b){Ab();a=new Date(1E3*r[a>>2]);r[b>>2]=a.getSeconds();r[b+4>>2]=a.getMinutes();r[b+8>>2]=a.getHours();r[b+12>>2]=a.getDate();r[b+16>>2]=a.getMonth();r[b+20>>2]=a.getFullYear()-1900;r[b+24>>2]=a.getDay();var c=new Date(a.getFullYear(),0,1);r[b+28>>2]=(a.getTime()-c.getTime())/864E5|0;r[b+36>>2]=-(60*a.getTimezoneOffset());var e=(new Date(2E3,6,1)).getTimezoneOffset();c=c.getTimezoneOffset();a=(e!=c&&a.getTimezoneOffset()==Math.min(c,e))|0;r[b+32>>2]=a;a=r[Db()+(a?4:0)>>2];r[b+40>>2]=
a;return b}function Fb(a){try{return x.grow(a-E.byteLength+65535>>16),xa(x.buffer),1}catch(b){}}function Gb(a){return 0===a%4&&(0!==a%100||0===a%400)}function Hb(a,b){for(var c=0,e=0;e<=b;c+=a[e++]);return c}var Ib=[31,29,31,30,31,30,31,31,30,31,30,31],Jb=[31,28,31,30,31,30,31,31,30,31,30,31];
function Kb(a,b){for(a=new Date(a.getTime());0<b;){var c=a.getMonth(),e=(Gb(a.getFullYear())?Ib:Jb)[c];if(b>e-a.getDate())b-=e-a.getDate()+1,a.setDate(1),11>c?a.setMonth(c+1):(a.setMonth(0),a.setFullYear(a.getFullYear()+1));else{a.setDate(a.getDate()+b);break}}return a}
function Lb(a,b,c,e){function f(a,b,c){for(a="number"===typeof a?a.toString():a||"";a.length<b;)a=c[0]+a;return a}function g(a,b){return f(a,b,"0")}function k(a,b){function c(a){return 0>a?-1:0<a?1:0}var e;0===(e=c(a.getFullYear()-b.getFullYear()))&&0===(e=c(a.getMonth()-b.getMonth()))&&(e=c(a.getDate()-b.getDate()));return e}function m(a){switch(a.getDay()){case 0:return new Date(a.getFullYear()-1,11,29);case 1:return a;case 2:return new Date(a.getFullYear(),0,3);case 3:return new Date(a.getFullYear(),
0,2);case 4:return new Date(a.getFullYear(),0,1);case 5:return new Date(a.getFullYear()-1,11,31);case 6:return new Date(a.getFullYear()-1,11,30)}}function q(a){a=Kb(new Date(a.C+1900,0,1),a.Ha);var b=m(new Date(a.getFullYear()+1,0,4));return 0>=k(m(new Date(a.getFullYear(),0,4)),a)?0>=k(b,a)?a.getFullYear()+1:a.getFullYear():a.getFullYear()-1}var t=r[e+40>>2];e={Nc:r[e>>2],Mc:r[e+4>>2],Fa:r[e+8>>2],ra:r[e+12>>2],fa:r[e+16>>2],C:r[e+20>>2],Ga:r[e+24>>2],Ha:r[e+28>>2],pd:r[e+32>>2],Lc:r[e+36>>2],Oc:t?
C(t):""};c=C(c);t={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var u in t)c=c.replace(new RegExp(u,"g"),t[u]);var P="Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
La="January February March April May June July August September October November December".split(" ");t={"%a":function(a){return P[a.Ga].substring(0,3)},"%A":function(a){return P[a.Ga]},"%b":function(a){return La[a.fa].substring(0,3)},"%B":function(a){return La[a.fa]},"%C":function(a){return g((a.C+1900)/100|0,2)},"%d":function(a){return g(a.ra,2)},"%e":function(a){return f(a.ra,2," ")},"%g":function(a){return q(a).toString().substring(2)},"%G":function(a){return q(a)},"%H":function(a){return g(a.Fa,
2)},"%I":function(a){a=a.Fa;0==a?a=12:12<a&&(a-=12);return g(a,2)},"%j":function(a){return g(a.ra+Hb(Gb(a.C+1900)?Ib:Jb,a.fa-1),3)},"%m":function(a){return g(a.fa+1,2)},"%M":function(a){return g(a.Mc,2)},"%n":function(){return"\n"},"%p":function(a){return 0<=a.Fa&&12>a.Fa?"AM":"PM"},"%S":function(a){return g(a.Nc,2)},"%t":function(){return"\t"},"%u":function(a){return a.Ga||7},"%U":function(a){var b=new Date(a.C+1900,0,1),c=0===b.getDay()?b:Kb(b,7-b.getDay());a=new Date(a.C+1900,a.fa,a.ra);return 0>
k(c,a)?g(Math.ceil((31-c.getDate()+(Hb(Gb(a.getFullYear())?Ib:Jb,a.getMonth()-1)-31)+a.getDate())/7),2):0===k(c,b)?"01":"00"},"%V":function(a){var b=m(new Date(a.C+1900,0,4)),c=m(new Date(a.C+1901,0,4)),e=Kb(new Date(a.C+1900,0,1),a.Ha);return 0>k(e,b)?"53":0>=k(c,e)?"01":g(Math.ceil((b.getFullYear()<a.C+1900?a.Ha+32-b.getDate():a.Ha+1-b.getDate())/7),2)},"%w":function(a){return a.Ga},"%W":function(a){var b=new Date(a.C,0,1),c=1===b.getDay()?b:Kb(b,0===b.getDay()?1:7-b.getDay()+1);a=new Date(a.C+
1900,a.fa,a.ra);return 0>k(c,a)?g(Math.ceil((31-c.getDate()+(Hb(Gb(a.getFullYear())?Ib:Jb,a.getMonth()-1)-31)+a.getDate())/7),2):0===k(c,b)?"01":"00"},"%y":function(a){return(a.C+1900).toString().substring(2)},"%Y":function(a){return a.C+1900},"%z":function(a){a=a.Lc;var b=0<=a;a=Math.abs(a)/60;return(b?"+":"-")+String("0000"+(a/60*100+a%60)).slice(-4)},"%Z":function(a){return a.Oc},"%%":function(){return"%"}};for(u in t)0<=c.indexOf(u)&&(c=c.replace(new RegExp(u,"g"),t[u](e)));u=S(c,!1);if(u.length>
b)return 0;z.set(u,a);return u.length-1}"undefined"!==typeof dateNow?$a=dateNow:"object"===typeof performance&&performance&&"function"===typeof performance.now?$a=function(){return performance.now()}:$a=Date.now;R.Ic();function S(a,b){var c=Array(sa(a)+1);a=D(a,c,0,c.length);b&&(c.length=a);return c}
var Qb=d.asm({},{abort:v,setTempRet0:function(a){la=a},getTempRet0:function(){return la},___atomic_fetch_add_8:function(a,b,c){var e=r[a>>2],f=r[a+4>>2];r[a>>2]=Mb(e,f,b,c);r[a+4>>2]=la;la=f;return e|0},___buildEnvironment:Za,___clock_gettime:function(a,b){return bb(a,b)},___cxa_allocate_exception:function(a){return y(a)},___cxa_begin_catch:function(a){var b=L[a];b&&!b.mb&&(b.mb=!0,Nb.ia--);b&&(b.Fc=!1);cb.push(a);db(eb(a));return a},___cxa_pure_virtual:function(){na=!0;throw"Pure virtual function called!";
},___cxa_throw:function(a,b,c){L[a]={Jb:a,Sb:[a],type:b,Yc:c,Bc:0,mb:!1,Fc:!1};"uncaught_exception"in Nb?Nb.ia++:Nb.ia=1;throw a;},___cxa_uncaught_exceptions:function(){return Nb.ia},___exception_addRef:db,___exception_deAdjust:eb,___gxx_personality_v0:function(){},___lock:function(){},___map_file:function(){K(1);return-1},___setErrNo:K,___syscall10:function(a,b){W=b;try{var c=C(X());R.N(c);return 0}catch(e){return"undefined"!==typeof R&&e instanceof R.b||v(e),-e.h}},___syscall140:function(a,b){W=
b;try{var c=Y(),e=X(),f=X(),g=X(),k=X();a=4294967296*e+(f>>>0);if(-9007199254740992>=a||9007199254740992<=a)return-75;R.G(c,a,k);I=[c.position>>>0,(H=c.position,1<=+Ga(H)?0<H?(Ja(+Ia(H/4294967296),4294967295)|0)>>>0:~~+Ha((H-+(~~H>>>0))/4294967296)>>>0:0)];r[g>>2]=I[0];r[g+4>>2]=I[1];c.Ra&&0===a&&0===k&&(c.Ra=null);return 0}catch(m){return"undefined"!==typeof R&&m instanceof R.b||v(m),-m.h}},___syscall145:function(a,b){W=b;try{var c=Y(),e=X();a:{var f=X();for(b=a=0;b<f;b++){var g=r[e+(8*b+4)>>2],
k=R.read(c,z,r[e+8*b>>2],g,void 0);if(0>k){var m=-1;break a}a+=k;if(k<g)break}m=a}return m}catch(q){return"undefined"!==typeof R&&q instanceof R.b||v(q),-q.h}},___syscall183:function(a,b){W=b;try{var c=X(),e=X();if(0===e)return-22;var f=R.wa();if(e<sa(f)+1)return-34;D(f,A,c,e);return c}catch(g){return"undefined"!==typeof R&&g instanceof R.b||v(g),-g.h}},___syscall192:function(a,b){W=b;try{var c=X(),e=X(),f=X(),g=X(),k=X(),m=X();return rb(c,e,f,g,k,m)}catch(q){return"undefined"!==typeof R&&q instanceof
R.b||v(q),-q.h}},___syscall194:function(a,b){W=b;try{var c=X();X();var e=X();X();R.cc(c,e);return 0}catch(f){return"undefined"!==typeof R&&f instanceof R.b||v(f),-f.h}},___syscall195:function(a,b){W=b;try{var c=C(X()),e=X();return pb(c,e)}catch(f){return"undefined"!==typeof R&&f instanceof R.b||v(f),-f.h}},___syscall197:function(a,b){W=b;try{var c=Y(),e=X();return pb(c.path,e)}catch(f){return"undefined"!==typeof R&&f instanceof R.b||v(f),-f.h}},___syscall221:function(a,b){W=b;try{var c=Y();switch(X()){case 0:var e=
X();return 0>e?-22:R.open(c.path,c.flags,0,e).H;case 1:case 2:return 0;case 3:return c.flags;case 4:return e=X(),c.flags|=e,0;case 12:return e=X(),wa[e+0>>1]=2,0;case 13:case 14:return 0;case 16:case 8:return-22;case 9:return K(22),-1;default:return-22}}catch(f){return"undefined"!==typeof R&&f instanceof R.b||v(f),-f.h}},___syscall3:function(a,b){W=b;try{var c=Y(),e=X(),f=X();return R.read(c,z,e,f)}catch(g){return"undefined"!==typeof R&&g instanceof R.b||v(g),-g.h}},___syscall33:function(a,b){W=b;
try{var c=C(X());var e=X();if(e&-8)var f=-22;else{var g;(g=R.i(c,{D:!0}).node)?(a="",e&4&&(a+="r"),e&2&&(a+="w"),e&1&&(a+="x"),f=a&&R.V(g,a)?-13:0):f=-2}return f}catch(k){return"undefined"!==typeof R&&k instanceof R.b||v(k),-k.h}},___syscall330:function(a,b){W=b;try{var c=Y(),e=X();X();return c.H===e?-22:qb(c.path,c.flags,e)}catch(f){return"undefined"!==typeof R&&f instanceof R.b||v(f),-f.h}},___syscall38:function(a,b){W=b;try{var c=C(X()),e=C(X());R.aa(c,e);return 0}catch(f){return"undefined"!==
typeof R&&f instanceof R.b||v(f),-f.h}},___syscall40:function(a,b){W=b;try{var c=C(X());R.X(c);return 0}catch(e){return"undefined"!==typeof R&&e instanceof R.b||v(e),-e.h}},___syscall5:function(a,b){W=b;try{var c=C(X()),e=X(),f=X();return R.open(c,e,f).H}catch(g){return"undefined"!==typeof R&&g instanceof R.b||v(g),-g.h}},___syscall54:function(a,b){W=b;try{var c=Y(),e=X();switch(e){case 21509:case 21505:return c.o?0:-25;case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:return c.o?
0:-25;case 21519:if(!c.o)return-25;var f=X();return r[f>>2]=0;case 21520:return c.o?-22:-25;case 21531:return f=X(),R.Ua(c,e,f);case 21523:return c.o?0:-25;case 21524:return c.o?0:-25;default:v("bad ioctl syscall "+e)}}catch(g){return"undefined"!==typeof R&&g instanceof R.b||v(g),-g.h}},___syscall6:function(a,b){W=b;try{var c=Y();R.close(c);return 0}catch(e){return"undefined"!==typeof R&&e instanceof R.b||v(e),-e.h}},___syscall63:function(a,b){W=b;try{var c=Y(),e=X();return c.H===e?e:qb(c.path,c.flags,
e)}catch(f){return"undefined"!==typeof R&&f instanceof R.b||v(f),-f.h}},___syscall91:function(a,b){W=b;try{var c=X(),e=X();return ub(c,e)}catch(f){return"undefined"!==typeof R&&f instanceof R.b||v(f),-f.h}},___unlock:function(){},___wasi_fd_write:function(){return wb.apply(null,arguments)},__addDays:Kb,__arraySum:Hb,__emscripten_syscall_mmap2:rb,__emscripten_syscall_munmap:ub,__isLeapYear:Gb,_abort:function(){d.abort()},_clock_gettime:bb,_emscripten_get_heap_size:ja,_emscripten_get_now:$a,_emscripten_get_now_is_monotonic:ab,
_emscripten_memcpy_big:function(a,b,c){A.set(A.subarray(b,b+c),a)},_emscripten_resize_heap:function(a){if(2147418112<a)return!1;for(var b=Math.max(ja(),16777216);b<a;)536870912>=b?b=va(2*b):b=Math.min(va((3*b+2147483648)/4),2147418112);return Fb(b)?!0:!1},_exit:function(a){Ob(a)},_fd_write:wb,_getenv:xb,_llvm_log2_f32:yb,_llvm_log2_f64:function(a){return yb(a)},_llvm_stackrestore:function(a){var b=Z.O[a];Z.O.splice(a,1);Pb(b)},_llvm_stacksave:Z,_llvm_trap:function(){v("trap!")},_localtime:function(a){return Eb(a,
147888)},_localtime_r:Eb,_pthread_cond_wait:function(){return 0},_signal:function(){return 0},_strftime:Lb,_strftime_l:function(a,b,c,e){return Lb(a,b,c,e)},_time:function(a){var b=Date.now()/1E3|0;a&&(r[a>>2]=b);return b},_tzset:Ab,_utime:function(a,b){b?(b=r[b+4>>2],b*=1E3):b=Date.now();a=C(a);try{return R.Lb(a,b,b),0}catch(c){return R.jc(c),-1}},abortOnCannotGrowMemory:function(){v("OOM")},demangle:function(a){return a},demangleAll:Wa,emscripten_realloc_buffer:Fb,jsStackTrace:Xa,stackTrace:Ya,
tempDoublePtr:148048,DYNAMICTOP_PTR:ia},E);d.asm=Qb;var Nb=d.__ZSt18uncaught_exceptionv=function(){return d.asm.__ZSt18uncaught_exceptionv.apply(null,arguments)};d.___cxa_can_catch=function(){return d.asm.___cxa_can_catch.apply(null,arguments)};d.___cxa_is_pointer_type=function(){return d.asm.___cxa_is_pointer_type.apply(null,arguments)};d.___errno_location=function(){return d.asm.___errno_location.apply(null,arguments)};var Cb=d.__get_daylight=function(){return d.asm.__get_daylight.apply(null,arguments)};
d.__get_environ=function(){return d.asm.__get_environ.apply(null,arguments)};var Bb=d.__get_timezone=function(){return d.asm.__get_timezone.apply(null,arguments)},Db=d.__get_tzname=function(){return d.asm.__get_tzname.apply(null,arguments)};d._emscripten_replace_memory=function(){return d.asm._emscripten_replace_memory.apply(null,arguments)};var vb=d._free=function(){return d.asm._free.apply(null,arguments)},Mb=d._i64Add=function(){return d.asm._i64Add.apply(null,arguments)};
d._llvm_bswap_i32=function(){return d.asm._llvm_bswap_i32.apply(null,arguments)};d._main=function(){return d.asm._main.apply(null,arguments)};var y=d._malloc=function(){return d.asm._malloc.apply(null,arguments)},sb=d._memalign=function(){return d.asm._memalign.apply(null,arguments)};d._memcpy=function(){return d.asm._memcpy.apply(null,arguments)};d._memmove=function(){return d.asm._memmove.apply(null,arguments)};var tb=d._memset=function(){return d.asm._memset.apply(null,arguments)};
d._pthread_cond_broadcast=function(){return d.asm._pthread_cond_broadcast.apply(null,arguments)};d._sbrk=function(){return d.asm._sbrk.apply(null,arguments)};d.establishStackSpace=function(){return d.asm.establishStackSpace.apply(null,arguments)};
var Va=d.globalCtors=function(){return d.asm.globalCtors.apply(null,arguments)},ua=d.stackAlloc=function(){return d.asm.stackAlloc.apply(null,arguments)},Pb=d.stackRestore=function(){return d.asm.stackRestore.apply(null,arguments)},zb=d.stackSave=function(){return d.asm.stackSave.apply(null,arguments)};d.dynCall_ii=function(){return d.asm.dynCall_ii.apply(null,arguments)};d.dynCall_iidiiii=function(){return d.asm.dynCall_iidiiii.apply(null,arguments)};
d.dynCall_iii=function(){return d.asm.dynCall_iii.apply(null,arguments)};d.dynCall_iiii=function(){return d.asm.dynCall_iiii.apply(null,arguments)};d.dynCall_iiiii=function(){return d.asm.dynCall_iiiii.apply(null,arguments)};d.dynCall_iiiiid=function(){return d.asm.dynCall_iiiiid.apply(null,arguments)};d.dynCall_iiiiii=function(){return d.asm.dynCall_iiiiii.apply(null,arguments)};d.dynCall_iiiiiid=function(){return d.asm.dynCall_iiiiiid.apply(null,arguments)};
d.dynCall_iiiiiii=function(){return d.asm.dynCall_iiiiiii.apply(null,arguments)};d.dynCall_iiiiiiii=function(){return d.asm.dynCall_iiiiiiii.apply(null,arguments)};d.dynCall_iiiiiiiii=function(){return d.asm.dynCall_iiiiiiiii.apply(null,arguments)};d.dynCall_iiiiij=function(){return d.asm.dynCall_iiiiij.apply(null,arguments)};d.dynCall_jiji=function(){return d.asm.dynCall_jiji.apply(null,arguments)};d.dynCall_v=function(){return d.asm.dynCall_v.apply(null,arguments)};
d.dynCall_vi=function(){return d.asm.dynCall_vi.apply(null,arguments)};d.dynCall_vii=function(){return d.asm.dynCall_vii.apply(null,arguments)};d.dynCall_viii=function(){return d.asm.dynCall_viii.apply(null,arguments)};d.dynCall_viiii=function(){return d.asm.dynCall_viiii.apply(null,arguments)};d.dynCall_viiiii=function(){return d.asm.dynCall_viiiii.apply(null,arguments)};d.dynCall_viiiiii=function(){return d.asm.dynCall_viiiiii.apply(null,arguments)};
d.dynCall_viijii=function(){return d.asm.dynCall_viijii.apply(null,arguments)};d.asm=Qb;var Rb;d.then=function(a){if(Rb)a(d);else{var b=d.onRuntimeInitialized;d.onRuntimeInitialized=function(){b&&b();a(d)}}return d};function Sb(a){this.name="ExitStatus";this.message="Program terminated with exit("+a+")";this.status=a}Na=function Tb(){Rb||Ub();Rb||(Na=Tb)};
function Vb(a){a=a||[];var b=a.length+1,c=ua(4*(b+1));r[c>>2]=ta(ba);for(var e=1;e<b;e++)r[(c>>2)+e]=ta(a[e-1]);r[(c>>2)+b]=0;try{var f=d._main(b,c);Ob(f,!0)}catch(g){g instanceof Sb||("SimulateInfiniteLoop"==g?ma=!0:((a=g)&&"object"===typeof g&&g.stack&&(a=[g,g.stack]),p("exception thrown: "+a),ca(1,g)))}finally{}}
function Ub(a){function b(){if(!Rb&&(Rb=!0,!na)){Ea=!0;d.noFSInit||R.ka.Ta||R.ka();za(Ba);R.Gb=!1;za(Ca);if(d.onRuntimeInitialized)d.onRuntimeInitialized();Wb&&Vb(a);if(d.postRun)for("function"==typeof d.postRun&&(d.postRun=[d.postRun]);d.postRun.length;){var b=d.postRun.shift();Da.unshift(b)}za(Da)}}a=a||aa;if(!(0<F)){if(d.preRun)for("function"==typeof d.preRun&&(d.preRun=[d.preRun]);d.preRun.length;)Fa();za(Aa);0<F||(d.setStatus?(d.setStatus("Running..."),setTimeout(function(){setTimeout(function(){d.setStatus("")},
1);b()},1)):b())}}d.run=Ub;function Ob(a,b){if(!b||!ma||0!==a){if(!ma&&(na=!0,d.onExit))d.onExit(a);ca(a,new Sb(a))}}function v(a){if(d.onAbort)d.onAbort(a);fa(a);p(a);na=!0;throw"abort("+a+"). Build with -s ASSERTIONS=1 for more info.";}d.abort=v;if(d.preInit)for("function"==typeof d.preInit&&(d.preInit=[d.preInit]);0<d.preInit.length;)d.preInit.pop()();var Wb=!0;d.noInitialRun&&(Wb=!1);ma=!0;Ub();d.readFile=R.zc.bind(R);d.writeFile=R.Mb.bind(R);d.unlink=R.N.bind(R);d.readdir=R.S.bind(R);
d.callMain=Vb;


  return Module
}
);
})();
if (typeof exports === 'object' && typeof module === 'object')
      module.exports = Module;
    else if (typeof define === 'function' && define['amd'])
      define([], function() { return Module; });
    else if (typeof exports === 'object')
      exports["Module"] = Module;
    
