1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5815,59424],{59424:function(r,e,t){t.d(e,{c:function(){return n},g:function(){return o}});var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function o(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}},5815:function(r,e,t){t.r(e),t.d(e,{l:function(){return l}});var n,o,a,i=t(59424),s={exports:{}};let l=Object.freeze(Object.defineProperty({__proto__:null,default:(0,i.g)((a||(a=1,n="undefined"!=typeof document?document.currentScript?.src:void 0,o=async function(r={}){var e,t,o,a,s=new Promise((r,n)=>{e=r,t=n}),l="./this.program",u=(r,e)=>{throw e},d="";"undefined"!=typeof document&&document.currentScript&&(d=document.currentScript.src),n&&(d=n),d=d.startsWith("blob:")?"":d.slice(0,d.replace(/[?#].*/,"").lastIndexOf("/")+1),o=async r=>{var e=await fetch(r,{credentials:"same-origin"});if(e.ok)return e.arrayBuffer();throw Error(e.status+" : "+e.url)};var c,f,m,h,p,v,w,y,g,E,_,b,k=console.log.bind(console),F=console.error.bind(console),A=!1;function P(){var e=f.buffer;m=new Int8Array(e),p=new Int16Array(e),r.HEAPU8=h=new Uint8Array(e),v=new Uint16Array(e),w=new Int32Array(e),r.HEAPU32=y=new Uint32Array(e),g=new Float32Array(e),r.HEAPF64=b=new Float64Array(e),E=new BigInt64Array(e),_=new BigUint64Array(e)}var S,D=0,T=null;function $(e){D++,r.monitorRunDependencies?.(D)}function C(e){if(D--,r.monitorRunDependencies?.(D),0==D&&T){var t=T;T=null,t()}}function x(e){r.onAbort?.(e),F(e="Aborted("+e+")"),A=!0,e+=". Build with -sASSERTIONS for more info.";var n=new WebAssembly.RuntimeError(e);throw t(n),n}async function N(r){if(!c)try{var e=await o(r);return new Uint8Array(e)}catch{}return function(r){if(r==S&&c)return new Uint8Array(c);throw"both async and sync fetching of the wasm failed"}(r)}async function M(r,e){try{var t=await N(r);return await WebAssembly.instantiate(t,e)}catch(r){F(`failed to asynchronously prepare wasm: ${r}`),x(r)}}async function j(r,e,t){if(!r&&"function"==typeof WebAssembly.instantiateStreaming)try{var n=fetch(e,{credentials:"same-origin"});return await WebAssembly.instantiateStreaming(n,t)}catch(r){F(`wasm streaming compile failed: ${r}`),F("falling back to ArrayBuffer instantiation")}return M(e,t)}async function R(){function e(r,e){return f=(eC=r.exports).Z,P(),rN=eC.aa,C(),eC}$();var n,o,a={a:e$};if(r.instantiateWasm)return new Promise((t,n)=>{r.instantiateWasm(a,(r,n)=>{t(e(r))})});S??=(n="lyr3DWorker.wasm",r.locateFile?r.locateFile(n,d):d+n);try{return o=await j(c,S,a),e(o.instance)}catch(r){return t(r),Promise.reject(r)}}class O{name="ExitStatus";constructor(r){this.message=`Program terminated with exit(${r})`,this.status=r}}var B=e=>{for(;e.length>0;)e.shift()(r)},z=[],W=r=>z.push(r),I=[],L=r=>I.push(r),U=!0,V=r=>eR(r),H=()=>eO();class q{constructor(r){this.excPtr=r,this.ptr=r-24}set_type(r){y[this.ptr+4>>2]=r}get_type(){return y[this.ptr+4>>2]}set_destructor(r){y[this.ptr+8>>2]=r}get_destructor(){return y[this.ptr+8>>2]}set_caught(r){r=r?1:0,m[this.ptr+12]=r}get_caught(){return 0!=m[this.ptr+12]}set_rethrown(r){r=r?1:0,m[this.ptr+13]=r}get_rethrown(){return 0!=m[this.ptr+13]}init(r,e){this.set_adjusted_ptr(0),this.set_type(r),this.set_destructor(e)}set_adjusted_ptr(r){y[this.ptr+16>>2]=r}get_adjusted_ptr(){return y[this.ptr+16>>2]}}var X=()=>{var r=w[+rw.varargs>>2];return rw.varargs+=4,r},G={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=G.isAbs(r),t="/"===r.slice(-1);return(r=G.normalizeArray(r.split("/").filter(r=>!!r),!e).join("/"))||e||(r="."),r&&t&&(r+="/"),(e?"/":"")+r},dirname:r=>{var e=G.splitPath(r),t=e[0],n=e[1];return t||n?(n&&(n=n.slice(0,-1)),t+n):"."},basename:r=>r&&r.match(/([^\/]+|\/)\/*$/)[1],join:(...r)=>G.normalize(r.join("/")),join2:(r,e)=>G.normalize(r+"/"+e)},Y=()=>r=>crypto.getRandomValues(r),K=r=>{(K=Y())(r)},J={resolve:(...r)=>{for(var e="",t=!1,n=r.length-1;n>=-1&&!t;n--){var o=n>=0?r[n]:rp.cwd();if("string"!=typeof o)throw TypeError("Arguments to path.resolve must be strings");if(!o)return"";e=o+"/"+e,t=G.isAbs(o)}return(t?"/":"")+(e=G.normalizeArray(e.split("/").filter(r=>!!r),!t).join("/"))||"."},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=J.resolve(r).slice(1),e=J.resolve(e).slice(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}var l=[];for(s=i;s<n.length;
vendor: 6,041 bytes, line 1
1s++)l.push("..");return(l=l.concat(o.slice(i))).join("/")}},Q="undefined"!=typeof TextDecoder?new TextDecoder:void 0,Z=(r,e=0,t=NaN)=>{for(var n=e+t,o=e;r[o]&&!(o>=n);)++o;if(o-e>16&&r.buffer&&Q)return Q.decode(r.subarray(e,o));for(var a="";e<o;){var i=r[e++];if(128&i){var s=63&r[e++];if(192!=(224&i)){var l=63&r[e++];if((i=224==(240&i)?(15&i)<<12|s<<6|l:(7&i)<<18|s<<12|l<<6|63&r[e++])<65536)a+=String.fromCharCode(i);else{var u=i-65536;a+=String.fromCharCode(55296|u>>10,56320|1023&u)}}else a+=String.fromCharCode((31&i)<<6|s)}else a+=String.fromCharCode(i)}return a},rr=[],re=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},rt=(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},rn=(r,e,t)=>{var n=Array(re(r)+1),o=rt(r,n,0,n.length);return n.length=o,n},ro=()=>{if(!rr.length){var r=null;if("undefined"!=typeof window&&"function"==typeof window.prompt&&null!==(r=window.prompt("Input: "))&&(r+="\n"),!r)return null;rr=rn(r)}return rr.shift()},ra={ttys:[],init(){},shutdown(){},register(r,e){ra.ttys[r]={input:[],output:[],ops:e},rp.registerDevice(r,ra.stream_ops)},stream_ops:{open(r){var e=ra.ttys[r.node.rdev];if(!e)throw new rp.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 rp.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 rp.ErrnoError(29)}if(void 0===a&&0===i)throw new rp.ErrnoError(6);if(null==a)break;i++,e[t+s]=a}return i&&(r.node.atime=Date.now()),i},write(r,e,t,n,o){if(!r.tty||!r.tty.ops.put_char)throw new rp.ErrnoError(60);try{for(var a=0;a<n;a++)r.tty.ops.put_char(r.tty,e[t+a])}catch(r){throw new rp.ErrnoError(29)}return n&&(r.node.mtime=r.node.ctime=Date.now()),a}},default_tty_ops:{get_char:r=>ro(),put_char(r,e){null===e||10===e?(k(Z(r.output)),r.output=[]):0!=e&&r.output.push(e)},fsync(r){r.output?.length>0&&(k(Z(r.output)),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?(F(Z(r.output)),r.output=[]):0!=e&&r.output.push(e)},fsync(r){r.output?.length>0&&(F(Z(r.output)),r.output=[])}}},ri=r=>{x()},rs={ops_table:null,mount:r=>rs.createNode(null,"/",16895,0),createNode(r,e,t,n){if(rp.isBlkdev(t)||rp.isFIFO(t))throw new rp.ErrnoError(63);rs.ops_table||={dir:{node:{getattr:rs.node_ops.getattr,setattr:rs.node_ops.setattr,lookup:rs.node_ops.lookup,mknod:rs.node_ops.mknod,rename:rs.node_ops.rename,unlink:rs.node_ops.unlink,rmdir:rs.node_ops.rmdir,readdir:rs.node_ops.readdir,symlink:rs.node_ops.symlink},stream:{llseek:rs.stream_ops.llseek}},file:{node:{getattr:rs.node_ops.getattr,setattr:rs.node_ops.setattr},stream:{llseek:rs.stream_ops.llseek,read:rs.stream_ops.read,write:rs.stream_ops.write,mmap:rs.stream_ops.mmap,msync:rs.stream_ops.msync}},link:{node:{getattr:rs.node_ops.getattr,setattr:rs.node_ops.setattr,readlink:rs.node_ops.readlink},stream:{}},chrdev:{node:{getattr:rs.node_ops.getattr,setattr:rs.node_ops.setattr},stream:rp.chrdev_stream_ops}};var o=rp.createNode(r,e,t,n);return rp.isDir(o.mode)?(o.node_ops=rs.ops_table.dir.node,o.stream_ops=rs.ops_table.dir.stream,o.contents={}):rp.isFile(o.mode)?(o.node_ops=rs.ops_table.file.node,o.stream_ops=rs.ops_table.file.stream,o.usedBytes=0,o.contents=null):rp.isLink(o.mode)?(o.node_ops=rs.ops_table.link.node,o.stream_ops=rs.ops_table.link.stream):rp.isChrdev(o.mode)&&(o.node_ops=rs.ops_table.chrdev.node,o.stream_ops=rs.ops_table.chrdev.stream),o.atime=o.mtime=o.ctime=Date.now(),r&&(r.contents[e]=o,r.atime=r.mtime=r.ctime=o.atime),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=rp.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,rp.isDir(r.mode)?e.size=4096:rp.isFile(r.mode)?e.size=r.usedBytes:rp.isLink(r.mode)?e.size=r.link.length:e.size=0,e.atime=new Date(r.atime),e.mtime=new Date(r.mtime),e.ctime=new Date(r.ctime),e.blksize=4096,e.blocks=Math.ceil(e.size/e.blksize),e},setattr(r,e){for(let t of["mode","atime","mtime","ctime"])null!=e[t]&&(r[t]=e[t]);void 0!==e.size&&rs.resizeFileStorage(r,e.size)},lookup(r,e){throw rs.doesNotExistError},mknod:(r,e,t,n)=>rs.createNode(r,e,t,n),rename(r,e,t){var n;try{n=rp.lookupNode(e,t)}catch(r){}if(n){if(rp.isDir(r.mode))for(var o in n.contents)throw new rp.ErrnoError(55);rp.hashRemoveNode(n)}delete r.parent.contents[r.name],e.contents[t]=r,r.name=t,e.ctime=e.mtime=r.parent.ctime=r.parent.mtime=Date.now()},unlink(r,e){delete r.contents[e],r.ctime=r.mtime=Date.now()},rmdir(r,e){var t=rp.lookupNode(r,e);for(var n in t.contents)throw new rp.ErrnoError(55);delete r.contents[e],r.ctime=r.mtime=Date.now()},readdir:r=>[".","..",...Object.keys(r.contents)],symlink(r,e,t){var n=rs.createNode(r,e,41471,0);return n.link=t,n},readlink(r){if(!rp.isLink(r.mode))throw new rp.ErrnoError(28);return r.link}}
vendor: 4,782 bytes, line 1
1,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===m.buffer&&(a=!1),!n)return 0;var i=r.node;if(i.mtime=i.ctime=Date.now(),e.subarray&&(!i.contents||i.contents.subarray)){if(a)return i.contents=e.subarray(t,t+n),i.usedBytes=n,n;if(0===i.usedBytes&&0===o)return i.contents=e.slice(t,t+n),i.usedBytes=n,n;if(o+n<=i.usedBytes)return i.contents.set(e.subarray(t,t+n),o),n}if(rs.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&&rp.isFile(r.node.mode)&&(n+=r.node.usedBytes),n<0)throw new rp.ErrnoError(28);return n},mmap(r,e,t,n,o){if(!rp.isFile(r.node.mode))throw new rp.ErrnoError(43);var a,i,s=r.node.contents;if(2&o||!s||s.buffer!==m.buffer){if(i=!0,!(a=ri()))throw new rp.ErrnoError(48);s&&((t>0||t+e<s.length)&&(s=s.subarray?s.subarray(t,t+e):Array.prototype.slice.call(s,t,t+e)),m.set(s,a))}else i=!1,a=s.byteOffset;return{ptr:a,allocated:i}},msync:(r,e,t,n,o)=>(rs.stream_ops.write(r,e,0,n,t,!1),0)}},rl=async r=>new Uint8Array(await o(r)),ru=(r,e,t,n,o,a)=>{rp.createDataFile(r,e,t,n,o,a)},rd=[],rc=(r,e,t,n)=>{"undefined"!=typeof Browser&&Browser.init();var o=!1;return rd.forEach(a=>{o||a.canHandle(e)&&(a.handle(r,e,t,n),o=!0)}),o},rf=(r,e,t,n,o,a,i,s,l,u)=>{var d=e?J.resolve(G.join2(r,e)):r;function c(t){function c(t){u?.(),s||ru(r,e,t,n,o,l),a?.(),C()}rc(t,d,c,()=>{i?.(),C()})||c(t)}$(),"string"==typeof t?rl(t).then(c,i):c(t)},rm=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},rh=(r,e)=>{var t=0;return r&&(t|=365),e&&(t|=146),t},rp={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:!1,ignorePermissions:!0,filesystems:null,syncFSRequests:0,readFiles:{},ErrnoError:class{name="ErrnoError";constructor(r){this.errno=r}},FSStream:class{shared={};get object(){return this.node}set object(r){this.node=r}get isRead(){return 1!=(2097155&this.flags)}get isWrite(){return!!(2097155&this.flags)}get isAppend(){return 1024&this.flags}get flags(){return this.shared.flags}set flags(r){this.shared.flags=r}get position(){return this.shared.position}set position(r){this.shared.position=r}},FSNode:class{node_ops={};stream_ops={};readMode=365;writeMode=146;mounted=null;constructor(r,e,t,n){r||(r=this),this.parent=r,this.mount=r.mount,this.id=rp.nextInode++,this.name=e,this.mode=t,this.rdev=n,this.atime=this.mtime=this.ctime=Date.now()}get read(){return(this.mode&this.readMode)===this.readMode}set read(r){r?this.mode|=this.readMode:this.mode&=~this.readMode}get write(){return(this.mode&this.writeMode)===this.writeMode}set write(r){r?this.mode|=this.writeMode:this.mode&=~this.writeMode}get isFolder(){return rp.isDir(this.mode)}get isDevice(){return rp.isChrdev(this.mode)}},lookupPath(r,e={}){if(!r)throw new rp.ErrnoError(44);e.follow_mount??=!0,G.isAbs(r)||(r=rp.cwd()+"/"+r);r:for(var t=0;t<40;t++){for(var n=r.split("/").filter(r=>!!r),o=rp.root,a="/",i=0;i<n.length;i++){var s=i===n.length-1;if(s&&e.parent)break;if("."!==n[i]){if(".."!==n[i]){a=G.join2(a,n[i]);try{o=rp.lookupNode(o,n[i])}catch(r){if(44===r?.errno&&s&&e.noent_okay)return{path:a};throw r}if(rp.isMountpoint(o)&&(!s||e.follow_mount)&&(o=o.mounted.root),rp.isLink(o.mode)&&(!s||e.follow)){if(!o.node_ops.readlink)throw new rp.ErrnoError(52);var l=o.node_ops.readlink(o);G.isAbs(l)||(l=G.dirname(a)+"/"+l),r=l+"/"+n.slice(i+1).join("/");continue r}}else{if(a=G.dirname(a),rp.isRoot(o)){r=a+"/"+n.slice(i+1).join("/");continue r}o=o.parent}}}return{path:a,node:o}}throw new rp.ErrnoError(32)},getPath(r){for(var e;;){if(rp.isRoot(r)){var t=r.mount.mountpoint;return e?"/"!==t[t.length-1]?`${t}/${e}`:t+e:t}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)%rp.nameTable.length},hashAddNode(r){var e=rp.hashName(r.parent.id,r.name);r.name_next=rp.nameTable[e],rp.nameTable[e]=r},hashRemoveNode(r){var e=rp.hashName(r.parent.id,r.name);if(rp.nameTable[e]===r)rp.nameTable[e]=r.name_next;else for(var t=rp.nameTable[e];t;){if(t.name_next===r){t.name_next=r.name_next;break}t=t.name_next}},lookupNode(r,e){var t=rp.mayLookup(r);if(t)throw new rp.ErrnoError(t);for(var n=rp.hashName(r.id,e),o=rp.nameTable[n];o;o=o.name_next){var a=o.name;if(o.parent.id===r.id&&a===e)return o}return rp.lookup(r,e)},createNode(r,e,t,n){var o=new rp.FSNode(r,e,t,n);return rp.hashAddNode(o),o},destroyNode(r){rp.hashRemoveNode(r)}
vendor: 4,592 bytes, line 1
1,isRoot:r=>r===r.parent,isMountpoint:r=>!!r.mounted,isFile:r=>32768==(61440&r),isDir:r=>16384==(61440&r),isLink:r=>40960==(61440&r),isChrdev:r=>8192==(61440&r),isBlkdev:r=>24576==(61440&r),isFIFO:r=>4096==(61440&r),isSocket:r=>!(49152&~r),flagsToPermissionString(r){var e=["r","w","rw"][3&r];return 512&r&&(e+="w"),e},nodePermissions:(r,e)=>rp.ignorePermissions||(!e.includes("r")||292&r.mode)&&(!e.includes("w")||146&r.mode)&&(!e.includes("x")||73&r.mode)?0:2,mayLookup:r=>rp.isDir(r.mode)?rp.nodePermissions(r,"x")||(r.node_ops.lookup?0:2):54,mayCreate(r,e){if(!rp.isDir(r.mode))return 54;try{return rp.lookupNode(r,e),20}catch(r){}return rp.nodePermissions(r,"wx")},mayDelete(r,e,t){try{n=rp.lookupNode(r,e)}catch(r){return r.errno}var n,o=rp.nodePermissions(r,"wx");if(o)return o;if(t){if(!rp.isDir(n.mode))return 54;if(rp.isRoot(n)||rp.getPath(n)===rp.cwd())return 10}else if(rp.isDir(n.mode))return 31;return 0},mayOpen:(r,e)=>r?rp.isLink(r.mode)?32:rp.isDir(r.mode)&&("r"!==rp.flagsToPermissionString(e)||576&e)?31:rp.nodePermissions(r,rp.flagsToPermissionString(e)):44,checkOpExists(r,e){if(!r)throw new rp.ErrnoError(e);return r},MAX_OPEN_FDS:4096,nextfd(){for(var r=0;r<=rp.MAX_OPEN_FDS;r++)if(!rp.streams[r])return r;throw new rp.ErrnoError(33)},getStreamChecked(r){var e=rp.getStream(r);if(!e)throw new rp.ErrnoError(8);return e},getStream:r=>rp.streams[r],createStream:(r,e=-1)=>(r=Object.assign(new rp.FSStream,r),-1==e&&(e=rp.nextfd()),r.fd=e,rp.streams[e]=r,r),closeStream(r){rp.streams[r]=null},dupStream(r,e=-1){var t=rp.createStream(r,e);return t.stream_ops?.dup?.(t),t},doSetAttr(r,e,t){var n=r?.stream_ops.setattr,o=n?r:e;n??=e.node_ops.setattr,rp.checkOpExists(n,63),n(o,t)},chrdev_stream_ops:{open(r){var e=rp.getDevice(r.node.rdev);r.stream_ops=e.stream_ops,r.stream_ops.open?.(r)},llseek(){throw new rp.ErrnoError(70)}},major:r=>r>>8,minor:r=>255&r,makedev:(r,e)=>r<<8|e,registerDevice(r,e){rp.devices[r]={stream_ops:e}},getDevice:r=>rp.devices[r],getMounts(r){for(var e=[],t=[r];t.length;){var n=t.pop();e.push(n),t.push(...n.mounts)}return e},syncfs(r,e){"function"==typeof r&&(e=r,r=!1),rp.syncFSRequests++,rp.syncFSRequests>1&&F(`warning: ${rp.syncFSRequests} FS.syncfs operations in flight at once, probably just doing extra work`);var t=rp.getMounts(rp.root.mount),n=0;function o(r){return rp.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&&rp.root)throw new rp.ErrnoError(10);if(!o&&!a){var i=rp.lookupPath(t,{follow_mount:!1});if(t=i.path,n=i.node,rp.isMountpoint(n))throw new rp.ErrnoError(10);if(!rp.isDir(n.mode))throw new rp.ErrnoError(54)}var s={type:r,opts:e,mountpoint:t,mounts:[]},l=r.mount(s);return l.mount=s,s.root=l,o?rp.root=l:n&&(n.mounted=s,n.mount&&n.mount.mounts.push(s)),l},unmount(r){var e=rp.lookupPath(r,{follow_mount:!1});if(!rp.isMountpoint(e.node))throw new rp.ErrnoError(28);var t=e.node,n=t.mounted,o=rp.getMounts(n);Object.keys(rp.nameTable).forEach(r=>{for(var e=rp.nameTable[r];e;){var t=e.name_next;o.includes(e.mount)&&rp.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=rp.lookupPath(r,{parent:!0}).node,o=G.basename(r);if(!o)throw new rp.ErrnoError(28);if("."===o||".."===o)throw new rp.ErrnoError(20);var a=rp.mayCreate(n,o);if(a)throw new rp.ErrnoError(a);if(!n.node_ops.mknod)throw new rp.ErrnoError(63);return n.node_ops.mknod(n,o,e,t)},statfs:r=>rp.statfsNode(rp.lookupPath(r,{follow:!0}).node),statfsStream:r=>rp.statfsNode(r.node),statfsNode(r){var e={bsize:4096,frsize:4096,blocks:1e6,bfree:5e5,bavail:5e5,files:rp.nextInode,ffree:rp.nextInode-1,fsid:42,flags:2,namelen:255};return r.node_ops.statfs&&Object.assign(e,r.node_ops.statfs(r.mount.opts.root)),e},create:(r,e=438)=>(e&=4095,e|=32768,rp.mknod(r,e,0)),mkdir:(r,e=511)=>(e&=1023,e|=16384,rp.mknod(r,e,0)),mkdirTree(r,e){var t=r.split("/"),n="";for(var o of t)if(o){(n||G.isAbs(r))&&(n+="/"),n+=o;try{rp.mkdir(n,e)}catch(r){if(20!=r.errno)throw r}}},mkdev:(r,e,t)=>(void 0===t&&(t=e,e=438),e|=8192,rp.mknod(r,e,t)),symlink(r,e){if(!J.resolve(r))throw new rp.ErrnoError(44);var t=rp.lookupPath(e,{parent:!0}).node;if(!t)throw new rp.ErrnoError(44);var n=G.basename(e),o=rp.mayCreate(t,n);if(o)throw new rp.ErrnoError(o);if(!t.node_ops.symlink)throw new rp.ErrnoError(63);return t.node_ops.symlink(t,n,r)},rename(r,e){var t,n,o=G.dirname(r),a=G.dirname(e),i=G.basename(r),s=G.basename(e);
vendor: 5,141 bytes, line 1
1if(t=rp.lookupPath(r,{parent:!0}).node,n=rp.lookupPath(e,{parent:!0}).node,!t||!n)throw new rp.ErrnoError(44);if(t.mount!==n.mount)throw new rp.ErrnoError(75);var l,u=rp.lookupNode(t,i),d=J.relative(r,a);if("."!==d.charAt(0))throw new rp.ErrnoError(28);if("."!==(d=J.relative(e,o)).charAt(0))throw new rp.ErrnoError(55);try{l=rp.lookupNode(n,s)}catch(r){}if(u!==l){var c=rp.isDir(u.mode),f=rp.mayDelete(t,i,c);if(f||(f=l?rp.mayDelete(n,s,c):rp.mayCreate(n,s)))throw new rp.ErrnoError(f);if(!t.node_ops.rename)throw new rp.ErrnoError(63);if(rp.isMountpoint(u)||l&&rp.isMountpoint(l))throw new rp.ErrnoError(10);if(n!==t&&(f=rp.nodePermissions(t,"w")))throw new rp.ErrnoError(f);rp.hashRemoveNode(u);try{t.node_ops.rename(u,n,s),u.parent=n}catch(r){throw r}finally{rp.hashAddNode(u)}}},rmdir(r){var e=rp.lookupPath(r,{parent:!0}).node,t=G.basename(r),n=rp.lookupNode(e,t),o=rp.mayDelete(e,t,!0);if(o)throw new rp.ErrnoError(o);if(!e.node_ops.rmdir)throw new rp.ErrnoError(63);if(rp.isMountpoint(n))throw new rp.ErrnoError(10);e.node_ops.rmdir(e,t),rp.destroyNode(n)},readdir(r){var e=rp.lookupPath(r,{follow:!0}).node;return rp.checkOpExists(e.node_ops.readdir,54)(e)},unlink(r){var e=rp.lookupPath(r,{parent:!0}).node;if(!e)throw new rp.ErrnoError(44);var t=G.basename(r),n=rp.lookupNode(e,t),o=rp.mayDelete(e,t,!1);if(o)throw new rp.ErrnoError(o);if(!e.node_ops.unlink)throw new rp.ErrnoError(63);if(rp.isMountpoint(n))throw new rp.ErrnoError(10);e.node_ops.unlink(e,t),rp.destroyNode(n)},readlink(r){var e=rp.lookupPath(r).node;if(!e)throw new rp.ErrnoError(44);if(!e.node_ops.readlink)throw new rp.ErrnoError(28);return e.node_ops.readlink(e)},stat(r,e){var t=rp.lookupPath(r,{follow:!e}).node;return rp.checkOpExists(t.node_ops.getattr,63)(t)},fstat(r){var e=rp.getStreamChecked(r),t=e.node,n=e.stream_ops.getattr,o=n?e:t;return n??=t.node_ops.getattr,rp.checkOpExists(n,63),n(o)},lstat:r=>rp.stat(r,!0),doChmod(r,e,t,n){rp.doSetAttr(r,e,{mode:4095&t|-4096&e.mode,ctime:Date.now(),dontFollow:n})},chmod(r,e,t){var n;n="string"==typeof r?rp.lookupPath(r,{follow:!t}).node:r,rp.doChmod(null,n,e,t)},lchmod(r,e){rp.chmod(r,e,!0)},fchmod(r,e){var t=rp.getStreamChecked(r);rp.doChmod(t,t.node,e,!1)},doChown(r,e,t){rp.doSetAttr(r,e,{timestamp:Date.now(),dontFollow:t})},chown(r,e,t,n){var o;o="string"==typeof r?rp.lookupPath(r,{follow:!n}).node:r,rp.doChown(null,o,n)},lchown(r,e,t){rp.chown(r,e,t,!0)},fchown(r,e,t){var n=rp.getStreamChecked(r);rp.doChown(n,n.node,!1)},doTruncate(r,e,t){if(rp.isDir(e.mode))throw new rp.ErrnoError(31);if(!rp.isFile(e.mode))throw new rp.ErrnoError(28);var n=rp.nodePermissions(e,"w");if(n)throw new rp.ErrnoError(n);rp.doSetAttr(r,e,{size:t,timestamp:Date.now()})},truncate(r,e){var t;if(e<0)throw new rp.ErrnoError(28);t="string"==typeof r?rp.lookupPath(r,{follow:!0}).node:r,rp.doTruncate(null,t,e)},ftruncate(r,e){var t=rp.getStreamChecked(r);if(e<0||!(2097155&t.flags))throw new rp.ErrnoError(28);rp.doTruncate(t,t.node,e)},utime(r,e,t){var n=rp.lookupPath(r,{follow:!0}).node;rp.checkOpExists(n.node_ops.setattr,63)(n,{atime:e,mtime:t})},open(e,t,n=438){if(""===e)throw new rp.ErrnoError(44);if(n=64&(t="string"==typeof t?rm(t):t)?4095&n|32768:0,"object"==typeof e)o=e;else{a=e.endsWith("/");var o,a,i=rp.lookupPath(e,{follow:!(131072&t),noent_okay:!0});o=i.node,e=i.path}var s=!1;if(64&t){if(o){if(128&t)throw new rp.ErrnoError(20)}else{if(a)throw new rp.ErrnoError(31);o=rp.mknod(e,511|n,0),s=!0}}if(!o)throw new rp.ErrnoError(44);if(rp.isChrdev(o.mode)&&(t&=-513),65536&t&&!rp.isDir(o.mode))throw new rp.ErrnoError(54);if(!s){var l=rp.mayOpen(o,t);if(l)throw new rp.ErrnoError(l)}512&t&&!s&&rp.truncate(o,0),t&=-131713;var u=rp.createStream({node:o,path:rp.getPath(o),flags:t,seekable:!0,position:0,stream_ops:o.stream_ops,ungotten:[],error:!1});return u.stream_ops.open&&u.stream_ops.open(u),s&&rp.chmod(o,511&n),!r.logReadFiles||1&t||e in rp.readFiles||(rp.readFiles[e]=1),u},close(r){if(rp.isClosed(r))throw new rp.ErrnoError(8);r.getdents&&(r.getdents=null);try{r.stream_ops.close&&r.stream_ops.close(r)}catch(r){throw r}finally{rp.closeStream(r.fd)}r.fd=null},isClosed:r=>null===r.fd,llseek(r,e,t){if(rp.isClosed(r))throw new rp.ErrnoError(8);if(!r.seekable||!r.stream_ops.llseek)throw new rp.ErrnoError(70);if(0!=t&&1!=t&&2!=t)throw new rp.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 rp.ErrnoError(28);if(rp.isClosed(r)||1==(2097155&r.flags))throw new rp.ErrnoError(8);if(rp.isDir(r.node.mode))throw new rp.ErrnoError(31);if(!r.stream_ops.read)throw new rp.ErrnoError(28);var a=void 0!==o;if(a){if(!r.seekable)throw new rp.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 rp.ErrnoError(28);if(rp.isClosed(r)||!(2097155&r.flags))throw new rp.ErrnoError(8);if(rp.isDir(r.node.mode))throw new rp.ErrnoError(31);if(!r.stream_ops.write)throw new rp.ErrnoError(28);r.seekable&&1024&r.flags&&rp.llseek(r,0,2);var i=void 0!==o;if(i){if(!r.seekable)throw new rp.ErrnoError(70)}else o=r.position;var s=r.stream_ops.write(r,e,t,n,o,a);
vendor: 4,934 bytes, line 1
1return i||(r.position+=s),s},mmap(r,e,t,n,o){if(2&n&&!(2&o)&&2!=(2097155&r.flags)||1==(2097155&r.flags))throw new rp.ErrnoError(2);if(!r.stream_ops.mmap)throw new rp.ErrnoError(43);if(!e)throw new rp.ErrnoError(28);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,ioctl(r,e,t){if(!r.stream_ops.ioctl)throw new rp.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=rp.open(r,e.flags),o=rp.stat(r).size,a=new Uint8Array(o);return rp.read(n,a,0,o,0),"utf8"===e.encoding?t=Z(a):"binary"===e.encoding&&(t=a),rp.close(n),t},writeFile(r,e,t={}){t.flags=t.flags||577;var n=rp.open(r,t.flags,t.mode);if("string"==typeof e){var o=new Uint8Array(re(e)+1),a=rt(e,o,0,o.length);rp.write(n,o,0,a,void 0,t.canOwn)}else{if(!ArrayBuffer.isView(e))throw Error("Unsupported data type");rp.write(n,e,0,e.byteLength,void 0,t.canOwn)}rp.close(n)},cwd:()=>rp.currentPath,chdir(r){var e=rp.lookupPath(r,{follow:!0});if(null===e.node)throw new rp.ErrnoError(44);if(!rp.isDir(e.node.mode))throw new rp.ErrnoError(54);var t=rp.nodePermissions(e.node,"x");if(t)throw new rp.ErrnoError(t);rp.currentPath=e.path},createDefaultDirectories(){rp.mkdir("/tmp"),rp.mkdir("/home"),rp.mkdir("/home/web_user")},createDefaultDevices(){rp.mkdir("/dev"),rp.registerDevice(rp.makedev(1,3),{read:()=>0,write:(r,e,t,n,o)=>n,llseek:()=>0}),rp.mkdev("/dev/null",rp.makedev(1,3)),ra.register(rp.makedev(5,0),ra.default_tty_ops),ra.register(rp.makedev(6,0),ra.default_tty1_ops),rp.mkdev("/dev/tty",rp.makedev(5,0)),rp.mkdev("/dev/tty1",rp.makedev(6,0));var r=new Uint8Array(1024),e=0,t=()=>(0===e&&(K(r),e=r.byteLength),r[--e]);rp.createDevice("/dev","random",t),rp.createDevice("/dev","urandom",t),rp.mkdir("/dev/shm"),rp.mkdir("/dev/shm/tmp")},createSpecialDirectories(){rp.mkdir("/proc");var r=rp.mkdir("/proc/self");rp.mkdir("/proc/self/fd"),rp.mount({mount(){var e=rp.createNode(r,"fd",16895,73);return e.stream_ops={llseek:rs.stream_ops.llseek},e.node_ops={lookup(r,e){var t=+e,n=rp.getStreamChecked(t),o={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:()=>n.path},id:t+1};return o.parent=o,o},readdir:()=>Array.from(rp.streams.entries()).filter(([r,e])=>e).map(([r,e])=>r.toString())},e}},{},"/proc/self/fd")},createStandardStreams(r,e,t){r?rp.createDevice("/dev","stdin",r):rp.symlink("/dev/tty","/dev/stdin"),e?rp.createDevice("/dev","stdout",null,e):rp.symlink("/dev/tty","/dev/stdout"),t?rp.createDevice("/dev","stderr",null,t):rp.symlink("/dev/tty1","/dev/stderr"),rp.open("/dev/stdin",0),rp.open("/dev/stdout",1),rp.open("/dev/stderr",1)},staticInit(){rp.nameTable=Array(4096),rp.mount(rs,{},"/"),rp.createDefaultDirectories(),rp.createDefaultDevices(),rp.createSpecialDirectories(),rp.filesystems={MEMFS:rs}},init(e,t,n){rp.initialized=!0,e??=r.stdin,t??=r.stdout,n??=r.stderr,rp.createStandardStreams(e,t,n)},quit(){for(var r of(rp.initialized=!1,rp.streams))r&&rp.close(r)},findObject(r,e){var t=rp.analyzePath(r,e);return t.exists?t.object:null},analyzePath(r,e){try{r=(n=rp.lookupPath(r,{follow:!e})).path}catch(r){}var t={isRoot:!1,exists:!1,error:0,name:null,path:null,object:null,parentExists:!1,parentPath:null,parentObject:null};try{var n=rp.lookupPath(r,{parent:!0});t.parentExists=!0,t.parentPath=n.path,t.parentObject=n.node,t.name=G.basename(r),n=rp.lookupPath(r,{follow:!e}),t.exists=!0,t.path=n.path,t.object=n.node,t.name=n.node.name,t.isRoot="/"===n.path}catch(r){t.error=r.errno}return t},createPath(r,e,t,n){r="string"==typeof r?r:rp.getPath(r);for(var o=e.split("/").reverse();o.length;){var a=o.pop();if(a){var i=G.join2(r,a);try{rp.mkdir(i)}catch(r){if(20!=r.errno)throw r}r=i}}return i},createFile(r,e,t,n,o){var a=G.join2("string"==typeof r?r:rp.getPath(r),e),i=rh(n,o);return rp.create(a,i)},createDataFile(r,e,t,n,o,a){var i=e;r&&(r="string"==typeof r?r:rp.getPath(r),i=e?G.join2(r,e):r);var s=rh(n,o),l=rp.create(i,s);if(t){if("string"==typeof t){for(var u=Array(t.length),d=0,c=t.length;d<c;++d)u[d]=t.charCodeAt(d);t=u}rp.chmod(l,146|s);var f=rp.open(l,577);rp.write(f,t,0,t.length,0,a),rp.close(f),rp.chmod(l,s)}},createDevice(r,e,t,n){var o=G.join2("string"==typeof r?r:rp.getPath(r),e),a=rh(!!t,!!n);rp.createDevice.major??=64;var i=rp.makedev(rp.createDevice.major++,0);return rp.registerDevice(i,{open(r){r.seekable=!1},close(r){n?.buffer?.length&&n(10)},read(r,e,n,o,a){for(var i,s=0,l=0;l<o;l++){try{i=t()}catch(r){throw new rp.ErrnoError(29)}if(void 0===i&&0===s)throw new rp.ErrnoError(6);if(null==i)break;s++,e[n+l]=i}return s&&(r.node.atime=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 rp.ErrnoError(29)}return o&&(r.node.mtime=r.node.ctime=Date.now()),i}}),rp.mkdev(o,a,i)},forceLoadFile(r){if(r.isDevice||r.isFolder||r.link||r.contents)return!0;
1if("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.");try{r.contents=a(r.url),r.usedBytes=r.contents.length}catch(r){throw new rp.ErrnoError(29)}},createLazyFile(r,e,t,n,o){if("undefined"!=typeof XMLHttpRequest)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var a={isDevice:!1,url:t},i=rp.createFile(r,e,a,n,o);a.contents?i.contents=a.contents:a.url&&(i.contents=null,i.url=a.url),Object.defineProperties(i,{usedBytes:{get:function(){return this.contents.length}}});var s={};function l(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(s=0;s<i;s++)e[t+s]=a.get(o+s);return i}return Object.keys(i.stream_ops).forEach(r=>{var e=i.stream_ops[r];s[r]=(...r)=>(rp.forceLoadFile(i),e(...r))}),s.read=(r,e,t,n,o)=>(rp.forceLoadFile(i),l(r,e,t,n,o)),s.mmap=(r,e,t,n,o)=>{rp.forceLoadFile(i);var a=ri();if(!a)throw new rp.ErrnoError(48);return l(r,m,a,e,t),{ptr:a,allocated:!0}},i.stream_ops=s,i}},rv=(r,e)=>r?Z(h,r,e):"",rw={DEFAULT_POLLMASK:5,calculateAt(r,e,t){var n;if(G.isAbs(e))return e;if(n=-100===r?rp.cwd():rw.getStreamFromFD(r).path,0==e.length){if(!t)throw new rp.ErrnoError(44);return n}return n+"/"+e},writeStat(r,e){w[r>>2]=e.dev,w[r+4>>2]=e.mode,y[r+8>>2]=e.nlink,w[r+12>>2]=e.uid,w[r+16>>2]=e.gid,w[r+20>>2]=e.rdev,E[r+24>>3]=BigInt(e.size),w[r+32>>2]=4096,w[r+36>>2]=e.blocks;var t=e.atime.getTime(),n=e.mtime.getTime(),o=e.ctime.getTime();return E[r+40>>3]=BigInt(Math.floor(t/1e3)),y[r+48>>2]=t%1e3*1e6,E[r+56>>3]=BigInt(Math.floor(n/1e3)),y[r+64>>2]=n%1e3*1e6,E[r+72>>3]=BigInt(Math.floor(o/1e3)),y[r+80>>2]=o%1e3*1e6,E[r+88>>3]=BigInt(e.ino),0},writeStatFs(r,e){w[r+4>>2]=e.bsize,w[r+40>>2]=e.bsize,w[r+8>>2]=e.blocks,w[r+12>>2]=e.bfree,w[r+16>>2]=e.bavail,w[r+20>>2]=e.files,w[r+24>>2]=e.ffree,w[r+28>>2]=e.fsid,w[r+44>>2]=e.flags,w[r+36>>2]=e.namelen},doMsync(r,e,t,n,o){if(!rp.isFile(e.node.mode))throw new rp.ErrnoError(43);if(2&n)return 0;var a=h.slice(r,r+t);rp.msync(e,a,o,t,n)},getStreamFromFD:r=>rp.getStreamChecked(r),varargs:void 0,getStr:r=>rv(r)},ry={},rg=r=>{for(;r.length;){var e=r.pop();r.pop()(e)}};function rE(r){return this.fromWireType(y[r>>2])}var r_,rb={},rk={},rF={},rA=r.InternalError=class extends Error{constructor(r){super(r),this.name="InternalError"}},rP=r=>{throw new rA(r)},rS=(r,e,t)=>{function n(e){var n=t(e);n.length!==r.length&&rP("Mismatched type converter count");for(var o=0;o<r.length;++o)rx(r[o],n[o])}r.forEach(r=>rF[r]=e);var o=Array(e.length),a=[],i=0;e.forEach((r,e)=>{rk.hasOwnProperty(r)?o[e]=rk[r]:(a.push(r),rb.hasOwnProperty(r)||(rb[r]=[]),rb[r].push(()=>{o[e]=rk[r],++i===a.length&&n(o)}))}),0===a.length&&n(o)},rD=r=>{if(null===r)return"null";var e=typeof r;return"object"===e||"array"===e||"function"===e?r.toString():""+r},rT=r=>{for(var e="",t=r;h[t];)e+=r_[h[t++]];return e},r$=r.BindingError=class extends Error{constructor(r){super(r),this.name="BindingError"}},rC=r=>{throw new r$(r)};function rx(r,e,t={}){return function(r,e,t={}){var n=e.name;if(r||rC(`type "${n}" must have a positive integer typeid pointer`),rk.hasOwnProperty(r)){if(t.ignoreDuplicateRegistrations)return;rC(`Cannot register type '${n}' twice`)}if(rk[r]=e,delete rF[r],rb.hasOwnProperty(r)){var o=rb[r];delete rb[r],o.forEach(r=>r())}}(r,e,t)}var rN,rM=(r,e,t)=>{switch(e){case 1:return t?r=>m[r]:r=>h[r];case 2:return t?r=>p[r>>1]:r=>v[r>>1];case 4:return t?r=>w[r>>2]:r=>y[r>>2];case 8:return t?r=>E[r>>3]:r=>_[r>>3];default:throw TypeError(`invalid integer width (${e}): ${r}`)}},rj=[],rR=[],rO=r=>{r>9&&0==--rR[r+1]&&(rR[r]=void 0,rj.push(r))},rB={toValue:r=>(r||rC(`Cannot use deleted val. handle = ${r}`),rR[r]),toHandle:r=>{switch(r){case void 0:return 2;case null:return 4;case!0:return 6;case!1:return 8;default:{let e=rj.pop()||rR.length;return rR[e]=r,rR[e+1]=1,e}}}},rz={name:"emscripten::val",fromWireType:r=>{var e=rB.toValue(r);return rO(r),e},toWireType:(r,e)=>rB.toHandle(e),argPackAdvance:8,readValueFromPointer:rE,destructorFunction:null},rW=(r,e)=>{switch(e){case 4:return function(r){return this.fromWireType(g[r>>2])};case 8:return function(r){return this.fromWireType(b[r>>3])};default:throw TypeError(`invalid float width (${e}): ${r}`)}},rI=(r,e)=>Object.defineProperty(e,"name",{value:r}),rL=(r,e,t)=>{if(void 0===r[e].overloadTable){var n=r[e];r[e]=function(...n){return r[e].overloadTable.hasOwnProperty(n.length)||rC(`Function '${t}
1' called with an invalid number of arguments (${n.length}) - expects one of (${r[e].overloadTable})!`),r[e].overloadTable[n.length].apply(this,n)},r[e].overloadTable=[],r[e].overloadTable[n.argCount]=n}},rU=(e,t,n)=>{r.hasOwnProperty(e)?((void 0===n||void 0!==r[e].overloadTable&&void 0!==r[e].overloadTable[n])&&rC(`Cannot register public name '${e}' twice`),rL(r,e,e),r[e].overloadTable.hasOwnProperty(n)&&rC(`Cannot register multiple overloads of a function with the same number of arguments (${n})!`),r[e].overloadTable[n]=t):(r[e]=t,r[e].argCount=n)},rV=(r,e)=>{for(var t=[],n=0;n<r;n++)t.push(y[e+4*n>>2]);return t},rH=(e,t,n)=>{r.hasOwnProperty(e)||rP("Replacing nonexistent public symbol"),void 0!==r[e].overloadTable&&void 0!==n?r[e].overloadTable[n]=t:(r[e]=t,r[e].argCount=n)},rq=[],rX=r=>{var e=rq[r];return e||(rq[r]=e=rN.get(r)),e},rG=(r,e,t=!1)=>{r=rT(r);var n=rX(e);return"function"!=typeof n&&rC(`unknown function pointer with signature ${r}: ${e}`),n};class rY extends Error{}var rK,rJ=r=>{var e=ex(r),t=rT(e);return eM(e),t},rQ=(r,e)=>{var t=[],n={};throw e.forEach(function r(e){n[e]||rk[e]||(rF[e]?rF[e].forEach(r):(t.push(e),n[e]=!0))}),new rY(`${r}: `+t.map(rJ).join([", "]))},rZ=r=>{let e=(r=r.trim()).indexOf("(");return -1===e?r:r.slice(0,e)},r0=(r,e,t)=>rt(r,h,e,t),r1="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0,r2=(r,e)=>{for(var t=r,n=t>>1,o=n+e/2;!(n>=o)&&v[n];)++n;if((t=n<<1)-r>32&&r1)return r1.decode(h.subarray(r,t));for(var a="",i=0;!(i>=e/2);++i){var s=p[r+2*i>>1];if(0==s)break;a+=String.fromCharCode(s)}return a},r4=(r,e,t)=>{if((t??=2147483647)<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);p[e>>1]=i,e+=2}return p[e>>1]=0,e-n},r5=r=>2*r.length,r6=(r,e)=>{for(var t=0,n="";!(t>=e/4);){var o=w[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},r3=(r,e,t)=>{if((t??=2147483647)<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)),w[e>>2]=i,(e+=4)+4>o)break}return w[e>>2]=0,e-n},r8=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},r9=(r,e)=>{var t=rk[r];return void 0===t&&rC(`${e} has unknown type ${rJ(r)}`),t},r7=(r,e,t)=>{var n=[],o=r.toWireType(n,t);return n.length&&(y[e>>2]=rB.toHandle(n)),o},er={},ee=r=>{var e=er[r];return void 0===e?rT(r):e},et=[],en=()=>{if("object"==typeof globalThis)return globalThis;function r(r){r.$$$embind_global$$$=r;var e="object"==typeof $$$embind_global$$$&&r.$$$embind_global$$$==r;return e||delete r.$$$embind_global$$$,e}if("object"==typeof $$$embind_global$$$||("object"==typeof i.c&&r(i.c)?$$$embind_global$$$=i.c:"object"==typeof self&&r(self)&&($$$embind_global$$$=self),"object"==typeof $$$embind_global$$$))return $$$embind_global$$$;throw Error("unable to get global object.")},eo=r=>{var e=et.length;return et.push(r),e},ea=(r,e)=>{for(var t=Array(r),n=0;n<r;++n)t[n]=r9(y[e+4*n>>2],`parameter ${n}`);return t},ei=Reflect.construct,es=()=>2147483648,el=(r,e)=>Math.ceil(r/e)*e,eu=r=>{var e=(r-f.buffer.byteLength+65535)/65536|0;try{return f.grow(e),P(),1}catch(r){}},ed={},ec=()=>l||"./this.program",ef=()=>{if(!ef.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",_:ec()};for(var e in ed)void 0===ed[e]?delete r[e]:r[e]=ed[e];var t=[];for(var e in r)t.push(`${e}=${r[e]}`);ef.strings=t}return ef.strings},em=()=>U||!1,eh=e=>{em()||(r.onExit?.(e),A=!0),u(e,new O(e))},ep=(r,e,t,n)=>{for(var o=0,a=0;a<t;a++){var i=y[e>>2],s=y[e+4>>2];e+=8;var l=rp.read(r,m,i,s,n);if(l<0)return -1;if(o+=l,l<s)break}return o},ev=r=>r<-9007199254740992||r>9007199254740992?NaN:Number(r),ew=(r,e,t,n)=>{for(var o=0,a=0;a<t;a++){var i=y[e>>2],s=y[e+4>>2];e+=8;var l=rp.write(r,m,i,s,n);if(l<0)return -1;if(o+=l,l<s)break}return o},ey=(r,e)=>{r<128?e.push(r):e.push(r%128|128,r>>7)},eg=r=>{for(var e={i:"i32",j:"i64",f:"f32",d:"f64",e:"externref",p:"i32"},t={parameters:[],results:"v"==r[0]?[]:[e[r[0]]]},n=1;n<r.length;++n)t.parameters.push(e[r[n]]);return t},eE=(r,e)=>{var t=r.slice(0,1),n=r.slice(1),o={i:127,p:127,j:126,f:125,d:124,e:111};for(var a of(e.push(96),ey(n.length,e),n))e.push(o[a]);"v"==t?e.push(0):e.push(1,o[t])},e_=(r,e)=>{if("function"==typeof WebAssembly.Function)return new WebAssembly.Function(eg(e),r);var t=[1];eE(e,t);var n=[0,97,115,109,1,0,0,0,1];ey(t.length,n),n.push(...t),n.push(2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0);var o=new WebAssembly.Module(new Uint8Array(n));return new WebAssembly.Instance(o,{e:{f:r}}).exports.f},eb=(r,e)=>{if(rK)for(var t=r;t<r+e;t++){var n=rX(t);n&&rK.set(n,t)}},ek=r=>(rK||(rK=new WeakMap,eb(0,rN.length)),rK.get(r)||0),eF=[],eA=()=>{if(eF.length)return eF.pop();try{rN.grow(1)}catch(r){if(!(r instanceof RangeError))throw r;throw"Unable to grow wasm table. Set ALLOW_TABLE_GROWTH."}return rN.length-1},eP=(r,e)=>{rN.set(r,e),rq[r]=rN.get(r)}
1,eS=rp.createPath,eD=rp.createLazyFile,eT=rp.createDevice;rp.createPreloadedFile=rf,rp.staticInit(),r.FS_createPath=rp.createPath,r.FS_createDataFile=rp.createDataFile,r.FS_createPreloadedFile=rp.createPreloadedFile,r.FS_unlink=rp.unlink,r.FS_createLazyFile=rp.createLazyFile,r.FS_createDevice=rp.createDevice,rs.doesNotExistError=new rp.ErrnoError(44),rs.doesNotExistError.stack="<generic error, no stack>",(()=>{for(var r=Array(256),e=0;e<256;++e)r[e]=String.fromCharCode(e);r_=r})(),rR.push(0,1,void 0,1,null,1,!0,1,!1,1),r.count_emval_handles=()=>rR.length/2-5-rj.length,r.noExitRuntime&&(U=r.noExitRuntime),r.preloadPlugins&&(rd=r.preloadPlugins),r.print&&(k=r.print),r.printErr&&(F=r.printErr),r.wasmBinary&&(c=r.wasmBinary),r.arguments&&r.arguments,r.thisProgram&&(l=r.thisProgram),r.addRunDependency=$,r.removeRunDependency=C,r.addFunction=(r,e)=>{var t=ek(r);if(t)return t;var n=eA();try{eP(n,r)}catch(t){if(!(t instanceof TypeError))throw t;eP(n,e_(r,e))}return rK.set(r,n),n},r.UTF8ToString=rv,r.FS_createPreloadedFile=rf,r.FS_unlink=r=>rp.unlink(r),r.FS_createPath=eS,r.FS_createDevice=eT,r.FS_createDataFile=ru,r.FS_createLazyFile=eD;var e$={i:(r,e,t)=>{throw new q(r).init(e,t),r},w:function(r,e,t){rw.varargs=t;try{var n=rw.getStreamFromFD(r);switch(e){case 0:if((o=X())<0)break;for(;rp.streams[o];)o++;return rp.dupStream(n,o).fd;case 1:case 2:case 13:case 14:return 0;case 3:return n.flags;case 4:var o=X();return n.flags|=o,0;case 12:return p[(o=X())+0>>1]=2,0}return -28}catch(r){if(void 0===rp||"ErrnoError"!==r.name)throw r;return-r.errno}},L:function(r,e,t){rw.varargs=t;try{var n=rw.getStreamFromFD(r);switch(e){case 21509:case 21510:case 21511:case 21512:case 21524:case 21515:return n.tty?0:-59;case 21505:if(!n.tty)return -59;if(n.tty.ops.ioctl_tcgets){var o=n.tty.ops.ioctl_tcgets(n),a=X();w[a>>2]=o.c_iflag||0,w[a+4>>2]=o.c_oflag||0,w[a+8>>2]=o.c_cflag||0,w[a+12>>2]=o.c_lflag||0;for(var i=0;i<32;i++)m[a+i+17]=o.c_cc[i]||0}return 0;case 21506:case 21507:case 21508:if(!n.tty)return -59;if(n.tty.ops.ioctl_tcsets){var s=w[(a=X())>>2],l=w[a+4>>2],u=w[a+8>>2],d=w[a+12>>2],c=[];for(i=0;i<32;i++)c.push(m[a+i+17]);return n.tty.ops.ioctl_tcsets(n.tty,e,{c_iflag:s,c_oflag:l,c_cflag:u,c_lflag:d,c_cc:c})}return 0;case 21519:return n.tty?(w[(a=X())>>2]=0,0):-59;case 21520:return n.tty?-28:-59;case 21531:return a=X(),rp.ioctl(n,e,a);case 21523:if(!n.tty)return -59;if(n.tty.ops.ioctl_tiocgwinsz){var f=n.tty.ops.ioctl_tiocgwinsz(n.tty);p[(a=X())>>1]=f[0],p[a+2>>1]=f[1]}return 0;default:return -28}}catch(r){if(void 0===rp||"ErrnoError"!==r.name)throw r;return-r.errno}},M:function(r,e,t,n){rw.varargs=n;try{e=rw.getStr(e),e=rw.calculateAt(r,e);var o=n?X():0;return rp.open(e,t,o).fd}catch(r){if(void 0===rp||"ErrnoError"!==r.name)throw r;return-r.errno}},N:()=>x(""),U:r=>{var e=ry[r];delete ry[r];var t=e.rawConstructor,n=e.rawDestructor,o=e.fields;rS([r],o.map(r=>r.getterReturnType).concat(o.map(r=>r.setterArgumentType)),r=>{var a={};return o.forEach((e,t)=>{var n=e.fieldName,i=r[t],s=r[t].optional,l=e.getter,u=e.getterContext,d=r[t+o.length],c=e.setter,f=e.setterContext;a[n]={read:r=>i.fromWireType(l(u,r)),write:(r,e)=>{var t=[];c(f,r,d.toWireType(t,e)),rg(t)},optional:s}}),[{name:e.name,fromWireType:r=>{var e={};for(var t in a)e[t]=a[t].read(r);return n(r),e},toWireType:(r,e)=>{for(var o in a)if(!(o in e)&&!a[o].optional)throw TypeError(`Missing field: "${o}"`);var i=t();for(o in a)a[o].write(i,e[o]);return null!==r&&r.push(n,i),i},argPackAdvance:8,readValueFromPointer:rE,destructorFunction:n}]})},y:(r,e,t,n,o)=>{var a=-1!=(e=rT(e)).indexOf("u");rx(r,{name:e,fromWireType:r=>r,toWireType:function(r,e){if("bigint"!=typeof e&&"number"!=typeof e)throw TypeError(`Cannot convert "${rD(e)}" to ${this.name}`);return"number"==typeof e&&(e=BigInt(e)),e},argPackAdvance:8,readValueFromPointer:rM(e,t,!a),destructorFunction:null})},S:(r,e,t,n)=>{rx(r,{name:e=rT(e),fromWireType:function(r){return!!r},toWireType:function(r,e){return e?t:n},argPackAdvance:8,readValueFromPointer:function(r){return this.fromWireType(h[r])},destructorFunction:null})},Q:r=>rx(r,rz),x:(r,e,t)=>{rx(r,{name:e=rT(e),fromWireType:r=>r,toWireType:(r,e)=>e,argPackAdvance:8,readValueFromPointer:rW(e,t),destructorFunction:null})},q:(r,e,t,n,o,a,i,s)=>{var l=rV(e,t);r=rZ(r=rT(r)),o=rG(n,o,i),rU(r,function(){rQ(`Cannot call ${r} due to unbound types`,l)},e-1),rS([],l,t=>{var n,i,s,l,u,d,c,f,m,h=[t[0],null].concat(t.slice(1));
1return rH(r,(n=r,i=o,(s=h.length)<2&&rC("argTypes array size mismatch! Must at least get return value and 'this' types!"),h[1],l=function(r){for(var e=1;e<r.length;++e)if(null!==r[e]&&void 0===r[e].destructorFunction)return!0;return!1}(h),u="void"!==h[0].name,c=Array(d=s-2),f=[],m=[],rI(n,function(...r){var e;m.length=0,f.length=1,f[0]=a;for(var t=0;t<d;++t)c[t]=h[t+2].toWireType(m,r[t]),f.push(c[t]);return function(r){if(l)rg(m);else for(var t=2;t<h.length;t++){var n=1===t?e:c[t-2];null!==h[t].destructorFunction&&h[t].destructorFunction(n)}if(u)return h[0].fromWireType(r)}(i(...f))})),e-1),[]})},c:(r,e,t,n,o)=>{e=rT(e);var a=r=>r;if(0===n){var i=32-8*t;a=r=>r<<i>>>i}var s=e.includes("unsigned"),l=(r,e)=>{};rx(r,{name:e,fromWireType:a,toWireType:s?function(r,e){return l(e,this.name),e>>>0}:function(r,e){return l(e,this.name),e},argPackAdvance:8,readValueFromPointer:rM(e,t,0!==n),destructorFunction:null})},b:(r,e,t)=>{var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,BigInt64Array,BigUint64Array][e];function o(r){var e=y[r>>2],t=y[r+4>>2];return new n(m.buffer,t,e)}rx(r,{name:t=rT(t),fromWireType:o,argPackAdvance:8,readValueFromPointer:o},{ignoreDuplicateRegistrations:!0})},R:(r,e)=>{rx(r,{name:e=rT(e),fromWireType(r){for(var e,t=y[r>>2],n=r+4,o=n,a=0;a<=t;++a){var i=n+a;if(a==t||0==h[i]){var s=rv(o,i-o);void 0===e?e=s:e+="\0"+s,o=i+1}}return eM(r),e},toWireType(r,e){e instanceof ArrayBuffer&&(e=new Uint8Array(e));var t,n="string"==typeof e;n||ArrayBuffer.isView(e)&&1==e.BYTES_PER_ELEMENT||rC("Cannot pass non-string to std::string");var o=eN(4+(t=n?re(e):e.length)+1),a=o+4;return y[o>>2]=t,n?r0(e,a,t+1):h.set(e,a),null!==r&&r.push(eM,o),o},argPackAdvance:8,readValueFromPointer:rE,destructorFunction(r){eM(r)}})},p:(r,e,t)=>{var n,o,a,i;t=rT(t),2===e?(n=r2,o=r4,i=r5,a=r=>v[r>>1]):4===e&&(n=r6,o=r3,i=r8,a=r=>y[r>>2]),rx(r,{name:t,fromWireType:r=>{for(var t,o=y[r>>2],i=r+4,s=0;s<=o;++s){var l=r+4+s*e;if(s==o||0==a(l)){var u=n(i,l-i);void 0===t?t=u:t+="\0"+u,i=l+e}}return eM(r),t},toWireType:(r,n)=>{"string"!=typeof n&&rC(`Cannot pass non-string to C++ string type ${t}`);var a=i(n),s=eN(4+a+e);return y[s>>2]=a/e,o(n,s+4,a+e),null!==r&&r.push(eM,s),s},argPackAdvance:8,readValueFromPointer:rE,destructorFunction(r){eM(r)}})},V:(r,e,t,n,o,a)=>{ry[r]={name:rT(e),rawConstructor:rG(t,n),rawDestructor:rG(o,a),fields:[]}},k:(r,e,t,n,o,a,i,s,l,u)=>{ry[r].fields.push({fieldName:rT(e),getterReturnType:t,getter:rG(n,o),getterContext:a,setterArgumentType:i,setter:rG(s,l),setterContext:u})},T:(r,e)=>{rx(r,{isVoid:!0,name:e=rT(e),argPackAdvance:0,fromWireType:()=>{},toWireType:(r,e)=>{}})},P:r=>{do{var e=y[r>>2],t=y[(r+=4)>>2],n=y[(r+=4)>>2];r+=4;var o=rv(e);rp.createPath("/",G.dirname(o),!0,!0),rp.createDataFile(o,null,m.subarray(n,n+t),!0,!0,!0)}while(y[r>>2])},E:()=>{throw 1/0},X:(r,e,t)=>(r=rB.toValue(r),r7(e=r9(e,"emval::as"),t,r)),z:(r,e,t,n,o)=>(r=et[r])(e=rB.toValue(e),e[t=ee(t)],n,o),a:rO,Y:r=>0===r?rB.toHandle(en()):(r=ee(r),rB.toHandle(en()[r])),A:(r,e,t)=>{var n=ea(r,e),o=n.shift(),a=Array(--r);return eo(rI(`methodCaller<(${n.map(r=>r.name).join(", ")}) => ${o.name}>`,(e,i,s,l)=>{for(var u=0,d=0;d<r;++d)a[d]=n[d].readValueFromPointer(l+u),u+=n[d].argPackAdvance;return r7(o,s,1===t?ei(i,a):i.apply(e,a))}))},m:(r,e)=>(r=rB.toValue(r),e=rB.toValue(e),rB.toHandle(r[e])),g:r=>{r>9&&(rR[r+1]+=1)},B:()=>rB.toHandle([]),h:r=>rB.toHandle(ee(r)),r:r=>{rg(rB.toValue(r)),rO(r)},W:(r,e,t)=>{r=rB.toValue(r),e=rB.toValue(e),t=rB.toValue(t),r[e]=t},l:(r,e)=>{var t=(r=r9(r,"_emval_take_value")).readValueFromPointer(e);return rB.toHandle(t)},G:(r,e,t,n)=>{var o=(new Date).getFullYear(),a=new Date(o,0,1),i=new Date(o,6,1),s=a.getTimezoneOffset(),l=i.getTimezoneOffset(),u=Math.max(s,l);y[r>>2]=60*u,w[e>>2]=Number(s!=l);var d=r=>{var e=Math.abs(r);return`UTC${r>=0?"-":"+"}${String(Math.floor(e/60)).padStart(2,"0")}${String(e%60).padStart(2,"0")}`},c=d(s),f=d(l);l<s?(r0(c,t,17),r0(f,n,17)):(r0(c,n,17),r0(f,t,17))},F:r=>{var e=h.length;r>>>=0;var t=es();if(r>t)return!1;for(var n=1;n<=4;n*=2){var o=e*(1+.2/n);if(o=Math.min(o,r+100663296),eu(Math.min(t,el(Math.max(r,o),65536))))return!0}return!1},I:(r,e)=>{var t=0,n=0;for(var o of ef()){var a=e+t;y[r+n>>2]=a,t+=r0(o,a,1/0)+1,n+=4}return 0},J:(r,e)=>{var t=ef();y[r>>2]=t.length;var n=0;for(var o of t)n+=re(o)+1;return y[e>>2]=n,0},O:(r,e)=>{eh(r)},u:function(r){try{var e=rw.getStreamFromFD(r);return rp.close(e),0}catch(r){if(void 0===rp||"ErrnoError"!==r.name)throw r;return r.errno}},K:function(r,e,t,n){try{var o=rw.getStreamFromFD(r),a=ep(o,e,t);return y[n>>2]=a,0}catch(r){if(void 0===rp||"ErrnoError"!==r.name)throw r;return r.errno}},H:function(r,e,t,n){e=ev(e);try{if(isNaN(e))return 61;var o=rw.getStreamFromFD(r);return rp.llseek(o,e,t),E[n>>3]=BigInt(o.position),o.getdents&&0===e&&0===t&&(o.getdents=null),0}catch(r){if(void 0===rp||"ErrnoError"!==r.name)throw r;return r.errno}},v:function(r,e,t,n){try{var o=rw.getStreamFromFD(r),a=ew(o,e,t);return y[n>>2]=a,0}catch(r){if(void 0===rp||"ErrnoError"!==r.name)throw r;return r.errno}},n:function(r,e){var t=H();try{return rX(r)(e)}catch(r){if(V(t),r!==r+0)throw r;ej(1,0)}},j:function(r,e,t){var n=H();try{return rX(r)(e,t)}catch(r){if(V(n),r!==r+0)throw r;ej(1,0)}},o:function(r,e,t,n){var o=H();try{return rX(r)(e,t,n)}catch(r){if(V(o),r!==r+0)throw r;ej(1,0)}},s:function(r,e,t,n,o){var a=H();try{return rX(r)(e,t,n,o)}catch(r){if(V(a),r!==r+0)throw r;ej(1,0)}},D:function(r,e,t,n,o,a,i,s,l,u){var d=H();try{return rX(r)(e,t,n,o,a,i,s,l,u)}catch(r){if(V(d),r!==r+0)throw r;ej(1,0)}},t:function(r){var e=H();try{rX(r)()}catch(r){if(V(e),r!==r+0)throw r;ej(1,0)}},d:function(r,e){var t=H();try{rX(r)(e)}catch(r){if(V(t),r!==r+0)throw r;ej(1,0)}},C:function(r,e,t,n){var o=H();try{rX(r)(e,t,n)}catch(r){if(V(o),r!==r+0)throw r;ej(1,0)}},e:function(r,e,t){var n=H();try{rX(r)(e,t)}catch(r){if(V(n),r!==r+0)throw r;ej(1,0)}},f:function(r,e,t,n){var o=H();try{rX(r)(e,t,n)}catch(r){if(V(o),r!==r+0)throw r;ej(1,0)}}},eC=await R();eC._;var ex=eC.$,eN=r._malloc=eC.ba,eM=r._free=eC.ca,ej=eC.da,eR=eC.ea,eO=eC.fa;return r.___emscripten_embedded_file_data=1537872,function(){if(r.preInit)for("function"==typeof r.preInit&&(r.preInit=[r.preInit]);r.preInit.length>0;)r.preInit.shift()()}(),function t(){function n(){r.calledRun=!0,A||(r.noFSInit||rp.initialized||rp.init(),eC._(),rp.ignorePermissions=!1,e(r),r.onRuntimeInitialized?.(),function(){if(r.postRun)for("function"==typeof r.postRun&&(r.postRun=[r.postRun]);r.postRun.length;)W(r.postRun.shift());B(z)}())}D>0?T=t:(function(){if(r.preRun)for("function"==typeof r.preRun&&(r.preRun=[r.preRun]);r.preRun.length;)L(r.preRun.shift());B(I)}(),D>0?T=t:r.setStatus?(r.setStatus("Running..."),setTimeout(()=>{setTimeout(()=>r.setStatus(""),1),n()},1)):n())}(),s}
1,s.exports=o,s.exports.default=o),s.exports))},Symbol.toStringTag,{value:"Module"}))}}]);
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.