@tsmodule/tsmodule 37.0.0 → 39.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,18 +1,18 @@
1
1
 
2
2
  typeof document>"u"&&await(async()=>{let{dirname:e}=await import("path"),{fileURLToPath:i}=await import("url");if(typeof globalThis.__filename>"u"&&(globalThis.__filename=i(import.meta.url)),typeof globalThis.__dirname>"u"&&(globalThis.__dirname=e(globalThis.__filename)),typeof globalThis.require>"u"){let{default:a}=await import("module");globalThis.require=a.createRequire(import.meta.url)}})();
3
3
 
4
- var wn=Object.create;var dr=Object.defineProperty;var En=Object.getOwnPropertyDescriptor;var Rn=Object.getOwnPropertyNames;var Sn=Object.getPrototypeOf,Tn=Object.prototype.hasOwnProperty;var O=(e=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(e,{get:(t,r)=>(typeof require!="undefined"?require:t)[r]}):e)(function(e){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var p=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var On=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Rn(t))!Tn.call(e,n)&&n!==r&&dr(e,n,{get:()=>t[n],enumerable:!(i=En(t,n))||i.enumerable});return e};var pe=(e,t,r)=>(r=e!=null?wn(Sn(e)):{},On(t||!e||!e.__esModule?dr(r,"default",{value:e,enumerable:!0}):r,e));var Lr=p((Ql,Et)=>{"use strict";var Dr=(e,t)=>{for(let r of Reflect.ownKeys(t))Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));return e};Et.exports=Dr;Et.exports.default=Dr});var Pr=p((Xl,qe)=>{"use strict";var co=Lr(),ke=new WeakMap,Nr=(e,t={})=>{if(typeof e!="function")throw new TypeError("Expected a function");let r,i=0,n=e.displayName||e.name||"<anonymous>",o=function(...s){if(ke.set(o,++i),i===1)r=e.apply(this,s),e=null;else if(t.throw===!0)throw new Error(`Function \`${n}\` can only be called once`);return r};return co(o,e),ke.set(o,i),o};qe.exports=Nr;qe.exports.default=Nr;qe.exports.callCount=e=>{if(!ke.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return ke.get(e)}});var Fr=p((zl,Ue)=>{Ue.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&Ue.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&Ue.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var Gr=p((ea,le)=>{var b=global.process,V=function(e){return e&&typeof e=="object"&&typeof e.removeListener=="function"&&typeof e.emit=="function"&&typeof e.reallyExit=="function"&&typeof e.listeners=="function"&&typeof e.kill=="function"&&typeof e.pid=="number"&&typeof e.on=="function"};V(b)?(jr=O("assert"),oe=Fr(),kr=/^win/i.test(b.platform),xe=O("events"),typeof xe!="function"&&(xe=xe.EventEmitter),b.__signal_exit_emitter__?R=b.__signal_exit_emitter__:(R=b.__signal_exit_emitter__=new xe,R.count=0,R.emitted={}),R.infinite||(R.setMaxListeners(1/0),R.infinite=!0),le.exports=function(e,t){if(!V(global.process))return function(){};jr.equal(typeof e,"function","a callback must be provided for exit handler"),se===!1&&Rt();var r="exit";t&&t.alwaysLast&&(r="afterexit");var i=function(){R.removeListener(r,e),R.listeners("exit").length===0&&R.listeners("afterexit").length===0&&Ge()};return R.on(r,e),i},Ge=function(){!se||!V(global.process)||(se=!1,oe.forEach(function(t){try{b.removeListener(t,We[t])}catch{}}),b.emit=$e,b.reallyExit=St,R.count-=1)},le.exports.unload=Ge,K=function(t,r,i){R.emitted[t]||(R.emitted[t]=!0,R.emit(t,r,i))},We={},oe.forEach(function(e){We[e]=function(){if(!!V(global.process)){var r=b.listeners(e);r.length===R.count&&(Ge(),K("exit",null,e),K("afterexit",null,e),kr&&e==="SIGHUP"&&(e="SIGINT"),b.kill(b.pid,e))}}}),le.exports.signals=function(){return oe},se=!1,Rt=function(){se||!V(global.process)||(se=!0,R.count+=1,oe=oe.filter(function(t){try{return b.on(t,We[t]),!0}catch{return!1}}),b.emit=Ur,b.reallyExit=qr)},le.exports.load=Rt,St=b.reallyExit,qr=function(t){!V(global.process)||(b.exitCode=t||0,K("exit",b.exitCode,null),K("afterexit",b.exitCode,null),St.call(b,b.exitCode))},$e=b.emit,Ur=function(t,r){if(t==="exit"&&V(global.process)){r!==void 0&&(b.exitCode=r);var i=$e.apply(this,arguments);return K("exit",b.exitCode,null),K("afterexit",b.exitCode,null),i}else return $e.apply(this,arguments)}):le.exports=function(){return function(){}};var jr,oe,kr,xe,R,Ge,K,We,se,Rt,St,qr,$e,Ur});var Vr=p((sa,go)=>{go.exports={dots:{interval:80,frames:["⠋","⠙","⠹","⠸","⠼","⠴","⠦","⠧","⠇","⠏"]},dots2:{interval:80,frames:["⣾","⣽","⣻","⢿","⡿","⣟","⣯","⣷"]},dots3:{interval:80,frames:["⠋","⠙","⠚","⠞","⠖","⠦","⠴","⠲","⠳","⠓"]},dots4:{interval:80,frames:["⠄","⠆","⠇","⠋","⠙","⠸","⠰","⠠","⠰","⠸","⠙","⠋","⠇","⠆"]},dots5:{interval:80,frames:["⠋","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋"]},dots6:{interval:80,frames:["⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠴","⠲","⠒","⠂","⠂","⠒","⠚","⠙","⠉","⠁"]},dots7:{interval:80,frames:["⠈","⠉","⠋","⠓","⠒","⠐","⠐","⠒","⠖","⠦","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈"]},dots8:{interval:80,frames:["⠁","⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈","⠈"]},dots9:{interval:80,frames:["⢹","⢺","⢼","⣸","⣇","⡧","⡗","⡏"]},dots10:{interval:80,frames:["⢄","⢂","⢁","⡁","⡈","⡐","⡠"]},dots11:{interval:100,frames:["⠁","⠂","⠄","⡀","⢀","⠠","⠐","⠈"]},dots12:{interval:80,frames:["⢀⠀","⡀⠀","⠄⠀","⢂⠀","⡂⠀","⠅⠀","⢃⠀","⡃⠀","⠍⠀","⢋⠀","⡋⠀","⠍⠁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⢈⠩","⡀⢙","⠄⡙","⢂⠩","⡂⢘","⠅⡘","⢃⠨","⡃⢐","⠍⡐","⢋⠠","⡋⢀","⠍⡁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⠈⠩","⠀⢙","⠀⡙","⠀⠩","⠀⢘","⠀⡘","⠀⠨","⠀⢐","⠀⡐","⠀⠠","⠀⢀","⠀⡀"]},dots8Bit:{interval:80,frames:["⠀","⠁","⠂","⠃","⠄","⠅","⠆","⠇","⡀","⡁","⡂","⡃","⡄","⡅","⡆","⡇","⠈","⠉","⠊","⠋","⠌","⠍","⠎","⠏","⡈","⡉","⡊","⡋","⡌","⡍","⡎","⡏","⠐","⠑","⠒","⠓","⠔","⠕","⠖","⠗","⡐","⡑","⡒","⡓","⡔","⡕","⡖","⡗","⠘","⠙","⠚","⠛","⠜","⠝","⠞","⠟","⡘","⡙","⡚","⡛","⡜","⡝","⡞","⡟","⠠","⠡","⠢","⠣","⠤","⠥","⠦","⠧","⡠","⡡","⡢","⡣","⡤","⡥","⡦","⡧","⠨","⠩","⠪","⠫","⠬","⠭","⠮","⠯","⡨","⡩","⡪","⡫","⡬","⡭","⡮","⡯","⠰","⠱","⠲","⠳","⠴","⠵","⠶","⠷","⡰","⡱","⡲","⡳","⡴","⡵","⡶","⡷","⠸","⠹","⠺","⠻","⠼","⠽","⠾","⠿","⡸","⡹","⡺","⡻","⡼","⡽","⡾","⡿","⢀","⢁","⢂","⢃","⢄","⢅","⢆","⢇","⣀","⣁","⣂","⣃","⣄","⣅","⣆","⣇","⢈","⢉","⢊","⢋","⢌","⢍","⢎","⢏","⣈","⣉","⣊","⣋","⣌","⣍","⣎","⣏","⢐","⢑","⢒","⢓","⢔","⢕","⢖","⢗","⣐","⣑","⣒","⣓","⣔","⣕","⣖","⣗","⢘","⢙","⢚","⢛","⢜","⢝","⢞","⢟","⣘","⣙","⣚","⣛","⣜","⣝","⣞","⣟","⢠","⢡","⢢","⢣","⢤","⢥","⢦","⢧","⣠","⣡","⣢","⣣","⣤","⣥","⣦","⣧","⢨","⢩","⢪","⢫","⢬","⢭","⢮","⢯","⣨","⣩","⣪","⣫","⣬","⣭","⣮","⣯","⢰","⢱","⢲","⢳","⢴","⢵","⢶","⢷","⣰","⣱","⣲","⣳","⣴","⣵","⣶","⣷","⢸","⢹","⢺","⢻","⢼","⢽","⢾","⢿","⣸","⣹","⣺","⣻","⣼","⣽","⣾","⣿"]},line:{interval:130,frames:["-","\\","|","/"]},line2:{interval:100,frames:["⠂","-","–","—","–","-"]},pipe:{interval:100,frames:["┤","┘","┴","└","├","┌","┬","┐"]},simpleDots:{interval:400,frames:[". ",".. ","..."," "]},simpleDotsScrolling:{interval:200,frames:[". ",".. ","..."," .."," ."," "]},star:{interval:70,frames:["✶","✸","✹","✺","✹","✷"]},star2:{interval:80,frames:["+","x","*"]},flip:{interval:70,frames:["_","_","_","-","`","`","'","´","-","_","_","_"]},hamburger:{interval:100,frames:["☱","☲","☴"]},growVertical:{interval:120,frames:["▁","▃","▄","▅","▆","▇","▆","▅","▄","▃"]},growHorizontal:{interval:120,frames:["▏","▎","▍","▌","▋","▊","▉","▊","▋","▌","▍","▎"]},balloon:{interval:140,frames:[" ",".","o","O","@","*"," "]},balloon2:{interval:120,frames:[".","o","O","°","O","o","."]},noise:{interval:100,frames:["▓","▒","░"]},bounce:{interval:120,frames:["⠁","⠂","⠄","⠂"]},boxBounce:{interval:120,frames:["▖","▘","▝","▗"]},boxBounce2:{interval:100,frames:["▌","▀","▐","▄"]},triangle:{interval:50,frames:["◢","◣","◤","◥"]},arc:{interval:100,frames:["◜","◠","◝","◞","◡","◟"]},circle:{interval:120,frames:["◡","⊙","◠"]},squareCorners:{interval:180,frames:["◰","◳","◲","◱"]},circleQuarters:{interval:120,frames:["◴","◷","◶","◵"]},circleHalves:{interval:50,frames:["◐","◓","◑","◒"]},squish:{interval:100,frames:["╫","╪"]},toggle:{interval:250,frames:["⊶","⊷"]},toggle2:{interval:80,frames:["▫","▪"]},toggle3:{interval:120,frames:["□","■"]},toggle4:{interval:100,frames:["■","□","▪","▫"]},toggle5:{interval:100,frames:["▮","▯"]},toggle6:{interval:300,frames:["ဝ","၀"]},toggle7:{interval:80,frames:["⦾","⦿"]},toggle8:{interval:100,frames:["◍","◌"]},toggle9:{interval:100,frames:["◉","◎"]},toggle10:{interval:100,frames:["㊂","㊀","㊁"]},toggle11:{interval:50,frames:["⧇","⧆"]},toggle12:{interval:120,frames:["☗","☖"]},toggle13:{interval:80,frames:["=","*","-"]},arrow:{interval:100,frames:["←","↖","↑","↗","→","↘","↓","↙"]},arrow2:{interval:80,frames:["⬆️ ","↗️ ","➡️ ","↘️ ","⬇️ ","↙️ ","⬅️ ","↖️ "]},arrow3:{interval:120,frames:["▹▹▹▹▹","▸▹▹▹▹","▹▸▹▹▹","▹▹▸▹▹","▹▹▹▸▹","▹▹▹▹▸"]},bouncingBar:{interval:80,frames:["[ ]","[= ]","[== ]","[=== ]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},bouncingBall:{interval:80,frames:["( ● )","( ● )","( ● )","( ● )","( ●)","( ● )","( ● )","( ● )","( ● )","(● )"]},smiley:{interval:200,frames:["😄 ","😝 "]},monkey:{interval:300,frames:["🙈 ","🙈 ","🙉 ","🙊 "]},hearts:{interval:100,frames:["💛 ","💙 ","💜 ","💚 ","❤️ "]},clock:{interval:100,frames:["🕛 ","🕐 ","🕑 ","🕒 ","🕓 ","🕔 ","🕕 ","🕖 ","🕗 ","🕘 ","🕙 ","🕚 "]},earth:{interval:180,frames:["🌍 ","🌎 ","🌏 "]},material:{interval:17,frames:["█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","███▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","████▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁","███████▁▁▁▁▁▁▁▁▁▁▁▁▁","████████▁▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","██████████▁▁▁▁▁▁▁▁▁▁","███████████▁▁▁▁▁▁▁▁▁","█████████████▁▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁▁██████████████▁▁▁▁","▁▁▁██████████████▁▁▁","▁▁▁▁█████████████▁▁▁","▁▁▁▁██████████████▁▁","▁▁▁▁██████████████▁▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁▁██████████████","▁▁▁▁▁▁██████████████","▁▁▁▁▁▁▁█████████████","▁▁▁▁▁▁▁█████████████","▁▁▁▁▁▁▁▁████████████","▁▁▁▁▁▁▁▁████████████","▁▁▁▁▁▁▁▁▁███████████","▁▁▁▁▁▁▁▁▁███████████","▁▁▁▁▁▁▁▁▁▁██████████","▁▁▁▁▁▁▁▁▁▁██████████","▁▁▁▁▁▁▁▁▁▁▁▁████████","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁██████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","███▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","████▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","██████▁▁▁▁▁▁▁▁▁▁▁▁▁█","████████▁▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","███████████▁▁▁▁▁▁▁▁▁","████████████▁▁▁▁▁▁▁▁","████████████▁▁▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁▁▁█████████████▁▁▁▁","▁▁▁▁▁████████████▁▁▁","▁▁▁▁▁████████████▁▁▁","▁▁▁▁▁▁███████████▁▁▁","▁▁▁▁▁▁▁▁█████████▁▁▁","▁▁▁▁▁▁▁▁█████████▁▁▁","▁▁▁▁▁▁▁▁▁█████████▁▁","▁▁▁▁▁▁▁▁▁█████████▁▁","▁▁▁▁▁▁▁▁▁▁█████████▁","▁▁▁▁▁▁▁▁▁▁▁████████▁","▁▁▁▁▁▁▁▁▁▁▁████████▁","▁▁▁▁▁▁▁▁▁▁▁▁███████▁","▁▁▁▁▁▁▁▁▁▁▁▁███████▁","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁"]},moon:{interval:80,frames:["🌑 ","🌒 ","🌓 ","🌔 ","🌕 ","🌖 ","🌗 ","🌘 "]},runner:{interval:140,frames:["🚶 ","🏃 "]},pong:{interval:80,frames:["▐⠂ ▌","▐⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂▌","▐ ⠠▌","▐ ⡀▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐⠠ ▌"]},shark:{interval:120,frames:["▐|\\____________▌","▐_|\\___________▌","▐__|\\__________▌","▐___|\\_________▌","▐____|\\________▌","▐_____|\\_______▌","▐______|\\______▌","▐_______|\\_____▌","▐________|\\____▌","▐_________|\\___▌","▐__________|\\__▌","▐___________|\\_▌","▐____________|\\▌","▐____________/|▌","▐___________/|_▌","▐__________/|__▌","▐_________/|___▌","▐________/|____▌","▐_______/|_____▌","▐______/|______▌","▐_____/|_______▌","▐____/|________▌","▐___/|_________▌","▐__/|__________▌","▐_/|___________▌","▐/|____________▌"]},dqpb:{interval:100,frames:["d","q","p","b"]},weather:{interval:100,frames:["☀️ ","☀️ ","☀️ ","🌤 ","⛅️ ","🌥 ","☁️ ","🌧 ","🌨 ","🌧 ","🌨 ","🌧 ","🌨 ","⛈ ","🌨 ","🌧 ","🌨 ","☁️ ","🌥 ","⛅️ ","🌤 ","☀️ ","☀️ "]},christmas:{interval:400,frames:["🌲","🎄"]},grenade:{interval:80,frames:["، ","′ "," ´ "," ‾ "," ⸌"," ⸊"," |"," ⁎"," ⁕"," ෴ "," ⁓"," "," "," "]},point:{interval:125,frames:["∙∙∙","●∙∙","∙●∙","∙∙●","∙∙∙"]},layer:{interval:150,frames:["-","=","≡"]},betaWave:{interval:80,frames:["ρββββββ","βρβββββ","ββρββββ","βββρβββ","ββββρββ","βββββρβ","ββββββρ"]},fingerDance:{interval:160,frames:["🤘 ","🤟 ","🖖 ","✋ ","🤚 ","👆 "]},fistBump:{interval:80,frames:["🤜    🤛 ","🤜    🤛 ","🤜    🤛 "," 🤜  🤛  ","  🤜🤛   "," 🤜✨🤛   ","🤜 ✨ 🤛  "]},soccerHeader:{interval:80,frames:[" 🧑⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 "]},mindblown:{interval:160,frames:["😐 ","😐 ","😮 ","😮 ","😦 ","😦 ","😧 ","😧 ","🤯 ","💥 ","✨ ","  ","  ","  "]},speaker:{interval:160,frames:["🔈 ","🔉 ","🔊 ","🔉 "]},orangePulse:{interval:100,frames:["🔸 ","🔶 ","🟠 ","🟠 ","🔶 "]},bluePulse:{interval:100,frames:["🔹 ","🔷 ","🔵 ","🔵 ","🔷 "]},orangeBluePulse:{interval:100,frames:["🔸 ","🔶 ","🟠 ","🟠 ","🔶 ","🔹 ","🔷 ","🔵 ","🔵 ","🔷 "]},timeTravel:{interval:100,frames:["🕛 ","🕚 ","🕙 ","🕘 ","🕗 ","🕖 ","🕕 ","🕔 ","🕓 ","🕒 ","🕑 ","🕐 "]},aesthetic:{interval:80,frames:["▰▱▱▱▱▱▱","▰▰▱▱▱▱▱","▰▰▰▱▱▱▱","▰▰▰▰▱▱▱","▰▰▰▰▰▱▱","▰▰▰▰▰▰▱","▰▰▰▰▰▰▰","▰▱▱▱▱▱▱"]}}});var Zr=p((la,Jr)=>{"use strict";var He=Object.assign({},Vr()),Kr=Object.keys(He);Object.defineProperty(He,"random",{get(){let e=Math.floor(Math.random()*Kr.length),t=Kr[e];return He[t]}});Jr.exports=He});var Qr=p((ga,Ve)=>{var mo=function(){"use strict";function e(s,l,a,f){var c;typeof l=="object"&&(a=l.depth,f=l.prototype,c=l.filter,l=l.circular);var d=[],y=[],m=typeof Buffer<"u";typeof l>"u"&&(l=!0),typeof a>"u"&&(a=1/0);function S(_,k){if(_===null)return null;if(k==0)return _;var v,de;if(typeof _!="object")return _;if(e.__isArray(_))v=[];else if(e.__isRegExp(_))v=new RegExp(_.source,o(_)),_.lastIndex&&(v.lastIndex=_.lastIndex);else if(e.__isDate(_))v=new Date(_.getTime());else{if(m&&Buffer.isBuffer(_))return Buffer.allocUnsafe?v=Buffer.allocUnsafe(_.length):v=new Buffer(_.length),_.copy(v),v;typeof f>"u"?(de=Object.getPrototypeOf(_),v=Object.create(de)):(v=Object.create(f),de=f)}if(l){var cr=d.indexOf(_);if(cr!=-1)return y[cr];d.push(_),y.push(v)}for(var ct in _){var dt;de&&(dt=Object.getOwnPropertyDescriptor(de,ct)),!(dt&&dt.set==null)&&(v[ct]=S(_[ct],k-1))}return v}return S(s,a)}e.clonePrototype=function(l){if(l===null)return null;var a=function(){};return a.prototype=l,new a};function t(s){return Object.prototype.toString.call(s)}e.__objToStr=t;function r(s){return typeof s=="object"&&t(s)==="[object Date]"}e.__isDate=r;function i(s){return typeof s=="object"&&t(s)==="[object Array]"}e.__isArray=i;function n(s){return typeof s=="object"&&t(s)==="[object RegExp]"}e.__isRegExp=n;function o(s){var l="";return s.global&&(l+="g"),s.ignoreCase&&(l+="i"),s.multiline&&(l+="m"),l}return e.__getRegExpFlags=o,e}();typeof Ve=="object"&&Ve.exports&&(Ve.exports=mo)});var zr=p((ba,Xr)=>{var vo=Qr();Xr.exports=function(e,t){return e=e||{},Object.keys(t).forEach(function(r){typeof e[r]>"u"&&(e[r]=vo(t[r]))}),e}});var ti=p((ya,ei)=>{ei.exports=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531],[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]]});var oi=p((xa,Ct)=>{"use strict";var wo=zr(),we=ti(),ii={nul:0,control:0};Ct.exports=function(t){return ni(t,ii)};Ct.exports.config=function(e){return e=wo(e||{},ii),function(r){return ni(r,e)}};function ni(e,t){if(typeof e!="string")return ri(e,t);for(var r=0,i=0;i<e.length;i++){var n=ri(e.charCodeAt(i),t);if(n<0)return-1;r+=n}return r}function ri(e,t){return e===0?t.nul:e<32||e>=127&&e<160?t.control:Eo(e)?0:1+(e>=4352&&(e<=4447||e==9001||e==9002||e>=11904&&e<=42191&&e!=12351||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65135||e>=65280&&e<=65376||e>=65504&&e<=65510||e>=131072&&e<=196605||e>=196608&&e<=262141))}function Eo(e){var t=0,r=we.length-1,i;if(e<we[0][0]||e>we[r][1])return!1;for(;r>=t;)if(i=Math.floor((t+r)/2),e>we[i][1])t=i+1;else if(e<we[i][0])r=i-1;else return!0;return!1}});var Mt=p((va,si)=>{si.exports=O("stream")});var ui=p((wa,fi)=>{"use strict";function li(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,i)}return r}function Ro(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?li(Object(r),!0).forEach(function(i){So(e,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):li(Object(r)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r,i))})}return e}function So(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function To(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ai(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Oo(e,t,r){return t&&ai(e.prototype,t),r&&ai(e,r),e}var Ao=O("buffer"),Ke=Ao.Buffer,Co=O("util"),It=Co.inspect,Bo=It&&It.custom||"inspect";function Mo(e,t,r){Ke.prototype.copy.call(e,t,r)}fi.exports=function(){function e(){To(this,e),this.head=null,this.tail=null,this.length=0}return Oo(e,[{key:"push",value:function(r){var i={data:r,next:null};this.length>0?this.tail.next=i:this.head=i,this.tail=i,++this.length}},{key:"unshift",value:function(r){var i={data:r,next:this.head};this.length===0&&(this.tail=i),this.head=i,++this.length}},{key:"shift",value:function(){if(this.length!==0){var r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(r){if(this.length===0)return"";for(var i=this.head,n=""+i.data;i=i.next;)n+=r+i.data;return n}},{key:"concat",value:function(r){if(this.length===0)return Ke.alloc(0);for(var i=Ke.allocUnsafe(r>>>0),n=this.head,o=0;n;)Mo(n.data,i,o),o+=n.data.length,n=n.next;return i}},{key:"consume",value:function(r,i){var n;return r<this.head.data.length?(n=this.head.data.slice(0,r),this.head.data=this.head.data.slice(r)):r===this.head.data.length?n=this.shift():n=i?this._getString(r):this._getBuffer(r),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(r){var i=this.head,n=1,o=i.data;for(r-=o.length;i=i.next;){var s=i.data,l=r>s.length?s.length:r;if(l===s.length?o+=s:o+=s.slice(0,r),r-=l,r===0){l===s.length?(++n,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=s.slice(l));break}++n}return this.length-=n,o}},{key:"_getBuffer",value:function(r){var i=Ke.allocUnsafe(r),n=this.head,o=1;for(n.data.copy(i),r-=n.data.length;n=n.next;){var s=n.data,l=r>s.length?s.length:r;if(s.copy(i,i.length-r,0,l),r-=l,r===0){l===s.length?(++o,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=s.slice(l));break}++o}return this.length-=o,i}},{key:Bo,value:function(r,i){return It(this,Ro({},i,{depth:0,customInspect:!1}))}}]),e}()});var Lt=p((Ea,ci)=>{"use strict";function Io(e,t){var r=this,i=this._readableState&&this._readableState.destroyed,n=this._writableState&&this._writableState.destroyed;return i||n?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(Dt,this,e)):process.nextTick(Dt,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(o){!t&&o?r._writableState?r._writableState.errorEmitted?process.nextTick(Je,r):(r._writableState.errorEmitted=!0,process.nextTick(hi,r,o)):process.nextTick(hi,r,o):t?(process.nextTick(Je,r),t(o)):process.nextTick(Je,r)}),this)}function hi(e,t){Dt(e,t),Je(e)}function Je(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function Do(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function Dt(e,t){e.emit("error",t)}function Lo(e,t){var r=e._readableState,i=e._writableState;r&&r.autoDestroy||i&&i.autoDestroy?e.destroy(t):e.emit("error",t)}ci.exports={destroy:Io,undestroy:Do,errorOrDestroy:Lo}});var G=p((Ra,_i)=>{"use strict";var pi={};function M(e,t,r){r||(r=Error);function i(o,s,l){return typeof t=="string"?t:t(o,s,l)}class n extends r{constructor(s,l,a){super(i(s,l,a))}}n.prototype.name=r.name,n.prototype.code=e,pi[e]=n}function di(e,t){if(Array.isArray(e)){let r=e.length;return e=e.map(i=>String(i)),r>2?`one of ${t} ${e.slice(0,r-1).join(", ")}, or `+e[r-1]:r===2?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}else return`of ${t} ${String(e)}`}function No(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}function Po(e,t,r){return(r===void 0||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function Fo(e,t,r){return typeof r!="number"&&(r=0),r+t.length>e.length?!1:e.indexOf(t,r)!==-1}M("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError);M("ERR_INVALID_ARG_TYPE",function(e,t,r){let i;typeof t=="string"&&No(t,"not ")?(i="must not be",t=t.replace(/^not /,"")):i="must be";let n;if(Po(e," argument"))n=`The ${e} ${i} ${di(t,"type")}`;else{let o=Fo(e,".")?"property":"argument";n=`The "${e}" ${o} ${i} ${di(t,"type")}`}return n+=`. Received type ${typeof r}`,n},TypeError);M("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");M("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"});M("ERR_STREAM_PREMATURE_CLOSE","Premature close");M("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"});M("ERR_MULTIPLE_CALLBACK","Callback called multiple times");M("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");M("ERR_STREAM_WRITE_AFTER_END","write after end");M("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);M("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError);M("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");_i.exports.codes=pi});var Nt=p((Sa,gi)=>{"use strict";var jo=G().codes.ERR_INVALID_OPT_VALUE;function ko(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function qo(e,t,r,i){var n=ko(t,i,r);if(n!=null){if(!(isFinite(n)&&Math.floor(n)===n)||n<0){var o=i?r:"highWaterMark";throw new jo(o,n)}return Math.floor(n)}return e.objectMode?16:16*1024}gi.exports={getHighWaterMark:qo}});var bi=p((Ta,Pt)=>{typeof Object.create=="function"?Pt.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Pt.exports=function(t,r){if(r){t.super_=r;var i=function(){};i.prototype=r.prototype,t.prototype=new i,t.prototype.constructor=t}}});var J=p((Oa,jt)=>{try{if(Ft=O("util"),typeof Ft.inherits!="function")throw"";jt.exports=Ft.inherits}catch{jt.exports=bi()}var Ft});var xi=p((Aa,yi)=>{yi.exports=O("util").deprecate});var Ut=p((Ca,Si)=>{"use strict";Si.exports=x;function vi(e){var t=this;this.next=null,this.entry=null,this.finish=function(){ds(t,e)}}var fe;x.WritableState=Re;var Uo={deprecate:xi()},wi=Mt(),Qe=O("buffer").Buffer,Go=global.Uint8Array||function(){};function Wo(e){return Qe.from(e)}function $o(e){return Qe.isBuffer(e)||e instanceof Go}var qt=Lt(),Yo=Nt(),Ho=Yo.getHighWaterMark,W=G().codes,Vo=W.ERR_INVALID_ARG_TYPE,Ko=W.ERR_METHOD_NOT_IMPLEMENTED,Jo=W.ERR_MULTIPLE_CALLBACK,Zo=W.ERR_STREAM_CANNOT_PIPE,Qo=W.ERR_STREAM_DESTROYED,Xo=W.ERR_STREAM_NULL_VALUES,zo=W.ERR_STREAM_WRITE_AFTER_END,es=W.ERR_UNKNOWN_ENCODING,ue=qt.errorOrDestroy;J()(x,wi);function ts(){}function Re(e,t,r){fe=fe||Z(),e=e||{},typeof r!="boolean"&&(r=t instanceof fe),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=Ho(this,e,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var i=e.decodeStrings===!1;this.decodeStrings=!i,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(n){as(t,n)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=e.emitClose!==!1,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new vi(this)}Re.prototype.getBuffer=function(){for(var t=this.bufferedRequest,r=[];t;)r.push(t),t=t.next;return r};(function(){try{Object.defineProperty(Re.prototype,"buffer",{get:Uo.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var Ze;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Ze=Function.prototype[Symbol.hasInstance],Object.defineProperty(x,Symbol.hasInstance,{value:function(t){return Ze.call(this,t)?!0:this!==x?!1:t&&t._writableState instanceof Re}})):Ze=function(t){return t instanceof this};function x(e){fe=fe||Z();var t=this instanceof fe;if(!t&&!Ze.call(x,this))return new x(e);this._writableState=new Re(e,this,t),this.writable=!0,e&&(typeof e.write=="function"&&(this._write=e.write),typeof e.writev=="function"&&(this._writev=e.writev),typeof e.destroy=="function"&&(this._destroy=e.destroy),typeof e.final=="function"&&(this._final=e.final)),wi.call(this)}x.prototype.pipe=function(){ue(this,new Zo)};function rs(e,t){var r=new zo;ue(e,r),process.nextTick(t,r)}function is(e,t,r,i){var n;return r===null?n=new Xo:typeof r!="string"&&!t.objectMode&&(n=new Vo("chunk",["string","Buffer"],r)),n?(ue(e,n),process.nextTick(i,n),!1):!0}x.prototype.write=function(e,t,r){var i=this._writableState,n=!1,o=!i.objectMode&&$o(e);return o&&!Qe.isBuffer(e)&&(e=Wo(e)),typeof t=="function"&&(r=t,t=null),o?t="buffer":t||(t=i.defaultEncoding),typeof r!="function"&&(r=ts),i.ending?rs(this,r):(o||is(this,i,e,r))&&(i.pendingcb++,n=os(this,i,o,e,t,r)),n};x.prototype.cork=function(){this._writableState.corked++};x.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest&&Ei(this,e))};x.prototype.setDefaultEncoding=function(t){if(typeof t=="string"&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new es(t);return this._writableState.defaultEncoding=t,this};Object.defineProperty(x.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function ns(e,t,r){return!e.objectMode&&e.decodeStrings!==!1&&typeof t=="string"&&(t=Qe.from(t,r)),t}Object.defineProperty(x.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function os(e,t,r,i,n,o){if(!r){var s=ns(t,i,n);i!==s&&(r=!0,n="buffer",i=s)}var l=t.objectMode?1:i.length;t.length+=l;var a=t.length<t.highWaterMark;if(a||(t.needDrain=!0),t.writing||t.corked){var f=t.lastBufferedRequest;t.lastBufferedRequest={chunk:i,encoding:n,isBuf:r,callback:o,next:null},f?f.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else kt(e,t,!1,l,i,n,o);return a}function kt(e,t,r,i,n,o,s){t.writelen=i,t.writecb=s,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new Qo("write")):r?e._writev(n,t.onwrite):e._write(n,o,t.onwrite),t.sync=!1}function ss(e,t,r,i,n){--t.pendingcb,r?(process.nextTick(n,i),process.nextTick(Ee,e,t),e._writableState.errorEmitted=!0,ue(e,i)):(n(i),e._writableState.errorEmitted=!0,ue(e,i),Ee(e,t))}function ls(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function as(e,t){var r=e._writableState,i=r.sync,n=r.writecb;if(typeof n!="function")throw new Jo;if(ls(r),t)ss(e,r,i,t,n);else{var o=Ri(r)||e.destroyed;!o&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&Ei(e,r),i?process.nextTick(mi,e,r,o,n):mi(e,r,o,n)}}function mi(e,t,r,i){r||fs(e,t),t.pendingcb--,i(),Ee(e,t)}function fs(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function Ei(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var i=t.bufferedRequestCount,n=new Array(i),o=t.corkedRequestsFree;o.entry=r;for(var s=0,l=!0;r;)n[s]=r,r.isBuf||(l=!1),r=r.next,s+=1;n.allBuffers=l,kt(e,t,!0,t.length,n,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new vi(t),t.bufferedRequestCount=0}else{for(;r;){var a=r.chunk,f=r.encoding,c=r.callback,d=t.objectMode?1:a.length;if(kt(e,t,!1,d,a,f,c),r=r.next,t.bufferedRequestCount--,t.writing)break}r===null&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}x.prototype._write=function(e,t,r){r(new Ko("_write()"))};x.prototype._writev=null;x.prototype.end=function(e,t,r){var i=this._writableState;return typeof e=="function"?(r=e,e=null,t=null):typeof t=="function"&&(r=t,t=null),e!=null&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||cs(this,i,r),this};Object.defineProperty(x.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function Ri(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function us(e,t){e._final(function(r){t.pendingcb--,r&&ue(e,r),t.prefinished=!0,e.emit("prefinish"),Ee(e,t)})}function hs(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final=="function"&&!t.destroyed?(t.pendingcb++,t.finalCalled=!0,process.nextTick(us,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function Ee(e,t){var r=Ri(t);if(r&&(hs(e,t),t.pendingcb===0&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var i=e._readableState;(!i||i.autoDestroy&&i.endEmitted)&&e.destroy()}return r}function cs(e,t,r){t.ending=!0,Ee(e,t),r&&(t.finished?process.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function ds(e,t,r){var i=e.entry;for(e.entry=null;i;){var n=i.callback;t.pendingcb--,n(r),i=i.next}t.corkedRequestsFree.next=e}Object.defineProperty(x.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(t){!this._writableState||(this._writableState.destroyed=t)}});x.prototype.destroy=qt.destroy;x.prototype._undestroy=qt.undestroy;x.prototype._destroy=function(e,t){t(e)}});var Z=p((Ba,Oi)=>{"use strict";var ps=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};Oi.exports=F;var Ti=$t(),Wt=Ut();J()(F,Ti);for(Gt=ps(Wt.prototype),Xe=0;Xe<Gt.length;Xe++)ze=Gt[Xe],F.prototype[ze]||(F.prototype[ze]=Wt.prototype[ze]);var Gt,ze,Xe;function F(e){if(!(this instanceof F))return new F(e);Ti.call(this,e),Wt.call(this,e),this.allowHalfOpen=!0,e&&(e.readable===!1&&(this.readable=!1),e.writable===!1&&(this.writable=!1),e.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",_s)))}Object.defineProperty(F.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});Object.defineProperty(F.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(F.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function _s(){this._writableState.ended||process.nextTick(gs,this)}function gs(e){e.end()}Object.defineProperty(F.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(t){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=t,this._writableState.destroyed=t)}})});var Bi=p((Yt,Ci)=>{var et=O("buffer"),j=et.Buffer;function Ai(e,t){for(var r in e)t[r]=e[r]}j.from&&j.alloc&&j.allocUnsafe&&j.allocUnsafeSlow?Ci.exports=et:(Ai(et,Yt),Yt.Buffer=Q);function Q(e,t,r){return j(e,t,r)}Q.prototype=Object.create(j.prototype);Ai(j,Q);Q.from=function(e,t,r){if(typeof e=="number")throw new TypeError("Argument must not be a number");return j(e,t,r)};Q.alloc=function(e,t,r){if(typeof e!="number")throw new TypeError("Argument must be a number");var i=j(e);return t!==void 0?typeof r=="string"?i.fill(t,r):i.fill(t):i.fill(0),i};Q.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return j(e)};Q.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return et.SlowBuffer(e)}});var Kt=p(Ii=>{"use strict";var Vt=Bi().Buffer,Mi=Vt.isEncoding||function(e){switch(e=""+e,e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function bs(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function ys(e){var t=bs(e);if(typeof t!="string"&&(Vt.isEncoding===Mi||!Mi(e)))throw new Error("Unknown encoding: "+e);return t||e}Ii.StringDecoder=Se;function Se(e){this.encoding=ys(e);var t;switch(this.encoding){case"utf16le":this.text=Rs,this.end=Ss,t=4;break;case"utf8":this.fillLast=vs,t=4;break;case"base64":this.text=Ts,this.end=Os,t=3;break;default:this.write=As,this.end=Cs;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Vt.allocUnsafe(t)}Se.prototype.write=function(e){if(e.length===0)return"";var t,r;if(this.lastNeed){if(t=this.fillLast(e),t===void 0)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""};Se.prototype.end=Es;Se.prototype.text=ws;Se.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length};function Ht(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function xs(e,t,r){var i=t.length-1;if(i<r)return 0;var n=Ht(t[i]);return n>=0?(n>0&&(e.lastNeed=n-1),n):--i<r||n===-2?0:(n=Ht(t[i]),n>=0?(n>0&&(e.lastNeed=n-2),n):--i<r||n===-2?0:(n=Ht(t[i]),n>=0?(n>0&&(n===2?n=0:e.lastNeed=n-3),n):0))}function ms(e,t,r){if((t[0]&192)!==128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(t[2]&192)!==128)return e.lastNeed=2,"�"}}function vs(e){var t=this.lastTotal-this.lastNeed,r=ms(this,e,t);if(r!==void 0)return r;if(this.lastNeed<=e.length)return e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length}function ws(e,t){var r=xs(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var i=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",t,i)}function Es(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function Rs(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var i=r.charCodeAt(r.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function Ss(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function Ts(e,t){var r=(e.length-t)%3;return r===0?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,r===1?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function Os(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function As(e){return e.toString(this.encoding)}function Cs(e){return e&&e.length?this.write(e):""}});var tt=p((Ia,Ni)=>{"use strict";var Di=G().codes.ERR_STREAM_PREMATURE_CLOSE;function Bs(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,i=new Array(r),n=0;n<r;n++)i[n]=arguments[n];e.apply(this,i)}}}function Ms(){}function Is(e){return e.setHeader&&typeof e.abort=="function"}function Li(e,t,r){if(typeof t=="function")return Li(e,null,t);t||(t={}),r=Bs(r||Ms);var i=t.readable||t.readable!==!1&&e.readable,n=t.writable||t.writable!==!1&&e.writable,o=function(){e.writable||l()},s=e._writableState&&e._writableState.finished,l=function(){n=!1,s=!0,i||r.call(e)},a=e._readableState&&e._readableState.endEmitted,f=function(){i=!1,a=!0,n||r.call(e)},c=function(S){r.call(e,S)},d=function(){var S;if(i&&!a)return(!e._readableState||!e._readableState.ended)&&(S=new Di),r.call(e,S);if(n&&!s)return(!e._writableState||!e._writableState.ended)&&(S=new Di),r.call(e,S)},y=function(){e.req.on("finish",l)};return Is(e)?(e.on("complete",l),e.on("abort",d),e.req?y():e.on("request",y)):n&&!e._writableState&&(e.on("end",o),e.on("close",o)),e.on("end",f),e.on("finish",l),t.error!==!1&&e.on("error",c),e.on("close",d),function(){e.removeListener("complete",l),e.removeListener("abort",d),e.removeListener("request",y),e.req&&e.req.removeListener("finish",l),e.removeListener("end",o),e.removeListener("close",o),e.removeListener("finish",l),e.removeListener("end",f),e.removeListener("error",c),e.removeListener("close",d)}}Ni.exports=Li});var Fi=p((Da,Pi)=>{"use strict";var rt;function $(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ds=tt(),Y=Symbol("lastResolve"),X=Symbol("lastReject"),Te=Symbol("error"),it=Symbol("ended"),z=Symbol("lastPromise"),Jt=Symbol("handlePromise"),ee=Symbol("stream");function H(e,t){return{value:e,done:t}}function Ls(e){var t=e[Y];if(t!==null){var r=e[ee].read();r!==null&&(e[z]=null,e[Y]=null,e[X]=null,t(H(r,!1)))}}function Ns(e){process.nextTick(Ls,e)}function Ps(e,t){return function(r,i){e.then(function(){if(t[it]){r(H(void 0,!0));return}t[Jt](r,i)},i)}}var Fs=Object.getPrototypeOf(function(){}),js=Object.setPrototypeOf((rt={get stream(){return this[ee]},next:function(){var t=this,r=this[Te];if(r!==null)return Promise.reject(r);if(this[it])return Promise.resolve(H(void 0,!0));if(this[ee].destroyed)return new Promise(function(s,l){process.nextTick(function(){t[Te]?l(t[Te]):s(H(void 0,!0))})});var i=this[z],n;if(i)n=new Promise(Ps(i,this));else{var o=this[ee].read();if(o!==null)return Promise.resolve(H(o,!1));n=new Promise(this[Jt])}return this[z]=n,n}},$(rt,Symbol.asyncIterator,function(){return this}),$(rt,"return",function(){var t=this;return new Promise(function(r,i){t[ee].destroy(null,function(n){if(n){i(n);return}r(H(void 0,!0))})})}),rt),Fs),ks=function(t){var r,i=Object.create(js,(r={},$(r,ee,{value:t,writable:!0}),$(r,Y,{value:null,writable:!0}),$(r,X,{value:null,writable:!0}),$(r,Te,{value:null,writable:!0}),$(r,it,{value:t._readableState.endEmitted,writable:!0}),$(r,Jt,{value:function(o,s){var l=i[ee].read();l?(i[z]=null,i[Y]=null,i[X]=null,o(H(l,!1))):(i[Y]=o,i[X]=s)},writable:!0}),r));return i[z]=null,Ds(t,function(n){if(n&&n.code!=="ERR_STREAM_PREMATURE_CLOSE"){var o=i[X];o!==null&&(i[z]=null,i[Y]=null,i[X]=null,o(n)),i[Te]=n;return}var s=i[Y];s!==null&&(i[z]=null,i[Y]=null,i[X]=null,s(H(void 0,!0))),i[it]=!0}),t.on("readable",Ns.bind(null,i)),i};Pi.exports=ks});var Ui=p((La,qi)=>{"use strict";function ji(e,t,r,i,n,o,s){try{var l=e[o](s),a=l.value}catch(f){r(f);return}l.done?t(a):Promise.resolve(a).then(i,n)}function qs(e){return function(){var t=this,r=arguments;return new Promise(function(i,n){var o=e.apply(t,r);function s(a){ji(o,i,n,s,l,"next",a)}function l(a){ji(o,i,n,s,l,"throw",a)}s(void 0)})}}function ki(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,i)}return r}function Us(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ki(Object(r),!0).forEach(function(i){Gs(e,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ki(Object(r)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r,i))})}return e}function Gs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ws=G().codes.ERR_INVALID_ARG_TYPE;function $s(e,t,r){var i;if(t&&typeof t.next=="function")i=t;else if(t&&t[Symbol.asyncIterator])i=t[Symbol.asyncIterator]();else if(t&&t[Symbol.iterator])i=t[Symbol.iterator]();else throw new Ws("iterable",["Iterable"],t);var n=new e(Us({objectMode:!0},r)),o=!1;n._read=function(){o||(o=!0,s())};function s(){return l.apply(this,arguments)}function l(){return l=qs(function*(){try{var a=yield i.next(),f=a.value,c=a.done;c?n.push(null):n.push(yield f)?s():o=!1}catch(d){n.destroy(d)}}),l.apply(this,arguments)}return n}qi.exports=$s});var $t=p((Pa,Qi)=>{"use strict";Qi.exports=h;var he;h.ReadableState=Yi;var Na=O("events").EventEmitter,$i=function(t,r){return t.listeners(r).length},Ae=Mt(),nt=O("buffer").Buffer,Ys=global.Uint8Array||function(){};function Hs(e){return nt.from(e)}function Vs(e){return nt.isBuffer(e)||e instanceof Ys}var Zt=O("util"),u;Zt&&Zt.debuglog?u=Zt.debuglog("stream"):u=function(){};var Ks=ui(),ir=Lt(),Js=Nt(),Zs=Js.getHighWaterMark,ot=G().codes,Qs=ot.ERR_INVALID_ARG_TYPE,Xs=ot.ERR_STREAM_PUSH_AFTER_EOF,zs=ot.ERR_METHOD_NOT_IMPLEMENTED,el=ot.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,ce,Qt,Xt;J()(h,Ae);var Oe=ir.errorOrDestroy,zt=["error","close","destroy","pause","resume"];function tl(e,t,r){if(typeof e.prependListener=="function")return e.prependListener(t,r);!e._events||!e._events[t]?e.on(t,r):Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]}function Yi(e,t,r){he=he||Z(),e=e||{},typeof r!="boolean"&&(r=t instanceof he),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=Zs(this,e,"readableHighWaterMark",r),this.buffer=new Ks,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=e.emitClose!==!1,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(ce||(ce=Kt().StringDecoder),this.decoder=new ce(e.encoding),this.encoding=e.encoding)}function h(e){if(he=he||Z(),!(this instanceof h))return new h(e);var t=this instanceof he;this._readableState=new Yi(e,this,t),this.readable=!0,e&&(typeof e.read=="function"&&(this._read=e.read),typeof e.destroy=="function"&&(this._destroy=e.destroy)),Ae.call(this)}Object.defineProperty(h.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(t){!this._readableState||(this._readableState.destroyed=t)}});h.prototype.destroy=ir.destroy;h.prototype._undestroy=ir.undestroy;h.prototype._destroy=function(e,t){t(e)};h.prototype.push=function(e,t){var r=this._readableState,i;return r.objectMode?i=!0:typeof e=="string"&&(t=t||r.defaultEncoding,t!==r.encoding&&(e=nt.from(e,t),t=""),i=!0),Hi(this,e,t,!1,i)};h.prototype.unshift=function(e){return Hi(this,e,null,!0,!1)};function Hi(e,t,r,i,n){u("readableAddChunk",t);var o=e._readableState;if(t===null)o.reading=!1,nl(e,o);else{var s;if(n||(s=rl(o,t)),s)Oe(e,s);else if(o.objectMode||t&&t.length>0)if(typeof t!="string"&&!o.objectMode&&Object.getPrototypeOf(t)!==nt.prototype&&(t=Hs(t)),i)o.endEmitted?Oe(e,new el):er(e,o,t,!0);else if(o.ended)Oe(e,new Xs);else{if(o.destroyed)return!1;o.reading=!1,o.decoder&&!r?(t=o.decoder.write(t),o.objectMode||t.length!==0?er(e,o,t,!1):rr(e,o)):er(e,o,t,!1)}else i||(o.reading=!1,rr(e,o))}return!o.ended&&(o.length<o.highWaterMark||o.length===0)}function er(e,t,r,i){t.flowing&&t.length===0&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,i?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&st(e)),rr(e,t)}function rl(e,t){var r;return!Vs(t)&&typeof t!="string"&&t!==void 0&&!e.objectMode&&(r=new Qs("chunk",["string","Buffer","Uint8Array"],t)),r}h.prototype.isPaused=function(){return this._readableState.flowing===!1};h.prototype.setEncoding=function(e){ce||(ce=Kt().StringDecoder);var t=new ce(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,i="";r!==null;)i+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),i!==""&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var Gi=1073741824;function il(e){return e>=Gi?e=Gi:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function Wi(e,t){return e<=0||t.length===0&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=il(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}h.prototype.read=function(e){u("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(e!==0&&(t.emittedReadable=!1),e===0&&t.needReadable&&((t.highWaterMark!==0?t.length>=t.highWaterMark:t.length>0)||t.ended))return u("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?tr(this):st(this),null;if(e=Wi(e,t),e===0&&t.ended)return t.length===0&&tr(this),null;var i=t.needReadable;u("need readable",i),(t.length===0||t.length-e<t.highWaterMark)&&(i=!0,u("length less than watermark",i)),t.ended||t.reading?(i=!1,u("reading or ended",i)):i&&(u("do read"),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=Wi(r,t)));var n;return e>0?n=Ji(e,t):n=null,n===null?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),t.length===0&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&tr(this)),n!==null&&this.emit("data",n),n};function nl(e,t){if(u("onEofChunk"),!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?st(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,Vi(e)))}}function st(e){var t=e._readableState;u("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(u("emitReadable",t.flowing),t.emittedReadable=!0,process.nextTick(Vi,e))}function Vi(e){var t=e._readableState;u("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,nr(e)}function rr(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(ol,e,t))}function ol(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&t.length===0);){var r=t.length;if(u("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}h.prototype._read=function(e){Oe(this,new zs("_read()"))};h.prototype.pipe=function(e,t){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e);break}i.pipesCount+=1,u("pipe count=%d opts=%j",i.pipesCount,t);var n=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,o=n?l:_;i.endEmitted?process.nextTick(o):r.once("end",o),e.on("unpipe",s);function s(k,v){u("onunpipe"),k===r&&v&&v.hasUnpiped===!1&&(v.hasUnpiped=!0,c())}function l(){u("onend"),e.end()}var a=sl(r);e.on("drain",a);var f=!1;function c(){u("cleanup"),e.removeListener("close",m),e.removeListener("finish",S),e.removeListener("drain",a),e.removeListener("error",y),e.removeListener("unpipe",s),r.removeListener("end",l),r.removeListener("end",_),r.removeListener("data",d),f=!0,i.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&a()}r.on("data",d);function d(k){u("ondata");var v=e.write(k);u("dest.write",v),v===!1&&((i.pipesCount===1&&i.pipes===e||i.pipesCount>1&&Zi(i.pipes,e)!==-1)&&!f&&(u("false write response, pause",i.awaitDrain),i.awaitDrain++),r.pause())}function y(k){u("onerror",k),_(),e.removeListener("error",y),$i(e,"error")===0&&Oe(e,k)}tl(e,"error",y);function m(){e.removeListener("finish",S),_()}e.once("close",m);function S(){u("onfinish"),e.removeListener("close",m),_()}e.once("finish",S);function _(){u("unpipe"),r.unpipe(e)}return e.emit("pipe",r),i.flowing||(u("pipe resume"),r.resume()),e};function sl(e){return function(){var r=e._readableState;u("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,r.awaitDrain===0&&$i(e,"data")&&(r.flowing=!0,nr(e))}}h.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(t.pipesCount===0)return this;if(t.pipesCount===1)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r),this);if(!e){var i=t.pipes,n=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<n;o++)i[o].emit("unpipe",this,{hasUnpiped:!1});return this}var s=Zi(t.pipes,e);return s===-1?this:(t.pipes.splice(s,1),t.pipesCount-=1,t.pipesCount===1&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r),this)};h.prototype.on=function(e,t){var r=Ae.prototype.on.call(this,e,t),i=this._readableState;return e==="data"?(i.readableListening=this.listenerCount("readable")>0,i.flowing!==!1&&this.resume()):e==="readable"&&!i.endEmitted&&!i.readableListening&&(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,u("on readable",i.length,i.reading),i.length?st(this):i.reading||process.nextTick(ll,this)),r};h.prototype.addListener=h.prototype.on;h.prototype.removeListener=function(e,t){var r=Ae.prototype.removeListener.call(this,e,t);return e==="readable"&&process.nextTick(Ki,this),r};h.prototype.removeAllListeners=function(e){var t=Ae.prototype.removeAllListeners.apply(this,arguments);return(e==="readable"||e===void 0)&&process.nextTick(Ki,this),t};function Ki(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function ll(e){u("readable nexttick read 0"),e.read(0)}h.prototype.resume=function(){var e=this._readableState;return e.flowing||(u("resume"),e.flowing=!e.readableListening,al(this,e)),e.paused=!1,this};function al(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(fl,e,t))}function fl(e,t){u("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),nr(e),t.flowing&&!t.reading&&e.read(0)}h.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(u("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function nr(e){var t=e._readableState;for(u("flow",t.flowing);t.flowing&&e.read()!==null;);}h.prototype.wrap=function(e){var t=this,r=this._readableState,i=!1;e.on("end",function(){if(u("wrapped end"),r.decoder&&!r.ended){var s=r.decoder.end();s&&s.length&&t.push(s)}t.push(null)}),e.on("data",function(s){if(u("wrapped data"),r.decoder&&(s=r.decoder.write(s)),!(r.objectMode&&s==null)&&!(!r.objectMode&&(!s||!s.length))){var l=t.push(s);l||(i=!0,e.pause())}});for(var n in e)this[n]===void 0&&typeof e[n]=="function"&&(this[n]=function(l){return function(){return e[l].apply(e,arguments)}}(n));for(var o=0;o<zt.length;o++)e.on(zt[o],this.emit.bind(this,zt[o]));return this._read=function(s){u("wrapped _read",s),i&&(i=!1,e.resume())},this};typeof Symbol=="function"&&(h.prototype[Symbol.asyncIterator]=function(){return Qt===void 0&&(Qt=Fi()),Qt(this)});Object.defineProperty(h.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Object.defineProperty(h.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}});Object.defineProperty(h.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}});h._fromList=Ji;Object.defineProperty(h.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function Ji(e,t){if(t.length===0)return null;var r;return t.objectMode?r=t.buffer.shift():!e||e>=t.length?(t.decoder?r=t.buffer.join(""):t.buffer.length===1?r=t.buffer.first():r=t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r}function tr(e){var t=e._readableState;u("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(ul,t,e))}function ul(e,t){if(u("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&e.length===0&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}typeof Symbol=="function"&&(h.from=function(e,t){return Xt===void 0&&(Xt=Ui()),Xt(h,e,t)});function Zi(e,t){for(var r=0,i=e.length;r<i;r++)if(e[r]===t)return r;return-1}});var or=p((Fa,zi)=>{"use strict";zi.exports=U;var lt=G().codes,hl=lt.ERR_METHOD_NOT_IMPLEMENTED,cl=lt.ERR_MULTIPLE_CALLBACK,dl=lt.ERR_TRANSFORM_ALREADY_TRANSFORMING,pl=lt.ERR_TRANSFORM_WITH_LENGTH_0,at=Z();J()(U,at);function _l(e,t){var r=this._transformState;r.transforming=!1;var i=r.writecb;if(i===null)return this.emit("error",new cl);r.writechunk=null,r.writecb=null,t!=null&&this.push(t),i(e);var n=this._readableState;n.reading=!1,(n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}function U(e){if(!(this instanceof U))return new U(e);at.call(this,e),this._transformState={afterTransform:_l.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.on("prefinish",gl)}function gl(){var e=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(t,r){Xi(e,t,r)}):Xi(this,null,null)}U.prototype.push=function(e,t){return this._transformState.needTransform=!1,at.prototype.push.call(this,e,t)};U.prototype._transform=function(e,t,r){r(new hl("_transform()"))};U.prototype._write=function(e,t,r){var i=this._transformState;if(i.writecb=r,i.writechunk=e,i.writeencoding=t,!i.transforming){var n=this._readableState;(i.needTransform||n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}};U.prototype._read=function(e){var t=this._transformState;t.writechunk!==null&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0};U.prototype._destroy=function(e,t){at.prototype._destroy.call(this,e,function(r){t(r)})};function Xi(e,t,r){if(t)return e.emit("error",t);if(r!=null&&e.push(r),e._writableState.length)throw new pl;if(e._transformState.transforming)throw new dl;return e.push(null)}});var rn=p((ja,tn)=>{"use strict";tn.exports=Ce;var en=or();J()(Ce,en);function Ce(e){if(!(this instanceof Ce))return new Ce(e);en.call(this,e)}Ce.prototype._transform=function(e,t,r){r(null,e)}});var an=p((ka,ln)=>{"use strict";var sr;function bl(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var sn=G().codes,yl=sn.ERR_MISSING_ARGS,xl=sn.ERR_STREAM_DESTROYED;function nn(e){if(e)throw e}function ml(e){return e.setHeader&&typeof e.abort=="function"}function vl(e,t,r,i){i=bl(i);var n=!1;e.on("close",function(){n=!0}),sr===void 0&&(sr=tt()),sr(e,{readable:t,writable:r},function(s){if(s)return i(s);n=!0,i()});var o=!1;return function(s){if(!n&&!o){if(o=!0,ml(e))return e.abort();if(typeof e.destroy=="function")return e.destroy();i(s||new xl("pipe"))}}}function on(e){e()}function wl(e,t){return e.pipe(t)}function El(e){return!e.length||typeof e[e.length-1]!="function"?nn:e.pop()}function Rl(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var i=El(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new yl("streams");var n,o=t.map(function(s,l){var a=l<t.length-1,f=l>0;return vl(s,a,f,function(c){n||(n=c),c&&o.forEach(on),!a&&(o.forEach(on),i(n))})});return t.reduce(wl)}ln.exports=Rl});var fn=p((I,Me)=>{var Be=O("stream");process.env.READABLE_STREAM==="disable"&&Be?(Me.exports=Be.Readable,Object.assign(Me.exports,Be),Me.exports.Stream=Be):(I=Me.exports=$t(),I.Stream=Be||I,I.Readable=I,I.Writable=Ut(),I.Duplex=Z(),I.Transform=or(),I.PassThrough=rn(),I.finished=tt(),I.pipeline=an())});var cn=p((qa,hn)=>{"use strict";var{Buffer:L}=O("buffer"),un=Symbol.for("BufferList");function g(e){if(!(this instanceof g))return new g(e);g._init.call(this,e)}g._init=function(t){Object.defineProperty(this,un,{value:!0}),this._bufs=[],this.length=0,t&&this.append(t)};g.prototype._new=function(t){return new g(t)};g.prototype._offset=function(t){if(t===0)return[0,0];let r=0;for(let i=0;i<this._bufs.length;i++){let n=r+this._bufs[i].length;if(t<n||i===this._bufs.length-1)return[i,t-r];r=n}};g.prototype._reverseOffset=function(e){let t=e[0],r=e[1];for(let i=0;i<t;i++)r+=this._bufs[i].length;return r};g.prototype.get=function(t){if(t>this.length||t<0)return;let r=this._offset(t);return this._bufs[r[0]][r[1]]};g.prototype.slice=function(t,r){return typeof t=="number"&&t<0&&(t+=this.length),typeof r=="number"&&r<0&&(r+=this.length),this.copy(null,0,t,r)};g.prototype.copy=function(t,r,i,n){if((typeof i!="number"||i<0)&&(i=0),(typeof n!="number"||n>this.length)&&(n=this.length),i>=this.length||n<=0)return t||L.alloc(0);let o=!!t,s=this._offset(i),l=n-i,a=l,f=o&&r||0,c=s[1];if(i===0&&n===this.length){if(!o)return this._bufs.length===1?this._bufs[0]:L.concat(this._bufs,this.length);for(let d=0;d<this._bufs.length;d++)this._bufs[d].copy(t,f),f+=this._bufs[d].length;return t}if(a<=this._bufs[s[0]].length-c)return o?this._bufs[s[0]].copy(t,r,c,c+a):this._bufs[s[0]].slice(c,c+a);o||(t=L.allocUnsafe(l));for(let d=s[0];d<this._bufs.length;d++){let y=this._bufs[d].length-c;if(a>y)this._bufs[d].copy(t,f,c),f+=y;else{this._bufs[d].copy(t,f,c,c+a),f+=y;break}a-=y,c&&(c=0)}return t.length>f?t.slice(0,f):t};g.prototype.shallowSlice=function(t,r){if(t=t||0,r=typeof r!="number"?this.length:r,t<0&&(t+=this.length),r<0&&(r+=this.length),t===r)return this._new();let i=this._offset(t),n=this._offset(r),o=this._bufs.slice(i[0],n[0]+1);return n[1]===0?o.pop():o[o.length-1]=o[o.length-1].slice(0,n[1]),i[1]!==0&&(o[0]=o[0].slice(i[1])),this._new(o)};g.prototype.toString=function(t,r,i){return this.slice(r,i).toString(t)};g.prototype.consume=function(t){if(t=Math.trunc(t),Number.isNaN(t)||t<=0)return this;for(;this._bufs.length;)if(t>=this._bufs[0].length)t-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift();else{this._bufs[0]=this._bufs[0].slice(t),this.length-=t;break}return this};g.prototype.duplicate=function(){let t=this._new();for(let r=0;r<this._bufs.length;r++)t.append(this._bufs[r]);return t};g.prototype.append=function(t){if(t==null)return this;if(t.buffer)this._appendBuffer(L.from(t.buffer,t.byteOffset,t.byteLength));else if(Array.isArray(t))for(let r=0;r<t.length;r++)this.append(t[r]);else if(this._isBufferList(t))for(let r=0;r<t._bufs.length;r++)this.append(t._bufs[r]);else typeof t=="number"&&(t=t.toString()),this._appendBuffer(L.from(t));return this};g.prototype._appendBuffer=function(t){this._bufs.push(t),this.length+=t.length};g.prototype.indexOf=function(e,t,r){if(r===void 0&&typeof t=="string"&&(r=t,t=void 0),typeof e=="function"||Array.isArray(e))throw new TypeError('The "value" argument must be one of type string, Buffer, BufferList, or Uint8Array.');if(typeof e=="number"?e=L.from([e]):typeof e=="string"?e=L.from(e,r):this._isBufferList(e)?e=e.slice():Array.isArray(e.buffer)?e=L.from(e.buffer,e.byteOffset,e.byteLength):L.isBuffer(e)||(e=L.from(e)),t=Number(t||0),isNaN(t)&&(t=0),t<0&&(t=this.length+t),t<0&&(t=0),e.length===0)return t>this.length?this.length:t;let i=this._offset(t),n=i[0],o=i[1];for(;n<this._bufs.length;n++){let s=this._bufs[n];for(;o<s.length;)if(s.length-o>=e.length){let a=s.indexOf(e,o);if(a!==-1)return this._reverseOffset([n,a]);o=s.length-e.length+1}else{let a=this._reverseOffset([n,o]);if(this._match(a,e))return a;o++}o=0}return-1};g.prototype._match=function(e,t){if(this.length-e<t.length)return!1;for(let r=0;r<t.length;r++)if(this.get(e+r)!==t[r])return!1;return!0};(function(){let e={readDoubleBE:8,readDoubleLE:8,readFloatBE:4,readFloatLE:4,readInt32BE:4,readInt32LE:4,readUInt32BE:4,readUInt32LE:4,readInt16BE:2,readInt16LE:2,readUInt16BE:2,readUInt16LE:2,readInt8:1,readUInt8:1,readIntBE:null,readIntLE:null,readUIntBE:null,readUIntLE:null};for(let t in e)(function(r){e[r]===null?g.prototype[r]=function(i,n){return this.slice(i,i+n)[r](0,n)}:g.prototype[r]=function(i=0){return this.slice(i,i+e[r])[r](0)}})(t)})();g.prototype._isBufferList=function(t){return t instanceof g||g.isBufferList(t)};g.isBufferList=function(t){return t!=null&&t[un]};hn.exports=g});var dn=p((Ua,ft)=>{"use strict";var lr=fn().Duplex,Sl=J(),Ie=cn();function T(e){if(!(this instanceof T))return new T(e);if(typeof e=="function"){this._callback=e;let t=function(i){this._callback&&(this._callback(i),this._callback=null)}.bind(this);this.on("pipe",function(i){i.on("error",t)}),this.on("unpipe",function(i){i.removeListener("error",t)}),e=null}Ie._init.call(this,e),lr.call(this)}Sl(T,lr);Object.assign(T.prototype,Ie.prototype);T.prototype._new=function(t){return new T(t)};T.prototype._write=function(t,r,i){this._appendBuffer(t),typeof i=="function"&&i()};T.prototype._read=function(t){if(!this.length)return this.push(null);t=Math.min(t,this.length),this.push(this.slice(0,t)),this.consume(t)};T.prototype.end=function(t){lr.prototype.end.call(this,t),this._callback&&(this._callback(null,this.slice()),this._callback=null)};T.prototype._destroy=function(t,r){this._bufs.length=0,this.length=0,r(t)};T.prototype._isBufferList=function(t){return t instanceof T||t instanceof Ie||T.isBufferList(t)};T.isBufferList=Ie.isBufferList;ft.exports=T;ft.exports.BufferListStream=T;ft.exports.BufferList=Ie});var pr=(e=0)=>t=>`\x1B[${t+e}m`,_r=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,gr=(e=0)=>(t,r,i)=>`\x1B[${38+e};2;${t};${r};${i}m`;function An(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(let[r,i]of Object.entries(t)){for(let[n,o]of Object.entries(i))t[n]={open:`\x1B[${o[0]}m`,close:`\x1B[${o[1]}m`},i[n]=t[n],e.set(o[0],o[1]);Object.defineProperty(t,r,{value:i,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",t.color.ansi=pr(),t.color.ansi256=_r(),t.color.ansi16m=gr(),t.bgColor.ansi=pr(10),t.bgColor.ansi256=_r(10),t.bgColor.ansi16m=gr(10),Object.defineProperties(t,{rgbToAnsi256:{value:(r,i,n)=>r===i&&i===n?r<8?16:r>248?231:Math.round((r-8)/247*24)+232:16+36*Math.round(r/255*5)+6*Math.round(i/255*5)+Math.round(n/255*5),enumerable:!1},hexToRgb:{value:r=>{let i=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(r.toString(16));if(!i)return[0,0,0];let{colorString:n}=i.groups;n.length===3&&(n=[...n].map(s=>s+s).join(""));let o=Number.parseInt(n,16);return[o>>16&255,o>>8&255,o&255]},enumerable:!1},hexToAnsi256:{value:r=>t.rgbToAnsi256(...t.hexToRgb(r)),enumerable:!1},ansi256ToAnsi:{value:r=>{if(r<8)return 30+r;if(r<16)return 90+(r-8);let i,n,o;if(r>=232)i=((r-232)*10+8)/255,n=i,o=i;else{r-=16;let a=r%36;i=Math.floor(r/36)/5,n=Math.floor(a/6)/5,o=a%6/5}let s=Math.max(i,n,o)*2;if(s===0)return 30;let l=30+(Math.round(o)<<2|Math.round(n)<<1|Math.round(i));return s===2&&(l+=60),l},enumerable:!1},rgbToAnsi:{value:(r,i,n)=>t.ansi256ToAnsi(t.rgbToAnsi256(r,i,n)),enumerable:!1},hexToAnsi:{value:r=>t.ansi256ToAnsi(t.hexToAnsi256(r)),enumerable:!1}}),t}var Cn=An(),D=Cn;import pt from"node:process";import Bn from"node:os";import br from"node:tty";function C(e,t=pt.argv){let r=e.startsWith("-")?"":e.length===1?"-":"--",i=t.indexOf(r+e),n=t.indexOf("--");return i!==-1&&(n===-1||i<n)}var{env:w}=pt,Le;C("no-color")||C("no-colors")||C("color=false")||C("color=never")?Le=0:(C("color")||C("colors")||C("color=true")||C("color=always"))&&(Le=1);function Mn(){if("FORCE_COLOR"in w)return w.FORCE_COLOR==="true"?1:w.FORCE_COLOR==="false"?0:w.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(w.FORCE_COLOR,10),3)}function In(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function Dn(e,{streamIsTTY:t,sniffFlags:r=!0}={}){let i=Mn();i!==void 0&&(Le=i);let n=r?Le:i;if(n===0)return 0;if(r){if(C("color=16m")||C("color=full")||C("color=truecolor"))return 3;if(C("color=256"))return 2}if(e&&!t&&n===void 0)return 0;let o=n||0;if(w.TERM==="dumb")return o;if(pt.platform==="win32"){let s=Bn.release().split(".");return Number(s[0])>=10&&Number(s[2])>=10586?Number(s[2])>=14931?3:2:1}if("CI"in w)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(s=>s in w)||w.CI_NAME==="codeship"?1:o;if("TEAMCITY_VERSION"in w)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(w.TEAMCITY_VERSION)?1:0;if("TF_BUILD"in w&&"AGENT_NAME"in w)return 1;if(w.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in w){let s=Number.parseInt((w.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(w.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(w.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(w.TERM)||"COLORTERM"in w?1:o}function yr(e,t={}){let r=Dn(e,{streamIsTTY:e&&e.isTTY,...t});return In(r)}var Ln={stdout:yr({isTTY:br.isatty(1)}),stderr:yr({isTTY:br.isatty(2)})},xr=Ln;function mr(e,t,r){let i=e.indexOf(t);if(i===-1)return e;let n=t.length,o=0,s="";do s+=e.substr(o,i-o)+t+r,o=i+n,i=e.indexOf(t,o);while(i!==-1);return s+=e.slice(o),s}function vr(e,t,r,i){let n=0,o="";do{let s=e[i-1]==="\r";o+=e.substr(n,(s?i-1:i)-n)+t+(s?`\r
4
+ var wn=Object.create;var _r=Object.defineProperty;var En=Object.getOwnPropertyDescriptor;var Rn=Object.getOwnPropertyNames;var Sn=Object.getPrototypeOf,Tn=Object.prototype.hasOwnProperty;var O=(e=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(e,{get:(t,r)=>(typeof require!="undefined"?require:t)[r]}):e)(function(e){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var p=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var On=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Rn(t))!Tn.call(e,n)&&n!==r&&_r(e,n,{get:()=>t[n],enumerable:!(i=En(t,n))||i.enumerable});return e};var pe=(e,t,r)=>(r=e!=null?wn(Sn(e)):{},On(t||!e||!e.__esModule?_r(r,"default",{value:e,enumerable:!0}):r,e));var Pr=p((Ql,Rt)=>{"use strict";var Nr=(e,t)=>{for(let r of Reflect.ownKeys(t))Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));return e};Rt.exports=Nr;Rt.exports.default=Nr});var jr=p((Xl,qe)=>{"use strict";var co=Pr(),ke=new WeakMap,Fr=(e,t={})=>{if(typeof e!="function")throw new TypeError("Expected a function");let r,i=0,n=e.displayName||e.name||"<anonymous>",o=function(...s){if(ke.set(o,++i),i===1)r=e.apply(this,s),e=null;else if(t.throw===!0)throw new Error(`Function \`${n}\` can only be called once`);return r};return co(o,e),ke.set(o,i),o};qe.exports=Fr;qe.exports.default=Fr;qe.exports.callCount=e=>{if(!ke.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return ke.get(e)}});var kr=p((zl,Ue)=>{Ue.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&Ue.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&Ue.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var $r=p((ea,le)=>{var b=global.process,V=function(e){return e&&typeof e=="object"&&typeof e.removeListener=="function"&&typeof e.emit=="function"&&typeof e.reallyExit=="function"&&typeof e.listeners=="function"&&typeof e.kill=="function"&&typeof e.pid=="number"&&typeof e.on=="function"};V(b)?(qr=O("assert"),oe=kr(),Ur=/^win/i.test(b.platform),xe=O("events"),typeof xe!="function"&&(xe=xe.EventEmitter),b.__signal_exit_emitter__?R=b.__signal_exit_emitter__:(R=b.__signal_exit_emitter__=new xe,R.count=0,R.emitted={}),R.infinite||(R.setMaxListeners(1/0),R.infinite=!0),le.exports=function(e,t){if(!V(global.process))return function(){};qr.equal(typeof e,"function","a callback must be provided for exit handler"),se===!1&&St();var r="exit";t&&t.alwaysLast&&(r="afterexit");var i=function(){R.removeListener(r,e),R.listeners("exit").length===0&&R.listeners("afterexit").length===0&&Ge()};return R.on(r,e),i},Ge=function(){!se||!V(global.process)||(se=!1,oe.forEach(function(t){try{b.removeListener(t,We[t])}catch{}}),b.emit=$e,b.reallyExit=Tt,R.count-=1)},le.exports.unload=Ge,K=function(t,r,i){R.emitted[t]||(R.emitted[t]=!0,R.emit(t,r,i))},We={},oe.forEach(function(e){We[e]=function(){if(!!V(global.process)){var r=b.listeners(e);r.length===R.count&&(Ge(),K("exit",null,e),K("afterexit",null,e),Ur&&e==="SIGHUP"&&(e="SIGINT"),b.kill(b.pid,e))}}}),le.exports.signals=function(){return oe},se=!1,St=function(){se||!V(global.process)||(se=!0,R.count+=1,oe=oe.filter(function(t){try{return b.on(t,We[t]),!0}catch{return!1}}),b.emit=Wr,b.reallyExit=Gr)},le.exports.load=St,Tt=b.reallyExit,Gr=function(t){!V(global.process)||(b.exitCode=t||0,K("exit",b.exitCode,null),K("afterexit",b.exitCode,null),Tt.call(b,b.exitCode))},$e=b.emit,Wr=function(t,r){if(t==="exit"&&V(global.process)){r!==void 0&&(b.exitCode=r);var i=$e.apply(this,arguments);return K("exit",b.exitCode,null),K("afterexit",b.exitCode,null),i}else return $e.apply(this,arguments)}):le.exports=function(){return function(){}};var qr,oe,Ur,xe,R,Ge,K,We,se,St,Tt,Gr,$e,Wr});var Jr=p((sa,go)=>{go.exports={dots:{interval:80,frames:["⠋","⠙","⠹","⠸","⠼","⠴","⠦","⠧","⠇","⠏"]},dots2:{interval:80,frames:["⣾","⣽","⣻","⢿","⡿","⣟","⣯","⣷"]},dots3:{interval:80,frames:["⠋","⠙","⠚","⠞","⠖","⠦","⠴","⠲","⠳","⠓"]},dots4:{interval:80,frames:["⠄","⠆","⠇","⠋","⠙","⠸","⠰","⠠","⠰","⠸","⠙","⠋","⠇","⠆"]},dots5:{interval:80,frames:["⠋","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋"]},dots6:{interval:80,frames:["⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠴","⠲","⠒","⠂","⠂","⠒","⠚","⠙","⠉","⠁"]},dots7:{interval:80,frames:["⠈","⠉","⠋","⠓","⠒","⠐","⠐","⠒","⠖","⠦","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈"]},dots8:{interval:80,frames:["⠁","⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈","⠈"]},dots9:{interval:80,frames:["⢹","⢺","⢼","⣸","⣇","⡧","⡗","⡏"]},dots10:{interval:80,frames:["⢄","⢂","⢁","⡁","⡈","⡐","⡠"]},dots11:{interval:100,frames:["⠁","⠂","⠄","⡀","⢀","⠠","⠐","⠈"]},dots12:{interval:80,frames:["⢀⠀","⡀⠀","⠄⠀","⢂⠀","⡂⠀","⠅⠀","⢃⠀","⡃⠀","⠍⠀","⢋⠀","⡋⠀","⠍⠁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⢈⠩","⡀⢙","⠄⡙","⢂⠩","⡂⢘","⠅⡘","⢃⠨","⡃⢐","⠍⡐","⢋⠠","⡋⢀","⠍⡁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⠈⠩","⠀⢙","⠀⡙","⠀⠩","⠀⢘","⠀⡘","⠀⠨","⠀⢐","⠀⡐","⠀⠠","⠀⢀","⠀⡀"]},dots8Bit:{interval:80,frames:["⠀","⠁","⠂","⠃","⠄","⠅","⠆","⠇","⡀","⡁","⡂","⡃","⡄","⡅","⡆","⡇","⠈","⠉","⠊","⠋","⠌","⠍","⠎","⠏","⡈","⡉","⡊","⡋","⡌","⡍","⡎","⡏","⠐","⠑","⠒","⠓","⠔","⠕","⠖","⠗","⡐","⡑","⡒","⡓","⡔","⡕","⡖","⡗","⠘","⠙","⠚","⠛","⠜","⠝","⠞","⠟","⡘","⡙","⡚","⡛","⡜","⡝","⡞","⡟","⠠","⠡","⠢","⠣","⠤","⠥","⠦","⠧","⡠","⡡","⡢","⡣","⡤","⡥","⡦","⡧","⠨","⠩","⠪","⠫","⠬","⠭","⠮","⠯","⡨","⡩","⡪","⡫","⡬","⡭","⡮","⡯","⠰","⠱","⠲","⠳","⠴","⠵","⠶","⠷","⡰","⡱","⡲","⡳","⡴","⡵","⡶","⡷","⠸","⠹","⠺","⠻","⠼","⠽","⠾","⠿","⡸","⡹","⡺","⡻","⡼","⡽","⡾","⡿","⢀","⢁","⢂","⢃","⢄","⢅","⢆","⢇","⣀","⣁","⣂","⣃","⣄","⣅","⣆","⣇","⢈","⢉","⢊","⢋","⢌","⢍","⢎","⢏","⣈","⣉","⣊","⣋","⣌","⣍","⣎","⣏","⢐","⢑","⢒","⢓","⢔","⢕","⢖","⢗","⣐","⣑","⣒","⣓","⣔","⣕","⣖","⣗","⢘","⢙","⢚","⢛","⢜","⢝","⢞","⢟","⣘","⣙","⣚","⣛","⣜","⣝","⣞","⣟","⢠","⢡","⢢","⢣","⢤","⢥","⢦","⢧","⣠","⣡","⣢","⣣","⣤","⣥","⣦","⣧","⢨","⢩","⢪","⢫","⢬","⢭","⢮","⢯","⣨","⣩","⣪","⣫","⣬","⣭","⣮","⣯","⢰","⢱","⢲","⢳","⢴","⢵","⢶","⢷","⣰","⣱","⣲","⣳","⣴","⣵","⣶","⣷","⢸","⢹","⢺","⢻","⢼","⢽","⢾","⢿","⣸","⣹","⣺","⣻","⣼","⣽","⣾","⣿"]},line:{interval:130,frames:["-","\\","|","/"]},line2:{interval:100,frames:["⠂","-","–","—","–","-"]},pipe:{interval:100,frames:["┤","┘","┴","└","├","┌","┬","┐"]},simpleDots:{interval:400,frames:[". ",".. ","..."," "]},simpleDotsScrolling:{interval:200,frames:[". ",".. ","..."," .."," ."," "]},star:{interval:70,frames:["✶","✸","✹","✺","✹","✷"]},star2:{interval:80,frames:["+","x","*"]},flip:{interval:70,frames:["_","_","_","-","`","`","'","´","-","_","_","_"]},hamburger:{interval:100,frames:["☱","☲","☴"]},growVertical:{interval:120,frames:["▁","▃","▄","▅","▆","▇","▆","▅","▄","▃"]},growHorizontal:{interval:120,frames:["▏","▎","▍","▌","▋","▊","▉","▊","▋","▌","▍","▎"]},balloon:{interval:140,frames:[" ",".","o","O","@","*"," "]},balloon2:{interval:120,frames:[".","o","O","°","O","o","."]},noise:{interval:100,frames:["▓","▒","░"]},bounce:{interval:120,frames:["⠁","⠂","⠄","⠂"]},boxBounce:{interval:120,frames:["▖","▘","▝","▗"]},boxBounce2:{interval:100,frames:["▌","▀","▐","▄"]},triangle:{interval:50,frames:["◢","◣","◤","◥"]},arc:{interval:100,frames:["◜","◠","◝","◞","◡","◟"]},circle:{interval:120,frames:["◡","⊙","◠"]},squareCorners:{interval:180,frames:["◰","◳","◲","◱"]},circleQuarters:{interval:120,frames:["◴","◷","◶","◵"]},circleHalves:{interval:50,frames:["◐","◓","◑","◒"]},squish:{interval:100,frames:["╫","╪"]},toggle:{interval:250,frames:["⊶","⊷"]},toggle2:{interval:80,frames:["▫","▪"]},toggle3:{interval:120,frames:["□","■"]},toggle4:{interval:100,frames:["■","□","▪","▫"]},toggle5:{interval:100,frames:["▮","▯"]},toggle6:{interval:300,frames:["ဝ","၀"]},toggle7:{interval:80,frames:["⦾","⦿"]},toggle8:{interval:100,frames:["◍","◌"]},toggle9:{interval:100,frames:["◉","◎"]},toggle10:{interval:100,frames:["㊂","㊀","㊁"]},toggle11:{interval:50,frames:["⧇","⧆"]},toggle12:{interval:120,frames:["☗","☖"]},toggle13:{interval:80,frames:["=","*","-"]},arrow:{interval:100,frames:["←","↖","↑","↗","→","↘","↓","↙"]},arrow2:{interval:80,frames:["⬆️ ","↗️ ","➡️ ","↘️ ","⬇️ ","↙️ ","⬅️ ","↖️ "]},arrow3:{interval:120,frames:["▹▹▹▹▹","▸▹▹▹▹","▹▸▹▹▹","▹▹▸▹▹","▹▹▹▸▹","▹▹▹▹▸"]},bouncingBar:{interval:80,frames:["[ ]","[= ]","[== ]","[=== ]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},bouncingBall:{interval:80,frames:["( ● )","( ● )","( ● )","( ● )","( ●)","( ● )","( ● )","( ● )","( ● )","(● )"]},smiley:{interval:200,frames:["😄 ","😝 "]},monkey:{interval:300,frames:["🙈 ","🙈 ","🙉 ","🙊 "]},hearts:{interval:100,frames:["💛 ","💙 ","💜 ","💚 ","❤️ "]},clock:{interval:100,frames:["🕛 ","🕐 ","🕑 ","🕒 ","🕓 ","🕔 ","🕕 ","🕖 ","🕗 ","🕘 ","🕙 ","🕚 "]},earth:{interval:180,frames:["🌍 ","🌎 ","🌏 "]},material:{interval:17,frames:["█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","███▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","████▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁","███████▁▁▁▁▁▁▁▁▁▁▁▁▁","████████▁▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","██████████▁▁▁▁▁▁▁▁▁▁","███████████▁▁▁▁▁▁▁▁▁","█████████████▁▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁▁██████████████▁▁▁▁","▁▁▁██████████████▁▁▁","▁▁▁▁█████████████▁▁▁","▁▁▁▁██████████████▁▁","▁▁▁▁██████████████▁▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁▁██████████████","▁▁▁▁▁▁██████████████","▁▁▁▁▁▁▁█████████████","▁▁▁▁▁▁▁█████████████","▁▁▁▁▁▁▁▁████████████","▁▁▁▁▁▁▁▁████████████","▁▁▁▁▁▁▁▁▁███████████","▁▁▁▁▁▁▁▁▁███████████","▁▁▁▁▁▁▁▁▁▁██████████","▁▁▁▁▁▁▁▁▁▁██████████","▁▁▁▁▁▁▁▁▁▁▁▁████████","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁██████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","███▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","████▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","██████▁▁▁▁▁▁▁▁▁▁▁▁▁█","████████▁▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","███████████▁▁▁▁▁▁▁▁▁","████████████▁▁▁▁▁▁▁▁","████████████▁▁▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁▁▁█████████████▁▁▁▁","▁▁▁▁▁████████████▁▁▁","▁▁▁▁▁████████████▁▁▁","▁▁▁▁▁▁███████████▁▁▁","▁▁▁▁▁▁▁▁█████████▁▁▁","▁▁▁▁▁▁▁▁█████████▁▁▁","▁▁▁▁▁▁▁▁▁█████████▁▁","▁▁▁▁▁▁▁▁▁█████████▁▁","▁▁▁▁▁▁▁▁▁▁█████████▁","▁▁▁▁▁▁▁▁▁▁▁████████▁","▁▁▁▁▁▁▁▁▁▁▁████████▁","▁▁▁▁▁▁▁▁▁▁▁▁███████▁","▁▁▁▁▁▁▁▁▁▁▁▁███████▁","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁"]},moon:{interval:80,frames:["🌑 ","🌒 ","🌓 ","🌔 ","🌕 ","🌖 ","🌗 ","🌘 "]},runner:{interval:140,frames:["🚶 ","🏃 "]},pong:{interval:80,frames:["▐⠂ ▌","▐⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂▌","▐ ⠠▌","▐ ⡀▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐⠠ ▌"]},shark:{interval:120,frames:["▐|\\____________▌","▐_|\\___________▌","▐__|\\__________▌","▐___|\\_________▌","▐____|\\________▌","▐_____|\\_______▌","▐______|\\______▌","▐_______|\\_____▌","▐________|\\____▌","▐_________|\\___▌","▐__________|\\__▌","▐___________|\\_▌","▐____________|\\▌","▐____________/|▌","▐___________/|_▌","▐__________/|__▌","▐_________/|___▌","▐________/|____▌","▐_______/|_____▌","▐______/|______▌","▐_____/|_______▌","▐____/|________▌","▐___/|_________▌","▐__/|__________▌","▐_/|___________▌","▐/|____________▌"]},dqpb:{interval:100,frames:["d","q","p","b"]},weather:{interval:100,frames:["☀️ ","☀️ ","☀️ ","🌤 ","⛅️ ","🌥 ","☁️ ","🌧 ","🌨 ","🌧 ","🌨 ","🌧 ","🌨 ","⛈ ","🌨 ","🌧 ","🌨 ","☁️ ","🌥 ","⛅️ ","🌤 ","☀️ ","☀️ "]},christmas:{interval:400,frames:["🌲","🎄"]},grenade:{interval:80,frames:["، ","′ "," ´ "," ‾ "," ⸌"," ⸊"," |"," ⁎"," ⁕"," ෴ "," ⁓"," "," "," "]},point:{interval:125,frames:["∙∙∙","●∙∙","∙●∙","∙∙●","∙∙∙"]},layer:{interval:150,frames:["-","=","≡"]},betaWave:{interval:80,frames:["ρββββββ","βρβββββ","ββρββββ","βββρβββ","ββββρββ","βββββρβ","ββββββρ"]},fingerDance:{interval:160,frames:["🤘 ","🤟 ","🖖 ","✋ ","🤚 ","👆 "]},fistBump:{interval:80,frames:["🤜    🤛 ","🤜    🤛 ","🤜    🤛 "," 🤜  🤛  ","  🤜🤛   "," 🤜✨🤛   ","🤜 ✨ 🤛  "]},soccerHeader:{interval:80,frames:[" 🧑⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 "]},mindblown:{interval:160,frames:["😐 ","😐 ","😮 ","😮 ","😦 ","😦 ","😧 ","😧 ","🤯 ","💥 ","✨ ","  ","  ","  "]},speaker:{interval:160,frames:["🔈 ","🔉 ","🔊 ","🔉 "]},orangePulse:{interval:100,frames:["🔸 ","🔶 ","🟠 ","🟠 ","🔶 "]},bluePulse:{interval:100,frames:["🔹 ","🔷 ","🔵 ","🔵 ","🔷 "]},orangeBluePulse:{interval:100,frames:["🔸 ","🔶 ","🟠 ","🟠 ","🔶 ","🔹 ","🔷 ","🔵 ","🔵 ","🔷 "]},timeTravel:{interval:100,frames:["🕛 ","🕚 ","🕙 ","🕘 ","🕗 ","🕖 ","🕕 ","🕔 ","🕓 ","🕒 ","🕑 ","🕐 "]},aesthetic:{interval:80,frames:["▰▱▱▱▱▱▱","▰▰▱▱▱▱▱","▰▰▰▱▱▱▱","▰▰▰▰▱▱▱","▰▰▰▰▰▱▱","▰▰▰▰▰▰▱","▰▰▰▰▰▰▰","▰▱▱▱▱▱▱"]}}});var Xr=p((la,Qr)=>{"use strict";var He=Object.assign({},Jr()),Zr=Object.keys(He);Object.defineProperty(He,"random",{get(){let e=Math.floor(Math.random()*Zr.length),t=Zr[e];return He[t]}});Qr.exports=He});var zr=p((ga,Ve)=>{var mo=function(){"use strict";function e(s,l,a,f){var c;typeof l=="object"&&(a=l.depth,f=l.prototype,c=l.filter,l=l.circular);var d=[],y=[],m=typeof Buffer<"u";typeof l>"u"&&(l=!0),typeof a>"u"&&(a=1/0);function S(_,k){if(_===null)return null;if(k==0)return _;var v,de;if(typeof _!="object")return _;if(e.__isArray(_))v=[];else if(e.__isRegExp(_))v=new RegExp(_.source,o(_)),_.lastIndex&&(v.lastIndex=_.lastIndex);else if(e.__isDate(_))v=new Date(_.getTime());else{if(m&&Buffer.isBuffer(_))return Buffer.allocUnsafe?v=Buffer.allocUnsafe(_.length):v=new Buffer(_.length),_.copy(v),v;typeof f>"u"?(de=Object.getPrototypeOf(_),v=Object.create(de)):(v=Object.create(f),de=f)}if(l){var pr=d.indexOf(_);if(pr!=-1)return y[pr];d.push(_),y.push(v)}for(var dt in _){var pt;de&&(pt=Object.getOwnPropertyDescriptor(de,dt)),!(pt&&pt.set==null)&&(v[dt]=S(_[dt],k-1))}return v}return S(s,a)}e.clonePrototype=function(l){if(l===null)return null;var a=function(){};return a.prototype=l,new a};function t(s){return Object.prototype.toString.call(s)}e.__objToStr=t;function r(s){return typeof s=="object"&&t(s)==="[object Date]"}e.__isDate=r;function i(s){return typeof s=="object"&&t(s)==="[object Array]"}e.__isArray=i;function n(s){return typeof s=="object"&&t(s)==="[object RegExp]"}e.__isRegExp=n;function o(s){var l="";return s.global&&(l+="g"),s.ignoreCase&&(l+="i"),s.multiline&&(l+="m"),l}return e.__getRegExpFlags=o,e}();typeof Ve=="object"&&Ve.exports&&(Ve.exports=mo)});var ti=p((ba,ei)=>{var vo=zr();ei.exports=function(e,t){return e=e||{},Object.keys(t).forEach(function(r){typeof e[r]>"u"&&(e[r]=vo(t[r]))}),e}});var ii=p((ya,ri)=>{ri.exports=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531],[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]]});var li=p((xa,Bt)=>{"use strict";var wo=ti(),we=ii(),oi={nul:0,control:0};Bt.exports=function(t){return si(t,oi)};Bt.exports.config=function(e){return e=wo(e||{},oi),function(r){return si(r,e)}};function si(e,t){if(typeof e!="string")return ni(e,t);for(var r=0,i=0;i<e.length;i++){var n=ni(e.charCodeAt(i),t);if(n<0)return-1;r+=n}return r}function ni(e,t){return e===0?t.nul:e<32||e>=127&&e<160?t.control:Eo(e)?0:1+(e>=4352&&(e<=4447||e==9001||e==9002||e>=11904&&e<=42191&&e!=12351||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65135||e>=65280&&e<=65376||e>=65504&&e<=65510||e>=131072&&e<=196605||e>=196608&&e<=262141))}function Eo(e){var t=0,r=we.length-1,i;if(e<we[0][0]||e>we[r][1])return!1;for(;r>=t;)if(i=Math.floor((t+r)/2),e>we[i][1])t=i+1;else if(e<we[i][0])r=i-1;else return!0;return!1}});var It=p((va,ai)=>{ai.exports=O("stream")});var ci=p((wa,hi)=>{"use strict";function fi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,i)}return r}function Ro(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?fi(Object(r),!0).forEach(function(i){So(e,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fi(Object(r)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r,i))})}return e}function So(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function To(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ui(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Oo(e,t,r){return t&&ui(e.prototype,t),r&&ui(e,r),e}var Ao=O("buffer"),Ke=Ao.Buffer,Co=O("util"),Dt=Co.inspect,Bo=Dt&&Dt.custom||"inspect";function Mo(e,t,r){Ke.prototype.copy.call(e,t,r)}hi.exports=function(){function e(){To(this,e),this.head=null,this.tail=null,this.length=0}return Oo(e,[{key:"push",value:function(r){var i={data:r,next:null};this.length>0?this.tail.next=i:this.head=i,this.tail=i,++this.length}},{key:"unshift",value:function(r){var i={data:r,next:this.head};this.length===0&&(this.tail=i),this.head=i,++this.length}},{key:"shift",value:function(){if(this.length!==0){var r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(r){if(this.length===0)return"";for(var i=this.head,n=""+i.data;i=i.next;)n+=r+i.data;return n}},{key:"concat",value:function(r){if(this.length===0)return Ke.alloc(0);for(var i=Ke.allocUnsafe(r>>>0),n=this.head,o=0;n;)Mo(n.data,i,o),o+=n.data.length,n=n.next;return i}},{key:"consume",value:function(r,i){var n;return r<this.head.data.length?(n=this.head.data.slice(0,r),this.head.data=this.head.data.slice(r)):r===this.head.data.length?n=this.shift():n=i?this._getString(r):this._getBuffer(r),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(r){var i=this.head,n=1,o=i.data;for(r-=o.length;i=i.next;){var s=i.data,l=r>s.length?s.length:r;if(l===s.length?o+=s:o+=s.slice(0,r),r-=l,r===0){l===s.length?(++n,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=s.slice(l));break}++n}return this.length-=n,o}},{key:"_getBuffer",value:function(r){var i=Ke.allocUnsafe(r),n=this.head,o=1;for(n.data.copy(i),r-=n.data.length;n=n.next;){var s=n.data,l=r>s.length?s.length:r;if(s.copy(i,i.length-r,0,l),r-=l,r===0){l===s.length?(++o,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=s.slice(l));break}++o}return this.length-=o,i}},{key:Bo,value:function(r,i){return Dt(this,Ro({},i,{depth:0,customInspect:!1}))}}]),e}()});var Nt=p((Ea,pi)=>{"use strict";function Io(e,t){var r=this,i=this._readableState&&this._readableState.destroyed,n=this._writableState&&this._writableState.destroyed;return i||n?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(Lt,this,e)):process.nextTick(Lt,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(o){!t&&o?r._writableState?r._writableState.errorEmitted?process.nextTick(Je,r):(r._writableState.errorEmitted=!0,process.nextTick(di,r,o)):process.nextTick(di,r,o):t?(process.nextTick(Je,r),t(o)):process.nextTick(Je,r)}),this)}function di(e,t){Lt(e,t),Je(e)}function Je(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function Do(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function Lt(e,t){e.emit("error",t)}function Lo(e,t){var r=e._readableState,i=e._writableState;r&&r.autoDestroy||i&&i.autoDestroy?e.destroy(t):e.emit("error",t)}pi.exports={destroy:Io,undestroy:Do,errorOrDestroy:Lo}});var G=p((Ra,bi)=>{"use strict";var gi={};function M(e,t,r){r||(r=Error);function i(o,s,l){return typeof t=="string"?t:t(o,s,l)}class n extends r{constructor(s,l,a){super(i(s,l,a))}}n.prototype.name=r.name,n.prototype.code=e,gi[e]=n}function _i(e,t){if(Array.isArray(e)){let r=e.length;return e=e.map(i=>String(i)),r>2?`one of ${t} ${e.slice(0,r-1).join(", ")}, or `+e[r-1]:r===2?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}else return`of ${t} ${String(e)}`}function No(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}function Po(e,t,r){return(r===void 0||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function Fo(e,t,r){return typeof r!="number"&&(r=0),r+t.length>e.length?!1:e.indexOf(t,r)!==-1}M("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError);M("ERR_INVALID_ARG_TYPE",function(e,t,r){let i;typeof t=="string"&&No(t,"not ")?(i="must not be",t=t.replace(/^not /,"")):i="must be";let n;if(Po(e," argument"))n=`The ${e} ${i} ${_i(t,"type")}`;else{let o=Fo(e,".")?"property":"argument";n=`The "${e}" ${o} ${i} ${_i(t,"type")}`}return n+=`. Received type ${typeof r}`,n},TypeError);M("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");M("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"});M("ERR_STREAM_PREMATURE_CLOSE","Premature close");M("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"});M("ERR_MULTIPLE_CALLBACK","Callback called multiple times");M("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");M("ERR_STREAM_WRITE_AFTER_END","write after end");M("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);M("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError);M("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");bi.exports.codes=gi});var Pt=p((Sa,yi)=>{"use strict";var jo=G().codes.ERR_INVALID_OPT_VALUE;function ko(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function qo(e,t,r,i){var n=ko(t,i,r);if(n!=null){if(!(isFinite(n)&&Math.floor(n)===n)||n<0){var o=i?r:"highWaterMark";throw new jo(o,n)}return Math.floor(n)}return e.objectMode?16:16*1024}yi.exports={getHighWaterMark:qo}});var xi=p((Ta,Ft)=>{typeof Object.create=="function"?Ft.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Ft.exports=function(t,r){if(r){t.super_=r;var i=function(){};i.prototype=r.prototype,t.prototype=new i,t.prototype.constructor=t}}});var J=p((Oa,kt)=>{try{if(jt=O("util"),typeof jt.inherits!="function")throw"";kt.exports=jt.inherits}catch{kt.exports=xi()}var jt});var vi=p((Aa,mi)=>{mi.exports=O("util").deprecate});var Gt=p((Ca,Oi)=>{"use strict";Oi.exports=x;function Ei(e){var t=this;this.next=null,this.entry=null,this.finish=function(){ds(t,e)}}var fe;x.WritableState=Re;var Uo={deprecate:vi()},Ri=It(),Qe=O("buffer").Buffer,Go=global.Uint8Array||function(){};function Wo(e){return Qe.from(e)}function $o(e){return Qe.isBuffer(e)||e instanceof Go}var Ut=Nt(),Yo=Pt(),Ho=Yo.getHighWaterMark,W=G().codes,Vo=W.ERR_INVALID_ARG_TYPE,Ko=W.ERR_METHOD_NOT_IMPLEMENTED,Jo=W.ERR_MULTIPLE_CALLBACK,Zo=W.ERR_STREAM_CANNOT_PIPE,Qo=W.ERR_STREAM_DESTROYED,Xo=W.ERR_STREAM_NULL_VALUES,zo=W.ERR_STREAM_WRITE_AFTER_END,es=W.ERR_UNKNOWN_ENCODING,ue=Ut.errorOrDestroy;J()(x,Ri);function ts(){}function Re(e,t,r){fe=fe||Z(),e=e||{},typeof r!="boolean"&&(r=t instanceof fe),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=Ho(this,e,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var i=e.decodeStrings===!1;this.decodeStrings=!i,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(n){as(t,n)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=e.emitClose!==!1,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new Ei(this)}Re.prototype.getBuffer=function(){for(var t=this.bufferedRequest,r=[];t;)r.push(t),t=t.next;return r};(function(){try{Object.defineProperty(Re.prototype,"buffer",{get:Uo.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var Ze;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Ze=Function.prototype[Symbol.hasInstance],Object.defineProperty(x,Symbol.hasInstance,{value:function(t){return Ze.call(this,t)?!0:this!==x?!1:t&&t._writableState instanceof Re}})):Ze=function(t){return t instanceof this};function x(e){fe=fe||Z();var t=this instanceof fe;if(!t&&!Ze.call(x,this))return new x(e);this._writableState=new Re(e,this,t),this.writable=!0,e&&(typeof e.write=="function"&&(this._write=e.write),typeof e.writev=="function"&&(this._writev=e.writev),typeof e.destroy=="function"&&(this._destroy=e.destroy),typeof e.final=="function"&&(this._final=e.final)),Ri.call(this)}x.prototype.pipe=function(){ue(this,new Zo)};function rs(e,t){var r=new zo;ue(e,r),process.nextTick(t,r)}function is(e,t,r,i){var n;return r===null?n=new Xo:typeof r!="string"&&!t.objectMode&&(n=new Vo("chunk",["string","Buffer"],r)),n?(ue(e,n),process.nextTick(i,n),!1):!0}x.prototype.write=function(e,t,r){var i=this._writableState,n=!1,o=!i.objectMode&&$o(e);return o&&!Qe.isBuffer(e)&&(e=Wo(e)),typeof t=="function"&&(r=t,t=null),o?t="buffer":t||(t=i.defaultEncoding),typeof r!="function"&&(r=ts),i.ending?rs(this,r):(o||is(this,i,e,r))&&(i.pendingcb++,n=os(this,i,o,e,t,r)),n};x.prototype.cork=function(){this._writableState.corked++};x.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest&&Si(this,e))};x.prototype.setDefaultEncoding=function(t){if(typeof t=="string"&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new es(t);return this._writableState.defaultEncoding=t,this};Object.defineProperty(x.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function ns(e,t,r){return!e.objectMode&&e.decodeStrings!==!1&&typeof t=="string"&&(t=Qe.from(t,r)),t}Object.defineProperty(x.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function os(e,t,r,i,n,o){if(!r){var s=ns(t,i,n);i!==s&&(r=!0,n="buffer",i=s)}var l=t.objectMode?1:i.length;t.length+=l;var a=t.length<t.highWaterMark;if(a||(t.needDrain=!0),t.writing||t.corked){var f=t.lastBufferedRequest;t.lastBufferedRequest={chunk:i,encoding:n,isBuf:r,callback:o,next:null},f?f.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else qt(e,t,!1,l,i,n,o);return a}function qt(e,t,r,i,n,o,s){t.writelen=i,t.writecb=s,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new Qo("write")):r?e._writev(n,t.onwrite):e._write(n,o,t.onwrite),t.sync=!1}function ss(e,t,r,i,n){--t.pendingcb,r?(process.nextTick(n,i),process.nextTick(Ee,e,t),e._writableState.errorEmitted=!0,ue(e,i)):(n(i),e._writableState.errorEmitted=!0,ue(e,i),Ee(e,t))}function ls(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function as(e,t){var r=e._writableState,i=r.sync,n=r.writecb;if(typeof n!="function")throw new Jo;if(ls(r),t)ss(e,r,i,t,n);else{var o=Ti(r)||e.destroyed;!o&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&Si(e,r),i?process.nextTick(wi,e,r,o,n):wi(e,r,o,n)}}function wi(e,t,r,i){r||fs(e,t),t.pendingcb--,i(),Ee(e,t)}function fs(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function Si(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var i=t.bufferedRequestCount,n=new Array(i),o=t.corkedRequestsFree;o.entry=r;for(var s=0,l=!0;r;)n[s]=r,r.isBuf||(l=!1),r=r.next,s+=1;n.allBuffers=l,qt(e,t,!0,t.length,n,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new Ei(t),t.bufferedRequestCount=0}else{for(;r;){var a=r.chunk,f=r.encoding,c=r.callback,d=t.objectMode?1:a.length;if(qt(e,t,!1,d,a,f,c),r=r.next,t.bufferedRequestCount--,t.writing)break}r===null&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}x.prototype._write=function(e,t,r){r(new Ko("_write()"))};x.prototype._writev=null;x.prototype.end=function(e,t,r){var i=this._writableState;return typeof e=="function"?(r=e,e=null,t=null):typeof t=="function"&&(r=t,t=null),e!=null&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||cs(this,i,r),this};Object.defineProperty(x.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function Ti(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function us(e,t){e._final(function(r){t.pendingcb--,r&&ue(e,r),t.prefinished=!0,e.emit("prefinish"),Ee(e,t)})}function hs(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final=="function"&&!t.destroyed?(t.pendingcb++,t.finalCalled=!0,process.nextTick(us,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function Ee(e,t){var r=Ti(t);if(r&&(hs(e,t),t.pendingcb===0&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var i=e._readableState;(!i||i.autoDestroy&&i.endEmitted)&&e.destroy()}return r}function cs(e,t,r){t.ending=!0,Ee(e,t),r&&(t.finished?process.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function ds(e,t,r){var i=e.entry;for(e.entry=null;i;){var n=i.callback;t.pendingcb--,n(r),i=i.next}t.corkedRequestsFree.next=e}Object.defineProperty(x.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(t){!this._writableState||(this._writableState.destroyed=t)}});x.prototype.destroy=Ut.destroy;x.prototype._undestroy=Ut.undestroy;x.prototype._destroy=function(e,t){t(e)}});var Z=p((Ba,Ci)=>{"use strict";var ps=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};Ci.exports=F;var Ai=Yt(),$t=Gt();J()(F,Ai);for(Wt=ps($t.prototype),Xe=0;Xe<Wt.length;Xe++)ze=Wt[Xe],F.prototype[ze]||(F.prototype[ze]=$t.prototype[ze]);var Wt,ze,Xe;function F(e){if(!(this instanceof F))return new F(e);Ai.call(this,e),$t.call(this,e),this.allowHalfOpen=!0,e&&(e.readable===!1&&(this.readable=!1),e.writable===!1&&(this.writable=!1),e.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",_s)))}Object.defineProperty(F.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});Object.defineProperty(F.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(F.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function _s(){this._writableState.ended||process.nextTick(gs,this)}function gs(e){e.end()}Object.defineProperty(F.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(t){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=t,this._writableState.destroyed=t)}})});var Ii=p((Ht,Mi)=>{var et=O("buffer"),j=et.Buffer;function Bi(e,t){for(var r in e)t[r]=e[r]}j.from&&j.alloc&&j.allocUnsafe&&j.allocUnsafeSlow?Mi.exports=et:(Bi(et,Ht),Ht.Buffer=Q);function Q(e,t,r){return j(e,t,r)}Q.prototype=Object.create(j.prototype);Bi(j,Q);Q.from=function(e,t,r){if(typeof e=="number")throw new TypeError("Argument must not be a number");return j(e,t,r)};Q.alloc=function(e,t,r){if(typeof e!="number")throw new TypeError("Argument must be a number");var i=j(e);return t!==void 0?typeof r=="string"?i.fill(t,r):i.fill(t):i.fill(0),i};Q.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return j(e)};Q.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return et.SlowBuffer(e)}});var Jt=p(Li=>{"use strict";var Kt=Ii().Buffer,Di=Kt.isEncoding||function(e){switch(e=""+e,e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function bs(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function ys(e){var t=bs(e);if(typeof t!="string"&&(Kt.isEncoding===Di||!Di(e)))throw new Error("Unknown encoding: "+e);return t||e}Li.StringDecoder=Se;function Se(e){this.encoding=ys(e);var t;switch(this.encoding){case"utf16le":this.text=Rs,this.end=Ss,t=4;break;case"utf8":this.fillLast=vs,t=4;break;case"base64":this.text=Ts,this.end=Os,t=3;break;default:this.write=As,this.end=Cs;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Kt.allocUnsafe(t)}Se.prototype.write=function(e){if(e.length===0)return"";var t,r;if(this.lastNeed){if(t=this.fillLast(e),t===void 0)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""};Se.prototype.end=Es;Se.prototype.text=ws;Se.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length};function Vt(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function xs(e,t,r){var i=t.length-1;if(i<r)return 0;var n=Vt(t[i]);return n>=0?(n>0&&(e.lastNeed=n-1),n):--i<r||n===-2?0:(n=Vt(t[i]),n>=0?(n>0&&(e.lastNeed=n-2),n):--i<r||n===-2?0:(n=Vt(t[i]),n>=0?(n>0&&(n===2?n=0:e.lastNeed=n-3),n):0))}function ms(e,t,r){if((t[0]&192)!==128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(t[2]&192)!==128)return e.lastNeed=2,"�"}}function vs(e){var t=this.lastTotal-this.lastNeed,r=ms(this,e,t);if(r!==void 0)return r;if(this.lastNeed<=e.length)return e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length}function ws(e,t){var r=xs(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var i=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",t,i)}function Es(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function Rs(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var i=r.charCodeAt(r.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function Ss(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function Ts(e,t){var r=(e.length-t)%3;return r===0?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,r===1?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function Os(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function As(e){return e.toString(this.encoding)}function Cs(e){return e&&e.length?this.write(e):""}});var tt=p((Ia,Fi)=>{"use strict";var Ni=G().codes.ERR_STREAM_PREMATURE_CLOSE;function Bs(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,i=new Array(r),n=0;n<r;n++)i[n]=arguments[n];e.apply(this,i)}}}function Ms(){}function Is(e){return e.setHeader&&typeof e.abort=="function"}function Pi(e,t,r){if(typeof t=="function")return Pi(e,null,t);t||(t={}),r=Bs(r||Ms);var i=t.readable||t.readable!==!1&&e.readable,n=t.writable||t.writable!==!1&&e.writable,o=function(){e.writable||l()},s=e._writableState&&e._writableState.finished,l=function(){n=!1,s=!0,i||r.call(e)},a=e._readableState&&e._readableState.endEmitted,f=function(){i=!1,a=!0,n||r.call(e)},c=function(S){r.call(e,S)},d=function(){var S;if(i&&!a)return(!e._readableState||!e._readableState.ended)&&(S=new Ni),r.call(e,S);if(n&&!s)return(!e._writableState||!e._writableState.ended)&&(S=new Ni),r.call(e,S)},y=function(){e.req.on("finish",l)};return Is(e)?(e.on("complete",l),e.on("abort",d),e.req?y():e.on("request",y)):n&&!e._writableState&&(e.on("end",o),e.on("close",o)),e.on("end",f),e.on("finish",l),t.error!==!1&&e.on("error",c),e.on("close",d),function(){e.removeListener("complete",l),e.removeListener("abort",d),e.removeListener("request",y),e.req&&e.req.removeListener("finish",l),e.removeListener("end",o),e.removeListener("close",o),e.removeListener("finish",l),e.removeListener("end",f),e.removeListener("error",c),e.removeListener("close",d)}}Fi.exports=Pi});var ki=p((Da,ji)=>{"use strict";var rt;function $(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ds=tt(),Y=Symbol("lastResolve"),X=Symbol("lastReject"),Te=Symbol("error"),it=Symbol("ended"),z=Symbol("lastPromise"),Zt=Symbol("handlePromise"),ee=Symbol("stream");function H(e,t){return{value:e,done:t}}function Ls(e){var t=e[Y];if(t!==null){var r=e[ee].read();r!==null&&(e[z]=null,e[Y]=null,e[X]=null,t(H(r,!1)))}}function Ns(e){process.nextTick(Ls,e)}function Ps(e,t){return function(r,i){e.then(function(){if(t[it]){r(H(void 0,!0));return}t[Zt](r,i)},i)}}var Fs=Object.getPrototypeOf(function(){}),js=Object.setPrototypeOf((rt={get stream(){return this[ee]},next:function(){var t=this,r=this[Te];if(r!==null)return Promise.reject(r);if(this[it])return Promise.resolve(H(void 0,!0));if(this[ee].destroyed)return new Promise(function(s,l){process.nextTick(function(){t[Te]?l(t[Te]):s(H(void 0,!0))})});var i=this[z],n;if(i)n=new Promise(Ps(i,this));else{var o=this[ee].read();if(o!==null)return Promise.resolve(H(o,!1));n=new Promise(this[Zt])}return this[z]=n,n}},$(rt,Symbol.asyncIterator,function(){return this}),$(rt,"return",function(){var t=this;return new Promise(function(r,i){t[ee].destroy(null,function(n){if(n){i(n);return}r(H(void 0,!0))})})}),rt),Fs),ks=function(t){var r,i=Object.create(js,(r={},$(r,ee,{value:t,writable:!0}),$(r,Y,{value:null,writable:!0}),$(r,X,{value:null,writable:!0}),$(r,Te,{value:null,writable:!0}),$(r,it,{value:t._readableState.endEmitted,writable:!0}),$(r,Zt,{value:function(o,s){var l=i[ee].read();l?(i[z]=null,i[Y]=null,i[X]=null,o(H(l,!1))):(i[Y]=o,i[X]=s)},writable:!0}),r));return i[z]=null,Ds(t,function(n){if(n&&n.code!=="ERR_STREAM_PREMATURE_CLOSE"){var o=i[X];o!==null&&(i[z]=null,i[Y]=null,i[X]=null,o(n)),i[Te]=n;return}var s=i[Y];s!==null&&(i[z]=null,i[Y]=null,i[X]=null,s(H(void 0,!0))),i[it]=!0}),t.on("readable",Ns.bind(null,i)),i};ji.exports=ks});var Wi=p((La,Gi)=>{"use strict";function qi(e,t,r,i,n,o,s){try{var l=e[o](s),a=l.value}catch(f){r(f);return}l.done?t(a):Promise.resolve(a).then(i,n)}function qs(e){return function(){var t=this,r=arguments;return new Promise(function(i,n){var o=e.apply(t,r);function s(a){qi(o,i,n,s,l,"next",a)}function l(a){qi(o,i,n,s,l,"throw",a)}s(void 0)})}}function Ui(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,i)}return r}function Us(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ui(Object(r),!0).forEach(function(i){Gs(e,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ui(Object(r)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r,i))})}return e}function Gs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ws=G().codes.ERR_INVALID_ARG_TYPE;function $s(e,t,r){var i;if(t&&typeof t.next=="function")i=t;else if(t&&t[Symbol.asyncIterator])i=t[Symbol.asyncIterator]();else if(t&&t[Symbol.iterator])i=t[Symbol.iterator]();else throw new Ws("iterable",["Iterable"],t);var n=new e(Us({objectMode:!0},r)),o=!1;n._read=function(){o||(o=!0,s())};function s(){return l.apply(this,arguments)}function l(){return l=qs(function*(){try{var a=yield i.next(),f=a.value,c=a.done;c?n.push(null):n.push(yield f)?s():o=!1}catch(d){n.destroy(d)}}),l.apply(this,arguments)}return n}Gi.exports=$s});var Yt=p((Pa,zi)=>{"use strict";zi.exports=h;var he;h.ReadableState=Vi;var Na=O("events").EventEmitter,Hi=function(t,r){return t.listeners(r).length},Ae=It(),nt=O("buffer").Buffer,Ys=global.Uint8Array||function(){};function Hs(e){return nt.from(e)}function Vs(e){return nt.isBuffer(e)||e instanceof Ys}var Qt=O("util"),u;Qt&&Qt.debuglog?u=Qt.debuglog("stream"):u=function(){};var Ks=ci(),nr=Nt(),Js=Pt(),Zs=Js.getHighWaterMark,ot=G().codes,Qs=ot.ERR_INVALID_ARG_TYPE,Xs=ot.ERR_STREAM_PUSH_AFTER_EOF,zs=ot.ERR_METHOD_NOT_IMPLEMENTED,el=ot.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,ce,Xt,zt;J()(h,Ae);var Oe=nr.errorOrDestroy,er=["error","close","destroy","pause","resume"];function tl(e,t,r){if(typeof e.prependListener=="function")return e.prependListener(t,r);!e._events||!e._events[t]?e.on(t,r):Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]}function Vi(e,t,r){he=he||Z(),e=e||{},typeof r!="boolean"&&(r=t instanceof he),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=Zs(this,e,"readableHighWaterMark",r),this.buffer=new Ks,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=e.emitClose!==!1,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(ce||(ce=Jt().StringDecoder),this.decoder=new ce(e.encoding),this.encoding=e.encoding)}function h(e){if(he=he||Z(),!(this instanceof h))return new h(e);var t=this instanceof he;this._readableState=new Vi(e,this,t),this.readable=!0,e&&(typeof e.read=="function"&&(this._read=e.read),typeof e.destroy=="function"&&(this._destroy=e.destroy)),Ae.call(this)}Object.defineProperty(h.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(t){!this._readableState||(this._readableState.destroyed=t)}});h.prototype.destroy=nr.destroy;h.prototype._undestroy=nr.undestroy;h.prototype._destroy=function(e,t){t(e)};h.prototype.push=function(e,t){var r=this._readableState,i;return r.objectMode?i=!0:typeof e=="string"&&(t=t||r.defaultEncoding,t!==r.encoding&&(e=nt.from(e,t),t=""),i=!0),Ki(this,e,t,!1,i)};h.prototype.unshift=function(e){return Ki(this,e,null,!0,!1)};function Ki(e,t,r,i,n){u("readableAddChunk",t);var o=e._readableState;if(t===null)o.reading=!1,nl(e,o);else{var s;if(n||(s=rl(o,t)),s)Oe(e,s);else if(o.objectMode||t&&t.length>0)if(typeof t!="string"&&!o.objectMode&&Object.getPrototypeOf(t)!==nt.prototype&&(t=Hs(t)),i)o.endEmitted?Oe(e,new el):tr(e,o,t,!0);else if(o.ended)Oe(e,new Xs);else{if(o.destroyed)return!1;o.reading=!1,o.decoder&&!r?(t=o.decoder.write(t),o.objectMode||t.length!==0?tr(e,o,t,!1):ir(e,o)):tr(e,o,t,!1)}else i||(o.reading=!1,ir(e,o))}return!o.ended&&(o.length<o.highWaterMark||o.length===0)}function tr(e,t,r,i){t.flowing&&t.length===0&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,i?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&st(e)),ir(e,t)}function rl(e,t){var r;return!Vs(t)&&typeof t!="string"&&t!==void 0&&!e.objectMode&&(r=new Qs("chunk",["string","Buffer","Uint8Array"],t)),r}h.prototype.isPaused=function(){return this._readableState.flowing===!1};h.prototype.setEncoding=function(e){ce||(ce=Jt().StringDecoder);var t=new ce(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,i="";r!==null;)i+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),i!==""&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var $i=1073741824;function il(e){return e>=$i?e=$i:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function Yi(e,t){return e<=0||t.length===0&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=il(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}h.prototype.read=function(e){u("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(e!==0&&(t.emittedReadable=!1),e===0&&t.needReadable&&((t.highWaterMark!==0?t.length>=t.highWaterMark:t.length>0)||t.ended))return u("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?rr(this):st(this),null;if(e=Yi(e,t),e===0&&t.ended)return t.length===0&&rr(this),null;var i=t.needReadable;u("need readable",i),(t.length===0||t.length-e<t.highWaterMark)&&(i=!0,u("length less than watermark",i)),t.ended||t.reading?(i=!1,u("reading or ended",i)):i&&(u("do read"),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=Yi(r,t)));var n;return e>0?n=Qi(e,t):n=null,n===null?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),t.length===0&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&rr(this)),n!==null&&this.emit("data",n),n};function nl(e,t){if(u("onEofChunk"),!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?st(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,Ji(e)))}}function st(e){var t=e._readableState;u("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(u("emitReadable",t.flowing),t.emittedReadable=!0,process.nextTick(Ji,e))}function Ji(e){var t=e._readableState;u("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,or(e)}function ir(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(ol,e,t))}function ol(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&t.length===0);){var r=t.length;if(u("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}h.prototype._read=function(e){Oe(this,new zs("_read()"))};h.prototype.pipe=function(e,t){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e);break}i.pipesCount+=1,u("pipe count=%d opts=%j",i.pipesCount,t);var n=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,o=n?l:_;i.endEmitted?process.nextTick(o):r.once("end",o),e.on("unpipe",s);function s(k,v){u("onunpipe"),k===r&&v&&v.hasUnpiped===!1&&(v.hasUnpiped=!0,c())}function l(){u("onend"),e.end()}var a=sl(r);e.on("drain",a);var f=!1;function c(){u("cleanup"),e.removeListener("close",m),e.removeListener("finish",S),e.removeListener("drain",a),e.removeListener("error",y),e.removeListener("unpipe",s),r.removeListener("end",l),r.removeListener("end",_),r.removeListener("data",d),f=!0,i.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&a()}r.on("data",d);function d(k){u("ondata");var v=e.write(k);u("dest.write",v),v===!1&&((i.pipesCount===1&&i.pipes===e||i.pipesCount>1&&Xi(i.pipes,e)!==-1)&&!f&&(u("false write response, pause",i.awaitDrain),i.awaitDrain++),r.pause())}function y(k){u("onerror",k),_(),e.removeListener("error",y),Hi(e,"error")===0&&Oe(e,k)}tl(e,"error",y);function m(){e.removeListener("finish",S),_()}e.once("close",m);function S(){u("onfinish"),e.removeListener("close",m),_()}e.once("finish",S);function _(){u("unpipe"),r.unpipe(e)}return e.emit("pipe",r),i.flowing||(u("pipe resume"),r.resume()),e};function sl(e){return function(){var r=e._readableState;u("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,r.awaitDrain===0&&Hi(e,"data")&&(r.flowing=!0,or(e))}}h.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(t.pipesCount===0)return this;if(t.pipesCount===1)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r),this);if(!e){var i=t.pipes,n=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<n;o++)i[o].emit("unpipe",this,{hasUnpiped:!1});return this}var s=Xi(t.pipes,e);return s===-1?this:(t.pipes.splice(s,1),t.pipesCount-=1,t.pipesCount===1&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r),this)};h.prototype.on=function(e,t){var r=Ae.prototype.on.call(this,e,t),i=this._readableState;return e==="data"?(i.readableListening=this.listenerCount("readable")>0,i.flowing!==!1&&this.resume()):e==="readable"&&!i.endEmitted&&!i.readableListening&&(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,u("on readable",i.length,i.reading),i.length?st(this):i.reading||process.nextTick(ll,this)),r};h.prototype.addListener=h.prototype.on;h.prototype.removeListener=function(e,t){var r=Ae.prototype.removeListener.call(this,e,t);return e==="readable"&&process.nextTick(Zi,this),r};h.prototype.removeAllListeners=function(e){var t=Ae.prototype.removeAllListeners.apply(this,arguments);return(e==="readable"||e===void 0)&&process.nextTick(Zi,this),t};function Zi(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function ll(e){u("readable nexttick read 0"),e.read(0)}h.prototype.resume=function(){var e=this._readableState;return e.flowing||(u("resume"),e.flowing=!e.readableListening,al(this,e)),e.paused=!1,this};function al(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(fl,e,t))}function fl(e,t){u("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),or(e),t.flowing&&!t.reading&&e.read(0)}h.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(u("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function or(e){var t=e._readableState;for(u("flow",t.flowing);t.flowing&&e.read()!==null;);}h.prototype.wrap=function(e){var t=this,r=this._readableState,i=!1;e.on("end",function(){if(u("wrapped end"),r.decoder&&!r.ended){var s=r.decoder.end();s&&s.length&&t.push(s)}t.push(null)}),e.on("data",function(s){if(u("wrapped data"),r.decoder&&(s=r.decoder.write(s)),!(r.objectMode&&s==null)&&!(!r.objectMode&&(!s||!s.length))){var l=t.push(s);l||(i=!0,e.pause())}});for(var n in e)this[n]===void 0&&typeof e[n]=="function"&&(this[n]=function(l){return function(){return e[l].apply(e,arguments)}}(n));for(var o=0;o<er.length;o++)e.on(er[o],this.emit.bind(this,er[o]));return this._read=function(s){u("wrapped _read",s),i&&(i=!1,e.resume())},this};typeof Symbol=="function"&&(h.prototype[Symbol.asyncIterator]=function(){return Xt===void 0&&(Xt=ki()),Xt(this)});Object.defineProperty(h.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Object.defineProperty(h.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}});Object.defineProperty(h.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}});h._fromList=Qi;Object.defineProperty(h.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function Qi(e,t){if(t.length===0)return null;var r;return t.objectMode?r=t.buffer.shift():!e||e>=t.length?(t.decoder?r=t.buffer.join(""):t.buffer.length===1?r=t.buffer.first():r=t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r}function rr(e){var t=e._readableState;u("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(ul,t,e))}function ul(e,t){if(u("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&e.length===0&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}typeof Symbol=="function"&&(h.from=function(e,t){return zt===void 0&&(zt=Wi()),zt(h,e,t)});function Xi(e,t){for(var r=0,i=e.length;r<i;r++)if(e[r]===t)return r;return-1}});var sr=p((Fa,tn)=>{"use strict";tn.exports=U;var lt=G().codes,hl=lt.ERR_METHOD_NOT_IMPLEMENTED,cl=lt.ERR_MULTIPLE_CALLBACK,dl=lt.ERR_TRANSFORM_ALREADY_TRANSFORMING,pl=lt.ERR_TRANSFORM_WITH_LENGTH_0,at=Z();J()(U,at);function _l(e,t){var r=this._transformState;r.transforming=!1;var i=r.writecb;if(i===null)return this.emit("error",new cl);r.writechunk=null,r.writecb=null,t!=null&&this.push(t),i(e);var n=this._readableState;n.reading=!1,(n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}function U(e){if(!(this instanceof U))return new U(e);at.call(this,e),this._transformState={afterTransform:_l.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.on("prefinish",gl)}function gl(){var e=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(t,r){en(e,t,r)}):en(this,null,null)}U.prototype.push=function(e,t){return this._transformState.needTransform=!1,at.prototype.push.call(this,e,t)};U.prototype._transform=function(e,t,r){r(new hl("_transform()"))};U.prototype._write=function(e,t,r){var i=this._transformState;if(i.writecb=r,i.writechunk=e,i.writeencoding=t,!i.transforming){var n=this._readableState;(i.needTransform||n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}};U.prototype._read=function(e){var t=this._transformState;t.writechunk!==null&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0};U.prototype._destroy=function(e,t){at.prototype._destroy.call(this,e,function(r){t(r)})};function en(e,t,r){if(t)return e.emit("error",t);if(r!=null&&e.push(r),e._writableState.length)throw new pl;if(e._transformState.transforming)throw new dl;return e.push(null)}});var on=p((ja,nn)=>{"use strict";nn.exports=Ce;var rn=sr();J()(Ce,rn);function Ce(e){if(!(this instanceof Ce))return new Ce(e);rn.call(this,e)}Ce.prototype._transform=function(e,t,r){r(null,e)}});var un=p((ka,fn)=>{"use strict";var lr;function bl(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var an=G().codes,yl=an.ERR_MISSING_ARGS,xl=an.ERR_STREAM_DESTROYED;function sn(e){if(e)throw e}function ml(e){return e.setHeader&&typeof e.abort=="function"}function vl(e,t,r,i){i=bl(i);var n=!1;e.on("close",function(){n=!0}),lr===void 0&&(lr=tt()),lr(e,{readable:t,writable:r},function(s){if(s)return i(s);n=!0,i()});var o=!1;return function(s){if(!n&&!o){if(o=!0,ml(e))return e.abort();if(typeof e.destroy=="function")return e.destroy();i(s||new xl("pipe"))}}}function ln(e){e()}function wl(e,t){return e.pipe(t)}function El(e){return!e.length||typeof e[e.length-1]!="function"?sn:e.pop()}function Rl(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var i=El(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new yl("streams");var n,o=t.map(function(s,l){var a=l<t.length-1,f=l>0;return vl(s,a,f,function(c){n||(n=c),c&&o.forEach(ln),!a&&(o.forEach(ln),i(n))})});return t.reduce(wl)}fn.exports=Rl});var hn=p((I,Me)=>{var Be=O("stream");process.env.READABLE_STREAM==="disable"&&Be?(Me.exports=Be.Readable,Object.assign(Me.exports,Be),Me.exports.Stream=Be):(I=Me.exports=Yt(),I.Stream=Be||I,I.Readable=I,I.Writable=Gt(),I.Duplex=Z(),I.Transform=sr(),I.PassThrough=on(),I.finished=tt(),I.pipeline=un())});var pn=p((qa,dn)=>{"use strict";var{Buffer:L}=O("buffer"),cn=Symbol.for("BufferList");function g(e){if(!(this instanceof g))return new g(e);g._init.call(this,e)}g._init=function(t){Object.defineProperty(this,cn,{value:!0}),this._bufs=[],this.length=0,t&&this.append(t)};g.prototype._new=function(t){return new g(t)};g.prototype._offset=function(t){if(t===0)return[0,0];let r=0;for(let i=0;i<this._bufs.length;i++){let n=r+this._bufs[i].length;if(t<n||i===this._bufs.length-1)return[i,t-r];r=n}};g.prototype._reverseOffset=function(e){let t=e[0],r=e[1];for(let i=0;i<t;i++)r+=this._bufs[i].length;return r};g.prototype.get=function(t){if(t>this.length||t<0)return;let r=this._offset(t);return this._bufs[r[0]][r[1]]};g.prototype.slice=function(t,r){return typeof t=="number"&&t<0&&(t+=this.length),typeof r=="number"&&r<0&&(r+=this.length),this.copy(null,0,t,r)};g.prototype.copy=function(t,r,i,n){if((typeof i!="number"||i<0)&&(i=0),(typeof n!="number"||n>this.length)&&(n=this.length),i>=this.length||n<=0)return t||L.alloc(0);let o=!!t,s=this._offset(i),l=n-i,a=l,f=o&&r||0,c=s[1];if(i===0&&n===this.length){if(!o)return this._bufs.length===1?this._bufs[0]:L.concat(this._bufs,this.length);for(let d=0;d<this._bufs.length;d++)this._bufs[d].copy(t,f),f+=this._bufs[d].length;return t}if(a<=this._bufs[s[0]].length-c)return o?this._bufs[s[0]].copy(t,r,c,c+a):this._bufs[s[0]].slice(c,c+a);o||(t=L.allocUnsafe(l));for(let d=s[0];d<this._bufs.length;d++){let y=this._bufs[d].length-c;if(a>y)this._bufs[d].copy(t,f,c),f+=y;else{this._bufs[d].copy(t,f,c,c+a),f+=y;break}a-=y,c&&(c=0)}return t.length>f?t.slice(0,f):t};g.prototype.shallowSlice=function(t,r){if(t=t||0,r=typeof r!="number"?this.length:r,t<0&&(t+=this.length),r<0&&(r+=this.length),t===r)return this._new();let i=this._offset(t),n=this._offset(r),o=this._bufs.slice(i[0],n[0]+1);return n[1]===0?o.pop():o[o.length-1]=o[o.length-1].slice(0,n[1]),i[1]!==0&&(o[0]=o[0].slice(i[1])),this._new(o)};g.prototype.toString=function(t,r,i){return this.slice(r,i).toString(t)};g.prototype.consume=function(t){if(t=Math.trunc(t),Number.isNaN(t)||t<=0)return this;for(;this._bufs.length;)if(t>=this._bufs[0].length)t-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift();else{this._bufs[0]=this._bufs[0].slice(t),this.length-=t;break}return this};g.prototype.duplicate=function(){let t=this._new();for(let r=0;r<this._bufs.length;r++)t.append(this._bufs[r]);return t};g.prototype.append=function(t){if(t==null)return this;if(t.buffer)this._appendBuffer(L.from(t.buffer,t.byteOffset,t.byteLength));else if(Array.isArray(t))for(let r=0;r<t.length;r++)this.append(t[r]);else if(this._isBufferList(t))for(let r=0;r<t._bufs.length;r++)this.append(t._bufs[r]);else typeof t=="number"&&(t=t.toString()),this._appendBuffer(L.from(t));return this};g.prototype._appendBuffer=function(t){this._bufs.push(t),this.length+=t.length};g.prototype.indexOf=function(e,t,r){if(r===void 0&&typeof t=="string"&&(r=t,t=void 0),typeof e=="function"||Array.isArray(e))throw new TypeError('The "value" argument must be one of type string, Buffer, BufferList, or Uint8Array.');if(typeof e=="number"?e=L.from([e]):typeof e=="string"?e=L.from(e,r):this._isBufferList(e)?e=e.slice():Array.isArray(e.buffer)?e=L.from(e.buffer,e.byteOffset,e.byteLength):L.isBuffer(e)||(e=L.from(e)),t=Number(t||0),isNaN(t)&&(t=0),t<0&&(t=this.length+t),t<0&&(t=0),e.length===0)return t>this.length?this.length:t;let i=this._offset(t),n=i[0],o=i[1];for(;n<this._bufs.length;n++){let s=this._bufs[n];for(;o<s.length;)if(s.length-o>=e.length){let a=s.indexOf(e,o);if(a!==-1)return this._reverseOffset([n,a]);o=s.length-e.length+1}else{let a=this._reverseOffset([n,o]);if(this._match(a,e))return a;o++}o=0}return-1};g.prototype._match=function(e,t){if(this.length-e<t.length)return!1;for(let r=0;r<t.length;r++)if(this.get(e+r)!==t[r])return!1;return!0};(function(){let e={readDoubleBE:8,readDoubleLE:8,readFloatBE:4,readFloatLE:4,readInt32BE:4,readInt32LE:4,readUInt32BE:4,readUInt32LE:4,readInt16BE:2,readInt16LE:2,readUInt16BE:2,readUInt16LE:2,readInt8:1,readUInt8:1,readIntBE:null,readIntLE:null,readUIntBE:null,readUIntLE:null};for(let t in e)(function(r){e[r]===null?g.prototype[r]=function(i,n){return this.slice(i,i+n)[r](0,n)}:g.prototype[r]=function(i=0){return this.slice(i,i+e[r])[r](0)}})(t)})();g.prototype._isBufferList=function(t){return t instanceof g||g.isBufferList(t)};g.isBufferList=function(t){return t!=null&&t[cn]};dn.exports=g});var _n=p((Ua,ft)=>{"use strict";var ar=hn().Duplex,Sl=J(),Ie=pn();function T(e){if(!(this instanceof T))return new T(e);if(typeof e=="function"){this._callback=e;let t=function(i){this._callback&&(this._callback(i),this._callback=null)}.bind(this);this.on("pipe",function(i){i.on("error",t)}),this.on("unpipe",function(i){i.removeListener("error",t)}),e=null}Ie._init.call(this,e),ar.call(this)}Sl(T,ar);Object.assign(T.prototype,Ie.prototype);T.prototype._new=function(t){return new T(t)};T.prototype._write=function(t,r,i){this._appendBuffer(t),typeof i=="function"&&i()};T.prototype._read=function(t){if(!this.length)return this.push(null);t=Math.min(t,this.length),this.push(this.slice(0,t)),this.consume(t)};T.prototype.end=function(t){ar.prototype.end.call(this,t),this._callback&&(this._callback(null,this.slice()),this._callback=null)};T.prototype._destroy=function(t,r){this._bufs.length=0,this.length=0,r(t)};T.prototype._isBufferList=function(t){return t instanceof T||t instanceof Ie||T.isBufferList(t)};T.isBufferList=Ie.isBufferList;ft.exports=T;ft.exports.BufferListStream=T;ft.exports.BufferList=Ie});var gr=(e=0)=>t=>`\x1B[${t+e}m`,br=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,yr=(e=0)=>(t,r,i)=>`\x1B[${38+e};2;${t};${r};${i}m`;function An(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(let[r,i]of Object.entries(t)){for(let[n,o]of Object.entries(i))t[n]={open:`\x1B[${o[0]}m`,close:`\x1B[${o[1]}m`},i[n]=t[n],e.set(o[0],o[1]);Object.defineProperty(t,r,{value:i,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",t.color.ansi=gr(),t.color.ansi256=br(),t.color.ansi16m=yr(),t.bgColor.ansi=gr(10),t.bgColor.ansi256=br(10),t.bgColor.ansi16m=yr(10),Object.defineProperties(t,{rgbToAnsi256:{value:(r,i,n)=>r===i&&i===n?r<8?16:r>248?231:Math.round((r-8)/247*24)+232:16+36*Math.round(r/255*5)+6*Math.round(i/255*5)+Math.round(n/255*5),enumerable:!1},hexToRgb:{value:r=>{let i=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(r.toString(16));if(!i)return[0,0,0];let{colorString:n}=i.groups;n.length===3&&(n=[...n].map(s=>s+s).join(""));let o=Number.parseInt(n,16);return[o>>16&255,o>>8&255,o&255]},enumerable:!1},hexToAnsi256:{value:r=>t.rgbToAnsi256(...t.hexToRgb(r)),enumerable:!1},ansi256ToAnsi:{value:r=>{if(r<8)return 30+r;if(r<16)return 90+(r-8);let i,n,o;if(r>=232)i=((r-232)*10+8)/255,n=i,o=i;else{r-=16;let a=r%36;i=Math.floor(r/36)/5,n=Math.floor(a/6)/5,o=a%6/5}let s=Math.max(i,n,o)*2;if(s===0)return 30;let l=30+(Math.round(o)<<2|Math.round(n)<<1|Math.round(i));return s===2&&(l+=60),l},enumerable:!1},rgbToAnsi:{value:(r,i,n)=>t.ansi256ToAnsi(t.rgbToAnsi256(r,i,n)),enumerable:!1},hexToAnsi:{value:r=>t.ansi256ToAnsi(t.hexToAnsi256(r)),enumerable:!1}}),t}var Cn=An(),D=Cn;import _t from"node:process";import Bn from"node:os";import xr from"node:tty";function C(e,t=_t.argv){let r=e.startsWith("-")?"":e.length===1?"-":"--",i=t.indexOf(r+e),n=t.indexOf("--");return i!==-1&&(n===-1||i<n)}var{env:w}=_t,Le;C("no-color")||C("no-colors")||C("color=false")||C("color=never")?Le=0:(C("color")||C("colors")||C("color=true")||C("color=always"))&&(Le=1);function Mn(){if("FORCE_COLOR"in w)return w.FORCE_COLOR==="true"?1:w.FORCE_COLOR==="false"?0:w.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(w.FORCE_COLOR,10),3)}function In(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function Dn(e,{streamIsTTY:t,sniffFlags:r=!0}={}){let i=Mn();i!==void 0&&(Le=i);let n=r?Le:i;if(n===0)return 0;if(r){if(C("color=16m")||C("color=full")||C("color=truecolor"))return 3;if(C("color=256"))return 2}if(e&&!t&&n===void 0)return 0;let o=n||0;if(w.TERM==="dumb")return o;if(_t.platform==="win32"){let s=Bn.release().split(".");return Number(s[0])>=10&&Number(s[2])>=10586?Number(s[2])>=14931?3:2:1}if("CI"in w)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(s=>s in w)||w.CI_NAME==="codeship"?1:o;if("TEAMCITY_VERSION"in w)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(w.TEAMCITY_VERSION)?1:0;if("TF_BUILD"in w&&"AGENT_NAME"in w)return 1;if(w.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in w){let s=Number.parseInt((w.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(w.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(w.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(w.TERM)||"COLORTERM"in w?1:o}function mr(e,t={}){let r=Dn(e,{streamIsTTY:e&&e.isTTY,...t});return In(r)}var Ln={stdout:mr({isTTY:xr.isatty(1)}),stderr:mr({isTTY:xr.isatty(2)})},vr=Ln;function wr(e,t,r){let i=e.indexOf(t);if(i===-1)return e;let n=t.length,o=0,s="";do s+=e.substr(o,i-o)+t+r,o=i+n,i=e.indexOf(t,o);while(i!==-1);return s+=e.slice(o),s}function Er(e,t,r,i){let n=0,o="";do{let s=e[i-1]==="\r";o+=e.substr(n,(s?i-1:i)-n)+t+(s?`\r
5
5
  `:`
6
6
  `)+r,n=i+1,i=e.indexOf(`
7
- `,n)}while(i!==-1);return o+=e.slice(n),o}var{stdout:wr,stderr:Er}=xr,_t=Symbol("GENERATOR"),te=Symbol("STYLER"),_e=Symbol("IS_EMPTY"),Rr=["ansi","ansi","ansi256","ansi16m"],re=Object.create(null),Nn=(e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let r=wr?wr.level:0;e.level=t.level===void 0?r:t.level};var Pn=e=>{let t=(...r)=>r.join(" ");return Nn(t,e),Object.setPrototypeOf(t,ge.prototype),t};function ge(e){return Pn(e)}Object.setPrototypeOf(ge.prototype,Function.prototype);for(let[e,t]of Object.entries(D))re[e]={get(){let r=Ne(this,bt(t.open,t.close,this[te]),this[_e]);return Object.defineProperty(this,e,{value:r}),r}};re.visible={get(){let e=Ne(this,this[te],!0);return Object.defineProperty(this,"visible",{value:e}),e}};var gt=(e,t,r,...i)=>e==="rgb"?t==="ansi16m"?D[r].ansi16m(...i):t==="ansi256"?D[r].ansi256(D.rgbToAnsi256(...i)):D[r].ansi(D.rgbToAnsi(...i)):e==="hex"?gt("rgb",t,r,...D.hexToRgb(...i)):D[r][e](...i),Fn=["rgb","hex","ansi256"];for(let e of Fn){re[e]={get(){let{level:r}=this;return function(...i){let n=bt(gt(e,Rr[r],"color",...i),D.color.close,this[te]);return Ne(this,n,this[_e])}}};let t="bg"+e[0].toUpperCase()+e.slice(1);re[t]={get(){let{level:r}=this;return function(...i){let n=bt(gt(e,Rr[r],"bgColor",...i),D.bgColor.close,this[te]);return Ne(this,n,this[_e])}}}}var jn=Object.defineProperties(()=>{},{...re,level:{enumerable:!0,get(){return this[_t].level},set(e){this[_t].level=e}}}),bt=(e,t,r)=>{let i,n;return r===void 0?(i=e,n=t):(i=r.openAll+e,n=t+r.closeAll),{open:e,close:t,openAll:i,closeAll:n,parent:r}},Ne=(e,t,r)=>{let i=(...n)=>kn(i,n.length===1?""+n[0]:n.join(" "));return Object.setPrototypeOf(i,jn),i[_t]=e,i[te]=t,i[_e]=r,i},kn=(e,t)=>{if(e.level<=0||!t)return e[_e]?"":t;let r=e[te];if(r===void 0)return t;let{openAll:i,closeAll:n}=r;if(t.includes("\x1B"))for(;r!==void 0;)t=mr(t,r.close,r.open),r=r.parent;let o=t.indexOf(`
8
- `);return o!==-1&&(t=vr(t,n,i,o)),i+t+n};Object.defineProperties(ge.prototype,re);var qn=ge(),Wl=ge({level:Er?Er.level:0});var A=qn;import{spawn as Un,execSync as Gn}from"child_process";import wt from"node:process";import Yn from"node:os";import Ar from"node:tty";await(async()=>{let{dirname:e}=await import("path"),{fileURLToPath:t}=await import("url");if(typeof globalThis.__filename>"u"&&(globalThis.__filename=t(import.meta.url)),typeof globalThis.__dirname>"u"&&(globalThis.__dirname=e(globalThis.__filename)),typeof globalThis.require>"u"){let{default:r}=await import("module");globalThis.require=r.createRequire(import.meta.url)}})();var Sr=(e=0)=>t=>`\x1B[${t+e}m`,Tr=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,Or=(e=0)=>(t,r,i)=>`\x1B[${38+e};2;${t};${r};${i}m`;function Wn(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(let[r,i]of Object.entries(t)){for(let[n,o]of Object.entries(i))t[n]={open:`\x1B[${o[0]}m`,close:`\x1B[${o[1]}m`},i[n]=t[n],e.set(o[0],o[1]);Object.defineProperty(t,r,{value:i,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",t.color.ansi=Sr(),t.color.ansi256=Tr(),t.color.ansi16m=Or(),t.bgColor.ansi=Sr(10),t.bgColor.ansi256=Tr(10),t.bgColor.ansi16m=Or(10),Object.defineProperties(t,{rgbToAnsi256:{value:(r,i,n)=>r===i&&i===n?r<8?16:r>248?231:Math.round((r-8)/247*24)+232:16+36*Math.round(r/255*5)+6*Math.round(i/255*5)+Math.round(n/255*5),enumerable:!1},hexToRgb:{value:r=>{let i=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(r.toString(16));if(!i)return[0,0,0];let{colorString:n}=i.groups;n.length===3&&(n=[...n].map(s=>s+s).join(""));let o=Number.parseInt(n,16);return[o>>16&255,o>>8&255,o&255]},enumerable:!1},hexToAnsi256:{value:r=>t.rgbToAnsi256(...t.hexToRgb(r)),enumerable:!1},ansi256ToAnsi:{value:r=>{if(r<8)return 30+r;if(r<16)return 90+(r-8);let i,n,o;if(r>=232)i=((r-232)*10+8)/255,n=i,o=i;else{r-=16;let a=r%36;i=Math.floor(r/36)/5,n=Math.floor(a/6)/5,o=a%6/5}let s=Math.max(i,n,o)*2;if(s===0)return 30;let l=30+(Math.round(o)<<2|Math.round(n)<<1|Math.round(i));return s===2&&(l+=60),l},enumerable:!1},rgbToAnsi:{value:(r,i,n)=>t.ansi256ToAnsi(t.rgbToAnsi256(r,i,n)),enumerable:!1},hexToAnsi:{value:r=>t.ansi256ToAnsi(t.hexToAnsi256(r)),enumerable:!1}}),t}var $n=Wn(),P=$n;function B(e,t=wt.argv){let r=e.startsWith("-")?"":e.length===1?"-":"--",i=t.indexOf(r+e),n=t.indexOf("--");return i!==-1&&(n===-1||i<n)}var{env:E}=wt,Pe;B("no-color")||B("no-colors")||B("color=false")||B("color=never")?Pe=0:(B("color")||B("colors")||B("color=true")||B("color=always"))&&(Pe=1);function Hn(){if("FORCE_COLOR"in E)return E.FORCE_COLOR==="true"?1:E.FORCE_COLOR==="false"?0:E.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(E.FORCE_COLOR,10),3)}function Vn(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function Kn(e,{streamIsTTY:t,sniffFlags:r=!0}={}){let i=Hn();i!==void 0&&(Pe=i);let n=r?Pe:i;if(n===0)return 0;if(r){if(B("color=16m")||B("color=full")||B("color=truecolor"))return 3;if(B("color=256"))return 2}if(e&&!t&&n===void 0)return 0;let o=n||0;if(E.TERM==="dumb")return o;if(wt.platform==="win32"){let s=Yn.release().split(".");return Number(s[0])>=10&&Number(s[2])>=10586?Number(s[2])>=14931?3:2:1}if("CI"in E)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(s=>s in E)||E.CI_NAME==="codeship"?1:o;if("TEAMCITY_VERSION"in E)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(E.TEAMCITY_VERSION)?1:0;if("TF_BUILD"in E&&"AGENT_NAME"in E)return 1;if(E.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in E){let s=Number.parseInt((E.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(E.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(E.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(E.TERM)||"COLORTERM"in E?1:o}function Cr(e,t={}){let r=Kn(e,{streamIsTTY:e&&e.isTTY,...t});return Vn(r)}var Jn={stdout:Cr({isTTY:Ar.isatty(1)}),stderr:Cr({isTTY:Ar.isatty(2)})},Zn=Jn;function Qn(e,t,r){let i=e.indexOf(t);if(i===-1)return e;let n=t.length,o=0,s="";do s+=e.substr(o,i-o)+t+r,o=i+n,i=e.indexOf(t,o);while(i!==-1);return s+=e.slice(o),s}function Xn(e,t,r,i){let n=0,o="";do{let s=e[i-1]==="\r";o+=e.substr(n,(s?i-1:i)-n)+t+(s?`\r
7
+ `,n)}while(i!==-1);return o+=e.slice(n),o}var{stdout:Rr,stderr:Sr}=vr,gt=Symbol("GENERATOR"),te=Symbol("STYLER"),_e=Symbol("IS_EMPTY"),Tr=["ansi","ansi","ansi256","ansi16m"],re=Object.create(null),Nn=(e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let r=Rr?Rr.level:0;e.level=t.level===void 0?r:t.level};var Pn=e=>{let t=(...r)=>r.join(" ");return Nn(t,e),Object.setPrototypeOf(t,ge.prototype),t};function ge(e){return Pn(e)}Object.setPrototypeOf(ge.prototype,Function.prototype);for(let[e,t]of Object.entries(D))re[e]={get(){let r=Ne(this,yt(t.open,t.close,this[te]),this[_e]);return Object.defineProperty(this,e,{value:r}),r}};re.visible={get(){let e=Ne(this,this[te],!0);return Object.defineProperty(this,"visible",{value:e}),e}};var bt=(e,t,r,...i)=>e==="rgb"?t==="ansi16m"?D[r].ansi16m(...i):t==="ansi256"?D[r].ansi256(D.rgbToAnsi256(...i)):D[r].ansi(D.rgbToAnsi(...i)):e==="hex"?bt("rgb",t,r,...D.hexToRgb(...i)):D[r][e](...i),Fn=["rgb","hex","ansi256"];for(let e of Fn){re[e]={get(){let{level:r}=this;return function(...i){let n=yt(bt(e,Tr[r],"color",...i),D.color.close,this[te]);return Ne(this,n,this[_e])}}};let t="bg"+e[0].toUpperCase()+e.slice(1);re[t]={get(){let{level:r}=this;return function(...i){let n=yt(bt(e,Tr[r],"bgColor",...i),D.bgColor.close,this[te]);return Ne(this,n,this[_e])}}}}var jn=Object.defineProperties(()=>{},{...re,level:{enumerable:!0,get(){return this[gt].level},set(e){this[gt].level=e}}}),yt=(e,t,r)=>{let i,n;return r===void 0?(i=e,n=t):(i=r.openAll+e,n=t+r.closeAll),{open:e,close:t,openAll:i,closeAll:n,parent:r}},Ne=(e,t,r)=>{let i=(...n)=>kn(i,n.length===1?""+n[0]:n.join(" "));return Object.setPrototypeOf(i,jn),i[gt]=e,i[te]=t,i[_e]=r,i},kn=(e,t)=>{if(e.level<=0||!t)return e[_e]?"":t;let r=e[te];if(r===void 0)return t;let{openAll:i,closeAll:n}=r;if(t.includes("\x1B"))for(;r!==void 0;)t=wr(t,r.close,r.open),r=r.parent;let o=t.indexOf(`
8
+ `);return o!==-1&&(t=Er(t,n,i,o)),i+t+n};Object.defineProperties(ge.prototype,re);var qn=ge(),Wl=ge({level:Sr?Sr.level:0});var A=qn;import{spawn as Un,execSync as Gn}from"child_process";import Et from"node:process";import Yn from"node:os";import Br from"node:tty";await(async()=>{let{dirname:e}=await import("path"),{fileURLToPath:t}=await import("url");if(typeof globalThis.__filename>"u"&&(globalThis.__filename=t(import.meta.url)),typeof globalThis.__dirname>"u"&&(globalThis.__dirname=e(globalThis.__filename)),typeof globalThis.require>"u"){let{default:r}=await import("module");globalThis.require=r.createRequire(import.meta.url)}})();var Or=(e=0)=>t=>`\x1B[${t+e}m`,Ar=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,Cr=(e=0)=>(t,r,i)=>`\x1B[${38+e};2;${t};${r};${i}m`;function Wn(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(let[r,i]of Object.entries(t)){for(let[n,o]of Object.entries(i))t[n]={open:`\x1B[${o[0]}m`,close:`\x1B[${o[1]}m`},i[n]=t[n],e.set(o[0],o[1]);Object.defineProperty(t,r,{value:i,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",t.color.ansi=Or(),t.color.ansi256=Ar(),t.color.ansi16m=Cr(),t.bgColor.ansi=Or(10),t.bgColor.ansi256=Ar(10),t.bgColor.ansi16m=Cr(10),Object.defineProperties(t,{rgbToAnsi256:{value:(r,i,n)=>r===i&&i===n?r<8?16:r>248?231:Math.round((r-8)/247*24)+232:16+36*Math.round(r/255*5)+6*Math.round(i/255*5)+Math.round(n/255*5),enumerable:!1},hexToRgb:{value:r=>{let i=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(r.toString(16));if(!i)return[0,0,0];let{colorString:n}=i.groups;n.length===3&&(n=[...n].map(s=>s+s).join(""));let o=Number.parseInt(n,16);return[o>>16&255,o>>8&255,o&255]},enumerable:!1},hexToAnsi256:{value:r=>t.rgbToAnsi256(...t.hexToRgb(r)),enumerable:!1},ansi256ToAnsi:{value:r=>{if(r<8)return 30+r;if(r<16)return 90+(r-8);let i,n,o;if(r>=232)i=((r-232)*10+8)/255,n=i,o=i;else{r-=16;let a=r%36;i=Math.floor(r/36)/5,n=Math.floor(a/6)/5,o=a%6/5}let s=Math.max(i,n,o)*2;if(s===0)return 30;let l=30+(Math.round(o)<<2|Math.round(n)<<1|Math.round(i));return s===2&&(l+=60),l},enumerable:!1},rgbToAnsi:{value:(r,i,n)=>t.ansi256ToAnsi(t.rgbToAnsi256(r,i,n)),enumerable:!1},hexToAnsi:{value:r=>t.ansi256ToAnsi(t.hexToAnsi256(r)),enumerable:!1}}),t}var $n=Wn(),P=$n;function B(e,t=Et.argv){let r=e.startsWith("-")?"":e.length===1?"-":"--",i=t.indexOf(r+e),n=t.indexOf("--");return i!==-1&&(n===-1||i<n)}var{env:E}=Et,Pe;B("no-color")||B("no-colors")||B("color=false")||B("color=never")?Pe=0:(B("color")||B("colors")||B("color=true")||B("color=always"))&&(Pe=1);function Hn(){if("FORCE_COLOR"in E)return E.FORCE_COLOR==="true"?1:E.FORCE_COLOR==="false"?0:E.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(E.FORCE_COLOR,10),3)}function Vn(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function Kn(e,{streamIsTTY:t,sniffFlags:r=!0}={}){let i=Hn();i!==void 0&&(Pe=i);let n=r?Pe:i;if(n===0)return 0;if(r){if(B("color=16m")||B("color=full")||B("color=truecolor"))return 3;if(B("color=256"))return 2}if(e&&!t&&n===void 0)return 0;let o=n||0;if(E.TERM==="dumb")return o;if(Et.platform==="win32"){let s=Yn.release().split(".");return Number(s[0])>=10&&Number(s[2])>=10586?Number(s[2])>=14931?3:2:1}if("CI"in E)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(s=>s in E)||E.CI_NAME==="codeship"?1:o;if("TEAMCITY_VERSION"in E)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(E.TEAMCITY_VERSION)?1:0;if("TF_BUILD"in E&&"AGENT_NAME"in E)return 1;if(E.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in E){let s=Number.parseInt((E.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(E.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(E.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(E.TERM)||"COLORTERM"in E?1:o}function Mr(e,t={}){let r=Kn(e,{streamIsTTY:e&&e.isTTY,...t});return Vn(r)}var Jn={stdout:Mr({isTTY:Br.isatty(1)}),stderr:Mr({isTTY:Br.isatty(2)})},Zn=Jn;function Qn(e,t,r){let i=e.indexOf(t);if(i===-1)return e;let n=t.length,o=0,s="";do s+=e.substr(o,i-o)+t+r,o=i+n,i=e.indexOf(t,o);while(i!==-1);return s+=e.slice(o),s}function Xn(e,t,r,i){let n=0,o="";do{let s=e[i-1]==="\r";o+=e.substr(n,(s?i-1:i)-n)+t+(s?`\r
9
9
  `:`
10
10
  `)+r,n=i+1,i=e.indexOf(`
11
- `,n)}while(i!==-1);return o+=e.slice(n),o}var{stdout:Br,stderr:Mr}=Zn,yt=Symbol("GENERATOR"),ie=Symbol("STYLER"),be=Symbol("IS_EMPTY"),Ir=["ansi","ansi","ansi256","ansi16m"],ne=Object.create(null),zn=(e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let r=Br?Br.level:0;e.level=t.level===void 0?r:t.level},eo=e=>{let t=(...r)=>r.join(" ");return zn(t,e),Object.setPrototypeOf(t,ye.prototype),t};function ye(e){return eo(e)}Object.setPrototypeOf(ye.prototype,Function.prototype);for(let[e,t]of Object.entries(P))ne[e]={get(){let r=Fe(this,mt(t.open,t.close,this[ie]),this[be]);return Object.defineProperty(this,e,{value:r}),r}};ne.visible={get(){let e=Fe(this,this[ie],!0);return Object.defineProperty(this,"visible",{value:e}),e}};var xt=(e,t,r,...i)=>e==="rgb"?t==="ansi16m"?P[r].ansi16m(...i):t==="ansi256"?P[r].ansi256(P.rgbToAnsi256(...i)):P[r].ansi(P.rgbToAnsi(...i)):e==="hex"?xt("rgb",t,r,...P.hexToRgb(...i)):P[r][e](...i),to=["rgb","hex","ansi256"];for(let e of to){ne[e]={get(){let{level:r}=this;return function(...i){let n=mt(xt(e,Ir[r],"color",...i),P.color.close,this[ie]);return Fe(this,n,this[be])}}};let t="bg"+e[0].toUpperCase()+e.slice(1);ne[t]={get(){let{level:r}=this;return function(...i){let n=mt(xt(e,Ir[r],"bgColor",...i),P.bgColor.close,this[ie]);return Fe(this,n,this[be])}}}}var ro=Object.defineProperties(()=>{},{...ne,level:{enumerable:!0,get(){return this[yt].level},set(e){this[yt].level=e}}}),mt=(e,t,r)=>{let i,n;return r===void 0?(i=e,n=t):(i=r.openAll+e,n=t+r.closeAll),{open:e,close:t,openAll:i,closeAll:n,parent:r}},Fe=(e,t,r)=>{let i=(...n)=>io(i,n.length===1?""+n[0]:n.join(" "));return Object.setPrototypeOf(i,ro),i[yt]=e,i[ie]=t,i[be]=r,i},io=(e,t)=>{if(e.level<=0||!t)return e[be]?"":t;let r=e[ie];if(r===void 0)return t;let{openAll:i,closeAll:n}=r;if(t.includes("\x1B"))for(;r!==void 0;)t=Qn(t,r.close,r.open),r=r.parent;let o=t.indexOf(`
12
- `);return o!==-1&&(t=Xn(t,n,i,o)),i+t+n};Object.defineProperties(ye.prototype,ne);var no=ye(),Jl=ye({level:Mr?Mr.level:0}),oo=no,so={win32:e=>({cmd:"cmd.exe",args:["/d","/s","/c",e]})},lo={"cp -rf":{win32:e=>{let t="xcopy /E /S /G /Q /Y",r=e.map(i=>i.endsWith("\\")?i:`${i}\\`).map(i=>i.replace(/\*\\$/,""));return`${t} ${r.join(" ")}`}},ln:{win32:e=>`mklink /D ${e.join(" ")}`},pkill:{win32:e=>`taskkill /T /F /pid ${e.join(" ")}`}},ao=(e,t,r)=>{let i={...so,...t},n={...lo,...r},o=l=>{let a=process.platform,f=i[a];if(f)return f(l);let[c,...d]=l.split(" ");return{cmd:c,args:d}},s=(l=>{let a=Object.entries(n);for(let[f,c]of a)if(l.startsWith(f)){let d=process.platform,y=c[d];if(!y)break;let m=l.slice(f.length).trim().split(" ");return y(m)}return l})(e);return o(s)},fo=process.platform==="linux"||process.platform==="darwin",vt=process.platform==="win32",uo={stdio:"pipe",shell:!0,detached:!vt,env:process.env},ho={log:!0,commandTranslations:{},shellTranslations:{},...uo},je=({log:e=!0,commandTranslations:t={},shellTranslations:r={},...i}=ho)=>{let n=null;return{childProcess:n,async run(o){if(n)throw new Error("Only one command per shell.");if(typeof o=="object"){let a=process.platform;o.posix&&fo&&(a="posix");let f=o[a];if(!f)throw new Error("No command found for platform: "+JSON.stringify({platform:process.platform,command:o}));o=f}let{cmd:s,args:l}=ao(o,r,t);return e&&console.log(oo.dim(`
11
+ `,n)}while(i!==-1);return o+=e.slice(n),o}var{stdout:Ir,stderr:Dr}=Zn,xt=Symbol("GENERATOR"),ie=Symbol("STYLER"),be=Symbol("IS_EMPTY"),Lr=["ansi","ansi","ansi256","ansi16m"],ne=Object.create(null),zn=(e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let r=Ir?Ir.level:0;e.level=t.level===void 0?r:t.level},eo=e=>{let t=(...r)=>r.join(" ");return zn(t,e),Object.setPrototypeOf(t,ye.prototype),t};function ye(e){return eo(e)}Object.setPrototypeOf(ye.prototype,Function.prototype);for(let[e,t]of Object.entries(P))ne[e]={get(){let r=Fe(this,vt(t.open,t.close,this[ie]),this[be]);return Object.defineProperty(this,e,{value:r}),r}};ne.visible={get(){let e=Fe(this,this[ie],!0);return Object.defineProperty(this,"visible",{value:e}),e}};var mt=(e,t,r,...i)=>e==="rgb"?t==="ansi16m"?P[r].ansi16m(...i):t==="ansi256"?P[r].ansi256(P.rgbToAnsi256(...i)):P[r].ansi(P.rgbToAnsi(...i)):e==="hex"?mt("rgb",t,r,...P.hexToRgb(...i)):P[r][e](...i),to=["rgb","hex","ansi256"];for(let e of to){ne[e]={get(){let{level:r}=this;return function(...i){let n=vt(mt(e,Lr[r],"color",...i),P.color.close,this[ie]);return Fe(this,n,this[be])}}};let t="bg"+e[0].toUpperCase()+e.slice(1);ne[t]={get(){let{level:r}=this;return function(...i){let n=vt(mt(e,Lr[r],"bgColor",...i),P.bgColor.close,this[ie]);return Fe(this,n,this[be])}}}}var ro=Object.defineProperties(()=>{},{...ne,level:{enumerable:!0,get(){return this[xt].level},set(e){this[xt].level=e}}}),vt=(e,t,r)=>{let i,n;return r===void 0?(i=e,n=t):(i=r.openAll+e,n=t+r.closeAll),{open:e,close:t,openAll:i,closeAll:n,parent:r}},Fe=(e,t,r)=>{let i=(...n)=>io(i,n.length===1?""+n[0]:n.join(" "));return Object.setPrototypeOf(i,ro),i[xt]=e,i[ie]=t,i[be]=r,i},io=(e,t)=>{if(e.level<=0||!t)return e[be]?"":t;let r=e[ie];if(r===void 0)return t;let{openAll:i,closeAll:n}=r;if(t.includes("\x1B"))for(;r!==void 0;)t=Qn(t,r.close,r.open),r=r.parent;let o=t.indexOf(`
12
+ `);return o!==-1&&(t=Xn(t,n,i,o)),i+t+n};Object.defineProperties(ye.prototype,ne);var no=ye(),Jl=ye({level:Dr?Dr.level:0}),oo=no,so={win32:e=>({cmd:"cmd.exe",args:["/d","/s","/c",e]})},lo={"cp -rf":{win32:e=>{let t="xcopy /E /S /G /Q /Y",r=e.map(i=>i.endsWith("\\")?i:`${i}\\`).map(i=>i.replace(/\*\\$/,""));return`${t} ${r.join(" ")}`}},ln:{win32:e=>`mklink /D ${e.join(" ")}`},pkill:{win32:e=>`taskkill /T /F /pid ${e.join(" ")}`}},ao=(e,t,r)=>{let i={...so,...t},n={...lo,...r},o=l=>{let a=process.platform,f=i[a];if(f)return f(l);let[c,...d]=l.split(" ");return{cmd:c,args:d}},s=(l=>{let a=Object.entries(n);for(let[f,c]of a)if(l.startsWith(f)){let d=process.platform,y=c[d];if(!y)break;let m=l.slice(f.length).trim().split(" ");return y(m)}return l})(e);return o(s)},fo=process.platform==="linux"||process.platform==="darwin",wt=process.platform==="win32",uo={stdio:"pipe",shell:!0,detached:!wt,env:process.env},ho={log:!0,commandTranslations:{},shellTranslations:{},...uo},je=({log:e=!0,commandTranslations:t={},shellTranslations:r={},...i}=ho)=>{let n=null;return{childProcess:n,async run(o){if(n)throw new Error("Only one command per shell.");if(typeof o=="object"){let a=process.platform;o.posix&&fo&&(a="posix");let f=o[a];if(!f)throw new Error("No command found for platform: "+JSON.stringify({platform:process.platform,command:o}));o=f}let{cmd:s,args:l}=ao(o,r,t);return e&&console.log(oo.dim(`
13
13
  $ ${s} ${l.join(" ")}
14
- `)),await new Promise((a,f)=>{n=Un(s,l,i);let c="",d="";if(!n)throw new Error("Child process was not set.");let y=m=>{n=null;let S={code:m,stdout:c,stderr:d};m===0||m===1&&!vt?a(S):f(S)};n.stdout?.on("data",m=>{c+=m.toString()}),n.stderr?.on("data",m=>{d+=m.toString()}),n.on("close",y),n.on("exit",y),n.on("error",y),n.stdout?.pipe(process.stdout),n.stderr?.pipe(process.stderr)})},kill(o="SIGKILL"){if(n?.pid)if(vt)Gn(`taskkill /t /f /pid ${n.pid}`);else return process.kill(-n.pid,o);return!0}}};import ut from"node:process";import Hr from"node:process";var Wr=pe(Pr(),1),$r=pe(Gr(),1);import po from"node:process";var _o=(0,Wr.default)(()=>{(0,$r.default)(()=>{po.stderr.write("\x1B[?25h")},{alwaysLast:!0})}),Yr=_o;var Ye=!1,ae={};ae.show=(e=Hr.stderr)=>{!e.isTTY||(Ye=!1,e.write("\x1B[?25h"))};ae.hide=(e=Hr.stderr)=>{!e.isTTY||(Yr(),Ye=!0,e.write("\x1B[?25l"))};ae.toggle=(e,t)=>{e!==void 0&&(Ye=e),Ye?ae.show(t):ae.hide(t)};var Tt=ae;var De=pe(Zr(),1);import q from"node:process";function me(){return q.platform!=="win32"?q.env.TERM!=="linux":Boolean(q.env.CI)||Boolean(q.env.WT_SESSION)||q.env.ConEmuTask==="{cmd::Cmder}"||q.env.TERM_PROGRAM==="vscode"||q.env.TERM==="xterm-256color"||q.env.TERM==="alacritty"||q.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var bo={info:A.blue("ℹ"),success:A.green("✔"),warning:A.yellow("⚠"),error:A.red("✖")},yo={info:A.blue("i"),success:A.green("√"),warning:A.yellow("‼"),error:A.red("×")},xo=me()?bo:yo,ve=xo;function Ot({onlyFirst:e=!1}={}){let t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}function At(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(Ot(),"")}var _n=pe(oi(),1);function Bt({stream:e=process.stdout}={}){return Boolean(e&&e.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))}var pn=pe(dn(),1);import N from"node:process";import Tl from"node:readline";var Ol=3,ar=class{#r=0;#u=new pn.BufferListStream;#n;#i;constructor(){this.#u.pipe(N.stdout);let t=this;this.#n=function(r,i,...n){let{stdin:o}=N;if(t.#r>0||o.emit===t.#n){if(r==="keypress")return;r==="data"&&i.includes(Ol)&&N.emit("SIGINT"),Reflect.apply(t.#n,this,[r,i,...n])}else Reflect.apply(N.stdin.emit,this,[r,i,...n])}}start(){this.#r++,this.#r===1&&this._realStart()}stop(){if(this.#r<=0)throw new Error("`stop` called more times than `start`");this.#r--,this.#r===0&&this._realStop()}_realStart(){N.platform!=="win32"&&(this.#i=Tl.createInterface({input:N.stdin,output:this.#u}),this.#i.on("SIGINT",()=>{N.listenerCount("SIGINT")===0?N.emit("SIGINT"):(this.#i.close(),N.kill(N.pid,"SIGINT"))}))}_realStop(){N.platform!=="win32"&&(this.#i.close(),this.#i=void 0)}};var ht,gn=class{#r=0;#u=!1;#n=0;#i=0;#e;#s;#t;#h;#c;#l;#a;#f;#d;#o;color;constructor(t){ht||(ht=new ar),typeof t=="string"&&(t={text:t}),this.#e={color:"cyan",stream:ut.stderr,discardStdin:!0,hideCursor:!0,...t},this.color=this.#e.color,this.spinner=this.#e.spinner,this.#c=this.#e.interval,this.#t=this.#e.stream,this.#l=typeof this.#e.isEnabled=="boolean"?this.#e.isEnabled:Bt({stream:this.#t}),this.#a=typeof this.#e.isSilent=="boolean"?this.#e.isSilent:!1,this.text=this.#e.text,this.prefixText=this.#e.prefixText,this.indent=this.#e.indent,ut.env.NODE_ENV==="test"&&(this._stream=this.#t,this._isEnabled=this.#l,Object.defineProperty(this,"_linesToClear",{get(){return this.#r},set(r){this.#r=r}}),Object.defineProperty(this,"_frameIndex",{get(){return this.#i}}),Object.defineProperty(this,"_lineCount",{get(){return this.#n}}))}get indent(){return this.#f}set indent(t=0){if(!(t>=0&&Number.isInteger(t)))throw new Error("The `indent` option must be an integer from 0 and up");this.#f=t,this.updateLineCount()}get interval(){return this.#c||this.#s.interval||100}get spinner(){return this.#s}set spinner(t){if(this.#i=0,this.#c=void 0,typeof t=="object"){if(t.frames===void 0)throw new Error("The given spinner must have a `frames` property");this.#s=t}else if(!me())this.#s=De.default.line;else if(t===void 0)this.#s=De.default.dots;else if(t!=="default"&&De.default[t])this.#s=De.default[t];else throw new Error(`There is no built-in spinner named '${t}'. See https://github.com/sindresorhus/cli-spinners/blob/main/spinners.json for a full list.`)}get text(){return this.#d}set text(t){this.#d=t||"",this.updateLineCount()}get prefixText(){return this.#o}set prefixText(t){this.#o=t||"",this.updateLineCount()}get isSpinning(){return this.#h!==void 0}getFullPrefixText(t=this.#o,r=" "){return typeof t=="string"&&t!==""?t+r:typeof t=="function"?t()+r:""}updateLineCount(){let t=this.#t.columns||80,r=this.getFullPrefixText(this.#o,"-");this.#n=0;for(let i of At(" ".repeat(this.#f)+r+"--"+this.#d).split(`
15
- `))this.#n+=Math.max(1,Math.ceil((0,_n.default)(i)/t))}get isEnabled(){return this.#l&&!this.#a}set isEnabled(t){if(typeof t!="boolean")throw new TypeError("The `isEnabled` option must be a boolean");this.#l=t}get isSilent(){return this.#a}set isSilent(t){if(typeof t!="boolean")throw new TypeError("The `isSilent` option must be a boolean");this.#a=t}frame(){let{frames:t}=this.#s,r=t[this.#i];this.color&&(r=A[this.color](r)),this.#i=++this.#i%t.length;let i=typeof this.#o=="string"&&this.#o!==""?this.#o+" ":"",n=typeof this.text=="string"?" "+this.text:"";return i+r+n}clear(){if(!this.#l||!this.#t.isTTY)return this;this.#t.cursorTo(0);for(let t=0;t<this.#r;t++)t>0&&this.#t.moveCursor(0,-1),this.#t.clearLine(1);return(this.#f||this.lastIndent!==this.#f)&&this.#t.cursorTo(this.#f),this.lastIndent=this.#f,this.#r=0,this}render(){return this.#a?this:(this.clear(),this.#t.write(this.frame()),this.#r=this.#n,this)}start(t){return t&&(this.text=t),this.#a?this:this.#l?this.isSpinning?this:(this.#e.hideCursor&&Tt.hide(this.#t),this.#e.discardStdin&&ut.stdin.isTTY&&(this.#u=!0,ht.start()),this.render(),this.#h=setInterval(this.render.bind(this),this.interval),this):(this.text&&this.#t.write(`- ${this.text}
16
- `),this)}stop(){return this.#l?(clearInterval(this.#h),this.#h=void 0,this.#i=0,this.clear(),this.#e.hideCursor&&Tt.show(this.#t),this.#e.discardStdin&&ut.stdin.isTTY&&this.#u&&(ht.stop(),this.#u=!1),this):this}succeed(t){return this.stopAndPersist({symbol:ve.success,text:t})}fail(t){return this.stopAndPersist({symbol:ve.error,text:t})}warn(t){return this.stopAndPersist({symbol:ve.warning,text:t})}info(t){return this.stopAndPersist({symbol:ve.info,text:t})}stopAndPersist(t={}){if(this.#a)return this;let r=t.prefixText||this.#o,i=t.text||this.text,n=typeof i=="string"?" "+i:"";return this.stop(),this.#t.write(`${this.getFullPrefixText(r," ")}${t.symbol||" "}${n}
17
- `),this}};function fr(e){return new gn(e)}import{dirname as Al,resolve as Cl}from"path";import{fileURLToPath as Bl}from"url";var bn={default:[],react:["@tsmodule/react","react","react-dom"]},ur={default:["@types/node","@typescript-eslint/eslint-plugin"],react:["next","@types/node","@types/react","@types/react-dom","eslint","eslint-config-next","tailwindcss","autoprefixer","cssnano","postcss","postcss-import"]},yn=Cl(Al(Bl(import.meta.url)),"..");import{mkdir as Ml}from"fs/promises";import{resolve as xn}from"path";var hr=async(e,t)=>{let r=je(),i=xn(yn,`./templates/${e}`),n=xn(t);await Ml(n,{recursive:!0}),await r.run({posix:`cp -rf ${i}/. ${n}`,win32:`xcopy /E /I /Q /Y ${i}\\ ${n}\\`})};import mn from"fs/promises";import{resolve as Il}from"path";var vn=async e=>{let t=Il(process.cwd(),e,"package.json"),r=await mn.readFile(t,"utf-8"),i=JSON.parse(r);i.name=e,await mn.writeFile(t,JSON.stringify(i,null,2))};globalThis.SHELL_OPTIONS={stdio:["ignore","ignore","inherit"]};var yf=async(e,{react:t=!1})=>{let r=je(),i=fr(`Creating new module ${A.blueBright(e)}.`).start();await hr("default",e),t&&await hr("react",e),await vn(e),i.succeed("Project created."),process.chdir(e);let n=[],o=["@tsmodule/tsmodule"];t?(n.push(...bn.react),o.push(...ur.react)):o.push(...ur.default),n.length&&await r.run(`yarn add ${n.join(" ")}`),o.length&&await r.run(`yarn add -D ${o.join(" ")}`),i.succeed("Dependencies installed."),await r.run("git init"),i.succeed("Set up as Git repository.")};export{yf as create};
14
+ `)),await new Promise((a,f)=>{n=Un(s,l,i);let c="",d="";if(!n)throw new Error("Child process was not set.");let y=m=>{n=null;let S={code:m,stdout:c,stderr:d};m===0||m===1&&!wt?a(S):f(S)};n.stdout?.on("data",m=>{c+=m.toString()}),n.stderr?.on("data",m=>{d+=m.toString()}),n.on("close",y),n.on("exit",y),n.on("error",y),n.stdout?.pipe(process.stdout),n.stderr?.pipe(process.stderr)})},kill(o="SIGKILL"){if(n?.pid)if(wt)Gn(`taskkill /t /f /pid ${n.pid}`);else return process.kill(-n.pid,o);return!0}}};import ht from"node:process";import Kr from"node:process";var Yr=pe(jr(),1),Hr=pe($r(),1);import po from"node:process";var _o=(0,Yr.default)(()=>{(0,Hr.default)(()=>{po.stderr.write("\x1B[?25h")},{alwaysLast:!0})}),Vr=_o;var Ye=!1,ae={};ae.show=(e=Kr.stderr)=>{!e.isTTY||(Ye=!1,e.write("\x1B[?25h"))};ae.hide=(e=Kr.stderr)=>{!e.isTTY||(Vr(),Ye=!0,e.write("\x1B[?25l"))};ae.toggle=(e,t)=>{e!==void 0&&(Ye=e),Ye?ae.show(t):ae.hide(t)};var Ot=ae;var De=pe(Xr(),1);import q from"node:process";function me(){return q.platform!=="win32"?q.env.TERM!=="linux":Boolean(q.env.CI)||Boolean(q.env.WT_SESSION)||q.env.ConEmuTask==="{cmd::Cmder}"||q.env.TERM_PROGRAM==="vscode"||q.env.TERM==="xterm-256color"||q.env.TERM==="alacritty"||q.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var bo={info:A.blue("ℹ"),success:A.green("✔"),warning:A.yellow("⚠"),error:A.red("✖")},yo={info:A.blue("i"),success:A.green("√"),warning:A.yellow("‼"),error:A.red("×")},xo=me()?bo:yo,ve=xo;function At({onlyFirst:e=!1}={}){let t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}function Ct(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(At(),"")}var bn=pe(li(),1);function Mt({stream:e=process.stdout}={}){return Boolean(e&&e.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))}var gn=pe(_n(),1);import N from"node:process";import Tl from"node:readline";var Ol=3,ut=class{#r=0;#u=new gn.BufferListStream;#n;#i;constructor(){this.#u.pipe(N.stdout);let t=this;this.#n=function(r,i,...n){let{stdin:o}=N;if(t.#r>0||o.emit===t.#n){if(r==="keypress")return;r==="data"&&i.includes(Ol)&&N.emit("SIGINT"),Reflect.apply(t.#n,this,[r,i,...n])}else Reflect.apply(N.stdin.emit,this,[r,i,...n])}}start(){this.#r++,this.#r===1&&this._realStart()}stop(){if(this.#r<=0)throw new Error("`stop` called more times than `start`");this.#r--,this.#r===0&&this._realStop()}_realStart(){N.platform!=="win32"&&(this.#i=Tl.createInterface({input:N.stdin,output:this.#u}),this.#i.on("SIGINT",()=>{N.listenerCount("SIGINT")===0?N.emit("SIGINT"):(this.#i.close(),N.kill(N.pid,"SIGINT"))}))}_realStop(){N.platform!=="win32"&&(this.#i.close(),this.#i=void 0)}};var ct,fr=class{#r=0;#u=!1;#n=0;#i=0;#e;#s;#t;#h;#c;#l;#a;#f;#d;#o;color;constructor(t){ct||(ct=new ut),typeof t=="string"&&(t={text:t}),this.#e={color:"cyan",stream:ht.stderr,discardStdin:!0,hideCursor:!0,...t},this.color=this.#e.color,this.spinner=this.#e.spinner,this.#c=this.#e.interval,this.#t=this.#e.stream,this.#l=typeof this.#e.isEnabled=="boolean"?this.#e.isEnabled:Mt({stream:this.#t}),this.#a=typeof this.#e.isSilent=="boolean"?this.#e.isSilent:!1,this.text=this.#e.text,this.prefixText=this.#e.prefixText,this.indent=this.#e.indent,ht.env.NODE_ENV==="test"&&(this._stream=this.#t,this._isEnabled=this.#l,Object.defineProperty(this,"_linesToClear",{get(){return this.#r},set(r){this.#r=r}}),Object.defineProperty(this,"_frameIndex",{get(){return this.#i}}),Object.defineProperty(this,"_lineCount",{get(){return this.#n}}))}get indent(){return this.#f}set indent(t=0){if(!(t>=0&&Number.isInteger(t)))throw new Error("The `indent` option must be an integer from 0 and up");this.#f=t,this.updateLineCount()}get interval(){return this.#c||this.#s.interval||100}get spinner(){return this.#s}set spinner(t){if(this.#i=0,this.#c=void 0,typeof t=="object"){if(t.frames===void 0)throw new Error("The given spinner must have a `frames` property");this.#s=t}else if(!me())this.#s=De.default.line;else if(t===void 0)this.#s=De.default.dots;else if(t!=="default"&&De.default[t])this.#s=De.default[t];else throw new Error(`There is no built-in spinner named '${t}'. See https://github.com/sindresorhus/cli-spinners/blob/main/spinners.json for a full list.`)}get text(){return this.#d}set text(t){this.#d=t||"",this.updateLineCount()}get prefixText(){return this.#o}set prefixText(t){this.#o=t||"",this.updateLineCount()}get isSpinning(){return this.#h!==void 0}getFullPrefixText(t=this.#o,r=" "){return typeof t=="string"&&t!==""?t+r:typeof t=="function"?t()+r:""}updateLineCount(){let t=this.#t.columns||80,r=this.getFullPrefixText(this.#o,"-");this.#n=0;for(let i of Ct(" ".repeat(this.#f)+r+"--"+this.#d).split(`
15
+ `))this.#n+=Math.max(1,Math.ceil((0,bn.default)(i)/t))}get isEnabled(){return this.#l&&!this.#a}set isEnabled(t){if(typeof t!="boolean")throw new TypeError("The `isEnabled` option must be a boolean");this.#l=t}get isSilent(){return this.#a}set isSilent(t){if(typeof t!="boolean")throw new TypeError("The `isSilent` option must be a boolean");this.#a=t}frame(){let{frames:t}=this.#s,r=t[this.#i];this.color&&(r=A[this.color](r)),this.#i=++this.#i%t.length;let i=typeof this.#o=="string"&&this.#o!==""?this.#o+" ":"",n=typeof this.text=="string"?" "+this.text:"";return i+r+n}clear(){if(!this.#l||!this.#t.isTTY)return this;this.#t.cursorTo(0);for(let t=0;t<this.#r;t++)t>0&&this.#t.moveCursor(0,-1),this.#t.clearLine(1);return(this.#f||this.lastIndent!==this.#f)&&this.#t.cursorTo(this.#f),this.lastIndent=this.#f,this.#r=0,this}render(){return this.#a?this:(this.clear(),this.#t.write(this.frame()),this.#r=this.#n,this)}start(t){return t&&(this.text=t),this.#a?this:this.#l?this.isSpinning?this:(this.#e.hideCursor&&Ot.hide(this.#t),this.#e.discardStdin&&ht.stdin.isTTY&&(this.#u=!0,ct.start()),this.render(),this.#h=setInterval(this.render.bind(this),this.interval),this):(this.text&&this.#t.write(`- ${this.text}
16
+ `),this)}stop(){return this.#l?(clearInterval(this.#h),this.#h=void 0,this.#i=0,this.clear(),this.#e.hideCursor&&Ot.show(this.#t),this.#e.discardStdin&&ht.stdin.isTTY&&this.#u&&(ct.stop(),this.#u=!1),this):this}succeed(t){return this.stopAndPersist({symbol:ve.success,text:t})}fail(t){return this.stopAndPersist({symbol:ve.error,text:t})}warn(t){return this.stopAndPersist({symbol:ve.warning,text:t})}info(t){return this.stopAndPersist({symbol:ve.info,text:t})}stopAndPersist(t={}){if(this.#a)return this;let r=t.prefixText||this.#o,i=t.text||this.text,n=typeof i=="string"?" "+i:"";return this.stop(),this.#t.write(`${this.getFullPrefixText(r," ")}${t.symbol||" "}${n}
17
+ `),this}};function ur(e){return new fr(e)}import{dirname as Al,resolve as Cl}from"path";import{fileURLToPath as Bl}from"url";var hr={default:[],react:["@tsmodule/react","react","react-dom"]},cr={default:["@types/node","ava","eslint","@typescript-eslint/eslint-plugin","@typescript-eslint/parser"],react:["next","@types/node","@types/react","@types/react-dom","eslint","eslint-config-next","tailwindcss","autoprefixer","cssnano","postcss","postcss-import"]},yn=Cl(Al(Bl(import.meta.url)),"..");import{mkdir as Ml}from"fs/promises";import{resolve as xn}from"path";var dr=async(e,t)=>{let r=je(),i=xn(yn,`./templates/${e}`),n=xn(t);await Ml(n,{recursive:!0}),await r.run({posix:`cp -rf ${i}/. ${n}`,win32:`xcopy /E /I /Q /Y ${i}\\ ${n}\\`})};import mn from"fs/promises";import{resolve as Il}from"path";var vn=async e=>{let t=Il(process.cwd(),e,"package.json"),r=await mn.readFile(t,"utf-8"),i=JSON.parse(r);i.name=e,await mn.writeFile(t,JSON.stringify(i,null,2))};globalThis.SHELL_OPTIONS={stdio:["ignore","ignore","inherit"]};var yf=async(e,{react:t=!1})=>{let r=je(),i=ur(`Creating new module ${A.blueBright(e)}.`).start();await dr("default",e),t&&await dr("react",e),await vn(e),i.succeed("Project created."),process.chdir(e);let n=[...hr.default],o=[...cr.default];t&&(n.push(...hr.react),o.push(...cr.react)),n.length&&await r.run(`yarn add ${n.join(" ")}`),o.length&&await r.run(`yarn add -D ${o.join(" ")}`),i.succeed("Dependencies installed."),await r.run("git init"),i.succeed("Set up as Git repository.")};export{yf as create};
18
18
  /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */