async function vj(B6={}){var pA,A=B6,$6=!!globalThis.window,U6=!!globalThis.WorkerGlobalScope,EA=globalThis.process?.versions?.node&&globalThis.process?.type!="renderer";if(EA){let{createRequire:r}=await import("module");var eA=r(import.meta.url)}var KA="./this.program",aA=(r,n)=>{throw n},cA=import.meta.url;if(EA){var E6=eA("fs");cA.startsWith("file:")&&eA("path").dirname(eA("url").fileURLToPath(cA)),1<process.argv.length&&(KA=process.argv[1].replace(/\\/g,"/")),process.argv.slice(2),aA=(r,n)=>{throw process.exitCode=r,n}}else if($6||U6)try{new URL(".",cA)}catch{}var f=console.log.bind(console),GA=console.error.bind(console),VA=!1,dA;function e6(r){for(var n=0,j=r.length,G=new Uint8Array(j),F;n<j;++n)F=r.charCodeAt(n),G[n]=~F>>8&F;return G}var TA,bA,c,_,iA,H,p,yA=!1;function PA(){var r=uA.buffer;c=new Int8Array(r),iA=new Int16Array(r),_=new Uint8Array(r),new Uint16Array(r),H=new Int32Array(r),p=new Uint32Array(r),new Float32Array(r),new Float64Array(r)}function Z(r){throw A.onAbort?.(r),r="Aborted("+r+")",GA(r),VA=!0,r=new WebAssembly.RuntimeError(r+". Build with -sASSERTIONS for more info."),bA?.(r),r}var DA;async function a6(r){return r}async function V6(r){var n=DA;try{var j=await a6(n);return await WebAssembly.instantiate(j,r)}catch(G){GA(`failed to asynchronously prepare wasm: ${G}`),Z(G)}}async function i6(r){return V6(r)}var M,z;class _A{name="ExitStatus";constructor(n){this.message=`Program terminated with exit(${n})`,this.status=n}}var wA=r=>{for(;0<r.length;)r.shift()(A)},CA=[],JA=[],X6=()=>{var r=A.preRun.shift();JA.push(r)},XA=!0,QA=globalThis.TextDecoder&&new TextDecoder,nA=(r,n=0)=>{n>>>=0;for(var j=n,G=j+void 0;r[j]&&!(j>=G);)++j;if(16<j-n&&r.buffer&&QA)return QA.decode(r.subarray(n,j));for(G="";n<j;){var F=r[n++];if(F&128){var t=r[n++]&63;if((F&224)==192)G+=String.fromCharCode((F&31)<<6|t);else{var k=r[n++]&63;F=(F&240)==224?(F&15)<<12|t<<6|k:(F&7)<<18|t<<12|k<<6|r[n++]&63,65536>F?G+=String.fromCharCode(F):(F-=65536,G+=String.fromCharCode(55296|F>>10,56320|F&1023))}}else G+=String.fromCharCode(F)}return G},i=r=>(r>>>=0)?nA(_,r):"",zA=[],O=r=>{var n=zA[r];return n||(zA[r]=n=F6.get(r)),n},qA=[],WA=0,T=0;class HA{constructor(n){this.fC=n,this.OB=n-24}}var Ar=r=>{var n=T;if(!n)return $A(0),0;var j=new HA(n);p[j.OB+16>>>2>>>0]=n;var G=p[j.OB+4>>>2>>>0];if(!G)return $A(0),n;for(var F of r){if(F===0||F===G)break;if(Kr(F,G,j.OB+16))return $A(F),n}return $A(G),n},R=()=>{var r=H[+FA>>>2>>>0];return FA+=4,r},rr=(r,n)=>{for(var j=0,G=r.length-1;0<=G;G--){var F=r[G];F==="."?r.splice(G,1):F===".."?(r.splice(G,1),j++):j&&(r.splice(G,1),j--)}if(n)for(;j;j--)r.unshift("..");return r},jr=r=>{var n=r.charAt(0)==="/",j=r.slice(-1)==="/";return(r=rr(r.split("/").filter(G=>!!G),!n).join("/"))||n||(r="."),r&&j&&(r+="/"),(n?"/":"")+r},Gr=r=>{var n=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(r).slice(1);return r=n[0],n=n[1],!r&&!n?".":(n&&=n.slice(0,-1),r+n)},q6=()=>{if(EA){var r=eA("crypto");return n=>r.randomFillSync(n)}return n=>crypto.getRandomValues(n)},nr=r=>{(nr=q6())(r)},W6=(...r)=>{for(var n="",j=!1,G=r.length-1;-1<=G&&!j;G--){if(j=0<=G?r[G]:"/",typeof j!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!j)return"";n=j+"/"+n,j=j.charAt(0)==="/"}return n=rr(n.split("/").filter(F=>!!F),!j).join("/"),(j?"/":"")+n||"."},LA=[],MA=r=>{for(var n=0,j=0;j<r.length;++j){var G=r.charCodeAt(j);127>=G?n++:2047>=G?n+=2:55296<=G&&57343>=G?(n+=4,++j):n+=3}return n},C=(r,n,j,G)=>{if(j>>>=0,!(0<G))return 0;var F=j;G=j+G-1;for(var t=0;t<r.length;++t){var k=r.codePointAt(t);if(127>=k){if(j>=G)break;n[j++>>>0]=k}else if(2047>=k){if(j+1>=G)break;n[j++>>>0]=192|k>>6,n[j++>>>0]=128|k&63}else if(65535>=k){if(j+2>=G)break;n[j++>>>0]=224|k>>12,n[j++>>>0]=128|k>>6&63,n[j++>>>0]=128|k&63}else{if(j+3>=G)break;n[j++>>>0]=240|k>>18,n[j++>>>0]=128|k>>12&63,n[j++>>>0]=128|k>>6&63,n[j++>>>0]=128|k&63,t++}}return n[j>>>0]=0,j-F},Fr=[];function tr(r,n){Fr[r]={input:[],output:[],TB:n},mA(r,I6)}var I6={open(r){var n=Fr[r.node.rdev];if(!n)throw new V(43);r.tty=n,r.seekable=!1},close(r){r.tty.TB.fsync(r.tty)},fsync(r){r.tty.TB.fsync(r.tty)},read(r,n,j,G){if(!r.tty||!r.tty.TB.gC)throw new V(60);for(var F=0,t=0;t<G;t++){try{var k=r.tty.TB.gC(r.tty)}catch{throw new V(29)}if(k===void 0&&F===0)throw new V(6);if(k==null)break;F++,n[j+t]=k}return F&&(r.node.atime=Date.now()),F},write(r,n,j,G){if(!r.tty||!r.tty.TB.dC)throw new V(60);try{for(var F=0;F<G;F++)r.tty.TB.dC(r.tty,n[j+F])}catch{throw new V(29)}return G&&(r.node.mtime=r.node.ctime=Date.now()),F}},s6={gC(){A:{if(!LA.length){var r=null;if(EA){var n=Buffer.alloc(256),j=0,G=process.stdin.fd;try{j=E6.readSync(G,n,0,256)}catch(F){if(F.toString().includes("EOF"))j=0;else throw F}0<j&&(r=n.slice(0,j).toString("utf-8"))}else globalThis.window?.prompt&&(r=window.prompt("Input: "),r!==null&&(r+=`
0 commit comments