1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8213],{8213:(r,e,t)=>{var n;t.r(e),t.d(e,{default:()=>o});let o=(n="u">typeof document&&document.currentScript?document.currentScript.src:void 0,function(r={}){r.ready=new Promise((r,n)=>{e=r,t=n});var e,t,o,a,i,s,u,l,d,c,f,m,h,p,v,y,g,w,E,_,b,k,F,A,D,P,T=Object.assign({},r),S="./this.program",M="";"u">typeof document&&document.currentScript&&(M=document.currentScript.src),n&&(M=n),M=0!==M.indexOf("blob:")?M.substr(0,M.replace(/[?#].*/,"").lastIndexOf("/")+1):"",o=r=>{var e=new XMLHttpRequest;return e.open("GET",r,!1),e.send(null),e.responseText};var C=r.print||console.log.bind(console),x=r.printErr||console.error.bind(console);Object.assign(r,T),T=null,r.arguments&&r.arguments,r.thisProgram&&(S=r.thisProgram),r.quit&&r.quit,r.wasmBinary&&(i=r.wasmBinary),"object"!=typeof WebAssembly&&U("no native wasm support detected");var j=!1;function R(){var e=s.buffer;r.HEAP8=u=new Int8Array(e),r.HEAP16=d=new Int16Array(e),r.HEAPU8=l=new Uint8Array(e),r.HEAPU16=c=new Uint16Array(e),r.HEAP32=f=new Int32Array(e),r.HEAPU32=m=new Uint32Array(e),r.HEAPF32=h=new Float32Array(e),r.HEAPF64=p=new Float64Array(e)}var O=[],W=[],z=[],N=0,$=null,B=null;function I(e){N++,r.monitorRunDependencies&&r.monitorRunDependencies(N)}function L(e){if(N--,r.monitorRunDependencies&&r.monitorRunDependencies(N),0==N&&(null!==$&&(clearInterval($),$=null),B)){var t=B;B=null,t()}}function U(e){r.onAbort&&r.onAbort(e),x(e="Aborted("+e+")"),j=!0,e+=". Build with -sASSERTIONS for more info.";var n=new WebAssembly.RuntimeError(e);throw t(n),n}function H(r){if(r==v&&i)return new Uint8Array(i);if(a)return a(r);throw"both async and sync fetching of the wasm failed"}function Y(r,e,t){return(!i&&"function"==typeof fetch?fetch(r,{credentials:"same-origin"}).then(e=>{if(!e.ok)throw"failed to load wasm binary file at '"+r+"'";return e.arrayBuffer()}).catch(()=>H(r)):Promise.resolve().then(()=>H(r))).then(r=>WebAssembly.instantiate(r,e)).then(r=>r).then(t,r=>{x(`failed to asynchronously prepare wasm: ${r}`),U(r)})}(v="boolean.wasm").startsWith("data:application/octet-stream;base64,")||(A=v,v=r.locateFile?r.locateFile(A,M):M+A);var q=e=>{for(;e.length>0;)e.shift()(r)};function V(r){this.excPtr=r,this.ptr=r-24,this.set_type=function(r){m[this.ptr+4>>2]=r},this.get_type=function(){return m[this.ptr+4>>2]},this.set_destructor=function(r){m[this.ptr+8>>2]=r},this.get_destructor=function(){return m[this.ptr+8>>2]},this.set_caught=function(r){r=+!!r,u[this.ptr+12|0]=r},this.get_caught=function(){return 0!=u[this.ptr+12|0]},this.set_rethrown=function(r){r=+!!r,u[this.ptr+13|0]=r},this.get_rethrown=function(){return 0!=u[this.ptr+13|0]},this.init=function(r,e){this.set_adjusted_ptr(0),this.set_type(r),this.set_destructor(e)},this.set_adjusted_ptr=function(r){m[this.ptr+16>>2]=r},this.get_adjusted_ptr=function(){return m[this.ptr+16>>2]},this.get_exception_ptr=function(){if(r4(this.get_type()))return m[this.excPtr>>2];var r=this.get_adjusted_ptr();return 0!==r?r:this.excPtr}}r.noExitRuntime;var X=0,G=0,J={},K=r=>{for(;r.length;){var e=r.pop();r.pop()(e)}};function Z(r){return this.fromWireType(f[r>>2])}var Q={},rr={},re={},rt=r=>{throw new w(r)},rn=(r,e,t)=>{function n(e){var n=t(e);n.length!==r.length&&rt("Mismatched type converter count");for(var o=0;o<r.length;++o)ri(r[o],n[o])}r.forEach(function(r){re[r]=e});var o=Array(e.length),a=[],i=0;e.forEach((r,e)=>{rr.hasOwnProperty(r)?o[e]=rr[r]:(a.push(r),Q.hasOwnProperty(r)||(Q[r]=[]),Q[r].push(()=>{o[e]=rr[r],++i===a.length&&n(o)}))}),0===a.length&&n(o)},ro=r=>{for(var e="",t=r;l[t];)e+=E[l[t++]];return e},ra=r=>{throw new _(r)};function ri(r,e,t={}){if(!("argPackAdvance"in e))throw TypeError("registerType registeredInstance requires argPackAdvance");return function(r,e,t={}){var n=e.name;if(r||ra(`type "${n}" must have a positive integer typeid pointer`),rr.hasOwnProperty(r))if(t.ignoreDuplicateRegistrations)return;else ra(`Cannot register type '${n}' twice`);if(rr[r]=e,delete re[r],Q.hasOwnProperty(r)){var o=Q[r];delete Q[r],o.forEach(r=>r())}}(r,e,t)}function rs(){this.allocated=[void 0],this.freelist=[]}
1var ru=new rs,rl=(e,t,n)=>{if(r.hasOwnProperty(e)){(void 0===n||void 0!==r[e].overloadTable&&void 0!==r[e].overloadTable[n])&&ra(`Cannot register public name '${e}' twice`);if(void 0===r[e].overloadTable){var o=r[e];r[e]=function(){return r[e].overloadTable.hasOwnProperty(arguments.length)||ra(`Function '${e}' called with an invalid number of arguments (${arguments.length}) - expects one of (${r[e].overloadTable})!`),r[e].overloadTable[arguments.length].apply(this,arguments)},r[e].overloadTable=[],r[e].overloadTable[o.argCount]=o}r.hasOwnProperty(n)&&ra(`Cannot register multiple overloads of a function with the same number of arguments (${n})!`),r[e].overloadTable[n]=t}else r[e]=t,void 0!==n&&(r[e].numArguments=n)},rd=(r,e)=>Object.defineProperty(e,"name",{value:r}),rc=r=>{var e=rZ(r),t=ro(e);return r0(e),t},rf=[],rm=r=>{var e=rf[r];return e||(r>=rf.length&&(rf.length=r+1),rf[r]=e=b.get(r)),e},rh=(e,t)=>{e=ro(e);var n=function(){if(e.includes("j")){var n,o;return n=e,o=[],function(){var e;return(o.length=0,Object.assign(o,arguments),n.includes("j"))?(e=r["dynCall_"+n],o&&o.length?e.apply(null,[t].concat(o)):e.call(null,t)):rm(t).apply(null,o)}}return rm(t)}();return"function"!=typeof n&&ra(`unknown function pointer with signature ${e}: ${t}`),n};function rp(r){return this.fromWireType(m[r>>2])}var rv=(r,e,t,n)=>{if(!(n>0))return 0;for(var o=t,a=t+n-1,i=0;i<r.length;++i){var s=r.charCodeAt(i);if(s>=55296&&s<=57343&&(s=65536+((1023&s)<<10)|1023&r.charCodeAt(++i)),s<=127){if(t>=a)break;e[t++]=s}else if(s<=2047){if(t+1>=a)break;e[t++]=192|s>>6,e[t++]=128|63&s}else if(s<=65535){if(t+2>=a)break;e[t++]=224|s>>12,e[t++]=128|s>>6&63,e[t++]=128|63&s}else{if(t+3>=a)break;e[t++]=240|s>>18,e[t++]=128|s>>12&63,e[t++]=128|s>>6&63,e[t++]=128|63&s}}return e[t]=0,t-o},ry=r=>{for(var e=0,t=0;t<r.length;++t){var n=r.charCodeAt(t);n<=127?e++:n<=2047?e+=2:n>=55296&&n<=57343?(e+=4,++t):e+=3}return e},rg="u">typeof TextDecoder?new TextDecoder("utf8"):void 0,rw=(r,e,t)=>{for(var n=e+t,o=e;r[o]&&!(o>=n);)++o;if(o-e>16&&r.buffer&&rg)return rg.decode(r.subarray(e,o));for(var a="";e<o;){var i=r[e++];if(!(128&i)){a+=String.fromCharCode(i);continue}var s=63&r[e++];if((224&i)==192){a+=String.fromCharCode((31&i)<<6|s);continue}var u=63&r[e++];if((i=(240&i)==224?(15&i)<<12|s<<6|u:(7&i)<<18|s<<12|u<<6|63&r[e++])<65536)a+=String.fromCharCode(i);else{var l=i-65536;a+=String.fromCharCode(55296|l>>10,56320|1023&l)}}return a},rE=(r,e)=>r?rw(l,r,e):"",r_="u">typeof TextDecoder?new TextDecoder("utf-16le"):void 0,rb=(r,e)=>{for(var t=r,n=t>>1,o=n+e/2;!(n>=o)&&c[n];)++n;if((t=n<<1)-r>32&&r_)return r_.decode(l.subarray(r,t));for(var a="",i=0;!(i>=e/2);++i){var s=d[r+2*i>>
vendor: 5,717 bytes, line 1
11];if(0==s)break;a+=String.fromCharCode(s)}return a},rk=(r,e,t)=>{if(void 0===t&&(t=0x7fffffff),t<2)return 0;for(var n=e,o=(t-=2)<2*r.length?t/2:r.length,a=0;a<o;++a){var i=r.charCodeAt(a);d[e>>1]=i,e+=2}return d[e>>1]=0,e-n},rF=r=>2*r.length,rA=(r,e)=>{for(var t=0,n="";!(t>=e/4);){var o=f[r+4*t>>2];if(0==o)break;if(++t,o>=65536){var a=o-65536;n+=String.fromCharCode(55296|a>>10,56320|1023&a)}else n+=String.fromCharCode(o)}return n},rD=(r,e,t)=>{if(void 0===t&&(t=0x7fffffff),t<4)return 0;for(var n=e,o=n+t-4,a=0;a<r.length;++a){var i=r.charCodeAt(a);if(i>=55296&&i<=57343&&(i=65536+((1023&i)<<10)|1023&r.charCodeAt(++a)),f[e>>2]=i,(e+=4)+4>o)break}return f[e>>2]=0,e-n},rP=r=>{for(var e=0,t=0;t<r.length;++t){var n=r.charCodeAt(t);n>=55296&&n<=57343&&++t,e+=4}return e},rT=r=>{var e=(r-s.buffer.byteLength+65535)/65536;try{return s.grow(e),R(),1}catch(r){}},rS={},rM=()=>{if(!rM.strings){var r={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:S||"./this.program"};for(var e in rS)void 0===rS[e]?delete r[e]:r[e]=rS[e];var t=[];for(var e in r)t.push(`${e}=${r[e]}`);rM.strings=t}return rM.strings},rC={isAbs:r=>"/"===r.charAt(0),splitPath:r=>/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(r).slice(1),normalizeArray:(r,e)=>{for(var t=0,n=r.length-1;n>=0;n--){var o=r[n];"."===o?r.splice(n,1):".."===o?(r.splice(n,1),t++):t&&(r.splice(n,1),t--)}if(e)for(;t;t--)r.unshift("..");return r},normalize:r=>{var e=rC.isAbs(r),t="/"===r.substr(-1);return(r=rC.normalizeArray(r.split("/").filter(r=>!!r),!e).join("/"))||e||(r="."),r&&t&&(r+="/"),(e?"/":"")+r},dirname:r=>{var e=rC.splitPath(r),t=e[0],n=e[1];return t||n?(n&&(n=n.substr(0,n.length-1)),t+n):"."},basename:r=>{if("/"===r)return"/";var e=(r=(r=rC.normalize(r)).replace(/\/$/,"")).lastIndexOf("/");return -1===e?r:r.substr(e+1)},join:function(){var r=Array.prototype.slice.call(arguments);return rC.normalize(r.join("/"))},join2:(r,e)=>rC.normalize(r+"/"+e)},rx=r=>(rx=(()=>{if("object"==typeof crypto&&"function"==typeof crypto.getRandomValues)return r=>crypto.getRandomValues(r);U("initRandomDevice")})())(r),rj={resolve:function(){for(var r="",e=!1,t=arguments.length-1;t>=-1&&!e;t--){var n=t>=0?arguments[t]:rI.cwd();if("string"!=typeof n)throw TypeError("Arguments to path.resolve must be strings");if(!n)return"";r=n+"/"+r,e=rC.isAbs(n)}return r=rC.normalizeArray(r.split("/").filter(r=>!!r),!e).join("/"),(e?"/":"")+r||"."},relative:(r,e)=>{function t(r){for(var e=0;e<r.length&&""===r[e];e++);for(var t=r.length-1;t>=0&&""===r[t];t--);return e>t?[]:r.slice(e,t-e+1)}r=rj.resolve(r).substr(1),e=rj.resolve(e).substr(1);for(var n=t(r.split("/")),o=t(e.split("/")),a=Math.min(n.length,o.length),i=a,s=0;s<a;s++)if(n[s]!==o[s]){i=s;break}for(var u=[],s=i;s<n.length;s++)u.push("..");return(u=u.concat(o.slice(i))).join("/")}},rR=[];function rO(r,e,t){var n=Array(t>0?t:ry(r)+1),o=rv(r,n,0,n.length);return e&&(n.length=o),n}var rW={ttys:[],init(){},shutdown(){},register(r,e){rW.ttys[r]={input:[],output:[],ops:e},rI.registerDevice(r,rW.stream_ops)},stream_ops:{open(r){var e=rW.ttys[r.node.rdev];if(!e)throw new rI.ErrnoError(43);r.tty=e,r.seekable=!1},close(r){r.tty.ops.fsync(r.tty)},fsync(r){r.tty.ops.fsync(r.tty)},read(r,e,t,n,o){if(!r.tty||!r.tty.ops.get_char)throw new rI.ErrnoError(60);for(var a,i=0,s=0;s<n;s++){try{a=r.tty.ops.get_char(r.tty)}catch(r){throw new rI.ErrnoError(29)}if(void 0===a&&0===i)throw new rI.ErrnoError(6);if(null==a)break;i++,e[t+s]=a}return i&&(r.node.timestamp=Date.now()),i},write(r,e,t,n,o){if(!r.tty||!r.tty.ops.put_char)throw new rI.ErrnoError(60);try{for(var a=0;a<n;a++)r.tty.ops.put_char(r.tty,e[t+a])}catch(r){throw new rI.ErrnoError(29)}return n&&(r.node.timestamp=Date.now()),a}},default_tty_ops:{get_char:r=>(()=>{if(!rR.length){var r=null;if("u">typeof window&&"function"==typeof window.prompt?null!==(r=window.prompt("Input: "))&&(r+="\n"):"function"==typeof readline&&null!==(r=readline())&&(r+="\n"),!r)return null;rR=rO(r,!0)}return rR.shift()})(),put_char(r,e){null===e||10===e?(C(rw(r.output,0)),r.output=[]):0!=e&&r.output.push(e)},fsync(r){r.output&&r.output.length>0&&(C(rw(r.output,0)),r.output=[])},ioctl_tcgets:r=>({c_iflag:25856,c_oflag:5,c_cflag:191,c_lflag:35387,c_cc:[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}),ioctl_tcsets:(r,e,t)=>0,ioctl_tiocgwinsz:r=>[24,80]},default_tty1_ops:{put_char(r,e){null===e||10===e?(x(rw(r.output,0)),r.output=[]):0!=e&&r.output.push(e)},fsync(r){r.output&&r.output.length>0&&(x(rw(r.output,0)),r.output=[])}}},rz=r=>{U()},rN={ops_table:null,mount:r=>rN.createNode(null,"/",16895,0),createNode(r,e,t,n){if(rI.isBlkdev(t)||rI.isFIFO(t))throw new rI.ErrnoError(63);rN.ops_table||(rN.ops_table={dir:{node:{getattr:rN.node_ops.getattr,setattr:rN.node_ops.setattr,lookup:rN.node_ops.lookup,mknod:rN.node_ops.mknod,rename:rN.node_ops.rename,unlink:rN.node_ops.unlink,rmdir:rN.node_ops.rmdir,readdir:rN.node_ops.readdir,symlink:rN.node_ops.symlink},stream:{llseek:rN.stream_ops.llseek}},file:{node:{getattr:rN.node_ops.getattr,setattr:rN.node_ops.setattr},stream:{llseek:rN.stream_ops.llseek,read:rN.stream_ops.read,write:rN.stream_ops.write,allocate:rN.stream_ops.allocate,mmap:rN.stream_ops.mmap,msync:rN.stream_ops.msync}},link:{node:{getattr:rN.node_ops.getattr,setattr:rN.node_ops.setattr,readlink:rN.node_ops.readlink},stream:{}},chrdev:{node:{getattr:rN.node_ops.getattr,setattr:rN.node_ops.setattr},stream:rI.chrdev_stream_ops}});var o=rI.createNode(r,e,t,n);return rI.isDir(o.mode)?(o.node_ops=rN.ops_table.dir.node,o.stream_ops=rN.ops_table.dir.stream,o.contents={}
vendor: 8,474 bytes, line 1
1):rI.isFile(o.mode)?(o.node_ops=rN.ops_table.file.node,o.stream_ops=rN.ops_table.file.stream,o.usedBytes=0,o.contents=null):rI.isLink(o.mode)?(o.node_ops=rN.ops_table.link.node,o.stream_ops=rN.ops_table.link.stream):rI.isChrdev(o.mode)&&(o.node_ops=rN.ops_table.chrdev.node,o.stream_ops=rN.ops_table.chrdev.stream),o.timestamp=Date.now(),r&&(r.contents[e]=o,r.timestamp=o.timestamp),o},getFileDataAsTypedArray:r=>r.contents?r.contents.subarray?r.contents.subarray(0,r.usedBytes):new Uint8Array(r.contents):new Uint8Array(0),expandFileStorage(r,e){var t=r.contents?r.contents.length:0;if(!(t>=e)){e=Math.max(e,t*(t<1048576?2:1.125)>>>0),0!=t&&(e=Math.max(e,256));var n=r.contents;r.contents=new Uint8Array(e),r.usedBytes>0&&r.contents.set(n.subarray(0,r.usedBytes),0)}},resizeFileStorage(r,e){if(r.usedBytes!=e)if(0==e)r.contents=null,r.usedBytes=0;else{var t=r.contents;r.contents=new Uint8Array(e),t&&r.contents.set(t.subarray(0,Math.min(e,r.usedBytes))),r.usedBytes=e}},node_ops:{getattr(r){var e={};return e.dev=rI.isChrdev(r.mode)?r.id:1,e.ino=r.id,e.mode=r.mode,e.nlink=1,e.uid=0,e.gid=0,e.rdev=r.rdev,rI.isDir(r.mode)?e.size=4096:rI.isFile(r.mode)?e.size=r.usedBytes:rI.isLink(r.mode)?e.size=r.link.length:e.size=0,e.atime=new Date(r.timestamp),e.mtime=new Date(r.timestamp),e.ctime=new Date(r.timestamp),e.blksize=4096,e.blocks=Math.ceil(e.size/e.blksize),e},setattr(r,e){void 0!==e.mode&&(r.mode=e.mode),void 0!==e.timestamp&&(r.timestamp=e.timestamp),void 0!==e.size&&rN.resizeFileStorage(r,e.size)},lookup(r,e){throw rI.genericErrors[44]},mknod:(r,e,t,n)=>rN.createNode(r,e,t,n),rename(r,e,t){if(rI.isDir(r.mode)){var n;try{n=rI.lookupNode(e,t)}catch(r){}if(n)for(var o in n.contents)throw new rI.ErrnoError(55)}delete r.parent.contents[r.name],r.parent.timestamp=Date.now(),r.name=t,e.contents[t]=r,e.timestamp=r.parent.timestamp,r.parent=e},unlink(r,e){delete r.contents[e],r.timestamp=Date.now()},rmdir(r,e){var t=rI.lookupNode(r,e);for(var n in t.contents)throw new rI.ErrnoError(55);delete r.contents[e],r.timestamp=Date.now()},readdir(r){var e=[".",".."];for(var t in r.contents)r.contents.hasOwnProperty(t)&&e.push(t);return e},symlink(r,e,t){var n=rN.createNode(r,e,41471,0);return n.link=t,n},readlink(r){if(!rI.isLink(r.mode))throw new rI.ErrnoError(28);return r.link}},stream_ops:{read(r,e,t,n,o){var a=r.node.contents;if(o>=r.node.usedBytes)return 0;var i=Math.min(r.node.usedBytes-o,n);if(i>8&&a.subarray)e.set(a.subarray(o,o+i),t);else for(var s=0;s<i;s++)e[t+s]=a[o+s];return i},write(r,e,t,n,o,a){if(e.buffer===u.buffer&&(a=!1),!n)return 0;var i=r.node;if(i.timestamp=Date.now(),e.subarray&&(!i.contents||i.contents.subarray)){if(a)return i.contents=e.subarray(t,t+n),i.usedBytes=n,n;else if(0===i.usedBytes&&0===o)return i.contents=e.slice(t,t+n),i.usedBytes=n,n;else if(o+n<=i.usedBytes)return i.contents.set(e.subarray(t,t+n),o),n}if(rN.expandFileStorage(i,o+n),i.contents.subarray&&e.subarray)i.contents.set(e.subarray(t,t+n),o);else for(var s=0;s<n;s++)i.contents[o+s]=e[t+s];return i.usedBytes=Math.max(i.usedBytes,o+n),n},llseek(r,e,t){var n=e;if(1===t?n+=r.position:2===t&&rI.isFile(r.node.mode)&&(n+=r.node.usedBytes),n<0)throw new rI.ErrnoError(28);return n},allocate(r,e,t){rN.expandFileStorage(r.node,e+t),r.node.usedBytes=Math.max(r.node.usedBytes,e+t)},mmap(r,e,t,n,o){if(!rI.isFile(r.node.mode))throw new rI.ErrnoError(43);var a,i,s=r.node.contents;if(2&o||s.buffer!==u.buffer){if((t>0||t+e<s.length)&&(s=s.subarray?s.subarray(t,t+e):Array.prototype.slice.call(s,t,t+e)),i=!0,!(a=rz(e)))throw new rI.ErrnoError(48);u.set(s,a)}else i=!1,a=s.byteOffset;return{ptr:a,allocated:i}},msync:(r,e,t,n,o)=>(rN.stream_ops.write(r,e,0,n,t,!1),0)}},r$=r.preloadPlugins||[],rB=(r,e)=>{var t=0;return r&&(t|=365),e&&(t|=146),t},rI={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:!1,ignorePermissions:!0,ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,lookupPath(r,e={}){if(!(r=rj.resolve(r)))return{path:"",node:null};if((e=Object.assign({follow_mount:!0,recurse_count:0},e)).recurse_count>8)throw new rI.ErrnoError(32);for(var t=r.split("/").filter(r=>!!r),n=rI.root,o="/",a=0;a<t.length;a++){var i=a===t.length-1;if(i&&e.parent)break;if(n=rI.lookupNode(n,t[a]),o=rC.join2(o,t[a]),rI.isMountpoint(n)&&(!i||i&&e.follow_mount)&&(n=n.mounted.root),!i||e.follow)for(var s=0;rI.isLink(n.mode);){var u=rI.readlink(o);if(o=rj.resolve(rC.dirname(o),u),n=rI.lookupPath(o,{recurse_count:e.recurse_count+1}).node,s++>40)throw new rI.ErrnoError(32)}}return{path:o,node:n}},getPath(r){for(var e;;){if(rI.isRoot(r)){var t=r.mount.mountpoint;if(!e)return t;return"/"!==t[t.length-1]?`${t}/${e}`:t+e}e=e?`${r.name}/${e}`:r.name,r=r.parent}},hashName(r,e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n)|0;return(r+t>>>0)%rI.nameTable.length},hashAddNode(r){var e=rI.hashName(r.parent.id,r.name);r.name_next=rI.nameTable[e],rI.nameTable[e]=r},hashRemoveNode(r){var e=rI.hashName(r.parent.id,r.name);if(rI.nameTable[e]===r)rI.nameTable[e]=r.name_next;else for(var t=rI.nameTable[e];t;){if(t.name_next===r){t.name_next=r.name_next;break}t=t.name_next}},lookupNode(r,e){var t=rI.mayLookup(r);if(t)throw new rI.ErrnoError(t,r);for(var n=rI.hashName(r.id,e),o=rI.nameTable[n];o;o=o.name_next){var a=o.name;if(o.parent.id===r.id&&a===e)return o}return rI.lookup(r,e)},createNode(r,e,t,n){var o=new rI.FSNode(r,e,t,n);return rI.hashAddNode(o),o},destroyNode(r){rI.hashRemoveNode(r)},isRoot:r=>r===r.parent,isMountpoint:r=>!!r.mounted,isFile:r=>(61440&r)==32768,isDir:r=>(61440&r)==16384,isLink:r=>(61440&r)==40960,isChrdev:r=>(61440&r)==8192,isBlkdev:r=>(61440&r)==24576,isFIFO:r=>(61440&r)==4096,isSocket:r=>(49152&r)==49152,flagsToPermissionString(r){var e=["r","w","rw"][3&r];return 512&r&&(e+="w"),e},nodePermissions:(r,e)=>rI.ignorePermissions?0:e.includes("r")&&!(292&r.mode)||e.includes("w")&&!(146&r.mode)||e.includes("x")&&!(73&r.mode)?2:0,mayLookup(r){var e=rI.nodePermissions(r,"x");return e||2*!r.node_ops.lookup},mayCreate(r,e){try{return rI.lookupNode(r,e),20}catch(r){}return rI.nodePermissions(r,"wx")},mayDelete(r,e,t){try{n=rI.lookupNode(r,e)}catch(r){return r.errno}var n,o=rI.nodePermissions(r,"wx");if(o)return o;if(t){if(!rI.isDir(n.mode))return 54;if(rI.isRoot(n)||rI.getPath(n)===rI.cwd())return 10}else if(rI.isDir(n.mode))return 31;return 0},mayOpen:(r,e)=>r?rI.isLink(r.mode)?32:rI.isDir(r.mode)&&("r"!==rI.flagsToPermissionString(e)||512&e)?31:rI.nodePermissions(r,rI.flagsToPermissionString(e)):44,MAX_OPEN_FDS:4096,nextfd(){for(var r=0;r<=rI.MAX_OPEN_FDS;r++)if(!rI.streams[r])return r;throw new rI.ErrnoError(33)},getStreamChecked(r){var e=rI.getStream(r);if(!e)throw new rI.ErrnoError(8);return e},getStream:r=>rI.streams[r],createStream:(r,e=-1)=>(rI.FSStream||(rI.FSStream=function(){this.shared={}},rI.FSStream.prototype={},Object.defineProperties(rI.FSStream.prototype,{object:{get(){return this.node},set(r){this.node=r}},isRead:{get(){return(2097155&this.flags)!=1}},isWrite:{get(){return(2097155&this.flags)!=0}},isAppend:{get(){return 1024&this.flags}},flags:{get(){return this.shared.flags},set(r){this.shared.flags=r}},position:{get(){return this.shared.position},set(r){this.shared.position=r}}})),r=Object.assign(new rI.FSStream,r),-1==e&&(e=rI.nextfd()),r.fd=e,rI.streams[e]=r,r),closeStream(r){rI.streams[r]=null},chrdev_stream_ops:{open(r){var e=rI.getDevice(r.node.rdev);r.stream_ops=e.stream_ops,r.stream_ops.open&&r.stream_ops.open(r)},llseek(){throw new rI.ErrnoError(70)}},major:r=>r>>8,minor:r=>255&r,makedev:(r,e)=>r<<8|e,registerDevice(r,e){rI.devices[r]={stream_ops:e}},getDevice:r=>rI.devices[r],getMounts(r){for(var e=[],t=[r];t.length;){var n=t.pop();e.push(n),t.push.apply(t,n.mounts)}return e},syncfs(r,e){"function"==typeof r&&(e=r,r=!1),rI.syncFSRequests++,rI.syncFSRequests>1&&x(`warning: ${rI.syncFSRequests} FS.syncfs operations in flight at once, probably just doing extra work`);var t=rI.getMounts(rI.root.mount),n=0;function o(r){return rI.syncFSRequests--,e(r)}function a(r){if(r)return a.errored?void 0:(a.errored=!0,o(r));++n>=t.length&&o(null)}t.forEach(e=>{if(!e.type.syncfs)return a(null);e.type.syncfs(e,r,a)})},mount(r,e,t){var n,o="/"===t,a=!t;if(o&&rI.root)throw new rI.ErrnoError(10);if(!o&&!a){var i=rI.lookupPath(t,{follow_mount:!1});if(t=i.path,n=i.node,rI.isMountpoint(n))throw new rI.ErrnoError(10);if(!rI.isDir(n.mode))throw new rI.ErrnoError(54)}var s={type:r,opts:e,mountpoint:t,mounts:[]},u=r.mount(s);
1return u.mount=s,s.root=u,o?rI.root=u:n&&(n.mounted=s,n.mount&&n.mount.mounts.push(s)),u},unmount(r){var e=rI.lookupPath(r,{follow_mount:!1});if(!rI.isMountpoint(e.node))throw new rI.ErrnoError(28);var t=e.node,n=t.mounted,o=rI.getMounts(n);Object.keys(rI.nameTable).forEach(r=>{for(var e=rI.nameTable[r];e;){var t=e.name_next;o.includes(e.mount)&&rI.destroyNode(e),e=t}}),t.mounted=null;var a=t.mount.mounts.indexOf(n);t.mount.mounts.splice(a,1)},lookup:(r,e)=>r.node_ops.lookup(r,e),mknod(r,e,t){var n=rI.lookupPath(r,{parent:!0}).node,o=rC.basename(r);if(!o||"."===o||".."===o)throw new rI.ErrnoError(28);var a=rI.mayCreate(n,o);if(a)throw new rI.ErrnoError(a);if(!n.node_ops.mknod)throw new rI.ErrnoError(63);return n.node_ops.mknod(n,o,e,t)},create:(r,e)=>(e=(void 0!==e?e:438)&4095|32768,rI.mknod(r,e,0)),mkdir:(r,e)=>(e=(void 0!==e?e:511)&1023|16384,rI.mknod(r,e,0)),mkdirTree(r,e){for(var t=r.split("/"),n="",o=0;o<t.length;++o)if(t[o]){n+="/"+t[o];try{rI.mkdir(n,e)}catch(r){if(20!=r.errno)throw r}}},mkdev:(r,e,t)=>(void 0===t&&(t=e,e=438),e|=8192,rI.mknod(r,e,t)),symlink(r,e){if(!rj.resolve(r))throw new rI.ErrnoError(44);var t=rI.lookupPath(e,{parent:!0}).node;if(!t)throw new rI.ErrnoError(44);var n=rC.basename(e),o=rI.mayCreate(t,n);if(o)throw new rI.ErrnoError(o);if(!t.node_ops.symlink)throw new rI.ErrnoError(63);return t.node_ops.symlink(t,n,r)},rename(r,e){var t,n,o,a=rC.dirname(r),i=rC.dirname(e),s=rC.basename(r),u=rC.basename(e);if(t=rI.lookupPath(r,{parent:!0}).node,n=rI.lookupPath(e,{parent:!0}).node,!t||!n)throw new rI.ErrnoError(44);if(t.mount!==n.mount)throw new rI.ErrnoError(75);var l=rI.lookupNode(t,s),d=rj.relative(r,i);if("."!==d.charAt(0))throw new rI.ErrnoError(28);if("."!==(d=rj.relative(e,a)).charAt(0))throw new rI.ErrnoError(55);try{o=rI.lookupNode(n,u)}catch(r){}if(l!==o){var c=rI.isDir(l.mode),f=rI.mayDelete(t,s,c);if(f||(f=o?rI.mayDelete(n,u,c):rI.mayCreate(n,u)))throw new rI.ErrnoError(f);if(!t.node_ops.rename)throw new rI.ErrnoError(63);if(rI.isMountpoint(l)||o&&rI.isMountpoint(o))throw new rI.ErrnoError(10);if(n!==t&&(f=rI.nodePermissions(t,"w")))throw new rI.ErrnoError(f);rI.hashRemoveNode(l);try{t.node_ops.rename(l,n,u)}catch(r){throw r}finally{rI.hashAddNode(l)}}},rmdir(r){var e=rI.lookupPath(r,{parent:!0}).node,t=rC.basename(r),n=rI.lookupNode(e,t),o=rI.mayDelete(e,t,!0);if(o)throw new rI.ErrnoError(o);if(!e.node_ops.rmdir)throw new rI.ErrnoError(63);if(rI.isMountpoint(n))throw new rI.ErrnoError(10);e.node_ops.rmdir(e,t),rI.destroyNode(n)},readdir(r){var e=rI.lookupPath(r,{follow:!0}).node;if(!e.node_ops.readdir)throw new rI.ErrnoError(54);return e.node_ops.readdir(e)},unlink(r){var e=rI.lookupPath(r,{parent:!0}).node;if(!e)throw new rI.ErrnoError(44);var t=rC.basename(r),n=rI.lookupNode(e,t),o=rI.mayDelete(e,t,!1);if(o)throw new rI.ErrnoError(o);if(!e.node_ops.unlink)throw new rI.ErrnoError(63);if(rI.isMountpoint(n))throw new rI.ErrnoError(10);e.node_ops.unlink(e,t),rI.destroyNode(n)},readlink(r){var e=rI.lookupPath(r).node;if(!e)throw new rI.ErrnoError(44);if(!e.node_ops.readlink)throw new rI.ErrnoError(28);return rj.resolve(rI.getPath(e.parent),e.node_ops.readlink(e))},stat(r,e){var t=rI.lookupPath(r,{follow:!e}).node;if(!t)throw new rI.ErrnoError(44);if(!t.node_ops.getattr)throw new rI.ErrnoError(63);return t.node_ops.getattr(t)},lstat:r=>rI.stat(r,!0),chmod(r,e,t){var n;if(!(n="string"==typeof r?rI.lookupPath(r,{follow:!t}).node:r).node_ops.setattr)throw new rI.ErrnoError(63);n.node_ops.setattr(n,{mode:4095&e|-4096&n.mode,timestamp:Date.now()})},lchmod(r,e){rI.chmod(r,e,!0)},fchmod(r,e){var t=rI.getStreamChecked(r);rI.chmod(t.node,e)},chown(r,e,t,n){var o;if(!(o="string"==typeof r?rI.lookupPath(r,{follow:!n}).node:r).node_ops.setattr)throw new rI.ErrnoError(63);o.node_ops.setattr(o,{timestamp:Date.now()})},lchown(r,e,t){rI.chown(r,e,t,!0)},fchown(r,e,t){var n=rI.getStreamChecked(r);rI.chown(n.node,e,t)},truncate(r,e){if(e<0)throw new rI.ErrnoError(28);if("string"==typeof r){var t;t=rI.lookupPath(r,{follow:!0}).node}else t=r;if(!t.node_ops.setattr)throw new rI.ErrnoError(63);if(rI.isDir(t.mode))throw new rI.ErrnoError(31);if(!rI.isFile(t.mode))throw new rI.ErrnoError(28);var n=rI.nodePermissions(t,"w");if(n)throw new rI.ErrnoError(n);t.node_ops.setattr(t,{size:e,timestamp:Date.now()})},ftruncate(r,e){var t=rI.getStreamChecked(r);if((2097155&t.flags)==0)throw new rI.ErrnoError(28);rI.truncate(t.node,e)},utime(r,e,t){var n=rI.lookupPath(r,{follow:!0}).node;n.node_ops.setattr(n,{timestamp:Math.max(e,t)})},open(e,t,n){if(""===e)throw new rI.ErrnoError(44);if(t="string"==typeof t?(r=>{var e={r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090}[r];if(void 0===e)throw Error(`Unknown file open mode: ${r}`);return e})(t):t,n=void 0===n?438:n,n=64&t?4095&n|32768:0,"object"==typeof e)o=e;else{e=rC.normalize(e);try{var o;o=rI.lookupPath(e,{follow:!(131072&t)}).node}catch(r){}}var a=!1;
1if(64&t)if(o){if(128&t)throw new rI.ErrnoError(20)}else o=rI.mknod(e,n,0),a=!0;if(!o)throw new rI.ErrnoError(44);if(rI.isChrdev(o.mode)&&(t&=-513),65536&t&&!rI.isDir(o.mode))throw new rI.ErrnoError(54);if(!a){var i=rI.mayOpen(o,t);if(i)throw new rI.ErrnoError(i)}512&t&&!a&&rI.truncate(o,0),t&=-131713;var s=rI.createStream({node:o,path:rI.getPath(o),flags:t,seekable:!0,position:0,stream_ops:o.stream_ops,ungotten:[],error:!1});return s.stream_ops.open&&s.stream_ops.open(s),r.logReadFiles&&!(1&t)&&(rI.readFiles||(rI.readFiles={}),e in rI.readFiles||(rI.readFiles[e]=1)),s},close(r){if(rI.isClosed(r))throw new rI.ErrnoError(8);r.getdents&&(r.getdents=null);try{r.stream_ops.close&&r.stream_ops.close(r)}catch(r){throw r}finally{rI.closeStream(r.fd)}r.fd=null},isClosed:r=>null===r.fd,llseek(r,e,t){if(rI.isClosed(r))throw new rI.ErrnoError(8);if(!r.seekable||!r.stream_ops.llseek)throw new rI.ErrnoError(70);if(0!=t&&1!=t&&2!=t)throw new rI.ErrnoError(28);return r.position=r.stream_ops.llseek(r,e,t),r.ungotten=[],r.position},read(r,e,t,n,o){if(n<0||o<0)throw new rI.ErrnoError(28);if(rI.isClosed(r)||(2097155&r.flags)==1)throw new rI.ErrnoError(8);if(rI.isDir(r.node.mode))throw new rI.ErrnoError(31);if(!r.stream_ops.read)throw new rI.ErrnoError(28);var a=void 0!==o;if(a){if(!r.seekable)throw new rI.ErrnoError(70)}else o=r.position;var i=r.stream_ops.read(r,e,t,n,o);return a||(r.position+=i),i},write(r,e,t,n,o,a){if(n<0||o<0)throw new rI.ErrnoError(28);if(rI.isClosed(r)||(2097155&r.flags)==0)throw new rI.ErrnoError(8);if(rI.isDir(r.node.mode))throw new rI.ErrnoError(31);if(!r.stream_ops.write)throw new rI.ErrnoError(28);r.seekable&&1024&r.flags&&rI.llseek(r,0,2);var i=void 0!==o;if(i){if(!r.seekable)throw new rI.ErrnoError(70)}else o=r.position;var s=r.stream_ops.write(r,e,t,n,o,a);return i||(r.position+=s),s},allocate(r,e,t){if(rI.isClosed(r))throw new rI.ErrnoError(8);if(e<0||t<=0)throw new rI.ErrnoError(28);if((2097155&r.flags)==0)throw new rI.ErrnoError(8);if(!rI.isFile(r.node.mode)&&!rI.isDir(r.node.mode))throw new rI.ErrnoError(43);if(!r.stream_ops.allocate)throw new rI.ErrnoError(138);r.stream_ops.allocate(r,e,t)},mmap(r,e,t,n,o){if((2&n)!=0&&(2&o)==0&&(2097155&r.flags)!=2||(2097155&r.flags)==1)throw new rI.ErrnoError(2);if(!r.stream_ops.mmap)throw new rI.ErrnoError(43);return r.stream_ops.mmap(r,e,t,n,o)},msync:(r,e,t,n,o)=>r.stream_ops.msync?r.stream_ops.msync(r,e,t,n,o):0,munmap:r=>0,ioctl(r,e,t){if(!r.stream_ops.ioctl)throw new rI.ErrnoError(59);return r.stream_ops.ioctl(r,e,t)},readFile(r,e={}){if(e.flags=e.flags||0,e.encoding=e.encoding||"binary","utf8"!==e.encoding&&"binary"!==e.encoding)throw Error(`Invalid encoding type "${e.encoding}"`);var t,n=rI.open(r,e.flags),o=rI.stat(r).size,a=new Uint8Array(o);return rI.read(n,a,0,o,0),"utf8"===e.encoding?t=rw(a,0):"binary"===e.encoding&&(t=a),rI.close(n),t},writeFile(r,e,t={}){t.flags=t.flags||577;var n=rI.open(r,t.flags,t.mode);if("string"==typeof e){var o=new Uint8Array(ry(e)+1),a=rv(e,o,0,o.length);rI.write(n,o,0,a,void 0,t.canOwn)}else if(ArrayBuffer.isView(e))rI.write(n,e,0,e.byteLength,void 0,t.canOwn);else throw Error("Unsupported data type");rI.close(n)},cwd:()=>rI.currentPath,chdir(r){var e=rI.lookupPath(r,{follow:!0});if(null===e.node)throw new rI.ErrnoError(44);if(!rI.isDir(e.node.mode))throw new rI.ErrnoError(54);var t=rI.nodePermissions(e.node,"x");if(t)throw new rI.ErrnoError(t);rI.currentPath=e.path},createDefaultDirectories(){rI.mkdir("/tmp"),rI.mkdir("/home"),rI.mkdir("/home/web_user")},createDefaultDevices(){rI.mkdir("/dev"),rI.registerDevice(rI.makedev(1,3),{read:()=>0,write:(r,e,t,n,o)=>n}),rI.mkdev("/dev/null",rI.makedev(1,3)),rW.register(rI.makedev(5,0),rW.default_tty_ops),rW.register(rI.makedev(6,0),rW.default_tty1_ops),rI.mkdev("/dev/tty",rI.makedev(5,0)),rI.mkdev("/dev/tty1",rI.makedev(6,0));var r=new Uint8Array(1024),e=0,t=()=>(0===e&&(e=rx(r).byteLength),r[--e]);rI.createDevice("/dev","random",t),rI.createDevice("/dev","urandom",t),rI.mkdir("/dev/shm"),rI.mkdir("/dev/shm/tmp")},createSpecialDirectories(){rI.mkdir("/proc");var r=rI.mkdir("/proc/self");rI.mkdir("/proc/self/fd"),rI.mount({mount(){var e=rI.createNode(r,"fd",16895,73);
1return e.node_ops={lookup(r,e){var t=rI.getStreamChecked(+e),n={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:()=>t.path}};return n.parent=n,n}},e}},{},"/proc/self/fd")},createStandardStreams(){r.stdin?rI.createDevice("/dev","stdin",r.stdin):rI.symlink("/dev/tty","/dev/stdin"),r.stdout?rI.createDevice("/dev","stdout",null,r.stdout):rI.symlink("/dev/tty","/dev/stdout"),r.stderr?rI.createDevice("/dev","stderr",null,r.stderr):rI.symlink("/dev/tty1","/dev/stderr"),rI.open("/dev/stdin",0),rI.open("/dev/stdout",1),rI.open("/dev/stderr",1)},ensureErrnoError(){rI.ErrnoError||(rI.ErrnoError=function(r,e){this.name="ErrnoError",this.node=e,this.setErrno=function(r){this.errno=r},this.setErrno(r),this.message="FS error"},rI.ErrnoError.prototype=Error(),rI.ErrnoError.prototype.constructor=rI.ErrnoError,[44].forEach(r=>{rI.genericErrors[r]=new rI.ErrnoError(r),rI.genericErrors[r].stack="<generic error, no stack>"}))},staticInit(){rI.ensureErrnoError(),rI.nameTable=Array(4096),rI.mount(rN,{},"/"),rI.createDefaultDirectories(),rI.createDefaultDevices(),rI.createSpecialDirectories(),rI.filesystems={MEMFS:rN}},init(e,t,n){rI.init.initialized=!0,rI.ensureErrnoError(),r.stdin=e||r.stdin,r.stdout=t||r.stdout,r.stderr=n||r.stderr,rI.createStandardStreams()},quit(){rI.init.initialized=!1;for(var r=0;r<rI.streams.length;r++){var e=rI.streams[r];e&&rI.close(e)}},findObject(r,e){var t=rI.analyzePath(r,e);return t.exists?t.object:null},analyzePath(r,e){try{var t=rI.lookupPath(r,{follow:!e});r=t.path}catch(r){}var n={isRoot:!1,exists:!1,error:0,name:null,path:null,object:null,parentExists:!1,parentPath:null,parentObject:null};try{var t=rI.lookupPath(r,{parent:!0});n.parentExists=!0,n.parentPath=t.path,n.parentObject=t.node,n.name=rC.basename(r),t=rI.lookupPath(r,{follow:!e}),n.exists=!0,n.path=t.path,n.object=t.node,n.name=t.node.name,n.isRoot="/"===t.path}catch(r){n.error=r.errno}return n},createPath(r,e,t,n){r="string"==typeof r?r:rI.getPath(r);for(var o=e.split("/").reverse();o.length;){var a=o.pop();if(a){var i=rC.join2(r,a);try{rI.mkdir(i)}catch(r){}r=i}}return i},createFile(r,e,t,n,o){var a=rC.join2("string"==typeof r?r:rI.getPath(r),e),i=rB(n,o);return rI.create(a,i)},createDataFile(r,e,t,n,o,a){var i=e;r&&(r="string"==typeof r?r:rI.getPath(r),i=e?rC.join2(r,e):r);var s=rB(n,o),u=rI.create(i,s);if(t){if("string"==typeof t){for(var l=Array(t.length),d=0,c=t.length;d<c;++d)l[d]=t.charCodeAt(d);t=l}rI.chmod(u,146|s);var f=rI.open(u,577);rI.write(f,t,0,t.length,0,a),rI.close(f),rI.chmod(u,s)}},createDevice(r,e,t,n){var o=rC.join2("string"==typeof r?r:rI.getPath(r),e),a=rB(!!t,!!n);rI.createDevice.major||(rI.createDevice.major=64);var i=rI.makedev(rI.createDevice.major++,0);return rI.registerDevice(i,{open(r){r.seekable=!1},close(r){n&&n.buffer&&n.buffer.length&&n(10)},read(r,e,n,o,a){for(var i,s=0,u=0;u<o;u++){try{i=t()}catch(r){throw new rI.ErrnoError(29)}if(void 0===i&&0===s)throw new rI.ErrnoError(6);if(null==i)break;s++,e[n+u]=i}return s&&(r.node.timestamp=Date.now()),s},write(r,e,t,o,a){for(var i=0;i<o;i++)try{n(e[t+i])}catch(r){throw new rI.ErrnoError(29)}return o&&(r.node.timestamp=Date.now()),i}}),rI.mkdev(o,a,i)},forceLoadFile(r){if(r.isDevice||r.isFolder||r.link||r.contents)return!0;if("u">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(o)try{r.contents=rO(o(r.url),!0),r.usedBytes=r.contents.length}catch(r){throw new rI.ErrnoError(29)}else throw Error("Cannot load without read() or XMLHttpRequest.")},createLazyFile(r,e,t,n,o){function a(){this.lengthKnown=!1,this.chunks=[]}if(a.prototype.get=function(r){if(!(r>this.length-1)&&!(r<0)){var e=r%this.chunkSize,t=r/this.chunkSize|0;return this.getter(t)[e]}},a.prototype.setDataGetter=function(r){this.getter=r},a.prototype.cacheLength=function(){var r,e=new XMLHttpRequest;if(e.open("HEAD",t,!1),e.send(null),!(e.status>=200&&e.status<300||304===e.status))throw Error("Couldn't load "+t+". Status: "+e.status);var n=Number(e.getResponseHeader("Content-length")),o=(r=e.getResponseHeader("Accept-Ranges"))&&"bytes"===r,a=(r=e.getResponseHeader("Content-Encoding"))&&"gzip"===r,i=1048576;o||(i=n);var s=this;s.setDataGetter(r=>{var e=r*i,o=(r+1)*i-1;if(o=Math.min(o,n-1),void 0===s.chunks[r]&&(s.chunks[r]=((r,e)=>{if(r>e)throw Error("invalid range ("+r+", "+e+") or no bytes requested!");if(e>n-1)throw Error("only "+n+" bytes available! programmer error!");var o=new XMLHttpRequest;if(o.open("GET",t,!1),n!==i&&o.setRequestHeader("Range","bytes="+r+"-"+e),o.responseType="arraybuffer",o.overrideMimeType&&o.overrideMimeType("text/plain;
1 charset=x-user-defined"),o.send(null),!(o.status>=200&&o.status<300||304===o.status))throw Error("Couldn't load "+t+". Status: "+o.status);return void 0!==o.response?new Uint8Array(o.response||[]):rO(o.responseText||"",!0)})(e,o)),void 0===s.chunks[r])throw Error("doXHR failed!");return s.chunks[r]}),(a||!n)&&(i=n=1,i=n=this.getter(0).length,C("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=n,this._chunkSize=i,this.lengthKnown=!0},"u">typeof XMLHttpRequest){var i;throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc"}var i={isDevice:!1,url:t},s=rI.createFile(r,e,i,n,o);i.contents?s.contents=i.contents:i.url&&(s.contents=null,s.url=i.url),Object.defineProperties(s,{usedBytes:{get:function(){return this.contents.length}}});var l={};function d(r,e,t,n,o){var a=r.node.contents;if(o>=a.length)return 0;var i=Math.min(a.length-o,n);if(a.slice)for(var s=0;s<i;s++)e[t+s]=a[o+s];else for(var s=0;s<i;s++)e[t+s]=a.get(o+s);return i}return Object.keys(s.stream_ops).forEach(r=>{var e=s.stream_ops[r];l[r]=function(){return rI.forceLoadFile(s),e.apply(null,arguments)}}),l.read=(r,e,t,n,o)=>(rI.forceLoadFile(s),d(r,e,t,n,o)),l.mmap=(r,e,t,n,o)=>{rI.forceLoadFile(s);var a=rz(e);if(!a)throw new rI.ErrnoError(48);return d(r,u,a,e,t),{ptr:a,allocated:!0}},s.stream_ops=l,s}},rL={DEFAULT_POLLMASK:5,calculateAt(r,e,t){if(rC.isAbs(e))return e;if(-100===r)n=rI.cwd();else{var n;n=rL.getStreamFromFD(r).path}if(0==e.length){if(!t)throw new rI.ErrnoError(44);return n}return rC.join2(n,e)},doStat(r,e,t){try{var n=r(e)}catch(r){if(r&&r.node&&rC.normalize(e)!==rC.normalize(rI.getPath(r.node)))return -54;throw r}f[t>>2]=n.dev,f[t+4>>2]=n.mode,m[t+8>>2]=n.nlink,f[t+12>>2]=n.uid,f[t+16>>2]=n.gid,f[t+20>>2]=n.rdev,g=[n.size>>>0,+Math.abs(y=n.size)>=1?y>0?Math.floor(y/0x100000000)>>>0:~~Math.ceil((y-(~~y>>>0))/0x100000000)>>>0:0],f[t+24>>2]=g[0],f[t+28>>2]=g[1],f[t+32>>2]=4096,f[t+36>>2]=n.blocks;var o=n.atime.getTime(),a=n.mtime.getTime(),i=n.ctime.getTime();return g=[Math.floor(o/1e3)>>>0,+Math.abs(y=Math.floor(o/1e3))>=1?y>0?Math.floor(y/0x100000000)>>>0:~~Math.ceil((y-(~~y>>>0))/0x100000000)>>>0:0],f[t+40>>2]=g[0],f[t+44>>2]=g[1],m[t+48>>2]=o%1e3*1e3,g=[Math.floor(a/1e3)>>>0,+Math.abs(y=Math.floor(a/1e3))>=1?y>0?Math.floor(y/0x100000000)>>>0:~~Math.ceil((y-(~~y>>>0))/0x100000000)>>>0:0],f[t+56>>2]=g[0],f[t+60>>2]=g[1],m[t+64>>2]=a%1e3*1e3,g=[Math.floor(i/1e3)>>>0,+Math.abs(y=Math.floor(i/1e3))>=1?y>0?Math.floor(y/0x100000000)>>>0:~~Math.ceil((y-(~~y>>>0))/0x100000000)>>>0:0],f[t+72>>2]=g[0],f[t+76>>2]=g[1],m[t+80>>2]=i%1e3*1e3,g=[n.ino>>>0,+Math.abs(y=n.ino)>=1?y>0?Math.floor(y/0x100000000)>>>0:~~Math.ceil((y-(~~y>>>0))/0x100000000)>>>0:0],f[t+88>>2]=g[0],f[t+92>>2]=g[1],0},doMsync(r,e,t,n,o){if(!rI.isFile(e.node.mode))throw new rI.ErrnoError(43);if(2&n)return 0;var a=l.slice(r,r+t);rI.msync(e,a,o,t,n)},varargs:void 0,get(){var r=f[rL.varargs>>2];return rL.varargs+=4,r},getp:()=>rL.get(),getStr:r=>rE(r),getStreamFromFD:r=>rI.getStreamChecked(r)},rU=r=>r%4==0&&(r%100!=0||r%400==0),rH=[31,29,31,30,31,30,31,31,30,31,30,31],rY=[31,28,31,30,31,30,31,31,30,31,30,31],rq=(r,e)=>{u.set(r,e)};w=r.InternalError=class extends Error{constructor(r){super(r),this.name="InternalError"}};for(var rV=Array(256),rX=0;rX<256;++rX)rV[rX]=String.fromCharCode(rX);E=rV,_=r.BindingError=class extends Error{constructor(r){super(r),this.name="BindingError"}},Object.assign(rs.prototype,{get(r){return this.allocated[r]},has(r){return void 0!==this.allocated[r]},allocate(r){var e=this.freelist.pop()||this.allocated.length;return this.allocated[e]=r,e},free(r){this.allocated[r]=void 0,this.freelist.push(r)}}),ru.allocated.push({value:void 0},{value:null},{value:!0},{value:!1}),ru.reserved=ru.allocated.length,r.count_emval_handles=()=>{for(var r=0,e=ru.reserved;e<ru.allocated.length;++e)void 0!==ru.allocated[e]&&++r;return r},D=Error,(P=rd("UnboundTypeError",function(r){this.name="UnboundTypeError",this.message=r;var e=Error(r).stack;void 0!==e&&(this.stack=this.toString()+"\n"+e.replace(/^Error(:[^\n]*)?\n/,""))})).prototype=Object.create(D.prototype),P.prototype.constructor=P,P.prototype.toString=function(){return void 0===this.message?this.name:`${this.name}: ${this.message}`},k=r.UnboundTypeError=P;var rG=function(r,e,t,n){r||(r=this),this.parent=r,this.mount=r.mount,this.mounted=null,this.id=rI.nextInode++,this.name=e,this.mode=t,this.node_ops={},this.stream_ops={},this.rdev=n};Object.defineProperties(rG.prototype,{read:{get:function(){return(365&this.mode)==365},set:function(r){r?this.mode|=365:this.mode&=-366}},write:{get:function(){return(146&this.mode)==146},set:function(r){r?this.mode|=146:this.mode&=-147}},isFolder:{get:function(){return rI.isDir(this.mode)}},isDevice:{get:function(){return rI.isChrdev(this.mode)}}}),rI.FSNode=rG,rI.createPreloadedFile=(r,e,t,n,o,a,i,s,u,l)=>{var d,c,f,m,h,p,v,y,g,w=e?rj.resolve(rC.join2(r,e)):r,E=`cp ${w}`;function _(t){var d,c;function f(t){l&&l(),s||rI.createDataFile(r,e,t,n,o,u),a&&a(),L(E)}d=()=>{i&&i(),L(E)},"u">typeof Browser&&Browser.init(),c=!1,r$.forEach(r=>{!c&&r.canHandle(w)&&(r.handle(t,w,f,d),c=!0)}),c||f(t)}I(E),"string"==typeof t?(d=t,c=r=>_(r),f=i,h=m?"":`al ${d}`,p=d,v=r=>{var e;e=`Loading data file "${d}" failed (no arrayBuffer).`,r||U(e),c(new Uint8Array(r)),h&&L(h)},y=r=>{if(f)f();else throw`Loading data file "${d}" failed.`},(g=new XMLHttpRequest).open("GET",p,!0),g.responseType="arraybuffer",g.onload=()=>{200==g.status||0==g.status&&g.response?v(g.response):y()},g.onerror=y,g.send(null),h&&I(h)):_(t)},rI.staticInit();var rJ={a:(r,e,t)=>{throw new V(r).init(e,t),X=r,G++,X},m:r=>{var e=J[r];delete J[r];var t=e.elements,n=t.length,o=t.map(r=>r.getterReturnType).concat(t.map(r=>r.setterArgumentType)),a=e.rawConstructor,i=e.rawDestructor;
1rn([r],o,function(r){return t.forEach((e,t)=>{var o=r[t],a=e.getter,i=e.getterContext,s=r[t+n],u=e.setter,l=e.setterContext;e.read=r=>o.fromWireType(a(i,r)),e.write=(r,e)=>{var t=[];u(l,r,s.toWireType(t,e)),K(t)}}),[{name:e.name,fromWireType:r=>{for(var e=Array(n),o=0;o<n;++o)e[o]=t[o].read(r);return i(r),e},toWireType:(r,o)=>{if(n!==o.length)throw TypeError(`Incorrect number of tuple elements for ${e.name}: expected=${n}, actual=${o.length}`);for(var s=a(),u=0;u<n;++u)t[u].write(s,o[u]);return null!==r&&r.push(i,s),s},argPackAdvance:8,readValueFromPointer:Z,destructorFunction:i}]})},p:(r,e,t,n,o)=>{},k:(r,e,t,n)=>{ri(r,{name:e=ro(e),fromWireType:function(r){return!!r},toWireType:function(r,e){return e?t:n},argPackAdvance:8,readValueFromPointer:function(r){return this.fromWireType(l[r])},destructorFunction:null})},y:(r,e)=>{ri(r,{name:e=ro(e),fromWireType:r=>{let e;var t=((e=r)||ra("Cannot use deleted val. handle = "+e),ru.get(e).value);return r>=ru.reserved&&0==--ru.get(r).refcount&&ru.free(r),t},toWireType:(r,e)=>(r=>{switch(r){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:return ru.allocate({refcount:1,value:r})}})(e),argPackAdvance:8,readValueFromPointer:Z,destructorFunction:null})},z:(r,e,t,n)=>{function o(){}e=ro(e),o.values={},ri(r,{name:e,constructor:o,fromWireType:function(r){return this.constructor.values[r]},toWireType:(r,e)=>e.value,argPackAdvance:8,readValueFromPointer:((r,e,t)=>{switch(e){case 1:return t?function(r){return this.fromWireType(u[0|r])}:function(r){return this.fromWireType(l[0|r])};case 2:return t?function(r){return this.fromWireType(d[r>>1])}:function(r){return this.fromWireType(c[r>>1])};case 4:return t?function(r){return this.fromWireType(f[r>>2])}:function(r){return this.fromWireType(m[r>>2])};default:throw TypeError(`invalid integer width (${e}): ${r}`)}})(e,t,n),destructorFunction:null}),rl(e,o)},f:(r,e,t)=>{var n,o=(void 0===(n=rr[r])&&ra("enum has unknown type "+rc(r)),n);e=ro(e);var a=o.constructor,i=Object.create(o.constructor.prototype,{value:{value:t},constructor:{value:rd(`${o.name}_${e}`,function(){})}});a.values[t]=i,a[e]=i},j:(r,e,t)=>{ri(r,{name:e=ro(e),fromWireType:r=>r,toWireType:(r,e)=>e,argPackAdvance:8,readValueFromPointer:((r,e)=>{switch(e){case 4:return function(r){return this.fromWireType(h[r>>2])};case 8:return function(r){return this.fromWireType(p[r>>3])};default:throw TypeError(`invalid float width (${e}): ${r}`)}})(e,t),destructorFunction:null})},d:(e,t,n,o,a,i,s)=>{let u;var l,d=((r,e)=>{for(var t=[],n=0;n<r;n++)t.push(m[e+4*n>>2]);return t})(t,n);e=-1!==(u=(l=(l=e=ro(e)).trim()).indexOf("("))?l.substr(0,u):l,a=rh(o,a),rl(e,function(){var r=`Cannot call ${e} due to unbound types`,t=[],n={};throw d.forEach(function r(e){if(!n[e]&&!rr[e]){if(re[e])return void re[e].forEach(r);t.push(e),n[e]=!0}}),new k(`${r}: `+t.map(rc).join([", "]))},t-1),rn([],d,function(n){var o,u,l,d=[n[0],null].concat(n.slice(1));return o=e,u=function(r,e,t,n,o,a){var i=e.length;i<2&&ra("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var s=null!==e[1]&&!1,u=!1,l=1;l<e.length;++l)if(null!==e[l]&&void 0===e[l].destructorFunction){u=!0;break}for(var d="void"!==e[0].name,c="",f="",l=0;l<i-2;++l)c+=(0!==l?", ":"")+"arg"+l,f+=(0!==l?", ":"")+"arg"+l+"Wired";var m=` 2 return function (${c}) { 3 if (arguments.length !== ${i-2}) { 4 throwBindingError('function ${r} called with ' + arguments.length + ' arguments, expected ${i-2}'); 5 }`;u&&(m+="var destructors = [];\n");var h=u?"destructors":"null",p=["throwBindingError","invoker","fn","runDestructors","retType","classParam"],v=[ra,n,o,K,e[0],e[1]];s&&(m+="var thisWired = classParam.toWireType("+h+", this);\n");for(var l=0;l<i-2;++l)m+="var arg"+l+"Wired = argType"+l+".toWireType("+h+", arg"+l+"); // "+e[l+2].name+"\n",p.push("argType"+l),v.push(e[l+2]);if(s&&(f="thisWired"+(f.length>0?", ":"")+f),m+=(d||a?"var rv = ":"")+"invoker(fn"+(f.length>0?", ":"")+f+");\n",u)m+="runDestructors(destructors);\n";else for(var l=s?1:2;l<e.length;++l){var y=1===l?"thisWired":"arg"+(l-2)+"Wired";null!==e[l].destructorFunction&&(m+=y+"_dtor("+y+"); // "+e[l].name+"\n",p.push(y+"_dtor"),v.push(e[l].destructorFunction))}d&&(m+="var ret = retType.fromWireType(rv);\nreturn ret;\n"),m+="}\n",p.push(m);var g=(function(r,e){if(!(r instanceof Function))throw TypeError(`new_ called with constructor type ${typeof r} which is not a function`);var t=rd(r.name||"unknownFunctionName",function(){});t.prototype=r.prototype;var n=new t,o=r.apply(n,e);return o instanceof Object?o:n})(Function,p).apply(null,v);return rd(r,g)}(e,d,0,a,i,s),l=t-1,r.hasOwnProperty(o)||rt("Replacing nonexistant public symbol"),void 0!==r[o].overloadTable&&void 0!==l?r[o].overloadTable[l]=u:(r[o]=u,r[o].argCount=l),[]})},e:(r,e,t,n,o)=>{e=ro(e),-1===o&&(o=0xffffffff);var a=r=>r;if(0===n){var i=32-8*t;a=r=>r<<i>>>i}var s=e.includes("unsigned"),h=(r,e)=>{};ri(r,{name:e,fromWireType:a,toWireType:s?function(r,e){return h(e,this.name),e>>>0}:function(r,e){return h(e,this.name),e},argPackAdvance:8,readValueFromPointer:((r,e,t)=>{switch(e){case 1:return t?r=>u[0|r]:r=>l[0|r];case 2:return t?r=>d[r>>1]:r=>c[r>>1];case 4:return t?r=>f[r>>2]:r=>m[r>>2];default:throw TypeError(`invalid integer width (${e}): ${r}`)}})(e,t,0!==n),destructorFunction:null})},b:(r,e,t)=>{var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array
5][e];function o(r){var e=m[r>>2],t=m[r+4>>2];return new n(u.buffer,t,e)}ri(r,{name:t=ro(t),fromWireType:o,argPackAdvance:8,readValueFromPointer:o},{ignoreDuplicateRegistrations:!0})},h:(r,e)=>{var t="std::string"===(e=ro(e));ri(r,{name:e,fromWireType(r){var e,n=m[r>>2],o=r+4;if(t)for(var a=o,i=0;i<=n;++i){var s=o+i;if(i==n||0==l[s]){var u=s-a,d=rE(a,u);void 0===e?e=d:(e+="\0",e+=d),a=s+1}}else{for(var c=Array(n),i=0;i<n;++i)c[i]=String.fromCharCode(l[o+i]);e=c.join("")}return r0(r),e},toWireType(r,e){e instanceof ArrayBuffer&&(e=new Uint8Array(e));var n,o="string"==typeof e;o||e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Int8Array||ra("Cannot pass non-string to std::string"),n=t&&o?ry(e):e.length;var a=rQ(4+n+1),i=a+4;if(m[a>>2]=n,t&&o)rv(e,l,i,n+1);else if(o)for(var s=0;s<n;++s){var u=e.charCodeAt(s);u>255&&(r0(i),ra("String has UTF-16 code units that do not fit in 8 bits")),l[i+s]=u}else for(var s=0;s<n;++s)l[i+s]=e[s];return null!==r&&r.push(r0,a),a},argPackAdvance:8,readValueFromPointer:rp,destructorFunction(r){r0(r)}})},g:(r,e,t)=>{var n,o,a,i,s;t=ro(t),2===e?(n=rb,o=rk,i=rF,a=()=>c,s=1):4===e&&(n=rA,o=rD,i=rP,a=()=>m,s=2),ri(r,{name:t,fromWireType:r=>{for(var t,o=m[r>>2],i=a(),u=r+4,l=0;l<=o;++l){var d=r+4+l*e;if(l==o||0==i[d>>s]){var c=d-u,f=n(u,c);void 0===t?t=f:(t+="\0",t+=f),u=d+e}}return r0(r),t},toWireType:(r,n)=>{"string"!=typeof n&&ra(`Cannot pass non-string to C++ string type ${t}`);var a=i(n),u=rQ(4+a+e);return m[u>>2]=a>>s,o(n,u+4,a+e),null!==r&&r.push(r0,u),u},argPackAdvance:8,readValueFromPointer:Z,destructorFunction(r){r0(r)}})},n:(r,e,t,n,o,a)=>{J[r]={name:ro(e),rawConstructor:rh(t,n),rawDestructor:rh(o,a),elements:[]}},c:(r,e,t,n,o,a,i,s,u)=>{J[r].elements.push({getterReturnType:e,getter:rh(t,n),getterContext:o,setterArgumentType:a,setter:rh(i,s),setterContext:u})},l:(r,e)=>{ri(r,{isVoid:!0,name:e=ro(e),argPackAdvance:0,fromWireType:()=>void 0,toWireType:(r,e)=>void 0})},i:()=>{U("")},x:(r,e,t)=>l.copyWithin(r,e,e+t),u:r=>{var e=l.length;if((r>>>=0)>0x80000000)return!1;for(var t=(r,e)=>r+(e-r%e)%e,n=1;n<=4;n*=2){var o=e*(1+.2/n);if(o=Math.min(o,r+0x6000000),rT(Math.min(0x80000000,t(Math.max(r,o),65536))))return!0}return!1},r:(r,e)=>{var t=0;return rM().forEach((n,o)=>{var a=e+t;m[r+4*o>>2]=a;for(var i=a,s=0;s<n.length;++s)u[0|i++]=n.charCodeAt(s);u[0|i]=0,t+=n.length+1}),0},s:(r,e)=>{var t=rM();m[r>>2]=t.length;var n=0;return t.forEach(r=>n+=r.length+1),m[e>>2]=n,0},w:function(r){try{var e=rL.getStreamFromFD(r);return rI.close(e),0}catch(r){if(void 0===rI||"ErrnoError"!==r.name)throw r;return r.errno}},t:function(r,e,t,n){try{var o=rL.getStreamFromFD(r),a=((r,e,t,n)=>{for(var o=0,a=0;a<t;a++){var i=m[e>>2],s=m[e+4>>2];e+=8;var l=rI.read(r,u,i,s,n);if(l<0)return -1;if(o+=l,l<s)break;void 0!==n&&(n+=l)}return o})(o,e,t);return m[n>>2]=a,0}catch(r){if(void 0===rI||"ErrnoError"!==r.name)throw r;return r.errno}},o:function(r,e,t,n,o){var a=t+2097152>>>0<4194305-!!e?(e>>>0)+0x100000000*t:NaN;try{if(isNaN(a))return 61;var i=rL.getStreamFromFD(r);return rI.llseek(i,a,n),g=[i.position>>>0,(y=i.position,+Math.abs(y)>=1?y>0?Math.floor(y/0x100000000)>>>0:~~Math.ceil((y-(~~y>>>0))/0x100000000)>>>0:0)],f[o>>2]=g[0],f[o+4>>2]=g[1],i.getdents&&0===a&&0===n&&(i.getdents=null),0}catch(r){if(void 0===rI||"ErrnoError"!==r.name)throw r;return r.errno}},v:function(r,e,t,n){try{var o=rL.getStreamFromFD(r),a=((r,e,t,n)=>{for(var o=0,a=0;a<t;a++){var i=m[e>>2],s=m[e+4>>2];e+=8;var l=rI.write(r,u,i,s,n);if(l<0)return -1;o+=l,void 0!==n&&(n+=l)}return o})(o,e,t);return m[n>>2]=a,0}catch(r){if(void 0===rI||"ErrnoError"!==r.name)throw r;return r.errno}},q:(r,e,t,n,o)=>((r,e,t,n)=>{var o=m[n+40>>2],a={tm_sec:f[n>>2],tm_min:f[n+4>>2],tm_hour:f[n+8>>2],tm_mday:f[n+12>>2],tm_mon:f[n+16>>2],tm_year:f[n+20>>2],tm_wday:f[n+24>>2],tm_yday:f[n+28>>2],tm_isdst:f[n+32>>2],tm_gmtoff:f[n+36>>2],tm_zone:o?rE(o):""},i=rE(t),s={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var u in s)i=i.replace(RegExp(u,"g"),s[u]);
5var l=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],d=["January","February","March","April","May","June","July","August","September","October","November","December"];function c(r,e,t){for(var n="number"==typeof r?r.toString():r||"";n.length<e;)n=t[0]+n;return n}function h(r,e){return c(r,e,"0")}function p(r,e){var t;function n(r){return r<0?-1:+(r>0)}return 0===(t=n(r.getFullYear()-e.getFullYear()))&&0===(t=n(r.getMonth()-e.getMonth()))&&(t=n(r.getDate()-e.getDate())),t}function v(r){switch(r.getDay()){case 0:return new Date(r.getFullYear()-1,11,29);case 1:return r;case 2:return new Date(r.getFullYear(),0,3);case 3:return new Date(r.getFullYear(),0,2);case 4:return new Date(r.getFullYear(),0,1);case 5:return new Date(r.getFullYear()-1,11,31);case 6:return new Date(r.getFullYear()-1,11,30)}}function y(r){var e=((r,e)=>{for(var t=new Date(r.getTime());e>0;){var n=rU(t.getFullYear()),o=t.getMonth(),a=(n?rH:rY)[o];if(e>a-t.getDate())e-=a-t.getDate()+1,t.setDate(1),o<11?t.setMonth(o+1):(t.setMonth(0),t.setFullYear(t.getFullYear()+1));else{t.setDate(t.getDate()+e);break}}return t})(new Date(r.tm_year+1900,0,1),r.tm_yday),t=new Date(e.getFullYear(),0,4),n=new Date(e.getFullYear()+1,0,4),o=v(t),a=v(n);return 0>=p(o,e)?0>=p(a,e)?e.getFullYear()+1:e.getFullYear():e.getFullYear()-1}var g={"%a":r=>l[r.tm_wday].substring(0,3),"%A":r=>l[r.tm_wday],"%b":r=>d[r.tm_mon].substring(0,3),"%B":r=>d[r.tm_mon],"%C":r=>h((r.tm_year+1900)/100|0,2),"%d":r=>h(r.tm_mday,2),"%e":r=>c(r.tm_mday,2," "),"%g":r=>y(r).toString().substring(2),"%G":r=>y(r),"%H":r=>h(r.tm_hour,2),"%I":r=>{var e=r.tm_hour;return 0==e?e=12:e>12&&(e-=12),h(e,2)},"%j":r=>h(r.tm_mday+((r,e)=>{for(var t=0,n=0;n<=e;t+=r[n++]);return t})(rU(r.tm_year+1900)?rH:rY,r.tm_mon-1),3),"%m":r=>h(r.tm_mon+1,2),"%M":r=>h(r.tm_min,2),"%n":()=>"\n","%p":r=>r.tm_hour>=0&&r.tm_hour<12?"AM":"PM","%S":r=>h(r.tm_sec,2),"%t":()=>" ","%u":r=>r.tm_wday||7,"%U":r=>h(Math.floor((r.tm_yday+7-r.tm_wday)/7),2),"%V":r=>{var e=Math.floor((r.tm_yday+7-(r.tm_wday+6)%7)/7);if((r.tm_wday+371-r.tm_yday-2)%7<=2&&e++,e){if(53==e){var t=(r.tm_wday+371-r.tm_yday)%7;4==t||3==t&&rU(r.tm_year)||(e=1)}}else{e=52;var n=(r.tm_wday+7-r.tm_yday-1)%7;(4==n||5==n&&rU(r.tm_year%400-1))&&e++}return h(e,2)},"%w":r=>r.tm_wday,"%W":r=>h(Math.floor((r.tm_yday+7-(r.tm_wday+6)%7)/7),2),"%y":r=>(r.tm_year+1900).toString().substring(2),"%Y":r=>r.tm_year+1900,"%z":r=>{var e=r.tm_gmtoff;return(e>=0?"+":"-")+String("0000"+(e=(e=Math.abs(e)/60)/60*100+e%60)).slice(-4)},"%Z":r=>r.tm_zone,"%%":()=>"%"};for(var u in i=i.replace(/%%/g,"\0\0"),g)i.includes(u)&&(i=i.replace(RegExp(u,"g"),g[u](a)));var w=rO(i=i.replace(/\0\0/g,"%"),!1);return w.length>e?0:(rq(w,r),w.length-1)})(r,e,t,n)},rK=function(){var e,n,o,a,u={a:rJ};function l(r,e){var t;return s=(rK=r.exports).A,R(),b=rK.C,t=rK.B,W.unshift(t),L("wasm-instantiate"),rK}if(I("wasm-instantiate"),r.instantiateWasm)try{return r.instantiateWasm(u,l)}catch(r){x(`Module.instantiateWasm callback failed with error: ${r}`),t(r)}return(e=i,n=v,o=u,a=function(r){l(r.instance)},e||"function"!=typeof WebAssembly.instantiateStreaming||n.startsWith("data:application/octet-stream;base64,")||"function"!=typeof fetch?Y(n,o,a):fetch(n,{credentials:"same-origin"}).then(r=>WebAssembly.instantiateStreaming(r,o).then(a,function(r){return x(`wasm streaming compile failed: ${r}`),x("falling back to ArrayBuffer instantiation"),Y(n,o,a)}))).catch(t),{}}(),rZ=r=>(rZ=rK.D)(r),rQ=r._malloc=e=>(rQ=r._malloc=rK.E)(e),r0=r._free=e=>(r0=r._free=rK.F)(e),r1=()=>(r1=rK.G)(),r2=r=>(r2=rK.H)(r),r3=r=>(r3=rK.I)(r),r4=r=>(r4=rK.J)(r);function r6(){if(!(N>0)){if(r.preRun)for("function"==typeof r.preRun&&(r.preRun=[r.preRun]);r.preRun.length;){var t;t=r.preRun.shift(),O.unshift(t)}q(O),N>0||(r.setStatus?(r.setStatus("Running..."),setTimeout(function(){setTimeout(function(){r.setStatus("")},1),n()},1)):n())}
5function n(){if(!F&&(F=!0,r.calledRun=!0,!j)){if(r.noFSInit||rI.init.initialized||rI.init(),rI.ignorePermissions=!1,rW.init(),q(W),e(r),r.onRuntimeInitialized&&r.onRuntimeInitialized(),r.postRun)for("function"==typeof r.postRun&&(r.postRun=[r.postRun]);r.postRun.length;){var t;t=r.postRun.shift(),z.unshift(t)}q(z)}}}if(r.dynCall_jiji=(e,t,n,o,a)=>(r.dynCall_jiji=rK.K)(e,t,n,o,a),r.dynCall_viijii=(e,t,n,o,a,i,s)=>(r.dynCall_viijii=rK.L)(e,t,n,o,a,i,s),r.dynCall_iiiiij=(e,t,n,o,a,i,s)=>(r.dynCall_iiiiij=rK.M)(e,t,n,o,a,i,s),r.dynCall_iiiiijj=(e,t,n,o,a,i,s,u,l)=>(r.dynCall_iiiiijj=rK.N)(e,t,n,o,a,i,s,u,l),r.dynCall_iiiiiijj=(e,t,n,o,a,i,s,u,l,d)=>(r.dynCall_iiiiiijj=rK.O)(e,t,n,o,a,i,s,u,l,d),r.ccall=(e,t,n,o,a)=>{var i,s={string:r=>{var e,t,n,o=0;return null!=r&&0!==r&&(t=ry(e=r)+1,n=r3(t),rv(e,l,n,t),o=n),o},array:r=>{var e=r3(r.length);return rq(r,e),e}},u=r["_"+e],d=[],c=0;if(o)for(var f=0;f<o.length;f++){var m=s[n[f]];m?(0===c&&(c=r1()),d[f]=m(o[f])):d[f]=o[f]}var h=u.apply(null,d);return i=h,0!==c&&r2(c),h="string"===t?rE(i):"boolean"===t?!!i:i},B=function r(){F||r6(),F||(B=r)},r.preInit)for("function"==typeof r.preInit&&(r.preInit=[r.preInit]);r.preInit.length>0;)r.preInit.pop()();return r6(),r.ready})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.