npm-check-updates 17.0.4 → 17.0.6

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.
package/build/index.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const de=require("node:path"),Bx=require("node:readline"),Ot=require("node:events"),xA=require("node:child_process"),lt=require("node:fs"),Qt=require("node:os"),rs=require("node:util"),Pe=require("node:fs/promises"),qt=require("node:url"),eh=require("node:http"),OA=require("node:https"),zg=require("node:assert"),th=require("node:buffer"),TA=require("node:zlib"),Vt=require("node:stream"),si=require("node:string_decoder"),qg=require("node:dns"),BA=require("node:crypto"),eu=require("node:net"),rh=require("node:tls"),IA=require("node:tty"),Ix=require("node:timers/promises"),Px=require("node:querystring"),Lx=require("node:stream/consumers"),kx=require("node:module");var fe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Qe(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function Nx(r){if(r.__esModule)return r;var e=r.default;if(typeof e=="function"){var t=function s(){return this instanceof s?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(r).forEach(function(s){var n=Object.getOwnPropertyDescriptor(r,s);Object.defineProperty(t,s,n.get?n:{enumerable:!0,get:function(){return r[s]}})}),t}var PA={};let S0,LA,kA,NA,MA=!0;typeof process<"u"&&({FORCE_COLOR:S0,NODE_DISABLE_COLORS:LA,NO_COLOR:kA,TERM:NA}=process.env||{},MA=process.stdout&&process.stdout.isTTY);const Ne={enabled:!LA&&kA==null&&NA!=="dumb"&&(S0!=null&&S0!=="0"||MA),reset:Ge(0,0),bold:Ge(1,22),dim:Ge(2,22),italic:Ge(3,23),underline:Ge(4,24),inverse:Ge(7,27),hidden:Ge(8,28),strikethrough:Ge(9,29),black:Ge(30,39),red:Ge(31,39),green:Ge(32,39),yellow:Ge(33,39),blue:Ge(34,39),magenta:Ge(35,39),cyan:Ge(36,39),white:Ge(37,39),gray:Ge(90,39),grey:Ge(90,39),bgBlack:Ge(40,49),bgRed:Ge(41,49),bgGreen:Ge(42,49),bgYellow:Ge(43,49),bgBlue:Ge(44,49),bgMagenta:Ge(45,49),bgCyan:Ge(46,49),bgWhite:Ge(47,49)};function Cy(r,e){let t=0,s,n="",o="";for(;t<r.length;t++)s=r[t],n+=s.open,o+=s.close,~e.indexOf(s.close)&&(e=e.replace(s.rgx,s.close+s.open));return n+e+o}function Mx(r,e){let t={has:r,keys:e};return t.reset=Ne.reset.bind(t),t.bold=Ne.bold.bind(t),t.dim=Ne.dim.bind(t),t.italic=Ne.italic.bind(t),t.underline=Ne.underline.bind(t),t.inverse=Ne.inverse.bind(t),t.hidden=Ne.hidden.bind(t),t.strikethrough=Ne.strikethrough.bind(t),t.black=Ne.black.bind(t),t.red=Ne.red.bind(t),t.green=Ne.green.bind(t),t.yellow=Ne.yellow.bind(t),t.blue=Ne.blue.bind(t),t.magenta=Ne.magenta.bind(t),t.cyan=Ne.cyan.bind(t),t.white=Ne.white.bind(t),t.gray=Ne.gray.bind(t),t.grey=Ne.grey.bind(t),t.bgBlack=Ne.bgBlack.bind(t),t.bgRed=Ne.bgRed.bind(t),t.bgGreen=Ne.bgGreen.bind(t),t.bgYellow=Ne.bgYellow.bind(t),t.bgBlue=Ne.bgBlue.bind(t),t.bgMagenta=Ne.bgMagenta.bind(t),t.bgCyan=Ne.bgCyan.bind(t),t.bgWhite=Ne.bgWhite.bind(t),t}function Ge(r,e){let t={open:`\x1B[${r}m`,close:`\x1B[${e}m`,rgx:new RegExp(`\\x1b\\[${e}m`,"g")};return function(s){return this!==void 0&&this.has!==void 0?(~this.has.indexOf(r)||(this.has.push(r),this.keys.push(t)),s===void 0?this:Ne.enabled?Cy(this.keys,s+""):s+""):s===void 0?Mx([r],[t]):Ne.enabled?Cy([t],s+""):s+""}}var Lr=Ne,jx=(r,e)=>{if(!(r.meta&&r.name!=="escape")){if(r.ctrl){if(r.name==="a")return"first";if(r.name==="c"||r.name==="d")return"abort";if(r.name==="e")return"last";if(r.name==="g")return"reset"}if(e){if(r.name==="j")return"down";if(r.name==="k")return"up"}return r.name==="return"||r.name==="enter"?"submit":r.name==="backspace"?"delete":r.name==="delete"?"deleteForward":r.name==="abort"?"abort":r.name==="escape"?"exit":r.name==="tab"?"next":r.name==="pagedown"?"nextPage":r.name==="pageup"?"prevPage":r.name==="home"?"home":r.name==="end"?"end":r.name==="up"?"up":r.name==="down"?"down":r.name==="right"?"right":r.name==="left"?"left":!1}},Vg=r=>{const e=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))"].join("|"),t=new RegExp(e,"g");return typeof r=="string"?r.replace(t,""):r};const C0="\x1B",Ze=`${C0}[`,Ux="\x07",F0={to(r,e){return e?`${Ze}${e+1};${r+1}H`:`${Ze}${r+1}G`},move(r,e){let t="";return r<0?t+=`${Ze}${-r}D`:r>0&&(t+=`${Ze}${r}C`),e<0?t+=`${Ze}${-e}A`:e>0&&(t+=`${Ze}${e}B`),t},up:(r=1)=>`${Ze}${r}A`,down:(r=1)=>`${Ze}${r}B`,forward:(r=1)=>`${Ze}${r}C`,backward:(r=1)=>`${Ze}${r}D`,nextLine:(r=1)=>`${Ze}E`.repeat(r),prevLine:(r=1)=>`${Ze}F`.repeat(r),left:`${Ze}G`,hide:`${Ze}?25l`,show:`${Ze}?25h`,save:`${C0}7`,restore:`${C0}8`},Hx={up:(r=1)=>`${Ze}S`.repeat(r),down:(r=1)=>`${Ze}T`.repeat(r)},Gx={screen:`${Ze}2J`,up:(r=1)=>`${Ze}1J`.repeat(r),down:(r=1)=>`${Ze}J`.repeat(r),line:`${Ze}2K`,lineEnd:`${Ze}K`,lineStart:`${Ze}1K`,lines(r){let e="";for(let t=0;t<r;t++)e+=this.line+(t<r-1?F0.up():"");return r&&(e+=F0.left),e}};var kr={cursor:F0,scroll:Hx,erase:Gx,beep:Ux};const Wx=Vg,{erase:Fy,cursor:zx}=kr,qx=r=>[...Wx(r)].length;var Vx=function(r,e){if(!e)return Fy.line+zx.to(0);let t=0;const s=r.split(/\r?\n/);for(let n of s)t+=1+Math.floor(Math.max(qx(n)-1,0)/e);return Fy.lines(t)};const va={arrowUp:"↑",arrowDown:"↓",arrowLeft:"←",arrowRight:"→",radioOn:"◉",radioOff:"◯",tick:"✔",cross:"✖",ellipsis:"…",pointerSmall:"›",line:"─",pointer:"❯"},Yx={arrowUp:va.arrowUp,arrowDown:va.arrowDown,arrowLeft:va.arrowLeft,arrowRight:va.arrowRight,radioOn:"(*)",radioOff:"( )",tick:"√",cross:"×",ellipsis:"...",pointerSmall:"»",line:"─",pointer:">"},Kx=process.platform==="win32"?Yx:va;var jA=Kx;const jn=Lr,an=jA,$0=Object.freeze({password:{scale:1,render:r=>"*".repeat(r.length)},emoji:{scale:2,render:r=>"😃".repeat(r.length)},invisible:{scale:0,render:r=>""},default:{scale:1,render:r=>`${r}`}}),Xx=r=>$0[r]||$0.default,_a=Object.freeze({aborted:jn.red(an.cross),done:jn.green(an.tick),exited:jn.yellow(an.cross),default:jn.cyan("?")}),Zx=(r,e,t)=>e?_a.aborted:t?_a.exited:r?_a.done:_a.default,Jx=r=>jn.gray(r?an.ellipsis:an.pointerSmall),Qx=(r,e)=>jn.gray(r?e?an.pointerSmall:"+":an.line);var e8={styles:$0,render:Xx,symbols:_a,symbol:Zx,delimiter:Jx,item:Qx};const t8=Vg;var r8=function(r,e){let t=String(t8(r)||"").split(/\r?\n/);return e?t.map(s=>Math.ceil(s.length/e)).reduce((s,n)=>s+n):t.length},i8=(r,e={})=>{const t=Number.isSafeInteger(parseInt(e.margin))?new Array(parseInt(e.margin)).fill(" ").join(""):e.margin||"",s=e.width;return(r||"").split(/\r?\n/g).map(n=>n.split(/\s+/g).reduce((o,a)=>(a.length+t.length>=s||o[o.length-1].length+a.length+1<s?o[o.length-1]+=` ${a}`:o.push(`${t}${a}`),o),[t]).join(`
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const de=require("node:path"),Bx=require("node:readline"),Ot=require("node:events"),xA=require("node:child_process"),lt=require("node:fs"),Qt=require("node:os"),rs=require("node:util"),Pe=require("node:fs/promises"),qt=require("node:url"),eh=require("node:http"),OA=require("node:https"),zg=require("node:assert"),th=require("node:buffer"),TA=require("node:zlib"),Vt=require("node:stream"),si=require("node:string_decoder"),qg=require("node:dns"),BA=require("node:crypto"),eu=require("node:net"),rh=require("node:tls"),IA=require("node:tty"),Ix=require("node:timers/promises"),Px=require("node:querystring"),Lx=require("node:stream/consumers"),kx=require("node:module");var fe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Qe(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function Nx(r){if(r.__esModule)return r;var e=r.default;if(typeof e=="function"){var t=function s(){return this instanceof s?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(r).forEach(function(s){var n=Object.getOwnPropertyDescriptor(r,s);Object.defineProperty(t,s,n.get?n:{enumerable:!0,get:function(){return r[s]}})}),t}var PA={};let S0,LA,kA,NA,MA=!0;typeof process<"u"&&({FORCE_COLOR:S0,NODE_DISABLE_COLORS:LA,NO_COLOR:kA,TERM:NA}=process.env||{},MA=process.stdout&&process.stdout.isTTY);const Ne={enabled:!LA&&kA==null&&NA!=="dumb"&&(S0!=null&&S0!=="0"||MA),reset:We(0,0),bold:We(1,22),dim:We(2,22),italic:We(3,23),underline:We(4,24),inverse:We(7,27),hidden:We(8,28),strikethrough:We(9,29),black:We(30,39),red:We(31,39),green:We(32,39),yellow:We(33,39),blue:We(34,39),magenta:We(35,39),cyan:We(36,39),white:We(37,39),gray:We(90,39),grey:We(90,39),bgBlack:We(40,49),bgRed:We(41,49),bgGreen:We(42,49),bgYellow:We(43,49),bgBlue:We(44,49),bgMagenta:We(45,49),bgCyan:We(46,49),bgWhite:We(47,49)};function Cy(r,e){let t=0,s,n="",o="";for(;t<r.length;t++)s=r[t],n+=s.open,o+=s.close,~e.indexOf(s.close)&&(e=e.replace(s.rgx,s.close+s.open));return n+e+o}function Mx(r,e){let t={has:r,keys:e};return t.reset=Ne.reset.bind(t),t.bold=Ne.bold.bind(t),t.dim=Ne.dim.bind(t),t.italic=Ne.italic.bind(t),t.underline=Ne.underline.bind(t),t.inverse=Ne.inverse.bind(t),t.hidden=Ne.hidden.bind(t),t.strikethrough=Ne.strikethrough.bind(t),t.black=Ne.black.bind(t),t.red=Ne.red.bind(t),t.green=Ne.green.bind(t),t.yellow=Ne.yellow.bind(t),t.blue=Ne.blue.bind(t),t.magenta=Ne.magenta.bind(t),t.cyan=Ne.cyan.bind(t),t.white=Ne.white.bind(t),t.gray=Ne.gray.bind(t),t.grey=Ne.grey.bind(t),t.bgBlack=Ne.bgBlack.bind(t),t.bgRed=Ne.bgRed.bind(t),t.bgGreen=Ne.bgGreen.bind(t),t.bgYellow=Ne.bgYellow.bind(t),t.bgBlue=Ne.bgBlue.bind(t),t.bgMagenta=Ne.bgMagenta.bind(t),t.bgCyan=Ne.bgCyan.bind(t),t.bgWhite=Ne.bgWhite.bind(t),t}function We(r,e){let t={open:`\x1B[${r}m`,close:`\x1B[${e}m`,rgx:new RegExp(`\\x1b\\[${e}m`,"g")};return function(s){return this!==void 0&&this.has!==void 0?(~this.has.indexOf(r)||(this.has.push(r),this.keys.push(t)),s===void 0?this:Ne.enabled?Cy(this.keys,s+""):s+""):s===void 0?Mx([r],[t]):Ne.enabled?Cy([t],s+""):s+""}}var Lr=Ne,jx=(r,e)=>{if(!(r.meta&&r.name!=="escape")){if(r.ctrl){if(r.name==="a")return"first";if(r.name==="c"||r.name==="d")return"abort";if(r.name==="e")return"last";if(r.name==="g")return"reset"}if(e){if(r.name==="j")return"down";if(r.name==="k")return"up"}return r.name==="return"||r.name==="enter"?"submit":r.name==="backspace"?"delete":r.name==="delete"?"deleteForward":r.name==="abort"?"abort":r.name==="escape"?"exit":r.name==="tab"?"next":r.name==="pagedown"?"nextPage":r.name==="pageup"?"prevPage":r.name==="home"?"home":r.name==="end"?"end":r.name==="up"?"up":r.name==="down"?"down":r.name==="right"?"right":r.name==="left"?"left":!1}},Vg=r=>{const e=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))"].join("|"),t=new RegExp(e,"g");return typeof r=="string"?r.replace(t,""):r};const C0="\x1B",Ze=`${C0}[`,Ux="\x07",F0={to(r,e){return e?`${Ze}${e+1};${r+1}H`:`${Ze}${r+1}G`},move(r,e){let t="";return r<0?t+=`${Ze}${-r}D`:r>0&&(t+=`${Ze}${r}C`),e<0?t+=`${Ze}${-e}A`:e>0&&(t+=`${Ze}${e}B`),t},up:(r=1)=>`${Ze}${r}A`,down:(r=1)=>`${Ze}${r}B`,forward:(r=1)=>`${Ze}${r}C`,backward:(r=1)=>`${Ze}${r}D`,nextLine:(r=1)=>`${Ze}E`.repeat(r),prevLine:(r=1)=>`${Ze}F`.repeat(r),left:`${Ze}G`,hide:`${Ze}?25l`,show:`${Ze}?25h`,save:`${C0}7`,restore:`${C0}8`},Hx={up:(r=1)=>`${Ze}S`.repeat(r),down:(r=1)=>`${Ze}T`.repeat(r)},Gx={screen:`${Ze}2J`,up:(r=1)=>`${Ze}1J`.repeat(r),down:(r=1)=>`${Ze}J`.repeat(r),line:`${Ze}2K`,lineEnd:`${Ze}K`,lineStart:`${Ze}1K`,lines(r){let e="";for(let t=0;t<r;t++)e+=this.line+(t<r-1?F0.up():"");return r&&(e+=F0.left),e}};var kr={cursor:F0,scroll:Hx,erase:Gx,beep:Ux};const Wx=Vg,{erase:Fy,cursor:zx}=kr,qx=r=>[...Wx(r)].length;var Vx=function(r,e){if(!e)return Fy.line+zx.to(0);let t=0;const s=r.split(/\r?\n/);for(let n of s)t+=1+Math.floor(Math.max(qx(n)-1,0)/e);return Fy.lines(t)};const va={arrowUp:"↑",arrowDown:"↓",arrowLeft:"←",arrowRight:"→",radioOn:"◉",radioOff:"◯",tick:"✔",cross:"✖",ellipsis:"…",pointerSmall:"›",line:"─",pointer:"❯"},Yx={arrowUp:va.arrowUp,arrowDown:va.arrowDown,arrowLeft:va.arrowLeft,arrowRight:va.arrowRight,radioOn:"(*)",radioOff:"( )",tick:"√",cross:"×",ellipsis:"...",pointerSmall:"»",line:"─",pointer:">"},Kx=process.platform==="win32"?Yx:va;var jA=Kx;const jn=Lr,an=jA,$0=Object.freeze({password:{scale:1,render:r=>"*".repeat(r.length)},emoji:{scale:2,render:r=>"😃".repeat(r.length)},invisible:{scale:0,render:r=>""},default:{scale:1,render:r=>`${r}`}}),Xx=r=>$0[r]||$0.default,_a=Object.freeze({aborted:jn.red(an.cross),done:jn.green(an.tick),exited:jn.yellow(an.cross),default:jn.cyan("?")}),Zx=(r,e,t)=>e?_a.aborted:t?_a.exited:r?_a.done:_a.default,Jx=r=>jn.gray(r?an.ellipsis:an.pointerSmall),Qx=(r,e)=>jn.gray(r?e?an.pointerSmall:"+":an.line);var e8={styles:$0,render:Xx,symbols:_a,symbol:Zx,delimiter:Jx,item:Qx};const t8=Vg;var r8=function(r,e){let t=String(t8(r)||"").split(/\r?\n/);return e?t.map(s=>Math.ceil(s.length/e)).reduce((s,n)=>s+n):t.length},i8=(r,e={})=>{const t=Number.isSafeInteger(parseInt(e.margin))?new Array(parseInt(e.margin)).fill(" ").join(""):e.margin||"",s=e.width;return(r||"").split(/\r?\n/g).map(n=>n.split(/\s+/g).reduce((o,a)=>(a.length+t.length>=s||o[o.length-1].length+a.length+1<s?o[o.length-1]+=` ${a}`:o.push(`${t}${a}`),o),[t]).join(`
2
2
  `)).join(`
3
3
  `)},s8=(r,e,t)=>{t=t||e;let s=Math.min(e-t,r-Math.floor(t/2));s<0&&(s=0);let n=Math.min(s+t,e);return{startIndex:s,endIndex:n}},ni={action:jx,clear:Vx,style:e8,strip:Vg,figures:jA,lines:r8,wrap:i8,entriesToDisplay:s8};const $y=Bx,{action:n8}=ni,o8=Ot,{beep:a8,cursor:u8}=kr,c8=Lr;let l8=class extends o8{constructor(e={}){super(),this.firstRender=!0,this.in=e.stdin||process.stdin,this.out=e.stdout||process.stdout,this.onRender=(e.onRender||(()=>{})).bind(this);const t=$y.createInterface({input:this.in,escapeCodeTimeout:50});$y.emitKeypressEvents(this.in,t),this.in.isTTY&&this.in.setRawMode(!0);const s=["SelectPrompt","MultiselectPrompt"].indexOf(this.constructor.name)>-1,n=(o,a)=>{let u=n8(a,s);u===!1?this._&&this._(o,a):typeof this[u]=="function"?this[u](a):this.bell()};this.close=()=>{this.out.write(u8.show),this.in.removeListener("keypress",n),this.in.isTTY&&this.in.setRawMode(!1),t.close(),this.emit(this.aborted?"abort":this.exited?"exit":"submit",this.value),this.closed=!0},this.in.on("keypress",n)}fire(){this.emit("state",{value:this.value,aborted:!!this.aborted,exited:!!this.exited})}bell(){this.out.write(a8)}render(){this.onRender(c8),this.firstRender&&(this.firstRender=!1)}};var Ps=l8;const ku=Lr,h8=Ps,{erase:f8,cursor:Co}=kr,{style:df,clear:pf,lines:d8,figures:p8}=ni;class g8 extends h8{constructor(e={}){super(e),this.transform=df.render(e.style),this.scale=this.transform.scale,this.msg=e.message,this.initial=e.initial||"",this.validator=e.validate||(()=>!0),this.value="",this.errorMsg=e.error||"Please Enter A Valid Value",this.cursor=+!!this.initial,this.cursorOffset=0,this.clear=pf("",this.out.columns),this.render()}set value(e){!e&&this.initial?(this.placeholder=!0,this.rendered=ku.gray(this.transform.render(this.initial))):(this.placeholder=!1,this.rendered=this.transform.render(e)),this._value=e,this.fire()}get value(){return this._value}reset(){this.value="",this.cursor=+!!this.initial,this.cursorOffset=0,this.fire(),this.render()}exit(){this.abort()}abort(){this.value=this.value||this.initial,this.done=this.aborted=!0,this.error=!1,this.red=!1,this.fire(),this.render(),this.out.write(`
4
4
  `),this.close()}async validate(){let e=await this.validator(this.value);typeof e=="string"&&(this.errorMsg=e,e=!1),this.error=!e}async submit(){if(this.value=this.value||this.initial,this.cursorOffset=0,this.cursor=this.rendered.length,await this.validate(),this.error){this.red=!0,this.fire(),this.render();return}this.done=!0,this.aborted=!1,this.fire(),this.render(),this.out.write(`
@@ -51,12 +51,12 @@ Filtered results for: ${this.inputValue?this.inputValue:ci.gray("Enter something
51
51
  `)!=-1,b=this._styles,w=b.length;w--;){var v=s[b[w]];E=v.open+E.replace(v.closeRe,v.open)+v.close,D&&(E=E.replace(o,function(_){return v.close+_+v.open}))}return E}e.setTheme=function(m){if(typeof m=="string"){console.log("colors.setTheme now only accepts an object, not a string. If you are trying to set a theme from a file, it is now your (the caller's) responsibility to require the file. The old syntax looked like colors.setTheme(__dirname + '/../themes/generic-logging.js'); The new syntax looks like colors.setTheme(require(__dirname + '/../themes/generic-logging.js'));");return}for(var E in m)(function(D){e[D]=function(b){if(typeof m[D]=="object"){var w=b;for(var v in m[D])w=e[m[D][v]](w);return w}return e[m[D]](b)}})(E)};function f(){var m={};return Object.keys(l).forEach(function(E){m[E]={get:function(){return c([E])}}}),m}var p=function(E,D){var b=D.split("");return b=b.map(E),b.join("")};e.trap=nT(),e.zalgo=oT(),e.maps={},e.maps.america=aT()(e),e.maps.zebra=uT()(e),e.maps.rainbow=cT()(e),e.maps.random=lT()(e);for(var g in e.maps)(function(m){e[m]=function(E){return p(e.maps[m],E)}})(g);n(e,f())}(Af)),Af.exports}var pD;function fT(){return pD||(pD=1,function(r){var e=hT();r.exports=e}(_f)),_f.exports}const{info:dT,debug:nS}=rm,dr=iS;let pT=class ul{constructor(e){this.setOptions(e),this.x=null,this.y=null}setOptions(e){["boolean","number","bigint","string"].indexOf(typeof e)!==-1&&(e={content:""+e}),e=e||{},this.options=e;let t=e.content;if(["boolean","number","bigint","string"].indexOf(typeof t)!==-1)this.content=String(t);else if(!t)this.content=this.options.href||"";else throw new Error("Content needs to be a primitive, got: "+typeof t);this.colSpan=e.colSpan||1,this.rowSpan=e.rowSpan||1,this.options.href&&Object.defineProperty(this,"href",{get(){return this.options.href}})}mergeTableOptions(e,t){this.cells=t;let s=this.options.chars||{},n=e.chars,o=this.chars={};mT.forEach(function(c){If(s,n,c,o)}),this.truncate=this.options.truncate||e.truncate;let a=this.options.style=this.options.style||{},u=e.style;If(a,u,"padding-left",this),If(a,u,"padding-right",this),this.head=a.head||u.head,this.border=a.border||u.border,this.fixedWidth=e.colWidths[this.x],this.lines=this.computeLines(e),this.desiredWidth=dr.strlen(this.content)+this.paddingLeft+this.paddingRight,this.desiredHeight=this.lines.length}computeLines(e){const t=e.wordWrap||e.textWrap,{wordWrap:s=t}=this.options;if(this.fixedWidth&&s){if(this.fixedWidth-=this.paddingLeft+this.paddingRight,this.colSpan){let a=1;for(;a<this.colSpan;)this.fixedWidth+=e.colWidths[this.x+a],a++}const{wrapOnWordBoundary:n=!0}=e,{wrapOnWordBoundary:o=n}=this.options;return this.wrapLines(dr.wordWrap(this.fixedWidth,this.content,o))}return this.wrapLines(this.content.split(`
52
52
  `))}wrapLines(e){const t=dr.colorizeLines(e);return this.href?t.map(s=>dr.hyperlink(this.href,s)):t}init(e){let t=this.x,s=this.y;this.widths=e.colWidths.slice(t,t+this.colSpan),this.heights=e.rowHeights.slice(s,s+this.rowSpan),this.width=this.widths.reduce(mD,-1),this.height=this.heights.reduce(mD,-1),this.hAlign=this.options.hAlign||e.colAligns[t],this.vAlign=this.options.vAlign||e.rowAligns[s],this.drawRight=t+this.colSpan==e.colWidths.length}draw(e,t){if(e=="top")return this.drawTop(this.drawRight);if(e=="bottom")return this.drawBottom(this.drawRight);let s=dr.truncate(this.content,10,this.truncate);e||dT(`${this.y}-${this.x}: ${this.rowSpan-e}x${this.colSpan} Cell ${s}`);let n=Math.max(this.height-this.lines.length,0),o;switch(this.vAlign){case"center":o=Math.ceil(n/2);break;case"bottom":o=n;break;default:o=0}if(e<o||e>=o+this.lines.length)return this.drawEmpty(this.drawRight,t);let a=this.lines.length>this.height&&e+1>=this.height;return this.drawLine(e-o,this.drawRight,a,t)}drawTop(e){let t=[];return this.cells?this.widths.forEach(function(s,n){t.push(this._topLeftChar(n)),t.push(dr.repeat(this.chars[this.y==0?"top":"mid"],s))},this):(t.push(this._topLeftChar(0)),t.push(dr.repeat(this.chars[this.y==0?"top":"mid"],this.width))),e&&t.push(this.chars[this.y==0?"topRight":"rightMid"]),this.wrapWithStyleColors("border",t.join(""))}_topLeftChar(e){let t=this.x+e,s;if(this.y==0)s=t==0?"topLeft":e==0?"topMid":"top";else if(t==0)s="leftMid";else if(s=e==0?"midMid":"bottomMid",this.cells&&(this.cells[this.y-1][t]instanceof ul.ColSpanCell&&(s=e==0?"topMid":"mid"),e==0)){let o=1;for(;this.cells[this.y][t-o]instanceof ul.ColSpanCell;)o++;this.cells[this.y][t-o]instanceof ul.RowSpanCell&&(s="leftMid")}return this.chars[s]}wrapWithStyleColors(e,t){if(this[e]&&this[e].length)try{let s=fT();for(let n=this[e].length-1;n>=0;n--)s=s[this[e][n]];return s(t)}catch{return t}else return t}drawLine(e,t,s,n){let o=this.chars[this.x==0?"left":"middle"];if(this.x&&n&&this.cells){let f=this.cells[this.y+n][this.x-1];for(;f instanceof T0;)f=this.cells[f.y][f.x-1];f instanceof B0||(o=this.chars.rightMid)}let a=dr.repeat(" ",this.paddingLeft),u=t?this.chars.right:"",c=dr.repeat(" ",this.paddingRight),l=this.lines[e],h=this.width-(this.paddingLeft+this.paddingRight);s&&(l+=this.truncate||"…");let d=dr.truncate(l,h,this.truncate);return d=dr.pad(d,h," ",this.hAlign),d=a+d+c,this.stylizeLine(o,d,u)}stylizeLine(e,t,s){return e=this.wrapWithStyleColors("border",e),s=this.wrapWithStyleColors("border",s),this.y===0&&(t=this.wrapWithStyleColors("head",t)),e+t+s}drawBottom(e){let t=this.chars[this.x==0?"bottomLeft":"bottomMid"],s=dr.repeat(this.chars.bottom,this.width),n=e?this.chars.bottomRight:"";return this.wrapWithStyleColors("border",t+s+n)}drawEmpty(e,t){let s=this.chars[this.x==0?"left":"middle"];if(this.x&&t&&this.cells){let a=this.cells[this.y+t][this.x-1];for(;a instanceof T0;)a=this.cells[a.y][a.x-1];a instanceof B0||(s=this.chars.rightMid)}let n=e?this.chars.right:"",o=dr.repeat(" ",this.width);return this.stylizeLine(s,o,n)}},T0=class{constructor(){}draw(e){return typeof e=="number"&&nS(`${this.y}-${this.x}: 1x1 ColSpanCell`),""}init(){}mergeTableOptions(){}},B0=class{constructor(e){this.originalCell=e}init(e){let t=this.y,s=this.originalCell.y;this.cellOffset=t-s,this.offset=gT(e.rowHeights,s,this.cellOffset)}draw(e){return e=="top"?this.originalCell.draw(this.offset,this.cellOffset):e=="bottom"?this.originalCell.draw("bottom"):(nS(`${this.y}-${this.x}: 1x${this.colSpan} RowSpanCell for ${this.originalCell.content}`),this.originalCell.draw(this.offset+1+e))}mergeTableOptions(){}};function gD(...r){return r.filter(e=>e!=null).shift()}function If(r,e,t,s){let n=t.split("-");n.length>1?(n[1]=n[1].charAt(0).toUpperCase()+n[1].substr(1),n=n.join(""),s[n]=gD(r[n],r[t],e[n],e[t])):s[t]=gD(r[t],e[t])}function gT(r,e,t){let s=r[e];for(let n=1;n<t;n++)s+=1+r[e+n];return s}function mD(r,e){return r+e+1}let mT=["top","top-mid","top-left","top-right","bottom","bottom-mid","bottom-left","bottom-right","left","left-mid","mid","mid-mid","right","right-mid","middle"];ih.exports=pT;ih.exports.ColSpanCell=T0;ih.exports.RowSpanCell=B0;var yT=ih.exports;const{warn:DT,debug:ET}=rm,I0=yT,{ColSpanCell:bT,RowSpanCell:wT}=I0;(function(){function r(p,g){return p[g]>0?r(p,g+1):g}function e(p){let g={};p.forEach(function(m,E){let D=0;m.forEach(function(b){b.y=E,b.x=E?r(g,D):D;const w=b.rowSpan||1,v=b.colSpan||1;if(w>1)for(let _=0;_<v;_++)g[b.x+_]=w;D=b.x+v}),Object.keys(g).forEach(b=>{g[b]--,g[b]<1&&delete g[b]})})}function t(p){let g=0;return p.forEach(function(m){m.forEach(function(E){g=Math.max(g,E.x+(E.colSpan||1))})}),g}function s(p){return p.length}function n(p,g){let m=p.y,E=p.y-1+(p.rowSpan||1),D=g.y,b=g.y-1+(g.rowSpan||1),w=!(m>b||D>E),v=p.x,_=p.x-1+(p.colSpan||1),R=g.x,P=g.x-1+(g.colSpan||1),M=!(v>P||R>_);return w&&M}function o(p,g,m){let E=Math.min(p.length-1,m),D={x:g,y:m};for(let b=0;b<=E;b++){let w=p[b];for(let v=0;v<w.length;v++)if(n(D,w[v]))return!0}return!1}function a(p,g,m,E){for(let D=m;D<E;D++)if(o(p,D,g))return!1;return!0}function u(p){p.forEach(function(g,m){g.forEach(function(E){for(let D=1;D<E.rowSpan;D++){let b=new wT(E);b.x=E.x,b.y=E.y+D,b.colSpan=E.colSpan,l(b,p[m+D])}})})}function c(p){for(let g=p.length-1;g>=0;g--){let m=p[g];for(let E=0;E<m.length;E++){let D=m[E];for(let b=1;b<D.colSpan;b++){let w=new bT;w.x=D.x+b,w.y=D.y,m.splice(E+1,0,w)}}}}function l(p,g){let m=0;for(;m<g.length&&g[m].x<p.x;)m++;g.splice(m,0,p)}function h(p){let g=s(p),m=t(p);ET(`Max rows: ${g}; Max cols: ${m}`);for(let E=0;E<g;E++)for(let D=0;D<m;D++)if(!o(p,D,E)){let b={x:D,y:E,colSpan:1,rowSpan:1};for(D++;D<m&&!o(p,D,E);)b.colSpan++,D++;let w=E+1;for(;w<g&&a(p,w,b.x,b.x+b.colSpan);)b.rowSpan++,w++;let v=new I0(b);v.x=b.x,v.y=b.y,DT(`Missing cell at ${v.y}-${v.x}.`),l(v,p[E])}}function d(p){return p.map(function(g){if(!Array.isArray(g)){let m=Object.keys(g)[0];g=g[m],Array.isArray(g)?(g=g.slice(),g.unshift(m)):g=[m,g]}return g.map(function(m){return new I0(m)})})}function f(p){let g=d(p);return e(g),h(g),u(g),c(g),g}sS.exports={makeTableLayout:f,layoutTable:e,addRowSpanCells:u,maxWidth:t,fillInTable:h,computeWidths:yD("colSpan","desiredWidth","x",1),computeHeights:yD("rowSpan","desiredHeight","y",1)}})();function yD(r,e,t,s){return function(n,o){let a=[],u=[],c={};o.forEach(function(l){l.forEach(function(h){(h[r]||1)>1?u.push(h):a[h[t]]=Math.max(a[h[t]]||0,h[e]||0,s)})}),n.forEach(function(l,h){typeof l=="number"&&(a[h]=l)});for(let l=u.length-1;l>=0;l--){let h=u[l],d=h[r],f=h[t],p=a[f],g=typeof n[f]=="number"?0:1;if(typeof p=="number")for(let m=1;m<d;m++)p+=1+a[f+m],typeof n[f+m]!="number"&&g++;else p=e==="desiredWidth"?h.desiredWidth-1:1,(!c[f]||c[f]<p)&&(c[f]=p);if(h[e]>p){let m=0;for(;g>0&&h[e]>p;){if(typeof n[f+m]!="number"){let E=Math.round((h[e]-p)/g);p+=E,a[f+m]+=E,g--}m++}}}Object.assign(n,a,c);for(let l=0;l<n.length;l++)n[l]=Math.max(s,n[l]||0)}}var vT=sS.exports;const qi=rm,_T=iS,Pf=vT;let oS=class extends Array{constructor(e){super();const t=_T.mergeOptions(e);if(Object.defineProperty(this,"options",{value:t,enumerable:t.debug}),t.debug){switch(typeof t.debug){case"boolean":qi.setDebugLevel(qi.WARN);break;case"number":qi.setDebugLevel(t.debug);break;case"string":qi.setDebugLevel(parseInt(t.debug,10));break;default:qi.setDebugLevel(qi.WARN),qi.warn(`Debug option is expected to be boolean, number, or string. Received a ${typeof t.debug}`)}Object.defineProperty(this,"messages",{get(){return qi.debugMessages()}})}}toString(){let e=this,t=this.options.head&&this.options.head.length;t?(e=[this.options.head],this.length&&e.push.apply(e,this)):this.options.style.head=[];let s=Pf.makeTableLayout(e);s.forEach(function(o){o.forEach(function(a){a.mergeTableOptions(this.options,s)},this)},this),Pf.computeWidths(this.options.colWidths,s),Pf.computeHeights(this.options.rowHeights,s),s.forEach(function(o){o.forEach(function(a){a.init(this.options)},this)},this);let n=[];for(let o=0;o<s.length;o++){let a=s[o],u=this.options.rowHeights[o];(o===0||!this.options.style.compact||o==1&&t)&&Lf(a,"top",n);for(let c=0;c<u;c++)Lf(a,c,n);o+1==s.length&&Lf(a,"bottom",n)}return n.join(`
53
53
  `)}get width(){return this.toString().split(`
54
- `)[0].length}};oS.reset=()=>qi.reset();function Lf(r,e,t){let s=[];r.forEach(function(o){s.push(o.draw(e))});let n=s.join("");n.length&&t.push(n)}var AT=oS,ST=AT;const nm=Qe(ST);function qe(r,e,t={}){const s=Array.isArray(r);return e=e||(n=>({[n]:!0})),Object.entries(r||{}).forEach(([n,o],a)=>{const u=s?e(o,a,t):e(n,o,t);Object.entries(u||{}).forEach(c=>{t[c[0]]=c[1]})}),t}const aS={blue:!0,bold:!0,cyan:!0,gray:!0,green:!0,magenta:!0,red:!0,yellow:!0},CT=qe(aS,r=>({[r]:e=>e.toString()}));let Rl;const om=async r=>{const e=await Promise.resolve().then(()=>require("./index-BmUFwMVL.js")),{default:t,Chalk:s}=e;Rl=r===!0?new s({level:1}):r===null?CT:t},DD=()=>{if(!Rl)throw new Error("Chalk has not been imported yet. Chalk is a dynamic import and requires that you await { chalkInit } from './lib/chalk'.")},W=qe(aS,r=>{const e=s=>(DD(),Rl[r].bold(s)),t=s=>(DD(),Rl[r](s));return t.bold=e,{[r]:t}}),un=(r,e)=>qe(r,(t,s)=>e(t,s)?{[t]:s}:null);var ao={};Object.defineProperty(ao,"__esModule",{value:!0});ao.LRUCache=void 0;const En=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,uS=new Set,P0=typeof process=="object"&&process?process:{},cS=(r,e,t,s)=>{typeof P0.emitWarning=="function"?P0.emitWarning(r,e,t,s):console.error(`[${t}] ${e}: ${r}`)};let xl=globalThis.AbortController,ED=globalThis.AbortSignal;if(typeof xl>"u"){ED=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(s,n){this._onabort.push(n)}},xl=class{constructor(){e()}signal=new ED;abort(s){if(!this.signal.aborted){this.signal.reason=s,this.signal.aborted=!0;for(const n of this.signal._onabort)n(s);this.signal.onabort?.(s)}}};let r=P0.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1";const e=()=>{r&&(r=!1,cS("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",e))}}const FT=r=>!uS.has(r),ms=r=>r&&r===Math.floor(r)&&r>0&&isFinite(r),lS=r=>ms(r)?r<=Math.pow(2,8)?Uint8Array:r<=Math.pow(2,16)?Uint16Array:r<=Math.pow(2,32)?Uint32Array:r<=Number.MAX_SAFE_INTEGER?cl:null:null;let cl=class extends Array{constructor(e){super(e),this.fill(0)}},$T=class Sa{heap;length;static#e=!1;static create(e){const t=lS(e);if(!t)return[];Sa.#e=!0;const s=new Sa(e,t);return Sa.#e=!1,s}constructor(e,t){if(!Sa.#e)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new t(e),this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}},RT=class hS{#e;#i;#r;#s;#c;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#a;#h;#o;#n;#t;#g;#y;#d;#f;#b;#p;#A;#S;#w;#E;#$;#m;static unsafeExposeInternals(e){return{starts:e.#S,ttls:e.#w,sizes:e.#A,keyMap:e.#o,keyList:e.#n,valList:e.#t,next:e.#g,prev:e.#y,get head(){return e.#d},get tail(){return e.#f},free:e.#b,isBackgroundFetch:t=>e.#u(t),backgroundFetch:(t,s,n,o)=>e.#B(t,s,n,o),moveToTail:t=>e.#x(t),indexes:t=>e.#_(t),rindexes:t=>e.#C(t),isStale:t=>e.#D(t)}}get max(){return this.#e}get maxSize(){return this.#i}get calculatedSize(){return this.#h}get size(){return this.#a}get fetchMethod(){return this.#c}get dispose(){return this.#r}get disposeAfter(){return this.#s}constructor(e){const{max:t=0,ttl:s,ttlResolution:n=1,ttlAutopurge:o,updateAgeOnGet:a,updateAgeOnHas:u,allowStale:c,dispose:l,disposeAfter:h,noDisposeOnSet:d,noUpdateTTL:f,maxSize:p=0,maxEntrySize:g=0,sizeCalculation:m,fetchMethod:E,noDeleteOnFetchRejection:D,noDeleteOnStaleGet:b,allowStaleOnFetchRejection:w,allowStaleOnFetchAbort:v,ignoreFetchAbort:_}=e;if(t!==0&&!ms(t))throw new TypeError("max option must be a nonnegative integer");const R=t?lS(t):Array;if(!R)throw new Error("invalid max value: "+t);if(this.#e=t,this.#i=p,this.maxEntrySize=g||this.#i,this.sizeCalculation=m,this.sizeCalculation){if(!this.#i&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(E!==void 0&&typeof E!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#c=E,this.#$=!!E,this.#o=new Map,this.#n=new Array(t).fill(void 0),this.#t=new Array(t).fill(void 0),this.#g=new R(t),this.#y=new R(t),this.#d=0,this.#f=0,this.#b=$T.create(t),this.#a=0,this.#h=0,typeof l=="function"&&(this.#r=l),typeof h=="function"?(this.#s=h,this.#p=[]):(this.#s=void 0,this.#p=void 0),this.#E=!!this.#r,this.#m=!!this.#s,this.noDisposeOnSet=!!d,this.noUpdateTTL=!!f,this.noDeleteOnFetchRejection=!!D,this.allowStaleOnFetchRejection=!!w,this.allowStaleOnFetchAbort=!!v,this.ignoreFetchAbort=!!_,this.maxEntrySize!==0){if(this.#i!==0&&!ms(this.#i))throw new TypeError("maxSize must be a positive integer if specified");if(!ms(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#I()}if(this.allowStale=!!c,this.noDeleteOnStaleGet=!!b,this.updateAgeOnGet=!!a,this.updateAgeOnHas=!!u,this.ttlResolution=ms(n)||n===0?n:1,this.ttlAutopurge=!!o,this.ttl=s||0,this.ttl){if(!ms(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#O()}if(this.#e===0&&this.ttl===0&&this.#i===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#e&&!this.#i){const P="LRU_CACHE_UNBOUNDED";FT(P)&&(uS.add(P),cS("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",P,hS))}}getRemainingTTL(e){return this.#o.has(e)?1/0:0}#O(){const e=new cl(this.#e),t=new cl(this.#e);this.#w=e,this.#S=t,this.#l=(o,a,u=En.now())=>{if(t[o]=a!==0?u:0,e[o]=a,a!==0&&this.ttlAutopurge){const c=setTimeout(()=>{this.#D(o)&&this.delete(this.#n[o])},a+1);c.unref&&c.unref()}},this.#R=o=>{t[o]=e[o]!==0?En.now():0},this.#v=(o,a)=>{if(e[a]){const u=e[a],c=t[a];if(!u||!c)return;o.ttl=u,o.start=c,o.now=s||n();const l=o.now-c;o.remainingTTL=u-l}};let s=0;const n=()=>{const o=En.now();if(this.ttlResolution>0){s=o;const a=setTimeout(()=>s=0,this.ttlResolution);a.unref&&a.unref()}return o};this.getRemainingTTL=o=>{const a=this.#o.get(o);if(a===void 0)return 0;const u=e[a],c=t[a];if(!u||!c)return 1/0;const l=(s||n())-c;return u-l},this.#D=o=>{const a=t[o],u=e[o];return!!u&&!!a&&(s||n())-a>u}}#R=()=>{};#v=()=>{};#l=()=>{};#D=()=>!1;#I(){const e=new cl(this.#e);this.#h=0,this.#A=e,this.#F=t=>{this.#h-=e[t],e[t]=0},this.#L=(t,s,n,o)=>{if(this.#u(s))return 0;if(!ms(n))if(o){if(typeof o!="function")throw new TypeError("sizeCalculation must be a function");if(n=o(s,t),!ms(n))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return n},this.#P=(t,s,n)=>{if(e[t]=s,this.#i){const o=this.#i-e[t];for(;this.#h>o;)this.#T(!0)}this.#h+=e[t],n&&(n.entrySize=s,n.totalCalculatedSize=this.#h)}}#F=e=>{};#P=(e,t,s)=>{};#L=(e,t,s,n)=>{if(s||n)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#_({allowStale:e=this.allowStale}={}){if(this.#a)for(let t=this.#f;!(!this.#k(t)||((e||!this.#D(t))&&(yield t),t===this.#d));)t=this.#y[t]}*#C({allowStale:e=this.allowStale}={}){if(this.#a)for(let t=this.#d;!(!this.#k(t)||((e||!this.#D(t))&&(yield t),t===this.#f));)t=this.#g[t]}#k(e){return e!==void 0&&this.#o.get(this.#n[e])===e}*entries(){for(const e of this.#_())this.#t[e]!==void 0&&this.#n[e]!==void 0&&!this.#u(this.#t[e])&&(yield[this.#n[e],this.#t[e]])}*rentries(){for(const e of this.#C())this.#t[e]!==void 0&&this.#n[e]!==void 0&&!this.#u(this.#t[e])&&(yield[this.#n[e],this.#t[e]])}*keys(){for(const e of this.#_()){const t=this.#n[e];t!==void 0&&!this.#u(this.#t[e])&&(yield t)}}*rkeys(){for(const e of this.#C()){const t=this.#n[e];t!==void 0&&!this.#u(this.#t[e])&&(yield t)}}*values(){for(const e of this.#_())this.#t[e]!==void 0&&!this.#u(this.#t[e])&&(yield this.#t[e])}*rvalues(){for(const e of this.#C())this.#t[e]!==void 0&&!this.#u(this.#t[e])&&(yield this.#t[e])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(e,t={}){for(const s of this.#_()){const n=this.#t[s],o=this.#u(n)?n.__staleWhileFetching:n;if(o!==void 0&&e(o,this.#n[s],this))return this.get(this.#n[s],t)}}forEach(e,t=this){for(const s of this.#_()){const n=this.#t[s],o=this.#u(n)?n.__staleWhileFetching:n;o!==void 0&&e.call(t,o,this.#n[s],this)}}rforEach(e,t=this){for(const s of this.#C()){const n=this.#t[s],o=this.#u(n)?n.__staleWhileFetching:n;o!==void 0&&e.call(t,o,this.#n[s],this)}}purgeStale(){let e=!1;for(const t of this.#C({allowStale:!0}))this.#D(t)&&(this.delete(this.#n[t]),e=!0);return e}info(e){const t=this.#o.get(e);if(t===void 0)return;const s=this.#t[t],n=this.#u(s)?s.__staleWhileFetching:s;if(n===void 0)return;const o={value:n};if(this.#w&&this.#S){const a=this.#w[t],u=this.#S[t];if(a&&u){const c=a-(En.now()-u);o.ttl=c,o.start=Date.now()}}return this.#A&&(o.size=this.#A[t]),o}dump(){const e=[];for(const t of this.#_({allowStale:!0})){const s=this.#n[t],n=this.#t[t],o=this.#u(n)?n.__staleWhileFetching:n;if(o===void 0||s===void 0)continue;const a={value:o};if(this.#w&&this.#S){a.ttl=this.#w[t];const u=En.now()-this.#S[t];a.start=Math.floor(Date.now()-u)}this.#A&&(a.size=this.#A[t]),e.unshift([s,a])}return e}load(e){this.clear();for(const[t,s]of e){if(s.start){const n=Date.now()-s.start;s.start=En.now()-n}this.set(t,s.value,s)}}set(e,t,s={}){if(t===void 0)return this.delete(e),this;const{ttl:n=this.ttl,start:o,noDisposeOnSet:a=this.noDisposeOnSet,sizeCalculation:u=this.sizeCalculation,status:c}=s;let{noUpdateTTL:l=this.noUpdateTTL}=s;const h=this.#L(e,t,s.size||0,u);if(this.maxEntrySize&&h>this.maxEntrySize)return c&&(c.set="miss",c.maxEntrySizeExceeded=!0),this.delete(e),this;let d=this.#a===0?void 0:this.#o.get(e);if(d===void 0)d=this.#a===0?this.#f:this.#b.length!==0?this.#b.pop():this.#a===this.#e?this.#T(!1):this.#a,this.#n[d]=e,this.#t[d]=t,this.#o.set(e,d),this.#g[this.#f]=d,this.#y[d]=this.#f,this.#f=d,this.#a++,this.#P(d,h,c),c&&(c.set="add"),l=!1;else{this.#x(d);const f=this.#t[d];if(t!==f){if(this.#$&&this.#u(f)){f.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:p}=f;p!==void 0&&!a&&(this.#E&&this.#r?.(p,e,"set"),this.#m&&this.#p?.push([p,e,"set"]))}else a||(this.#E&&this.#r?.(f,e,"set"),this.#m&&this.#p?.push([f,e,"set"]));if(this.#F(d),this.#P(d,h,c),this.#t[d]=t,c){c.set="replace";const p=f&&this.#u(f)?f.__staleWhileFetching:f;p!==void 0&&(c.oldValue=p)}}else c&&(c.set="update")}if(n!==0&&!this.#w&&this.#O(),this.#w&&(l||this.#l(d,n,o),c&&this.#v(c,d)),!a&&this.#m&&this.#p){const f=this.#p;let p;for(;p=f?.shift();)this.#s?.(...p)}return this}pop(){try{for(;this.#a;){const e=this.#t[this.#d];if(this.#T(!0),this.#u(e)){if(e.__staleWhileFetching)return e.__staleWhileFetching}else if(e!==void 0)return e}}finally{if(this.#m&&this.#p){const e=this.#p;let t;for(;t=e?.shift();)this.#s?.(...t)}}}#T(e){const t=this.#d,s=this.#n[t],n=this.#t[t];return this.#$&&this.#u(n)?n.__abortController.abort(new Error("evicted")):(this.#E||this.#m)&&(this.#E&&this.#r?.(n,s,"evict"),this.#m&&this.#p?.push([n,s,"evict"])),this.#F(t),e&&(this.#n[t]=void 0,this.#t[t]=void 0,this.#b.push(t)),this.#a===1?(this.#d=this.#f=0,this.#b.length=0):this.#d=this.#g[t],this.#o.delete(s),this.#a--,t}has(e,t={}){const{updateAgeOnHas:s=this.updateAgeOnHas,status:n}=t,o=this.#o.get(e);if(o!==void 0){const a=this.#t[o];if(this.#u(a)&&a.__staleWhileFetching===void 0)return!1;if(this.#D(o))n&&(n.has="stale",this.#v(n,o));else return s&&this.#R(o),n&&(n.has="hit",this.#v(n,o)),!0}else n&&(n.has="miss");return!1}peek(e,t={}){const{allowStale:s=this.allowStale}=t,n=this.#o.get(e);if(n===void 0||!s&&this.#D(n))return;const o=this.#t[n];return this.#u(o)?o.__staleWhileFetching:o}#B(e,t,s,n){const o=t===void 0?void 0:this.#t[t];if(this.#u(o))return o;const a=new xl,{signal:u}=s;u?.addEventListener("abort",()=>a.abort(u.reason),{signal:a.signal});const c={signal:a.signal,options:s,context:n},l=(m,E=!1)=>{const{aborted:D}=a.signal,b=s.ignoreFetchAbort&&m!==void 0;if(s.status&&(D&&!E?(s.status.fetchAborted=!0,s.status.fetchError=a.signal.reason,b&&(s.status.fetchAbortIgnored=!0)):s.status.fetchResolved=!0),D&&!b&&!E)return d(a.signal.reason);const w=p;return this.#t[t]===p&&(m===void 0?w.__staleWhileFetching?this.#t[t]=w.__staleWhileFetching:this.delete(e):(s.status&&(s.status.fetchUpdated=!0),this.set(e,m,c.options))),m},h=m=>(s.status&&(s.status.fetchRejected=!0,s.status.fetchError=m),d(m)),d=m=>{const{aborted:E}=a.signal,D=E&&s.allowStaleOnFetchAbort,b=D||s.allowStaleOnFetchRejection,w=b||s.noDeleteOnFetchRejection,v=p;if(this.#t[t]===p&&(!w||v.__staleWhileFetching===void 0?this.delete(e):D||(this.#t[t]=v.__staleWhileFetching)),b)return s.status&&v.__staleWhileFetching!==void 0&&(s.status.returnedStale=!0),v.__staleWhileFetching;if(v.__returned===v)throw m},f=(m,E)=>{const D=this.#c?.(e,o,c);D&&D instanceof Promise&&D.then(b=>m(b===void 0?void 0:b),E),a.signal.addEventListener("abort",()=>{(!s.ignoreFetchAbort||s.allowStaleOnFetchAbort)&&(m(void 0),s.allowStaleOnFetchAbort&&(m=b=>l(b,!0)))})};s.status&&(s.status.fetchDispatched=!0);const p=new Promise(f).then(l,h),g=Object.assign(p,{__abortController:a,__staleWhileFetching:o,__returned:void 0});return t===void 0?(this.set(e,g,{...c.options,status:void 0}),t=this.#o.get(e)):this.#t[t]=g,g}#u(e){if(!this.#$)return!1;const t=e;return!!t&&t instanceof Promise&&t.hasOwnProperty("__staleWhileFetching")&&t.__abortController instanceof xl}async fetch(e,t={}){const{allowStale:s=this.allowStale,updateAgeOnGet:n=this.updateAgeOnGet,noDeleteOnStaleGet:o=this.noDeleteOnStaleGet,ttl:a=this.ttl,noDisposeOnSet:u=this.noDisposeOnSet,size:c=0,sizeCalculation:l=this.sizeCalculation,noUpdateTTL:h=this.noUpdateTTL,noDeleteOnFetchRejection:d=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:f=this.allowStaleOnFetchRejection,ignoreFetchAbort:p=this.ignoreFetchAbort,allowStaleOnFetchAbort:g=this.allowStaleOnFetchAbort,context:m,forceRefresh:E=!1,status:D,signal:b}=t;if(!this.#$)return D&&(D.fetch="get"),this.get(e,{allowStale:s,updateAgeOnGet:n,noDeleteOnStaleGet:o,status:D});const w={allowStale:s,updateAgeOnGet:n,noDeleteOnStaleGet:o,ttl:a,noDisposeOnSet:u,size:c,sizeCalculation:l,noUpdateTTL:h,noDeleteOnFetchRejection:d,allowStaleOnFetchRejection:f,allowStaleOnFetchAbort:g,ignoreFetchAbort:p,status:D,signal:b};let v=this.#o.get(e);if(v===void 0){D&&(D.fetch="miss");const _=this.#B(e,v,w,m);return _.__returned=_}else{const _=this.#t[v];if(this.#u(_)){const N=s&&_.__staleWhileFetching!==void 0;return D&&(D.fetch="inflight",N&&(D.returnedStale=!0)),N?_.__staleWhileFetching:_.__returned=_}const R=this.#D(v);if(!E&&!R)return D&&(D.fetch="hit"),this.#x(v),n&&this.#R(v),D&&this.#v(D,v),_;const P=this.#B(e,v,w,m),j=P.__staleWhileFetching!==void 0&&s;return D&&(D.fetch=R?"stale":"refresh",j&&R&&(D.returnedStale=!0)),j?P.__staleWhileFetching:P.__returned=P}}get(e,t={}){const{allowStale:s=this.allowStale,updateAgeOnGet:n=this.updateAgeOnGet,noDeleteOnStaleGet:o=this.noDeleteOnStaleGet,status:a}=t,u=this.#o.get(e);if(u!==void 0){const c=this.#t[u],l=this.#u(c);return a&&this.#v(a,u),this.#D(u)?(a&&(a.get="stale"),l?(a&&s&&c.__staleWhileFetching!==void 0&&(a.returnedStale=!0),s?c.__staleWhileFetching:void 0):(o||this.delete(e),a&&s&&(a.returnedStale=!0),s?c:void 0)):(a&&(a.get="hit"),l?c.__staleWhileFetching:(this.#x(u),n&&this.#R(u),c))}else a&&(a.get="miss")}#N(e,t){this.#y[t]=e,this.#g[e]=t}#x(e){e!==this.#f&&(e===this.#d?this.#d=this.#g[e]:this.#N(this.#y[e],this.#g[e]),this.#N(this.#f,e),this.#f=e)}delete(e){let t=!1;if(this.#a!==0){const s=this.#o.get(e);if(s!==void 0)if(t=!0,this.#a===1)this.clear();else{this.#F(s);const n=this.#t[s];if(this.#u(n)?n.__abortController.abort(new Error("deleted")):(this.#E||this.#m)&&(this.#E&&this.#r?.(n,e,"delete"),this.#m&&this.#p?.push([n,e,"delete"])),this.#o.delete(e),this.#n[s]=void 0,this.#t[s]=void 0,s===this.#f)this.#f=this.#y[s];else if(s===this.#d)this.#d=this.#g[s];else{const o=this.#y[s];this.#g[o]=this.#g[s];const a=this.#g[s];this.#y[a]=this.#y[s]}this.#a--,this.#b.push(s)}}if(this.#m&&this.#p?.length){const s=this.#p;let n;for(;n=s?.shift();)this.#s?.(...n)}return t}clear(){for(const e of this.#C({allowStale:!0})){const t=this.#t[e];if(this.#u(t))t.__abortController.abort(new Error("deleted"));else{const s=this.#n[e];this.#E&&this.#r?.(t,s,"delete"),this.#m&&this.#p?.push([t,s,"delete"])}}if(this.#o.clear(),this.#t.fill(void 0),this.#n.fill(void 0),this.#w&&this.#S&&(this.#w.fill(0),this.#S.fill(0)),this.#A&&this.#A.fill(0),this.#d=0,this.#f=0,this.#b.length=0,this.#h=0,this.#a=0,this.#m&&this.#p){const e=this.#p;let t;for(;t=e?.shift();)this.#s?.(...t)}}};ao.LRUCache=RT;const Le=(...r)=>r.every(e=>e)?r.join(""):"",dt=r=>r?encodeURIComponent(r):"",fS=r=>r.toLowerCase().replace(/^\W+|\/|\W+$/g,"").replace(/\W+/g,"-"),xT={sshtemplate:({domain:r,user:e,project:t,committish:s})=>`git@${r}:${e}/${t}.git${Le("#",s)}`,sshurltemplate:({domain:r,user:e,project:t,committish:s})=>`git+ssh://git@${r}/${e}/${t}.git${Le("#",s)}`,edittemplate:({domain:r,user:e,project:t,committish:s,editpath:n,path:o})=>`https://${r}/${e}/${t}${Le("/",n,"/",dt(s||"HEAD"),"/",o)}`,browsetemplate:({domain:r,user:e,project:t,committish:s,treepath:n})=>`https://${r}/${e}/${t}${Le("/",n,"/",dt(s))}`,browsetreetemplate:({domain:r,user:e,project:t,committish:s,treepath:n,path:o,fragment:a,hashformat:u})=>`https://${r}/${e}/${t}/${n}/${dt(s||"HEAD")}/${o}${Le("#",u(a||""))}`,browseblobtemplate:({domain:r,user:e,project:t,committish:s,blobpath:n,path:o,fragment:a,hashformat:u})=>`https://${r}/${e}/${t}/${n}/${dt(s||"HEAD")}/${o}${Le("#",u(a||""))}`,docstemplate:({domain:r,user:e,project:t,treepath:s,committish:n})=>`https://${r}/${e}/${t}${Le("/",s,"/",dt(n))}#readme`,httpstemplate:({auth:r,domain:e,user:t,project:s,committish:n})=>`git+https://${Le(r,"@")}${e}/${t}/${s}.git${Le("#",n)}`,filetemplate:({domain:r,user:e,project:t,committish:s,path:n})=>`https://${r}/${e}/${t}/raw/${dt(s||"HEAD")}/${n}`,shortcuttemplate:({type:r,user:e,project:t,committish:s})=>`${r}:${e}/${t}${Le("#",s)}`,pathtemplate:({user:r,project:e,committish:t})=>`${r}/${e}${Le("#",t)}`,bugstemplate:({domain:r,user:e,project:t})=>`https://${r}/${e}/${t}/issues`,hashformat:fS},xs={};xs.github={protocols:["git:","http:","git+ssh:","git+https:","ssh:","https:"],domain:"github.com",treepath:"tree",blobpath:"blob",editpath:"edit",filetemplate:({auth:r,user:e,project:t,committish:s,path:n})=>`https://${Le(r,"@")}raw.githubusercontent.com/${e}/${t}/${dt(s||"HEAD")}/${n}`,gittemplate:({auth:r,domain:e,user:t,project:s,committish:n})=>`git://${Le(r,"@")}${e}/${t}/${s}.git${Le("#",n)}`,tarballtemplate:({domain:r,user:e,project:t,committish:s})=>`https://codeload.${r}/${e}/${t}/tar.gz/${dt(s||"HEAD")}`,extract:r=>{let[,e,t,s,n]=r.pathname.split("/",5);if(!(s&&s!=="tree")&&(s||(n=r.hash.slice(1)),t&&t.endsWith(".git")&&(t=t.slice(0,-4)),!(!e||!t)))return{user:e,project:t,committish:n}}};xs.bitbucket={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"bitbucket.org",treepath:"src",blobpath:"src",editpath:"?mode=edit",edittemplate:({domain:r,user:e,project:t,committish:s,treepath:n,path:o,editpath:a})=>`https://${r}/${e}/${t}${Le("/",n,"/",dt(s||"HEAD"),"/",o,a)}`,tarballtemplate:({domain:r,user:e,project:t,committish:s})=>`https://${r}/${e}/${t}/get/${dt(s||"HEAD")}.tar.gz`,extract:r=>{let[,e,t,s]=r.pathname.split("/",4);if(!["get"].includes(s)&&(t&&t.endsWith(".git")&&(t=t.slice(0,-4)),!(!e||!t)))return{user:e,project:t,committish:r.hash.slice(1)}}};xs.gitlab={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"gitlab.com",treepath:"tree",blobpath:"tree",editpath:"-/edit",httpstemplate:({auth:r,domain:e,user:t,project:s,committish:n})=>`git+https://${Le(r,"@")}${e}/${t}/${s}.git${Le("#",n)}`,tarballtemplate:({domain:r,user:e,project:t,committish:s})=>`https://${r}/${e}/${t}/repository/archive.tar.gz?ref=${dt(s||"HEAD")}`,extract:r=>{const e=r.pathname.slice(1);if(e.includes("/-/")||e.includes("/archive.tar.gz"))return;const t=e.split("/");let s=t.pop();s.endsWith(".git")&&(s=s.slice(0,-4));const n=t.join("/");if(!(!n||!s))return{user:n,project:s,committish:r.hash.slice(1)}}};xs.gist={protocols:["git:","git+ssh:","git+https:","ssh:","https:"],domain:"gist.github.com",editpath:"edit",sshtemplate:({domain:r,project:e,committish:t})=>`git@${r}:${e}.git${Le("#",t)}`,sshurltemplate:({domain:r,project:e,committish:t})=>`git+ssh://git@${r}/${e}.git${Le("#",t)}`,edittemplate:({domain:r,user:e,project:t,committish:s,editpath:n})=>`https://${r}/${e}/${t}${Le("/",dt(s))}/${n}`,browsetemplate:({domain:r,project:e,committish:t})=>`https://${r}/${e}${Le("/",dt(t))}`,browsetreetemplate:({domain:r,project:e,committish:t,path:s,hashformat:n})=>`https://${r}/${e}${Le("/",dt(t))}${Le("#",n(s))}`,browseblobtemplate:({domain:r,project:e,committish:t,path:s,hashformat:n})=>`https://${r}/${e}${Le("/",dt(t))}${Le("#",n(s))}`,docstemplate:({domain:r,project:e,committish:t})=>`https://${r}/${e}${Le("/",dt(t))}`,httpstemplate:({domain:r,project:e,committish:t})=>`git+https://${r}/${e}.git${Le("#",t)}`,filetemplate:({user:r,project:e,committish:t,path:s})=>`https://gist.githubusercontent.com/${r}/${e}/raw${Le("/",dt(t))}/${s}`,shortcuttemplate:({type:r,project:e,committish:t})=>`${r}:${e}${Le("#",t)}`,pathtemplate:({project:r,committish:e})=>`${r}${Le("#",e)}`,bugstemplate:({domain:r,project:e})=>`https://${r}/${e}`,gittemplate:({domain:r,project:e,committish:t})=>`git://${r}/${e}.git${Le("#",t)}`,tarballtemplate:({project:r,committish:e})=>`https://codeload.github.com/gist/${r}/tar.gz/${dt(e||"HEAD")}`,extract:r=>{let[,e,t,s]=r.pathname.split("/",4);if(s!=="raw"){if(!t){if(!e)return;t=e,e=null}return t.endsWith(".git")&&(t=t.slice(0,-4)),{user:e,project:t,committish:r.hash.slice(1)}}},hashformat:function(r){return r&&"file-"+fS(r)}};xs.sourcehut={protocols:["git+ssh:","https:"],domain:"git.sr.ht",treepath:"tree",blobpath:"tree",filetemplate:({domain:r,user:e,project:t,committish:s,path:n})=>`https://${r}/${e}/${t}/blob/${dt(s)||"HEAD"}/${n}`,httpstemplate:({domain:r,user:e,project:t,committish:s})=>`https://${r}/${e}/${t}.git${Le("#",s)}`,tarballtemplate:({domain:r,user:e,project:t,committish:s})=>`https://${r}/${e}/${t}/archive/${dt(s)||"HEAD"}.tar.gz`,bugstemplate:()=>null,extract:r=>{let[,e,t,s]=r.pathname.split("/",4);if(!["archive"].includes(s)&&(t&&t.endsWith(".git")&&(t=t.slice(0,-4)),!(!e||!t)))return{user:e,project:t,committish:r.hash.slice(1)}}};for(const[r,e]of Object.entries(xs))xs[r]=Object.assign({},xT,e);var OT=xs;const TT=qt,kf=(r,e,t)=>{const s=r.indexOf(t);return r.lastIndexOf(e,s>-1?s:1/0)},bD=r=>{try{return new TT.URL(r)}catch{}},BT=(r,e)=>{const t=r.indexOf(":"),s=r.slice(0,t+1);if(Object.prototype.hasOwnProperty.call(e,s))return r;const n=r.indexOf("@");return n>-1?n>t?`git+ssh://${r}`:r:r.indexOf("//")===t+1?r:`${r.slice(0,t+1)}//${r.slice(t+1)}`},IT=r=>{const e=kf(r,"@","#"),t=kf(r,":","#");return t>e&&(r=r.slice(0,t)+"/"+r.slice(t+1)),kf(r,":","#")===-1&&r.indexOf("//")===-1&&(r=`git+ssh://${r}`),r};var dS=(r,e)=>{const t=e?BT(r,e):r;return bD(t)||bD(IT(t))};const PT=dS,LT=r=>{const e=r.indexOf("#"),t=r.indexOf("/"),s=r.indexOf("/",t+1),n=r.indexOf(":"),o=/\s/.exec(r),a=r.indexOf("@"),u=!o||e>-1&&o.index>e,c=a===-1||e>-1&&a>e,l=n===-1||e>-1&&n>e,h=s===-1||e>-1&&s>e,d=t>0,f=e>-1?r[e-1]!=="/":!r.endsWith("/"),p=!r.startsWith(".");return u&&d&&f&&p&&c&&l&&h};var kT=(r,e,{gitHosts:t,protocols:s})=>{if(!r)return;const n=LT(r)?`github:${r}`:r,o=PT(n,s);if(!o)return;const a=t.byShortcut[o.protocol],u=t.byDomain[o.hostname.startsWith("www.")?o.hostname.slice(4):o.hostname],c=a||u;if(!c)return;const l=t[a||u];let h=null;s[o.protocol]?.auth&&(o.username||o.password)&&(h=`${o.username}${o.password?":"+o.password:""}`);let d=null,f=null,p=null,g=null;try{if(a){let m=o.pathname.startsWith("/")?o.pathname.slice(1):o.pathname;const E=m.indexOf("@");E>-1&&(m=m.slice(E+1));const D=m.lastIndexOf("/");D>-1?(f=decodeURIComponent(m.slice(0,D)),f||(f=null),p=decodeURIComponent(m.slice(D+1))):p=decodeURIComponent(m),p.endsWith(".git")&&(p=p.slice(0,-4)),o.hash&&(d=decodeURIComponent(o.hash.slice(1))),g="shortcut"}else{if(!l.protocols.includes(o.protocol))return;const m=l.extract(o);if(!m)return;f=m.user&&decodeURIComponent(m.user),p=decodeURIComponent(m.project),d=decodeURIComponent(m.committish),g=s[o.protocol]?.name||o.protocol.slice(0,-1)}}catch(m){if(m instanceof URIError)return;throw m}return[c,f,h,p,d,g,e]};const{LRUCache:NT}=ao,MT=OT,jT=kT,UT=dS,Nf=new NT({max:1e3});class Or{constructor(e,t,s,n,o,a,u={}){Object.assign(this,Or.#e[e],{type:e,user:t,auth:s,project:n,committish:o,default:a,opts:u})}static#e={byShortcut:{},byDomain:{}};static#i={"git+ssh:":{name:"sshurl"},"ssh:":{name:"sshurl"},"git+https:":{name:"https",auth:!0},"git:":{auth:!0},"http:":{auth:!0},"https:":{auth:!0},"git+http:":{auth:!0}};static addHost(e,t){Or.#e[e]=t,Or.#e.byDomain[t.domain]=e,Or.#e.byShortcut[`${e}:`]=e,Or.#i[`${e}:`]={name:e}}static fromUrl(e,t){if(typeof e!="string")return;const s=e+JSON.stringify(t||{});if(!Nf.has(s)){const n=jT(e,t,{gitHosts:Or.#e,protocols:Or.#i});Nf.set(s,n?new Or(...n):void 0)}return Nf.get(s)}static parseUrl(e){return UT(e)}#r(e,t){if(typeof e!="function")return null;const s={...this,...this.opts,...t};s.path||(s.path=""),s.path.startsWith("/")&&(s.path=s.path.slice(1)),s.noCommittish&&(s.committish=null);const n=e(s);return s.noGitPlus&&n.startsWith("git+")?n.slice(4):n}hash(){return this.committish?`#${this.committish}`:""}ssh(e){return this.#r(this.sshtemplate,e)}sshurl(e){return this.#r(this.sshurltemplate,e)}browse(e,...t){return typeof e!="string"?this.#r(this.browsetemplate,e):typeof t[0]!="string"?this.#r(this.browsetreetemplate,{...t[0],path:e}):this.#r(this.browsetreetemplate,{...t[1],fragment:t[0],path:e})}browseFile(e,...t){return typeof t[0]!="string"?this.#r(this.browseblobtemplate,{...t[0],path:e}):this.#r(this.browseblobtemplate,{...t[1],fragment:t[0],path:e})}docs(e){return this.#r(this.docstemplate,e)}bugs(e){return this.#r(this.bugstemplate,e)}https(e){return this.#r(this.httpstemplate,e)}git(e){return this.#r(this.gittemplate,e)}shortcut(e){return this.#r(this.shortcuttemplate,e)}path(e){return this.#r(this.pathtemplate,e)}tarball(e){return this.#r(this.tarballtemplate,{...e,noCommittish:!1})}file(e,t){return this.#r(this.filetemplate,{...t,path:e})}edit(e,t){return this.#r(this.edittemplate,{...t,path:e})}getDefaultRepresentation(){return this.default}toString(e){return this.default&&typeof this[this.default]=="function"?this[this.default](e):this.sshurl(e)}}for(const[r,e]of Object.entries(MT))Or.addHost(r,e);var pS=Or;const HT=Qe(pS),Ua=r=>Pe.stat(r).then(()=>!0,()=>!1);async function GT(r,{pkgFile:e}={}){const t=require.resolve.paths(r)||[],s=e?[de.join(de.dirname(e),"node_modules")]:[],n=[de.join(process.cwd(),"node_modules")],o=[...s,...n,...t];for(const a of o){const u=de.join(a,r,"package.json");if(await Ua(u))try{return JSON.parse(await Pe.readFile(u,"utf-8")).repository}catch{}}return null}async function WT(r,e,{pkgFile:t}={}){const s=e?e.repository?e.repository:null:await GT(r,{pkgFile:t});if(!s)return null;let n,o="";if(typeof s=="string"){n=s;try{const a=new qt.URL(n);if(a.protocol==="https:"||a.protocol==="http:")return n}catch{}}else typeof s.url=="string"&&(n=s.url,typeof s.directory=="string"&&(o=s.directory));if(typeof n=="string"&&typeof o=="string"){const a=HT.fromUrl(n)?.browse(o);return a!==void 0?a.replace(/\/$/,"").replace(/\/tree\/HEAD$/,""):n}return null}var zT=Array.isArray,uo=zT,qT=typeof fe=="object"&&fe&&fe.Object===Object&&fe,VT=qT,YT=VT,KT=typeof self=="object"&&self&&self.Object===Object&&self,XT=YT||KT||Function("return this")(),Ls=XT,ZT=Ls,JT=ZT.Symbol,sh=JT,wD=sh,gS=Object.prototype,QT=gS.hasOwnProperty,e4=gS.toString,$o=wD?wD.toStringTag:void 0;function t4(r){var e=QT.call(r,$o),t=r[$o];try{r[$o]=void 0;var s=!0}catch{}var n=e4.call(r);return s&&(e?r[$o]=t:delete r[$o]),n}var r4=t4,i4=Object.prototype,s4=i4.toString;function n4(r){return s4.call(r)}var o4=n4,vD=sh,a4=r4,u4=o4,c4="[object Null]",l4="[object Undefined]",_D=vD?vD.toStringTag:void 0;function h4(r){return r==null?r===void 0?l4:c4:_D&&_D in Object(r)?a4(r):u4(r)}var am=h4;function f4(r){return r!=null&&typeof r=="object"}var nh=f4,d4=am,p4=nh,g4="[object Symbol]";function m4(r){return typeof r=="symbol"||p4(r)&&d4(r)==g4}var oh=m4,y4=uo,D4=oh,E4=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,b4=/^\w*$/;function w4(r,e){if(y4(r))return!1;var t=typeof r;return t=="number"||t=="symbol"||t=="boolean"||r==null||D4(r)?!0:b4.test(r)||!E4.test(r)||e!=null&&r in Object(e)}var v4=w4;function _4(r){var e=typeof r;return r!=null&&(e=="object"||e=="function")}var ru=_4,A4=am,S4=ru,C4="[object AsyncFunction]",F4="[object Function]",$4="[object GeneratorFunction]",R4="[object Proxy]";function x4(r){if(!S4(r))return!1;var e=A4(r);return e==F4||e==$4||e==C4||e==R4}var O4=x4,T4=Ls,B4=T4["__core-js_shared__"],I4=B4,Mf=I4,AD=function(){var r=/[^.]+$/.exec(Mf&&Mf.keys&&Mf.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}();function P4(r){return!!AD&&AD in r}var L4=P4,k4=Function.prototype,N4=k4.toString;function M4(r){if(r!=null){try{return N4.call(r)}catch{}try{return r+""}catch{}}return""}var j4=M4,U4=O4,H4=L4,G4=ru,W4=j4,z4=/[\\^$.*+?()[\]{}|]/g,q4=/^\[object .+?Constructor\]$/,V4=Function.prototype,Y4=Object.prototype,K4=V4.toString,X4=Y4.hasOwnProperty,Z4=RegExp("^"+K4.call(X4).replace(z4,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function J4(r){if(!G4(r)||H4(r))return!1;var e=U4(r)?Z4:q4;return e.test(W4(r))}var Q4=J4;function e6(r,e){return r?.[e]}var t6=e6,r6=Q4,i6=t6;function s6(r,e){var t=i6(r,e);return r6(t)?t:void 0}var ah=s6,n6=ah,o6=n6(Object,"create"),uh=o6,SD=uh;function a6(){this.__data__=SD?SD(null):{},this.size=0}var u6=a6;function c6(r){var e=this.has(r)&&delete this.__data__[r];return this.size-=e?1:0,e}var l6=c6,h6=uh,f6="__lodash_hash_undefined__",d6=Object.prototype,p6=d6.hasOwnProperty;function g6(r){var e=this.__data__;if(h6){var t=e[r];return t===f6?void 0:t}return p6.call(e,r)?e[r]:void 0}var m6=g6,y6=uh,D6=Object.prototype,E6=D6.hasOwnProperty;function b6(r){var e=this.__data__;return y6?e[r]!==void 0:E6.call(e,r)}var w6=b6,v6=uh,_6="__lodash_hash_undefined__";function A6(r,e){var t=this.__data__;return this.size+=this.has(r)?0:1,t[r]=v6&&e===void 0?_6:e,this}var S6=A6,C6=u6,F6=l6,$6=m6,R6=w6,x6=S6;function co(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var s=r[e];this.set(s[0],s[1])}}co.prototype.clear=C6;co.prototype.delete=F6;co.prototype.get=$6;co.prototype.has=R6;co.prototype.set=x6;var O6=co;function T6(){this.__data__=[],this.size=0}var B6=T6;function I6(r,e){return r===e||r!==r&&e!==e}var P6=I6,L6=P6;function k6(r,e){for(var t=r.length;t--;)if(L6(r[t][0],e))return t;return-1}var ch=k6,N6=ch,M6=Array.prototype,j6=M6.splice;function U6(r){var e=this.__data__,t=N6(e,r);if(t<0)return!1;var s=e.length-1;return t==s?e.pop():j6.call(e,t,1),--this.size,!0}var H6=U6,G6=ch;function W6(r){var e=this.__data__,t=G6(e,r);return t<0?void 0:e[t][1]}var z6=W6,q6=ch;function V6(r){return q6(this.__data__,r)>-1}var Y6=V6,K6=ch;function X6(r,e){var t=this.__data__,s=K6(t,r);return s<0?(++this.size,t.push([r,e])):t[s][1]=e,this}var Z6=X6,J6=B6,Q6=H6,eB=z6,tB=Y6,rB=Z6;function lo(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var s=r[e];this.set(s[0],s[1])}}lo.prototype.clear=J6;lo.prototype.delete=Q6;lo.prototype.get=eB;lo.prototype.has=tB;lo.prototype.set=rB;var iB=lo,sB=ah,nB=Ls,oB=sB(nB,"Map"),aB=oB,CD=O6,uB=iB,cB=aB;function lB(){this.size=0,this.__data__={hash:new CD,map:new(cB||uB),string:new CD}}var hB=lB;function fB(r){var e=typeof r;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?r!=="__proto__":r===null}var dB=fB,pB=dB;function gB(r,e){var t=r.__data__;return pB(e)?t[typeof e=="string"?"string":"hash"]:t.map}var lh=gB,mB=lh;function yB(r){var e=mB(this,r).delete(r);return this.size-=e?1:0,e}var DB=yB,EB=lh;function bB(r){return EB(this,r).get(r)}var wB=bB,vB=lh;function _B(r){return vB(this,r).has(r)}var AB=_B,SB=lh;function CB(r,e){var t=SB(this,r),s=t.size;return t.set(r,e),this.size+=t.size==s?0:1,this}var FB=CB,$B=hB,RB=DB,xB=wB,OB=AB,TB=FB;function ho(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var s=r[e];this.set(s[0],s[1])}}ho.prototype.clear=$B;ho.prototype.delete=RB;ho.prototype.get=xB;ho.prototype.has=OB;ho.prototype.set=TB;var BB=ho,mS=BB,IB="Expected a function";function um(r,e){if(typeof r!="function"||e!=null&&typeof e!="function")throw new TypeError(IB);var t=function(){var s=arguments,n=e?e.apply(this,s):s[0],o=t.cache;if(o.has(n))return o.get(n);var a=r.apply(this,s);return t.cache=o.set(n,a)||o,a};return t.cache=new(um.Cache||mS),t}um.Cache=mS;var PB=um,LB=PB,kB=500;function NB(r){var e=LB(r,function(s){return t.size===kB&&t.clear(),s}),t=e.cache;return e}var MB=NB,jB=MB,UB=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,HB=/\\(\\)?/g,GB=jB(function(r){var e=[];return r.charCodeAt(0)===46&&e.push(""),r.replace(UB,function(t,s,n,o){e.push(n?o.replace(HB,"$1"):s||t)}),e}),WB=GB;function zB(r,e){for(var t=-1,s=r==null?0:r.length,n=Array(s);++t<s;)n[t]=e(r[t],t,r);return n}var qB=zB,FD=sh,VB=qB,YB=uo,KB=oh,XB=1/0,$D=FD?FD.prototype:void 0,RD=$D?$D.toString:void 0;function yS(r){if(typeof r=="string")return r;if(YB(r))return VB(r,yS)+"";if(KB(r))return RD?RD.call(r):"";var e=r+"";return e=="0"&&1/r==-XB?"-0":e}var ZB=yS,JB=ZB;function QB(r){return r==null?"":JB(r)}var eI=QB,tI=uo,rI=v4,iI=WB,sI=eI;function nI(r,e){return tI(r)?r:rI(r,e)?[r]:iI(sI(r))}var oI=nI,aI=oh,uI=1/0;function cI(r){if(typeof r=="string"||aI(r))return r;var e=r+"";return e=="0"&&1/r==-uI?"-0":e}var lI=cI,hI=oI,fI=lI;function dI(r,e){e=hI(e,r);for(var t=0,s=e.length;r!=null&&t<s;)r=r[fI(e[t++])];return t&&t==s?r:void 0}var pI=dI,gI=pI;function mI(r){return function(e){return r==null?void 0:gI(r,e)}}var yI=mI;const DS=Qe(yI);/*!
54
+ `)[0].length}};oS.reset=()=>qi.reset();function Lf(r,e,t){let s=[];r.forEach(function(o){s.push(o.draw(e))});let n=s.join("");n.length&&t.push(n)}var AT=oS,ST=AT;const nm=Qe(ST);function He(r,e,t={}){const s=Array.isArray(r);return e=e||(n=>({[n]:!0})),Object.entries(r||{}).forEach(([n,o],a)=>{const u=s?e(o,a,t):e(n,o,t);Object.entries(u||{}).forEach(c=>{t[c[0]]=c[1]})}),t}const aS={blue:!0,bold:!0,cyan:!0,gray:!0,green:!0,magenta:!0,red:!0,yellow:!0},CT=He(aS,r=>({[r]:e=>e.toString()}));let Rl;const om=async r=>{const e=await Promise.resolve().then(()=>require("./index-BmUFwMVL.js")),{default:t,Chalk:s}=e;Rl=r===!0?new s({level:1}):r===null?CT:t},DD=()=>{if(!Rl)throw new Error("Chalk has not been imported yet. Chalk is a dynamic import and requires that you await { chalkInit } from './lib/chalk'.")},W=He(aS,r=>{const e=s=>(DD(),Rl[r].bold(s)),t=s=>(DD(),Rl[r](s));return t.bold=e,{[r]:t}}),un=(r,e)=>He(r,(t,s)=>e(t,s)?{[t]:s}:null);var ao={};Object.defineProperty(ao,"__esModule",{value:!0});ao.LRUCache=void 0;const En=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,uS=new Set,P0=typeof process=="object"&&process?process:{},cS=(r,e,t,s)=>{typeof P0.emitWarning=="function"?P0.emitWarning(r,e,t,s):console.error(`[${t}] ${e}: ${r}`)};let xl=globalThis.AbortController,ED=globalThis.AbortSignal;if(typeof xl>"u"){ED=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(s,n){this._onabort.push(n)}},xl=class{constructor(){e()}signal=new ED;abort(s){if(!this.signal.aborted){this.signal.reason=s,this.signal.aborted=!0;for(const n of this.signal._onabort)n(s);this.signal.onabort?.(s)}}};let r=P0.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1";const e=()=>{r&&(r=!1,cS("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",e))}}const FT=r=>!uS.has(r),ms=r=>r&&r===Math.floor(r)&&r>0&&isFinite(r),lS=r=>ms(r)?r<=Math.pow(2,8)?Uint8Array:r<=Math.pow(2,16)?Uint16Array:r<=Math.pow(2,32)?Uint32Array:r<=Number.MAX_SAFE_INTEGER?cl:null:null;let cl=class extends Array{constructor(e){super(e),this.fill(0)}},$T=class Sa{heap;length;static#e=!1;static create(e){const t=lS(e);if(!t)return[];Sa.#e=!0;const s=new Sa(e,t);return Sa.#e=!1,s}constructor(e,t){if(!Sa.#e)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new t(e),this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}},RT=class hS{#e;#i;#r;#s;#c;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#a;#h;#o;#n;#t;#g;#y;#d;#f;#b;#p;#A;#S;#w;#E;#$;#m;static unsafeExposeInternals(e){return{starts:e.#S,ttls:e.#w,sizes:e.#A,keyMap:e.#o,keyList:e.#n,valList:e.#t,next:e.#g,prev:e.#y,get head(){return e.#d},get tail(){return e.#f},free:e.#b,isBackgroundFetch:t=>e.#u(t),backgroundFetch:(t,s,n,o)=>e.#B(t,s,n,o),moveToTail:t=>e.#x(t),indexes:t=>e.#_(t),rindexes:t=>e.#C(t),isStale:t=>e.#D(t)}}get max(){return this.#e}get maxSize(){return this.#i}get calculatedSize(){return this.#h}get size(){return this.#a}get fetchMethod(){return this.#c}get dispose(){return this.#r}get disposeAfter(){return this.#s}constructor(e){const{max:t=0,ttl:s,ttlResolution:n=1,ttlAutopurge:o,updateAgeOnGet:a,updateAgeOnHas:u,allowStale:c,dispose:l,disposeAfter:h,noDisposeOnSet:d,noUpdateTTL:f,maxSize:p=0,maxEntrySize:g=0,sizeCalculation:m,fetchMethod:E,noDeleteOnFetchRejection:D,noDeleteOnStaleGet:b,allowStaleOnFetchRejection:w,allowStaleOnFetchAbort:v,ignoreFetchAbort:_}=e;if(t!==0&&!ms(t))throw new TypeError("max option must be a nonnegative integer");const R=t?lS(t):Array;if(!R)throw new Error("invalid max value: "+t);if(this.#e=t,this.#i=p,this.maxEntrySize=g||this.#i,this.sizeCalculation=m,this.sizeCalculation){if(!this.#i&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(E!==void 0&&typeof E!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#c=E,this.#$=!!E,this.#o=new Map,this.#n=new Array(t).fill(void 0),this.#t=new Array(t).fill(void 0),this.#g=new R(t),this.#y=new R(t),this.#d=0,this.#f=0,this.#b=$T.create(t),this.#a=0,this.#h=0,typeof l=="function"&&(this.#r=l),typeof h=="function"?(this.#s=h,this.#p=[]):(this.#s=void 0,this.#p=void 0),this.#E=!!this.#r,this.#m=!!this.#s,this.noDisposeOnSet=!!d,this.noUpdateTTL=!!f,this.noDeleteOnFetchRejection=!!D,this.allowStaleOnFetchRejection=!!w,this.allowStaleOnFetchAbort=!!v,this.ignoreFetchAbort=!!_,this.maxEntrySize!==0){if(this.#i!==0&&!ms(this.#i))throw new TypeError("maxSize must be a positive integer if specified");if(!ms(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#I()}if(this.allowStale=!!c,this.noDeleteOnStaleGet=!!b,this.updateAgeOnGet=!!a,this.updateAgeOnHas=!!u,this.ttlResolution=ms(n)||n===0?n:1,this.ttlAutopurge=!!o,this.ttl=s||0,this.ttl){if(!ms(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#O()}if(this.#e===0&&this.ttl===0&&this.#i===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#e&&!this.#i){const P="LRU_CACHE_UNBOUNDED";FT(P)&&(uS.add(P),cS("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",P,hS))}}getRemainingTTL(e){return this.#o.has(e)?1/0:0}#O(){const e=new cl(this.#e),t=new cl(this.#e);this.#w=e,this.#S=t,this.#l=(o,a,u=En.now())=>{if(t[o]=a!==0?u:0,e[o]=a,a!==0&&this.ttlAutopurge){const c=setTimeout(()=>{this.#D(o)&&this.delete(this.#n[o])},a+1);c.unref&&c.unref()}},this.#R=o=>{t[o]=e[o]!==0?En.now():0},this.#v=(o,a)=>{if(e[a]){const u=e[a],c=t[a];if(!u||!c)return;o.ttl=u,o.start=c,o.now=s||n();const l=o.now-c;o.remainingTTL=u-l}};let s=0;const n=()=>{const o=En.now();if(this.ttlResolution>0){s=o;const a=setTimeout(()=>s=0,this.ttlResolution);a.unref&&a.unref()}return o};this.getRemainingTTL=o=>{const a=this.#o.get(o);if(a===void 0)return 0;const u=e[a],c=t[a];if(!u||!c)return 1/0;const l=(s||n())-c;return u-l},this.#D=o=>{const a=t[o],u=e[o];return!!u&&!!a&&(s||n())-a>u}}#R=()=>{};#v=()=>{};#l=()=>{};#D=()=>!1;#I(){const e=new cl(this.#e);this.#h=0,this.#A=e,this.#F=t=>{this.#h-=e[t],e[t]=0},this.#L=(t,s,n,o)=>{if(this.#u(s))return 0;if(!ms(n))if(o){if(typeof o!="function")throw new TypeError("sizeCalculation must be a function");if(n=o(s,t),!ms(n))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return n},this.#P=(t,s,n)=>{if(e[t]=s,this.#i){const o=this.#i-e[t];for(;this.#h>o;)this.#T(!0)}this.#h+=e[t],n&&(n.entrySize=s,n.totalCalculatedSize=this.#h)}}#F=e=>{};#P=(e,t,s)=>{};#L=(e,t,s,n)=>{if(s||n)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#_({allowStale:e=this.allowStale}={}){if(this.#a)for(let t=this.#f;!(!this.#k(t)||((e||!this.#D(t))&&(yield t),t===this.#d));)t=this.#y[t]}*#C({allowStale:e=this.allowStale}={}){if(this.#a)for(let t=this.#d;!(!this.#k(t)||((e||!this.#D(t))&&(yield t),t===this.#f));)t=this.#g[t]}#k(e){return e!==void 0&&this.#o.get(this.#n[e])===e}*entries(){for(const e of this.#_())this.#t[e]!==void 0&&this.#n[e]!==void 0&&!this.#u(this.#t[e])&&(yield[this.#n[e],this.#t[e]])}*rentries(){for(const e of this.#C())this.#t[e]!==void 0&&this.#n[e]!==void 0&&!this.#u(this.#t[e])&&(yield[this.#n[e],this.#t[e]])}*keys(){for(const e of this.#_()){const t=this.#n[e];t!==void 0&&!this.#u(this.#t[e])&&(yield t)}}*rkeys(){for(const e of this.#C()){const t=this.#n[e];t!==void 0&&!this.#u(this.#t[e])&&(yield t)}}*values(){for(const e of this.#_())this.#t[e]!==void 0&&!this.#u(this.#t[e])&&(yield this.#t[e])}*rvalues(){for(const e of this.#C())this.#t[e]!==void 0&&!this.#u(this.#t[e])&&(yield this.#t[e])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(e,t={}){for(const s of this.#_()){const n=this.#t[s],o=this.#u(n)?n.__staleWhileFetching:n;if(o!==void 0&&e(o,this.#n[s],this))return this.get(this.#n[s],t)}}forEach(e,t=this){for(const s of this.#_()){const n=this.#t[s],o=this.#u(n)?n.__staleWhileFetching:n;o!==void 0&&e.call(t,o,this.#n[s],this)}}rforEach(e,t=this){for(const s of this.#C()){const n=this.#t[s],o=this.#u(n)?n.__staleWhileFetching:n;o!==void 0&&e.call(t,o,this.#n[s],this)}}purgeStale(){let e=!1;for(const t of this.#C({allowStale:!0}))this.#D(t)&&(this.delete(this.#n[t]),e=!0);return e}info(e){const t=this.#o.get(e);if(t===void 0)return;const s=this.#t[t],n=this.#u(s)?s.__staleWhileFetching:s;if(n===void 0)return;const o={value:n};if(this.#w&&this.#S){const a=this.#w[t],u=this.#S[t];if(a&&u){const c=a-(En.now()-u);o.ttl=c,o.start=Date.now()}}return this.#A&&(o.size=this.#A[t]),o}dump(){const e=[];for(const t of this.#_({allowStale:!0})){const s=this.#n[t],n=this.#t[t],o=this.#u(n)?n.__staleWhileFetching:n;if(o===void 0||s===void 0)continue;const a={value:o};if(this.#w&&this.#S){a.ttl=this.#w[t];const u=En.now()-this.#S[t];a.start=Math.floor(Date.now()-u)}this.#A&&(a.size=this.#A[t]),e.unshift([s,a])}return e}load(e){this.clear();for(const[t,s]of e){if(s.start){const n=Date.now()-s.start;s.start=En.now()-n}this.set(t,s.value,s)}}set(e,t,s={}){if(t===void 0)return this.delete(e),this;const{ttl:n=this.ttl,start:o,noDisposeOnSet:a=this.noDisposeOnSet,sizeCalculation:u=this.sizeCalculation,status:c}=s;let{noUpdateTTL:l=this.noUpdateTTL}=s;const h=this.#L(e,t,s.size||0,u);if(this.maxEntrySize&&h>this.maxEntrySize)return c&&(c.set="miss",c.maxEntrySizeExceeded=!0),this.delete(e),this;let d=this.#a===0?void 0:this.#o.get(e);if(d===void 0)d=this.#a===0?this.#f:this.#b.length!==0?this.#b.pop():this.#a===this.#e?this.#T(!1):this.#a,this.#n[d]=e,this.#t[d]=t,this.#o.set(e,d),this.#g[this.#f]=d,this.#y[d]=this.#f,this.#f=d,this.#a++,this.#P(d,h,c),c&&(c.set="add"),l=!1;else{this.#x(d);const f=this.#t[d];if(t!==f){if(this.#$&&this.#u(f)){f.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:p}=f;p!==void 0&&!a&&(this.#E&&this.#r?.(p,e,"set"),this.#m&&this.#p?.push([p,e,"set"]))}else a||(this.#E&&this.#r?.(f,e,"set"),this.#m&&this.#p?.push([f,e,"set"]));if(this.#F(d),this.#P(d,h,c),this.#t[d]=t,c){c.set="replace";const p=f&&this.#u(f)?f.__staleWhileFetching:f;p!==void 0&&(c.oldValue=p)}}else c&&(c.set="update")}if(n!==0&&!this.#w&&this.#O(),this.#w&&(l||this.#l(d,n,o),c&&this.#v(c,d)),!a&&this.#m&&this.#p){const f=this.#p;let p;for(;p=f?.shift();)this.#s?.(...p)}return this}pop(){try{for(;this.#a;){const e=this.#t[this.#d];if(this.#T(!0),this.#u(e)){if(e.__staleWhileFetching)return e.__staleWhileFetching}else if(e!==void 0)return e}}finally{if(this.#m&&this.#p){const e=this.#p;let t;for(;t=e?.shift();)this.#s?.(...t)}}}#T(e){const t=this.#d,s=this.#n[t],n=this.#t[t];return this.#$&&this.#u(n)?n.__abortController.abort(new Error("evicted")):(this.#E||this.#m)&&(this.#E&&this.#r?.(n,s,"evict"),this.#m&&this.#p?.push([n,s,"evict"])),this.#F(t),e&&(this.#n[t]=void 0,this.#t[t]=void 0,this.#b.push(t)),this.#a===1?(this.#d=this.#f=0,this.#b.length=0):this.#d=this.#g[t],this.#o.delete(s),this.#a--,t}has(e,t={}){const{updateAgeOnHas:s=this.updateAgeOnHas,status:n}=t,o=this.#o.get(e);if(o!==void 0){const a=this.#t[o];if(this.#u(a)&&a.__staleWhileFetching===void 0)return!1;if(this.#D(o))n&&(n.has="stale",this.#v(n,o));else return s&&this.#R(o),n&&(n.has="hit",this.#v(n,o)),!0}else n&&(n.has="miss");return!1}peek(e,t={}){const{allowStale:s=this.allowStale}=t,n=this.#o.get(e);if(n===void 0||!s&&this.#D(n))return;const o=this.#t[n];return this.#u(o)?o.__staleWhileFetching:o}#B(e,t,s,n){const o=t===void 0?void 0:this.#t[t];if(this.#u(o))return o;const a=new xl,{signal:u}=s;u?.addEventListener("abort",()=>a.abort(u.reason),{signal:a.signal});const c={signal:a.signal,options:s,context:n},l=(m,E=!1)=>{const{aborted:D}=a.signal,b=s.ignoreFetchAbort&&m!==void 0;if(s.status&&(D&&!E?(s.status.fetchAborted=!0,s.status.fetchError=a.signal.reason,b&&(s.status.fetchAbortIgnored=!0)):s.status.fetchResolved=!0),D&&!b&&!E)return d(a.signal.reason);const w=p;return this.#t[t]===p&&(m===void 0?w.__staleWhileFetching?this.#t[t]=w.__staleWhileFetching:this.delete(e):(s.status&&(s.status.fetchUpdated=!0),this.set(e,m,c.options))),m},h=m=>(s.status&&(s.status.fetchRejected=!0,s.status.fetchError=m),d(m)),d=m=>{const{aborted:E}=a.signal,D=E&&s.allowStaleOnFetchAbort,b=D||s.allowStaleOnFetchRejection,w=b||s.noDeleteOnFetchRejection,v=p;if(this.#t[t]===p&&(!w||v.__staleWhileFetching===void 0?this.delete(e):D||(this.#t[t]=v.__staleWhileFetching)),b)return s.status&&v.__staleWhileFetching!==void 0&&(s.status.returnedStale=!0),v.__staleWhileFetching;if(v.__returned===v)throw m},f=(m,E)=>{const D=this.#c?.(e,o,c);D&&D instanceof Promise&&D.then(b=>m(b===void 0?void 0:b),E),a.signal.addEventListener("abort",()=>{(!s.ignoreFetchAbort||s.allowStaleOnFetchAbort)&&(m(void 0),s.allowStaleOnFetchAbort&&(m=b=>l(b,!0)))})};s.status&&(s.status.fetchDispatched=!0);const p=new Promise(f).then(l,h),g=Object.assign(p,{__abortController:a,__staleWhileFetching:o,__returned:void 0});return t===void 0?(this.set(e,g,{...c.options,status:void 0}),t=this.#o.get(e)):this.#t[t]=g,g}#u(e){if(!this.#$)return!1;const t=e;return!!t&&t instanceof Promise&&t.hasOwnProperty("__staleWhileFetching")&&t.__abortController instanceof xl}async fetch(e,t={}){const{allowStale:s=this.allowStale,updateAgeOnGet:n=this.updateAgeOnGet,noDeleteOnStaleGet:o=this.noDeleteOnStaleGet,ttl:a=this.ttl,noDisposeOnSet:u=this.noDisposeOnSet,size:c=0,sizeCalculation:l=this.sizeCalculation,noUpdateTTL:h=this.noUpdateTTL,noDeleteOnFetchRejection:d=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:f=this.allowStaleOnFetchRejection,ignoreFetchAbort:p=this.ignoreFetchAbort,allowStaleOnFetchAbort:g=this.allowStaleOnFetchAbort,context:m,forceRefresh:E=!1,status:D,signal:b}=t;if(!this.#$)return D&&(D.fetch="get"),this.get(e,{allowStale:s,updateAgeOnGet:n,noDeleteOnStaleGet:o,status:D});const w={allowStale:s,updateAgeOnGet:n,noDeleteOnStaleGet:o,ttl:a,noDisposeOnSet:u,size:c,sizeCalculation:l,noUpdateTTL:h,noDeleteOnFetchRejection:d,allowStaleOnFetchRejection:f,allowStaleOnFetchAbort:g,ignoreFetchAbort:p,status:D,signal:b};let v=this.#o.get(e);if(v===void 0){D&&(D.fetch="miss");const _=this.#B(e,v,w,m);return _.__returned=_}else{const _=this.#t[v];if(this.#u(_)){const N=s&&_.__staleWhileFetching!==void 0;return D&&(D.fetch="inflight",N&&(D.returnedStale=!0)),N?_.__staleWhileFetching:_.__returned=_}const R=this.#D(v);if(!E&&!R)return D&&(D.fetch="hit"),this.#x(v),n&&this.#R(v),D&&this.#v(D,v),_;const P=this.#B(e,v,w,m),j=P.__staleWhileFetching!==void 0&&s;return D&&(D.fetch=R?"stale":"refresh",j&&R&&(D.returnedStale=!0)),j?P.__staleWhileFetching:P.__returned=P}}get(e,t={}){const{allowStale:s=this.allowStale,updateAgeOnGet:n=this.updateAgeOnGet,noDeleteOnStaleGet:o=this.noDeleteOnStaleGet,status:a}=t,u=this.#o.get(e);if(u!==void 0){const c=this.#t[u],l=this.#u(c);return a&&this.#v(a,u),this.#D(u)?(a&&(a.get="stale"),l?(a&&s&&c.__staleWhileFetching!==void 0&&(a.returnedStale=!0),s?c.__staleWhileFetching:void 0):(o||this.delete(e),a&&s&&(a.returnedStale=!0),s?c:void 0)):(a&&(a.get="hit"),l?c.__staleWhileFetching:(this.#x(u),n&&this.#R(u),c))}else a&&(a.get="miss")}#N(e,t){this.#y[t]=e,this.#g[e]=t}#x(e){e!==this.#f&&(e===this.#d?this.#d=this.#g[e]:this.#N(this.#y[e],this.#g[e]),this.#N(this.#f,e),this.#f=e)}delete(e){let t=!1;if(this.#a!==0){const s=this.#o.get(e);if(s!==void 0)if(t=!0,this.#a===1)this.clear();else{this.#F(s);const n=this.#t[s];if(this.#u(n)?n.__abortController.abort(new Error("deleted")):(this.#E||this.#m)&&(this.#E&&this.#r?.(n,e,"delete"),this.#m&&this.#p?.push([n,e,"delete"])),this.#o.delete(e),this.#n[s]=void 0,this.#t[s]=void 0,s===this.#f)this.#f=this.#y[s];else if(s===this.#d)this.#d=this.#g[s];else{const o=this.#y[s];this.#g[o]=this.#g[s];const a=this.#g[s];this.#y[a]=this.#y[s]}this.#a--,this.#b.push(s)}}if(this.#m&&this.#p?.length){const s=this.#p;let n;for(;n=s?.shift();)this.#s?.(...n)}return t}clear(){for(const e of this.#C({allowStale:!0})){const t=this.#t[e];if(this.#u(t))t.__abortController.abort(new Error("deleted"));else{const s=this.#n[e];this.#E&&this.#r?.(t,s,"delete"),this.#m&&this.#p?.push([t,s,"delete"])}}if(this.#o.clear(),this.#t.fill(void 0),this.#n.fill(void 0),this.#w&&this.#S&&(this.#w.fill(0),this.#S.fill(0)),this.#A&&this.#A.fill(0),this.#d=0,this.#f=0,this.#b.length=0,this.#h=0,this.#a=0,this.#m&&this.#p){const e=this.#p;let t;for(;t=e?.shift();)this.#s?.(...t)}}};ao.LRUCache=RT;const Le=(...r)=>r.every(e=>e)?r.join(""):"",dt=r=>r?encodeURIComponent(r):"",fS=r=>r.toLowerCase().replace(/^\W+|\/|\W+$/g,"").replace(/\W+/g,"-"),xT={sshtemplate:({domain:r,user:e,project:t,committish:s})=>`git@${r}:${e}/${t}.git${Le("#",s)}`,sshurltemplate:({domain:r,user:e,project:t,committish:s})=>`git+ssh://git@${r}/${e}/${t}.git${Le("#",s)}`,edittemplate:({domain:r,user:e,project:t,committish:s,editpath:n,path:o})=>`https://${r}/${e}/${t}${Le("/",n,"/",dt(s||"HEAD"),"/",o)}`,browsetemplate:({domain:r,user:e,project:t,committish:s,treepath:n})=>`https://${r}/${e}/${t}${Le("/",n,"/",dt(s))}`,browsetreetemplate:({domain:r,user:e,project:t,committish:s,treepath:n,path:o,fragment:a,hashformat:u})=>`https://${r}/${e}/${t}/${n}/${dt(s||"HEAD")}/${o}${Le("#",u(a||""))}`,browseblobtemplate:({domain:r,user:e,project:t,committish:s,blobpath:n,path:o,fragment:a,hashformat:u})=>`https://${r}/${e}/${t}/${n}/${dt(s||"HEAD")}/${o}${Le("#",u(a||""))}`,docstemplate:({domain:r,user:e,project:t,treepath:s,committish:n})=>`https://${r}/${e}/${t}${Le("/",s,"/",dt(n))}#readme`,httpstemplate:({auth:r,domain:e,user:t,project:s,committish:n})=>`git+https://${Le(r,"@")}${e}/${t}/${s}.git${Le("#",n)}`,filetemplate:({domain:r,user:e,project:t,committish:s,path:n})=>`https://${r}/${e}/${t}/raw/${dt(s||"HEAD")}/${n}`,shortcuttemplate:({type:r,user:e,project:t,committish:s})=>`${r}:${e}/${t}${Le("#",s)}`,pathtemplate:({user:r,project:e,committish:t})=>`${r}/${e}${Le("#",t)}`,bugstemplate:({domain:r,user:e,project:t})=>`https://${r}/${e}/${t}/issues`,hashformat:fS},xs={};xs.github={protocols:["git:","http:","git+ssh:","git+https:","ssh:","https:"],domain:"github.com",treepath:"tree",blobpath:"blob",editpath:"edit",filetemplate:({auth:r,user:e,project:t,committish:s,path:n})=>`https://${Le(r,"@")}raw.githubusercontent.com/${e}/${t}/${dt(s||"HEAD")}/${n}`,gittemplate:({auth:r,domain:e,user:t,project:s,committish:n})=>`git://${Le(r,"@")}${e}/${t}/${s}.git${Le("#",n)}`,tarballtemplate:({domain:r,user:e,project:t,committish:s})=>`https://codeload.${r}/${e}/${t}/tar.gz/${dt(s||"HEAD")}`,extract:r=>{let[,e,t,s,n]=r.pathname.split("/",5);if(!(s&&s!=="tree")&&(s||(n=r.hash.slice(1)),t&&t.endsWith(".git")&&(t=t.slice(0,-4)),!(!e||!t)))return{user:e,project:t,committish:n}}};xs.bitbucket={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"bitbucket.org",treepath:"src",blobpath:"src",editpath:"?mode=edit",edittemplate:({domain:r,user:e,project:t,committish:s,treepath:n,path:o,editpath:a})=>`https://${r}/${e}/${t}${Le("/",n,"/",dt(s||"HEAD"),"/",o,a)}`,tarballtemplate:({domain:r,user:e,project:t,committish:s})=>`https://${r}/${e}/${t}/get/${dt(s||"HEAD")}.tar.gz`,extract:r=>{let[,e,t,s]=r.pathname.split("/",4);if(!["get"].includes(s)&&(t&&t.endsWith(".git")&&(t=t.slice(0,-4)),!(!e||!t)))return{user:e,project:t,committish:r.hash.slice(1)}}};xs.gitlab={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"gitlab.com",treepath:"tree",blobpath:"tree",editpath:"-/edit",httpstemplate:({auth:r,domain:e,user:t,project:s,committish:n})=>`git+https://${Le(r,"@")}${e}/${t}/${s}.git${Le("#",n)}`,tarballtemplate:({domain:r,user:e,project:t,committish:s})=>`https://${r}/${e}/${t}/repository/archive.tar.gz?ref=${dt(s||"HEAD")}`,extract:r=>{const e=r.pathname.slice(1);if(e.includes("/-/")||e.includes("/archive.tar.gz"))return;const t=e.split("/");let s=t.pop();s.endsWith(".git")&&(s=s.slice(0,-4));const n=t.join("/");if(!(!n||!s))return{user:n,project:s,committish:r.hash.slice(1)}}};xs.gist={protocols:["git:","git+ssh:","git+https:","ssh:","https:"],domain:"gist.github.com",editpath:"edit",sshtemplate:({domain:r,project:e,committish:t})=>`git@${r}:${e}.git${Le("#",t)}`,sshurltemplate:({domain:r,project:e,committish:t})=>`git+ssh://git@${r}/${e}.git${Le("#",t)}`,edittemplate:({domain:r,user:e,project:t,committish:s,editpath:n})=>`https://${r}/${e}/${t}${Le("/",dt(s))}/${n}`,browsetemplate:({domain:r,project:e,committish:t})=>`https://${r}/${e}${Le("/",dt(t))}`,browsetreetemplate:({domain:r,project:e,committish:t,path:s,hashformat:n})=>`https://${r}/${e}${Le("/",dt(t))}${Le("#",n(s))}`,browseblobtemplate:({domain:r,project:e,committish:t,path:s,hashformat:n})=>`https://${r}/${e}${Le("/",dt(t))}${Le("#",n(s))}`,docstemplate:({domain:r,project:e,committish:t})=>`https://${r}/${e}${Le("/",dt(t))}`,httpstemplate:({domain:r,project:e,committish:t})=>`git+https://${r}/${e}.git${Le("#",t)}`,filetemplate:({user:r,project:e,committish:t,path:s})=>`https://gist.githubusercontent.com/${r}/${e}/raw${Le("/",dt(t))}/${s}`,shortcuttemplate:({type:r,project:e,committish:t})=>`${r}:${e}${Le("#",t)}`,pathtemplate:({project:r,committish:e})=>`${r}${Le("#",e)}`,bugstemplate:({domain:r,project:e})=>`https://${r}/${e}`,gittemplate:({domain:r,project:e,committish:t})=>`git://${r}/${e}.git${Le("#",t)}`,tarballtemplate:({project:r,committish:e})=>`https://codeload.github.com/gist/${r}/tar.gz/${dt(e||"HEAD")}`,extract:r=>{let[,e,t,s]=r.pathname.split("/",4);if(s!=="raw"){if(!t){if(!e)return;t=e,e=null}return t.endsWith(".git")&&(t=t.slice(0,-4)),{user:e,project:t,committish:r.hash.slice(1)}}},hashformat:function(r){return r&&"file-"+fS(r)}};xs.sourcehut={protocols:["git+ssh:","https:"],domain:"git.sr.ht",treepath:"tree",blobpath:"tree",filetemplate:({domain:r,user:e,project:t,committish:s,path:n})=>`https://${r}/${e}/${t}/blob/${dt(s)||"HEAD"}/${n}`,httpstemplate:({domain:r,user:e,project:t,committish:s})=>`https://${r}/${e}/${t}.git${Le("#",s)}`,tarballtemplate:({domain:r,user:e,project:t,committish:s})=>`https://${r}/${e}/${t}/archive/${dt(s)||"HEAD"}.tar.gz`,bugstemplate:()=>null,extract:r=>{let[,e,t,s]=r.pathname.split("/",4);if(!["archive"].includes(s)&&(t&&t.endsWith(".git")&&(t=t.slice(0,-4)),!(!e||!t)))return{user:e,project:t,committish:r.hash.slice(1)}}};for(const[r,e]of Object.entries(xs))xs[r]=Object.assign({},xT,e);var OT=xs;const TT=qt,kf=(r,e,t)=>{const s=r.indexOf(t);return r.lastIndexOf(e,s>-1?s:1/0)},bD=r=>{try{return new TT.URL(r)}catch{}},BT=(r,e)=>{const t=r.indexOf(":"),s=r.slice(0,t+1);if(Object.prototype.hasOwnProperty.call(e,s))return r;const n=r.indexOf("@");return n>-1?n>t?`git+ssh://${r}`:r:r.indexOf("//")===t+1?r:`${r.slice(0,t+1)}//${r.slice(t+1)}`},IT=r=>{const e=kf(r,"@","#"),t=kf(r,":","#");return t>e&&(r=r.slice(0,t)+"/"+r.slice(t+1)),kf(r,":","#")===-1&&r.indexOf("//")===-1&&(r=`git+ssh://${r}`),r};var dS=(r,e)=>{const t=e?BT(r,e):r;return bD(t)||bD(IT(t))};const PT=dS,LT=r=>{const e=r.indexOf("#"),t=r.indexOf("/"),s=r.indexOf("/",t+1),n=r.indexOf(":"),o=/\s/.exec(r),a=r.indexOf("@"),u=!o||e>-1&&o.index>e,c=a===-1||e>-1&&a>e,l=n===-1||e>-1&&n>e,h=s===-1||e>-1&&s>e,d=t>0,f=e>-1?r[e-1]!=="/":!r.endsWith("/"),p=!r.startsWith(".");return u&&d&&f&&p&&c&&l&&h};var kT=(r,e,{gitHosts:t,protocols:s})=>{if(!r)return;const n=LT(r)?`github:${r}`:r,o=PT(n,s);if(!o)return;const a=t.byShortcut[o.protocol],u=t.byDomain[o.hostname.startsWith("www.")?o.hostname.slice(4):o.hostname],c=a||u;if(!c)return;const l=t[a||u];let h=null;s[o.protocol]?.auth&&(o.username||o.password)&&(h=`${o.username}${o.password?":"+o.password:""}`);let d=null,f=null,p=null,g=null;try{if(a){let m=o.pathname.startsWith("/")?o.pathname.slice(1):o.pathname;const E=m.indexOf("@");E>-1&&(m=m.slice(E+1));const D=m.lastIndexOf("/");D>-1?(f=decodeURIComponent(m.slice(0,D)),f||(f=null),p=decodeURIComponent(m.slice(D+1))):p=decodeURIComponent(m),p.endsWith(".git")&&(p=p.slice(0,-4)),o.hash&&(d=decodeURIComponent(o.hash.slice(1))),g="shortcut"}else{if(!l.protocols.includes(o.protocol))return;const m=l.extract(o);if(!m)return;f=m.user&&decodeURIComponent(m.user),p=decodeURIComponent(m.project),d=decodeURIComponent(m.committish),g=s[o.protocol]?.name||o.protocol.slice(0,-1)}}catch(m){if(m instanceof URIError)return;throw m}return[c,f,h,p,d,g,e]};const{LRUCache:NT}=ao,MT=OT,jT=kT,UT=dS,Nf=new NT({max:1e3});class Or{constructor(e,t,s,n,o,a,u={}){Object.assign(this,Or.#e[e],{type:e,user:t,auth:s,project:n,committish:o,default:a,opts:u})}static#e={byShortcut:{},byDomain:{}};static#i={"git+ssh:":{name:"sshurl"},"ssh:":{name:"sshurl"},"git+https:":{name:"https",auth:!0},"git:":{auth:!0},"http:":{auth:!0},"https:":{auth:!0},"git+http:":{auth:!0}};static addHost(e,t){Or.#e[e]=t,Or.#e.byDomain[t.domain]=e,Or.#e.byShortcut[`${e}:`]=e,Or.#i[`${e}:`]={name:e}}static fromUrl(e,t){if(typeof e!="string")return;const s=e+JSON.stringify(t||{});if(!Nf.has(s)){const n=jT(e,t,{gitHosts:Or.#e,protocols:Or.#i});Nf.set(s,n?new Or(...n):void 0)}return Nf.get(s)}static parseUrl(e){return UT(e)}#r(e,t){if(typeof e!="function")return null;const s={...this,...this.opts,...t};s.path||(s.path=""),s.path.startsWith("/")&&(s.path=s.path.slice(1)),s.noCommittish&&(s.committish=null);const n=e(s);return s.noGitPlus&&n.startsWith("git+")?n.slice(4):n}hash(){return this.committish?`#${this.committish}`:""}ssh(e){return this.#r(this.sshtemplate,e)}sshurl(e){return this.#r(this.sshurltemplate,e)}browse(e,...t){return typeof e!="string"?this.#r(this.browsetemplate,e):typeof t[0]!="string"?this.#r(this.browsetreetemplate,{...t[0],path:e}):this.#r(this.browsetreetemplate,{...t[1],fragment:t[0],path:e})}browseFile(e,...t){return typeof t[0]!="string"?this.#r(this.browseblobtemplate,{...t[0],path:e}):this.#r(this.browseblobtemplate,{...t[1],fragment:t[0],path:e})}docs(e){return this.#r(this.docstemplate,e)}bugs(e){return this.#r(this.bugstemplate,e)}https(e){return this.#r(this.httpstemplate,e)}git(e){return this.#r(this.gittemplate,e)}shortcut(e){return this.#r(this.shortcuttemplate,e)}path(e){return this.#r(this.pathtemplate,e)}tarball(e){return this.#r(this.tarballtemplate,{...e,noCommittish:!1})}file(e,t){return this.#r(this.filetemplate,{...t,path:e})}edit(e,t){return this.#r(this.edittemplate,{...t,path:e})}getDefaultRepresentation(){return this.default}toString(e){return this.default&&typeof this[this.default]=="function"?this[this.default](e):this.sshurl(e)}}for(const[r,e]of Object.entries(MT))Or.addHost(r,e);var pS=Or;const HT=Qe(pS),Ua=r=>Pe.stat(r).then(()=>!0,()=>!1);async function GT(r,{pkgFile:e}={}){const t=require.resolve.paths(r)||[],s=e?[de.join(de.dirname(e),"node_modules")]:[],n=[de.join(process.cwd(),"node_modules")],o=[...s,...n,...t];for(const a of o){const u=de.join(a,r,"package.json");if(await Ua(u))try{return JSON.parse(await Pe.readFile(u,"utf-8")).repository}catch{}}return null}async function WT(r,e,{pkgFile:t}={}){const s=e?e.repository?e.repository:null:await GT(r,{pkgFile:t});if(!s)return null;let n,o="";if(typeof s=="string"){n=s;try{const a=new qt.URL(n);if(a.protocol==="https:"||a.protocol==="http:")return n}catch{}}else typeof s.url=="string"&&(n=s.url,typeof s.directory=="string"&&(o=s.directory));if(typeof n=="string"&&typeof o=="string"){const a=HT.fromUrl(n)?.browse(o);return a!==void 0?a.replace(/\/$/,"").replace(/\/tree\/HEAD$/,""):n}return null}var zT=Array.isArray,uo=zT,qT=typeof fe=="object"&&fe&&fe.Object===Object&&fe,VT=qT,YT=VT,KT=typeof self=="object"&&self&&self.Object===Object&&self,XT=YT||KT||Function("return this")(),Ls=XT,ZT=Ls,JT=ZT.Symbol,sh=JT,wD=sh,gS=Object.prototype,QT=gS.hasOwnProperty,e4=gS.toString,$o=wD?wD.toStringTag:void 0;function t4(r){var e=QT.call(r,$o),t=r[$o];try{r[$o]=void 0;var s=!0}catch{}var n=e4.call(r);return s&&(e?r[$o]=t:delete r[$o]),n}var r4=t4,i4=Object.prototype,s4=i4.toString;function n4(r){return s4.call(r)}var o4=n4,vD=sh,a4=r4,u4=o4,c4="[object Null]",l4="[object Undefined]",_D=vD?vD.toStringTag:void 0;function h4(r){return r==null?r===void 0?l4:c4:_D&&_D in Object(r)?a4(r):u4(r)}var am=h4;function f4(r){return r!=null&&typeof r=="object"}var nh=f4,d4=am,p4=nh,g4="[object Symbol]";function m4(r){return typeof r=="symbol"||p4(r)&&d4(r)==g4}var oh=m4,y4=uo,D4=oh,E4=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,b4=/^\w*$/;function w4(r,e){if(y4(r))return!1;var t=typeof r;return t=="number"||t=="symbol"||t=="boolean"||r==null||D4(r)?!0:b4.test(r)||!E4.test(r)||e!=null&&r in Object(e)}var v4=w4;function _4(r){var e=typeof r;return r!=null&&(e=="object"||e=="function")}var ru=_4,A4=am,S4=ru,C4="[object AsyncFunction]",F4="[object Function]",$4="[object GeneratorFunction]",R4="[object Proxy]";function x4(r){if(!S4(r))return!1;var e=A4(r);return e==F4||e==$4||e==C4||e==R4}var O4=x4,T4=Ls,B4=T4["__core-js_shared__"],I4=B4,Mf=I4,AD=function(){var r=/[^.]+$/.exec(Mf&&Mf.keys&&Mf.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}();function P4(r){return!!AD&&AD in r}var L4=P4,k4=Function.prototype,N4=k4.toString;function M4(r){if(r!=null){try{return N4.call(r)}catch{}try{return r+""}catch{}}return""}var j4=M4,U4=O4,H4=L4,G4=ru,W4=j4,z4=/[\\^$.*+?()[\]{}|]/g,q4=/^\[object .+?Constructor\]$/,V4=Function.prototype,Y4=Object.prototype,K4=V4.toString,X4=Y4.hasOwnProperty,Z4=RegExp("^"+K4.call(X4).replace(z4,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function J4(r){if(!G4(r)||H4(r))return!1;var e=U4(r)?Z4:q4;return e.test(W4(r))}var Q4=J4;function e6(r,e){return r?.[e]}var t6=e6,r6=Q4,i6=t6;function s6(r,e){var t=i6(r,e);return r6(t)?t:void 0}var ah=s6,n6=ah,o6=n6(Object,"create"),uh=o6,SD=uh;function a6(){this.__data__=SD?SD(null):{},this.size=0}var u6=a6;function c6(r){var e=this.has(r)&&delete this.__data__[r];return this.size-=e?1:0,e}var l6=c6,h6=uh,f6="__lodash_hash_undefined__",d6=Object.prototype,p6=d6.hasOwnProperty;function g6(r){var e=this.__data__;if(h6){var t=e[r];return t===f6?void 0:t}return p6.call(e,r)?e[r]:void 0}var m6=g6,y6=uh,D6=Object.prototype,E6=D6.hasOwnProperty;function b6(r){var e=this.__data__;return y6?e[r]!==void 0:E6.call(e,r)}var w6=b6,v6=uh,_6="__lodash_hash_undefined__";function A6(r,e){var t=this.__data__;return this.size+=this.has(r)?0:1,t[r]=v6&&e===void 0?_6:e,this}var S6=A6,C6=u6,F6=l6,$6=m6,R6=w6,x6=S6;function co(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var s=r[e];this.set(s[0],s[1])}}co.prototype.clear=C6;co.prototype.delete=F6;co.prototype.get=$6;co.prototype.has=R6;co.prototype.set=x6;var O6=co;function T6(){this.__data__=[],this.size=0}var B6=T6;function I6(r,e){return r===e||r!==r&&e!==e}var P6=I6,L6=P6;function k6(r,e){for(var t=r.length;t--;)if(L6(r[t][0],e))return t;return-1}var ch=k6,N6=ch,M6=Array.prototype,j6=M6.splice;function U6(r){var e=this.__data__,t=N6(e,r);if(t<0)return!1;var s=e.length-1;return t==s?e.pop():j6.call(e,t,1),--this.size,!0}var H6=U6,G6=ch;function W6(r){var e=this.__data__,t=G6(e,r);return t<0?void 0:e[t][1]}var z6=W6,q6=ch;function V6(r){return q6(this.__data__,r)>-1}var Y6=V6,K6=ch;function X6(r,e){var t=this.__data__,s=K6(t,r);return s<0?(++this.size,t.push([r,e])):t[s][1]=e,this}var Z6=X6,J6=B6,Q6=H6,eB=z6,tB=Y6,rB=Z6;function lo(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var s=r[e];this.set(s[0],s[1])}}lo.prototype.clear=J6;lo.prototype.delete=Q6;lo.prototype.get=eB;lo.prototype.has=tB;lo.prototype.set=rB;var iB=lo,sB=ah,nB=Ls,oB=sB(nB,"Map"),aB=oB,CD=O6,uB=iB,cB=aB;function lB(){this.size=0,this.__data__={hash:new CD,map:new(cB||uB),string:new CD}}var hB=lB;function fB(r){var e=typeof r;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?r!=="__proto__":r===null}var dB=fB,pB=dB;function gB(r,e){var t=r.__data__;return pB(e)?t[typeof e=="string"?"string":"hash"]:t.map}var lh=gB,mB=lh;function yB(r){var e=mB(this,r).delete(r);return this.size-=e?1:0,e}var DB=yB,EB=lh;function bB(r){return EB(this,r).get(r)}var wB=bB,vB=lh;function _B(r){return vB(this,r).has(r)}var AB=_B,SB=lh;function CB(r,e){var t=SB(this,r),s=t.size;return t.set(r,e),this.size+=t.size==s?0:1,this}var FB=CB,$B=hB,RB=DB,xB=wB,OB=AB,TB=FB;function ho(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var s=r[e];this.set(s[0],s[1])}}ho.prototype.clear=$B;ho.prototype.delete=RB;ho.prototype.get=xB;ho.prototype.has=OB;ho.prototype.set=TB;var BB=ho,mS=BB,IB="Expected a function";function um(r,e){if(typeof r!="function"||e!=null&&typeof e!="function")throw new TypeError(IB);var t=function(){var s=arguments,n=e?e.apply(this,s):s[0],o=t.cache;if(o.has(n))return o.get(n);var a=r.apply(this,s);return t.cache=o.set(n,a)||o,a};return t.cache=new(um.Cache||mS),t}um.Cache=mS;var PB=um,LB=PB,kB=500;function NB(r){var e=LB(r,function(s){return t.size===kB&&t.clear(),s}),t=e.cache;return e}var MB=NB,jB=MB,UB=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,HB=/\\(\\)?/g,GB=jB(function(r){var e=[];return r.charCodeAt(0)===46&&e.push(""),r.replace(UB,function(t,s,n,o){e.push(n?o.replace(HB,"$1"):s||t)}),e}),WB=GB;function zB(r,e){for(var t=-1,s=r==null?0:r.length,n=Array(s);++t<s;)n[t]=e(r[t],t,r);return n}var qB=zB,FD=sh,VB=qB,YB=uo,KB=oh,XB=1/0,$D=FD?FD.prototype:void 0,RD=$D?$D.toString:void 0;function yS(r){if(typeof r=="string")return r;if(YB(r))return VB(r,yS)+"";if(KB(r))return RD?RD.call(r):"";var e=r+"";return e=="0"&&1/r==-XB?"-0":e}var ZB=yS,JB=ZB;function QB(r){return r==null?"":JB(r)}var eI=QB,tI=uo,rI=v4,iI=WB,sI=eI;function nI(r,e){return tI(r)?r:rI(r,e)?[r]:iI(sI(r))}var oI=nI,aI=oh,uI=1/0;function cI(r){if(typeof r=="string"||aI(r))return r;var e=r+"";return e=="0"&&1/r==-uI?"-0":e}var lI=cI,hI=oI,fI=lI;function dI(r,e){e=hI(e,r);for(var t=0,s=e.length;r!=null&&t<s;)r=r[fI(e[t++])];return t&&t==s?r:void 0}var pI=dI,gI=pI;function mI(r){return function(e){return r==null?void 0:gI(r,e)}}var yI=mI;const DS=Qe(yI);/*!
55
55
  * parse-github-url <https://github.com/jonschlinkert/parse-github-url>
56
56
  *
57
57
  * Copyright (c) 2015-2017, Jon Schlinkert.
58
58
  * Released under the MIT License.
59
- */var xD=qt,jf={__proto__:null};function DI(r){return/^[a-f0-9]{40}$/i.test(r)}function EI(r,e){var t=r.split("#"),s;return t.length>1&&(s=t[t.length-1]),!s&&e.hash&&e.hash.charAt(0)==="#"&&(s=e.hash.slice(1)),s||"master"}function OD(r){return r.charAt(0)==="/"?r.slice(1):r}function bI(r){return r?r.replace(/\.git$/,""):null}function wI(r){if(!r)return null;var e=r.indexOf(":");return e>-1?r.slice(e+1):r}function vI(r){if(typeof r!="string"||!r.length||r.indexOf("git@gist")!==-1||r.indexOf("//gist")!==-1)return null;var e=xD.parse(r);if(typeof e.path!="string"||!e.path.length||typeof e.pathname!="string"||!e.pathname.length)return null;!e.host&&/^git@/.test(r)===!0&&(e.host=xD.parse("http://"+r.replace(/git@([^:]+):/,"$1/")).host),e.path=OD(e.path),e.pathname=OD(e.pathname),e.filepath=null,e.path.indexOf("repos")===0&&(e.path=e.path.slice(6));var t=e.path.split("/").filter(Boolean),s=t[2]==="blob";s&&!DI(t[3])&&(e.branch=t[3],t.length>4&&(e.filepath=t.slice(4).join("/")));var n=r.indexOf("blob");s&&n!==-1&&(e.blob=r.slice(n+5));var o=t[2]==="tree",a=r.indexOf("tree");if(o&&a!==-1){var u=a+5,c=r.slice(u),l=c.indexOf("/");l!==-1&&(c=c.slice(0,l)),e.branch=c}if(e.owner=wI(t[0]),e.name=bI(t[1]),t.length>1&&e.owner&&e.name)e.repo=e.owner+"/"+e.name;else{var h=e.href.split(":");if(h.length===2&&e.href.indexOf("//")===-1){e.repo=e.repo||h[h.length-1];var d=e.repo.split("/");e.owner=d[0],e.name=d[1]}else{var f=e.href.match(/\/([^/]*)$/);e.owner=f?f[1]:null,e.repo=null}if(e.repo&&(!e.owner||!e.name)){var p=e.repo.split("/");p.length===2&&(e.owner=p[0],e.name=p[1])}}return e.branch||(e.branch=t[2]||EI(e.path,e),t.length>3&&(e.filepath=t.slice(3).join("/"))),e.host=e.host||"github.com",e.owner=e.owner||null,e.name=e.name||null,e.repository=e.repo,e}var _I=function(e){return jf[e]||(jf[e]=vI(e)),jf[e]};const iu=Qe(_I);var L0={exports:{}};const AI="2.0.0",ES=256,SI=Number.MAX_SAFE_INTEGER||9007199254740991,CI=16,FI=ES-6,$I=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var hh={MAX_LENGTH:ES,MAX_SAFE_COMPONENT_LENGTH:CI,MAX_SAFE_BUILD_LENGTH:FI,MAX_SAFE_INTEGER:SI,RELEASE_TYPES:$I,SEMVER_SPEC_VERSION:AI,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};const RI=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...r)=>console.error("SEMVER",...r):()=>{};var fh=RI;(function(r,e){const{MAX_SAFE_COMPONENT_LENGTH:t,MAX_SAFE_BUILD_LENGTH:s,MAX_LENGTH:n}=hh,o=fh;e=r.exports={};const a=e.re=[],u=e.safeRe=[],c=e.src=[],l=e.t={};let h=0;const d="[a-zA-Z0-9-]",f=[["\\s",1],["\\d",n],[d,s]],p=m=>{for(const[E,D]of f)m=m.split(`${E}*`).join(`${E}{0,${D}}`).split(`${E}+`).join(`${E}{1,${D}}`);return m},g=(m,E,D)=>{const b=p(E),w=h++;o(m,w,E),l[m]=w,c[w]=E,a[w]=new RegExp(E,D?"g":void 0),u[w]=new RegExp(b,D?"g":void 0)};g("NUMERICIDENTIFIER","0|[1-9]\\d*"),g("NUMERICIDENTIFIERLOOSE","\\d+"),g("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),g("MAINVERSION",`(${c[l.NUMERICIDENTIFIER]})\\.(${c[l.NUMERICIDENTIFIER]})\\.(${c[l.NUMERICIDENTIFIER]})`),g("MAINVERSIONLOOSE",`(${c[l.NUMERICIDENTIFIERLOOSE]})\\.(${c[l.NUMERICIDENTIFIERLOOSE]})\\.(${c[l.NUMERICIDENTIFIERLOOSE]})`),g("PRERELEASEIDENTIFIER",`(?:${c[l.NUMERICIDENTIFIER]}|${c[l.NONNUMERICIDENTIFIER]})`),g("PRERELEASEIDENTIFIERLOOSE",`(?:${c[l.NUMERICIDENTIFIERLOOSE]}|${c[l.NONNUMERICIDENTIFIER]})`),g("PRERELEASE",`(?:-(${c[l.PRERELEASEIDENTIFIER]}(?:\\.${c[l.PRERELEASEIDENTIFIER]})*))`),g("PRERELEASELOOSE",`(?:-?(${c[l.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[l.PRERELEASEIDENTIFIERLOOSE]})*))`),g("BUILDIDENTIFIER",`${d}+`),g("BUILD",`(?:\\+(${c[l.BUILDIDENTIFIER]}(?:\\.${c[l.BUILDIDENTIFIER]})*))`),g("FULLPLAIN",`v?${c[l.MAINVERSION]}${c[l.PRERELEASE]}?${c[l.BUILD]}?`),g("FULL",`^${c[l.FULLPLAIN]}$`),g("LOOSEPLAIN",`[v=\\s]*${c[l.MAINVERSIONLOOSE]}${c[l.PRERELEASELOOSE]}?${c[l.BUILD]}?`),g("LOOSE",`^${c[l.LOOSEPLAIN]}$`),g("GTLT","((?:<|>)?=?)"),g("XRANGEIDENTIFIERLOOSE",`${c[l.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),g("XRANGEIDENTIFIER",`${c[l.NUMERICIDENTIFIER]}|x|X|\\*`),g("XRANGEPLAIN",`[v=\\s]*(${c[l.XRANGEIDENTIFIER]})(?:\\.(${c[l.XRANGEIDENTIFIER]})(?:\\.(${c[l.XRANGEIDENTIFIER]})(?:${c[l.PRERELEASE]})?${c[l.BUILD]}?)?)?`),g("XRANGEPLAINLOOSE",`[v=\\s]*(${c[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[l.XRANGEIDENTIFIERLOOSE]})(?:${c[l.PRERELEASELOOSE]})?${c[l.BUILD]}?)?)?`),g("XRANGE",`^${c[l.GTLT]}\\s*${c[l.XRANGEPLAIN]}$`),g("XRANGELOOSE",`^${c[l.GTLT]}\\s*${c[l.XRANGEPLAINLOOSE]}$`),g("COERCEPLAIN",`(^|[^\\d])(\\d{1,${t}})(?:\\.(\\d{1,${t}}))?(?:\\.(\\d{1,${t}}))?`),g("COERCE",`${c[l.COERCEPLAIN]}(?:$|[^\\d])`),g("COERCEFULL",c[l.COERCEPLAIN]+`(?:${c[l.PRERELEASE]})?(?:${c[l.BUILD]})?(?:$|[^\\d])`),g("COERCERTL",c[l.COERCE],!0),g("COERCERTLFULL",c[l.COERCEFULL],!0),g("LONETILDE","(?:~>?)"),g("TILDETRIM",`(\\s*)${c[l.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",g("TILDE",`^${c[l.LONETILDE]}${c[l.XRANGEPLAIN]}$`),g("TILDELOOSE",`^${c[l.LONETILDE]}${c[l.XRANGEPLAINLOOSE]}$`),g("LONECARET","(?:\\^)"),g("CARETTRIM",`(\\s*)${c[l.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",g("CARET",`^${c[l.LONECARET]}${c[l.XRANGEPLAIN]}$`),g("CARETLOOSE",`^${c[l.LONECARET]}${c[l.XRANGEPLAINLOOSE]}$`),g("COMPARATORLOOSE",`^${c[l.GTLT]}\\s*(${c[l.LOOSEPLAIN]})$|^$`),g("COMPARATOR",`^${c[l.GTLT]}\\s*(${c[l.FULLPLAIN]})$|^$`),g("COMPARATORTRIM",`(\\s*)${c[l.GTLT]}\\s*(${c[l.LOOSEPLAIN]}|${c[l.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",g("HYPHENRANGE",`^\\s*(${c[l.XRANGEPLAIN]})\\s+-\\s+(${c[l.XRANGEPLAIN]})\\s*$`),g("HYPHENRANGELOOSE",`^\\s*(${c[l.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[l.XRANGEPLAINLOOSE]})\\s*$`),g("STAR","(<|>)?=?\\s*\\*"),g("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),g("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(L0,L0.exports);var su=L0.exports;const xI=Object.freeze({loose:!0}),OI=Object.freeze({}),TI=r=>r?typeof r!="object"?xI:r:OI;var cm=TI;const TD=/^[0-9]+$/,bS=(r,e)=>{const t=TD.test(r),s=TD.test(e);return t&&s&&(r=+r,e=+e),r===e?0:t&&!s?-1:s&&!t?1:r<e?-1:1},BI=(r,e)=>bS(e,r);var wS={compareIdentifiers:bS,rcompareIdentifiers:BI};const Hu=fh,{MAX_LENGTH:BD,MAX_SAFE_INTEGER:Gu}=hh,{safeRe:ID,t:PD}=su,II=cm,{compareIdentifiers:bn}=wS;let PI=class qr{constructor(e,t){if(t=II(t),e instanceof qr){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>BD)throw new TypeError(`version is longer than ${BD} characters`);Hu("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const s=e.trim().match(t.loose?ID[PD.LOOSE]:ID[PD.FULL]);if(!s)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+s[1],this.minor=+s[2],this.patch=+s[3],this.major>Gu||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Gu||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Gu||this.patch<0)throw new TypeError("Invalid patch version");s[4]?this.prerelease=s[4].split(".").map(n=>{if(/^[0-9]+$/.test(n)){const o=+n;if(o>=0&&o<Gu)return o}return n}):this.prerelease=[],this.build=s[5]?s[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(Hu("SemVer.compare",this.version,this.options,e),!(e instanceof qr)){if(typeof e=="string"&&e===this.version)return 0;e=new qr(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof qr||(e=new qr(e,this.options)),bn(this.major,e.major)||bn(this.minor,e.minor)||bn(this.patch,e.patch)}comparePre(e){if(e instanceof qr||(e=new qr(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const s=this.prerelease[t],n=e.prerelease[t];if(Hu("prerelease compare",t,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return bn(s,n)}while(++t)}compareBuild(e){e instanceof qr||(e=new qr(e,this.options));let t=0;do{const s=this.build[t],n=e.build[t];if(Hu("build compare",t,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return bn(s,n)}while(++t)}inc(e,t,s){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,s);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,s);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,s),this.inc("pre",t,s);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",t,s),this.inc("pre",t,s);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const n=Number(s)?1:0;if(!t&&s===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[n];else{let o=this.prerelease.length;for(;--o>=0;)typeof this.prerelease[o]=="number"&&(this.prerelease[o]++,o=-2);if(o===-1){if(t===this.prerelease.join(".")&&s===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(n)}}if(t){let o=[t,n];s===!1&&(o=[t]),bn(this.prerelease[0],t)===0?isNaN(this.prerelease[1])&&(this.prerelease=o):this.prerelease=o}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};var er=PI;const LD=er,LI=(r,e,t=!1)=>{if(r instanceof LD)return r;try{return new LD(r,e)}catch(s){if(!t)return null;throw s}};var fo=LI;const kI=fo,NI=(r,e)=>{const t=kI(r,e);return t?t.version:null};var MI=NI;const jI=fo,UI=(r,e)=>{const t=jI(r.trim().replace(/^[=v]+/,""),e);return t?t.version:null};var HI=UI;const kD=er,GI=(r,e,t,s,n)=>{typeof t=="string"&&(n=s,s=t,t=void 0);try{return new kD(r instanceof kD?r.version:r,t).inc(e,s,n).version}catch{return null}};var WI=GI;const ND=fo,zI=(r,e)=>{const t=ND(r,null,!0),s=ND(e,null,!0),n=t.compare(s);if(n===0)return null;const o=n>0,a=o?t:s,u=o?s:t,c=!!a.prerelease.length;if(!!u.prerelease.length&&!c)return!u.patch&&!u.minor?"major":a.patch?"patch":a.minor?"minor":"major";const h=c?"pre":"";return t.major!==s.major?h+"major":t.minor!==s.minor?h+"minor":t.patch!==s.patch?h+"patch":"prerelease"};var qI=zI;const VI=er,YI=(r,e)=>new VI(r,e).major;var KI=YI;const XI=er,ZI=(r,e)=>new XI(r,e).minor;var JI=ZI;const QI=er,e9=(r,e)=>new QI(r,e).patch;var t9=e9;const r9=fo,i9=(r,e)=>{const t=r9(r,e);return t&&t.prerelease.length?t.prerelease:null};var s9=i9;const MD=er,n9=(r,e,t)=>new MD(r,t).compare(new MD(e,t));var Nr=n9;const o9=Nr,a9=(r,e,t)=>o9(e,r,t);var u9=a9;const c9=Nr,l9=(r,e)=>c9(r,e,!0);var h9=l9;const jD=er,f9=(r,e,t)=>{const s=new jD(r,t),n=new jD(e,t);return s.compare(n)||s.compareBuild(n)};var lm=f9;const d9=lm,p9=(r,e)=>r.sort((t,s)=>d9(t,s,e));var g9=p9;const m9=lm,y9=(r,e)=>r.sort((t,s)=>m9(s,t,e));var D9=y9;const E9=Nr,b9=(r,e,t)=>E9(r,e,t)>0;var dh=b9;const w9=Nr,v9=(r,e,t)=>w9(r,e,t)<0;var hm=v9;const _9=Nr,A9=(r,e,t)=>_9(r,e,t)===0;var vS=A9;const S9=Nr,C9=(r,e,t)=>S9(r,e,t)!==0;var _S=C9;const F9=Nr,$9=(r,e,t)=>F9(r,e,t)>=0;var fm=$9;const R9=Nr,x9=(r,e,t)=>R9(r,e,t)<=0;var dm=x9;const O9=vS,T9=_S,B9=dh,I9=fm,P9=hm,L9=dm,k9=(r,e,t,s)=>{switch(e){case"===":return typeof r=="object"&&(r=r.version),typeof t=="object"&&(t=t.version),r===t;case"!==":return typeof r=="object"&&(r=r.version),typeof t=="object"&&(t=t.version),r!==t;case"":case"=":case"==":return O9(r,t,s);case"!=":return T9(r,t,s);case">":return B9(r,t,s);case">=":return I9(r,t,s);case"<":return P9(r,t,s);case"<=":return L9(r,t,s);default:throw new TypeError(`Invalid operator: ${e}`)}};var AS=k9;const N9=er,M9=fo,{safeRe:Wu,t:zu}=su,j9=(r,e)=>{if(r instanceof N9)return r;if(typeof r=="number"&&(r=String(r)),typeof r!="string")return null;e=e||{};let t=null;if(!e.rtl)t=r.match(e.includePrerelease?Wu[zu.COERCEFULL]:Wu[zu.COERCE]);else{const c=e.includePrerelease?Wu[zu.COERCERTLFULL]:Wu[zu.COERCERTL];let l;for(;(l=c.exec(r))&&(!t||t.index+t[0].length!==r.length);)(!t||l.index+l[0].length!==t.index+t[0].length)&&(t=l),c.lastIndex=l.index+l[1].length+l[2].length;c.lastIndex=-1}if(t===null)return null;const s=t[2],n=t[3]||"0",o=t[4]||"0",a=e.includePrerelease&&t[5]?`-${t[5]}`:"",u=e.includePrerelease&&t[6]?`+${t[6]}`:"";return M9(`${s}.${n}.${o}${a}${u}`,e)};var U9=j9;let H9=class{constructor(){this.max=1e3,this.map=new Map}get(e){const t=this.map.get(e);if(t!==void 0)return this.map.delete(e),this.map.set(e,t),t}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&t!==void 0){if(this.map.size>=this.max){const n=this.map.keys().next().value;this.delete(n)}this.map.set(e,t)}return this}};var G9=H9,Uf,UD;function Mr(){if(UD)return Uf;UD=1;const r=/\s+/g;class e{constructor(S,$){if($=n($),S instanceof e)return S.loose===!!$.loose&&S.includePrerelease===!!$.includePrerelease?S:new e(S.raw,$);if(S instanceof o)return this.raw=S.value,this.set=[[S]],this.formatted=void 0,this;if(this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease,this.raw=S.trim().replace(r," "),this.set=this.raw.split("||").map(q=>this.parseRange(q.trim())).filter(q=>q.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const q=this.set[0];if(this.set=this.set.filter(O=>!m(O[0])),this.set.length===0)this.set=[q];else if(this.set.length>1){for(const O of this.set)if(O.length===1&&E(O[0])){this.set=[O];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let S=0;S<this.set.length;S++){S>0&&(this.formatted+="||");const $=this.set[S];for(let q=0;q<$.length;q++)q>0&&(this.formatted+=" "),this.formatted+=$[q].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(S){const q=((this.options.includePrerelease&&p)|(this.options.loose&&g))+":"+S,O=s.get(q);if(O)return O;const L=this.options.loose,K=L?c[l.HYPHENRANGELOOSE]:c[l.HYPHENRANGE];S=S.replace(K,ie(this.options.includePrerelease)),a("hyphen replace",S),S=S.replace(c[l.COMPARATORTRIM],h),a("comparator trim",S),S=S.replace(c[l.TILDETRIM],d),a("tilde trim",S),S=S.replace(c[l.CARETTRIM],f),a("caret trim",S);let ee=S.split(" ").map(le=>b(le,this.options)).join(" ").split(/\s+/).map(le=>G(le,this.options));L&&(ee=ee.filter(le=>(a("loose invalid filter",le,this.options),!!le.match(c[l.COMPARATORLOOSE])))),a("range list",ee);const pe=new Map,ae=ee.map(le=>new o(le,this.options));for(const le of ae){if(m(le))return[le];pe.set(le.value,le)}pe.size>1&&pe.has("")&&pe.delete("");const Ce=[...pe.values()];return s.set(q,Ce),Ce}intersects(S,$){if(!(S instanceof e))throw new TypeError("a Range is required");return this.set.some(q=>D(q,$)&&S.set.some(O=>D(O,$)&&q.every(L=>O.every(K=>L.intersects(K,$)))))}test(S){if(!S)return!1;if(typeof S=="string")try{S=new u(S,this.options)}catch{return!1}for(let $=0;$<this.set.length;$++)if(ne(this.set[$],S,this.options))return!0;return!1}}Uf=e;const t=G9,s=new t,n=cm,o=ph(),a=fh,u=er,{safeRe:c,t:l,comparatorTrimReplace:h,tildeTrimReplace:d,caretTrimReplace:f}=su,{FLAG_INCLUDE_PRERELEASE:p,FLAG_LOOSE:g}=hh,m=x=>x.value==="<0.0.0-0",E=x=>x.value==="",D=(x,S)=>{let $=!0;const q=x.slice();let O=q.pop();for(;$&&q.length;)$=q.every(L=>O.intersects(L,S)),O=q.pop();return $},b=(x,S)=>(a("comp",x,S),x=R(x,S),a("caret",x),x=v(x,S),a("tildes",x),x=M(x,S),a("xrange",x),x=N(x,S),a("stars",x),x),w=x=>!x||x.toLowerCase()==="x"||x==="*",v=(x,S)=>x.trim().split(/\s+/).map($=>_($,S)).join(" "),_=(x,S)=>{const $=S.loose?c[l.TILDELOOSE]:c[l.TILDE];return x.replace($,(q,O,L,K,ee)=>{a("tilde",x,q,O,L,K,ee);let pe;return w(O)?pe="":w(L)?pe=`>=${O}.0.0 <${+O+1}.0.0-0`:w(K)?pe=`>=${O}.${L}.0 <${O}.${+L+1}.0-0`:ee?(a("replaceTilde pr",ee),pe=`>=${O}.${L}.${K}-${ee} <${O}.${+L+1}.0-0`):pe=`>=${O}.${L}.${K} <${O}.${+L+1}.0-0`,a("tilde return",pe),pe})},R=(x,S)=>x.trim().split(/\s+/).map($=>P($,S)).join(" "),P=(x,S)=>{a("caret",x,S);const $=S.loose?c[l.CARETLOOSE]:c[l.CARET],q=S.includePrerelease?"-0":"";return x.replace($,(O,L,K,ee,pe)=>{a("caret",x,O,L,K,ee,pe);let ae;return w(L)?ae="":w(K)?ae=`>=${L}.0.0${q} <${+L+1}.0.0-0`:w(ee)?L==="0"?ae=`>=${L}.${K}.0${q} <${L}.${+K+1}.0-0`:ae=`>=${L}.${K}.0${q} <${+L+1}.0.0-0`:pe?(a("replaceCaret pr",pe),L==="0"?K==="0"?ae=`>=${L}.${K}.${ee}-${pe} <${L}.${K}.${+ee+1}-0`:ae=`>=${L}.${K}.${ee}-${pe} <${L}.${+K+1}.0-0`:ae=`>=${L}.${K}.${ee}-${pe} <${+L+1}.0.0-0`):(a("no pr"),L==="0"?K==="0"?ae=`>=${L}.${K}.${ee}${q} <${L}.${K}.${+ee+1}-0`:ae=`>=${L}.${K}.${ee}${q} <${L}.${+K+1}.0-0`:ae=`>=${L}.${K}.${ee} <${+L+1}.0.0-0`),a("caret return",ae),ae})},M=(x,S)=>(a("replaceXRanges",x,S),x.split(/\s+/).map($=>j($,S)).join(" ")),j=(x,S)=>{x=x.trim();const $=S.loose?c[l.XRANGELOOSE]:c[l.XRANGE];return x.replace($,(q,O,L,K,ee,pe)=>{a("xRange",x,q,O,L,K,ee,pe);const ae=w(L),Ce=ae||w(K),le=Ce||w(ee),me=le;return O==="="&&me&&(O=""),pe=S.includePrerelease?"-0":"",ae?O===">"||O==="<"?q="<0.0.0-0":q="*":O&&me?(Ce&&(K=0),ee=0,O===">"?(O=">=",Ce?(L=+L+1,K=0,ee=0):(K=+K+1,ee=0)):O==="<="&&(O="<",Ce?L=+L+1:K=+K+1),O==="<"&&(pe="-0"),q=`${O+L}.${K}.${ee}${pe}`):Ce?q=`>=${L}.0.0${pe} <${+L+1}.0.0-0`:le&&(q=`>=${L}.${K}.0${pe} <${L}.${+K+1}.0-0`),a("xRange return",q),q})},N=(x,S)=>(a("replaceStars",x,S),x.trim().replace(c[l.STAR],"")),G=(x,S)=>(a("replaceGTE0",x,S),x.trim().replace(c[S.includePrerelease?l.GTE0PRE:l.GTE0],"")),ie=x=>(S,$,q,O,L,K,ee,pe,ae,Ce,le,me)=>(w(q)?$="":w(O)?$=`>=${q}.0.0${x?"-0":""}`:w(L)?$=`>=${q}.${O}.0${x?"-0":""}`:K?$=`>=${$}`:$=`>=${$}${x?"-0":""}`,w(ae)?pe="":w(Ce)?pe=`<${+ae+1}.0.0-0`:w(le)?pe=`<${ae}.${+Ce+1}.0-0`:me?pe=`<=${ae}.${Ce}.${le}-${me}`:x?pe=`<${ae}.${Ce}.${+le+1}-0`:pe=`<=${pe}`,`${$} ${pe}`.trim()),ne=(x,S,$)=>{for(let q=0;q<x.length;q++)if(!x[q].test(S))return!1;if(S.prerelease.length&&!$.includePrerelease){for(let q=0;q<x.length;q++)if(a(x[q].semver),x[q].semver!==o.ANY&&x[q].semver.prerelease.length>0){const O=x[q].semver;if(O.major===S.major&&O.minor===S.minor&&O.patch===S.patch)return!0}return!1}return!0};return Uf}var Hf,HD;function ph(){if(HD)return Hf;HD=1;const r=Symbol("SemVer ANY");class e{static get ANY(){return r}constructor(h,d){if(d=t(d),h instanceof e){if(h.loose===!!d.loose)return h;h=h.value}h=h.trim().split(/\s+/).join(" "),a("comparator",h,d),this.options=d,this.loose=!!d.loose,this.parse(h),this.semver===r?this.value="":this.value=this.operator+this.semver.version,a("comp",this)}parse(h){const d=this.options.loose?s[n.COMPARATORLOOSE]:s[n.COMPARATOR],f=h.match(d);if(!f)throw new TypeError(`Invalid comparator: ${h}`);this.operator=f[1]!==void 0?f[1]:"",this.operator==="="&&(this.operator=""),f[2]?this.semver=new u(f[2],this.options.loose):this.semver=r}toString(){return this.value}test(h){if(a("Comparator.test",h,this.options.loose),this.semver===r||h===r)return!0;if(typeof h=="string")try{h=new u(h,this.options)}catch{return!1}return o(h,this.operator,this.semver,this.options)}intersects(h,d){if(!(h instanceof e))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new c(h.value,d).test(this.value):h.operator===""?h.value===""?!0:new c(this.value,d).test(h.semver):(d=t(d),d.includePrerelease&&(this.value==="<0.0.0-0"||h.value==="<0.0.0-0")||!d.includePrerelease&&(this.value.startsWith("<0.0.0")||h.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&h.operator.startsWith(">")||this.operator.startsWith("<")&&h.operator.startsWith("<")||this.semver.version===h.semver.version&&this.operator.includes("=")&&h.operator.includes("=")||o(this.semver,"<",h.semver,d)&&this.operator.startsWith(">")&&h.operator.startsWith("<")||o(this.semver,">",h.semver,d)&&this.operator.startsWith("<")&&h.operator.startsWith(">")))}}Hf=e;const t=cm,{safeRe:s,t:n}=su,o=AS,a=fh,u=er,c=Mr();return Hf}const W9=Mr(),z9=(r,e,t)=>{try{e=new W9(e,t)}catch{return!1}return e.test(r)};var gh=z9;const q9=Mr(),V9=(r,e)=>new q9(r,e).set.map(t=>t.map(s=>s.value).join(" ").trim().split(" "));var Y9=V9;const K9=er,X9=Mr(),Z9=(r,e,t)=>{let s=null,n=null,o=null;try{o=new X9(e,t)}catch{return null}return r.forEach(a=>{o.test(a)&&(!s||n.compare(a)===-1)&&(s=a,n=new K9(s,t))}),s};var J9=Z9;const Q9=er,e5=Mr(),t5=(r,e,t)=>{let s=null,n=null,o=null;try{o=new e5(e,t)}catch{return null}return r.forEach(a=>{o.test(a)&&(!s||n.compare(a)===1)&&(s=a,n=new Q9(s,t))}),s};var r5=t5;const Gf=er,i5=Mr(),GD=dh,s5=(r,e)=>{r=new i5(r,e);let t=new Gf("0.0.0");if(r.test(t)||(t=new Gf("0.0.0-0"),r.test(t)))return t;t=null;for(let s=0;s<r.set.length;++s){const n=r.set[s];let o=null;n.forEach(a=>{const u=new Gf(a.semver.version);switch(a.operator){case">":u.prerelease.length===0?u.patch++:u.prerelease.push(0),u.raw=u.format();case"":case">=":(!o||GD(u,o))&&(o=u);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),o&&(!t||GD(t,o))&&(t=o)}return t&&r.test(t)?t:null};var n5=s5;const o5=Mr(),a5=(r,e)=>{try{return new o5(r,e).range||"*"}catch{return null}};var u5=a5;const c5=er,SS=ph(),{ANY:l5}=SS,h5=Mr(),f5=gh,WD=dh,zD=hm,d5=dm,p5=fm,g5=(r,e,t,s)=>{r=new c5(r,s),e=new h5(e,s);let n,o,a,u,c;switch(t){case">":n=WD,o=d5,a=zD,u=">",c=">=";break;case"<":n=zD,o=p5,a=WD,u="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(f5(r,e,s))return!1;for(let l=0;l<e.set.length;++l){const h=e.set[l];let d=null,f=null;if(h.forEach(p=>{p.semver===l5&&(p=new SS(">=0.0.0")),d=d||p,f=f||p,n(p.semver,d.semver,s)?d=p:a(p.semver,f.semver,s)&&(f=p)}),d.operator===u||d.operator===c||(!f.operator||f.operator===u)&&o(r,f.semver))return!1;if(f.operator===c&&a(r,f.semver))return!1}return!0};var pm=g5;const m5=pm,y5=(r,e,t)=>m5(r,e,">",t);var D5=y5;const E5=pm,b5=(r,e,t)=>E5(r,e,"<",t);var w5=b5;const qD=Mr(),v5=(r,e,t)=>(r=new qD(r,t),e=new qD(e,t),r.intersects(e,t));var _5=v5;const A5=gh,S5=Nr;var C5=(r,e,t)=>{const s=[];let n=null,o=null;const a=r.sort((h,d)=>S5(h,d,t));for(const h of a)A5(h,e,t)?(o=h,n||(n=h)):(o&&s.push([n,o]),o=null,n=null);n&&s.push([n,null]);const u=[];for(const[h,d]of s)h===d?u.push(h):!d&&h===a[0]?u.push("*"):d?h===a[0]?u.push(`<=${d}`):u.push(`${h} - ${d}`):u.push(`>=${h}`);const c=u.join(" || "),l=typeof e.raw=="string"?e.raw:String(e);return c.length<l.length?c:e};const VD=Mr(),gm=ph(),{ANY:Wf}=gm,Ro=gh,mm=Nr,F5=(r,e,t={})=>{if(r===e)return!0;r=new VD(r,t),e=new VD(e,t);let s=!1;e:for(const n of r.set){for(const o of e.set){const a=R5(n,o,t);if(s=s||a!==null,a)continue e}if(s)return!1}return!0},$5=[new gm(">=0.0.0-0")],YD=[new gm(">=0.0.0")],R5=(r,e,t)=>{if(r===e)return!0;if(r.length===1&&r[0].semver===Wf){if(e.length===1&&e[0].semver===Wf)return!0;t.includePrerelease?r=$5:r=YD}if(e.length===1&&e[0].semver===Wf){if(t.includePrerelease)return!0;e=YD}const s=new Set;let n,o;for(const p of r)p.operator===">"||p.operator===">="?n=KD(n,p,t):p.operator==="<"||p.operator==="<="?o=XD(o,p,t):s.add(p.semver);if(s.size>1)return null;let a;if(n&&o){if(a=mm(n.semver,o.semver,t),a>0)return null;if(a===0&&(n.operator!==">="||o.operator!=="<="))return null}for(const p of s){if(n&&!Ro(p,String(n),t)||o&&!Ro(p,String(o),t))return null;for(const g of e)if(!Ro(p,String(g),t))return!1;return!0}let u,c,l,h,d=o&&!t.includePrerelease&&o.semver.prerelease.length?o.semver:!1,f=n&&!t.includePrerelease&&n.semver.prerelease.length?n.semver:!1;d&&d.prerelease.length===1&&o.operator==="<"&&d.prerelease[0]===0&&(d=!1);for(const p of e){if(h=h||p.operator===">"||p.operator===">=",l=l||p.operator==="<"||p.operator==="<=",n){if(f&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===f.major&&p.semver.minor===f.minor&&p.semver.patch===f.patch&&(f=!1),p.operator===">"||p.operator===">="){if(u=KD(n,p,t),u===p&&u!==n)return!1}else if(n.operator===">="&&!Ro(n.semver,String(p),t))return!1}if(o){if(d&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===d.major&&p.semver.minor===d.minor&&p.semver.patch===d.patch&&(d=!1),p.operator==="<"||p.operator==="<="){if(c=XD(o,p,t),c===p&&c!==o)return!1}else if(o.operator==="<="&&!Ro(o.semver,String(p),t))return!1}if(!p.operator&&(o||n)&&a!==0)return!1}return!(n&&l&&!o&&a!==0||o&&h&&!n&&a!==0||f||d)},KD=(r,e,t)=>{if(!r)return e;const s=mm(r.semver,e.semver,t);return s>0?r:s<0||e.operator===">"&&r.operator===">="?e:r},XD=(r,e,t)=>{if(!r)return e;const s=mm(r.semver,e.semver,t);return s<0?r:s>0||e.operator==="<"&&r.operator==="<="?e:r};var x5=F5;const zf=su,ZD=hh,O5=er,JD=wS,T5=fo,B5=MI,I5=HI,P5=WI,L5=qI,k5=KI,N5=JI,M5=t9,j5=s9,U5=Nr,H5=u9,G5=h9,W5=lm,z5=g9,q5=D9,V5=dh,Y5=hm,K5=vS,X5=_S,Z5=fm,J5=dm,Q5=AS,eP=U9,tP=ph(),rP=Mr(),iP=gh,sP=Y9,nP=J9,oP=r5,aP=n5,uP=u5,cP=pm,lP=D5,hP=w5,fP=_5,dP=C5,pP=x5;var gt={parse:T5,valid:B5,clean:I5,inc:P5,diff:L5,major:k5,minor:N5,patch:M5,prerelease:j5,compare:U5,rcompare:H5,compareLoose:G5,compareBuild:W5,sort:z5,rsort:q5,gt:V5,lt:Y5,eq:K5,neq:X5,gte:Z5,lte:J5,cmp:Q5,coerce:eP,Comparator:tP,Range:rP,satisfies:iP,toComparators:sP,maxSatisfying:nP,minSatisfying:oP,minVersion:aP,validRange:uP,outside:cP,gtr:lP,ltr:hP,intersects:fP,simplifyRange:dP,subset:pP,SemVer:O5,re:zf.re,src:zf.src,tokens:zf.t,SEMVER_SPEC_VERSION:ZD.SEMVER_SPEC_VERSION,RELEASE_TYPES:ZD.RELEASE_TYPES,compareIdentifiers:JD.compareIdentifiers,rcompareIdentifiers:JD.rcompareIdentifiers};const pt=Qe(gt);var Jr={},ei,ym;(function(){var r=/^v?((\d+)\.(\d+)\.(\d+))(?:-([\dA-Za-z\-]+(?:\.[\dA-Za-z\-]+)*))?(?:\+([\dA-Za-z\-]+(?:\.[\dA-Za-z\-]+)*))?$/,e=/\s*((\|\||\-)|(((?:(?:~?[<>]?)|\^?)=?)\s*(v)?([0-9]+)(\.(x|\*|[0-9]+))?(\.(x|\*|[0-9]+))?(([\-+])([a-zA-Z0-9\.-]+))?))\s*/g;function t(c){var l={};for(var h in c)typeof c[h]<"u"&&(l[h]=c[h]);return l}function s(c){var l="";return l+=c.major||"0",l+=".",l+=c.minor||"0",l+=".",l+=c.patch||"0",c.release&&(l+="-"+c.release),c.build&&(l+="+"+c.build),l}function n(c){var l="";function h(d){d.operator&&(l+=d.operator+" "),d.major&&(l+=d.toString()+" ")}return c.forEach(h),l.trim()}function o(c){if(c){var l=this;Object.keys(c).forEach(function(h){l[h]=c[h]})}}o.prototype.toString=function(){return s(this)};function a(c){var l=r.exec(c)||[],h=new o(t({semver:l[0],version:l[1],major:l[2],minor:l[3],patch:l[4],release:l[5],build:l[6]}));return l.length===0&&(h=null),h}function u(c){for(var l,h=[],d;l=e.exec(c);)d={semver:l[3],operator:l[4]||l[2],major:l[6],minor:l[8],patch:l[10]},l[12]==="+"&&(d.build=l[13]),l[12]==="-"&&(d.release=l[13]),h.push(new o(t(d)));return h}ym=Jr.parse=a,Jr.stringify=s,ei=Jr.parseRange=u,Jr.stringifyRange=n})();function mh(r,e){return r?r.map(t=>({item:t,key:e(t)})).sort((t,s)=>t.key>s.key?1:t.key<s.key?-1:0).map(({item:t})=>t):[]}const Dm=["major","minor","patch"],CS=["release","build"],qn=[...Dm,...CS],gP={major:"",minor:".",patch:".",release:"-",build:"+"},FS="^",$S=["^","~",".*",".x"],mP=["^","~","^*","*","x","x.x","x.x.x"],yP=new RegExp(`^(${mP.join("|").replace(/\^/g,"\\^").replace(/\*/g,"\\*")})$`),RS=/^npm:(.*)@(.*)/;function DP(r){const[e]=Jr.parseRange(r);if(!e)throw new Error(rs.format('semverutils.parseRange returned null when trying to parse "%s". This is probably a problem with the "semver-utils" dependency. Please report an issue at https://github.com/raineorshine/npm-check-updates/issues.',r));return qn.reduce((t,s)=>e[s]?t+1:t,0)}function Jn(r,e){return(e?qn.slice(0,qn.indexOf(e)+1):qn).filter(s=>e&&Dm.includes(e)||r[s]).map(s=>gP[s]+(r[s]||"0")).join("")}function EP(r){const[e]=Jr.parseRange(r);return qn.slice().reverse().find(DS(e))}function bP(r,e){const[t]=Jr.parseRange(r);return Jn(t,e)}function wP(r,e){return e==="^"||e==="~"?e+r:bP(r,"major")+e}function Em(r){return yP.test(r)}function xS(r){return r==="*"||r==="x"}function vP(r,e){if(r===e)return"none";/^[~^]/.test(e)&&e[0]===r[0]&&(e=e.slice(1),r=r.slice(1));const t=e.split("."),s=r.split(".");let n=t.findIndex((o,a)=>o!==s[a]);return n=n>=0?n:t.length,t[0]==="0"?"majorVersionZero":n===0?"major":n===1?"minor":"patch"}function OS(r,e,t){const s=qe(r,(a,u,c)=>{const l=e[a],h=vP(l,u),d=t.groupFunction?.(a,h,ei(l),ei(u),ym(r[a]))??h;return d==="none"?c:{...c,[d]:{...c[d],[a]:u}}}),n={patch:W.green(W.bold("Patch")+" Backwards-compatible bug fixes"),minor:W.cyan(W.bold("Minor")+" Backwards-compatible features"),major:W.red(W.bold("Major")+" Potentially breaking API changes"),majorVersionZero:W.magenta(W.bold("Major version zero")+" Anything may change")};return Array.from(new Set(["patch","minor","major","majorVersionZero",...Object.keys(s).sort()])).filter(a=>a in s).map(a=>({groupName:a,heading:a in n?n[a]:a,packages:s[a]}))}function bm(r,e){let t="";/^[~^]/.test(e)&&e[0]===r[0]&&(t=e[0],e=e.slice(1),r=r.slice(1));const s=e.split("."),n=r.split(".");let o=s.findIndex((c,l)=>c!==n[l]);o=o>=0?o:s.length;const a=o===0||s[0]==="0"?"red":o===1?"cyan":"green",u=o>0&&o<s.length?".":"";return t+s.slice(0,o).join(".")+u+W[a](s.slice(o).join("."))}const QD=r=>{const e=pt.prerelease(r);return e&&e.slice(0,-1).join(".")};function _P(r,e){const t=QD(r),s=QD(e);return typeof t!="string"||typeof s!="string"||t===s}function wm(r,e){return(pt.valid(r)&&pt.valid(e)?pt.gt(r,e):r>e)?1:r===e?0:-1}function vm(r,e,t){if(!pt.validRange(e))return null;const s=pt.minVersion(e);return[...r].sort(wm).filter(o=>{const a=pt.parse(o);return a&&(t==="major"||a.major===s?.major)&&(t==="major"||t==="minor"||a.minor===s?.minor)}).at(-1)||null}function nu(r){return EP(r)==="release"}const TS=r=>/^[vV]?\d+$/.test(r),BS=r=>/^[vV]?\d+\.\d+$/.test(r),AP=r=>r.replace(/^[vV]/,""),SP=r=>TS(r)?r+".0.0":r,CP=r=>BS(r)?r+".0":r,_m=r=>CP(SP(AP(r)));function IS(r){return r&&(r[0]==="v"||r[1]==="v")?"v":""}const PS=(r,e)=>`npm:${r}@${e}`,Ha=r=>{const e=r&&r.match&&r.match(RS);return e&&e.slice(1)},ll=r=>r&&!!r.match(RS),FP=(r,e)=>{const t=Ha(r);return t?PS(t[0],e):null},Pa=r=>{if(!r)return!1;let e=null;try{e=iu(r)}catch{}if(!e||!e.branch)return!1;const t=decodeURIComponent(e.branch).replace(/^semver:/,"");return!!pt.validRange(t)},k0=r=>{if(!r)return null;const e=iu(r);if(!e||!e.branch)return null;const t=decodeURIComponent(e.branch).replace(/^semver:/,"");return e&&e.branch&&pt.validRange(t)?t:null};function LS(r,e,t={}){if(t.wildcard=t.wildcard||FS,!e)return r;const[s]=Jr.parseRange(e);if(!s)return r;if(t.removeRange)return e;if(Em(r))return r;const n=mh(Jr.parseRange(r).filter(E=>E.operator!=="||"&&E.operator!=="-"),E=>DP(Jn(E))),[o]=n;function a(E){return(xS(o[E])?o[E]:Dm.includes(E)&&o[E]||CS.includes(E)?s[E]:null)||null}const u=qe(qn,E=>({[E]:a(E)})),c=Jn(u),l=IS(o.semver)+c,h=Array.from(new Set(n.map(E=>E.operator))),d=h[0]||"",f=$S.some(E=>c.includes(E)),p=h[0]==="<"||h[0]==="<=",g=h[0]===">",m=h.length>1;return!f&&(p||m)?wP(l,t.wildcard):(g?">=":d)+l}const $P=(r,e)=>{const t=IS(r);let s=t?t+e:e;return s=TS(r)?s.slice(0,s.length-4):s,s=BS(r)?s.slice(0,s.length-2):s,s},yh=(r,e)=>{const t=_m(e),s=iu(r);if(!s)return r;const n=decodeURIComponent(s.branch).replace(/^semver:/,"");return r.replace(n,LS(n,$P(n,t)))},eE={silent:0,error:1,minimal:2,warn:3,info:4,verbose:5,silly:6},RP=r=>!r.startsWith("file:")&&!r.startsWith("link:")&&!r.startsWith("workspace:")&&!/^[^/:@]+\/\w+/.test(r);function ge(r,e,t=null,s="log"){!r.json&&r.loglevel!=="silent"&&(t==null||eE[r.loglevel??"warn"]>=eE[t])&&console[s](e)}function Am(r,e){r.loglevel!=="silent"&&console.log(JSON.stringify(e,null,2))}function xP(r,e){console.log(Object.keys(r).map(t=>t+"@"+r[t]).join(e))}function bs(r,e,t){const n=Object.keys(e).sort().reduce((o,a)=>(o[a]=e[a],o),{});ge(r,n,t)}function Sm(r){const e=new nm({colAligns:["left","right","right","right","left","left"],chars:{top:"","top-mid":"","top-left":"","top-right":"",bottom:"","bottom-mid":"","bottom-left":"","bottom-right":"",left:"","left-mid":"",mid:"","mid-mid":"",right:"","right-mid":"",middle:""}});return e.push(...r),e.toString().split(`
59
+ */var xD=qt,jf={__proto__:null};function DI(r){return/^[a-f0-9]{40}$/i.test(r)}function EI(r,e){var t=r.split("#"),s;return t.length>1&&(s=t[t.length-1]),!s&&e.hash&&e.hash.charAt(0)==="#"&&(s=e.hash.slice(1)),s||"master"}function OD(r){return r.charAt(0)==="/"?r.slice(1):r}function bI(r){return r?r.replace(/\.git$/,""):null}function wI(r){if(!r)return null;var e=r.indexOf(":");return e>-1?r.slice(e+1):r}function vI(r){if(typeof r!="string"||!r.length||r.indexOf("git@gist")!==-1||r.indexOf("//gist")!==-1)return null;var e=xD.parse(r);if(typeof e.path!="string"||!e.path.length||typeof e.pathname!="string"||!e.pathname.length)return null;!e.host&&/^git@/.test(r)===!0&&(e.host=xD.parse("http://"+r.replace(/git@([^:]+):/,"$1/")).host),e.path=OD(e.path),e.pathname=OD(e.pathname),e.filepath=null,e.path.indexOf("repos")===0&&(e.path=e.path.slice(6));var t=e.path.split("/").filter(Boolean),s=t[2]==="blob";s&&!DI(t[3])&&(e.branch=t[3],t.length>4&&(e.filepath=t.slice(4).join("/")));var n=r.indexOf("blob");s&&n!==-1&&(e.blob=r.slice(n+5));var o=t[2]==="tree",a=r.indexOf("tree");if(o&&a!==-1){var u=a+5,c=r.slice(u),l=c.indexOf("/");l!==-1&&(c=c.slice(0,l)),e.branch=c}if(e.owner=wI(t[0]),e.name=bI(t[1]),t.length>1&&e.owner&&e.name)e.repo=e.owner+"/"+e.name;else{var h=e.href.split(":");if(h.length===2&&e.href.indexOf("//")===-1){e.repo=e.repo||h[h.length-1];var d=e.repo.split("/");e.owner=d[0],e.name=d[1]}else{var f=e.href.match(/\/([^/]*)$/);e.owner=f?f[1]:null,e.repo=null}if(e.repo&&(!e.owner||!e.name)){var p=e.repo.split("/");p.length===2&&(e.owner=p[0],e.name=p[1])}}return e.branch||(e.branch=t[2]||EI(e.path,e),t.length>3&&(e.filepath=t.slice(3).join("/"))),e.host=e.host||"github.com",e.owner=e.owner||null,e.name=e.name||null,e.repository=e.repo,e}var _I=function(e){return jf[e]||(jf[e]=vI(e)),jf[e]};const iu=Qe(_I);var L0={exports:{}};const AI="2.0.0",ES=256,SI=Number.MAX_SAFE_INTEGER||9007199254740991,CI=16,FI=ES-6,$I=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var hh={MAX_LENGTH:ES,MAX_SAFE_COMPONENT_LENGTH:CI,MAX_SAFE_BUILD_LENGTH:FI,MAX_SAFE_INTEGER:SI,RELEASE_TYPES:$I,SEMVER_SPEC_VERSION:AI,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};const RI=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...r)=>console.error("SEMVER",...r):()=>{};var fh=RI;(function(r,e){const{MAX_SAFE_COMPONENT_LENGTH:t,MAX_SAFE_BUILD_LENGTH:s,MAX_LENGTH:n}=hh,o=fh;e=r.exports={};const a=e.re=[],u=e.safeRe=[],c=e.src=[],l=e.t={};let h=0;const d="[a-zA-Z0-9-]",f=[["\\s",1],["\\d",n],[d,s]],p=m=>{for(const[E,D]of f)m=m.split(`${E}*`).join(`${E}{0,${D}}`).split(`${E}+`).join(`${E}{1,${D}}`);return m},g=(m,E,D)=>{const b=p(E),w=h++;o(m,w,E),l[m]=w,c[w]=E,a[w]=new RegExp(E,D?"g":void 0),u[w]=new RegExp(b,D?"g":void 0)};g("NUMERICIDENTIFIER","0|[1-9]\\d*"),g("NUMERICIDENTIFIERLOOSE","\\d+"),g("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),g("MAINVERSION",`(${c[l.NUMERICIDENTIFIER]})\\.(${c[l.NUMERICIDENTIFIER]})\\.(${c[l.NUMERICIDENTIFIER]})`),g("MAINVERSIONLOOSE",`(${c[l.NUMERICIDENTIFIERLOOSE]})\\.(${c[l.NUMERICIDENTIFIERLOOSE]})\\.(${c[l.NUMERICIDENTIFIERLOOSE]})`),g("PRERELEASEIDENTIFIER",`(?:${c[l.NUMERICIDENTIFIER]}|${c[l.NONNUMERICIDENTIFIER]})`),g("PRERELEASEIDENTIFIERLOOSE",`(?:${c[l.NUMERICIDENTIFIERLOOSE]}|${c[l.NONNUMERICIDENTIFIER]})`),g("PRERELEASE",`(?:-(${c[l.PRERELEASEIDENTIFIER]}(?:\\.${c[l.PRERELEASEIDENTIFIER]})*))`),g("PRERELEASELOOSE",`(?:-?(${c[l.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[l.PRERELEASEIDENTIFIERLOOSE]})*))`),g("BUILDIDENTIFIER",`${d}+`),g("BUILD",`(?:\\+(${c[l.BUILDIDENTIFIER]}(?:\\.${c[l.BUILDIDENTIFIER]})*))`),g("FULLPLAIN",`v?${c[l.MAINVERSION]}${c[l.PRERELEASE]}?${c[l.BUILD]}?`),g("FULL",`^${c[l.FULLPLAIN]}$`),g("LOOSEPLAIN",`[v=\\s]*${c[l.MAINVERSIONLOOSE]}${c[l.PRERELEASELOOSE]}?${c[l.BUILD]}?`),g("LOOSE",`^${c[l.LOOSEPLAIN]}$`),g("GTLT","((?:<|>)?=?)"),g("XRANGEIDENTIFIERLOOSE",`${c[l.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),g("XRANGEIDENTIFIER",`${c[l.NUMERICIDENTIFIER]}|x|X|\\*`),g("XRANGEPLAIN",`[v=\\s]*(${c[l.XRANGEIDENTIFIER]})(?:\\.(${c[l.XRANGEIDENTIFIER]})(?:\\.(${c[l.XRANGEIDENTIFIER]})(?:${c[l.PRERELEASE]})?${c[l.BUILD]}?)?)?`),g("XRANGEPLAINLOOSE",`[v=\\s]*(${c[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[l.XRANGEIDENTIFIERLOOSE]})(?:${c[l.PRERELEASELOOSE]})?${c[l.BUILD]}?)?)?`),g("XRANGE",`^${c[l.GTLT]}\\s*${c[l.XRANGEPLAIN]}$`),g("XRANGELOOSE",`^${c[l.GTLT]}\\s*${c[l.XRANGEPLAINLOOSE]}$`),g("COERCEPLAIN",`(^|[^\\d])(\\d{1,${t}})(?:\\.(\\d{1,${t}}))?(?:\\.(\\d{1,${t}}))?`),g("COERCE",`${c[l.COERCEPLAIN]}(?:$|[^\\d])`),g("COERCEFULL",c[l.COERCEPLAIN]+`(?:${c[l.PRERELEASE]})?(?:${c[l.BUILD]})?(?:$|[^\\d])`),g("COERCERTL",c[l.COERCE],!0),g("COERCERTLFULL",c[l.COERCEFULL],!0),g("LONETILDE","(?:~>?)"),g("TILDETRIM",`(\\s*)${c[l.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",g("TILDE",`^${c[l.LONETILDE]}${c[l.XRANGEPLAIN]}$`),g("TILDELOOSE",`^${c[l.LONETILDE]}${c[l.XRANGEPLAINLOOSE]}$`),g("LONECARET","(?:\\^)"),g("CARETTRIM",`(\\s*)${c[l.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",g("CARET",`^${c[l.LONECARET]}${c[l.XRANGEPLAIN]}$`),g("CARETLOOSE",`^${c[l.LONECARET]}${c[l.XRANGEPLAINLOOSE]}$`),g("COMPARATORLOOSE",`^${c[l.GTLT]}\\s*(${c[l.LOOSEPLAIN]})$|^$`),g("COMPARATOR",`^${c[l.GTLT]}\\s*(${c[l.FULLPLAIN]})$|^$`),g("COMPARATORTRIM",`(\\s*)${c[l.GTLT]}\\s*(${c[l.LOOSEPLAIN]}|${c[l.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",g("HYPHENRANGE",`^\\s*(${c[l.XRANGEPLAIN]})\\s+-\\s+(${c[l.XRANGEPLAIN]})\\s*$`),g("HYPHENRANGELOOSE",`^\\s*(${c[l.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[l.XRANGEPLAINLOOSE]})\\s*$`),g("STAR","(<|>)?=?\\s*\\*"),g("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),g("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(L0,L0.exports);var su=L0.exports;const xI=Object.freeze({loose:!0}),OI=Object.freeze({}),TI=r=>r?typeof r!="object"?xI:r:OI;var cm=TI;const TD=/^[0-9]+$/,bS=(r,e)=>{const t=TD.test(r),s=TD.test(e);return t&&s&&(r=+r,e=+e),r===e?0:t&&!s?-1:s&&!t?1:r<e?-1:1},BI=(r,e)=>bS(e,r);var wS={compareIdentifiers:bS,rcompareIdentifiers:BI};const Hu=fh,{MAX_LENGTH:BD,MAX_SAFE_INTEGER:Gu}=hh,{safeRe:ID,t:PD}=su,II=cm,{compareIdentifiers:bn}=wS;let PI=class qr{constructor(e,t){if(t=II(t),e instanceof qr){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>BD)throw new TypeError(`version is longer than ${BD} characters`);Hu("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const s=e.trim().match(t.loose?ID[PD.LOOSE]:ID[PD.FULL]);if(!s)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+s[1],this.minor=+s[2],this.patch=+s[3],this.major>Gu||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Gu||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Gu||this.patch<0)throw new TypeError("Invalid patch version");s[4]?this.prerelease=s[4].split(".").map(n=>{if(/^[0-9]+$/.test(n)){const o=+n;if(o>=0&&o<Gu)return o}return n}):this.prerelease=[],this.build=s[5]?s[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(Hu("SemVer.compare",this.version,this.options,e),!(e instanceof qr)){if(typeof e=="string"&&e===this.version)return 0;e=new qr(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof qr||(e=new qr(e,this.options)),bn(this.major,e.major)||bn(this.minor,e.minor)||bn(this.patch,e.patch)}comparePre(e){if(e instanceof qr||(e=new qr(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const s=this.prerelease[t],n=e.prerelease[t];if(Hu("prerelease compare",t,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return bn(s,n)}while(++t)}compareBuild(e){e instanceof qr||(e=new qr(e,this.options));let t=0;do{const s=this.build[t],n=e.build[t];if(Hu("build compare",t,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return bn(s,n)}while(++t)}inc(e,t,s){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,s);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,s);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,s),this.inc("pre",t,s);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",t,s),this.inc("pre",t,s);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const n=Number(s)?1:0;if(!t&&s===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[n];else{let o=this.prerelease.length;for(;--o>=0;)typeof this.prerelease[o]=="number"&&(this.prerelease[o]++,o=-2);if(o===-1){if(t===this.prerelease.join(".")&&s===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(n)}}if(t){let o=[t,n];s===!1&&(o=[t]),bn(this.prerelease[0],t)===0?isNaN(this.prerelease[1])&&(this.prerelease=o):this.prerelease=o}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};var er=PI;const LD=er,LI=(r,e,t=!1)=>{if(r instanceof LD)return r;try{return new LD(r,e)}catch(s){if(!t)return null;throw s}};var fo=LI;const kI=fo,NI=(r,e)=>{const t=kI(r,e);return t?t.version:null};var MI=NI;const jI=fo,UI=(r,e)=>{const t=jI(r.trim().replace(/^[=v]+/,""),e);return t?t.version:null};var HI=UI;const kD=er,GI=(r,e,t,s,n)=>{typeof t=="string"&&(n=s,s=t,t=void 0);try{return new kD(r instanceof kD?r.version:r,t).inc(e,s,n).version}catch{return null}};var WI=GI;const ND=fo,zI=(r,e)=>{const t=ND(r,null,!0),s=ND(e,null,!0),n=t.compare(s);if(n===0)return null;const o=n>0,a=o?t:s,u=o?s:t,c=!!a.prerelease.length;if(!!u.prerelease.length&&!c)return!u.patch&&!u.minor?"major":a.patch?"patch":a.minor?"minor":"major";const h=c?"pre":"";return t.major!==s.major?h+"major":t.minor!==s.minor?h+"minor":t.patch!==s.patch?h+"patch":"prerelease"};var qI=zI;const VI=er,YI=(r,e)=>new VI(r,e).major;var KI=YI;const XI=er,ZI=(r,e)=>new XI(r,e).minor;var JI=ZI;const QI=er,e9=(r,e)=>new QI(r,e).patch;var t9=e9;const r9=fo,i9=(r,e)=>{const t=r9(r,e);return t&&t.prerelease.length?t.prerelease:null};var s9=i9;const MD=er,n9=(r,e,t)=>new MD(r,t).compare(new MD(e,t));var Nr=n9;const o9=Nr,a9=(r,e,t)=>o9(e,r,t);var u9=a9;const c9=Nr,l9=(r,e)=>c9(r,e,!0);var h9=l9;const jD=er,f9=(r,e,t)=>{const s=new jD(r,t),n=new jD(e,t);return s.compare(n)||s.compareBuild(n)};var lm=f9;const d9=lm,p9=(r,e)=>r.sort((t,s)=>d9(t,s,e));var g9=p9;const m9=lm,y9=(r,e)=>r.sort((t,s)=>m9(s,t,e));var D9=y9;const E9=Nr,b9=(r,e,t)=>E9(r,e,t)>0;var dh=b9;const w9=Nr,v9=(r,e,t)=>w9(r,e,t)<0;var hm=v9;const _9=Nr,A9=(r,e,t)=>_9(r,e,t)===0;var vS=A9;const S9=Nr,C9=(r,e,t)=>S9(r,e,t)!==0;var _S=C9;const F9=Nr,$9=(r,e,t)=>F9(r,e,t)>=0;var fm=$9;const R9=Nr,x9=(r,e,t)=>R9(r,e,t)<=0;var dm=x9;const O9=vS,T9=_S,B9=dh,I9=fm,P9=hm,L9=dm,k9=(r,e,t,s)=>{switch(e){case"===":return typeof r=="object"&&(r=r.version),typeof t=="object"&&(t=t.version),r===t;case"!==":return typeof r=="object"&&(r=r.version),typeof t=="object"&&(t=t.version),r!==t;case"":case"=":case"==":return O9(r,t,s);case"!=":return T9(r,t,s);case">":return B9(r,t,s);case">=":return I9(r,t,s);case"<":return P9(r,t,s);case"<=":return L9(r,t,s);default:throw new TypeError(`Invalid operator: ${e}`)}};var AS=k9;const N9=er,M9=fo,{safeRe:Wu,t:zu}=su,j9=(r,e)=>{if(r instanceof N9)return r;if(typeof r=="number"&&(r=String(r)),typeof r!="string")return null;e=e||{};let t=null;if(!e.rtl)t=r.match(e.includePrerelease?Wu[zu.COERCEFULL]:Wu[zu.COERCE]);else{const c=e.includePrerelease?Wu[zu.COERCERTLFULL]:Wu[zu.COERCERTL];let l;for(;(l=c.exec(r))&&(!t||t.index+t[0].length!==r.length);)(!t||l.index+l[0].length!==t.index+t[0].length)&&(t=l),c.lastIndex=l.index+l[1].length+l[2].length;c.lastIndex=-1}if(t===null)return null;const s=t[2],n=t[3]||"0",o=t[4]||"0",a=e.includePrerelease&&t[5]?`-${t[5]}`:"",u=e.includePrerelease&&t[6]?`+${t[6]}`:"";return M9(`${s}.${n}.${o}${a}${u}`,e)};var U9=j9;let H9=class{constructor(){this.max=1e3,this.map=new Map}get(e){const t=this.map.get(e);if(t!==void 0)return this.map.delete(e),this.map.set(e,t),t}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&t!==void 0){if(this.map.size>=this.max){const n=this.map.keys().next().value;this.delete(n)}this.map.set(e,t)}return this}};var G9=H9,Uf,UD;function Mr(){if(UD)return Uf;UD=1;const r=/\s+/g;class e{constructor(S,$){if($=n($),S instanceof e)return S.loose===!!$.loose&&S.includePrerelease===!!$.includePrerelease?S:new e(S.raw,$);if(S instanceof o)return this.raw=S.value,this.set=[[S]],this.formatted=void 0,this;if(this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease,this.raw=S.trim().replace(r," "),this.set=this.raw.split("||").map(q=>this.parseRange(q.trim())).filter(q=>q.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const q=this.set[0];if(this.set=this.set.filter(O=>!m(O[0])),this.set.length===0)this.set=[q];else if(this.set.length>1){for(const O of this.set)if(O.length===1&&E(O[0])){this.set=[O];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let S=0;S<this.set.length;S++){S>0&&(this.formatted+="||");const $=this.set[S];for(let q=0;q<$.length;q++)q>0&&(this.formatted+=" "),this.formatted+=$[q].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(S){const q=((this.options.includePrerelease&&p)|(this.options.loose&&g))+":"+S,O=s.get(q);if(O)return O;const L=this.options.loose,K=L?c[l.HYPHENRANGELOOSE]:c[l.HYPHENRANGE];S=S.replace(K,ie(this.options.includePrerelease)),a("hyphen replace",S),S=S.replace(c[l.COMPARATORTRIM],h),a("comparator trim",S),S=S.replace(c[l.TILDETRIM],d),a("tilde trim",S),S=S.replace(c[l.CARETTRIM],f),a("caret trim",S);let ee=S.split(" ").map(le=>b(le,this.options)).join(" ").split(/\s+/).map(le=>G(le,this.options));L&&(ee=ee.filter(le=>(a("loose invalid filter",le,this.options),!!le.match(c[l.COMPARATORLOOSE])))),a("range list",ee);const pe=new Map,ae=ee.map(le=>new o(le,this.options));for(const le of ae){if(m(le))return[le];pe.set(le.value,le)}pe.size>1&&pe.has("")&&pe.delete("");const Ce=[...pe.values()];return s.set(q,Ce),Ce}intersects(S,$){if(!(S instanceof e))throw new TypeError("a Range is required");return this.set.some(q=>D(q,$)&&S.set.some(O=>D(O,$)&&q.every(L=>O.every(K=>L.intersects(K,$)))))}test(S){if(!S)return!1;if(typeof S=="string")try{S=new u(S,this.options)}catch{return!1}for(let $=0;$<this.set.length;$++)if(ne(this.set[$],S,this.options))return!0;return!1}}Uf=e;const t=G9,s=new t,n=cm,o=ph(),a=fh,u=er,{safeRe:c,t:l,comparatorTrimReplace:h,tildeTrimReplace:d,caretTrimReplace:f}=su,{FLAG_INCLUDE_PRERELEASE:p,FLAG_LOOSE:g}=hh,m=x=>x.value==="<0.0.0-0",E=x=>x.value==="",D=(x,S)=>{let $=!0;const q=x.slice();let O=q.pop();for(;$&&q.length;)$=q.every(L=>O.intersects(L,S)),O=q.pop();return $},b=(x,S)=>(a("comp",x,S),x=R(x,S),a("caret",x),x=v(x,S),a("tildes",x),x=M(x,S),a("xrange",x),x=N(x,S),a("stars",x),x),w=x=>!x||x.toLowerCase()==="x"||x==="*",v=(x,S)=>x.trim().split(/\s+/).map($=>_($,S)).join(" "),_=(x,S)=>{const $=S.loose?c[l.TILDELOOSE]:c[l.TILDE];return x.replace($,(q,O,L,K,ee)=>{a("tilde",x,q,O,L,K,ee);let pe;return w(O)?pe="":w(L)?pe=`>=${O}.0.0 <${+O+1}.0.0-0`:w(K)?pe=`>=${O}.${L}.0 <${O}.${+L+1}.0-0`:ee?(a("replaceTilde pr",ee),pe=`>=${O}.${L}.${K}-${ee} <${O}.${+L+1}.0-0`):pe=`>=${O}.${L}.${K} <${O}.${+L+1}.0-0`,a("tilde return",pe),pe})},R=(x,S)=>x.trim().split(/\s+/).map($=>P($,S)).join(" "),P=(x,S)=>{a("caret",x,S);const $=S.loose?c[l.CARETLOOSE]:c[l.CARET],q=S.includePrerelease?"-0":"";return x.replace($,(O,L,K,ee,pe)=>{a("caret",x,O,L,K,ee,pe);let ae;return w(L)?ae="":w(K)?ae=`>=${L}.0.0${q} <${+L+1}.0.0-0`:w(ee)?L==="0"?ae=`>=${L}.${K}.0${q} <${L}.${+K+1}.0-0`:ae=`>=${L}.${K}.0${q} <${+L+1}.0.0-0`:pe?(a("replaceCaret pr",pe),L==="0"?K==="0"?ae=`>=${L}.${K}.${ee}-${pe} <${L}.${K}.${+ee+1}-0`:ae=`>=${L}.${K}.${ee}-${pe} <${L}.${+K+1}.0-0`:ae=`>=${L}.${K}.${ee}-${pe} <${+L+1}.0.0-0`):(a("no pr"),L==="0"?K==="0"?ae=`>=${L}.${K}.${ee}${q} <${L}.${K}.${+ee+1}-0`:ae=`>=${L}.${K}.${ee}${q} <${L}.${+K+1}.0-0`:ae=`>=${L}.${K}.${ee} <${+L+1}.0.0-0`),a("caret return",ae),ae})},M=(x,S)=>(a("replaceXRanges",x,S),x.split(/\s+/).map($=>j($,S)).join(" ")),j=(x,S)=>{x=x.trim();const $=S.loose?c[l.XRANGELOOSE]:c[l.XRANGE];return x.replace($,(q,O,L,K,ee,pe)=>{a("xRange",x,q,O,L,K,ee,pe);const ae=w(L),Ce=ae||w(K),le=Ce||w(ee),me=le;return O==="="&&me&&(O=""),pe=S.includePrerelease?"-0":"",ae?O===">"||O==="<"?q="<0.0.0-0":q="*":O&&me?(Ce&&(K=0),ee=0,O===">"?(O=">=",Ce?(L=+L+1,K=0,ee=0):(K=+K+1,ee=0)):O==="<="&&(O="<",Ce?L=+L+1:K=+K+1),O==="<"&&(pe="-0"),q=`${O+L}.${K}.${ee}${pe}`):Ce?q=`>=${L}.0.0${pe} <${+L+1}.0.0-0`:le&&(q=`>=${L}.${K}.0${pe} <${L}.${+K+1}.0-0`),a("xRange return",q),q})},N=(x,S)=>(a("replaceStars",x,S),x.trim().replace(c[l.STAR],"")),G=(x,S)=>(a("replaceGTE0",x,S),x.trim().replace(c[S.includePrerelease?l.GTE0PRE:l.GTE0],"")),ie=x=>(S,$,q,O,L,K,ee,pe,ae,Ce,le,me)=>(w(q)?$="":w(O)?$=`>=${q}.0.0${x?"-0":""}`:w(L)?$=`>=${q}.${O}.0${x?"-0":""}`:K?$=`>=${$}`:$=`>=${$}${x?"-0":""}`,w(ae)?pe="":w(Ce)?pe=`<${+ae+1}.0.0-0`:w(le)?pe=`<${ae}.${+Ce+1}.0-0`:me?pe=`<=${ae}.${Ce}.${le}-${me}`:x?pe=`<${ae}.${Ce}.${+le+1}-0`:pe=`<=${pe}`,`${$} ${pe}`.trim()),ne=(x,S,$)=>{for(let q=0;q<x.length;q++)if(!x[q].test(S))return!1;if(S.prerelease.length&&!$.includePrerelease){for(let q=0;q<x.length;q++)if(a(x[q].semver),x[q].semver!==o.ANY&&x[q].semver.prerelease.length>0){const O=x[q].semver;if(O.major===S.major&&O.minor===S.minor&&O.patch===S.patch)return!0}return!1}return!0};return Uf}var Hf,HD;function ph(){if(HD)return Hf;HD=1;const r=Symbol("SemVer ANY");class e{static get ANY(){return r}constructor(h,d){if(d=t(d),h instanceof e){if(h.loose===!!d.loose)return h;h=h.value}h=h.trim().split(/\s+/).join(" "),a("comparator",h,d),this.options=d,this.loose=!!d.loose,this.parse(h),this.semver===r?this.value="":this.value=this.operator+this.semver.version,a("comp",this)}parse(h){const d=this.options.loose?s[n.COMPARATORLOOSE]:s[n.COMPARATOR],f=h.match(d);if(!f)throw new TypeError(`Invalid comparator: ${h}`);this.operator=f[1]!==void 0?f[1]:"",this.operator==="="&&(this.operator=""),f[2]?this.semver=new u(f[2],this.options.loose):this.semver=r}toString(){return this.value}test(h){if(a("Comparator.test",h,this.options.loose),this.semver===r||h===r)return!0;if(typeof h=="string")try{h=new u(h,this.options)}catch{return!1}return o(h,this.operator,this.semver,this.options)}intersects(h,d){if(!(h instanceof e))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new c(h.value,d).test(this.value):h.operator===""?h.value===""?!0:new c(this.value,d).test(h.semver):(d=t(d),d.includePrerelease&&(this.value==="<0.0.0-0"||h.value==="<0.0.0-0")||!d.includePrerelease&&(this.value.startsWith("<0.0.0")||h.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&h.operator.startsWith(">")||this.operator.startsWith("<")&&h.operator.startsWith("<")||this.semver.version===h.semver.version&&this.operator.includes("=")&&h.operator.includes("=")||o(this.semver,"<",h.semver,d)&&this.operator.startsWith(">")&&h.operator.startsWith("<")||o(this.semver,">",h.semver,d)&&this.operator.startsWith("<")&&h.operator.startsWith(">")))}}Hf=e;const t=cm,{safeRe:s,t:n}=su,o=AS,a=fh,u=er,c=Mr();return Hf}const W9=Mr(),z9=(r,e,t)=>{try{e=new W9(e,t)}catch{return!1}return e.test(r)};var gh=z9;const q9=Mr(),V9=(r,e)=>new q9(r,e).set.map(t=>t.map(s=>s.value).join(" ").trim().split(" "));var Y9=V9;const K9=er,X9=Mr(),Z9=(r,e,t)=>{let s=null,n=null,o=null;try{o=new X9(e,t)}catch{return null}return r.forEach(a=>{o.test(a)&&(!s||n.compare(a)===-1)&&(s=a,n=new K9(s,t))}),s};var J9=Z9;const Q9=er,e5=Mr(),t5=(r,e,t)=>{let s=null,n=null,o=null;try{o=new e5(e,t)}catch{return null}return r.forEach(a=>{o.test(a)&&(!s||n.compare(a)===1)&&(s=a,n=new Q9(s,t))}),s};var r5=t5;const Gf=er,i5=Mr(),GD=dh,s5=(r,e)=>{r=new i5(r,e);let t=new Gf("0.0.0");if(r.test(t)||(t=new Gf("0.0.0-0"),r.test(t)))return t;t=null;for(let s=0;s<r.set.length;++s){const n=r.set[s];let o=null;n.forEach(a=>{const u=new Gf(a.semver.version);switch(a.operator){case">":u.prerelease.length===0?u.patch++:u.prerelease.push(0),u.raw=u.format();case"":case">=":(!o||GD(u,o))&&(o=u);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),o&&(!t||GD(t,o))&&(t=o)}return t&&r.test(t)?t:null};var n5=s5;const o5=Mr(),a5=(r,e)=>{try{return new o5(r,e).range||"*"}catch{return null}};var u5=a5;const c5=er,SS=ph(),{ANY:l5}=SS,h5=Mr(),f5=gh,WD=dh,zD=hm,d5=dm,p5=fm,g5=(r,e,t,s)=>{r=new c5(r,s),e=new h5(e,s);let n,o,a,u,c;switch(t){case">":n=WD,o=d5,a=zD,u=">",c=">=";break;case"<":n=zD,o=p5,a=WD,u="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(f5(r,e,s))return!1;for(let l=0;l<e.set.length;++l){const h=e.set[l];let d=null,f=null;if(h.forEach(p=>{p.semver===l5&&(p=new SS(">=0.0.0")),d=d||p,f=f||p,n(p.semver,d.semver,s)?d=p:a(p.semver,f.semver,s)&&(f=p)}),d.operator===u||d.operator===c||(!f.operator||f.operator===u)&&o(r,f.semver))return!1;if(f.operator===c&&a(r,f.semver))return!1}return!0};var pm=g5;const m5=pm,y5=(r,e,t)=>m5(r,e,">",t);var D5=y5;const E5=pm,b5=(r,e,t)=>E5(r,e,"<",t);var w5=b5;const qD=Mr(),v5=(r,e,t)=>(r=new qD(r,t),e=new qD(e,t),r.intersects(e,t));var _5=v5;const A5=gh,S5=Nr;var C5=(r,e,t)=>{const s=[];let n=null,o=null;const a=r.sort((h,d)=>S5(h,d,t));for(const h of a)A5(h,e,t)?(o=h,n||(n=h)):(o&&s.push([n,o]),o=null,n=null);n&&s.push([n,null]);const u=[];for(const[h,d]of s)h===d?u.push(h):!d&&h===a[0]?u.push("*"):d?h===a[0]?u.push(`<=${d}`):u.push(`${h} - ${d}`):u.push(`>=${h}`);const c=u.join(" || "),l=typeof e.raw=="string"?e.raw:String(e);return c.length<l.length?c:e};const VD=Mr(),gm=ph(),{ANY:Wf}=gm,Ro=gh,mm=Nr,F5=(r,e,t={})=>{if(r===e)return!0;r=new VD(r,t),e=new VD(e,t);let s=!1;e:for(const n of r.set){for(const o of e.set){const a=R5(n,o,t);if(s=s||a!==null,a)continue e}if(s)return!1}return!0},$5=[new gm(">=0.0.0-0")],YD=[new gm(">=0.0.0")],R5=(r,e,t)=>{if(r===e)return!0;if(r.length===1&&r[0].semver===Wf){if(e.length===1&&e[0].semver===Wf)return!0;t.includePrerelease?r=$5:r=YD}if(e.length===1&&e[0].semver===Wf){if(t.includePrerelease)return!0;e=YD}const s=new Set;let n,o;for(const p of r)p.operator===">"||p.operator===">="?n=KD(n,p,t):p.operator==="<"||p.operator==="<="?o=XD(o,p,t):s.add(p.semver);if(s.size>1)return null;let a;if(n&&o){if(a=mm(n.semver,o.semver,t),a>0)return null;if(a===0&&(n.operator!==">="||o.operator!=="<="))return null}for(const p of s){if(n&&!Ro(p,String(n),t)||o&&!Ro(p,String(o),t))return null;for(const g of e)if(!Ro(p,String(g),t))return!1;return!0}let u,c,l,h,d=o&&!t.includePrerelease&&o.semver.prerelease.length?o.semver:!1,f=n&&!t.includePrerelease&&n.semver.prerelease.length?n.semver:!1;d&&d.prerelease.length===1&&o.operator==="<"&&d.prerelease[0]===0&&(d=!1);for(const p of e){if(h=h||p.operator===">"||p.operator===">=",l=l||p.operator==="<"||p.operator==="<=",n){if(f&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===f.major&&p.semver.minor===f.minor&&p.semver.patch===f.patch&&(f=!1),p.operator===">"||p.operator===">="){if(u=KD(n,p,t),u===p&&u!==n)return!1}else if(n.operator===">="&&!Ro(n.semver,String(p),t))return!1}if(o){if(d&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===d.major&&p.semver.minor===d.minor&&p.semver.patch===d.patch&&(d=!1),p.operator==="<"||p.operator==="<="){if(c=XD(o,p,t),c===p&&c!==o)return!1}else if(o.operator==="<="&&!Ro(o.semver,String(p),t))return!1}if(!p.operator&&(o||n)&&a!==0)return!1}return!(n&&l&&!o&&a!==0||o&&h&&!n&&a!==0||f||d)},KD=(r,e,t)=>{if(!r)return e;const s=mm(r.semver,e.semver,t);return s>0?r:s<0||e.operator===">"&&r.operator===">="?e:r},XD=(r,e,t)=>{if(!r)return e;const s=mm(r.semver,e.semver,t);return s<0?r:s>0||e.operator==="<"&&r.operator==="<="?e:r};var x5=F5;const zf=su,ZD=hh,O5=er,JD=wS,T5=fo,B5=MI,I5=HI,P5=WI,L5=qI,k5=KI,N5=JI,M5=t9,j5=s9,U5=Nr,H5=u9,G5=h9,W5=lm,z5=g9,q5=D9,V5=dh,Y5=hm,K5=vS,X5=_S,Z5=fm,J5=dm,Q5=AS,eP=U9,tP=ph(),rP=Mr(),iP=gh,sP=Y9,nP=J9,oP=r5,aP=n5,uP=u5,cP=pm,lP=D5,hP=w5,fP=_5,dP=C5,pP=x5;var gt={parse:T5,valid:B5,clean:I5,inc:P5,diff:L5,major:k5,minor:N5,patch:M5,prerelease:j5,compare:U5,rcompare:H5,compareLoose:G5,compareBuild:W5,sort:z5,rsort:q5,gt:V5,lt:Y5,eq:K5,neq:X5,gte:Z5,lte:J5,cmp:Q5,coerce:eP,Comparator:tP,Range:rP,satisfies:iP,toComparators:sP,maxSatisfying:nP,minSatisfying:oP,minVersion:aP,validRange:uP,outside:cP,gtr:lP,ltr:hP,intersects:fP,simplifyRange:dP,subset:pP,SemVer:O5,re:zf.re,src:zf.src,tokens:zf.t,SEMVER_SPEC_VERSION:ZD.SEMVER_SPEC_VERSION,RELEASE_TYPES:ZD.RELEASE_TYPES,compareIdentifiers:JD.compareIdentifiers,rcompareIdentifiers:JD.rcompareIdentifiers};const pt=Qe(gt);var Jr={},ei,ym;(function(){var r=/^v?((\d+)\.(\d+)\.(\d+))(?:-([\dA-Za-z\-]+(?:\.[\dA-Za-z\-]+)*))?(?:\+([\dA-Za-z\-]+(?:\.[\dA-Za-z\-]+)*))?$/,e=/\s*((\|\||\-)|(((?:(?:~?[<>]?)|\^?)=?)\s*(v)?([0-9]+)(\.(x|\*|[0-9]+))?(\.(x|\*|[0-9]+))?(([\-+])([a-zA-Z0-9\.-]+))?))\s*/g;function t(c){var l={};for(var h in c)typeof c[h]<"u"&&(l[h]=c[h]);return l}function s(c){var l="";return l+=c.major||"0",l+=".",l+=c.minor||"0",l+=".",l+=c.patch||"0",c.release&&(l+="-"+c.release),c.build&&(l+="+"+c.build),l}function n(c){var l="";function h(d){d.operator&&(l+=d.operator+" "),d.major&&(l+=d.toString()+" ")}return c.forEach(h),l.trim()}function o(c){if(c){var l=this;Object.keys(c).forEach(function(h){l[h]=c[h]})}}o.prototype.toString=function(){return s(this)};function a(c){var l=r.exec(c)||[],h=new o(t({semver:l[0],version:l[1],major:l[2],minor:l[3],patch:l[4],release:l[5],build:l[6]}));return l.length===0&&(h=null),h}function u(c){for(var l,h=[],d;l=e.exec(c);)d={semver:l[3],operator:l[4]||l[2],major:l[6],minor:l[8],patch:l[10]},l[12]==="+"&&(d.build=l[13]),l[12]==="-"&&(d.release=l[13]),h.push(new o(t(d)));return h}ym=Jr.parse=a,Jr.stringify=s,ei=Jr.parseRange=u,Jr.stringifyRange=n})();function mh(r,e){return r?r.map(t=>({item:t,key:e(t)})).sort((t,s)=>t.key>s.key?1:t.key<s.key?-1:0).map(({item:t})=>t):[]}const Dm=["major","minor","patch"],CS=["release","build"],qn=[...Dm,...CS],gP={major:"",minor:".",patch:".",release:"-",build:"+"},FS="^",$S=["^","~",".*",".x"],mP=["^","~","^*","*","x","x.x","x.x.x"],yP=new RegExp(`^(${mP.join("|").replace(/\^/g,"\\^").replace(/\*/g,"\\*")})$`),RS=/^npm:(.*)@(.*)/;function DP(r){const[e]=Jr.parseRange(r);if(!e)throw new Error(rs.format('semverutils.parseRange returned null when trying to parse "%s". This is probably a problem with the "semver-utils" dependency. Please report an issue at https://github.com/raineorshine/npm-check-updates/issues.',r));return qn.reduce((t,s)=>e[s]?t+1:t,0)}function Jn(r,e){return(e?qn.slice(0,qn.indexOf(e)+1):qn).filter(s=>e&&Dm.includes(e)||r[s]).map(s=>gP[s]+(r[s]||"0")).join("")}function EP(r){const[e]=Jr.parseRange(r);return qn.slice().reverse().find(DS(e))}function bP(r,e){const[t]=Jr.parseRange(r);return Jn(t,e)}function wP(r,e){return e==="^"||e==="~"?e+r:bP(r,"major")+e}function Em(r){return yP.test(r)}function xS(r){return r==="*"||r==="x"}function vP(r,e){if(r===e)return"none";/^[~^]/.test(e)&&e[0]===r[0]&&(e=e.slice(1),r=r.slice(1));const t=e.split("."),s=r.split(".");let n=t.findIndex((o,a)=>o!==s[a]);return n=n>=0?n:t.length,t[0]==="0"?"majorVersionZero":n===0?"major":n===1?"minor":"patch"}function OS(r,e,t){const s=He(r,(a,u,c)=>{const l=e[a],h=vP(l,u),d=t.groupFunction?.(a,h,ei(l),ei(u),ym(r[a]))??h;return d==="none"?c:{...c,[d]:{...c[d],[a]:u}}}),n={patch:W.green(W.bold("Patch")+" Backwards-compatible bug fixes"),minor:W.cyan(W.bold("Minor")+" Backwards-compatible features"),major:W.red(W.bold("Major")+" Potentially breaking API changes"),majorVersionZero:W.magenta(W.bold("Major version zero")+" Anything may change")};return Array.from(new Set(["patch","minor","major","majorVersionZero",...Object.keys(s).sort()])).filter(a=>a in s).map(a=>({groupName:a,heading:a in n?n[a]:a,packages:s[a]}))}function bm(r,e){let t="";/^[~^]/.test(e)&&e[0]===r[0]&&(t=e[0],e=e.slice(1),r=r.slice(1));const s=e.split("."),n=r.split(".");let o=s.findIndex((c,l)=>c!==n[l]);o=o>=0?o:s.length;const a=o===0||s[0]==="0"?"red":o===1?"cyan":"green",u=o>0&&o<s.length?".":"";return t+s.slice(0,o).join(".")+u+W[a](s.slice(o).join("."))}const QD=r=>{const e=pt.prerelease(r);return e&&e.slice(0,-1).join(".")};function _P(r,e){const t=QD(r),s=QD(e);return typeof t!="string"||typeof s!="string"||t===s}function wm(r,e){return(pt.valid(r)&&pt.valid(e)?pt.gt(r,e):r>e)?1:r===e?0:-1}function vm(r,e,t){if(!pt.validRange(e))return null;const s=pt.minVersion(e);return[...r].sort(wm).filter(o=>{const a=pt.parse(o);return a&&(t==="major"||a.major===s?.major)&&(t==="major"||t==="minor"||a.minor===s?.minor)}).at(-1)||null}function nu(r){return EP(r)==="release"}const TS=r=>/^[vV]?\d+$/.test(r),BS=r=>/^[vV]?\d+\.\d+$/.test(r),AP=r=>r.replace(/^[vV]/,""),SP=r=>TS(r)?r+".0.0":r,CP=r=>BS(r)?r+".0":r,_m=r=>CP(SP(AP(r)));function IS(r){return r&&(r[0]==="v"||r[1]==="v")?"v":""}const PS=(r,e)=>`npm:${r}@${e}`,Ha=r=>{const e=r&&r.match&&r.match(RS);return e&&e.slice(1)},ll=r=>r&&!!r.match(RS),FP=(r,e)=>{const t=Ha(r);return t?PS(t[0],e):null},Pa=r=>{if(!r)return!1;let e=null;try{e=iu(r)}catch{}if(!e||!e.branch)return!1;const t=decodeURIComponent(e.branch).replace(/^semver:/,"");return!!pt.validRange(t)},k0=r=>{if(!r)return null;const e=iu(r);if(!e||!e.branch)return null;const t=decodeURIComponent(e.branch).replace(/^semver:/,"");return e&&e.branch&&pt.validRange(t)?t:null};function LS(r,e,t={}){if(t.wildcard=t.wildcard||FS,!e)return r;const[s]=Jr.parseRange(e);if(!s)return r;if(t.removeRange)return e;if(Em(r))return r;const n=mh(Jr.parseRange(r).filter(E=>E.operator!=="||"&&E.operator!=="-"),E=>DP(Jn(E))),[o]=n;function a(E){return(xS(o[E])?o[E]:Dm.includes(E)&&o[E]||CS.includes(E)?s[E]:null)||null}const u=He(qn,E=>({[E]:a(E)})),c=Jn(u),l=IS(o.semver)+c,h=Array.from(new Set(n.map(E=>E.operator))),d=h[0]||"",f=$S.some(E=>c.includes(E)),p=h[0]==="<"||h[0]==="<=",g=h[0]===">",m=h.length>1;return!f&&(p||m)?wP(l,t.wildcard):(g?">=":d)+l}const $P=(r,e)=>{const t=IS(r);let s=t?t+e:e;return s=TS(r)?s.slice(0,s.length-4):s,s=BS(r)?s.slice(0,s.length-2):s,s},yh=(r,e)=>{const t=_m(e),s=iu(r);if(!s)return r;const n=decodeURIComponent(s.branch).replace(/^semver:/,"");return r.replace(n,LS(n,$P(n,t)))},eE={silent:0,error:1,minimal:2,warn:3,info:4,verbose:5,silly:6},RP=r=>!r.startsWith("file:")&&!r.startsWith("link:")&&!r.startsWith("workspace:")&&!/^[^/:@]+\/\w+/.test(r);function ge(r,e,t=null,s="log"){!r.json&&r.loglevel!=="silent"&&(t==null||eE[r.loglevel??"warn"]>=eE[t])&&console[s](e)}function Am(r,e){r.loglevel!=="silent"&&console.log(JSON.stringify(e,null,2))}function xP(r,e){console.log(Object.keys(r).map(t=>t+"@"+r[t]).join(e))}function bs(r,e,t){const n=Object.keys(e).sort().reduce((o,a)=>(o[a]=e[a],o),{});ge(r,n,t)}function Sm(r){const e=new nm({colAligns:["left","right","right","right","left","left"],chars:{top:"","top-mid":"","top-left":"","top-right":"",bottom:"","bottom-mid":"","bottom-left":"","bottom-right":"",left:"","left-mid":"",mid:"","mid-mid":"",right:"","right-mid":"",middle:""}});return e.push(...r),e.toString().split(`
60
60
  `).map(t=>t.trimEnd()).join(`
61
61
  `)}function tE(r){return Pa(r)?k0(r):ll(r)?Ha(r)[1]:r}async function N0({from:r,to:e,format:t,ownersChangedDeps:s,pkgFile:n,time:o}){return Sm(await Promise.all(Object.keys(e).sort().map(async u=>{const c=r[u]||"",l=e[u]||"",h=tE(l),d=s?u in s?s[u]?"*owner changed*":"":"*unknown*":"",f=bm(tE(c),h),p=t?.includes("repo")&&await WT(u,void 0,{pkgFile:n})||"",g=t?.includes("time")&&o?.[u]?o[u]:"";return[u,c,"→",f,d,...[p,g].filter(m=>m)]})))}async function OP({current:r,upgraded:e,ownersChangedDeps:t,pkgFile:s,time:n},o){if(o.format?.includes("group")){const a=OS(e,r,o);for(const{heading:u,packages:c}of a)ge(o,`
62
62
  `+u),ge(o,await N0({from:r,to:c,format:o.format,ownersChangedDeps:t,pkgFile:s,time:n}))}else o.format?.includes("lines")?xP(e,`
@@ -334,7 +334,7 @@ As a comparison: without using the \`--peer\` option, ncu will suggest the lates
334
334
  ncu-test-return-version 1.0.0 → ${W.red("2.0.0")}
335
335
  `},MS=[{long:"cache",description:`Cache versions to a local cache file. Default \`--cacheFile\` is ${M0} and default \`--cacheExpiration\` is 10 minutes.`,type:"boolean"},{long:"cacheClear",description:"Clear the default cache, or the cache file specified by `--cacheFile`.",type:"boolean"},{long:"cacheExpiration",arg:"min",description:"Cache expiration in minutes. Only works with `--cache`.",parse:r=>parseInt(r,10),default:10,type:"number"},{long:"cacheFile",arg:"path",description:"Filepath for the cache file. Only works with `--cache`.",parse:r=>de.isAbsolute(r)?r:de.join(process.cwd(),r),default:M0,type:"string"},{long:"color",description:"Force color in terminal.",type:"boolean"},{long:"concurrency",arg:"n",description:"Max number of concurrent HTTP requests to registry.",parse:r=>parseInt(r,10),default:8,type:"number"},{long:"configFileName",arg:"s",description:"Config file name. (default: .ncurc.{json,yml,js,cjs})",type:"string"},{long:"configFilePath",arg:"path",description:"Directory of .ncurc config file. (default: directory of `packageFile`)",type:"string"},{long:"cwd",arg:"path",description:"Working directory in which npm will be executed.",type:"string"},{long:"deep",description:"Run recursively in current working directory. Alias of (`--packageFile '**/package.json'`).",type:"boolean"},{long:"dep",arg:"value",description:"Check one or more sections of dependencies only: dev, optional, peer, prod, or packageManager (comma-delimited).",default:["prod","dev","optional","packageManager"],parse:r=>r&&typeof r=="string"?r.split(","):r,type:"string | string[]"},{long:"deprecated",default:!0,description:"Include deprecated packages. Use `--no-deprecated` to exclude deprecated packages (uses more bandwidth).",type:"boolean"},{long:"doctor",short:"d",description:"Iteratively installs upgrades and runs tests to identify breaking upgrades. Requires `-u` to execute.",type:"boolean",help:WP},{long:"doctorInstall",arg:"command",description:"Specifies the install script to use in doctor mode. (default: `npm install` or the equivalent for your package manager)",type:"string"},{long:"doctorTest",arg:"command",description:"Specifies the test script to use in doctor mode. (default: `npm test`)",type:"string"},{long:"enginesNode",description:"Include only packages that satisfy engines.node as specified in the package file.",type:"boolean"},{long:"errorLevel",short:"e",arg:"n",description:"Set the error level. 1: exits with error code 0 if no errors occur. 2: exits with error code 0 if no packages need updating (useful for continuous integration).",parse:r=>parseInt(r,10),default:1,type:"number"},{long:"filter",short:"f",arg:"p",description:"Include only package names matching the given string, wildcard, glob, comma-or-space-delimited list, /regex/, or predicate function.",type:"string | RegExp | (string | RegExp)[] | FilterFunction",parse:(r,e)=>[...e||[],r],help:YP},{long:"filterResults",arg:"fn",cli:!1,description:"Filters out upgrades based on a user provided function.",type:"FilterResultsFunction",help:zP},{long:"filterVersion",arg:"p",description:"Filter on package version using comma-or-space-delimited list, /regex/, or predicate function.",type:"string | RegExp | (string | RegExp)[] | FilterFunction",parse:(r,e)=>[...e||[],r],help:KP},{long:"format",arg:"value",description:"Modify the output formatting or show additional information. Specify one or more comma-delimited values: group, ownerChanged, repo, time, lines.",parse:r=>typeof r=="string"?r.split(","):r,default:[],type:"string[]",choices:["group","ownerChanged","repo","time","lines"],help:qP},{long:"global",short:"g",description:"Check global packages instead of in the current project.",type:"boolean"},{long:"groupFunction",arg:"fn",cli:!1,description:"Customize how packages are divided into groups when using `--format group`.",type:"GroupFunction",help:JP},{long:"install",arg:"value",description:"Control the auto-install behavior: always, never, prompt.",help:VP,default:"prompt",choices:["always","never","prompt"],type:"'always' | 'never' | 'prompt'"},{long:"interactive",short:"i",description:"Enable interactive prompts for each dependency; implies `-u` unless one of the json options are set.",type:"boolean"},{long:"jsonAll",short:"j",description:"Output new package file instead of human-readable message.",type:"boolean"},{long:"jsonDeps",description:"Like `jsonAll` but only lists `dependencies`, `devDependencies`, `optionalDependencies`, etc of the new package data.",type:"boolean"},{long:"jsonUpgraded",description:"Output upgraded dependencies in json.",type:"boolean"},{long:"loglevel",short:"l",arg:"n",description:"Amount to log: silent, error, minimal, warn, info, verbose, silly.",default:"warn",type:"string"},{long:"mergeConfig",description:"Merges nested configs with the root config file for `--deep` or `--packageFile` options. (default: false)",type:"boolean"},{long:"minimal",short:"m",description:"Do not upgrade newer versions that are already satisfied by the version range according to semver.",type:"boolean"},{long:"packageData",arg:"value",description:"Package file data (you can also use stdin).",type:"string | PackageFile"},{long:"packageFile",arg:"path|glob",description:"Package file(s) location. (default: ./package.json)",type:"string"},{long:"packageManager",short:"p",arg:"s",description:"npm, yarn, pnpm, deno, bun, staticRegistry (default: npm).",help:eL,type:"'npm' | 'yarn' | 'pnpm' | 'deno' | 'bun' | 'staticRegistry'"},{long:"peer",description:"Check peer dependencies of installed packages and filter updates to compatible versions.",type:"boolean",help:rL},{long:"pre",arg:"n",description:"Include prerelease versions, e.g. -alpha.0, -beta.5, -rc.2. Automatically set to 1 when `--target` is newest or greatest, or when the current version is a prerelease. (default: 0)",parse:r=>!!parseInt(r,10),type:"number"},{long:"prefix",arg:"path",description:"Current working directory of npm.",type:"string"},{long:"registry",short:"r",arg:"uri",description:"Specify the registry to use when looking up package versions.",type:"string"},{long:"registryType",arg:"type",description:"Specify whether --registry refers to a full npm registry or a simple JSON file or url: npm, json. (default: npm)",help:tL,type:"'npm' | 'json'"},{long:"reject",short:"x",arg:"p",description:"Exclude packages matching the given string, wildcard, glob, comma-or-space-delimited list, /regex/, or predicate function.",type:"string | RegExp | (string | RegExp)[] | FilterFunction",parse:(r,e)=>[...e||[],r],help:XP},{long:"rejectVersion",arg:"p",description:"Exclude package.json versions using comma-or-space-delimited list, /regex/, or predicate function.",type:"string | RegExp | (string | RegExp)[] | FilterFunction",parse:(r,e)=>[...e||[],r],help:ZP},{long:"removeRange",description:"Remove version ranges from the final package version.",type:"boolean"},{long:"root",default:!0,description:"Runs updates on the root project in addition to specified workspaces. Only allowed with `--workspace` or `--workspaces`.",type:"boolean"},{long:"retry",arg:"n",description:"Number of times to retry failed requests for package info.",parse:r=>parseInt(r,10),default:3,type:"number"},{long:"silent",short:"s",description:"Don't output anything. Alias for `--loglevel` silent.",type:"boolean"},{long:"stdin",description:"Read package.json from stdin.",type:"string"},{long:"target",short:"t",arg:"value",description:"Determines the version to upgrade to: latest, newest, greatest, minor, patch, semver, `@[tag]`, or [function]. (default: latest)",help:QP,type:`${HP.map(r=>`'${r}'`).join(" | ")} | \`@\${string}\` | TargetFunction`},{long:"timeout",arg:"ms",description:"Global timeout in milliseconds. (default: no global timeout and 30 seconds per npm-registry-fetch)",parse:r=>parseInt(r,10),type:"number"},{long:"upgrade",short:"u",description:"Overwrite package file with upgraded versions instead of just outputting to console.",type:"boolean"},{long:"verbose",description:"Log additional information for debugging. Alias for `--loglevel` verbose.",type:"boolean"},{long:"workspace",short:"w",arg:"s",parse:(r,e)=>[...e,r],default:[],description:"Run on one or more specified workspaces. Add `--root` to also upgrade the root project.",type:"string[]"},{long:"workspaces",short:"ws",description:"Run on all workspaces. Add `--root` to also upgrade the root project.",type:"boolean"}],As=MS.reduce((r,e)=>({...r,...e.short?{[e.short]:e}:null,...e.long?{[e.long]:e}:null}),{}),hl=mh(MS,r=>r.long);async function jS(r,e=Pe.readdir){try{let t=r.cwd?r.cwd:r.packageFile?de.dirname(r.packageFile):".";for(;;){const s=await e(t);if(s.includes("package-lock.json"))return{directoryPath:t,filename:"package-lock.json"};if(s.includes("yarn.lock"))return{directoryPath:t,filename:"yarn.lock"};if(s.includes("pnpm-lock.yaml"))return{directoryPath:t,filename:"pnpm-lock.yaml"};if(s.includes("deno.json"))return{directoryPath:t,filename:"deno.json"};if(s.includes("deno.jsonc"))return{directoryPath:t,filename:"deno.jsonc"};if(s.includes("bun.lockb"))return{directoryPath:t,filename:"bun.lockb"};const n=de.resolve(t,"..");if(n===t)break;t=n}}catch{}return null}const iL={"package-lock":"npm",yarn:"yarn","pnpm-lock":"pnpm",deno:"deno",bun:"bun"},US=async(r,e=Pe.readdir)=>{if(r.packageManager)return r.packageManager;if(r.global)return"npm";const t=(await jS(r,e))?.filename;return t?iL[t.split(".")[0]]:"npm"};var Fm={exports:{}};const sL=/[\p{Lu}]/u,nL=/[\p{Ll}]/u,iE=/^[\p{Lu}](?![\p{Lu}])/gu,HS=/([\p{Alpha}\p{N}_]|$)/u,GS=/[_.\- ]+/,oL=new RegExp("^"+GS.source),sE=new RegExp(GS.source+HS.source,"gu"),nE=new RegExp("\\d+"+HS.source,"gu"),aL=(r,e,t)=>{let s=!1,n=!1,o=!1;for(let a=0;a<r.length;a++){const u=r[a];s&&sL.test(u)?(r=r.slice(0,a)+"-"+r.slice(a),s=!1,o=n,n=!0,a++):n&&o&&nL.test(u)?(r=r.slice(0,a-1)+"-"+r.slice(a-1),o=n,n=!1,s=!0):(s=e(u)===u&&t(u)!==u,o=n,n=t(u)===u&&e(u)!==u)}return r},uL=(r,e)=>(iE.lastIndex=0,r.replace(iE,t=>e(t))),cL=(r,e)=>(sE.lastIndex=0,nE.lastIndex=0,r.replace(sE,(t,s)=>e(s)).replace(nE,t=>e(t))),WS=(r,e)=>{if(!(typeof r=="string"||Array.isArray(r)))throw new TypeError("Expected the input to be `string | string[]`");if(e={pascalCase:!1,preserveConsecutiveUppercase:!1,...e},Array.isArray(r)?r=r.map(o=>o.trim()).filter(o=>o.length).join("-"):r=r.trim(),r.length===0)return"";const t=e.locale===!1?o=>o.toLowerCase():o=>o.toLocaleLowerCase(e.locale),s=e.locale===!1?o=>o.toUpperCase():o=>o.toLocaleUpperCase(e.locale);return r.length===1?e.pascalCase?s(r):t(r):(r!==t(r)&&(r=aL(r,t,s)),r=r.replace(oL,""),e.preserveConsecutiveUppercase?r=uL(r,t):r=t(r),e.pascalCase&&(r=s(r.charAt(0))+r.slice(1)),cL(r,s))};Fm.exports=WS;Fm.exports.default=WS;var lL=Fm.exports;const hL=Qe(lL);var $m={exports:{}};function fL(r,e){var t=e&&e.cache?e.cache:DL,s=e&&e.serializer?e.serializer:yL,n=e&&e.strategy?e.strategy:pL;return n(r,{cache:t,serializer:s})}function dL(r){return r==null||typeof r=="number"||typeof r=="boolean"}function zS(r,e,t,s){var n=dL(s)?s:t(s),o=e.get(n);return typeof o>"u"&&(o=r.call(this,s),e.set(n,o)),o}function qS(r,e,t){var s=Array.prototype.slice.call(arguments,3),n=t(s),o=e.get(n);return typeof o>"u"&&(o=r.apply(this,s),e.set(n,o)),o}function Rm(r,e,t,s,n){return t.bind(e,r,s,n)}function pL(r,e){var t=r.length===1?zS:qS;return Rm(r,this,t,e.cache.create(),e.serializer)}function gL(r,e){var t=qS;return Rm(r,this,t,e.cache.create(),e.serializer)}function mL(r,e){var t=zS;return Rm(r,this,t,e.cache.create(),e.serializer)}function yL(){return JSON.stringify(arguments)}function Dh(){this.cache=Object.create(null)}Dh.prototype.has=function(r){return r in this.cache};Dh.prototype.get=function(r){return this.cache[r]};Dh.prototype.set=function(r,e){this.cache[r]=e};var DL={create:function(){return new Dh}};$m.exports=fL;$m.exports.strategies={variadic:gL,monadic:mL};var EL=$m.exports;const mo=Qe(EL),{hasOwnProperty:Vf}=Object.prototype,j0=(r,e={})=>{typeof e=="string"&&(e={section:e}),e.align=e.align===!0,e.newline=e.newline===!0,e.sort=e.sort===!0,e.whitespace=e.whitespace===!0||e.align===!0,e.platform=e.platform||typeof process<"u"&&process.platform,e.bracketedArray=e.bracketedArray!==!1;const t=e.platform==="win32"?`\r
336
336
  `:`
337
- `,s=e.whitespace?" = ":"=",n=[],o=e.sort?Object.keys(r).sort():Object.keys(r);let a=0;e.align&&(a=Vi(o.filter(l=>r[l]===null||Array.isArray(r[l])||typeof r[l]!="object").map(l=>Array.isArray(r[l])?`${l}[]`:l).concat([""]).reduce((l,h)=>Vi(l).length>=Vi(h).length?l:h)).length);let u="";const c=e.bracketedArray?"[]":"";for(const l of o){const h=r[l];if(h&&Array.isArray(h))for(const d of h)u+=Vi(`${l}${c}`).padEnd(a," ")+s+Vi(d)+t;else h&&typeof h=="object"?n.push(l):u+=Vi(l).padEnd(a," ")+s+Vi(h)+t}e.section&&u.length&&(u="["+Vi(e.section)+"]"+(e.newline?t+t:t)+u);for(const l of n){const h=VS(l,".").join("\\."),d=(e.section?e.section+".":"")+h,f=j0(r[l],{...e,section:d});u.length&&f.length&&(u+=t),u+=f}return u};function VS(r,e){var t=0,s=0,n=0,o=[];do if(n=r.indexOf(e,t),n!==-1){if(t=n+e.length,n>0&&r[n-1]==="\\")continue;o.push(r.slice(s,n)),s=n+e.length}while(n!==-1);return o.push(r.slice(s)),o}const oE=(r,e={})=>{e.bracketedArray=e.bracketedArray!==!1;const t=Object.create(null);let s=t,n=null;const o=/^\[([^\]]*)\]\s*$|^([^=]+)(=(.*))?$/i,a=r.split(/[\r\n]+/g),u={};for(const l of a){if(!l||l.match(/^\s*[;#]/)||l.match(/^\s*$/))continue;const h=l.match(o);if(!h)continue;if(h[1]!==void 0){if(n=fl(h[1]),n==="__proto__"){s=Object.create(null);continue}s=t[n]=t[n]||Object.create(null);continue}const d=fl(h[2]);let f;e.bracketedArray?f=d.length>2&&d.slice(-2)==="[]":(u[d]=(u?.[d]||0)+1,f=u[d]>1);const p=f&&d.endsWith("[]")?d.slice(0,-2):d;if(p==="__proto__")continue;const g=h[3]?fl(h[4]):!0,m=g==="true"||g==="false"||g==="null"?JSON.parse(g):g;f&&(Vf.call(s,p)?Array.isArray(s[p])||(s[p]=[s[p]]):s[p]=[]),Array.isArray(s[p])?s[p].push(m):s[p]=m}const c=[];for(const l of Object.keys(t)){if(!Vf.call(t,l)||typeof t[l]!="object"||Array.isArray(t[l]))continue;const h=VS(l,".");s=t;const d=h.pop(),f=d.replace(/\\\./g,".");for(const p of h)p!=="__proto__"&&((!Vf.call(s,p)||typeof s[p]!="object")&&(s[p]=Object.create(null)),s=s[p]);s===t&&f===d||(s[f]=t[l],c.push(l))}for(const l of c)delete t[l];return t},YS=r=>r.startsWith('"')&&r.endsWith('"')||r.startsWith("'")&&r.endsWith("'"),Vi=r=>typeof r!="string"||r.match(/[=\r\n]/)||r.match(/^\[/)||r.length>1&&YS(r)||r!==r.trim()?JSON.stringify(r):r.split(";").join("\\;").split("#").join("\\#"),fl=r=>{if(r=(r||"").trim(),YS(r)){r.charAt(0)==="'"&&(r=r.slice(1,-1));try{r=JSON.parse(r)}catch{}}else{let e=!1,t="";for(let s=0,n=r.length;s<n;s++){const o=r.charAt(s);if(e)"\\;#".indexOf(o)!==-1?t+=o:t+="\\"+o,e=!1;else{if(";#".indexOf(o)!==-1)break;o==="\\"?e=!0:t+=o}}return e&&(t+="\\"),t.trim()}return r};var bL={parse:oE,decode:oE,stringify:j0,encode:j0,safe:Vi,unsafe:fl};const xm=Qe(bL);var KS={exports:{}};const{URL:wL}=qt;function vL(r){try{let t=new wL(r).pathname.slice(1);if(!t.match(/^-/)){t=t.split("/");var e=t.indexOf("_rewrite");return e===-1?e=t.length-1:e++,decodeURIComponent(t[e])}}catch{}}class ou extends Error{constructor(e,t,s,n){super(),this.name=this.constructor.name,this.headers=typeof t.headers?.raw=="function"?t.headers.raw():t.headers,this.statusCode=t.status,this.code=`E${t.status}`,this.method=e,this.uri=t.url,this.body=s,this.pkgid=n?n.toString():vL(t.url),Error.captureStackTrace(this,this.constructor)}}class _L extends ou{constructor(e,t,s,n){super(e,t,s,n),this.message=`${t.status} ${t.statusText} - ${this.method.toUpperCase()} ${this.spec||this.uri}${s&&s.error?" - "+s.error:""}`}}class AL extends ou{constructor(e,t,s,n){super(e,t,s,n),this.message="OTP required for authentication",this.code="EOTP"}}class SL extends ou{constructor(e,t,s,n){super(e,t,s,n),this.message="Login is not allowed from your IP address",this.code="EAUTHIP"}}class CL extends ou{constructor(e,t,s,n){super(e,t,s,n),this.message="Unable to authenticate, need: "+t.headers.get("www-authenticate")}}var XS={HttpErrorBase:ou,HttpErrorGeneral:_L,HttpErrorAuthOTP:AL,HttpErrorAuthIPAddress:SL,HttpErrorAuthUnknown:CL},hr={};const FL=TA.constants||{ZLIB_VERNUM:4736};var $L=Object.freeze(Object.assign(Object.create(null),{Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_VERSION_ERROR:-6,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,DEFLATE:1,INFLATE:2,GZIP:3,GUNZIP:4,DEFLATERAW:5,INFLATERAW:6,UNZIP:7,BROTLI_DECODE:8,BROTLI_ENCODE:9,Z_MIN_WINDOWBITS:8,Z_MAX_WINDOWBITS:15,Z_DEFAULT_WINDOWBITS:15,Z_MIN_CHUNK:64,Z_MAX_CHUNK:1/0,Z_DEFAULT_CHUNK:16384,Z_MIN_MEMLEVEL:1,Z_MAX_MEMLEVEL:9,Z_DEFAULT_MEMLEVEL:8,Z_MIN_LEVEL:-1,Z_MAX_LEVEL:9,Z_DEFAULT_LEVEL:-1,BROTLI_OPERATION_PROCESS:0,BROTLI_OPERATION_FLUSH:1,BROTLI_OPERATION_FINISH:2,BROTLI_OPERATION_EMIT_METADATA:3,BROTLI_MODE_GENERIC:0,BROTLI_MODE_TEXT:1,BROTLI_MODE_FONT:2,BROTLI_DEFAULT_MODE:0,BROTLI_MIN_QUALITY:0,BROTLI_MAX_QUALITY:11,BROTLI_DEFAULT_QUALITY:11,BROTLI_MIN_WINDOW_BITS:10,BROTLI_MAX_WINDOW_BITS:24,BROTLI_LARGE_MAX_WINDOW_BITS:30,BROTLI_DEFAULT_WINDOW:22,BROTLI_MIN_INPUT_BLOCK_BITS:16,BROTLI_MAX_INPUT_BLOCK_BITS:24,BROTLI_PARAM_MODE:0,BROTLI_PARAM_QUALITY:1,BROTLI_PARAM_LGWIN:2,BROTLI_PARAM_LGBLOCK:3,BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING:4,BROTLI_PARAM_SIZE_HINT:5,BROTLI_PARAM_LARGE_WINDOW:6,BROTLI_PARAM_NPOSTFIX:7,BROTLI_PARAM_NDIRECT:8,BROTLI_DECODER_RESULT_ERROR:0,BROTLI_DECODER_RESULT_SUCCESS:1,BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT:2,BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT:3,BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION:0,BROTLI_DECODER_PARAM_LARGE_WINDOW:1,BROTLI_DECODER_NO_ERROR:0,BROTLI_DECODER_SUCCESS:1,BROTLI_DECODER_NEEDS_MORE_INPUT:2,BROTLI_DECODER_NEEDS_MORE_OUTPUT:3,BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE:-1,BROTLI_DECODER_ERROR_FORMAT_RESERVED:-2,BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE:-3,BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET:-4,BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME:-5,BROTLI_DECODER_ERROR_FORMAT_CL_SPACE:-6,BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE:-7,BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT:-8,BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1:-9,BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2:-10,BROTLI_DECODER_ERROR_FORMAT_TRANSFORM:-11,BROTLI_DECODER_ERROR_FORMAT_DICTIONARY:-12,BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS:-13,BROTLI_DECODER_ERROR_FORMAT_PADDING_1:-14,BROTLI_DECODER_ERROR_FORMAT_PADDING_2:-15,BROTLI_DECODER_ERROR_FORMAT_DISTANCE:-16,BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET:-19,BROTLI_DECODER_ERROR_INVALID_ARGUMENTS:-20,BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES:-21,BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS:-22,BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP:-25,BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1:-26,BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2:-27,BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES:-30,BROTLI_DECODER_ERROR_UNREACHABLE:-31},FL));const aE=typeof process=="object"&&process?process:{stdout:null,stderr:null},RL=Ot,uE=Vt,cE=si.StringDecoder,li=Symbol("EOF"),hi=Symbol("maybeEmitEnd"),os=Symbol("emittedEnd"),qu=Symbol("emittingEnd"),xo=Symbol("emittedError"),Vu=Symbol("closed"),lE=Symbol("read"),Yu=Symbol("flush"),hE=Symbol("flushChunk"),rr=Symbol("encoding"),fi=Symbol("decoder"),Ku=Symbol("flowing"),Oo=Symbol("paused"),$n=Symbol("resume"),yt=Symbol("bufferLength"),Yf=Symbol("bufferPush"),Kf=Symbol("bufferShift"),Bt=Symbol("objectMode"),It=Symbol("destroyed"),Xf=Symbol("emitData"),fE=Symbol("emitEnd"),Zf=Symbol("emitEnd2"),di=Symbol("async"),To=r=>Promise.resolve().then(r),ZS=fe._MP_NO_ITERATOR_SYMBOLS_!=="1",xL=ZS&&Symbol.asyncIterator||Symbol("asyncIterator not implemented"),OL=ZS&&Symbol.iterator||Symbol("iterator not implemented"),TL=r=>r==="end"||r==="finish"||r==="prefinish",BL=r=>r instanceof ArrayBuffer||typeof r=="object"&&r.constructor&&r.constructor.name==="ArrayBuffer"&&r.byteLength>=0,IL=r=>!Buffer.isBuffer(r)&&ArrayBuffer.isView(r);let JS=class{constructor(e,t,s){this.src=e,this.dest=t,this.opts=s,this.ondrain=()=>e[$n](),t.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},PL=class extends JS{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(e,t,s){super(e,t,s),this.proxyErrors=n=>t.emit("error",n),e.on("error",this.proxyErrors)}};var LL=class QS extends uE{constructor(e){super(),this[Ku]=!1,this[Oo]=!1,this.pipes=[],this.buffer=[],this[Bt]=e&&e.objectMode||!1,this[Bt]?this[rr]=null:this[rr]=e&&e.encoding||null,this[rr]==="buffer"&&(this[rr]=null),this[di]=e&&!!e.async||!1,this[fi]=this[rr]?new cE(this[rr]):null,this[li]=!1,this[os]=!1,this[qu]=!1,this[Vu]=!1,this[xo]=null,this.writable=!0,this.readable=!0,this[yt]=0,this[It]=!1}get bufferLength(){return this[yt]}get encoding(){return this[rr]}set encoding(e){if(this[Bt])throw new Error("cannot set encoding in objectMode");if(this[rr]&&e!==this[rr]&&(this[fi]&&this[fi].lastNeed||this[yt]))throw new Error("cannot change encoding");this[rr]!==e&&(this[fi]=e?new cE(e):null,this.buffer.length&&(this.buffer=this.buffer.map(t=>this[fi].write(t)))),this[rr]=e}setEncoding(e){this.encoding=e}get objectMode(){return this[Bt]}set objectMode(e){this[Bt]=this[Bt]||!!e}get async(){return this[di]}set async(e){this[di]=this[di]||!!e}write(e,t,s){if(this[li])throw new Error("write after end");if(this[It])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof t=="function"&&(s=t,t="utf8"),t||(t="utf8");const n=this[di]?To:o=>o();return!this[Bt]&&!Buffer.isBuffer(e)&&(IL(e)?e=Buffer.from(e.buffer,e.byteOffset,e.byteLength):BL(e)?e=Buffer.from(e):typeof e!="string"&&(this.objectMode=!0)),this[Bt]?(this.flowing&&this[yt]!==0&&this[Yu](!0),this.flowing?this.emit("data",e):this[Yf](e),this[yt]!==0&&this.emit("readable"),s&&n(s),this.flowing):e.length?(typeof e=="string"&&!(t===this[rr]&&!this[fi].lastNeed)&&(e=Buffer.from(e,t)),Buffer.isBuffer(e)&&this[rr]&&(e=this[fi].write(e)),this.flowing&&this[yt]!==0&&this[Yu](!0),this.flowing?this.emit("data",e):this[Yf](e),this[yt]!==0&&this.emit("readable"),s&&n(s),this.flowing):(this[yt]!==0&&this.emit("readable"),s&&n(s),this.flowing)}read(e){if(this[It])return null;if(this[yt]===0||e===0||e>this[yt])return this[hi](),null;this[Bt]&&(e=null),this.buffer.length>1&&!this[Bt]&&(this.encoding?this.buffer=[this.buffer.join("")]:this.buffer=[Buffer.concat(this.buffer,this[yt])]);const t=this[lE](e||null,this.buffer[0]);return this[hi](),t}[lE](e,t){return e===t.length||e===null?this[Kf]():(this.buffer[0]=t.slice(e),t=t.slice(0,e),this[yt]-=e),this.emit("data",t),!this.buffer.length&&!this[li]&&this.emit("drain"),t}end(e,t,s){return typeof e=="function"&&(s=e,e=null),typeof t=="function"&&(s=t,t="utf8"),e&&this.write(e,t),s&&this.once("end",s),this[li]=!0,this.writable=!1,(this.flowing||!this[Oo])&&this[hi](),this}[$n](){this[It]||(this[Oo]=!1,this[Ku]=!0,this.emit("resume"),this.buffer.length?this[Yu]():this[li]?this[hi]():this.emit("drain"))}resume(){return this[$n]()}pause(){this[Ku]=!1,this[Oo]=!0}get destroyed(){return this[It]}get flowing(){return this[Ku]}get paused(){return this[Oo]}[Yf](e){this[Bt]?this[yt]+=1:this[yt]+=e.length,this.buffer.push(e)}[Kf](){return this.buffer.length&&(this[Bt]?this[yt]-=1:this[yt]-=this.buffer[0].length),this.buffer.shift()}[Yu](e){do;while(this[hE](this[Kf]()));!e&&!this.buffer.length&&!this[li]&&this.emit("drain")}[hE](e){return e?(this.emit("data",e),this.flowing):!1}pipe(e,t){if(this[It])return;const s=this[os];return t=t||{},e===aE.stdout||e===aE.stderr?t.end=!1:t.end=t.end!==!1,t.proxyErrors=!!t.proxyErrors,s?t.end&&e.end():(this.pipes.push(t.proxyErrors?new PL(this,e,t):new JS(this,e,t)),this[di]?To(()=>this[$n]()):this[$n]()),e}unpipe(e){const t=this.pipes.find(s=>s.dest===e);t&&(this.pipes.splice(this.pipes.indexOf(t),1),t.unpipe())}addListener(e,t){return this.on(e,t)}on(e,t){const s=super.on(e,t);return e==="data"&&!this.pipes.length&&!this.flowing?this[$n]():e==="readable"&&this[yt]!==0?super.emit("readable"):TL(e)&&this[os]?(super.emit(e),this.removeAllListeners(e)):e==="error"&&this[xo]&&(this[di]?To(()=>t.call(this,this[xo])):t.call(this,this[xo])),s}get emittedEnd(){return this[os]}[hi](){!this[qu]&&!this[os]&&!this[It]&&this.buffer.length===0&&this[li]&&(this[qu]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[Vu]&&this.emit("close"),this[qu]=!1)}emit(e,t,...s){if(e!=="error"&&e!=="close"&&e!==It&&this[It])return;if(e==="data")return t?this[di]?To(()=>this[Xf](t)):this[Xf](t):!1;if(e==="end")return this[fE]();if(e==="close"){if(this[Vu]=!0,!this[os]&&!this[It])return;const o=super.emit("close");return this.removeAllListeners("close"),o}else if(e==="error"){this[xo]=t;const o=super.emit("error",t);return this[hi](),o}else if(e==="resume"){const o=super.emit("resume");return this[hi](),o}else if(e==="finish"||e==="prefinish"){const o=super.emit(e);return this.removeAllListeners(e),o}const n=super.emit(e,t,...s);return this[hi](),n}[Xf](e){for(const s of this.pipes)s.dest.write(e)===!1&&this.pause();const t=super.emit("data",e);return this[hi](),t}[fE](){this[os]||(this[os]=!0,this.readable=!1,this[di]?To(()=>this[Zf]()):this[Zf]())}[Zf](){if(this[fi]){const t=this[fi].end();if(t){for(const s of this.pipes)s.dest.write(t);super.emit("data",t)}}for(const t of this.pipes)t.end();const e=super.emit("end");return this.removeAllListeners("end"),e}collect(){const e=[];this[Bt]||(e.dataLength=0);const t=this.promise();return this.on("data",s=>{e.push(s),this[Bt]||(e.dataLength+=s.length)}),t.then(()=>e)}concat(){return this[Bt]?Promise.reject(new Error("cannot concat in objectMode")):this.collect().then(e=>this[Bt]?Promise.reject(new Error("cannot concat in objectMode")):this[rr]?e.join(""):Buffer.concat(e,e.dataLength))}promise(){return new Promise((e,t)=>{this.on(It,()=>t(new Error("stream destroyed"))),this.on("error",s=>t(s)),this.on("end",()=>e())})}[xL](){return{next:()=>{const t=this.read();if(t!==null)return Promise.resolve({done:!1,value:t});if(this[li])return Promise.resolve({done:!0});let s=null,n=null;const o=l=>{this.removeListener("data",a),this.removeListener("end",u),n(l)},a=l=>{this.removeListener("error",o),this.removeListener("end",u),this.pause(),s({value:l,done:!!this[li]})},u=()=>{this.removeListener("error",o),this.removeListener("data",a),s({done:!0})},c=()=>o(new Error("stream destroyed"));return new Promise((l,h)=>{n=h,s=l,this.once(It,c),this.once("error",o),this.once("end",u),this.once("data",a)})}}}[OL](){return{next:()=>{const t=this.read();return{value:t,done:t===null}}}}destroy(e){return this[It]?(e?this.emit("error",e):this.emit(It),this):(this[It]=!0,this.buffer.length=0,this[yt]=0,typeof this.close=="function"&&!this[Vu]&&this.close(),e?this.emit("error",e):this.emit(It),this)}static isStream(e){return!!e&&(e instanceof QS||e instanceof uE||e instanceof RL&&(typeof e.pipe=="function"||typeof e.write=="function"&&typeof e.end=="function"))}};const U0=zg,ys=th.Buffer,eC=TA,tn=hr.constants=$L,kL=LL,dE=ys.concat,rn=Symbol("_superWrite");class Xu extends Error{constructor(e){super("zlib: "+e.message),this.code=e.code,this.errno=e.errno,this.code||(this.code="ZLIB_ERROR"),this.message="zlib: "+e.message,Error.captureStackTrace(this,this.constructor)}get name(){return"ZlibError"}}const NL=Symbol("opts"),Bo=Symbol("flushFlag"),pE=Symbol("finishFlushFlag"),Om=Symbol("fullFlushFlag"),We=Symbol("handle"),Zu=Symbol("onError"),Rn=Symbol("sawError"),Jf=Symbol("level"),Qf=Symbol("strategy"),ed=Symbol("ended");class tC extends kL{constructor(e,t){if(!e||typeof e!="object")throw new TypeError("invalid options for ZlibBase constructor");super(e),this[Rn]=!1,this[ed]=!1,this[NL]=e,this[Bo]=e.flush,this[pE]=e.finishFlush;try{this[We]=new eC[t](e)}catch(s){throw new Xu(s)}this[Zu]=s=>{this[Rn]||(this[Rn]=!0,this.close(),this.emit("error",s))},this[We].on("error",s=>this[Zu](new Xu(s))),this.once("end",()=>this.close)}close(){this[We]&&(this[We].close(),this[We]=null,this.emit("close"))}reset(){if(!this[Rn])return U0(this[We],"zlib binding closed"),this[We].reset()}flush(e){this.ended||(typeof e!="number"&&(e=this[Om]),this.write(Object.assign(ys.alloc(0),{[Bo]:e})))}end(e,t,s){return e&&this.write(e,t),this.flush(this[pE]),this[ed]=!0,super.end(null,null,s)}get ended(){return this[ed]}write(e,t,s){if(typeof t=="function"&&(s=t,t="utf8"),typeof e=="string"&&(e=ys.from(e,t)),this[Rn])return;U0(this[We],"zlib binding closed");const n=this[We]._handle,o=n.close;n.close=()=>{};const a=this[We].close;this[We].close=()=>{},ys.concat=l=>l;let u;try{const l=typeof e[Bo]=="number"?e[Bo]:this[Bo];u=this[We]._processChunk(e,l),ys.concat=dE}catch(l){ys.concat=dE,this[Zu](new Xu(l))}finally{this[We]&&(this[We]._handle=n,n.close=o,this[We].close=a,this[We].removeAllListeners("error"))}this[We]&&this[We].on("error",l=>this[Zu](new Xu(l)));let c;if(u)if(Array.isArray(u)&&u.length>0){c=this[rn](ys.from(u[0]));for(let l=1;l<u.length;l++)c=this[rn](u[l])}else c=this[rn](ys.from(u));return s&&s(),c}[rn](e){return super.write(e)}}class dn extends tC{constructor(e,t){e=e||{},e.flush=e.flush||tn.Z_NO_FLUSH,e.finishFlush=e.finishFlush||tn.Z_FINISH,super(e,t),this[Om]=tn.Z_FULL_FLUSH,this[Jf]=e.level,this[Qf]=e.strategy}params(e,t){if(!this[Rn]){if(!this[We])throw new Error("cannot switch params when binding is closed");if(!this[We].params)throw new Error("not supported in this implementation");if(this[Jf]!==e||this[Qf]!==t){this.flush(tn.Z_SYNC_FLUSH),U0(this[We],"zlib binding closed");const s=this[We].flush;this[We].flush=(n,o)=>{this.flush(n),o()};try{this[We].params(e,t)}finally{this[We].flush=s}this[We]&&(this[Jf]=e,this[Qf]=t)}}}}class ML extends dn{constructor(e){super(e,"Deflate")}}class jL extends dn{constructor(e){super(e,"Inflate")}}const td=Symbol("_portable");class UL extends dn{constructor(e){super(e,"Gzip"),this[td]=e&&!!e.portable}[rn](e){return this[td]?(this[td]=!1,e[9]=255,super[rn](e)):super[rn](e)}}class HL extends dn{constructor(e){super(e,"Gunzip")}}class GL extends dn{constructor(e){super(e,"DeflateRaw")}}class WL extends dn{constructor(e){super(e,"InflateRaw")}}class zL extends dn{constructor(e){super(e,"Unzip")}}class rC extends tC{constructor(e,t){e=e||{},e.flush=e.flush||tn.BROTLI_OPERATION_PROCESS,e.finishFlush=e.finishFlush||tn.BROTLI_OPERATION_FINISH,super(e,t),this[Om]=tn.BROTLI_OPERATION_FLUSH}}class qL extends rC{constructor(e){super(e,"BrotliCompress")}}class VL extends rC{constructor(e){super(e,"BrotliDecompress")}}hr.Deflate=ML;hr.Inflate=jL;hr.Gzip=UL;hr.Gunzip=HL;hr.DeflateRaw=GL;hr.InflateRaw=WL;hr.Unzip=zL;typeof eC.BrotliCompress=="function"?(hr.BrotliCompress=qL,hr.BrotliDecompress=VL):hr.BrotliCompress=hr.BrotliDecompress=class{constructor(){throw new Error("Brotli is not supported in this version of Node.js")}};var au={};const gE=typeof process=="object"&&process?process:{stdout:null,stderr:null},YL=Ot,mE=Vt,KL=si,yE=KL.StringDecoder,pi=Symbol("EOF"),gi=Symbol("maybeEmitEnd"),as=Symbol("emittedEnd"),Ju=Symbol("emittingEnd"),Io=Symbol("emittedError"),Qu=Symbol("closed"),DE=Symbol("read"),ec=Symbol("flush"),EE=Symbol("flushChunk"),ir=Symbol("encoding"),mi=Symbol("decoder"),tc=Symbol("flowing"),Po=Symbol("paused"),xn=Symbol("resume"),et=Symbol("buffer"),Ur=Symbol("pipes"),Dt=Symbol("bufferLength"),rd=Symbol("bufferPush"),id=Symbol("bufferShift"),$t=Symbol("objectMode"),tt=Symbol("destroyed"),sd=Symbol("error"),nd=Symbol("emitData"),bE=Symbol("emitEnd"),od=Symbol("emitEnd2"),yi=Symbol("async"),ad=Symbol("abort"),rc=Symbol("aborted"),Ns=Symbol("signal"),Lo=r=>Promise.resolve().then(r),iC=fe._MP_NO_ITERATOR_SYMBOLS_!=="1",wE=iC&&Symbol.asyncIterator||Symbol("asyncIterator not implemented"),vE=iC&&Symbol.iterator||Symbol("iterator not implemented"),XL=r=>r==="end"||r==="finish"||r==="prefinish",ZL=r=>r instanceof ArrayBuffer||typeof r=="object"&&r.constructor&&r.constructor.name==="ArrayBuffer"&&r.byteLength>=0,JL=r=>!Buffer.isBuffer(r)&&ArrayBuffer.isView(r);let sC=class{constructor(e,t,s){this.src=e,this.dest=t,this.opts=s,this.ondrain=()=>e[xn](),t.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},QL=class extends sC{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(e,t,s){super(e,t,s),this.proxyErrors=n=>t.emit("error",n),e.on("error",this.proxyErrors)}},ek=class nC extends mE{constructor(e){super(),this[tc]=!1,this[Po]=!1,this[Ur]=[],this[et]=[],this[$t]=e&&e.objectMode||!1,this[$t]?this[ir]=null:this[ir]=e&&e.encoding||null,this[ir]==="buffer"&&(this[ir]=null),this[yi]=e&&!!e.async||!1,this[mi]=this[ir]?new yE(this[ir]):null,this[pi]=!1,this[as]=!1,this[Ju]=!1,this[Qu]=!1,this[Io]=null,this.writable=!0,this.readable=!0,this[Dt]=0,this[tt]=!1,e&&e.debugExposeBuffer===!0&&Object.defineProperty(this,"buffer",{get:()=>this[et]}),e&&e.debugExposePipes===!0&&Object.defineProperty(this,"pipes",{get:()=>this[Ur]}),this[Ns]=e&&e.signal,this[rc]=!1,this[Ns]&&(this[Ns].addEventListener("abort",()=>this[ad]()),this[Ns].aborted&&this[ad]())}get bufferLength(){return this[Dt]}get encoding(){return this[ir]}set encoding(e){if(this[$t])throw new Error("cannot set encoding in objectMode");if(this[ir]&&e!==this[ir]&&(this[mi]&&this[mi].lastNeed||this[Dt]))throw new Error("cannot change encoding");this[ir]!==e&&(this[mi]=e?new yE(e):null,this[et].length&&(this[et]=this[et].map(t=>this[mi].write(t)))),this[ir]=e}setEncoding(e){this.encoding=e}get objectMode(){return this[$t]}set objectMode(e){this[$t]=this[$t]||!!e}get async(){return this[yi]}set async(e){this[yi]=this[yi]||!!e}[ad](){this[rc]=!0,this.emit("abort",this[Ns].reason),this.destroy(this[Ns].reason)}get aborted(){return this[rc]}set aborted(e){}write(e,t,s){if(this[rc])return!1;if(this[pi])throw new Error("write after end");if(this[tt])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof t=="function"&&(s=t,t="utf8"),t||(t="utf8");const n=this[yi]?Lo:o=>o();return!this[$t]&&!Buffer.isBuffer(e)&&(JL(e)?e=Buffer.from(e.buffer,e.byteOffset,e.byteLength):ZL(e)?e=Buffer.from(e):typeof e!="string"&&(this.objectMode=!0)),this[$t]?(this.flowing&&this[Dt]!==0&&this[ec](!0),this.flowing?this.emit("data",e):this[rd](e),this[Dt]!==0&&this.emit("readable"),s&&n(s),this.flowing):e.length?(typeof e=="string"&&!(t===this[ir]&&!this[mi].lastNeed)&&(e=Buffer.from(e,t)),Buffer.isBuffer(e)&&this[ir]&&(e=this[mi].write(e)),this.flowing&&this[Dt]!==0&&this[ec](!0),this.flowing?this.emit("data",e):this[rd](e),this[Dt]!==0&&this.emit("readable"),s&&n(s),this.flowing):(this[Dt]!==0&&this.emit("readable"),s&&n(s),this.flowing)}read(e){if(this[tt])return null;if(this[Dt]===0||e===0||e>this[Dt])return this[gi](),null;this[$t]&&(e=null),this[et].length>1&&!this[$t]&&(this.encoding?this[et]=[this[et].join("")]:this[et]=[Buffer.concat(this[et],this[Dt])]);const t=this[DE](e||null,this[et][0]);return this[gi](),t}[DE](e,t){return e===t.length||e===null?this[id]():(this[et][0]=t.slice(e),t=t.slice(0,e),this[Dt]-=e),this.emit("data",t),!this[et].length&&!this[pi]&&this.emit("drain"),t}end(e,t,s){return typeof e=="function"&&(s=e,e=null),typeof t=="function"&&(s=t,t="utf8"),e&&this.write(e,t),s&&this.once("end",s),this[pi]=!0,this.writable=!1,(this.flowing||!this[Po])&&this[gi](),this}[xn](){this[tt]||(this[Po]=!1,this[tc]=!0,this.emit("resume"),this[et].length?this[ec]():this[pi]?this[gi]():this.emit("drain"))}resume(){return this[xn]()}pause(){this[tc]=!1,this[Po]=!0}get destroyed(){return this[tt]}get flowing(){return this[tc]}get paused(){return this[Po]}[rd](e){this[$t]?this[Dt]+=1:this[Dt]+=e.length,this[et].push(e)}[id](){return this[$t]?this[Dt]-=1:this[Dt]-=this[et][0].length,this[et].shift()}[ec](e){do;while(this[EE](this[id]())&&this[et].length);!e&&!this[et].length&&!this[pi]&&this.emit("drain")}[EE](e){return this.emit("data",e),this.flowing}pipe(e,t){if(this[tt])return;const s=this[as];return t=t||{},e===gE.stdout||e===gE.stderr?t.end=!1:t.end=t.end!==!1,t.proxyErrors=!!t.proxyErrors,s?t.end&&e.end():(this[Ur].push(t.proxyErrors?new QL(this,e,t):new sC(this,e,t)),this[yi]?Lo(()=>this[xn]()):this[xn]()),e}unpipe(e){const t=this[Ur].find(s=>s.dest===e);t&&(this[Ur].splice(this[Ur].indexOf(t),1),t.unpipe())}addListener(e,t){return this.on(e,t)}on(e,t){const s=super.on(e,t);return e==="data"&&!this[Ur].length&&!this.flowing?this[xn]():e==="readable"&&this[Dt]!==0?super.emit("readable"):XL(e)&&this[as]?(super.emit(e),this.removeAllListeners(e)):e==="error"&&this[Io]&&(this[yi]?Lo(()=>t.call(this,this[Io])):t.call(this,this[Io])),s}get emittedEnd(){return this[as]}[gi](){!this[Ju]&&!this[as]&&!this[tt]&&this[et].length===0&&this[pi]&&(this[Ju]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[Qu]&&this.emit("close"),this[Ju]=!1)}emit(e,t,...s){if(e!=="error"&&e!=="close"&&e!==tt&&this[tt])return;if(e==="data")return!this[$t]&&!t?!1:this[yi]?Lo(()=>this[nd](t)):this[nd](t);if(e==="end")return this[bE]();if(e==="close"){if(this[Qu]=!0,!this[as]&&!this[tt])return;const o=super.emit("close");return this.removeAllListeners("close"),o}else if(e==="error"){this[Io]=t,super.emit(sd,t);const o=!this[Ns]||this.listeners("error").length?super.emit("error",t):!1;return this[gi](),o}else if(e==="resume"){const o=super.emit("resume");return this[gi](),o}else if(e==="finish"||e==="prefinish"){const o=super.emit(e);return this.removeAllListeners(e),o}const n=super.emit(e,t,...s);return this[gi](),n}[nd](e){for(const s of this[Ur])s.dest.write(e)===!1&&this.pause();const t=super.emit("data",e);return this[gi](),t}[bE](){this[as]||(this[as]=!0,this.readable=!1,this[yi]?Lo(()=>this[od]()):this[od]())}[od](){if(this[mi]){const t=this[mi].end();if(t){for(const s of this[Ur])s.dest.write(t);super.emit("data",t)}}for(const t of this[Ur])t.end();const e=super.emit("end");return this.removeAllListeners("end"),e}collect(){const e=[];this[$t]||(e.dataLength=0);const t=this.promise();return this.on("data",s=>{e.push(s),this[$t]||(e.dataLength+=s.length)}),t.then(()=>e)}concat(){return this[$t]?Promise.reject(new Error("cannot concat in objectMode")):this.collect().then(e=>this[$t]?Promise.reject(new Error("cannot concat in objectMode")):this[ir]?e.join(""):Buffer.concat(e,e.dataLength))}promise(){return new Promise((e,t)=>{this.on(tt,()=>t(new Error("stream destroyed"))),this.on("error",s=>t(s)),this.on("end",()=>e())})}[wE](){let e=!1;const t=()=>(this.pause(),e=!0,Promise.resolve({done:!0}));return{next:()=>{if(e)return t();const n=this.read();if(n!==null)return Promise.resolve({done:!1,value:n});if(this[pi])return t();let o=null,a=null;const u=d=>{this.removeListener("data",c),this.removeListener("end",l),this.removeListener(tt,h),t(),a(d)},c=d=>{this.removeListener("error",u),this.removeListener("end",l),this.removeListener(tt,h),this.pause(),o({value:d,done:!!this[pi]})},l=()=>{this.removeListener("error",u),this.removeListener("data",c),this.removeListener(tt,h),t(),o({done:!0})},h=()=>u(new Error("stream destroyed"));return new Promise((d,f)=>{a=f,o=d,this.once(tt,h),this.once("error",u),this.once("end",l),this.once("data",c)})},throw:t,return:t,[wE](){return this}}}[vE](){let e=!1;const t=()=>(this.pause(),this.removeListener(sd,t),this.removeListener(tt,t),this.removeListener("end",t),e=!0,{done:!0}),s=()=>{if(e)return t();const n=this.read();return n===null?t():{value:n}};return this.once("end",t),this.once(sd,t),this.once(tt,t),{next:s,throw:t,return:t,[vE](){return this}}}destroy(e){return this[tt]?(e?this.emit("error",e):this.emit(tt),this):(this[tt]=!0,this[et].length=0,this[Dt]=0,typeof this.close=="function"&&!this[Qu]&&this.close(),e?this.emit("error",e):this.emit(tt),this)}static isStream(e){return!!e&&(e instanceof nC||e instanceof mE||e instanceof YL&&(typeof e.pipe=="function"||typeof e.write=="function"&&typeof e.end=="function"))}};au.Minipass=ek;const _E=typeof process=="object"&&process?process:{stdout:null,stderr:null},tk=Ot,AE=Vt,SE=si.StringDecoder,Di=Symbol("EOF"),Ei=Symbol("maybeEmitEnd"),us=Symbol("emittedEnd"),ic=Symbol("emittingEnd"),ko=Symbol("emittedError"),sc=Symbol("closed"),CE=Symbol("read"),nc=Symbol("flush"),FE=Symbol("flushChunk"),sr=Symbol("encoding"),bi=Symbol("decoder"),oc=Symbol("flowing"),No=Symbol("paused"),On=Symbol("resume"),Et=Symbol("bufferLength"),ud=Symbol("bufferPush"),cd=Symbol("bufferShift"),Pt=Symbol("objectMode"),Lt=Symbol("destroyed"),ld=Symbol("emitData"),$E=Symbol("emitEnd"),hd=Symbol("emitEnd2"),wi=Symbol("async"),Mo=r=>Promise.resolve().then(r),oC=fe._MP_NO_ITERATOR_SYMBOLS_!=="1",rk=oC&&Symbol.asyncIterator||Symbol("asyncIterator not implemented"),ik=oC&&Symbol.iterator||Symbol("iterator not implemented"),sk=r=>r==="end"||r==="finish"||r==="prefinish",nk=r=>r instanceof ArrayBuffer||typeof r=="object"&&r.constructor&&r.constructor.name==="ArrayBuffer"&&r.byteLength>=0,ok=r=>!Buffer.isBuffer(r)&&ArrayBuffer.isView(r);let aC=class{constructor(e,t,s){this.src=e,this.dest=t,this.opts=s,this.ondrain=()=>e[On](),t.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},ak=class extends aC{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(e,t,s){super(e,t,s),this.proxyErrors=n=>t.emit("error",n),e.on("error",this.proxyErrors)}};var uk=class uC extends AE{constructor(e){super(),this[oc]=!1,this[No]=!1,this.pipes=[],this.buffer=[],this[Pt]=e&&e.objectMode||!1,this[Pt]?this[sr]=null:this[sr]=e&&e.encoding||null,this[sr]==="buffer"&&(this[sr]=null),this[wi]=e&&!!e.async||!1,this[bi]=this[sr]?new SE(this[sr]):null,this[Di]=!1,this[us]=!1,this[ic]=!1,this[sc]=!1,this[ko]=null,this.writable=!0,this.readable=!0,this[Et]=0,this[Lt]=!1}get bufferLength(){return this[Et]}get encoding(){return this[sr]}set encoding(e){if(this[Pt])throw new Error("cannot set encoding in objectMode");if(this[sr]&&e!==this[sr]&&(this[bi]&&this[bi].lastNeed||this[Et]))throw new Error("cannot change encoding");this[sr]!==e&&(this[bi]=e?new SE(e):null,this.buffer.length&&(this.buffer=this.buffer.map(t=>this[bi].write(t)))),this[sr]=e}setEncoding(e){this.encoding=e}get objectMode(){return this[Pt]}set objectMode(e){this[Pt]=this[Pt]||!!e}get async(){return this[wi]}set async(e){this[wi]=this[wi]||!!e}write(e,t,s){if(this[Di])throw new Error("write after end");if(this[Lt])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof t=="function"&&(s=t,t="utf8"),t||(t="utf8");const n=this[wi]?Mo:o=>o();return!this[Pt]&&!Buffer.isBuffer(e)&&(ok(e)?e=Buffer.from(e.buffer,e.byteOffset,e.byteLength):nk(e)?e=Buffer.from(e):typeof e!="string"&&(this.objectMode=!0)),this[Pt]?(this.flowing&&this[Et]!==0&&this[nc](!0),this.flowing?this.emit("data",e):this[ud](e),this[Et]!==0&&this.emit("readable"),s&&n(s),this.flowing):e.length?(typeof e=="string"&&!(t===this[sr]&&!this[bi].lastNeed)&&(e=Buffer.from(e,t)),Buffer.isBuffer(e)&&this[sr]&&(e=this[bi].write(e)),this.flowing&&this[Et]!==0&&this[nc](!0),this.flowing?this.emit("data",e):this[ud](e),this[Et]!==0&&this.emit("readable"),s&&n(s),this.flowing):(this[Et]!==0&&this.emit("readable"),s&&n(s),this.flowing)}read(e){if(this[Lt])return null;if(this[Et]===0||e===0||e>this[Et])return this[Ei](),null;this[Pt]&&(e=null),this.buffer.length>1&&!this[Pt]&&(this.encoding?this.buffer=[this.buffer.join("")]:this.buffer=[Buffer.concat(this.buffer,this[Et])]);const t=this[CE](e||null,this.buffer[0]);return this[Ei](),t}[CE](e,t){return e===t.length||e===null?this[cd]():(this.buffer[0]=t.slice(e),t=t.slice(0,e),this[Et]-=e),this.emit("data",t),!this.buffer.length&&!this[Di]&&this.emit("drain"),t}end(e,t,s){return typeof e=="function"&&(s=e,e=null),typeof t=="function"&&(s=t,t="utf8"),e&&this.write(e,t),s&&this.once("end",s),this[Di]=!0,this.writable=!1,(this.flowing||!this[No])&&this[Ei](),this}[On](){this[Lt]||(this[No]=!1,this[oc]=!0,this.emit("resume"),this.buffer.length?this[nc]():this[Di]?this[Ei]():this.emit("drain"))}resume(){return this[On]()}pause(){this[oc]=!1,this[No]=!0}get destroyed(){return this[Lt]}get flowing(){return this[oc]}get paused(){return this[No]}[ud](e){this[Pt]?this[Et]+=1:this[Et]+=e.length,this.buffer.push(e)}[cd](){return this.buffer.length&&(this[Pt]?this[Et]-=1:this[Et]-=this.buffer[0].length),this.buffer.shift()}[nc](e){do;while(this[FE](this[cd]()));!e&&!this.buffer.length&&!this[Di]&&this.emit("drain")}[FE](e){return e?(this.emit("data",e),this.flowing):!1}pipe(e,t){if(this[Lt])return;const s=this[us];return t=t||{},e===_E.stdout||e===_E.stderr?t.end=!1:t.end=t.end!==!1,t.proxyErrors=!!t.proxyErrors,s?t.end&&e.end():(this.pipes.push(t.proxyErrors?new ak(this,e,t):new aC(this,e,t)),this[wi]?Mo(()=>this[On]()):this[On]()),e}unpipe(e){const t=this.pipes.find(s=>s.dest===e);t&&(this.pipes.splice(this.pipes.indexOf(t),1),t.unpipe())}addListener(e,t){return this.on(e,t)}on(e,t){const s=super.on(e,t);return e==="data"&&!this.pipes.length&&!this.flowing?this[On]():e==="readable"&&this[Et]!==0?super.emit("readable"):sk(e)&&this[us]?(super.emit(e),this.removeAllListeners(e)):e==="error"&&this[ko]&&(this[wi]?Mo(()=>t.call(this,this[ko])):t.call(this,this[ko])),s}get emittedEnd(){return this[us]}[Ei](){!this[ic]&&!this[us]&&!this[Lt]&&this.buffer.length===0&&this[Di]&&(this[ic]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[sc]&&this.emit("close"),this[ic]=!1)}emit(e,t,...s){if(e!=="error"&&e!=="close"&&e!==Lt&&this[Lt])return;if(e==="data")return t?this[wi]?Mo(()=>this[ld](t)):this[ld](t):!1;if(e==="end")return this[$E]();if(e==="close"){if(this[sc]=!0,!this[us]&&!this[Lt])return;const o=super.emit("close");return this.removeAllListeners("close"),o}else if(e==="error"){this[ko]=t;const o=super.emit("error",t);return this[Ei](),o}else if(e==="resume"){const o=super.emit("resume");return this[Ei](),o}else if(e==="finish"||e==="prefinish"){const o=super.emit(e);return this.removeAllListeners(e),o}const n=super.emit(e,t,...s);return this[Ei](),n}[ld](e){for(const s of this.pipes)s.dest.write(e)===!1&&this.pause();const t=super.emit("data",e);return this[Ei](),t}[$E](){this[us]||(this[us]=!0,this.readable=!1,this[wi]?Mo(()=>this[hd]()):this[hd]())}[hd](){if(this[bi]){const t=this[bi].end();if(t){for(const s of this.pipes)s.dest.write(t);super.emit("data",t)}}for(const t of this.pipes)t.end();const e=super.emit("end");return this.removeAllListeners("end"),e}collect(){const e=[];this[Pt]||(e.dataLength=0);const t=this.promise();return this.on("data",s=>{e.push(s),this[Pt]||(e.dataLength+=s.length)}),t.then(()=>e)}concat(){return this[Pt]?Promise.reject(new Error("cannot concat in objectMode")):this.collect().then(e=>this[Pt]?Promise.reject(new Error("cannot concat in objectMode")):this[sr]?e.join(""):Buffer.concat(e,e.dataLength))}promise(){return new Promise((e,t)=>{this.on(Lt,()=>t(new Error("stream destroyed"))),this.on("error",s=>t(s)),this.on("end",()=>e())})}[rk](){return{next:()=>{const t=this.read();if(t!==null)return Promise.resolve({done:!1,value:t});if(this[Di])return Promise.resolve({done:!0});let s=null,n=null;const o=l=>{this.removeListener("data",a),this.removeListener("end",u),n(l)},a=l=>{this.removeListener("error",o),this.removeListener("end",u),this.pause(),s({value:l,done:!!this[Di]})},u=()=>{this.removeListener("error",o),this.removeListener("data",a),s({done:!0})},c=()=>o(new Error("stream destroyed"));return new Promise((l,h)=>{n=h,s=l,this.once(Lt,c),this.once("error",o),this.once("end",u),this.once("data",a)})}}}[ik](){return{next:()=>{const t=this.read();return{value:t,done:t===null}}}}destroy(e){return this[Lt]?(e?this.emit("error",e):this.emit(Lt),this):(this[Lt]=!0,this.buffer.length=0,this[Et]=0,typeof this.close=="function"&&!this[sc]&&this.close(),e?this.emit("error",e):this.emit(Lt),this)}static isStream(e){return!!e&&(e instanceof uC||e instanceof AE||e instanceof tk&&(typeof e.pipe=="function"||typeof e.write=="function"&&typeof e.end=="function"))}};const ck=uk;class H0 extends Error{constructor(e,t){super(`Bad data size: expected ${t} bytes, but got ${e}`),this.expect=t,this.found=e,this.code="EBADSIZE",Error.captureStackTrace(this,this.constructor)}get name(){return"SizeError"}}let cC=class extends ck{constructor(e={}){if(super(e),e.objectMode)throw new TypeError(`${this.constructor.name} streams only work with string and buffer data`);if(this.found=0,this.expect=e.size,typeof this.expect!="number"||this.expect>Number.MAX_SAFE_INTEGER||isNaN(this.expect)||this.expect<0||!isFinite(this.expect)||this.expect!==Math.floor(this.expect))throw new Error("invalid expected size: "+this.expect)}write(e,t,s){const n=Buffer.isBuffer(e)?e:typeof e=="string"?Buffer.from(e,typeof t=="string"?t:"utf8"):e;return Buffer.isBuffer(n)?(this.found+=n.length,this.found>this.expect&&this.emit("error",new H0(this.found,this.expect)),super.write(e,t,s)):(this.emit("error",new TypeError(`${this.constructor.name} streams only work with string and buffer data`)),!1)}emit(e,...t){return e==="end"&&this.found!==this.expect&&this.emit("error",new H0(this.found,this.expect)),super.emit(e,...t)}};cC.SizeError=H0;var lk=cC;const{Minipass:hk}=au,fd=Symbol("type"),vi=Symbol("buffer");let lC=class G0{constructor(e,t){this[fd]="";const s=[];let n=0;if(e){const a=e,u=Number(a.length);for(let c=0;c<u;c++){const l=a[c],h=l instanceof Buffer?l:ArrayBuffer.isView(l)?Buffer.from(l.buffer,l.byteOffset,l.byteLength):l instanceof ArrayBuffer?Buffer.from(l):l instanceof G0?l[vi]:typeof l=="string"?Buffer.from(l):Buffer.from(String(l));n+=h.length,s.push(h)}}this[vi]=Buffer.concat(s,n);const o=t&&t.type!==void 0&&String(t.type).toLowerCase();o&&!/[^\u0020-\u007E]/.test(o)&&(this[fd]=o)}get size(){return this[vi].length}get type(){return this[fd]}text(){return Promise.resolve(this[vi].toString())}arrayBuffer(){const e=this[vi],t=e.byteOffset,s=e.byteLength,n=e.buffer.slice(t,t+s);return Promise.resolve(n)}stream(){return new hk().end(this[vi])}slice(e,t,s){const n=this.size,o=e===void 0?0:e<0?Math.max(n+e,0):Math.min(e,n),a=t===void 0?n:t<0?Math.max(n+t,0):Math.min(t,n),u=Math.max(a-o,0),l=this[vi].slice(o,o+u),h=new G0([],{type:s});return h[vi]=l,h}get[Symbol.toStringTag](){return"Blob"}static get BUFFER(){return vi}};Object.defineProperties(lC.prototype,{size:{enumerable:!0},type:{enumerable:!0}});var fk=lC;let dk=class extends Error{constructor(e,t,s){super(e),this.code="FETCH_ERROR",s&&Object.assign(this,s),this.errno=this.code,this.type=this.code==="EBADSIZE"&&this.found>this.expect?"max-size":t,this.message=e,Error.captureStackTrace(this,this.constructor)}get name(){return"FetchError"}set name(e){}get[Symbol.toStringTag](){return"FetchError"}};var hC=dk,dd={},pd={exports:{}},gd,RE;function ks(){if(RE)return gd;RE=1;var r=th,e=r.Buffer,t={},s;for(s in r)r.hasOwnProperty(s)&&(s==="SlowBuffer"||s==="Buffer"||(t[s]=r[s]));var n=t.Buffer={};for(s in e)e.hasOwnProperty(s)&&(s==="allocUnsafe"||s==="allocUnsafeSlow"||(n[s]=e[s]));if(t.Buffer.prototype=e.prototype,(!n.from||n.from===Uint8Array.from)&&(n.from=function(o,a,u){if(typeof o=="number")throw new TypeError('The "value" argument must not be of type number. Received type '+typeof o);if(o&&typeof o.length>"u")throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof o);return e(o,a,u)}),n.alloc||(n.alloc=function(o,a,u){if(typeof o!="number")throw new TypeError('The "size" argument must be of type number. Received type '+typeof o);if(o<0||o>=2*(1<<30))throw new RangeError('The value "'+o+'" is invalid for option "size"');var c=e(o);return!a||a.length===0?c.fill(0):typeof u=="string"?c.fill(a,u):c.fill(a),c}),!t.kStringMaxLength)try{t.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch{}return t.constants||(t.constants={MAX_LENGTH:t.kMaxLength},t.kStringMaxLength&&(t.constants.MAX_STRING_LENGTH=t.kStringMaxLength)),gd=t,gd}var ac={},xE;function pk(){if(xE)return ac;xE=1;var r="\uFEFF";ac.PrependBOM=e;function e(s,n){this.encoder=s,this.addBOM=!0}e.prototype.write=function(s){return this.addBOM&&(s=r+s,this.addBOM=!1),this.encoder.write(s)},e.prototype.end=function(){return this.encoder.end()},ac.StripBOM=t;function t(s,n){this.decoder=s,this.pass=!1,this.options=n||{}}return t.prototype.write=function(s){var n=this.decoder.write(s);return this.pass||!n||(n[0]===r&&(n=n.slice(1),typeof this.options.stripBOM=="function"&&this.options.stripBOM()),this.pass=!0),n},t.prototype.end=function(){return this.decoder.end()},ac}var md={},yd,OE;function gk(){if(OE)return yd;OE=1;var r=ks().Buffer;yd={utf8:{type:"_internal",bomAware:!0},cesu8:{type:"_internal",bomAware:!0},unicode11utf8:"utf8",ucs2:{type:"_internal",bomAware:!0},utf16le:"ucs2",binary:{type:"_internal"},base64:{type:"_internal"},hex:{type:"_internal"},_internal:e};function e(c,l){this.enc=c.encodingName,this.bomAware=c.bomAware,this.enc==="base64"?this.encoder=o:this.enc==="cesu8"&&(this.enc="utf8",this.encoder=a,r.from("eda0bdedb2a9","hex").toString()!=="💩"&&(this.decoder=u,this.defaultCharUnicode=l.defaultCharUnicode))}e.prototype.encoder=n,e.prototype.decoder=s;var t=si.StringDecoder;t.prototype.end||(t.prototype.end=function(){});function s(c,l){this.decoder=new t(l.enc)}s.prototype.write=function(c){return r.isBuffer(c)||(c=r.from(c)),this.decoder.write(c)},s.prototype.end=function(){return this.decoder.end()};function n(c,l){this.enc=l.enc}n.prototype.write=function(c){return r.from(c,this.enc)},n.prototype.end=function(){};function o(c,l){this.prevStr=""}o.prototype.write=function(c){c=this.prevStr+c;var l=c.length-c.length%4;return this.prevStr=c.slice(l),c=c.slice(0,l),r.from(c,"base64")},o.prototype.end=function(){return r.from(this.prevStr,"base64")};function a(c,l){}a.prototype.write=function(c){for(var l=r.alloc(c.length*3),h=0,d=0;d<c.length;d++){var f=c.charCodeAt(d);f<128?l[h++]=f:f<2048?(l[h++]=192+(f>>>6),l[h++]=128+(f&63)):(l[h++]=224+(f>>>12),l[h++]=128+(f>>>6&63),l[h++]=128+(f&63))}return l.slice(0,h)},a.prototype.end=function(){};function u(c,l){this.acc=0,this.contBytes=0,this.accBytes=0,this.defaultCharUnicode=l.defaultCharUnicode}return u.prototype.write=function(c){for(var l=this.acc,h=this.contBytes,d=this.accBytes,f="",p=0;p<c.length;p++){var g=c[p];(g&192)!==128?(h>0&&(f+=this.defaultCharUnicode,h=0),g<128?f+=String.fromCharCode(g):g<224?(l=g&31,h=1,d=1):g<240?(l=g&15,h=2,d=1):f+=this.defaultCharUnicode):h>0?(l=l<<6|g&63,h--,d++,h===0&&(d===2&&l<128&&l>0?f+=this.defaultCharUnicode:d===3&&l<2048?f+=this.defaultCharUnicode:f+=String.fromCharCode(l))):f+=this.defaultCharUnicode}return this.acc=l,this.contBytes=h,this.accBytes=d,f},u.prototype.end=function(){var c=0;return this.contBytes>0&&(c+=this.defaultCharUnicode),c},yd}var _i={},TE;function mk(){if(TE)return _i;TE=1;var r=ks().Buffer;_i._utf32=e;function e(l,h){this.iconv=h,this.bomAware=!0,this.isLE=l.isLE}_i.utf32le={type:"_utf32",isLE:!0},_i.utf32be={type:"_utf32",isLE:!1},_i.ucs4le="utf32le",_i.ucs4be="utf32be",e.prototype.encoder=t,e.prototype.decoder=s;function t(l,h){this.isLE=h.isLE,this.highSurrogate=0}t.prototype.write=function(l){for(var h=r.from(l,"ucs2"),d=r.alloc(h.length*2),f=this.isLE?d.writeUInt32LE:d.writeUInt32BE,p=0,g=0;g<h.length;g+=2){var m=h.readUInt16LE(g),E=55296<=m&&m<56320,D=56320<=m&&m<57344;if(this.highSurrogate)if(E||!D)f.call(d,this.highSurrogate,p),p+=4;else{var b=(this.highSurrogate-55296<<10|m-56320)+65536;f.call(d,b,p),p+=4,this.highSurrogate=0;continue}E?this.highSurrogate=m:(f.call(d,m,p),p+=4,this.highSurrogate=0)}return p<d.length&&(d=d.slice(0,p)),d},t.prototype.end=function(){if(this.highSurrogate){var l=r.alloc(4);return this.isLE?l.writeUInt32LE(this.highSurrogate,0):l.writeUInt32BE(this.highSurrogate,0),this.highSurrogate=0,l}};function s(l,h){this.isLE=h.isLE,this.badChar=h.iconv.defaultCharUnicode.charCodeAt(0),this.overflow=[]}s.prototype.write=function(l){if(l.length===0)return"";var h=0,d=0,f=r.alloc(l.length+4),p=0,g=this.isLE,m=this.overflow,E=this.badChar;if(m.length>0){for(;h<l.length&&m.length<4;h++)m.push(l[h]);m.length===4&&(g?d=m[h]|m[h+1]<<8|m[h+2]<<16|m[h+3]<<24:d=m[h+3]|m[h+2]<<8|m[h+1]<<16|m[h]<<24,m.length=0,p=n(f,p,d,E))}for(;h<l.length-3;h+=4)g?d=l[h]|l[h+1]<<8|l[h+2]<<16|l[h+3]<<24:d=l[h+3]|l[h+2]<<8|l[h+1]<<16|l[h]<<24,p=n(f,p,d,E);for(;h<l.length;h++)m.push(l[h]);return f.slice(0,p).toString("ucs2")};function n(l,h,d,f){if((d<0||d>1114111)&&(d=f),d>=65536){d-=65536;var p=55296|d>>10;l[h++]=p&255,l[h++]=p>>8;var d=56320|d&1023}return l[h++]=d&255,l[h++]=d>>8,h}s.prototype.end=function(){this.overflow.length=0},_i.utf32=o,_i.ucs4="utf32";function o(l,h){this.iconv=h}o.prototype.encoder=a,o.prototype.decoder=u;function a(l,h){l=l||{},l.addBOM===void 0&&(l.addBOM=!0),this.encoder=h.iconv.getEncoder(l.defaultEncoding||"utf-32le",l)}a.prototype.write=function(l){return this.encoder.write(l)},a.prototype.end=function(){return this.encoder.end()};function u(l,h){this.decoder=null,this.initialBufs=[],this.initialBufsLen=0,this.options=l||{},this.iconv=h.iconv}u.prototype.write=function(l){if(!this.decoder){if(this.initialBufs.push(l),this.initialBufsLen+=l.length,this.initialBufsLen<32)return"";var h=c(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(h,this.options);for(var d="",f=0;f<this.initialBufs.length;f++)d+=this.decoder.write(this.initialBufs[f]);return this.initialBufs.length=this.initialBufsLen=0,d}return this.decoder.write(l)},u.prototype.end=function(){if(!this.decoder){var l=c(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(l,this.options);for(var h="",d=0;d<this.initialBufs.length;d++)h+=this.decoder.write(this.initialBufs[d]);var f=this.decoder.end();return f&&(h+=f),this.initialBufs.length=this.initialBufsLen=0,h}return this.decoder.end()};function c(l,h){var d=[],f=0,p=0,g=0,m=0,E=0;e:for(var D=0;D<l.length;D++)for(var b=l[D],w=0;w<b.length;w++)if(d.push(b[w]),d.length===4){if(f===0){if(d[0]===255&&d[1]===254&&d[2]===0&&d[3]===0)return"utf-32le";if(d[0]===0&&d[1]===0&&d[2]===254&&d[3]===255)return"utf-32be"}if((d[0]!==0||d[1]>16)&&g++,(d[3]!==0||d[2]>16)&&p++,d[0]===0&&d[1]===0&&(d[2]!==0||d[3]!==0)&&E++,(d[0]!==0||d[1]!==0)&&d[2]===0&&d[3]===0&&m++,d.length=0,f++,f>=100)break e}return E-g>m-p?"utf-32be":E-g<m-p?"utf-32le":h||"utf-32le"}return _i}var uc={},BE;function yk(){if(BE)return uc;BE=1;var r=ks().Buffer;uc.utf16be=e;function e(){}e.prototype.encoder=t,e.prototype.decoder=s,e.prototype.bomAware=!0;function t(){}t.prototype.write=function(c){for(var l=r.from(c,"ucs2"),h=0;h<l.length;h+=2){var d=l[h];l[h]=l[h+1],l[h+1]=d}return l},t.prototype.end=function(){};function s(){this.overflowByte=-1}s.prototype.write=function(c){if(c.length==0)return"";var l=r.alloc(c.length+1),h=0,d=0;for(this.overflowByte!==-1&&(l[0]=c[0],l[1]=this.overflowByte,h=1,d=2);h<c.length-1;h+=2,d+=2)l[d]=c[h+1],l[d+1]=c[h];return this.overflowByte=h==c.length-1?c[c.length-1]:-1,l.slice(0,d).toString("ucs2")},s.prototype.end=function(){this.overflowByte=-1},uc.utf16=n;function n(c,l){this.iconv=l}n.prototype.encoder=o,n.prototype.decoder=a;function o(c,l){c=c||{},c.addBOM===void 0&&(c.addBOM=!0),this.encoder=l.iconv.getEncoder("utf-16le",c)}o.prototype.write=function(c){return this.encoder.write(c)},o.prototype.end=function(){return this.encoder.end()};function a(c,l){this.decoder=null,this.initialBufs=[],this.initialBufsLen=0,this.options=c||{},this.iconv=l.iconv}a.prototype.write=function(c){if(!this.decoder){if(this.initialBufs.push(c),this.initialBufsLen+=c.length,this.initialBufsLen<16)return"";var l=u(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(l,this.options);for(var h="",d=0;d<this.initialBufs.length;d++)h+=this.decoder.write(this.initialBufs[d]);return this.initialBufs.length=this.initialBufsLen=0,h}return this.decoder.write(c)},a.prototype.end=function(){if(!this.decoder){var c=u(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(c,this.options);for(var l="",h=0;h<this.initialBufs.length;h++)l+=this.decoder.write(this.initialBufs[h]);var d=this.decoder.end();return d&&(l+=d),this.initialBufs.length=this.initialBufsLen=0,l}return this.decoder.end()};function u(c,l){var h=[],d=0,f=0,p=0;e:for(var g=0;g<c.length;g++)for(var m=c[g],E=0;E<m.length;E++)if(h.push(m[E]),h.length===2){if(d===0){if(h[0]===255&&h[1]===254)return"utf-16le";if(h[0]===254&&h[1]===255)return"utf-16be"}if(h[0]===0&&h[1]!==0&&p++,h[0]!==0&&h[1]===0&&f++,h.length=0,d++,d>=100)break e}return p>f?"utf-16be":p<f?"utf-16le":l||"utf-16le"}return uc}var jo={},IE;function Dk(){if(IE)return jo;IE=1;var r=ks().Buffer;jo.utf7=e,jo.unicode11utf7="utf7";function e(m,E){this.iconv=E}e.prototype.encoder=s,e.prototype.decoder=n,e.prototype.bomAware=!0;var t=/[^A-Za-z0-9'\(\),-\.\/:\? \n\r\t]+/g;function s(m,E){this.iconv=E.iconv}s.prototype.write=function(m){return r.from(m.replace(t,function(E){return"+"+(E==="+"?"":this.iconv.encode(E,"utf16-be").toString("base64").replace(/=+$/,""))+"-"}.bind(this)))},s.prototype.end=function(){};function n(m,E){this.iconv=E.iconv,this.inBase64=!1,this.base64Accum=""}for(var o=/[A-Za-z0-9\/+]/,a=[],u=0;u<256;u++)a[u]=o.test(String.fromCharCode(u));var c=43,l=45,h=38;n.prototype.write=function(m){for(var E="",D=0,b=this.inBase64,w=this.base64Accum,v=0;v<m.length;v++)if(!b)m[v]==c&&(E+=this.iconv.decode(m.slice(D,v),"ascii"),D=v+1,b=!0);else if(!a[m[v]]){if(v==D&&m[v]==l)E+="+";else{var _=w+this.iconv.decode(m.slice(D,v),"ascii");E+=this.iconv.decode(r.from(_,"base64"),"utf16-be")}m[v]!=l&&v--,D=v+1,b=!1,w=""}if(!b)E+=this.iconv.decode(m.slice(D),"ascii");else{var _=w+this.iconv.decode(m.slice(D),"ascii"),R=_.length-_.length%8;w=_.slice(R),_=_.slice(0,R),E+=this.iconv.decode(r.from(_,"base64"),"utf16-be")}return this.inBase64=b,this.base64Accum=w,E},n.prototype.end=function(){var m="";return this.inBase64&&this.base64Accum.length>0&&(m=this.iconv.decode(r.from(this.base64Accum,"base64"),"utf16-be")),this.inBase64=!1,this.base64Accum="",m},jo.utf7imap=d;function d(m,E){this.iconv=E}d.prototype.encoder=f,d.prototype.decoder=p,d.prototype.bomAware=!0;function f(m,E){this.iconv=E.iconv,this.inBase64=!1,this.base64Accum=r.alloc(6),this.base64AccumIdx=0}f.prototype.write=function(m){for(var E=this.inBase64,D=this.base64Accum,b=this.base64AccumIdx,w=r.alloc(m.length*5+10),v=0,_=0;_<m.length;_++){var R=m.charCodeAt(_);32<=R&&R<=126?(E&&(b>0&&(v+=w.write(D.slice(0,b).toString("base64").replace(/\//g,",").replace(/=+$/,""),v),b=0),w[v++]=l,E=!1),E||(w[v++]=R,R===h&&(w[v++]=l))):(E||(w[v++]=h,E=!0),E&&(D[b++]=R>>8,D[b++]=R&255,b==D.length&&(v+=w.write(D.toString("base64").replace(/\//g,","),v),b=0)))}return this.inBase64=E,this.base64AccumIdx=b,w.slice(0,v)},f.prototype.end=function(){var m=r.alloc(10),E=0;return this.inBase64&&(this.base64AccumIdx>0&&(E+=m.write(this.base64Accum.slice(0,this.base64AccumIdx).toString("base64").replace(/\//g,",").replace(/=+$/,""),E),this.base64AccumIdx=0),m[E++]=l,this.inBase64=!1),m.slice(0,E)};function p(m,E){this.iconv=E.iconv,this.inBase64=!1,this.base64Accum=""}var g=a.slice();return g[44]=!0,p.prototype.write=function(m){for(var E="",D=0,b=this.inBase64,w=this.base64Accum,v=0;v<m.length;v++)if(!b)m[v]==h&&(E+=this.iconv.decode(m.slice(D,v),"ascii"),D=v+1,b=!0);else if(!g[m[v]]){if(v==D&&m[v]==l)E+="&";else{var _=w+this.iconv.decode(m.slice(D,v),"ascii").replace(/,/g,"/");E+=this.iconv.decode(r.from(_,"base64"),"utf16-be")}m[v]!=l&&v--,D=v+1,b=!1,w=""}if(!b)E+=this.iconv.decode(m.slice(D),"ascii");else{var _=w+this.iconv.decode(m.slice(D),"ascii").replace(/,/g,"/"),R=_.length-_.length%8;w=_.slice(R),_=_.slice(0,R),E+=this.iconv.decode(r.from(_,"base64"),"utf16-be")}return this.inBase64=b,this.base64Accum=w,E},p.prototype.end=function(){var m="";return this.inBase64&&this.base64Accum.length>0&&(m=this.iconv.decode(r.from(this.base64Accum,"base64"),"utf16-be")),this.inBase64=!1,this.base64Accum="",m},jo}var Dd={},PE;function Ek(){if(PE)return Dd;PE=1;var r=ks().Buffer;Dd._sbcs=e;function e(n,o){if(!n)throw new Error("SBCS codec is called without the data.");if(!n.chars||n.chars.length!==128&&n.chars.length!==256)throw new Error("Encoding '"+n.type+"' has incorrect 'chars' (must be of len 128 or 256)");if(n.chars.length===128){for(var a="",u=0;u<128;u++)a+=String.fromCharCode(u);n.chars=a+n.chars}this.decodeBuf=r.from(n.chars,"ucs2");for(var c=r.alloc(65536,o.defaultCharSingleByte.charCodeAt(0)),u=0;u<n.chars.length;u++)c[n.chars.charCodeAt(u)]=u;this.encodeBuf=c}e.prototype.encoder=t,e.prototype.decoder=s;function t(n,o){this.encodeBuf=o.encodeBuf}t.prototype.write=function(n){for(var o=r.alloc(n.length),a=0;a<n.length;a++)o[a]=this.encodeBuf[n.charCodeAt(a)];return o},t.prototype.end=function(){};function s(n,o){this.decodeBuf=o.decodeBuf}return s.prototype.write=function(n){for(var o=this.decodeBuf,a=r.alloc(n.length*2),u=0,c=0,l=0;l<n.length;l++)u=n[l]*2,c=l*2,a[c]=o[u],a[c+1]=o[u+1];return a.toString("ucs2")},s.prototype.end=function(){},Dd}var Ed,LE;function bk(){return LE||(LE=1,Ed={10029:"maccenteuro",maccenteuro:{type:"_sbcs",chars:"ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ"},808:"cp808",ibm808:"cp808",cp808:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№€■ "},mik:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя└┴┬├─┼╣║╚╔╩╦╠═╬┐░▒▓│┤№§╗╝┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},cp720:{type:"_sbcs",chars:"€éâ„à†çêëèïّْô¤ـûùءآأؤ£إئابةتثجحخدذرزسشص«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ضطظعغفµقكلمنهوىي≡ًٌٍَُِ≈°∙·√ⁿ²■ "},ascii8bit:"ascii",usascii:"ascii",ansix34:"ascii",ansix341968:"ascii",ansix341986:"ascii",csascii:"ascii",cp367:"ascii",ibm367:"ascii",isoir6:"ascii",iso646us:"ascii",iso646irv:"ascii",us:"ascii",latin1:"iso88591",latin2:"iso88592",latin3:"iso88593",latin4:"iso88594",latin5:"iso88599",latin6:"iso885910",latin7:"iso885913",latin8:"iso885914",latin9:"iso885915",latin10:"iso885916",csisolatin1:"iso88591",csisolatin2:"iso88592",csisolatin3:"iso88593",csisolatin4:"iso88594",csisolatincyrillic:"iso88595",csisolatinarabic:"iso88596",csisolatingreek:"iso88597",csisolatinhebrew:"iso88598",csisolatin5:"iso88599",csisolatin6:"iso885910",l1:"iso88591",l2:"iso88592",l3:"iso88593",l4:"iso88594",l5:"iso88599",l6:"iso885910",l7:"iso885913",l8:"iso885914",l9:"iso885915",l10:"iso885916",isoir14:"iso646jp",isoir57:"iso646cn",isoir100:"iso88591",isoir101:"iso88592",isoir109:"iso88593",isoir110:"iso88594",isoir144:"iso88595",isoir127:"iso88596",isoir126:"iso88597",isoir138:"iso88598",isoir148:"iso88599",isoir157:"iso885910",isoir166:"tis620",isoir179:"iso885913",isoir199:"iso885914",isoir203:"iso885915",isoir226:"iso885916",cp819:"iso88591",ibm819:"iso88591",cyrillic:"iso88595",arabic:"iso88596",arabic8:"iso88596",ecma114:"iso88596",asmo708:"iso88596",greek:"iso88597",greek8:"iso88597",ecma118:"iso88597",elot928:"iso88597",hebrew:"iso88598",hebrew8:"iso88598",turkish:"iso88599",turkish8:"iso88599",thai:"iso885911",thai8:"iso885911",celtic:"iso885914",celtic8:"iso885914",isoceltic:"iso885914",tis6200:"tis620",tis62025291:"tis620",tis62025330:"tis620",1e4:"macroman",10006:"macgreek",10007:"maccyrillic",10079:"maciceland",10081:"macturkish",cspc8codepage437:"cp437",cspc775baltic:"cp775",cspc850multilingual:"cp850",cspcp852:"cp852",cspc862latinhebrew:"cp862",cpgr:"cp869",msee:"cp1250",mscyrl:"cp1251",msansi:"cp1252",msgreek:"cp1253",msturk:"cp1254",mshebr:"cp1255",msarab:"cp1256",winbaltrim:"cp1257",cp20866:"koi8r",20866:"koi8r",ibm878:"koi8r",cskoi8r:"koi8r",cp21866:"koi8u",21866:"koi8u",ibm1168:"koi8u",strk10482002:"rk1048",tcvn5712:"tcvn",tcvn57121:"tcvn",gb198880:"iso646cn",cn:"iso646cn",csiso14jisc6220ro:"iso646jp",jisc62201969ro:"iso646jp",jp:"iso646jp",cshproman8:"hproman8",r8:"hproman8",roman8:"hproman8",xroman8:"hproman8",ibm1051:"hproman8",mac:"macintosh",csmacintosh:"macintosh"}),Ed}var bd,kE;function wk(){return kE||(kE=1,bd={437:"cp437",737:"cp737",775:"cp775",850:"cp850",852:"cp852",855:"cp855",856:"cp856",857:"cp857",858:"cp858",860:"cp860",861:"cp861",862:"cp862",863:"cp863",864:"cp864",865:"cp865",866:"cp866",869:"cp869",874:"windows874",922:"cp922",1046:"cp1046",1124:"cp1124",1125:"cp1125",1129:"cp1129",1133:"cp1133",1161:"cp1161",1162:"cp1162",1163:"cp1163",1250:"windows1250",1251:"windows1251",1252:"windows1252",1253:"windows1253",1254:"windows1254",1255:"windows1255",1256:"windows1256",1257:"windows1257",1258:"windows1258",28591:"iso88591",28592:"iso88592",28593:"iso88593",28594:"iso88594",28595:"iso88595",28596:"iso88596",28597:"iso88597",28598:"iso88598",28599:"iso88599",28600:"iso885910",28601:"iso885911",28603:"iso885913",28604:"iso885914",28605:"iso885915",28606:"iso885916",windows874:{type:"_sbcs",chars:"€����…�����������‘’“”•–—�������� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},win874:"windows874",cp874:"windows874",windows1250:{type:"_sbcs",chars:"€�‚�„…†‡�‰Š‹ŚŤŽŹ�‘’“”•–—�™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬­®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},win1250:"windows1250",cp1250:"windows1250",windows1251:{type:"_sbcs",chars:"ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—�™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬­®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},win1251:"windows1251",cp1251:"windows1251",windows1252:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰Š‹Œ�Ž��‘’“”•–—˜™š›œ�žŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},win1252:"windows1252",cp1252:"windows1252",windows1253:{type:"_sbcs",chars:"€�‚ƒ„…†‡�‰�‹�����‘’“”•–—�™�›���� ΅Ά£¤¥¦§¨©�«¬­®―°±²³΄µ¶·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"},win1253:"windows1253",cp1253:"windows1253",windows1254:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰Š‹Œ����‘’“”•–—˜™š›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},win1254:"windows1254",cp1254:"windows1254",windows1255:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰�‹�����‘’“”•–—˜™�›���� ¡¢£₪¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾¿ְֱֲֳִֵֶַָֹֺֻּֽ־ֿ׀ׁׂ׃װױײ׳״�������אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�"},win1255:"windows1255",cp1255:"windows1255",windows1256:{type:"_sbcs",chars:"€پ‚ƒ„…†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—ک™ڑ›œ‌‍ں ،¢£¤¥¦§¨©ھ«¬­®¯°±²³´µ¶·¸¹؛»¼½¾؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûü‎‏ے"},win1256:"windows1256",cp1256:"windows1256",windows1257:{type:"_sbcs",chars:"€�‚�„…†‡�‰�‹�¨ˇ¸�‘’“”•–—�™�›�¯˛� �¢£¤�¦§Ø©Ŗ«¬­®Æ°±²³´µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž˙"},win1257:"windows1257",cp1257:"windows1257",windows1258:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰�‹Œ����‘’“”•–—˜™�›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},win1258:"windows1258",cp1258:"windows1258",iso88591:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28591:"iso88591",iso88592:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ą˘Ł¤ĽŚ§¨ŠŞŤŹ­ŽŻ°ą˛ł´ľśˇ¸šşťź˝žżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},cp28592:"iso88592",iso88593:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ħ˘£¤�Ĥ§¨İŞĞĴ­�ݰħ²³´µĥ·¸ışğĵ½�żÀÁÂ�ÄĊĈÇÈÉÊËÌÍÎÏ�ÑÒÓÔĠÖ×ĜÙÚÛÜŬŜßàáâ�äċĉçèéêëìíîï�ñòóôġö÷ĝùúûüŭŝ˙"},cp28593:"iso88593",iso88594:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĸŖ¤Ĩϧ¨ŠĒĢŦ­Ž¯°ą˛ŗ´ĩšēģŧŊžŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎĪĐŅŌĶÔÕÖרŲÚÛÜŨŪßāáâãäåæįčéęëėíîīđņōķôõö÷øųúûüũū˙"},cp28594:"iso88594",iso88595:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂЃЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђѓєѕіїјљњћќ§ўџ"},cp28595:"iso88595",iso88596:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ���¤�������،­�������������؛���؟�ءآأؤإئابةتثجحخدذرزسشصضطظعغ�����ـفقكلمنهوىيًٌٍَُِّْ�������������"},cp28596:"iso88596",iso88597:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ‘’£€₯¦§¨©ͺ«¬­�―°±²³΄΅Ά·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"},cp28597:"iso88597",iso88598:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ �¢£¤¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾��������������������������������‗אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�"},cp28598:"iso88598",iso88599:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},cp28599:"iso88599",iso885910:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĒĢĪĨͧĻĐŠŦŽ­ŪŊ°ąēģīĩķ·ļđšŧž―ūŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎÏÐŅŌÓÔÕÖŨØŲÚÛÜÝÞßāáâãäåæįčéęëėíîïðņōóôõöũøųúûüýþĸ"},cp28600:"iso885910",iso885911:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},cp28601:"iso885911",iso885913:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ”¢£¤„¦§Ø©Ŗ«¬­®Æ°±²³“µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž’"},cp28603:"iso885913",iso885914:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ḃḃ£ĊċḊ§Ẁ©ẂḋỲ­®ŸḞḟĠġṀṁ¶ṖẁṗẃṠỳẄẅṡÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŴÑÒÓÔÕÖṪØÙÚÛÜÝŶßàáâãäåæçèéêëìíîïŵñòóôõöṫøùúûüýŷÿ"},cp28604:"iso885914",iso885915:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥Š§š©ª«¬­®¯°±²³Žµ¶·ž¹º»ŒœŸ¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28605:"iso885915",iso885916:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄąŁ€„Чš©Ș«Ź­źŻ°±ČłŽ”¶·žčș»ŒœŸżÀÁÂĂÄĆÆÇÈÉÊËÌÍÎÏĐŃÒÓÔŐÖŚŰÙÚÛÜĘȚßàáâăäćæçèéêëìíîïđńòóôőöśűùúûüęțÿ"},cp28606:"iso885916",cp437:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm437:"cp437",csibm437:"cp437",cp737:{type:"_sbcs",chars:"ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ "},ibm737:"cp737",csibm737:"cp737",cp775:{type:"_sbcs",chars:"ĆüéāäģåćłēŖŗīŹÄÅÉæÆōöĢ¢ŚśÖÜø£Ø×¤ĀĪóŻżź”¦©®¬½¼Ł«»░▒▓│┤ĄČĘĖ╣║╗╝ĮŠ┐└┴┬├─┼ŲŪ╚╔╩╦╠═╬Žąčęėįšųūž┘┌█▄▌▐▀ÓßŌŃõÕµńĶķĻļņĒŅ’­±“¾¶§÷„°∙·¹³²■ "},ibm775:"cp775",csibm775:"cp775",cp850:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ "},ibm850:"cp850",csibm850:"cp850",cp852:{type:"_sbcs",chars:"ÇüéâäůćçłëŐőîŹÄĆÉĹĺôöĽľŚśÖÜŤťŁ×čáíóúĄąŽžĘ꬟Ⱥ«»░▒▓│┤ÁÂĚŞ╣║╗╝Żż┐└┴┬├─┼Ăă╚╔╩╦╠═╬¤đĐĎËďŇÍÎě┘┌█▄ŢŮ▀ÓßÔŃńňŠšŔÚŕŰýÝţ´­˝˛ˇ˘§÷¸°¨˙űŘř■ "},ibm852:"cp852",csibm852:"cp852",cp855:{type:"_sbcs",chars:"ђЂѓЃёЁєЄѕЅіІїЇјЈљЉњЊћЋќЌўЎџЏюЮъЪаАбБцЦдДеЕфФгГ«»░▒▓│┤хХиИ╣║╗╝йЙ┐└┴┬├─┼кК╚╔╩╦╠═╬¤лЛмМнНоОп┘┌█▄Пя▀ЯрРсСтТуУжЖвВьЬ№­ыЫзЗшШэЭщЩчЧ§■ "},ibm855:"cp855",csibm855:"cp855",cp856:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת�£�×����������®¬½¼�«»░▒▓│┤���©╣║╗╝¢¥┐└┴┬├─┼��╚╔╩╦╠═╬¤���������┘┌█▄¦�▀������µ�������¯´­±‗¾¶§÷¸°¨·¹³²■ "},ibm856:"cp856",csibm856:"cp856",cp857:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîıÄÅÉæÆôöòûùİÖÜø£ØŞşáíóúñÑĞ𿮬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ºªÊËÈ�ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµ�×ÚÛÙìÿ¯´­±�¾¶§÷¸°¨·¹³²■ "},ibm857:"cp857",csibm857:"cp857",cp858:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈ€ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ "},ibm858:"cp858",csibm858:"cp858",cp860:{type:"_sbcs",chars:"ÇüéâãàÁçêÊèÍÔìÃÂÉÀÈôõòÚùÌÕÜ¢£Ù₧ÓáíóúñѪº¿Ò¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm860:"cp860",csibm860:"cp860",cp861:{type:"_sbcs",chars:"ÇüéâäàåçêëèÐðÞÄÅÉæÆôöþûÝýÖÜø£Ø₧ƒáíóúÁÍÓÚ¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm861:"cp861",csibm861:"cp861",cp862:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm862:"cp862",csibm862:"cp862",cp863:{type:"_sbcs",chars:"ÇüéâÂà¶çêëèïî‗À§ÉÈÊôËÏûù¤ÔÜ¢£ÙÛƒ¦´óú¨¸³¯Î⌐¬½¼¾«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm863:"cp863",csibm863:"cp863",cp864:{type:"_sbcs",chars:`\0\x07\b
337
+ `,s=e.whitespace?" = ":"=",n=[],o=e.sort?Object.keys(r).sort():Object.keys(r);let a=0;e.align&&(a=Vi(o.filter(l=>r[l]===null||Array.isArray(r[l])||typeof r[l]!="object").map(l=>Array.isArray(r[l])?`${l}[]`:l).concat([""]).reduce((l,h)=>Vi(l).length>=Vi(h).length?l:h)).length);let u="";const c=e.bracketedArray?"[]":"";for(const l of o){const h=r[l];if(h&&Array.isArray(h))for(const d of h)u+=Vi(`${l}${c}`).padEnd(a," ")+s+Vi(d)+t;else h&&typeof h=="object"?n.push(l):u+=Vi(l).padEnd(a," ")+s+Vi(h)+t}e.section&&u.length&&(u="["+Vi(e.section)+"]"+(e.newline?t+t:t)+u);for(const l of n){const h=VS(l,".").join("\\."),d=(e.section?e.section+".":"")+h,f=j0(r[l],{...e,section:d});u.length&&f.length&&(u+=t),u+=f}return u};function VS(r,e){var t=0,s=0,n=0,o=[];do if(n=r.indexOf(e,t),n!==-1){if(t=n+e.length,n>0&&r[n-1]==="\\")continue;o.push(r.slice(s,n)),s=n+e.length}while(n!==-1);return o.push(r.slice(s)),o}const oE=(r,e={})=>{e.bracketedArray=e.bracketedArray!==!1;const t=Object.create(null);let s=t,n=null;const o=/^\[([^\]]*)\]\s*$|^([^=]+)(=(.*))?$/i,a=r.split(/[\r\n]+/g),u={};for(const l of a){if(!l||l.match(/^\s*[;#]/)||l.match(/^\s*$/))continue;const h=l.match(o);if(!h)continue;if(h[1]!==void 0){if(n=fl(h[1]),n==="__proto__"){s=Object.create(null);continue}s=t[n]=t[n]||Object.create(null);continue}const d=fl(h[2]);let f;e.bracketedArray?f=d.length>2&&d.slice(-2)==="[]":(u[d]=(u?.[d]||0)+1,f=u[d]>1);const p=f&&d.endsWith("[]")?d.slice(0,-2):d;if(p==="__proto__")continue;const g=h[3]?fl(h[4]):!0,m=g==="true"||g==="false"||g==="null"?JSON.parse(g):g;f&&(Vf.call(s,p)?Array.isArray(s[p])||(s[p]=[s[p]]):s[p]=[]),Array.isArray(s[p])?s[p].push(m):s[p]=m}const c=[];for(const l of Object.keys(t)){if(!Vf.call(t,l)||typeof t[l]!="object"||Array.isArray(t[l]))continue;const h=VS(l,".");s=t;const d=h.pop(),f=d.replace(/\\\./g,".");for(const p of h)p!=="__proto__"&&((!Vf.call(s,p)||typeof s[p]!="object")&&(s[p]=Object.create(null)),s=s[p]);s===t&&f===d||(s[f]=t[l],c.push(l))}for(const l of c)delete t[l];return t},YS=r=>r.startsWith('"')&&r.endsWith('"')||r.startsWith("'")&&r.endsWith("'"),Vi=r=>typeof r!="string"||r.match(/[=\r\n]/)||r.match(/^\[/)||r.length>1&&YS(r)||r!==r.trim()?JSON.stringify(r):r.split(";").join("\\;").split("#").join("\\#"),fl=r=>{if(r=(r||"").trim(),YS(r)){r.charAt(0)==="'"&&(r=r.slice(1,-1));try{r=JSON.parse(r)}catch{}}else{let e=!1,t="";for(let s=0,n=r.length;s<n;s++){const o=r.charAt(s);if(e)"\\;#".indexOf(o)!==-1?t+=o:t+="\\"+o,e=!1;else{if(";#".indexOf(o)!==-1)break;o==="\\"?e=!0:t+=o}}return e&&(t+="\\"),t.trim()}return r};var bL={parse:oE,decode:oE,stringify:j0,encode:j0,safe:Vi,unsafe:fl};const xm=Qe(bL);var KS={exports:{}};const{URL:wL}=qt;function vL(r){try{let t=new wL(r).pathname.slice(1);if(!t.match(/^-/)){t=t.split("/");var e=t.indexOf("_rewrite");return e===-1?e=t.length-1:e++,decodeURIComponent(t[e])}}catch{}}class ou extends Error{constructor(e,t,s,n){super(),this.name=this.constructor.name,this.headers=typeof t.headers?.raw=="function"?t.headers.raw():t.headers,this.statusCode=t.status,this.code=`E${t.status}`,this.method=e,this.uri=t.url,this.body=s,this.pkgid=n?n.toString():vL(t.url),Error.captureStackTrace(this,this.constructor)}}class _L extends ou{constructor(e,t,s,n){super(e,t,s,n),this.message=`${t.status} ${t.statusText} - ${this.method.toUpperCase()} ${this.spec||this.uri}${s&&s.error?" - "+s.error:""}`}}class AL extends ou{constructor(e,t,s,n){super(e,t,s,n),this.message="OTP required for authentication",this.code="EOTP"}}class SL extends ou{constructor(e,t,s,n){super(e,t,s,n),this.message="Login is not allowed from your IP address",this.code="EAUTHIP"}}class CL extends ou{constructor(e,t,s,n){super(e,t,s,n),this.message="Unable to authenticate, need: "+t.headers.get("www-authenticate")}}var XS={HttpErrorBase:ou,HttpErrorGeneral:_L,HttpErrorAuthOTP:AL,HttpErrorAuthIPAddress:SL,HttpErrorAuthUnknown:CL},hr={};const FL=TA.constants||{ZLIB_VERNUM:4736};var $L=Object.freeze(Object.assign(Object.create(null),{Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_VERSION_ERROR:-6,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,DEFLATE:1,INFLATE:2,GZIP:3,GUNZIP:4,DEFLATERAW:5,INFLATERAW:6,UNZIP:7,BROTLI_DECODE:8,BROTLI_ENCODE:9,Z_MIN_WINDOWBITS:8,Z_MAX_WINDOWBITS:15,Z_DEFAULT_WINDOWBITS:15,Z_MIN_CHUNK:64,Z_MAX_CHUNK:1/0,Z_DEFAULT_CHUNK:16384,Z_MIN_MEMLEVEL:1,Z_MAX_MEMLEVEL:9,Z_DEFAULT_MEMLEVEL:8,Z_MIN_LEVEL:-1,Z_MAX_LEVEL:9,Z_DEFAULT_LEVEL:-1,BROTLI_OPERATION_PROCESS:0,BROTLI_OPERATION_FLUSH:1,BROTLI_OPERATION_FINISH:2,BROTLI_OPERATION_EMIT_METADATA:3,BROTLI_MODE_GENERIC:0,BROTLI_MODE_TEXT:1,BROTLI_MODE_FONT:2,BROTLI_DEFAULT_MODE:0,BROTLI_MIN_QUALITY:0,BROTLI_MAX_QUALITY:11,BROTLI_DEFAULT_QUALITY:11,BROTLI_MIN_WINDOW_BITS:10,BROTLI_MAX_WINDOW_BITS:24,BROTLI_LARGE_MAX_WINDOW_BITS:30,BROTLI_DEFAULT_WINDOW:22,BROTLI_MIN_INPUT_BLOCK_BITS:16,BROTLI_MAX_INPUT_BLOCK_BITS:24,BROTLI_PARAM_MODE:0,BROTLI_PARAM_QUALITY:1,BROTLI_PARAM_LGWIN:2,BROTLI_PARAM_LGBLOCK:3,BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING:4,BROTLI_PARAM_SIZE_HINT:5,BROTLI_PARAM_LARGE_WINDOW:6,BROTLI_PARAM_NPOSTFIX:7,BROTLI_PARAM_NDIRECT:8,BROTLI_DECODER_RESULT_ERROR:0,BROTLI_DECODER_RESULT_SUCCESS:1,BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT:2,BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT:3,BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION:0,BROTLI_DECODER_PARAM_LARGE_WINDOW:1,BROTLI_DECODER_NO_ERROR:0,BROTLI_DECODER_SUCCESS:1,BROTLI_DECODER_NEEDS_MORE_INPUT:2,BROTLI_DECODER_NEEDS_MORE_OUTPUT:3,BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE:-1,BROTLI_DECODER_ERROR_FORMAT_RESERVED:-2,BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE:-3,BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET:-4,BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME:-5,BROTLI_DECODER_ERROR_FORMAT_CL_SPACE:-6,BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE:-7,BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT:-8,BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1:-9,BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2:-10,BROTLI_DECODER_ERROR_FORMAT_TRANSFORM:-11,BROTLI_DECODER_ERROR_FORMAT_DICTIONARY:-12,BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS:-13,BROTLI_DECODER_ERROR_FORMAT_PADDING_1:-14,BROTLI_DECODER_ERROR_FORMAT_PADDING_2:-15,BROTLI_DECODER_ERROR_FORMAT_DISTANCE:-16,BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET:-19,BROTLI_DECODER_ERROR_INVALID_ARGUMENTS:-20,BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES:-21,BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS:-22,BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP:-25,BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1:-26,BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2:-27,BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES:-30,BROTLI_DECODER_ERROR_UNREACHABLE:-31},FL));const aE=typeof process=="object"&&process?process:{stdout:null,stderr:null},RL=Ot,uE=Vt,cE=si.StringDecoder,li=Symbol("EOF"),hi=Symbol("maybeEmitEnd"),os=Symbol("emittedEnd"),qu=Symbol("emittingEnd"),xo=Symbol("emittedError"),Vu=Symbol("closed"),lE=Symbol("read"),Yu=Symbol("flush"),hE=Symbol("flushChunk"),rr=Symbol("encoding"),fi=Symbol("decoder"),Ku=Symbol("flowing"),Oo=Symbol("paused"),$n=Symbol("resume"),yt=Symbol("bufferLength"),Yf=Symbol("bufferPush"),Kf=Symbol("bufferShift"),Bt=Symbol("objectMode"),It=Symbol("destroyed"),Xf=Symbol("emitData"),fE=Symbol("emitEnd"),Zf=Symbol("emitEnd2"),di=Symbol("async"),To=r=>Promise.resolve().then(r),ZS=fe._MP_NO_ITERATOR_SYMBOLS_!=="1",xL=ZS&&Symbol.asyncIterator||Symbol("asyncIterator not implemented"),OL=ZS&&Symbol.iterator||Symbol("iterator not implemented"),TL=r=>r==="end"||r==="finish"||r==="prefinish",BL=r=>r instanceof ArrayBuffer||typeof r=="object"&&r.constructor&&r.constructor.name==="ArrayBuffer"&&r.byteLength>=0,IL=r=>!Buffer.isBuffer(r)&&ArrayBuffer.isView(r);let JS=class{constructor(e,t,s){this.src=e,this.dest=t,this.opts=s,this.ondrain=()=>e[$n](),t.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},PL=class extends JS{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(e,t,s){super(e,t,s),this.proxyErrors=n=>t.emit("error",n),e.on("error",this.proxyErrors)}};var LL=class QS extends uE{constructor(e){super(),this[Ku]=!1,this[Oo]=!1,this.pipes=[],this.buffer=[],this[Bt]=e&&e.objectMode||!1,this[Bt]?this[rr]=null:this[rr]=e&&e.encoding||null,this[rr]==="buffer"&&(this[rr]=null),this[di]=e&&!!e.async||!1,this[fi]=this[rr]?new cE(this[rr]):null,this[li]=!1,this[os]=!1,this[qu]=!1,this[Vu]=!1,this[xo]=null,this.writable=!0,this.readable=!0,this[yt]=0,this[It]=!1}get bufferLength(){return this[yt]}get encoding(){return this[rr]}set encoding(e){if(this[Bt])throw new Error("cannot set encoding in objectMode");if(this[rr]&&e!==this[rr]&&(this[fi]&&this[fi].lastNeed||this[yt]))throw new Error("cannot change encoding");this[rr]!==e&&(this[fi]=e?new cE(e):null,this.buffer.length&&(this.buffer=this.buffer.map(t=>this[fi].write(t)))),this[rr]=e}setEncoding(e){this.encoding=e}get objectMode(){return this[Bt]}set objectMode(e){this[Bt]=this[Bt]||!!e}get async(){return this[di]}set async(e){this[di]=this[di]||!!e}write(e,t,s){if(this[li])throw new Error("write after end");if(this[It])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof t=="function"&&(s=t,t="utf8"),t||(t="utf8");const n=this[di]?To:o=>o();return!this[Bt]&&!Buffer.isBuffer(e)&&(IL(e)?e=Buffer.from(e.buffer,e.byteOffset,e.byteLength):BL(e)?e=Buffer.from(e):typeof e!="string"&&(this.objectMode=!0)),this[Bt]?(this.flowing&&this[yt]!==0&&this[Yu](!0),this.flowing?this.emit("data",e):this[Yf](e),this[yt]!==0&&this.emit("readable"),s&&n(s),this.flowing):e.length?(typeof e=="string"&&!(t===this[rr]&&!this[fi].lastNeed)&&(e=Buffer.from(e,t)),Buffer.isBuffer(e)&&this[rr]&&(e=this[fi].write(e)),this.flowing&&this[yt]!==0&&this[Yu](!0),this.flowing?this.emit("data",e):this[Yf](e),this[yt]!==0&&this.emit("readable"),s&&n(s),this.flowing):(this[yt]!==0&&this.emit("readable"),s&&n(s),this.flowing)}read(e){if(this[It])return null;if(this[yt]===0||e===0||e>this[yt])return this[hi](),null;this[Bt]&&(e=null),this.buffer.length>1&&!this[Bt]&&(this.encoding?this.buffer=[this.buffer.join("")]:this.buffer=[Buffer.concat(this.buffer,this[yt])]);const t=this[lE](e||null,this.buffer[0]);return this[hi](),t}[lE](e,t){return e===t.length||e===null?this[Kf]():(this.buffer[0]=t.slice(e),t=t.slice(0,e),this[yt]-=e),this.emit("data",t),!this.buffer.length&&!this[li]&&this.emit("drain"),t}end(e,t,s){return typeof e=="function"&&(s=e,e=null),typeof t=="function"&&(s=t,t="utf8"),e&&this.write(e,t),s&&this.once("end",s),this[li]=!0,this.writable=!1,(this.flowing||!this[Oo])&&this[hi](),this}[$n](){this[It]||(this[Oo]=!1,this[Ku]=!0,this.emit("resume"),this.buffer.length?this[Yu]():this[li]?this[hi]():this.emit("drain"))}resume(){return this[$n]()}pause(){this[Ku]=!1,this[Oo]=!0}get destroyed(){return this[It]}get flowing(){return this[Ku]}get paused(){return this[Oo]}[Yf](e){this[Bt]?this[yt]+=1:this[yt]+=e.length,this.buffer.push(e)}[Kf](){return this.buffer.length&&(this[Bt]?this[yt]-=1:this[yt]-=this.buffer[0].length),this.buffer.shift()}[Yu](e){do;while(this[hE](this[Kf]()));!e&&!this.buffer.length&&!this[li]&&this.emit("drain")}[hE](e){return e?(this.emit("data",e),this.flowing):!1}pipe(e,t){if(this[It])return;const s=this[os];return t=t||{},e===aE.stdout||e===aE.stderr?t.end=!1:t.end=t.end!==!1,t.proxyErrors=!!t.proxyErrors,s?t.end&&e.end():(this.pipes.push(t.proxyErrors?new PL(this,e,t):new JS(this,e,t)),this[di]?To(()=>this[$n]()):this[$n]()),e}unpipe(e){const t=this.pipes.find(s=>s.dest===e);t&&(this.pipes.splice(this.pipes.indexOf(t),1),t.unpipe())}addListener(e,t){return this.on(e,t)}on(e,t){const s=super.on(e,t);return e==="data"&&!this.pipes.length&&!this.flowing?this[$n]():e==="readable"&&this[yt]!==0?super.emit("readable"):TL(e)&&this[os]?(super.emit(e),this.removeAllListeners(e)):e==="error"&&this[xo]&&(this[di]?To(()=>t.call(this,this[xo])):t.call(this,this[xo])),s}get emittedEnd(){return this[os]}[hi](){!this[qu]&&!this[os]&&!this[It]&&this.buffer.length===0&&this[li]&&(this[qu]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[Vu]&&this.emit("close"),this[qu]=!1)}emit(e,t,...s){if(e!=="error"&&e!=="close"&&e!==It&&this[It])return;if(e==="data")return t?this[di]?To(()=>this[Xf](t)):this[Xf](t):!1;if(e==="end")return this[fE]();if(e==="close"){if(this[Vu]=!0,!this[os]&&!this[It])return;const o=super.emit("close");return this.removeAllListeners("close"),o}else if(e==="error"){this[xo]=t;const o=super.emit("error",t);return this[hi](),o}else if(e==="resume"){const o=super.emit("resume");return this[hi](),o}else if(e==="finish"||e==="prefinish"){const o=super.emit(e);return this.removeAllListeners(e),o}const n=super.emit(e,t,...s);return this[hi](),n}[Xf](e){for(const s of this.pipes)s.dest.write(e)===!1&&this.pause();const t=super.emit("data",e);return this[hi](),t}[fE](){this[os]||(this[os]=!0,this.readable=!1,this[di]?To(()=>this[Zf]()):this[Zf]())}[Zf](){if(this[fi]){const t=this[fi].end();if(t){for(const s of this.pipes)s.dest.write(t);super.emit("data",t)}}for(const t of this.pipes)t.end();const e=super.emit("end");return this.removeAllListeners("end"),e}collect(){const e=[];this[Bt]||(e.dataLength=0);const t=this.promise();return this.on("data",s=>{e.push(s),this[Bt]||(e.dataLength+=s.length)}),t.then(()=>e)}concat(){return this[Bt]?Promise.reject(new Error("cannot concat in objectMode")):this.collect().then(e=>this[Bt]?Promise.reject(new Error("cannot concat in objectMode")):this[rr]?e.join(""):Buffer.concat(e,e.dataLength))}promise(){return new Promise((e,t)=>{this.on(It,()=>t(new Error("stream destroyed"))),this.on("error",s=>t(s)),this.on("end",()=>e())})}[xL](){return{next:()=>{const t=this.read();if(t!==null)return Promise.resolve({done:!1,value:t});if(this[li])return Promise.resolve({done:!0});let s=null,n=null;const o=l=>{this.removeListener("data",a),this.removeListener("end",u),n(l)},a=l=>{this.removeListener("error",o),this.removeListener("end",u),this.pause(),s({value:l,done:!!this[li]})},u=()=>{this.removeListener("error",o),this.removeListener("data",a),s({done:!0})},c=()=>o(new Error("stream destroyed"));return new Promise((l,h)=>{n=h,s=l,this.once(It,c),this.once("error",o),this.once("end",u),this.once("data",a)})}}}[OL](){return{next:()=>{const t=this.read();return{value:t,done:t===null}}}}destroy(e){return this[It]?(e?this.emit("error",e):this.emit(It),this):(this[It]=!0,this.buffer.length=0,this[yt]=0,typeof this.close=="function"&&!this[Vu]&&this.close(),e?this.emit("error",e):this.emit(It),this)}static isStream(e){return!!e&&(e instanceof QS||e instanceof uE||e instanceof RL&&(typeof e.pipe=="function"||typeof e.write=="function"&&typeof e.end=="function"))}};const U0=zg,ys=th.Buffer,eC=TA,tn=hr.constants=$L,kL=LL,dE=ys.concat,rn=Symbol("_superWrite");class Xu extends Error{constructor(e){super("zlib: "+e.message),this.code=e.code,this.errno=e.errno,this.code||(this.code="ZLIB_ERROR"),this.message="zlib: "+e.message,Error.captureStackTrace(this,this.constructor)}get name(){return"ZlibError"}}const NL=Symbol("opts"),Bo=Symbol("flushFlag"),pE=Symbol("finishFlushFlag"),Om=Symbol("fullFlushFlag"),ze=Symbol("handle"),Zu=Symbol("onError"),Rn=Symbol("sawError"),Jf=Symbol("level"),Qf=Symbol("strategy"),ed=Symbol("ended");class tC extends kL{constructor(e,t){if(!e||typeof e!="object")throw new TypeError("invalid options for ZlibBase constructor");super(e),this[Rn]=!1,this[ed]=!1,this[NL]=e,this[Bo]=e.flush,this[pE]=e.finishFlush;try{this[ze]=new eC[t](e)}catch(s){throw new Xu(s)}this[Zu]=s=>{this[Rn]||(this[Rn]=!0,this.close(),this.emit("error",s))},this[ze].on("error",s=>this[Zu](new Xu(s))),this.once("end",()=>this.close)}close(){this[ze]&&(this[ze].close(),this[ze]=null,this.emit("close"))}reset(){if(!this[Rn])return U0(this[ze],"zlib binding closed"),this[ze].reset()}flush(e){this.ended||(typeof e!="number"&&(e=this[Om]),this.write(Object.assign(ys.alloc(0),{[Bo]:e})))}end(e,t,s){return e&&this.write(e,t),this.flush(this[pE]),this[ed]=!0,super.end(null,null,s)}get ended(){return this[ed]}write(e,t,s){if(typeof t=="function"&&(s=t,t="utf8"),typeof e=="string"&&(e=ys.from(e,t)),this[Rn])return;U0(this[ze],"zlib binding closed");const n=this[ze]._handle,o=n.close;n.close=()=>{};const a=this[ze].close;this[ze].close=()=>{},ys.concat=l=>l;let u;try{const l=typeof e[Bo]=="number"?e[Bo]:this[Bo];u=this[ze]._processChunk(e,l),ys.concat=dE}catch(l){ys.concat=dE,this[Zu](new Xu(l))}finally{this[ze]&&(this[ze]._handle=n,n.close=o,this[ze].close=a,this[ze].removeAllListeners("error"))}this[ze]&&this[ze].on("error",l=>this[Zu](new Xu(l)));let c;if(u)if(Array.isArray(u)&&u.length>0){c=this[rn](ys.from(u[0]));for(let l=1;l<u.length;l++)c=this[rn](u[l])}else c=this[rn](ys.from(u));return s&&s(),c}[rn](e){return super.write(e)}}class dn extends tC{constructor(e,t){e=e||{},e.flush=e.flush||tn.Z_NO_FLUSH,e.finishFlush=e.finishFlush||tn.Z_FINISH,super(e,t),this[Om]=tn.Z_FULL_FLUSH,this[Jf]=e.level,this[Qf]=e.strategy}params(e,t){if(!this[Rn]){if(!this[ze])throw new Error("cannot switch params when binding is closed");if(!this[ze].params)throw new Error("not supported in this implementation");if(this[Jf]!==e||this[Qf]!==t){this.flush(tn.Z_SYNC_FLUSH),U0(this[ze],"zlib binding closed");const s=this[ze].flush;this[ze].flush=(n,o)=>{this.flush(n),o()};try{this[ze].params(e,t)}finally{this[ze].flush=s}this[ze]&&(this[Jf]=e,this[Qf]=t)}}}}class ML extends dn{constructor(e){super(e,"Deflate")}}class jL extends dn{constructor(e){super(e,"Inflate")}}const td=Symbol("_portable");class UL extends dn{constructor(e){super(e,"Gzip"),this[td]=e&&!!e.portable}[rn](e){return this[td]?(this[td]=!1,e[9]=255,super[rn](e)):super[rn](e)}}class HL extends dn{constructor(e){super(e,"Gunzip")}}class GL extends dn{constructor(e){super(e,"DeflateRaw")}}class WL extends dn{constructor(e){super(e,"InflateRaw")}}class zL extends dn{constructor(e){super(e,"Unzip")}}class rC extends tC{constructor(e,t){e=e||{},e.flush=e.flush||tn.BROTLI_OPERATION_PROCESS,e.finishFlush=e.finishFlush||tn.BROTLI_OPERATION_FINISH,super(e,t),this[Om]=tn.BROTLI_OPERATION_FLUSH}}class qL extends rC{constructor(e){super(e,"BrotliCompress")}}class VL extends rC{constructor(e){super(e,"BrotliDecompress")}}hr.Deflate=ML;hr.Inflate=jL;hr.Gzip=UL;hr.Gunzip=HL;hr.DeflateRaw=GL;hr.InflateRaw=WL;hr.Unzip=zL;typeof eC.BrotliCompress=="function"?(hr.BrotliCompress=qL,hr.BrotliDecompress=VL):hr.BrotliCompress=hr.BrotliDecompress=class{constructor(){throw new Error("Brotli is not supported in this version of Node.js")}};var au={};const gE=typeof process=="object"&&process?process:{stdout:null,stderr:null},YL=Ot,mE=Vt,KL=si,yE=KL.StringDecoder,pi=Symbol("EOF"),gi=Symbol("maybeEmitEnd"),as=Symbol("emittedEnd"),Ju=Symbol("emittingEnd"),Io=Symbol("emittedError"),Qu=Symbol("closed"),DE=Symbol("read"),ec=Symbol("flush"),EE=Symbol("flushChunk"),ir=Symbol("encoding"),mi=Symbol("decoder"),tc=Symbol("flowing"),Po=Symbol("paused"),xn=Symbol("resume"),et=Symbol("buffer"),Ur=Symbol("pipes"),Dt=Symbol("bufferLength"),rd=Symbol("bufferPush"),id=Symbol("bufferShift"),$t=Symbol("objectMode"),tt=Symbol("destroyed"),sd=Symbol("error"),nd=Symbol("emitData"),bE=Symbol("emitEnd"),od=Symbol("emitEnd2"),yi=Symbol("async"),ad=Symbol("abort"),rc=Symbol("aborted"),Ns=Symbol("signal"),Lo=r=>Promise.resolve().then(r),iC=fe._MP_NO_ITERATOR_SYMBOLS_!=="1",wE=iC&&Symbol.asyncIterator||Symbol("asyncIterator not implemented"),vE=iC&&Symbol.iterator||Symbol("iterator not implemented"),XL=r=>r==="end"||r==="finish"||r==="prefinish",ZL=r=>r instanceof ArrayBuffer||typeof r=="object"&&r.constructor&&r.constructor.name==="ArrayBuffer"&&r.byteLength>=0,JL=r=>!Buffer.isBuffer(r)&&ArrayBuffer.isView(r);let sC=class{constructor(e,t,s){this.src=e,this.dest=t,this.opts=s,this.ondrain=()=>e[xn](),t.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},QL=class extends sC{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(e,t,s){super(e,t,s),this.proxyErrors=n=>t.emit("error",n),e.on("error",this.proxyErrors)}},ek=class nC extends mE{constructor(e){super(),this[tc]=!1,this[Po]=!1,this[Ur]=[],this[et]=[],this[$t]=e&&e.objectMode||!1,this[$t]?this[ir]=null:this[ir]=e&&e.encoding||null,this[ir]==="buffer"&&(this[ir]=null),this[yi]=e&&!!e.async||!1,this[mi]=this[ir]?new yE(this[ir]):null,this[pi]=!1,this[as]=!1,this[Ju]=!1,this[Qu]=!1,this[Io]=null,this.writable=!0,this.readable=!0,this[Dt]=0,this[tt]=!1,e&&e.debugExposeBuffer===!0&&Object.defineProperty(this,"buffer",{get:()=>this[et]}),e&&e.debugExposePipes===!0&&Object.defineProperty(this,"pipes",{get:()=>this[Ur]}),this[Ns]=e&&e.signal,this[rc]=!1,this[Ns]&&(this[Ns].addEventListener("abort",()=>this[ad]()),this[Ns].aborted&&this[ad]())}get bufferLength(){return this[Dt]}get encoding(){return this[ir]}set encoding(e){if(this[$t])throw new Error("cannot set encoding in objectMode");if(this[ir]&&e!==this[ir]&&(this[mi]&&this[mi].lastNeed||this[Dt]))throw new Error("cannot change encoding");this[ir]!==e&&(this[mi]=e?new yE(e):null,this[et].length&&(this[et]=this[et].map(t=>this[mi].write(t)))),this[ir]=e}setEncoding(e){this.encoding=e}get objectMode(){return this[$t]}set objectMode(e){this[$t]=this[$t]||!!e}get async(){return this[yi]}set async(e){this[yi]=this[yi]||!!e}[ad](){this[rc]=!0,this.emit("abort",this[Ns].reason),this.destroy(this[Ns].reason)}get aborted(){return this[rc]}set aborted(e){}write(e,t,s){if(this[rc])return!1;if(this[pi])throw new Error("write after end");if(this[tt])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof t=="function"&&(s=t,t="utf8"),t||(t="utf8");const n=this[yi]?Lo:o=>o();return!this[$t]&&!Buffer.isBuffer(e)&&(JL(e)?e=Buffer.from(e.buffer,e.byteOffset,e.byteLength):ZL(e)?e=Buffer.from(e):typeof e!="string"&&(this.objectMode=!0)),this[$t]?(this.flowing&&this[Dt]!==0&&this[ec](!0),this.flowing?this.emit("data",e):this[rd](e),this[Dt]!==0&&this.emit("readable"),s&&n(s),this.flowing):e.length?(typeof e=="string"&&!(t===this[ir]&&!this[mi].lastNeed)&&(e=Buffer.from(e,t)),Buffer.isBuffer(e)&&this[ir]&&(e=this[mi].write(e)),this.flowing&&this[Dt]!==0&&this[ec](!0),this.flowing?this.emit("data",e):this[rd](e),this[Dt]!==0&&this.emit("readable"),s&&n(s),this.flowing):(this[Dt]!==0&&this.emit("readable"),s&&n(s),this.flowing)}read(e){if(this[tt])return null;if(this[Dt]===0||e===0||e>this[Dt])return this[gi](),null;this[$t]&&(e=null),this[et].length>1&&!this[$t]&&(this.encoding?this[et]=[this[et].join("")]:this[et]=[Buffer.concat(this[et],this[Dt])]);const t=this[DE](e||null,this[et][0]);return this[gi](),t}[DE](e,t){return e===t.length||e===null?this[id]():(this[et][0]=t.slice(e),t=t.slice(0,e),this[Dt]-=e),this.emit("data",t),!this[et].length&&!this[pi]&&this.emit("drain"),t}end(e,t,s){return typeof e=="function"&&(s=e,e=null),typeof t=="function"&&(s=t,t="utf8"),e&&this.write(e,t),s&&this.once("end",s),this[pi]=!0,this.writable=!1,(this.flowing||!this[Po])&&this[gi](),this}[xn](){this[tt]||(this[Po]=!1,this[tc]=!0,this.emit("resume"),this[et].length?this[ec]():this[pi]?this[gi]():this.emit("drain"))}resume(){return this[xn]()}pause(){this[tc]=!1,this[Po]=!0}get destroyed(){return this[tt]}get flowing(){return this[tc]}get paused(){return this[Po]}[rd](e){this[$t]?this[Dt]+=1:this[Dt]+=e.length,this[et].push(e)}[id](){return this[$t]?this[Dt]-=1:this[Dt]-=this[et][0].length,this[et].shift()}[ec](e){do;while(this[EE](this[id]())&&this[et].length);!e&&!this[et].length&&!this[pi]&&this.emit("drain")}[EE](e){return this.emit("data",e),this.flowing}pipe(e,t){if(this[tt])return;const s=this[as];return t=t||{},e===gE.stdout||e===gE.stderr?t.end=!1:t.end=t.end!==!1,t.proxyErrors=!!t.proxyErrors,s?t.end&&e.end():(this[Ur].push(t.proxyErrors?new QL(this,e,t):new sC(this,e,t)),this[yi]?Lo(()=>this[xn]()):this[xn]()),e}unpipe(e){const t=this[Ur].find(s=>s.dest===e);t&&(this[Ur].splice(this[Ur].indexOf(t),1),t.unpipe())}addListener(e,t){return this.on(e,t)}on(e,t){const s=super.on(e,t);return e==="data"&&!this[Ur].length&&!this.flowing?this[xn]():e==="readable"&&this[Dt]!==0?super.emit("readable"):XL(e)&&this[as]?(super.emit(e),this.removeAllListeners(e)):e==="error"&&this[Io]&&(this[yi]?Lo(()=>t.call(this,this[Io])):t.call(this,this[Io])),s}get emittedEnd(){return this[as]}[gi](){!this[Ju]&&!this[as]&&!this[tt]&&this[et].length===0&&this[pi]&&(this[Ju]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[Qu]&&this.emit("close"),this[Ju]=!1)}emit(e,t,...s){if(e!=="error"&&e!=="close"&&e!==tt&&this[tt])return;if(e==="data")return!this[$t]&&!t?!1:this[yi]?Lo(()=>this[nd](t)):this[nd](t);if(e==="end")return this[bE]();if(e==="close"){if(this[Qu]=!0,!this[as]&&!this[tt])return;const o=super.emit("close");return this.removeAllListeners("close"),o}else if(e==="error"){this[Io]=t,super.emit(sd,t);const o=!this[Ns]||this.listeners("error").length?super.emit("error",t):!1;return this[gi](),o}else if(e==="resume"){const o=super.emit("resume");return this[gi](),o}else if(e==="finish"||e==="prefinish"){const o=super.emit(e);return this.removeAllListeners(e),o}const n=super.emit(e,t,...s);return this[gi](),n}[nd](e){for(const s of this[Ur])s.dest.write(e)===!1&&this.pause();const t=super.emit("data",e);return this[gi](),t}[bE](){this[as]||(this[as]=!0,this.readable=!1,this[yi]?Lo(()=>this[od]()):this[od]())}[od](){if(this[mi]){const t=this[mi].end();if(t){for(const s of this[Ur])s.dest.write(t);super.emit("data",t)}}for(const t of this[Ur])t.end();const e=super.emit("end");return this.removeAllListeners("end"),e}collect(){const e=[];this[$t]||(e.dataLength=0);const t=this.promise();return this.on("data",s=>{e.push(s),this[$t]||(e.dataLength+=s.length)}),t.then(()=>e)}concat(){return this[$t]?Promise.reject(new Error("cannot concat in objectMode")):this.collect().then(e=>this[$t]?Promise.reject(new Error("cannot concat in objectMode")):this[ir]?e.join(""):Buffer.concat(e,e.dataLength))}promise(){return new Promise((e,t)=>{this.on(tt,()=>t(new Error("stream destroyed"))),this.on("error",s=>t(s)),this.on("end",()=>e())})}[wE](){let e=!1;const t=()=>(this.pause(),e=!0,Promise.resolve({done:!0}));return{next:()=>{if(e)return t();const n=this.read();if(n!==null)return Promise.resolve({done:!1,value:n});if(this[pi])return t();let o=null,a=null;const u=d=>{this.removeListener("data",c),this.removeListener("end",l),this.removeListener(tt,h),t(),a(d)},c=d=>{this.removeListener("error",u),this.removeListener("end",l),this.removeListener(tt,h),this.pause(),o({value:d,done:!!this[pi]})},l=()=>{this.removeListener("error",u),this.removeListener("data",c),this.removeListener(tt,h),t(),o({done:!0})},h=()=>u(new Error("stream destroyed"));return new Promise((d,f)=>{a=f,o=d,this.once(tt,h),this.once("error",u),this.once("end",l),this.once("data",c)})},throw:t,return:t,[wE](){return this}}}[vE](){let e=!1;const t=()=>(this.pause(),this.removeListener(sd,t),this.removeListener(tt,t),this.removeListener("end",t),e=!0,{done:!0}),s=()=>{if(e)return t();const n=this.read();return n===null?t():{value:n}};return this.once("end",t),this.once(sd,t),this.once(tt,t),{next:s,throw:t,return:t,[vE](){return this}}}destroy(e){return this[tt]?(e?this.emit("error",e):this.emit(tt),this):(this[tt]=!0,this[et].length=0,this[Dt]=0,typeof this.close=="function"&&!this[Qu]&&this.close(),e?this.emit("error",e):this.emit(tt),this)}static isStream(e){return!!e&&(e instanceof nC||e instanceof mE||e instanceof YL&&(typeof e.pipe=="function"||typeof e.write=="function"&&typeof e.end=="function"))}};au.Minipass=ek;const _E=typeof process=="object"&&process?process:{stdout:null,stderr:null},tk=Ot,AE=Vt,SE=si.StringDecoder,Di=Symbol("EOF"),Ei=Symbol("maybeEmitEnd"),us=Symbol("emittedEnd"),ic=Symbol("emittingEnd"),ko=Symbol("emittedError"),sc=Symbol("closed"),CE=Symbol("read"),nc=Symbol("flush"),FE=Symbol("flushChunk"),sr=Symbol("encoding"),bi=Symbol("decoder"),oc=Symbol("flowing"),No=Symbol("paused"),On=Symbol("resume"),Et=Symbol("bufferLength"),ud=Symbol("bufferPush"),cd=Symbol("bufferShift"),Pt=Symbol("objectMode"),Lt=Symbol("destroyed"),ld=Symbol("emitData"),$E=Symbol("emitEnd"),hd=Symbol("emitEnd2"),wi=Symbol("async"),Mo=r=>Promise.resolve().then(r),oC=fe._MP_NO_ITERATOR_SYMBOLS_!=="1",rk=oC&&Symbol.asyncIterator||Symbol("asyncIterator not implemented"),ik=oC&&Symbol.iterator||Symbol("iterator not implemented"),sk=r=>r==="end"||r==="finish"||r==="prefinish",nk=r=>r instanceof ArrayBuffer||typeof r=="object"&&r.constructor&&r.constructor.name==="ArrayBuffer"&&r.byteLength>=0,ok=r=>!Buffer.isBuffer(r)&&ArrayBuffer.isView(r);let aC=class{constructor(e,t,s){this.src=e,this.dest=t,this.opts=s,this.ondrain=()=>e[On](),t.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},ak=class extends aC{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(e,t,s){super(e,t,s),this.proxyErrors=n=>t.emit("error",n),e.on("error",this.proxyErrors)}};var uk=class uC extends AE{constructor(e){super(),this[oc]=!1,this[No]=!1,this.pipes=[],this.buffer=[],this[Pt]=e&&e.objectMode||!1,this[Pt]?this[sr]=null:this[sr]=e&&e.encoding||null,this[sr]==="buffer"&&(this[sr]=null),this[wi]=e&&!!e.async||!1,this[bi]=this[sr]?new SE(this[sr]):null,this[Di]=!1,this[us]=!1,this[ic]=!1,this[sc]=!1,this[ko]=null,this.writable=!0,this.readable=!0,this[Et]=0,this[Lt]=!1}get bufferLength(){return this[Et]}get encoding(){return this[sr]}set encoding(e){if(this[Pt])throw new Error("cannot set encoding in objectMode");if(this[sr]&&e!==this[sr]&&(this[bi]&&this[bi].lastNeed||this[Et]))throw new Error("cannot change encoding");this[sr]!==e&&(this[bi]=e?new SE(e):null,this.buffer.length&&(this.buffer=this.buffer.map(t=>this[bi].write(t)))),this[sr]=e}setEncoding(e){this.encoding=e}get objectMode(){return this[Pt]}set objectMode(e){this[Pt]=this[Pt]||!!e}get async(){return this[wi]}set async(e){this[wi]=this[wi]||!!e}write(e,t,s){if(this[Di])throw new Error("write after end");if(this[Lt])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof t=="function"&&(s=t,t="utf8"),t||(t="utf8");const n=this[wi]?Mo:o=>o();return!this[Pt]&&!Buffer.isBuffer(e)&&(ok(e)?e=Buffer.from(e.buffer,e.byteOffset,e.byteLength):nk(e)?e=Buffer.from(e):typeof e!="string"&&(this.objectMode=!0)),this[Pt]?(this.flowing&&this[Et]!==0&&this[nc](!0),this.flowing?this.emit("data",e):this[ud](e),this[Et]!==0&&this.emit("readable"),s&&n(s),this.flowing):e.length?(typeof e=="string"&&!(t===this[sr]&&!this[bi].lastNeed)&&(e=Buffer.from(e,t)),Buffer.isBuffer(e)&&this[sr]&&(e=this[bi].write(e)),this.flowing&&this[Et]!==0&&this[nc](!0),this.flowing?this.emit("data",e):this[ud](e),this[Et]!==0&&this.emit("readable"),s&&n(s),this.flowing):(this[Et]!==0&&this.emit("readable"),s&&n(s),this.flowing)}read(e){if(this[Lt])return null;if(this[Et]===0||e===0||e>this[Et])return this[Ei](),null;this[Pt]&&(e=null),this.buffer.length>1&&!this[Pt]&&(this.encoding?this.buffer=[this.buffer.join("")]:this.buffer=[Buffer.concat(this.buffer,this[Et])]);const t=this[CE](e||null,this.buffer[0]);return this[Ei](),t}[CE](e,t){return e===t.length||e===null?this[cd]():(this.buffer[0]=t.slice(e),t=t.slice(0,e),this[Et]-=e),this.emit("data",t),!this.buffer.length&&!this[Di]&&this.emit("drain"),t}end(e,t,s){return typeof e=="function"&&(s=e,e=null),typeof t=="function"&&(s=t,t="utf8"),e&&this.write(e,t),s&&this.once("end",s),this[Di]=!0,this.writable=!1,(this.flowing||!this[No])&&this[Ei](),this}[On](){this[Lt]||(this[No]=!1,this[oc]=!0,this.emit("resume"),this.buffer.length?this[nc]():this[Di]?this[Ei]():this.emit("drain"))}resume(){return this[On]()}pause(){this[oc]=!1,this[No]=!0}get destroyed(){return this[Lt]}get flowing(){return this[oc]}get paused(){return this[No]}[ud](e){this[Pt]?this[Et]+=1:this[Et]+=e.length,this.buffer.push(e)}[cd](){return this.buffer.length&&(this[Pt]?this[Et]-=1:this[Et]-=this.buffer[0].length),this.buffer.shift()}[nc](e){do;while(this[FE](this[cd]()));!e&&!this.buffer.length&&!this[Di]&&this.emit("drain")}[FE](e){return e?(this.emit("data",e),this.flowing):!1}pipe(e,t){if(this[Lt])return;const s=this[us];return t=t||{},e===_E.stdout||e===_E.stderr?t.end=!1:t.end=t.end!==!1,t.proxyErrors=!!t.proxyErrors,s?t.end&&e.end():(this.pipes.push(t.proxyErrors?new ak(this,e,t):new aC(this,e,t)),this[wi]?Mo(()=>this[On]()):this[On]()),e}unpipe(e){const t=this.pipes.find(s=>s.dest===e);t&&(this.pipes.splice(this.pipes.indexOf(t),1),t.unpipe())}addListener(e,t){return this.on(e,t)}on(e,t){const s=super.on(e,t);return e==="data"&&!this.pipes.length&&!this.flowing?this[On]():e==="readable"&&this[Et]!==0?super.emit("readable"):sk(e)&&this[us]?(super.emit(e),this.removeAllListeners(e)):e==="error"&&this[ko]&&(this[wi]?Mo(()=>t.call(this,this[ko])):t.call(this,this[ko])),s}get emittedEnd(){return this[us]}[Ei](){!this[ic]&&!this[us]&&!this[Lt]&&this.buffer.length===0&&this[Di]&&(this[ic]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[sc]&&this.emit("close"),this[ic]=!1)}emit(e,t,...s){if(e!=="error"&&e!=="close"&&e!==Lt&&this[Lt])return;if(e==="data")return t?this[wi]?Mo(()=>this[ld](t)):this[ld](t):!1;if(e==="end")return this[$E]();if(e==="close"){if(this[sc]=!0,!this[us]&&!this[Lt])return;const o=super.emit("close");return this.removeAllListeners("close"),o}else if(e==="error"){this[ko]=t;const o=super.emit("error",t);return this[Ei](),o}else if(e==="resume"){const o=super.emit("resume");return this[Ei](),o}else if(e==="finish"||e==="prefinish"){const o=super.emit(e);return this.removeAllListeners(e),o}const n=super.emit(e,t,...s);return this[Ei](),n}[ld](e){for(const s of this.pipes)s.dest.write(e)===!1&&this.pause();const t=super.emit("data",e);return this[Ei](),t}[$E](){this[us]||(this[us]=!0,this.readable=!1,this[wi]?Mo(()=>this[hd]()):this[hd]())}[hd](){if(this[bi]){const t=this[bi].end();if(t){for(const s of this.pipes)s.dest.write(t);super.emit("data",t)}}for(const t of this.pipes)t.end();const e=super.emit("end");return this.removeAllListeners("end"),e}collect(){const e=[];this[Pt]||(e.dataLength=0);const t=this.promise();return this.on("data",s=>{e.push(s),this[Pt]||(e.dataLength+=s.length)}),t.then(()=>e)}concat(){return this[Pt]?Promise.reject(new Error("cannot concat in objectMode")):this.collect().then(e=>this[Pt]?Promise.reject(new Error("cannot concat in objectMode")):this[sr]?e.join(""):Buffer.concat(e,e.dataLength))}promise(){return new Promise((e,t)=>{this.on(Lt,()=>t(new Error("stream destroyed"))),this.on("error",s=>t(s)),this.on("end",()=>e())})}[rk](){return{next:()=>{const t=this.read();if(t!==null)return Promise.resolve({done:!1,value:t});if(this[Di])return Promise.resolve({done:!0});let s=null,n=null;const o=l=>{this.removeListener("data",a),this.removeListener("end",u),n(l)},a=l=>{this.removeListener("error",o),this.removeListener("end",u),this.pause(),s({value:l,done:!!this[Di]})},u=()=>{this.removeListener("error",o),this.removeListener("data",a),s({done:!0})},c=()=>o(new Error("stream destroyed"));return new Promise((l,h)=>{n=h,s=l,this.once(Lt,c),this.once("error",o),this.once("end",u),this.once("data",a)})}}}[ik](){return{next:()=>{const t=this.read();return{value:t,done:t===null}}}}destroy(e){return this[Lt]?(e?this.emit("error",e):this.emit(Lt),this):(this[Lt]=!0,this.buffer.length=0,this[Et]=0,typeof this.close=="function"&&!this[sc]&&this.close(),e?this.emit("error",e):this.emit(Lt),this)}static isStream(e){return!!e&&(e instanceof uC||e instanceof AE||e instanceof tk&&(typeof e.pipe=="function"||typeof e.write=="function"&&typeof e.end=="function"))}};const ck=uk;class H0 extends Error{constructor(e,t){super(`Bad data size: expected ${t} bytes, but got ${e}`),this.expect=t,this.found=e,this.code="EBADSIZE",Error.captureStackTrace(this,this.constructor)}get name(){return"SizeError"}}let cC=class extends ck{constructor(e={}){if(super(e),e.objectMode)throw new TypeError(`${this.constructor.name} streams only work with string and buffer data`);if(this.found=0,this.expect=e.size,typeof this.expect!="number"||this.expect>Number.MAX_SAFE_INTEGER||isNaN(this.expect)||this.expect<0||!isFinite(this.expect)||this.expect!==Math.floor(this.expect))throw new Error("invalid expected size: "+this.expect)}write(e,t,s){const n=Buffer.isBuffer(e)?e:typeof e=="string"?Buffer.from(e,typeof t=="string"?t:"utf8"):e;return Buffer.isBuffer(n)?(this.found+=n.length,this.found>this.expect&&this.emit("error",new H0(this.found,this.expect)),super.write(e,t,s)):(this.emit("error",new TypeError(`${this.constructor.name} streams only work with string and buffer data`)),!1)}emit(e,...t){return e==="end"&&this.found!==this.expect&&this.emit("error",new H0(this.found,this.expect)),super.emit(e,...t)}};cC.SizeError=H0;var lk=cC;const{Minipass:hk}=au,fd=Symbol("type"),vi=Symbol("buffer");let lC=class G0{constructor(e,t){this[fd]="";const s=[];let n=0;if(e){const a=e,u=Number(a.length);for(let c=0;c<u;c++){const l=a[c],h=l instanceof Buffer?l:ArrayBuffer.isView(l)?Buffer.from(l.buffer,l.byteOffset,l.byteLength):l instanceof ArrayBuffer?Buffer.from(l):l instanceof G0?l[vi]:typeof l=="string"?Buffer.from(l):Buffer.from(String(l));n+=h.length,s.push(h)}}this[vi]=Buffer.concat(s,n);const o=t&&t.type!==void 0&&String(t.type).toLowerCase();o&&!/[^\u0020-\u007E]/.test(o)&&(this[fd]=o)}get size(){return this[vi].length}get type(){return this[fd]}text(){return Promise.resolve(this[vi].toString())}arrayBuffer(){const e=this[vi],t=e.byteOffset,s=e.byteLength,n=e.buffer.slice(t,t+s);return Promise.resolve(n)}stream(){return new hk().end(this[vi])}slice(e,t,s){const n=this.size,o=e===void 0?0:e<0?Math.max(n+e,0):Math.min(e,n),a=t===void 0?n:t<0?Math.max(n+t,0):Math.min(t,n),u=Math.max(a-o,0),l=this[vi].slice(o,o+u),h=new G0([],{type:s});return h[vi]=l,h}get[Symbol.toStringTag](){return"Blob"}static get BUFFER(){return vi}};Object.defineProperties(lC.prototype,{size:{enumerable:!0},type:{enumerable:!0}});var fk=lC;let dk=class extends Error{constructor(e,t,s){super(e),this.code="FETCH_ERROR",s&&Object.assign(this,s),this.errno=this.code,this.type=this.code==="EBADSIZE"&&this.found>this.expect?"max-size":t,this.message=e,Error.captureStackTrace(this,this.constructor)}get name(){return"FetchError"}set name(e){}get[Symbol.toStringTag](){return"FetchError"}};var hC=dk,dd={},pd={exports:{}},gd,RE;function ks(){if(RE)return gd;RE=1;var r=th,e=r.Buffer,t={},s;for(s in r)r.hasOwnProperty(s)&&(s==="SlowBuffer"||s==="Buffer"||(t[s]=r[s]));var n=t.Buffer={};for(s in e)e.hasOwnProperty(s)&&(s==="allocUnsafe"||s==="allocUnsafeSlow"||(n[s]=e[s]));if(t.Buffer.prototype=e.prototype,(!n.from||n.from===Uint8Array.from)&&(n.from=function(o,a,u){if(typeof o=="number")throw new TypeError('The "value" argument must not be of type number. Received type '+typeof o);if(o&&typeof o.length>"u")throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof o);return e(o,a,u)}),n.alloc||(n.alloc=function(o,a,u){if(typeof o!="number")throw new TypeError('The "size" argument must be of type number. Received type '+typeof o);if(o<0||o>=2*(1<<30))throw new RangeError('The value "'+o+'" is invalid for option "size"');var c=e(o);return!a||a.length===0?c.fill(0):typeof u=="string"?c.fill(a,u):c.fill(a),c}),!t.kStringMaxLength)try{t.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch{}return t.constants||(t.constants={MAX_LENGTH:t.kMaxLength},t.kStringMaxLength&&(t.constants.MAX_STRING_LENGTH=t.kStringMaxLength)),gd=t,gd}var ac={},xE;function pk(){if(xE)return ac;xE=1;var r="\uFEFF";ac.PrependBOM=e;function e(s,n){this.encoder=s,this.addBOM=!0}e.prototype.write=function(s){return this.addBOM&&(s=r+s,this.addBOM=!1),this.encoder.write(s)},e.prototype.end=function(){return this.encoder.end()},ac.StripBOM=t;function t(s,n){this.decoder=s,this.pass=!1,this.options=n||{}}return t.prototype.write=function(s){var n=this.decoder.write(s);return this.pass||!n||(n[0]===r&&(n=n.slice(1),typeof this.options.stripBOM=="function"&&this.options.stripBOM()),this.pass=!0),n},t.prototype.end=function(){return this.decoder.end()},ac}var md={},yd,OE;function gk(){if(OE)return yd;OE=1;var r=ks().Buffer;yd={utf8:{type:"_internal",bomAware:!0},cesu8:{type:"_internal",bomAware:!0},unicode11utf8:"utf8",ucs2:{type:"_internal",bomAware:!0},utf16le:"ucs2",binary:{type:"_internal"},base64:{type:"_internal"},hex:{type:"_internal"},_internal:e};function e(c,l){this.enc=c.encodingName,this.bomAware=c.bomAware,this.enc==="base64"?this.encoder=o:this.enc==="cesu8"&&(this.enc="utf8",this.encoder=a,r.from("eda0bdedb2a9","hex").toString()!=="💩"&&(this.decoder=u,this.defaultCharUnicode=l.defaultCharUnicode))}e.prototype.encoder=n,e.prototype.decoder=s;var t=si.StringDecoder;t.prototype.end||(t.prototype.end=function(){});function s(c,l){this.decoder=new t(l.enc)}s.prototype.write=function(c){return r.isBuffer(c)||(c=r.from(c)),this.decoder.write(c)},s.prototype.end=function(){return this.decoder.end()};function n(c,l){this.enc=l.enc}n.prototype.write=function(c){return r.from(c,this.enc)},n.prototype.end=function(){};function o(c,l){this.prevStr=""}o.prototype.write=function(c){c=this.prevStr+c;var l=c.length-c.length%4;return this.prevStr=c.slice(l),c=c.slice(0,l),r.from(c,"base64")},o.prototype.end=function(){return r.from(this.prevStr,"base64")};function a(c,l){}a.prototype.write=function(c){for(var l=r.alloc(c.length*3),h=0,d=0;d<c.length;d++){var f=c.charCodeAt(d);f<128?l[h++]=f:f<2048?(l[h++]=192+(f>>>6),l[h++]=128+(f&63)):(l[h++]=224+(f>>>12),l[h++]=128+(f>>>6&63),l[h++]=128+(f&63))}return l.slice(0,h)},a.prototype.end=function(){};function u(c,l){this.acc=0,this.contBytes=0,this.accBytes=0,this.defaultCharUnicode=l.defaultCharUnicode}return u.prototype.write=function(c){for(var l=this.acc,h=this.contBytes,d=this.accBytes,f="",p=0;p<c.length;p++){var g=c[p];(g&192)!==128?(h>0&&(f+=this.defaultCharUnicode,h=0),g<128?f+=String.fromCharCode(g):g<224?(l=g&31,h=1,d=1):g<240?(l=g&15,h=2,d=1):f+=this.defaultCharUnicode):h>0?(l=l<<6|g&63,h--,d++,h===0&&(d===2&&l<128&&l>0?f+=this.defaultCharUnicode:d===3&&l<2048?f+=this.defaultCharUnicode:f+=String.fromCharCode(l))):f+=this.defaultCharUnicode}return this.acc=l,this.contBytes=h,this.accBytes=d,f},u.prototype.end=function(){var c=0;return this.contBytes>0&&(c+=this.defaultCharUnicode),c},yd}var _i={},TE;function mk(){if(TE)return _i;TE=1;var r=ks().Buffer;_i._utf32=e;function e(l,h){this.iconv=h,this.bomAware=!0,this.isLE=l.isLE}_i.utf32le={type:"_utf32",isLE:!0},_i.utf32be={type:"_utf32",isLE:!1},_i.ucs4le="utf32le",_i.ucs4be="utf32be",e.prototype.encoder=t,e.prototype.decoder=s;function t(l,h){this.isLE=h.isLE,this.highSurrogate=0}t.prototype.write=function(l){for(var h=r.from(l,"ucs2"),d=r.alloc(h.length*2),f=this.isLE?d.writeUInt32LE:d.writeUInt32BE,p=0,g=0;g<h.length;g+=2){var m=h.readUInt16LE(g),E=55296<=m&&m<56320,D=56320<=m&&m<57344;if(this.highSurrogate)if(E||!D)f.call(d,this.highSurrogate,p),p+=4;else{var b=(this.highSurrogate-55296<<10|m-56320)+65536;f.call(d,b,p),p+=4,this.highSurrogate=0;continue}E?this.highSurrogate=m:(f.call(d,m,p),p+=4,this.highSurrogate=0)}return p<d.length&&(d=d.slice(0,p)),d},t.prototype.end=function(){if(this.highSurrogate){var l=r.alloc(4);return this.isLE?l.writeUInt32LE(this.highSurrogate,0):l.writeUInt32BE(this.highSurrogate,0),this.highSurrogate=0,l}};function s(l,h){this.isLE=h.isLE,this.badChar=h.iconv.defaultCharUnicode.charCodeAt(0),this.overflow=[]}s.prototype.write=function(l){if(l.length===0)return"";var h=0,d=0,f=r.alloc(l.length+4),p=0,g=this.isLE,m=this.overflow,E=this.badChar;if(m.length>0){for(;h<l.length&&m.length<4;h++)m.push(l[h]);m.length===4&&(g?d=m[h]|m[h+1]<<8|m[h+2]<<16|m[h+3]<<24:d=m[h+3]|m[h+2]<<8|m[h+1]<<16|m[h]<<24,m.length=0,p=n(f,p,d,E))}for(;h<l.length-3;h+=4)g?d=l[h]|l[h+1]<<8|l[h+2]<<16|l[h+3]<<24:d=l[h+3]|l[h+2]<<8|l[h+1]<<16|l[h]<<24,p=n(f,p,d,E);for(;h<l.length;h++)m.push(l[h]);return f.slice(0,p).toString("ucs2")};function n(l,h,d,f){if((d<0||d>1114111)&&(d=f),d>=65536){d-=65536;var p=55296|d>>10;l[h++]=p&255,l[h++]=p>>8;var d=56320|d&1023}return l[h++]=d&255,l[h++]=d>>8,h}s.prototype.end=function(){this.overflow.length=0},_i.utf32=o,_i.ucs4="utf32";function o(l,h){this.iconv=h}o.prototype.encoder=a,o.prototype.decoder=u;function a(l,h){l=l||{},l.addBOM===void 0&&(l.addBOM=!0),this.encoder=h.iconv.getEncoder(l.defaultEncoding||"utf-32le",l)}a.prototype.write=function(l){return this.encoder.write(l)},a.prototype.end=function(){return this.encoder.end()};function u(l,h){this.decoder=null,this.initialBufs=[],this.initialBufsLen=0,this.options=l||{},this.iconv=h.iconv}u.prototype.write=function(l){if(!this.decoder){if(this.initialBufs.push(l),this.initialBufsLen+=l.length,this.initialBufsLen<32)return"";var h=c(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(h,this.options);for(var d="",f=0;f<this.initialBufs.length;f++)d+=this.decoder.write(this.initialBufs[f]);return this.initialBufs.length=this.initialBufsLen=0,d}return this.decoder.write(l)},u.prototype.end=function(){if(!this.decoder){var l=c(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(l,this.options);for(var h="",d=0;d<this.initialBufs.length;d++)h+=this.decoder.write(this.initialBufs[d]);var f=this.decoder.end();return f&&(h+=f),this.initialBufs.length=this.initialBufsLen=0,h}return this.decoder.end()};function c(l,h){var d=[],f=0,p=0,g=0,m=0,E=0;e:for(var D=0;D<l.length;D++)for(var b=l[D],w=0;w<b.length;w++)if(d.push(b[w]),d.length===4){if(f===0){if(d[0]===255&&d[1]===254&&d[2]===0&&d[3]===0)return"utf-32le";if(d[0]===0&&d[1]===0&&d[2]===254&&d[3]===255)return"utf-32be"}if((d[0]!==0||d[1]>16)&&g++,(d[3]!==0||d[2]>16)&&p++,d[0]===0&&d[1]===0&&(d[2]!==0||d[3]!==0)&&E++,(d[0]!==0||d[1]!==0)&&d[2]===0&&d[3]===0&&m++,d.length=0,f++,f>=100)break e}return E-g>m-p?"utf-32be":E-g<m-p?"utf-32le":h||"utf-32le"}return _i}var uc={},BE;function yk(){if(BE)return uc;BE=1;var r=ks().Buffer;uc.utf16be=e;function e(){}e.prototype.encoder=t,e.prototype.decoder=s,e.prototype.bomAware=!0;function t(){}t.prototype.write=function(c){for(var l=r.from(c,"ucs2"),h=0;h<l.length;h+=2){var d=l[h];l[h]=l[h+1],l[h+1]=d}return l},t.prototype.end=function(){};function s(){this.overflowByte=-1}s.prototype.write=function(c){if(c.length==0)return"";var l=r.alloc(c.length+1),h=0,d=0;for(this.overflowByte!==-1&&(l[0]=c[0],l[1]=this.overflowByte,h=1,d=2);h<c.length-1;h+=2,d+=2)l[d]=c[h+1],l[d+1]=c[h];return this.overflowByte=h==c.length-1?c[c.length-1]:-1,l.slice(0,d).toString("ucs2")},s.prototype.end=function(){this.overflowByte=-1},uc.utf16=n;function n(c,l){this.iconv=l}n.prototype.encoder=o,n.prototype.decoder=a;function o(c,l){c=c||{},c.addBOM===void 0&&(c.addBOM=!0),this.encoder=l.iconv.getEncoder("utf-16le",c)}o.prototype.write=function(c){return this.encoder.write(c)},o.prototype.end=function(){return this.encoder.end()};function a(c,l){this.decoder=null,this.initialBufs=[],this.initialBufsLen=0,this.options=c||{},this.iconv=l.iconv}a.prototype.write=function(c){if(!this.decoder){if(this.initialBufs.push(c),this.initialBufsLen+=c.length,this.initialBufsLen<16)return"";var l=u(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(l,this.options);for(var h="",d=0;d<this.initialBufs.length;d++)h+=this.decoder.write(this.initialBufs[d]);return this.initialBufs.length=this.initialBufsLen=0,h}return this.decoder.write(c)},a.prototype.end=function(){if(!this.decoder){var c=u(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(c,this.options);for(var l="",h=0;h<this.initialBufs.length;h++)l+=this.decoder.write(this.initialBufs[h]);var d=this.decoder.end();return d&&(l+=d),this.initialBufs.length=this.initialBufsLen=0,l}return this.decoder.end()};function u(c,l){var h=[],d=0,f=0,p=0;e:for(var g=0;g<c.length;g++)for(var m=c[g],E=0;E<m.length;E++)if(h.push(m[E]),h.length===2){if(d===0){if(h[0]===255&&h[1]===254)return"utf-16le";if(h[0]===254&&h[1]===255)return"utf-16be"}if(h[0]===0&&h[1]!==0&&p++,h[0]!==0&&h[1]===0&&f++,h.length=0,d++,d>=100)break e}return p>f?"utf-16be":p<f?"utf-16le":l||"utf-16le"}return uc}var jo={},IE;function Dk(){if(IE)return jo;IE=1;var r=ks().Buffer;jo.utf7=e,jo.unicode11utf7="utf7";function e(m,E){this.iconv=E}e.prototype.encoder=s,e.prototype.decoder=n,e.prototype.bomAware=!0;var t=/[^A-Za-z0-9'\(\),-\.\/:\? \n\r\t]+/g;function s(m,E){this.iconv=E.iconv}s.prototype.write=function(m){return r.from(m.replace(t,function(E){return"+"+(E==="+"?"":this.iconv.encode(E,"utf16-be").toString("base64").replace(/=+$/,""))+"-"}.bind(this)))},s.prototype.end=function(){};function n(m,E){this.iconv=E.iconv,this.inBase64=!1,this.base64Accum=""}for(var o=/[A-Za-z0-9\/+]/,a=[],u=0;u<256;u++)a[u]=o.test(String.fromCharCode(u));var c=43,l=45,h=38;n.prototype.write=function(m){for(var E="",D=0,b=this.inBase64,w=this.base64Accum,v=0;v<m.length;v++)if(!b)m[v]==c&&(E+=this.iconv.decode(m.slice(D,v),"ascii"),D=v+1,b=!0);else if(!a[m[v]]){if(v==D&&m[v]==l)E+="+";else{var _=w+this.iconv.decode(m.slice(D,v),"ascii");E+=this.iconv.decode(r.from(_,"base64"),"utf16-be")}m[v]!=l&&v--,D=v+1,b=!1,w=""}if(!b)E+=this.iconv.decode(m.slice(D),"ascii");else{var _=w+this.iconv.decode(m.slice(D),"ascii"),R=_.length-_.length%8;w=_.slice(R),_=_.slice(0,R),E+=this.iconv.decode(r.from(_,"base64"),"utf16-be")}return this.inBase64=b,this.base64Accum=w,E},n.prototype.end=function(){var m="";return this.inBase64&&this.base64Accum.length>0&&(m=this.iconv.decode(r.from(this.base64Accum,"base64"),"utf16-be")),this.inBase64=!1,this.base64Accum="",m},jo.utf7imap=d;function d(m,E){this.iconv=E}d.prototype.encoder=f,d.prototype.decoder=p,d.prototype.bomAware=!0;function f(m,E){this.iconv=E.iconv,this.inBase64=!1,this.base64Accum=r.alloc(6),this.base64AccumIdx=0}f.prototype.write=function(m){for(var E=this.inBase64,D=this.base64Accum,b=this.base64AccumIdx,w=r.alloc(m.length*5+10),v=0,_=0;_<m.length;_++){var R=m.charCodeAt(_);32<=R&&R<=126?(E&&(b>0&&(v+=w.write(D.slice(0,b).toString("base64").replace(/\//g,",").replace(/=+$/,""),v),b=0),w[v++]=l,E=!1),E||(w[v++]=R,R===h&&(w[v++]=l))):(E||(w[v++]=h,E=!0),E&&(D[b++]=R>>8,D[b++]=R&255,b==D.length&&(v+=w.write(D.toString("base64").replace(/\//g,","),v),b=0)))}return this.inBase64=E,this.base64AccumIdx=b,w.slice(0,v)},f.prototype.end=function(){var m=r.alloc(10),E=0;return this.inBase64&&(this.base64AccumIdx>0&&(E+=m.write(this.base64Accum.slice(0,this.base64AccumIdx).toString("base64").replace(/\//g,",").replace(/=+$/,""),E),this.base64AccumIdx=0),m[E++]=l,this.inBase64=!1),m.slice(0,E)};function p(m,E){this.iconv=E.iconv,this.inBase64=!1,this.base64Accum=""}var g=a.slice();return g[44]=!0,p.prototype.write=function(m){for(var E="",D=0,b=this.inBase64,w=this.base64Accum,v=0;v<m.length;v++)if(!b)m[v]==h&&(E+=this.iconv.decode(m.slice(D,v),"ascii"),D=v+1,b=!0);else if(!g[m[v]]){if(v==D&&m[v]==l)E+="&";else{var _=w+this.iconv.decode(m.slice(D,v),"ascii").replace(/,/g,"/");E+=this.iconv.decode(r.from(_,"base64"),"utf16-be")}m[v]!=l&&v--,D=v+1,b=!1,w=""}if(!b)E+=this.iconv.decode(m.slice(D),"ascii");else{var _=w+this.iconv.decode(m.slice(D),"ascii").replace(/,/g,"/"),R=_.length-_.length%8;w=_.slice(R),_=_.slice(0,R),E+=this.iconv.decode(r.from(_,"base64"),"utf16-be")}return this.inBase64=b,this.base64Accum=w,E},p.prototype.end=function(){var m="";return this.inBase64&&this.base64Accum.length>0&&(m=this.iconv.decode(r.from(this.base64Accum,"base64"),"utf16-be")),this.inBase64=!1,this.base64Accum="",m},jo}var Dd={},PE;function Ek(){if(PE)return Dd;PE=1;var r=ks().Buffer;Dd._sbcs=e;function e(n,o){if(!n)throw new Error("SBCS codec is called without the data.");if(!n.chars||n.chars.length!==128&&n.chars.length!==256)throw new Error("Encoding '"+n.type+"' has incorrect 'chars' (must be of len 128 or 256)");if(n.chars.length===128){for(var a="",u=0;u<128;u++)a+=String.fromCharCode(u);n.chars=a+n.chars}this.decodeBuf=r.from(n.chars,"ucs2");for(var c=r.alloc(65536,o.defaultCharSingleByte.charCodeAt(0)),u=0;u<n.chars.length;u++)c[n.chars.charCodeAt(u)]=u;this.encodeBuf=c}e.prototype.encoder=t,e.prototype.decoder=s;function t(n,o){this.encodeBuf=o.encodeBuf}t.prototype.write=function(n){for(var o=r.alloc(n.length),a=0;a<n.length;a++)o[a]=this.encodeBuf[n.charCodeAt(a)];return o},t.prototype.end=function(){};function s(n,o){this.decodeBuf=o.decodeBuf}return s.prototype.write=function(n){for(var o=this.decodeBuf,a=r.alloc(n.length*2),u=0,c=0,l=0;l<n.length;l++)u=n[l]*2,c=l*2,a[c]=o[u],a[c+1]=o[u+1];return a.toString("ucs2")},s.prototype.end=function(){},Dd}var Ed,LE;function bk(){return LE||(LE=1,Ed={10029:"maccenteuro",maccenteuro:{type:"_sbcs",chars:"ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ"},808:"cp808",ibm808:"cp808",cp808:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№€■ "},mik:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя└┴┬├─┼╣║╚╔╩╦╠═╬┐░▒▓│┤№§╗╝┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},cp720:{type:"_sbcs",chars:"€éâ„à†çêëèïّْô¤ـûùءآأؤ£إئابةتثجحخدذرزسشص«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ضطظعغفµقكلمنهوىي≡ًٌٍَُِ≈°∙·√ⁿ²■ "},ascii8bit:"ascii",usascii:"ascii",ansix34:"ascii",ansix341968:"ascii",ansix341986:"ascii",csascii:"ascii",cp367:"ascii",ibm367:"ascii",isoir6:"ascii",iso646us:"ascii",iso646irv:"ascii",us:"ascii",latin1:"iso88591",latin2:"iso88592",latin3:"iso88593",latin4:"iso88594",latin5:"iso88599",latin6:"iso885910",latin7:"iso885913",latin8:"iso885914",latin9:"iso885915",latin10:"iso885916",csisolatin1:"iso88591",csisolatin2:"iso88592",csisolatin3:"iso88593",csisolatin4:"iso88594",csisolatincyrillic:"iso88595",csisolatinarabic:"iso88596",csisolatingreek:"iso88597",csisolatinhebrew:"iso88598",csisolatin5:"iso88599",csisolatin6:"iso885910",l1:"iso88591",l2:"iso88592",l3:"iso88593",l4:"iso88594",l5:"iso88599",l6:"iso885910",l7:"iso885913",l8:"iso885914",l9:"iso885915",l10:"iso885916",isoir14:"iso646jp",isoir57:"iso646cn",isoir100:"iso88591",isoir101:"iso88592",isoir109:"iso88593",isoir110:"iso88594",isoir144:"iso88595",isoir127:"iso88596",isoir126:"iso88597",isoir138:"iso88598",isoir148:"iso88599",isoir157:"iso885910",isoir166:"tis620",isoir179:"iso885913",isoir199:"iso885914",isoir203:"iso885915",isoir226:"iso885916",cp819:"iso88591",ibm819:"iso88591",cyrillic:"iso88595",arabic:"iso88596",arabic8:"iso88596",ecma114:"iso88596",asmo708:"iso88596",greek:"iso88597",greek8:"iso88597",ecma118:"iso88597",elot928:"iso88597",hebrew:"iso88598",hebrew8:"iso88598",turkish:"iso88599",turkish8:"iso88599",thai:"iso885911",thai8:"iso885911",celtic:"iso885914",celtic8:"iso885914",isoceltic:"iso885914",tis6200:"tis620",tis62025291:"tis620",tis62025330:"tis620",1e4:"macroman",10006:"macgreek",10007:"maccyrillic",10079:"maciceland",10081:"macturkish",cspc8codepage437:"cp437",cspc775baltic:"cp775",cspc850multilingual:"cp850",cspcp852:"cp852",cspc862latinhebrew:"cp862",cpgr:"cp869",msee:"cp1250",mscyrl:"cp1251",msansi:"cp1252",msgreek:"cp1253",msturk:"cp1254",mshebr:"cp1255",msarab:"cp1256",winbaltrim:"cp1257",cp20866:"koi8r",20866:"koi8r",ibm878:"koi8r",cskoi8r:"koi8r",cp21866:"koi8u",21866:"koi8u",ibm1168:"koi8u",strk10482002:"rk1048",tcvn5712:"tcvn",tcvn57121:"tcvn",gb198880:"iso646cn",cn:"iso646cn",csiso14jisc6220ro:"iso646jp",jisc62201969ro:"iso646jp",jp:"iso646jp",cshproman8:"hproman8",r8:"hproman8",roman8:"hproman8",xroman8:"hproman8",ibm1051:"hproman8",mac:"macintosh",csmacintosh:"macintosh"}),Ed}var bd,kE;function wk(){return kE||(kE=1,bd={437:"cp437",737:"cp737",775:"cp775",850:"cp850",852:"cp852",855:"cp855",856:"cp856",857:"cp857",858:"cp858",860:"cp860",861:"cp861",862:"cp862",863:"cp863",864:"cp864",865:"cp865",866:"cp866",869:"cp869",874:"windows874",922:"cp922",1046:"cp1046",1124:"cp1124",1125:"cp1125",1129:"cp1129",1133:"cp1133",1161:"cp1161",1162:"cp1162",1163:"cp1163",1250:"windows1250",1251:"windows1251",1252:"windows1252",1253:"windows1253",1254:"windows1254",1255:"windows1255",1256:"windows1256",1257:"windows1257",1258:"windows1258",28591:"iso88591",28592:"iso88592",28593:"iso88593",28594:"iso88594",28595:"iso88595",28596:"iso88596",28597:"iso88597",28598:"iso88598",28599:"iso88599",28600:"iso885910",28601:"iso885911",28603:"iso885913",28604:"iso885914",28605:"iso885915",28606:"iso885916",windows874:{type:"_sbcs",chars:"€����…�����������‘’“”•–—�������� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},win874:"windows874",cp874:"windows874",windows1250:{type:"_sbcs",chars:"€�‚�„…†‡�‰Š‹ŚŤŽŹ�‘’“”•–—�™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬­®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},win1250:"windows1250",cp1250:"windows1250",windows1251:{type:"_sbcs",chars:"ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—�™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬­®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},win1251:"windows1251",cp1251:"windows1251",windows1252:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰Š‹Œ�Ž��‘’“”•–—˜™š›œ�žŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},win1252:"windows1252",cp1252:"windows1252",windows1253:{type:"_sbcs",chars:"€�‚ƒ„…†‡�‰�‹�����‘’“”•–—�™�›���� ΅Ά£¤¥¦§¨©�«¬­®―°±²³΄µ¶·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"},win1253:"windows1253",cp1253:"windows1253",windows1254:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰Š‹Œ����‘’“”•–—˜™š›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},win1254:"windows1254",cp1254:"windows1254",windows1255:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰�‹�����‘’“”•–—˜™�›���� ¡¢£₪¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾¿ְֱֲֳִֵֶַָֹֺֻּֽ־ֿ׀ׁׂ׃װױײ׳״�������אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�"},win1255:"windows1255",cp1255:"windows1255",windows1256:{type:"_sbcs",chars:"€پ‚ƒ„…†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—ک™ڑ›œ‌‍ں ،¢£¤¥¦§¨©ھ«¬­®¯°±²³´µ¶·¸¹؛»¼½¾؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûü‎‏ے"},win1256:"windows1256",cp1256:"windows1256",windows1257:{type:"_sbcs",chars:"€�‚�„…†‡�‰�‹�¨ˇ¸�‘’“”•–—�™�›�¯˛� �¢£¤�¦§Ø©Ŗ«¬­®Æ°±²³´µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž˙"},win1257:"windows1257",cp1257:"windows1257",windows1258:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰�‹Œ����‘’“”•–—˜™�›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},win1258:"windows1258",cp1258:"windows1258",iso88591:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28591:"iso88591",iso88592:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ą˘Ł¤ĽŚ§¨ŠŞŤŹ­ŽŻ°ą˛ł´ľśˇ¸šşťź˝žżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},cp28592:"iso88592",iso88593:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ħ˘£¤�Ĥ§¨İŞĞĴ­�ݰħ²³´µĥ·¸ışğĵ½�żÀÁÂ�ÄĊĈÇÈÉÊËÌÍÎÏ�ÑÒÓÔĠÖ×ĜÙÚÛÜŬŜßàáâ�äċĉçèéêëìíîï�ñòóôġö÷ĝùúûüŭŝ˙"},cp28593:"iso88593",iso88594:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĸŖ¤Ĩϧ¨ŠĒĢŦ­Ž¯°ą˛ŗ´ĩšēģŧŊžŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎĪĐŅŌĶÔÕÖרŲÚÛÜŨŪßāáâãäåæįčéęëėíîīđņōķôõö÷øųúûüũū˙"},cp28594:"iso88594",iso88595:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂЃЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђѓєѕіїјљњћќ§ўџ"},cp28595:"iso88595",iso88596:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ���¤�������،­�������������؛���؟�ءآأؤإئابةتثجحخدذرزسشصضطظعغ�����ـفقكلمنهوىيًٌٍَُِّْ�������������"},cp28596:"iso88596",iso88597:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ‘’£€₯¦§¨©ͺ«¬­�―°±²³΄΅Ά·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"},cp28597:"iso88597",iso88598:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ �¢£¤¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾��������������������������������‗אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�"},cp28598:"iso88598",iso88599:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},cp28599:"iso88599",iso885910:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĒĢĪĨͧĻĐŠŦŽ­ŪŊ°ąēģīĩķ·ļđšŧž―ūŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎÏÐŅŌÓÔÕÖŨØŲÚÛÜÝÞßāáâãäåæįčéęëėíîïðņōóôõöũøųúûüýþĸ"},cp28600:"iso885910",iso885911:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},cp28601:"iso885911",iso885913:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ”¢£¤„¦§Ø©Ŗ«¬­®Æ°±²³“µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž’"},cp28603:"iso885913",iso885914:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ḃḃ£ĊċḊ§Ẁ©ẂḋỲ­®ŸḞḟĠġṀṁ¶ṖẁṗẃṠỳẄẅṡÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŴÑÒÓÔÕÖṪØÙÚÛÜÝŶßàáâãäåæçèéêëìíîïŵñòóôõöṫøùúûüýŷÿ"},cp28604:"iso885914",iso885915:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥Š§š©ª«¬­®¯°±²³Žµ¶·ž¹º»ŒœŸ¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28605:"iso885915",iso885916:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄąŁ€„Чš©Ș«Ź­źŻ°±ČłŽ”¶·žčș»ŒœŸżÀÁÂĂÄĆÆÇÈÉÊËÌÍÎÏĐŃÒÓÔŐÖŚŰÙÚÛÜĘȚßàáâăäćæçèéêëìíîïđńòóôőöśűùúûüęțÿ"},cp28606:"iso885916",cp437:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm437:"cp437",csibm437:"cp437",cp737:{type:"_sbcs",chars:"ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ "},ibm737:"cp737",csibm737:"cp737",cp775:{type:"_sbcs",chars:"ĆüéāäģåćłēŖŗīŹÄÅÉæÆōöĢ¢ŚśÖÜø£Ø×¤ĀĪóŻżź”¦©®¬½¼Ł«»░▒▓│┤ĄČĘĖ╣║╗╝ĮŠ┐└┴┬├─┼ŲŪ╚╔╩╦╠═╬Žąčęėįšųūž┘┌█▄▌▐▀ÓßŌŃõÕµńĶķĻļņĒŅ’­±“¾¶§÷„°∙·¹³²■ "},ibm775:"cp775",csibm775:"cp775",cp850:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ "},ibm850:"cp850",csibm850:"cp850",cp852:{type:"_sbcs",chars:"ÇüéâäůćçłëŐőîŹÄĆÉĹĺôöĽľŚśÖÜŤťŁ×čáíóúĄąŽžĘ꬟Ⱥ«»░▒▓│┤ÁÂĚŞ╣║╗╝Żż┐└┴┬├─┼Ăă╚╔╩╦╠═╬¤đĐĎËďŇÍÎě┘┌█▄ŢŮ▀ÓßÔŃńňŠšŔÚŕŰýÝţ´­˝˛ˇ˘§÷¸°¨˙űŘř■ "},ibm852:"cp852",csibm852:"cp852",cp855:{type:"_sbcs",chars:"ђЂѓЃёЁєЄѕЅіІїЇјЈљЉњЊћЋќЌўЎџЏюЮъЪаАбБцЦдДеЕфФгГ«»░▒▓│┤хХиИ╣║╗╝йЙ┐└┴┬├─┼кК╚╔╩╦╠═╬¤лЛмМнНоОп┘┌█▄Пя▀ЯрРсСтТуУжЖвВьЬ№­ыЫзЗшШэЭщЩчЧ§■ "},ibm855:"cp855",csibm855:"cp855",cp856:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת�£�×����������®¬½¼�«»░▒▓│┤���©╣║╗╝¢¥┐└┴┬├─┼��╚╔╩╦╠═╬¤���������┘┌█▄¦�▀������µ�������¯´­±‗¾¶§÷¸°¨·¹³²■ "},ibm856:"cp856",csibm856:"cp856",cp857:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîıÄÅÉæÆôöòûùİÖÜø£ØŞşáíóúñÑĞ𿮬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ºªÊËÈ�ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµ�×ÚÛÙìÿ¯´­±�¾¶§÷¸°¨·¹³²■ "},ibm857:"cp857",csibm857:"cp857",cp858:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈ€ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ "},ibm858:"cp858",csibm858:"cp858",cp860:{type:"_sbcs",chars:"ÇüéâãàÁçêÊèÍÔìÃÂÉÀÈôõòÚùÌÕÜ¢£Ù₧ÓáíóúñѪº¿Ò¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm860:"cp860",csibm860:"cp860",cp861:{type:"_sbcs",chars:"ÇüéâäàåçêëèÐðÞÄÅÉæÆôöþûÝýÖÜø£Ø₧ƒáíóúÁÍÓÚ¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm861:"cp861",csibm861:"cp861",cp862:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm862:"cp862",csibm862:"cp862",cp863:{type:"_sbcs",chars:"ÇüéâÂà¶çêëèïî‗À§ÉÈÊôËÏûù¤ÔÜ¢£ÙÛƒ¦´óú¨¸³¯Î⌐¬½¼¾«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm863:"cp863",csibm863:"cp863",cp864:{type:"_sbcs",chars:`\0\x07\b
338
338
  \v\f\r\x1B !"#$٪&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~°·∙√▒─│┼┤┬├┴┐┌└┘β∞φ±½¼≈«»ﻷﻸ��ﻻﻼ� ­ﺂ£¤ﺄ��ﺎﺏﺕﺙ،ﺝﺡﺥ٠١٢٣٤٥٦٧٨٩ﻑ؛ﺱﺵﺹ؟¢ﺀﺁﺃﺅﻊﺋﺍﺑﺓﺗﺛﺟﺣﺧﺩﺫﺭﺯﺳﺷﺻﺿﻁﻅﻋﻏ¦¬÷×ﻉـﻓﻗﻛﻟﻣﻧﻫﻭﻯﻳﺽﻌﻎﻍﻡﹽّﻥﻩﻬﻰﻲﻐﻕﻵﻶﻝﻙﻱ■�`},ibm864:"cp864",csibm864:"cp864",cp865:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø₧ƒáíóúñѪº¿⌐¬½¼¡«¤░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm865:"cp865",csibm865:"cp865",cp866:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№¤■ "},ibm866:"cp866",csibm866:"cp866",cp869:{type:"_sbcs",chars:"������Ά�·¬¦‘’Έ―ΉΊΪΌ��ΎΫ©Ώ²³ά£έήίϊΐόύΑΒΓΔΕΖΗ½ΘΙ«»░▒▓│┤ΚΛΜΝ╣║╗╝ΞΟ┐└┴┬├─┼ΠΡ╚╔╩╦╠═╬ΣΤΥΦΧΨΩαβγ┘┌█▄δε▀ζηθικλμνξοπρσςτ΄­±υφχ§ψ΅°¨ωϋΰώ■ "},ibm869:"cp869",csibm869:"cp869",cp922:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®‾°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŠÑÒÓÔÕÖרÙÚÛÜÝŽßàáâãäåæçèéêëìíîïšñòóôõö÷øùúûüýžÿ"},ibm922:"cp922",csibm922:"cp922",cp1046:{type:"_sbcs",chars:"ﺈ×÷ﹱˆ■│─┐┌└┘ﹹﹻﹽﹿﹷﺊﻰﻳﻲﻎﻏﻐﻶﻸﻺﻼ ¤ﺋﺑﺗﺛﺟﺣ،­ﺧﺳ٠١٢٣٤٥٦٧٨٩ﺷ؛ﺻﺿﻊ؟ﻋءآأؤإئابةتثجحخدذرزسشصضطﻇعغﻌﺂﺄﺎﻓـفقكلمنهوىيًٌٍَُِّْﻗﻛﻟﻵﻷﻹﻻﻣﻧﻬﻩ�"},ibm1046:"cp1046",csibm1046:"cp1046",cp1124:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂҐЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђґєѕіїјљњћќ§ўџ"},ibm1124:"cp1124",csibm1124:"cp1124",cp1125:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёҐґЄєІіЇї·√№¤■ "},ibm1125:"cp1125",csibm1125:"cp1125",cp1129:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},ibm1129:"cp1129",csibm1129:"cp1129",cp1133:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ກຂຄງຈສຊຍດຕຖທນບປຜຝພຟມຢຣລວຫອຮ���ຯະາຳິີຶືຸູຼັົຽ���ເແໂໃໄ່້໊໋໌ໍໆ�ໜໝ₭����������������໐໑໒໓໔໕໖໗໘໙��¢¬¦�"},ibm1133:"cp1133",csibm1133:"cp1133",cp1161:{type:"_sbcs",chars:"��������������������������������่กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู้๊๋€฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛¢¬¦ "},ibm1161:"cp1161",csibm1161:"cp1161",cp1162:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},ibm1162:"cp1162",csibm1162:"cp1162",cp1163:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},ibm1163:"cp1163",csibm1163:"cp1163",maccroatian:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈ƫȅ ÀÃÕŒœĐ—“”‘’÷◊�©⁄¤‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ"},maccyrillic:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°¢£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµ∂ЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"},macgreek:{type:"_sbcs",chars:"Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦­ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ�"},maciceland:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüݰ¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macroman:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macromania:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂŞ∞±≤≥¥µ∂∑∏π∫ªºΩăş¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›Ţţ‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macthai:{type:"_sbcs",chars:"«»…“”�•‘’� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู\uFEFF​–—฿เแโใไๅๆ็่้๊๋์ํ™๏๐๑๒๓๔๕๖๗๘๙®©����"},macturkish:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙ�ˆ˜¯˘˙˚¸˝˛ˇ"},macukraine:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°Ґ£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"},koi8r:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ё╓╔╕╖╗╘╙╚╛╜╝╞╟╠╡Ё╢╣╤╥╦╧╨╩╪╫╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8u:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґ╝╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪Ґ╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8ru:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґў╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪ҐЎ©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8t:{type:"_sbcs",chars:"қғ‚Ғ„…†‡�‰ҳ‹ҲҷҶ�Қ‘’“”•–—�™�›�����ӯӮё¤ӣ¦§���«¬­®�°±²Ё�Ӣ¶·�№�»���©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},armscii8:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ �և։)(»«—.՝,-֊…՜՛՞ԱաԲբԳգԴդԵեԶզԷէԸըԹթԺժԻիԼլԽխԾծԿկՀհՁձՂղՃճՄմՅյՆնՇշՈոՉչՊպՋջՌռՍսՎվՏտՐրՑցՒւՓփՔքՕօՖֆ՚�"},rk1048:{type:"_sbcs",chars:"ЂЃ‚ѓ„…†‡€‰Љ‹ЊҚҺЏђ‘’“”•–—�™љ›њқһџ ҰұӘ¤Ө¦§Ё©Ғ«¬­®Ү°±Ііөµ¶·ё№ғ»әҢңүАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},tcvn:{type:"_sbcs",chars:`\0ÚỤỪỬỮ\x07\b
339
339
  \v\f\rỨỰỲỶỸÝỴ\x1B !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~ÀẢÃÁẠẶẬÈẺẼÉẸỆÌỈĨÍỊÒỎÕÓỌỘỜỞỠỚỢÙỦŨ ĂÂÊÔƠƯĐăâêôơưđẶ̀̀̉̃́àảãáạẲằẳẵắẴẮẦẨẪẤỀặầẩẫấậèỂẻẽéẹềểễếệìỉỄẾỒĩíịòỔỏõóọồổỗốộờởỡớợùỖủũúụừửữứựỳỷỹýỵỐ`},georgianacademy:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზთიკლმნოპჟრსტუფქღყშჩცძწჭხჯჰჱჲჳჴჵჶçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},georgianps:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზჱთიკლმნჲოპჟრსტჳუფქღყშჩცძწჭხჴჯჰჵæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},pt154:{type:"_sbcs",chars:"ҖҒӮғ„…ҶҮҲүҠӢҢҚҺҸҗ‘’“”•–—ҳҷҡӣңқһҹ ЎўЈӨҘҰ§Ё©Ә«¬ӯ®Ҝ°ұІіҙө¶·ё№ә»јҪҫҝАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},viscii:{type:"_sbcs",chars:`\0ẲẴẪ\x07\b
340
340
  \v\f\rỶỸ\x1BỴ !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~ẠẮẰẶẤẦẨẬẼẸẾỀỂỄỆỐỒỔỖỘỢỚỜỞỊỎỌỈỦŨỤỲÕắằặấầẩậẽẹếềểễệốồổỗỠƠộờởịỰỨỪỬơớƯÀÁÂÃẢĂẳẵÈÉÊẺÌÍĨỳĐứÒÓÔạỷừửÙÚỹỵÝỡưàáâãảăữẫèéêẻìíĩỉđựòóôõỏọụùúũủýợỮ`},iso646cn:{type:"_sbcs",chars:`\0\x07\b
@@ -401,15 +401,15 @@ globstar while`,C,H,T,z,oe),this.matchOne(C.slice(H),T.slice(z),U))return this.d
401
401
  * IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
402
402
  * express or implied. See the License for the specific language
403
403
  * governing permissions and limitations under the License.
404
- */return new vp.URL(r.url).hostname!==o.hostname&&(r.headers.delete("authorization"),r.headers.delete("cookie")),(e.status===303||r.method==="POST"&&[301,302].includes(e.status))&&(s.method="GET",s.body=null,r.headers.delete("content-length")),s.headers={},r.headers.forEach((u,c)=>{s.headers[c]=u}),s.counter=++r.counter,{request:new uY(vp.format(o),s),options:s}},e$=async(r,e)=>{const t=lY.storable(r,e)?await av(r,e):await hY(r,e);if(!["GET","HEAD"].includes(r.method)&&t.status>=200&&t.status<=399&&await av.invalidate(r,e),!fY(r,t,e))return t;const s=dY(r,t,e);return e$(s.request,s.options)};var pY=e$;const{FetchError:gY,Headers:mY,Request:t$,Response:yY}=uu,DY=J7,EY=pY,El=(r,e)=>{const t=DY(e),s=new t$(r,t);return EY(s,t)};El.defaults=(r,e={},t=El)=>{typeof r=="object"&&(e=r,r=null);const s=(n,o={})=>{const a=n||r,u={...e,...o,headers:{...e.headers,...o.headers}};return t(a,u)};return s.defaults=(n,o={})=>El.defaults(n,o,s),s};Eo.exports=El;Eo.exports.FetchError=gY;Eo.exports.Headers=mY;Eo.exports.Request=t$;Eo.exports.Response=yY;var bY=Eo.exports,Te={},r$=Te.LEFT_BRACE=1,bl=Te.RIGHT_BRACE=2,i$=Te.LEFT_BRACKET=3,bg=Te.RIGHT_BRACKET=4,wl=Te.COLON=5,Ll=Te.COMMA=6,s$=Te.TRUE=7,n$=Te.FALSE=8,o$=Te.NULL=9,kl=Te.STRING=10,a$=Te.NUMBER=11,Qs=Te.START=17,u$=Te.STOP=18,uv=Te.TRUE1=33,cv=Te.TRUE2=34,lv=Te.TRUE3=35,hv=Te.FALSE1=49,fv=Te.FALSE2=50,dv=Te.FALSE3=51,pv=Te.FALSE4=52,gv=Te.NULL1=65,mv=Te.NULL2=66,yv=Te.NULL3=67,Dv=Te.NUMBER1=81,_p=Te.NUMBER3=83,Fr=Te.STRING1=97,Ev=Te.STRING2=98,bv=Te.STRING3=99,wY=Te.STRING4=100,vY=Te.STRING5=101,wv=Te.STRING6=102,Gn=Te.VALUE=113,Ap=Te.KEY=114,Zc=Te.OBJECT=129,Jc=Te.ARRAY=130,_Y=92,AY=47,SY=8,CY=12,FY=10,$Y=13,RY=9,D1=64*1024;function Qc(r){return Buffer.alloc?Buffer.alloc(r):new Buffer(r)}function el(r){return Buffer.from?Buffer.from(r):new Buffer(r)}function Bs(){this.tState=Qs,this.value=void 0,this.string=void 0,this.stringBuffer=Qc(D1),this.stringBufferOffset=0,this.unicode=void 0,this.highSurrogate=void 0,this.key=void 0,this.mode=void 0,this.stack=[],this.state=Gn,this.bytes_remaining=0,this.bytes_in_sequence=0,this.temp_buffs={2:Qc(2),3:Qc(3),4:Qc(4)},this.offset=-1}Bs.toknam=function(r){for(var e=Object.keys(Te),t=0,s=e.length;t<s;t++){var n=e[t];if(Te[n]===r)return n}return r&&"0x"+r.toString(16)};var Er=Bs.prototype;Er.onError=function(r){throw r};Er.charError=function(r,e){this.tState=u$,this.onError(new Error("Unexpected "+JSON.stringify(String.fromCharCode(r[e]))+" at position "+e+" in state "+Bs.toknam(this.tState)))};Er.appendStringChar=function(r){this.stringBufferOffset>=D1&&(this.string+=this.stringBuffer.toString("utf8"),this.stringBufferOffset=0),this.stringBuffer[this.stringBufferOffset++]=r};Er.appendStringBuf=function(r,e,t){var s=r.length;typeof e=="number"&&(typeof t=="number"?t<0?s=r.length-e+t:s=t-e:s=r.length-e),s<0&&(s=0),this.stringBufferOffset+s>D1&&(this.string+=this.stringBuffer.toString("utf8",0,this.stringBufferOffset),this.stringBufferOffset=0),r.copy(this.stringBuffer,this.stringBufferOffset,e,t),this.stringBufferOffset+=s};Er.write=function(r){typeof r=="string"&&(r=el(r));for(var e,t=0,s=r.length;t<s;t++)if(this.tState===Qs){if(e=r[t],this.offset++,e===123)this.onToken(r$,"{");else if(e===125)this.onToken(bl,"}");else if(e===91)this.onToken(i$,"[");else if(e===93)this.onToken(bg,"]");else if(e===58)this.onToken(wl,":");else if(e===44)this.onToken(Ll,",");else if(e===116)this.tState=uv;else if(e===102)this.tState=hv;else if(e===110)this.tState=gv;else if(e===34)this.string="",this.stringBufferOffset=0,this.tState=Fr;else if(e===45)this.string="-",this.tState=Dv;else if(e>=48&&e<64)this.string=String.fromCharCode(e),this.tState=_p;else if(!(e===32||e===9||e===10||e===13))return this.charError(r,t)}else if(this.tState===Fr)if(e=r[t],this.bytes_remaining>0){for(var n=0;n<this.bytes_remaining;n++)this.temp_buffs[this.bytes_in_sequence][this.bytes_in_sequence-this.bytes_remaining+n]=r[n];this.appendStringBuf(this.temp_buffs[this.bytes_in_sequence]),this.bytes_in_sequence=this.bytes_remaining=0,t=t+n-1}else if(this.bytes_remaining===0&&e>=128){if(e<=193||e>244)return this.onError(new Error("Invalid UTF-8 character at position "+t+" in state "+Bs.toknam(this.tState)));if(e>=194&&e<=223&&(this.bytes_in_sequence=2),e>=224&&e<=239&&(this.bytes_in_sequence=3),e>=240&&e<=244&&(this.bytes_in_sequence=4),this.bytes_in_sequence+t>r.length){for(var o=0;o<=r.length-1-t;o++)this.temp_buffs[this.bytes_in_sequence][o]=r[t+o];this.bytes_remaining=t+this.bytes_in_sequence-r.length,t=r.length-1}else this.appendStringBuf(r,t,t+this.bytes_in_sequence),t=t+this.bytes_in_sequence-1}else if(e===34)this.tState=Qs,this.string+=this.stringBuffer.toString("utf8",0,this.stringBufferOffset),this.stringBufferOffset=0,this.onToken(kl,this.string),this.offset+=Buffer.byteLength(this.string,"utf8")+1,this.string=void 0;else if(e===92)this.tState=Ev;else if(e>=32)this.appendStringChar(e);else return this.charError(r,t);else if(this.tState===Ev)if(e=r[t],e===34)this.appendStringChar(e),this.tState=Fr;else if(e===92)this.appendStringChar(_Y),this.tState=Fr;else if(e===47)this.appendStringChar(AY),this.tState=Fr;else if(e===98)this.appendStringChar(SY),this.tState=Fr;else if(e===102)this.appendStringChar(CY),this.tState=Fr;else if(e===110)this.appendStringChar(FY),this.tState=Fr;else if(e===114)this.appendStringChar($Y),this.tState=Fr;else if(e===116)this.appendStringChar(RY),this.tState=Fr;else if(e===117)this.unicode="",this.tState=bv;else return this.charError(r,t);else if(this.tState===bv||this.tState===wY||this.tState===vY||this.tState===wv)if(e=r[t],e>=48&&e<64||e>64&&e<=70||e>96&&e<=102){if(this.unicode+=String.fromCharCode(e),this.tState++===wv){var a=parseInt(this.unicode,16);this.unicode=void 0,this.highSurrogate!==void 0&&a>=56320&&a<57344?(this.appendStringBuf(el(String.fromCharCode(this.highSurrogate,a))),this.highSurrogate=void 0):this.highSurrogate===void 0&&a>=55296&&a<56320?this.highSurrogate=a:(this.highSurrogate!==void 0&&(this.appendStringBuf(el(String.fromCharCode(this.highSurrogate))),this.highSurrogate=void 0),this.appendStringBuf(el(String.fromCharCode(a)))),this.tState=Fr}}else return this.charError(r,t);else if(this.tState===Dv||this.tState===_p)switch(e=r[t],e){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 46:case 101:case 69:case 43:case 45:this.string+=String.fromCharCode(e),this.tState=_p;break;default:this.tState=Qs;var u=this.numberReviver(this.string);if(u)return u;this.offset+=this.string.length-1,this.string=void 0,t--;break}else if(this.tState===uv)if(r[t]===114)this.tState=cv;else return this.charError(r,t);else if(this.tState===cv)if(r[t]===117)this.tState=lv;else return this.charError(r,t);else if(this.tState===lv)if(r[t]===101)this.tState=Qs,this.onToken(s$,!0),this.offset+=3;else return this.charError(r,t);else if(this.tState===hv)if(r[t]===97)this.tState=fv;else return this.charError(r,t);else if(this.tState===fv)if(r[t]===108)this.tState=dv;else return this.charError(r,t);else if(this.tState===dv)if(r[t]===115)this.tState=pv;else return this.charError(r,t);else if(this.tState===pv)if(r[t]===101)this.tState=Qs,this.onToken(n$,!1),this.offset+=4;else return this.charError(r,t);else if(this.tState===gv)if(r[t]===117)this.tState=mv;else return this.charError(r,t);else if(this.tState===mv)if(r[t]===108)this.tState=yv;else return this.charError(r,t);else if(this.tState===yv)if(r[t]===108)this.tState=Qs,this.onToken(o$,null),this.offset+=3;else return this.charError(r,t)};Er.onToken=function(r,e){};Er.parseError=function(r,e){this.tState=u$,this.onError(new Error("Unexpected "+Bs.toknam(r)+(e?"("+JSON.stringify(e)+")":"")+" in state "+Bs.toknam(this.state)))};Er.push=function(){this.stack.push({value:this.value,key:this.key,mode:this.mode})};Er.pop=function(){var r=this.value,e=this.stack.pop();this.value=e.value,this.key=e.key,this.mode=e.mode,this.emit(r),this.mode||(this.state=Gn)};Er.emit=function(r){this.mode&&(this.state=Ll),this.onValue(r)};Er.onValue=function(r){};Er.onToken=function(r,e){if(this.state===Gn)if(r===kl||r===a$||r===s$||r===n$||r===o$)this.value&&(this.value[this.key]=e),this.emit(e);else if(r===r$)this.push(),this.value?this.value=this.value[this.key]={}:this.value={},this.key=void 0,this.state=Ap,this.mode=Zc;else if(r===i$)this.push(),this.value?this.value=this.value[this.key]=[]:this.value=[],this.key=0,this.mode=Jc,this.state=Gn;else if(r===bl)if(this.mode===Zc)this.pop();else return this.parseError(r,e);else if(r===bg)if(this.mode===Jc)this.pop();else return this.parseError(r,e);else return this.parseError(r,e);else if(this.state===Ap)if(r===kl)this.key=e,this.state=wl;else if(r===bl)this.pop();else return this.parseError(r,e);else if(this.state===wl)if(r===wl)this.state=Gn;else return this.parseError(r,e);else if(this.state===Ll)if(r===Ll)this.mode===Jc?(this.key++,this.state=Gn):this.mode===Zc&&(this.state=Ap);else if(r===bg&&this.mode===Jc||r===bl&&this.mode===Zc)this.pop();else return this.parseError(r,e);else return this.parseError(r,e)};Er.numberReviver=function(r){var e=Number(r);if(isNaN(e))return this.charError(buffer,i);r.match(/[0-9]+/)==r&&e.toString()!=r?this.onToken(kl,r):this.onToken(a$,e)};Bs.C=Te;var xY=Bs;const OY=xY,{Minipass:TY}=oi;class vv extends Error{constructor(e,t){super(e.message),Error.captureStackTrace(this,t||this.constructor)}get name(){return"JSONStreamError"}}const _v=(r,e)=>typeof r=="string"?String(e)===r:r&&typeof r.test=="function"?r.test(e):typeof r=="boolean"||typeof r=="object"?r:typeof r=="function"?r(e):!1;class E1 extends TY{#e=0;#i=!1;#r=null;#s=null;#c=null;#a;#h;#o=null;#n=null;constructor(e){super({...e,objectMode:!0});const t=this.#h=new OY;t.onValue=s=>this.#d(s),this.#a=t.onToken,t.onToken=(s,n)=>this.#y(s,n),t.onError=s=>this.#g(s),this.#o=typeof e.path=="string"?e.path.split(".").map(s=>s==="$*"?{emitKey:!0}:s==="*"?!0:s===""?{recurse:!0}:s):Array.isArray(e.path)&&e.path.length?e.path:null,typeof e.map=="function"&&(this.#c=e.map)}#t(e,t){this.#s!==!1&&(this.#s=this.#s||{},this.#s[e]=t),this.#r!==!1&&this.#s===!1&&(this.#r=this.#r||{},this.#r[e]=t)}#g(e){const t=this.#i?this.end:this.write;return this.#i=!1,this.emit("error",new vv(e,t))}#y(e,t){const s=this.#h;if(this.#a.call(this.#h,e,t),s.stack.length===0&&this.#n){const n=this.#n;this.#o||super.write(n),this.#n=null,this.#e=0}}#d(e){const t=this.#h;if(this.#n=e,!this.#o)return;let s=0,n=0,o=!1;for(;s<this.#o.length;){const u=this.#o[s];if(n++,u&&!u.recurse){const c=n===t.stack.length?t:t.stack[n];if(!c)return;if(!_v(u,c.key)){this.#t(c.key,e);return}o=!!u.emitKey,s++}else{if(s++,s>=this.#o.length)return;const c=this.#o[s];if(!c)return;for(;;){const l=n===t.stack.length?t:t.stack[n];if(!l)return;if(_v(c,l.key)){s++,Object.isFrozen(t.stack[n])||(t.stack[n].value=null);break}else this.#t(l.key,e);n++}}}if(this.#s){const u=this.#s;this.#s=!1,this.emit("header",u)}if(n!==t.stack.length)return;this.#e++;const a=t.stack.slice(1).map(u=>u.key).concat([t.key]);if(e!=null){const u=this.#c?this.#c(e,a):e;if(u!=null){const c=o?{value:u}:u;o&&(c.key=t.key),super.write(c)}}t.value&&delete t.value[t.key];for(const u of t.stack)u.value=null}write(e,t){if(typeof e=="string")e=Buffer.from(e,t);else if(!Buffer.isBuffer(e))return this.emit("error",new TypeError("Can only parse JSON from string or buffer input"));return this.#h.write(e),this.flowing}end(e,t){this.#i=!0,e&&this.write(e,t);const s=this.#s;this.#s=null;const n=this.#r;return this.#r=null,s&&this.emit("header",s),n&&this.emit("footer",n),super.end()}static get JSONStreamError(){return vv}static parse(e,t){return new E1({path:e,map:t})}}var BY=E1;(function(r){const{HttpErrorAuthOTP:e}=XS,t=m7,s=Y7,n=bY,o=BY,a=BC,u=Px,c=qt,l=hr,{Minipass:h}=oi,d=vC,f=w=>{try{return!!new c.URL(w)}catch{return!1}};r.exports=p;function p(w,v={}){const _={...d,...v},R=f(w);let P=_.registry||d.registry;R||(P=_.registry=_.spec&&E(_.spec,_)||_.registry||P,w=`${P.trim().replace(/\/?$/g,"")}/${w.trim().replace(/^\//,"")}`,new c.URL(w));const M=_.method||"GET",j=Date.now(),N=s(w,_),G=b(w,N,_);let ie=_.body;const ne=h.isStream(ie),x=ie&&typeof ie=="object"&&typeof ie.then=="function";if(ie&&!ne&&!x&&typeof ie!="string"&&!Buffer.isBuffer(ie)?(G["content-type"]=G["content-type"]||"application/json",ie=JSON.stringify(ie)):ie&&!G["content-type"]&&(G["content-type"]="application/octet-stream"),_.gzip)if(G["content-encoding"]="gzip",ne){const q=new l.Gzip;ie.on("error",O=>q.emit("error",O)),ie=ie.pipe(q)}else x||(ie=new l.Gzip().end(ie).concat());const S=new c.URL(w);if(_.query){const q=typeof _.query=="string"?u.parse(_.query):_.query;Object.keys(q).forEach(O=>{q[O]!==void 0&&S.searchParams.set(O,q[O])}),w=c.format(S)}S.searchParams.get("write")==="true"&&M==="GET"&&(_.offline=!1,_.preferOffline=!1,_.preferOnline=!0);const $=async q=>{const O=n(w,{agent:_.agent,algorithms:_.algorithms,body:q,cache:D(_),cachePath:_.cache,ca:_.ca,cert:N.cert||_.cert,headers:G,integrity:_.integrity,key:N.key||_.key,localAddress:_.localAddress,maxSockets:_.maxSockets,memoize:_.memoize,method:M,noProxy:_.noProxy,proxy:_.httpsProxy||_.proxy,retry:_.retry?_.retry:{retries:_.fetchRetries,factor:_.fetchRetryFactor,minTimeout:_.fetchRetryMintimeout,maxTimeout:_.fetchRetryMaxtimeout},strictSSL:_.strictSSL,timeout:_.timeout||3e4}).then(L=>t({method:M,uri:w,res:L,registry:P,startTime:j,auth:N,opts:_}));return typeof _.otpPrompt=="function"?O.catch(async L=>{if(L instanceof e){let K;try{K=await _.otpPrompt()}catch{}if(!K)throw L;return p(w,{..._,otp:K})}throw L}):O};return Promise.resolve(ie).then($)}r.exports.getAuth=s,r.exports.json=g;function g(w,v){return p(w,v).then(_=>_.json())}r.exports.json.stream=m;function m(w,v,_={}){const R={...d,..._},P=o.parse(v,R.mapJSON);return p(w,R).then(M=>M.body.on("error",j=>P.emit("error",j)).pipe(P)).catch(M=>P.emit("error",M)),P}r.exports.pickRegistry=E;function E(w,v={}){w=a(w);let _=w.scope&&v[w.scope.replace(/^@?/,"@")+":registry"];return!_&&v.scope&&(_=v[v.scope.replace(/^@?/,"@")+":registry"]),_||(_=v.registry||d.registry),_}function D(w){return w.offline?"only-if-cached":w.preferOffline?"force-cache":w.preferOnline?"no-cache":"default"}function b(w,v,_){const R=Object.assign({"user-agent":_.userAgent},_.headers||{});return _.authType&&(R["npm-auth-type"]=_.authType),_.scope&&(R["npm-scope"]=_.scope),_.npmSession&&(R["npm-session"]=_.npmSession),_.npmCommand&&(R["npm-command"]=_.npmCommand),v.token?R.authorization=`Bearer ${v.token}`:v.auth&&(R.authorization=`Basic ${v.auth}`),_.otp&&(R["npm-otp"]=_.otp),R}})(KS);var IY=KS.exports;const Sp=Qe(IY),PY=Qt,Av=PY.homedir();var LY=r=>{if(typeof r!="string")throw new TypeError(`Expected a string, got ${typeof r}`);return Av?r.replace(/^~(?=$|\/|\\)/,Av):r};const c$=Qe(LY),kY="npm-check-updates",NY="17.0.4",MY="Tomas Junnonen <tomas1@gmail.com>",jY="Apache-2.0",UY=["Raine Revere (https://github.com/raineorshine)","Imamuzzaki Abu Salam <imamuzzaki@gmail.com>"],HY="Find newer versions of dependencies than what your package.json allows",GY=["dependencies","npm","package.json","update","upgrade","versions"],WY={node:"^18.18.0 || >=20.0.0",npm:">=8.12.1"},zY="build/index.js",qY="build/index.d.ts",VY={build:"rimraf build && npm run build:options && vite build","build:options":"vite-node src/scripts/build-options.ts","build:analyze":"rimraf build && npm run build:options && ANALYZER=true vite build",lint:"cross-env FORCE_COLOR=1 npm-run-all --parallel --aggregate-output lint:*","lint:lockfile":"lockfile-lint","lint:markdown":'markdownlint "**/*.md" --ignore "**/node_modules/**/*.md" --ignore build --config .markdownlint.js',"lint:src":"eslint --cache --cache-location node_modules/.cache/.eslintcache --ignore-path .gitignore --report-unused-disable-directives .",prepare:"src/scripts/install-hooks",prepublishOnly:"npm run build",prettier:"prettier . --check",test:"npm run test:unit && npm run test:e2e","test:bun":"test/bun-install.sh && mocha test/bun","test:unit":"mocha test test/package-managers/*","test:e2e":"./test/e2e.sh",ncu:"node build/cli.js"},YY={"npm-check-updates":"build/cli.js",ncu:"build/cli.js"},KY={type:"git",url:"git+https://github.com/raineorshine/npm-check-updates.git"},XY="https://github.com/raineorshine/npm-check-updates",ZY={url:"https://github.com/raineorshine/npm-check-updates/issues"},JY={ip:"2.0.1",jsonparse:"https://github.com/ARitz-Cracker/jsonparse/tree/patch-1","@yarnpkg/parsers":"2.6.0"},QY={"@trivago/prettier-plugin-sort-imports":"^4.3.0","@types/chai":"^4.3.16","@types/chai-as-promised":"^7.1.8","@types/chai-string":"^1.4.5","@types/cli-table":"^0.3.4","@types/hosted-git-info":"^3.0.5","@types/ini":"^4.1.1","@types/js-yaml":"^4.0.9","@types/json-parse-helpfulerror":"^1.0.3","@types/jsonlines":"^0.1.5","@types/lodash":"^4.17.7","@types/mocha":"^10.0.7","@types/node":"^22.0.0","@types/npm-registry-fetch":"^8.0.7","@types/parse-github-url":"^1.0.3","@types/picomatch":"^3.0.0","@types/progress":"^2.0.7","@types/prompts":"^2.4.9","@types/remote-git-tags":"^4.0.2","@types/semver":"^7.5.8","@types/semver-utils":"^1.1.3","@types/sinon":"^17.0.3","@types/update-notifier":"^6.0.8","@typescript-eslint/eslint-plugin":"^7.18.0","@typescript-eslint/parser":"^7.18.0",camelcase:"^6.3.0",chai:"^4.3.10","chai-as-promised":"^7.1.2","chai-string":"^1.5.0",chalk:"^5.3.0","cli-table3":"^0.6.5",commander:"^12.1.0","cross-env":"^7.0.3",dequal:"^2.0.3",eslint:"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-config-raine":"^0.5.0","eslint-config-standard":"^17.1.0","eslint-plugin-import":"^2.29.1","eslint-plugin-jsdoc":"^48.10.2","eslint-plugin-n":"^16.6.2","eslint-plugin-promise":"^6.6.0","fast-glob":"^3.3.2","fast-memoize":"^2.5.2","find-up":"5.0.0","fp-and-or":"^1.0.2","hosted-git-info":"^7.0.2",ini:"^4.1.3","js-yaml":"^4.1.0","json-parse-helpfulerror":"^1.0.3",jsonlines:"^0.1.1","lockfile-lint":"^4.14.0",lodash:"^4.17.21","markdownlint-cli":"^0.41.0",mocha:"^10.7.0","npm-registry-fetch":"^17.1.0","npm-run-all":"^4.1.5","p-map":"^4.0.0","parse-github-url":"^1.0.3",picomatch:"^4.0.2",prettier:"^3.3.3",progress:"^2.0.3","prompts-ncu":"^3.0.0","rc-config-loader":"^4.1.3","remote-git-tags":"^3.0.0",rfdc:"^1.4.1",rimraf:"^6.0.1","rollup-plugin-node-externals":"^7.1.2",semver:"^7.6.3","semver-utils":"^1.1.4",should:"^13.2.3",sinon:"^18.0.0","source-map-support":"^0.5.21","spawn-please":"^3.0.0","strip-ansi":"^7.1.0","strip-json-comments":"^5.0.1","ts-node":"^10.9.2",typescript:"^5.5.4","typescript-json-schema":"^0.64.0",untildify:"^4.0.0","update-notifier":"^7.2.0",verdaccio:"^5.32.0",vite:"^5.3.5","vite-bundle-analyzer":"^0.10.3","vite-node":"^2.0.5","vite-plugin-dts":"^3.9.1",yarn:"^1.22.22"},eK=["build","!**/test/**"],tK={"check-leaks":!0,extension:["test.ts"],require:["source-map-support/register","ts-node/register"],timeout:6e4,"trace-deprecation":!0,"trace-warnings":!0,use_strict:!0},wg={name:kY,version:NY,author:MY,license:jY,contributors:UY,description:HY,keywords:GY,engines:WY,main:zY,types:qY,scripts:VY,bin:YY,repository:KY,homepage:XY,bugs:ZY,overrides:JY,devDependencies:QY,files:eK,"lockfile-lint":{"allowed-schemes":["https:","git+ssh:"],"allowed-hosts":["npm","github.com"],"empty-hostname":!1,type:"npm ",path:"package-lock.json"},mocha:tK};var l$={exports:{}},b1={exports:{}};class rK{constructor(e){this.value=e,this.next=void 0}}let iK=class{constructor(){this.clear()}enqueue(e){const t=new rK(e);this._head?(this._tail.next=t,this._tail=t):(this._head=t,this._tail=t),this._size++}dequeue(){const e=this._head;if(e)return this._head=this._head.next,this._size--,e.value}clear(){this._head=void 0,this._tail=void 0,this._size=0}get size(){return this._size}*[Symbol.iterator](){let e=this._head;for(;e;)yield e.value,e=e.next}};var sK=iK;const nK=sK,oK=r=>{if(!((Number.isInteger(r)||r===1/0)&&r>0))throw new TypeError("Expected `concurrency` to be a number from 1 and up");const e=new nK;let t=0;const s=()=>{t--,e.size>0&&e.dequeue()()},n=async(u,c,...l)=>{t++;const h=(async()=>u(...l))();c(h);try{await h}catch{}s()},o=(u,c,...l)=>{e.enqueue(n.bind(null,u,c,...l)),(async()=>(await Promise.resolve(),t<r&&e.size>0&&e.dequeue()()))()},a=(u,...c)=>new Promise(l=>{o(u,l,...c)});return Object.defineProperties(a,{activeCount:{get:()=>t},pendingCount:{get:()=>e.size},clearQueue:{value:()=>{e.clear()}}}),a};var aK=oK;const Sv=aK;class h$ extends Error{constructor(e){super(),this.value=e}}const uK=async(r,e)=>e(await r),cK=async r=>{const e=await Promise.all(r);if(e[1]===!0)throw new h$(e[0]);return!1},lK=async(r,e,t)=>{t={concurrency:1/0,preserveOrder:!0,...t};const s=Sv(t.concurrency),n=[...r].map(a=>[a,s(uK,a,e)]),o=Sv(t.preserveOrder?1:1/0);try{await Promise.all(n.map(a=>o(cK,a)))}catch(a){if(a instanceof h$)return a.value;throw a}};var hK=lK;const f$=de,Nl=lt,{promisify:d$}=rs,fK=hK,dK=d$(Nl.stat),pK=d$(Nl.lstat),p$={directory:"isDirectory",file:"isFile"};function g$({type:r}){if(!(r in p$))throw new Error(`Invalid type specified: ${r}`)}const m$=(r,e)=>r===void 0||e[p$[r]]();b1.exports=async(r,e)=>{e={cwd:process.cwd(),type:"file",allowSymlinks:!0,...e},g$(e);const t=e.allowSymlinks?dK:pK;return fK(r,async s=>{try{const n=await t(f$.resolve(e.cwd,s));return m$(e.type,n)}catch{return!1}},e)};b1.exports.sync=(r,e)=>{e={cwd:process.cwd(),allowSymlinks:!0,type:"file",...e},g$(e);const t=e.allowSymlinks?Nl.statSync:Nl.lstatSync;for(const s of r)try{const n=t(f$.resolve(e.cwd,s));if(m$(e.type,n))return s}catch{}};var gK=b1.exports,w1={exports:{}};const y$=lt,{promisify:mK}=rs,yK=mK(y$.access);w1.exports=async r=>{try{return await yK(r),!0}catch{return!1}};w1.exports.sync=r=>{try{return y$.accessSync(r),!0}catch{return!1}};var DK=w1.exports;(function(r){const e=de,t=gK,s=DK,n=Symbol("findUp.stop");r.exports=async(o,a={})=>{let u=e.resolve(a.cwd||"");const{root:c}=e.parse(u),l=[].concat(o),h=async d=>{if(typeof o!="function")return t(l,d);const f=await o(d.cwd);return typeof f=="string"?t([f],d):f};for(;;){const d=await h({...a,cwd:u});if(d===n)return;if(d)return e.resolve(u,d);if(u===c)return;u=e.dirname(u)}},r.exports.sync=(o,a={})=>{let u=e.resolve(a.cwd||"");const{root:c}=e.parse(u),l=[].concat(o),h=d=>{if(typeof o!="function")return t.sync(l,d);const f=o(d.cwd);return typeof f=="string"?t.sync([f],d):f};for(;;){const d=h({...a,cwd:u});if(d===n)return;if(d)return e.resolve(u,d);if(u===c)return;u=e.dirname(u)}},r.exports.exists=s,r.exports.sync.exists=s.sync,r.exports.stop=n})(l$);var EK=l$.exports;const Ml=Qe(EK);class Lh{constructor(e,t,s){this.__specs=e||{},this.__opts=t||{},this.__providers=Cv(s.filter(n=>n!=null&&typeof n=="object")),this.__isFiggyPudding=!0}get(e){return D$(this,e)}toJSON(){const e={};return this.forEach((t,s)=>{e[s]=t}),e}forEach(e,t=this){for(let[s,n]of this.entries())e.call(t,n,s,this)}*entries(e){for(let s of Object.keys(this.__specs))yield[s,this.get(s)];const t=e||this.__opts.other;if(t){const s=new Set;for(let n of this.__providers){const o=n.entries?n.entries(t):wK(n);for(let[a,u]of o)t(a)&&!s.has(a)&&(s.add(a),yield[a,u])}}}concat(...e){return new Proxy(new Lh(this.__specs,this.__opts,Cv(this.__providers).concat(e)),E$)}}function D$(r,e,t){let s=r.__specs[e];s||(s={});let n;for(let o of r.__providers)if(n=bK(e,o),n!==void 0)break;return n===void 0&&s.default!==void 0?typeof s.default=="function"?s.default(r):s.default:n}function bK(r,e){let t;return e.__isFiggyPudding?t=D$(e,r):t=e[r],t}const E$={get(r,e){return typeof e=="symbol"||e.slice(0,2)==="__"||e in Lh.prototype?r[e]:r.get(e)}};function b$(r,e){function t(...s){return new Proxy(new Lh(r,e,s),E$)}return t}function Cv(r){const e=[];return r.forEach(t=>e.unshift(t)),e}function wK(r){return Object.keys(r).map(e=>[e,r[e]])}const Fv=b$({},{other(){return!0}}),vK=b$({cache:{default:de.join(process.env.HOME||Qt.homedir(),".npm")},configNames:{default:["npmrc",".npmrc"]},envPrefix:{default:/^npm_config_/i},cwd:{default:()=>process.cwd()},globalconfig:{default:()=>de.join(AK(),"etc","npmrc")},userconfig:{default:de.join(process.env.HOME||Qt.homedir(),".npmrc")}});function _K(r,e){const t=vK(e),s={};Object.keys(process.env).forEach(f=>{if(!f.match(t.envPrefix))return;const p=f.toLowerCase().replace(t.envPrefix,"").replace(/(?!^)_/g,"-");s[p]=process.env[f]});const n=Fv(r),o=t.userconfig||n.userconfig||s.userconfig,a=o&&Cp(o),u=t.globalconfig||n.globalconfig||s.globalconfig,c=u&&Cp(u),l=Ml.sync(t.configNames,{cwd:t.cwd});let h={};l&&l!==o&&(h=Cp(l));const d=Fv(t,c,a,h,s,n);return d.cache?d.concat({cache:de.resolve(n.cache||s.cache?t.cwd:h.cache?de.dirname(l):a.cache?de.dirname(o):c.cache?de.dirname(u):de.dirname(o),d.cache)}):d}function Cp(r){let e;try{e=lt.readFileSync(r,"utf8")}catch(t){if(t.code==="ENOENT")return"";throw t}return xm.parse(e)}function AK(){if(process.env.PREFIX)return process.env.PREFIX;if(process.platform==="win32")return de.dirname(process.execPath);{let r=de.dirname(de.dirname(process.execPath));return process.env.DESTDIR&&(r=de.join(process.env.DESTDIR,r)),r}}function SK(r,e){return e.deprecated||!r.deprecated}function CK(r,e){return e.pre?!0:!r.version||!nu(r.version)}function w$(r,e){if(!e)return!0;const t=pt.minVersion(e)?.version;if(!t)return!0;const s=r?.engines?.node;return!s||pt.satisfies(t,s)}function FK(r,e){return e?Object.values(e).every(t=>t[r.name]===void 0||pt.satisfies(r.version,t[r.name])):!0}function Au(r){const e=[t=>SK(t,r),t=>CK(t,r),r.enginesNode?t=>w$(t,r.nodeEngineVersion):null,r.peerDependencies?t=>FK(t,r.peerDependencies):null];return t=>e.every(s=>s?s(t):!0)}const $K=new Set(["-","||","&&","<","<=",">",">="]),RK=r=>ei(r).some(t=>$K.has(t.operator||"")),v$=r=>r&&(!pt.validRange(r)||Em(r)),kh=async(r,e,t,s={},n)=>{const o="application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8, */*",a="application/json",u=Sp.pickRegistry(r,s),c={"user-agent":s.userAgent||`npm-check-updates/${wg.version} node/${process.version}`,"ncu-version":wg.version,"ncu-pkg-id":`registry:${r}`,accept:s.fullMetadata?a:o,...s.headers},l=new URL(encodeURIComponent(r),u.endsWith("/")?u:`${u}/`);n&&(l.pathname+=`/${n}`);const h={...s,headers:c,spec:r};try{if(s.fullMetadata)return Sp.json(l.href,h);{t=t||"latest";const d=Sp.json.stream(l.href,"$*",h),f={name:r};for await(const{key:p,value:g}of d)if(e.includes(p)&&(f[p]=g,Object.keys(f).length===e.length+1))break;return f}}catch(d){if(d.code!=="E404"||s.fullMetadata)throw d;return kh(r,e,t,{opts:s,fullMetadata:!0})}},v1=(r,e)=>{const t={cafile:u=>{if(!u)return;const c=lt.readFileSync(de.resolve(e||"",c$(u)),"utf8"),l="-----END CERTIFICATE-----";return{ca:c.split(l).filter(d=>!!d.trim()).map(d=>`${d.trimStart()}${l}`)}},maxsockets:"maxSockets","strict-ssl":"strictSSL"},s={all:"boolean",allowsameversion:"boolean",audit:"boolean",binlinks:"boolean",color:"boolean",commithooks:"boolean",description:"boolean",dev:"boolean",diffignoreallspace:"boolean",diffnameonly:"boolean",diffnoprefix:"boolean",difftext:"boolean",dryrun:"boolean",enginestrict:"boolean",force:"boolean",foregroundscripts:"boolean",formatpackagelock:"boolean",fund:"boolean",gittagversion:"boolean",global:"boolean",globalstyle:"boolean",ifpresent:"boolean",ignorescripts:"boolean",includestaged:"boolean",includeworkspaceroot:"boolean",installlinks:"boolean",json:"boolean",legacybundling:"boolean",legacypeerdeps:"boolean",link:"boolean",long:"boolean",offline:"boolean",omitlockfileregistryresolved:"boolean",packagelock:"boolean",packagelockonly:"boolean",parseable:"boolean",preferoffline:"boolean",preferonline:"boolean",progress:"boolean",readonly:"boolean",rebuildbundle:"boolean",save:"boolean",savebundle:"boolean",savedev:"boolean",saveexact:"boolean",saveoptional:"boolean",savepeer:"boolean",saveprod:"boolean",shrinkwrap:"boolean",signgitcommit:"boolean",signgittag:"boolean",strictpeerdeps:"boolean",strictssl:"boolean",timing:"boolean",unicode:"boolean",updatenotifier:"boolean",usage:"boolean",version:"boolean",versions:"boolean",workspacesupdate:"boolean",diffunified:"number",fetchretries:"number",fetchretryfactor:"number",fetchretrymaxtimeout:"number",fetchretrymintimeout:"number",fetchtimeout:"number",logsmax:"number",maxsockets:"number",searchlimit:"number",searchstaleness:"number",ssopollfrequency:"number",timeout:"number"},n=u=>!!u&&u!=="false"&&u!=="0",o=u=>parseInt(u)||0;return qe(r,(u,c)=>{const l=typeof c!="string"?c:s[u.replace(/-/g,"").toLowerCase()]==="boolean"?n(c):s[u.replace(/-/g,"").toLowerCase()]==="number"?o(c):c.replace(/\${([^}]+)}/,(d,f)=>process.env[f]),{[u]:h}=t;return typeof h=="string"?{[h]:l}:typeof h=="function"?{...h(l.toString())}:{[u.match(/^[a-z]/i)?hL(u):u]:l}})},vg=mo(r=>{let e;if(r)try{e=xm.parse(lt.readFileSync(r,"utf-8"))}catch(t){if(t.code==="ENOENT")return null;throw t}else e={..._K(null,{userconfig:process.env.npm_config_userconfig||process.env.NPM_CONFIG_USERCONFIG}).toJSON(),cache:!1};return v1(e,r)}),_1=vg();function _$(r,e){let t;try{t=JSON.parse(r)}catch{throw new Error(`Expected JSON from "${e.command}".${e.packageName?` There could be problems with the ${e.packageName} package.`:""} ${r?"Instead received: "+r:"Received empty response."}`)}return t}async function Nh(r,e,t,s={},n){const o=await kh(r,["versions"],null,{...n,..._1,fullMetadata:!0,...s.registry?{registry:s.registry,silent:!0}:null});if(o.versions){const a=Object.keys(o.versions),u=pt.minSatisfying(a,e),c=pt.maxSatisfying(a,t);if(u&&c&&o.versions[u]._npmUser&&o.versions[c]._npmUser){const l=o.versions[u]._npmUser?.name,h=o.versions[c]._npmUser?.name;return l!==h}}return!1}const ya=r=>!!(r&&(r.name||r.engines||r.version||r.versions)),A$=r=>(e,t,s,n)=>{const o=typeof r=="function"?r(n)?.[e]:typeof r=="string"||ya(r)?r:r[e],a=ya(o)?o.version:o;if(!a)throw new Error(`fetchUpgradedPackument is mocked, but no mock version was supplied for ${e}. Make sure that all dependencies are mocked. `);const u=ya(o)&&o.time?.[a]||new Date().toISOString(),c={name:e,"dist-tags":{[n.distTag||"latest"]:a},engines:{node:""},time:{[a]:u},version:a,versions:{},...ya(o)?o:null},{versions:l,...h}=c;return Promise.resolve({...c,versions:{...ya(o)&&o.versions||{[a]:h}}})},xK=mo(({npmConfigLocal:r,npmConfigUser:e,npmConfigWorkspaceProject:t},s)=>{const n=s.packageFile?de.join(s.packageFile,"../.npmrc"):null,o=s.packageFile?vg(n||void 0):null,a=s.cwd?de.join(s.cwd,".npmrc"):null,u=s.cwd?vg(a):null;if(t&&Object.keys(t).length>0){ge(s,`
404
+ */return new vp.URL(r.url).hostname!==o.hostname&&(r.headers.delete("authorization"),r.headers.delete("cookie")),(e.status===303||r.method==="POST"&&[301,302].includes(e.status))&&(s.method="GET",s.body=null,r.headers.delete("content-length")),s.headers={},r.headers.forEach((u,c)=>{s.headers[c]=u}),s.counter=++r.counter,{request:new uY(vp.format(o),s),options:s}},e$=async(r,e)=>{const t=lY.storable(r,e)?await av(r,e):await hY(r,e);if(!["GET","HEAD"].includes(r.method)&&t.status>=200&&t.status<=399&&await av.invalidate(r,e),!fY(r,t,e))return t;const s=dY(r,t,e);return e$(s.request,s.options)};var pY=e$;const{FetchError:gY,Headers:mY,Request:t$,Response:yY}=uu,DY=J7,EY=pY,El=(r,e)=>{const t=DY(e),s=new t$(r,t);return EY(s,t)};El.defaults=(r,e={},t=El)=>{typeof r=="object"&&(e=r,r=null);const s=(n,o={})=>{const a=n||r,u={...e,...o,headers:{...e.headers,...o.headers}};return t(a,u)};return s.defaults=(n,o={})=>El.defaults(n,o,s),s};Eo.exports=El;Eo.exports.FetchError=gY;Eo.exports.Headers=mY;Eo.exports.Request=t$;Eo.exports.Response=yY;var bY=Eo.exports,Te={},r$=Te.LEFT_BRACE=1,bl=Te.RIGHT_BRACE=2,i$=Te.LEFT_BRACKET=3,bg=Te.RIGHT_BRACKET=4,wl=Te.COLON=5,Ll=Te.COMMA=6,s$=Te.TRUE=7,n$=Te.FALSE=8,o$=Te.NULL=9,kl=Te.STRING=10,a$=Te.NUMBER=11,Qs=Te.START=17,u$=Te.STOP=18,uv=Te.TRUE1=33,cv=Te.TRUE2=34,lv=Te.TRUE3=35,hv=Te.FALSE1=49,fv=Te.FALSE2=50,dv=Te.FALSE3=51,pv=Te.FALSE4=52,gv=Te.NULL1=65,mv=Te.NULL2=66,yv=Te.NULL3=67,Dv=Te.NUMBER1=81,_p=Te.NUMBER3=83,Fr=Te.STRING1=97,Ev=Te.STRING2=98,bv=Te.STRING3=99,wY=Te.STRING4=100,vY=Te.STRING5=101,wv=Te.STRING6=102,Gn=Te.VALUE=113,Ap=Te.KEY=114,Zc=Te.OBJECT=129,Jc=Te.ARRAY=130,_Y=92,AY=47,SY=8,CY=12,FY=10,$Y=13,RY=9,D1=64*1024;function Qc(r){return Buffer.alloc?Buffer.alloc(r):new Buffer(r)}function el(r){return Buffer.from?Buffer.from(r):new Buffer(r)}function Bs(){this.tState=Qs,this.value=void 0,this.string=void 0,this.stringBuffer=Qc(D1),this.stringBufferOffset=0,this.unicode=void 0,this.highSurrogate=void 0,this.key=void 0,this.mode=void 0,this.stack=[],this.state=Gn,this.bytes_remaining=0,this.bytes_in_sequence=0,this.temp_buffs={2:Qc(2),3:Qc(3),4:Qc(4)},this.offset=-1}Bs.toknam=function(r){for(var e=Object.keys(Te),t=0,s=e.length;t<s;t++){var n=e[t];if(Te[n]===r)return n}return r&&"0x"+r.toString(16)};var Er=Bs.prototype;Er.onError=function(r){throw r};Er.charError=function(r,e){this.tState=u$,this.onError(new Error("Unexpected "+JSON.stringify(String.fromCharCode(r[e]))+" at position "+e+" in state "+Bs.toknam(this.tState)))};Er.appendStringChar=function(r){this.stringBufferOffset>=D1&&(this.string+=this.stringBuffer.toString("utf8"),this.stringBufferOffset=0),this.stringBuffer[this.stringBufferOffset++]=r};Er.appendStringBuf=function(r,e,t){var s=r.length;typeof e=="number"&&(typeof t=="number"?t<0?s=r.length-e+t:s=t-e:s=r.length-e),s<0&&(s=0),this.stringBufferOffset+s>D1&&(this.string+=this.stringBuffer.toString("utf8",0,this.stringBufferOffset),this.stringBufferOffset=0),r.copy(this.stringBuffer,this.stringBufferOffset,e,t),this.stringBufferOffset+=s};Er.write=function(r){typeof r=="string"&&(r=el(r));for(var e,t=0,s=r.length;t<s;t++)if(this.tState===Qs){if(e=r[t],this.offset++,e===123)this.onToken(r$,"{");else if(e===125)this.onToken(bl,"}");else if(e===91)this.onToken(i$,"[");else if(e===93)this.onToken(bg,"]");else if(e===58)this.onToken(wl,":");else if(e===44)this.onToken(Ll,",");else if(e===116)this.tState=uv;else if(e===102)this.tState=hv;else if(e===110)this.tState=gv;else if(e===34)this.string="",this.stringBufferOffset=0,this.tState=Fr;else if(e===45)this.string="-",this.tState=Dv;else if(e>=48&&e<64)this.string=String.fromCharCode(e),this.tState=_p;else if(!(e===32||e===9||e===10||e===13))return this.charError(r,t)}else if(this.tState===Fr)if(e=r[t],this.bytes_remaining>0){for(var n=0;n<this.bytes_remaining;n++)this.temp_buffs[this.bytes_in_sequence][this.bytes_in_sequence-this.bytes_remaining+n]=r[n];this.appendStringBuf(this.temp_buffs[this.bytes_in_sequence]),this.bytes_in_sequence=this.bytes_remaining=0,t=t+n-1}else if(this.bytes_remaining===0&&e>=128){if(e<=193||e>244)return this.onError(new Error("Invalid UTF-8 character at position "+t+" in state "+Bs.toknam(this.tState)));if(e>=194&&e<=223&&(this.bytes_in_sequence=2),e>=224&&e<=239&&(this.bytes_in_sequence=3),e>=240&&e<=244&&(this.bytes_in_sequence=4),this.bytes_in_sequence+t>r.length){for(var o=0;o<=r.length-1-t;o++)this.temp_buffs[this.bytes_in_sequence][o]=r[t+o];this.bytes_remaining=t+this.bytes_in_sequence-r.length,t=r.length-1}else this.appendStringBuf(r,t,t+this.bytes_in_sequence),t=t+this.bytes_in_sequence-1}else if(e===34)this.tState=Qs,this.string+=this.stringBuffer.toString("utf8",0,this.stringBufferOffset),this.stringBufferOffset=0,this.onToken(kl,this.string),this.offset+=Buffer.byteLength(this.string,"utf8")+1,this.string=void 0;else if(e===92)this.tState=Ev;else if(e>=32)this.appendStringChar(e);else return this.charError(r,t);else if(this.tState===Ev)if(e=r[t],e===34)this.appendStringChar(e),this.tState=Fr;else if(e===92)this.appendStringChar(_Y),this.tState=Fr;else if(e===47)this.appendStringChar(AY),this.tState=Fr;else if(e===98)this.appendStringChar(SY),this.tState=Fr;else if(e===102)this.appendStringChar(CY),this.tState=Fr;else if(e===110)this.appendStringChar(FY),this.tState=Fr;else if(e===114)this.appendStringChar($Y),this.tState=Fr;else if(e===116)this.appendStringChar(RY),this.tState=Fr;else if(e===117)this.unicode="",this.tState=bv;else return this.charError(r,t);else if(this.tState===bv||this.tState===wY||this.tState===vY||this.tState===wv)if(e=r[t],e>=48&&e<64||e>64&&e<=70||e>96&&e<=102){if(this.unicode+=String.fromCharCode(e),this.tState++===wv){var a=parseInt(this.unicode,16);this.unicode=void 0,this.highSurrogate!==void 0&&a>=56320&&a<57344?(this.appendStringBuf(el(String.fromCharCode(this.highSurrogate,a))),this.highSurrogate=void 0):this.highSurrogate===void 0&&a>=55296&&a<56320?this.highSurrogate=a:(this.highSurrogate!==void 0&&(this.appendStringBuf(el(String.fromCharCode(this.highSurrogate))),this.highSurrogate=void 0),this.appendStringBuf(el(String.fromCharCode(a)))),this.tState=Fr}}else return this.charError(r,t);else if(this.tState===Dv||this.tState===_p)switch(e=r[t],e){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 46:case 101:case 69:case 43:case 45:this.string+=String.fromCharCode(e),this.tState=_p;break;default:this.tState=Qs;var u=this.numberReviver(this.string);if(u)return u;this.offset+=this.string.length-1,this.string=void 0,t--;break}else if(this.tState===uv)if(r[t]===114)this.tState=cv;else return this.charError(r,t);else if(this.tState===cv)if(r[t]===117)this.tState=lv;else return this.charError(r,t);else if(this.tState===lv)if(r[t]===101)this.tState=Qs,this.onToken(s$,!0),this.offset+=3;else return this.charError(r,t);else if(this.tState===hv)if(r[t]===97)this.tState=fv;else return this.charError(r,t);else if(this.tState===fv)if(r[t]===108)this.tState=dv;else return this.charError(r,t);else if(this.tState===dv)if(r[t]===115)this.tState=pv;else return this.charError(r,t);else if(this.tState===pv)if(r[t]===101)this.tState=Qs,this.onToken(n$,!1),this.offset+=4;else return this.charError(r,t);else if(this.tState===gv)if(r[t]===117)this.tState=mv;else return this.charError(r,t);else if(this.tState===mv)if(r[t]===108)this.tState=yv;else return this.charError(r,t);else if(this.tState===yv)if(r[t]===108)this.tState=Qs,this.onToken(o$,null),this.offset+=3;else return this.charError(r,t)};Er.onToken=function(r,e){};Er.parseError=function(r,e){this.tState=u$,this.onError(new Error("Unexpected "+Bs.toknam(r)+(e?"("+JSON.stringify(e)+")":"")+" in state "+Bs.toknam(this.state)))};Er.push=function(){this.stack.push({value:this.value,key:this.key,mode:this.mode})};Er.pop=function(){var r=this.value,e=this.stack.pop();this.value=e.value,this.key=e.key,this.mode=e.mode,this.emit(r),this.mode||(this.state=Gn)};Er.emit=function(r){this.mode&&(this.state=Ll),this.onValue(r)};Er.onValue=function(r){};Er.onToken=function(r,e){if(this.state===Gn)if(r===kl||r===a$||r===s$||r===n$||r===o$)this.value&&(this.value[this.key]=e),this.emit(e);else if(r===r$)this.push(),this.value?this.value=this.value[this.key]={}:this.value={},this.key=void 0,this.state=Ap,this.mode=Zc;else if(r===i$)this.push(),this.value?this.value=this.value[this.key]=[]:this.value=[],this.key=0,this.mode=Jc,this.state=Gn;else if(r===bl)if(this.mode===Zc)this.pop();else return this.parseError(r,e);else if(r===bg)if(this.mode===Jc)this.pop();else return this.parseError(r,e);else return this.parseError(r,e);else if(this.state===Ap)if(r===kl)this.key=e,this.state=wl;else if(r===bl)this.pop();else return this.parseError(r,e);else if(this.state===wl)if(r===wl)this.state=Gn;else return this.parseError(r,e);else if(this.state===Ll)if(r===Ll)this.mode===Jc?(this.key++,this.state=Gn):this.mode===Zc&&(this.state=Ap);else if(r===bg&&this.mode===Jc||r===bl&&this.mode===Zc)this.pop();else return this.parseError(r,e);else return this.parseError(r,e)};Er.numberReviver=function(r){var e=Number(r);if(isNaN(e))return this.charError(buffer,i);r.match(/[0-9]+/)==r&&e.toString()!=r?this.onToken(kl,r):this.onToken(a$,e)};Bs.C=Te;var xY=Bs;const OY=xY,{Minipass:TY}=oi;class vv extends Error{constructor(e,t){super(e.message),Error.captureStackTrace(this,t||this.constructor)}get name(){return"JSONStreamError"}}const _v=(r,e)=>typeof r=="string"?String(e)===r:r&&typeof r.test=="function"?r.test(e):typeof r=="boolean"||typeof r=="object"?r:typeof r=="function"?r(e):!1;class E1 extends TY{#e=0;#i=!1;#r=null;#s=null;#c=null;#a;#h;#o=null;#n=null;constructor(e){super({...e,objectMode:!0});const t=this.#h=new OY;t.onValue=s=>this.#d(s),this.#a=t.onToken,t.onToken=(s,n)=>this.#y(s,n),t.onError=s=>this.#g(s),this.#o=typeof e.path=="string"?e.path.split(".").map(s=>s==="$*"?{emitKey:!0}:s==="*"?!0:s===""?{recurse:!0}:s):Array.isArray(e.path)&&e.path.length?e.path:null,typeof e.map=="function"&&(this.#c=e.map)}#t(e,t){this.#s!==!1&&(this.#s=this.#s||{},this.#s[e]=t),this.#r!==!1&&this.#s===!1&&(this.#r=this.#r||{},this.#r[e]=t)}#g(e){const t=this.#i?this.end:this.write;return this.#i=!1,this.emit("error",new vv(e,t))}#y(e,t){const s=this.#h;if(this.#a.call(this.#h,e,t),s.stack.length===0&&this.#n){const n=this.#n;this.#o||super.write(n),this.#n=null,this.#e=0}}#d(e){const t=this.#h;if(this.#n=e,!this.#o)return;let s=0,n=0,o=!1;for(;s<this.#o.length;){const u=this.#o[s];if(n++,u&&!u.recurse){const c=n===t.stack.length?t:t.stack[n];if(!c)return;if(!_v(u,c.key)){this.#t(c.key,e);return}o=!!u.emitKey,s++}else{if(s++,s>=this.#o.length)return;const c=this.#o[s];if(!c)return;for(;;){const l=n===t.stack.length?t:t.stack[n];if(!l)return;if(_v(c,l.key)){s++,Object.isFrozen(t.stack[n])||(t.stack[n].value=null);break}else this.#t(l.key,e);n++}}}if(this.#s){const u=this.#s;this.#s=!1,this.emit("header",u)}if(n!==t.stack.length)return;this.#e++;const a=t.stack.slice(1).map(u=>u.key).concat([t.key]);if(e!=null){const u=this.#c?this.#c(e,a):e;if(u!=null){const c=o?{value:u}:u;o&&(c.key=t.key),super.write(c)}}t.value&&delete t.value[t.key];for(const u of t.stack)u.value=null}write(e,t){if(typeof e=="string")e=Buffer.from(e,t);else if(!Buffer.isBuffer(e))return this.emit("error",new TypeError("Can only parse JSON from string or buffer input"));return this.#h.write(e),this.flowing}end(e,t){this.#i=!0,e&&this.write(e,t);const s=this.#s;this.#s=null;const n=this.#r;return this.#r=null,s&&this.emit("header",s),n&&this.emit("footer",n),super.end()}static get JSONStreamError(){return vv}static parse(e,t){return new E1({path:e,map:t})}}var BY=E1;(function(r){const{HttpErrorAuthOTP:e}=XS,t=m7,s=Y7,n=bY,o=BY,a=BC,u=Px,c=qt,l=hr,{Minipass:h}=oi,d=vC,f=w=>{try{return!!new c.URL(w)}catch{return!1}};r.exports=p;function p(w,v={}){const _={...d,...v},R=f(w);let P=_.registry||d.registry;R||(P=_.registry=_.spec&&E(_.spec,_)||_.registry||P,w=`${P.trim().replace(/\/?$/g,"")}/${w.trim().replace(/^\//,"")}`,new c.URL(w));const M=_.method||"GET",j=Date.now(),N=s(w,_),G=b(w,N,_);let ie=_.body;const ne=h.isStream(ie),x=ie&&typeof ie=="object"&&typeof ie.then=="function";if(ie&&!ne&&!x&&typeof ie!="string"&&!Buffer.isBuffer(ie)?(G["content-type"]=G["content-type"]||"application/json",ie=JSON.stringify(ie)):ie&&!G["content-type"]&&(G["content-type"]="application/octet-stream"),_.gzip)if(G["content-encoding"]="gzip",ne){const q=new l.Gzip;ie.on("error",O=>q.emit("error",O)),ie=ie.pipe(q)}else x||(ie=new l.Gzip().end(ie).concat());const S=new c.URL(w);if(_.query){const q=typeof _.query=="string"?u.parse(_.query):_.query;Object.keys(q).forEach(O=>{q[O]!==void 0&&S.searchParams.set(O,q[O])}),w=c.format(S)}S.searchParams.get("write")==="true"&&M==="GET"&&(_.offline=!1,_.preferOffline=!1,_.preferOnline=!0);const $=async q=>{const O=n(w,{agent:_.agent,algorithms:_.algorithms,body:q,cache:D(_),cachePath:_.cache,ca:_.ca,cert:N.cert||_.cert,headers:G,integrity:_.integrity,key:N.key||_.key,localAddress:_.localAddress,maxSockets:_.maxSockets,memoize:_.memoize,method:M,noProxy:_.noProxy,proxy:_.httpsProxy||_.proxy,retry:_.retry?_.retry:{retries:_.fetchRetries,factor:_.fetchRetryFactor,minTimeout:_.fetchRetryMintimeout,maxTimeout:_.fetchRetryMaxtimeout},strictSSL:_.strictSSL,timeout:_.timeout||3e4}).then(L=>t({method:M,uri:w,res:L,registry:P,startTime:j,auth:N,opts:_}));return typeof _.otpPrompt=="function"?O.catch(async L=>{if(L instanceof e){let K;try{K=await _.otpPrompt()}catch{}if(!K)throw L;return p(w,{..._,otp:K})}throw L}):O};return Promise.resolve(ie).then($)}r.exports.getAuth=s,r.exports.json=g;function g(w,v){return p(w,v).then(_=>_.json())}r.exports.json.stream=m;function m(w,v,_={}){const R={...d,..._},P=o.parse(v,R.mapJSON);return p(w,R).then(M=>M.body.on("error",j=>P.emit("error",j)).pipe(P)).catch(M=>P.emit("error",M)),P}r.exports.pickRegistry=E;function E(w,v={}){w=a(w);let _=w.scope&&v[w.scope.replace(/^@?/,"@")+":registry"];return!_&&v.scope&&(_=v[v.scope.replace(/^@?/,"@")+":registry"]),_||(_=v.registry||d.registry),_}function D(w){return w.offline?"only-if-cached":w.preferOffline?"force-cache":w.preferOnline?"no-cache":"default"}function b(w,v,_){const R=Object.assign({"user-agent":_.userAgent},_.headers||{});return _.authType&&(R["npm-auth-type"]=_.authType),_.scope&&(R["npm-scope"]=_.scope),_.npmSession&&(R["npm-session"]=_.npmSession),_.npmCommand&&(R["npm-command"]=_.npmCommand),v.token?R.authorization=`Bearer ${v.token}`:v.auth&&(R.authorization=`Basic ${v.auth}`),_.otp&&(R["npm-otp"]=_.otp),R}})(KS);var IY=KS.exports;const Sp=Qe(IY),PY=Qt,Av=PY.homedir();var LY=r=>{if(typeof r!="string")throw new TypeError(`Expected a string, got ${typeof r}`);return Av?r.replace(/^~(?=$|\/|\\)/,Av):r};const c$=Qe(LY),kY="npm-check-updates",NY="17.0.6",MY="Tomas Junnonen <tomas1@gmail.com>",jY="Apache-2.0",UY=["Raine Revere (https://github.com/raineorshine)","Imamuzzaki Abu Salam <imamuzzaki@gmail.com>"],HY="Find newer versions of dependencies than what your package.json allows",GY=["dependencies","npm","package.json","update","upgrade","versions"],WY={node:"^18.18.0 || >=20.0.0",npm:">=8.12.1"},zY="build/index.js",qY="build/index.d.ts",VY={build:"rimraf build && npm run build:options && vite build","build:options":"vite-node src/scripts/build-options.ts","build:analyze":"rimraf build && npm run build:options && ANALYZER=true vite build",lint:"cross-env FORCE_COLOR=1 npm-run-all --parallel --aggregate-output lint:*","lint:lockfile":"lockfile-lint","lint:markdown":'markdownlint "**/*.md" --ignore "**/node_modules/**/*.md" --ignore build --config .markdownlint.js',"lint:src":"eslint --cache --cache-location node_modules/.cache/.eslintcache --ignore-path .gitignore --report-unused-disable-directives .",prepare:"src/scripts/install-hooks",prepublishOnly:"npm run build",prettier:"prettier . --check",test:"npm run test:unit && npm run test:e2e","test:bun":"test/bun-install.sh && mocha test/bun","test:unit":"mocha test test/package-managers/*","test:e2e":"./test/e2e.sh",ncu:"node build/cli.js"},YY={"npm-check-updates":"build/cli.js",ncu:"build/cli.js"},KY={type:"git",url:"git+https://github.com/raineorshine/npm-check-updates.git"},XY="https://github.com/raineorshine/npm-check-updates",ZY={url:"https://github.com/raineorshine/npm-check-updates/issues"},JY={ip:"2.0.1",jsonparse:"https://github.com/ARitz-Cracker/jsonparse/tree/patch-1","@yarnpkg/parsers":"2.6.0"},QY={"@trivago/prettier-plugin-sort-imports":"^4.3.0","@types/chai":"^4.3.16","@types/chai-as-promised":"^7.1.8","@types/chai-string":"^1.4.5","@types/cli-table":"^0.3.4","@types/hosted-git-info":"^3.0.5","@types/ini":"^4.1.1","@types/js-yaml":"^4.0.9","@types/json-parse-helpfulerror":"^1.0.3","@types/jsonlines":"^0.1.5","@types/lodash":"^4.17.7","@types/mocha":"^10.0.7","@types/node":"^22.0.0","@types/npm-registry-fetch":"^8.0.7","@types/parse-github-url":"^1.0.3","@types/picomatch":"^3.0.0","@types/progress":"^2.0.7","@types/prompts":"^2.4.9","@types/remote-git-tags":"^4.0.2","@types/semver":"^7.5.8","@types/semver-utils":"^1.1.3","@types/sinon":"^17.0.3","@types/update-notifier":"^6.0.8","@typescript-eslint/eslint-plugin":"^7.18.0","@typescript-eslint/parser":"^7.18.0",camelcase:"^6.3.0",chai:"^4.3.10","chai-as-promised":"^7.1.2","chai-string":"^1.5.0",chalk:"^5.3.0","cli-table3":"^0.6.5",commander:"^12.1.0","cross-env":"^7.0.3",dequal:"^2.0.3",eslint:"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-config-raine":"^0.5.0","eslint-config-standard":"^17.1.0","eslint-plugin-import":"^2.29.1","eslint-plugin-jsdoc":"^48.10.2","eslint-plugin-n":"^16.6.2","eslint-plugin-promise":"^6.6.0","fast-glob":"^3.3.2","fast-memoize":"^2.5.2","find-up":"5.0.0","fp-and-or":"^1.0.2","hosted-git-info":"^7.0.2",ini:"^4.1.3","js-yaml":"^4.1.0","json-parse-helpfulerror":"^1.0.3",jsonlines:"^0.1.1","lockfile-lint":"^4.14.0",lodash:"^4.17.21","markdownlint-cli":"^0.41.0",mocha:"^10.7.0","npm-registry-fetch":"^17.1.0","npm-run-all":"^4.1.5","p-map":"^4.0.0","parse-github-url":"^1.0.3",picomatch:"^4.0.2",prettier:"^3.3.3",progress:"^2.0.3","prompts-ncu":"^3.0.0","rc-config-loader":"^4.1.3","remote-git-tags":"^3.0.0",rfdc:"^1.4.1",rimraf:"^6.0.1","rollup-plugin-node-externals":"^7.1.2",semver:"^7.6.3","semver-utils":"^1.1.4",should:"^13.2.3",sinon:"^18.0.0","source-map-support":"^0.5.21","spawn-please":"^3.0.0","strip-ansi":"^7.1.0","strip-json-comments":"^5.0.1","ts-node":"^10.9.2",typescript:"^5.5.4","typescript-json-schema":"^0.64.0",untildify:"^4.0.0","update-notifier":"^7.2.0",verdaccio:"^5.32.0",vite:"^5.3.5","vite-bundle-analyzer":"^0.10.3","vite-node":"^2.0.5","vite-plugin-dts":"^3.9.1",yarn:"^1.22.22"},eK=["build","!**/test/**"],tK={"check-leaks":!0,extension:["test.ts"],require:["source-map-support/register","ts-node/register"],timeout:6e4,"trace-deprecation":!0,"trace-warnings":!0,use_strict:!0},wg={name:kY,version:NY,author:MY,license:jY,contributors:UY,description:HY,keywords:GY,engines:WY,main:zY,types:qY,scripts:VY,bin:YY,repository:KY,homepage:XY,bugs:ZY,overrides:JY,devDependencies:QY,files:eK,"lockfile-lint":{"allowed-schemes":["https:","git+ssh:"],"allowed-hosts":["npm","github.com"],"empty-hostname":!1,type:"npm ",path:"package-lock.json"},mocha:tK};var l$={exports:{}},b1={exports:{}};class rK{constructor(e){this.value=e,this.next=void 0}}let iK=class{constructor(){this.clear()}enqueue(e){const t=new rK(e);this._head?(this._tail.next=t,this._tail=t):(this._head=t,this._tail=t),this._size++}dequeue(){const e=this._head;if(e)return this._head=this._head.next,this._size--,e.value}clear(){this._head=void 0,this._tail=void 0,this._size=0}get size(){return this._size}*[Symbol.iterator](){let e=this._head;for(;e;)yield e.value,e=e.next}};var sK=iK;const nK=sK,oK=r=>{if(!((Number.isInteger(r)||r===1/0)&&r>0))throw new TypeError("Expected `concurrency` to be a number from 1 and up");const e=new nK;let t=0;const s=()=>{t--,e.size>0&&e.dequeue()()},n=async(u,c,...l)=>{t++;const h=(async()=>u(...l))();c(h);try{await h}catch{}s()},o=(u,c,...l)=>{e.enqueue(n.bind(null,u,c,...l)),(async()=>(await Promise.resolve(),t<r&&e.size>0&&e.dequeue()()))()},a=(u,...c)=>new Promise(l=>{o(u,l,...c)});return Object.defineProperties(a,{activeCount:{get:()=>t},pendingCount:{get:()=>e.size},clearQueue:{value:()=>{e.clear()}}}),a};var aK=oK;const Sv=aK;class h$ extends Error{constructor(e){super(),this.value=e}}const uK=async(r,e)=>e(await r),cK=async r=>{const e=await Promise.all(r);if(e[1]===!0)throw new h$(e[0]);return!1},lK=async(r,e,t)=>{t={concurrency:1/0,preserveOrder:!0,...t};const s=Sv(t.concurrency),n=[...r].map(a=>[a,s(uK,a,e)]),o=Sv(t.preserveOrder?1:1/0);try{await Promise.all(n.map(a=>o(cK,a)))}catch(a){if(a instanceof h$)return a.value;throw a}};var hK=lK;const f$=de,Nl=lt,{promisify:d$}=rs,fK=hK,dK=d$(Nl.stat),pK=d$(Nl.lstat),p$={directory:"isDirectory",file:"isFile"};function g$({type:r}){if(!(r in p$))throw new Error(`Invalid type specified: ${r}`)}const m$=(r,e)=>r===void 0||e[p$[r]]();b1.exports=async(r,e)=>{e={cwd:process.cwd(),type:"file",allowSymlinks:!0,...e},g$(e);const t=e.allowSymlinks?dK:pK;return fK(r,async s=>{try{const n=await t(f$.resolve(e.cwd,s));return m$(e.type,n)}catch{return!1}},e)};b1.exports.sync=(r,e)=>{e={cwd:process.cwd(),allowSymlinks:!0,type:"file",...e},g$(e);const t=e.allowSymlinks?Nl.statSync:Nl.lstatSync;for(const s of r)try{const n=t(f$.resolve(e.cwd,s));if(m$(e.type,n))return s}catch{}};var gK=b1.exports,w1={exports:{}};const y$=lt,{promisify:mK}=rs,yK=mK(y$.access);w1.exports=async r=>{try{return await yK(r),!0}catch{return!1}};w1.exports.sync=r=>{try{return y$.accessSync(r),!0}catch{return!1}};var DK=w1.exports;(function(r){const e=de,t=gK,s=DK,n=Symbol("findUp.stop");r.exports=async(o,a={})=>{let u=e.resolve(a.cwd||"");const{root:c}=e.parse(u),l=[].concat(o),h=async d=>{if(typeof o!="function")return t(l,d);const f=await o(d.cwd);return typeof f=="string"?t([f],d):f};for(;;){const d=await h({...a,cwd:u});if(d===n)return;if(d)return e.resolve(u,d);if(u===c)return;u=e.dirname(u)}},r.exports.sync=(o,a={})=>{let u=e.resolve(a.cwd||"");const{root:c}=e.parse(u),l=[].concat(o),h=d=>{if(typeof o!="function")return t.sync(l,d);const f=o(d.cwd);return typeof f=="string"?t.sync([f],d):f};for(;;){const d=h({...a,cwd:u});if(d===n)return;if(d)return e.resolve(u,d);if(u===c)return;u=e.dirname(u)}},r.exports.exists=s,r.exports.sync.exists=s.sync,r.exports.stop=n})(l$);var EK=l$.exports;const Ml=Qe(EK);class Lh{constructor(e,t,s){this.__specs=e||{},this.__opts=t||{},this.__providers=Cv(s.filter(n=>n!=null&&typeof n=="object")),this.__isFiggyPudding=!0}get(e){return D$(this,e)}toJSON(){const e={};return this.forEach((t,s)=>{e[s]=t}),e}forEach(e,t=this){for(let[s,n]of this.entries())e.call(t,n,s,this)}*entries(e){for(let s of Object.keys(this.__specs))yield[s,this.get(s)];const t=e||this.__opts.other;if(t){const s=new Set;for(let n of this.__providers){const o=n.entries?n.entries(t):wK(n);for(let[a,u]of o)t(a)&&!s.has(a)&&(s.add(a),yield[a,u])}}}concat(...e){return new Proxy(new Lh(this.__specs,this.__opts,Cv(this.__providers).concat(e)),E$)}}function D$(r,e,t){let s=r.__specs[e];s||(s={});let n;for(let o of r.__providers)if(n=bK(e,o),n!==void 0)break;return n===void 0&&s.default!==void 0?typeof s.default=="function"?s.default(r):s.default:n}function bK(r,e){let t;return e.__isFiggyPudding?t=D$(e,r):t=e[r],t}const E$={get(r,e){return typeof e=="symbol"||e.slice(0,2)==="__"||e in Lh.prototype?r[e]:r.get(e)}};function b$(r,e){function t(...s){return new Proxy(new Lh(r,e,s),E$)}return t}function Cv(r){const e=[];return r.forEach(t=>e.unshift(t)),e}function wK(r){return Object.keys(r).map(e=>[e,r[e]])}const Fv=b$({},{other(){return!0}}),vK=b$({cache:{default:de.join(process.env.HOME||Qt.homedir(),".npm")},configNames:{default:["npmrc",".npmrc"]},envPrefix:{default:/^npm_config_/i},cwd:{default:()=>process.cwd()},globalconfig:{default:()=>de.join(AK(),"etc","npmrc")},userconfig:{default:de.join(process.env.HOME||Qt.homedir(),".npmrc")}});function _K(r,e){const t=vK(e),s={};Object.keys(process.env).forEach(f=>{if(!f.match(t.envPrefix))return;const p=f.toLowerCase().replace(t.envPrefix,"").replace(/(?!^)_/g,"-");s[p]=process.env[f]});const n=Fv(r),o=t.userconfig||n.userconfig||s.userconfig,a=o&&Cp(o),u=t.globalconfig||n.globalconfig||s.globalconfig,c=u&&Cp(u),l=Ml.sync(t.configNames,{cwd:t.cwd});let h={};l&&l!==o&&(h=Cp(l));const d=Fv(t,c,a,h,s,n);return d.cache?d.concat({cache:de.resolve(n.cache||s.cache?t.cwd:h.cache?de.dirname(l):a.cache?de.dirname(o):c.cache?de.dirname(u):de.dirname(o),d.cache)}):d}function Cp(r){let e;try{e=lt.readFileSync(r,"utf8")}catch(t){if(t.code==="ENOENT")return"";throw t}return xm.parse(e)}function AK(){if(process.env.PREFIX)return process.env.PREFIX;if(process.platform==="win32")return de.dirname(process.execPath);{let r=de.dirname(de.dirname(process.execPath));return process.env.DESTDIR&&(r=de.join(process.env.DESTDIR,r)),r}}function SK(r,e){return e.deprecated||!r.deprecated}function CK(r,e){return e.pre?!0:!r.version||!nu(r.version)}function w$(r,e){if(!e)return!0;const t=pt.minVersion(e)?.version;if(!t)return!0;const s=r?.engines?.node;return!s||pt.satisfies(t,s)}function FK(r,e){return e?Object.values(e).every(t=>t[r.name]===void 0||pt.satisfies(r.version,t[r.name])):!0}function Au(r){const e=[t=>SK(t,r),t=>CK(t,r),r.enginesNode?t=>w$(t,r.nodeEngineVersion):null,r.peerDependencies?t=>FK(t,r.peerDependencies):null];return t=>e.every(s=>s?s(t):!0)}const $K=new Set(["-","||","&&","<","<=",">",">="]),RK=r=>ei(r).some(t=>$K.has(t.operator||"")),v$=r=>r&&(!pt.validRange(r)||Em(r)),kh=async(r,e,t,s={},n)=>{const o="application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8, */*",a="application/json",u=Sp.pickRegistry(r,s),c={"user-agent":s.userAgent||`npm-check-updates/${wg.version} node/${process.version}`,"ncu-version":wg.version,"ncu-pkg-id":`registry:${r}`,accept:s.fullMetadata?a:o,...s.headers},l=new URL(encodeURIComponent(r),u.endsWith("/")?u:`${u}/`);n&&(l.pathname+=`/${n}`);const h={...s,headers:c,spec:r};try{if(s.fullMetadata)return Sp.json(l.href,h);{t=t||"latest";const d=Sp.json.stream(l.href,"$*",h),f={name:r};for await(const{key:p,value:g}of d)if(e.includes(p)&&(f[p]=g,Object.keys(f).length===e.length+1))break;return f}}catch(d){if(d.code!=="E404"||s.fullMetadata)throw d;return kh(r,e,t,{...s,fullMetadata:!0},n)}},v1=(r,e)=>{const t={cafile:u=>{if(!u)return;const c=lt.readFileSync(de.resolve(e||"",c$(u)),"utf8"),l="-----END CERTIFICATE-----";return{ca:c.split(l).filter(d=>!!d.trim()).map(d=>`${d.trimStart()}${l}`)}},maxsockets:"maxSockets","strict-ssl":"strictSSL"},s={all:"boolean",allowsameversion:"boolean",audit:"boolean",binlinks:"boolean",color:"boolean",commithooks:"boolean",description:"boolean",dev:"boolean",diffignoreallspace:"boolean",diffnameonly:"boolean",diffnoprefix:"boolean",difftext:"boolean",dryrun:"boolean",enginestrict:"boolean",force:"boolean",foregroundscripts:"boolean",formatpackagelock:"boolean",fund:"boolean",gittagversion:"boolean",global:"boolean",globalstyle:"boolean",ifpresent:"boolean",ignorescripts:"boolean",includestaged:"boolean",includeworkspaceroot:"boolean",installlinks:"boolean",json:"boolean",legacybundling:"boolean",legacypeerdeps:"boolean",link:"boolean",long:"boolean",offline:"boolean",omitlockfileregistryresolved:"boolean",packagelock:"boolean",packagelockonly:"boolean",parseable:"boolean",preferoffline:"boolean",preferonline:"boolean",progress:"boolean",readonly:"boolean",rebuildbundle:"boolean",save:"boolean",savebundle:"boolean",savedev:"boolean",saveexact:"boolean",saveoptional:"boolean",savepeer:"boolean",saveprod:"boolean",shrinkwrap:"boolean",signgitcommit:"boolean",signgittag:"boolean",strictpeerdeps:"boolean",strictssl:"boolean",timing:"boolean",unicode:"boolean",updatenotifier:"boolean",usage:"boolean",version:"boolean",versions:"boolean",workspacesupdate:"boolean",diffunified:"number",fetchretries:"number",fetchretryfactor:"number",fetchretrymaxtimeout:"number",fetchretrymintimeout:"number",fetchtimeout:"number",logsmax:"number",maxsockets:"number",searchlimit:"number",searchstaleness:"number",ssopollfrequency:"number",timeout:"number"},n=u=>!!u&&u!=="false"&&u!=="0",o=u=>parseInt(u)||0;return He(r,(u,c)=>{const l=typeof c!="string"?c:s[u.replace(/-/g,"").toLowerCase()]==="boolean"?n(c):s[u.replace(/-/g,"").toLowerCase()]==="number"?o(c):c.replace(/\${([^}]+)}/,(d,f)=>process.env[f]),{[u]:h}=t;return typeof h=="string"?{[h]:l}:typeof h=="function"?{...h(l.toString())}:{[u.match(/^[a-z]/i)?hL(u):u]:l}})},vg=mo(r=>{let e;if(r)try{e=xm.parse(lt.readFileSync(r,"utf-8"))}catch(t){if(t.code==="ENOENT")return null;throw t}else e={..._K(null,{userconfig:process.env.npm_config_userconfig||process.env.NPM_CONFIG_USERCONFIG}).toJSON(),cache:!1};return v1(e,r)}),_1=vg();function _$(r,e){let t;try{t=JSON.parse(r)}catch{throw new Error(`Expected JSON from "${e.command}".${e.packageName?` There could be problems with the ${e.packageName} package.`:""} ${r?"Instead received: "+r:"Received empty response."}`)}return t}async function Nh(r,e,t,s={},n){const o=await kh(r,["versions"],null,{...n,..._1,fullMetadata:!0,...s.registry?{registry:s.registry,silent:!0}:null});if(o.versions){const a=Object.keys(o.versions),u=pt.minSatisfying(a,e),c=pt.maxSatisfying(a,t);if(u&&c&&o.versions[u]._npmUser&&o.versions[c]._npmUser){const l=o.versions[u]._npmUser?.name,h=o.versions[c]._npmUser?.name;return l!==h}}return!1}const ya=r=>!!(r&&(r.name||r.engines||r.version||r.versions)),A$=r=>(e,t,s,n)=>{const o=typeof r=="function"?r(n)?.[e]:typeof r=="string"||ya(r)?r:r[e],a=ya(o)?o.version:o;if(!a)throw new Error(`fetchUpgradedPackument is mocked, but no mock version was supplied for ${e}. Make sure that all dependencies are mocked. `);const u=ya(o)&&o.time?.[a]||new Date().toISOString(),c={name:e,"dist-tags":{[n.distTag||"latest"]:a},engines:{node:""},time:{[a]:u},version:a,versions:{},...ya(o)?o:null},{versions:l,...h}=c;return Promise.resolve({...c,versions:{...ya(o)&&o.versions||{[a]:h}}})},xK=mo(({npmConfigLocal:r,npmConfigUser:e,npmConfigWorkspaceProject:t},s)=>{const n=s.packageFile?de.join(s.packageFile,"../.npmrc"):null,o=s.packageFile?vg(n||void 0):null,a=s.cwd?de.join(s.cwd,".npmrc"):null,u=s.cwd?vg(a):null;if(t&&Object.keys(t).length>0){ge(s,`
405
405
  npm config (workspace project):`,"verbose");const{cache:h,...d}=t;bs(s,d,"verbose")}if(e&&Object.keys(e).length>0){ge(s,`
406
406
  npm config (user):`,"verbose");const{cache:h,...d}=e;bs(s,d,"verbose")}if(r&&Object.keys(r).length>0){ge(s,`
407
407
  npm config (local override):`,"verbose");const{cache:h,...d}=r;bs(s,d,"verbose")}if(o&&Object.keys(o).length>0){ge(s,`
408
408
  npm config (project: ${n}):`,"verbose");const{cache:h,...d}=o;bs(s,d,"verbose")}if(u&&Object.keys(u).length>0){ge(s,`
409
409
  npm config (cwd: ${a}):`,"verbose");const{cache:h,...d}=u;bs(s,d,"verbose")}const c={...t,...e,...r,...o,...u,...s.registry?{registry:s.registry,silent:!0}:null,...s.timeout?{timeout:s.timeout}:null};if(t||r||o||u){ge(s,`
410
- merged npm config:`,"verbose");const{cache:h,...d}=c;bs(s,d,"verbose")}return c});async function S$(r,e,t,s,n=0,o,a){if(process.env.STUB_VERSIONS){const d=JSON.parse(process.env.STUB_VERSIONS);return A$(d)(r,e,t,s)}if(v$(t))return Promise.resolve({});const u=s.format?.includes("time")&&!e.includes("time")?[...e,"time"]:e,c=u.includes("time"),l=xK({npmConfigUser:{..._1,fullMetadata:c},npmConfigLocal:o,npmConfigWorkspaceProject:a},s);let h;try{const d=s.distTag||"latest";h=await kh(r,Array.from(new Set(["dist-tags",...e,...s.deprecated?[]:["deprecated","versions"],...s.enginesNode?["engines","versions"]:[]])),c?null:d,l)}catch(d){if(s.retry&&++n<=s.retry)return S$(r,u,t,s,n,o);throw d}return h}const gn=mo(S$,{serializer:([r,e,t,s,n,o,a])=>{const{packageFile:u,...c}=s;return JSON.stringify([r,e,v$(t),c,n,o,a])}});async function Mh(r,e={},t={},s={}){const n=process.platform==="win32"?"npm.cmd":"npm",o=[...e.global?["--global"]:[],...e.prefix?[`--prefix=${e.prefix}`]:[],"--json",...Array.isArray(r)?r:[r]],{stdout:a}=await Ir(n,o,t,s);return a}async function C$(r){if(r.prefix)return Promise.resolve(r.prefix);const e=process.platform==="win32"?"npm.cmd":"npm";let t;try{const{stdout:s}=await Ir(e,["config","get","prefix"]);t=s}catch(s){const n=(s.message||s||"").toString();ge(r,"Error executing `npm config get prefix`. Caught and ignored. Unsolved: https://github.com/raineorshine/npm-check-updates/issues/703. ERROR: "+n,"verbose","error")}return r.global&&t?.match("Cellar")?"/usr/local":process.platform==="win32"&&r.global&&!process.env.prefix?t?t.trim():`${process.env.AppData}\\npm`:void 0}const Su=async(r,e,t={},s,n)=>{const o=(await gn(r,["versions"],e,t,0,s,n))?.versions;return{version:Object.values(o||{}).filter(Au(t)).map(a=>a.version).sort(wm).at(-1)||null}},jh=async(r,e)=>{const t=["view",`${r}@${e}`,"peerDependencies"],s=await Mh(t,{},{rejectOnError:!1});return s?_$(s,{command:[...t,"--json"].join(" ")}):{}},Uh=async(r,e,t={},s)=>(await kh(r,["engines"],null,{...s,..._1,...t.registry?{registry:t.registry,silent:!0}:null},e)).engines||{},F$=async(r={})=>{const e=await Mh(["ls","--depth=0"],{...r.global?{global:!0}:null,...r.prefix?{prefix:r.prefix}:null},{rejectOnError:!1},{...r.cwd?{cwd:r.cwd}:null}),t=_$(e,{command:`npm${process.platform==="win32"?".cmd":""} ls --json${r.global?" --global":""}`}).dependencies;return qe(t,(s,n)=>({[s]:n.version||n.required?.version}))},Hh=async(r,e,t={},s,n)=>{const o=await gn(r,["dist-tags"],e,t,0,s,n),a=o?.["dist-tags"]?.[t.distTag||"latest"],u=o?.versions?o.versions?.[a]:{name:r,version:a};return u&&Au(t)(u)?{version:u.version,...o?.time?.[a]?{time:o.time[a]}:null}:t.distTag&&t.distTag!=="latest"?{}:Su(r,e,t,s,n)},Gh=async(r,e,t={},s,n)=>Hh(r,e,{...t,distTag:"latest"},s,n),Wh=async(r,e,t={},s,n)=>{const o=await gn(r,["time","versions"],e,t,0,s,n),a=qe(o?.versions||{},(l,h)=>w$(h,t.nodeEngineVersion)?{[h.version]:!0}:null),u=un(o?.time||{},l=>a[l]&&(t.pre!==!1||!nu(l)));return{version:mh(Object.entries(u),l=>l[1]).map(([l])=>l).at(-1)}},zh=async(r,e,t={},s,n)=>{const o=(await gn(r,["versions"],e,t,0,s,n))?.versions;return{version:vm(Object.values(o||{}).filter(Au(t)).map(u=>u.version),e,"minor")}},qh=async(r,e,t={},s,n)=>{const o=(await gn(r,["versions"],e,t,0,s,n))?.versions;return{version:vm(Object.values(o||{}).filter(Au(t)).map(u=>u.version),e,"patch")}},Vh=async(r,e,t={},s,n)=>{const o=(await gn(r,["versions"],e,t,0,s,n))?.versions;if(RK(e))return{version:null};const a=Object.values(o||{}).filter(Au(t)).map(c=>c.version);return{version:pt.maxSatisfying(a,e)}},OK=Object.freeze(Object.defineProperty({__proto__:null,default:Mh,defaultPrefix:C$,distTag:Hh,fetchUpgradedPackumentMemo:gn,getEngines:Uh,getPeerDependencies:jh,greatest:Su,latest:Gh,list:F$,minor:zh,mockFetchUpgradedPackument:A$,newest:Wh,normalizeNpmConfig:v1,packageAuthorChanged:Nh,patch:qh,semver:Vh},Symbol.toStringTag,{value:"Module"}));async function A1(r,e={},t={},s={}){const n=[...e.global?["--global"]:[],...e.prefix?[`--prefix=${e.prefix}`]:[],...Array.isArray(r)?r:[r]];return Ir("bun",n,t,s)}const TK=async r=>r.global?r.prefix||process.env.BUN_INSTALL||de.dirname((await Ir("bun",["pm","-g","bin"])).stdout):void 0,BK=async(r={})=>{const{default:e}=await Promise.resolve().then(()=>require("./index-BnIU43YD.js")),{stdout:t}=await A1(["pm","ls"],{...r.global?{global:!0}:null,...r.prefix?{prefix:r.prefix}:null},{rejectOnError:!1},{env:{...process.env,NO_COLOR:"1"},...r.cwd?{cwd:r.cwd}:null}),s=e(t).split(`
411
- `);return qe(s,o=>{const a=o.match(/.* (.*?)@(.+)/);if(a){const[,u,c]=a;return{[u]:c}}return null})},IK=Su,PK=Gh,LK=zh,kK=Wh,NK=qh,MK=Vh,jK=Object.freeze(Object.defineProperty({__proto__:null,default:A1,defaultPrefix:TK,getEngines:Uh,getPeerDependencies:jh,greatest:IK,latest:PK,list:BK,minor:LK,newest:kK,packageAuthorChanged:Nh,patch:NK,semver:MK},Symbol.toStringTag,{value:"Module"})),UK=mo(async r=>{const e=await Ml("pnpm-workspace.yaml");if(!e)return{};const t=de.dirname(e),s=de.join(t,".npmrc");let n;try{n=await Pe.readFile(s,"utf-8")}catch{return{}}ge(r,`
412
- Using pnpm workspace config at ${s}:`,"verbose");const o=v1(xm.parse(n),t);return ge(r,o,"verbose"),o}),HK=async(r={})=>{if(!r.global)return F$(r);const e=process.platform==="win32"?"pnpm.cmd":"pnpm",{stdout:t}=await Ir(e,["ls","-g","--json"]),s=JSON.parse(t);return qe(s[0].dependencies||{},(o,{version:a})=>({[o]:a}))},mn=r=>async(e,t,s={})=>r(e,t,s,{},await UK(s)),GK=mn(Hh),WK=mn(Su),zK=mn(Gh),qK=mn(zh),VK=mn(Wh),YK=mn(qh),KK=mn(Vh);async function $$(r,e={},t,s){const n=process.platform==="win32"?"pnpm.cmd":"pnpm",o=[...e.global?"global":[],...Array.isArray(r)?r:[r],...e.prefix?`--prefix=${e.prefix}`:[]],{stdout:a}=await Ir(n,o,s,t);return a}const XK=Object.freeze(Object.defineProperty({__proto__:null,default:$$,defaultPrefix:C$,distTag:GK,getEngines:Uh,getPeerDependencies:jh,greatest:WK,latest:zK,list:HK,minor:qK,newest:VK,packageAuthorChanged:Nh,patch:YK,semver:KK},Symbol.toStringTag,{value:"Module"}));var Gt={},tl={},gs={},$v;function Cu(){if($v)return gs;$v=1;function r(a){return typeof a>"u"||a===null}function e(a){return typeof a=="object"&&a!==null}function t(a){return Array.isArray(a)?a:r(a)?[]:[a]}function s(a,u){var c,l,h,d;if(u)for(d=Object.keys(u),c=0,l=d.length;c<l;c+=1)h=d[c],a[h]=u[h];return a}function n(a,u){var c="",l;for(l=0;l<u;l+=1)c+=a;return c}function o(a){return a===0&&Number.NEGATIVE_INFINITY===1/a}return gs.isNothing=r,gs.isObject=e,gs.toArray=t,gs.repeat=n,gs.isNegativeZero=o,gs.extend=s,gs}var Fp,Rv;function Fu(){if(Rv)return Fp;Rv=1;function r(t,s){var n="",o=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(n+='in "'+t.mark.name+'" '),n+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!s&&t.mark.snippet&&(n+=`
410
+ merged npm config:`,"verbose");const{cache:h,...d}=c;bs(s,d,"verbose")}return c});async function S$(r,e,t,s,n=0,o,a){if(process.env.STUB_VERSIONS){const d=JSON.parse(process.env.STUB_VERSIONS);return A$(d)(r,e,t,s)}if(v$(t))return Promise.resolve({});const u=s.format?.includes("time")&&!e.includes("time")?[...e,"time"]:e,c=u.includes("time"),l=xK({npmConfigUser:{..._1,fullMetadata:c},npmConfigLocal:o,npmConfigWorkspaceProject:a},s);let h;try{const d=s.distTag||"latest";h=await kh(r,Array.from(new Set(["dist-tags",...e,...s.deprecated?[]:["deprecated","versions"],...s.enginesNode?["engines","versions"]:[]])),c?null:d,l)}catch(d){if(s.retry&&++n<=s.retry)return S$(r,u,t,s,n,o);throw d}return h}const gn=mo(S$,{serializer:([r,e,t,s,n,o,a])=>{const{packageFile:u,...c}=s;return JSON.stringify([r,e,v$(t),c,n,o,a])}});async function Mh(r,e={},t={},s={}){const n=process.platform==="win32"?"npm.cmd":"npm",o=[...e.global?["--global"]:[],...e.prefix?[`--prefix=${e.prefix}`]:[],"--json",...Array.isArray(r)?r:[r]],{stdout:a}=await Ir(n,o,t,s);return a}async function C$(r){if(r.prefix)return Promise.resolve(r.prefix);const e=process.platform==="win32"?"npm.cmd":"npm";let t;try{const{stdout:s}=await Ir(e,["config","get","prefix"]);t=s}catch(s){const n=(s.message||s||"").toString();ge(r,"Error executing `npm config get prefix`. Caught and ignored. Unsolved: https://github.com/raineorshine/npm-check-updates/issues/703. ERROR: "+n,"verbose","error")}return r.global&&t?.match("Cellar")?"/usr/local":process.platform==="win32"&&r.global&&!process.env.prefix?t?t.trim():`${process.env.AppData}\\npm`:void 0}const Su=async(r,e,t={},s,n)=>{const o=(await gn(r,["versions"],e,t,0,s,n))?.versions;return{version:Object.values(o||{}).filter(Au(t)).map(a=>a.version).sort(wm).at(-1)||null}},jh=async(r,e)=>{const t=["view",`${r}@${e}`,"peerDependencies"],s=await Mh(t,{},{rejectOnError:!1});return s?_$(s,{command:[...t,"--json"].join(" ")}):{}},Uh=async(r,e,t={},s)=>(await kh(r,["engines"],null,{...s,..._1,...t.registry?{registry:t.registry,silent:!0}:null},e)).engines||{},F$=async(r={})=>{const e=await Mh(["ls","--depth=0"],{...r.global?{global:!0}:null,...r.prefix?{prefix:r.prefix}:null},{rejectOnError:!1},{...r.cwd?{cwd:r.cwd}:null}),t=_$(e,{command:`npm${process.platform==="win32"?".cmd":""} ls --json${r.global?" --global":""}`}).dependencies;return He(t,(s,n)=>({[s]:n.version||n.required?.version}))},Hh=async(r,e,t={},s,n)=>{const o=await gn(r,["dist-tags"],e,t,0,s,n),a=o?.["dist-tags"]?.[t.distTag||"latest"],u=o?.versions?o.versions?.[a]:{name:r,version:a};return u&&Au(t)(u)?{version:u.version,...o?.time?.[a]?{time:o.time[a]}:null}:t.distTag&&t.distTag!=="latest"?{}:Su(r,e,t,s,n)},Gh=async(r,e,t={},s,n)=>Hh(r,e,{...t,distTag:"latest"},s,n),Wh=async(r,e,t={},s,n)=>{const o=await gn(r,["time","versions"],e,t,0,s,n),a=He(o?.versions||{},(l,h)=>w$(h,t.nodeEngineVersion)?{[h.version]:!0}:null),u=un(o?.time||{},l=>a[l]&&(t.pre!==!1||!nu(l)));return{version:mh(Object.entries(u),l=>l[1]).map(([l])=>l).at(-1)}},zh=async(r,e,t={},s,n)=>{const o=(await gn(r,["versions"],e,t,0,s,n))?.versions;return{version:vm(Object.values(o||{}).filter(Au(t)).map(u=>u.version),e,"minor")}},qh=async(r,e,t={},s,n)=>{const o=(await gn(r,["versions"],e,t,0,s,n))?.versions;return{version:vm(Object.values(o||{}).filter(Au(t)).map(u=>u.version),e,"patch")}},Vh=async(r,e,t={},s,n)=>{const o=(await gn(r,["versions"],e,t,0,s,n))?.versions;if(RK(e))return{version:null};const a=Object.values(o||{}).filter(Au(t)).map(c=>c.version);return{version:pt.maxSatisfying(a,e)}},OK=Object.freeze(Object.defineProperty({__proto__:null,default:Mh,defaultPrefix:C$,distTag:Hh,fetchUpgradedPackumentMemo:gn,getEngines:Uh,getPeerDependencies:jh,greatest:Su,latest:Gh,list:F$,minor:zh,mockFetchUpgradedPackument:A$,newest:Wh,normalizeNpmConfig:v1,packageAuthorChanged:Nh,patch:qh,semver:Vh},Symbol.toStringTag,{value:"Module"}));async function A1(r,e={},t={},s={}){const n=[...e.global?["--global"]:[],...e.prefix?[`--prefix=${e.prefix}`]:[],...Array.isArray(r)?r:[r]];return Ir("bun",n,t,s)}const TK=async r=>r.global?r.prefix||process.env.BUN_INSTALL||de.dirname((await Ir("bun",["pm","-g","bin"])).stdout):void 0,BK=async(r={})=>{const{default:e}=await Promise.resolve().then(()=>require("./index-BnIU43YD.js")),{stdout:t}=await A1(["pm","ls"],{...r.global?{global:!0}:null,...r.prefix?{prefix:r.prefix}:null},{rejectOnError:!1},{env:{...process.env,NO_COLOR:"1"},...r.cwd?{cwd:r.cwd}:null}),s=e(t).split(`
411
+ `);return He(s,o=>{const a=o.match(/.* (.*?)@(.+)/);if(a){const[,u,c]=a;return{[u]:c}}return null})},IK=Su,PK=Gh,LK=zh,kK=Wh,NK=qh,MK=Vh,jK=Object.freeze(Object.defineProperty({__proto__:null,default:A1,defaultPrefix:TK,getEngines:Uh,getPeerDependencies:jh,greatest:IK,latest:PK,list:BK,minor:LK,newest:kK,packageAuthorChanged:Nh,patch:NK,semver:MK},Symbol.toStringTag,{value:"Module"})),UK=mo(async r=>{const e=await Ml("pnpm-workspace.yaml");if(!e)return{};const t=de.dirname(e),s=de.join(t,".npmrc");let n;try{n=await Pe.readFile(s,"utf-8")}catch{return{}}ge(r,`
412
+ Using pnpm workspace config at ${s}:`,"verbose");const o=v1(xm.parse(n),t);return ge(r,o,"verbose"),o}),HK=async(r={})=>{if(!r.global)return F$(r);const e=process.platform==="win32"?"pnpm.cmd":"pnpm",{stdout:t}=await Ir(e,["ls","-g","--json"]),s=JSON.parse(t);return He(s[0].dependencies||{},(o,{version:a})=>({[o]:a}))},mn=r=>async(e,t,s={})=>r(e,t,s,{},await UK(s)),GK=mn(Hh),WK=mn(Su),zK=mn(Gh),qK=mn(zh),VK=mn(Wh),YK=mn(qh),KK=mn(Vh);async function $$(r,e={},t,s){const n=process.platform==="win32"?"pnpm.cmd":"pnpm",o=[...e.global?"global":[],...Array.isArray(r)?r:[r],...e.prefix?`--prefix=${e.prefix}`:[]],{stdout:a}=await Ir(n,o,s,t);return a}const XK=Object.freeze(Object.defineProperty({__proto__:null,default:$$,defaultPrefix:C$,distTag:GK,getEngines:Uh,getPeerDependencies:jh,greatest:WK,latest:zK,list:HK,minor:qK,newest:VK,packageAuthorChanged:Nh,patch:YK,semver:KK},Symbol.toStringTag,{value:"Module"}));var Gt={},tl={},gs={},$v;function Cu(){if($v)return gs;$v=1;function r(a){return typeof a>"u"||a===null}function e(a){return typeof a=="object"&&a!==null}function t(a){return Array.isArray(a)?a:r(a)?[]:[a]}function s(a,u){var c,l,h,d;if(u)for(d=Object.keys(u),c=0,l=d.length;c<l;c+=1)h=d[c],a[h]=u[h];return a}function n(a,u){var c="",l;for(l=0;l<u;l+=1)c+=a;return c}function o(a){return a===0&&Number.NEGATIVE_INFINITY===1/a}return gs.isNothing=r,gs.isObject=e,gs.toArray=t,gs.repeat=n,gs.isNegativeZero=o,gs.extend=s,gs}var Fp,Rv;function Fu(){if(Rv)return Fp;Rv=1;function r(t,s){var n="",o=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(n+='in "'+t.mark.name+'" '),n+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!s&&t.mark.snippet&&(n+=`
413
413
 
414
414
  `+t.mark.snippet),o+" "+n):o}function e(t,s){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=s,this.message=r(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e.prototype.toString=function(s){return this.name+": "+r(this,s)},Fp=e,Fp}var $p,xv;function ZK(){if(xv)return $p;xv=1;var r=Cu();function e(n,o,a,u,c){var l="",h="",d=Math.floor(c/2)-1;return u-o>d&&(l=" ... ",o=u-d+l.length),a-u>d&&(h=" ...",a=u+d-h.length),{str:l+n.slice(o,a).replace(/\t/g,"→")+h,pos:u-o+l.length}}function t(n,o){return r.repeat(" ",o-n.length)+n}function s(n,o){if(o=Object.create(o||null),!n.buffer)return null;o.maxLength||(o.maxLength=79),typeof o.indent!="number"&&(o.indent=1),typeof o.linesBefore!="number"&&(o.linesBefore=3),typeof o.linesAfter!="number"&&(o.linesAfter=2);for(var a=/\r?\n|\r|\0/g,u=[0],c=[],l,h=-1;l=a.exec(n.buffer);)c.push(l.index),u.push(l.index+l[0].length),n.position<=l.index&&h<0&&(h=u.length-2);h<0&&(h=u.length-1);var d="",f,p,g=Math.min(n.line+o.linesAfter,c.length).toString().length,m=o.maxLength-(o.indent+g+3);for(f=1;f<=o.linesBefore&&!(h-f<0);f++)p=e(n.buffer,u[h-f],c[h-f],n.position-(u[h]-u[h-f]),m),d=r.repeat(" ",o.indent)+t((n.line-f+1).toString(),g)+" | "+p.str+`
415
415
  `+d;for(p=e(n.buffer,u[h],c[h],n.position,m),d+=r.repeat(" ",o.indent)+t((n.line+1).toString(),g)+" | "+p.str+`
@@ -428,7 +428,7 @@ Using pnpm workspace config at ${s}:`,"verbose");const o=v1(xm.parse(n),t);retur
428
428
  `),y.charCodeAt(0)===65279&&(y=y.slice(1)));var z=new x(y,H),oe=y.indexOf("\0");for(oe!==-1&&(z.position=oe,$(z,"null byte is not allowed in input")),z.input+="\0";z.input.charCodeAt(z.position)===32;)z.lineIndent+=1,z.position+=1;for(;z.position<z.length-1;)te(z);return z.documents}function xe(y,H,z){H!==null&&typeof H=="object"&&typeof z>"u"&&(z=H,H=null);var oe=_e(y,z);if(typeof H!="function")return oe;for(var V=0,ue=oe.length;V<ue;V+=1)H(oe[V])}function Be(y,H){var z=_e(y,H);if(z.length!==0){if(z.length===1)return z[0];throw new e("expected a single document in the stream, but found more")}}return tl.loadAll=xe,tl.load=Be,tl}var Yp={},Zv;function QK(){if(Zv)return Yp;Zv=1;var r=Cu(),e=Fu(),t=S1(),s=Object.prototype.toString,n=Object.prototype.hasOwnProperty,o=65279,a=9,u=10,c=13,l=32,h=33,d=34,f=35,p=37,g=38,m=39,E=42,D=44,b=45,w=58,v=61,_=62,R=63,P=64,M=91,j=93,N=96,G=123,ie=124,ne=125,x={};x[0]="\\0",x[7]="\\a",x[8]="\\b",x[9]="\\t",x[10]="\\n",x[11]="\\v",x[12]="\\f",x[13]="\\r",x[27]="\\e",x[34]='\\"',x[92]="\\\\",x[133]="\\N",x[160]="\\_",x[8232]="\\L",x[8233]="\\P";var S=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],$=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function q(A,Y){var Q,Z,re,ce,be,De,ve;if(Y===null)return{};for(Q={},Z=Object.keys(Y),re=0,ce=Z.length;re<ce;re+=1)be=Z[re],De=String(Y[be]),be.slice(0,2)==="!!"&&(be="tag:yaml.org,2002:"+be.slice(2)),ve=A.compiledTypeMap.fallback[be],ve&&n.call(ve.styleAliases,De)&&(De=ve.styleAliases[De]),Q[be]=De;return Q}function O(A){var Y,Q,Z;if(Y=A.toString(16).toUpperCase(),A<=255)Q="x",Z=2;else if(A<=65535)Q="u",Z=4;else if(A<=4294967295)Q="U",Z=8;else throw new e("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+Q+r.repeat("0",Z-Y.length)+Y}var L=1,K=2;function ee(A){this.schema=A.schema||t,this.indent=Math.max(1,A.indent||2),this.noArrayIndent=A.noArrayIndent||!1,this.skipInvalid=A.skipInvalid||!1,this.flowLevel=r.isNothing(A.flowLevel)?-1:A.flowLevel,this.styleMap=q(this.schema,A.styles||null),this.sortKeys=A.sortKeys||!1,this.lineWidth=A.lineWidth||80,this.noRefs=A.noRefs||!1,this.noCompatMode=A.noCompatMode||!1,this.condenseFlow=A.condenseFlow||!1,this.quotingType=A.quotingType==='"'?K:L,this.forceQuotes=A.forceQuotes||!1,this.replacer=typeof A.replacer=="function"?A.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function pe(A,Y){for(var Q=r.repeat(" ",Y),Z=0,re=-1,ce="",be,De=A.length;Z<De;)re=A.indexOf(`
429
429
  `,Z),re===-1?(be=A.slice(Z),Z=De):(be=A.slice(Z,re+1),Z=re+1),be.length&&be!==`
430
430
  `&&(ce+=Q),ce+=be;return ce}function ae(A,Y){return`
431
- `+r.repeat(" ",A.indent*Y)}function Ce(A,Y){var Q,Z,re;for(Q=0,Z=A.implicitTypes.length;Q<Z;Q+=1)if(re=A.implicitTypes[Q],re.resolve(Y))return!0;return!1}function le(A){return A===l||A===a}function me(A){return 32<=A&&A<=126||161<=A&&A<=55295&&A!==8232&&A!==8233||57344<=A&&A<=65533&&A!==o||65536<=A&&A<=1114111}function Kt(A){return me(A)&&A!==o&&A!==c&&A!==u}function he(A,Y,Q){var Z=Kt(A),re=Z&&!le(A);return(Q?Z:Z&&A!==D&&A!==M&&A!==j&&A!==G&&A!==ne)&&A!==f&&!(Y===w&&!re)||Kt(Y)&&!le(Y)&&A===f||Y===w&&re}function J(A){return me(A)&&A!==o&&!le(A)&&A!==b&&A!==R&&A!==w&&A!==D&&A!==M&&A!==j&&A!==G&&A!==ne&&A!==f&&A!==g&&A!==E&&A!==h&&A!==ie&&A!==v&&A!==_&&A!==m&&A!==d&&A!==p&&A!==P&&A!==N}function I(A){return!le(A)&&A!==w}function C(A,Y){var Q=A.charCodeAt(Y),Z;return Q>=55296&&Q<=56319&&Y+1<A.length&&(Z=A.charCodeAt(Y+1),Z>=56320&&Z<=57343)?(Q-55296)*1024+Z-56320+65536:Q}function T(A){var Y=/^\n* /;return Y.test(A)}var U=1,B=2,F=3,k=4,te=5;function _e(A,Y,Q,Z,re,ce,be,De){var ve,Oe=0,ht=null,mt=!1,He=!1,Sy=Z!==-1,Ao=-1,So=J(C(A,0))&&I(C(A,A.length-1));if(Y||be)for(ve=0;ve<A.length;Oe>=65536?ve+=2:ve++){if(Oe=C(A,ve),!me(Oe))return te;So=So&&he(Oe,ht,De),ht=Oe}else{for(ve=0;ve<A.length;Oe>=65536?ve+=2:ve++){if(Oe=C(A,ve),Oe===u)mt=!0,Sy&&(He=He||ve-Ao-1>Z&&A[Ao+1]!==" ",Ao=ve);else if(!me(Oe))return te;So=So&&he(Oe,ht,De),ht=Oe}He=He||Sy&&ve-Ao-1>Z&&A[Ao+1]!==" "}return!mt&&!He?So&&!be&&!re(A)?U:ce===K?te:B:Q>9&&T(A)?te:be?ce===K?te:B:He?k:F}function xe(A,Y,Q,Z,re){A.dump=function(){if(Y.length===0)return A.quotingType===K?'""':"''";if(!A.noCompatMode&&(S.indexOf(Y)!==-1||$.test(Y)))return A.quotingType===K?'"'+Y+'"':"'"+Y+"'";var ce=A.indent*Math.max(1,Q),be=A.lineWidth===-1?-1:Math.max(Math.min(A.lineWidth,40),A.lineWidth-ce),De=Z||A.flowLevel>-1&&Q>=A.flowLevel;function ve(Oe){return Ce(A,Oe)}switch(_e(Y,De,A.indent,be,ve,A.quotingType,A.forceQuotes&&!Z,re)){case U:return Y;case B:return"'"+Y.replace(/'/g,"''")+"'";case F:return"|"+Be(Y,A.indent)+y(pe(Y,ce));case k:return">"+Be(Y,A.indent)+y(pe(H(Y,be),ce));case te:return'"'+oe(Y)+'"';default:throw new e("impossible error: invalid scalar style")}}()}function Be(A,Y){var Q=T(A)?String(Y):"",Z=A[A.length-1]===`
431
+ `+r.repeat(" ",A.indent*Y)}function Ce(A,Y){var Q,Z,re;for(Q=0,Z=A.implicitTypes.length;Q<Z;Q+=1)if(re=A.implicitTypes[Q],re.resolve(Y))return!0;return!1}function le(A){return A===l||A===a}function me(A){return 32<=A&&A<=126||161<=A&&A<=55295&&A!==8232&&A!==8233||57344<=A&&A<=65533&&A!==o||65536<=A&&A<=1114111}function Kt(A){return me(A)&&A!==o&&A!==c&&A!==u}function he(A,Y,Q){var Z=Kt(A),re=Z&&!le(A);return(Q?Z:Z&&A!==D&&A!==M&&A!==j&&A!==G&&A!==ne)&&A!==f&&!(Y===w&&!re)||Kt(Y)&&!le(Y)&&A===f||Y===w&&re}function J(A){return me(A)&&A!==o&&!le(A)&&A!==b&&A!==R&&A!==w&&A!==D&&A!==M&&A!==j&&A!==G&&A!==ne&&A!==f&&A!==g&&A!==E&&A!==h&&A!==ie&&A!==v&&A!==_&&A!==m&&A!==d&&A!==p&&A!==P&&A!==N}function I(A){return!le(A)&&A!==w}function C(A,Y){var Q=A.charCodeAt(Y),Z;return Q>=55296&&Q<=56319&&Y+1<A.length&&(Z=A.charCodeAt(Y+1),Z>=56320&&Z<=57343)?(Q-55296)*1024+Z-56320+65536:Q}function T(A){var Y=/^\n* /;return Y.test(A)}var U=1,B=2,F=3,k=4,te=5;function _e(A,Y,Q,Z,re,ce,be,De){var ve,Oe=0,ht=null,mt=!1,Ge=!1,Sy=Z!==-1,Ao=-1,So=J(C(A,0))&&I(C(A,A.length-1));if(Y||be)for(ve=0;ve<A.length;Oe>=65536?ve+=2:ve++){if(Oe=C(A,ve),!me(Oe))return te;So=So&&he(Oe,ht,De),ht=Oe}else{for(ve=0;ve<A.length;Oe>=65536?ve+=2:ve++){if(Oe=C(A,ve),Oe===u)mt=!0,Sy&&(Ge=Ge||ve-Ao-1>Z&&A[Ao+1]!==" ",Ao=ve);else if(!me(Oe))return te;So=So&&he(Oe,ht,De),ht=Oe}Ge=Ge||Sy&&ve-Ao-1>Z&&A[Ao+1]!==" "}return!mt&&!Ge?So&&!be&&!re(A)?U:ce===K?te:B:Q>9&&T(A)?te:be?ce===K?te:B:Ge?k:F}function xe(A,Y,Q,Z,re){A.dump=function(){if(Y.length===0)return A.quotingType===K?'""':"''";if(!A.noCompatMode&&(S.indexOf(Y)!==-1||$.test(Y)))return A.quotingType===K?'"'+Y+'"':"'"+Y+"'";var ce=A.indent*Math.max(1,Q),be=A.lineWidth===-1?-1:Math.max(Math.min(A.lineWidth,40),A.lineWidth-ce),De=Z||A.flowLevel>-1&&Q>=A.flowLevel;function ve(Oe){return Ce(A,Oe)}switch(_e(Y,De,A.indent,be,ve,A.quotingType,A.forceQuotes&&!Z,re)){case U:return Y;case B:return"'"+Y.replace(/'/g,"''")+"'";case F:return"|"+Be(Y,A.indent)+y(pe(Y,ce));case k:return">"+Be(Y,A.indent)+y(pe(H(Y,be),ce));case te:return'"'+oe(Y)+'"';default:throw new e("impossible error: invalid scalar style")}}()}function Be(A,Y){var Q=T(A)?String(Y):"",Z=A[A.length-1]===`
432
432
  `,re=Z&&(A[A.length-2]===`
433
433
  `||A===`
434
434
  `),ce=re?"+":Z?"":"-";return Q+ce+`
@@ -439,19 +439,19 @@ Using pnpm workspace config at ${s}:`,"verbose");const o=v1(xm.parse(n),t);retur
439
439
  `:"")+z(ve,Y),re=ce}return Z}function z(A,Y){if(A===""||A[0]===" ")return A;for(var Q=/ [^ ]/g,Z,re=0,ce,be=0,De=0,ve="";Z=Q.exec(A);)De=Z.index,De-re>Y&&(ce=be>re?be:De,ve+=`
440
440
  `+A.slice(re,ce),re=ce+1),be=De;return ve+=`
441
441
  `,A.length-re>Y&&be>re?ve+=A.slice(re,be)+`
442
- `+A.slice(be+1):ve+=A.slice(re),ve.slice(1)}function oe(A){for(var Y="",Q=0,Z,re=0;re<A.length;Q>=65536?re+=2:re++)Q=C(A,re),Z=x[Q],!Z&&me(Q)?(Y+=A[re],Q>=65536&&(Y+=A[re+1])):Y+=Z||O(Q);return Y}function V(A,Y,Q){var Z="",re=A.tag,ce,be,De;for(ce=0,be=Q.length;ce<be;ce+=1)De=Q[ce],A.replacer&&(De=A.replacer.call(Q,String(ce),De)),(Se(A,Y,De,!1,!1)||typeof De>"u"&&Se(A,Y,null,!1,!1))&&(Z!==""&&(Z+=","+(A.condenseFlow?"":" ")),Z+=A.dump);A.tag=re,A.dump="["+Z+"]"}function ue(A,Y,Q,Z){var re="",ce=A.tag,be,De,ve;for(be=0,De=Q.length;be<De;be+=1)ve=Q[be],A.replacer&&(ve=A.replacer.call(Q,String(be),ve)),(Se(A,Y+1,ve,!0,!0,!1,!0)||typeof ve>"u"&&Se(A,Y+1,null,!0,!0,!1,!0))&&((!Z||re!=="")&&(re+=ae(A,Y)),A.dump&&u===A.dump.charCodeAt(0)?re+="-":re+="- ",re+=A.dump);A.tag=ce,A.dump=re||"[]"}function se(A,Y,Q){var Z="",re=A.tag,ce=Object.keys(Q),be,De,ve,Oe,ht;for(be=0,De=ce.length;be<De;be+=1)ht="",Z!==""&&(ht+=", "),A.condenseFlow&&(ht+='"'),ve=ce[be],Oe=Q[ve],A.replacer&&(Oe=A.replacer.call(Q,ve,Oe)),Se(A,Y,ve,!1,!1)&&(A.dump.length>1024&&(ht+="? "),ht+=A.dump+(A.condenseFlow?'"':"")+":"+(A.condenseFlow?"":" "),Se(A,Y,Oe,!1,!1)&&(ht+=A.dump,Z+=ht));A.tag=re,A.dump="{"+Z+"}"}function ye(A,Y,Q,Z){var re="",ce=A.tag,be=Object.keys(Q),De,ve,Oe,ht,mt,He;if(A.sortKeys===!0)be.sort();else if(typeof A.sortKeys=="function")be.sort(A.sortKeys);else if(A.sortKeys)throw new e("sortKeys must be a boolean or a function");for(De=0,ve=be.length;De<ve;De+=1)He="",(!Z||re!=="")&&(He+=ae(A,Y)),Oe=be[De],ht=Q[Oe],A.replacer&&(ht=A.replacer.call(Q,Oe,ht)),Se(A,Y+1,Oe,!0,!0,!0)&&(mt=A.tag!==null&&A.tag!=="?"||A.dump&&A.dump.length>1024,mt&&(A.dump&&u===A.dump.charCodeAt(0)?He+="?":He+="? "),He+=A.dump,mt&&(He+=ae(A,Y)),Se(A,Y+1,ht,!0,mt)&&(A.dump&&u===A.dump.charCodeAt(0)?He+=":":He+=": ",He+=A.dump,re+=He));A.tag=ce,A.dump=re||"{}"}function we(A,Y,Q){var Z,re,ce,be,De,ve;for(re=Q?A.explicitTypes:A.implicitTypes,ce=0,be=re.length;ce<be;ce+=1)if(De=re[ce],(De.instanceOf||De.predicate)&&(!De.instanceOf||typeof Y=="object"&&Y instanceof De.instanceOf)&&(!De.predicate||De.predicate(Y))){if(Q?De.multi&&De.representName?A.tag=De.representName(Y):A.tag=De.tag:A.tag="?",De.represent){if(ve=A.styleMap[De.tag]||De.defaultStyle,s.call(De.represent)==="[object Function]")Z=De.represent(Y,ve);else if(n.call(De.represent,ve))Z=De.represent[ve](Y,ve);else throw new e("!<"+De.tag+'> tag resolver accepts not "'+ve+'" style');A.dump=Z}return!0}return!1}function Se(A,Y,Q,Z,re,ce,be){A.tag=null,A.dump=Q,we(A,Q,!1)||we(A,Q,!0);var De=s.call(A.dump),ve=Z,Oe;Z&&(Z=A.flowLevel<0||A.flowLevel>Y);var ht=De==="[object Object]"||De==="[object Array]",mt,He;if(ht&&(mt=A.duplicates.indexOf(Q),He=mt!==-1),(A.tag!==null&&A.tag!=="?"||He||A.indent!==2&&Y>0)&&(re=!1),He&&A.usedDuplicates[mt])A.dump="*ref_"+mt;else{if(ht&&He&&!A.usedDuplicates[mt]&&(A.usedDuplicates[mt]=!0),De==="[object Object]")Z&&Object.keys(A.dump).length!==0?(ye(A,Y,A.dump,re),He&&(A.dump="&ref_"+mt+A.dump)):(se(A,Y,A.dump),He&&(A.dump="&ref_"+mt+" "+A.dump));else if(De==="[object Array]")Z&&A.dump.length!==0?(A.noArrayIndent&&!be&&Y>0?ue(A,Y-1,A.dump,re):ue(A,Y,A.dump,re),He&&(A.dump="&ref_"+mt+A.dump)):(V(A,Y,A.dump),He&&(A.dump="&ref_"+mt+" "+A.dump));else if(De==="[object String]")A.tag!=="?"&&xe(A,A.dump,Y,ce,ve);else{if(De==="[object Undefined]")return!1;if(A.skipInvalid)return!1;throw new e("unacceptable kind of an object to dump "+De)}A.tag!==null&&A.tag!=="?"&&(Oe=encodeURI(A.tag[0]==="!"?A.tag.slice(1):A.tag).replace(/!/g,"%21"),A.tag[0]==="!"?Oe="!"+Oe:Oe.slice(0,18)==="tag:yaml.org,2002:"?Oe="!!"+Oe.slice(18):Oe="!<"+Oe+">",A.dump=Oe+" "+A.dump)}return!0}function ke(A,Y){var Q=[],Z=[],re,ce;for(Ee(A,Q,Z),re=0,ce=Z.length;re<ce;re+=1)Y.duplicates.push(Q[Z[re]]);Y.usedDuplicates=new Array(ce)}function Ee(A,Y,Q){var Z,re,ce;if(A!==null&&typeof A=="object")if(re=Y.indexOf(A),re!==-1)Q.indexOf(re)===-1&&Q.push(re);else if(Y.push(A),Array.isArray(A))for(re=0,ce=A.length;re<ce;re+=1)Ee(A[re],Y,Q);else for(Z=Object.keys(A),re=0,ce=Z.length;re<ce;re+=1)Ee(A[Z[re]],Y,Q)}function Ft(A,Y){Y=Y||{};var Q=new ee(Y);Q.noRefs||ke(A,Q);var Z=A;return Q.replacer&&(Z=Q.replacer.call({"":Z},"",Z)),Se(Q,0,Z,!0,!0)?Q.dump+`
442
+ `+A.slice(be+1):ve+=A.slice(re),ve.slice(1)}function oe(A){for(var Y="",Q=0,Z,re=0;re<A.length;Q>=65536?re+=2:re++)Q=C(A,re),Z=x[Q],!Z&&me(Q)?(Y+=A[re],Q>=65536&&(Y+=A[re+1])):Y+=Z||O(Q);return Y}function V(A,Y,Q){var Z="",re=A.tag,ce,be,De;for(ce=0,be=Q.length;ce<be;ce+=1)De=Q[ce],A.replacer&&(De=A.replacer.call(Q,String(ce),De)),(Se(A,Y,De,!1,!1)||typeof De>"u"&&Se(A,Y,null,!1,!1))&&(Z!==""&&(Z+=","+(A.condenseFlow?"":" ")),Z+=A.dump);A.tag=re,A.dump="["+Z+"]"}function ue(A,Y,Q,Z){var re="",ce=A.tag,be,De,ve;for(be=0,De=Q.length;be<De;be+=1)ve=Q[be],A.replacer&&(ve=A.replacer.call(Q,String(be),ve)),(Se(A,Y+1,ve,!0,!0,!1,!0)||typeof ve>"u"&&Se(A,Y+1,null,!0,!0,!1,!0))&&((!Z||re!=="")&&(re+=ae(A,Y)),A.dump&&u===A.dump.charCodeAt(0)?re+="-":re+="- ",re+=A.dump);A.tag=ce,A.dump=re||"[]"}function se(A,Y,Q){var Z="",re=A.tag,ce=Object.keys(Q),be,De,ve,Oe,ht;for(be=0,De=ce.length;be<De;be+=1)ht="",Z!==""&&(ht+=", "),A.condenseFlow&&(ht+='"'),ve=ce[be],Oe=Q[ve],A.replacer&&(Oe=A.replacer.call(Q,ve,Oe)),Se(A,Y,ve,!1,!1)&&(A.dump.length>1024&&(ht+="? "),ht+=A.dump+(A.condenseFlow?'"':"")+":"+(A.condenseFlow?"":" "),Se(A,Y,Oe,!1,!1)&&(ht+=A.dump,Z+=ht));A.tag=re,A.dump="{"+Z+"}"}function ye(A,Y,Q,Z){var re="",ce=A.tag,be=Object.keys(Q),De,ve,Oe,ht,mt,Ge;if(A.sortKeys===!0)be.sort();else if(typeof A.sortKeys=="function")be.sort(A.sortKeys);else if(A.sortKeys)throw new e("sortKeys must be a boolean or a function");for(De=0,ve=be.length;De<ve;De+=1)Ge="",(!Z||re!=="")&&(Ge+=ae(A,Y)),Oe=be[De],ht=Q[Oe],A.replacer&&(ht=A.replacer.call(Q,Oe,ht)),Se(A,Y+1,Oe,!0,!0,!0)&&(mt=A.tag!==null&&A.tag!=="?"||A.dump&&A.dump.length>1024,mt&&(A.dump&&u===A.dump.charCodeAt(0)?Ge+="?":Ge+="? "),Ge+=A.dump,mt&&(Ge+=ae(A,Y)),Se(A,Y+1,ht,!0,mt)&&(A.dump&&u===A.dump.charCodeAt(0)?Ge+=":":Ge+=": ",Ge+=A.dump,re+=Ge));A.tag=ce,A.dump=re||"{}"}function we(A,Y,Q){var Z,re,ce,be,De,ve;for(re=Q?A.explicitTypes:A.implicitTypes,ce=0,be=re.length;ce<be;ce+=1)if(De=re[ce],(De.instanceOf||De.predicate)&&(!De.instanceOf||typeof Y=="object"&&Y instanceof De.instanceOf)&&(!De.predicate||De.predicate(Y))){if(Q?De.multi&&De.representName?A.tag=De.representName(Y):A.tag=De.tag:A.tag="?",De.represent){if(ve=A.styleMap[De.tag]||De.defaultStyle,s.call(De.represent)==="[object Function]")Z=De.represent(Y,ve);else if(n.call(De.represent,ve))Z=De.represent[ve](Y,ve);else throw new e("!<"+De.tag+'> tag resolver accepts not "'+ve+'" style');A.dump=Z}return!0}return!1}function Se(A,Y,Q,Z,re,ce,be){A.tag=null,A.dump=Q,we(A,Q,!1)||we(A,Q,!0);var De=s.call(A.dump),ve=Z,Oe;Z&&(Z=A.flowLevel<0||A.flowLevel>Y);var ht=De==="[object Object]"||De==="[object Array]",mt,Ge;if(ht&&(mt=A.duplicates.indexOf(Q),Ge=mt!==-1),(A.tag!==null&&A.tag!=="?"||Ge||A.indent!==2&&Y>0)&&(re=!1),Ge&&A.usedDuplicates[mt])A.dump="*ref_"+mt;else{if(ht&&Ge&&!A.usedDuplicates[mt]&&(A.usedDuplicates[mt]=!0),De==="[object Object]")Z&&Object.keys(A.dump).length!==0?(ye(A,Y,A.dump,re),Ge&&(A.dump="&ref_"+mt+A.dump)):(se(A,Y,A.dump),Ge&&(A.dump="&ref_"+mt+" "+A.dump));else if(De==="[object Array]")Z&&A.dump.length!==0?(A.noArrayIndent&&!be&&Y>0?ue(A,Y-1,A.dump,re):ue(A,Y,A.dump,re),Ge&&(A.dump="&ref_"+mt+A.dump)):(V(A,Y,A.dump),Ge&&(A.dump="&ref_"+mt+" "+A.dump));else if(De==="[object String]")A.tag!=="?"&&xe(A,A.dump,Y,ce,ve);else{if(De==="[object Undefined]")return!1;if(A.skipInvalid)return!1;throw new e("unacceptable kind of an object to dump "+De)}A.tag!==null&&A.tag!=="?"&&(Oe=encodeURI(A.tag[0]==="!"?A.tag.slice(1):A.tag).replace(/!/g,"%21"),A.tag[0]==="!"?Oe="!"+Oe:Oe.slice(0,18)==="tag:yaml.org,2002:"?Oe="!!"+Oe.slice(18):Oe="!<"+Oe+">",A.dump=Oe+" "+A.dump)}return!0}function ke(A,Y){var Q=[],Z=[],re,ce;for(Ee(A,Q,Z),re=0,ce=Z.length;re<ce;re+=1)Y.duplicates.push(Q[Z[re]]);Y.usedDuplicates=new Array(ce)}function Ee(A,Y,Q){var Z,re,ce;if(A!==null&&typeof A=="object")if(re=Y.indexOf(A),re!==-1)Q.indexOf(re)===-1&&Q.push(re);else if(Y.push(A),Array.isArray(A))for(re=0,ce=A.length;re<ce;re+=1)Ee(A[re],Y,Q);else for(Z=Object.keys(A),re=0,ce=Z.length;re<ce;re+=1)Ee(A[Z[re]],Y,Q)}function Ft(A,Y){Y=Y||{};var Q=new ee(Y);Q.noRefs||ke(A,Q);var Z=A;return Q.replacer&&(Z=Q.replacer.call({"":Z},"",Z)),Se(Q,0,Z,!0,!0)?Q.dump+`
443
443
  `:""}return Yp.dump=Ft,Yp}var Jv;function q$(){if(Jv)return Gt;Jv=1;var r=JK(),e=QK();function t(s,n){return function(){throw new Error("Function yaml."+s+" is removed in js-yaml 4. Use yaml."+n+" instead, which is now safe by default.")}}return Gt.Type=tr(),Gt.Schema=R$(),Gt.FAILSAFE_SCHEMA=B$(),Gt.JSON_SCHEMA=N$(),Gt.CORE_SCHEMA=M$(),Gt.DEFAULT_SCHEMA=S1(),Gt.load=r.load,Gt.loadAll=r.loadAll,Gt.dump=e.dump,Gt.YAMLException=Fu(),Gt.types={binary:H$(),float:k$(),map:T$(),null:I$(),pairs:W$(),set:z$(),timestamp:j$(),bool:P$(),int:L$(),merge:U$(),omap:G$(),seq:O$(),str:x$()},Gt.safeLoad=t("safeLoad","load"),Gt.safeLoadAll=t("safeLoadAll","loadAll"),Gt.safeDump=t("safeDump","dump"),Gt}var eX=q$();const _g=Qe(eX);var C1={},V$=Vt.Transform;function _o(r){if(!(this instanceof _o))throw new TypeError("Cannot call a class as a function");r=r||{},V$.call(this,{objectMode:!0}),this._memory="",this._emitInvalidLines=r.emitInvalidLines||!1}_o.prototype=Object.create(V$.prototype);_o.prototype._handleLines=function(r,e){for(var t=0;t<r.length;t++)if(r[t]!==""){var s=null,n=null;try{n=JSON.parse(r[t])}catch(o){o.source=r[t],s=o}if(s)if(this._emitInvalidLines)this.emit("invalid-line",s);else return e(s);else this.push(n)}e(null)};_o.prototype._transform=function(r,e,t){var s=(this._memory+r.toString()).split(`
444
444
  `);this._memory=s.pop(),this._handleLines(s,t)};_o.prototype._flush=function(r){if(!this._memory)return r(null);var e=this._memory;this._memory="",this._handleLines([e],r)};var tX=_o,Y$=Vt.Transform;function Yh(){if(!(this instanceof Yh))throw new TypeError("Cannot call a class as a function");Y$.call(this,{objectMode:!0})}Yh.prototype=Object.create(Y$.prototype);Yh.prototype._transform=function(r,e,t){var s;try{s=JSON.stringify(r)}catch(n){return n.source=r,t(n)}t(null,s+`
445
445
  `)};var rX=Yh,iX=tX,sX=rX;C1.parse=function(e){return new iX(e)};C1.stringify=function(){return new sX};function nX(r){return r}var F1=nX;const oX=Qe(F1);var aX=ah,uX=Ls,cX=aX(uX,"WeakMap"),lX=cX,Qv=lX,hX=Qv&&new Qv,K$=hX,fX=F1,e_=K$,dX=e_?function(r,e){return e_.set(r,e),r}:fX,X$=dX,pX=ru,t_=Object.create,gX=function(){function r(){}return function(e){if(!pX(e))return{};if(t_)return t_(e);r.prototype=e;var t=new r;return r.prototype=void 0,t}}(),$1=gX,mX=$1,yX=ru;function DX(r){return function(){var e=arguments;switch(e.length){case 0:return new r;case 1:return new r(e[0]);case 2:return new r(e[0],e[1]);case 3:return new r(e[0],e[1],e[2]);case 4:return new r(e[0],e[1],e[2],e[3]);case 5:return new r(e[0],e[1],e[2],e[3],e[4]);case 6:return new r(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new r(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var t=mX(r.prototype),s=r.apply(t,e);return yX(s)?s:t}}var Kh=DX,EX=Kh,bX=Ls,wX=1;function vX(r,e,t){var s=e&wX,n=EX(r);function o(){var a=this&&this!==bX&&this instanceof o?n:r;return a.apply(s?t:this,arguments)}return o}var _X=vX;function AX(r,e,t){switch(t.length){case 0:return r.call(e);case 1:return r.call(e,t[0]);case 2:return r.call(e,t[0],t[1]);case 3:return r.call(e,t[0],t[1],t[2])}return r.apply(e,t)}var R1=AX,SX=Math.max;function CX(r,e,t,s){for(var n=-1,o=r.length,a=t.length,u=-1,c=e.length,l=SX(o-a,0),h=Array(c+l),d=!s;++u<c;)h[u]=e[u];for(;++n<a;)(d||n<o)&&(h[t[n]]=r[n]);for(;l--;)h[u++]=r[n++];return h}var Z$=CX,FX=Math.max;function $X(r,e,t,s){for(var n=-1,o=r.length,a=-1,u=t.length,c=-1,l=e.length,h=FX(o-u,0),d=Array(h+l),f=!s;++n<h;)d[n]=r[n];for(var p=n;++c<l;)d[p+c]=e[c];for(;++a<u;)(f||n<o)&&(d[p+t[a]]=r[n++]);return d}var J$=$X;function RX(r,e){for(var t=r.length,s=0;t--;)r[t]===e&&++s;return s}var xX=RX;function OX(){}var x1=OX,TX=$1,BX=x1,IX=4294967295;function jl(r){this.__wrapped__=r,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=IX,this.__views__=[]}jl.prototype=TX(BX.prototype);jl.prototype.constructor=jl;var O1=jl;function PX(){}var LX=PX,r_=K$,kX=LX,NX=r_?function(r){return r_.get(r)}:kX,T1=NX,MX={},jX=MX,i_=jX,UX=Object.prototype,HX=UX.hasOwnProperty;function GX(r){for(var e=r.name+"",t=i_[e],s=HX.call(i_,e)?t.length:0;s--;){var n=t[s],o=n.func;if(o==null||o==r)return n.name}return e}var Q$=GX,WX=$1,zX=x1;function Ul(r,e){this.__wrapped__=r,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}Ul.prototype=WX(zX.prototype);Ul.prototype.constructor=Ul;var B1=Ul;function qX(r,e){var t=-1,s=r.length;for(e||(e=Array(s));++t<s;)e[t]=r[t];return e}var eR=qX,VX=O1,YX=B1,KX=eR;function XX(r){if(r instanceof VX)return r.clone();var e=new YX(r.__wrapped__,r.__chain__);return e.__actions__=KX(r.__actions__),e.__index__=r.__index__,e.__values__=r.__values__,e}var ZX=XX,JX=O1,s_=B1,QX=x1,eZ=uo,tZ=nh,rZ=ZX,iZ=Object.prototype,sZ=iZ.hasOwnProperty;function Hl(r){if(tZ(r)&&!eZ(r)&&!(r instanceof JX)){if(r instanceof s_)return r;if(sZ.call(r,"__wrapped__"))return rZ(r)}return new s_(r)}Hl.prototype=QX.prototype;Hl.prototype.constructor=Hl;var nZ=Hl,oZ=O1,aZ=T1,uZ=Q$,cZ=nZ;function lZ(r){var e=uZ(r),t=cZ[e];if(typeof t!="function"||!(e in oZ.prototype))return!1;if(r===t)return!0;var s=aZ(t);return!!s&&r===s[0]}var tR=lZ,hZ=800,fZ=16,dZ=Date.now;function pZ(r){var e=0,t=0;return function(){var s=dZ(),n=fZ-(s-t);if(t=s,n>0){if(++e>=hZ)return arguments[0]}else e=0;return r.apply(void 0,arguments)}}var rR=pZ,gZ=X$,mZ=rR,yZ=mZ(gZ),iR=yZ,DZ=/\{\n\/\* \[wrapped with (.+)\] \*/,EZ=/,? & /;function bZ(r){var e=r.match(DZ);return e?e[1].split(EZ):[]}var wZ=bZ,vZ=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function _Z(r,e){var t=e.length;if(!t)return r;var s=t-1;return e[s]=(t>1?"& ":"")+e[s],e=e.join(t>2?", ":" "),r.replace(vZ,`{
446
446
  /* [wrapped with `+e+`] */
447
- `)}var AZ=_Z;function SZ(r){return function(){return r}}var CZ=SZ,FZ=ah,$Z=function(){try{var r=FZ(Object,"defineProperty");return r({},"",{}),r}catch{}}(),RZ=$Z,xZ=CZ,n_=RZ,OZ=F1,TZ=n_?function(r,e){return n_(r,"toString",{configurable:!0,enumerable:!1,value:xZ(e),writable:!0})}:OZ,BZ=TZ,IZ=BZ,PZ=rR,LZ=PZ(IZ),sR=LZ;function kZ(r,e){for(var t=-1,s=r==null?0:r.length;++t<s&&e(r[t],t,r)!==!1;);return r}var NZ=kZ;function MZ(r,e,t,s){for(var n=r.length,o=t+(s?1:-1);s?o--:++o<n;)if(e(r[o],o,r))return o;return-1}var jZ=MZ;function UZ(r){return r!==r}var HZ=UZ;function GZ(r,e,t){for(var s=t-1,n=r.length;++s<n;)if(r[s]===e)return s;return-1}var WZ=GZ,zZ=jZ,qZ=HZ,VZ=WZ;function YZ(r,e,t){return e===e?VZ(r,e,t):zZ(r,qZ,t)}var KZ=YZ,XZ=KZ;function ZZ(r,e){var t=r==null?0:r.length;return!!t&&XZ(r,e,0)>-1}var JZ=ZZ,QZ=NZ,eJ=JZ,tJ=1,rJ=2,iJ=8,sJ=16,nJ=32,oJ=64,aJ=128,uJ=256,cJ=512,lJ=[["ary",aJ],["bind",tJ],["bindKey",rJ],["curry",iJ],["curryRight",sJ],["flip",cJ],["partial",nJ],["partialRight",oJ],["rearg",uJ]];function hJ(r,e){return QZ(lJ,function(t){var s="_."+t[0];e&t[1]&&!eJ(r,s)&&r.push(s)}),r.sort()}var fJ=hJ,dJ=wZ,pJ=AZ,gJ=sR,mJ=fJ;function yJ(r,e,t){var s=e+"";return gJ(r,pJ(s,mJ(dJ(s),t)))}var nR=yJ,DJ=tR,EJ=iR,bJ=nR,wJ=1,vJ=2,_J=4,AJ=8,o_=32,a_=64;function SJ(r,e,t,s,n,o,a,u,c,l){var h=e&AJ,d=h?a:void 0,f=h?void 0:a,p=h?o:void 0,g=h?void 0:o;e|=h?o_:a_,e&=~(h?a_:o_),e&_J||(e&=~(wJ|vJ));var m=[r,e,n,p,d,g,f,u,c,l],E=t.apply(void 0,m);return DJ(r)&&EJ(E,m),E.placeholder=s,bJ(E,r,e)}var oR=SJ;function CJ(r){var e=r;return e.placeholder}var aR=CJ,FJ=9007199254740991,$J=/^(?:0|[1-9]\d*)$/;function RJ(r,e){var t=typeof r;return e=e??FJ,!!e&&(t=="number"||t!="symbol"&&$J.test(r))&&r>-1&&r%1==0&&r<e}var xJ=RJ,OJ=eR,TJ=xJ,BJ=Math.min;function IJ(r,e){for(var t=r.length,s=BJ(e.length,t),n=OJ(r);s--;){var o=e[s];r[s]=TJ(o,t)?n[o]:void 0}return r}var PJ=IJ,u_="__lodash_placeholder__";function LJ(r,e){for(var t=-1,s=r.length,n=0,o=[];++t<s;){var a=r[t];(a===e||a===u_)&&(r[t]=u_,o[n++]=t)}return o}var I1=LJ,kJ=Z$,NJ=J$,MJ=xX,c_=Kh,jJ=oR,UJ=aR,HJ=PJ,GJ=I1,WJ=Ls,zJ=1,qJ=2,VJ=8,YJ=16,KJ=128,XJ=512;function uR(r,e,t,s,n,o,a,u,c,l){var h=e&KJ,d=e&zJ,f=e&qJ,p=e&(VJ|YJ),g=e&XJ,m=f?void 0:c_(r);function E(){for(var D=arguments.length,b=Array(D),w=D;w--;)b[w]=arguments[w];if(p)var v=UJ(E),_=MJ(b,v);if(s&&(b=kJ(b,s,n,p)),o&&(b=NJ(b,o,a,p)),D-=_,p&&D<l){var R=GJ(b,v);return jJ(r,e,uR,E.placeholder,t,b,R,u,c,l-D)}var P=d?t:this,M=f?P[r]:r;return D=b.length,u?b=HJ(b,u):g&&D>1&&b.reverse(),h&&c<D&&(b.length=c),this&&this!==WJ&&this instanceof E&&(M=m||c_(M)),M.apply(P,b)}return E}var cR=uR,ZJ=R1,JJ=Kh,QJ=cR,eQ=oR,tQ=aR,rQ=I1,iQ=Ls;function sQ(r,e,t){var s=JJ(r);function n(){for(var o=arguments.length,a=Array(o),u=o,c=tQ(n);u--;)a[u]=arguments[u];var l=o<3&&a[0]!==c&&a[o-1]!==c?[]:rQ(a,c);if(o-=l.length,o<t)return eQ(r,e,QJ,n.placeholder,void 0,a,l,void 0,void 0,t-o);var h=this&&this!==iQ&&this instanceof n?s:r;return ZJ(h,this,a)}return n}var nQ=sQ,oQ=R1,aQ=Kh,uQ=Ls,cQ=1;function lQ(r,e,t,s){var n=e&cQ,o=aQ(r);function a(){for(var u=-1,c=arguments.length,l=-1,h=s.length,d=Array(h+c),f=this&&this!==uQ&&this instanceof a?o:r;++l<h;)d[l]=s[l];for(;c--;)d[l++]=arguments[++u];return oQ(f,n?t:this,d)}return a}var hQ=lQ,fQ=Z$,dQ=J$,l_=I1,h_="__lodash_placeholder__",Kp=1,pQ=2,gQ=4,f_=8,Da=128,d_=256,mQ=Math.min;function yQ(r,e){var t=r[1],s=e[1],n=t|s,o=n<(Kp|pQ|Da),a=s==Da&&t==f_||s==Da&&t==d_&&r[7].length<=e[8]||s==(Da|d_)&&e[7].length<=e[8]&&t==f_;if(!(o||a))return r;s&Kp&&(r[2]=e[2],n|=t&Kp?0:gQ);var u=e[3];if(u){var c=r[3];r[3]=c?fQ(c,u,e[4]):u,r[4]=c?l_(r[3],h_):e[4]}return u=e[5],u&&(c=r[5],r[5]=c?dQ(c,u,e[6]):u,r[6]=c?l_(r[5],h_):e[6]),u=e[7],u&&(r[7]=u),s&Da&&(r[8]=r[8]==null?e[8]:mQ(r[8],e[8])),r[9]==null&&(r[9]=e[9]),r[0]=e[0],r[1]=n,r}var DQ=yQ,EQ=/\s/;function bQ(r){for(var e=r.length;e--&&EQ.test(r.charAt(e)););return e}var wQ=bQ,vQ=wQ,_Q=/^\s+/;function AQ(r){return r&&r.slice(0,vQ(r)+1).replace(_Q,"")}var SQ=AQ,CQ=SQ,p_=ru,FQ=oh,g_=NaN,$Q=/^[-+]0x[0-9a-f]+$/i,RQ=/^0b[01]+$/i,xQ=/^0o[0-7]+$/i,OQ=parseInt;function TQ(r){if(typeof r=="number")return r;if(FQ(r))return g_;if(p_(r)){var e=typeof r.valueOf=="function"?r.valueOf():r;r=p_(e)?e+"":e}if(typeof r!="string")return r===0?r:+r;r=CQ(r);var t=RQ.test(r);return t||xQ.test(r)?OQ(r.slice(2),t?2:8):$Q.test(r)?g_:+r}var BQ=TQ,IQ=BQ,m_=1/0,PQ=17976931348623157e292;function LQ(r){if(!r)return r===0?r:0;if(r=IQ(r),r===m_||r===-m_){var e=r<0?-1:1;return e*PQ}return r===r?r:0}var kQ=LQ,NQ=kQ;function MQ(r){var e=NQ(r),t=e%1;return e===e?t?e-t:e:0}var jQ=MQ,UQ=X$,HQ=_X,GQ=nQ,WQ=cR,zQ=hQ,qQ=T1,VQ=DQ,YQ=iR,KQ=nR,y_=jQ,XQ="Expected a function",D_=1,ZQ=2,Xp=8,Zp=16,Jp=32,E_=64,b_=Math.max;function JQ(r,e,t,s,n,o,a,u){var c=e&ZQ;if(!c&&typeof r!="function")throw new TypeError(XQ);var l=s?s.length:0;if(l||(e&=~(Jp|E_),s=n=void 0),a=a===void 0?a:b_(y_(a),0),u=u===void 0?u:y_(u),l-=n?n.length:0,e&E_){var h=s,d=n;s=n=void 0}var f=c?void 0:qQ(r),p=[r,e,t,s,n,h,d,o,a,u];if(f&&VQ(p,f),r=p[0],e=p[1],t=p[2],s=p[3],n=p[4],u=p[9]=p[9]===void 0?c?0:r.length:b_(p[9]-l,0),!u&&e&(Xp|Zp)&&(e&=~(Xp|Zp)),!e||e==D_)var g=HQ(r,e,t);else e==Xp||e==Zp?g=GQ(r,e,u):(e==Jp||e==(D_|Jp))&&!n.length?g=zQ(r,e,t,s):g=WQ.apply(void 0,p);var m=f?UQ:YQ;return KQ(m(g,p),r,e)}var QQ=JQ,eee=QQ,tee=8;function P1(r,e,t){e=t?void 0:e;var s=eee(r,tee,void 0,void 0,void 0,void 0,void 0,e);return s.placeholder=P1.placeholder,s}P1.placeholder={};var ree=P1;const iee=Qe(ree),lR=(r,e)=>r.replace(/\$\{([^:-]+)(?:(:)?-([^}]*))?\}/g,(t,s,n,o,a)=>e[s]||(o?a:"")),Ag=iee((r,e,t)=>{if(t.npmAuthToken){const s=t.npmRegistryServer||r[`@${e}:registry`];if(s){let n=s.replace(/^https?:/,"");return n.endsWith("/")&&(n=n.slice(0,-1)),{[`${n}/:_authToken`]:lR(t.npmAuthToken,process.env)}}}return null}),w_=(r,e)=>e.npmRegistryServer?{[`@${r}:registry`]:lR(e.npmRegistryServer,process.env)}:null;async function hR(r,e=Pe.readdir){if(r.global)return;const t=(await jS(r,e))?.directoryPath;if(t)return de.join(t,".yarnrc.yml")}const L1=mo(async r=>{const e=await hR(r),t=de.join(Qt.homedir(),".yarnrc.yml"),s=typeof e=="string"&&await Ua(e),n=await Ua(t),o=s?await Pe.readFile(e,"utf-8"):"",a=n?await Pe.readFile(t,"utf-8"):"",u=_g.load(o),c=_g.load(a);let l={...qe(c?.npmScopes||{},w_),...qe(u?.npmScopes||{},w_)};return l={...l,...qe(c?.npmScopes||{},Ag(l)),...qe(u?.npmScopes||{},Ag(l))},s&&(ge(r,`
447
+ `)}var AZ=_Z;function SZ(r){return function(){return r}}var CZ=SZ,FZ=ah,$Z=function(){try{var r=FZ(Object,"defineProperty");return r({},"",{}),r}catch{}}(),RZ=$Z,xZ=CZ,n_=RZ,OZ=F1,TZ=n_?function(r,e){return n_(r,"toString",{configurable:!0,enumerable:!1,value:xZ(e),writable:!0})}:OZ,BZ=TZ,IZ=BZ,PZ=rR,LZ=PZ(IZ),sR=LZ;function kZ(r,e){for(var t=-1,s=r==null?0:r.length;++t<s&&e(r[t],t,r)!==!1;);return r}var NZ=kZ;function MZ(r,e,t,s){for(var n=r.length,o=t+(s?1:-1);s?o--:++o<n;)if(e(r[o],o,r))return o;return-1}var jZ=MZ;function UZ(r){return r!==r}var HZ=UZ;function GZ(r,e,t){for(var s=t-1,n=r.length;++s<n;)if(r[s]===e)return s;return-1}var WZ=GZ,zZ=jZ,qZ=HZ,VZ=WZ;function YZ(r,e,t){return e===e?VZ(r,e,t):zZ(r,qZ,t)}var KZ=YZ,XZ=KZ;function ZZ(r,e){var t=r==null?0:r.length;return!!t&&XZ(r,e,0)>-1}var JZ=ZZ,QZ=NZ,eJ=JZ,tJ=1,rJ=2,iJ=8,sJ=16,nJ=32,oJ=64,aJ=128,uJ=256,cJ=512,lJ=[["ary",aJ],["bind",tJ],["bindKey",rJ],["curry",iJ],["curryRight",sJ],["flip",cJ],["partial",nJ],["partialRight",oJ],["rearg",uJ]];function hJ(r,e){return QZ(lJ,function(t){var s="_."+t[0];e&t[1]&&!eJ(r,s)&&r.push(s)}),r.sort()}var fJ=hJ,dJ=wZ,pJ=AZ,gJ=sR,mJ=fJ;function yJ(r,e,t){var s=e+"";return gJ(r,pJ(s,mJ(dJ(s),t)))}var nR=yJ,DJ=tR,EJ=iR,bJ=nR,wJ=1,vJ=2,_J=4,AJ=8,o_=32,a_=64;function SJ(r,e,t,s,n,o,a,u,c,l){var h=e&AJ,d=h?a:void 0,f=h?void 0:a,p=h?o:void 0,g=h?void 0:o;e|=h?o_:a_,e&=~(h?a_:o_),e&_J||(e&=~(wJ|vJ));var m=[r,e,n,p,d,g,f,u,c,l],E=t.apply(void 0,m);return DJ(r)&&EJ(E,m),E.placeholder=s,bJ(E,r,e)}var oR=SJ;function CJ(r){var e=r;return e.placeholder}var aR=CJ,FJ=9007199254740991,$J=/^(?:0|[1-9]\d*)$/;function RJ(r,e){var t=typeof r;return e=e??FJ,!!e&&(t=="number"||t!="symbol"&&$J.test(r))&&r>-1&&r%1==0&&r<e}var xJ=RJ,OJ=eR,TJ=xJ,BJ=Math.min;function IJ(r,e){for(var t=r.length,s=BJ(e.length,t),n=OJ(r);s--;){var o=e[s];r[s]=TJ(o,t)?n[o]:void 0}return r}var PJ=IJ,u_="__lodash_placeholder__";function LJ(r,e){for(var t=-1,s=r.length,n=0,o=[];++t<s;){var a=r[t];(a===e||a===u_)&&(r[t]=u_,o[n++]=t)}return o}var I1=LJ,kJ=Z$,NJ=J$,MJ=xX,c_=Kh,jJ=oR,UJ=aR,HJ=PJ,GJ=I1,WJ=Ls,zJ=1,qJ=2,VJ=8,YJ=16,KJ=128,XJ=512;function uR(r,e,t,s,n,o,a,u,c,l){var h=e&KJ,d=e&zJ,f=e&qJ,p=e&(VJ|YJ),g=e&XJ,m=f?void 0:c_(r);function E(){for(var D=arguments.length,b=Array(D),w=D;w--;)b[w]=arguments[w];if(p)var v=UJ(E),_=MJ(b,v);if(s&&(b=kJ(b,s,n,p)),o&&(b=NJ(b,o,a,p)),D-=_,p&&D<l){var R=GJ(b,v);return jJ(r,e,uR,E.placeholder,t,b,R,u,c,l-D)}var P=d?t:this,M=f?P[r]:r;return D=b.length,u?b=HJ(b,u):g&&D>1&&b.reverse(),h&&c<D&&(b.length=c),this&&this!==WJ&&this instanceof E&&(M=m||c_(M)),M.apply(P,b)}return E}var cR=uR,ZJ=R1,JJ=Kh,QJ=cR,eQ=oR,tQ=aR,rQ=I1,iQ=Ls;function sQ(r,e,t){var s=JJ(r);function n(){for(var o=arguments.length,a=Array(o),u=o,c=tQ(n);u--;)a[u]=arguments[u];var l=o<3&&a[0]!==c&&a[o-1]!==c?[]:rQ(a,c);if(o-=l.length,o<t)return eQ(r,e,QJ,n.placeholder,void 0,a,l,void 0,void 0,t-o);var h=this&&this!==iQ&&this instanceof n?s:r;return ZJ(h,this,a)}return n}var nQ=sQ,oQ=R1,aQ=Kh,uQ=Ls,cQ=1;function lQ(r,e,t,s){var n=e&cQ,o=aQ(r);function a(){for(var u=-1,c=arguments.length,l=-1,h=s.length,d=Array(h+c),f=this&&this!==uQ&&this instanceof a?o:r;++l<h;)d[l]=s[l];for(;c--;)d[l++]=arguments[++u];return oQ(f,n?t:this,d)}return a}var hQ=lQ,fQ=Z$,dQ=J$,l_=I1,h_="__lodash_placeholder__",Kp=1,pQ=2,gQ=4,f_=8,Da=128,d_=256,mQ=Math.min;function yQ(r,e){var t=r[1],s=e[1],n=t|s,o=n<(Kp|pQ|Da),a=s==Da&&t==f_||s==Da&&t==d_&&r[7].length<=e[8]||s==(Da|d_)&&e[7].length<=e[8]&&t==f_;if(!(o||a))return r;s&Kp&&(r[2]=e[2],n|=t&Kp?0:gQ);var u=e[3];if(u){var c=r[3];r[3]=c?fQ(c,u,e[4]):u,r[4]=c?l_(r[3],h_):e[4]}return u=e[5],u&&(c=r[5],r[5]=c?dQ(c,u,e[6]):u,r[6]=c?l_(r[5],h_):e[6]),u=e[7],u&&(r[7]=u),s&Da&&(r[8]=r[8]==null?e[8]:mQ(r[8],e[8])),r[9]==null&&(r[9]=e[9]),r[0]=e[0],r[1]=n,r}var DQ=yQ,EQ=/\s/;function bQ(r){for(var e=r.length;e--&&EQ.test(r.charAt(e)););return e}var wQ=bQ,vQ=wQ,_Q=/^\s+/;function AQ(r){return r&&r.slice(0,vQ(r)+1).replace(_Q,"")}var SQ=AQ,CQ=SQ,p_=ru,FQ=oh,g_=NaN,$Q=/^[-+]0x[0-9a-f]+$/i,RQ=/^0b[01]+$/i,xQ=/^0o[0-7]+$/i,OQ=parseInt;function TQ(r){if(typeof r=="number")return r;if(FQ(r))return g_;if(p_(r)){var e=typeof r.valueOf=="function"?r.valueOf():r;r=p_(e)?e+"":e}if(typeof r!="string")return r===0?r:+r;r=CQ(r);var t=RQ.test(r);return t||xQ.test(r)?OQ(r.slice(2),t?2:8):$Q.test(r)?g_:+r}var BQ=TQ,IQ=BQ,m_=1/0,PQ=17976931348623157e292;function LQ(r){if(!r)return r===0?r:0;if(r=IQ(r),r===m_||r===-m_){var e=r<0?-1:1;return e*PQ}return r===r?r:0}var kQ=LQ,NQ=kQ;function MQ(r){var e=NQ(r),t=e%1;return e===e?t?e-t:e:0}var jQ=MQ,UQ=X$,HQ=_X,GQ=nQ,WQ=cR,zQ=hQ,qQ=T1,VQ=DQ,YQ=iR,KQ=nR,y_=jQ,XQ="Expected a function",D_=1,ZQ=2,Xp=8,Zp=16,Jp=32,E_=64,b_=Math.max;function JQ(r,e,t,s,n,o,a,u){var c=e&ZQ;if(!c&&typeof r!="function")throw new TypeError(XQ);var l=s?s.length:0;if(l||(e&=~(Jp|E_),s=n=void 0),a=a===void 0?a:b_(y_(a),0),u=u===void 0?u:y_(u),l-=n?n.length:0,e&E_){var h=s,d=n;s=n=void 0}var f=c?void 0:qQ(r),p=[r,e,t,s,n,h,d,o,a,u];if(f&&VQ(p,f),r=p[0],e=p[1],t=p[2],s=p[3],n=p[4],u=p[9]=p[9]===void 0?c?0:r.length:b_(p[9]-l,0),!u&&e&(Xp|Zp)&&(e&=~(Xp|Zp)),!e||e==D_)var g=HQ(r,e,t);else e==Xp||e==Zp?g=GQ(r,e,u):(e==Jp||e==(D_|Jp))&&!n.length?g=zQ(r,e,t,s):g=WQ.apply(void 0,p);var m=f?UQ:YQ;return KQ(m(g,p),r,e)}var QQ=JQ,eee=QQ,tee=8;function P1(r,e,t){e=t?void 0:e;var s=eee(r,tee,void 0,void 0,void 0,void 0,void 0,e);return s.placeholder=P1.placeholder,s}P1.placeholder={};var ree=P1;const iee=Qe(ree),lR=(r,e)=>r.replace(/\$\{([^:-]+)(?:(:)?-([^}]*))?\}/g,(t,s,n,o,a)=>e[s]||(o?a:"")),Ag=iee((r,e,t)=>{if(t.npmAuthToken){const s=t.npmRegistryServer||r[`@${e}:registry`];if(s){let n=s.replace(/^https?:/,"");return n.endsWith("/")&&(n=n.slice(0,-1)),{[`${n}/:_authToken`]:lR(t.npmAuthToken,process.env)}}}return null}),w_=(r,e)=>e.npmRegistryServer?{[`@${r}:registry`]:lR(e.npmRegistryServer,process.env)}:null;async function hR(r,e=Pe.readdir){if(r.global)return;const t=(await jS(r,e))?.directoryPath;if(t)return de.join(t,".yarnrc.yml")}const L1=mo(async r=>{const e=await hR(r),t=de.join(Qt.homedir(),".yarnrc.yml"),s=typeof e=="string"&&await Ua(e),n=await Ua(t),o=s?await Pe.readFile(e,"utf-8"):"",a=n?await Pe.readFile(t,"utf-8"):"",u=_g.load(o),c=_g.load(a);let l={...He(c?.npmScopes||{},w_),...He(u?.npmScopes||{},w_)};return l={...l,...He(c?.npmScopes||{},Ag(l)),...He(u?.npmScopes||{},Ag(l))},s&&(ge(r,`
448
448
  Using local yarn config at ${e}:`,"verbose"),ge(r,u,"verbose")),n&&(ge(r,`
449
449
  Using user yarn config at ${t}:`,"verbose"),ge(r,u,"verbose")),Object.keys(l)&&(ge(r,`
450
- Merged yarn config in npm format:`,"verbose"),ge(r,l,"verbose")),l});function see(r){return new Promise((e,t)=>{const s={},n=C1.parse();n.on("data",o=>{if(o.type==="info"&&!o.data.match(/^Visit/)){const[,a,u]=o.data.match(/"(@?.*)@(.*)"/)||[];s[a]={version:u,from:a}}else o.type==="error"&&t(new Error(o.data))}),n.on("end",()=>{e({dependencies:s})}),n.on("error",t),n.write(r),n.end()})}async function k1(r,e={},t={},s={}){const n=process.platform==="win32"?"yarn.cmd":"yarn",o=[...e.global?["global"]:[],...e.prefix?[`--prefix=${e.prefix}`]:[],"--depth=0","--json","--no-progress",...Array.isArray(r)?r:[r]],{stdout:a}=await Ir(n,o,t,s);return a}async function nee(r){if(r.prefix)return Promise.resolve(r.prefix);const e=process.platform==="win32"?"yarn.cmd":"yarn",{stdout:t}=await Ir(e,["global","dir"]).catch(()=>({stdout:null}));return r.global&&t&&t.match("Cellar")?"/usr/local":process.platform==="win32"&&r.global&&!process.env.prefix?t?t.trim():`${process.env.LOCALAPPDATA}\\Yarn\\Data\\global`:null}const oee=async(r={},e)=>{const t=await k1("list",r,{},{...r.cwd?{cwd:r.cwd}:{},...e}),s=await see(t);return qe(s.dependencies,(o,a)=>({[o]:a.version||a.required?.version}))},yn=r=>async(e,t,s={})=>r(e,t,s,await L1(s)),aee=yn(Hh),uee=yn(Su),cee=yn(Gh),lee=yn(zh),hee=yn(Wh),fee=yn(qh),dee=yn(Vh),pee=async(r,e,t={})=>Uh(r,e,t,await L1(t)),gee=async(r,e,t,s={})=>Nh(r,e,t,s,await L1(s)),mee=Object.freeze(Object.defineProperty({__proto__:null,default:k1,defaultPrefix:nee,distTag:aee,getEngines:pee,getPathToLookForYarnrc:hR,getPeerDependencies:jh,greatest:uee,latest:cee,list:oee,minor:lee,newest:hee,npmAuthTokenKeyValue:Ag,packageAuthorChanged:gee,patch:fee,semver:dee},Symbol.toStringTag,{value:"Module"}));function ze(r,e,{color:t=!0}={}){if(r.cli)ge(r,t?W.red(e):e,null,"error"),process.exit(1);else throw new Error(e)}const N1=async(r,e)=>{let t,s;try{s=await Pe.readFile(e,"utf-8"),t=JSON.parse(s)}catch{ze(r,`Missing or invalid ${e}`)}return{name:void 0,pkg:t,pkgFile:s,filepath:e}},yee={dev:"devDependencies",peer:"peerDependencies",prod:"dependencies",optional:"optionalDependencies"},M1=r=>(r?typeof r=="string"?r.split(","):r:As.dep.default).map(s=>yee[s]||s);function Dee(r){return r.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}async function fR(r,e,t,s){const n=[...M1(s.dep),"overrides"],o=new RegExp(`"(${n.join("|")})"s*:[^}]*`,"g");let a=r.replace(o,u=>(Object.keys(t).forEach(c=>{const l=`"${c}"\\s*:\\s*("|{\\s*"."\\s*:\\s*")(${Dee(e[c])})"`,h=new RegExp(l,"g");u=u.replace(h,(d,f)=>`"${c}${f?`": ${f}`:": "}${t[c]}"`)}),u));if(n.includes("packageManager")){const u=JSON.parse(r);if(u.packageManager){const[c]=u.packageManager.split("@");t[c]&&(a=a.replace(/"packageManager"\s*:\s*".*?@[^"]*"/,`"packageManager": "${c}@${t[c]}"`))}}return a}const rl=(r,e,t,{spawnOptions:s,spawnPleaseOptions:n}={})=>{t&&console.log(W.blue([e.packageManager,...r].join(" ")));const o={cwd:e.cwd||process.cwd(),env:{...process.env,...e.packageManager!=="pnpm"?{CI:"1"}:null,FORCE_COLOR:"1",...s?.env},...s},a={...e.global?{global:!0}:null,...e.prefix?{prefix:e.prefix}:null};return(e.packageManager==="pnpm"?$$:e.packageManager==="yarn"?k1:e.packageManager==="bun"?A1:Mh)(r,a,n,o)},Eee=async r=>{(r.packageData||r.packageFile)&&(console.error('--packageData and --packageFile are not allowed with --doctor. You must execute "ncu --doctor" in a directory with a package file so it can install dependencies and test them.'),process.exit(1));let e;try{e=await N1(r,"package.json")}catch{console.error("Missing or invalid package.json"),process.exit(1)}return!r.doctorTest&&!e.pkg.scripts?.test&&(console.error('No npm "test" script defined. You must define a "test" script in the "scripts" section of your package.json to use --doctor.'),process.exit(1)),e},bee=async(r,e)=>{await om();const t=e.packageManager==="yarn"?"yarn.lock":e.packageManager==="pnpm"?"pnpm-lock.yaml":e.packageManager==="bun"?"bun.lockb":"package-lock.json",{pkg:s,pkgFile:n}=await Eee(e),o={...s.dependencies,...s.devDependencies,...s.optionalDependencies},a=async()=>{if(e.doctorInstall){const[d,...f]=e.doctorInstall.split(" ");console.log(W.blue(e.doctorInstall)),await Ir(d,f)}else await rl(["install"],{packageManager:e.packageManager},!0)},u=async()=>{const d={stderr:f=>{console.error(W.red(f.toString()))},stdout:f=>{process.stdout.write(f.toString())}};if(e.doctorTest){const f=/"(.+?)"|'(.+?)'|[^ ]+/g,p=e.doctorTest.matchAll(f);let g=[];for(const D of p)g=[...g,D[2]||D[1]||D[0]];const[m,...E]=g;console.log(W.blue(e.doctorTest)),await Ir(m,E,d)}else await rl(["run","test"],{packageManager:e.packageManager},!0,{spawnPleaseOptions:d})};console.log("Running tests before upgrading"),await a();let c="";try{c=await Pe.readFile(t,"utf-8")}catch{}try{await u()}catch{console.error("Tests failed before we even got started!"),process.exit(1)}e.interactive||console.log("Upgrading all dependencies and re-running tests"),console.log(W.blue("ncu "+process.argv.slice(2).filter(d=>d!=="--doctor").join(" "))),process.env.NCU_DOCTOR="1";const l=await r({...e,silent:!0,doctor:!1});if(Object.keys(l||{}).length===0){console.log("All dependencies are up-to-date "+W.green.bold(":)"));return}let h=!1;try{await a(),h=!0,await u(),console.log(`${W.green("✓")} Tests pass`),await Cm(e,{current:o,upgraded:l,total:Object.keys(l||{}).length}),console.log(`
450
+ Merged yarn config in npm format:`,"verbose"),ge(r,l,"verbose")),l});function see(r){return new Promise((e,t)=>{const s={},n=C1.parse();n.on("data",o=>{if(o.type==="info"&&!o.data.match(/^Visit/)){const[,a,u]=o.data.match(/"(@?.*)@(.*)"/)||[];s[a]={version:u,from:a}}else o.type==="error"&&t(new Error(o.data))}),n.on("end",()=>{e({dependencies:s})}),n.on("error",t),n.write(r),n.end()})}async function k1(r,e={},t={},s={}){const n=process.platform==="win32"?"yarn.cmd":"yarn",o=[...e.global?["global"]:[],...e.prefix?[`--prefix=${e.prefix}`]:[],"--depth=0","--json","--no-progress",...Array.isArray(r)?r:[r]],{stdout:a}=await Ir(n,o,t,s);return a}async function nee(r){if(r.prefix)return Promise.resolve(r.prefix);const e=process.platform==="win32"?"yarn.cmd":"yarn",{stdout:t}=await Ir(e,["global","dir"]).catch(()=>({stdout:null}));return r.global&&t&&t.match("Cellar")?"/usr/local":process.platform==="win32"&&r.global&&!process.env.prefix?t?t.trim():`${process.env.LOCALAPPDATA}\\Yarn\\Data\\global`:null}const oee=async(r={},e)=>{const t=await k1("list",r,{},{...r.cwd?{cwd:r.cwd}:{},...e}),s=await see(t);return He(s.dependencies,(o,a)=>({[o]:a.version||a.required?.version}))},yn=r=>async(e,t,s={})=>r(e,t,s,await L1(s)),aee=yn(Hh),uee=yn(Su),cee=yn(Gh),lee=yn(zh),hee=yn(Wh),fee=yn(qh),dee=yn(Vh),pee=async(r,e,t={})=>Uh(r,e,t,await L1(t)),gee=async(r,e,t,s={})=>Nh(r,e,t,s,await L1(s)),mee=Object.freeze(Object.defineProperty({__proto__:null,default:k1,defaultPrefix:nee,distTag:aee,getEngines:pee,getPathToLookForYarnrc:hR,getPeerDependencies:jh,greatest:uee,latest:cee,list:oee,minor:lee,newest:hee,npmAuthTokenKeyValue:Ag,packageAuthorChanged:gee,patch:fee,semver:dee},Symbol.toStringTag,{value:"Module"}));function qe(r,e,{color:t=!0}={}){if(r.cli)ge(r,t?W.red(e):e,null,"error"),process.exit(1);else throw new Error(e)}const N1=async(r,e)=>{let t,s;try{s=await Pe.readFile(e,"utf-8"),t=JSON.parse(s)}catch{qe(r,`Missing or invalid ${e}`)}return{name:void 0,pkg:t,pkgFile:s,filepath:e}},yee={dev:"devDependencies",peer:"peerDependencies",prod:"dependencies",optional:"optionalDependencies"},M1=r=>(r?typeof r=="string"?r.split(","):r:As.dep.default).map(s=>yee[s]||s);function Dee(r){return r.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}async function fR(r,e,t,s){const n=[...M1(s.dep),"overrides"],o=new RegExp(`"(${n.join("|")})"s*:[^}]*`,"g");let a=r.replace(o,u=>(Object.keys(t).forEach(c=>{const l=`"${c}"\\s*:\\s*("|{\\s*"."\\s*:\\s*")(${Dee(e[c])})"`,h=new RegExp(l,"g");u=u.replace(h,(d,f)=>`"${c}${f?`": ${f}`:": "}${t[c]}"`)}),u));if(n.includes("packageManager")){const u=JSON.parse(r);if(u.packageManager){const[c]=u.packageManager.split("@");t[c]&&(a=a.replace(/"packageManager"\s*:\s*".*?@[^"]*"/,`"packageManager": "${c}@${t[c]}"`))}}return a}const rl=(r,e,t,{spawnOptions:s,spawnPleaseOptions:n}={})=>{t&&console.log(W.blue([e.packageManager,...r].join(" ")));const o={cwd:e.cwd||process.cwd(),env:{...process.env,...e.packageManager!=="pnpm"?{CI:"1"}:null,FORCE_COLOR:"1",...s?.env},...s},a={...e.global?{global:!0}:null,...e.prefix?{prefix:e.prefix}:null};return(e.packageManager==="pnpm"?$$:e.packageManager==="yarn"?k1:e.packageManager==="bun"?A1:Mh)(r,a,n,o)},Eee=async r=>{(r.packageData||r.packageFile)&&(console.error('--packageData and --packageFile are not allowed with --doctor. You must execute "ncu --doctor" in a directory with a package file so it can install dependencies and test them.'),process.exit(1));let e;try{e=await N1(r,"package.json")}catch{console.error("Missing or invalid package.json"),process.exit(1)}return!r.doctorTest&&!e.pkg.scripts?.test&&(console.error('No npm "test" script defined. You must define a "test" script in the "scripts" section of your package.json to use --doctor.'),process.exit(1)),e},bee=async(r,e)=>{await om();const t=e.packageManager==="yarn"?"yarn.lock":e.packageManager==="pnpm"?"pnpm-lock.yaml":e.packageManager==="bun"?"bun.lockb":"package-lock.json",{pkg:s,pkgFile:n}=await Eee(e),o={...s.dependencies,...s.devDependencies,...s.optionalDependencies},a=async()=>{if(e.doctorInstall){const[d,...f]=e.doctorInstall.split(" ");console.log(W.blue(e.doctorInstall)),await Ir(d,f)}else await rl(["install"],{packageManager:e.packageManager},!0)},u=async()=>{const d={stderr:f=>{console.error(W.red(f.toString()))},stdout:f=>{process.stdout.write(f.toString())}};if(e.doctorTest){const f=/"(.+?)"|'(.+?)'|[^ ]+/g,p=e.doctorTest.matchAll(f);let g=[];for(const D of p)g=[...g,D[2]||D[1]||D[0]];const[m,...E]=g;console.log(W.blue(e.doctorTest)),await Ir(m,E,d)}else await rl(["run","test"],{packageManager:e.packageManager},!0,{spawnPleaseOptions:d})};console.log("Running tests before upgrading"),await a();let c="";try{c=await Pe.readFile(t,"utf-8")}catch{}try{await u()}catch{console.error("Tests failed before we even got started!"),process.exit(1)}e.interactive||console.log("Upgrading all dependencies and re-running tests"),console.log(W.blue("ncu "+process.argv.slice(2).filter(d=>d!=="--doctor").join(" "))),process.env.NCU_DOCTOR="1";const l=await r({...e,silent:!0,doctor:!1});if(Object.keys(l||{}).length===0){console.log("All dependencies are up-to-date "+W.green.bold(":)"));return}let h=!1;try{await a(),h=!0,await u(),console.log(`${W.green("✓")} Tests pass`),await Cm(e,{current:o,upgraded:l,total:Object.keys(l||{}).length}),console.log(`
451
451
  ${e.interactive?"Chosen":"All"} dependencies upgraded and installed ${W.green(":)")}`)}catch{console.error(W.red(h?"Tests failed":"Install failed")),console.log("Identifying broken dependencies"),await Pe.writeFile("package.json",n),c?await Pe.writeFile(t,c):await Pe.rm(t,{recursive:!0,force:!0});let d=n;if(h)try{await a()}catch{const m=(e.packageManager||"npm")+" install";throw new Error(`Error: Doctor mode was about to test individual upgrades, but ${W.cyan(m)} failed after rolling back to your existing package and lock files. This is unexpected since the initial install before any upgrades succeeded. Either npm failed to revert a partial install, or failed anomalously on the second run. Please check your internet connection and retry. If doctor mode fails consistently, report a bug with your complete list of dependency versions at https://github.com/raineorshine/npm-check-updates/issues.`)}let f,p;for([f,p]of Object.entries(l))try{if(await rl([...e.packageManager==="yarn"||e.packageManager==="pnpm"||e.packageManager==="bun"?["add"]:["install","--no-save"],`${f}@${p}`],{packageManager:e.packageManager},!0),s.scripts?.prepare)try{await rl(["run","prepare"],{packageManager:e.packageManager},!0)}catch(g){throw console.error(W.red("Prepare script failed")),g}await u(),console.log(` ${W.green("✓")} ${f} ${o[f]} → ${p}`),d=await fR(d,{[f]:o[f]},{[f]:p},e),c=await Pe.readFile(t,"utf-8")}catch(g){console.error(` ${W.red("✗")} ${f} ${o[f]} → ${p}
452
- `),console.error(W.red(g)),await Pe.writeFile(t,c),(e.packageManager==="yarn"||e.packageManager==="pnpm"||e.packageManager==="bun")&&await Pe.writeFile("package.json",d)}d!==n&&(console.log("Saving partially upgraded package.json"),await Pe.writeFile("package.json",d)),await a()}};async function Sg(r){let e,t=null;const s=r.packageFile||"package.json";function n(a,u){if(a!=null){const c=de.resolve(a);ge(r,`${r.upgrade?"Upgrading":"Checking"} ${c}`)}else ze(r,`${W.red(`No ${u}`)}
452
+ `),console.error(W.red(g)),await Pe.writeFile(t,c),(e.packageManager==="yarn"||e.packageManager==="pnpm"||e.packageManager==="bun")&&await Pe.writeFile("package.json",d)}d!==n&&(console.log("Saving partially upgraded package.json"),await Pe.writeFile("package.json",d)),await a()}};async function Sg(r){let e,t=null;const s=r.packageFile||"package.json";function n(a,u){if(a!=null){const c=de.resolve(a);ge(r,`${r.upgrade?"Upgrading":"Checking"} ${c}`)}else qe(r,`${W.red(`No ${u}`)}
453
453
 
454
- Please add a ${u} to the current directory, specify the ${W.cyan("--packageFile")} or ${W.cyan("--packageData")} options, or pipe a ${u} to stdin and specify ${W.cyan("--stdin")}.`,{color:!1});return Pe.readFile(a,"utf-8").catch(c=>{ze(r,c)})}if(ge(r,"Running in local mode","verbose"),ge(r,"Finding package file data","verbose"),r.packageData)t=null,e=Promise.resolve(r.packageData);else if(r.packageFile)t=r.packageFile,e=n(t,s);else if(r.stdin){ge(r,"Waiting for package data on stdin","verbose");const a=await Lx.text(process.stdin),u=a.trim().length>0?a:null;t=u||!s?null:await Ml(s),e=u||n(await t,s)}else t=s?await Ml(!r.packageFile&&r.packageManager==="deno"?["deno.json","deno.jsonc"]:s,{cwd:r.cwd||process.cwd()}):null,e=n(t,s);return{pkgData:await e,pkgFile:t||null,pkgPath:s}}var Wt={},Je={},io={};Object.defineProperty(io,"__esModule",{value:!0});io.splitWhen=io.flatten=void 0;function wee(r){return r.reduce((e,t)=>[].concat(e,t),[])}io.flatten=wee;function vee(r,e){const t=[[]];let s=0;for(const n of r)e(n)?(s++,t[s]=[]):t[s].push(n);return t}io.splitWhen=vee;var Xh={};Object.defineProperty(Xh,"__esModule",{value:!0});Xh.isEnoentCodeError=void 0;function _ee(r){return r.code==="ENOENT"}Xh.isEnoentCodeError=_ee;var Zh={};Object.defineProperty(Zh,"__esModule",{value:!0});Zh.createDirentFromStats=void 0;let Aee=class{constructor(e,t){this.name=e,this.isBlockDevice=t.isBlockDevice.bind(t),this.isCharacterDevice=t.isCharacterDevice.bind(t),this.isDirectory=t.isDirectory.bind(t),this.isFIFO=t.isFIFO.bind(t),this.isFile=t.isFile.bind(t),this.isSocket=t.isSocket.bind(t),this.isSymbolicLink=t.isSymbolicLink.bind(t)}};function See(r,e){return new Aee(r,e)}Zh.createDirentFromStats=See;var ft={};Object.defineProperty(ft,"__esModule",{value:!0});ft.convertPosixPathToPattern=ft.convertWindowsPathToPattern=ft.convertPathToPattern=ft.escapePosixPath=ft.escapeWindowsPath=ft.escape=ft.removeLeadingDotSegment=ft.makeAbsolute=ft.unixify=void 0;const Cee=Qt,Fee=de,dR=Cee.platform()==="win32",$ee=2,Ree=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g,xee=/(\\?)([()[\]{}]|^!|[!+@](?=\())/g,Oee=/^\\\\([.?])/,Tee=/\\(?![!()+@[\]{}])/g;function Bee(r){return r.replace(/\\/g,"/")}ft.unixify=Bee;function Iee(r,e){return Fee.resolve(r,e)}ft.makeAbsolute=Iee;function Pee(r){if(r.charAt(0)==="."){const e=r.charAt(1);if(e==="/"||e==="\\")return r.slice($ee)}return r}ft.removeLeadingDotSegment=Pee;ft.escape=dR?j1:U1;function j1(r){return r.replace(xee,"\\$2")}ft.escapeWindowsPath=j1;function U1(r){return r.replace(Ree,"\\$2")}ft.escapePosixPath=U1;ft.convertPathToPattern=dR?pR:gR;function pR(r){return j1(r).replace(Oee,"//$1").replace(Tee,"/")}ft.convertWindowsPathToPattern=pR;function gR(r){return U1(r)}ft.convertPosixPathToPattern=gR;var Ae={};/*!
454
+ Please add a ${u} to the current directory, specify the ${W.cyan("--packageFile")} or ${W.cyan("--packageData")} options, or pipe a ${u} to stdin and specify ${W.cyan("--stdin")}.`,{color:!1});return Pe.readFile(a,"utf-8").catch(c=>{qe(r,c)})}if(ge(r,"Running in local mode","verbose"),ge(r,"Finding package file data","verbose"),r.packageData)t=null,e=Promise.resolve(r.packageData);else if(r.packageFile)t=r.packageFile,e=n(t,s);else if(r.stdin){ge(r,"Waiting for package data on stdin","verbose");const a=await Lx.text(process.stdin),u=a.trim().length>0?a:null;t=u||!s?null:await Ml(s),e=u||n(await t,s)}else t=s?await Ml(!r.packageFile&&r.packageManager==="deno"?["deno.json","deno.jsonc"]:s,{cwd:r.cwd||process.cwd()}):null,e=n(t,s);return{pkgData:await e,pkgFile:t||null,pkgPath:s}}var Wt={},Je={},io={};Object.defineProperty(io,"__esModule",{value:!0});io.splitWhen=io.flatten=void 0;function wee(r){return r.reduce((e,t)=>[].concat(e,t),[])}io.flatten=wee;function vee(r,e){const t=[[]];let s=0;for(const n of r)e(n)?(s++,t[s]=[]):t[s].push(n);return t}io.splitWhen=vee;var Xh={};Object.defineProperty(Xh,"__esModule",{value:!0});Xh.isEnoentCodeError=void 0;function _ee(r){return r.code==="ENOENT"}Xh.isEnoentCodeError=_ee;var Zh={};Object.defineProperty(Zh,"__esModule",{value:!0});Zh.createDirentFromStats=void 0;let Aee=class{constructor(e,t){this.name=e,this.isBlockDevice=t.isBlockDevice.bind(t),this.isCharacterDevice=t.isCharacterDevice.bind(t),this.isDirectory=t.isDirectory.bind(t),this.isFIFO=t.isFIFO.bind(t),this.isFile=t.isFile.bind(t),this.isSocket=t.isSocket.bind(t),this.isSymbolicLink=t.isSymbolicLink.bind(t)}};function See(r,e){return new Aee(r,e)}Zh.createDirentFromStats=See;var ft={};Object.defineProperty(ft,"__esModule",{value:!0});ft.convertPosixPathToPattern=ft.convertWindowsPathToPattern=ft.convertPathToPattern=ft.escapePosixPath=ft.escapeWindowsPath=ft.escape=ft.removeLeadingDotSegment=ft.makeAbsolute=ft.unixify=void 0;const Cee=Qt,Fee=de,dR=Cee.platform()==="win32",$ee=2,Ree=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g,xee=/(\\?)([()[\]{}]|^!|[!+@](?=\())/g,Oee=/^\\\\([.?])/,Tee=/\\(?![!()+@[\]{}])/g;function Bee(r){return r.replace(/\\/g,"/")}ft.unixify=Bee;function Iee(r,e){return Fee.resolve(r,e)}ft.makeAbsolute=Iee;function Pee(r){if(r.charAt(0)==="."){const e=r.charAt(1);if(e==="/"||e==="\\")return r.slice($ee)}return r}ft.removeLeadingDotSegment=Pee;ft.escape=dR?j1:U1;function j1(r){return r.replace(xee,"\\$2")}ft.escapeWindowsPath=j1;function U1(r){return r.replace(Ree,"\\$2")}ft.escapePosixPath=U1;ft.convertPathToPattern=dR?pR:gR;function pR(r){return j1(r).replace(Oee,"//$1").replace(Tee,"/")}ft.convertWindowsPathToPattern=pR;function gR(r){return U1(r)}ft.convertPosixPathToPattern=gR;var Ae={};/*!
455
455
  * is-extglob <https://github.com/jonschlinkert/is-extglob>
456
456
  *
457
457
  * Copyright (c) 2014-2016, Jon Schlinkert.
@@ -477,7 +477,7 @@ Please add a ${u} to the current directory, specify the ${W.cyan("--packageFile"
477
477
  * Copyright (c) 2014-present, Jon Schlinkert.
478
478
  * Licensed under the MIT License.
479
479
  */const ste=rs,yR=ite,x_=r=>r!==null&&typeof r=="object"&&!Array.isArray(r),nte=r=>e=>r===!0?Number(e):String(e),t0=r=>typeof r=="number"||typeof r=="string"&&r!=="",Na=r=>Number.isInteger(+r),r0=r=>{let e=`${r}`,t=-1;if(e[0]==="-"&&(e=e.slice(1)),e==="0")return!1;for(;e[++t]==="0";);return t>0},ote=(r,e,t)=>typeof r=="string"||typeof e=="string"?!0:t.stringify===!0,ate=(r,e,t)=>{if(e>0){let s=r[0]==="-"?"-":"";s&&(r=r.slice(1)),r=s+r.padStart(s?e-1:e,"0")}return t===!1?String(r):r},O_=(r,e)=>{let t=r[0]==="-"?"-":"";for(t&&(r=r.slice(1),e--);r.length<e;)r="0"+r;return t?"-"+r:r},ute=(r,e)=>{r.negatives.sort((a,u)=>a<u?-1:a>u?1:0),r.positives.sort((a,u)=>a<u?-1:a>u?1:0);let t=e.capture?"":"?:",s="",n="",o;return r.positives.length&&(s=r.positives.join("|")),r.negatives.length&&(n=`-(${t}${r.negatives.join("|")})`),s&&n?o=`${s}|${n}`:o=s||n,e.wrap?`(${t}${o})`:o},DR=(r,e,t,s)=>{if(t)return yR(r,e,{wrap:!1,...s});let n=String.fromCharCode(r);if(r===e)return n;let o=String.fromCharCode(e);return`[${n}-${o}]`},ER=(r,e,t)=>{if(Array.isArray(r)){let s=t.wrap===!0,n=t.capture?"":"?:";return s?`(${n}${r.join("|")})`:r.join("|")}return yR(r,e,t)},bR=(...r)=>new RangeError("Invalid range arguments: "+ste.inspect(...r)),wR=(r,e,t)=>{if(t.strictRanges===!0)throw bR([r,e]);return[]},cte=(r,e)=>{if(e.strictRanges===!0)throw new TypeError(`Expected step "${r}" to be a number`);return[]},lte=(r,e,t=1,s={})=>{let n=Number(r),o=Number(e);if(!Number.isInteger(n)||!Number.isInteger(o)){if(s.strictRanges===!0)throw bR([r,e]);return[]}n===0&&(n=0),o===0&&(o=0);let a=n>o,u=String(r),c=String(e),l=String(t);t=Math.max(Math.abs(t),1);let h=r0(u)||r0(c)||r0(l),d=h?Math.max(u.length,c.length,l.length):0,f=h===!1&&ote(r,e,s)===!1,p=s.transform||nte(f);if(s.toRegex&&t===1)return DR(O_(r,d),O_(e,d),!0,s);let g={negatives:[],positives:[]},m=b=>g[b<0?"negatives":"positives"].push(Math.abs(b)),E=[],D=0;for(;a?n>=o:n<=o;)s.toRegex===!0&&t>1?m(n):E.push(ate(p(n,D),d,f)),n=a?n-t:n+t,D++;return s.toRegex===!0?t>1?ute(g,s):ER(E,null,{wrap:!1,...s}):E},hte=(r,e,t=1,s={})=>{if(!Na(r)&&r.length>1||!Na(e)&&e.length>1)return wR(r,e,s);let n=s.transform||(f=>String.fromCharCode(f)),o=`${r}`.charCodeAt(0),a=`${e}`.charCodeAt(0),u=o>a,c=Math.min(o,a),l=Math.max(o,a);if(s.toRegex&&t===1)return DR(c,l,!1,s);let h=[],d=0;for(;u?o>=a:o<=a;)h.push(n(o,d)),o=u?o-t:o+t,d++;return s.toRegex===!0?ER(h,null,{wrap:!1,options:s}):h},vl=(r,e,t,s={})=>{if(e==null&&t0(r))return[r];if(!t0(r)||!t0(e))return wR(r,e,s);if(typeof t=="function")return vl(r,e,1,{transform:t});if(x_(t))return vl(r,e,0,t);let n={...s};return n.capture===!0&&(n.wrap=!0),t=t||n.step||1,Na(t)?Na(r)&&Na(e)?lte(r,e,t,n):hte(r,e,Math.max(Math.abs(t),1),n):t!=null&&!x_(t)?cte(t,n):vl(r,e,1,t)};var vR=vl;const fte=vR,T_=Jh,dte=(r,e={})=>{let t=(s,n={})=>{let o=T_.isInvalidBrace(n),a=s.invalid===!0&&e.escapeInvalid===!0,u=o===!0||a===!0,c=e.escapeInvalid===!0?"\\":"",l="";if(s.isOpen===!0||s.isClose===!0)return c+s.value;if(s.type==="open")return u?c+s.value:"(";if(s.type==="close")return u?c+s.value:")";if(s.type==="comma")return s.prev.type==="comma"?"":u?s.value:"|";if(s.value)return s.value;if(s.nodes&&s.ranges>0){let h=T_.reduce(s.nodes),d=fte(...h,{...e,wrap:!1,toRegex:!0});if(d.length!==0)return h.length>1&&d.length>1?`(${d})`:d}if(s.nodes)for(let h of s.nodes)l+=t(h,s);return l};return t(r)};var pte=dte;const gte=vR,B_=H1,Wn=Jh,en=(r="",e="",t=!1)=>{let s=[];if(r=[].concat(r),e=[].concat(e),!e.length)return r;if(!r.length)return t?Wn.flatten(e).map(n=>`{${n}}`):e;for(let n of r)if(Array.isArray(n))for(let o of n)s.push(en(o,e,t));else for(let o of e)t===!0&&typeof o=="string"&&(o=`{${o}}`),s.push(Array.isArray(o)?en(n,o,t):n+o);return Wn.flatten(s)},mte=(r,e={})=>{let t=e.rangeLimit===void 0?1e3:e.rangeLimit,s=(n,o={})=>{n.queue=[];let a=o,u=o.queue;for(;a.type!=="brace"&&a.type!=="root"&&a.parent;)a=a.parent,u=a.queue;if(n.invalid||n.dollar){u.push(en(u.pop(),B_(n,e)));return}if(n.type==="brace"&&n.invalid!==!0&&n.nodes.length===2){u.push(en(u.pop(),["{}"]));return}if(n.nodes&&n.ranges>0){let d=Wn.reduce(n.nodes);if(Wn.exceedsLimit(...d,e.step,t))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let f=gte(...d,e);f.length===0&&(f=B_(n,e)),u.push(en(u.pop(),f)),n.nodes=[];return}let c=Wn.encloseBrace(n),l=n.queue,h=n;for(;h.type!=="brace"&&h.type!=="root"&&h.parent;)h=h.parent,l=h.queue;for(let d=0;d<n.nodes.length;d++){let f=n.nodes[d];if(f.type==="comma"&&n.type==="brace"){d===1&&l.push(""),l.push("");continue}if(f.type==="close"){u.push(en(u.pop(),l,c));continue}if(f.value&&f.type!=="open"){l.push(en(l.pop(),f.value));continue}f.nodes&&s(f,n)}return l};return Wn.flatten(s(r))};var yte=mte,Dte={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:`
480
- `,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"};const Ete=H1,{MAX_LENGTH:I_,CHAR_BACKSLASH:i0,CHAR_BACKTICK:bte,CHAR_COMMA:wte,CHAR_DOT:vte,CHAR_LEFT_PARENTHESES:_te,CHAR_RIGHT_PARENTHESES:Ate,CHAR_LEFT_CURLY_BRACE:Ste,CHAR_RIGHT_CURLY_BRACE:Cte,CHAR_LEFT_SQUARE_BRACKET:P_,CHAR_RIGHT_SQUARE_BRACKET:L_,CHAR_DOUBLE_QUOTE:Fte,CHAR_SINGLE_QUOTE:$te,CHAR_NO_BREAK_SPACE:Rte,CHAR_ZERO_WIDTH_NOBREAK_SPACE:xte}=Dte,Ote=(r,e={})=>{if(typeof r!="string")throw new TypeError("Expected a string");let t=e||{},s=typeof t.maxLength=="number"?Math.min(I_,t.maxLength):I_;if(r.length>s)throw new SyntaxError(`Input length (${r.length}), exceeds max characters (${s})`);let n={type:"root",input:r,nodes:[]},o=[n],a=n,u=n,c=0,l=r.length,h=0,d=0,f;const p=()=>r[h++],g=m=>{if(m.type==="text"&&u.type==="dot"&&(u.type="text"),u&&u.type==="text"&&m.type==="text"){u.value+=m.value;return}return a.nodes.push(m),m.parent=a,m.prev=u,u=m,m};for(g({type:"bos"});h<l;)if(a=o[o.length-1],f=p(),!(f===xte||f===Rte)){if(f===i0){g({type:"text",value:(e.keepEscaping?f:"")+p()});continue}if(f===L_){g({type:"text",value:"\\"+f});continue}if(f===P_){c++;let m;for(;h<l&&(m=p());){if(f+=m,m===P_){c++;continue}if(m===i0){f+=p();continue}if(m===L_&&(c--,c===0))break}g({type:"text",value:f});continue}if(f===_te){a=g({type:"paren",nodes:[]}),o.push(a),g({type:"text",value:f});continue}if(f===Ate){if(a.type!=="paren"){g({type:"text",value:f});continue}a=o.pop(),g({type:"text",value:f}),a=o[o.length-1];continue}if(f===Fte||f===$te||f===bte){let m=f,E;for(e.keepQuotes!==!0&&(f="");h<l&&(E=p());){if(E===i0){f+=E+p();continue}if(E===m){e.keepQuotes===!0&&(f+=E);break}f+=E}g({type:"text",value:f});continue}if(f===Ste){d++;let E={type:"brace",open:!0,close:!1,dollar:u.value&&u.value.slice(-1)==="$"||a.dollar===!0,depth:d,commas:0,ranges:0,nodes:[]};a=g(E),o.push(a),g({type:"open",value:f});continue}if(f===Cte){if(a.type!=="brace"){g({type:"text",value:f});continue}let m="close";a=o.pop(),a.close=!0,g({type:m,value:f}),d--,a=o[o.length-1];continue}if(f===wte&&d>0){if(a.ranges>0){a.ranges=0;let m=a.nodes.shift();a.nodes=[m,{type:"text",value:Ete(a)}]}g({type:"comma",value:f}),a.commas++;continue}if(f===vte&&d>0&&a.commas===0){let m=a.nodes;if(d===0||m.length===0){g({type:"text",value:f});continue}if(u.type==="dot"){if(a.range=[],u.value+=f,u.type="range",a.nodes.length!==3&&a.nodes.length!==5){a.invalid=!0,a.ranges=0,u.type="text";continue}a.ranges++,a.args=[];continue}if(u.type==="range"){m.pop();let E=m[m.length-1];E.value+=u.value+f,u=E,a.ranges--;continue}g({type:"dot",value:f});continue}g({type:"text",value:f})}do if(a=o.pop(),a.type!=="root"){a.nodes.forEach(D=>{D.nodes||(D.type==="open"&&(D.isOpen=!0),D.type==="close"&&(D.isClose=!0),D.nodes||(D.type="text"),D.invalid=!0)});let m=o[o.length-1],E=m.nodes.indexOf(a);m.nodes.splice(E,1,...a.nodes)}while(o.length>0);return g({type:"eos"}),n};var Tte=Ote;const k_=H1,Bte=pte,Ite=yte,Pte=Tte,yr=(r,e={})=>{let t=[];if(Array.isArray(r))for(let s of r){let n=yr.create(s,e);Array.isArray(n)?t.push(...n):t.push(n)}else t=[].concat(yr.create(r,e));return e&&e.expand===!0&&e.nodupes===!0&&(t=[...new Set(t)]),t};yr.parse=(r,e={})=>Pte(r,e);yr.stringify=(r,e={})=>k_(typeof r=="string"?yr.parse(r,e):r,e);yr.compile=(r,e={})=>(typeof r=="string"&&(r=yr.parse(r,e)),Bte(r,e));yr.expand=(r,e={})=>{typeof r=="string"&&(r=yr.parse(r,e));let t=Ite(r,e);return e.noempty===!0&&(t=t.filter(Boolean)),e.nodupes===!0&&(t=[...new Set(t)]),t};yr.create=(r,e={})=>r===""||r.length<3?[r]:e.expand!==!0?yr.compile(r,e):yr.expand(r,e);var Lte=yr,$u={};const kte=de,Yr="\\\\/",N_=`[^${Yr}]`,Ki="\\.",Nte="\\+",Mte="\\?",Qh="\\/",jte="(?=.)",_R="[^/]",G1=`(?:${Qh}|$)`,AR=`(?:^|${Qh})`,W1=`${Ki}{1,2}${G1}`,Ute=`(?!${Ki})`,Hte=`(?!${AR}${W1})`,Gte=`(?!${Ki}{0,1}${G1})`,Wte=`(?!${W1})`,zte=`[^.${Qh}]`,qte=`${_R}*?`,SR={DOT_LITERAL:Ki,PLUS_LITERAL:Nte,QMARK_LITERAL:Mte,SLASH_LITERAL:Qh,ONE_CHAR:jte,QMARK:_R,END_ANCHOR:G1,DOTS_SLASH:W1,NO_DOT:Ute,NO_DOTS:Hte,NO_DOT_SLASH:Gte,NO_DOTS_SLASH:Wte,QMARK_NO_DOT:zte,STAR:qte,START_ANCHOR:AR},Vte={...SR,SLASH_LITERAL:`[${Yr}]`,QMARK:N_,STAR:`${N_}*?`,DOTS_SLASH:`${Ki}{1,2}(?:[${Yr}]|$)`,NO_DOT:`(?!${Ki})`,NO_DOTS:`(?!(?:^|[${Yr}])${Ki}{1,2}(?:[${Yr}]|$))`,NO_DOT_SLASH:`(?!${Ki}{0,1}(?:[${Yr}]|$))`,NO_DOTS_SLASH:`(?!${Ki}{1,2}(?:[${Yr}]|$))`,QMARK_NO_DOT:`[^.${Yr}]`,START_ANCHOR:`(?:^|[${Yr}])`,END_ANCHOR:`(?:[${Yr}]|$)`},Yte={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"};var ef={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:Yte,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:kte.sep,extglobChars(r){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${r.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(r){return r===!0?Vte:SR}};(function(r){const e=de,t=process.platform==="win32",{REGEX_BACKSLASH:s,REGEX_REMOVE_BACKSLASH:n,REGEX_SPECIAL_CHARS:o,REGEX_SPECIAL_CHARS_GLOBAL:a}=ef;r.isObject=u=>u!==null&&typeof u=="object"&&!Array.isArray(u),r.hasRegexChars=u=>o.test(u),r.isRegexChar=u=>u.length===1&&r.hasRegexChars(u),r.escapeRegex=u=>u.replace(a,"\\$1"),r.toPosixSlashes=u=>u.replace(s,"/"),r.removeBackslashes=u=>u.replace(n,c=>c==="\\"?"":c),r.supportsLookbehinds=()=>{const u=process.version.slice(1).split(".").map(Number);return u.length===3&&u[0]>=9||u[0]===8&&u[1]>=10},r.isWindows=u=>u&&typeof u.windows=="boolean"?u.windows:t===!0||e.sep==="\\",r.escapeLast=(u,c,l)=>{const h=u.lastIndexOf(c,l);return h===-1?u:u[h-1]==="\\"?r.escapeLast(u,c,h-1):`${u.slice(0,h)}\\${u.slice(h)}`},r.removePrefix=(u,c={})=>{let l=u;return l.startsWith("./")&&(l=l.slice(2),c.prefix="./"),l},r.wrapOutput=(u,c={},l={})=>{const h=l.contains?"":"^",d=l.contains?"":"$";let f=`${h}(?:${u})${d}`;return c.negated===!0&&(f=`(?:^(?!${f}).*$)`),f}})($u);const M_=$u,{CHAR_ASTERISK:s0,CHAR_AT:Kte,CHAR_BACKWARD_SLASH:Oa,CHAR_COMMA:Xte,CHAR_DOT:n0,CHAR_EXCLAMATION_MARK:o0,CHAR_FORWARD_SLASH:CR,CHAR_LEFT_CURLY_BRACE:a0,CHAR_LEFT_PARENTHESES:u0,CHAR_LEFT_SQUARE_BRACKET:Zte,CHAR_PLUS:Jte,CHAR_QUESTION_MARK:j_,CHAR_RIGHT_CURLY_BRACE:Qte,CHAR_RIGHT_PARENTHESES:U_,CHAR_RIGHT_SQUARE_BRACKET:ere}=ef,H_=r=>r===CR||r===Oa,G_=r=>{r.isPrefix!==!0&&(r.depth=r.isGlobstar?1/0:1)},tre=(r,e)=>{const t=e||{},s=r.length-1,n=t.parts===!0||t.scanToEnd===!0,o=[],a=[],u=[];let c=r,l=-1,h=0,d=0,f=!1,p=!1,g=!1,m=!1,E=!1,D=!1,b=!1,w=!1,v=!1,_=!1,R=0,P,M,j={value:"",depth:0,isGlob:!1};const N=()=>l>=s,G=()=>c.charCodeAt(l+1),ie=()=>(P=M,c.charCodeAt(++l));for(;l<s;){M=ie();let q;if(M===Oa){b=j.backslashes=!0,M=ie(),M===a0&&(D=!0);continue}if(D===!0||M===a0){for(R++;N()!==!0&&(M=ie());){if(M===Oa){b=j.backslashes=!0,ie();continue}if(M===a0){R++;continue}if(D!==!0&&M===n0&&(M=ie())===n0){if(f=j.isBrace=!0,g=j.isGlob=!0,_=!0,n===!0)continue;break}if(D!==!0&&M===Xte){if(f=j.isBrace=!0,g=j.isGlob=!0,_=!0,n===!0)continue;break}if(M===Qte&&(R--,R===0)){D=!1,f=j.isBrace=!0,_=!0;break}}if(n===!0)continue;break}if(M===CR){if(o.push(l),a.push(j),j={value:"",depth:0,isGlob:!1},_===!0)continue;if(P===n0&&l===h+1){h+=2;continue}d=l+1;continue}if(t.noext!==!0&&(M===Jte||M===Kte||M===s0||M===j_||M===o0)===!0&&G()===u0){if(g=j.isGlob=!0,m=j.isExtglob=!0,_=!0,M===o0&&l===h&&(v=!0),n===!0){for(;N()!==!0&&(M=ie());){if(M===Oa){b=j.backslashes=!0,M=ie();continue}if(M===U_){g=j.isGlob=!0,_=!0;break}}continue}break}if(M===s0){if(P===s0&&(E=j.isGlobstar=!0),g=j.isGlob=!0,_=!0,n===!0)continue;break}if(M===j_){if(g=j.isGlob=!0,_=!0,n===!0)continue;break}if(M===Zte){for(;N()!==!0&&(q=ie());){if(q===Oa){b=j.backslashes=!0,ie();continue}if(q===ere){p=j.isBracket=!0,g=j.isGlob=!0,_=!0;break}}if(n===!0)continue;break}if(t.nonegate!==!0&&M===o0&&l===h){w=j.negated=!0,h++;continue}if(t.noparen!==!0&&M===u0){if(g=j.isGlob=!0,n===!0){for(;N()!==!0&&(M=ie());){if(M===u0){b=j.backslashes=!0,M=ie();continue}if(M===U_){_=!0;break}}continue}break}if(g===!0){if(_=!0,n===!0)continue;break}}t.noext===!0&&(m=!1,g=!1);let ne=c,x="",S="";h>0&&(x=c.slice(0,h),c=c.slice(h),d-=h),ne&&g===!0&&d>0?(ne=c.slice(0,d),S=c.slice(d)):g===!0?(ne="",S=c):ne=c,ne&&ne!==""&&ne!=="/"&&ne!==c&&H_(ne.charCodeAt(ne.length-1))&&(ne=ne.slice(0,-1)),t.unescape===!0&&(S&&(S=M_.removeBackslashes(S)),ne&&b===!0&&(ne=M_.removeBackslashes(ne)));const $={prefix:x,input:r,start:h,base:ne,glob:S,isBrace:f,isBracket:p,isGlob:g,isExtglob:m,isGlobstar:E,negated:w,negatedExtglob:v};if(t.tokens===!0&&($.maxDepth=0,H_(M)||a.push(j),$.tokens=a),t.parts===!0||t.tokens===!0){let q;for(let O=0;O<o.length;O++){const L=q?q+1:h,K=o[O],ee=r.slice(L,K);t.tokens&&(O===0&&h!==0?(a[O].isPrefix=!0,a[O].value=x):a[O].value=ee,G_(a[O]),$.maxDepth+=a[O].depth),(O!==0||ee!=="")&&u.push(ee),q=K}if(q&&q+1<r.length){const O=r.slice(q+1);u.push(O),t.tokens&&(a[a.length-1].value=O,G_(a[a.length-1]),$.maxDepth+=a[a.length-1].depth)}$.slashes=o,$.parts=u}return $};var rre=tre;const Gl=ef,gr=$u,{MAX_LENGTH:Wl,POSIX_REGEX_SOURCE:ire,REGEX_NON_SPECIAL_CHARS:sre,REGEX_SPECIAL_CHARS_BACKREF:nre,REPLACEMENTS:FR}=Gl,ore=(r,e)=>{if(typeof e.expandRange=="function")return e.expandRange(...r,e);r.sort();const t=`[${r.join("-")}]`;try{new RegExp(t)}catch{return r.map(n=>gr.escapeRegex(n)).join("..")}return t},Sn=(r,e)=>`Missing ${r}: "${e}" - use "\\\\${e}" to match literal characters`,z1=(r,e)=>{if(typeof r!="string")throw new TypeError("Expected a string");r=FR[r]||r;const t={...e},s=typeof t.maxLength=="number"?Math.min(Wl,t.maxLength):Wl;let n=r.length;if(n>s)throw new SyntaxError(`Input length: ${n}, exceeds maximum allowed length: ${s}`);const o={type:"bos",value:"",output:t.prepend||""},a=[o],u=t.capture?"":"?:",c=gr.isWindows(e),l=Gl.globChars(c),h=Gl.extglobChars(l),{DOT_LITERAL:d,PLUS_LITERAL:f,SLASH_LITERAL:p,ONE_CHAR:g,DOTS_SLASH:m,NO_DOT:E,NO_DOT_SLASH:D,NO_DOTS_SLASH:b,QMARK:w,QMARK_NO_DOT:v,STAR:_,START_ANCHOR:R}=l,P=J=>`(${u}(?:(?!${R}${J.dot?m:d}).)*?)`,M=t.dot?"":E,j=t.dot?w:v;let N=t.bash===!0?P(t):_;t.capture&&(N=`(${N})`),typeof t.noext=="boolean"&&(t.noextglob=t.noext);const G={input:r,index:-1,start:0,dot:t.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:a};r=gr.removePrefix(r,G),n=r.length;const ie=[],ne=[],x=[];let S=o,$;const q=()=>G.index===n-1,O=G.peek=(J=1)=>r[G.index+J],L=G.advance=()=>r[++G.index]||"",K=()=>r.slice(G.index+1),ee=(J="",I=0)=>{G.consumed+=J,G.index+=I},pe=J=>{G.output+=J.output!=null?J.output:J.value,ee(J.value)},ae=()=>{let J=1;for(;O()==="!"&&(O(2)!=="("||O(3)==="?");)L(),G.start++,J++;return J%2===0?!1:(G.negated=!0,G.start++,!0)},Ce=J=>{G[J]++,x.push(J)},le=J=>{G[J]--,x.pop()},me=J=>{if(S.type==="globstar"){const I=G.braces>0&&(J.type==="comma"||J.type==="brace"),C=J.extglob===!0||ie.length&&(J.type==="pipe"||J.type==="paren");J.type!=="slash"&&J.type!=="paren"&&!I&&!C&&(G.output=G.output.slice(0,-S.output.length),S.type="star",S.value="*",S.output=N,G.output+=S.output)}if(ie.length&&J.type!=="paren"&&(ie[ie.length-1].inner+=J.value),(J.value||J.output)&&pe(J),S&&S.type==="text"&&J.type==="text"){S.value+=J.value,S.output=(S.output||"")+J.value;return}J.prev=S,a.push(J),S=J},Kt=(J,I)=>{const C={...h[I],conditions:1,inner:""};C.prev=S,C.parens=G.parens,C.output=G.output;const T=(t.capture?"(":"")+C.open;Ce("parens"),me({type:J,value:I,output:G.output?"":g}),me({type:"paren",extglob:!0,value:L(),output:T}),ie.push(C)},he=J=>{let I=J.close+(t.capture?")":""),C;if(J.type==="negate"){let T=N;if(J.inner&&J.inner.length>1&&J.inner.includes("/")&&(T=P(t)),(T!==N||q()||/^\)+$/.test(K()))&&(I=J.close=`)$))${T}`),J.inner.includes("*")&&(C=K())&&/^\.[^\\/.]+$/.test(C)){const U=z1(C,{...e,fastpaths:!1}).output;I=J.close=`)${U})${T})`}J.prev.type==="bos"&&(G.negatedExtglob=!0)}me({type:"paren",extglob:!0,value:$,output:I}),le("parens")};if(t.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(r)){let J=!1,I=r.replace(nre,(C,T,U,B,F,k)=>B==="\\"?(J=!0,C):B==="?"?T?T+B+(F?w.repeat(F.length):""):k===0?j+(F?w.repeat(F.length):""):w.repeat(U.length):B==="."?d.repeat(U.length):B==="*"?T?T+B+(F?N:""):N:T?C:`\\${C}`);return J===!0&&(t.unescape===!0?I=I.replace(/\\/g,""):I=I.replace(/\\+/g,C=>C.length%2===0?"\\\\":C?"\\":"")),I===r&&t.contains===!0?(G.output=r,G):(G.output=gr.wrapOutput(I,G,e),G)}for(;!q();){if($=L(),$==="\0")continue;if($==="\\"){const C=O();if(C==="/"&&t.bash!==!0||C==="."||C===";")continue;if(!C){$+="\\",me({type:"text",value:$});continue}const T=/^\\+/.exec(K());let U=0;if(T&&T[0].length>2&&(U=T[0].length,G.index+=U,U%2!==0&&($+="\\")),t.unescape===!0?$=L():$+=L(),G.brackets===0){me({type:"text",value:$});continue}}if(G.brackets>0&&($!=="]"||S.value==="["||S.value==="[^")){if(t.posix!==!1&&$===":"){const C=S.value.slice(1);if(C.includes("[")&&(S.posix=!0,C.includes(":"))){const T=S.value.lastIndexOf("["),U=S.value.slice(0,T),B=S.value.slice(T+2),F=ire[B];if(F){S.value=U+F,G.backtrack=!0,L(),!o.output&&a.indexOf(S)===1&&(o.output=g);continue}}}($==="["&&O()!==":"||$==="-"&&O()==="]")&&($=`\\${$}`),$==="]"&&(S.value==="["||S.value==="[^")&&($=`\\${$}`),t.posix===!0&&$==="!"&&S.value==="["&&($="^"),S.value+=$,pe({value:$});continue}if(G.quotes===1&&$!=='"'){$=gr.escapeRegex($),S.value+=$,pe({value:$});continue}if($==='"'){G.quotes=G.quotes===1?0:1,t.keepQuotes===!0&&me({type:"text",value:$});continue}if($==="("){Ce("parens"),me({type:"paren",value:$});continue}if($===")"){if(G.parens===0&&t.strictBrackets===!0)throw new SyntaxError(Sn("opening","("));const C=ie[ie.length-1];if(C&&G.parens===C.parens+1){he(ie.pop());continue}me({type:"paren",value:$,output:G.parens?")":"\\)"}),le("parens");continue}if($==="["){if(t.nobracket===!0||!K().includes("]")){if(t.nobracket!==!0&&t.strictBrackets===!0)throw new SyntaxError(Sn("closing","]"));$=`\\${$}`}else Ce("brackets");me({type:"bracket",value:$});continue}if($==="]"){if(t.nobracket===!0||S&&S.type==="bracket"&&S.value.length===1){me({type:"text",value:$,output:`\\${$}`});continue}if(G.brackets===0){if(t.strictBrackets===!0)throw new SyntaxError(Sn("opening","["));me({type:"text",value:$,output:`\\${$}`});continue}le("brackets");const C=S.value.slice(1);if(S.posix!==!0&&C[0]==="^"&&!C.includes("/")&&($=`/${$}`),S.value+=$,pe({value:$}),t.literalBrackets===!1||gr.hasRegexChars(C))continue;const T=gr.escapeRegex(S.value);if(G.output=G.output.slice(0,-S.value.length),t.literalBrackets===!0){G.output+=T,S.value=T;continue}S.value=`(${u}${T}|${S.value})`,G.output+=S.value;continue}if($==="{"&&t.nobrace!==!0){Ce("braces");const C={type:"brace",value:$,output:"(",outputIndex:G.output.length,tokensIndex:G.tokens.length};ne.push(C),me(C);continue}if($==="}"){const C=ne[ne.length-1];if(t.nobrace===!0||!C){me({type:"text",value:$,output:$});continue}let T=")";if(C.dots===!0){const U=a.slice(),B=[];for(let F=U.length-1;F>=0&&(a.pop(),U[F].type!=="brace");F--)U[F].type!=="dots"&&B.unshift(U[F].value);T=ore(B,t),G.backtrack=!0}if(C.comma!==!0&&C.dots!==!0){const U=G.output.slice(0,C.outputIndex),B=G.tokens.slice(C.tokensIndex);C.value=C.output="\\{",$=T="\\}",G.output=U;for(const F of B)G.output+=F.output||F.value}me({type:"brace",value:$,output:T}),le("braces"),ne.pop();continue}if($==="|"){ie.length>0&&ie[ie.length-1].conditions++,me({type:"text",value:$});continue}if($===","){let C=$;const T=ne[ne.length-1];T&&x[x.length-1]==="braces"&&(T.comma=!0,C="|"),me({type:"comma",value:$,output:C});continue}if($==="/"){if(S.type==="dot"&&G.index===G.start+1){G.start=G.index+1,G.consumed="",G.output="",a.pop(),S=o;continue}me({type:"slash",value:$,output:p});continue}if($==="."){if(G.braces>0&&S.type==="dot"){S.value==="."&&(S.output=d);const C=ne[ne.length-1];S.type="dots",S.output+=$,S.value+=$,C.dots=!0;continue}if(G.braces+G.parens===0&&S.type!=="bos"&&S.type!=="slash"){me({type:"text",value:$,output:d});continue}me({type:"dot",value:$,output:d});continue}if($==="?"){if(!(S&&S.value==="(")&&t.noextglob!==!0&&O()==="("&&O(2)!=="?"){Kt("qmark",$);continue}if(S&&S.type==="paren"){const T=O();let U=$;if(T==="<"&&!gr.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(S.value==="("&&!/[!=<:]/.test(T)||T==="<"&&!/<([!=]|\w+>)/.test(K()))&&(U=`\\${$}`),me({type:"text",value:$,output:U});continue}if(t.dot!==!0&&(S.type==="slash"||S.type==="bos")){me({type:"qmark",value:$,output:v});continue}me({type:"qmark",value:$,output:w});continue}if($==="!"){if(t.noextglob!==!0&&O()==="("&&(O(2)!=="?"||!/[!=<:]/.test(O(3)))){Kt("negate",$);continue}if(t.nonegate!==!0&&G.index===0){ae();continue}}if($==="+"){if(t.noextglob!==!0&&O()==="("&&O(2)!=="?"){Kt("plus",$);continue}if(S&&S.value==="("||t.regex===!1){me({type:"plus",value:$,output:f});continue}if(S&&(S.type==="bracket"||S.type==="paren"||S.type==="brace")||G.parens>0){me({type:"plus",value:$});continue}me({type:"plus",value:f});continue}if($==="@"){if(t.noextglob!==!0&&O()==="("&&O(2)!=="?"){me({type:"at",extglob:!0,value:$,output:""});continue}me({type:"text",value:$});continue}if($!=="*"){($==="$"||$==="^")&&($=`\\${$}`);const C=sre.exec(K());C&&($+=C[0],G.index+=C[0].length),me({type:"text",value:$});continue}if(S&&(S.type==="globstar"||S.star===!0)){S.type="star",S.star=!0,S.value+=$,S.output=N,G.backtrack=!0,G.globstar=!0,ee($);continue}let J=K();if(t.noextglob!==!0&&/^\([^?]/.test(J)){Kt("star",$);continue}if(S.type==="star"){if(t.noglobstar===!0){ee($);continue}const C=S.prev,T=C.prev,U=C.type==="slash"||C.type==="bos",B=T&&(T.type==="star"||T.type==="globstar");if(t.bash===!0&&(!U||J[0]&&J[0]!=="/")){me({type:"star",value:$,output:""});continue}const F=G.braces>0&&(C.type==="comma"||C.type==="brace"),k=ie.length&&(C.type==="pipe"||C.type==="paren");if(!U&&C.type!=="paren"&&!F&&!k){me({type:"star",value:$,output:""});continue}for(;J.slice(0,3)==="/**";){const te=r[G.index+4];if(te&&te!=="/")break;J=J.slice(3),ee("/**",3)}if(C.type==="bos"&&q()){S.type="globstar",S.value+=$,S.output=P(t),G.output=S.output,G.globstar=!0,ee($);continue}if(C.type==="slash"&&C.prev.type!=="bos"&&!B&&q()){G.output=G.output.slice(0,-(C.output+S.output).length),C.output=`(?:${C.output}`,S.type="globstar",S.output=P(t)+(t.strictSlashes?")":"|$)"),S.value+=$,G.globstar=!0,G.output+=C.output+S.output,ee($);continue}if(C.type==="slash"&&C.prev.type!=="bos"&&J[0]==="/"){const te=J[1]!==void 0?"|$":"";G.output=G.output.slice(0,-(C.output+S.output).length),C.output=`(?:${C.output}`,S.type="globstar",S.output=`${P(t)}${p}|${p}${te})`,S.value+=$,G.output+=C.output+S.output,G.globstar=!0,ee($+L()),me({type:"slash",value:"/",output:""});continue}if(C.type==="bos"&&J[0]==="/"){S.type="globstar",S.value+=$,S.output=`(?:^|${p}|${P(t)}${p})`,G.output=S.output,G.globstar=!0,ee($+L()),me({type:"slash",value:"/",output:""});continue}G.output=G.output.slice(0,-S.output.length),S.type="globstar",S.output=P(t),S.value+=$,G.output+=S.output,G.globstar=!0,ee($);continue}const I={type:"star",value:$,output:N};if(t.bash===!0){I.output=".*?",(S.type==="bos"||S.type==="slash")&&(I.output=M+I.output),me(I);continue}if(S&&(S.type==="bracket"||S.type==="paren")&&t.regex===!0){I.output=$,me(I);continue}(G.index===G.start||S.type==="slash"||S.type==="dot")&&(S.type==="dot"?(G.output+=D,S.output+=D):t.dot===!0?(G.output+=b,S.output+=b):(G.output+=M,S.output+=M),O()!=="*"&&(G.output+=g,S.output+=g)),me(I)}for(;G.brackets>0;){if(t.strictBrackets===!0)throw new SyntaxError(Sn("closing","]"));G.output=gr.escapeLast(G.output,"["),le("brackets")}for(;G.parens>0;){if(t.strictBrackets===!0)throw new SyntaxError(Sn("closing",")"));G.output=gr.escapeLast(G.output,"("),le("parens")}for(;G.braces>0;){if(t.strictBrackets===!0)throw new SyntaxError(Sn("closing","}"));G.output=gr.escapeLast(G.output,"{"),le("braces")}if(t.strictSlashes!==!0&&(S.type==="star"||S.type==="bracket")&&me({type:"maybe_slash",value:"",output:`${p}?`}),G.backtrack===!0){G.output="";for(const J of G.tokens)G.output+=J.output!=null?J.output:J.value,J.suffix&&(G.output+=J.suffix)}return G};z1.fastpaths=(r,e)=>{const t={...e},s=typeof t.maxLength=="number"?Math.min(Wl,t.maxLength):Wl,n=r.length;if(n>s)throw new SyntaxError(`Input length: ${n}, exceeds maximum allowed length: ${s}`);r=FR[r]||r;const o=gr.isWindows(e),{DOT_LITERAL:a,SLASH_LITERAL:u,ONE_CHAR:c,DOTS_SLASH:l,NO_DOT:h,NO_DOTS:d,NO_DOTS_SLASH:f,STAR:p,START_ANCHOR:g}=Gl.globChars(o),m=t.dot?d:h,E=t.dot?f:h,D=t.capture?"":"?:",b={negated:!1,prefix:""};let w=t.bash===!0?".*?":p;t.capture&&(w=`(${w})`);const v=M=>M.noglobstar===!0?w:`(${D}(?:(?!${g}${M.dot?l:a}).)*?)`,_=M=>{switch(M){case"*":return`${m}${c}${w}`;case".*":return`${a}${c}${w}`;case"*.*":return`${m}${w}${a}${c}${w}`;case"*/*":return`${m}${w}${u}${c}${E}${w}`;case"**":return m+v(t);case"**/*":return`(?:${m}${v(t)}${u})?${E}${c}${w}`;case"**/*.*":return`(?:${m}${v(t)}${u})?${E}${w}${a}${c}${w}`;case"**/.*":return`(?:${m}${v(t)}${u})?${a}${c}${w}`;default:{const j=/^(.*?)\.(\w+)$/.exec(M);if(!j)return;const N=_(j[1]);return N?N+a+j[2]:void 0}}},R=gr.removePrefix(r,b);let P=_(R);return P&&t.strictSlashes!==!0&&(P+=`${u}?`),P};var are=z1;const ure=de,cre=rre,Cg=are,q1=$u,lre=ef,hre=r=>r&&typeof r=="object"&&!Array.isArray(r),ut=(r,e,t=!1)=>{if(Array.isArray(r)){const h=r.map(f=>ut(f,e,t));return f=>{for(const p of h){const g=p(f);if(g)return g}return!1}}const s=hre(r)&&r.tokens&&r.input;if(r===""||typeof r!="string"&&!s)throw new TypeError("Expected pattern to be a non-empty string");const n=e||{},o=q1.isWindows(e),a=s?ut.compileRe(r,e):ut.makeRe(r,e,!1,!0),u=a.state;delete a.state;let c=()=>!1;if(n.ignore){const h={...e,ignore:null,onMatch:null,onResult:null};c=ut(n.ignore,h,t)}const l=(h,d=!1)=>{const{isMatch:f,match:p,output:g}=ut.test(h,a,e,{glob:r,posix:o}),m={glob:r,state:u,regex:a,posix:o,input:h,output:g,match:p,isMatch:f};return typeof n.onResult=="function"&&n.onResult(m),f===!1?(m.isMatch=!1,d?m:!1):c(h)?(typeof n.onIgnore=="function"&&n.onIgnore(m),m.isMatch=!1,d?m:!1):(typeof n.onMatch=="function"&&n.onMatch(m),d?m:!0)};return t&&(l.state=u),l};ut.test=(r,e,t,{glob:s,posix:n}={})=>{if(typeof r!="string")throw new TypeError("Expected input to be a string");if(r==="")return{isMatch:!1,output:""};const o=t||{},a=o.format||(n?q1.toPosixSlashes:null);let u=r===s,c=u&&a?a(r):r;return u===!1&&(c=a?a(r):r,u=c===s),(u===!1||o.capture===!0)&&(o.matchBase===!0||o.basename===!0?u=ut.matchBase(r,e,t,n):u=e.exec(c)),{isMatch:!!u,match:u,output:c}};ut.matchBase=(r,e,t,s=q1.isWindows(t))=>(e instanceof RegExp?e:ut.makeRe(e,t)).test(ure.basename(r));ut.isMatch=(r,e,t)=>ut(e,t)(r);ut.parse=(r,e)=>Array.isArray(r)?r.map(t=>ut.parse(t,e)):Cg(r,{...e,fastpaths:!1});ut.scan=(r,e)=>cre(r,e);ut.compileRe=(r,e,t=!1,s=!1)=>{if(t===!0)return r.output;const n=e||{},o=n.contains?"":"^",a=n.contains?"":"$";let u=`${o}(?:${r.output})${a}`;r&&r.negated===!0&&(u=`^(?!${u}).*$`);const c=ut.toRegex(u,e);return s===!0&&(c.state=r),c};ut.makeRe=(r,e={},t=!1,s=!1)=>{if(!r||typeof r!="string")throw new TypeError("Expected a non-empty string");let n={negated:!1,fastpaths:!0};return e.fastpaths!==!1&&(r[0]==="."||r[0]==="*")&&(n.output=Cg.fastpaths(r,e)),n.output||(n=Cg(r,e)),ut.compileRe(n,e,t,s)};ut.toRegex=(r,e)=>{try{const t=e||{};return new RegExp(r,t.flags||(t.nocase?"i":""))}catch(t){if(e&&e.debug===!0)throw t;return/$^/}};ut.constants=lre;var fre=ut,dre=fre;const $R=rs,RR=Lte,ai=dre,Fg=$u,W_=r=>r===""||r==="./",Xe=(r,e,t)=>{e=[].concat(e),r=[].concat(r);let s=new Set,n=new Set,o=new Set,a=0,u=h=>{o.add(h.output),t&&t.onResult&&t.onResult(h)};for(let h=0;h<e.length;h++){let d=ai(String(e[h]),{...t,onResult:u},!0),f=d.state.negated||d.state.negatedExtglob;f&&a++;for(let p of r){let g=d(p,!0);(f?!g.isMatch:g.isMatch)&&(f?s.add(g.output):(s.delete(g.output),n.add(g.output)))}}let l=(a===e.length?[...o]:[...n]).filter(h=>!s.has(h));if(t&&l.length===0){if(t.failglob===!0)throw new Error(`No matches found for "${e.join(", ")}"`);if(t.nonull===!0||t.nullglob===!0)return t.unescape?e.map(h=>h.replace(/\\/g,"")):e}return l};Xe.match=Xe;Xe.matcher=(r,e)=>ai(r,e);Xe.isMatch=(r,e,t)=>ai(e,t)(r);Xe.any=Xe.isMatch;Xe.not=(r,e,t={})=>{e=[].concat(e).map(String);let s=new Set,n=[],o=u=>{t.onResult&&t.onResult(u),n.push(u.output)},a=new Set(Xe(r,e,{...t,onResult:o}));for(let u of n)a.has(u)||s.add(u);return[...s]};Xe.contains=(r,e,t)=>{if(typeof r!="string")throw new TypeError(`Expected a string: "${$R.inspect(r)}"`);if(Array.isArray(e))return e.some(s=>Xe.contains(r,s,t));if(typeof e=="string"){if(W_(r)||W_(e))return!1;if(r.includes(e)||r.startsWith("./")&&r.slice(2).includes(e))return!0}return Xe.isMatch(r,e,{...t,contains:!0})};Xe.matchKeys=(r,e,t)=>{if(!Fg.isObject(r))throw new TypeError("Expected the first argument to be an object");let s=Xe(Object.keys(r),e,t),n={};for(let o of s)n[o]=r[o];return n};Xe.some=(r,e,t)=>{let s=[].concat(r);for(let n of[].concat(e)){let o=ai(String(n),t);if(s.some(a=>o(a)))return!0}return!1};Xe.every=(r,e,t)=>{let s=[].concat(r);for(let n of[].concat(e)){let o=ai(String(n),t);if(!s.every(a=>o(a)))return!1}return!0};Xe.all=(r,e,t)=>{if(typeof r!="string")throw new TypeError(`Expected a string: "${$R.inspect(r)}"`);return[].concat(e).every(s=>ai(s,t)(r))};Xe.capture=(r,e,t)=>{let s=Fg.isWindows(t),o=ai.makeRe(String(r),{...t,capture:!0}).exec(s?Fg.toPosixSlashes(e):e);if(o)return o.slice(1).map(a=>a===void 0?"":a)};Xe.makeRe=(...r)=>ai.makeRe(...r);Xe.scan=(...r)=>ai.scan(...r);Xe.parse=(r,e)=>{let t=[];for(let s of[].concat(r||[]))for(let n of RR(String(s),e))t.push(ai.parse(n,e));return t};Xe.braces=(r,e)=>{if(typeof r!="string")throw new TypeError("Expected a string");return e&&e.nobrace===!0||!/\{.*\}/.test(r)?[r]:RR(r,e)};Xe.braceExpand=(r,e)=>{if(typeof r!="string")throw new TypeError("Expected a string");return Xe.braces(r,{...e,expand:!0})};var pre=Xe;Object.defineProperty(Ae,"__esModule",{value:!0});Ae.removeDuplicateSlashes=Ae.matchAny=Ae.convertPatternsToRe=Ae.makeRe=Ae.getPatternParts=Ae.expandBraceExpansion=Ae.expandPatternsWithBraceExpansion=Ae.isAffectDepthOfReadingPattern=Ae.endsWithSlashGlobStar=Ae.hasGlobStar=Ae.getBaseDirectory=Ae.isPatternRelatedToParentDirectory=Ae.getPatternsOutsideCurrentDirectory=Ae.getPatternsInsideCurrentDirectory=Ae.getPositivePatterns=Ae.getNegativePatterns=Ae.isPositivePattern=Ae.isNegativePattern=Ae.convertToNegativePattern=Ae.convertToPositivePattern=Ae.isDynamicPattern=Ae.isStaticPattern=void 0;const gre=de,mre=Yee,V1=pre,xR="**",yre="\\",Dre=/[*?]|^!/,Ere=/\[[^[]*]/,bre=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,wre=/[!*+?@]\([^(]*\)/,vre=/,|\.\./,_re=/(?!^)\/{2,}/g;function OR(r,e={}){return!TR(r,e)}Ae.isStaticPattern=OR;function TR(r,e={}){return r===""?!1:!!(e.caseSensitiveMatch===!1||r.includes(yre)||Dre.test(r)||Ere.test(r)||bre.test(r)||e.extglob!==!1&&wre.test(r)||e.braceExpansion!==!1&&Are(r))}Ae.isDynamicPattern=TR;function Are(r){const e=r.indexOf("{");if(e===-1)return!1;const t=r.indexOf("}",e+1);if(t===-1)return!1;const s=r.slice(e,t);return vre.test(s)}function Sre(r){return tf(r)?r.slice(1):r}Ae.convertToPositivePattern=Sre;function Cre(r){return"!"+r}Ae.convertToNegativePattern=Cre;function tf(r){return r.startsWith("!")&&r[1]!=="("}Ae.isNegativePattern=tf;function BR(r){return!tf(r)}Ae.isPositivePattern=BR;function Fre(r){return r.filter(tf)}Ae.getNegativePatterns=Fre;function $re(r){return r.filter(BR)}Ae.getPositivePatterns=$re;function Rre(r){return r.filter(e=>!Y1(e))}Ae.getPatternsInsideCurrentDirectory=Rre;function xre(r){return r.filter(Y1)}Ae.getPatternsOutsideCurrentDirectory=xre;function Y1(r){return r.startsWith("..")||r.startsWith("./..")}Ae.isPatternRelatedToParentDirectory=Y1;function Ore(r){return mre(r,{flipBackslashes:!1})}Ae.getBaseDirectory=Ore;function Tre(r){return r.includes(xR)}Ae.hasGlobStar=Tre;function IR(r){return r.endsWith("/"+xR)}Ae.endsWithSlashGlobStar=IR;function Bre(r){const e=gre.basename(r);return IR(r)||OR(e)}Ae.isAffectDepthOfReadingPattern=Bre;function Ire(r){return r.reduce((e,t)=>e.concat(PR(t)),[])}Ae.expandPatternsWithBraceExpansion=Ire;function PR(r){const e=V1.braces(r,{expand:!0,nodupes:!0,keepEscaping:!0});return e.sort((t,s)=>t.length-s.length),e.filter(t=>t!=="")}Ae.expandBraceExpansion=PR;function Pre(r,e){let{parts:t}=V1.scan(r,Object.assign(Object.assign({},e),{parts:!0}));return t.length===0&&(t=[r]),t[0].startsWith("/")&&(t[0]=t[0].slice(1),t.unshift("")),t}Ae.getPatternParts=Pre;function LR(r,e){return V1.makeRe(r,e)}Ae.makeRe=LR;function Lre(r,e){return r.map(t=>LR(t,e))}Ae.convertPatternsToRe=Lre;function kre(r,e){return e.some(t=>t.test(r))}Ae.matchAny=kre;function Nre(r){return r.replace(_re,"/")}Ae.removeDuplicateSlashes=Nre;var rf={};const Mre=Vt,kR=Mre.PassThrough,jre=Array.prototype.slice;var Ure=Hre;function Hre(){const r=[],e=jre.call(arguments);let t=!1,s=e[e.length-1];s&&!Array.isArray(s)&&s.pipe==null?e.pop():s={};const n=s.end!==!1,o=s.pipeError===!0;s.objectMode==null&&(s.objectMode=!0),s.highWaterMark==null&&(s.highWaterMark=64*1024);const a=kR(s);function u(){for(let h=0,d=arguments.length;h<d;h++)r.push(NR(arguments[h],s));return c(),this}function c(){if(t)return;t=!0;let h=r.shift();if(!h){process.nextTick(l);return}Array.isArray(h)||(h=[h]);let d=h.length+1;function f(){--d>0||(t=!1,c())}function p(g){function m(){g.removeListener("merge2UnpipeEnd",m),g.removeListener("end",m),o&&g.removeListener("error",E),f()}function E(D){a.emit("error",D)}if(g._readableState.endEmitted)return f();g.on("merge2UnpipeEnd",m),g.on("end",m),o&&g.on("error",E),g.pipe(a,{end:!1}),g.resume()}for(let g=0;g<h.length;g++)p(h[g]);f()}function l(){t=!1,a.emit("queueDrain"),n&&a.end()}return a.setMaxListeners(0),a.add=u,a.on("unpipe",function(h){h.emit("merge2UnpipeEnd")}),e.length&&u.apply(null,e),a}function NR(r,e){if(Array.isArray(r))for(let t=0,s=r.length;t<s;t++)r[t]=NR(r[t],e);else{if(!r._readableState&&r.pipe&&(r=r.pipe(kR(e))),!r._readableState||!r.pause||!r.pipe)throw new Error("Only readable stream can be merged.");r.pause()}return r}Object.defineProperty(rf,"__esModule",{value:!0});rf.merge=void 0;const Gre=Ure;function Wre(r){const e=Gre(r);return r.forEach(t=>{t.once("error",s=>e.emit("error",s))}),e.once("close",()=>z_(r)),e.once("end",()=>z_(r)),e}rf.merge=Wre;function z_(r){r.forEach(e=>e.emit("close"))}var so={};Object.defineProperty(so,"__esModule",{value:!0});so.isEmpty=so.isString=void 0;function zre(r){return typeof r=="string"}so.isString=zre;function qre(r){return r===""}so.isEmpty=qre;Object.defineProperty(Je,"__esModule",{value:!0});Je.string=Je.stream=Je.pattern=Je.path=Je.fs=Je.errno=Je.array=void 0;const Vre=io;Je.array=Vre;const Yre=Xh;Je.errno=Yre;const Kre=Zh;Je.fs=Kre;const Xre=ft;Je.path=Xre;const Zre=Ae;Je.pattern=Zre;const Jre=rf;Je.stream=Jre;const Qre=so;Je.string=Qre;Object.defineProperty(Wt,"__esModule",{value:!0});Wt.convertPatternGroupToTask=Wt.convertPatternGroupsToTasks=Wt.groupPatternsByBaseDirectory=Wt.getNegativePatternsAsPositive=Wt.getPositivePatterns=Wt.convertPatternsToTasks=Wt.generate=void 0;const Pr=Je;function eie(r,e){const t=q_(r,e),s=q_(e.ignore,e),n=MR(t),o=jR(t,s),a=n.filter(h=>Pr.pattern.isStaticPattern(h,e)),u=n.filter(h=>Pr.pattern.isDynamicPattern(h,e)),c=$g(a,o,!1),l=$g(u,o,!0);return c.concat(l)}Wt.generate=eie;function q_(r,e){let t=r;return e.braceExpansion&&(t=Pr.pattern.expandPatternsWithBraceExpansion(t)),e.baseNameMatch&&(t=t.map(s=>s.includes("/")?s:`**/${s}`)),t.map(s=>Pr.pattern.removeDuplicateSlashes(s))}function $g(r,e,t){const s=[],n=Pr.pattern.getPatternsOutsideCurrentDirectory(r),o=Pr.pattern.getPatternsInsideCurrentDirectory(r),a=Rg(n),u=Rg(o);return s.push(...xg(a,e,t)),"."in u?s.push(K1(".",o,e,t)):s.push(...xg(u,e,t)),s}Wt.convertPatternsToTasks=$g;function MR(r){return Pr.pattern.getPositivePatterns(r)}Wt.getPositivePatterns=MR;function jR(r,e){return Pr.pattern.getNegativePatterns(r).concat(e).map(Pr.pattern.convertToPositivePattern)}Wt.getNegativePatternsAsPositive=jR;function Rg(r){const e={};return r.reduce((t,s)=>{const n=Pr.pattern.getBaseDirectory(s);return n in t?t[n].push(s):t[n]=[s],t},e)}Wt.groupPatternsByBaseDirectory=Rg;function xg(r,e,t){return Object.keys(r).map(s=>K1(s,r[s],e,t))}Wt.convertPatternGroupsToTasks=xg;function K1(r,e,t,s){return{dynamic:s,positive:e,negative:t,base:r,patterns:[].concat(e,t.map(Pr.pattern.convertToNegativePattern))}}Wt.convertPatternGroupToTask=K1;var X1={},Z1={},Ar={},J1={},sf={},ri={},$s={},Dr={},nf={};Object.defineProperty(nf,"__esModule",{value:!0});nf.read=void 0;function tie(r,e,t){e.fs.lstat(r,(s,n)=>{if(s!==null){V_(t,s);return}if(!n.isSymbolicLink()||!e.followSymbolicLink){c0(t,n);return}e.fs.stat(r,(o,a)=>{if(o!==null){if(e.throwErrorOnBrokenSymbolicLink){V_(t,o);return}c0(t,n);return}e.markSymbolicLink&&(a.isSymbolicLink=()=>!0),c0(t,a)})})}nf.read=tie;function V_(r,e){r(e)}function c0(r,e){r(null,e)}var of={};Object.defineProperty(of,"__esModule",{value:!0});of.read=void 0;function rie(r,e){const t=e.fs.lstatSync(r);if(!t.isSymbolicLink()||!e.followSymbolicLink)return t;try{const s=e.fs.statSync(r);return e.markSymbolicLink&&(s.isSymbolicLink=()=>!0),s}catch(s){if(!e.throwErrorOnBrokenSymbolicLink)return t;throw s}}of.read=rie;var Q1={},UR={};(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.createFileSystemAdapter=r.FILE_SYSTEM_ADAPTER=void 0;const e=lt;r.FILE_SYSTEM_ADAPTER={lstat:e.lstat,stat:e.stat,lstatSync:e.lstatSync,statSync:e.statSync};function t(s){return s===void 0?r.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},r.FILE_SYSTEM_ADAPTER),s)}r.createFileSystemAdapter=t})(UR);Object.defineProperty(Q1,"__esModule",{value:!0});const iie=UR;let sie=class{constructor(e={}){this._options=e,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=iie.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(e,t){return e??t}};Q1.default=sie;Object.defineProperty(Dr,"__esModule",{value:!0});Dr.statSync=Dr.stat=Dr.Settings=void 0;const Y_=nf,nie=of,Og=Q1;Dr.Settings=Og.default;function oie(r,e,t){if(typeof e=="function"){Y_.read(r,Tg(),e);return}Y_.read(r,Tg(e),t)}Dr.stat=oie;function aie(r,e){const t=Tg(e);return nie.read(r,t)}Dr.statSync=aie;function Tg(r={}){return r instanceof Og.default?r:new Og.default(r)}/*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */let K_;var uie=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:fe):r=>(K_||(K_=Promise.resolve())).then(r).catch(e=>setTimeout(()=>{throw e},0));/*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var cie=hie;const lie=uie;function hie(r,e){let t,s,n,o=!0;Array.isArray(r)?(t=[],s=r.length):(n=Object.keys(r),t={},s=n.length);function a(c){function l(){e&&e(c,t),e=null}o?lie(l):l()}function u(c,l,h){t[c]=h,(--s===0||l)&&a(l)}s?n?n.forEach(function(c){r[c](function(l,h){u(c,l,h)})}):r.forEach(function(c,l){c(function(h,d){u(l,h,d)})}):a(null),o=!1}var Ru={};Object.defineProperty(Ru,"__esModule",{value:!0});Ru.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;const zl=process.versions.node.split(".");if(zl[0]===void 0||zl[1]===void 0)throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);const HR=Number.parseInt(zl[0],10),fie=Number.parseInt(zl[1],10),GR=10,die=10,pie=HR>GR,gie=HR===GR&&fie>=die;Ru.IS_SUPPORT_READDIR_WITH_FILE_TYPES=pie||gie;var xu={},af={};Object.defineProperty(af,"__esModule",{value:!0});af.createDirentFromStats=void 0;class mie{constructor(e,t){this.name=e,this.isBlockDevice=t.isBlockDevice.bind(t),this.isCharacterDevice=t.isCharacterDevice.bind(t),this.isDirectory=t.isDirectory.bind(t),this.isFIFO=t.isFIFO.bind(t),this.isFile=t.isFile.bind(t),this.isSocket=t.isSocket.bind(t),this.isSymbolicLink=t.isSymbolicLink.bind(t)}}function yie(r,e){return new mie(r,e)}af.createDirentFromStats=yie;Object.defineProperty(xu,"__esModule",{value:!0});xu.fs=void 0;const Die=af;xu.fs=Die;var Ou={};Object.defineProperty(Ou,"__esModule",{value:!0});Ou.joinPathSegments=void 0;function Eie(r,e,t){return r.endsWith(t)?r+e:r+t+e}Ou.joinPathSegments=Eie;Object.defineProperty($s,"__esModule",{value:!0});$s.readdir=$s.readdirWithFileTypes=$s.read=void 0;const bie=Dr,WR=cie,wie=Ru,zR=xu,qR=Ou;function vie(r,e,t){if(!e.stats&&wie.IS_SUPPORT_READDIR_WITH_FILE_TYPES){VR(r,e,t);return}YR(r,e,t)}$s.read=vie;function VR(r,e,t){e.fs.readdir(r,{withFileTypes:!0},(s,n)=>{if(s!==null){ql(t,s);return}const o=n.map(u=>({dirent:u,name:u.name,path:qR.joinPathSegments(r,u.name,e.pathSegmentSeparator)}));if(!e.followSymbolicLinks){Bg(t,o);return}const a=o.map(u=>_ie(u,e));WR(a,(u,c)=>{if(u!==null){ql(t,u);return}Bg(t,c)})})}$s.readdirWithFileTypes=VR;function _ie(r,e){return t=>{if(!r.dirent.isSymbolicLink()){t(null,r);return}e.fs.stat(r.path,(s,n)=>{if(s!==null){if(e.throwErrorOnBrokenSymbolicLink){t(s);return}t(null,r);return}r.dirent=zR.fs.createDirentFromStats(r.name,n),t(null,r)})}}function YR(r,e,t){e.fs.readdir(r,(s,n)=>{if(s!==null){ql(t,s);return}const o=n.map(a=>{const u=qR.joinPathSegments(r,a,e.pathSegmentSeparator);return c=>{bie.stat(u,e.fsStatSettings,(l,h)=>{if(l!==null){c(l);return}const d={name:a,path:u,dirent:zR.fs.createDirentFromStats(a,h)};e.stats&&(d.stats=h),c(null,d)})}});WR(o,(a,u)=>{if(a!==null){ql(t,a);return}Bg(t,u)})})}$s.readdir=YR;function ql(r,e){r(e)}function Bg(r,e){r(null,e)}var Rs={};Object.defineProperty(Rs,"__esModule",{value:!0});Rs.readdir=Rs.readdirWithFileTypes=Rs.read=void 0;const Aie=Dr,Sie=Ru,KR=xu,XR=Ou;function Cie(r,e){return!e.stats&&Sie.IS_SUPPORT_READDIR_WITH_FILE_TYPES?ZR(r,e):JR(r,e)}Rs.read=Cie;function ZR(r,e){return e.fs.readdirSync(r,{withFileTypes:!0}).map(s=>{const n={dirent:s,name:s.name,path:XR.joinPathSegments(r,s.name,e.pathSegmentSeparator)};if(n.dirent.isSymbolicLink()&&e.followSymbolicLinks)try{const o=e.fs.statSync(n.path);n.dirent=KR.fs.createDirentFromStats(n.name,o)}catch(o){if(e.throwErrorOnBrokenSymbolicLink)throw o}return n})}Rs.readdirWithFileTypes=ZR;function JR(r,e){return e.fs.readdirSync(r).map(s=>{const n=XR.joinPathSegments(r,s,e.pathSegmentSeparator),o=Aie.statSync(n,e.fsStatSettings),a={name:s,path:n,dirent:KR.fs.createDirentFromStats(s,o)};return e.stats&&(a.stats=o),a})}Rs.readdir=JR;var ey={},QR={};(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.createFileSystemAdapter=r.FILE_SYSTEM_ADAPTER=void 0;const e=lt;r.FILE_SYSTEM_ADAPTER={lstat:e.lstat,stat:e.stat,lstatSync:e.lstatSync,statSync:e.statSync,readdir:e.readdir,readdirSync:e.readdirSync};function t(s){return s===void 0?r.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},r.FILE_SYSTEM_ADAPTER),s)}r.createFileSystemAdapter=t})(QR);Object.defineProperty(ey,"__esModule",{value:!0});const Fie=de,$ie=Dr,Rie=QR;let xie=class{constructor(e={}){this._options=e,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=Rie.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,Fie.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new $ie.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return e??t}};ey.default=xie;Object.defineProperty(ri,"__esModule",{value:!0});ri.Settings=ri.scandirSync=ri.scandir=void 0;const X_=$s,Oie=Rs,Ig=ey;ri.Settings=Ig.default;function Tie(r,e,t){if(typeof e=="function"){X_.read(r,Pg(),e);return}X_.read(r,Pg(e),t)}ri.scandir=Tie;function Bie(r,e){const t=Pg(e);return Oie.read(r,t)}ri.scandirSync=Bie;function Pg(r={}){return r instanceof Ig.default?r:new Ig.default(r)}var ty={exports:{}};function Iie(r){var e=new r,t=e;function s(){var o=e;return o.next?e=o.next:(e=new r,t=e),o.next=null,o}function n(o){t.next=o,t=o}return{get:s,release:n}}var Pie=Iie,Lie=Pie;function ex(r,e,t){if(typeof r=="function"&&(t=e,e=r,r=null),t<1)throw new Error("fastqueue concurrency must be greater than 1");var s=Lie(kie),n=null,o=null,a=0,u=null,c={push:m,drain:_r,saturated:_r,pause:h,paused:!1,concurrency:t,running:l,resume:p,idle:g,length:d,getQueue:f,unshift:E,empty:_r,kill:b,killAndDrain:w,error:v};return c;function l(){return a}function h(){c.paused=!0}function d(){for(var _=n,R=0;_;)_=_.next,R++;return R}function f(){for(var _=n,R=[];_;)R.push(_.value),_=_.next;return R}function p(){if(c.paused){c.paused=!1;for(var _=0;_<c.concurrency;_++)a++,D()}}function g(){return a===0&&c.length()===0}function m(_,R){var P=s.get();P.context=r,P.release=D,P.value=_,P.callback=R||_r,P.errorHandler=u,a===c.concurrency||c.paused?o?(o.next=P,o=P):(n=P,o=P,c.saturated()):(a++,e.call(r,P.value,P.worked))}function E(_,R){var P=s.get();P.context=r,P.release=D,P.value=_,P.callback=R||_r,a===c.concurrency||c.paused?n?(P.next=n,n=P):(n=P,o=P,c.saturated()):(a++,e.call(r,P.value,P.worked))}function D(_){_&&s.release(_);var R=n;R?c.paused?a--:(o===n&&(o=null),n=R.next,R.next=null,e.call(r,R.value,R.worked),o===null&&c.empty()):--a===0&&c.drain()}function b(){n=null,o=null,c.drain=_r}function w(){n=null,o=null,c.drain(),c.drain=_r}function v(_){u=_}}function _r(){}function kie(){this.value=null,this.callback=_r,this.next=null,this.release=_r,this.context=null,this.errorHandler=null;var r=this;this.worked=function(t,s){var n=r.callback,o=r.errorHandler,a=r.value;r.value=null,r.callback=_r,r.errorHandler&&o(t,a),n.call(r.context,t,s),r.release(r)}}function Nie(r,e,t){typeof r=="function"&&(t=e,e=r,r=null);function s(h,d){e.call(this,h).then(function(f){d(null,f)},d)}var n=ex(r,s,t),o=n.push,a=n.unshift;return n.push=u,n.unshift=c,n.drained=l,n;function u(h){var d=new Promise(function(f,p){o(h,function(g,m){if(g){p(g);return}f(m)})});return d.catch(_r),d}function c(h){var d=new Promise(function(f,p){a(h,function(g,m){if(g){p(g);return}f(m)})});return d.catch(_r),d}function l(){if(n.idle())return new Promise(function(f){f()});var h=n.drain,d=new Promise(function(f){n.drain=function(){h(),f()}});return d}}ty.exports=ex;ty.exports.promise=Nie;var Mie=ty.exports,Sr={};Object.defineProperty(Sr,"__esModule",{value:!0});Sr.joinPathSegments=Sr.replacePathSegmentSeparator=Sr.isAppliedFilter=Sr.isFatalError=void 0;function jie(r,e){return r.errorFilter===null?!0:!r.errorFilter(e)}Sr.isFatalError=jie;function Uie(r,e){return r===null||r(e)}Sr.isAppliedFilter=Uie;function Hie(r,e){return r.split(/[/\\]/).join(e)}Sr.replacePathSegmentSeparator=Hie;function Gie(r,e,t){return r===""?e:r.endsWith(t)?r+e:r+t+e}Sr.joinPathSegments=Gie;var uf={};Object.defineProperty(uf,"__esModule",{value:!0});const Wie=Sr;let zie=class{constructor(e,t){this._root=e,this._settings=t,this._root=Wie.replacePathSegmentSeparator(e,t.pathSegmentSeparator)}};uf.default=zie;Object.defineProperty(sf,"__esModule",{value:!0});const qie=Ot,Vie=ri,Yie=Mie,il=Sr,Kie=uf;class Xie extends Kie.default{constructor(e,t){super(e,t),this._settings=t,this._scandir=Vie.scandir,this._emitter=new qie.EventEmitter,this._queue=Yie(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(e){this._emitter.on("entry",e)}onError(e){this._emitter.once("error",e)}onEnd(e){this._emitter.once("end",e)}_pushToQueue(e,t){const s={directory:e,base:t};this._queue.push(s,n=>{n!==null&&this._handleError(n)})}_worker(e,t){this._scandir(e.directory,this._settings.fsScandirSettings,(s,n)=>{if(s!==null){t(s,void 0);return}for(const o of n)this._handleEntry(o,e.base);t(null,void 0)})}_handleError(e){this._isDestroyed||!il.isFatalError(this._settings,e)||(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",e))}_handleEntry(e,t){if(this._isDestroyed||this._isFatalError)return;const s=e.path;t!==void 0&&(e.path=il.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),il.isAppliedFilter(this._settings.entryFilter,e)&&this._emitEntry(e),e.dirent.isDirectory()&&il.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(s,t===void 0?void 0:e.path)}_emitEntry(e){this._emitter.emit("entry",e)}}sf.default=Xie;Object.defineProperty(J1,"__esModule",{value:!0});const Zie=sf;class Jie{constructor(e,t){this._root=e,this._settings=t,this._reader=new Zie.default(this._root,this._settings),this._storage=[]}read(e){this._reader.onError(t=>{Qie(e,t)}),this._reader.onEntry(t=>{this._storage.push(t)}),this._reader.onEnd(()=>{ese(e,this._storage)}),this._reader.read()}}J1.default=Jie;function Qie(r,e){r(e)}function ese(r,e){r(null,e)}var ry={};Object.defineProperty(ry,"__esModule",{value:!0});const tse=Vt,rse=sf;class ise{constructor(e,t){this._root=e,this._settings=t,this._reader=new rse.default(this._root,this._settings),this._stream=new tse.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy()}})}read(){return this._reader.onError(e=>{this._stream.emit("error",e)}),this._reader.onEntry(e=>{this._stream.push(e)}),this._reader.onEnd(()=>{this._stream.push(null)}),this._reader.read(),this._stream}}ry.default=ise;var iy={},sy={};Object.defineProperty(sy,"__esModule",{value:!0});const sse=ri,sl=Sr,nse=uf;class ose extends nse.default{constructor(){super(...arguments),this._scandir=sse.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(e,t){this._queue.add({directory:e,base:t})}_handleQueue(){for(const e of this._queue.values())this._handleDirectory(e.directory,e.base)}_handleDirectory(e,t){try{const s=this._scandir(e,this._settings.fsScandirSettings);for(const n of s)this._handleEntry(n,t)}catch(s){this._handleError(s)}}_handleError(e){if(sl.isFatalError(this._settings,e))throw e}_handleEntry(e,t){const s=e.path;t!==void 0&&(e.path=sl.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),sl.isAppliedFilter(this._settings.entryFilter,e)&&this._pushToStorage(e),e.dirent.isDirectory()&&sl.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(s,t===void 0?void 0:e.path)}_pushToStorage(e){this._storage.push(e)}}sy.default=ose;Object.defineProperty(iy,"__esModule",{value:!0});const ase=sy;class use{constructor(e,t){this._root=e,this._settings=t,this._reader=new ase.default(this._root,this._settings)}read(){return this._reader.read()}}iy.default=use;var ny={};Object.defineProperty(ny,"__esModule",{value:!0});const cse=de,lse=ri;class hse{constructor(e={}){this._options=e,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,cse.sep),this.fsScandirSettings=new lse.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return e??t}}ny.default=hse;Object.defineProperty(Ar,"__esModule",{value:!0});Ar.Settings=Ar.walkStream=Ar.walkSync=Ar.walk=void 0;const Z_=J1,fse=ry,dse=iy,Lg=ny;Ar.Settings=Lg.default;function pse(r,e,t){if(typeof e=="function"){new Z_.default(r,Vl()).read(e);return}new Z_.default(r,Vl(e)).read(t)}Ar.walk=pse;function gse(r,e){const t=Vl(e);return new dse.default(r,t).read()}Ar.walkSync=gse;function mse(r,e){const t=Vl(e);return new fse.default(r,t).read()}Ar.walkStream=mse;function Vl(r={}){return r instanceof Lg.default?r:new Lg.default(r)}var Tu={};Object.defineProperty(Tu,"__esModule",{value:!0});const yse=de,Dse=Dr,J_=Je;class Ese{constructor(e){this._settings=e,this._fsStatSettings=new Dse.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(e){return yse.resolve(this._settings.cwd,e)}_makeEntry(e,t){const s={name:t,path:t,dirent:J_.fs.createDirentFromStats(t,e)};return this._settings.stats&&(s.stats=e),s}_isFatalError(e){return!J_.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}}Tu.default=Ese;var cf={};Object.defineProperty(cf,"__esModule",{value:!0});const bse=Vt,wse=Dr,vse=Ar,_se=Tu;class Ase extends _se.default{constructor(){super(...arguments),this._walkStream=vse.walkStream,this._stat=wse.stat}dynamic(e,t){return this._walkStream(e,t)}static(e,t){const s=e.map(this._getFullEntryPath,this),n=new bse.PassThrough({objectMode:!0});n._write=(o,a,u)=>this._getEntry(s[o],e[o],t).then(c=>{c!==null&&t.entryFilter(c)&&n.push(c),o===s.length-1&&n.end(),u()}).catch(u);for(let o=0;o<s.length;o++)n.write(o);return n}_getEntry(e,t,s){return this._getStat(e).then(n=>this._makeEntry(n,t)).catch(n=>{if(s.errorFilter(n))return null;throw n})}_getStat(e){return new Promise((t,s)=>{this._stat(e,this._fsStatSettings,(n,o)=>n===null?t(o):s(n))})}}cf.default=Ase;Object.defineProperty(Z1,"__esModule",{value:!0});const Sse=Ar,Cse=Tu,Fse=cf;class $se extends Cse.default{constructor(){super(...arguments),this._walkAsync=Sse.walk,this._readerStream=new Fse.default(this._settings)}dynamic(e,t){return new Promise((s,n)=>{this._walkAsync(e,t,(o,a)=>{o===null?s(a):n(o)})})}async static(e,t){const s=[],n=this._readerStream.static(e,t);return new Promise((o,a)=>{n.once("error",a),n.on("data",u=>s.push(u)),n.once("end",()=>o(s))})}}Z1.default=$se;var Bu={},oy={},ay={},uy={};Object.defineProperty(uy,"__esModule",{value:!0});const Ea=Je;class Rse{constructor(e,t,s){this._patterns=e,this._settings=t,this._micromatchOptions=s,this._storage=[],this._fillStorage()}_fillStorage(){for(const e of this._patterns){const t=this._getPatternSegments(e),s=this._splitSegmentsIntoSections(t);this._storage.push({complete:s.length<=1,pattern:e,segments:t,sections:s})}}_getPatternSegments(e){return Ea.pattern.getPatternParts(e,this._micromatchOptions).map(s=>Ea.pattern.isDynamicPattern(s,this._settings)?{dynamic:!0,pattern:s,patternRe:Ea.pattern.makeRe(s,this._micromatchOptions)}:{dynamic:!1,pattern:s})}_splitSegmentsIntoSections(e){return Ea.array.splitWhen(e,t=>t.dynamic&&Ea.pattern.hasGlobStar(t.pattern))}}uy.default=Rse;Object.defineProperty(ay,"__esModule",{value:!0});const xse=uy;class Ose extends xse.default{match(e){const t=e.split("/"),s=t.length,n=this._storage.filter(o=>!o.complete||o.segments.length>s);for(const o of n){const a=o.sections[0];if(!o.complete&&s>a.length||t.every((c,l)=>{const h=o.segments[l];return!!(h.dynamic&&h.patternRe.test(c)||!h.dynamic&&h.pattern===c)}))return!0}return!1}}ay.default=Ose;Object.defineProperty(oy,"__esModule",{value:!0});const nl=Je,Tse=ay;class Bse{constructor(e,t){this._settings=e,this._micromatchOptions=t}getFilter(e,t,s){const n=this._getMatcher(t),o=this._getNegativePatternsRe(s);return a=>this._filter(e,a,n,o)}_getMatcher(e){return new Tse.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(e){const t=e.filter(nl.pattern.isAffectDepthOfReadingPattern);return nl.pattern.convertPatternsToRe(t,this._micromatchOptions)}_filter(e,t,s,n){if(this._isSkippedByDeep(e,t.path)||this._isSkippedSymbolicLink(t))return!1;const o=nl.path.removeLeadingDotSegment(t.path);return this._isSkippedByPositivePatterns(o,s)?!1:this._isSkippedByNegativePatterns(o,n)}_isSkippedByDeep(e,t){return this._settings.deep===1/0?!1:this._getEntryLevel(e,t)>=this._settings.deep}_getEntryLevel(e,t){const s=t.split("/").length;if(e==="")return s;const n=e.split("/").length;return s-n}_isSkippedSymbolicLink(e){return!this._settings.followSymbolicLinks&&e.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(e,t){return!this._settings.baseNameMatch&&!t.match(e)}_isSkippedByNegativePatterns(e,t){return!nl.pattern.matchAny(e,t)}}oy.default=Bse;var cy={};Object.defineProperty(cy,"__esModule",{value:!0});const qs=Je;class Ise{constructor(e,t){this._settings=e,this._micromatchOptions=t,this.index=new Map}getFilter(e,t){const s=qs.pattern.convertPatternsToRe(e,this._micromatchOptions),n=qs.pattern.convertPatternsToRe(t,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}));return o=>this._filter(o,s,n)}_filter(e,t,s){const n=qs.path.removeLeadingDotSegment(e.path);if(this._settings.unique&&this._isDuplicateEntry(n)||this._onlyFileFilter(e)||this._onlyDirectoryFilter(e)||this._isSkippedByAbsoluteNegativePatterns(n,s))return!1;const o=e.dirent.isDirectory(),a=this._isMatchToPatterns(n,t,o)&&!this._isMatchToPatterns(n,s,o);return this._settings.unique&&a&&this._createIndexRecord(n),a}_isDuplicateEntry(e){return this.index.has(e)}_createIndexRecord(e){this.index.set(e,void 0)}_onlyFileFilter(e){return this._settings.onlyFiles&&!e.dirent.isFile()}_onlyDirectoryFilter(e){return this._settings.onlyDirectories&&!e.dirent.isDirectory()}_isSkippedByAbsoluteNegativePatterns(e,t){if(!this._settings.absolute)return!1;const s=qs.path.makeAbsolute(this._settings.cwd,e);return qs.pattern.matchAny(s,t)}_isMatchToPatterns(e,t,s){const n=qs.pattern.matchAny(e,t);return!n&&s?qs.pattern.matchAny(e+"/",t):n}}cy.default=Ise;var ly={};Object.defineProperty(ly,"__esModule",{value:!0});const Pse=Je;class Lse{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(e){return Pse.errno.isEnoentCodeError(e)||this._settings.suppressErrors}}ly.default=Lse;var hy={};Object.defineProperty(hy,"__esModule",{value:!0});const Q_=Je;class kse{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(e){let t=e.path;return this._settings.absolute&&(t=Q_.path.makeAbsolute(this._settings.cwd,t),t=Q_.path.unixify(t)),this._settings.markDirectories&&e.dirent.isDirectory()&&(t+="/"),this._settings.objectMode?Object.assign(Object.assign({},e),{path:t}):t}}hy.default=kse;Object.defineProperty(Bu,"__esModule",{value:!0});const Nse=de,Mse=oy,jse=cy,Use=ly,Hse=hy;class Gse{constructor(e){this._settings=e,this.errorFilter=new Use.default(this._settings),this.entryFilter=new jse.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new Mse.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new Hse.default(this._settings)}_getRootDirectory(e){return Nse.resolve(this._settings.cwd,e.base)}_getReaderOptions(e){const t=e.base==="."?"":e.base;return{basePath:t,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(t,e.positive,e.negative),entryFilter:this.entryFilter.getFilter(e.positive,e.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}}}Bu.default=Gse;Object.defineProperty(X1,"__esModule",{value:!0});const Wse=Z1,zse=Bu;class qse extends zse.default{constructor(){super(...arguments),this._reader=new Wse.default(this._settings)}async read(e){const t=this._getRootDirectory(e),s=this._getReaderOptions(e);return(await this.api(t,e,s)).map(o=>s.transform(o))}api(e,t,s){return t.dynamic?this._reader.dynamic(e,s):this._reader.static(t.patterns,s)}}X1.default=qse;var fy={};Object.defineProperty(fy,"__esModule",{value:!0});const Vse=Vt,Yse=cf,Kse=Bu;class Xse extends Kse.default{constructor(){super(...arguments),this._reader=new Yse.default(this._settings)}read(e){const t=this._getRootDirectory(e),s=this._getReaderOptions(e),n=this.api(t,e,s),o=new Vse.Readable({objectMode:!0,read:()=>{}});return n.once("error",a=>o.emit("error",a)).on("data",a=>o.emit("data",s.transform(a))).once("end",()=>o.emit("end")),o.once("close",()=>n.destroy()),o}api(e,t,s){return t.dynamic?this._reader.dynamic(e,s):this._reader.static(t.patterns,s)}}fy.default=Xse;var dy={},py={};Object.defineProperty(py,"__esModule",{value:!0});const Zse=Dr,Jse=Ar,Qse=Tu;class ene extends Qse.default{constructor(){super(...arguments),this._walkSync=Jse.walkSync,this._statSync=Zse.statSync}dynamic(e,t){return this._walkSync(e,t)}static(e,t){const s=[];for(const n of e){const o=this._getFullEntryPath(n),a=this._getEntry(o,n,t);a===null||!t.entryFilter(a)||s.push(a)}return s}_getEntry(e,t,s){try{const n=this._getStat(e);return this._makeEntry(n,t)}catch(n){if(s.errorFilter(n))return null;throw n}}_getStat(e){return this._statSync(e,this._fsStatSettings)}}py.default=ene;Object.defineProperty(dy,"__esModule",{value:!0});const tne=py,rne=Bu;class ine extends rne.default{constructor(){super(...arguments),this._reader=new tne.default(this._settings)}read(e){const t=this._getRootDirectory(e),s=this._getReaderOptions(e);return this.api(t,e,s).map(s.transform)}api(e,t,s){return t.dynamic?this._reader.dynamic(e,s):this._reader.static(t.patterns,s)}}dy.default=ine;var tx={};(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;const e=lt,s=Math.max(Qt.cpus().length,1);r.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:e.lstat,lstatSync:e.lstatSync,stat:e.stat,statSync:e.statSync,readdir:e.readdir,readdirSync:e.readdirSync};class n{constructor(a={}){this._options=a,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,s),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),this.ignore=[].concat(this.ignore)}_getValue(a,u){return a===void 0?u:a}_getFileSystemMethods(a={}){return Object.assign(Object.assign({},r.DEFAULT_FILE_SYSTEM_ADAPTER),a)}}r.default=n})(tx);const rx=Wt,sne=X1,nne=fy,one=dy,kg=tx,wr=Je;async function Ng(r,e){xr(r);const t=Mg(r,sne.default,e),s=await Promise.all(t);return wr.array.flatten(s)}(function(r){r.glob=r,r.globSync=e,r.globStream=t,r.async=r;function e(u,c){xr(u);const l=Mg(u,one.default,c);return wr.array.flatten(l)}r.sync=e;function t(u,c){xr(u);const l=Mg(u,nne.default,c);return wr.stream.merge(l)}r.stream=t;function s(u,c){xr(u);const l=[].concat(u),h=new kg.default(c);return rx.generate(l,h)}r.generateTasks=s;function n(u,c){xr(u);const l=new kg.default(c);return wr.pattern.isDynamicPattern(u,l)}r.isDynamicPattern=n;function o(u){return xr(u),wr.path.escape(u)}r.escapePath=o;function a(u){return xr(u),wr.path.convertPathToPattern(u)}r.convertPathToPattern=a,function(u){function c(h){return xr(h),wr.path.escapePosixPath(h)}u.escapePath=c;function l(h){return xr(h),wr.path.convertPosixPathToPattern(h)}u.convertPathToPattern=l}(r.posix||(r.posix={})),function(u){function c(h){return xr(h),wr.path.escapeWindowsPath(h)}u.escapePath=c;function l(h){return xr(h),wr.path.convertWindowsPathToPattern(h)}u.convertPathToPattern=l}(r.win32||(r.win32={}))})(Ng||(Ng={}));function Mg(r,e,t){const s=[].concat(r),n=new kg.default(t),o=rx.generate(s,n),a=new e(n);return o.map(a.read,a)}function xr(r){if(![].concat(r).every(s=>wr.string.isString(s)&&!wr.string.isEmpty(s)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}var ane=Ng;const ix=Qe(ane),sx={ignore:["**/node_modules/**"]},une=async r=>{const e=de.join(de.dirname(r),"pnpm-workspace.yaml");let t;try{t=await Pe.readFile(e,"utf-8")}catch{return null}return _g.load(t)};async function cne(r,e,t,s){const{pkgData:n,pkgPath:o}=await Sg({...r,packageFile:t,loglevel:"silent"}),u=(typeof n=="string"?JSON.parse(n):n).workspaces||await une(o||""),c=Array.isArray(u)?u:u?.packages;c||ze(r,`workspaces property missing from package.json. --workspace${r.workspaces?"s":""} only works when you specify a "workspaces" property in your package.json.`);const l=(c||[]).map(m=>de.join(s,m,"package.json").replace(/\\/g,"/")),h=ix.sync(l,sx),d=[...await Promise.all(h.map(async m=>{const E=await N1(r,m);return E.name=E.pkg.name||m.split("/").slice(-2)[0],E}))],f=d.map(m=>m.name||"");return r.workspaces!==!0?[d.filter(m=>r.workspace?.some(E=>c?.some(D=>m.name===E||m.filepath===de.join(s,de.dirname(D),E,e).replace(/\\/g,"/")))),f]:[d,f]}async function lne(r){const e=r.packageFile||"package.json",t=r.cwd?c$(r.cwd):"./",s=r.packageFile||(r.cwd?de.join(t,"package.json"):"package.json"),n=r.workspaces===!0||r.workspace!==void 0&&r.workspace.length!==0;let o=[];if(!n||r.root===!0){const l=s.replace(/\\/g,"/"),h=ix.sync(l,sx),d=[...await Promise.all(h.map(async f=>await N1(r,f)))];o=[...o,...d]}if(!n)return[o,[]];const[u,c]=await cne(r,e,s,t);return o=[...o,...u],[o,c]}var gy={},nx={exports:{}};(function(r){var e=kx,t=de;r.exports=function(n,o,a){if(typeof o=="object"&&(a=o,o=void 0),a=a||{},o=o||"",a.appendPaths=a.appendPaths||[],a.prependPaths=a.prependPaths||[],typeof n!="string")throw new Error("code must be a string, not "+typeof n);var u=e._nodeModulePaths(t.dirname(o)),c=r.parent,l=new e(o,c);l.filename=o,l.paths=[].concat(a.prependPaths).concat(u).concat(a.appendPaths),l._compile(n,o);var h=l.exports;return c&&c.children&&c.children.splice(c.children.indexOf(l),1),h}})(nx);var hne=nx.exports,fne=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,dne=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,pne=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/,l0={Space_Separator:fne,ID_Start:dne,ID_Continue:pne},at={isSpaceSeparator(r){return typeof r=="string"&&l0.Space_Separator.test(r)},isIdStartChar(r){return typeof r=="string"&&(r>="a"&&r<="z"||r>="A"&&r<="Z"||r==="$"||r==="_"||l0.ID_Start.test(r))},isIdContinueChar(r){return typeof r=="string"&&(r>="a"&&r<="z"||r>="A"&&r<="Z"||r>="0"&&r<="9"||r==="$"||r==="_"||r==="‌"||r==="‍"||l0.ID_Continue.test(r))},isDigit(r){return typeof r=="string"&&/[0-9]/.test(r)},isHexDigit(r){return typeof r=="string"&&/[0-9A-Fa-f]/.test(r)}};let jg,Jt,Xi,Yl,Is,Br,St,my,Ma;var gne=function(e,t){jg=String(e),Jt="start",Xi=[],Yl=0,Is=1,Br=0,St=void 0,my=void 0,Ma=void 0;do St=mne(),Ene[Jt]();while(St.type!=="eof");return typeof t=="function"?Ug({"":Ma},"",t):Ma};function Ug(r,e,t){const s=r[e];if(s!=null&&typeof s=="object")if(Array.isArray(s))for(let n=0;n<s.length;n++){const o=String(n),a=Ug(s,o,t);a===void 0?delete s[o]:Object.defineProperty(s,o,{value:a,writable:!0,enumerable:!0,configurable:!0})}else for(const n in s){const o=Ug(s,n,t);o===void 0?delete s[n]:Object.defineProperty(s,n,{value:o,writable:!0,enumerable:!0,configurable:!0})}return t.call(r,e,s)}let Re,Fe,Ta,Yi,Ie;function mne(){for(Re="default",Fe="",Ta=!1,Yi=1;;){Ie=es();const r=ox[Re]();if(r)return r}}function es(){if(jg[Yl])return String.fromCodePoint(jg.codePointAt(Yl))}function X(){const r=es();return r===`
480
+ `,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"};const Ete=H1,{MAX_LENGTH:I_,CHAR_BACKSLASH:i0,CHAR_BACKTICK:bte,CHAR_COMMA:wte,CHAR_DOT:vte,CHAR_LEFT_PARENTHESES:_te,CHAR_RIGHT_PARENTHESES:Ate,CHAR_LEFT_CURLY_BRACE:Ste,CHAR_RIGHT_CURLY_BRACE:Cte,CHAR_LEFT_SQUARE_BRACKET:P_,CHAR_RIGHT_SQUARE_BRACKET:L_,CHAR_DOUBLE_QUOTE:Fte,CHAR_SINGLE_QUOTE:$te,CHAR_NO_BREAK_SPACE:Rte,CHAR_ZERO_WIDTH_NOBREAK_SPACE:xte}=Dte,Ote=(r,e={})=>{if(typeof r!="string")throw new TypeError("Expected a string");let t=e||{},s=typeof t.maxLength=="number"?Math.min(I_,t.maxLength):I_;if(r.length>s)throw new SyntaxError(`Input length (${r.length}), exceeds max characters (${s})`);let n={type:"root",input:r,nodes:[]},o=[n],a=n,u=n,c=0,l=r.length,h=0,d=0,f;const p=()=>r[h++],g=m=>{if(m.type==="text"&&u.type==="dot"&&(u.type="text"),u&&u.type==="text"&&m.type==="text"){u.value+=m.value;return}return a.nodes.push(m),m.parent=a,m.prev=u,u=m,m};for(g({type:"bos"});h<l;)if(a=o[o.length-1],f=p(),!(f===xte||f===Rte)){if(f===i0){g({type:"text",value:(e.keepEscaping?f:"")+p()});continue}if(f===L_){g({type:"text",value:"\\"+f});continue}if(f===P_){c++;let m;for(;h<l&&(m=p());){if(f+=m,m===P_){c++;continue}if(m===i0){f+=p();continue}if(m===L_&&(c--,c===0))break}g({type:"text",value:f});continue}if(f===_te){a=g({type:"paren",nodes:[]}),o.push(a),g({type:"text",value:f});continue}if(f===Ate){if(a.type!=="paren"){g({type:"text",value:f});continue}a=o.pop(),g({type:"text",value:f}),a=o[o.length-1];continue}if(f===Fte||f===$te||f===bte){let m=f,E;for(e.keepQuotes!==!0&&(f="");h<l&&(E=p());){if(E===i0){f+=E+p();continue}if(E===m){e.keepQuotes===!0&&(f+=E);break}f+=E}g({type:"text",value:f});continue}if(f===Ste){d++;let E={type:"brace",open:!0,close:!1,dollar:u.value&&u.value.slice(-1)==="$"||a.dollar===!0,depth:d,commas:0,ranges:0,nodes:[]};a=g(E),o.push(a),g({type:"open",value:f});continue}if(f===Cte){if(a.type!=="brace"){g({type:"text",value:f});continue}let m="close";a=o.pop(),a.close=!0,g({type:m,value:f}),d--,a=o[o.length-1];continue}if(f===wte&&d>0){if(a.ranges>0){a.ranges=0;let m=a.nodes.shift();a.nodes=[m,{type:"text",value:Ete(a)}]}g({type:"comma",value:f}),a.commas++;continue}if(f===vte&&d>0&&a.commas===0){let m=a.nodes;if(d===0||m.length===0){g({type:"text",value:f});continue}if(u.type==="dot"){if(a.range=[],u.value+=f,u.type="range",a.nodes.length!==3&&a.nodes.length!==5){a.invalid=!0,a.ranges=0,u.type="text";continue}a.ranges++,a.args=[];continue}if(u.type==="range"){m.pop();let E=m[m.length-1];E.value+=u.value+f,u=E,a.ranges--;continue}g({type:"dot",value:f});continue}g({type:"text",value:f})}do if(a=o.pop(),a.type!=="root"){a.nodes.forEach(D=>{D.nodes||(D.type==="open"&&(D.isOpen=!0),D.type==="close"&&(D.isClose=!0),D.nodes||(D.type="text"),D.invalid=!0)});let m=o[o.length-1],E=m.nodes.indexOf(a);m.nodes.splice(E,1,...a.nodes)}while(o.length>0);return g({type:"eos"}),n};var Tte=Ote;const k_=H1,Bte=pte,Ite=yte,Pte=Tte,yr=(r,e={})=>{let t=[];if(Array.isArray(r))for(let s of r){let n=yr.create(s,e);Array.isArray(n)?t.push(...n):t.push(n)}else t=[].concat(yr.create(r,e));return e&&e.expand===!0&&e.nodupes===!0&&(t=[...new Set(t)]),t};yr.parse=(r,e={})=>Pte(r,e);yr.stringify=(r,e={})=>k_(typeof r=="string"?yr.parse(r,e):r,e);yr.compile=(r,e={})=>(typeof r=="string"&&(r=yr.parse(r,e)),Bte(r,e));yr.expand=(r,e={})=>{typeof r=="string"&&(r=yr.parse(r,e));let t=Ite(r,e);return e.noempty===!0&&(t=t.filter(Boolean)),e.nodupes===!0&&(t=[...new Set(t)]),t};yr.create=(r,e={})=>r===""||r.length<3?[r]:e.expand!==!0?yr.compile(r,e):yr.expand(r,e);var Lte=yr,$u={};const kte=de,Yr="\\\\/",N_=`[^${Yr}]`,Ki="\\.",Nte="\\+",Mte="\\?",Qh="\\/",jte="(?=.)",_R="[^/]",G1=`(?:${Qh}|$)`,AR=`(?:^|${Qh})`,W1=`${Ki}{1,2}${G1}`,Ute=`(?!${Ki})`,Hte=`(?!${AR}${W1})`,Gte=`(?!${Ki}{0,1}${G1})`,Wte=`(?!${W1})`,zte=`[^.${Qh}]`,qte=`${_R}*?`,SR={DOT_LITERAL:Ki,PLUS_LITERAL:Nte,QMARK_LITERAL:Mte,SLASH_LITERAL:Qh,ONE_CHAR:jte,QMARK:_R,END_ANCHOR:G1,DOTS_SLASH:W1,NO_DOT:Ute,NO_DOTS:Hte,NO_DOT_SLASH:Gte,NO_DOTS_SLASH:Wte,QMARK_NO_DOT:zte,STAR:qte,START_ANCHOR:AR},Vte={...SR,SLASH_LITERAL:`[${Yr}]`,QMARK:N_,STAR:`${N_}*?`,DOTS_SLASH:`${Ki}{1,2}(?:[${Yr}]|$)`,NO_DOT:`(?!${Ki})`,NO_DOTS:`(?!(?:^|[${Yr}])${Ki}{1,2}(?:[${Yr}]|$))`,NO_DOT_SLASH:`(?!${Ki}{0,1}(?:[${Yr}]|$))`,NO_DOTS_SLASH:`(?!${Ki}{1,2}(?:[${Yr}]|$))`,QMARK_NO_DOT:`[^.${Yr}]`,START_ANCHOR:`(?:^|[${Yr}])`,END_ANCHOR:`(?:[${Yr}]|$)`},Yte={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"};var ef={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:Yte,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:kte.sep,extglobChars(r){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${r.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(r){return r===!0?Vte:SR}};(function(r){const e=de,t=process.platform==="win32",{REGEX_BACKSLASH:s,REGEX_REMOVE_BACKSLASH:n,REGEX_SPECIAL_CHARS:o,REGEX_SPECIAL_CHARS_GLOBAL:a}=ef;r.isObject=u=>u!==null&&typeof u=="object"&&!Array.isArray(u),r.hasRegexChars=u=>o.test(u),r.isRegexChar=u=>u.length===1&&r.hasRegexChars(u),r.escapeRegex=u=>u.replace(a,"\\$1"),r.toPosixSlashes=u=>u.replace(s,"/"),r.removeBackslashes=u=>u.replace(n,c=>c==="\\"?"":c),r.supportsLookbehinds=()=>{const u=process.version.slice(1).split(".").map(Number);return u.length===3&&u[0]>=9||u[0]===8&&u[1]>=10},r.isWindows=u=>u&&typeof u.windows=="boolean"?u.windows:t===!0||e.sep==="\\",r.escapeLast=(u,c,l)=>{const h=u.lastIndexOf(c,l);return h===-1?u:u[h-1]==="\\"?r.escapeLast(u,c,h-1):`${u.slice(0,h)}\\${u.slice(h)}`},r.removePrefix=(u,c={})=>{let l=u;return l.startsWith("./")&&(l=l.slice(2),c.prefix="./"),l},r.wrapOutput=(u,c={},l={})=>{const h=l.contains?"":"^",d=l.contains?"":"$";let f=`${h}(?:${u})${d}`;return c.negated===!0&&(f=`(?:^(?!${f}).*$)`),f}})($u);const M_=$u,{CHAR_ASTERISK:s0,CHAR_AT:Kte,CHAR_BACKWARD_SLASH:Oa,CHAR_COMMA:Xte,CHAR_DOT:n0,CHAR_EXCLAMATION_MARK:o0,CHAR_FORWARD_SLASH:CR,CHAR_LEFT_CURLY_BRACE:a0,CHAR_LEFT_PARENTHESES:u0,CHAR_LEFT_SQUARE_BRACKET:Zte,CHAR_PLUS:Jte,CHAR_QUESTION_MARK:j_,CHAR_RIGHT_CURLY_BRACE:Qte,CHAR_RIGHT_PARENTHESES:U_,CHAR_RIGHT_SQUARE_BRACKET:ere}=ef,H_=r=>r===CR||r===Oa,G_=r=>{r.isPrefix!==!0&&(r.depth=r.isGlobstar?1/0:1)},tre=(r,e)=>{const t=e||{},s=r.length-1,n=t.parts===!0||t.scanToEnd===!0,o=[],a=[],u=[];let c=r,l=-1,h=0,d=0,f=!1,p=!1,g=!1,m=!1,E=!1,D=!1,b=!1,w=!1,v=!1,_=!1,R=0,P,M,j={value:"",depth:0,isGlob:!1};const N=()=>l>=s,G=()=>c.charCodeAt(l+1),ie=()=>(P=M,c.charCodeAt(++l));for(;l<s;){M=ie();let q;if(M===Oa){b=j.backslashes=!0,M=ie(),M===a0&&(D=!0);continue}if(D===!0||M===a0){for(R++;N()!==!0&&(M=ie());){if(M===Oa){b=j.backslashes=!0,ie();continue}if(M===a0){R++;continue}if(D!==!0&&M===n0&&(M=ie())===n0){if(f=j.isBrace=!0,g=j.isGlob=!0,_=!0,n===!0)continue;break}if(D!==!0&&M===Xte){if(f=j.isBrace=!0,g=j.isGlob=!0,_=!0,n===!0)continue;break}if(M===Qte&&(R--,R===0)){D=!1,f=j.isBrace=!0,_=!0;break}}if(n===!0)continue;break}if(M===CR){if(o.push(l),a.push(j),j={value:"",depth:0,isGlob:!1},_===!0)continue;if(P===n0&&l===h+1){h+=2;continue}d=l+1;continue}if(t.noext!==!0&&(M===Jte||M===Kte||M===s0||M===j_||M===o0)===!0&&G()===u0){if(g=j.isGlob=!0,m=j.isExtglob=!0,_=!0,M===o0&&l===h&&(v=!0),n===!0){for(;N()!==!0&&(M=ie());){if(M===Oa){b=j.backslashes=!0,M=ie();continue}if(M===U_){g=j.isGlob=!0,_=!0;break}}continue}break}if(M===s0){if(P===s0&&(E=j.isGlobstar=!0),g=j.isGlob=!0,_=!0,n===!0)continue;break}if(M===j_){if(g=j.isGlob=!0,_=!0,n===!0)continue;break}if(M===Zte){for(;N()!==!0&&(q=ie());){if(q===Oa){b=j.backslashes=!0,ie();continue}if(q===ere){p=j.isBracket=!0,g=j.isGlob=!0,_=!0;break}}if(n===!0)continue;break}if(t.nonegate!==!0&&M===o0&&l===h){w=j.negated=!0,h++;continue}if(t.noparen!==!0&&M===u0){if(g=j.isGlob=!0,n===!0){for(;N()!==!0&&(M=ie());){if(M===u0){b=j.backslashes=!0,M=ie();continue}if(M===U_){_=!0;break}}continue}break}if(g===!0){if(_=!0,n===!0)continue;break}}t.noext===!0&&(m=!1,g=!1);let ne=c,x="",S="";h>0&&(x=c.slice(0,h),c=c.slice(h),d-=h),ne&&g===!0&&d>0?(ne=c.slice(0,d),S=c.slice(d)):g===!0?(ne="",S=c):ne=c,ne&&ne!==""&&ne!=="/"&&ne!==c&&H_(ne.charCodeAt(ne.length-1))&&(ne=ne.slice(0,-1)),t.unescape===!0&&(S&&(S=M_.removeBackslashes(S)),ne&&b===!0&&(ne=M_.removeBackslashes(ne)));const $={prefix:x,input:r,start:h,base:ne,glob:S,isBrace:f,isBracket:p,isGlob:g,isExtglob:m,isGlobstar:E,negated:w,negatedExtglob:v};if(t.tokens===!0&&($.maxDepth=0,H_(M)||a.push(j),$.tokens=a),t.parts===!0||t.tokens===!0){let q;for(let O=0;O<o.length;O++){const L=q?q+1:h,K=o[O],ee=r.slice(L,K);t.tokens&&(O===0&&h!==0?(a[O].isPrefix=!0,a[O].value=x):a[O].value=ee,G_(a[O]),$.maxDepth+=a[O].depth),(O!==0||ee!=="")&&u.push(ee),q=K}if(q&&q+1<r.length){const O=r.slice(q+1);u.push(O),t.tokens&&(a[a.length-1].value=O,G_(a[a.length-1]),$.maxDepth+=a[a.length-1].depth)}$.slashes=o,$.parts=u}return $};var rre=tre;const Gl=ef,gr=$u,{MAX_LENGTH:Wl,POSIX_REGEX_SOURCE:ire,REGEX_NON_SPECIAL_CHARS:sre,REGEX_SPECIAL_CHARS_BACKREF:nre,REPLACEMENTS:FR}=Gl,ore=(r,e)=>{if(typeof e.expandRange=="function")return e.expandRange(...r,e);r.sort();const t=`[${r.join("-")}]`;try{new RegExp(t)}catch{return r.map(n=>gr.escapeRegex(n)).join("..")}return t},Sn=(r,e)=>`Missing ${r}: "${e}" - use "\\\\${e}" to match literal characters`,z1=(r,e)=>{if(typeof r!="string")throw new TypeError("Expected a string");r=FR[r]||r;const t={...e},s=typeof t.maxLength=="number"?Math.min(Wl,t.maxLength):Wl;let n=r.length;if(n>s)throw new SyntaxError(`Input length: ${n}, exceeds maximum allowed length: ${s}`);const o={type:"bos",value:"",output:t.prepend||""},a=[o],u=t.capture?"":"?:",c=gr.isWindows(e),l=Gl.globChars(c),h=Gl.extglobChars(l),{DOT_LITERAL:d,PLUS_LITERAL:f,SLASH_LITERAL:p,ONE_CHAR:g,DOTS_SLASH:m,NO_DOT:E,NO_DOT_SLASH:D,NO_DOTS_SLASH:b,QMARK:w,QMARK_NO_DOT:v,STAR:_,START_ANCHOR:R}=l,P=J=>`(${u}(?:(?!${R}${J.dot?m:d}).)*?)`,M=t.dot?"":E,j=t.dot?w:v;let N=t.bash===!0?P(t):_;t.capture&&(N=`(${N})`),typeof t.noext=="boolean"&&(t.noextglob=t.noext);const G={input:r,index:-1,start:0,dot:t.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:a};r=gr.removePrefix(r,G),n=r.length;const ie=[],ne=[],x=[];let S=o,$;const q=()=>G.index===n-1,O=G.peek=(J=1)=>r[G.index+J],L=G.advance=()=>r[++G.index]||"",K=()=>r.slice(G.index+1),ee=(J="",I=0)=>{G.consumed+=J,G.index+=I},pe=J=>{G.output+=J.output!=null?J.output:J.value,ee(J.value)},ae=()=>{let J=1;for(;O()==="!"&&(O(2)!=="("||O(3)==="?");)L(),G.start++,J++;return J%2===0?!1:(G.negated=!0,G.start++,!0)},Ce=J=>{G[J]++,x.push(J)},le=J=>{G[J]--,x.pop()},me=J=>{if(S.type==="globstar"){const I=G.braces>0&&(J.type==="comma"||J.type==="brace"),C=J.extglob===!0||ie.length&&(J.type==="pipe"||J.type==="paren");J.type!=="slash"&&J.type!=="paren"&&!I&&!C&&(G.output=G.output.slice(0,-S.output.length),S.type="star",S.value="*",S.output=N,G.output+=S.output)}if(ie.length&&J.type!=="paren"&&(ie[ie.length-1].inner+=J.value),(J.value||J.output)&&pe(J),S&&S.type==="text"&&J.type==="text"){S.value+=J.value,S.output=(S.output||"")+J.value;return}J.prev=S,a.push(J),S=J},Kt=(J,I)=>{const C={...h[I],conditions:1,inner:""};C.prev=S,C.parens=G.parens,C.output=G.output;const T=(t.capture?"(":"")+C.open;Ce("parens"),me({type:J,value:I,output:G.output?"":g}),me({type:"paren",extglob:!0,value:L(),output:T}),ie.push(C)},he=J=>{let I=J.close+(t.capture?")":""),C;if(J.type==="negate"){let T=N;if(J.inner&&J.inner.length>1&&J.inner.includes("/")&&(T=P(t)),(T!==N||q()||/^\)+$/.test(K()))&&(I=J.close=`)$))${T}`),J.inner.includes("*")&&(C=K())&&/^\.[^\\/.]+$/.test(C)){const U=z1(C,{...e,fastpaths:!1}).output;I=J.close=`)${U})${T})`}J.prev.type==="bos"&&(G.negatedExtglob=!0)}me({type:"paren",extglob:!0,value:$,output:I}),le("parens")};if(t.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(r)){let J=!1,I=r.replace(nre,(C,T,U,B,F,k)=>B==="\\"?(J=!0,C):B==="?"?T?T+B+(F?w.repeat(F.length):""):k===0?j+(F?w.repeat(F.length):""):w.repeat(U.length):B==="."?d.repeat(U.length):B==="*"?T?T+B+(F?N:""):N:T?C:`\\${C}`);return J===!0&&(t.unescape===!0?I=I.replace(/\\/g,""):I=I.replace(/\\+/g,C=>C.length%2===0?"\\\\":C?"\\":"")),I===r&&t.contains===!0?(G.output=r,G):(G.output=gr.wrapOutput(I,G,e),G)}for(;!q();){if($=L(),$==="\0")continue;if($==="\\"){const C=O();if(C==="/"&&t.bash!==!0||C==="."||C===";")continue;if(!C){$+="\\",me({type:"text",value:$});continue}const T=/^\\+/.exec(K());let U=0;if(T&&T[0].length>2&&(U=T[0].length,G.index+=U,U%2!==0&&($+="\\")),t.unescape===!0?$=L():$+=L(),G.brackets===0){me({type:"text",value:$});continue}}if(G.brackets>0&&($!=="]"||S.value==="["||S.value==="[^")){if(t.posix!==!1&&$===":"){const C=S.value.slice(1);if(C.includes("[")&&(S.posix=!0,C.includes(":"))){const T=S.value.lastIndexOf("["),U=S.value.slice(0,T),B=S.value.slice(T+2),F=ire[B];if(F){S.value=U+F,G.backtrack=!0,L(),!o.output&&a.indexOf(S)===1&&(o.output=g);continue}}}($==="["&&O()!==":"||$==="-"&&O()==="]")&&($=`\\${$}`),$==="]"&&(S.value==="["||S.value==="[^")&&($=`\\${$}`),t.posix===!0&&$==="!"&&S.value==="["&&($="^"),S.value+=$,pe({value:$});continue}if(G.quotes===1&&$!=='"'){$=gr.escapeRegex($),S.value+=$,pe({value:$});continue}if($==='"'){G.quotes=G.quotes===1?0:1,t.keepQuotes===!0&&me({type:"text",value:$});continue}if($==="("){Ce("parens"),me({type:"paren",value:$});continue}if($===")"){if(G.parens===0&&t.strictBrackets===!0)throw new SyntaxError(Sn("opening","("));const C=ie[ie.length-1];if(C&&G.parens===C.parens+1){he(ie.pop());continue}me({type:"paren",value:$,output:G.parens?")":"\\)"}),le("parens");continue}if($==="["){if(t.nobracket===!0||!K().includes("]")){if(t.nobracket!==!0&&t.strictBrackets===!0)throw new SyntaxError(Sn("closing","]"));$=`\\${$}`}else Ce("brackets");me({type:"bracket",value:$});continue}if($==="]"){if(t.nobracket===!0||S&&S.type==="bracket"&&S.value.length===1){me({type:"text",value:$,output:`\\${$}`});continue}if(G.brackets===0){if(t.strictBrackets===!0)throw new SyntaxError(Sn("opening","["));me({type:"text",value:$,output:`\\${$}`});continue}le("brackets");const C=S.value.slice(1);if(S.posix!==!0&&C[0]==="^"&&!C.includes("/")&&($=`/${$}`),S.value+=$,pe({value:$}),t.literalBrackets===!1||gr.hasRegexChars(C))continue;const T=gr.escapeRegex(S.value);if(G.output=G.output.slice(0,-S.value.length),t.literalBrackets===!0){G.output+=T,S.value=T;continue}S.value=`(${u}${T}|${S.value})`,G.output+=S.value;continue}if($==="{"&&t.nobrace!==!0){Ce("braces");const C={type:"brace",value:$,output:"(",outputIndex:G.output.length,tokensIndex:G.tokens.length};ne.push(C),me(C);continue}if($==="}"){const C=ne[ne.length-1];if(t.nobrace===!0||!C){me({type:"text",value:$,output:$});continue}let T=")";if(C.dots===!0){const U=a.slice(),B=[];for(let F=U.length-1;F>=0&&(a.pop(),U[F].type!=="brace");F--)U[F].type!=="dots"&&B.unshift(U[F].value);T=ore(B,t),G.backtrack=!0}if(C.comma!==!0&&C.dots!==!0){const U=G.output.slice(0,C.outputIndex),B=G.tokens.slice(C.tokensIndex);C.value=C.output="\\{",$=T="\\}",G.output=U;for(const F of B)G.output+=F.output||F.value}me({type:"brace",value:$,output:T}),le("braces"),ne.pop();continue}if($==="|"){ie.length>0&&ie[ie.length-1].conditions++,me({type:"text",value:$});continue}if($===","){let C=$;const T=ne[ne.length-1];T&&x[x.length-1]==="braces"&&(T.comma=!0,C="|"),me({type:"comma",value:$,output:C});continue}if($==="/"){if(S.type==="dot"&&G.index===G.start+1){G.start=G.index+1,G.consumed="",G.output="",a.pop(),S=o;continue}me({type:"slash",value:$,output:p});continue}if($==="."){if(G.braces>0&&S.type==="dot"){S.value==="."&&(S.output=d);const C=ne[ne.length-1];S.type="dots",S.output+=$,S.value+=$,C.dots=!0;continue}if(G.braces+G.parens===0&&S.type!=="bos"&&S.type!=="slash"){me({type:"text",value:$,output:d});continue}me({type:"dot",value:$,output:d});continue}if($==="?"){if(!(S&&S.value==="(")&&t.noextglob!==!0&&O()==="("&&O(2)!=="?"){Kt("qmark",$);continue}if(S&&S.type==="paren"){const T=O();let U=$;if(T==="<"&&!gr.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(S.value==="("&&!/[!=<:]/.test(T)||T==="<"&&!/<([!=]|\w+>)/.test(K()))&&(U=`\\${$}`),me({type:"text",value:$,output:U});continue}if(t.dot!==!0&&(S.type==="slash"||S.type==="bos")){me({type:"qmark",value:$,output:v});continue}me({type:"qmark",value:$,output:w});continue}if($==="!"){if(t.noextglob!==!0&&O()==="("&&(O(2)!=="?"||!/[!=<:]/.test(O(3)))){Kt("negate",$);continue}if(t.nonegate!==!0&&G.index===0){ae();continue}}if($==="+"){if(t.noextglob!==!0&&O()==="("&&O(2)!=="?"){Kt("plus",$);continue}if(S&&S.value==="("||t.regex===!1){me({type:"plus",value:$,output:f});continue}if(S&&(S.type==="bracket"||S.type==="paren"||S.type==="brace")||G.parens>0){me({type:"plus",value:$});continue}me({type:"plus",value:f});continue}if($==="@"){if(t.noextglob!==!0&&O()==="("&&O(2)!=="?"){me({type:"at",extglob:!0,value:$,output:""});continue}me({type:"text",value:$});continue}if($!=="*"){($==="$"||$==="^")&&($=`\\${$}`);const C=sre.exec(K());C&&($+=C[0],G.index+=C[0].length),me({type:"text",value:$});continue}if(S&&(S.type==="globstar"||S.star===!0)){S.type="star",S.star=!0,S.value+=$,S.output=N,G.backtrack=!0,G.globstar=!0,ee($);continue}let J=K();if(t.noextglob!==!0&&/^\([^?]/.test(J)){Kt("star",$);continue}if(S.type==="star"){if(t.noglobstar===!0){ee($);continue}const C=S.prev,T=C.prev,U=C.type==="slash"||C.type==="bos",B=T&&(T.type==="star"||T.type==="globstar");if(t.bash===!0&&(!U||J[0]&&J[0]!=="/")){me({type:"star",value:$,output:""});continue}const F=G.braces>0&&(C.type==="comma"||C.type==="brace"),k=ie.length&&(C.type==="pipe"||C.type==="paren");if(!U&&C.type!=="paren"&&!F&&!k){me({type:"star",value:$,output:""});continue}for(;J.slice(0,3)==="/**";){const te=r[G.index+4];if(te&&te!=="/")break;J=J.slice(3),ee("/**",3)}if(C.type==="bos"&&q()){S.type="globstar",S.value+=$,S.output=P(t),G.output=S.output,G.globstar=!0,ee($);continue}if(C.type==="slash"&&C.prev.type!=="bos"&&!B&&q()){G.output=G.output.slice(0,-(C.output+S.output).length),C.output=`(?:${C.output}`,S.type="globstar",S.output=P(t)+(t.strictSlashes?")":"|$)"),S.value+=$,G.globstar=!0,G.output+=C.output+S.output,ee($);continue}if(C.type==="slash"&&C.prev.type!=="bos"&&J[0]==="/"){const te=J[1]!==void 0?"|$":"";G.output=G.output.slice(0,-(C.output+S.output).length),C.output=`(?:${C.output}`,S.type="globstar",S.output=`${P(t)}${p}|${p}${te})`,S.value+=$,G.output+=C.output+S.output,G.globstar=!0,ee($+L()),me({type:"slash",value:"/",output:""});continue}if(C.type==="bos"&&J[0]==="/"){S.type="globstar",S.value+=$,S.output=`(?:^|${p}|${P(t)}${p})`,G.output=S.output,G.globstar=!0,ee($+L()),me({type:"slash",value:"/",output:""});continue}G.output=G.output.slice(0,-S.output.length),S.type="globstar",S.output=P(t),S.value+=$,G.output+=S.output,G.globstar=!0,ee($);continue}const I={type:"star",value:$,output:N};if(t.bash===!0){I.output=".*?",(S.type==="bos"||S.type==="slash")&&(I.output=M+I.output),me(I);continue}if(S&&(S.type==="bracket"||S.type==="paren")&&t.regex===!0){I.output=$,me(I);continue}(G.index===G.start||S.type==="slash"||S.type==="dot")&&(S.type==="dot"?(G.output+=D,S.output+=D):t.dot===!0?(G.output+=b,S.output+=b):(G.output+=M,S.output+=M),O()!=="*"&&(G.output+=g,S.output+=g)),me(I)}for(;G.brackets>0;){if(t.strictBrackets===!0)throw new SyntaxError(Sn("closing","]"));G.output=gr.escapeLast(G.output,"["),le("brackets")}for(;G.parens>0;){if(t.strictBrackets===!0)throw new SyntaxError(Sn("closing",")"));G.output=gr.escapeLast(G.output,"("),le("parens")}for(;G.braces>0;){if(t.strictBrackets===!0)throw new SyntaxError(Sn("closing","}"));G.output=gr.escapeLast(G.output,"{"),le("braces")}if(t.strictSlashes!==!0&&(S.type==="star"||S.type==="bracket")&&me({type:"maybe_slash",value:"",output:`${p}?`}),G.backtrack===!0){G.output="";for(const J of G.tokens)G.output+=J.output!=null?J.output:J.value,J.suffix&&(G.output+=J.suffix)}return G};z1.fastpaths=(r,e)=>{const t={...e},s=typeof t.maxLength=="number"?Math.min(Wl,t.maxLength):Wl,n=r.length;if(n>s)throw new SyntaxError(`Input length: ${n}, exceeds maximum allowed length: ${s}`);r=FR[r]||r;const o=gr.isWindows(e),{DOT_LITERAL:a,SLASH_LITERAL:u,ONE_CHAR:c,DOTS_SLASH:l,NO_DOT:h,NO_DOTS:d,NO_DOTS_SLASH:f,STAR:p,START_ANCHOR:g}=Gl.globChars(o),m=t.dot?d:h,E=t.dot?f:h,D=t.capture?"":"?:",b={negated:!1,prefix:""};let w=t.bash===!0?".*?":p;t.capture&&(w=`(${w})`);const v=M=>M.noglobstar===!0?w:`(${D}(?:(?!${g}${M.dot?l:a}).)*?)`,_=M=>{switch(M){case"*":return`${m}${c}${w}`;case".*":return`${a}${c}${w}`;case"*.*":return`${m}${w}${a}${c}${w}`;case"*/*":return`${m}${w}${u}${c}${E}${w}`;case"**":return m+v(t);case"**/*":return`(?:${m}${v(t)}${u})?${E}${c}${w}`;case"**/*.*":return`(?:${m}${v(t)}${u})?${E}${w}${a}${c}${w}`;case"**/.*":return`(?:${m}${v(t)}${u})?${a}${c}${w}`;default:{const j=/^(.*?)\.(\w+)$/.exec(M);if(!j)return;const N=_(j[1]);return N?N+a+j[2]:void 0}}},R=gr.removePrefix(r,b);let P=_(R);return P&&t.strictSlashes!==!0&&(P+=`${u}?`),P};var are=z1;const ure=de,cre=rre,Cg=are,q1=$u,lre=ef,hre=r=>r&&typeof r=="object"&&!Array.isArray(r),ut=(r,e,t=!1)=>{if(Array.isArray(r)){const h=r.map(f=>ut(f,e,t));return f=>{for(const p of h){const g=p(f);if(g)return g}return!1}}const s=hre(r)&&r.tokens&&r.input;if(r===""||typeof r!="string"&&!s)throw new TypeError("Expected pattern to be a non-empty string");const n=e||{},o=q1.isWindows(e),a=s?ut.compileRe(r,e):ut.makeRe(r,e,!1,!0),u=a.state;delete a.state;let c=()=>!1;if(n.ignore){const h={...e,ignore:null,onMatch:null,onResult:null};c=ut(n.ignore,h,t)}const l=(h,d=!1)=>{const{isMatch:f,match:p,output:g}=ut.test(h,a,e,{glob:r,posix:o}),m={glob:r,state:u,regex:a,posix:o,input:h,output:g,match:p,isMatch:f};return typeof n.onResult=="function"&&n.onResult(m),f===!1?(m.isMatch=!1,d?m:!1):c(h)?(typeof n.onIgnore=="function"&&n.onIgnore(m),m.isMatch=!1,d?m:!1):(typeof n.onMatch=="function"&&n.onMatch(m),d?m:!0)};return t&&(l.state=u),l};ut.test=(r,e,t,{glob:s,posix:n}={})=>{if(typeof r!="string")throw new TypeError("Expected input to be a string");if(r==="")return{isMatch:!1,output:""};const o=t||{},a=o.format||(n?q1.toPosixSlashes:null);let u=r===s,c=u&&a?a(r):r;return u===!1&&(c=a?a(r):r,u=c===s),(u===!1||o.capture===!0)&&(o.matchBase===!0||o.basename===!0?u=ut.matchBase(r,e,t,n):u=e.exec(c)),{isMatch:!!u,match:u,output:c}};ut.matchBase=(r,e,t,s=q1.isWindows(t))=>(e instanceof RegExp?e:ut.makeRe(e,t)).test(ure.basename(r));ut.isMatch=(r,e,t)=>ut(e,t)(r);ut.parse=(r,e)=>Array.isArray(r)?r.map(t=>ut.parse(t,e)):Cg(r,{...e,fastpaths:!1});ut.scan=(r,e)=>cre(r,e);ut.compileRe=(r,e,t=!1,s=!1)=>{if(t===!0)return r.output;const n=e||{},o=n.contains?"":"^",a=n.contains?"":"$";let u=`${o}(?:${r.output})${a}`;r&&r.negated===!0&&(u=`^(?!${u}).*$`);const c=ut.toRegex(u,e);return s===!0&&(c.state=r),c};ut.makeRe=(r,e={},t=!1,s=!1)=>{if(!r||typeof r!="string")throw new TypeError("Expected a non-empty string");let n={negated:!1,fastpaths:!0};return e.fastpaths!==!1&&(r[0]==="."||r[0]==="*")&&(n.output=Cg.fastpaths(r,e)),n.output||(n=Cg(r,e)),ut.compileRe(n,e,t,s)};ut.toRegex=(r,e)=>{try{const t=e||{};return new RegExp(r,t.flags||(t.nocase?"i":""))}catch(t){if(e&&e.debug===!0)throw t;return/$^/}};ut.constants=lre;var fre=ut,dre=fre;const $R=rs,RR=Lte,ai=dre,Fg=$u,W_=r=>r===""||r==="./",Xe=(r,e,t)=>{e=[].concat(e),r=[].concat(r);let s=new Set,n=new Set,o=new Set,a=0,u=h=>{o.add(h.output),t&&t.onResult&&t.onResult(h)};for(let h=0;h<e.length;h++){let d=ai(String(e[h]),{...t,onResult:u},!0),f=d.state.negated||d.state.negatedExtglob;f&&a++;for(let p of r){let g=d(p,!0);(f?!g.isMatch:g.isMatch)&&(f?s.add(g.output):(s.delete(g.output),n.add(g.output)))}}let l=(a===e.length?[...o]:[...n]).filter(h=>!s.has(h));if(t&&l.length===0){if(t.failglob===!0)throw new Error(`No matches found for "${e.join(", ")}"`);if(t.nonull===!0||t.nullglob===!0)return t.unescape?e.map(h=>h.replace(/\\/g,"")):e}return l};Xe.match=Xe;Xe.matcher=(r,e)=>ai(r,e);Xe.isMatch=(r,e,t)=>ai(e,t)(r);Xe.any=Xe.isMatch;Xe.not=(r,e,t={})=>{e=[].concat(e).map(String);let s=new Set,n=[],o=u=>{t.onResult&&t.onResult(u),n.push(u.output)},a=new Set(Xe(r,e,{...t,onResult:o}));for(let u of n)a.has(u)||s.add(u);return[...s]};Xe.contains=(r,e,t)=>{if(typeof r!="string")throw new TypeError(`Expected a string: "${$R.inspect(r)}"`);if(Array.isArray(e))return e.some(s=>Xe.contains(r,s,t));if(typeof e=="string"){if(W_(r)||W_(e))return!1;if(r.includes(e)||r.startsWith("./")&&r.slice(2).includes(e))return!0}return Xe.isMatch(r,e,{...t,contains:!0})};Xe.matchKeys=(r,e,t)=>{if(!Fg.isObject(r))throw new TypeError("Expected the first argument to be an object");let s=Xe(Object.keys(r),e,t),n={};for(let o of s)n[o]=r[o];return n};Xe.some=(r,e,t)=>{let s=[].concat(r);for(let n of[].concat(e)){let o=ai(String(n),t);if(s.some(a=>o(a)))return!0}return!1};Xe.every=(r,e,t)=>{let s=[].concat(r);for(let n of[].concat(e)){let o=ai(String(n),t);if(!s.every(a=>o(a)))return!1}return!0};Xe.all=(r,e,t)=>{if(typeof r!="string")throw new TypeError(`Expected a string: "${$R.inspect(r)}"`);return[].concat(e).every(s=>ai(s,t)(r))};Xe.capture=(r,e,t)=>{let s=Fg.isWindows(t),o=ai.makeRe(String(r),{...t,capture:!0}).exec(s?Fg.toPosixSlashes(e):e);if(o)return o.slice(1).map(a=>a===void 0?"":a)};Xe.makeRe=(...r)=>ai.makeRe(...r);Xe.scan=(...r)=>ai.scan(...r);Xe.parse=(r,e)=>{let t=[];for(let s of[].concat(r||[]))for(let n of RR(String(s),e))t.push(ai.parse(n,e));return t};Xe.braces=(r,e)=>{if(typeof r!="string")throw new TypeError("Expected a string");return e&&e.nobrace===!0||!/\{.*\}/.test(r)?[r]:RR(r,e)};Xe.braceExpand=(r,e)=>{if(typeof r!="string")throw new TypeError("Expected a string");return Xe.braces(r,{...e,expand:!0})};var pre=Xe;Object.defineProperty(Ae,"__esModule",{value:!0});Ae.removeDuplicateSlashes=Ae.matchAny=Ae.convertPatternsToRe=Ae.makeRe=Ae.getPatternParts=Ae.expandBraceExpansion=Ae.expandPatternsWithBraceExpansion=Ae.isAffectDepthOfReadingPattern=Ae.endsWithSlashGlobStar=Ae.hasGlobStar=Ae.getBaseDirectory=Ae.isPatternRelatedToParentDirectory=Ae.getPatternsOutsideCurrentDirectory=Ae.getPatternsInsideCurrentDirectory=Ae.getPositivePatterns=Ae.getNegativePatterns=Ae.isPositivePattern=Ae.isNegativePattern=Ae.convertToNegativePattern=Ae.convertToPositivePattern=Ae.isDynamicPattern=Ae.isStaticPattern=void 0;const gre=de,mre=Yee,V1=pre,xR="**",yre="\\",Dre=/[*?]|^!/,Ere=/\[[^[]*]/,bre=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,wre=/[!*+?@]\([^(]*\)/,vre=/,|\.\./,_re=/(?!^)\/{2,}/g;function OR(r,e={}){return!TR(r,e)}Ae.isStaticPattern=OR;function TR(r,e={}){return r===""?!1:!!(e.caseSensitiveMatch===!1||r.includes(yre)||Dre.test(r)||Ere.test(r)||bre.test(r)||e.extglob!==!1&&wre.test(r)||e.braceExpansion!==!1&&Are(r))}Ae.isDynamicPattern=TR;function Are(r){const e=r.indexOf("{");if(e===-1)return!1;const t=r.indexOf("}",e+1);if(t===-1)return!1;const s=r.slice(e,t);return vre.test(s)}function Sre(r){return tf(r)?r.slice(1):r}Ae.convertToPositivePattern=Sre;function Cre(r){return"!"+r}Ae.convertToNegativePattern=Cre;function tf(r){return r.startsWith("!")&&r[1]!=="("}Ae.isNegativePattern=tf;function BR(r){return!tf(r)}Ae.isPositivePattern=BR;function Fre(r){return r.filter(tf)}Ae.getNegativePatterns=Fre;function $re(r){return r.filter(BR)}Ae.getPositivePatterns=$re;function Rre(r){return r.filter(e=>!Y1(e))}Ae.getPatternsInsideCurrentDirectory=Rre;function xre(r){return r.filter(Y1)}Ae.getPatternsOutsideCurrentDirectory=xre;function Y1(r){return r.startsWith("..")||r.startsWith("./..")}Ae.isPatternRelatedToParentDirectory=Y1;function Ore(r){return mre(r,{flipBackslashes:!1})}Ae.getBaseDirectory=Ore;function Tre(r){return r.includes(xR)}Ae.hasGlobStar=Tre;function IR(r){return r.endsWith("/"+xR)}Ae.endsWithSlashGlobStar=IR;function Bre(r){const e=gre.basename(r);return IR(r)||OR(e)}Ae.isAffectDepthOfReadingPattern=Bre;function Ire(r){return r.reduce((e,t)=>e.concat(PR(t)),[])}Ae.expandPatternsWithBraceExpansion=Ire;function PR(r){const e=V1.braces(r,{expand:!0,nodupes:!0,keepEscaping:!0});return e.sort((t,s)=>t.length-s.length),e.filter(t=>t!=="")}Ae.expandBraceExpansion=PR;function Pre(r,e){let{parts:t}=V1.scan(r,Object.assign(Object.assign({},e),{parts:!0}));return t.length===0&&(t=[r]),t[0].startsWith("/")&&(t[0]=t[0].slice(1),t.unshift("")),t}Ae.getPatternParts=Pre;function LR(r,e){return V1.makeRe(r,e)}Ae.makeRe=LR;function Lre(r,e){return r.map(t=>LR(t,e))}Ae.convertPatternsToRe=Lre;function kre(r,e){return e.some(t=>t.test(r))}Ae.matchAny=kre;function Nre(r){return r.replace(_re,"/")}Ae.removeDuplicateSlashes=Nre;var rf={};const Mre=Vt,kR=Mre.PassThrough,jre=Array.prototype.slice;var Ure=Hre;function Hre(){const r=[],e=jre.call(arguments);let t=!1,s=e[e.length-1];s&&!Array.isArray(s)&&s.pipe==null?e.pop():s={};const n=s.end!==!1,o=s.pipeError===!0;s.objectMode==null&&(s.objectMode=!0),s.highWaterMark==null&&(s.highWaterMark=64*1024);const a=kR(s);function u(){for(let h=0,d=arguments.length;h<d;h++)r.push(NR(arguments[h],s));return c(),this}function c(){if(t)return;t=!0;let h=r.shift();if(!h){process.nextTick(l);return}Array.isArray(h)||(h=[h]);let d=h.length+1;function f(){--d>0||(t=!1,c())}function p(g){function m(){g.removeListener("merge2UnpipeEnd",m),g.removeListener("end",m),o&&g.removeListener("error",E),f()}function E(D){a.emit("error",D)}if(g._readableState.endEmitted)return f();g.on("merge2UnpipeEnd",m),g.on("end",m),o&&g.on("error",E),g.pipe(a,{end:!1}),g.resume()}for(let g=0;g<h.length;g++)p(h[g]);f()}function l(){t=!1,a.emit("queueDrain"),n&&a.end()}return a.setMaxListeners(0),a.add=u,a.on("unpipe",function(h){h.emit("merge2UnpipeEnd")}),e.length&&u.apply(null,e),a}function NR(r,e){if(Array.isArray(r))for(let t=0,s=r.length;t<s;t++)r[t]=NR(r[t],e);else{if(!r._readableState&&r.pipe&&(r=r.pipe(kR(e))),!r._readableState||!r.pause||!r.pipe)throw new Error("Only readable stream can be merged.");r.pause()}return r}Object.defineProperty(rf,"__esModule",{value:!0});rf.merge=void 0;const Gre=Ure;function Wre(r){const e=Gre(r);return r.forEach(t=>{t.once("error",s=>e.emit("error",s))}),e.once("close",()=>z_(r)),e.once("end",()=>z_(r)),e}rf.merge=Wre;function z_(r){r.forEach(e=>e.emit("close"))}var so={};Object.defineProperty(so,"__esModule",{value:!0});so.isEmpty=so.isString=void 0;function zre(r){return typeof r=="string"}so.isString=zre;function qre(r){return r===""}so.isEmpty=qre;Object.defineProperty(Je,"__esModule",{value:!0});Je.string=Je.stream=Je.pattern=Je.path=Je.fs=Je.errno=Je.array=void 0;const Vre=io;Je.array=Vre;const Yre=Xh;Je.errno=Yre;const Kre=Zh;Je.fs=Kre;const Xre=ft;Je.path=Xre;const Zre=Ae;Je.pattern=Zre;const Jre=rf;Je.stream=Jre;const Qre=so;Je.string=Qre;Object.defineProperty(Wt,"__esModule",{value:!0});Wt.convertPatternGroupToTask=Wt.convertPatternGroupsToTasks=Wt.groupPatternsByBaseDirectory=Wt.getNegativePatternsAsPositive=Wt.getPositivePatterns=Wt.convertPatternsToTasks=Wt.generate=void 0;const Pr=Je;function eie(r,e){const t=q_(r,e),s=q_(e.ignore,e),n=MR(t),o=jR(t,s),a=n.filter(h=>Pr.pattern.isStaticPattern(h,e)),u=n.filter(h=>Pr.pattern.isDynamicPattern(h,e)),c=$g(a,o,!1),l=$g(u,o,!0);return c.concat(l)}Wt.generate=eie;function q_(r,e){let t=r;return e.braceExpansion&&(t=Pr.pattern.expandPatternsWithBraceExpansion(t)),e.baseNameMatch&&(t=t.map(s=>s.includes("/")?s:`**/${s}`)),t.map(s=>Pr.pattern.removeDuplicateSlashes(s))}function $g(r,e,t){const s=[],n=Pr.pattern.getPatternsOutsideCurrentDirectory(r),o=Pr.pattern.getPatternsInsideCurrentDirectory(r),a=Rg(n),u=Rg(o);return s.push(...xg(a,e,t)),"."in u?s.push(K1(".",o,e,t)):s.push(...xg(u,e,t)),s}Wt.convertPatternsToTasks=$g;function MR(r){return Pr.pattern.getPositivePatterns(r)}Wt.getPositivePatterns=MR;function jR(r,e){return Pr.pattern.getNegativePatterns(r).concat(e).map(Pr.pattern.convertToPositivePattern)}Wt.getNegativePatternsAsPositive=jR;function Rg(r){const e={};return r.reduce((t,s)=>{const n=Pr.pattern.getBaseDirectory(s);return n in t?t[n].push(s):t[n]=[s],t},e)}Wt.groupPatternsByBaseDirectory=Rg;function xg(r,e,t){return Object.keys(r).map(s=>K1(s,r[s],e,t))}Wt.convertPatternGroupsToTasks=xg;function K1(r,e,t,s){return{dynamic:s,positive:e,negative:t,base:r,patterns:[].concat(e,t.map(Pr.pattern.convertToNegativePattern))}}Wt.convertPatternGroupToTask=K1;var X1={},Z1={},Ar={},J1={},sf={},ri={},$s={},Dr={},nf={};Object.defineProperty(nf,"__esModule",{value:!0});nf.read=void 0;function tie(r,e,t){e.fs.lstat(r,(s,n)=>{if(s!==null){V_(t,s);return}if(!n.isSymbolicLink()||!e.followSymbolicLink){c0(t,n);return}e.fs.stat(r,(o,a)=>{if(o!==null){if(e.throwErrorOnBrokenSymbolicLink){V_(t,o);return}c0(t,n);return}e.markSymbolicLink&&(a.isSymbolicLink=()=>!0),c0(t,a)})})}nf.read=tie;function V_(r,e){r(e)}function c0(r,e){r(null,e)}var of={};Object.defineProperty(of,"__esModule",{value:!0});of.read=void 0;function rie(r,e){const t=e.fs.lstatSync(r);if(!t.isSymbolicLink()||!e.followSymbolicLink)return t;try{const s=e.fs.statSync(r);return e.markSymbolicLink&&(s.isSymbolicLink=()=>!0),s}catch(s){if(!e.throwErrorOnBrokenSymbolicLink)return t;throw s}}of.read=rie;var Q1={},UR={};(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.createFileSystemAdapter=r.FILE_SYSTEM_ADAPTER=void 0;const e=lt;r.FILE_SYSTEM_ADAPTER={lstat:e.lstat,stat:e.stat,lstatSync:e.lstatSync,statSync:e.statSync};function t(s){return s===void 0?r.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},r.FILE_SYSTEM_ADAPTER),s)}r.createFileSystemAdapter=t})(UR);Object.defineProperty(Q1,"__esModule",{value:!0});const iie=UR;let sie=class{constructor(e={}){this._options=e,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=iie.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(e,t){return e??t}};Q1.default=sie;Object.defineProperty(Dr,"__esModule",{value:!0});Dr.statSync=Dr.stat=Dr.Settings=void 0;const Y_=nf,nie=of,Og=Q1;Dr.Settings=Og.default;function oie(r,e,t){if(typeof e=="function"){Y_.read(r,Tg(),e);return}Y_.read(r,Tg(e),t)}Dr.stat=oie;function aie(r,e){const t=Tg(e);return nie.read(r,t)}Dr.statSync=aie;function Tg(r={}){return r instanceof Og.default?r:new Og.default(r)}/*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */let K_;var uie=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:fe):r=>(K_||(K_=Promise.resolve())).then(r).catch(e=>setTimeout(()=>{throw e},0));/*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var cie=hie;const lie=uie;function hie(r,e){let t,s,n,o=!0;Array.isArray(r)?(t=[],s=r.length):(n=Object.keys(r),t={},s=n.length);function a(c){function l(){e&&e(c,t),e=null}o?lie(l):l()}function u(c,l,h){t[c]=h,(--s===0||l)&&a(l)}s?n?n.forEach(function(c){r[c](function(l,h){u(c,l,h)})}):r.forEach(function(c,l){c(function(h,d){u(l,h,d)})}):a(null),o=!1}var Ru={};Object.defineProperty(Ru,"__esModule",{value:!0});Ru.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;const zl=process.versions.node.split(".");if(zl[0]===void 0||zl[1]===void 0)throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);const HR=Number.parseInt(zl[0],10),fie=Number.parseInt(zl[1],10),GR=10,die=10,pie=HR>GR,gie=HR===GR&&fie>=die;Ru.IS_SUPPORT_READDIR_WITH_FILE_TYPES=pie||gie;var xu={},af={};Object.defineProperty(af,"__esModule",{value:!0});af.createDirentFromStats=void 0;class mie{constructor(e,t){this.name=e,this.isBlockDevice=t.isBlockDevice.bind(t),this.isCharacterDevice=t.isCharacterDevice.bind(t),this.isDirectory=t.isDirectory.bind(t),this.isFIFO=t.isFIFO.bind(t),this.isFile=t.isFile.bind(t),this.isSocket=t.isSocket.bind(t),this.isSymbolicLink=t.isSymbolicLink.bind(t)}}function yie(r,e){return new mie(r,e)}af.createDirentFromStats=yie;Object.defineProperty(xu,"__esModule",{value:!0});xu.fs=void 0;const Die=af;xu.fs=Die;var Ou={};Object.defineProperty(Ou,"__esModule",{value:!0});Ou.joinPathSegments=void 0;function Eie(r,e,t){return r.endsWith(t)?r+e:r+t+e}Ou.joinPathSegments=Eie;Object.defineProperty($s,"__esModule",{value:!0});$s.readdir=$s.readdirWithFileTypes=$s.read=void 0;const bie=Dr,WR=cie,wie=Ru,zR=xu,qR=Ou;function vie(r,e,t){if(!e.stats&&wie.IS_SUPPORT_READDIR_WITH_FILE_TYPES){VR(r,e,t);return}YR(r,e,t)}$s.read=vie;function VR(r,e,t){e.fs.readdir(r,{withFileTypes:!0},(s,n)=>{if(s!==null){ql(t,s);return}const o=n.map(u=>({dirent:u,name:u.name,path:qR.joinPathSegments(r,u.name,e.pathSegmentSeparator)}));if(!e.followSymbolicLinks){Bg(t,o);return}const a=o.map(u=>_ie(u,e));WR(a,(u,c)=>{if(u!==null){ql(t,u);return}Bg(t,c)})})}$s.readdirWithFileTypes=VR;function _ie(r,e){return t=>{if(!r.dirent.isSymbolicLink()){t(null,r);return}e.fs.stat(r.path,(s,n)=>{if(s!==null){if(e.throwErrorOnBrokenSymbolicLink){t(s);return}t(null,r);return}r.dirent=zR.fs.createDirentFromStats(r.name,n),t(null,r)})}}function YR(r,e,t){e.fs.readdir(r,(s,n)=>{if(s!==null){ql(t,s);return}const o=n.map(a=>{const u=qR.joinPathSegments(r,a,e.pathSegmentSeparator);return c=>{bie.stat(u,e.fsStatSettings,(l,h)=>{if(l!==null){c(l);return}const d={name:a,path:u,dirent:zR.fs.createDirentFromStats(a,h)};e.stats&&(d.stats=h),c(null,d)})}});WR(o,(a,u)=>{if(a!==null){ql(t,a);return}Bg(t,u)})})}$s.readdir=YR;function ql(r,e){r(e)}function Bg(r,e){r(null,e)}var Rs={};Object.defineProperty(Rs,"__esModule",{value:!0});Rs.readdir=Rs.readdirWithFileTypes=Rs.read=void 0;const Aie=Dr,Sie=Ru,KR=xu,XR=Ou;function Cie(r,e){return!e.stats&&Sie.IS_SUPPORT_READDIR_WITH_FILE_TYPES?ZR(r,e):JR(r,e)}Rs.read=Cie;function ZR(r,e){return e.fs.readdirSync(r,{withFileTypes:!0}).map(s=>{const n={dirent:s,name:s.name,path:XR.joinPathSegments(r,s.name,e.pathSegmentSeparator)};if(n.dirent.isSymbolicLink()&&e.followSymbolicLinks)try{const o=e.fs.statSync(n.path);n.dirent=KR.fs.createDirentFromStats(n.name,o)}catch(o){if(e.throwErrorOnBrokenSymbolicLink)throw o}return n})}Rs.readdirWithFileTypes=ZR;function JR(r,e){return e.fs.readdirSync(r).map(s=>{const n=XR.joinPathSegments(r,s,e.pathSegmentSeparator),o=Aie.statSync(n,e.fsStatSettings),a={name:s,path:n,dirent:KR.fs.createDirentFromStats(s,o)};return e.stats&&(a.stats=o),a})}Rs.readdir=JR;var ey={},QR={};(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.createFileSystemAdapter=r.FILE_SYSTEM_ADAPTER=void 0;const e=lt;r.FILE_SYSTEM_ADAPTER={lstat:e.lstat,stat:e.stat,lstatSync:e.lstatSync,statSync:e.statSync,readdir:e.readdir,readdirSync:e.readdirSync};function t(s){return s===void 0?r.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},r.FILE_SYSTEM_ADAPTER),s)}r.createFileSystemAdapter=t})(QR);Object.defineProperty(ey,"__esModule",{value:!0});const Fie=de,$ie=Dr,Rie=QR;let xie=class{constructor(e={}){this._options=e,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=Rie.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,Fie.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new $ie.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return e??t}};ey.default=xie;Object.defineProperty(ri,"__esModule",{value:!0});ri.Settings=ri.scandirSync=ri.scandir=void 0;const X_=$s,Oie=Rs,Ig=ey;ri.Settings=Ig.default;function Tie(r,e,t){if(typeof e=="function"){X_.read(r,Pg(),e);return}X_.read(r,Pg(e),t)}ri.scandir=Tie;function Bie(r,e){const t=Pg(e);return Oie.read(r,t)}ri.scandirSync=Bie;function Pg(r={}){return r instanceof Ig.default?r:new Ig.default(r)}var ty={exports:{}};function Iie(r){var e=new r,t=e;function s(){var o=e;return o.next?e=o.next:(e=new r,t=e),o.next=null,o}function n(o){t.next=o,t=o}return{get:s,release:n}}var Pie=Iie,Lie=Pie;function ex(r,e,t){if(typeof r=="function"&&(t=e,e=r,r=null),t<1)throw new Error("fastqueue concurrency must be greater than 1");var s=Lie(kie),n=null,o=null,a=0,u=null,c={push:m,drain:_r,saturated:_r,pause:h,paused:!1,concurrency:t,running:l,resume:p,idle:g,length:d,getQueue:f,unshift:E,empty:_r,kill:b,killAndDrain:w,error:v};return c;function l(){return a}function h(){c.paused=!0}function d(){for(var _=n,R=0;_;)_=_.next,R++;return R}function f(){for(var _=n,R=[];_;)R.push(_.value),_=_.next;return R}function p(){if(c.paused){c.paused=!1;for(var _=0;_<c.concurrency;_++)a++,D()}}function g(){return a===0&&c.length()===0}function m(_,R){var P=s.get();P.context=r,P.release=D,P.value=_,P.callback=R||_r,P.errorHandler=u,a===c.concurrency||c.paused?o?(o.next=P,o=P):(n=P,o=P,c.saturated()):(a++,e.call(r,P.value,P.worked))}function E(_,R){var P=s.get();P.context=r,P.release=D,P.value=_,P.callback=R||_r,a===c.concurrency||c.paused?n?(P.next=n,n=P):(n=P,o=P,c.saturated()):(a++,e.call(r,P.value,P.worked))}function D(_){_&&s.release(_);var R=n;R?c.paused?a--:(o===n&&(o=null),n=R.next,R.next=null,e.call(r,R.value,R.worked),o===null&&c.empty()):--a===0&&c.drain()}function b(){n=null,o=null,c.drain=_r}function w(){n=null,o=null,c.drain(),c.drain=_r}function v(_){u=_}}function _r(){}function kie(){this.value=null,this.callback=_r,this.next=null,this.release=_r,this.context=null,this.errorHandler=null;var r=this;this.worked=function(t,s){var n=r.callback,o=r.errorHandler,a=r.value;r.value=null,r.callback=_r,r.errorHandler&&o(t,a),n.call(r.context,t,s),r.release(r)}}function Nie(r,e,t){typeof r=="function"&&(t=e,e=r,r=null);function s(h,d){e.call(this,h).then(function(f){d(null,f)},d)}var n=ex(r,s,t),o=n.push,a=n.unshift;return n.push=u,n.unshift=c,n.drained=l,n;function u(h){var d=new Promise(function(f,p){o(h,function(g,m){if(g){p(g);return}f(m)})});return d.catch(_r),d}function c(h){var d=new Promise(function(f,p){a(h,function(g,m){if(g){p(g);return}f(m)})});return d.catch(_r),d}function l(){if(n.idle())return new Promise(function(f){f()});var h=n.drain,d=new Promise(function(f){n.drain=function(){h(),f()}});return d}}ty.exports=ex;ty.exports.promise=Nie;var Mie=ty.exports,Sr={};Object.defineProperty(Sr,"__esModule",{value:!0});Sr.joinPathSegments=Sr.replacePathSegmentSeparator=Sr.isAppliedFilter=Sr.isFatalError=void 0;function jie(r,e){return r.errorFilter===null?!0:!r.errorFilter(e)}Sr.isFatalError=jie;function Uie(r,e){return r===null||r(e)}Sr.isAppliedFilter=Uie;function Hie(r,e){return r.split(/[/\\]/).join(e)}Sr.replacePathSegmentSeparator=Hie;function Gie(r,e,t){return r===""?e:r.endsWith(t)?r+e:r+t+e}Sr.joinPathSegments=Gie;var uf={};Object.defineProperty(uf,"__esModule",{value:!0});const Wie=Sr;let zie=class{constructor(e,t){this._root=e,this._settings=t,this._root=Wie.replacePathSegmentSeparator(e,t.pathSegmentSeparator)}};uf.default=zie;Object.defineProperty(sf,"__esModule",{value:!0});const qie=Ot,Vie=ri,Yie=Mie,il=Sr,Kie=uf;class Xie extends Kie.default{constructor(e,t){super(e,t),this._settings=t,this._scandir=Vie.scandir,this._emitter=new qie.EventEmitter,this._queue=Yie(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(e){this._emitter.on("entry",e)}onError(e){this._emitter.once("error",e)}onEnd(e){this._emitter.once("end",e)}_pushToQueue(e,t){const s={directory:e,base:t};this._queue.push(s,n=>{n!==null&&this._handleError(n)})}_worker(e,t){this._scandir(e.directory,this._settings.fsScandirSettings,(s,n)=>{if(s!==null){t(s,void 0);return}for(const o of n)this._handleEntry(o,e.base);t(null,void 0)})}_handleError(e){this._isDestroyed||!il.isFatalError(this._settings,e)||(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",e))}_handleEntry(e,t){if(this._isDestroyed||this._isFatalError)return;const s=e.path;t!==void 0&&(e.path=il.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),il.isAppliedFilter(this._settings.entryFilter,e)&&this._emitEntry(e),e.dirent.isDirectory()&&il.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(s,t===void 0?void 0:e.path)}_emitEntry(e){this._emitter.emit("entry",e)}}sf.default=Xie;Object.defineProperty(J1,"__esModule",{value:!0});const Zie=sf;class Jie{constructor(e,t){this._root=e,this._settings=t,this._reader=new Zie.default(this._root,this._settings),this._storage=[]}read(e){this._reader.onError(t=>{Qie(e,t)}),this._reader.onEntry(t=>{this._storage.push(t)}),this._reader.onEnd(()=>{ese(e,this._storage)}),this._reader.read()}}J1.default=Jie;function Qie(r,e){r(e)}function ese(r,e){r(null,e)}var ry={};Object.defineProperty(ry,"__esModule",{value:!0});const tse=Vt,rse=sf;class ise{constructor(e,t){this._root=e,this._settings=t,this._reader=new rse.default(this._root,this._settings),this._stream=new tse.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy()}})}read(){return this._reader.onError(e=>{this._stream.emit("error",e)}),this._reader.onEntry(e=>{this._stream.push(e)}),this._reader.onEnd(()=>{this._stream.push(null)}),this._reader.read(),this._stream}}ry.default=ise;var iy={},sy={};Object.defineProperty(sy,"__esModule",{value:!0});const sse=ri,sl=Sr,nse=uf;class ose extends nse.default{constructor(){super(...arguments),this._scandir=sse.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(e,t){this._queue.add({directory:e,base:t})}_handleQueue(){for(const e of this._queue.values())this._handleDirectory(e.directory,e.base)}_handleDirectory(e,t){try{const s=this._scandir(e,this._settings.fsScandirSettings);for(const n of s)this._handleEntry(n,t)}catch(s){this._handleError(s)}}_handleError(e){if(sl.isFatalError(this._settings,e))throw e}_handleEntry(e,t){const s=e.path;t!==void 0&&(e.path=sl.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),sl.isAppliedFilter(this._settings.entryFilter,e)&&this._pushToStorage(e),e.dirent.isDirectory()&&sl.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(s,t===void 0?void 0:e.path)}_pushToStorage(e){this._storage.push(e)}}sy.default=ose;Object.defineProperty(iy,"__esModule",{value:!0});const ase=sy;class use{constructor(e,t){this._root=e,this._settings=t,this._reader=new ase.default(this._root,this._settings)}read(){return this._reader.read()}}iy.default=use;var ny={};Object.defineProperty(ny,"__esModule",{value:!0});const cse=de,lse=ri;class hse{constructor(e={}){this._options=e,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,cse.sep),this.fsScandirSettings=new lse.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return e??t}}ny.default=hse;Object.defineProperty(Ar,"__esModule",{value:!0});Ar.Settings=Ar.walkStream=Ar.walkSync=Ar.walk=void 0;const Z_=J1,fse=ry,dse=iy,Lg=ny;Ar.Settings=Lg.default;function pse(r,e,t){if(typeof e=="function"){new Z_.default(r,Vl()).read(e);return}new Z_.default(r,Vl(e)).read(t)}Ar.walk=pse;function gse(r,e){const t=Vl(e);return new dse.default(r,t).read()}Ar.walkSync=gse;function mse(r,e){const t=Vl(e);return new fse.default(r,t).read()}Ar.walkStream=mse;function Vl(r={}){return r instanceof Lg.default?r:new Lg.default(r)}var Tu={};Object.defineProperty(Tu,"__esModule",{value:!0});const yse=de,Dse=Dr,J_=Je;class Ese{constructor(e){this._settings=e,this._fsStatSettings=new Dse.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(e){return yse.resolve(this._settings.cwd,e)}_makeEntry(e,t){const s={name:t,path:t,dirent:J_.fs.createDirentFromStats(t,e)};return this._settings.stats&&(s.stats=e),s}_isFatalError(e){return!J_.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}}Tu.default=Ese;var cf={};Object.defineProperty(cf,"__esModule",{value:!0});const bse=Vt,wse=Dr,vse=Ar,_se=Tu;class Ase extends _se.default{constructor(){super(...arguments),this._walkStream=vse.walkStream,this._stat=wse.stat}dynamic(e,t){return this._walkStream(e,t)}static(e,t){const s=e.map(this._getFullEntryPath,this),n=new bse.PassThrough({objectMode:!0});n._write=(o,a,u)=>this._getEntry(s[o],e[o],t).then(c=>{c!==null&&t.entryFilter(c)&&n.push(c),o===s.length-1&&n.end(),u()}).catch(u);for(let o=0;o<s.length;o++)n.write(o);return n}_getEntry(e,t,s){return this._getStat(e).then(n=>this._makeEntry(n,t)).catch(n=>{if(s.errorFilter(n))return null;throw n})}_getStat(e){return new Promise((t,s)=>{this._stat(e,this._fsStatSettings,(n,o)=>n===null?t(o):s(n))})}}cf.default=Ase;Object.defineProperty(Z1,"__esModule",{value:!0});const Sse=Ar,Cse=Tu,Fse=cf;class $se extends Cse.default{constructor(){super(...arguments),this._walkAsync=Sse.walk,this._readerStream=new Fse.default(this._settings)}dynamic(e,t){return new Promise((s,n)=>{this._walkAsync(e,t,(o,a)=>{o===null?s(a):n(o)})})}async static(e,t){const s=[],n=this._readerStream.static(e,t);return new Promise((o,a)=>{n.once("error",a),n.on("data",u=>s.push(u)),n.once("end",()=>o(s))})}}Z1.default=$se;var Bu={},oy={},ay={},uy={};Object.defineProperty(uy,"__esModule",{value:!0});const Ea=Je;class Rse{constructor(e,t,s){this._patterns=e,this._settings=t,this._micromatchOptions=s,this._storage=[],this._fillStorage()}_fillStorage(){for(const e of this._patterns){const t=this._getPatternSegments(e),s=this._splitSegmentsIntoSections(t);this._storage.push({complete:s.length<=1,pattern:e,segments:t,sections:s})}}_getPatternSegments(e){return Ea.pattern.getPatternParts(e,this._micromatchOptions).map(s=>Ea.pattern.isDynamicPattern(s,this._settings)?{dynamic:!0,pattern:s,patternRe:Ea.pattern.makeRe(s,this._micromatchOptions)}:{dynamic:!1,pattern:s})}_splitSegmentsIntoSections(e){return Ea.array.splitWhen(e,t=>t.dynamic&&Ea.pattern.hasGlobStar(t.pattern))}}uy.default=Rse;Object.defineProperty(ay,"__esModule",{value:!0});const xse=uy;class Ose extends xse.default{match(e){const t=e.split("/"),s=t.length,n=this._storage.filter(o=>!o.complete||o.segments.length>s);for(const o of n){const a=o.sections[0];if(!o.complete&&s>a.length||t.every((c,l)=>{const h=o.segments[l];return!!(h.dynamic&&h.patternRe.test(c)||!h.dynamic&&h.pattern===c)}))return!0}return!1}}ay.default=Ose;Object.defineProperty(oy,"__esModule",{value:!0});const nl=Je,Tse=ay;class Bse{constructor(e,t){this._settings=e,this._micromatchOptions=t}getFilter(e,t,s){const n=this._getMatcher(t),o=this._getNegativePatternsRe(s);return a=>this._filter(e,a,n,o)}_getMatcher(e){return new Tse.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(e){const t=e.filter(nl.pattern.isAffectDepthOfReadingPattern);return nl.pattern.convertPatternsToRe(t,this._micromatchOptions)}_filter(e,t,s,n){if(this._isSkippedByDeep(e,t.path)||this._isSkippedSymbolicLink(t))return!1;const o=nl.path.removeLeadingDotSegment(t.path);return this._isSkippedByPositivePatterns(o,s)?!1:this._isSkippedByNegativePatterns(o,n)}_isSkippedByDeep(e,t){return this._settings.deep===1/0?!1:this._getEntryLevel(e,t)>=this._settings.deep}_getEntryLevel(e,t){const s=t.split("/").length;if(e==="")return s;const n=e.split("/").length;return s-n}_isSkippedSymbolicLink(e){return!this._settings.followSymbolicLinks&&e.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(e,t){return!this._settings.baseNameMatch&&!t.match(e)}_isSkippedByNegativePatterns(e,t){return!nl.pattern.matchAny(e,t)}}oy.default=Bse;var cy={};Object.defineProperty(cy,"__esModule",{value:!0});const qs=Je;class Ise{constructor(e,t){this._settings=e,this._micromatchOptions=t,this.index=new Map}getFilter(e,t){const s=qs.pattern.convertPatternsToRe(e,this._micromatchOptions),n=qs.pattern.convertPatternsToRe(t,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}));return o=>this._filter(o,s,n)}_filter(e,t,s){const n=qs.path.removeLeadingDotSegment(e.path);if(this._settings.unique&&this._isDuplicateEntry(n)||this._onlyFileFilter(e)||this._onlyDirectoryFilter(e)||this._isSkippedByAbsoluteNegativePatterns(n,s))return!1;const o=e.dirent.isDirectory(),a=this._isMatchToPatterns(n,t,o)&&!this._isMatchToPatterns(n,s,o);return this._settings.unique&&a&&this._createIndexRecord(n),a}_isDuplicateEntry(e){return this.index.has(e)}_createIndexRecord(e){this.index.set(e,void 0)}_onlyFileFilter(e){return this._settings.onlyFiles&&!e.dirent.isFile()}_onlyDirectoryFilter(e){return this._settings.onlyDirectories&&!e.dirent.isDirectory()}_isSkippedByAbsoluteNegativePatterns(e,t){if(!this._settings.absolute)return!1;const s=qs.path.makeAbsolute(this._settings.cwd,e);return qs.pattern.matchAny(s,t)}_isMatchToPatterns(e,t,s){const n=qs.pattern.matchAny(e,t);return!n&&s?qs.pattern.matchAny(e+"/",t):n}}cy.default=Ise;var ly={};Object.defineProperty(ly,"__esModule",{value:!0});const Pse=Je;class Lse{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(e){return Pse.errno.isEnoentCodeError(e)||this._settings.suppressErrors}}ly.default=Lse;var hy={};Object.defineProperty(hy,"__esModule",{value:!0});const Q_=Je;class kse{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(e){let t=e.path;return this._settings.absolute&&(t=Q_.path.makeAbsolute(this._settings.cwd,t),t=Q_.path.unixify(t)),this._settings.markDirectories&&e.dirent.isDirectory()&&(t+="/"),this._settings.objectMode?Object.assign(Object.assign({},e),{path:t}):t}}hy.default=kse;Object.defineProperty(Bu,"__esModule",{value:!0});const Nse=de,Mse=oy,jse=cy,Use=ly,Hse=hy;class Gse{constructor(e){this._settings=e,this.errorFilter=new Use.default(this._settings),this.entryFilter=new jse.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new Mse.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new Hse.default(this._settings)}_getRootDirectory(e){return Nse.resolve(this._settings.cwd,e.base)}_getReaderOptions(e){const t=e.base==="."?"":e.base;return{basePath:t,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(t,e.positive,e.negative),entryFilter:this.entryFilter.getFilter(e.positive,e.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}}}Bu.default=Gse;Object.defineProperty(X1,"__esModule",{value:!0});const Wse=Z1,zse=Bu;class qse extends zse.default{constructor(){super(...arguments),this._reader=new Wse.default(this._settings)}async read(e){const t=this._getRootDirectory(e),s=this._getReaderOptions(e);return(await this.api(t,e,s)).map(o=>s.transform(o))}api(e,t,s){return t.dynamic?this._reader.dynamic(e,s):this._reader.static(t.patterns,s)}}X1.default=qse;var fy={};Object.defineProperty(fy,"__esModule",{value:!0});const Vse=Vt,Yse=cf,Kse=Bu;class Xse extends Kse.default{constructor(){super(...arguments),this._reader=new Yse.default(this._settings)}read(e){const t=this._getRootDirectory(e),s=this._getReaderOptions(e),n=this.api(t,e,s),o=new Vse.Readable({objectMode:!0,read:()=>{}});return n.once("error",a=>o.emit("error",a)).on("data",a=>o.emit("data",s.transform(a))).once("end",()=>o.emit("end")),o.once("close",()=>n.destroy()),o}api(e,t,s){return t.dynamic?this._reader.dynamic(e,s):this._reader.static(t.patterns,s)}}fy.default=Xse;var dy={},py={};Object.defineProperty(py,"__esModule",{value:!0});const Zse=Dr,Jse=Ar,Qse=Tu;class ene extends Qse.default{constructor(){super(...arguments),this._walkSync=Jse.walkSync,this._statSync=Zse.statSync}dynamic(e,t){return this._walkSync(e,t)}static(e,t){const s=[];for(const n of e){const o=this._getFullEntryPath(n),a=this._getEntry(o,n,t);a===null||!t.entryFilter(a)||s.push(a)}return s}_getEntry(e,t,s){try{const n=this._getStat(e);return this._makeEntry(n,t)}catch(n){if(s.errorFilter(n))return null;throw n}}_getStat(e){return this._statSync(e,this._fsStatSettings)}}py.default=ene;Object.defineProperty(dy,"__esModule",{value:!0});const tne=py,rne=Bu;class ine extends rne.default{constructor(){super(...arguments),this._reader=new tne.default(this._settings)}read(e){const t=this._getRootDirectory(e),s=this._getReaderOptions(e);return this.api(t,e,s).map(s.transform)}api(e,t,s){return t.dynamic?this._reader.dynamic(e,s):this._reader.static(t.patterns,s)}}dy.default=ine;var tx={};(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;const e=lt,s=Math.max(Qt.cpus().length,1);r.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:e.lstat,lstatSync:e.lstatSync,stat:e.stat,statSync:e.statSync,readdir:e.readdir,readdirSync:e.readdirSync};class n{constructor(a={}){this._options=a,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,s),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),this.ignore=[].concat(this.ignore)}_getValue(a,u){return a===void 0?u:a}_getFileSystemMethods(a={}){return Object.assign(Object.assign({},r.DEFAULT_FILE_SYSTEM_ADAPTER),a)}}r.default=n})(tx);const rx=Wt,sne=X1,nne=fy,one=dy,kg=tx,wr=Je;async function Ng(r,e){xr(r);const t=Mg(r,sne.default,e),s=await Promise.all(t);return wr.array.flatten(s)}(function(r){r.glob=r,r.globSync=e,r.globStream=t,r.async=r;function e(u,c){xr(u);const l=Mg(u,one.default,c);return wr.array.flatten(l)}r.sync=e;function t(u,c){xr(u);const l=Mg(u,nne.default,c);return wr.stream.merge(l)}r.stream=t;function s(u,c){xr(u);const l=[].concat(u),h=new kg.default(c);return rx.generate(l,h)}r.generateTasks=s;function n(u,c){xr(u);const l=new kg.default(c);return wr.pattern.isDynamicPattern(u,l)}r.isDynamicPattern=n;function o(u){return xr(u),wr.path.escape(u)}r.escapePath=o;function a(u){return xr(u),wr.path.convertPathToPattern(u)}r.convertPathToPattern=a,function(u){function c(h){return xr(h),wr.path.escapePosixPath(h)}u.escapePath=c;function l(h){return xr(h),wr.path.convertPosixPathToPattern(h)}u.convertPathToPattern=l}(r.posix||(r.posix={})),function(u){function c(h){return xr(h),wr.path.escapeWindowsPath(h)}u.escapePath=c;function l(h){return xr(h),wr.path.convertWindowsPathToPattern(h)}u.convertPathToPattern=l}(r.win32||(r.win32={}))})(Ng||(Ng={}));function Mg(r,e,t){const s=[].concat(r),n=new kg.default(t),o=rx.generate(s,n),a=new e(n);return o.map(a.read,a)}function xr(r){if(![].concat(r).every(s=>wr.string.isString(s)&&!wr.string.isEmpty(s)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}var ane=Ng;const ix=Qe(ane),sx={ignore:["**/node_modules/**"]},une=async r=>{const e=de.join(de.dirname(r),"pnpm-workspace.yaml");let t;try{t=await Pe.readFile(e,"utf-8")}catch{return null}return _g.load(t)};async function cne(r,e,t,s){const{pkgData:n,pkgPath:o}=await Sg({...r,packageFile:t,loglevel:"silent"}),u=(typeof n=="string"?JSON.parse(n):n).workspaces||await une(o||""),c=Array.isArray(u)?u:u?.packages;c||qe(r,`workspaces property missing from package.json. --workspace${r.workspaces?"s":""} only works when you specify a "workspaces" property in your package.json.`);const l=(c||[]).map(m=>de.join(s,m,"package.json").replace(/\\/g,"/")),h=ix.sync(l,sx),d=[...await Promise.all(h.map(async m=>{const E=await N1(r,m);return E.name=E.pkg.name||m.split("/").slice(-2)[0],E}))],f=d.map(m=>m.name||"");return r.workspaces!==!0?[d.filter(m=>r.workspace?.some(E=>c?.some(D=>m.name===E||m.filepath===de.join(s,de.dirname(D),E,e).replace(/\\/g,"/")))),f]:[d,f]}async function lne(r){const e=r.packageFile||"package.json",t=r.cwd?c$(r.cwd):"./",s=r.packageFile||(r.cwd?de.join(t,"package.json"):"package.json"),n=r.workspaces===!0||r.workspace!==void 0&&r.workspace.length!==0;let o=[];if(!n||r.root===!0){const l=s.replace(/\\/g,"/"),h=ix.sync(l,sx),d=[...await Promise.all(h.map(async f=>await N1(r,f)))];o=[...o,...d]}if(!n)return[o,[]];const[u,c]=await cne(r,e,s,t);return o=[...o,...u],[o,c]}var gy={},nx={exports:{}};(function(r){var e=kx,t=de;r.exports=function(n,o,a){if(typeof o=="object"&&(a=o,o=void 0),a=a||{},o=o||"",a.appendPaths=a.appendPaths||[],a.prependPaths=a.prependPaths||[],typeof n!="string")throw new Error("code must be a string, not "+typeof n);var u=e._nodeModulePaths(t.dirname(o)),c=r.parent,l=new e(o,c);l.filename=o,l.paths=[].concat(a.prependPaths).concat(u).concat(a.appendPaths),l._compile(n,o);var h=l.exports;return c&&c.children&&c.children.splice(c.children.indexOf(l),1),h}})(nx);var hne=nx.exports,fne=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,dne=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,pne=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/,l0={Space_Separator:fne,ID_Start:dne,ID_Continue:pne},at={isSpaceSeparator(r){return typeof r=="string"&&l0.Space_Separator.test(r)},isIdStartChar(r){return typeof r=="string"&&(r>="a"&&r<="z"||r>="A"&&r<="Z"||r==="$"||r==="_"||l0.ID_Start.test(r))},isIdContinueChar(r){return typeof r=="string"&&(r>="a"&&r<="z"||r>="A"&&r<="Z"||r>="0"&&r<="9"||r==="$"||r==="_"||r==="‌"||r==="‍"||l0.ID_Continue.test(r))},isDigit(r){return typeof r=="string"&&/[0-9]/.test(r)},isHexDigit(r){return typeof r=="string"&&/[0-9A-Fa-f]/.test(r)}};let jg,Jt,Xi,Yl,Is,Br,St,my,Ma;var gne=function(e,t){jg=String(e),Jt="start",Xi=[],Yl=0,Is=1,Br=0,St=void 0,my=void 0,Ma=void 0;do St=mne(),Ene[Jt]();while(St.type!=="eof");return typeof t=="function"?Ug({"":Ma},"",t):Ma};function Ug(r,e,t){const s=r[e];if(s!=null&&typeof s=="object")if(Array.isArray(s))for(let n=0;n<s.length;n++){const o=String(n),a=Ug(s,o,t);a===void 0?delete s[o]:Object.defineProperty(s,o,{value:a,writable:!0,enumerable:!0,configurable:!0})}else for(const n in s){const o=Ug(s,n,t);o===void 0?delete s[n]:Object.defineProperty(s,n,{value:o,writable:!0,enumerable:!0,configurable:!0})}return t.call(r,e,s)}let Re,Fe,Ta,Yi,Ie;function mne(){for(Re="default",Fe="",Ta=!1,Yi=1;;){Ie=es();const r=ox[Re]();if(r)return r}}function es(){if(jg[Yl])return String.fromCodePoint(jg.codePointAt(Yl))}function X(){const r=es();return r===`
481
481
  `?(Is++,Br=0):r?Br+=r.length:Br++,r&&(Yl+=r.length),r}const ox={default(){switch(Ie){case" ":case"\v":case"\f":case" ":case" ":case"\uFEFF":case`
482
482
  `:case"\r":case"\u2028":case"\u2029":X();return;case"/":X(),Re="comment";return;case void 0:return X(),Ve("eof")}if(at.isSpaceSeparator(Ie)){X();return}return ox[Jt]()},comment(){switch(Ie){case"*":X(),Re="multiLineComment";return;case"/":X(),Re="singleLineComment";return}throw Ye(X())},multiLineComment(){switch(Ie){case"*":X(),Re="multiLineCommentAsterisk";return;case void 0:throw Ye(X())}X()},multiLineCommentAsterisk(){switch(Ie){case"*":X();return;case"/":X(),Re="default";return;case void 0:throw Ye(X())}X(),Re="multiLineComment"},singleLineComment(){switch(Ie){case`
483
483
  `:case"\r":case"\u2028":case"\u2029":X(),Re="default";return;case void 0:return X(),Ve("eof")}X()},value(){switch(Ie){case"{":case"[":return Ve("punctuator",X());case"n":return X(),Vs("ull"),Ve("null",null);case"t":return X(),Vs("rue"),Ve("boolean",!0);case"f":return X(),Vs("alse"),Ve("boolean",!1);case"-":case"+":X()==="-"&&(Yi=-1),Re="sign";return;case".":Fe=X(),Re="decimalPointLeading";return;case"0":Fe=X(),Re="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":Fe=X(),Re="decimalInteger";return;case"I":return X(),Vs("nfinity"),Ve("numeric",1/0);case"N":return X(),Vs("aN"),Ve("numeric",NaN);case'"':case"'":Ta=X()==='"',Fe="",Re="string";return}throw Ye(X())},identifierNameStartEscape(){if(Ie!=="u")throw Ye(X());X();const r=Hg();switch(r){case"$":case"_":break;default:if(!at.isIdStartChar(r))throw eA();break}Fe+=r,Re="identifierName"},identifierName(){switch(Ie){case"$":case"_":case"‌":case"‍":Fe+=X();return;case"\\":X(),Re="identifierNameEscape";return}if(at.isIdContinueChar(Ie)){Fe+=X();return}return Ve("identifier",Fe)},identifierNameEscape(){if(Ie!=="u")throw Ye(X());X();const r=Hg();switch(r){case"$":case"_":case"‌":case"‍":break;default:if(!at.isIdContinueChar(r))throw eA();break}Fe+=r,Re="identifierName"},sign(){switch(Ie){case".":Fe=X(),Re="decimalPointLeading";return;case"0":Fe=X(),Re="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":Fe=X(),Re="decimalInteger";return;case"I":return X(),Vs("nfinity"),Ve("numeric",Yi*(1/0));case"N":return X(),Vs("aN"),Ve("numeric",NaN)}throw Ye(X())},zero(){switch(Ie){case".":Fe+=X(),Re="decimalPoint";return;case"e":case"E":Fe+=X(),Re="decimalExponent";return;case"x":case"X":Fe+=X(),Re="hexadecimal";return}return Ve("numeric",Yi*0)},decimalInteger(){switch(Ie){case".":Fe+=X(),Re="decimalPoint";return;case"e":case"E":Fe+=X(),Re="decimalExponent";return}if(at.isDigit(Ie)){Fe+=X();return}return Ve("numeric",Yi*Number(Fe))},decimalPointLeading(){if(at.isDigit(Ie)){Fe+=X(),Re="decimalFraction";return}throw Ye(X())},decimalPoint(){switch(Ie){case"e":case"E":Fe+=X(),Re="decimalExponent";return}if(at.isDigit(Ie)){Fe+=X(),Re="decimalFraction";return}return Ve("numeric",Yi*Number(Fe))},decimalFraction(){switch(Ie){case"e":case"E":Fe+=X(),Re="decimalExponent";return}if(at.isDigit(Ie)){Fe+=X();return}return Ve("numeric",Yi*Number(Fe))},decimalExponent(){switch(Ie){case"+":case"-":Fe+=X(),Re="decimalExponentSign";return}if(at.isDigit(Ie)){Fe+=X(),Re="decimalExponentInteger";return}throw Ye(X())},decimalExponentSign(){if(at.isDigit(Ie)){Fe+=X(),Re="decimalExponentInteger";return}throw Ye(X())},decimalExponentInteger(){if(at.isDigit(Ie)){Fe+=X();return}return Ve("numeric",Yi*Number(Fe))},hexadecimal(){if(at.isHexDigit(Ie)){Fe+=X(),Re="hexadecimalInteger";return}throw Ye(X())},hexadecimalInteger(){if(at.isHexDigit(Ie)){Fe+=X();return}return Ve("numeric",Yi*Number(Fe))},string(){switch(Ie){case"\\":X(),Fe+=yne();return;case'"':if(Ta)return X(),Ve("string",Fe);Fe+=X();return;case"'":if(!Ta)return X(),Ve("string",Fe);Fe+=X();return;case`
@@ -493,23 +493,23 @@ Please add a ${u} to the current directory, specify the ${W.cyan("--packageFile"
493
493
  `+E+"]"}return n.pop(),o=E,b}};const vne={parse:gne,stringify:wne};var _ne=vne;const Ane=Object.freeze(Object.defineProperty({__proto__:null,default:_ne},Symbol.toStringTag,{value:"Module"})),Sne=Nx(Ane);var lf=fe&&fe.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(gy,"__esModule",{value:!0});var ux=gy.rcFile=void 0;const ja=lf(de),Xl=lf(lt),Cne=lf(hne),cx=lf(Sne),no=vu("rc-config-loader"),f0={".cjs":iA,".js":iA,".json":Rne,".yaml":sA,".yml":sA},_l={packageJSON:!1,defaultExtension:[".json",".yaml",".yml",".js",".cjs"],cwd:process.cwd()},tA=(r,e)=>{if(!_l.defaultExtension.includes(e))throw new Error(`${e} is not supported.`);return r[e]};function Fne(r,e={}){const t=e.configFileName||`.${r}rc`,s=e.defaultExtension||_l.defaultExtension,n=e.cwd||_l.cwd,o=e.packageJSON||_l.packageJSON,a=typeof o=="object"?o.fieldName:r,u=$ne(n),c=Array.isArray(s)?s.map(h=>tA(f0,h)):tA(f0,s),l=Object.assign(Object.assign({},f0),{"":c});return lx({parts:u,loaderByExt:l,loadersByOrder:c,configFileName:t,packageJSON:o,packageJSONFieldName:a})}ux=gy.rcFile=Fne;function lx({parts:r,loaderByExt:e,loadersByOrder:t,configFileName:s,packageJSON:n,packageJSONFieldName:o}){const a=Object.keys(e);for(;a.length;){const u=a.shift(),c=rA(r,s+u);if(!Xl.default.existsSync(c))continue;const l=u?e[u]:t;if(!Array.isArray(l)){const d=l(c,!1);if(!d)continue;return{config:d,filePath:c}}for(let h=0;h<l.length;h++){const d=l[h],f=d(c,!0);if(f)return{config:f,filePath:c}}}if(n){const u=rA(r,"package.json");if(Xl.default.existsSync(u)){const c=cx.default.parse(yy(u));if(c[o])return{config:c[o],filePath:u}}}if(r.pop())return lx({parts:r,loaderByExt:e,loadersByOrder:t,configFileName:s,packageJSON:n,packageJSONFieldName:o})}function $ne(r){return ja.default.resolve(r||"").split(ja.default.sep)}function rA(r,e){return ja.default.resolve(r.join(ja.default.sep)+ja.default.sep,e)}function iA(r,e){no(`Loading JavaScript config file: ${r}`);try{const t=Xl.default.readFileSync(r,"utf-8");return(0,Cne.default)(t,r)}catch(t){if(no(`Error reading JavaScript file: ${r}`),!e)throw t.message=`Cannot read config file: ${r}
494
494
  Error: ${t.message}`,t}}function Rne(r,e){no(`Loading JSON config file: ${r}`);try{return cx.default.parse(yy(r))}catch(t){if(no(`Error reading JSON file: ${r}`),!e)throw t.message=`Cannot read config file: ${r}
495
495
  Error: ${t.message}`,t}}function yy(r){return Xl.default.readFileSync(r,"utf8")}function sA(r,e){no(`Loading YAML config file: ${r}`);const t=q$();try{return t.load(yy(r))||{}}catch(s){if(no(`Error reading YAML file: ${r}`),!e)throw s.message=`Cannot read config file: ${r}
496
- Error: ${s.message}`,s}}async function hx({configFileName:r,configFilePath:e,packageFile:t,global:s,options:n}){const{default:o,Chalk:a}=await Promise.resolve().then(()=>require("./index-BmUFwMVL.js")),u=n?.color?new a({level:1}):o,c=ux("ncurc",{configFileName:r||".ncurc",defaultExtension:[".json",".yml",".js"],cwd:e||(s?Qt.homedir():t?de.dirname(t):void 0)});r&&!c?.filePath&&ze(n,`Config file ${r} not found in ${e||process.cwd()}`);const{$schema:l,...h}=c?.config||{},d={filePath:c?.filePath,config:h},f=Object.keys(d?.config||{}).filter(g=>!As[g]);f.length>0&&(console.error(u.red(`Unknown option${f.length===1?"":"s"} found in config file:`),u.gray(f.join(", "))),console.info("Using config file "+d.filePath),console.info(`You can change the config file path with ${u.blue("--configFilePath")}`));const p=d?Object.entries(d.config).flatMap(([g,m])=>m===!0||As[g]?.type==="boolean"&&m?[`--${g}`]:m===!1||As[g]?.type==="boolean"&&!m?[]:[`--${g}`,m]):[];return d?{...d,args:p}:null}var nA=Object.prototype.hasOwnProperty;function oA(r,e,t){for(t of r.keys())if(Zn(t,e))return t}function Zn(r,e){var t,s,n;if(r===e)return!0;if(r&&e&&(t=r.constructor)===e.constructor){if(t===Date)return r.getTime()===e.getTime();if(t===RegExp)return r.toString()===e.toString();if(t===Array){if((s=r.length)===e.length)for(;s--&&Zn(r[s],e[s]););return s===-1}if(t===Set){if(r.size!==e.size)return!1;for(s of r)if(n=s,n&&typeof n=="object"&&(n=oA(e,n),!n)||!e.has(n))return!1;return!0}if(t===Map){if(r.size!==e.size)return!1;for(s of r)if(n=s[0],n&&typeof n=="object"&&(n=oA(e,n),!n)||!Zn(s[1],e.get(n)))return!1;return!0}if(t===ArrayBuffer)r=new Uint8Array(r),e=new Uint8Array(e);else if(t===DataView){if((s=r.byteLength)===e.byteLength)for(;s--&&r.getInt8(s)===e.getInt8(s););return s===-1}if(ArrayBuffer.isView(r)){if((s=r.byteLength)===e.byteLength)for(;s--&&r[s]===e[s];);return s===-1}if(!t||typeof r=="object"){s=0;for(t in r)if(nA.call(r,t)&&++s&&!nA.call(e,t)||!(t in e)||!Zn(r[t],e[t]))return!1;return Object.keys(e).length===s}}return r!==r&&e!==e}const{promisify:xne}=rs,One=xA,Tne=xne(One.execFile);var Bne=async r=>{const{stdout:e}=await Tne("git",["ls-remote","--tags",r]),t=new Map;for(const s of e.trim().split(`
497
- `)){const[n,o]=s.split(" "),a=o.replace(/^refs\/tags\//,"").replace(/\^\{\}$/,"");t.set(a,n)}return t};const d0=Qe(Bne),Dy=async(r,e,t)=>{e=e.replace(/^github:/,"");const{auth:s,protocol:n,host:o,path:a}=iu(e);let u=new Map,c=Promise.resolve(u);n!=null?c=c.then(()=>d0(`${n?n.replace("git+",""):"https:"}//${s?s+"@":""}${o}/${a?.replace(/^:/,"")}`)):c=c.then(()=>d0(`ssh://git@${o}/${a?.replace(/^:/,"")}`)).catch(()=>d0(`https://${s?s+"@":""}${o}/${a}`));try{u=await c}catch{return ge(t||{},`Invalid, private repo, or no tags for ${r}: ${e}`,"verbose"),null}return Array.from(u.keys()).map(_m).filter(d=>gt.valid(d)).sort(wm)},Ine=async(r,e,t)=>{const s=await Dy(r,e,t);if(!s)return{version:null};const n=t?.pre?s:s.filter(a=>!nu(a)),o=n[n.length-1];return{version:o?yh(e,o):null}},fx=async(r,e,t)=>{const s=await Dy(r,e,t);if(!s)return{version:null};const n=s[s.length-1];return{version:n?yh(e,n):null}},Ey=r=>async(e,t,s={})=>{const n=decodeURIComponent(iu(t).branch).replace(/^semver:/,""),o=await Dy(e,t,s);if(!o)return{version:null};const a=vm(o.map(u=>u.replace(/^v/,"")),n,r);return{version:a?yh(t,a):null}},Pne=Ey("minor"),Lne=Ey("patch"),kne=async(r,e,t)=>({version:null}),Nne=fx,Mne=Object.freeze(Object.defineProperty({__proto__:null,greatest:fx,greatestLevel:Ey,latest:Ine,minor:Pne,newest:Nne,patch:Lne,semver:kne},Symbol.toStringTag,{value:"Module"})),jne=r=>r&&r.startsWith("http://")||r.startsWith("https://"),Une=async r=>{const e=r.registry;let t;if(jne(e))t=await(await fetch(e)).text();else try{t=await Pe.readFile(e,"utf8")}catch{ze(r,`
498
- The specified static registry file does not exist: ${r.registry}`)}return JSON.parse(t)},Hne=mo(Une),Gne=async(r,e,t)=>({version:(await Hne(t||{}))[r]||null}),Wne=Object.freeze(Object.defineProperty({__proto__:null,latest:Gne},Symbol.toStringTag,{value:"Module"})),on={npm:OK,pnpm:XK,yarn:mee,bun:jK,gitTags:Mne,staticRegistry:Wne};function ba(r){if(typeof r=="string")return r.trim();if(Array.isArray(r)&&(r.length===0||typeof r[0]=="string")){const e=r.map(t=>typeof t=="string"?t.trim():t).filter(t=>t);return e.length>0?e:void 0}else return r}async function zne(r,{cli:e}={}){const{default:t,Chalk:s}=await Promise.resolve().then(()=>require("./index-BmUFwMVL.js")),n=r.color?new s({level:1}):t;if(!e){const w=hl.reduce((_,R)=>({..._,...R.default!=null?{[R.long]:R.default}:null}),{}),v={jsonUpgraded:!0,silent:r.silent||r.loglevel===void 0&&!r.verbose,args:[]};r={...w,...v,...r}}const o={...r,...r.packageData&&typeof r.packageData!="string"?{packageData:JSON.stringify(r.packageData,null,2)}:null,cli:e},a=o.silent||o.format?.includes("lines")?"silent":o.verbose?"verbose":o.loglevel,u=Object.keys(o).filter(w=>w.startsWith("json")).some(DS(o));!u&&a!=="silent"&&o.rcConfigPath&&!o.doctor&&ge(o,`Using config file ${o.rcConfigPath}`);const c=hl.filter(({long:w,deprecated:v})=>v&&o[w]||w==="packageManager"&&o.packageManager==="staticRegistry");c.length>0&&(c.forEach(({long:w,description:v})=>{const _=w==="packageManager"?"--packageManager staticRegistry is deprecated. Use --registryType json.":`--${w}: ${v}`;ge(o,n.yellow(_),"warn")}),ge(o,"","warn")),hl.forEach(({long:w,choices:v})=>{if(!v||v.length===0)return;const _=o[w],R=Array.isArray(_)?_:[_];R.length!==0&&R.every(P=>!v.includes(P))&&ze(o,`Invalid option value: --${w} ${_}. Valid values are: ${v.join(", ")}.`)}),o.cwd&&!await Ua(o.cwd)&&ze(o,`No such directory: ${o.cwd}`);const l=ba(o.args),h=ba(o.filter),d=ba(o.filterVersion),f=ba(o.reject),p=ba(o.rejectVersion);o.filter&&l&&!Zn(l.join(" "),Array.isArray(h)?h.join(" "):h)?ze(o,`Cannot specify a filter using both --filter and args. Did you forget to quote an argument?
499
- See: https://github.com/raineorshine/npm-check-updates/issues/759#issuecomment-723587297`):o.packageFile&&o.deep?ze(o,"Cannot specify both --packageFile and --deep. --deep is an alias for --packageFile '**/package.json'"):o.format?.includes("lines")&&o.jsonUpgraded?ze(o,"Cannot specify both --format lines and --jsonUpgraded."):o.format?.includes("lines")&&o.jsonAll?ze(o,"Cannot specify both --format lines and --jsonAll."):o.format?.includes("lines")&&o.format.length>1?ze(o,"Cannot use --format lines with other formatting options."):o.workspace?.length&&o.workspaces?ze(o,"Cannot specify both --workspace and --workspaces."):o.deep&&(o.workspace?.length||o.workspaces)?ze(o,`Cannot specify both --deep and --workspace${o.workspaces?"s":""}.`):o.doctor&&(o.workspace?.length||o.workspaces)?ze(o,`Doctor mode is not currently supported with --workspace${o.workspaces?"s":""}.`):o.packageManager==="staticRegistry"&&!o.registry?ze(o,"When --package-manager staticRegistry is specified, you must provide the path for the registry file with --registry."):o.registryType==="json"&&!o.registry&&ze(o,'When --registryType json is specified, you must provide the path for the registry file with --registry. Run "ncu --help registryType" for details.');const g=o.target||"latest",m=g==="newest"||g==="greatest",E=await US(o),D={...o,...o.deep?{packageFile:"**/package.json"}:null,...E==="deno"&&o.dep!==As.dep.default?{dep:["imports"]}:null,...o.format&&o.format.length>0?{format:o.format}:null,filter:l||h,filterVersion:d,json:u,loglevel:a,minimal:o.minimal===void 0?!1:o.minimal,...o.pre!=null||m?{pre:o.pre!=null?!!o.pre:m}:null,reject:f,rejectVersion:p,target:g,...o.interactive&&o.upgrade===void 0?{upgrade:!u}:null,packageManager:E,...o.prefix?{prefix:await(on[E||""]?.defaultPrefix||on.npm.defaultPrefix)(o)}:null,registryType:o.registryType||(o.registry?.endsWith(".json")?"json":"npm")};D.cacher=await NP(D);const b=qe(D,(w,v)=>v!==void 0?{[w]:v}:null);return!o.packageManager&&E!=="npm"&&ge(b,`Using ${E}`),b}function qne(r,e){return Array.from(new Set([...r||[],...e||[]]))}function Vne(r,e){const t=r||{},s=e||{},n={...t,...s};return Object.keys(n).forEach(o=>{Array.isArray(t[o])&&Array.isArray(s[o])&&(n[o]=qne(t[o],s[o]))}),n}const dx=r=>typeof r=="function"?r:()=>r,px=(...r)=>(...e)=>r.length===0||!!dx(r[0])(...e)&&px(...r.slice(1))(...e),gx=(...r)=>(...e)=>r.length>0&&(!!dx(r[0])(...e)||gx(...r.slice(1))(...e));var Al={and:px,or:gx},Iu={};const Kr="\\\\/",aA=`[^${Kr}]`,Zi="\\.",Yne="\\+",Kne="\\?",hf="\\/",Xne="(?=.)",mx="[^/]",by=`(?:${hf}|$)`,yx=`(?:^|${hf})`,wy=`${Zi}{1,2}${by}`,Zne=`(?!${Zi})`,Jne=`(?!${yx}${wy})`,Qne=`(?!${Zi}{0,1}${by})`,eoe=`(?!${wy})`,toe=`[^.${hf}]`,roe=`${mx}*?`,ioe="/",Dx={DOT_LITERAL:Zi,PLUS_LITERAL:Yne,QMARK_LITERAL:Kne,SLASH_LITERAL:hf,ONE_CHAR:Xne,QMARK:mx,END_ANCHOR:by,DOTS_SLASH:wy,NO_DOT:Zne,NO_DOTS:Jne,NO_DOT_SLASH:Qne,NO_DOTS_SLASH:eoe,QMARK_NO_DOT:toe,STAR:roe,START_ANCHOR:yx,SEP:ioe},soe={...Dx,SLASH_LITERAL:`[${Kr}]`,QMARK:aA,STAR:`${aA}*?`,DOTS_SLASH:`${Zi}{1,2}(?:[${Kr}]|$)`,NO_DOT:`(?!${Zi})`,NO_DOTS:`(?!(?:^|[${Kr}])${Zi}{1,2}(?:[${Kr}]|$))`,NO_DOT_SLASH:`(?!${Zi}{0,1}(?:[${Kr}]|$))`,NO_DOTS_SLASH:`(?!${Zi}{1,2}(?:[${Kr}]|$))`,QMARK_NO_DOT:`[^.${Kr}]`,START_ANCHOR:`(?:^|[${Kr}])`,END_ANCHOR:`(?:[${Kr}]|$)`,SEP:"\\"},noe={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"};var ff={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:noe,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,extglobChars(r){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${r.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(r){return r===!0?soe:Dx}};(function(r){const{REGEX_BACKSLASH:e,REGEX_REMOVE_BACKSLASH:t,REGEX_SPECIAL_CHARS:s,REGEX_SPECIAL_CHARS_GLOBAL:n}=ff;r.isObject=o=>o!==null&&typeof o=="object"&&!Array.isArray(o),r.hasRegexChars=o=>s.test(o),r.isRegexChar=o=>o.length===1&&r.hasRegexChars(o),r.escapeRegex=o=>o.replace(n,"\\$1"),r.toPosixSlashes=o=>o.replace(e,"/"),r.isWindows=()=>{if(typeof navigator<"u"&&navigator.platform){const o=navigator.platform.toLowerCase();return o==="win32"||o==="windows"}return typeof process<"u"&&process.platform?process.platform==="win32":!1},r.removeBackslashes=o=>o.replace(t,a=>a==="\\"?"":a),r.escapeLast=(o,a,u)=>{const c=o.lastIndexOf(a,u);return c===-1?o:o[c-1]==="\\"?r.escapeLast(o,a,c-1):`${o.slice(0,c)}\\${o.slice(c)}`},r.removePrefix=(o,a={})=>{let u=o;return u.startsWith("./")&&(u=u.slice(2),a.prefix="./"),u},r.wrapOutput=(o,a={},u={})=>{const c=u.contains?"":"^",l=u.contains?"":"$";let h=`${c}(?:${o})${l}`;return a.negated===!0&&(h=`(?:^(?!${h}).*$)`),h},r.basename=(o,{windows:a}={})=>{const u=o.split(a?/[\\/]/:"/"),c=u[u.length-1];return c===""?u[u.length-2]:c}})(Iu);const uA=Iu,{CHAR_ASTERISK:p0,CHAR_AT:ooe,CHAR_BACKWARD_SLASH:Ba,CHAR_COMMA:aoe,CHAR_DOT:g0,CHAR_EXCLAMATION_MARK:m0,CHAR_FORWARD_SLASH:Ex,CHAR_LEFT_CURLY_BRACE:y0,CHAR_LEFT_PARENTHESES:D0,CHAR_LEFT_SQUARE_BRACKET:uoe,CHAR_PLUS:coe,CHAR_QUESTION_MARK:cA,CHAR_RIGHT_CURLY_BRACE:loe,CHAR_RIGHT_PARENTHESES:lA,CHAR_RIGHT_SQUARE_BRACKET:hoe}=ff,hA=r=>r===Ex||r===Ba,fA=r=>{r.isPrefix!==!0&&(r.depth=r.isGlobstar?1/0:1)},foe=(r,e)=>{const t=e||{},s=r.length-1,n=t.parts===!0||t.scanToEnd===!0,o=[],a=[],u=[];let c=r,l=-1,h=0,d=0,f=!1,p=!1,g=!1,m=!1,E=!1,D=!1,b=!1,w=!1,v=!1,_=!1,R=0,P,M,j={value:"",depth:0,isGlob:!1};const N=()=>l>=s,G=()=>c.charCodeAt(l+1),ie=()=>(P=M,c.charCodeAt(++l));for(;l<s;){M=ie();let q;if(M===Ba){b=j.backslashes=!0,M=ie(),M===y0&&(D=!0);continue}if(D===!0||M===y0){for(R++;N()!==!0&&(M=ie());){if(M===Ba){b=j.backslashes=!0,ie();continue}if(M===y0){R++;continue}if(D!==!0&&M===g0&&(M=ie())===g0){if(f=j.isBrace=!0,g=j.isGlob=!0,_=!0,n===!0)continue;break}if(D!==!0&&M===aoe){if(f=j.isBrace=!0,g=j.isGlob=!0,_=!0,n===!0)continue;break}if(M===loe&&(R--,R===0)){D=!1,f=j.isBrace=!0,_=!0;break}}if(n===!0)continue;break}if(M===Ex){if(o.push(l),a.push(j),j={value:"",depth:0,isGlob:!1},_===!0)continue;if(P===g0&&l===h+1){h+=2;continue}d=l+1;continue}if(t.noext!==!0&&(M===coe||M===ooe||M===p0||M===cA||M===m0)===!0&&G()===D0){if(g=j.isGlob=!0,m=j.isExtglob=!0,_=!0,M===m0&&l===h&&(v=!0),n===!0){for(;N()!==!0&&(M=ie());){if(M===Ba){b=j.backslashes=!0,M=ie();continue}if(M===lA){g=j.isGlob=!0,_=!0;break}}continue}break}if(M===p0){if(P===p0&&(E=j.isGlobstar=!0),g=j.isGlob=!0,_=!0,n===!0)continue;break}if(M===cA){if(g=j.isGlob=!0,_=!0,n===!0)continue;break}if(M===uoe){for(;N()!==!0&&(q=ie());){if(q===Ba){b=j.backslashes=!0,ie();continue}if(q===hoe){p=j.isBracket=!0,g=j.isGlob=!0,_=!0;break}}if(n===!0)continue;break}if(t.nonegate!==!0&&M===m0&&l===h){w=j.negated=!0,h++;continue}if(t.noparen!==!0&&M===D0){if(g=j.isGlob=!0,n===!0){for(;N()!==!0&&(M=ie());){if(M===D0){b=j.backslashes=!0,M=ie();continue}if(M===lA){_=!0;break}}continue}break}if(g===!0){if(_=!0,n===!0)continue;break}}t.noext===!0&&(m=!1,g=!1);let ne=c,x="",S="";h>0&&(x=c.slice(0,h),c=c.slice(h),d-=h),ne&&g===!0&&d>0?(ne=c.slice(0,d),S=c.slice(d)):g===!0?(ne="",S=c):ne=c,ne&&ne!==""&&ne!=="/"&&ne!==c&&hA(ne.charCodeAt(ne.length-1))&&(ne=ne.slice(0,-1)),t.unescape===!0&&(S&&(S=uA.removeBackslashes(S)),ne&&b===!0&&(ne=uA.removeBackslashes(ne)));const $={prefix:x,input:r,start:h,base:ne,glob:S,isBrace:f,isBracket:p,isGlob:g,isExtglob:m,isGlobstar:E,negated:w,negatedExtglob:v};if(t.tokens===!0&&($.maxDepth=0,hA(M)||a.push(j),$.tokens=a),t.parts===!0||t.tokens===!0){let q;for(let O=0;O<o.length;O++){const L=q?q+1:h,K=o[O],ee=r.slice(L,K);t.tokens&&(O===0&&h!==0?(a[O].isPrefix=!0,a[O].value=x):a[O].value=ee,fA(a[O]),$.maxDepth+=a[O].depth),(O!==0||ee!=="")&&u.push(ee),q=K}if(q&&q+1<r.length){const O=r.slice(q+1);u.push(O),t.tokens&&(a[a.length-1].value=O,fA(a[a.length-1]),$.maxDepth+=a[a.length-1].depth)}$.slashes=o,$.parts=u}return $};var doe=foe;const Zl=ff,Xr=Iu,{MAX_LENGTH:Jl,POSIX_REGEX_SOURCE:poe,REGEX_NON_SPECIAL_CHARS:goe,REGEX_SPECIAL_CHARS_BACKREF:moe,REPLACEMENTS:bx}=Zl,yoe=(r,e)=>{if(typeof e.expandRange=="function")return e.expandRange(...r,e);r.sort();const t=`[${r.join("-")}]`;try{new RegExp(t)}catch{return r.map(n=>Xr.escapeRegex(n)).join("..")}return t},Cn=(r,e)=>`Missing ${r}: "${e}" - use "\\\\${e}" to match literal characters`,vy=(r,e)=>{if(typeof r!="string")throw new TypeError("Expected a string");r=bx[r]||r;const t={...e},s=typeof t.maxLength=="number"?Math.min(Jl,t.maxLength):Jl;let n=r.length;if(n>s)throw new SyntaxError(`Input length: ${n}, exceeds maximum allowed length: ${s}`);const o={type:"bos",value:"",output:t.prepend||""},a=[o],u=t.capture?"":"?:",c=Zl.globChars(t.windows),l=Zl.extglobChars(c),{DOT_LITERAL:h,PLUS_LITERAL:d,SLASH_LITERAL:f,ONE_CHAR:p,DOTS_SLASH:g,NO_DOT:m,NO_DOT_SLASH:E,NO_DOTS_SLASH:D,QMARK:b,QMARK_NO_DOT:w,STAR:v,START_ANCHOR:_}=c,R=he=>`(${u}(?:(?!${_}${he.dot?g:h}).)*?)`,P=t.dot?"":m,M=t.dot?b:w;let j=t.bash===!0?R(t):v;t.capture&&(j=`(${j})`),typeof t.noext=="boolean"&&(t.noextglob=t.noext);const N={input:r,index:-1,start:0,dot:t.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:a};r=Xr.removePrefix(r,N),n=r.length;const G=[],ie=[],ne=[];let x=o,S;const $=()=>N.index===n-1,q=N.peek=(he=1)=>r[N.index+he],O=N.advance=()=>r[++N.index]||"",L=()=>r.slice(N.index+1),K=(he="",J=0)=>{N.consumed+=he,N.index+=J},ee=he=>{N.output+=he.output!=null?he.output:he.value,K(he.value)},pe=()=>{let he=1;for(;q()==="!"&&(q(2)!=="("||q(3)==="?");)O(),N.start++,he++;return he%2===0?!1:(N.negated=!0,N.start++,!0)},ae=he=>{N[he]++,ne.push(he)},Ce=he=>{N[he]--,ne.pop()},le=he=>{if(x.type==="globstar"){const J=N.braces>0&&(he.type==="comma"||he.type==="brace"),I=he.extglob===!0||G.length&&(he.type==="pipe"||he.type==="paren");he.type!=="slash"&&he.type!=="paren"&&!J&&!I&&(N.output=N.output.slice(0,-x.output.length),x.type="star",x.value="*",x.output=j,N.output+=x.output)}if(G.length&&he.type!=="paren"&&(G[G.length-1].inner+=he.value),(he.value||he.output)&&ee(he),x&&x.type==="text"&&he.type==="text"){x.output=(x.output||x.value)+he.value,x.value+=he.value;return}he.prev=x,a.push(he),x=he},me=(he,J)=>{const I={...l[J],conditions:1,inner:""};I.prev=x,I.parens=N.parens,I.output=N.output;const C=(t.capture?"(":"")+I.open;ae("parens"),le({type:he,value:J,output:N.output?"":p}),le({type:"paren",extglob:!0,value:O(),output:C}),G.push(I)},Kt=he=>{let J=he.close+(t.capture?")":""),I;if(he.type==="negate"){let C=j;if(he.inner&&he.inner.length>1&&he.inner.includes("/")&&(C=R(t)),(C!==j||$()||/^\)+$/.test(L()))&&(J=he.close=`)$))${C}`),he.inner.includes("*")&&(I=L())&&/^\.[^\\/.]+$/.test(I)){const T=vy(I,{...e,fastpaths:!1}).output;J=he.close=`)${T})${C})`}he.prev.type==="bos"&&(N.negatedExtglob=!0)}le({type:"paren",extglob:!0,value:S,output:J}),Ce("parens")};if(t.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(r)){let he=!1,J=r.replace(moe,(I,C,T,U,B,F)=>U==="\\"?(he=!0,I):U==="?"?C?C+U+(B?b.repeat(B.length):""):F===0?M+(B?b.repeat(B.length):""):b.repeat(T.length):U==="."?h.repeat(T.length):U==="*"?C?C+U+(B?j:""):j:C?I:`\\${I}`);return he===!0&&(t.unescape===!0?J=J.replace(/\\/g,""):J=J.replace(/\\+/g,I=>I.length%2===0?"\\\\":I?"\\":"")),J===r&&t.contains===!0?(N.output=r,N):(N.output=Xr.wrapOutput(J,N,e),N)}for(;!$();){if(S=O(),S==="\0")continue;if(S==="\\"){const I=q();if(I==="/"&&t.bash!==!0||I==="."||I===";")continue;if(!I){S+="\\",le({type:"text",value:S});continue}const C=/^\\+/.exec(L());let T=0;if(C&&C[0].length>2&&(T=C[0].length,N.index+=T,T%2!==0&&(S+="\\")),t.unescape===!0?S=O():S+=O(),N.brackets===0){le({type:"text",value:S});continue}}if(N.brackets>0&&(S!=="]"||x.value==="["||x.value==="[^")){if(t.posix!==!1&&S===":"){const I=x.value.slice(1);if(I.includes("[")&&(x.posix=!0,I.includes(":"))){const C=x.value.lastIndexOf("["),T=x.value.slice(0,C),U=x.value.slice(C+2),B=poe[U];if(B){x.value=T+B,N.backtrack=!0,O(),!o.output&&a.indexOf(x)===1&&(o.output=p);continue}}}(S==="["&&q()!==":"||S==="-"&&q()==="]")&&(S=`\\${S}`),S==="]"&&(x.value==="["||x.value==="[^")&&(S=`\\${S}`),t.posix===!0&&S==="!"&&x.value==="["&&(S="^"),x.value+=S,ee({value:S});continue}if(N.quotes===1&&S!=='"'){S=Xr.escapeRegex(S),x.value+=S,ee({value:S});continue}if(S==='"'){N.quotes=N.quotes===1?0:1,t.keepQuotes===!0&&le({type:"text",value:S});continue}if(S==="("){ae("parens"),le({type:"paren",value:S});continue}if(S===")"){if(N.parens===0&&t.strictBrackets===!0)throw new SyntaxError(Cn("opening","("));const I=G[G.length-1];if(I&&N.parens===I.parens+1){Kt(G.pop());continue}le({type:"paren",value:S,output:N.parens?")":"\\)"}),Ce("parens");continue}if(S==="["){if(t.nobracket===!0||!L().includes("]")){if(t.nobracket!==!0&&t.strictBrackets===!0)throw new SyntaxError(Cn("closing","]"));S=`\\${S}`}else ae("brackets");le({type:"bracket",value:S});continue}if(S==="]"){if(t.nobracket===!0||x&&x.type==="bracket"&&x.value.length===1){le({type:"text",value:S,output:`\\${S}`});continue}if(N.brackets===0){if(t.strictBrackets===!0)throw new SyntaxError(Cn("opening","["));le({type:"text",value:S,output:`\\${S}`});continue}Ce("brackets");const I=x.value.slice(1);if(x.posix!==!0&&I[0]==="^"&&!I.includes("/")&&(S=`/${S}`),x.value+=S,ee({value:S}),t.literalBrackets===!1||Xr.hasRegexChars(I))continue;const C=Xr.escapeRegex(x.value);if(N.output=N.output.slice(0,-x.value.length),t.literalBrackets===!0){N.output+=C,x.value=C;continue}x.value=`(${u}${C}|${x.value})`,N.output+=x.value;continue}if(S==="{"&&t.nobrace!==!0){ae("braces");const I={type:"brace",value:S,output:"(",outputIndex:N.output.length,tokensIndex:N.tokens.length};ie.push(I),le(I);continue}if(S==="}"){const I=ie[ie.length-1];if(t.nobrace===!0||!I){le({type:"text",value:S,output:S});continue}let C=")";if(I.dots===!0){const T=a.slice(),U=[];for(let B=T.length-1;B>=0&&(a.pop(),T[B].type!=="brace");B--)T[B].type!=="dots"&&U.unshift(T[B].value);C=yoe(U,t),N.backtrack=!0}if(I.comma!==!0&&I.dots!==!0){const T=N.output.slice(0,I.outputIndex),U=N.tokens.slice(I.tokensIndex);I.value=I.output="\\{",S=C="\\}",N.output=T;for(const B of U)N.output+=B.output||B.value}le({type:"brace",value:S,output:C}),Ce("braces"),ie.pop();continue}if(S==="|"){G.length>0&&G[G.length-1].conditions++,le({type:"text",value:S});continue}if(S===","){let I=S;const C=ie[ie.length-1];C&&ne[ne.length-1]==="braces"&&(C.comma=!0,I="|"),le({type:"comma",value:S,output:I});continue}if(S==="/"){if(x.type==="dot"&&N.index===N.start+1){N.start=N.index+1,N.consumed="",N.output="",a.pop(),x=o;continue}le({type:"slash",value:S,output:f});continue}if(S==="."){if(N.braces>0&&x.type==="dot"){x.value==="."&&(x.output=h);const I=ie[ie.length-1];x.type="dots",x.output+=S,x.value+=S,I.dots=!0;continue}if(N.braces+N.parens===0&&x.type!=="bos"&&x.type!=="slash"){le({type:"text",value:S,output:h});continue}le({type:"dot",value:S,output:h});continue}if(S==="?"){if(!(x&&x.value==="(")&&t.noextglob!==!0&&q()==="("&&q(2)!=="?"){me("qmark",S);continue}if(x&&x.type==="paren"){const C=q();let T=S;(x.value==="("&&!/[!=<:]/.test(C)||C==="<"&&!/<([!=]|\w+>)/.test(L()))&&(T=`\\${S}`),le({type:"text",value:S,output:T});continue}if(t.dot!==!0&&(x.type==="slash"||x.type==="bos")){le({type:"qmark",value:S,output:w});continue}le({type:"qmark",value:S,output:b});continue}if(S==="!"){if(t.noextglob!==!0&&q()==="("&&(q(2)!=="?"||!/[!=<:]/.test(q(3)))){me("negate",S);continue}if(t.nonegate!==!0&&N.index===0){pe();continue}}if(S==="+"){if(t.noextglob!==!0&&q()==="("&&q(2)!=="?"){me("plus",S);continue}if(x&&x.value==="("||t.regex===!1){le({type:"plus",value:S,output:d});continue}if(x&&(x.type==="bracket"||x.type==="paren"||x.type==="brace")||N.parens>0){le({type:"plus",value:S});continue}le({type:"plus",value:d});continue}if(S==="@"){if(t.noextglob!==!0&&q()==="("&&q(2)!=="?"){le({type:"at",extglob:!0,value:S,output:""});continue}le({type:"text",value:S});continue}if(S!=="*"){(S==="$"||S==="^")&&(S=`\\${S}`);const I=goe.exec(L());I&&(S+=I[0],N.index+=I[0].length),le({type:"text",value:S});continue}if(x&&(x.type==="globstar"||x.star===!0)){x.type="star",x.star=!0,x.value+=S,x.output=j,N.backtrack=!0,N.globstar=!0,K(S);continue}let he=L();if(t.noextglob!==!0&&/^\([^?]/.test(he)){me("star",S);continue}if(x.type==="star"){if(t.noglobstar===!0){K(S);continue}const I=x.prev,C=I.prev,T=I.type==="slash"||I.type==="bos",U=C&&(C.type==="star"||C.type==="globstar");if(t.bash===!0&&(!T||he[0]&&he[0]!=="/")){le({type:"star",value:S,output:""});continue}const B=N.braces>0&&(I.type==="comma"||I.type==="brace"),F=G.length&&(I.type==="pipe"||I.type==="paren");if(!T&&I.type!=="paren"&&!B&&!F){le({type:"star",value:S,output:""});continue}for(;he.slice(0,3)==="/**";){const k=r[N.index+4];if(k&&k!=="/")break;he=he.slice(3),K("/**",3)}if(I.type==="bos"&&$()){x.type="globstar",x.value+=S,x.output=R(t),N.output=x.output,N.globstar=!0,K(S);continue}if(I.type==="slash"&&I.prev.type!=="bos"&&!U&&$()){N.output=N.output.slice(0,-(I.output+x.output).length),I.output=`(?:${I.output}`,x.type="globstar",x.output=R(t)+(t.strictSlashes?")":"|$)"),x.value+=S,N.globstar=!0,N.output+=I.output+x.output,K(S);continue}if(I.type==="slash"&&I.prev.type!=="bos"&&he[0]==="/"){const k=he[1]!==void 0?"|$":"";N.output=N.output.slice(0,-(I.output+x.output).length),I.output=`(?:${I.output}`,x.type="globstar",x.output=`${R(t)}${f}|${f}${k})`,x.value+=S,N.output+=I.output+x.output,N.globstar=!0,K(S+O()),le({type:"slash",value:"/",output:""});continue}if(I.type==="bos"&&he[0]==="/"){x.type="globstar",x.value+=S,x.output=`(?:^|${f}|${R(t)}${f})`,N.output=x.output,N.globstar=!0,K(S+O()),le({type:"slash",value:"/",output:""});continue}N.output=N.output.slice(0,-x.output.length),x.type="globstar",x.output=R(t),x.value+=S,N.output+=x.output,N.globstar=!0,K(S);continue}const J={type:"star",value:S,output:j};if(t.bash===!0){J.output=".*?",(x.type==="bos"||x.type==="slash")&&(J.output=P+J.output),le(J);continue}if(x&&(x.type==="bracket"||x.type==="paren")&&t.regex===!0){J.output=S,le(J);continue}(N.index===N.start||x.type==="slash"||x.type==="dot")&&(x.type==="dot"?(N.output+=E,x.output+=E):t.dot===!0?(N.output+=D,x.output+=D):(N.output+=P,x.output+=P),q()!=="*"&&(N.output+=p,x.output+=p)),le(J)}for(;N.brackets>0;){if(t.strictBrackets===!0)throw new SyntaxError(Cn("closing","]"));N.output=Xr.escapeLast(N.output,"["),Ce("brackets")}for(;N.parens>0;){if(t.strictBrackets===!0)throw new SyntaxError(Cn("closing",")"));N.output=Xr.escapeLast(N.output,"("),Ce("parens")}for(;N.braces>0;){if(t.strictBrackets===!0)throw new SyntaxError(Cn("closing","}"));N.output=Xr.escapeLast(N.output,"{"),Ce("braces")}if(t.strictSlashes!==!0&&(x.type==="star"||x.type==="bracket")&&le({type:"maybe_slash",value:"",output:`${f}?`}),N.backtrack===!0){N.output="";for(const he of N.tokens)N.output+=he.output!=null?he.output:he.value,he.suffix&&(N.output+=he.suffix)}return N};vy.fastpaths=(r,e)=>{const t={...e},s=typeof t.maxLength=="number"?Math.min(Jl,t.maxLength):Jl,n=r.length;if(n>s)throw new SyntaxError(`Input length: ${n}, exceeds maximum allowed length: ${s}`);r=bx[r]||r;const{DOT_LITERAL:o,SLASH_LITERAL:a,ONE_CHAR:u,DOTS_SLASH:c,NO_DOT:l,NO_DOTS:h,NO_DOTS_SLASH:d,STAR:f,START_ANCHOR:p}=Zl.globChars(t.windows),g=t.dot?h:l,m=t.dot?d:l,E=t.capture?"":"?:",D={negated:!1,prefix:""};let b=t.bash===!0?".*?":f;t.capture&&(b=`(${b})`);const w=P=>P.noglobstar===!0?b:`(${E}(?:(?!${p}${P.dot?c:o}).)*?)`,v=P=>{switch(P){case"*":return`${g}${u}${b}`;case".*":return`${o}${u}${b}`;case"*.*":return`${g}${b}${o}${u}${b}`;case"*/*":return`${g}${b}${a}${u}${m}${b}`;case"**":return g+w(t);case"**/*":return`(?:${g}${w(t)}${a})?${m}${u}${b}`;case"**/*.*":return`(?:${g}${w(t)}${a})?${m}${b}${o}${u}${b}`;case"**/.*":return`(?:${g}${w(t)}${a})?${o}${u}${b}`;default:{const M=/^(.*?)\.(\w+)$/.exec(P);if(!M)return;const j=v(M[1]);return j?j+o+M[2]:void 0}}},_=Xr.removePrefix(r,D);let R=v(_);return R&&t.strictSlashes!==!0&&(R+=`${a}?`),R};var Doe=vy;const Eoe=doe,Gg=Doe,wx=Iu,boe=ff,woe=r=>r&&typeof r=="object"&&!Array.isArray(r),ct=(r,e,t=!1)=>{if(Array.isArray(r)){const h=r.map(f=>ct(f,e,t));return f=>{for(const p of h){const g=p(f);if(g)return g}return!1}}const s=woe(r)&&r.tokens&&r.input;if(r===""||typeof r!="string"&&!s)throw new TypeError("Expected pattern to be a non-empty string");const n=e||{},o=n.windows,a=s?ct.compileRe(r,e):ct.makeRe(r,e,!1,!0),u=a.state;delete a.state;let c=()=>!1;if(n.ignore){const h={...e,ignore:null,onMatch:null,onResult:null};c=ct(n.ignore,h,t)}const l=(h,d=!1)=>{const{isMatch:f,match:p,output:g}=ct.test(h,a,e,{glob:r,posix:o}),m={glob:r,state:u,regex:a,posix:o,input:h,output:g,match:p,isMatch:f};return typeof n.onResult=="function"&&n.onResult(m),f===!1?(m.isMatch=!1,d?m:!1):c(h)?(typeof n.onIgnore=="function"&&n.onIgnore(m),m.isMatch=!1,d?m:!1):(typeof n.onMatch=="function"&&n.onMatch(m),d?m:!0)};return t&&(l.state=u),l};ct.test=(r,e,t,{glob:s,posix:n}={})=>{if(typeof r!="string")throw new TypeError("Expected input to be a string");if(r==="")return{isMatch:!1,output:""};const o=t||{},a=o.format||(n?wx.toPosixSlashes:null);let u=r===s,c=u&&a?a(r):r;return u===!1&&(c=a?a(r):r,u=c===s),(u===!1||o.capture===!0)&&(o.matchBase===!0||o.basename===!0?u=ct.matchBase(r,e,t,n):u=e.exec(c)),{isMatch:!!u,match:u,output:c}};ct.matchBase=(r,e,t)=>(e instanceof RegExp?e:ct.makeRe(e,t)).test(wx.basename(r));ct.isMatch=(r,e,t)=>ct(e,t)(r);ct.parse=(r,e)=>Array.isArray(r)?r.map(t=>ct.parse(t,e)):Gg(r,{...e,fastpaths:!1});ct.scan=(r,e)=>Eoe(r,e);ct.compileRe=(r,e,t=!1,s=!1)=>{if(t===!0)return r.output;const n=e||{},o=n.contains?"":"^",a=n.contains?"":"$";let u=`${o}(?:${r.output})${a}`;r&&r.negated===!0&&(u=`^(?!${u}).*$`);const c=ct.toRegex(u,e);return s===!0&&(c.state=r),c};ct.makeRe=(r,e={},t=!1,s=!1)=>{if(!r||typeof r!="string")throw new TypeError("Expected a non-empty string");let n={negated:!1,fastpaths:!0};return e.fastpaths!==!1&&(r[0]==="."||r[0]==="*")&&(n.output=Gg.fastpaths(r,e)),n.output||(n=Gg(r,e)),ct.compileRe(n,e,t,s)};ct.toRegex=(r,e)=>{try{const t=e||{};return new RegExp(r,t.flags||(t.nocase?"i":""))}catch(t){if(e&&e.debug===!0)throw t;return/$^/}};ct.constants=boe;var voe=ct;const vx=voe,_oe=Iu;function _x(r,e,t=!1){return e&&(e.windows===null||e.windows===void 0)&&(e={...e,windows:_oe.isWindows()}),vx(r,e,t)}Object.assign(_x,vx);var Aoe=_x;const dA=Qe(Aoe);function Ia(r){let e;if(!r)e=oX;else if(typeof r=="string")if(r[0]==="/"&&r.at(-1)==="/"){const t=new RegExp(r.slice(1,-1));e=s=>t.test(s)}else{const t=r.split(/[\s,]+/);e=s=>{const n=a=>dA(a)(s),o=a=>!a.includes("/")&&s.includes("/")&&dA(a)(s.replace(/\//g,"_"));return t.some(Al.or(n,o))}}else if(Array.isArray(r))e=(t,s)=>r.some(n=>Ia(n)(t,s));else if(r instanceof RegExp)e=t=>r.test(t);else if(typeof r=="function")e=(t,s)=>r(t,ei(s??t));else throw new TypeError("Invalid filter. Must be a RegExp, array, or comma-or-space-delimited list.");return e}function Ax(r,e,t,s){return Al.and((n,o)=>Al.and(r?Ia(r):!0,e?(...a)=>!Ia(e)(...a):!0)(n,o),(n,o)=>Al.and(t?Ia(t):!0,s?(...a)=>!Ia(s)(...a):!0)(o))}function Pu(r,e){return!e||e==="deno"?on.npm:r.registryType==="json"?on.staticRegistry:(on[e]||ze(r,`Invalid package manager: ${e}`),on[e])}async function Soe(r={}){const e=await Pu(r,r.packageManager).list?.({cwd:r.cwd,prefix:r.prefix,global:r.global});e||ze(r,"Unable to retrieve package list");const t=Ax(r.filter,r.reject,r.filterVersion,r.rejectVersion);return un(e,(s,n)=>!!n&&!xS(n)&&t(s,n))}var Sx={exports:{}};/*!
496
+ Error: ${s.message}`,s}}async function hx({configFileName:r,configFilePath:e,packageFile:t,global:s,options:n}){const{default:o,Chalk:a}=await Promise.resolve().then(()=>require("./index-BmUFwMVL.js")),u=n?.color?new a({level:1}):o,c=ux("ncurc",{configFileName:r||".ncurc",defaultExtension:[".json",".yml",".js"],cwd:e||(s?Qt.homedir():t?de.dirname(t):void 0)});r&&!c?.filePath&&qe(n,`Config file ${r} not found in ${e||process.cwd()}`);const{$schema:l,...h}=c?.config||{},d={filePath:c?.filePath,config:h},f=Object.keys(d?.config||{}).filter(g=>!As[g]);f.length>0&&(console.error(u.red(`Unknown option${f.length===1?"":"s"} found in config file:`),u.gray(f.join(", "))),console.info("Using config file "+d.filePath),console.info(`You can change the config file path with ${u.blue("--configFilePath")}`));const p=d?Object.entries(d.config).flatMap(([g,m])=>m===!0||As[g]?.type==="boolean"&&m?[`--${g}`]:m===!1||As[g]?.type==="boolean"&&!m?[]:[`--${g}`,m]):[];return d?{...d,args:p}:null}var nA=Object.prototype.hasOwnProperty;function oA(r,e,t){for(t of r.keys())if(Zn(t,e))return t}function Zn(r,e){var t,s,n;if(r===e)return!0;if(r&&e&&(t=r.constructor)===e.constructor){if(t===Date)return r.getTime()===e.getTime();if(t===RegExp)return r.toString()===e.toString();if(t===Array){if((s=r.length)===e.length)for(;s--&&Zn(r[s],e[s]););return s===-1}if(t===Set){if(r.size!==e.size)return!1;for(s of r)if(n=s,n&&typeof n=="object"&&(n=oA(e,n),!n)||!e.has(n))return!1;return!0}if(t===Map){if(r.size!==e.size)return!1;for(s of r)if(n=s[0],n&&typeof n=="object"&&(n=oA(e,n),!n)||!Zn(s[1],e.get(n)))return!1;return!0}if(t===ArrayBuffer)r=new Uint8Array(r),e=new Uint8Array(e);else if(t===DataView){if((s=r.byteLength)===e.byteLength)for(;s--&&r.getInt8(s)===e.getInt8(s););return s===-1}if(ArrayBuffer.isView(r)){if((s=r.byteLength)===e.byteLength)for(;s--&&r[s]===e[s];);return s===-1}if(!t||typeof r=="object"){s=0;for(t in r)if(nA.call(r,t)&&++s&&!nA.call(e,t)||!(t in e)||!Zn(r[t],e[t]))return!1;return Object.keys(e).length===s}}return r!==r&&e!==e}const{promisify:xne}=rs,One=xA,Tne=xne(One.execFile);var Bne=async r=>{const{stdout:e}=await Tne("git",["ls-remote","--tags",r]),t=new Map;for(const s of e.trim().split(`
497
+ `)){const[n,o]=s.split(" "),a=o.replace(/^refs\/tags\//,"").replace(/\^\{\}$/,"");t.set(a,n)}return t};const d0=Qe(Bne),Dy=async(r,e,t)=>{e=e.replace(/^github:/,"");const{auth:s,protocol:n,host:o,path:a}=iu(e);let u=new Map,c=Promise.resolve(u);n!=null?c=c.then(()=>d0(`${n?n.replace("git+",""):"https:"}//${s?s+"@":""}${o}/${a?.replace(/^:/,"")}`)):c=c.then(()=>d0(`ssh://git@${o}/${a?.replace(/^:/,"")}`)).catch(()=>d0(`https://${s?s+"@":""}${o}/${a}`));try{u=await c}catch{return ge(t||{},`Invalid, private repo, or no tags for ${r}: ${e}`,"verbose"),null}return Array.from(u.keys()).map(_m).filter(d=>gt.valid(d)).sort(wm)},Ine=async(r,e,t)=>{const s=await Dy(r,e,t);if(!s)return{version:null};const n=t?.pre?s:s.filter(a=>!nu(a)),o=n[n.length-1];return{version:o?yh(e,o):null}},fx=async(r,e,t)=>{const s=await Dy(r,e,t);if(!s)return{version:null};const n=s[s.length-1];return{version:n?yh(e,n):null}},Ey=r=>async(e,t,s={})=>{const n=decodeURIComponent(iu(t).branch).replace(/^semver:/,""),o=await Dy(e,t,s);if(!o)return{version:null};const a=vm(o.map(u=>u.replace(/^v/,"")),n,r);return{version:a?yh(t,a):null}},Pne=Ey("minor"),Lne=Ey("patch"),kne=async(r,e,t)=>({version:null}),Nne=fx,Mne=Object.freeze(Object.defineProperty({__proto__:null,greatest:fx,greatestLevel:Ey,latest:Ine,minor:Pne,newest:Nne,patch:Lne,semver:kne},Symbol.toStringTag,{value:"Module"})),jne=r=>r&&r.startsWith("http://")||r.startsWith("https://"),Une=async r=>{const e=r.registry;let t;if(jne(e))t=await(await fetch(e)).text();else try{t=await Pe.readFile(e,"utf8")}catch{qe(r,`
498
+ The specified static registry file does not exist: ${r.registry}`)}return JSON.parse(t)},Hne=mo(Une),Gne=async(r,e,t)=>({version:(await Hne(t||{}))[r]||null}),Wne=Object.freeze(Object.defineProperty({__proto__:null,latest:Gne},Symbol.toStringTag,{value:"Module"})),on={npm:OK,pnpm:XK,yarn:mee,bun:jK,gitTags:Mne,staticRegistry:Wne};function ba(r){if(typeof r=="string")return r.trim();if(Array.isArray(r)&&(r.length===0||typeof r[0]=="string")){const e=r.map(t=>typeof t=="string"?t.trim():t).filter(t=>t);return e.length>0?e:void 0}else return r}async function zne(r,{cli:e}={}){const{default:t,Chalk:s}=await Promise.resolve().then(()=>require("./index-BmUFwMVL.js")),n=r.color?new s({level:1}):t;if(!e){const w=hl.reduce((_,R)=>({..._,...R.default!=null?{[R.long]:R.default}:null}),{}),v={jsonUpgraded:!0,silent:r.silent||r.loglevel===void 0&&!r.verbose,args:[]};r={...w,...v,...r}}const o={...r,...r.packageData&&typeof r.packageData!="string"?{packageData:JSON.stringify(r.packageData,null,2)}:null,cli:e},a=o.silent||o.format?.includes("lines")?"silent":o.verbose?"verbose":o.loglevel,u=Object.keys(o).filter(w=>w.startsWith("json")).some(DS(o));!u&&a!=="silent"&&o.rcConfigPath&&!o.doctor&&ge(o,`Using config file ${o.rcConfigPath}`);const c=hl.filter(({long:w,deprecated:v})=>v&&o[w]||w==="packageManager"&&o.packageManager==="staticRegistry");c.length>0&&(c.forEach(({long:w,description:v})=>{const _=w==="packageManager"?"--packageManager staticRegistry is deprecated. Use --registryType json.":`--${w}: ${v}`;ge(o,n.yellow(_),"warn")}),ge(o,"","warn")),hl.forEach(({long:w,choices:v})=>{if(!v||v.length===0)return;const _=o[w],R=Array.isArray(_)?_:[_];R.length!==0&&R.every(P=>!v.includes(P))&&qe(o,`Invalid option value: --${w} ${_}. Valid values are: ${v.join(", ")}.`)}),o.cwd&&!await Ua(o.cwd)&&qe(o,`No such directory: ${o.cwd}`);const l=ba(o.args),h=ba(o.filter),d=ba(o.filterVersion),f=ba(o.reject),p=ba(o.rejectVersion);o.filter&&l&&!Zn(l.join(" "),Array.isArray(h)?h.join(" "):h)?qe(o,`Cannot specify a filter using both --filter and args. Did you forget to quote an argument?
499
+ See: https://github.com/raineorshine/npm-check-updates/issues/759#issuecomment-723587297`):o.packageFile&&o.deep?qe(o,"Cannot specify both --packageFile and --deep. --deep is an alias for --packageFile '**/package.json'"):o.format?.includes("lines")&&o.jsonUpgraded?qe(o,"Cannot specify both --format lines and --jsonUpgraded."):o.format?.includes("lines")&&o.jsonAll?qe(o,"Cannot specify both --format lines and --jsonAll."):o.format?.includes("lines")&&o.format.length>1?qe(o,"Cannot use --format lines with other formatting options."):o.workspace?.length&&o.workspaces?qe(o,"Cannot specify both --workspace and --workspaces."):o.deep&&(o.workspace?.length||o.workspaces)?qe(o,`Cannot specify both --deep and --workspace${o.workspaces?"s":""}.`):o.doctor&&(o.workspace?.length||o.workspaces)?qe(o,`Doctor mode is not currently supported with --workspace${o.workspaces?"s":""}.`):o.packageManager==="staticRegistry"&&!o.registry?qe(o,"When --package-manager staticRegistry is specified, you must provide the path for the registry file with --registry."):o.registryType==="json"&&!o.registry&&qe(o,'When --registryType json is specified, you must provide the path for the registry file with --registry. Run "ncu --help registryType" for details.');const g=o.target||"latest",m=g==="newest"||g==="greatest",E=await US(o),D={...o,...o.deep?{packageFile:"**/package.json"}:null,...E==="deno"&&o.dep!==As.dep.default?{dep:["imports"]}:null,...o.format&&o.format.length>0?{format:o.format}:null,filter:l||h,filterVersion:d,json:u,loglevel:a,minimal:o.minimal===void 0?!1:o.minimal,...o.pre!=null||m?{pre:o.pre!=null?!!o.pre:m}:null,reject:f,rejectVersion:p,target:g,...o.interactive&&o.upgrade===void 0?{upgrade:!u}:null,packageManager:E,...o.prefix?{prefix:await(on[E||""]?.defaultPrefix||on.npm.defaultPrefix)(o)}:null,registryType:o.registryType||(o.registry?.endsWith(".json")?"json":"npm")};D.cacher=await NP(D);const b=He(D,(w,v)=>v!==void 0?{[w]:v}:null);return!o.packageManager&&E!=="npm"&&ge(b,`Using ${E}`),b}function qne(r,e){return Array.from(new Set([...r||[],...e||[]]))}function Vne(r,e){const t=r||{},s=e||{},n={...t,...s};return Object.keys(n).forEach(o=>{Array.isArray(t[o])&&Array.isArray(s[o])&&(n[o]=qne(t[o],s[o]))}),n}const dx=r=>typeof r=="function"?r:()=>r,px=(...r)=>(...e)=>r.length===0||!!dx(r[0])(...e)&&px(...r.slice(1))(...e),gx=(...r)=>(...e)=>r.length>0&&(!!dx(r[0])(...e)||gx(...r.slice(1))(...e));var Al={and:px,or:gx},Iu={};const Kr="\\\\/",aA=`[^${Kr}]`,Zi="\\.",Yne="\\+",Kne="\\?",hf="\\/",Xne="(?=.)",mx="[^/]",by=`(?:${hf}|$)`,yx=`(?:^|${hf})`,wy=`${Zi}{1,2}${by}`,Zne=`(?!${Zi})`,Jne=`(?!${yx}${wy})`,Qne=`(?!${Zi}{0,1}${by})`,eoe=`(?!${wy})`,toe=`[^.${hf}]`,roe=`${mx}*?`,ioe="/",Dx={DOT_LITERAL:Zi,PLUS_LITERAL:Yne,QMARK_LITERAL:Kne,SLASH_LITERAL:hf,ONE_CHAR:Xne,QMARK:mx,END_ANCHOR:by,DOTS_SLASH:wy,NO_DOT:Zne,NO_DOTS:Jne,NO_DOT_SLASH:Qne,NO_DOTS_SLASH:eoe,QMARK_NO_DOT:toe,STAR:roe,START_ANCHOR:yx,SEP:ioe},soe={...Dx,SLASH_LITERAL:`[${Kr}]`,QMARK:aA,STAR:`${aA}*?`,DOTS_SLASH:`${Zi}{1,2}(?:[${Kr}]|$)`,NO_DOT:`(?!${Zi})`,NO_DOTS:`(?!(?:^|[${Kr}])${Zi}{1,2}(?:[${Kr}]|$))`,NO_DOT_SLASH:`(?!${Zi}{0,1}(?:[${Kr}]|$))`,NO_DOTS_SLASH:`(?!${Zi}{1,2}(?:[${Kr}]|$))`,QMARK_NO_DOT:`[^.${Kr}]`,START_ANCHOR:`(?:^|[${Kr}])`,END_ANCHOR:`(?:[${Kr}]|$)`,SEP:"\\"},noe={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"};var ff={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:noe,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,extglobChars(r){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${r.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(r){return r===!0?soe:Dx}};(function(r){const{REGEX_BACKSLASH:e,REGEX_REMOVE_BACKSLASH:t,REGEX_SPECIAL_CHARS:s,REGEX_SPECIAL_CHARS_GLOBAL:n}=ff;r.isObject=o=>o!==null&&typeof o=="object"&&!Array.isArray(o),r.hasRegexChars=o=>s.test(o),r.isRegexChar=o=>o.length===1&&r.hasRegexChars(o),r.escapeRegex=o=>o.replace(n,"\\$1"),r.toPosixSlashes=o=>o.replace(e,"/"),r.isWindows=()=>{if(typeof navigator<"u"&&navigator.platform){const o=navigator.platform.toLowerCase();return o==="win32"||o==="windows"}return typeof process<"u"&&process.platform?process.platform==="win32":!1},r.removeBackslashes=o=>o.replace(t,a=>a==="\\"?"":a),r.escapeLast=(o,a,u)=>{const c=o.lastIndexOf(a,u);return c===-1?o:o[c-1]==="\\"?r.escapeLast(o,a,c-1):`${o.slice(0,c)}\\${o.slice(c)}`},r.removePrefix=(o,a={})=>{let u=o;return u.startsWith("./")&&(u=u.slice(2),a.prefix="./"),u},r.wrapOutput=(o,a={},u={})=>{const c=u.contains?"":"^",l=u.contains?"":"$";let h=`${c}(?:${o})${l}`;return a.negated===!0&&(h=`(?:^(?!${h}).*$)`),h},r.basename=(o,{windows:a}={})=>{const u=o.split(a?/[\\/]/:"/"),c=u[u.length-1];return c===""?u[u.length-2]:c}})(Iu);const uA=Iu,{CHAR_ASTERISK:p0,CHAR_AT:ooe,CHAR_BACKWARD_SLASH:Ba,CHAR_COMMA:aoe,CHAR_DOT:g0,CHAR_EXCLAMATION_MARK:m0,CHAR_FORWARD_SLASH:Ex,CHAR_LEFT_CURLY_BRACE:y0,CHAR_LEFT_PARENTHESES:D0,CHAR_LEFT_SQUARE_BRACKET:uoe,CHAR_PLUS:coe,CHAR_QUESTION_MARK:cA,CHAR_RIGHT_CURLY_BRACE:loe,CHAR_RIGHT_PARENTHESES:lA,CHAR_RIGHT_SQUARE_BRACKET:hoe}=ff,hA=r=>r===Ex||r===Ba,fA=r=>{r.isPrefix!==!0&&(r.depth=r.isGlobstar?1/0:1)},foe=(r,e)=>{const t=e||{},s=r.length-1,n=t.parts===!0||t.scanToEnd===!0,o=[],a=[],u=[];let c=r,l=-1,h=0,d=0,f=!1,p=!1,g=!1,m=!1,E=!1,D=!1,b=!1,w=!1,v=!1,_=!1,R=0,P,M,j={value:"",depth:0,isGlob:!1};const N=()=>l>=s,G=()=>c.charCodeAt(l+1),ie=()=>(P=M,c.charCodeAt(++l));for(;l<s;){M=ie();let q;if(M===Ba){b=j.backslashes=!0,M=ie(),M===y0&&(D=!0);continue}if(D===!0||M===y0){for(R++;N()!==!0&&(M=ie());){if(M===Ba){b=j.backslashes=!0,ie();continue}if(M===y0){R++;continue}if(D!==!0&&M===g0&&(M=ie())===g0){if(f=j.isBrace=!0,g=j.isGlob=!0,_=!0,n===!0)continue;break}if(D!==!0&&M===aoe){if(f=j.isBrace=!0,g=j.isGlob=!0,_=!0,n===!0)continue;break}if(M===loe&&(R--,R===0)){D=!1,f=j.isBrace=!0,_=!0;break}}if(n===!0)continue;break}if(M===Ex){if(o.push(l),a.push(j),j={value:"",depth:0,isGlob:!1},_===!0)continue;if(P===g0&&l===h+1){h+=2;continue}d=l+1;continue}if(t.noext!==!0&&(M===coe||M===ooe||M===p0||M===cA||M===m0)===!0&&G()===D0){if(g=j.isGlob=!0,m=j.isExtglob=!0,_=!0,M===m0&&l===h&&(v=!0),n===!0){for(;N()!==!0&&(M=ie());){if(M===Ba){b=j.backslashes=!0,M=ie();continue}if(M===lA){g=j.isGlob=!0,_=!0;break}}continue}break}if(M===p0){if(P===p0&&(E=j.isGlobstar=!0),g=j.isGlob=!0,_=!0,n===!0)continue;break}if(M===cA){if(g=j.isGlob=!0,_=!0,n===!0)continue;break}if(M===uoe){for(;N()!==!0&&(q=ie());){if(q===Ba){b=j.backslashes=!0,ie();continue}if(q===hoe){p=j.isBracket=!0,g=j.isGlob=!0,_=!0;break}}if(n===!0)continue;break}if(t.nonegate!==!0&&M===m0&&l===h){w=j.negated=!0,h++;continue}if(t.noparen!==!0&&M===D0){if(g=j.isGlob=!0,n===!0){for(;N()!==!0&&(M=ie());){if(M===D0){b=j.backslashes=!0,M=ie();continue}if(M===lA){_=!0;break}}continue}break}if(g===!0){if(_=!0,n===!0)continue;break}}t.noext===!0&&(m=!1,g=!1);let ne=c,x="",S="";h>0&&(x=c.slice(0,h),c=c.slice(h),d-=h),ne&&g===!0&&d>0?(ne=c.slice(0,d),S=c.slice(d)):g===!0?(ne="",S=c):ne=c,ne&&ne!==""&&ne!=="/"&&ne!==c&&hA(ne.charCodeAt(ne.length-1))&&(ne=ne.slice(0,-1)),t.unescape===!0&&(S&&(S=uA.removeBackslashes(S)),ne&&b===!0&&(ne=uA.removeBackslashes(ne)));const $={prefix:x,input:r,start:h,base:ne,glob:S,isBrace:f,isBracket:p,isGlob:g,isExtglob:m,isGlobstar:E,negated:w,negatedExtglob:v};if(t.tokens===!0&&($.maxDepth=0,hA(M)||a.push(j),$.tokens=a),t.parts===!0||t.tokens===!0){let q;for(let O=0;O<o.length;O++){const L=q?q+1:h,K=o[O],ee=r.slice(L,K);t.tokens&&(O===0&&h!==0?(a[O].isPrefix=!0,a[O].value=x):a[O].value=ee,fA(a[O]),$.maxDepth+=a[O].depth),(O!==0||ee!=="")&&u.push(ee),q=K}if(q&&q+1<r.length){const O=r.slice(q+1);u.push(O),t.tokens&&(a[a.length-1].value=O,fA(a[a.length-1]),$.maxDepth+=a[a.length-1].depth)}$.slashes=o,$.parts=u}return $};var doe=foe;const Zl=ff,Xr=Iu,{MAX_LENGTH:Jl,POSIX_REGEX_SOURCE:poe,REGEX_NON_SPECIAL_CHARS:goe,REGEX_SPECIAL_CHARS_BACKREF:moe,REPLACEMENTS:bx}=Zl,yoe=(r,e)=>{if(typeof e.expandRange=="function")return e.expandRange(...r,e);r.sort();const t=`[${r.join("-")}]`;try{new RegExp(t)}catch{return r.map(n=>Xr.escapeRegex(n)).join("..")}return t},Cn=(r,e)=>`Missing ${r}: "${e}" - use "\\\\${e}" to match literal characters`,vy=(r,e)=>{if(typeof r!="string")throw new TypeError("Expected a string");r=bx[r]||r;const t={...e},s=typeof t.maxLength=="number"?Math.min(Jl,t.maxLength):Jl;let n=r.length;if(n>s)throw new SyntaxError(`Input length: ${n}, exceeds maximum allowed length: ${s}`);const o={type:"bos",value:"",output:t.prepend||""},a=[o],u=t.capture?"":"?:",c=Zl.globChars(t.windows),l=Zl.extglobChars(c),{DOT_LITERAL:h,PLUS_LITERAL:d,SLASH_LITERAL:f,ONE_CHAR:p,DOTS_SLASH:g,NO_DOT:m,NO_DOT_SLASH:E,NO_DOTS_SLASH:D,QMARK:b,QMARK_NO_DOT:w,STAR:v,START_ANCHOR:_}=c,R=he=>`(${u}(?:(?!${_}${he.dot?g:h}).)*?)`,P=t.dot?"":m,M=t.dot?b:w;let j=t.bash===!0?R(t):v;t.capture&&(j=`(${j})`),typeof t.noext=="boolean"&&(t.noextglob=t.noext);const N={input:r,index:-1,start:0,dot:t.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:a};r=Xr.removePrefix(r,N),n=r.length;const G=[],ie=[],ne=[];let x=o,S;const $=()=>N.index===n-1,q=N.peek=(he=1)=>r[N.index+he],O=N.advance=()=>r[++N.index]||"",L=()=>r.slice(N.index+1),K=(he="",J=0)=>{N.consumed+=he,N.index+=J},ee=he=>{N.output+=he.output!=null?he.output:he.value,K(he.value)},pe=()=>{let he=1;for(;q()==="!"&&(q(2)!=="("||q(3)==="?");)O(),N.start++,he++;return he%2===0?!1:(N.negated=!0,N.start++,!0)},ae=he=>{N[he]++,ne.push(he)},Ce=he=>{N[he]--,ne.pop()},le=he=>{if(x.type==="globstar"){const J=N.braces>0&&(he.type==="comma"||he.type==="brace"),I=he.extglob===!0||G.length&&(he.type==="pipe"||he.type==="paren");he.type!=="slash"&&he.type!=="paren"&&!J&&!I&&(N.output=N.output.slice(0,-x.output.length),x.type="star",x.value="*",x.output=j,N.output+=x.output)}if(G.length&&he.type!=="paren"&&(G[G.length-1].inner+=he.value),(he.value||he.output)&&ee(he),x&&x.type==="text"&&he.type==="text"){x.output=(x.output||x.value)+he.value,x.value+=he.value;return}he.prev=x,a.push(he),x=he},me=(he,J)=>{const I={...l[J],conditions:1,inner:""};I.prev=x,I.parens=N.parens,I.output=N.output;const C=(t.capture?"(":"")+I.open;ae("parens"),le({type:he,value:J,output:N.output?"":p}),le({type:"paren",extglob:!0,value:O(),output:C}),G.push(I)},Kt=he=>{let J=he.close+(t.capture?")":""),I;if(he.type==="negate"){let C=j;if(he.inner&&he.inner.length>1&&he.inner.includes("/")&&(C=R(t)),(C!==j||$()||/^\)+$/.test(L()))&&(J=he.close=`)$))${C}`),he.inner.includes("*")&&(I=L())&&/^\.[^\\/.]+$/.test(I)){const T=vy(I,{...e,fastpaths:!1}).output;J=he.close=`)${T})${C})`}he.prev.type==="bos"&&(N.negatedExtglob=!0)}le({type:"paren",extglob:!0,value:S,output:J}),Ce("parens")};if(t.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(r)){let he=!1,J=r.replace(moe,(I,C,T,U,B,F)=>U==="\\"?(he=!0,I):U==="?"?C?C+U+(B?b.repeat(B.length):""):F===0?M+(B?b.repeat(B.length):""):b.repeat(T.length):U==="."?h.repeat(T.length):U==="*"?C?C+U+(B?j:""):j:C?I:`\\${I}`);return he===!0&&(t.unescape===!0?J=J.replace(/\\/g,""):J=J.replace(/\\+/g,I=>I.length%2===0?"\\\\":I?"\\":"")),J===r&&t.contains===!0?(N.output=r,N):(N.output=Xr.wrapOutput(J,N,e),N)}for(;!$();){if(S=O(),S==="\0")continue;if(S==="\\"){const I=q();if(I==="/"&&t.bash!==!0||I==="."||I===";")continue;if(!I){S+="\\",le({type:"text",value:S});continue}const C=/^\\+/.exec(L());let T=0;if(C&&C[0].length>2&&(T=C[0].length,N.index+=T,T%2!==0&&(S+="\\")),t.unescape===!0?S=O():S+=O(),N.brackets===0){le({type:"text",value:S});continue}}if(N.brackets>0&&(S!=="]"||x.value==="["||x.value==="[^")){if(t.posix!==!1&&S===":"){const I=x.value.slice(1);if(I.includes("[")&&(x.posix=!0,I.includes(":"))){const C=x.value.lastIndexOf("["),T=x.value.slice(0,C),U=x.value.slice(C+2),B=poe[U];if(B){x.value=T+B,N.backtrack=!0,O(),!o.output&&a.indexOf(x)===1&&(o.output=p);continue}}}(S==="["&&q()!==":"||S==="-"&&q()==="]")&&(S=`\\${S}`),S==="]"&&(x.value==="["||x.value==="[^")&&(S=`\\${S}`),t.posix===!0&&S==="!"&&x.value==="["&&(S="^"),x.value+=S,ee({value:S});continue}if(N.quotes===1&&S!=='"'){S=Xr.escapeRegex(S),x.value+=S,ee({value:S});continue}if(S==='"'){N.quotes=N.quotes===1?0:1,t.keepQuotes===!0&&le({type:"text",value:S});continue}if(S==="("){ae("parens"),le({type:"paren",value:S});continue}if(S===")"){if(N.parens===0&&t.strictBrackets===!0)throw new SyntaxError(Cn("opening","("));const I=G[G.length-1];if(I&&N.parens===I.parens+1){Kt(G.pop());continue}le({type:"paren",value:S,output:N.parens?")":"\\)"}),Ce("parens");continue}if(S==="["){if(t.nobracket===!0||!L().includes("]")){if(t.nobracket!==!0&&t.strictBrackets===!0)throw new SyntaxError(Cn("closing","]"));S=`\\${S}`}else ae("brackets");le({type:"bracket",value:S});continue}if(S==="]"){if(t.nobracket===!0||x&&x.type==="bracket"&&x.value.length===1){le({type:"text",value:S,output:`\\${S}`});continue}if(N.brackets===0){if(t.strictBrackets===!0)throw new SyntaxError(Cn("opening","["));le({type:"text",value:S,output:`\\${S}`});continue}Ce("brackets");const I=x.value.slice(1);if(x.posix!==!0&&I[0]==="^"&&!I.includes("/")&&(S=`/${S}`),x.value+=S,ee({value:S}),t.literalBrackets===!1||Xr.hasRegexChars(I))continue;const C=Xr.escapeRegex(x.value);if(N.output=N.output.slice(0,-x.value.length),t.literalBrackets===!0){N.output+=C,x.value=C;continue}x.value=`(${u}${C}|${x.value})`,N.output+=x.value;continue}if(S==="{"&&t.nobrace!==!0){ae("braces");const I={type:"brace",value:S,output:"(",outputIndex:N.output.length,tokensIndex:N.tokens.length};ie.push(I),le(I);continue}if(S==="}"){const I=ie[ie.length-1];if(t.nobrace===!0||!I){le({type:"text",value:S,output:S});continue}let C=")";if(I.dots===!0){const T=a.slice(),U=[];for(let B=T.length-1;B>=0&&(a.pop(),T[B].type!=="brace");B--)T[B].type!=="dots"&&U.unshift(T[B].value);C=yoe(U,t),N.backtrack=!0}if(I.comma!==!0&&I.dots!==!0){const T=N.output.slice(0,I.outputIndex),U=N.tokens.slice(I.tokensIndex);I.value=I.output="\\{",S=C="\\}",N.output=T;for(const B of U)N.output+=B.output||B.value}le({type:"brace",value:S,output:C}),Ce("braces"),ie.pop();continue}if(S==="|"){G.length>0&&G[G.length-1].conditions++,le({type:"text",value:S});continue}if(S===","){let I=S;const C=ie[ie.length-1];C&&ne[ne.length-1]==="braces"&&(C.comma=!0,I="|"),le({type:"comma",value:S,output:I});continue}if(S==="/"){if(x.type==="dot"&&N.index===N.start+1){N.start=N.index+1,N.consumed="",N.output="",a.pop(),x=o;continue}le({type:"slash",value:S,output:f});continue}if(S==="."){if(N.braces>0&&x.type==="dot"){x.value==="."&&(x.output=h);const I=ie[ie.length-1];x.type="dots",x.output+=S,x.value+=S,I.dots=!0;continue}if(N.braces+N.parens===0&&x.type!=="bos"&&x.type!=="slash"){le({type:"text",value:S,output:h});continue}le({type:"dot",value:S,output:h});continue}if(S==="?"){if(!(x&&x.value==="(")&&t.noextglob!==!0&&q()==="("&&q(2)!=="?"){me("qmark",S);continue}if(x&&x.type==="paren"){const C=q();let T=S;(x.value==="("&&!/[!=<:]/.test(C)||C==="<"&&!/<([!=]|\w+>)/.test(L()))&&(T=`\\${S}`),le({type:"text",value:S,output:T});continue}if(t.dot!==!0&&(x.type==="slash"||x.type==="bos")){le({type:"qmark",value:S,output:w});continue}le({type:"qmark",value:S,output:b});continue}if(S==="!"){if(t.noextglob!==!0&&q()==="("&&(q(2)!=="?"||!/[!=<:]/.test(q(3)))){me("negate",S);continue}if(t.nonegate!==!0&&N.index===0){pe();continue}}if(S==="+"){if(t.noextglob!==!0&&q()==="("&&q(2)!=="?"){me("plus",S);continue}if(x&&x.value==="("||t.regex===!1){le({type:"plus",value:S,output:d});continue}if(x&&(x.type==="bracket"||x.type==="paren"||x.type==="brace")||N.parens>0){le({type:"plus",value:S});continue}le({type:"plus",value:d});continue}if(S==="@"){if(t.noextglob!==!0&&q()==="("&&q(2)!=="?"){le({type:"at",extglob:!0,value:S,output:""});continue}le({type:"text",value:S});continue}if(S!=="*"){(S==="$"||S==="^")&&(S=`\\${S}`);const I=goe.exec(L());I&&(S+=I[0],N.index+=I[0].length),le({type:"text",value:S});continue}if(x&&(x.type==="globstar"||x.star===!0)){x.type="star",x.star=!0,x.value+=S,x.output=j,N.backtrack=!0,N.globstar=!0,K(S);continue}let he=L();if(t.noextglob!==!0&&/^\([^?]/.test(he)){me("star",S);continue}if(x.type==="star"){if(t.noglobstar===!0){K(S);continue}const I=x.prev,C=I.prev,T=I.type==="slash"||I.type==="bos",U=C&&(C.type==="star"||C.type==="globstar");if(t.bash===!0&&(!T||he[0]&&he[0]!=="/")){le({type:"star",value:S,output:""});continue}const B=N.braces>0&&(I.type==="comma"||I.type==="brace"),F=G.length&&(I.type==="pipe"||I.type==="paren");if(!T&&I.type!=="paren"&&!B&&!F){le({type:"star",value:S,output:""});continue}for(;he.slice(0,3)==="/**";){const k=r[N.index+4];if(k&&k!=="/")break;he=he.slice(3),K("/**",3)}if(I.type==="bos"&&$()){x.type="globstar",x.value+=S,x.output=R(t),N.output=x.output,N.globstar=!0,K(S);continue}if(I.type==="slash"&&I.prev.type!=="bos"&&!U&&$()){N.output=N.output.slice(0,-(I.output+x.output).length),I.output=`(?:${I.output}`,x.type="globstar",x.output=R(t)+(t.strictSlashes?")":"|$)"),x.value+=S,N.globstar=!0,N.output+=I.output+x.output,K(S);continue}if(I.type==="slash"&&I.prev.type!=="bos"&&he[0]==="/"){const k=he[1]!==void 0?"|$":"";N.output=N.output.slice(0,-(I.output+x.output).length),I.output=`(?:${I.output}`,x.type="globstar",x.output=`${R(t)}${f}|${f}${k})`,x.value+=S,N.output+=I.output+x.output,N.globstar=!0,K(S+O()),le({type:"slash",value:"/",output:""});continue}if(I.type==="bos"&&he[0]==="/"){x.type="globstar",x.value+=S,x.output=`(?:^|${f}|${R(t)}${f})`,N.output=x.output,N.globstar=!0,K(S+O()),le({type:"slash",value:"/",output:""});continue}N.output=N.output.slice(0,-x.output.length),x.type="globstar",x.output=R(t),x.value+=S,N.output+=x.output,N.globstar=!0,K(S);continue}const J={type:"star",value:S,output:j};if(t.bash===!0){J.output=".*?",(x.type==="bos"||x.type==="slash")&&(J.output=P+J.output),le(J);continue}if(x&&(x.type==="bracket"||x.type==="paren")&&t.regex===!0){J.output=S,le(J);continue}(N.index===N.start||x.type==="slash"||x.type==="dot")&&(x.type==="dot"?(N.output+=E,x.output+=E):t.dot===!0?(N.output+=D,x.output+=D):(N.output+=P,x.output+=P),q()!=="*"&&(N.output+=p,x.output+=p)),le(J)}for(;N.brackets>0;){if(t.strictBrackets===!0)throw new SyntaxError(Cn("closing","]"));N.output=Xr.escapeLast(N.output,"["),Ce("brackets")}for(;N.parens>0;){if(t.strictBrackets===!0)throw new SyntaxError(Cn("closing",")"));N.output=Xr.escapeLast(N.output,"("),Ce("parens")}for(;N.braces>0;){if(t.strictBrackets===!0)throw new SyntaxError(Cn("closing","}"));N.output=Xr.escapeLast(N.output,"{"),Ce("braces")}if(t.strictSlashes!==!0&&(x.type==="star"||x.type==="bracket")&&le({type:"maybe_slash",value:"",output:`${f}?`}),N.backtrack===!0){N.output="";for(const he of N.tokens)N.output+=he.output!=null?he.output:he.value,he.suffix&&(N.output+=he.suffix)}return N};vy.fastpaths=(r,e)=>{const t={...e},s=typeof t.maxLength=="number"?Math.min(Jl,t.maxLength):Jl,n=r.length;if(n>s)throw new SyntaxError(`Input length: ${n}, exceeds maximum allowed length: ${s}`);r=bx[r]||r;const{DOT_LITERAL:o,SLASH_LITERAL:a,ONE_CHAR:u,DOTS_SLASH:c,NO_DOT:l,NO_DOTS:h,NO_DOTS_SLASH:d,STAR:f,START_ANCHOR:p}=Zl.globChars(t.windows),g=t.dot?h:l,m=t.dot?d:l,E=t.capture?"":"?:",D={negated:!1,prefix:""};let b=t.bash===!0?".*?":f;t.capture&&(b=`(${b})`);const w=P=>P.noglobstar===!0?b:`(${E}(?:(?!${p}${P.dot?c:o}).)*?)`,v=P=>{switch(P){case"*":return`${g}${u}${b}`;case".*":return`${o}${u}${b}`;case"*.*":return`${g}${b}${o}${u}${b}`;case"*/*":return`${g}${b}${a}${u}${m}${b}`;case"**":return g+w(t);case"**/*":return`(?:${g}${w(t)}${a})?${m}${u}${b}`;case"**/*.*":return`(?:${g}${w(t)}${a})?${m}${b}${o}${u}${b}`;case"**/.*":return`(?:${g}${w(t)}${a})?${o}${u}${b}`;default:{const M=/^(.*?)\.(\w+)$/.exec(P);if(!M)return;const j=v(M[1]);return j?j+o+M[2]:void 0}}},_=Xr.removePrefix(r,D);let R=v(_);return R&&t.strictSlashes!==!0&&(R+=`${a}?`),R};var Doe=vy;const Eoe=doe,Gg=Doe,wx=Iu,boe=ff,woe=r=>r&&typeof r=="object"&&!Array.isArray(r),ct=(r,e,t=!1)=>{if(Array.isArray(r)){const h=r.map(f=>ct(f,e,t));return f=>{for(const p of h){const g=p(f);if(g)return g}return!1}}const s=woe(r)&&r.tokens&&r.input;if(r===""||typeof r!="string"&&!s)throw new TypeError("Expected pattern to be a non-empty string");const n=e||{},o=n.windows,a=s?ct.compileRe(r,e):ct.makeRe(r,e,!1,!0),u=a.state;delete a.state;let c=()=>!1;if(n.ignore){const h={...e,ignore:null,onMatch:null,onResult:null};c=ct(n.ignore,h,t)}const l=(h,d=!1)=>{const{isMatch:f,match:p,output:g}=ct.test(h,a,e,{glob:r,posix:o}),m={glob:r,state:u,regex:a,posix:o,input:h,output:g,match:p,isMatch:f};return typeof n.onResult=="function"&&n.onResult(m),f===!1?(m.isMatch=!1,d?m:!1):c(h)?(typeof n.onIgnore=="function"&&n.onIgnore(m),m.isMatch=!1,d?m:!1):(typeof n.onMatch=="function"&&n.onMatch(m),d?m:!0)};return t&&(l.state=u),l};ct.test=(r,e,t,{glob:s,posix:n}={})=>{if(typeof r!="string")throw new TypeError("Expected input to be a string");if(r==="")return{isMatch:!1,output:""};const o=t||{},a=o.format||(n?wx.toPosixSlashes:null);let u=r===s,c=u&&a?a(r):r;return u===!1&&(c=a?a(r):r,u=c===s),(u===!1||o.capture===!0)&&(o.matchBase===!0||o.basename===!0?u=ct.matchBase(r,e,t,n):u=e.exec(c)),{isMatch:!!u,match:u,output:c}};ct.matchBase=(r,e,t)=>(e instanceof RegExp?e:ct.makeRe(e,t)).test(wx.basename(r));ct.isMatch=(r,e,t)=>ct(e,t)(r);ct.parse=(r,e)=>Array.isArray(r)?r.map(t=>ct.parse(t,e)):Gg(r,{...e,fastpaths:!1});ct.scan=(r,e)=>Eoe(r,e);ct.compileRe=(r,e,t=!1,s=!1)=>{if(t===!0)return r.output;const n=e||{},o=n.contains?"":"^",a=n.contains?"":"$";let u=`${o}(?:${r.output})${a}`;r&&r.negated===!0&&(u=`^(?!${u}).*$`);const c=ct.toRegex(u,e);return s===!0&&(c.state=r),c};ct.makeRe=(r,e={},t=!1,s=!1)=>{if(!r||typeof r!="string")throw new TypeError("Expected a non-empty string");let n={negated:!1,fastpaths:!0};return e.fastpaths!==!1&&(r[0]==="."||r[0]==="*")&&(n.output=Gg.fastpaths(r,e)),n.output||(n=Gg(r,e)),ct.compileRe(n,e,t,s)};ct.toRegex=(r,e)=>{try{const t=e||{};return new RegExp(r,t.flags||(t.nocase?"i":""))}catch(t){if(e&&e.debug===!0)throw t;return/$^/}};ct.constants=boe;var voe=ct;const vx=voe,_oe=Iu;function _x(r,e,t=!1){return e&&(e.windows===null||e.windows===void 0)&&(e={...e,windows:_oe.isWindows()}),vx(r,e,t)}Object.assign(_x,vx);var Aoe=_x;const dA=Qe(Aoe);function Ia(r){let e;if(!r)e=oX;else if(typeof r=="string")if(r[0]==="/"&&r.at(-1)==="/"){const t=new RegExp(r.slice(1,-1));e=s=>t.test(s)}else{const t=r.split(/[\s,]+/);e=s=>{const n=a=>dA(a)(s),o=a=>!a.includes("/")&&s.includes("/")&&dA(a)(s.replace(/\//g,"_"));return t.some(Al.or(n,o))}}else if(Array.isArray(r))e=(t,s)=>r.some(n=>Ia(n)(t,s));else if(r instanceof RegExp)e=t=>r.test(t);else if(typeof r=="function")e=(t,s)=>r(t,ei(s??t));else throw new TypeError("Invalid filter. Must be a RegExp, array, or comma-or-space-delimited list.");return e}function Ax(r,e,t,s){return Al.and((n,o)=>Al.and(r?Ia(r):!0,e?(...a)=>!Ia(e)(...a):!0)(n,o),(n,o)=>Al.and(t?Ia(t):!0,s?(...a)=>!Ia(s)(...a):!0)(o))}function Pu(r,e){return!e||e==="deno"?on.npm:r.registryType==="json"?on.staticRegistry:(on[e]||qe(r,`Invalid package manager: ${e}`),on[e])}async function Soe(r={}){const e=await Pu(r,r.packageManager).list?.({cwd:r.cwd,prefix:r.prefix,global:r.global});e||qe(r,"Unable to retrieve package list");const t=Ax(r.filter,r.reject,r.filterVersion,r.rejectVersion);return un(e,(s,n)=>!!n&&!xS(n)&&t(s,n))}var Sx={exports:{}};/*!
500
500
  * node-progress
501
501
  * Copyright(c) 2011 TJ Holowaychuk <tj@vision-media.ca>
502
502
  * MIT Licensed
503
503
  */(function(r,e){r.exports=t;function t(s,n){if(this.stream=n.stream||process.stderr,typeof n=="number"){var o=n;n={},n.total=o}else{if(n=n||{},typeof s!="string")throw new Error("format required");if(typeof n.total!="number")throw new Error("total required")}this.fmt=s,this.curr=n.curr||0,this.total=n.total,this.width=n.width||this.total,this.clear=n.clear,this.chars={complete:n.complete||"=",incomplete:n.incomplete||"-",head:n.head||n.complete||"="},this.renderThrottle=n.renderThrottle!==0?n.renderThrottle||16:0,this.lastRender=-1/0,this.callback=n.callback||function(){},this.tokens={},this.lastDraw=""}t.prototype.tick=function(s,n){if(s!==0&&(s=s||1),typeof s=="object"&&(n=s,s=1),n&&(this.tokens=n),this.curr==0&&(this.start=new Date),this.curr+=s,this.render(),this.curr>=this.total){this.render(void 0,!0),this.complete=!0,this.terminate(),this.callback(this);return}},t.prototype.render=function(s,n){if(n=n!==void 0?n:!1,s&&(this.tokens=s),!!this.stream.isTTY){var o=Date.now(),a=o-this.lastRender;if(!(!n&&a<this.renderThrottle)){this.lastRender=o;var u=this.curr/this.total;u=Math.min(Math.max(u,0),1);var c=Math.floor(u*100),l,h,d,f=new Date-this.start,p=c==100?0:f*(this.total/this.curr-1),g=this.curr/(f/1e3),m=this.fmt.replace(":current",this.curr).replace(":total",this.total).replace(":elapsed",isNaN(f)?"0.0":(f/1e3).toFixed(1)).replace(":eta",isNaN(p)||!isFinite(p)?"0.0":(p/1e3).toFixed(1)).replace(":percent",c.toFixed(0)+"%").replace(":rate",Math.round(g)),E=Math.max(0,this.stream.columns-m.replace(":bar","").length);E&&process.platform==="win32"&&(E=E-1);var D=Math.min(this.width,E);if(d=Math.round(D*u),h=Array(Math.max(0,d+1)).join(this.chars.complete),l=Array(Math.max(0,D-d+1)).join(this.chars.incomplete),d>0&&(h=h.slice(0,-1)+this.chars.head),m=m.replace(":bar",h+l),this.tokens)for(var b in this.tokens)m=m.replace(":"+b,this.tokens[b]);this.lastDraw!==m&&(this.stream.cursorTo(0),this.stream.write(m),this.stream.clearLine(1),this.lastDraw=m)}}},t.prototype.update=function(s,n){var o=Math.floor(s*this.total),a=o-this.curr;this.tick(a,n)},t.prototype.interrupt=function(s){this.stream.clearLine(),this.stream.cursorTo(0),this.stream.write(s),this.stream.write(`
504
504
  `),this.stream.write(this.lastDraw)},t.prototype.terminate=function(){this.clear?this.stream.clearLine&&(this.stream.clearLine(),this.stream.cursorTo(0)):this.stream.write(`
505
- `)}})(Sx);var Coe=Sx.exports,Foe=Coe;const _y=Qe(Foe);function $oe(r,e){let t=[[e]];for(;t.length>0;){const s=[];for(const n of t){const o=Object.keys(r[n[0]]??{});for(const a of o){if(a===n.at(-1))return{isCircular:!0,offendingPackage:n[0]};s.push([a,...n])}}t=s}return{isCircular:!1}}async function Cx(r,e){const t=Pu(e,e.packageManager);if(!t.getPeerDependencies)return{};const s=Object.keys(r).length;let n;return!e.json&&e.loglevel!=="silent"&&e.loglevel!=="verbose"&&s>0&&(n=new _y("[:bar] :current/:total :percent",{total:s,width:20}),n.render()),Object.entries(r).reduce(async(o,[a,u])=>{const c=await t.getPeerDependencies(a,u);n&&n.tick();const h={...await o,[a]:c},d=$oe(h,a);return d.isCircular&&delete h[a][d.offendingPackage],h},Promise.resolve({}))}function Roe(r,e){const t={};for(const s of e)t[s]=r[s];return t}function Qa(r,e){const t={};for(const[s,n]of Object.entries(r??{})){const o=s;e(n,o)&&(t[o]=n)}return t}const xoe=["latest","newest","greatest","minor","patch","semver"];async function Ooe(r,e={}){const{default:t,Chalk:s}=await Promise.resolve().then(()=>require("./index-BmUFwMVL.js")),n=e.color?new s({level:1}):t,o=Object.keys(r),a=Pu(e,e.packageManager);let u;!e.json&&e.loglevel!=="silent"&&e.loglevel!=="verbose"&&o.length>0&&(u=new _y("[:bar] :current/:total :percent",{total:o.length,width:20}),u.render());async function c(d){const f=Ha(r[d]),[p,g]=f||[d,r[d]],m=e.target||"latest",E=typeof m=="string"?m:m(p,ei(g)),[D,b]=E.startsWith("@")?["distTag",E.slice(1)]:[E,"latest"],w=e.cacher?.get(p,D);if(w)return u?.tick(),{version:w};let v;const _=Pa(r[d]),R=_?on.gitTags:a,P=_?"github urls":e.packageManager||"npm",M=R[D];if(!M){const j=xoe.filter(N=>N in R);ze(e,n.red(`
505
+ `)}})(Sx);var Coe=Sx.exports,Foe=Coe;const _y=Qe(Foe);function $oe(r,e){let t=[[e]];for(;t.length>0;){const s=[];for(const n of t){const o=Object.keys(r[n[0]]??{});for(const a of o){if(a===n.at(-1))return{isCircular:!0,offendingPackage:n[0]};s.push([a,...n])}}t=s}return{isCircular:!1}}async function Cx(r,e){const t=Pu(e,e.packageManager);if(!t.getPeerDependencies)return{};const s=Object.keys(r).length;let n;return!e.json&&e.loglevel!=="silent"&&e.loglevel!=="verbose"&&s>0&&(n=new _y("[:bar] :current/:total :percent",{total:s,width:20}),n.render()),Object.entries(r).reduce(async(o,[a,u])=>{const c=await t.getPeerDependencies(a,u);n&&n.tick();const h={...await o,[a]:c},d=$oe(h,a);return d.isCircular&&delete h[a][d.offendingPackage],h},Promise.resolve({}))}function Roe(r,e){const t={};for(const s of e)t[s]=r[s];return t}function Qa(r,e){const t={};for(const[s,n]of Object.entries(r??{})){const o=s;e(n,o)&&(t[o]=n)}return t}const xoe=["latest","newest","greatest","minor","patch","semver"];async function Ooe(r,e={}){const{default:t,Chalk:s}=await Promise.resolve().then(()=>require("./index-BmUFwMVL.js")),n=e.color?new s({level:1}):t,o=Object.keys(r),a=Pu(e,e.packageManager);let u;!e.json&&e.loglevel!=="silent"&&e.loglevel!=="verbose"&&o.length>0&&(u=new _y("[:bar] :current/:total :percent",{total:o.length,width:20}),u.render());async function c(d){const f=Ha(r[d]),[p,g]=f||[d,r[d]],m=e.target||"latest",E=typeof m=="string"?m:m(p,ei(g)),[D,b]=E.startsWith("@")?["distTag",E.slice(1)]:[E,"latest"],w=e.cacher?.get(p,D);if(w)return u?.tick(),{version:w};let v;const _=Pa(r[d]),R=_?on.gitTags:a,P=_?"github urls":e.packageManager||"npm",M=R[D];if(!M){const j=xoe.filter(N=>N in R);qe(e,n.red(`
506
506
  Unsupported target "${D}" using ${P}`)+`
507
507
  Supported version targets are: `+j.join(", ")+(_?"":", and tags (e.g. @next)"),{color:!1})}try{v=await M(p,g,{...e,distTag:b,pre:e.pre!=null?e.pre:E.startsWith("@")||nu(g),retry:e.retry??2}),v.version=!_&&f&&v?.version?PS(p,v.version):v?.version??null}catch(j){const N=j?(j.message||j).toString():"";if(N.match(/E404|ENOTFOUND|404 Not Found/i))return{error:`${N.replace(/ - Not found$/i,"")}. All ${e.retry} retry attempts failed. Either your internet connection is down, the registry is inaccessible, the authentication credentials are invalid, or the package does not exist.`};throw!process.env.NCU_TESTS&&/(Response|network) timeout/i.test(N)&&console.error(`
508
508
 
509
509
  `+n.red("FetchError: Request Timeout. npm-registry-fetch defaults to 30000 (30 seconds). Try setting the --timeout option (in milliseconds) to override this.")+`
510
- `),j}return u?.tick(),v.version&&e.cacher?.set(p,D,v.version),v}const l=await KW(o,c,{concurrency:e.concurrency});return await e.cacher?.save(),e.cacher?.log(),qe(l,(d,f)=>d.version||d.error?{[o[f]]:d}:null)}function Toe(r,e){for(var t=-1,s=e.length,n=r.length;++t<s;)r[n+t]=e[t];return r}var Boe=Toe,Ioe=am,Poe=nh,Loe="[object Arguments]";function koe(r){return Poe(r)&&Ioe(r)==Loe}var Noe=koe,pA=Noe,Moe=nh,Fx=Object.prototype,joe=Fx.hasOwnProperty,Uoe=Fx.propertyIsEnumerable,Hoe=pA(function(){return arguments}())?pA:function(r){return Moe(r)&&joe.call(r,"callee")&&!Uoe.call(r,"callee")},Goe=Hoe,gA=sh,Woe=Goe,zoe=uo,mA=gA?gA.isConcatSpreadable:void 0;function qoe(r){return zoe(r)||Woe(r)||!!(mA&&r&&r[mA])}var Voe=qoe,Yoe=Boe,Koe=Voe;function $x(r,e,t,s,n){var o=-1,a=r.length;for(t||(t=Koe),n||(n=[]);++o<a;){var u=r[o];e>0&&t(u)?e>1?$x(u,e-1,t,s,n):Yoe(n,u):s||(n[n.length]=u)}return n}var Xoe=$x,Zoe=Xoe;function Joe(r){var e=r==null?0:r.length;return e?Zoe(r,1):[]}var Qoe=Joe,eae=R1,yA=Math.max;function tae(r,e,t){return e=yA(e===void 0?r.length-1:e,0),function(){for(var s=arguments,n=-1,o=yA(s.length-e,0),a=Array(o);++n<o;)a[n]=s[e+n];n=-1;for(var u=Array(e+1);++n<e;)u[n]=s[n];return u[e]=t(a),eae(r,this,u)}}var rae=tae,iae=Qoe,sae=rae,nae=sR;function oae(r){return nae(sae(r,void 0,iae),r+"")}var aae=oae,DA=B1,uae=aae,cae=T1,E0=Q$,lae=uo,EA=tR,hae="Expected a function",fae=8,dae=32,pae=128,gae=256;function mae(r){return uae(function(e){var t=e.length,s=t,n=DA.prototype.thru;for(r&&e.reverse();s--;){var o=e[s];if(typeof o!="function")throw new TypeError(hae);if(n&&!a&&E0(o)=="wrapper")var a=new DA([],!0)}for(s=a?s:t;++s<t;){o=e[s];var u=E0(o),c=u=="wrapper"?cae(o):void 0;c&&EA(c[0])&&c[1]==(pae|fae|dae|gae)&&!c[4].length&&c[9]==1?a=a[E0(c[0])].apply(a,c[3]):a=o.length==1&&EA(o)?a[u]():a.thru(o)}return function(){var l=arguments,h=l[0];if(a&&l.length==1&&lae(h))return a.plant(h).value();for(var d=0,f=t?e[d].apply(this,l):h;++d<t;)f=e[d].call(this,f);return f}})}var yae=mae,Dae=yae,Eae=Dae(),bae=Eae;const wae=Qe(bae);function vae(r){if(Object.keys(r).length===0)return null;const e=Object.values(r).reduce((n,o)=>{const a=$S.find(u=>o&&o.includes(u));return a!==void 0&&(n[a]||=[],n[a].push(o)),n},{}),t=Object.entries(e).map(([n,o])=>({wildcard:n,instances:o})),s=mh(t,n=>-n.instances.length);return s.length>0?s[0].wildcard:null}function _ae(r,e,{downgrade:t}={}){if(!gt.validRange(r)||Em(r))return!1;const[s]=Jr.parseRange(r);if(!s)throw new Error(`"${r}" could not be parsed by semver-utils. This is probably a bug. Please file an issue at https://github.com/raineorshine/npm-check-updates.`);const n=_m(e),o=Jn(s),a=!!gt.validRange(o),u=!!gt.valid(n);return a&&u&&(!_P(n,o)||!gt.satisfies(n,s.operator==="<"?r:o)&&(t||!gt.ltr(n,o)))}function Aae(r,e,t={}){const s=t.target||"latest";r=un(r,(a,u)=>!!u);const n=vae(r)||FS,o=(a,u)=>LS(a,u,{wildcard:n,removeRange:t.removeRange});return wae([a=>Qa(a,(u,c)=>c in e),a=>Object.entries(a).reduce((u,[c,l])=>{const h=e[c];let d=null,f=null;if(ll(l)&&(d=Ha(l)[1]),ll(h)&&(f=Ha(h)[1]),Pa(l)){const p=k0(l),[g]=ei(p);d=Jn(g)}if(Pa(h)){const p=k0(h),[g]=ei(p);f=Jn(g)}return u[c]={current:l,currentParsed:d,latest:h,latestParsed:f},u},{}),a=>Qa(a,({current:u,currentParsed:c,latest:l,latestParsed:h},d)=>{const f=nu(u)&&(typeof s=="string"?s:s(d,ei(u))).startsWith("@");return _ae(c||u,h||l,{downgrade:f})}),a=>Object.entries(a).reduce((u,[c,{current:l,currentParsed:h,latest:d,latestParsed:f}])=>{const p=o(h||l,f||d);return u[c]=ll(l)?FP(l,p):Pa(l)?yh(l,p):p,u},{})])(r)}async function Lu(r,e){const t=await Ooe(r,e),s=qe(t,(u,c)=>c?.version&&(!e.filterResults||e.filterResults(u,{currentVersion:r[u],currentVersionSemver:ei(r[u]),upgradedVersion:c.version,upgradedVersionSemver:ym(c.version)}))?{[u]:c.version}:null),n=Aae(r,s,e),o=Qa(n,(u,c)=>!e.jsonUpgraded||!e.minimal||!gt.satisfies(s[c],r[c])),a=Qa(s,(u,c)=>o[c]);if(e.peer&&Object.keys(a).length>0){const u=await Cx(a,e),c={...e.peerDependencies,...u};if(!Zn(e.peerDependencies,c)){const[l,h,d]=await Lu({...r,...o},{...e,peerDependencies:c,loglevel:"silent"});return[{...o,...l},{...t,...h},d]}}return[o,t,e.peerDependencies]}async function Sae(r){ge(r,`
510
+ `),j}return u?.tick(),v.version&&e.cacher?.set(p,D,v.version),v}const l=await KW(o,c,{concurrency:e.concurrency});return await e.cacher?.save(),e.cacher?.log(),He(l,(d,f)=>d.version||d.error?{[o[f]]:d}:null)}function Toe(r,e){for(var t=-1,s=e.length,n=r.length;++t<s;)r[n+t]=e[t];return r}var Boe=Toe,Ioe=am,Poe=nh,Loe="[object Arguments]";function koe(r){return Poe(r)&&Ioe(r)==Loe}var Noe=koe,pA=Noe,Moe=nh,Fx=Object.prototype,joe=Fx.hasOwnProperty,Uoe=Fx.propertyIsEnumerable,Hoe=pA(function(){return arguments}())?pA:function(r){return Moe(r)&&joe.call(r,"callee")&&!Uoe.call(r,"callee")},Goe=Hoe,gA=sh,Woe=Goe,zoe=uo,mA=gA?gA.isConcatSpreadable:void 0;function qoe(r){return zoe(r)||Woe(r)||!!(mA&&r&&r[mA])}var Voe=qoe,Yoe=Boe,Koe=Voe;function $x(r,e,t,s,n){var o=-1,a=r.length;for(t||(t=Koe),n||(n=[]);++o<a;){var u=r[o];e>0&&t(u)?e>1?$x(u,e-1,t,s,n):Yoe(n,u):s||(n[n.length]=u)}return n}var Xoe=$x,Zoe=Xoe;function Joe(r){var e=r==null?0:r.length;return e?Zoe(r,1):[]}var Qoe=Joe,eae=R1,yA=Math.max;function tae(r,e,t){return e=yA(e===void 0?r.length-1:e,0),function(){for(var s=arguments,n=-1,o=yA(s.length-e,0),a=Array(o);++n<o;)a[n]=s[e+n];n=-1;for(var u=Array(e+1);++n<e;)u[n]=s[n];return u[e]=t(a),eae(r,this,u)}}var rae=tae,iae=Qoe,sae=rae,nae=sR;function oae(r){return nae(sae(r,void 0,iae),r+"")}var aae=oae,DA=B1,uae=aae,cae=T1,E0=Q$,lae=uo,EA=tR,hae="Expected a function",fae=8,dae=32,pae=128,gae=256;function mae(r){return uae(function(e){var t=e.length,s=t,n=DA.prototype.thru;for(r&&e.reverse();s--;){var o=e[s];if(typeof o!="function")throw new TypeError(hae);if(n&&!a&&E0(o)=="wrapper")var a=new DA([],!0)}for(s=a?s:t;++s<t;){o=e[s];var u=E0(o),c=u=="wrapper"?cae(o):void 0;c&&EA(c[0])&&c[1]==(pae|fae|dae|gae)&&!c[4].length&&c[9]==1?a=a[E0(c[0])].apply(a,c[3]):a=o.length==1&&EA(o)?a[u]():a.thru(o)}return function(){var l=arguments,h=l[0];if(a&&l.length==1&&lae(h))return a.plant(h).value();for(var d=0,f=t?e[d].apply(this,l):h;++d<t;)f=e[d].call(this,f);return f}})}var yae=mae,Dae=yae,Eae=Dae(),bae=Eae;const wae=Qe(bae);function vae(r){if(Object.keys(r).length===0)return null;const e=Object.values(r).reduce((n,o)=>{const a=$S.find(u=>o&&o.includes(u));return a!==void 0&&(n[a]||=[],n[a].push(o)),n},{}),t=Object.entries(e).map(([n,o])=>({wildcard:n,instances:o})),s=mh(t,n=>-n.instances.length);return s.length>0?s[0].wildcard:null}function _ae(r,e,{downgrade:t}={}){if(!gt.validRange(r)||Em(r))return!1;const[s]=Jr.parseRange(r);if(!s)throw new Error(`"${r}" could not be parsed by semver-utils. This is probably a bug. Please file an issue at https://github.com/raineorshine/npm-check-updates.`);const n=_m(e),o=Jn(s),a=!!gt.validRange(o),u=!!gt.valid(n);return a&&u&&(!_P(n,o)||!gt.satisfies(n,s.operator==="<"?r:o)&&(t||!gt.ltr(n,o)))}function Aae(r,e,t={}){const s=t.target||"latest";r=un(r,(a,u)=>!!u);const n=vae(r)||FS,o=(a,u)=>LS(a,u,{wildcard:n,removeRange:t.removeRange});return wae([a=>Qa(a,(u,c)=>c in e),a=>Object.entries(a).reduce((u,[c,l])=>{const h=e[c];let d=null,f=null;if(ll(l)&&(d=Ha(l)[1]),ll(h)&&(f=Ha(h)[1]),Pa(l)){const p=k0(l),[g]=ei(p);d=Jn(g)}if(Pa(h)){const p=k0(h),[g]=ei(p);f=Jn(g)}return u[c]={current:l,currentParsed:d,latest:h,latestParsed:f},u},{}),a=>Qa(a,({current:u,currentParsed:c,latest:l,latestParsed:h},d)=>{const f=nu(u)&&(typeof s=="string"?s:s(d,ei(u))).startsWith("@");return _ae(c||u,h||l,{downgrade:f})}),a=>Object.entries(a).reduce((u,[c,{current:l,currentParsed:h,latest:d,latestParsed:f}])=>{const p=o(h||l,f||d);return u[c]=ll(l)?FP(l,p):Pa(l)?yh(l,p):p,u},{})])(r)}async function Lu(r,e){const t=await Ooe(r,e),s=He(t,(u,c)=>c?.version&&(!e.filterResults||e.filterResults(u,{currentVersion:r[u],currentVersionSemver:ei(r[u]),upgradedVersion:c.version,upgradedVersionSemver:ym(c.version)}))?{[u]:c.version}:null),n=Aae(r,s,e),o=Qa(n,(u,c)=>!e.jsonUpgraded||!e.minimal||!gt.satisfies(s[c],r[c])),a=Qa(s,(u,c)=>o[c]);if(e.peer&&Object.keys(a).length>0){const u=await Cx(a,e),c={...e.peerDependencies,...u};if(!Zn(e.peerDependencies,c)){const[l,h,d]=await Lu({...r,...o},{...e,peerDependencies:c,loglevel:"silent"});return[{...o,...l},{...t,...h},d]}}return[o,t,e.peerDependencies]}async function Sae(r){ge(r,`
511
511
  Options:`,"verbose"),bs(r,r,"verbose"),ge(r,`
512
- Getting installed packages`,"verbose");let e={};try{const{cli:u,cwd:c,filter:l,filterVersion:h,global:d,packageManager:f,prefix:p,reject:g,rejectVersion:m}=r;e=await Soe({cli:u,cwd:c,filter:l,filterVersion:h,global:d,packageManager:f,prefix:p,reject:g,rejectVersion:m})}catch(u){ze(r,u.message)}ge(r,"globalPackages:","verbose"),ge(r,e,"verbose"),ge(r,"","verbose"),ge(r,`Fetching ${r.target} versions`,"verbose");const[t,s]=await Lu(e,r);ge(r,s,"verbose");const n=qe(s,(u,c)=>c.time?{[u]:c.time}:null),o=Object.keys(t);await Cm(r,{current:e,upgraded:t,latest:s,total:o.length,time:n});const a=t?o.map(u=>u+"@"+t[u]).join(" "):"[package]";if(r.json)Am(r,t);else if(a.length){const u=r.packageManager==="yarn"?"yarn global upgrade":r.packageManager==="pnpm"?"pnpm -g add":r.packageManager==="bun"?"bun add -g":"npm -g install";ge(r,`
512
+ Getting installed packages`,"verbose");let e={};try{const{cli:u,cwd:c,filter:l,filterVersion:h,global:d,packageManager:f,prefix:p,reject:g,rejectVersion:m}=r;e=await Soe({cli:u,cwd:c,filter:l,filterVersion:h,global:d,packageManager:f,prefix:p,reject:g,rejectVersion:m})}catch(u){qe(r,u.message)}ge(r,"globalPackages:","verbose"),ge(r,e,"verbose"),ge(r,"","verbose"),ge(r,`Fetching ${r.target} versions`,"verbose");const[t,s]=await Lu(e,r);ge(r,s,"verbose");const n=He(s,(u,c)=>c.time?{[u]:c.time}:null),o=Object.keys(t);await Cm(r,{current:e,upgraded:t,latest:s,total:o.length,time:n});const a=t?o.map(u=>u+"@"+t[u]).join(" "):"[package]";if(r.json)Am(r,t);else if(a.length){const u=r.packageManager==="yarn"?"yarn global upgrade":r.packageManager==="pnpm"?"pnpm -g add":r.packageManager==="bun"?"bun add -g":"npm -g install";ge(r,`
513
513
  `+W.cyan("ncu")+` itself cannot upgrade global packages. Run the following to upgrade all global packages:
514
514
 
515
515
  `+W.cyan(`${u} `+a)+`
@@ -523,23 +523,23 @@ Getting installed packages`,"verbose");let e={};try{const{cli:u,cwd:c,filter:l,f
523
523
  `&&D++,E=D,m++}function P(){for(;D<g;){w();var O=c[D++];return O==='"'||O==="'"&&h?v($(O),"literal"):O==="{"?(v(void 0,"separator"),ie()):O==="["?(v(void 0,"separator"),ne()):O==="-"||O==="."||n(O)||h&&(O==="+"||O==="I"||O==="N")?v(x(),"literal"):O==="n"?(G("null"),v(null,"literal")):O==="t"?(G("true"),v(!0,"literal")):O==="f"?(G("false"),v(!1,"literal")):(D--,v(void 0))}}function M(){for(var O;D<g;){w();var L=c[D++];if(L==='"'||L==="'"&&h)return v($(L),"key");if(L==="{")return v(void 0,"separator"),ie();if(L==="[")return v(void 0,"separator"),ne();if(L==="."||n(L))return v(x(),"key");if(h&&e.isIdentifierStart(L)||L==="\\"&&c[D]==="u"){var K=D-1,O=S();return O===void 0?(D=K,v(void 0)):v(O,"key")}else return D--,v(void 0)}}function j(){for(w();D<g;){var O=c[D++];if(f(O))D--,v(void 0,"whitespace"),w(),D++,R(O),v(void 0,"newline"),w();else if(!p(O))if(O==="/"&&(h||d)&&(c[D]==="/"||c[D]==="*"))D--,v(void 0,"whitespace"),w(),D++,N(c[D++]==="*"),v(void 0,"comment"),w();else{D--;break}}return v(void 0,"whitespace")}function N(O){for(;D<g;){var L=c[D++];if(f(L)){if(!O){D--;return}R(L)}else if(L==="*"&&O&&c[D]==="/"){D++;return}}O&&_("Unclosed multiline comment")}function G(O){for(var L=D,K=O.length,ee=1;ee<K;ee++)(D>=g||O[ee]!=c[D])&&(D=L-1,_()),D++}function ie(){for(var O=l.null_prototype?Object.create(null):{},L={},K=!1;D<g;){j();var ee=M();j(),w();var pe=c[D++];if(v(void 0,"separator"),pe==="}"&&ee===void 0)return!h&&K&&(D--,_("Trailing comma in object")),O;if(pe===":"&&ee!==void 0){j(),b.push(ee);var ae=P();b.pop(),ae===void 0&&_("No value found for key "+ee),typeof ee!="string"&&(!h||typeof ee!="number")&&_("Wrong key type: "+ee),(ee in L||L[ee]!=null)&&l.reserved_keys!=="replace"?l.reserved_keys==="throw"&&_("Reserved key: "+ee):(typeof l.reviver=="function"&&(ae=l.reviver.call(null,ee,ae)),ae!==void 0&&(K=!0,Object.defineProperty(O,ee,{value:ae,enumerable:!0,configurable:!0,writable:!0}))),j(),w();var pe=c[D++];if(v(void 0,"separator"),pe===",")continue;if(pe==="}")return O;_()}else D--,_()}_()}function ne(){for(var O=[];D<g;){j(),b.push(O.length);var L=P();b.pop(),j(),w();var K=c[D++];if(v(void 0,"separator"),L!==void 0&&(typeof l.reviver=="function"&&(L=l.reviver.call(null,String(O.length),L)),L===void 0?(O.length++,L=!0):O.push(L)),K===",")L===void 0&&_("Elisions are not supported");else{if(K==="]")return!h&&L===void 0&&O.length&&(D--,_("Trailing comma in array")),O;D--,_()}}}function x(){D--;var O=D,L=c[D++],K=function(Ce){var le=c.substr(O,D-O);if(Ce)var me=parseInt(le.replace(/^0o?/,""),8);else var me=Number(le);if(Number.isNaN(me))D--,_('Bad numeric literal - "'+c.substr(O,D-O+1)+'"');else if(!h&&!le.match(/^-?(0|[1-9][0-9]*)(\.[0-9]+)?(e[+-]?[0-9]+)?$/i))D--,_('Non-json numeric literal - "'+c.substr(O,D-O+1)+'"');else return me};if((L==="-"||L==="+"&&h)&&(L=c[D++]),L==="N"&&h)return G("NaN"),NaN;if(L==="I"&&h)return G("Infinity"),K();if(L>="1"&&L<="9"){for(;D<g&&n(c[D]);)D++;L=c[D++]}if(L==="0"){L=c[D++];var ee=L==="o"||L==="O"||s(L),pe=L==="x"||L==="X";if(h&&(ee||pe)){for(;D<g&&(pe?t:s)(c[D]);)D++;var ae=1;return c[O]==="-"?(ae=-1,O++):c[O]==="+"&&O++,ae*K(ee)}}if(L==="."){for(;D<g&&n(c[D]);)D++;L=c[D++]}if(L==="e"||L==="E"){for(L=c[D++],(L==="-"||L==="+")&&D++;D<g&&n(c[D]);)D++;L=c[D++]}return D--,K()}function S(){D--;for(var O="";D<g;){var L=c[D++];if(L==="\\"&&c[D]==="u"&&t(c[D+1])&&t(c[D+2])&&t(c[D+3])&&t(c[D+4])&&(L=String.fromCharCode(parseInt(c.substr(D+1,4),16)),D+=5),O.length)if(e.isIdentifierPart(L))O+=L;else return D--,O;else if(e.isIdentifierStart(L))O+=L;else return}_()}function $(O){for(var L="";D<g;){var K=c[D++];if(K===O)return L;if(K==="\\")if(D>=g&&_(),K=c[D++],o[K]&&(h||K!="v"&&K!="'"))L+=o[K];else if(h&&f(K))R(K);else if(K==="u"||K==="x"&&h){for(var ee=K==="u"?4:2,pe=0;pe<ee;pe++)D>=g&&_(),t(c[D])||_("Bad escape sequence"),D++;L+=String.fromCharCode(parseInt(c.substr(D-ee,ee),16))}else if(h&&s(K)){if(K<"4"&&s(c[D])&&s(c[D+1]))var ae=3;else if(s(c[D]))var ae=2;else var ae=1;D+=ae-1,L+=String.fromCharCode(parseInt(c.substr(D-ae,ae),8))}else h?L+=K:(D--,_());else f(K)?_():(!h&&K.charCodeAt(0)<32&&(D--,_("Unexpected control character")),L+=K)}_()}j();var q=P();if(q!==void 0||D<g){if(j(),D>=g)return typeof l.reviver=="function"&&(q=l.reviver.call(null,"",q)),q;_()}else _(D?"No data, only a whitespace":"No data, empty input")}r.exports.parse=function(l,h){if(typeof h=="function"&&(h={reviver:h}),l!==void 0){typeof l!="string"&&(l=String(l)),h==null&&(h={}),h.reserved_keys==null&&(h.reserved_keys="ignore"),(h.reserved_keys==="throw"||h.reserved_keys==="ignore")&&h.null_prototype==null&&(h.null_prototype=!0);try{return u(l,h)}catch(f){if(f instanceof SyntaxError&&f.row!=null&&f.column!=null){var d=f;f=SyntaxError(d.message),f.column=d.column,f.row=d.row}throw f}}},r.exports.tokenize=function(l,h){h==null&&(h={}),h._tokenize=function(f){h._addstack&&f.stack.unshift.apply(f.stack,h._addstack),d.push(f)};var d=[];return d.data=r.exports.parse(l,h),d}}(w0)),w0.exports}var _0={},vA;function xx(){if(vA)return _0;vA=1;var r=Rx();(function(){}).name||Object.defineProperty(function(){}.constructor.prototype,"name",{get:function(){var o=this.toString().match(/^\s*function\s*(\S*)\s*\(/)[1];return Object.defineProperty(this,"name",{value:o}),o}});var e={0:"\\0",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",92:"\\\\"},t=Object.prototype.hasOwnProperty,s=/[\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/;function n(o,a,u,c){var l=a.mode==="json5"||!a.mode;function h(E,D){var b=a._prefix?a._prefix:"";if(!a.indent)return b+E;for(var w="",v=u+(D||0),_=0;_<v;_++)w+=a.indent;return b+w+E+(D?`
524
524
  `:"")}function d(E){if(a.quote_keys)return f(E);if(String(Number(E))==E&&E[0]!="-")return E;if(E=="")return f(E);for(var D="",b=0;b<E.length;b++){if(b>0){if(!r.isIdentifierPart(E[b]))return f(E)}else if(!r.isIdentifierStart(E[b]))return f(E);var w=E.charCodeAt(b);a.ascii?w<128?D+=E[b]:D+="\\u"+("0000"+w.toString(16)).slice(-4):s.exec(E[b])?D+="\\u"+("0000"+w.toString(16)).slice(-4):D+=E[b]}return D}function f(E){for(var D=a.quote,b=D.charCodeAt(0),w="",v=0;v<E.length;v++){var _=E.charCodeAt(v);if(_<16)_===0&&l?w+="\\0":_>=8&&_<=13&&(l||_!==11)?w+=e[_]:l?w+="\\x0"+_.toString(16):w+="\\u000"+_.toString(16);else if(_<32)l?w+="\\x"+_.toString(16):w+="\\u00"+_.toString(16);else if(_>=32&&_<128)_===47&&v&&E[v-1]==="<"?w+="\\"+E[v]:_===92?w+="\\\\":_===b?w+="\\"+D:w+=E[v];else if(a.ascii||r.isLineTerminator(E[v])||s.exec(E[v]))if(_<256)l?w+="\\x"+_.toString(16):w+="\\u00"+_.toString(16);else if(_<4096)w+="\\u0"+_.toString(16);else if(_<65536)w+="\\u"+_.toString(16);else throw Error("weird codepoint");else w+=E[v]}return D+w+D}function p(){if(o===null)return"null";var E=[],D=0,b;if(Array.isArray(o)){b="[]";for(var w=0;w<o.length;w++){var v=n(o[w],a,u+1,String(w));v===void 0&&(v="null"),D+=v.length+2,E.push(v+",")}}else{b="{}";var _=function(M){var j=n(o[M],a,u+1,M);j!==void 0&&(j=d(M)+":"+(a.indent?" ":"")+j+",",D+=j.length+1,E.push(j))};if(Array.isArray(a.replacer))for(var w=0;w<a.replacer.length;w++)t.call(o,a.replacer[w])&&_(a.replacer[w]);else{var R=Object.keys(o);a.sort_keys&&(R=R.sort(typeof a.sort_keys=="function"?a.sort_keys:void 0)),R.forEach(_)}}if(D-=2,a.indent&&(D>a._splitMax-u*a.indent.length||D>a._splitMin)){a.no_trailing_comma&&E.length&&(E[E.length-1]=E[E.length-1].substring(0,E[E.length-1].length-1));var P=E.map(function(M){return h(M,1)}).join("");return b[0]+(a.indent?`
525
525
  `:"")+P+h(b[1])}else{E.length&&(E[E.length-1]=E[E.length-1].substring(0,E[E.length-1].length-1));var P=E.join(a.indent?" ":"");return b[0]+P+b[1]}}function g(E){switch(typeof a.replacer=="function"&&(E=a.replacer.call(null,c,E)),typeof E){case"string":return f(E);case"number":return E===0&&1/E<0?"-0":!l&&!Number.isFinite(E)?"null":E.toString();case"boolean":return E.toString();case"undefined":return;case"function":default:return JSON.stringify(E)}}if(a._stringify_key)return d(o);if(typeof o=="object"){if(o===null)return"null";var m;return(typeof(m=o.toJSON5)=="function"&&a.mode!=="json"||typeof(m=o.toJSON)=="function")&&(o=m.call(o,c)),o===null?"null":typeof o!="object"?g(o):o.constructor===Number||o.constructor===Boolean||o.constructor===String?(o=o.valueOf(),g(o)):o.constructor===Date?g(o.toISOString()):typeof a.replacer=="function"&&(o=a.replacer.call(null,c,o),typeof o!="object")?g(o):p()}else return g(o)}return _0.stringify=function(a,u,c){return typeof u=="function"||Array.isArray(u)?u={replacer:u}:typeof u=="object"&&u!==null||(u={}),c!=null&&(u.indent=c),u.indent==null&&(u.indent=" "),u.quote==null&&(u.quote="'"),u.ascii==null&&(u.ascii=!1),u.mode==null&&(u.mode="json5"),(u.mode==="json"||u.mode==="cjson")&&(u.quote='"',u.no_trailing_comma=!0,u.quote_keys=!0),typeof u.indent=="object"&&(u.indent.constructor===Number||u.indent.constructor===Boolean||u.indent.constructor===String)&&(u.indent=u.indent.valueOf()),typeof u.indent=="number"?u.indent>=0?u.indent=Array(Math.min(~~u.indent,10)+1).join(" "):u.indent=!1:typeof u.indent=="string"&&(u.indent=u.indent.substr(0,10)),u._splitMin==null&&(u._splitMin=50),u._splitMax==null&&(u._splitMax=70),n(a,u,0,"")},_0}var al={},A0={},_A;function Ox(){if(_A)return A0;_A=1;var r=Ql().tokenize;return A0.analyze=function(t,s){s==null&&(s={}),Array.isArray(t)||(t=r(t,s));for(var n={has_whitespace:!1,has_comments:!1,has_newlines:!1,has_trailing_comma:!1,indent:"",newline:`
526
- `,quote:'"',quote_keys:!0},o={indent:{},newline:{},quote:{}},a=0;a<t.length;a++){if(t[a].type==="newline"){if(t[a+1]&&t[a+1].type==="whitespace"&&(t[a+1].raw[0]===" "&&(o.indent[" "]=(o.indent[" "]||0)+1),t[a+1].raw.match(/^\x20+$/))){var u=t[a+1].raw.length,c=t[a+1].stack.length+1;if(u%c===0){var l=Array(u/c+1).join(" ");o.indent[l]=(o.indent[l]||0)+1}}o.newline[t[a].raw]=(o.newline[t[a].raw]||0)+1}if(t[a].type==="newline"&&(n.has_newlines=!0),t[a].type==="whitespace"&&(n.has_whitespace=!0),t[a].type==="comment"&&(n.has_comments=!0),t[a].type==="key"&&t[a].raw[0]!=='"'&&t[a].raw[0]!=="'"&&(n.quote_keys=!1),(t[a].type==="key"||t[a].type==="literal")&&(t[a].raw[0]==='"'||t[a].raw[0]==="'")&&(o.quote[t[a].raw[0]]=(o.quote[t[a].raw[0]]||0)+1),t[a].type==="separator"&&t[a].raw===",")for(var h=a+1;h<t.length&&!(t[h].type==="literal"||t[h].type==="key");h++)t[h].type==="separator"&&(n.has_trailing_comma=!0)}for(var d in o)Object.keys(o[d]).length&&(n[d]=Object.keys(o[d]).reduce(function(f,p){return o[d][f]>o[d][p]?f:p}));return n},A0}var AA;function Cae(){if(AA)return al;AA=1;var r=zg,e=Ql().tokenize,t=xx().stringify,s=Ox().analyze;function n(g){return typeof g=="object"&&g!==null}function o(g,m,E,D,b){E=Object.create(E),E._stringify_key=!!D,b&&(E._prefix=b.prefix.map(function(_){return _.raw}).join("")),E._splitMin==null&&(E._splitMin=0),E._splitMax==null&&(E._splitMax=0);var w=t(g,E);if(D)return[{raw:w,type:"key",stack:m,value:g}];E._addstack=m;var v=e(w,{_addstack:m});return v.data=null,v}function a(g){if(typeof g=="number"&&(g=String(g)),g===""&&(g=[]),typeof g=="string"&&(g=g.split(".")),!Array.isArray(g))throw Error("Invalid path type, string or array expected");return g}function u(g,m,E,D,b){for(;E[D].stack[m]!=g;)if(D++>=b)return!1;for(;E[b].stack[m]!=g;)if(b--<D)return!1;return[D,b]}function c(g){return g==="whitespace"||g==="newline"||g==="comment"}function l(g,m,E){for(;c(g[m].type);)if(m++>=E)return!1;return m}function h(g,m,E){for(;c(g[E].type);)if(E--<m)return!1;return E}function d(g,m,E,D,b){var w={sep1:[],sep2:[],suffix:[],prefix:[],newline:[]};if(g[D].type==="separator"&&g[D].stack.length!==b+1&&g[D].raw!==","||(g[D].type==="separator"&&(D=h(g,E,D-1)),D===!1))return w;for(;g[D].stack.length>b;)D--;if(!m){for(;c(g[D].type);){if(D<E)return w;if(g[D].type==="whitespace")w.sep2.unshift(g[D]);else return w;D--}for(r.equal(g[D].type,"separator"),r.equal(g[D].raw,":");c(g[--D].type);){if(D<E)return w;if(g[D].type==="whitespace")w.sep1.unshift(g[D]);else return w}r.equal(g[D].type,"key"),D--}for(;c(g[D].type);){if(D<E)return w;if(g[D].type==="whitespace")w.prefix.unshift(g[D]);else return g[D].type==="newline"&&w.newline.unshift(g[D]),w;D--}return w}function f(g,m){var E=Object.create(f.prototype);m==null&&(m={});var D=E._tokens=e(g,m);E._data=D.data,D.data=null,E._options=m;var b=s(g,m);return m.indent==null&&(m.indent=b.indent),m.quote==null&&(m.quote=b.quote),m.quote_keys==null&&(m.quote_keys=b.quote_keys),m.no_trailing_comma==null&&(m.no_trailing_comma=!b.has_trailing_comma),E}function p(g,m,E){function D(b){return Error("You can't "+(E?"unset":"set")+" key '"+g+"'"+b)}if(!n(m))throw D(" of an non-object");if(Array.isArray(m))if(String(g).match(/^\d+$/)){if(g=Number(String(g)),m.length<g||E&&m.length===g)throw D(", out of bounds");if(E&&m.length!==g+1)throw D(" in the middle of an array");return!0}else throw D(" of an array");else return!0}return f.prototype.set=function(g,m){if(g=a(g),g.length===0){if(m===void 0)throw Error("can't remove root document");this._data=m;var E=!1}else{for(var D=this._data,b=0;b<g.length-1;b++)p(g[b],D,!1),D=D[g[b]];b===g.length-1&&p(g[b],D,m===void 0);var E=!(g[b]in D);m===void 0?Array.isArray(D)?D.pop():delete D[g[b]]:D[g[b]]=m}this._tokens.length||(this._tokens=[{raw:"",type:"literal",stack:[],value:void 0}]);for(var w=[l(this._tokens,0,this._tokens.length-1),h(this._tokens,0,this._tokens.length-1)],b=0;b<g.length-1;b++)if(w=u(g[b],b,this._tokens,w[0],w[1]),w==!1)throw Error("internal error, please report this");if(g.length===0)var v=o(m,g,this._options);else if(E){var M=g.slice(0,b),R=h(this._tokens,w[0]+1,w[1]-1);r(R!==!1);var P=R!==!1?d(this._tokens,Array.isArray(D),w[0]+1,R,b):{},v=o(m,g,this._options,!1,P),j=[];P.newline&&P.newline.length&&(j=j.concat(P.newline)),P.prefix&&P.prefix.length&&(j=j.concat(P.prefix)),Array.isArray(D)||(j=j.concat(o(g[g.length-1],M,this._options,!0)),P.sep1&&P.sep1.length&&(j=j.concat(P.sep1)),j.push({raw:":",type:"separator",stack:M}),P.sep2&&P.sep2.length&&(j=j.concat(P.sep2))),v.unshift.apply(v,j),this._tokens[R].type==="separator"&&this._tokens[R].stack.length===g.length-1?this._tokens[R].raw===","&&v.push({raw:",",type:"separator",stack:M}):v.unshift({raw:",",type:"separator",stack:M}),P.suffix&&P.suffix.length&&v.push.apply(v,P.suffix),r.equal(this._tokens[w[1]].type,"separator"),w[0]=R+1,w[1]=R}else{var _=w;if(w=u(g[b],b,this._tokens,w[0],w[1]),m===void 0&&w!==!1){var v=[];if(!Array.isArray(D)){var R=h(this._tokens,_[0],w[0]-1);r.equal(this._tokens[R].type,"separator"),r.equal(this._tokens[R].raw,":"),w[0]=R;var R=h(this._tokens,_[0],w[0]-1);r.equal(this._tokens[R].type,"key"),r.equal(this._tokens[R].value,g[g.length-1]),w[0]=R}var R=h(this._tokens,_[0],w[0]-1);r.equal(this._tokens[R].type,"separator"),this._tokens[R].raw===","?w[0]=R:(R=l(this._tokens,w[1]+1,_[1]),r.equal(this._tokens[R].type,"separator"),this._tokens[R].raw===","&&(w[1]=R))}else var P=R!==!1?d(this._tokens,Array.isArray(D),_[0],w[1]-1,b):{},v=o(m,g,this._options,!1,P)}return v.unshift(w[1]-w[0]+1),v.unshift(w[0]),this._tokens.splice.apply(this._tokens,v),this},f.prototype.unset=function(g){return this.set(g,void 0)},f.prototype.get=function(g){g=a(g);for(var m=this._data,E=0;E<g.length;E++){if(!n(m))return;m=m[g[E]]}return m},f.prototype.has=function(g){g=a(g);for(var m=this._data,E=0;E<g.length;E++){if(!n(m))return!1;m=m[g[E]]}return m!==void 0},f.prototype.update=function(g){var m=this;return E([],m._data,g),m;function E(D,b,w){if(!n(w)||!n(b))w!==b&&m.set(D,w);else if(Array.isArray(w)!=Array.isArray(b))m.set(D,w);else if(Array.isArray(w))if(w.length>b.length)for(var v=0;v<w.length;v++)D.push(String(v)),E(D,b[v],w[v]),D.pop();else for(var v=b.length-1;v>=0;v--)D.push(String(v)),E(D,b[v],w[v]),D.pop();else{for(var v in w)D.push(String(v)),E(D,b[v],w[v]),D.pop();for(var v in b)v in w||(D.push(String(v)),E(D,b[v],w[v]),D.pop())}}},f.prototype.toString=function(){return this._tokens.map(function(g){return g.raw}).join("")},al.Document=f,al.update=function(m,E,D){return f(m,D).update(E).toString()},al}function Fae(r){throw new Error('Could not dynamically require "'+r+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var wa={},SA;function $ae(){if(SA)return wa;SA=1;var r=lt,e=Wg();return wa.register=function(){var t=Fae,s="extensions";t[s][".json5"]=function(n,o){n.exports=e.parse(r.readFileSync(o,"utf8"))}},wa.patch_JSON_parse=function(){var t=JSON.parse;JSON.parse=function(s,n){try{return t(s,n)}catch(o){throw Wg().parse(s,{mode:"json",legacy:!0,reviver:n,reserved_keys:"replace",null_prototype:!1}),o}}},wa.middleware=function(){return function(t,s,n){throw Error("this function is removed, use express-json5 instead")}},wa}var CA;function Wg(){return CA||(CA=1,function(r){r.exports.__defineGetter__("parse",function(){return Ql().parse}),r.exports.__defineGetter__("stringify",function(){return xx().stringify}),r.exports.__defineGetter__("tokenize",function(){return Ql().tokenize}),r.exports.__defineGetter__("update",function(){return Cae().update}),r.exports.__defineGetter__("analyze",function(){return Ox().analyze}),r.exports.__defineGetter__("utils",function(){return $ae()})}(b0)),b0.exports}var Rae=Wg();function xae(r,e){try{return JSON.parse(r,e)}catch(t){throw Rae.parse(r,{mode:"json",reviver:e}),t}}Sl.parse=xae;const Oae=(r,e)=>gt.validRange(r)&&gt.validRange(e)&&gt.gt(gt.minVersion(r),gt.minVersion(e)),Tae=r=>{if(!r.packageManager)return{};const[e,t]=r.packageManager.split("@");return{[e]:t}};function Bae(r={},e={}){const s=M1(e.dep).reduce((a,u)=>({...a,...u==="packageManager"?Tae(r):un(r[u]||{},(c,l)=>!Oae(l,a[c]))}),{}),n=qe(e.workspacePackages||[]);return un(un(s,a=>!n[a]),Ax(e.filter||null,e.reject||null,e.filterVersion||null,e.rejectVersion||null))}async function Iae(r,e){const t=Pu(e,e.packageManager);if(!t.getEngines)return{};const s=Object.keys(r).length;let n;return!e.json&&e.loglevel!=="silent"&&e.loglevel!=="verbose"&&s>0&&(n=new _y("[:bar] :current/:total :percent",{total:s,width:20}),n.render()),Object.entries(r).reduce(async(o,[a,u])=>{const c=(await t.getEngines(a,u,e)).node;return n&&n.tick(),{...await o,[a]:c}},Promise.resolve({}))}const Pae=(r,e)=>!r||gt.satisfies(e,r);async function Lae(r,e,t={}){if(!t.nodeEngineVersion)return{};const s=gt.minVersion(t.nodeEngineVersion)?.version;if(!s)return{};const[n]=await Lu(r,{...t,enginesNode:!1,nodeEngineVersion:void 0,loglevel:"silent"}),o=await Iae(n,t);return Object.entries(n).filter(([a,u])=>e[a]!==u&&!Pae(o[a],s)).reduce((a,[u,c])=>({...a,[u]:{from:r[u],to:c,enginesNode:o[u]}}),{})}async function kae(r,e,t,s={}){const[n,o]=await Lu(r,{...s,peer:!1,peerDependencies:void 0,loglevel:"silent"});return Object.entries(n).filter(([a,u])=>e[a]!==u).reduce((a,[u,c])=>({...a,[u]:{from:r[u],to:c,reason:Object.entries(t).filter(([,l])=>l[u]!==void 0&&o[u]?.version&&!gt.satisfies(o[u].version,l[u])).reduce((l,[h,d])=>({...l,[h]:d[u]}),{})}}),{})}const FA=`
526
+ `,quote:'"',quote_keys:!0},o={indent:{},newline:{},quote:{}},a=0;a<t.length;a++){if(t[a].type==="newline"){if(t[a+1]&&t[a+1].type==="whitespace"&&(t[a+1].raw[0]===" "&&(o.indent[" "]=(o.indent[" "]||0)+1),t[a+1].raw.match(/^\x20+$/))){var u=t[a+1].raw.length,c=t[a+1].stack.length+1;if(u%c===0){var l=Array(u/c+1).join(" ");o.indent[l]=(o.indent[l]||0)+1}}o.newline[t[a].raw]=(o.newline[t[a].raw]||0)+1}if(t[a].type==="newline"&&(n.has_newlines=!0),t[a].type==="whitespace"&&(n.has_whitespace=!0),t[a].type==="comment"&&(n.has_comments=!0),t[a].type==="key"&&t[a].raw[0]!=='"'&&t[a].raw[0]!=="'"&&(n.quote_keys=!1),(t[a].type==="key"||t[a].type==="literal")&&(t[a].raw[0]==='"'||t[a].raw[0]==="'")&&(o.quote[t[a].raw[0]]=(o.quote[t[a].raw[0]]||0)+1),t[a].type==="separator"&&t[a].raw===",")for(var h=a+1;h<t.length&&!(t[h].type==="literal"||t[h].type==="key");h++)t[h].type==="separator"&&(n.has_trailing_comma=!0)}for(var d in o)Object.keys(o[d]).length&&(n[d]=Object.keys(o[d]).reduce(function(f,p){return o[d][f]>o[d][p]?f:p}));return n},A0}var AA;function Cae(){if(AA)return al;AA=1;var r=zg,e=Ql().tokenize,t=xx().stringify,s=Ox().analyze;function n(g){return typeof g=="object"&&g!==null}function o(g,m,E,D,b){E=Object.create(E),E._stringify_key=!!D,b&&(E._prefix=b.prefix.map(function(_){return _.raw}).join("")),E._splitMin==null&&(E._splitMin=0),E._splitMax==null&&(E._splitMax=0);var w=t(g,E);if(D)return[{raw:w,type:"key",stack:m,value:g}];E._addstack=m;var v=e(w,{_addstack:m});return v.data=null,v}function a(g){if(typeof g=="number"&&(g=String(g)),g===""&&(g=[]),typeof g=="string"&&(g=g.split(".")),!Array.isArray(g))throw Error("Invalid path type, string or array expected");return g}function u(g,m,E,D,b){for(;E[D].stack[m]!=g;)if(D++>=b)return!1;for(;E[b].stack[m]!=g;)if(b--<D)return!1;return[D,b]}function c(g){return g==="whitespace"||g==="newline"||g==="comment"}function l(g,m,E){for(;c(g[m].type);)if(m++>=E)return!1;return m}function h(g,m,E){for(;c(g[E].type);)if(E--<m)return!1;return E}function d(g,m,E,D,b){var w={sep1:[],sep2:[],suffix:[],prefix:[],newline:[]};if(g[D].type==="separator"&&g[D].stack.length!==b+1&&g[D].raw!==","||(g[D].type==="separator"&&(D=h(g,E,D-1)),D===!1))return w;for(;g[D].stack.length>b;)D--;if(!m){for(;c(g[D].type);){if(D<E)return w;if(g[D].type==="whitespace")w.sep2.unshift(g[D]);else return w;D--}for(r.equal(g[D].type,"separator"),r.equal(g[D].raw,":");c(g[--D].type);){if(D<E)return w;if(g[D].type==="whitespace")w.sep1.unshift(g[D]);else return w}r.equal(g[D].type,"key"),D--}for(;c(g[D].type);){if(D<E)return w;if(g[D].type==="whitespace")w.prefix.unshift(g[D]);else return g[D].type==="newline"&&w.newline.unshift(g[D]),w;D--}return w}function f(g,m){var E=Object.create(f.prototype);m==null&&(m={});var D=E._tokens=e(g,m);E._data=D.data,D.data=null,E._options=m;var b=s(g,m);return m.indent==null&&(m.indent=b.indent),m.quote==null&&(m.quote=b.quote),m.quote_keys==null&&(m.quote_keys=b.quote_keys),m.no_trailing_comma==null&&(m.no_trailing_comma=!b.has_trailing_comma),E}function p(g,m,E){function D(b){return Error("You can't "+(E?"unset":"set")+" key '"+g+"'"+b)}if(!n(m))throw D(" of an non-object");if(Array.isArray(m))if(String(g).match(/^\d+$/)){if(g=Number(String(g)),m.length<g||E&&m.length===g)throw D(", out of bounds");if(E&&m.length!==g+1)throw D(" in the middle of an array");return!0}else throw D(" of an array");else return!0}return f.prototype.set=function(g,m){if(g=a(g),g.length===0){if(m===void 0)throw Error("can't remove root document");this._data=m;var E=!1}else{for(var D=this._data,b=0;b<g.length-1;b++)p(g[b],D,!1),D=D[g[b]];b===g.length-1&&p(g[b],D,m===void 0);var E=!(g[b]in D);m===void 0?Array.isArray(D)?D.pop():delete D[g[b]]:D[g[b]]=m}this._tokens.length||(this._tokens=[{raw:"",type:"literal",stack:[],value:void 0}]);for(var w=[l(this._tokens,0,this._tokens.length-1),h(this._tokens,0,this._tokens.length-1)],b=0;b<g.length-1;b++)if(w=u(g[b],b,this._tokens,w[0],w[1]),w==!1)throw Error("internal error, please report this");if(g.length===0)var v=o(m,g,this._options);else if(E){var M=g.slice(0,b),R=h(this._tokens,w[0]+1,w[1]-1);r(R!==!1);var P=R!==!1?d(this._tokens,Array.isArray(D),w[0]+1,R,b):{},v=o(m,g,this._options,!1,P),j=[];P.newline&&P.newline.length&&(j=j.concat(P.newline)),P.prefix&&P.prefix.length&&(j=j.concat(P.prefix)),Array.isArray(D)||(j=j.concat(o(g[g.length-1],M,this._options,!0)),P.sep1&&P.sep1.length&&(j=j.concat(P.sep1)),j.push({raw:":",type:"separator",stack:M}),P.sep2&&P.sep2.length&&(j=j.concat(P.sep2))),v.unshift.apply(v,j),this._tokens[R].type==="separator"&&this._tokens[R].stack.length===g.length-1?this._tokens[R].raw===","&&v.push({raw:",",type:"separator",stack:M}):v.unshift({raw:",",type:"separator",stack:M}),P.suffix&&P.suffix.length&&v.push.apply(v,P.suffix),r.equal(this._tokens[w[1]].type,"separator"),w[0]=R+1,w[1]=R}else{var _=w;if(w=u(g[b],b,this._tokens,w[0],w[1]),m===void 0&&w!==!1){var v=[];if(!Array.isArray(D)){var R=h(this._tokens,_[0],w[0]-1);r.equal(this._tokens[R].type,"separator"),r.equal(this._tokens[R].raw,":"),w[0]=R;var R=h(this._tokens,_[0],w[0]-1);r.equal(this._tokens[R].type,"key"),r.equal(this._tokens[R].value,g[g.length-1]),w[0]=R}var R=h(this._tokens,_[0],w[0]-1);r.equal(this._tokens[R].type,"separator"),this._tokens[R].raw===","?w[0]=R:(R=l(this._tokens,w[1]+1,_[1]),r.equal(this._tokens[R].type,"separator"),this._tokens[R].raw===","&&(w[1]=R))}else var P=R!==!1?d(this._tokens,Array.isArray(D),_[0],w[1]-1,b):{},v=o(m,g,this._options,!1,P)}return v.unshift(w[1]-w[0]+1),v.unshift(w[0]),this._tokens.splice.apply(this._tokens,v),this},f.prototype.unset=function(g){return this.set(g,void 0)},f.prototype.get=function(g){g=a(g);for(var m=this._data,E=0;E<g.length;E++){if(!n(m))return;m=m[g[E]]}return m},f.prototype.has=function(g){g=a(g);for(var m=this._data,E=0;E<g.length;E++){if(!n(m))return!1;m=m[g[E]]}return m!==void 0},f.prototype.update=function(g){var m=this;return E([],m._data,g),m;function E(D,b,w){if(!n(w)||!n(b))w!==b&&m.set(D,w);else if(Array.isArray(w)!=Array.isArray(b))m.set(D,w);else if(Array.isArray(w))if(w.length>b.length)for(var v=0;v<w.length;v++)D.push(String(v)),E(D,b[v],w[v]),D.pop();else for(var v=b.length-1;v>=0;v--)D.push(String(v)),E(D,b[v],w[v]),D.pop();else{for(var v in w)D.push(String(v)),E(D,b[v],w[v]),D.pop();for(var v in b)v in w||(D.push(String(v)),E(D,b[v],w[v]),D.pop())}}},f.prototype.toString=function(){return this._tokens.map(function(g){return g.raw}).join("")},al.Document=f,al.update=function(m,E,D){return f(m,D).update(E).toString()},al}function Fae(r){throw new Error('Could not dynamically require "'+r+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var wa={},SA;function $ae(){if(SA)return wa;SA=1;var r=lt,e=Wg();return wa.register=function(){var t=Fae,s="extensions";t[s][".json5"]=function(n,o){n.exports=e.parse(r.readFileSync(o,"utf8"))}},wa.patch_JSON_parse=function(){var t=JSON.parse;JSON.parse=function(s,n){try{return t(s,n)}catch(o){throw Wg().parse(s,{mode:"json",legacy:!0,reviver:n,reserved_keys:"replace",null_prototype:!1}),o}}},wa.middleware=function(){return function(t,s,n){throw Error("this function is removed, use express-json5 instead")}},wa}var CA;function Wg(){return CA||(CA=1,function(r){r.exports.__defineGetter__("parse",function(){return Ql().parse}),r.exports.__defineGetter__("stringify",function(){return xx().stringify}),r.exports.__defineGetter__("tokenize",function(){return Ql().tokenize}),r.exports.__defineGetter__("update",function(){return Cae().update}),r.exports.__defineGetter__("analyze",function(){return Ox().analyze}),r.exports.__defineGetter__("utils",function(){return $ae()})}(b0)),b0.exports}var Rae=Wg();function xae(r,e){try{return JSON.parse(r,e)}catch(t){throw Rae.parse(r,{mode:"json",reviver:e}),t}}Sl.parse=xae;const Oae=(r,e)=>gt.validRange(r)&&gt.validRange(e)&&gt.gt(gt.minVersion(r),gt.minVersion(e)),Tae=r=>{if(!r.packageManager)return{};const[e,t]=r.packageManager.split("@");return{[e]:t}};function Bae(r={},e={}){const s=M1(e.dep).reduce((a,u)=>({...a,...u==="packageManager"?Tae(r):un(r[u]||{},(c,l)=>!Oae(l,a[c]))}),{}),n=He(e.workspacePackages||[]);return un(un(s,a=>!n[a]),Ax(e.filter||null,e.reject||null,e.filterVersion||null,e.rejectVersion||null))}async function Iae(r,e){const t=Pu(e,e.packageManager);if(!t.getEngines)return{};const s=Object.keys(r).length;let n;return!e.json&&e.loglevel!=="silent"&&e.loglevel!=="verbose"&&s>0&&(n=new _y("[:bar] :current/:total :percent",{total:s,width:20}),n.render()),Object.entries(r).reduce(async(o,[a,u])=>{const c=(await t.getEngines(a,u,e)).node;return n&&n.tick(),{...await o,[a]:c}},Promise.resolve({}))}const Pae=(r,e)=>!r||gt.satisfies(e,r);async function Lae(r,e,t={}){if(!t.nodeEngineVersion)return{};const s=gt.minVersion(t.nodeEngineVersion)?.version;if(!s)return{};const[n,o]=await Lu(r,{...t,enginesNode:!1,nodeEngineVersion:void 0,loglevel:"silent"}),a=He(o,(c,l)=>n[c]&&l?.version?{[c]:l.version}:null),u=await Iae(a,t);return Object.entries(n).filter(([c,l])=>e[c]!==l&&!Pae(u[c],s)).reduce((c,[l,h])=>({...c,[l]:{from:r[l],to:h,enginesNode:u[l]}}),{})}async function kae(r,e,t,s={}){const[n,o]=await Lu(r,{...s,peer:!1,peerDependencies:void 0,loglevel:"silent"});return Object.entries(n).filter(([a,u])=>e[a]!==u).reduce((a,[u,c])=>({...a,[u]:{from:r[u],to:c,reason:Object.entries(t).filter(([,l])=>l[u]!==void 0&&o[u]?.version&&!gt.satisfies(o[u].version,l[u])).reduce((l,[h,d])=>({...l,[h]:d[u]}),{})}}),{})}const FA=`
527
527
  ↑/↓: Select a package
528
528
  Space: Toggle selection
529
529
  a: Toggle all
530
- Enter: Upgrade`;async function Nae(r,e,t){const s=Pu(t,t.packageManager);return await Object.keys(e).reduce(async(n,o)=>{const a=r[o]||null,u=e[o]||null,c=await s.packageAuthorChanged(o,a,u,t);return{...await n,[o]:c}},{})}const Mae=async(r,e,t,s)=>{let n=[];const o=await N0({from:r,to:e,format:s.format,pkgFile:t||void 0}),a=qe(o.toString().split(`
530
+ Enter: Upgrade`;async function Nae(r,e,t){const s=Pu(t,t.packageManager);return await Object.keys(e).reduce(async(n,o)=>{const a=r[o]||null,u=e[o]||null,c=await s.packageAuthorChanged(o,a,u,t);return{...await n,[o]:c}},{})}const Mae=async(r,e,t,s)=>{let n=[];const o=await N0({from:r,to:e,format:s.format,pkgFile:t||void 0}),a=He(o.toString().split(`
531
531
  `),u=>({[u.trim().split(" ")[0]]:u.trim()}));if(Object.keys(e).length>0)if(ge(s,""),s.format?.includes("group")){const c=OS(e,r,s).flatMap(({heading:h,groupName:d,packages:f})=>[{title:`
532
532
  `+h,heading:!0},...Object.keys(f).sort().map(p=>({title:a[p],value:p,selected:["patch","minor"].includes(d)}))]);n=(await Cl({choices:[...c,{title:" ",heading:!0}],hint:FA,instructions:!1,message:"Choose which packages to update",name:"value",optionsPerPage:50,type:"multiselect",onState:h=>{h.aborted&&process.nextTick(()=>process.exit(1))}})).value}else{const u=Object.keys(e).sort().map(l=>({title:a[l],value:l,selected:!0}));n=(await Cl({choices:[...u,{title:" ",heading:!0}],hint:FA+`
533
- `,instructions:!1,message:"Choose which packages to update",name:"value",optionsPerPage:50,type:"multiselect",onState:l=>{l.aborted&&process.nextTick(()=>process.exit(1))}})).value}return qe(n,u=>({[u]:e[u]}))};async function $A(r,e,t){ge(r,`
534
- Options:`,"verbose"),bs(r,r,"verbose");let s;try{if(!e)ze(r,"Missing package data");else{const D=t?.endsWith(".jsonc")&&e?(await Promise.resolve().then(()=>require("./index-_DliZFxU.js"))).default(e):e;s=Sl.parse(D)}}catch(D){ze(r,`Invalid package file${t?`: ${t}`:" from stdin"}. Error details:
533
+ `,instructions:!1,message:"Choose which packages to update",name:"value",optionsPerPage:50,type:"multiselect",onState:l=>{l.aborted&&process.nextTick(()=>process.exit(1))}})).value}return He(n,u=>({[u]:e[u]}))};async function $A(r,e,t){ge(r,`
534
+ Options:`,"verbose"),bs(r,r,"verbose");let s;try{if(!e)qe(r,"Missing package data");else{const D=t?.endsWith(".jsonc")&&e?(await Promise.resolve().then(()=>require("./index-_DliZFxU.js"))).default(e):e;s=Sl.parse(D)}}catch(D){qe(r,`Invalid package file${t?`: ${t}`:" from stdin"}. Error details:
535
535
  ${D.message}`)}const n=Bae(s,r);ge(r,`
536
- Current versions:`,"verbose"),ge(r,n,"verbose"),r.enginesNode&&(r.nodeEngineVersion=s?.engines?.node),r.peer&&(r.peerDependencies=await Cx(Object.fromEntries(Object.entries(n).map(([D,b])=>[D,pt.validRange(b)?pt.minVersion(b)?.version??b:b])),r));const[o,a,u]=await Lu(n,r),c=qe(a,(D,b)=>b.version?{[D]:b.version}:null),l=qe(a,(D,b)=>b.error?{[D]:b.error}:null),h=qe(a,(D,b)=>b.time?{[D]:b.time}:null);r.peer&&(ge(r,`
536
+ Current versions:`,"verbose"),ge(r,n,"verbose"),r.enginesNode&&(r.nodeEngineVersion=s?.engines?.node),r.peer&&(r.peerDependencies=await Cx(Object.fromEntries(Object.entries(n).map(([D,b])=>[D,pt.validRange(b)?pt.minVersion(b)?.version??b:b])),r));const[o,a,u]=await Lu(n,r),c=He(a,(D,b)=>b.version?{[D]:b.version}:null),l=He(a,(D,b)=>b.error?{[D]:b.error}:null),h=He(a,(D,b)=>b.time?{[D]:b.time}:null);r.peer&&(ge(r,`
537
537
  upgradedPeerDependencies:`,"verbose"),ge(r,u,"verbose")),ge(r,`
538
538
  ${typeof r.target=="string"?`${r.target[0].toUpperCase()}${r.target.slice(1)}`:"Fetched"} versions:`,"verbose"),ge(r,c,"verbose"),ge(r,`
539
- Upgraded versions:`,"verbose"),ge(r,o,"verbose");const d=r.minimal?qe(o,(D,b)=>pt.satisfies(c[D],n[D])?null:{[D]:b}):o,f=(r.format||[]).includes("ownerChanged")?await Nae(n,d,r):void 0,p=r.interactive?await Mae(n,d,t,r):d;if(!r.json||r.deep){if(await Cm(r.interactive?{...r,format:(r.format||[]).filter(D=>D!=="group")}:r,{current:n,upgraded:p,total:Object.keys(o).length,latest:a,ownersChangedDeps:f,pkgFile:t||void 0,errors:l,time:h}),r.peer){const D=await kae(n,o,u,r);Object.keys(D).length>0&&BP(r,D)}if(r.enginesNode){const D=await Lae(n,o,r);Object.keys(D).length>0&&IP(r,D)}}const g=await fR(e,n,p,r),m=r.jsonAll?Sl.parse(g):r.jsonDeps?Roe(Sl.parse(g),M1(r.dep)):p;let E=Promise.resolve();if(r.json&&!r.deep&&Am(r,m),Object.keys(d).length>0&&t)if(r.upgrade)E=Pe.writeFile(t,g);else{const D=process.env.npm_lifecycle_event==="npx"?"npx npm-check-updates":"ncu",b=process.argv.slice(2).map(_=>_.includes(" ")?`"${_}"`:_).join(" "),w=b&&" "+b,v=`
539
+ Upgraded versions:`,"verbose"),ge(r,o,"verbose");const d=r.minimal?He(o,(D,b)=>pt.satisfies(c[D],n[D])?null:{[D]:b}):o,f=(r.format||[]).includes("ownerChanged")?await Nae(n,d,r):void 0,p=r.interactive?await Mae(n,d,t,r):d;if(!r.json||r.deep){if(await Cm(r.interactive?{...r,format:(r.format||[]).filter(D=>D!=="group")}:r,{current:n,upgraded:p,total:Object.keys(o).length,latest:a,ownersChangedDeps:f,pkgFile:t||void 0,errors:l,time:h}),r.peer){const D=await kae(n,o,u,r);Object.keys(D).length>0&&BP(r,D)}if(r.enginesNode){const D=await Lae(n,o,r);Object.keys(D).length>0&&IP(r,D)}}const g=await fR(e,n,p,r),m=r.jsonAll?Sl.parse(g):r.jsonDeps?Roe(Sl.parse(g),M1(r.dep)):p;let E=Promise.resolve();if(r.json&&!r.deep&&Am(r,m),Object.keys(d).length>0&&t)if(r.upgrade)E=Pe.writeFile(t,g);else{const D=process.env.npm_lifecycle_event==="npx"?"npx npm-check-updates":"ncu",b=process.argv.slice(2).map(_=>_.includes(" ")?`"${_}"`:_).join(" "),w=b&&" "+b,v=`
540
540
  Run ${W.cyan(`${D}${w} -u`)} to upgrade ${r.packageFile||"package.json"}`;ge(r,v)}return await E,m}process.env.INJECT_PROMPTS&&Cl.inject(JSON.parse(process.env.INJECT_PROMPTS));process.on("unhandledRejection",r=>{console.error(r)});const jae=r=>{r.global&&(process.env.VOLTA_HOME||process.env.PATH?.includes("\\Volta"))&&(ge(r,"It appears you are using Volta. `npm-check-updates --global` cannot be used with Volta because Volta has its own system for managing global packages which circumvents npm.\n\nIf you are still receiving this message after uninstalling Volta, ensure your PATH does not contain an entry for Volta and your shell profile does not define VOLTA_HOME. You may need to reboot for changes to your shell profile to take effect.","error"),process.exit(1))},RA=async(r,e)=>{if(r.packageManager==="staticRegistry")US({...r,packageManager:void 0});else if(r.packageManager!=="npm")return r.packageManager;const t=r.cwd??e?`${e}/..`:process.cwd();return await Ua(de.join(t,"pnpm-lock.yaml"))?"pnpm":"npm"},Tx=(r,e)=>{const t=r.length===1?{[r[0]]:e}:e;return Object.values(t).some(s=>Object.keys(s).length>0)},Uae=async(r,e,t)=>{if(t.install==="never"){ge(t,"");return}if(!Tx(r,e))return;const s=await RA(t,r[0]),n=`Run ${W.cyan(s+" install")}${r.length>1&&!t.workspace&&!t.workspaces?" in each project directory":""} to install new versions`,o=t.interactive&&(process.env.NCU_TESTS||!process.env.NCU_DOCTOR);let a;o&&t.install==="prompt"&&(ge(t,""),a=await Cl({type:"confirm",name:"value",message:`${n}?`,initial:!0,onState:u=>{u.aborted&&process.nextTick(()=>process.exit(1))}})),t.install==="always"||o&&a.value?(t.install==="always"&&ge(t,""),ge(t,"Installing dependencies..."),(t.workspaces||!!t.workspace?.length?["package.json"]:r).forEach(async l=>{const h=await RA(t,l),d=h+(process.platform==="win32"?".cmd":""),f=t.cwd||de.resolve(l,"..");let p="";try{await Ir(d,["install"],{stdout:g=>{p+=g},stderr:g=>{console.error(W.red(g.toString()))}},{cwd:f,env:{...process.env,...t.color!==!1?{FORCE_COLOR:!0}:null,...h==="pnpm"?{npm_config_strict_peer_dependencies:!1}:null}}),ge(t,p),ge(t,"Done")}catch(g){throw new Error(g?.message||g||p)}})):o||ge(t,`
541
- ${n}.`)};async function Hae(r,e){const[t,s]=await lne(r),n=t.map(u=>u.filepath),o=r.workspaces||!!r.workspace?.length;r.deep=r.deep||o||t.length>1;let a;if(r.global){const u=await Sae(r);return clearTimeout(e),u}else if(r.deep)a=await t.reduce(async(u,c)=>{const l=await u,h=await hx({packageFile:c.filepath,options:r});let d=h&&h.config?h.config:{};r.mergeConfig&&Object.keys(d).length&&(d=Vne(r,d));const f={...r,...d,packageFile:c.filepath,workspacePackages:s},{pkgData:p,pkgFile:g}=await Sg(f);return{...l,[f.cwd?de.relative(de.resolve(f.cwd),g).replace(/\\/g,"/"):g]:await $A(f,p,g)}},Promise.resolve({})),r.json&&Am(r,a);else{t.length===1&&t[0].filepath!==(r.packageFile||"package.json")&&(r.packageFile=t[0].filepath);const{pkgData:u,pkgFile:c}=await Sg(r);a=await $A(r,u,c)}return clearTimeout(e),r.errorLevel===2&&Tx(n,a)&&ze(r,`
542
- Dependencies not up-to-date`),r.upgrade&&(r.packageManager==="deno"?ge(r,""):await Uae(n,a,r)),a}async function Ay(r={},{cli:e}={}){const t=await zne(r,{cli:e});await om(t.color),jae(t),ge(t,"Initializing","verbose"),t.cacheClear&&await kP(t);let s,n=new Promise(()=>null);if(t.timeout){const o=typeof t.timeout=="string"?Number.parseInt(t.timeout,10):t.timeout;n=new Promise((a,u)=>{s=setTimeout(()=>{const c=`Exceeded global timeout of ${o}ms`;u(c);try{ze(t,c)}catch{}},o)})}if(t.doctor){if(t.upgrade)return Promise.race([n,bee(Ay,t)]);{const o=typeof As.doctor.help=="function"?As.doctor.help({}):As.doctor.help;ge(t,`Usage: ncu --doctor
541
+ ${n}.`)};async function Hae(r,e){const[t,s]=await lne(r),n=t.map(u=>u.filepath),o=r.workspaces||!!r.workspace?.length;r.deep=r.deep||o||t.length>1;let a;if(r.global){const u=await Sae(r);return clearTimeout(e),u}else if(r.deep)a=await t.reduce(async(u,c)=>{const l=await u,h=await hx({packageFile:c.filepath,options:r});let d=h&&h.config?h.config:{};r.mergeConfig&&Object.keys(d).length&&(d=Vne(r,d));const f={...r,...d,packageFile:c.filepath,workspacePackages:s},{pkgData:p,pkgFile:g}=await Sg(f);return{...l,[f.cwd?de.relative(de.resolve(f.cwd),g).replace(/\\/g,"/"):g]:await $A(f,p,g)}},Promise.resolve({})),r.json&&Am(r,a);else{t.length===1&&t[0].filepath!==(r.packageFile||"package.json")&&(r.packageFile=t[0].filepath);const{pkgData:u,pkgFile:c}=await Sg(r);a=await $A(r,u,c)}return clearTimeout(e),r.errorLevel===2&&Tx(n,a)&&qe(r,`
542
+ Dependencies not up-to-date`),r.upgrade&&(r.packageManager==="deno"?ge(r,""):await Uae(n,a,r)),a}async function Ay(r={},{cli:e}={}){const t=await zne(r,{cli:e});await om(t.color),jae(t),ge(t,"Initializing","verbose"),t.cacheClear&&await kP(t);let s,n=new Promise(()=>null);if(t.timeout){const o=typeof t.timeout=="string"?Number.parseInt(t.timeout,10):t.timeout;n=new Promise((a,u)=>{s=setTimeout(()=>{const c=`Exceeded global timeout of ${o}ms`;u(c);try{qe(t,c)}catch{}},o)})}if(t.doctor){if(t.upgrade)return Promise.race([n,bee(Ay,t)]);{const o=typeof As.doctor.help=="function"?As.doctor.help({}):As.doctor.help;ge(t,`Usage: ncu --doctor
543
543
 
544
544
  ${o}`,"warn")}}else return Promise.race([n,Hae(t,s)])}exports.chalkInit=om;exports.cliOptionsSorted=hl;exports.commonjsGlobal=fe;exports.default=Ay;exports.getDefaultExportFromCjs=Qe;exports.getNcuRc=hx;exports.isFullwidthCodePointExports=QA;exports.pickBy=Qa;exports.pkg=wg;exports.renderExtendedHelp=GP;exports.run=Ay;exports.semver=pt;
545
545
  //# sourceMappingURL=index.js.map