@tsmodule/tsmodule 41.1.0 → 41.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,18 +1,18 @@
1
1
 
2
2
  if(typeof process<"u"){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 Rn=Object.create;var pr=Object.defineProperty;var Sn=Object.getOwnPropertyDescriptor;var Tn=Object.getOwnPropertyNames;var An=Object.getPrototypeOf,Cn=Object.prototype.hasOwnProperty;var C=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")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 Tn(t))!Cn.call(e,n)&&n!==r&&pr(e,n,{get:()=>t[n],enumerable:!(i=Sn(t,n))||i.enumerable});return e};var _e=(e,t,r)=>(r=e!=null?Rn(An(e)):{},On(t||!e||!e.__esModule?pr(r,"default",{value:e,enumerable:!0}):r,e));var Or=p(($s,vt)=>{"use strict";var Cr=(e,t)=>{for(let r of Reflect.ownKeys(t))Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));return e};vt.exports=Cr;vt.exports.default=Cr});var Mr=p((Ys,je)=>{"use strict";var Wn=Or(),Fe=new WeakMap,Br=(e,t={})=>{if(typeof e!="function")throw new TypeError("Expected a function");let r,i=0,n=e.displayName||e.name||"<anonymous>",o=function(...l){if(Fe.set(o,++i),i===1)r=e.apply(this,l),e=null;else if(t.throw===!0)throw new Error(`Function \`${n}\` can only be called once`);return r};return Wn(o,e),Fe.set(o,i),o};je.exports=Br;je.exports.default=Br;je.exports.callCount=e=>{if(!Fe.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return Fe.get(e)}});var Ir=p((Hs,ke)=>{ke.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&ke.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&ke.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var Fr=p((Vs,le)=>{var y=global.process,K=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"};K(y)?(Dr=C("assert"),ne=Ir(),Nr=/^win/i.test(y.platform),ye=C("events"),typeof ye!="function"&&(ye=ye.EventEmitter),y.__signal_exit_emitter__?S=y.__signal_exit_emitter__:(S=y.__signal_exit_emitter__=new ye,S.count=0,S.emitted={}),S.infinite||(S.setMaxListeners(1/0),S.infinite=!0),le.exports=function(e,t){if(!K(global.process))return function(){};Dr.equal(typeof e,"function","a callback must be provided for exit handler"),oe===!1&&wt();var r="exit";t&&t.alwaysLast&&(r="afterexit");var i=function(){S.removeListener(r,e),S.listeners("exit").length===0&&S.listeners("afterexit").length===0&&qe()};return S.on(r,e),i},qe=function(){!oe||!K(global.process)||(oe=!1,ne.forEach(function(t){try{y.removeListener(t,Ue[t])}catch{}}),y.emit=Ge,y.reallyExit=Et,S.count-=1)},le.exports.unload=qe,J=function(t,r,i){S.emitted[t]||(S.emitted[t]=!0,S.emit(t,r,i))},Ue={},ne.forEach(function(e){Ue[e]=function(){if(!!K(global.process)){var r=y.listeners(e);r.length===S.count&&(qe(),J("exit",null,e),J("afterexit",null,e),Nr&&e==="SIGHUP"&&(e="SIGINT"),y.kill(y.pid,e))}}}),le.exports.signals=function(){return ne},oe=!1,wt=function(){oe||!K(global.process)||(oe=!0,S.count+=1,ne=ne.filter(function(t){try{return y.on(t,Ue[t]),!0}catch{return!1}}),y.emit=Pr,y.reallyExit=Lr)},le.exports.load=wt,Et=y.reallyExit,Lr=function(t){!K(global.process)||(y.exitCode=t||0,J("exit",y.exitCode,null),J("afterexit",y.exitCode,null),Et.call(y,y.exitCode))},Ge=y.emit,Pr=function(t,r){if(t==="exit"&&K(global.process)){r!==void 0&&(y.exitCode=r);var i=Ge.apply(this,arguments);return J("exit",y.exitCode,null),J("afterexit",y.exitCode,null),i}else return Ge.apply(this,arguments)}):le.exports=function(){return function(){}};var Dr,ne,Nr,ye,S,qe,J,Ue,oe,wt,Et,Lr,Ge,Pr});var Gr=p((zs,Hn)=>{Hn.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:["⢀⠀","⡀⠀","⠄⠀","⢂⠀","⡂⠀","⠅⠀","⢃⠀","⡃⠀","⠍⠀","⢋⠀","⡋⠀","⠍⠁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⢈⠩","⡀⢙","⠄⡙","⢂⠩","⡂⢘","⠅⡘","⢃⠨","⡃⢐","⠍⡐","⢋⠠","⡋⢀","⠍⡁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⠈⠩","⠀⢙","⠀⡙","⠀⠩","⠀⢘","⠀⡘","⠀⠨","⠀⢐","⠀⡐","⠀⠠","⠀⢀","⠀⡀"]},dots13:{interval:80,frames:["⣼","⣹","⢻","⠿","⡟","⣏","⣧","⣶"]},dots8Bit:{interval:80,frames:["⠀","⠁","⠂","⠃","⠄","⠅","⠆","⠇","⡀","⡁","⡂","⡃","⡄","⡅","⡆","⡇","⠈","⠉","⠊","⠋","⠌","⠍","⠎","⠏","⡈","⡉","⡊","⡋","⡌","⡍","⡎","⡏","⠐","⠑","⠒","⠓","⠔","⠕","⠖","⠗","⡐","⡑","⡒","⡓","⡔","⡕","⡖","⡗","⠘","⠙","⠚","⠛","⠜","⠝","⠞","⠟","⡘","⡙","⡚","⡛","⡜","⡝","⡞","⡟","⠠","⠡","⠢","⠣","⠤","⠥","⠦","⠧","⡠","⡡","⡢","⡣","⡤","⡥","⡦","⡧","⠨","⠩","⠪","⠫","⠬","⠭","⠮","⠯","⡨","⡩","⡪","⡫","⡬","⡭","⡮","⡯","⠰","⠱","⠲","⠳","⠴","⠵","⠶","⠷","⡰","⡱","⡲","⡳","⡴","⡵","⡶","⡷","⠸","⠹","⠺","⠻","⠼","⠽","⠾","⠿","⡸","⡹","⡺","⡻","⡼","⡽","⡾","⡿","⢀","⢁","⢂","⢃","⢄","⢅","⢆","⢇","⣀","⣁","⣂","⣃","⣄","⣅","⣆","⣇","⢈","⢉","⢊","⢋","⢌","⢍","⢎","⢏","⣈","⣉","⣊","⣋","⣌","⣍","⣎","⣏","⢐","⢑","⢒","⢓","⢔","⢕","⢖","⢗","⣐","⣑","⣒","⣓","⣔","⣕","⣖","⣗","⢘","⢙","⢚","⢛","⢜","⢝","⢞","⢟","⣘","⣙","⣚","⣛","⣜","⣝","⣞","⣟","⢠","⢡","⢢","⢣","⢤","⢥","⢦","⢧","⣠","⣡","⣢","⣣","⣤","⣥","⣦","⣧","⢨","⢩","⢪","⢫","⢬","⢭","⢮","⢯","⣨","⣩","⣪","⣫","⣬","⣭","⣮","⣯","⢰","⢱","⢲","⢳","⢴","⢵","⢶","⢷","⣰","⣱","⣲","⣳","⣴","⣵","⣶","⣷","⢸","⢹","⢺","⢻","⢼","⢽","⢾","⢿","⣸","⣹","⣺","⣻","⣼","⣽","⣾","⣿"]},sand:{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 Yr=p((ea,$r)=>{"use strict";var $e=Object.assign({},Gr()),Wr=Object.keys($e);Object.defineProperty($e,"random",{get(){let e=Math.floor(Math.random()*Wr.length),t=Wr[e];return $e[t]}});$r.exports=$e});var Hr=p((fa,Ye)=>{var Zn=function(){"use strict";function e(l,s,a,f){var c;typeof s=="object"&&(a=s.depth,f=s.prototype,c=s.filter,s=s.circular);var d=[],x=[],v=typeof Buffer<"u";typeof s>"u"&&(s=!0),typeof a>"u"&&(a=1/0);function T(_,U){if(_===null)return null;if(U==0)return _;var w,pe;if(typeof _!="object")return _;if(e.__isArray(_))w=[];else if(e.__isRegExp(_))w=new RegExp(_.source,o(_)),_.lastIndex&&(w.lastIndex=_.lastIndex);else if(e.__isDate(_))w=new Date(_.getTime());else{if(v&&Buffer.isBuffer(_))return Buffer.allocUnsafe?w=Buffer.allocUnsafe(_.length):w=new Buffer(_.length),_.copy(w),w;typeof f>"u"?(pe=Object.getPrototypeOf(_),w=Object.create(pe)):(w=Object.create(f),pe=f)}if(s){var dr=d.indexOf(_);if(dr!=-1)return x[dr];d.push(_),x.push(w)}for(var dt in _){var pt;pe&&(pt=Object.getOwnPropertyDescriptor(pe,dt)),!(pt&&pt.set==null)&&(w[dt]=T(_[dt],U-1))}return w}return T(l,a)}e.clonePrototype=function(s){if(s===null)return null;var a=function(){};return a.prototype=s,new a};function t(l){return Object.prototype.toString.call(l)}e.__objToStr=t;function r(l){return typeof l=="object"&&t(l)==="[object Date]"}e.__isDate=r;function i(l){return typeof l=="object"&&t(l)==="[object Array]"}e.__isArray=i;function n(l){return typeof l=="object"&&t(l)==="[object RegExp]"}e.__isRegExp=n;function o(l){var s="";return l.global&&(s+="g"),l.ignoreCase&&(s+="i"),l.multiline&&(s+="m"),s}return e.__getRegExpFlags=o,e}();typeof Ye=="object"&&Ye.exports&&(Ye.exports=Zn)});var Kr=p((ua,Vr)=>{var Xn=Hr();Vr.exports=function(e,t){return e=e||{},Object.keys(t).forEach(function(r){typeof e[r]>"u"&&(e[r]=Xn(t[r]))}),e}});var Zr=p((ha,Jr)=>{Jr.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 ei=p((ca,At)=>{"use strict";var Qn=Kr(),ve=Zr(),Qr={nul:0,control:0};At.exports=function(t){return zr(t,Qr)};At.exports.config=function(e){return e=Qn(e||{},Qr),function(r){return zr(r,e)}};function zr(e,t){if(typeof e!="string")return Xr(e,t);for(var r=0,i=0;i<e.length;i++){var n=Xr(e.charCodeAt(i),t);if(n<0)return-1;r+=n}return r}function Xr(e,t){return e===0?t.nul:e<32||e>=127&&e<160?t.control:zn(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 zn(e){var t=0,r=ve.length-1,i;if(e<ve[0][0]||e>ve[r][1])return!1;for(;r>=t;)if(i=Math.floor((t+r)/2),e>ve[i][1])t=i+1;else if(e<ve[i][0])r=i-1;else return!0;return!1}});var Ot=p((pa,ti)=>{ti.exports=C("stream")});var oi=p((_a,ni)=>{"use strict";function ri(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 eo(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ri(Object(r),!0).forEach(function(i){to(e,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ri(Object(r)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r,i))})}return e}function to(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ro(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ii(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 io(e,t,r){return t&&ii(e.prototype,t),r&&ii(e,r),e}var no=C("buffer"),He=no.Buffer,oo=C("util"),Bt=oo.inspect,lo=Bt&&Bt.custom||"inspect";function so(e,t,r){He.prototype.copy.call(e,t,r)}ni.exports=function(){function e(){ro(this,e),this.head=null,this.tail=null,this.length=0}return io(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 He.alloc(0);for(var i=He.allocUnsafe(r>>>0),n=this.head,o=0;n;)so(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 l=i.data,s=r>l.length?l.length:r;if(s===l.length?o+=l:o+=l.slice(0,r),r-=s,r===0){s===l.length?(++n,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=l.slice(s));break}++n}return this.length-=n,o}},{key:"_getBuffer",value:function(r){var i=He.allocUnsafe(r),n=this.head,o=1;for(n.data.copy(i),r-=n.data.length;n=n.next;){var l=n.data,s=r>l.length?l.length:r;if(l.copy(i,i.length-r,0,s),r-=s,r===0){s===l.length?(++o,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=l.slice(s));break}++o}return this.length-=o,i}},{key:lo,value:function(r,i){return Bt(this,eo({},i,{depth:0,customInspect:!1}))}}]),e}()});var It=p((ga,si)=>{"use strict";function ao(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(Mt,this,e)):process.nextTick(Mt,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(Ve,r):(r._writableState.errorEmitted=!0,process.nextTick(li,r,o)):process.nextTick(li,r,o):t?(process.nextTick(Ve,r),t(o)):process.nextTick(Ve,r)}),this)}function li(e,t){Mt(e,t),Ve(e)}function Ve(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function fo(){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 Mt(e,t){e.emit("error",t)}function uo(e,t){var r=e._readableState,i=e._writableState;r&&r.autoDestroy||i&&i.autoDestroy?e.destroy(t):e.emit("error",t)}si.exports={destroy:ao,undestroy:fo,errorOrDestroy:uo}});var W=p((ba,ui)=>{"use strict";var fi={};function M(e,t,r){r||(r=Error);function i(o,l,s){return typeof t=="string"?t:t(o,l,s)}class n extends r{constructor(l,s,a){super(i(l,s,a))}}n.prototype.name=r.name,n.prototype.code=e,fi[e]=n}function ai(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 ho(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}function co(e,t,r){return(r===void 0||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function po(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"&&ho(t,"not ")?(i="must not be",t=t.replace(/^not /,"")):i="must be";let n;if(co(e," argument"))n=`The ${e} ${i} ${ai(t,"type")}`;else{let o=po(e,".")?"property":"argument";n=`The "${e}" ${o} ${i} ${ai(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");ui.exports.codes=fi});var Dt=p((ya,hi)=>{"use strict";var _o=W().codes.ERR_INVALID_OPT_VALUE;function go(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function bo(e,t,r,i){var n=go(t,i,r);if(n!=null){if(!(isFinite(n)&&Math.floor(n)===n)||n<0){var o=i?r:"highWaterMark";throw new _o(o,n)}return Math.floor(n)}return e.objectMode?16:16*1024}hi.exports={getHighWaterMark:bo}});var ci=p((xa,Nt)=>{typeof Object.create=="function"?Nt.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Nt.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 Z=p((ma,Pt)=>{try{if(Lt=C("util"),typeof Lt.inherits!="function")throw"";Pt.exports=Lt.inherits}catch{Pt.exports=ci()}var Lt});var pi=p((va,di)=>{di.exports=C("util").deprecate});var kt=p((wa,mi)=>{"use strict";mi.exports=m;function gi(e){var t=this;this.next=null,this.entry=null,this.finish=function(){$o(t,e)}}var ae;m.WritableState=Ee;var yo={deprecate:pi()},bi=Ot(),Je=C("buffer").Buffer,xo=global.Uint8Array||function(){};function mo(e){return Je.from(e)}function vo(e){return Je.isBuffer(e)||e instanceof xo}var jt=It(),wo=Dt(),Eo=wo.getHighWaterMark,$=W().codes,Ro=$.ERR_INVALID_ARG_TYPE,So=$.ERR_METHOD_NOT_IMPLEMENTED,To=$.ERR_MULTIPLE_CALLBACK,Ao=$.ERR_STREAM_CANNOT_PIPE,Co=$.ERR_STREAM_DESTROYED,Oo=$.ERR_STREAM_NULL_VALUES,Bo=$.ERR_STREAM_WRITE_AFTER_END,Mo=$.ERR_UNKNOWN_ENCODING,fe=jt.errorOrDestroy;Z()(m,bi);function Io(){}function Ee(e,t,r){ae=ae||X(),e=e||{},typeof r!="boolean"&&(r=t instanceof ae),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=Eo(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){ko(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 gi(this)}Ee.prototype.getBuffer=function(){for(var t=this.bufferedRequest,r=[];t;)r.push(t),t=t.next;return r};(function(){try{Object.defineProperty(Ee.prototype,"buffer",{get:yo.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var Ke;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Ke=Function.prototype[Symbol.hasInstance],Object.defineProperty(m,Symbol.hasInstance,{value:function(t){return Ke.call(this,t)?!0:this!==m?!1:t&&t._writableState instanceof Ee}})):Ke=function(t){return t instanceof this};function m(e){ae=ae||X();var t=this instanceof ae;if(!t&&!Ke.call(m,this))return new m(e);this._writableState=new Ee(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)),bi.call(this)}m.prototype.pipe=function(){fe(this,new Ao)};function Do(e,t){var r=new Bo;fe(e,r),process.nextTick(t,r)}function No(e,t,r,i){var n;return r===null?n=new Oo:typeof r!="string"&&!t.objectMode&&(n=new Ro("chunk",["string","Buffer"],r)),n?(fe(e,n),process.nextTick(i,n),!1):!0}m.prototype.write=function(e,t,r){var i=this._writableState,n=!1,o=!i.objectMode&&vo(e);return o&&!Je.isBuffer(e)&&(e=mo(e)),typeof t=="function"&&(r=t,t=null),o?t="buffer":t||(t=i.defaultEncoding),typeof r!="function"&&(r=Io),i.ending?Do(this,r):(o||No(this,i,e,r))&&(i.pendingcb++,n=Po(this,i,o,e,t,r)),n};m.prototype.cork=function(){this._writableState.corked++};m.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest&&yi(this,e))};m.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 Mo(t);return this._writableState.defaultEncoding=t,this};Object.defineProperty(m.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Lo(e,t,r){return!e.objectMode&&e.decodeStrings!==!1&&typeof t=="string"&&(t=Je.from(t,r)),t}Object.defineProperty(m.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Po(e,t,r,i,n,o){if(!r){var l=Lo(t,i,n);i!==l&&(r=!0,n="buffer",i=l)}var s=t.objectMode?1:i.length;t.length+=s;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 Ft(e,t,!1,s,i,n,o);return a}function Ft(e,t,r,i,n,o,l){t.writelen=i,t.writecb=l,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new Co("write")):r?e._writev(n,t.onwrite):e._write(n,o,t.onwrite),t.sync=!1}function Fo(e,t,r,i,n){--t.pendingcb,r?(process.nextTick(n,i),process.nextTick(we,e,t),e._writableState.errorEmitted=!0,fe(e,i)):(n(i),e._writableState.errorEmitted=!0,fe(e,i),we(e,t))}function jo(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function ko(e,t){var r=e._writableState,i=r.sync,n=r.writecb;if(typeof n!="function")throw new To;if(jo(r),t)Fo(e,r,i,t,n);else{var o=xi(r)||e.destroyed;!o&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&yi(e,r),i?process.nextTick(_i,e,r,o,n):_i(e,r,o,n)}}function _i(e,t,r,i){r||qo(e,t),t.pendingcb--,i(),we(e,t)}function qo(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function yi(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 l=0,s=!0;r;)n[l]=r,r.isBuf||(s=!1),r=r.next,l+=1;n.allBuffers=s,Ft(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 gi(t),t.bufferedRequestCount=0}else{for(;r;){var a=r.chunk,f=r.encoding,c=r.callback,d=t.objectMode?1:a.length;if(Ft(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}m.prototype._write=function(e,t,r){r(new So("_write()"))};m.prototype._writev=null;m.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||Wo(this,i,r),this};Object.defineProperty(m.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function xi(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function Uo(e,t){e._final(function(r){t.pendingcb--,r&&fe(e,r),t.prefinished=!0,e.emit("prefinish"),we(e,t)})}function Go(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final=="function"&&!t.destroyed?(t.pendingcb++,t.finalCalled=!0,process.nextTick(Uo,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function we(e,t){var r=xi(t);if(r&&(Go(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 Wo(e,t,r){t.ending=!0,we(e,t),r&&(t.finished?process.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function $o(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(m.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(t){!this._writableState||(this._writableState.destroyed=t)}});m.prototype.destroy=jt.destroy;m.prototype._undestroy=jt.undestroy;m.prototype._destroy=function(e,t){t(e)}});var X=p((Ea,wi)=>{"use strict";var Yo=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};wi.exports=j;var vi=Gt(),Ut=kt();Z()(j,vi);for(qt=Yo(Ut.prototype),Ze=0;Ze<qt.length;Ze++)Xe=qt[Ze],j.prototype[Xe]||(j.prototype[Xe]=Ut.prototype[Xe]);var qt,Xe,Ze;function j(e){if(!(this instanceof j))return new j(e);vi.call(this,e),Ut.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",Ho)))}Object.defineProperty(j.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});Object.defineProperty(j.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(j.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function Ho(){this._writableState.ended||process.nextTick(Vo,this)}function Vo(e){e.end()}Object.defineProperty(j.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 Si=p((Wt,Ri)=>{var Qe=C("buffer"),k=Qe.Buffer;function Ei(e,t){for(var r in e)t[r]=e[r]}k.from&&k.alloc&&k.allocUnsafe&&k.allocUnsafeSlow?Ri.exports=Qe:(Ei(Qe,Wt),Wt.Buffer=Q);function Q(e,t,r){return k(e,t,r)}Q.prototype=Object.create(k.prototype);Ei(k,Q);Q.from=function(e,t,r){if(typeof e=="number")throw new TypeError("Argument must not be a number");return k(e,t,r)};Q.alloc=function(e,t,r){if(typeof e!="number")throw new TypeError("Argument must be a number");var i=k(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 k(e)};Q.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Qe.SlowBuffer(e)}});var Ht=p(Ai=>{"use strict";var Yt=Si().Buffer,Ti=Yt.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 Ko(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 Jo(e){var t=Ko(e);if(typeof t!="string"&&(Yt.isEncoding===Ti||!Ti(e)))throw new Error("Unknown encoding: "+e);return t||e}Ai.StringDecoder=Re;function Re(e){this.encoding=Jo(e);var t;switch(this.encoding){case"utf16le":this.text=tl,this.end=rl,t=4;break;case"utf8":this.fillLast=Qo,t=4;break;case"base64":this.text=il,this.end=nl,t=3;break;default:this.write=ol,this.end=ll;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Yt.allocUnsafe(t)}Re.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||""};Re.prototype.end=el;Re.prototype.text=zo;Re.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 $t(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function Zo(e,t,r){var i=t.length-1;if(i<r)return 0;var n=$t(t[i]);return n>=0?(n>0&&(e.lastNeed=n-1),n):--i<r||n===-2?0:(n=$t(t[i]),n>=0?(n>0&&(e.lastNeed=n-2),n):--i<r||n===-2?0:(n=$t(t[i]),n>=0?(n>0&&(n===2?n=0:e.lastNeed=n-3),n):0))}function Xo(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 Qo(e){var t=this.lastTotal-this.lastNeed,r=Xo(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 zo(e,t){var r=Zo(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 el(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function tl(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 rl(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 il(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 nl(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function ol(e){return e.toString(this.encoding)}function ll(e){return e&&e.length?this.write(e):""}});var ze=p((Sa,Bi)=>{"use strict";var Ci=W().codes.ERR_STREAM_PREMATURE_CLOSE;function sl(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 al(){}function fl(e){return e.setHeader&&typeof e.abort=="function"}function Oi(e,t,r){if(typeof t=="function")return Oi(e,null,t);t||(t={}),r=sl(r||al);var i=t.readable||t.readable!==!1&&e.readable,n=t.writable||t.writable!==!1&&e.writable,o=function(){e.writable||s()},l=e._writableState&&e._writableState.finished,s=function(){n=!1,l=!0,i||r.call(e)},a=e._readableState&&e._readableState.endEmitted,f=function(){i=!1,a=!0,n||r.call(e)},c=function(T){r.call(e,T)},d=function(){var T;if(i&&!a)return(!e._readableState||!e._readableState.ended)&&(T=new Ci),r.call(e,T);if(n&&!l)return(!e._writableState||!e._writableState.ended)&&(T=new Ci),r.call(e,T)},x=function(){e.req.on("finish",s)};return fl(e)?(e.on("complete",s),e.on("abort",d),e.req?x():e.on("request",x)):n&&!e._writableState&&(e.on("end",o),e.on("close",o)),e.on("end",f),e.on("finish",s),t.error!==!1&&e.on("error",c),e.on("close",d),function(){e.removeListener("complete",s),e.removeListener("abort",d),e.removeListener("request",x),e.req&&e.req.removeListener("finish",s),e.removeListener("end",o),e.removeListener("close",o),e.removeListener("finish",s),e.removeListener("end",f),e.removeListener("error",c),e.removeListener("close",d)}}Bi.exports=Oi});var Ii=p((Ta,Mi)=>{"use strict";var et;function Y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ul=ze(),H=Symbol("lastResolve"),z=Symbol("lastReject"),Se=Symbol("error"),tt=Symbol("ended"),ee=Symbol("lastPromise"),Vt=Symbol("handlePromise"),te=Symbol("stream");function V(e,t){return{value:e,done:t}}function hl(e){var t=e[H];if(t!==null){var r=e[te].read();r!==null&&(e[ee]=null,e[H]=null,e[z]=null,t(V(r,!1)))}}function cl(e){process.nextTick(hl,e)}function dl(e,t){return function(r,i){e.then(function(){if(t[tt]){r(V(void 0,!0));return}t[Vt](r,i)},i)}}var pl=Object.getPrototypeOf(function(){}),_l=Object.setPrototypeOf((et={get stream(){return this[te]},next:function(){var t=this,r=this[Se];if(r!==null)return Promise.reject(r);if(this[tt])return Promise.resolve(V(void 0,!0));if(this[te].destroyed)return new Promise(function(l,s){process.nextTick(function(){t[Se]?s(t[Se]):l(V(void 0,!0))})});var i=this[ee],n;if(i)n=new Promise(dl(i,this));else{var o=this[te].read();if(o!==null)return Promise.resolve(V(o,!1));n=new Promise(this[Vt])}return this[ee]=n,n}},Y(et,Symbol.asyncIterator,function(){return this}),Y(et,"return",function(){var t=this;return new Promise(function(r,i){t[te].destroy(null,function(n){if(n){i(n);return}r(V(void 0,!0))})})}),et),pl),gl=function(t){var r,i=Object.create(_l,(r={},Y(r,te,{value:t,writable:!0}),Y(r,H,{value:null,writable:!0}),Y(r,z,{value:null,writable:!0}),Y(r,Se,{value:null,writable:!0}),Y(r,tt,{value:t._readableState.endEmitted,writable:!0}),Y(r,Vt,{value:function(o,l){var s=i[te].read();s?(i[ee]=null,i[H]=null,i[z]=null,o(V(s,!1))):(i[H]=o,i[z]=l)},writable:!0}),r));return i[ee]=null,ul(t,function(n){if(n&&n.code!=="ERR_STREAM_PREMATURE_CLOSE"){var o=i[z];o!==null&&(i[ee]=null,i[H]=null,i[z]=null,o(n)),i[Se]=n;return}var l=i[H];l!==null&&(i[ee]=null,i[H]=null,i[z]=null,l(V(void 0,!0))),i[tt]=!0}),t.on("readable",cl.bind(null,i)),i};Mi.exports=gl});var Pi=p((Aa,Li)=>{"use strict";function Di(e,t,r,i,n,o,l){try{var s=e[o](l),a=s.value}catch(f){r(f);return}s.done?t(a):Promise.resolve(a).then(i,n)}function bl(e){return function(){var t=this,r=arguments;return new Promise(function(i,n){var o=e.apply(t,r);function l(a){Di(o,i,n,l,s,"next",a)}function s(a){Di(o,i,n,l,s,"throw",a)}l(void 0)})}}function Ni(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 yl(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ni(Object(r),!0).forEach(function(i){xl(e,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ni(Object(r)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r,i))})}return e}function xl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ml=W().codes.ERR_INVALID_ARG_TYPE;function vl(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 ml("iterable",["Iterable"],t);var n=new e(yl({objectMode:!0},r)),o=!1;n._read=function(){o||(o=!0,l())};function l(){return s.apply(this,arguments)}function s(){return s=bl(function*(){try{var a=yield i.next(),f=a.value,c=a.done;c?n.push(null):n.push(yield f)?l():o=!1}catch(d){n.destroy(d)}}),s.apply(this,arguments)}return n}Li.exports=vl});var Gt=p((Oa,Hi)=>{"use strict";Hi.exports=h;var ue;h.ReadableState=qi;var Ca=C("events").EventEmitter,ki=function(t,r){return t.listeners(r).length},Ae=Ot(),rt=C("buffer").Buffer,wl=global.Uint8Array||function(){};function El(e){return rt.from(e)}function Rl(e){return rt.isBuffer(e)||e instanceof wl}var Kt=C("util"),u;Kt&&Kt.debuglog?u=Kt.debuglog("stream"):u=function(){};var Sl=oi(),tr=It(),Tl=Dt(),Al=Tl.getHighWaterMark,it=W().codes,Cl=it.ERR_INVALID_ARG_TYPE,Ol=it.ERR_STREAM_PUSH_AFTER_EOF,Bl=it.ERR_METHOD_NOT_IMPLEMENTED,Ml=it.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,he,Jt,Zt;Z()(h,Ae);var Te=tr.errorOrDestroy,Xt=["error","close","destroy","pause","resume"];function Il(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 qi(e,t,r){ue=ue||X(),e=e||{},typeof r!="boolean"&&(r=t instanceof ue),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=Al(this,e,"readableHighWaterMark",r),this.buffer=new Sl,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&&(he||(he=Ht().StringDecoder),this.decoder=new he(e.encoding),this.encoding=e.encoding)}function h(e){if(ue=ue||X(),!(this instanceof h))return new h(e);var t=this instanceof ue;this._readableState=new qi(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=tr.destroy;h.prototype._undestroy=tr.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=rt.from(e,t),t=""),i=!0),Ui(this,e,t,!1,i)};h.prototype.unshift=function(e){return Ui(this,e,null,!0,!1)};function Ui(e,t,r,i,n){u("readableAddChunk",t);var o=e._readableState;if(t===null)o.reading=!1,Ll(e,o);else{var l;if(n||(l=Dl(o,t)),l)Te(e,l);else if(o.objectMode||t&&t.length>0)if(typeof t!="string"&&!o.objectMode&&Object.getPrototypeOf(t)!==rt.prototype&&(t=El(t)),i)o.endEmitted?Te(e,new Ml):Qt(e,o,t,!0);else if(o.ended)Te(e,new Ol);else{if(o.destroyed)return!1;o.reading=!1,o.decoder&&!r?(t=o.decoder.write(t),o.objectMode||t.length!==0?Qt(e,o,t,!1):er(e,o)):Qt(e,o,t,!1)}else i||(o.reading=!1,er(e,o))}return!o.ended&&(o.length<o.highWaterMark||o.length===0)}function Qt(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&&nt(e)),er(e,t)}function Dl(e,t){var r;return!Rl(t)&&typeof t!="string"&&t!==void 0&&!e.objectMode&&(r=new Cl("chunk",["string","Buffer","Uint8Array"],t)),r}h.prototype.isPaused=function(){return this._readableState.flowing===!1};h.prototype.setEncoding=function(e){he||(he=Ht().StringDecoder);var t=new he(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 Fi=1073741824;function Nl(e){return e>=Fi?e=Fi:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function ji(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=Nl(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?zt(this):nt(this),null;if(e=ji(e,t),e===0&&t.ended)return t.length===0&&zt(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=ji(r,t)));var n;return e>0?n=$i(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&&zt(this)),n!==null&&this.emit("data",n),n};function Ll(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?nt(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,Gi(e)))}}function nt(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(Gi,e))}function Gi(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,rr(e)}function er(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(Pl,e,t))}function Pl(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){Te(this,new Bl("_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?s:_;i.endEmitted?process.nextTick(o):r.once("end",o),e.on("unpipe",l);function l(U,w){u("onunpipe"),U===r&&w&&w.hasUnpiped===!1&&(w.hasUnpiped=!0,c())}function s(){u("onend"),e.end()}var a=Fl(r);e.on("drain",a);var f=!1;function c(){u("cleanup"),e.removeListener("close",v),e.removeListener("finish",T),e.removeListener("drain",a),e.removeListener("error",x),e.removeListener("unpipe",l),r.removeListener("end",s),r.removeListener("end",_),r.removeListener("data",d),f=!0,i.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&a()}r.on("data",d);function d(U){u("ondata");var w=e.write(U);u("dest.write",w),w===!1&&((i.pipesCount===1&&i.pipes===e||i.pipesCount>1&&Yi(i.pipes,e)!==-1)&&!f&&(u("false write response, pause",i.awaitDrain),i.awaitDrain++),r.pause())}function x(U){u("onerror",U),_(),e.removeListener("error",x),ki(e,"error")===0&&Te(e,U)}Il(e,"error",x);function v(){e.removeListener("finish",T),_()}e.once("close",v);function T(){u("onfinish"),e.removeListener("close",v),_()}e.once("finish",T);function _(){u("unpipe"),r.unpipe(e)}return e.emit("pipe",r),i.flowing||(u("pipe resume"),r.resume()),e};function Fl(e){return function(){var r=e._readableState;u("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,r.awaitDrain===0&&ki(e,"data")&&(r.flowing=!0,rr(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 l=Yi(t.pipes,e);return l===-1?this:(t.pipes.splice(l,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?nt(this):i.reading||process.nextTick(jl,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(Wi,this),r};h.prototype.removeAllListeners=function(e){var t=Ae.prototype.removeAllListeners.apply(this,arguments);return(e==="readable"||e===void 0)&&process.nextTick(Wi,this),t};function Wi(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 jl(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,kl(this,e)),e.paused=!1,this};function kl(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(ql,e,t))}function ql(e,t){u("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),rr(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 rr(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 l=r.decoder.end();l&&l.length&&t.push(l)}t.push(null)}),e.on("data",function(l){if(u("wrapped data"),r.decoder&&(l=r.decoder.write(l)),!(r.objectMode&&l==null)&&!(!r.objectMode&&(!l||!l.length))){var s=t.push(l);s||(i=!0,e.pause())}});for(var n in e)this[n]===void 0&&typeof e[n]=="function"&&(this[n]=function(s){return function(){return e[s].apply(e,arguments)}}(n));for(var o=0;o<Xt.length;o++)e.on(Xt[o],this.emit.bind(this,Xt[o]));return this._read=function(l){u("wrapped _read",l),i&&(i=!1,e.resume())},this};typeof Symbol=="function"&&(h.prototype[Symbol.asyncIterator]=function(){return Jt===void 0&&(Jt=Ii()),Jt(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=$i;Object.defineProperty(h.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function $i(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 zt(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=Pi()),Zt(h,e,t)});function Yi(e,t){for(var r=0,i=e.length;r<i;r++)if(e[r]===t)return r;return-1}});var ir=p((Ba,Ki)=>{"use strict";Ki.exports=G;var ot=W().codes,Gl=ot.ERR_METHOD_NOT_IMPLEMENTED,Wl=ot.ERR_MULTIPLE_CALLBACK,$l=ot.ERR_TRANSFORM_ALREADY_TRANSFORMING,Yl=ot.ERR_TRANSFORM_WITH_LENGTH_0,lt=X();Z()(G,lt);function Hl(e,t){var r=this._transformState;r.transforming=!1;var i=r.writecb;if(i===null)return this.emit("error",new Wl);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 G(e){if(!(this instanceof G))return new G(e);lt.call(this,e),this._transformState={afterTransform:Hl.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",Vl)}function Vl(){var e=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(t,r){Vi(e,t,r)}):Vi(this,null,null)}G.prototype.push=function(e,t){return this._transformState.needTransform=!1,lt.prototype.push.call(this,e,t)};G.prototype._transform=function(e,t,r){r(new Gl("_transform()"))};G.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)}};G.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};G.prototype._destroy=function(e,t){lt.prototype._destroy.call(this,e,function(r){t(r)})};function Vi(e,t,r){if(t)return e.emit("error",t);if(r!=null&&e.push(r),e._writableState.length)throw new Yl;if(e._transformState.transforming)throw new $l;return e.push(null)}});var Xi=p((Ma,Zi)=>{"use strict";Zi.exports=Ce;var Ji=ir();Z()(Ce,Ji);function Ce(e){if(!(this instanceof Ce))return new Ce(e);Ji.call(this,e)}Ce.prototype._transform=function(e,t,r){r(null,e)}});var rn=p((Ia,tn)=>{"use strict";var nr;function Kl(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var en=W().codes,Jl=en.ERR_MISSING_ARGS,Zl=en.ERR_STREAM_DESTROYED;function Qi(e){if(e)throw e}function Xl(e){return e.setHeader&&typeof e.abort=="function"}function Ql(e,t,r,i){i=Kl(i);var n=!1;e.on("close",function(){n=!0}),nr===void 0&&(nr=ze()),nr(e,{readable:t,writable:r},function(l){if(l)return i(l);n=!0,i()});var o=!1;return function(l){if(!n&&!o){if(o=!0,Xl(e))return e.abort();if(typeof e.destroy=="function")return e.destroy();i(l||new Zl("pipe"))}}}function zi(e){e()}function zl(e,t){return e.pipe(t)}function es(e){return!e.length||typeof e[e.length-1]!="function"?Qi:e.pop()}function ts(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var i=es(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new Jl("streams");var n,o=t.map(function(l,s){var a=s<t.length-1,f=s>0;return Ql(l,a,f,function(c){n||(n=c),c&&o.forEach(zi),!a&&(o.forEach(zi),i(n))})});return t.reduce(zl)}tn.exports=ts});var nn=p((I,Be)=>{var Oe=C("stream");process.env.READABLE_STREAM==="disable"&&Oe?(Be.exports=Oe.Readable,Object.assign(Be.exports,Oe),Be.exports.Stream=Oe):(I=Be.exports=Gt(),I.Stream=Oe||I,I.Readable=I,I.Writable=kt(),I.Duplex=X(),I.Transform=ir(),I.PassThrough=Xi(),I.finished=ze(),I.pipeline=rn())});var sn=p((Da,ln)=>{"use strict";var{Buffer:P}=C("buffer"),on=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,on,{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||P.alloc(0);let o=!!t,l=this._offset(i),s=n-i,a=s,f=o&&r||0,c=l[1];if(i===0&&n===this.length){if(!o)return this._bufs.length===1?this._bufs[0]:P.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[l[0]].length-c)return o?this._bufs[l[0]].copy(t,r,c,c+a):this._bufs[l[0]].slice(c,c+a);o||(t=P.allocUnsafe(s));for(let d=l[0];d<this._bufs.length;d++){let x=this._bufs[d].length-c;if(a>x)this._bufs[d].copy(t,f,c),f+=x;else{this._bufs[d].copy(t,f,c,c+a),f+=x;break}a-=x,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(P.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(P.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=P.from([e]):typeof e=="string"?e=P.from(e,r):this._isBufferList(e)?e=e.slice():Array.isArray(e.buffer)?e=P.from(e.buffer,e.byteOffset,e.byteLength):P.isBuffer(e)||(e=P.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 l=this._bufs[n];for(;o<l.length;)if(l.length-o>=e.length){let a=l.indexOf(e,o);if(a!==-1)return this._reverseOffset([n,a]);o=l.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[on]};ln.exports=g});var an=p((Na,st)=>{"use strict";var or=nn().Duplex,rs=Z(),Me=sn();function A(e){if(!(this instanceof A))return new A(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}Me._init.call(this,e),or.call(this)}rs(A,or);Object.assign(A.prototype,Me.prototype);A.prototype._new=function(t){return new A(t)};A.prototype._write=function(t,r,i){this._appendBuffer(t),typeof i=="function"&&i()};A.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)};A.prototype.end=function(t){or.prototype.end.call(this,t),this._callback&&(this._callback(null,this.slice()),this._callback=null)};A.prototype._destroy=function(t,r){this._bufs.length=0,this.length=0,r(t)};A.prototype._isBufferList=function(t){return t instanceof A||t instanceof Me||A.isBufferList(t)};A.isBufferList=Me.isBufferList;st.exports=A;st.exports.BufferListStream=A;st.exports.BufferList=Me});var _r=(e=0)=>t=>`\x1B[${t+e}m`,gr=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,br=(e=0)=>(t,r,i)=>`\x1B[${38+e};2;${t};${r};${i}m`,b={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],gray:[90,39],grey:[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],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},yr=Object.keys(b.modifier),_t=Object.keys(b.color),gt=Object.keys(b.bgColor),xr=[..._t,...gt];function Bn(){let e=new Map;for(let[t,r]of Object.entries(b)){for(let[i,n]of Object.entries(r))b[i]={open:`\x1B[${n[0]}m`,close:`\x1B[${n[1]}m`},r[i]=b[i],e.set(n[0],n[1]);Object.defineProperty(b,t,{value:r,enumerable:!1})}return Object.defineProperty(b,"codes",{value:e,enumerable:!1}),b.color.close="\x1B[39m",b.bgColor.close="\x1B[49m",b.color.ansi=_r(),b.color.ansi256=gr(),b.color.ansi16m=br(),b.bgColor.ansi=_r(10),b.bgColor.ansi256=gr(10),b.bgColor.ansi16m=br(10),Object.defineProperties(b,{rgbToAnsi256:{value(t,r,i){return t===r&&r===i?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(i/255*5)},enumerable:!1},hexToRgb:{value(t){let r=/[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));if(!r)return[0,0,0];let[i]=r;i.length===3&&(i=[...i].map(o=>o+o).join(""));let n=Number.parseInt(i,16);return[n>>16&255,n>>8&255,n&255]},enumerable:!1},hexToAnsi256:{value:t=>b.rgbToAnsi256(...b.hexToRgb(t)),enumerable:!1},ansi256ToAnsi:{value(t){if(t<8)return 30+t;if(t<16)return 90+(t-8);let r,i,n;if(t>=232)r=((t-232)*10+8)/255,i=r,n=r;else{t-=16;let s=t%36;r=Math.floor(t/36)/5,i=Math.floor(s/6)/5,n=s%6/5}let o=Math.max(r,i,n)*2;if(o===0)return 30;let l=30+(Math.round(n)<<2|Math.round(i)<<1|Math.round(r));return o===2&&(l+=60),l},enumerable:!1},rgbToAnsi:{value:(t,r,i)=>b.ansi256ToAnsi(b.rgbToAnsi256(t,r,i)),enumerable:!1},hexToAnsi:{value:t=>b.ansi256ToAnsi(b.hexToAnsi256(t)),enumerable:!1}}),b}var Mn=Bn(),N=Mn;import bt from"node:process";import In from"node:os";import mr from"node:tty";function B(e,t=bt.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}=bt,Le;B("no-color")||B("no-colors")||B("color=false")||B("color=never")?Le=0:(B("color")||B("colors")||B("color=true")||B("color=always"))&&(Le=1);function Dn(){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 Nn(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function Ln(e,{streamIsTTY:t,sniffFlags:r=!0}={}){let i=Dn();i!==void 0&&(Le=i);let n=r?Le: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(bt.platform==="win32"){let l=In.release().split(".");return Number(l[0])>=10&&Number(l[2])>=10586?Number(l[2])>=14931?3:2:1}if("CI"in E)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(l=>l 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 l=Number.parseInt((E.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(E.TERM_PROGRAM){case"iTerm.app":return l>=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 vr(e,t={}){let r=Ln(e,{streamIsTTY:e&&e.isTTY,...t});return Nn(r)}var Pn={stdout:vr({isTTY:mr.isatty(1)}),stderr:vr({isTTY:mr.isatty(2)})},wr=Pn;function Er(e,t,r){let i=e.indexOf(t);if(i===-1)return e;let n=t.length,o=0,l="";do l+=e.slice(o,i)+t+r,o=i+n,i=e.indexOf(t,o);while(i!==-1);return l+=e.slice(o),l}function Rr(e,t,r,i){let n=0,o="";do{let l=e[i-1]==="\r";o+=e.slice(n,l?i-1:i)+t+(l?`\r
4
+ var Tn=Object.create;var pr=Object.defineProperty;var Sn=Object.getOwnPropertyDescriptor;var An=Object.getOwnPropertyNames;var Cn=Object.getPrototypeOf,On=Object.prototype.hasOwnProperty;var C=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")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 Bn=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of An(t))!On.call(e,n)&&n!==r&&pr(e,n,{get:()=>t[n],enumerable:!(i=Sn(t,n))||i.enumerable});return e};var _e=(e,t,r)=>(r=e!=null?Tn(Cn(e)):{},Bn(t||!e||!e.__esModule?pr(r,"default",{value:e,enumerable:!0}):r,e));var Or=p(($a,vt)=>{"use strict";var Cr=(e,t)=>{for(let r of Reflect.ownKeys(t))Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));return e};vt.exports=Cr;vt.exports.default=Cr});var Mr=p((Ya,je)=>{"use strict";var $n=Or(),Fe=new WeakMap,Br=(e,t={})=>{if(typeof e!="function")throw new TypeError("Expected a function");let r,i=0,n=e.displayName||e.name||"<anonymous>",o=function(...l){if(Fe.set(o,++i),i===1)r=e.apply(this,l),e=null;else if(t.throw===!0)throw new Error(`Function \`${n}\` can only be called once`);return r};return $n(o,e),Fe.set(o,i),o};je.exports=Br;je.exports.default=Br;je.exports.callCount=e=>{if(!Fe.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return Fe.get(e)}});var Ir=p((Ha,qe)=>{qe.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&qe.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&qe.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var Fr=p((Va,le)=>{var m=global.process,K=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"};K(m)?(Dr=C("assert"),ne=Ir(),Lr=/^win/i.test(m.platform),me=C("events"),typeof me!="function"&&(me=me.EventEmitter),m.__signal_exit_emitter__?T=m.__signal_exit_emitter__:(T=m.__signal_exit_emitter__=new me,T.count=0,T.emitted={}),T.infinite||(T.setMaxListeners(1/0),T.infinite=!0),le.exports=function(e,t){if(!K(global.process))return function(){};Dr.equal(typeof e,"function","a callback must be provided for exit handler"),oe===!1&&wt();var r="exit";t&&t.alwaysLast&&(r="afterexit");var i=function(){T.removeListener(r,e),T.listeners("exit").length===0&&T.listeners("afterexit").length===0&&ke()};return T.on(r,e),i},ke=function(){!oe||!K(global.process)||(oe=!1,ne.forEach(function(t){try{m.removeListener(t,Ue[t])}catch{}}),m.emit=Ge,m.reallyExit=Et,T.count-=1)},le.exports.unload=ke,J=function(t,r,i){T.emitted[t]||(T.emitted[t]=!0,T.emit(t,r,i))},Ue={},ne.forEach(function(e){Ue[e]=function(){if(!!K(global.process)){var r=m.listeners(e);r.length===T.count&&(ke(),J("exit",null,e),J("afterexit",null,e),Lr&&e==="SIGHUP"&&(e="SIGINT"),m.kill(m.pid,e))}}}),le.exports.signals=function(){return ne},oe=!1,wt=function(){oe||!K(global.process)||(oe=!0,T.count+=1,ne=ne.filter(function(t){try{return m.on(t,Ue[t]),!0}catch{return!1}}),m.emit=Pr,m.reallyExit=Nr)},le.exports.load=wt,Et=m.reallyExit,Nr=function(t){!K(global.process)||(m.exitCode=t||0,J("exit",m.exitCode,null),J("afterexit",m.exitCode,null),Et.call(m,m.exitCode))},Ge=m.emit,Pr=function(t,r){if(t==="exit"&&K(global.process)){r!==void 0&&(m.exitCode=r);var i=Ge.apply(this,arguments);return J("exit",m.exitCode,null),J("afterexit",m.exitCode,null),i}else return Ge.apply(this,arguments)}):le.exports=function(){return function(){}};var Dr,ne,Lr,me,T,ke,J,Ue,oe,wt,Et,Nr,Ge,Pr});var Gr=p((za,Vn)=>{Vn.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:["⢀⠀","⡀⠀","⠄⠀","⢂⠀","⡂⠀","⠅⠀","⢃⠀","⡃⠀","⠍⠀","⢋⠀","⡋⠀","⠍⠁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⢈⠩","⡀⢙","⠄⡙","⢂⠩","⡂⢘","⠅⡘","⢃⠨","⡃⢐","⠍⡐","⢋⠠","⡋⢀","⠍⡁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⠈⠩","⠀⢙","⠀⡙","⠀⠩","⠀⢘","⠀⡘","⠀⠨","⠀⢐","⠀⡐","⠀⠠","⠀⢀","⠀⡀"]},dots13:{interval:80,frames:["⣼","⣹","⢻","⠿","⡟","⣏","⣧","⣶"]},dots8Bit:{interval:80,frames:["⠀","⠁","⠂","⠃","⠄","⠅","⠆","⠇","⡀","⡁","⡂","⡃","⡄","⡅","⡆","⡇","⠈","⠉","⠊","⠋","⠌","⠍","⠎","⠏","⡈","⡉","⡊","⡋","⡌","⡍","⡎","⡏","⠐","⠑","⠒","⠓","⠔","⠕","⠖","⠗","⡐","⡑","⡒","⡓","⡔","⡕","⡖","⡗","⠘","⠙","⠚","⠛","⠜","⠝","⠞","⠟","⡘","⡙","⡚","⡛","⡜","⡝","⡞","⡟","⠠","⠡","⠢","⠣","⠤","⠥","⠦","⠧","⡠","⡡","⡢","⡣","⡤","⡥","⡦","⡧","⠨","⠩","⠪","⠫","⠬","⠭","⠮","⠯","⡨","⡩","⡪","⡫","⡬","⡭","⡮","⡯","⠰","⠱","⠲","⠳","⠴","⠵","⠶","⠷","⡰","⡱","⡲","⡳","⡴","⡵","⡶","⡷","⠸","⠹","⠺","⠻","⠼","⠽","⠾","⠿","⡸","⡹","⡺","⡻","⡼","⡽","⡾","⡿","⢀","⢁","⢂","⢃","⢄","⢅","⢆","⢇","⣀","⣁","⣂","⣃","⣄","⣅","⣆","⣇","⢈","⢉","⢊","⢋","⢌","⢍","⢎","⢏","⣈","⣉","⣊","⣋","⣌","⣍","⣎","⣏","⢐","⢑","⢒","⢓","⢔","⢕","⢖","⢗","⣐","⣑","⣒","⣓","⣔","⣕","⣖","⣗","⢘","⢙","⢚","⢛","⢜","⢝","⢞","⢟","⣘","⣙","⣚","⣛","⣜","⣝","⣞","⣟","⢠","⢡","⢢","⢣","⢤","⢥","⢦","⢧","⣠","⣡","⣢","⣣","⣤","⣥","⣦","⣧","⢨","⢩","⢪","⢫","⢬","⢭","⢮","⢯","⣨","⣩","⣪","⣫","⣬","⣭","⣮","⣯","⢰","⢱","⢲","⢳","⢴","⢵","⢶","⢷","⣰","⣱","⣲","⣳","⣴","⣵","⣶","⣷","⢸","⢹","⢺","⢻","⢼","⢽","⢾","⢿","⣸","⣹","⣺","⣻","⣼","⣽","⣾","⣿"]},sand:{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 Yr=p((es,$r)=>{"use strict";var $e=Object.assign({},Gr()),Wr=Object.keys($e);Object.defineProperty($e,"random",{get(){let e=Math.floor(Math.random()*Wr.length),t=Wr[e];return $e[t]}});$r.exports=$e});var Hr=p((fs,Ye)=>{var Xn=function(){"use strict";function e(l,a,s,f){var c;typeof a=="object"&&(s=a.depth,f=a.prototype,c=a.filter,a=a.circular);var d=[],y=[],v=typeof Buffer<"u";typeof a>"u"&&(a=!0),typeof s>"u"&&(s=1/0);function S(_,U){if(_===null)return null;if(U==0)return _;var w,pe;if(typeof _!="object")return _;if(e.__isArray(_))w=[];else if(e.__isRegExp(_))w=new RegExp(_.source,o(_)),_.lastIndex&&(w.lastIndex=_.lastIndex);else if(e.__isDate(_))w=new Date(_.getTime());else{if(v&&Buffer.isBuffer(_))return Buffer.allocUnsafe?w=Buffer.allocUnsafe(_.length):w=new Buffer(_.length),_.copy(w),w;typeof f>"u"?(pe=Object.getPrototypeOf(_),w=Object.create(pe)):(w=Object.create(f),pe=f)}if(a){var dr=d.indexOf(_);if(dr!=-1)return y[dr];d.push(_),y.push(w)}for(var dt in _){var pt;pe&&(pt=Object.getOwnPropertyDescriptor(pe,dt)),!(pt&&pt.set==null)&&(w[dt]=S(_[dt],U-1))}return w}return S(l,s)}e.clonePrototype=function(a){if(a===null)return null;var s=function(){};return s.prototype=a,new s};function t(l){return Object.prototype.toString.call(l)}e.__objToStr=t;function r(l){return typeof l=="object"&&t(l)==="[object Date]"}e.__isDate=r;function i(l){return typeof l=="object"&&t(l)==="[object Array]"}e.__isArray=i;function n(l){return typeof l=="object"&&t(l)==="[object RegExp]"}e.__isRegExp=n;function o(l){var a="";return l.global&&(a+="g"),l.ignoreCase&&(a+="i"),l.multiline&&(a+="m"),a}return e.__getRegExpFlags=o,e}();typeof Ye=="object"&&Ye.exports&&(Ye.exports=Xn)});var Kr=p((us,Vr)=>{var Qn=Hr();Vr.exports=function(e,t){return e=e||{},Object.keys(t).forEach(function(r){typeof e[r]>"u"&&(e[r]=Qn(t[r]))}),e}});var Zr=p((hs,Jr)=>{Jr.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 ei=p((cs,At)=>{"use strict";var zn=Kr(),ve=Zr(),Qr={nul:0,control:0};At.exports=function(t){return zr(t,Qr)};At.exports.config=function(e){return e=zn(e||{},Qr),function(r){return zr(r,e)}};function zr(e,t){if(typeof e!="string")return Xr(e,t);for(var r=0,i=0;i<e.length;i++){var n=Xr(e.charCodeAt(i),t);if(n<0)return-1;r+=n}return r}function Xr(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=ve.length-1,i;if(e<ve[0][0]||e>ve[r][1])return!1;for(;r>=t;)if(i=Math.floor((t+r)/2),e>ve[i][1])t=i+1;else if(e<ve[i][0])r=i-1;else return!0;return!1}});var Ot=p((ps,ti)=>{ti.exports=C("stream")});var oi=p((_s,ni)=>{"use strict";function ri(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 to(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ri(Object(r),!0).forEach(function(i){ro(e,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ri(Object(r)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r,i))})}return e}function ro(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function io(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ii(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 no(e,t,r){return t&&ii(e.prototype,t),r&&ii(e,r),e}var oo=C("buffer"),He=oo.Buffer,lo=C("util"),Bt=lo.inspect,ao=Bt&&Bt.custom||"inspect";function so(e,t,r){He.prototype.copy.call(e,t,r)}ni.exports=function(){function e(){io(this,e),this.head=null,this.tail=null,this.length=0}return no(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 He.alloc(0);for(var i=He.allocUnsafe(r>>>0),n=this.head,o=0;n;)so(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 l=i.data,a=r>l.length?l.length:r;if(a===l.length?o+=l:o+=l.slice(0,r),r-=a,r===0){a===l.length?(++n,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=l.slice(a));break}++n}return this.length-=n,o}},{key:"_getBuffer",value:function(r){var i=He.allocUnsafe(r),n=this.head,o=1;for(n.data.copy(i),r-=n.data.length;n=n.next;){var l=n.data,a=r>l.length?l.length:r;if(l.copy(i,i.length-r,0,a),r-=a,r===0){a===l.length?(++o,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=l.slice(a));break}++o}return this.length-=o,i}},{key:ao,value:function(r,i){return Bt(this,to({},i,{depth:0,customInspect:!1}))}}]),e}()});var It=p((gs,ai)=>{"use strict";function fo(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(Mt,this,e)):process.nextTick(Mt,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(Ve,r):(r._writableState.errorEmitted=!0,process.nextTick(li,r,o)):process.nextTick(li,r,o):t?(process.nextTick(Ve,r),t(o)):process.nextTick(Ve,r)}),this)}function li(e,t){Mt(e,t),Ve(e)}function Ve(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function uo(){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 Mt(e,t){e.emit("error",t)}function ho(e,t){var r=e._readableState,i=e._writableState;r&&r.autoDestroy||i&&i.autoDestroy?e.destroy(t):e.emit("error",t)}ai.exports={destroy:fo,undestroy:uo,errorOrDestroy:ho}});var W=p((bs,ui)=>{"use strict";var fi={};function M(e,t,r){r||(r=Error);function i(o,l,a){return typeof t=="string"?t:t(o,l,a)}class n extends r{constructor(l,a,s){super(i(l,a,s))}}n.prototype.name=r.name,n.prototype.code=e,fi[e]=n}function si(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 co(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 _o(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"&&co(t,"not ")?(i="must not be",t=t.replace(/^not /,"")):i="must be";let n;if(po(e," argument"))n=`The ${e} ${i} ${si(t,"type")}`;else{let o=_o(e,".")?"property":"argument";n=`The "${e}" ${o} ${i} ${si(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");ui.exports.codes=fi});var Dt=p((ms,hi)=>{"use strict";var go=W().codes.ERR_INVALID_OPT_VALUE;function bo(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function mo(e,t,r,i){var n=bo(t,i,r);if(n!=null){if(!(isFinite(n)&&Math.floor(n)===n)||n<0){var o=i?r:"highWaterMark";throw new go(o,n)}return Math.floor(n)}return e.objectMode?16:16*1024}hi.exports={getHighWaterMark:mo}});var ci=p((ys,Lt)=>{typeof Object.create=="function"?Lt.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Lt.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 Z=p((xs,Pt)=>{try{if(Nt=C("util"),typeof Nt.inherits!="function")throw"";Pt.exports=Nt.inherits}catch{Pt.exports=ci()}var Nt});var pi=p((vs,di)=>{di.exports=C("util").deprecate});var qt=p((ws,xi)=>{"use strict";xi.exports=x;function gi(e){var t=this;this.next=null,this.entry=null,this.finish=function(){Yo(t,e)}}var se;x.WritableState=Ee;var yo={deprecate:pi()},bi=Ot(),Je=C("buffer").Buffer,xo=global.Uint8Array||function(){};function vo(e){return Je.from(e)}function wo(e){return Je.isBuffer(e)||e instanceof xo}var jt=It(),Eo=Dt(),Ro=Eo.getHighWaterMark,$=W().codes,To=$.ERR_INVALID_ARG_TYPE,So=$.ERR_METHOD_NOT_IMPLEMENTED,Ao=$.ERR_MULTIPLE_CALLBACK,Co=$.ERR_STREAM_CANNOT_PIPE,Oo=$.ERR_STREAM_DESTROYED,Bo=$.ERR_STREAM_NULL_VALUES,Mo=$.ERR_STREAM_WRITE_AFTER_END,Io=$.ERR_UNKNOWN_ENCODING,fe=jt.errorOrDestroy;Z()(x,bi);function Do(){}function Ee(e,t,r){se=se||X(),e=e||{},typeof r!="boolean"&&(r=t instanceof se),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=Ro(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){ko(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 gi(this)}Ee.prototype.getBuffer=function(){for(var t=this.bufferedRequest,r=[];t;)r.push(t),t=t.next;return r};(function(){try{Object.defineProperty(Ee.prototype,"buffer",{get:yo.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var Ke;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Ke=Function.prototype[Symbol.hasInstance],Object.defineProperty(x,Symbol.hasInstance,{value:function(t){return Ke.call(this,t)?!0:this!==x?!1:t&&t._writableState instanceof Ee}})):Ke=function(t){return t instanceof this};function x(e){se=se||X();var t=this instanceof se;if(!t&&!Ke.call(x,this))return new x(e);this._writableState=new Ee(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)),bi.call(this)}x.prototype.pipe=function(){fe(this,new Co)};function Lo(e,t){var r=new Mo;fe(e,r),process.nextTick(t,r)}function No(e,t,r,i){var n;return r===null?n=new Bo:typeof r!="string"&&!t.objectMode&&(n=new To("chunk",["string","Buffer"],r)),n?(fe(e,n),process.nextTick(i,n),!1):!0}x.prototype.write=function(e,t,r){var i=this._writableState,n=!1,o=!i.objectMode&&wo(e);return o&&!Je.isBuffer(e)&&(e=vo(e)),typeof t=="function"&&(r=t,t=null),o?t="buffer":t||(t=i.defaultEncoding),typeof r!="function"&&(r=Do),i.ending?Lo(this,r):(o||No(this,i,e,r))&&(i.pendingcb++,n=Fo(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&&mi(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 Io(t);return this._writableState.defaultEncoding=t,this};Object.defineProperty(x.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Po(e,t,r){return!e.objectMode&&e.decodeStrings!==!1&&typeof t=="string"&&(t=Je.from(t,r)),t}Object.defineProperty(x.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Fo(e,t,r,i,n,o){if(!r){var l=Po(t,i,n);i!==l&&(r=!0,n="buffer",i=l)}var a=t.objectMode?1:i.length;t.length+=a;var s=t.length<t.highWaterMark;if(s||(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 Ft(e,t,!1,a,i,n,o);return s}function Ft(e,t,r,i,n,o,l){t.writelen=i,t.writecb=l,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new Oo("write")):r?e._writev(n,t.onwrite):e._write(n,o,t.onwrite),t.sync=!1}function jo(e,t,r,i,n){--t.pendingcb,r?(process.nextTick(n,i),process.nextTick(we,e,t),e._writableState.errorEmitted=!0,fe(e,i)):(n(i),e._writableState.errorEmitted=!0,fe(e,i),we(e,t))}function qo(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function ko(e,t){var r=e._writableState,i=r.sync,n=r.writecb;if(typeof n!="function")throw new Ao;if(qo(r),t)jo(e,r,i,t,n);else{var o=yi(r)||e.destroyed;!o&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&mi(e,r),i?process.nextTick(_i,e,r,o,n):_i(e,r,o,n)}}function _i(e,t,r,i){r||Uo(e,t),t.pendingcb--,i(),we(e,t)}function Uo(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function mi(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 l=0,a=!0;r;)n[l]=r,r.isBuf||(a=!1),r=r.next,l+=1;n.allBuffers=a,Ft(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 gi(t),t.bufferedRequestCount=0}else{for(;r;){var s=r.chunk,f=r.encoding,c=r.callback,d=t.objectMode?1:s.length;if(Ft(e,t,!1,d,s,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 So("_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||$o(this,i,r),this};Object.defineProperty(x.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function yi(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function Go(e,t){e._final(function(r){t.pendingcb--,r&&fe(e,r),t.prefinished=!0,e.emit("prefinish"),we(e,t)})}function Wo(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final=="function"&&!t.destroyed?(t.pendingcb++,t.finalCalled=!0,process.nextTick(Go,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function we(e,t){var r=yi(t);if(r&&(Wo(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 $o(e,t,r){t.ending=!0,we(e,t),r&&(t.finished?process.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function Yo(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=jt.destroy;x.prototype._undestroy=jt.undestroy;x.prototype._destroy=function(e,t){t(e)}});var X=p((Es,wi)=>{"use strict";var Ho=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};wi.exports=j;var vi=Gt(),Ut=qt();Z()(j,vi);for(kt=Ho(Ut.prototype),Ze=0;Ze<kt.length;Ze++)Xe=kt[Ze],j.prototype[Xe]||(j.prototype[Xe]=Ut.prototype[Xe]);var kt,Xe,Ze;function j(e){if(!(this instanceof j))return new j(e);vi.call(this,e),Ut.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",Vo)))}Object.defineProperty(j.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});Object.defineProperty(j.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(j.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function Vo(){this._writableState.ended||process.nextTick(Ko,this)}function Ko(e){e.end()}Object.defineProperty(j.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 Ti=p((Wt,Ri)=>{var Qe=C("buffer"),q=Qe.Buffer;function Ei(e,t){for(var r in e)t[r]=e[r]}q.from&&q.alloc&&q.allocUnsafe&&q.allocUnsafeSlow?Ri.exports=Qe:(Ei(Qe,Wt),Wt.Buffer=Q);function Q(e,t,r){return q(e,t,r)}Q.prototype=Object.create(q.prototype);Ei(q,Q);Q.from=function(e,t,r){if(typeof e=="number")throw new TypeError("Argument must not be a number");return q(e,t,r)};Q.alloc=function(e,t,r){if(typeof e!="number")throw new TypeError("Argument must be a number");var i=q(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 q(e)};Q.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Qe.SlowBuffer(e)}});var Ht=p(Ai=>{"use strict";var Yt=Ti().Buffer,Si=Yt.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 Jo(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 Zo(e){var t=Jo(e);if(typeof t!="string"&&(Yt.isEncoding===Si||!Si(e)))throw new Error("Unknown encoding: "+e);return t||e}Ai.StringDecoder=Re;function Re(e){this.encoding=Zo(e);var t;switch(this.encoding){case"utf16le":this.text=rl,this.end=il,t=4;break;case"utf8":this.fillLast=zo,t=4;break;case"base64":this.text=nl,this.end=ol,t=3;break;default:this.write=ll,this.end=al;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Yt.allocUnsafe(t)}Re.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||""};Re.prototype.end=tl;Re.prototype.text=el;Re.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 $t(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function Xo(e,t,r){var i=t.length-1;if(i<r)return 0;var n=$t(t[i]);return n>=0?(n>0&&(e.lastNeed=n-1),n):--i<r||n===-2?0:(n=$t(t[i]),n>=0?(n>0&&(e.lastNeed=n-2),n):--i<r||n===-2?0:(n=$t(t[i]),n>=0?(n>0&&(n===2?n=0:e.lastNeed=n-3),n):0))}function Qo(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 zo(e){var t=this.lastTotal-this.lastNeed,r=Qo(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 el(e,t){var r=Xo(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 tl(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function rl(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 il(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 nl(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 ol(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function ll(e){return e.toString(this.encoding)}function al(e){return e&&e.length?this.write(e):""}});var ze=p((Ts,Bi)=>{"use strict";var Ci=W().codes.ERR_STREAM_PREMATURE_CLOSE;function sl(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 fl(){}function ul(e){return e.setHeader&&typeof e.abort=="function"}function Oi(e,t,r){if(typeof t=="function")return Oi(e,null,t);t||(t={}),r=sl(r||fl);var i=t.readable||t.readable!==!1&&e.readable,n=t.writable||t.writable!==!1&&e.writable,o=function(){e.writable||a()},l=e._writableState&&e._writableState.finished,a=function(){n=!1,l=!0,i||r.call(e)},s=e._readableState&&e._readableState.endEmitted,f=function(){i=!1,s=!0,n||r.call(e)},c=function(S){r.call(e,S)},d=function(){var S;if(i&&!s)return(!e._readableState||!e._readableState.ended)&&(S=new Ci),r.call(e,S);if(n&&!l)return(!e._writableState||!e._writableState.ended)&&(S=new Ci),r.call(e,S)},y=function(){e.req.on("finish",a)};return ul(e)?(e.on("complete",a),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",a),t.error!==!1&&e.on("error",c),e.on("close",d),function(){e.removeListener("complete",a),e.removeListener("abort",d),e.removeListener("request",y),e.req&&e.req.removeListener("finish",a),e.removeListener("end",o),e.removeListener("close",o),e.removeListener("finish",a),e.removeListener("end",f),e.removeListener("error",c),e.removeListener("close",d)}}Bi.exports=Oi});var Ii=p((Ss,Mi)=>{"use strict";var et;function Y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var hl=ze(),H=Symbol("lastResolve"),z=Symbol("lastReject"),Te=Symbol("error"),tt=Symbol("ended"),ee=Symbol("lastPromise"),Vt=Symbol("handlePromise"),te=Symbol("stream");function V(e,t){return{value:e,done:t}}function cl(e){var t=e[H];if(t!==null){var r=e[te].read();r!==null&&(e[ee]=null,e[H]=null,e[z]=null,t(V(r,!1)))}}function dl(e){process.nextTick(cl,e)}function pl(e,t){return function(r,i){e.then(function(){if(t[tt]){r(V(void 0,!0));return}t[Vt](r,i)},i)}}var _l=Object.getPrototypeOf(function(){}),gl=Object.setPrototypeOf((et={get stream(){return this[te]},next:function(){var t=this,r=this[Te];if(r!==null)return Promise.reject(r);if(this[tt])return Promise.resolve(V(void 0,!0));if(this[te].destroyed)return new Promise(function(l,a){process.nextTick(function(){t[Te]?a(t[Te]):l(V(void 0,!0))})});var i=this[ee],n;if(i)n=new Promise(pl(i,this));else{var o=this[te].read();if(o!==null)return Promise.resolve(V(o,!1));n=new Promise(this[Vt])}return this[ee]=n,n}},Y(et,Symbol.asyncIterator,function(){return this}),Y(et,"return",function(){var t=this;return new Promise(function(r,i){t[te].destroy(null,function(n){if(n){i(n);return}r(V(void 0,!0))})})}),et),_l),bl=function(t){var r,i=Object.create(gl,(r={},Y(r,te,{value:t,writable:!0}),Y(r,H,{value:null,writable:!0}),Y(r,z,{value:null,writable:!0}),Y(r,Te,{value:null,writable:!0}),Y(r,tt,{value:t._readableState.endEmitted,writable:!0}),Y(r,Vt,{value:function(o,l){var a=i[te].read();a?(i[ee]=null,i[H]=null,i[z]=null,o(V(a,!1))):(i[H]=o,i[z]=l)},writable:!0}),r));return i[ee]=null,hl(t,function(n){if(n&&n.code!=="ERR_STREAM_PREMATURE_CLOSE"){var o=i[z];o!==null&&(i[ee]=null,i[H]=null,i[z]=null,o(n)),i[Te]=n;return}var l=i[H];l!==null&&(i[ee]=null,i[H]=null,i[z]=null,l(V(void 0,!0))),i[tt]=!0}),t.on("readable",dl.bind(null,i)),i};Mi.exports=bl});var Pi=p((As,Ni)=>{"use strict";function Di(e,t,r,i,n,o,l){try{var a=e[o](l),s=a.value}catch(f){r(f);return}a.done?t(s):Promise.resolve(s).then(i,n)}function ml(e){return function(){var t=this,r=arguments;return new Promise(function(i,n){var o=e.apply(t,r);function l(s){Di(o,i,n,l,a,"next",s)}function a(s){Di(o,i,n,l,a,"throw",s)}l(void 0)})}}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 yl(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){xl(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 xl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var vl=W().codes.ERR_INVALID_ARG_TYPE;function wl(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 vl("iterable",["Iterable"],t);var n=new e(yl({objectMode:!0},r)),o=!1;n._read=function(){o||(o=!0,l())};function l(){return a.apply(this,arguments)}function a(){return a=ml(function*(){try{var s=yield i.next(),f=s.value,c=s.done;c?n.push(null):n.push(yield f)?l():o=!1}catch(d){n.destroy(d)}}),a.apply(this,arguments)}return n}Ni.exports=wl});var Gt=p((Os,Hi)=>{"use strict";Hi.exports=h;var ue;h.ReadableState=ki;var Cs=C("events").EventEmitter,qi=function(t,r){return t.listeners(r).length},Ae=Ot(),rt=C("buffer").Buffer,El=global.Uint8Array||function(){};function Rl(e){return rt.from(e)}function Tl(e){return rt.isBuffer(e)||e instanceof El}var Kt=C("util"),u;Kt&&Kt.debuglog?u=Kt.debuglog("stream"):u=function(){};var Sl=oi(),tr=It(),Al=Dt(),Cl=Al.getHighWaterMark,it=W().codes,Ol=it.ERR_INVALID_ARG_TYPE,Bl=it.ERR_STREAM_PUSH_AFTER_EOF,Ml=it.ERR_METHOD_NOT_IMPLEMENTED,Il=it.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,he,Jt,Zt;Z()(h,Ae);var Se=tr.errorOrDestroy,Xt=["error","close","destroy","pause","resume"];function Dl(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 ki(e,t,r){ue=ue||X(),e=e||{},typeof r!="boolean"&&(r=t instanceof ue),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=Cl(this,e,"readableHighWaterMark",r),this.buffer=new Sl,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&&(he||(he=Ht().StringDecoder),this.decoder=new he(e.encoding),this.encoding=e.encoding)}function h(e){if(ue=ue||X(),!(this instanceof h))return new h(e);var t=this instanceof ue;this._readableState=new ki(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=tr.destroy;h.prototype._undestroy=tr.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=rt.from(e,t),t=""),i=!0),Ui(this,e,t,!1,i)};h.prototype.unshift=function(e){return Ui(this,e,null,!0,!1)};function Ui(e,t,r,i,n){u("readableAddChunk",t);var o=e._readableState;if(t===null)o.reading=!1,Pl(e,o);else{var l;if(n||(l=Ll(o,t)),l)Se(e,l);else if(o.objectMode||t&&t.length>0)if(typeof t!="string"&&!o.objectMode&&Object.getPrototypeOf(t)!==rt.prototype&&(t=Rl(t)),i)o.endEmitted?Se(e,new Il):Qt(e,o,t,!0);else if(o.ended)Se(e,new Bl);else{if(o.destroyed)return!1;o.reading=!1,o.decoder&&!r?(t=o.decoder.write(t),o.objectMode||t.length!==0?Qt(e,o,t,!1):er(e,o)):Qt(e,o,t,!1)}else i||(o.reading=!1,er(e,o))}return!o.ended&&(o.length<o.highWaterMark||o.length===0)}function Qt(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&&nt(e)),er(e,t)}function Ll(e,t){var r;return!Tl(t)&&typeof t!="string"&&t!==void 0&&!e.objectMode&&(r=new Ol("chunk",["string","Buffer","Uint8Array"],t)),r}h.prototype.isPaused=function(){return this._readableState.flowing===!1};h.prototype.setEncoding=function(e){he||(he=Ht().StringDecoder);var t=new he(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 Fi=1073741824;function Nl(e){return e>=Fi?e=Fi:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function ji(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=Nl(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?zt(this):nt(this),null;if(e=ji(e,t),e===0&&t.ended)return t.length===0&&zt(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=ji(r,t)));var n;return e>0?n=$i(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&&zt(this)),n!==null&&this.emit("data",n),n};function Pl(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?nt(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,Gi(e)))}}function nt(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(Gi,e))}function Gi(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,rr(e)}function er(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(Fl,e,t))}function Fl(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){Se(this,new Ml("_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?a:_;i.endEmitted?process.nextTick(o):r.once("end",o),e.on("unpipe",l);function l(U,w){u("onunpipe"),U===r&&w&&w.hasUnpiped===!1&&(w.hasUnpiped=!0,c())}function a(){u("onend"),e.end()}var s=jl(r);e.on("drain",s);var f=!1;function c(){u("cleanup"),e.removeListener("close",v),e.removeListener("finish",S),e.removeListener("drain",s),e.removeListener("error",y),e.removeListener("unpipe",l),r.removeListener("end",a),r.removeListener("end",_),r.removeListener("data",d),f=!0,i.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&s()}r.on("data",d);function d(U){u("ondata");var w=e.write(U);u("dest.write",w),w===!1&&((i.pipesCount===1&&i.pipes===e||i.pipesCount>1&&Yi(i.pipes,e)!==-1)&&!f&&(u("false write response, pause",i.awaitDrain),i.awaitDrain++),r.pause())}function y(U){u("onerror",U),_(),e.removeListener("error",y),qi(e,"error")===0&&Se(e,U)}Dl(e,"error",y);function v(){e.removeListener("finish",S),_()}e.once("close",v);function S(){u("onfinish"),e.removeListener("close",v),_()}e.once("finish",S);function _(){u("unpipe"),r.unpipe(e)}return e.emit("pipe",r),i.flowing||(u("pipe resume"),r.resume()),e};function jl(e){return function(){var r=e._readableState;u("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,r.awaitDrain===0&&qi(e,"data")&&(r.flowing=!0,rr(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 l=Yi(t.pipes,e);return l===-1?this:(t.pipes.splice(l,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?nt(this):i.reading||process.nextTick(ql,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(Wi,this),r};h.prototype.removeAllListeners=function(e){var t=Ae.prototype.removeAllListeners.apply(this,arguments);return(e==="readable"||e===void 0)&&process.nextTick(Wi,this),t};function Wi(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 ql(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,kl(this,e)),e.paused=!1,this};function kl(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(Ul,e,t))}function Ul(e,t){u("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),rr(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 rr(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 l=r.decoder.end();l&&l.length&&t.push(l)}t.push(null)}),e.on("data",function(l){if(u("wrapped data"),r.decoder&&(l=r.decoder.write(l)),!(r.objectMode&&l==null)&&!(!r.objectMode&&(!l||!l.length))){var a=t.push(l);a||(i=!0,e.pause())}});for(var n in e)this[n]===void 0&&typeof e[n]=="function"&&(this[n]=function(a){return function(){return e[a].apply(e,arguments)}}(n));for(var o=0;o<Xt.length;o++)e.on(Xt[o],this.emit.bind(this,Xt[o]));return this._read=function(l){u("wrapped _read",l),i&&(i=!1,e.resume())},this};typeof Symbol=="function"&&(h.prototype[Symbol.asyncIterator]=function(){return Jt===void 0&&(Jt=Ii()),Jt(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=$i;Object.defineProperty(h.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function $i(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 zt(e){var t=e._readableState;u("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(Gl,t,e))}function Gl(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=Pi()),Zt(h,e,t)});function Yi(e,t){for(var r=0,i=e.length;r<i;r++)if(e[r]===t)return r;return-1}});var ir=p((Bs,Ki)=>{"use strict";Ki.exports=G;var ot=W().codes,Wl=ot.ERR_METHOD_NOT_IMPLEMENTED,$l=ot.ERR_MULTIPLE_CALLBACK,Yl=ot.ERR_TRANSFORM_ALREADY_TRANSFORMING,Hl=ot.ERR_TRANSFORM_WITH_LENGTH_0,lt=X();Z()(G,lt);function Vl(e,t){var r=this._transformState;r.transforming=!1;var i=r.writecb;if(i===null)return this.emit("error",new $l);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 G(e){if(!(this instanceof G))return new G(e);lt.call(this,e),this._transformState={afterTransform:Vl.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",Kl)}function Kl(){var e=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(t,r){Vi(e,t,r)}):Vi(this,null,null)}G.prototype.push=function(e,t){return this._transformState.needTransform=!1,lt.prototype.push.call(this,e,t)};G.prototype._transform=function(e,t,r){r(new Wl("_transform()"))};G.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)}};G.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};G.prototype._destroy=function(e,t){lt.prototype._destroy.call(this,e,function(r){t(r)})};function Vi(e,t,r){if(t)return e.emit("error",t);if(r!=null&&e.push(r),e._writableState.length)throw new Hl;if(e._transformState.transforming)throw new Yl;return e.push(null)}});var Xi=p((Ms,Zi)=>{"use strict";Zi.exports=Ce;var Ji=ir();Z()(Ce,Ji);function Ce(e){if(!(this instanceof Ce))return new Ce(e);Ji.call(this,e)}Ce.prototype._transform=function(e,t,r){r(null,e)}});var rn=p((Is,tn)=>{"use strict";var nr;function Jl(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var en=W().codes,Zl=en.ERR_MISSING_ARGS,Xl=en.ERR_STREAM_DESTROYED;function Qi(e){if(e)throw e}function Ql(e){return e.setHeader&&typeof e.abort=="function"}function zl(e,t,r,i){i=Jl(i);var n=!1;e.on("close",function(){n=!0}),nr===void 0&&(nr=ze()),nr(e,{readable:t,writable:r},function(l){if(l)return i(l);n=!0,i()});var o=!1;return function(l){if(!n&&!o){if(o=!0,Ql(e))return e.abort();if(typeof e.destroy=="function")return e.destroy();i(l||new Xl("pipe"))}}}function zi(e){e()}function ea(e,t){return e.pipe(t)}function ta(e){return!e.length||typeof e[e.length-1]!="function"?Qi:e.pop()}function ra(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var i=ta(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new Zl("streams");var n,o=t.map(function(l,a){var s=a<t.length-1,f=a>0;return zl(l,s,f,function(c){n||(n=c),c&&o.forEach(zi),!s&&(o.forEach(zi),i(n))})});return t.reduce(ea)}tn.exports=ra});var nn=p((I,Be)=>{var Oe=C("stream");process.env.READABLE_STREAM==="disable"&&Oe?(Be.exports=Oe.Readable,Object.assign(Be.exports,Oe),Be.exports.Stream=Oe):(I=Be.exports=Gt(),I.Stream=Oe||I,I.Readable=I,I.Writable=qt(),I.Duplex=X(),I.Transform=ir(),I.PassThrough=Xi(),I.finished=ze(),I.pipeline=rn())});var an=p((Ds,ln)=>{"use strict";var{Buffer:P}=C("buffer"),on=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,on,{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||P.alloc(0);let o=!!t,l=this._offset(i),a=n-i,s=a,f=o&&r||0,c=l[1];if(i===0&&n===this.length){if(!o)return this._bufs.length===1?this._bufs[0]:P.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(s<=this._bufs[l[0]].length-c)return o?this._bufs[l[0]].copy(t,r,c,c+s):this._bufs[l[0]].slice(c,c+s);o||(t=P.allocUnsafe(a));for(let d=l[0];d<this._bufs.length;d++){let y=this._bufs[d].length-c;if(s>y)this._bufs[d].copy(t,f,c),f+=y;else{this._bufs[d].copy(t,f,c,c+s),f+=y;break}s-=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(P.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(P.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=P.from([e]):typeof e=="string"?e=P.from(e,r):this._isBufferList(e)?e=e.slice():Array.isArray(e.buffer)?e=P.from(e.buffer,e.byteOffset,e.byteLength):P.isBuffer(e)||(e=P.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 l=this._bufs[n];for(;o<l.length;)if(l.length-o>=e.length){let s=l.indexOf(e,o);if(s!==-1)return this._reverseOffset([n,s]);o=l.length-e.length+1}else{let s=this._reverseOffset([n,o]);if(this._match(s,e))return s;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[on]};ln.exports=g});var sn=p((Ls,at)=>{"use strict";var or=nn().Duplex,ia=Z(),Me=an();function A(e){if(!(this instanceof A))return new A(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}Me._init.call(this,e),or.call(this)}ia(A,or);Object.assign(A.prototype,Me.prototype);A.prototype._new=function(t){return new A(t)};A.prototype._write=function(t,r,i){this._appendBuffer(t),typeof i=="function"&&i()};A.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)};A.prototype.end=function(t){or.prototype.end.call(this,t),this._callback&&(this._callback(null,this.slice()),this._callback=null)};A.prototype._destroy=function(t,r){this._bufs.length=0,this.length=0,r(t)};A.prototype._isBufferList=function(t){return t instanceof A||t instanceof Me||A.isBufferList(t)};A.isBufferList=Me.isBufferList;at.exports=A;at.exports.BufferListStream=A;at.exports.BufferList=Me});var _r=(e=0)=>t=>`\x1B[${t+e}m`,gr=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,br=(e=0)=>(t,r,i)=>`\x1B[${38+e};2;${t};${r};${i}m`,b={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],gray:[90,39],grey:[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],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},mr=Object.keys(b.modifier),_t=Object.keys(b.color),gt=Object.keys(b.bgColor),yr=[..._t,...gt];function Mn(){let e=new Map;for(let[t,r]of Object.entries(b)){for(let[i,n]of Object.entries(r))b[i]={open:`\x1B[${n[0]}m`,close:`\x1B[${n[1]}m`},r[i]=b[i],e.set(n[0],n[1]);Object.defineProperty(b,t,{value:r,enumerable:!1})}return Object.defineProperty(b,"codes",{value:e,enumerable:!1}),b.color.close="\x1B[39m",b.bgColor.close="\x1B[49m",b.color.ansi=_r(),b.color.ansi256=gr(),b.color.ansi16m=br(),b.bgColor.ansi=_r(10),b.bgColor.ansi256=gr(10),b.bgColor.ansi16m=br(10),Object.defineProperties(b,{rgbToAnsi256:{value(t,r,i){return t===r&&r===i?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(i/255*5)},enumerable:!1},hexToRgb:{value(t){let r=/[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));if(!r)return[0,0,0];let[i]=r;i.length===3&&(i=[...i].map(o=>o+o).join(""));let n=Number.parseInt(i,16);return[n>>16&255,n>>8&255,n&255]},enumerable:!1},hexToAnsi256:{value:t=>b.rgbToAnsi256(...b.hexToRgb(t)),enumerable:!1},ansi256ToAnsi:{value(t){if(t<8)return 30+t;if(t<16)return 90+(t-8);let r,i,n;if(t>=232)r=((t-232)*10+8)/255,i=r,n=r;else{t-=16;let a=t%36;r=Math.floor(t/36)/5,i=Math.floor(a/6)/5,n=a%6/5}let o=Math.max(r,i,n)*2;if(o===0)return 30;let l=30+(Math.round(n)<<2|Math.round(i)<<1|Math.round(r));return o===2&&(l+=60),l},enumerable:!1},rgbToAnsi:{value:(t,r,i)=>b.ansi256ToAnsi(b.rgbToAnsi256(t,r,i)),enumerable:!1},hexToAnsi:{value:t=>b.ansi256ToAnsi(b.hexToAnsi256(t)),enumerable:!1}}),b}var In=Mn(),L=In;import bt from"node:process";import Dn from"node:os";import xr from"node:tty";function B(e,t=bt.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}=bt,Ne;B("no-color")||B("no-colors")||B("color=false")||B("color=never")?Ne=0:(B("color")||B("colors")||B("color=true")||B("color=always"))&&(Ne=1);function Ln(){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 Nn(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function Pn(e,{streamIsTTY:t,sniffFlags:r=!0}={}){let i=Ln();i!==void 0&&(Ne=i);let n=r?Ne: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(bt.platform==="win32"){let l=Dn.release().split(".");return Number(l[0])>=10&&Number(l[2])>=10586?Number(l[2])>=14931?3:2:1}if("CI"in E)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(l=>l 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 l=Number.parseInt((E.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(E.TERM_PROGRAM){case"iTerm.app":return l>=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 vr(e,t={}){let r=Pn(e,{streamIsTTY:e&&e.isTTY,...t});return Nn(r)}var Fn={stdout:vr({isTTY:xr.isatty(1)}),stderr:vr({isTTY:xr.isatty(2)})},wr=Fn;function Er(e,t,r){let i=e.indexOf(t);if(i===-1)return e;let n=t.length,o=0,l="";do l+=e.slice(o,i)+t+r,o=i+n,i=e.indexOf(t,o);while(i!==-1);return l+=e.slice(o),l}function Rr(e,t,r,i){let n=0,o="";do{let l=e[i-1]==="\r";o+=e.slice(n,l?i-1:i)+t+(l?`\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:Sr,stderr:Tr}=wr,yt=Symbol("GENERATOR"),re=Symbol("STYLER"),ge=Symbol("IS_EMPTY"),Ar=["ansi","ansi","ansi256","ansi16m"],ie=Object.create(null),Fn=(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=Sr?Sr.level:0;e.level=t.level===void 0?r:t.level};var jn=e=>{let t=(...r)=>r.join(" ");return Fn(t,e),Object.setPrototypeOf(t,be.prototype),t};function be(e){return jn(e)}Object.setPrototypeOf(be.prototype,Function.prototype);for(let[e,t]of Object.entries(N))ie[e]={get(){let r=Pe(this,mt(t.open,t.close,this[re]),this[ge]);return Object.defineProperty(this,e,{value:r}),r}};ie.visible={get(){let e=Pe(this,this[re],!0);return Object.defineProperty(this,"visible",{value:e}),e}};var xt=(e,t,r,...i)=>e==="rgb"?t==="ansi16m"?N[r].ansi16m(...i):t==="ansi256"?N[r].ansi256(N.rgbToAnsi256(...i)):N[r].ansi(N.rgbToAnsi(...i)):e==="hex"?xt("rgb",t,r,...N.hexToRgb(...i)):N[r][e](...i),kn=["rgb","hex","ansi256"];for(let e of kn){ie[e]={get(){let{level:r}=this;return function(...i){let n=mt(xt(e,Ar[r],"color",...i),N.color.close,this[re]);return Pe(this,n,this[ge])}}};let t="bg"+e[0].toUpperCase()+e.slice(1);ie[t]={get(){let{level:r}=this;return function(...i){let n=mt(xt(e,Ar[r],"bgColor",...i),N.bgColor.close,this[re]);return Pe(this,n,this[ge])}}}}var qn=Object.defineProperties(()=>{},{...ie,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}},Pe=(e,t,r)=>{let i=(...n)=>Un(i,n.length===1?""+n[0]:n.join(" "));return Object.setPrototypeOf(i,qn),i[yt]=e,i[re]=t,i[ge]=r,i},Un=(e,t)=>{if(e.level<=0||!t)return e[ge]?"":t;let r=e[re];if(r===void 0)return t;let{openAll:i,closeAll:n}=r;if(t.includes("\x1B"))for(;r!==void 0;)t=Er(t,r.close,r.open),r=r.parent;let o=t.indexOf(`
8
- `);return o!==-1&&(t=Rr(t,n,i,o)),i+t+n};Object.defineProperties(be.prototype,ie);var Gn=be(),Us=be({level:Tr?Tr.level:0});var O=Gn;import ft from"node:process";import Ur from"node:process";var jr=_e(Mr(),1),kr=_e(Fr(),1);import $n from"node:process";var Yn=(0,jr.default)(()=>{(0,kr.default)(()=>{$n.stderr.write("\x1B[?25h")},{alwaysLast:!0})}),qr=Yn;var We=!1,se={};se.show=(e=Ur.stderr)=>{!e.isTTY||(We=!1,e.write("\x1B[?25h"))};se.hide=(e=Ur.stderr)=>{!e.isTTY||(qr(),We=!0,e.write("\x1B[?25l"))};se.toggle=(e,t)=>{e!==void 0&&(We=e),We?se.show(t):se.hide(t)};var Rt=se;var Ie=_e(Yr(),1);import L from"node:process";function xe(){return L.platform!=="win32"?L.env.TERM!=="linux":Boolean(L.env.CI)||Boolean(L.env.WT_SESSION)||Boolean(L.env.TERMINUS_SUBLIME)||L.env.ConEmuTask==="{cmd::Cmder}"||L.env.TERM_PROGRAM==="Terminus-Sublime"||L.env.TERM_PROGRAM==="vscode"||L.env.TERM==="xterm-256color"||L.env.TERM==="alacritty"||L.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var Vn={info:O.blue("ℹ"),success:O.green("✔"),warning:O.yellow("⚠"),error:O.red("✖")},Kn={info:O.blue("i"),success:O.green("√"),warning:O.yellow("‼"),error:O.red("×")},Jn=xe()?Vn:Kn,me=Jn;function St({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 Tt(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(St(),"")}var un=_e(ei(),1);function Ct({stream:e=process.stdout}={}){return Boolean(e&&e.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))}var fn=_e(an(),1);import F from"node:process";import is from"node:readline";var ns=3,at=class{#r=0;#u=new fn.BufferListStream;#n;#i;constructor(){this.#u.pipe(F.stdout);let t=this;this.#n=function(r,i,...n){let{stdin:o}=F;if(t.#r>0||o.emit===t.#n){if(r==="keypress")return;r==="data"&&i.includes(ns)&&F.emit("SIGINT"),Reflect.apply(t.#n,this,[r,i,...n])}else Reflect.apply(F.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(){F.platform!=="win32"&&(this.#i=is.createInterface({input:F.stdin,output:this.#u}),this.#i.on("SIGINT",()=>{F.listenerCount("SIGINT")===0?F.emit("SIGINT"):(this.#i.close(),F.kill(F.pid,"SIGINT"))}))}_realStop(){F.platform!=="win32"&&(this.#i.close(),this.#i=void 0)}};var ut,lr=class{#r=0;#u=!1;#n=0;#i=0;#e;#l;#t;#h;#c;#s;#a;#f;#d;#o;color;constructor(t){ut||(ut=new at),typeof t=="string"&&(t={text:t}),this.#e={color:"cyan",stream:ft.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.#s=typeof this.#e.isEnabled=="boolean"?this.#e.isEnabled:Ct({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,ft.env.NODE_ENV==="test"&&(this._stream=this.#t,this._isEnabled=this.#s,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.#l.interval||100}get spinner(){return this.#l}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.#l=t}else if(!xe())this.#l=Ie.default.line;else if(t===void 0)this.#l=Ie.default.dots;else if(t!=="default"&&Ie.default[t])this.#l=Ie.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 Tt(" ".repeat(this.#f)+r+"--"+this.#d).split(`
9
- `))this.#n+=Math.max(1,Math.ceil((0,un.default)(i)/t))}get isEnabled(){return this.#s&&!this.#a}set isEnabled(t){if(typeof t!="boolean")throw new TypeError("The `isEnabled` option must be a boolean");this.#s=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.#l,r=t[this.#i];this.color&&(r=O[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.#s||!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.#s?this.isSpinning?this:(this.#e.hideCursor&&Rt.hide(this.#t),this.#e.discardStdin&&ft.stdin.isTTY&&(this.#u=!0,ut.start()),this.render(),this.#h=setInterval(this.render.bind(this),this.interval),this):(this.text&&this.#t.write(`- ${this.text}
10
- `),this)}stop(){return this.#s?(clearInterval(this.#h),this.#h=void 0,this.#i=0,this.clear(),this.#e.hideCursor&&Rt.show(this.#t),this.#e.discardStdin&&ft.stdin.isTTY&&this.#u&&(ut.stop(),this.#u=!1),this):this}succeed(t){return this.stopAndPersist({symbol:me.success,text:t})}fail(t){return this.stopAndPersist({symbol:me.error,text:t})}warn(t){return this.stopAndPersist({symbol:me.warning,text:t})}info(t){return this.stopAndPersist({symbol:me.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}
11
- `),this}};function sr(e){return new lr(e)}import{spawn as os,execSync as ls}from"child_process";import cr from"node:process";import fs from"node:os";import pn from"node:tty";typeof document>"u"&&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 hn=(e=0)=>t=>`\x1B[${t+e}m`,cn=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,dn=(e=0)=>(t,r,i)=>`\x1B[${38+e};2;${t};${r};${i}m`;function ss(){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=hn(),t.color.ansi256=cn(),t.color.ansi16m=dn(),t.bgColor.ansi=hn(10),t.bgColor.ansi256=cn(10),t.bgColor.ansi16m=dn(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(l=>l+l).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 l=Math.max(i,n,o)*2;if(l===0)return 30;let s=30+(Math.round(o)<<2|Math.round(n)<<1|Math.round(i));return l===2&&(s+=60),s},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 as=ss(),q=as;function D(e,t=cr.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:R}=cr,ht;D("no-color")||D("no-colors")||D("color=false")||D("color=never")?ht=0:(D("color")||D("colors")||D("color=true")||D("color=always"))&&(ht=1);function us(){if("FORCE_COLOR"in R)return R.FORCE_COLOR==="true"?1:R.FORCE_COLOR==="false"?0:R.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(R.FORCE_COLOR,10),3)}function hs(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function cs(e,{streamIsTTY:t,sniffFlags:r=!0}={}){let i=us();i!==void 0&&(ht=i);let n=r?ht:i;if(n===0)return 0;if(r){if(D("color=16m")||D("color=full")||D("color=truecolor"))return 3;if(D("color=256"))return 2}if(e&&!t&&n===void 0)return 0;let o=n||0;if(R.TERM==="dumb")return o;if(cr.platform==="win32"){let l=fs.release().split(".");return Number(l[0])>=10&&Number(l[2])>=10586?Number(l[2])>=14931?3:2:1}if("CI"in R)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(l=>l in R)||R.CI_NAME==="codeship"?1:o;if("TEAMCITY_VERSION"in R)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(R.TEAMCITY_VERSION)?1:0;if("TF_BUILD"in R&&"AGENT_NAME"in R)return 1;if(R.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in R){let l=Number.parseInt((R.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(R.TERM_PROGRAM){case"iTerm.app":return l>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(R.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(R.TERM)||"COLORTERM"in R?1:o}function _n(e,t={}){let r=cs(e,{streamIsTTY:e&&e.isTTY,...t});return hs(r)}var ds={stdout:_n({isTTY:pn.isatty(1)}),stderr:_n({isTTY:pn.isatty(2)})},ps=ds;function _s(e,t,r){let i=e.indexOf(t);if(i===-1)return e;let n=t.length,o=0,l="";do l+=e.substr(o,i-o)+t+r,o=i+n,i=e.indexOf(t,o);while(i!==-1);return l+=e.slice(o),l}function gs(e,t,r,i){let n=0,o="";do{let l=e[i-1]==="\r";o+=e.substr(n,(l?i-1:i)-n)+t+(l?`\r
7
+ `,n)}while(i!==-1);return o+=e.slice(n),o}var{stdout:Tr,stderr:Sr}=wr,mt=Symbol("GENERATOR"),re=Symbol("STYLER"),ge=Symbol("IS_EMPTY"),Ar=["ansi","ansi","ansi256","ansi16m"],ie=Object.create(null),jn=(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=Tr?Tr.level:0;e.level=t.level===void 0?r:t.level};var qn=e=>{let t=(...r)=>r.join(" ");return jn(t,e),Object.setPrototypeOf(t,be.prototype),t};function be(e){return qn(e)}Object.setPrototypeOf(be.prototype,Function.prototype);for(let[e,t]of Object.entries(L))ie[e]={get(){let r=Pe(this,xt(t.open,t.close,this[re]),this[ge]);return Object.defineProperty(this,e,{value:r}),r}};ie.visible={get(){let e=Pe(this,this[re],!0);return Object.defineProperty(this,"visible",{value:e}),e}};var yt=(e,t,r,...i)=>e==="rgb"?t==="ansi16m"?L[r].ansi16m(...i):t==="ansi256"?L[r].ansi256(L.rgbToAnsi256(...i)):L[r].ansi(L.rgbToAnsi(...i)):e==="hex"?yt("rgb",t,r,...L.hexToRgb(...i)):L[r][e](...i),kn=["rgb","hex","ansi256"];for(let e of kn){ie[e]={get(){let{level:r}=this;return function(...i){let n=xt(yt(e,Ar[r],"color",...i),L.color.close,this[re]);return Pe(this,n,this[ge])}}};let t="bg"+e[0].toUpperCase()+e.slice(1);ie[t]={get(){let{level:r}=this;return function(...i){let n=xt(yt(e,Ar[r],"bgColor",...i),L.bgColor.close,this[re]);return Pe(this,n,this[ge])}}}}var Un=Object.defineProperties(()=>{},{...ie,level:{enumerable:!0,get(){return this[mt].level},set(e){this[mt].level=e}}}),xt=(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}},Pe=(e,t,r)=>{let i=(...n)=>Gn(i,n.length===1?""+n[0]:n.join(" "));return Object.setPrototypeOf(i,Un),i[mt]=e,i[re]=t,i[ge]=r,i},Gn=(e,t)=>{if(e.level<=0||!t)return e[ge]?"":t;let r=e[re];if(r===void 0)return t;let{openAll:i,closeAll:n}=r;if(t.includes("\x1B"))for(;r!==void 0;)t=Er(t,r.close,r.open),r=r.parent;let o=t.indexOf(`
8
+ `);return o!==-1&&(t=Rr(t,n,i,o)),i+t+n};Object.defineProperties(be.prototype,ie);var Wn=be(),Ua=be({level:Sr?Sr.level:0});var O=Wn;import ft from"node:process";import Ur from"node:process";var jr=_e(Mr(),1),qr=_e(Fr(),1);import Yn from"node:process";var Hn=(0,jr.default)(()=>{(0,qr.default)(()=>{Yn.stderr.write("\x1B[?25h")},{alwaysLast:!0})}),kr=Hn;var We=!1,ae={};ae.show=(e=Ur.stderr)=>{!e.isTTY||(We=!1,e.write("\x1B[?25h"))};ae.hide=(e=Ur.stderr)=>{!e.isTTY||(kr(),We=!0,e.write("\x1B[?25l"))};ae.toggle=(e,t)=>{e!==void 0&&(We=e),We?ae.show(t):ae.hide(t)};var Rt=ae;var Ie=_e(Yr(),1);import N from"node:process";function ye(){return N.platform!=="win32"?N.env.TERM!=="linux":Boolean(N.env.CI)||Boolean(N.env.WT_SESSION)||Boolean(N.env.TERMINUS_SUBLIME)||N.env.ConEmuTask==="{cmd::Cmder}"||N.env.TERM_PROGRAM==="Terminus-Sublime"||N.env.TERM_PROGRAM==="vscode"||N.env.TERM==="xterm-256color"||N.env.TERM==="alacritty"||N.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var Kn={info:O.blue("ℹ"),success:O.green("✔"),warning:O.yellow("⚠"),error:O.red("✖")},Jn={info:O.blue("i"),success:O.green("√"),warning:O.yellow("‼"),error:O.red("×")},Zn=ye()?Kn:Jn,xe=Zn;function Tt({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 St(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(Tt(),"")}var un=_e(ei(),1);function Ct({stream:e=process.stdout}={}){return Boolean(e&&e.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))}var fn=_e(sn(),1);import F from"node:process";import na from"node:readline";var oa=3,st=class{#r=0;#u=new fn.BufferListStream;#n;#i;constructor(){this.#u.pipe(F.stdout);let t=this;this.#n=function(r,i,...n){let{stdin:o}=F;if(t.#r>0||o.emit===t.#n){if(r==="keypress")return;r==="data"&&i.includes(oa)&&F.emit("SIGINT"),Reflect.apply(t.#n,this,[r,i,...n])}else Reflect.apply(F.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(){F.platform!=="win32"&&(this.#i=na.createInterface({input:F.stdin,output:this.#u}),this.#i.on("SIGINT",()=>{F.listenerCount("SIGINT")===0?F.emit("SIGINT"):(this.#i.close(),F.kill(F.pid,"SIGINT"))}))}_realStop(){F.platform!=="win32"&&(this.#i.close(),this.#i=void 0)}};var ut,lr=class{#r=0;#u=!1;#n=0;#i=0;#e;#l;#t;#h;#c;#a;#s;#f;#d;#o;color;constructor(t){ut||(ut=new st),typeof t=="string"&&(t={text:t}),this.#e={color:"cyan",stream:ft.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.#a=typeof this.#e.isEnabled=="boolean"?this.#e.isEnabled:Ct({stream:this.#t}),this.#s=typeof this.#e.isSilent=="boolean"?this.#e.isSilent:!1,this.text=this.#e.text,this.prefixText=this.#e.prefixText,this.indent=this.#e.indent,ft.env.NODE_ENV==="test"&&(this._stream=this.#t,this._isEnabled=this.#a,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.#l.interval||100}get spinner(){return this.#l}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.#l=t}else if(!ye())this.#l=Ie.default.line;else if(t===void 0)this.#l=Ie.default.dots;else if(t!=="default"&&Ie.default[t])this.#l=Ie.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 St(" ".repeat(this.#f)+r+"--"+this.#d).split(`
9
+ `))this.#n+=Math.max(1,Math.ceil((0,un.default)(i)/t))}get isEnabled(){return this.#a&&!this.#s}set isEnabled(t){if(typeof t!="boolean")throw new TypeError("The `isEnabled` option must be a boolean");this.#a=t}get isSilent(){return this.#s}set isSilent(t){if(typeof t!="boolean")throw new TypeError("The `isSilent` option must be a boolean");this.#s=t}frame(){let{frames:t}=this.#l,r=t[this.#i];this.color&&(r=O[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.#a||!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.#s?this:(this.clear(),this.#t.write(this.frame()),this.#r=this.#n,this)}start(t){return t&&(this.text=t),this.#s?this:this.#a?this.isSpinning?this:(this.#e.hideCursor&&Rt.hide(this.#t),this.#e.discardStdin&&ft.stdin.isTTY&&(this.#u=!0,ut.start()),this.render(),this.#h=setInterval(this.render.bind(this),this.interval),this):(this.text&&this.#t.write(`- ${this.text}
10
+ `),this)}stop(){return this.#a?(clearInterval(this.#h),this.#h=void 0,this.#i=0,this.clear(),this.#e.hideCursor&&Rt.show(this.#t),this.#e.discardStdin&&ft.stdin.isTTY&&this.#u&&(ut.stop(),this.#u=!1),this):this}succeed(t){return this.stopAndPersist({symbol:xe.success,text:t})}fail(t){return this.stopAndPersist({symbol:xe.error,text:t})}warn(t){return this.stopAndPersist({symbol:xe.warning,text:t})}info(t){return this.stopAndPersist({symbol:xe.info,text:t})}stopAndPersist(t={}){if(this.#s)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}
11
+ `),this}};function ar(e){return new lr(e)}import{spawn as sa,execSync as fa}from"child_process";import cr from"node:process";import ca from"node:os";import _n from"node:tty";if(typeof process<"u"){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 la={win32:e=>({cmd:"cmd.exe",args:["/d","/s","/c",e]})},aa={"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(" ")}`}},hn=(e,t,r)=>{let i={...la,...t},n={...aa,...r},o=a=>{let s=process.platform,f=i[s];if(f)return f(a);let[c,...d]=a.split(" ");return{cmd:c,args:d}},l=(a=>{let s=Object.entries(n);for(let[f,c]of s)if(a.startsWith(f)){let d=process.platform,y=c[d];if(!y)break;let v=a.slice(f.length).trim().split(" ");return y(v)}return a})(e);return o(l)};if(typeof process<"u"){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)}}if(typeof process<"u"){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 cn=(e=0)=>t=>`\x1B[${t+e}m`,dn=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,pn=(e=0)=>(t,r,i)=>`\x1B[${38+e};2;${t};${r};${i}m`;function ua(){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=cn(),t.color.ansi256=dn(),t.color.ansi16m=pn(),t.bgColor.ansi=cn(10),t.bgColor.ansi256=dn(10),t.bgColor.ansi16m=pn(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(l=>l+l).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 s=r%36;i=Math.floor(r/36)/5,n=Math.floor(s/6)/5,o=s%6/5}let l=Math.max(i,n,o)*2;if(l===0)return 30;let a=30+(Math.round(o)<<2|Math.round(n)<<1|Math.round(i));return l===2&&(a+=60),a},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 ha=ua(),k=ha;function D(e,t=cr.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:R}=cr,ht;D("no-color")||D("no-colors")||D("color=false")||D("color=never")?ht=0:(D("color")||D("colors")||D("color=true")||D("color=always"))&&(ht=1);function da(){if("FORCE_COLOR"in R)return R.FORCE_COLOR==="true"?1:R.FORCE_COLOR==="false"?0:R.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(R.FORCE_COLOR,10),3)}function pa(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function _a(e,{streamIsTTY:t,sniffFlags:r=!0}={}){let i=da();i!==void 0&&(ht=i);let n=r?ht:i;if(n===0)return 0;if(r){if(D("color=16m")||D("color=full")||D("color=truecolor"))return 3;if(D("color=256"))return 2}if(e&&!t&&n===void 0)return 0;let o=n||0;if(R.TERM==="dumb")return o;if(cr.platform==="win32"){let l=ca.release().split(".");return Number(l[0])>=10&&Number(l[2])>=10586?Number(l[2])>=14931?3:2:1}if("CI"in R)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(l=>l in R)||R.CI_NAME==="codeship"?1:o;if("TEAMCITY_VERSION"in R)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(R.TEAMCITY_VERSION)?1:0;if("TF_BUILD"in R&&"AGENT_NAME"in R)return 1;if(R.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in R){let l=Number.parseInt((R.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(R.TERM_PROGRAM){case"iTerm.app":return l>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(R.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(R.TERM)||"COLORTERM"in R?1:o}function gn(e,t={}){let r=_a(e,{streamIsTTY:e&&e.isTTY,...t});return pa(r)}var ga={stdout:gn({isTTY:_n.isatty(1)}),stderr:gn({isTTY:_n.isatty(2)})},ba=ga;function ma(e,t,r){let i=e.indexOf(t);if(i===-1)return e;let n=t.length,o=0,l="";do l+=e.substr(o,i-o)+t+r,o=i+n,i=e.indexOf(t,o);while(i!==-1);return l+=e.slice(o),l}function ya(e,t,r,i){let n=0,o="";do{let l=e[i-1]==="\r";o+=e.substr(n,(l?i-1:i)-n)+t+(l?`\r
12
12
  `:`
13
13
  `)+r,n=i+1,i=e.indexOf(`
14
- `,n)}while(i!==-1);return o+=e.slice(n),o}var{stdout:gn,stderr:bn}=ps,ar=Symbol("GENERATOR"),ce=Symbol("STYLER"),De=Symbol("IS_EMPTY"),yn=["ansi","ansi","ansi256","ansi16m"],de=Object.create(null),bs=(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=gn?gn.level:0;e.level=t.level===void 0?r:t.level},ys=e=>{let t=(...r)=>r.join(" ");return bs(t,e),Object.setPrototypeOf(t,Ne.prototype),t};function Ne(e){return ys(e)}Object.setPrototypeOf(Ne.prototype,Function.prototype);for(let[e,t]of Object.entries(q))de[e]={get(){let r=ct(this,ur(t.open,t.close,this[ce]),this[De]);return Object.defineProperty(this,e,{value:r}),r}};de.visible={get(){let e=ct(this,this[ce],!0);return Object.defineProperty(this,"visible",{value:e}),e}};var fr=(e,t,r,...i)=>e==="rgb"?t==="ansi16m"?q[r].ansi16m(...i):t==="ansi256"?q[r].ansi256(q.rgbToAnsi256(...i)):q[r].ansi(q.rgbToAnsi(...i)):e==="hex"?fr("rgb",t,r,...q.hexToRgb(...i)):q[r][e](...i),xs=["rgb","hex","ansi256"];for(let e of xs){de[e]={get(){let{level:r}=this;return function(...i){let n=ur(fr(e,yn[r],"color",...i),q.color.close,this[ce]);return ct(this,n,this[De])}}};let t="bg"+e[0].toUpperCase()+e.slice(1);de[t]={get(){let{level:r}=this;return function(...i){let n=ur(fr(e,yn[r],"bgColor",...i),q.bgColor.close,this[ce]);return ct(this,n,this[De])}}}}var ms=Object.defineProperties(()=>{},{...de,level:{enumerable:!0,get(){return this[ar].level},set(e){this[ar].level=e}}}),ur=(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}},ct=(e,t,r)=>{let i=(...n)=>vs(i,n.length===1?""+n[0]:n.join(" "));return Object.setPrototypeOf(i,ms),i[ar]=e,i[ce]=t,i[De]=r,i},vs=(e,t)=>{if(e.level<=0||!t)return e[De]?"":t;let r=e[ce];if(r===void 0)return t;let{openAll:i,closeAll:n}=r;if(t.includes("\x1B"))for(;r!==void 0;)t=_s(t,r.close,r.open),r=r.parent;let o=t.indexOf(`
15
- `);return o!==-1&&(t=gs(t,n,i,o)),i+t+n};Object.defineProperties(Ne.prototype,de);var ws=Ne(),Xa=Ne({level:bn?bn.level:0}),Es=ws,Rs={win32:e=>({cmd:"cmd.exe",args:["/d","/s","/c",e]})},Ss={"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(" ")}`}},Ts=(e,t,r)=>{let i={...Rs,...t},n={...Ss,...r},o=s=>{let a=process.platform,f=i[a];if(f)return f(s);let[c,...d]=s.split(" ");return{cmd:c,args:d}},l=(s=>{let a=Object.entries(n);for(let[f,c]of a)if(s.startsWith(f)){let d=process.platform,x=c[d];if(!x)break;let v=s.slice(f.length).trim().split(" ");return x(v)}return s})(e);return o(l)},As=process.platform==="linux"||process.platform==="darwin",hr=process.platform==="win32",Cs={stdio:"pipe",shell:!0,detached:!hr,env:process.env},Os={log:!0,commandTranslations:{},shellTranslations:{},...Cs},xn=({log:e=!0,commandTranslations:t={},shellTranslations:r={},...i}=Os)=>{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&&As&&(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:l,args:s}=Ts(o,r,t);return e&&console.log(Es.dim(`
16
- $ ${l} ${s.join(" ")}
17
- `)),await new Promise((a,f)=>{n=os(l,s,i);let c="",d="";if(!n)throw new Error("Child process was not set.");let x=v=>{n=null;let T={code:v,stdout:c,stderr:d};v===0||v===1&&!hr?a(T):f(T)};n.stdout?.on("data",v=>{c+=v.toString()}),n.stderr?.on("data",v=>{d+=v.toString()}),n.on("close",x),n.on("exit",x),n.on("error",x),n.stdout?.pipe(process.stdout),n.stderr?.pipe(process.stderr)})},kill(o="SIGKILL"){if(n?.pid)if(hr)ls(`taskkill /t /f /pid ${n.pid}`);else return process.kill(-n.pid,o);return!0}}};import{resolve as mn}from"path";import{applyDependenciesSpec as vn,applyPackageJsonSpec as wn,copyTemplate as En}from"./lib/templates.js";import{setPackageJsonFields as Bs}from"../../utils/packageJson.js";var sf=async(e,{react:t=!1})=>{let r=sr(`Creating new module ${O.blueBright(e)}.`).start(),i={template:"default",targetDir:e};if(await En(i),await wn(i),t){let o={template:"react",targetDir:e};await En(o),await wn(o)}await Bs(mn(process.cwd(),e),{name:e}),r.succeed("Project created."),await vn({template:"default",targetDir:e}),t&&await vn({template:"react",targetDir:e}),r.succeed("Dependencies installed."),await xn({cwd:mn(e),stdio:["ignore","ignore","inherit"]}).run("git init"),r.succeed("Set up as Git repository.")};export{sf as create};
14
+ `,n)}while(i!==-1);return o+=e.slice(n),o}var{stdout:bn,stderr:mn}=ba,sr=Symbol("GENERATOR"),ce=Symbol("STYLER"),De=Symbol("IS_EMPTY"),yn=["ansi","ansi","ansi256","ansi16m"],de=Object.create(null),xa=(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=bn?bn.level:0;e.level=t.level===void 0?r:t.level},va=e=>{let t=(...r)=>r.join(" ");return xa(t,e),Object.setPrototypeOf(t,Le.prototype),t};function Le(e){return va(e)}Object.setPrototypeOf(Le.prototype,Function.prototype);for(let[e,t]of Object.entries(k))de[e]={get(){let r=ct(this,ur(t.open,t.close,this[ce]),this[De]);return Object.defineProperty(this,e,{value:r}),r}};de.visible={get(){let e=ct(this,this[ce],!0);return Object.defineProperty(this,"visible",{value:e}),e}};var fr=(e,t,r,...i)=>e==="rgb"?t==="ansi16m"?k[r].ansi16m(...i):t==="ansi256"?k[r].ansi256(k.rgbToAnsi256(...i)):k[r].ansi(k.rgbToAnsi(...i)):e==="hex"?fr("rgb",t,r,...k.hexToRgb(...i)):k[r][e](...i),wa=["rgb","hex","ansi256"];for(let e of wa){de[e]={get(){let{level:r}=this;return function(...i){let n=ur(fr(e,yn[r],"color",...i),k.color.close,this[ce]);return ct(this,n,this[De])}}};let t="bg"+e[0].toUpperCase()+e.slice(1);de[t]={get(){let{level:r}=this;return function(...i){let n=ur(fr(e,yn[r],"bgColor",...i),k.bgColor.close,this[ce]);return ct(this,n,this[De])}}}}var Ea=Object.defineProperties(()=>{},{...de,level:{enumerable:!0,get(){return this[sr].level},set(e){this[sr].level=e}}}),ur=(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}},ct=(e,t,r)=>{let i=(...n)=>Ra(i,n.length===1?""+n[0]:n.join(" "));return Object.setPrototypeOf(i,Ea),i[sr]=e,i[ce]=t,i[De]=r,i},Ra=(e,t)=>{if(e.level<=0||!t)return e[De]?"":t;let r=e[ce];if(r===void 0)return t;let{openAll:i,closeAll:n}=r;if(t.includes("\x1B"))for(;r!==void 0;)t=ma(t,r.close,r.open),r=r.parent;let o=t.indexOf(`
15
+ `);return o!==-1&&(t=ya(t,n,i,o)),i+t+n};Object.defineProperties(Le.prototype,de);var Ta=Le(),Qs=Le({level:mn?mn.level:0}),Sa=Ta,Aa=process.platform==="linux"||process.platform==="darwin",hr=process.platform==="win32",Ca={stdio:"pipe",shell:!0,detached:!hr,env:process.env},Oa={log:!0,commandTranslations:{},shellTranslations:{},...Ca},xn=({log:e=!0,commandTranslations:t={},shellTranslations:r={},...i}=Oa)=>{let n=null;return{childProcess:n,async run(o){if(n)throw new Error("Only one command per shell.");if(typeof o=="object"){let s=process.platform;o.posix&&Aa&&(s="posix");let f=o[s];if(!f)throw new Error("No command found for platform: "+JSON.stringify({platform:process.platform,command:o}));o=f}let{cmd:l,args:a}=hn(o,r,t);return e&&console.log(Sa.dim(`
16
+ $ ${l} ${a.join(" ")}
17
+ `)),await new Promise((s,f)=>{n=sa(l,a,i);let c="",d="";if(!n)throw new Error("Child process was not set.");let y=v=>{n=null;let S={code:v,stdout:c,stderr:d};v===0||v===1&&!hr?s(S):f(S)};n.stdout?.on("data",v=>{c+=v.toString()}),n.stderr?.on("data",v=>{d+=v.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(hr)fa(`taskkill /t /f /pid ${n.pid}`);else return process.kill(-n.pid,o);return!0}}};import{resolve as vn}from"path";import{applyDependenciesSpec as wn,applyPackageJsonSpec as En,copyTemplate as Rn}from"./lib/templates.js";import{setPackageJsonFields as Ba}from"../../utils/packageJson.js";var hf=async(e,{react:t=!1})=>{let r=ar(`Creating new module ${O.blueBright(e)}.`).start(),i={template:"default",targetDir:e};if(await Rn(i),await En(i),t){let o={template:"react",targetDir:e};await Rn(o),await En(o)}await Ba(vn(process.cwd(),e),{name:e}),r.succeed("Project created."),await wn({template:"default",targetDir:e}),t&&await wn({template:"react",targetDir:e}),r.succeed("Dependencies installed."),await xn({cwd:vn(e),stdio:["ignore","ignore","inherit"]}).run("git init"),r.succeed("Set up as Git repository.")};export{hf as create};
18
18
  /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */