@tsmodule/tsmodule 34.0.1 → 36.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,38 +1,39 @@
1
1
 
2
2
  typeof document>"u"&&await(async()=>{let{dirname:e}=await import("path"),{fileURLToPath:i}=await import("url");if(typeof globalThis.__filename>"u"&&(globalThis.__filename=i(import.meta.url)),typeof globalThis.__dirname>"u"&&(globalThis.__dirname=e(globalThis.__filename)),typeof globalThis.require>"u"){let{default:a}=await import("module");globalThis.require=a.createRequire(import.meta.url)}})();
3
3
 
4
- var Xc=Object.create;var Js=Object.defineProperty;var Jc=Object.getOwnPropertyDescriptor;var Zc=Object.getOwnPropertyNames;var zc=Object.getPrototypeOf,eh=Object.prototype.hasOwnProperty;var w=(e=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(e,{get:(t,r)=>(typeof require!="undefined"?require:t)[r]}):e)(function(e){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var g=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var th=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Zc(t))!eh.call(e,i)&&i!==r&&Js(e,i,{get:()=>t[i],enumerable:!(n=Jc(t,i))||n.enumerable});return e};var qe=(e,t,r)=>(r=e!=null?Xc(zc(e)):{},th(t||!e||!e.__esModule?Js(r,"default",{value:e,enumerable:!0}):r,e));var vo=g((bb,kn)=>{"use strict";var bo=(e,t)=>{for(let r of Reflect.ownKeys(t))Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));return e};kn.exports=bo;kn.exports.default=bo});var xo=g((vb,br)=>{"use strict";var $h=vo(),yr=new WeakMap,Eo=(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(yr.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 $h(s,e),yr.set(s,n),s};br.exports=Eo;br.exports.default=Eo;br.exports.callCount=e=>{if(!yr.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return yr.get(e)}});var So=g((Eb,vr)=>{vr.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&vr.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&vr.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var Co=g((xb,vt)=>{var W=global.process,ze=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"};ze(W)?(Ro=w("assert"),yt=So(),wo=/^win/i.test(W.platform),Ht=w("events"),typeof Ht!="function"&&(Ht=Ht.EventEmitter),W.__signal_exit_emitter__?ee=W.__signal_exit_emitter__:(ee=W.__signal_exit_emitter__=new Ht,ee.count=0,ee.emitted={}),ee.infinite||(ee.setMaxListeners(1/0),ee.infinite=!0),vt.exports=function(e,t){if(!ze(global.process))return function(){};Ro.equal(typeof e,"function","a callback must be provided for exit handler"),bt===!1&&Fn();var r="exit";t&&t.alwaysLast&&(r="afterexit");var n=function(){ee.removeListener(r,e),ee.listeners("exit").length===0&&ee.listeners("afterexit").length===0&&Er()};return ee.on(r,e),n},Er=function(){!bt||!ze(global.process)||(bt=!1,yt.forEach(function(t){try{W.removeListener(t,xr[t])}catch{}}),W.emit=Sr,W.reallyExit=qn,ee.count-=1)},vt.exports.unload=Er,et=function(t,r,n){ee.emitted[t]||(ee.emitted[t]=!0,ee.emit(t,r,n))},xr={},yt.forEach(function(e){xr[e]=function(){if(!!ze(global.process)){var r=W.listeners(e);r.length===ee.count&&(Er(),et("exit",null,e),et("afterexit",null,e),wo&&e==="SIGHUP"&&(e="SIGINT"),W.kill(W.pid,e))}}}),vt.exports.signals=function(){return yt},bt=!1,Fn=function(){bt||!ze(global.process)||(bt=!0,ee.count+=1,yt=yt.filter(function(t){try{return W.on(t,xr[t]),!0}catch{return!1}}),W.emit=To,W.reallyExit=Ao)},vt.exports.load=Fn,qn=W.reallyExit,Ao=function(t){!ze(global.process)||(W.exitCode=t||0,et("exit",W.exitCode,null),et("afterexit",W.exitCode,null),qn.call(W,W.exitCode))},Sr=W.emit,To=function(t,r){if(t==="exit"&&ze(global.process)){r!==void 0&&(W.exitCode=r);var n=Sr.apply(this,arguments);return et("exit",W.exitCode,null),et("afterexit",W.exitCode,null),n}else return Sr.apply(this,arguments)}):vt.exports=function(){return function(){}};var Ro,yt,wo,Ht,ee,Er,et,xr,bt,Fn,qn,Ao,Sr,To});var Do=g((Cb,Gh)=>{Gh.exports={dots:{interval:80,frames:["⠋","⠙","⠹","⠸","⠼","⠴","⠦","⠧","⠇","⠏"]},dots2:{interval:80,frames:["⣾","⣽","⣻","⢿","⡿","⣟","⣯","⣷"]},dots3:{interval:80,frames:["⠋","⠙","⠚","⠞","⠖","⠦","⠴","⠲","⠳","⠓"]},dots4:{interval:80,frames:["⠄","⠆","⠇","⠋","⠙","⠸","⠰","⠠","⠰","⠸","⠙","⠋","⠇","⠆"]},dots5:{interval:80,frames:["⠋","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋"]},dots6:{interval:80,frames:["⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠴","⠲","⠒","⠂","⠂","⠒","⠚","⠙","⠉","⠁"]},dots7:{interval:80,frames:["⠈","⠉","⠋","⠓","⠒","⠐","⠐","⠒","⠖","⠦","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈"]},dots8:{interval:80,frames:["⠁","⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈","⠈"]},dots9:{interval:80,frames:["⢹","⢺","⢼","⣸","⣇","⡧","⡗","⡏"]},dots10:{interval:80,frames:["⢄","⢂","⢁","⡁","⡈","⡐","⡠"]},dots11:{interval:100,frames:["⠁","⠂","⠄","⡀","⢀","⠠","⠐","⠈"]},dots12:{interval:80,frames:["⢀⠀","⡀⠀","⠄⠀","⢂⠀","⡂⠀","⠅⠀","⢃⠀","⡃⠀","⠍⠀","⢋⠀","⡋⠀","⠍⠁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⢈⠩","⡀⢙","⠄⡙","⢂⠩","⡂⢘","⠅⡘","⢃⠨","⡃⢐","⠍⡐","⢋⠠","⡋⢀","⠍⡁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⠈⠩","⠀⢙","⠀⡙","⠀⠩","⠀⢘","⠀⡘","⠀⠨","⠀⢐","⠀⡐","⠀⠠","⠀⢀","⠀⡀"]},dots8Bit:{interval:80,frames:["⠀","⠁","⠂","⠃","⠄","⠅","⠆","⠇","⡀","⡁","⡂","⡃","⡄","⡅","⡆","⡇","⠈","⠉","⠊","⠋","⠌","⠍","⠎","⠏","⡈","⡉","⡊","⡋","⡌","⡍","⡎","⡏","⠐","⠑","⠒","⠓","⠔","⠕","⠖","⠗","⡐","⡑","⡒","⡓","⡔","⡕","⡖","⡗","⠘","⠙","⠚","⠛","⠜","⠝","⠞","⠟","⡘","⡙","⡚","⡛","⡜","⡝","⡞","⡟","⠠","⠡","⠢","⠣","⠤","⠥","⠦","⠧","⡠","⡡","⡢","⡣","⡤","⡥","⡦","⡧","⠨","⠩","⠪","⠫","⠬","⠭","⠮","⠯","⡨","⡩","⡪","⡫","⡬","⡭","⡮","⡯","⠰","⠱","⠲","⠳","⠴","⠵","⠶","⠷","⡰","⡱","⡲","⡳","⡴","⡵","⡶","⡷","⠸","⠹","⠺","⠻","⠼","⠽","⠾","⠿","⡸","⡹","⡺","⡻","⡼","⡽","⡾","⡿","⢀","⢁","⢂","⢃","⢄","⢅","⢆","⢇","⣀","⣁","⣂","⣃","⣄","⣅","⣆","⣇","⢈","⢉","⢊","⢋","⢌","⢍","⢎","⢏","⣈","⣉","⣊","⣋","⣌","⣍","⣎","⣏","⢐","⢑","⢒","⢓","⢔","⢕","⢖","⢗","⣐","⣑","⣒","⣓","⣔","⣕","⣖","⣗","⢘","⢙","⢚","⢛","⢜","⢝","⢞","⢟","⣘","⣙","⣚","⣛","⣜","⣝","⣞","⣟","⢠","⢡","⢢","⢣","⢤","⢥","⢦","⢧","⣠","⣡","⣢","⣣","⣤","⣥","⣦","⣧","⢨","⢩","⢪","⢫","⢬","⢭","⢮","⢯","⣨","⣩","⣪","⣫","⣬","⣭","⣮","⣯","⢰","⢱","⢲","⢳","⢴","⢵","⢶","⢷","⣰","⣱","⣲","⣳","⣴","⣵","⣶","⣷","⢸","⢹","⢺","⢻","⢼","⢽","⢾","⢿","⣸","⣹","⣺","⣻","⣼","⣽","⣾","⣿"]},line:{interval:130,frames:["-","\\","|","/"]},line2:{interval:100,frames:["⠂","-","–","—","–","-"]},pipe:{interval:100,frames:["┤","┘","┴","└","├","┌","┬","┐"]},simpleDots:{interval:400,frames:[". ",".. ","..."," "]},simpleDotsScrolling:{interval:200,frames:[". ",".. ","..."," .."," ."," "]},star:{interval:70,frames:["✶","✸","✹","✺","✹","✷"]},star2:{interval:80,frames:["+","x","*"]},flip:{interval:70,frames:["_","_","_","-","`","`","'","´","-","_","_","_"]},hamburger:{interval:100,frames:["☱","☲","☴"]},growVertical:{interval:120,frames:["▁","▃","▄","▅","▆","▇","▆","▅","▄","▃"]},growHorizontal:{interval:120,frames:["▏","▎","▍","▌","▋","▊","▉","▊","▋","▌","▍","▎"]},balloon:{interval:140,frames:[" ",".","o","O","@","*"," "]},balloon2:{interval:120,frames:[".","o","O","°","O","o","."]},noise:{interval:100,frames:["▓","▒","░"]},bounce:{interval:120,frames:["⠁","⠂","⠄","⠂"]},boxBounce:{interval:120,frames:["▖","▘","▝","▗"]},boxBounce2:{interval:100,frames:["▌","▀","▐","▄"]},triangle:{interval:50,frames:["◢","◣","◤","◥"]},arc:{interval:100,frames:["◜","◠","◝","◞","◡","◟"]},circle:{interval:120,frames:["◡","⊙","◠"]},squareCorners:{interval:180,frames:["◰","◳","◲","◱"]},circleQuarters:{interval:120,frames:["◴","◷","◶","◵"]},circleHalves:{interval:50,frames:["◐","◓","◑","◒"]},squish:{interval:100,frames:["╫","╪"]},toggle:{interval:250,frames:["⊶","⊷"]},toggle2:{interval:80,frames:["▫","▪"]},toggle3:{interval:120,frames:["□","■"]},toggle4:{interval:100,frames:["■","□","▪","▫"]},toggle5:{interval:100,frames:["▮","▯"]},toggle6:{interval:300,frames:["ဝ","၀"]},toggle7:{interval:80,frames:["⦾","⦿"]},toggle8:{interval:100,frames:["◍","◌"]},toggle9:{interval:100,frames:["◉","◎"]},toggle10:{interval:100,frames:["㊂","㊀","㊁"]},toggle11:{interval:50,frames:["⧇","⧆"]},toggle12:{interval:120,frames:["☗","☖"]},toggle13:{interval:80,frames:["=","*","-"]},arrow:{interval:100,frames:["←","↖","↑","↗","→","↘","↓","↙"]},arrow2:{interval:80,frames:["⬆️ ","↗️ ","➡️ ","↘️ ","⬇️ ","↙️ ","⬅️ ","↖️ "]},arrow3:{interval:120,frames:["▹▹▹▹▹","▸▹▹▹▹","▹▸▹▹▹","▹▹▸▹▹","▹▹▹▸▹","▹▹▹▹▸"]},bouncingBar:{interval:80,frames:["[ ]","[= ]","[== ]","[=== ]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},bouncingBall:{interval:80,frames:["( ● )","( ● )","( ● )","( ● )","( ●)","( ● )","( ● )","( ● )","( ● )","(● )"]},smiley:{interval:200,frames:["😄 ","😝 "]},monkey:{interval:300,frames:["🙈 ","🙈 ","🙉 ","🙊 "]},hearts:{interval:100,frames:["💛 ","💙 ","💜 ","💚 ","❤️ "]},clock:{interval:100,frames:["🕛 ","🕐 ","🕑 ","🕒 ","🕓 ","🕔 ","🕕 ","🕖 ","🕗 ","🕘 ","🕙 ","🕚 "]},earth:{interval:180,frames:["🌍 ","🌎 ","🌏 "]},material:{interval:17,frames:["█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","███▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","████▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁","███████▁▁▁▁▁▁▁▁▁▁▁▁▁","████████▁▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","██████████▁▁▁▁▁▁▁▁▁▁","███████████▁▁▁▁▁▁▁▁▁","█████████████▁▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁▁██████████████▁▁▁▁","▁▁▁██████████████▁▁▁","▁▁▁▁█████████████▁▁▁","▁▁▁▁██████████████▁▁","▁▁▁▁██████████████▁▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁▁██████████████","▁▁▁▁▁▁██████████████","▁▁▁▁▁▁▁█████████████","▁▁▁▁▁▁▁█████████████","▁▁▁▁▁▁▁▁████████████","▁▁▁▁▁▁▁▁████████████","▁▁▁▁▁▁▁▁▁███████████","▁▁▁▁▁▁▁▁▁███████████","▁▁▁▁▁▁▁▁▁▁██████████","▁▁▁▁▁▁▁▁▁▁██████████","▁▁▁▁▁▁▁▁▁▁▁▁████████","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁██████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","███▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","████▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","██████▁▁▁▁▁▁▁▁▁▁▁▁▁█","████████▁▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","███████████▁▁▁▁▁▁▁▁▁","████████████▁▁▁▁▁▁▁▁","████████████▁▁▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁▁▁█████████████▁▁▁▁","▁▁▁▁▁████████████▁▁▁","▁▁▁▁▁████████████▁▁▁","▁▁▁▁▁▁███████████▁▁▁","▁▁▁▁▁▁▁▁█████████▁▁▁","▁▁▁▁▁▁▁▁█████████▁▁▁","▁▁▁▁▁▁▁▁▁█████████▁▁","▁▁▁▁▁▁▁▁▁█████████▁▁","▁▁▁▁▁▁▁▁▁▁█████████▁","▁▁▁▁▁▁▁▁▁▁▁████████▁","▁▁▁▁▁▁▁▁▁▁▁████████▁","▁▁▁▁▁▁▁▁▁▁▁▁███████▁","▁▁▁▁▁▁▁▁▁▁▁▁███████▁","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁"]},moon:{interval:80,frames:["🌑 ","🌒 ","🌓 ","🌔 ","🌕 ","🌖 ","🌗 ","🌘 "]},runner:{interval:140,frames:["🚶 ","🏃 "]},pong:{interval:80,frames:["▐⠂ ▌","▐⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂▌","▐ ⠠▌","▐ ⡀▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐⠠ ▌"]},shark:{interval:120,frames:["▐|\\____________▌","▐_|\\___________▌","▐__|\\__________▌","▐___|\\_________▌","▐____|\\________▌","▐_____|\\_______▌","▐______|\\______▌","▐_______|\\_____▌","▐________|\\____▌","▐_________|\\___▌","▐__________|\\__▌","▐___________|\\_▌","▐____________|\\▌","▐____________/|▌","▐___________/|_▌","▐__________/|__▌","▐_________/|___▌","▐________/|____▌","▐_______/|_____▌","▐______/|______▌","▐_____/|_______▌","▐____/|________▌","▐___/|_________▌","▐__/|__________▌","▐_/|___________▌","▐/|____________▌"]},dqpb:{interval:100,frames:["d","q","p","b"]},weather:{interval:100,frames:["☀️ ","☀️ ","☀️ ","🌤 ","⛅️ ","🌥 ","☁️ ","🌧 ","🌨 ","🌧 ","🌨 ","🌧 ","🌨 ","⛈ ","🌨 ","🌧 ","🌨 ","☁️ ","🌥 ","⛅️ ","🌤 ","☀️ ","☀️ "]},christmas:{interval:400,frames:["🌲","🎄"]},grenade:{interval:80,frames:["، ","′ "," ´ "," ‾ "," ⸌"," ⸊"," |"," ⁎"," ⁕"," ෴ "," ⁓"," "," "," "]},point:{interval:125,frames:["∙∙∙","●∙∙","∙●∙","∙∙●","∙∙∙"]},layer:{interval:150,frames:["-","=","≡"]},betaWave:{interval:80,frames:["ρββββββ","βρβββββ","ββρββββ","βββρβββ","ββββρββ","βββββρβ","ββββββρ"]},fingerDance:{interval:160,frames:["🤘 ","🤟 ","🖖 ","✋ ","🤚 ","👆 "]},fistBump:{interval:80,frames:["🤜    🤛 ","🤜    🤛 ","🤜    🤛 "," 🤜  🤛  ","  🤜🤛   "," 🤜✨🤛   ","🤜 ✨ 🤛  "]},soccerHeader:{interval:80,frames:[" 🧑⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 "]},mindblown:{interval:160,frames:["😐 ","😐 ","😮 ","😮 ","😦 ","😦 ","😧 ","😧 ","🤯 ","💥 ","✨ ","  ","  ","  "]},speaker:{interval:160,frames:["🔈 ","🔉 ","🔊 ","🔉 "]},orangePulse:{interval:100,frames:["🔸 ","🔶 ","🟠 ","🟠 ","🔶 "]},bluePulse:{interval:100,frames:["🔹 ","🔷 ","🔵 ","🔵 ","🔷 "]},orangeBluePulse:{interval:100,frames:["🔸 ","🔶 ","🟠 ","🟠 ","🔶 ","🔹 ","🔷 ","🔵 ","🔵 ","🔷 "]},timeTravel:{interval:100,frames:["🕛 ","🕚 ","🕙 ","🕘 ","🕗 ","🕖 ","🕕 ","🕔 ","🕓 ","🕒 ","🕑 ","🕐 "]},aesthetic:{interval:80,frames:["▰▱▱▱▱▱▱","▰▰▱▱▱▱▱","▰▰▰▱▱▱▱","▰▰▰▰▱▱▱","▰▰▰▰▰▱▱","▰▰▰▰▰▰▱","▰▰▰▰▰▰▰","▰▱▱▱▱▱▱"]}}});var Io=g((Ob,No)=>{"use strict";var wr=Object.assign({},Do()),Bo=Object.keys(wr);Object.defineProperty(wr,"random",{get(){let e=Math.floor(Math.random()*Bo.length),t=Bo[e];return wr[t]}});No.exports=wr});var ko=g((Fb,Ar)=>{var Kh=function(){"use strict";function e(o,a,u,f){var l;typeof a=="object"&&(u=a.depth,f=a.prototype,l=a.filter,a=a.circular);var h=[],c=[],x=typeof Buffer<"u";typeof a>"u"&&(a=!0),typeof u>"u"&&(u=1/0);function y(m,S){if(m===null)return null;if(S==0)return m;var E,M;if(typeof m!="object")return m;if(e.__isArray(m))E=[];else if(e.__isRegExp(m))E=new RegExp(m.source,s(m)),m.lastIndex&&(E.lastIndex=m.lastIndex);else if(e.__isDate(m))E=new Date(m.getTime());else{if(x&&Buffer.isBuffer(m))return Buffer.allocUnsafe?E=Buffer.allocUnsafe(m.length):E=new Buffer(m.length),m.copy(E),E;typeof f>"u"?(M=Object.getPrototypeOf(m),E=Object.create(M)):(E=Object.create(f),M=f)}if(a){var B=h.indexOf(m);if(B!=-1)return c[B];h.push(m),c.push(E)}for(var Z in m){var C;M&&(C=Object.getOwnPropertyDescriptor(M,Z)),!(C&&C.set==null)&&(E[Z]=y(m[Z],S-1))}return E}return y(o,u)}e.clonePrototype=function(a){if(a===null)return null;var u=function(){};return u.prototype=a,new u};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 Ar=="object"&&Ar.exports&&(Ar.exports=Kh)});var qo=g((qb,Fo)=>{var Qh=ko();Fo.exports=function(e,t){return e=e||{},Object.keys(t).forEach(function(r){typeof e[r]>"u"&&(e[r]=Qh(t[r]))}),e}});var $o=g((jb,jo)=>{jo.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 Wo=g(($b,Un)=>{"use strict";var Xh=qo(),Wt=$o(),Uo={nul:0,control:0};Un.exports=function(t){return Go(t,Uo)};Un.exports.config=function(e){return e=Xh(e||{},Uo),function(r){return Go(r,e)}};function Go(e,t){if(typeof e!="string")return Ho(e,t);for(var r=0,n=0;n<e.length;n++){var i=Ho(e.charCodeAt(n),t);if(i<0)return-1;r+=i}return r}function Ho(e,t){return e===0?t.nul:e<32||e>=127&&e<160?t.control:Jh(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 Jh(e){var t=0,r=Wt.length-1,n;if(e<Wt[0][0]||e>Wt[r][1])return!1;for(;r>=t;)if(n=Math.floor((t+r)/2),e>Wt[n][1])t=n+1;else if(e<Wt[n][0])r=n-1;else return!0;return!1}});var Wn=g((Ub,Vo)=>{Vo.exports=w("stream")});var Xo=g((Gb,Qo)=>{"use strict";function Yo(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 Zh(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Yo(Object(r),!0).forEach(function(n){zh(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Yo(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function zh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ed(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ko(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 td(e,t,r){return t&&Ko(e.prototype,t),r&&Ko(e,r),e}var rd=w("buffer"),Tr=rd.Buffer,nd=w("util"),Vn=nd.inspect,id=Vn&&Vn.custom||"inspect";function sd(e,t,r){Tr.prototype.copy.call(e,t,r)}Qo.exports=function(){function e(){ed(this,e),this.head=null,this.tail=null,this.length=0}return td(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 Tr.alloc(0);for(var n=Tr.allocUnsafe(r>>>0),i=this.head,s=0;i;)sd(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=Tr.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:id,value:function(r,n){return Vn(this,Zh({},n,{depth:0,customInspect:!1}))}}]),e}()});var Kn=g((Wb,Zo)=>{"use strict";function od(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(Yn,this,e)):process.nextTick(Yn,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(Cr,r):(r._writableState.errorEmitted=!0,process.nextTick(Jo,r,s)):process.nextTick(Jo,r,s):t?(process.nextTick(Cr,r),t(s)):process.nextTick(Cr,r)}),this)}function Jo(e,t){Yn(e,t),Cr(e)}function Cr(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function ad(){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 Yn(e,t){e.emit("error",t)}function ud(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}Zo.exports={destroy:od,undestroy:ad,errorOrDestroy:ud}});var je=g((Vb,ta)=>{"use strict";var ea={};function he(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,u){super(n(o,a,u))}}i.prototype.name=r.name,i.prototype.code=e,ea[e]=i}function zo(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 ld(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}function fd(e,t,r){return(r===void 0||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function cd(e,t,r){return typeof r!="number"&&(r=0),r+t.length>e.length?!1:e.indexOf(t,r)!==-1}he("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError);he("ERR_INVALID_ARG_TYPE",function(e,t,r){let n;typeof t=="string"&&ld(t,"not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be";let i;if(fd(e," argument"))i=`The ${e} ${n} ${zo(t,"type")}`;else{let s=cd(e,".")?"property":"argument";i=`The "${e}" ${s} ${n} ${zo(t,"type")}`}return i+=`. Received type ${typeof r}`,i},TypeError);he("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");he("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"});he("ERR_STREAM_PREMATURE_CLOSE","Premature close");he("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"});he("ERR_MULTIPLE_CALLBACK","Callback called multiple times");he("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");he("ERR_STREAM_WRITE_AFTER_END","write after end");he("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);he("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError);he("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");ta.exports.codes=ea});var Qn=g((Yb,ra)=>{"use strict";var hd=je().codes.ERR_INVALID_OPT_VALUE;function dd(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function pd(e,t,r,n){var i=dd(t,n,r);if(i!=null){if(!(isFinite(i)&&Math.floor(i)===i)||i<0){var s=n?r:"highWaterMark";throw new hd(s,i)}return Math.floor(i)}return e.objectMode?16:16*1024}ra.exports={getHighWaterMark:pd}});var na=g((Kb,Xn)=>{typeof Object.create=="function"?Xn.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Xn.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 tt=g((Qb,Zn)=>{try{if(Jn=w("util"),typeof Jn.inherits!="function")throw"";Zn.exports=Jn.inherits}catch{Zn.exports=na()}var Jn});var sa=g((Xb,ia)=>{ia.exports=w("util").deprecate});var ti=g((Jb,ca)=>{"use strict";ca.exports=K;function aa(e){var t=this;this.next=null,this.entry=null,this.finish=function(){$d(t,e)}}var xt;K.WritableState=Yt;var _d={deprecate:sa()},ua=Wn(),Pr=w("buffer").Buffer,gd=global.Uint8Array||function(){};function md(e){return Pr.from(e)}function yd(e){return Pr.isBuffer(e)||e instanceof gd}var ei=Kn(),bd=Qn(),vd=bd.getHighWaterMark,$e=je().codes,Ed=$e.ERR_INVALID_ARG_TYPE,xd=$e.ERR_METHOD_NOT_IMPLEMENTED,Sd=$e.ERR_MULTIPLE_CALLBACK,Rd=$e.ERR_STREAM_CANNOT_PIPE,wd=$e.ERR_STREAM_DESTROYED,Ad=$e.ERR_STREAM_NULL_VALUES,Td=$e.ERR_STREAM_WRITE_AFTER_END,Cd=$e.ERR_UNKNOWN_ENCODING,St=ei.errorOrDestroy;tt()(K,ua);function Od(){}function Yt(e,t,r){xt=xt||rt(),e=e||{},typeof r!="boolean"&&(r=t instanceof xt),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=vd(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){Id(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 aa(this)}Yt.prototype.getBuffer=function(){for(var t=this.bufferedRequest,r=[];t;)r.push(t),t=t.next;return r};(function(){try{Object.defineProperty(Yt.prototype,"buffer",{get:_d.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var Or;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Or=Function.prototype[Symbol.hasInstance],Object.defineProperty(K,Symbol.hasInstance,{value:function(t){return Or.call(this,t)?!0:this!==K?!1:t&&t._writableState instanceof Yt}})):Or=function(t){return t instanceof this};function K(e){xt=xt||rt();var t=this instanceof xt;if(!t&&!Or.call(K,this))return new K(e);this._writableState=new Yt(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)),ua.call(this)}K.prototype.pipe=function(){St(this,new Rd)};function Pd(e,t){var r=new Td;St(e,r),process.nextTick(t,r)}function Ld(e,t,r,n){var i;return r===null?i=new Ad:typeof r!="string"&&!t.objectMode&&(i=new Ed("chunk",["string","Buffer"],r)),i?(St(e,i),process.nextTick(n,i),!1):!0}K.prototype.write=function(e,t,r){var n=this._writableState,i=!1,s=!n.objectMode&&yd(e);return s&&!Pr.isBuffer(e)&&(e=md(e)),typeof t=="function"&&(r=t,t=null),s?t="buffer":t||(t=n.defaultEncoding),typeof r!="function"&&(r=Od),n.ending?Pd(this,r):(s||Ld(this,n,e,r))&&(n.pendingcb++,i=Dd(this,n,s,e,t,r)),i};K.prototype.cork=function(){this._writableState.corked++};K.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest&&la(this,e))};K.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 Cd(t);return this._writableState.defaultEncoding=t,this};Object.defineProperty(K.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Md(e,t,r){return!e.objectMode&&e.decodeStrings!==!1&&typeof t=="string"&&(t=Pr.from(t,r)),t}Object.defineProperty(K.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Dd(e,t,r,n,i,s){if(!r){var o=Md(t,n,i);n!==o&&(r=!0,i="buffer",n=o)}var a=t.objectMode?1:n.length;t.length+=a;var u=t.length<t.highWaterMark;if(u||(t.needDrain=!0),t.writing||t.corked){var f=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:s,next:null},f?f.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else zn(e,t,!1,a,n,i,s);return u}function zn(e,t,r,n,i,s,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new wd("write")):r?e._writev(i,t.onwrite):e._write(i,s,t.onwrite),t.sync=!1}function Bd(e,t,r,n,i){--t.pendingcb,r?(process.nextTick(i,n),process.nextTick(Vt,e,t),e._writableState.errorEmitted=!0,St(e,n)):(i(n),e._writableState.errorEmitted=!0,St(e,n),Vt(e,t))}function Nd(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function Id(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(typeof i!="function")throw new Sd;if(Nd(r),t)Bd(e,r,n,t,i);else{var s=fa(r)||e.destroyed;!s&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&la(e,r),n?process.nextTick(oa,e,r,s,i):oa(e,r,s,i)}}function oa(e,t,r,n){r||kd(e,t),t.pendingcb--,n(),Vt(e,t)}function kd(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function la(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,zn(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 aa(t),t.bufferedRequestCount=0}else{for(;r;){var u=r.chunk,f=r.encoding,l=r.callback,h=t.objectMode?1:u.length;if(zn(e,t,!1,h,u,f,l),r=r.next,t.bufferedRequestCount--,t.writing)break}r===null&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}K.prototype._write=function(e,t,r){r(new xd("_write()"))};K.prototype._writev=null;K.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||jd(this,n,r),this};Object.defineProperty(K.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function fa(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function Fd(e,t){e._final(function(r){t.pendingcb--,r&&St(e,r),t.prefinished=!0,e.emit("prefinish"),Vt(e,t)})}function qd(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final=="function"&&!t.destroyed?(t.pendingcb++,t.finalCalled=!0,process.nextTick(Fd,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function Vt(e,t){var r=fa(t);if(r&&(qd(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 jd(e,t,r){t.ending=!0,Vt(e,t),r&&(t.finished?process.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function $d(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(K.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(t){!this._writableState||(this._writableState.destroyed=t)}});K.prototype.destroy=ei.destroy;K.prototype._undestroy=ei.undestroy;K.prototype._destroy=function(e,t){t(e)}});var rt=g((Zb,da)=>{"use strict";var Hd=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};da.exports=we;var ha=ii(),ni=ti();tt()(we,ha);for(ri=Hd(ni.prototype),Lr=0;Lr<ri.length;Lr++)Mr=ri[Lr],we.prototype[Mr]||(we.prototype[Mr]=ni.prototype[Mr]);var ri,Mr,Lr;function we(e){if(!(this instanceof we))return new we(e);ha.call(this,e),ni.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",Ud)))}Object.defineProperty(we.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});Object.defineProperty(we.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(we.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function Ud(){this._writableState.ended||process.nextTick(Gd,this)}function Gd(e){e.end()}Object.defineProperty(we.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 ga=g((si,_a)=>{var Dr=w("buffer"),Ae=Dr.Buffer;function pa(e,t){for(var r in e)t[r]=e[r]}Ae.from&&Ae.alloc&&Ae.allocUnsafe&&Ae.allocUnsafeSlow?_a.exports=Dr:(pa(Dr,si),si.Buffer=nt);function nt(e,t,r){return Ae(e,t,r)}nt.prototype=Object.create(Ae.prototype);pa(Ae,nt);nt.from=function(e,t,r){if(typeof e=="number")throw new TypeError("Argument must not be a number");return Ae(e,t,r)};nt.alloc=function(e,t,r){if(typeof e!="number")throw new TypeError("Argument must be a number");var n=Ae(e);return t!==void 0?typeof r=="string"?n.fill(t,r):n.fill(t):n.fill(0),n};nt.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Ae(e)};nt.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Dr.SlowBuffer(e)}});var ui=g(ya=>{"use strict";var ai=ga().Buffer,ma=ai.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 Wd(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 Vd(e){var t=Wd(e);if(typeof t!="string"&&(ai.isEncoding===ma||!ma(e)))throw new Error("Unknown encoding: "+e);return t||e}ya.StringDecoder=Kt;function Kt(e){this.encoding=Vd(e);var t;switch(this.encoding){case"utf16le":this.text=Zd,this.end=zd,t=4;break;case"utf8":this.fillLast=Qd,t=4;break;case"base64":this.text=ep,this.end=tp,t=3;break;default:this.write=rp,this.end=np;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=ai.allocUnsafe(t)}Kt.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||""};Kt.prototype.end=Jd;Kt.prototype.text=Xd;Kt.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 oi(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function Yd(e,t,r){var n=t.length-1;if(n<r)return 0;var i=oi(t[n]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--n<r||i===-2?0:(i=oi(t[n]),i>=0?(i>0&&(e.lastNeed=i-2),i):--n<r||i===-2?0:(i=oi(t[n]),i>=0?(i>0&&(i===2?i=0:e.lastNeed=i-3),i):0))}function Kd(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 Qd(e){var t=this.lastTotal-this.lastNeed,r=Kd(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 Xd(e,t){var r=Yd(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 Jd(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function Zd(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 zd(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 ep(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 tp(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function rp(e){return e.toString(this.encoding)}function np(e){return e&&e.length?this.write(e):""}});var Br=g((ev,Ea)=>{"use strict";var ba=je().codes.ERR_STREAM_PREMATURE_CLOSE;function ip(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 sp(){}function op(e){return e.setHeader&&typeof e.abort=="function"}function va(e,t,r){if(typeof t=="function")return va(e,null,t);t||(t={}),r=ip(r||sp);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)},u=e._readableState&&e._readableState.endEmitted,f=function(){n=!1,u=!0,i||r.call(e)},l=function(y){r.call(e,y)},h=function(){var y;if(n&&!u)return(!e._readableState||!e._readableState.ended)&&(y=new ba),r.call(e,y);if(i&&!o)return(!e._writableState||!e._writableState.ended)&&(y=new ba),r.call(e,y)},c=function(){e.req.on("finish",a)};return op(e)?(e.on("complete",a),e.on("abort",h),e.req?c():e.on("request",c)):i&&!e._writableState&&(e.on("end",s),e.on("close",s)),e.on("end",f),e.on("finish",a),t.error!==!1&&e.on("error",l),e.on("close",h),function(){e.removeListener("complete",a),e.removeListener("abort",h),e.removeListener("request",c),e.req&&e.req.removeListener("finish",a),e.removeListener("end",s),e.removeListener("close",s),e.removeListener("finish",a),e.removeListener("end",f),e.removeListener("error",l),e.removeListener("close",h)}}Ea.exports=va});var Sa=g((tv,xa)=>{"use strict";var Nr;function He(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ap=Br(),Ue=Symbol("lastResolve"),it=Symbol("lastReject"),Qt=Symbol("error"),Ir=Symbol("ended"),st=Symbol("lastPromise"),li=Symbol("handlePromise"),ot=Symbol("stream");function Ge(e,t){return{value:e,done:t}}function up(e){var t=e[Ue];if(t!==null){var r=e[ot].read();r!==null&&(e[st]=null,e[Ue]=null,e[it]=null,t(Ge(r,!1)))}}function lp(e){process.nextTick(up,e)}function fp(e,t){return function(r,n){e.then(function(){if(t[Ir]){r(Ge(void 0,!0));return}t[li](r,n)},n)}}var cp=Object.getPrototypeOf(function(){}),hp=Object.setPrototypeOf((Nr={get stream(){return this[ot]},next:function(){var t=this,r=this[Qt];if(r!==null)return Promise.reject(r);if(this[Ir])return Promise.resolve(Ge(void 0,!0));if(this[ot].destroyed)return new Promise(function(o,a){process.nextTick(function(){t[Qt]?a(t[Qt]):o(Ge(void 0,!0))})});var n=this[st],i;if(n)i=new Promise(fp(n,this));else{var s=this[ot].read();if(s!==null)return Promise.resolve(Ge(s,!1));i=new Promise(this[li])}return this[st]=i,i}},He(Nr,Symbol.asyncIterator,function(){return this}),He(Nr,"return",function(){var t=this;return new Promise(function(r,n){t[ot].destroy(null,function(i){if(i){n(i);return}r(Ge(void 0,!0))})})}),Nr),cp),dp=function(t){var r,n=Object.create(hp,(r={},He(r,ot,{value:t,writable:!0}),He(r,Ue,{value:null,writable:!0}),He(r,it,{value:null,writable:!0}),He(r,Qt,{value:null,writable:!0}),He(r,Ir,{value:t._readableState.endEmitted,writable:!0}),He(r,li,{value:function(s,o){var a=n[ot].read();a?(n[st]=null,n[Ue]=null,n[it]=null,s(Ge(a,!1))):(n[Ue]=s,n[it]=o)},writable:!0}),r));return n[st]=null,ap(t,function(i){if(i&&i.code!=="ERR_STREAM_PREMATURE_CLOSE"){var s=n[it];s!==null&&(n[st]=null,n[Ue]=null,n[it]=null,s(i)),n[Qt]=i;return}var o=n[Ue];o!==null&&(n[st]=null,n[Ue]=null,n[it]=null,o(Ge(void 0,!0))),n[Ir]=!0}),t.on("readable",lp.bind(null,n)),n};xa.exports=dp});var Ta=g((rv,Aa)=>{"use strict";function Ra(e,t,r,n,i,s,o){try{var a=e[s](o),u=a.value}catch(f){r(f);return}a.done?t(u):Promise.resolve(u).then(n,i)}function pp(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var s=e.apply(t,r);function o(u){Ra(s,n,i,o,a,"next",u)}function a(u){Ra(s,n,i,o,a,"throw",u)}o(void 0)})}}function wa(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 _p(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?wa(Object(r),!0).forEach(function(n){gp(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wa(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function gp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var mp=je().codes.ERR_INVALID_ARG_TYPE;function yp(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 mp("iterable",["Iterable"],t);var i=new e(_p({objectMode:!0},r)),s=!1;i._read=function(){s||(s=!0,o())};function o(){return a.apply(this,arguments)}function a(){return a=pp(function*(){try{var u=yield n.next(),f=u.value,l=u.done;l?i.push(null):i.push(yield f)?o():s=!1}catch(h){i.destroy(h)}}),a.apply(this,arguments)}return i}Aa.exports=yp});var ii=g((iv,ka)=>{"use strict";ka.exports=I;var Rt;I.ReadableState=La;var nv=w("events").EventEmitter,Pa=function(t,r){return t.listeners(r).length},Jt=Wn(),kr=w("buffer").Buffer,bp=global.Uint8Array||function(){};function vp(e){return kr.from(e)}function Ep(e){return kr.isBuffer(e)||e instanceof bp}var fi=w("util"),L;fi&&fi.debuglog?L=fi.debuglog("stream"):L=function(){};var xp=Xo(),mi=Kn(),Sp=Qn(),Rp=Sp.getHighWaterMark,Fr=je().codes,wp=Fr.ERR_INVALID_ARG_TYPE,Ap=Fr.ERR_STREAM_PUSH_AFTER_EOF,Tp=Fr.ERR_METHOD_NOT_IMPLEMENTED,Cp=Fr.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,wt,ci,hi;tt()(I,Jt);var Xt=mi.errorOrDestroy,di=["error","close","destroy","pause","resume"];function Op(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 La(e,t,r){Rt=Rt||rt(),e=e||{},typeof r!="boolean"&&(r=t instanceof Rt),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=Rp(this,e,"readableHighWaterMark",r),this.buffer=new xp,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&&(wt||(wt=ui().StringDecoder),this.decoder=new wt(e.encoding),this.encoding=e.encoding)}function I(e){if(Rt=Rt||rt(),!(this instanceof I))return new I(e);var t=this instanceof Rt;this._readableState=new La(e,this,t),this.readable=!0,e&&(typeof e.read=="function"&&(this._read=e.read),typeof e.destroy=="function"&&(this._destroy=e.destroy)),Jt.call(this)}Object.defineProperty(I.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(t){!this._readableState||(this._readableState.destroyed=t)}});I.prototype.destroy=mi.destroy;I.prototype._undestroy=mi.undestroy;I.prototype._destroy=function(e,t){t(e)};I.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=kr.from(e,t),t=""),n=!0),Ma(this,e,t,!1,n)};I.prototype.unshift=function(e){return Ma(this,e,null,!0,!1)};function Ma(e,t,r,n,i){L("readableAddChunk",t);var s=e._readableState;if(t===null)s.reading=!1,Mp(e,s);else{var o;if(i||(o=Pp(s,t)),o)Xt(e,o);else if(s.objectMode||t&&t.length>0)if(typeof t!="string"&&!s.objectMode&&Object.getPrototypeOf(t)!==kr.prototype&&(t=vp(t)),n)s.endEmitted?Xt(e,new Cp):pi(e,s,t,!0);else if(s.ended)Xt(e,new Ap);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||t.length!==0?pi(e,s,t,!1):gi(e,s)):pi(e,s,t,!1)}else n||(s.reading=!1,gi(e,s))}return!s.ended&&(s.length<s.highWaterMark||s.length===0)}function pi(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&&qr(e)),gi(e,t)}function Pp(e,t){var r;return!Ep(t)&&typeof t!="string"&&t!==void 0&&!e.objectMode&&(r=new wp("chunk",["string","Buffer","Uint8Array"],t)),r}I.prototype.isPaused=function(){return this._readableState.flowing===!1};I.prototype.setEncoding=function(e){wt||(wt=ui().StringDecoder);var t=new wt(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 Ca=1073741824;function Lp(e){return e>=Ca?e=Ca:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function Oa(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=Lp(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}I.prototype.read=function(e){L("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 L("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?_i(this):qr(this),null;if(e=Oa(e,t),e===0&&t.ended)return t.length===0&&_i(this),null;var n=t.needReadable;L("need readable",n),(t.length===0||t.length-e<t.highWaterMark)&&(n=!0,L("length less than watermark",n)),t.ended||t.reading?(n=!1,L("reading or ended",n)):n&&(L("do read"),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=Oa(r,t)));var i;return e>0?i=Na(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&&_i(this)),i!==null&&this.emit("data",i),i};function Mp(e,t){if(L("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?qr(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,Da(e)))}}function qr(e){var t=e._readableState;L("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(L("emitReadable",t.flowing),t.emittedReadable=!0,process.nextTick(Da,e))}function Da(e){var t=e._readableState;L("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,yi(e)}function gi(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(Dp,e,t))}function Dp(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&t.length===0);){var r=t.length;if(L("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}I.prototype._read=function(e){Xt(this,new Tp("_read()"))};I.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,L("pipe count=%d opts=%j",n.pipesCount,t);var i=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,s=i?a:m;n.endEmitted?process.nextTick(s):r.once("end",s),e.on("unpipe",o);function o(S,E){L("onunpipe"),S===r&&E&&E.hasUnpiped===!1&&(E.hasUnpiped=!0,l())}function a(){L("onend"),e.end()}var u=Bp(r);e.on("drain",u);var f=!1;function l(){L("cleanup"),e.removeListener("close",x),e.removeListener("finish",y),e.removeListener("drain",u),e.removeListener("error",c),e.removeListener("unpipe",o),r.removeListener("end",a),r.removeListener("end",m),r.removeListener("data",h),f=!0,n.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&u()}r.on("data",h);function h(S){L("ondata");var E=e.write(S);L("dest.write",E),E===!1&&((n.pipesCount===1&&n.pipes===e||n.pipesCount>1&&Ia(n.pipes,e)!==-1)&&!f&&(L("false write response, pause",n.awaitDrain),n.awaitDrain++),r.pause())}function c(S){L("onerror",S),m(),e.removeListener("error",c),Pa(e,"error")===0&&Xt(e,S)}Op(e,"error",c);function x(){e.removeListener("finish",y),m()}e.once("close",x);function y(){L("onfinish"),e.removeListener("close",x),m()}e.once("finish",y);function m(){L("unpipe"),r.unpipe(e)}return e.emit("pipe",r),n.flowing||(L("pipe resume"),r.resume()),e};function Bp(e){return function(){var r=e._readableState;L("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,r.awaitDrain===0&&Pa(e,"data")&&(r.flowing=!0,yi(e))}}I.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=Ia(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)};I.prototype.on=function(e,t){var r=Jt.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,L("on readable",n.length,n.reading),n.length?qr(this):n.reading||process.nextTick(Np,this)),r};I.prototype.addListener=I.prototype.on;I.prototype.removeListener=function(e,t){var r=Jt.prototype.removeListener.call(this,e,t);return e==="readable"&&process.nextTick(Ba,this),r};I.prototype.removeAllListeners=function(e){var t=Jt.prototype.removeAllListeners.apply(this,arguments);return(e==="readable"||e===void 0)&&process.nextTick(Ba,this),t};function Ba(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 Np(e){L("readable nexttick read 0"),e.read(0)}I.prototype.resume=function(){var e=this._readableState;return e.flowing||(L("resume"),e.flowing=!e.readableListening,Ip(this,e)),e.paused=!1,this};function Ip(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(kp,e,t))}function kp(e,t){L("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),yi(e),t.flowing&&!t.reading&&e.read(0)}I.prototype.pause=function(){return L("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(L("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function yi(e){var t=e._readableState;for(L("flow",t.flowing);t.flowing&&e.read()!==null;);}I.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;e.on("end",function(){if(L("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(L("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<di.length;s++)e.on(di[s],this.emit.bind(this,di[s]));return this._read=function(o){L("wrapped _read",o),n&&(n=!1,e.resume())},this};typeof Symbol=="function"&&(I.prototype[Symbol.asyncIterator]=function(){return ci===void 0&&(ci=Sa()),ci(this)});Object.defineProperty(I.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Object.defineProperty(I.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}});Object.defineProperty(I.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}});I._fromList=Na;Object.defineProperty(I.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function Na(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 _i(e){var t=e._readableState;L("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(Fp,t,e))}function Fp(e,t){if(L("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"&&(I.from=function(e,t){return hi===void 0&&(hi=Ta()),hi(I,e,t)});function Ia(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}});var bi=g((sv,qa)=>{"use strict";qa.exports=Be;var jr=je().codes,qp=jr.ERR_METHOD_NOT_IMPLEMENTED,jp=jr.ERR_MULTIPLE_CALLBACK,$p=jr.ERR_TRANSFORM_ALREADY_TRANSFORMING,Hp=jr.ERR_TRANSFORM_WITH_LENGTH_0,$r=rt();tt()(Be,$r);function Up(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(n===null)return this.emit("error",new jp);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 Be(e){if(!(this instanceof Be))return new Be(e);$r.call(this,e),this._transformState={afterTransform:Up.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",Gp)}function Gp(){var e=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(t,r){Fa(e,t,r)}):Fa(this,null,null)}Be.prototype.push=function(e,t){return this._transformState.needTransform=!1,$r.prototype.push.call(this,e,t)};Be.prototype._transform=function(e,t,r){r(new qp("_transform()"))};Be.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)}};Be.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};Be.prototype._destroy=function(e,t){$r.prototype._destroy.call(this,e,function(r){t(r)})};function Fa(e,t,r){if(t)return e.emit("error",t);if(r!=null&&e.push(r),e._writableState.length)throw new Hp;if(e._transformState.transforming)throw new $p;return e.push(null)}});var Ha=g((ov,$a)=>{"use strict";$a.exports=Zt;var ja=bi();tt()(Zt,ja);function Zt(e){if(!(this instanceof Zt))return new Zt(e);ja.call(this,e)}Zt.prototype._transform=function(e,t,r){r(null,e)}});var Ya=g((av,Va)=>{"use strict";var vi;function Wp(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var Wa=je().codes,Vp=Wa.ERR_MISSING_ARGS,Yp=Wa.ERR_STREAM_DESTROYED;function Ua(e){if(e)throw e}function Kp(e){return e.setHeader&&typeof e.abort=="function"}function Qp(e,t,r,n){n=Wp(n);var i=!1;e.on("close",function(){i=!0}),vi===void 0&&(vi=Br()),vi(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,Kp(e))return e.abort();if(typeof e.destroy=="function")return e.destroy();n(o||new Yp("pipe"))}}}function Ga(e){e()}function Xp(e,t){return e.pipe(t)}function Jp(e){return!e.length||typeof e[e.length-1]!="function"?Ua:e.pop()}function Zp(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=Jp(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new Vp("streams");var i,s=t.map(function(o,a){var u=a<t.length-1,f=a>0;return Qp(o,u,f,function(l){i||(i=l),l&&s.forEach(Ga),!u&&(s.forEach(Ga),n(i))})});return t.reduce(Xp)}Va.exports=Zp});var Ka=g((de,er)=>{var zt=w("stream");process.env.READABLE_STREAM==="disable"&&zt?(er.exports=zt.Readable,Object.assign(er.exports,zt),er.exports.Stream=zt):(de=er.exports=ii(),de.Stream=zt||de,de.Readable=de,de.Writable=ti(),de.Duplex=rt(),de.Transform=bi(),de.PassThrough=Ha(),de.finished=Br(),de.pipeline=Ya())});var Ja=g((uv,Xa)=>{"use strict";var{Buffer:be}=w("buffer"),Qa=Symbol.for("BufferList");function U(e){if(!(this instanceof U))return new U(e);U._init.call(this,e)}U._init=function(t){Object.defineProperty(this,Qa,{value:!0}),this._bufs=[],this.length=0,t&&this.append(t)};U.prototype._new=function(t){return new U(t)};U.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}};U.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};U.prototype.get=function(t){if(t>this.length||t<0)return;let r=this._offset(t);return this._bufs[r[0]][r[1]]};U.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)};U.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||be.alloc(0);let s=!!t,o=this._offset(n),a=i-n,u=a,f=s&&r||0,l=o[1];if(n===0&&i===this.length){if(!s)return this._bufs.length===1?this._bufs[0]:be.concat(this._bufs,this.length);for(let h=0;h<this._bufs.length;h++)this._bufs[h].copy(t,f),f+=this._bufs[h].length;return t}if(u<=this._bufs[o[0]].length-l)return s?this._bufs[o[0]].copy(t,r,l,l+u):this._bufs[o[0]].slice(l,l+u);s||(t=be.allocUnsafe(a));for(let h=o[0];h<this._bufs.length;h++){let c=this._bufs[h].length-l;if(u>c)this._bufs[h].copy(t,f,l),f+=c;else{this._bufs[h].copy(t,f,l,l+u),f+=c;break}u-=c,l&&(l=0)}return t.length>f?t.slice(0,f):t};U.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)};U.prototype.toString=function(t,r,n){return this.slice(r,n).toString(t)};U.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};U.prototype.duplicate=function(){let t=this._new();for(let r=0;r<this._bufs.length;r++)t.append(this._bufs[r]);return t};U.prototype.append=function(t){if(t==null)return this;if(t.buffer)this._appendBuffer(be.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(be.from(t));return this};U.prototype._appendBuffer=function(t){this._bufs.push(t),this.length+=t.length};U.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=be.from([e]):typeof e=="string"?e=be.from(e,r):this._isBufferList(e)?e=e.slice():Array.isArray(e.buffer)?e=be.from(e.buffer,e.byteOffset,e.byteLength):be.isBuffer(e)||(e=be.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 u=o.indexOf(e,s);if(u!==-1)return this._reverseOffset([i,u]);s=o.length-e.length+1}else{let u=this._reverseOffset([i,s]);if(this._match(u,e))return u;s++}s=0}return-1};U.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?U.prototype[r]=function(n,i){return this.slice(n,n+i)[r](0,i)}:U.prototype[r]=function(n=0){return this.slice(n,n+e[r])[r](0)}})(t)})();U.prototype._isBufferList=function(t){return t instanceof U||U.isBufferList(t)};U.isBufferList=function(t){return t!=null&&t[Qa]};Xa.exports=U});var Za=g((lv,Hr)=>{"use strict";var Ei=Ka().Duplex,zp=tt(),tr=Ja();function te(e){if(!(this instanceof te))return new te(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}tr._init.call(this,e),Ei.call(this)}zp(te,Ei);Object.assign(te.prototype,tr.prototype);te.prototype._new=function(t){return new te(t)};te.prototype._write=function(t,r,n){this._appendBuffer(t),typeof n=="function"&&n()};te.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)};te.prototype.end=function(t){Ei.prototype.end.call(this,t),this._callback&&(this._callback(null,this.slice()),this._callback=null)};te.prototype._destroy=function(t,r){this._bufs.length=0,this.length=0,r(t)};te.prototype._isBufferList=function(t){return t instanceof te||t instanceof tr||te.isBufferList(t)};te.isBufferList=tr.isBufferList;Hr.exports=te;Hr.exports.BufferListStream=te;Hr.exports.BufferList=tr});var wi=g((xv,nu)=>{var Wr=w("fs"),ru=w("path"),r_=w("os");function Si(e,t){return Object.prototype.toString.call(e)==="[object "+t+"]"}function Ri(e,t){try{return t(e)}catch(r){if(/^(ENOENT|EPERM|EACCES)$/.test(r.code))return r.code!=="ENOENT"&&console.warn("Warning: Cannot access %s",e),!1;throw r}}var n_={nil:function(e){return e==null},array:function(e){return Array.isArray(e)},emptyObject:function(e){for(var t in e)return!1;return!0},buffer:function(e){return Buffer.isBuffer(e)},regExp:function(e){return Si(e,"RegExp")},string:function(e){return Si(e,"String")},func:function(e){return typeof e=="function"},number:function(e){return Si(e,"Number")},exists:function(e){return Wr.existsSync(e)},file:function(e){return Ri(e,function(t){return Wr.statSync(t).isFile()})},samePath:function(e,t){return ru.resolve(e)===ru.resolve(t)},directory:function(e){return Ri(e,function(t){return Wr.statSync(t).isDirectory()})},symbolicLink:function(e){return Ri(e,function(t){return Wr.lstatSync(t).isSymbolicLink()})},windows:function(){return r_.platform()==="win32"}};nu.exports=n_});var uu=g((Sv,au)=>{var ir=w("fs"),iu=w("os"),Ai=w("path"),Vr=wi(),nr,i_=iu.tmpdir&&iu.tmpdir()||process.env.TMPDIR||process.env.TEMP||process.cwd();function ou(){this.stack=[]}ou.prototype={create:function(e,t){var r=Ai.join(t,"node-watch-"+Math.random().toString(16).substr(2));return this.stack.push({name:r,type:e}),r},write:function(){for(var e=0;e<arguments.length;++e)ir.writeFileSync(arguments[e]," ")},mkdir:function(){for(var e=0;e<arguments.length;++e)ir.mkdirSync(arguments[e])},cleanup:function(e){try{for(var t;t=this.stack.pop();){var r=t.type,n=t.name;r==="file"&&Vr.file(n)?ir.unlinkSync(n):r==="dir"&&Vr.directory(n)&&ir.rmdirSync(n)}}finally{Vr.func(e)&&e()}}};var su=!1;au.exports=function e(t){if(!Vr.func(t))return!1;if(nr!==void 0)return t(nr);if(!su)su=!0;else return setTimeout(function(){e(t)},300);var r=new ou,n=r.create("dir",i_),i=r.create("dir",n),s=r.create("file",i);r.mkdir(n,i);var o={recursive:!0},a;try{a=ir.watch(n,o)}catch(f){if(f.code=="ERR_FEATURE_UNAVAILABLE_ON_PLATFORM")return t(nr=!1);throw f}if(!a)return!1;var u=setTimeout(function(){a.close(),r.cleanup(function(){t(nr=!1)})},200);a.on("change",function(f,l){Ai.basename(s)===Ai.basename(l)&&(a.close(),clearTimeout(u),r.cleanup(function(){t(nr=!0)}))}),r.write(s)}});var bu=g((Rv,Pi)=>{var Ci=w("fs"),sr=w("path"),fu=w("util"),cu=w("events"),hu=uu(),H=wi(),s_="update",du="remove",lu=Symbol("skip");function o_(e){return e.some(function(t,r,n){return n.indexOf(t)!==r})}function Oi(e){return e.filter(function(t,r,n){return n.indexOf(t)===r})}function a_(e){return e.reduce(function(t,r){return t.concat(r)},[])}function u_(e){if(e&&e!=="buffer"&&!Buffer.isEncoding(e))throw new Error("Unknown encoding: "+e)}function l_(e){return H.func(e)?function(t,r){e(t,!1)&&r()}:H.regExp(e)?function(t,r){e.test(t)&&r()}:function(t,r){r()}}function f_(e){return e.map(function(t){return H.exists(t)?[s_,t]:[du,t]})}function c_(e){var t=Oi(e),r=/~$|^\.#|^##$/g,n=e.some(function(s){return r.test(s)});if(n){var i=o_(e.map(function(s){return s.replace(r,"")}));i&&(t=t.filter(function(s){return H.exists(s)}))}return f_(t)}function h_(e,t){var r,n=[],i=e.options.encoding,s=e.options.delay;H.number(s)||(s=200);function o(){c_(n).forEach(function(a){a[1]=Buffer.from(a[1]),i!=="buffer"&&(a[1]=a[1].toString(i)),t.apply(null,a)}),r=null,n=[]}return function(a,u){n.push(u),r||(r=setTimeout(o,s))}}function pu(){var e={};return function(t){return function(r,n){e[r+n]=[r,n],setTimeout(function(){Object.keys(e).forEach(function(i){t.apply(null,e[i])}),e={}})}}}function _u(e,t,r=function(){}){H.directory(e)?Ci.readdir(e,function(n,i){if(n)if(/^(EPERM|EACCES)$/.test(n.code))console.warn("Warning: Cannot access %s.",e);else throw n;else i.forEach(function(s){var o=sr.join(e,s);H.directory(o)&&t(o)}),r()}):r()}function d_(e){var t=0;return function(){return t++,function(){t--,t===0&&e()}}}function p_(){return function(){}}function gu(e,t){return!H.func(t)||t(e,lu)!==lu}var mu=fu.deprecate(function(){},"(node-watch) First param in callback function is replaced with event name since 0.5.0, use `(evt, filename) => {}` if you want to get the filename");function Te(){cu.EventEmitter.call(this),this.watchers={},this._isReady=!1,this._isClosed=!1}fu.inherits(Te,cu.EventEmitter);Te.prototype.expose=function(){var e={},t=this,r=["on","emit","once","close","isClosed","listeners","setMaxListeners","getMaxListeners","getWatchedPaths"];return r.forEach(function(n){e[n]=function(){return t[n].apply(t,arguments)}}),e};Te.prototype.isClosed=function(){return this._isClosed};Te.prototype.close=function(e){var t=this;if(e){var r=this.watchers[e];r&&r.close&&(r.close(),delete t.watchers[e]),_u(e,function(n){t.close(n)})}else Object.keys(t.watchers).forEach(function(n){var i=t.watchers[n];i&&i.close&&i.close()}),this.watchers={};H.emptyObject(t.watchers)&&(this._isClosed||(this._isClosed=!0,process.nextTick(yu,this)))};Te.prototype.getWatchedPaths=function(e){if(H.func(e)){var t=this;t._isReady?e(Object.keys(t.watchers)):t.on("ready",function(){e(Object.keys(t.watchers))})}};function Ti(e){e._isReady||(e._isReady=!0,process.nextTick(function(){e.emit("ready")}))}function yu(e){e.emit("close")}Te.prototype.add=function(e,t){var r=this;t=t||{fpath:""};var n=sr.resolve(t.fpath);this.watchers[n]=e;var i=function(o,a){if(!r.isClosed()){var u=a;H.nil(u)&&(u=""),u=sr.join(t.fpath,u),t.options.recursive&&hu(function(f){if(!f){var l=sr.resolve(u);if(!H.exists(u))r.close(l);else{var h=H.directory(u)&&!r.watchers[l]&&gu(u,t.options.filter);h&&r.watchDirectory(u,t.options)}}}),s(o,u)}},s=h_(t,function(o,a){if(t.compareName)t.compareName(a)&&r.emit("change",o,a);else{var u=l_(t.options.filter);u(a,function(){r.flag?r.flag="":r.emit("change",o,a)})}});e.on("error",function(o){r.isClosed()||(H.windows()&&o.code==="EPERM"?(e.emit("change",du,t.fpath&&""),r.flag="windows-error",r.close(n)):r.emit("error",o))}),e.on("change",i)};Te.prototype.watchFile=function(e,t,r){var n=sr.join(e,"../"),i=Object.assign({},t,{filter:null,encoding:"utf8"});delete i.recursive;var s=Ci.watch(n,i);this.add(s,{type:"file",fpath:n,options:Object.assign({},i,{encoding:t.encoding}),compareName:function(o){return H.samePath(o,e)}}),H.func(r)&&(r.length===1&&mu(),this.on("change",r))};Te.prototype.watchDirectory=function(e,t,r,n=p_){var i=this,s=n();hu(function(o){t.recursive=!!t.recursive;var a=Object.assign({},t,{encoding:"utf8"});if(o||delete a.recursive,i._isClosed)return s(),i.close();var u=Ci.watch(e,a);i.add(u,{type:"dir",fpath:e,options:t}),H.func(r)&&(r.length===1&&mu(),i.on("change",r)),t.recursive&&!o&&_u(e,function(f){gu(f,t.filter)&&i.watchDirectory(f,t,null,n)},n()),s()})};function __(e){var t=new Te,r=pu(),n=e.length;return e.forEach(function(i){i.on("change",r(function(s,o){t.emit("change",s,o)})),i.on("error",function(s){t.emit("error",s)}),i.on("ready",function(){--n||Ti(t)})}),t.close=function(){e.forEach(function(i){i.close()}),process.nextTick(yu,t)},t.getWatchedPaths=function(i){if(H.func(i)){var s=e.map(function(o){return new Promise(function(a){o.getWatchedPaths(a)})});Promise.all(s).then(function(o){var a=Oi(a_(o));i(a)})}},t.expose()}function Yr(e,t,r){var n=new Te;if(H.buffer(e)&&(e=e.toString()),!H.array(e)&&!H.exists(e)&&n.emit("error",new Error(e+" does not exist.")),H.string(t)&&(t={encoding:t}),H.func(t)&&(r=t,t={}),arguments.length<2&&(t={}),t.encoding?u_(t.encoding):t.encoding="utf8",H.array(e)){if(e.length===1)return Yr(e[0],t,r);var i=pu();return __(Oi(e).map(function(o){var a=Yr(o,t);return H.func(r)&&a.on("change",i(r)),a}))}if(H.file(e))n.watchFile(e,t,r),Ti(n);else if(H.directory(e)){var s=d_(function(){Ti(n)});n.watchDirectory(e,t,r,s)}return n.expose()}Pi.exports=Yr;Pi.exports.default=Yr});var vu=g(At=>{"use strict";Object.defineProperty(At,"__esModule",{value:!0});At.splitWhen=At.flatten=void 0;function g_(e){return e.reduce((t,r)=>[].concat(t,r),[])}At.flatten=g_;function m_(e,t){let r=[[]],n=0;for(let i of e)t(i)?(n++,r[n]=[]):r[n].push(i);return r}At.splitWhen=m_});var Eu=g(Kr=>{"use strict";Object.defineProperty(Kr,"__esModule",{value:!0});Kr.isEnoentCodeError=void 0;function y_(e){return e.code==="ENOENT"}Kr.isEnoentCodeError=y_});var Su=g(Qr=>{"use strict";Object.defineProperty(Qr,"__esModule",{value:!0});Qr.createDirentFromStats=void 0;var xu=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 b_(e,t){return new xu(e,t)}Qr.createDirentFromStats=b_});var Ru=g(Ce=>{"use strict";Object.defineProperty(Ce,"__esModule",{value:!0});Ce.removeLeadingDotSegment=Ce.escape=Ce.makeAbsolute=Ce.unixify=void 0;var v_=w("path"),E_=2,x_=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\())/g;function S_(e){return e.replace(/\\/g,"/")}Ce.unixify=S_;function R_(e,t){return v_.resolve(e,t)}Ce.makeAbsolute=R_;function w_(e){return e.replace(x_,"\\$2")}Ce.escape=w_;function A_(e){if(e.charAt(0)==="."){let t=e.charAt(1);if(t==="/"||t==="\\")return e.slice(E_)}return e}Ce.removeLeadingDotSegment=A_});var Au=g((Ov,wu)=>{wu.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 Ou=g((Pv,Cu)=>{var T_=Au(),Tu={"{":"}","(":")","[":"]"},C_=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 u=Tu[a];if(u){var f=e.indexOf(u,t);f!==-1&&(t=f+1)}if(e[t]==="!")return!0}else t++}return!1},O_=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=Tu[r];if(n){var i=e.indexOf(n,t);i!==-1&&(t=i+1)}if(e[t]==="!")return!0}else t++}return!1};Cu.exports=function(t,r){if(typeof t!="string"||t==="")return!1;if(T_(t))return!0;var n=C_;return r&&r.strict===!1&&(n=O_),n(t)}});var Lu=g((Lv,Pu)=>{"use strict";var P_=Ou(),L_=w("path").posix.dirname,M_=w("os").platform()==="win32",Li="/",D_=/\\/g,B_=/[\{\[].*[\}\]]$/,N_=/(^|[^\\])([\{\[]|\([^\)]+$)/,I_=/\\([\!\*\?\|\[\]\(\)\{\}])/g;Pu.exports=function(t,r){var n=Object.assign({flipBackslashes:!0},r);n.flipBackslashes&&M_&&t.indexOf(Li)<0&&(t=t.replace(D_,Li)),B_.test(t)&&(t+=Li),t+="a";do t=L_(t);while(P_(t)||N_.test(t));return t.replace(I_,"$1")}});var Xr=g(pe=>{"use strict";pe.isInteger=e=>typeof e=="number"?Number.isInteger(e):typeof e=="string"&&e.trim()!==""?Number.isInteger(Number(e)):!1;pe.find=(e,t)=>e.nodes.find(r=>r.type===t);pe.exceedsLimit=(e,t,r=1,n)=>n===!1||!pe.isInteger(e)||!pe.isInteger(t)?!1:(Number(t)-Number(e))/Number(r)>=n;pe.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)};pe.encloseBrace=e=>e.type!=="brace"?!1:e.commas>>0+e.ranges>>0===0?(e.invalid=!0,!0):!1;pe.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;pe.isOpenOrClose=e=>e.type==="open"||e.type==="close"?!0:e.open===!0||e.close===!0;pe.reduce=e=>e.reduce((t,r)=>(r.type==="text"&&t.push(r.value),r.type==="range"&&(r.type="text"),t),[]);pe.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 Jr=g((Dv,Du)=>{"use strict";var Mu=Xr();Du.exports=(e,t={})=>{let r=(n,i={})=>{let s=t.escapeInvalid&&Mu.isInvalidBrace(i),o=n.invalid===!0&&t.escapeInvalid===!0,a="";if(n.value)return(s||o)&&Mu.isOpenOrClose(n)?"\\"+n.value:n.value;if(n.value)return n.value;if(n.nodes)for(let u of n.nodes)a+=r(u);return a};return r(e)}});var Nu=g((Bv,Bu)=>{"use strict";Bu.exports=function(e){return typeof e=="number"?e-e===0:typeof e=="string"&&e.trim()!==""?Number.isFinite?Number.isFinite(+e):isFinite(+e):!1}});var Gu=g((Nv,Uu)=>{"use strict";var Iu=Nu(),at=(e,t,r)=>{if(Iu(e)===!1)throw new TypeError("toRegexRange: expected the first argument to be a number");if(t===void 0||e===t)return String(e);if(Iu(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),u=e+":"+t+"="+i+s+o+a;if(at.cache.hasOwnProperty(u))return at.cache[u].result;let f=Math.min(e,t),l=Math.max(e,t);if(Math.abs(f-l)===1){let m=e+"|"+t;return n.capture?`(${m})`:n.wrap===!1?m:`(?:${m})`}let h=Hu(e)||Hu(t),c={min:e,max:t,a:f,b:l},x=[],y=[];if(h&&(c.isPadded=h,c.maxLen=String(c.max).length),f<0){let m=l<0?Math.abs(l):1;y=ku(m,Math.abs(f),c,n),f=c.a=0}return l>=0&&(x=ku(f,l,c,n)),c.negatives=y,c.positives=x,c.result=k_(y,x,n),n.capture===!0?c.result=`(${c.result})`:n.wrap!==!1&&x.length+y.length>1&&(c.result=`(?:${c.result})`),at.cache[u]=c,c.result};function k_(e,t,r){let n=Mi(e,t,"-",!1,r)||[],i=Mi(t,e,"",!1,r)||[],s=Mi(e,t,"-?",!0,r)||[];return n.concat(s).concat(i).join("|")}function F_(e,t){let r=1,n=1,i=qu(e,r),s=new Set([t]);for(;e<=i&&i<=t;)s.add(i),r+=1,i=qu(e,r);for(i=ju(t+1,n)-1;e<i&&i<=t;)s.add(i),n+=1,i=ju(t+1,n)-1;return s=[...s],s.sort($_),s}function q_(e,t,r){if(e===t)return{pattern:e,count:[],digits:0};let n=j_(e,t),i=n.length,s="",o=0;for(let a=0;a<i;a++){let[u,f]=n[a];u===f?s+=u:u!=="0"||f!=="9"?s+=H_(u,f,r):o++}return o&&(s+=r.shorthand===!0?"\\d":"[0-9]"),{pattern:s,count:[o],digits:i}}function ku(e,t,r,n){let i=F_(e,t),s=[],o=e,a;for(let u=0;u<i.length;u++){let f=i[u],l=q_(String(o),String(f),n),h="";if(!r.isPadded&&a&&a.pattern===l.pattern){a.count.length>1&&a.count.pop(),a.count.push(l.count[0]),a.string=a.pattern+$u(a.count),o=f+1;continue}r.isPadded&&(h=U_(f,r,n)),l.string=h+l.pattern+$u(l.count),s.push(l),o=f+1,a=l}return s}function Mi(e,t,r,n,i){let s=[];for(let o of e){let{string:a}=o;!n&&!Fu(t,"string",a)&&s.push(r+a),n&&Fu(t,"string",a)&&s.push(r+a)}return s}function j_(e,t){let r=[];for(let n=0;n<e.length;n++)r.push([e[n],t[n]]);return r}function $_(e,t){return e>t?1:t>e?-1:0}function Fu(e,t,r){return e.some(n=>n[t]===r)}function qu(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function ju(e,t){return e-e%Math.pow(10,t)}function $u(e){let[t=0,r=""]=e;return r||t>1?`{${t+(r?","+r:"")}}`:""}function H_(e,t,r){return`[${e}${t-e===1?"":"-"}${t}]`}function Hu(e){return/^-?(0+)\d/.test(e)}function U_(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}}`}}at.cache={};at.clearCache=()=>at.cache={};Uu.exports=at});var Ni=g((Iv,Zu)=>{"use strict";var G_=w("util"),Yu=Gu(),Wu=e=>e!==null&&typeof e=="object"&&!Array.isArray(e),W_=e=>t=>e===!0?Number(t):String(t),Di=e=>typeof e=="number"||typeof e=="string"&&e!=="",or=e=>Number.isInteger(+e),Bi=e=>{let t=`${e}`,r=-1;if(t[0]==="-"&&(t=t.slice(1)),t==="0")return!1;for(;t[++r]==="0";);return r>0},V_=(e,t,r)=>typeof e=="string"||typeof t=="string"?!0:r.stringify===!0,Y_=(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},Vu=(e,t)=>{let r=e[0]==="-"?"-":"";for(r&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return r?"-"+e:e},K_=(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},Ku=(e,t,r,n)=>{if(r)return Yu(e,t,{wrap:!1,...n});let i=String.fromCharCode(e);if(e===t)return i;let s=String.fromCharCode(t);return`[${i}-${s}]`},Qu=(e,t,r)=>{if(Array.isArray(e)){let n=r.wrap===!0,i=r.capture?"":"?:";return n?`(${i}${e.join("|")})`:e.join("|")}return Yu(e,t,r)},Xu=(...e)=>new RangeError("Invalid range arguments: "+G_.inspect(...e)),Ju=(e,t,r)=>{if(r.strictRanges===!0)throw Xu([e,t]);return[]},Q_=(e,t)=>{if(t.strictRanges===!0)throw new TypeError(`Expected step "${e}" to be a number`);return[]},X_=(e,t,r=1,n={})=>{let i=Number(e),s=Number(t);if(!Number.isInteger(i)||!Number.isInteger(s)){if(n.strictRanges===!0)throw Xu([e,t]);return[]}i===0&&(i=0),s===0&&(s=0);let o=i>s,a=String(e),u=String(t),f=String(r);r=Math.max(Math.abs(r),1);let l=Bi(a)||Bi(u)||Bi(f),h=l?Math.max(a.length,u.length,f.length):0,c=l===!1&&V_(e,t,n)===!1,x=n.transform||W_(c);if(n.toRegex&&r===1)return Ku(Vu(e,h),Vu(t,h),!0,n);let y={negatives:[],positives:[]},m=M=>y[M<0?"negatives":"positives"].push(Math.abs(M)),S=[],E=0;for(;o?i>=s:i<=s;)n.toRegex===!0&&r>1?m(i):S.push(Y_(x(i,E),h,c)),i=o?i-r:i+r,E++;return n.toRegex===!0?r>1?K_(y,n):Qu(S,null,{wrap:!1,...n}):S},J_=(e,t,r=1,n={})=>{if(!or(e)&&e.length>1||!or(t)&&t.length>1)return Ju(e,t,n);let i=n.transform||(c=>String.fromCharCode(c)),s=`${e}`.charCodeAt(0),o=`${t}`.charCodeAt(0),a=s>o,u=Math.min(s,o),f=Math.max(s,o);if(n.toRegex&&r===1)return Ku(u,f,!1,n);let l=[],h=0;for(;a?s>=o:s<=o;)l.push(i(s,h)),s=a?s-r:s+r,h++;return n.toRegex===!0?Qu(l,null,{wrap:!1,options:n}):l},Zr=(e,t,r,n={})=>{if(t==null&&Di(e))return[e];if(!Di(e)||!Di(t))return Ju(e,t,n);if(typeof r=="function")return Zr(e,t,1,{transform:r});if(Wu(r))return Zr(e,t,0,r);let i={...n};return i.capture===!0&&(i.wrap=!0),r=r||i.step||1,or(r)?or(e)&&or(t)?X_(e,t,r,i):J_(e,t,Math.max(Math.abs(r),1),i):r!=null&&!Wu(r)?Q_(r,i):Zr(e,t,1,r)};Zu.exports=Zr});var tl=g((kv,el)=>{"use strict";var Z_=Ni(),zu=Xr(),z_=(e,t={})=>{let r=(n,i={})=>{let s=zu.isInvalidBrace(i),o=n.invalid===!0&&t.escapeInvalid===!0,a=s===!0||o===!0,u=t.escapeInvalid===!0?"\\":"",f="";if(n.isOpen===!0||n.isClose===!0)return u+n.value;if(n.type==="open")return a?u+n.value:"(";if(n.type==="close")return a?u+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 l=zu.reduce(n.nodes),h=Z_(...l,{...t,wrap:!1,toRegex:!0});if(h.length!==0)return l.length>1&&h.length>1?`(${h})`:h}if(n.nodes)for(let l of n.nodes)f+=r(l,n);return f};return r(e)};el.exports=z_});var il=g((Fv,nl)=>{"use strict";var eg=Ni(),rl=Jr(),Tt=Xr(),ut=(e="",t="",r=!1)=>{let n=[];if(e=[].concat(e),t=[].concat(t),!t.length)return e;if(!e.length)return r?Tt.flatten(t).map(i=>`{${i}}`):t;for(let i of e)if(Array.isArray(i))for(let s of i)n.push(ut(s,t,r));else for(let s of t)r===!0&&typeof s=="string"&&(s=`{${s}}`),n.push(Array.isArray(s)?ut(i,s,r):i+s);return Tt.flatten(n)},tg=(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(ut(a.pop(),rl(i,t)));return}if(i.type==="brace"&&i.invalid!==!0&&i.nodes.length===2){a.push(ut(a.pop(),["{}"]));return}if(i.nodes&&i.ranges>0){let h=Tt.reduce(i.nodes);if(Tt.exceedsLimit(...h,t.step,r))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let c=eg(...h,t);c.length===0&&(c=rl(i,t)),a.push(ut(a.pop(),c)),i.nodes=[];return}let u=Tt.encloseBrace(i),f=i.queue,l=i;for(;l.type!=="brace"&&l.type!=="root"&&l.parent;)l=l.parent,f=l.queue;for(let h=0;h<i.nodes.length;h++){let c=i.nodes[h];if(c.type==="comma"&&i.type==="brace"){h===1&&f.push(""),f.push("");continue}if(c.type==="close"){a.push(ut(a.pop(),f,u));continue}if(c.value&&c.type!=="open"){f.push(ut(f.pop(),c.value));continue}c.nodes&&n(c,i)}return f};return Tt.flatten(n(e))};nl.exports=tg});var ol=g((qv,sl)=>{"use strict";sl.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 cl=g((jv,fl)=>{"use strict";var rg=Jr(),{MAX_LENGTH:al,CHAR_BACKSLASH:Ii,CHAR_BACKTICK:ng,CHAR_COMMA:ig,CHAR_DOT:sg,CHAR_LEFT_PARENTHESES:og,CHAR_RIGHT_PARENTHESES:ag,CHAR_LEFT_CURLY_BRACE:ug,CHAR_RIGHT_CURLY_BRACE:lg,CHAR_LEFT_SQUARE_BRACKET:ul,CHAR_RIGHT_SQUARE_BRACKET:ll,CHAR_DOUBLE_QUOTE:fg,CHAR_SINGLE_QUOTE:cg,CHAR_NO_BREAK_SPACE:hg,CHAR_ZERO_WIDTH_NOBREAK_SPACE:dg}=ol(),pg=(e,t={})=>{if(typeof e!="string")throw new TypeError("Expected a string");let r=t||{},n=typeof r.maxLength=="number"?Math.min(al,r.maxLength):al;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,u=0,f=e.length,l=0,h=0,c,x={},y=()=>e[l++],m=S=>{if(S.type==="text"&&a.type==="dot"&&(a.type="text"),a&&a.type==="text"&&S.type==="text"){a.value+=S.value;return}return o.nodes.push(S),S.parent=o,S.prev=a,a=S,S};for(m({type:"bos"});l<f;)if(o=s[s.length-1],c=y(),!(c===dg||c===hg)){if(c===Ii){m({type:"text",value:(t.keepEscaping?c:"")+y()});continue}if(c===ll){m({type:"text",value:"\\"+c});continue}if(c===ul){u++;let S=!0,E;for(;l<f&&(E=y());){if(c+=E,E===ul){u++;continue}if(E===Ii){c+=y();continue}if(E===ll&&(u--,u===0))break}m({type:"text",value:c});continue}if(c===og){o=m({type:"paren",nodes:[]}),s.push(o),m({type:"text",value:c});continue}if(c===ag){if(o.type!=="paren"){m({type:"text",value:c});continue}o=s.pop(),m({type:"text",value:c}),o=s[s.length-1];continue}if(c===fg||c===cg||c===ng){let S=c,E;for(t.keepQuotes!==!0&&(c="");l<f&&(E=y());){if(E===Ii){c+=E+y();continue}if(E===S){t.keepQuotes===!0&&(c+=E);break}c+=E}m({type:"text",value:c});continue}if(c===ug){h++;let S=a.value&&a.value.slice(-1)==="$"||o.dollar===!0;o=m({type:"brace",open:!0,close:!1,dollar:S,depth:h,commas:0,ranges:0,nodes:[]}),s.push(o),m({type:"open",value:c});continue}if(c===lg){if(o.type!=="brace"){m({type:"text",value:c});continue}let S="close";o=s.pop(),o.close=!0,m({type:S,value:c}),h--,o=s[s.length-1];continue}if(c===ig&&h>0){if(o.ranges>0){o.ranges=0;let S=o.nodes.shift();o.nodes=[S,{type:"text",value:rg(o)}]}m({type:"comma",value:c}),o.commas++;continue}if(c===sg&&h>0&&o.commas===0){let S=o.nodes;if(h===0||S.length===0){m({type:"text",value:c});continue}if(a.type==="dot"){if(o.range=[],a.value+=c,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"){S.pop();let E=S[S.length-1];E.value+=a.value+c,a=E,o.ranges--;continue}m({type:"dot",value:c});continue}m({type:"text",value:c})}do if(o=s.pop(),o.type!=="root"){o.nodes.forEach(M=>{M.nodes||(M.type==="open"&&(M.isOpen=!0),M.type==="close"&&(M.isClose=!0),M.nodes||(M.type="text"),M.invalid=!0)});let S=s[s.length-1],E=S.nodes.indexOf(o);S.nodes.splice(E,1,...o.nodes)}while(s.length>0);return m({type:"eos"}),i};fl.exports=pg});var pl=g(($v,dl)=>{"use strict";var hl=Jr(),_g=tl(),gg=il(),mg=cl(),ue=(e,t={})=>{let r=[];if(Array.isArray(e))for(let n of e){let i=ue.create(n,t);Array.isArray(i)?r.push(...i):r.push(i)}else r=[].concat(ue.create(e,t));return t&&t.expand===!0&&t.nodupes===!0&&(r=[...new Set(r)]),r};ue.parse=(e,t={})=>mg(e,t);ue.stringify=(e,t={})=>hl(typeof e=="string"?ue.parse(e,t):e,t);ue.compile=(e,t={})=>(typeof e=="string"&&(e=ue.parse(e,t)),_g(e,t));ue.expand=(e,t={})=>{typeof e=="string"&&(e=ue.parse(e,t));let r=gg(e,t);return t.noempty===!0&&(r=r.filter(Boolean)),t.nodupes===!0&&(r=[...new Set(r)]),r};ue.create=(e,t={})=>e===""||e.length<3?[e]:t.expand!==!0?ue.compile(e,t):ue.expand(e,t);dl.exports=ue});var ar=g((Hv,bl)=>{"use strict";var yg=w("path"),Oe="\\\\/",_l=`[^${Oe}]`,Ne="\\.",bg="\\+",vg="\\?",zr="\\/",Eg="(?=.)",gl="[^/]",ki=`(?:${zr}|$)`,ml=`(?:^|${zr})`,Fi=`${Ne}{1,2}${ki}`,xg=`(?!${Ne})`,Sg=`(?!${ml}${Fi})`,Rg=`(?!${Ne}{0,1}${ki})`,wg=`(?!${Fi})`,Ag=`[^.${zr}]`,Tg=`${gl}*?`,yl={DOT_LITERAL:Ne,PLUS_LITERAL:bg,QMARK_LITERAL:vg,SLASH_LITERAL:zr,ONE_CHAR:Eg,QMARK:gl,END_ANCHOR:ki,DOTS_SLASH:Fi,NO_DOT:xg,NO_DOTS:Sg,NO_DOT_SLASH:Rg,NO_DOTS_SLASH:wg,QMARK_NO_DOT:Ag,STAR:Tg,START_ANCHOR:ml},Cg={...yl,SLASH_LITERAL:`[${Oe}]`,QMARK:_l,STAR:`${_l}*?`,DOTS_SLASH:`${Ne}{1,2}(?:[${Oe}]|$)`,NO_DOT:`(?!${Ne})`,NO_DOTS:`(?!(?:^|[${Oe}])${Ne}{1,2}(?:[${Oe}]|$))`,NO_DOT_SLASH:`(?!${Ne}{0,1}(?:[${Oe}]|$))`,NO_DOTS_SLASH:`(?!${Ne}{1,2}(?:[${Oe}]|$))`,QMARK_NO_DOT:`[^.${Oe}]`,START_ANCHOR:`(?:^|[${Oe}])`,END_ANCHOR:`(?:[${Oe}]|$)`},Og={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"};bl.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:Og,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:yg.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?Cg:yl}}});var ur=g(oe=>{"use strict";var Pg=w("path"),Lg=process.platform==="win32",{REGEX_BACKSLASH:Mg,REGEX_REMOVE_BACKSLASH:Dg,REGEX_SPECIAL_CHARS:Bg,REGEX_SPECIAL_CHARS_GLOBAL:Ng}=ar();oe.isObject=e=>e!==null&&typeof e=="object"&&!Array.isArray(e);oe.hasRegexChars=e=>Bg.test(e);oe.isRegexChar=e=>e.length===1&&oe.hasRegexChars(e);oe.escapeRegex=e=>e.replace(Ng,"\\$1");oe.toPosixSlashes=e=>e.replace(Mg,"/");oe.removeBackslashes=e=>e.replace(Dg,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:Lg===!0||Pg.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 Tl=g((Gv,Al)=>{"use strict";var vl=ur(),{CHAR_ASTERISK:qi,CHAR_AT:Ig,CHAR_BACKWARD_SLASH:lr,CHAR_COMMA:kg,CHAR_DOT:ji,CHAR_EXCLAMATION_MARK:$i,CHAR_FORWARD_SLASH:wl,CHAR_LEFT_CURLY_BRACE:Hi,CHAR_LEFT_PARENTHESES:Ui,CHAR_LEFT_SQUARE_BRACKET:Fg,CHAR_PLUS:qg,CHAR_QUESTION_MARK:El,CHAR_RIGHT_CURLY_BRACE:jg,CHAR_RIGHT_PARENTHESES:xl,CHAR_RIGHT_SQUARE_BRACKET:$g}=ar(),Sl=e=>e===wl||e===lr,Rl=e=>{e.isPrefix!==!0&&(e.depth=e.isGlobstar?1/0:1)},Hg=(e,t)=>{let r=t||{},n=e.length-1,i=r.parts===!0||r.scanToEnd===!0,s=[],o=[],a=[],u=e,f=-1,l=0,h=0,c=!1,x=!1,y=!1,m=!1,S=!1,E=!1,M=!1,B=!1,Z=!1,C=!1,$=0,O,A,F={value:"",depth:0,isGlob:!1},R=()=>f>=n,d=()=>u.charCodeAt(f+1),j=()=>(O=A,u.charCodeAt(++f));for(;f<n;){A=j();let ie;if(A===lr){M=F.backslashes=!0,A=j(),A===Hi&&(E=!0);continue}if(E===!0||A===Hi){for($++;R()!==!0&&(A=j());){if(A===lr){M=F.backslashes=!0,j();continue}if(A===Hi){$++;continue}if(E!==!0&&A===ji&&(A=j())===ji){if(c=F.isBrace=!0,y=F.isGlob=!0,C=!0,i===!0)continue;break}if(E!==!0&&A===kg){if(c=F.isBrace=!0,y=F.isGlob=!0,C=!0,i===!0)continue;break}if(A===jg&&($--,$===0)){E=!1,c=F.isBrace=!0,C=!0;break}}if(i===!0)continue;break}if(A===wl){if(s.push(f),o.push(F),F={value:"",depth:0,isGlob:!1},C===!0)continue;if(O===ji&&f===l+1){l+=2;continue}h=f+1;continue}if(r.noext!==!0&&(A===qg||A===Ig||A===qi||A===El||A===$i)===!0&&d()===Ui){if(y=F.isGlob=!0,m=F.isExtglob=!0,C=!0,A===$i&&f===l&&(Z=!0),i===!0){for(;R()!==!0&&(A=j());){if(A===lr){M=F.backslashes=!0,A=j();continue}if(A===xl){y=F.isGlob=!0,C=!0;break}}continue}break}if(A===qi){if(O===qi&&(S=F.isGlobstar=!0),y=F.isGlob=!0,C=!0,i===!0)continue;break}if(A===El){if(y=F.isGlob=!0,C=!0,i===!0)continue;break}if(A===Fg){for(;R()!==!0&&(ie=j());){if(ie===lr){M=F.backslashes=!0,j();continue}if(ie===$g){x=F.isBracket=!0,y=F.isGlob=!0,C=!0;break}}if(i===!0)continue;break}if(r.nonegate!==!0&&A===$i&&f===l){B=F.negated=!0,l++;continue}if(r.noparen!==!0&&A===Ui){if(y=F.isGlob=!0,i===!0){for(;R()!==!0&&(A=j());){if(A===Ui){M=F.backslashes=!0,A=j();continue}if(A===xl){C=!0;break}}continue}break}if(y===!0){if(C=!0,i===!0)continue;break}}r.noext===!0&&(m=!1,y=!1);let q=u,Fe="",p="";l>0&&(Fe=u.slice(0,l),u=u.slice(l),h-=l),q&&y===!0&&h>0?(q=u.slice(0,h),p=u.slice(h)):y===!0?(q="",p=u):q=u,q&&q!==""&&q!=="/"&&q!==u&&Sl(q.charCodeAt(q.length-1))&&(q=q.slice(0,-1)),r.unescape===!0&&(p&&(p=vl.removeBackslashes(p)),q&&M===!0&&(q=vl.removeBackslashes(q)));let _={prefix:Fe,input:e,start:l,base:q,glob:p,isBrace:c,isBracket:x,isGlob:y,isExtglob:m,isGlobstar:S,negated:B,negatedExtglob:Z};if(r.tokens===!0&&(_.maxDepth=0,Sl(A)||o.push(F),_.tokens=o),r.parts===!0||r.tokens===!0){let ie;for(let k=0;k<s.length;k++){let xe=ie?ie+1:l,Se=s[k],ae=e.slice(xe,Se);r.tokens&&(k===0&&l!==0?(o[k].isPrefix=!0,o[k].value=Fe):o[k].value=ae,Rl(o[k]),_.maxDepth+=o[k].depth),(k!==0||ae!=="")&&a.push(ae),ie=Se}if(ie&&ie+1<e.length){let k=e.slice(ie+1);a.push(k),r.tokens&&(o[o.length-1].value=k,Rl(o[o.length-1]),_.maxDepth+=o[o.length-1].depth)}_.slashes=s,_.parts=a}return _};Al.exports=Hg});var Pl=g((Wv,Ol)=>{"use strict";var en=ar(),le=ur(),{MAX_LENGTH:tn,POSIX_REGEX_SOURCE:Ug,REGEX_NON_SPECIAL_CHARS:Gg,REGEX_SPECIAL_CHARS_BACKREF:Wg,REPLACEMENTS:Cl}=en,Vg=(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=>le.escapeRegex(i)).join("..")}return r},Ct=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,Gi=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");e=Cl[e]||e;let r={...t},n=typeof r.maxLength=="number"?Math.min(tn,r.maxLength):tn,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?"":"?:",u=le.isWindows(t),f=en.globChars(u),l=en.extglobChars(f),{DOT_LITERAL:h,PLUS_LITERAL:c,SLASH_LITERAL:x,ONE_CHAR:y,DOTS_SLASH:m,NO_DOT:S,NO_DOT_SLASH:E,NO_DOTS_SLASH:M,QMARK:B,QMARK_NO_DOT:Z,STAR:C,START_ANCHOR:$}=f,O=v=>`(${a}(?:(?!${$}${v.dot?m:h}).)*?)`,A=r.dot?"":S,F=r.dot?B:Z,R=r.bash===!0?O(r):C;r.capture&&(R=`(${R})`),typeof r.noext=="boolean"&&(r.noextglob=r.noext);let d={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=le.removePrefix(e,d),i=e.length;let j=[],q=[],Fe=[],p=s,_,ie=()=>d.index===i-1,k=d.peek=(v=1)=>e[d.index+v],xe=d.advance=()=>e[++d.index]||"",Se=()=>e.slice(d.index+1),ae=(v="",G=0)=>{d.consumed+=v,d.index+=G},fr=v=>{d.output+=v.output!=null?v.output:v.value,ae(v.value)},Kc=()=>{let v=1;for(;k()==="!"&&(k(2)!=="("||k(3)==="?");)xe(),d.start++,v++;return v%2===0?!1:(d.negated=!0,d.start++,!0)},cr=v=>{d[v]++,Fe.push(v)},Je=v=>{d[v]--,Fe.pop()},D=v=>{if(p.type==="globstar"){let G=d.braces>0&&(v.type==="comma"||v.type==="brace"),b=v.extglob===!0||j.length&&(v.type==="pipe"||v.type==="paren");v.type!=="slash"&&v.type!=="paren"&&!G&&!b&&(d.output=d.output.slice(0,-p.output.length),p.type="star",p.value="*",p.output=R,d.output+=p.output)}if(j.length&&v.type!=="paren"&&(j[j.length-1].inner+=v.value),(v.value||v.output)&&fr(v),p&&p.type==="text"&&v.type==="text"){p.value+=v.value,p.output=(p.output||"")+v.value;return}v.prev=p,o.push(v),p=v},hr=(v,G)=>{let b={...l[G],conditions:1,inner:""};b.prev=p,b.parens=d.parens,b.output=d.output;let P=(r.capture?"(":"")+b.open;cr("parens"),D({type:v,value:G,output:d.output?"":y}),D({type:"paren",extglob:!0,value:xe(),output:P}),j.push(b)},Qc=v=>{let G=v.close+(r.capture?")":""),b;if(v.type==="negate"){let P=R;if(v.inner&&v.inner.length>1&&v.inner.includes("/")&&(P=O(r)),(P!==R||ie()||/^\)+$/.test(Se()))&&(G=v.close=`)$))${P}`),v.inner.includes("*")&&(b=Se())&&/^\.[^\\/.]+$/.test(b)){let Y=Gi(b,{...t,fastpaths:!1}).output;G=v.close=`)${Y})${P})`}v.prev.type==="bos"&&(d.negatedExtglob=!0)}D({type:"paren",extglob:!0,value:_,output:G}),Je("parens")};if(r.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(e)){let v=!1,G=e.replace(Wg,(b,P,Y,se,z,An)=>se==="\\"?(v=!0,b):se==="?"?P?P+se+(z?B.repeat(z.length):""):An===0?F+(z?B.repeat(z.length):""):B.repeat(Y.length):se==="."?h.repeat(Y.length):se==="*"?P?P+se+(z?R:""):R:P?b:`\\${b}`);return v===!0&&(r.unescape===!0?G=G.replace(/\\/g,""):G=G.replace(/\\+/g,b=>b.length%2===0?"\\\\":b?"\\":"")),G===e&&r.contains===!0?(d.output=e,d):(d.output=le.wrapOutput(G,d,t),d)}for(;!ie();){if(_=xe(),_==="\0")continue;if(_==="\\"){let b=k();if(b==="/"&&r.bash!==!0||b==="."||b===";")continue;if(!b){_+="\\",D({type:"text",value:_});continue}let P=/^\\+/.exec(Se()),Y=0;if(P&&P[0].length>2&&(Y=P[0].length,d.index+=Y,Y%2!==0&&(_+="\\")),r.unescape===!0?_=xe():_+=xe(),d.brackets===0){D({type:"text",value:_});continue}}if(d.brackets>0&&(_!=="]"||p.value==="["||p.value==="[^")){if(r.posix!==!1&&_===":"){let b=p.value.slice(1);if(b.includes("[")&&(p.posix=!0,b.includes(":"))){let P=p.value.lastIndexOf("["),Y=p.value.slice(0,P),se=p.value.slice(P+2),z=Ug[se];if(z){p.value=Y+z,d.backtrack=!0,xe(),!s.output&&o.indexOf(p)===1&&(s.output=y);continue}}}(_==="["&&k()!==":"||_==="-"&&k()==="]")&&(_=`\\${_}`),_==="]"&&(p.value==="["||p.value==="[^")&&(_=`\\${_}`),r.posix===!0&&_==="!"&&p.value==="["&&(_="^"),p.value+=_,fr({value:_});continue}if(d.quotes===1&&_!=='"'){_=le.escapeRegex(_),p.value+=_,fr({value:_});continue}if(_==='"'){d.quotes=d.quotes===1?0:1,r.keepQuotes===!0&&D({type:"text",value:_});continue}if(_==="("){cr("parens"),D({type:"paren",value:_});continue}if(_===")"){if(d.parens===0&&r.strictBrackets===!0)throw new SyntaxError(Ct("opening","("));let b=j[j.length-1];if(b&&d.parens===b.parens+1){Qc(j.pop());continue}D({type:"paren",value:_,output:d.parens?")":"\\)"}),Je("parens");continue}if(_==="["){if(r.nobracket===!0||!Se().includes("]")){if(r.nobracket!==!0&&r.strictBrackets===!0)throw new SyntaxError(Ct("closing","]"));_=`\\${_}`}else cr("brackets");D({type:"bracket",value:_});continue}if(_==="]"){if(r.nobracket===!0||p&&p.type==="bracket"&&p.value.length===1){D({type:"text",value:_,output:`\\${_}`});continue}if(d.brackets===0){if(r.strictBrackets===!0)throw new SyntaxError(Ct("opening","["));D({type:"text",value:_,output:`\\${_}`});continue}Je("brackets");let b=p.value.slice(1);if(p.posix!==!0&&b[0]==="^"&&!b.includes("/")&&(_=`/${_}`),p.value+=_,fr({value:_}),r.literalBrackets===!1||le.hasRegexChars(b))continue;let P=le.escapeRegex(p.value);if(d.output=d.output.slice(0,-p.value.length),r.literalBrackets===!0){d.output+=P,p.value=P;continue}p.value=`(${a}${P}|${p.value})`,d.output+=p.value;continue}if(_==="{"&&r.nobrace!==!0){cr("braces");let b={type:"brace",value:_,output:"(",outputIndex:d.output.length,tokensIndex:d.tokens.length};q.push(b),D(b);continue}if(_==="}"){let b=q[q.length-1];if(r.nobrace===!0||!b){D({type:"text",value:_,output:_});continue}let P=")";if(b.dots===!0){let Y=o.slice(),se=[];for(let z=Y.length-1;z>=0&&(o.pop(),Y[z].type!=="brace");z--)Y[z].type!=="dots"&&se.unshift(Y[z].value);P=Vg(se,r),d.backtrack=!0}if(b.comma!==!0&&b.dots!==!0){let Y=d.output.slice(0,b.outputIndex),se=d.tokens.slice(b.tokensIndex);b.value=b.output="\\{",_=P="\\}",d.output=Y;for(let z of se)d.output+=z.output||z.value}D({type:"brace",value:_,output:P}),Je("braces"),q.pop();continue}if(_==="|"){j.length>0&&j[j.length-1].conditions++,D({type:"text",value:_});continue}if(_===","){let b=_,P=q[q.length-1];P&&Fe[Fe.length-1]==="braces"&&(P.comma=!0,b="|"),D({type:"comma",value:_,output:b});continue}if(_==="/"){if(p.type==="dot"&&d.index===d.start+1){d.start=d.index+1,d.consumed="",d.output="",o.pop(),p=s;continue}D({type:"slash",value:_,output:x});continue}if(_==="."){if(d.braces>0&&p.type==="dot"){p.value==="."&&(p.output=h);let b=q[q.length-1];p.type="dots",p.output+=_,p.value+=_,b.dots=!0;continue}if(d.braces+d.parens===0&&p.type!=="bos"&&p.type!=="slash"){D({type:"text",value:_,output:h});continue}D({type:"dot",value:_,output:h});continue}if(_==="?"){if(!(p&&p.value==="(")&&r.noextglob!==!0&&k()==="("&&k(2)!=="?"){hr("qmark",_);continue}if(p&&p.type==="paren"){let P=k(),Y=_;if(P==="<"&&!le.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(p.value==="("&&!/[!=<:]/.test(P)||P==="<"&&!/<([!=]|\w+>)/.test(Se()))&&(Y=`\\${_}`),D({type:"text",value:_,output:Y});continue}if(r.dot!==!0&&(p.type==="slash"||p.type==="bos")){D({type:"qmark",value:_,output:Z});continue}D({type:"qmark",value:_,output:B});continue}if(_==="!"){if(r.noextglob!==!0&&k()==="("&&(k(2)!=="?"||!/[!=<:]/.test(k(3)))){hr("negate",_);continue}if(r.nonegate!==!0&&d.index===0){Kc();continue}}if(_==="+"){if(r.noextglob!==!0&&k()==="("&&k(2)!=="?"){hr("plus",_);continue}if(p&&p.value==="("||r.regex===!1){D({type:"plus",value:_,output:c});continue}if(p&&(p.type==="bracket"||p.type==="paren"||p.type==="brace")||d.parens>0){D({type:"plus",value:_});continue}D({type:"plus",value:c});continue}if(_==="@"){if(r.noextglob!==!0&&k()==="("&&k(2)!=="?"){D({type:"at",extglob:!0,value:_,output:""});continue}D({type:"text",value:_});continue}if(_!=="*"){(_==="$"||_==="^")&&(_=`\\${_}`);let b=Gg.exec(Se());b&&(_+=b[0],d.index+=b[0].length),D({type:"text",value:_});continue}if(p&&(p.type==="globstar"||p.star===!0)){p.type="star",p.star=!0,p.value+=_,p.output=R,d.backtrack=!0,d.globstar=!0,ae(_);continue}let v=Se();if(r.noextglob!==!0&&/^\([^?]/.test(v)){hr("star",_);continue}if(p.type==="star"){if(r.noglobstar===!0){ae(_);continue}let b=p.prev,P=b.prev,Y=b.type==="slash"||b.type==="bos",se=P&&(P.type==="star"||P.type==="globstar");if(r.bash===!0&&(!Y||v[0]&&v[0]!=="/")){D({type:"star",value:_,output:""});continue}let z=d.braces>0&&(b.type==="comma"||b.type==="brace"),An=j.length&&(b.type==="pipe"||b.type==="paren");if(!Y&&b.type!=="paren"&&!z&&!An){D({type:"star",value:_,output:""});continue}for(;v.slice(0,3)==="/**";){let dr=e[d.index+4];if(dr&&dr!=="/")break;v=v.slice(3),ae("/**",3)}if(b.type==="bos"&&ie()){p.type="globstar",p.value+=_,p.output=O(r),d.output=p.output,d.globstar=!0,ae(_);continue}if(b.type==="slash"&&b.prev.type!=="bos"&&!se&&ie()){d.output=d.output.slice(0,-(b.output+p.output).length),b.output=`(?:${b.output}`,p.type="globstar",p.output=O(r)+(r.strictSlashes?")":"|$)"),p.value+=_,d.globstar=!0,d.output+=b.output+p.output,ae(_);continue}if(b.type==="slash"&&b.prev.type!=="bos"&&v[0]==="/"){let dr=v[1]!==void 0?"|$":"";d.output=d.output.slice(0,-(b.output+p.output).length),b.output=`(?:${b.output}`,p.type="globstar",p.output=`${O(r)}${x}|${x}${dr})`,p.value+=_,d.output+=b.output+p.output,d.globstar=!0,ae(_+xe()),D({type:"slash",value:"/",output:""});continue}if(b.type==="bos"&&v[0]==="/"){p.type="globstar",p.value+=_,p.output=`(?:^|${x}|${O(r)}${x})`,d.output=p.output,d.globstar=!0,ae(_+xe()),D({type:"slash",value:"/",output:""});continue}d.output=d.output.slice(0,-p.output.length),p.type="globstar",p.output=O(r),p.value+=_,d.output+=p.output,d.globstar=!0,ae(_);continue}let G={type:"star",value:_,output:R};if(r.bash===!0){G.output=".*?",(p.type==="bos"||p.type==="slash")&&(G.output=A+G.output),D(G);continue}if(p&&(p.type==="bracket"||p.type==="paren")&&r.regex===!0){G.output=_,D(G);continue}(d.index===d.start||p.type==="slash"||p.type==="dot")&&(p.type==="dot"?(d.output+=E,p.output+=E):r.dot===!0?(d.output+=M,p.output+=M):(d.output+=A,p.output+=A),k()!=="*"&&(d.output+=y,p.output+=y)),D(G)}for(;d.brackets>0;){if(r.strictBrackets===!0)throw new SyntaxError(Ct("closing","]"));d.output=le.escapeLast(d.output,"["),Je("brackets")}for(;d.parens>0;){if(r.strictBrackets===!0)throw new SyntaxError(Ct("closing",")"));d.output=le.escapeLast(d.output,"("),Je("parens")}for(;d.braces>0;){if(r.strictBrackets===!0)throw new SyntaxError(Ct("closing","}"));d.output=le.escapeLast(d.output,"{"),Je("braces")}if(r.strictSlashes!==!0&&(p.type==="star"||p.type==="bracket")&&D({type:"maybe_slash",value:"",output:`${x}?`}),d.backtrack===!0){d.output="";for(let v of d.tokens)d.output+=v.output!=null?v.output:v.value,v.suffix&&(d.output+=v.suffix)}return d};Gi.fastpaths=(e,t)=>{let r={...t},n=typeof r.maxLength=="number"?Math.min(tn,r.maxLength):tn,i=e.length;if(i>n)throw new SyntaxError(`Input length: ${i}, exceeds maximum allowed length: ${n}`);e=Cl[e]||e;let s=le.isWindows(t),{DOT_LITERAL:o,SLASH_LITERAL:a,ONE_CHAR:u,DOTS_SLASH:f,NO_DOT:l,NO_DOTS:h,NO_DOTS_SLASH:c,STAR:x,START_ANCHOR:y}=en.globChars(s),m=r.dot?h:l,S=r.dot?c:l,E=r.capture?"":"?:",M={negated:!1,prefix:""},B=r.bash===!0?".*?":x;r.capture&&(B=`(${B})`);let Z=A=>A.noglobstar===!0?B:`(${E}(?:(?!${y}${A.dot?f:o}).)*?)`,C=A=>{switch(A){case"*":return`${m}${u}${B}`;case".*":return`${o}${u}${B}`;case"*.*":return`${m}${B}${o}${u}${B}`;case"*/*":return`${m}${B}${a}${u}${S}${B}`;case"**":return m+Z(r);case"**/*":return`(?:${m}${Z(r)}${a})?${S}${u}${B}`;case"**/*.*":return`(?:${m}${Z(r)}${a})?${S}${B}${o}${u}${B}`;case"**/.*":return`(?:${m}${Z(r)}${a})?${o}${u}${B}`;default:{let F=/^(.*?)\.(\w+)$/.exec(A);if(!F)return;let R=C(F[1]);return R?R+o+F[2]:void 0}}},$=le.removePrefix(e,M),O=C($);return O&&r.strictSlashes!==!0&&(O+=`${a}?`),O};Ol.exports=Gi});var Ml=g((Vv,Ll)=>{"use strict";var Yg=w("path"),Kg=Tl(),Wi=Pl(),Vi=ur(),Qg=ar(),Xg=e=>e&&typeof e=="object"&&!Array.isArray(e),Q=(e,t,r=!1)=>{if(Array.isArray(e)){let l=e.map(c=>Q(c,t,r));return c=>{for(let x of l){let y=x(c);if(y)return y}return!1}}let n=Xg(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=Vi.isWindows(t),o=n?Q.compileRe(e,t):Q.makeRe(e,t,!1,!0),a=o.state;delete o.state;let u=()=>!1;if(i.ignore){let l={...t,ignore:null,onMatch:null,onResult:null};u=Q(i.ignore,l,r)}let f=(l,h=!1)=>{let{isMatch:c,match:x,output:y}=Q.test(l,o,t,{glob:e,posix:s}),m={glob:e,state:a,regex:o,posix:s,input:l,output:y,match:x,isMatch:c};return typeof i.onResult=="function"&&i.onResult(m),c===!1?(m.isMatch=!1,h?m:!1):u(l)?(typeof i.onIgnore=="function"&&i.onIgnore(m),m.isMatch=!1,h?m:!1):(typeof i.onMatch=="function"&&i.onMatch(m),h?m:!0)};return r&&(f.state=a),f};Q.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?Vi.toPosixSlashes:null),a=e===n,u=a&&o?o(e):e;return a===!1&&(u=o?o(e):e,a=u===n),(a===!1||s.capture===!0)&&(s.matchBase===!0||s.basename===!0?a=Q.matchBase(e,t,r,i):a=t.exec(u)),{isMatch:Boolean(a),match:a,output:u}};Q.matchBase=(e,t,r,n=Vi.isWindows(r))=>(t instanceof RegExp?t:Q.makeRe(t,r)).test(Yg.basename(e));Q.isMatch=(e,t,r)=>Q(t,r)(e);Q.parse=(e,t)=>Array.isArray(e)?e.map(r=>Q.parse(r,t)):Wi(e,{...t,fastpaths:!1});Q.scan=(e,t)=>Kg(e,t);Q.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 u=Q.toRegex(a,t);return n===!0&&(u.state=e),u};Q.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=Wi.fastpaths(e,t)),i.output||(i=Wi(e,t)),Q.compileRe(i,t,r,n)};Q.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/$^/}};Q.constants=Qg;Ll.exports=Q});var Bl=g((Yv,Dl)=>{"use strict";Dl.exports=Ml()});var ql=g((Kv,Fl)=>{"use strict";var Il=w("util"),kl=pl(),Pe=Bl(),Yi=ur(),Nl=e=>e===""||e==="./",V=(e,t,r)=>{t=[].concat(t),e=[].concat(e);let n=new Set,i=new Set,s=new Set,o=0,a=l=>{s.add(l.output),r&&r.onResult&&r.onResult(l)};for(let l=0;l<t.length;l++){let h=Pe(String(t[l]),{...r,onResult:a},!0),c=h.state.negated||h.state.negatedExtglob;c&&o++;for(let x of e){let y=h(x,!0);!(c?!y.isMatch:y.isMatch)||(c?n.add(y.output):(n.delete(y.output),i.add(y.output)))}}let f=(o===t.length?[...s]:[...i]).filter(l=>!n.has(l));if(r&&f.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(l=>l.replace(/\\/g,"")):t}return f};V.match=V;V.matcher=(e,t)=>Pe(e,t);V.isMatch=(e,t,r)=>Pe(t,r)(e);V.any=V.isMatch;V.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(V(e,t,{...r,onResult:s}));for(let a of i)o.has(a)||n.add(a);return[...n]};V.contains=(e,t,r)=>{if(typeof e!="string")throw new TypeError(`Expected a string: "${Il.inspect(e)}"`);if(Array.isArray(t))return t.some(n=>V.contains(e,n,r));if(typeof t=="string"){if(Nl(e)||Nl(t))return!1;if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t))return!0}return V.isMatch(e,t,{...r,contains:!0})};V.matchKeys=(e,t,r)=>{if(!Yi.isObject(e))throw new TypeError("Expected the first argument to be an object");let n=V(Object.keys(e),t,r),i={};for(let s of n)i[s]=e[s];return i};V.some=(e,t,r)=>{let n=[].concat(e);for(let i of[].concat(t)){let s=Pe(String(i),r);if(n.some(o=>s(o)))return!0}return!1};V.every=(e,t,r)=>{let n=[].concat(e);for(let i of[].concat(t)){let s=Pe(String(i),r);if(!n.every(o=>s(o)))return!1}return!0};V.all=(e,t,r)=>{if(typeof e!="string")throw new TypeError(`Expected a string: "${Il.inspect(e)}"`);return[].concat(t).every(n=>Pe(n,r)(e))};V.capture=(e,t,r)=>{let n=Yi.isWindows(r),s=Pe.makeRe(String(e),{...r,capture:!0}).exec(n?Yi.toPosixSlashes(t):t);if(s)return s.slice(1).map(o=>o===void 0?"":o)};V.makeRe=(...e)=>Pe.makeRe(...e);V.scan=(...e)=>Pe.scan(...e);V.parse=(e,t)=>{let r=[];for(let n of[].concat(e||[]))for(let i of kl(String(n),t))r.push(Pe.parse(i,t));return r};V.braces=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");return t&&t.nobrace===!0||!/\{.*\}/.test(e)?[e]:kl(e,t)};V.braceExpand=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");return V.braces(e,{...t,expand:!0})};Fl.exports=V});var Yl=g(T=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0});T.matchAny=T.convertPatternsToRe=T.makeRe=T.getPatternParts=T.expandBraceExpansion=T.expandPatternsWithBraceExpansion=T.isAffectDepthOfReadingPattern=T.endsWithSlashGlobStar=T.hasGlobStar=T.getBaseDirectory=T.isPatternRelatedToParentDirectory=T.getPatternsOutsideCurrentDirectory=T.getPatternsInsideCurrentDirectory=T.getPositivePatterns=T.getNegativePatterns=T.isPositivePattern=T.isNegativePattern=T.convertToNegativePattern=T.convertToPositivePattern=T.isDynamicPattern=T.isStaticPattern=void 0;var Jg=w("path"),Zg=Lu(),Ki=ql(),jl="**",zg="\\",e0=/[*?]|^!/,t0=/\[[^[]*]/,r0=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,n0=/[!*+?@]\([^(]*\)/,i0=/,|\.\./;function $l(e,t={}){return!Hl(e,t)}T.isStaticPattern=$l;function Hl(e,t={}){return e===""?!1:!!(t.caseSensitiveMatch===!1||e.includes(zg)||e0.test(e)||t0.test(e)||r0.test(e)||t.extglob!==!1&&n0.test(e)||t.braceExpansion!==!1&&s0(e))}T.isDynamicPattern=Hl;function s0(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 i0.test(n)}function o0(e){return rn(e)?e.slice(1):e}T.convertToPositivePattern=o0;function a0(e){return"!"+e}T.convertToNegativePattern=a0;function rn(e){return e.startsWith("!")&&e[1]!=="("}T.isNegativePattern=rn;function Ul(e){return!rn(e)}T.isPositivePattern=Ul;function u0(e){return e.filter(rn)}T.getNegativePatterns=u0;function l0(e){return e.filter(Ul)}T.getPositivePatterns=l0;function f0(e){return e.filter(t=>!Qi(t))}T.getPatternsInsideCurrentDirectory=f0;function c0(e){return e.filter(Qi)}T.getPatternsOutsideCurrentDirectory=c0;function Qi(e){return e.startsWith("..")||e.startsWith("./..")}T.isPatternRelatedToParentDirectory=Qi;function h0(e){return Zg(e,{flipBackslashes:!1})}T.getBaseDirectory=h0;function d0(e){return e.includes(jl)}T.hasGlobStar=d0;function Gl(e){return e.endsWith("/"+jl)}T.endsWithSlashGlobStar=Gl;function p0(e){let t=Jg.basename(e);return Gl(e)||$l(t)}T.isAffectDepthOfReadingPattern=p0;function _0(e){return e.reduce((t,r)=>t.concat(Wl(r)),[])}T.expandPatternsWithBraceExpansion=_0;function Wl(e){return Ki.braces(e,{expand:!0,nodupes:!0})}T.expandBraceExpansion=Wl;function g0(e,t){let{parts:r}=Ki.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}T.getPatternParts=g0;function Vl(e,t){return Ki.makeRe(e,t)}T.makeRe=Vl;function m0(e,t){return e.map(r=>Vl(r,t))}T.convertPatternsToRe=m0;function y0(e,t){return t.some(r=>r.test(e))}T.matchAny=y0});var Jl=g((Xv,Xl)=>{"use strict";var b0=w("stream"),Kl=b0.PassThrough,v0=Array.prototype.slice;Xl.exports=E0;function E0(){let e=[],t=v0.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=Kl(n);function a(){for(let l=0,h=arguments.length;l<h;l++)e.push(Ql(arguments[l],n));return u(),this}function u(){if(r)return;r=!0;let l=e.shift();if(!l){process.nextTick(f);return}Array.isArray(l)||(l=[l]);let h=l.length+1;function c(){--h>0||(r=!1,u())}function x(y){function m(){y.removeListener("merge2UnpipeEnd",m),y.removeListener("end",m),s&&y.removeListener("error",S),c()}function S(E){o.emit("error",E)}if(y._readableState.endEmitted)return c();y.on("merge2UnpipeEnd",m),y.on("end",m),s&&y.on("error",S),y.pipe(o,{end:!1}),y.resume()}for(let y=0;y<l.length;y++)x(l[y]);c()}function f(){r=!1,o.emit("queueDrain"),i&&o.end()}return o.setMaxListeners(0),o.add=a,o.on("unpipe",function(l){l.emit("merge2UnpipeEnd")}),t.length&&a.apply(null,t),o}function Ql(e,t){if(Array.isArray(e))for(let r=0,n=e.length;r<n;r++)e[r]=Ql(e[r],t);else{if(!e._readableState&&e.pipe&&(e=e.pipe(Kl(t))),!e._readableState||!e.pause||!e.pipe)throw new Error("Only readable stream can be merged.");e.pause()}return e}});var zl=g(nn=>{"use strict";Object.defineProperty(nn,"__esModule",{value:!0});nn.merge=void 0;var x0=Jl();function S0(e){let t=x0(e);return e.forEach(r=>{r.once("error",n=>t.emit("error",n))}),t.once("close",()=>Zl(e)),t.once("end",()=>Zl(e)),t}nn.merge=S0;function Zl(e){e.forEach(t=>t.emit("close"))}});var ef=g(Ot=>{"use strict";Object.defineProperty(Ot,"__esModule",{value:!0});Ot.isEmpty=Ot.isString=void 0;function R0(e){return typeof e=="string"}Ot.isString=R0;function w0(e){return e===""}Ot.isEmpty=w0});var Ie=g(re=>{"use strict";Object.defineProperty(re,"__esModule",{value:!0});re.string=re.stream=re.pattern=re.path=re.fs=re.errno=re.array=void 0;var A0=vu();re.array=A0;var T0=Eu();re.errno=T0;var C0=Su();re.fs=C0;var O0=Ru();re.path=O0;var P0=Yl();re.pattern=P0;var L0=zl();re.stream=L0;var M0=ef();re.string=M0});var nf=g(ne=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0});ne.convertPatternGroupToTask=ne.convertPatternGroupsToTasks=ne.groupPatternsByBaseDirectory=ne.getNegativePatternsAsPositive=ne.getPositivePatterns=ne.convertPatternsToTasks=ne.generate=void 0;var ke=Ie();function D0(e,t){let r=tf(e),n=rf(e,t.ignore),i=r.filter(u=>ke.pattern.isStaticPattern(u,t)),s=r.filter(u=>ke.pattern.isDynamicPattern(u,t)),o=Xi(i,n,!1),a=Xi(s,n,!0);return o.concat(a)}ne.generate=D0;function Xi(e,t,r){let n=[],i=ke.pattern.getPatternsOutsideCurrentDirectory(e),s=ke.pattern.getPatternsInsideCurrentDirectory(e),o=Ji(i),a=Ji(s);return n.push(...Zi(o,t,r)),"."in a?n.push(zi(".",s,t,r)):n.push(...Zi(a,t,r)),n}ne.convertPatternsToTasks=Xi;function tf(e){return ke.pattern.getPositivePatterns(e)}ne.getPositivePatterns=tf;function rf(e,t){return ke.pattern.getNegativePatterns(e).concat(t).map(ke.pattern.convertToPositivePattern)}ne.getNegativePatternsAsPositive=rf;function Ji(e){let t={};return e.reduce((r,n)=>{let i=ke.pattern.getBaseDirectory(n);return i in r?r[i].push(n):r[i]=[n],r},t)}ne.groupPatternsByBaseDirectory=Ji;function Zi(e,t,r){return Object.keys(e).map(n=>zi(n,e[n],t,r))}ne.convertPatternGroupsToTasks=Zi;function zi(e,t,r,n){return{dynamic:n,positive:t,negative:r,base:e,patterns:[].concat(t,r.map(ke.pattern.convertToNegativePattern))}}ne.convertPatternGroupToTask=zi});var of=g(Pt=>{"use strict";Object.defineProperty(Pt,"__esModule",{value:!0});Pt.removeDuplicateSlashes=Pt.transform=void 0;var B0=/(?!^)\/{2,}/g;function N0(e){return e.map(t=>sf(t))}Pt.transform=N0;function sf(e){return e.replace(B0,"/")}Pt.removeDuplicateSlashes=sf});var uf=g(sn=>{"use strict";Object.defineProperty(sn,"__esModule",{value:!0});sn.read=void 0;function I0(e,t,r){t.fs.lstat(e,(n,i)=>{if(n!==null){af(r,n);return}if(!i.isSymbolicLink()||!t.followSymbolicLink){es(r,i);return}t.fs.stat(e,(s,o)=>{if(s!==null){if(t.throwErrorOnBrokenSymbolicLink){af(r,s);return}es(r,i);return}t.markSymbolicLink&&(o.isSymbolicLink=()=>!0),es(r,o)})})}sn.read=I0;function af(e,t){e(t)}function es(e,t){e(null,t)}});var lf=g(on=>{"use strict";Object.defineProperty(on,"__esModule",{value:!0});on.read=void 0;function k0(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}}on.read=k0});var ff=g(We=>{"use strict";Object.defineProperty(We,"__esModule",{value:!0});We.createFileSystemAdapter=We.FILE_SYSTEM_ADAPTER=void 0;var an=w("fs");We.FILE_SYSTEM_ADAPTER={lstat:an.lstat,stat:an.stat,lstatSync:an.lstatSync,statSync:an.statSync};function F0(e){return e===void 0?We.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},We.FILE_SYSTEM_ADAPTER),e)}We.createFileSystemAdapter=F0});var hf=g(ts=>{"use strict";Object.defineProperty(ts,"__esModule",{value:!0});var q0=ff(),cf=class{constructor(t={}){this._options=t,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=q0.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}};ts.default=cf});var lt=g(Ve=>{"use strict";Object.defineProperty(Ve,"__esModule",{value:!0});Ve.statSync=Ve.stat=Ve.Settings=void 0;var df=uf(),j0=lf(),rs=hf();Ve.Settings=rs.default;function $0(e,t,r){if(typeof t=="function"){df.read(e,ns(),t);return}df.read(e,ns(t),r)}Ve.stat=$0;function H0(e,t){let r=ns(t);return j0.read(e,r)}Ve.statSync=H0;function ns(e={}){return e instanceof rs.default?e:new rs.default(e)}});var gf=g((aE,_f)=>{var pf;_f.exports=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:global):e=>(pf||(pf=Promise.resolve())).then(e).catch(t=>setTimeout(()=>{throw t},0))});var yf=g((uE,mf)=>{mf.exports=G0;var U0=gf();function G0(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(u){function f(){t&&t(u,r),t=null}s?U0(f):f()}function a(u,f,l){r[u]=l,(--n===0||f)&&o(f)}n?i?i.forEach(function(u){e[u](function(f,l){a(u,f,l)})}):e.forEach(function(u,f){u(function(l,h){a(f,l,h)})}):o(null),s=!1}});var is=g(ln=>{"use strict";Object.defineProperty(ln,"__esModule",{value:!0});ln.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;var un=process.versions.node.split(".");if(un[0]===void 0||un[1]===void 0)throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);var bf=Number.parseInt(un[0],10),W0=Number.parseInt(un[1],10),vf=10,V0=10,Y0=bf>vf,K0=bf===vf&&W0>=V0;ln.IS_SUPPORT_READDIR_WITH_FILE_TYPES=Y0||K0});var xf=g(fn=>{"use strict";Object.defineProperty(fn,"__esModule",{value:!0});fn.createDirentFromStats=void 0;var Ef=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 Q0(e,t){return new Ef(e,t)}fn.createDirentFromStats=Q0});var ss=g(cn=>{"use strict";Object.defineProperty(cn,"__esModule",{value:!0});cn.fs=void 0;var X0=xf();cn.fs=X0});var os=g(hn=>{"use strict";Object.defineProperty(hn,"__esModule",{value:!0});hn.joinPathSegments=void 0;function J0(e,t,r){return e.endsWith(r)?e+t:e+r+t}hn.joinPathSegments=J0});var Cf=g(Ye=>{"use strict";Object.defineProperty(Ye,"__esModule",{value:!0});Ye.readdir=Ye.readdirWithFileTypes=Ye.read=void 0;var Z0=lt(),Sf=yf(),z0=is(),Rf=ss(),wf=os();function em(e,t,r){if(!t.stats&&z0.IS_SUPPORT_READDIR_WITH_FILE_TYPES){Af(e,t,r);return}Tf(e,t,r)}Ye.read=em;function Af(e,t,r){t.fs.readdir(e,{withFileTypes:!0},(n,i)=>{if(n!==null){dn(r,n);return}let s=i.map(a=>({dirent:a,name:a.name,path:wf.joinPathSegments(e,a.name,t.pathSegmentSeparator)}));if(!t.followSymbolicLinks){as(r,s);return}let o=s.map(a=>tm(a,t));Sf(o,(a,u)=>{if(a!==null){dn(r,a);return}as(r,u)})})}Ye.readdirWithFileTypes=Af;function tm(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 Tf(e,t,r){t.fs.readdir(e,(n,i)=>{if(n!==null){dn(r,n);return}let s=i.map(o=>{let a=wf.joinPathSegments(e,o,t.pathSegmentSeparator);return u=>{Z0.stat(a,t.fsStatSettings,(f,l)=>{if(f!==null){u(f);return}let h={name:o,path:a,dirent:Rf.fs.createDirentFromStats(o,l)};t.stats&&(h.stats=l),u(null,h)})}});Sf(s,(o,a)=>{if(o!==null){dn(r,o);return}as(r,a)})})}Ye.readdir=Tf;function dn(e,t){e(t)}function as(e,t){e(null,t)}});var Df=g(Ke=>{"use strict";Object.defineProperty(Ke,"__esModule",{value:!0});Ke.readdir=Ke.readdirWithFileTypes=Ke.read=void 0;var rm=lt(),nm=is(),Of=ss(),Pf=os();function im(e,t){return!t.stats&&nm.IS_SUPPORT_READDIR_WITH_FILE_TYPES?Lf(e,t):Mf(e,t)}Ke.read=im;function Lf(e,t){return t.fs.readdirSync(e,{withFileTypes:!0}).map(n=>{let i={dirent:n,name:n.name,path:Pf.joinPathSegments(e,n.name,t.pathSegmentSeparator)};if(i.dirent.isSymbolicLink()&&t.followSymbolicLinks)try{let s=t.fs.statSync(i.path);i.dirent=Of.fs.createDirentFromStats(i.name,s)}catch(s){if(t.throwErrorOnBrokenSymbolicLink)throw s}return i})}Ke.readdirWithFileTypes=Lf;function Mf(e,t){return t.fs.readdirSync(e).map(n=>{let i=Pf.joinPathSegments(e,n,t.pathSegmentSeparator),s=rm.statSync(i,t.fsStatSettings),o={name:n,path:i,dirent:Of.fs.createDirentFromStats(n,s)};return t.stats&&(o.stats=s),o})}Ke.readdir=Mf});var Bf=g(Qe=>{"use strict";Object.defineProperty(Qe,"__esModule",{value:!0});Qe.createFileSystemAdapter=Qe.FILE_SYSTEM_ADAPTER=void 0;var Lt=w("fs");Qe.FILE_SYSTEM_ADAPTER={lstat:Lt.lstat,stat:Lt.stat,lstatSync:Lt.lstatSync,statSync:Lt.statSync,readdir:Lt.readdir,readdirSync:Lt.readdirSync};function sm(e){return e===void 0?Qe.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},Qe.FILE_SYSTEM_ADAPTER),e)}Qe.createFileSystemAdapter=sm});var If=g(us=>{"use strict";Object.defineProperty(us,"__esModule",{value:!0});var om=w("path"),am=lt(),um=Bf(),Nf=class{constructor(t={}){this._options=t,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=um.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,om.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new am.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(t,r){return t??r}};us.default=Nf});var pn=g(Xe=>{"use strict";Object.defineProperty(Xe,"__esModule",{value:!0});Xe.Settings=Xe.scandirSync=Xe.scandir=void 0;var kf=Cf(),lm=Df(),ls=If();Xe.Settings=ls.default;function fm(e,t,r){if(typeof t=="function"){kf.read(e,fs(),t);return}kf.read(e,fs(t),r)}Xe.scandir=fm;function cm(e,t){let r=fs(t);return lm.read(e,r)}Xe.scandirSync=cm;function fs(e={}){return e instanceof ls.default?e:new ls.default(e)}});var qf=g((yE,Ff)=>{"use strict";function hm(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}}Ff.exports=hm});var $f=g((bE,cs)=>{"use strict";var dm=qf();function jf(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=dm(pm),i=null,s=null,o=0,a=null,u={push:m,drain:_e,saturated:_e,pause:l,paused:!1,concurrency:r,running:f,resume:x,idle:y,length:h,getQueue:c,unshift:S,empty:_e,kill:M,killAndDrain:B,error:Z};return u;function f(){return o}function l(){u.paused=!0}function h(){for(var C=i,$=0;C;)C=C.next,$++;return $}function c(){for(var C=i,$=[];C;)$.push(C.value),C=C.next;return $}function x(){if(!!u.paused){u.paused=!1;for(var C=0;C<u.concurrency;C++)o++,E()}}function y(){return o===0&&u.length()===0}function m(C,$){var O=n.get();O.context=e,O.release=E,O.value=C,O.callback=$||_e,O.errorHandler=a,o===u.concurrency||u.paused?s?(s.next=O,s=O):(i=O,s=O,u.saturated()):(o++,t.call(e,O.value,O.worked))}function S(C,$){var O=n.get();O.context=e,O.release=E,O.value=C,O.callback=$||_e,o===u.concurrency||u.paused?i?(O.next=i,i=O):(i=O,s=O,u.saturated()):(o++,t.call(e,O.value,O.worked))}function E(C){C&&n.release(C);var $=i;$?u.paused?o--:(s===i&&(s=null),i=$.next,$.next=null,t.call(e,$.value,$.worked),s===null&&u.empty()):--o===0&&u.drain()}function M(){i=null,s=null,u.drain=_e}function B(){i=null,s=null,u.drain(),u.drain=_e}function Z(C){a=C}}function _e(){}function pm(){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 _m(e,t,r){typeof e=="function"&&(r=t,t=e,e=null);function n(l,h){t.call(this,l).then(function(c){h(null,c)},h)}var i=jf(e,n,r),s=i.push,o=i.unshift;return i.push=a,i.unshift=u,i.drained=f,i;function a(l){var h=new Promise(function(c,x){s(l,function(y,m){if(y){x(y);return}c(m)})});return h.catch(_e),h}function u(l){var h=new Promise(function(c,x){o(l,function(y,m){if(y){x(y);return}c(m)})});return h.catch(_e),h}function f(){var l=i.drain,h=new Promise(function(c){i.drain=function(){l(),c()}});return h}}cs.exports=jf;cs.exports.promise=_m});var _n=g(Le=>{"use strict";Object.defineProperty(Le,"__esModule",{value:!0});Le.joinPathSegments=Le.replacePathSegmentSeparator=Le.isAppliedFilter=Le.isFatalError=void 0;function gm(e,t){return e.errorFilter===null?!0:!e.errorFilter(t)}Le.isFatalError=gm;function mm(e,t){return e===null||e(t)}Le.isAppliedFilter=mm;function ym(e,t){return e.split(/[/\\]/).join(t)}Le.replacePathSegmentSeparator=ym;function bm(e,t,r){return e===""?t:e.endsWith(r)?e+t:e+r+t}Le.joinPathSegments=bm});var ds=g(hs=>{"use strict";Object.defineProperty(hs,"__esModule",{value:!0});var vm=_n(),Hf=class{constructor(t,r){this._root=t,this._settings=r,this._root=vm.replacePathSegmentSeparator(t,r.pathSegmentSeparator)}};hs.default=Hf});var _s=g(ps=>{"use strict";Object.defineProperty(ps,"__esModule",{value:!0});var Em=w("events"),xm=pn(),Sm=$f(),gn=_n(),Rm=ds(),Uf=class extends Rm.default{constructor(t,r){super(t,r);this._settings=r,this._scandir=xm.scandir,this._emitter=new Em.EventEmitter,this._queue=Sm(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||!gn.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=gn.joinPathSegments(r,t.name,this._settings.pathSegmentSeparator)),gn.isAppliedFilter(this._settings.entryFilter,t)&&this._emitEntry(t),t.dirent.isDirectory()&&gn.isAppliedFilter(this._settings.deepFilter,t)&&this._pushToQueue(n,r===void 0?void 0:t.path)}_emitEntry(t){this._emitter.emit("entry",t)}};ps.default=Uf});var Wf=g(gs=>{"use strict";Object.defineProperty(gs,"__esModule",{value:!0});var wm=_s(),Gf=class{constructor(t,r){this._root=t,this._settings=r,this._reader=new wm.default(this._root,this._settings),this._storage=[]}read(t){this._reader.onError(r=>{Am(t,r)}),this._reader.onEntry(r=>{this._storage.push(r)}),this._reader.onEnd(()=>{Tm(t,this._storage)}),this._reader.read()}};gs.default=Gf;function Am(e,t){e(t)}function Tm(e,t){e(null,t)}});var Yf=g(ms=>{"use strict";Object.defineProperty(ms,"__esModule",{value:!0});var Cm=w("stream"),Om=_s(),Vf=class{constructor(t,r){this._root=t,this._settings=r,this._reader=new Om.default(this._root,this._settings),this._stream=new Cm.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}};ms.default=Vf});var Qf=g(ys=>{"use strict";Object.defineProperty(ys,"__esModule",{value:!0});var Pm=pn(),mn=_n(),Lm=ds(),Kf=class extends Lm.default{constructor(){super(...arguments);this._scandir=Pm.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(!!mn.isFatalError(this._settings,t))throw t}_handleEntry(t,r){let n=t.path;r!==void 0&&(t.path=mn.joinPathSegments(r,t.name,this._settings.pathSegmentSeparator)),mn.isAppliedFilter(this._settings.entryFilter,t)&&this._pushToStorage(t),t.dirent.isDirectory()&&mn.isAppliedFilter(this._settings.deepFilter,t)&&this._pushToQueue(n,r===void 0?void 0:t.path)}_pushToStorage(t){this._storage.push(t)}};ys.default=Kf});var Jf=g(bs=>{"use strict";Object.defineProperty(bs,"__esModule",{value:!0});var Mm=Qf(),Xf=class{constructor(t,r){this._root=t,this._settings=r,this._reader=new Mm.default(this._root,this._settings)}read(){return this._reader.read()}};bs.default=Xf});var zf=g(vs=>{"use strict";Object.defineProperty(vs,"__esModule",{value:!0});var Dm=w("path"),Bm=pn(),Zf=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,Dm.sep),this.fsScandirSettings=new Bm.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}};vs.default=Zf});var xs=g(Me=>{"use strict";Object.defineProperty(Me,"__esModule",{value:!0});Me.Settings=Me.walkStream=Me.walkSync=Me.walk=void 0;var ec=Wf(),Nm=Yf(),Im=Jf(),Es=zf();Me.Settings=Es.default;function km(e,t,r){if(typeof t=="function"){new ec.default(e,yn()).read(t);return}new ec.default(e,yn(t)).read(r)}Me.walk=km;function Fm(e,t){let r=yn(t);return new Im.default(e,r).read()}Me.walkSync=Fm;function qm(e,t){let r=yn(t);return new Nm.default(e,r).read()}Me.walkStream=qm;function yn(e={}){return e instanceof Es.default?e:new Es.default(e)}});var Rs=g(Ss=>{"use strict";Object.defineProperty(Ss,"__esModule",{value:!0});var jm=w("path"),$m=lt(),tc=Ie(),rc=class{constructor(t){this._settings=t,this._fsStatSettings=new $m.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(t){return jm.resolve(this._settings.cwd,t)}_makeEntry(t,r){let n={name:r,path:r,dirent:tc.fs.createDirentFromStats(r,t)};return this._settings.stats&&(n.stats=t),n}_isFatalError(t){return!tc.errno.isEnoentCodeError(t)&&!this._settings.suppressErrors}};Ss.default=rc});var As=g(ws=>{"use strict";Object.defineProperty(ws,"__esModule",{value:!0});var Hm=w("stream"),Um=lt(),Gm=xs(),Wm=Rs(),nc=class extends Wm.default{constructor(){super(...arguments);this._walkStream=Gm.walkStream,this._stat=Um.stat}dynamic(t,r){return this._walkStream(t,r)}static(t,r){let n=t.map(this._getFullEntryPath,this),i=new Hm.PassThrough({objectMode:!0});i._write=(s,o,a)=>this._getEntry(n[s],t[s],r).then(u=>{u!==null&&r.entryFilter(u)&&i.push(u),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))})}};ws.default=nc});var sc=g(Ts=>{"use strict";Object.defineProperty(Ts,"__esModule",{value:!0});var Mt=Ie(),ic=class{constructor(t,r,n){this._patterns=t,this._settings=r,this._micromatchOptions=n,this._storage=[],this._fillStorage()}_fillStorage(){let t=Mt.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 Mt.pattern.getPatternParts(t,this._micromatchOptions).map(n=>Mt.pattern.isDynamicPattern(n,this._settings)?{dynamic:!0,pattern:n,patternRe:Mt.pattern.makeRe(n,this._micromatchOptions)}:{dynamic:!1,pattern:n})}_splitSegmentsIntoSections(t){return Mt.array.splitWhen(t,r=>r.dynamic&&Mt.pattern.hasGlobStar(r.pattern))}};Ts.default=ic});var ac=g(Cs=>{"use strict";Object.defineProperty(Cs,"__esModule",{value:!0});var Vm=sc(),oc=class extends Vm.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((u,f)=>{let l=s.segments[f];return!!(l.dynamic&&l.patternRe.test(u)||!l.dynamic&&l.pattern===u)}))return!0}return!1}};Cs.default=oc});var lc=g(Os=>{"use strict";Object.defineProperty(Os,"__esModule",{value:!0});var bn=Ie(),Ym=ac(),uc=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 Ym.default(t,this._settings,this._micromatchOptions)}_getNegativePatternsRe(t){let r=t.filter(bn.pattern.isAffectDepthOfReadingPattern);return bn.pattern.convertPatternsToRe(r,this._micromatchOptions)}_filter(t,r,n,i){if(this._isSkippedByDeep(t,r.path)||this._isSkippedSymbolicLink(r))return!1;let s=bn.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!bn.pattern.matchAny(t,r)}};Os.default=uc});var cc=g(Ps=>{"use strict";Object.defineProperty(Ps,"__esModule",{value:!0});var ft=Ie(),fc=class{constructor(t,r){this._settings=t,this._micromatchOptions=r,this.index=new Map}getFilter(t,r){let n=ft.pattern.convertPatternsToRe(t,this._micromatchOptions),i=ft.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=this._isMatchToPatterns(i,r)&&!this._isMatchToPatterns(t.path,n);return this._settings.unique&&s&&this._createIndexRecord(t),s}_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=ft.path.makeAbsolute(this._settings.cwd,t);return ft.pattern.matchAny(n,r)}_isMatchToPatterns(t,r){let n=ft.path.removeLeadingDotSegment(t);return ft.pattern.matchAny(n,r)||ft.pattern.matchAny(n+"/",r)}};Ps.default=fc});var dc=g(Ls=>{"use strict";Object.defineProperty(Ls,"__esModule",{value:!0});var Km=Ie(),hc=class{constructor(t){this._settings=t}getFilter(){return t=>this._isNonFatalError(t)}_isNonFatalError(t){return Km.errno.isEnoentCodeError(t)||this._settings.suppressErrors}};Ls.default=hc});var gc=g(Ms=>{"use strict";Object.defineProperty(Ms,"__esModule",{value:!0});var pc=Ie(),_c=class{constructor(t){this._settings=t}getTransformer(){return t=>this._transform(t)}_transform(t){let r=t.path;return this._settings.absolute&&(r=pc.path.makeAbsolute(this._settings.cwd,r),r=pc.path.unixify(r)),this._settings.markDirectories&&t.dirent.isDirectory()&&(r+="/"),this._settings.objectMode?Object.assign(Object.assign({},t),{path:r}):r}};Ms.default=_c});var vn=g(Ds=>{"use strict";Object.defineProperty(Ds,"__esModule",{value:!0});var Qm=w("path"),Xm=lc(),Jm=cc(),Zm=dc(),zm=gc(),mc=class{constructor(t){this._settings=t,this.errorFilter=new Zm.default(this._settings),this.entryFilter=new Jm.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new Xm.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new zm.default(this._settings)}_getRootDirectory(t){return Qm.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=mc});var bc=g(Bs=>{"use strict";Object.defineProperty(Bs,"__esModule",{value:!0});var ey=As(),ty=vn(),yc=class extends ty.default{constructor(){super(...arguments);this._reader=new ey.default(this._settings)}read(t){let r=this._getRootDirectory(t),n=this._getReaderOptions(t),i=[];return new Promise((s,o)=>{let a=this.api(r,t,n);a.once("error",o),a.on("data",u=>i.push(n.transform(u))),a.once("end",()=>s(i))})}api(t,r,n){return r.dynamic?this._reader.dynamic(t,n):this._reader.static(r.patterns,n)}};Bs.default=yc});var Ec=g(Ns=>{"use strict";Object.defineProperty(Ns,"__esModule",{value:!0});var ry=w("stream"),ny=As(),iy=vn(),vc=class extends iy.default{constructor(){super(...arguments);this._reader=new ny.default(this._settings)}read(t){let r=this._getRootDirectory(t),n=this._getReaderOptions(t),i=this.api(r,t,n),s=new ry.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)}};Ns.default=vc});var Sc=g(Is=>{"use strict";Object.defineProperty(Is,"__esModule",{value:!0});var sy=lt(),oy=xs(),ay=Rs(),xc=class extends ay.default{constructor(){super(...arguments);this._walkSync=oy.walkSync,this._statSync=sy.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)}};Is.default=xc});var wc=g(ks=>{"use strict";Object.defineProperty(ks,"__esModule",{value:!0});var uy=Sc(),ly=vn(),Rc=class extends ly.default{constructor(){super(...arguments);this._reader=new uy.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)}};ks.default=Rc});var Tc=g(Bt=>{"use strict";Object.defineProperty(Bt,"__esModule",{value:!0});Bt.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;var Dt=w("fs"),fy=w("os"),cy=Math.max(fy.cpus().length,1);Bt.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:Dt.lstat,lstatSync:Dt.lstatSync,stat:Dt.stat,statSync:Dt.statSync,readdir:Dt.readdir,readdirSync:Dt.readdirSync};var Ac=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,cy),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({},Bt.DEFAULT_FILE_SYSTEM_ADAPTER),t)}};Bt.default=Ac});var $s=g((UE,Pc)=>{"use strict";var Cc=nf(),Oc=of(),hy=bc(),dy=Ec(),py=wc(),Fs=Tc(),ct=Ie();async function qs(e,t){Nt(e);let r=js(e,hy.default,t),n=await Promise.all(r);return ct.array.flatten(n)}(function(e){function t(o,a){Nt(o);let u=js(o,py.default,a);return ct.array.flatten(u)}e.sync=t;function r(o,a){Nt(o);let u=js(o,dy.default,a);return ct.stream.merge(u)}e.stream=r;function n(o,a){Nt(o);let u=Oc.transform([].concat(o)),f=new Fs.default(a);return Cc.generate(u,f)}e.generateTasks=n;function i(o,a){Nt(o);let u=new Fs.default(a);return ct.pattern.isDynamicPattern(o,u)}e.isDynamicPattern=i;function s(o){return Nt(o),ct.path.escape(o)}e.escapePath=s})(qs||(qs={}));function js(e,t,r){let n=Oc.transform([].concat(e)),i=new Fs.default(r),s=Cc.generate(n,i),o=new t(i);return s.map(o.read,o)}function Nt(e){if(![].concat(e).every(n=>ct.string.isString(n)&&!ct.string.isEmpty(n)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}Pc.exports=qs});import{relative as Hy,resolve as Uy}from"path";import{existsSync as Gy}from"fs";import{lstat as Wy}from"fs/promises";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`;function rh(){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=Zs(),t.color.ansi256=zs(),t.color.ansi16m=eo(),t.bgColor.ansi=Zs(10),t.bgColor.ansi256=zs(10),t.bgColor.ansi16m=eo(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 u=r%36;n=Math.floor(r/36)/5,i=Math.floor(u/6)/5,s=u%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 nh=rh(),ge=nh;import Tn from"node:process";import ih from"node:os";import to from"node:tty";function fe(e,t=Tn.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:X}=Tn,pr;fe("no-color")||fe("no-colors")||fe("color=false")||fe("color=never")?pr=0:(fe("color")||fe("colors")||fe("color=true")||fe("color=always"))&&(pr=1);function sh(){if("FORCE_COLOR"in X)return X.FORCE_COLOR==="true"?1:X.FORCE_COLOR==="false"?0:X.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(X.FORCE_COLOR,10),3)}function oh(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function ah(e,{streamIsTTY:t,sniffFlags:r=!0}={}){let n=sh();n!==void 0&&(pr=n);let i=r?pr: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(X.TERM==="dumb")return s;if(Tn.platform==="win32"){let o=ih.release().split(".");return Number(o[0])>=10&&Number(o[2])>=10586?Number(o[2])>=14931?3:2:1}if("CI"in X)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(o=>o in X)||X.CI_NAME==="codeship"?1:s;if("TEAMCITY_VERSION"in X)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(X.TEAMCITY_VERSION)?1:0;if("TF_BUILD"in X&&"AGENT_NAME"in X)return 1;if(X.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in X){let o=Number.parseInt((X.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(X.TERM_PROGRAM){case"iTerm.app":return o>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(X.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(X.TERM)||"COLORTERM"in X?1:s}function ro(e,t={}){let r=ah(e,{streamIsTTY:e&&e.isTTY,...t});return oh(r)}var uh={stdout:ro({isTTY:to.isatty(1)}),stderr:ro({isTTY:to.isatty(2)})},no=uh;function io(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 so(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
4
+ var Qc=Object.create;var Xs=Object.defineProperty;var Xc=Object.getOwnPropertyDescriptor;var Jc=Object.getOwnPropertyNames;var Zc=Object.getPrototypeOf,zc=Object.prototype.hasOwnProperty;var w=(e=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(e,{get:(t,r)=>(typeof require!="undefined"?require:t)[r]}):e)(function(e){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var g=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var eh=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Jc(t))!zc.call(e,i)&&i!==r&&Xs(e,i,{get:()=>t[i],enumerable:!(n=Xc(t,i))||n.enumerable});return e};var qe=(e,t,r)=>(r=e!=null?Qc(Zc(e)):{},eh(t||!e||!e.__esModule?Xs(r,"default",{value:e,enumerable:!0}):r,e));var bo=g((bb,In)=>{"use strict";var yo=(e,t)=>{for(let r of Reflect.ownKeys(t))Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));return e};In.exports=yo;In.exports.default=yo});var Eo=g((vb,br)=>{"use strict";var jh=bo(),yr=new WeakMap,vo=(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(yr.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 jh(s,e),yr.set(s,n),s};br.exports=vo;br.exports.default=vo;br.exports.callCount=e=>{if(!yr.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return yr.get(e)}});var xo=g((Eb,vr)=>{vr.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&vr.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&vr.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var To=g((xb,vt)=>{var W=global.process,ze=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"};ze(W)?(So=w("assert"),yt=xo(),Ro=/^win/i.test(W.platform),Ht=w("events"),typeof Ht!="function"&&(Ht=Ht.EventEmitter),W.__signal_exit_emitter__?ee=W.__signal_exit_emitter__:(ee=W.__signal_exit_emitter__=new Ht,ee.count=0,ee.emitted={}),ee.infinite||(ee.setMaxListeners(1/0),ee.infinite=!0),vt.exports=function(e,t){if(!ze(global.process))return function(){};So.equal(typeof e,"function","a callback must be provided for exit handler"),bt===!1&&kn();var r="exit";t&&t.alwaysLast&&(r="afterexit");var n=function(){ee.removeListener(r,e),ee.listeners("exit").length===0&&ee.listeners("afterexit").length===0&&Er()};return ee.on(r,e),n},Er=function(){!bt||!ze(global.process)||(bt=!1,yt.forEach(function(t){try{W.removeListener(t,xr[t])}catch{}}),W.emit=Sr,W.reallyExit=Fn,ee.count-=1)},vt.exports.unload=Er,et=function(t,r,n){ee.emitted[t]||(ee.emitted[t]=!0,ee.emit(t,r,n))},xr={},yt.forEach(function(e){xr[e]=function(){if(!!ze(global.process)){var r=W.listeners(e);r.length===ee.count&&(Er(),et("exit",null,e),et("afterexit",null,e),Ro&&e==="SIGHUP"&&(e="SIGINT"),W.kill(W.pid,e))}}}),vt.exports.signals=function(){return yt},bt=!1,kn=function(){bt||!ze(global.process)||(bt=!0,ee.count+=1,yt=yt.filter(function(t){try{return W.on(t,xr[t]),!0}catch{return!1}}),W.emit=Ao,W.reallyExit=wo)},vt.exports.load=kn,Fn=W.reallyExit,wo=function(t){!ze(global.process)||(W.exitCode=t||0,et("exit",W.exitCode,null),et("afterexit",W.exitCode,null),Fn.call(W,W.exitCode))},Sr=W.emit,Ao=function(t,r){if(t==="exit"&&ze(global.process)){r!==void 0&&(W.exitCode=r);var n=Sr.apply(this,arguments);return et("exit",W.exitCode,null),et("afterexit",W.exitCode,null),n}else return Sr.apply(this,arguments)}):vt.exports=function(){return function(){}};var So,yt,Ro,Ht,ee,Er,et,xr,bt,kn,Fn,wo,Sr,Ao});var Mo=g((Cb,Uh)=>{Uh.exports={dots:{interval:80,frames:["⠋","⠙","⠹","⠸","⠼","⠴","⠦","⠧","⠇","⠏"]},dots2:{interval:80,frames:["⣾","⣽","⣻","⢿","⡿","⣟","⣯","⣷"]},dots3:{interval:80,frames:["⠋","⠙","⠚","⠞","⠖","⠦","⠴","⠲","⠳","⠓"]},dots4:{interval:80,frames:["⠄","⠆","⠇","⠋","⠙","⠸","⠰","⠠","⠰","⠸","⠙","⠋","⠇","⠆"]},dots5:{interval:80,frames:["⠋","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋"]},dots6:{interval:80,frames:["⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠴","⠲","⠒","⠂","⠂","⠒","⠚","⠙","⠉","⠁"]},dots7:{interval:80,frames:["⠈","⠉","⠋","⠓","⠒","⠐","⠐","⠒","⠖","⠦","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈"]},dots8:{interval:80,frames:["⠁","⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈","⠈"]},dots9:{interval:80,frames:["⢹","⢺","⢼","⣸","⣇","⡧","⡗","⡏"]},dots10:{interval:80,frames:["⢄","⢂","⢁","⡁","⡈","⡐","⡠"]},dots11:{interval:100,frames:["⠁","⠂","⠄","⡀","⢀","⠠","⠐","⠈"]},dots12:{interval:80,frames:["⢀⠀","⡀⠀","⠄⠀","⢂⠀","⡂⠀","⠅⠀","⢃⠀","⡃⠀","⠍⠀","⢋⠀","⡋⠀","⠍⠁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⢈⠩","⡀⢙","⠄⡙","⢂⠩","⡂⢘","⠅⡘","⢃⠨","⡃⢐","⠍⡐","⢋⠠","⡋⢀","⠍⡁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⠈⠩","⠀⢙","⠀⡙","⠀⠩","⠀⢘","⠀⡘","⠀⠨","⠀⢐","⠀⡐","⠀⠠","⠀⢀","⠀⡀"]},dots8Bit:{interval:80,frames:["⠀","⠁","⠂","⠃","⠄","⠅","⠆","⠇","⡀","⡁","⡂","⡃","⡄","⡅","⡆","⡇","⠈","⠉","⠊","⠋","⠌","⠍","⠎","⠏","⡈","⡉","⡊","⡋","⡌","⡍","⡎","⡏","⠐","⠑","⠒","⠓","⠔","⠕","⠖","⠗","⡐","⡑","⡒","⡓","⡔","⡕","⡖","⡗","⠘","⠙","⠚","⠛","⠜","⠝","⠞","⠟","⡘","⡙","⡚","⡛","⡜","⡝","⡞","⡟","⠠","⠡","⠢","⠣","⠤","⠥","⠦","⠧","⡠","⡡","⡢","⡣","⡤","⡥","⡦","⡧","⠨","⠩","⠪","⠫","⠬","⠭","⠮","⠯","⡨","⡩","⡪","⡫","⡬","⡭","⡮","⡯","⠰","⠱","⠲","⠳","⠴","⠵","⠶","⠷","⡰","⡱","⡲","⡳","⡴","⡵","⡶","⡷","⠸","⠹","⠺","⠻","⠼","⠽","⠾","⠿","⡸","⡹","⡺","⡻","⡼","⡽","⡾","⡿","⢀","⢁","⢂","⢃","⢄","⢅","⢆","⢇","⣀","⣁","⣂","⣃","⣄","⣅","⣆","⣇","⢈","⢉","⢊","⢋","⢌","⢍","⢎","⢏","⣈","⣉","⣊","⣋","⣌","⣍","⣎","⣏","⢐","⢑","⢒","⢓","⢔","⢕","⢖","⢗","⣐","⣑","⣒","⣓","⣔","⣕","⣖","⣗","⢘","⢙","⢚","⢛","⢜","⢝","⢞","⢟","⣘","⣙","⣚","⣛","⣜","⣝","⣞","⣟","⢠","⢡","⢢","⢣","⢤","⢥","⢦","⢧","⣠","⣡","⣢","⣣","⣤","⣥","⣦","⣧","⢨","⢩","⢪","⢫","⢬","⢭","⢮","⢯","⣨","⣩","⣪","⣫","⣬","⣭","⣮","⣯","⢰","⢱","⢲","⢳","⢴","⢵","⢶","⢷","⣰","⣱","⣲","⣳","⣴","⣵","⣶","⣷","⢸","⢹","⢺","⢻","⢼","⢽","⢾","⢿","⣸","⣹","⣺","⣻","⣼","⣽","⣾","⣿"]},line:{interval:130,frames:["-","\\","|","/"]},line2:{interval:100,frames:["⠂","-","–","—","–","-"]},pipe:{interval:100,frames:["┤","┘","┴","└","├","┌","┬","┐"]},simpleDots:{interval:400,frames:[". ",".. ","..."," "]},simpleDotsScrolling:{interval:200,frames:[". ",".. ","..."," .."," ."," "]},star:{interval:70,frames:["✶","✸","✹","✺","✹","✷"]},star2:{interval:80,frames:["+","x","*"]},flip:{interval:70,frames:["_","_","_","-","`","`","'","´","-","_","_","_"]},hamburger:{interval:100,frames:["☱","☲","☴"]},growVertical:{interval:120,frames:["▁","▃","▄","▅","▆","▇","▆","▅","▄","▃"]},growHorizontal:{interval:120,frames:["▏","▎","▍","▌","▋","▊","▉","▊","▋","▌","▍","▎"]},balloon:{interval:140,frames:[" ",".","o","O","@","*"," "]},balloon2:{interval:120,frames:[".","o","O","°","O","o","."]},noise:{interval:100,frames:["▓","▒","░"]},bounce:{interval:120,frames:["⠁","⠂","⠄","⠂"]},boxBounce:{interval:120,frames:["▖","▘","▝","▗"]},boxBounce2:{interval:100,frames:["▌","▀","▐","▄"]},triangle:{interval:50,frames:["◢","◣","◤","◥"]},arc:{interval:100,frames:["◜","◠","◝","◞","◡","◟"]},circle:{interval:120,frames:["◡","⊙","◠"]},squareCorners:{interval:180,frames:["◰","◳","◲","◱"]},circleQuarters:{interval:120,frames:["◴","◷","◶","◵"]},circleHalves:{interval:50,frames:["◐","◓","◑","◒"]},squish:{interval:100,frames:["╫","╪"]},toggle:{interval:250,frames:["⊶","⊷"]},toggle2:{interval:80,frames:["▫","▪"]},toggle3:{interval:120,frames:["□","■"]},toggle4:{interval:100,frames:["■","□","▪","▫"]},toggle5:{interval:100,frames:["▮","▯"]},toggle6:{interval:300,frames:["ဝ","၀"]},toggle7:{interval:80,frames:["⦾","⦿"]},toggle8:{interval:100,frames:["◍","◌"]},toggle9:{interval:100,frames:["◉","◎"]},toggle10:{interval:100,frames:["㊂","㊀","㊁"]},toggle11:{interval:50,frames:["⧇","⧆"]},toggle12:{interval:120,frames:["☗","☖"]},toggle13:{interval:80,frames:["=","*","-"]},arrow:{interval:100,frames:["←","↖","↑","↗","→","↘","↓","↙"]},arrow2:{interval:80,frames:["⬆️ ","↗️ ","➡️ ","↘️ ","⬇️ ","↙️ ","⬅️ ","↖️ "]},arrow3:{interval:120,frames:["▹▹▹▹▹","▸▹▹▹▹","▹▸▹▹▹","▹▹▸▹▹","▹▹▹▸▹","▹▹▹▹▸"]},bouncingBar:{interval:80,frames:["[ ]","[= ]","[== ]","[=== ]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},bouncingBall:{interval:80,frames:["( ● )","( ● )","( ● )","( ● )","( ●)","( ● )","( ● )","( ● )","( ● )","(● )"]},smiley:{interval:200,frames:["😄 ","😝 "]},monkey:{interval:300,frames:["🙈 ","🙈 ","🙉 ","🙊 "]},hearts:{interval:100,frames:["💛 ","💙 ","💜 ","💚 ","❤️ "]},clock:{interval:100,frames:["🕛 ","🕐 ","🕑 ","🕒 ","🕓 ","🕔 ","🕕 ","🕖 ","🕗 ","🕘 ","🕙 ","🕚 "]},earth:{interval:180,frames:["🌍 ","🌎 ","🌏 "]},material:{interval:17,frames:["█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","███▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","████▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁","███████▁▁▁▁▁▁▁▁▁▁▁▁▁","████████▁▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","██████████▁▁▁▁▁▁▁▁▁▁","███████████▁▁▁▁▁▁▁▁▁","█████████████▁▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁▁██████████████▁▁▁▁","▁▁▁██████████████▁▁▁","▁▁▁▁█████████████▁▁▁","▁▁▁▁██████████████▁▁","▁▁▁▁██████████████▁▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁▁██████████████","▁▁▁▁▁▁██████████████","▁▁▁▁▁▁▁█████████████","▁▁▁▁▁▁▁█████████████","▁▁▁▁▁▁▁▁████████████","▁▁▁▁▁▁▁▁████████████","▁▁▁▁▁▁▁▁▁███████████","▁▁▁▁▁▁▁▁▁███████████","▁▁▁▁▁▁▁▁▁▁██████████","▁▁▁▁▁▁▁▁▁▁██████████","▁▁▁▁▁▁▁▁▁▁▁▁████████","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁██████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","███▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","████▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","██████▁▁▁▁▁▁▁▁▁▁▁▁▁█","████████▁▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","███████████▁▁▁▁▁▁▁▁▁","████████████▁▁▁▁▁▁▁▁","████████████▁▁▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁▁▁█████████████▁▁▁▁","▁▁▁▁▁████████████▁▁▁","▁▁▁▁▁████████████▁▁▁","▁▁▁▁▁▁███████████▁▁▁","▁▁▁▁▁▁▁▁█████████▁▁▁","▁▁▁▁▁▁▁▁█████████▁▁▁","▁▁▁▁▁▁▁▁▁█████████▁▁","▁▁▁▁▁▁▁▁▁█████████▁▁","▁▁▁▁▁▁▁▁▁▁█████████▁","▁▁▁▁▁▁▁▁▁▁▁████████▁","▁▁▁▁▁▁▁▁▁▁▁████████▁","▁▁▁▁▁▁▁▁▁▁▁▁███████▁","▁▁▁▁▁▁▁▁▁▁▁▁███████▁","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁"]},moon:{interval:80,frames:["🌑 ","🌒 ","🌓 ","🌔 ","🌕 ","🌖 ","🌗 ","🌘 "]},runner:{interval:140,frames:["🚶 ","🏃 "]},pong:{interval:80,frames:["▐⠂ ▌","▐⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂▌","▐ ⠠▌","▐ ⡀▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐⠠ ▌"]},shark:{interval:120,frames:["▐|\\____________▌","▐_|\\___________▌","▐__|\\__________▌","▐___|\\_________▌","▐____|\\________▌","▐_____|\\_______▌","▐______|\\______▌","▐_______|\\_____▌","▐________|\\____▌","▐_________|\\___▌","▐__________|\\__▌","▐___________|\\_▌","▐____________|\\▌","▐____________/|▌","▐___________/|_▌","▐__________/|__▌","▐_________/|___▌","▐________/|____▌","▐_______/|_____▌","▐______/|______▌","▐_____/|_______▌","▐____/|________▌","▐___/|_________▌","▐__/|__________▌","▐_/|___________▌","▐/|____________▌"]},dqpb:{interval:100,frames:["d","q","p","b"]},weather:{interval:100,frames:["☀️ ","☀️ ","☀️ ","🌤 ","⛅️ ","🌥 ","☁️ ","🌧 ","🌨 ","🌧 ","🌨 ","🌧 ","🌨 ","⛈ ","🌨 ","🌧 ","🌨 ","☁️ ","🌥 ","⛅️ ","🌤 ","☀️ ","☀️ "]},christmas:{interval:400,frames:["🌲","🎄"]},grenade:{interval:80,frames:["، ","′ "," ´ "," ‾ "," ⸌"," ⸊"," |"," ⁎"," ⁕"," ෴ "," ⁓"," "," "," "]},point:{interval:125,frames:["∙∙∙","●∙∙","∙●∙","∙∙●","∙∙∙"]},layer:{interval:150,frames:["-","=","≡"]},betaWave:{interval:80,frames:["ρββββββ","βρβββββ","ββρββββ","βββρβββ","ββββρββ","βββββρβ","ββββββρ"]},fingerDance:{interval:160,frames:["🤘 ","🤟 ","🖖 ","✋ ","🤚 ","👆 "]},fistBump:{interval:80,frames:["🤜    🤛 ","🤜    🤛 ","🤜    🤛 "," 🤜  🤛  ","  🤜🤛   "," 🤜✨🤛   ","🤜 ✨ 🤛  "]},soccerHeader:{interval:80,frames:[" 🧑⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 "]},mindblown:{interval:160,frames:["😐 ","😐 ","😮 ","😮 ","😦 ","😦 ","😧 ","😧 ","🤯 ","💥 ","✨ ","  ","  ","  "]},speaker:{interval:160,frames:["🔈 ","🔉 ","🔊 ","🔉 "]},orangePulse:{interval:100,frames:["🔸 ","🔶 ","🟠 ","🟠 ","🔶 "]},bluePulse:{interval:100,frames:["🔹 ","🔷 ","🔵 ","🔵 ","🔷 "]},orangeBluePulse:{interval:100,frames:["🔸 ","🔶 ","🟠 ","🟠 ","🔶 ","🔹 ","🔷 ","🔵 ","🔵 ","🔷 "]},timeTravel:{interval:100,frames:["🕛 ","🕚 ","🕙 ","🕘 ","🕗 ","🕖 ","🕕 ","🕔 ","🕓 ","🕒 ","🕑 ","🕐 "]},aesthetic:{interval:80,frames:["▰▱▱▱▱▱▱","▰▰▱▱▱▱▱","▰▰▰▱▱▱▱","▰▰▰▰▱▱▱","▰▰▰▰▰▱▱","▰▰▰▰▰▰▱","▰▰▰▰▰▰▰","▰▱▱▱▱▱▱"]}}});var No=g((Ob,Bo)=>{"use strict";var wr=Object.assign({},Mo()),Do=Object.keys(wr);Object.defineProperty(wr,"random",{get(){let e=Math.floor(Math.random()*Do.length),t=Do[e];return wr[t]}});Bo.exports=wr});var Io=g((Fb,Ar)=>{var Yh=function(){"use strict";function e(o,a,u,f){var l;typeof a=="object"&&(u=a.depth,f=a.prototype,l=a.filter,a=a.circular);var h=[],c=[],x=typeof Buffer<"u";typeof a>"u"&&(a=!0),typeof u>"u"&&(u=1/0);function y(m,S){if(m===null)return null;if(S==0)return m;var E,M;if(typeof m!="object")return m;if(e.__isArray(m))E=[];else if(e.__isRegExp(m))E=new RegExp(m.source,s(m)),m.lastIndex&&(E.lastIndex=m.lastIndex);else if(e.__isDate(m))E=new Date(m.getTime());else{if(x&&Buffer.isBuffer(m))return Buffer.allocUnsafe?E=Buffer.allocUnsafe(m.length):E=new Buffer(m.length),m.copy(E),E;typeof f>"u"?(M=Object.getPrototypeOf(m),E=Object.create(M)):(E=Object.create(f),M=f)}if(a){var B=h.indexOf(m);if(B!=-1)return c[B];h.push(m),c.push(E)}for(var Z in m){var C;M&&(C=Object.getOwnPropertyDescriptor(M,Z)),!(C&&C.set==null)&&(E[Z]=y(m[Z],S-1))}return E}return y(o,u)}e.clonePrototype=function(a){if(a===null)return null;var u=function(){};return u.prototype=a,new u};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 Ar=="object"&&Ar.exports&&(Ar.exports=Yh)});var Fo=g((qb,ko)=>{var Kh=Io();ko.exports=function(e,t){return e=e||{},Object.keys(t).forEach(function(r){typeof e[r]>"u"&&(e[r]=Kh(t[r]))}),e}});var jo=g((jb,qo)=>{qo.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 Go=g(($b,Hn)=>{"use strict";var Qh=Fo(),Wt=jo(),Ho={nul:0,control:0};Hn.exports=function(t){return Uo(t,Ho)};Hn.exports.config=function(e){return e=Qh(e||{},Ho),function(r){return Uo(r,e)}};function Uo(e,t){if(typeof e!="string")return $o(e,t);for(var r=0,n=0;n<e.length;n++){var i=$o(e.charCodeAt(n),t);if(i<0)return-1;r+=i}return r}function $o(e,t){return e===0?t.nul:e<32||e>=127&&e<160?t.control:Xh(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 Xh(e){var t=0,r=Wt.length-1,n;if(e<Wt[0][0]||e>Wt[r][1])return!1;for(;r>=t;)if(n=Math.floor((t+r)/2),e>Wt[n][1])t=n+1;else if(e<Wt[n][0])r=n-1;else return!0;return!1}});var Gn=g((Ub,Wo)=>{Wo.exports=w("stream")});var Qo=g((Gb,Ko)=>{"use strict";function Vo(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 Jh(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Vo(Object(r),!0).forEach(function(n){Zh(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vo(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Zh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yo(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 ed(e,t,r){return t&&Yo(e.prototype,t),r&&Yo(e,r),e}var td=w("buffer"),Tr=td.Buffer,rd=w("util"),Wn=rd.inspect,nd=Wn&&Wn.custom||"inspect";function id(e,t,r){Tr.prototype.copy.call(e,t,r)}Ko.exports=function(){function e(){zh(this,e),this.head=null,this.tail=null,this.length=0}return ed(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 Tr.alloc(0);for(var n=Tr.allocUnsafe(r>>>0),i=this.head,s=0;i;)id(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=Tr.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:nd,value:function(r,n){return Wn(this,Jh({},n,{depth:0,customInspect:!1}))}}]),e}()});var Yn=g((Wb,Jo)=>{"use strict";function sd(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(Vn,this,e)):process.nextTick(Vn,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(Cr,r):(r._writableState.errorEmitted=!0,process.nextTick(Xo,r,s)):process.nextTick(Xo,r,s):t?(process.nextTick(Cr,r),t(s)):process.nextTick(Cr,r)}),this)}function Xo(e,t){Vn(e,t),Cr(e)}function Cr(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function od(){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 Vn(e,t){e.emit("error",t)}function ad(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}Jo.exports={destroy:sd,undestroy:od,errorOrDestroy:ad}});var je=g((Vb,ea)=>{"use strict";var zo={};function he(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,u){super(n(o,a,u))}}i.prototype.name=r.name,i.prototype.code=e,zo[e]=i}function Zo(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 ud(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}function ld(e,t,r){return(r===void 0||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function fd(e,t,r){return typeof r!="number"&&(r=0),r+t.length>e.length?!1:e.indexOf(t,r)!==-1}he("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError);he("ERR_INVALID_ARG_TYPE",function(e,t,r){let n;typeof t=="string"&&ud(t,"not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be";let i;if(ld(e," argument"))i=`The ${e} ${n} ${Zo(t,"type")}`;else{let s=fd(e,".")?"property":"argument";i=`The "${e}" ${s} ${n} ${Zo(t,"type")}`}return i+=`. Received type ${typeof r}`,i},TypeError);he("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");he("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"});he("ERR_STREAM_PREMATURE_CLOSE","Premature close");he("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"});he("ERR_MULTIPLE_CALLBACK","Callback called multiple times");he("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");he("ERR_STREAM_WRITE_AFTER_END","write after end");he("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);he("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError);he("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");ea.exports.codes=zo});var Kn=g((Yb,ta)=>{"use strict";var cd=je().codes.ERR_INVALID_OPT_VALUE;function hd(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function dd(e,t,r,n){var i=hd(t,n,r);if(i!=null){if(!(isFinite(i)&&Math.floor(i)===i)||i<0){var s=n?r:"highWaterMark";throw new cd(s,i)}return Math.floor(i)}return e.objectMode?16:16*1024}ta.exports={getHighWaterMark:dd}});var ra=g((Kb,Qn)=>{typeof Object.create=="function"?Qn.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Qn.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 tt=g((Qb,Jn)=>{try{if(Xn=w("util"),typeof Xn.inherits!="function")throw"";Jn.exports=Xn.inherits}catch{Jn.exports=ra()}var Xn});var ia=g((Xb,na)=>{na.exports=w("util").deprecate});var ei=g((Jb,fa)=>{"use strict";fa.exports=K;function oa(e){var t=this;this.next=null,this.entry=null,this.finish=function(){jd(t,e)}}var xt;K.WritableState=Yt;var pd={deprecate:ia()},aa=Gn(),Pr=w("buffer").Buffer,_d=global.Uint8Array||function(){};function gd(e){return Pr.from(e)}function md(e){return Pr.isBuffer(e)||e instanceof _d}var zn=Yn(),yd=Kn(),bd=yd.getHighWaterMark,$e=je().codes,vd=$e.ERR_INVALID_ARG_TYPE,Ed=$e.ERR_METHOD_NOT_IMPLEMENTED,xd=$e.ERR_MULTIPLE_CALLBACK,Sd=$e.ERR_STREAM_CANNOT_PIPE,Rd=$e.ERR_STREAM_DESTROYED,wd=$e.ERR_STREAM_NULL_VALUES,Ad=$e.ERR_STREAM_WRITE_AFTER_END,Td=$e.ERR_UNKNOWN_ENCODING,St=zn.errorOrDestroy;tt()(K,aa);function Cd(){}function Yt(e,t,r){xt=xt||rt(),e=e||{},typeof r!="boolean"&&(r=t instanceof xt),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=bd(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){Nd(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 oa(this)}Yt.prototype.getBuffer=function(){for(var t=this.bufferedRequest,r=[];t;)r.push(t),t=t.next;return r};(function(){try{Object.defineProperty(Yt.prototype,"buffer",{get:pd.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var Or;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Or=Function.prototype[Symbol.hasInstance],Object.defineProperty(K,Symbol.hasInstance,{value:function(t){return Or.call(this,t)?!0:this!==K?!1:t&&t._writableState instanceof Yt}})):Or=function(t){return t instanceof this};function K(e){xt=xt||rt();var t=this instanceof xt;if(!t&&!Or.call(K,this))return new K(e);this._writableState=new Yt(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)),aa.call(this)}K.prototype.pipe=function(){St(this,new Sd)};function Od(e,t){var r=new Ad;St(e,r),process.nextTick(t,r)}function Pd(e,t,r,n){var i;return r===null?i=new wd:typeof r!="string"&&!t.objectMode&&(i=new vd("chunk",["string","Buffer"],r)),i?(St(e,i),process.nextTick(n,i),!1):!0}K.prototype.write=function(e,t,r){var n=this._writableState,i=!1,s=!n.objectMode&&md(e);return s&&!Pr.isBuffer(e)&&(e=gd(e)),typeof t=="function"&&(r=t,t=null),s?t="buffer":t||(t=n.defaultEncoding),typeof r!="function"&&(r=Cd),n.ending?Od(this,r):(s||Pd(this,n,e,r))&&(n.pendingcb++,i=Md(this,n,s,e,t,r)),i};K.prototype.cork=function(){this._writableState.corked++};K.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest&&ua(this,e))};K.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 Td(t);return this._writableState.defaultEncoding=t,this};Object.defineProperty(K.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Ld(e,t,r){return!e.objectMode&&e.decodeStrings!==!1&&typeof t=="string"&&(t=Pr.from(t,r)),t}Object.defineProperty(K.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Md(e,t,r,n,i,s){if(!r){var o=Ld(t,n,i);n!==o&&(r=!0,i="buffer",n=o)}var a=t.objectMode?1:n.length;t.length+=a;var u=t.length<t.highWaterMark;if(u||(t.needDrain=!0),t.writing||t.corked){var f=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:s,next:null},f?f.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else Zn(e,t,!1,a,n,i,s);return u}function Zn(e,t,r,n,i,s,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new Rd("write")):r?e._writev(i,t.onwrite):e._write(i,s,t.onwrite),t.sync=!1}function Dd(e,t,r,n,i){--t.pendingcb,r?(process.nextTick(i,n),process.nextTick(Vt,e,t),e._writableState.errorEmitted=!0,St(e,n)):(i(n),e._writableState.errorEmitted=!0,St(e,n),Vt(e,t))}function Bd(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function Nd(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(typeof i!="function")throw new xd;if(Bd(r),t)Dd(e,r,n,t,i);else{var s=la(r)||e.destroyed;!s&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&ua(e,r),n?process.nextTick(sa,e,r,s,i):sa(e,r,s,i)}}function sa(e,t,r,n){r||Id(e,t),t.pendingcb--,n(),Vt(e,t)}function Id(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function ua(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,Zn(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 oa(t),t.bufferedRequestCount=0}else{for(;r;){var u=r.chunk,f=r.encoding,l=r.callback,h=t.objectMode?1:u.length;if(Zn(e,t,!1,h,u,f,l),r=r.next,t.bufferedRequestCount--,t.writing)break}r===null&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}K.prototype._write=function(e,t,r){r(new Ed("_write()"))};K.prototype._writev=null;K.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||qd(this,n,r),this};Object.defineProperty(K.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function la(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function kd(e,t){e._final(function(r){t.pendingcb--,r&&St(e,r),t.prefinished=!0,e.emit("prefinish"),Vt(e,t)})}function Fd(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final=="function"&&!t.destroyed?(t.pendingcb++,t.finalCalled=!0,process.nextTick(kd,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function Vt(e,t){var r=la(t);if(r&&(Fd(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 qd(e,t,r){t.ending=!0,Vt(e,t),r&&(t.finished?process.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function jd(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(K.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(t){!this._writableState||(this._writableState.destroyed=t)}});K.prototype.destroy=zn.destroy;K.prototype._undestroy=zn.undestroy;K.prototype._destroy=function(e,t){t(e)}});var rt=g((Zb,ha)=>{"use strict";var $d=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};ha.exports=Re;var ca=ni(),ri=ei();tt()(Re,ca);for(ti=$d(ri.prototype),Lr=0;Lr<ti.length;Lr++)Mr=ti[Lr],Re.prototype[Mr]||(Re.prototype[Mr]=ri.prototype[Mr]);var ti,Mr,Lr;function Re(e){if(!(this instanceof Re))return new Re(e);ca.call(this,e),ri.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",Hd)))}Object.defineProperty(Re.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});Object.defineProperty(Re.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(Re.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function Hd(){this._writableState.ended||process.nextTick(Ud,this)}function Ud(e){e.end()}Object.defineProperty(Re.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 _a=g((ii,pa)=>{var Dr=w("buffer"),we=Dr.Buffer;function da(e,t){for(var r in e)t[r]=e[r]}we.from&&we.alloc&&we.allocUnsafe&&we.allocUnsafeSlow?pa.exports=Dr:(da(Dr,ii),ii.Buffer=nt);function nt(e,t,r){return we(e,t,r)}nt.prototype=Object.create(we.prototype);da(we,nt);nt.from=function(e,t,r){if(typeof e=="number")throw new TypeError("Argument must not be a number");return we(e,t,r)};nt.alloc=function(e,t,r){if(typeof e!="number")throw new TypeError("Argument must be a number");var n=we(e);return t!==void 0?typeof r=="string"?n.fill(t,r):n.fill(t):n.fill(0),n};nt.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return we(e)};nt.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Dr.SlowBuffer(e)}});var ai=g(ma=>{"use strict";var oi=_a().Buffer,ga=oi.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 Gd(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 Wd(e){var t=Gd(e);if(typeof t!="string"&&(oi.isEncoding===ga||!ga(e)))throw new Error("Unknown encoding: "+e);return t||e}ma.StringDecoder=Kt;function Kt(e){this.encoding=Wd(e);var t;switch(this.encoding){case"utf16le":this.text=Jd,this.end=Zd,t=4;break;case"utf8":this.fillLast=Kd,t=4;break;case"base64":this.text=zd,this.end=ep,t=3;break;default:this.write=tp,this.end=rp;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=oi.allocUnsafe(t)}Kt.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||""};Kt.prototype.end=Xd;Kt.prototype.text=Qd;Kt.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 si(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function Vd(e,t,r){var n=t.length-1;if(n<r)return 0;var i=si(t[n]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--n<r||i===-2?0:(i=si(t[n]),i>=0?(i>0&&(e.lastNeed=i-2),i):--n<r||i===-2?0:(i=si(t[n]),i>=0?(i>0&&(i===2?i=0:e.lastNeed=i-3),i):0))}function Yd(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 Kd(e){var t=this.lastTotal-this.lastNeed,r=Yd(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 Qd(e,t){var r=Vd(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 Xd(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function Jd(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 Zd(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 zd(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 ep(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function tp(e){return e.toString(this.encoding)}function rp(e){return e&&e.length?this.write(e):""}});var Br=g((ev,va)=>{"use strict";var ya=je().codes.ERR_STREAM_PREMATURE_CLOSE;function np(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 ip(){}function sp(e){return e.setHeader&&typeof e.abort=="function"}function ba(e,t,r){if(typeof t=="function")return ba(e,null,t);t||(t={}),r=np(r||ip);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)},u=e._readableState&&e._readableState.endEmitted,f=function(){n=!1,u=!0,i||r.call(e)},l=function(y){r.call(e,y)},h=function(){var y;if(n&&!u)return(!e._readableState||!e._readableState.ended)&&(y=new ya),r.call(e,y);if(i&&!o)return(!e._writableState||!e._writableState.ended)&&(y=new ya),r.call(e,y)},c=function(){e.req.on("finish",a)};return sp(e)?(e.on("complete",a),e.on("abort",h),e.req?c():e.on("request",c)):i&&!e._writableState&&(e.on("end",s),e.on("close",s)),e.on("end",f),e.on("finish",a),t.error!==!1&&e.on("error",l),e.on("close",h),function(){e.removeListener("complete",a),e.removeListener("abort",h),e.removeListener("request",c),e.req&&e.req.removeListener("finish",a),e.removeListener("end",s),e.removeListener("close",s),e.removeListener("finish",a),e.removeListener("end",f),e.removeListener("error",l),e.removeListener("close",h)}}va.exports=ba});var xa=g((tv,Ea)=>{"use strict";var Nr;function He(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var op=Br(),Ue=Symbol("lastResolve"),it=Symbol("lastReject"),Qt=Symbol("error"),Ir=Symbol("ended"),st=Symbol("lastPromise"),ui=Symbol("handlePromise"),ot=Symbol("stream");function Ge(e,t){return{value:e,done:t}}function ap(e){var t=e[Ue];if(t!==null){var r=e[ot].read();r!==null&&(e[st]=null,e[Ue]=null,e[it]=null,t(Ge(r,!1)))}}function up(e){process.nextTick(ap,e)}function lp(e,t){return function(r,n){e.then(function(){if(t[Ir]){r(Ge(void 0,!0));return}t[ui](r,n)},n)}}var fp=Object.getPrototypeOf(function(){}),cp=Object.setPrototypeOf((Nr={get stream(){return this[ot]},next:function(){var t=this,r=this[Qt];if(r!==null)return Promise.reject(r);if(this[Ir])return Promise.resolve(Ge(void 0,!0));if(this[ot].destroyed)return new Promise(function(o,a){process.nextTick(function(){t[Qt]?a(t[Qt]):o(Ge(void 0,!0))})});var n=this[st],i;if(n)i=new Promise(lp(n,this));else{var s=this[ot].read();if(s!==null)return Promise.resolve(Ge(s,!1));i=new Promise(this[ui])}return this[st]=i,i}},He(Nr,Symbol.asyncIterator,function(){return this}),He(Nr,"return",function(){var t=this;return new Promise(function(r,n){t[ot].destroy(null,function(i){if(i){n(i);return}r(Ge(void 0,!0))})})}),Nr),fp),hp=function(t){var r,n=Object.create(cp,(r={},He(r,ot,{value:t,writable:!0}),He(r,Ue,{value:null,writable:!0}),He(r,it,{value:null,writable:!0}),He(r,Qt,{value:null,writable:!0}),He(r,Ir,{value:t._readableState.endEmitted,writable:!0}),He(r,ui,{value:function(s,o){var a=n[ot].read();a?(n[st]=null,n[Ue]=null,n[it]=null,s(Ge(a,!1))):(n[Ue]=s,n[it]=o)},writable:!0}),r));return n[st]=null,op(t,function(i){if(i&&i.code!=="ERR_STREAM_PREMATURE_CLOSE"){var s=n[it];s!==null&&(n[st]=null,n[Ue]=null,n[it]=null,s(i)),n[Qt]=i;return}var o=n[Ue];o!==null&&(n[st]=null,n[Ue]=null,n[it]=null,o(Ge(void 0,!0))),n[Ir]=!0}),t.on("readable",up.bind(null,n)),n};Ea.exports=hp});var Aa=g((rv,wa)=>{"use strict";function Sa(e,t,r,n,i,s,o){try{var a=e[s](o),u=a.value}catch(f){r(f);return}a.done?t(u):Promise.resolve(u).then(n,i)}function dp(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var s=e.apply(t,r);function o(u){Sa(s,n,i,o,a,"next",u)}function a(u){Sa(s,n,i,o,a,"throw",u)}o(void 0)})}}function Ra(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 pp(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ra(Object(r),!0).forEach(function(n){_p(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ra(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function _p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var gp=je().codes.ERR_INVALID_ARG_TYPE;function mp(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 gp("iterable",["Iterable"],t);var i=new e(pp({objectMode:!0},r)),s=!1;i._read=function(){s||(s=!0,o())};function o(){return a.apply(this,arguments)}function a(){return a=dp(function*(){try{var u=yield n.next(),f=u.value,l=u.done;l?i.push(null):i.push(yield f)?o():s=!1}catch(h){i.destroy(h)}}),a.apply(this,arguments)}return i}wa.exports=mp});var ni=g((iv,Ia)=>{"use strict";Ia.exports=I;var Rt;I.ReadableState=Pa;var nv=w("events").EventEmitter,Oa=function(t,r){return t.listeners(r).length},Jt=Gn(),kr=w("buffer").Buffer,yp=global.Uint8Array||function(){};function bp(e){return kr.from(e)}function vp(e){return kr.isBuffer(e)||e instanceof yp}var li=w("util"),L;li&&li.debuglog?L=li.debuglog("stream"):L=function(){};var Ep=Qo(),gi=Yn(),xp=Kn(),Sp=xp.getHighWaterMark,Fr=je().codes,Rp=Fr.ERR_INVALID_ARG_TYPE,wp=Fr.ERR_STREAM_PUSH_AFTER_EOF,Ap=Fr.ERR_METHOD_NOT_IMPLEMENTED,Tp=Fr.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,wt,fi,ci;tt()(I,Jt);var Xt=gi.errorOrDestroy,hi=["error","close","destroy","pause","resume"];function Cp(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 Pa(e,t,r){Rt=Rt||rt(),e=e||{},typeof r!="boolean"&&(r=t instanceof Rt),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=Sp(this,e,"readableHighWaterMark",r),this.buffer=new Ep,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&&(wt||(wt=ai().StringDecoder),this.decoder=new wt(e.encoding),this.encoding=e.encoding)}function I(e){if(Rt=Rt||rt(),!(this instanceof I))return new I(e);var t=this instanceof Rt;this._readableState=new Pa(e,this,t),this.readable=!0,e&&(typeof e.read=="function"&&(this._read=e.read),typeof e.destroy=="function"&&(this._destroy=e.destroy)),Jt.call(this)}Object.defineProperty(I.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(t){!this._readableState||(this._readableState.destroyed=t)}});I.prototype.destroy=gi.destroy;I.prototype._undestroy=gi.undestroy;I.prototype._destroy=function(e,t){t(e)};I.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=kr.from(e,t),t=""),n=!0),La(this,e,t,!1,n)};I.prototype.unshift=function(e){return La(this,e,null,!0,!1)};function La(e,t,r,n,i){L("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)Xt(e,o);else if(s.objectMode||t&&t.length>0)if(typeof t!="string"&&!s.objectMode&&Object.getPrototypeOf(t)!==kr.prototype&&(t=bp(t)),n)s.endEmitted?Xt(e,new Tp):di(e,s,t,!0);else if(s.ended)Xt(e,new wp);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||t.length!==0?di(e,s,t,!1):_i(e,s)):di(e,s,t,!1)}else n||(s.reading=!1,_i(e,s))}return!s.ended&&(s.length<s.highWaterMark||s.length===0)}function di(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&&qr(e)),_i(e,t)}function Op(e,t){var r;return!vp(t)&&typeof t!="string"&&t!==void 0&&!e.objectMode&&(r=new Rp("chunk",["string","Buffer","Uint8Array"],t)),r}I.prototype.isPaused=function(){return this._readableState.flowing===!1};I.prototype.setEncoding=function(e){wt||(wt=ai().StringDecoder);var t=new wt(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 Ta=1073741824;function Pp(e){return e>=Ta?e=Ta:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function Ca(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=Pp(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}I.prototype.read=function(e){L("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 L("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?pi(this):qr(this),null;if(e=Ca(e,t),e===0&&t.ended)return t.length===0&&pi(this),null;var n=t.needReadable;L("need readable",n),(t.length===0||t.length-e<t.highWaterMark)&&(n=!0,L("length less than watermark",n)),t.ended||t.reading?(n=!1,L("reading or ended",n)):n&&(L("do read"),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=Ca(r,t)));var i;return e>0?i=Ba(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&&pi(this)),i!==null&&this.emit("data",i),i};function Lp(e,t){if(L("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?qr(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,Ma(e)))}}function qr(e){var t=e._readableState;L("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(L("emitReadable",t.flowing),t.emittedReadable=!0,process.nextTick(Ma,e))}function Ma(e){var t=e._readableState;L("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,mi(e)}function _i(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(Mp,e,t))}function Mp(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&t.length===0);){var r=t.length;if(L("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}I.prototype._read=function(e){Xt(this,new Ap("_read()"))};I.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,L("pipe count=%d opts=%j",n.pipesCount,t);var i=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,s=i?a:m;n.endEmitted?process.nextTick(s):r.once("end",s),e.on("unpipe",o);function o(S,E){L("onunpipe"),S===r&&E&&E.hasUnpiped===!1&&(E.hasUnpiped=!0,l())}function a(){L("onend"),e.end()}var u=Dp(r);e.on("drain",u);var f=!1;function l(){L("cleanup"),e.removeListener("close",x),e.removeListener("finish",y),e.removeListener("drain",u),e.removeListener("error",c),e.removeListener("unpipe",o),r.removeListener("end",a),r.removeListener("end",m),r.removeListener("data",h),f=!0,n.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&u()}r.on("data",h);function h(S){L("ondata");var E=e.write(S);L("dest.write",E),E===!1&&((n.pipesCount===1&&n.pipes===e||n.pipesCount>1&&Na(n.pipes,e)!==-1)&&!f&&(L("false write response, pause",n.awaitDrain),n.awaitDrain++),r.pause())}function c(S){L("onerror",S),m(),e.removeListener("error",c),Oa(e,"error")===0&&Xt(e,S)}Cp(e,"error",c);function x(){e.removeListener("finish",y),m()}e.once("close",x);function y(){L("onfinish"),e.removeListener("close",x),m()}e.once("finish",y);function m(){L("unpipe"),r.unpipe(e)}return e.emit("pipe",r),n.flowing||(L("pipe resume"),r.resume()),e};function Dp(e){return function(){var r=e._readableState;L("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,r.awaitDrain===0&&Oa(e,"data")&&(r.flowing=!0,mi(e))}}I.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=Na(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)};I.prototype.on=function(e,t){var r=Jt.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,L("on readable",n.length,n.reading),n.length?qr(this):n.reading||process.nextTick(Bp,this)),r};I.prototype.addListener=I.prototype.on;I.prototype.removeListener=function(e,t){var r=Jt.prototype.removeListener.call(this,e,t);return e==="readable"&&process.nextTick(Da,this),r};I.prototype.removeAllListeners=function(e){var t=Jt.prototype.removeAllListeners.apply(this,arguments);return(e==="readable"||e===void 0)&&process.nextTick(Da,this),t};function Da(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 Bp(e){L("readable nexttick read 0"),e.read(0)}I.prototype.resume=function(){var e=this._readableState;return e.flowing||(L("resume"),e.flowing=!e.readableListening,Np(this,e)),e.paused=!1,this};function Np(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(Ip,e,t))}function Ip(e,t){L("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),mi(e),t.flowing&&!t.reading&&e.read(0)}I.prototype.pause=function(){return L("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(L("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function mi(e){var t=e._readableState;for(L("flow",t.flowing);t.flowing&&e.read()!==null;);}I.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;e.on("end",function(){if(L("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(L("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<hi.length;s++)e.on(hi[s],this.emit.bind(this,hi[s]));return this._read=function(o){L("wrapped _read",o),n&&(n=!1,e.resume())},this};typeof Symbol=="function"&&(I.prototype[Symbol.asyncIterator]=function(){return fi===void 0&&(fi=xa()),fi(this)});Object.defineProperty(I.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Object.defineProperty(I.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}});Object.defineProperty(I.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}});I._fromList=Ba;Object.defineProperty(I.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function Ba(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 pi(e){var t=e._readableState;L("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(kp,t,e))}function kp(e,t){if(L("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"&&(I.from=function(e,t){return ci===void 0&&(ci=Aa()),ci(I,e,t)});function Na(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}});var yi=g((sv,Fa)=>{"use strict";Fa.exports=Be;var jr=je().codes,Fp=jr.ERR_METHOD_NOT_IMPLEMENTED,qp=jr.ERR_MULTIPLE_CALLBACK,jp=jr.ERR_TRANSFORM_ALREADY_TRANSFORMING,$p=jr.ERR_TRANSFORM_WITH_LENGTH_0,$r=rt();tt()(Be,$r);function Hp(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(n===null)return this.emit("error",new qp);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 Be(e){if(!(this instanceof Be))return new Be(e);$r.call(this,e),this._transformState={afterTransform:Hp.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",Up)}function Up(){var e=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(t,r){ka(e,t,r)}):ka(this,null,null)}Be.prototype.push=function(e,t){return this._transformState.needTransform=!1,$r.prototype.push.call(this,e,t)};Be.prototype._transform=function(e,t,r){r(new Fp("_transform()"))};Be.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)}};Be.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};Be.prototype._destroy=function(e,t){$r.prototype._destroy.call(this,e,function(r){t(r)})};function ka(e,t,r){if(t)return e.emit("error",t);if(r!=null&&e.push(r),e._writableState.length)throw new $p;if(e._transformState.transforming)throw new jp;return e.push(null)}});var $a=g((ov,ja)=>{"use strict";ja.exports=Zt;var qa=yi();tt()(Zt,qa);function Zt(e){if(!(this instanceof Zt))return new Zt(e);qa.call(this,e)}Zt.prototype._transform=function(e,t,r){r(null,e)}});var Va=g((av,Wa)=>{"use strict";var bi;function Gp(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var Ga=je().codes,Wp=Ga.ERR_MISSING_ARGS,Vp=Ga.ERR_STREAM_DESTROYED;function Ha(e){if(e)throw e}function Yp(e){return e.setHeader&&typeof e.abort=="function"}function Kp(e,t,r,n){n=Gp(n);var i=!1;e.on("close",function(){i=!0}),bi===void 0&&(bi=Br()),bi(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,Yp(e))return e.abort();if(typeof e.destroy=="function")return e.destroy();n(o||new Vp("pipe"))}}}function Ua(e){e()}function Qp(e,t){return e.pipe(t)}function Xp(e){return!e.length||typeof e[e.length-1]!="function"?Ha:e.pop()}function Jp(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=Xp(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new Wp("streams");var i,s=t.map(function(o,a){var u=a<t.length-1,f=a>0;return Kp(o,u,f,function(l){i||(i=l),l&&s.forEach(Ua),!u&&(s.forEach(Ua),n(i))})});return t.reduce(Qp)}Wa.exports=Jp});var Ya=g((de,er)=>{var zt=w("stream");process.env.READABLE_STREAM==="disable"&&zt?(er.exports=zt.Readable,Object.assign(er.exports,zt),er.exports.Stream=zt):(de=er.exports=ni(),de.Stream=zt||de,de.Readable=de,de.Writable=ei(),de.Duplex=rt(),de.Transform=yi(),de.PassThrough=$a(),de.finished=Br(),de.pipeline=Va())});var Xa=g((uv,Qa)=>{"use strict";var{Buffer:be}=w("buffer"),Ka=Symbol.for("BufferList");function U(e){if(!(this instanceof U))return new U(e);U._init.call(this,e)}U._init=function(t){Object.defineProperty(this,Ka,{value:!0}),this._bufs=[],this.length=0,t&&this.append(t)};U.prototype._new=function(t){return new U(t)};U.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}};U.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};U.prototype.get=function(t){if(t>this.length||t<0)return;let r=this._offset(t);return this._bufs[r[0]][r[1]]};U.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)};U.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||be.alloc(0);let s=!!t,o=this._offset(n),a=i-n,u=a,f=s&&r||0,l=o[1];if(n===0&&i===this.length){if(!s)return this._bufs.length===1?this._bufs[0]:be.concat(this._bufs,this.length);for(let h=0;h<this._bufs.length;h++)this._bufs[h].copy(t,f),f+=this._bufs[h].length;return t}if(u<=this._bufs[o[0]].length-l)return s?this._bufs[o[0]].copy(t,r,l,l+u):this._bufs[o[0]].slice(l,l+u);s||(t=be.allocUnsafe(a));for(let h=o[0];h<this._bufs.length;h++){let c=this._bufs[h].length-l;if(u>c)this._bufs[h].copy(t,f,l),f+=c;else{this._bufs[h].copy(t,f,l,l+u),f+=c;break}u-=c,l&&(l=0)}return t.length>f?t.slice(0,f):t};U.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)};U.prototype.toString=function(t,r,n){return this.slice(r,n).toString(t)};U.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};U.prototype.duplicate=function(){let t=this._new();for(let r=0;r<this._bufs.length;r++)t.append(this._bufs[r]);return t};U.prototype.append=function(t){if(t==null)return this;if(t.buffer)this._appendBuffer(be.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(be.from(t));return this};U.prototype._appendBuffer=function(t){this._bufs.push(t),this.length+=t.length};U.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=be.from([e]):typeof e=="string"?e=be.from(e,r):this._isBufferList(e)?e=e.slice():Array.isArray(e.buffer)?e=be.from(e.buffer,e.byteOffset,e.byteLength):be.isBuffer(e)||(e=be.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 u=o.indexOf(e,s);if(u!==-1)return this._reverseOffset([i,u]);s=o.length-e.length+1}else{let u=this._reverseOffset([i,s]);if(this._match(u,e))return u;s++}s=0}return-1};U.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?U.prototype[r]=function(n,i){return this.slice(n,n+i)[r](0,i)}:U.prototype[r]=function(n=0){return this.slice(n,n+e[r])[r](0)}})(t)})();U.prototype._isBufferList=function(t){return t instanceof U||U.isBufferList(t)};U.isBufferList=function(t){return t!=null&&t[Ka]};Qa.exports=U});var Ja=g((lv,Hr)=>{"use strict";var vi=Ya().Duplex,Zp=tt(),tr=Xa();function te(e){if(!(this instanceof te))return new te(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}tr._init.call(this,e),vi.call(this)}Zp(te,vi);Object.assign(te.prototype,tr.prototype);te.prototype._new=function(t){return new te(t)};te.prototype._write=function(t,r,n){this._appendBuffer(t),typeof n=="function"&&n()};te.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)};te.prototype.end=function(t){vi.prototype.end.call(this,t),this._callback&&(this._callback(null,this.slice()),this._callback=null)};te.prototype._destroy=function(t,r){this._bufs.length=0,this.length=0,r(t)};te.prototype._isBufferList=function(t){return t instanceof te||t instanceof tr||te.isBufferList(t)};te.isBufferList=tr.isBufferList;Hr.exports=te;Hr.exports.BufferListStream=te;Hr.exports.BufferList=tr});var Ri=g((xv,ru)=>{var Wr=w("fs"),tu=w("path"),t_=w("os");function xi(e,t){return Object.prototype.toString.call(e)==="[object "+t+"]"}function Si(e,t){try{return t(e)}catch(r){if(/^(ENOENT|EPERM|EACCES)$/.test(r.code))return r.code!=="ENOENT"&&console.warn("Warning: Cannot access %s",e),!1;throw r}}var r_={nil:function(e){return e==null},array:function(e){return Array.isArray(e)},emptyObject:function(e){for(var t in e)return!1;return!0},buffer:function(e){return Buffer.isBuffer(e)},regExp:function(e){return xi(e,"RegExp")},string:function(e){return xi(e,"String")},func:function(e){return typeof e=="function"},number:function(e){return xi(e,"Number")},exists:function(e){return Wr.existsSync(e)},file:function(e){return Si(e,function(t){return Wr.statSync(t).isFile()})},samePath:function(e,t){return tu.resolve(e)===tu.resolve(t)},directory:function(e){return Si(e,function(t){return Wr.statSync(t).isDirectory()})},symbolicLink:function(e){return Si(e,function(t){return Wr.lstatSync(t).isSymbolicLink()})},windows:function(){return t_.platform()==="win32"}};ru.exports=r_});var au=g((Sv,ou)=>{var ir=w("fs"),nu=w("os"),wi=w("path"),Vr=Ri(),nr,n_=nu.tmpdir&&nu.tmpdir()||process.env.TMPDIR||process.env.TEMP||process.cwd();function su(){this.stack=[]}su.prototype={create:function(e,t){var r=wi.join(t,"node-watch-"+Math.random().toString(16).substr(2));return this.stack.push({name:r,type:e}),r},write:function(){for(var e=0;e<arguments.length;++e)ir.writeFileSync(arguments[e]," ")},mkdir:function(){for(var e=0;e<arguments.length;++e)ir.mkdirSync(arguments[e])},cleanup:function(e){try{for(var t;t=this.stack.pop();){var r=t.type,n=t.name;r==="file"&&Vr.file(n)?ir.unlinkSync(n):r==="dir"&&Vr.directory(n)&&ir.rmdirSync(n)}}finally{Vr.func(e)&&e()}}};var iu=!1;ou.exports=function e(t){if(!Vr.func(t))return!1;if(nr!==void 0)return t(nr);if(!iu)iu=!0;else return setTimeout(function(){e(t)},300);var r=new su,n=r.create("dir",n_),i=r.create("dir",n),s=r.create("file",i);r.mkdir(n,i);var o={recursive:!0},a;try{a=ir.watch(n,o)}catch(f){if(f.code=="ERR_FEATURE_UNAVAILABLE_ON_PLATFORM")return t(nr=!1);throw f}if(!a)return!1;var u=setTimeout(function(){a.close(),r.cleanup(function(){t(nr=!1)})},200);a.on("change",function(f,l){wi.basename(s)===wi.basename(l)&&(a.close(),clearTimeout(u),r.cleanup(function(){t(nr=!0)}))}),r.write(s)}});var yu=g((Rv,Oi)=>{var Ti=w("fs"),sr=w("path"),lu=w("util"),fu=w("events"),cu=au(),H=Ri(),i_="update",hu="remove",uu=Symbol("skip");function s_(e){return e.some(function(t,r,n){return n.indexOf(t)!==r})}function Ci(e){return e.filter(function(t,r,n){return n.indexOf(t)===r})}function o_(e){return e.reduce(function(t,r){return t.concat(r)},[])}function a_(e){if(e&&e!=="buffer"&&!Buffer.isEncoding(e))throw new Error("Unknown encoding: "+e)}function u_(e){return H.func(e)?function(t,r){e(t,!1)&&r()}:H.regExp(e)?function(t,r){e.test(t)&&r()}:function(t,r){r()}}function l_(e){return e.map(function(t){return H.exists(t)?[i_,t]:[hu,t]})}function f_(e){var t=Ci(e),r=/~$|^\.#|^##$/g,n=e.some(function(s){return r.test(s)});if(n){var i=s_(e.map(function(s){return s.replace(r,"")}));i&&(t=t.filter(function(s){return H.exists(s)}))}return l_(t)}function c_(e,t){var r,n=[],i=e.options.encoding,s=e.options.delay;H.number(s)||(s=200);function o(){f_(n).forEach(function(a){a[1]=Buffer.from(a[1]),i!=="buffer"&&(a[1]=a[1].toString(i)),t.apply(null,a)}),r=null,n=[]}return function(a,u){n.push(u),r||(r=setTimeout(o,s))}}function du(){var e={};return function(t){return function(r,n){e[r+n]=[r,n],setTimeout(function(){Object.keys(e).forEach(function(i){t.apply(null,e[i])}),e={}})}}}function pu(e,t,r=function(){}){H.directory(e)?Ti.readdir(e,function(n,i){if(n)if(/^(EPERM|EACCES)$/.test(n.code))console.warn("Warning: Cannot access %s.",e);else throw n;else i.forEach(function(s){var o=sr.join(e,s);H.directory(o)&&t(o)}),r()}):r()}function h_(e){var t=0;return function(){return t++,function(){t--,t===0&&e()}}}function d_(){return function(){}}function _u(e,t){return!H.func(t)||t(e,uu)!==uu}var gu=lu.deprecate(function(){},"(node-watch) First param in callback function is replaced with event name since 0.5.0, use `(evt, filename) => {}` if you want to get the filename");function Te(){fu.EventEmitter.call(this),this.watchers={},this._isReady=!1,this._isClosed=!1}lu.inherits(Te,fu.EventEmitter);Te.prototype.expose=function(){var e={},t=this,r=["on","emit","once","close","isClosed","listeners","setMaxListeners","getMaxListeners","getWatchedPaths"];return r.forEach(function(n){e[n]=function(){return t[n].apply(t,arguments)}}),e};Te.prototype.isClosed=function(){return this._isClosed};Te.prototype.close=function(e){var t=this;if(e){var r=this.watchers[e];r&&r.close&&(r.close(),delete t.watchers[e]),pu(e,function(n){t.close(n)})}else Object.keys(t.watchers).forEach(function(n){var i=t.watchers[n];i&&i.close&&i.close()}),this.watchers={};H.emptyObject(t.watchers)&&(this._isClosed||(this._isClosed=!0,process.nextTick(mu,this)))};Te.prototype.getWatchedPaths=function(e){if(H.func(e)){var t=this;t._isReady?e(Object.keys(t.watchers)):t.on("ready",function(){e(Object.keys(t.watchers))})}};function Ai(e){e._isReady||(e._isReady=!0,process.nextTick(function(){e.emit("ready")}))}function mu(e){e.emit("close")}Te.prototype.add=function(e,t){var r=this;t=t||{fpath:""};var n=sr.resolve(t.fpath);this.watchers[n]=e;var i=function(o,a){if(!r.isClosed()){var u=a;H.nil(u)&&(u=""),u=sr.join(t.fpath,u),t.options.recursive&&cu(function(f){if(!f){var l=sr.resolve(u);if(!H.exists(u))r.close(l);else{var h=H.directory(u)&&!r.watchers[l]&&_u(u,t.options.filter);h&&r.watchDirectory(u,t.options)}}}),s(o,u)}},s=c_(t,function(o,a){if(t.compareName)t.compareName(a)&&r.emit("change",o,a);else{var u=u_(t.options.filter);u(a,function(){r.flag?r.flag="":r.emit("change",o,a)})}});e.on("error",function(o){r.isClosed()||(H.windows()&&o.code==="EPERM"?(e.emit("change",hu,t.fpath&&""),r.flag="windows-error",r.close(n)):r.emit("error",o))}),e.on("change",i)};Te.prototype.watchFile=function(e,t,r){var n=sr.join(e,"../"),i=Object.assign({},t,{filter:null,encoding:"utf8"});delete i.recursive;var s=Ti.watch(n,i);this.add(s,{type:"file",fpath:n,options:Object.assign({},i,{encoding:t.encoding}),compareName:function(o){return H.samePath(o,e)}}),H.func(r)&&(r.length===1&&gu(),this.on("change",r))};Te.prototype.watchDirectory=function(e,t,r,n=d_){var i=this,s=n();cu(function(o){t.recursive=!!t.recursive;var a=Object.assign({},t,{encoding:"utf8"});if(o||delete a.recursive,i._isClosed)return s(),i.close();var u=Ti.watch(e,a);i.add(u,{type:"dir",fpath:e,options:t}),H.func(r)&&(r.length===1&&gu(),i.on("change",r)),t.recursive&&!o&&pu(e,function(f){_u(f,t.filter)&&i.watchDirectory(f,t,null,n)},n()),s()})};function p_(e){var t=new Te,r=du(),n=e.length;return e.forEach(function(i){i.on("change",r(function(s,o){t.emit("change",s,o)})),i.on("error",function(s){t.emit("error",s)}),i.on("ready",function(){--n||Ai(t)})}),t.close=function(){e.forEach(function(i){i.close()}),process.nextTick(mu,t)},t.getWatchedPaths=function(i){if(H.func(i)){var s=e.map(function(o){return new Promise(function(a){o.getWatchedPaths(a)})});Promise.all(s).then(function(o){var a=Ci(o_(o));i(a)})}},t.expose()}function Yr(e,t,r){var n=new Te;if(H.buffer(e)&&(e=e.toString()),!H.array(e)&&!H.exists(e)&&n.emit("error",new Error(e+" does not exist.")),H.string(t)&&(t={encoding:t}),H.func(t)&&(r=t,t={}),arguments.length<2&&(t={}),t.encoding?a_(t.encoding):t.encoding="utf8",H.array(e)){if(e.length===1)return Yr(e[0],t,r);var i=du();return p_(Ci(e).map(function(o){var a=Yr(o,t);return H.func(r)&&a.on("change",i(r)),a}))}if(H.file(e))n.watchFile(e,t,r),Ai(n);else if(H.directory(e)){var s=h_(function(){Ai(n)});n.watchDirectory(e,t,r,s)}return n.expose()}Oi.exports=Yr;Oi.exports.default=Yr});var bu=g(At=>{"use strict";Object.defineProperty(At,"__esModule",{value:!0});At.splitWhen=At.flatten=void 0;function __(e){return e.reduce((t,r)=>[].concat(t,r),[])}At.flatten=__;function g_(e,t){let r=[[]],n=0;for(let i of e)t(i)?(n++,r[n]=[]):r[n].push(i);return r}At.splitWhen=g_});var vu=g(Kr=>{"use strict";Object.defineProperty(Kr,"__esModule",{value:!0});Kr.isEnoentCodeError=void 0;function m_(e){return e.code==="ENOENT"}Kr.isEnoentCodeError=m_});var xu=g(Qr=>{"use strict";Object.defineProperty(Qr,"__esModule",{value:!0});Qr.createDirentFromStats=void 0;var Eu=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 y_(e,t){return new Eu(e,t)}Qr.createDirentFromStats=y_});var Su=g(Ce=>{"use strict";Object.defineProperty(Ce,"__esModule",{value:!0});Ce.removeLeadingDotSegment=Ce.escape=Ce.makeAbsolute=Ce.unixify=void 0;var b_=w("path"),v_=2,E_=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\())/g;function x_(e){return e.replace(/\\/g,"/")}Ce.unixify=x_;function S_(e,t){return b_.resolve(e,t)}Ce.makeAbsolute=S_;function R_(e){return e.replace(E_,"\\$2")}Ce.escape=R_;function w_(e){if(e.charAt(0)==="."){let t=e.charAt(1);if(t==="/"||t==="\\")return e.slice(v_)}return e}Ce.removeLeadingDotSegment=w_});var wu=g((Ov,Ru)=>{Ru.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 Cu=g((Pv,Tu)=>{var A_=wu(),Au={"{":"}","(":")","[":"]"},T_=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 u=Au[a];if(u){var f=e.indexOf(u,t);f!==-1&&(t=f+1)}if(e[t]==="!")return!0}else t++}return!1},C_=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=Au[r];if(n){var i=e.indexOf(n,t);i!==-1&&(t=i+1)}if(e[t]==="!")return!0}else t++}return!1};Tu.exports=function(t,r){if(typeof t!="string"||t==="")return!1;if(A_(t))return!0;var n=T_;return r&&r.strict===!1&&(n=C_),n(t)}});var Pu=g((Lv,Ou)=>{"use strict";var O_=Cu(),P_=w("path").posix.dirname,L_=w("os").platform()==="win32",Pi="/",M_=/\\/g,D_=/[\{\[].*[\}\]]$/,B_=/(^|[^\\])([\{\[]|\([^\)]+$)/,N_=/\\([\!\*\?\|\[\]\(\)\{\}])/g;Ou.exports=function(t,r){var n=Object.assign({flipBackslashes:!0},r);n.flipBackslashes&&L_&&t.indexOf(Pi)<0&&(t=t.replace(M_,Pi)),D_.test(t)&&(t+=Pi),t+="a";do t=P_(t);while(O_(t)||B_.test(t));return t.replace(N_,"$1")}});var Xr=g(pe=>{"use strict";pe.isInteger=e=>typeof e=="number"?Number.isInteger(e):typeof e=="string"&&e.trim()!==""?Number.isInteger(Number(e)):!1;pe.find=(e,t)=>e.nodes.find(r=>r.type===t);pe.exceedsLimit=(e,t,r=1,n)=>n===!1||!pe.isInteger(e)||!pe.isInteger(t)?!1:(Number(t)-Number(e))/Number(r)>=n;pe.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)};pe.encloseBrace=e=>e.type!=="brace"?!1:e.commas>>0+e.ranges>>0===0?(e.invalid=!0,!0):!1;pe.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;pe.isOpenOrClose=e=>e.type==="open"||e.type==="close"?!0:e.open===!0||e.close===!0;pe.reduce=e=>e.reduce((t,r)=>(r.type==="text"&&t.push(r.value),r.type==="range"&&(r.type="text"),t),[]);pe.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 Jr=g((Dv,Mu)=>{"use strict";var Lu=Xr();Mu.exports=(e,t={})=>{let r=(n,i={})=>{let s=t.escapeInvalid&&Lu.isInvalidBrace(i),o=n.invalid===!0&&t.escapeInvalid===!0,a="";if(n.value)return(s||o)&&Lu.isOpenOrClose(n)?"\\"+n.value:n.value;if(n.value)return n.value;if(n.nodes)for(let u of n.nodes)a+=r(u);return a};return r(e)}});var Bu=g((Bv,Du)=>{"use strict";Du.exports=function(e){return typeof e=="number"?e-e===0:typeof e=="string"&&e.trim()!==""?Number.isFinite?Number.isFinite(+e):isFinite(+e):!1}});var Uu=g((Nv,Hu)=>{"use strict";var Nu=Bu(),at=(e,t,r)=>{if(Nu(e)===!1)throw new TypeError("toRegexRange: expected the first argument to be a number");if(t===void 0||e===t)return String(e);if(Nu(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),u=e+":"+t+"="+i+s+o+a;if(at.cache.hasOwnProperty(u))return at.cache[u].result;let f=Math.min(e,t),l=Math.max(e,t);if(Math.abs(f-l)===1){let m=e+"|"+t;return n.capture?`(${m})`:n.wrap===!1?m:`(?:${m})`}let h=$u(e)||$u(t),c={min:e,max:t,a:f,b:l},x=[],y=[];if(h&&(c.isPadded=h,c.maxLen=String(c.max).length),f<0){let m=l<0?Math.abs(l):1;y=Iu(m,Math.abs(f),c,n),f=c.a=0}return l>=0&&(x=Iu(f,l,c,n)),c.negatives=y,c.positives=x,c.result=I_(y,x,n),n.capture===!0?c.result=`(${c.result})`:n.wrap!==!1&&x.length+y.length>1&&(c.result=`(?:${c.result})`),at.cache[u]=c,c.result};function I_(e,t,r){let n=Li(e,t,"-",!1,r)||[],i=Li(t,e,"",!1,r)||[],s=Li(e,t,"-?",!0,r)||[];return n.concat(s).concat(i).join("|")}function k_(e,t){let r=1,n=1,i=Fu(e,r),s=new Set([t]);for(;e<=i&&i<=t;)s.add(i),r+=1,i=Fu(e,r);for(i=qu(t+1,n)-1;e<i&&i<=t;)s.add(i),n+=1,i=qu(t+1,n)-1;return s=[...s],s.sort(j_),s}function F_(e,t,r){if(e===t)return{pattern:e,count:[],digits:0};let n=q_(e,t),i=n.length,s="",o=0;for(let a=0;a<i;a++){let[u,f]=n[a];u===f?s+=u:u!=="0"||f!=="9"?s+=$_(u,f,r):o++}return o&&(s+=r.shorthand===!0?"\\d":"[0-9]"),{pattern:s,count:[o],digits:i}}function Iu(e,t,r,n){let i=k_(e,t),s=[],o=e,a;for(let u=0;u<i.length;u++){let f=i[u],l=F_(String(o),String(f),n),h="";if(!r.isPadded&&a&&a.pattern===l.pattern){a.count.length>1&&a.count.pop(),a.count.push(l.count[0]),a.string=a.pattern+ju(a.count),o=f+1;continue}r.isPadded&&(h=H_(f,r,n)),l.string=h+l.pattern+ju(l.count),s.push(l),o=f+1,a=l}return s}function Li(e,t,r,n,i){let s=[];for(let o of e){let{string:a}=o;!n&&!ku(t,"string",a)&&s.push(r+a),n&&ku(t,"string",a)&&s.push(r+a)}return s}function q_(e,t){let r=[];for(let n=0;n<e.length;n++)r.push([e[n],t[n]]);return r}function j_(e,t){return e>t?1:t>e?-1:0}function ku(e,t,r){return e.some(n=>n[t]===r)}function Fu(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function qu(e,t){return e-e%Math.pow(10,t)}function ju(e){let[t=0,r=""]=e;return r||t>1?`{${t+(r?","+r:"")}}`:""}function $_(e,t,r){return`[${e}${t-e===1?"":"-"}${t}]`}function $u(e){return/^-?(0+)\d/.test(e)}function H_(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}}`}}at.cache={};at.clearCache=()=>at.cache={};Hu.exports=at});var Bi=g((Iv,Ju)=>{"use strict";var U_=w("util"),Vu=Uu(),Gu=e=>e!==null&&typeof e=="object"&&!Array.isArray(e),G_=e=>t=>e===!0?Number(t):String(t),Mi=e=>typeof e=="number"||typeof e=="string"&&e!=="",or=e=>Number.isInteger(+e),Di=e=>{let t=`${e}`,r=-1;if(t[0]==="-"&&(t=t.slice(1)),t==="0")return!1;for(;t[++r]==="0";);return r>0},W_=(e,t,r)=>typeof e=="string"||typeof t=="string"?!0:r.stringify===!0,V_=(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},Wu=(e,t)=>{let r=e[0]==="-"?"-":"";for(r&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return r?"-"+e:e},Y_=(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},Yu=(e,t,r,n)=>{if(r)return Vu(e,t,{wrap:!1,...n});let i=String.fromCharCode(e);if(e===t)return i;let s=String.fromCharCode(t);return`[${i}-${s}]`},Ku=(e,t,r)=>{if(Array.isArray(e)){let n=r.wrap===!0,i=r.capture?"":"?:";return n?`(${i}${e.join("|")})`:e.join("|")}return Vu(e,t,r)},Qu=(...e)=>new RangeError("Invalid range arguments: "+U_.inspect(...e)),Xu=(e,t,r)=>{if(r.strictRanges===!0)throw Qu([e,t]);return[]},K_=(e,t)=>{if(t.strictRanges===!0)throw new TypeError(`Expected step "${e}" to be a number`);return[]},Q_=(e,t,r=1,n={})=>{let i=Number(e),s=Number(t);if(!Number.isInteger(i)||!Number.isInteger(s)){if(n.strictRanges===!0)throw Qu([e,t]);return[]}i===0&&(i=0),s===0&&(s=0);let o=i>s,a=String(e),u=String(t),f=String(r);r=Math.max(Math.abs(r),1);let l=Di(a)||Di(u)||Di(f),h=l?Math.max(a.length,u.length,f.length):0,c=l===!1&&W_(e,t,n)===!1,x=n.transform||G_(c);if(n.toRegex&&r===1)return Yu(Wu(e,h),Wu(t,h),!0,n);let y={negatives:[],positives:[]},m=M=>y[M<0?"negatives":"positives"].push(Math.abs(M)),S=[],E=0;for(;o?i>=s:i<=s;)n.toRegex===!0&&r>1?m(i):S.push(V_(x(i,E),h,c)),i=o?i-r:i+r,E++;return n.toRegex===!0?r>1?Y_(y,n):Ku(S,null,{wrap:!1,...n}):S},X_=(e,t,r=1,n={})=>{if(!or(e)&&e.length>1||!or(t)&&t.length>1)return Xu(e,t,n);let i=n.transform||(c=>String.fromCharCode(c)),s=`${e}`.charCodeAt(0),o=`${t}`.charCodeAt(0),a=s>o,u=Math.min(s,o),f=Math.max(s,o);if(n.toRegex&&r===1)return Yu(u,f,!1,n);let l=[],h=0;for(;a?s>=o:s<=o;)l.push(i(s,h)),s=a?s-r:s+r,h++;return n.toRegex===!0?Ku(l,null,{wrap:!1,options:n}):l},Zr=(e,t,r,n={})=>{if(t==null&&Mi(e))return[e];if(!Mi(e)||!Mi(t))return Xu(e,t,n);if(typeof r=="function")return Zr(e,t,1,{transform:r});if(Gu(r))return Zr(e,t,0,r);let i={...n};return i.capture===!0&&(i.wrap=!0),r=r||i.step||1,or(r)?or(e)&&or(t)?Q_(e,t,r,i):X_(e,t,Math.max(Math.abs(r),1),i):r!=null&&!Gu(r)?K_(r,i):Zr(e,t,1,r)};Ju.exports=Zr});var el=g((kv,zu)=>{"use strict";var J_=Bi(),Zu=Xr(),Z_=(e,t={})=>{let r=(n,i={})=>{let s=Zu.isInvalidBrace(i),o=n.invalid===!0&&t.escapeInvalid===!0,a=s===!0||o===!0,u=t.escapeInvalid===!0?"\\":"",f="";if(n.isOpen===!0||n.isClose===!0)return u+n.value;if(n.type==="open")return a?u+n.value:"(";if(n.type==="close")return a?u+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 l=Zu.reduce(n.nodes),h=J_(...l,{...t,wrap:!1,toRegex:!0});if(h.length!==0)return l.length>1&&h.length>1?`(${h})`:h}if(n.nodes)for(let l of n.nodes)f+=r(l,n);return f};return r(e)};zu.exports=Z_});var nl=g((Fv,rl)=>{"use strict";var z_=Bi(),tl=Jr(),Tt=Xr(),ut=(e="",t="",r=!1)=>{let n=[];if(e=[].concat(e),t=[].concat(t),!t.length)return e;if(!e.length)return r?Tt.flatten(t).map(i=>`{${i}}`):t;for(let i of e)if(Array.isArray(i))for(let s of i)n.push(ut(s,t,r));else for(let s of t)r===!0&&typeof s=="string"&&(s=`{${s}}`),n.push(Array.isArray(s)?ut(i,s,r):i+s);return Tt.flatten(n)},eg=(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(ut(a.pop(),tl(i,t)));return}if(i.type==="brace"&&i.invalid!==!0&&i.nodes.length===2){a.push(ut(a.pop(),["{}"]));return}if(i.nodes&&i.ranges>0){let h=Tt.reduce(i.nodes);if(Tt.exceedsLimit(...h,t.step,r))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let c=z_(...h,t);c.length===0&&(c=tl(i,t)),a.push(ut(a.pop(),c)),i.nodes=[];return}let u=Tt.encloseBrace(i),f=i.queue,l=i;for(;l.type!=="brace"&&l.type!=="root"&&l.parent;)l=l.parent,f=l.queue;for(let h=0;h<i.nodes.length;h++){let c=i.nodes[h];if(c.type==="comma"&&i.type==="brace"){h===1&&f.push(""),f.push("");continue}if(c.type==="close"){a.push(ut(a.pop(),f,u));continue}if(c.value&&c.type!=="open"){f.push(ut(f.pop(),c.value));continue}c.nodes&&n(c,i)}return f};return Tt.flatten(n(e))};rl.exports=eg});var sl=g((qv,il)=>{"use strict";il.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 fl=g((jv,ll)=>{"use strict";var tg=Jr(),{MAX_LENGTH:ol,CHAR_BACKSLASH:Ni,CHAR_BACKTICK:rg,CHAR_COMMA:ng,CHAR_DOT:ig,CHAR_LEFT_PARENTHESES:sg,CHAR_RIGHT_PARENTHESES:og,CHAR_LEFT_CURLY_BRACE:ag,CHAR_RIGHT_CURLY_BRACE:ug,CHAR_LEFT_SQUARE_BRACKET:al,CHAR_RIGHT_SQUARE_BRACKET:ul,CHAR_DOUBLE_QUOTE:lg,CHAR_SINGLE_QUOTE:fg,CHAR_NO_BREAK_SPACE:cg,CHAR_ZERO_WIDTH_NOBREAK_SPACE:hg}=sl(),dg=(e,t={})=>{if(typeof e!="string")throw new TypeError("Expected a string");let r=t||{},n=typeof r.maxLength=="number"?Math.min(ol,r.maxLength):ol;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,u=0,f=e.length,l=0,h=0,c,x={},y=()=>e[l++],m=S=>{if(S.type==="text"&&a.type==="dot"&&(a.type="text"),a&&a.type==="text"&&S.type==="text"){a.value+=S.value;return}return o.nodes.push(S),S.parent=o,S.prev=a,a=S,S};for(m({type:"bos"});l<f;)if(o=s[s.length-1],c=y(),!(c===hg||c===cg)){if(c===Ni){m({type:"text",value:(t.keepEscaping?c:"")+y()});continue}if(c===ul){m({type:"text",value:"\\"+c});continue}if(c===al){u++;let S=!0,E;for(;l<f&&(E=y());){if(c+=E,E===al){u++;continue}if(E===Ni){c+=y();continue}if(E===ul&&(u--,u===0))break}m({type:"text",value:c});continue}if(c===sg){o=m({type:"paren",nodes:[]}),s.push(o),m({type:"text",value:c});continue}if(c===og){if(o.type!=="paren"){m({type:"text",value:c});continue}o=s.pop(),m({type:"text",value:c}),o=s[s.length-1];continue}if(c===lg||c===fg||c===rg){let S=c,E;for(t.keepQuotes!==!0&&(c="");l<f&&(E=y());){if(E===Ni){c+=E+y();continue}if(E===S){t.keepQuotes===!0&&(c+=E);break}c+=E}m({type:"text",value:c});continue}if(c===ag){h++;let S=a.value&&a.value.slice(-1)==="$"||o.dollar===!0;o=m({type:"brace",open:!0,close:!1,dollar:S,depth:h,commas:0,ranges:0,nodes:[]}),s.push(o),m({type:"open",value:c});continue}if(c===ug){if(o.type!=="brace"){m({type:"text",value:c});continue}let S="close";o=s.pop(),o.close=!0,m({type:S,value:c}),h--,o=s[s.length-1];continue}if(c===ng&&h>0){if(o.ranges>0){o.ranges=0;let S=o.nodes.shift();o.nodes=[S,{type:"text",value:tg(o)}]}m({type:"comma",value:c}),o.commas++;continue}if(c===ig&&h>0&&o.commas===0){let S=o.nodes;if(h===0||S.length===0){m({type:"text",value:c});continue}if(a.type==="dot"){if(o.range=[],a.value+=c,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"){S.pop();let E=S[S.length-1];E.value+=a.value+c,a=E,o.ranges--;continue}m({type:"dot",value:c});continue}m({type:"text",value:c})}do if(o=s.pop(),o.type!=="root"){o.nodes.forEach(M=>{M.nodes||(M.type==="open"&&(M.isOpen=!0),M.type==="close"&&(M.isClose=!0),M.nodes||(M.type="text"),M.invalid=!0)});let S=s[s.length-1],E=S.nodes.indexOf(o);S.nodes.splice(E,1,...o.nodes)}while(s.length>0);return m({type:"eos"}),i};ll.exports=dg});var dl=g(($v,hl)=>{"use strict";var cl=Jr(),pg=el(),_g=nl(),gg=fl(),ue=(e,t={})=>{let r=[];if(Array.isArray(e))for(let n of e){let i=ue.create(n,t);Array.isArray(i)?r.push(...i):r.push(i)}else r=[].concat(ue.create(e,t));return t&&t.expand===!0&&t.nodupes===!0&&(r=[...new Set(r)]),r};ue.parse=(e,t={})=>gg(e,t);ue.stringify=(e,t={})=>cl(typeof e=="string"?ue.parse(e,t):e,t);ue.compile=(e,t={})=>(typeof e=="string"&&(e=ue.parse(e,t)),pg(e,t));ue.expand=(e,t={})=>{typeof e=="string"&&(e=ue.parse(e,t));let r=_g(e,t);return t.noempty===!0&&(r=r.filter(Boolean)),t.nodupes===!0&&(r=[...new Set(r)]),r};ue.create=(e,t={})=>e===""||e.length<3?[e]:t.expand!==!0?ue.compile(e,t):ue.expand(e,t);hl.exports=ue});var ar=g((Hv,yl)=>{"use strict";var mg=w("path"),Oe="\\\\/",pl=`[^${Oe}]`,Ne="\\.",yg="\\+",bg="\\?",zr="\\/",vg="(?=.)",_l="[^/]",Ii=`(?:${zr}|$)`,gl=`(?:^|${zr})`,ki=`${Ne}{1,2}${Ii}`,Eg=`(?!${Ne})`,xg=`(?!${gl}${ki})`,Sg=`(?!${Ne}{0,1}${Ii})`,Rg=`(?!${ki})`,wg=`[^.${zr}]`,Ag=`${_l}*?`,ml={DOT_LITERAL:Ne,PLUS_LITERAL:yg,QMARK_LITERAL:bg,SLASH_LITERAL:zr,ONE_CHAR:vg,QMARK:_l,END_ANCHOR:Ii,DOTS_SLASH:ki,NO_DOT:Eg,NO_DOTS:xg,NO_DOT_SLASH:Sg,NO_DOTS_SLASH:Rg,QMARK_NO_DOT:wg,STAR:Ag,START_ANCHOR:gl},Tg={...ml,SLASH_LITERAL:`[${Oe}]`,QMARK:pl,STAR:`${pl}*?`,DOTS_SLASH:`${Ne}{1,2}(?:[${Oe}]|$)`,NO_DOT:`(?!${Ne})`,NO_DOTS:`(?!(?:^|[${Oe}])${Ne}{1,2}(?:[${Oe}]|$))`,NO_DOT_SLASH:`(?!${Ne}{0,1}(?:[${Oe}]|$))`,NO_DOTS_SLASH:`(?!${Ne}{1,2}(?:[${Oe}]|$))`,QMARK_NO_DOT:`[^.${Oe}]`,START_ANCHOR:`(?:^|[${Oe}])`,END_ANCHOR:`(?:[${Oe}]|$)`},Cg={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"};yl.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:Cg,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:mg.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?Tg:ml}}});var ur=g(oe=>{"use strict";var Og=w("path"),Pg=process.platform==="win32",{REGEX_BACKSLASH:Lg,REGEX_REMOVE_BACKSLASH:Mg,REGEX_SPECIAL_CHARS:Dg,REGEX_SPECIAL_CHARS_GLOBAL:Bg}=ar();oe.isObject=e=>e!==null&&typeof e=="object"&&!Array.isArray(e);oe.hasRegexChars=e=>Dg.test(e);oe.isRegexChar=e=>e.length===1&&oe.hasRegexChars(e);oe.escapeRegex=e=>e.replace(Bg,"\\$1");oe.toPosixSlashes=e=>e.replace(Lg,"/");oe.removeBackslashes=e=>e.replace(Mg,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:Pg===!0||Og.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 Al=g((Gv,wl)=>{"use strict";var bl=ur(),{CHAR_ASTERISK:Fi,CHAR_AT:Ng,CHAR_BACKWARD_SLASH:lr,CHAR_COMMA:Ig,CHAR_DOT:qi,CHAR_EXCLAMATION_MARK:ji,CHAR_FORWARD_SLASH:Rl,CHAR_LEFT_CURLY_BRACE:$i,CHAR_LEFT_PARENTHESES:Hi,CHAR_LEFT_SQUARE_BRACKET:kg,CHAR_PLUS:Fg,CHAR_QUESTION_MARK:vl,CHAR_RIGHT_CURLY_BRACE:qg,CHAR_RIGHT_PARENTHESES:El,CHAR_RIGHT_SQUARE_BRACKET:jg}=ar(),xl=e=>e===Rl||e===lr,Sl=e=>{e.isPrefix!==!0&&(e.depth=e.isGlobstar?1/0:1)},$g=(e,t)=>{let r=t||{},n=e.length-1,i=r.parts===!0||r.scanToEnd===!0,s=[],o=[],a=[],u=e,f=-1,l=0,h=0,c=!1,x=!1,y=!1,m=!1,S=!1,E=!1,M=!1,B=!1,Z=!1,C=!1,$=0,O,A,F={value:"",depth:0,isGlob:!1},R=()=>f>=n,d=()=>u.charCodeAt(f+1),j=()=>(O=A,u.charCodeAt(++f));for(;f<n;){A=j();let ie;if(A===lr){M=F.backslashes=!0,A=j(),A===$i&&(E=!0);continue}if(E===!0||A===$i){for($++;R()!==!0&&(A=j());){if(A===lr){M=F.backslashes=!0,j();continue}if(A===$i){$++;continue}if(E!==!0&&A===qi&&(A=j())===qi){if(c=F.isBrace=!0,y=F.isGlob=!0,C=!0,i===!0)continue;break}if(E!==!0&&A===Ig){if(c=F.isBrace=!0,y=F.isGlob=!0,C=!0,i===!0)continue;break}if(A===qg&&($--,$===0)){E=!1,c=F.isBrace=!0,C=!0;break}}if(i===!0)continue;break}if(A===Rl){if(s.push(f),o.push(F),F={value:"",depth:0,isGlob:!1},C===!0)continue;if(O===qi&&f===l+1){l+=2;continue}h=f+1;continue}if(r.noext!==!0&&(A===Fg||A===Ng||A===Fi||A===vl||A===ji)===!0&&d()===Hi){if(y=F.isGlob=!0,m=F.isExtglob=!0,C=!0,A===ji&&f===l&&(Z=!0),i===!0){for(;R()!==!0&&(A=j());){if(A===lr){M=F.backslashes=!0,A=j();continue}if(A===El){y=F.isGlob=!0,C=!0;break}}continue}break}if(A===Fi){if(O===Fi&&(S=F.isGlobstar=!0),y=F.isGlob=!0,C=!0,i===!0)continue;break}if(A===vl){if(y=F.isGlob=!0,C=!0,i===!0)continue;break}if(A===kg){for(;R()!==!0&&(ie=j());){if(ie===lr){M=F.backslashes=!0,j();continue}if(ie===jg){x=F.isBracket=!0,y=F.isGlob=!0,C=!0;break}}if(i===!0)continue;break}if(r.nonegate!==!0&&A===ji&&f===l){B=F.negated=!0,l++;continue}if(r.noparen!==!0&&A===Hi){if(y=F.isGlob=!0,i===!0){for(;R()!==!0&&(A=j());){if(A===Hi){M=F.backslashes=!0,A=j();continue}if(A===El){C=!0;break}}continue}break}if(y===!0){if(C=!0,i===!0)continue;break}}r.noext===!0&&(m=!1,y=!1);let q=u,Fe="",p="";l>0&&(Fe=u.slice(0,l),u=u.slice(l),h-=l),q&&y===!0&&h>0?(q=u.slice(0,h),p=u.slice(h)):y===!0?(q="",p=u):q=u,q&&q!==""&&q!=="/"&&q!==u&&xl(q.charCodeAt(q.length-1))&&(q=q.slice(0,-1)),r.unescape===!0&&(p&&(p=bl.removeBackslashes(p)),q&&M===!0&&(q=bl.removeBackslashes(q)));let _={prefix:Fe,input:e,start:l,base:q,glob:p,isBrace:c,isBracket:x,isGlob:y,isExtglob:m,isGlobstar:S,negated:B,negatedExtglob:Z};if(r.tokens===!0&&(_.maxDepth=0,xl(A)||o.push(F),_.tokens=o),r.parts===!0||r.tokens===!0){let ie;for(let k=0;k<s.length;k++){let Ee=ie?ie+1:l,xe=s[k],ae=e.slice(Ee,xe);r.tokens&&(k===0&&l!==0?(o[k].isPrefix=!0,o[k].value=Fe):o[k].value=ae,Sl(o[k]),_.maxDepth+=o[k].depth),(k!==0||ae!=="")&&a.push(ae),ie=xe}if(ie&&ie+1<e.length){let k=e.slice(ie+1);a.push(k),r.tokens&&(o[o.length-1].value=k,Sl(o[o.length-1]),_.maxDepth+=o[o.length-1].depth)}_.slashes=s,_.parts=a}return _};wl.exports=$g});var Ol=g((Wv,Cl)=>{"use strict";var en=ar(),le=ur(),{MAX_LENGTH:tn,POSIX_REGEX_SOURCE:Hg,REGEX_NON_SPECIAL_CHARS:Ug,REGEX_SPECIAL_CHARS_BACKREF:Gg,REPLACEMENTS:Tl}=en,Wg=(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=>le.escapeRegex(i)).join("..")}return r},Ct=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,Ui=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");e=Tl[e]||e;let r={...t},n=typeof r.maxLength=="number"?Math.min(tn,r.maxLength):tn,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?"":"?:",u=le.isWindows(t),f=en.globChars(u),l=en.extglobChars(f),{DOT_LITERAL:h,PLUS_LITERAL:c,SLASH_LITERAL:x,ONE_CHAR:y,DOTS_SLASH:m,NO_DOT:S,NO_DOT_SLASH:E,NO_DOTS_SLASH:M,QMARK:B,QMARK_NO_DOT:Z,STAR:C,START_ANCHOR:$}=f,O=v=>`(${a}(?:(?!${$}${v.dot?m:h}).)*?)`,A=r.dot?"":S,F=r.dot?B:Z,R=r.bash===!0?O(r):C;r.capture&&(R=`(${R})`),typeof r.noext=="boolean"&&(r.noextglob=r.noext);let d={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=le.removePrefix(e,d),i=e.length;let j=[],q=[],Fe=[],p=s,_,ie=()=>d.index===i-1,k=d.peek=(v=1)=>e[d.index+v],Ee=d.advance=()=>e[++d.index]||"",xe=()=>e.slice(d.index+1),ae=(v="",G=0)=>{d.consumed+=v,d.index+=G},fr=v=>{d.output+=v.output!=null?v.output:v.value,ae(v.value)},Yc=()=>{let v=1;for(;k()==="!"&&(k(2)!=="("||k(3)==="?");)Ee(),d.start++,v++;return v%2===0?!1:(d.negated=!0,d.start++,!0)},cr=v=>{d[v]++,Fe.push(v)},Je=v=>{d[v]--,Fe.pop()},D=v=>{if(p.type==="globstar"){let G=d.braces>0&&(v.type==="comma"||v.type==="brace"),b=v.extglob===!0||j.length&&(v.type==="pipe"||v.type==="paren");v.type!=="slash"&&v.type!=="paren"&&!G&&!b&&(d.output=d.output.slice(0,-p.output.length),p.type="star",p.value="*",p.output=R,d.output+=p.output)}if(j.length&&v.type!=="paren"&&(j[j.length-1].inner+=v.value),(v.value||v.output)&&fr(v),p&&p.type==="text"&&v.type==="text"){p.value+=v.value,p.output=(p.output||"")+v.value;return}v.prev=p,o.push(v),p=v},hr=(v,G)=>{let b={...l[G],conditions:1,inner:""};b.prev=p,b.parens=d.parens,b.output=d.output;let P=(r.capture?"(":"")+b.open;cr("parens"),D({type:v,value:G,output:d.output?"":y}),D({type:"paren",extglob:!0,value:Ee(),output:P}),j.push(b)},Kc=v=>{let G=v.close+(r.capture?")":""),b;if(v.type==="negate"){let P=R;if(v.inner&&v.inner.length>1&&v.inner.includes("/")&&(P=O(r)),(P!==R||ie()||/^\)+$/.test(xe()))&&(G=v.close=`)$))${P}`),v.inner.includes("*")&&(b=xe())&&/^\.[^\\/.]+$/.test(b)){let Y=Ui(b,{...t,fastpaths:!1}).output;G=v.close=`)${Y})${P})`}v.prev.type==="bos"&&(d.negatedExtglob=!0)}D({type:"paren",extglob:!0,value:_,output:G}),Je("parens")};if(r.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(e)){let v=!1,G=e.replace(Gg,(b,P,Y,se,z,wn)=>se==="\\"?(v=!0,b):se==="?"?P?P+se+(z?B.repeat(z.length):""):wn===0?F+(z?B.repeat(z.length):""):B.repeat(Y.length):se==="."?h.repeat(Y.length):se==="*"?P?P+se+(z?R:""):R:P?b:`\\${b}`);return v===!0&&(r.unescape===!0?G=G.replace(/\\/g,""):G=G.replace(/\\+/g,b=>b.length%2===0?"\\\\":b?"\\":"")),G===e&&r.contains===!0?(d.output=e,d):(d.output=le.wrapOutput(G,d,t),d)}for(;!ie();){if(_=Ee(),_==="\0")continue;if(_==="\\"){let b=k();if(b==="/"&&r.bash!==!0||b==="."||b===";")continue;if(!b){_+="\\",D({type:"text",value:_});continue}let P=/^\\+/.exec(xe()),Y=0;if(P&&P[0].length>2&&(Y=P[0].length,d.index+=Y,Y%2!==0&&(_+="\\")),r.unescape===!0?_=Ee():_+=Ee(),d.brackets===0){D({type:"text",value:_});continue}}if(d.brackets>0&&(_!=="]"||p.value==="["||p.value==="[^")){if(r.posix!==!1&&_===":"){let b=p.value.slice(1);if(b.includes("[")&&(p.posix=!0,b.includes(":"))){let P=p.value.lastIndexOf("["),Y=p.value.slice(0,P),se=p.value.slice(P+2),z=Hg[se];if(z){p.value=Y+z,d.backtrack=!0,Ee(),!s.output&&o.indexOf(p)===1&&(s.output=y);continue}}}(_==="["&&k()!==":"||_==="-"&&k()==="]")&&(_=`\\${_}`),_==="]"&&(p.value==="["||p.value==="[^")&&(_=`\\${_}`),r.posix===!0&&_==="!"&&p.value==="["&&(_="^"),p.value+=_,fr({value:_});continue}if(d.quotes===1&&_!=='"'){_=le.escapeRegex(_),p.value+=_,fr({value:_});continue}if(_==='"'){d.quotes=d.quotes===1?0:1,r.keepQuotes===!0&&D({type:"text",value:_});continue}if(_==="("){cr("parens"),D({type:"paren",value:_});continue}if(_===")"){if(d.parens===0&&r.strictBrackets===!0)throw new SyntaxError(Ct("opening","("));let b=j[j.length-1];if(b&&d.parens===b.parens+1){Kc(j.pop());continue}D({type:"paren",value:_,output:d.parens?")":"\\)"}),Je("parens");continue}if(_==="["){if(r.nobracket===!0||!xe().includes("]")){if(r.nobracket!==!0&&r.strictBrackets===!0)throw new SyntaxError(Ct("closing","]"));_=`\\${_}`}else cr("brackets");D({type:"bracket",value:_});continue}if(_==="]"){if(r.nobracket===!0||p&&p.type==="bracket"&&p.value.length===1){D({type:"text",value:_,output:`\\${_}`});continue}if(d.brackets===0){if(r.strictBrackets===!0)throw new SyntaxError(Ct("opening","["));D({type:"text",value:_,output:`\\${_}`});continue}Je("brackets");let b=p.value.slice(1);if(p.posix!==!0&&b[0]==="^"&&!b.includes("/")&&(_=`/${_}`),p.value+=_,fr({value:_}),r.literalBrackets===!1||le.hasRegexChars(b))continue;let P=le.escapeRegex(p.value);if(d.output=d.output.slice(0,-p.value.length),r.literalBrackets===!0){d.output+=P,p.value=P;continue}p.value=`(${a}${P}|${p.value})`,d.output+=p.value;continue}if(_==="{"&&r.nobrace!==!0){cr("braces");let b={type:"brace",value:_,output:"(",outputIndex:d.output.length,tokensIndex:d.tokens.length};q.push(b),D(b);continue}if(_==="}"){let b=q[q.length-1];if(r.nobrace===!0||!b){D({type:"text",value:_,output:_});continue}let P=")";if(b.dots===!0){let Y=o.slice(),se=[];for(let z=Y.length-1;z>=0&&(o.pop(),Y[z].type!=="brace");z--)Y[z].type!=="dots"&&se.unshift(Y[z].value);P=Wg(se,r),d.backtrack=!0}if(b.comma!==!0&&b.dots!==!0){let Y=d.output.slice(0,b.outputIndex),se=d.tokens.slice(b.tokensIndex);b.value=b.output="\\{",_=P="\\}",d.output=Y;for(let z of se)d.output+=z.output||z.value}D({type:"brace",value:_,output:P}),Je("braces"),q.pop();continue}if(_==="|"){j.length>0&&j[j.length-1].conditions++,D({type:"text",value:_});continue}if(_===","){let b=_,P=q[q.length-1];P&&Fe[Fe.length-1]==="braces"&&(P.comma=!0,b="|"),D({type:"comma",value:_,output:b});continue}if(_==="/"){if(p.type==="dot"&&d.index===d.start+1){d.start=d.index+1,d.consumed="",d.output="",o.pop(),p=s;continue}D({type:"slash",value:_,output:x});continue}if(_==="."){if(d.braces>0&&p.type==="dot"){p.value==="."&&(p.output=h);let b=q[q.length-1];p.type="dots",p.output+=_,p.value+=_,b.dots=!0;continue}if(d.braces+d.parens===0&&p.type!=="bos"&&p.type!=="slash"){D({type:"text",value:_,output:h});continue}D({type:"dot",value:_,output:h});continue}if(_==="?"){if(!(p&&p.value==="(")&&r.noextglob!==!0&&k()==="("&&k(2)!=="?"){hr("qmark",_);continue}if(p&&p.type==="paren"){let P=k(),Y=_;if(P==="<"&&!le.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(p.value==="("&&!/[!=<:]/.test(P)||P==="<"&&!/<([!=]|\w+>)/.test(xe()))&&(Y=`\\${_}`),D({type:"text",value:_,output:Y});continue}if(r.dot!==!0&&(p.type==="slash"||p.type==="bos")){D({type:"qmark",value:_,output:Z});continue}D({type:"qmark",value:_,output:B});continue}if(_==="!"){if(r.noextglob!==!0&&k()==="("&&(k(2)!=="?"||!/[!=<:]/.test(k(3)))){hr("negate",_);continue}if(r.nonegate!==!0&&d.index===0){Yc();continue}}if(_==="+"){if(r.noextglob!==!0&&k()==="("&&k(2)!=="?"){hr("plus",_);continue}if(p&&p.value==="("||r.regex===!1){D({type:"plus",value:_,output:c});continue}if(p&&(p.type==="bracket"||p.type==="paren"||p.type==="brace")||d.parens>0){D({type:"plus",value:_});continue}D({type:"plus",value:c});continue}if(_==="@"){if(r.noextglob!==!0&&k()==="("&&k(2)!=="?"){D({type:"at",extglob:!0,value:_,output:""});continue}D({type:"text",value:_});continue}if(_!=="*"){(_==="$"||_==="^")&&(_=`\\${_}`);let b=Ug.exec(xe());b&&(_+=b[0],d.index+=b[0].length),D({type:"text",value:_});continue}if(p&&(p.type==="globstar"||p.star===!0)){p.type="star",p.star=!0,p.value+=_,p.output=R,d.backtrack=!0,d.globstar=!0,ae(_);continue}let v=xe();if(r.noextglob!==!0&&/^\([^?]/.test(v)){hr("star",_);continue}if(p.type==="star"){if(r.noglobstar===!0){ae(_);continue}let b=p.prev,P=b.prev,Y=b.type==="slash"||b.type==="bos",se=P&&(P.type==="star"||P.type==="globstar");if(r.bash===!0&&(!Y||v[0]&&v[0]!=="/")){D({type:"star",value:_,output:""});continue}let z=d.braces>0&&(b.type==="comma"||b.type==="brace"),wn=j.length&&(b.type==="pipe"||b.type==="paren");if(!Y&&b.type!=="paren"&&!z&&!wn){D({type:"star",value:_,output:""});continue}for(;v.slice(0,3)==="/**";){let dr=e[d.index+4];if(dr&&dr!=="/")break;v=v.slice(3),ae("/**",3)}if(b.type==="bos"&&ie()){p.type="globstar",p.value+=_,p.output=O(r),d.output=p.output,d.globstar=!0,ae(_);continue}if(b.type==="slash"&&b.prev.type!=="bos"&&!se&&ie()){d.output=d.output.slice(0,-(b.output+p.output).length),b.output=`(?:${b.output}`,p.type="globstar",p.output=O(r)+(r.strictSlashes?")":"|$)"),p.value+=_,d.globstar=!0,d.output+=b.output+p.output,ae(_);continue}if(b.type==="slash"&&b.prev.type!=="bos"&&v[0]==="/"){let dr=v[1]!==void 0?"|$":"";d.output=d.output.slice(0,-(b.output+p.output).length),b.output=`(?:${b.output}`,p.type="globstar",p.output=`${O(r)}${x}|${x}${dr})`,p.value+=_,d.output+=b.output+p.output,d.globstar=!0,ae(_+Ee()),D({type:"slash",value:"/",output:""});continue}if(b.type==="bos"&&v[0]==="/"){p.type="globstar",p.value+=_,p.output=`(?:^|${x}|${O(r)}${x})`,d.output=p.output,d.globstar=!0,ae(_+Ee()),D({type:"slash",value:"/",output:""});continue}d.output=d.output.slice(0,-p.output.length),p.type="globstar",p.output=O(r),p.value+=_,d.output+=p.output,d.globstar=!0,ae(_);continue}let G={type:"star",value:_,output:R};if(r.bash===!0){G.output=".*?",(p.type==="bos"||p.type==="slash")&&(G.output=A+G.output),D(G);continue}if(p&&(p.type==="bracket"||p.type==="paren")&&r.regex===!0){G.output=_,D(G);continue}(d.index===d.start||p.type==="slash"||p.type==="dot")&&(p.type==="dot"?(d.output+=E,p.output+=E):r.dot===!0?(d.output+=M,p.output+=M):(d.output+=A,p.output+=A),k()!=="*"&&(d.output+=y,p.output+=y)),D(G)}for(;d.brackets>0;){if(r.strictBrackets===!0)throw new SyntaxError(Ct("closing","]"));d.output=le.escapeLast(d.output,"["),Je("brackets")}for(;d.parens>0;){if(r.strictBrackets===!0)throw new SyntaxError(Ct("closing",")"));d.output=le.escapeLast(d.output,"("),Je("parens")}for(;d.braces>0;){if(r.strictBrackets===!0)throw new SyntaxError(Ct("closing","}"));d.output=le.escapeLast(d.output,"{"),Je("braces")}if(r.strictSlashes!==!0&&(p.type==="star"||p.type==="bracket")&&D({type:"maybe_slash",value:"",output:`${x}?`}),d.backtrack===!0){d.output="";for(let v of d.tokens)d.output+=v.output!=null?v.output:v.value,v.suffix&&(d.output+=v.suffix)}return d};Ui.fastpaths=(e,t)=>{let r={...t},n=typeof r.maxLength=="number"?Math.min(tn,r.maxLength):tn,i=e.length;if(i>n)throw new SyntaxError(`Input length: ${i}, exceeds maximum allowed length: ${n}`);e=Tl[e]||e;let s=le.isWindows(t),{DOT_LITERAL:o,SLASH_LITERAL:a,ONE_CHAR:u,DOTS_SLASH:f,NO_DOT:l,NO_DOTS:h,NO_DOTS_SLASH:c,STAR:x,START_ANCHOR:y}=en.globChars(s),m=r.dot?h:l,S=r.dot?c:l,E=r.capture?"":"?:",M={negated:!1,prefix:""},B=r.bash===!0?".*?":x;r.capture&&(B=`(${B})`);let Z=A=>A.noglobstar===!0?B:`(${E}(?:(?!${y}${A.dot?f:o}).)*?)`,C=A=>{switch(A){case"*":return`${m}${u}${B}`;case".*":return`${o}${u}${B}`;case"*.*":return`${m}${B}${o}${u}${B}`;case"*/*":return`${m}${B}${a}${u}${S}${B}`;case"**":return m+Z(r);case"**/*":return`(?:${m}${Z(r)}${a})?${S}${u}${B}`;case"**/*.*":return`(?:${m}${Z(r)}${a})?${S}${B}${o}${u}${B}`;case"**/.*":return`(?:${m}${Z(r)}${a})?${o}${u}${B}`;default:{let F=/^(.*?)\.(\w+)$/.exec(A);if(!F)return;let R=C(F[1]);return R?R+o+F[2]:void 0}}},$=le.removePrefix(e,M),O=C($);return O&&r.strictSlashes!==!0&&(O+=`${a}?`),O};Cl.exports=Ui});var Ll=g((Vv,Pl)=>{"use strict";var Vg=w("path"),Yg=Al(),Gi=Ol(),Wi=ur(),Kg=ar(),Qg=e=>e&&typeof e=="object"&&!Array.isArray(e),Q=(e,t,r=!1)=>{if(Array.isArray(e)){let l=e.map(c=>Q(c,t,r));return c=>{for(let x of l){let y=x(c);if(y)return y}return!1}}let n=Qg(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=Wi.isWindows(t),o=n?Q.compileRe(e,t):Q.makeRe(e,t,!1,!0),a=o.state;delete o.state;let u=()=>!1;if(i.ignore){let l={...t,ignore:null,onMatch:null,onResult:null};u=Q(i.ignore,l,r)}let f=(l,h=!1)=>{let{isMatch:c,match:x,output:y}=Q.test(l,o,t,{glob:e,posix:s}),m={glob:e,state:a,regex:o,posix:s,input:l,output:y,match:x,isMatch:c};return typeof i.onResult=="function"&&i.onResult(m),c===!1?(m.isMatch=!1,h?m:!1):u(l)?(typeof i.onIgnore=="function"&&i.onIgnore(m),m.isMatch=!1,h?m:!1):(typeof i.onMatch=="function"&&i.onMatch(m),h?m:!0)};return r&&(f.state=a),f};Q.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?Wi.toPosixSlashes:null),a=e===n,u=a&&o?o(e):e;return a===!1&&(u=o?o(e):e,a=u===n),(a===!1||s.capture===!0)&&(s.matchBase===!0||s.basename===!0?a=Q.matchBase(e,t,r,i):a=t.exec(u)),{isMatch:Boolean(a),match:a,output:u}};Q.matchBase=(e,t,r,n=Wi.isWindows(r))=>(t instanceof RegExp?t:Q.makeRe(t,r)).test(Vg.basename(e));Q.isMatch=(e,t,r)=>Q(t,r)(e);Q.parse=(e,t)=>Array.isArray(e)?e.map(r=>Q.parse(r,t)):Gi(e,{...t,fastpaths:!1});Q.scan=(e,t)=>Yg(e,t);Q.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 u=Q.toRegex(a,t);return n===!0&&(u.state=e),u};Q.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=Gi.fastpaths(e,t)),i.output||(i=Gi(e,t)),Q.compileRe(i,t,r,n)};Q.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/$^/}};Q.constants=Kg;Pl.exports=Q});var Dl=g((Yv,Ml)=>{"use strict";Ml.exports=Ll()});var Fl=g((Kv,kl)=>{"use strict";var Nl=w("util"),Il=dl(),Pe=Dl(),Vi=ur(),Bl=e=>e===""||e==="./",V=(e,t,r)=>{t=[].concat(t),e=[].concat(e);let n=new Set,i=new Set,s=new Set,o=0,a=l=>{s.add(l.output),r&&r.onResult&&r.onResult(l)};for(let l=0;l<t.length;l++){let h=Pe(String(t[l]),{...r,onResult:a},!0),c=h.state.negated||h.state.negatedExtglob;c&&o++;for(let x of e){let y=h(x,!0);!(c?!y.isMatch:y.isMatch)||(c?n.add(y.output):(n.delete(y.output),i.add(y.output)))}}let f=(o===t.length?[...s]:[...i]).filter(l=>!n.has(l));if(r&&f.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(l=>l.replace(/\\/g,"")):t}return f};V.match=V;V.matcher=(e,t)=>Pe(e,t);V.isMatch=(e,t,r)=>Pe(t,r)(e);V.any=V.isMatch;V.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(V(e,t,{...r,onResult:s}));for(let a of i)o.has(a)||n.add(a);return[...n]};V.contains=(e,t,r)=>{if(typeof e!="string")throw new TypeError(`Expected a string: "${Nl.inspect(e)}"`);if(Array.isArray(t))return t.some(n=>V.contains(e,n,r));if(typeof t=="string"){if(Bl(e)||Bl(t))return!1;if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t))return!0}return V.isMatch(e,t,{...r,contains:!0})};V.matchKeys=(e,t,r)=>{if(!Vi.isObject(e))throw new TypeError("Expected the first argument to be an object");let n=V(Object.keys(e),t,r),i={};for(let s of n)i[s]=e[s];return i};V.some=(e,t,r)=>{let n=[].concat(e);for(let i of[].concat(t)){let s=Pe(String(i),r);if(n.some(o=>s(o)))return!0}return!1};V.every=(e,t,r)=>{let n=[].concat(e);for(let i of[].concat(t)){let s=Pe(String(i),r);if(!n.every(o=>s(o)))return!1}return!0};V.all=(e,t,r)=>{if(typeof e!="string")throw new TypeError(`Expected a string: "${Nl.inspect(e)}"`);return[].concat(t).every(n=>Pe(n,r)(e))};V.capture=(e,t,r)=>{let n=Vi.isWindows(r),s=Pe.makeRe(String(e),{...r,capture:!0}).exec(n?Vi.toPosixSlashes(t):t);if(s)return s.slice(1).map(o=>o===void 0?"":o)};V.makeRe=(...e)=>Pe.makeRe(...e);V.scan=(...e)=>Pe.scan(...e);V.parse=(e,t)=>{let r=[];for(let n of[].concat(e||[]))for(let i of Il(String(n),t))r.push(Pe.parse(i,t));return r};V.braces=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");return t&&t.nobrace===!0||!/\{.*\}/.test(e)?[e]:Il(e,t)};V.braceExpand=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");return V.braces(e,{...t,expand:!0})};kl.exports=V});var Vl=g(T=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0});T.matchAny=T.convertPatternsToRe=T.makeRe=T.getPatternParts=T.expandBraceExpansion=T.expandPatternsWithBraceExpansion=T.isAffectDepthOfReadingPattern=T.endsWithSlashGlobStar=T.hasGlobStar=T.getBaseDirectory=T.isPatternRelatedToParentDirectory=T.getPatternsOutsideCurrentDirectory=T.getPatternsInsideCurrentDirectory=T.getPositivePatterns=T.getNegativePatterns=T.isPositivePattern=T.isNegativePattern=T.convertToNegativePattern=T.convertToPositivePattern=T.isDynamicPattern=T.isStaticPattern=void 0;var Xg=w("path"),Jg=Pu(),Yi=Fl(),ql="**",Zg="\\",zg=/[*?]|^!/,e0=/\[[^[]*]/,t0=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,r0=/[!*+?@]\([^(]*\)/,n0=/,|\.\./;function jl(e,t={}){return!$l(e,t)}T.isStaticPattern=jl;function $l(e,t={}){return e===""?!1:!!(t.caseSensitiveMatch===!1||e.includes(Zg)||zg.test(e)||e0.test(e)||t0.test(e)||t.extglob!==!1&&r0.test(e)||t.braceExpansion!==!1&&i0(e))}T.isDynamicPattern=$l;function i0(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 n0.test(n)}function s0(e){return rn(e)?e.slice(1):e}T.convertToPositivePattern=s0;function o0(e){return"!"+e}T.convertToNegativePattern=o0;function rn(e){return e.startsWith("!")&&e[1]!=="("}T.isNegativePattern=rn;function Hl(e){return!rn(e)}T.isPositivePattern=Hl;function a0(e){return e.filter(rn)}T.getNegativePatterns=a0;function u0(e){return e.filter(Hl)}T.getPositivePatterns=u0;function l0(e){return e.filter(t=>!Ki(t))}T.getPatternsInsideCurrentDirectory=l0;function f0(e){return e.filter(Ki)}T.getPatternsOutsideCurrentDirectory=f0;function Ki(e){return e.startsWith("..")||e.startsWith("./..")}T.isPatternRelatedToParentDirectory=Ki;function c0(e){return Jg(e,{flipBackslashes:!1})}T.getBaseDirectory=c0;function h0(e){return e.includes(ql)}T.hasGlobStar=h0;function Ul(e){return e.endsWith("/"+ql)}T.endsWithSlashGlobStar=Ul;function d0(e){let t=Xg.basename(e);return Ul(e)||jl(t)}T.isAffectDepthOfReadingPattern=d0;function p0(e){return e.reduce((t,r)=>t.concat(Gl(r)),[])}T.expandPatternsWithBraceExpansion=p0;function Gl(e){return Yi.braces(e,{expand:!0,nodupes:!0})}T.expandBraceExpansion=Gl;function _0(e,t){let{parts:r}=Yi.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}T.getPatternParts=_0;function Wl(e,t){return Yi.makeRe(e,t)}T.makeRe=Wl;function g0(e,t){return e.map(r=>Wl(r,t))}T.convertPatternsToRe=g0;function m0(e,t){return t.some(r=>r.test(e))}T.matchAny=m0});var Xl=g((Xv,Ql)=>{"use strict";var y0=w("stream"),Yl=y0.PassThrough,b0=Array.prototype.slice;Ql.exports=v0;function v0(){let e=[],t=b0.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=Yl(n);function a(){for(let l=0,h=arguments.length;l<h;l++)e.push(Kl(arguments[l],n));return u(),this}function u(){if(r)return;r=!0;let l=e.shift();if(!l){process.nextTick(f);return}Array.isArray(l)||(l=[l]);let h=l.length+1;function c(){--h>0||(r=!1,u())}function x(y){function m(){y.removeListener("merge2UnpipeEnd",m),y.removeListener("end",m),s&&y.removeListener("error",S),c()}function S(E){o.emit("error",E)}if(y._readableState.endEmitted)return c();y.on("merge2UnpipeEnd",m),y.on("end",m),s&&y.on("error",S),y.pipe(o,{end:!1}),y.resume()}for(let y=0;y<l.length;y++)x(l[y]);c()}function f(){r=!1,o.emit("queueDrain"),i&&o.end()}return o.setMaxListeners(0),o.add=a,o.on("unpipe",function(l){l.emit("merge2UnpipeEnd")}),t.length&&a.apply(null,t),o}function Kl(e,t){if(Array.isArray(e))for(let r=0,n=e.length;r<n;r++)e[r]=Kl(e[r],t);else{if(!e._readableState&&e.pipe&&(e=e.pipe(Yl(t))),!e._readableState||!e.pause||!e.pipe)throw new Error("Only readable stream can be merged.");e.pause()}return e}});var Zl=g(nn=>{"use strict";Object.defineProperty(nn,"__esModule",{value:!0});nn.merge=void 0;var E0=Xl();function x0(e){let t=E0(e);return e.forEach(r=>{r.once("error",n=>t.emit("error",n))}),t.once("close",()=>Jl(e)),t.once("end",()=>Jl(e)),t}nn.merge=x0;function Jl(e){e.forEach(t=>t.emit("close"))}});var zl=g(Ot=>{"use strict";Object.defineProperty(Ot,"__esModule",{value:!0});Ot.isEmpty=Ot.isString=void 0;function S0(e){return typeof e=="string"}Ot.isString=S0;function R0(e){return e===""}Ot.isEmpty=R0});var Ie=g(re=>{"use strict";Object.defineProperty(re,"__esModule",{value:!0});re.string=re.stream=re.pattern=re.path=re.fs=re.errno=re.array=void 0;var w0=bu();re.array=w0;var A0=vu();re.errno=A0;var T0=xu();re.fs=T0;var C0=Su();re.path=C0;var O0=Vl();re.pattern=O0;var P0=Zl();re.stream=P0;var L0=zl();re.string=L0});var rf=g(ne=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0});ne.convertPatternGroupToTask=ne.convertPatternGroupsToTasks=ne.groupPatternsByBaseDirectory=ne.getNegativePatternsAsPositive=ne.getPositivePatterns=ne.convertPatternsToTasks=ne.generate=void 0;var ke=Ie();function M0(e,t){let r=ef(e),n=tf(e,t.ignore),i=r.filter(u=>ke.pattern.isStaticPattern(u,t)),s=r.filter(u=>ke.pattern.isDynamicPattern(u,t)),o=Qi(i,n,!1),a=Qi(s,n,!0);return o.concat(a)}ne.generate=M0;function Qi(e,t,r){let n=[],i=ke.pattern.getPatternsOutsideCurrentDirectory(e),s=ke.pattern.getPatternsInsideCurrentDirectory(e),o=Xi(i),a=Xi(s);return n.push(...Ji(o,t,r)),"."in a?n.push(Zi(".",s,t,r)):n.push(...Ji(a,t,r)),n}ne.convertPatternsToTasks=Qi;function ef(e){return ke.pattern.getPositivePatterns(e)}ne.getPositivePatterns=ef;function tf(e,t){return ke.pattern.getNegativePatterns(e).concat(t).map(ke.pattern.convertToPositivePattern)}ne.getNegativePatternsAsPositive=tf;function Xi(e){let t={};return e.reduce((r,n)=>{let i=ke.pattern.getBaseDirectory(n);return i in r?r[i].push(n):r[i]=[n],r},t)}ne.groupPatternsByBaseDirectory=Xi;function Ji(e,t,r){return Object.keys(e).map(n=>Zi(n,e[n],t,r))}ne.convertPatternGroupsToTasks=Ji;function Zi(e,t,r,n){return{dynamic:n,positive:t,negative:r,base:e,patterns:[].concat(t,r.map(ke.pattern.convertToNegativePattern))}}ne.convertPatternGroupToTask=Zi});var sf=g(Pt=>{"use strict";Object.defineProperty(Pt,"__esModule",{value:!0});Pt.removeDuplicateSlashes=Pt.transform=void 0;var D0=/(?!^)\/{2,}/g;function B0(e){return e.map(t=>nf(t))}Pt.transform=B0;function nf(e){return e.replace(D0,"/")}Pt.removeDuplicateSlashes=nf});var af=g(sn=>{"use strict";Object.defineProperty(sn,"__esModule",{value:!0});sn.read=void 0;function N0(e,t,r){t.fs.lstat(e,(n,i)=>{if(n!==null){of(r,n);return}if(!i.isSymbolicLink()||!t.followSymbolicLink){zi(r,i);return}t.fs.stat(e,(s,o)=>{if(s!==null){if(t.throwErrorOnBrokenSymbolicLink){of(r,s);return}zi(r,i);return}t.markSymbolicLink&&(o.isSymbolicLink=()=>!0),zi(r,o)})})}sn.read=N0;function of(e,t){e(t)}function zi(e,t){e(null,t)}});var uf=g(on=>{"use strict";Object.defineProperty(on,"__esModule",{value:!0});on.read=void 0;function I0(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}}on.read=I0});var lf=g(We=>{"use strict";Object.defineProperty(We,"__esModule",{value:!0});We.createFileSystemAdapter=We.FILE_SYSTEM_ADAPTER=void 0;var an=w("fs");We.FILE_SYSTEM_ADAPTER={lstat:an.lstat,stat:an.stat,lstatSync:an.lstatSync,statSync:an.statSync};function k0(e){return e===void 0?We.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},We.FILE_SYSTEM_ADAPTER),e)}We.createFileSystemAdapter=k0});var cf=g(es=>{"use strict";Object.defineProperty(es,"__esModule",{value:!0});var F0=lf(),ff=class{constructor(t={}){this._options=t,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=F0.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}};es.default=ff});var lt=g(Ve=>{"use strict";Object.defineProperty(Ve,"__esModule",{value:!0});Ve.statSync=Ve.stat=Ve.Settings=void 0;var hf=af(),q0=uf(),ts=cf();Ve.Settings=ts.default;function j0(e,t,r){if(typeof t=="function"){hf.read(e,rs(),t);return}hf.read(e,rs(t),r)}Ve.stat=j0;function $0(e,t){let r=rs(t);return q0.read(e,r)}Ve.statSync=$0;function rs(e={}){return e instanceof ts.default?e:new ts.default(e)}});var _f=g((aE,pf)=>{var df;pf.exports=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:global):e=>(df||(df=Promise.resolve())).then(e).catch(t=>setTimeout(()=>{throw t},0))});var mf=g((uE,gf)=>{gf.exports=U0;var H0=_f();function U0(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(u){function f(){t&&t(u,r),t=null}s?H0(f):f()}function a(u,f,l){r[u]=l,(--n===0||f)&&o(f)}n?i?i.forEach(function(u){e[u](function(f,l){a(u,f,l)})}):e.forEach(function(u,f){u(function(l,h){a(f,l,h)})}):o(null),s=!1}});var ns=g(ln=>{"use strict";Object.defineProperty(ln,"__esModule",{value:!0});ln.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;var un=process.versions.node.split(".");if(un[0]===void 0||un[1]===void 0)throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);var yf=Number.parseInt(un[0],10),G0=Number.parseInt(un[1],10),bf=10,W0=10,V0=yf>bf,Y0=yf===bf&&G0>=W0;ln.IS_SUPPORT_READDIR_WITH_FILE_TYPES=V0||Y0});var Ef=g(fn=>{"use strict";Object.defineProperty(fn,"__esModule",{value:!0});fn.createDirentFromStats=void 0;var vf=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 K0(e,t){return new vf(e,t)}fn.createDirentFromStats=K0});var is=g(cn=>{"use strict";Object.defineProperty(cn,"__esModule",{value:!0});cn.fs=void 0;var Q0=Ef();cn.fs=Q0});var ss=g(hn=>{"use strict";Object.defineProperty(hn,"__esModule",{value:!0});hn.joinPathSegments=void 0;function X0(e,t,r){return e.endsWith(r)?e+t:e+r+t}hn.joinPathSegments=X0});var Tf=g(Ye=>{"use strict";Object.defineProperty(Ye,"__esModule",{value:!0});Ye.readdir=Ye.readdirWithFileTypes=Ye.read=void 0;var J0=lt(),xf=mf(),Z0=ns(),Sf=is(),Rf=ss();function z0(e,t,r){if(!t.stats&&Z0.IS_SUPPORT_READDIR_WITH_FILE_TYPES){wf(e,t,r);return}Af(e,t,r)}Ye.read=z0;function wf(e,t,r){t.fs.readdir(e,{withFileTypes:!0},(n,i)=>{if(n!==null){dn(r,n);return}let s=i.map(a=>({dirent:a,name:a.name,path:Rf.joinPathSegments(e,a.name,t.pathSegmentSeparator)}));if(!t.followSymbolicLinks){os(r,s);return}let o=s.map(a=>em(a,t));xf(o,(a,u)=>{if(a!==null){dn(r,a);return}os(r,u)})})}Ye.readdirWithFileTypes=wf;function em(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=Sf.fs.createDirentFromStats(e.name,i),r(null,e)})}}function Af(e,t,r){t.fs.readdir(e,(n,i)=>{if(n!==null){dn(r,n);return}let s=i.map(o=>{let a=Rf.joinPathSegments(e,o,t.pathSegmentSeparator);return u=>{J0.stat(a,t.fsStatSettings,(f,l)=>{if(f!==null){u(f);return}let h={name:o,path:a,dirent:Sf.fs.createDirentFromStats(o,l)};t.stats&&(h.stats=l),u(null,h)})}});xf(s,(o,a)=>{if(o!==null){dn(r,o);return}os(r,a)})})}Ye.readdir=Af;function dn(e,t){e(t)}function os(e,t){e(null,t)}});var Mf=g(Ke=>{"use strict";Object.defineProperty(Ke,"__esModule",{value:!0});Ke.readdir=Ke.readdirWithFileTypes=Ke.read=void 0;var tm=lt(),rm=ns(),Cf=is(),Of=ss();function nm(e,t){return!t.stats&&rm.IS_SUPPORT_READDIR_WITH_FILE_TYPES?Pf(e,t):Lf(e,t)}Ke.read=nm;function Pf(e,t){return t.fs.readdirSync(e,{withFileTypes:!0}).map(n=>{let i={dirent:n,name:n.name,path:Of.joinPathSegments(e,n.name,t.pathSegmentSeparator)};if(i.dirent.isSymbolicLink()&&t.followSymbolicLinks)try{let s=t.fs.statSync(i.path);i.dirent=Cf.fs.createDirentFromStats(i.name,s)}catch(s){if(t.throwErrorOnBrokenSymbolicLink)throw s}return i})}Ke.readdirWithFileTypes=Pf;function Lf(e,t){return t.fs.readdirSync(e).map(n=>{let i=Of.joinPathSegments(e,n,t.pathSegmentSeparator),s=tm.statSync(i,t.fsStatSettings),o={name:n,path:i,dirent:Cf.fs.createDirentFromStats(n,s)};return t.stats&&(o.stats=s),o})}Ke.readdir=Lf});var Df=g(Qe=>{"use strict";Object.defineProperty(Qe,"__esModule",{value:!0});Qe.createFileSystemAdapter=Qe.FILE_SYSTEM_ADAPTER=void 0;var Lt=w("fs");Qe.FILE_SYSTEM_ADAPTER={lstat:Lt.lstat,stat:Lt.stat,lstatSync:Lt.lstatSync,statSync:Lt.statSync,readdir:Lt.readdir,readdirSync:Lt.readdirSync};function im(e){return e===void 0?Qe.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},Qe.FILE_SYSTEM_ADAPTER),e)}Qe.createFileSystemAdapter=im});var Nf=g(as=>{"use strict";Object.defineProperty(as,"__esModule",{value:!0});var sm=w("path"),om=lt(),am=Df(),Bf=class{constructor(t={}){this._options=t,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=am.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,sm.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new om.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(t,r){return t??r}};as.default=Bf});var pn=g(Xe=>{"use strict";Object.defineProperty(Xe,"__esModule",{value:!0});Xe.Settings=Xe.scandirSync=Xe.scandir=void 0;var If=Tf(),um=Mf(),us=Nf();Xe.Settings=us.default;function lm(e,t,r){if(typeof t=="function"){If.read(e,ls(),t);return}If.read(e,ls(t),r)}Xe.scandir=lm;function fm(e,t){let r=ls(t);return um.read(e,r)}Xe.scandirSync=fm;function ls(e={}){return e instanceof us.default?e:new us.default(e)}});var Ff=g((yE,kf)=>{"use strict";function cm(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}}kf.exports=cm});var jf=g((bE,fs)=>{"use strict";var hm=Ff();function qf(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=hm(dm),i=null,s=null,o=0,a=null,u={push:m,drain:_e,saturated:_e,pause:l,paused:!1,concurrency:r,running:f,resume:x,idle:y,length:h,getQueue:c,unshift:S,empty:_e,kill:M,killAndDrain:B,error:Z};return u;function f(){return o}function l(){u.paused=!0}function h(){for(var C=i,$=0;C;)C=C.next,$++;return $}function c(){for(var C=i,$=[];C;)$.push(C.value),C=C.next;return $}function x(){if(!!u.paused){u.paused=!1;for(var C=0;C<u.concurrency;C++)o++,E()}}function y(){return o===0&&u.length()===0}function m(C,$){var O=n.get();O.context=e,O.release=E,O.value=C,O.callback=$||_e,O.errorHandler=a,o===u.concurrency||u.paused?s?(s.next=O,s=O):(i=O,s=O,u.saturated()):(o++,t.call(e,O.value,O.worked))}function S(C,$){var O=n.get();O.context=e,O.release=E,O.value=C,O.callback=$||_e,o===u.concurrency||u.paused?i?(O.next=i,i=O):(i=O,s=O,u.saturated()):(o++,t.call(e,O.value,O.worked))}function E(C){C&&n.release(C);var $=i;$?u.paused?o--:(s===i&&(s=null),i=$.next,$.next=null,t.call(e,$.value,$.worked),s===null&&u.empty()):--o===0&&u.drain()}function M(){i=null,s=null,u.drain=_e}function B(){i=null,s=null,u.drain(),u.drain=_e}function Z(C){a=C}}function _e(){}function dm(){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 pm(e,t,r){typeof e=="function"&&(r=t,t=e,e=null);function n(l,h){t.call(this,l).then(function(c){h(null,c)},h)}var i=qf(e,n,r),s=i.push,o=i.unshift;return i.push=a,i.unshift=u,i.drained=f,i;function a(l){var h=new Promise(function(c,x){s(l,function(y,m){if(y){x(y);return}c(m)})});return h.catch(_e),h}function u(l){var h=new Promise(function(c,x){o(l,function(y,m){if(y){x(y);return}c(m)})});return h.catch(_e),h}function f(){var l=i.drain,h=new Promise(function(c){i.drain=function(){l(),c()}});return h}}fs.exports=qf;fs.exports.promise=pm});var _n=g(Le=>{"use strict";Object.defineProperty(Le,"__esModule",{value:!0});Le.joinPathSegments=Le.replacePathSegmentSeparator=Le.isAppliedFilter=Le.isFatalError=void 0;function _m(e,t){return e.errorFilter===null?!0:!e.errorFilter(t)}Le.isFatalError=_m;function gm(e,t){return e===null||e(t)}Le.isAppliedFilter=gm;function mm(e,t){return e.split(/[/\\]/).join(t)}Le.replacePathSegmentSeparator=mm;function ym(e,t,r){return e===""?t:e.endsWith(r)?e+t:e+r+t}Le.joinPathSegments=ym});var hs=g(cs=>{"use strict";Object.defineProperty(cs,"__esModule",{value:!0});var bm=_n(),$f=class{constructor(t,r){this._root=t,this._settings=r,this._root=bm.replacePathSegmentSeparator(t,r.pathSegmentSeparator)}};cs.default=$f});var ps=g(ds=>{"use strict";Object.defineProperty(ds,"__esModule",{value:!0});var vm=w("events"),Em=pn(),xm=jf(),gn=_n(),Sm=hs(),Hf=class extends Sm.default{constructor(t,r){super(t,r);this._settings=r,this._scandir=Em.scandir,this._emitter=new vm.EventEmitter,this._queue=xm(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||!gn.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=gn.joinPathSegments(r,t.name,this._settings.pathSegmentSeparator)),gn.isAppliedFilter(this._settings.entryFilter,t)&&this._emitEntry(t),t.dirent.isDirectory()&&gn.isAppliedFilter(this._settings.deepFilter,t)&&this._pushToQueue(n,r===void 0?void 0:t.path)}_emitEntry(t){this._emitter.emit("entry",t)}};ds.default=Hf});var Gf=g(_s=>{"use strict";Object.defineProperty(_s,"__esModule",{value:!0});var Rm=ps(),Uf=class{constructor(t,r){this._root=t,this._settings=r,this._reader=new Rm.default(this._root,this._settings),this._storage=[]}read(t){this._reader.onError(r=>{wm(t,r)}),this._reader.onEntry(r=>{this._storage.push(r)}),this._reader.onEnd(()=>{Am(t,this._storage)}),this._reader.read()}};_s.default=Uf;function wm(e,t){e(t)}function Am(e,t){e(null,t)}});var Vf=g(gs=>{"use strict";Object.defineProperty(gs,"__esModule",{value:!0});var Tm=w("stream"),Cm=ps(),Wf=class{constructor(t,r){this._root=t,this._settings=r,this._reader=new Cm.default(this._root,this._settings),this._stream=new Tm.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}};gs.default=Wf});var Kf=g(ms=>{"use strict";Object.defineProperty(ms,"__esModule",{value:!0});var Om=pn(),mn=_n(),Pm=hs(),Yf=class extends Pm.default{constructor(){super(...arguments);this._scandir=Om.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(!!mn.isFatalError(this._settings,t))throw t}_handleEntry(t,r){let n=t.path;r!==void 0&&(t.path=mn.joinPathSegments(r,t.name,this._settings.pathSegmentSeparator)),mn.isAppliedFilter(this._settings.entryFilter,t)&&this._pushToStorage(t),t.dirent.isDirectory()&&mn.isAppliedFilter(this._settings.deepFilter,t)&&this._pushToQueue(n,r===void 0?void 0:t.path)}_pushToStorage(t){this._storage.push(t)}};ms.default=Yf});var Xf=g(ys=>{"use strict";Object.defineProperty(ys,"__esModule",{value:!0});var Lm=Kf(),Qf=class{constructor(t,r){this._root=t,this._settings=r,this._reader=new Lm.default(this._root,this._settings)}read(){return this._reader.read()}};ys.default=Qf});var Zf=g(bs=>{"use strict";Object.defineProperty(bs,"__esModule",{value:!0});var Mm=w("path"),Dm=pn(),Jf=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,Mm.sep),this.fsScandirSettings=new Dm.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}};bs.default=Jf});var Es=g(Me=>{"use strict";Object.defineProperty(Me,"__esModule",{value:!0});Me.Settings=Me.walkStream=Me.walkSync=Me.walk=void 0;var zf=Gf(),Bm=Vf(),Nm=Xf(),vs=Zf();Me.Settings=vs.default;function Im(e,t,r){if(typeof t=="function"){new zf.default(e,yn()).read(t);return}new zf.default(e,yn(t)).read(r)}Me.walk=Im;function km(e,t){let r=yn(t);return new Nm.default(e,r).read()}Me.walkSync=km;function Fm(e,t){let r=yn(t);return new Bm.default(e,r).read()}Me.walkStream=Fm;function yn(e={}){return e instanceof vs.default?e:new vs.default(e)}});var Ss=g(xs=>{"use strict";Object.defineProperty(xs,"__esModule",{value:!0});var qm=w("path"),jm=lt(),ec=Ie(),tc=class{constructor(t){this._settings=t,this._fsStatSettings=new jm.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(t){return qm.resolve(this._settings.cwd,t)}_makeEntry(t,r){let n={name:r,path:r,dirent:ec.fs.createDirentFromStats(r,t)};return this._settings.stats&&(n.stats=t),n}_isFatalError(t){return!ec.errno.isEnoentCodeError(t)&&!this._settings.suppressErrors}};xs.default=tc});var ws=g(Rs=>{"use strict";Object.defineProperty(Rs,"__esModule",{value:!0});var $m=w("stream"),Hm=lt(),Um=Es(),Gm=Ss(),rc=class extends Gm.default{constructor(){super(...arguments);this._walkStream=Um.walkStream,this._stat=Hm.stat}dynamic(t,r){return this._walkStream(t,r)}static(t,r){let n=t.map(this._getFullEntryPath,this),i=new $m.PassThrough({objectMode:!0});i._write=(s,o,a)=>this._getEntry(n[s],t[s],r).then(u=>{u!==null&&r.entryFilter(u)&&i.push(u),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))})}};Rs.default=rc});var ic=g(As=>{"use strict";Object.defineProperty(As,"__esModule",{value:!0});var Mt=Ie(),nc=class{constructor(t,r,n){this._patterns=t,this._settings=r,this._micromatchOptions=n,this._storage=[],this._fillStorage()}_fillStorage(){let t=Mt.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 Mt.pattern.getPatternParts(t,this._micromatchOptions).map(n=>Mt.pattern.isDynamicPattern(n,this._settings)?{dynamic:!0,pattern:n,patternRe:Mt.pattern.makeRe(n,this._micromatchOptions)}:{dynamic:!1,pattern:n})}_splitSegmentsIntoSections(t){return Mt.array.splitWhen(t,r=>r.dynamic&&Mt.pattern.hasGlobStar(r.pattern))}};As.default=nc});var oc=g(Ts=>{"use strict";Object.defineProperty(Ts,"__esModule",{value:!0});var Wm=ic(),sc=class extends Wm.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((u,f)=>{let l=s.segments[f];return!!(l.dynamic&&l.patternRe.test(u)||!l.dynamic&&l.pattern===u)}))return!0}return!1}};Ts.default=sc});var uc=g(Cs=>{"use strict";Object.defineProperty(Cs,"__esModule",{value:!0});var bn=Ie(),Vm=oc(),ac=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 Vm.default(t,this._settings,this._micromatchOptions)}_getNegativePatternsRe(t){let r=t.filter(bn.pattern.isAffectDepthOfReadingPattern);return bn.pattern.convertPatternsToRe(r,this._micromatchOptions)}_filter(t,r,n,i){if(this._isSkippedByDeep(t,r.path)||this._isSkippedSymbolicLink(r))return!1;let s=bn.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!bn.pattern.matchAny(t,r)}};Cs.default=ac});var fc=g(Os=>{"use strict";Object.defineProperty(Os,"__esModule",{value:!0});var ft=Ie(),lc=class{constructor(t,r){this._settings=t,this._micromatchOptions=r,this.index=new Map}getFilter(t,r){let n=ft.pattern.convertPatternsToRe(t,this._micromatchOptions),i=ft.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=this._isMatchToPatterns(i,r)&&!this._isMatchToPatterns(t.path,n);return this._settings.unique&&s&&this._createIndexRecord(t),s}_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=ft.path.makeAbsolute(this._settings.cwd,t);return ft.pattern.matchAny(n,r)}_isMatchToPatterns(t,r){let n=ft.path.removeLeadingDotSegment(t);return ft.pattern.matchAny(n,r)||ft.pattern.matchAny(n+"/",r)}};Os.default=lc});var hc=g(Ps=>{"use strict";Object.defineProperty(Ps,"__esModule",{value:!0});var Ym=Ie(),cc=class{constructor(t){this._settings=t}getFilter(){return t=>this._isNonFatalError(t)}_isNonFatalError(t){return Ym.errno.isEnoentCodeError(t)||this._settings.suppressErrors}};Ps.default=cc});var _c=g(Ls=>{"use strict";Object.defineProperty(Ls,"__esModule",{value:!0});var dc=Ie(),pc=class{constructor(t){this._settings=t}getTransformer(){return t=>this._transform(t)}_transform(t){let r=t.path;return this._settings.absolute&&(r=dc.path.makeAbsolute(this._settings.cwd,r),r=dc.path.unixify(r)),this._settings.markDirectories&&t.dirent.isDirectory()&&(r+="/"),this._settings.objectMode?Object.assign(Object.assign({},t),{path:r}):r}};Ls.default=pc});var vn=g(Ms=>{"use strict";Object.defineProperty(Ms,"__esModule",{value:!0});var Km=w("path"),Qm=uc(),Xm=fc(),Jm=hc(),Zm=_c(),gc=class{constructor(t){this._settings=t,this.errorFilter=new Jm.default(this._settings),this.entryFilter=new Xm.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new Qm.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new Zm.default(this._settings)}_getRootDirectory(t){return Km.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}}};Ms.default=gc});var yc=g(Ds=>{"use strict";Object.defineProperty(Ds,"__esModule",{value:!0});var zm=ws(),ey=vn(),mc=class extends ey.default{constructor(){super(...arguments);this._reader=new zm.default(this._settings)}read(t){let r=this._getRootDirectory(t),n=this._getReaderOptions(t),i=[];return new Promise((s,o)=>{let a=this.api(r,t,n);a.once("error",o),a.on("data",u=>i.push(n.transform(u))),a.once("end",()=>s(i))})}api(t,r,n){return r.dynamic?this._reader.dynamic(t,n):this._reader.static(r.patterns,n)}};Ds.default=mc});var vc=g(Bs=>{"use strict";Object.defineProperty(Bs,"__esModule",{value:!0});var ty=w("stream"),ry=ws(),ny=vn(),bc=class extends ny.default{constructor(){super(...arguments);this._reader=new ry.default(this._settings)}read(t){let r=this._getRootDirectory(t),n=this._getReaderOptions(t),i=this.api(r,t,n),s=new ty.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)}};Bs.default=bc});var xc=g(Ns=>{"use strict";Object.defineProperty(Ns,"__esModule",{value:!0});var iy=lt(),sy=Es(),oy=Ss(),Ec=class extends oy.default{constructor(){super(...arguments);this._walkSync=sy.walkSync,this._statSync=iy.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)}};Ns.default=Ec});var Rc=g(Is=>{"use strict";Object.defineProperty(Is,"__esModule",{value:!0});var ay=xc(),uy=vn(),Sc=class extends uy.default{constructor(){super(...arguments);this._reader=new ay.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)}};Is.default=Sc});var Ac=g(Bt=>{"use strict";Object.defineProperty(Bt,"__esModule",{value:!0});Bt.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;var Dt=w("fs"),ly=w("os"),fy=Math.max(ly.cpus().length,1);Bt.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:Dt.lstat,lstatSync:Dt.lstatSync,stat:Dt.stat,statSync:Dt.statSync,readdir:Dt.readdir,readdirSync:Dt.readdirSync};var wc=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,fy),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({},Bt.DEFAULT_FILE_SYSTEM_ADAPTER),t)}};Bt.default=wc});var js=g((UE,Oc)=>{"use strict";var Tc=rf(),Cc=sf(),cy=yc(),hy=vc(),dy=Rc(),ks=Ac(),ct=Ie();async function Fs(e,t){Nt(e);let r=qs(e,cy.default,t),n=await Promise.all(r);return ct.array.flatten(n)}(function(e){function t(o,a){Nt(o);let u=qs(o,dy.default,a);return ct.array.flatten(u)}e.sync=t;function r(o,a){Nt(o);let u=qs(o,hy.default,a);return ct.stream.merge(u)}e.stream=r;function n(o,a){Nt(o);let u=Cc.transform([].concat(o)),f=new ks.default(a);return Tc.generate(u,f)}e.generateTasks=n;function i(o,a){Nt(o);let u=new ks.default(a);return ct.pattern.isDynamicPattern(o,u)}e.isDynamicPattern=i;function s(o){return Nt(o),ct.path.escape(o)}e.escapePath=s})(Fs||(Fs={}));function qs(e,t,r){let n=Cc.transform([].concat(e)),i=new ks.default(r),s=Tc.generate(n,i),o=new t(i);return s.map(o.read,o)}function Nt(e){if(![].concat(e).every(n=>ct.string.isString(n)&&!ct.string.isEmpty(n)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}Oc.exports=Fs});import{relative as Hy,resolve as Uy}from"path";import{existsSync as Gy}from"fs";import{lstat as Wy}from"fs/promises";var Js=(e=0)=>t=>`\x1B[${t+e}m`,Zs=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,zs=(e=0)=>(t,r,n)=>`\x1B[${38+e};2;${t};${r};${n}m`;function th(){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=Js(),t.color.ansi256=Zs(),t.color.ansi16m=zs(),t.bgColor.ansi=Js(10),t.bgColor.ansi256=Zs(10),t.bgColor.ansi16m=zs(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 u=r%36;n=Math.floor(r/36)/5,i=Math.floor(u/6)/5,s=u%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 rh=th(),ge=rh;import An from"node:process";import nh from"node:os";import eo from"node:tty";function fe(e,t=An.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:X}=An,pr;fe("no-color")||fe("no-colors")||fe("color=false")||fe("color=never")?pr=0:(fe("color")||fe("colors")||fe("color=true")||fe("color=always"))&&(pr=1);function ih(){if("FORCE_COLOR"in X)return X.FORCE_COLOR==="true"?1:X.FORCE_COLOR==="false"?0:X.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(X.FORCE_COLOR,10),3)}function sh(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function oh(e,{streamIsTTY:t,sniffFlags:r=!0}={}){let n=ih();n!==void 0&&(pr=n);let i=r?pr: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(X.TERM==="dumb")return s;if(An.platform==="win32"){let o=nh.release().split(".");return Number(o[0])>=10&&Number(o[2])>=10586?Number(o[2])>=14931?3:2:1}if("CI"in X)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(o=>o in X)||X.CI_NAME==="codeship"?1:s;if("TEAMCITY_VERSION"in X)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(X.TEAMCITY_VERSION)?1:0;if("TF_BUILD"in X&&"AGENT_NAME"in X)return 1;if(X.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in X){let o=Number.parseInt((X.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(X.TERM_PROGRAM){case"iTerm.app":return o>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(X.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(X.TERM)||"COLORTERM"in X?1:s}function to(e,t={}){let r=oh(e,{streamIsTTY:e&&e.isTTY,...t});return sh(r)}var ah={stdout:to({isTTY:eo.isatty(1)}),stderr:to({isTTY:eo.isatty(2)})},ro=ah;function no(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 io(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
6
  `:`
7
7
  `)+r,i=n+1,n=e.indexOf(`
8
- `,i)}while(n!==-1);return s+=e.slice(i),s}var{stdout:oo,stderr:ao}=no,Cn=Symbol("GENERATOR"),dt=Symbol("STYLER"),Ft=Symbol("IS_EMPTY"),uo=["ansi","ansi","ansi256","ansi16m"],pt=Object.create(null),lh=(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=oo?oo.level:0;e.level=t.level===void 0?r:t.level};var fh=e=>{let t=(...r)=>r.join(" ");return lh(t,e),Object.setPrototypeOf(t,qt.prototype),t};function qt(e){return fh(e)}Object.setPrototypeOf(qt.prototype,Function.prototype);for(let[e,t]of Object.entries(ge))pt[e]={get(){let r=_r(this,Pn(t.open,t.close,this[dt]),this[Ft]);return Object.defineProperty(this,e,{value:r}),r}};pt.visible={get(){let e=_r(this,this[dt],!0);return Object.defineProperty(this,"visible",{value:e}),e}};var On=(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"?On("rgb",t,r,...ge.hexToRgb(...n)):ge[r][e](...n),ch=["rgb","hex","ansi256"];for(let e of ch){pt[e]={get(){let{level:r}=this;return function(...n){let i=Pn(On(e,uo[r],"color",...n),ge.color.close,this[dt]);return _r(this,i,this[Ft])}}};let t="bg"+e[0].toUpperCase()+e.slice(1);pt[t]={get(){let{level:r}=this;return function(...n){let i=Pn(On(e,uo[r],"bgColor",...n),ge.bgColor.close,this[dt]);return _r(this,i,this[Ft])}}}}var hh=Object.defineProperties(()=>{},{...pt,level:{enumerable:!0,get(){return this[Cn].level},set(e){this[Cn].level=e}}}),Pn=(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}},_r=(e,t,r)=>{let n=(...i)=>dh(n,i.length===1?""+i[0]:i.join(" "));return Object.setPrototypeOf(n,hh),n[Cn]=e,n[dt]=t,n[Ft]=r,n},dh=(e,t)=>{if(e.level<=0||!t)return e[Ft]?"":t;let r=e[dt];if(r===void 0)return t;let{openAll:n,closeAll:i}=r;if(t.includes("\x1B"))for(;r!==void 0;)t=io(t,r.close,r.open),r=r.parent;let s=t.indexOf(`
9
- `);return s!==-1&&(t=so(t,i,n,s)),n+t+i};Object.defineProperties(qt.prototype,pt);var ph=qt(),rb=qt({level:ao?ao.level:0});var N=ph;import{spawn as _h,execSync as gh}from"child_process";import Nn from"node:process";import bh from"node:os";import ho from"node:tty";await(async()=>{let{dirname:e}=await import("path"),{fileURLToPath:t}=await import("url");if(typeof globalThis.__filename>"u"&&(globalThis.__filename=t(import.meta.url)),typeof globalThis.__dirname>"u"&&(globalThis.__dirname=e(globalThis.__filename)),typeof globalThis.require>"u"){let{default:r}=await import("module");globalThis.require=r.createRequire(import.meta.url)}})();var lo=(e=0)=>t=>`\x1B[${t+e}m`,fo=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,co=(e=0)=>(t,r,n)=>`\x1B[${38+e};2;${t};${r};${n}m`;function mh(){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=lo(),t.color.ansi256=fo(),t.color.ansi16m=co(),t.bgColor.ansi=lo(10),t.bgColor.ansi256=fo(10),t.bgColor.ansi16m=co(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 u=r%36;n=Math.floor(r/36)/5,i=Math.floor(u/6)/5,s=u%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 yh=mh(),Re=yh;function ce(e,t=Nn.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:J}=Nn,gr;ce("no-color")||ce("no-colors")||ce("color=false")||ce("color=never")?gr=0:(ce("color")||ce("colors")||ce("color=true")||ce("color=always"))&&(gr=1);function vh(){if("FORCE_COLOR"in J)return J.FORCE_COLOR==="true"?1:J.FORCE_COLOR==="false"?0:J.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(J.FORCE_COLOR,10),3)}function Eh(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function xh(e,{streamIsTTY:t,sniffFlags:r=!0}={}){let n=vh();n!==void 0&&(gr=n);let i=r?gr:n;if(i===0)return 0;if(r){if(ce("color=16m")||ce("color=full")||ce("color=truecolor"))return 3;if(ce("color=256"))return 2}if(e&&!t&&i===void 0)return 0;let s=i||0;if(J.TERM==="dumb")return s;if(Nn.platform==="win32"){let o=bh.release().split(".");return Number(o[0])>=10&&Number(o[2])>=10586?Number(o[2])>=14931?3:2:1}if("CI"in J)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(o=>o in J)||J.CI_NAME==="codeship"?1:s;if("TEAMCITY_VERSION"in J)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(J.TEAMCITY_VERSION)?1:0;if("TF_BUILD"in J&&"AGENT_NAME"in J)return 1;if(J.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in J){let o=Number.parseInt((J.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(J.TERM_PROGRAM){case"iTerm.app":return o>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(J.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(J.TERM)||"COLORTERM"in J?1:s}function po(e,t={}){let r=xh(e,{streamIsTTY:e&&e.isTTY,...t});return Eh(r)}var Sh={stdout:po({isTTY:ho.isatty(1)}),stderr:po({isTTY:ho.isatty(2)})},Rh=Sh;function wh(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 Ah(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
8
+ `,i)}while(n!==-1);return s+=e.slice(i),s}var{stdout:so,stderr:oo}=ro,Tn=Symbol("GENERATOR"),dt=Symbol("STYLER"),Ft=Symbol("IS_EMPTY"),ao=["ansi","ansi","ansi256","ansi16m"],pt=Object.create(null),uh=(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=so?so.level:0;e.level=t.level===void 0?r:t.level};var lh=e=>{let t=(...r)=>r.join(" ");return uh(t,e),Object.setPrototypeOf(t,qt.prototype),t};function qt(e){return lh(e)}Object.setPrototypeOf(qt.prototype,Function.prototype);for(let[e,t]of Object.entries(ge))pt[e]={get(){let r=_r(this,On(t.open,t.close,this[dt]),this[Ft]);return Object.defineProperty(this,e,{value:r}),r}};pt.visible={get(){let e=_r(this,this[dt],!0);return Object.defineProperty(this,"visible",{value:e}),e}};var Cn=(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"?Cn("rgb",t,r,...ge.hexToRgb(...n)):ge[r][e](...n),fh=["rgb","hex","ansi256"];for(let e of fh){pt[e]={get(){let{level:r}=this;return function(...n){let i=On(Cn(e,ao[r],"color",...n),ge.color.close,this[dt]);return _r(this,i,this[Ft])}}};let t="bg"+e[0].toUpperCase()+e.slice(1);pt[t]={get(){let{level:r}=this;return function(...n){let i=On(Cn(e,ao[r],"bgColor",...n),ge.bgColor.close,this[dt]);return _r(this,i,this[Ft])}}}}var ch=Object.defineProperties(()=>{},{...pt,level:{enumerable:!0,get(){return this[Tn].level},set(e){this[Tn].level=e}}}),On=(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}},_r=(e,t,r)=>{let n=(...i)=>hh(n,i.length===1?""+i[0]:i.join(" "));return Object.setPrototypeOf(n,ch),n[Tn]=e,n[dt]=t,n[Ft]=r,n},hh=(e,t)=>{if(e.level<=0||!t)return e[Ft]?"":t;let r=e[dt];if(r===void 0)return t;let{openAll:n,closeAll:i}=r;if(t.includes("\x1B"))for(;r!==void 0;)t=no(t,r.close,r.open),r=r.parent;let s=t.indexOf(`
9
+ `);return s!==-1&&(t=io(t,i,n,s)),n+t+i};Object.defineProperties(qt.prototype,pt);var dh=qt(),rb=qt({level:oo?oo.level:0});var N=dh;import{spawn as ph,execSync as _h}from"child_process";import Bn from"node:process";import yh from"node:os";import co from"node:tty";await(async()=>{let{dirname:e}=await import("path"),{fileURLToPath:t}=await import("url");if(typeof globalThis.__filename>"u"&&(globalThis.__filename=t(import.meta.url)),typeof globalThis.__dirname>"u"&&(globalThis.__dirname=e(globalThis.__filename)),typeof globalThis.require>"u"){let{default:r}=await import("module");globalThis.require=r.createRequire(import.meta.url)}})();var uo=(e=0)=>t=>`\x1B[${t+e}m`,lo=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,fo=(e=0)=>(t,r,n)=>`\x1B[${38+e};2;${t};${r};${n}m`;function gh(){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=uo(),t.color.ansi256=lo(),t.color.ansi16m=fo(),t.bgColor.ansi=uo(10),t.bgColor.ansi256=lo(10),t.bgColor.ansi16m=fo(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 u=r%36;n=Math.floor(r/36)/5,i=Math.floor(u/6)/5,s=u%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 mh=gh(),Se=mh;function ce(e,t=Bn.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:J}=Bn,gr;ce("no-color")||ce("no-colors")||ce("color=false")||ce("color=never")?gr=0:(ce("color")||ce("colors")||ce("color=true")||ce("color=always"))&&(gr=1);function bh(){if("FORCE_COLOR"in J)return J.FORCE_COLOR==="true"?1:J.FORCE_COLOR==="false"?0:J.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(J.FORCE_COLOR,10),3)}function vh(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function Eh(e,{streamIsTTY:t,sniffFlags:r=!0}={}){let n=bh();n!==void 0&&(gr=n);let i=r?gr:n;if(i===0)return 0;if(r){if(ce("color=16m")||ce("color=full")||ce("color=truecolor"))return 3;if(ce("color=256"))return 2}if(e&&!t&&i===void 0)return 0;let s=i||0;if(J.TERM==="dumb")return s;if(Bn.platform==="win32"){let o=yh.release().split(".");return Number(o[0])>=10&&Number(o[2])>=10586?Number(o[2])>=14931?3:2:1}if("CI"in J)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(o=>o in J)||J.CI_NAME==="codeship"?1:s;if("TEAMCITY_VERSION"in J)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(J.TEAMCITY_VERSION)?1:0;if("TF_BUILD"in J&&"AGENT_NAME"in J)return 1;if(J.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in J){let o=Number.parseInt((J.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(J.TERM_PROGRAM){case"iTerm.app":return o>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(J.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(J.TERM)||"COLORTERM"in J?1:s}function ho(e,t={}){let r=Eh(e,{streamIsTTY:e&&e.isTTY,...t});return vh(r)}var xh={stdout:ho({isTTY:co.isatty(1)}),stderr:ho({isTTY:co.isatty(2)})},Sh=xh;function Rh(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 wh(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
10
10
  `:`
11
11
  `)+r,i=n+1,n=e.indexOf(`
12
- `,i)}while(n!==-1);return s+=e.slice(i),s}var{stdout:_o,stderr:go}=Rh,Ln=Symbol("GENERATOR"),_t=Symbol("STYLER"),jt=Symbol("IS_EMPTY"),mo=["ansi","ansi","ansi256","ansi16m"],gt=Object.create(null),Th=(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=_o?_o.level:0;e.level=t.level===void 0?r:t.level},Ch=e=>{let t=(...r)=>r.join(" ");return Th(t,e),Object.setPrototypeOf(t,$t.prototype),t};function $t(e){return Ch(e)}Object.setPrototypeOf($t.prototype,Function.prototype);for(let[e,t]of Object.entries(Re))gt[e]={get(){let r=mr(this,Dn(t.open,t.close,this[_t]),this[jt]);return Object.defineProperty(this,e,{value:r}),r}};gt.visible={get(){let e=mr(this,this[_t],!0);return Object.defineProperty(this,"visible",{value:e}),e}};var Mn=(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"?Mn("rgb",t,r,...Re.hexToRgb(...n)):Re[r][e](...n),Oh=["rgb","hex","ansi256"];for(let e of Oh){gt[e]={get(){let{level:r}=this;return function(...n){let i=Dn(Mn(e,mo[r],"color",...n),Re.color.close,this[_t]);return mr(this,i,this[jt])}}};let t="bg"+e[0].toUpperCase()+e.slice(1);gt[t]={get(){let{level:r}=this;return function(...n){let i=Dn(Mn(e,mo[r],"bgColor",...n),Re.bgColor.close,this[_t]);return mr(this,i,this[jt])}}}}var Ph=Object.defineProperties(()=>{},{...gt,level:{enumerable:!0,get(){return this[Ln].level},set(e){this[Ln].level=e}}}),Dn=(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}},mr=(e,t,r)=>{let n=(...i)=>Lh(n,i.length===1?""+i[0]:i.join(" "));return Object.setPrototypeOf(n,Ph),n[Ln]=e,n[_t]=t,n[jt]=r,n},Lh=(e,t)=>{if(e.level<=0||!t)return e[jt]?"":t;let r=e[_t];if(r===void 0)return t;let{openAll:n,closeAll:i}=r;if(t.includes("\x1B"))for(;r!==void 0;)t=wh(t,r.close,r.open),r=r.parent;let s=t.indexOf(`
13
- `);return s!==-1&&(t=Ah(t,i,n,s)),n+t+i};Object.defineProperties($t.prototype,gt);var Mh=$t(),ub=$t({level:go?go.level:0}),Dh=Mh,Bh={win32:e=>({cmd:"cmd.exe",args:["/d","/s","/c",e]})},Nh={"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(" ")}`}},Ih=(e,t,r)=>{let n={...Bh,...t},i={...Nh,...r},s=a=>{let u=process.platform,f=n[u];if(f)return f(a);let[l,...h]=a.split(" ");return{cmd:l,args:h}},o=(a=>{let u=Object.entries(i);for(let[f,l]of u)if(a.startsWith(f)){let h=process.platform,c=l[h];if(!c)break;let x=a.slice(f.length).trim().split(" ");return c(x)}return a})(e);return s(o)},kh=process.platform==="linux"||process.platform==="darwin",Bn=process.platform==="win32",Fh={stdio:"pipe",shell:!0,detached:!Bn,env:process.env},qh={log:!0,commandTranslations:{},shellTranslations:{},...Fh},mt=({log:e=!0,commandTranslations:t={},shellTranslations:r={},...n}=qh)=>{let i=null;return{childProcess:i,async run(s){if(i)throw new Error("Only one command per shell.");if(typeof s=="object"){let u=process.platform;s.posix&&kh&&(u="posix");let f=s[u];if(!f)throw new Error("No command found for platform: "+JSON.stringify({platform:process.platform,command:s}));s=f}let{cmd:o,args:a}=Ih(s,r,t);return e&&console.log(Dh.dim(`
12
+ `,i)}while(n!==-1);return s+=e.slice(i),s}var{stdout:po,stderr:_o}=Sh,Pn=Symbol("GENERATOR"),_t=Symbol("STYLER"),jt=Symbol("IS_EMPTY"),go=["ansi","ansi","ansi256","ansi16m"],gt=Object.create(null),Ah=(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=po?po.level:0;e.level=t.level===void 0?r:t.level},Th=e=>{let t=(...r)=>r.join(" ");return Ah(t,e),Object.setPrototypeOf(t,$t.prototype),t};function $t(e){return Th(e)}Object.setPrototypeOf($t.prototype,Function.prototype);for(let[e,t]of Object.entries(Se))gt[e]={get(){let r=mr(this,Mn(t.open,t.close,this[_t]),this[jt]);return Object.defineProperty(this,e,{value:r}),r}};gt.visible={get(){let e=mr(this,this[_t],!0);return Object.defineProperty(this,"visible",{value:e}),e}};var Ln=(e,t,r,...n)=>e==="rgb"?t==="ansi16m"?Se[r].ansi16m(...n):t==="ansi256"?Se[r].ansi256(Se.rgbToAnsi256(...n)):Se[r].ansi(Se.rgbToAnsi(...n)):e==="hex"?Ln("rgb",t,r,...Se.hexToRgb(...n)):Se[r][e](...n),Ch=["rgb","hex","ansi256"];for(let e of Ch){gt[e]={get(){let{level:r}=this;return function(...n){let i=Mn(Ln(e,go[r],"color",...n),Se.color.close,this[_t]);return mr(this,i,this[jt])}}};let t="bg"+e[0].toUpperCase()+e.slice(1);gt[t]={get(){let{level:r}=this;return function(...n){let i=Mn(Ln(e,go[r],"bgColor",...n),Se.bgColor.close,this[_t]);return mr(this,i,this[jt])}}}}var Oh=Object.defineProperties(()=>{},{...gt,level:{enumerable:!0,get(){return this[Pn].level},set(e){this[Pn].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}},mr=(e,t,r)=>{let n=(...i)=>Ph(n,i.length===1?""+i[0]:i.join(" "));return Object.setPrototypeOf(n,Oh),n[Pn]=e,n[_t]=t,n[jt]=r,n},Ph=(e,t)=>{if(e.level<=0||!t)return e[jt]?"":t;let r=e[_t];if(r===void 0)return t;let{openAll:n,closeAll:i}=r;if(t.includes("\x1B"))for(;r!==void 0;)t=Rh(t,r.close,r.open),r=r.parent;let s=t.indexOf(`
13
+ `);return s!==-1&&(t=wh(t,i,n,s)),n+t+i};Object.defineProperties($t.prototype,gt);var Lh=$t(),ub=$t({level:_o?_o.level:0}),Mh=Lh,Dh={win32:e=>({cmd:"cmd.exe",args:["/d","/s","/c",e]})},Bh={"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(" ")}`}},Nh=(e,t,r)=>{let n={...Dh,...t},i={...Bh,...r},s=a=>{let u=process.platform,f=n[u];if(f)return f(a);let[l,...h]=a.split(" ");return{cmd:l,args:h}},o=(a=>{let u=Object.entries(i);for(let[f,l]of u)if(a.startsWith(f)){let h=process.platform,c=l[h];if(!c)break;let x=a.slice(f.length).trim().split(" ");return c(x)}return a})(e);return s(o)},Ih=process.platform==="linux"||process.platform==="darwin",Dn=process.platform==="win32",kh={stdio:"pipe",shell:!0,detached:!Dn,env:process.env},Fh={log:!0,commandTranslations:{},shellTranslations:{},...kh},mt=({log:e=!0,commandTranslations:t={},shellTranslations:r={},...n}=Fh)=>{let i=null;return{childProcess:i,async run(s){if(i)throw new Error("Only one command per shell.");if(typeof s=="object"){let u=process.platform;s.posix&&Ih&&(u="posix");let f=s[u];if(!f)throw new Error("No command found for platform: "+JSON.stringify({platform:process.platform,command:s}));s=f}let{cmd:o,args:a}=Nh(s,r,t);return e&&console.log(Mh.dim(`
14
14
  $ ${o} ${a.join(" ")}
15
- `)),await new Promise((u,f)=>{i=_h(o,a,n);let l="",h="";if(!i)throw new Error("Child process was not set.");let c=x=>{i=null;let y={code:x,stdout:l,stderr:h};x===0||x===1&&!Bn?u(y):f(y)};i.stdout?.on("data",x=>{l+=x.toString()}),i.stderr?.on("data",x=>{h+=x.toString()}),i.on("close",c),i.on("exit",c),i.on("error",c),i.stdout?.pipe(process.stdout),i.stderr?.pipe(process.stderr)})},kill(s="SIGKILL"){if(i?.pid)if(Bn)gh(`taskkill /t /f /pid ${i.pid}`);else return process.kill(-i.pid,s);return!0}}};var yo={NODE_ENV:"production"};try{let{env:e}=await import("process");e.NODE_ENV&&(yo.NODE_ENV=e.NODE_ENV)}catch{}var In=yo.NODE_ENV==="development";import{Console as jh}from"console";var Ze=new jh({stdout:process.stdout,stderr:process.stderr,groupIndentation:4}),me=e=>{if(In){let{name:t}=e;return{log(...r){let n=N.bgBlue.white(` [${t}] `);Ze.log(`${n}`,`
15
+ `)),await new Promise((u,f)=>{i=ph(o,a,n);let l="",h="";if(!i)throw new Error("Child process was not set.");let c=x=>{i=null;let y={code:x,stdout:l,stderr:h};x===0||x===1&&!Dn?u(y):f(y)};i.stdout?.on("data",x=>{l+=x.toString()}),i.stderr?.on("data",x=>{h+=x.toString()}),i.on("close",c),i.on("exit",c),i.on("error",c),i.stdout?.pipe(process.stdout),i.stderr?.pipe(process.stderr)})},kill(s="SIGKILL"){if(i?.pid)if(Dn)_h(`taskkill /t /f /pid ${i.pid}`);else return process.kill(-i.pid,s);return!0}}};var mo={NODE_ENV:"production"};try{let{env:e}=await import("process");e.NODE_ENV&&(mo.NODE_ENV=e.NODE_ENV)}catch{}var Nn=mo.NODE_ENV==="development";import{Console as qh}from"console";var Ze=new qh({stdout:process.stdout,stderr:process.stderr,groupIndentation:4}),me=e=>{if(Nn){let{name:t}=e;return{log(...r){let n=N.bgBlue.white(` [${t}] `);Ze.log(`${n}`,`
16
16
 
17
17
  `,...r),Ze.log()},group(){Ze.log();let r=N.bgBlue.white(` [${t}] `);Ze.group(r),Ze.log()},groupEnd(){Ze.log(`
18
18
  `,"-".repeat(20),`
19
- `),Ze.groupEnd()}}}else return{log(){},group(){},groupEnd(){}}};var ye=(...e)=>{console.log(),console.log(...e),console.log()};import Ur from"node:process";import Mo from"node:process";var Oo=qe(xo(),1),Po=qe(Co(),1);import Hh from"node:process";var Uh=(0,Oo.default)(()=>{(0,Po.default)(()=>{Hh.stderr.write("\x1B[?25h")},{alwaysLast:!0})}),Lo=Uh;var Rr=!1,Et={};Et.show=(e=Mo.stderr)=>{!e.isTTY||(Rr=!1,e.write("\x1B[?25h"))};Et.hide=(e=Mo.stderr)=>{!e.isTTY||(Lo(),Rr=!0,e.write("\x1B[?25l"))};Et.toggle=(e,t)=>{e!==void 0&&(Rr=e),Rr?Et.show(t):Et.hide(t)};var jn=Et;var rr=qe(Io(),1);import De from"node:process";function Ut(){return De.platform!=="win32"?De.env.TERM!=="linux":Boolean(De.env.CI)||Boolean(De.env.WT_SESSION)||De.env.ConEmuTask==="{cmd::Cmder}"||De.env.TERM_PROGRAM==="vscode"||De.env.TERM==="xterm-256color"||De.env.TERM==="alacritty"||De.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var Wh={info:N.blue("ℹ"),success:N.green("✔"),warning:N.yellow("⚠"),error:N.red("✖")},Vh={info:N.blue("i"),success:N.green("√"),warning:N.yellow("‼"),error:N.red("×")},Yh=Ut()?Wh:Vh,Gt=Yh;function $n({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 Hn(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace($n(),"")}var eu=qe(Wo(),1);function Gn({stream:e=process.stdout}={}){return Boolean(e&&e.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))}var za=qe(Za(),1);import ve from"node:process";import e_ from"node:readline";var t_=3,xi=class{#r=0;#f=new za.BufferListStream;#i;#n;constructor(){this.#f.pipe(ve.stdout);let t=this;this.#i=function(r,n,...i){let{stdin:s}=ve;if(t.#r>0||s.emit===t.#i){if(r==="keypress")return;r==="data"&&n.includes(t_)&&ve.emit("SIGINT"),Reflect.apply(t.#i,this,[r,n,...i])}else Reflect.apply(ve.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(){ve.platform!=="win32"&&(this.#n=e_.createInterface({input:ve.stdin,output:this.#f}),this.#n.on("SIGINT",()=>{ve.listenerCount("SIGINT")===0?ve.emit("SIGINT"):(this.#n.close(),ve.kill(ve.pid,"SIGINT"))}))}_realStop(){ve.platform!=="win32"&&(this.#n.close(),this.#n=void 0)}};var Gr,tu=class{#r=0;#f=!1;#i=0;#n=0;#e;#o;#t;#c;#h;#a;#u;#l;#d;#s;color;constructor(t){Gr||(Gr=new xi),typeof t=="string"&&(t={text:t}),this.#e={color:"cyan",stream:Ur.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:Gn({stream:this.#t}),this.#u=typeof this.#e.isSilent=="boolean"?this.#e.isSilent:!1,this.text=this.#e.text,this.prefixText=this.#e.prefixText,this.indent=this.#e.indent,Ur.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.#l}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.#l=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(!Ut())this.#o=rr.default.line;else if(t===void 0)this.#o=rr.default.dots;else if(t!=="default"&&rr.default[t])this.#o=rr.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.#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 Hn(" ".repeat(this.#l)+r+"--"+this.#d).split(`
20
- `))this.#i+=Math.max(1,Math.ceil((0,eu.default)(n)/t))}get isEnabled(){return this.#a&&!this.#u}set isEnabled(t){if(typeof t!="boolean")throw new TypeError("The `isEnabled` option must be a boolean");this.#a=t}get isSilent(){return this.#u}set isSilent(t){if(typeof t!="boolean")throw new TypeError("The `isSilent` option must be a boolean");this.#u=t}frame(){let{frames:t}=this.#o,r=t[this.#n];this.color&&(r=N[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.#l||this.lastIndent!==this.#l)&&this.#t.cursorTo(this.#l),this.lastIndent=this.#l,this.#r=0,this}render(){return this.#u?this:(this.clear(),this.#t.write(this.frame()),this.#r=this.#i,this)}start(t){return t&&(this.text=t),this.#u?this:this.#a?this.isSpinning?this:(this.#e.hideCursor&&jn.hide(this.#t),this.#e.discardStdin&&Ur.stdin.isTTY&&(this.#f=!0,Gr.start()),this.render(),this.#c=setInterval(this.render.bind(this),this.interval),this):(this.text&&this.#t.write(`- ${this.text}
21
- `),this)}stop(){return this.#a?(clearInterval(this.#c),this.#c=void 0,this.#n=0,this.clear(),this.#e.hideCursor&&jn.show(this.#t),this.#e.discardStdin&&Ur.stdin.isTTY&&this.#f&&(Gr.stop(),this.#f=!1),this):this}succeed(t){return this.stopAndPersist({symbol:Gt.success,text:t})}fail(t){return this.stopAndPersist({symbol:Gt.error,text:t})}warn(t){return this.stopAndPersist({symbol:Gt.warning,text:t})}info(t){return this.stopAndPersist({symbol:Gt.info,text:t})}stopAndPersist(t={}){if(this.#u)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}
22
- `),this}};function Ee(e){return new tu(e)}var Yc=qe(bu(),1);import{constants as My,existsSync as Hc}from"fs";import{copyFile as Dy,mkdir as By,readFile as Xs,rm as kc,writeFile as Uc}from"fs/promises";import{dirname as Gc,extname as Ny,isAbsolute as Iy,resolve as ky,resolve as Rn}from"path";import{build as Ks,transform as Fy}from"esbuild";var Qs=qe($s(),1);import{env as Fc}from"process";import{extname as YE,resolve as Hs}from"path";var kt=/\.[mc]?tsx?(?=\?|$)/;var ht=/\.([mc])?[tj]sx$/,Lc=/\.([mc])?[tj]sx?$/,It={format:"esm",charset:"utf8",sourcemap:"inline",target:"node16",minify:!1},_y={".mts":{...It,loader:"ts"},".jsx":{...It,loader:"jsx"},".tsx":{...It,loader:"tsx"},".cts":{...It,loader:"ts"},".ts":{...It,loader:"ts"},".json":{...It,loader:"json"}},GE=Object.keys(_y);var Us=()=>{let e=process.cwd(),t=Hs(e,"src"),r=Hs(e,"dist");return{cwd:e,srcDir:t,outDir:r}},En=e=>{e=Hs(e);let{srcDir:t,outDir:r}=Us();return e.replace(t,r).replace(kt,".js").replace(ht,".js")};var gy={moduleResolution:"node",module:"esnext",target:"esnext",esModuleInterop:!0,incremental:!1,rootDir:"src",outDir:"dist",declaration:!0,noEmit:!1,emitDeclarationOnly:!0},Gs=async()=>{let e=me(Gs),t=mt({log:!1}),r=Object.entries(gy).map(([i,s])=>`--${i} ${s}`).join(" "),n=`tsc -p tsconfig.json ${r}`;e.log(`Calling: ${n}`),await t.run(`tsc -p tsconfig.json ${r}`)};import{readFile as my}from"fs/promises";import{resolve as yy}from"path";var Mc=async()=>{let e=process.cwd(),t=yy(e,"package.json");return await my(t,"utf-8")};var Ic=qe($s(),1);import{existsSync as Ay}from"fs";import{writeFile as Ty}from"fs/promises";import{isAbsolute as Cy,resolve as Oy}from"path";import{existsSync as Dc}from"fs";import{readFile as by}from"fs/promises";import{dirname as vy,normalize as Ey,posix as xn,resolve as xy}from"path";var Sy=[".js",".mjs",".jsx",".json",".ts",".mts",".tsx"],Ry=async(e,t)=>{let r=vy(Ey(t)),n=Sn(xy(r,e)),i=n.replace(xn.extname(n),"");for(let s of Sy){let o=`${i}${s}`,a=`${i}/index${s}`;if(Dc(o))return o;if(Dc(a))return a}},Sn=e=>e.replace(/\\/g,"/"),wy=(e,t)=>{e=Sn(e),t=Sn(t);let r=xn.relative(xn.dirname(e),t);return r.startsWith(".")?r:`./${r}`},Ws=async e=>{let t=me(Ws);t.log("Getting rewritten specifiers:",{modulePath:e}),e=Sn(e);let r=new RegExp(Bc,"g"),n=await by(e,"utf8"),i=n.match(r);if(t.log("Found import statements:",{importStatements:i}),i)for(let s of i){let o=new RegExp(Nc),a=s.match(o);if(!a)throw t.log("No specifier match",{importStatement:s,specifierPattern:o}),new Error(`Could not identify specifier in import statement: ${s}`);let u=a[0];if(t.log("Found specifier:",{specifier:u}),!u.startsWith(".")||xn.extname(u))continue;let f=await Ry(u,e);if(!f)throw new Error(`Could not resolve specifier "${u}" from "${e}"`);t.log("Resolved specifier:",{resolvedSpecifier:f});let l=wy(e,f);t.log("Specifier replacement:",{specifierReplacement:l});let h=s.replace(u,l);t.log("Import statement replacement:",{importStatementReplacement:h}),n=n.replace(s,h)}return n};var Bc=`(^|(?<=[
19
+ `),Ze.groupEnd()}}}else return{log(){},group(){},groupEnd(){}}};var ye=(...e)=>{console.log(),console.log(...e),console.log()};import Ur from"node:process";import Lo from"node:process";var Co=qe(Eo(),1),Oo=qe(To(),1);import $h from"node:process";var Hh=(0,Co.default)(()=>{(0,Oo.default)(()=>{$h.stderr.write("\x1B[?25h")},{alwaysLast:!0})}),Po=Hh;var Rr=!1,Et={};Et.show=(e=Lo.stderr)=>{!e.isTTY||(Rr=!1,e.write("\x1B[?25h"))};Et.hide=(e=Lo.stderr)=>{!e.isTTY||(Po(),Rr=!0,e.write("\x1B[?25l"))};Et.toggle=(e,t)=>{e!==void 0&&(Rr=e),Rr?Et.show(t):Et.hide(t)};var qn=Et;var rr=qe(No(),1);import De from"node:process";function Ut(){return De.platform!=="win32"?De.env.TERM!=="linux":Boolean(De.env.CI)||Boolean(De.env.WT_SESSION)||De.env.ConEmuTask==="{cmd::Cmder}"||De.env.TERM_PROGRAM==="vscode"||De.env.TERM==="xterm-256color"||De.env.TERM==="alacritty"||De.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var Gh={info:N.blue("ℹ"),success:N.green("✔"),warning:N.yellow("⚠"),error:N.red("✖")},Wh={info:N.blue("i"),success:N.green("√"),warning:N.yellow("‼"),error:N.red("×")},Vh=Ut()?Gh:Wh,Gt=Vh;function jn({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 $n(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(jn(),"")}var za=qe(Go(),1);function Un({stream:e=process.stdout}={}){return Boolean(e&&e.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))}var Za=qe(Ja(),1);import ve from"node:process";import zp from"node:readline";var e_=3,Ei=class{#r=0;#f=new Za.BufferListStream;#i;#n;constructor(){this.#f.pipe(ve.stdout);let t=this;this.#i=function(r,n,...i){let{stdin:s}=ve;if(t.#r>0||s.emit===t.#i){if(r==="keypress")return;r==="data"&&n.includes(e_)&&ve.emit("SIGINT"),Reflect.apply(t.#i,this,[r,n,...i])}else Reflect.apply(ve.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(){ve.platform!=="win32"&&(this.#n=zp.createInterface({input:ve.stdin,output:this.#f}),this.#n.on("SIGINT",()=>{ve.listenerCount("SIGINT")===0?ve.emit("SIGINT"):(this.#n.close(),ve.kill(ve.pid,"SIGINT"))}))}_realStop(){ve.platform!=="win32"&&(this.#n.close(),this.#n=void 0)}};var Gr,eu=class{#r=0;#f=!1;#i=0;#n=0;#e;#o;#t;#c;#h;#a;#u;#l;#d;#s;color;constructor(t){Gr||(Gr=new Ei),typeof t=="string"&&(t={text:t}),this.#e={color:"cyan",stream:Ur.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:Un({stream:this.#t}),this.#u=typeof this.#e.isSilent=="boolean"?this.#e.isSilent:!1,this.text=this.#e.text,this.prefixText=this.#e.prefixText,this.indent=this.#e.indent,Ur.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.#l}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.#l=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(!Ut())this.#o=rr.default.line;else if(t===void 0)this.#o=rr.default.dots;else if(t!=="default"&&rr.default[t])this.#o=rr.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.#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 $n(" ".repeat(this.#l)+r+"--"+this.#d).split(`
20
+ `))this.#i+=Math.max(1,Math.ceil((0,za.default)(n)/t))}get isEnabled(){return this.#a&&!this.#u}set isEnabled(t){if(typeof t!="boolean")throw new TypeError("The `isEnabled` option must be a boolean");this.#a=t}get isSilent(){return this.#u}set isSilent(t){if(typeof t!="boolean")throw new TypeError("The `isSilent` option must be a boolean");this.#u=t}frame(){let{frames:t}=this.#o,r=t[this.#n];this.color&&(r=N[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.#l||this.lastIndent!==this.#l)&&this.#t.cursorTo(this.#l),this.lastIndent=this.#l,this.#r=0,this}render(){return this.#u?this:(this.clear(),this.#t.write(this.frame()),this.#r=this.#i,this)}start(t){return t&&(this.text=t),this.#u?this:this.#a?this.isSpinning?this:(this.#e.hideCursor&&qn.hide(this.#t),this.#e.discardStdin&&Ur.stdin.isTTY&&(this.#f=!0,Gr.start()),this.render(),this.#c=setInterval(this.render.bind(this),this.interval),this):(this.text&&this.#t.write(`- ${this.text}
21
+ `),this)}stop(){return this.#a?(clearInterval(this.#c),this.#c=void 0,this.#n=0,this.clear(),this.#e.hideCursor&&qn.show(this.#t),this.#e.discardStdin&&Ur.stdin.isTTY&&this.#f&&(Gr.stop(),this.#f=!1),this):this}succeed(t){return this.stopAndPersist({symbol:Gt.success,text:t})}fail(t){return this.stopAndPersist({symbol:Gt.error,text:t})}warn(t){return this.stopAndPersist({symbol:Gt.warning,text:t})}info(t){return this.stopAndPersist({symbol:Gt.info,text:t})}stopAndPersist(t={}){if(this.#u)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}
22
+ `),this}};function Ae(e){return new eu(e)}var Vc=qe(yu(),1);import{constants as Ly,existsSync as $c}from"fs";import{copyFile as My,mkdir as Dy,readFile as Hc,rm as Ic,writeFile as By}from"fs/promises";import{dirname as Uc,extname as Ny,isAbsolute as Iy,resolve as ky,resolve as Sn}from"path";import{build as Ks,transform as Fy}from"esbuild";var Qs=qe(js(),1);import{env as kc}from"process";import{extname as YE,resolve as $s}from"path";var kt=/\.[mc]?tsx?(?=\?|$)/;var ht=/\.([mc])?[tj]sx$/,Pc=/\.([mc])?[tj]sx?$/,It={format:"esm",charset:"utf8",sourcemap:"inline",target:"node16",minify:!1},py={".mts":{...It,loader:"ts"},".jsx":{...It,loader:"jsx"},".tsx":{...It,loader:"tsx"},".cts":{...It,loader:"ts"},".ts":{...It,loader:"ts"},".json":{...It,loader:"json"}},GE=Object.keys(py);var Hs=()=>{let e=process.cwd(),t=$s(e,"src"),r=$s(e,"dist");return{cwd:e,srcDir:t,outDir:r}},Us=e=>{e=$s(e);let{srcDir:t,outDir:r}=Hs();return e.replace(t,r).replace(kt,".js").replace(ht,".js")};var _y={moduleResolution:"node",module:"esnext",target:"esnext",esModuleInterop:!0,incremental:!1,rootDir:"src",outDir:"dist",declaration:!0,noEmit:!1,emitDeclarationOnly:!0},Gs=async()=>{let e=me(Gs),t=mt({log:!1}),r=Object.entries(_y).map(([i,s])=>`--${i} ${s}`).join(" "),n=`tsc -p tsconfig.json ${r}`;e.log(`Calling: ${n}`),await t.run(`tsc -p tsconfig.json ${r}`)};import{readFile as gy}from"fs/promises";import{resolve as my}from"path";var Lc=async()=>{let e=process.cwd(),t=my(e,"package.json");return await gy(t,"utf-8")};var Nc=qe(js(),1);import{existsSync as wy}from"fs";import{writeFile as Ay}from"fs/promises";import{isAbsolute as Ty,resolve as Cy}from"path";import{existsSync as Mc}from"fs";import{readFile as yy}from"fs/promises";import{dirname as by,normalize as vy,posix as En,resolve as Ey}from"path";var xy=[".js",".mjs",".jsx",".json",".ts",".mts",".tsx"],Sy=async(e,t)=>{let r=by(vy(t)),n=xn(Ey(r,e)),i=n.replace(En.extname(n),"");for(let s of xy){let o=`${i}${s}`,a=`${i}/index${s}`;if(Mc(o))return o;if(Mc(a))return a}},xn=e=>e.replace(/\\/g,"/"),Ry=(e,t)=>{e=xn(e),t=xn(t);let r=En.relative(En.dirname(e),t);return r.startsWith(".")?r:`./${r}`},Ws=async e=>{let t=me(Ws);t.log("Getting rewritten specifiers:",{modulePath:e}),e=xn(e);let r=new RegExp(Dc,"g"),n=await yy(e,"utf8"),i=n.match(r);if(t.log("Found import statements:",{importStatements:i}),i)for(let s of i){let o=new RegExp(Bc),a=s.match(o);if(!a)throw t.log("No specifier match",{importStatement:s,specifierPattern:o}),new Error(`Could not identify specifier in import statement: ${s}`);let u=a[0];if(t.log("Found specifier:",{specifier:u}),!u.startsWith(".")||En.extname(u))continue;let f=await Sy(u,e);if(!f)throw new Error(`Could not resolve specifier "${u}" from "${e}"`);t.log("Resolved specifier:",{resolvedSpecifier:f});let l=Ry(e,f);t.log("Specifier replacement:",{specifierReplacement:l});let h=s.replace(u,l);t.log("Import statement replacement:",{importStatementReplacement:h}),n=n.replace(s,h)}return n};var Dc=`(^|(?<=[
23
23
  \r;] *))(import|export) *({?)[^
24
24
  \r;]+(((from)[
25
25
  \r; *]+)|(["'][
26
- \r;]))`,Nc=`(?<=["'])([^
27
- \r]+)(?=['"])`,Vs=async(e="dist/**/*.js")=>{let t=me(Vs),n=Cy(e)&&Ay(e)?[e]:Ic.default.sync(e);t.log("Normalizing import/require specifiers:",{files:e,filesToNormalize:n});for(let i of n){let s=Oy(i),o=await Ws(s);t.log("Normalizing",{file:i,normalized:o}),await Ty(s,o,{flag:"w",encoding:"utf-8"})}t.log("Normalized",{filesToNormalize:n})};import{readFileSync as Py}from"fs";function Ly(e){return new Promise((t,r)=>{let n=[];function i(u){n.push(u)}function s(){a(),t(Buffer.concat(n))}function o(u){a(),r(u)}function a(){e.removeListener("data",i),e.removeListener("end",s),e.removeListener("error",o)}e.on("data",i),e.on("end",s),e.on("error",o)})}var Ys=async()=>{let e=me(Ys);e.log("Reading stdin");try{let r=Py(0).toString();if(r)return e.log("Found stdin",{stdin:r}),r}catch(r){e.log("Could not read stdin",{e:r})}return ye(N.gray("Type your source code. Press Ctrl+D to finish.")),(await Ly(process.stdin)).toString()};var qy=`import React from "react";
26
+ \r;]))`,Bc=`(?<=["'])([^
27
+ \r]+)(?=['"])`,Vs=async(e="dist/**/*.js")=>{let t=me(Vs),n=Ty(e)&&wy(e)?[e]:Nc.default.sync(e);t.log("Normalizing import/require specifiers:",{files:e,filesToNormalize:n});for(let i of n){let s=Cy(i),o=await Ws(s);t.log("Normalizing",{file:i,normalized:o}),await Ay(s,o,{flag:"w",encoding:"utf-8"})}t.log("Normalized",{filesToNormalize:n})};import{readFileSync as Oy}from"fs";function Py(e){return new Promise((t,r)=>{let n=[];function i(u){n.push(u)}function s(){a(),t(Buffer.concat(n))}function o(u){a(),r(u)}function a(){e.removeListener("data",i),e.removeListener("end",s),e.removeListener("error",o)}e.on("data",i),e.on("end",s),e.on("error",o)})}var Ys=async()=>{let e=me(Ys);e.log("Reading stdin");try{let r=Oy(0).toString();if(r)return e.log("Found stdin",{stdin:r}),r}catch(r){e.log("Could not read stdin",{e:r})}return ye(N.gray("Type your source code. Press Ctrl+D to finish.")),(await Py(process.stdin)).toString()};var qy=`import React from "react";
28
28
  import ReactDOM from "react-dom";
29
- `,qc=e=>{let t=` ${e} `;ye(N.bgBlue(N.bold(N.white(t))))},jy=async()=>{let e;if(Hc("dist/package.json")?e=JSON.parse(await Xs("dist/package.json","utf-8")):e={},e?.module==="module")return!0;e.type="module",await Uc("dist/package.json",JSON.stringify(e,null,2))},jc=(e,t,r)=>{t=Rn(t);let n=En(t);return{stdin:{contents:e,sourcefile:t,resolveDir:Gc(t),loader:r},outdir:void 0,outfile:n}},$c=async(e,t,r,n)=>{e=Rn(e),t=Rn(t);let i="npx tailwindcss",s=r?"":"-m",o="--postcss postcss.config.js",a=await Xs(e,"utf-8"),f=n?a:`@import "@tsmodule/react";
30
-
31
- ${a}`,l=En(e);await Uc(l,f);let h=[i,s,o,`-i ${l}`,"-o",t],c=mt({log:!1,stdio:"ignore"}),{code:x,stderr:y}=await c.run(h.join(" "));if(x!==0)throw new Error(`Error building CSS bundle: ${y}`)},$y=`
29
+ `,Fc=e=>{let t=` ${e} `;ye(N.bgBlue(N.bold(N.white(t))))},jy=async()=>{let e;if($c("dist/package.json")?e=JSON.parse(await Hc("dist/package.json","utf-8")):e={},e?.module==="module")return!0;e.type="module",await By("dist/package.json",JSON.stringify(e,null,2))},qc=(e,t,r)=>{t=Sn(t);let n=Us(t);return{stdin:{contents:e,sourcefile:t,resolveDir:Uc(t),loader:r},outdir:void 0,outfile:n}},jc=async(e,t,r)=>{e=Sn(e),t=Sn(t);let o=["npx tailwindcss",r?"":"-m","--postcss postcss.config.js",`-i ${e}`,"-o",t],a=mt({log:!1,stdio:"ignore"}),u=o.join(" "),{code:f,stdout:l,stderr:h}=await a.run(u);if(f!==0)throw new Error(`Building CSS bundle exited with code ${f} for ${e}.
30
+ \rTried running: ${u}.
31
+ \rError: ${l+h}`)},$y=`
32
32
  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)}})();
33
- `,wn=async({input:e="src/**/*",styles:t="src/components/index.css",target:r="esnext",dev:n=!1,bundle:i=!1,runtimeOnly:s=n,noWrite:o=!1,noStandardStyles:a=!1,stdin:u=void 0,stdinFile:f=void 0})=>{Fc.NODE_ENV=n?"development":"production";let l=me(wn);n&&(s=!0);let{cwd:h,srcDir:c,outDir:x}=Us(),y=await Mc(),m=JSON.parse(y),S={treeShaking:i,target:r,minify:!n,jsx:"transform",jsxFactory:"React.createElement",format:"esm",charset:"utf8",logLevel:n?"warning":"error",define:{"process.env.NODE_ENV":n?JSON.stringify("development"):JSON.stringify("production")}},E={...S,bundle:i,absWorkingDir:h,outbase:"src",outdir:"dist",assetNames:"[name].js",format:"esm",target:"esnext",platform:m?.platform??"node",write:!o,external:i?["esbuild"]:void 0,banner:i?{js:$y}:void 0},M="";if(u){l.log("Building file from stdin",{stdin:u,stdinFile:f,noWrite:o}),f||(ye(N.red("ERROR: --stdin-file must be specified to emulate a file location when using stdin.")),process.exit(1)),typeof u=="string"&&u.length?M=u:M=await Ys();let R={...S,sourcefile:f,loader:"tsx",banner:void 0,footer:void 0};if(o)return(await Fy(M,R)).code;{let d=jc(M,f,"tsx");await Ks({...E,...d}),ye(N.green("Successfully built stdin file to dist/.")),ye(N.grey("Use --no-write to print to stdout instead."));return}}l.log("Building",{files:e,dev:n,runtimeOnly:s}),qc(`${N.bold("TS Module")} [${Fc.NODE_ENV}]`);let B=Qs.default.sync(e,{cwd:h}).filter(R=>Ny(R)!==".d.ts").map(R=>Rn(R));if(Iy(e)){B.length||B.push(e);let R=e.replace(c,x).replace(kt,".js").replace(ht,".js");l.log("Cleaning emitted file:",{outfile:R}),await kc(R,{force:!0})}else l.log("Cleaning old output:",{outDir:x}),await kc(x,{force:!0,recursive:!0});let Z=B.filter(R=>ht.test(R));l.log("Compiling TSX files:",{tsxJsxInput:Z});let C=Z.filter(R=>!R.endsWith(".d.ts"));await Promise.all(C.map(async R=>{let d=await Xs(R,"utf-8"),j=qy+d,q=jc(j,R,"tsx");await Ks({...E,...q})})),Ee("Built TSX files.").succeed();let $=B.filter(R=>kt.test(R)).filter(R=>!ht.test(R));l.log("Compiling TS files:",{tsJsInput:$}),await Ks({...E,entryPoints:$.filter(R=>!R.endsWith(".d.ts"))}),Ee("Built TS files.").succeed();let O=B.filter(R=>!Lc.test(R));l.log("Copying non-JS/TS files.",{allFiles:B,nonTsJsInput:O});for(let R of O){let d=En(R);l.log("Copying non-source file:",{file:R,emittedFile:d}),await By(Gc(d),{recursive:!0}),await Dy(R,d,My.COPYFILE_FICLONE)}if(!process.env.NO_REWRITES){let R=e.replace(c,x).replace(/^(\.\/)?src\//,"dist/").replace(kt,".js").replace(ht,".js");l.log("Normalizing import specifiers in emitted JS.",{emittedJs:R}),await Vs(R.endsWith(".js")?R:`${R}.js`),Ee("Normalized import specifiers.").succeed()}if(await jy()&&Ee('Forced "type": "module" in output.').succeed(),s)return;if(Hc(ky(t))){l.log("Building styles for production.");let{style:R="./dist/bundle.css"}=m;if(l.log("Building style bundle.",{bundleInput:t,bundleOutput:R,dev:n,noStandardStyles:a}),await $c(t,R,n,a),i){l.log("Bundling all styles.");let d=Qs.default.sync("dist/**/*.css"),j=Ee("Bundled emitted styles.").start();await Promise.all(d.map(async q=>await $c(q,q,n,a))),j.succeed()}Ee(`Bundled all styles to ${N.bold(R)}.`).succeed()}else ye(N.grey("Bundle styles not found for this projected. Checked:"),{styles:t});qc("Running post-build setup.");let F=Ee("Generating type declarations.").start();await Gs(),F.succeed(`Generated delcarations for ${B.length} files.`),ye(N.green("Build complete."))};var Wc=()=>{console.clear()},Vc=e=>{ye(`
33
+ `,Rn=async({input:e="src/**/*",styles:t="src/components/index.css",target:r="esnext",dev:n=!1,bundle:i=!1,runtimeOnly:s=n,noWrite:o=!1,stdin:a=void 0,stdinFile:u=void 0})=>{kc.NODE_ENV=n?"development":"production";let f=me(Rn);n&&(s=!0);let{cwd:l,srcDir:h,outDir:c}=Hs(),x=await Lc(),y=JSON.parse(x),m={treeShaking:i,target:r,minify:!n,jsx:"transform",jsxFactory:"React.createElement",format:"esm",charset:"utf8",logLevel:n?"warning":"error",define:{"process.env.NODE_ENV":n?JSON.stringify("development"):JSON.stringify("production")}},S=["esbuild","*.png"],E={...m,bundle:i,absWorkingDir:l,outbase:"src",outdir:"dist",assetNames:"[name].js",format:"esm",target:"esnext",platform:y?.platform??"node",write:!o,external:i?S:void 0,banner:i?{js:$y}:void 0},M="";if(a){f.log("Building file from stdin",{stdin:a,stdinFile:u,noWrite:o}),u||(ye(N.red("ERROR: --stdin-file must be specified to emulate a file location when using stdin.")),process.exit(1)),typeof a=="string"&&a.length?M=a:M=await Ys();let R={...m,sourcefile:u,loader:"tsx",banner:void 0,footer:void 0};if(o)return(await Fy(M,R)).code;{let d=qc(M,u,"tsx");await Ks({...E,...d}),ye(N.green("Successfully built stdin file to dist/.")),ye(N.grey("Use --no-write to print to stdout instead."));return}}f.log("Building",{files:e,dev:n,runtimeOnly:s}),Fc(`${N.bold("TS Module")} [${kc.NODE_ENV}]`);let B=Qs.default.sync(e,{cwd:l}).filter(R=>Ny(R)!==".d.ts").map(R=>Sn(R));if(Iy(e)){B.length||B.push(e);let R=e.replace(h,c).replace(kt,".js").replace(ht,".js");f.log("Cleaning emitted file:",{outfile:R}),await Ic(R,{force:!0})}else f.log("Cleaning old output:",{outDir:c}),await Ic(c,{force:!0,recursive:!0});let Z=B.filter(R=>ht.test(R));f.log("Compiling TSX files:",{tsxJsxInput:Z});let C=Z.filter(R=>!R.endsWith(".d.ts"));await Promise.all(C.map(async R=>{let d=await Hc(R,"utf-8"),j=qy+d,q=qc(j,R,"tsx");await Ks({...E,...q})})),Ae("Built TSX files.").succeed();let $=B.filter(R=>kt.test(R)).filter(R=>!ht.test(R));f.log("Compiling TS files:",{tsJsInput:$}),await Ks({...E,entryPoints:$.filter(R=>!R.endsWith(".d.ts"))}),Ae("Built TS files.").succeed();let O=B.filter(R=>!Pc.test(R));f.log("Copying non-JS/TS files.",{allFiles:B,nonTsJsInput:O});for(let R of O){let d=Us(R);f.log("Copying non-source file:",{file:R,emittedFile:d}),await Dy(Uc(d),{recursive:!0}),await My(R,d,Ly.COPYFILE_FICLONE)}if(!process.env.NO_REWRITES){let R=e.replace(h,c).replace(/^(\.\/)?src\//,"dist/").replace(kt,".js").replace(ht,".js");f.log("Normalizing import specifiers in emitted JS.",{emittedJs:R}),await Vs(R.endsWith(".js")?R:`${R}.js`),Ae("Normalized import specifiers.").succeed()}if(await jy()&&Ae('Forced "type": "module" in output.').succeed(),s)return;if($c(ky(t))){f.log("Building styles for production.");let{style:R="./dist/bundle.css"}=y;if(f.log("Building style bundle.",{bundleInput:t,bundleOutput:R,dev:n}),await jc(t,R,n),i){f.log("Bundling all styles.");let d=Qs.default.sync("dist/**/*.css"),j=Ae("Bundling emitted styles.").start();await Promise.all(d.map(async q=>await jc(q,q,n))),j.succeed(`Bundled all styles to ${N.bold(R)}.`)}}else ye(N.grey(`Bundle styles not found for this project.
34
+ \rChecked: `+N.bold(t)));Fc("Running post-build setup.");let F=Ae("Generating type declarations.").start();await Gs(),F.succeed(`Generated delcarations for ${B.length} files.`),ye(N.green("Build complete."))};var Gc=()=>{console.clear()},Wc=e=>{ye(`
34
35
  `,N.gray(`Built ${N.bold(e)}.`),`
35
- `,N.blue(new Date().toLocaleString()))},Yx=async()=>{let e=process.cwd(),t=mt();process.platform!=="win32"&&await t.run("clear"),Wc(),await wn({dev:!0}),Vc("src/**/*"),(0,Yc.default)(Uy(e,"src"),{recursive:!0}).on("change",async(r,n)=>{if(!Gy(n)||(await Wy(n)).isDirectory())return;Wc();let a=Date.now();await wn({dev:!0,input:n});let u=Date.now()-a;Ee(N.blueBright(`Dev refresh finished in ${N.bold(`${u}ms`)}.`)).succeed(),Vc(Hy(e,n))})};export{Yx as dev};
36
+ `,N.blue(new Date().toLocaleString()))},Yx=async()=>{let e=process.cwd(),t=mt();process.platform!=="win32"&&await t.run("clear"),Gc(),await Rn({dev:!0}),Wc("src/**/*"),(0,Vc.default)(Uy(e,"src"),{recursive:!0}).on("change",async(r,n)=>{if(!Gy(n)||(await Wy(n)).isDirectory())return;Gc();let a=Date.now();await Rn({dev:!0,input:n});let u=Date.now()-a;Ae(N.blueBright(`Dev refresh finished in ${N.bold(`${u}ms`)}.`)).succeed(),Wc(Hy(e,n))})};export{Yx as dev};
36
37
  /*!
37
38
  * fill-range <https://github.com/jonschlinkert/fill-range>
38
39
  *