@tsmodule/tsmodule 40.18.0 → 41.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,51 +1,18 @@
1
1
 
2
- typeof document>"u"&&await(async()=>{let{dirname:e}=await import("path"),{fileURLToPath:i}=await import("url");if(typeof globalThis.__filename>"u"&&(globalThis.__filename=i(import.meta.url)),typeof globalThis.__dirname>"u"&&(globalThis.__dirname=e(globalThis.__filename)),typeof globalThis.require>"u"){let{default:a}=await import("module");globalThis.require=a.createRequire(import.meta.url)}})();
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 Zf=Object.create;var Js=Object.defineProperty;var zf=Object.getOwnPropertyDescriptor;var ec=Object.getOwnPropertyNames;var tc=Object.getPrototypeOf,rc=Object.prototype.hasOwnProperty;var L=(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 _=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var nc=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ec(t))!rc.call(e,i)&&i!==r&&Js(e,i,{get:()=>t[i],enumerable:!(n=zf(t,i))||n.enumerable});return e};var ot=(e,t,r)=>(r=e!=null?Zf(tc(e)):{},nc(t||!e||!e.__esModule?Js(r,"default",{value:e,enumerable:!0}):r,e));var ho=_((Py,bn)=>{"use strict";var co=(e,t)=>{for(let r of Reflect.ownKeys(t))Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));return e};bn.exports=co;bn.exports.default=co});var _o=_((Ly,ar)=>{"use strict";var yc=ho(),or=new WeakMap,po=(e,t={})=>{if(typeof e!="function")throw new TypeError("Expected a function");let r,n=0,i=e.displayName||e.name||"<anonymous>",s=function(...o){if(or.set(s,++n),n===1)r=e.apply(this,o),e=null;else if(t.throw===!0)throw new Error(`Function \`${i}\` can only be called once`);return r};return yc(s,e),or.set(s,n),s};ar.exports=po;ar.exports.default=po;ar.exports.callCount=e=>{if(!or.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return or.get(e)}});var go=_((My,lr)=>{lr.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&lr.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&lr.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var xo=_((Dy,ct)=>{var G=global.process,Ye=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"};Ye(G)?(yo=L("assert"),ut=go(),mo=/^win/i.test(G.platform),Mt=L("events"),typeof Mt!="function"&&(Mt=Mt.EventEmitter),G.__signal_exit_emitter__?J=G.__signal_exit_emitter__:(J=G.__signal_exit_emitter__=new Mt,J.count=0,J.emitted={}),J.infinite||(J.setMaxListeners(1/0),J.infinite=!0),ct.exports=function(e,t){if(!Ye(global.process))return function(){};yo.equal(typeof e,"function","a callback must be provided for exit handler"),ft===!1&&vn();var r="exit";t&&t.alwaysLast&&(r="afterexit");var n=function(){J.removeListener(r,e),J.listeners("exit").length===0&&J.listeners("afterexit").length===0&&ur()};return J.on(r,e),n},ur=function(){!ft||!Ye(global.process)||(ft=!1,ut.forEach(function(t){try{G.removeListener(t,fr[t])}catch{}}),G.emit=cr,G.reallyExit=xn,J.count-=1)},ct.exports.unload=ur,Ke=function(t,r,n){J.emitted[t]||(J.emitted[t]=!0,J.emit(t,r,n))},fr={},ut.forEach(function(e){fr[e]=function(){if(!!Ye(global.process)){var r=G.listeners(e);r.length===J.count&&(ur(),Ke("exit",null,e),Ke("afterexit",null,e),mo&&e==="SIGHUP"&&(e="SIGINT"),G.kill(G.pid,e))}}}),ct.exports.signals=function(){return ut},ft=!1,vn=function(){ft||!Ye(global.process)||(ft=!0,J.count+=1,ut=ut.filter(function(t){try{return G.on(t,fr[t]),!0}catch{return!1}}),G.emit=vo,G.reallyExit=bo)},ct.exports.load=vn,xn=G.reallyExit,bo=function(t){!Ye(global.process)||(G.exitCode=t||0,Ke("exit",G.exitCode,null),Ke("afterexit",G.exitCode,null),xn.call(G,G.exitCode))},cr=G.emit,vo=function(t,r){if(t==="exit"&&Ye(global.process)){r!==void 0&&(G.exitCode=r);var n=cr.apply(this,arguments);return Ke("exit",G.exitCode,null),Ke("afterexit",G.exitCode,null),n}else return cr.apply(this,arguments)}):ct.exports=function(){return function(){}};var yo,ut,mo,Mt,J,ur,Ke,fr,ft,vn,xn,bo,cr,vo});var Ao=_((qy,vc)=>{vc.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 Oo=_((jy,Co)=>{"use strict";var pr=Object.assign({},Ao()),To=Object.keys(pr);Object.defineProperty(pr,"random",{get(){let e=Math.floor(Math.random()*To.length),t=To[e];return pr[t]}});Co.exports=pr});var Po=_((Qy,dr)=>{var Rc=function(){"use strict";function e(o,a,l,c){var u;typeof a=="object"&&(l=a.depth,c=a.prototype,u=a.filter,a=a.circular);var d=[],f=[],S=typeof Buffer<"u";typeof a>"u"&&(a=!0),typeof l>"u"&&(l=1/0);function m(y,E){if(y===null)return null;if(E==0)return y;var x,B;if(typeof y!="object")return y;if(e.__isArray(y))x=[];else if(e.__isRegExp(y))x=new RegExp(y.source,s(y)),y.lastIndex&&(x.lastIndex=y.lastIndex);else if(e.__isDate(y))x=new Date(y.getTime());else{if(S&&Buffer.isBuffer(y))return Buffer.allocUnsafe?x=Buffer.allocUnsafe(y.length):x=new Buffer(y.length),y.copy(x),x;typeof c>"u"?(B=Object.getPrototypeOf(y),x=Object.create(B)):(x=Object.create(c),B=c)}if(a){var N=d.indexOf(y);if(N!=-1)return f[N];d.push(y),f.push(x)}for(var z in y){var A;B&&(A=Object.getOwnPropertyDescriptor(B,z)),!(A&&A.set==null)&&(x[z]=m(y[z],E-1))}return x}return m(o,l)}e.clonePrototype=function(a){if(a===null)return null;var l=function(){};return l.prototype=a,new l};function t(o){return Object.prototype.toString.call(o)}e.__objToStr=t;function r(o){return typeof o=="object"&&t(o)==="[object Date]"}e.__isDate=r;function n(o){return typeof o=="object"&&t(o)==="[object Array]"}e.__isArray=n;function i(o){return typeof o=="object"&&t(o)==="[object RegExp]"}e.__isRegExp=i;function s(o){var a="";return o.global&&(a+="g"),o.ignoreCase&&(a+="i"),o.multiline&&(a+="m"),a}return e.__getRegExpFlags=s,e}();typeof dr=="object"&&dr.exports&&(dr.exports=Rc)});var Mo=_((Xy,Lo)=>{var wc=Po();Lo.exports=function(e,t){return e=e||{},Object.keys(t).forEach(function(r){typeof e[r]>"u"&&(e[r]=wc(t[r]))}),e}});var Bo=_((Jy,Do)=>{Do.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 Fo=_((Zy,wn)=>{"use strict";var Ac=Mo(),It=Bo(),No={nul:0,control:0};wn.exports=function(t){return ko(t,No)};wn.exports.config=function(e){return e=Ac(e||{},No),function(r){return ko(r,e)}};function ko(e,t){if(typeof e!="string")return Io(e,t);for(var r=0,n=0;n<e.length;n++){var i=Io(e.charCodeAt(n),t);if(i<0)return-1;r+=i}return r}function Io(e,t){return e===0?t.nul:e<32||e>=127&&e<160?t.control:Tc(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 Tc(e){var t=0,r=It.length-1,n;if(e<It[0][0]||e>It[r][1])return!1;for(;r>=t;)if(n=Math.floor((t+r)/2),e>It[n][1])t=n+1;else if(e<It[n][0])r=n-1;else return!0;return!1}});var Tn=_((em,qo)=>{qo.exports=L("stream")});var Go=_((tm,$o)=>{"use strict";function jo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Cc(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?jo(Object(r),!0).forEach(function(n){Oc(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jo(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Oc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ho(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Lc(e,t,r){return t&&Ho(e.prototype,t),r&&Ho(e,r),e}var Mc=L("buffer"),_r=Mc.Buffer,Dc=L("util"),Cn=Dc.inspect,Bc=Cn&&Cn.custom||"inspect";function Ic(e,t,r){_r.prototype.copy.call(e,t,r)}$o.exports=function(){function e(){Pc(this,e),this.head=null,this.tail=null,this.length=0}return Lc(e,[{key:"push",value:function(r){var n={data:r,next:null};this.length>0?this.tail.next=n:this.head=n,this.tail=n,++this.length}},{key:"unshift",value:function(r){var n={data:r,next:this.head};this.length===0&&(this.tail=n),this.head=n,++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 n=this.head,i=""+n.data;n=n.next;)i+=r+n.data;return i}},{key:"concat",value:function(r){if(this.length===0)return _r.alloc(0);for(var n=_r.allocUnsafe(r>>>0),i=this.head,s=0;i;)Ic(i.data,n,s),s+=i.data.length,i=i.next;return n}},{key:"consume",value:function(r,n){var i;return r<this.head.data.length?(i=this.head.data.slice(0,r),this.head.data=this.head.data.slice(r)):r===this.head.data.length?i=this.shift():i=n?this._getString(r):this._getBuffer(r),i}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(r){var n=this.head,i=1,s=n.data;for(r-=s.length;n=n.next;){var o=n.data,a=r>o.length?o.length:r;if(a===o.length?s+=o:s+=o.slice(0,r),r-=a,r===0){a===o.length?(++i,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=o.slice(a));break}++i}return this.length-=i,s}},{key:"_getBuffer",value:function(r){var n=_r.allocUnsafe(r),i=this.head,s=1;for(i.data.copy(n),r-=i.data.length;i=i.next;){var o=i.data,a=r>o.length?o.length:r;if(o.copy(n,n.length-r,0,a),r-=a,r===0){a===o.length?(++s,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=o.slice(a));break}++s}return this.length-=s,n}},{key:Bc,value:function(r,n){return Cn(this,Cc({},n,{depth:0,customInspect:!1}))}}]),e}()});var Pn=_((rm,Wo)=>{"use strict";function Nc(e,t){var r=this,n=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return n||i?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(On,this,e)):process.nextTick(On,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(s){!t&&s?r._writableState?r._writableState.errorEmitted?process.nextTick(gr,r):(r._writableState.errorEmitted=!0,process.nextTick(Uo,r,s)):process.nextTick(Uo,r,s):t?(process.nextTick(gr,r),t(s)):process.nextTick(gr,r)}),this)}function Uo(e,t){On(e,t),gr(e)}function gr(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function kc(){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 On(e,t){e.emit("error",t)}function Fc(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}Wo.exports={destroy:Nc,undestroy:kc,errorOrDestroy:Fc}});var Ie=_((nm,Ko)=>{"use strict";var Yo={};function ce(e,t,r){r||(r=Error);function n(s,o,a){return typeof t=="string"?t:t(s,o,a)}class i extends r{constructor(o,a,l){super(n(o,a,l))}}i.prototype.name=r.name,i.prototype.code=e,Yo[e]=i}function Vo(e,t){if(Array.isArray(e)){let r=e.length;return e=e.map(n=>String(n)),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 qc(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}function jc(e,t,r){return(r===void 0||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function Hc(e,t,r){return typeof r!="number"&&(r=0),r+t.length>e.length?!1:e.indexOf(t,r)!==-1}ce("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError);ce("ERR_INVALID_ARG_TYPE",function(e,t,r){let n;typeof t=="string"&&qc(t,"not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be";let i;if(jc(e," argument"))i=`The ${e} ${n} ${Vo(t,"type")}`;else{let s=Hc(e,".")?"property":"argument";i=`The "${e}" ${s} ${n} ${Vo(t,"type")}`}return i+=`. Received type ${typeof r}`,i},TypeError);ce("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");ce("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"});ce("ERR_STREAM_PREMATURE_CLOSE","Premature close");ce("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"});ce("ERR_MULTIPLE_CALLBACK","Callback called multiple times");ce("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");ce("ERR_STREAM_WRITE_AFTER_END","write after end");ce("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);ce("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError);ce("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");Ko.exports.codes=Yo});var Ln=_((im,Qo)=>{"use strict";var $c=Ie().codes.ERR_INVALID_OPT_VALUE;function Gc(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function Uc(e,t,r,n){var i=Gc(t,n,r);if(i!=null){if(!(isFinite(i)&&Math.floor(i)===i)||i<0){var s=n?r:"highWaterMark";throw new $c(s,i)}return Math.floor(i)}return e.objectMode?16:16*1024}Qo.exports={getHighWaterMark:Uc}});var Xo=_((sm,Mn)=>{typeof Object.create=="function"?Mn.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Mn.exports=function(t,r){if(r){t.super_=r;var n=function(){};n.prototype=r.prototype,t.prototype=new n,t.prototype.constructor=t}}});var Qe=_((om,Bn)=>{try{if(Dn=L("util"),typeof Dn.inherits!="function")throw"";Bn.exports=Dn.inherits}catch{Bn.exports=Xo()}var Dn});var Zo=_((am,Jo)=>{Jo.exports=L("util").deprecate});var kn=_((lm,ia)=>{"use strict";ia.exports=V;function ea(e){var t=this;this.next=null,this.entry=null,this.finish=function(){yh(t,e)}}var pt;V.WritableState=kt;var Wc={deprecate:Zo()},ta=Tn(),mr=L("buffer").Buffer,Vc=global.Uint8Array||function(){};function Yc(e){return mr.from(e)}function Kc(e){return mr.isBuffer(e)||e instanceof Vc}var Nn=Pn(),Qc=Ln(),Xc=Qc.getHighWaterMark,Ne=Ie().codes,Jc=Ne.ERR_INVALID_ARG_TYPE,Zc=Ne.ERR_METHOD_NOT_IMPLEMENTED,zc=Ne.ERR_MULTIPLE_CALLBACK,eh=Ne.ERR_STREAM_CANNOT_PIPE,th=Ne.ERR_STREAM_DESTROYED,rh=Ne.ERR_STREAM_NULL_VALUES,nh=Ne.ERR_STREAM_WRITE_AFTER_END,ih=Ne.ERR_UNKNOWN_ENCODING,dt=Nn.errorOrDestroy;Qe()(V,ta);function sh(){}function kt(e,t,r){pt=pt||Xe(),e=e||{},typeof r!="boolean"&&(r=t instanceof pt),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=Xc(this,e,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var n=e.decodeStrings===!1;this.decodeStrings=!n,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(i){hh(t,i)},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 ea(this)}kt.prototype.getBuffer=function(){for(var t=this.bufferedRequest,r=[];t;)r.push(t),t=t.next;return r};(function(){try{Object.defineProperty(kt.prototype,"buffer",{get:Wc.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var yr;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(yr=Function.prototype[Symbol.hasInstance],Object.defineProperty(V,Symbol.hasInstance,{value:function(t){return yr.call(this,t)?!0:this!==V?!1:t&&t._writableState instanceof kt}})):yr=function(t){return t instanceof this};function V(e){pt=pt||Xe();var t=this instanceof pt;if(!t&&!yr.call(V,this))return new V(e);this._writableState=new kt(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)),ta.call(this)}V.prototype.pipe=function(){dt(this,new eh)};function oh(e,t){var r=new nh;dt(e,r),process.nextTick(t,r)}function ah(e,t,r,n){var i;return r===null?i=new rh:typeof r!="string"&&!t.objectMode&&(i=new Jc("chunk",["string","Buffer"],r)),i?(dt(e,i),process.nextTick(n,i),!1):!0}V.prototype.write=function(e,t,r){var n=this._writableState,i=!1,s=!n.objectMode&&Kc(e);return s&&!mr.isBuffer(e)&&(e=Yc(e)),typeof t=="function"&&(r=t,t=null),s?t="buffer":t||(t=n.defaultEncoding),typeof r!="function"&&(r=sh),n.ending?oh(this,r):(s||ah(this,n,e,r))&&(n.pendingcb++,i=uh(this,n,s,e,t,r)),i};V.prototype.cork=function(){this._writableState.corked++};V.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest&&ra(this,e))};V.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 ih(t);return this._writableState.defaultEncoding=t,this};Object.defineProperty(V.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function lh(e,t,r){return!e.objectMode&&e.decodeStrings!==!1&&typeof t=="string"&&(t=mr.from(t,r)),t}Object.defineProperty(V.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function uh(e,t,r,n,i,s){if(!r){var o=lh(t,n,i);n!==o&&(r=!0,i="buffer",n=o)}var a=t.objectMode?1:n.length;t.length+=a;var l=t.length<t.highWaterMark;if(l||(t.needDrain=!0),t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:s,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else In(e,t,!1,a,n,i,s);return l}function In(e,t,r,n,i,s,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new th("write")):r?e._writev(i,t.onwrite):e._write(i,s,t.onwrite),t.sync=!1}function fh(e,t,r,n,i){--t.pendingcb,r?(process.nextTick(i,n),process.nextTick(Nt,e,t),e._writableState.errorEmitted=!0,dt(e,n)):(i(n),e._writableState.errorEmitted=!0,dt(e,n),Nt(e,t))}function ch(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function hh(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(typeof i!="function")throw new zc;if(ch(r),t)fh(e,r,n,t,i);else{var s=na(r)||e.destroyed;!s&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&ra(e,r),n?process.nextTick(zo,e,r,s,i):zo(e,r,s,i)}}function zo(e,t,r,n){r||ph(e,t),t.pendingcb--,n(),Nt(e,t)}function ph(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function ra(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),s=t.corkedRequestsFree;s.entry=r;for(var o=0,a=!0;r;)i[o]=r,r.isBuf||(a=!1),r=r.next,o+=1;i.allBuffers=a,In(e,t,!0,t.length,i,"",s.finish),t.pendingcb++,t.lastBufferedRequest=null,s.next?(t.corkedRequestsFree=s.next,s.next=null):t.corkedRequestsFree=new ea(t),t.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,c=r.encoding,u=r.callback,d=t.objectMode?1:l.length;if(In(e,t,!1,d,l,c,u),r=r.next,t.bufferedRequestCount--,t.writing)break}r===null&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}V.prototype._write=function(e,t,r){r(new Zc("_write()"))};V.prototype._writev=null;V.prototype.end=function(e,t,r){var n=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),n.corked&&(n.corked=1,this.uncork()),n.ending||gh(this,n,r),this};Object.defineProperty(V.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function na(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function dh(e,t){e._final(function(r){t.pendingcb--,r&&dt(e,r),t.prefinished=!0,e.emit("prefinish"),Nt(e,t)})}function _h(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final=="function"&&!t.destroyed?(t.pendingcb++,t.finalCalled=!0,process.nextTick(dh,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function Nt(e,t){var r=na(t);if(r&&(_h(e,t),t.pendingcb===0&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var n=e._readableState;(!n||n.autoDestroy&&n.endEmitted)&&e.destroy()}return r}function gh(e,t,r){t.ending=!0,Nt(e,t),r&&(t.finished?process.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function yh(e,t,r){var n=e.entry;for(e.entry=null;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}Object.defineProperty(V.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(t){!this._writableState||(this._writableState.destroyed=t)}});V.prototype.destroy=Nn.destroy;V.prototype._undestroy=Nn.undestroy;V.prototype._destroy=function(e,t){t(e)}});var Xe=_((um,oa)=>{"use strict";var mh=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};oa.exports=Se;var sa=jn(),qn=kn();Qe()(Se,sa);for(Fn=mh(qn.prototype),br=0;br<Fn.length;br++)vr=Fn[br],Se.prototype[vr]||(Se.prototype[vr]=qn.prototype[vr]);var Fn,vr,br;function Se(e){if(!(this instanceof Se))return new Se(e);sa.call(this,e),qn.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",bh)))}Object.defineProperty(Se.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});Object.defineProperty(Se.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(Se.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function bh(){this._writableState.ended||process.nextTick(vh,this)}function vh(e){e.end()}Object.defineProperty(Se.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 ua=_((Hn,la)=>{var xr=L("buffer"),Ee=xr.Buffer;function aa(e,t){for(var r in e)t[r]=e[r]}Ee.from&&Ee.alloc&&Ee.allocUnsafe&&Ee.allocUnsafeSlow?la.exports=xr:(aa(xr,Hn),Hn.Buffer=Je);function Je(e,t,r){return Ee(e,t,r)}Je.prototype=Object.create(Ee.prototype);aa(Ee,Je);Je.from=function(e,t,r){if(typeof e=="number")throw new TypeError("Argument must not be a number");return Ee(e,t,r)};Je.alloc=function(e,t,r){if(typeof e!="number")throw new TypeError("Argument must be a number");var n=Ee(e);return t!==void 0?typeof r=="string"?n.fill(t,r):n.fill(t):n.fill(0),n};Je.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Ee(e)};Je.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return xr.SlowBuffer(e)}});var Un=_(ca=>{"use strict";var Gn=ua().Buffer,fa=Gn.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 xh(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 Sh(e){var t=xh(e);if(typeof t!="string"&&(Gn.isEncoding===fa||!fa(e)))throw new Error("Unknown encoding: "+e);return t||e}ca.StringDecoder=Ft;function Ft(e){this.encoding=Sh(e);var t;switch(this.encoding){case"utf16le":this.text=Ch,this.end=Oh,t=4;break;case"utf8":this.fillLast=wh,t=4;break;case"base64":this.text=Ph,this.end=Lh,t=3;break;default:this.write=Mh,this.end=Dh;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Gn.allocUnsafe(t)}Ft.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||""};Ft.prototype.end=Th;Ft.prototype.text=Ah;Ft.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 $n(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function Eh(e,t,r){var n=t.length-1;if(n<r)return 0;var i=$n(t[n]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--n<r||i===-2?0:(i=$n(t[n]),i>=0?(i>0&&(e.lastNeed=i-2),i):--n<r||i===-2?0:(i=$n(t[n]),i>=0?(i>0&&(i===2?i=0:e.lastNeed=i-3),i):0))}function Rh(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 wh(e){var t=this.lastTotal-this.lastNeed,r=Rh(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 Ah(e,t){var r=Eh(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)}function Th(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function Ch(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=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 Oh(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 Ph(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 Lh(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function Mh(e){return e.toString(this.encoding)}function Dh(e){return e&&e.length?this.write(e):""}});var Sr=_((cm,da)=>{"use strict";var ha=Ie().codes.ERR_STREAM_PREMATURE_CLOSE;function Bh(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];e.apply(this,n)}}}function Ih(){}function Nh(e){return e.setHeader&&typeof e.abort=="function"}function pa(e,t,r){if(typeof t=="function")return pa(e,null,t);t||(t={}),r=Bh(r||Ih);var n=t.readable||t.readable!==!1&&e.readable,i=t.writable||t.writable!==!1&&e.writable,s=function(){e.writable||a()},o=e._writableState&&e._writableState.finished,a=function(){i=!1,o=!0,n||r.call(e)},l=e._readableState&&e._readableState.endEmitted,c=function(){n=!1,l=!0,i||r.call(e)},u=function(m){r.call(e,m)},d=function(){var m;if(n&&!l)return(!e._readableState||!e._readableState.ended)&&(m=new ha),r.call(e,m);if(i&&!o)return(!e._writableState||!e._writableState.ended)&&(m=new ha),r.call(e,m)},f=function(){e.req.on("finish",a)};return Nh(e)?(e.on("complete",a),e.on("abort",d),e.req?f():e.on("request",f)):i&&!e._writableState&&(e.on("end",s),e.on("close",s)),e.on("end",c),e.on("finish",a),t.error!==!1&&e.on("error",u),e.on("close",d),function(){e.removeListener("complete",a),e.removeListener("abort",d),e.removeListener("request",f),e.req&&e.req.removeListener("finish",a),e.removeListener("end",s),e.removeListener("close",s),e.removeListener("finish",a),e.removeListener("end",c),e.removeListener("error",u),e.removeListener("close",d)}}da.exports=pa});var ga=_((hm,_a)=>{"use strict";var Er;function ke(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var kh=Sr(),Fe=Symbol("lastResolve"),Ze=Symbol("lastReject"),qt=Symbol("error"),Rr=Symbol("ended"),ze=Symbol("lastPromise"),Wn=Symbol("handlePromise"),et=Symbol("stream");function qe(e,t){return{value:e,done:t}}function Fh(e){var t=e[Fe];if(t!==null){var r=e[et].read();r!==null&&(e[ze]=null,e[Fe]=null,e[Ze]=null,t(qe(r,!1)))}}function qh(e){process.nextTick(Fh,e)}function jh(e,t){return function(r,n){e.then(function(){if(t[Rr]){r(qe(void 0,!0));return}t[Wn](r,n)},n)}}var Hh=Object.getPrototypeOf(function(){}),$h=Object.setPrototypeOf((Er={get stream(){return this[et]},next:function(){var t=this,r=this[qt];if(r!==null)return Promise.reject(r);if(this[Rr])return Promise.resolve(qe(void 0,!0));if(this[et].destroyed)return new Promise(function(o,a){process.nextTick(function(){t[qt]?a(t[qt]):o(qe(void 0,!0))})});var n=this[ze],i;if(n)i=new Promise(jh(n,this));else{var s=this[et].read();if(s!==null)return Promise.resolve(qe(s,!1));i=new Promise(this[Wn])}return this[ze]=i,i}},ke(Er,Symbol.asyncIterator,function(){return this}),ke(Er,"return",function(){var t=this;return new Promise(function(r,n){t[et].destroy(null,function(i){if(i){n(i);return}r(qe(void 0,!0))})})}),Er),Hh),Gh=function(t){var r,n=Object.create($h,(r={},ke(r,et,{value:t,writable:!0}),ke(r,Fe,{value:null,writable:!0}),ke(r,Ze,{value:null,writable:!0}),ke(r,qt,{value:null,writable:!0}),ke(r,Rr,{value:t._readableState.endEmitted,writable:!0}),ke(r,Wn,{value:function(s,o){var a=n[et].read();a?(n[ze]=null,n[Fe]=null,n[Ze]=null,s(qe(a,!1))):(n[Fe]=s,n[Ze]=o)},writable:!0}),r));return n[ze]=null,kh(t,function(i){if(i&&i.code!=="ERR_STREAM_PREMATURE_CLOSE"){var s=n[Ze];s!==null&&(n[ze]=null,n[Fe]=null,n[Ze]=null,s(i)),n[qt]=i;return}var o=n[Fe];o!==null&&(n[ze]=null,n[Fe]=null,n[Ze]=null,o(qe(void 0,!0))),n[Rr]=!0}),t.on("readable",qh.bind(null,n)),n};_a.exports=Gh});var va=_((pm,ba)=>{"use strict";function ya(e,t,r,n,i,s,o){try{var a=e[s](o),l=a.value}catch(c){r(c);return}a.done?t(l):Promise.resolve(l).then(n,i)}function Uh(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var s=e.apply(t,r);function o(l){ya(s,n,i,o,a,"next",l)}function a(l){ya(s,n,i,o,a,"throw",l)}o(void 0)})}}function ma(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Wh(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ma(Object(r),!0).forEach(function(n){Vh(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ma(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Vh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Yh=Ie().codes.ERR_INVALID_ARG_TYPE;function Kh(e,t,r){var n;if(t&&typeof t.next=="function")n=t;else if(t&&t[Symbol.asyncIterator])n=t[Symbol.asyncIterator]();else if(t&&t[Symbol.iterator])n=t[Symbol.iterator]();else throw new Yh("iterable",["Iterable"],t);var i=new e(Wh({objectMode:!0},r)),s=!1;i._read=function(){s||(s=!0,o())};function o(){return a.apply(this,arguments)}function a(){return a=Uh(function*(){try{var l=yield n.next(),c=l.value,u=l.done;u?i.push(null):i.push(yield c)?o():s=!1}catch(d){i.destroy(d)}}),a.apply(this,arguments)}return i}ba.exports=Kh});var jn=_((_m,Pa)=>{"use strict";Pa.exports=M;var _t;M.ReadableState=Ra;var dm=L("events").EventEmitter,Ea=function(t,r){return t.listeners(r).length},Ht=Tn(),wr=L("buffer").Buffer,Qh=global.Uint8Array||function(){};function Xh(e){return wr.from(e)}function Jh(e){return wr.isBuffer(e)||e instanceof Qh}var Vn=L("util"),O;Vn&&Vn.debuglog?O=Vn.debuglog("stream"):O=function(){};var Zh=Go(),zn=Pn(),zh=Ln(),ep=zh.getHighWaterMark,Ar=Ie().codes,tp=Ar.ERR_INVALID_ARG_TYPE,rp=Ar.ERR_STREAM_PUSH_AFTER_EOF,np=Ar.ERR_METHOD_NOT_IMPLEMENTED,ip=Ar.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,gt,Yn,Kn;Qe()(M,Ht);var jt=zn.errorOrDestroy,Qn=["error","close","destroy","pause","resume"];function sp(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 Ra(e,t,r){_t=_t||Xe(),e=e||{},typeof r!="boolean"&&(r=t instanceof _t),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=ep(this,e,"readableHighWaterMark",r),this.buffer=new Zh,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&&(gt||(gt=Un().StringDecoder),this.decoder=new gt(e.encoding),this.encoding=e.encoding)}function M(e){if(_t=_t||Xe(),!(this instanceof M))return new M(e);var t=this instanceof _t;this._readableState=new Ra(e,this,t),this.readable=!0,e&&(typeof e.read=="function"&&(this._read=e.read),typeof e.destroy=="function"&&(this._destroy=e.destroy)),Ht.call(this)}Object.defineProperty(M.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(t){!this._readableState||(this._readableState.destroyed=t)}});M.prototype.destroy=zn.destroy;M.prototype._undestroy=zn.undestroy;M.prototype._destroy=function(e,t){t(e)};M.prototype.push=function(e,t){var r=this._readableState,n;return r.objectMode?n=!0:typeof e=="string"&&(t=t||r.defaultEncoding,t!==r.encoding&&(e=wr.from(e,t),t=""),n=!0),wa(this,e,t,!1,n)};M.prototype.unshift=function(e){return wa(this,e,null,!0,!1)};function wa(e,t,r,n,i){O("readableAddChunk",t);var s=e._readableState;if(t===null)s.reading=!1,lp(e,s);else{var o;if(i||(o=op(s,t)),o)jt(e,o);else if(s.objectMode||t&&t.length>0)if(typeof t!="string"&&!s.objectMode&&Object.getPrototypeOf(t)!==wr.prototype&&(t=Xh(t)),n)s.endEmitted?jt(e,new ip):Xn(e,s,t,!0);else if(s.ended)jt(e,new rp);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||t.length!==0?Xn(e,s,t,!1):Zn(e,s)):Xn(e,s,t,!1)}else n||(s.reading=!1,Zn(e,s))}return!s.ended&&(s.length<s.highWaterMark||s.length===0)}function Xn(e,t,r,n){t.flowing&&t.length===0&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&Tr(e)),Zn(e,t)}function op(e,t){var r;return!Jh(t)&&typeof t!="string"&&t!==void 0&&!e.objectMode&&(r=new tp("chunk",["string","Buffer","Uint8Array"],t)),r}M.prototype.isPaused=function(){return this._readableState.flowing===!1};M.prototype.setEncoding=function(e){gt||(gt=Un().StringDecoder);var t=new gt(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,n="";r!==null;)n+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),n!==""&&this._readableState.buffer.push(n),this._readableState.length=n.length,this};var xa=1073741824;function ap(e){return e>=xa?e=xa:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function Sa(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=ap(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}M.prototype.read=function(e){O("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 O("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?Jn(this):Tr(this),null;if(e=Sa(e,t),e===0&&t.ended)return t.length===0&&Jn(this),null;var n=t.needReadable;O("need readable",n),(t.length===0||t.length-e<t.highWaterMark)&&(n=!0,O("length less than watermark",n)),t.ended||t.reading?(n=!1,O("reading or ended",n)):n&&(O("do read"),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=Sa(r,t)));var i;return e>0?i=Ca(e,t):i=null,i===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&&Jn(this)),i!==null&&this.emit("data",i),i};function lp(e,t){if(O("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?Tr(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,Aa(e)))}}function Tr(e){var t=e._readableState;O("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(O("emitReadable",t.flowing),t.emittedReadable=!0,process.nextTick(Aa,e))}function Aa(e){var t=e._readableState;O("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,ei(e)}function Zn(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(up,e,t))}function up(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&t.length===0);){var r=t.length;if(O("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}M.prototype._read=function(e){jt(this,new np("_read()"))};M.prototype.pipe=function(e,t){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e);break}n.pipesCount+=1,O("pipe count=%d opts=%j",n.pipesCount,t);var i=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,s=i?a:y;n.endEmitted?process.nextTick(s):r.once("end",s),e.on("unpipe",o);function o(E,x){O("onunpipe"),E===r&&x&&x.hasUnpiped===!1&&(x.hasUnpiped=!0,u())}function a(){O("onend"),e.end()}var l=fp(r);e.on("drain",l);var c=!1;function u(){O("cleanup"),e.removeListener("close",S),e.removeListener("finish",m),e.removeListener("drain",l),e.removeListener("error",f),e.removeListener("unpipe",o),r.removeListener("end",a),r.removeListener("end",y),r.removeListener("data",d),c=!0,n.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&l()}r.on("data",d);function d(E){O("ondata");var x=e.write(E);O("dest.write",x),x===!1&&((n.pipesCount===1&&n.pipes===e||n.pipesCount>1&&Oa(n.pipes,e)!==-1)&&!c&&(O("false write response, pause",n.awaitDrain),n.awaitDrain++),r.pause())}function f(E){O("onerror",E),y(),e.removeListener("error",f),Ea(e,"error")===0&&jt(e,E)}sp(e,"error",f);function S(){e.removeListener("finish",m),y()}e.once("close",S);function m(){O("onfinish"),e.removeListener("close",S),y()}e.once("finish",m);function y(){O("unpipe"),r.unpipe(e)}return e.emit("pipe",r),n.flowing||(O("pipe resume"),r.resume()),e};function fp(e){return function(){var r=e._readableState;O("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,r.awaitDrain===0&&Ea(e,"data")&&(r.flowing=!0,ei(e))}}M.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 n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var s=0;s<i;s++)n[s].emit("unpipe",this,{hasUnpiped:!1});return this}var o=Oa(t.pipes,e);return o===-1?this:(t.pipes.splice(o,1),t.pipesCount-=1,t.pipesCount===1&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r),this)};M.prototype.on=function(e,t){var r=Ht.prototype.on.call(this,e,t),n=this._readableState;return e==="data"?(n.readableListening=this.listenerCount("readable")>0,n.flowing!==!1&&this.resume()):e==="readable"&&!n.endEmitted&&!n.readableListening&&(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,O("on readable",n.length,n.reading),n.length?Tr(this):n.reading||process.nextTick(cp,this)),r};M.prototype.addListener=M.prototype.on;M.prototype.removeListener=function(e,t){var r=Ht.prototype.removeListener.call(this,e,t);return e==="readable"&&process.nextTick(Ta,this),r};M.prototype.removeAllListeners=function(e){var t=Ht.prototype.removeAllListeners.apply(this,arguments);return(e==="readable"||e===void 0)&&process.nextTick(Ta,this),t};function Ta(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 cp(e){O("readable nexttick read 0"),e.read(0)}M.prototype.resume=function(){var e=this._readableState;return e.flowing||(O("resume"),e.flowing=!e.readableListening,hp(this,e)),e.paused=!1,this};function hp(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(pp,e,t))}function pp(e,t){O("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),ei(e),t.flowing&&!t.reading&&e.read(0)}M.prototype.pause=function(){return O("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(O("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function ei(e){var t=e._readableState;for(O("flow",t.flowing);t.flowing&&e.read()!==null;);}M.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;e.on("end",function(){if(O("wrapped end"),r.decoder&&!r.ended){var o=r.decoder.end();o&&o.length&&t.push(o)}t.push(null)}),e.on("data",function(o){if(O("wrapped data"),r.decoder&&(o=r.decoder.write(o)),!(r.objectMode&&o==null)&&!(!r.objectMode&&(!o||!o.length))){var a=t.push(o);a||(n=!0,e.pause())}});for(var i in e)this[i]===void 0&&typeof e[i]=="function"&&(this[i]=function(a){return function(){return e[a].apply(e,arguments)}}(i));for(var s=0;s<Qn.length;s++)e.on(Qn[s],this.emit.bind(this,Qn[s]));return this._read=function(o){O("wrapped _read",o),n&&(n=!1,e.resume())},this};typeof Symbol=="function"&&(M.prototype[Symbol.asyncIterator]=function(){return Yn===void 0&&(Yn=ga()),Yn(this)});Object.defineProperty(M.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Object.defineProperty(M.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}});Object.defineProperty(M.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}});M._fromList=Ca;Object.defineProperty(M.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function Ca(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 Jn(e){var t=e._readableState;O("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(dp,t,e))}function dp(e,t){if(O("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"&&(M.from=function(e,t){return Kn===void 0&&(Kn=va()),Kn(M,e,t)});function Oa(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}});var ti=_((gm,Ma)=>{"use strict";Ma.exports=Pe;var Cr=Ie().codes,_p=Cr.ERR_METHOD_NOT_IMPLEMENTED,gp=Cr.ERR_MULTIPLE_CALLBACK,yp=Cr.ERR_TRANSFORM_ALREADY_TRANSFORMING,mp=Cr.ERR_TRANSFORM_WITH_LENGTH_0,Or=Xe();Qe()(Pe,Or);function bp(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(n===null)return this.emit("error",new gp);r.writechunk=null,r.writecb=null,t!=null&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function Pe(e){if(!(this instanceof Pe))return new Pe(e);Or.call(this,e),this._transformState={afterTransform:bp.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",vp)}function vp(){var e=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(t,r){La(e,t,r)}):La(this,null,null)}Pe.prototype.push=function(e,t){return this._transformState.needTransform=!1,Or.prototype.push.call(this,e,t)};Pe.prototype._transform=function(e,t,r){r(new _p("_transform()"))};Pe.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}};Pe.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};Pe.prototype._destroy=function(e,t){Or.prototype._destroy.call(this,e,function(r){t(r)})};function La(e,t,r){if(t)return e.emit("error",t);if(r!=null&&e.push(r),e._writableState.length)throw new mp;if(e._transformState.transforming)throw new yp;return e.push(null)}});var Ia=_((ym,Ba)=>{"use strict";Ba.exports=$t;var Da=ti();Qe()($t,Da);function $t(e){if(!(this instanceof $t))return new $t(e);Da.call(this,e)}$t.prototype._transform=function(e,t,r){r(null,e)}});var ja=_((mm,qa)=>{"use strict";var ri;function xp(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var Fa=Ie().codes,Sp=Fa.ERR_MISSING_ARGS,Ep=Fa.ERR_STREAM_DESTROYED;function Na(e){if(e)throw e}function Rp(e){return e.setHeader&&typeof e.abort=="function"}function wp(e,t,r,n){n=xp(n);var i=!1;e.on("close",function(){i=!0}),ri===void 0&&(ri=Sr()),ri(e,{readable:t,writable:r},function(o){if(o)return n(o);i=!0,n()});var s=!1;return function(o){if(!i&&!s){if(s=!0,Rp(e))return e.abort();if(typeof e.destroy=="function")return e.destroy();n(o||new Ep("pipe"))}}}function ka(e){e()}function Ap(e,t){return e.pipe(t)}function Tp(e){return!e.length||typeof e[e.length-1]!="function"?Na:e.pop()}function Cp(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=Tp(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new Sp("streams");var i,s=t.map(function(o,a){var l=a<t.length-1,c=a>0;return wp(o,l,c,function(u){i||(i=u),u&&s.forEach(ka),!l&&(s.forEach(ka),n(i))})});return t.reduce(Ap)}qa.exports=Cp});var Ha=_((he,Ut)=>{var Gt=L("stream");process.env.READABLE_STREAM==="disable"&&Gt?(Ut.exports=Gt.Readable,Object.assign(Ut.exports,Gt),Ut.exports.Stream=Gt):(he=Ut.exports=jn(),he.Stream=Gt||he,he.Readable=he,he.Writable=kn(),he.Duplex=Xe(),he.Transform=ti(),he.PassThrough=Ia(),he.finished=Sr(),he.pipeline=ja())});var Ua=_((bm,Ga)=>{"use strict";var{Buffer:me}=L("buffer"),$a=Symbol.for("BufferList");function k(e){if(!(this instanceof k))return new k(e);k._init.call(this,e)}k._init=function(t){Object.defineProperty(this,$a,{value:!0}),this._bufs=[],this.length=0,t&&this.append(t)};k.prototype._new=function(t){return new k(t)};k.prototype._offset=function(t){if(t===0)return[0,0];let r=0;for(let n=0;n<this._bufs.length;n++){let i=r+this._bufs[n].length;if(t<i||n===this._bufs.length-1)return[n,t-r];r=i}};k.prototype._reverseOffset=function(e){let t=e[0],r=e[1];for(let n=0;n<t;n++)r+=this._bufs[n].length;return r};k.prototype.get=function(t){if(t>this.length||t<0)return;let r=this._offset(t);return this._bufs[r[0]][r[1]]};k.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)};k.prototype.copy=function(t,r,n,i){if((typeof n!="number"||n<0)&&(n=0),(typeof i!="number"||i>this.length)&&(i=this.length),n>=this.length||i<=0)return t||me.alloc(0);let s=!!t,o=this._offset(n),a=i-n,l=a,c=s&&r||0,u=o[1];if(n===0&&i===this.length){if(!s)return this._bufs.length===1?this._bufs[0]:me.concat(this._bufs,this.length);for(let d=0;d<this._bufs.length;d++)this._bufs[d].copy(t,c),c+=this._bufs[d].length;return t}if(l<=this._bufs[o[0]].length-u)return s?this._bufs[o[0]].copy(t,r,u,u+l):this._bufs[o[0]].slice(u,u+l);s||(t=me.allocUnsafe(a));for(let d=o[0];d<this._bufs.length;d++){let f=this._bufs[d].length-u;if(l>f)this._bufs[d].copy(t,c,u),c+=f;else{this._bufs[d].copy(t,c,u,u+l),c+=f;break}l-=f,u&&(u=0)}return t.length>c?t.slice(0,c):t};k.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 n=this._offset(t),i=this._offset(r),s=this._bufs.slice(n[0],i[0]+1);return i[1]===0?s.pop():s[s.length-1]=s[s.length-1].slice(0,i[1]),n[1]!==0&&(s[0]=s[0].slice(n[1])),this._new(s)};k.prototype.toString=function(t,r,n){return this.slice(r,n).toString(t)};k.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};k.prototype.duplicate=function(){let t=this._new();for(let r=0;r<this._bufs.length;r++)t.append(this._bufs[r]);return t};k.prototype.append=function(t){if(t==null)return this;if(t.buffer)this._appendBuffer(me.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(me.from(t));return this};k.prototype._appendBuffer=function(t){this._bufs.push(t),this.length+=t.length};k.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=me.from([e]):typeof e=="string"?e=me.from(e,r):this._isBufferList(e)?e=e.slice():Array.isArray(e.buffer)?e=me.from(e.buffer,e.byteOffset,e.byteLength):me.isBuffer(e)||(e=me.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 n=this._offset(t),i=n[0],s=n[1];for(;i<this._bufs.length;i++){let o=this._bufs[i];for(;s<o.length;)if(o.length-s>=e.length){let l=o.indexOf(e,s);if(l!==-1)return this._reverseOffset([i,l]);s=o.length-e.length+1}else{let l=this._reverseOffset([i,s]);if(this._match(l,e))return l;s++}s=0}return-1};k.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?k.prototype[r]=function(n,i){return this.slice(n,n+i)[r](0,i)}:k.prototype[r]=function(n=0){return this.slice(n,n+e[r])[r](0)}})(t)})();k.prototype._isBufferList=function(t){return t instanceof k||k.isBufferList(t)};k.isBufferList=function(t){return t!=null&&t[$a]};Ga.exports=k});var Wa=_((vm,Pr)=>{"use strict";var ni=Ha().Duplex,Op=Qe(),Wt=Ua();function ee(e){if(!(this instanceof ee))return new ee(e);if(typeof e=="function"){this._callback=e;let t=function(n){this._callback&&(this._callback(n),this._callback=null)}.bind(this);this.on("pipe",function(n){n.on("error",t)}),this.on("unpipe",function(n){n.removeListener("error",t)}),e=null}Wt._init.call(this,e),ni.call(this)}Op(ee,ni);Object.assign(ee.prototype,Wt.prototype);ee.prototype._new=function(t){return new ee(t)};ee.prototype._write=function(t,r,n){this._appendBuffer(t),typeof n=="function"&&n()};ee.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)};ee.prototype.end=function(t){ni.prototype.end.call(this,t),this._callback&&(this._callback(null,this.slice()),this._callback=null)};ee.prototype._destroy=function(t,r){this._bufs.length=0,this.length=0,r(t)};ee.prototype._isBufferList=function(t){return t instanceof ee||t instanceof Wt||ee.isBufferList(t)};ee.isBufferList=Wt.isBufferList;Pr.exports=ee;Pr.exports.BufferListStream=ee;Pr.exports.BufferList=Wt});var rl=_(bt=>{"use strict";Object.defineProperty(bt,"__esModule",{value:!0});bt.splitWhen=bt.flatten=void 0;function nd(e){return e.reduce((t,r)=>[].concat(t,r),[])}bt.flatten=nd;function id(e,t){let r=[[]],n=0;for(let i of e)t(i)?(n++,r[n]=[]):r[n].push(i);return r}bt.splitWhen=id});var nl=_(Nr=>{"use strict";Object.defineProperty(Nr,"__esModule",{value:!0});Nr.isEnoentCodeError=void 0;function sd(e){return e.code==="ENOENT"}Nr.isEnoentCodeError=sd});var il=_(kr=>{"use strict";Object.defineProperty(kr,"__esModule",{value:!0});kr.createDirentFromStats=void 0;var ci=class{constructor(t,r){this.name=t,this.isBlockDevice=r.isBlockDevice.bind(r),this.isCharacterDevice=r.isCharacterDevice.bind(r),this.isDirectory=r.isDirectory.bind(r),this.isFIFO=r.isFIFO.bind(r),this.isFile=r.isFile.bind(r),this.isSocket=r.isSocket.bind(r),this.isSymbolicLink=r.isSymbolicLink.bind(r)}};function od(e,t){return new ci(e,t)}kr.createDirentFromStats=od});var sl=_(we=>{"use strict";Object.defineProperty(we,"__esModule",{value:!0});we.removeLeadingDotSegment=we.escape=we.makeAbsolute=we.unixify=void 0;var ad=L("path"),ld=2,ud=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\())/g;function fd(e){return e.replace(/\\/g,"/")}we.unixify=fd;function cd(e,t){return ad.resolve(e,t)}we.makeAbsolute=cd;function hd(e){return e.replace(ud,"\\$2")}we.escape=hd;function pd(e){if(e.charAt(0)==="."){let t=e.charAt(1);if(t==="/"||t==="\\")return e.slice(ld)}return e}we.removeLeadingDotSegment=pd});var al=_((Gm,ol)=>{ol.exports=function(t){if(typeof t!="string"||t==="")return!1;for(var r;r=/(\\).|([@?!+*]\(.*\))/g.exec(t);){if(r[2])return!0;t=t.slice(r.index+r[0].length)}return!1}});var fl=_((Um,ul)=>{var dd=al(),ll={"{":"}","(":")","[":"]"},_d=function(e){if(e[0]==="!")return!0;for(var t=0,r=-2,n=-2,i=-2,s=-2,o=-2;t<e.length;){if(e[t]==="*"||e[t+1]==="?"&&/[\].+)]/.test(e[t])||n!==-1&&e[t]==="["&&e[t+1]!=="]"&&(n<t&&(n=e.indexOf("]",t)),n>t&&(o===-1||o>n||(o=e.indexOf("\\",t),o===-1||o>n)))||i!==-1&&e[t]==="{"&&e[t+1]!=="}"&&(i=e.indexOf("}",t),i>t&&(o=e.indexOf("\\",t),o===-1||o>i))||s!==-1&&e[t]==="("&&e[t+1]==="?"&&/[:!=]/.test(e[t+2])&&e[t+3]!==")"&&(s=e.indexOf(")",t),s>t&&(o=e.indexOf("\\",t),o===-1||o>s))||r!==-1&&e[t]==="("&&e[t+1]!=="|"&&(r<t&&(r=e.indexOf("|",t)),r!==-1&&e[r+1]!==")"&&(s=e.indexOf(")",r),s>r&&(o=e.indexOf("\\",r),o===-1||o>s))))return!0;if(e[t]==="\\"){var a=e[t+1];t+=2;var l=ll[a];if(l){var c=e.indexOf(l,t);c!==-1&&(t=c+1)}if(e[t]==="!")return!0}else t++}return!1},gd=function(e){if(e[0]==="!")return!0;for(var t=0;t<e.length;){if(/[*?{}()[\]]/.test(e[t]))return!0;if(e[t]==="\\"){var r=e[t+1];t+=2;var n=ll[r];if(n){var i=e.indexOf(n,t);i!==-1&&(t=i+1)}if(e[t]==="!")return!0}else t++}return!1};ul.exports=function(t,r){if(typeof t!="string"||t==="")return!1;if(dd(t))return!0;var n=_d;return r&&r.strict===!1&&(n=gd),n(t)}});var hl=_((Wm,cl)=>{"use strict";var yd=fl(),md=L("path").posix.dirname,bd=L("os").platform()==="win32",hi="/",vd=/\\/g,xd=/[\{\[].*[\}\]]$/,Sd=/(^|[^\\])([\{\[]|\([^\)]+$)/,Ed=/\\([\!\*\?\|\[\]\(\)\{\}])/g;cl.exports=function(t,r){var n=Object.assign({flipBackslashes:!0},r);n.flipBackslashes&&bd&&t.indexOf(hi)<0&&(t=t.replace(vd,hi)),xd.test(t)&&(t+=hi),t+="a";do t=md(t);while(yd(t)||Sd.test(t));return t.replace(Ed,"$1")}});var Fr=_(de=>{"use strict";de.isInteger=e=>typeof e=="number"?Number.isInteger(e):typeof e=="string"&&e.trim()!==""?Number.isInteger(Number(e)):!1;de.find=(e,t)=>e.nodes.find(r=>r.type===t);de.exceedsLimit=(e,t,r=1,n)=>n===!1||!de.isInteger(e)||!de.isInteger(t)?!1:(Number(t)-Number(e))/Number(r)>=n;de.escapeNode=(e,t=0,r)=>{let n=e.nodes[t];!n||(r&&n.type===r||n.type==="open"||n.type==="close")&&n.escaped!==!0&&(n.value="\\"+n.value,n.escaped=!0)};de.encloseBrace=e=>e.type!=="brace"?!1:e.commas>>0+e.ranges>>0===0?(e.invalid=!0,!0):!1;de.isInvalidBrace=e=>e.type!=="brace"?!1:e.invalid===!0||e.dollar?!0:e.commas>>0+e.ranges>>0===0||e.open!==!0||e.close!==!0?(e.invalid=!0,!0):!1;de.isOpenOrClose=e=>e.type==="open"||e.type==="close"?!0:e.open===!0||e.close===!0;de.reduce=e=>e.reduce((t,r)=>(r.type==="text"&&t.push(r.value),r.type==="range"&&(r.type="text"),t),[]);de.flatten=(...e)=>{let t=[],r=n=>{for(let i=0;i<n.length;i++){let s=n[i];Array.isArray(s)?r(s,t):s!==void 0&&t.push(s)}return t};return r(e),t}});var qr=_((Ym,dl)=>{"use strict";var pl=Fr();dl.exports=(e,t={})=>{let r=(n,i={})=>{let s=t.escapeInvalid&&pl.isInvalidBrace(i),o=n.invalid===!0&&t.escapeInvalid===!0,a="";if(n.value)return(s||o)&&pl.isOpenOrClose(n)?"\\"+n.value:n.value;if(n.value)return n.value;if(n.nodes)for(let l of n.nodes)a+=r(l);return a};return r(e)}});var gl=_((Km,_l)=>{"use strict";_l.exports=function(e){return typeof e=="number"?e-e===0:typeof e=="string"&&e.trim()!==""?Number.isFinite?Number.isFinite(+e):isFinite(+e):!1}});var wl=_((Qm,Rl)=>{"use strict";var yl=gl(),tt=(e,t,r)=>{if(yl(e)===!1)throw new TypeError("toRegexRange: expected the first argument to be a number");if(t===void 0||e===t)return String(e);if(yl(t)===!1)throw new TypeError("toRegexRange: expected the second argument to be a number.");let n={relaxZeros:!0,...r};typeof n.strictZeros=="boolean"&&(n.relaxZeros=n.strictZeros===!1);let i=String(n.relaxZeros),s=String(n.shorthand),o=String(n.capture),a=String(n.wrap),l=e+":"+t+"="+i+s+o+a;if(tt.cache.hasOwnProperty(l))return tt.cache[l].result;let c=Math.min(e,t),u=Math.max(e,t);if(Math.abs(c-u)===1){let y=e+"|"+t;return n.capture?`(${y})`:n.wrap===!1?y:`(?:${y})`}let d=El(e)||El(t),f={min:e,max:t,a:c,b:u},S=[],m=[];if(d&&(f.isPadded=d,f.maxLen=String(f.max).length),c<0){let y=u<0?Math.abs(u):1;m=ml(y,Math.abs(c),f,n),c=f.a=0}return u>=0&&(S=ml(c,u,f,n)),f.negatives=m,f.positives=S,f.result=Rd(m,S,n),n.capture===!0?f.result=`(${f.result})`:n.wrap!==!1&&S.length+m.length>1&&(f.result=`(?:${f.result})`),tt.cache[l]=f,f.result};function Rd(e,t,r){let n=pi(e,t,"-",!1,r)||[],i=pi(t,e,"",!1,r)||[],s=pi(e,t,"-?",!0,r)||[];return n.concat(s).concat(i).join("|")}function wd(e,t){let r=1,n=1,i=vl(e,r),s=new Set([t]);for(;e<=i&&i<=t;)s.add(i),r+=1,i=vl(e,r);for(i=xl(t+1,n)-1;e<i&&i<=t;)s.add(i),n+=1,i=xl(t+1,n)-1;return s=[...s],s.sort(Cd),s}function Ad(e,t,r){if(e===t)return{pattern:e,count:[],digits:0};let n=Td(e,t),i=n.length,s="",o=0;for(let a=0;a<i;a++){let[l,c]=n[a];l===c?s+=l:l!=="0"||c!=="9"?s+=Od(l,c,r):o++}return o&&(s+=r.shorthand===!0?"\\d":"[0-9]"),{pattern:s,count:[o],digits:i}}function ml(e,t,r,n){let i=wd(e,t),s=[],o=e,a;for(let l=0;l<i.length;l++){let c=i[l],u=Ad(String(o),String(c),n),d="";if(!r.isPadded&&a&&a.pattern===u.pattern){a.count.length>1&&a.count.pop(),a.count.push(u.count[0]),a.string=a.pattern+Sl(a.count),o=c+1;continue}r.isPadded&&(d=Pd(c,r,n)),u.string=d+u.pattern+Sl(u.count),s.push(u),o=c+1,a=u}return s}function pi(e,t,r,n,i){let s=[];for(let o of e){let{string:a}=o;!n&&!bl(t,"string",a)&&s.push(r+a),n&&bl(t,"string",a)&&s.push(r+a)}return s}function Td(e,t){let r=[];for(let n=0;n<e.length;n++)r.push([e[n],t[n]]);return r}function Cd(e,t){return e>t?1:t>e?-1:0}function bl(e,t,r){return e.some(n=>n[t]===r)}function vl(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function xl(e,t){return e-e%Math.pow(10,t)}function Sl(e){let[t=0,r=""]=e;return r||t>1?`{${t+(r?","+r:"")}}`:""}function Od(e,t,r){return`[${e}${t-e===1?"":"-"}${t}]`}function El(e){return/^-?(0+)\d/.test(e)}function Pd(e,t,r){if(!t.isPadded)return e;let n=Math.abs(t.maxLen-String(e).length),i=r.relaxZeros!==!1;switch(n){case 0:return"";case 1:return i?"0?":"0";case 2:return i?"0{0,2}":"00";default:return i?`0{0,${n}}`:`0{${n}}`}}tt.cache={};tt.clearCache=()=>tt.cache={};Rl.exports=tt});var gi=_((Xm,Dl)=>{"use strict";var Ld=L("util"),Cl=wl(),Al=e=>e!==null&&typeof e=="object"&&!Array.isArray(e),Md=e=>t=>e===!0?Number(t):String(t),di=e=>typeof e=="number"||typeof e=="string"&&e!=="",Xt=e=>Number.isInteger(+e),_i=e=>{let t=`${e}`,r=-1;if(t[0]==="-"&&(t=t.slice(1)),t==="0")return!1;for(;t[++r]==="0";);return r>0},Dd=(e,t,r)=>typeof e=="string"||typeof t=="string"?!0:r.stringify===!0,Bd=(e,t,r)=>{if(t>0){let n=e[0]==="-"?"-":"";n&&(e=e.slice(1)),e=n+e.padStart(n?t-1:t,"0")}return r===!1?String(e):e},Tl=(e,t)=>{let r=e[0]==="-"?"-":"";for(r&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return r?"-"+e:e},Id=(e,t)=>{e.negatives.sort((o,a)=>o<a?-1:o>a?1:0),e.positives.sort((o,a)=>o<a?-1:o>a?1:0);let r=t.capture?"":"?:",n="",i="",s;return e.positives.length&&(n=e.positives.join("|")),e.negatives.length&&(i=`-(${r}${e.negatives.join("|")})`),n&&i?s=`${n}|${i}`:s=n||i,t.wrap?`(${r}${s})`:s},Ol=(e,t,r,n)=>{if(r)return Cl(e,t,{wrap:!1,...n});let i=String.fromCharCode(e);if(e===t)return i;let s=String.fromCharCode(t);return`[${i}-${s}]`},Pl=(e,t,r)=>{if(Array.isArray(e)){let n=r.wrap===!0,i=r.capture?"":"?:";return n?`(${i}${e.join("|")})`:e.join("|")}return Cl(e,t,r)},Ll=(...e)=>new RangeError("Invalid range arguments: "+Ld.inspect(...e)),Ml=(e,t,r)=>{if(r.strictRanges===!0)throw Ll([e,t]);return[]},Nd=(e,t)=>{if(t.strictRanges===!0)throw new TypeError(`Expected step "${e}" to be a number`);return[]},kd=(e,t,r=1,n={})=>{let i=Number(e),s=Number(t);if(!Number.isInteger(i)||!Number.isInteger(s)){if(n.strictRanges===!0)throw Ll([e,t]);return[]}i===0&&(i=0),s===0&&(s=0);let o=i>s,a=String(e),l=String(t),c=String(r);r=Math.max(Math.abs(r),1);let u=_i(a)||_i(l)||_i(c),d=u?Math.max(a.length,l.length,c.length):0,f=u===!1&&Dd(e,t,n)===!1,S=n.transform||Md(f);if(n.toRegex&&r===1)return Ol(Tl(e,d),Tl(t,d),!0,n);let m={negatives:[],positives:[]},y=B=>m[B<0?"negatives":"positives"].push(Math.abs(B)),E=[],x=0;for(;o?i>=s:i<=s;)n.toRegex===!0&&r>1?y(i):E.push(Bd(S(i,x),d,f)),i=o?i-r:i+r,x++;return n.toRegex===!0?r>1?Id(m,n):Pl(E,null,{wrap:!1,...n}):E},Fd=(e,t,r=1,n={})=>{if(!Xt(e)&&e.length>1||!Xt(t)&&t.length>1)return Ml(e,t,n);let i=n.transform||(f=>String.fromCharCode(f)),s=`${e}`.charCodeAt(0),o=`${t}`.charCodeAt(0),a=s>o,l=Math.min(s,o),c=Math.max(s,o);if(n.toRegex&&r===1)return Ol(l,c,!1,n);let u=[],d=0;for(;a?s>=o:s<=o;)u.push(i(s,d)),s=a?s-r:s+r,d++;return n.toRegex===!0?Pl(u,null,{wrap:!1,options:n}):u},jr=(e,t,r,n={})=>{if(t==null&&di(e))return[e];if(!di(e)||!di(t))return Ml(e,t,n);if(typeof r=="function")return jr(e,t,1,{transform:r});if(Al(r))return jr(e,t,0,r);let i={...n};return i.capture===!0&&(i.wrap=!0),r=r||i.step||1,Xt(r)?Xt(e)&&Xt(t)?kd(e,t,r,i):Fd(e,t,Math.max(Math.abs(r),1),i):r!=null&&!Al(r)?Nd(r,i):jr(e,t,1,r)};Dl.exports=jr});var Nl=_((Jm,Il)=>{"use strict";var qd=gi(),Bl=Fr(),jd=(e,t={})=>{let r=(n,i={})=>{let s=Bl.isInvalidBrace(i),o=n.invalid===!0&&t.escapeInvalid===!0,a=s===!0||o===!0,l=t.escapeInvalid===!0?"\\":"",c="";if(n.isOpen===!0||n.isClose===!0)return l+n.value;if(n.type==="open")return a?l+n.value:"(";if(n.type==="close")return a?l+n.value:")";if(n.type==="comma")return n.prev.type==="comma"?"":a?n.value:"|";if(n.value)return n.value;if(n.nodes&&n.ranges>0){let u=Bl.reduce(n.nodes),d=qd(...u,{...t,wrap:!1,toRegex:!0});if(d.length!==0)return u.length>1&&d.length>1?`(${d})`:d}if(n.nodes)for(let u of n.nodes)c+=r(u,n);return c};return r(e)};Il.exports=jd});var ql=_((Zm,Fl)=>{"use strict";var Hd=gi(),kl=qr(),vt=Fr(),rt=(e="",t="",r=!1)=>{let n=[];if(e=[].concat(e),t=[].concat(t),!t.length)return e;if(!e.length)return r?vt.flatten(t).map(i=>`{${i}}`):t;for(let i of e)if(Array.isArray(i))for(let s of i)n.push(rt(s,t,r));else for(let s of t)r===!0&&typeof s=="string"&&(s=`{${s}}`),n.push(Array.isArray(s)?rt(i,s,r):i+s);return vt.flatten(n)},$d=(e,t={})=>{let r=t.rangeLimit===void 0?1e3:t.rangeLimit,n=(i,s={})=>{i.queue=[];let o=s,a=s.queue;for(;o.type!=="brace"&&o.type!=="root"&&o.parent;)o=o.parent,a=o.queue;if(i.invalid||i.dollar){a.push(rt(a.pop(),kl(i,t)));return}if(i.type==="brace"&&i.invalid!==!0&&i.nodes.length===2){a.push(rt(a.pop(),["{}"]));return}if(i.nodes&&i.ranges>0){let d=vt.reduce(i.nodes);if(vt.exceedsLimit(...d,t.step,r))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let f=Hd(...d,t);f.length===0&&(f=kl(i,t)),a.push(rt(a.pop(),f)),i.nodes=[];return}let l=vt.encloseBrace(i),c=i.queue,u=i;for(;u.type!=="brace"&&u.type!=="root"&&u.parent;)u=u.parent,c=u.queue;for(let d=0;d<i.nodes.length;d++){let f=i.nodes[d];if(f.type==="comma"&&i.type==="brace"){d===1&&c.push(""),c.push("");continue}if(f.type==="close"){a.push(rt(a.pop(),c,l));continue}if(f.value&&f.type!=="open"){c.push(rt(c.pop(),f.value));continue}f.nodes&&n(f,i)}return c};return vt.flatten(n(e))};Fl.exports=$d});var Hl=_((zm,jl)=>{"use strict";jl.exports={MAX_LENGTH:1024*64,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:`
5
- `,CHAR_NO_BREAK_SPACE:" ",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:" ",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\uFEFF"}});var Vl=_((eb,Wl)=>{"use strict";var Gd=qr(),{MAX_LENGTH:$l,CHAR_BACKSLASH:yi,CHAR_BACKTICK:Ud,CHAR_COMMA:Wd,CHAR_DOT:Vd,CHAR_LEFT_PARENTHESES:Yd,CHAR_RIGHT_PARENTHESES:Kd,CHAR_LEFT_CURLY_BRACE:Qd,CHAR_RIGHT_CURLY_BRACE:Xd,CHAR_LEFT_SQUARE_BRACKET:Gl,CHAR_RIGHT_SQUARE_BRACKET:Ul,CHAR_DOUBLE_QUOTE:Jd,CHAR_SINGLE_QUOTE:Zd,CHAR_NO_BREAK_SPACE:zd,CHAR_ZERO_WIDTH_NOBREAK_SPACE:e_}=Hl(),t_=(e,t={})=>{if(typeof e!="string")throw new TypeError("Expected a string");let r=t||{},n=typeof r.maxLength=="number"?Math.min($l,r.maxLength):$l;if(e.length>n)throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${n})`);let i={type:"root",input:e,nodes:[]},s=[i],o=i,a=i,l=0,c=e.length,u=0,d=0,f,S={},m=()=>e[u++],y=E=>{if(E.type==="text"&&a.type==="dot"&&(a.type="text"),a&&a.type==="text"&&E.type==="text"){a.value+=E.value;return}return o.nodes.push(E),E.parent=o,E.prev=a,a=E,E};for(y({type:"bos"});u<c;)if(o=s[s.length-1],f=m(),!(f===e_||f===zd)){if(f===yi){y({type:"text",value:(t.keepEscaping?f:"")+m()});continue}if(f===Ul){y({type:"text",value:"\\"+f});continue}if(f===Gl){l++;let E=!0,x;for(;u<c&&(x=m());){if(f+=x,x===Gl){l++;continue}if(x===yi){f+=m();continue}if(x===Ul&&(l--,l===0))break}y({type:"text",value:f});continue}if(f===Yd){o=y({type:"paren",nodes:[]}),s.push(o),y({type:"text",value:f});continue}if(f===Kd){if(o.type!=="paren"){y({type:"text",value:f});continue}o=s.pop(),y({type:"text",value:f}),o=s[s.length-1];continue}if(f===Jd||f===Zd||f===Ud){let E=f,x;for(t.keepQuotes!==!0&&(f="");u<c&&(x=m());){if(x===yi){f+=x+m();continue}if(x===E){t.keepQuotes===!0&&(f+=x);break}f+=x}y({type:"text",value:f});continue}if(f===Qd){d++;let x={type:"brace",open:!0,close:!1,dollar:a.value&&a.value.slice(-1)==="$"||o.dollar===!0,depth:d,commas:0,ranges:0,nodes:[]};o=y(x),s.push(o),y({type:"open",value:f});continue}if(f===Xd){if(o.type!=="brace"){y({type:"text",value:f});continue}let E="close";o=s.pop(),o.close=!0,y({type:E,value:f}),d--,o=s[s.length-1];continue}if(f===Wd&&d>0){if(o.ranges>0){o.ranges=0;let E=o.nodes.shift();o.nodes=[E,{type:"text",value:Gd(o)}]}y({type:"comma",value:f}),o.commas++;continue}if(f===Vd&&d>0&&o.commas===0){let E=o.nodes;if(d===0||E.length===0){y({type:"text",value:f});continue}if(a.type==="dot"){if(o.range=[],a.value+=f,a.type="range",o.nodes.length!==3&&o.nodes.length!==5){o.invalid=!0,o.ranges=0,a.type="text";continue}o.ranges++,o.args=[];continue}if(a.type==="range"){E.pop();let x=E[E.length-1];x.value+=a.value+f,a=x,o.ranges--;continue}y({type:"dot",value:f});continue}y({type:"text",value:f})}do if(o=s.pop(),o.type!=="root"){o.nodes.forEach(B=>{B.nodes||(B.type==="open"&&(B.isOpen=!0),B.type==="close"&&(B.isClose=!0),B.nodes||(B.type="text"),B.invalid=!0)});let E=s[s.length-1],x=E.nodes.indexOf(o);E.nodes.splice(x,1,...o.nodes)}while(s.length>0);return y({type:"eos"}),i};Wl.exports=t_});var Ql=_((tb,Kl)=>{"use strict";var Yl=qr(),r_=Nl(),n_=ql(),i_=Vl(),le=(e,t={})=>{let r=[];if(Array.isArray(e))for(let n of e){let i=le.create(n,t);Array.isArray(i)?r.push(...i):r.push(i)}else r=[].concat(le.create(e,t));return t&&t.expand===!0&&t.nodupes===!0&&(r=[...new Set(r)]),r};le.parse=(e,t={})=>i_(e,t);le.stringify=(e,t={})=>Yl(typeof e=="string"?le.parse(e,t):e,t);le.compile=(e,t={})=>(typeof e=="string"&&(e=le.parse(e,t)),r_(e,t));le.expand=(e,t={})=>{typeof e=="string"&&(e=le.parse(e,t));let r=n_(e,t);return t.noempty===!0&&(r=r.filter(Boolean)),t.nodupes===!0&&(r=[...new Set(r)]),r};le.create=(e,t={})=>e===""||e.length<3?[e]:t.expand!==!0?le.compile(e,t):le.expand(e,t);Kl.exports=le});var Jt=_((rb,eu)=>{"use strict";var s_=L("path"),Ae="\\\\/",Xl=`[^${Ae}]`,Le="\\.",o_="\\+",a_="\\?",Hr="\\/",l_="(?=.)",Jl="[^/]",mi=`(?:${Hr}|$)`,Zl=`(?:^|${Hr})`,bi=`${Le}{1,2}${mi}`,u_=`(?!${Le})`,f_=`(?!${Zl}${bi})`,c_=`(?!${Le}{0,1}${mi})`,h_=`(?!${bi})`,p_=`[^.${Hr}]`,d_=`${Jl}*?`,zl={DOT_LITERAL:Le,PLUS_LITERAL:o_,QMARK_LITERAL:a_,SLASH_LITERAL:Hr,ONE_CHAR:l_,QMARK:Jl,END_ANCHOR:mi,DOTS_SLASH:bi,NO_DOT:u_,NO_DOTS:f_,NO_DOT_SLASH:c_,NO_DOTS_SLASH:h_,QMARK_NO_DOT:p_,STAR:d_,START_ANCHOR:Zl},__={...zl,SLASH_LITERAL:`[${Ae}]`,QMARK:Xl,STAR:`${Xl}*?`,DOTS_SLASH:`${Le}{1,2}(?:[${Ae}]|$)`,NO_DOT:`(?!${Le})`,NO_DOTS:`(?!(?:^|[${Ae}])${Le}{1,2}(?:[${Ae}]|$))`,NO_DOT_SLASH:`(?!${Le}{0,1}(?:[${Ae}]|$))`,NO_DOTS_SLASH:`(?!${Le}{1,2}(?:[${Ae}]|$))`,QMARK_NO_DOT:`[^.${Ae}]`,START_ANCHOR:`(?:^|[${Ae}])`,END_ANCHOR:`(?:[${Ae}]|$)`},g_={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};eu.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:g_,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:s_.sep,extglobChars(e){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(e){return e===!0?__:zl}}});var Zt=_(oe=>{"use strict";var y_=L("path"),m_=process.platform==="win32",{REGEX_BACKSLASH:b_,REGEX_REMOVE_BACKSLASH:v_,REGEX_SPECIAL_CHARS:x_,REGEX_SPECIAL_CHARS_GLOBAL:S_}=Jt();oe.isObject=e=>e!==null&&typeof e=="object"&&!Array.isArray(e);oe.hasRegexChars=e=>x_.test(e);oe.isRegexChar=e=>e.length===1&&oe.hasRegexChars(e);oe.escapeRegex=e=>e.replace(S_,"\\$1");oe.toPosixSlashes=e=>e.replace(b_,"/");oe.removeBackslashes=e=>e.replace(v_,t=>t==="\\"?"":t);oe.supportsLookbehinds=()=>{let e=process.version.slice(1).split(".").map(Number);return e.length===3&&e[0]>=9||e[0]===8&&e[1]>=10};oe.isWindows=e=>e&&typeof e.windows=="boolean"?e.windows:m_===!0||y_.sep==="\\";oe.escapeLast=(e,t,r)=>{let n=e.lastIndexOf(t,r);return n===-1?e:e[n-1]==="\\"?oe.escapeLast(e,t,n-1):`${e.slice(0,n)}\\${e.slice(n)}`};oe.removePrefix=(e,t={})=>{let r=e;return r.startsWith("./")&&(r=r.slice(2),t.prefix="./"),r};oe.wrapOutput=(e,t={},r={})=>{let n=r.contains?"":"^",i=r.contains?"":"$",s=`${n}(?:${e})${i}`;return t.negated===!0&&(s=`(?:^(?!${s}).*$)`),s}});var lu=_((ib,au)=>{"use strict";var tu=Zt(),{CHAR_ASTERISK:vi,CHAR_AT:E_,CHAR_BACKWARD_SLASH:zt,CHAR_COMMA:R_,CHAR_DOT:xi,CHAR_EXCLAMATION_MARK:Si,CHAR_FORWARD_SLASH:ou,CHAR_LEFT_CURLY_BRACE:Ei,CHAR_LEFT_PARENTHESES:Ri,CHAR_LEFT_SQUARE_BRACKET:w_,CHAR_PLUS:A_,CHAR_QUESTION_MARK:ru,CHAR_RIGHT_CURLY_BRACE:T_,CHAR_RIGHT_PARENTHESES:nu,CHAR_RIGHT_SQUARE_BRACKET:C_}=Jt(),iu=e=>e===ou||e===zt,su=e=>{e.isPrefix!==!0&&(e.depth=e.isGlobstar?1/0:1)},O_=(e,t)=>{let r=t||{},n=e.length-1,i=r.parts===!0||r.scanToEnd===!0,s=[],o=[],a=[],l=e,c=-1,u=0,d=0,f=!1,S=!1,m=!1,y=!1,E=!1,x=!1,B=!1,N=!1,z=!1,A=!1,j=0,T,R,I={value:"",depth:0,isGlob:!1},Z=()=>c>=n,g=()=>l.charCodeAt(c+1),H=()=>(T=R,l.charCodeAt(++c));for(;c<n;){R=H();let ne;if(R===zt){B=I.backslashes=!0,R=H(),R===Ei&&(x=!0);continue}if(x===!0||R===Ei){for(j++;Z()!==!0&&(R=H());){if(R===zt){B=I.backslashes=!0,H();continue}if(R===Ei){j++;continue}if(x!==!0&&R===xi&&(R=H())===xi){if(f=I.isBrace=!0,m=I.isGlob=!0,A=!0,i===!0)continue;break}if(x!==!0&&R===R_){if(f=I.isBrace=!0,m=I.isGlob=!0,A=!0,i===!0)continue;break}if(R===T_&&(j--,j===0)){x=!1,f=I.isBrace=!0,A=!0;break}}if(i===!0)continue;break}if(R===ou){if(s.push(c),o.push(I),I={value:"",depth:0,isGlob:!1},A===!0)continue;if(T===xi&&c===u+1){u+=2;continue}d=c+1;continue}if(r.noext!==!0&&(R===A_||R===E_||R===vi||R===ru||R===Si)===!0&&g()===Ri){if(m=I.isGlob=!0,y=I.isExtglob=!0,A=!0,R===Si&&c===u&&(z=!0),i===!0){for(;Z()!==!0&&(R=H());){if(R===zt){B=I.backslashes=!0,R=H();continue}if(R===nu){m=I.isGlob=!0,A=!0;break}}continue}break}if(R===vi){if(T===vi&&(E=I.isGlobstar=!0),m=I.isGlob=!0,A=!0,i===!0)continue;break}if(R===ru){if(m=I.isGlob=!0,A=!0,i===!0)continue;break}if(R===w_){for(;Z()!==!0&&(ne=H());){if(ne===zt){B=I.backslashes=!0,H();continue}if(ne===C_){S=I.isBracket=!0,m=I.isGlob=!0,A=!0;break}}if(i===!0)continue;break}if(r.nonegate!==!0&&R===Si&&c===u){N=I.negated=!0,u++;continue}if(r.noparen!==!0&&R===Ri){if(m=I.isGlob=!0,i===!0){for(;Z()!==!0&&(R=H());){if(R===Ri){B=I.backslashes=!0,R=H();continue}if(R===nu){A=!0;break}}continue}break}if(m===!0){if(A=!0,i===!0)continue;break}}r.noext===!0&&(y=!1,m=!1);let F=l,Be="",h="";u>0&&(Be=l.slice(0,u),l=l.slice(u),d-=u),F&&m===!0&&d>0?(F=l.slice(0,d),h=l.slice(d)):m===!0?(F="",h=l):F=l,F&&F!==""&&F!=="/"&&F!==l&&iu(F.charCodeAt(F.length-1))&&(F=F.slice(0,-1)),r.unescape===!0&&(h&&(h=tu.removeBackslashes(h)),F&&B===!0&&(F=tu.removeBackslashes(F)));let p={prefix:Be,input:e,start:u,base:F,glob:h,isBrace:f,isBracket:S,isGlob:m,isExtglob:y,isGlobstar:E,negated:N,negatedExtglob:z};if(r.tokens===!0&&(p.maxDepth=0,iu(R)||o.push(I),p.tokens=o),r.parts===!0||r.tokens===!0){let ne;for(let D=0;D<s.length;D++){let ve=ne?ne+1:u,xe=s[D],ae=e.slice(ve,xe);r.tokens&&(D===0&&u!==0?(o[D].isPrefix=!0,o[D].value=Be):o[D].value=ae,su(o[D]),p.maxDepth+=o[D].depth),(D!==0||ae!=="")&&a.push(ae),ne=xe}if(ne&&ne+1<e.length){let D=e.slice(ne+1);a.push(D),r.tokens&&(o[o.length-1].value=D,su(o[o.length-1]),p.maxDepth+=o[o.length-1].depth)}p.slashes=s,p.parts=a}return p};au.exports=O_});var cu=_((sb,fu)=>{"use strict";var $r=Jt(),ue=Zt(),{MAX_LENGTH:Gr,POSIX_REGEX_SOURCE:P_,REGEX_NON_SPECIAL_CHARS:L_,REGEX_SPECIAL_CHARS_BACKREF:M_,REPLACEMENTS:uu}=$r,D_=(e,t)=>{if(typeof t.expandRange=="function")return t.expandRange(...e,t);e.sort();let r=`[${e.join("-")}]`;try{new RegExp(r)}catch{return e.map(i=>ue.escapeRegex(i)).join("..")}return r},xt=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,wi=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");e=uu[e]||e;let r={...t},n=typeof r.maxLength=="number"?Math.min(Gr,r.maxLength):Gr,i=e.length;if(i>n)throw new SyntaxError(`Input length: ${i}, exceeds maximum allowed length: ${n}`);let s={type:"bos",value:"",output:r.prepend||""},o=[s],a=r.capture?"":"?:",l=ue.isWindows(t),c=$r.globChars(l),u=$r.extglobChars(c),{DOT_LITERAL:d,PLUS_LITERAL:f,SLASH_LITERAL:S,ONE_CHAR:m,DOTS_SLASH:y,NO_DOT:E,NO_DOT_SLASH:x,NO_DOTS_SLASH:B,QMARK:N,QMARK_NO_DOT:z,STAR:A,START_ANCHOR:j}=c,T=v=>`(${a}(?:(?!${j}${v.dot?y:d}).)*?)`,R=r.dot?"":E,I=r.dot?N:z,Z=r.bash===!0?T(r):A;r.capture&&(Z=`(${Z})`),typeof r.noext=="boolean"&&(r.noextglob=r.noext);let g={input:e,index:-1,start:0,dot:r.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:o};e=ue.removePrefix(e,g),i=e.length;let H=[],F=[],Be=[],h=s,p,ne=()=>g.index===i-1,D=g.peek=(v=1)=>e[g.index+v],ve=g.advance=()=>e[++g.index]||"",xe=()=>e.slice(g.index+1),ae=(v="",q=0)=>{g.consumed+=v,g.index+=q},er=v=>{g.output+=v.output!=null?v.output:v.value,ae(v.value)},Xf=()=>{let v=1;for(;D()==="!"&&(D(2)!=="("||D(3)==="?");)ve(),g.start++,v++;return v%2===0?!1:(g.negated=!0,g.start++,!0)},tr=v=>{g[v]++,Be.push(v)},Ve=v=>{g[v]--,Be.pop()},P=v=>{if(h.type==="globstar"){let q=g.braces>0&&(v.type==="comma"||v.type==="brace"),b=v.extglob===!0||H.length&&(v.type==="pipe"||v.type==="paren");v.type!=="slash"&&v.type!=="paren"&&!q&&!b&&(g.output=g.output.slice(0,-h.output.length),h.type="star",h.value="*",h.output=Z,g.output+=h.output)}if(H.length&&v.type!=="paren"&&(H[H.length-1].inner+=v.value),(v.value||v.output)&&er(v),h&&h.type==="text"&&v.type==="text"){h.value+=v.value,h.output=(h.output||"")+v.value;return}v.prev=h,o.push(v),h=v},rr=(v,q)=>{let b={...u[q],conditions:1,inner:""};b.prev=h,b.parens=g.parens,b.output=g.output;let C=(r.capture?"(":"")+b.open;tr("parens"),P({type:v,value:q,output:g.output?"":m}),P({type:"paren",extglob:!0,value:ve(),output:C}),H.push(b)},Jf=v=>{let q=v.close+(r.capture?")":""),b;if(v.type==="negate"){let C=Z;if(v.inner&&v.inner.length>1&&v.inner.includes("/")&&(C=T(r)),(C!==Z||ne()||/^\)+$/.test(xe()))&&(q=v.close=`)$))${C}`),v.inner.includes("*")&&(b=xe())&&/^\.[^\\/.]+$/.test(b)){let W=wi(b,{...t,fastpaths:!1}).output;q=v.close=`)${W})${C})`}v.prev.type==="bos"&&(g.negatedExtglob=!0)}P({type:"paren",extglob:!0,value:p,output:q}),Ve("parens")};if(r.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(e)){let v=!1,q=e.replace(M_,(b,C,W,ie,X,hn)=>ie==="\\"?(v=!0,b):ie==="?"?C?C+ie+(X?N.repeat(X.length):""):hn===0?I+(X?N.repeat(X.length):""):N.repeat(W.length):ie==="."?d.repeat(W.length):ie==="*"?C?C+ie+(X?Z:""):Z:C?b:`\\${b}`);return v===!0&&(r.unescape===!0?q=q.replace(/\\/g,""):q=q.replace(/\\+/g,b=>b.length%2===0?"\\\\":b?"\\":"")),q===e&&r.contains===!0?(g.output=e,g):(g.output=ue.wrapOutput(q,g,t),g)}for(;!ne();){if(p=ve(),p==="\0")continue;if(p==="\\"){let b=D();if(b==="/"&&r.bash!==!0||b==="."||b===";")continue;if(!b){p+="\\",P({type:"text",value:p});continue}let C=/^\\+/.exec(xe()),W=0;if(C&&C[0].length>2&&(W=C[0].length,g.index+=W,W%2!==0&&(p+="\\")),r.unescape===!0?p=ve():p+=ve(),g.brackets===0){P({type:"text",value:p});continue}}if(g.brackets>0&&(p!=="]"||h.value==="["||h.value==="[^")){if(r.posix!==!1&&p===":"){let b=h.value.slice(1);if(b.includes("[")&&(h.posix=!0,b.includes(":"))){let C=h.value.lastIndexOf("["),W=h.value.slice(0,C),ie=h.value.slice(C+2),X=P_[ie];if(X){h.value=W+X,g.backtrack=!0,ve(),!s.output&&o.indexOf(h)===1&&(s.output=m);continue}}}(p==="["&&D()!==":"||p==="-"&&D()==="]")&&(p=`\\${p}`),p==="]"&&(h.value==="["||h.value==="[^")&&(p=`\\${p}`),r.posix===!0&&p==="!"&&h.value==="["&&(p="^"),h.value+=p,er({value:p});continue}if(g.quotes===1&&p!=='"'){p=ue.escapeRegex(p),h.value+=p,er({value:p});continue}if(p==='"'){g.quotes=g.quotes===1?0:1,r.keepQuotes===!0&&P({type:"text",value:p});continue}if(p==="("){tr("parens"),P({type:"paren",value:p});continue}if(p===")"){if(g.parens===0&&r.strictBrackets===!0)throw new SyntaxError(xt("opening","("));let b=H[H.length-1];if(b&&g.parens===b.parens+1){Jf(H.pop());continue}P({type:"paren",value:p,output:g.parens?")":"\\)"}),Ve("parens");continue}if(p==="["){if(r.nobracket===!0||!xe().includes("]")){if(r.nobracket!==!0&&r.strictBrackets===!0)throw new SyntaxError(xt("closing","]"));p=`\\${p}`}else tr("brackets");P({type:"bracket",value:p});continue}if(p==="]"){if(r.nobracket===!0||h&&h.type==="bracket"&&h.value.length===1){P({type:"text",value:p,output:`\\${p}`});continue}if(g.brackets===0){if(r.strictBrackets===!0)throw new SyntaxError(xt("opening","["));P({type:"text",value:p,output:`\\${p}`});continue}Ve("brackets");let b=h.value.slice(1);if(h.posix!==!0&&b[0]==="^"&&!b.includes("/")&&(p=`/${p}`),h.value+=p,er({value:p}),r.literalBrackets===!1||ue.hasRegexChars(b))continue;let C=ue.escapeRegex(h.value);if(g.output=g.output.slice(0,-h.value.length),r.literalBrackets===!0){g.output+=C,h.value=C;continue}h.value=`(${a}${C}|${h.value})`,g.output+=h.value;continue}if(p==="{"&&r.nobrace!==!0){tr("braces");let b={type:"brace",value:p,output:"(",outputIndex:g.output.length,tokensIndex:g.tokens.length};F.push(b),P(b);continue}if(p==="}"){let b=F[F.length-1];if(r.nobrace===!0||!b){P({type:"text",value:p,output:p});continue}let C=")";if(b.dots===!0){let W=o.slice(),ie=[];for(let X=W.length-1;X>=0&&(o.pop(),W[X].type!=="brace");X--)W[X].type!=="dots"&&ie.unshift(W[X].value);C=D_(ie,r),g.backtrack=!0}if(b.comma!==!0&&b.dots!==!0){let W=g.output.slice(0,b.outputIndex),ie=g.tokens.slice(b.tokensIndex);b.value=b.output="\\{",p=C="\\}",g.output=W;for(let X of ie)g.output+=X.output||X.value}P({type:"brace",value:p,output:C}),Ve("braces"),F.pop();continue}if(p==="|"){H.length>0&&H[H.length-1].conditions++,P({type:"text",value:p});continue}if(p===","){let b=p,C=F[F.length-1];C&&Be[Be.length-1]==="braces"&&(C.comma=!0,b="|"),P({type:"comma",value:p,output:b});continue}if(p==="/"){if(h.type==="dot"&&g.index===g.start+1){g.start=g.index+1,g.consumed="",g.output="",o.pop(),h=s;continue}P({type:"slash",value:p,output:S});continue}if(p==="."){if(g.braces>0&&h.type==="dot"){h.value==="."&&(h.output=d);let b=F[F.length-1];h.type="dots",h.output+=p,h.value+=p,b.dots=!0;continue}if(g.braces+g.parens===0&&h.type!=="bos"&&h.type!=="slash"){P({type:"text",value:p,output:d});continue}P({type:"dot",value:p,output:d});continue}if(p==="?"){if(!(h&&h.value==="(")&&r.noextglob!==!0&&D()==="("&&D(2)!=="?"){rr("qmark",p);continue}if(h&&h.type==="paren"){let C=D(),W=p;if(C==="<"&&!ue.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(h.value==="("&&!/[!=<:]/.test(C)||C==="<"&&!/<([!=]|\w+>)/.test(xe()))&&(W=`\\${p}`),P({type:"text",value:p,output:W});continue}if(r.dot!==!0&&(h.type==="slash"||h.type==="bos")){P({type:"qmark",value:p,output:z});continue}P({type:"qmark",value:p,output:N});continue}if(p==="!"){if(r.noextglob!==!0&&D()==="("&&(D(2)!=="?"||!/[!=<:]/.test(D(3)))){rr("negate",p);continue}if(r.nonegate!==!0&&g.index===0){Xf();continue}}if(p==="+"){if(r.noextglob!==!0&&D()==="("&&D(2)!=="?"){rr("plus",p);continue}if(h&&h.value==="("||r.regex===!1){P({type:"plus",value:p,output:f});continue}if(h&&(h.type==="bracket"||h.type==="paren"||h.type==="brace")||g.parens>0){P({type:"plus",value:p});continue}P({type:"plus",value:f});continue}if(p==="@"){if(r.noextglob!==!0&&D()==="("&&D(2)!=="?"){P({type:"at",extglob:!0,value:p,output:""});continue}P({type:"text",value:p});continue}if(p!=="*"){(p==="$"||p==="^")&&(p=`\\${p}`);let b=L_.exec(xe());b&&(p+=b[0],g.index+=b[0].length),P({type:"text",value:p});continue}if(h&&(h.type==="globstar"||h.star===!0)){h.type="star",h.star=!0,h.value+=p,h.output=Z,g.backtrack=!0,g.globstar=!0,ae(p);continue}let v=xe();if(r.noextglob!==!0&&/^\([^?]/.test(v)){rr("star",p);continue}if(h.type==="star"){if(r.noglobstar===!0){ae(p);continue}let b=h.prev,C=b.prev,W=b.type==="slash"||b.type==="bos",ie=C&&(C.type==="star"||C.type==="globstar");if(r.bash===!0&&(!W||v[0]&&v[0]!=="/")){P({type:"star",value:p,output:""});continue}let X=g.braces>0&&(b.type==="comma"||b.type==="brace"),hn=H.length&&(b.type==="pipe"||b.type==="paren");if(!W&&b.type!=="paren"&&!X&&!hn){P({type:"star",value:p,output:""});continue}for(;v.slice(0,3)==="/**";){let nr=e[g.index+4];if(nr&&nr!=="/")break;v=v.slice(3),ae("/**",3)}if(b.type==="bos"&&ne()){h.type="globstar",h.value+=p,h.output=T(r),g.output=h.output,g.globstar=!0,ae(p);continue}if(b.type==="slash"&&b.prev.type!=="bos"&&!ie&&ne()){g.output=g.output.slice(0,-(b.output+h.output).length),b.output=`(?:${b.output}`,h.type="globstar",h.output=T(r)+(r.strictSlashes?")":"|$)"),h.value+=p,g.globstar=!0,g.output+=b.output+h.output,ae(p);continue}if(b.type==="slash"&&b.prev.type!=="bos"&&v[0]==="/"){let nr=v[1]!==void 0?"|$":"";g.output=g.output.slice(0,-(b.output+h.output).length),b.output=`(?:${b.output}`,h.type="globstar",h.output=`${T(r)}${S}|${S}${nr})`,h.value+=p,g.output+=b.output+h.output,g.globstar=!0,ae(p+ve()),P({type:"slash",value:"/",output:""});continue}if(b.type==="bos"&&v[0]==="/"){h.type="globstar",h.value+=p,h.output=`(?:^|${S}|${T(r)}${S})`,g.output=h.output,g.globstar=!0,ae(p+ve()),P({type:"slash",value:"/",output:""});continue}g.output=g.output.slice(0,-h.output.length),h.type="globstar",h.output=T(r),h.value+=p,g.output+=h.output,g.globstar=!0,ae(p);continue}let q={type:"star",value:p,output:Z};if(r.bash===!0){q.output=".*?",(h.type==="bos"||h.type==="slash")&&(q.output=R+q.output),P(q);continue}if(h&&(h.type==="bracket"||h.type==="paren")&&r.regex===!0){q.output=p,P(q);continue}(g.index===g.start||h.type==="slash"||h.type==="dot")&&(h.type==="dot"?(g.output+=x,h.output+=x):r.dot===!0?(g.output+=B,h.output+=B):(g.output+=R,h.output+=R),D()!=="*"&&(g.output+=m,h.output+=m)),P(q)}for(;g.brackets>0;){if(r.strictBrackets===!0)throw new SyntaxError(xt("closing","]"));g.output=ue.escapeLast(g.output,"["),Ve("brackets")}for(;g.parens>0;){if(r.strictBrackets===!0)throw new SyntaxError(xt("closing",")"));g.output=ue.escapeLast(g.output,"("),Ve("parens")}for(;g.braces>0;){if(r.strictBrackets===!0)throw new SyntaxError(xt("closing","}"));g.output=ue.escapeLast(g.output,"{"),Ve("braces")}if(r.strictSlashes!==!0&&(h.type==="star"||h.type==="bracket")&&P({type:"maybe_slash",value:"",output:`${S}?`}),g.backtrack===!0){g.output="";for(let v of g.tokens)g.output+=v.output!=null?v.output:v.value,v.suffix&&(g.output+=v.suffix)}return g};wi.fastpaths=(e,t)=>{let r={...t},n=typeof r.maxLength=="number"?Math.min(Gr,r.maxLength):Gr,i=e.length;if(i>n)throw new SyntaxError(`Input length: ${i}, exceeds maximum allowed length: ${n}`);e=uu[e]||e;let s=ue.isWindows(t),{DOT_LITERAL:o,SLASH_LITERAL:a,ONE_CHAR:l,DOTS_SLASH:c,NO_DOT:u,NO_DOTS:d,NO_DOTS_SLASH:f,STAR:S,START_ANCHOR:m}=$r.globChars(s),y=r.dot?d:u,E=r.dot?f:u,x=r.capture?"":"?:",B={negated:!1,prefix:""},N=r.bash===!0?".*?":S;r.capture&&(N=`(${N})`);let z=R=>R.noglobstar===!0?N:`(${x}(?:(?!${m}${R.dot?c:o}).)*?)`,A=R=>{switch(R){case"*":return`${y}${l}${N}`;case".*":return`${o}${l}${N}`;case"*.*":return`${y}${N}${o}${l}${N}`;case"*/*":return`${y}${N}${a}${l}${E}${N}`;case"**":return y+z(r);case"**/*":return`(?:${y}${z(r)}${a})?${E}${l}${N}`;case"**/*.*":return`(?:${y}${z(r)}${a})?${E}${N}${o}${l}${N}`;case"**/.*":return`(?:${y}${z(r)}${a})?${o}${l}${N}`;default:{let I=/^(.*?)\.(\w+)$/.exec(R);if(!I)return;let Z=A(I[1]);return Z?Z+o+I[2]:void 0}}},j=ue.removePrefix(e,B),T=A(j);return T&&r.strictSlashes!==!0&&(T+=`${a}?`),T};fu.exports=wi});var pu=_((ob,hu)=>{"use strict";var B_=L("path"),I_=lu(),Ai=cu(),Ti=Zt(),N_=Jt(),k_=e=>e&&typeof e=="object"&&!Array.isArray(e),Y=(e,t,r=!1)=>{if(Array.isArray(e)){let u=e.map(f=>Y(f,t,r));return f=>{for(let S of u){let m=S(f);if(m)return m}return!1}}let n=k_(e)&&e.tokens&&e.input;if(e===""||typeof e!="string"&&!n)throw new TypeError("Expected pattern to be a non-empty string");let i=t||{},s=Ti.isWindows(t),o=n?Y.compileRe(e,t):Y.makeRe(e,t,!1,!0),a=o.state;delete o.state;let l=()=>!1;if(i.ignore){let u={...t,ignore:null,onMatch:null,onResult:null};l=Y(i.ignore,u,r)}let c=(u,d=!1)=>{let{isMatch:f,match:S,output:m}=Y.test(u,o,t,{glob:e,posix:s}),y={glob:e,state:a,regex:o,posix:s,input:u,output:m,match:S,isMatch:f};return typeof i.onResult=="function"&&i.onResult(y),f===!1?(y.isMatch=!1,d?y:!1):l(u)?(typeof i.onIgnore=="function"&&i.onIgnore(y),y.isMatch=!1,d?y:!1):(typeof i.onMatch=="function"&&i.onMatch(y),d?y:!0)};return r&&(c.state=a),c};Y.test=(e,t,r,{glob:n,posix:i}={})=>{if(typeof e!="string")throw new TypeError("Expected input to be a string");if(e==="")return{isMatch:!1,output:""};let s=r||{},o=s.format||(i?Ti.toPosixSlashes:null),a=e===n,l=a&&o?o(e):e;return a===!1&&(l=o?o(e):e,a=l===n),(a===!1||s.capture===!0)&&(s.matchBase===!0||s.basename===!0?a=Y.matchBase(e,t,r,i):a=t.exec(l)),{isMatch:Boolean(a),match:a,output:l}};Y.matchBase=(e,t,r,n=Ti.isWindows(r))=>(t instanceof RegExp?t:Y.makeRe(t,r)).test(B_.basename(e));Y.isMatch=(e,t,r)=>Y(t,r)(e);Y.parse=(e,t)=>Array.isArray(e)?e.map(r=>Y.parse(r,t)):Ai(e,{...t,fastpaths:!1});Y.scan=(e,t)=>I_(e,t);Y.compileRe=(e,t,r=!1,n=!1)=>{if(r===!0)return e.output;let i=t||{},s=i.contains?"":"^",o=i.contains?"":"$",a=`${s}(?:${e.output})${o}`;e&&e.negated===!0&&(a=`^(?!${a}).*$`);let l=Y.toRegex(a,t);return n===!0&&(l.state=e),l};Y.makeRe=(e,t={},r=!1,n=!1)=>{if(!e||typeof e!="string")throw new TypeError("Expected a non-empty string");let i={negated:!1,fastpaths:!0};return t.fastpaths!==!1&&(e[0]==="."||e[0]==="*")&&(i.output=Ai.fastpaths(e,t)),i.output||(i=Ai(e,t)),Y.compileRe(i,t,r,n)};Y.toRegex=(e,t)=>{try{let r=t||{};return new RegExp(e,r.flags||(r.nocase?"i":""))}catch(r){if(t&&t.debug===!0)throw r;return/$^/}};Y.constants=N_;hu.exports=Y});var _u=_((ab,du)=>{"use strict";du.exports=pu()});var vu=_((lb,bu)=>{"use strict";var yu=L("util"),mu=Ql(),Te=_u(),Ci=Zt(),gu=e=>e===""||e==="./",U=(e,t,r)=>{t=[].concat(t),e=[].concat(e);let n=new Set,i=new Set,s=new Set,o=0,a=u=>{s.add(u.output),r&&r.onResult&&r.onResult(u)};for(let u=0;u<t.length;u++){let d=Te(String(t[u]),{...r,onResult:a},!0),f=d.state.negated||d.state.negatedExtglob;f&&o++;for(let S of e){let m=d(S,!0);!(f?!m.isMatch:m.isMatch)||(f?n.add(m.output):(n.delete(m.output),i.add(m.output)))}}let c=(o===t.length?[...s]:[...i]).filter(u=>!n.has(u));if(r&&c.length===0){if(r.failglob===!0)throw new Error(`No matches found for "${t.join(", ")}"`);if(r.nonull===!0||r.nullglob===!0)return r.unescape?t.map(u=>u.replace(/\\/g,"")):t}return c};U.match=U;U.matcher=(e,t)=>Te(e,t);U.isMatch=(e,t,r)=>Te(t,r)(e);U.any=U.isMatch;U.not=(e,t,r={})=>{t=[].concat(t).map(String);let n=new Set,i=[],s=a=>{r.onResult&&r.onResult(a),i.push(a.output)},o=new Set(U(e,t,{...r,onResult:s}));for(let a of i)o.has(a)||n.add(a);return[...n]};U.contains=(e,t,r)=>{if(typeof e!="string")throw new TypeError(`Expected a string: "${yu.inspect(e)}"`);if(Array.isArray(t))return t.some(n=>U.contains(e,n,r));if(typeof t=="string"){if(gu(e)||gu(t))return!1;if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t))return!0}return U.isMatch(e,t,{...r,contains:!0})};U.matchKeys=(e,t,r)=>{if(!Ci.isObject(e))throw new TypeError("Expected the first argument to be an object");let n=U(Object.keys(e),t,r),i={};for(let s of n)i[s]=e[s];return i};U.some=(e,t,r)=>{let n=[].concat(e);for(let i of[].concat(t)){let s=Te(String(i),r);if(n.some(o=>s(o)))return!0}return!1};U.every=(e,t,r)=>{let n=[].concat(e);for(let i of[].concat(t)){let s=Te(String(i),r);if(!n.every(o=>s(o)))return!1}return!0};U.all=(e,t,r)=>{if(typeof e!="string")throw new TypeError(`Expected a string: "${yu.inspect(e)}"`);return[].concat(t).every(n=>Te(n,r)(e))};U.capture=(e,t,r)=>{let n=Ci.isWindows(r),s=Te.makeRe(String(e),{...r,capture:!0}).exec(n?Ci.toPosixSlashes(t):t);if(s)return s.slice(1).map(o=>o===void 0?"":o)};U.makeRe=(...e)=>Te.makeRe(...e);U.scan=(...e)=>Te.scan(...e);U.parse=(e,t)=>{let r=[];for(let n of[].concat(e||[]))for(let i of mu(String(n),t))r.push(Te.parse(i,t));return r};U.braces=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");return t&&t.nobrace===!0||!/\{.*\}/.test(e)?[e]:mu(e,t)};U.braceExpand=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");return U.braces(e,{...t,expand:!0})};bu.exports=U});var Cu=_(w=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0});w.matchAny=w.convertPatternsToRe=w.makeRe=w.getPatternParts=w.expandBraceExpansion=w.expandPatternsWithBraceExpansion=w.isAffectDepthOfReadingPattern=w.endsWithSlashGlobStar=w.hasGlobStar=w.getBaseDirectory=w.isPatternRelatedToParentDirectory=w.getPatternsOutsideCurrentDirectory=w.getPatternsInsideCurrentDirectory=w.getPositivePatterns=w.getNegativePatterns=w.isPositivePattern=w.isNegativePattern=w.convertToNegativePattern=w.convertToPositivePattern=w.isDynamicPattern=w.isStaticPattern=void 0;var F_=L("path"),q_=hl(),Oi=vu(),xu="**",j_="\\",H_=/[*?]|^!/,$_=/\[[^[]*]/,G_=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,U_=/[!*+?@]\([^(]*\)/,W_=/,|\.\./;function Su(e,t={}){return!Eu(e,t)}w.isStaticPattern=Su;function Eu(e,t={}){return e===""?!1:!!(t.caseSensitiveMatch===!1||e.includes(j_)||H_.test(e)||$_.test(e)||G_.test(e)||t.extglob!==!1&&U_.test(e)||t.braceExpansion!==!1&&V_(e))}w.isDynamicPattern=Eu;function V_(e){let t=e.indexOf("{");if(t===-1)return!1;let r=e.indexOf("}",t+1);if(r===-1)return!1;let n=e.slice(t,r);return W_.test(n)}function Y_(e){return Ur(e)?e.slice(1):e}w.convertToPositivePattern=Y_;function K_(e){return"!"+e}w.convertToNegativePattern=K_;function Ur(e){return e.startsWith("!")&&e[1]!=="("}w.isNegativePattern=Ur;function Ru(e){return!Ur(e)}w.isPositivePattern=Ru;function Q_(e){return e.filter(Ur)}w.getNegativePatterns=Q_;function X_(e){return e.filter(Ru)}w.getPositivePatterns=X_;function J_(e){return e.filter(t=>!Pi(t))}w.getPatternsInsideCurrentDirectory=J_;function Z_(e){return e.filter(Pi)}w.getPatternsOutsideCurrentDirectory=Z_;function Pi(e){return e.startsWith("..")||e.startsWith("./..")}w.isPatternRelatedToParentDirectory=Pi;function z_(e){return q_(e,{flipBackslashes:!1})}w.getBaseDirectory=z_;function eg(e){return e.includes(xu)}w.hasGlobStar=eg;function wu(e){return e.endsWith("/"+xu)}w.endsWithSlashGlobStar=wu;function tg(e){let t=F_.basename(e);return wu(e)||Su(t)}w.isAffectDepthOfReadingPattern=tg;function rg(e){return e.reduce((t,r)=>t.concat(Au(r)),[])}w.expandPatternsWithBraceExpansion=rg;function Au(e){return Oi.braces(e,{expand:!0,nodupes:!0})}w.expandBraceExpansion=Au;function ng(e,t){let{parts:r}=Oi.scan(e,Object.assign(Object.assign({},t),{parts:!0}));return r.length===0&&(r=[e]),r[0].startsWith("/")&&(r[0]=r[0].slice(1),r.unshift("")),r}w.getPatternParts=ng;function Tu(e,t){return Oi.makeRe(e,t)}w.makeRe=Tu;function ig(e,t){return e.map(r=>Tu(r,t))}w.convertPatternsToRe=ig;function sg(e,t){return t.some(r=>r.test(e))}w.matchAny=sg});var Mu=_((fb,Lu)=>{"use strict";var og=L("stream"),Ou=og.PassThrough,ag=Array.prototype.slice;Lu.exports=lg;function lg(){let e=[],t=ag.call(arguments),r=!1,n=t[t.length-1];n&&!Array.isArray(n)&&n.pipe==null?t.pop():n={};let i=n.end!==!1,s=n.pipeError===!0;n.objectMode==null&&(n.objectMode=!0),n.highWaterMark==null&&(n.highWaterMark=64*1024);let o=Ou(n);function a(){for(let u=0,d=arguments.length;u<d;u++)e.push(Pu(arguments[u],n));return l(),this}function l(){if(r)return;r=!0;let u=e.shift();if(!u){process.nextTick(c);return}Array.isArray(u)||(u=[u]);let d=u.length+1;function f(){--d>0||(r=!1,l())}function S(m){function y(){m.removeListener("merge2UnpipeEnd",y),m.removeListener("end",y),s&&m.removeListener("error",E),f()}function E(x){o.emit("error",x)}if(m._readableState.endEmitted)return f();m.on("merge2UnpipeEnd",y),m.on("end",y),s&&m.on("error",E),m.pipe(o,{end:!1}),m.resume()}for(let m=0;m<u.length;m++)S(u[m]);f()}function c(){r=!1,o.emit("queueDrain"),i&&o.end()}return o.setMaxListeners(0),o.add=a,o.on("unpipe",function(u){u.emit("merge2UnpipeEnd")}),t.length&&a.apply(null,t),o}function Pu(e,t){if(Array.isArray(e))for(let r=0,n=e.length;r<n;r++)e[r]=Pu(e[r],t);else{if(!e._readableState&&e.pipe&&(e=e.pipe(Ou(t))),!e._readableState||!e.pause||!e.pipe)throw new Error("Only readable stream can be merged.");e.pause()}return e}});var Bu=_(Wr=>{"use strict";Object.defineProperty(Wr,"__esModule",{value:!0});Wr.merge=void 0;var ug=Mu();function fg(e){let t=ug(e);return e.forEach(r=>{r.once("error",n=>t.emit("error",n))}),t.once("close",()=>Du(e)),t.once("end",()=>Du(e)),t}Wr.merge=fg;function Du(e){e.forEach(t=>t.emit("close"))}});var Iu=_(St=>{"use strict";Object.defineProperty(St,"__esModule",{value:!0});St.isEmpty=St.isString=void 0;function cg(e){return typeof e=="string"}St.isString=cg;function hg(e){return e===""}St.isEmpty=hg});var Me=_(te=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0});te.string=te.stream=te.pattern=te.path=te.fs=te.errno=te.array=void 0;var pg=rl();te.array=pg;var dg=nl();te.errno=dg;var _g=il();te.fs=_g;var gg=sl();te.path=gg;var yg=Cu();te.pattern=yg;var mg=Bu();te.stream=mg;var bg=Iu();te.string=bg});var Fu=_(re=>{"use strict";Object.defineProperty(re,"__esModule",{value:!0});re.convertPatternGroupToTask=re.convertPatternGroupsToTasks=re.groupPatternsByBaseDirectory=re.getNegativePatternsAsPositive=re.getPositivePatterns=re.convertPatternsToTasks=re.generate=void 0;var De=Me();function vg(e,t){let r=Nu(e),n=ku(e,t.ignore),i=r.filter(l=>De.pattern.isStaticPattern(l,t)),s=r.filter(l=>De.pattern.isDynamicPattern(l,t)),o=Li(i,n,!1),a=Li(s,n,!0);return o.concat(a)}re.generate=vg;function Li(e,t,r){let n=[],i=De.pattern.getPatternsOutsideCurrentDirectory(e),s=De.pattern.getPatternsInsideCurrentDirectory(e),o=Mi(i),a=Mi(s);return n.push(...Di(o,t,r)),"."in a?n.push(Bi(".",s,t,r)):n.push(...Di(a,t,r)),n}re.convertPatternsToTasks=Li;function Nu(e){return De.pattern.getPositivePatterns(e)}re.getPositivePatterns=Nu;function ku(e,t){return De.pattern.getNegativePatterns(e).concat(t).map(De.pattern.convertToPositivePattern)}re.getNegativePatternsAsPositive=ku;function Mi(e){let t={};return e.reduce((r,n)=>{let i=De.pattern.getBaseDirectory(n);return i in r?r[i].push(n):r[i]=[n],r},t)}re.groupPatternsByBaseDirectory=Mi;function Di(e,t,r){return Object.keys(e).map(n=>Bi(n,e[n],t,r))}re.convertPatternGroupsToTasks=Di;function Bi(e,t,r,n){return{dynamic:n,positive:t,negative:r,base:e,patterns:[].concat(t,r.map(De.pattern.convertToNegativePattern))}}re.convertPatternGroupToTask=Bi});var ju=_(Et=>{"use strict";Object.defineProperty(Et,"__esModule",{value:!0});Et.removeDuplicateSlashes=Et.transform=void 0;var xg=/(?!^)\/{2,}/g;function Sg(e){return e.map(t=>qu(t))}Et.transform=Sg;function qu(e){return e.replace(xg,"/")}Et.removeDuplicateSlashes=qu});var $u=_(Vr=>{"use strict";Object.defineProperty(Vr,"__esModule",{value:!0});Vr.read=void 0;function Eg(e,t,r){t.fs.lstat(e,(n,i)=>{if(n!==null){Hu(r,n);return}if(!i.isSymbolicLink()||!t.followSymbolicLink){Ii(r,i);return}t.fs.stat(e,(s,o)=>{if(s!==null){if(t.throwErrorOnBrokenSymbolicLink){Hu(r,s);return}Ii(r,i);return}t.markSymbolicLink&&(o.isSymbolicLink=()=>!0),Ii(r,o)})})}Vr.read=Eg;function Hu(e,t){e(t)}function Ii(e,t){e(null,t)}});var Gu=_(Yr=>{"use strict";Object.defineProperty(Yr,"__esModule",{value:!0});Yr.read=void 0;function Rg(e,t){let r=t.fs.lstatSync(e);if(!r.isSymbolicLink()||!t.followSymbolicLink)return r;try{let n=t.fs.statSync(e);return t.markSymbolicLink&&(n.isSymbolicLink=()=>!0),n}catch(n){if(!t.throwErrorOnBrokenSymbolicLink)return r;throw n}}Yr.read=Rg});var Uu=_(je=>{"use strict";Object.defineProperty(je,"__esModule",{value:!0});je.createFileSystemAdapter=je.FILE_SYSTEM_ADAPTER=void 0;var Kr=L("fs");je.FILE_SYSTEM_ADAPTER={lstat:Kr.lstat,stat:Kr.stat,lstatSync:Kr.lstatSync,statSync:Kr.statSync};function wg(e){return e===void 0?je.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},je.FILE_SYSTEM_ADAPTER),e)}je.createFileSystemAdapter=wg});var Wu=_(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});var Ag=Uu(),Ni=class{constructor(t={}){this._options=t,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=Ag.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(t,r){return t??r}};ki.default=Ni});var nt=_(He=>{"use strict";Object.defineProperty(He,"__esModule",{value:!0});He.statSync=He.stat=He.Settings=void 0;var Vu=$u(),Tg=Gu(),Fi=Wu();He.Settings=Fi.default;function Cg(e,t,r){if(typeof t=="function"){Vu.read(e,qi(),t);return}Vu.read(e,qi(t),r)}He.stat=Cg;function Og(e,t){let r=qi(t);return Tg.read(e,r)}He.statSync=Og;function qi(e={}){return e instanceof Fi.default?e:new Fi.default(e)}});var Qu=_((xb,Ku)=>{var Yu;Ku.exports=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:global):e=>(Yu||(Yu=Promise.resolve())).then(e).catch(t=>setTimeout(()=>{throw t},0))});var Ju=_((Sb,Xu)=>{Xu.exports=Lg;var Pg=Qu();function Lg(e,t){let r,n,i,s=!0;Array.isArray(e)?(r=[],n=e.length):(i=Object.keys(e),r={},n=i.length);function o(l){function c(){t&&t(l,r),t=null}s?Pg(c):c()}function a(l,c,u){r[l]=u,(--n===0||c)&&o(c)}n?i?i.forEach(function(l){e[l](function(c,u){a(l,c,u)})}):e.forEach(function(l,c){l(function(u,d){a(c,u,d)})}):o(null),s=!1}});var ji=_(Xr=>{"use strict";Object.defineProperty(Xr,"__esModule",{value:!0});Xr.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;var Qr=process.versions.node.split(".");if(Qr[0]===void 0||Qr[1]===void 0)throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);var Zu=Number.parseInt(Qr[0],10),Mg=Number.parseInt(Qr[1],10),zu=10,Dg=10,Bg=Zu>zu,Ig=Zu===zu&&Mg>=Dg;Xr.IS_SUPPORT_READDIR_WITH_FILE_TYPES=Bg||Ig});var ef=_(Jr=>{"use strict";Object.defineProperty(Jr,"__esModule",{value:!0});Jr.createDirentFromStats=void 0;var Hi=class{constructor(t,r){this.name=t,this.isBlockDevice=r.isBlockDevice.bind(r),this.isCharacterDevice=r.isCharacterDevice.bind(r),this.isDirectory=r.isDirectory.bind(r),this.isFIFO=r.isFIFO.bind(r),this.isFile=r.isFile.bind(r),this.isSocket=r.isSocket.bind(r),this.isSymbolicLink=r.isSymbolicLink.bind(r)}};function Ng(e,t){return new Hi(e,t)}Jr.createDirentFromStats=Ng});var $i=_(Zr=>{"use strict";Object.defineProperty(Zr,"__esModule",{value:!0});Zr.fs=void 0;var kg=ef();Zr.fs=kg});var Gi=_(zr=>{"use strict";Object.defineProperty(zr,"__esModule",{value:!0});zr.joinPathSegments=void 0;function Fg(e,t,r){return e.endsWith(r)?e+t:e+r+t}zr.joinPathSegments=Fg});var af=_($e=>{"use strict";Object.defineProperty($e,"__esModule",{value:!0});$e.readdir=$e.readdirWithFileTypes=$e.read=void 0;var qg=nt(),tf=Ju(),jg=ji(),rf=$i(),nf=Gi();function Hg(e,t,r){if(!t.stats&&jg.IS_SUPPORT_READDIR_WITH_FILE_TYPES){sf(e,t,r);return}of(e,t,r)}$e.read=Hg;function sf(e,t,r){t.fs.readdir(e,{withFileTypes:!0},(n,i)=>{if(n!==null){en(r,n);return}let s=i.map(a=>({dirent:a,name:a.name,path:nf.joinPathSegments(e,a.name,t.pathSegmentSeparator)}));if(!t.followSymbolicLinks){Ui(r,s);return}let o=s.map(a=>$g(a,t));tf(o,(a,l)=>{if(a!==null){en(r,a);return}Ui(r,l)})})}$e.readdirWithFileTypes=sf;function $g(e,t){return r=>{if(!e.dirent.isSymbolicLink()){r(null,e);return}t.fs.stat(e.path,(n,i)=>{if(n!==null){if(t.throwErrorOnBrokenSymbolicLink){r(n);return}r(null,e);return}e.dirent=rf.fs.createDirentFromStats(e.name,i),r(null,e)})}}function of(e,t,r){t.fs.readdir(e,(n,i)=>{if(n!==null){en(r,n);return}let s=i.map(o=>{let a=nf.joinPathSegments(e,o,t.pathSegmentSeparator);return l=>{qg.stat(a,t.fsStatSettings,(c,u)=>{if(c!==null){l(c);return}let d={name:o,path:a,dirent:rf.fs.createDirentFromStats(o,u)};t.stats&&(d.stats=u),l(null,d)})}});tf(s,(o,a)=>{if(o!==null){en(r,o);return}Ui(r,a)})})}$e.readdir=of;function en(e,t){e(t)}function Ui(e,t){e(null,t)}});var hf=_(Ge=>{"use strict";Object.defineProperty(Ge,"__esModule",{value:!0});Ge.readdir=Ge.readdirWithFileTypes=Ge.read=void 0;var Gg=nt(),Ug=ji(),lf=$i(),uf=Gi();function Wg(e,t){return!t.stats&&Ug.IS_SUPPORT_READDIR_WITH_FILE_TYPES?ff(e,t):cf(e,t)}Ge.read=Wg;function ff(e,t){return t.fs.readdirSync(e,{withFileTypes:!0}).map(n=>{let i={dirent:n,name:n.name,path:uf.joinPathSegments(e,n.name,t.pathSegmentSeparator)};if(i.dirent.isSymbolicLink()&&t.followSymbolicLinks)try{let s=t.fs.statSync(i.path);i.dirent=lf.fs.createDirentFromStats(i.name,s)}catch(s){if(t.throwErrorOnBrokenSymbolicLink)throw s}return i})}Ge.readdirWithFileTypes=ff;function cf(e,t){return t.fs.readdirSync(e).map(n=>{let i=uf.joinPathSegments(e,n,t.pathSegmentSeparator),s=Gg.statSync(i,t.fsStatSettings),o={name:n,path:i,dirent:lf.fs.createDirentFromStats(n,s)};return t.stats&&(o.stats=s),o})}Ge.readdir=cf});var pf=_(Ue=>{"use strict";Object.defineProperty(Ue,"__esModule",{value:!0});Ue.createFileSystemAdapter=Ue.FILE_SYSTEM_ADAPTER=void 0;var Rt=L("fs");Ue.FILE_SYSTEM_ADAPTER={lstat:Rt.lstat,stat:Rt.stat,lstatSync:Rt.lstatSync,statSync:Rt.statSync,readdir:Rt.readdir,readdirSync:Rt.readdirSync};function Vg(e){return e===void 0?Ue.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},Ue.FILE_SYSTEM_ADAPTER),e)}Ue.createFileSystemAdapter=Vg});var df=_(Vi=>{"use strict";Object.defineProperty(Vi,"__esModule",{value:!0});var Yg=L("path"),Kg=nt(),Qg=pf(),Wi=class{constructor(t={}){this._options=t,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=Qg.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,Yg.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new Kg.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(t,r){return t??r}};Vi.default=Wi});var tn=_(We=>{"use strict";Object.defineProperty(We,"__esModule",{value:!0});We.Settings=We.scandirSync=We.scandir=void 0;var _f=af(),Xg=hf(),Yi=df();We.Settings=Yi.default;function Jg(e,t,r){if(typeof t=="function"){_f.read(e,Ki(),t);return}_f.read(e,Ki(t),r)}We.scandir=Jg;function Zg(e,t){let r=Ki(t);return Xg.read(e,r)}We.scandirSync=Zg;function Ki(e={}){return e instanceof Yi.default?e:new Yi.default(e)}});var yf=_((Mb,gf)=>{"use strict";function zg(e){var t=new e,r=t;function n(){var s=t;return s.next?t=s.next:(t=new e,r=t),s.next=null,s}function i(s){r.next=s,r=s}return{get:n,release:i}}gf.exports=zg});var bf=_((Db,Qi)=>{"use strict";var e0=yf();function mf(e,t,r){if(typeof e=="function"&&(r=t,t=e,e=null),r<1)throw new Error("fastqueue concurrency must be greater than 1");var n=e0(t0),i=null,s=null,o=0,a=null,l={push:y,drain:_e,saturated:_e,pause:u,paused:!1,concurrency:r,running:c,resume:S,idle:m,length:d,getQueue:f,unshift:E,empty:_e,kill:B,killAndDrain:N,error:z};return l;function c(){return o}function u(){l.paused=!0}function d(){for(var A=i,j=0;A;)A=A.next,j++;return j}function f(){for(var A=i,j=[];A;)j.push(A.value),A=A.next;return j}function S(){if(!!l.paused){l.paused=!1;for(var A=0;A<l.concurrency;A++)o++,x()}}function m(){return o===0&&l.length()===0}function y(A,j){var T=n.get();T.context=e,T.release=x,T.value=A,T.callback=j||_e,T.errorHandler=a,o===l.concurrency||l.paused?s?(s.next=T,s=T):(i=T,s=T,l.saturated()):(o++,t.call(e,T.value,T.worked))}function E(A,j){var T=n.get();T.context=e,T.release=x,T.value=A,T.callback=j||_e,o===l.concurrency||l.paused?i?(T.next=i,i=T):(i=T,s=T,l.saturated()):(o++,t.call(e,T.value,T.worked))}function x(A){A&&n.release(A);var j=i;j?l.paused?o--:(s===i&&(s=null),i=j.next,j.next=null,t.call(e,j.value,j.worked),s===null&&l.empty()):--o===0&&l.drain()}function B(){i=null,s=null,l.drain=_e}function N(){i=null,s=null,l.drain(),l.drain=_e}function z(A){a=A}}function _e(){}function t0(){this.value=null,this.callback=_e,this.next=null,this.release=_e,this.context=null,this.errorHandler=null;var e=this;this.worked=function(r,n){var i=e.callback,s=e.errorHandler,o=e.value;e.value=null,e.callback=_e,e.errorHandler&&s(r,o),i.call(e.context,r,n),e.release(e)}}function r0(e,t,r){typeof e=="function"&&(r=t,t=e,e=null);function n(u,d){t.call(this,u).then(function(f){d(null,f)},d)}var i=mf(e,n,r),s=i.push,o=i.unshift;return i.push=a,i.unshift=l,i.drained=c,i;function a(u){var d=new Promise(function(f,S){s(u,function(m,y){if(m){S(m);return}f(y)})});return d.catch(_e),d}function l(u){var d=new Promise(function(f,S){o(u,function(m,y){if(m){S(m);return}f(y)})});return d.catch(_e),d}function c(){var u=i.drain,d=new Promise(function(f){i.drain=function(){u(),f()}});return d}}Qi.exports=mf;Qi.exports.promise=r0});var rn=_(Ce=>{"use strict";Object.defineProperty(Ce,"__esModule",{value:!0});Ce.joinPathSegments=Ce.replacePathSegmentSeparator=Ce.isAppliedFilter=Ce.isFatalError=void 0;function n0(e,t){return e.errorFilter===null?!0:!e.errorFilter(t)}Ce.isFatalError=n0;function i0(e,t){return e===null||e(t)}Ce.isAppliedFilter=i0;function s0(e,t){return e.split(/[/\\]/).join(t)}Ce.replacePathSegmentSeparator=s0;function o0(e,t,r){return e===""?t:e.endsWith(r)?e+t:e+r+t}Ce.joinPathSegments=o0});var Zi=_(Ji=>{"use strict";Object.defineProperty(Ji,"__esModule",{value:!0});var a0=rn(),Xi=class{constructor(t,r){this._root=t,this._settings=r,this._root=a0.replacePathSegmentSeparator(t,r.pathSegmentSeparator)}};Ji.default=Xi});var ts=_(es=>{"use strict";Object.defineProperty(es,"__esModule",{value:!0});var l0=L("events"),u0=tn(),f0=bf(),nn=rn(),c0=Zi(),zi=class extends c0.default{constructor(t,r){super(t,r),this._settings=r,this._scandir=u0.scandir,this._emitter=new l0.EventEmitter,this._queue=f0(this._worker.bind(this),this._settings.concurrency),this._isFatalError=!1,this._isDestroyed=!1,this._queue.drain=()=>{this._isFatalError||this._emitter.emit("end")}}read(){return this._isFatalError=!1,this._isDestroyed=!1,setImmediate(()=>{this._pushToQueue(this._root,this._settings.basePath)}),this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed)throw new Error("The reader is already destroyed");this._isDestroyed=!0,this._queue.killAndDrain()}onEntry(t){this._emitter.on("entry",t)}onError(t){this._emitter.once("error",t)}onEnd(t){this._emitter.once("end",t)}_pushToQueue(t,r){let n={directory:t,base:r};this._queue.push(n,i=>{i!==null&&this._handleError(i)})}_worker(t,r){this._scandir(t.directory,this._settings.fsScandirSettings,(n,i)=>{if(n!==null){r(n,void 0);return}for(let s of i)this._handleEntry(s,t.base);r(null,void 0)})}_handleError(t){this._isDestroyed||!nn.isFatalError(this._settings,t)||(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",t))}_handleEntry(t,r){if(this._isDestroyed||this._isFatalError)return;let n=t.path;r!==void 0&&(t.path=nn.joinPathSegments(r,t.name,this._settings.pathSegmentSeparator)),nn.isAppliedFilter(this._settings.entryFilter,t)&&this._emitEntry(t),t.dirent.isDirectory()&&nn.isAppliedFilter(this._settings.deepFilter,t)&&this._pushToQueue(n,r===void 0?void 0:t.path)}_emitEntry(t){this._emitter.emit("entry",t)}};es.default=zi});var vf=_(ns=>{"use strict";Object.defineProperty(ns,"__esModule",{value:!0});var h0=ts(),rs=class{constructor(t,r){this._root=t,this._settings=r,this._reader=new h0.default(this._root,this._settings),this._storage=[]}read(t){this._reader.onError(r=>{p0(t,r)}),this._reader.onEntry(r=>{this._storage.push(r)}),this._reader.onEnd(()=>{d0(t,this._storage)}),this._reader.read()}};ns.default=rs;function p0(e,t){e(t)}function d0(e,t){e(null,t)}});var xf=_(ss=>{"use strict";Object.defineProperty(ss,"__esModule",{value:!0});var _0=L("stream"),g0=ts(),is=class{constructor(t,r){this._root=t,this._settings=r,this._reader=new g0.default(this._root,this._settings),this._stream=new _0.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy()}})}read(){return this._reader.onError(t=>{this._stream.emit("error",t)}),this._reader.onEntry(t=>{this._stream.push(t)}),this._reader.onEnd(()=>{this._stream.push(null)}),this._reader.read(),this._stream}};ss.default=is});var Sf=_(as=>{"use strict";Object.defineProperty(as,"__esModule",{value:!0});var y0=tn(),sn=rn(),m0=Zi(),os=class extends m0.default{constructor(){super(...arguments),this._scandir=y0.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(t,r){this._queue.add({directory:t,base:r})}_handleQueue(){for(let t of this._queue.values())this._handleDirectory(t.directory,t.base)}_handleDirectory(t,r){try{let n=this._scandir(t,this._settings.fsScandirSettings);for(let i of n)this._handleEntry(i,r)}catch(n){this._handleError(n)}}_handleError(t){if(!!sn.isFatalError(this._settings,t))throw t}_handleEntry(t,r){let n=t.path;r!==void 0&&(t.path=sn.joinPathSegments(r,t.name,this._settings.pathSegmentSeparator)),sn.isAppliedFilter(this._settings.entryFilter,t)&&this._pushToStorage(t),t.dirent.isDirectory()&&sn.isAppliedFilter(this._settings.deepFilter,t)&&this._pushToQueue(n,r===void 0?void 0:t.path)}_pushToStorage(t){this._storage.push(t)}};as.default=os});var Ef=_(us=>{"use strict";Object.defineProperty(us,"__esModule",{value:!0});var b0=Sf(),ls=class{constructor(t,r){this._root=t,this._settings=r,this._reader=new b0.default(this._root,this._settings)}read(){return this._reader.read()}};us.default=ls});var Rf=_(cs=>{"use strict";Object.defineProperty(cs,"__esModule",{value:!0});var v0=L("path"),x0=tn(),fs=class{constructor(t={}){this._options=t,this.basePath=this._getValue(this._options.basePath,void 0),this.concurrency=this._getValue(this._options.concurrency,Number.POSITIVE_INFINITY),this.deepFilter=this._getValue(this._options.deepFilter,null),this.entryFilter=this._getValue(this._options.entryFilter,null),this.errorFilter=this._getValue(this._options.errorFilter,null),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,v0.sep),this.fsScandirSettings=new x0.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(t,r){return t??r}};cs.default=fs});var an=_(Oe=>{"use strict";Object.defineProperty(Oe,"__esModule",{value:!0});Oe.Settings=Oe.walkStream=Oe.walkSync=Oe.walk=void 0;var wf=vf(),S0=xf(),E0=Ef(),hs=Rf();Oe.Settings=hs.default;function R0(e,t,r){if(typeof t=="function"){new wf.default(e,on()).read(t);return}new wf.default(e,on(t)).read(r)}Oe.walk=R0;function w0(e,t){let r=on(t);return new E0.default(e,r).read()}Oe.walkSync=w0;function A0(e,t){let r=on(t);return new S0.default(e,r).read()}Oe.walkStream=A0;function on(e={}){return e instanceof hs.default?e:new hs.default(e)}});var ln=_(ds=>{"use strict";Object.defineProperty(ds,"__esModule",{value:!0});var T0=L("path"),C0=nt(),Af=Me(),ps=class{constructor(t){this._settings=t,this._fsStatSettings=new C0.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(t){return T0.resolve(this._settings.cwd,t)}_makeEntry(t,r){let n={name:r,path:r,dirent:Af.fs.createDirentFromStats(r,t)};return this._settings.stats&&(n.stats=t),n}_isFatalError(t){return!Af.errno.isEnoentCodeError(t)&&!this._settings.suppressErrors}};ds.default=ps});var ys=_(gs=>{"use strict";Object.defineProperty(gs,"__esModule",{value:!0});var O0=L("stream"),P0=nt(),L0=an(),M0=ln(),_s=class extends M0.default{constructor(){super(...arguments),this._walkStream=L0.walkStream,this._stat=P0.stat}dynamic(t,r){return this._walkStream(t,r)}static(t,r){let n=t.map(this._getFullEntryPath,this),i=new O0.PassThrough({objectMode:!0});i._write=(s,o,a)=>this._getEntry(n[s],t[s],r).then(l=>{l!==null&&r.entryFilter(l)&&i.push(l),s===n.length-1&&i.end(),a()}).catch(a);for(let s=0;s<n.length;s++)i.write(s);return i}_getEntry(t,r,n){return this._getStat(t).then(i=>this._makeEntry(i,r)).catch(i=>{if(n.errorFilter(i))return null;throw i})}_getStat(t){return new Promise((r,n)=>{this._stat(t,this._fsStatSettings,(i,s)=>i===null?r(s):n(i))})}};gs.default=_s});var Tf=_(bs=>{"use strict";Object.defineProperty(bs,"__esModule",{value:!0});var D0=an(),B0=ln(),I0=ys(),ms=class extends B0.default{constructor(){super(...arguments),this._walkAsync=D0.walk,this._readerStream=new I0.default(this._settings)}dynamic(t,r){return new Promise((n,i)=>{this._walkAsync(t,r,(s,o)=>{s===null?n(o):i(s)})})}async static(t,r){let n=[],i=this._readerStream.static(t,r);return new Promise((s,o)=>{i.once("error",o),i.on("data",a=>n.push(a)),i.once("end",()=>s(n))})}};bs.default=ms});var Cf=_(xs=>{"use strict";Object.defineProperty(xs,"__esModule",{value:!0});var wt=Me(),vs=class{constructor(t,r,n){this._patterns=t,this._settings=r,this._micromatchOptions=n,this._storage=[],this._fillStorage()}_fillStorage(){let t=wt.pattern.expandPatternsWithBraceExpansion(this._patterns);for(let r of t){let n=this._getPatternSegments(r),i=this._splitSegmentsIntoSections(n);this._storage.push({complete:i.length<=1,pattern:r,segments:n,sections:i})}}_getPatternSegments(t){return wt.pattern.getPatternParts(t,this._micromatchOptions).map(n=>wt.pattern.isDynamicPattern(n,this._settings)?{dynamic:!0,pattern:n,patternRe:wt.pattern.makeRe(n,this._micromatchOptions)}:{dynamic:!1,pattern:n})}_splitSegmentsIntoSections(t){return wt.array.splitWhen(t,r=>r.dynamic&&wt.pattern.hasGlobStar(r.pattern))}};xs.default=vs});var Of=_(Es=>{"use strict";Object.defineProperty(Es,"__esModule",{value:!0});var N0=Cf(),Ss=class extends N0.default{match(t){let r=t.split("/"),n=r.length,i=this._storage.filter(s=>!s.complete||s.segments.length>n);for(let s of i){let o=s.sections[0];if(!s.complete&&n>o.length||r.every((l,c)=>{let u=s.segments[c];return!!(u.dynamic&&u.patternRe.test(l)||!u.dynamic&&u.pattern===l)}))return!0}return!1}};Es.default=Ss});var Pf=_(ws=>{"use strict";Object.defineProperty(ws,"__esModule",{value:!0});var un=Me(),k0=Of(),Rs=class{constructor(t,r){this._settings=t,this._micromatchOptions=r}getFilter(t,r,n){let i=this._getMatcher(r),s=this._getNegativePatternsRe(n);return o=>this._filter(t,o,i,s)}_getMatcher(t){return new k0.default(t,this._settings,this._micromatchOptions)}_getNegativePatternsRe(t){let r=t.filter(un.pattern.isAffectDepthOfReadingPattern);return un.pattern.convertPatternsToRe(r,this._micromatchOptions)}_filter(t,r,n,i){if(this._isSkippedByDeep(t,r.path)||this._isSkippedSymbolicLink(r))return!1;let s=un.path.removeLeadingDotSegment(r.path);return this._isSkippedByPositivePatterns(s,n)?!1:this._isSkippedByNegativePatterns(s,i)}_isSkippedByDeep(t,r){return this._settings.deep===1/0?!1:this._getEntryLevel(t,r)>=this._settings.deep}_getEntryLevel(t,r){let n=r.split("/").length;if(t==="")return n;let i=t.split("/").length;return n-i}_isSkippedSymbolicLink(t){return!this._settings.followSymbolicLinks&&t.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(t,r){return!this._settings.baseNameMatch&&!r.match(t)}_isSkippedByNegativePatterns(t,r){return!un.pattern.matchAny(t,r)}};ws.default=Rs});var Lf=_(Ts=>{"use strict";Object.defineProperty(Ts,"__esModule",{value:!0});var it=Me(),As=class{constructor(t,r){this._settings=t,this._micromatchOptions=r,this.index=new Map}getFilter(t,r){let n=it.pattern.convertPatternsToRe(t,this._micromatchOptions),i=it.pattern.convertPatternsToRe(r,this._micromatchOptions);return s=>this._filter(s,n,i)}_filter(t,r,n){if(this._settings.unique&&this._isDuplicateEntry(t)||this._onlyFileFilter(t)||this._onlyDirectoryFilter(t)||this._isSkippedByAbsoluteNegativePatterns(t.path,n))return!1;let i=this._settings.baseNameMatch?t.name:t.path,s=t.dirent.isDirectory(),o=this._isMatchToPatterns(i,r,s)&&!this._isMatchToPatterns(t.path,n,s);return this._settings.unique&&o&&this._createIndexRecord(t),o}_isDuplicateEntry(t){return this.index.has(t.path)}_createIndexRecord(t){this.index.set(t.path,void 0)}_onlyFileFilter(t){return this._settings.onlyFiles&&!t.dirent.isFile()}_onlyDirectoryFilter(t){return this._settings.onlyDirectories&&!t.dirent.isDirectory()}_isSkippedByAbsoluteNegativePatterns(t,r){if(!this._settings.absolute)return!1;let n=it.path.makeAbsolute(this._settings.cwd,t);return it.pattern.matchAny(n,r)}_isMatchToPatterns(t,r,n){let i=it.path.removeLeadingDotSegment(t),s=it.pattern.matchAny(i,r);return!s&&n?it.pattern.matchAny(i+"/",r):s}};Ts.default=As});var Mf=_(Os=>{"use strict";Object.defineProperty(Os,"__esModule",{value:!0});var F0=Me(),Cs=class{constructor(t){this._settings=t}getFilter(){return t=>this._isNonFatalError(t)}_isNonFatalError(t){return F0.errno.isEnoentCodeError(t)||this._settings.suppressErrors}};Os.default=Cs});var Bf=_(Ls=>{"use strict";Object.defineProperty(Ls,"__esModule",{value:!0});var Df=Me(),Ps=class{constructor(t){this._settings=t}getTransformer(){return t=>this._transform(t)}_transform(t){let r=t.path;return this._settings.absolute&&(r=Df.path.makeAbsolute(this._settings.cwd,r),r=Df.path.unixify(r)),this._settings.markDirectories&&t.dirent.isDirectory()&&(r+="/"),this._settings.objectMode?Object.assign(Object.assign({},t),{path:r}):r}};Ls.default=Ps});var fn=_(Ds=>{"use strict";Object.defineProperty(Ds,"__esModule",{value:!0});var q0=L("path"),j0=Pf(),H0=Lf(),$0=Mf(),G0=Bf(),Ms=class{constructor(t){this._settings=t,this.errorFilter=new $0.default(this._settings),this.entryFilter=new H0.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new j0.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new G0.default(this._settings)}_getRootDirectory(t){return q0.resolve(this._settings.cwd,t.base)}_getReaderOptions(t){let r=t.base==="."?"":t.base;return{basePath:r,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(r,t.positive,t.negative),entryFilter:this.entryFilter.getFilter(t.positive,t.negative),errorFilter:this.errorFilter.getFilter(),followSymbolicLinks:this._settings.followSymbolicLinks,fs:this._settings.fs,stats:this._settings.stats,throwErrorOnBrokenSymbolicLink:this._settings.throwErrorOnBrokenSymbolicLink,transform:this.entryTransformer.getTransformer()}}_getMicromatchOptions(){return{dot:this._settings.dot,matchBase:this._settings.baseNameMatch,nobrace:!this._settings.braceExpansion,nocase:!this._settings.caseSensitiveMatch,noext:!this._settings.extglob,noglobstar:!this._settings.globstar,posix:!0,strictSlashes:!1}}};Ds.default=Ms});var If=_(Is=>{"use strict";Object.defineProperty(Is,"__esModule",{value:!0});var U0=Tf(),W0=fn(),Bs=class extends W0.default{constructor(){super(...arguments),this._reader=new U0.default(this._settings)}async read(t){let r=this._getRootDirectory(t),n=this._getReaderOptions(t);return(await this.api(r,t,n)).map(s=>n.transform(s))}api(t,r,n){return r.dynamic?this._reader.dynamic(t,n):this._reader.static(r.patterns,n)}};Is.default=Bs});var Nf=_(ks=>{"use strict";Object.defineProperty(ks,"__esModule",{value:!0});var V0=L("stream"),Y0=ys(),K0=fn(),Ns=class extends K0.default{constructor(){super(...arguments),this._reader=new Y0.default(this._settings)}read(t){let r=this._getRootDirectory(t),n=this._getReaderOptions(t),i=this.api(r,t,n),s=new V0.Readable({objectMode:!0,read:()=>{}});return i.once("error",o=>s.emit("error",o)).on("data",o=>s.emit("data",n.transform(o))).once("end",()=>s.emit("end")),s.once("close",()=>i.destroy()),s}api(t,r,n){return r.dynamic?this._reader.dynamic(t,n):this._reader.static(r.patterns,n)}};ks.default=Ns});var kf=_(qs=>{"use strict";Object.defineProperty(qs,"__esModule",{value:!0});var Q0=nt(),X0=an(),J0=ln(),Fs=class extends J0.default{constructor(){super(...arguments),this._walkSync=X0.walkSync,this._statSync=Q0.statSync}dynamic(t,r){return this._walkSync(t,r)}static(t,r){let n=[];for(let i of t){let s=this._getFullEntryPath(i),o=this._getEntry(s,i,r);o===null||!r.entryFilter(o)||n.push(o)}return n}_getEntry(t,r,n){try{let i=this._getStat(t);return this._makeEntry(i,r)}catch(i){if(n.errorFilter(i))return null;throw i}}_getStat(t){return this._statSync(t,this._fsStatSettings)}};qs.default=Fs});var Ff=_(Hs=>{"use strict";Object.defineProperty(Hs,"__esModule",{value:!0});var Z0=kf(),z0=fn(),js=class extends z0.default{constructor(){super(...arguments),this._reader=new Z0.default(this._settings)}read(t){let r=this._getRootDirectory(t),n=this._getReaderOptions(t);return this.api(r,t,n).map(n.transform)}api(t,r,n){return r.dynamic?this._reader.dynamic(t,n):this._reader.static(r.patterns,n)}};Hs.default=js});var qf=_(Tt=>{"use strict";Object.defineProperty(Tt,"__esModule",{value:!0});Tt.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;var At=L("fs"),ey=L("os"),ty=Math.max(ey.cpus().length,1);Tt.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:At.lstat,lstatSync:At.lstatSync,stat:At.stat,statSync:At.statSync,readdir:At.readdir,readdirSync:At.readdirSync};var $s=class{constructor(t={}){this._options=t,this.absolute=this._getValue(this._options.absolute,!1),this.baseNameMatch=this._getValue(this._options.baseNameMatch,!1),this.braceExpansion=this._getValue(this._options.braceExpansion,!0),this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,!0),this.concurrency=this._getValue(this._options.concurrency,ty),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,1/0),this.dot=this._getValue(this._options.dot,!1),this.extglob=this._getValue(this._options.extglob,!0),this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!0),this.fs=this._getFileSystemMethods(this._options.fs),this.globstar=this._getValue(this._options.globstar,!0),this.ignore=this._getValue(this._options.ignore,[]),this.markDirectories=this._getValue(this._options.markDirectories,!1),this.objectMode=this._getValue(this._options.objectMode,!1),this.onlyDirectories=this._getValue(this._options.onlyDirectories,!1),this.onlyFiles=this._getValue(this._options.onlyFiles,!0),this.stats=this._getValue(this._options.stats,!1),this.suppressErrors=this._getValue(this._options.suppressErrors,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!1),this.unique=this._getValue(this._options.unique,!0),this.onlyDirectories&&(this.onlyFiles=!1),this.stats&&(this.objectMode=!0)}_getValue(t,r){return t===void 0?r:t}_getFileSystemMethods(t={}){return Object.assign(Object.assign({},Tt.DEFAULT_FILE_SYSTEM_ADAPTER),t)}};Tt.default=$s});var Gf=_((iv,$f)=>{"use strict";var jf=Fu(),Hf=ju(),ry=If(),ny=Nf(),iy=Ff(),Gs=qf(),st=Me();async function Us(e,t){Ct(e);let r=Ws(e,ry.default,t),n=await Promise.all(r);return st.array.flatten(n)}(function(e){function t(o,a){Ct(o);let l=Ws(o,iy.default,a);return st.array.flatten(l)}e.sync=t;function r(o,a){Ct(o);let l=Ws(o,ny.default,a);return st.stream.merge(l)}e.stream=r;function n(o,a){Ct(o);let l=Hf.transform([].concat(o)),c=new Gs.default(a);return jf.generate(l,c)}e.generateTasks=n;function i(o,a){Ct(o);let l=new Gs.default(a);return st.pattern.isDynamicPattern(o,l)}e.isDynamicPattern=i;function s(o){return Ct(o),st.path.escape(o)}e.escapePath=s})(Us||(Us={}));function Ws(e,t,r){let n=Hf.transform([].concat(e)),i=new Gs.default(r),s=jf.generate(n,i),o=new t(i);return s.map(o.read,o)}function Ct(e){if(![].concat(e).every(n=>st.string.isString(n)&&!st.string.isEmpty(n)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}$f.exports=Us});var Zs=(e=0)=>t=>`\x1B[${t+e}m`,zs=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,eo=(e=0)=>(t,r,n)=>`\x1B[${38+e};2;${t};${r};${n}m`,$={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]}},to=Object.keys($.modifier),pn=Object.keys($.color),dn=Object.keys($.bgColor),ro=[...pn,...dn];function ic(){let e=new Map;for(let[t,r]of Object.entries($)){for(let[n,i]of Object.entries(r))$[n]={open:`\x1B[${i[0]}m`,close:`\x1B[${i[1]}m`},r[n]=$[n],e.set(i[0],i[1]);Object.defineProperty($,t,{value:r,enumerable:!1})}return Object.defineProperty($,"codes",{value:e,enumerable:!1}),$.color.close="\x1B[39m",$.bgColor.close="\x1B[49m",$.color.ansi=Zs(),$.color.ansi256=zs(),$.color.ansi16m=eo(),$.bgColor.ansi=Zs(10),$.bgColor.ansi256=zs(10),$.bgColor.ansi16m=eo(10),Object.defineProperties($,{rgbToAnsi256:{value(t,r,n){return t===r&&r===n?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(n/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[n]=r;n.length===3&&(n=[...n].map(s=>s+s).join(""));let i=Number.parseInt(n,16);return[i>>16&255,i>>8&255,i&255]},enumerable:!1},hexToAnsi256:{value:t=>$.rgbToAnsi256(...$.hexToRgb(t)),enumerable:!1},ansi256ToAnsi:{value(t){if(t<8)return 30+t;if(t<16)return 90+(t-8);let r,n,i;if(t>=232)r=((t-232)*10+8)/255,n=r,i=r;else{t-=16;let a=t%36;r=Math.floor(t/36)/5,n=Math.floor(a/6)/5,i=a%6/5}let s=Math.max(r,n,i)*2;if(s===0)return 30;let o=30+(Math.round(i)<<2|Math.round(n)<<1|Math.round(r));return s===2&&(o+=60),o},enumerable:!1},rgbToAnsi:{value:(t,r,n)=>$.ansi256ToAnsi($.rgbToAnsi256(t,r,n)),enumerable:!1},hexToAnsi:{value:t=>$.ansi256ToAnsi($.hexToAnsi256(t)),enumerable:!1}}),$}var sc=ic(),ge=sc;import _n from"node:process";import oc from"node:os";import no from"node:tty";function fe(e,t=_n.argv){let r=e.startsWith("-")?"":e.length===1?"-":"--",n=t.indexOf(r+e),i=t.indexOf("--");return n!==-1&&(i===-1||n<i)}var{env:K}=_n,ir;fe("no-color")||fe("no-colors")||fe("color=false")||fe("color=never")?ir=0:(fe("color")||fe("colors")||fe("color=true")||fe("color=always"))&&(ir=1);function ac(){if("FORCE_COLOR"in K)return K.FORCE_COLOR==="true"?1:K.FORCE_COLOR==="false"?0:K.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(K.FORCE_COLOR,10),3)}function lc(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function uc(e,{streamIsTTY:t,sniffFlags:r=!0}={}){let n=ac();n!==void 0&&(ir=n);let i=r?ir:n;if(i===0)return 0;if(r){if(fe("color=16m")||fe("color=full")||fe("color=truecolor"))return 3;if(fe("color=256"))return 2}if(e&&!t&&i===void 0)return 0;let s=i||0;if(K.TERM==="dumb")return s;if(_n.platform==="win32"){let o=oc.release().split(".");return Number(o[0])>=10&&Number(o[2])>=10586?Number(o[2])>=14931?3:2:1}if("CI"in K)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(o=>o in K)||K.CI_NAME==="codeship"?1:s;if("TEAMCITY_VERSION"in K)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(K.TEAMCITY_VERSION)?1:0;if("TF_BUILD"in K&&"AGENT_NAME"in K)return 1;if(K.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in K){let o=Number.parseInt((K.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(K.TERM_PROGRAM){case"iTerm.app":return o>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(K.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(K.TERM)||"COLORTERM"in K?1:s}function io(e,t={}){let r=uc(e,{streamIsTTY:e&&e.isTTY,...t});return lc(r)}var fc={stdout:io({isTTY:no.isatty(1)}),stderr:io({isTTY:no.isatty(2)})},so=fc;function oo(e,t,r){let n=e.indexOf(t);if(n===-1)return e;let i=t.length,s=0,o="";do o+=e.slice(s,n)+t+r,s=n+i,n=e.indexOf(t,s);while(n!==-1);return o+=e.slice(s),o}function ao(e,t,r,n){let i=0,s="";do{let o=e[n-1]==="\r";s+=e.slice(i,o?n-1:n)+t+(o?`\r
4
+ var Rn=Object.create;var pr=Object.defineProperty;var Sn=Object.getOwnPropertyDescriptor;var Tn=Object.getOwnPropertyNames;var An=Object.getPrototypeOf,On=Object.prototype.hasOwnProperty;var O=(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 Cn=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Tn(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?Rn(An(e)):{},Cn(t||!e||!e.__esModule?pr(r,"default",{value:e,enumerable:!0}):r,e));var Cr=p(($s,vt)=>{"use strict";var Or=(e,t)=>{for(let r of Reflect.ownKeys(t))Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));return e};vt.exports=Or;vt.exports.default=Or});var Mr=p((Hs,je)=>{"use strict";var Wn=Cr(),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((Ys,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=O("assert"),ne=Ir(),Nr=/^win/i.test(y.platform),ye=O("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,Yn)=>{Yn.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 Hr=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 Yr=p((fa,He)=>{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 He=="object"&&He.exports&&(He.exports=Zn)});var Kr=p((ua,Vr)=>{var Xn=Yr();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 Ct=p((pa,ti)=>{ti.exports=O("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=O("buffer"),Ye=no.Buffer,oo=O("util"),Bt=oo.inspect,lo=Bt&&Bt.custom||"inspect";function so(e,t,r){Ye.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 Ye.alloc(0);for(var i=Ye.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=Ye.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=O("util"),typeof Lt.inherits!="function")throw"";Pt.exports=Lt.inherits}catch{Pt.exports=ci()}var Lt});var pi=p((va,di)=>{di.exports=O("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=Ct(),Je=O("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,Oo=$.ERR_STREAM_DESTROYED,Co=$.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 Co: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 Oo("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 Ho=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=Ho(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",Yo)))}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 Yo(){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=O("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 Yt=p(Ai=>{"use strict";var Ht=Si().Buffer,Ti=Ht.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"&&(Ht.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=Ht.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 Oi=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 Ci(e,t,r){if(typeof t=="function")return Ci(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 Oi),r.call(e,T);if(n&&!l)return(!e._writableState||!e._writableState.ended)&&(T=new Oi),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=Ci});var Ii=p((Ta,Mi)=>{"use strict";var et;function H(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(),Y=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[Y];if(t!==null){var r=e[te].read();r!==null&&(e[ee]=null,e[Y]=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}},H(et,Symbol.asyncIterator,function(){return this}),H(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={},H(r,te,{value:t,writable:!0}),H(r,Y,{value:null,writable:!0}),H(r,z,{value:null,writable:!0}),H(r,Se,{value:null,writable:!0}),H(r,tt,{value:t._readableState.endEmitted,writable:!0}),H(r,Vt,{value:function(o,l){var s=i[te].read();s?(i[ee]=null,i[Y]=null,i[z]=null,o(V(s,!1))):(i[Y]=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[Y]=null,i[z]=null,o(n)),i[Se]=n;return}var l=i[Y];l!==null&&(i[ee]=null,i[Y]=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((Ca,Yi)=>{"use strict";Yi.exports=h;var ue;h.ReadableState=qi;var Oa=O("events").EventEmitter,ki=function(t,r){return t.listeners(r).length},Ae=Ct(),rt=O("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=O("util"),u;Kt&&Kt.debuglog?u=Kt.debuglog("stream"):u=function(){};var Sl=oi(),tr=It(),Tl=Dt(),Al=Tl.getHighWaterMark,it=W().codes,Ol=it.ERR_INVALID_ARG_TYPE,Cl=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=Yt().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 Cl);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 Ol("chunk",["string","Buffer","Uint8Array"],t)),r}h.prototype.isPaused=function(){return this._readableState.flowing===!1};h.prototype.setEncoding=function(e){he||(he=Yt().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&&Hi(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=Hi(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 Hi(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,Hl=ot.ERR_TRANSFORM_WITH_LENGTH_0,lt=X();Z()(G,lt);function Yl(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:Yl.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 Hl;if(e._transformState.transforming)throw new $l;return e.push(null)}});var Xi=p((Ma,Zi)=>{"use strict";Zi.exports=Oe;var Ji=ir();Z()(Oe,Ji);function Oe(e){if(!(this instanceof Oe))return new Oe(e);Ji.call(this,e)}Oe.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 Ce=O("stream");process.env.READABLE_STREAM==="disable"&&Ce?(Be.exports=Ce.Readable,Object.assign(Be.exports,Ce),Be.exports.Stream=Ce):(I=Be.exports=Gt(),I.Stream=Ce||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}=O("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
6
5
  `:`
7
- `)+r,i=n+1,n=e.indexOf(`
8
- `,i)}while(n!==-1);return s+=e.slice(i),s}var{stdout:lo,stderr:uo}=so,gn=Symbol("GENERATOR"),at=Symbol("STYLER"),Pt=Symbol("IS_EMPTY"),fo=["ansi","ansi","ansi256","ansi16m"],lt=Object.create(null),cc=(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=lo?lo.level:0;e.level=t.level===void 0?r:t.level};var hc=e=>{let t=(...r)=>r.join(" ");return cc(t,e),Object.setPrototypeOf(t,Lt.prototype),t};function Lt(e){return hc(e)}Object.setPrototypeOf(Lt.prototype,Function.prototype);for(let[e,t]of Object.entries(ge))lt[e]={get(){let r=sr(this,mn(t.open,t.close,this[at]),this[Pt]);return Object.defineProperty(this,e,{value:r}),r}};lt.visible={get(){let e=sr(this,this[at],!0);return Object.defineProperty(this,"visible",{value:e}),e}};var yn=(e,t,r,...n)=>e==="rgb"?t==="ansi16m"?ge[r].ansi16m(...n):t==="ansi256"?ge[r].ansi256(ge.rgbToAnsi256(...n)):ge[r].ansi(ge.rgbToAnsi(...n)):e==="hex"?yn("rgb",t,r,...ge.hexToRgb(...n)):ge[r][e](...n),pc=["rgb","hex","ansi256"];for(let e of pc){lt[e]={get(){let{level:r}=this;return function(...n){let i=mn(yn(e,fo[r],"color",...n),ge.color.close,this[at]);return sr(this,i,this[Pt])}}};let t="bg"+e[0].toUpperCase()+e.slice(1);lt[t]={get(){let{level:r}=this;return function(...n){let i=mn(yn(e,fo[r],"bgColor",...n),ge.bgColor.close,this[at]);return sr(this,i,this[Pt])}}}}var dc=Object.defineProperties(()=>{},{...lt,level:{enumerable:!0,get(){return this[gn].level},set(e){this[gn].level=e}}}),mn=(e,t,r)=>{let n,i;return r===void 0?(n=e,i=t):(n=r.openAll+e,i=t+r.closeAll),{open:e,close:t,openAll:n,closeAll:i,parent:r}},sr=(e,t,r)=>{let n=(...i)=>_c(n,i.length===1?""+i[0]:i.join(" "));return Object.setPrototypeOf(n,dc),n[gn]=e,n[at]=t,n[Pt]=r,n},_c=(e,t)=>{if(e.level<=0||!t)return e[Pt]?"":t;let r=e[at];if(r===void 0)return t;let{openAll:n,closeAll:i}=r;if(t.includes("\x1B"))for(;r!==void 0;)t=oo(t,r.close,r.open),r=r.parent;let s=t.indexOf(`
9
- `);return s!==-1&&(t=ao(t,i,n,s)),n+t+i};Object.defineProperties(Lt.prototype,lt);var gc=Lt(),Ty=Lt({level:uo?uo.level:0});var se=gc;import Mr from"node:process";import wo from"node:process";var So=ot(_o(),1),Eo=ot(xo(),1);import mc from"node:process";var bc=(0,So.default)(()=>{(0,Eo.default)(()=>{mc.stderr.write("\x1B[?25h")},{alwaysLast:!0})}),Ro=bc;var hr=!1,ht={};ht.show=(e=wo.stderr)=>{!e.isTTY||(hr=!1,e.write("\x1B[?25h"))};ht.hide=(e=wo.stderr)=>{!e.isTTY||(Ro(),hr=!0,e.write("\x1B[?25l"))};ht.toggle=(e,t)=>{e!==void 0&&(hr=e),hr?ht.show(t):ht.hide(t)};var Sn=ht;var Vt=ot(Oo(),1);import ye from"node:process";function Dt(){return ye.platform!=="win32"?ye.env.TERM!=="linux":Boolean(ye.env.CI)||Boolean(ye.env.WT_SESSION)||Boolean(ye.env.TERMINUS_SUBLIME)||ye.env.ConEmuTask==="{cmd::Cmder}"||ye.env.TERM_PROGRAM==="Terminus-Sublime"||ye.env.TERM_PROGRAM==="vscode"||ye.env.TERM==="xterm-256color"||ye.env.TERM==="alacritty"||ye.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var xc={info:se.blue("ℹ"),success:se.green("✔"),warning:se.yellow("⚠"),error:se.red("✖")},Sc={info:se.blue("i"),success:se.green("√"),warning:se.yellow("‼"),error:se.red("×")},Ec=Dt()?xc:Sc,Bt=Ec;function En({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 Rn(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(En(),"")}var Ya=ot(Fo(),1);function An({stream:e=process.stdout}={}){return Boolean(e&&e.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))}var Va=ot(Wa(),1);import be from"node:process";import Pp from"node:readline";var Lp=3,Lr=class{#r=0;#f=new Va.BufferListStream;#i;#n;constructor(){this.#f.pipe(be.stdout);let t=this;this.#i=function(r,n,...i){let{stdin:s}=be;if(t.#r>0||s.emit===t.#i){if(r==="keypress")return;r==="data"&&n.includes(Lp)&&be.emit("SIGINT"),Reflect.apply(t.#i,this,[r,n,...i])}else Reflect.apply(be.stdin.emit,this,[r,n,...i])}}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(){be.platform!=="win32"&&(this.#n=Pp.createInterface({input:be.stdin,output:this.#f}),this.#n.on("SIGINT",()=>{be.listenerCount("SIGINT")===0?be.emit("SIGINT"):(this.#n.close(),be.kill(be.pid,"SIGINT"))}))}_realStop(){be.platform!=="win32"&&(this.#n.close(),this.#n=void 0)}};var Dr,ii=class{#r=0;#f=!1;#i=0;#n=0;#e;#o;#t;#c;#h;#a;#l;#u;#p;#s;color;constructor(t){Dr||(Dr=new Lr),typeof t=="string"&&(t={text:t}),this.#e={color:"cyan",stream:Mr.stderr,discardStdin:!0,hideCursor:!0,...t},this.color=this.#e.color,this.spinner=this.#e.spinner,this.#h=this.#e.interval,this.#t=this.#e.stream,this.#a=typeof this.#e.isEnabled=="boolean"?this.#e.isEnabled:An({stream:this.#t}),this.#l=typeof this.#e.isSilent=="boolean"?this.#e.isSilent:!1,this.text=this.#e.text,this.prefixText=this.#e.prefixText,this.indent=this.#e.indent,Mr.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.#n}}),Object.defineProperty(this,"_lineCount",{get(){return this.#i}}))}get indent(){return this.#u}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.#u=t,this.updateLineCount()}get interval(){return this.#h||this.#o.interval||100}get spinner(){return this.#o}set spinner(t){if(this.#n=0,this.#h=void 0,typeof t=="object"){if(t.frames===void 0)throw new Error("The given spinner must have a `frames` property");this.#o=t}else if(!Dt())this.#o=Vt.default.line;else if(t===void 0)this.#o=Vt.default.dots;else if(t!=="default"&&Vt.default[t])this.#o=Vt.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.#p}set text(t){this.#p=t||"",this.updateLineCount()}get prefixText(){return this.#s}set prefixText(t){this.#s=t||"",this.updateLineCount()}get isSpinning(){return this.#c!==void 0}getFullPrefixText(t=this.#s,r=" "){return typeof t=="string"&&t!==""?t+r:typeof t=="function"?t()+r:""}updateLineCount(){let t=this.#t.columns||80,r=this.getFullPrefixText(this.#s,"-");this.#i=0;for(let n of Rn(" ".repeat(this.#u)+r+"--"+this.#p).split(`
10
- `))this.#i+=Math.max(1,Math.ceil((0,Ya.default)(n)/t))}get isEnabled(){return this.#a&&!this.#l}set isEnabled(t){if(typeof t!="boolean")throw new TypeError("The `isEnabled` option must be a boolean");this.#a=t}get isSilent(){return this.#l}set isSilent(t){if(typeof t!="boolean")throw new TypeError("The `isSilent` option must be a boolean");this.#l=t}frame(){let{frames:t}=this.#o,r=t[this.#n];this.color&&(r=se[this.color](r)),this.#n=++this.#n%t.length;let n=typeof this.#s=="string"&&this.#s!==""?this.#s+" ":"",i=typeof this.text=="string"?" "+this.text:"";return n+r+i}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.#u||this.lastIndent!==this.#u)&&this.#t.cursorTo(this.#u),this.lastIndent=this.#u,this.#r=0,this}render(){return this.#l?this:(this.clear(),this.#t.write(this.frame()),this.#r=this.#i,this)}start(t){return t&&(this.text=t),this.#l?this:this.#a?this.isSpinning?this:(this.#e.hideCursor&&Sn.hide(this.#t),this.#e.discardStdin&&Mr.stdin.isTTY&&(this.#f=!0,Dr.start()),this.render(),this.#c=setInterval(this.render.bind(this),this.interval),this):(this.text&&this.#t.write(`- ${this.text}
11
- `),this)}stop(){return this.#a?(clearInterval(this.#c),this.#c=void 0,this.#n=0,this.clear(),this.#e.hideCursor&&Sn.show(this.#t),this.#e.discardStdin&&Mr.stdin.isTTY&&this.#f&&(Dr.stop(),this.#f=!1),this):this}succeed(t){return this.stopAndPersist({symbol:Bt.success,text:t})}fail(t){return this.stopAndPersist({symbol:Bt.error,text:t})}warn(t){return this.stopAndPersist({symbol:Bt.warning,text:t})}info(t){return this.stopAndPersist({symbol:Bt.info,text:t})}stopAndPersist(t={}){if(this.#l)return this;let r=t.prefixText||this.#s,n=t.text||this.text,i=typeof n=="string"?" "+n:"";return this.stop(),this.#t.write(`${this.getFullPrefixText(r," ")}${t.symbol||" "}${i}
12
- `),this}};function si(e){return new ii(e)}import{spawn as Mp,execSync as Dp}from"child_process";import fi from"node:process";import Np from"node:os";import Ja 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 Ka=(e=0)=>t=>`\x1B[${t+e}m`,Qa=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,Xa=(e=0)=>(t,r,n)=>`\x1B[${38+e};2;${t};${r};${n}m`;function Bp(){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,n]of Object.entries(t)){for(let[i,s]of Object.entries(n))t[i]={open:`\x1B[${s[0]}m`,close:`\x1B[${s[1]}m`},n[i]=t[i],e.set(s[0],s[1]);Object.defineProperty(t,r,{value:n,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",t.color.ansi=Ka(),t.color.ansi256=Qa(),t.color.ansi16m=Xa(),t.bgColor.ansi=Ka(10),t.bgColor.ansi256=Qa(10),t.bgColor.ansi16m=Xa(10),Object.defineProperties(t,{rgbToAnsi256:{value:(r,n,i)=>r===n&&n===i?r<8?16:r>248?231:Math.round((r-8)/247*24)+232:16+36*Math.round(r/255*5)+6*Math.round(n/255*5)+Math.round(i/255*5),enumerable:!1},hexToRgb:{value:r=>{let n=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(r.toString(16));if(!n)return[0,0,0];let{colorString:i}=n.groups;i.length===3&&(i=[...i].map(o=>o+o).join(""));let s=Number.parseInt(i,16);return[s>>16&255,s>>8&255,s&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 n,i,s;if(r>=232)n=((r-232)*10+8)/255,i=n,s=n;else{r-=16;let l=r%36;n=Math.floor(r/36)/5,i=Math.floor(l/6)/5,s=l%6/5}let o=Math.max(n,i,s)*2;if(o===0)return 30;let a=30+(Math.round(s)<<2|Math.round(i)<<1|Math.round(n));return o===2&&(a+=60),a},enumerable:!1},rgbToAnsi:{value:(r,n,i)=>t.ansi256ToAnsi(t.rgbToAnsi256(r,n,i)),enumerable:!1},hexToAnsi:{value:r=>t.ansi256ToAnsi(t.hexToAnsi256(r)),enumerable:!1}}),t}var Ip=Bp(),Re=Ip;function pe(e,t=fi.argv){let r=e.startsWith("-")?"":e.length===1?"-":"--",n=t.indexOf(r+e),i=t.indexOf("--");return n!==-1&&(i===-1||n<i)}var{env:Q}=fi,Br;pe("no-color")||pe("no-colors")||pe("color=false")||pe("color=never")?Br=0:(pe("color")||pe("colors")||pe("color=true")||pe("color=always"))&&(Br=1);function kp(){if("FORCE_COLOR"in Q)return Q.FORCE_COLOR==="true"?1:Q.FORCE_COLOR==="false"?0:Q.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(Q.FORCE_COLOR,10),3)}function Fp(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function qp(e,{streamIsTTY:t,sniffFlags:r=!0}={}){let n=kp();n!==void 0&&(Br=n);let i=r?Br:n;if(i===0)return 0;if(r){if(pe("color=16m")||pe("color=full")||pe("color=truecolor"))return 3;if(pe("color=256"))return 2}if(e&&!t&&i===void 0)return 0;let s=i||0;if(Q.TERM==="dumb")return s;if(fi.platform==="win32"){let o=Np.release().split(".");return Number(o[0])>=10&&Number(o[2])>=10586?Number(o[2])>=14931?3:2:1}if("CI"in Q)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(o=>o in Q)||Q.CI_NAME==="codeship"?1:s;if("TEAMCITY_VERSION"in Q)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Q.TEAMCITY_VERSION)?1:0;if("TF_BUILD"in Q&&"AGENT_NAME"in Q)return 1;if(Q.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Q){let o=Number.parseInt((Q.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Q.TERM_PROGRAM){case"iTerm.app":return o>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Q.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Q.TERM)||"COLORTERM"in Q?1:s}function Za(e,t={}){let r=qp(e,{streamIsTTY:e&&e.isTTY,...t});return Fp(r)}var jp={stdout:Za({isTTY:Ja.isatty(1)}),stderr:Za({isTTY:Ja.isatty(2)})},Hp=jp;function $p(e,t,r){let n=e.indexOf(t);if(n===-1)return e;let i=t.length,s=0,o="";do o+=e.substr(s,n-s)+t+r,s=n+i,n=e.indexOf(t,s);while(n!==-1);return o+=e.slice(s),o}function Gp(e,t,r,n){let i=0,s="";do{let o=e[n-1]==="\r";s+=e.substr(i,(o?n-1:n)-i)+t+(o?`\r
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 C=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 Hn=(0,jr.default)(()=>{(0,kr.default)(()=>{$n.stderr.write("\x1B[?25h")},{alwaysLast:!0})}),qr=Hn;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(Hr(),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:C.blue("ℹ"),success:C.green("✔"),warning:C.yellow("⚠"),error:C.red("✖")},Kn={info:C.blue("i"),success:C.green("√"),warning:C.yellow("‼"),error:C.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 Ot({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:Ot({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=C[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
13
12
  `:`
14
- `)+r,i=n+1,n=e.indexOf(`
15
- `,i)}while(n!==-1);return s+=e.slice(i),s}var{stdout:za,stderr:el}=Hp,oi=Symbol("GENERATOR"),yt=Symbol("STYLER"),Yt=Symbol("IS_EMPTY"),tl=["ansi","ansi","ansi256","ansi16m"],mt=Object.create(null),Up=(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=za?za.level:0;e.level=t.level===void 0?r:t.level},Wp=e=>{let t=(...r)=>r.join(" ");return Up(t,e),Object.setPrototypeOf(t,Kt.prototype),t};function Kt(e){return Wp(e)}Object.setPrototypeOf(Kt.prototype,Function.prototype);for(let[e,t]of Object.entries(Re))mt[e]={get(){let r=Ir(this,li(t.open,t.close,this[yt]),this[Yt]);return Object.defineProperty(this,e,{value:r}),r}};mt.visible={get(){let e=Ir(this,this[yt],!0);return Object.defineProperty(this,"visible",{value:e}),e}};var ai=(e,t,r,...n)=>e==="rgb"?t==="ansi16m"?Re[r].ansi16m(...n):t==="ansi256"?Re[r].ansi256(Re.rgbToAnsi256(...n)):Re[r].ansi(Re.rgbToAnsi(...n)):e==="hex"?ai("rgb",t,r,...Re.hexToRgb(...n)):Re[r][e](...n),Vp=["rgb","hex","ansi256"];for(let e of Vp){mt[e]={get(){let{level:r}=this;return function(...n){let i=li(ai(e,tl[r],"color",...n),Re.color.close,this[yt]);return Ir(this,i,this[Yt])}}};let t="bg"+e[0].toUpperCase()+e.slice(1);mt[t]={get(){let{level:r}=this;return function(...n){let i=li(ai(e,tl[r],"bgColor",...n),Re.bgColor.close,this[yt]);return Ir(this,i,this[Yt])}}}}var Yp=Object.defineProperties(()=>{},{...mt,level:{enumerable:!0,get(){return this[oi].level},set(e){this[oi].level=e}}}),li=(e,t,r)=>{let n,i;return r===void 0?(n=e,i=t):(n=r.openAll+e,i=t+r.closeAll),{open:e,close:t,openAll:n,closeAll:i,parent:r}},Ir=(e,t,r)=>{let n=(...i)=>Kp(n,i.length===1?""+i[0]:i.join(" "));return Object.setPrototypeOf(n,Yp),n[oi]=e,n[yt]=t,n[Yt]=r,n},Kp=(e,t)=>{if(e.level<=0||!t)return e[Yt]?"":t;let r=e[yt];if(r===void 0)return t;let{openAll:n,closeAll:i}=r;if(t.includes("\x1B"))for(;r!==void 0;)t=$p(t,r.close,r.open),r=r.parent;let s=t.indexOf(`
16
- `);return s!==-1&&(t=Gp(t,i,n,s)),n+t+i};Object.defineProperties(Kt.prototype,mt);var Qp=Kt(),km=Kt({level:el?el.level:0}),Xp=Qp,Jp={win32:e=>({cmd:"cmd.exe",args:["/d","/s","/c",e]})},Zp={"cp -rf":{win32:e=>{let t="xcopy /E /S /G /Q /Y",r=e.map(n=>n.endsWith("\\")?n:`${n}\\`).map(n=>n.replace(/\*\\$/,""));return`${t} ${r.join(" ")}`}},ln:{win32:e=>`mklink /D ${e.join(" ")}`},pkill:{win32:e=>`taskkill /T /F /pid ${e.join(" ")}`}},zp=(e,t,r)=>{let n={...Jp,...t},i={...Zp,...r},s=a=>{let l=process.platform,c=n[l];if(c)return c(a);let[u,...d]=a.split(" ");return{cmd:u,args:d}},o=(a=>{let l=Object.entries(i);for(let[c,u]of l)if(a.startsWith(c)){let d=process.platform,f=u[d];if(!f)break;let S=a.slice(c.length).trim().split(" ");return f(S)}return a})(e);return s(o)},ed=process.platform==="linux"||process.platform==="darwin",ui=process.platform==="win32",td={stdio:"pipe",shell:!0,detached:!ui,env:process.env},rd={log:!0,commandTranslations:{},shellTranslations:{},...td},Qt=({log:e=!0,commandTranslations:t={},shellTranslations:r={},...n}=rd)=>{let i=null;return{childProcess:i,async run(s){if(i)throw new Error("Only one command per shell.");if(typeof s=="object"){let l=process.platform;s.posix&&ed&&(l="posix");let c=s[l];if(!c)throw new Error("No command found for platform: "+JSON.stringify({platform:process.platform,command:s}));s=c}let{cmd:o,args:a}=zp(s,r,t);return e&&console.log(Xp.dim(`
17
- $ ${o} ${a.join(" ")}
18
- `)),await new Promise((l,c)=>{i=Mp(o,a,n);let u="",d="";if(!i)throw new Error("Child process was not set.");let f=S=>{i=null;let m={code:S,stdout:u,stderr:d};S===0||S===1&&!ui?l(m):c(m)};i.stdout?.on("data",S=>{u+=S.toString()}),i.stderr?.on("data",S=>{d+=S.toString()}),i.on("close",f),i.on("exit",f),i.on("error",f),i.stdout?.pipe(process.stdout),i.stderr?.pipe(process.stderr)})},kill(s="SIGKILL"){if(i?.pid)if(ui)Dp(`taskkill /t /f /pid ${i.pid}`);else return process.kill(-i.pid,s);return!0}}};import{resolve as Qf}from"path";var dy=ot(Gf(),1);import{copyFile as Ov,mkdir as _y}from"fs/promises";import{dirname as Lv,resolve as Ys}from"path";var Uf={NODE_ENV:"production"};try{let{env:e}=await import("process");e.NODE_ENV&&(Uf.NODE_ENV=e.NODE_ENV)}catch{}var Vs=typeof window>"u"&&Uf.NODE_ENV==="development";import{Console as sy}from"console";var uv=new sy({stdout:process.stdout,stderr:process.stderr,groupIndentation:4});var Vf={"./package.json":"./package.json",".":"./dist/index.js","./*":"./dist/*/index.js"},Wf={packageJson:{type:"module",platform:"node",types:"dist/index.d.ts",files:["dist"],exports:Vf,scripts:{dev:"tsmodule dev",build:"tsmodule build",test:"ava",pretest:"tsmodule build",prepublishOnly:"yarn test",lint:"eslint src --fix"}},files:["tsconfig.json",".eslintrc",".gitignore","tsconfig.export.json","LICENSE","ava.config.mjs"],dependencies:[],devDependencies:["@types/node","@tsmodule/tsmodule","@typescript-eslint/eslint-plugin","@typescript-eslint/parser","ava","eslint","typescript"]},Ot={default:Wf,react:{packageJson:{platform:"browser",style:"dist/bundle.css",exports:{...Vf,"./*":"./dist/components/*/index.js","./styles":"./dist/bundle.css","./styles/*":"./dist/components/*/index.css"},scripts:{export:"tsmodule build",dev:"next dev",build:"next build",start:"next start",lint:"next lint --fix",pretest:"tsmodule build --runtime-only",test:"ava",prepublishOnly:"yarn export && yarn test"}},files:["next-env.d.ts","next.config.js","postcss.config.js","tailwind.config.js"],dependencies:["react@^18.2.0","react-dom@^18.2.0"],devDependencies:[...Wf.devDependencies,"@types/react@^18.0.23","@types/react-dom@^18.0.7","eslint-config-next","@tsmodule/react","next","tailwindcss","autoprefixer","cssnano","postcss","postcss-import"]}};import{dirname as ay,resolve as ly}from"path";import{fileURLToPath as uy}from"url";var Yf=ly(ay(uy(import.meta.url)),"..");import{readFile as fy,writeFile as cy}from"fs/promises";import{resolve as Kf}from"path";var hy=async(e=process.cwd())=>{let t=Kf(e,"package.json");return await fy(t,"utf-8")},py=async(e=process.cwd())=>{let t=await hy(e);return JSON.parse(t)},cn=async(e=process.cwd(),t)=>{let r=Kf(e,"package.json"),n=await py(e);return Object.assign(n,t),await cy(r,JSON.stringify(n,null,2),"utf-8"),n};var gy=e=>Ys(Yf,`./templates/${e}`),Ks=async({template:e,targetDir:t=process.cwd()})=>{let r=Qt(),n=gy(e),i=Ys(t);await _y(i,{recursive:!0}),await r.run({posix:`cp -rf ${n}/. ${i}`,win32:`xcopy /E /I /Q /Y ${n}\\ ${i}\\`})};var Qs=async({template:e,targetDir:t=process.cwd()})=>{let r=Ys(t),n=Ot[e].packageJson;return await cn(r,n)},Xs=async({template:e,targetDir:t=process.cwd()})=>{let r=Qt({cwd:t}),n=[...Ot.default.dependencies],i=[...Ot.default.devDependencies];switch(e){case"react":n.push(...Ot.react.dependencies),i.push(...Ot.react.devDependencies);break}n.length&&await r.run(`yarn add ${n.join(" ")}`),i.length&&await r.run(`yarn add -D ${i.join(" ")}`)};globalThis.SHELL_OPTIONS={stdio:["ignore","ignore","inherit"]};var Vv=async(e,{react:t=!1})=>{let r=si(`Creating new module ${se.blueBright(e)}.`).start(),n={template:"default",targetDir:e};if(await Ks(n),await Qs(n),t){let s={template:"react",targetDir:e};await Ks(s),await Qs(s)}await cn(Qf(process.cwd(),e),{name:e}),r.succeed("Project created."),await Xs({template:"default",targetDir:e}),t&&await Xs({template:"react",targetDir:e}),r.succeed("Dependencies installed."),await Qt({cwd:Qf(e)}).run("git init"),r.succeed("Set up as Git repository.")};export{Vv as create};
19
- /*!
20
- * fill-range <https://github.com/jonschlinkert/fill-range>
21
- *
22
- * Copyright (c) 2014-present, Jon Schlinkert.
23
- * Licensed under the MIT License.
24
- */
25
- /*!
26
- * is-extglob <https://github.com/jonschlinkert/is-extglob>
27
- *
28
- * Copyright (c) 2014-2016, Jon Schlinkert.
29
- * Licensed under the MIT License.
30
- */
31
- /*!
32
- * is-glob <https://github.com/jonschlinkert/is-glob>
33
- *
34
- * Copyright (c) 2014-2017, Jon Schlinkert.
35
- * Released under the MIT License.
36
- */
37
- /*!
38
- * is-number <https://github.com/jonschlinkert/is-number>
39
- *
40
- * Copyright (c) 2014-present, Jon Schlinkert.
41
- * Released under the MIT License.
42
- */
43
- /*!
44
- * to-regex-range <https://github.com/micromatch/to-regex-range>
45
- *
46
- * Copyright (c) 2015-present, Jon Schlinkert.
47
- * Released under the MIT License.
48
- */
49
- /*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
50
- /*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
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",Os={stdio:"pipe",shell:!0,detached:!hr,env:process.env},Cs={log:!0,commandTranslations:{},shellTranslations:{},...Os},xn=({log:e=!0,commandTranslations:t={},shellTranslations:r={},...i}=Cs)=>{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";globalThis.SHELL_OPTIONS={stdio:["ignore","ignore","inherit"]};var sf=async(e,{react:t=!1})=>{let r=sr(`Creating new module ${C.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)}).run("git init"),r.succeed("Set up as Git repository.")};export{sf as create};
51
18
  /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */