@prismatic-io/prism 7.0.3 → 7.0.4
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/lib/index.js +7 -7
- package/lib/run.js +3 -3
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/lib/run.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{createRequire as qI0} from"node:module";var QI0=Object.create;var{defineProperty:gWD,getPrototypeOf:VI0,getOwnPropertyNames:zI0}=Object;var KI0=Object.prototype.hasOwnProperty;var OgD=(Q,K,G)=>{G=Q!=null?QI0(VI0(Q)):{};const C=K||!Q||!Q.__esModule?gWD(G,"default",{value:Q,enumerable:!0}):G;for(let y of zI0(Q))if(!KI0.call(C,y))gWD(C,y,{get:()=>Q[y],enumerable:!0});return C};var r0=(Q,K)=>()=>(K||Q((K={exports:{}}).exports,K),K.exports);var So0=(Q,K)=>{for(var G in K)gWD(Q,G,{get:K[G],enumerable:!0,configurable:!0,set:(C)=>K[G]=()=>C})};var uo0=(Q,K)=>()=>(Q&&(K=Q(Q=0)),K);var i8=qI0(import.meta.url);var gC=r0((jgD)=>{Object.defineProperty(jgD,"__esModule",{value:!0});var WI0=(Q)=>{process.stdout.write(Q)},UI0=(Q)=>{process.stderr.write(Q)};jgD.default={stderr:UI0,stdout:WI0}});var Ej=r0((CgD)=>{async function AgD(Q){const K=await mWD.readFile(Q,"utf8");return JSON.parse(K)}var OI0=function(Q,K=!0){const G=LgD.readFileSync(Q,"utf8");return K?JSON.parse(G):G};async function jI0(Q){try{return await AgD(Q)}catch{}}var LI0=function(Q){return LgD.existsSync(Q)};Object.defineProperty(CgD,"__esModule",{value:!0});CgD.existsSync=CgD.safeReadJson=CgD.readJsonSync=CgD.readJson=CgD.fileExists=CgD.dirExists=void 0;var LgD=i8("node:fs"),mWD=i8("node:fs/promises"),HI0=async(Q)=>{let K;try{K=await mWD.stat(Q)}catch{throw new Error(`No directory found at ${Q}`)}if(!K.isDirectory())throw new Error(`${Q} exists but is not a directory`);return Q};CgD.dirExists=HI0;var MI0=async(Q)=>{let K;try{K=await mWD.stat(Q)}catch{throw new Error(`No file found at ${Q}`)}if(!K.isFile())throw new Error(`${Q} exists but is not a file`);return Q};CgD.fileExists=MI0;CgD.readJson=AgD;CgD.readJsonSync=OI0;CgD.safeReadJson=jI0;CgD.existsSync=LI0});var cB=r0((NgD)=>{var RI0=function(Q,K){return Object.entries(Q).reduce((G,[C,y])=>{if(K(y))G[C]=y;return G},{})},II0=function(Q){return Q.filter((K)=>Boolean(K))},yI0=function(Q,K){return Q.filter((G,C)=>{const y=K(G);return!Q.some((x,_)=>_>C&&K(x)===y)})},PI0=function(Q){if(!Q)return;return Q.at(-1)},dWD=function(Q,K){if(Q=Q===void 0?0:Q,K=K===void 0?0:K,Array.isArray(Q)&&Array.isArray(K)){if(Q.length===0&&K.length===0)return 0;const G=dWD(Q[0],K[0]);if(G!==0)return G;return dWD(Q.slice(1),K.slice(1))}if(Q<K)return-1;if(Q>K)return 1;return 0},wI0=function(Q,K){return Q.sort((G,C)=>dWD(K(G),K(C)))},SI0=function(Q){if(Q===void 0)return[];return Array.isArray(Q)?Q:[Q]},uI0=function(){return!["development","test"].includes("development")},fI0=function(Q,K){if(Q.length===0)return;return Q.reduce((G,C)=>{const y=K(C),x=K(G);return y>x?C:G})},vI0=function(Q,K){return Q.reduce((G,C)=>G+K(C),0)},bI0=function(Q){return Q?Q.charAt(0).toUpperCase()+Q.slice(1).toLowerCase():""},xI0=function(Q){return["1","true","y","yes"].includes(Q.toLowerCase())},kI0=function(Q){return!["0","false","n","no"].includes(Q.toLowerCase())},hI0=function(Q){return[...new Set(Q)].sort()},_I0=function(Q,K){return Object.entries(Q).reduce((G,[C,y])=>{return G[C]=K(y,C),G},{})},gI0=function(Q,K){return K.split(".").reduce((G,C)=>G?.[C],Q)},mI0=function(Q,K){return Object.fromEntries(Q.flatMap((G)=>Object.entries(gI0(G,K)??{})).reverse())};Object.defineProperty(NgD,"__esModule",{value:!0});NgD.mergeNestedObjects=NgD.mapValues=NgD.uniq=NgD.isNotFalsy=NgD.isTruthy=NgD.capitalize=NgD.sumBy=NgD.maxBy=NgD.isProd=NgD.castArray=NgD.sortBy=NgD.last=NgD.uniqBy=NgD.compact=NgD.pickBy=void 0;NgD.pickBy=RI0;NgD.compact=II0;NgD.uniqBy=yI0;NgD.last=PI0;NgD.sortBy=wI0;NgD.castArray=SI0;NgD.isProd=uI0;NgD.maxBy=fI0;NgD.sumBy=vI0;NgD.capitalize=bI0;NgD.isTruthy=xI0;NgD.isNotFalsy=kI0;NgD.uniq=hI0;NgD.mapValues=_I0;NgD.mergeNestedObjects=mI0});var PgD=r0((IgD)=>{var LR=function(Q){return(K={})=>({parse:async(G,C,y)=>G,...Q,...K,input:[],type:"option"})};Object.defineProperty(IgD,"__esModule",{value:!0});IgD.string=IgD.url=IgD.file=IgD.directory=IgD.integer=IgD.boolean=IgD.custom=void 0;var $y0=i8("node:url"),RgD=Ej(),Zy0=cB();IgD.custom=LR;IgD.boolean=LR({parse:async(Q)=>Boolean(Q)&&Zy0.isNotFalsy(Q)});IgD.integer=LR({async parse(Q,K,G){if(!/^-?\d+$/.test(Q))throw new Error(`Expected an integer but received: ${Q}`);const C=Number.parseInt(Q,10);if(G.min!==void 0&&C<G.min)throw new Error(`Expected an integer greater than or equal to ${G.min} but received: ${Q}`);if(G.max!==void 0&&C>G.max)throw new Error(`Expected an integer less than or equal to ${G.max} but received: ${Q}`);return C}});IgD.directory=LR({async parse(Q,K,G){if(G.exists)return RgD.dirExists(Q);return Q}});IgD.file=LR({async parse(Q,K,G){if(G.exists)return RgD.fileExists(Q);return Q}});IgD.url=LR({async parse(Q){try{return new $y0.URL(Q)}catch{throw new Error(`Expected a valid url but received: ${Q}`)}}});var Jy0=LR({});IgD.string=Jy0});var cWD=r0((_o0,wgD)=>{wgD.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var lWD=r0((go0,ugD)=>{var Ky0=function(Q,K){return(Q[0]-K[0])**2+(Q[1]-K[1])**2+(Q[2]-K[2])**2},jd=cWD(),SgD={};for(let Q of Object.keys(jd))SgD[jd[Q]]=Q;var z7={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};ugD.exports=z7;for(let Q of Object.keys(z7)){if(!("channels"in z7[Q]))throw new Error("missing channels property: "+Q);if(!("labels"in z7[Q]))throw new Error("missing channel labels property: "+Q);if(z7[Q].labels.length!==z7[Q].channels)throw new Error("channel and label counts mismatch: "+Q);const{channels:K,labels:G}=z7[Q];delete z7[Q].channels,delete z7[Q].labels,Object.defineProperty(z7[Q],"channels",{value:K}),Object.defineProperty(z7[Q],"labels",{value:G})}z7.rgb.hsl=function(Q){const K=Q[0]/255,G=Q[1]/255,C=Q[2]/255,y=Math.min(K,G,C),x=Math.max(K,G,C),_=x-y;let VD,OD;if(x===y)VD=0;else if(K===x)VD=(G-C)/_;else if(G===x)VD=2+(C-K)/_;else if(C===x)VD=4+(K-G)/_;if(VD=Math.min(VD*60,360),VD<0)VD+=360;const HD=(y+x)/2;if(x===y)OD=0;else if(HD<=0.5)OD=_/(x+y);else OD=_/(2-x-y);return[VD,OD*100,HD*100]};z7.rgb.hsv=function(Q){let K,G,C,y,x;const _=Q[0]/255,VD=Q[1]/255,OD=Q[2]/255,HD=Math.max(_,VD,OD),a=HD-Math.min(_,VD,OD),bD=function(ED){return(HD-ED)/6/a+0.5};if(a===0)y=0,x=0;else{if(x=a/HD,K=bD(_),G=bD(VD),C=bD(OD),_===HD)y=C-G;else if(VD===HD)y=0.3333333333333333+K-C;else if(OD===HD)y=0.6666666666666666+G-K;if(y<0)y+=1;else if(y>1)y-=1}return[y*360,x*100,HD*100]};z7.rgb.hwb=function(Q){const K=Q[0],G=Q[1];let C=Q[2];const y=z7.rgb.hsl(Q)[0],x=0.00392156862745098*Math.min(K,Math.min(G,C));return C=1-0.00392156862745098*Math.max(K,Math.max(G,C)),[y,x*100,C*100]};z7.rgb.cmyk=function(Q){const K=Q[0]/255,G=Q[1]/255,C=Q[2]/255,y=Math.min(1-K,1-G,1-C),x=(1-K-y)/(1-y)||0,_=(1-G-y)/(1-y)||0,VD=(1-C-y)/(1-y)||0;return[x*100,_*100,VD*100,y*100]};z7.rgb.keyword=function(Q){const K=SgD[Q];if(K)return K;let G=Infinity,C;for(let y of Object.keys(jd)){const x=jd[y],_=Ky0(Q,x);if(_<G)G=_,C=y}return C};z7.keyword.rgb=function(Q){return jd[Q]};z7.rgb.xyz=function(Q){let K=Q[0]/255,G=Q[1]/255,C=Q[2]/255;K=K>0.04045?((K+0.055)/1.055)**2.4:K/12.92,G=G>0.04045?((G+0.055)/1.055)**2.4:G/12.92,C=C>0.04045?((C+0.055)/1.055)**2.4:C/12.92;const y=K*0.4124+G*0.3576+C*0.1805,x=K*0.2126+G*0.7152+C*0.0722,_=K*0.0193+G*0.1192+C*0.9505;return[y*100,x*100,_*100]};z7.rgb.lab=function(Q){const K=z7.rgb.xyz(Q);let G=K[0],C=K[1],y=K[2];G/=95.047,C/=100,y/=108.883,G=G>0.008856?G**0.3333333333333333:7.787*G+0.13793103448275862,C=C>0.008856?C**0.3333333333333333:7.787*C+0.13793103448275862,y=y>0.008856?y**0.3333333333333333:7.787*y+0.13793103448275862;const x=116*C-16,_=500*(G-C),VD=200*(C-y);return[x,_,VD]};z7.hsl.rgb=function(Q){const K=Q[0]/360,G=Q[1]/100,C=Q[2]/100;let y,x,_;if(G===0)return _=C*255,[_,_,_];if(C<0.5)y=C*(1+G);else y=C+G-C*G;const VD=2*C-y,OD=[0,0,0];for(let HD=0;HD<3;HD++){if(x=K+0.3333333333333333*-(HD-1),x<0)x++;if(x>1)x--;if(6*x<1)_=VD+(y-VD)*6*x;else if(2*x<1)_=y;else if(3*x<2)_=VD+(y-VD)*(0.6666666666666666-x)*6;else _=VD;OD[HD]=_*255}return OD};z7.hsl.hsv=function(Q){const K=Q[0];let G=Q[1]/100,C=Q[2]/100,y=G;const x=Math.max(C,0.01);C*=2,G*=C<=1?C:2-C,y*=x<=1?x:2-x;const _=(C+G)/2,VD=C===0?2*y/(x+y):2*G/(C+G);return[K,VD*100,_*100]};z7.hsv.rgb=function(Q){const K=Q[0]/60,G=Q[1]/100;let C=Q[2]/100;const y=Math.floor(K)%6,x=K-Math.floor(K),_=255*C*(1-G),VD=255*C*(1-G*x),OD=255*C*(1-G*(1-x));switch(C*=255,y){case 0:return[C,OD,_];case 1:return[VD,C,_];case 2:return[_,C,OD];case 3:return[_,VD,C];case 4:return[OD,_,C];case 5:return[C,_,VD]}};z7.hsv.hsl=function(Q){const K=Q[0],G=Q[1]/100,C=Q[2]/100,y=Math.max(C,0.01);let x,_;_=(2-G)*C;const VD=(2-G)*y;return x=G*y,x/=VD<=1?VD:2-VD,x=x||0,_/=2,[K,x*100,_*100]};z7.hwb.rgb=function(Q){const K=Q[0]/360;let G=Q[1]/100,C=Q[2]/100;const y=G+C;let x;if(y>1)G/=y,C/=y;const _=Math.floor(6*K),VD=1-C;if(x=6*K-_,(_&1)!==0)x=1-x;const OD=G+x*(VD-G);let HD,a,bD;switch(_){default:case 6:case 0:HD=VD,a=OD,bD=G;break;case 1:HD=OD,a=VD,bD=G;break;case 2:HD=G,a=VD,bD=OD;break;case 3:HD=G,a=OD,bD=VD;break;case 4:HD=OD,a=G,bD=VD;break;case 5:HD=VD,a=G,bD=OD;break}return[HD*255,a*255,bD*255]};z7.cmyk.rgb=function(Q){const K=Q[0]/100,G=Q[1]/100,C=Q[2]/100,y=Q[3]/100,x=1-Math.min(1,K*(1-y)+y),_=1-Math.min(1,G*(1-y)+y),VD=1-Math.min(1,C*(1-y)+y);return[x*255,_*255,VD*255]};z7.xyz.rgb=function(Q){const K=Q[0]/100,G=Q[1]/100,C=Q[2]/100;let y,x,_;return y=K*3.2406+G*-1.5372+C*-0.4986,x=K*-0.9689+G*1.8758+C*0.0415,_=K*0.0557+G*-0.204+C*1.057,y=y>0.0031308?1.055*y**0.4166666666666667-0.055:y*12.92,x=x>0.0031308?1.055*x**0.4166666666666667-0.055:x*12.92,_=_>0.0031308?1.055*_**0.4166666666666667-0.055:_*12.92,y=Math.min(Math.max(0,y),1),x=Math.min(Math.max(0,x),1),_=Math.min(Math.max(0,_),1),[y*255,x*255,_*255]};z7.xyz.lab=function(Q){let K=Q[0],G=Q[1],C=Q[2];K/=95.047,G/=100,C/=108.883,K=K>0.008856?K**0.3333333333333333:7.787*K+0.13793103448275862,G=G>0.008856?G**0.3333333333333333:7.787*G+0.13793103448275862,C=C>0.008856?C**0.3333333333333333:7.787*C+0.13793103448275862;const y=116*G-16,x=500*(K-G),_=200*(G-C);return[y,x,_]};z7.lab.xyz=function(Q){const K=Q[0],G=Q[1],C=Q[2];let y,x,_;x=(K+16)/116,y=G/500+x,_=x-C/200;const VD=x**3,OD=y**3,HD=_**3;return x=VD>0.008856?VD:(x-0.13793103448275862)/7.787,y=OD>0.008856?OD:(y-0.13793103448275862)/7.787,_=HD>0.008856?HD:(_-0.13793103448275862)/7.787,y*=95.047,x*=100,_*=108.883,[y,x,_]};z7.lab.lch=function(Q){const K=Q[0],G=Q[1],C=Q[2];let y;if(y=Math.atan2(C,G)*360/2/Math.PI,y<0)y+=360;const _=Math.sqrt(G*G+C*C);return[K,_,y]};z7.lch.lab=function(Q){const K=Q[0],G=Q[1],y=Q[2]/360*2*Math.PI,x=G*Math.cos(y),_=G*Math.sin(y);return[K,x,_]};z7.rgb.ansi16=function(Q,K=null){const[G,C,y]=Q;let x=K===null?z7.rgb.hsv(Q)[2]:K;if(x=Math.round(x/50),x===0)return 30;let _=30+(Math.round(y/255)<<2|Math.round(C/255)<<1|Math.round(G/255));if(x===2)_+=60;return _};z7.hsv.ansi16=function(Q){return z7.rgb.ansi16(z7.hsv.rgb(Q),Q[2])};z7.rgb.ansi256=function(Q){const K=Q[0],G=Q[1],C=Q[2];if(K===G&&G===C){if(K<8)return 16;if(K>248)return 231;return Math.round((K-8)/247*24)+232}return 16+36*Math.round(K/255*5)+6*Math.round(G/255*5)+Math.round(C/255*5)};z7.ansi16.rgb=function(Q){let K=Q%10;if(K===0||K===7){if(Q>50)K+=3.5;return K=K/10.5*255,[K,K,K]}const G=(~~(Q>50)+1)*0.5,C=(K&1)*G*255,y=(K>>1&1)*G*255,x=(K>>2&1)*G*255;return[C,y,x]};z7.ansi256.rgb=function(Q){if(Q>=232){const x=(Q-232)*10+8;return[x,x,x]}Q-=16;let K;const G=Math.floor(Q/36)/5*255,C=Math.floor((K=Q%36)/6)/5*255,y=K%6/5*255;return[G,C,y]};z7.rgb.hex=function(Q){const G=(((Math.round(Q[0])&255)<<16)+((Math.round(Q[1])&255)<<8)+(Math.round(Q[2])&255)).toString(16).toUpperCase();return"000000".substring(G.length)+G};z7.hex.rgb=function(Q){const K=Q.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!K)return[0,0,0];let G=K[0];if(K[0].length===3)G=G.split("").map((VD)=>{return VD+VD}).join("");const C=parseInt(G,16),y=C>>16&255,x=C>>8&255,_=C&255;return[y,x,_]};z7.rgb.hcg=function(Q){const K=Q[0]/255,G=Q[1]/255,C=Q[2]/255,y=Math.max(Math.max(K,G),C),x=Math.min(Math.min(K,G),C),_=y-x;let VD,OD;if(_<1)VD=x/(1-_);else VD=0;if(_<=0)OD=0;else if(y===K)OD=(G-C)/_%6;else if(y===G)OD=2+(C-K)/_;else OD=4+(K-G)/_;return OD/=6,OD%=1,[OD*360,_*100,VD*100]};z7.hsl.hcg=function(Q){const K=Q[1]/100,G=Q[2]/100,C=G<0.5?2*K*G:2*K*(1-G);let y=0;if(C<1)y=(G-0.5*C)/(1-C);return[Q[0],C*100,y*100]};z7.hsv.hcg=function(Q){const K=Q[1]/100,G=Q[2]/100,C=K*G;let y=0;if(C<1)y=(G-C)/(1-C);return[Q[0],C*100,y*100]};z7.hcg.rgb=function(Q){const K=Q[0]/360,G=Q[1]/100,C=Q[2]/100;if(G===0)return[C*255,C*255,C*255];const y=[0,0,0],x=K%1*6,_=x%1,VD=1-_;let OD=0;switch(Math.floor(x)){case 0:y[0]=1,y[1]=_,y[2]=0;break;case 1:y[0]=VD,y[1]=1,y[2]=0;break;case 2:y[0]=0,y[1]=1,y[2]=_;break;case 3:y[0]=0,y[1]=VD,y[2]=1;break;case 4:y[0]=_,y[1]=0,y[2]=1;break;default:y[0]=1,y[1]=0,y[2]=VD}return OD=(1-G)*C,[(G*y[0]+OD)*255,(G*y[1]+OD)*255,(G*y[2]+OD)*255]};z7.hcg.hsv=function(Q){const K=Q[1]/100,G=Q[2]/100,C=K+G*(1-K);let y=0;if(C>0)y=K/C;return[Q[0],y*100,C*100]};z7.hcg.hsl=function(Q){const K=Q[1]/100,C=Q[2]/100*(1-K)+0.5*K;let y=0;if(C>0&&C<0.5)y=K/(2*C);else if(C>=0.5&&C<1)y=K/(2*(1-C));return[Q[0],y*100,C*100]};z7.hcg.hwb=function(Q){const K=Q[1]/100,G=Q[2]/100,C=K+G*(1-K);return[Q[0],(C-K)*100,(1-C)*100]};z7.hwb.hcg=function(Q){const K=Q[1]/100,C=1-Q[2]/100,y=C-K;let x=0;if(y<1)x=(C-y)/(1-y);return[Q[0],y*100,x*100]};z7.apple.rgb=function(Q){return[Q[0]/65535*255,Q[1]/65535*255,Q[2]/65535*255]};z7.rgb.apple=function(Q){return[Q[0]/255*65535,Q[1]/255*65535,Q[2]/255*65535]};z7.gray.rgb=function(Q){return[Q[0]/100*255,Q[0]/100*255,Q[0]/100*255]};z7.gray.hsl=function(Q){return[0,0,Q[0]]};z7.gray.hsv=z7.gray.hsl;z7.gray.hwb=function(Q){return[0,100,Q[0]]};z7.gray.cmyk=function(Q){return[0,0,0,Q[0]]};z7.gray.lab=function(Q){return[Q[0],0,0]};z7.gray.hex=function(Q){const K=Math.round(Q[0]/100*255)&255,C=((K<<16)+(K<<8)+K).toString(16).toUpperCase();return"000000".substring(C.length)+C};z7.rgb.gray=function(Q){return[(Q[0]+Q[1]+Q[2])/3/255*100]}});var vgD=r0((mo0,fgD)=>{var qy0=function(){const Q={},K=Object.keys(v8D);for(let G=K.length,C=0;C<G;C++)Q[K[C]]={distance:-1,parent:null};return Q},Wy0=function(Q){const K=qy0(),G=[Q];K[Q].distance=0;while(G.length){const C=G.pop(),y=Object.keys(v8D[C]);for(let x=y.length,_=0;_<x;_++){const VD=y[_],OD=K[VD];if(OD.distance===-1)OD.distance=K[C].distance+1,OD.parent=C,G.unshift(VD)}}return K},Uy0=function(Q,K){return function(G){return K(Q(G))}},Gy0=function(Q,K){const G=[K[Q].parent,Q];let C=v8D[K[Q].parent][Q],y=K[Q].parent;while(K[y].parent)G.unshift(K[y].parent),C=Uy0(v8D[K[y].parent][y],C),y=K[y].parent;return C.conversion=G,C},v8D=lWD();fgD.exports=function(Q){const K=Wy0(Q),G={},C=Object.keys(K);for(let y=C.length,x=0;x<y;x++){const _=C[x];if(K[_].parent===null)continue;G[_]=Gy0(_,K)}return G}});var pWD=r0((do0,bgD)=>{var Oy0=function(Q){const K=function(...G){const C=G[0];if(C===void 0||C===null)return C;if(C.length>1)G=C;return Q(G)};if("conversion"in Q)K.conversion=Q.conversion;return K},jy0=function(Q){const K=function(...G){const C=G[0];if(C===void 0||C===null)return C;if(C.length>1)G=C;const y=Q(G);if(typeof y==="object")for(let x=y.length,_=0;_<x;_++)y[_]=Math.round(y[_]);return y};if("conversion"in Q)K.conversion=Q.conversion;return K},iWD=lWD(),Hy0=vgD(),wu={},My0=Object.keys(iWD);My0.forEach((Q)=>{wu[Q]={},Object.defineProperty(wu[Q],"channels",{value:iWD[Q].channels}),Object.defineProperty(wu[Q],"labels",{value:iWD[Q].labels});const K=Hy0(Q);Object.keys(K).forEach((C)=>{const y=K[C];wu[Q][C]=jy0(y),wu[Q][C].raw=Oy0(y)})});bgD.exports=wu});var Ld=r0((co0,ggD)=>{var Ly0=function(){const Q=new Map,K={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};K.color.gray=K.color.blackBright,K.bgColor.bgGray=K.bgColor.bgBlackBright,K.color.grey=K.color.blackBright,K.bgColor.bgGrey=K.bgColor.bgBlackBright;for(let[G,C]of Object.entries(K)){for(let[y,x]of Object.entries(C))K[y]={open:`\x1B[${x[0]}m`,close:`\x1B[${x[1]}m`},C[y]=K[y],Q.set(x[0],x[1]);Object.defineProperty(K,G,{value:C,enumerable:!1})}return Object.defineProperty(K,"codes",{value:Q,enumerable:!1}),K.color.close="\x1B[39m",K.bgColor.close="\x1B[49m",Su(K.color,"ansi",()=>uu(xgD,"ansi16",b8D,!1)),Su(K.color,"ansi256",()=>uu(kgD,"ansi256",b8D,!1)),Su(K.color,"ansi16m",()=>uu(hgD,"rgb",_gD,!1)),Su(K.bgColor,"ansi",()=>uu(xgD,"ansi16",b8D,!0)),Su(K.bgColor,"ansi256",()=>uu(kgD,"ansi256",b8D,!0)),Su(K.bgColor,"ansi16m",()=>uu(hgD,"rgb",_gD,!0)),K},xgD=(Q,K)=>(...G)=>{return`\x1B[${Q(...G)+K}m`},kgD=(Q,K)=>(...G)=>{const C=Q(...G);return`\x1B[${38+K};5;${C}m`},hgD=(Q,K)=>(...G)=>{const C=Q(...G);return`\x1B[${38+K};2;${C[0]};${C[1]};${C[2]}m`},b8D=(Q)=>Q,_gD=(Q,K,G)=>[Q,K,G],Su=(Q,K,G)=>{Object.defineProperty(Q,K,{get:()=>{const C=G();return Object.defineProperty(Q,K,{value:C,enumerable:!0,configurable:!0}),C},enumerable:!0,configurable:!0})},nWD,uu=(Q,K,G,C)=>{if(nWD===void 0)nWD=pWD();const y=C?10:0,x={};for(let[_,VD]of Object.entries(nWD)){const OD=_==="ansi16"?"ansi":_;if(_===K)x[OD]=Q(G,y);else if(typeof VD==="object")x[OD]=Q(VD[K],y)}return x};Object.defineProperty(ggD,"exports",{enumerable:!0,get:Ly0})});var Ad=r0((lo0,mgD)=>{mgD.exports=(Q,K=process.argv)=>{const G=Q.startsWith("-")?"":Q.length===1?"-":"--",C=K.indexOf(G+Q),y=K.indexOf("--");return C!==-1&&(y===-1||C<y)}});var lgD=r0((io0,cgD)=>{var rWD=function(Q){if(Q===0)return!1;return{level:Q,hasBasic:!0,has256:Q>=2,has16m:Q>=3}},oWD=function(Q,K){if(mC===0)return 0;if(sq("color=16m")||sq("color=full")||sq("color=truecolor"))return 3;if(sq("color=256"))return 2;if(Q&&!K&&mC===void 0)return 0;const G=mC||0;if(wX.TERM==="dumb")return G;if(process.platform==="win32"){const C=Ay0.release().split(".");if(Number(C[0])>=10&&Number(C[2])>=10586)return Number(C[2])>=14931?3:2;return 1}if("CI"in wX){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((C)=>(C in wX))||wX.CI_NAME==="codeship")return 1;return G}if("TEAMCITY_VERSION"in wX)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(wX.TEAMCITY_VERSION)?1:0;if(wX.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in wX){const C=parseInt((wX.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(wX.TERM_PROGRAM){case"iTerm.app":return C>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(wX.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(wX.TERM))return 1;if("COLORTERM"in wX)return 1;return G},Cy0=function(Q){const K=oWD(Q,Q&&Q.isTTY);return rWD(K)},Ay0=i8("os"),dgD=i8("tty"),sq=Ad(),{env:wX}=process,mC;if(sq("no-color")||sq("no-colors")||sq("color=false")||sq("color=never"))mC=0;else if(sq("color")||sq("colors")||sq("color=true")||sq("color=always"))mC=1;if("FORCE_COLOR"in wX)if(wX.FORCE_COLOR==="true")mC=1;else if(wX.FORCE_COLOR==="false")mC=0;else mC=wX.FORCE_COLOR.length===0?1:Math.min(parseInt(wX.FORCE_COLOR,10),3);cgD.exports={supportsColor:Cy0,stdout:rWD(oWD(!0,dgD.isatty(1))),stderr:rWD(oWD(!0,dgD.isatty(2)))}});var pgD=r0((po0,igD)=>{var Ey0=(Q,K,G)=>{let C=Q.indexOf(K);if(C===-1)return Q;const y=K.length;let x=0,_="";do _+=Q.substr(x,C-x)+K+G,x=C+y,C=Q.indexOf(K,x);while(C!==-1);return _+=Q.substr(x),_},Ny0=(Q,K,G,C)=>{let y=0,x="";do{const _=Q[C-1]==="\r";x+=Q.substr(y,(_?C-1:C)-y)+K+(_?"\r\n":"\n")+G,y=C+1,C=Q.indexOf("\n",y)}while(C!==-1);return x+=Q.substr(y),x};igD.exports={stringReplaceAll:Ey0,stringEncaseCRLFWithFirstIndex:Ny0}});var agD=r0((no0,sgD)=>{var ogD=function(Q){const K=Q[0]==="u",G=Q[1]==="{";if(K&&!G&&Q.length===5||Q[0]==="x"&&Q.length===3)return String.fromCharCode(parseInt(Q.slice(1),16));if(K&&G)return String.fromCodePoint(parseInt(Q.slice(2,-1),16));return yy0.get(Q)||Q},Py0=function(Q,K){const G=[],C=K.trim().split(/\s*,\s*/g);let y;for(let x of C){const _=Number(x);if(!Number.isNaN(_))G.push(_);else if(y=x.match(Ry0))G.push(y[2].replace(Iy0,(VD,OD,HD)=>OD?ogD(OD):HD));else throw new Error(`Invalid Chalk template style argument: ${x} (in style '${Q}')`)}return G},wy0=function(Q){ngD.lastIndex=0;const K=[];let G;while((G=ngD.exec(Q))!==null){const C=G[1];if(G[2]){const y=Py0(C,G[2]);K.push([C].concat(y))}else K.push([C])}return K},rgD=function(Q,K){const G={};for(let y of K)for(let x of y.styles)G[x[0]]=y.inverse?null:x.slice(1);let C=Q;for(let[y,x]of Object.entries(G)){if(!Array.isArray(x))continue;if(!(y in C))throw new Error(`Unknown Chalk style: ${y}`);C=x.length>0?C[y](...x):C[y]}return C},Ty0=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,ngD=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Ry0=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Iy0=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,yy0=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);sgD.exports=(Q,K)=>{const G=[],C=[];let y=[];if(K.replace(Ty0,(x,_,VD,OD,HD,a)=>{if(_)y.push(ogD(_));else if(OD){const bD=y.join("");y=[],C.push(G.length===0?bD:rgD(Q,G)(bD)),G.push({inverse:VD,styles:wy0(OD)})}else if(HD){if(G.length===0)throw new Error("Found extraneous } in Chalk template literal");C.push(rgD(Q,G)(y.join(""))),y=[],G.pop()}else y.push(a)}),C.push(y.join("")),G.length>0){const x=`Chalk template literal is missing ${G.length} closing bracket${G.length===1?"":"s"} (\`}\`)`;throw new Error(x)}return C.join("")}});var CK=r0((ro0,JmD)=>{var k8D=function(Q){return FmD(Q)},Cd=Ld(),{stdout:aWD,stderr:tWD}=lgD(),{stringReplaceAll:Sy0,stringEncaseCRLFWithFirstIndex:uy0}=pgD(),{isArray:x8D}=Array,egD=["ansi","ansi","ansi256","ansi16m"],fu=Object.create(null),fy0=(Q,K={})=>{if(K.level&&!(Number.isInteger(K.level)&&K.level>=0&&K.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const G=aWD?aWD.level:0;Q.level=K.level===void 0?G:K.level};class DmD{constructor(Q){return FmD(Q)}}var FmD=(Q)=>{const K={};return fy0(K,Q),K.template=(...G)=>ZmD(K.template,...G),Object.setPrototypeOf(K,k8D.prototype),Object.setPrototypeOf(K.template,K),K.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},K.template.Instance=DmD,K.template};for(let[Q,K]of Object.entries(Cd))fu[Q]={get(){const G=h8D(this,eWD(K.open,K.close,this._styler),this._isEmpty);return Object.defineProperty(this,Q,{value:G}),G}};fu.visible={get(){const Q=h8D(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:Q}),Q}};var $mD=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let Q of $mD)fu[Q]={get(){const{level:K}=this;return function(...G){const C=eWD(Cd.color[egD[K]][Q](...G),Cd.color.close,this._styler);return h8D(this,C,this._isEmpty)}}};for(let Q of $mD){const K="bg"+Q[0].toUpperCase()+Q.slice(1);fu[K]={get(){const{level:G}=this;return function(...C){const y=eWD(Cd.bgColor[egD[G]][Q](...C),Cd.bgColor.close,this._styler);return h8D(this,y,this._isEmpty)}}}}var vy0=Object.defineProperties(()=>{},{...fu,level:{enumerable:!0,get(){return this._generator.level},set(Q){this._generator.level=Q}}}),eWD=(Q,K,G)=>{let C,y;if(G===void 0)C=Q,y=K;else C=G.openAll+Q,y=K+G.closeAll;return{open:Q,close:K,openAll:C,closeAll:y,parent:G}},h8D=(Q,K,G)=>{const C=(...y)=>{if(x8D(y[0])&&x8D(y[0].raw))return tgD(C,ZmD(C,...y));return tgD(C,y.length===1?""+y[0]:y.join(" "))};return Object.setPrototypeOf(C,vy0),C._generator=Q,C._styler=K,C._isEmpty=G,C},tgD=(Q,K)=>{if(Q.level<=0||!K)return Q._isEmpty?"":K;let G=Q._styler;if(G===void 0)return K;const{openAll:C,closeAll:y}=G;if(K.indexOf("\x1B")!==-1)while(G!==void 0)K=Sy0(K,G.close,G.open),G=G.parent;const x=K.indexOf("\n");if(x!==-1)K=uy0(K,y,C,x);return C+K+y},sWD,ZmD=(Q,...K)=>{const[G]=K;if(!x8D(G)||!x8D(G.raw))return K.join(" ");const C=K.slice(1),y=[G.raw[0]];for(let x=1;x<G.length;x++)y.push(String(C[x-1]).replace(/[{}\\]/g,"\\$&"),String(G.raw[x]));if(sWD===void 0)sWD=agD();return sWD(Q,y.join(""))};Object.defineProperties(k8D.prototype,fu);var _8D=k8D();_8D.supportsColor=aWD;_8D.stderr=k8D({level:tWD?tWD.level:0});_8D.stderr.supportsColor=tWD;JmD.exports=_8D});var XmD=r0((oo0,BmD)=>{BmD.exports=(Q)=>{if(typeof Q!=="string")throw new TypeError("Expected a string");return Q.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}});var DUD=r0((so0,VmD)=>{var YmD=i8("os"),by0=XmD(),QmD=/\s+at.*[(\s](.*)\)?/,xy0=/^(?:(?:(?:node|(?:(?:node:)?internal\/[\w/]*|.*node_modules\/(?:babel-polyfill|pirates)\/.*)?\w+)(?:\.js)?:\d+:\d+)|native)/,ky0=typeof YmD.homedir==="undefined"?"":YmD.homedir();VmD.exports=(Q,{pretty:K=!1,basePath:G}={})=>{const C=G&&new RegExp(`(at | \\()${by0(G)}`,"g");return Q.replace(/\\/g,"/").split("\n").filter((y)=>{const x=y.match(QmD);if(x===null||!x[1])return!0;const _=x[1];if(_.includes(".app/Contents/Resources/electron.asar")||_.includes(".app/Contents/Resources/default_app.asar"))return!1;return!xy0.test(_)}).filter((y)=>y.trim()!=="").map((y)=>{if(C)y=y.replace(C,"$1");if(K)y=y.replace(QmD,(x,_)=>x.replace(_,_.replace(ky0,"~")));return y}).join("\n")}});var g8D=r0((ao0,zmD)=>{zmD.exports=(Q,K=1,G)=>{if(G={indent:" ",includeEmptyLines:!1,...G},typeof Q!=="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof Q}\``);if(typeof K!=="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof K}\``);if(typeof G.indent!=="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof G.indent}\``);if(K===0)return Q;const C=G.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return Q.replace(C,G.indent.repeat(K))}});var qmD=r0((to0,KmD)=>{KmD.exports=({onlyFirst:Q=!1}={})=>{const K=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(K,Q?void 0:"g")}});var Nj=r0((eo0,WmD)=>{var hy0=qmD();WmD.exports=(Q)=>typeof Q==="string"?Q.replace(hy0(),""):Q});var $UD=r0((Ds0,FUD)=>{var UmD=(Q)=>{if(Number.isNaN(Q))return!1;if(Q>=4352&&(Q<=4447||Q===9001||Q===9002||11904<=Q&&Q<=12871&&Q!==12351||12880<=Q&&Q<=19903||19968<=Q&&Q<=42182||43360<=Q&&Q<=43388||44032<=Q&&Q<=55203||63744<=Q&&Q<=64255||65040<=Q&&Q<=65049||65072<=Q&&Q<=65131||65281<=Q&&Q<=65376||65504<=Q&&Q<=65510||110592<=Q&&Q<=110593||127488<=Q&&Q<=127569||131072<=Q&&Q<=262141))return!0;return!1};FUD.exports=UmD;FUD.exports.default=UmD});var HmD=r0((Fs0,GmD)=>{GmD.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}});var vu=r0(($s0,ZUD)=>{var _y0=Nj(),gy0=$UD(),my0=HmD(),MmD=(Q)=>{if(typeof Q!=="string"||Q.length===0)return 0;if(Q=_y0(Q),Q.length===0)return 0;Q=Q.replace(my0()," ");let K=0;for(let G=0;G<Q.length;G++){const C=Q.codePointAt(G);if(C<=31||C>=127&&C<=159)continue;if(C>=768&&C<=879)continue;if(C>65535)G++;K+=gy0(C)?2:1}return K};ZUD.exports=MmD;ZUD.exports.default=MmD});var d8D=r0((Zs0,LmD)=>{var Ed=vu(),dy0=Nj(),cy0=Ld(),m8D=new Set(["\x1B","\x9B"]),OmD=(Q)=>`${m8D.values().next().value}[${Q}m`,jmD=(Q)=>`${m8D.values().next().value}]8;;${Q}${"\x07"}`,ly0=(Q)=>Q.split(" ").map((K)=>Ed(K)),JUD=(Q,K,G)=>{const C=[...K];let y=!1,x=!1,_=Ed(dy0(Q[Q.length-1]));for(let[VD,OD]of C.entries()){const HD=Ed(OD);if(_+HD<=G)Q[Q.length-1]+=OD;else Q.push(OD),_=0;if(m8D.has(OD))y=!0,x=C.slice(VD+1).join("").startsWith("]8;;");if(y){if(x){if(OD==="\x07")y=!1,x=!1}else if(OD==="m")y=!1;continue}if(_+=HD,_===G&&VD<C.length-1)Q.push(""),_=0}if(!_&&Q[Q.length-1].length>0&&Q.length>1)Q[Q.length-2]+=Q.pop()},iy0=(Q)=>{const K=Q.split(" ");let G=K.length;while(G>0){if(Ed(K[G-1])>0)break;G--}if(G===K.length)return Q;return K.slice(0,G).join(" ")+K.slice(G).join("")},py0=(Q,K,G={})=>{if(G.trim!==!1&&Q.trim()==="")return"";let C="",y,x;const _=ly0(Q);let VD=[""];for(let[HD,a]of Q.split(" ").entries()){if(G.trim!==!1)VD[VD.length-1]=VD[VD.length-1].trimStart();let bD=Ed(VD[VD.length-1]);if(HD!==0){if(bD>=K&&(G.wordWrap===!1||G.trim===!1))VD.push(""),bD=0;if(bD>0||G.trim===!1)VD[VD.length-1]+=" ",bD++}if(G.hard&&_[HD]>K){const ED=K-bD,XD=1+Math.floor((_[HD]-ED-1)/K);if(Math.floor((_[HD]-1)/K)<XD)VD.push("");JUD(VD,a,K);continue}if(bD+_[HD]>K&&bD>0&&_[HD]>0){if(G.wordWrap===!1&&bD<K){JUD(VD,a,K);continue}VD.push("")}if(bD+_[HD]>K&&G.wordWrap===!1){JUD(VD,a,K);continue}VD[VD.length-1]+=a}if(G.trim!==!1)VD=VD.map(iy0);const OD=[...VD.join("\n")];for(let[HD,a]of OD.entries()){if(C+=a,m8D.has(a)){const{groups:ED}=new RegExp(`(?:\\[(?<code>\\d+)m|\\]8;;(?<uri>.*)${"\x07"})`).exec(OD.slice(HD).join(""))||{groups:{}};if(ED.code!==void 0){const XD=Number.parseFloat(ED.code);y=XD===39?void 0:XD}else if(ED.uri!==void 0)x=ED.uri.length===0?void 0:ED.uri}const bD=cy0.codes.get(Number(y));if(OD[HD+1]==="\n"){if(x)C+=jmD("");if(y&&bD)C+=OmD(bD)}else if(a==="\n"){if(y&&bD)C+=OmD(y);if(x)C+=jmD(x)}}return C};LmD.exports=(Q,K,G)=>{return String(Q).normalize().replace(/\r\n/g,"\n").split("\n").map((C)=>py0(C,K,G)).join("\n")}});var AmD=r0((Js0,ny0)=>{ny0.exports={name:"@oclif/core",description:"base library for oclif CLIs",version:"3.26.0",author:"Salesforce",bugs:"https://github.com/oclif/core/issues",dependencies:{"@types/cli-progress":"^3.11.5","ansi-escapes":"^4.3.2","ansi-styles":"^4.3.0",cardinal:"^2.1.1",chalk:"^4.1.2","clean-stack":"^3.0.1","cli-progress":"^3.12.0",color:"^4.2.3",debug:"^4.3.4",ejs:"^3.1.9","get-package-type":"^0.1.0",globby:"^11.1.0",hyperlinker:"^1.0.0","indent-string":"^4.0.0","is-wsl":"^2.2.0","js-yaml":"^3.14.1",minimatch:"^9.0.3","natural-orderby":"^2.0.3","object-treeify":"^1.1.33","password-prompt":"^1.1.3","slice-ansi":"^4.0.0","string-width":"^4.2.3","strip-ansi":"^6.0.1","supports-color":"^8.1.1","supports-hyperlinks":"^2.2.0","widest-line":"^3.1.0",wordwrap:"^1.0.0","wrap-ansi":"^7.0.0"},devDependencies:{"@commitlint/config-conventional":"^17.8.1","@oclif/plugin-help":"^6","@oclif/plugin-plugins":"^4","@oclif/prettier-config":"^0.2.1","@oclif/test":"^3.2.1","@types/ansi-styles":"^3.2.1","@types/benchmark":"^2.1.5","@types/chai":"^4.3.11","@types/chai-as-promised":"^7.1.8","@types/clean-stack":"^2.1.1","@types/color":"^3.0.6","@types/debug":"^4.1.10","@types/ejs":"^3.1.5","@types/indent-string":"^4.0.1","@types/js-yaml":"^3.12.7","@types/mocha":"^10.0.6","@types/node":"^18","@types/node-notifier":"^8.0.5","@types/pnpapi":"^0.0.5","@types/slice-ansi":"^4.0.0","@types/strip-ansi":"^5.2.1","@types/supports-color":"^8.1.1","@types/wordwrap":"^1.0.3","@types/wrap-ansi":"^3.0.0",benchmark:"^2.1.4",chai:"^4.4.1","chai-as-promised":"^7.1.1",commitlint:"^17.8.1","cross-env":"^7.0.3",eslint:"^8.57.0","eslint-config-oclif":"^5.1.0","eslint-config-oclif-typescript":"^3.1.2","eslint-config-prettier":"^9.1.0","fancy-test":"^3.0.13",globby:"^11.1.0",husky:"^8","lint-staged":"^14.0.1",madge:"^6.1.0",mocha:"^10.3.0",nyc:"^15.1.0",prettier:"^3.2.5",shx:"^0.3.4",sinon:"^16.1.3","ts-node":"^10.9.2",tsd:"^0.30.6",typescript:"^5"},engines:{node:">=18.0.0"},files:["/lib","/flush.js","/flush.d.ts","/handle.js"],homepage:"https://github.com/oclif/core",keywords:["oclif","cli","command","command line","parser","args","argv"],license:"MIT",main:"./lib/index.js",repository:"oclif/core",oclif:{bin:"oclif",devPlugins:["@oclif/plugin-help","@oclif/plugin-plugins"]},publishConfig:{access:"public"},scripts:{build:"shx rm -rf lib && tsc",commitlint:"commitlint",compile:"tsc",format:"prettier --write \"+(src|test)/**/*.+(ts|js|json)\"",lint:"eslint . --ext .ts",posttest:"yarn lint && yarn test:circular-deps",prepack:"yarn run build",prepare:"husky install",pretest:"yarn build && tsc -p test --noEmit --skipLibCheck","test:circular-deps":"madge lib/ -c","test:debug":"nyc mocha --debug-brk --inspect \"test/**/*.test.ts\"","test:integration":"mocha --forbid-only \"test/**/*.integration.ts\" --parallel --timeout 1200000","test:interoperability":"cross-env DEBUG=integration:* ts-node test/integration/interop.ts","test:perf":"ts-node test/perf/parser.perf.ts",test:"nyc mocha --forbid-only \"test/**/*.test.ts\""},types:"lib/index.d.ts"}});var lU=r0((CmD)=>{var __dirname="/Users/treece/src/prismatic-io/prism/node_modules/@oclif/core/lib";Object.defineProperty(CmD,"__esModule",{value:!0});var ry0=i8("node:fs"),oy0=i8("node:path");class bu extends Map{static instance;constructor(){super();this.set("@oclif/core",this.getOclifCoreMeta())}static getInstance(){if(!bu.instance)bu.instance=new bu;return bu.instance}get(Q){return super.get(Q)}getOclifCoreMeta(){try{return{name:"@oclif/core",version:AmD().version}}catch{try{return{name:"@oclif/core",version:JSON.parse(ry0.readFileSync(oy0.join(__dirname,"..","package.json"),"utf8"))}}catch{return{name:"@oclif/core",version:"unknown"}}}}}CmD.default=bu});var dC=r0((EmD)=>{Object.defineProperty(EmD,"__esModule",{value:!0});EmD.settings=void 0;if(!global.oclif)global.oclif={};EmD.settings=global.oclif});var AR=r0((ImD)=>{var TmD=function(Q){if(!Q.isTTY)return 80;const K=Q.getWindowSize()[0];if(K<1)return 80;if(K<40)return 40;return K};Object.defineProperty(ImD,"__esModule",{value:!0});ImD.errtermwidth=ImD.stdtermwidth=void 0;var ay0=dC(),RmD=Number.parseInt(process.env.OCLIF_COLUMNS,10)||ay0.settings.columns;ImD.stdtermwidth=RmD||TmD(process.stdout);ImD.errtermwidth=RmD||TmD(process.stderr)});var XUD=r0((SmD)=>{var ZP0=function(Q){if(Q.endsWith("\n"))return Q.replace(/\n$/,"");return Q};Object.defineProperty(SmD,"__esModule",{value:!0});SmD.Logger=void 0;var PmD=i8("node:fs/promises"),ey0=i8("node:path"),DP0=Nj(),FP0=()=>(new Date()).toISOString(),BUD,$P0=(Q)=>new Promise((K)=>{if(BUD)BUD.unref();BUD=setTimeout(()=>K(null),Q)});class wmD{file;buffer=[];flushing=Promise.resolve();constructor(Q){this.file=Q}async flush(Q=0){await $P0(Q),this.flushing=this.flushing.then(async()=>{if(this.buffer.length===0)return;const K=this.buffer;this.buffer=[],await PmD.mkdir(ey0.dirname(this.file),{recursive:!0}),await PmD.appendFile(this.file,K.join("\n")+"\n")}),await this.flushing}log(Q){Q=DP0(ZP0(Q));const K=Q.split("\n").map((G)=>`${FP0()} ${G}`.trimEnd());this.buffer.push(...K),this.flush(50).catch(console.error)}}SmD.Logger=wmD});var CR=r0((fmD)=>{var BP0=function(){if(process.listenerCount("warning")>1)return;process.on("warning",(Q)=>{if(console.error(Q.stack),Q.detail)console.error(Q.detail)})};Object.defineProperty(fmD,"__esModule",{value:!0});fmD.config=void 0;var Nd=dC(),JP0=XUD();fmD.config={get debug(){return Boolean(Nd.settings.debug)},set debug(Q){if(Nd.settings.debug=Q,Q)BP0()},get errlog(){return Nd.settings.errlog},set errlog(Q){if(Q)this.errorLogger=new JP0.Logger(Q),Nd.settings.errlog=Q;else delete this.errorLogger,delete Nd.settings.errlog},errorLogger:void 0}});var ER=r0((Tj)=>{var xmD=function(Q,K){if(!("oclif"in Q))Q.oclif={};return Q.oclif.exit=K?.exit===void 0?QP0.default.getInstance().get("exitCodes")?.default??2:K.exit,Q},Td=Tj&&Tj.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(Tj,"__esModule",{value:!0});Tj.CLIError=Tj.addOclifExitCode=void 0;var bmD=Td(CK()),XP0=Td(DUD()),YUD=Td(g8D()),YP0=Td(d8D()),QP0=Td(lU()),VP0=AR(),zP0=CR();Tj.addOclifExitCode=xmD;class c8D extends Error{code;oclif={};skipOclifErrorHandling;suggestions;constructor(Q,K={}){super(Q instanceof Error?Q.message:Q);xmD(this,K),this.code=K.code,this.suggestions=K.suggestions}get bang(){try{return bmD.default.red(process.platform==="win32"?"\xBB":"\u203A")}catch{}}get stack(){return XP0.default(super.stack,{pretty:!0})}render(){if(zP0.config.debug)return this.stack;let Q=`${this.name}: ${this.message}`;return Q=YP0.default(Q,VP0.errtermwidth-6,{hard:!0,trim:!1}),Q=YUD.default(Q,3),Q=YUD.default(Q,1,{includeEmptyLines:!0,indent:this.bang}),Q=YUD.default(Q,1),Q}}Tj.CLIError=c8D;(function(Q){class K extends Q{constructor(G){super(G instanceof Error?G.message:G);this.name="Warning"}get bang(){try{return bmD.default.yellow(process.platform==="win32"?"\xBB":"\u203A")}catch{}}}Q.Warn=K})(c8D||(Tj.CLIError=c8D={}))});var l8D=r0((hmD)=>{Object.defineProperty(hmD,"__esModule",{value:!0});hmD.ExitError=void 0;var KP0=ER();class kmD extends KP0.CLIError{code="EEXIT";constructor(Q=1){super(`EEXIT: ${Q}`,{exit:Q})}render(){return""}}hmD.ExitError=kmD});var p8D=r0((NR)=>{var GP0=function(Q,K){const G=["message","code","ref","suggestions"];for(let C of G)if(!(C in Q)&&K[C])Q[C]=K[C];return Q},MP0=function(Q){if(UP0.config.debug)return Q.stack;const{bang:K,code:G,message:C,name:y,ref:x,suggestions:_}=Q,VD=C?`${y||"Error"}: ${C}`:void 0,OD=G?`Code: ${G}`:void 0,HD=HP0(_),a=x?`Reference: ${x}`:void 0,bD=[VD,OD,HD,a].filter(Boolean).join("\n");let ED=qP0.default(bD,WP0.errtermwidth-6,{hard:!0,trim:!1});return ED=i8D.default(ED,3),ED=i8D.default(ED,1,{includeEmptyLines:!0,indent:K||""}),ED=i8D.default(ED,1),ED},gmD=NR&&NR.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(NR,"__esModule",{value:!0});NR.applyPrettyPrintOptions=void 0;var i8D=gmD(g8D()),qP0=gmD(d8D()),WP0=AR(),UP0=CR();NR.applyPrettyPrintOptions=GP0;var HP0=(Q)=>{if(!Q||Q.length===0)return;if(Q.length===1)return`Try this: ${Q[0]}`;const G=Q.map((C)=>`* ${C}`).join("\n");return`Try this:\n${i8D.default(G,2)}`};NR.default=MP0});var QUD=r0((EK)=>{var lmD=function(Q,K={}){let G;if(typeof Q==="string")G=new dmD.CLIError(Q,K);else if(Q instanceof Error)G=dmD.addOclifExitCode(Q,K);else throw new TypeError("first argument must be a string or instance of Error");if(G=cmD.applyPrettyPrintOptions(G,K),K.exit===!1){const C=cmD.default(G);if(C)CP0.default.stderr(C+"\n");if(mmD.config.errorLogger)mmD.config.errorLogger.log(G?.stack??"")}else throw G},OP0=EK&&EK.__createBinding||(Object.create?function(Q,K,G,C){if(C===void 0)C=G;var y=Object.getOwnPropertyDescriptor(K,G);if(!y||("get"in y?!K.__esModule:y.writable||y.configurable))y={enumerable:!0,get:function(){return K[G]}};Object.defineProperty(Q,C,y)}:function(Q,K,G,C){if(C===void 0)C=G;Q[C]=K[G]}),jP0=EK&&EK.__setModuleDefault||(Object.create?function(Q,K){Object.defineProperty(Q,"default",{enumerable:!0,value:K})}:function(Q,K){Q.default=K}),LP0=EK&&EK.__importStar||function(Q){if(Q&&Q.__esModule)return Q;var K={};if(Q!=null){for(var G in Q)if(G!=="default"&&Object.prototype.hasOwnProperty.call(Q,G))OP0(K,Q,G)}return jP0(K,Q),K},AP0=EK&&EK.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(EK,"__esModule",{value:!0});EK.error=void 0;var CP0=AP0(gC()),mmD=CR(),dmD=ER(),cmD=LP0(p8D());EK.error=lmD;EK.default=lmD});var VUD=r0((pmD)=>{Object.defineProperty(pmD,"__esModule",{value:!0});pmD.ModuleLoadError=void 0;var EP0=ER();class imD extends EP0.CLIError{code="MODULE_NOT_FOUND";constructor(Q){super(`[MODULE_NOT_FOUND] ${Q}`,{exit:1});this.name="ModuleLoadError"}}pmD.ModuleLoadError=imD});var omD=r0((Gs0,rmD)=>{rmD.exports=function Q(K){if(!K||typeof K==="string")return!1;return K instanceof Array||Array.isArray(K)||K.length>=0&&(K.splice instanceof Function||Object.getOwnPropertyDescriptor(K,K.length-1)&&K.constructor.name!=="String")}});var tmD=r0((Hs0,amD)=>{var NP0=omD(),TP0=Array.prototype.concat,RP0=Array.prototype.slice,smD=amD.exports=function Q(K){var G=[];for(var C=0,y=K.length;C<y;C++){var x=K[C];if(NP0(x))G=TP0.call(G,RP0.call(x));else G.push(x)}return G};smD.wrap=function(Q){return function(){return Q(smD(arguments))}}});var $dD=r0((Ms0,FdD)=>{var cC=function(Q,K,G){return Math.min(Math.max(K,Q),G)},r8D=function(Q){var K=Math.round(Q).toString(16).toUpperCase();return K.length<2?"0"+K:K},Rd=cWD(),Id=tmD(),emD=Object.hasOwnProperty,DdD=Object.create(null);for(n8D in Rd)if(emD.call(Rd,n8D))DdD[Rd[n8D]]=n8D;var n8D,NK=FdD.exports={to:{},get:{}};NK.get=function(Q){var K=Q.substring(0,3).toLowerCase(),G,C;switch(K){case"hsl":G=NK.get.hsl(Q),C="hsl";break;case"hwb":G=NK.get.hwb(Q),C="hwb";break;default:G=NK.get.rgb(Q),C="rgb";break}if(!G)return null;return{model:C,value:G}};NK.get.rgb=function(Q){if(!Q)return null;var K=/^#([a-f0-9]{3,4})$/i,G=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,C=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,y=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,x=/^(\w+)$/,_=[0,0,0,1],VD,OD,HD;if(VD=Q.match(G)){HD=VD[2],VD=VD[1];for(OD=0;OD<3;OD++){var a=OD*2;_[OD]=parseInt(VD.slice(a,a+2),16)}if(HD)_[3]=parseInt(HD,16)/255}else if(VD=Q.match(K)){VD=VD[1],HD=VD[3];for(OD=0;OD<3;OD++)_[OD]=parseInt(VD[OD]+VD[OD],16);if(HD)_[3]=parseInt(HD+HD,16)/255}else if(VD=Q.match(C)){for(OD=0;OD<3;OD++)_[OD]=parseInt(VD[OD+1],0);if(VD[4])if(VD[5])_[3]=parseFloat(VD[4])*0.01;else _[3]=parseFloat(VD[4])}else if(VD=Q.match(y)){for(OD=0;OD<3;OD++)_[OD]=Math.round(parseFloat(VD[OD+1])*2.55);if(VD[4])if(VD[5])_[3]=parseFloat(VD[4])*0.01;else _[3]=parseFloat(VD[4])}else if(VD=Q.match(x)){if(VD[1]==="transparent")return[0,0,0,0];if(!emD.call(Rd,VD[1]))return null;return _=Rd[VD[1]],_[3]=1,_}else return null;for(OD=0;OD<3;OD++)_[OD]=cC(_[OD],0,255);return _[3]=cC(_[3],0,1),_};NK.get.hsl=function(Q){if(!Q)return null;var K=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,G=Q.match(K);if(G){var C=parseFloat(G[4]),y=(parseFloat(G[1])%360+360)%360,x=cC(parseFloat(G[2]),0,100),_=cC(parseFloat(G[3]),0,100),VD=cC(isNaN(C)?1:C,0,1);return[y,x,_,VD]}return null};NK.get.hwb=function(Q){if(!Q)return null;var K=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,G=Q.match(K);if(G){var C=parseFloat(G[4]),y=(parseFloat(G[1])%360+360)%360,x=cC(parseFloat(G[2]),0,100),_=cC(parseFloat(G[3]),0,100),VD=cC(isNaN(C)?1:C,0,1);return[y,x,_,VD]}return null};NK.to.hex=function(){var Q=Id(arguments);return"#"+r8D(Q[0])+r8D(Q[1])+r8D(Q[2])+(Q[3]<1?r8D(Math.round(Q[3]*255)):"")};NK.to.rgb=function(){var Q=Id(arguments);return Q.length<4||Q[3]===1?"rgb("+Math.round(Q[0])+", "+Math.round(Q[1])+", "+Math.round(Q[2])+")":"rgba("+Math.round(Q[0])+", "+Math.round(Q[1])+", "+Math.round(Q[2])+", "+Q[3]+")"};NK.to.rgb.percent=function(){var Q=Id(arguments),K=Math.round(Q[0]/255*100),G=Math.round(Q[1]/255*100),C=Math.round(Q[2]/255*100);return Q.length<4||Q[3]===1?"rgb("+K+"%, "+G+"%, "+C+"%)":"rgba("+K+"%, "+G+"%, "+C+"%, "+Q[3]+")"};NK.to.hsl=function(){var Q=Id(arguments);return Q.length<4||Q[3]===1?"hsl("+Q[0]+", "+Q[1]+"%, "+Q[2]+"%)":"hsla("+Q[0]+", "+Q[1]+"%, "+Q[2]+"%, "+Q[3]+")"};NK.to.hwb=function(){var Q=Id(arguments),K="";if(Q.length>=4&&Q[3]!==1)K=", "+Q[3];return"hwb("+Q[0]+", "+Q[1]+"%, "+Q[2]+"%"+K+")"};NK.to.keyword=function(Q){return DdD[Q.slice(0,3)]}});var BdD=r0((Os0,JdD)=>{var SX=function(Q,K){if(!(this instanceof SX))return new SX(Q,K);if(K&&K in ZdD)K=null;if(K&&!(K in TK))throw new Error("Unknown model: "+K);let G,C;if(Q==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(Q instanceof SX)this.model=Q.model,this.color=[...Q.color],this.valpha=Q.valpha;else if(typeof Q==="string"){const y=xu.get(Q);if(y===null)throw new Error("Unable to parse color from string: "+Q);this.model=y.model,C=TK[this.model].channels,this.color=y.value.slice(0,C),this.valpha=typeof y.value[C]==="number"?y.value[C]:1}else if(Q.length>0){this.model=K||"rgb",C=TK[this.model].channels;const y=Array.prototype.slice.call(Q,0,C);this.color=KUD(y,C),this.valpha=typeof Q[C]==="number"?Q[C]:1}else if(typeof Q==="number")this.model="rgb",this.color=[Q>>16&255,Q>>8&255,Q&255],this.valpha=1;else{this.valpha=1;const y=Object.keys(Q);if("alpha"in Q)y.splice(y.indexOf("alpha"),1),this.valpha=typeof Q.alpha==="number"?Q.alpha:0;const x=y.sort().join("");if(!(x in zUD))throw new Error("Unable to parse color from object: "+JSON.stringify(Q));this.model=zUD[x];const{labels:_}=TK[this.model],VD=[];for(G=0;G<_.length;G++)VD.push(Q[_[G]]);this.color=KUD(VD)}if(o8D[this.model]){C=TK[this.model].channels;for(G=0;G<C;G++){const y=o8D[this.model][G];if(y)this.color[G]=y(this.color[G])}}if(this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze)Object.freeze(this)},IP0=function(Q,K){return Number(Q.toFixed(K))},yP0=function(Q){return function(K){return IP0(K,Q)}},BJ=function(Q,K,G){Q=Array.isArray(Q)?Q:[Q];for(let C of Q)(o8D[C]||(o8D[C]=[]))[K]=G;return Q=Q[0],function(C){let y;if(C!==void 0){if(G)C=G(C);return y=this[Q](),y.color[K]=C,y}if(y=this[Q]().color[K],G)y=G(y);return y}},lB=function(Q){return function(K){return Math.max(0,Math.min(Q,K))}},PP0=function(Q){return Array.isArray(Q)?Q:[Q]},KUD=function(Q,K){for(let G=0;G<K;G++)if(typeof Q[G]!=="number")Q[G]=0;return Q},xu=$dD(),TK=pWD(),ZdD=["keyword","gray","hex"],zUD={};for(let Q of Object.keys(TK))zUD[[...TK[Q].labels].sort().join("")]=Q;var o8D={};SX.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(Q){let K=this.model in xu.to?this:this.rgb();K=K.round(typeof Q==="number"?Q:1);const G=K.valpha===1?K.color:[...K.color,this.valpha];return xu.to[K.model](G)},percentString(Q){const K=this.rgb().round(typeof Q==="number"?Q:1),G=K.valpha===1?K.color:[...K.color,this.valpha];return xu.to.rgb.percent(G)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){const Q={},{channels:K}=TK[this.model],{labels:G}=TK[this.model];for(let C=0;C<K;C++)Q[G[C]]=this.color[C];if(this.valpha!==1)Q.alpha=this.valpha;return Q},unitArray(){const Q=this.rgb().color;if(Q[0]/=255,Q[1]/=255,Q[2]/=255,this.valpha!==1)Q.push(this.valpha);return Q},unitObject(){const Q=this.rgb().object();if(Q.r/=255,Q.g/=255,Q.b/=255,this.valpha!==1)Q.alpha=this.valpha;return Q},round(Q){return Q=Math.max(Q||0,0),new SX([...this.color.map(yP0(Q)),this.valpha],this.model)},alpha(Q){if(Q!==void 0)return new SX([...this.color,Math.max(0,Math.min(1,Q))],this.model);return this.valpha},red:BJ("rgb",0,lB(255)),green:BJ("rgb",1,lB(255)),blue:BJ("rgb",2,lB(255)),hue:BJ(["hsl","hsv","hsl","hwb","hcg"],0,(Q)=>(Q%360+360)%360),saturationl:BJ("hsl",1,lB(100)),lightness:BJ("hsl",2,lB(100)),saturationv:BJ("hsv",1,lB(100)),value:BJ("hsv",2,lB(100)),chroma:BJ("hcg",1,lB(100)),gray:BJ("hcg",2,lB(100)),white:BJ("hwb",1,lB(100)),wblack:BJ("hwb",2,lB(100)),cyan:BJ("cmyk",0,lB(100)),magenta:BJ("cmyk",1,lB(100)),yellow:BJ("cmyk",2,lB(100)),black:BJ("cmyk",3,lB(100)),x:BJ("xyz",0,lB(95.047)),y:BJ("xyz",1,lB(100)),z:BJ("xyz",2,lB(108.833)),l:BJ("lab",0,lB(100)),a:BJ("lab",1),b:BJ("lab",2),keyword(Q){if(Q!==void 0)return new SX(Q);return TK[this.model].keyword(this.color)},hex(Q){if(Q!==void 0)return new SX(Q);return xu.to.hex(this.rgb().round().color)},hexa(Q){if(Q!==void 0)return new SX(Q);const K=this.rgb().round().color;let G=Math.round(this.valpha*255).toString(16).toUpperCase();if(G.length===1)G="0"+G;return xu.to.hex(K)+G},rgbNumber(){const Q=this.rgb().color;return(Q[0]&255)<<16|(Q[1]&255)<<8|Q[2]&255},luminosity(){const Q=this.rgb().color,K=[];for(let[G,C]of Q.entries()){const y=C/255;K[G]=y<=0.04045?y/12.92:((y+0.055)/1.055)**2.4}return 0.2126*K[0]+0.7152*K[1]+0.0722*K[2]},contrast(Q){const K=this.luminosity(),G=Q.luminosity();if(K>G)return(K+0.05)/(G+0.05);return(G+0.05)/(K+0.05)},level(Q){const K=this.contrast(Q);if(K>=7)return"AAA";return K>=4.5?"AA":""},isDark(){const Q=this.rgb().color;return(Q[0]*2126+Q[1]*7152+Q[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){const Q=this.rgb();for(let K=0;K<3;K++)Q.color[K]=255-Q.color[K];return Q},lighten(Q){const K=this.hsl();return K.color[2]+=K.color[2]*Q,K},darken(Q){const K=this.hsl();return K.color[2]-=K.color[2]*Q,K},saturate(Q){const K=this.hsl();return K.color[1]+=K.color[1]*Q,K},desaturate(Q){const K=this.hsl();return K.color[1]-=K.color[1]*Q,K},whiten(Q){const K=this.hwb();return K.color[1]+=K.color[1]*Q,K},blacken(Q){const K=this.hwb();return K.color[2]+=K.color[2]*Q,K},grayscale(){const Q=this.rgb().color,K=Q[0]*0.3+Q[1]*0.59+Q[2]*0.11;return SX.rgb(K,K,K)},fade(Q){return this.alpha(this.valpha-this.valpha*Q)},opaquer(Q){return this.alpha(this.valpha+this.valpha*Q)},rotate(Q){const K=this.hsl();let G=K.color[0];return G=(G+Q)%360,G=G<0?360+G:G,K.color[0]=G,K},mix(Q,K){if(!Q||!Q.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof Q);const G=Q.rgb(),C=this.rgb(),y=K===void 0?0.5:K,x=2*y-1,_=G.alpha()-C.alpha(),VD=((x*_===-1?x:(x+_)/(1+x*_))+1)/2,OD=1-VD;return SX.rgb(VD*G.red()+OD*C.red(),VD*G.green()+OD*C.green(),VD*G.blue()+OD*C.blue(),G.alpha()*y+C.alpha()*(1-y))}};for(let Q of Object.keys(TK)){if(ZdD.includes(Q))continue;const{channels:K}=TK[Q];SX.prototype[Q]=function(...G){if(this.model===Q)return new SX(this);if(G.length>0)return new SX(G,Q);return new SX([...PP0(TK[this.model][Q].raw(this.color)),this.valpha],Q)},SX[Q]=function(...G){let C=G[0];if(typeof C==="number")C=KUD(G,K);return new SX(C,Q)}}JdD.exports=SX});var QdD=r0((XdD)=>{Object.defineProperty(XdD,"__esModule",{value:!0});XdD.THEME_KEYS=XdD.STANDARD_CHALK=void 0;XdD.STANDARD_CHALK=["white","black","blue","yellow","green","red","magenta","cyan","gray","blackBright","redBright","greenBright","yellowBright","blueBright","magentaBright","cyanBright","whiteBright","bgBlack","bgRed","bgGreen","bgYellow","bgBlue","bgMagenta","bgCyan","bgWhite","bgGray","bgBlackBright","bgRedBright","bgGreenBright","bgYellowBright","bgBlueBright","bgMagentaBright","bgCyanBright","bgWhiteBright","bold","underline","dim","italic","strikethrough"];XdD.THEME_KEYS=["alias","bin","command","commandSummary","dollarSign","flag","flagDefaultValue","flagOptions","flagRequired","flagSeparator","sectionDescription","sectionHeader","topic","version"]});var TR=r0((YQ)=>{var zdD=function(Q){return xP0.STANDARD_CHALK.includes(Q)},kP0=function(Q,K){if(zdD(Q))return VdD.default[Q](K);return Q?VdD.default.hex(Q)(K):K},hP0=function(Q){return Object.fromEntries(Object.entries(Q).map(([K,G])=>[K,KdD(G)]).filter(([K,G])=>G))},KdD=function(Q){try{return zdD(Q)?Q:new bP0.default(Q).hex()}catch{}},SP0=YQ&&YQ.__createBinding||(Object.create?function(Q,K,G,C){if(C===void 0)C=G;var y=Object.getOwnPropertyDescriptor(K,G);if(!y||("get"in y?!K.__esModule:y.writable||y.configurable))y={enumerable:!0,get:function(){return K[G]}};Object.defineProperty(Q,C,y)}:function(Q,K,G,C){if(C===void 0)C=G;Q[C]=K[G]}),uP0=YQ&&YQ.__setModuleDefault||(Object.create?function(Q,K){Object.defineProperty(Q,"default",{enumerable:!0,value:K})}:function(Q,K){Q.default=K}),fP0=YQ&&YQ.__importStar||function(Q){if(Q&&Q.__esModule)return Q;var K={};if(Q!=null){for(var G in Q)if(G!=="default"&&Object.prototype.hasOwnProperty.call(Q,G))SP0(K,Q,G)}return uP0(K,Q),K},vP0=YQ&&YQ.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(YQ,"__esModule",{value:!0});YQ.getColor=YQ.parseTheme=YQ.colorize=void 0;var VdD=vP0(CK()),bP0=fP0(BdD()),xP0=QdD();YQ.colorize=kP0;YQ.parseTheme=hP0;YQ.getColor=KdD});var s8D=r0((Rj)=>{var qUD=function(Q){let K;if(typeof Q==="string")K=new WdD.CLIError.Warn(Q);else if(Q instanceof Error)K=WdD.addOclifExitCode(Q);else throw new TypeError("first argument must be a string or instance of Error");const G=gP0.default(K);if(G)_P0.default.stderr(G+"\n");if(qdD.config.errorLogger)qdD.config.errorLogger.log(K?.stack??"")},mP0=function(Q){if(!UdD.has(Q))qUD(Q);UdD.add(Q)},GdD=Rj&&Rj.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(Rj,"__esModule",{value:!0});Rj.memoizedWarn=Rj.warn=void 0;var _P0=GdD(gC()),qdD=CR(),WdD=ER(),gP0=GdD(p8D());Rj.warn=qUD;var UdD=new Set;Rj.memoizedWarn=mP0;Rj.default=qUD});var HdD=r0((Cs0,yd)=>{var __dirname="/Users/treece/src/prismatic-io/prism/node_modules/typescript/lib",__filename="/Users/treece/src/prismatic-io/prism/node_modules/typescript/lib/typescript.js";/*! *****************************************************************************
|
|
2
|
+
import{createRequire as qI0} from"node:module";var QI0=Object.create;var{defineProperty:gWD,getPrototypeOf:VI0,getOwnPropertyNames:zI0}=Object;var KI0=Object.prototype.hasOwnProperty;var OgD=(Q,K,G)=>{G=Q!=null?QI0(VI0(Q)):{};const C=K||!Q||!Q.__esModule?gWD(G,"default",{value:Q,enumerable:!0}):G;for(let y of zI0(Q))if(!KI0.call(C,y))gWD(C,y,{get:()=>Q[y],enumerable:!0});return C};var r0=(Q,K)=>()=>(K||Q((K={exports:{}}).exports,K),K.exports);var So0=(Q,K)=>{for(var G in K)gWD(Q,G,{get:K[G],enumerable:!0,configurable:!0,set:(C)=>K[G]=()=>C})};var uo0=(Q,K)=>()=>(Q&&(K=Q(Q=0)),K);var i8=qI0(import.meta.url);var gC=r0((jgD)=>{Object.defineProperty(jgD,"__esModule",{value:!0});var WI0=(Q)=>{process.stdout.write(Q)},UI0=(Q)=>{process.stderr.write(Q)};jgD.default={stderr:UI0,stdout:WI0}});var Ej=r0((CgD)=>{async function AgD(Q){const K=await mWD.readFile(Q,"utf8");return JSON.parse(K)}var OI0=function(Q,K=!0){const G=LgD.readFileSync(Q,"utf8");return K?JSON.parse(G):G};async function jI0(Q){try{return await AgD(Q)}catch{}}var LI0=function(Q){return LgD.existsSync(Q)};Object.defineProperty(CgD,"__esModule",{value:!0});CgD.existsSync=CgD.safeReadJson=CgD.readJsonSync=CgD.readJson=CgD.fileExists=CgD.dirExists=void 0;var LgD=i8("node:fs"),mWD=i8("node:fs/promises"),HI0=async(Q)=>{let K;try{K=await mWD.stat(Q)}catch{throw new Error(`No directory found at ${Q}`)}if(!K.isDirectory())throw new Error(`${Q} exists but is not a directory`);return Q};CgD.dirExists=HI0;var MI0=async(Q)=>{let K;try{K=await mWD.stat(Q)}catch{throw new Error(`No file found at ${Q}`)}if(!K.isFile())throw new Error(`${Q} exists but is not a file`);return Q};CgD.fileExists=MI0;CgD.readJson=AgD;CgD.readJsonSync=OI0;CgD.safeReadJson=jI0;CgD.existsSync=LI0});var cB=r0((NgD)=>{var RI0=function(Q,K){return Object.entries(Q).reduce((G,[C,y])=>{if(K(y))G[C]=y;return G},{})},II0=function(Q){return Q.filter((K)=>Boolean(K))},yI0=function(Q,K){return Q.filter((G,C)=>{const y=K(G);return!Q.some((x,_)=>_>C&&K(x)===y)})},PI0=function(Q){if(!Q)return;return Q.at(-1)},dWD=function(Q,K){if(Q=Q===void 0?0:Q,K=K===void 0?0:K,Array.isArray(Q)&&Array.isArray(K)){if(Q.length===0&&K.length===0)return 0;const G=dWD(Q[0],K[0]);if(G!==0)return G;return dWD(Q.slice(1),K.slice(1))}if(Q<K)return-1;if(Q>K)return 1;return 0},wI0=function(Q,K){return Q.sort((G,C)=>dWD(K(G),K(C)))},SI0=function(Q){if(Q===void 0)return[];return Array.isArray(Q)?Q:[Q]},uI0=function(){return!["development","test"].includes("development")},fI0=function(Q,K){if(Q.length===0)return;return Q.reduce((G,C)=>{const y=K(C),x=K(G);return y>x?C:G})},vI0=function(Q,K){return Q.reduce((G,C)=>G+K(C),0)},bI0=function(Q){return Q?Q.charAt(0).toUpperCase()+Q.slice(1).toLowerCase():""},xI0=function(Q){return["1","true","y","yes"].includes(Q.toLowerCase())},kI0=function(Q){return!["0","false","n","no"].includes(Q.toLowerCase())},hI0=function(Q){return[...new Set(Q)].sort()},_I0=function(Q,K){return Object.entries(Q).reduce((G,[C,y])=>{return G[C]=K(y,C),G},{})},gI0=function(Q,K){return K.split(".").reduce((G,C)=>G?.[C],Q)},mI0=function(Q,K){return Object.fromEntries(Q.flatMap((G)=>Object.entries(gI0(G,K)??{})).reverse())};Object.defineProperty(NgD,"__esModule",{value:!0});NgD.mergeNestedObjects=NgD.mapValues=NgD.uniq=NgD.isNotFalsy=NgD.isTruthy=NgD.capitalize=NgD.sumBy=NgD.maxBy=NgD.isProd=NgD.castArray=NgD.sortBy=NgD.last=NgD.uniqBy=NgD.compact=NgD.pickBy=void 0;NgD.pickBy=RI0;NgD.compact=II0;NgD.uniqBy=yI0;NgD.last=PI0;NgD.sortBy=wI0;NgD.castArray=SI0;NgD.isProd=uI0;NgD.maxBy=fI0;NgD.sumBy=vI0;NgD.capitalize=bI0;NgD.isTruthy=xI0;NgD.isNotFalsy=kI0;NgD.uniq=hI0;NgD.mapValues=_I0;NgD.mergeNestedObjects=mI0});var PgD=r0((IgD)=>{var LR=function(Q){return(K={})=>({parse:async(G,C,y)=>G,...Q,...K,input:[],type:"option"})};Object.defineProperty(IgD,"__esModule",{value:!0});IgD.string=IgD.url=IgD.file=IgD.directory=IgD.integer=IgD.boolean=IgD.custom=void 0;var $y0=i8("node:url"),RgD=Ej(),Zy0=cB();IgD.custom=LR;IgD.boolean=LR({parse:async(Q)=>Boolean(Q)&&Zy0.isNotFalsy(Q)});IgD.integer=LR({async parse(Q,K,G){if(!/^-?\d+$/.test(Q))throw new Error(`Expected an integer but received: ${Q}`);const C=Number.parseInt(Q,10);if(G.min!==void 0&&C<G.min)throw new Error(`Expected an integer greater than or equal to ${G.min} but received: ${Q}`);if(G.max!==void 0&&C>G.max)throw new Error(`Expected an integer less than or equal to ${G.max} but received: ${Q}`);return C}});IgD.directory=LR({async parse(Q,K,G){if(G.exists)return RgD.dirExists(Q);return Q}});IgD.file=LR({async parse(Q,K,G){if(G.exists)return RgD.fileExists(Q);return Q}});IgD.url=LR({async parse(Q){try{return new $y0.URL(Q)}catch{throw new Error(`Expected a valid url but received: ${Q}`)}}});var Jy0=LR({});IgD.string=Jy0});var cWD=r0((_o0,wgD)=>{wgD.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var lWD=r0((go0,ugD)=>{var Ky0=function(Q,K){return(Q[0]-K[0])**2+(Q[1]-K[1])**2+(Q[2]-K[2])**2},jd=cWD(),SgD={};for(let Q of Object.keys(jd))SgD[jd[Q]]=Q;var z7={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};ugD.exports=z7;for(let Q of Object.keys(z7)){if(!("channels"in z7[Q]))throw new Error("missing channels property: "+Q);if(!("labels"in z7[Q]))throw new Error("missing channel labels property: "+Q);if(z7[Q].labels.length!==z7[Q].channels)throw new Error("channel and label counts mismatch: "+Q);const{channels:K,labels:G}=z7[Q];delete z7[Q].channels,delete z7[Q].labels,Object.defineProperty(z7[Q],"channels",{value:K}),Object.defineProperty(z7[Q],"labels",{value:G})}z7.rgb.hsl=function(Q){const K=Q[0]/255,G=Q[1]/255,C=Q[2]/255,y=Math.min(K,G,C),x=Math.max(K,G,C),_=x-y;let VD,OD;if(x===y)VD=0;else if(K===x)VD=(G-C)/_;else if(G===x)VD=2+(C-K)/_;else if(C===x)VD=4+(K-G)/_;if(VD=Math.min(VD*60,360),VD<0)VD+=360;const HD=(y+x)/2;if(x===y)OD=0;else if(HD<=0.5)OD=_/(x+y);else OD=_/(2-x-y);return[VD,OD*100,HD*100]};z7.rgb.hsv=function(Q){let K,G,C,y,x;const _=Q[0]/255,VD=Q[1]/255,OD=Q[2]/255,HD=Math.max(_,VD,OD),a=HD-Math.min(_,VD,OD),bD=function(ED){return(HD-ED)/6/a+0.5};if(a===0)y=0,x=0;else{if(x=a/HD,K=bD(_),G=bD(VD),C=bD(OD),_===HD)y=C-G;else if(VD===HD)y=0.3333333333333333+K-C;else if(OD===HD)y=0.6666666666666666+G-K;if(y<0)y+=1;else if(y>1)y-=1}return[y*360,x*100,HD*100]};z7.rgb.hwb=function(Q){const K=Q[0],G=Q[1];let C=Q[2];const y=z7.rgb.hsl(Q)[0],x=0.00392156862745098*Math.min(K,Math.min(G,C));return C=1-0.00392156862745098*Math.max(K,Math.max(G,C)),[y,x*100,C*100]};z7.rgb.cmyk=function(Q){const K=Q[0]/255,G=Q[1]/255,C=Q[2]/255,y=Math.min(1-K,1-G,1-C),x=(1-K-y)/(1-y)||0,_=(1-G-y)/(1-y)||0,VD=(1-C-y)/(1-y)||0;return[x*100,_*100,VD*100,y*100]};z7.rgb.keyword=function(Q){const K=SgD[Q];if(K)return K;let G=Infinity,C;for(let y of Object.keys(jd)){const x=jd[y],_=Ky0(Q,x);if(_<G)G=_,C=y}return C};z7.keyword.rgb=function(Q){return jd[Q]};z7.rgb.xyz=function(Q){let K=Q[0]/255,G=Q[1]/255,C=Q[2]/255;K=K>0.04045?((K+0.055)/1.055)**2.4:K/12.92,G=G>0.04045?((G+0.055)/1.055)**2.4:G/12.92,C=C>0.04045?((C+0.055)/1.055)**2.4:C/12.92;const y=K*0.4124+G*0.3576+C*0.1805,x=K*0.2126+G*0.7152+C*0.0722,_=K*0.0193+G*0.1192+C*0.9505;return[y*100,x*100,_*100]};z7.rgb.lab=function(Q){const K=z7.rgb.xyz(Q);let G=K[0],C=K[1],y=K[2];G/=95.047,C/=100,y/=108.883,G=G>0.008856?G**0.3333333333333333:7.787*G+0.13793103448275862,C=C>0.008856?C**0.3333333333333333:7.787*C+0.13793103448275862,y=y>0.008856?y**0.3333333333333333:7.787*y+0.13793103448275862;const x=116*C-16,_=500*(G-C),VD=200*(C-y);return[x,_,VD]};z7.hsl.rgb=function(Q){const K=Q[0]/360,G=Q[1]/100,C=Q[2]/100;let y,x,_;if(G===0)return _=C*255,[_,_,_];if(C<0.5)y=C*(1+G);else y=C+G-C*G;const VD=2*C-y,OD=[0,0,0];for(let HD=0;HD<3;HD++){if(x=K+0.3333333333333333*-(HD-1),x<0)x++;if(x>1)x--;if(6*x<1)_=VD+(y-VD)*6*x;else if(2*x<1)_=y;else if(3*x<2)_=VD+(y-VD)*(0.6666666666666666-x)*6;else _=VD;OD[HD]=_*255}return OD};z7.hsl.hsv=function(Q){const K=Q[0];let G=Q[1]/100,C=Q[2]/100,y=G;const x=Math.max(C,0.01);C*=2,G*=C<=1?C:2-C,y*=x<=1?x:2-x;const _=(C+G)/2,VD=C===0?2*y/(x+y):2*G/(C+G);return[K,VD*100,_*100]};z7.hsv.rgb=function(Q){const K=Q[0]/60,G=Q[1]/100;let C=Q[2]/100;const y=Math.floor(K)%6,x=K-Math.floor(K),_=255*C*(1-G),VD=255*C*(1-G*x),OD=255*C*(1-G*(1-x));switch(C*=255,y){case 0:return[C,OD,_];case 1:return[VD,C,_];case 2:return[_,C,OD];case 3:return[_,VD,C];case 4:return[OD,_,C];case 5:return[C,_,VD]}};z7.hsv.hsl=function(Q){const K=Q[0],G=Q[1]/100,C=Q[2]/100,y=Math.max(C,0.01);let x,_;_=(2-G)*C;const VD=(2-G)*y;return x=G*y,x/=VD<=1?VD:2-VD,x=x||0,_/=2,[K,x*100,_*100]};z7.hwb.rgb=function(Q){const K=Q[0]/360;let G=Q[1]/100,C=Q[2]/100;const y=G+C;let x;if(y>1)G/=y,C/=y;const _=Math.floor(6*K),VD=1-C;if(x=6*K-_,(_&1)!==0)x=1-x;const OD=G+x*(VD-G);let HD,a,bD;switch(_){default:case 6:case 0:HD=VD,a=OD,bD=G;break;case 1:HD=OD,a=VD,bD=G;break;case 2:HD=G,a=VD,bD=OD;break;case 3:HD=G,a=OD,bD=VD;break;case 4:HD=OD,a=G,bD=VD;break;case 5:HD=VD,a=G,bD=OD;break}return[HD*255,a*255,bD*255]};z7.cmyk.rgb=function(Q){const K=Q[0]/100,G=Q[1]/100,C=Q[2]/100,y=Q[3]/100,x=1-Math.min(1,K*(1-y)+y),_=1-Math.min(1,G*(1-y)+y),VD=1-Math.min(1,C*(1-y)+y);return[x*255,_*255,VD*255]};z7.xyz.rgb=function(Q){const K=Q[0]/100,G=Q[1]/100,C=Q[2]/100;let y,x,_;return y=K*3.2406+G*-1.5372+C*-0.4986,x=K*-0.9689+G*1.8758+C*0.0415,_=K*0.0557+G*-0.204+C*1.057,y=y>0.0031308?1.055*y**0.4166666666666667-0.055:y*12.92,x=x>0.0031308?1.055*x**0.4166666666666667-0.055:x*12.92,_=_>0.0031308?1.055*_**0.4166666666666667-0.055:_*12.92,y=Math.min(Math.max(0,y),1),x=Math.min(Math.max(0,x),1),_=Math.min(Math.max(0,_),1),[y*255,x*255,_*255]};z7.xyz.lab=function(Q){let K=Q[0],G=Q[1],C=Q[2];K/=95.047,G/=100,C/=108.883,K=K>0.008856?K**0.3333333333333333:7.787*K+0.13793103448275862,G=G>0.008856?G**0.3333333333333333:7.787*G+0.13793103448275862,C=C>0.008856?C**0.3333333333333333:7.787*C+0.13793103448275862;const y=116*G-16,x=500*(K-G),_=200*(G-C);return[y,x,_]};z7.lab.xyz=function(Q){const K=Q[0],G=Q[1],C=Q[2];let y,x,_;x=(K+16)/116,y=G/500+x,_=x-C/200;const VD=x**3,OD=y**3,HD=_**3;return x=VD>0.008856?VD:(x-0.13793103448275862)/7.787,y=OD>0.008856?OD:(y-0.13793103448275862)/7.787,_=HD>0.008856?HD:(_-0.13793103448275862)/7.787,y*=95.047,x*=100,_*=108.883,[y,x,_]};z7.lab.lch=function(Q){const K=Q[0],G=Q[1],C=Q[2];let y;if(y=Math.atan2(C,G)*360/2/Math.PI,y<0)y+=360;const _=Math.sqrt(G*G+C*C);return[K,_,y]};z7.lch.lab=function(Q){const K=Q[0],G=Q[1],y=Q[2]/360*2*Math.PI,x=G*Math.cos(y),_=G*Math.sin(y);return[K,x,_]};z7.rgb.ansi16=function(Q,K=null){const[G,C,y]=Q;let x=K===null?z7.rgb.hsv(Q)[2]:K;if(x=Math.round(x/50),x===0)return 30;let _=30+(Math.round(y/255)<<2|Math.round(C/255)<<1|Math.round(G/255));if(x===2)_+=60;return _};z7.hsv.ansi16=function(Q){return z7.rgb.ansi16(z7.hsv.rgb(Q),Q[2])};z7.rgb.ansi256=function(Q){const K=Q[0],G=Q[1],C=Q[2];if(K===G&&G===C){if(K<8)return 16;if(K>248)return 231;return Math.round((K-8)/247*24)+232}return 16+36*Math.round(K/255*5)+6*Math.round(G/255*5)+Math.round(C/255*5)};z7.ansi16.rgb=function(Q){let K=Q%10;if(K===0||K===7){if(Q>50)K+=3.5;return K=K/10.5*255,[K,K,K]}const G=(~~(Q>50)+1)*0.5,C=(K&1)*G*255,y=(K>>1&1)*G*255,x=(K>>2&1)*G*255;return[C,y,x]};z7.ansi256.rgb=function(Q){if(Q>=232){const x=(Q-232)*10+8;return[x,x,x]}Q-=16;let K;const G=Math.floor(Q/36)/5*255,C=Math.floor((K=Q%36)/6)/5*255,y=K%6/5*255;return[G,C,y]};z7.rgb.hex=function(Q){const G=(((Math.round(Q[0])&255)<<16)+((Math.round(Q[1])&255)<<8)+(Math.round(Q[2])&255)).toString(16).toUpperCase();return"000000".substring(G.length)+G};z7.hex.rgb=function(Q){const K=Q.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!K)return[0,0,0];let G=K[0];if(K[0].length===3)G=G.split("").map((VD)=>{return VD+VD}).join("");const C=parseInt(G,16),y=C>>16&255,x=C>>8&255,_=C&255;return[y,x,_]};z7.rgb.hcg=function(Q){const K=Q[0]/255,G=Q[1]/255,C=Q[2]/255,y=Math.max(Math.max(K,G),C),x=Math.min(Math.min(K,G),C),_=y-x;let VD,OD;if(_<1)VD=x/(1-_);else VD=0;if(_<=0)OD=0;else if(y===K)OD=(G-C)/_%6;else if(y===G)OD=2+(C-K)/_;else OD=4+(K-G)/_;return OD/=6,OD%=1,[OD*360,_*100,VD*100]};z7.hsl.hcg=function(Q){const K=Q[1]/100,G=Q[2]/100,C=G<0.5?2*K*G:2*K*(1-G);let y=0;if(C<1)y=(G-0.5*C)/(1-C);return[Q[0],C*100,y*100]};z7.hsv.hcg=function(Q){const K=Q[1]/100,G=Q[2]/100,C=K*G;let y=0;if(C<1)y=(G-C)/(1-C);return[Q[0],C*100,y*100]};z7.hcg.rgb=function(Q){const K=Q[0]/360,G=Q[1]/100,C=Q[2]/100;if(G===0)return[C*255,C*255,C*255];const y=[0,0,0],x=K%1*6,_=x%1,VD=1-_;let OD=0;switch(Math.floor(x)){case 0:y[0]=1,y[1]=_,y[2]=0;break;case 1:y[0]=VD,y[1]=1,y[2]=0;break;case 2:y[0]=0,y[1]=1,y[2]=_;break;case 3:y[0]=0,y[1]=VD,y[2]=1;break;case 4:y[0]=_,y[1]=0,y[2]=1;break;default:y[0]=1,y[1]=0,y[2]=VD}return OD=(1-G)*C,[(G*y[0]+OD)*255,(G*y[1]+OD)*255,(G*y[2]+OD)*255]};z7.hcg.hsv=function(Q){const K=Q[1]/100,G=Q[2]/100,C=K+G*(1-K);let y=0;if(C>0)y=K/C;return[Q[0],y*100,C*100]};z7.hcg.hsl=function(Q){const K=Q[1]/100,C=Q[2]/100*(1-K)+0.5*K;let y=0;if(C>0&&C<0.5)y=K/(2*C);else if(C>=0.5&&C<1)y=K/(2*(1-C));return[Q[0],y*100,C*100]};z7.hcg.hwb=function(Q){const K=Q[1]/100,G=Q[2]/100,C=K+G*(1-K);return[Q[0],(C-K)*100,(1-C)*100]};z7.hwb.hcg=function(Q){const K=Q[1]/100,C=1-Q[2]/100,y=C-K;let x=0;if(y<1)x=(C-y)/(1-y);return[Q[0],y*100,x*100]};z7.apple.rgb=function(Q){return[Q[0]/65535*255,Q[1]/65535*255,Q[2]/65535*255]};z7.rgb.apple=function(Q){return[Q[0]/255*65535,Q[1]/255*65535,Q[2]/255*65535]};z7.gray.rgb=function(Q){return[Q[0]/100*255,Q[0]/100*255,Q[0]/100*255]};z7.gray.hsl=function(Q){return[0,0,Q[0]]};z7.gray.hsv=z7.gray.hsl;z7.gray.hwb=function(Q){return[0,100,Q[0]]};z7.gray.cmyk=function(Q){return[0,0,0,Q[0]]};z7.gray.lab=function(Q){return[Q[0],0,0]};z7.gray.hex=function(Q){const K=Math.round(Q[0]/100*255)&255,C=((K<<16)+(K<<8)+K).toString(16).toUpperCase();return"000000".substring(C.length)+C};z7.rgb.gray=function(Q){return[(Q[0]+Q[1]+Q[2])/3/255*100]}});var vgD=r0((mo0,fgD)=>{var qy0=function(){const Q={},K=Object.keys(v8D);for(let G=K.length,C=0;C<G;C++)Q[K[C]]={distance:-1,parent:null};return Q},Wy0=function(Q){const K=qy0(),G=[Q];K[Q].distance=0;while(G.length){const C=G.pop(),y=Object.keys(v8D[C]);for(let x=y.length,_=0;_<x;_++){const VD=y[_],OD=K[VD];if(OD.distance===-1)OD.distance=K[C].distance+1,OD.parent=C,G.unshift(VD)}}return K},Uy0=function(Q,K){return function(G){return K(Q(G))}},Gy0=function(Q,K){const G=[K[Q].parent,Q];let C=v8D[K[Q].parent][Q],y=K[Q].parent;while(K[y].parent)G.unshift(K[y].parent),C=Uy0(v8D[K[y].parent][y],C),y=K[y].parent;return C.conversion=G,C},v8D=lWD();fgD.exports=function(Q){const K=Wy0(Q),G={},C=Object.keys(K);for(let y=C.length,x=0;x<y;x++){const _=C[x];if(K[_].parent===null)continue;G[_]=Gy0(_,K)}return G}});var pWD=r0((do0,bgD)=>{var Oy0=function(Q){const K=function(...G){const C=G[0];if(C===void 0||C===null)return C;if(C.length>1)G=C;return Q(G)};if("conversion"in Q)K.conversion=Q.conversion;return K},jy0=function(Q){const K=function(...G){const C=G[0];if(C===void 0||C===null)return C;if(C.length>1)G=C;const y=Q(G);if(typeof y==="object")for(let x=y.length,_=0;_<x;_++)y[_]=Math.round(y[_]);return y};if("conversion"in Q)K.conversion=Q.conversion;return K},iWD=lWD(),Hy0=vgD(),wu={},My0=Object.keys(iWD);My0.forEach((Q)=>{wu[Q]={},Object.defineProperty(wu[Q],"channels",{value:iWD[Q].channels}),Object.defineProperty(wu[Q],"labels",{value:iWD[Q].labels});const K=Hy0(Q);Object.keys(K).forEach((C)=>{const y=K[C];wu[Q][C]=jy0(y),wu[Q][C].raw=Oy0(y)})});bgD.exports=wu});var Ld=r0((co0,ggD)=>{var Ly0=function(){const Q=new Map,K={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};K.color.gray=K.color.blackBright,K.bgColor.bgGray=K.bgColor.bgBlackBright,K.color.grey=K.color.blackBright,K.bgColor.bgGrey=K.bgColor.bgBlackBright;for(let[G,C]of Object.entries(K)){for(let[y,x]of Object.entries(C))K[y]={open:`\x1B[${x[0]}m`,close:`\x1B[${x[1]}m`},C[y]=K[y],Q.set(x[0],x[1]);Object.defineProperty(K,G,{value:C,enumerable:!1})}return Object.defineProperty(K,"codes",{value:Q,enumerable:!1}),K.color.close="\x1B[39m",K.bgColor.close="\x1B[49m",Su(K.color,"ansi",()=>uu(xgD,"ansi16",b8D,!1)),Su(K.color,"ansi256",()=>uu(kgD,"ansi256",b8D,!1)),Su(K.color,"ansi16m",()=>uu(hgD,"rgb",_gD,!1)),Su(K.bgColor,"ansi",()=>uu(xgD,"ansi16",b8D,!0)),Su(K.bgColor,"ansi256",()=>uu(kgD,"ansi256",b8D,!0)),Su(K.bgColor,"ansi16m",()=>uu(hgD,"rgb",_gD,!0)),K},xgD=(Q,K)=>(...G)=>{return`\x1B[${Q(...G)+K}m`},kgD=(Q,K)=>(...G)=>{const C=Q(...G);return`\x1B[${38+K};5;${C}m`},hgD=(Q,K)=>(...G)=>{const C=Q(...G);return`\x1B[${38+K};2;${C[0]};${C[1]};${C[2]}m`},b8D=(Q)=>Q,_gD=(Q,K,G)=>[Q,K,G],Su=(Q,K,G)=>{Object.defineProperty(Q,K,{get:()=>{const C=G();return Object.defineProperty(Q,K,{value:C,enumerable:!0,configurable:!0}),C},enumerable:!0,configurable:!0})},nWD,uu=(Q,K,G,C)=>{if(nWD===void 0)nWD=pWD();const y=C?10:0,x={};for(let[_,VD]of Object.entries(nWD)){const OD=_==="ansi16"?"ansi":_;if(_===K)x[OD]=Q(G,y);else if(typeof VD==="object")x[OD]=Q(VD[K],y)}return x};Object.defineProperty(ggD,"exports",{enumerable:!0,get:Ly0})});var Ad=r0((lo0,mgD)=>{mgD.exports=(Q,K=process.argv)=>{const G=Q.startsWith("-")?"":Q.length===1?"-":"--",C=K.indexOf(G+Q),y=K.indexOf("--");return C!==-1&&(y===-1||C<y)}});var lgD=r0((io0,cgD)=>{var rWD=function(Q){if(Q===0)return!1;return{level:Q,hasBasic:!0,has256:Q>=2,has16m:Q>=3}},oWD=function(Q,K){if(mC===0)return 0;if(sq("color=16m")||sq("color=full")||sq("color=truecolor"))return 3;if(sq("color=256"))return 2;if(Q&&!K&&mC===void 0)return 0;const G=mC||0;if(wX.TERM==="dumb")return G;if(process.platform==="win32"){const C=Ay0.release().split(".");if(Number(C[0])>=10&&Number(C[2])>=10586)return Number(C[2])>=14931?3:2;return 1}if("CI"in wX){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((C)=>(C in wX))||wX.CI_NAME==="codeship")return 1;return G}if("TEAMCITY_VERSION"in wX)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(wX.TEAMCITY_VERSION)?1:0;if(wX.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in wX){const C=parseInt((wX.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(wX.TERM_PROGRAM){case"iTerm.app":return C>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(wX.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(wX.TERM))return 1;if("COLORTERM"in wX)return 1;return G},Cy0=function(Q){const K=oWD(Q,Q&&Q.isTTY);return rWD(K)},Ay0=i8("os"),dgD=i8("tty"),sq=Ad(),{env:wX}=process,mC;if(sq("no-color")||sq("no-colors")||sq("color=false")||sq("color=never"))mC=0;else if(sq("color")||sq("colors")||sq("color=true")||sq("color=always"))mC=1;if("FORCE_COLOR"in wX)if(wX.FORCE_COLOR==="true")mC=1;else if(wX.FORCE_COLOR==="false")mC=0;else mC=wX.FORCE_COLOR.length===0?1:Math.min(parseInt(wX.FORCE_COLOR,10),3);cgD.exports={supportsColor:Cy0,stdout:rWD(oWD(!0,dgD.isatty(1))),stderr:rWD(oWD(!0,dgD.isatty(2)))}});var pgD=r0((po0,igD)=>{var Ey0=(Q,K,G)=>{let C=Q.indexOf(K);if(C===-1)return Q;const y=K.length;let x=0,_="";do _+=Q.substr(x,C-x)+K+G,x=C+y,C=Q.indexOf(K,x);while(C!==-1);return _+=Q.substr(x),_},Ny0=(Q,K,G,C)=>{let y=0,x="";do{const _=Q[C-1]==="\r";x+=Q.substr(y,(_?C-1:C)-y)+K+(_?"\r\n":"\n")+G,y=C+1,C=Q.indexOf("\n",y)}while(C!==-1);return x+=Q.substr(y),x};igD.exports={stringReplaceAll:Ey0,stringEncaseCRLFWithFirstIndex:Ny0}});var agD=r0((no0,sgD)=>{var ogD=function(Q){const K=Q[0]==="u",G=Q[1]==="{";if(K&&!G&&Q.length===5||Q[0]==="x"&&Q.length===3)return String.fromCharCode(parseInt(Q.slice(1),16));if(K&&G)return String.fromCodePoint(parseInt(Q.slice(2,-1),16));return yy0.get(Q)||Q},Py0=function(Q,K){const G=[],C=K.trim().split(/\s*,\s*/g);let y;for(let x of C){const _=Number(x);if(!Number.isNaN(_))G.push(_);else if(y=x.match(Ry0))G.push(y[2].replace(Iy0,(VD,OD,HD)=>OD?ogD(OD):HD));else throw new Error(`Invalid Chalk template style argument: ${x} (in style '${Q}')`)}return G},wy0=function(Q){ngD.lastIndex=0;const K=[];let G;while((G=ngD.exec(Q))!==null){const C=G[1];if(G[2]){const y=Py0(C,G[2]);K.push([C].concat(y))}else K.push([C])}return K},rgD=function(Q,K){const G={};for(let y of K)for(let x of y.styles)G[x[0]]=y.inverse?null:x.slice(1);let C=Q;for(let[y,x]of Object.entries(G)){if(!Array.isArray(x))continue;if(!(y in C))throw new Error(`Unknown Chalk style: ${y}`);C=x.length>0?C[y](...x):C[y]}return C},Ty0=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,ngD=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Ry0=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Iy0=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,yy0=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);sgD.exports=(Q,K)=>{const G=[],C=[];let y=[];if(K.replace(Ty0,(x,_,VD,OD,HD,a)=>{if(_)y.push(ogD(_));else if(OD){const bD=y.join("");y=[],C.push(G.length===0?bD:rgD(Q,G)(bD)),G.push({inverse:VD,styles:wy0(OD)})}else if(HD){if(G.length===0)throw new Error("Found extraneous } in Chalk template literal");C.push(rgD(Q,G)(y.join(""))),y=[],G.pop()}else y.push(a)}),C.push(y.join("")),G.length>0){const x=`Chalk template literal is missing ${G.length} closing bracket${G.length===1?"":"s"} (\`}\`)`;throw new Error(x)}return C.join("")}});var CK=r0((ro0,JmD)=>{var k8D=function(Q){return FmD(Q)},Cd=Ld(),{stdout:aWD,stderr:tWD}=lgD(),{stringReplaceAll:Sy0,stringEncaseCRLFWithFirstIndex:uy0}=pgD(),{isArray:x8D}=Array,egD=["ansi","ansi","ansi256","ansi16m"],fu=Object.create(null),fy0=(Q,K={})=>{if(K.level&&!(Number.isInteger(K.level)&&K.level>=0&&K.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const G=aWD?aWD.level:0;Q.level=K.level===void 0?G:K.level};class DmD{constructor(Q){return FmD(Q)}}var FmD=(Q)=>{const K={};return fy0(K,Q),K.template=(...G)=>ZmD(K.template,...G),Object.setPrototypeOf(K,k8D.prototype),Object.setPrototypeOf(K.template,K),K.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},K.template.Instance=DmD,K.template};for(let[Q,K]of Object.entries(Cd))fu[Q]={get(){const G=h8D(this,eWD(K.open,K.close,this._styler),this._isEmpty);return Object.defineProperty(this,Q,{value:G}),G}};fu.visible={get(){const Q=h8D(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:Q}),Q}};var $mD=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let Q of $mD)fu[Q]={get(){const{level:K}=this;return function(...G){const C=eWD(Cd.color[egD[K]][Q](...G),Cd.color.close,this._styler);return h8D(this,C,this._isEmpty)}}};for(let Q of $mD){const K="bg"+Q[0].toUpperCase()+Q.slice(1);fu[K]={get(){const{level:G}=this;return function(...C){const y=eWD(Cd.bgColor[egD[G]][Q](...C),Cd.bgColor.close,this._styler);return h8D(this,y,this._isEmpty)}}}}var vy0=Object.defineProperties(()=>{},{...fu,level:{enumerable:!0,get(){return this._generator.level},set(Q){this._generator.level=Q}}}),eWD=(Q,K,G)=>{let C,y;if(G===void 0)C=Q,y=K;else C=G.openAll+Q,y=K+G.closeAll;return{open:Q,close:K,openAll:C,closeAll:y,parent:G}},h8D=(Q,K,G)=>{const C=(...y)=>{if(x8D(y[0])&&x8D(y[0].raw))return tgD(C,ZmD(C,...y));return tgD(C,y.length===1?""+y[0]:y.join(" "))};return Object.setPrototypeOf(C,vy0),C._generator=Q,C._styler=K,C._isEmpty=G,C},tgD=(Q,K)=>{if(Q.level<=0||!K)return Q._isEmpty?"":K;let G=Q._styler;if(G===void 0)return K;const{openAll:C,closeAll:y}=G;if(K.indexOf("\x1B")!==-1)while(G!==void 0)K=Sy0(K,G.close,G.open),G=G.parent;const x=K.indexOf("\n");if(x!==-1)K=uy0(K,y,C,x);return C+K+y},sWD,ZmD=(Q,...K)=>{const[G]=K;if(!x8D(G)||!x8D(G.raw))return K.join(" ");const C=K.slice(1),y=[G.raw[0]];for(let x=1;x<G.length;x++)y.push(String(C[x-1]).replace(/[{}\\]/g,"\\$&"),String(G.raw[x]));if(sWD===void 0)sWD=agD();return sWD(Q,y.join(""))};Object.defineProperties(k8D.prototype,fu);var _8D=k8D();_8D.supportsColor=aWD;_8D.stderr=k8D({level:tWD?tWD.level:0});_8D.stderr.supportsColor=tWD;JmD.exports=_8D});var XmD=r0((oo0,BmD)=>{BmD.exports=(Q)=>{if(typeof Q!=="string")throw new TypeError("Expected a string");return Q.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}});var DUD=r0((so0,VmD)=>{var YmD=i8("os"),by0=XmD(),QmD=/\s+at.*[(\s](.*)\)?/,xy0=/^(?:(?:(?:node|(?:(?:node:)?internal\/[\w/]*|.*node_modules\/(?:babel-polyfill|pirates)\/.*)?\w+)(?:\.js)?:\d+:\d+)|native)/,ky0=typeof YmD.homedir==="undefined"?"":YmD.homedir();VmD.exports=(Q,{pretty:K=!1,basePath:G}={})=>{const C=G&&new RegExp(`(at | \\()${by0(G)}`,"g");return Q.replace(/\\/g,"/").split("\n").filter((y)=>{const x=y.match(QmD);if(x===null||!x[1])return!0;const _=x[1];if(_.includes(".app/Contents/Resources/electron.asar")||_.includes(".app/Contents/Resources/default_app.asar"))return!1;return!xy0.test(_)}).filter((y)=>y.trim()!=="").map((y)=>{if(C)y=y.replace(C,"$1");if(K)y=y.replace(QmD,(x,_)=>x.replace(_,_.replace(ky0,"~")));return y}).join("\n")}});var g8D=r0((ao0,zmD)=>{zmD.exports=(Q,K=1,G)=>{if(G={indent:" ",includeEmptyLines:!1,...G},typeof Q!=="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof Q}\``);if(typeof K!=="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof K}\``);if(typeof G.indent!=="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof G.indent}\``);if(K===0)return Q;const C=G.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return Q.replace(C,G.indent.repeat(K))}});var qmD=r0((to0,KmD)=>{KmD.exports=({onlyFirst:Q=!1}={})=>{const K=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(K,Q?void 0:"g")}});var Nj=r0((eo0,WmD)=>{var hy0=qmD();WmD.exports=(Q)=>typeof Q==="string"?Q.replace(hy0(),""):Q});var $UD=r0((Ds0,FUD)=>{var UmD=(Q)=>{if(Number.isNaN(Q))return!1;if(Q>=4352&&(Q<=4447||Q===9001||Q===9002||11904<=Q&&Q<=12871&&Q!==12351||12880<=Q&&Q<=19903||19968<=Q&&Q<=42182||43360<=Q&&Q<=43388||44032<=Q&&Q<=55203||63744<=Q&&Q<=64255||65040<=Q&&Q<=65049||65072<=Q&&Q<=65131||65281<=Q&&Q<=65376||65504<=Q&&Q<=65510||110592<=Q&&Q<=110593||127488<=Q&&Q<=127569||131072<=Q&&Q<=262141))return!0;return!1};FUD.exports=UmD;FUD.exports.default=UmD});var HmD=r0((Fs0,GmD)=>{GmD.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}});var vu=r0(($s0,ZUD)=>{var _y0=Nj(),gy0=$UD(),my0=HmD(),MmD=(Q)=>{if(typeof Q!=="string"||Q.length===0)return 0;if(Q=_y0(Q),Q.length===0)return 0;Q=Q.replace(my0()," ");let K=0;for(let G=0;G<Q.length;G++){const C=Q.codePointAt(G);if(C<=31||C>=127&&C<=159)continue;if(C>=768&&C<=879)continue;if(C>65535)G++;K+=gy0(C)?2:1}return K};ZUD.exports=MmD;ZUD.exports.default=MmD});var d8D=r0((Zs0,LmD)=>{var Ed=vu(),dy0=Nj(),cy0=Ld(),m8D=new Set(["\x1B","\x9B"]),OmD=(Q)=>`${m8D.values().next().value}[${Q}m`,jmD=(Q)=>`${m8D.values().next().value}]8;;${Q}${"\x07"}`,ly0=(Q)=>Q.split(" ").map((K)=>Ed(K)),JUD=(Q,K,G)=>{const C=[...K];let y=!1,x=!1,_=Ed(dy0(Q[Q.length-1]));for(let[VD,OD]of C.entries()){const HD=Ed(OD);if(_+HD<=G)Q[Q.length-1]+=OD;else Q.push(OD),_=0;if(m8D.has(OD))y=!0,x=C.slice(VD+1).join("").startsWith("]8;;");if(y){if(x){if(OD==="\x07")y=!1,x=!1}else if(OD==="m")y=!1;continue}if(_+=HD,_===G&&VD<C.length-1)Q.push(""),_=0}if(!_&&Q[Q.length-1].length>0&&Q.length>1)Q[Q.length-2]+=Q.pop()},iy0=(Q)=>{const K=Q.split(" ");let G=K.length;while(G>0){if(Ed(K[G-1])>0)break;G--}if(G===K.length)return Q;return K.slice(0,G).join(" ")+K.slice(G).join("")},py0=(Q,K,G={})=>{if(G.trim!==!1&&Q.trim()==="")return"";let C="",y,x;const _=ly0(Q);let VD=[""];for(let[HD,a]of Q.split(" ").entries()){if(G.trim!==!1)VD[VD.length-1]=VD[VD.length-1].trimStart();let bD=Ed(VD[VD.length-1]);if(HD!==0){if(bD>=K&&(G.wordWrap===!1||G.trim===!1))VD.push(""),bD=0;if(bD>0||G.trim===!1)VD[VD.length-1]+=" ",bD++}if(G.hard&&_[HD]>K){const ED=K-bD,XD=1+Math.floor((_[HD]-ED-1)/K);if(Math.floor((_[HD]-1)/K)<XD)VD.push("");JUD(VD,a,K);continue}if(bD+_[HD]>K&&bD>0&&_[HD]>0){if(G.wordWrap===!1&&bD<K){JUD(VD,a,K);continue}VD.push("")}if(bD+_[HD]>K&&G.wordWrap===!1){JUD(VD,a,K);continue}VD[VD.length-1]+=a}if(G.trim!==!1)VD=VD.map(iy0);const OD=[...VD.join("\n")];for(let[HD,a]of OD.entries()){if(C+=a,m8D.has(a)){const{groups:ED}=new RegExp(`(?:\\[(?<code>\\d+)m|\\]8;;(?<uri>.*)${"\x07"})`).exec(OD.slice(HD).join(""))||{groups:{}};if(ED.code!==void 0){const XD=Number.parseFloat(ED.code);y=XD===39?void 0:XD}else if(ED.uri!==void 0)x=ED.uri.length===0?void 0:ED.uri}const bD=cy0.codes.get(Number(y));if(OD[HD+1]==="\n"){if(x)C+=jmD("");if(y&&bD)C+=OmD(bD)}else if(a==="\n"){if(y&&bD)C+=OmD(y);if(x)C+=jmD(x)}}return C};LmD.exports=(Q,K,G)=>{return String(Q).normalize().replace(/\r\n/g,"\n").split("\n").map((C)=>py0(C,K,G)).join("\n")}});var AmD=r0((Js0,ny0)=>{ny0.exports={name:"@oclif/core",description:"base library for oclif CLIs",version:"3.26.0",author:"Salesforce",bugs:"https://github.com/oclif/core/issues",dependencies:{"@types/cli-progress":"^3.11.5","ansi-escapes":"^4.3.2","ansi-styles":"^4.3.0",cardinal:"^2.1.1",chalk:"^4.1.2","clean-stack":"^3.0.1","cli-progress":"^3.12.0",color:"^4.2.3",debug:"^4.3.4",ejs:"^3.1.9","get-package-type":"^0.1.0",globby:"^11.1.0",hyperlinker:"^1.0.0","indent-string":"^4.0.0","is-wsl":"^2.2.0","js-yaml":"^3.14.1",minimatch:"^9.0.3","natural-orderby":"^2.0.3","object-treeify":"^1.1.33","password-prompt":"^1.1.3","slice-ansi":"^4.0.0","string-width":"^4.2.3","strip-ansi":"^6.0.1","supports-color":"^8.1.1","supports-hyperlinks":"^2.2.0","widest-line":"^3.1.0",wordwrap:"^1.0.0","wrap-ansi":"^7.0.0"},devDependencies:{"@commitlint/config-conventional":"^17.8.1","@oclif/plugin-help":"^6","@oclif/plugin-plugins":"^4","@oclif/prettier-config":"^0.2.1","@oclif/test":"^3.2.1","@types/ansi-styles":"^3.2.1","@types/benchmark":"^2.1.5","@types/chai":"^4.3.11","@types/chai-as-promised":"^7.1.8","@types/clean-stack":"^2.1.1","@types/color":"^3.0.6","@types/debug":"^4.1.10","@types/ejs":"^3.1.5","@types/indent-string":"^4.0.1","@types/js-yaml":"^3.12.7","@types/mocha":"^10.0.6","@types/node":"^18","@types/node-notifier":"^8.0.5","@types/pnpapi":"^0.0.5","@types/slice-ansi":"^4.0.0","@types/strip-ansi":"^5.2.1","@types/supports-color":"^8.1.1","@types/wordwrap":"^1.0.3","@types/wrap-ansi":"^3.0.0",benchmark:"^2.1.4",chai:"^4.4.1","chai-as-promised":"^7.1.1",commitlint:"^17.8.1","cross-env":"^7.0.3",eslint:"^8.57.0","eslint-config-oclif":"^5.1.0","eslint-config-oclif-typescript":"^3.1.2","eslint-config-prettier":"^9.1.0","fancy-test":"^3.0.13",globby:"^11.1.0",husky:"^8","lint-staged":"^14.0.1",madge:"^6.1.0",mocha:"^10.3.0",nyc:"^15.1.0",prettier:"^3.2.5",shx:"^0.3.4",sinon:"^16.1.3","ts-node":"^10.9.2",tsd:"^0.30.6",typescript:"^5"},engines:{node:">=18.0.0"},files:["/lib","/flush.js","/flush.d.ts","/handle.js"],homepage:"https://github.com/oclif/core",keywords:["oclif","cli","command","command line","parser","args","argv"],license:"MIT",main:"./lib/index.js",repository:"oclif/core",oclif:{bin:"oclif",devPlugins:["@oclif/plugin-help","@oclif/plugin-plugins"]},publishConfig:{access:"public"},scripts:{build:"shx rm -rf lib && tsc",commitlint:"commitlint",compile:"tsc",format:"prettier --write \"+(src|test)/**/*.+(ts|js|json)\"",lint:"eslint . --ext .ts",posttest:"yarn lint && yarn test:circular-deps",prepack:"yarn run build",prepare:"husky install",pretest:"yarn build && tsc -p test --noEmit --skipLibCheck","test:circular-deps":"madge lib/ -c","test:debug":"nyc mocha --debug-brk --inspect \"test/**/*.test.ts\"","test:integration":"mocha --forbid-only \"test/**/*.integration.ts\" --parallel --timeout 1200000","test:interoperability":"cross-env DEBUG=integration:* ts-node test/integration/interop.ts","test:perf":"ts-node test/perf/parser.perf.ts",test:"nyc mocha --forbid-only \"test/**/*.test.ts\""},types:"lib/index.d.ts"}});var lU=r0((CmD)=>{var __dirname="/Users/jasoncomes/Desktop/Prismatic/prism/node_modules/@oclif/core/lib";Object.defineProperty(CmD,"__esModule",{value:!0});var ry0=i8("node:fs"),oy0=i8("node:path");class bu extends Map{static instance;constructor(){super();this.set("@oclif/core",this.getOclifCoreMeta())}static getInstance(){if(!bu.instance)bu.instance=new bu;return bu.instance}get(Q){return super.get(Q)}getOclifCoreMeta(){try{return{name:"@oclif/core",version:AmD().version}}catch{try{return{name:"@oclif/core",version:JSON.parse(ry0.readFileSync(oy0.join(__dirname,"..","package.json"),"utf8"))}}catch{return{name:"@oclif/core",version:"unknown"}}}}}CmD.default=bu});var dC=r0((EmD)=>{Object.defineProperty(EmD,"__esModule",{value:!0});EmD.settings=void 0;if(!global.oclif)global.oclif={};EmD.settings=global.oclif});var AR=r0((ImD)=>{var TmD=function(Q){if(!Q.isTTY)return 80;const K=Q.getWindowSize()[0];if(K<1)return 80;if(K<40)return 40;return K};Object.defineProperty(ImD,"__esModule",{value:!0});ImD.errtermwidth=ImD.stdtermwidth=void 0;var ay0=dC(),RmD=Number.parseInt(process.env.OCLIF_COLUMNS,10)||ay0.settings.columns;ImD.stdtermwidth=RmD||TmD(process.stdout);ImD.errtermwidth=RmD||TmD(process.stderr)});var XUD=r0((SmD)=>{var ZP0=function(Q){if(Q.endsWith("\n"))return Q.replace(/\n$/,"");return Q};Object.defineProperty(SmD,"__esModule",{value:!0});SmD.Logger=void 0;var PmD=i8("node:fs/promises"),ey0=i8("node:path"),DP0=Nj(),FP0=()=>(new Date()).toISOString(),BUD,$P0=(Q)=>new Promise((K)=>{if(BUD)BUD.unref();BUD=setTimeout(()=>K(null),Q)});class wmD{file;buffer=[];flushing=Promise.resolve();constructor(Q){this.file=Q}async flush(Q=0){await $P0(Q),this.flushing=this.flushing.then(async()=>{if(this.buffer.length===0)return;const K=this.buffer;this.buffer=[],await PmD.mkdir(ey0.dirname(this.file),{recursive:!0}),await PmD.appendFile(this.file,K.join("\n")+"\n")}),await this.flushing}log(Q){Q=DP0(ZP0(Q));const K=Q.split("\n").map((G)=>`${FP0()} ${G}`.trimEnd());this.buffer.push(...K),this.flush(50).catch(console.error)}}SmD.Logger=wmD});var CR=r0((fmD)=>{var BP0=function(){if(process.listenerCount("warning")>1)return;process.on("warning",(Q)=>{if(console.error(Q.stack),Q.detail)console.error(Q.detail)})};Object.defineProperty(fmD,"__esModule",{value:!0});fmD.config=void 0;var Nd=dC(),JP0=XUD();fmD.config={get debug(){return Boolean(Nd.settings.debug)},set debug(Q){if(Nd.settings.debug=Q,Q)BP0()},get errlog(){return Nd.settings.errlog},set errlog(Q){if(Q)this.errorLogger=new JP0.Logger(Q),Nd.settings.errlog=Q;else delete this.errorLogger,delete Nd.settings.errlog},errorLogger:void 0}});var ER=r0((Tj)=>{var xmD=function(Q,K){if(!("oclif"in Q))Q.oclif={};return Q.oclif.exit=K?.exit===void 0?QP0.default.getInstance().get("exitCodes")?.default??2:K.exit,Q},Td=Tj&&Tj.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(Tj,"__esModule",{value:!0});Tj.CLIError=Tj.addOclifExitCode=void 0;var bmD=Td(CK()),XP0=Td(DUD()),YUD=Td(g8D()),YP0=Td(d8D()),QP0=Td(lU()),VP0=AR(),zP0=CR();Tj.addOclifExitCode=xmD;class c8D extends Error{code;oclif={};skipOclifErrorHandling;suggestions;constructor(Q,K={}){super(Q instanceof Error?Q.message:Q);xmD(this,K),this.code=K.code,this.suggestions=K.suggestions}get bang(){try{return bmD.default.red(process.platform==="win32"?"\xBB":"\u203A")}catch{}}get stack(){return XP0.default(super.stack,{pretty:!0})}render(){if(zP0.config.debug)return this.stack;let Q=`${this.name}: ${this.message}`;return Q=YP0.default(Q,VP0.errtermwidth-6,{hard:!0,trim:!1}),Q=YUD.default(Q,3),Q=YUD.default(Q,1,{includeEmptyLines:!0,indent:this.bang}),Q=YUD.default(Q,1),Q}}Tj.CLIError=c8D;(function(Q){class K extends Q{constructor(G){super(G instanceof Error?G.message:G);this.name="Warning"}get bang(){try{return bmD.default.yellow(process.platform==="win32"?"\xBB":"\u203A")}catch{}}}Q.Warn=K})(c8D||(Tj.CLIError=c8D={}))});var l8D=r0((hmD)=>{Object.defineProperty(hmD,"__esModule",{value:!0});hmD.ExitError=void 0;var KP0=ER();class kmD extends KP0.CLIError{code="EEXIT";constructor(Q=1){super(`EEXIT: ${Q}`,{exit:Q})}render(){return""}}hmD.ExitError=kmD});var p8D=r0((NR)=>{var GP0=function(Q,K){const G=["message","code","ref","suggestions"];for(let C of G)if(!(C in Q)&&K[C])Q[C]=K[C];return Q},MP0=function(Q){if(UP0.config.debug)return Q.stack;const{bang:K,code:G,message:C,name:y,ref:x,suggestions:_}=Q,VD=C?`${y||"Error"}: ${C}`:void 0,OD=G?`Code: ${G}`:void 0,HD=HP0(_),a=x?`Reference: ${x}`:void 0,bD=[VD,OD,HD,a].filter(Boolean).join("\n");let ED=qP0.default(bD,WP0.errtermwidth-6,{hard:!0,trim:!1});return ED=i8D.default(ED,3),ED=i8D.default(ED,1,{includeEmptyLines:!0,indent:K||""}),ED=i8D.default(ED,1),ED},gmD=NR&&NR.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(NR,"__esModule",{value:!0});NR.applyPrettyPrintOptions=void 0;var i8D=gmD(g8D()),qP0=gmD(d8D()),WP0=AR(),UP0=CR();NR.applyPrettyPrintOptions=GP0;var HP0=(Q)=>{if(!Q||Q.length===0)return;if(Q.length===1)return`Try this: ${Q[0]}`;const G=Q.map((C)=>`* ${C}`).join("\n");return`Try this:\n${i8D.default(G,2)}`};NR.default=MP0});var QUD=r0((EK)=>{var lmD=function(Q,K={}){let G;if(typeof Q==="string")G=new dmD.CLIError(Q,K);else if(Q instanceof Error)G=dmD.addOclifExitCode(Q,K);else throw new TypeError("first argument must be a string or instance of Error");if(G=cmD.applyPrettyPrintOptions(G,K),K.exit===!1){const C=cmD.default(G);if(C)CP0.default.stderr(C+"\n");if(mmD.config.errorLogger)mmD.config.errorLogger.log(G?.stack??"")}else throw G},OP0=EK&&EK.__createBinding||(Object.create?function(Q,K,G,C){if(C===void 0)C=G;var y=Object.getOwnPropertyDescriptor(K,G);if(!y||("get"in y?!K.__esModule:y.writable||y.configurable))y={enumerable:!0,get:function(){return K[G]}};Object.defineProperty(Q,C,y)}:function(Q,K,G,C){if(C===void 0)C=G;Q[C]=K[G]}),jP0=EK&&EK.__setModuleDefault||(Object.create?function(Q,K){Object.defineProperty(Q,"default",{enumerable:!0,value:K})}:function(Q,K){Q.default=K}),LP0=EK&&EK.__importStar||function(Q){if(Q&&Q.__esModule)return Q;var K={};if(Q!=null){for(var G in Q)if(G!=="default"&&Object.prototype.hasOwnProperty.call(Q,G))OP0(K,Q,G)}return jP0(K,Q),K},AP0=EK&&EK.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(EK,"__esModule",{value:!0});EK.error=void 0;var CP0=AP0(gC()),mmD=CR(),dmD=ER(),cmD=LP0(p8D());EK.error=lmD;EK.default=lmD});var VUD=r0((pmD)=>{Object.defineProperty(pmD,"__esModule",{value:!0});pmD.ModuleLoadError=void 0;var EP0=ER();class imD extends EP0.CLIError{code="MODULE_NOT_FOUND";constructor(Q){super(`[MODULE_NOT_FOUND] ${Q}`,{exit:1});this.name="ModuleLoadError"}}pmD.ModuleLoadError=imD});var omD=r0((Gs0,rmD)=>{rmD.exports=function Q(K){if(!K||typeof K==="string")return!1;return K instanceof Array||Array.isArray(K)||K.length>=0&&(K.splice instanceof Function||Object.getOwnPropertyDescriptor(K,K.length-1)&&K.constructor.name!=="String")}});var tmD=r0((Hs0,amD)=>{var NP0=omD(),TP0=Array.prototype.concat,RP0=Array.prototype.slice,smD=amD.exports=function Q(K){var G=[];for(var C=0,y=K.length;C<y;C++){var x=K[C];if(NP0(x))G=TP0.call(G,RP0.call(x));else G.push(x)}return G};smD.wrap=function(Q){return function(){return Q(smD(arguments))}}});var $dD=r0((Ms0,FdD)=>{var cC=function(Q,K,G){return Math.min(Math.max(K,Q),G)},r8D=function(Q){var K=Math.round(Q).toString(16).toUpperCase();return K.length<2?"0"+K:K},Rd=cWD(),Id=tmD(),emD=Object.hasOwnProperty,DdD=Object.create(null);for(n8D in Rd)if(emD.call(Rd,n8D))DdD[Rd[n8D]]=n8D;var n8D,NK=FdD.exports={to:{},get:{}};NK.get=function(Q){var K=Q.substring(0,3).toLowerCase(),G,C;switch(K){case"hsl":G=NK.get.hsl(Q),C="hsl";break;case"hwb":G=NK.get.hwb(Q),C="hwb";break;default:G=NK.get.rgb(Q),C="rgb";break}if(!G)return null;return{model:C,value:G}};NK.get.rgb=function(Q){if(!Q)return null;var K=/^#([a-f0-9]{3,4})$/i,G=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,C=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,y=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,x=/^(\w+)$/,_=[0,0,0,1],VD,OD,HD;if(VD=Q.match(G)){HD=VD[2],VD=VD[1];for(OD=0;OD<3;OD++){var a=OD*2;_[OD]=parseInt(VD.slice(a,a+2),16)}if(HD)_[3]=parseInt(HD,16)/255}else if(VD=Q.match(K)){VD=VD[1],HD=VD[3];for(OD=0;OD<3;OD++)_[OD]=parseInt(VD[OD]+VD[OD],16);if(HD)_[3]=parseInt(HD+HD,16)/255}else if(VD=Q.match(C)){for(OD=0;OD<3;OD++)_[OD]=parseInt(VD[OD+1],0);if(VD[4])if(VD[5])_[3]=parseFloat(VD[4])*0.01;else _[3]=parseFloat(VD[4])}else if(VD=Q.match(y)){for(OD=0;OD<3;OD++)_[OD]=Math.round(parseFloat(VD[OD+1])*2.55);if(VD[4])if(VD[5])_[3]=parseFloat(VD[4])*0.01;else _[3]=parseFloat(VD[4])}else if(VD=Q.match(x)){if(VD[1]==="transparent")return[0,0,0,0];if(!emD.call(Rd,VD[1]))return null;return _=Rd[VD[1]],_[3]=1,_}else return null;for(OD=0;OD<3;OD++)_[OD]=cC(_[OD],0,255);return _[3]=cC(_[3],0,1),_};NK.get.hsl=function(Q){if(!Q)return null;var K=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,G=Q.match(K);if(G){var C=parseFloat(G[4]),y=(parseFloat(G[1])%360+360)%360,x=cC(parseFloat(G[2]),0,100),_=cC(parseFloat(G[3]),0,100),VD=cC(isNaN(C)?1:C,0,1);return[y,x,_,VD]}return null};NK.get.hwb=function(Q){if(!Q)return null;var K=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,G=Q.match(K);if(G){var C=parseFloat(G[4]),y=(parseFloat(G[1])%360+360)%360,x=cC(parseFloat(G[2]),0,100),_=cC(parseFloat(G[3]),0,100),VD=cC(isNaN(C)?1:C,0,1);return[y,x,_,VD]}return null};NK.to.hex=function(){var Q=Id(arguments);return"#"+r8D(Q[0])+r8D(Q[1])+r8D(Q[2])+(Q[3]<1?r8D(Math.round(Q[3]*255)):"")};NK.to.rgb=function(){var Q=Id(arguments);return Q.length<4||Q[3]===1?"rgb("+Math.round(Q[0])+", "+Math.round(Q[1])+", "+Math.round(Q[2])+")":"rgba("+Math.round(Q[0])+", "+Math.round(Q[1])+", "+Math.round(Q[2])+", "+Q[3]+")"};NK.to.rgb.percent=function(){var Q=Id(arguments),K=Math.round(Q[0]/255*100),G=Math.round(Q[1]/255*100),C=Math.round(Q[2]/255*100);return Q.length<4||Q[3]===1?"rgb("+K+"%, "+G+"%, "+C+"%)":"rgba("+K+"%, "+G+"%, "+C+"%, "+Q[3]+")"};NK.to.hsl=function(){var Q=Id(arguments);return Q.length<4||Q[3]===1?"hsl("+Q[0]+", "+Q[1]+"%, "+Q[2]+"%)":"hsla("+Q[0]+", "+Q[1]+"%, "+Q[2]+"%, "+Q[3]+")"};NK.to.hwb=function(){var Q=Id(arguments),K="";if(Q.length>=4&&Q[3]!==1)K=", "+Q[3];return"hwb("+Q[0]+", "+Q[1]+"%, "+Q[2]+"%"+K+")"};NK.to.keyword=function(Q){return DdD[Q.slice(0,3)]}});var BdD=r0((Os0,JdD)=>{var SX=function(Q,K){if(!(this instanceof SX))return new SX(Q,K);if(K&&K in ZdD)K=null;if(K&&!(K in TK))throw new Error("Unknown model: "+K);let G,C;if(Q==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(Q instanceof SX)this.model=Q.model,this.color=[...Q.color],this.valpha=Q.valpha;else if(typeof Q==="string"){const y=xu.get(Q);if(y===null)throw new Error("Unable to parse color from string: "+Q);this.model=y.model,C=TK[this.model].channels,this.color=y.value.slice(0,C),this.valpha=typeof y.value[C]==="number"?y.value[C]:1}else if(Q.length>0){this.model=K||"rgb",C=TK[this.model].channels;const y=Array.prototype.slice.call(Q,0,C);this.color=KUD(y,C),this.valpha=typeof Q[C]==="number"?Q[C]:1}else if(typeof Q==="number")this.model="rgb",this.color=[Q>>16&255,Q>>8&255,Q&255],this.valpha=1;else{this.valpha=1;const y=Object.keys(Q);if("alpha"in Q)y.splice(y.indexOf("alpha"),1),this.valpha=typeof Q.alpha==="number"?Q.alpha:0;const x=y.sort().join("");if(!(x in zUD))throw new Error("Unable to parse color from object: "+JSON.stringify(Q));this.model=zUD[x];const{labels:_}=TK[this.model],VD=[];for(G=0;G<_.length;G++)VD.push(Q[_[G]]);this.color=KUD(VD)}if(o8D[this.model]){C=TK[this.model].channels;for(G=0;G<C;G++){const y=o8D[this.model][G];if(y)this.color[G]=y(this.color[G])}}if(this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze)Object.freeze(this)},IP0=function(Q,K){return Number(Q.toFixed(K))},yP0=function(Q){return function(K){return IP0(K,Q)}},BJ=function(Q,K,G){Q=Array.isArray(Q)?Q:[Q];for(let C of Q)(o8D[C]||(o8D[C]=[]))[K]=G;return Q=Q[0],function(C){let y;if(C!==void 0){if(G)C=G(C);return y=this[Q](),y.color[K]=C,y}if(y=this[Q]().color[K],G)y=G(y);return y}},lB=function(Q){return function(K){return Math.max(0,Math.min(Q,K))}},PP0=function(Q){return Array.isArray(Q)?Q:[Q]},KUD=function(Q,K){for(let G=0;G<K;G++)if(typeof Q[G]!=="number")Q[G]=0;return Q},xu=$dD(),TK=pWD(),ZdD=["keyword","gray","hex"],zUD={};for(let Q of Object.keys(TK))zUD[[...TK[Q].labels].sort().join("")]=Q;var o8D={};SX.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(Q){let K=this.model in xu.to?this:this.rgb();K=K.round(typeof Q==="number"?Q:1);const G=K.valpha===1?K.color:[...K.color,this.valpha];return xu.to[K.model](G)},percentString(Q){const K=this.rgb().round(typeof Q==="number"?Q:1),G=K.valpha===1?K.color:[...K.color,this.valpha];return xu.to.rgb.percent(G)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){const Q={},{channels:K}=TK[this.model],{labels:G}=TK[this.model];for(let C=0;C<K;C++)Q[G[C]]=this.color[C];if(this.valpha!==1)Q.alpha=this.valpha;return Q},unitArray(){const Q=this.rgb().color;if(Q[0]/=255,Q[1]/=255,Q[2]/=255,this.valpha!==1)Q.push(this.valpha);return Q},unitObject(){const Q=this.rgb().object();if(Q.r/=255,Q.g/=255,Q.b/=255,this.valpha!==1)Q.alpha=this.valpha;return Q},round(Q){return Q=Math.max(Q||0,0),new SX([...this.color.map(yP0(Q)),this.valpha],this.model)},alpha(Q){if(Q!==void 0)return new SX([...this.color,Math.max(0,Math.min(1,Q))],this.model);return this.valpha},red:BJ("rgb",0,lB(255)),green:BJ("rgb",1,lB(255)),blue:BJ("rgb",2,lB(255)),hue:BJ(["hsl","hsv","hsl","hwb","hcg"],0,(Q)=>(Q%360+360)%360),saturationl:BJ("hsl",1,lB(100)),lightness:BJ("hsl",2,lB(100)),saturationv:BJ("hsv",1,lB(100)),value:BJ("hsv",2,lB(100)),chroma:BJ("hcg",1,lB(100)),gray:BJ("hcg",2,lB(100)),white:BJ("hwb",1,lB(100)),wblack:BJ("hwb",2,lB(100)),cyan:BJ("cmyk",0,lB(100)),magenta:BJ("cmyk",1,lB(100)),yellow:BJ("cmyk",2,lB(100)),black:BJ("cmyk",3,lB(100)),x:BJ("xyz",0,lB(95.047)),y:BJ("xyz",1,lB(100)),z:BJ("xyz",2,lB(108.833)),l:BJ("lab",0,lB(100)),a:BJ("lab",1),b:BJ("lab",2),keyword(Q){if(Q!==void 0)return new SX(Q);return TK[this.model].keyword(this.color)},hex(Q){if(Q!==void 0)return new SX(Q);return xu.to.hex(this.rgb().round().color)},hexa(Q){if(Q!==void 0)return new SX(Q);const K=this.rgb().round().color;let G=Math.round(this.valpha*255).toString(16).toUpperCase();if(G.length===1)G="0"+G;return xu.to.hex(K)+G},rgbNumber(){const Q=this.rgb().color;return(Q[0]&255)<<16|(Q[1]&255)<<8|Q[2]&255},luminosity(){const Q=this.rgb().color,K=[];for(let[G,C]of Q.entries()){const y=C/255;K[G]=y<=0.04045?y/12.92:((y+0.055)/1.055)**2.4}return 0.2126*K[0]+0.7152*K[1]+0.0722*K[2]},contrast(Q){const K=this.luminosity(),G=Q.luminosity();if(K>G)return(K+0.05)/(G+0.05);return(G+0.05)/(K+0.05)},level(Q){const K=this.contrast(Q);if(K>=7)return"AAA";return K>=4.5?"AA":""},isDark(){const Q=this.rgb().color;return(Q[0]*2126+Q[1]*7152+Q[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){const Q=this.rgb();for(let K=0;K<3;K++)Q.color[K]=255-Q.color[K];return Q},lighten(Q){const K=this.hsl();return K.color[2]+=K.color[2]*Q,K},darken(Q){const K=this.hsl();return K.color[2]-=K.color[2]*Q,K},saturate(Q){const K=this.hsl();return K.color[1]+=K.color[1]*Q,K},desaturate(Q){const K=this.hsl();return K.color[1]-=K.color[1]*Q,K},whiten(Q){const K=this.hwb();return K.color[1]+=K.color[1]*Q,K},blacken(Q){const K=this.hwb();return K.color[2]+=K.color[2]*Q,K},grayscale(){const Q=this.rgb().color,K=Q[0]*0.3+Q[1]*0.59+Q[2]*0.11;return SX.rgb(K,K,K)},fade(Q){return this.alpha(this.valpha-this.valpha*Q)},opaquer(Q){return this.alpha(this.valpha+this.valpha*Q)},rotate(Q){const K=this.hsl();let G=K.color[0];return G=(G+Q)%360,G=G<0?360+G:G,K.color[0]=G,K},mix(Q,K){if(!Q||!Q.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof Q);const G=Q.rgb(),C=this.rgb(),y=K===void 0?0.5:K,x=2*y-1,_=G.alpha()-C.alpha(),VD=((x*_===-1?x:(x+_)/(1+x*_))+1)/2,OD=1-VD;return SX.rgb(VD*G.red()+OD*C.red(),VD*G.green()+OD*C.green(),VD*G.blue()+OD*C.blue(),G.alpha()*y+C.alpha()*(1-y))}};for(let Q of Object.keys(TK)){if(ZdD.includes(Q))continue;const{channels:K}=TK[Q];SX.prototype[Q]=function(...G){if(this.model===Q)return new SX(this);if(G.length>0)return new SX(G,Q);return new SX([...PP0(TK[this.model][Q].raw(this.color)),this.valpha],Q)},SX[Q]=function(...G){let C=G[0];if(typeof C==="number")C=KUD(G,K);return new SX(C,Q)}}JdD.exports=SX});var QdD=r0((XdD)=>{Object.defineProperty(XdD,"__esModule",{value:!0});XdD.THEME_KEYS=XdD.STANDARD_CHALK=void 0;XdD.STANDARD_CHALK=["white","black","blue","yellow","green","red","magenta","cyan","gray","blackBright","redBright","greenBright","yellowBright","blueBright","magentaBright","cyanBright","whiteBright","bgBlack","bgRed","bgGreen","bgYellow","bgBlue","bgMagenta","bgCyan","bgWhite","bgGray","bgBlackBright","bgRedBright","bgGreenBright","bgYellowBright","bgBlueBright","bgMagentaBright","bgCyanBright","bgWhiteBright","bold","underline","dim","italic","strikethrough"];XdD.THEME_KEYS=["alias","bin","command","commandSummary","dollarSign","flag","flagDefaultValue","flagOptions","flagRequired","flagSeparator","sectionDescription","sectionHeader","topic","version"]});var TR=r0((YQ)=>{var zdD=function(Q){return xP0.STANDARD_CHALK.includes(Q)},kP0=function(Q,K){if(zdD(Q))return VdD.default[Q](K);return Q?VdD.default.hex(Q)(K):K},hP0=function(Q){return Object.fromEntries(Object.entries(Q).map(([K,G])=>[K,KdD(G)]).filter(([K,G])=>G))},KdD=function(Q){try{return zdD(Q)?Q:new bP0.default(Q).hex()}catch{}},SP0=YQ&&YQ.__createBinding||(Object.create?function(Q,K,G,C){if(C===void 0)C=G;var y=Object.getOwnPropertyDescriptor(K,G);if(!y||("get"in y?!K.__esModule:y.writable||y.configurable))y={enumerable:!0,get:function(){return K[G]}};Object.defineProperty(Q,C,y)}:function(Q,K,G,C){if(C===void 0)C=G;Q[C]=K[G]}),uP0=YQ&&YQ.__setModuleDefault||(Object.create?function(Q,K){Object.defineProperty(Q,"default",{enumerable:!0,value:K})}:function(Q,K){Q.default=K}),fP0=YQ&&YQ.__importStar||function(Q){if(Q&&Q.__esModule)return Q;var K={};if(Q!=null){for(var G in Q)if(G!=="default"&&Object.prototype.hasOwnProperty.call(Q,G))SP0(K,Q,G)}return uP0(K,Q),K},vP0=YQ&&YQ.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(YQ,"__esModule",{value:!0});YQ.getColor=YQ.parseTheme=YQ.colorize=void 0;var VdD=vP0(CK()),bP0=fP0(BdD()),xP0=QdD();YQ.colorize=kP0;YQ.parseTheme=hP0;YQ.getColor=KdD});var s8D=r0((Rj)=>{var qUD=function(Q){let K;if(typeof Q==="string")K=new WdD.CLIError.Warn(Q);else if(Q instanceof Error)K=WdD.addOclifExitCode(Q);else throw new TypeError("first argument must be a string or instance of Error");const G=gP0.default(K);if(G)_P0.default.stderr(G+"\n");if(qdD.config.errorLogger)qdD.config.errorLogger.log(K?.stack??"")},mP0=function(Q){if(!UdD.has(Q))qUD(Q);UdD.add(Q)},GdD=Rj&&Rj.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(Rj,"__esModule",{value:!0});Rj.memoizedWarn=Rj.warn=void 0;var _P0=GdD(gC()),qdD=CR(),WdD=ER(),gP0=GdD(p8D());Rj.warn=qUD;var UdD=new Set;Rj.memoizedWarn=mP0;Rj.default=qUD});var HdD=r0((Cs0,yd)=>{var __dirname="/Users/jasoncomes/Desktop/Prismatic/prism/node_modules/typescript/lib",__filename="/Users/jasoncomes/Desktop/Prismatic/prism/node_modules/typescript/lib/typescript.js";/*! *****************************************************************************
|
|
3
3
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
5
5
|
this file except in compliance with the License. You may obtain a copy of the
|
|
@@ -334,7 +334,7 @@ Projects::
|
|
|
334
334
|
`;let Y=0;const V=(q)=>{B+=`
|
|
335
335
|
Project '${q.projectName}' (${vT[q.projectKind]}) ${Y}
|
|
336
336
|
`,B+=q.filesToString(!0),B+="\n-----------------------------------------------\n",Y++};this.projectService.externalProjects.forEach(V),this.projectService.configuredProjects.forEach(V),this.projectService.inferredProjects.forEach(V)}}this.logger.msg(B,"Err")}send(F){if(F.type==="event"&&!this.canUseEvents){if(this.logger.hasLevel(3))this.logger.info(`Session does not support events: ignored event: ${qq(F)}`);return}this.writeMessage(F)}writeMessage(F){var Z;const J=eVD(F,this.logger,this.byteLength,this.host.newLine);(Z=j2)==null||Z.logEvent(`Response message size: ${J.length}`),this.host.write(J)}event(F,Z){this.send(DzD(Z,F))}doOutput(F,Z,J,B,Y){const V={seq:0,type:"response",command:Z,request_seq:J,success:B,performanceData:this.performanceData};if(B){let q;if(x6(F))V.body=F,q=F.metadata,delete F.metadata;else if(typeof F==="object")if(F.metadata){const{metadata:U,...j}=F;V.body=j,q=U}else V.body=F;else V.body=F;if(q)V.metadata=q}else S.assert(F===void 0);if(Y)V.message=Y;this.send(V)}semanticCheck(F,Z){var J,B;(J=U8)==null||J.push(U8.Phase.Session,"semanticCheck",{file:F,configFilePath:Z.canonicalConfigFilePath});const Y=gfD(Z,F)?T4:Z.getLanguageService().getSemanticDiagnostics(F).filter((V)=>!!V.file);this.sendDiagnosticsEvent(F,Z,Y,"semanticDiag"),(B=U8)==null||B.pop()}syntacticCheck(F,Z){var J,B;(J=U8)==null||J.push(U8.Phase.Session,"syntacticCheck",{file:F,configFilePath:Z.canonicalConfigFilePath}),this.sendDiagnosticsEvent(F,Z,Z.getLanguageService().getSyntacticDiagnostics(F),"syntaxDiag"),(B=U8)==null||B.pop()}suggestionCheck(F,Z){var J,B;(J=U8)==null||J.push(U8.Phase.Session,"suggestionCheck",{file:F,configFilePath:Z.canonicalConfigFilePath}),this.sendDiagnosticsEvent(F,Z,Z.getLanguageService().getSuggestionDiagnostics(F),"suggestionDiag"),(B=U8)==null||B.pop()}sendDiagnosticsEvent(F,Z,J,B){try{this.event({file:F,diagnostics:J.map((Y)=>mfD(F,Z,Y))},B)}catch(Y){this.logError(Y,B)}}updateErrorCheck(F,Z,J,B=!0){S.assert(!this.suppressDiagnosticEvents);const Y=this.changeSeq,V=Math.min(J,200);let q=0;const U=()=>{if(q++,Z.length>q)F.delay("checkOne",V,j)},j=()=>{if(this.changeSeq!==Y)return;let M=Z[q];if(g6(M)){if(M=this.toPendingErrorCheck(M),!M){U();return}}const{fileName:A,project:T}=M;if($Z(T),!T.containsFile(A,B))return;if(this.syntacticCheck(A,T),this.changeSeq!==Y)return;if(T.projectService.serverMode!==0){U();return}F.immediate("semanticCheck",()=>{if(this.semanticCheck(A,T),this.changeSeq!==Y)return;if(this.getPreferences(A).disableSuggestions){U();return}F.immediate("suggestionCheck",()=>{this.suggestionCheck(A,T),U()})})};if(Z.length>q&&this.changeSeq===Y)F.delay("checkOne",J,j)}cleanProjects(F,Z){if(!Z)return;this.logger.info(`cleaning ${F}`);for(let J of Z)J.getLanguageService(!1).cleanupSemanticCache(),J.cleanupProgram()}cleanup(){if(this.cleanProjects("inferred projects",this.projectService.inferredProjects),this.cleanProjects("configured projects",n6(this.projectService.configuredProjects.values())),this.cleanProjects("external projects",this.projectService.externalProjects),this.host.gc)this.logger.info("host.gc()"),this.host.gc()}getEncodedSyntacticClassifications(F){const{file:Z,languageService:J}=this.getFileAndLanguageServiceForSyntacticOperation(F);return J.getEncodedSyntacticClassifications(Z,F)}getEncodedSemanticClassifications(F){const{file:Z,project:J}=this.getFileAndProject(F),B=F.format==="2020"?"2020":"original";return J.getLanguageService().getEncodedSemanticClassifications(Z,F,B)}getProject(F){return F===void 0?void 0:this.projectService.findProject(F)}getConfigFileAndProject(F){const Z=this.getProject(F.projectFileName),J=L9(F.file);return{configFile:Z&&Z.hasConfigFile(J)?J:void 0,project:Z}}getConfigFileDiagnostics(F,Z,J){const B=Z.getAllProjectErrors(),Y=Z.getLanguageService().getCompilerOptionsDiagnostics(),V=a0(y5(B,Y),(q)=>!!q.file&&q.file.fileName===F);return J?this.convertToDiagnosticsWithLinePositionFromDiagnosticFile(V):K1(V,(q)=>fS(q,!1))}convertToDiagnosticsWithLinePositionFromDiagnosticFile(F){return F.map((Z)=>({message:KX(Z.messageText,this.host.newLine),start:Z.start,length:Z.length,category:DG(Z),code:Z.code,source:Z.source,startLocation:Z.file&&uS(I7(Z.file,Z.start)),endLocation:Z.file&&uS(I7(Z.file,Z.start+Z.length)),reportsUnnecessary:Z.reportsUnnecessary,reportsDeprecated:Z.reportsDeprecated,relatedInformation:K1(Z.relatedInformation,v0D)}))}getCompilerOptionsDiagnostics(F){const Z=this.getProject(F.projectFileName);return this.convertToDiagnosticsWithLinePosition(a0(Z.getLanguageService().getCompilerOptionsDiagnostics(),(J)=>!J.file),void 0)}convertToDiagnosticsWithLinePosition(F,Z){return F.map((J)=>({message:KX(J.messageText,this.host.newLine),start:J.start,length:J.length,category:DG(J),code:J.code,source:J.source,startLocation:Z&&Z.positionToLineOffset(J.start),endLocation:Z&&Z.positionToLineOffset(J.start+J.length),reportsUnnecessary:J.reportsUnnecessary,reportsDeprecated:J.reportsDeprecated,relatedInformation:K1(J.relatedInformation,v0D)}))}getDiagnosticsWorker(F,Z,J,B){const{project:Y,file:V}=this.getFileAndProject(F);if(Z&&gfD(Y,V))return T4;const q=Y.getScriptInfoForNormalizedPath(V),U=J(Y,V);return B?this.convertToDiagnosticsWithLinePosition(U,q):U.map((j)=>mfD(V,Y,j))}getDefinition(F,Z){const{file:J,project:B}=this.getFileAndProject(F),Y=this.getPositionInFile(F,J),V=this.mapDefinitionInfoLocations(B.getLanguageService().getDefinitionAtPosition(J,Y)||T4,B);return Z?this.mapDefinitionInfo(V,B):V.map(D.mapToOriginalLocation)}mapDefinitionInfoLocations(F,Z){return F.map((J)=>{const B=lfD(J,Z);return!B?J:{...B,containerKind:J.containerKind,containerName:J.containerName,kind:J.kind,name:J.name,failedAliasResolution:J.failedAliasResolution,...J.unverified&&{unverified:J.unverified}}})}getDefinitionAndBoundSpan(F,Z){const{file:J,project:B}=this.getFileAndProject(F),Y=this.getPositionInFile(F,J),V=S.checkDefined(B.getScriptInfo(J)),q=B.getLanguageService().getDefinitionAndBoundSpan(J,Y);if(!q||!q.definitions)return{definitions:T4,textSpan:void 0};const U=this.mapDefinitionInfoLocations(q.definitions,B),{textSpan:j}=q;if(Z)return{definitions:this.mapDefinitionInfo(U,B),textSpan:JY(j,V)};return{definitions:U.map(D.mapToOriginalLocation),textSpan:j}}findSourceDefinition(F){var Z;const{file:J,project:B}=this.getFileAndProject(F),Y=this.getPositionInFile(F,J),V=B.getLanguageService().getDefinitionAtPosition(J,Y);let q=this.mapDefinitionInfoLocations(V||T4,B).slice();if(this.projectService.serverMode===0&&(!B0(q,(R)=>L9(R.fileName)!==J&&!R.isAmbient)||B0(q,(R)=>!!R.failedAliasResolution))){const R=Mc((g)=>g.textSpan.start,Na(this.host.useCaseSensitiveFileNames));q==null||q.forEach((g)=>R.add(g));const P=B.getNoDtsResolutionProject(J),v=P.getLanguageService(),f=(Z=v.getDefinitionAtPosition(J,Y,!0,!1))==null?void 0:Z.filter((g)=>L9(g.fileName)!==J);if(B0(f))for(let g of f){if(g.unverified){const n=A(g,B.getLanguageService().getProgram(),v.getProgram());if(B0(n)){for(let t of n)R.add(t);continue}}R.add(g)}else{const g=q.filter((n)=>L9(n.fileName)!==J&&n.isAmbient);for(let n of B0(g)?g:M()){const t=j(n.fileName,J,P);if(!t)continue;const $D=this.projectService.getOrCreateScriptInfoNotOpenedByClient(t,P.currentDirectory,P.directoryStructureHost);if(!$D)continue;if(!P.containsScriptInfo($D))P.addRoot($D),P.updateGraph();const p=v.getProgram(),MD=S.checkDefined(p.getSourceFile(t));for(let l of T(n.name,MD,p))R.add(l)}}q=n6(R.values())}return q=q.filter((R)=>!R.isAmbient&&!R.failedAliasResolution),this.mapDefinitionInfo(q,B);function j(R,P,v){var f,g,n;const t=nb(R);if(t&&R.lastIndexOf($Y)===t.topLevelNodeModulesIndex){const $D=R.substring(0,t.packageRootIndex),p=(f=B.getModuleResolutionCache())==null?void 0:f.getPackageJsonInfoCache(),MD=B.getCompilationSettings(),l=gP(N6($D+"/package.json",B.getCurrentDirectory()),_P(p,B,MD));if(!l)return;const BD=kr(l,{moduleResolution:2},B,B.getModuleResolutionCache()),ND=R.substring(t.topLevelPackageNameIndex+1,t.packageRootIndex),yD=lN(cP(ND)),DD=B.toPath(R);if(BD&&B0(BD,(e)=>B.toPath(e)===DD))return(g=v.resolutionCache.resolveSingleModuleNameWithoutWatching(yD,P).resolvedModule)==null?void 0:g.resolvedFileName;else{const e=R.substring(t.packageRootIndex+1),zD=`${yD}/${m2(e)}`;return(n=v.resolutionCache.resolveSingleModuleNameWithoutWatching(zD,P).resolvedModule)==null?void 0:n.resolvedFileName}}return}function M(){const R=B.getLanguageService(),P=R.getProgram(),v=Z$(P.getSourceFile(J),Y);if((H7(v)||sD(v))&&m7(v.parent))return y9D(v,(f)=>{var g;if(f===v)return;const n=(g=R.getDefinitionAtPosition(J,f.getStart(),!0,!1))==null?void 0:g.filter((t)=>L9(t.fileName)!==J&&t.isAmbient).map((t)=>({fileName:t.fileName,name:HJ(v)}));if(B0(n))return n})||T4;return T4}function A(R,P,v){var f;const g=v.getSourceFile(R.fileName);if(!g)return;const n=Z$(P.getSourceFile(J),Y),t=P.getTypeChecker().getSymbolAtLocation(n),$D=t&&j9(t,276);if(!$D)return;const p=((f=$D.propertyName)==null?void 0:f.text)||$D.name.text;return T(p,g,v)}function T(R,P,v){const f=c7.Core.getTopMostDeclarationNamesInFile(R,P);return m5(f,(g)=>{const n=v.getTypeChecker().getSymbolAtLocation(g),t=fE(g);if(n&&t)return _A.createDefinitionInfo(t,v.getTypeChecker(),n,t,!0)})}}getEmitOutput(F){const{file:Z,project:J}=this.getFileAndProject(F);if(!J.shouldEmitFile(J.getScriptInfo(Z)))return{emitSkipped:!0,outputFiles:[],diagnostics:[]};const B=J.getLanguageService().getEmitOutput(Z);return F.richResponse?{...B,diagnostics:F.includeLinePosition?this.convertToDiagnosticsWithLinePositionFromDiagnosticFile(B.diagnostics):B.diagnostics.map((Y)=>fS(Y,!0))}:B}mapJSDocTagInfo(F,Z,J){return F?F.map((B)=>{var Y;return{...B,text:J?this.mapDisplayParts(B.text,Z):(Y=B.text)==null?void 0:Y.map((V)=>V.text).join("")}}):[]}mapDisplayParts(F,Z){if(!F)return[];return F.map((J)=>J.kind!=="linkName"?J:{...J,target:this.toFileSpan(J.target.fileName,J.target.textSpan,Z)})}mapSignatureHelpItems(F,Z,J){return F.map((B)=>({...B,documentation:this.mapDisplayParts(B.documentation,Z),parameters:B.parameters.map((Y)=>({...Y,documentation:this.mapDisplayParts(Y.documentation,Z)})),tags:this.mapJSDocTagInfo(B.tags,Z,J)}))}mapDefinitionInfo(F,Z){return F.map((J)=>({...this.toFileSpanWithContext(J.fileName,J.textSpan,J.contextSpan,Z),...J.unverified&&{unverified:J.unverified}}))}static mapToOriginalLocation(F){if(F.originalFileName)return S.assert(F.originalTextSpan!==void 0,"originalTextSpan should be present if originalFileName is"),{...F,fileName:F.originalFileName,textSpan:F.originalTextSpan,targetFileName:F.fileName,targetTextSpan:F.textSpan,contextSpan:F.originalContextSpan,targetContextSpan:F.contextSpan};return F}toFileSpan(F,Z,J){const B=J.getLanguageService(),Y=B.toLineColumnOffset(F,Z.start),V=B.toLineColumnOffset(F,Z4(Z));return{file:F,start:{line:Y.line+1,offset:Y.character+1},end:{line:V.line+1,offset:V.character+1}}}toFileSpanWithContext(F,Z,J,B){const Y=this.toFileSpan(F,Z,B),V=J&&this.toFileSpan(F,J,B);return V?{...Y,contextStart:V.start,contextEnd:V.end}:Y}getTypeDefinition(F){const{file:Z,project:J}=this.getFileAndProject(F),B=this.getPositionInFile(F,Z),Y=this.mapDefinitionInfoLocations(J.getLanguageService().getTypeDefinitionAtPosition(Z,B)||T4,J);return this.mapDefinitionInfo(Y,J)}mapImplementationLocations(F,Z){return F.map((J)=>{const B=lfD(J,Z);return!B?J:{...B,kind:J.kind,displayParts:J.displayParts}})}getImplementation(F,Z){const{file:J,project:B}=this.getFileAndProject(F),Y=this.getPositionInFile(F,J),V=this.mapImplementationLocations(B.getLanguageService().getImplementationAtPosition(J,Y)||T4,B);return Z?V.map(({fileName:q,textSpan:U,contextSpan:j})=>this.toFileSpanWithContext(q,U,j,B)):V.map(D.mapToOriginalLocation)}getSyntacticDiagnosticsSync(F){const{configFile:Z}=this.getConfigFileAndProject(F);if(Z)return T4;return this.getDiagnosticsWorker(F,!1,(J,B)=>J.getLanguageService().getSyntacticDiagnostics(B),!!F.includeLinePosition)}getSemanticDiagnosticsSync(F){const{configFile:Z,project:J}=this.getConfigFileAndProject(F);if(Z)return this.getConfigFileDiagnostics(Z,J,!!F.includeLinePosition);return this.getDiagnosticsWorker(F,!0,(B,Y)=>B.getLanguageService().getSemanticDiagnostics(Y).filter((V)=>!!V.file),!!F.includeLinePosition)}getSuggestionDiagnosticsSync(F){const{configFile:Z}=this.getConfigFileAndProject(F);if(Z)return T4;return this.getDiagnosticsWorker(F,!0,(J,B)=>J.getLanguageService().getSuggestionDiagnostics(B),!!F.includeLinePosition)}getJsxClosingTag(F){const{file:Z,languageService:J}=this.getFileAndLanguageServiceForSyntacticOperation(F),B=this.getPositionInFile(F,Z),Y=J.getJsxClosingTagAtPosition(Z,B);return Y===void 0?void 0:{newText:Y.newText,caretOffset:0}}getLinkedEditingRange(F){const{file:Z,languageService:J}=this.getFileAndLanguageServiceForSyntacticOperation(F),B=this.getPositionInFile(F,Z),Y=J.getLinkedEditingRangeAtPosition(Z,B),V=this.projectService.getScriptInfoForNormalizedPath(Z);if(V===void 0||Y===void 0)return;return bU0(Y,V)}getDocumentHighlights(F,Z){const{file:J,project:B}=this.getFileAndProject(F),Y=this.getPositionInFile(F,J),V=B.getLanguageService().getDocumentHighlights(J,Y,F.filesToSearch);if(!V)return T4;if(!Z)return V;return V.map(({fileName:q,highlightSpans:U})=>{const j=B.getScriptInfo(q);return{file:q,highlightSpans:U.map(({textSpan:M,kind:A,contextSpan:T})=>({...$zD(M,T,j),kind:A}))}})}provideInlayHints(F){const{file:Z,project:J}=this.getFileAndProject(F),B=this.projectService.getScriptInfoForNormalizedPath(Z);return J.getLanguageService().provideInlayHints(Z,F,this.getPreferences(Z)).map((V)=>{const{position:q,displayParts:U}=V;return{...V,position:B.positionToLineOffset(q),displayParts:U==null?void 0:U.map(({text:j,span:M,file:A})=>{if(M){S.assertIsDefined(A,"Target file should be defined together with its span.");const T=this.projectService.getScriptInfo(A);return{text:j,span:{start:T.positionToLineOffset(M.start),end:T.positionToLineOffset(M.start+M.length),file:A}}}else return{text:j}})}})}setCompilerOptionsForInferredProjects(F){this.projectService.setCompilerOptionsForInferredProjects(F.options,F.projectRootPath)}getProjectInfo(F){return this.getProjectInfoWorker(F.file,F.projectFileName,F.needFileNameList,!1)}getProjectInfoWorker(F,Z,J,B){const{project:Y}=this.getFileAndProjectWorker(F,Z);return $Z(Y),{configFileName:Y.getProjectName(),languageServiceDisabled:!Y.languageServiceEnabled,fileNames:J?Y.getFileNames(!1,B):void 0}}getRenameInfo(F){const{file:Z,project:J}=this.getFileAndProject(F),B=this.getPositionInFile(F,Z),Y=this.getPreferences(Z);return J.getLanguageService().getRenameInfo(Z,B,Y)}getProjects(F,Z,J){let B,Y;if(F.projectFileName){const V=this.getProject(F.projectFileName);if(V)B=[V]}else{const V=Z?this.projectService.getScriptInfoEnsuringProjectsUptoDate(F.file):this.projectService.getScriptInfo(F.file);if(!V){if(J)return T4;return this.projectService.logErrorForScriptInfoNotFound(F.file),wV.ThrowNoProject()}else if(!Z)this.projectService.ensureDefaultProjectForFile(V);B=V.containingProjects,Y=this.projectService.getSymlinkedProjects(V)}if(B=a0(B,(V)=>V.languageServiceEnabled&&!V.isOrphan()),!J&&(!B||!B.length)&&!Y)return this.projectService.logErrorForScriptInfoNotFound(F.file??F.projectFileName),wV.ThrowNoProject();return Y?{projects:B,symLinkedProjects:Y}:B}getDefaultProject(F){if(F.projectFileName){const J=this.getProject(F.projectFileName);if(J)return J;if(!F.file)return wV.ThrowNoProject()}return this.projectService.getScriptInfo(F.file).getDefaultProject()}getRenameLocations(F,Z){const J=L9(F.file),B=this.getPositionInFile(F,J),Y=this.getProjects(F),V=this.getDefaultProject(F),q=this.getPreferences(J),U=this.mapRenameInfo(V.getLanguageService().getRenameInfo(J,B,q),S.checkDefined(this.projectService.getScriptInfo(J)));if(!U.canRename)return Z?{info:U,locs:[]}:[];const j=yU0(Y,V,{fileName:F.file,pos:B},!!F.findInStrings,!!F.findInComments,q,this.host.useCaseSensitiveFileNames);if(!Z)return j;return{info:U,locs:this.toSpanGroups(j)}}mapRenameInfo(F,Z){if(F.canRename){const{canRename:J,fileToRename:B,displayName:Y,fullDisplayName:V,kind:q,kindModifiers:U,triggerSpan:j}=F;return n7({canRename:J,fileToRename:B,displayName:Y,fullDisplayName:V,kind:q,kindModifiers:U,triggerSpan:JY(j,Z)})}else return F}toSpanGroups(F){const Z=new Map;for(let{fileName:J,textSpan:B,contextSpan:Y,originalContextSpan:V,originalTextSpan:q,originalFileName:U,...j}of F){let M=Z.get(J);if(!M)Z.set(J,M={file:J,locs:[]});const A=S.checkDefined(this.projectService.getScriptInfo(J));M.locs.push({...$zD(B,Y,A),...j})}return n6(Z.values())}getReferences(F,Z){const J=L9(F.file),B=this.getProjects(F),Y=this.getPositionInFile(F,J),V=wU0(B,this.getDefaultProject(F),{fileName:F.file,pos:Y},this.host.useCaseSensitiveFileNames,this.logger);if(!Z)return V;const q=this.getPreferences(J),U=this.getDefaultProject(F),j=U.getScriptInfoForNormalizedPath(J),M=U.getLanguageService().getQuickInfoAtPosition(J,Y),A=M?$S(M.displayParts):"",T=M&&M.textSpan,R=T?j.positionToLineOffset(T.start).offset:0,P=T?j.getSnapshot().getText(T.start,Z4(T)):"";return{refs:h5(V,(f)=>{return f.references.map((g)=>pfD(this.projectService,g,q))}),symbolName:P,symbolStartOffset:R,symbolDisplayString:A}}getFileReferences(F,Z){const J=this.getProjects(F),B=F.file,Y=this.getPreferences(L9(B)),V=[],q=b0D(this.host.useCaseSensitiveFileNames);if(FzD(J,void 0,(j)=>{if(j.getCancellationToken().isCancellationRequested())return;const M=j.getLanguageService().getFileReferences(B);if(M){for(let A of M)if(!q.has(A))V.push(A),q.add(A)}}),!Z)return V;return{refs:V.map((j)=>pfD(this.projectService,j,Y)),symbolName:`"${F.file}"`}}openClientFile(F,Z,J,B){this.projectService.openClientFileWithNormalizedPath(F,Z,J,!1,B)}getPosition(F,Z){return F.position!==void 0?F.position:Z.lineOffsetToPosition(F.line,F.offset)}getPositionInFile(F,Z){const J=this.projectService.getScriptInfoForNormalizedPath(Z);return this.getPosition(F,J)}getFileAndProject(F){return this.getFileAndProjectWorker(F.file,F.projectFileName)}getFileAndLanguageServiceForSyntacticOperation(F){const{file:Z,project:J}=this.getFileAndProject(F);return{file:Z,languageService:J.getLanguageService(!1)}}getFileAndProjectWorker(F,Z){const J=L9(F),B=this.getProject(Z)||this.projectService.ensureDefaultProjectForFile(J);return{file:J,project:B}}getOutliningSpans(F,Z){const{file:J,languageService:B}=this.getFileAndLanguageServiceForSyntacticOperation(F),Y=B.getOutliningSpans(J);if(Z){const V=this.projectService.getScriptInfoForNormalizedPath(J);return Y.map((q)=>({textSpan:JY(q.textSpan,V),hintSpan:JY(q.hintSpan,V),bannerText:q.bannerText,autoCollapse:q.autoCollapse,kind:q.kind}))}else return Y}getTodoComments(F){const{file:Z,project:J}=this.getFileAndProject(F);return J.getLanguageService().getTodoComments(Z,F.descriptors)}getDocCommentTemplate(F){const{file:Z,languageService:J}=this.getFileAndLanguageServiceForSyntacticOperation(F),B=this.getPositionInFile(F,Z);return J.getDocCommentTemplateAtPosition(Z,B,this.getPreferences(Z),this.getFormatOptions(Z))}getSpanOfEnclosingComment(F){const{file:Z,languageService:J}=this.getFileAndLanguageServiceForSyntacticOperation(F),B=F.onlyMultiLine,Y=this.getPositionInFile(F,Z);return J.getSpanOfEnclosingComment(Z,Y,B)}getIndentation(F){const{file:Z,languageService:J}=this.getFileAndLanguageServiceForSyntacticOperation(F),B=this.getPositionInFile(F,Z),Y=F.options?iA(F.options):this.getFormatOptions(Z),V=J.getIndentationAtPosition(Z,B,Y);return{position:B,indentation:V}}getBreakpointStatement(F){const{file:Z,languageService:J}=this.getFileAndLanguageServiceForSyntacticOperation(F),B=this.getPositionInFile(F,Z);return J.getBreakpointStatementAtPosition(Z,B)}getNameOrDottedNameSpan(F){const{file:Z,languageService:J}=this.getFileAndLanguageServiceForSyntacticOperation(F),B=this.getPositionInFile(F,Z);return J.getNameOrDottedNameSpan(Z,B,B)}isValidBraceCompletion(F){const{file:Z,languageService:J}=this.getFileAndLanguageServiceForSyntacticOperation(F),B=this.getPositionInFile(F,Z);return J.isValidBraceCompletionAtPosition(Z,B,F.openingBrace.charCodeAt(0))}getQuickInfoWorker(F,Z){const{file:J,project:B}=this.getFileAndProject(F),Y=this.projectService.getScriptInfoForNormalizedPath(J),V=B.getLanguageService().getQuickInfoAtPosition(J,this.getPosition(F,Y));if(!V)return;const q=!!this.getPreferences(J).displayPartsForJSDoc;if(Z){const U=$S(V.displayParts);return{kind:V.kind,kindModifiers:V.kindModifiers,start:Y.positionToLineOffset(V.textSpan.start),end:Y.positionToLineOffset(Z4(V.textSpan)),displayString:U,documentation:q?this.mapDisplayParts(V.documentation,B):$S(V.documentation),tags:this.mapJSDocTagInfo(V.tags,B,q)}}else return q?V:{...V,tags:this.mapJSDocTagInfo(V.tags,B,!1)}}getFormattingEditsForRange(F){const{file:Z,languageService:J}=this.getFileAndLanguageServiceForSyntacticOperation(F),B=this.projectService.getScriptInfoForNormalizedPath(Z),Y=B.lineOffsetToPosition(F.line,F.offset),V=B.lineOffsetToPosition(F.endLine,F.endOffset),q=J.getFormattingEditsForRange(Z,Y,V,this.getFormatOptions(Z));if(!q)return;return q.map((U)=>this.convertTextChangeToCodeEdit(U,B))}getFormattingEditsForRangeFull(F){const{file:Z,languageService:J}=this.getFileAndLanguageServiceForSyntacticOperation(F),B=F.options?iA(F.options):this.getFormatOptions(Z);return J.getFormattingEditsForRange(Z,F.position,F.endPosition,B)}getFormattingEditsForDocumentFull(F){const{file:Z,languageService:J}=this.getFileAndLanguageServiceForSyntacticOperation(F),B=F.options?iA(F.options):this.getFormatOptions(Z);return J.getFormattingEditsForDocument(Z,B)}getFormattingEditsAfterKeystrokeFull(F){const{file:Z,languageService:J}=this.getFileAndLanguageServiceForSyntacticOperation(F),B=F.options?iA(F.options):this.getFormatOptions(Z);return J.getFormattingEditsAfterKeystroke(Z,F.position,F.key,B)}getFormattingEditsAfterKeystroke(F){const{file:Z,languageService:J}=this.getFileAndLanguageServiceForSyntacticOperation(F),B=this.projectService.getScriptInfoForNormalizedPath(Z),Y=B.lineOffsetToPosition(F.line,F.offset),V=this.getFormatOptions(Z),q=J.getFormattingEditsAfterKeystroke(Z,Y,F.key,V);if(F.key==="\n"&&(!q||q.length===0||RU0(q,Y))){const{lineText:U,absolutePosition:j}=B.textStorage.getAbsolutePositionAndLineText(F.line);if(U&&U.search("\\S")<0){const M=J.getIndentationAtPosition(Z,Y,V);let A=0,T,R;for(T=0,R=U.length;T<R;T++)if(U.charAt(T)===" ")A++;else if(U.charAt(T)===" ")A+=V.tabSize;else break;if(M!==A){const P=j+T;q.push({span:L4(j,P),newText:i4.getIndentationString(M,V)})}}}if(!q)return;return q.map((U)=>{return{start:B.positionToLineOffset(U.span.start),end:B.positionToLineOffset(Z4(U.span)),newText:U.newText?U.newText:""}})}getCompletions(F,Z){const{file:J,project:B}=this.getFileAndProject(F),Y=this.projectService.getScriptInfoForNormalizedPath(J),V=this.getPosition(F,Y),q=B.getLanguageService().getCompletionsAtPosition(J,V,{...mVD(this.getPreferences(J)),triggerCharacter:F.triggerCharacter,triggerKind:F.triggerKind,includeExternalModuleExports:F.includeExternalModuleExports,includeInsertTextCompletions:F.includeInsertTextCompletions},B.projectService.getFormatCodeOptions(J));if(q===void 0)return;if(Z==="completions-full")return q;const U=F.prefix||"",j=m5(q.entries,(A)=>{if(q.isMemberCompletion||H6(A.name.toLowerCase(),U.toLowerCase())){const{name:T,kind:R,kindModifiers:P,sortText:v,insertText:f,filterText:g,replacementSpan:n,hasAction:t,source:$D,sourceDisplay:p,labelDetails:MD,isSnippet:l,isRecommended:BD,isPackageJsonImport:ND,isImportStatementCompletion:yD,data:DD}=A,e=n?JY(n,Y):void 0;return{name:T,kind:R,kindModifiers:P,sortText:v,insertText:f,filterText:g,replacementSpan:e,isSnippet:l,hasAction:t||void 0,source:$D,sourceDisplay:p,labelDetails:MD,isRecommended:BD,isPackageJsonImport:ND,isImportStatementCompletion:yD,data:DD}}});if(Z==="completions"){if(q.metadata)j.metadata=q.metadata;return j}return{...q,optionalReplacementSpan:q.optionalReplacementSpan&&JY(q.optionalReplacementSpan,Y),entries:j}}getCompletionEntryDetails(F,Z){const{file:J,project:B}=this.getFileAndProject(F),Y=this.projectService.getScriptInfoForNormalizedPath(J),V=this.getPosition(F,Y),q=B.projectService.getFormatCodeOptions(J),U=!!this.getPreferences(J).displayPartsForJSDoc,j=m5(F.entryNames,(M)=>{const{name:A,source:T,data:R}=typeof M==="string"?{name:M,source:void 0,data:void 0}:M;return B.getLanguageService().getCompletionEntryDetails(J,V,A,q,T,this.getPreferences(J),R?qF(R,gU0):void 0)});return Z?U?j:j.map((M)=>({...M,tags:this.mapJSDocTagInfo(M.tags,B,!1)})):j.map((M)=>({...M,codeActions:K1(M.codeActions,(A)=>this.mapCodeAction(A)),documentation:this.mapDisplayParts(M.documentation,B),tags:this.mapJSDocTagInfo(M.tags,B,U)}))}getCompileOnSaveAffectedFileList(F){const Z=this.getProjects(F,!0,!0),J=this.projectService.getScriptInfo(F.file);if(!J)return T4;return IU0(J,(B)=>this.projectService.getScriptInfoForPath(B),Z,(B,Y)=>{if(!B.compileOnSaveEnabled||!B.languageServiceEnabled||B.isOrphan())return;const V=B.getCompilationSettings();if(!!V.noEmit||f3(Y.fileName)&&!TU0(V))return;return{projectFileName:B.getProjectName(),fileNames:B.getCompileOnSaveAffectedFileList(Y),projectUsesOutFile:!!k7(V)}})}emitFile(F){const{file:Z,project:J}=this.getFileAndProject(F);if(!J)wV.ThrowNoProject();if(!J.languageServiceEnabled)return F.richResponse?{emitSkipped:!0,diagnostics:[]}:!1;const B=J.getScriptInfo(Z),{emitSkipped:Y,diagnostics:V}=J.emitFile(B,(q,U,j)=>this.host.writeFile(q,U,j));return F.richResponse?{emitSkipped:Y,diagnostics:F.includeLinePosition?this.convertToDiagnosticsWithLinePositionFromDiagnosticFile(V):V.map((q)=>fS(q,!0))}:!Y}getSignatureHelpItems(F,Z){const{file:J,project:B}=this.getFileAndProject(F),Y=this.projectService.getScriptInfoForNormalizedPath(J),V=this.getPosition(F,Y),q=B.getLanguageService().getSignatureHelpItems(J,V,F),U=!!this.getPreferences(J).displayPartsForJSDoc;if(q&&Z){const j=q.applicableSpan;return{...q,applicableSpan:{start:Y.positionToLineOffset(j.start),end:Y.positionToLineOffset(j.start+j.length)},items:this.mapSignatureHelpItems(q.items,B,U)}}else if(U||!q)return q;else return{...q,items:q.items.map((j)=>({...j,tags:this.mapJSDocTagInfo(j.tags,B,!1)}))}}toPendingErrorCheck(F){const Z=L9(F),J=this.projectService.tryGetDefaultProjectForFile(Z);return J&&{fileName:Z,project:J}}getDiagnostics(F,Z,J){if(this.suppressDiagnosticEvents)return;if(J.length>0)this.updateErrorCheck(F,J,Z)}change(F){const Z=this.projectService.getScriptInfo(F.file);S.assert(!!Z),Z.textStorage.switchToScriptVersionCache();const J=Z.lineOffsetToPosition(F.line,F.offset),B=Z.lineOffsetToPosition(F.endLine,F.endOffset);if(J>=0)this.changeSeq++,this.projectService.applyChangesToFile(Z,QJ({span:{start:J,length:B-J},newText:F.insertString}))}reload(F,Z){const J=L9(F.file),B=F.tmpfile===void 0?void 0:L9(F.tmpfile),Y=this.projectService.getScriptInfoForNormalizedPath(J);if(Y){if(this.changeSeq++,Y.reloadFromFile(B))this.doOutput(void 0,"reload",Z,!0)}}saveToTmp(F,Z){const J=this.projectService.getScriptInfo(F);if(J)J.saveTo(Z)}closeClientFile(F){if(!F)return;const Z=TF(F);this.projectService.closeClientFile(Z)}mapLocationNavigationBarItems(F,Z){return K1(F,(J)=>({text:J.text,kind:J.kind,kindModifiers:J.kindModifiers,spans:J.spans.map((B)=>JY(B,Z)),childItems:this.mapLocationNavigationBarItems(J.childItems,Z),indent:J.indent}))}getNavigationBarItems(F,Z){const{file:J,languageService:B}=this.getFileAndLanguageServiceForSyntacticOperation(F),Y=B.getNavigationBarItems(J);return!Y?void 0:Z?this.mapLocationNavigationBarItems(Y,this.projectService.getScriptInfoForNormalizedPath(J)):Y}toLocationNavigationTree(F,Z){return{text:F.text,kind:F.kind,kindModifiers:F.kindModifiers,spans:F.spans.map((J)=>JY(J,Z)),nameSpan:F.nameSpan&&JY(F.nameSpan,Z),childItems:K1(F.childItems,(J)=>this.toLocationNavigationTree(J,Z))}}getNavigationTree(F,Z){const{file:J,languageService:B}=this.getFileAndLanguageServiceForSyntacticOperation(F),Y=B.getNavigationTree(J);return!Y?void 0:Z?this.toLocationNavigationTree(Y,this.projectService.getScriptInfoForNormalizedPath(J)):Y}getNavigateToItems(F,Z){const J=this.getFullNavigateToItems(F);return!Z?h5(J,({navigateToItems:B})=>B):h5(J,({project:B,navigateToItems:Y})=>Y.map((V)=>{const q=B.getScriptInfo(V.fileName),U={name:V.name,kind:V.kind,kindModifiers:V.kindModifiers,isCaseSensitive:V.isCaseSensitive,matchKind:V.matchKind,file:V.fileName,start:q.positionToLineOffset(V.textSpan.start),end:q.positionToLineOffset(Z4(V.textSpan))};if(V.kindModifiers&&V.kindModifiers!=="")U.kindModifiers=V.kindModifiers;if(V.containerName&&V.containerName.length>0)U.containerName=V.containerName;if(V.containerKind&&V.containerKind.length>0)U.containerKind=V.containerKind;return U}))}getFullNavigateToItems(F){const{currentFileOnly:Z,searchValue:J,maxResultCount:B,projectFileName:Y}=F;if(Z){S.assertIsDefined(F.file);const{file:T,project:R}=this.getFileAndProject(F);return[{project:R,navigateToItems:R.getLanguageService().getNavigateToItems(J,B,T)}]}const V=this.getHostPreferences(),q=[],U=new Map;if(!F.file&&!Y)this.projectService.loadAncestorProjectTree(),this.projectService.forEachEnabledProject((T)=>j(T));else{const T=this.getProjects(F);FzD(T,void 0,(R)=>j(R))}return q;function j(T){const R=T.getLanguageService().getNavigateToItems(J,B,void 0,T.isNonTsProject(),V.excludeLibrarySymbolsInNavTo),P=a0(R,(v)=>M(v)&&!x0D(bT(v),T));if(P.length)q.push({project:T,navigateToItems:P})}function M(T){const R=T.name;if(!U.has(R))return U.set(R,[T]),!0;const P=U.get(R);for(let v of P)if(A(v,T))return!1;return P.push(T),!0}function A(T,R){if(T===R)return!0;if(!T||!R)return!1;return T.containerKind===R.containerKind&&T.containerName===R.containerName&&T.fileName===R.fileName&&T.isCaseSensitive===R.isCaseSensitive&&T.kind===R.kind&&T.kindModifiers===R.kindModifiers&&T.matchKind===R.matchKind&&T.name===R.name&&T.textSpan.start===R.textSpan.start&&T.textSpan.length===R.textSpan.length}}getSupportedCodeFixes(F){if(!F)return pt();if(F.file){const{file:J,project:B}=this.getFileAndProject(F);return B.getLanguageService().getSupportedCodeFixes(J)}const Z=this.getProject(F.projectFileName);if(!Z)wV.ThrowNoProject();return Z.getLanguageService().getSupportedCodeFixes()}isLocation(F){return F.line!==void 0}extractPositionOrRange(F,Z){let J,B;if(this.isLocation(F))J=Y(F);else B=this.getRange(F,Z);return S.checkDefined(J===void 0?B:J);function Y(V){return V.position!==void 0?V.position:Z.lineOffsetToPosition(V.line,V.offset)}}getRange(F,Z){const{startPosition:J,endPosition:B}=this.getStartAndEndPosition(F,Z);return{pos:J,end:B}}getApplicableRefactors(F){const{file:Z,project:J}=this.getFileAndProject(F),B=J.getScriptInfoForNormalizedPath(Z);return J.getLanguageService().getApplicableRefactors(Z,this.extractPositionOrRange(F,B),this.getPreferences(Z),F.triggerReason,F.kind,F.includeInteractiveActions)}getEditsForRefactor(F,Z){const{file:J,project:B}=this.getFileAndProject(F),Y=B.getScriptInfoForNormalizedPath(J),V=B.getLanguageService().getEditsForRefactor(J,this.getFormatOptions(J),this.extractPositionOrRange(F,Y),F.refactor,F.action,this.getPreferences(J),F.interactiveRefactorArguments);if(V===void 0)return{edits:[]};if(Z){const{renameFilename:q,renameLocation:U,edits:j}=V;let M;if(q!==void 0&&U!==void 0){const A=B.getScriptInfoForNormalizedPath(L9(q));M=ZzD(CA(A.getSnapshot()),q,U,j)}return{renameLocation:M,renameFilename:q,edits:this.mapTextChangesToCodeEdits(j),notApplicableReason:V.notApplicableReason}}return V}getMoveToRefactoringFileSuggestions(F){const{file:Z,project:J}=this.getFileAndProject(F),B=J.getScriptInfoForNormalizedPath(Z);return J.getLanguageService().getMoveToRefactoringFileSuggestions(Z,this.extractPositionOrRange(F,B),this.getPreferences(Z))}organizeImports(F,Z){S.assert(F.scope.type==="file");const{file:J,project:B}=this.getFileAndProject(F.scope.args),Y=B.getLanguageService().organizeImports({fileName:J,mode:F.mode??(F.skipDestructiveCodeActions?"SortAndCombine":void 0),type:"file"},this.getFormatOptions(J),this.getPreferences(J));if(Z)return this.mapTextChangesToCodeEdits(Y);else return Y}getEditsForFileRename(F,Z){const J=L9(F.oldFilePath),B=L9(F.newFilePath),Y=this.getHostFormatOptions(),V=this.getHostPreferences(),q=new Set,U=[];return this.projectService.loadAncestorProjectTree(),this.projectService.forEachEnabledProject((j)=>{const M=j.getLanguageService().getEditsForFileRename(J,B,Y,V),A=[];for(let T of M)if(!q.has(T.fileName))U.push(T),A.push(T.fileName);for(let T of A)q.add(T)}),Z?U.map((j)=>this.mapTextChangeToCodeEdit(j)):U}getCodeFixes(F,Z){const{file:J,project:B}=this.getFileAndProject(F),Y=B.getScriptInfoForNormalizedPath(J),{startPosition:V,endPosition:q}=this.getStartAndEndPosition(F,Y);let U;try{U=B.getLanguageService().getCodeFixesAtPosition(J,V,q,F.errorCodes,this.getFormatOptions(J),this.getPreferences(J))}catch(j){const M=B.getLanguageService(),A=[...M.getSyntacticDiagnostics(J),...M.getSemanticDiagnostics(J),...M.getSuggestionDiagnostics(J)].map((R)=>LI(V,q-V,R.start,R.length)&&R.code),T=F.errorCodes.find((R)=>!A.includes(R));if(T!==void 0)j.message=`BADCLIENT: Bad error code, ${T} not found in range ${V}..${q} (found: ${A.join(", ")}); could have caused this error:
|
|
337
|
-
${j.message}`;throw j}return Z?U.map((j)=>this.mapCodeFixAction(j)):U}getCombinedCodeFix({scope:F,fixId:Z},J){S.assert(F.type==="file");const{file:B,project:Y}=this.getFileAndProject(F.args),V=Y.getLanguageService().getCombinedCodeFix({type:"file",fileName:B},Z,this.getFormatOptions(B),this.getPreferences(B));if(J)return{changes:this.mapTextChangesToCodeEdits(V.changes),commands:V.commands};else return V}applyCodeActionCommand(F){const Z=F.command;for(let J of GM(Z)){const{file:B,project:Y}=this.getFileAndProject(J);Y.getLanguageService().applyCodeActionCommand(J,this.getFormatOptions(B)).then((V)=>{},(V)=>{})}return{}}getStartAndEndPosition(F,Z){let J,B;if(F.startPosition!==void 0)J=F.startPosition;else J=Z.lineOffsetToPosition(F.startLine,F.startOffset),F.startPosition=J;if(F.endPosition!==void 0)B=F.endPosition;else B=Z.lineOffsetToPosition(F.endLine,F.endOffset),F.endPosition=B;return{startPosition:J,endPosition:B}}mapCodeAction({description:F,changes:Z,commands:J}){return{description:F,changes:this.mapTextChangesToCodeEdits(Z),commands:J}}mapCodeFixAction({fixName:F,description:Z,changes:J,commands:B,fixId:Y,fixAllDescription:V}){return{fixName:F,description:Z,changes:this.mapTextChangesToCodeEdits(J),commands:B,fixId:Y,fixAllDescription:V}}mapTextChangesToCodeEdits(F){return F.map((Z)=>this.mapTextChangeToCodeEdit(Z))}mapTextChangeToCodeEdit(F){const Z=this.projectService.getScriptInfoOrConfig(F.fileName);if(!!F.isNewFile===!!Z){if(!Z)this.projectService.logErrorForScriptInfoNotFound(F.fileName);S.fail("Expected isNewFile for (only) new files. "+JSON.stringify({isNewFile:!!F.isNewFile,hasScriptInfo:!!Z}))}return Z?{fileName:F.fileName,textChanges:F.textChanges.map((J)=>vU0(J,Z))}:kU0(F)}convertTextChangeToCodeEdit(F,Z){return{start:Z.positionToLineOffset(F.span.start),end:Z.positionToLineOffset(F.span.start+F.span.length),newText:F.newText?F.newText:""}}getBraceMatching(F,Z){const{file:J,languageService:B}=this.getFileAndLanguageServiceForSyntacticOperation(F),Y=this.projectService.getScriptInfoForNormalizedPath(J),V=this.getPosition(F,Y),q=B.getBraceMatchingAtPosition(J,V);return!q?void 0:Z?q.map((U)=>JY(U,Y)):q}getDiagnosticsForProject(F,Z,J){if(this.suppressDiagnosticEvents)return;const{fileNames:B,languageServiceDisabled:Y}=this.getProjectInfoWorker(J,void 0,!0,!0);if(Y)return;const V=B.filter((v)=>!v.includes("lib.d.ts"));if(V.length===0)return;const q=[],U=[],j=[],M=[],A=L9(J),T=this.projectService.ensureDefaultProjectForFile(A);for(let v of V)if(this.getCanonicalFileName(v)===this.getCanonicalFileName(J))q.push(v);else if(!this.projectService.getScriptInfo(v).isScriptOpen())if(f3(v))M.push(v);else j.push(v);else U.push(v);const P=[...q,...U,...j,...M].map((v)=>({fileName:v,project:T}));this.updateErrorCheck(F,P,Z,!1)}configurePlugin(F){this.projectService.configurePlugin(F)}getSmartSelectionRange(F,Z){const{locations:J}=F,{file:B,languageService:Y}=this.getFileAndLanguageServiceForSyntacticOperation(F),V=S.checkDefined(this.projectService.getScriptInfo(B));return K1(J,(q)=>{const U=this.getPosition(q,V),j=Y.getSmartSelectionRange(B,U);return Z?this.mapSelectionRange(j,V):j})}toggleLineComment(F,Z){const{file:J,languageService:B}=this.getFileAndLanguageServiceForSyntacticOperation(F),Y=this.projectService.getScriptInfo(J),V=this.getRange(F,Y),q=B.toggleLineComment(J,V);if(Z){const U=this.projectService.getScriptInfoForNormalizedPath(J);return q.map((j)=>this.convertTextChangeToCodeEdit(j,U))}return q}toggleMultilineComment(F,Z){const{file:J,languageService:B}=this.getFileAndLanguageServiceForSyntacticOperation(F),Y=this.projectService.getScriptInfoForNormalizedPath(J),V=this.getRange(F,Y),q=B.toggleMultilineComment(J,V);if(Z){const U=this.projectService.getScriptInfoForNormalizedPath(J);return q.map((j)=>this.convertTextChangeToCodeEdit(j,U))}return q}commentSelection(F,Z){const{file:J,languageService:B}=this.getFileAndLanguageServiceForSyntacticOperation(F),Y=this.projectService.getScriptInfoForNormalizedPath(J),V=this.getRange(F,Y),q=B.commentSelection(J,V);if(Z){const U=this.projectService.getScriptInfoForNormalizedPath(J);return q.map((j)=>this.convertTextChangeToCodeEdit(j,U))}return q}uncommentSelection(F,Z){const{file:J,languageService:B}=this.getFileAndLanguageServiceForSyntacticOperation(F),Y=this.projectService.getScriptInfoForNormalizedPath(J),V=this.getRange(F,Y),q=B.uncommentSelection(J,V);if(Z){const U=this.projectService.getScriptInfoForNormalizedPath(J);return q.map((j)=>this.convertTextChangeToCodeEdit(j,U))}return q}mapSelectionRange(F,Z){const J={textSpan:JY(F.textSpan,Z)};if(F.parent)J.parent=this.mapSelectionRange(F.parent,Z);return J}getScriptInfoFromProjectService(F){const Z=L9(F),J=this.projectService.getScriptInfoForNormalizedPath(Z);if(!J)return this.projectService.logErrorForScriptInfoNotFound(Z),wV.ThrowNoProject();return J}toProtocolCallHierarchyItem(F){const Z=this.getScriptInfoFromProjectService(F.file);return{name:F.name,kind:F.kind,kindModifiers:F.kindModifiers,file:F.file,containerName:F.containerName,span:JY(F.span,Z),selectionSpan:JY(F.selectionSpan,Z)}}toProtocolCallHierarchyIncomingCall(F){const Z=this.getScriptInfoFromProjectService(F.from.file);return{from:this.toProtocolCallHierarchyItem(F.from),fromSpans:F.fromSpans.map((J)=>JY(J,Z))}}toProtocolCallHierarchyOutgoingCall(F,Z){return{to:this.toProtocolCallHierarchyItem(F.to),fromSpans:F.fromSpans.map((J)=>JY(J,Z))}}prepareCallHierarchy(F){const{file:Z,project:J}=this.getFileAndProject(F),B=this.projectService.getScriptInfoForNormalizedPath(Z);if(B){const Y=this.getPosition(F,B),V=J.getLanguageService().prepareCallHierarchy(Z,Y);return V&&da(V,(q)=>this.toProtocolCallHierarchyItem(q))}return}provideCallHierarchyIncomingCalls(F){const{file:Z,project:J}=this.getFileAndProject(F),B=this.getScriptInfoFromProjectService(Z);return J.getLanguageService().provideCallHierarchyIncomingCalls(Z,this.getPosition(F,B)).map((V)=>this.toProtocolCallHierarchyIncomingCall(V))}provideCallHierarchyOutgoingCalls(F){const{file:Z,project:J}=this.getFileAndProject(F),B=this.getScriptInfoFromProjectService(Z);return J.getLanguageService().provideCallHierarchyOutgoingCalls(Z,this.getPosition(F,B)).map((V)=>this.toProtocolCallHierarchyOutgoingCall(V,B))}getCanonicalFileName(F){const Z=this.host.useCaseSensitiveFileNames?F:_X(F);return TF(Z)}exit(){}notRequired(){return{responseRequired:!1}}requiredResponse(F){return{response:F,responseRequired:!0}}addProtocolHandler(F,Z){if(this.handlers.has(F))throw new Error(`Protocol handler already exists for command "${F}"`);this.handlers.set(F,Z)}setCurrentRequest(F){S.assert(this.currentRequestId===void 0),this.currentRequestId=F,this.cancellationToken.setRequest(F)}resetCurrentRequest(F){S.assert(this.currentRequestId===F),this.currentRequestId=void 0,this.cancellationToken.resetRequest(F)}executeWithRequestId(F,Z){try{return this.setCurrentRequest(F),Z()}finally{this.resetCurrentRequest(F)}}executeCommand(F){const Z=this.handlers.get(F.command);if(Z){const J=this.executeWithRequestId(F.seq,()=>Z(F));return this.projectService.enableRequestedPlugins(),J}else return this.logger.msg(`Unrecognized JSON command:${qq(F)}`,"Err"),this.doOutput(void 0,"unknown",F.seq,!1,`Unrecognized JSON command: ${F.command}`),{responseRequired:!1}}onMessage(F){var Z,J,B,Y,V,q,U,j,M,A,T;this.gcTimer.scheduleCollect(),this.performanceData=void 0;let R;if(this.logger.hasLevel(2)){if(R=this.hrtime(),this.logger.hasLevel(3))this.logger.info(`request:${YT(this.toStringMessage(F))}`)}let P,v;try{P=this.parseMessage(F),v=P.arguments&&P.arguments.file?P.arguments:void 0,(Z=U8)==null||Z.instant(U8.Phase.Session,"request",{seq:P.seq,command:P.command}),(J=j2)==null||J.logStartCommand(""+P.command,this.toStringMessage(F).substring(0,100)),(B=U8)==null||B.push(U8.Phase.Session,"executeCommand",{seq:P.seq,command:P.command},!0);const{response:f,responseRequired:g}=this.executeCommand(P);if((Y=U8)==null||Y.pop(),this.logger.hasLevel(2)){const n=NU0(this.hrtime(R)).toFixed(4);if(g)this.logger.perftrc(`${P.seq}::${P.command}: elapsed time (in milliseconds) ${n}`);else this.logger.perftrc(`${P.seq}::${P.command}: async elapsed time (in milliseconds) ${n}`)}if((V=j2)==null||V.logStopCommand(""+P.command,"Success"),(q=U8)==null||q.instant(U8.Phase.Session,"response",{seq:P.seq,command:P.command,success:!!f}),f)this.doOutput(f,P.command,P.seq,!0);else if(g)this.doOutput(void 0,P.command,P.seq,!1,"No content available.")}catch(f){if((U=U8)==null||U.popAll(),f instanceof dj){(j=j2)==null||j.logStopCommand(""+(P&&P.command),"Canceled: "+f),(M=U8)==null||M.instant(U8.Phase.Session,"commandCanceled",{seq:P==null?void 0:P.seq,command:P==null?void 0:P.command}),this.doOutput({canceled:!0},P.command,P.seq,!0);return}this.logErrorWorker(f,this.toStringMessage(F),v),(A=j2)==null||A.logStopCommand(""+(P&&P.command),"Error: "+f),(T=U8)==null||T.instant(U8.Phase.Session,"commandError",{seq:P==null?void 0:P.seq,command:P==null?void 0:P.command,message:f.message}),this.doOutput(void 0,P?P.command:"unknown",P?P.seq:0,!1,"Error processing request. "+f.message+"\n"+f.stack)}}parseMessage(F){return JSON.parse(F)}toStringMessage(F){return F}getFormatOptions(F){return this.projectService.getFormatCodeOptions(F)}getPreferences(F){return this.projectService.getPreferences(F)}getHostFormatOptions(){return this.projectService.getHostFormatCodeOptions()}getHostPreferences(){return this.projectService.getHostPreferences()}}}}),hO,k0D,ofD,sfD,rg,og,QzD,xT,_O,vS,dU0=G({"src/server/scriptVersionCache.ts"(){_z(),$H(),hO=4,k0D=((D)=>{return D[D.PreStart=0]="PreStart",D[D.Start=1]="Start",D[D.Entire=2]="Entire",D[D.Mid=3]="Mid",D[D.End=4]="End",D[D.PostEnd=5]="PostEnd",D})(k0D||{}),ofD=class{constructor(){this.goSubtree=!0,this.lineIndex=new xT,this.endBranch=[],this.state=2,this.initialText="",this.trailingText="",this.lineIndex.root=new _O,this.startPath=[this.lineIndex.root],this.stack=[this.lineIndex.root]}get done(){return!1}insertLines(D,F){if(F)this.trailingText="";if(D)D=this.initialText+D+this.trailingText;else D=this.initialText+this.trailingText;const J=xT.linesFromText(D).lines;if(J.length>1&&J[J.length-1]==="")J.pop();let B,Y;for(let q=this.endBranch.length-1;q>=0;q--)if(this.endBranch[q].updateCounts(),this.endBranch[q].charCount()===0)if(Y=this.endBranch[q],q>0)B=this.endBranch[q-1];else B=this.branchNode;if(Y)B.remove(Y);const V=this.startPath[this.startPath.length-1];if(J.length>0)if(V.text=J[0],J.length>1){let q=new Array(J.length-1),U=V;for(let A=1;A<J.length;A++)q[A-1]=new vS(J[A]);let j=this.startPath.length-2;while(j>=0){const A=this.startPath[j];q=A.insertAt(U,q),j--,U=A}let M=q.length;while(M>0){const A=new _O;A.add(this.lineIndex.root),q=A.insertAt(this.lineIndex.root,q),M=q.length,this.lineIndex.root=A}this.lineIndex.root.updateCounts()}else for(let q=this.startPath.length-2;q>=0;q--)this.startPath[q].updateCounts();else{this.startPath[this.startPath.length-2].remove(V);for(let U=this.startPath.length-2;U>=0;U--)this.startPath[U].updateCounts()}return this.lineIndex}post(D,F,Z){if(Z===this.lineCollectionAtBranch)this.state=4;this.stack.pop()}pre(D,F,Z,J,B){const Y=this.stack[this.stack.length-1];if(this.state===2&&B===1)this.state=1,this.branchNode=Y,this.lineCollectionAtBranch=Z;let V;function q(U){if(U.isLeaf())return new vS("");else return new _O}switch(B){case 0:if(this.goSubtree=!1,this.state!==4)Y.add(Z);break;case 1:if(this.state===4)this.goSubtree=!1;else V=q(Z),Y.add(V),this.startPath.push(V);break;case 2:if(this.state!==4)V=q(Z),Y.add(V),this.startPath.push(V);else if(!Z.isLeaf())V=q(Z),Y.add(V),this.endBranch.push(V);break;case 3:this.goSubtree=!1;break;case 4:if(this.state!==4)this.goSubtree=!1;else if(!Z.isLeaf())V=q(Z),Y.add(V),this.endBranch.push(V);break;case 5:if(this.goSubtree=!1,this.state!==1)Y.add(Z);break}if(this.goSubtree)this.stack.push(V)}leaf(D,F,Z){if(this.state===1)this.initialText=Z.text.substring(0,D);else if(this.state===2)this.initialText=Z.text.substring(0,D),this.trailingText=Z.text.substring(D+F);else this.trailingText=Z.text.substring(D+F)}},sfD=class{constructor(D,F,Z){this.pos=D,this.deleteLen=F,this.insertedText=Z}getTextChangeRange(){return AI(w3(this.pos,this.deleteLen),this.insertedText?this.insertedText.length:0)}},rg=class D{constructor(){this.changes=[],this.versions=new Array(D.maxVersions),this.minVersion=0,this.currentVersion=0}versionToIndex(F){if(F<this.minVersion||F>this.currentVersion)return;return F%D.maxVersions}currentVersionToIndex(){return this.currentVersion%D.maxVersions}edit(F,Z,J){if(this.changes.push(new sfD(F,Z,J)),this.changes.length>D.changeNumberThreshold||Z>D.changeLengthThreshold||J&&J.length>D.changeLengthThreshold)this.getSnapshot()}getSnapshot(){return this._getSnapshot()}_getSnapshot(){let F=this.versions[this.currentVersionToIndex()];if(this.changes.length>0){let Z=F.index;for(let J of this.changes)Z=Z.edit(J.pos,J.deleteLen,J.insertedText);if(F=new QzD(this.currentVersion+1,this,Z,this.changes),this.currentVersion=F.version,this.versions[this.currentVersionToIndex()]=F,this.changes=[],this.currentVersion-this.minVersion>=D.maxVersions)this.minVersion=this.currentVersion-D.maxVersions+1}return F}getSnapshotVersion(){return this._getSnapshot().version}getAbsolutePositionAndLineText(F){return this._getSnapshot().index.lineNumberToInfo(F)}lineOffsetToPosition(F,Z){return this._getSnapshot().index.absolutePositionOfStartOfLine(F)+(Z-1)}positionToLineOffset(F){return this._getSnapshot().index.positionToLineOffset(F)}lineToTextSpan(F){const Z=this._getSnapshot().index,{lineText:J,absolutePosition:B}=Z.lineNumberToInfo(F+1),Y=J!==void 0?J.length:Z.absolutePositionOfStartOfLine(F+2)-B;return w3(B,Y)}getTextChangesBetweenVersions(F,Z){if(F<Z)if(F>=this.minVersion){const J=[];for(let B=F+1;B<=Z;B++){const Y=this.versions[this.versionToIndex(B)];for(let V of Y.changesSincePreviousVersion)J.push(V.getTextChangeRange())}return UFD(J)}else return;else return kI}getLineCount(){return this._getSnapshot().index.getLineCount()}static fromString(F){const Z=new D,J=new QzD(0,Z,new xT);Z.versions[Z.currentVersion]=J;const B=xT.linesFromText(F);return J.index.load(B.lines),Z}},rg.changeNumberThreshold=8,rg.changeLengthThreshold=256,rg.maxVersions=8,og=rg,QzD=class D{constructor(F,Z,J,B=T4){this.version=F,this.cache=Z,this.index=J,this.changesSincePreviousVersion=B}getText(F,Z){return this.index.getText(F,Z-F)}getLength(){return this.index.getLength()}getChangeRange(F){if(F instanceof D&&this.cache===F.cache)if(this.version<=F.version)return kI;else return this.cache.getTextChangesBetweenVersions(F.version,this.version)}},xT=class D{constructor(){this.checkEdits=!1}absolutePositionOfStartOfLine(F){return this.lineNumberToInfo(F).absolutePosition}positionToLineOffset(F){const{oneBasedLine:Z,zeroBasedColumn:J}=this.root.charOffsetToLineInfo(1,F);return{line:Z,offset:J+1}}positionToColumnAndLineText(F){return this.root.charOffsetToLineInfo(1,F)}getLineCount(){return this.root.lineCount()}lineNumberToInfo(F){const Z=this.getLineCount();if(F<=Z){const{position:J,leaf:B}=this.root.lineNumberToInfo(F,0);return{absolutePosition:J,lineText:B&&B.text}}else return{absolutePosition:this.root.charCount(),lineText:void 0}}load(F){if(F.length>0){const Z=[];for(let J=0;J<F.length;J++)Z[J]=new vS(F[J]);this.root=D.buildTreeFromBottom(Z)}else this.root=new _O}walk(F,Z,J){this.root.walk(F,Z,J)}getText(F,Z){let J="";if(Z>0&&F<this.root.charCount())this.walk(F,Z,{goSubtree:!0,done:!1,leaf:(B,Y,V)=>{J=J.concat(V.text.substring(B,B+Y))}});return J}getLength(){return this.root.charCount()}every(F,Z,J){if(!J)J=this.root.charCount();const B={goSubtree:!0,done:!1,leaf(Y,V,q){if(!F(q,Y,V))this.done=!0}};return this.walk(Z,J-Z,B),!B.done}edit(F,Z,J){if(this.root.charCount()===0){if(S.assert(Z===0),J!==void 0)return this.load(D.linesFromText(J).lines),this;return}else{let B;if(this.checkEdits){const q=this.getText(0,this.root.charCount());B=q.slice(0,F)+J+q.slice(F+Z)}const Y=new ofD;let V=!1;if(F>=this.root.charCount()){F=this.root.charCount()-1;const q=this.getText(F,1);if(J)J=q+J;else J=q;Z=0,V=!0}else if(Z>0){const q=F+Z,{zeroBasedColumn:U,lineText:j}=this.positionToColumnAndLineText(q);if(U===0)Z+=j.length,J=J?J+j:j}if(this.root.walk(F,Z,Y),Y.insertLines(J,V),this.checkEdits){const q=Y.lineIndex.getText(0,Y.lineIndex.getLength());S.assert(B===q,"buffer edit mismatch")}return Y.lineIndex}}static buildTreeFromBottom(F){if(F.length<hO)return new _O(F);const Z=new Array(Math.ceil(F.length/hO));let J=0;for(let B=0;B<Z.length;B++){const Y=Math.min(J+hO,F.length);Z[B]=new _O(F.slice(J,Y)),J=Y}return this.buildTreeFromBottom(Z)}static linesFromText(F){const Z=CM(F);if(Z.length===0)return{lines:[],lineMap:Z};const J=new Array(Z.length),B=Z.length-1;for(let V=0;V<B;V++)J[V]=F.substring(Z[V],Z[V+1]);const Y=F.substring(Z[B]);if(Y.length>0)J[B]=Y;else J.pop();return{lines:J,lineMap:Z}}},_O=class D{constructor(F=[]){if(this.children=F,this.totalChars=0,this.totalLines=0,F.length)this.updateCounts()}isLeaf(){return!1}updateCounts(){this.totalChars=0,this.totalLines=0;for(let F of this.children)this.totalChars+=F.charCount(),this.totalLines+=F.lineCount()}execWalk(F,Z,J,B,Y){if(J.pre)J.pre(F,Z,this.children[B],this,Y);if(J.goSubtree){if(this.children[B].walk(F,Z,J),J.post)J.post(F,Z,this.children[B],this,Y)}else J.goSubtree=!0;return J.done}skipChild(F,Z,J,B,Y){if(B.pre&&!B.done)B.pre(F,Z,this.children[J],this,Y),B.goSubtree=!0}walk(F,Z,J){let B=0,Y=this.children[B].charCount(),V=F;while(V>=Y)this.skipChild(V,Z,B,J,0),V-=Y,B++,Y=this.children[B].charCount();if(V+Z<=Y){if(this.execWalk(V,Z,J,B,2))return}else{if(this.execWalk(V,Y-V,J,B,1))return;let q=Z-(Y-V);B++,Y=this.children[B].charCount();while(q>Y){if(this.execWalk(0,Y,J,B,3))return;q-=Y,B++,Y=this.children[B].charCount()}if(q>0){if(this.execWalk(0,q,J,B,4))return}}if(J.pre){const q=this.children.length;if(B<q-1)for(let U=B+1;U<q;U++)this.skipChild(0,0,U,J,5)}}charOffsetToLineInfo(F,Z){if(this.children.length===0)return{oneBasedLine:F,zeroBasedColumn:Z,lineText:void 0};for(let Y of this.children)if(Y.charCount()>Z)if(Y.isLeaf())return{oneBasedLine:F,zeroBasedColumn:Z,lineText:Y.text};else return Y.charOffsetToLineInfo(F,Z);else Z-=Y.charCount(),F+=Y.lineCount();const J=this.lineCount();if(J===0)return{oneBasedLine:1,zeroBasedColumn:0,lineText:void 0};const B=S.checkDefined(this.lineNumberToInfo(J,0).leaf);return{oneBasedLine:J,zeroBasedColumn:B.charCount(),lineText:void 0}}lineNumberToInfo(F,Z){for(let J of this.children){const B=J.lineCount();if(B>=F)return J.isLeaf()?{position:Z,leaf:J}:J.lineNumberToInfo(F,Z);else F-=B,Z+=J.charCount()}return{position:Z,leaf:void 0}}splitAfter(F){let Z;const J=this.children.length;F++;const B=F;if(F<J){Z=new D;while(F<J)Z.add(this.children[F]),F++;Z.updateCounts()}return this.children.length=B,Z}remove(F){const Z=this.findChildIndex(F),J=this.children.length;if(Z<J-1)for(let B=Z;B<J-1;B++)this.children[B]=this.children[B+1];this.children.pop()}findChildIndex(F){const Z=this.children.indexOf(F);return S.assert(Z!==-1),Z}insertAt(F,Z){let J=this.findChildIndex(F);const B=this.children.length,Y=Z.length;if(B<hO&&J===B-1&&Y===1)return this.add(Z[0]),this.updateCounts(),[];else{const V=this.splitAfter(J);let q=0;J++;while(J<hO&&q<Y)this.children[J]=Z[q],J++,q++;let U=[],j=0;if(q<Y){j=Math.ceil((Y-q)/hO),U=new Array(j);let M=0;for(let T=0;T<j;T++)U[T]=new D;let A=U[0];while(q<Y)if(A.add(Z[q]),q++,A.children.length===hO)M++,A=U[M];for(let T=U.length-1;T>=0;T--)if(U[T].children.length===0)U.pop()}if(V)U.push(V);this.updateCounts();for(let M=0;M<j;M++)U[M].updateCounts();return U}}add(F){this.children.push(F),S.assert(this.children.length<=hO)}charCount(){return this.totalChars}lineCount(){return this.totalLines}},vS=class{constructor(D){this.text=D}isLeaf(){return!0}walk(D,F,Z){Z.leaf(D,F,this)}charCount(){return this.text.length}lineCount(){return 1}}}}),VzD,zzD,cU0=G({"src/server/typingInstallerAdapter.ts"(){_z(),$H(),VzD=class D{constructor(F,Z,J,B,Y,V){this.telemetryEnabled=F,this.logger=Z,this.host=J,this.globalTypingsCacheLocation=B,this.event=Y,this.maxActiveRequestCount=V,this.activeRequestCount=0,this.requestQueue=aR(),this.requestMap=new Map,this.requestedRegistry=!1,this.packageInstallId=0}isKnownTypesPackageName(F){var Z;if(WX.validatePackageName(F)!==WX.NameValidationResult.Ok)return!1;if(!this.requestedRegistry)this.requestedRegistry=!0,this.installer.send({kind:"typesRegistry"});return!!((Z=this.typesRegistryCache)==null?void 0:Z.has(F))}installPackage(F){this.packageInstallId++;const Z={kind:"installPackage",...F,id:this.packageInstallId},J=new Promise((B,Y)=>{(this.packageInstalledPromise??(this.packageInstalledPromise=new Map)).set(this.packageInstallId,{resolve:B,reject:Y})});return this.installer.send(Z),J}attach(F){this.projectService=F,this.installer=this.createInstallerProcess()}onProjectClosed(F){this.installer.send({projectName:F.getProjectName(),kind:"closeProject"})}enqueueInstallTypingsRequest(F,Z,J){const B=GVD(F,Z,J);if(this.logger.hasLevel(3))this.logger.info(`TIAdapter:: Scheduling throttled operation:${qq(B)}`);if(this.activeRequestCount<this.maxActiveRequestCount)this.scheduleRequest(B);else{if(this.logger.hasLevel(3))this.logger.info(`TIAdapter:: Deferring request for: ${B.projectName}`);this.requestQueue.enqueue(B),this.requestMap.set(B.projectName,B)}}handleMessage(F){var Z,J;if(this.logger.hasLevel(3))this.logger.info(`TIAdapter:: Received response:${qq(F)}`);switch(F.kind){case Sh:this.typesRegistryCache=new Map(Object.entries(F.typesRegistry));break;case Ww:{const B=(Z=this.packageInstalledPromise)==null?void 0:Z.get(F.id);if(S.assertIsDefined(B,"Should find the promise for package install"),(J=this.packageInstalledPromise)==null||J.delete(F.id),F.success)B.resolve({successMessage:F.message});else B.reject(F.message);this.projectService.updateTypingsForProject(F),this.event(F,"setTypings");break}case Is:{const B={message:F.message};this.event(B,"typesInstallerInitializationFailed");break}case uh:{const B={eventId:F.eventId,packages:F.packagesToInstall};this.event(B,"beginInstallTypes");break}case fh:{if(this.telemetryEnabled){const V={telemetryEventName:"typingsInstalled",payload:{installedPackages:F.packagesToInstall.join(","),installSuccess:F.installSuccess,typingsInstallerVersion:F.typingsInstallerVersion}};this.event(V,"telemetry")}const B={eventId:F.eventId,packages:F.packagesToInstall,success:F.installSuccess},Y="endInstallTypes";this.event(B,Y);break}case qw:{this.projectService.updateTypingsForProject(F);break}case Kw:{if(this.activeRequestCount>0)this.activeRequestCount--;else S.fail("TIAdapter:: Received too many responses");while(!this.requestQueue.isEmpty()){const B=this.requestQueue.dequeue();if(this.requestMap.get(B.projectName)===B){this.requestMap.delete(B.projectName),this.scheduleRequest(B);break}if(this.logger.hasLevel(3))this.logger.info(`TIAdapter:: Skipping defunct request for: ${B.projectName}`)}this.projectService.updateTypingsForProject(F),this.event(F,"setTypings");break}case QT:this.projectService.watchTypingLocations(F);break;default:MM(F)}}scheduleRequest(F){if(this.logger.hasLevel(3))this.logger.info(`TIAdapter:: Scheduling request for: ${F.projectName}`);this.activeRequestCount++,this.host.setTimeout(()=>{if(this.logger.hasLevel(3))this.logger.info(`TIAdapter:: Sending request:${qq(F)}`);this.installer.send(F)},D.requestDelayMillis,`${F.projectName}::${F.kind}`)}},VzD.requestDelayMillis=100,zzD=VzD}}),afD={};y(afD,{ActionInvalidate:()=>qw,ActionPackageInstalled:()=>Ww,ActionSet:()=>Kw,ActionWatchTypingLocations:()=>QT,Arguments:()=>ys,AutoImportProviderProject:()=>N0D,AuxiliaryProject:()=>C0D,CharRangeSection:()=>k0D,CloseFileWatcherEvent:()=>ig,CommandNames:()=>BzD,ConfigFileDiagEvent:()=>gg,ConfiguredProject:()=>T0D,CreateDirectoryWatcherEvent:()=>lg,CreateFileWatcherEvent:()=>cg,Errors:()=>wV,EventBeginInstallTypes:()=>uh,EventEndInstallTypes:()=>fh,EventInitializationFailed:()=>Is,EventTypesRegistry:()=>Sh,ExternalProject:()=>fg,GcTimer:()=>G0D,InferredProject:()=>A0D,LargeFileReferencedEvent:()=>_g,LineIndex:()=>xT,LineLeaf:()=>vS,LineNode:()=>_O,LogLevel:()=>K0D,Msg:()=>q0D,OpenFileInfoTelemetryEvent:()=>P0D,Project:()=>FH,ProjectInfoTelemetryEvent:()=>dg,ProjectKind:()=>vT,ProjectLanguageServiceStateEvent:()=>mg,ProjectLoadingFinishEvent:()=>hg,ProjectLoadingStartEvent:()=>kg,ProjectReferenceProjectLoadKind:()=>u0D,ProjectService:()=>f0D,ProjectsUpdatedInBackgroundEvent:()=>SS,ScriptInfo:()=>O0D,ScriptVersionCache:()=>og,Session:()=>YzD,TextStorage:()=>M0D,ThrottledOperations:()=>U0D,TypingsCache:()=>j0D,TypingsInstallerAdapter:()=>zzD,allFilesAreJsOrDts:()=>kVD,allRootFilesAreJsOrDts:()=>xVD,asNormalizedPath:()=>eJ,convertCompilerOptions:()=>vg,convertFormatOptions:()=>iA,convertScriptKindName:()=>I0D,convertTypeAcquisition:()=>gVD,convertUserPreferences:()=>mVD,convertWatchOptions:()=>wS,countEachFileTypes:()=>yS,createInstallTypingsRequest:()=>GVD,createModuleSpecifierCache:()=>aVD,createNormalizedPathMap:()=>IfD,createPackageJsonCache:()=>tVD,createSortedArray:()=>LVD,emptyArray:()=>T4,findArgument:()=>GND,forEachResolvedProjectReferenceProject:()=>pA,formatDiagnosticToProtocol:()=>fS,formatMessage:()=>eVD,getBaseConfigFileName:()=>W0D,getLocationInNewDocument:()=>ZzD,hasArgument:()=>UND,hasNoTypeScriptSource:()=>hVD,indent:()=>YT,isBackgroundProject:()=>PS,isConfigFile:()=>nVD,isConfiguredProject:()=>Oq,isDynamicFileName:()=>IS,isExternalProject:()=>L0D,isInferredProject:()=>lA,isInferredProjectName:()=>HVD,makeAutoImportProviderProjectName:()=>OVD,makeAuxiliaryProjectName:()=>jVD,makeInferredProjectName:()=>MVD,maxFileSize:()=>xg,maxProgramSizeForNonTsFiles:()=>bg,normalizedPathToPath:()=>RS,nowString:()=>HND,nullCancellationToken:()=>JzD,nullTypingsInstaller:()=>ug,projectContainsInfoDirectly:()=>kO,protocol:()=>bVD,removeSorted:()=>yfD,stringifyIndented:()=>qq,toEvent:()=>DzD,toNormalizedPath:()=>L9,tryConvertScriptKindName:()=>R0D,typingsInstaller:()=>WVD,updateProjectIfDirty:()=>$Z});var $H=G({"src/server/_namespaces/ts.server.ts"(){vh(),UVD(),$U0(),ZU0(),JU0(),BU0(),QU0(),qU0(),HU0(),AU0(),CU0(),EU0(),mU0(),dU0(),cU0()}}),tfD={};y(tfD,{ANONYMOUS:()=>N_,AccessFlags:()=>Dl,AssertionLevel:()=>Tc,AssignmentDeclarationKind:()=>Vl,AssignmentKind:()=>ap,Associativity:()=>ep,BreakpointResolver:()=>De,BuilderFileEmit:()=>Js,BuilderProgramKind:()=>Bs,BuilderState:()=>aJ,BundleFileSectionKind:()=>Il,CallHierarchy:()=>PO,CharacterCodes:()=>Ll,CheckFlags:()=>oc,CheckMode:()=>kk,ClassificationType:()=>ns,ClassificationTypeNames:()=>ps,CommentDirectiveType:()=>vc,Comparison:()=>VD,CompletionInfoFlags:()=>_s,CompletionTriggerKind:()=>vs,Completions:()=>vO,ContainerFlags:()=>pr,ContextFlags:()=>gc,Debug:()=>S,DiagnosticCategory:()=>ZI,Diagnostics:()=>H,DocumentHighlights:()=>I_,ElementFlags:()=>ec,EmitFlags:()=>nf,EmitHint:()=>Nl,EmitOnly:()=>xc,EndOfLineState:()=>ds,EnumKind:()=>rc,ExitStatus:()=>kc,ExportKind:()=>Ft,Extension:()=>Al,ExternalEmitHelpers:()=>El,FileIncludeKind:()=>kf,FilePreprocessingDiagnosticsKind:()=>bc,FileSystemEntryKind:()=>fl,FileWatcherEventKind:()=>ul,FindAllReferences:()=>c7,FlattenLevel:()=>zo,FlowFlags:()=>$I,ForegroundColorEscapeSequences:()=>so,FunctionFlags:()=>tp,GeneratedIdentifierFlags:()=>xf,GetLiteralTextFlags:()=>rp,GoToDefinition:()=>_A,HighlightSpanKind:()=>xs,IdentifierNameMap:()=>jO,IdentifierNameMultiMap:()=>Vo,ImportKind:()=>Dt,ImportsNotUsedAsValues:()=>Gl,IndentStyle:()=>ks,IndexFlags:()=>Fl,IndexKind:()=>Jl,InferenceFlags:()=>Yl,InferencePriority:()=>Xl,InlayHintKind:()=>bs,InlayHints:()=>pDD,InternalEmitFlags:()=>Cl,InternalSymbolName:()=>sc,InvalidatedProjectKind:()=>Rs,JSDocParsingMode:()=>wl,JsDoc:()=>Mq,JsTyping:()=>WX,JsxEmit:()=>Ul,JsxFlags:()=>uc,JsxReferenceKind:()=>$l,LanguageServiceMode:()=>Ss,LanguageVariant:()=>Ol,LexicalEnvironmentFlags:()=>Rl,ListFormat:()=>yl,LogLevel:()=>Ic,MemberOverrideStatus:()=>hc,ModifierFlags:()=>vf,ModuleDetectionKind:()=>zl,ModuleInstanceState:()=>ir,ModuleKind:()=>JE,ModuleResolutionKind:()=>cj,ModuleSpecifierEnding:()=>Qn,NavigateTo:()=>SJD,NavigationBar:()=>mJD,NewLineKind:()=>Hl,NodeBuilderFlags:()=>mc,NodeCheckFlags:()=>ac,NodeFactoryFlags:()=>Hn,NodeFlags:()=>ff,NodeResolutionFeatures:()=>dr,ObjectFlags:()=>mf,OperationCanceledException:()=>dj,OperatorPrecedence:()=>Dn,OrganizeImports:()=>tJ,OrganizeImportsMode:()=>fs,OuterExpressionKinds:()=>Tl,OutliningElementsCollector:()=>sDD,OutliningSpanKind:()=>gs,OutputFileType:()=>ms,PackageJsonAutoImportPreference:()=>ws,PackageJsonDependencyGroup:()=>Ps,PatternMatchKind:()=>y_,PollingInterval:()=>rf,PollingWatchKind:()=>Wl,PragmaKindFlags:()=>Pl,PrivateIdentifierKind:()=>En,ProcessLevel:()=>Uo,ProgramUpdateLevel:()=>wo,QuotePreference:()=>ra,RelationComparisonResult:()=>bf,Rename:()=>Tg,ScriptElementKind:()=>ls,ScriptElementKindModifier:()=>is,ScriptKind:()=>cf,ScriptSnapshot:()=>xh,ScriptTarget:()=>Ml,SemanticClassificationFormat:()=>us,SemanticMeaning:()=>na,SemicolonPreference:()=>hs,SignatureCheckMode:()=>hk,SignatureFlags:()=>df,SignatureHelp:()=>OS,SignatureKind:()=>Zl,SmartSelectionRange:()=>eDD,SnippetKind:()=>pf,SortKind:()=>Nc,StructureIsReused:()=>hf,SymbolAccessibility:()=>lc,SymbolDisplay:()=>PV,SymbolDisplayPartKind:()=>Gw,SymbolFlags:()=>_f,SymbolFormatFlags:()=>cc,SyntaxKind:()=>uf,SyntheticSymbolKind:()=>ic,Ternary:()=>Ql,ThrottledCancellationToken:()=>et,TokenClass:()=>cs,TokenFlags:()=>fc,TransformFlags:()=>lf,TypeFacts:()=>xk,TypeFlags:()=>gf,TypeFormatFlags:()=>dc,TypeMapKind:()=>Bl,TypePredicateKind:()=>pc,TypeReferenceSerializationKind:()=>nc,UnionReduction:()=>_c,UpToDateStatusType:()=>Cs,VarianceFlags:()=>tc,Version:()=>kJ,VersionRange:()=>eR,WatchDirectoryFlags:()=>jl,WatchDirectoryKind:()=>ql,WatchFileKind:()=>Kl,WatchLogLevel:()=>So,WatchType:()=>l4,accessPrivateIdentifier:()=>y2D,addDisposableResourceHelper:()=>bx,addEmitFlags:()=>BX,addEmitHelper:()=>rM,addEmitHelpers:()=>AQ,addInternalEmitFlags:()=>pM,addNodeFactoryPatcher:()=>kjD,addObjectAllocatorPatcher:()=>w9D,addRange:()=>s8,addRelatedInfo:()=>gF,addSyntheticLeadingComment:()=>jN,addSyntheticTrailingComment:()=>Qx,addToSeen:()=>iJ,advancedAsyncSuperHelper:()=>$P,affectsDeclarationPathOptionDeclarations:()=>Nr,affectsEmitOptionDeclarations:()=>Er,allKeysStartWithDot:()=>Pk,altDirectorySeparator:()=>KI,and:()=>Rf,append:()=>P1,appendIfUnique:()=>kX,arrayFrom:()=>n6,arrayIsEqualTo:()=>r$,arrayIsHomogeneous:()=>s9D,arrayIsSorted:()=>sU,arrayOf:()=>E6D,arrayReverseIterator:()=>nR,arrayToMap:()=>KW,arrayToMultiMap:()=>sR,arrayToNumericMap:()=>T6D,arraysEqual:()=>U6,assertType:()=>MM,assign:()=>bj,assignHelper:()=>Gx,asyncDelegator:()=>Mx,asyncGeneratorHelper:()=>Hx,asyncSuperHelper:()=>FP,asyncValues:()=>Ox,attachFileToDiagnostics:()=>mM,awaitHelper:()=>oM,awaiterHelper:()=>Lx,base64decode:()=>j9D,base64encode:()=>O9D,binarySearch:()=>eQ,binarySearchKey:()=>WM,bindSourceFile:()=>Z2D,breakIntoCharacterSpans:()=>NJD,breakIntoWordSpans:()=>TJD,buildLinkParts:()=>rZD,buildOpts:()=>Ok,buildOverload:()=>AfD,bundlerModuleNameResolver:()=>n3D,canBeConvertedToAsync:()=>qt,canHaveDecorators:()=>hG,canHaveExportModifier:()=>ky,canHaveFlowNode:()=>Ky,canHaveIllegalDecorators:()=>en,canHaveIllegalModifiers:()=>Y3D,canHaveIllegalType:()=>qLD,canHaveIllegalTypeParameters:()=>X3D,canHaveJSDoc:()=>qy,canHaveLocals:()=>cX,canHaveModifiers:()=>oJ,canHaveSymbol:()=>aB,canJsonReportNoInputFiles:()=>hN,canProduceDiagnostics:()=>ak,canUsePropertyAccess:()=>lp,canWatchAffectingLocation:()=>b$D,canWatchAtTypes:()=>v$D,canWatchDirectoryOrFile:()=>Oh,cartesianProduct:()=>b6D,cast:()=>qF,chainBundle:()=>sJ,chainDiagnosticMessages:()=>o6,changeAnyExtension:()=>VI,changeCompilerHostLikeToUseCache:()=>Zw,changeExtension:()=>tK,changeFullExtension:()=>DFD,changesAffectModuleResolution:()=>Nv,changesAffectingProgramStructure:()=>$7D,childIsDecorated:()=>PE,classElementOrClassElementParameterIsDecorated:()=>ki,classHasClassThisAssignment:()=>Ko,classHasDeclaredOrExplicitlyAssignedName:()=>qo,classHasExplicitlyAssignedName:()=>rk,classOrConstructorParameterIsDecorated:()=>zV,classPrivateFieldGetHelper:()=>ux,classPrivateFieldInHelper:()=>vx,classPrivateFieldSetHelper:()=>fx,classicNameResolver:()=>e3D,classifier:()=>xBD,cleanExtendedConfigCache:()=>Bh,clear:()=>S7,clearMap:()=>G$,clearSharedExtendedConfigFileWatcher:()=>Io,climbPastPropertyAccess:()=>hh,climbPastPropertyOrElementAccess:()=>AZD,clone:()=>Gc,cloneCompilerOptions:()=>qa,closeFileWatcher:()=>LB,closeFileWatcherOf:()=>cZ,codefix:()=>o3,collapseTextChangeRangesAcrossMultipleVersions:()=>UFD,collectExternalModuleInfo:()=>Bo,combine:()=>r1,combinePaths:()=>Y5,commentPragmas:()=>JI,commonOptionsWithBuild:()=>uP,commonPackageFolders:()=>Zn,compact:()=>VW,compareBooleans:()=>Fz,compareDataObjects:()=>Ip,compareDiagnostics:()=>DN,compareDiagnosticsSkipRelatedInformation:()=>Pb,compareEmitHelpers:()=>R4D,compareNumberOfDirectorySeparators:()=>vy,comparePaths:()=>BV,comparePathsCaseInsensitive:()=>lMD,comparePathsCaseSensitive:()=>cMD,comparePatternKeys:()=>gr,compareProperties:()=>S6D,compareStringsCaseInsensitive:()=>Nf,compareStringsCaseInsensitiveEslintCompatible:()=>y6D,compareStringsCaseSensitive:()=>Z2,compareStringsCaseSensitiveUI:()=>tR,compareTextSpans:()=>Ef,compareValues:()=>V9,compileOnSaveCommandLineOption:()=>wP,compilerOptionsAffectDeclarationPath:()=>g9D,compilerOptionsAffectEmit:()=>_9D,compilerOptionsAffectSemanticDiagnostics:()=>h9D,compilerOptionsDidYouMeanDiagnostics:()=>bP,compilerOptionsIndicateEsModules:()=>Oa,compose:()=>HMD,computeCommonSourceDirectoryOfFilenames:()=>W$D,computeLineAndCharacterOfPosition:()=>ij,computeLineOfPosition:()=>QE,computeLineStarts:()=>CM,computePositionOfLineAndCharacter:()=>Fv,computeSignature:()=>lG,computeSignatureWithDiagnostics:()=>Ds,computeSuggestionDiagnostics:()=>Vt,computedOptions:()=>E4,concatenate:()=>y5,concatenateDiagnosticMessageChains:()=>v9D,consumesNodeCoreModules:()=>M_,contains:()=>$8,containsIgnoredPath:()=>VN,containsObjectRestOrSpread:()=>AP,containsParseError:()=>ZL,containsPath:()=>hJ,convertCompilerOptionsForTelemetry:()=>w3D,convertCompilerOptionsFromJson:()=>GAD,convertJsonOption:()=>_G,convertToBase64:()=>M9D,convertToJson:()=>IP,convertToObject:()=>T3D,convertToOptionsWithAbsolutePaths:()=>Mr,convertToRelativePath:()=>YE,convertToTSConfig:()=>FAD,convertTypeAcquisitionFromJson:()=>HAD,copyComments:()=>oG,copyEntries:()=>Tv,copyLeadingComments:()=>RA,copyProperties:()=>Hc,copyTrailingAsLeadingComments:()=>bw,copyTrailingComments:()=>MT,couldStartTrivia:()=>JFD,countWhere:()=>$7,createAbstractBuilder:()=>CED,createAccessorPropertyBackingField:()=>Fr,createAccessorPropertyGetRedirector:()=>G3D,createAccessorPropertySetRedirector:()=>H3D,createBaseNodeFactory:()=>z4D,createBinaryExpressionTrampoline:()=>Xk,createBindingHelper:()=>_L,createBuildInfo:()=>tP,createBuilderProgram:()=>Fs,createBuilderProgramUsingProgramBuildInfo:()=>u$D,createBuilderStatusReporter:()=>o$D,createCacheWithRedirects:()=>ur,createCacheableExportInfoMap:()=>aa,createCachedDirectoryStructureHost:()=>Zh,createClassNamedEvaluationHelperBlock:()=>v2D,createClassThisAssignmentBlock:()=>u2D,createClassifier:()=>_ND,createCommentDirectivesMap:()=>Q7D,createCompilerDiagnostic:()=>D4,createCompilerDiagnosticForInvalidCustomType:()=>L3D,createCompilerDiagnosticFromMessageChain:()=>yb,createCompilerHost:()=>U$D,createCompilerHostFromProgramHost:()=>Os,createCompilerHostWorker:()=>vo,createDetachedDiagnostic:()=>SL,createDiagnosticCollection:()=>NL,createDiagnosticForFileFromMessageChain:()=>ui,createDiagnosticForNode:()=>c8,createDiagnosticForNodeArray:()=>XL,createDiagnosticForNodeArrayFromMessageChain:()=>lI,createDiagnosticForNodeFromMessageChain:()=>GQ,createDiagnosticForNodeInSourceFile:()=>WJ,createDiagnosticForRange:()=>L7D,createDiagnosticMessageChainFromDiagnostic:()=>j7D,createDiagnosticReporter:()=>Qw,createDocumentPositionMapper:()=>C2D,createDocumentRegistry:()=>WJD,createDocumentRegistryInternal:()=>Jt,createEmitAndSemanticDiagnosticsBuilderProgram:()=>Xs,createEmitHelperFactory:()=>T4D,createEmptyExports:()=>WP,createExpressionForJsxElement:()=>e4D,createExpressionForJsxFragment:()=>D3D,createExpressionForObjectLiteralElementLike:()=>F3D,createExpressionForPropertyName:()=>nn,createExpressionFromEntityName:()=>UP,createExternalHelpersImportDeclarationIfNeeded:()=>sn,createFileDiagnostic:()=>Q3,createFileDiagnosticFromMessageChain:()=>vv,createForOfBindingStatement:()=>pn,createGetCanonicalFileName:()=>c3,createGetSourceFile:()=>uo,createGetSymbolAccessibilityDiagnosticForNode:()=>AV,createGetSymbolAccessibilityDiagnosticForNodeName:()=>J$D,createGetSymbolWalker:()=>J2D,createIncrementalCompilerHost:()=>Ls,createIncrementalProgram:()=>n$D,createInputFiles:()=>_jD,createInputFilesWithFilePaths:()=>Un,createInputFilesWithFileTexts:()=>Gn,createJsxFactoryExpression:()=>ln,createLanguageService:()=>wBD,createLanguageServiceSourceFile:()=>t_,createMemberAccessForPropertyName:()=>kG,createModeAwareCache:()=>MO,createModeAwareCacheKey:()=>cN,createModuleNotFoundChain:()=>Rv,createModuleResolutionCache:()=>JA,createModuleResolutionLoader:()=>go,createModuleResolutionLoaderUsingGlobalCache:()=>_$D,createModuleSpecifierResolutionHost:()=>rG,createMultiMap:()=>WZ,createNodeConverters:()=>q4D,createNodeFactory:()=>ny,createOptionNameMap:()=>Vk,createOverload:()=>V0D,createPackageJsonImportFilter:()=>LT,createPackageJsonInfo:()=>_a,createParenthesizerRules:()=>K4D,createPatternMatcher:()=>OJD,createPrependNodes:()=>ro,createPrinter:()=>zq,createPrinterWithDefaults:()=>To,createPrinterWithRemoveComments:()=>eW,createPrinterWithRemoveCommentsNeverAsciiEscape:()=>Ro,createPrinterWithRemoveCommentsOmitTrailingSemicolon:()=>eP,createProgram:()=>zh,createProgramHost:()=>js,createPropertyNameNodeForIdentifierOrLiteral:()=>pb,createQueue:()=>aR,createRange:()=>kZ,createRedirectedBuilderProgram:()=>Zs,createResolutionCache:()=>Qs,createRuntimeTypeSerializer:()=>_2D,createScanner:()=>XV,createSemanticDiagnosticsBuilderProgram:()=>AED,createSet:()=>Mc,createSolutionBuilder:()=>hED,createSolutionBuilderHost:()=>xED,createSolutionBuilderWithWatch:()=>_ED,createSolutionBuilderWithWatchHost:()=>kED,createSortedArray:()=>qM,createSourceFile:()=>EP,createSourceMapGenerator:()=>O2D,createSourceMapSource:()=>gjD,createSuperAccessVariableStatement:()=>sk,createSymbolTable:()=>HF,createSymlinkCache:()=>vp,createSystemWatchFunctions:()=>s6D,createTextChange:()=>Rw,createTextChangeFromStartLength:()=>th,createTextChangeRange:()=>AI,createTextRangeFromNode:()=>Ga,createTextRangeFromSpan:()=>ah,createTextSpan:()=>w3,createTextSpanFromBounds:()=>L4,createTextSpanFromNode:()=>i2,createTextSpanFromRange:()=>bz,createTextSpanFromStringLiteralLikeContent:()=>Ua,createTextWriter:()=>Ny,createTokenRange:()=>Np,createTypeChecker:()=>q2D,createTypeReferenceDirectiveResolutionCache:()=>Rk,createTypeReferenceResolutionLoader:()=>Yh,createUnparsedSourceFile:()=>Wn,createWatchCompilerHost:()=>fED,createWatchCompilerHostOfConfigFile:()=>l$D,createWatchCompilerHostOfFilesAndCompilerOptions:()=>i$D,createWatchFactory:()=>Ms,createWatchHost:()=>Hs,createWatchProgram:()=>vED,createWatchStatusReporter:()=>g$D,createWriteFileMeasuringIO:()=>fo,declarationNameToString:()=>b7,decodeMappings:()=>$o,decodedTextSpanIntersectsWith:()=>LI,decorateHelper:()=>zx,deduplicate:()=>AY,defaultIncludeSpec:()=>Ak,defaultInitCompilerOptions:()=>jk,defaultMaximumTruncationLength:()=>my,detectSortCaseSensitivity:()=>SK,diagnosticCategoryName:()=>DG,diagnosticToString:()=>aG,directoryProbablyExists:()=>jB,directorySeparator:()=>q9,displayPart:()=>O$,displayPartsToString:()=>$S,disposeEmitNodes:()=>Mn,disposeResourcesHelper:()=>xx,documentSpansEqual:()=>Ea,dumpTracingLegend:()=>n6D,elementAt:()=>ZV,elideNodes:()=>U3D,emitComments:()=>X9D,emitDetachedComments:()=>Y9D,emitFiles:()=>Dh,emitFilesAndReportErrors:()=>Ch,emitFilesAndReportErrorsAndGetExitStatus:()=>c$D,emitModuleKindIsNonNodeESM:()=>wb,emitNewLineBeforeLeadingCommentOfPosition:()=>B9D,emitNewLineBeforeLeadingComments:()=>Z9D,emitNewLineBeforeLeadingCommentsOfPosition:()=>J9D,emitSkippedWithNoDiagnostics:()=>Gh,emitUsingBuildInfo:()=>V$D,emptyArray:()=>Q0,emptyFileSystemEntries:()=>Jx,emptyMap:()=>wf,emptyOptions:()=>iZ,emptySet:()=>k6D,endsWith:()=>u9,ensurePathIsNonModuleName:()=>qW,ensureScriptKind:()=>_b,ensureTrailingDirectorySeparator:()=>s4,entityNameToString:()=>y$,enumerateInsertsAndDeletes:()=>yf,equalOwnProperties:()=>N6D,equateStringsCaseInsensitive:()=>vK,equateStringsCaseSensitive:()=>aU,equateValues:()=>$V,esDecorateHelper:()=>Wx,escapeJsxAttributeString:()=>zp,escapeLeadingUnderscores:()=>C9,escapeNonAsciiString:()=>Ey,escapeSnippetText:()=>bW,escapeString:()=>fY,escapeTemplateSubstitution:()=>Qp,every:()=>Z0,expandPreOrPostfixIncrementOrDecrementExpression:()=>Dk,explainFiles:()=>Ks,explainIfFileIsRedirectAndImpliedFormat:()=>qs,exportAssignmentIsAlias:()=>LL,exportStarHelper:()=>Sx,expressionResultIsUnused:()=>t9D,extend:()=>Cf,extendsHelper:()=>Ax,extensionFromPath:()=>JN,extensionIsTS:()=>db,extensionsNotSupportingExtensionlessResolution:()=>py,externalHelpersModuleNameText:()=>Cz,factory:()=>k,fileExtensionIs:()=>f9,fileExtensionIsOneOf:()=>S4,fileIncludeReasonToDiagnostics:()=>Gs,fileShouldUseJavaScriptRequire:()=>pa,filter:()=>a0,filterMutate:()=>y9,filterSemanticDiagnostics:()=>Kh,find:()=>M0,findAncestor:()=>i1,findBestPatternMatch:()=>Ac,findChildOfKind:()=>T7,findComputedPropertyNameCacheAssignment:()=>Yk,findConfigFile:()=>q$D,findContainingList:()=>ch,findDiagnosticForNode:()=>BJD,findFirstNonJsxWhitespaceToken:()=>RZD,findIndex:()=>D8,findLast:()=>a1,findLastIndex:()=>C8,findListItemInfo:()=>TZD,findMap:()=>V6,findModifier:()=>EA,findNextToken:()=>$U,findPackageJson:()=>ZJD,findPackageJsons:()=>ha,findPrecedingMatchingToken:()=>oh,findPrecedingToken:()=>v4,findSuperStatementIndexPath:()=>ik,findTokenOnLeftOfPosition:()=>ph,findUseStrictPrologue:()=>on,first:()=>f1,firstDefined:()=>ED,firstDefinedIterator:()=>XD,firstIterator:()=>G6,firstOrOnly:()=>ca,firstOrUndefined:()=>m4,firstOrUndefinedIterator:()=>k8,fixupCompilerOptions:()=>Ut,flatMap:()=>h5,flatMapIterator:()=>h2,flatMapToMutable:()=>M2,flatten:()=>_9,flattenCommaList:()=>M3D,flattenDestructuringAssignment:()=>mG,flattenDestructuringBinding:()=>tW,flattenDiagnosticMessageText:()=>KX,forEach:()=>a,forEachAncestor:()=>Z7D,forEachAncestorDirectory:()=>gJ,forEachChild:()=>s6,forEachChildRecursively:()=>xN,forEachEmittedFile:()=>Ao,forEachEnclosingBlockScopeContainer:()=>H7D,forEachEntry:()=>a4,forEachExternalModuleToImportFrom:()=>ea,forEachImportClauseDeclaration:()=>Zb,forEachKey:()=>iX,forEachLeadingCommentRange:()=>GI,forEachNameInAccessChainWalkingLeft:()=>y9D,forEachPropertyAssignment:()=>zL,forEachResolvedProjectReference:()=>co,forEachReturnStatement:()=>AW,forEachRight:()=>bD,forEachTrailingCommentRange:()=>HI,forEachTsConfigPropArray:()=>rI,forEachUnique:()=>Ta,forEachYieldExpression:()=>C7D,forSomeAncestorDirectory:()=>QjD,formatColorAndReset:()=>DU,formatDiagnostic:()=>bo,formatDiagnostics:()=>$ED,formatDiagnosticsWithColorAndContext:()=>G$D,formatGeneratedName:()=>Bq,formatGeneratedNamePart:()=>eL,formatLocation:()=>xo,formatMessage:()=>Sp,formatStringFromArgs:()=>xY,formatting:()=>i4,fullTripleSlashAMDReferencePathRegEx:()=>sp,fullTripleSlashReferencePathRegEx:()=>op,generateDjb2Hash:()=>BE,generateTSConfig:()=>XAD,generatorHelper:()=>yx,getAdjustedReferenceLocation:()=>Xa,getAdjustedRenameLocation:()=>ih,getAliasDeclarationFromName:()=>ai,getAllAccessorDeclarations:()=>AG,getAllDecoratorsOfClass:()=>Yo,getAllDecoratorsOfClassElement:()=>nk,getAllJSDocTags:()=>Vv,getAllJSDocTagsOfKind:()=>jOD,getAllKeys:()=>UMD,getAllProjectOutputs:()=>ek,getAllSuperTypeNodes:()=>vE,getAllUnscopedEmitHelpers:()=>Cn,getAllowJSCompilerOption:()=>Ez,getAllowSyntheticDefaultImports:()=>NG,getAncestor:()=>sK,getAnyExtensionFromPath:()=>lj,getAreDeclarationMapsEnabled:()=>cy,getAssignedExpandoInitializer:()=>wM,getAssignedName:()=>Yv,getAssignedNameOfIdentifier:()=>sN,getAssignmentDeclarationKind:()=>o9,getAssignmentDeclarationPropertyAccessKind:()=>Xy,getAssignmentTargetKind:()=>vM,getAutomaticTypeDirectiveNames:()=>Nk,getBaseFileName:()=>q4,getBinaryOperatorPrecedence:()=>Cy,getBuildInfo:()=>Fh,getBuildInfoFileVersionMap:()=>$s,getBuildInfoText:()=>Q$D,getBuildOrderFromAnyBuildOrder:()=>Ih,getBuilderCreationParameters:()=>Hh,getBuilderFileEmit:()=>vz,getCheckFlags:()=>m9,getClassExtendsHeritageElement:()=>RW,getClassLikeDeclarationOfSymbol:()=>jQ,getCombinedLocalAndExportSymbolFlags:()=>aE,getCombinedModifierFlags:()=>_K,getCombinedNodeFlags:()=>YV,getCombinedNodeFlagsAlwaysIncludeJSDoc:()=>il,getCommentRange:()=>XX,getCommonSourceDirectory:()=>ZT,getCommonSourceDirectoryOfConfig:()=>zA,getCompilerOptionValue:()=>ub,getCompilerOptionsDiffValue:()=>JAD,getConditions:()=>uz,getConfigFileParsingDiagnostics:()=>cG,getConstantValue:()=>O4D,getContainerFlags:()=>lr,getContainerNode:()=>pG,getContainingClass:()=>H3,getContainingClassExcludingClassDecorators:()=>cv,getContainingClassStaticBlock:()=>S7D,getContainingFunction:()=>DZ,getContainingFunctionDeclaration:()=>w7D,getContainingFunctionOrClassStaticBlock:()=>dv,getContainingNodeArray:()=>e9D,getContainingObjectLiteralElement:()=>ZS,getContextualTypeFromParent:()=>V_,getContextualTypeFromParentOrAncestorTypeNode:()=>lh,getCurrentTime:()=>zw,getDeclarationDiagnostics:()=>B$D,getDeclarationEmitExtensionForPath:()=>qb,getDeclarationEmitOutputFilePath:()=>t7D,getDeclarationEmitOutputFilePathWorker:()=>Kb,getDeclarationFileExtension:()=>Br,getDeclarationFromName:()=>fE,getDeclarationModifierFlagsFromSymbol:()=>_Z,getDeclarationOfKind:()=>j9,getDeclarationsOfKind:()=>D7D,getDeclaredExpandoInitializer:()=>$y,getDecorators:()=>Yz,getDefaultCompilerOptions:()=>a_,getDefaultExportInfoWorker:()=>R_,getDefaultFormatCodeSettings:()=>bh,getDefaultLibFileName:()=>OI,getDefaultLibFilePath:()=>SBD,getDefaultLikeExportInfo:()=>T_,getDiagnosticText:()=>rLD,getDiagnosticsWithinSpan:()=>XJD,getDirectoryPath:()=>G5,getDirectoryToWatchFailedLookupLocation:()=>Ys,getDirectoryToWatchFailedLookupLocationFromTypeRoot:()=>k$D,getDocumentPositionMapper:()=>Qt,getDocumentSpansEqualityComparer:()=>Na,getESModuleInterop:()=>oX,getEditsForFileRename:()=>GJD,getEffectiveBaseTypeNode:()=>eB,getEffectiveConstraintOfTypeParameter:()=>sj,getEffectiveContainerForJSDocTemplateTag:()=>Jb,getEffectiveImplementsTypeNodes:()=>AL,getEffectiveInitializer:()=>Fy,getEffectiveJSDocHost:()=>oK,getEffectiveModifierFlags:()=>T2,getEffectiveModifierFlagsAlwaysIncludeJSDoc:()=>K9D,getEffectiveModifierFlagsNoCache:()=>q9D,getEffectiveReturnTypeNode:()=>OJ,getEffectiveSetAccessorTypeAnnotationNode:()=>$9D,getEffectiveTypeAnnotationNode:()=>S3,getEffectiveTypeParameterDeclarations:()=>Qz,getEffectiveTypeRoots:()=>dN,getElementOrPropertyAccessArgumentExpressionOrName:()=>$b,getElementOrPropertyAccessName:()=>HQ,getElementsOfBindingOrAssignmentPattern:()=>tL,getEmitDeclarations:()=>gZ,getEmitFlags:()=>nF,getEmitHelpers:()=>Vx,getEmitModuleDetectionKind:()=>Fn,getEmitModuleKind:()=>p3,getEmitModuleResolutionKind:()=>I2,getEmitScriptTarget:()=>q7,getEmitStandardClassFields:()=>k9D,getEnclosingBlockScopeContainer:()=>pX,getEnclosingContainer:()=>Si,getEncodedSemanticClassifications:()=>$t,getEncodedSyntacticClassifications:()=>Zt,getEndLinePosition:()=>gI,getEntityNameFromTypeNode:()=>aI,getEntrypointsFromPackageJsonInfo:()=>kr,getErrorCountForSummary:()=>Lh,getErrorSpanForNode:()=>zG,getErrorSummaryText:()=>m$D,getEscapedTextOfIdentifierOrLiteral:()=>kE,getEscapedTextOfJsxAttributeName:()=>WN,getEscapedTextOfJsxNamespacedName:()=>lM,getExpandoInitializer:()=>nK,getExportAssignmentExpression:()=>ti,getExportInfoMap:()=>gw,getExportNeedsImportStarHelper:()=>E2D,getExpressionAssociativity:()=>Bp,getExpressionPrecedence:()=>_E,getExternalHelpersModuleName:()=>HP,getExternalModuleImportEqualsDeclarationExpression:()=>wE,getExternalModuleName:()=>HL,getExternalModuleNameFromDeclaration:()=>s7D,getExternalModuleNameFromPath:()=>qp,getExternalModuleNameLiteral:()=>WO,getExternalModuleRequireArgument:()=>_i,getFallbackOptions:()=>$w,getFileEmitOutput:()=>C$D,getFileMatcherPatterns:()=>hb,getFileNamesFromConfigSpecs:()=>_N,getFileWatcherEventKind:()=>Sl,getFilesInErrorForSummary:()=>Ah,getFirstConstructorWithBody:()=>vY,getFirstIdentifier:()=>FZ,getFirstNonSpaceCharacterPosition:()=>aZD,getFirstProjectOutput:()=>No,getFixableErrorSpanExpression:()=>ma,getFormatCodeSettingsForWriting:()=>A_,getFullWidth:()=>hI,getFunctionFlags:()=>t4,getHeritageClause:()=>Oy,getHostSignatureFromJSDoc:()=>rK,getIdentifierAutoGenerate:()=>ijD,getIdentifierGeneratedImportReference:()=>N4D,getIdentifierTypeArguments:()=>TG,getImmediatelyInvokedFunctionExpression:()=>qG,getImpliedNodeFormatForFile:()=>Xw,getImpliedNodeFormatForFileWorker:()=>po,getImportNeedsImportDefaultHelper:()=>Jo,getImportNeedsImportStarHelper:()=>ck,getIndentSize:()=>RL,getIndentString:()=>Vb,getInferredLibraryNameResolveFrom:()=>Vh,getInitializedVariables:()=>sE,getInitializerOfBinaryExpression:()=>li,getInitializerOfBindingOrAssignmentElement:()=>OP,getInterfaceBaseTypeNodes:()=>bE,getInternalEmitFlags:()=>dJ,getInvokedExpression:()=>pv,getIsolatedModules:()=>AJ,getJSDocAugmentsTag:()=>EFD,getJSDocClassTag:()=>nl,getJSDocCommentRanges:()=>vi,getJSDocCommentsAndTags:()=>pi,getJSDocDeprecatedTag:()=>rl,getJSDocDeprecatedTagNoCache:()=>wFD,getJSDocEnumTag:()=>ol,getJSDocHost:()=>HG,getJSDocImplementsTags:()=>NFD,getJSDocOverloadTags:()=>ri,getJSDocOverrideTagNoCache:()=>PFD,getJSDocParameterTags:()=>oj,getJSDocParameterTagsNoCache:()=>jFD,getJSDocPrivateTag:()=>UOD,getJSDocPrivateTagNoCache:()=>RFD,getJSDocProtectedTag:()=>GOD,getJSDocProtectedTagNoCache:()=>IFD,getJSDocPublicTag:()=>WOD,getJSDocPublicTagNoCache:()=>TFD,getJSDocReadonlyTag:()=>HOD,getJSDocReadonlyTagNoCache:()=>yFD,getJSDocReturnTag:()=>SFD,getJSDocReturnType:()=>EI,getJSDocRoot:()=>jL,getJSDocSatisfiesExpressionType:()=>pp,getJSDocSatisfiesTag:()=>sl,getJSDocTags:()=>cK,getJSDocTagsNoCache:()=>OOD,getJSDocTemplateTag:()=>MOD,getJSDocThisTag:()=>Qv,getJSDocType:()=>dK,getJSDocTypeAliasName:()=>tn,getJSDocTypeAssertionType:()=>$k,getJSDocTypeParameterDeclarations:()=>Hb,getJSDocTypeParameterTags:()=>LFD,getJSDocTypeParameterTagsNoCache:()=>AFD,getJSDocTypeTag:()=>mK,getJSXImplicitImportBase:()=>vb,getJSXRuntimeImport:()=>bb,getJSXTransformEnabled:()=>fb,getKeyForCompilerOptions:()=>Sr,getLanguageVariant:()=>Sy,getLastChild:()=>yp,getLeadingCommentRanges:()=>NY,getLeadingCommentRangesOfNode:()=>fi,getLeftmostAccessExpression:()=>PL,getLeftmostExpression:()=>wL,getLibraryNameFromLibFileName:()=>lo,getLineAndCharacterOfPosition:()=>I7,getLineInfo:()=>Do,getLineOfLocalPosition:()=>dE,getLineOfLocalPositionFromLineMap:()=>jG,getLineStartPositionForPosition:()=>NJ,getLineStarts:()=>KQ,getLinesBetweenPositionAndNextNonWhitespaceCharacter:()=>N9D,getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter:()=>E9D,getLinesBetweenPositions:()=>VE,getLinesBetweenRangeEndAndRangeStart:()=>Tp,getLinesBetweenRangeEndPositions:()=>XjD,getLiteralText:()=>V7D,getLocalNameForExternalImport:()=>aL,getLocalSymbolForExportDefault:()=>yL,getLocaleSpecificMessage:()=>i6,getLocaleTimeString:()=>Vw,getMappedContextSpan:()=>Ra,getMappedDocumentSpan:()=>B_,getMappedLocation:()=>UT,getMatchedFileSpec:()=>Ws,getMatchedIncludeSpec:()=>Us,getMeaningFromDeclaration:()=>Hw,getMeaningFromLocation:()=>iG,getMembersOfDeclaration:()=>E7D,getModeForFileReference:()=>Jw,getModeForResolutionAtIndex:()=>H$D,getModeForUsageLocation:()=>ho,getModifiedTime:()=>jM,getModifiers:()=>UW,getModuleInstanceState:()=>TQ,getModuleNameStringLiteralAt:()=>Yw,getModuleSpecifierEndingPreference:()=>l9D,getModuleSpecifierResolverHost:()=>ja,getNameForExportedSymbol:()=>O_,getNameFromImportAttribute:()=>sb,getNameFromIndexInfo:()=>M7D,getNameFromPropertyName:()=>Pw,getNameOfAccessExpression:()=>wp,getNameOfCompilerOptionValue:()=>Hr,getNameOfDeclaration:()=>m6,getNameOfExpando:()=>di,getNameOfJSDocTypedef:()=>OFD,getNameOrArgument:()=>By,getNameTable:()=>rt,getNamesForExportedSymbol:()=>YJD,getNamespaceDeclarationNode:()=>ML,getNewLineCharacter:()=>GV,getNewLineKind:()=>_w,getNewLineOrDefaultFromHost:()=>RV,getNewTargetContainer:()=>f7D,getNextJSDocCommentLocation:()=>ni,getNodeForGeneratedName:()=>LP,getNodeId:()=>W7,getNodeKind:()=>FU,getNodeModifiers:()=>KT,getNodeModulePathParts:()=>nb,getNonAssignedNameOfDeclaration:()=>Xv,getNonAssignmentOperatorForCompoundAssignment:()=>nN,getNonAugmentationDeclaration:()=>Ti,getNonDecoratorTokenPosOfNode:()=>Li,getNormalizedAbsolutePath:()=>N6,getNormalizedAbsolutePathWithoutRoot:()=>kl,getNormalizedPathComponents:()=>QI,getObjectFlags:()=>p8,getOperator:()=>Yp,getOperatorAssociativity:()=>Xp,getOperatorPrecedence:()=>Ay,getOptionFromName:()=>qr,getOptionsForLibraryResolution:()=>fr,getOptionsNameMap:()=>FA,getOrCreateEmitNode:()=>n3,getOrCreateExternalHelpersModuleNameIfNeeded:()=>B3D,getOrUpdate:()=>Z7,getOriginalNode:()=>g9,getOriginalNodeId:()=>r3,getOriginalSourceFile:()=>sOD,getOutputDeclarationFileName:()=>$T,getOutputDeclarationFileNameWorker:()=>Co,getOutputExtension:()=>tk,getOutputFileNames:()=>DED,getOutputJSFileNameWorker:()=>Eo,getOutputPathsFor:()=>FT,getOutputPathsForBundle:()=>DT,getOwnEmitOutputFilePath:()=>a7D,getOwnKeys:()=>EY,getOwnValues:()=>UM,getPackageJsonInfo:()=>rW,getPackageJsonTypesVersionsPaths:()=>Ek,getPackageJsonsVisibleToFile:()=>JJD,getPackageNameFromTypesPackageName:()=>lN,getPackageScopeForPath:()=>gP,getParameterSymbolFromJSDoc:()=>Wy,getParameterTypeNode:()=>MjD,getParentNodeInSpan:()=>Sw,getParseTreeNode:()=>k6,getParsedCommandLineOfConfigFile:()=>TP,getPathComponents:()=>o4,getPathComponentsRelativeTo:()=>_l,getPathFromPathComponents:()=>Jz,getPathUpdater:()=>Xt,getPathsBasePath:()=>Wb,getPatternFromSpec:()=>m9D,getPendingEmitKind:()=>GA,getPositionOfLineAndCharacter:()=>WI,getPossibleGenericSignatures:()=>Qa,getPossibleOriginalInputExtensionForExtension:()=>e7D,getPossibleTypeArgumentsInfo:()=>Va,getPreEmitDiagnostics:()=>FED,getPrecedingNonSpaceCharacterPosition:()=>Y_,getPrivateIdentifier:()=>Qo,getProperties:()=>Xo,getProperty:()=>Lf,getPropertyArrayElementValue:()=>P7D,getPropertyAssignmentAliasLikeExpression:()=>p7D,getPropertyNameForPropertyNameNode:()=>MG,getPropertyNameForUniqueESSymbol:()=>rOD,getPropertyNameFromType:()=>LJ,getPropertyNameOfBindingOrAssignmentElement:()=>an,getPropertySymbolFromBindingElement:()=>J_,getPropertySymbolsFromContextualType:()=>e_,getQuoteFromPreference:()=>Aa,getQuotePreference:()=>EZ,getRangesWhere:()=>Q9,getRefactorContextSpan:()=>RO,getReferencedFileLocation:()=>JT,getRegexFromPattern:()=>Lz,getRegularExpressionForWildcard:()=>FN,getRegularExpressionsForWildcards:()=>xb,getRelativePathFromDirectory:()=>_J,getRelativePathFromFile:()=>zI,getRelativePathToDirectoryOrUrl:()=>AM,getRenameLocation:()=>vw,getReplacementSpanForContextToken:()=>Wa,getResolutionDiagnostic:()=>oo,getResolutionModeOverride:()=>KA,getResolveJsonModule:()=>Dq,getResolvePackageJsonExports:()=>Fx,getResolvePackageJsonImports:()=>$x,getResolvedExternalModuleName:()=>zb,getRestIndicatorOfBindingOrAssignmentElement:()=>Jk,getRestParameterElementType:()=>bi,getRightMostAssignedExpression:()=>Zy,getRootDeclaration:()=>FX,getRootDirectoryOfResolutionCache:()=>h$D,getRootLength:()=>dX,getRootPathSplitLength:()=>RED,getScriptKind:()=>Sa,getScriptKindFromFileName:()=>gb,getScriptTargetFeatures:()=>eb,getSelectedEffectiveModifierFlags:()=>kM,getSelectedSyntacticModifierFlags:()=>V9D,getSemanticClassifications:()=>KJD,getSemanticJsxChildren:()=>EL,getSetAccessorTypeAnnotationNode:()=>D9D,getSetAccessorValueParameter:()=>cE,getSetExternalModuleIndicator:()=>uy,getShebang:()=>Zv,getSingleInitializerOfVariableStatementOrPropertyDeclaration:()=>ii,getSingleVariableOfVariableStatement:()=>fM,getSnapshotText:()=>CA,getSnippetElement:()=>On,getSourceFileOfModule:()=>yv,getSourceFileOfNode:()=>o1,getSourceFilePathInNewDir:()=>Ub,getSourceFilePathInNewDirWorker:()=>Gb,getSourceFileVersionAsHashFromText:()=>Eh,getSourceFilesToEmit:()=>Wp,getSourceMapRange:()=>MV,getSourceMapper:()=>IJD,getSourceTextOfNodeFromSourceFile:()=>OW,getSpanOfTokenAtPosition:()=>nX,getSpellingSuggestion:()=>FE,getStartPositionOfLine:()=>Gz,getStartPositionOfRange:()=>oE,getStartsOnNewLine:()=>ON,getStaticPropertiesAndClassStaticBlock:()=>pk,getStrictOptionValue:()=>R2,getStringComparer:()=>xj,getSubPatternFromSpec:()=>kb,getSuperCallFromStatement:()=>lk,getSuperContainer:()=>oI,getSupportedCodeFixes:()=>pt,getSupportedExtensions:()=>$N,getSupportedExtensionsWithJsonIfResolveJsonModule:()=>fy,getSwitchedType:()=>xa,getSymbolId:()=>PF,getSymbolNameForPrivateIdentifier:()=>jy,getSymbolTarget:()=>ua,getSyntacticClassifications:()=>qJD,getSyntacticModifierFlags:()=>Oz,getSyntacticModifierFlagsNoCache:()=>Mp,getSynthesizedDeepClone:()=>G9,getSynthesizedDeepCloneWithReplacements:()=>fw,getSynthesizedDeepClones:()=>ZU,getSynthesizedDeepClonesWithReplacements:()=>fa,getSyntheticLeadingComments:()=>hL,getSyntheticTrailingComments:()=>ty,getTargetLabel:()=>_h,getTargetOfBindingOrAssignmentElement:()=>Sz,getTemporaryModuleResolutionState:()=>_P,getTextOfConstantValue:()=>z7D,getTextOfIdentifierOrLiteral:()=>HJ,getTextOfJSDocComment:()=>TI,getTextOfJsxAttributeName:()=>gy,getTextOfJsxNamespacedName:()=>UN,getTextOfNode:()=>A4,getTextOfNodeFromSourceText:()=>NE,getTextOfPropertyName:()=>BL,getThisContainer:()=>e2,getThisParameter:()=>yW,getTokenAtPosition:()=>M6,getTokenPosOfNode:()=>iK,getTokenSourceMapRange:()=>cjD,getTouchingPropertyName:()=>Z$,getTouchingToken:()=>AA,getTrailingCommentRanges:()=>xK,getTrailingSemicolonDeferringWriter:()=>Kp,getTransformFlagsSubtreeExclusions:()=>W4D,getTransformers:()=>jo,getTsBuildInfoEmitOutputFilePath:()=>CV,getTsConfigObjectLiteralExpression:()=>yE,getTsConfigPropArrayElementValue:()=>mv,getTypeAnnotationNode:()=>F9D,getTypeArgumentOrTypeParameterList:()=>vZD,getTypeKeywordOfTypeOnlyImport:()=>Ca,getTypeNode:()=>C4D,getTypeNodeIfAccessible:()=>jT,getTypeParameterFromJsDoc:()=>g7D,getTypeParameterOwner:()=>QOD,getTypesPackageName:()=>wk,getUILocale:()=>P6D,getUniqueName:()=>sG,getUniqueSymbolId:()=>sZD,getUseDefineForClassFields:()=>MN,getWatchErrorSummaryDiagnosticMessage:()=>Vs,getWatchFactory:()=>Po,group:()=>DE,groupBy:()=>Af,guessIndentation:()=>tFD,handleNoEmitOptions:()=>no,hasAbstractModifier:()=>SW,hasAccessorModifier:()=>$X,hasAmbientModifier:()=>Hp,hasChangesInResolutions:()=>Mi,hasChildOfKind:()=>Ew,hasContextSensitiveParameters:()=>ib,hasDecorators:()=>xZ,hasDocComment:()=>uZD,hasDynamicName:()=>Mz,hasEffectiveModifier:()=>w$,hasEffectiveModifiers:()=>Mb,hasEffectiveReadonlyModifier:()=>lE,hasExtension:()=>LM,hasIndexSignature:()=>ba,hasInitializer:()=>Wz,hasInvalidEscape:()=>Vp,hasJSDocNodes:()=>a$,hasJSDocParameterTags:()=>CFD,hasJSFileExtension:()=>uW,hasJsonModuleEmitEnabled:()=>Sb,hasOnlyExpressionInitializer:()=>YG,hasOverrideModifier:()=>Ob,hasPossibleExternalModuleReference:()=>G7D,hasProperty:()=>v7,hasPropertyAccessExpressionWithName:()=>Ow,hasQuestionToken:()=>uM,hasRecordedExternalHelpers:()=>J3D,hasResolutionModeOverride:()=>J4D,hasRestParameter:()=>Wi,hasScopeMarker:()=>lFD,hasStaticModifier:()=>C4,hasSyntacticModifier:()=>Q5,hasSyntacticModifiers:()=>Q9D,hasTSFileExtension:()=>cM,hasTabstop:()=>F4D,hasTrailingDirectorySeparator:()=>JV,hasType:()=>Cv,hasTypeArguments:()=>cOD,hasZeroOrOneAsteriskCharacter:()=>fp,helperString:()=>An,hostGetCanonicalFileName:()=>qV,hostUsesCaseSensitiveFileNames:()=>gE,idText:()=>w8,identifierIsThisKeyword:()=>Gp,identifierToKeywordKind:()=>gK,identity:()=>n7,identitySourceMapConsumer:()=>dk,ignoreSourceNewlines:()=>Ln,ignoredPaths:()=>YI,importDefaultHelper:()=>wx,importFromModuleSpecifier:()=>uE,importNameElisionDisabled:()=>up,importStarHelper:()=>DP,indexOfAnyCharCode:()=>VF,indexOfNode:()=>JL,indicesOf:()=>d3,inferredTypesContainingFile:()=>UA,injectClassNamedEvaluationHelperBlockIfMissing:()=>ok,injectClassThisAssignmentIfMissing:()=>f2D,insertImports:()=>WT,insertLeadingStatement:()=>QLD,insertSorted:()=>rB,insertStatementAfterCustomPrologue:()=>QG,insertStatementAfterStandardPrologue:()=>fOD,insertStatementsAfterCustomPrologue:()=>Oi,insertStatementsAfterStandardPrologue:()=>yY,intersperse:()=>nD,intrinsicTagNameToString:()=>np,introducesArgumentsExoticObject:()=>I7D,inverseJsxOptionMap:()=>gN,isAbstractConstructorSymbol:()=>T9D,isAbstractModifier:()=>u4D,isAccessExpression:()=>m7,isAccessibilityModifier:()=>Ka,isAccessor:()=>zz,isAccessorModifier:()=>v4D,isAliasSymbolDeclaration:()=>iOD,isAliasableExpression:()=>My,isAmbientModule:()=>l3,isAmbientPropertyDeclaration:()=>Ii,isAnonymousFunctionDefinition:()=>hE,isAnyDirectorySeparator:()=>vl,isAnyImportOrBareOrAccessedRequire:()=>U7D,isAnyImportOrReExport:()=>dI,isAnyImportSyntax:()=>VG,isAnySupportedFileExtension:()=>HjD,isApplicableVersionedTypesKey:()=>dP,isArgumentExpressionOfElementAccess:()=>Da,isArray:()=>x6,isArrayBindingElement:()=>Hv,isArrayBindingOrAssignmentElement:()=>uI,isArrayBindingOrAssignmentPattern:()=>Yi,isArrayBindingPattern:()=>hW,isArrayLiteralExpression:()=>y2,isArrayLiteralOrObjectLiteralDestructuringPattern:()=>NV,isArrayTypeNode:()=>YP,isArrowFunction:()=>o7,isAsExpression:()=>VP,isAssertClause:()=>m4D,isAssertEntry:()=>DLD,isAssertionExpression:()=>XG,isAssertsKeyword:()=>w4D,isAssignmentDeclaration:()=>SE,isAssignmentExpression:()=>d4,isAssignmentOperator:()=>WV,isAssignmentPattern:()=>AE,isAssignmentTarget:()=>uY,isAsteriskToken:()=>ZP,isAsyncFunction:()=>xE,isAsyncModifier:()=>AN,isAutoAccessorPropertyDeclaration:()=>t2,isAwaitExpression:()=>yz,isAwaitKeyword:()=>yn,isBigIntLiteral:()=>kx,isBinaryExpression:()=>E8,isBinaryOperatorToken:()=>W3D,isBindableObjectDefinePropertyCall:()=>UG,isBindableStaticAccessExpression:()=>NW,isBindableStaticElementAccessExpression:()=>Fb,isBindableStaticNameExpression:()=>GG,isBindingElement:()=>F7,isBindingElementOfBareOrAccessedRequire:()=>x7D,isBindingName:()=>JG,isBindingOrAssignmentElement:()=>hFD,isBindingOrAssignmentPattern:()=>wI,isBindingPattern:()=>YF,isBlock:()=>DF,isBlockOrCatchScoped:()=>Ai,isBlockScope:()=>yi,isBlockScopedContainerTopLevel:()=>W7D,isBooleanLiteral:()=>LE,isBreakOrContinueStatement:()=>HE,isBreakStatement:()=>ajD,isBuildInfoFile:()=>Y$D,isBuilderProgram:()=>d$D,isBundle:()=>bn,isBundleFileTextLike:()=>I9D,isCallChain:()=>$G,isCallExpression:()=>UF,isCallExpressionTarget:()=>rs,isCallLikeExpression:()=>MW,isCallLikeOrFunctionLikeExpression:()=>Qi,isCallOrNewExpression:()=>sB,isCallOrNewExpressionTarget:()=>os,isCallSignatureDeclaration:()=>FO,isCallToHelper:()=>LN,isCaseBlock:()=>yN,isCaseClause:()=>iL,isCaseKeyword:()=>b4D,isCaseOrDefaultClause:()=>Lv,isCatchClause:()=>iW,isCatchClauseVariableDeclaration:()=>D4D,isCatchClauseVariableDeclarationOrBindingElement:()=>Ci,isCheckJsEnabledForFile:()=>xy,isChildOfNodeWithKind:()=>bOD,isCircularBuildOrder:()=>CO,isClassDeclaration:()=>f4,isClassElement:()=>Y3,isClassExpression:()=>V3,isClassInstanceProperty:()=>xFD,isClassLike:()=>j5,isClassMemberModifier:()=>Ji,isClassNamedEvaluationHelperBlock:()=>AO,isClassOrTypeElement:()=>Gv,isClassStaticBlockDeclaration:()=>v9,isClassThisAssignmentBlock:()=>oN,isCollapsedRange:()=>BjD,isColonToken:()=>y4D,isCommaExpression:()=>GP,isCommaListExpression:()=>TN,isCommaSequence:()=>fN,isCommaToken:()=>I4D,isComment:()=>sh,isCommonJsExportPropertyAssignment:()=>_v,isCommonJsExportedExpression:()=>T7D,isCompoundAssignment:()=>pN,isComputedNonLiteralName:()=>cI,isComputedPropertyName:()=>J7,isConciseBody:()=>Ov,isConditionalExpression:()=>lL,isConditionalTypeNode:()=>BO,isConstTypeReference:()=>WQ,isConstructSignatureDeclaration:()=>BP,isConstructorDeclaration:()=>d9,isConstructorTypeNode:()=>gL,isContextualKeyword:()=>Xb,isContinueStatement:()=>sjD,isCustomPrologue:()=>nI,isDebuggerStatement:()=>tjD,isDeclaration:()=>Y2,isDeclarationBindingElement:()=>PI,isDeclarationFileName:()=>f3,isDeclarationName:()=>MQ,isDeclarationNameOfEnumOrNamespace:()=>Rp,isDeclarationReadonly:()=>bv,isDeclarationStatement:()=>rFD,isDeclarationWithTypeParameterChildren:()=>wi,isDeclarationWithTypeParameters:()=>Pi,isDecorator:()=>u3,isDecoratorTarget:()=>jZD,isDefaultClause:()=>wN,isDefaultImport:()=>SM,isDefaultModifier:()=>mx,isDefaultedExpandoInitializer:()=>k7D,isDeleteExpression:()=>h4D,isDeleteTarget:()=>si,isDeprecatedDeclaration:()=>j_,isDestructuringAssignment:()=>UV,isDiagnosticWithLocation:()=>ga,isDiskPathRoot:()=>bl,isDoStatement:()=>rjD,isDocumentRegistryEntry:()=>mw,isDotDotDotToken:()=>_x,isDottedName:()=>pE,isDynamicName:()=>Qb,isESSymbolIdentifier:()=>oOD,isEffectiveExternalModule:()=>PM,isEffectiveModuleDeclaration:()=>q7D,isEffectiveStrictModeSourceFile:()=>Ri,isElementAccessChain:()=>al,isElementAccessExpression:()=>B9,isEmittedFileOfProgram:()=>K$D,isEmptyArrayLiteral:()=>H9D,isEmptyBindingElement:()=>HFD,isEmptyBindingPattern:()=>GFD,isEmptyObjectLiteral:()=>Cp,isEmptyStatement:()=>un,isEmptyStringLiteral:()=>hi,isEntityName:()=>W$,isEntityNameExpression:()=>s9,isEnumConst:()=>LW,isEnumDeclaration:()=>$q,isEnumMember:()=>pW,isEqualityOperatorKind:()=>z_,isEqualsGreaterThanToken:()=>P4D,isExclamationToken:()=>JP,isExcludedFile:()=>I3D,isExclusivelyTypeOnlyImportOrExport:()=>ko,isExpandoPropertyDeclaration:()=>ob,isExportAssignment:()=>l9,isExportDeclaration:()=>B4,isExportModifier:()=>eM,isExportName:()=>Fk,isExportNamespaceAsDefaultDeclaration:()=>Sv,isExportOrDefaultModifier:()=>jP,isExportSpecifier:()=>Q2,isExportsIdentifier:()=>WG,isExportsOrModuleExportsOrAlias:()=>oW,isExpression:()=>P0,isExpressionNode:()=>wY,isExpressionOfExternalModuleImportEqualsDeclaration:()=>EZD,isExpressionOfOptionalChainRoot:()=>qv,isExpressionStatement:()=>z3,isExpressionWithTypeArguments:()=>jV,isExpressionWithTypeArgumentsInClassExtendsClause:()=>jb,isExternalModule:()=>G4,isExternalModuleAugmentation:()=>jW,isExternalModuleImportEqualsDeclaration:()=>pK,isExternalModuleIndicator:()=>fI,isExternalModuleNameRelative:()=>X3,isExternalModuleReference:()=>DY,isExternalModuleSymbol:()=>Iw,isExternalOrCommonJsModule:()=>t$,isFileLevelReservedGeneratedIdentifier:()=>yI,isFileLevelUniqueName:()=>Pv,isFileProbablyExternalModule:()=>CP,isFirstDeclarationOfSymbolParameter:()=>Ia,isFixablePromiseHandler:()=>Kt,isForInOrOfStatement:()=>ej,isForInStatement:()=>nx,isForInitializer:()=>bZ,isForOfStatement:()=>zP,isForStatement:()=>SG,isFunctionBlock:()=>CW,isFunctionBody:()=>zi,isFunctionDeclaration:()=>u4,isFunctionExpression:()=>d7,isFunctionExpressionOrArrowFunction:()=>vW,isFunctionLike:()=>XF,isFunctionLikeDeclaration:()=>r7,isFunctionLikeKind:()=>TM,isFunctionLikeOrClassStaticBlockDeclaration:()=>tj,isFunctionOrConstructorTypeNode:()=>kFD,isFunctionOrModuleBlock:()=>Bi,isFunctionSymbol:()=>_7D,isFunctionTypeNode:()=>aX,isFutureReservedKeyword:()=>pOD,isGeneratedIdentifier:()=>W9,isGeneratedPrivateIdentifier:()=>ZG,isGetAccessor:()=>qz,isGetAccessorDeclaration:()=>MZ,isGetOrSetAccessorDeclaration:()=>zv,isGlobalDeclaration:()=>vND,isGlobalScopeAugmentation:()=>tB,isGrammarError:()=>Y7D,isHeritageClause:()=>OZ,isHoistedFunction:()=>kv,isHoistedVariableStatement:()=>hv,isIdentifier:()=>sD,isIdentifierANonContextualKeyword:()=>Fp,isIdentifierName:()=>i7D,isIdentifierOrThisTypeNode:()=>V3D,isIdentifierPart:()=>kK,isIdentifierStart:()=>TY,isIdentifierText:()=>GZ,isIdentifierTypePredicate:()=>y7D,isIdentifierTypeReference:()=>o9D,isIfStatement:()=>wG,isIgnoredFileFromWildCardWatching:()=>Fw,isImplicitGlob:()=>xp,isImportAttribute:()=>d4D,isImportAttributeName:()=>bFD,isImportAttributes:()=>QO,isImportCall:()=>e$,isImportClause:()=>tX,isImportDeclaration:()=>c4,isImportEqualsDeclaration:()=>K3,isImportKeyword:()=>EN,isImportMeta:()=>QL,isImportOrExportSpecifier:()=>NM,isImportOrExportSpecifierName:()=>oZD,isImportSpecifier:()=>H$,isImportTypeAssertionContainer:()=>ejD,isImportTypeNode:()=>hY,isImportableFile:()=>ta,isInComment:()=>EV,isInCompoundLikeAssignment:()=>oi,isInExpressionContext:()=>rv,isInJSDoc:()=>eI,isInJSFile:()=>H8,isInJSXText:()=>wZD,isInJsonFile:()=>sv,isInNonReferenceComment:()=>kZD,isInReferenceComment:()=>xZD,isInRightSideOfInternalImportEqualsDeclaration:()=>kh,isInString:()=>nG,isInTemplateString:()=>Ya,isInTopLevelContext:()=>lv,isInTypeQuery:()=>LG,isIncrementalCompilation:()=>HN,isIndexSignatureDeclaration:()=>kW,isIndexedAccessTypeNode:()=>PG,isInferTypeNode:()=>RG,isInfinityOrNaNString:()=>zN,isInitializedProperty:()=>rP,isInitializedVariable:()=>wy,isInsideJsxElement:()=>rh,isInsideJsxElementOrAttribute:()=>PZD,isInsideNodeModules:()=>hw,isInsideTemplateLiteral:()=>Tw,isInstanceOfExpression:()=>Lb,isInstantiatedModule:()=>rr,isInterfaceDeclaration:()=>P2,isInternalDeclaration:()=>Ui,isInternalModuleImportEqualsDeclaration:()=>WL,isInternalName:()=>rn,isIntersectionTypeNode:()=>JO,isIntrinsicJsxName:()=>TL,isIterationStatement:()=>Kz,isJSDoc:()=>EB,isJSDocAllType:()=>n4D,isJSDocAugmentsTag:()=>qO,isJSDocAuthorTag:()=>JLD,isJSDocCallbackTag:()=>kn,isJSDocClassTag:()=>o4D,isJSDocCommentContainingNode:()=>Av,isJSDocConstructSignature:()=>OL,isJSDocDeprecatedTag:()=>dn,isJSDocEnumTag:()=>qP,isJSDocFunctionType:()=>nL,isJSDocImplementsTag:()=>tx,isJSDocIndexSignature:()=>av,isJSDocLikeText:()=>Zr,isJSDocLink:()=>i4D,isJSDocLinkCode:()=>p4D,isJSDocLinkLike:()=>yM,isJSDocLinkPlain:()=>$LD,isJSDocMemberName:()=>Zq,isJSDocNameReference:()=>SN,isJSDocNamepathType:()=>ZLD,isJSDocNamespaceBody:()=>IOD,isJSDocNode:()=>DL,isJSDocNonNullableType:()=>rx,isJSDocNullableType:()=>pL,isJSDocOptionalParameter:()=>_y,isJSDocOptionalType:()=>xn,isJSDocOverloadTag:()=>rL,isJSDocOverrideTag:()=>sx,isJSDocParameterTag:()=>NB,isJSDocPrivateTag:()=>_n,isJSDocPropertyLikeTag:()=>ME,isJSDocPropertyTag:()=>s4D,isJSDocProtectedTag:()=>gn,isJSDocPublicTag:()=>hn,isJSDocReadonlyTag:()=>mn,isJSDocReturnTag:()=>ax,isJSDocSatisfiesExpression:()=>ip,isJSDocSatisfiesTag:()=>ex,isJSDocSeeTag:()=>BLD,isJSDocSignature:()=>Jq,isJSDocTag:()=>FL,isJSDocTemplateTag:()=>EJ,isJSDocThisTag:()=>cn,isJSDocThrowsTag:()=>YLD,isJSDocTypeAlias:()=>GJ,isJSDocTypeAssertion:()=>sL,isJSDocTypeExpression:()=>nW,isJSDocTypeLiteral:()=>bG,isJSDocTypeTag:()=>uN,isJSDocTypedefTag:()=>xG,isJSDocUnknownTag:()=>XLD,isJSDocUnknownType:()=>r4D,isJSDocVariadicType:()=>ox,isJSXTagName:()=>qL,isJsonEqual:()=>cb,isJsonSourceFile:()=>UJ,isJsxAttribute:()=>VX,isJsxAttributeLike:()=>jv,isJsxAttributeName:()=>Z4D,isJsxAttributes:()=>lW,isJsxChild:()=>xI,isJsxClosingElement:()=>dW,isJsxClosingFragment:()=>c4D,isJsxElement:()=>_Y,isJsxExpression:()=>PN,isJsxFragment:()=>cW,isJsxNamespacedName:()=>CB,isJsxOpeningElement:()=>QX,isJsxOpeningFragment:()=>zO,isJsxOpeningLikeElement:()=>E2,isJsxOpeningLikeElementTagName:()=>LZD,isJsxSelfClosingElement:()=>fG,isJsxSpreadAttribute:()=>KO,isJsxTagNameExpression:()=>CE,isJsxText:()=>sM,isJumpStatementTarget:()=>jw,isKeyword:()=>F$,isKeywordOrPunctuation:()=>Bb,isKnownSymbol:()=>Ly,isLabelName:()=>ts,isLabelOfLabeledStatement:()=>as,isLabeledStatement:()=>mW,isLateVisibilityPaintedStatement:()=>fv,isLeftHandSideExpression:()=>U$,isLeftHandSideOfAssignment:()=>JjD,isLet:()=>xv,isLineBreak:()=>B2,isLiteralComputedPropertyDeclarationName:()=>Hy,isLiteralExpression:()=>HW,isLiteralExpressionOfObject:()=>$i,isLiteralImportTypeNode:()=>Hz,isLiteralKind:()=>OE,isLiteralLikeAccess:()=>Db,isLiteralLikeElementAccess:()=>Jy,isLiteralNameOfPropertyDeclarationOrIndexAccess:()=>gh,isLiteralTypeLikeExpression:()=>WLD,isLiteralTypeLiteral:()=>dFD,isLiteralTypeNode:()=>Iz,isLocalName:()=>EQ,isLogicalOperator:()=>W9D,isLogicalOrCoalescingAssignmentExpression:()=>Op,isLogicalOrCoalescingAssignmentOperator:()=>iE,isLogicalOrCoalescingBinaryExpression:()=>Ry,isLogicalOrCoalescingBinaryOperator:()=>Ty,isMappedTypeNode:()=>dL,isMemberName:()=>RY,isMetaProperty:()=>NN,isMethodDeclaration:()=>F4,isMethodOrAccessor:()=>RM,isMethodSignature:()=>sX,isMinusToken:()=>In,isMissingDeclaration:()=>FLD,isMissingPackageJsonInfo:()=>l3D,isModifier:()=>SF,isModifierKind:()=>QV,isModifierLike:()=>U9,isModuleAugmentationExternal:()=>Ni,isModuleBlock:()=>YX,isModuleBody:()=>iFD,isModuleDeclaration:()=>J4,isModuleExportsAccessExpression:()=>SY,isModuleIdentifier:()=>ci,isModuleName:()=>q3D,isModuleOrEnumDeclaration:()=>vI,isModuleReference:()=>sFD,isModuleSpecifierLike:()=>Z_,isModuleWithStringLiteralName:()=>uv,isNameOfFunctionDeclaration:()=>$a,isNameOfModuleDeclaration:()=>Fa,isNamedClassElement:()=>COD,isNamedDeclaration:()=>A2,isNamedEvaluation:()=>P$,isNamedEvaluationSource:()=>$p,isNamedExportBindings:()=>el,isNamedExports:()=>dZ,isNamedImportBindings:()=>Ki,isNamedImports:()=>CQ,isNamedImportsOrExports:()=>Ib,isNamedTupleMember:()=>mL,isNamespaceBody:()=>ROD,isNamespaceExport:()=>eX,isNamespaceExportDeclaration:()=>KP,isNamespaceImport:()=>wz,isNamespaceReexportDeclaration:()=>b7D,isNewExpression:()=>_W,isNewExpressionTarget:()=>VT,isNoSubstitutionTemplateLiteral:()=>aM,isNode:()=>LOD,isNodeArray:()=>GW,isNodeArrayMultiLine:()=>C9D,isNodeDescendantOf:()=>TW,isNodeKind:()=>RI,isNodeLikeSystem:()=>Ec,isNodeModulesDirectory:()=>tf,isNodeWithPossibleHoistedDeclaration:()=>d7D,isNonContextualKeyword:()=>Dp,isNonExportDefaultModifier:()=>GLD,isNonGlobalAmbientModule:()=>Ei,isNonGlobalDeclaration:()=>zJD,isNonNullAccess:()=>$4D,isNonNullChain:()=>Wv,isNonNullExpression:()=>YO,isNonStaticMethodOrAccessorWithPrivateName:()=>N2D,isNotEmittedOrPartiallyEmittedNode:()=>TOD,isNotEmittedStatement:()=>vn,isNullishCoalesce:()=>tl,isNumber:()=>DV,isNumericLiteral:()=>S$,isNumericLiteralName:()=>kY,isObjectBindingElementWithoutPropertyName:()=>ww,isObjectBindingOrAssignmentElement:()=>SI,isObjectBindingOrAssignmentPattern:()=>Xi,isObjectBindingPattern:()=>CJ,isObjectLiteralElement:()=>qi,isObjectLiteralElementLike:()=>UQ,isObjectLiteralExpression:()=>mF,isObjectLiteralMethod:()=>lJ,isObjectLiteralOrClassExpressionMethodOrAccessor:()=>gv,isObjectTypeDeclaration:()=>gM,isOctalDigit:()=>$v,isOmittedExpression:()=>e4,isOptionalChain:()=>X2,isOptionalChainRoot:()=>UE,isOptionalDeclaration:()=>qN,isOptionalJSDocPropertyLikeTag:()=>hy,isOptionalTypeNode:()=>dx,isOuterExpression:()=>Zk,isOutermostOptionalChain:()=>GE,isOverrideModifier:()=>f4D,isPackageJsonInfo:()=>Tk,isPackedArrayLiteral:()=>cp,isParameter:()=>u6,isParameterDeclaration:()=>IW,isParameterPropertyDeclaration:()=>I$,isParameterPropertyModifier:()=>jE,isParenthesizedExpression:()=>$$,isParenthesizedTypeNode:()=>IG,isParseTreeNode:()=>WE,isPartOfTypeNode:()=>PY,isPartOfTypeQuery:()=>ov,isPartiallyEmittedExpression:()=>px,isPatternMatch:()=>Tf,isPinnedComment:()=>wv,isPlainJsFile:()=>_I,isPlusToken:()=>Rn,isPossiblyTypeArgumentPosition:()=>Nw,isPostfixUnaryExpression:()=>wn,isPrefixUnaryExpression:()=>Pz,isPrivateIdentifier:()=>$6,isPrivateIdentifierClassElementDeclaration:()=>C2,isPrivateIdentifierPropertyAccessExpression:()=>aj,isPrivateIdentifierSymbol:()=>n7D,isProgramBundleEmitBuildInfo:()=>I$D,isProgramUptoDate:()=>io,isPrologueDirective:()=>cJ,isPropertyAccessChain:()=>Kv,isPropertyAccessEntityNameExpression:()=>Iy,isPropertyAccessExpression:()=>n8,isPropertyAccessOrQualifiedName:()=>gFD,isPropertyAccessOrQualifiedNameOrImportTypeNode:()=>_FD,isPropertyAssignment:()=>N4,isPropertyDeclaration:()=>t6,isPropertyName:()=>W4,isPropertyNameLiteral:()=>DX,isPropertySignature:()=>u$,isProtoSetter:()=>r7D,isPrototypeAccess:()=>jz,isPrototypePropertyAssignment:()=>Yy,isPunctuation:()=>ei,isPushOrUnshiftIdentifier:()=>Zp,isQualifiedName:()=>d2,isQuestionDotToken:()=>gx,isQuestionOrExclamationToken:()=>Q3D,isQuestionOrPlusOrMinusToken:()=>K3D,isQuestionToken:()=>Tz,isRawSourceMap:()=>L2D,isReadonlyKeyword:()=>S4D,isReadonlyKeywordOrPlusOrMinusToken:()=>z3D,isRecognizedTripleSlashComment:()=>ji,isReferenceFileLocation:()=>qA,isReferencedFile:()=>Kq,isRegularExpressionLiteral:()=>Nn,isRequireCall:()=>g2,isRequireVariableStatement:()=>mi,isRestParameter:()=>IY,isRestTypeNode:()=>cx,isReturnStatement:()=>nJ,isReturnStatementWithFixablePromiseHandler:()=>P_,isRightSideOfAccessExpression:()=>Ap,isRightSideOfInstanceofExpression:()=>G9D,isRightSideOfPropertyAccess:()=>jA,isRightSideOfQualifiedName:()=>CZD,isRightSideOfQualifiedNameOrPropertyAccess:()=>nE,isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName:()=>U9D,isRootedDiskPath:()=>R$,isSameEntityName:()=>UL,isSatisfiesExpression:()=>Sn,isScopeMarker:()=>cFD,isSemicolonClassElement:()=>_4D,isSetAccessor:()=>VV,isSetAccessorDeclaration:()=>f$,isShebangTrivia:()=>gl,isShiftOperatorOrHigher:()=>Dr,isShorthandAmbientModuleSymbol:()=>TE,isShorthandPropertyAssignment:()=>M$,isSignedNumericLiteral:()=>Yb,isSimpleCopiableExpression:()=>aW,isSimpleInlineableExpression:()=>zX,isSimpleParameter:()=>P2D,isSimpleParameterList:()=>oP,isSingleOrDoubleQuote:()=>Dy,isSourceFile:()=>B6,isSourceFileFromLibrary:()=>IA,isSourceFileJS:()=>N2,isSourceFileNotJS:()=>hOD,isSourceFileNotJson:()=>gi,isSourceMapping:()=>A2D,isSpecialPropertyDeclaration:()=>h7D,isSpreadAssignment:()=>LV,isSpreadElement:()=>pJ,isStatement:()=>F6,isStatementButNotDeclaration:()=>bI,isStatementOrBlock:()=>oFD,isStatementWithLocals:()=>X7D,isStatic:()=>WF,isStaticModifier:()=>DO,isString:()=>g6,isStringAKeyword:()=>nOD,isStringANonContextualKeyword:()=>bM,isStringAndEmptyAnonymousObjectIntersection:()=>bZD,isStringDoubleQuoted:()=>ev,isStringLiteral:()=>kF,isStringLiteralLike:()=>H7,isStringLiteralOrJsxExpression:()=>aFD,isStringLiteralOrTemplate:()=>FJD,isStringOrNumericLiteralLike:()=>HZ,isStringOrRegularExpressionOrTemplateLiteral:()=>za,isStringTextContainingNode:()=>Zi,isSuperCall:()=>KG,isSuperKeyword:()=>CN,isSuperOrSuperProperty:()=>kOD,isSuperProperty:()=>D$,isSupportedSourceFileName:()=>i9D,isSwitchStatement:()=>IN,isSyntaxList:()=>oL,isSyntheticExpression:()=>njD,isSyntheticReference:()=>VO,isTagName:()=>es,isTaggedTemplateExpression:()=>gW,isTaggedTemplateTag:()=>OZD,isTemplateExpression:()=>lx,isTemplateHead:()=>tM,isTemplateLiteral:()=>IM,isTemplateLiteralKind:()=>Vz,isTemplateLiteralToken:()=>fFD,isTemplateLiteralTypeNode:()=>x4D,isTemplateLiteralTypeSpan:()=>Pn,isTemplateMiddle:()=>Tn,isTemplateMiddleOrTemplateTail:()=>Uv,isTemplateSpan:()=>RN,isTemplateTail:()=>hx,isTextWhiteSpaceLike:()=>mZD,isThis:()=>LA,isThisContainerOrFunctionBlock:()=>u7D,isThisIdentifier:()=>wW,isThisInTypeQuery:()=>xM,isThisInitializedDeclaration:()=>iv,isThisInitializedObjectBindingExpression:()=>v7D,isThisProperty:()=>sI,isThisTypeNode:()=>QP,isThisTypeParameter:()=>KN,isThisTypePredicate:()=>xOD,isThrowStatement:()=>fn,isToken:()=>EM,isTokenKind:()=>Fi,isTraceEnabled:()=>NQ,isTransientSymbol:()=>lX,isTrivia:()=>CL,isTryStatement:()=>uG,isTupleTypeNode:()=>ZO,isTypeAlias:()=>zy,isTypeAliasDeclaration:()=>rJ,isTypeAssertionExpression:()=>k4D,isTypeDeclaration:()=>bL,isTypeElement:()=>BG,isTypeKeyword:()=>qT,isTypeKeywordToken:()=>Ha,isTypeKeywordTokenOrIdentifier:()=>eh,isTypeLiteralNode:()=>v$,isTypeNode:()=>e5,isTypeNodeKind:()=>Pp,isTypeOfExpression:()=>cL,isTypeOnlyExportDeclaration:()=>vFD,isTypeOnlyImportDeclaration:()=>II,isTypeOnlyImportOrExportDeclaration:()=>lK,isTypeOperatorNode:()=>yG,isTypeParameterDeclaration:()=>E9,isTypePredicateNode:()=>XP,isTypeQueryNode:()=>$O,isTypeReferenceNode:()=>mZ,isTypeReferenceType:()=>Ev,isTypeUsableAsPropertyName:()=>jJ,isUMDExportSymbol:()=>Rb,isUnaryExpression:()=>Vi,isUnaryExpressionWithWrite:()=>mFD,isUnicodeIdentifierStart:()=>Dv,isUnionTypeNode:()=>Rz,isUnparsedNode:()=>Di,isUnparsedPrepend:()=>l4D,isUnparsedSource:()=>vG,isUnparsedTextLike:()=>uFD,isUrl:()=>e6D,isValidBigIntString:()=>lb,isValidESSymbolDeclaration:()=>R7D,isValidTypeOnlyAliasUseSite:()=>eK,isValueSignatureDeclaration:()=>c7D,isVarAwaitUsing:()=>iI,isVarConst:()=>YL,isVarUsing:()=>pI,isVariableDeclaration:()=>n5,isVariableDeclarationInVariableStatement:()=>IE,isVariableDeclarationInitializedToBareOrAccessedRequire:()=>EW,isVariableDeclarationInitializedToRequire:()=>tv,isVariableDeclarationList:()=>D3,isVariableLike:()=>VL,isVariableLikeOrAccessor:()=>N7D,isVariableStatement:()=>c9,isVoidExpression:()=>XO,isWatchSet:()=>YjD,isWhileStatement:()=>ojD,isWhiteSpaceLike:()=>qQ,isWhiteSpaceSingleLine:()=>oB,isWithStatement:()=>g4D,isWriteAccess:()=>_M,isWriteOnlyAccess:()=>Tb,isYieldExpression:()=>ix,jsxModeNeedsExplicitImport:()=>ia,keywordPart:()=>x$,last:()=>BF,lastOrUndefined:()=>S6,length:()=>HD,libMap:()=>Gk,libs:()=>SP,lineBreakPart:()=>TA,linkNamePart:()=>nZD,linkPart:()=>Pa,linkTextPart:()=>X_,listFiles:()=>zs,loadModuleFromGlobalCache:()=>D2D,loadWithModeAwareCache:()=>Bw,makeIdentifierFromModuleName:()=>K7D,makeImport:()=>TV,makeImportIfNecessary:()=>gZD,makeStringLiteral:()=>TO,mangleScopedPackageName:()=>YA,map:()=>K1,mapAllOrFail:()=>xX,mapDefined:()=>m5,mapDefinedEntries:()=>r4,mapDefinedIterator:()=>qZ,mapEntries:()=>e9,mapIterator:()=>$5,mapOneOrMany:()=>da,mapToDisplayParts:()=>xz,matchFiles:()=>kp,matchPatternOrExact:()=>hp,matchedText:()=>v6D,matchesExclude:()=>Uk,maybeBind:()=>KF,maybeSetLocalizedDiagnosticMessages:()=>f9D,memoize:()=>_2,memoizeCached:()=>I6D,memoizeOne:()=>gX,memoizeWeak:()=>GMD,metadataHelper:()=>Kx,min:()=>Oc,minAndMax:()=>n9D,missingFileModifiedTime:()=>OB,modifierToFlag:()=>hM,modifiersToFlags:()=>ZX,moduleOptionDeclaration:()=>Lr,moduleResolutionIsEqualTo:()=>J7D,moduleResolutionNameAndModeGetter:()=>Wh,moduleResolutionOptionDeclarations:()=>Hk,moduleResolutionSupportsPackageJsonExportsAndImports:()=>dM,moduleResolutionUsesNodeModules:()=>D_,moduleSpecifiers:()=>sW,moveEmitHelpers:()=>L4D,moveRangeEnd:()=>Eb,moveRangePastDecorators:()=>OQ,moveRangePastModifiers:()=>JX,moveRangePos:()=>aK,moveSyntheticComments:()=>M4D,mutateMap:()=>eE,mutateMapSkippingNewValues:()=>bY,needsParentheses:()=>Q_,needsScopeMarker:()=>Mv,newCaseClauseTracker:()=>C_,newPrivateEnvironment:()=>I2D,noEmitNotification:()=>sP,noEmitSubstitution:()=>tN,noTransformers:()=>Lo,noTruncationMaximumTruncationLength:()=>tb,nodeCanBeDecorated:()=>nv,nodeHasName:()=>CI,nodeIsDecorated:()=>KL,nodeIsMissing:()=>r9,nodeIsPresent:()=>qJ,nodeIsSynthesized:()=>J9,nodeModuleNameResolver:()=>r3D,nodeModulesPathPart:()=>$Y,nodeNextJsonConfigResolver:()=>o3D,nodeOrChildIsDecorated:()=>tI,nodeOverlapsWithStartEnd:()=>mh,nodePosToString:()=>POD,nodeSeenTracker:()=>NO,nodeStartsNewLexicalEnvironment:()=>Jp,nodeToDisplayParts:()=>yND,noop:()=>D7,noopFileWatcher:()=>MA,normalizePath:()=>TF,normalizeSlashes:()=>J2,not:()=>If,notImplemented:()=>e6,notImplementedResolver:()=>$h,nullNodeConverters:()=>Kn,nullParenthesizerRules:()=>zn,nullTransformationContext:()=>eN,objectAllocator:()=>M3,operatorPart:()=>GT,optionDeclarations:()=>gY,optionMapToObject:()=>Kk,optionsAffectingProgramStructure:()=>Tr,optionsForBuild:()=>Ir,optionsForWatch:()=>$A,optionsHaveChanges:()=>$L,optionsHaveModuleResolutionChanges:()=>F7D,or:()=>MB,orderedRemoveItem:()=>hj,orderedRemoveItemAt:()=>$z,outFile:()=>k7,packageIdToPackageName:()=>Iv,packageIdToString:()=>Uz,paramHelper:()=>qx,parameterIsThisKeyword:()=>PW,parameterNamePart:()=>cZD,parseBaseNodeFactory:()=>Qr,parseBigInt:()=>r9D,parseBuildCommand:()=>nLD,parseCommandLine:()=>iLD,parseCommandLineWorker:()=>Kr,parseConfigFileTextToJson:()=>Wr,parseConfigFileWithSystem:()=>yED,parseConfigHostFromCompilerHostLike:()=>qh,parseCustomTypeOption:()=>zk,parseIsolatedEntityName:()=>UO,parseIsolatedJSDocComment:()=>j3D,parseJSDocTypeExpressionForTests:()=>uLD,parseJsonConfigFileContent:()=>YAD,parseJsonSourceFileConfigFileContent:()=>yP,parseJsonText:()=>NP,parseListTypeOption:()=>A3D,parseNodeFactory:()=>FY,parseNodeModuleFromPath:()=>hP,parsePackageName:()=>mP,parsePseudoBigInt:()=>XN,parseValidBigInt:()=>dp,patchWriteFileEnsuringDirectory:()=>a6D,pathContainsNodeModules:()=>Vq,pathIsAbsolute:()=>XE,pathIsBareSpecifier:()=>xl,pathIsRelative:()=>s$,patternText:()=>f6D,perfLogger:()=>j2,performIncrementalCompilation:()=>uED,performance:()=>i6D,plainJSErrors:()=>Uh,positionBelongsToNode:()=>Ja,positionIsASICandidate:()=>q_,positionIsSynthesized:()=>AB,positionsAreOnSameLine:()=>hZ,preProcessFile:()=>FTD,probablyUsesSemicolons:()=>xw,processCommentPragmas:()=>Xr,processPragmasIntoFields:()=>Yr,processTaggedTemplateExpression:()=>Wo,programContainsEsModules:()=>_ZD,programContainsModules:()=>hZD,projectReferenceIsEqualTo:()=>Hi,propKeyHelper:()=>Tx,propertyNamePart:()=>lZD,pseudoBigIntToString:()=>fW,punctuationPart:()=>K2,pushIfUnique:()=>o$,quote:()=>OT,quotePreferenceFromString:()=>La,rangeContainsPosition:()=>Lw,rangeContainsPositionExclusive:()=>Aw,rangeContainsRange:()=>CZ,rangeContainsRangeExclusive:()=>NZD,rangeContainsStartEnd:()=>Cw,rangeEndIsOnSameLineAsRangeStart:()=>Py,rangeEndPositionsAreOnSameLine:()=>L9D,rangeEquals:()=>rR,rangeIsOnSingleLine:()=>CG,rangeOfNode:()=>gp,rangeOfTypeParameters:()=>mp,rangeOverlapsWithStartEnd:()=>zT,rangeStartIsOnSameLineAsRangeEnd:()=>A9D,rangeStartPositionsAreOnSameLine:()=>Nb,readBuilderProgram:()=>Rh,readConfigFile:()=>RP,readHelper:()=>Ex,readJson:()=>rE,readJsonConfigFile:()=>N3D,readJsonOrUndefined:()=>Ep,reduceEachLeadingCommentRange:()=>BFD,reduceEachTrailingCommentRange:()=>XFD,reduceLeft:()=>O2,reduceLeftIterator:()=>UD,reducePathComponents:()=>FG,refactor:()=>yO,regExpEscape:()=>UjD,relativeComplement:()=>vj,removeAllComments:()=>sy,removeEmitHelper:()=>ljD,removeExtension:()=>by,removeFileExtension:()=>m2,removeIgnoredPath:()=>Mh,removeMinAndVersionNumbers:()=>jc,removeOptionality:()=>SZD,removePrefix:()=>$E,removeSuffix:()=>kj,removeTrailingDirectorySeparator:()=>bK,repeatString:()=>yw,replaceElement:()=>Uc,replaceFirstStar:()=>iM,resolutionExtensionIsTSOrJson:()=>ZN,resolveConfigFileProjectName:()=>As,resolveJSModule:()=>p3D,resolveLibrary:()=>Ik,resolveModuleName:()=>BA,resolveModuleNameFromCache:()=>lAD,resolvePackageNameToPackageJson:()=>wr,resolvePath:()=>Bz,resolveProjectReferencePath:()=>WA,resolveTripleslashReference:()=>Xh,resolveTypeReferenceDirective:()=>d3D,resolvingEmptyArray:()=>ab,restHelper:()=>jx,returnFalse:()=>HB,returnNoopFileWatcher:()=>OA,returnTrue:()=>FV,returnUndefined:()=>fK,returnsPromise:()=>zt,runInitializersHelper:()=>Ux,sameFlatMap:()=>$2,sameMap:()=>R8,sameMapping:()=>SCD,scanShebangTrivia:()=>ml,scanTokenAtPosition:()=>A7D,scanner:()=>q2,screenStartingMessageCodes:()=>Th,semanticDiagnosticsOptionDeclarations:()=>Cr,serializeCompilerOptions:()=>qk,server:()=>afD,servicesVersion:()=>uBD,setCommentRange:()=>U4,setConfigFileInOptions:()=>Or,setConstantValue:()=>j4D,setEachParent:()=>vL,setEmitFlags:()=>L8,setFunctionNameHelper:()=>Rx,setGetSourceFileAsHashVersioned:()=>Nh,setIdentifierAutoGenerate:()=>ey,setIdentifierGeneratedImportReference:()=>E4D,setIdentifierTypeArguments:()=>OV,setInternalEmitFlags:()=>ay,setLocalizedDiagnosticMessages:()=>u9D,setModuleDefaultHelper:()=>Px,setNodeFlags:()=>a9D,setObjectAllocator:()=>S9D,setOriginalNode:()=>h8,setParent:()=>sF,setParentRecursive:()=>Az,setPrivateIdentifier:()=>gG,setSnippetElement:()=>jn,setSourceMapRange:()=>xF,setStackTraceLimit:()=>bMD,setStartsOnNewLine:()=>Yx,setSyntheticLeadingComments:()=>Fq,setSyntheticTrailingComments:()=>nM,setSys:()=>gMD,setSysLog:()=>o6D,setTextRange:()=>O0,setTextRangeEnd:()=>fL,setTextRangePos:()=>YN,setTextRangePosEnd:()=>rX,setTextRangePosWidth:()=>QN,setTokenSourceMapRange:()=>H4D,setTypeNode:()=>A4D,setUILocale:()=>w6D,setValueDeclaration:()=>Qy,shouldAllowImportingTsExtension:()=>QA,shouldPreserveConstEnums:()=>xW,shouldUseUriStyleNodeCoreModules:()=>L_,showModuleSpecifier:()=>R9D,signatureHasLiteralTypes:()=>or,signatureHasRestParameter:()=>z2,signatureToDisplayParts:()=>wa,single:()=>oR,singleElementArray:()=>OM,singleIterator:()=>QJ,singleOrMany:()=>hX,singleOrUndefined:()=>VJ,skipAlias:()=>i3,skipAssertions:()=>zLD,skipConstraint:()=>Ma,skipOuterExpressions:()=>X4,skipParentheses:()=>E7,skipPartiallyEmittedExpressions:()=>mJ,skipTrivia:()=>_F,skipTypeChecking:()=>BN,skipTypeParentheses:()=>Gy,skipWhile:()=>x6D,sliceAfter:()=>_p,some:()=>B0,sort:()=>uK,sortAndDeduplicate:()=>wK,sortAndDeduplicateDiagnostics:()=>nj,sourceFileAffectingCompilerOptions:()=>Mk,sourceFileMayBeEmitted:()=>OG,sourceMapCommentRegExp:()=>gk,sourceMapCommentRegExpDontCareLineStart:()=>Zo,spacePart:()=>i9,spanMap:()=>_6,spreadArrayHelper:()=>Nx,stableSort:()=>CY,startEndContainsRange:()=>Za,startEndOverlapsWithStartEnd:()=>dh,startOnNewLine:()=>V2,startTracing:()=>p6D,startsWith:()=>H6,startsWithDirectory:()=>hl,startsWithUnderscore:()=>la,startsWithUseStrict:()=>$3D,stringContainsAt:()=>VJD,stringToToken:()=>WW,stripQuotes:()=>MJ,supportedDeclarationExtensions:()=>ly,supportedJSExtensions:()=>Yn,supportedJSExtensionsFlat:()=>kL,supportedLocaleDirectories:()=>Gi,supportedTSExtensions:()=>xL,supportedTSExtensionsFlat:()=>Xn,supportedTSImplementationExtensions:()=>iy,suppressLeadingAndTrailingTrivia:()=>k$,suppressLeadingTrivia:()=>va,suppressTrailingTrivia:()=>tZD,symbolEscapedNameNoDefault:()=>$_,symbolName:()=>P9,symbolNameNoDefault:()=>F_,symbolPart:()=>dZD,symbolToDisplayParts:()=>HT,syntaxMayBeASICandidate:()=>sa,syntaxRequiresTrailingSemicolonOrASI:()=>K_,sys:()=>P3,sysLog:()=>BI,tagNamesAreEquivalent:()=>Xq,takeWhile:()=>Pf,targetOptionDeclaration:()=>fP,templateObjectHelper:()=>Cx,testFormatSettings:()=>MZD,textChangeRangeIsUnchanged:()=>WFD,textChangeRangeNewSpan:()=>qE,textChanges:()=>N8,textOrKeywordPart:()=>ya,textPart:()=>NZ,textRangeContainsPositionInclusive:()=>jI,textSpanContainsPosition:()=>ll,textSpanContainsTextSpan:()=>VFD,textSpanEnd:()=>Z4,textSpanIntersection:()=>qFD,textSpanIntersectsWith:()=>Bv,textSpanIntersectsWithPosition:()=>KFD,textSpanIntersectsWithTextSpan:()=>YOD,textSpanIsEmpty:()=>QFD,textSpanOverlap:()=>zFD,textSpanOverlapsWith:()=>XOD,textSpansEqual:()=>NA,textToKeywordObj:()=>MI,timestamp:()=>Z9,toArray:()=>GM,toBuilderFileEmit:()=>w$D,toBuilderStateFileInfoForMultiEmit:()=>P$D,toEditorSettings:()=>FS,toFileNameLowerCase:()=>_X,toLowerCase:()=>R6D,toPath:()=>K9,toProgramEmitPending:()=>S$D,tokenIsIdentifierOrKeyword:()=>L2,tokenIsIdentifierOrKeywordOrGreaterThan:()=>ZFD,tokenToString:()=>LF,trace:()=>I6,tracing:()=>U8,tracingEnabled:()=>FI,transform:()=>eRD,transformClassFields:()=>h2D,transformDeclarations:()=>Oo,transformECMAScriptModule:()=>Mo,transformES2015:()=>e2D,transformES2016:()=>t2D,transformES2017:()=>d2D,transformES2018:()=>c2D,transformES2019:()=>l2D,transformES2020:()=>i2D,transformES2021:()=>p2D,transformES5:()=>D$D,transformESDecorators:()=>m2D,transformESNext:()=>n2D,transformGenerators:()=>F$D,transformJsx:()=>a2D,transformLegacyDecorators:()=>g2D,transformModule:()=>Ho,transformNamedEvaluation:()=>b$,transformNodeModule:()=>Z$D,transformNodes:()=>aP,transformSystemModule:()=>$$D,transformTypeScript:()=>k2D,transpile:()=>VTD,transpileModule:()=>yJD,transpileOptionValueCompilerOptions:()=>Rr,tryAddToSet:()=>y3,tryAndIgnoreErrors:()=>G_,tryCast:()=>U5,tryDirectoryExists:()=>U_,tryExtractTSExtension:()=>Ab,tryFileExists:()=>kw,tryGetClassExtendingExpressionWithTypeArguments:()=>jp,tryGetClassImplementingOrExtendingExpressionWithTypeArguments:()=>Lp,tryGetDirectories:()=>W_,tryGetExtensionFromPath:()=>LQ,tryGetImportFromModuleSpecifier:()=>Vy,tryGetJSDocSatisfiesTypeNode:()=>rb,tryGetModuleNameFromFile:()=>MP,tryGetModuleSpecifierFromDeclaration:()=>GL,tryGetNativePerformanceHooks:()=>d6D,tryGetPropertyAccessOrIdentifierToString:()=>yy,tryGetPropertyNameOfBindingOrAssignmentElement:()=>Bk,tryGetSourceMappingURL:()=>j2D,tryGetTextOfPropertyName:()=>RE,tryIOAndConsumeErrors:()=>H_,tryParseJson:()=>Cb,tryParsePattern:()=>uL,tryParsePatterns:()=>mb,tryParseRawSourceMap:()=>Fo,tryReadDirectory:()=>ka,tryReadFile:()=>kN,tryRemoveDirectoryPrefix:()=>bp,tryRemoveExtension:()=>p9D,tryRemovePrefix:()=>Cc,tryRemoveSuffix:()=>u6D,typeAcquisitionDeclarations:()=>vP,typeAliasNamePart:()=>iZD,typeDirectiveIsEqualTo:()=>B7D,typeKeywords:()=>E_,typeParameterNamePart:()=>pZD,typeToDisplayParts:()=>uw,unchangedPollThresholds:()=>XI,unchangedTextChangeRange:()=>kI,unescapeLeadingUnderscores:()=>t5,unmangleScopedPackageName:()=>cP,unorderedRemoveItem:()=>HM,unorderedRemoveItemAt:()=>Lc,unreachableCodeIsError:()=>b9D,unusedLabelIsError:()=>x9D,unwrapInnermostStatementOfLabel:()=>xi,updateErrorForNoInputFiles:()=>Wk,updateLanguageServiceSourceFile:()=>nt,updateMissingFilePathsWatch:()=>yo,updateResolutionField:()=>ZA,updateSharedExtendedConfigFileWatcher:()=>Jh,updateSourceFile:()=>Jr,updateWatchingWildcardDirectories:()=>Dw,usesExtensionsOnImports:()=>c9D,usingSingleLineStringWriter:()=>EE,utf16EncodeAsString:()=>pj,validateLocaleAndSetLanguage:()=>VOD,valuesHelper:()=>Ix,version:()=>_,versionMajorMinor:()=>x,visitArray:()=>pP,visitCommaListElements:()=>nP,visitEachChild:()=>w1,visitFunctionBody:()=>AZ,visitIterationBody:()=>c2,visitLexicalEnvironment:()=>er,visitNode:()=>z0,visitNodes:()=>p1,visitParameterList:()=>b9,walkUpBindingElementsAndPatterns:()=>rj,walkUpLexicalEnvironments:()=>R2D,walkUpOuterExpressions:()=>Z3D,walkUpParenthesizedExpressions:()=>KV,walkUpParenthesizedTypes:()=>Uy,walkUpParenthesizedTypesAndGetParentAndChild:()=>l7D,whitespaceOrMapCommentRegExp:()=>mk,writeCommentRange:()=>IL,writeFile:()=>mE,writeFileEnsuringDirectories:()=>Up,zipWith:()=>TD});var _z=G({"src/server/_namespaces/ts.ts"(){zF(),Uw(),H5(),z0D(),$H()}}),efD={};y(efD,{ActionInvalidate:()=>qw,ActionPackageInstalled:()=>Ww,ActionSet:()=>Kw,ActionWatchTypingLocations:()=>QT,Arguments:()=>ys,AutoImportProviderProject:()=>N0D,AuxiliaryProject:()=>C0D,CharRangeSection:()=>k0D,CloseFileWatcherEvent:()=>ig,CommandNames:()=>BzD,ConfigFileDiagEvent:()=>gg,ConfiguredProject:()=>T0D,CreateDirectoryWatcherEvent:()=>lg,CreateFileWatcherEvent:()=>cg,Errors:()=>wV,EventBeginInstallTypes:()=>uh,EventEndInstallTypes:()=>fh,EventInitializationFailed:()=>Is,EventTypesRegistry:()=>Sh,ExternalProject:()=>fg,GcTimer:()=>G0D,InferredProject:()=>A0D,LargeFileReferencedEvent:()=>_g,LineIndex:()=>xT,LineLeaf:()=>vS,LineNode:()=>_O,LogLevel:()=>K0D,Msg:()=>q0D,OpenFileInfoTelemetryEvent:()=>P0D,Project:()=>FH,ProjectInfoTelemetryEvent:()=>dg,ProjectKind:()=>vT,ProjectLanguageServiceStateEvent:()=>mg,ProjectLoadingFinishEvent:()=>hg,ProjectLoadingStartEvent:()=>kg,ProjectReferenceProjectLoadKind:()=>u0D,ProjectService:()=>f0D,ProjectsUpdatedInBackgroundEvent:()=>SS,ScriptInfo:()=>O0D,ScriptVersionCache:()=>og,Session:()=>YzD,TextStorage:()=>M0D,ThrottledOperations:()=>U0D,TypingsCache:()=>j0D,TypingsInstallerAdapter:()=>zzD,allFilesAreJsOrDts:()=>kVD,allRootFilesAreJsOrDts:()=>xVD,asNormalizedPath:()=>eJ,convertCompilerOptions:()=>vg,convertFormatOptions:()=>iA,convertScriptKindName:()=>I0D,convertTypeAcquisition:()=>gVD,convertUserPreferences:()=>mVD,convertWatchOptions:()=>wS,countEachFileTypes:()=>yS,createInstallTypingsRequest:()=>GVD,createModuleSpecifierCache:()=>aVD,createNormalizedPathMap:()=>IfD,createPackageJsonCache:()=>tVD,createSortedArray:()=>LVD,emptyArray:()=>T4,findArgument:()=>GND,forEachResolvedProjectReferenceProject:()=>pA,formatDiagnosticToProtocol:()=>fS,formatMessage:()=>eVD,getBaseConfigFileName:()=>W0D,getLocationInNewDocument:()=>ZzD,hasArgument:()=>UND,hasNoTypeScriptSource:()=>hVD,indent:()=>YT,isBackgroundProject:()=>PS,isConfigFile:()=>nVD,isConfiguredProject:()=>Oq,isDynamicFileName:()=>IS,isExternalProject:()=>L0D,isInferredProject:()=>lA,isInferredProjectName:()=>HVD,makeAutoImportProviderProjectName:()=>OVD,makeAuxiliaryProjectName:()=>jVD,makeInferredProjectName:()=>MVD,maxFileSize:()=>xg,maxProgramSizeForNonTsFiles:()=>bg,normalizedPathToPath:()=>RS,nowString:()=>HND,nullCancellationToken:()=>JzD,nullTypingsInstaller:()=>ug,projectContainsInfoDirectly:()=>kO,protocol:()=>bVD,removeSorted:()=>yfD,stringifyIndented:()=>qq,toEvent:()=>DzD,toNormalizedPath:()=>L9,tryConvertScriptKindName:()=>R0D,typingsInstaller:()=>WVD,updateProjectIfDirty:()=>$Z});var lU0=G({"src/typescript/_namespaces/ts.server.ts"(){vh(),$H()}}),DvD={};y(DvD,{ANONYMOUS:()=>N_,AccessFlags:()=>Dl,AssertionLevel:()=>Tc,AssignmentDeclarationKind:()=>Vl,AssignmentKind:()=>ap,Associativity:()=>ep,BreakpointResolver:()=>De,BuilderFileEmit:()=>Js,BuilderProgramKind:()=>Bs,BuilderState:()=>aJ,BundleFileSectionKind:()=>Il,CallHierarchy:()=>PO,CharacterCodes:()=>Ll,CheckFlags:()=>oc,CheckMode:()=>kk,ClassificationType:()=>ns,ClassificationTypeNames:()=>ps,CommentDirectiveType:()=>vc,Comparison:()=>VD,CompletionInfoFlags:()=>_s,CompletionTriggerKind:()=>vs,Completions:()=>vO,ContainerFlags:()=>pr,ContextFlags:()=>gc,Debug:()=>S,DiagnosticCategory:()=>ZI,Diagnostics:()=>H,DocumentHighlights:()=>I_,ElementFlags:()=>ec,EmitFlags:()=>nf,EmitHint:()=>Nl,EmitOnly:()=>xc,EndOfLineState:()=>ds,EnumKind:()=>rc,ExitStatus:()=>kc,ExportKind:()=>Ft,Extension:()=>Al,ExternalEmitHelpers:()=>El,FileIncludeKind:()=>kf,FilePreprocessingDiagnosticsKind:()=>bc,FileSystemEntryKind:()=>fl,FileWatcherEventKind:()=>ul,FindAllReferences:()=>c7,FlattenLevel:()=>zo,FlowFlags:()=>$I,ForegroundColorEscapeSequences:()=>so,FunctionFlags:()=>tp,GeneratedIdentifierFlags:()=>xf,GetLiteralTextFlags:()=>rp,GoToDefinition:()=>_A,HighlightSpanKind:()=>xs,IdentifierNameMap:()=>jO,IdentifierNameMultiMap:()=>Vo,ImportKind:()=>Dt,ImportsNotUsedAsValues:()=>Gl,IndentStyle:()=>ks,IndexFlags:()=>Fl,IndexKind:()=>Jl,InferenceFlags:()=>Yl,InferencePriority:()=>Xl,InlayHintKind:()=>bs,InlayHints:()=>pDD,InternalEmitFlags:()=>Cl,InternalSymbolName:()=>sc,InvalidatedProjectKind:()=>Rs,JSDocParsingMode:()=>wl,JsDoc:()=>Mq,JsTyping:()=>WX,JsxEmit:()=>Ul,JsxFlags:()=>uc,JsxReferenceKind:()=>$l,LanguageServiceMode:()=>Ss,LanguageVariant:()=>Ol,LexicalEnvironmentFlags:()=>Rl,ListFormat:()=>yl,LogLevel:()=>Ic,MemberOverrideStatus:()=>hc,ModifierFlags:()=>vf,ModuleDetectionKind:()=>zl,ModuleInstanceState:()=>ir,ModuleKind:()=>JE,ModuleResolutionKind:()=>cj,ModuleSpecifierEnding:()=>Qn,NavigateTo:()=>SJD,NavigationBar:()=>mJD,NewLineKind:()=>Hl,NodeBuilderFlags:()=>mc,NodeCheckFlags:()=>ac,NodeFactoryFlags:()=>Hn,NodeFlags:()=>ff,NodeResolutionFeatures:()=>dr,ObjectFlags:()=>mf,OperationCanceledException:()=>dj,OperatorPrecedence:()=>Dn,OrganizeImports:()=>tJ,OrganizeImportsMode:()=>fs,OuterExpressionKinds:()=>Tl,OutliningElementsCollector:()=>sDD,OutliningSpanKind:()=>gs,OutputFileType:()=>ms,PackageJsonAutoImportPreference:()=>ws,PackageJsonDependencyGroup:()=>Ps,PatternMatchKind:()=>y_,PollingInterval:()=>rf,PollingWatchKind:()=>Wl,PragmaKindFlags:()=>Pl,PrivateIdentifierKind:()=>En,ProcessLevel:()=>Uo,ProgramUpdateLevel:()=>wo,QuotePreference:()=>ra,RelationComparisonResult:()=>bf,Rename:()=>Tg,ScriptElementKind:()=>ls,ScriptElementKindModifier:()=>is,ScriptKind:()=>cf,ScriptSnapshot:()=>xh,ScriptTarget:()=>Ml,SemanticClassificationFormat:()=>us,SemanticMeaning:()=>na,SemicolonPreference:()=>hs,SignatureCheckMode:()=>hk,SignatureFlags:()=>df,SignatureHelp:()=>OS,SignatureKind:()=>Zl,SmartSelectionRange:()=>eDD,SnippetKind:()=>pf,SortKind:()=>Nc,StructureIsReused:()=>hf,SymbolAccessibility:()=>lc,SymbolDisplay:()=>PV,SymbolDisplayPartKind:()=>Gw,SymbolFlags:()=>_f,SymbolFormatFlags:()=>cc,SyntaxKind:()=>uf,SyntheticSymbolKind:()=>ic,Ternary:()=>Ql,ThrottledCancellationToken:()=>et,TokenClass:()=>cs,TokenFlags:()=>fc,TransformFlags:()=>lf,TypeFacts:()=>xk,TypeFlags:()=>gf,TypeFormatFlags:()=>dc,TypeMapKind:()=>Bl,TypePredicateKind:()=>pc,TypeReferenceSerializationKind:()=>nc,UnionReduction:()=>_c,UpToDateStatusType:()=>Cs,VarianceFlags:()=>tc,Version:()=>kJ,VersionRange:()=>eR,WatchDirectoryFlags:()=>jl,WatchDirectoryKind:()=>ql,WatchFileKind:()=>Kl,WatchLogLevel:()=>So,WatchType:()=>l4,accessPrivateIdentifier:()=>y2D,addDisposableResourceHelper:()=>bx,addEmitFlags:()=>BX,addEmitHelper:()=>rM,addEmitHelpers:()=>AQ,addInternalEmitFlags:()=>pM,addNodeFactoryPatcher:()=>kjD,addObjectAllocatorPatcher:()=>w9D,addRange:()=>s8,addRelatedInfo:()=>gF,addSyntheticLeadingComment:()=>jN,addSyntheticTrailingComment:()=>Qx,addToSeen:()=>iJ,advancedAsyncSuperHelper:()=>$P,affectsDeclarationPathOptionDeclarations:()=>Nr,affectsEmitOptionDeclarations:()=>Er,allKeysStartWithDot:()=>Pk,altDirectorySeparator:()=>KI,and:()=>Rf,append:()=>P1,appendIfUnique:()=>kX,arrayFrom:()=>n6,arrayIsEqualTo:()=>r$,arrayIsHomogeneous:()=>s9D,arrayIsSorted:()=>sU,arrayOf:()=>E6D,arrayReverseIterator:()=>nR,arrayToMap:()=>KW,arrayToMultiMap:()=>sR,arrayToNumericMap:()=>T6D,arraysEqual:()=>U6,assertType:()=>MM,assign:()=>bj,assignHelper:()=>Gx,asyncDelegator:()=>Mx,asyncGeneratorHelper:()=>Hx,asyncSuperHelper:()=>FP,asyncValues:()=>Ox,attachFileToDiagnostics:()=>mM,awaitHelper:()=>oM,awaiterHelper:()=>Lx,base64decode:()=>j9D,base64encode:()=>O9D,binarySearch:()=>eQ,binarySearchKey:()=>WM,bindSourceFile:()=>Z2D,breakIntoCharacterSpans:()=>NJD,breakIntoWordSpans:()=>TJD,buildLinkParts:()=>rZD,buildOpts:()=>Ok,buildOverload:()=>AfD,bundlerModuleNameResolver:()=>n3D,canBeConvertedToAsync:()=>qt,canHaveDecorators:()=>hG,canHaveExportModifier:()=>ky,canHaveFlowNode:()=>Ky,canHaveIllegalDecorators:()=>en,canHaveIllegalModifiers:()=>Y3D,canHaveIllegalType:()=>qLD,canHaveIllegalTypeParameters:()=>X3D,canHaveJSDoc:()=>qy,canHaveLocals:()=>cX,canHaveModifiers:()=>oJ,canHaveSymbol:()=>aB,canJsonReportNoInputFiles:()=>hN,canProduceDiagnostics:()=>ak,canUsePropertyAccess:()=>lp,canWatchAffectingLocation:()=>b$D,canWatchAtTypes:()=>v$D,canWatchDirectoryOrFile:()=>Oh,cartesianProduct:()=>b6D,cast:()=>qF,chainBundle:()=>sJ,chainDiagnosticMessages:()=>o6,changeAnyExtension:()=>VI,changeCompilerHostLikeToUseCache:()=>Zw,changeExtension:()=>tK,changeFullExtension:()=>DFD,changesAffectModuleResolution:()=>Nv,changesAffectingProgramStructure:()=>$7D,childIsDecorated:()=>PE,classElementOrClassElementParameterIsDecorated:()=>ki,classHasClassThisAssignment:()=>Ko,classHasDeclaredOrExplicitlyAssignedName:()=>qo,classHasExplicitlyAssignedName:()=>rk,classOrConstructorParameterIsDecorated:()=>zV,classPrivateFieldGetHelper:()=>ux,classPrivateFieldInHelper:()=>vx,classPrivateFieldSetHelper:()=>fx,classicNameResolver:()=>e3D,classifier:()=>xBD,cleanExtendedConfigCache:()=>Bh,clear:()=>S7,clearMap:()=>G$,clearSharedExtendedConfigFileWatcher:()=>Io,climbPastPropertyAccess:()=>hh,climbPastPropertyOrElementAccess:()=>AZD,clone:()=>Gc,cloneCompilerOptions:()=>qa,closeFileWatcher:()=>LB,closeFileWatcherOf:()=>cZ,codefix:()=>o3,collapseTextChangeRangesAcrossMultipleVersions:()=>UFD,collectExternalModuleInfo:()=>Bo,combine:()=>r1,combinePaths:()=>Y5,commentPragmas:()=>JI,commonOptionsWithBuild:()=>uP,commonPackageFolders:()=>Zn,compact:()=>VW,compareBooleans:()=>Fz,compareDataObjects:()=>Ip,compareDiagnostics:()=>DN,compareDiagnosticsSkipRelatedInformation:()=>Pb,compareEmitHelpers:()=>R4D,compareNumberOfDirectorySeparators:()=>vy,comparePaths:()=>BV,comparePathsCaseInsensitive:()=>lMD,comparePathsCaseSensitive:()=>cMD,comparePatternKeys:()=>gr,compareProperties:()=>S6D,compareStringsCaseInsensitive:()=>Nf,compareStringsCaseInsensitiveEslintCompatible:()=>y6D,compareStringsCaseSensitive:()=>Z2,compareStringsCaseSensitiveUI:()=>tR,compareTextSpans:()=>Ef,compareValues:()=>V9,compileOnSaveCommandLineOption:()=>wP,compilerOptionsAffectDeclarationPath:()=>g9D,compilerOptionsAffectEmit:()=>_9D,compilerOptionsAffectSemanticDiagnostics:()=>h9D,compilerOptionsDidYouMeanDiagnostics:()=>bP,compilerOptionsIndicateEsModules:()=>Oa,compose:()=>HMD,computeCommonSourceDirectoryOfFilenames:()=>W$D,computeLineAndCharacterOfPosition:()=>ij,computeLineOfPosition:()=>QE,computeLineStarts:()=>CM,computePositionOfLineAndCharacter:()=>Fv,computeSignature:()=>lG,computeSignatureWithDiagnostics:()=>Ds,computeSuggestionDiagnostics:()=>Vt,computedOptions:()=>E4,concatenate:()=>y5,concatenateDiagnosticMessageChains:()=>v9D,consumesNodeCoreModules:()=>M_,contains:()=>$8,containsIgnoredPath:()=>VN,containsObjectRestOrSpread:()=>AP,containsParseError:()=>ZL,containsPath:()=>hJ,convertCompilerOptionsForTelemetry:()=>w3D,convertCompilerOptionsFromJson:()=>GAD,convertJsonOption:()=>_G,convertToBase64:()=>M9D,convertToJson:()=>IP,convertToObject:()=>T3D,convertToOptionsWithAbsolutePaths:()=>Mr,convertToRelativePath:()=>YE,convertToTSConfig:()=>FAD,convertTypeAcquisitionFromJson:()=>HAD,copyComments:()=>oG,copyEntries:()=>Tv,copyLeadingComments:()=>RA,copyProperties:()=>Hc,copyTrailingAsLeadingComments:()=>bw,copyTrailingComments:()=>MT,couldStartTrivia:()=>JFD,countWhere:()=>$7,createAbstractBuilder:()=>CED,createAccessorPropertyBackingField:()=>Fr,createAccessorPropertyGetRedirector:()=>G3D,createAccessorPropertySetRedirector:()=>H3D,createBaseNodeFactory:()=>z4D,createBinaryExpressionTrampoline:()=>Xk,createBindingHelper:()=>_L,createBuildInfo:()=>tP,createBuilderProgram:()=>Fs,createBuilderProgramUsingProgramBuildInfo:()=>u$D,createBuilderStatusReporter:()=>o$D,createCacheWithRedirects:()=>ur,createCacheableExportInfoMap:()=>aa,createCachedDirectoryStructureHost:()=>Zh,createClassNamedEvaluationHelperBlock:()=>v2D,createClassThisAssignmentBlock:()=>u2D,createClassifier:()=>_ND,createCommentDirectivesMap:()=>Q7D,createCompilerDiagnostic:()=>D4,createCompilerDiagnosticForInvalidCustomType:()=>L3D,createCompilerDiagnosticFromMessageChain:()=>yb,createCompilerHost:()=>U$D,createCompilerHostFromProgramHost:()=>Os,createCompilerHostWorker:()=>vo,createDetachedDiagnostic:()=>SL,createDiagnosticCollection:()=>NL,createDiagnosticForFileFromMessageChain:()=>ui,createDiagnosticForNode:()=>c8,createDiagnosticForNodeArray:()=>XL,createDiagnosticForNodeArrayFromMessageChain:()=>lI,createDiagnosticForNodeFromMessageChain:()=>GQ,createDiagnosticForNodeInSourceFile:()=>WJ,createDiagnosticForRange:()=>L7D,createDiagnosticMessageChainFromDiagnostic:()=>j7D,createDiagnosticReporter:()=>Qw,createDocumentPositionMapper:()=>C2D,createDocumentRegistry:()=>WJD,createDocumentRegistryInternal:()=>Jt,createEmitAndSemanticDiagnosticsBuilderProgram:()=>Xs,createEmitHelperFactory:()=>T4D,createEmptyExports:()=>WP,createExpressionForJsxElement:()=>e4D,createExpressionForJsxFragment:()=>D3D,createExpressionForObjectLiteralElementLike:()=>F3D,createExpressionForPropertyName:()=>nn,createExpressionFromEntityName:()=>UP,createExternalHelpersImportDeclarationIfNeeded:()=>sn,createFileDiagnostic:()=>Q3,createFileDiagnosticFromMessageChain:()=>vv,createForOfBindingStatement:()=>pn,createGetCanonicalFileName:()=>c3,createGetSourceFile:()=>uo,createGetSymbolAccessibilityDiagnosticForNode:()=>AV,createGetSymbolAccessibilityDiagnosticForNodeName:()=>J$D,createGetSymbolWalker:()=>J2D,createIncrementalCompilerHost:()=>Ls,createIncrementalProgram:()=>n$D,createInputFiles:()=>_jD,createInputFilesWithFilePaths:()=>Un,createInputFilesWithFileTexts:()=>Gn,createJsxFactoryExpression:()=>ln,createLanguageService:()=>wBD,createLanguageServiceSourceFile:()=>t_,createMemberAccessForPropertyName:()=>kG,createModeAwareCache:()=>MO,createModeAwareCacheKey:()=>cN,createModuleNotFoundChain:()=>Rv,createModuleResolutionCache:()=>JA,createModuleResolutionLoader:()=>go,createModuleResolutionLoaderUsingGlobalCache:()=>_$D,createModuleSpecifierResolutionHost:()=>rG,createMultiMap:()=>WZ,createNodeConverters:()=>q4D,createNodeFactory:()=>ny,createOptionNameMap:()=>Vk,createOverload:()=>V0D,createPackageJsonImportFilter:()=>LT,createPackageJsonInfo:()=>_a,createParenthesizerRules:()=>K4D,createPatternMatcher:()=>OJD,createPrependNodes:()=>ro,createPrinter:()=>zq,createPrinterWithDefaults:()=>To,createPrinterWithRemoveComments:()=>eW,createPrinterWithRemoveCommentsNeverAsciiEscape:()=>Ro,createPrinterWithRemoveCommentsOmitTrailingSemicolon:()=>eP,createProgram:()=>zh,createProgramHost:()=>js,createPropertyNameNodeForIdentifierOrLiteral:()=>pb,createQueue:()=>aR,createRange:()=>kZ,createRedirectedBuilderProgram:()=>Zs,createResolutionCache:()=>Qs,createRuntimeTypeSerializer:()=>_2D,createScanner:()=>XV,createSemanticDiagnosticsBuilderProgram:()=>AED,createSet:()=>Mc,createSolutionBuilder:()=>hED,createSolutionBuilderHost:()=>xED,createSolutionBuilderWithWatch:()=>_ED,createSolutionBuilderWithWatchHost:()=>kED,createSortedArray:()=>qM,createSourceFile:()=>EP,createSourceMapGenerator:()=>O2D,createSourceMapSource:()=>gjD,createSuperAccessVariableStatement:()=>sk,createSymbolTable:()=>HF,createSymlinkCache:()=>vp,createSystemWatchFunctions:()=>s6D,createTextChange:()=>Rw,createTextChangeFromStartLength:()=>th,createTextChangeRange:()=>AI,createTextRangeFromNode:()=>Ga,createTextRangeFromSpan:()=>ah,createTextSpan:()=>w3,createTextSpanFromBounds:()=>L4,createTextSpanFromNode:()=>i2,createTextSpanFromRange:()=>bz,createTextSpanFromStringLiteralLikeContent:()=>Ua,createTextWriter:()=>Ny,createTokenRange:()=>Np,createTypeChecker:()=>q2D,createTypeReferenceDirectiveResolutionCache:()=>Rk,createTypeReferenceResolutionLoader:()=>Yh,createUnparsedSourceFile:()=>Wn,createWatchCompilerHost:()=>fED,createWatchCompilerHostOfConfigFile:()=>l$D,createWatchCompilerHostOfFilesAndCompilerOptions:()=>i$D,createWatchFactory:()=>Ms,createWatchHost:()=>Hs,createWatchProgram:()=>vED,createWatchStatusReporter:()=>g$D,createWriteFileMeasuringIO:()=>fo,declarationNameToString:()=>b7,decodeMappings:()=>$o,decodedTextSpanIntersectsWith:()=>LI,decorateHelper:()=>zx,deduplicate:()=>AY,defaultIncludeSpec:()=>Ak,defaultInitCompilerOptions:()=>jk,defaultMaximumTruncationLength:()=>my,detectSortCaseSensitivity:()=>SK,diagnosticCategoryName:()=>DG,diagnosticToString:()=>aG,directoryProbablyExists:()=>jB,directorySeparator:()=>q9,displayPart:()=>O$,displayPartsToString:()=>$S,disposeEmitNodes:()=>Mn,disposeResourcesHelper:()=>xx,documentSpansEqual:()=>Ea,dumpTracingLegend:()=>n6D,elementAt:()=>ZV,elideNodes:()=>U3D,emitComments:()=>X9D,emitDetachedComments:()=>Y9D,emitFiles:()=>Dh,emitFilesAndReportErrors:()=>Ch,emitFilesAndReportErrorsAndGetExitStatus:()=>c$D,emitModuleKindIsNonNodeESM:()=>wb,emitNewLineBeforeLeadingCommentOfPosition:()=>B9D,emitNewLineBeforeLeadingComments:()=>Z9D,emitNewLineBeforeLeadingCommentsOfPosition:()=>J9D,emitSkippedWithNoDiagnostics:()=>Gh,emitUsingBuildInfo:()=>V$D,emptyArray:()=>Q0,emptyFileSystemEntries:()=>Jx,emptyMap:()=>wf,emptyOptions:()=>iZ,emptySet:()=>k6D,endsWith:()=>u9,ensurePathIsNonModuleName:()=>qW,ensureScriptKind:()=>_b,ensureTrailingDirectorySeparator:()=>s4,entityNameToString:()=>y$,enumerateInsertsAndDeletes:()=>yf,equalOwnProperties:()=>N6D,equateStringsCaseInsensitive:()=>vK,equateStringsCaseSensitive:()=>aU,equateValues:()=>$V,esDecorateHelper:()=>Wx,escapeJsxAttributeString:()=>zp,escapeLeadingUnderscores:()=>C9,escapeNonAsciiString:()=>Ey,escapeSnippetText:()=>bW,escapeString:()=>fY,escapeTemplateSubstitution:()=>Qp,every:()=>Z0,expandPreOrPostfixIncrementOrDecrementExpression:()=>Dk,explainFiles:()=>Ks,explainIfFileIsRedirectAndImpliedFormat:()=>qs,exportAssignmentIsAlias:()=>LL,exportStarHelper:()=>Sx,expressionResultIsUnused:()=>t9D,extend:()=>Cf,extendsHelper:()=>Ax,extensionFromPath:()=>JN,extensionIsTS:()=>db,extensionsNotSupportingExtensionlessResolution:()=>py,externalHelpersModuleNameText:()=>Cz,factory:()=>k,fileExtensionIs:()=>f9,fileExtensionIsOneOf:()=>S4,fileIncludeReasonToDiagnostics:()=>Gs,fileShouldUseJavaScriptRequire:()=>pa,filter:()=>a0,filterMutate:()=>y9,filterSemanticDiagnostics:()=>Kh,find:()=>M0,findAncestor:()=>i1,findBestPatternMatch:()=>Ac,findChildOfKind:()=>T7,findComputedPropertyNameCacheAssignment:()=>Yk,findConfigFile:()=>q$D,findContainingList:()=>ch,findDiagnosticForNode:()=>BJD,findFirstNonJsxWhitespaceToken:()=>RZD,findIndex:()=>D8,findLast:()=>a1,findLastIndex:()=>C8,findListItemInfo:()=>TZD,findMap:()=>V6,findModifier:()=>EA,findNextToken:()=>$U,findPackageJson:()=>ZJD,findPackageJsons:()=>ha,findPrecedingMatchingToken:()=>oh,findPrecedingToken:()=>v4,findSuperStatementIndexPath:()=>ik,findTokenOnLeftOfPosition:()=>ph,findUseStrictPrologue:()=>on,first:()=>f1,firstDefined:()=>ED,firstDefinedIterator:()=>XD,firstIterator:()=>G6,firstOrOnly:()=>ca,firstOrUndefined:()=>m4,firstOrUndefinedIterator:()=>k8,fixupCompilerOptions:()=>Ut,flatMap:()=>h5,flatMapIterator:()=>h2,flatMapToMutable:()=>M2,flatten:()=>_9,flattenCommaList:()=>M3D,flattenDestructuringAssignment:()=>mG,flattenDestructuringBinding:()=>tW,flattenDiagnosticMessageText:()=>KX,forEach:()=>a,forEachAncestor:()=>Z7D,forEachAncestorDirectory:()=>gJ,forEachChild:()=>s6,forEachChildRecursively:()=>xN,forEachEmittedFile:()=>Ao,forEachEnclosingBlockScopeContainer:()=>H7D,forEachEntry:()=>a4,forEachExternalModuleToImportFrom:()=>ea,forEachImportClauseDeclaration:()=>Zb,forEachKey:()=>iX,forEachLeadingCommentRange:()=>GI,forEachNameInAccessChainWalkingLeft:()=>y9D,forEachPropertyAssignment:()=>zL,forEachResolvedProjectReference:()=>co,forEachReturnStatement:()=>AW,forEachRight:()=>bD,forEachTrailingCommentRange:()=>HI,forEachTsConfigPropArray:()=>rI,forEachUnique:()=>Ta,forEachYieldExpression:()=>C7D,forSomeAncestorDirectory:()=>QjD,formatColorAndReset:()=>DU,formatDiagnostic:()=>bo,formatDiagnostics:()=>$ED,formatDiagnosticsWithColorAndContext:()=>G$D,formatGeneratedName:()=>Bq,formatGeneratedNamePart:()=>eL,formatLocation:()=>xo,formatMessage:()=>Sp,formatStringFromArgs:()=>xY,formatting:()=>i4,fullTripleSlashAMDReferencePathRegEx:()=>sp,fullTripleSlashReferencePathRegEx:()=>op,generateDjb2Hash:()=>BE,generateTSConfig:()=>XAD,generatorHelper:()=>yx,getAdjustedReferenceLocation:()=>Xa,getAdjustedRenameLocation:()=>ih,getAliasDeclarationFromName:()=>ai,getAllAccessorDeclarations:()=>AG,getAllDecoratorsOfClass:()=>Yo,getAllDecoratorsOfClassElement:()=>nk,getAllJSDocTags:()=>Vv,getAllJSDocTagsOfKind:()=>jOD,getAllKeys:()=>UMD,getAllProjectOutputs:()=>ek,getAllSuperTypeNodes:()=>vE,getAllUnscopedEmitHelpers:()=>Cn,getAllowJSCompilerOption:()=>Ez,getAllowSyntheticDefaultImports:()=>NG,getAncestor:()=>sK,getAnyExtensionFromPath:()=>lj,getAreDeclarationMapsEnabled:()=>cy,getAssignedExpandoInitializer:()=>wM,getAssignedName:()=>Yv,getAssignedNameOfIdentifier:()=>sN,getAssignmentDeclarationKind:()=>o9,getAssignmentDeclarationPropertyAccessKind:()=>Xy,getAssignmentTargetKind:()=>vM,getAutomaticTypeDirectiveNames:()=>Nk,getBaseFileName:()=>q4,getBinaryOperatorPrecedence:()=>Cy,getBuildInfo:()=>Fh,getBuildInfoFileVersionMap:()=>$s,getBuildInfoText:()=>Q$D,getBuildOrderFromAnyBuildOrder:()=>Ih,getBuilderCreationParameters:()=>Hh,getBuilderFileEmit:()=>vz,getCheckFlags:()=>m9,getClassExtendsHeritageElement:()=>RW,getClassLikeDeclarationOfSymbol:()=>jQ,getCombinedLocalAndExportSymbolFlags:()=>aE,getCombinedModifierFlags:()=>_K,getCombinedNodeFlags:()=>YV,getCombinedNodeFlagsAlwaysIncludeJSDoc:()=>il,getCommentRange:()=>XX,getCommonSourceDirectory:()=>ZT,getCommonSourceDirectoryOfConfig:()=>zA,getCompilerOptionValue:()=>ub,getCompilerOptionsDiffValue:()=>JAD,getConditions:()=>uz,getConfigFileParsingDiagnostics:()=>cG,getConstantValue:()=>O4D,getContainerFlags:()=>lr,getContainerNode:()=>pG,getContainingClass:()=>H3,getContainingClassExcludingClassDecorators:()=>cv,getContainingClassStaticBlock:()=>S7D,getContainingFunction:()=>DZ,getContainingFunctionDeclaration:()=>w7D,getContainingFunctionOrClassStaticBlock:()=>dv,getContainingNodeArray:()=>e9D,getContainingObjectLiteralElement:()=>ZS,getContextualTypeFromParent:()=>V_,getContextualTypeFromParentOrAncestorTypeNode:()=>lh,getCurrentTime:()=>zw,getDeclarationDiagnostics:()=>B$D,getDeclarationEmitExtensionForPath:()=>qb,getDeclarationEmitOutputFilePath:()=>t7D,getDeclarationEmitOutputFilePathWorker:()=>Kb,getDeclarationFileExtension:()=>Br,getDeclarationFromName:()=>fE,getDeclarationModifierFlagsFromSymbol:()=>_Z,getDeclarationOfKind:()=>j9,getDeclarationsOfKind:()=>D7D,getDeclaredExpandoInitializer:()=>$y,getDecorators:()=>Yz,getDefaultCompilerOptions:()=>a_,getDefaultExportInfoWorker:()=>R_,getDefaultFormatCodeSettings:()=>bh,getDefaultLibFileName:()=>OI,getDefaultLibFilePath:()=>SBD,getDefaultLikeExportInfo:()=>T_,getDiagnosticText:()=>rLD,getDiagnosticsWithinSpan:()=>XJD,getDirectoryPath:()=>G5,getDirectoryToWatchFailedLookupLocation:()=>Ys,getDirectoryToWatchFailedLookupLocationFromTypeRoot:()=>k$D,getDocumentPositionMapper:()=>Qt,getDocumentSpansEqualityComparer:()=>Na,getESModuleInterop:()=>oX,getEditsForFileRename:()=>GJD,getEffectiveBaseTypeNode:()=>eB,getEffectiveConstraintOfTypeParameter:()=>sj,getEffectiveContainerForJSDocTemplateTag:()=>Jb,getEffectiveImplementsTypeNodes:()=>AL,getEffectiveInitializer:()=>Fy,getEffectiveJSDocHost:()=>oK,getEffectiveModifierFlags:()=>T2,getEffectiveModifierFlagsAlwaysIncludeJSDoc:()=>K9D,getEffectiveModifierFlagsNoCache:()=>q9D,getEffectiveReturnTypeNode:()=>OJ,getEffectiveSetAccessorTypeAnnotationNode:()=>$9D,getEffectiveTypeAnnotationNode:()=>S3,getEffectiveTypeParameterDeclarations:()=>Qz,getEffectiveTypeRoots:()=>dN,getElementOrPropertyAccessArgumentExpressionOrName:()=>$b,getElementOrPropertyAccessName:()=>HQ,getElementsOfBindingOrAssignmentPattern:()=>tL,getEmitDeclarations:()=>gZ,getEmitFlags:()=>nF,getEmitHelpers:()=>Vx,getEmitModuleDetectionKind:()=>Fn,getEmitModuleKind:()=>p3,getEmitModuleResolutionKind:()=>I2,getEmitScriptTarget:()=>q7,getEmitStandardClassFields:()=>k9D,getEnclosingBlockScopeContainer:()=>pX,getEnclosingContainer:()=>Si,getEncodedSemanticClassifications:()=>$t,getEncodedSyntacticClassifications:()=>Zt,getEndLinePosition:()=>gI,getEntityNameFromTypeNode:()=>aI,getEntrypointsFromPackageJsonInfo:()=>kr,getErrorCountForSummary:()=>Lh,getErrorSpanForNode:()=>zG,getErrorSummaryText:()=>m$D,getEscapedTextOfIdentifierOrLiteral:()=>kE,getEscapedTextOfJsxAttributeName:()=>WN,getEscapedTextOfJsxNamespacedName:()=>lM,getExpandoInitializer:()=>nK,getExportAssignmentExpression:()=>ti,getExportInfoMap:()=>gw,getExportNeedsImportStarHelper:()=>E2D,getExpressionAssociativity:()=>Bp,getExpressionPrecedence:()=>_E,getExternalHelpersModuleName:()=>HP,getExternalModuleImportEqualsDeclarationExpression:()=>wE,getExternalModuleName:()=>HL,getExternalModuleNameFromDeclaration:()=>s7D,getExternalModuleNameFromPath:()=>qp,getExternalModuleNameLiteral:()=>WO,getExternalModuleRequireArgument:()=>_i,getFallbackOptions:()=>$w,getFileEmitOutput:()=>C$D,getFileMatcherPatterns:()=>hb,getFileNamesFromConfigSpecs:()=>_N,getFileWatcherEventKind:()=>Sl,getFilesInErrorForSummary:()=>Ah,getFirstConstructorWithBody:()=>vY,getFirstIdentifier:()=>FZ,getFirstNonSpaceCharacterPosition:()=>aZD,getFirstProjectOutput:()=>No,getFixableErrorSpanExpression:()=>ma,getFormatCodeSettingsForWriting:()=>A_,getFullWidth:()=>hI,getFunctionFlags:()=>t4,getHeritageClause:()=>Oy,getHostSignatureFromJSDoc:()=>rK,getIdentifierAutoGenerate:()=>ijD,getIdentifierGeneratedImportReference:()=>N4D,getIdentifierTypeArguments:()=>TG,getImmediatelyInvokedFunctionExpression:()=>qG,getImpliedNodeFormatForFile:()=>Xw,getImpliedNodeFormatForFileWorker:()=>po,getImportNeedsImportDefaultHelper:()=>Jo,getImportNeedsImportStarHelper:()=>ck,getIndentSize:()=>RL,getIndentString:()=>Vb,getInferredLibraryNameResolveFrom:()=>Vh,getInitializedVariables:()=>sE,getInitializerOfBinaryExpression:()=>li,getInitializerOfBindingOrAssignmentElement:()=>OP,getInterfaceBaseTypeNodes:()=>bE,getInternalEmitFlags:()=>dJ,getInvokedExpression:()=>pv,getIsolatedModules:()=>AJ,getJSDocAugmentsTag:()=>EFD,getJSDocClassTag:()=>nl,getJSDocCommentRanges:()=>vi,getJSDocCommentsAndTags:()=>pi,getJSDocDeprecatedTag:()=>rl,getJSDocDeprecatedTagNoCache:()=>wFD,getJSDocEnumTag:()=>ol,getJSDocHost:()=>HG,getJSDocImplementsTags:()=>NFD,getJSDocOverloadTags:()=>ri,getJSDocOverrideTagNoCache:()=>PFD,getJSDocParameterTags:()=>oj,getJSDocParameterTagsNoCache:()=>jFD,getJSDocPrivateTag:()=>UOD,getJSDocPrivateTagNoCache:()=>RFD,getJSDocProtectedTag:()=>GOD,getJSDocProtectedTagNoCache:()=>IFD,getJSDocPublicTag:()=>WOD,getJSDocPublicTagNoCache:()=>TFD,getJSDocReadonlyTag:()=>HOD,getJSDocReadonlyTagNoCache:()=>yFD,getJSDocReturnTag:()=>SFD,getJSDocReturnType:()=>EI,getJSDocRoot:()=>jL,getJSDocSatisfiesExpressionType:()=>pp,getJSDocSatisfiesTag:()=>sl,getJSDocTags:()=>cK,getJSDocTagsNoCache:()=>OOD,getJSDocTemplateTag:()=>MOD,getJSDocThisTag:()=>Qv,getJSDocType:()=>dK,getJSDocTypeAliasName:()=>tn,getJSDocTypeAssertionType:()=>$k,getJSDocTypeParameterDeclarations:()=>Hb,getJSDocTypeParameterTags:()=>LFD,getJSDocTypeParameterTagsNoCache:()=>AFD,getJSDocTypeTag:()=>mK,getJSXImplicitImportBase:()=>vb,getJSXRuntimeImport:()=>bb,getJSXTransformEnabled:()=>fb,getKeyForCompilerOptions:()=>Sr,getLanguageVariant:()=>Sy,getLastChild:()=>yp,getLeadingCommentRanges:()=>NY,getLeadingCommentRangesOfNode:()=>fi,getLeftmostAccessExpression:()=>PL,getLeftmostExpression:()=>wL,getLibraryNameFromLibFileName:()=>lo,getLineAndCharacterOfPosition:()=>I7,getLineInfo:()=>Do,getLineOfLocalPosition:()=>dE,getLineOfLocalPositionFromLineMap:()=>jG,getLineStartPositionForPosition:()=>NJ,getLineStarts:()=>KQ,getLinesBetweenPositionAndNextNonWhitespaceCharacter:()=>N9D,getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter:()=>E9D,getLinesBetweenPositions:()=>VE,getLinesBetweenRangeEndAndRangeStart:()=>Tp,getLinesBetweenRangeEndPositions:()=>XjD,getLiteralText:()=>V7D,getLocalNameForExternalImport:()=>aL,getLocalSymbolForExportDefault:()=>yL,getLocaleSpecificMessage:()=>i6,getLocaleTimeString:()=>Vw,getMappedContextSpan:()=>Ra,getMappedDocumentSpan:()=>B_,getMappedLocation:()=>UT,getMatchedFileSpec:()=>Ws,getMatchedIncludeSpec:()=>Us,getMeaningFromDeclaration:()=>Hw,getMeaningFromLocation:()=>iG,getMembersOfDeclaration:()=>E7D,getModeForFileReference:()=>Jw,getModeForResolutionAtIndex:()=>H$D,getModeForUsageLocation:()=>ho,getModifiedTime:()=>jM,getModifiers:()=>UW,getModuleInstanceState:()=>TQ,getModuleNameStringLiteralAt:()=>Yw,getModuleSpecifierEndingPreference:()=>l9D,getModuleSpecifierResolverHost:()=>ja,getNameForExportedSymbol:()=>O_,getNameFromImportAttribute:()=>sb,getNameFromIndexInfo:()=>M7D,getNameFromPropertyName:()=>Pw,getNameOfAccessExpression:()=>wp,getNameOfCompilerOptionValue:()=>Hr,getNameOfDeclaration:()=>m6,getNameOfExpando:()=>di,getNameOfJSDocTypedef:()=>OFD,getNameOrArgument:()=>By,getNameTable:()=>rt,getNamesForExportedSymbol:()=>YJD,getNamespaceDeclarationNode:()=>ML,getNewLineCharacter:()=>GV,getNewLineKind:()=>_w,getNewLineOrDefaultFromHost:()=>RV,getNewTargetContainer:()=>f7D,getNextJSDocCommentLocation:()=>ni,getNodeForGeneratedName:()=>LP,getNodeId:()=>W7,getNodeKind:()=>FU,getNodeModifiers:()=>KT,getNodeModulePathParts:()=>nb,getNonAssignedNameOfDeclaration:()=>Xv,getNonAssignmentOperatorForCompoundAssignment:()=>nN,getNonAugmentationDeclaration:()=>Ti,getNonDecoratorTokenPosOfNode:()=>Li,getNormalizedAbsolutePath:()=>N6,getNormalizedAbsolutePathWithoutRoot:()=>kl,getNormalizedPathComponents:()=>QI,getObjectFlags:()=>p8,getOperator:()=>Yp,getOperatorAssociativity:()=>Xp,getOperatorPrecedence:()=>Ay,getOptionFromName:()=>qr,getOptionsForLibraryResolution:()=>fr,getOptionsNameMap:()=>FA,getOrCreateEmitNode:()=>n3,getOrCreateExternalHelpersModuleNameIfNeeded:()=>B3D,getOrUpdate:()=>Z7,getOriginalNode:()=>g9,getOriginalNodeId:()=>r3,getOriginalSourceFile:()=>sOD,getOutputDeclarationFileName:()=>$T,getOutputDeclarationFileNameWorker:()=>Co,getOutputExtension:()=>tk,getOutputFileNames:()=>DED,getOutputJSFileNameWorker:()=>Eo,getOutputPathsFor:()=>FT,getOutputPathsForBundle:()=>DT,getOwnEmitOutputFilePath:()=>a7D,getOwnKeys:()=>EY,getOwnValues:()=>UM,getPackageJsonInfo:()=>rW,getPackageJsonTypesVersionsPaths:()=>Ek,getPackageJsonsVisibleToFile:()=>JJD,getPackageNameFromTypesPackageName:()=>lN,getPackageScopeForPath:()=>gP,getParameterSymbolFromJSDoc:()=>Wy,getParameterTypeNode:()=>MjD,getParentNodeInSpan:()=>Sw,getParseTreeNode:()=>k6,getParsedCommandLineOfConfigFile:()=>TP,getPathComponents:()=>o4,getPathComponentsRelativeTo:()=>_l,getPathFromPathComponents:()=>Jz,getPathUpdater:()=>Xt,getPathsBasePath:()=>Wb,getPatternFromSpec:()=>m9D,getPendingEmitKind:()=>GA,getPositionOfLineAndCharacter:()=>WI,getPossibleGenericSignatures:()=>Qa,getPossibleOriginalInputExtensionForExtension:()=>e7D,getPossibleTypeArgumentsInfo:()=>Va,getPreEmitDiagnostics:()=>FED,getPrecedingNonSpaceCharacterPosition:()=>Y_,getPrivateIdentifier:()=>Qo,getProperties:()=>Xo,getProperty:()=>Lf,getPropertyArrayElementValue:()=>P7D,getPropertyAssignmentAliasLikeExpression:()=>p7D,getPropertyNameForPropertyNameNode:()=>MG,getPropertyNameForUniqueESSymbol:()=>rOD,getPropertyNameFromType:()=>LJ,getPropertyNameOfBindingOrAssignmentElement:()=>an,getPropertySymbolFromBindingElement:()=>J_,getPropertySymbolsFromContextualType:()=>e_,getQuoteFromPreference:()=>Aa,getQuotePreference:()=>EZ,getRangesWhere:()=>Q9,getRefactorContextSpan:()=>RO,getReferencedFileLocation:()=>JT,getRegexFromPattern:()=>Lz,getRegularExpressionForWildcard:()=>FN,getRegularExpressionsForWildcards:()=>xb,getRelativePathFromDirectory:()=>_J,getRelativePathFromFile:()=>zI,getRelativePathToDirectoryOrUrl:()=>AM,getRenameLocation:()=>vw,getReplacementSpanForContextToken:()=>Wa,getResolutionDiagnostic:()=>oo,getResolutionModeOverride:()=>KA,getResolveJsonModule:()=>Dq,getResolvePackageJsonExports:()=>Fx,getResolvePackageJsonImports:()=>$x,getResolvedExternalModuleName:()=>zb,getRestIndicatorOfBindingOrAssignmentElement:()=>Jk,getRestParameterElementType:()=>bi,getRightMostAssignedExpression:()=>Zy,getRootDeclaration:()=>FX,getRootDirectoryOfResolutionCache:()=>h$D,getRootLength:()=>dX,getRootPathSplitLength:()=>RED,getScriptKind:()=>Sa,getScriptKindFromFileName:()=>gb,getScriptTargetFeatures:()=>eb,getSelectedEffectiveModifierFlags:()=>kM,getSelectedSyntacticModifierFlags:()=>V9D,getSemanticClassifications:()=>KJD,getSemanticJsxChildren:()=>EL,getSetAccessorTypeAnnotationNode:()=>D9D,getSetAccessorValueParameter:()=>cE,getSetExternalModuleIndicator:()=>uy,getShebang:()=>Zv,getSingleInitializerOfVariableStatementOrPropertyDeclaration:()=>ii,getSingleVariableOfVariableStatement:()=>fM,getSnapshotText:()=>CA,getSnippetElement:()=>On,getSourceFileOfModule:()=>yv,getSourceFileOfNode:()=>o1,getSourceFilePathInNewDir:()=>Ub,getSourceFilePathInNewDirWorker:()=>Gb,getSourceFileVersionAsHashFromText:()=>Eh,getSourceFilesToEmit:()=>Wp,getSourceMapRange:()=>MV,getSourceMapper:()=>IJD,getSourceTextOfNodeFromSourceFile:()=>OW,getSpanOfTokenAtPosition:()=>nX,getSpellingSuggestion:()=>FE,getStartPositionOfLine:()=>Gz,getStartPositionOfRange:()=>oE,getStartsOnNewLine:()=>ON,getStaticPropertiesAndClassStaticBlock:()=>pk,getStrictOptionValue:()=>R2,getStringComparer:()=>xj,getSubPatternFromSpec:()=>kb,getSuperCallFromStatement:()=>lk,getSuperContainer:()=>oI,getSupportedCodeFixes:()=>pt,getSupportedExtensions:()=>$N,getSupportedExtensionsWithJsonIfResolveJsonModule:()=>fy,getSwitchedType:()=>xa,getSymbolId:()=>PF,getSymbolNameForPrivateIdentifier:()=>jy,getSymbolTarget:()=>ua,getSyntacticClassifications:()=>qJD,getSyntacticModifierFlags:()=>Oz,getSyntacticModifierFlagsNoCache:()=>Mp,getSynthesizedDeepClone:()=>G9,getSynthesizedDeepCloneWithReplacements:()=>fw,getSynthesizedDeepClones:()=>ZU,getSynthesizedDeepClonesWithReplacements:()=>fa,getSyntheticLeadingComments:()=>hL,getSyntheticTrailingComments:()=>ty,getTargetLabel:()=>_h,getTargetOfBindingOrAssignmentElement:()=>Sz,getTemporaryModuleResolutionState:()=>_P,getTextOfConstantValue:()=>z7D,getTextOfIdentifierOrLiteral:()=>HJ,getTextOfJSDocComment:()=>TI,getTextOfJsxAttributeName:()=>gy,getTextOfJsxNamespacedName:()=>UN,getTextOfNode:()=>A4,getTextOfNodeFromSourceText:()=>NE,getTextOfPropertyName:()=>BL,getThisContainer:()=>e2,getThisParameter:()=>yW,getTokenAtPosition:()=>M6,getTokenPosOfNode:()=>iK,getTokenSourceMapRange:()=>cjD,getTouchingPropertyName:()=>Z$,getTouchingToken:()=>AA,getTrailingCommentRanges:()=>xK,getTrailingSemicolonDeferringWriter:()=>Kp,getTransformFlagsSubtreeExclusions:()=>W4D,getTransformers:()=>jo,getTsBuildInfoEmitOutputFilePath:()=>CV,getTsConfigObjectLiteralExpression:()=>yE,getTsConfigPropArrayElementValue:()=>mv,getTypeAnnotationNode:()=>F9D,getTypeArgumentOrTypeParameterList:()=>vZD,getTypeKeywordOfTypeOnlyImport:()=>Ca,getTypeNode:()=>C4D,getTypeNodeIfAccessible:()=>jT,getTypeParameterFromJsDoc:()=>g7D,getTypeParameterOwner:()=>QOD,getTypesPackageName:()=>wk,getUILocale:()=>P6D,getUniqueName:()=>sG,getUniqueSymbolId:()=>sZD,getUseDefineForClassFields:()=>MN,getWatchErrorSummaryDiagnosticMessage:()=>Vs,getWatchFactory:()=>Po,group:()=>DE,groupBy:()=>Af,guessIndentation:()=>tFD,handleNoEmitOptions:()=>no,hasAbstractModifier:()=>SW,hasAccessorModifier:()=>$X,hasAmbientModifier:()=>Hp,hasChangesInResolutions:()=>Mi,hasChildOfKind:()=>Ew,hasContextSensitiveParameters:()=>ib,hasDecorators:()=>xZ,hasDocComment:()=>uZD,hasDynamicName:()=>Mz,hasEffectiveModifier:()=>w$,hasEffectiveModifiers:()=>Mb,hasEffectiveReadonlyModifier:()=>lE,hasExtension:()=>LM,hasIndexSignature:()=>ba,hasInitializer:()=>Wz,hasInvalidEscape:()=>Vp,hasJSDocNodes:()=>a$,hasJSDocParameterTags:()=>CFD,hasJSFileExtension:()=>uW,hasJsonModuleEmitEnabled:()=>Sb,hasOnlyExpressionInitializer:()=>YG,hasOverrideModifier:()=>Ob,hasPossibleExternalModuleReference:()=>G7D,hasProperty:()=>v7,hasPropertyAccessExpressionWithName:()=>Ow,hasQuestionToken:()=>uM,hasRecordedExternalHelpers:()=>J3D,hasResolutionModeOverride:()=>J4D,hasRestParameter:()=>Wi,hasScopeMarker:()=>lFD,hasStaticModifier:()=>C4,hasSyntacticModifier:()=>Q5,hasSyntacticModifiers:()=>Q9D,hasTSFileExtension:()=>cM,hasTabstop:()=>F4D,hasTrailingDirectorySeparator:()=>JV,hasType:()=>Cv,hasTypeArguments:()=>cOD,hasZeroOrOneAsteriskCharacter:()=>fp,helperString:()=>An,hostGetCanonicalFileName:()=>qV,hostUsesCaseSensitiveFileNames:()=>gE,idText:()=>w8,identifierIsThisKeyword:()=>Gp,identifierToKeywordKind:()=>gK,identity:()=>n7,identitySourceMapConsumer:()=>dk,ignoreSourceNewlines:()=>Ln,ignoredPaths:()=>YI,importDefaultHelper:()=>wx,importFromModuleSpecifier:()=>uE,importNameElisionDisabled:()=>up,importStarHelper:()=>DP,indexOfAnyCharCode:()=>VF,indexOfNode:()=>JL,indicesOf:()=>d3,inferredTypesContainingFile:()=>UA,injectClassNamedEvaluationHelperBlockIfMissing:()=>ok,injectClassThisAssignmentIfMissing:()=>f2D,insertImports:()=>WT,insertLeadingStatement:()=>QLD,insertSorted:()=>rB,insertStatementAfterCustomPrologue:()=>QG,insertStatementAfterStandardPrologue:()=>fOD,insertStatementsAfterCustomPrologue:()=>Oi,insertStatementsAfterStandardPrologue:()=>yY,intersperse:()=>nD,intrinsicTagNameToString:()=>np,introducesArgumentsExoticObject:()=>I7D,inverseJsxOptionMap:()=>gN,isAbstractConstructorSymbol:()=>T9D,isAbstractModifier:()=>u4D,isAccessExpression:()=>m7,isAccessibilityModifier:()=>Ka,isAccessor:()=>zz,isAccessorModifier:()=>v4D,isAliasSymbolDeclaration:()=>iOD,isAliasableExpression:()=>My,isAmbientModule:()=>l3,isAmbientPropertyDeclaration:()=>Ii,isAnonymousFunctionDefinition:()=>hE,isAnyDirectorySeparator:()=>vl,isAnyImportOrBareOrAccessedRequire:()=>U7D,isAnyImportOrReExport:()=>dI,isAnyImportSyntax:()=>VG,isAnySupportedFileExtension:()=>HjD,isApplicableVersionedTypesKey:()=>dP,isArgumentExpressionOfElementAccess:()=>Da,isArray:()=>x6,isArrayBindingElement:()=>Hv,isArrayBindingOrAssignmentElement:()=>uI,isArrayBindingOrAssignmentPattern:()=>Yi,isArrayBindingPattern:()=>hW,isArrayLiteralExpression:()=>y2,isArrayLiteralOrObjectLiteralDestructuringPattern:()=>NV,isArrayTypeNode:()=>YP,isArrowFunction:()=>o7,isAsExpression:()=>VP,isAssertClause:()=>m4D,isAssertEntry:()=>DLD,isAssertionExpression:()=>XG,isAssertsKeyword:()=>w4D,isAssignmentDeclaration:()=>SE,isAssignmentExpression:()=>d4,isAssignmentOperator:()=>WV,isAssignmentPattern:()=>AE,isAssignmentTarget:()=>uY,isAsteriskToken:()=>ZP,isAsyncFunction:()=>xE,isAsyncModifier:()=>AN,isAutoAccessorPropertyDeclaration:()=>t2,isAwaitExpression:()=>yz,isAwaitKeyword:()=>yn,isBigIntLiteral:()=>kx,isBinaryExpression:()=>E8,isBinaryOperatorToken:()=>W3D,isBindableObjectDefinePropertyCall:()=>UG,isBindableStaticAccessExpression:()=>NW,isBindableStaticElementAccessExpression:()=>Fb,isBindableStaticNameExpression:()=>GG,isBindingElement:()=>F7,isBindingElementOfBareOrAccessedRequire:()=>x7D,isBindingName:()=>JG,isBindingOrAssignmentElement:()=>hFD,isBindingOrAssignmentPattern:()=>wI,isBindingPattern:()=>YF,isBlock:()=>DF,isBlockOrCatchScoped:()=>Ai,isBlockScope:()=>yi,isBlockScopedContainerTopLevel:()=>W7D,isBooleanLiteral:()=>LE,isBreakOrContinueStatement:()=>HE,isBreakStatement:()=>ajD,isBuildInfoFile:()=>Y$D,isBuilderProgram:()=>d$D,isBundle:()=>bn,isBundleFileTextLike:()=>I9D,isCallChain:()=>$G,isCallExpression:()=>UF,isCallExpressionTarget:()=>rs,isCallLikeExpression:()=>MW,isCallLikeOrFunctionLikeExpression:()=>Qi,isCallOrNewExpression:()=>sB,isCallOrNewExpressionTarget:()=>os,isCallSignatureDeclaration:()=>FO,isCallToHelper:()=>LN,isCaseBlock:()=>yN,isCaseClause:()=>iL,isCaseKeyword:()=>b4D,isCaseOrDefaultClause:()=>Lv,isCatchClause:()=>iW,isCatchClauseVariableDeclaration:()=>D4D,isCatchClauseVariableDeclarationOrBindingElement:()=>Ci,isCheckJsEnabledForFile:()=>xy,isChildOfNodeWithKind:()=>bOD,isCircularBuildOrder:()=>CO,isClassDeclaration:()=>f4,isClassElement:()=>Y3,isClassExpression:()=>V3,isClassInstanceProperty:()=>xFD,isClassLike:()=>j5,isClassMemberModifier:()=>Ji,isClassNamedEvaluationHelperBlock:()=>AO,isClassOrTypeElement:()=>Gv,isClassStaticBlockDeclaration:()=>v9,isClassThisAssignmentBlock:()=>oN,isCollapsedRange:()=>BjD,isColonToken:()=>y4D,isCommaExpression:()=>GP,isCommaListExpression:()=>TN,isCommaSequence:()=>fN,isCommaToken:()=>I4D,isComment:()=>sh,isCommonJsExportPropertyAssignment:()=>_v,isCommonJsExportedExpression:()=>T7D,isCompoundAssignment:()=>pN,isComputedNonLiteralName:()=>cI,isComputedPropertyName:()=>J7,isConciseBody:()=>Ov,isConditionalExpression:()=>lL,isConditionalTypeNode:()=>BO,isConstTypeReference:()=>WQ,isConstructSignatureDeclaration:()=>BP,isConstructorDeclaration:()=>d9,isConstructorTypeNode:()=>gL,isContextualKeyword:()=>Xb,isContinueStatement:()=>sjD,isCustomPrologue:()=>nI,isDebuggerStatement:()=>tjD,isDeclaration:()=>Y2,isDeclarationBindingElement:()=>PI,isDeclarationFileName:()=>f3,isDeclarationName:()=>MQ,isDeclarationNameOfEnumOrNamespace:()=>Rp,isDeclarationReadonly:()=>bv,isDeclarationStatement:()=>rFD,isDeclarationWithTypeParameterChildren:()=>wi,isDeclarationWithTypeParameters:()=>Pi,isDecorator:()=>u3,isDecoratorTarget:()=>jZD,isDefaultClause:()=>wN,isDefaultImport:()=>SM,isDefaultModifier:()=>mx,isDefaultedExpandoInitializer:()=>k7D,isDeleteExpression:()=>h4D,isDeleteTarget:()=>si,isDeprecatedDeclaration:()=>j_,isDestructuringAssignment:()=>UV,isDiagnosticWithLocation:()=>ga,isDiskPathRoot:()=>bl,isDoStatement:()=>rjD,isDocumentRegistryEntry:()=>mw,isDotDotDotToken:()=>_x,isDottedName:()=>pE,isDynamicName:()=>Qb,isESSymbolIdentifier:()=>oOD,isEffectiveExternalModule:()=>PM,isEffectiveModuleDeclaration:()=>q7D,isEffectiveStrictModeSourceFile:()=>Ri,isElementAccessChain:()=>al,isElementAccessExpression:()=>B9,isEmittedFileOfProgram:()=>K$D,isEmptyArrayLiteral:()=>H9D,isEmptyBindingElement:()=>HFD,isEmptyBindingPattern:()=>GFD,isEmptyObjectLiteral:()=>Cp,isEmptyStatement:()=>un,isEmptyStringLiteral:()=>hi,isEntityName:()=>W$,isEntityNameExpression:()=>s9,isEnumConst:()=>LW,isEnumDeclaration:()=>$q,isEnumMember:()=>pW,isEqualityOperatorKind:()=>z_,isEqualsGreaterThanToken:()=>P4D,isExclamationToken:()=>JP,isExcludedFile:()=>I3D,isExclusivelyTypeOnlyImportOrExport:()=>ko,isExpandoPropertyDeclaration:()=>ob,isExportAssignment:()=>l9,isExportDeclaration:()=>B4,isExportModifier:()=>eM,isExportName:()=>Fk,isExportNamespaceAsDefaultDeclaration:()=>Sv,isExportOrDefaultModifier:()=>jP,isExportSpecifier:()=>Q2,isExportsIdentifier:()=>WG,isExportsOrModuleExportsOrAlias:()=>oW,isExpression:()=>P0,isExpressionNode:()=>wY,isExpressionOfExternalModuleImportEqualsDeclaration:()=>EZD,isExpressionOfOptionalChainRoot:()=>qv,isExpressionStatement:()=>z3,isExpressionWithTypeArguments:()=>jV,isExpressionWithTypeArgumentsInClassExtendsClause:()=>jb,isExternalModule:()=>G4,isExternalModuleAugmentation:()=>jW,isExternalModuleImportEqualsDeclaration:()=>pK,isExternalModuleIndicator:()=>fI,isExternalModuleNameRelative:()=>X3,isExternalModuleReference:()=>DY,isExternalModuleSymbol:()=>Iw,isExternalOrCommonJsModule:()=>t$,isFileLevelReservedGeneratedIdentifier:()=>yI,isFileLevelUniqueName:()=>Pv,isFileProbablyExternalModule:()=>CP,isFirstDeclarationOfSymbolParameter:()=>Ia,isFixablePromiseHandler:()=>Kt,isForInOrOfStatement:()=>ej,isForInStatement:()=>nx,isForInitializer:()=>bZ,isForOfStatement:()=>zP,isForStatement:()=>SG,isFunctionBlock:()=>CW,isFunctionBody:()=>zi,isFunctionDeclaration:()=>u4,isFunctionExpression:()=>d7,isFunctionExpressionOrArrowFunction:()=>vW,isFunctionLike:()=>XF,isFunctionLikeDeclaration:()=>r7,isFunctionLikeKind:()=>TM,isFunctionLikeOrClassStaticBlockDeclaration:()=>tj,isFunctionOrConstructorTypeNode:()=>kFD,isFunctionOrModuleBlock:()=>Bi,isFunctionSymbol:()=>_7D,isFunctionTypeNode:()=>aX,isFutureReservedKeyword:()=>pOD,isGeneratedIdentifier:()=>W9,isGeneratedPrivateIdentifier:()=>ZG,isGetAccessor:()=>qz,isGetAccessorDeclaration:()=>MZ,isGetOrSetAccessorDeclaration:()=>zv,isGlobalDeclaration:()=>vND,isGlobalScopeAugmentation:()=>tB,isGrammarError:()=>Y7D,isHeritageClause:()=>OZ,isHoistedFunction:()=>kv,isHoistedVariableStatement:()=>hv,isIdentifier:()=>sD,isIdentifierANonContextualKeyword:()=>Fp,isIdentifierName:()=>i7D,isIdentifierOrThisTypeNode:()=>V3D,isIdentifierPart:()=>kK,isIdentifierStart:()=>TY,isIdentifierText:()=>GZ,isIdentifierTypePredicate:()=>y7D,isIdentifierTypeReference:()=>o9D,isIfStatement:()=>wG,isIgnoredFileFromWildCardWatching:()=>Fw,isImplicitGlob:()=>xp,isImportAttribute:()=>d4D,isImportAttributeName:()=>bFD,isImportAttributes:()=>QO,isImportCall:()=>e$,isImportClause:()=>tX,isImportDeclaration:()=>c4,isImportEqualsDeclaration:()=>K3,isImportKeyword:()=>EN,isImportMeta:()=>QL,isImportOrExportSpecifier:()=>NM,isImportOrExportSpecifierName:()=>oZD,isImportSpecifier:()=>H$,isImportTypeAssertionContainer:()=>ejD,isImportTypeNode:()=>hY,isImportableFile:()=>ta,isInComment:()=>EV,isInCompoundLikeAssignment:()=>oi,isInExpressionContext:()=>rv,isInJSDoc:()=>eI,isInJSFile:()=>H8,isInJSXText:()=>wZD,isInJsonFile:()=>sv,isInNonReferenceComment:()=>kZD,isInReferenceComment:()=>xZD,isInRightSideOfInternalImportEqualsDeclaration:()=>kh,isInString:()=>nG,isInTemplateString:()=>Ya,isInTopLevelContext:()=>lv,isInTypeQuery:()=>LG,isIncrementalCompilation:()=>HN,isIndexSignatureDeclaration:()=>kW,isIndexedAccessTypeNode:()=>PG,isInferTypeNode:()=>RG,isInfinityOrNaNString:()=>zN,isInitializedProperty:()=>rP,isInitializedVariable:()=>wy,isInsideJsxElement:()=>rh,isInsideJsxElementOrAttribute:()=>PZD,isInsideNodeModules:()=>hw,isInsideTemplateLiteral:()=>Tw,isInstanceOfExpression:()=>Lb,isInstantiatedModule:()=>rr,isInterfaceDeclaration:()=>P2,isInternalDeclaration:()=>Ui,isInternalModuleImportEqualsDeclaration:()=>WL,isInternalName:()=>rn,isIntersectionTypeNode:()=>JO,isIntrinsicJsxName:()=>TL,isIterationStatement:()=>Kz,isJSDoc:()=>EB,isJSDocAllType:()=>n4D,isJSDocAugmentsTag:()=>qO,isJSDocAuthorTag:()=>JLD,isJSDocCallbackTag:()=>kn,isJSDocClassTag:()=>o4D,isJSDocCommentContainingNode:()=>Av,isJSDocConstructSignature:()=>OL,isJSDocDeprecatedTag:()=>dn,isJSDocEnumTag:()=>qP,isJSDocFunctionType:()=>nL,isJSDocImplementsTag:()=>tx,isJSDocIndexSignature:()=>av,isJSDocLikeText:()=>Zr,isJSDocLink:()=>i4D,isJSDocLinkCode:()=>p4D,isJSDocLinkLike:()=>yM,isJSDocLinkPlain:()=>$LD,isJSDocMemberName:()=>Zq,isJSDocNameReference:()=>SN,isJSDocNamepathType:()=>ZLD,isJSDocNamespaceBody:()=>IOD,isJSDocNode:()=>DL,isJSDocNonNullableType:()=>rx,isJSDocNullableType:()=>pL,isJSDocOptionalParameter:()=>_y,isJSDocOptionalType:()=>xn,isJSDocOverloadTag:()=>rL,isJSDocOverrideTag:()=>sx,isJSDocParameterTag:()=>NB,isJSDocPrivateTag:()=>_n,isJSDocPropertyLikeTag:()=>ME,isJSDocPropertyTag:()=>s4D,isJSDocProtectedTag:()=>gn,isJSDocPublicTag:()=>hn,isJSDocReadonlyTag:()=>mn,isJSDocReturnTag:()=>ax,isJSDocSatisfiesExpression:()=>ip,isJSDocSatisfiesTag:()=>ex,isJSDocSeeTag:()=>BLD,isJSDocSignature:()=>Jq,isJSDocTag:()=>FL,isJSDocTemplateTag:()=>EJ,isJSDocThisTag:()=>cn,isJSDocThrowsTag:()=>YLD,isJSDocTypeAlias:()=>GJ,isJSDocTypeAssertion:()=>sL,isJSDocTypeExpression:()=>nW,isJSDocTypeLiteral:()=>bG,isJSDocTypeTag:()=>uN,isJSDocTypedefTag:()=>xG,isJSDocUnknownTag:()=>XLD,isJSDocUnknownType:()=>r4D,isJSDocVariadicType:()=>ox,isJSXTagName:()=>qL,isJsonEqual:()=>cb,isJsonSourceFile:()=>UJ,isJsxAttribute:()=>VX,isJsxAttributeLike:()=>jv,isJsxAttributeName:()=>Z4D,isJsxAttributes:()=>lW,isJsxChild:()=>xI,isJsxClosingElement:()=>dW,isJsxClosingFragment:()=>c4D,isJsxElement:()=>_Y,isJsxExpression:()=>PN,isJsxFragment:()=>cW,isJsxNamespacedName:()=>CB,isJsxOpeningElement:()=>QX,isJsxOpeningFragment:()=>zO,isJsxOpeningLikeElement:()=>E2,isJsxOpeningLikeElementTagName:()=>LZD,isJsxSelfClosingElement:()=>fG,isJsxSpreadAttribute:()=>KO,isJsxTagNameExpression:()=>CE,isJsxText:()=>sM,isJumpStatementTarget:()=>jw,isKeyword:()=>F$,isKeywordOrPunctuation:()=>Bb,isKnownSymbol:()=>Ly,isLabelName:()=>ts,isLabelOfLabeledStatement:()=>as,isLabeledStatement:()=>mW,isLateVisibilityPaintedStatement:()=>fv,isLeftHandSideExpression:()=>U$,isLeftHandSideOfAssignment:()=>JjD,isLet:()=>xv,isLineBreak:()=>B2,isLiteralComputedPropertyDeclarationName:()=>Hy,isLiteralExpression:()=>HW,isLiteralExpressionOfObject:()=>$i,isLiteralImportTypeNode:()=>Hz,isLiteralKind:()=>OE,isLiteralLikeAccess:()=>Db,isLiteralLikeElementAccess:()=>Jy,isLiteralNameOfPropertyDeclarationOrIndexAccess:()=>gh,isLiteralTypeLikeExpression:()=>WLD,isLiteralTypeLiteral:()=>dFD,isLiteralTypeNode:()=>Iz,isLocalName:()=>EQ,isLogicalOperator:()=>W9D,isLogicalOrCoalescingAssignmentExpression:()=>Op,isLogicalOrCoalescingAssignmentOperator:()=>iE,isLogicalOrCoalescingBinaryExpression:()=>Ry,isLogicalOrCoalescingBinaryOperator:()=>Ty,isMappedTypeNode:()=>dL,isMemberName:()=>RY,isMetaProperty:()=>NN,isMethodDeclaration:()=>F4,isMethodOrAccessor:()=>RM,isMethodSignature:()=>sX,isMinusToken:()=>In,isMissingDeclaration:()=>FLD,isMissingPackageJsonInfo:()=>l3D,isModifier:()=>SF,isModifierKind:()=>QV,isModifierLike:()=>U9,isModuleAugmentationExternal:()=>Ni,isModuleBlock:()=>YX,isModuleBody:()=>iFD,isModuleDeclaration:()=>J4,isModuleExportsAccessExpression:()=>SY,isModuleIdentifier:()=>ci,isModuleName:()=>q3D,isModuleOrEnumDeclaration:()=>vI,isModuleReference:()=>sFD,isModuleSpecifierLike:()=>Z_,isModuleWithStringLiteralName:()=>uv,isNameOfFunctionDeclaration:()=>$a,isNameOfModuleDeclaration:()=>Fa,isNamedClassElement:()=>COD,isNamedDeclaration:()=>A2,isNamedEvaluation:()=>P$,isNamedEvaluationSource:()=>$p,isNamedExportBindings:()=>el,isNamedExports:()=>dZ,isNamedImportBindings:()=>Ki,isNamedImports:()=>CQ,isNamedImportsOrExports:()=>Ib,isNamedTupleMember:()=>mL,isNamespaceBody:()=>ROD,isNamespaceExport:()=>eX,isNamespaceExportDeclaration:()=>KP,isNamespaceImport:()=>wz,isNamespaceReexportDeclaration:()=>b7D,isNewExpression:()=>_W,isNewExpressionTarget:()=>VT,isNoSubstitutionTemplateLiteral:()=>aM,isNode:()=>LOD,isNodeArray:()=>GW,isNodeArrayMultiLine:()=>C9D,isNodeDescendantOf:()=>TW,isNodeKind:()=>RI,isNodeLikeSystem:()=>Ec,isNodeModulesDirectory:()=>tf,isNodeWithPossibleHoistedDeclaration:()=>d7D,isNonContextualKeyword:()=>Dp,isNonExportDefaultModifier:()=>GLD,isNonGlobalAmbientModule:()=>Ei,isNonGlobalDeclaration:()=>zJD,isNonNullAccess:()=>$4D,isNonNullChain:()=>Wv,isNonNullExpression:()=>YO,isNonStaticMethodOrAccessorWithPrivateName:()=>N2D,isNotEmittedOrPartiallyEmittedNode:()=>TOD,isNotEmittedStatement:()=>vn,isNullishCoalesce:()=>tl,isNumber:()=>DV,isNumericLiteral:()=>S$,isNumericLiteralName:()=>kY,isObjectBindingElementWithoutPropertyName:()=>ww,isObjectBindingOrAssignmentElement:()=>SI,isObjectBindingOrAssignmentPattern:()=>Xi,isObjectBindingPattern:()=>CJ,isObjectLiteralElement:()=>qi,isObjectLiteralElementLike:()=>UQ,isObjectLiteralExpression:()=>mF,isObjectLiteralMethod:()=>lJ,isObjectLiteralOrClassExpressionMethodOrAccessor:()=>gv,isObjectTypeDeclaration:()=>gM,isOctalDigit:()=>$v,isOmittedExpression:()=>e4,isOptionalChain:()=>X2,isOptionalChainRoot:()=>UE,isOptionalDeclaration:()=>qN,isOptionalJSDocPropertyLikeTag:()=>hy,isOptionalTypeNode:()=>dx,isOuterExpression:()=>Zk,isOutermostOptionalChain:()=>GE,isOverrideModifier:()=>f4D,isPackageJsonInfo:()=>Tk,isPackedArrayLiteral:()=>cp,isParameter:()=>u6,isParameterDeclaration:()=>IW,isParameterPropertyDeclaration:()=>I$,isParameterPropertyModifier:()=>jE,isParenthesizedExpression:()=>$$,isParenthesizedTypeNode:()=>IG,isParseTreeNode:()=>WE,isPartOfTypeNode:()=>PY,isPartOfTypeQuery:()=>ov,isPartiallyEmittedExpression:()=>px,isPatternMatch:()=>Tf,isPinnedComment:()=>wv,isPlainJsFile:()=>_I,isPlusToken:()=>Rn,isPossiblyTypeArgumentPosition:()=>Nw,isPostfixUnaryExpression:()=>wn,isPrefixUnaryExpression:()=>Pz,isPrivateIdentifier:()=>$6,isPrivateIdentifierClassElementDeclaration:()=>C2,isPrivateIdentifierPropertyAccessExpression:()=>aj,isPrivateIdentifierSymbol:()=>n7D,isProgramBundleEmitBuildInfo:()=>I$D,isProgramUptoDate:()=>io,isPrologueDirective:()=>cJ,isPropertyAccessChain:()=>Kv,isPropertyAccessEntityNameExpression:()=>Iy,isPropertyAccessExpression:()=>n8,isPropertyAccessOrQualifiedName:()=>gFD,isPropertyAccessOrQualifiedNameOrImportTypeNode:()=>_FD,isPropertyAssignment:()=>N4,isPropertyDeclaration:()=>t6,isPropertyName:()=>W4,isPropertyNameLiteral:()=>DX,isPropertySignature:()=>u$,isProtoSetter:()=>r7D,isPrototypeAccess:()=>jz,isPrototypePropertyAssignment:()=>Yy,isPunctuation:()=>ei,isPushOrUnshiftIdentifier:()=>Zp,isQualifiedName:()=>d2,isQuestionDotToken:()=>gx,isQuestionOrExclamationToken:()=>Q3D,isQuestionOrPlusOrMinusToken:()=>K3D,isQuestionToken:()=>Tz,isRawSourceMap:()=>L2D,isReadonlyKeyword:()=>S4D,isReadonlyKeywordOrPlusOrMinusToken:()=>z3D,isRecognizedTripleSlashComment:()=>ji,isReferenceFileLocation:()=>qA,isReferencedFile:()=>Kq,isRegularExpressionLiteral:()=>Nn,isRequireCall:()=>g2,isRequireVariableStatement:()=>mi,isRestParameter:()=>IY,isRestTypeNode:()=>cx,isReturnStatement:()=>nJ,isReturnStatementWithFixablePromiseHandler:()=>P_,isRightSideOfAccessExpression:()=>Ap,isRightSideOfInstanceofExpression:()=>G9D,isRightSideOfPropertyAccess:()=>jA,isRightSideOfQualifiedName:()=>CZD,isRightSideOfQualifiedNameOrPropertyAccess:()=>nE,isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName:()=>U9D,isRootedDiskPath:()=>R$,isSameEntityName:()=>UL,isSatisfiesExpression:()=>Sn,isScopeMarker:()=>cFD,isSemicolonClassElement:()=>_4D,isSetAccessor:()=>VV,isSetAccessorDeclaration:()=>f$,isShebangTrivia:()=>gl,isShiftOperatorOrHigher:()=>Dr,isShorthandAmbientModuleSymbol:()=>TE,isShorthandPropertyAssignment:()=>M$,isSignedNumericLiteral:()=>Yb,isSimpleCopiableExpression:()=>aW,isSimpleInlineableExpression:()=>zX,isSimpleParameter:()=>P2D,isSimpleParameterList:()=>oP,isSingleOrDoubleQuote:()=>Dy,isSourceFile:()=>B6,isSourceFileFromLibrary:()=>IA,isSourceFileJS:()=>N2,isSourceFileNotJS:()=>hOD,isSourceFileNotJson:()=>gi,isSourceMapping:()=>A2D,isSpecialPropertyDeclaration:()=>h7D,isSpreadAssignment:()=>LV,isSpreadElement:()=>pJ,isStatement:()=>F6,isStatementButNotDeclaration:()=>bI,isStatementOrBlock:()=>oFD,isStatementWithLocals:()=>X7D,isStatic:()=>WF,isStaticModifier:()=>DO,isString:()=>g6,isStringAKeyword:()=>nOD,isStringANonContextualKeyword:()=>bM,isStringAndEmptyAnonymousObjectIntersection:()=>bZD,isStringDoubleQuoted:()=>ev,isStringLiteral:()=>kF,isStringLiteralLike:()=>H7,isStringLiteralOrJsxExpression:()=>aFD,isStringLiteralOrTemplate:()=>FJD,isStringOrNumericLiteralLike:()=>HZ,isStringOrRegularExpressionOrTemplateLiteral:()=>za,isStringTextContainingNode:()=>Zi,isSuperCall:()=>KG,isSuperKeyword:()=>CN,isSuperOrSuperProperty:()=>kOD,isSuperProperty:()=>D$,isSupportedSourceFileName:()=>i9D,isSwitchStatement:()=>IN,isSyntaxList:()=>oL,isSyntheticExpression:()=>njD,isSyntheticReference:()=>VO,isTagName:()=>es,isTaggedTemplateExpression:()=>gW,isTaggedTemplateTag:()=>OZD,isTemplateExpression:()=>lx,isTemplateHead:()=>tM,isTemplateLiteral:()=>IM,isTemplateLiteralKind:()=>Vz,isTemplateLiteralToken:()=>fFD,isTemplateLiteralTypeNode:()=>x4D,isTemplateLiteralTypeSpan:()=>Pn,isTemplateMiddle:()=>Tn,isTemplateMiddleOrTemplateTail:()=>Uv,isTemplateSpan:()=>RN,isTemplateTail:()=>hx,isTextWhiteSpaceLike:()=>mZD,isThis:()=>LA,isThisContainerOrFunctionBlock:()=>u7D,isThisIdentifier:()=>wW,isThisInTypeQuery:()=>xM,isThisInitializedDeclaration:()=>iv,isThisInitializedObjectBindingExpression:()=>v7D,isThisProperty:()=>sI,isThisTypeNode:()=>QP,isThisTypeParameter:()=>KN,isThisTypePredicate:()=>xOD,isThrowStatement:()=>fn,isToken:()=>EM,isTokenKind:()=>Fi,isTraceEnabled:()=>NQ,isTransientSymbol:()=>lX,isTrivia:()=>CL,isTryStatement:()=>uG,isTupleTypeNode:()=>ZO,isTypeAlias:()=>zy,isTypeAliasDeclaration:()=>rJ,isTypeAssertionExpression:()=>k4D,isTypeDeclaration:()=>bL,isTypeElement:()=>BG,isTypeKeyword:()=>qT,isTypeKeywordToken:()=>Ha,isTypeKeywordTokenOrIdentifier:()=>eh,isTypeLiteralNode:()=>v$,isTypeNode:()=>e5,isTypeNodeKind:()=>Pp,isTypeOfExpression:()=>cL,isTypeOnlyExportDeclaration:()=>vFD,isTypeOnlyImportDeclaration:()=>II,isTypeOnlyImportOrExportDeclaration:()=>lK,isTypeOperatorNode:()=>yG,isTypeParameterDeclaration:()=>E9,isTypePredicateNode:()=>XP,isTypeQueryNode:()=>$O,isTypeReferenceNode:()=>mZ,isTypeReferenceType:()=>Ev,isTypeUsableAsPropertyName:()=>jJ,isUMDExportSymbol:()=>Rb,isUnaryExpression:()=>Vi,isUnaryExpressionWithWrite:()=>mFD,isUnicodeIdentifierStart:()=>Dv,isUnionTypeNode:()=>Rz,isUnparsedNode:()=>Di,isUnparsedPrepend:()=>l4D,isUnparsedSource:()=>vG,isUnparsedTextLike:()=>uFD,isUrl:()=>e6D,isValidBigIntString:()=>lb,isValidESSymbolDeclaration:()=>R7D,isValidTypeOnlyAliasUseSite:()=>eK,isValueSignatureDeclaration:()=>c7D,isVarAwaitUsing:()=>iI,isVarConst:()=>YL,isVarUsing:()=>pI,isVariableDeclaration:()=>n5,isVariableDeclarationInVariableStatement:()=>IE,isVariableDeclarationInitializedToBareOrAccessedRequire:()=>EW,isVariableDeclarationInitializedToRequire:()=>tv,isVariableDeclarationList:()=>D3,isVariableLike:()=>VL,isVariableLikeOrAccessor:()=>N7D,isVariableStatement:()=>c9,isVoidExpression:()=>XO,isWatchSet:()=>YjD,isWhileStatement:()=>ojD,isWhiteSpaceLike:()=>qQ,isWhiteSpaceSingleLine:()=>oB,isWithStatement:()=>g4D,isWriteAccess:()=>_M,isWriteOnlyAccess:()=>Tb,isYieldExpression:()=>ix,jsxModeNeedsExplicitImport:()=>ia,keywordPart:()=>x$,last:()=>BF,lastOrUndefined:()=>S6,length:()=>HD,libMap:()=>Gk,libs:()=>SP,lineBreakPart:()=>TA,linkNamePart:()=>nZD,linkPart:()=>Pa,linkTextPart:()=>X_,listFiles:()=>zs,loadModuleFromGlobalCache:()=>D2D,loadWithModeAwareCache:()=>Bw,makeIdentifierFromModuleName:()=>K7D,makeImport:()=>TV,makeImportIfNecessary:()=>gZD,makeStringLiteral:()=>TO,mangleScopedPackageName:()=>YA,map:()=>K1,mapAllOrFail:()=>xX,mapDefined:()=>m5,mapDefinedEntries:()=>r4,mapDefinedIterator:()=>qZ,mapEntries:()=>e9,mapIterator:()=>$5,mapOneOrMany:()=>da,mapToDisplayParts:()=>xz,matchFiles:()=>kp,matchPatternOrExact:()=>hp,matchedText:()=>v6D,matchesExclude:()=>Uk,maybeBind:()=>KF,maybeSetLocalizedDiagnosticMessages:()=>f9D,memoize:()=>_2,memoizeCached:()=>I6D,memoizeOne:()=>gX,memoizeWeak:()=>GMD,metadataHelper:()=>Kx,min:()=>Oc,minAndMax:()=>n9D,missingFileModifiedTime:()=>OB,modifierToFlag:()=>hM,modifiersToFlags:()=>ZX,moduleOptionDeclaration:()=>Lr,moduleResolutionIsEqualTo:()=>J7D,moduleResolutionNameAndModeGetter:()=>Wh,moduleResolutionOptionDeclarations:()=>Hk,moduleResolutionSupportsPackageJsonExportsAndImports:()=>dM,moduleResolutionUsesNodeModules:()=>D_,moduleSpecifiers:()=>sW,moveEmitHelpers:()=>L4D,moveRangeEnd:()=>Eb,moveRangePastDecorators:()=>OQ,moveRangePastModifiers:()=>JX,moveRangePos:()=>aK,moveSyntheticComments:()=>M4D,mutateMap:()=>eE,mutateMapSkippingNewValues:()=>bY,needsParentheses:()=>Q_,needsScopeMarker:()=>Mv,newCaseClauseTracker:()=>C_,newPrivateEnvironment:()=>I2D,noEmitNotification:()=>sP,noEmitSubstitution:()=>tN,noTransformers:()=>Lo,noTruncationMaximumTruncationLength:()=>tb,nodeCanBeDecorated:()=>nv,nodeHasName:()=>CI,nodeIsDecorated:()=>KL,nodeIsMissing:()=>r9,nodeIsPresent:()=>qJ,nodeIsSynthesized:()=>J9,nodeModuleNameResolver:()=>r3D,nodeModulesPathPart:()=>$Y,nodeNextJsonConfigResolver:()=>o3D,nodeOrChildIsDecorated:()=>tI,nodeOverlapsWithStartEnd:()=>mh,nodePosToString:()=>POD,nodeSeenTracker:()=>NO,nodeStartsNewLexicalEnvironment:()=>Jp,nodeToDisplayParts:()=>yND,noop:()=>D7,noopFileWatcher:()=>MA,normalizePath:()=>TF,normalizeSlashes:()=>J2,not:()=>If,notImplemented:()=>e6,notImplementedResolver:()=>$h,nullNodeConverters:()=>Kn,nullParenthesizerRules:()=>zn,nullTransformationContext:()=>eN,objectAllocator:()=>M3,operatorPart:()=>GT,optionDeclarations:()=>gY,optionMapToObject:()=>Kk,optionsAffectingProgramStructure:()=>Tr,optionsForBuild:()=>Ir,optionsForWatch:()=>$A,optionsHaveChanges:()=>$L,optionsHaveModuleResolutionChanges:()=>F7D,or:()=>MB,orderedRemoveItem:()=>hj,orderedRemoveItemAt:()=>$z,outFile:()=>k7,packageIdToPackageName:()=>Iv,packageIdToString:()=>Uz,paramHelper:()=>qx,parameterIsThisKeyword:()=>PW,parameterNamePart:()=>cZD,parseBaseNodeFactory:()=>Qr,parseBigInt:()=>r9D,parseBuildCommand:()=>nLD,parseCommandLine:()=>iLD,parseCommandLineWorker:()=>Kr,parseConfigFileTextToJson:()=>Wr,parseConfigFileWithSystem:()=>yED,parseConfigHostFromCompilerHostLike:()=>qh,parseCustomTypeOption:()=>zk,parseIsolatedEntityName:()=>UO,parseIsolatedJSDocComment:()=>j3D,parseJSDocTypeExpressionForTests:()=>uLD,parseJsonConfigFileContent:()=>YAD,parseJsonSourceFileConfigFileContent:()=>yP,parseJsonText:()=>NP,parseListTypeOption:()=>A3D,parseNodeFactory:()=>FY,parseNodeModuleFromPath:()=>hP,parsePackageName:()=>mP,parsePseudoBigInt:()=>XN,parseValidBigInt:()=>dp,patchWriteFileEnsuringDirectory:()=>a6D,pathContainsNodeModules:()=>Vq,pathIsAbsolute:()=>XE,pathIsBareSpecifier:()=>xl,pathIsRelative:()=>s$,patternText:()=>f6D,perfLogger:()=>j2,performIncrementalCompilation:()=>uED,performance:()=>i6D,plainJSErrors:()=>Uh,positionBelongsToNode:()=>Ja,positionIsASICandidate:()=>q_,positionIsSynthesized:()=>AB,positionsAreOnSameLine:()=>hZ,preProcessFile:()=>FTD,probablyUsesSemicolons:()=>xw,processCommentPragmas:()=>Xr,processPragmasIntoFields:()=>Yr,processTaggedTemplateExpression:()=>Wo,programContainsEsModules:()=>_ZD,programContainsModules:()=>hZD,projectReferenceIsEqualTo:()=>Hi,propKeyHelper:()=>Tx,propertyNamePart:()=>lZD,pseudoBigIntToString:()=>fW,punctuationPart:()=>K2,pushIfUnique:()=>o$,quote:()=>OT,quotePreferenceFromString:()=>La,rangeContainsPosition:()=>Lw,rangeContainsPositionExclusive:()=>Aw,rangeContainsRange:()=>CZ,rangeContainsRangeExclusive:()=>NZD,rangeContainsStartEnd:()=>Cw,rangeEndIsOnSameLineAsRangeStart:()=>Py,rangeEndPositionsAreOnSameLine:()=>L9D,rangeEquals:()=>rR,rangeIsOnSingleLine:()=>CG,rangeOfNode:()=>gp,rangeOfTypeParameters:()=>mp,rangeOverlapsWithStartEnd:()=>zT,rangeStartIsOnSameLineAsRangeEnd:()=>A9D,rangeStartPositionsAreOnSameLine:()=>Nb,readBuilderProgram:()=>Rh,readConfigFile:()=>RP,readHelper:()=>Ex,readJson:()=>rE,readJsonConfigFile:()=>N3D,readJsonOrUndefined:()=>Ep,reduceEachLeadingCommentRange:()=>BFD,reduceEachTrailingCommentRange:()=>XFD,reduceLeft:()=>O2,reduceLeftIterator:()=>UD,reducePathComponents:()=>FG,refactor:()=>yO,regExpEscape:()=>UjD,relativeComplement:()=>vj,removeAllComments:()=>sy,removeEmitHelper:()=>ljD,removeExtension:()=>by,removeFileExtension:()=>m2,removeIgnoredPath:()=>Mh,removeMinAndVersionNumbers:()=>jc,removeOptionality:()=>SZD,removePrefix:()=>$E,removeSuffix:()=>kj,removeTrailingDirectorySeparator:()=>bK,repeatString:()=>yw,replaceElement:()=>Uc,replaceFirstStar:()=>iM,resolutionExtensionIsTSOrJson:()=>ZN,resolveConfigFileProjectName:()=>As,resolveJSModule:()=>p3D,resolveLibrary:()=>Ik,resolveModuleName:()=>BA,resolveModuleNameFromCache:()=>lAD,resolvePackageNameToPackageJson:()=>wr,resolvePath:()=>Bz,resolveProjectReferencePath:()=>WA,resolveTripleslashReference:()=>Xh,resolveTypeReferenceDirective:()=>d3D,resolvingEmptyArray:()=>ab,restHelper:()=>jx,returnFalse:()=>HB,returnNoopFileWatcher:()=>OA,returnTrue:()=>FV,returnUndefined:()=>fK,returnsPromise:()=>zt,runInitializersHelper:()=>Ux,sameFlatMap:()=>$2,sameMap:()=>R8,sameMapping:()=>SCD,scanShebangTrivia:()=>ml,scanTokenAtPosition:()=>A7D,scanner:()=>q2,screenStartingMessageCodes:()=>Th,semanticDiagnosticsOptionDeclarations:()=>Cr,serializeCompilerOptions:()=>qk,server:()=>efD,servicesVersion:()=>uBD,setCommentRange:()=>U4,setConfigFileInOptions:()=>Or,setConstantValue:()=>j4D,setEachParent:()=>vL,setEmitFlags:()=>L8,setFunctionNameHelper:()=>Rx,setGetSourceFileAsHashVersioned:()=>Nh,setIdentifierAutoGenerate:()=>ey,setIdentifierGeneratedImportReference:()=>E4D,setIdentifierTypeArguments:()=>OV,setInternalEmitFlags:()=>ay,setLocalizedDiagnosticMessages:()=>u9D,setModuleDefaultHelper:()=>Px,setNodeFlags:()=>a9D,setObjectAllocator:()=>S9D,setOriginalNode:()=>h8,setParent:()=>sF,setParentRecursive:()=>Az,setPrivateIdentifier:()=>gG,setSnippetElement:()=>jn,setSourceMapRange:()=>xF,setStackTraceLimit:()=>bMD,setStartsOnNewLine:()=>Yx,setSyntheticLeadingComments:()=>Fq,setSyntheticTrailingComments:()=>nM,setSys:()=>gMD,setSysLog:()=>o6D,setTextRange:()=>O0,setTextRangeEnd:()=>fL,setTextRangePos:()=>YN,setTextRangePosEnd:()=>rX,setTextRangePosWidth:()=>QN,setTokenSourceMapRange:()=>H4D,setTypeNode:()=>A4D,setUILocale:()=>w6D,setValueDeclaration:()=>Qy,shouldAllowImportingTsExtension:()=>QA,shouldPreserveConstEnums:()=>xW,shouldUseUriStyleNodeCoreModules:()=>L_,showModuleSpecifier:()=>R9D,signatureHasLiteralTypes:()=>or,signatureHasRestParameter:()=>z2,signatureToDisplayParts:()=>wa,single:()=>oR,singleElementArray:()=>OM,singleIterator:()=>QJ,singleOrMany:()=>hX,singleOrUndefined:()=>VJ,skipAlias:()=>i3,skipAssertions:()=>zLD,skipConstraint:()=>Ma,skipOuterExpressions:()=>X4,skipParentheses:()=>E7,skipPartiallyEmittedExpressions:()=>mJ,skipTrivia:()=>_F,skipTypeChecking:()=>BN,skipTypeParentheses:()=>Gy,skipWhile:()=>x6D,sliceAfter:()=>_p,some:()=>B0,sort:()=>uK,sortAndDeduplicate:()=>wK,sortAndDeduplicateDiagnostics:()=>nj,sourceFileAffectingCompilerOptions:()=>Mk,sourceFileMayBeEmitted:()=>OG,sourceMapCommentRegExp:()=>gk,sourceMapCommentRegExpDontCareLineStart:()=>Zo,spacePart:()=>i9,spanMap:()=>_6,spreadArrayHelper:()=>Nx,stableSort:()=>CY,startEndContainsRange:()=>Za,startEndOverlapsWithStartEnd:()=>dh,startOnNewLine:()=>V2,startTracing:()=>p6D,startsWith:()=>H6,startsWithDirectory:()=>hl,startsWithUnderscore:()=>la,startsWithUseStrict:()=>$3D,stringContainsAt:()=>VJD,stringToToken:()=>WW,stripQuotes:()=>MJ,supportedDeclarationExtensions:()=>ly,supportedJSExtensions:()=>Yn,supportedJSExtensionsFlat:()=>kL,supportedLocaleDirectories:()=>Gi,supportedTSExtensions:()=>xL,supportedTSExtensionsFlat:()=>Xn,supportedTSImplementationExtensions:()=>iy,suppressLeadingAndTrailingTrivia:()=>k$,suppressLeadingTrivia:()=>va,suppressTrailingTrivia:()=>tZD,symbolEscapedNameNoDefault:()=>$_,symbolName:()=>P9,symbolNameNoDefault:()=>F_,symbolPart:()=>dZD,symbolToDisplayParts:()=>HT,syntaxMayBeASICandidate:()=>sa,syntaxRequiresTrailingSemicolonOrASI:()=>K_,sys:()=>P3,sysLog:()=>BI,tagNamesAreEquivalent:()=>Xq,takeWhile:()=>Pf,targetOptionDeclaration:()=>fP,templateObjectHelper:()=>Cx,testFormatSettings:()=>MZD,textChangeRangeIsUnchanged:()=>WFD,textChangeRangeNewSpan:()=>qE,textChanges:()=>N8,textOrKeywordPart:()=>ya,textPart:()=>NZ,textRangeContainsPositionInclusive:()=>jI,textSpanContainsPosition:()=>ll,textSpanContainsTextSpan:()=>VFD,textSpanEnd:()=>Z4,textSpanIntersection:()=>qFD,textSpanIntersectsWith:()=>Bv,textSpanIntersectsWithPosition:()=>KFD,textSpanIntersectsWithTextSpan:()=>YOD,textSpanIsEmpty:()=>QFD,textSpanOverlap:()=>zFD,textSpanOverlapsWith:()=>XOD,textSpansEqual:()=>NA,textToKeywordObj:()=>MI,timestamp:()=>Z9,toArray:()=>GM,toBuilderFileEmit:()=>w$D,toBuilderStateFileInfoForMultiEmit:()=>P$D,toEditorSettings:()=>FS,toFileNameLowerCase:()=>_X,toLowerCase:()=>R6D,toPath:()=>K9,toProgramEmitPending:()=>S$D,tokenIsIdentifierOrKeyword:()=>L2,tokenIsIdentifierOrKeywordOrGreaterThan:()=>ZFD,tokenToString:()=>LF,trace:()=>I6,tracing:()=>U8,tracingEnabled:()=>FI,transform:()=>eRD,transformClassFields:()=>h2D,transformDeclarations:()=>Oo,transformECMAScriptModule:()=>Mo,transformES2015:()=>e2D,transformES2016:()=>t2D,transformES2017:()=>d2D,transformES2018:()=>c2D,transformES2019:()=>l2D,transformES2020:()=>i2D,transformES2021:()=>p2D,transformES5:()=>D$D,transformESDecorators:()=>m2D,transformESNext:()=>n2D,transformGenerators:()=>F$D,transformJsx:()=>a2D,transformLegacyDecorators:()=>g2D,transformModule:()=>Ho,transformNamedEvaluation:()=>b$,transformNodeModule:()=>Z$D,transformNodes:()=>aP,transformSystemModule:()=>$$D,transformTypeScript:()=>k2D,transpile:()=>VTD,transpileModule:()=>yJD,transpileOptionValueCompilerOptions:()=>Rr,tryAddToSet:()=>y3,tryAndIgnoreErrors:()=>G_,tryCast:()=>U5,tryDirectoryExists:()=>U_,tryExtractTSExtension:()=>Ab,tryFileExists:()=>kw,tryGetClassExtendingExpressionWithTypeArguments:()=>jp,tryGetClassImplementingOrExtendingExpressionWithTypeArguments:()=>Lp,tryGetDirectories:()=>W_,tryGetExtensionFromPath:()=>LQ,tryGetImportFromModuleSpecifier:()=>Vy,tryGetJSDocSatisfiesTypeNode:()=>rb,tryGetModuleNameFromFile:()=>MP,tryGetModuleSpecifierFromDeclaration:()=>GL,tryGetNativePerformanceHooks:()=>d6D,tryGetPropertyAccessOrIdentifierToString:()=>yy,tryGetPropertyNameOfBindingOrAssignmentElement:()=>Bk,tryGetSourceMappingURL:()=>j2D,tryGetTextOfPropertyName:()=>RE,tryIOAndConsumeErrors:()=>H_,tryParseJson:()=>Cb,tryParsePattern:()=>uL,tryParsePatterns:()=>mb,tryParseRawSourceMap:()=>Fo,tryReadDirectory:()=>ka,tryReadFile:()=>kN,tryRemoveDirectoryPrefix:()=>bp,tryRemoveExtension:()=>p9D,tryRemovePrefix:()=>Cc,tryRemoveSuffix:()=>u6D,typeAcquisitionDeclarations:()=>vP,typeAliasNamePart:()=>iZD,typeDirectiveIsEqualTo:()=>B7D,typeKeywords:()=>E_,typeParameterNamePart:()=>pZD,typeToDisplayParts:()=>uw,unchangedPollThresholds:()=>XI,unchangedTextChangeRange:()=>kI,unescapeLeadingUnderscores:()=>t5,unmangleScopedPackageName:()=>cP,unorderedRemoveItem:()=>HM,unorderedRemoveItemAt:()=>Lc,unreachableCodeIsError:()=>b9D,unusedLabelIsError:()=>x9D,unwrapInnermostStatementOfLabel:()=>xi,updateErrorForNoInputFiles:()=>Wk,updateLanguageServiceSourceFile:()=>nt,updateMissingFilePathsWatch:()=>yo,updateResolutionField:()=>ZA,updateSharedExtendedConfigFileWatcher:()=>Jh,updateSourceFile:()=>Jr,updateWatchingWildcardDirectories:()=>Dw,usesExtensionsOnImports:()=>c9D,usingSingleLineStringWriter:()=>EE,utf16EncodeAsString:()=>pj,validateLocaleAndSetLanguage:()=>VOD,valuesHelper:()=>Ix,version:()=>_,versionMajorMinor:()=>x,visitArray:()=>pP,visitCommaListElements:()=>nP,visitEachChild:()=>w1,visitFunctionBody:()=>AZ,visitIterationBody:()=>c2,visitLexicalEnvironment:()=>er,visitNode:()=>z0,visitNodes:()=>p1,visitParameterList:()=>b9,walkUpBindingElementsAndPatterns:()=>rj,walkUpLexicalEnvironments:()=>R2D,walkUpOuterExpressions:()=>Z3D,walkUpParenthesizedExpressions:()=>KV,walkUpParenthesizedTypes:()=>Uy,walkUpParenthesizedTypesAndGetParentAndChild:()=>l7D,whitespaceOrMapCommentRegExp:()=>mk,writeCommentRange:()=>IL,writeFile:()=>mE,writeFileEnsuringDirectories:()=>Up,zipWith:()=>TD});var FvD=G({"src/typescript/_namespaces/ts.ts"(){zF(),Uw(),H5(),_z(),lU0()}}),iU0=C({"src/typescript/typescript.ts"(D,F){if(FvD(),FvD(),typeof console!=="undefined")S.loggingHost={log(Z,J){switch(Z){case 1:return console.error(J);case 2:return console.warn(J);case 3:return console.log(J);case 4:return console.log(J)}}};F.exports=DvD}});return iU0()})();if(typeof yd!=="undefined"&&Cs0)yd.exports=dP0});var CdD=r0((ku)=>{var jdD=function(Q,K){try{return i8.resolve(K,{paths:[Q]})}catch{}};async function AdD(Q,K){let G;try{G=await K(Q)}catch{G=!1}if(G)return Q;const C=LdD.dirname(Q);if(C===Q)return;return AdD(C,K)}async function nP0(Q,K="tsconfig.json"){const G=[];let C;try{C=HdD()}catch{try{C=i8(Q+"/node_modules/typescript")}catch{}}if(!C){iP0.memoizedWarn("Could not find typescript. Please ensure that typescript is a devDependency. Falling back to compiled source.");return}const y=async(x)=>{const _=await AdD(x,async(VD)=>(await MdD.readdir(VD)).includes("package.json"));if(!_)return;try{const VD=await MdD.readFile(x,"utf8"),OD=C?.parseConfigFileTextToJson(x,VD).config;if(G.push(OD),OD.extends){if(OD.extends.startsWith(".")){const a=jdD(_,OD.extends);return a?y(a):void 0}const HD=jdD(_,OD.extends);if(HD)return y(HD)}return OD}catch(VD){pP0(VD)}};return await y(LdD.join(Q,K)),{compilerOptions:OdD.mergeNestedObjects(G,"compilerOptions"),"ts-node":OdD.mergeNestedObjects(G,"ts-node")}}var cP0=ku&&ku.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(ku,"__esModule",{value:!0});ku.readTSConfig=void 0;var lP0=cP0(i8("debug")),MdD=i8("node:fs/promises"),LdD=i8("node:path"),iP0=s8D(),OdD=cB(),pP0=lP0.default("read-tsconfig");ku.readTSConfig=nP0});var hu=r0((NdD)=>{var rP0=function(){if(process.listenerCount("warning")>1)return;process.on("warning",(Q)=>{if(console.error(Q.stack),Q.detail)console.error(Q.detail)})},oP0=function(...Q){if(!EdD)return(...G)=>{};const K=EdD(["config",...Q].join(":"));if(K.enabled)rP0();return(...G)=>K(...G)},WUD=function(Q){if(Q.length===0)return[];if(Q.length===1)return[Q];const K=[],G=WUD(Q.slice(1)),C=Q[0];for(let y=0,x=G.length;y<x;y++){const _=G[y];for(let VD=0,OD=_.length;VD<=OD;VD++){const HD=_.slice(0,VD),a=_.slice(VD),bD=[...HD,C,...a];K.push(bD)}}return K},sP0=function(Q){return WUD(Q.split(":")).flatMap((K)=>K.join(":"))};Object.defineProperty(NdD,"__esModule",{value:!0});NdD.collectUsableIds=NdD.getCommandIdPermutations=NdD.getPermutations=NdD.Debug=void 0;var EdD=i8("debug");NdD.Debug=oP0;NdD.getPermutations=WUD;NdD.getCommandIdPermutations=sP0;var aP0=(Q)=>new Set(Q.flatMap((K)=>K.split(":").map((G,C,y)=>y.slice(0,C+1).join(":"))));NdD.collectUsableIds=aP0});var _u=r0((aq)=>{var Xw0=function(){if(process.execPath.split(aV.sep).includes("bun"))return"bun";if(process.execArgv.length===0)return"node";if(process.execArgv[0]==="--require"&&process.execArgv[1].split(aV.sep).includes("ts-node"))return"ts-node";if(process.execArgv[0].split(aV.sep).includes("ts-node"))return"ts-node";if(process.execArgv[0]==="--require"&&process.execArgv[1].split(aV.sep).includes("tsx"))return"tsx";return"node"},Yw0=function(Q){return"code"in Q&&Q.code==="ENOENT"};async function Qw0(Q){try{if(aq.TS_CONFIGS[Q])return aq.TS_CONFIGS[Q];const K=await Jw0.readTSConfig(Q);if(!K)return;return vJ("tsconfig: %O",K),aq.TS_CONFIGS[Q]=K,aq.TS_CONFIGS[Q]}catch(K){if(Yw0(K))return;vJ(`Could not parse tsconfig.json. Skipping typescript path lookup for ${Q}.`),Pd.memoizedWarn(`Could not parse tsconfig.json for ${Q}. Falling back to compiled source.`)}}async function Vw0(Q,K){if(ydD.has(Q))return;vJ("registering ts-node at",Q);const G=i8.resolve("ts-node",{paths:[Q,__dirname]});vJ("ts-node path:",G);let C;try{C=i8(G)}catch{vJ(`Could not find ts-node at ${G}. Skipping ts-node registration for ${Q}.`),Pd.memoizedWarn(`Could not find ts-node at ${G}. Please ensure that ts-node is a devDependency. Falling back to compiled source.`);return}const y=[aV.join(Q,"node_modules","@types")],x=[];if(K.compilerOptions.rootDirs)for(let a of K.compilerOptions.rootDirs)x.push(aV.join(Q,a));else if(K.compilerOptions.rootDir)x.push(aV.join(Q,K.compilerOptions.rootDir));else if(K.compilerOptions.baseUrl)x.push(aV.join(Q,K.compilerOptions.baseUrl));else x.push(aV.join(Q,"src"));const{baseUrl:_,rootDir:VD,...OD}=K.compilerOptions,HD={compilerOptions:{...OD,rootDirs:x,typeRoots:y},...K["ts-node"],cwd:Q,esm:K["ts-node"]?.esm??!0,experimentalSpecifierResolution:K["ts-node"]?.experimentalSpecifierResolution??"explicit",scope:!0,scopeDir:Q,skipProject:!0,transpileOnly:!0};vJ("ts-node options: %O",HD),C.register(HD),ydD.add(Q)}var zw0=function(Q,K,G){return(G||Q?.moduleType==="commonjs")&&K?.moduleType==="module"},Kw0=function(Q,K,G){if(K?.moduleType!=="module"||G)return!1;const C=Number.parseInt(process.version.replace("v","").split(".")[0],10);return a8D==="ts-node"&&C>=20};async function qw0(Q,K){const G=await Qw0(Q);if(!G)return K;if(vJ(`Determining path for ${K}`),a8D==="tsx"||a8D==="bun")vJ(`Skipping ts-node registration for ${Q} because the runtime is: ${a8D}`);else await Vw0(Q,G);const{baseUrl:C,outDir:y,rootDir:x,rootDirs:_}=G.compilerOptions,VD=x??(_??[])[0]??C;if(!VD)return vJ(`no rootDir, rootDirs, or baseUrl specified in tsconfig.json. Returning default path ${K}`),K;if(!y)return vJ(`no outDir specified in tsconfig.json. Returning default path ${K}`),K;const OD=aV.join(Q,y),HD=aV.join(Q,VD),a=aV.relative(OD,K),bD=aV.join(HD,a).replace(/\.js$/,"");if(vJ(`lib dir: ${OD}`),vJ(`src dir: ${HD}`),vJ(`src directory to find: ${bD}`),Zw0.existsSync(bD))return vJ(`Found source directory for ${K} at ${bD}`),bD;if((await Promise.all([RdD.access(`${bD}.ts`).then(()=>`${bD}.ts`).catch(()=>!1),RdD.access(`${bD}.tsx`).then(()=>`${bD}.tsx`).catch(()=>!1)])).some(Boolean))return vJ(`Found source file for ${K} at ${bD}`),bD;if(vJ(`No source file found. Returning default path ${K}`),!PdD.isProd())Pd.memoizedWarn(`Could not find source for ${K} based on tsconfig. Defaulting to compiled source.`);return K}async function Ww0(Q,K,G){const C=G?.options.isRoot?G:$w0.default.getInstance().get("rootPlugin");if(!K)return K;K=K.startsWith(Q)?K:aV.join(Q,K);const y=IdD.settings.enableAutoTranspile??IdD.settings.tsnodeEnabled;if(y===!1)return vJ(`Skipping typescript path lookup for ${Q} because enableAutoTranspile is explicitly set to false`),K;const x=PdD.isProd();if(y===void 0&&x&&G?.type!=="link")return vJ(`Skipping typescript path lookup for ${Q} because NODE_ENV is NOT "test" or "development"`),K;if(zw0(C,G,x)){if(vJ(`Skipping typescript path lookup for ${Q} because it's an ESM module (NODE_ENV: development, root plugin module type: ${C?.moduleType})`),G?.type==="link")Pd.memoizedWarn(`${G?.name} is a linked ESM module and cannot be auto-transpiled. Existing compiled source will be used instead.`);return K}if(Kw0(Q,G,x))return vJ(`Skipping typescript path lookup for ${Q} because ts-node is run in node version ${process.version}"`),Pd.memoizedWarn("ts-node executable cannot transpile ESM in Node 20. Existing compiled source will be used instead. See https://github.com/oclif/core/issues/817."),K;try{return await qw0(Q,K)}catch(_){return vJ(_),K}}var __dirname="/Users/treece/src/prismatic-io/prism/node_modules/@oclif/core/lib/config",Fw0=aq&&aq.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(aq,"__esModule",{value:!0});aq.tsPath=aq.TS_CONFIGS=void 0;var RdD=i8("node:fs/promises"),aV=i8("node:path"),$w0=Fw0(lU()),Pd=s8D(),IdD=dC(),Zw0=Ej(),Jw0=CdD(),PdD=cB(),Bw0=hu(),vJ=Bw0.Debug("ts-path");aq.TS_CONFIGS={};var ydD=new Set,a8D=Xw0();aq.tsPath=Ww0});var UUD=r0((Xa0,SdD)=>{var Uw0=function(Q){let K=wdD.basename(Q);if(wdD.sep==="\\")K=K.toLowerCase();return K==="node_modules"},wdD=i8("path");SdD.exports=Uw0});var GUD=r0((Ya0,udD)=>{udD.exports=new Map});var bdD=r0((Qa0,vdD)=>{async function Ow0(Q){if(Mw0(Q))return"commonjs";try{return JSON.parse(await Hw0(e8D.resolve(Q,"package.json"))).type||"commonjs"}catch(G){}const K=e8D.dirname(Q);if(K===Q)return"commonjs";return fdD(K)}async function fdD(Q){if(HUD.has(Q))return HUD.get(Q);if(t8D.has(Q))return t8D.get(Q);const K=Ow0(Q);t8D.set(Q,K);const G=await K;return HUD.set(Q,G),t8D.delete(Q),G}var jw0=function(Q){return fdD(e8D.resolve(e8D.dirname(Q)))},e8D=i8("path"),{promisify:Gw0}=i8("util"),Hw0=Gw0(i8("fs").readFile),Mw0=UUD(),HUD=GUD(),t8D=new Map;vdD.exports=jw0});var hdD=r0((Va0,kdD)=>{var Cw0=function(Q){if(Aw0(Q))return"commonjs";try{return JSON.parse(Lw0(D5D.resolve(Q,"package.json"))).type||"commonjs"}catch(G){}const K=D5D.dirname(Q);if(K===Q)return"commonjs";return xdD(K)},xdD=function(Q){if(MUD.has(Q))return MUD.get(Q);const K=Cw0(Q);return MUD.set(Q,K),K},Ew0=function(Q){return xdD(D5D.resolve(D5D.dirname(Q)))},D5D=i8("path"),{readFileSync:Lw0}=i8("fs"),Aw0=UUD(),MUD=GUD();kdD.exports=Ew0});var _dD=r0((za0,OUD)=>{var Nw0=bdD(),Tw0=hdD();OUD.exports=(Q)=>Nw0(Q);OUD.exports.sync=Tw0});var wd=r0((ldD)=>{var CUD=function(Q,K,G){if(Q.code==="MODULE_NOT_FOUND"||Q.code==="ERR_MODULE_NOT_FOUND")throw new jUD.ModuleLoadError(`${K?"import()":"require"} failed to load ${G}: ${Q.message}`);throw Q};async function ww0(Q,K){let G,C;try{return{filePath:G,isESM:C}=await cdD(Q,K),C?await import(AUD.pathToFileURL(G).href):i8(G)}catch(y){CUD(y,C,G??K)}}async function Sw0(Q,K){let G,C;try{({filePath:G,isESM:C}=await cdD(Q,K));const y=C?await import(AUD.pathToFileURL(G).href):i8(G);return{filePath:G,isESM:C,module:y}}catch(y){CUD(y,C,G??K)}}async function uw0(Q,K){const{id:G,isESM:C,relativePath:y}=Q;if(!y)throw new jUD.ModuleLoadError(`Cached command ${G} does not have a relative path`);if(C===void 0)throw new jUD.ModuleLoadError(`Cached command ${G} does not have the isESM property set`);const x=F5D.join(K,y.join(F5D.sep));try{const _=C?await import(AUD.pathToFileURL(x).href):i8(x);return{filePath:x,isESM:C,module:_}}catch(_){CUD(_,C,x??K)}}var LUD=function(Q){switch(F5D.extname(Q).toLowerCase()){case".js":case".jsx":case".ts":case".tsx":return Iw0.sync(Q)==="module";case".mjs":case".mts":return!0;default:return!1}};async function cdD(Q,K){let G,C;try{C=i8.resolve(K),G=LUD(C)}catch{C=(Pw0(Q)?await gdD.tsPath(Q.root,K,Q):await gdD.tsPath(Q.root,K))??K;let y=!1,x=!1;if(ddD.existsSync(C)){y=!0;try{if(Rw0.lstatSync(C)?.isDirectory?.())y=!1,x=!0}catch{}}if(!y){let _=mdD(C);if(!_&&x)_=mdD(F5D.join(C,"index"));if(_)C=_}G=LUD(C)}return{filePath:C,isESM:G}}var mdD=function(Q){for(let K of yw0){const G=`${Q}${K}`;if(ddD.existsSync(G))return G}return null};Object.defineProperty(ldD,"__esModule",{value:!0});ldD.isPathModule=ldD.loadWithDataFromManifest=ldD.loadWithData=ldD.load=void 0;var Rw0=i8("node:fs"),F5D=i8("node:path"),AUD=i8("node:url"),gdD=_u(),jUD=VUD(),ddD=Ej(),Iw0=_dD(),yw0=[".ts",".js",".mjs",".cjs",".mts",".cts",".tsx",".jsx"],Pw0=(Q)=>Q.type!==void 0;ldD.load=ww0;ldD.loadWithData=Sw0;ldD.loadWithDataFromManifest=uw0;ldD.isPathModule=LUD});var $5D=r0((pdD)=>{Object.defineProperty(pdD,"__esModule",{value:!0});pdD.SINGLE_COMMAND_CLI_SYMBOL=void 0;pdD.SINGLE_COMMAND_CLI_SYMBOL=Symbol("SINGLE_COMMAND_CLI").toString()});var EUD=r0((rdD)=>{Object.defineProperty(rdD,"__esModule",{value:!0});rdD.cacheDefaultValue=void 0;var xw0=async(Q,K)=>{if(K&&Q.noCacheDefault)return;if(typeof Q.defaultHelp==="function")try{return await Q.defaultHelp({flags:{},options:Q})}catch{return}if(typeof Q.default==="function")try{return await Q.default({flags:{},options:Q})}catch{}else return Q.default};rdD.cacheDefaultValue=xw0});var gu=r0((sdD)=>{var kw0=function(Q,K){return Q.replaceAll(new RegExp(K.topicSeparator,"g"),":")},hw0=function(Q,K){return Q.replaceAll(new RegExp(":","g"),K.topicSeparator||":")};Object.defineProperty(sdD,"__esModule",{value:!0});sdD.toConfiguredId=sdD.toStandardizedId=void 0;sdD.toStandardizedId=kw0;sdD.toConfiguredId=hw0});var Z5D=r0((tdD)=>{var gw0=function(Q){return Array.isArray(Q)?(Q??[]).reduce((K,G)=>({...K,[G.name]:G}),{}):Q??{}};Object.defineProperty(tdD,"__esModule",{value:!0});tdD.ensureArgObject=void 0;tdD.ensureArgObject=gw0});var $cD=r0((DcD)=>{Object.defineProperty(DcD,"__esModule",{value:!0});DcD.DocOpts=void 0;var mw0=Z5D();class NUD{cmd;flagList;flagMap;constructor(Q){this.cmd=Q,this.flagMap={},this.flagList=Object.entries(Q.flags||{}).filter(([K,G])=>!G.hidden).map(([K,G])=>{return this.flagMap[K]=G,G})}static generate(Q){return new NUD(Q).toString()}toString(){const Q=["<%= command.id %>"];if(this.cmd.args){const K=this.cmd.strict===!1?"...":"",G=Object.values(mw0.ensureArgObject(this.cmd.args)).map((C)=>C.required?`${C.name.toUpperCase()}${K}`:`[${C.name.toUpperCase()}${K}]`)||[];Q.push(...G)}try{Q.push(...Object.values(this.groupFlagElements()))}catch{Q.push(...this.flagList.map((K)=>{const G=K.char?`-${K.char}`:`--${K.name}`;if(K.type==="boolean")return G;return`${G}=<value>`}))}return Q.join(" ")}combineElementsToFlag(Q,K,G,C){if(!this.flagMap[K])return;let y=this.flagMap[K]?.required;if(typeof y!=="boolean"||!y)y=G.reduce((x,_)=>x||this.flagMap[_]?.required||!1,!1);for(let x of G)Q[K]=`${Q[K]||""}${C}${Q[x]||""}`,delete Q[x],delete this.flagMap[x];Q[K]=y?`(${Q[K]||""})`:`[${Q[K]||""}]`,delete this.flagMap[K]}generateElements(Q={},K=[]){const G=[];for(let C of K){let y="";const x=C.char?`-${C.char}`:`--${C.name}`;if(C.type==="option")y=C.options?` ${C.options.join("|")}`:" <value>";const _=`${x}${y}`;Q[C.name]=_,G.push(_)}return G}groupFlagElements(){const Q={};this.generateElements(Q,this.flagList.filter((K)=>K.required)),this.generateElements(Q,this.flagList.filter((K)=>!K.required));for(let K of this.flagList){if(Array.isArray(K.dependsOn))this.combineElementsToFlag(Q,K.name,K.dependsOn," ");if(Array.isArray(K.exclusive))this.combineElementsToFlag(Q,K.name,K.exclusive," | ")}for(let K of Object.keys(this.flagMap)){const G=this.flagMap[K]||{};if(!G.required)Q[G.name]=`[${Q[G.name]||""}]`}return Q}}DcD.DocOpts=NUD});var JcD=r0((Oa0,TUD)=>{var dw0=vu(),ZcD=(Q)=>{let K=0;for(let G of Q.split("\n"))K=Math.max(K,dw0(G));return K};TUD.exports=ZcD;TUD.exports.default=ZcD});var YcD=r0((ow0)=>{var nw0=function(Q){return iw0[Q]||Q},BcD=function(){return Function.prototype.toString.call(this)+";\n"+rw0},cw0=/[|\\{}()[\]^$+*?.]/g,lw0=Object.prototype.hasOwnProperty,XcD=function(Q,K){return lw0.apply(Q,[K])};ow0.escapeRegExpChars=function(Q){if(!Q)return"";return String(Q).replace(cw0,"\\$&")};var iw0={"&":"&","<":"<",">":">",'"':""","'":"'"},pw0=/[&<>'"]/g,rw0='var _ENCODE_HTML_RULES = {\n "&": "&"\n , "<": "<"\n , ">": ">"\n , \'"\': """\n , "\'": "'"\n }\n , _MATCH_HTML = /[&<>\'"]/g;\nfunction encode_char(c) {\n return _ENCODE_HTML_RULES[c] || c;\n};\n';ow0.escapeXML=function(Q){return Q==null?"":String(Q).replace(pw0,nw0)};try{if(typeof Object.defineProperty==="function")Object.defineProperty(ow0.escapeXML,"toString",{value:BcD});else ow0.escapeXML.toString=BcD}catch(Q){console.warn("Unable to set escapeXML.toString (is the Function prototype frozen?)")}ow0.shallowCopy=function(Q,K){if(K=K||{},Q!==null&&Q!==void 0)for(var G in K){if(!XcD(K,G))continue;if(G==="__proto__"||G==="constructor")continue;Q[G]=K[G]}return Q};ow0.shallowCopyFromList=function(Q,K,G){if(G=G||[],K=K||{},Q!==null&&Q!==void 0)for(var C=0;C<G.length;C++){var y=G[C];if(typeof K[y]!="undefined"){if(!XcD(K,y))continue;if(y==="__proto__"||y==="constructor")continue;Q[y]=K[y]}}return Q};ow0.cache={_data:{},set:function(Q,K){this._data[Q]=K},get:function(Q){return this._data[Q]},remove:function(Q){delete this._data[Q]},reset:function(){this._data={}}};ow0.hyphenToCamel=function(Q){return Q.replace(/-[a-z]/g,function(K){return K[1].toUpperCase()})};ow0.createNullProtoObjWherePossible=function(){if(typeof Object.create=="function")return function(){return Object.create(null)};if(!({__proto__:null}instanceof Object))return function(){return{__proto__:null}};return function(){return{}}}()});var QcD=r0((La0,$S0)=>{$S0.exports={name:"ejs",description:"Embedded JavaScript templates",keywords:["template","engine","ejs"],version:"3.1.9",author:"Matthew Eernisse <mde@fleegix.org> (http://fleegix.org)",license:"Apache-2.0",bin:{ejs:"./bin/cli.js"},main:"./lib/ejs.js",jsdelivr:"ejs.min.js",unpkg:"ejs.min.js",repository:{type:"git",url:"git://github.com/mde/ejs.git"},bugs:"https://github.com/mde/ejs/issues",homepage:"https://github.com/mde/ejs",dependencies:{jake:"^10.8.5"},devDependencies:{browserify:"^16.5.1",eslint:"^6.8.0","git-directory-deploy":"^1.5.1",jsdoc:"^4.0.2","lru-cache":"^4.0.1",mocha:"^10.2.0","uglify-js":"^3.3.16"},engines:{node:">=0.10.0"},scripts:{test:"mocha -u tdd"}}});var wUD=r0((McD)=>{var KcD=function(Q,K){var G;if(K.some(function(C){return G=McD.resolveInclude(Q,C,!0),PUD.existsSync(G)}))return G},zS0=function(Q,K){var G,C,y=K.views,x=/^[A-Za-z]+:\\|^\//.exec(Q);if(x&&x.length)if(Q=Q.replace(/^\/*/,""),Array.isArray(K.root))G=KcD(Q,K.root);else G=McD.resolveInclude(Q,K.root||"/",!0);else{if(K.filename){if(C=McD.resolveInclude(Q,K.filename),PUD.existsSync(C))G=C}if(!G&&Array.isArray(y))G=KcD(Q,y);if(!G&&typeof K.includer!=="function")throw new Error('Could not find the include file "'+K.escapeFunction(Q)+'"')}return G},ud=function(Q,K){var G,C=Q.filename,y=arguments.length>1;if(Q.cache){if(!C)throw new Error("cache option requires a filename");if(G=McD.cache.get(C),G)return G;if(!y)K=qcD(C).toString().replace(zcD,"")}else if(!y){if(!C)throw new Error("Internal EJS error: no file name or template provided");K=qcD(C).toString().replace(zcD,"")}if(G=McD.compile(K,Q),Q.cache)McD.cache.set(C,G);return G},KS0=function(Q,K,G){var C;if(!G)if(typeof McD.promiseImpl=="function")return new McD.promiseImpl(function(y,x){try{C=ud(Q)(K),y(C)}catch(_){x(_)}});else throw new Error("Please provide a callback function");else{try{C=ud(Q)(K)}catch(y){return G(y)}G(null,C)}},qcD=function(Q){return McD.fileLoader(Q)},qS0=function(Q,K){var G=bJ.shallowCopy(bJ.createNullProtoObjWherePossible(),K);if(G.filename=zS0(Q,G),typeof K.includer==="function"){var C=K.includer(Q,G.filename);if(C){if(C.filename)G.filename=C.filename;if(C.template)return ud(G,C.template)}}return ud(G)},WcD=function(Q,K,G,C,y){var x=K.split("\n"),_=Math.max(C-3,0),VD=Math.min(x.length,C+3),OD=y(G),HD=x.slice(_,VD).map(function(a,bD){var ED=bD+_+1;return(ED==C?" >> ":" ")+ED+"| "+a}).join("\n");throw Q.path=OD,Q.message=(OD||"ejs")+":"+C+"\n"+HD+"\n\n"+Q.message,Q},UcD=function(Q){return Q.replace(/;(\s*$)/,"$1")},iB=function(Q,K){K=K||bJ.createNullProtoObjWherePossible();var G=bJ.createNullProtoObjWherePossible();if(this.templateText=Q,this.mode=null,this.truncate=!1,this.currentLine=1,this.source="",G.client=K.client||!1,G.escapeFunction=K.escape||K.escapeFunction||bJ.escapeXML,G.compileDebug=K.compileDebug!==!1,G.debug=!!K.debug,G.filename=K.filename,G.openDelimiter=K.openDelimiter||McD.openDelimiter||JS0,G.closeDelimiter=K.closeDelimiter||McD.closeDelimiter||BS0,G.delimiter=K.delimiter||McD.delimiter||XS0,G.strict=K.strict||!1,G.context=K.context,G.cache=K.cache||!1,G.rmWhitespace=K.rmWhitespace,G.root=K.root,G.includer=K.includer,G.outputFunctionName=K.outputFunctionName,G.localsName=K.localsName||McD.localsName||GcD,G.views=K.views,G.async=K.async,G.destructuredLocals=K.destructuredLocals,G.legacyInclude=typeof K.legacyInclude!="undefined"?!!K.legacyInclude:!0,G.strict)G._with=!1;else G._with=typeof K._with!="undefined"?K._with:!0;this.opts=G,this.regex=this.createRegex()},PUD=i8("fs"),Sd=i8("path"),bJ=YcD(),VcD=!1,ZS0=QcD().version,JS0="<",BS0=">",XS0="%",GcD="locals",YS0="ejs",QS0="(<%%|%%>|<%=|<%-|<%_|<%#|<%|%>|-%>|_%>)",HcD=["delimiter","scope","context","debug","compileDebug","client","_with","rmWhitespace","strict","filename","async"],VS0=HcD.concat("cache"),zcD=/^\uFEFF/,IUD=/^[a-zA-Z_$][0-9a-zA-Z_$]*$/;McD.cache=bJ.cache;McD.fileLoader=PUD.readFileSync;McD.localsName=GcD;McD.promiseImpl=new Function("return this;")().Promise;McD.resolveInclude=function(Q,K,G){var{dirname:C,extname:y,resolve:x}=Sd,_=x(G?K:C(K),Q),VD=y(Q);if(!VD)_+=".ejs";return _};McD.compile=function Q(K,G){var C;if(G&&G.scope){if(!VcD)console.warn("`scope` option is deprecated and will be removed in EJS 3"),VcD=!0;if(!G.context)G.context=G.scope;delete G.scope}return C=new iB(K,G),C.compile()};McD.render=function(Q,K,G){var C=K||bJ.createNullProtoObjWherePossible(),y=G||bJ.createNullProtoObjWherePossible();if(arguments.length==2)bJ.shallowCopyFromList(y,C,HcD);return ud(y,Q)(C)};McD.renderFile=function(){var Q=Array.prototype.slice.call(arguments),K=Q.shift(),G,C={filename:K},y,x;if(typeof arguments[arguments.length-1]=="function")G=Q.pop();if(Q.length){if(y=Q.shift(),Q.length)bJ.shallowCopy(C,Q.pop());else{if(y.settings){if(y.settings.views)C.views=y.settings.views;if(y.settings["view cache"])C.cache=!0;if(x=y.settings["view options"],x)bJ.shallowCopy(C,x)}bJ.shallowCopyFromList(C,y,VS0)}C.filename=K}else y=bJ.createNullProtoObjWherePossible();return KS0(C,y,G)};McD.Template=iB;McD.clearCache=function(){McD.cache.reset()};iB.modes={EVAL:"eval",ESCAPED:"escaped",RAW:"raw",COMMENT:"comment",LITERAL:"literal"};iB.prototype={createRegex:function(){var Q=QS0,K=bJ.escapeRegExpChars(this.opts.delimiter),G=bJ.escapeRegExpChars(this.opts.openDelimiter),C=bJ.escapeRegExpChars(this.opts.closeDelimiter);return Q=Q.replace(/%/g,K).replace(/</g,G).replace(/>/g,C),new RegExp(Q)},compile:function(){var Q,K,G=this.opts,C="",y="",x=G.escapeFunction,_,VD=G.filename?JSON.stringify(G.filename):"undefined";if(!this.source){if(this.generateSource(),C+=' var __output = "";\n function __append(s) { if (s !== undefined && s !== null) __output += s }\n',G.outputFunctionName){if(!IUD.test(G.outputFunctionName))throw new Error("outputFunctionName is not a valid JS identifier.");C+=" var "+G.outputFunctionName+" = __append;\n"}if(G.localsName&&!IUD.test(G.localsName))throw new Error("localsName is not a valid JS identifier.");if(G.destructuredLocals&&G.destructuredLocals.length){var OD=" var __locals = ("+G.localsName+" || {}),\n";for(var HD=0;HD<G.destructuredLocals.length;HD++){var a=G.destructuredLocals[HD];if(!IUD.test(a))throw new Error("destructuredLocals["+HD+"] is not a valid JS identifier.");if(HD>0)OD+=",\n ";OD+=a+" = __locals."+a}C+=OD+";\n"}if(G._with!==!1)C+=" with ("+G.localsName+" || {}) {\n",y+=" }\n";y+=" return __output;\n",this.source=C+this.source+y}if(G.compileDebug)Q="var __line = 1\n , __lines = "+JSON.stringify(this.templateText)+"\n , __filename = "+VD+";\ntry {\n"+this.source+"} catch (e) {\n rethrow(e, __lines, __filename, __line, escapeFn);\n}\n";else Q=this.source;if(G.client){if(Q="escapeFn = escapeFn || "+x.toString()+";\n"+Q,G.compileDebug)Q="rethrow = rethrow || "+WcD.toString()+";\n"+Q}if(G.strict)Q='"use strict";\n'+Q;if(G.debug)console.log(Q);if(G.compileDebug&&G.filename)Q=Q+"\n//# sourceURL="+VD+"\n";try{if(G.async)try{_=new Function("return (async function(){}).constructor;")()}catch(UD){if(UD instanceof SyntaxError)throw new Error("This environment does not support async/await");else throw UD}else _=Function;K=new _(G.localsName+", escapeFn, include, rethrow",Q)}catch(UD){if(UD instanceof SyntaxError){if(G.filename)UD.message+=" in "+G.filename;if(UD.message+=" while compiling ejs\n\n",UD.message+="If the above error is not helpful, you may want to try EJS-Lint:\n",UD.message+="https://github.com/RyanZim/EJS-Lint",!G.async)UD.message+="\n",UD.message+="Or, if you meant to create an async function, pass `async: true` as an option."}throw UD}var bD=G.client?K:function UD(TD){var nD=function(Z0,M0){var a1=bJ.shallowCopy(bJ.createNullProtoObjWherePossible(),TD);if(M0)a1=bJ.shallowCopy(a1,M0);return qS0(Z0,G)(a1)};return K.apply(G.context,[TD||bJ.createNullProtoObjWherePossible(),x,nD,WcD])};if(G.filename&&typeof Object.defineProperty==="function"){var ED=G.filename,XD=Sd.basename(ED,Sd.extname(ED));try{Object.defineProperty(bD,"name",{value:XD,writable:!1,enumerable:!1,configurable:!0})}catch(UD){}}return bD},generateSource:function(){var Q=this.opts;if(Q.rmWhitespace)this.templateText=this.templateText.replace(/[\r\n]+/g,"\n").replace(/^\s+|\s+$/gm,"");this.templateText=this.templateText.replace(/[ \t]*<%_/gm,"<%_").replace(/_%>[ \t]*/gm,"_%>");var K=this,G=this.parseTemplateText(),C=this.opts.delimiter,y=this.opts.openDelimiter,x=this.opts.closeDelimiter;if(G&&G.length)G.forEach(function(_,VD){var OD;if(_.indexOf(y+C)===0&&_.indexOf(y+C+C)!==0){if(OD=G[VD+2],!(OD==C+x||OD=="-"+C+x||OD=="_"+C+x))throw new Error('Could not find matching close tag for "'+_+'".')}K.scanLine(_)})},parseTemplateText:function(){var Q=this.templateText,K=this.regex,G=K.exec(Q),C=[],y;while(G){if(y=G.index,y!==0)C.push(Q.substring(0,y)),Q=Q.slice(y);C.push(G[0]),Q=Q.slice(G[0].length),G=K.exec(Q)}if(Q)C.push(Q);return C},_addOutput:function(Q){if(this.truncate)Q=Q.replace(/^(?:\r\n|\r|\n)/,""),this.truncate=!1;if(!Q)return Q;Q=Q.replace(/\\/g,"\\\\"),Q=Q.replace(/\n/g,"\\n"),Q=Q.replace(/\r/g,"\\r"),Q=Q.replace(/"/g,'\\"'),this.source+=' ; __append("'+Q+'")\n'},scanLine:function(Q){var K=this,G=this.opts.delimiter,C=this.opts.openDelimiter,y=this.opts.closeDelimiter,x=0;switch(x=Q.split("\n").length-1,Q){case C+G:case C+G+"_":this.mode=iB.modes.EVAL;break;case C+G+"=":this.mode=iB.modes.ESCAPED;break;case C+G+"-":this.mode=iB.modes.RAW;break;case C+G+"#":this.mode=iB.modes.COMMENT;break;case C+G+G:this.mode=iB.modes.LITERAL,this.source+=' ; __append("'+Q.replace(C+G+G,C+G)+'")\n';break;case G+G+y:this.mode=iB.modes.LITERAL,this.source+=' ; __append("'+Q.replace(G+G+y,G+y)+'")\n';break;case G+y:case"-"+G+y:case"_"+G+y:if(this.mode==iB.modes.LITERAL)this._addOutput(Q);this.mode=null,this.truncate=Q.indexOf("-")===0||Q.indexOf("_")===0;break;default:if(this.mode){switch(this.mode){case iB.modes.EVAL:case iB.modes.ESCAPED:case iB.modes.RAW:if(Q.lastIndexOf("//")>Q.lastIndexOf("\n"))Q+="\n"}switch(this.mode){case iB.modes.EVAL:this.source+=" ; "+Q+"\n";break;case iB.modes.ESCAPED:this.source+=" ; __append(escapeFn("+UcD(Q)+"))\n";break;case iB.modes.RAW:this.source+=" ; __append("+UcD(Q)+")\n";break;case iB.modes.COMMENT:break;case iB.modes.LITERAL:this._addOutput(Q);break}}else this._addOutput(Q)}if(K.opts.compileDebug&&x)this.currentLine+=x,this.source+=" ; __line = "+this.currentLine+"\n"}};McD.escapeXML=bJ.escapeXML;McD.__express=McD.renderFile;McD.VERSION=ZS0;McD.name=YS0;if(typeof window!="undefined")window.ejs=McD});var mu=r0((UB)=>{var IS0=function(Q){function K(G){return NS0.render(G,Q)}return K},wS0=function(Q,K){if(Q.length===1)return Q;const C=((y)=>{const x=TS0.collectUsableIds(K.commandIDs),_=[],VD=(a)=>x.has(a),OD=(a)=>(a?[..._,a]:_).filter(Boolean).join(":"),HD=()=>{const a=OD();if(!a)return!1;const bD=K.findCommand(a);return Boolean(bD&&(bD.strict===!1||Object.keys(bD.args??{}).length>0))};for(let a of y)if(VD(OD(a)))_.push(a);else if(PS0(a)||yS0(a)||HD())break;else _.push(a);return OD()})(Q);if(C){const y=Q.slice(C.split(":").length);return[C,...y]}return Q},AcD=function(Q,K){if(Q.length===0)return Q;if(K.topicSeparator===" ")Q=wS0(Q,K);else if(K.topicSeparator!==":")Q[0]=RS0.toStandardizedId(Q[0],K);return Q},SS0=function(Q){const K=["--help"],G=Q.pjson.oclif.additionalHelpFlags??[];return[...(new Set([...K,...G])).values()]},uS0=function(Q,K){let G=`The "${Q}" flag has been deprecated`;if(K===!0)return`${G}.`;if(K.message)return K.message;if(K.version)G+=` and will be removed in version ${K.version}`;return G+=K.to?`. Use "${K.to}" instead.`:".",G},fS0=function(Q,K){let G=`The "${Q}" command has been deprecated`;if(!K)return`${G}.`;if(K.message)return K.message;if(K.version)G+=` and will be removed in version ${K.version}`;return G+=K.to?`. Use "${K.to}" instead.`:".",G},vS0=function(Q,K=process.argv.slice(2)){if(Q.topicSeparator!==":"&&!K[0]?.includes(":"))K=AcD(K,Q);return K},AS0=UB&&UB.__createBinding||(Object.create?function(Q,K,G,C){if(C===void 0)C=G;var y=Object.getOwnPropertyDescriptor(K,G);if(!y||("get"in y?!K.__esModule:y.writable||y.configurable))y={enumerable:!0,get:function(){return K[G]}};Object.defineProperty(Q,C,y)}:function(Q,K,G,C){if(C===void 0)C=G;Q[C]=K[G]}),CS0=UB&&UB.__setModuleDefault||(Object.create?function(Q,K){Object.defineProperty(Q,"default",{enumerable:!0,value:K})}:function(Q,K){Q.default=K}),ES0=UB&&UB.__importStar||function(Q){if(Q&&Q.__esModule)return Q;var K={};if(Q!=null){for(var G in Q)if(G!=="default"&&Object.prototype.hasOwnProperty.call(Q,G))AS0(K,Q,G)}return CS0(K,Q),K};Object.defineProperty(UB,"__esModule",{value:!0});UB.normalizeArgv=UB.formatCommandDeprecationWarning=UB.formatFlagDeprecationWarning=UB.getHelpFlagAdditions=UB.standardizeIDFromArgv=UB.template=void 0;var NS0=ES0(wUD()),TS0=hu(),RS0=gu();UB.template=IS0;var yS0=(Q)=>Q.startsWith("-"),PS0=(Q)=>Q.includes("=");UB.standardizeIDFromArgv=AcD;UB.getHelpFlagAdditions=SS0;UB.formatFlagDeprecationWarning=uS0;UB.formatCommandDeprecationWarning=fS0;UB.normalizeArgv=vS0});var X5D=r0((du)=>{var cu=du&&du.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(du,"__esModule",{value:!0});du.HelpFormatter=void 0;var bS0=cu(CK()),xS0=cu(g8D()),kS0=cu(vu()),fd=cu(Nj()),hS0=cu(JcD()),_S0=cu(d8D()),CcD=TR(),gS0=AR(),mS0=mu();class EcD{config;indentSpacing=2;opts;render;constructor(Q,K={}){this.config=Q,this.opts={maxWidth:gS0.stdtermwidth,...K},this.render=mS0.template(this)}indent(Q,K=this.indentSpacing){return xS0.default(Q,K)}renderList(Q,K){if(Q.length===0)return"";const G=()=>{let VD="";for(let[OD,HD]of Q){if(!OD&&!HD)continue;if(OD){if(K.stripAnsi)OD=fd.default(OD);VD+=this.wrap(OD.trim(),K.indentation)}if(HD){if(K.stripAnsi)HD=fd.default(HD);VD+="\n",VD+=this.indent(this.wrap(HD.trim(),K.indentation+2),4)}VD+="\n\n"}return VD.trim()};if(K.multiline)return G();const C=hS0.default(Q.map((VD)=>VD[0]).join("\n"));let y="",x=K.spacer||"\n",_="";for(let[VD,OD]of Q){let HD=OD;if(_)y+=x,y+=_;if(_=VD||"",K.stripAnsi)_=fd.default(_);if(!HD){_=_.trim();continue}if(K.stripAnsi)HD=fd.default(HD);HD=this.wrap(HD.trim(),K.indentation+C+2);const[a,...bD]=HD.split("\n").map((ED)=>ED.trim());if(_+=" ".repeat(C-kS0.default(_)+2),_+=a,bD.length===0)continue;if(bD.length>4)return G();if(!K.spacer)x="\n";_+="\n",_+=this.indent(bD.join("\n"),C+2)}if(_)y+=x,y+=_;return y.trim()}section(Q,K){let G;if(typeof K==="string")G=this.render(K);else if(Array.isArray(K))G=K.map((y)=>{if("name"in y){const VD=y;return[this.render(VD.name),this.render(VD.description)]}const[x,_]=y;return[this.render(x),_&&this.render(_)]});else if("header"in K)return this.section(K.header,K.body);else G=K.map((y)=>[y.name,y.description]).map(([y,x])=>[this.render(y),x&&this.render(x)]);const C=[CcD.colorize(this.config?.theme?.sectionHeader,bS0.default.bold(Q)),CcD.colorize(this.config?.theme?.sectionDescription,this.indent(Array.isArray(G)?this.renderList(G,{indentation:2,stripAnsi:this.opts.stripAnsi}):G))].join("\n");return this.opts.stripAnsi?fd.default(C):C}wrap(Q,K=this.indentSpacing){return _S0.default(this.render(Q),this.opts.maxWidth-K,{hard:!0})}}du.HelpFormatter=EcD});var uUD=r0((RR)=>{var nS0=function(Q){if(Q==="alphabetical")return"alphabetical";if(Q==="none")return"none";return"alphabetical"},TcD=RR&&RR.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(RR,"__esModule",{value:!0});RR.CommandHelp=void 0;var dS0=TcD(CK()),cS0=TcD(Nj()),pB=TR(),lS0=Z5D(),NcD=gu(),lu=cB(),iS0=$cD(),pS0=X5D(),iu=/\r\n|\n/;class SUD extends pS0.HelpFormatter{command;config;opts;constructor(Q,K,G){super(K,G);this.command=Q,this.config=K,this.opts=G}aliases(Q){if(!Q||Q.length===0)return;return Q.map((G)=>[pB.colorize(this.config?.theme?.dollarSign,"$"),pB.colorize(this.config?.theme?.bin,this.config.bin),pB.colorize(this.config?.theme?.alias,G)].join(" ")).join("\n")}arg(Q){const K=Q.name.toUpperCase();if(Q.required)return`${K}`;return`[${K}]`}args(Q){if(Q.filter((K)=>K.description).length===0)return;return Q.map((K)=>{const G=this.command.strict===!1?`${K.name.toUpperCase()}...`:K.name.toUpperCase();let C=K.description||"";if(K.default)C=`${pB.colorize(this.config?.theme?.flagDefaultValue,`[default: ${K.default}]`)} ${C}`;if(K.options)C=`${pB.colorize(this.config?.theme?.flagOptions,`(${K.options.join("|")})`)} ${C}`;return[pB.colorize(this.config?.theme?.flag,G),C?pB.colorize(this.config?.theme?.sectionDescription,C):void 0]})}defaultUsage(){if(this.opts.docopts===void 0||this.opts.docopts)return iS0.DocOpts.generate(this.command);return lu.compact([this.command.id,Object.values(this.command.args??{})?.filter((Q)=>!Q.hidden).map((Q)=>this.arg(Q)).join(" ")]).join(" ")}description(){const Q=this.command;let K;if(this.opts.hideCommandSummaryInDescription)K=(Q.description||"").split(iu).slice(1);else if(Q.description){const G=Q.summary?`${Q.summary}\n`:null;K=G?[...G.split(iu),...(Q.description||"").split(iu)]:(Q.description||"").split(iu)}if(K)return this.wrap(K.join("\n"))}examples(Q){if(!Q||Q.length===0)return;return lu.castArray(Q).map((G)=>{let C,y;if(typeof G==="string"){const OD=G.split(iu).filter(Boolean);if(OD.length>=2&&!this.isCommand(OD[0])&&OD.slice(1).every((HD)=>this.isCommand(HD)))C=OD[0],y=OD.slice(1);else return OD.map((HD)=>this.formatIfCommand(HD)).join("\n")}else C=G.description,y=[G.command];const x=this.config.platform==="win32"?this.config.shell.includes("powershell")?"`":"^":"\\",_=this.indentSpacing*2,VD=y.map((OD)=>this.indent(this.wrap(this.formatIfCommand(OD),_+4)).split(iu).join(` ${x}\n `)).join("\n");return`${this.wrap(C,_)}\n\n${VD}`}).join("\n\n")}flagHelpLabel(Q,K=!1){let G=Q.helpLabel;if(!G){const C=[];if(C.push(Q.char?`-${Q.char[0]}`:" "),Q.name)if(Q.type==="boolean"&&Q.allowNo)C.push(`--[no-]${Q.name.trim()}`);else C.push(`--${Q.name.trim()}`);G=C.join(Q.char?pB.colorize(this.config?.theme?.flagSeparator,", "):" ")}if(Q.type==="option"){let C=Q.helpValue||(this.opts.showFlagNameInTitle?Q.name:"<value>");if(!Q.helpValue&&Q.options)C=K||this.opts.showFlagOptionsInTitle?`${Q.options.join("|")}`:"<option>";if(Q.multiple)C+="...";if(!C.includes("|"))C=dS0.default.underline(C);G+=`=${C}`}return pB.colorize(this.config.theme?.flag,G)}flags(Q){if(Q.length===0)return;const K=Q.reduce((G,C)=>G&&C.char===void 0,!0);return Q.map((G)=>{let C=this.flagHelpLabel(G);if(K)C=C.replace(" ","");let y=G.summary||G.description||"";if(G.type==="option"&&G.default)y=`${pB.colorize(this.config?.theme?.flagDefaultValue,`[default: ${G.default}]`)} ${y}`;if(G.required)y=`${pB.colorize(this.config?.theme?.flagRequired,"(required)")} ${y}`;if(G.type==="option"&&G.options&&!G.helpValue&&!this.opts.showFlagOptionsInTitle)y+=pB.colorize(this.config?.theme?.flagOptions,`\n<options: ${G.options.join("|")}>`);return[C,pB.colorize(this.config?.theme?.sectionDescription,y.trim())]})}flagsDescriptions(Q){const K=Q.filter((C)=>C.summary&&C.description);if(K.length===0)return;return K.map((C)=>{const y=C.summary||"";let x=this.flagHelpLabel(C,!0);if(!C.char)x=x.replace(" ","");return x+=x.length+y.length+2<this.opts.maxWidth?" "+y:"\n\n"+this.indent(this.wrap(y,this.indentSpacing*2)),`${x}\n\n${this.indent(this.wrap(C.description||"",this.indentSpacing*2))}`}).join("\n\n")}generate(){const Q=this.command,K=Object.entries(Q.flags||{}).filter(([,x])=>!x.hidden).map(([x,_])=>{return _.name=x,_}),G=nS0(this.opts.flagSortOrder)==="alphabetical"?lu.sortBy(K,(x)=>[!x.char,x.char,x.name]):K,C=Object.values(lS0.ensureArgObject(Q.args)).filter((x)=>!x.hidden);return lu.compact(this.sections().map(({generate:x,header:_})=>{const VD=x({args:C,cmd:Q,flags:G},_);if(Array.isArray(VD))return VD.map((OD)=>OD&&OD.body&&this.section(OD.header,OD.body)).join("\n\n");return VD&&this.section(_,VD)})).join("\n\n")}groupFlags(Q){const K=[],G={};for(let C of Q){const y=C.helpGroup;if(y){if(!G[y])G[y]=[];G[y].push(C)}else K.push(C)}return{flagGroups:G,mainFlags:K}}sections(){const Q=[{generate:()=>this.usage(),header:this.opts.usageHeader||"USAGE"},{generate:({args:G},C)=>[{body:this.args(G),header:C}],header:"ARGUMENTS"},{generate:({flags:G},C)=>{const{flagGroups:y,mainFlags:x}=this.groupFlags(G),_=[],VD=this.flags(x);if(VD)_.push({body:VD,header:C});for(let[OD,HD]of Object.entries(y)){const a=this.flags(HD);if(a)_.push({body:a,header:`${OD.toUpperCase()} ${C}`})}return lu.compact(_)},header:"FLAGS"},{generate:()=>this.description(),header:"DESCRIPTION"},{generate:({cmd:G})=>this.aliases(G.aliases),header:"ALIASES"},{generate:({cmd:G})=>{const C=G.examples||G.example;return this.examples(C)},header:"EXAMPLES"},{generate:({flags:G})=>this.flagsDescriptions(G),header:"FLAG DESCRIPTIONS"}],K=this.opts.sections?.map((G)=>G.toLowerCase());return Q.filter(({header:G})=>!K||K.includes(G.toLowerCase()))}usage(){const{id:Q,usage:K}=this.command,G=NcD.toStandardizedId(Q,this.config),C=NcD.toConfiguredId(Q,this.config);return(K?lu.castArray(K):[this.defaultUsage()]).map((x)=>{const _=this.opts.maxWidth-this.indentSpacing,VD=pB.colorize(this.config?.theme?.dollarSign,"$"),OD=pB.colorize(this.config?.theme?.bin,this.config.bin),HD=pB.colorize(this.config?.theme?.command,"<%= command.id %>"),a=pB.colorize(this.config?.theme?.sectionDescription,x.replace("<%= command.id %>","").replace(G,"").replace(C,"").trim()),bD=`${VD} ${OD} ${HD} ${a}`.trim();if(bD.length>_){const ED=bD.slice(0,Math.max(0,_)).lastIndexOf(" ");return bD.slice(0,Math.max(0,ED))+"\n"+this.indent(this.wrap(bD.slice(Math.max(0,ED)),this.indentSpacing*2))}return this.wrap(bD)}).join("\n")}formatIfCommand(Q){Q=this.render(Q);const K=pB.colorize(this.config?.theme?.dollarSign,"$");if(Q.startsWith(this.config.bin))return`${K} ${Q}`;if(Q.startsWith(`\$ ${this.config.bin}`))return`${K}${Q.replace("$","")}`;return Q}isCommand(Q){return cS0.default(this.formatIfCommand(Q)).startsWith(`${pB.colorize(this.config?.theme?.dollarSign,"$")} ${this.config.bin}`)}}RR.CommandHelp=SUD;RR.default=SUD});var IcD=r0((vd)=>{var rS0=vd&&vd.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(vd,"__esModule",{value:!0});var oS0=rS0(Nj()),pu=TR(),sS0=cB(),aS0=X5D();class RcD extends aS0.HelpFormatter{config;opts;constructor(Q,K){super(Q,K);this.config=Q,this.opts=K}description(){let Q=this.config.pjson.oclif.description||this.config.pjson.description||"";if(Q=this.render(Q),Q=Q.split("\n").slice(1).join("\n"),!Q)return;return this.section("DESCRIPTION",this.wrap(pu.colorize(this.config?.theme?.sectionDescription,Q)))}root(){let Q=this.config.pjson.oclif.description||this.config.pjson.description||"";Q=this.render(Q),Q=Q.split("\n")[0];let K=sS0.compact([pu.colorize(this.config?.theme?.commandSummary,Q),this.version(),this.usage(),this.description()]).join("\n\n");if(this.opts.stripAnsi)K=oS0.default(K);return K}usage(){return this.section(this.opts.usageHeader||"USAGE",this.wrap(`${pu.colorize(this.config?.theme?.dollarSign,"$")} ${pu.colorize(this.config?.theme?.bin,this.config.bin)} ${pu.colorize(this.config?.theme?.sectionDescription,"[COMMAND]")}`))}version(){return this.section("VERSION",this.wrap(pu.colorize(this.config?.theme?.version,this.config.userAgent)))}}vd.default=RcD});var kd=r0((uX)=>{var Xu0=function(Q,K){const G=xd.getHelpFlagAdditions(K);for(let C of Q){if(C==="--")return;if(G.includes(C)||C==="help")continue;if(C.startsWith("-"))return;return C}},Yu0=function(Q){return Q&&Q.default?Q.default:Q};async function Qu0(Q){const{pjson:K}=Q,G=K.oclif?.helpClass;if(G)try{const C=await tS0.tsPath(Q.root,G)??G,y=await Du0.load(Q,C);return Yu0(y)}catch(C){throw new Error(`Unable to load configured help class "${G}", failed with message:\n${C.message}`)}return xUD}var fUD=uX&&uX.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(uX,"__esModule",{value:!0});uX.loadHelpClass=uX.Help=uX.HelpBase=uX.standardizeIDFromArgv=uX.normalizeArgv=uX.getHelpFlagAdditions=uX.CommandHelp=void 0;var ycD=i8("node:util"),PcD=fUD(Nj()),JM=TR(),wcD=fUD(gC()),tS0=_u(),eS0=QUD(),Du0=wd(),ScD=$5D(),Fu0=EUD(),ucD=gu(),bd=cB(),$u0=uUD(),Zu0=X5D(),Ju0=fUD(IcD()),xd=mu(),Bu0=uUD();Object.defineProperty(uX,"CommandHelp",{enumerable:!0,get:function(){return Bu0.CommandHelp}});var vUD=mu();Object.defineProperty(uX,"getHelpFlagAdditions",{enumerable:!0,get:function(){return vUD.getHelpFlagAdditions}});Object.defineProperty(uX,"normalizeArgv",{enumerable:!0,get:function(){return vUD.normalizeArgv}});Object.defineProperty(uX,"standardizeIDFromArgv",{enumerable:!0,get:function(){return vUD.standardizeIDFromArgv}});class bUD extends Zu0.HelpFormatter{constructor(Q,K={}){super(Q,K);if(!Q.topicSeparator)Q.topicSeparator=":"}}uX.HelpBase=bUD;class xUD extends bUD{CommandHelpClass=$u0.CommandHelp;constructor(Q,K={}){super(Q,K)}get sortedCommands(){let{commands:Q}=this.config;return Q=Q.filter((K)=>this.opts.all||!K.hidden),Q=bd.sortBy(Q,(K)=>K.id),Q=bd.uniqBy(Q,(K)=>K.id),Q}get sortedTopics(){let Q=this._topics;return Q=Q.filter((K)=>this.opts.all||!K.hidden),Q=bd.sortBy(Q,(K)=>K.name),Q=bd.uniqBy(Q,(K)=>K.name),Q}command(Q){return this.formatCommand(Q)}description(Q){const K=this.render(Q.description||"");if(Q.summary)return K;return K.split("\n").slice(1).join("\n")}formatCommand(Q){if(this.config.topicSeparator!==":")Q.id=Q.id.replaceAll(":",this.config.topicSeparator),Q.aliases=Q.aliases&&Q.aliases.map((G)=>G.replaceAll(":",this.config.topicSeparator));return this.getCommandHelpClass(Q).generate()}formatCommands(Q){if(Q.length===0)return"";const K=this.renderList(Q.filter((G)=>this.opts.hideAliasesFromRoot?!G.aliases?.includes(G.id):!0).map((G)=>{if(this.config.topicSeparator!==":")G.id=G.id.replaceAll(":",this.config.topicSeparator);const C=this.summary(G);return[JM.colorize(this.config?.theme?.command,G.id),C&&JM.colorize(this.config?.theme?.sectionDescription,PcD.default(C))]}),{indentation:2,spacer:"\n",stripAnsi:this.opts.stripAnsi});return this.section("COMMANDS",K)}formatRoot(){return new Ju0.default(this.config,this.opts).root()}formatTopic(Q){let K=this.render(Q.description||"");const G=K.split("\n")[0];K=K.split("\n").slice(1).join("\n");let C=`${Q.name}:COMMAND`;if(this.config.topicSeparator!==":")C=C.replaceAll(":",this.config.topicSeparator);let y=bd.compact([JM.colorize(this.config?.theme?.commandSummary,G),this.section(this.opts.usageHeader||"USAGE",`${JM.colorize(this.config?.theme?.dollarSign,"$")} ${JM.colorize(this.config?.theme?.bin,this.config.bin)} ${C}`),K&&this.section("DESCRIPTION",this.wrap(JM.colorize(this.config?.theme?.sectionDescription,K)))]).join("\n\n");if(this.opts.stripAnsi)y=PcD.default(y);return y+"\n"}formatTopics(Q){if(Q.length===0)return"";const K=this.renderList(Q.map((G)=>{if(this.config.topicSeparator!==":")G.name=G.name.replaceAll(":",this.config.topicSeparator);return[JM.colorize(this.config?.theme?.topic,G.name),G.description&&this.render(JM.colorize(this.config?.theme?.sectionDescription,G.description.split("\n")[0]))]}),{indentation:2,spacer:"\n",stripAnsi:this.opts.stripAnsi});return this.section("TOPICS",K)}getCommandHelpClass(Q){return new this.CommandHelpClass(Q,this.config,this.opts)}log(...Q){this.opts.sendToStderr?wcD.default.stderr(ycD.format.apply(this,Q)+"\n"):wcD.default.stdout(ycD.format.apply(this,Q)+"\n")}async showCommandHelp(Q){const K=Q.id,G=K.split(":").length,C=this.sortedTopics.filter((OD)=>OD.name.startsWith(K+":")&&OD.name.split(":").length===G+1),y=this.sortedCommands.filter((OD)=>OD.id.startsWith(K+":")&&OD.id.split(":").length===G+1),x=this.config.plugins.get(Q.pluginName),_=this.config.pjson?.oclif?.state||x?.pjson?.oclif?.state||Q.state;if(_)this.log(_==="deprecated"?`${xd.formatCommandDeprecationWarning(ucD.toConfiguredId(K,this.config),Q.deprecationOptions)}\n`:`This command is in ${_}.\n`);if(Q.deprecateAliases&&Q.aliases.includes(K)){const OD=this.config.commands.find((a)=>a.aliases.includes(K)),HD={...Q.deprecationOptions,...OD?{to:OD.id}:{}};this.log(`${xd.formatCommandDeprecationWarning(ucD.toConfiguredId(K,this.config),HD)}\n`)}const VD=this.summary(Q);if(VD)this.log(VD+"\n");if(this.log(this.formatCommand(Q)),this.log(""),C.length>0)this.log(this.formatTopics(C)),this.log("");if(y.length>0){const OD=[],HD=y.filter((a)=>{return OD.push(...a.aliases),!OD.includes(a.id)});this.log(this.formatCommands(HD)),this.log("")}}async showHelp(Q){const K=Q.slice(1);if(Q=Q.filter((x)=>!xd.getHelpFlagAdditions(this.config).includes(x)),this.config.topicSeparator!==":")Q=xd.standardizeIDFromArgv(Q,this.config);const G=Xu0(Q,this.config);if(!G){if(this.config.isSingleCommandCLI){const x=this.config.findCommand(ScD.SINGLE_COMMAND_CLI_SYMBOL);if(x){await this.showCommandHelp(x);return}}await this.showRootHelp();return}const C=this.config.findCommand(G);if(C){if(C.id===ScD.SINGLE_COMMAND_CLI_SYMBOL)C.id="";if(C.hasDynamicHelp&&C.pluginType!=="jit"){const x=await C.load();for(let[_,VD]of Object.entries(x.flags??{})){if(VD.type==="boolean")continue;C.flags[_].default=await Fu0.cacheDefaultValue(VD,!1)}await this.showCommandHelp(C)}else await this.showCommandHelp(C);return}const y=this.config.findTopic(G);if(y){await this.showTopicHelp(y);return}if(this.config.flexibleTaxonomy){const x=this.config.findMatches(G,K);if(x.length>0){if((await this.config.runHook("command_incomplete",{argv:K.filter((VD)=>!G.split(":").includes(VD)),id:G,matches:x})).successes.length>0)return}}eS0.error(`Command ${G} not found.`)}async showRootHelp(){let Q=this.sortedTopics,K=this.sortedCommands;const G=this.config.pjson?.oclif?.state;if(G)this.log(G==="deprecated"?`${this.config.bin} is deprecated`:`${this.config.bin} is in ${G}.\n`);if(this.log(this.formatRoot()),this.log(""),!this.opts.all)Q=Q.filter((C)=>!C.name.includes(":")),K=K.filter((C)=>!C.id.includes(":"));if(Q.length>0)this.log(this.formatTopics(Q)),this.log("");if(K.length>0)K=K.filter((C)=>C.id),this.log(this.formatCommands(K)),this.log("")}async showTopicHelp(Q){const{name:K}=Q,G=K.split(":").length,C=this.sortedTopics.filter((_)=>_.name.startsWith(K+":")&&_.name.split(":").length===G+1),y=this.sortedCommands.filter((_)=>_.id.startsWith(K+":")&&_.id.split(":").length===G+1),x=this.config.pjson?.oclif?.state;if(x)this.log(`This topic is in ${x}.\n`);if(this.log(this.formatTopic(Q)),C.length>0)this.log(this.formatTopics(C)),this.log("");if(y.length>0)this.log(this.formatCommands(y)),this.log("")}summary(Q){if(this.opts.sections&&!this.opts.sections.map((K)=>K.toLowerCase()).includes("summary"))return;if(Q.summary)return JM.colorize(this.config?.theme?.commandSummary,this.render(Q.summary.split("\n")[0]));return Q.description&&JM.colorize(this.config?.theme?.commandSummary,this.render(Q.description).split("\n")[0])}get _topics(){return this.config.topics.filter((Q)=>{return this.config.topics.some((G)=>G.name.includes(`${Q.name}:`))})}}uX.Help=xUD;uX.loadHelpClass=Qu0});var Y5D=r0((tq)=>{async function Gu0(Q){try{if(!Q)Q=new qu0.CLIError("no error?");if(Q.message==="SIGINT")tq.Exit.exit(1);const K=!(Q instanceof Wu0.ExitError)&&!Q.skipOclifErrorHandling,G=Uu0.default(Q),C=Vu0.default(Q.stack||"",{pretty:!0});if(K){console.error(G??C);const x=zu0.default.getInstance().get("config");if(Q.showHelp&&Q.parse?.input?.argv&&x){const _={...x.pjson.oclif.helpOptions??x.pjson.helpOptions,sections:["flags","usage","arguments"],sendToStderr:!0},VD=new Ku0.Help(x,_);console.error(),await VD.showHelp(process.argv.slice(2))}}const y=Q.oclif?.exit??1;if(kUD.config.errorLogger&&Q.code!=="EEXIT"){if(C)kUD.config.errorLogger.log(C);await kUD.config.errorLogger.flush().then(()=>tq.Exit.exit(y)).catch(console.error)}else tq.Exit.exit(y)}catch(K){console.error(Q.stack),console.error(K.stack),tq.Exit.exit(1)}}var hUD=tq&&tq.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(tq,"__esModule",{value:!0});tq.handle=tq.Exit=void 0;var Vu0=hUD(DUD()),zu0=hUD(lU()),Ku0=kd(),kUD=CR(),qu0=ER(),Wu0=l8D(),Uu0=hUD(p8D());tq.Exit={exit(Q=0){process.exit(Q)}};tq.handle=Gu0});var eq=r0((BM)=>{var Nu0=function(Q=0){throw new Hu0.ExitError(Q)};Object.defineProperty(BM,"__esModule",{value:!0});BM.warn=BM.exit=BM.Logger=BM.handle=BM.ModuleLoadError=BM.ExitError=BM.CLIError=BM.error=BM.config=void 0;var Hu0=l8D(),Mu0=CR();Object.defineProperty(BM,"config",{enumerable:!0,get:function(){return Mu0.config}});var Ou0=QUD();Object.defineProperty(BM,"error",{enumerable:!0,get:function(){return Ou0.error}});var ju0=ER();Object.defineProperty(BM,"CLIError",{enumerable:!0,get:function(){return ju0.CLIError}});var Lu0=l8D();Object.defineProperty(BM,"ExitError",{enumerable:!0,get:function(){return Lu0.ExitError}});var Au0=VUD();Object.defineProperty(BM,"ModuleLoadError",{enumerable:!0,get:function(){return Au0.ModuleLoadError}});var Cu0=Y5D();Object.defineProperty(BM,"handle",{enumerable:!0,get:function(){return Cu0.handle}});var Eu0=XUD();Object.defineProperty(BM,"Logger",{enumerable:!0,get:function(){return Eu0.Logger}});BM.exit=Nu0;var Tu0=s8D();Object.defineProperty(BM,"warn",{enumerable:!0,get:function(){return Tu0.warn}})});var Q5D=r0((xcD)=>{Object.defineProperty(xcD,"__esModule",{value:!0});xcD.ActionBase=void 0;var fcD=i8("node:util"),vcD=cB();class bcD{std="stderr";stdmocks;type;stdmockOrigs={stderr:process.stderr.write,stdout:process.stdout.write};get output(){return this.globals.output}set output(Q){this.globals.output=Q}get running(){return Boolean(this.task)}get status(){return this.task?this.task.status:void 0}set status(Q){const{task:K}=this;if(!K)return;if(K.status===Q)return;this._updateStatus(Q,K.status),K.status=Q}get task(){return this.globals.action.task}set task(Q){this.globals.action.task=Q}pause(Q,K){const{task:G}=this,C=G&&G.active;if(G&&C)this._pause(K),this._stdout(!1),G.active=!1;const y=Q();if(G&&C)this._resume();return y}async pauseAsync(Q,K){const{task:G}=this,C=G&&G.active;if(G&&C)this._pause(K),this._stdout(!1),G.active=!1;const y=await Q();if(G&&C)this._resume();return y}start(Q,K,G={}){this.std=G.stdout?"stdout":"stderr";const C={action:Q,active:Boolean(this.task&&this.task.active),status:K};this.task=C,this._start(G),C.active=!0,this._stdout(!0)}stop(Q="done"){const{task:K}=this;if(!K)return;this._stop(Q),K.active=!1,this.task=void 0,this._stdout(!1)}_flushStdout(){try{let Q="",K;while(this.stdmocks&&this.stdmocks.length>0){const G=this.stdmocks.shift();K=G[0],this._write(K,G[1]),Q+=G[1][0].toString("utf8")}if(Q&&K&&Q.at(-1)!=="\n")this._write(K,"\n")}catch(Q){this._write("stderr",fcD.inspect(Q))}}_pause(Q){throw new Error("not implemented")}_resume(){if(this.task)this.start(this.task.action,this.task.status)}_start(Q){throw new Error("not implemented")}_stdout(Q){try{if(Q){if(this.stdmocks)return;this.stdmockOrigs={stderr:process.stderr.write,stdout:process.stdout.write},this.stdmocks=[],process.stdout.write=(...K)=>{return this.stdmocks.push(["stdout",K]),!0},process.stderr.write=(...K)=>{return this.stdmocks.push(["stderr",K]),!0}}else{if(!this.stdmocks)return;delete this.stdmocks,process.stdout.write=this.stdmockOrigs.stdout,process.stderr.write=this.stdmockOrigs.stderr}}catch(K){this._write("stderr",fcD.inspect(K))}}_stop(Q){throw new Error("not implemented")}_updateStatus(Q,K){}_write(Q,K){switch(Q){case"stdout":{this.stdmockOrigs.stdout.apply(process.stdout,vcD.castArray(K));break}case"stderr":{this.stdmockOrigs.stderr.apply(process.stderr,vcD.castArray(K));break}default:throw new Error(`invalid std: ${Q}`)}}get globals(){global.ux=global.ux||{};const Q=global.ux;return Q.action=Q.action||{},Q}}xcD.ActionBase=bcD});var gcD=r0((_cD)=>{Object.defineProperty(_cD,"__esModule",{value:!0});var yu0=Q5D();class hcD extends yu0.ActionBase{type="simple";_flush(){this._write(this.std,"\n"),this._flushStdout()}_pause(Q){if(Q)this._updateStatus(Q);else this._flush()}_render(Q,K){if(!this.task)return;if(this.task.active)this._flush();this._write(this.std,K?`${Q}... ${K}`:`${Q}...`)}_resume(){}_start(){if(!this.task)return;this._render(this.task.action,this.task.status)}_stop(Q){if(!this.task)return;this._updateStatus(Q,this.task.status,!0)}_updateStatus(Q,K,G=!1){if(!this.task)return;if(this.task.active&&!K)this._write(this.std,` ${Q}`);else this._write(this.std,`${this.task.action}... ${Q}`);if(G||!K)this._flush()}}_cD.default=hcD});var ccD=r0((ma0,dcD)=>{var Su0=function(){if("FORCE_COLOR"in fX){if(fX.FORCE_COLOR==="true")return 1;if(fX.FORCE_COLOR==="false")return 0;return fX.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(fX.FORCE_COLOR,10),3)}},uu0=function(Q){if(Q===0)return!1;return{level:Q,hasBasic:!0,has256:Q>=2,has16m:Q>=3}},fu0=function(Q,{streamIsTTY:K,sniffFlags:G=!0}={}){const C=Su0();if(C!==void 0)V5D=C;const y=G?V5D:C;if(y===0)return 0;if(G){if(DW("color=16m")||DW("color=full")||DW("color=truecolor"))return 3;if(DW("color=256"))return 2}if(Q&&!K&&y===void 0)return 0;const x=y||0;if(fX.TERM==="dumb")return x;if(process.platform==="win32"){const _=wu0.release().split(".");if(Number(_[0])>=10&&Number(_[2])>=10586)return Number(_[2])>=14931?3:2;return 1}if("CI"in fX){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some((_)=>(_ in fX))||fX.CI_NAME==="codeship")return 1;return x}if("TEAMCITY_VERSION"in fX)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(fX.TEAMCITY_VERSION)?1:0;if(fX.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in fX){const _=Number.parseInt((fX.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(fX.TERM_PROGRAM){case"iTerm.app":return _>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(fX.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(fX.TERM))return 1;if("COLORTERM"in fX)return 1;return x},_UD=function(Q,K={}){const G=fu0(Q,{streamIsTTY:Q&&Q.isTTY,...K});return uu0(G)},wu0=i8("os"),mcD=i8("tty"),DW=Ad(),{env:fX}=process,V5D;if(DW("no-color")||DW("no-colors")||DW("color=false")||DW("color=never"))V5D=0;else if(DW("color")||DW("colors")||DW("color=true")||DW("color=always"))V5D=1;dcD.exports={supportsColor:_UD,stdout:_UD({isTTY:mcD.isatty(1)}),stderr:_UD({isTTY:mcD.isatty(2)})}});var icD=r0((lcD)=>{Object.defineProperty(lcD,"__esModule",{value:!0});lcD.default={arc:{frames:["\u25DC","\u25E0","\u25DD","\u25DE","\u25E1","\u25DF"],interval:100},arrow:{frames:["\u2190","\u2196","\u2191","\u2197","\u2192","\u2198","\u2193","\u2199"],interval:100},arrow2:{frames:["\u2B06\uFE0F ","\u2197\uFE0F ","\u27A1\uFE0F ","\u2198\uFE0F ","\u2B07\uFE0F ","\u2199\uFE0F ","\u2B05\uFE0F ","\u2196\uFE0F "],interval:80},arrow3:{frames:["\u25B9\u25B9\u25B9\u25B9\u25B9","\u25B8\u25B9\u25B9\u25B9\u25B9","\u25B9\u25B8\u25B9\u25B9\u25B9","\u25B9\u25B9\u25B8\u25B9\u25B9","\u25B9\u25B9\u25B9\u25B8\u25B9","\u25B9\u25B9\u25B9\u25B9\u25B8"],interval:120},balloon:{frames:[" ",".","o","O","@","*"," "],interval:140},balloon2:{frames:[".","o","O","\xB0","O","o","."],interval:120},bounce:{frames:["\u2801","\u2802","\u2804","\u2802"],interval:120},bouncingBall:{frames:["( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF)","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","(\u25CF )"],interval:80},bouncingBar:{frames:["[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"],interval:80},boxBounce:{frames:["\u2596","\u2598","\u259D","\u2597"],interval:120},boxBounce2:{frames:["\u258C","\u2580","\u2590","\u2584"],interval:100},circle:{frames:["\u25E1","\u2299","\u25E0"],interval:120},circleHalves:{frames:["\u25D0","\u25D3","\u25D1","\u25D2"],interval:50},circleQuarters:{frames:["\u25F4","\u25F7","\u25F6","\u25F5"],interval:120},clock:{frames:["\uD83D\uDD50 ","\uD83D\uDD51 ","\uD83D\uDD52 ","\uD83D\uDD53 ","\uD83D\uDD54 ","\uD83D\uDD55 ","\uD83D\uDD56 ","\uD83D\uDD57 ","\uD83D\uDD58 ","\uD83D\uDD59 ","\uD83D\uDD5A "],interval:100},dots:{frames:["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"],interval:80},dots2:{frames:["\u28FE","\u28FD","\u28FB","\u28BF","\u287F","\u28DF","\u28EF","\u28F7"],interval:80},dots3:{frames:["\u280B","\u2819","\u281A","\u281E","\u2816","\u2826","\u2834","\u2832","\u2833","\u2813"],interval:80},dots4:{frames:["\u2804","\u2806","\u2807","\u280B","\u2819","\u2838","\u2830","\u2820","\u2830","\u2838","\u2819","\u280B","\u2807","\u2806"],interval:80},dots5:{frames:["\u280B","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B"],interval:80},dots6:{frames:["\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2834","\u2832","\u2812","\u2802","\u2802","\u2812","\u281A","\u2819","\u2809","\u2801"],interval:80},dots7:{frames:["\u2808","\u2809","\u280B","\u2813","\u2812","\u2810","\u2810","\u2812","\u2816","\u2826","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808"],interval:80},dots8:{frames:["\u2801","\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808","\u2808"],interval:80},dots9:{frames:["\u28B9","\u28BA","\u28BC","\u28F8","\u28C7","\u2867","\u2857","\u284F"],interval:80},dots10:{frames:["\u2884","\u2882","\u2881","\u2841","\u2848","\u2850","\u2860"],interval:80},dots11:{frames:["\u2801","\u2802","\u2804","\u2840","\u2880","\u2820","\u2810","\u2808"],interval:100},earth:{frames:["\uD83C\uDF0D ","\uD83C\uDF0E ","\uD83C\uDF0F "],interval:180},flip:{frames:["_","_","_","-","`","`","'","\xB4","-","_","_","_"],interval:70},growHorizontal:{frames:["\u258F","\u258E","\u258D","\u258C","\u258B","\u258A","\u2589","\u258A","\u258B","\u258C","\u258D","\u258E"],interval:120},growVertical:{frames:["\u2581","\u2583","\u2584","\u2585","\u2586","\u2587","\u2586","\u2585","\u2584","\u2583"],interval:120},hamburger:{frames:["\u2631","\u2632","\u2634"],interval:100},hearts:{frames:["\uD83D\uDC9B ","\uD83D\uDC99 ","\uD83D\uDC9C ","\uD83D\uDC9A ","\u2764\uFE0F "],interval:100},hexagon:{frames:["\u2B21","\u2B22"],interval:400},line:{frames:["-","\\","|","/"],interval:130},line2:{frames:["\u2802","-","\u2013","\u2014","\u2013","-"],interval:100},monkey:{frames:["\uD83D\uDE48 ","\uD83D\uDE48 ","\uD83D\uDE49 ","\uD83D\uDE4A "],interval:300},moon:{frames:["\uD83C\uDF11 ","\uD83C\uDF12 ","\uD83C\uDF13 ","\uD83C\uDF14 ","\uD83C\uDF15 ","\uD83C\uDF16 ","\uD83C\uDF17 ","\uD83C\uDF18 "],interval:80},noise:{frames:["\u2593","\u2592","\u2591"],interval:100},pipe:{frames:["\u2524","\u2518","\u2534","\u2514","\u251C","\u250C","\u252C","\u2510"],interval:100},pong:{frames:["\u2590\u2802 \u258C","\u2590\u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802\u258C","\u2590 \u2820\u258C","\u2590 \u2840\u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590\u2820 \u258C"],interval:80},runner:{frames:["\uD83D\uDEB6 ","\uD83C\uDFC3 "],interval:140},simpleDots:{frames:[". ",".. ","..."," "],interval:400},simpleDotsScrolling:{frames:[". ",".. ","..."," .."," ."," "],interval:200},smiley:{frames:["\uD83D\uDE04 ","\uD83D\uDE1D "],interval:200},squareCorners:{frames:["\u25F0","\u25F3","\u25F2","\u25F1"],interval:180},squish:{frames:["\u256B","\u256A"],interval:100},star:{frames:["\u2736","\u2738","\u2739","\u273A","\u2739","\u2737"],interval:70},star2:{frames:["+","x","*"],interval:80},toggle:{frames:["\u22B6","\u22B7"],interval:250},toggle2:{frames:["\u25AB","\u25AA"],interval:80},toggle3:{frames:["\u25A1","\u25A0"],interval:120},toggle4:{frames:["\u25A0","\u25A1","\u25AA","\u25AB"],interval:100},toggle5:{frames:["\u25AE","\u25AF"],interval:100},toggle6:{frames:["\u101D","\u1040"],interval:300},toggle7:{frames:["\u29BE","\u29BF"],interval:80},toggle8:{frames:["\u25CD","\u25CC"],interval:100},toggle9:{frames:["\u25C9","\u25CE"],interval:100},toggle10:{frames:["\u3282","\u3280","\u3281"],interval:100},toggle11:{frames:["\u29C7","\u29C6"],interval:50},toggle12:{frames:["\u2617","\u2616"],interval:120},toggle13:{frames:["=","*","-"],interval:80},triangle:{frames:["\u25E2","\u25E3","\u25E4","\u25E5"],interval:50}}});var K5D=r0((bu0,gUD)=>{var B3=bu0;bu0.default=B3;var k2="\x1B[",hd="\x1B]",nu="\x07",z5D=";",pcD=process.env.TERM_PROGRAM==="Apple_Terminal";B3.cursorTo=(Q,K)=>{if(typeof Q!=="number")throw new TypeError("The `x` argument is required");if(typeof K!=="number")return k2+(Q+1)+"G";return k2+(K+1)+";"+(Q+1)+"H"};B3.cursorMove=(Q,K)=>{if(typeof Q!=="number")throw new TypeError("The `x` argument is required");let G="";if(Q<0)G+=k2+-Q+"D";else if(Q>0)G+=k2+Q+"C";if(K<0)G+=k2+-K+"A";else if(K>0)G+=k2+K+"B";return G};B3.cursorUp=(Q=1)=>k2+Q+"A";B3.cursorDown=(Q=1)=>k2+Q+"B";B3.cursorForward=(Q=1)=>k2+Q+"C";B3.cursorBackward=(Q=1)=>k2+Q+"D";B3.cursorLeft=k2+"G";B3.cursorSavePosition=pcD?"\x1B7":k2+"s";B3.cursorRestorePosition=pcD?"\x1B8":k2+"u";B3.cursorGetPosition=k2+"6n";B3.cursorNextLine=k2+"E";B3.cursorPrevLine=k2+"F";B3.cursorHide=k2+"?25l";B3.cursorShow=k2+"?25h";B3.eraseLines=(Q)=>{let K="";for(let G=0;G<Q;G++)K+=B3.eraseLine+(G<Q-1?B3.cursorUp():"");if(Q)K+=B3.cursorLeft;return K};B3.eraseEndLine=k2+"K";B3.eraseStartLine=k2+"1K";B3.eraseLine=k2+"2K";B3.eraseDown=k2+"J";B3.eraseUp=k2+"1J";B3.eraseScreen=k2+"2J";B3.scrollUp=k2+"S";B3.scrollDown=k2+"T";B3.clearScreen="\x1Bc";B3.clearTerminal=process.platform==="win32"?`${B3.eraseScreen}${k2}0f`:`${B3.eraseScreen}${k2}3J${k2}H`;B3.beep=nu;B3.link=(Q,K)=>{return[hd,"8",z5D,z5D,K,nu,Q,hd,"8",z5D,z5D,nu].join("")};B3.image=(Q,K={})=>{let G=`${hd}1337;File=inline=1`;if(K.width)G+=`;width=${K.width}`;if(K.height)G+=`;height=${K.height}`;if(K.preserveAspectRatio===!1)G+=";preserveAspectRatio=0";return G+":"+Q.toString("base64")+nu};B3.iTerm={setCwd:(Q=process.cwd())=>`${hd}50;CurrentDir=${Q}${nu}`,annotation:(Q,K={})=>{let G=`${hd}1337;`;const C=typeof K.x!=="undefined",y=typeof K.y!=="undefined";if((C||y)&&!(C&&y&&typeof K.length!=="undefined"))throw new Error("`x`, `y` and `length` must be defined when `x` or `y` is defined");if(Q=Q.replace(/\|/g,""),G+=K.isHidden?"AddHiddenAnnotation=":"AddAnnotation=",K.length>0)G+=(C?[Q,K.length,K.x,K.y]:[K.length,Q]).join("|");else G+=Q;return G+nu}}});var ocD=r0((iU)=>{var iu0=function(Q){if(!mUD)return Q;return(mUD.stdout?mUD.stdout.has256:(process.env.TERM||"").includes("256"))?`\x1B[38;5;104m${Q}${gu0.default.reset.open}`:mu0.default.magenta(Q)},ku0=iU&&iU.__createBinding||(Object.create?function(Q,K,G,C){if(C===void 0)C=G;var y=Object.getOwnPropertyDescriptor(K,G);if(!y||("get"in y?!K.__esModule:y.writable||y.configurable))y={enumerable:!0,get:function(){return K[G]}};Object.defineProperty(Q,C,y)}:function(Q,K,G,C){if(C===void 0)C=G;Q[C]=K[G]}),hu0=iU&&iU.__setModuleDefault||(Object.create?function(Q,K){Object.defineProperty(Q,"default",{enumerable:!0,value:K})}:function(Q,K){Q.default=K}),_u0=iU&&iU.__importStar||function(Q){if(Q&&Q.__esModule)return Q;var K={};if(Q!=null){for(var G in Q)if(G!=="default"&&Object.prototype.hasOwnProperty.call(Q,G))ku0(K,Q,G)}return hu0(K,Q),K},q5D=iU&&iU.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(iU,"__esModule",{value:!0});var gu0=q5D(Ld()),mu0=q5D(CK()),du0=q5D(Nj()),mUD=_u0(ccD()),cu0=AR(),lu0=Q5D(),ncD=q5D(icD()),dUD=K5D();class rcD extends lu0.ActionBase{frameIndex;frames;spinner;type="spinner";constructor(){super();this.frames=this.getFrames(),this.frameIndex=0}_frame(){const Q=this.frames[this.frameIndex];return this.frameIndex=++this.frameIndex%this.frames.length,iu0(Q)}_lines(Q){return du0.default(Q).split("\n").map((K)=>Math.ceil(K.length/cu0.errtermwidth)).reduce((K,G)=>K+G,0)}_pause(Q){if(this.spinner)clearInterval(this.spinner);if(this._reset(),Q)this._render(` ${Q}`);this.output=void 0}_render(Q){if(!this.task)return;this._reset(),this._flushStdout();const K=Q==="spinner"?` ${this._frame()}`:Q||"",G=this.task.status?` ${this.task.status}`:"";this.output=`${this.task.action}...${K}${G}\n`,this._write(this.std,this.output)}_reset(){if(!this.output)return;const Q=this._lines(this.output);this._write(this.std,dUD.cursorLeft+dUD.cursorUp(Q)+dUD.eraseDown),this.output=void 0}_start(Q){if(Q.style)this.frames=this.getFrames(Q);if(this._reset(),this.spinner)clearInterval(this.spinner);this._render(),this.spinner=setInterval((G)=>this._render.bind(this)(G),process.platform==="win32"?500:100,"spinner"),this.spinner.unref()}_stop(Q){if(this.task)this.task.status=Q;if(this.spinner)clearInterval(this.spinner);this._render(),this.output=void 0}getFrames(Q){if(Q?.style)return ncD.default[Q.style].frames;return ncD.default[process.platform==="win32"?"line":"dots2"].frames}}iU.default=rcD});var W5D=r0((XM)=>{var au0=function(){const K=pu0.default.getInstance().get("@oclif/core")?.version.split(".")[0]||"unknown";if(lC[K])return lC[K];return lC[K]=new lUD,lC[K]},cUD=XM&&XM.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(XM,"__esModule",{value:!0});XM.config=XM.Config=void 0;var pu0=cUD(lU()),nu0=cUD(gcD()),ru0=cUD(ocD()),scD=global,lC=scD.ux||(scD.ux={}),ou0=Boolean(process.stderr.isTTY)&&!process.env.CI&&!["dumb","emacs-color"].includes(process.env.TERM)&&"spinner"||"simple",su0=ou0==="spinner"?ru0.default:nu0.default;class lUD{action=new su0;errorsHandled=!1;outputLevel="info";showStackTrace=!0;get context(){return lC.context||{}}set context(Q){lC.context=Q}get debug(){return lC.debug||process.env.DEBUG==="*"}set debug(Q){lC.debug=Q}}XM.Config=lUD;XM.config=au0();XM.default=XM.config});var U5D=r0((acD)=>{var eu0=function(Q,K){function G(C,y=!1){return new Promise((x)=>{const _=setTimeout(()=>x(null),C);if(y)_.unref()})}return Promise.race([Q,G(K,!0).then(()=>tu0.error("timed out"))])};async function Df0(){const Q=new Promise((G)=>{process.stdout.once("drain",()=>G(null))});if(process.stdout.write(""))return;return Q}async function Ff0(Q=1e4){await eu0(Df0(),Q)}Object.defineProperty(acD,"__esModule",{value:!0});acD.flush=void 0;var tu0=eq();acD.flush=Ff0});var ZlD=r0((pa0,$lD)=>{var $f0=function(Q,K){var G=K.pathExt!==void 0?K.pathExt:process.env.PATHEXT;if(!G)return!0;if(G=G.split(";"),G.indexOf("")!==-1)return!0;for(var C=0;C<G.length;C++){var y=G[C].toLowerCase();if(y&&Q.substr(-y.length).toLowerCase()===y)return!0}return!1},DlD=function(Q,K,G){if(!Q.isSymbolicLink()&&!Q.isFile())return!1;return $f0(K,G)},FlD=function(Q,K,G){ecD.stat(Q,function(C,y){G(C,C?!1:DlD(y,Q,K))})},Zf0=function(Q,K){return DlD(ecD.statSync(Q),Q,K)};$lD.exports=FlD;FlD.sync=Zf0;var ecD=i8("fs")});var QlD=r0((na0,YlD)=>{var BlD=function(Q,K,G){JlD.stat(Q,function(C,y){G(C,C?!1:XlD(y,K))})},Jf0=function(Q,K){return XlD(JlD.statSync(Q),K)},XlD=function(Q,K){return Q.isFile()&&Bf0(Q,K)},Bf0=function(Q,K){var{mode:G,uid:C,gid:y}=Q,x=K.uid!==void 0?K.uid:process.getuid&&process.getuid(),_=K.gid!==void 0?K.gid:process.getgid&&process.getgid(),VD=parseInt("100",8),OD=parseInt("010",8),HD=parseInt("001",8),a=VD|OD,bD=G&HD||G&OD&&y===_||G&VD&&C===x||G&a&&x===0;return bD};YlD.exports=BlD;BlD.sync=Jf0;var JlD=i8("fs")});var zlD=r0((oa0,VlD)=>{var iUD=function(Q,K,G){if(typeof K==="function")G=K,K={};if(!G){if(typeof Promise!=="function")throw new TypeError("callback not provided");return new Promise(function(C,y){iUD(Q,K||{},function(x,_){if(x)y(x);else C(_)})})}G5D(Q,K||{},function(C,y){if(C){if(C.code==="EACCES"||K&&K.ignoreErrors)C=null,y=!1}G(C,y)})},Xf0=function(Q,K){try{return G5D.sync(Q,K||{})}catch(G){if(K&&K.ignoreErrors||G.code==="EACCES")return!1;else throw G}},ra0=i8("fs"),G5D;if(process.platform==="win32"||global.TESTING_WINDOWS)G5D=ZlD();else G5D=QlD();VlD.exports=iUD;iUD.sync=Xf0});var MlD=r0((sa0,HlD)=>{var ru=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",KlD=i8("path"),Yf0=ru?";":":",qlD=zlD(),WlD=(Q)=>Object.assign(new Error(`not found: ${Q}`),{code:"ENOENT"}),UlD=(Q,K)=>{const G=K.colon||Yf0,C=Q.match(/\//)||ru&&Q.match(/\\/)?[""]:[...ru?[process.cwd()]:[],...(K.path||process.env.PATH||"").split(G)],y=ru?K.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",x=ru?y.split(G):[""];if(ru){if(Q.indexOf(".")!==-1&&x[0]!=="")x.unshift("")}return{pathEnv:C,pathExt:x,pathExtExe:y}},GlD=(Q,K,G)=>{if(typeof K==="function")G=K,K={};if(!K)K={};const{pathEnv:C,pathExt:y,pathExtExe:x}=UlD(Q,K),_=[],VD=(HD)=>new Promise((a,bD)=>{if(HD===C.length)return K.all&&_.length?a(_):bD(WlD(Q));const ED=C[HD],XD=/^".*"$/.test(ED)?ED.slice(1,-1):ED,UD=KlD.join(XD,Q),TD=!XD&&/^\.[\\\/]/.test(Q)?Q.slice(0,2)+UD:UD;a(OD(TD,HD,0))}),OD=(HD,a,bD)=>new Promise((ED,XD)=>{if(bD===y.length)return ED(VD(a+1));const UD=y[bD];qlD(HD+UD,{pathExt:x},(TD,nD)=>{if(!TD&&nD)if(K.all)_.push(HD+UD);else return ED(HD+UD);return ED(OD(HD,a,bD+1))})});return G?VD(0).then((HD)=>G(null,HD),G):VD(0)},Qf0=(Q,K)=>{K=K||{};const{pathEnv:G,pathExt:C,pathExtExe:y}=UlD(Q,K),x=[];for(let _=0;_<G.length;_++){const VD=G[_],OD=/^".*"$/.test(VD)?VD.slice(1,-1):VD,HD=KlD.join(OD,Q),a=!OD&&/^\.[\\\/]/.test(Q)?Q.slice(0,2)+HD:HD;for(let bD=0;bD<C.length;bD++){const ED=a+C[bD];try{if(qlD.sync(ED,{pathExt:y}))if(K.all)x.push(ED);else return ED}catch(XD){}}}if(K.all&&x.length)return x;if(K.nothrow)return null;throw WlD(Q)};HlD.exports=GlD;GlD.sync=Qf0});var jlD=r0((aa0,pUD)=>{var OlD=(Q={})=>{const K=Q.env||process.env;if((Q.platform||process.platform)!=="win32")return"PATH";return Object.keys(K).reverse().find((C)=>C.toUpperCase()==="PATH")||"Path"};pUD.exports=OlD;pUD.exports.default=OlD});var ElD=r0((ta0,ClD)=>{var AlD=function(Q,K){const G=Q.options.env||process.env,C=process.cwd(),y=Q.options.cwd!=null,x=y&&process.chdir!==void 0&&!process.chdir.disabled;if(x)try{process.chdir(Q.options.cwd)}catch(VD){}let _;try{_=Vf0.sync(Q.command,{path:G[zf0({env:G})],pathExt:K?LlD.delimiter:void 0})}catch(VD){}finally{if(x)process.chdir(C)}if(_)_=LlD.resolve(y?Q.options.cwd:"",_);return _},Kf0=function(Q){return AlD(Q)||AlD(Q,!0)},LlD=i8("path"),Vf0=MlD(),zf0=jlD();ClD.exports=Kf0});var NlD=r0((Uf0,rUD)=>{var qf0=function(Q){return Q=Q.replace(nUD,"^$1"),Q},Wf0=function(Q,K){if(Q=`${Q}`,Q=Q.replace(/(\\*)"/g,'$1$1\\"'),Q=Q.replace(/(\\*)$/,"$1$1"),Q=`"${Q}"`,Q=Q.replace(nUD,"^$1"),K)Q=Q.replace(nUD,"^$1");return Q},nUD=/([()\][%!^"`<>&|;, *?])/g;Uf0.command=qf0;Uf0.argument=Wf0});var RlD=r0((ea0,TlD)=>{TlD.exports=/^#!(.*)/});var ylD=r0((Dt0,IlD)=>{var Mf0=RlD();IlD.exports=(Q="")=>{const K=Q.match(Mf0);if(!K)return null;const[G,C]=K[0].replace(/#! ?/,"").split(" "),y=G.split("/").pop();if(y==="env")return C;return C?`${y} ${C}`:y}});var wlD=r0((Ft0,PlD)=>{var jf0=function(Q){const G=Buffer.alloc(150);let C;try{C=oUD.openSync(Q,"r"),oUD.readSync(C,G,0,150,0),oUD.closeSync(C)}catch(y){}return Of0(G.toString())},oUD=i8("fs"),Of0=ylD();PlD.exports=jf0});var vlD=r0(($t0,flD)=>{var Tf0=function(Q){Q.file=SlD(Q);const K=Q.file&&Af0(Q.file);if(K)return Q.args.unshift(Q.file),Q.command=K,SlD(Q);return Q.file},Rf0=function(Q){if(!Cf0)return Q;const K=Tf0(Q),G=!Ef0.test(K);if(Q.options.forceShell||G){const C=Nf0.test(K);Q.command=Lf0.normalize(Q.command),Q.command=ulD.command(Q.command),Q.args=Q.args.map((x)=>ulD.argument(x,C));const y=[Q.command].concat(Q.args).join(" ");Q.args=["/d","/s","/c",`"${y}"`],Q.command=process.env.comspec||"cmd.exe",Q.options.windowsVerbatimArguments=!0}return Q},If0=function(Q,K,G){if(K&&!Array.isArray(K))G=K,K=null;K=K?K.slice(0):[],G=Object.assign({},G);const C={command:Q,args:K,options:G,file:void 0,original:{command:Q,args:K}};return G.shell?C:Rf0(C)},Lf0=i8("path"),SlD=ElD(),ulD=NlD(),Af0=wlD(),Cf0=process.platform==="win32",Ef0=/\.(?:com|exe)$/i,Nf0=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;flD.exports=If0});var klD=r0((Zt0,xlD)=>{var aUD=function(Q,K){return Object.assign(new Error(`${K} ${Q.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${K} ${Q.command}`,path:Q.command,spawnargs:Q.args})},yf0=function(Q,K){if(!sUD)return;const G=Q.emit;Q.emit=function(C,y){if(C==="exit"){const x=blD(y,K,"spawn");if(x)return G.call(Q,"error",x)}return G.apply(Q,arguments)}},blD=function(Q,K){if(sUD&&Q===1&&!K.file)return aUD(K.original,"spawn");return null},Pf0=function(Q,K){if(sUD&&Q===1&&!K.file)return aUD(K.original,"spawnSync");return null},sUD=process.platform==="win32";xlD.exports={hookChildProcess:yf0,verifyENOENT:blD,verifyENOENTSync:Pf0,notFoundError:aUD}});var glD=r0((Jt0,ou)=>{var _lD=function(Q,K,G){const C=tUD(Q,K,G),y=hlD.spawn(C.command,C.args,C.options);return eUD.hookChildProcess(y,C),y},wf0=function(Q,K,G){const C=tUD(Q,K,G),y=hlD.spawnSync(C.command,C.args,C.options);return y.error=y.error||eUD.verifyENOENTSync(y.status,C),y},hlD=i8("child_process"),tUD=vlD(),eUD=klD();ou.exports=_lD;ou.exports.spawn=_lD;ou.exports.sync=wf0;ou.exports._parse=tUD;ou.exports._enoent=eUD});var clD=r0((Bt0,dlD)=>{var mlD=function(Q,K={}){return K=Object.assign({method:"mask",required:K.default===void 0,default:""},K),iC.setEncoding("utf8"),H5D[K.method](Q,K).then((G)=>G||(K.required?mlD(Q):""))},iC=process.stdin,YM=process.stderr,H5D={hide:(Q,K={})=>H5D.raw(Q,!1,K),mask:(Q,K={})=>H5D.raw(Q,!0,K),raw:(Q,K,G={})=>{if(!iC.setRawMode||process.env.TERM==="dumb")return H5D.notty(Q);return new Promise(function(C,y){const x=K5D();let _="";YM.write(x.eraseLine),YM.write(x.cursorLeft),YM.write(Q),iC.resume(),iC.setRawMode(!0);function VD(){if(K)YM.write(x.cursorHide+x.cursorLeft+Q+_.replace(/./g,"*")+"\n"+x.cursorShow);else YM.write("\n");iC.removeListener("data",ED),iC.setRawMode(!1),iC.pause()}function OD(){if(G.required&&_.length===0)return;VD(),_=_.replace(/\r$/,""),_=_||G.default,C(_)}function HD(){y(new Error("SIGINT")),VD()}function a(){if(_.length===0)return;_=_.substr(0,_.length-1),YM.write(x.cursorBackward(1)),YM.write(x.eraseEndLine)}function bD(XD){_+=XD,YM.write(K?XD:"*".repeat(XD.length))}const ED=function(XD){switch(XD){case"\x04":case"\r":case"\n":return OD();case"\x03":return HD();default:if(XD.charCodeAt(0)===127)return a();else return bD(XD)}};iC.on("data",ED)})},notty:(Q)=>{return new Promise((K,G)=>{const C=glD();YM.write(Q);const y=C.sync("sh",["-c","read -s PASS && echo $PASS"],{stdio:["inherit","pipe","inherit"],encoding:"utf8"});if(YM.write("\n"),y.error)return G(y.error);K(y.stdout.trim())})}};dlD.exports=mlD});var olD=r0((QQ)=>{var DGD=function(Q,K=100){if(K<0)throw new Error("no input");return new Promise((G,C)=>{let y;if(Q.timeout)y=setTimeout(()=>{process.stdin.pause(),C(new Error("Prompt timeout"))},Q.timeout),y.unref();process.stdin.setEncoding("utf8"),process.stderr.write(Q.prompt),process.stdin.resume(),process.stdin.once("data",(x)=>{if(y)clearTimeout(y);process.stdin.pause();const _=(typeof x==="string"?x:x.toString()).trim();if(!Q.default&&Q.required&&_==="")G(DGD(Q,K-1));else G(_||Q.default)})})},ilD=function(Q,K,G){let C="> ";if(G&&K==="hide")G="*".repeat(G.length);if(Q&&G)C=Q+" "+_d.default.yellow("["+G+"]")+": ";else if(Q)C=`${Q}: `;return C};async function bf0(Q){const K=process.stdin.isRaw;if(process.stdin.setRawMode)process.stdin.setRawMode(!0);Q.required=Q.required??!1;const G=await DGD(Q);if(process.stdin.setRawMode)process.stdin.setRawMode(Boolean(K));return G}var xf0=function(Q){const K=K5D();process.stderr.write(K.cursorHide+K.cursorUp(1)+K.cursorLeft+Q+K.cursorDown(1)+K.cursorLeft+K.cursorShow)};async function nlD(Q,K={}){const G=ilD(Q,K.type,K.default),C={default:"",isTTY:Boolean(process.env.TERM!=="dumb"&&process.stdin.isTTY),name:Q,prompt:G,required:!0,type:"normal",...K},y=clD();switch(C.type){case"normal":return DGD(C);case"single":return bf0(C);case"mask":return y(C.prompt,{default:C.default,method:C.type,required:C.required}).then((x)=>{return xf0(ilD(Q,"hide",K.default)),x});case"hide":return y(C.prompt,{default:C.default,method:C.type,required:C.required});default:throw new Error(`unexpected type ${C.type}`)}}async function rlD(Q,K={}){return plD.config.action.pauseAsync(()=>nlD(Q,K),_d.default.cyan("?"))}var kf0=function(Q){return plD.config.action.pauseAsync(async()=>{const K=async()=>{const C=(await nlD(Q)).toLowerCase();if(["n","no"].includes(C))return!1;if(["y","yes"].includes(C))return!0;return K()};return K()},_d.default.cyan("?"))};async function hf0(Q){const K=Boolean(process.stdin.setRawMode);if(!Q)Q=K?`Press any key to continue or ${_d.default.yellow("q")} to exit`:`Press enter to continue or ${_d.default.yellow("q")} to exit`;const G=await rlD(Q,{required:!1,type:"single"});if(K)process.stderr.write("\n");if(G==="q")llD.error("quit");if(G==="\x03")llD.error("ctrl-c");return G}var Sf0=QQ&&QQ.__createBinding||(Object.create?function(Q,K,G,C){if(C===void 0)C=G;var y=Object.getOwnPropertyDescriptor(K,G);if(!y||("get"in y?!K.__esModule:y.writable||y.configurable))y={enumerable:!0,get:function(){return K[G]}};Object.defineProperty(Q,C,y)}:function(Q,K,G,C){if(C===void 0)C=G;Q[C]=K[G]}),uf0=QQ&&QQ.__setModuleDefault||(Object.create?function(Q,K){Object.defineProperty(Q,"default",{enumerable:!0,value:K})}:function(Q,K){Q.default=K}),ff0=QQ&&QQ.__importStar||function(Q){if(Q&&Q.__esModule)return Q;var K={};if(Q!=null){for(var G in Q)if(G!=="default"&&Object.prototype.hasOwnProperty.call(Q,G))Sf0(K,Q,G)}return uf0(K,Q),K},vf0=QQ&&QQ.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(QQ,"__esModule",{value:!0});QQ.anykey=QQ.confirm=QQ.prompt=void 0;var _d=vf0(CK()),llD=ff0(eq()),plD=W5D();QQ.prompt=rlD;QQ.confirm=kf0;QQ.anykey=hf0});var alD=r0((gd)=>{var mf0=function(Q,K){const G=[],C=Object.keys(Q).map((VD)=>VD.toString().length),y=Math.max(...C)+2;function x(VD){if(typeof VD==="string"||typeof VD==="number")return VD;if(typeof VD==="object")return Object.keys(VD).map((OD)=>OD+": "+slD.inspect(VD[OD])).join(", ");return slD.inspect(VD)}const _=(VD,OD)=>`${gf0.default.blue(VD)}:`+" ".repeat(y-VD.length-1)+x(OD);for(let VD of K||Object.keys(Q).sort()){const OD=Q[VD];if(Array.isArray(OD)){if(OD.length>0){G.push(_(VD,OD[0]));for(let HD of OD.slice(1))G.push(" ".repeat(y)+x(HD))}}else if(OD!==null&&OD!==void 0)G.push(_(VD,OD))}return G.join("\n")},_f0=gd&&gd.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(gd,"__esModule",{value:!0});var gf0=_f0(CK()),slD=i8("node:util");gd.default=mf0});var DiD=r0((Qt0,elD)=>{class tlD{constructor(Q,K,G){this.etaBufferLength=Q||100,this.valueBuffer=[G],this.timeBuffer=[K],this.eta="0"}update(Q,K,G){this.valueBuffer.push(K),this.timeBuffer.push(Q),this.calculate(G-K)}getTime(){return this.eta}calculate(Q){const K=this.valueBuffer.length,G=Math.min(this.etaBufferLength,K),C=this.valueBuffer[K-1]-this.valueBuffer[K-G],y=this.timeBuffer[K-1]-this.timeBuffer[K-G],x=C/y;this.valueBuffer=this.valueBuffer.slice(-this.etaBufferLength),this.timeBuffer=this.timeBuffer.slice(-this.etaBufferLength);const _=Math.ceil(Q/x/1000);if(isNaN(_))this.eta="NULL";else if(!isFinite(_))this.eta="INF";else if(_>1e7)this.eta="INF";else if(_<0)this.eta=0;else this.eta=_}}elD.exports=tlD});var FGD=r0((Vt0,$iD)=>{var IR=i8("readline");class FiD{constructor(Q){this.stream=Q,this.linewrap=!0,this.dy=0}cursorSave(){if(!this.stream.isTTY)return;this.stream.write("\x1B7")}cursorRestore(){if(!this.stream.isTTY)return;this.stream.write("\x1B8")}cursor(Q){if(!this.stream.isTTY)return;if(Q)this.stream.write("\x1B[?25h");else this.stream.write("\x1B[?25l")}cursorTo(Q=null,K=null){if(!this.stream.isTTY)return;IR.cursorTo(this.stream,Q,K)}cursorRelative(Q=null,K=null){if(!this.stream.isTTY)return;this.dy=this.dy+K,IR.moveCursor(this.stream,Q,K)}cursorRelativeReset(){if(!this.stream.isTTY)return;IR.moveCursor(this.stream,0,-this.dy),IR.cursorTo(this.stream,0,null),this.dy=0}clearRight(){if(!this.stream.isTTY)return;IR.clearLine(this.stream,1)}clearLine(){if(!this.stream.isTTY)return;IR.clearLine(this.stream,0)}clearBottom(){if(!this.stream.isTTY)return;IR.clearScreenDown(this.stream)}newline(){this.stream.write("\n"),this.dy++}write(Q,K=!1){if(this.linewrap===!0&&K===!1)this.stream.write(Q.substr(0,this.getWidth()));else this.stream.write(Q)}lineWrapping(Q){if(!this.stream.isTTY)return;if(this.linewrap=Q,Q)this.stream.write("\x1B[?7h");else this.stream.write("\x1B[?7l")}isTTY(){return this.stream.isTTY===!0}getWidth(){return this.stream.columns||(this.stream.isTTY?80:200)}}$iD.exports=FiD});var $GD=r0((zt0,ZiD)=>{ZiD.exports=function Q(K,G,C){if(G.autopadding!==!0)return K;function y(x,_){return(G.autopaddingChar+x).slice(-_)}switch(C){case"percentage":return y(K,3);default:return K}}});var ZGD=r0((Kt0,JiD)=>{JiD.exports=function Q(K,G){const C=Math.round(K*G.barsize),y=G.barsize-C;return G.barCompleteString.substr(0,C)+G.barGlue+G.barIncompleteString.substr(0,y)}});var JGD=r0((qt0,BiD)=>{BiD.exports=function Q(K,G,C){function y(_){if(C)return C*Math.round(_/C);else return _}function x(_){return(G.autopaddingChar+_).slice(-2)}if(K>3600)return x(Math.floor(K/3600))+"h"+x(y(K%3600/60))+"m";else if(K>60)return x(Math.floor(K/60))+"m"+x(y(K%60))+"s";else if(K>10)return x(y(K))+"s";else return x(K)+"s"}});var BGD=r0((Wt0,XiD)=>{var df0=vu(),cf0=$GD(),lf0=ZGD(),if0=JGD();XiD.exports=function Q(K,G,C){let y=K.format;const x=K.formatTime||if0,_=K.formatValue||cf0,VD=K.formatBar||lf0,OD=Math.floor(G.progress*100)+"",HD=G.stopTime||Date.now(),a=Math.round((HD-G.startTime)/1000),bD=Object.assign({},C,{bar:VD(G.progress,K),percentage:_(OD,K,"percentage"),total:_(G.total,K,"total"),value:_(G.value,K,"value"),eta:_(G.eta,K,"eta"),eta_formatted:x(G.eta,K,5),duration:_(a,K,"duration"),duration_formatted:x(a,K,1)});y=y.replace(/\{(\w+)\}/g,function(UD,TD){if(typeof bD[TD]!=="undefined")return bD[TD];return UD});const ED=Math.max(0,G.maxWidth-df0(y)-2),XD=Math.floor(ED/2);switch(K.align){case"right":y=ED>0?" ".repeat(ED)+y:y;break;case"center":y=XD>0?" ".repeat(XD)+y:y;break;case"left":default:break}return y}});var M5D=r0((Ut0,YiD)=>{var q$=function(Q,K){if(typeof Q==="undefined"||Q===null)return K;else return Q};YiD.exports={parse:function Q(K,G){const C={},y=Object.assign({},G,K);return C.throttleTime=1000/q$(y.fps,10),C.stream=q$(y.stream,process.stderr),C.terminal=q$(y.terminal,null),C.clearOnComplete=q$(y.clearOnComplete,!1),C.stopOnComplete=q$(y.stopOnComplete,!1),C.barsize=q$(y.barsize,40),C.align=q$(y.align,"left"),C.hideCursor=q$(y.hideCursor,!1),C.linewrap=q$(y.linewrap,!1),C.barGlue=q$(y.barGlue,""),C.barCompleteChar=q$(y.barCompleteChar,"="),C.barIncompleteChar=q$(y.barIncompleteChar,"-"),C.format=q$(y.format,"progress [{bar}] {percentage}% | ETA: {eta}s | {value}/{total}"),C.formatTime=q$(y.formatTime,null),C.formatValue=q$(y.formatValue,null),C.formatBar=q$(y.formatBar,null),C.etaBufferLength=q$(y.etaBuffer,10),C.etaAsynchronousUpdate=q$(y.etaAsynchronousUpdate,!1),C.progressCalculationRelative=q$(y.progressCalculationRelative,!1),C.synchronousUpdate=q$(y.synchronousUpdate,!0),C.noTTYOutput=q$(y.noTTYOutput,!1),C.notTTYSchedule=q$(y.notTTYSchedule,2000),C.emptyOnZero=q$(y.emptyOnZero,!1),C.forceRedraw=q$(y.forceRedraw,!1),C.autopadding=q$(y.autopadding,!1),C.gracefulExit=q$(y.gracefulExit,!1),C},assignDerivedOptions:function Q(K){return K.barCompleteString=K.barCompleteChar.repeat(K.barsize+1),K.barIncompleteString=K.barIncompleteChar.repeat(K.barsize+1),K.autopaddingChar=K.autopadding?q$(K.autopaddingChar," "):"",K}}});var XGD=r0((Gt0,ViD)=>{var QiD=DiD(),pf0=FGD(),nf0=BGD(),rf0=M5D(),of0=i8("events");ViD.exports=class Q extends of0{constructor(K){super();this.options=rf0.assignDerivedOptions(K),this.terminal=this.options.terminal?this.options.terminal:new pf0(this.options.stream),this.value=0,this.startValue=0,this.total=100,this.lastDrawnString=null,this.startTime=null,this.stopTime=null,this.lastRedraw=Date.now(),this.eta=new QiD(this.options.etaBufferLength,0,0),this.payload={},this.isActive=!1,this.formatter=typeof this.options.format==="function"?this.options.format:nf0}render(K=!1){const G={progress:this.getProgress(),eta:this.eta.getTime(),startTime:this.startTime,stopTime:this.stopTime,total:this.total,value:this.value,maxWidth:this.terminal.getWidth()};if(this.options.etaAsynchronousUpdate)this.updateETA();const C=this.formatter(this.options,G,this.payload);if(K||this.options.forceRedraw||this.options.noTTYOutput&&!this.terminal.isTTY()||this.lastDrawnString!=C)this.emit("redraw-pre"),this.terminal.cursorTo(0,null),this.terminal.write(C),this.terminal.clearRight(),this.lastDrawnString=C,this.lastRedraw=Date.now(),this.emit("redraw-post")}start(K,G,C){this.value=G||0,this.total=typeof K!=="undefined"&&K>=0?K:100,this.startValue=G||0,this.payload=C||{},this.startTime=Date.now(),this.stopTime=null,this.lastDrawnString="",this.eta=new QiD(this.options.etaBufferLength,this.startTime,this.value),this.isActive=!0,this.emit("start",K,G)}stop(){this.isActive=!1,this.stopTime=Date.now(),this.emit("stop",this.total,this.value)}update(K,G={}){if(typeof K==="number")this.value=K,this.eta.update(Date.now(),K,this.total);const C=(typeof K==="object"?K:G)||{};this.emit("update",this.total,this.value);for(let y in C)this.payload[y]=C[y];if(this.value>=this.getTotal()&&this.options.stopOnComplete)this.stop()}getProgress(){let K=this.value/this.total;if(this.options.progressCalculationRelative)K=(this.value-this.startValue)/(this.total-this.startValue);if(isNaN(K))K=this.options&&this.options.emptyOnZero?0:1;return K=Math.min(Math.max(K,0),1),K}increment(K=1,G={}){if(typeof K==="object")this.update(this.value+1,K);else this.update(this.value+K,G)}getTotal(){return this.total}setTotal(K){if(typeof K!=="undefined"&&K>=0)this.total=K}updateETA(){this.eta.update(Date.now(),this.value,this.total)}}});var KiD=r0((Ht0,ziD)=>{var sf0=XGD(),af0=M5D();ziD.exports=class Q extends sf0{constructor(K,G){super(af0.parse(K,G));if(this.timer=null,this.options.noTTYOutput&&this.terminal.isTTY()===!1)this.options.synchronousUpdate=!1;this.schedulingRate=this.terminal.isTTY()?this.options.throttleTime:this.options.notTTYSchedule,this.sigintCallback=null}render(){if(this.timer)clearTimeout(this.timer),this.timer=null;if(super.render(),this.options.noTTYOutput&&this.terminal.isTTY()===!1)this.terminal.newline();this.timer=setTimeout(this.render.bind(this),this.schedulingRate)}update(K,G){if(!this.timer)return;if(super.update(K,G),this.options.synchronousUpdate&&this.lastRedraw+this.options.throttleTime*2<Date.now())this.render()}start(K,G,C){if(this.options.noTTYOutput===!1&&this.terminal.isTTY()===!1)return;if(this.sigintCallback===null&&this.options.gracefulExit)this.sigintCallback=this.stop.bind(this),process.once("SIGINT",this.sigintCallback),process.once("SIGTERM",this.sigintCallback);if(this.terminal.cursorSave(),this.options.hideCursor===!0)this.terminal.cursor(!1);if(this.options.linewrap===!1)this.terminal.lineWrapping(!1);super.start(K,G,C),this.render()}stop(){if(!this.timer)return;if(this.sigintCallback)process.removeListener("SIGINT",this.sigintCallback),process.removeListener("SIGTERM",this.sigintCallback),this.sigintCallback=null;if(this.render(),super.stop(),clearTimeout(this.timer),this.timer=null,this.options.hideCursor===!0)this.terminal.cursor(!0);if(this.options.linewrap===!1)this.terminal.lineWrapping(!0);if(this.terminal.cursorRestore(),this.options.clearOnComplete)this.terminal.cursorTo(0,null),this.terminal.clearLine();else this.terminal.newline()}}});var WiD=r0((Mt0,qiD)=>{var tf0=FGD(),ef0=XGD(),Dv0=M5D(),Fv0=i8("events");qiD.exports=class Q extends Fv0{constructor(K,G){super();this.bars=[],this.options=Dv0.parse(K,G),this.options.synchronousUpdate=!1,this.terminal=this.options.terminal?this.options.terminal:new tf0(this.options.stream),this.timer=null,this.isActive=!1,this.schedulingRate=this.terminal.isTTY()?this.options.throttleTime:this.options.notTTYSchedule,this.loggingBuffer=[],this.sigintCallback=null}create(K,G,C,y={}){const x=new ef0(Object.assign({},this.options,{terminal:this.terminal},y));if(this.bars.push(x),this.options.noTTYOutput===!1&&this.terminal.isTTY()===!1)return x;if(this.sigintCallback===null&&this.options.gracefulExit)this.sigintCallback=this.stop.bind(this),process.once("SIGINT",this.sigintCallback),process.once("SIGTERM",this.sigintCallback);if(!this.isActive){if(this.options.hideCursor===!0)this.terminal.cursor(!1);if(this.options.linewrap===!1)this.terminal.lineWrapping(!1);this.timer=setTimeout(this.update.bind(this),this.schedulingRate)}return this.isActive=!0,x.start(K,G,C),this.emit("start"),x}remove(K){const G=this.bars.indexOf(K);if(G<0)return!1;return this.bars.splice(G,1),this.update(),this.terminal.newline(),this.terminal.clearBottom(),!0}update(){if(this.timer)clearTimeout(this.timer),this.timer=null;if(this.emit("update-pre"),this.terminal.cursorRelativeReset(),this.emit("redraw-pre"),this.loggingBuffer.length>0){this.terminal.clearLine();while(this.loggingBuffer.length>0)this.terminal.write(this.loggingBuffer.shift(),!0)}for(let K=0;K<this.bars.length;K++){if(K>0)this.terminal.newline();this.bars[K].render()}if(this.emit("redraw-post"),this.options.noTTYOutput&&this.terminal.isTTY()===!1)this.terminal.newline(),this.terminal.newline();if(this.timer=setTimeout(this.update.bind(this),this.schedulingRate),this.emit("update-post"),this.options.stopOnComplete&&!this.bars.find((K)=>K.isActive))this.stop()}stop(){if(clearTimeout(this.timer),this.timer=null,this.sigintCallback)process.removeListener("SIGINT",this.sigintCallback),process.removeListener("SIGTERM",this.sigintCallback),this.sigintCallback=null;if(this.isActive=!1,this.options.hideCursor===!0)this.terminal.cursor(!0);if(this.options.linewrap===!1)this.terminal.lineWrapping(!0);if(this.terminal.cursorRelativeReset(),this.emit("stop-pre-clear"),this.options.clearOnComplete)this.terminal.clearBottom();else{for(let K=0;K<this.bars.length;K++){if(K>0)this.terminal.newline();this.bars[K].render(),this.bars[K].stop()}this.terminal.newline()}this.emit("stop")}log(K){this.loggingBuffer.push(K)}}});var GiD=r0((Ot0,UiD)=>{UiD.exports={format:"progress [{bar}] {percentage}% | ETA: {eta}s | {value}/{total}",barCompleteChar:"=",barIncompleteChar:"-"}});var MiD=r0((jt0,HiD)=>{HiD.exports={format:" {bar} {percentage}% | ETA: {eta}s | {value}/{total}",barCompleteChar:"\u2588",barIncompleteChar:"\u2591"}});var jiD=r0((Lt0,OiD)=>{OiD.exports={format:" \x1B[90m{bar}\x1B[0m {percentage}% | ETA: {eta}s | {value}/{total}",barCompleteChar:"\u2588",barIncompleteChar:"\u2591"}});var AiD=r0((At0,LiD)=>{LiD.exports={format:" {bar}\u25A0 {percentage}% | ETA: {eta}s | {value}/{total}",barCompleteChar:"\u25A0",barIncompleteChar:" "}});var EiD=r0((Ct0,CiD)=>{var $v0=GiD(),Zv0=MiD(),Jv0=jiD(),Bv0=AiD();CiD.exports={legacy:$v0,shades_classic:Zv0,shades_grey:Jv0,rect:Bv0}});var RiD=r0((Et0,TiD)=>{var NiD=KiD(),Xv0=WiD(),Yv0=EiD(),Qv0=BGD(),Vv0=$GD(),zv0=ZGD(),Kv0=JGD();TiD.exports={Bar:NiD,SingleBar:NiD,MultiBar:Xv0,Presets:Yv0,Format:{Formatter:Qv0,BarFormat:zv0,ValueFormat:Vv0,TimeFormat:Kv0}}});var yiD=r0((IiD)=>{var Wv0=function(Q={}){return new qv0.SingleBar({noTTYOutput:Boolean(process.env.TERM==="dumb"||!process.stdin.isTTY),...Q})};Object.defineProperty(IiD,"__esModule",{value:!0});var qv0=RiD();IiD.default=Wv0});var PR=r0((Lv0,yR)=>{var PiD=function(Q){return typeof Q==="undefined"||Q===null},Gv0=function(Q){return typeof Q==="object"&&Q!==null},Hv0=function(Q){if(Array.isArray(Q))return Q;else if(PiD(Q))return[];return[Q]},Mv0=function(Q,K){var G,C,y,x;if(K){x=Object.keys(K);for(G=0,C=x.length;G<C;G+=1)y=x[G],Q[y]=K[y]}return Q},Ov0=function(Q,K){var G="",C;for(C=0;C<K;C+=1)G+=Q;return G},jv0=function(Q){return Q===0&&Number.NEGATIVE_INFINITY===1/Q};Lv0.isNothing=PiD;Lv0.isObject=Gv0;Lv0.toArray=Hv0;Lv0.repeat=Ov0;Lv0.isNegativeZero=jv0;Lv0.extend=Mv0});var su=r0((Tt0,wiD)=>{var md=function(Q,K){if(Error.call(this),this.name="YAMLException",this.reason=Q,this.mark=K,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():""),Error.captureStackTrace)Error.captureStackTrace(this,this.constructor);else this.stack=new Error().stack||""};md.prototype=Object.create(Error.prototype);md.prototype.constructor=md;md.prototype.toString=function Q(K){var G=this.name+": ";if(G+=this.reason||"(unknown reason)",!K&&this.mark)G+=" "+this.mark.toString();return G};wiD.exports=md});var fiD=r0((Rt0,uiD)=>{var YGD=function(Q,K,G,C,y){this.name=Q,this.buffer=K,this.position=G,this.line=C,this.column=y},SiD=PR();YGD.prototype.getSnippet=function Q(K,G){var C,y,x,_,VD;if(!this.buffer)return null;K=K||4,G=G||75,C="",y=this.position;while(y>0&&`\0\r
|
|
337
|
+
${j.message}`;throw j}return Z?U.map((j)=>this.mapCodeFixAction(j)):U}getCombinedCodeFix({scope:F,fixId:Z},J){S.assert(F.type==="file");const{file:B,project:Y}=this.getFileAndProject(F.args),V=Y.getLanguageService().getCombinedCodeFix({type:"file",fileName:B},Z,this.getFormatOptions(B),this.getPreferences(B));if(J)return{changes:this.mapTextChangesToCodeEdits(V.changes),commands:V.commands};else return V}applyCodeActionCommand(F){const Z=F.command;for(let J of GM(Z)){const{file:B,project:Y}=this.getFileAndProject(J);Y.getLanguageService().applyCodeActionCommand(J,this.getFormatOptions(B)).then((V)=>{},(V)=>{})}return{}}getStartAndEndPosition(F,Z){let J,B;if(F.startPosition!==void 0)J=F.startPosition;else J=Z.lineOffsetToPosition(F.startLine,F.startOffset),F.startPosition=J;if(F.endPosition!==void 0)B=F.endPosition;else B=Z.lineOffsetToPosition(F.endLine,F.endOffset),F.endPosition=B;return{startPosition:J,endPosition:B}}mapCodeAction({description:F,changes:Z,commands:J}){return{description:F,changes:this.mapTextChangesToCodeEdits(Z),commands:J}}mapCodeFixAction({fixName:F,description:Z,changes:J,commands:B,fixId:Y,fixAllDescription:V}){return{fixName:F,description:Z,changes:this.mapTextChangesToCodeEdits(J),commands:B,fixId:Y,fixAllDescription:V}}mapTextChangesToCodeEdits(F){return F.map((Z)=>this.mapTextChangeToCodeEdit(Z))}mapTextChangeToCodeEdit(F){const Z=this.projectService.getScriptInfoOrConfig(F.fileName);if(!!F.isNewFile===!!Z){if(!Z)this.projectService.logErrorForScriptInfoNotFound(F.fileName);S.fail("Expected isNewFile for (only) new files. "+JSON.stringify({isNewFile:!!F.isNewFile,hasScriptInfo:!!Z}))}return Z?{fileName:F.fileName,textChanges:F.textChanges.map((J)=>vU0(J,Z))}:kU0(F)}convertTextChangeToCodeEdit(F,Z){return{start:Z.positionToLineOffset(F.span.start),end:Z.positionToLineOffset(F.span.start+F.span.length),newText:F.newText?F.newText:""}}getBraceMatching(F,Z){const{file:J,languageService:B}=this.getFileAndLanguageServiceForSyntacticOperation(F),Y=this.projectService.getScriptInfoForNormalizedPath(J),V=this.getPosition(F,Y),q=B.getBraceMatchingAtPosition(J,V);return!q?void 0:Z?q.map((U)=>JY(U,Y)):q}getDiagnosticsForProject(F,Z,J){if(this.suppressDiagnosticEvents)return;const{fileNames:B,languageServiceDisabled:Y}=this.getProjectInfoWorker(J,void 0,!0,!0);if(Y)return;const V=B.filter((v)=>!v.includes("lib.d.ts"));if(V.length===0)return;const q=[],U=[],j=[],M=[],A=L9(J),T=this.projectService.ensureDefaultProjectForFile(A);for(let v of V)if(this.getCanonicalFileName(v)===this.getCanonicalFileName(J))q.push(v);else if(!this.projectService.getScriptInfo(v).isScriptOpen())if(f3(v))M.push(v);else j.push(v);else U.push(v);const P=[...q,...U,...j,...M].map((v)=>({fileName:v,project:T}));this.updateErrorCheck(F,P,Z,!1)}configurePlugin(F){this.projectService.configurePlugin(F)}getSmartSelectionRange(F,Z){const{locations:J}=F,{file:B,languageService:Y}=this.getFileAndLanguageServiceForSyntacticOperation(F),V=S.checkDefined(this.projectService.getScriptInfo(B));return K1(J,(q)=>{const U=this.getPosition(q,V),j=Y.getSmartSelectionRange(B,U);return Z?this.mapSelectionRange(j,V):j})}toggleLineComment(F,Z){const{file:J,languageService:B}=this.getFileAndLanguageServiceForSyntacticOperation(F),Y=this.projectService.getScriptInfo(J),V=this.getRange(F,Y),q=B.toggleLineComment(J,V);if(Z){const U=this.projectService.getScriptInfoForNormalizedPath(J);return q.map((j)=>this.convertTextChangeToCodeEdit(j,U))}return q}toggleMultilineComment(F,Z){const{file:J,languageService:B}=this.getFileAndLanguageServiceForSyntacticOperation(F),Y=this.projectService.getScriptInfoForNormalizedPath(J),V=this.getRange(F,Y),q=B.toggleMultilineComment(J,V);if(Z){const U=this.projectService.getScriptInfoForNormalizedPath(J);return q.map((j)=>this.convertTextChangeToCodeEdit(j,U))}return q}commentSelection(F,Z){const{file:J,languageService:B}=this.getFileAndLanguageServiceForSyntacticOperation(F),Y=this.projectService.getScriptInfoForNormalizedPath(J),V=this.getRange(F,Y),q=B.commentSelection(J,V);if(Z){const U=this.projectService.getScriptInfoForNormalizedPath(J);return q.map((j)=>this.convertTextChangeToCodeEdit(j,U))}return q}uncommentSelection(F,Z){const{file:J,languageService:B}=this.getFileAndLanguageServiceForSyntacticOperation(F),Y=this.projectService.getScriptInfoForNormalizedPath(J),V=this.getRange(F,Y),q=B.uncommentSelection(J,V);if(Z){const U=this.projectService.getScriptInfoForNormalizedPath(J);return q.map((j)=>this.convertTextChangeToCodeEdit(j,U))}return q}mapSelectionRange(F,Z){const J={textSpan:JY(F.textSpan,Z)};if(F.parent)J.parent=this.mapSelectionRange(F.parent,Z);return J}getScriptInfoFromProjectService(F){const Z=L9(F),J=this.projectService.getScriptInfoForNormalizedPath(Z);if(!J)return this.projectService.logErrorForScriptInfoNotFound(Z),wV.ThrowNoProject();return J}toProtocolCallHierarchyItem(F){const Z=this.getScriptInfoFromProjectService(F.file);return{name:F.name,kind:F.kind,kindModifiers:F.kindModifiers,file:F.file,containerName:F.containerName,span:JY(F.span,Z),selectionSpan:JY(F.selectionSpan,Z)}}toProtocolCallHierarchyIncomingCall(F){const Z=this.getScriptInfoFromProjectService(F.from.file);return{from:this.toProtocolCallHierarchyItem(F.from),fromSpans:F.fromSpans.map((J)=>JY(J,Z))}}toProtocolCallHierarchyOutgoingCall(F,Z){return{to:this.toProtocolCallHierarchyItem(F.to),fromSpans:F.fromSpans.map((J)=>JY(J,Z))}}prepareCallHierarchy(F){const{file:Z,project:J}=this.getFileAndProject(F),B=this.projectService.getScriptInfoForNormalizedPath(Z);if(B){const Y=this.getPosition(F,B),V=J.getLanguageService().prepareCallHierarchy(Z,Y);return V&&da(V,(q)=>this.toProtocolCallHierarchyItem(q))}return}provideCallHierarchyIncomingCalls(F){const{file:Z,project:J}=this.getFileAndProject(F),B=this.getScriptInfoFromProjectService(Z);return J.getLanguageService().provideCallHierarchyIncomingCalls(Z,this.getPosition(F,B)).map((V)=>this.toProtocolCallHierarchyIncomingCall(V))}provideCallHierarchyOutgoingCalls(F){const{file:Z,project:J}=this.getFileAndProject(F),B=this.getScriptInfoFromProjectService(Z);return J.getLanguageService().provideCallHierarchyOutgoingCalls(Z,this.getPosition(F,B)).map((V)=>this.toProtocolCallHierarchyOutgoingCall(V,B))}getCanonicalFileName(F){const Z=this.host.useCaseSensitiveFileNames?F:_X(F);return TF(Z)}exit(){}notRequired(){return{responseRequired:!1}}requiredResponse(F){return{response:F,responseRequired:!0}}addProtocolHandler(F,Z){if(this.handlers.has(F))throw new Error(`Protocol handler already exists for command "${F}"`);this.handlers.set(F,Z)}setCurrentRequest(F){S.assert(this.currentRequestId===void 0),this.currentRequestId=F,this.cancellationToken.setRequest(F)}resetCurrentRequest(F){S.assert(this.currentRequestId===F),this.currentRequestId=void 0,this.cancellationToken.resetRequest(F)}executeWithRequestId(F,Z){try{return this.setCurrentRequest(F),Z()}finally{this.resetCurrentRequest(F)}}executeCommand(F){const Z=this.handlers.get(F.command);if(Z){const J=this.executeWithRequestId(F.seq,()=>Z(F));return this.projectService.enableRequestedPlugins(),J}else return this.logger.msg(`Unrecognized JSON command:${qq(F)}`,"Err"),this.doOutput(void 0,"unknown",F.seq,!1,`Unrecognized JSON command: ${F.command}`),{responseRequired:!1}}onMessage(F){var Z,J,B,Y,V,q,U,j,M,A,T;this.gcTimer.scheduleCollect(),this.performanceData=void 0;let R;if(this.logger.hasLevel(2)){if(R=this.hrtime(),this.logger.hasLevel(3))this.logger.info(`request:${YT(this.toStringMessage(F))}`)}let P,v;try{P=this.parseMessage(F),v=P.arguments&&P.arguments.file?P.arguments:void 0,(Z=U8)==null||Z.instant(U8.Phase.Session,"request",{seq:P.seq,command:P.command}),(J=j2)==null||J.logStartCommand(""+P.command,this.toStringMessage(F).substring(0,100)),(B=U8)==null||B.push(U8.Phase.Session,"executeCommand",{seq:P.seq,command:P.command},!0);const{response:f,responseRequired:g}=this.executeCommand(P);if((Y=U8)==null||Y.pop(),this.logger.hasLevel(2)){const n=NU0(this.hrtime(R)).toFixed(4);if(g)this.logger.perftrc(`${P.seq}::${P.command}: elapsed time (in milliseconds) ${n}`);else this.logger.perftrc(`${P.seq}::${P.command}: async elapsed time (in milliseconds) ${n}`)}if((V=j2)==null||V.logStopCommand(""+P.command,"Success"),(q=U8)==null||q.instant(U8.Phase.Session,"response",{seq:P.seq,command:P.command,success:!!f}),f)this.doOutput(f,P.command,P.seq,!0);else if(g)this.doOutput(void 0,P.command,P.seq,!1,"No content available.")}catch(f){if((U=U8)==null||U.popAll(),f instanceof dj){(j=j2)==null||j.logStopCommand(""+(P&&P.command),"Canceled: "+f),(M=U8)==null||M.instant(U8.Phase.Session,"commandCanceled",{seq:P==null?void 0:P.seq,command:P==null?void 0:P.command}),this.doOutput({canceled:!0},P.command,P.seq,!0);return}this.logErrorWorker(f,this.toStringMessage(F),v),(A=j2)==null||A.logStopCommand(""+(P&&P.command),"Error: "+f),(T=U8)==null||T.instant(U8.Phase.Session,"commandError",{seq:P==null?void 0:P.seq,command:P==null?void 0:P.command,message:f.message}),this.doOutput(void 0,P?P.command:"unknown",P?P.seq:0,!1,"Error processing request. "+f.message+"\n"+f.stack)}}parseMessage(F){return JSON.parse(F)}toStringMessage(F){return F}getFormatOptions(F){return this.projectService.getFormatCodeOptions(F)}getPreferences(F){return this.projectService.getPreferences(F)}getHostFormatOptions(){return this.projectService.getHostFormatCodeOptions()}getHostPreferences(){return this.projectService.getHostPreferences()}}}}),hO,k0D,ofD,sfD,rg,og,QzD,xT,_O,vS,dU0=G({"src/server/scriptVersionCache.ts"(){_z(),$H(),hO=4,k0D=((D)=>{return D[D.PreStart=0]="PreStart",D[D.Start=1]="Start",D[D.Entire=2]="Entire",D[D.Mid=3]="Mid",D[D.End=4]="End",D[D.PostEnd=5]="PostEnd",D})(k0D||{}),ofD=class{constructor(){this.goSubtree=!0,this.lineIndex=new xT,this.endBranch=[],this.state=2,this.initialText="",this.trailingText="",this.lineIndex.root=new _O,this.startPath=[this.lineIndex.root],this.stack=[this.lineIndex.root]}get done(){return!1}insertLines(D,F){if(F)this.trailingText="";if(D)D=this.initialText+D+this.trailingText;else D=this.initialText+this.trailingText;const J=xT.linesFromText(D).lines;if(J.length>1&&J[J.length-1]==="")J.pop();let B,Y;for(let q=this.endBranch.length-1;q>=0;q--)if(this.endBranch[q].updateCounts(),this.endBranch[q].charCount()===0)if(Y=this.endBranch[q],q>0)B=this.endBranch[q-1];else B=this.branchNode;if(Y)B.remove(Y);const V=this.startPath[this.startPath.length-1];if(J.length>0)if(V.text=J[0],J.length>1){let q=new Array(J.length-1),U=V;for(let A=1;A<J.length;A++)q[A-1]=new vS(J[A]);let j=this.startPath.length-2;while(j>=0){const A=this.startPath[j];q=A.insertAt(U,q),j--,U=A}let M=q.length;while(M>0){const A=new _O;A.add(this.lineIndex.root),q=A.insertAt(this.lineIndex.root,q),M=q.length,this.lineIndex.root=A}this.lineIndex.root.updateCounts()}else for(let q=this.startPath.length-2;q>=0;q--)this.startPath[q].updateCounts();else{this.startPath[this.startPath.length-2].remove(V);for(let U=this.startPath.length-2;U>=0;U--)this.startPath[U].updateCounts()}return this.lineIndex}post(D,F,Z){if(Z===this.lineCollectionAtBranch)this.state=4;this.stack.pop()}pre(D,F,Z,J,B){const Y=this.stack[this.stack.length-1];if(this.state===2&&B===1)this.state=1,this.branchNode=Y,this.lineCollectionAtBranch=Z;let V;function q(U){if(U.isLeaf())return new vS("");else return new _O}switch(B){case 0:if(this.goSubtree=!1,this.state!==4)Y.add(Z);break;case 1:if(this.state===4)this.goSubtree=!1;else V=q(Z),Y.add(V),this.startPath.push(V);break;case 2:if(this.state!==4)V=q(Z),Y.add(V),this.startPath.push(V);else if(!Z.isLeaf())V=q(Z),Y.add(V),this.endBranch.push(V);break;case 3:this.goSubtree=!1;break;case 4:if(this.state!==4)this.goSubtree=!1;else if(!Z.isLeaf())V=q(Z),Y.add(V),this.endBranch.push(V);break;case 5:if(this.goSubtree=!1,this.state!==1)Y.add(Z);break}if(this.goSubtree)this.stack.push(V)}leaf(D,F,Z){if(this.state===1)this.initialText=Z.text.substring(0,D);else if(this.state===2)this.initialText=Z.text.substring(0,D),this.trailingText=Z.text.substring(D+F);else this.trailingText=Z.text.substring(D+F)}},sfD=class{constructor(D,F,Z){this.pos=D,this.deleteLen=F,this.insertedText=Z}getTextChangeRange(){return AI(w3(this.pos,this.deleteLen),this.insertedText?this.insertedText.length:0)}},rg=class D{constructor(){this.changes=[],this.versions=new Array(D.maxVersions),this.minVersion=0,this.currentVersion=0}versionToIndex(F){if(F<this.minVersion||F>this.currentVersion)return;return F%D.maxVersions}currentVersionToIndex(){return this.currentVersion%D.maxVersions}edit(F,Z,J){if(this.changes.push(new sfD(F,Z,J)),this.changes.length>D.changeNumberThreshold||Z>D.changeLengthThreshold||J&&J.length>D.changeLengthThreshold)this.getSnapshot()}getSnapshot(){return this._getSnapshot()}_getSnapshot(){let F=this.versions[this.currentVersionToIndex()];if(this.changes.length>0){let Z=F.index;for(let J of this.changes)Z=Z.edit(J.pos,J.deleteLen,J.insertedText);if(F=new QzD(this.currentVersion+1,this,Z,this.changes),this.currentVersion=F.version,this.versions[this.currentVersionToIndex()]=F,this.changes=[],this.currentVersion-this.minVersion>=D.maxVersions)this.minVersion=this.currentVersion-D.maxVersions+1}return F}getSnapshotVersion(){return this._getSnapshot().version}getAbsolutePositionAndLineText(F){return this._getSnapshot().index.lineNumberToInfo(F)}lineOffsetToPosition(F,Z){return this._getSnapshot().index.absolutePositionOfStartOfLine(F)+(Z-1)}positionToLineOffset(F){return this._getSnapshot().index.positionToLineOffset(F)}lineToTextSpan(F){const Z=this._getSnapshot().index,{lineText:J,absolutePosition:B}=Z.lineNumberToInfo(F+1),Y=J!==void 0?J.length:Z.absolutePositionOfStartOfLine(F+2)-B;return w3(B,Y)}getTextChangesBetweenVersions(F,Z){if(F<Z)if(F>=this.minVersion){const J=[];for(let B=F+1;B<=Z;B++){const Y=this.versions[this.versionToIndex(B)];for(let V of Y.changesSincePreviousVersion)J.push(V.getTextChangeRange())}return UFD(J)}else return;else return kI}getLineCount(){return this._getSnapshot().index.getLineCount()}static fromString(F){const Z=new D,J=new QzD(0,Z,new xT);Z.versions[Z.currentVersion]=J;const B=xT.linesFromText(F);return J.index.load(B.lines),Z}},rg.changeNumberThreshold=8,rg.changeLengthThreshold=256,rg.maxVersions=8,og=rg,QzD=class D{constructor(F,Z,J,B=T4){this.version=F,this.cache=Z,this.index=J,this.changesSincePreviousVersion=B}getText(F,Z){return this.index.getText(F,Z-F)}getLength(){return this.index.getLength()}getChangeRange(F){if(F instanceof D&&this.cache===F.cache)if(this.version<=F.version)return kI;else return this.cache.getTextChangesBetweenVersions(F.version,this.version)}},xT=class D{constructor(){this.checkEdits=!1}absolutePositionOfStartOfLine(F){return this.lineNumberToInfo(F).absolutePosition}positionToLineOffset(F){const{oneBasedLine:Z,zeroBasedColumn:J}=this.root.charOffsetToLineInfo(1,F);return{line:Z,offset:J+1}}positionToColumnAndLineText(F){return this.root.charOffsetToLineInfo(1,F)}getLineCount(){return this.root.lineCount()}lineNumberToInfo(F){const Z=this.getLineCount();if(F<=Z){const{position:J,leaf:B}=this.root.lineNumberToInfo(F,0);return{absolutePosition:J,lineText:B&&B.text}}else return{absolutePosition:this.root.charCount(),lineText:void 0}}load(F){if(F.length>0){const Z=[];for(let J=0;J<F.length;J++)Z[J]=new vS(F[J]);this.root=D.buildTreeFromBottom(Z)}else this.root=new _O}walk(F,Z,J){this.root.walk(F,Z,J)}getText(F,Z){let J="";if(Z>0&&F<this.root.charCount())this.walk(F,Z,{goSubtree:!0,done:!1,leaf:(B,Y,V)=>{J=J.concat(V.text.substring(B,B+Y))}});return J}getLength(){return this.root.charCount()}every(F,Z,J){if(!J)J=this.root.charCount();const B={goSubtree:!0,done:!1,leaf(Y,V,q){if(!F(q,Y,V))this.done=!0}};return this.walk(Z,J-Z,B),!B.done}edit(F,Z,J){if(this.root.charCount()===0){if(S.assert(Z===0),J!==void 0)return this.load(D.linesFromText(J).lines),this;return}else{let B;if(this.checkEdits){const q=this.getText(0,this.root.charCount());B=q.slice(0,F)+J+q.slice(F+Z)}const Y=new ofD;let V=!1;if(F>=this.root.charCount()){F=this.root.charCount()-1;const q=this.getText(F,1);if(J)J=q+J;else J=q;Z=0,V=!0}else if(Z>0){const q=F+Z,{zeroBasedColumn:U,lineText:j}=this.positionToColumnAndLineText(q);if(U===0)Z+=j.length,J=J?J+j:j}if(this.root.walk(F,Z,Y),Y.insertLines(J,V),this.checkEdits){const q=Y.lineIndex.getText(0,Y.lineIndex.getLength());S.assert(B===q,"buffer edit mismatch")}return Y.lineIndex}}static buildTreeFromBottom(F){if(F.length<hO)return new _O(F);const Z=new Array(Math.ceil(F.length/hO));let J=0;for(let B=0;B<Z.length;B++){const Y=Math.min(J+hO,F.length);Z[B]=new _O(F.slice(J,Y)),J=Y}return this.buildTreeFromBottom(Z)}static linesFromText(F){const Z=CM(F);if(Z.length===0)return{lines:[],lineMap:Z};const J=new Array(Z.length),B=Z.length-1;for(let V=0;V<B;V++)J[V]=F.substring(Z[V],Z[V+1]);const Y=F.substring(Z[B]);if(Y.length>0)J[B]=Y;else J.pop();return{lines:J,lineMap:Z}}},_O=class D{constructor(F=[]){if(this.children=F,this.totalChars=0,this.totalLines=0,F.length)this.updateCounts()}isLeaf(){return!1}updateCounts(){this.totalChars=0,this.totalLines=0;for(let F of this.children)this.totalChars+=F.charCount(),this.totalLines+=F.lineCount()}execWalk(F,Z,J,B,Y){if(J.pre)J.pre(F,Z,this.children[B],this,Y);if(J.goSubtree){if(this.children[B].walk(F,Z,J),J.post)J.post(F,Z,this.children[B],this,Y)}else J.goSubtree=!0;return J.done}skipChild(F,Z,J,B,Y){if(B.pre&&!B.done)B.pre(F,Z,this.children[J],this,Y),B.goSubtree=!0}walk(F,Z,J){let B=0,Y=this.children[B].charCount(),V=F;while(V>=Y)this.skipChild(V,Z,B,J,0),V-=Y,B++,Y=this.children[B].charCount();if(V+Z<=Y){if(this.execWalk(V,Z,J,B,2))return}else{if(this.execWalk(V,Y-V,J,B,1))return;let q=Z-(Y-V);B++,Y=this.children[B].charCount();while(q>Y){if(this.execWalk(0,Y,J,B,3))return;q-=Y,B++,Y=this.children[B].charCount()}if(q>0){if(this.execWalk(0,q,J,B,4))return}}if(J.pre){const q=this.children.length;if(B<q-1)for(let U=B+1;U<q;U++)this.skipChild(0,0,U,J,5)}}charOffsetToLineInfo(F,Z){if(this.children.length===0)return{oneBasedLine:F,zeroBasedColumn:Z,lineText:void 0};for(let Y of this.children)if(Y.charCount()>Z)if(Y.isLeaf())return{oneBasedLine:F,zeroBasedColumn:Z,lineText:Y.text};else return Y.charOffsetToLineInfo(F,Z);else Z-=Y.charCount(),F+=Y.lineCount();const J=this.lineCount();if(J===0)return{oneBasedLine:1,zeroBasedColumn:0,lineText:void 0};const B=S.checkDefined(this.lineNumberToInfo(J,0).leaf);return{oneBasedLine:J,zeroBasedColumn:B.charCount(),lineText:void 0}}lineNumberToInfo(F,Z){for(let J of this.children){const B=J.lineCount();if(B>=F)return J.isLeaf()?{position:Z,leaf:J}:J.lineNumberToInfo(F,Z);else F-=B,Z+=J.charCount()}return{position:Z,leaf:void 0}}splitAfter(F){let Z;const J=this.children.length;F++;const B=F;if(F<J){Z=new D;while(F<J)Z.add(this.children[F]),F++;Z.updateCounts()}return this.children.length=B,Z}remove(F){const Z=this.findChildIndex(F),J=this.children.length;if(Z<J-1)for(let B=Z;B<J-1;B++)this.children[B]=this.children[B+1];this.children.pop()}findChildIndex(F){const Z=this.children.indexOf(F);return S.assert(Z!==-1),Z}insertAt(F,Z){let J=this.findChildIndex(F);const B=this.children.length,Y=Z.length;if(B<hO&&J===B-1&&Y===1)return this.add(Z[0]),this.updateCounts(),[];else{const V=this.splitAfter(J);let q=0;J++;while(J<hO&&q<Y)this.children[J]=Z[q],J++,q++;let U=[],j=0;if(q<Y){j=Math.ceil((Y-q)/hO),U=new Array(j);let M=0;for(let T=0;T<j;T++)U[T]=new D;let A=U[0];while(q<Y)if(A.add(Z[q]),q++,A.children.length===hO)M++,A=U[M];for(let T=U.length-1;T>=0;T--)if(U[T].children.length===0)U.pop()}if(V)U.push(V);this.updateCounts();for(let M=0;M<j;M++)U[M].updateCounts();return U}}add(F){this.children.push(F),S.assert(this.children.length<=hO)}charCount(){return this.totalChars}lineCount(){return this.totalLines}},vS=class{constructor(D){this.text=D}isLeaf(){return!0}walk(D,F,Z){Z.leaf(D,F,this)}charCount(){return this.text.length}lineCount(){return 1}}}}),VzD,zzD,cU0=G({"src/server/typingInstallerAdapter.ts"(){_z(),$H(),VzD=class D{constructor(F,Z,J,B,Y,V){this.telemetryEnabled=F,this.logger=Z,this.host=J,this.globalTypingsCacheLocation=B,this.event=Y,this.maxActiveRequestCount=V,this.activeRequestCount=0,this.requestQueue=aR(),this.requestMap=new Map,this.requestedRegistry=!1,this.packageInstallId=0}isKnownTypesPackageName(F){var Z;if(WX.validatePackageName(F)!==WX.NameValidationResult.Ok)return!1;if(!this.requestedRegistry)this.requestedRegistry=!0,this.installer.send({kind:"typesRegistry"});return!!((Z=this.typesRegistryCache)==null?void 0:Z.has(F))}installPackage(F){this.packageInstallId++;const Z={kind:"installPackage",...F,id:this.packageInstallId},J=new Promise((B,Y)=>{(this.packageInstalledPromise??(this.packageInstalledPromise=new Map)).set(this.packageInstallId,{resolve:B,reject:Y})});return this.installer.send(Z),J}attach(F){this.projectService=F,this.installer=this.createInstallerProcess()}onProjectClosed(F){this.installer.send({projectName:F.getProjectName(),kind:"closeProject"})}enqueueInstallTypingsRequest(F,Z,J){const B=GVD(F,Z,J);if(this.logger.hasLevel(3))this.logger.info(`TIAdapter:: Scheduling throttled operation:${qq(B)}`);if(this.activeRequestCount<this.maxActiveRequestCount)this.scheduleRequest(B);else{if(this.logger.hasLevel(3))this.logger.info(`TIAdapter:: Deferring request for: ${B.projectName}`);this.requestQueue.enqueue(B),this.requestMap.set(B.projectName,B)}}handleMessage(F){var Z,J;if(this.logger.hasLevel(3))this.logger.info(`TIAdapter:: Received response:${qq(F)}`);switch(F.kind){case Sh:this.typesRegistryCache=new Map(Object.entries(F.typesRegistry));break;case Ww:{const B=(Z=this.packageInstalledPromise)==null?void 0:Z.get(F.id);if(S.assertIsDefined(B,"Should find the promise for package install"),(J=this.packageInstalledPromise)==null||J.delete(F.id),F.success)B.resolve({successMessage:F.message});else B.reject(F.message);this.projectService.updateTypingsForProject(F),this.event(F,"setTypings");break}case Is:{const B={message:F.message};this.event(B,"typesInstallerInitializationFailed");break}case uh:{const B={eventId:F.eventId,packages:F.packagesToInstall};this.event(B,"beginInstallTypes");break}case fh:{if(this.telemetryEnabled){const V={telemetryEventName:"typingsInstalled",payload:{installedPackages:F.packagesToInstall.join(","),installSuccess:F.installSuccess,typingsInstallerVersion:F.typingsInstallerVersion}};this.event(V,"telemetry")}const B={eventId:F.eventId,packages:F.packagesToInstall,success:F.installSuccess},Y="endInstallTypes";this.event(B,Y);break}case qw:{this.projectService.updateTypingsForProject(F);break}case Kw:{if(this.activeRequestCount>0)this.activeRequestCount--;else S.fail("TIAdapter:: Received too many responses");while(!this.requestQueue.isEmpty()){const B=this.requestQueue.dequeue();if(this.requestMap.get(B.projectName)===B){this.requestMap.delete(B.projectName),this.scheduleRequest(B);break}if(this.logger.hasLevel(3))this.logger.info(`TIAdapter:: Skipping defunct request for: ${B.projectName}`)}this.projectService.updateTypingsForProject(F),this.event(F,"setTypings");break}case QT:this.projectService.watchTypingLocations(F);break;default:MM(F)}}scheduleRequest(F){if(this.logger.hasLevel(3))this.logger.info(`TIAdapter:: Scheduling request for: ${F.projectName}`);this.activeRequestCount++,this.host.setTimeout(()=>{if(this.logger.hasLevel(3))this.logger.info(`TIAdapter:: Sending request:${qq(F)}`);this.installer.send(F)},D.requestDelayMillis,`${F.projectName}::${F.kind}`)}},VzD.requestDelayMillis=100,zzD=VzD}}),afD={};y(afD,{ActionInvalidate:()=>qw,ActionPackageInstalled:()=>Ww,ActionSet:()=>Kw,ActionWatchTypingLocations:()=>QT,Arguments:()=>ys,AutoImportProviderProject:()=>N0D,AuxiliaryProject:()=>C0D,CharRangeSection:()=>k0D,CloseFileWatcherEvent:()=>ig,CommandNames:()=>BzD,ConfigFileDiagEvent:()=>gg,ConfiguredProject:()=>T0D,CreateDirectoryWatcherEvent:()=>lg,CreateFileWatcherEvent:()=>cg,Errors:()=>wV,EventBeginInstallTypes:()=>uh,EventEndInstallTypes:()=>fh,EventInitializationFailed:()=>Is,EventTypesRegistry:()=>Sh,ExternalProject:()=>fg,GcTimer:()=>G0D,InferredProject:()=>A0D,LargeFileReferencedEvent:()=>_g,LineIndex:()=>xT,LineLeaf:()=>vS,LineNode:()=>_O,LogLevel:()=>K0D,Msg:()=>q0D,OpenFileInfoTelemetryEvent:()=>P0D,Project:()=>FH,ProjectInfoTelemetryEvent:()=>dg,ProjectKind:()=>vT,ProjectLanguageServiceStateEvent:()=>mg,ProjectLoadingFinishEvent:()=>hg,ProjectLoadingStartEvent:()=>kg,ProjectReferenceProjectLoadKind:()=>u0D,ProjectService:()=>f0D,ProjectsUpdatedInBackgroundEvent:()=>SS,ScriptInfo:()=>O0D,ScriptVersionCache:()=>og,Session:()=>YzD,TextStorage:()=>M0D,ThrottledOperations:()=>U0D,TypingsCache:()=>j0D,TypingsInstallerAdapter:()=>zzD,allFilesAreJsOrDts:()=>kVD,allRootFilesAreJsOrDts:()=>xVD,asNormalizedPath:()=>eJ,convertCompilerOptions:()=>vg,convertFormatOptions:()=>iA,convertScriptKindName:()=>I0D,convertTypeAcquisition:()=>gVD,convertUserPreferences:()=>mVD,convertWatchOptions:()=>wS,countEachFileTypes:()=>yS,createInstallTypingsRequest:()=>GVD,createModuleSpecifierCache:()=>aVD,createNormalizedPathMap:()=>IfD,createPackageJsonCache:()=>tVD,createSortedArray:()=>LVD,emptyArray:()=>T4,findArgument:()=>GND,forEachResolvedProjectReferenceProject:()=>pA,formatDiagnosticToProtocol:()=>fS,formatMessage:()=>eVD,getBaseConfigFileName:()=>W0D,getLocationInNewDocument:()=>ZzD,hasArgument:()=>UND,hasNoTypeScriptSource:()=>hVD,indent:()=>YT,isBackgroundProject:()=>PS,isConfigFile:()=>nVD,isConfiguredProject:()=>Oq,isDynamicFileName:()=>IS,isExternalProject:()=>L0D,isInferredProject:()=>lA,isInferredProjectName:()=>HVD,makeAutoImportProviderProjectName:()=>OVD,makeAuxiliaryProjectName:()=>jVD,makeInferredProjectName:()=>MVD,maxFileSize:()=>xg,maxProgramSizeForNonTsFiles:()=>bg,normalizedPathToPath:()=>RS,nowString:()=>HND,nullCancellationToken:()=>JzD,nullTypingsInstaller:()=>ug,projectContainsInfoDirectly:()=>kO,protocol:()=>bVD,removeSorted:()=>yfD,stringifyIndented:()=>qq,toEvent:()=>DzD,toNormalizedPath:()=>L9,tryConvertScriptKindName:()=>R0D,typingsInstaller:()=>WVD,updateProjectIfDirty:()=>$Z});var $H=G({"src/server/_namespaces/ts.server.ts"(){vh(),UVD(),$U0(),ZU0(),JU0(),BU0(),QU0(),qU0(),HU0(),AU0(),CU0(),EU0(),mU0(),dU0(),cU0()}}),tfD={};y(tfD,{ANONYMOUS:()=>N_,AccessFlags:()=>Dl,AssertionLevel:()=>Tc,AssignmentDeclarationKind:()=>Vl,AssignmentKind:()=>ap,Associativity:()=>ep,BreakpointResolver:()=>De,BuilderFileEmit:()=>Js,BuilderProgramKind:()=>Bs,BuilderState:()=>aJ,BundleFileSectionKind:()=>Il,CallHierarchy:()=>PO,CharacterCodes:()=>Ll,CheckFlags:()=>oc,CheckMode:()=>kk,ClassificationType:()=>ns,ClassificationTypeNames:()=>ps,CommentDirectiveType:()=>vc,Comparison:()=>VD,CompletionInfoFlags:()=>_s,CompletionTriggerKind:()=>vs,Completions:()=>vO,ContainerFlags:()=>pr,ContextFlags:()=>gc,Debug:()=>S,DiagnosticCategory:()=>ZI,Diagnostics:()=>H,DocumentHighlights:()=>I_,ElementFlags:()=>ec,EmitFlags:()=>nf,EmitHint:()=>Nl,EmitOnly:()=>xc,EndOfLineState:()=>ds,EnumKind:()=>rc,ExitStatus:()=>kc,ExportKind:()=>Ft,Extension:()=>Al,ExternalEmitHelpers:()=>El,FileIncludeKind:()=>kf,FilePreprocessingDiagnosticsKind:()=>bc,FileSystemEntryKind:()=>fl,FileWatcherEventKind:()=>ul,FindAllReferences:()=>c7,FlattenLevel:()=>zo,FlowFlags:()=>$I,ForegroundColorEscapeSequences:()=>so,FunctionFlags:()=>tp,GeneratedIdentifierFlags:()=>xf,GetLiteralTextFlags:()=>rp,GoToDefinition:()=>_A,HighlightSpanKind:()=>xs,IdentifierNameMap:()=>jO,IdentifierNameMultiMap:()=>Vo,ImportKind:()=>Dt,ImportsNotUsedAsValues:()=>Gl,IndentStyle:()=>ks,IndexFlags:()=>Fl,IndexKind:()=>Jl,InferenceFlags:()=>Yl,InferencePriority:()=>Xl,InlayHintKind:()=>bs,InlayHints:()=>pDD,InternalEmitFlags:()=>Cl,InternalSymbolName:()=>sc,InvalidatedProjectKind:()=>Rs,JSDocParsingMode:()=>wl,JsDoc:()=>Mq,JsTyping:()=>WX,JsxEmit:()=>Ul,JsxFlags:()=>uc,JsxReferenceKind:()=>$l,LanguageServiceMode:()=>Ss,LanguageVariant:()=>Ol,LexicalEnvironmentFlags:()=>Rl,ListFormat:()=>yl,LogLevel:()=>Ic,MemberOverrideStatus:()=>hc,ModifierFlags:()=>vf,ModuleDetectionKind:()=>zl,ModuleInstanceState:()=>ir,ModuleKind:()=>JE,ModuleResolutionKind:()=>cj,ModuleSpecifierEnding:()=>Qn,NavigateTo:()=>SJD,NavigationBar:()=>mJD,NewLineKind:()=>Hl,NodeBuilderFlags:()=>mc,NodeCheckFlags:()=>ac,NodeFactoryFlags:()=>Hn,NodeFlags:()=>ff,NodeResolutionFeatures:()=>dr,ObjectFlags:()=>mf,OperationCanceledException:()=>dj,OperatorPrecedence:()=>Dn,OrganizeImports:()=>tJ,OrganizeImportsMode:()=>fs,OuterExpressionKinds:()=>Tl,OutliningElementsCollector:()=>sDD,OutliningSpanKind:()=>gs,OutputFileType:()=>ms,PackageJsonAutoImportPreference:()=>ws,PackageJsonDependencyGroup:()=>Ps,PatternMatchKind:()=>y_,PollingInterval:()=>rf,PollingWatchKind:()=>Wl,PragmaKindFlags:()=>Pl,PrivateIdentifierKind:()=>En,ProcessLevel:()=>Uo,ProgramUpdateLevel:()=>wo,QuotePreference:()=>ra,RelationComparisonResult:()=>bf,Rename:()=>Tg,ScriptElementKind:()=>ls,ScriptElementKindModifier:()=>is,ScriptKind:()=>cf,ScriptSnapshot:()=>xh,ScriptTarget:()=>Ml,SemanticClassificationFormat:()=>us,SemanticMeaning:()=>na,SemicolonPreference:()=>hs,SignatureCheckMode:()=>hk,SignatureFlags:()=>df,SignatureHelp:()=>OS,SignatureKind:()=>Zl,SmartSelectionRange:()=>eDD,SnippetKind:()=>pf,SortKind:()=>Nc,StructureIsReused:()=>hf,SymbolAccessibility:()=>lc,SymbolDisplay:()=>PV,SymbolDisplayPartKind:()=>Gw,SymbolFlags:()=>_f,SymbolFormatFlags:()=>cc,SyntaxKind:()=>uf,SyntheticSymbolKind:()=>ic,Ternary:()=>Ql,ThrottledCancellationToken:()=>et,TokenClass:()=>cs,TokenFlags:()=>fc,TransformFlags:()=>lf,TypeFacts:()=>xk,TypeFlags:()=>gf,TypeFormatFlags:()=>dc,TypeMapKind:()=>Bl,TypePredicateKind:()=>pc,TypeReferenceSerializationKind:()=>nc,UnionReduction:()=>_c,UpToDateStatusType:()=>Cs,VarianceFlags:()=>tc,Version:()=>kJ,VersionRange:()=>eR,WatchDirectoryFlags:()=>jl,WatchDirectoryKind:()=>ql,WatchFileKind:()=>Kl,WatchLogLevel:()=>So,WatchType:()=>l4,accessPrivateIdentifier:()=>y2D,addDisposableResourceHelper:()=>bx,addEmitFlags:()=>BX,addEmitHelper:()=>rM,addEmitHelpers:()=>AQ,addInternalEmitFlags:()=>pM,addNodeFactoryPatcher:()=>kjD,addObjectAllocatorPatcher:()=>w9D,addRange:()=>s8,addRelatedInfo:()=>gF,addSyntheticLeadingComment:()=>jN,addSyntheticTrailingComment:()=>Qx,addToSeen:()=>iJ,advancedAsyncSuperHelper:()=>$P,affectsDeclarationPathOptionDeclarations:()=>Nr,affectsEmitOptionDeclarations:()=>Er,allKeysStartWithDot:()=>Pk,altDirectorySeparator:()=>KI,and:()=>Rf,append:()=>P1,appendIfUnique:()=>kX,arrayFrom:()=>n6,arrayIsEqualTo:()=>r$,arrayIsHomogeneous:()=>s9D,arrayIsSorted:()=>sU,arrayOf:()=>E6D,arrayReverseIterator:()=>nR,arrayToMap:()=>KW,arrayToMultiMap:()=>sR,arrayToNumericMap:()=>T6D,arraysEqual:()=>U6,assertType:()=>MM,assign:()=>bj,assignHelper:()=>Gx,asyncDelegator:()=>Mx,asyncGeneratorHelper:()=>Hx,asyncSuperHelper:()=>FP,asyncValues:()=>Ox,attachFileToDiagnostics:()=>mM,awaitHelper:()=>oM,awaiterHelper:()=>Lx,base64decode:()=>j9D,base64encode:()=>O9D,binarySearch:()=>eQ,binarySearchKey:()=>WM,bindSourceFile:()=>Z2D,breakIntoCharacterSpans:()=>NJD,breakIntoWordSpans:()=>TJD,buildLinkParts:()=>rZD,buildOpts:()=>Ok,buildOverload:()=>AfD,bundlerModuleNameResolver:()=>n3D,canBeConvertedToAsync:()=>qt,canHaveDecorators:()=>hG,canHaveExportModifier:()=>ky,canHaveFlowNode:()=>Ky,canHaveIllegalDecorators:()=>en,canHaveIllegalModifiers:()=>Y3D,canHaveIllegalType:()=>qLD,canHaveIllegalTypeParameters:()=>X3D,canHaveJSDoc:()=>qy,canHaveLocals:()=>cX,canHaveModifiers:()=>oJ,canHaveSymbol:()=>aB,canJsonReportNoInputFiles:()=>hN,canProduceDiagnostics:()=>ak,canUsePropertyAccess:()=>lp,canWatchAffectingLocation:()=>b$D,canWatchAtTypes:()=>v$D,canWatchDirectoryOrFile:()=>Oh,cartesianProduct:()=>b6D,cast:()=>qF,chainBundle:()=>sJ,chainDiagnosticMessages:()=>o6,changeAnyExtension:()=>VI,changeCompilerHostLikeToUseCache:()=>Zw,changeExtension:()=>tK,changeFullExtension:()=>DFD,changesAffectModuleResolution:()=>Nv,changesAffectingProgramStructure:()=>$7D,childIsDecorated:()=>PE,classElementOrClassElementParameterIsDecorated:()=>ki,classHasClassThisAssignment:()=>Ko,classHasDeclaredOrExplicitlyAssignedName:()=>qo,classHasExplicitlyAssignedName:()=>rk,classOrConstructorParameterIsDecorated:()=>zV,classPrivateFieldGetHelper:()=>ux,classPrivateFieldInHelper:()=>vx,classPrivateFieldSetHelper:()=>fx,classicNameResolver:()=>e3D,classifier:()=>xBD,cleanExtendedConfigCache:()=>Bh,clear:()=>S7,clearMap:()=>G$,clearSharedExtendedConfigFileWatcher:()=>Io,climbPastPropertyAccess:()=>hh,climbPastPropertyOrElementAccess:()=>AZD,clone:()=>Gc,cloneCompilerOptions:()=>qa,closeFileWatcher:()=>LB,closeFileWatcherOf:()=>cZ,codefix:()=>o3,collapseTextChangeRangesAcrossMultipleVersions:()=>UFD,collectExternalModuleInfo:()=>Bo,combine:()=>r1,combinePaths:()=>Y5,commentPragmas:()=>JI,commonOptionsWithBuild:()=>uP,commonPackageFolders:()=>Zn,compact:()=>VW,compareBooleans:()=>Fz,compareDataObjects:()=>Ip,compareDiagnostics:()=>DN,compareDiagnosticsSkipRelatedInformation:()=>Pb,compareEmitHelpers:()=>R4D,compareNumberOfDirectorySeparators:()=>vy,comparePaths:()=>BV,comparePathsCaseInsensitive:()=>lMD,comparePathsCaseSensitive:()=>cMD,comparePatternKeys:()=>gr,compareProperties:()=>S6D,compareStringsCaseInsensitive:()=>Nf,compareStringsCaseInsensitiveEslintCompatible:()=>y6D,compareStringsCaseSensitive:()=>Z2,compareStringsCaseSensitiveUI:()=>tR,compareTextSpans:()=>Ef,compareValues:()=>V9,compileOnSaveCommandLineOption:()=>wP,compilerOptionsAffectDeclarationPath:()=>g9D,compilerOptionsAffectEmit:()=>_9D,compilerOptionsAffectSemanticDiagnostics:()=>h9D,compilerOptionsDidYouMeanDiagnostics:()=>bP,compilerOptionsIndicateEsModules:()=>Oa,compose:()=>HMD,computeCommonSourceDirectoryOfFilenames:()=>W$D,computeLineAndCharacterOfPosition:()=>ij,computeLineOfPosition:()=>QE,computeLineStarts:()=>CM,computePositionOfLineAndCharacter:()=>Fv,computeSignature:()=>lG,computeSignatureWithDiagnostics:()=>Ds,computeSuggestionDiagnostics:()=>Vt,computedOptions:()=>E4,concatenate:()=>y5,concatenateDiagnosticMessageChains:()=>v9D,consumesNodeCoreModules:()=>M_,contains:()=>$8,containsIgnoredPath:()=>VN,containsObjectRestOrSpread:()=>AP,containsParseError:()=>ZL,containsPath:()=>hJ,convertCompilerOptionsForTelemetry:()=>w3D,convertCompilerOptionsFromJson:()=>GAD,convertJsonOption:()=>_G,convertToBase64:()=>M9D,convertToJson:()=>IP,convertToObject:()=>T3D,convertToOptionsWithAbsolutePaths:()=>Mr,convertToRelativePath:()=>YE,convertToTSConfig:()=>FAD,convertTypeAcquisitionFromJson:()=>HAD,copyComments:()=>oG,copyEntries:()=>Tv,copyLeadingComments:()=>RA,copyProperties:()=>Hc,copyTrailingAsLeadingComments:()=>bw,copyTrailingComments:()=>MT,couldStartTrivia:()=>JFD,countWhere:()=>$7,createAbstractBuilder:()=>CED,createAccessorPropertyBackingField:()=>Fr,createAccessorPropertyGetRedirector:()=>G3D,createAccessorPropertySetRedirector:()=>H3D,createBaseNodeFactory:()=>z4D,createBinaryExpressionTrampoline:()=>Xk,createBindingHelper:()=>_L,createBuildInfo:()=>tP,createBuilderProgram:()=>Fs,createBuilderProgramUsingProgramBuildInfo:()=>u$D,createBuilderStatusReporter:()=>o$D,createCacheWithRedirects:()=>ur,createCacheableExportInfoMap:()=>aa,createCachedDirectoryStructureHost:()=>Zh,createClassNamedEvaluationHelperBlock:()=>v2D,createClassThisAssignmentBlock:()=>u2D,createClassifier:()=>_ND,createCommentDirectivesMap:()=>Q7D,createCompilerDiagnostic:()=>D4,createCompilerDiagnosticForInvalidCustomType:()=>L3D,createCompilerDiagnosticFromMessageChain:()=>yb,createCompilerHost:()=>U$D,createCompilerHostFromProgramHost:()=>Os,createCompilerHostWorker:()=>vo,createDetachedDiagnostic:()=>SL,createDiagnosticCollection:()=>NL,createDiagnosticForFileFromMessageChain:()=>ui,createDiagnosticForNode:()=>c8,createDiagnosticForNodeArray:()=>XL,createDiagnosticForNodeArrayFromMessageChain:()=>lI,createDiagnosticForNodeFromMessageChain:()=>GQ,createDiagnosticForNodeInSourceFile:()=>WJ,createDiagnosticForRange:()=>L7D,createDiagnosticMessageChainFromDiagnostic:()=>j7D,createDiagnosticReporter:()=>Qw,createDocumentPositionMapper:()=>C2D,createDocumentRegistry:()=>WJD,createDocumentRegistryInternal:()=>Jt,createEmitAndSemanticDiagnosticsBuilderProgram:()=>Xs,createEmitHelperFactory:()=>T4D,createEmptyExports:()=>WP,createExpressionForJsxElement:()=>e4D,createExpressionForJsxFragment:()=>D3D,createExpressionForObjectLiteralElementLike:()=>F3D,createExpressionForPropertyName:()=>nn,createExpressionFromEntityName:()=>UP,createExternalHelpersImportDeclarationIfNeeded:()=>sn,createFileDiagnostic:()=>Q3,createFileDiagnosticFromMessageChain:()=>vv,createForOfBindingStatement:()=>pn,createGetCanonicalFileName:()=>c3,createGetSourceFile:()=>uo,createGetSymbolAccessibilityDiagnosticForNode:()=>AV,createGetSymbolAccessibilityDiagnosticForNodeName:()=>J$D,createGetSymbolWalker:()=>J2D,createIncrementalCompilerHost:()=>Ls,createIncrementalProgram:()=>n$D,createInputFiles:()=>_jD,createInputFilesWithFilePaths:()=>Un,createInputFilesWithFileTexts:()=>Gn,createJsxFactoryExpression:()=>ln,createLanguageService:()=>wBD,createLanguageServiceSourceFile:()=>t_,createMemberAccessForPropertyName:()=>kG,createModeAwareCache:()=>MO,createModeAwareCacheKey:()=>cN,createModuleNotFoundChain:()=>Rv,createModuleResolutionCache:()=>JA,createModuleResolutionLoader:()=>go,createModuleResolutionLoaderUsingGlobalCache:()=>_$D,createModuleSpecifierResolutionHost:()=>rG,createMultiMap:()=>WZ,createNodeConverters:()=>q4D,createNodeFactory:()=>ny,createOptionNameMap:()=>Vk,createOverload:()=>V0D,createPackageJsonImportFilter:()=>LT,createPackageJsonInfo:()=>_a,createParenthesizerRules:()=>K4D,createPatternMatcher:()=>OJD,createPrependNodes:()=>ro,createPrinter:()=>zq,createPrinterWithDefaults:()=>To,createPrinterWithRemoveComments:()=>eW,createPrinterWithRemoveCommentsNeverAsciiEscape:()=>Ro,createPrinterWithRemoveCommentsOmitTrailingSemicolon:()=>eP,createProgram:()=>zh,createProgramHost:()=>js,createPropertyNameNodeForIdentifierOrLiteral:()=>pb,createQueue:()=>aR,createRange:()=>kZ,createRedirectedBuilderProgram:()=>Zs,createResolutionCache:()=>Qs,createRuntimeTypeSerializer:()=>_2D,createScanner:()=>XV,createSemanticDiagnosticsBuilderProgram:()=>AED,createSet:()=>Mc,createSolutionBuilder:()=>hED,createSolutionBuilderHost:()=>xED,createSolutionBuilderWithWatch:()=>_ED,createSolutionBuilderWithWatchHost:()=>kED,createSortedArray:()=>qM,createSourceFile:()=>EP,createSourceMapGenerator:()=>O2D,createSourceMapSource:()=>gjD,createSuperAccessVariableStatement:()=>sk,createSymbolTable:()=>HF,createSymlinkCache:()=>vp,createSystemWatchFunctions:()=>s6D,createTextChange:()=>Rw,createTextChangeFromStartLength:()=>th,createTextChangeRange:()=>AI,createTextRangeFromNode:()=>Ga,createTextRangeFromSpan:()=>ah,createTextSpan:()=>w3,createTextSpanFromBounds:()=>L4,createTextSpanFromNode:()=>i2,createTextSpanFromRange:()=>bz,createTextSpanFromStringLiteralLikeContent:()=>Ua,createTextWriter:()=>Ny,createTokenRange:()=>Np,createTypeChecker:()=>q2D,createTypeReferenceDirectiveResolutionCache:()=>Rk,createTypeReferenceResolutionLoader:()=>Yh,createUnparsedSourceFile:()=>Wn,createWatchCompilerHost:()=>fED,createWatchCompilerHostOfConfigFile:()=>l$D,createWatchCompilerHostOfFilesAndCompilerOptions:()=>i$D,createWatchFactory:()=>Ms,createWatchHost:()=>Hs,createWatchProgram:()=>vED,createWatchStatusReporter:()=>g$D,createWriteFileMeasuringIO:()=>fo,declarationNameToString:()=>b7,decodeMappings:()=>$o,decodedTextSpanIntersectsWith:()=>LI,decorateHelper:()=>zx,deduplicate:()=>AY,defaultIncludeSpec:()=>Ak,defaultInitCompilerOptions:()=>jk,defaultMaximumTruncationLength:()=>my,detectSortCaseSensitivity:()=>SK,diagnosticCategoryName:()=>DG,diagnosticToString:()=>aG,directoryProbablyExists:()=>jB,directorySeparator:()=>q9,displayPart:()=>O$,displayPartsToString:()=>$S,disposeEmitNodes:()=>Mn,disposeResourcesHelper:()=>xx,documentSpansEqual:()=>Ea,dumpTracingLegend:()=>n6D,elementAt:()=>ZV,elideNodes:()=>U3D,emitComments:()=>X9D,emitDetachedComments:()=>Y9D,emitFiles:()=>Dh,emitFilesAndReportErrors:()=>Ch,emitFilesAndReportErrorsAndGetExitStatus:()=>c$D,emitModuleKindIsNonNodeESM:()=>wb,emitNewLineBeforeLeadingCommentOfPosition:()=>B9D,emitNewLineBeforeLeadingComments:()=>Z9D,emitNewLineBeforeLeadingCommentsOfPosition:()=>J9D,emitSkippedWithNoDiagnostics:()=>Gh,emitUsingBuildInfo:()=>V$D,emptyArray:()=>Q0,emptyFileSystemEntries:()=>Jx,emptyMap:()=>wf,emptyOptions:()=>iZ,emptySet:()=>k6D,endsWith:()=>u9,ensurePathIsNonModuleName:()=>qW,ensureScriptKind:()=>_b,ensureTrailingDirectorySeparator:()=>s4,entityNameToString:()=>y$,enumerateInsertsAndDeletes:()=>yf,equalOwnProperties:()=>N6D,equateStringsCaseInsensitive:()=>vK,equateStringsCaseSensitive:()=>aU,equateValues:()=>$V,esDecorateHelper:()=>Wx,escapeJsxAttributeString:()=>zp,escapeLeadingUnderscores:()=>C9,escapeNonAsciiString:()=>Ey,escapeSnippetText:()=>bW,escapeString:()=>fY,escapeTemplateSubstitution:()=>Qp,every:()=>Z0,expandPreOrPostfixIncrementOrDecrementExpression:()=>Dk,explainFiles:()=>Ks,explainIfFileIsRedirectAndImpliedFormat:()=>qs,exportAssignmentIsAlias:()=>LL,exportStarHelper:()=>Sx,expressionResultIsUnused:()=>t9D,extend:()=>Cf,extendsHelper:()=>Ax,extensionFromPath:()=>JN,extensionIsTS:()=>db,extensionsNotSupportingExtensionlessResolution:()=>py,externalHelpersModuleNameText:()=>Cz,factory:()=>k,fileExtensionIs:()=>f9,fileExtensionIsOneOf:()=>S4,fileIncludeReasonToDiagnostics:()=>Gs,fileShouldUseJavaScriptRequire:()=>pa,filter:()=>a0,filterMutate:()=>y9,filterSemanticDiagnostics:()=>Kh,find:()=>M0,findAncestor:()=>i1,findBestPatternMatch:()=>Ac,findChildOfKind:()=>T7,findComputedPropertyNameCacheAssignment:()=>Yk,findConfigFile:()=>q$D,findContainingList:()=>ch,findDiagnosticForNode:()=>BJD,findFirstNonJsxWhitespaceToken:()=>RZD,findIndex:()=>D8,findLast:()=>a1,findLastIndex:()=>C8,findListItemInfo:()=>TZD,findMap:()=>V6,findModifier:()=>EA,findNextToken:()=>$U,findPackageJson:()=>ZJD,findPackageJsons:()=>ha,findPrecedingMatchingToken:()=>oh,findPrecedingToken:()=>v4,findSuperStatementIndexPath:()=>ik,findTokenOnLeftOfPosition:()=>ph,findUseStrictPrologue:()=>on,first:()=>f1,firstDefined:()=>ED,firstDefinedIterator:()=>XD,firstIterator:()=>G6,firstOrOnly:()=>ca,firstOrUndefined:()=>m4,firstOrUndefinedIterator:()=>k8,fixupCompilerOptions:()=>Ut,flatMap:()=>h5,flatMapIterator:()=>h2,flatMapToMutable:()=>M2,flatten:()=>_9,flattenCommaList:()=>M3D,flattenDestructuringAssignment:()=>mG,flattenDestructuringBinding:()=>tW,flattenDiagnosticMessageText:()=>KX,forEach:()=>a,forEachAncestor:()=>Z7D,forEachAncestorDirectory:()=>gJ,forEachChild:()=>s6,forEachChildRecursively:()=>xN,forEachEmittedFile:()=>Ao,forEachEnclosingBlockScopeContainer:()=>H7D,forEachEntry:()=>a4,forEachExternalModuleToImportFrom:()=>ea,forEachImportClauseDeclaration:()=>Zb,forEachKey:()=>iX,forEachLeadingCommentRange:()=>GI,forEachNameInAccessChainWalkingLeft:()=>y9D,forEachPropertyAssignment:()=>zL,forEachResolvedProjectReference:()=>co,forEachReturnStatement:()=>AW,forEachRight:()=>bD,forEachTrailingCommentRange:()=>HI,forEachTsConfigPropArray:()=>rI,forEachUnique:()=>Ta,forEachYieldExpression:()=>C7D,forSomeAncestorDirectory:()=>QjD,formatColorAndReset:()=>DU,formatDiagnostic:()=>bo,formatDiagnostics:()=>$ED,formatDiagnosticsWithColorAndContext:()=>G$D,formatGeneratedName:()=>Bq,formatGeneratedNamePart:()=>eL,formatLocation:()=>xo,formatMessage:()=>Sp,formatStringFromArgs:()=>xY,formatting:()=>i4,fullTripleSlashAMDReferencePathRegEx:()=>sp,fullTripleSlashReferencePathRegEx:()=>op,generateDjb2Hash:()=>BE,generateTSConfig:()=>XAD,generatorHelper:()=>yx,getAdjustedReferenceLocation:()=>Xa,getAdjustedRenameLocation:()=>ih,getAliasDeclarationFromName:()=>ai,getAllAccessorDeclarations:()=>AG,getAllDecoratorsOfClass:()=>Yo,getAllDecoratorsOfClassElement:()=>nk,getAllJSDocTags:()=>Vv,getAllJSDocTagsOfKind:()=>jOD,getAllKeys:()=>UMD,getAllProjectOutputs:()=>ek,getAllSuperTypeNodes:()=>vE,getAllUnscopedEmitHelpers:()=>Cn,getAllowJSCompilerOption:()=>Ez,getAllowSyntheticDefaultImports:()=>NG,getAncestor:()=>sK,getAnyExtensionFromPath:()=>lj,getAreDeclarationMapsEnabled:()=>cy,getAssignedExpandoInitializer:()=>wM,getAssignedName:()=>Yv,getAssignedNameOfIdentifier:()=>sN,getAssignmentDeclarationKind:()=>o9,getAssignmentDeclarationPropertyAccessKind:()=>Xy,getAssignmentTargetKind:()=>vM,getAutomaticTypeDirectiveNames:()=>Nk,getBaseFileName:()=>q4,getBinaryOperatorPrecedence:()=>Cy,getBuildInfo:()=>Fh,getBuildInfoFileVersionMap:()=>$s,getBuildInfoText:()=>Q$D,getBuildOrderFromAnyBuildOrder:()=>Ih,getBuilderCreationParameters:()=>Hh,getBuilderFileEmit:()=>vz,getCheckFlags:()=>m9,getClassExtendsHeritageElement:()=>RW,getClassLikeDeclarationOfSymbol:()=>jQ,getCombinedLocalAndExportSymbolFlags:()=>aE,getCombinedModifierFlags:()=>_K,getCombinedNodeFlags:()=>YV,getCombinedNodeFlagsAlwaysIncludeJSDoc:()=>il,getCommentRange:()=>XX,getCommonSourceDirectory:()=>ZT,getCommonSourceDirectoryOfConfig:()=>zA,getCompilerOptionValue:()=>ub,getCompilerOptionsDiffValue:()=>JAD,getConditions:()=>uz,getConfigFileParsingDiagnostics:()=>cG,getConstantValue:()=>O4D,getContainerFlags:()=>lr,getContainerNode:()=>pG,getContainingClass:()=>H3,getContainingClassExcludingClassDecorators:()=>cv,getContainingClassStaticBlock:()=>S7D,getContainingFunction:()=>DZ,getContainingFunctionDeclaration:()=>w7D,getContainingFunctionOrClassStaticBlock:()=>dv,getContainingNodeArray:()=>e9D,getContainingObjectLiteralElement:()=>ZS,getContextualTypeFromParent:()=>V_,getContextualTypeFromParentOrAncestorTypeNode:()=>lh,getCurrentTime:()=>zw,getDeclarationDiagnostics:()=>B$D,getDeclarationEmitExtensionForPath:()=>qb,getDeclarationEmitOutputFilePath:()=>t7D,getDeclarationEmitOutputFilePathWorker:()=>Kb,getDeclarationFileExtension:()=>Br,getDeclarationFromName:()=>fE,getDeclarationModifierFlagsFromSymbol:()=>_Z,getDeclarationOfKind:()=>j9,getDeclarationsOfKind:()=>D7D,getDeclaredExpandoInitializer:()=>$y,getDecorators:()=>Yz,getDefaultCompilerOptions:()=>a_,getDefaultExportInfoWorker:()=>R_,getDefaultFormatCodeSettings:()=>bh,getDefaultLibFileName:()=>OI,getDefaultLibFilePath:()=>SBD,getDefaultLikeExportInfo:()=>T_,getDiagnosticText:()=>rLD,getDiagnosticsWithinSpan:()=>XJD,getDirectoryPath:()=>G5,getDirectoryToWatchFailedLookupLocation:()=>Ys,getDirectoryToWatchFailedLookupLocationFromTypeRoot:()=>k$D,getDocumentPositionMapper:()=>Qt,getDocumentSpansEqualityComparer:()=>Na,getESModuleInterop:()=>oX,getEditsForFileRename:()=>GJD,getEffectiveBaseTypeNode:()=>eB,getEffectiveConstraintOfTypeParameter:()=>sj,getEffectiveContainerForJSDocTemplateTag:()=>Jb,getEffectiveImplementsTypeNodes:()=>AL,getEffectiveInitializer:()=>Fy,getEffectiveJSDocHost:()=>oK,getEffectiveModifierFlags:()=>T2,getEffectiveModifierFlagsAlwaysIncludeJSDoc:()=>K9D,getEffectiveModifierFlagsNoCache:()=>q9D,getEffectiveReturnTypeNode:()=>OJ,getEffectiveSetAccessorTypeAnnotationNode:()=>$9D,getEffectiveTypeAnnotationNode:()=>S3,getEffectiveTypeParameterDeclarations:()=>Qz,getEffectiveTypeRoots:()=>dN,getElementOrPropertyAccessArgumentExpressionOrName:()=>$b,getElementOrPropertyAccessName:()=>HQ,getElementsOfBindingOrAssignmentPattern:()=>tL,getEmitDeclarations:()=>gZ,getEmitFlags:()=>nF,getEmitHelpers:()=>Vx,getEmitModuleDetectionKind:()=>Fn,getEmitModuleKind:()=>p3,getEmitModuleResolutionKind:()=>I2,getEmitScriptTarget:()=>q7,getEmitStandardClassFields:()=>k9D,getEnclosingBlockScopeContainer:()=>pX,getEnclosingContainer:()=>Si,getEncodedSemanticClassifications:()=>$t,getEncodedSyntacticClassifications:()=>Zt,getEndLinePosition:()=>gI,getEntityNameFromTypeNode:()=>aI,getEntrypointsFromPackageJsonInfo:()=>kr,getErrorCountForSummary:()=>Lh,getErrorSpanForNode:()=>zG,getErrorSummaryText:()=>m$D,getEscapedTextOfIdentifierOrLiteral:()=>kE,getEscapedTextOfJsxAttributeName:()=>WN,getEscapedTextOfJsxNamespacedName:()=>lM,getExpandoInitializer:()=>nK,getExportAssignmentExpression:()=>ti,getExportInfoMap:()=>gw,getExportNeedsImportStarHelper:()=>E2D,getExpressionAssociativity:()=>Bp,getExpressionPrecedence:()=>_E,getExternalHelpersModuleName:()=>HP,getExternalModuleImportEqualsDeclarationExpression:()=>wE,getExternalModuleName:()=>HL,getExternalModuleNameFromDeclaration:()=>s7D,getExternalModuleNameFromPath:()=>qp,getExternalModuleNameLiteral:()=>WO,getExternalModuleRequireArgument:()=>_i,getFallbackOptions:()=>$w,getFileEmitOutput:()=>C$D,getFileMatcherPatterns:()=>hb,getFileNamesFromConfigSpecs:()=>_N,getFileWatcherEventKind:()=>Sl,getFilesInErrorForSummary:()=>Ah,getFirstConstructorWithBody:()=>vY,getFirstIdentifier:()=>FZ,getFirstNonSpaceCharacterPosition:()=>aZD,getFirstProjectOutput:()=>No,getFixableErrorSpanExpression:()=>ma,getFormatCodeSettingsForWriting:()=>A_,getFullWidth:()=>hI,getFunctionFlags:()=>t4,getHeritageClause:()=>Oy,getHostSignatureFromJSDoc:()=>rK,getIdentifierAutoGenerate:()=>ijD,getIdentifierGeneratedImportReference:()=>N4D,getIdentifierTypeArguments:()=>TG,getImmediatelyInvokedFunctionExpression:()=>qG,getImpliedNodeFormatForFile:()=>Xw,getImpliedNodeFormatForFileWorker:()=>po,getImportNeedsImportDefaultHelper:()=>Jo,getImportNeedsImportStarHelper:()=>ck,getIndentSize:()=>RL,getIndentString:()=>Vb,getInferredLibraryNameResolveFrom:()=>Vh,getInitializedVariables:()=>sE,getInitializerOfBinaryExpression:()=>li,getInitializerOfBindingOrAssignmentElement:()=>OP,getInterfaceBaseTypeNodes:()=>bE,getInternalEmitFlags:()=>dJ,getInvokedExpression:()=>pv,getIsolatedModules:()=>AJ,getJSDocAugmentsTag:()=>EFD,getJSDocClassTag:()=>nl,getJSDocCommentRanges:()=>vi,getJSDocCommentsAndTags:()=>pi,getJSDocDeprecatedTag:()=>rl,getJSDocDeprecatedTagNoCache:()=>wFD,getJSDocEnumTag:()=>ol,getJSDocHost:()=>HG,getJSDocImplementsTags:()=>NFD,getJSDocOverloadTags:()=>ri,getJSDocOverrideTagNoCache:()=>PFD,getJSDocParameterTags:()=>oj,getJSDocParameterTagsNoCache:()=>jFD,getJSDocPrivateTag:()=>UOD,getJSDocPrivateTagNoCache:()=>RFD,getJSDocProtectedTag:()=>GOD,getJSDocProtectedTagNoCache:()=>IFD,getJSDocPublicTag:()=>WOD,getJSDocPublicTagNoCache:()=>TFD,getJSDocReadonlyTag:()=>HOD,getJSDocReadonlyTagNoCache:()=>yFD,getJSDocReturnTag:()=>SFD,getJSDocReturnType:()=>EI,getJSDocRoot:()=>jL,getJSDocSatisfiesExpressionType:()=>pp,getJSDocSatisfiesTag:()=>sl,getJSDocTags:()=>cK,getJSDocTagsNoCache:()=>OOD,getJSDocTemplateTag:()=>MOD,getJSDocThisTag:()=>Qv,getJSDocType:()=>dK,getJSDocTypeAliasName:()=>tn,getJSDocTypeAssertionType:()=>$k,getJSDocTypeParameterDeclarations:()=>Hb,getJSDocTypeParameterTags:()=>LFD,getJSDocTypeParameterTagsNoCache:()=>AFD,getJSDocTypeTag:()=>mK,getJSXImplicitImportBase:()=>vb,getJSXRuntimeImport:()=>bb,getJSXTransformEnabled:()=>fb,getKeyForCompilerOptions:()=>Sr,getLanguageVariant:()=>Sy,getLastChild:()=>yp,getLeadingCommentRanges:()=>NY,getLeadingCommentRangesOfNode:()=>fi,getLeftmostAccessExpression:()=>PL,getLeftmostExpression:()=>wL,getLibraryNameFromLibFileName:()=>lo,getLineAndCharacterOfPosition:()=>I7,getLineInfo:()=>Do,getLineOfLocalPosition:()=>dE,getLineOfLocalPositionFromLineMap:()=>jG,getLineStartPositionForPosition:()=>NJ,getLineStarts:()=>KQ,getLinesBetweenPositionAndNextNonWhitespaceCharacter:()=>N9D,getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter:()=>E9D,getLinesBetweenPositions:()=>VE,getLinesBetweenRangeEndAndRangeStart:()=>Tp,getLinesBetweenRangeEndPositions:()=>XjD,getLiteralText:()=>V7D,getLocalNameForExternalImport:()=>aL,getLocalSymbolForExportDefault:()=>yL,getLocaleSpecificMessage:()=>i6,getLocaleTimeString:()=>Vw,getMappedContextSpan:()=>Ra,getMappedDocumentSpan:()=>B_,getMappedLocation:()=>UT,getMatchedFileSpec:()=>Ws,getMatchedIncludeSpec:()=>Us,getMeaningFromDeclaration:()=>Hw,getMeaningFromLocation:()=>iG,getMembersOfDeclaration:()=>E7D,getModeForFileReference:()=>Jw,getModeForResolutionAtIndex:()=>H$D,getModeForUsageLocation:()=>ho,getModifiedTime:()=>jM,getModifiers:()=>UW,getModuleInstanceState:()=>TQ,getModuleNameStringLiteralAt:()=>Yw,getModuleSpecifierEndingPreference:()=>l9D,getModuleSpecifierResolverHost:()=>ja,getNameForExportedSymbol:()=>O_,getNameFromImportAttribute:()=>sb,getNameFromIndexInfo:()=>M7D,getNameFromPropertyName:()=>Pw,getNameOfAccessExpression:()=>wp,getNameOfCompilerOptionValue:()=>Hr,getNameOfDeclaration:()=>m6,getNameOfExpando:()=>di,getNameOfJSDocTypedef:()=>OFD,getNameOrArgument:()=>By,getNameTable:()=>rt,getNamesForExportedSymbol:()=>YJD,getNamespaceDeclarationNode:()=>ML,getNewLineCharacter:()=>GV,getNewLineKind:()=>_w,getNewLineOrDefaultFromHost:()=>RV,getNewTargetContainer:()=>f7D,getNextJSDocCommentLocation:()=>ni,getNodeForGeneratedName:()=>LP,getNodeId:()=>W7,getNodeKind:()=>FU,getNodeModifiers:()=>KT,getNodeModulePathParts:()=>nb,getNonAssignedNameOfDeclaration:()=>Xv,getNonAssignmentOperatorForCompoundAssignment:()=>nN,getNonAugmentationDeclaration:()=>Ti,getNonDecoratorTokenPosOfNode:()=>Li,getNormalizedAbsolutePath:()=>N6,getNormalizedAbsolutePathWithoutRoot:()=>kl,getNormalizedPathComponents:()=>QI,getObjectFlags:()=>p8,getOperator:()=>Yp,getOperatorAssociativity:()=>Xp,getOperatorPrecedence:()=>Ay,getOptionFromName:()=>qr,getOptionsForLibraryResolution:()=>fr,getOptionsNameMap:()=>FA,getOrCreateEmitNode:()=>n3,getOrCreateExternalHelpersModuleNameIfNeeded:()=>B3D,getOrUpdate:()=>Z7,getOriginalNode:()=>g9,getOriginalNodeId:()=>r3,getOriginalSourceFile:()=>sOD,getOutputDeclarationFileName:()=>$T,getOutputDeclarationFileNameWorker:()=>Co,getOutputExtension:()=>tk,getOutputFileNames:()=>DED,getOutputJSFileNameWorker:()=>Eo,getOutputPathsFor:()=>FT,getOutputPathsForBundle:()=>DT,getOwnEmitOutputFilePath:()=>a7D,getOwnKeys:()=>EY,getOwnValues:()=>UM,getPackageJsonInfo:()=>rW,getPackageJsonTypesVersionsPaths:()=>Ek,getPackageJsonsVisibleToFile:()=>JJD,getPackageNameFromTypesPackageName:()=>lN,getPackageScopeForPath:()=>gP,getParameterSymbolFromJSDoc:()=>Wy,getParameterTypeNode:()=>MjD,getParentNodeInSpan:()=>Sw,getParseTreeNode:()=>k6,getParsedCommandLineOfConfigFile:()=>TP,getPathComponents:()=>o4,getPathComponentsRelativeTo:()=>_l,getPathFromPathComponents:()=>Jz,getPathUpdater:()=>Xt,getPathsBasePath:()=>Wb,getPatternFromSpec:()=>m9D,getPendingEmitKind:()=>GA,getPositionOfLineAndCharacter:()=>WI,getPossibleGenericSignatures:()=>Qa,getPossibleOriginalInputExtensionForExtension:()=>e7D,getPossibleTypeArgumentsInfo:()=>Va,getPreEmitDiagnostics:()=>FED,getPrecedingNonSpaceCharacterPosition:()=>Y_,getPrivateIdentifier:()=>Qo,getProperties:()=>Xo,getProperty:()=>Lf,getPropertyArrayElementValue:()=>P7D,getPropertyAssignmentAliasLikeExpression:()=>p7D,getPropertyNameForPropertyNameNode:()=>MG,getPropertyNameForUniqueESSymbol:()=>rOD,getPropertyNameFromType:()=>LJ,getPropertyNameOfBindingOrAssignmentElement:()=>an,getPropertySymbolFromBindingElement:()=>J_,getPropertySymbolsFromContextualType:()=>e_,getQuoteFromPreference:()=>Aa,getQuotePreference:()=>EZ,getRangesWhere:()=>Q9,getRefactorContextSpan:()=>RO,getReferencedFileLocation:()=>JT,getRegexFromPattern:()=>Lz,getRegularExpressionForWildcard:()=>FN,getRegularExpressionsForWildcards:()=>xb,getRelativePathFromDirectory:()=>_J,getRelativePathFromFile:()=>zI,getRelativePathToDirectoryOrUrl:()=>AM,getRenameLocation:()=>vw,getReplacementSpanForContextToken:()=>Wa,getResolutionDiagnostic:()=>oo,getResolutionModeOverride:()=>KA,getResolveJsonModule:()=>Dq,getResolvePackageJsonExports:()=>Fx,getResolvePackageJsonImports:()=>$x,getResolvedExternalModuleName:()=>zb,getRestIndicatorOfBindingOrAssignmentElement:()=>Jk,getRestParameterElementType:()=>bi,getRightMostAssignedExpression:()=>Zy,getRootDeclaration:()=>FX,getRootDirectoryOfResolutionCache:()=>h$D,getRootLength:()=>dX,getRootPathSplitLength:()=>RED,getScriptKind:()=>Sa,getScriptKindFromFileName:()=>gb,getScriptTargetFeatures:()=>eb,getSelectedEffectiveModifierFlags:()=>kM,getSelectedSyntacticModifierFlags:()=>V9D,getSemanticClassifications:()=>KJD,getSemanticJsxChildren:()=>EL,getSetAccessorTypeAnnotationNode:()=>D9D,getSetAccessorValueParameter:()=>cE,getSetExternalModuleIndicator:()=>uy,getShebang:()=>Zv,getSingleInitializerOfVariableStatementOrPropertyDeclaration:()=>ii,getSingleVariableOfVariableStatement:()=>fM,getSnapshotText:()=>CA,getSnippetElement:()=>On,getSourceFileOfModule:()=>yv,getSourceFileOfNode:()=>o1,getSourceFilePathInNewDir:()=>Ub,getSourceFilePathInNewDirWorker:()=>Gb,getSourceFileVersionAsHashFromText:()=>Eh,getSourceFilesToEmit:()=>Wp,getSourceMapRange:()=>MV,getSourceMapper:()=>IJD,getSourceTextOfNodeFromSourceFile:()=>OW,getSpanOfTokenAtPosition:()=>nX,getSpellingSuggestion:()=>FE,getStartPositionOfLine:()=>Gz,getStartPositionOfRange:()=>oE,getStartsOnNewLine:()=>ON,getStaticPropertiesAndClassStaticBlock:()=>pk,getStrictOptionValue:()=>R2,getStringComparer:()=>xj,getSubPatternFromSpec:()=>kb,getSuperCallFromStatement:()=>lk,getSuperContainer:()=>oI,getSupportedCodeFixes:()=>pt,getSupportedExtensions:()=>$N,getSupportedExtensionsWithJsonIfResolveJsonModule:()=>fy,getSwitchedType:()=>xa,getSymbolId:()=>PF,getSymbolNameForPrivateIdentifier:()=>jy,getSymbolTarget:()=>ua,getSyntacticClassifications:()=>qJD,getSyntacticModifierFlags:()=>Oz,getSyntacticModifierFlagsNoCache:()=>Mp,getSynthesizedDeepClone:()=>G9,getSynthesizedDeepCloneWithReplacements:()=>fw,getSynthesizedDeepClones:()=>ZU,getSynthesizedDeepClonesWithReplacements:()=>fa,getSyntheticLeadingComments:()=>hL,getSyntheticTrailingComments:()=>ty,getTargetLabel:()=>_h,getTargetOfBindingOrAssignmentElement:()=>Sz,getTemporaryModuleResolutionState:()=>_P,getTextOfConstantValue:()=>z7D,getTextOfIdentifierOrLiteral:()=>HJ,getTextOfJSDocComment:()=>TI,getTextOfJsxAttributeName:()=>gy,getTextOfJsxNamespacedName:()=>UN,getTextOfNode:()=>A4,getTextOfNodeFromSourceText:()=>NE,getTextOfPropertyName:()=>BL,getThisContainer:()=>e2,getThisParameter:()=>yW,getTokenAtPosition:()=>M6,getTokenPosOfNode:()=>iK,getTokenSourceMapRange:()=>cjD,getTouchingPropertyName:()=>Z$,getTouchingToken:()=>AA,getTrailingCommentRanges:()=>xK,getTrailingSemicolonDeferringWriter:()=>Kp,getTransformFlagsSubtreeExclusions:()=>W4D,getTransformers:()=>jo,getTsBuildInfoEmitOutputFilePath:()=>CV,getTsConfigObjectLiteralExpression:()=>yE,getTsConfigPropArrayElementValue:()=>mv,getTypeAnnotationNode:()=>F9D,getTypeArgumentOrTypeParameterList:()=>vZD,getTypeKeywordOfTypeOnlyImport:()=>Ca,getTypeNode:()=>C4D,getTypeNodeIfAccessible:()=>jT,getTypeParameterFromJsDoc:()=>g7D,getTypeParameterOwner:()=>QOD,getTypesPackageName:()=>wk,getUILocale:()=>P6D,getUniqueName:()=>sG,getUniqueSymbolId:()=>sZD,getUseDefineForClassFields:()=>MN,getWatchErrorSummaryDiagnosticMessage:()=>Vs,getWatchFactory:()=>Po,group:()=>DE,groupBy:()=>Af,guessIndentation:()=>tFD,handleNoEmitOptions:()=>no,hasAbstractModifier:()=>SW,hasAccessorModifier:()=>$X,hasAmbientModifier:()=>Hp,hasChangesInResolutions:()=>Mi,hasChildOfKind:()=>Ew,hasContextSensitiveParameters:()=>ib,hasDecorators:()=>xZ,hasDocComment:()=>uZD,hasDynamicName:()=>Mz,hasEffectiveModifier:()=>w$,hasEffectiveModifiers:()=>Mb,hasEffectiveReadonlyModifier:()=>lE,hasExtension:()=>LM,hasIndexSignature:()=>ba,hasInitializer:()=>Wz,hasInvalidEscape:()=>Vp,hasJSDocNodes:()=>a$,hasJSDocParameterTags:()=>CFD,hasJSFileExtension:()=>uW,hasJsonModuleEmitEnabled:()=>Sb,hasOnlyExpressionInitializer:()=>YG,hasOverrideModifier:()=>Ob,hasPossibleExternalModuleReference:()=>G7D,hasProperty:()=>v7,hasPropertyAccessExpressionWithName:()=>Ow,hasQuestionToken:()=>uM,hasRecordedExternalHelpers:()=>J3D,hasResolutionModeOverride:()=>J4D,hasRestParameter:()=>Wi,hasScopeMarker:()=>lFD,hasStaticModifier:()=>C4,hasSyntacticModifier:()=>Q5,hasSyntacticModifiers:()=>Q9D,hasTSFileExtension:()=>cM,hasTabstop:()=>F4D,hasTrailingDirectorySeparator:()=>JV,hasType:()=>Cv,hasTypeArguments:()=>cOD,hasZeroOrOneAsteriskCharacter:()=>fp,helperString:()=>An,hostGetCanonicalFileName:()=>qV,hostUsesCaseSensitiveFileNames:()=>gE,idText:()=>w8,identifierIsThisKeyword:()=>Gp,identifierToKeywordKind:()=>gK,identity:()=>n7,identitySourceMapConsumer:()=>dk,ignoreSourceNewlines:()=>Ln,ignoredPaths:()=>YI,importDefaultHelper:()=>wx,importFromModuleSpecifier:()=>uE,importNameElisionDisabled:()=>up,importStarHelper:()=>DP,indexOfAnyCharCode:()=>VF,indexOfNode:()=>JL,indicesOf:()=>d3,inferredTypesContainingFile:()=>UA,injectClassNamedEvaluationHelperBlockIfMissing:()=>ok,injectClassThisAssignmentIfMissing:()=>f2D,insertImports:()=>WT,insertLeadingStatement:()=>QLD,insertSorted:()=>rB,insertStatementAfterCustomPrologue:()=>QG,insertStatementAfterStandardPrologue:()=>fOD,insertStatementsAfterCustomPrologue:()=>Oi,insertStatementsAfterStandardPrologue:()=>yY,intersperse:()=>nD,intrinsicTagNameToString:()=>np,introducesArgumentsExoticObject:()=>I7D,inverseJsxOptionMap:()=>gN,isAbstractConstructorSymbol:()=>T9D,isAbstractModifier:()=>u4D,isAccessExpression:()=>m7,isAccessibilityModifier:()=>Ka,isAccessor:()=>zz,isAccessorModifier:()=>v4D,isAliasSymbolDeclaration:()=>iOD,isAliasableExpression:()=>My,isAmbientModule:()=>l3,isAmbientPropertyDeclaration:()=>Ii,isAnonymousFunctionDefinition:()=>hE,isAnyDirectorySeparator:()=>vl,isAnyImportOrBareOrAccessedRequire:()=>U7D,isAnyImportOrReExport:()=>dI,isAnyImportSyntax:()=>VG,isAnySupportedFileExtension:()=>HjD,isApplicableVersionedTypesKey:()=>dP,isArgumentExpressionOfElementAccess:()=>Da,isArray:()=>x6,isArrayBindingElement:()=>Hv,isArrayBindingOrAssignmentElement:()=>uI,isArrayBindingOrAssignmentPattern:()=>Yi,isArrayBindingPattern:()=>hW,isArrayLiteralExpression:()=>y2,isArrayLiteralOrObjectLiteralDestructuringPattern:()=>NV,isArrayTypeNode:()=>YP,isArrowFunction:()=>o7,isAsExpression:()=>VP,isAssertClause:()=>m4D,isAssertEntry:()=>DLD,isAssertionExpression:()=>XG,isAssertsKeyword:()=>w4D,isAssignmentDeclaration:()=>SE,isAssignmentExpression:()=>d4,isAssignmentOperator:()=>WV,isAssignmentPattern:()=>AE,isAssignmentTarget:()=>uY,isAsteriskToken:()=>ZP,isAsyncFunction:()=>xE,isAsyncModifier:()=>AN,isAutoAccessorPropertyDeclaration:()=>t2,isAwaitExpression:()=>yz,isAwaitKeyword:()=>yn,isBigIntLiteral:()=>kx,isBinaryExpression:()=>E8,isBinaryOperatorToken:()=>W3D,isBindableObjectDefinePropertyCall:()=>UG,isBindableStaticAccessExpression:()=>NW,isBindableStaticElementAccessExpression:()=>Fb,isBindableStaticNameExpression:()=>GG,isBindingElement:()=>F7,isBindingElementOfBareOrAccessedRequire:()=>x7D,isBindingName:()=>JG,isBindingOrAssignmentElement:()=>hFD,isBindingOrAssignmentPattern:()=>wI,isBindingPattern:()=>YF,isBlock:()=>DF,isBlockOrCatchScoped:()=>Ai,isBlockScope:()=>yi,isBlockScopedContainerTopLevel:()=>W7D,isBooleanLiteral:()=>LE,isBreakOrContinueStatement:()=>HE,isBreakStatement:()=>ajD,isBuildInfoFile:()=>Y$D,isBuilderProgram:()=>d$D,isBundle:()=>bn,isBundleFileTextLike:()=>I9D,isCallChain:()=>$G,isCallExpression:()=>UF,isCallExpressionTarget:()=>rs,isCallLikeExpression:()=>MW,isCallLikeOrFunctionLikeExpression:()=>Qi,isCallOrNewExpression:()=>sB,isCallOrNewExpressionTarget:()=>os,isCallSignatureDeclaration:()=>FO,isCallToHelper:()=>LN,isCaseBlock:()=>yN,isCaseClause:()=>iL,isCaseKeyword:()=>b4D,isCaseOrDefaultClause:()=>Lv,isCatchClause:()=>iW,isCatchClauseVariableDeclaration:()=>D4D,isCatchClauseVariableDeclarationOrBindingElement:()=>Ci,isCheckJsEnabledForFile:()=>xy,isChildOfNodeWithKind:()=>bOD,isCircularBuildOrder:()=>CO,isClassDeclaration:()=>f4,isClassElement:()=>Y3,isClassExpression:()=>V3,isClassInstanceProperty:()=>xFD,isClassLike:()=>j5,isClassMemberModifier:()=>Ji,isClassNamedEvaluationHelperBlock:()=>AO,isClassOrTypeElement:()=>Gv,isClassStaticBlockDeclaration:()=>v9,isClassThisAssignmentBlock:()=>oN,isCollapsedRange:()=>BjD,isColonToken:()=>y4D,isCommaExpression:()=>GP,isCommaListExpression:()=>TN,isCommaSequence:()=>fN,isCommaToken:()=>I4D,isComment:()=>sh,isCommonJsExportPropertyAssignment:()=>_v,isCommonJsExportedExpression:()=>T7D,isCompoundAssignment:()=>pN,isComputedNonLiteralName:()=>cI,isComputedPropertyName:()=>J7,isConciseBody:()=>Ov,isConditionalExpression:()=>lL,isConditionalTypeNode:()=>BO,isConstTypeReference:()=>WQ,isConstructSignatureDeclaration:()=>BP,isConstructorDeclaration:()=>d9,isConstructorTypeNode:()=>gL,isContextualKeyword:()=>Xb,isContinueStatement:()=>sjD,isCustomPrologue:()=>nI,isDebuggerStatement:()=>tjD,isDeclaration:()=>Y2,isDeclarationBindingElement:()=>PI,isDeclarationFileName:()=>f3,isDeclarationName:()=>MQ,isDeclarationNameOfEnumOrNamespace:()=>Rp,isDeclarationReadonly:()=>bv,isDeclarationStatement:()=>rFD,isDeclarationWithTypeParameterChildren:()=>wi,isDeclarationWithTypeParameters:()=>Pi,isDecorator:()=>u3,isDecoratorTarget:()=>jZD,isDefaultClause:()=>wN,isDefaultImport:()=>SM,isDefaultModifier:()=>mx,isDefaultedExpandoInitializer:()=>k7D,isDeleteExpression:()=>h4D,isDeleteTarget:()=>si,isDeprecatedDeclaration:()=>j_,isDestructuringAssignment:()=>UV,isDiagnosticWithLocation:()=>ga,isDiskPathRoot:()=>bl,isDoStatement:()=>rjD,isDocumentRegistryEntry:()=>mw,isDotDotDotToken:()=>_x,isDottedName:()=>pE,isDynamicName:()=>Qb,isESSymbolIdentifier:()=>oOD,isEffectiveExternalModule:()=>PM,isEffectiveModuleDeclaration:()=>q7D,isEffectiveStrictModeSourceFile:()=>Ri,isElementAccessChain:()=>al,isElementAccessExpression:()=>B9,isEmittedFileOfProgram:()=>K$D,isEmptyArrayLiteral:()=>H9D,isEmptyBindingElement:()=>HFD,isEmptyBindingPattern:()=>GFD,isEmptyObjectLiteral:()=>Cp,isEmptyStatement:()=>un,isEmptyStringLiteral:()=>hi,isEntityName:()=>W$,isEntityNameExpression:()=>s9,isEnumConst:()=>LW,isEnumDeclaration:()=>$q,isEnumMember:()=>pW,isEqualityOperatorKind:()=>z_,isEqualsGreaterThanToken:()=>P4D,isExclamationToken:()=>JP,isExcludedFile:()=>I3D,isExclusivelyTypeOnlyImportOrExport:()=>ko,isExpandoPropertyDeclaration:()=>ob,isExportAssignment:()=>l9,isExportDeclaration:()=>B4,isExportModifier:()=>eM,isExportName:()=>Fk,isExportNamespaceAsDefaultDeclaration:()=>Sv,isExportOrDefaultModifier:()=>jP,isExportSpecifier:()=>Q2,isExportsIdentifier:()=>WG,isExportsOrModuleExportsOrAlias:()=>oW,isExpression:()=>P0,isExpressionNode:()=>wY,isExpressionOfExternalModuleImportEqualsDeclaration:()=>EZD,isExpressionOfOptionalChainRoot:()=>qv,isExpressionStatement:()=>z3,isExpressionWithTypeArguments:()=>jV,isExpressionWithTypeArgumentsInClassExtendsClause:()=>jb,isExternalModule:()=>G4,isExternalModuleAugmentation:()=>jW,isExternalModuleImportEqualsDeclaration:()=>pK,isExternalModuleIndicator:()=>fI,isExternalModuleNameRelative:()=>X3,isExternalModuleReference:()=>DY,isExternalModuleSymbol:()=>Iw,isExternalOrCommonJsModule:()=>t$,isFileLevelReservedGeneratedIdentifier:()=>yI,isFileLevelUniqueName:()=>Pv,isFileProbablyExternalModule:()=>CP,isFirstDeclarationOfSymbolParameter:()=>Ia,isFixablePromiseHandler:()=>Kt,isForInOrOfStatement:()=>ej,isForInStatement:()=>nx,isForInitializer:()=>bZ,isForOfStatement:()=>zP,isForStatement:()=>SG,isFunctionBlock:()=>CW,isFunctionBody:()=>zi,isFunctionDeclaration:()=>u4,isFunctionExpression:()=>d7,isFunctionExpressionOrArrowFunction:()=>vW,isFunctionLike:()=>XF,isFunctionLikeDeclaration:()=>r7,isFunctionLikeKind:()=>TM,isFunctionLikeOrClassStaticBlockDeclaration:()=>tj,isFunctionOrConstructorTypeNode:()=>kFD,isFunctionOrModuleBlock:()=>Bi,isFunctionSymbol:()=>_7D,isFunctionTypeNode:()=>aX,isFutureReservedKeyword:()=>pOD,isGeneratedIdentifier:()=>W9,isGeneratedPrivateIdentifier:()=>ZG,isGetAccessor:()=>qz,isGetAccessorDeclaration:()=>MZ,isGetOrSetAccessorDeclaration:()=>zv,isGlobalDeclaration:()=>vND,isGlobalScopeAugmentation:()=>tB,isGrammarError:()=>Y7D,isHeritageClause:()=>OZ,isHoistedFunction:()=>kv,isHoistedVariableStatement:()=>hv,isIdentifier:()=>sD,isIdentifierANonContextualKeyword:()=>Fp,isIdentifierName:()=>i7D,isIdentifierOrThisTypeNode:()=>V3D,isIdentifierPart:()=>kK,isIdentifierStart:()=>TY,isIdentifierText:()=>GZ,isIdentifierTypePredicate:()=>y7D,isIdentifierTypeReference:()=>o9D,isIfStatement:()=>wG,isIgnoredFileFromWildCardWatching:()=>Fw,isImplicitGlob:()=>xp,isImportAttribute:()=>d4D,isImportAttributeName:()=>bFD,isImportAttributes:()=>QO,isImportCall:()=>e$,isImportClause:()=>tX,isImportDeclaration:()=>c4,isImportEqualsDeclaration:()=>K3,isImportKeyword:()=>EN,isImportMeta:()=>QL,isImportOrExportSpecifier:()=>NM,isImportOrExportSpecifierName:()=>oZD,isImportSpecifier:()=>H$,isImportTypeAssertionContainer:()=>ejD,isImportTypeNode:()=>hY,isImportableFile:()=>ta,isInComment:()=>EV,isInCompoundLikeAssignment:()=>oi,isInExpressionContext:()=>rv,isInJSDoc:()=>eI,isInJSFile:()=>H8,isInJSXText:()=>wZD,isInJsonFile:()=>sv,isInNonReferenceComment:()=>kZD,isInReferenceComment:()=>xZD,isInRightSideOfInternalImportEqualsDeclaration:()=>kh,isInString:()=>nG,isInTemplateString:()=>Ya,isInTopLevelContext:()=>lv,isInTypeQuery:()=>LG,isIncrementalCompilation:()=>HN,isIndexSignatureDeclaration:()=>kW,isIndexedAccessTypeNode:()=>PG,isInferTypeNode:()=>RG,isInfinityOrNaNString:()=>zN,isInitializedProperty:()=>rP,isInitializedVariable:()=>wy,isInsideJsxElement:()=>rh,isInsideJsxElementOrAttribute:()=>PZD,isInsideNodeModules:()=>hw,isInsideTemplateLiteral:()=>Tw,isInstanceOfExpression:()=>Lb,isInstantiatedModule:()=>rr,isInterfaceDeclaration:()=>P2,isInternalDeclaration:()=>Ui,isInternalModuleImportEqualsDeclaration:()=>WL,isInternalName:()=>rn,isIntersectionTypeNode:()=>JO,isIntrinsicJsxName:()=>TL,isIterationStatement:()=>Kz,isJSDoc:()=>EB,isJSDocAllType:()=>n4D,isJSDocAugmentsTag:()=>qO,isJSDocAuthorTag:()=>JLD,isJSDocCallbackTag:()=>kn,isJSDocClassTag:()=>o4D,isJSDocCommentContainingNode:()=>Av,isJSDocConstructSignature:()=>OL,isJSDocDeprecatedTag:()=>dn,isJSDocEnumTag:()=>qP,isJSDocFunctionType:()=>nL,isJSDocImplementsTag:()=>tx,isJSDocIndexSignature:()=>av,isJSDocLikeText:()=>Zr,isJSDocLink:()=>i4D,isJSDocLinkCode:()=>p4D,isJSDocLinkLike:()=>yM,isJSDocLinkPlain:()=>$LD,isJSDocMemberName:()=>Zq,isJSDocNameReference:()=>SN,isJSDocNamepathType:()=>ZLD,isJSDocNamespaceBody:()=>IOD,isJSDocNode:()=>DL,isJSDocNonNullableType:()=>rx,isJSDocNullableType:()=>pL,isJSDocOptionalParameter:()=>_y,isJSDocOptionalType:()=>xn,isJSDocOverloadTag:()=>rL,isJSDocOverrideTag:()=>sx,isJSDocParameterTag:()=>NB,isJSDocPrivateTag:()=>_n,isJSDocPropertyLikeTag:()=>ME,isJSDocPropertyTag:()=>s4D,isJSDocProtectedTag:()=>gn,isJSDocPublicTag:()=>hn,isJSDocReadonlyTag:()=>mn,isJSDocReturnTag:()=>ax,isJSDocSatisfiesExpression:()=>ip,isJSDocSatisfiesTag:()=>ex,isJSDocSeeTag:()=>BLD,isJSDocSignature:()=>Jq,isJSDocTag:()=>FL,isJSDocTemplateTag:()=>EJ,isJSDocThisTag:()=>cn,isJSDocThrowsTag:()=>YLD,isJSDocTypeAlias:()=>GJ,isJSDocTypeAssertion:()=>sL,isJSDocTypeExpression:()=>nW,isJSDocTypeLiteral:()=>bG,isJSDocTypeTag:()=>uN,isJSDocTypedefTag:()=>xG,isJSDocUnknownTag:()=>XLD,isJSDocUnknownType:()=>r4D,isJSDocVariadicType:()=>ox,isJSXTagName:()=>qL,isJsonEqual:()=>cb,isJsonSourceFile:()=>UJ,isJsxAttribute:()=>VX,isJsxAttributeLike:()=>jv,isJsxAttributeName:()=>Z4D,isJsxAttributes:()=>lW,isJsxChild:()=>xI,isJsxClosingElement:()=>dW,isJsxClosingFragment:()=>c4D,isJsxElement:()=>_Y,isJsxExpression:()=>PN,isJsxFragment:()=>cW,isJsxNamespacedName:()=>CB,isJsxOpeningElement:()=>QX,isJsxOpeningFragment:()=>zO,isJsxOpeningLikeElement:()=>E2,isJsxOpeningLikeElementTagName:()=>LZD,isJsxSelfClosingElement:()=>fG,isJsxSpreadAttribute:()=>KO,isJsxTagNameExpression:()=>CE,isJsxText:()=>sM,isJumpStatementTarget:()=>jw,isKeyword:()=>F$,isKeywordOrPunctuation:()=>Bb,isKnownSymbol:()=>Ly,isLabelName:()=>ts,isLabelOfLabeledStatement:()=>as,isLabeledStatement:()=>mW,isLateVisibilityPaintedStatement:()=>fv,isLeftHandSideExpression:()=>U$,isLeftHandSideOfAssignment:()=>JjD,isLet:()=>xv,isLineBreak:()=>B2,isLiteralComputedPropertyDeclarationName:()=>Hy,isLiteralExpression:()=>HW,isLiteralExpressionOfObject:()=>$i,isLiteralImportTypeNode:()=>Hz,isLiteralKind:()=>OE,isLiteralLikeAccess:()=>Db,isLiteralLikeElementAccess:()=>Jy,isLiteralNameOfPropertyDeclarationOrIndexAccess:()=>gh,isLiteralTypeLikeExpression:()=>WLD,isLiteralTypeLiteral:()=>dFD,isLiteralTypeNode:()=>Iz,isLocalName:()=>EQ,isLogicalOperator:()=>W9D,isLogicalOrCoalescingAssignmentExpression:()=>Op,isLogicalOrCoalescingAssignmentOperator:()=>iE,isLogicalOrCoalescingBinaryExpression:()=>Ry,isLogicalOrCoalescingBinaryOperator:()=>Ty,isMappedTypeNode:()=>dL,isMemberName:()=>RY,isMetaProperty:()=>NN,isMethodDeclaration:()=>F4,isMethodOrAccessor:()=>RM,isMethodSignature:()=>sX,isMinusToken:()=>In,isMissingDeclaration:()=>FLD,isMissingPackageJsonInfo:()=>l3D,isModifier:()=>SF,isModifierKind:()=>QV,isModifierLike:()=>U9,isModuleAugmentationExternal:()=>Ni,isModuleBlock:()=>YX,isModuleBody:()=>iFD,isModuleDeclaration:()=>J4,isModuleExportsAccessExpression:()=>SY,isModuleIdentifier:()=>ci,isModuleName:()=>q3D,isModuleOrEnumDeclaration:()=>vI,isModuleReference:()=>sFD,isModuleSpecifierLike:()=>Z_,isModuleWithStringLiteralName:()=>uv,isNameOfFunctionDeclaration:()=>$a,isNameOfModuleDeclaration:()=>Fa,isNamedClassElement:()=>COD,isNamedDeclaration:()=>A2,isNamedEvaluation:()=>P$,isNamedEvaluationSource:()=>$p,isNamedExportBindings:()=>el,isNamedExports:()=>dZ,isNamedImportBindings:()=>Ki,isNamedImports:()=>CQ,isNamedImportsOrExports:()=>Ib,isNamedTupleMember:()=>mL,isNamespaceBody:()=>ROD,isNamespaceExport:()=>eX,isNamespaceExportDeclaration:()=>KP,isNamespaceImport:()=>wz,isNamespaceReexportDeclaration:()=>b7D,isNewExpression:()=>_W,isNewExpressionTarget:()=>VT,isNoSubstitutionTemplateLiteral:()=>aM,isNode:()=>LOD,isNodeArray:()=>GW,isNodeArrayMultiLine:()=>C9D,isNodeDescendantOf:()=>TW,isNodeKind:()=>RI,isNodeLikeSystem:()=>Ec,isNodeModulesDirectory:()=>tf,isNodeWithPossibleHoistedDeclaration:()=>d7D,isNonContextualKeyword:()=>Dp,isNonExportDefaultModifier:()=>GLD,isNonGlobalAmbientModule:()=>Ei,isNonGlobalDeclaration:()=>zJD,isNonNullAccess:()=>$4D,isNonNullChain:()=>Wv,isNonNullExpression:()=>YO,isNonStaticMethodOrAccessorWithPrivateName:()=>N2D,isNotEmittedOrPartiallyEmittedNode:()=>TOD,isNotEmittedStatement:()=>vn,isNullishCoalesce:()=>tl,isNumber:()=>DV,isNumericLiteral:()=>S$,isNumericLiteralName:()=>kY,isObjectBindingElementWithoutPropertyName:()=>ww,isObjectBindingOrAssignmentElement:()=>SI,isObjectBindingOrAssignmentPattern:()=>Xi,isObjectBindingPattern:()=>CJ,isObjectLiteralElement:()=>qi,isObjectLiteralElementLike:()=>UQ,isObjectLiteralExpression:()=>mF,isObjectLiteralMethod:()=>lJ,isObjectLiteralOrClassExpressionMethodOrAccessor:()=>gv,isObjectTypeDeclaration:()=>gM,isOctalDigit:()=>$v,isOmittedExpression:()=>e4,isOptionalChain:()=>X2,isOptionalChainRoot:()=>UE,isOptionalDeclaration:()=>qN,isOptionalJSDocPropertyLikeTag:()=>hy,isOptionalTypeNode:()=>dx,isOuterExpression:()=>Zk,isOutermostOptionalChain:()=>GE,isOverrideModifier:()=>f4D,isPackageJsonInfo:()=>Tk,isPackedArrayLiteral:()=>cp,isParameter:()=>u6,isParameterDeclaration:()=>IW,isParameterPropertyDeclaration:()=>I$,isParameterPropertyModifier:()=>jE,isParenthesizedExpression:()=>$$,isParenthesizedTypeNode:()=>IG,isParseTreeNode:()=>WE,isPartOfTypeNode:()=>PY,isPartOfTypeQuery:()=>ov,isPartiallyEmittedExpression:()=>px,isPatternMatch:()=>Tf,isPinnedComment:()=>wv,isPlainJsFile:()=>_I,isPlusToken:()=>Rn,isPossiblyTypeArgumentPosition:()=>Nw,isPostfixUnaryExpression:()=>wn,isPrefixUnaryExpression:()=>Pz,isPrivateIdentifier:()=>$6,isPrivateIdentifierClassElementDeclaration:()=>C2,isPrivateIdentifierPropertyAccessExpression:()=>aj,isPrivateIdentifierSymbol:()=>n7D,isProgramBundleEmitBuildInfo:()=>I$D,isProgramUptoDate:()=>io,isPrologueDirective:()=>cJ,isPropertyAccessChain:()=>Kv,isPropertyAccessEntityNameExpression:()=>Iy,isPropertyAccessExpression:()=>n8,isPropertyAccessOrQualifiedName:()=>gFD,isPropertyAccessOrQualifiedNameOrImportTypeNode:()=>_FD,isPropertyAssignment:()=>N4,isPropertyDeclaration:()=>t6,isPropertyName:()=>W4,isPropertyNameLiteral:()=>DX,isPropertySignature:()=>u$,isProtoSetter:()=>r7D,isPrototypeAccess:()=>jz,isPrototypePropertyAssignment:()=>Yy,isPunctuation:()=>ei,isPushOrUnshiftIdentifier:()=>Zp,isQualifiedName:()=>d2,isQuestionDotToken:()=>gx,isQuestionOrExclamationToken:()=>Q3D,isQuestionOrPlusOrMinusToken:()=>K3D,isQuestionToken:()=>Tz,isRawSourceMap:()=>L2D,isReadonlyKeyword:()=>S4D,isReadonlyKeywordOrPlusOrMinusToken:()=>z3D,isRecognizedTripleSlashComment:()=>ji,isReferenceFileLocation:()=>qA,isReferencedFile:()=>Kq,isRegularExpressionLiteral:()=>Nn,isRequireCall:()=>g2,isRequireVariableStatement:()=>mi,isRestParameter:()=>IY,isRestTypeNode:()=>cx,isReturnStatement:()=>nJ,isReturnStatementWithFixablePromiseHandler:()=>P_,isRightSideOfAccessExpression:()=>Ap,isRightSideOfInstanceofExpression:()=>G9D,isRightSideOfPropertyAccess:()=>jA,isRightSideOfQualifiedName:()=>CZD,isRightSideOfQualifiedNameOrPropertyAccess:()=>nE,isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName:()=>U9D,isRootedDiskPath:()=>R$,isSameEntityName:()=>UL,isSatisfiesExpression:()=>Sn,isScopeMarker:()=>cFD,isSemicolonClassElement:()=>_4D,isSetAccessor:()=>VV,isSetAccessorDeclaration:()=>f$,isShebangTrivia:()=>gl,isShiftOperatorOrHigher:()=>Dr,isShorthandAmbientModuleSymbol:()=>TE,isShorthandPropertyAssignment:()=>M$,isSignedNumericLiteral:()=>Yb,isSimpleCopiableExpression:()=>aW,isSimpleInlineableExpression:()=>zX,isSimpleParameter:()=>P2D,isSimpleParameterList:()=>oP,isSingleOrDoubleQuote:()=>Dy,isSourceFile:()=>B6,isSourceFileFromLibrary:()=>IA,isSourceFileJS:()=>N2,isSourceFileNotJS:()=>hOD,isSourceFileNotJson:()=>gi,isSourceMapping:()=>A2D,isSpecialPropertyDeclaration:()=>h7D,isSpreadAssignment:()=>LV,isSpreadElement:()=>pJ,isStatement:()=>F6,isStatementButNotDeclaration:()=>bI,isStatementOrBlock:()=>oFD,isStatementWithLocals:()=>X7D,isStatic:()=>WF,isStaticModifier:()=>DO,isString:()=>g6,isStringAKeyword:()=>nOD,isStringANonContextualKeyword:()=>bM,isStringAndEmptyAnonymousObjectIntersection:()=>bZD,isStringDoubleQuoted:()=>ev,isStringLiteral:()=>kF,isStringLiteralLike:()=>H7,isStringLiteralOrJsxExpression:()=>aFD,isStringLiteralOrTemplate:()=>FJD,isStringOrNumericLiteralLike:()=>HZ,isStringOrRegularExpressionOrTemplateLiteral:()=>za,isStringTextContainingNode:()=>Zi,isSuperCall:()=>KG,isSuperKeyword:()=>CN,isSuperOrSuperProperty:()=>kOD,isSuperProperty:()=>D$,isSupportedSourceFileName:()=>i9D,isSwitchStatement:()=>IN,isSyntaxList:()=>oL,isSyntheticExpression:()=>njD,isSyntheticReference:()=>VO,isTagName:()=>es,isTaggedTemplateExpression:()=>gW,isTaggedTemplateTag:()=>OZD,isTemplateExpression:()=>lx,isTemplateHead:()=>tM,isTemplateLiteral:()=>IM,isTemplateLiteralKind:()=>Vz,isTemplateLiteralToken:()=>fFD,isTemplateLiteralTypeNode:()=>x4D,isTemplateLiteralTypeSpan:()=>Pn,isTemplateMiddle:()=>Tn,isTemplateMiddleOrTemplateTail:()=>Uv,isTemplateSpan:()=>RN,isTemplateTail:()=>hx,isTextWhiteSpaceLike:()=>mZD,isThis:()=>LA,isThisContainerOrFunctionBlock:()=>u7D,isThisIdentifier:()=>wW,isThisInTypeQuery:()=>xM,isThisInitializedDeclaration:()=>iv,isThisInitializedObjectBindingExpression:()=>v7D,isThisProperty:()=>sI,isThisTypeNode:()=>QP,isThisTypeParameter:()=>KN,isThisTypePredicate:()=>xOD,isThrowStatement:()=>fn,isToken:()=>EM,isTokenKind:()=>Fi,isTraceEnabled:()=>NQ,isTransientSymbol:()=>lX,isTrivia:()=>CL,isTryStatement:()=>uG,isTupleTypeNode:()=>ZO,isTypeAlias:()=>zy,isTypeAliasDeclaration:()=>rJ,isTypeAssertionExpression:()=>k4D,isTypeDeclaration:()=>bL,isTypeElement:()=>BG,isTypeKeyword:()=>qT,isTypeKeywordToken:()=>Ha,isTypeKeywordTokenOrIdentifier:()=>eh,isTypeLiteralNode:()=>v$,isTypeNode:()=>e5,isTypeNodeKind:()=>Pp,isTypeOfExpression:()=>cL,isTypeOnlyExportDeclaration:()=>vFD,isTypeOnlyImportDeclaration:()=>II,isTypeOnlyImportOrExportDeclaration:()=>lK,isTypeOperatorNode:()=>yG,isTypeParameterDeclaration:()=>E9,isTypePredicateNode:()=>XP,isTypeQueryNode:()=>$O,isTypeReferenceNode:()=>mZ,isTypeReferenceType:()=>Ev,isTypeUsableAsPropertyName:()=>jJ,isUMDExportSymbol:()=>Rb,isUnaryExpression:()=>Vi,isUnaryExpressionWithWrite:()=>mFD,isUnicodeIdentifierStart:()=>Dv,isUnionTypeNode:()=>Rz,isUnparsedNode:()=>Di,isUnparsedPrepend:()=>l4D,isUnparsedSource:()=>vG,isUnparsedTextLike:()=>uFD,isUrl:()=>e6D,isValidBigIntString:()=>lb,isValidESSymbolDeclaration:()=>R7D,isValidTypeOnlyAliasUseSite:()=>eK,isValueSignatureDeclaration:()=>c7D,isVarAwaitUsing:()=>iI,isVarConst:()=>YL,isVarUsing:()=>pI,isVariableDeclaration:()=>n5,isVariableDeclarationInVariableStatement:()=>IE,isVariableDeclarationInitializedToBareOrAccessedRequire:()=>EW,isVariableDeclarationInitializedToRequire:()=>tv,isVariableDeclarationList:()=>D3,isVariableLike:()=>VL,isVariableLikeOrAccessor:()=>N7D,isVariableStatement:()=>c9,isVoidExpression:()=>XO,isWatchSet:()=>YjD,isWhileStatement:()=>ojD,isWhiteSpaceLike:()=>qQ,isWhiteSpaceSingleLine:()=>oB,isWithStatement:()=>g4D,isWriteAccess:()=>_M,isWriteOnlyAccess:()=>Tb,isYieldExpression:()=>ix,jsxModeNeedsExplicitImport:()=>ia,keywordPart:()=>x$,last:()=>BF,lastOrUndefined:()=>S6,length:()=>HD,libMap:()=>Gk,libs:()=>SP,lineBreakPart:()=>TA,linkNamePart:()=>nZD,linkPart:()=>Pa,linkTextPart:()=>X_,listFiles:()=>zs,loadModuleFromGlobalCache:()=>D2D,loadWithModeAwareCache:()=>Bw,makeIdentifierFromModuleName:()=>K7D,makeImport:()=>TV,makeImportIfNecessary:()=>gZD,makeStringLiteral:()=>TO,mangleScopedPackageName:()=>YA,map:()=>K1,mapAllOrFail:()=>xX,mapDefined:()=>m5,mapDefinedEntries:()=>r4,mapDefinedIterator:()=>qZ,mapEntries:()=>e9,mapIterator:()=>$5,mapOneOrMany:()=>da,mapToDisplayParts:()=>xz,matchFiles:()=>kp,matchPatternOrExact:()=>hp,matchedText:()=>v6D,matchesExclude:()=>Uk,maybeBind:()=>KF,maybeSetLocalizedDiagnosticMessages:()=>f9D,memoize:()=>_2,memoizeCached:()=>I6D,memoizeOne:()=>gX,memoizeWeak:()=>GMD,metadataHelper:()=>Kx,min:()=>Oc,minAndMax:()=>n9D,missingFileModifiedTime:()=>OB,modifierToFlag:()=>hM,modifiersToFlags:()=>ZX,moduleOptionDeclaration:()=>Lr,moduleResolutionIsEqualTo:()=>J7D,moduleResolutionNameAndModeGetter:()=>Wh,moduleResolutionOptionDeclarations:()=>Hk,moduleResolutionSupportsPackageJsonExportsAndImports:()=>dM,moduleResolutionUsesNodeModules:()=>D_,moduleSpecifiers:()=>sW,moveEmitHelpers:()=>L4D,moveRangeEnd:()=>Eb,moveRangePastDecorators:()=>OQ,moveRangePastModifiers:()=>JX,moveRangePos:()=>aK,moveSyntheticComments:()=>M4D,mutateMap:()=>eE,mutateMapSkippingNewValues:()=>bY,needsParentheses:()=>Q_,needsScopeMarker:()=>Mv,newCaseClauseTracker:()=>C_,newPrivateEnvironment:()=>I2D,noEmitNotification:()=>sP,noEmitSubstitution:()=>tN,noTransformers:()=>Lo,noTruncationMaximumTruncationLength:()=>tb,nodeCanBeDecorated:()=>nv,nodeHasName:()=>CI,nodeIsDecorated:()=>KL,nodeIsMissing:()=>r9,nodeIsPresent:()=>qJ,nodeIsSynthesized:()=>J9,nodeModuleNameResolver:()=>r3D,nodeModulesPathPart:()=>$Y,nodeNextJsonConfigResolver:()=>o3D,nodeOrChildIsDecorated:()=>tI,nodeOverlapsWithStartEnd:()=>mh,nodePosToString:()=>POD,nodeSeenTracker:()=>NO,nodeStartsNewLexicalEnvironment:()=>Jp,nodeToDisplayParts:()=>yND,noop:()=>D7,noopFileWatcher:()=>MA,normalizePath:()=>TF,normalizeSlashes:()=>J2,not:()=>If,notImplemented:()=>e6,notImplementedResolver:()=>$h,nullNodeConverters:()=>Kn,nullParenthesizerRules:()=>zn,nullTransformationContext:()=>eN,objectAllocator:()=>M3,operatorPart:()=>GT,optionDeclarations:()=>gY,optionMapToObject:()=>Kk,optionsAffectingProgramStructure:()=>Tr,optionsForBuild:()=>Ir,optionsForWatch:()=>$A,optionsHaveChanges:()=>$L,optionsHaveModuleResolutionChanges:()=>F7D,or:()=>MB,orderedRemoveItem:()=>hj,orderedRemoveItemAt:()=>$z,outFile:()=>k7,packageIdToPackageName:()=>Iv,packageIdToString:()=>Uz,paramHelper:()=>qx,parameterIsThisKeyword:()=>PW,parameterNamePart:()=>cZD,parseBaseNodeFactory:()=>Qr,parseBigInt:()=>r9D,parseBuildCommand:()=>nLD,parseCommandLine:()=>iLD,parseCommandLineWorker:()=>Kr,parseConfigFileTextToJson:()=>Wr,parseConfigFileWithSystem:()=>yED,parseConfigHostFromCompilerHostLike:()=>qh,parseCustomTypeOption:()=>zk,parseIsolatedEntityName:()=>UO,parseIsolatedJSDocComment:()=>j3D,parseJSDocTypeExpressionForTests:()=>uLD,parseJsonConfigFileContent:()=>YAD,parseJsonSourceFileConfigFileContent:()=>yP,parseJsonText:()=>NP,parseListTypeOption:()=>A3D,parseNodeFactory:()=>FY,parseNodeModuleFromPath:()=>hP,parsePackageName:()=>mP,parsePseudoBigInt:()=>XN,parseValidBigInt:()=>dp,patchWriteFileEnsuringDirectory:()=>a6D,pathContainsNodeModules:()=>Vq,pathIsAbsolute:()=>XE,pathIsBareSpecifier:()=>xl,pathIsRelative:()=>s$,patternText:()=>f6D,perfLogger:()=>j2,performIncrementalCompilation:()=>uED,performance:()=>i6D,plainJSErrors:()=>Uh,positionBelongsToNode:()=>Ja,positionIsASICandidate:()=>q_,positionIsSynthesized:()=>AB,positionsAreOnSameLine:()=>hZ,preProcessFile:()=>FTD,probablyUsesSemicolons:()=>xw,processCommentPragmas:()=>Xr,processPragmasIntoFields:()=>Yr,processTaggedTemplateExpression:()=>Wo,programContainsEsModules:()=>_ZD,programContainsModules:()=>hZD,projectReferenceIsEqualTo:()=>Hi,propKeyHelper:()=>Tx,propertyNamePart:()=>lZD,pseudoBigIntToString:()=>fW,punctuationPart:()=>K2,pushIfUnique:()=>o$,quote:()=>OT,quotePreferenceFromString:()=>La,rangeContainsPosition:()=>Lw,rangeContainsPositionExclusive:()=>Aw,rangeContainsRange:()=>CZ,rangeContainsRangeExclusive:()=>NZD,rangeContainsStartEnd:()=>Cw,rangeEndIsOnSameLineAsRangeStart:()=>Py,rangeEndPositionsAreOnSameLine:()=>L9D,rangeEquals:()=>rR,rangeIsOnSingleLine:()=>CG,rangeOfNode:()=>gp,rangeOfTypeParameters:()=>mp,rangeOverlapsWithStartEnd:()=>zT,rangeStartIsOnSameLineAsRangeEnd:()=>A9D,rangeStartPositionsAreOnSameLine:()=>Nb,readBuilderProgram:()=>Rh,readConfigFile:()=>RP,readHelper:()=>Ex,readJson:()=>rE,readJsonConfigFile:()=>N3D,readJsonOrUndefined:()=>Ep,reduceEachLeadingCommentRange:()=>BFD,reduceEachTrailingCommentRange:()=>XFD,reduceLeft:()=>O2,reduceLeftIterator:()=>UD,reducePathComponents:()=>FG,refactor:()=>yO,regExpEscape:()=>UjD,relativeComplement:()=>vj,removeAllComments:()=>sy,removeEmitHelper:()=>ljD,removeExtension:()=>by,removeFileExtension:()=>m2,removeIgnoredPath:()=>Mh,removeMinAndVersionNumbers:()=>jc,removeOptionality:()=>SZD,removePrefix:()=>$E,removeSuffix:()=>kj,removeTrailingDirectorySeparator:()=>bK,repeatString:()=>yw,replaceElement:()=>Uc,replaceFirstStar:()=>iM,resolutionExtensionIsTSOrJson:()=>ZN,resolveConfigFileProjectName:()=>As,resolveJSModule:()=>p3D,resolveLibrary:()=>Ik,resolveModuleName:()=>BA,resolveModuleNameFromCache:()=>lAD,resolvePackageNameToPackageJson:()=>wr,resolvePath:()=>Bz,resolveProjectReferencePath:()=>WA,resolveTripleslashReference:()=>Xh,resolveTypeReferenceDirective:()=>d3D,resolvingEmptyArray:()=>ab,restHelper:()=>jx,returnFalse:()=>HB,returnNoopFileWatcher:()=>OA,returnTrue:()=>FV,returnUndefined:()=>fK,returnsPromise:()=>zt,runInitializersHelper:()=>Ux,sameFlatMap:()=>$2,sameMap:()=>R8,sameMapping:()=>SCD,scanShebangTrivia:()=>ml,scanTokenAtPosition:()=>A7D,scanner:()=>q2,screenStartingMessageCodes:()=>Th,semanticDiagnosticsOptionDeclarations:()=>Cr,serializeCompilerOptions:()=>qk,server:()=>afD,servicesVersion:()=>uBD,setCommentRange:()=>U4,setConfigFileInOptions:()=>Or,setConstantValue:()=>j4D,setEachParent:()=>vL,setEmitFlags:()=>L8,setFunctionNameHelper:()=>Rx,setGetSourceFileAsHashVersioned:()=>Nh,setIdentifierAutoGenerate:()=>ey,setIdentifierGeneratedImportReference:()=>E4D,setIdentifierTypeArguments:()=>OV,setInternalEmitFlags:()=>ay,setLocalizedDiagnosticMessages:()=>u9D,setModuleDefaultHelper:()=>Px,setNodeFlags:()=>a9D,setObjectAllocator:()=>S9D,setOriginalNode:()=>h8,setParent:()=>sF,setParentRecursive:()=>Az,setPrivateIdentifier:()=>gG,setSnippetElement:()=>jn,setSourceMapRange:()=>xF,setStackTraceLimit:()=>bMD,setStartsOnNewLine:()=>Yx,setSyntheticLeadingComments:()=>Fq,setSyntheticTrailingComments:()=>nM,setSys:()=>gMD,setSysLog:()=>o6D,setTextRange:()=>O0,setTextRangeEnd:()=>fL,setTextRangePos:()=>YN,setTextRangePosEnd:()=>rX,setTextRangePosWidth:()=>QN,setTokenSourceMapRange:()=>H4D,setTypeNode:()=>A4D,setUILocale:()=>w6D,setValueDeclaration:()=>Qy,shouldAllowImportingTsExtension:()=>QA,shouldPreserveConstEnums:()=>xW,shouldUseUriStyleNodeCoreModules:()=>L_,showModuleSpecifier:()=>R9D,signatureHasLiteralTypes:()=>or,signatureHasRestParameter:()=>z2,signatureToDisplayParts:()=>wa,single:()=>oR,singleElementArray:()=>OM,singleIterator:()=>QJ,singleOrMany:()=>hX,singleOrUndefined:()=>VJ,skipAlias:()=>i3,skipAssertions:()=>zLD,skipConstraint:()=>Ma,skipOuterExpressions:()=>X4,skipParentheses:()=>E7,skipPartiallyEmittedExpressions:()=>mJ,skipTrivia:()=>_F,skipTypeChecking:()=>BN,skipTypeParentheses:()=>Gy,skipWhile:()=>x6D,sliceAfter:()=>_p,some:()=>B0,sort:()=>uK,sortAndDeduplicate:()=>wK,sortAndDeduplicateDiagnostics:()=>nj,sourceFileAffectingCompilerOptions:()=>Mk,sourceFileMayBeEmitted:()=>OG,sourceMapCommentRegExp:()=>gk,sourceMapCommentRegExpDontCareLineStart:()=>Zo,spacePart:()=>i9,spanMap:()=>_6,spreadArrayHelper:()=>Nx,stableSort:()=>CY,startEndContainsRange:()=>Za,startEndOverlapsWithStartEnd:()=>dh,startOnNewLine:()=>V2,startTracing:()=>p6D,startsWith:()=>H6,startsWithDirectory:()=>hl,startsWithUnderscore:()=>la,startsWithUseStrict:()=>$3D,stringContainsAt:()=>VJD,stringToToken:()=>WW,stripQuotes:()=>MJ,supportedDeclarationExtensions:()=>ly,supportedJSExtensions:()=>Yn,supportedJSExtensionsFlat:()=>kL,supportedLocaleDirectories:()=>Gi,supportedTSExtensions:()=>xL,supportedTSExtensionsFlat:()=>Xn,supportedTSImplementationExtensions:()=>iy,suppressLeadingAndTrailingTrivia:()=>k$,suppressLeadingTrivia:()=>va,suppressTrailingTrivia:()=>tZD,symbolEscapedNameNoDefault:()=>$_,symbolName:()=>P9,symbolNameNoDefault:()=>F_,symbolPart:()=>dZD,symbolToDisplayParts:()=>HT,syntaxMayBeASICandidate:()=>sa,syntaxRequiresTrailingSemicolonOrASI:()=>K_,sys:()=>P3,sysLog:()=>BI,tagNamesAreEquivalent:()=>Xq,takeWhile:()=>Pf,targetOptionDeclaration:()=>fP,templateObjectHelper:()=>Cx,testFormatSettings:()=>MZD,textChangeRangeIsUnchanged:()=>WFD,textChangeRangeNewSpan:()=>qE,textChanges:()=>N8,textOrKeywordPart:()=>ya,textPart:()=>NZ,textRangeContainsPositionInclusive:()=>jI,textSpanContainsPosition:()=>ll,textSpanContainsTextSpan:()=>VFD,textSpanEnd:()=>Z4,textSpanIntersection:()=>qFD,textSpanIntersectsWith:()=>Bv,textSpanIntersectsWithPosition:()=>KFD,textSpanIntersectsWithTextSpan:()=>YOD,textSpanIsEmpty:()=>QFD,textSpanOverlap:()=>zFD,textSpanOverlapsWith:()=>XOD,textSpansEqual:()=>NA,textToKeywordObj:()=>MI,timestamp:()=>Z9,toArray:()=>GM,toBuilderFileEmit:()=>w$D,toBuilderStateFileInfoForMultiEmit:()=>P$D,toEditorSettings:()=>FS,toFileNameLowerCase:()=>_X,toLowerCase:()=>R6D,toPath:()=>K9,toProgramEmitPending:()=>S$D,tokenIsIdentifierOrKeyword:()=>L2,tokenIsIdentifierOrKeywordOrGreaterThan:()=>ZFD,tokenToString:()=>LF,trace:()=>I6,tracing:()=>U8,tracingEnabled:()=>FI,transform:()=>eRD,transformClassFields:()=>h2D,transformDeclarations:()=>Oo,transformECMAScriptModule:()=>Mo,transformES2015:()=>e2D,transformES2016:()=>t2D,transformES2017:()=>d2D,transformES2018:()=>c2D,transformES2019:()=>l2D,transformES2020:()=>i2D,transformES2021:()=>p2D,transformES5:()=>D$D,transformESDecorators:()=>m2D,transformESNext:()=>n2D,transformGenerators:()=>F$D,transformJsx:()=>a2D,transformLegacyDecorators:()=>g2D,transformModule:()=>Ho,transformNamedEvaluation:()=>b$,transformNodeModule:()=>Z$D,transformNodes:()=>aP,transformSystemModule:()=>$$D,transformTypeScript:()=>k2D,transpile:()=>VTD,transpileModule:()=>yJD,transpileOptionValueCompilerOptions:()=>Rr,tryAddToSet:()=>y3,tryAndIgnoreErrors:()=>G_,tryCast:()=>U5,tryDirectoryExists:()=>U_,tryExtractTSExtension:()=>Ab,tryFileExists:()=>kw,tryGetClassExtendingExpressionWithTypeArguments:()=>jp,tryGetClassImplementingOrExtendingExpressionWithTypeArguments:()=>Lp,tryGetDirectories:()=>W_,tryGetExtensionFromPath:()=>LQ,tryGetImportFromModuleSpecifier:()=>Vy,tryGetJSDocSatisfiesTypeNode:()=>rb,tryGetModuleNameFromFile:()=>MP,tryGetModuleSpecifierFromDeclaration:()=>GL,tryGetNativePerformanceHooks:()=>d6D,tryGetPropertyAccessOrIdentifierToString:()=>yy,tryGetPropertyNameOfBindingOrAssignmentElement:()=>Bk,tryGetSourceMappingURL:()=>j2D,tryGetTextOfPropertyName:()=>RE,tryIOAndConsumeErrors:()=>H_,tryParseJson:()=>Cb,tryParsePattern:()=>uL,tryParsePatterns:()=>mb,tryParseRawSourceMap:()=>Fo,tryReadDirectory:()=>ka,tryReadFile:()=>kN,tryRemoveDirectoryPrefix:()=>bp,tryRemoveExtension:()=>p9D,tryRemovePrefix:()=>Cc,tryRemoveSuffix:()=>u6D,typeAcquisitionDeclarations:()=>vP,typeAliasNamePart:()=>iZD,typeDirectiveIsEqualTo:()=>B7D,typeKeywords:()=>E_,typeParameterNamePart:()=>pZD,typeToDisplayParts:()=>uw,unchangedPollThresholds:()=>XI,unchangedTextChangeRange:()=>kI,unescapeLeadingUnderscores:()=>t5,unmangleScopedPackageName:()=>cP,unorderedRemoveItem:()=>HM,unorderedRemoveItemAt:()=>Lc,unreachableCodeIsError:()=>b9D,unusedLabelIsError:()=>x9D,unwrapInnermostStatementOfLabel:()=>xi,updateErrorForNoInputFiles:()=>Wk,updateLanguageServiceSourceFile:()=>nt,updateMissingFilePathsWatch:()=>yo,updateResolutionField:()=>ZA,updateSharedExtendedConfigFileWatcher:()=>Jh,updateSourceFile:()=>Jr,updateWatchingWildcardDirectories:()=>Dw,usesExtensionsOnImports:()=>c9D,usingSingleLineStringWriter:()=>EE,utf16EncodeAsString:()=>pj,validateLocaleAndSetLanguage:()=>VOD,valuesHelper:()=>Ix,version:()=>_,versionMajorMinor:()=>x,visitArray:()=>pP,visitCommaListElements:()=>nP,visitEachChild:()=>w1,visitFunctionBody:()=>AZ,visitIterationBody:()=>c2,visitLexicalEnvironment:()=>er,visitNode:()=>z0,visitNodes:()=>p1,visitParameterList:()=>b9,walkUpBindingElementsAndPatterns:()=>rj,walkUpLexicalEnvironments:()=>R2D,walkUpOuterExpressions:()=>Z3D,walkUpParenthesizedExpressions:()=>KV,walkUpParenthesizedTypes:()=>Uy,walkUpParenthesizedTypesAndGetParentAndChild:()=>l7D,whitespaceOrMapCommentRegExp:()=>mk,writeCommentRange:()=>IL,writeFile:()=>mE,writeFileEnsuringDirectories:()=>Up,zipWith:()=>TD});var _z=G({"src/server/_namespaces/ts.ts"(){zF(),Uw(),H5(),z0D(),$H()}}),efD={};y(efD,{ActionInvalidate:()=>qw,ActionPackageInstalled:()=>Ww,ActionSet:()=>Kw,ActionWatchTypingLocations:()=>QT,Arguments:()=>ys,AutoImportProviderProject:()=>N0D,AuxiliaryProject:()=>C0D,CharRangeSection:()=>k0D,CloseFileWatcherEvent:()=>ig,CommandNames:()=>BzD,ConfigFileDiagEvent:()=>gg,ConfiguredProject:()=>T0D,CreateDirectoryWatcherEvent:()=>lg,CreateFileWatcherEvent:()=>cg,Errors:()=>wV,EventBeginInstallTypes:()=>uh,EventEndInstallTypes:()=>fh,EventInitializationFailed:()=>Is,EventTypesRegistry:()=>Sh,ExternalProject:()=>fg,GcTimer:()=>G0D,InferredProject:()=>A0D,LargeFileReferencedEvent:()=>_g,LineIndex:()=>xT,LineLeaf:()=>vS,LineNode:()=>_O,LogLevel:()=>K0D,Msg:()=>q0D,OpenFileInfoTelemetryEvent:()=>P0D,Project:()=>FH,ProjectInfoTelemetryEvent:()=>dg,ProjectKind:()=>vT,ProjectLanguageServiceStateEvent:()=>mg,ProjectLoadingFinishEvent:()=>hg,ProjectLoadingStartEvent:()=>kg,ProjectReferenceProjectLoadKind:()=>u0D,ProjectService:()=>f0D,ProjectsUpdatedInBackgroundEvent:()=>SS,ScriptInfo:()=>O0D,ScriptVersionCache:()=>og,Session:()=>YzD,TextStorage:()=>M0D,ThrottledOperations:()=>U0D,TypingsCache:()=>j0D,TypingsInstallerAdapter:()=>zzD,allFilesAreJsOrDts:()=>kVD,allRootFilesAreJsOrDts:()=>xVD,asNormalizedPath:()=>eJ,convertCompilerOptions:()=>vg,convertFormatOptions:()=>iA,convertScriptKindName:()=>I0D,convertTypeAcquisition:()=>gVD,convertUserPreferences:()=>mVD,convertWatchOptions:()=>wS,countEachFileTypes:()=>yS,createInstallTypingsRequest:()=>GVD,createModuleSpecifierCache:()=>aVD,createNormalizedPathMap:()=>IfD,createPackageJsonCache:()=>tVD,createSortedArray:()=>LVD,emptyArray:()=>T4,findArgument:()=>GND,forEachResolvedProjectReferenceProject:()=>pA,formatDiagnosticToProtocol:()=>fS,formatMessage:()=>eVD,getBaseConfigFileName:()=>W0D,getLocationInNewDocument:()=>ZzD,hasArgument:()=>UND,hasNoTypeScriptSource:()=>hVD,indent:()=>YT,isBackgroundProject:()=>PS,isConfigFile:()=>nVD,isConfiguredProject:()=>Oq,isDynamicFileName:()=>IS,isExternalProject:()=>L0D,isInferredProject:()=>lA,isInferredProjectName:()=>HVD,makeAutoImportProviderProjectName:()=>OVD,makeAuxiliaryProjectName:()=>jVD,makeInferredProjectName:()=>MVD,maxFileSize:()=>xg,maxProgramSizeForNonTsFiles:()=>bg,normalizedPathToPath:()=>RS,nowString:()=>HND,nullCancellationToken:()=>JzD,nullTypingsInstaller:()=>ug,projectContainsInfoDirectly:()=>kO,protocol:()=>bVD,removeSorted:()=>yfD,stringifyIndented:()=>qq,toEvent:()=>DzD,toNormalizedPath:()=>L9,tryConvertScriptKindName:()=>R0D,typingsInstaller:()=>WVD,updateProjectIfDirty:()=>$Z});var lU0=G({"src/typescript/_namespaces/ts.server.ts"(){vh(),$H()}}),DvD={};y(DvD,{ANONYMOUS:()=>N_,AccessFlags:()=>Dl,AssertionLevel:()=>Tc,AssignmentDeclarationKind:()=>Vl,AssignmentKind:()=>ap,Associativity:()=>ep,BreakpointResolver:()=>De,BuilderFileEmit:()=>Js,BuilderProgramKind:()=>Bs,BuilderState:()=>aJ,BundleFileSectionKind:()=>Il,CallHierarchy:()=>PO,CharacterCodes:()=>Ll,CheckFlags:()=>oc,CheckMode:()=>kk,ClassificationType:()=>ns,ClassificationTypeNames:()=>ps,CommentDirectiveType:()=>vc,Comparison:()=>VD,CompletionInfoFlags:()=>_s,CompletionTriggerKind:()=>vs,Completions:()=>vO,ContainerFlags:()=>pr,ContextFlags:()=>gc,Debug:()=>S,DiagnosticCategory:()=>ZI,Diagnostics:()=>H,DocumentHighlights:()=>I_,ElementFlags:()=>ec,EmitFlags:()=>nf,EmitHint:()=>Nl,EmitOnly:()=>xc,EndOfLineState:()=>ds,EnumKind:()=>rc,ExitStatus:()=>kc,ExportKind:()=>Ft,Extension:()=>Al,ExternalEmitHelpers:()=>El,FileIncludeKind:()=>kf,FilePreprocessingDiagnosticsKind:()=>bc,FileSystemEntryKind:()=>fl,FileWatcherEventKind:()=>ul,FindAllReferences:()=>c7,FlattenLevel:()=>zo,FlowFlags:()=>$I,ForegroundColorEscapeSequences:()=>so,FunctionFlags:()=>tp,GeneratedIdentifierFlags:()=>xf,GetLiteralTextFlags:()=>rp,GoToDefinition:()=>_A,HighlightSpanKind:()=>xs,IdentifierNameMap:()=>jO,IdentifierNameMultiMap:()=>Vo,ImportKind:()=>Dt,ImportsNotUsedAsValues:()=>Gl,IndentStyle:()=>ks,IndexFlags:()=>Fl,IndexKind:()=>Jl,InferenceFlags:()=>Yl,InferencePriority:()=>Xl,InlayHintKind:()=>bs,InlayHints:()=>pDD,InternalEmitFlags:()=>Cl,InternalSymbolName:()=>sc,InvalidatedProjectKind:()=>Rs,JSDocParsingMode:()=>wl,JsDoc:()=>Mq,JsTyping:()=>WX,JsxEmit:()=>Ul,JsxFlags:()=>uc,JsxReferenceKind:()=>$l,LanguageServiceMode:()=>Ss,LanguageVariant:()=>Ol,LexicalEnvironmentFlags:()=>Rl,ListFormat:()=>yl,LogLevel:()=>Ic,MemberOverrideStatus:()=>hc,ModifierFlags:()=>vf,ModuleDetectionKind:()=>zl,ModuleInstanceState:()=>ir,ModuleKind:()=>JE,ModuleResolutionKind:()=>cj,ModuleSpecifierEnding:()=>Qn,NavigateTo:()=>SJD,NavigationBar:()=>mJD,NewLineKind:()=>Hl,NodeBuilderFlags:()=>mc,NodeCheckFlags:()=>ac,NodeFactoryFlags:()=>Hn,NodeFlags:()=>ff,NodeResolutionFeatures:()=>dr,ObjectFlags:()=>mf,OperationCanceledException:()=>dj,OperatorPrecedence:()=>Dn,OrganizeImports:()=>tJ,OrganizeImportsMode:()=>fs,OuterExpressionKinds:()=>Tl,OutliningElementsCollector:()=>sDD,OutliningSpanKind:()=>gs,OutputFileType:()=>ms,PackageJsonAutoImportPreference:()=>ws,PackageJsonDependencyGroup:()=>Ps,PatternMatchKind:()=>y_,PollingInterval:()=>rf,PollingWatchKind:()=>Wl,PragmaKindFlags:()=>Pl,PrivateIdentifierKind:()=>En,ProcessLevel:()=>Uo,ProgramUpdateLevel:()=>wo,QuotePreference:()=>ra,RelationComparisonResult:()=>bf,Rename:()=>Tg,ScriptElementKind:()=>ls,ScriptElementKindModifier:()=>is,ScriptKind:()=>cf,ScriptSnapshot:()=>xh,ScriptTarget:()=>Ml,SemanticClassificationFormat:()=>us,SemanticMeaning:()=>na,SemicolonPreference:()=>hs,SignatureCheckMode:()=>hk,SignatureFlags:()=>df,SignatureHelp:()=>OS,SignatureKind:()=>Zl,SmartSelectionRange:()=>eDD,SnippetKind:()=>pf,SortKind:()=>Nc,StructureIsReused:()=>hf,SymbolAccessibility:()=>lc,SymbolDisplay:()=>PV,SymbolDisplayPartKind:()=>Gw,SymbolFlags:()=>_f,SymbolFormatFlags:()=>cc,SyntaxKind:()=>uf,SyntheticSymbolKind:()=>ic,Ternary:()=>Ql,ThrottledCancellationToken:()=>et,TokenClass:()=>cs,TokenFlags:()=>fc,TransformFlags:()=>lf,TypeFacts:()=>xk,TypeFlags:()=>gf,TypeFormatFlags:()=>dc,TypeMapKind:()=>Bl,TypePredicateKind:()=>pc,TypeReferenceSerializationKind:()=>nc,UnionReduction:()=>_c,UpToDateStatusType:()=>Cs,VarianceFlags:()=>tc,Version:()=>kJ,VersionRange:()=>eR,WatchDirectoryFlags:()=>jl,WatchDirectoryKind:()=>ql,WatchFileKind:()=>Kl,WatchLogLevel:()=>So,WatchType:()=>l4,accessPrivateIdentifier:()=>y2D,addDisposableResourceHelper:()=>bx,addEmitFlags:()=>BX,addEmitHelper:()=>rM,addEmitHelpers:()=>AQ,addInternalEmitFlags:()=>pM,addNodeFactoryPatcher:()=>kjD,addObjectAllocatorPatcher:()=>w9D,addRange:()=>s8,addRelatedInfo:()=>gF,addSyntheticLeadingComment:()=>jN,addSyntheticTrailingComment:()=>Qx,addToSeen:()=>iJ,advancedAsyncSuperHelper:()=>$P,affectsDeclarationPathOptionDeclarations:()=>Nr,affectsEmitOptionDeclarations:()=>Er,allKeysStartWithDot:()=>Pk,altDirectorySeparator:()=>KI,and:()=>Rf,append:()=>P1,appendIfUnique:()=>kX,arrayFrom:()=>n6,arrayIsEqualTo:()=>r$,arrayIsHomogeneous:()=>s9D,arrayIsSorted:()=>sU,arrayOf:()=>E6D,arrayReverseIterator:()=>nR,arrayToMap:()=>KW,arrayToMultiMap:()=>sR,arrayToNumericMap:()=>T6D,arraysEqual:()=>U6,assertType:()=>MM,assign:()=>bj,assignHelper:()=>Gx,asyncDelegator:()=>Mx,asyncGeneratorHelper:()=>Hx,asyncSuperHelper:()=>FP,asyncValues:()=>Ox,attachFileToDiagnostics:()=>mM,awaitHelper:()=>oM,awaiterHelper:()=>Lx,base64decode:()=>j9D,base64encode:()=>O9D,binarySearch:()=>eQ,binarySearchKey:()=>WM,bindSourceFile:()=>Z2D,breakIntoCharacterSpans:()=>NJD,breakIntoWordSpans:()=>TJD,buildLinkParts:()=>rZD,buildOpts:()=>Ok,buildOverload:()=>AfD,bundlerModuleNameResolver:()=>n3D,canBeConvertedToAsync:()=>qt,canHaveDecorators:()=>hG,canHaveExportModifier:()=>ky,canHaveFlowNode:()=>Ky,canHaveIllegalDecorators:()=>en,canHaveIllegalModifiers:()=>Y3D,canHaveIllegalType:()=>qLD,canHaveIllegalTypeParameters:()=>X3D,canHaveJSDoc:()=>qy,canHaveLocals:()=>cX,canHaveModifiers:()=>oJ,canHaveSymbol:()=>aB,canJsonReportNoInputFiles:()=>hN,canProduceDiagnostics:()=>ak,canUsePropertyAccess:()=>lp,canWatchAffectingLocation:()=>b$D,canWatchAtTypes:()=>v$D,canWatchDirectoryOrFile:()=>Oh,cartesianProduct:()=>b6D,cast:()=>qF,chainBundle:()=>sJ,chainDiagnosticMessages:()=>o6,changeAnyExtension:()=>VI,changeCompilerHostLikeToUseCache:()=>Zw,changeExtension:()=>tK,changeFullExtension:()=>DFD,changesAffectModuleResolution:()=>Nv,changesAffectingProgramStructure:()=>$7D,childIsDecorated:()=>PE,classElementOrClassElementParameterIsDecorated:()=>ki,classHasClassThisAssignment:()=>Ko,classHasDeclaredOrExplicitlyAssignedName:()=>qo,classHasExplicitlyAssignedName:()=>rk,classOrConstructorParameterIsDecorated:()=>zV,classPrivateFieldGetHelper:()=>ux,classPrivateFieldInHelper:()=>vx,classPrivateFieldSetHelper:()=>fx,classicNameResolver:()=>e3D,classifier:()=>xBD,cleanExtendedConfigCache:()=>Bh,clear:()=>S7,clearMap:()=>G$,clearSharedExtendedConfigFileWatcher:()=>Io,climbPastPropertyAccess:()=>hh,climbPastPropertyOrElementAccess:()=>AZD,clone:()=>Gc,cloneCompilerOptions:()=>qa,closeFileWatcher:()=>LB,closeFileWatcherOf:()=>cZ,codefix:()=>o3,collapseTextChangeRangesAcrossMultipleVersions:()=>UFD,collectExternalModuleInfo:()=>Bo,combine:()=>r1,combinePaths:()=>Y5,commentPragmas:()=>JI,commonOptionsWithBuild:()=>uP,commonPackageFolders:()=>Zn,compact:()=>VW,compareBooleans:()=>Fz,compareDataObjects:()=>Ip,compareDiagnostics:()=>DN,compareDiagnosticsSkipRelatedInformation:()=>Pb,compareEmitHelpers:()=>R4D,compareNumberOfDirectorySeparators:()=>vy,comparePaths:()=>BV,comparePathsCaseInsensitive:()=>lMD,comparePathsCaseSensitive:()=>cMD,comparePatternKeys:()=>gr,compareProperties:()=>S6D,compareStringsCaseInsensitive:()=>Nf,compareStringsCaseInsensitiveEslintCompatible:()=>y6D,compareStringsCaseSensitive:()=>Z2,compareStringsCaseSensitiveUI:()=>tR,compareTextSpans:()=>Ef,compareValues:()=>V9,compileOnSaveCommandLineOption:()=>wP,compilerOptionsAffectDeclarationPath:()=>g9D,compilerOptionsAffectEmit:()=>_9D,compilerOptionsAffectSemanticDiagnostics:()=>h9D,compilerOptionsDidYouMeanDiagnostics:()=>bP,compilerOptionsIndicateEsModules:()=>Oa,compose:()=>HMD,computeCommonSourceDirectoryOfFilenames:()=>W$D,computeLineAndCharacterOfPosition:()=>ij,computeLineOfPosition:()=>QE,computeLineStarts:()=>CM,computePositionOfLineAndCharacter:()=>Fv,computeSignature:()=>lG,computeSignatureWithDiagnostics:()=>Ds,computeSuggestionDiagnostics:()=>Vt,computedOptions:()=>E4,concatenate:()=>y5,concatenateDiagnosticMessageChains:()=>v9D,consumesNodeCoreModules:()=>M_,contains:()=>$8,containsIgnoredPath:()=>VN,containsObjectRestOrSpread:()=>AP,containsParseError:()=>ZL,containsPath:()=>hJ,convertCompilerOptionsForTelemetry:()=>w3D,convertCompilerOptionsFromJson:()=>GAD,convertJsonOption:()=>_G,convertToBase64:()=>M9D,convertToJson:()=>IP,convertToObject:()=>T3D,convertToOptionsWithAbsolutePaths:()=>Mr,convertToRelativePath:()=>YE,convertToTSConfig:()=>FAD,convertTypeAcquisitionFromJson:()=>HAD,copyComments:()=>oG,copyEntries:()=>Tv,copyLeadingComments:()=>RA,copyProperties:()=>Hc,copyTrailingAsLeadingComments:()=>bw,copyTrailingComments:()=>MT,couldStartTrivia:()=>JFD,countWhere:()=>$7,createAbstractBuilder:()=>CED,createAccessorPropertyBackingField:()=>Fr,createAccessorPropertyGetRedirector:()=>G3D,createAccessorPropertySetRedirector:()=>H3D,createBaseNodeFactory:()=>z4D,createBinaryExpressionTrampoline:()=>Xk,createBindingHelper:()=>_L,createBuildInfo:()=>tP,createBuilderProgram:()=>Fs,createBuilderProgramUsingProgramBuildInfo:()=>u$D,createBuilderStatusReporter:()=>o$D,createCacheWithRedirects:()=>ur,createCacheableExportInfoMap:()=>aa,createCachedDirectoryStructureHost:()=>Zh,createClassNamedEvaluationHelperBlock:()=>v2D,createClassThisAssignmentBlock:()=>u2D,createClassifier:()=>_ND,createCommentDirectivesMap:()=>Q7D,createCompilerDiagnostic:()=>D4,createCompilerDiagnosticForInvalidCustomType:()=>L3D,createCompilerDiagnosticFromMessageChain:()=>yb,createCompilerHost:()=>U$D,createCompilerHostFromProgramHost:()=>Os,createCompilerHostWorker:()=>vo,createDetachedDiagnostic:()=>SL,createDiagnosticCollection:()=>NL,createDiagnosticForFileFromMessageChain:()=>ui,createDiagnosticForNode:()=>c8,createDiagnosticForNodeArray:()=>XL,createDiagnosticForNodeArrayFromMessageChain:()=>lI,createDiagnosticForNodeFromMessageChain:()=>GQ,createDiagnosticForNodeInSourceFile:()=>WJ,createDiagnosticForRange:()=>L7D,createDiagnosticMessageChainFromDiagnostic:()=>j7D,createDiagnosticReporter:()=>Qw,createDocumentPositionMapper:()=>C2D,createDocumentRegistry:()=>WJD,createDocumentRegistryInternal:()=>Jt,createEmitAndSemanticDiagnosticsBuilderProgram:()=>Xs,createEmitHelperFactory:()=>T4D,createEmptyExports:()=>WP,createExpressionForJsxElement:()=>e4D,createExpressionForJsxFragment:()=>D3D,createExpressionForObjectLiteralElementLike:()=>F3D,createExpressionForPropertyName:()=>nn,createExpressionFromEntityName:()=>UP,createExternalHelpersImportDeclarationIfNeeded:()=>sn,createFileDiagnostic:()=>Q3,createFileDiagnosticFromMessageChain:()=>vv,createForOfBindingStatement:()=>pn,createGetCanonicalFileName:()=>c3,createGetSourceFile:()=>uo,createGetSymbolAccessibilityDiagnosticForNode:()=>AV,createGetSymbolAccessibilityDiagnosticForNodeName:()=>J$D,createGetSymbolWalker:()=>J2D,createIncrementalCompilerHost:()=>Ls,createIncrementalProgram:()=>n$D,createInputFiles:()=>_jD,createInputFilesWithFilePaths:()=>Un,createInputFilesWithFileTexts:()=>Gn,createJsxFactoryExpression:()=>ln,createLanguageService:()=>wBD,createLanguageServiceSourceFile:()=>t_,createMemberAccessForPropertyName:()=>kG,createModeAwareCache:()=>MO,createModeAwareCacheKey:()=>cN,createModuleNotFoundChain:()=>Rv,createModuleResolutionCache:()=>JA,createModuleResolutionLoader:()=>go,createModuleResolutionLoaderUsingGlobalCache:()=>_$D,createModuleSpecifierResolutionHost:()=>rG,createMultiMap:()=>WZ,createNodeConverters:()=>q4D,createNodeFactory:()=>ny,createOptionNameMap:()=>Vk,createOverload:()=>V0D,createPackageJsonImportFilter:()=>LT,createPackageJsonInfo:()=>_a,createParenthesizerRules:()=>K4D,createPatternMatcher:()=>OJD,createPrependNodes:()=>ro,createPrinter:()=>zq,createPrinterWithDefaults:()=>To,createPrinterWithRemoveComments:()=>eW,createPrinterWithRemoveCommentsNeverAsciiEscape:()=>Ro,createPrinterWithRemoveCommentsOmitTrailingSemicolon:()=>eP,createProgram:()=>zh,createProgramHost:()=>js,createPropertyNameNodeForIdentifierOrLiteral:()=>pb,createQueue:()=>aR,createRange:()=>kZ,createRedirectedBuilderProgram:()=>Zs,createResolutionCache:()=>Qs,createRuntimeTypeSerializer:()=>_2D,createScanner:()=>XV,createSemanticDiagnosticsBuilderProgram:()=>AED,createSet:()=>Mc,createSolutionBuilder:()=>hED,createSolutionBuilderHost:()=>xED,createSolutionBuilderWithWatch:()=>_ED,createSolutionBuilderWithWatchHost:()=>kED,createSortedArray:()=>qM,createSourceFile:()=>EP,createSourceMapGenerator:()=>O2D,createSourceMapSource:()=>gjD,createSuperAccessVariableStatement:()=>sk,createSymbolTable:()=>HF,createSymlinkCache:()=>vp,createSystemWatchFunctions:()=>s6D,createTextChange:()=>Rw,createTextChangeFromStartLength:()=>th,createTextChangeRange:()=>AI,createTextRangeFromNode:()=>Ga,createTextRangeFromSpan:()=>ah,createTextSpan:()=>w3,createTextSpanFromBounds:()=>L4,createTextSpanFromNode:()=>i2,createTextSpanFromRange:()=>bz,createTextSpanFromStringLiteralLikeContent:()=>Ua,createTextWriter:()=>Ny,createTokenRange:()=>Np,createTypeChecker:()=>q2D,createTypeReferenceDirectiveResolutionCache:()=>Rk,createTypeReferenceResolutionLoader:()=>Yh,createUnparsedSourceFile:()=>Wn,createWatchCompilerHost:()=>fED,createWatchCompilerHostOfConfigFile:()=>l$D,createWatchCompilerHostOfFilesAndCompilerOptions:()=>i$D,createWatchFactory:()=>Ms,createWatchHost:()=>Hs,createWatchProgram:()=>vED,createWatchStatusReporter:()=>g$D,createWriteFileMeasuringIO:()=>fo,declarationNameToString:()=>b7,decodeMappings:()=>$o,decodedTextSpanIntersectsWith:()=>LI,decorateHelper:()=>zx,deduplicate:()=>AY,defaultIncludeSpec:()=>Ak,defaultInitCompilerOptions:()=>jk,defaultMaximumTruncationLength:()=>my,detectSortCaseSensitivity:()=>SK,diagnosticCategoryName:()=>DG,diagnosticToString:()=>aG,directoryProbablyExists:()=>jB,directorySeparator:()=>q9,displayPart:()=>O$,displayPartsToString:()=>$S,disposeEmitNodes:()=>Mn,disposeResourcesHelper:()=>xx,documentSpansEqual:()=>Ea,dumpTracingLegend:()=>n6D,elementAt:()=>ZV,elideNodes:()=>U3D,emitComments:()=>X9D,emitDetachedComments:()=>Y9D,emitFiles:()=>Dh,emitFilesAndReportErrors:()=>Ch,emitFilesAndReportErrorsAndGetExitStatus:()=>c$D,emitModuleKindIsNonNodeESM:()=>wb,emitNewLineBeforeLeadingCommentOfPosition:()=>B9D,emitNewLineBeforeLeadingComments:()=>Z9D,emitNewLineBeforeLeadingCommentsOfPosition:()=>J9D,emitSkippedWithNoDiagnostics:()=>Gh,emitUsingBuildInfo:()=>V$D,emptyArray:()=>Q0,emptyFileSystemEntries:()=>Jx,emptyMap:()=>wf,emptyOptions:()=>iZ,emptySet:()=>k6D,endsWith:()=>u9,ensurePathIsNonModuleName:()=>qW,ensureScriptKind:()=>_b,ensureTrailingDirectorySeparator:()=>s4,entityNameToString:()=>y$,enumerateInsertsAndDeletes:()=>yf,equalOwnProperties:()=>N6D,equateStringsCaseInsensitive:()=>vK,equateStringsCaseSensitive:()=>aU,equateValues:()=>$V,esDecorateHelper:()=>Wx,escapeJsxAttributeString:()=>zp,escapeLeadingUnderscores:()=>C9,escapeNonAsciiString:()=>Ey,escapeSnippetText:()=>bW,escapeString:()=>fY,escapeTemplateSubstitution:()=>Qp,every:()=>Z0,expandPreOrPostfixIncrementOrDecrementExpression:()=>Dk,explainFiles:()=>Ks,explainIfFileIsRedirectAndImpliedFormat:()=>qs,exportAssignmentIsAlias:()=>LL,exportStarHelper:()=>Sx,expressionResultIsUnused:()=>t9D,extend:()=>Cf,extendsHelper:()=>Ax,extensionFromPath:()=>JN,extensionIsTS:()=>db,extensionsNotSupportingExtensionlessResolution:()=>py,externalHelpersModuleNameText:()=>Cz,factory:()=>k,fileExtensionIs:()=>f9,fileExtensionIsOneOf:()=>S4,fileIncludeReasonToDiagnostics:()=>Gs,fileShouldUseJavaScriptRequire:()=>pa,filter:()=>a0,filterMutate:()=>y9,filterSemanticDiagnostics:()=>Kh,find:()=>M0,findAncestor:()=>i1,findBestPatternMatch:()=>Ac,findChildOfKind:()=>T7,findComputedPropertyNameCacheAssignment:()=>Yk,findConfigFile:()=>q$D,findContainingList:()=>ch,findDiagnosticForNode:()=>BJD,findFirstNonJsxWhitespaceToken:()=>RZD,findIndex:()=>D8,findLast:()=>a1,findLastIndex:()=>C8,findListItemInfo:()=>TZD,findMap:()=>V6,findModifier:()=>EA,findNextToken:()=>$U,findPackageJson:()=>ZJD,findPackageJsons:()=>ha,findPrecedingMatchingToken:()=>oh,findPrecedingToken:()=>v4,findSuperStatementIndexPath:()=>ik,findTokenOnLeftOfPosition:()=>ph,findUseStrictPrologue:()=>on,first:()=>f1,firstDefined:()=>ED,firstDefinedIterator:()=>XD,firstIterator:()=>G6,firstOrOnly:()=>ca,firstOrUndefined:()=>m4,firstOrUndefinedIterator:()=>k8,fixupCompilerOptions:()=>Ut,flatMap:()=>h5,flatMapIterator:()=>h2,flatMapToMutable:()=>M2,flatten:()=>_9,flattenCommaList:()=>M3D,flattenDestructuringAssignment:()=>mG,flattenDestructuringBinding:()=>tW,flattenDiagnosticMessageText:()=>KX,forEach:()=>a,forEachAncestor:()=>Z7D,forEachAncestorDirectory:()=>gJ,forEachChild:()=>s6,forEachChildRecursively:()=>xN,forEachEmittedFile:()=>Ao,forEachEnclosingBlockScopeContainer:()=>H7D,forEachEntry:()=>a4,forEachExternalModuleToImportFrom:()=>ea,forEachImportClauseDeclaration:()=>Zb,forEachKey:()=>iX,forEachLeadingCommentRange:()=>GI,forEachNameInAccessChainWalkingLeft:()=>y9D,forEachPropertyAssignment:()=>zL,forEachResolvedProjectReference:()=>co,forEachReturnStatement:()=>AW,forEachRight:()=>bD,forEachTrailingCommentRange:()=>HI,forEachTsConfigPropArray:()=>rI,forEachUnique:()=>Ta,forEachYieldExpression:()=>C7D,forSomeAncestorDirectory:()=>QjD,formatColorAndReset:()=>DU,formatDiagnostic:()=>bo,formatDiagnostics:()=>$ED,formatDiagnosticsWithColorAndContext:()=>G$D,formatGeneratedName:()=>Bq,formatGeneratedNamePart:()=>eL,formatLocation:()=>xo,formatMessage:()=>Sp,formatStringFromArgs:()=>xY,formatting:()=>i4,fullTripleSlashAMDReferencePathRegEx:()=>sp,fullTripleSlashReferencePathRegEx:()=>op,generateDjb2Hash:()=>BE,generateTSConfig:()=>XAD,generatorHelper:()=>yx,getAdjustedReferenceLocation:()=>Xa,getAdjustedRenameLocation:()=>ih,getAliasDeclarationFromName:()=>ai,getAllAccessorDeclarations:()=>AG,getAllDecoratorsOfClass:()=>Yo,getAllDecoratorsOfClassElement:()=>nk,getAllJSDocTags:()=>Vv,getAllJSDocTagsOfKind:()=>jOD,getAllKeys:()=>UMD,getAllProjectOutputs:()=>ek,getAllSuperTypeNodes:()=>vE,getAllUnscopedEmitHelpers:()=>Cn,getAllowJSCompilerOption:()=>Ez,getAllowSyntheticDefaultImports:()=>NG,getAncestor:()=>sK,getAnyExtensionFromPath:()=>lj,getAreDeclarationMapsEnabled:()=>cy,getAssignedExpandoInitializer:()=>wM,getAssignedName:()=>Yv,getAssignedNameOfIdentifier:()=>sN,getAssignmentDeclarationKind:()=>o9,getAssignmentDeclarationPropertyAccessKind:()=>Xy,getAssignmentTargetKind:()=>vM,getAutomaticTypeDirectiveNames:()=>Nk,getBaseFileName:()=>q4,getBinaryOperatorPrecedence:()=>Cy,getBuildInfo:()=>Fh,getBuildInfoFileVersionMap:()=>$s,getBuildInfoText:()=>Q$D,getBuildOrderFromAnyBuildOrder:()=>Ih,getBuilderCreationParameters:()=>Hh,getBuilderFileEmit:()=>vz,getCheckFlags:()=>m9,getClassExtendsHeritageElement:()=>RW,getClassLikeDeclarationOfSymbol:()=>jQ,getCombinedLocalAndExportSymbolFlags:()=>aE,getCombinedModifierFlags:()=>_K,getCombinedNodeFlags:()=>YV,getCombinedNodeFlagsAlwaysIncludeJSDoc:()=>il,getCommentRange:()=>XX,getCommonSourceDirectory:()=>ZT,getCommonSourceDirectoryOfConfig:()=>zA,getCompilerOptionValue:()=>ub,getCompilerOptionsDiffValue:()=>JAD,getConditions:()=>uz,getConfigFileParsingDiagnostics:()=>cG,getConstantValue:()=>O4D,getContainerFlags:()=>lr,getContainerNode:()=>pG,getContainingClass:()=>H3,getContainingClassExcludingClassDecorators:()=>cv,getContainingClassStaticBlock:()=>S7D,getContainingFunction:()=>DZ,getContainingFunctionDeclaration:()=>w7D,getContainingFunctionOrClassStaticBlock:()=>dv,getContainingNodeArray:()=>e9D,getContainingObjectLiteralElement:()=>ZS,getContextualTypeFromParent:()=>V_,getContextualTypeFromParentOrAncestorTypeNode:()=>lh,getCurrentTime:()=>zw,getDeclarationDiagnostics:()=>B$D,getDeclarationEmitExtensionForPath:()=>qb,getDeclarationEmitOutputFilePath:()=>t7D,getDeclarationEmitOutputFilePathWorker:()=>Kb,getDeclarationFileExtension:()=>Br,getDeclarationFromName:()=>fE,getDeclarationModifierFlagsFromSymbol:()=>_Z,getDeclarationOfKind:()=>j9,getDeclarationsOfKind:()=>D7D,getDeclaredExpandoInitializer:()=>$y,getDecorators:()=>Yz,getDefaultCompilerOptions:()=>a_,getDefaultExportInfoWorker:()=>R_,getDefaultFormatCodeSettings:()=>bh,getDefaultLibFileName:()=>OI,getDefaultLibFilePath:()=>SBD,getDefaultLikeExportInfo:()=>T_,getDiagnosticText:()=>rLD,getDiagnosticsWithinSpan:()=>XJD,getDirectoryPath:()=>G5,getDirectoryToWatchFailedLookupLocation:()=>Ys,getDirectoryToWatchFailedLookupLocationFromTypeRoot:()=>k$D,getDocumentPositionMapper:()=>Qt,getDocumentSpansEqualityComparer:()=>Na,getESModuleInterop:()=>oX,getEditsForFileRename:()=>GJD,getEffectiveBaseTypeNode:()=>eB,getEffectiveConstraintOfTypeParameter:()=>sj,getEffectiveContainerForJSDocTemplateTag:()=>Jb,getEffectiveImplementsTypeNodes:()=>AL,getEffectiveInitializer:()=>Fy,getEffectiveJSDocHost:()=>oK,getEffectiveModifierFlags:()=>T2,getEffectiveModifierFlagsAlwaysIncludeJSDoc:()=>K9D,getEffectiveModifierFlagsNoCache:()=>q9D,getEffectiveReturnTypeNode:()=>OJ,getEffectiveSetAccessorTypeAnnotationNode:()=>$9D,getEffectiveTypeAnnotationNode:()=>S3,getEffectiveTypeParameterDeclarations:()=>Qz,getEffectiveTypeRoots:()=>dN,getElementOrPropertyAccessArgumentExpressionOrName:()=>$b,getElementOrPropertyAccessName:()=>HQ,getElementsOfBindingOrAssignmentPattern:()=>tL,getEmitDeclarations:()=>gZ,getEmitFlags:()=>nF,getEmitHelpers:()=>Vx,getEmitModuleDetectionKind:()=>Fn,getEmitModuleKind:()=>p3,getEmitModuleResolutionKind:()=>I2,getEmitScriptTarget:()=>q7,getEmitStandardClassFields:()=>k9D,getEnclosingBlockScopeContainer:()=>pX,getEnclosingContainer:()=>Si,getEncodedSemanticClassifications:()=>$t,getEncodedSyntacticClassifications:()=>Zt,getEndLinePosition:()=>gI,getEntityNameFromTypeNode:()=>aI,getEntrypointsFromPackageJsonInfo:()=>kr,getErrorCountForSummary:()=>Lh,getErrorSpanForNode:()=>zG,getErrorSummaryText:()=>m$D,getEscapedTextOfIdentifierOrLiteral:()=>kE,getEscapedTextOfJsxAttributeName:()=>WN,getEscapedTextOfJsxNamespacedName:()=>lM,getExpandoInitializer:()=>nK,getExportAssignmentExpression:()=>ti,getExportInfoMap:()=>gw,getExportNeedsImportStarHelper:()=>E2D,getExpressionAssociativity:()=>Bp,getExpressionPrecedence:()=>_E,getExternalHelpersModuleName:()=>HP,getExternalModuleImportEqualsDeclarationExpression:()=>wE,getExternalModuleName:()=>HL,getExternalModuleNameFromDeclaration:()=>s7D,getExternalModuleNameFromPath:()=>qp,getExternalModuleNameLiteral:()=>WO,getExternalModuleRequireArgument:()=>_i,getFallbackOptions:()=>$w,getFileEmitOutput:()=>C$D,getFileMatcherPatterns:()=>hb,getFileNamesFromConfigSpecs:()=>_N,getFileWatcherEventKind:()=>Sl,getFilesInErrorForSummary:()=>Ah,getFirstConstructorWithBody:()=>vY,getFirstIdentifier:()=>FZ,getFirstNonSpaceCharacterPosition:()=>aZD,getFirstProjectOutput:()=>No,getFixableErrorSpanExpression:()=>ma,getFormatCodeSettingsForWriting:()=>A_,getFullWidth:()=>hI,getFunctionFlags:()=>t4,getHeritageClause:()=>Oy,getHostSignatureFromJSDoc:()=>rK,getIdentifierAutoGenerate:()=>ijD,getIdentifierGeneratedImportReference:()=>N4D,getIdentifierTypeArguments:()=>TG,getImmediatelyInvokedFunctionExpression:()=>qG,getImpliedNodeFormatForFile:()=>Xw,getImpliedNodeFormatForFileWorker:()=>po,getImportNeedsImportDefaultHelper:()=>Jo,getImportNeedsImportStarHelper:()=>ck,getIndentSize:()=>RL,getIndentString:()=>Vb,getInferredLibraryNameResolveFrom:()=>Vh,getInitializedVariables:()=>sE,getInitializerOfBinaryExpression:()=>li,getInitializerOfBindingOrAssignmentElement:()=>OP,getInterfaceBaseTypeNodes:()=>bE,getInternalEmitFlags:()=>dJ,getInvokedExpression:()=>pv,getIsolatedModules:()=>AJ,getJSDocAugmentsTag:()=>EFD,getJSDocClassTag:()=>nl,getJSDocCommentRanges:()=>vi,getJSDocCommentsAndTags:()=>pi,getJSDocDeprecatedTag:()=>rl,getJSDocDeprecatedTagNoCache:()=>wFD,getJSDocEnumTag:()=>ol,getJSDocHost:()=>HG,getJSDocImplementsTags:()=>NFD,getJSDocOverloadTags:()=>ri,getJSDocOverrideTagNoCache:()=>PFD,getJSDocParameterTags:()=>oj,getJSDocParameterTagsNoCache:()=>jFD,getJSDocPrivateTag:()=>UOD,getJSDocPrivateTagNoCache:()=>RFD,getJSDocProtectedTag:()=>GOD,getJSDocProtectedTagNoCache:()=>IFD,getJSDocPublicTag:()=>WOD,getJSDocPublicTagNoCache:()=>TFD,getJSDocReadonlyTag:()=>HOD,getJSDocReadonlyTagNoCache:()=>yFD,getJSDocReturnTag:()=>SFD,getJSDocReturnType:()=>EI,getJSDocRoot:()=>jL,getJSDocSatisfiesExpressionType:()=>pp,getJSDocSatisfiesTag:()=>sl,getJSDocTags:()=>cK,getJSDocTagsNoCache:()=>OOD,getJSDocTemplateTag:()=>MOD,getJSDocThisTag:()=>Qv,getJSDocType:()=>dK,getJSDocTypeAliasName:()=>tn,getJSDocTypeAssertionType:()=>$k,getJSDocTypeParameterDeclarations:()=>Hb,getJSDocTypeParameterTags:()=>LFD,getJSDocTypeParameterTagsNoCache:()=>AFD,getJSDocTypeTag:()=>mK,getJSXImplicitImportBase:()=>vb,getJSXRuntimeImport:()=>bb,getJSXTransformEnabled:()=>fb,getKeyForCompilerOptions:()=>Sr,getLanguageVariant:()=>Sy,getLastChild:()=>yp,getLeadingCommentRanges:()=>NY,getLeadingCommentRangesOfNode:()=>fi,getLeftmostAccessExpression:()=>PL,getLeftmostExpression:()=>wL,getLibraryNameFromLibFileName:()=>lo,getLineAndCharacterOfPosition:()=>I7,getLineInfo:()=>Do,getLineOfLocalPosition:()=>dE,getLineOfLocalPositionFromLineMap:()=>jG,getLineStartPositionForPosition:()=>NJ,getLineStarts:()=>KQ,getLinesBetweenPositionAndNextNonWhitespaceCharacter:()=>N9D,getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter:()=>E9D,getLinesBetweenPositions:()=>VE,getLinesBetweenRangeEndAndRangeStart:()=>Tp,getLinesBetweenRangeEndPositions:()=>XjD,getLiteralText:()=>V7D,getLocalNameForExternalImport:()=>aL,getLocalSymbolForExportDefault:()=>yL,getLocaleSpecificMessage:()=>i6,getLocaleTimeString:()=>Vw,getMappedContextSpan:()=>Ra,getMappedDocumentSpan:()=>B_,getMappedLocation:()=>UT,getMatchedFileSpec:()=>Ws,getMatchedIncludeSpec:()=>Us,getMeaningFromDeclaration:()=>Hw,getMeaningFromLocation:()=>iG,getMembersOfDeclaration:()=>E7D,getModeForFileReference:()=>Jw,getModeForResolutionAtIndex:()=>H$D,getModeForUsageLocation:()=>ho,getModifiedTime:()=>jM,getModifiers:()=>UW,getModuleInstanceState:()=>TQ,getModuleNameStringLiteralAt:()=>Yw,getModuleSpecifierEndingPreference:()=>l9D,getModuleSpecifierResolverHost:()=>ja,getNameForExportedSymbol:()=>O_,getNameFromImportAttribute:()=>sb,getNameFromIndexInfo:()=>M7D,getNameFromPropertyName:()=>Pw,getNameOfAccessExpression:()=>wp,getNameOfCompilerOptionValue:()=>Hr,getNameOfDeclaration:()=>m6,getNameOfExpando:()=>di,getNameOfJSDocTypedef:()=>OFD,getNameOrArgument:()=>By,getNameTable:()=>rt,getNamesForExportedSymbol:()=>YJD,getNamespaceDeclarationNode:()=>ML,getNewLineCharacter:()=>GV,getNewLineKind:()=>_w,getNewLineOrDefaultFromHost:()=>RV,getNewTargetContainer:()=>f7D,getNextJSDocCommentLocation:()=>ni,getNodeForGeneratedName:()=>LP,getNodeId:()=>W7,getNodeKind:()=>FU,getNodeModifiers:()=>KT,getNodeModulePathParts:()=>nb,getNonAssignedNameOfDeclaration:()=>Xv,getNonAssignmentOperatorForCompoundAssignment:()=>nN,getNonAugmentationDeclaration:()=>Ti,getNonDecoratorTokenPosOfNode:()=>Li,getNormalizedAbsolutePath:()=>N6,getNormalizedAbsolutePathWithoutRoot:()=>kl,getNormalizedPathComponents:()=>QI,getObjectFlags:()=>p8,getOperator:()=>Yp,getOperatorAssociativity:()=>Xp,getOperatorPrecedence:()=>Ay,getOptionFromName:()=>qr,getOptionsForLibraryResolution:()=>fr,getOptionsNameMap:()=>FA,getOrCreateEmitNode:()=>n3,getOrCreateExternalHelpersModuleNameIfNeeded:()=>B3D,getOrUpdate:()=>Z7,getOriginalNode:()=>g9,getOriginalNodeId:()=>r3,getOriginalSourceFile:()=>sOD,getOutputDeclarationFileName:()=>$T,getOutputDeclarationFileNameWorker:()=>Co,getOutputExtension:()=>tk,getOutputFileNames:()=>DED,getOutputJSFileNameWorker:()=>Eo,getOutputPathsFor:()=>FT,getOutputPathsForBundle:()=>DT,getOwnEmitOutputFilePath:()=>a7D,getOwnKeys:()=>EY,getOwnValues:()=>UM,getPackageJsonInfo:()=>rW,getPackageJsonTypesVersionsPaths:()=>Ek,getPackageJsonsVisibleToFile:()=>JJD,getPackageNameFromTypesPackageName:()=>lN,getPackageScopeForPath:()=>gP,getParameterSymbolFromJSDoc:()=>Wy,getParameterTypeNode:()=>MjD,getParentNodeInSpan:()=>Sw,getParseTreeNode:()=>k6,getParsedCommandLineOfConfigFile:()=>TP,getPathComponents:()=>o4,getPathComponentsRelativeTo:()=>_l,getPathFromPathComponents:()=>Jz,getPathUpdater:()=>Xt,getPathsBasePath:()=>Wb,getPatternFromSpec:()=>m9D,getPendingEmitKind:()=>GA,getPositionOfLineAndCharacter:()=>WI,getPossibleGenericSignatures:()=>Qa,getPossibleOriginalInputExtensionForExtension:()=>e7D,getPossibleTypeArgumentsInfo:()=>Va,getPreEmitDiagnostics:()=>FED,getPrecedingNonSpaceCharacterPosition:()=>Y_,getPrivateIdentifier:()=>Qo,getProperties:()=>Xo,getProperty:()=>Lf,getPropertyArrayElementValue:()=>P7D,getPropertyAssignmentAliasLikeExpression:()=>p7D,getPropertyNameForPropertyNameNode:()=>MG,getPropertyNameForUniqueESSymbol:()=>rOD,getPropertyNameFromType:()=>LJ,getPropertyNameOfBindingOrAssignmentElement:()=>an,getPropertySymbolFromBindingElement:()=>J_,getPropertySymbolsFromContextualType:()=>e_,getQuoteFromPreference:()=>Aa,getQuotePreference:()=>EZ,getRangesWhere:()=>Q9,getRefactorContextSpan:()=>RO,getReferencedFileLocation:()=>JT,getRegexFromPattern:()=>Lz,getRegularExpressionForWildcard:()=>FN,getRegularExpressionsForWildcards:()=>xb,getRelativePathFromDirectory:()=>_J,getRelativePathFromFile:()=>zI,getRelativePathToDirectoryOrUrl:()=>AM,getRenameLocation:()=>vw,getReplacementSpanForContextToken:()=>Wa,getResolutionDiagnostic:()=>oo,getResolutionModeOverride:()=>KA,getResolveJsonModule:()=>Dq,getResolvePackageJsonExports:()=>Fx,getResolvePackageJsonImports:()=>$x,getResolvedExternalModuleName:()=>zb,getRestIndicatorOfBindingOrAssignmentElement:()=>Jk,getRestParameterElementType:()=>bi,getRightMostAssignedExpression:()=>Zy,getRootDeclaration:()=>FX,getRootDirectoryOfResolutionCache:()=>h$D,getRootLength:()=>dX,getRootPathSplitLength:()=>RED,getScriptKind:()=>Sa,getScriptKindFromFileName:()=>gb,getScriptTargetFeatures:()=>eb,getSelectedEffectiveModifierFlags:()=>kM,getSelectedSyntacticModifierFlags:()=>V9D,getSemanticClassifications:()=>KJD,getSemanticJsxChildren:()=>EL,getSetAccessorTypeAnnotationNode:()=>D9D,getSetAccessorValueParameter:()=>cE,getSetExternalModuleIndicator:()=>uy,getShebang:()=>Zv,getSingleInitializerOfVariableStatementOrPropertyDeclaration:()=>ii,getSingleVariableOfVariableStatement:()=>fM,getSnapshotText:()=>CA,getSnippetElement:()=>On,getSourceFileOfModule:()=>yv,getSourceFileOfNode:()=>o1,getSourceFilePathInNewDir:()=>Ub,getSourceFilePathInNewDirWorker:()=>Gb,getSourceFileVersionAsHashFromText:()=>Eh,getSourceFilesToEmit:()=>Wp,getSourceMapRange:()=>MV,getSourceMapper:()=>IJD,getSourceTextOfNodeFromSourceFile:()=>OW,getSpanOfTokenAtPosition:()=>nX,getSpellingSuggestion:()=>FE,getStartPositionOfLine:()=>Gz,getStartPositionOfRange:()=>oE,getStartsOnNewLine:()=>ON,getStaticPropertiesAndClassStaticBlock:()=>pk,getStrictOptionValue:()=>R2,getStringComparer:()=>xj,getSubPatternFromSpec:()=>kb,getSuperCallFromStatement:()=>lk,getSuperContainer:()=>oI,getSupportedCodeFixes:()=>pt,getSupportedExtensions:()=>$N,getSupportedExtensionsWithJsonIfResolveJsonModule:()=>fy,getSwitchedType:()=>xa,getSymbolId:()=>PF,getSymbolNameForPrivateIdentifier:()=>jy,getSymbolTarget:()=>ua,getSyntacticClassifications:()=>qJD,getSyntacticModifierFlags:()=>Oz,getSyntacticModifierFlagsNoCache:()=>Mp,getSynthesizedDeepClone:()=>G9,getSynthesizedDeepCloneWithReplacements:()=>fw,getSynthesizedDeepClones:()=>ZU,getSynthesizedDeepClonesWithReplacements:()=>fa,getSyntheticLeadingComments:()=>hL,getSyntheticTrailingComments:()=>ty,getTargetLabel:()=>_h,getTargetOfBindingOrAssignmentElement:()=>Sz,getTemporaryModuleResolutionState:()=>_P,getTextOfConstantValue:()=>z7D,getTextOfIdentifierOrLiteral:()=>HJ,getTextOfJSDocComment:()=>TI,getTextOfJsxAttributeName:()=>gy,getTextOfJsxNamespacedName:()=>UN,getTextOfNode:()=>A4,getTextOfNodeFromSourceText:()=>NE,getTextOfPropertyName:()=>BL,getThisContainer:()=>e2,getThisParameter:()=>yW,getTokenAtPosition:()=>M6,getTokenPosOfNode:()=>iK,getTokenSourceMapRange:()=>cjD,getTouchingPropertyName:()=>Z$,getTouchingToken:()=>AA,getTrailingCommentRanges:()=>xK,getTrailingSemicolonDeferringWriter:()=>Kp,getTransformFlagsSubtreeExclusions:()=>W4D,getTransformers:()=>jo,getTsBuildInfoEmitOutputFilePath:()=>CV,getTsConfigObjectLiteralExpression:()=>yE,getTsConfigPropArrayElementValue:()=>mv,getTypeAnnotationNode:()=>F9D,getTypeArgumentOrTypeParameterList:()=>vZD,getTypeKeywordOfTypeOnlyImport:()=>Ca,getTypeNode:()=>C4D,getTypeNodeIfAccessible:()=>jT,getTypeParameterFromJsDoc:()=>g7D,getTypeParameterOwner:()=>QOD,getTypesPackageName:()=>wk,getUILocale:()=>P6D,getUniqueName:()=>sG,getUniqueSymbolId:()=>sZD,getUseDefineForClassFields:()=>MN,getWatchErrorSummaryDiagnosticMessage:()=>Vs,getWatchFactory:()=>Po,group:()=>DE,groupBy:()=>Af,guessIndentation:()=>tFD,handleNoEmitOptions:()=>no,hasAbstractModifier:()=>SW,hasAccessorModifier:()=>$X,hasAmbientModifier:()=>Hp,hasChangesInResolutions:()=>Mi,hasChildOfKind:()=>Ew,hasContextSensitiveParameters:()=>ib,hasDecorators:()=>xZ,hasDocComment:()=>uZD,hasDynamicName:()=>Mz,hasEffectiveModifier:()=>w$,hasEffectiveModifiers:()=>Mb,hasEffectiveReadonlyModifier:()=>lE,hasExtension:()=>LM,hasIndexSignature:()=>ba,hasInitializer:()=>Wz,hasInvalidEscape:()=>Vp,hasJSDocNodes:()=>a$,hasJSDocParameterTags:()=>CFD,hasJSFileExtension:()=>uW,hasJsonModuleEmitEnabled:()=>Sb,hasOnlyExpressionInitializer:()=>YG,hasOverrideModifier:()=>Ob,hasPossibleExternalModuleReference:()=>G7D,hasProperty:()=>v7,hasPropertyAccessExpressionWithName:()=>Ow,hasQuestionToken:()=>uM,hasRecordedExternalHelpers:()=>J3D,hasResolutionModeOverride:()=>J4D,hasRestParameter:()=>Wi,hasScopeMarker:()=>lFD,hasStaticModifier:()=>C4,hasSyntacticModifier:()=>Q5,hasSyntacticModifiers:()=>Q9D,hasTSFileExtension:()=>cM,hasTabstop:()=>F4D,hasTrailingDirectorySeparator:()=>JV,hasType:()=>Cv,hasTypeArguments:()=>cOD,hasZeroOrOneAsteriskCharacter:()=>fp,helperString:()=>An,hostGetCanonicalFileName:()=>qV,hostUsesCaseSensitiveFileNames:()=>gE,idText:()=>w8,identifierIsThisKeyword:()=>Gp,identifierToKeywordKind:()=>gK,identity:()=>n7,identitySourceMapConsumer:()=>dk,ignoreSourceNewlines:()=>Ln,ignoredPaths:()=>YI,importDefaultHelper:()=>wx,importFromModuleSpecifier:()=>uE,importNameElisionDisabled:()=>up,importStarHelper:()=>DP,indexOfAnyCharCode:()=>VF,indexOfNode:()=>JL,indicesOf:()=>d3,inferredTypesContainingFile:()=>UA,injectClassNamedEvaluationHelperBlockIfMissing:()=>ok,injectClassThisAssignmentIfMissing:()=>f2D,insertImports:()=>WT,insertLeadingStatement:()=>QLD,insertSorted:()=>rB,insertStatementAfterCustomPrologue:()=>QG,insertStatementAfterStandardPrologue:()=>fOD,insertStatementsAfterCustomPrologue:()=>Oi,insertStatementsAfterStandardPrologue:()=>yY,intersperse:()=>nD,intrinsicTagNameToString:()=>np,introducesArgumentsExoticObject:()=>I7D,inverseJsxOptionMap:()=>gN,isAbstractConstructorSymbol:()=>T9D,isAbstractModifier:()=>u4D,isAccessExpression:()=>m7,isAccessibilityModifier:()=>Ka,isAccessor:()=>zz,isAccessorModifier:()=>v4D,isAliasSymbolDeclaration:()=>iOD,isAliasableExpression:()=>My,isAmbientModule:()=>l3,isAmbientPropertyDeclaration:()=>Ii,isAnonymousFunctionDefinition:()=>hE,isAnyDirectorySeparator:()=>vl,isAnyImportOrBareOrAccessedRequire:()=>U7D,isAnyImportOrReExport:()=>dI,isAnyImportSyntax:()=>VG,isAnySupportedFileExtension:()=>HjD,isApplicableVersionedTypesKey:()=>dP,isArgumentExpressionOfElementAccess:()=>Da,isArray:()=>x6,isArrayBindingElement:()=>Hv,isArrayBindingOrAssignmentElement:()=>uI,isArrayBindingOrAssignmentPattern:()=>Yi,isArrayBindingPattern:()=>hW,isArrayLiteralExpression:()=>y2,isArrayLiteralOrObjectLiteralDestructuringPattern:()=>NV,isArrayTypeNode:()=>YP,isArrowFunction:()=>o7,isAsExpression:()=>VP,isAssertClause:()=>m4D,isAssertEntry:()=>DLD,isAssertionExpression:()=>XG,isAssertsKeyword:()=>w4D,isAssignmentDeclaration:()=>SE,isAssignmentExpression:()=>d4,isAssignmentOperator:()=>WV,isAssignmentPattern:()=>AE,isAssignmentTarget:()=>uY,isAsteriskToken:()=>ZP,isAsyncFunction:()=>xE,isAsyncModifier:()=>AN,isAutoAccessorPropertyDeclaration:()=>t2,isAwaitExpression:()=>yz,isAwaitKeyword:()=>yn,isBigIntLiteral:()=>kx,isBinaryExpression:()=>E8,isBinaryOperatorToken:()=>W3D,isBindableObjectDefinePropertyCall:()=>UG,isBindableStaticAccessExpression:()=>NW,isBindableStaticElementAccessExpression:()=>Fb,isBindableStaticNameExpression:()=>GG,isBindingElement:()=>F7,isBindingElementOfBareOrAccessedRequire:()=>x7D,isBindingName:()=>JG,isBindingOrAssignmentElement:()=>hFD,isBindingOrAssignmentPattern:()=>wI,isBindingPattern:()=>YF,isBlock:()=>DF,isBlockOrCatchScoped:()=>Ai,isBlockScope:()=>yi,isBlockScopedContainerTopLevel:()=>W7D,isBooleanLiteral:()=>LE,isBreakOrContinueStatement:()=>HE,isBreakStatement:()=>ajD,isBuildInfoFile:()=>Y$D,isBuilderProgram:()=>d$D,isBundle:()=>bn,isBundleFileTextLike:()=>I9D,isCallChain:()=>$G,isCallExpression:()=>UF,isCallExpressionTarget:()=>rs,isCallLikeExpression:()=>MW,isCallLikeOrFunctionLikeExpression:()=>Qi,isCallOrNewExpression:()=>sB,isCallOrNewExpressionTarget:()=>os,isCallSignatureDeclaration:()=>FO,isCallToHelper:()=>LN,isCaseBlock:()=>yN,isCaseClause:()=>iL,isCaseKeyword:()=>b4D,isCaseOrDefaultClause:()=>Lv,isCatchClause:()=>iW,isCatchClauseVariableDeclaration:()=>D4D,isCatchClauseVariableDeclarationOrBindingElement:()=>Ci,isCheckJsEnabledForFile:()=>xy,isChildOfNodeWithKind:()=>bOD,isCircularBuildOrder:()=>CO,isClassDeclaration:()=>f4,isClassElement:()=>Y3,isClassExpression:()=>V3,isClassInstanceProperty:()=>xFD,isClassLike:()=>j5,isClassMemberModifier:()=>Ji,isClassNamedEvaluationHelperBlock:()=>AO,isClassOrTypeElement:()=>Gv,isClassStaticBlockDeclaration:()=>v9,isClassThisAssignmentBlock:()=>oN,isCollapsedRange:()=>BjD,isColonToken:()=>y4D,isCommaExpression:()=>GP,isCommaListExpression:()=>TN,isCommaSequence:()=>fN,isCommaToken:()=>I4D,isComment:()=>sh,isCommonJsExportPropertyAssignment:()=>_v,isCommonJsExportedExpression:()=>T7D,isCompoundAssignment:()=>pN,isComputedNonLiteralName:()=>cI,isComputedPropertyName:()=>J7,isConciseBody:()=>Ov,isConditionalExpression:()=>lL,isConditionalTypeNode:()=>BO,isConstTypeReference:()=>WQ,isConstructSignatureDeclaration:()=>BP,isConstructorDeclaration:()=>d9,isConstructorTypeNode:()=>gL,isContextualKeyword:()=>Xb,isContinueStatement:()=>sjD,isCustomPrologue:()=>nI,isDebuggerStatement:()=>tjD,isDeclaration:()=>Y2,isDeclarationBindingElement:()=>PI,isDeclarationFileName:()=>f3,isDeclarationName:()=>MQ,isDeclarationNameOfEnumOrNamespace:()=>Rp,isDeclarationReadonly:()=>bv,isDeclarationStatement:()=>rFD,isDeclarationWithTypeParameterChildren:()=>wi,isDeclarationWithTypeParameters:()=>Pi,isDecorator:()=>u3,isDecoratorTarget:()=>jZD,isDefaultClause:()=>wN,isDefaultImport:()=>SM,isDefaultModifier:()=>mx,isDefaultedExpandoInitializer:()=>k7D,isDeleteExpression:()=>h4D,isDeleteTarget:()=>si,isDeprecatedDeclaration:()=>j_,isDestructuringAssignment:()=>UV,isDiagnosticWithLocation:()=>ga,isDiskPathRoot:()=>bl,isDoStatement:()=>rjD,isDocumentRegistryEntry:()=>mw,isDotDotDotToken:()=>_x,isDottedName:()=>pE,isDynamicName:()=>Qb,isESSymbolIdentifier:()=>oOD,isEffectiveExternalModule:()=>PM,isEffectiveModuleDeclaration:()=>q7D,isEffectiveStrictModeSourceFile:()=>Ri,isElementAccessChain:()=>al,isElementAccessExpression:()=>B9,isEmittedFileOfProgram:()=>K$D,isEmptyArrayLiteral:()=>H9D,isEmptyBindingElement:()=>HFD,isEmptyBindingPattern:()=>GFD,isEmptyObjectLiteral:()=>Cp,isEmptyStatement:()=>un,isEmptyStringLiteral:()=>hi,isEntityName:()=>W$,isEntityNameExpression:()=>s9,isEnumConst:()=>LW,isEnumDeclaration:()=>$q,isEnumMember:()=>pW,isEqualityOperatorKind:()=>z_,isEqualsGreaterThanToken:()=>P4D,isExclamationToken:()=>JP,isExcludedFile:()=>I3D,isExclusivelyTypeOnlyImportOrExport:()=>ko,isExpandoPropertyDeclaration:()=>ob,isExportAssignment:()=>l9,isExportDeclaration:()=>B4,isExportModifier:()=>eM,isExportName:()=>Fk,isExportNamespaceAsDefaultDeclaration:()=>Sv,isExportOrDefaultModifier:()=>jP,isExportSpecifier:()=>Q2,isExportsIdentifier:()=>WG,isExportsOrModuleExportsOrAlias:()=>oW,isExpression:()=>P0,isExpressionNode:()=>wY,isExpressionOfExternalModuleImportEqualsDeclaration:()=>EZD,isExpressionOfOptionalChainRoot:()=>qv,isExpressionStatement:()=>z3,isExpressionWithTypeArguments:()=>jV,isExpressionWithTypeArgumentsInClassExtendsClause:()=>jb,isExternalModule:()=>G4,isExternalModuleAugmentation:()=>jW,isExternalModuleImportEqualsDeclaration:()=>pK,isExternalModuleIndicator:()=>fI,isExternalModuleNameRelative:()=>X3,isExternalModuleReference:()=>DY,isExternalModuleSymbol:()=>Iw,isExternalOrCommonJsModule:()=>t$,isFileLevelReservedGeneratedIdentifier:()=>yI,isFileLevelUniqueName:()=>Pv,isFileProbablyExternalModule:()=>CP,isFirstDeclarationOfSymbolParameter:()=>Ia,isFixablePromiseHandler:()=>Kt,isForInOrOfStatement:()=>ej,isForInStatement:()=>nx,isForInitializer:()=>bZ,isForOfStatement:()=>zP,isForStatement:()=>SG,isFunctionBlock:()=>CW,isFunctionBody:()=>zi,isFunctionDeclaration:()=>u4,isFunctionExpression:()=>d7,isFunctionExpressionOrArrowFunction:()=>vW,isFunctionLike:()=>XF,isFunctionLikeDeclaration:()=>r7,isFunctionLikeKind:()=>TM,isFunctionLikeOrClassStaticBlockDeclaration:()=>tj,isFunctionOrConstructorTypeNode:()=>kFD,isFunctionOrModuleBlock:()=>Bi,isFunctionSymbol:()=>_7D,isFunctionTypeNode:()=>aX,isFutureReservedKeyword:()=>pOD,isGeneratedIdentifier:()=>W9,isGeneratedPrivateIdentifier:()=>ZG,isGetAccessor:()=>qz,isGetAccessorDeclaration:()=>MZ,isGetOrSetAccessorDeclaration:()=>zv,isGlobalDeclaration:()=>vND,isGlobalScopeAugmentation:()=>tB,isGrammarError:()=>Y7D,isHeritageClause:()=>OZ,isHoistedFunction:()=>kv,isHoistedVariableStatement:()=>hv,isIdentifier:()=>sD,isIdentifierANonContextualKeyword:()=>Fp,isIdentifierName:()=>i7D,isIdentifierOrThisTypeNode:()=>V3D,isIdentifierPart:()=>kK,isIdentifierStart:()=>TY,isIdentifierText:()=>GZ,isIdentifierTypePredicate:()=>y7D,isIdentifierTypeReference:()=>o9D,isIfStatement:()=>wG,isIgnoredFileFromWildCardWatching:()=>Fw,isImplicitGlob:()=>xp,isImportAttribute:()=>d4D,isImportAttributeName:()=>bFD,isImportAttributes:()=>QO,isImportCall:()=>e$,isImportClause:()=>tX,isImportDeclaration:()=>c4,isImportEqualsDeclaration:()=>K3,isImportKeyword:()=>EN,isImportMeta:()=>QL,isImportOrExportSpecifier:()=>NM,isImportOrExportSpecifierName:()=>oZD,isImportSpecifier:()=>H$,isImportTypeAssertionContainer:()=>ejD,isImportTypeNode:()=>hY,isImportableFile:()=>ta,isInComment:()=>EV,isInCompoundLikeAssignment:()=>oi,isInExpressionContext:()=>rv,isInJSDoc:()=>eI,isInJSFile:()=>H8,isInJSXText:()=>wZD,isInJsonFile:()=>sv,isInNonReferenceComment:()=>kZD,isInReferenceComment:()=>xZD,isInRightSideOfInternalImportEqualsDeclaration:()=>kh,isInString:()=>nG,isInTemplateString:()=>Ya,isInTopLevelContext:()=>lv,isInTypeQuery:()=>LG,isIncrementalCompilation:()=>HN,isIndexSignatureDeclaration:()=>kW,isIndexedAccessTypeNode:()=>PG,isInferTypeNode:()=>RG,isInfinityOrNaNString:()=>zN,isInitializedProperty:()=>rP,isInitializedVariable:()=>wy,isInsideJsxElement:()=>rh,isInsideJsxElementOrAttribute:()=>PZD,isInsideNodeModules:()=>hw,isInsideTemplateLiteral:()=>Tw,isInstanceOfExpression:()=>Lb,isInstantiatedModule:()=>rr,isInterfaceDeclaration:()=>P2,isInternalDeclaration:()=>Ui,isInternalModuleImportEqualsDeclaration:()=>WL,isInternalName:()=>rn,isIntersectionTypeNode:()=>JO,isIntrinsicJsxName:()=>TL,isIterationStatement:()=>Kz,isJSDoc:()=>EB,isJSDocAllType:()=>n4D,isJSDocAugmentsTag:()=>qO,isJSDocAuthorTag:()=>JLD,isJSDocCallbackTag:()=>kn,isJSDocClassTag:()=>o4D,isJSDocCommentContainingNode:()=>Av,isJSDocConstructSignature:()=>OL,isJSDocDeprecatedTag:()=>dn,isJSDocEnumTag:()=>qP,isJSDocFunctionType:()=>nL,isJSDocImplementsTag:()=>tx,isJSDocIndexSignature:()=>av,isJSDocLikeText:()=>Zr,isJSDocLink:()=>i4D,isJSDocLinkCode:()=>p4D,isJSDocLinkLike:()=>yM,isJSDocLinkPlain:()=>$LD,isJSDocMemberName:()=>Zq,isJSDocNameReference:()=>SN,isJSDocNamepathType:()=>ZLD,isJSDocNamespaceBody:()=>IOD,isJSDocNode:()=>DL,isJSDocNonNullableType:()=>rx,isJSDocNullableType:()=>pL,isJSDocOptionalParameter:()=>_y,isJSDocOptionalType:()=>xn,isJSDocOverloadTag:()=>rL,isJSDocOverrideTag:()=>sx,isJSDocParameterTag:()=>NB,isJSDocPrivateTag:()=>_n,isJSDocPropertyLikeTag:()=>ME,isJSDocPropertyTag:()=>s4D,isJSDocProtectedTag:()=>gn,isJSDocPublicTag:()=>hn,isJSDocReadonlyTag:()=>mn,isJSDocReturnTag:()=>ax,isJSDocSatisfiesExpression:()=>ip,isJSDocSatisfiesTag:()=>ex,isJSDocSeeTag:()=>BLD,isJSDocSignature:()=>Jq,isJSDocTag:()=>FL,isJSDocTemplateTag:()=>EJ,isJSDocThisTag:()=>cn,isJSDocThrowsTag:()=>YLD,isJSDocTypeAlias:()=>GJ,isJSDocTypeAssertion:()=>sL,isJSDocTypeExpression:()=>nW,isJSDocTypeLiteral:()=>bG,isJSDocTypeTag:()=>uN,isJSDocTypedefTag:()=>xG,isJSDocUnknownTag:()=>XLD,isJSDocUnknownType:()=>r4D,isJSDocVariadicType:()=>ox,isJSXTagName:()=>qL,isJsonEqual:()=>cb,isJsonSourceFile:()=>UJ,isJsxAttribute:()=>VX,isJsxAttributeLike:()=>jv,isJsxAttributeName:()=>Z4D,isJsxAttributes:()=>lW,isJsxChild:()=>xI,isJsxClosingElement:()=>dW,isJsxClosingFragment:()=>c4D,isJsxElement:()=>_Y,isJsxExpression:()=>PN,isJsxFragment:()=>cW,isJsxNamespacedName:()=>CB,isJsxOpeningElement:()=>QX,isJsxOpeningFragment:()=>zO,isJsxOpeningLikeElement:()=>E2,isJsxOpeningLikeElementTagName:()=>LZD,isJsxSelfClosingElement:()=>fG,isJsxSpreadAttribute:()=>KO,isJsxTagNameExpression:()=>CE,isJsxText:()=>sM,isJumpStatementTarget:()=>jw,isKeyword:()=>F$,isKeywordOrPunctuation:()=>Bb,isKnownSymbol:()=>Ly,isLabelName:()=>ts,isLabelOfLabeledStatement:()=>as,isLabeledStatement:()=>mW,isLateVisibilityPaintedStatement:()=>fv,isLeftHandSideExpression:()=>U$,isLeftHandSideOfAssignment:()=>JjD,isLet:()=>xv,isLineBreak:()=>B2,isLiteralComputedPropertyDeclarationName:()=>Hy,isLiteralExpression:()=>HW,isLiteralExpressionOfObject:()=>$i,isLiteralImportTypeNode:()=>Hz,isLiteralKind:()=>OE,isLiteralLikeAccess:()=>Db,isLiteralLikeElementAccess:()=>Jy,isLiteralNameOfPropertyDeclarationOrIndexAccess:()=>gh,isLiteralTypeLikeExpression:()=>WLD,isLiteralTypeLiteral:()=>dFD,isLiteralTypeNode:()=>Iz,isLocalName:()=>EQ,isLogicalOperator:()=>W9D,isLogicalOrCoalescingAssignmentExpression:()=>Op,isLogicalOrCoalescingAssignmentOperator:()=>iE,isLogicalOrCoalescingBinaryExpression:()=>Ry,isLogicalOrCoalescingBinaryOperator:()=>Ty,isMappedTypeNode:()=>dL,isMemberName:()=>RY,isMetaProperty:()=>NN,isMethodDeclaration:()=>F4,isMethodOrAccessor:()=>RM,isMethodSignature:()=>sX,isMinusToken:()=>In,isMissingDeclaration:()=>FLD,isMissingPackageJsonInfo:()=>l3D,isModifier:()=>SF,isModifierKind:()=>QV,isModifierLike:()=>U9,isModuleAugmentationExternal:()=>Ni,isModuleBlock:()=>YX,isModuleBody:()=>iFD,isModuleDeclaration:()=>J4,isModuleExportsAccessExpression:()=>SY,isModuleIdentifier:()=>ci,isModuleName:()=>q3D,isModuleOrEnumDeclaration:()=>vI,isModuleReference:()=>sFD,isModuleSpecifierLike:()=>Z_,isModuleWithStringLiteralName:()=>uv,isNameOfFunctionDeclaration:()=>$a,isNameOfModuleDeclaration:()=>Fa,isNamedClassElement:()=>COD,isNamedDeclaration:()=>A2,isNamedEvaluation:()=>P$,isNamedEvaluationSource:()=>$p,isNamedExportBindings:()=>el,isNamedExports:()=>dZ,isNamedImportBindings:()=>Ki,isNamedImports:()=>CQ,isNamedImportsOrExports:()=>Ib,isNamedTupleMember:()=>mL,isNamespaceBody:()=>ROD,isNamespaceExport:()=>eX,isNamespaceExportDeclaration:()=>KP,isNamespaceImport:()=>wz,isNamespaceReexportDeclaration:()=>b7D,isNewExpression:()=>_W,isNewExpressionTarget:()=>VT,isNoSubstitutionTemplateLiteral:()=>aM,isNode:()=>LOD,isNodeArray:()=>GW,isNodeArrayMultiLine:()=>C9D,isNodeDescendantOf:()=>TW,isNodeKind:()=>RI,isNodeLikeSystem:()=>Ec,isNodeModulesDirectory:()=>tf,isNodeWithPossibleHoistedDeclaration:()=>d7D,isNonContextualKeyword:()=>Dp,isNonExportDefaultModifier:()=>GLD,isNonGlobalAmbientModule:()=>Ei,isNonGlobalDeclaration:()=>zJD,isNonNullAccess:()=>$4D,isNonNullChain:()=>Wv,isNonNullExpression:()=>YO,isNonStaticMethodOrAccessorWithPrivateName:()=>N2D,isNotEmittedOrPartiallyEmittedNode:()=>TOD,isNotEmittedStatement:()=>vn,isNullishCoalesce:()=>tl,isNumber:()=>DV,isNumericLiteral:()=>S$,isNumericLiteralName:()=>kY,isObjectBindingElementWithoutPropertyName:()=>ww,isObjectBindingOrAssignmentElement:()=>SI,isObjectBindingOrAssignmentPattern:()=>Xi,isObjectBindingPattern:()=>CJ,isObjectLiteralElement:()=>qi,isObjectLiteralElementLike:()=>UQ,isObjectLiteralExpression:()=>mF,isObjectLiteralMethod:()=>lJ,isObjectLiteralOrClassExpressionMethodOrAccessor:()=>gv,isObjectTypeDeclaration:()=>gM,isOctalDigit:()=>$v,isOmittedExpression:()=>e4,isOptionalChain:()=>X2,isOptionalChainRoot:()=>UE,isOptionalDeclaration:()=>qN,isOptionalJSDocPropertyLikeTag:()=>hy,isOptionalTypeNode:()=>dx,isOuterExpression:()=>Zk,isOutermostOptionalChain:()=>GE,isOverrideModifier:()=>f4D,isPackageJsonInfo:()=>Tk,isPackedArrayLiteral:()=>cp,isParameter:()=>u6,isParameterDeclaration:()=>IW,isParameterPropertyDeclaration:()=>I$,isParameterPropertyModifier:()=>jE,isParenthesizedExpression:()=>$$,isParenthesizedTypeNode:()=>IG,isParseTreeNode:()=>WE,isPartOfTypeNode:()=>PY,isPartOfTypeQuery:()=>ov,isPartiallyEmittedExpression:()=>px,isPatternMatch:()=>Tf,isPinnedComment:()=>wv,isPlainJsFile:()=>_I,isPlusToken:()=>Rn,isPossiblyTypeArgumentPosition:()=>Nw,isPostfixUnaryExpression:()=>wn,isPrefixUnaryExpression:()=>Pz,isPrivateIdentifier:()=>$6,isPrivateIdentifierClassElementDeclaration:()=>C2,isPrivateIdentifierPropertyAccessExpression:()=>aj,isPrivateIdentifierSymbol:()=>n7D,isProgramBundleEmitBuildInfo:()=>I$D,isProgramUptoDate:()=>io,isPrologueDirective:()=>cJ,isPropertyAccessChain:()=>Kv,isPropertyAccessEntityNameExpression:()=>Iy,isPropertyAccessExpression:()=>n8,isPropertyAccessOrQualifiedName:()=>gFD,isPropertyAccessOrQualifiedNameOrImportTypeNode:()=>_FD,isPropertyAssignment:()=>N4,isPropertyDeclaration:()=>t6,isPropertyName:()=>W4,isPropertyNameLiteral:()=>DX,isPropertySignature:()=>u$,isProtoSetter:()=>r7D,isPrototypeAccess:()=>jz,isPrototypePropertyAssignment:()=>Yy,isPunctuation:()=>ei,isPushOrUnshiftIdentifier:()=>Zp,isQualifiedName:()=>d2,isQuestionDotToken:()=>gx,isQuestionOrExclamationToken:()=>Q3D,isQuestionOrPlusOrMinusToken:()=>K3D,isQuestionToken:()=>Tz,isRawSourceMap:()=>L2D,isReadonlyKeyword:()=>S4D,isReadonlyKeywordOrPlusOrMinusToken:()=>z3D,isRecognizedTripleSlashComment:()=>ji,isReferenceFileLocation:()=>qA,isReferencedFile:()=>Kq,isRegularExpressionLiteral:()=>Nn,isRequireCall:()=>g2,isRequireVariableStatement:()=>mi,isRestParameter:()=>IY,isRestTypeNode:()=>cx,isReturnStatement:()=>nJ,isReturnStatementWithFixablePromiseHandler:()=>P_,isRightSideOfAccessExpression:()=>Ap,isRightSideOfInstanceofExpression:()=>G9D,isRightSideOfPropertyAccess:()=>jA,isRightSideOfQualifiedName:()=>CZD,isRightSideOfQualifiedNameOrPropertyAccess:()=>nE,isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName:()=>U9D,isRootedDiskPath:()=>R$,isSameEntityName:()=>UL,isSatisfiesExpression:()=>Sn,isScopeMarker:()=>cFD,isSemicolonClassElement:()=>_4D,isSetAccessor:()=>VV,isSetAccessorDeclaration:()=>f$,isShebangTrivia:()=>gl,isShiftOperatorOrHigher:()=>Dr,isShorthandAmbientModuleSymbol:()=>TE,isShorthandPropertyAssignment:()=>M$,isSignedNumericLiteral:()=>Yb,isSimpleCopiableExpression:()=>aW,isSimpleInlineableExpression:()=>zX,isSimpleParameter:()=>P2D,isSimpleParameterList:()=>oP,isSingleOrDoubleQuote:()=>Dy,isSourceFile:()=>B6,isSourceFileFromLibrary:()=>IA,isSourceFileJS:()=>N2,isSourceFileNotJS:()=>hOD,isSourceFileNotJson:()=>gi,isSourceMapping:()=>A2D,isSpecialPropertyDeclaration:()=>h7D,isSpreadAssignment:()=>LV,isSpreadElement:()=>pJ,isStatement:()=>F6,isStatementButNotDeclaration:()=>bI,isStatementOrBlock:()=>oFD,isStatementWithLocals:()=>X7D,isStatic:()=>WF,isStaticModifier:()=>DO,isString:()=>g6,isStringAKeyword:()=>nOD,isStringANonContextualKeyword:()=>bM,isStringAndEmptyAnonymousObjectIntersection:()=>bZD,isStringDoubleQuoted:()=>ev,isStringLiteral:()=>kF,isStringLiteralLike:()=>H7,isStringLiteralOrJsxExpression:()=>aFD,isStringLiteralOrTemplate:()=>FJD,isStringOrNumericLiteralLike:()=>HZ,isStringOrRegularExpressionOrTemplateLiteral:()=>za,isStringTextContainingNode:()=>Zi,isSuperCall:()=>KG,isSuperKeyword:()=>CN,isSuperOrSuperProperty:()=>kOD,isSuperProperty:()=>D$,isSupportedSourceFileName:()=>i9D,isSwitchStatement:()=>IN,isSyntaxList:()=>oL,isSyntheticExpression:()=>njD,isSyntheticReference:()=>VO,isTagName:()=>es,isTaggedTemplateExpression:()=>gW,isTaggedTemplateTag:()=>OZD,isTemplateExpression:()=>lx,isTemplateHead:()=>tM,isTemplateLiteral:()=>IM,isTemplateLiteralKind:()=>Vz,isTemplateLiteralToken:()=>fFD,isTemplateLiteralTypeNode:()=>x4D,isTemplateLiteralTypeSpan:()=>Pn,isTemplateMiddle:()=>Tn,isTemplateMiddleOrTemplateTail:()=>Uv,isTemplateSpan:()=>RN,isTemplateTail:()=>hx,isTextWhiteSpaceLike:()=>mZD,isThis:()=>LA,isThisContainerOrFunctionBlock:()=>u7D,isThisIdentifier:()=>wW,isThisInTypeQuery:()=>xM,isThisInitializedDeclaration:()=>iv,isThisInitializedObjectBindingExpression:()=>v7D,isThisProperty:()=>sI,isThisTypeNode:()=>QP,isThisTypeParameter:()=>KN,isThisTypePredicate:()=>xOD,isThrowStatement:()=>fn,isToken:()=>EM,isTokenKind:()=>Fi,isTraceEnabled:()=>NQ,isTransientSymbol:()=>lX,isTrivia:()=>CL,isTryStatement:()=>uG,isTupleTypeNode:()=>ZO,isTypeAlias:()=>zy,isTypeAliasDeclaration:()=>rJ,isTypeAssertionExpression:()=>k4D,isTypeDeclaration:()=>bL,isTypeElement:()=>BG,isTypeKeyword:()=>qT,isTypeKeywordToken:()=>Ha,isTypeKeywordTokenOrIdentifier:()=>eh,isTypeLiteralNode:()=>v$,isTypeNode:()=>e5,isTypeNodeKind:()=>Pp,isTypeOfExpression:()=>cL,isTypeOnlyExportDeclaration:()=>vFD,isTypeOnlyImportDeclaration:()=>II,isTypeOnlyImportOrExportDeclaration:()=>lK,isTypeOperatorNode:()=>yG,isTypeParameterDeclaration:()=>E9,isTypePredicateNode:()=>XP,isTypeQueryNode:()=>$O,isTypeReferenceNode:()=>mZ,isTypeReferenceType:()=>Ev,isTypeUsableAsPropertyName:()=>jJ,isUMDExportSymbol:()=>Rb,isUnaryExpression:()=>Vi,isUnaryExpressionWithWrite:()=>mFD,isUnicodeIdentifierStart:()=>Dv,isUnionTypeNode:()=>Rz,isUnparsedNode:()=>Di,isUnparsedPrepend:()=>l4D,isUnparsedSource:()=>vG,isUnparsedTextLike:()=>uFD,isUrl:()=>e6D,isValidBigIntString:()=>lb,isValidESSymbolDeclaration:()=>R7D,isValidTypeOnlyAliasUseSite:()=>eK,isValueSignatureDeclaration:()=>c7D,isVarAwaitUsing:()=>iI,isVarConst:()=>YL,isVarUsing:()=>pI,isVariableDeclaration:()=>n5,isVariableDeclarationInVariableStatement:()=>IE,isVariableDeclarationInitializedToBareOrAccessedRequire:()=>EW,isVariableDeclarationInitializedToRequire:()=>tv,isVariableDeclarationList:()=>D3,isVariableLike:()=>VL,isVariableLikeOrAccessor:()=>N7D,isVariableStatement:()=>c9,isVoidExpression:()=>XO,isWatchSet:()=>YjD,isWhileStatement:()=>ojD,isWhiteSpaceLike:()=>qQ,isWhiteSpaceSingleLine:()=>oB,isWithStatement:()=>g4D,isWriteAccess:()=>_M,isWriteOnlyAccess:()=>Tb,isYieldExpression:()=>ix,jsxModeNeedsExplicitImport:()=>ia,keywordPart:()=>x$,last:()=>BF,lastOrUndefined:()=>S6,length:()=>HD,libMap:()=>Gk,libs:()=>SP,lineBreakPart:()=>TA,linkNamePart:()=>nZD,linkPart:()=>Pa,linkTextPart:()=>X_,listFiles:()=>zs,loadModuleFromGlobalCache:()=>D2D,loadWithModeAwareCache:()=>Bw,makeIdentifierFromModuleName:()=>K7D,makeImport:()=>TV,makeImportIfNecessary:()=>gZD,makeStringLiteral:()=>TO,mangleScopedPackageName:()=>YA,map:()=>K1,mapAllOrFail:()=>xX,mapDefined:()=>m5,mapDefinedEntries:()=>r4,mapDefinedIterator:()=>qZ,mapEntries:()=>e9,mapIterator:()=>$5,mapOneOrMany:()=>da,mapToDisplayParts:()=>xz,matchFiles:()=>kp,matchPatternOrExact:()=>hp,matchedText:()=>v6D,matchesExclude:()=>Uk,maybeBind:()=>KF,maybeSetLocalizedDiagnosticMessages:()=>f9D,memoize:()=>_2,memoizeCached:()=>I6D,memoizeOne:()=>gX,memoizeWeak:()=>GMD,metadataHelper:()=>Kx,min:()=>Oc,minAndMax:()=>n9D,missingFileModifiedTime:()=>OB,modifierToFlag:()=>hM,modifiersToFlags:()=>ZX,moduleOptionDeclaration:()=>Lr,moduleResolutionIsEqualTo:()=>J7D,moduleResolutionNameAndModeGetter:()=>Wh,moduleResolutionOptionDeclarations:()=>Hk,moduleResolutionSupportsPackageJsonExportsAndImports:()=>dM,moduleResolutionUsesNodeModules:()=>D_,moduleSpecifiers:()=>sW,moveEmitHelpers:()=>L4D,moveRangeEnd:()=>Eb,moveRangePastDecorators:()=>OQ,moveRangePastModifiers:()=>JX,moveRangePos:()=>aK,moveSyntheticComments:()=>M4D,mutateMap:()=>eE,mutateMapSkippingNewValues:()=>bY,needsParentheses:()=>Q_,needsScopeMarker:()=>Mv,newCaseClauseTracker:()=>C_,newPrivateEnvironment:()=>I2D,noEmitNotification:()=>sP,noEmitSubstitution:()=>tN,noTransformers:()=>Lo,noTruncationMaximumTruncationLength:()=>tb,nodeCanBeDecorated:()=>nv,nodeHasName:()=>CI,nodeIsDecorated:()=>KL,nodeIsMissing:()=>r9,nodeIsPresent:()=>qJ,nodeIsSynthesized:()=>J9,nodeModuleNameResolver:()=>r3D,nodeModulesPathPart:()=>$Y,nodeNextJsonConfigResolver:()=>o3D,nodeOrChildIsDecorated:()=>tI,nodeOverlapsWithStartEnd:()=>mh,nodePosToString:()=>POD,nodeSeenTracker:()=>NO,nodeStartsNewLexicalEnvironment:()=>Jp,nodeToDisplayParts:()=>yND,noop:()=>D7,noopFileWatcher:()=>MA,normalizePath:()=>TF,normalizeSlashes:()=>J2,not:()=>If,notImplemented:()=>e6,notImplementedResolver:()=>$h,nullNodeConverters:()=>Kn,nullParenthesizerRules:()=>zn,nullTransformationContext:()=>eN,objectAllocator:()=>M3,operatorPart:()=>GT,optionDeclarations:()=>gY,optionMapToObject:()=>Kk,optionsAffectingProgramStructure:()=>Tr,optionsForBuild:()=>Ir,optionsForWatch:()=>$A,optionsHaveChanges:()=>$L,optionsHaveModuleResolutionChanges:()=>F7D,or:()=>MB,orderedRemoveItem:()=>hj,orderedRemoveItemAt:()=>$z,outFile:()=>k7,packageIdToPackageName:()=>Iv,packageIdToString:()=>Uz,paramHelper:()=>qx,parameterIsThisKeyword:()=>PW,parameterNamePart:()=>cZD,parseBaseNodeFactory:()=>Qr,parseBigInt:()=>r9D,parseBuildCommand:()=>nLD,parseCommandLine:()=>iLD,parseCommandLineWorker:()=>Kr,parseConfigFileTextToJson:()=>Wr,parseConfigFileWithSystem:()=>yED,parseConfigHostFromCompilerHostLike:()=>qh,parseCustomTypeOption:()=>zk,parseIsolatedEntityName:()=>UO,parseIsolatedJSDocComment:()=>j3D,parseJSDocTypeExpressionForTests:()=>uLD,parseJsonConfigFileContent:()=>YAD,parseJsonSourceFileConfigFileContent:()=>yP,parseJsonText:()=>NP,parseListTypeOption:()=>A3D,parseNodeFactory:()=>FY,parseNodeModuleFromPath:()=>hP,parsePackageName:()=>mP,parsePseudoBigInt:()=>XN,parseValidBigInt:()=>dp,patchWriteFileEnsuringDirectory:()=>a6D,pathContainsNodeModules:()=>Vq,pathIsAbsolute:()=>XE,pathIsBareSpecifier:()=>xl,pathIsRelative:()=>s$,patternText:()=>f6D,perfLogger:()=>j2,performIncrementalCompilation:()=>uED,performance:()=>i6D,plainJSErrors:()=>Uh,positionBelongsToNode:()=>Ja,positionIsASICandidate:()=>q_,positionIsSynthesized:()=>AB,positionsAreOnSameLine:()=>hZ,preProcessFile:()=>FTD,probablyUsesSemicolons:()=>xw,processCommentPragmas:()=>Xr,processPragmasIntoFields:()=>Yr,processTaggedTemplateExpression:()=>Wo,programContainsEsModules:()=>_ZD,programContainsModules:()=>hZD,projectReferenceIsEqualTo:()=>Hi,propKeyHelper:()=>Tx,propertyNamePart:()=>lZD,pseudoBigIntToString:()=>fW,punctuationPart:()=>K2,pushIfUnique:()=>o$,quote:()=>OT,quotePreferenceFromString:()=>La,rangeContainsPosition:()=>Lw,rangeContainsPositionExclusive:()=>Aw,rangeContainsRange:()=>CZ,rangeContainsRangeExclusive:()=>NZD,rangeContainsStartEnd:()=>Cw,rangeEndIsOnSameLineAsRangeStart:()=>Py,rangeEndPositionsAreOnSameLine:()=>L9D,rangeEquals:()=>rR,rangeIsOnSingleLine:()=>CG,rangeOfNode:()=>gp,rangeOfTypeParameters:()=>mp,rangeOverlapsWithStartEnd:()=>zT,rangeStartIsOnSameLineAsRangeEnd:()=>A9D,rangeStartPositionsAreOnSameLine:()=>Nb,readBuilderProgram:()=>Rh,readConfigFile:()=>RP,readHelper:()=>Ex,readJson:()=>rE,readJsonConfigFile:()=>N3D,readJsonOrUndefined:()=>Ep,reduceEachLeadingCommentRange:()=>BFD,reduceEachTrailingCommentRange:()=>XFD,reduceLeft:()=>O2,reduceLeftIterator:()=>UD,reducePathComponents:()=>FG,refactor:()=>yO,regExpEscape:()=>UjD,relativeComplement:()=>vj,removeAllComments:()=>sy,removeEmitHelper:()=>ljD,removeExtension:()=>by,removeFileExtension:()=>m2,removeIgnoredPath:()=>Mh,removeMinAndVersionNumbers:()=>jc,removeOptionality:()=>SZD,removePrefix:()=>$E,removeSuffix:()=>kj,removeTrailingDirectorySeparator:()=>bK,repeatString:()=>yw,replaceElement:()=>Uc,replaceFirstStar:()=>iM,resolutionExtensionIsTSOrJson:()=>ZN,resolveConfigFileProjectName:()=>As,resolveJSModule:()=>p3D,resolveLibrary:()=>Ik,resolveModuleName:()=>BA,resolveModuleNameFromCache:()=>lAD,resolvePackageNameToPackageJson:()=>wr,resolvePath:()=>Bz,resolveProjectReferencePath:()=>WA,resolveTripleslashReference:()=>Xh,resolveTypeReferenceDirective:()=>d3D,resolvingEmptyArray:()=>ab,restHelper:()=>jx,returnFalse:()=>HB,returnNoopFileWatcher:()=>OA,returnTrue:()=>FV,returnUndefined:()=>fK,returnsPromise:()=>zt,runInitializersHelper:()=>Ux,sameFlatMap:()=>$2,sameMap:()=>R8,sameMapping:()=>SCD,scanShebangTrivia:()=>ml,scanTokenAtPosition:()=>A7D,scanner:()=>q2,screenStartingMessageCodes:()=>Th,semanticDiagnosticsOptionDeclarations:()=>Cr,serializeCompilerOptions:()=>qk,server:()=>efD,servicesVersion:()=>uBD,setCommentRange:()=>U4,setConfigFileInOptions:()=>Or,setConstantValue:()=>j4D,setEachParent:()=>vL,setEmitFlags:()=>L8,setFunctionNameHelper:()=>Rx,setGetSourceFileAsHashVersioned:()=>Nh,setIdentifierAutoGenerate:()=>ey,setIdentifierGeneratedImportReference:()=>E4D,setIdentifierTypeArguments:()=>OV,setInternalEmitFlags:()=>ay,setLocalizedDiagnosticMessages:()=>u9D,setModuleDefaultHelper:()=>Px,setNodeFlags:()=>a9D,setObjectAllocator:()=>S9D,setOriginalNode:()=>h8,setParent:()=>sF,setParentRecursive:()=>Az,setPrivateIdentifier:()=>gG,setSnippetElement:()=>jn,setSourceMapRange:()=>xF,setStackTraceLimit:()=>bMD,setStartsOnNewLine:()=>Yx,setSyntheticLeadingComments:()=>Fq,setSyntheticTrailingComments:()=>nM,setSys:()=>gMD,setSysLog:()=>o6D,setTextRange:()=>O0,setTextRangeEnd:()=>fL,setTextRangePos:()=>YN,setTextRangePosEnd:()=>rX,setTextRangePosWidth:()=>QN,setTokenSourceMapRange:()=>H4D,setTypeNode:()=>A4D,setUILocale:()=>w6D,setValueDeclaration:()=>Qy,shouldAllowImportingTsExtension:()=>QA,shouldPreserveConstEnums:()=>xW,shouldUseUriStyleNodeCoreModules:()=>L_,showModuleSpecifier:()=>R9D,signatureHasLiteralTypes:()=>or,signatureHasRestParameter:()=>z2,signatureToDisplayParts:()=>wa,single:()=>oR,singleElementArray:()=>OM,singleIterator:()=>QJ,singleOrMany:()=>hX,singleOrUndefined:()=>VJ,skipAlias:()=>i3,skipAssertions:()=>zLD,skipConstraint:()=>Ma,skipOuterExpressions:()=>X4,skipParentheses:()=>E7,skipPartiallyEmittedExpressions:()=>mJ,skipTrivia:()=>_F,skipTypeChecking:()=>BN,skipTypeParentheses:()=>Gy,skipWhile:()=>x6D,sliceAfter:()=>_p,some:()=>B0,sort:()=>uK,sortAndDeduplicate:()=>wK,sortAndDeduplicateDiagnostics:()=>nj,sourceFileAffectingCompilerOptions:()=>Mk,sourceFileMayBeEmitted:()=>OG,sourceMapCommentRegExp:()=>gk,sourceMapCommentRegExpDontCareLineStart:()=>Zo,spacePart:()=>i9,spanMap:()=>_6,spreadArrayHelper:()=>Nx,stableSort:()=>CY,startEndContainsRange:()=>Za,startEndOverlapsWithStartEnd:()=>dh,startOnNewLine:()=>V2,startTracing:()=>p6D,startsWith:()=>H6,startsWithDirectory:()=>hl,startsWithUnderscore:()=>la,startsWithUseStrict:()=>$3D,stringContainsAt:()=>VJD,stringToToken:()=>WW,stripQuotes:()=>MJ,supportedDeclarationExtensions:()=>ly,supportedJSExtensions:()=>Yn,supportedJSExtensionsFlat:()=>kL,supportedLocaleDirectories:()=>Gi,supportedTSExtensions:()=>xL,supportedTSExtensionsFlat:()=>Xn,supportedTSImplementationExtensions:()=>iy,suppressLeadingAndTrailingTrivia:()=>k$,suppressLeadingTrivia:()=>va,suppressTrailingTrivia:()=>tZD,symbolEscapedNameNoDefault:()=>$_,symbolName:()=>P9,symbolNameNoDefault:()=>F_,symbolPart:()=>dZD,symbolToDisplayParts:()=>HT,syntaxMayBeASICandidate:()=>sa,syntaxRequiresTrailingSemicolonOrASI:()=>K_,sys:()=>P3,sysLog:()=>BI,tagNamesAreEquivalent:()=>Xq,takeWhile:()=>Pf,targetOptionDeclaration:()=>fP,templateObjectHelper:()=>Cx,testFormatSettings:()=>MZD,textChangeRangeIsUnchanged:()=>WFD,textChangeRangeNewSpan:()=>qE,textChanges:()=>N8,textOrKeywordPart:()=>ya,textPart:()=>NZ,textRangeContainsPositionInclusive:()=>jI,textSpanContainsPosition:()=>ll,textSpanContainsTextSpan:()=>VFD,textSpanEnd:()=>Z4,textSpanIntersection:()=>qFD,textSpanIntersectsWith:()=>Bv,textSpanIntersectsWithPosition:()=>KFD,textSpanIntersectsWithTextSpan:()=>YOD,textSpanIsEmpty:()=>QFD,textSpanOverlap:()=>zFD,textSpanOverlapsWith:()=>XOD,textSpansEqual:()=>NA,textToKeywordObj:()=>MI,timestamp:()=>Z9,toArray:()=>GM,toBuilderFileEmit:()=>w$D,toBuilderStateFileInfoForMultiEmit:()=>P$D,toEditorSettings:()=>FS,toFileNameLowerCase:()=>_X,toLowerCase:()=>R6D,toPath:()=>K9,toProgramEmitPending:()=>S$D,tokenIsIdentifierOrKeyword:()=>L2,tokenIsIdentifierOrKeywordOrGreaterThan:()=>ZFD,tokenToString:()=>LF,trace:()=>I6,tracing:()=>U8,tracingEnabled:()=>FI,transform:()=>eRD,transformClassFields:()=>h2D,transformDeclarations:()=>Oo,transformECMAScriptModule:()=>Mo,transformES2015:()=>e2D,transformES2016:()=>t2D,transformES2017:()=>d2D,transformES2018:()=>c2D,transformES2019:()=>l2D,transformES2020:()=>i2D,transformES2021:()=>p2D,transformES5:()=>D$D,transformESDecorators:()=>m2D,transformESNext:()=>n2D,transformGenerators:()=>F$D,transformJsx:()=>a2D,transformLegacyDecorators:()=>g2D,transformModule:()=>Ho,transformNamedEvaluation:()=>b$,transformNodeModule:()=>Z$D,transformNodes:()=>aP,transformSystemModule:()=>$$D,transformTypeScript:()=>k2D,transpile:()=>VTD,transpileModule:()=>yJD,transpileOptionValueCompilerOptions:()=>Rr,tryAddToSet:()=>y3,tryAndIgnoreErrors:()=>G_,tryCast:()=>U5,tryDirectoryExists:()=>U_,tryExtractTSExtension:()=>Ab,tryFileExists:()=>kw,tryGetClassExtendingExpressionWithTypeArguments:()=>jp,tryGetClassImplementingOrExtendingExpressionWithTypeArguments:()=>Lp,tryGetDirectories:()=>W_,tryGetExtensionFromPath:()=>LQ,tryGetImportFromModuleSpecifier:()=>Vy,tryGetJSDocSatisfiesTypeNode:()=>rb,tryGetModuleNameFromFile:()=>MP,tryGetModuleSpecifierFromDeclaration:()=>GL,tryGetNativePerformanceHooks:()=>d6D,tryGetPropertyAccessOrIdentifierToString:()=>yy,tryGetPropertyNameOfBindingOrAssignmentElement:()=>Bk,tryGetSourceMappingURL:()=>j2D,tryGetTextOfPropertyName:()=>RE,tryIOAndConsumeErrors:()=>H_,tryParseJson:()=>Cb,tryParsePattern:()=>uL,tryParsePatterns:()=>mb,tryParseRawSourceMap:()=>Fo,tryReadDirectory:()=>ka,tryReadFile:()=>kN,tryRemoveDirectoryPrefix:()=>bp,tryRemoveExtension:()=>p9D,tryRemovePrefix:()=>Cc,tryRemoveSuffix:()=>u6D,typeAcquisitionDeclarations:()=>vP,typeAliasNamePart:()=>iZD,typeDirectiveIsEqualTo:()=>B7D,typeKeywords:()=>E_,typeParameterNamePart:()=>pZD,typeToDisplayParts:()=>uw,unchangedPollThresholds:()=>XI,unchangedTextChangeRange:()=>kI,unescapeLeadingUnderscores:()=>t5,unmangleScopedPackageName:()=>cP,unorderedRemoveItem:()=>HM,unorderedRemoveItemAt:()=>Lc,unreachableCodeIsError:()=>b9D,unusedLabelIsError:()=>x9D,unwrapInnermostStatementOfLabel:()=>xi,updateErrorForNoInputFiles:()=>Wk,updateLanguageServiceSourceFile:()=>nt,updateMissingFilePathsWatch:()=>yo,updateResolutionField:()=>ZA,updateSharedExtendedConfigFileWatcher:()=>Jh,updateSourceFile:()=>Jr,updateWatchingWildcardDirectories:()=>Dw,usesExtensionsOnImports:()=>c9D,usingSingleLineStringWriter:()=>EE,utf16EncodeAsString:()=>pj,validateLocaleAndSetLanguage:()=>VOD,valuesHelper:()=>Ix,version:()=>_,versionMajorMinor:()=>x,visitArray:()=>pP,visitCommaListElements:()=>nP,visitEachChild:()=>w1,visitFunctionBody:()=>AZ,visitIterationBody:()=>c2,visitLexicalEnvironment:()=>er,visitNode:()=>z0,visitNodes:()=>p1,visitParameterList:()=>b9,walkUpBindingElementsAndPatterns:()=>rj,walkUpLexicalEnvironments:()=>R2D,walkUpOuterExpressions:()=>Z3D,walkUpParenthesizedExpressions:()=>KV,walkUpParenthesizedTypes:()=>Uy,walkUpParenthesizedTypesAndGetParentAndChild:()=>l7D,whitespaceOrMapCommentRegExp:()=>mk,writeCommentRange:()=>IL,writeFile:()=>mE,writeFileEnsuringDirectories:()=>Up,zipWith:()=>TD});var FvD=G({"src/typescript/_namespaces/ts.ts"(){zF(),Uw(),H5(),_z(),lU0()}}),iU0=C({"src/typescript/typescript.ts"(D,F){if(FvD(),FvD(),typeof console!=="undefined")S.loggingHost={log(Z,J){switch(Z){case 1:return console.error(J);case 2:return console.warn(J);case 3:return console.log(J);case 4:return console.log(J)}}};F.exports=DvD}});return iU0()})();if(typeof yd!=="undefined"&&Cs0)yd.exports=dP0});var CdD=r0((ku)=>{var jdD=function(Q,K){try{return i8.resolve(K,{paths:[Q]})}catch{}};async function AdD(Q,K){let G;try{G=await K(Q)}catch{G=!1}if(G)return Q;const C=LdD.dirname(Q);if(C===Q)return;return AdD(C,K)}async function nP0(Q,K="tsconfig.json"){const G=[];let C;try{C=HdD()}catch{try{C=i8(Q+"/node_modules/typescript")}catch{}}if(!C){iP0.memoizedWarn("Could not find typescript. Please ensure that typescript is a devDependency. Falling back to compiled source.");return}const y=async(x)=>{const _=await AdD(x,async(VD)=>(await MdD.readdir(VD)).includes("package.json"));if(!_)return;try{const VD=await MdD.readFile(x,"utf8"),OD=C?.parseConfigFileTextToJson(x,VD).config;if(G.push(OD),OD.extends){if(OD.extends.startsWith(".")){const a=jdD(_,OD.extends);return a?y(a):void 0}const HD=jdD(_,OD.extends);if(HD)return y(HD)}return OD}catch(VD){pP0(VD)}};return await y(LdD.join(Q,K)),{compilerOptions:OdD.mergeNestedObjects(G,"compilerOptions"),"ts-node":OdD.mergeNestedObjects(G,"ts-node")}}var cP0=ku&&ku.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(ku,"__esModule",{value:!0});ku.readTSConfig=void 0;var lP0=cP0(i8("debug")),MdD=i8("node:fs/promises"),LdD=i8("node:path"),iP0=s8D(),OdD=cB(),pP0=lP0.default("read-tsconfig");ku.readTSConfig=nP0});var hu=r0((NdD)=>{var rP0=function(){if(process.listenerCount("warning")>1)return;process.on("warning",(Q)=>{if(console.error(Q.stack),Q.detail)console.error(Q.detail)})},oP0=function(...Q){if(!EdD)return(...G)=>{};const K=EdD(["config",...Q].join(":"));if(K.enabled)rP0();return(...G)=>K(...G)},WUD=function(Q){if(Q.length===0)return[];if(Q.length===1)return[Q];const K=[],G=WUD(Q.slice(1)),C=Q[0];for(let y=0,x=G.length;y<x;y++){const _=G[y];for(let VD=0,OD=_.length;VD<=OD;VD++){const HD=_.slice(0,VD),a=_.slice(VD),bD=[...HD,C,...a];K.push(bD)}}return K},sP0=function(Q){return WUD(Q.split(":")).flatMap((K)=>K.join(":"))};Object.defineProperty(NdD,"__esModule",{value:!0});NdD.collectUsableIds=NdD.getCommandIdPermutations=NdD.getPermutations=NdD.Debug=void 0;var EdD=i8("debug");NdD.Debug=oP0;NdD.getPermutations=WUD;NdD.getCommandIdPermutations=sP0;var aP0=(Q)=>new Set(Q.flatMap((K)=>K.split(":").map((G,C,y)=>y.slice(0,C+1).join(":"))));NdD.collectUsableIds=aP0});var _u=r0((aq)=>{var Xw0=function(){if(process.execPath.split(aV.sep).includes("bun"))return"bun";if(process.execArgv.length===0)return"node";if(process.execArgv[0]==="--require"&&process.execArgv[1].split(aV.sep).includes("ts-node"))return"ts-node";if(process.execArgv[0].split(aV.sep).includes("ts-node"))return"ts-node";if(process.execArgv[0]==="--require"&&process.execArgv[1].split(aV.sep).includes("tsx"))return"tsx";return"node"},Yw0=function(Q){return"code"in Q&&Q.code==="ENOENT"};async function Qw0(Q){try{if(aq.TS_CONFIGS[Q])return aq.TS_CONFIGS[Q];const K=await Jw0.readTSConfig(Q);if(!K)return;return vJ("tsconfig: %O",K),aq.TS_CONFIGS[Q]=K,aq.TS_CONFIGS[Q]}catch(K){if(Yw0(K))return;vJ(`Could not parse tsconfig.json. Skipping typescript path lookup for ${Q}.`),Pd.memoizedWarn(`Could not parse tsconfig.json for ${Q}. Falling back to compiled source.`)}}async function Vw0(Q,K){if(ydD.has(Q))return;vJ("registering ts-node at",Q);const G=i8.resolve("ts-node",{paths:[Q,__dirname]});vJ("ts-node path:",G);let C;try{C=i8(G)}catch{vJ(`Could not find ts-node at ${G}. Skipping ts-node registration for ${Q}.`),Pd.memoizedWarn(`Could not find ts-node at ${G}. Please ensure that ts-node is a devDependency. Falling back to compiled source.`);return}const y=[aV.join(Q,"node_modules","@types")],x=[];if(K.compilerOptions.rootDirs)for(let a of K.compilerOptions.rootDirs)x.push(aV.join(Q,a));else if(K.compilerOptions.rootDir)x.push(aV.join(Q,K.compilerOptions.rootDir));else if(K.compilerOptions.baseUrl)x.push(aV.join(Q,K.compilerOptions.baseUrl));else x.push(aV.join(Q,"src"));const{baseUrl:_,rootDir:VD,...OD}=K.compilerOptions,HD={compilerOptions:{...OD,rootDirs:x,typeRoots:y},...K["ts-node"],cwd:Q,esm:K["ts-node"]?.esm??!0,experimentalSpecifierResolution:K["ts-node"]?.experimentalSpecifierResolution??"explicit",scope:!0,scopeDir:Q,skipProject:!0,transpileOnly:!0};vJ("ts-node options: %O",HD),C.register(HD),ydD.add(Q)}var zw0=function(Q,K,G){return(G||Q?.moduleType==="commonjs")&&K?.moduleType==="module"},Kw0=function(Q,K,G){if(K?.moduleType!=="module"||G)return!1;const C=Number.parseInt(process.version.replace("v","").split(".")[0],10);return a8D==="ts-node"&&C>=20};async function qw0(Q,K){const G=await Qw0(Q);if(!G)return K;if(vJ(`Determining path for ${K}`),a8D==="tsx"||a8D==="bun")vJ(`Skipping ts-node registration for ${Q} because the runtime is: ${a8D}`);else await Vw0(Q,G);const{baseUrl:C,outDir:y,rootDir:x,rootDirs:_}=G.compilerOptions,VD=x??(_??[])[0]??C;if(!VD)return vJ(`no rootDir, rootDirs, or baseUrl specified in tsconfig.json. Returning default path ${K}`),K;if(!y)return vJ(`no outDir specified in tsconfig.json. Returning default path ${K}`),K;const OD=aV.join(Q,y),HD=aV.join(Q,VD),a=aV.relative(OD,K),bD=aV.join(HD,a).replace(/\.js$/,"");if(vJ(`lib dir: ${OD}`),vJ(`src dir: ${HD}`),vJ(`src directory to find: ${bD}`),Zw0.existsSync(bD))return vJ(`Found source directory for ${K} at ${bD}`),bD;if((await Promise.all([RdD.access(`${bD}.ts`).then(()=>`${bD}.ts`).catch(()=>!1),RdD.access(`${bD}.tsx`).then(()=>`${bD}.tsx`).catch(()=>!1)])).some(Boolean))return vJ(`Found source file for ${K} at ${bD}`),bD;if(vJ(`No source file found. Returning default path ${K}`),!PdD.isProd())Pd.memoizedWarn(`Could not find source for ${K} based on tsconfig. Defaulting to compiled source.`);return K}async function Ww0(Q,K,G){const C=G?.options.isRoot?G:$w0.default.getInstance().get("rootPlugin");if(!K)return K;K=K.startsWith(Q)?K:aV.join(Q,K);const y=IdD.settings.enableAutoTranspile??IdD.settings.tsnodeEnabled;if(y===!1)return vJ(`Skipping typescript path lookup for ${Q} because enableAutoTranspile is explicitly set to false`),K;const x=PdD.isProd();if(y===void 0&&x&&G?.type!=="link")return vJ(`Skipping typescript path lookup for ${Q} because NODE_ENV is NOT "test" or "development"`),K;if(zw0(C,G,x)){if(vJ(`Skipping typescript path lookup for ${Q} because it's an ESM module (NODE_ENV: development, root plugin module type: ${C?.moduleType})`),G?.type==="link")Pd.memoizedWarn(`${G?.name} is a linked ESM module and cannot be auto-transpiled. Existing compiled source will be used instead.`);return K}if(Kw0(Q,G,x))return vJ(`Skipping typescript path lookup for ${Q} because ts-node is run in node version ${process.version}"`),Pd.memoizedWarn("ts-node executable cannot transpile ESM in Node 20. Existing compiled source will be used instead. See https://github.com/oclif/core/issues/817."),K;try{return await qw0(Q,K)}catch(_){return vJ(_),K}}var __dirname="/Users/jasoncomes/Desktop/Prismatic/prism/node_modules/@oclif/core/lib/config",Fw0=aq&&aq.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(aq,"__esModule",{value:!0});aq.tsPath=aq.TS_CONFIGS=void 0;var RdD=i8("node:fs/promises"),aV=i8("node:path"),$w0=Fw0(lU()),Pd=s8D(),IdD=dC(),Zw0=Ej(),Jw0=CdD(),PdD=cB(),Bw0=hu(),vJ=Bw0.Debug("ts-path");aq.TS_CONFIGS={};var ydD=new Set,a8D=Xw0();aq.tsPath=Ww0});var UUD=r0((Xa0,SdD)=>{var Uw0=function(Q){let K=wdD.basename(Q);if(wdD.sep==="\\")K=K.toLowerCase();return K==="node_modules"},wdD=i8("path");SdD.exports=Uw0});var GUD=r0((Ya0,udD)=>{udD.exports=new Map});var bdD=r0((Qa0,vdD)=>{async function Ow0(Q){if(Mw0(Q))return"commonjs";try{return JSON.parse(await Hw0(e8D.resolve(Q,"package.json"))).type||"commonjs"}catch(G){}const K=e8D.dirname(Q);if(K===Q)return"commonjs";return fdD(K)}async function fdD(Q){if(HUD.has(Q))return HUD.get(Q);if(t8D.has(Q))return t8D.get(Q);const K=Ow0(Q);t8D.set(Q,K);const G=await K;return HUD.set(Q,G),t8D.delete(Q),G}var jw0=function(Q){return fdD(e8D.resolve(e8D.dirname(Q)))},e8D=i8("path"),{promisify:Gw0}=i8("util"),Hw0=Gw0(i8("fs").readFile),Mw0=UUD(),HUD=GUD(),t8D=new Map;vdD.exports=jw0});var hdD=r0((Va0,kdD)=>{var Cw0=function(Q){if(Aw0(Q))return"commonjs";try{return JSON.parse(Lw0(D5D.resolve(Q,"package.json"))).type||"commonjs"}catch(G){}const K=D5D.dirname(Q);if(K===Q)return"commonjs";return xdD(K)},xdD=function(Q){if(MUD.has(Q))return MUD.get(Q);const K=Cw0(Q);return MUD.set(Q,K),K},Ew0=function(Q){return xdD(D5D.resolve(D5D.dirname(Q)))},D5D=i8("path"),{readFileSync:Lw0}=i8("fs"),Aw0=UUD(),MUD=GUD();kdD.exports=Ew0});var _dD=r0((za0,OUD)=>{var Nw0=bdD(),Tw0=hdD();OUD.exports=(Q)=>Nw0(Q);OUD.exports.sync=Tw0});var wd=r0((ldD)=>{var CUD=function(Q,K,G){if(Q.code==="MODULE_NOT_FOUND"||Q.code==="ERR_MODULE_NOT_FOUND")throw new jUD.ModuleLoadError(`${K?"import()":"require"} failed to load ${G}: ${Q.message}`);throw Q};async function ww0(Q,K){let G,C;try{return{filePath:G,isESM:C}=await cdD(Q,K),C?await import(AUD.pathToFileURL(G).href):i8(G)}catch(y){CUD(y,C,G??K)}}async function Sw0(Q,K){let G,C;try{({filePath:G,isESM:C}=await cdD(Q,K));const y=C?await import(AUD.pathToFileURL(G).href):i8(G);return{filePath:G,isESM:C,module:y}}catch(y){CUD(y,C,G??K)}}async function uw0(Q,K){const{id:G,isESM:C,relativePath:y}=Q;if(!y)throw new jUD.ModuleLoadError(`Cached command ${G} does not have a relative path`);if(C===void 0)throw new jUD.ModuleLoadError(`Cached command ${G} does not have the isESM property set`);const x=F5D.join(K,y.join(F5D.sep));try{const _=C?await import(AUD.pathToFileURL(x).href):i8(x);return{filePath:x,isESM:C,module:_}}catch(_){CUD(_,C,x??K)}}var LUD=function(Q){switch(F5D.extname(Q).toLowerCase()){case".js":case".jsx":case".ts":case".tsx":return Iw0.sync(Q)==="module";case".mjs":case".mts":return!0;default:return!1}};async function cdD(Q,K){let G,C;try{C=i8.resolve(K),G=LUD(C)}catch{C=(Pw0(Q)?await gdD.tsPath(Q.root,K,Q):await gdD.tsPath(Q.root,K))??K;let y=!1,x=!1;if(ddD.existsSync(C)){y=!0;try{if(Rw0.lstatSync(C)?.isDirectory?.())y=!1,x=!0}catch{}}if(!y){let _=mdD(C);if(!_&&x)_=mdD(F5D.join(C,"index"));if(_)C=_}G=LUD(C)}return{filePath:C,isESM:G}}var mdD=function(Q){for(let K of yw0){const G=`${Q}${K}`;if(ddD.existsSync(G))return G}return null};Object.defineProperty(ldD,"__esModule",{value:!0});ldD.isPathModule=ldD.loadWithDataFromManifest=ldD.loadWithData=ldD.load=void 0;var Rw0=i8("node:fs"),F5D=i8("node:path"),AUD=i8("node:url"),gdD=_u(),jUD=VUD(),ddD=Ej(),Iw0=_dD(),yw0=[".ts",".js",".mjs",".cjs",".mts",".cts",".tsx",".jsx"],Pw0=(Q)=>Q.type!==void 0;ldD.load=ww0;ldD.loadWithData=Sw0;ldD.loadWithDataFromManifest=uw0;ldD.isPathModule=LUD});var $5D=r0((pdD)=>{Object.defineProperty(pdD,"__esModule",{value:!0});pdD.SINGLE_COMMAND_CLI_SYMBOL=void 0;pdD.SINGLE_COMMAND_CLI_SYMBOL=Symbol("SINGLE_COMMAND_CLI").toString()});var EUD=r0((rdD)=>{Object.defineProperty(rdD,"__esModule",{value:!0});rdD.cacheDefaultValue=void 0;var xw0=async(Q,K)=>{if(K&&Q.noCacheDefault)return;if(typeof Q.defaultHelp==="function")try{return await Q.defaultHelp({flags:{},options:Q})}catch{return}if(typeof Q.default==="function")try{return await Q.default({flags:{},options:Q})}catch{}else return Q.default};rdD.cacheDefaultValue=xw0});var gu=r0((sdD)=>{var kw0=function(Q,K){return Q.replaceAll(new RegExp(K.topicSeparator,"g"),":")},hw0=function(Q,K){return Q.replaceAll(new RegExp(":","g"),K.topicSeparator||":")};Object.defineProperty(sdD,"__esModule",{value:!0});sdD.toConfiguredId=sdD.toStandardizedId=void 0;sdD.toStandardizedId=kw0;sdD.toConfiguredId=hw0});var Z5D=r0((tdD)=>{var gw0=function(Q){return Array.isArray(Q)?(Q??[]).reduce((K,G)=>({...K,[G.name]:G}),{}):Q??{}};Object.defineProperty(tdD,"__esModule",{value:!0});tdD.ensureArgObject=void 0;tdD.ensureArgObject=gw0});var $cD=r0((DcD)=>{Object.defineProperty(DcD,"__esModule",{value:!0});DcD.DocOpts=void 0;var mw0=Z5D();class NUD{cmd;flagList;flagMap;constructor(Q){this.cmd=Q,this.flagMap={},this.flagList=Object.entries(Q.flags||{}).filter(([K,G])=>!G.hidden).map(([K,G])=>{return this.flagMap[K]=G,G})}static generate(Q){return new NUD(Q).toString()}toString(){const Q=["<%= command.id %>"];if(this.cmd.args){const K=this.cmd.strict===!1?"...":"",G=Object.values(mw0.ensureArgObject(this.cmd.args)).map((C)=>C.required?`${C.name.toUpperCase()}${K}`:`[${C.name.toUpperCase()}${K}]`)||[];Q.push(...G)}try{Q.push(...Object.values(this.groupFlagElements()))}catch{Q.push(...this.flagList.map((K)=>{const G=K.char?`-${K.char}`:`--${K.name}`;if(K.type==="boolean")return G;return`${G}=<value>`}))}return Q.join(" ")}combineElementsToFlag(Q,K,G,C){if(!this.flagMap[K])return;let y=this.flagMap[K]?.required;if(typeof y!=="boolean"||!y)y=G.reduce((x,_)=>x||this.flagMap[_]?.required||!1,!1);for(let x of G)Q[K]=`${Q[K]||""}${C}${Q[x]||""}`,delete Q[x],delete this.flagMap[x];Q[K]=y?`(${Q[K]||""})`:`[${Q[K]||""}]`,delete this.flagMap[K]}generateElements(Q={},K=[]){const G=[];for(let C of K){let y="";const x=C.char?`-${C.char}`:`--${C.name}`;if(C.type==="option")y=C.options?` ${C.options.join("|")}`:" <value>";const _=`${x}${y}`;Q[C.name]=_,G.push(_)}return G}groupFlagElements(){const Q={};this.generateElements(Q,this.flagList.filter((K)=>K.required)),this.generateElements(Q,this.flagList.filter((K)=>!K.required));for(let K of this.flagList){if(Array.isArray(K.dependsOn))this.combineElementsToFlag(Q,K.name,K.dependsOn," ");if(Array.isArray(K.exclusive))this.combineElementsToFlag(Q,K.name,K.exclusive," | ")}for(let K of Object.keys(this.flagMap)){const G=this.flagMap[K]||{};if(!G.required)Q[G.name]=`[${Q[G.name]||""}]`}return Q}}DcD.DocOpts=NUD});var JcD=r0((Oa0,TUD)=>{var dw0=vu(),ZcD=(Q)=>{let K=0;for(let G of Q.split("\n"))K=Math.max(K,dw0(G));return K};TUD.exports=ZcD;TUD.exports.default=ZcD});var YcD=r0((ow0)=>{var nw0=function(Q){return iw0[Q]||Q},BcD=function(){return Function.prototype.toString.call(this)+";\n"+rw0},cw0=/[|\\{}()[\]^$+*?.]/g,lw0=Object.prototype.hasOwnProperty,XcD=function(Q,K){return lw0.apply(Q,[K])};ow0.escapeRegExpChars=function(Q){if(!Q)return"";return String(Q).replace(cw0,"\\$&")};var iw0={"&":"&","<":"<",">":">",'"':""","'":"'"},pw0=/[&<>'"]/g,rw0='var _ENCODE_HTML_RULES = {\n "&": "&"\n , "<": "<"\n , ">": ">"\n , \'"\': """\n , "\'": "'"\n }\n , _MATCH_HTML = /[&<>\'"]/g;\nfunction encode_char(c) {\n return _ENCODE_HTML_RULES[c] || c;\n};\n';ow0.escapeXML=function(Q){return Q==null?"":String(Q).replace(pw0,nw0)};try{if(typeof Object.defineProperty==="function")Object.defineProperty(ow0.escapeXML,"toString",{value:BcD});else ow0.escapeXML.toString=BcD}catch(Q){console.warn("Unable to set escapeXML.toString (is the Function prototype frozen?)")}ow0.shallowCopy=function(Q,K){if(K=K||{},Q!==null&&Q!==void 0)for(var G in K){if(!XcD(K,G))continue;if(G==="__proto__"||G==="constructor")continue;Q[G]=K[G]}return Q};ow0.shallowCopyFromList=function(Q,K,G){if(G=G||[],K=K||{},Q!==null&&Q!==void 0)for(var C=0;C<G.length;C++){var y=G[C];if(typeof K[y]!="undefined"){if(!XcD(K,y))continue;if(y==="__proto__"||y==="constructor")continue;Q[y]=K[y]}}return Q};ow0.cache={_data:{},set:function(Q,K){this._data[Q]=K},get:function(Q){return this._data[Q]},remove:function(Q){delete this._data[Q]},reset:function(){this._data={}}};ow0.hyphenToCamel=function(Q){return Q.replace(/-[a-z]/g,function(K){return K[1].toUpperCase()})};ow0.createNullProtoObjWherePossible=function(){if(typeof Object.create=="function")return function(){return Object.create(null)};if(!({__proto__:null}instanceof Object))return function(){return{__proto__:null}};return function(){return{}}}()});var QcD=r0((La0,$S0)=>{$S0.exports={name:"ejs",description:"Embedded JavaScript templates",keywords:["template","engine","ejs"],version:"3.1.9",author:"Matthew Eernisse <mde@fleegix.org> (http://fleegix.org)",license:"Apache-2.0",bin:{ejs:"./bin/cli.js"},main:"./lib/ejs.js",jsdelivr:"ejs.min.js",unpkg:"ejs.min.js",repository:{type:"git",url:"git://github.com/mde/ejs.git"},bugs:"https://github.com/mde/ejs/issues",homepage:"https://github.com/mde/ejs",dependencies:{jake:"^10.8.5"},devDependencies:{browserify:"^16.5.1",eslint:"^6.8.0","git-directory-deploy":"^1.5.1",jsdoc:"^4.0.2","lru-cache":"^4.0.1",mocha:"^10.2.0","uglify-js":"^3.3.16"},engines:{node:">=0.10.0"},scripts:{test:"mocha -u tdd"}}});var wUD=r0((McD)=>{var KcD=function(Q,K){var G;if(K.some(function(C){return G=McD.resolveInclude(Q,C,!0),PUD.existsSync(G)}))return G},zS0=function(Q,K){var G,C,y=K.views,x=/^[A-Za-z]+:\\|^\//.exec(Q);if(x&&x.length)if(Q=Q.replace(/^\/*/,""),Array.isArray(K.root))G=KcD(Q,K.root);else G=McD.resolveInclude(Q,K.root||"/",!0);else{if(K.filename){if(C=McD.resolveInclude(Q,K.filename),PUD.existsSync(C))G=C}if(!G&&Array.isArray(y))G=KcD(Q,y);if(!G&&typeof K.includer!=="function")throw new Error('Could not find the include file "'+K.escapeFunction(Q)+'"')}return G},ud=function(Q,K){var G,C=Q.filename,y=arguments.length>1;if(Q.cache){if(!C)throw new Error("cache option requires a filename");if(G=McD.cache.get(C),G)return G;if(!y)K=qcD(C).toString().replace(zcD,"")}else if(!y){if(!C)throw new Error("Internal EJS error: no file name or template provided");K=qcD(C).toString().replace(zcD,"")}if(G=McD.compile(K,Q),Q.cache)McD.cache.set(C,G);return G},KS0=function(Q,K,G){var C;if(!G)if(typeof McD.promiseImpl=="function")return new McD.promiseImpl(function(y,x){try{C=ud(Q)(K),y(C)}catch(_){x(_)}});else throw new Error("Please provide a callback function");else{try{C=ud(Q)(K)}catch(y){return G(y)}G(null,C)}},qcD=function(Q){return McD.fileLoader(Q)},qS0=function(Q,K){var G=bJ.shallowCopy(bJ.createNullProtoObjWherePossible(),K);if(G.filename=zS0(Q,G),typeof K.includer==="function"){var C=K.includer(Q,G.filename);if(C){if(C.filename)G.filename=C.filename;if(C.template)return ud(G,C.template)}}return ud(G)},WcD=function(Q,K,G,C,y){var x=K.split("\n"),_=Math.max(C-3,0),VD=Math.min(x.length,C+3),OD=y(G),HD=x.slice(_,VD).map(function(a,bD){var ED=bD+_+1;return(ED==C?" >> ":" ")+ED+"| "+a}).join("\n");throw Q.path=OD,Q.message=(OD||"ejs")+":"+C+"\n"+HD+"\n\n"+Q.message,Q},UcD=function(Q){return Q.replace(/;(\s*$)/,"$1")},iB=function(Q,K){K=K||bJ.createNullProtoObjWherePossible();var G=bJ.createNullProtoObjWherePossible();if(this.templateText=Q,this.mode=null,this.truncate=!1,this.currentLine=1,this.source="",G.client=K.client||!1,G.escapeFunction=K.escape||K.escapeFunction||bJ.escapeXML,G.compileDebug=K.compileDebug!==!1,G.debug=!!K.debug,G.filename=K.filename,G.openDelimiter=K.openDelimiter||McD.openDelimiter||JS0,G.closeDelimiter=K.closeDelimiter||McD.closeDelimiter||BS0,G.delimiter=K.delimiter||McD.delimiter||XS0,G.strict=K.strict||!1,G.context=K.context,G.cache=K.cache||!1,G.rmWhitespace=K.rmWhitespace,G.root=K.root,G.includer=K.includer,G.outputFunctionName=K.outputFunctionName,G.localsName=K.localsName||McD.localsName||GcD,G.views=K.views,G.async=K.async,G.destructuredLocals=K.destructuredLocals,G.legacyInclude=typeof K.legacyInclude!="undefined"?!!K.legacyInclude:!0,G.strict)G._with=!1;else G._with=typeof K._with!="undefined"?K._with:!0;this.opts=G,this.regex=this.createRegex()},PUD=i8("fs"),Sd=i8("path"),bJ=YcD(),VcD=!1,ZS0=QcD().version,JS0="<",BS0=">",XS0="%",GcD="locals",YS0="ejs",QS0="(<%%|%%>|<%=|<%-|<%_|<%#|<%|%>|-%>|_%>)",HcD=["delimiter","scope","context","debug","compileDebug","client","_with","rmWhitespace","strict","filename","async"],VS0=HcD.concat("cache"),zcD=/^\uFEFF/,IUD=/^[a-zA-Z_$][0-9a-zA-Z_$]*$/;McD.cache=bJ.cache;McD.fileLoader=PUD.readFileSync;McD.localsName=GcD;McD.promiseImpl=new Function("return this;")().Promise;McD.resolveInclude=function(Q,K,G){var{dirname:C,extname:y,resolve:x}=Sd,_=x(G?K:C(K),Q),VD=y(Q);if(!VD)_+=".ejs";return _};McD.compile=function Q(K,G){var C;if(G&&G.scope){if(!VcD)console.warn("`scope` option is deprecated and will be removed in EJS 3"),VcD=!0;if(!G.context)G.context=G.scope;delete G.scope}return C=new iB(K,G),C.compile()};McD.render=function(Q,K,G){var C=K||bJ.createNullProtoObjWherePossible(),y=G||bJ.createNullProtoObjWherePossible();if(arguments.length==2)bJ.shallowCopyFromList(y,C,HcD);return ud(y,Q)(C)};McD.renderFile=function(){var Q=Array.prototype.slice.call(arguments),K=Q.shift(),G,C={filename:K},y,x;if(typeof arguments[arguments.length-1]=="function")G=Q.pop();if(Q.length){if(y=Q.shift(),Q.length)bJ.shallowCopy(C,Q.pop());else{if(y.settings){if(y.settings.views)C.views=y.settings.views;if(y.settings["view cache"])C.cache=!0;if(x=y.settings["view options"],x)bJ.shallowCopy(C,x)}bJ.shallowCopyFromList(C,y,VS0)}C.filename=K}else y=bJ.createNullProtoObjWherePossible();return KS0(C,y,G)};McD.Template=iB;McD.clearCache=function(){McD.cache.reset()};iB.modes={EVAL:"eval",ESCAPED:"escaped",RAW:"raw",COMMENT:"comment",LITERAL:"literal"};iB.prototype={createRegex:function(){var Q=QS0,K=bJ.escapeRegExpChars(this.opts.delimiter),G=bJ.escapeRegExpChars(this.opts.openDelimiter),C=bJ.escapeRegExpChars(this.opts.closeDelimiter);return Q=Q.replace(/%/g,K).replace(/</g,G).replace(/>/g,C),new RegExp(Q)},compile:function(){var Q,K,G=this.opts,C="",y="",x=G.escapeFunction,_,VD=G.filename?JSON.stringify(G.filename):"undefined";if(!this.source){if(this.generateSource(),C+=' var __output = "";\n function __append(s) { if (s !== undefined && s !== null) __output += s }\n',G.outputFunctionName){if(!IUD.test(G.outputFunctionName))throw new Error("outputFunctionName is not a valid JS identifier.");C+=" var "+G.outputFunctionName+" = __append;\n"}if(G.localsName&&!IUD.test(G.localsName))throw new Error("localsName is not a valid JS identifier.");if(G.destructuredLocals&&G.destructuredLocals.length){var OD=" var __locals = ("+G.localsName+" || {}),\n";for(var HD=0;HD<G.destructuredLocals.length;HD++){var a=G.destructuredLocals[HD];if(!IUD.test(a))throw new Error("destructuredLocals["+HD+"] is not a valid JS identifier.");if(HD>0)OD+=",\n ";OD+=a+" = __locals."+a}C+=OD+";\n"}if(G._with!==!1)C+=" with ("+G.localsName+" || {}) {\n",y+=" }\n";y+=" return __output;\n",this.source=C+this.source+y}if(G.compileDebug)Q="var __line = 1\n , __lines = "+JSON.stringify(this.templateText)+"\n , __filename = "+VD+";\ntry {\n"+this.source+"} catch (e) {\n rethrow(e, __lines, __filename, __line, escapeFn);\n}\n";else Q=this.source;if(G.client){if(Q="escapeFn = escapeFn || "+x.toString()+";\n"+Q,G.compileDebug)Q="rethrow = rethrow || "+WcD.toString()+";\n"+Q}if(G.strict)Q='"use strict";\n'+Q;if(G.debug)console.log(Q);if(G.compileDebug&&G.filename)Q=Q+"\n//# sourceURL="+VD+"\n";try{if(G.async)try{_=new Function("return (async function(){}).constructor;")()}catch(UD){if(UD instanceof SyntaxError)throw new Error("This environment does not support async/await");else throw UD}else _=Function;K=new _(G.localsName+", escapeFn, include, rethrow",Q)}catch(UD){if(UD instanceof SyntaxError){if(G.filename)UD.message+=" in "+G.filename;if(UD.message+=" while compiling ejs\n\n",UD.message+="If the above error is not helpful, you may want to try EJS-Lint:\n",UD.message+="https://github.com/RyanZim/EJS-Lint",!G.async)UD.message+="\n",UD.message+="Or, if you meant to create an async function, pass `async: true` as an option."}throw UD}var bD=G.client?K:function UD(TD){var nD=function(Z0,M0){var a1=bJ.shallowCopy(bJ.createNullProtoObjWherePossible(),TD);if(M0)a1=bJ.shallowCopy(a1,M0);return qS0(Z0,G)(a1)};return K.apply(G.context,[TD||bJ.createNullProtoObjWherePossible(),x,nD,WcD])};if(G.filename&&typeof Object.defineProperty==="function"){var ED=G.filename,XD=Sd.basename(ED,Sd.extname(ED));try{Object.defineProperty(bD,"name",{value:XD,writable:!1,enumerable:!1,configurable:!0})}catch(UD){}}return bD},generateSource:function(){var Q=this.opts;if(Q.rmWhitespace)this.templateText=this.templateText.replace(/[\r\n]+/g,"\n").replace(/^\s+|\s+$/gm,"");this.templateText=this.templateText.replace(/[ \t]*<%_/gm,"<%_").replace(/_%>[ \t]*/gm,"_%>");var K=this,G=this.parseTemplateText(),C=this.opts.delimiter,y=this.opts.openDelimiter,x=this.opts.closeDelimiter;if(G&&G.length)G.forEach(function(_,VD){var OD;if(_.indexOf(y+C)===0&&_.indexOf(y+C+C)!==0){if(OD=G[VD+2],!(OD==C+x||OD=="-"+C+x||OD=="_"+C+x))throw new Error('Could not find matching close tag for "'+_+'".')}K.scanLine(_)})},parseTemplateText:function(){var Q=this.templateText,K=this.regex,G=K.exec(Q),C=[],y;while(G){if(y=G.index,y!==0)C.push(Q.substring(0,y)),Q=Q.slice(y);C.push(G[0]),Q=Q.slice(G[0].length),G=K.exec(Q)}if(Q)C.push(Q);return C},_addOutput:function(Q){if(this.truncate)Q=Q.replace(/^(?:\r\n|\r|\n)/,""),this.truncate=!1;if(!Q)return Q;Q=Q.replace(/\\/g,"\\\\"),Q=Q.replace(/\n/g,"\\n"),Q=Q.replace(/\r/g,"\\r"),Q=Q.replace(/"/g,'\\"'),this.source+=' ; __append("'+Q+'")\n'},scanLine:function(Q){var K=this,G=this.opts.delimiter,C=this.opts.openDelimiter,y=this.opts.closeDelimiter,x=0;switch(x=Q.split("\n").length-1,Q){case C+G:case C+G+"_":this.mode=iB.modes.EVAL;break;case C+G+"=":this.mode=iB.modes.ESCAPED;break;case C+G+"-":this.mode=iB.modes.RAW;break;case C+G+"#":this.mode=iB.modes.COMMENT;break;case C+G+G:this.mode=iB.modes.LITERAL,this.source+=' ; __append("'+Q.replace(C+G+G,C+G)+'")\n';break;case G+G+y:this.mode=iB.modes.LITERAL,this.source+=' ; __append("'+Q.replace(G+G+y,G+y)+'")\n';break;case G+y:case"-"+G+y:case"_"+G+y:if(this.mode==iB.modes.LITERAL)this._addOutput(Q);this.mode=null,this.truncate=Q.indexOf("-")===0||Q.indexOf("_")===0;break;default:if(this.mode){switch(this.mode){case iB.modes.EVAL:case iB.modes.ESCAPED:case iB.modes.RAW:if(Q.lastIndexOf("//")>Q.lastIndexOf("\n"))Q+="\n"}switch(this.mode){case iB.modes.EVAL:this.source+=" ; "+Q+"\n";break;case iB.modes.ESCAPED:this.source+=" ; __append(escapeFn("+UcD(Q)+"))\n";break;case iB.modes.RAW:this.source+=" ; __append("+UcD(Q)+")\n";break;case iB.modes.COMMENT:break;case iB.modes.LITERAL:this._addOutput(Q);break}}else this._addOutput(Q)}if(K.opts.compileDebug&&x)this.currentLine+=x,this.source+=" ; __line = "+this.currentLine+"\n"}};McD.escapeXML=bJ.escapeXML;McD.__express=McD.renderFile;McD.VERSION=ZS0;McD.name=YS0;if(typeof window!="undefined")window.ejs=McD});var mu=r0((UB)=>{var IS0=function(Q){function K(G){return NS0.render(G,Q)}return K},wS0=function(Q,K){if(Q.length===1)return Q;const C=((y)=>{const x=TS0.collectUsableIds(K.commandIDs),_=[],VD=(a)=>x.has(a),OD=(a)=>(a?[..._,a]:_).filter(Boolean).join(":"),HD=()=>{const a=OD();if(!a)return!1;const bD=K.findCommand(a);return Boolean(bD&&(bD.strict===!1||Object.keys(bD.args??{}).length>0))};for(let a of y)if(VD(OD(a)))_.push(a);else if(PS0(a)||yS0(a)||HD())break;else _.push(a);return OD()})(Q);if(C){const y=Q.slice(C.split(":").length);return[C,...y]}return Q},AcD=function(Q,K){if(Q.length===0)return Q;if(K.topicSeparator===" ")Q=wS0(Q,K);else if(K.topicSeparator!==":")Q[0]=RS0.toStandardizedId(Q[0],K);return Q},SS0=function(Q){const K=["--help"],G=Q.pjson.oclif.additionalHelpFlags??[];return[...(new Set([...K,...G])).values()]},uS0=function(Q,K){let G=`The "${Q}" flag has been deprecated`;if(K===!0)return`${G}.`;if(K.message)return K.message;if(K.version)G+=` and will be removed in version ${K.version}`;return G+=K.to?`. Use "${K.to}" instead.`:".",G},fS0=function(Q,K){let G=`The "${Q}" command has been deprecated`;if(!K)return`${G}.`;if(K.message)return K.message;if(K.version)G+=` and will be removed in version ${K.version}`;return G+=K.to?`. Use "${K.to}" instead.`:".",G},vS0=function(Q,K=process.argv.slice(2)){if(Q.topicSeparator!==":"&&!K[0]?.includes(":"))K=AcD(K,Q);return K},AS0=UB&&UB.__createBinding||(Object.create?function(Q,K,G,C){if(C===void 0)C=G;var y=Object.getOwnPropertyDescriptor(K,G);if(!y||("get"in y?!K.__esModule:y.writable||y.configurable))y={enumerable:!0,get:function(){return K[G]}};Object.defineProperty(Q,C,y)}:function(Q,K,G,C){if(C===void 0)C=G;Q[C]=K[G]}),CS0=UB&&UB.__setModuleDefault||(Object.create?function(Q,K){Object.defineProperty(Q,"default",{enumerable:!0,value:K})}:function(Q,K){Q.default=K}),ES0=UB&&UB.__importStar||function(Q){if(Q&&Q.__esModule)return Q;var K={};if(Q!=null){for(var G in Q)if(G!=="default"&&Object.prototype.hasOwnProperty.call(Q,G))AS0(K,Q,G)}return CS0(K,Q),K};Object.defineProperty(UB,"__esModule",{value:!0});UB.normalizeArgv=UB.formatCommandDeprecationWarning=UB.formatFlagDeprecationWarning=UB.getHelpFlagAdditions=UB.standardizeIDFromArgv=UB.template=void 0;var NS0=ES0(wUD()),TS0=hu(),RS0=gu();UB.template=IS0;var yS0=(Q)=>Q.startsWith("-"),PS0=(Q)=>Q.includes("=");UB.standardizeIDFromArgv=AcD;UB.getHelpFlagAdditions=SS0;UB.formatFlagDeprecationWarning=uS0;UB.formatCommandDeprecationWarning=fS0;UB.normalizeArgv=vS0});var X5D=r0((du)=>{var cu=du&&du.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(du,"__esModule",{value:!0});du.HelpFormatter=void 0;var bS0=cu(CK()),xS0=cu(g8D()),kS0=cu(vu()),fd=cu(Nj()),hS0=cu(JcD()),_S0=cu(d8D()),CcD=TR(),gS0=AR(),mS0=mu();class EcD{config;indentSpacing=2;opts;render;constructor(Q,K={}){this.config=Q,this.opts={maxWidth:gS0.stdtermwidth,...K},this.render=mS0.template(this)}indent(Q,K=this.indentSpacing){return xS0.default(Q,K)}renderList(Q,K){if(Q.length===0)return"";const G=()=>{let VD="";for(let[OD,HD]of Q){if(!OD&&!HD)continue;if(OD){if(K.stripAnsi)OD=fd.default(OD);VD+=this.wrap(OD.trim(),K.indentation)}if(HD){if(K.stripAnsi)HD=fd.default(HD);VD+="\n",VD+=this.indent(this.wrap(HD.trim(),K.indentation+2),4)}VD+="\n\n"}return VD.trim()};if(K.multiline)return G();const C=hS0.default(Q.map((VD)=>VD[0]).join("\n"));let y="",x=K.spacer||"\n",_="";for(let[VD,OD]of Q){let HD=OD;if(_)y+=x,y+=_;if(_=VD||"",K.stripAnsi)_=fd.default(_);if(!HD){_=_.trim();continue}if(K.stripAnsi)HD=fd.default(HD);HD=this.wrap(HD.trim(),K.indentation+C+2);const[a,...bD]=HD.split("\n").map((ED)=>ED.trim());if(_+=" ".repeat(C-kS0.default(_)+2),_+=a,bD.length===0)continue;if(bD.length>4)return G();if(!K.spacer)x="\n";_+="\n",_+=this.indent(bD.join("\n"),C+2)}if(_)y+=x,y+=_;return y.trim()}section(Q,K){let G;if(typeof K==="string")G=this.render(K);else if(Array.isArray(K))G=K.map((y)=>{if("name"in y){const VD=y;return[this.render(VD.name),this.render(VD.description)]}const[x,_]=y;return[this.render(x),_&&this.render(_)]});else if("header"in K)return this.section(K.header,K.body);else G=K.map((y)=>[y.name,y.description]).map(([y,x])=>[this.render(y),x&&this.render(x)]);const C=[CcD.colorize(this.config?.theme?.sectionHeader,bS0.default.bold(Q)),CcD.colorize(this.config?.theme?.sectionDescription,this.indent(Array.isArray(G)?this.renderList(G,{indentation:2,stripAnsi:this.opts.stripAnsi}):G))].join("\n");return this.opts.stripAnsi?fd.default(C):C}wrap(Q,K=this.indentSpacing){return _S0.default(this.render(Q),this.opts.maxWidth-K,{hard:!0})}}du.HelpFormatter=EcD});var uUD=r0((RR)=>{var nS0=function(Q){if(Q==="alphabetical")return"alphabetical";if(Q==="none")return"none";return"alphabetical"},TcD=RR&&RR.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(RR,"__esModule",{value:!0});RR.CommandHelp=void 0;var dS0=TcD(CK()),cS0=TcD(Nj()),pB=TR(),lS0=Z5D(),NcD=gu(),lu=cB(),iS0=$cD(),pS0=X5D(),iu=/\r\n|\n/;class SUD extends pS0.HelpFormatter{command;config;opts;constructor(Q,K,G){super(K,G);this.command=Q,this.config=K,this.opts=G}aliases(Q){if(!Q||Q.length===0)return;return Q.map((G)=>[pB.colorize(this.config?.theme?.dollarSign,"$"),pB.colorize(this.config?.theme?.bin,this.config.bin),pB.colorize(this.config?.theme?.alias,G)].join(" ")).join("\n")}arg(Q){const K=Q.name.toUpperCase();if(Q.required)return`${K}`;return`[${K}]`}args(Q){if(Q.filter((K)=>K.description).length===0)return;return Q.map((K)=>{const G=this.command.strict===!1?`${K.name.toUpperCase()}...`:K.name.toUpperCase();let C=K.description||"";if(K.default)C=`${pB.colorize(this.config?.theme?.flagDefaultValue,`[default: ${K.default}]`)} ${C}`;if(K.options)C=`${pB.colorize(this.config?.theme?.flagOptions,`(${K.options.join("|")})`)} ${C}`;return[pB.colorize(this.config?.theme?.flag,G),C?pB.colorize(this.config?.theme?.sectionDescription,C):void 0]})}defaultUsage(){if(this.opts.docopts===void 0||this.opts.docopts)return iS0.DocOpts.generate(this.command);return lu.compact([this.command.id,Object.values(this.command.args??{})?.filter((Q)=>!Q.hidden).map((Q)=>this.arg(Q)).join(" ")]).join(" ")}description(){const Q=this.command;let K;if(this.opts.hideCommandSummaryInDescription)K=(Q.description||"").split(iu).slice(1);else if(Q.description){const G=Q.summary?`${Q.summary}\n`:null;K=G?[...G.split(iu),...(Q.description||"").split(iu)]:(Q.description||"").split(iu)}if(K)return this.wrap(K.join("\n"))}examples(Q){if(!Q||Q.length===0)return;return lu.castArray(Q).map((G)=>{let C,y;if(typeof G==="string"){const OD=G.split(iu).filter(Boolean);if(OD.length>=2&&!this.isCommand(OD[0])&&OD.slice(1).every((HD)=>this.isCommand(HD)))C=OD[0],y=OD.slice(1);else return OD.map((HD)=>this.formatIfCommand(HD)).join("\n")}else C=G.description,y=[G.command];const x=this.config.platform==="win32"?this.config.shell.includes("powershell")?"`":"^":"\\",_=this.indentSpacing*2,VD=y.map((OD)=>this.indent(this.wrap(this.formatIfCommand(OD),_+4)).split(iu).join(` ${x}\n `)).join("\n");return`${this.wrap(C,_)}\n\n${VD}`}).join("\n\n")}flagHelpLabel(Q,K=!1){let G=Q.helpLabel;if(!G){const C=[];if(C.push(Q.char?`-${Q.char[0]}`:" "),Q.name)if(Q.type==="boolean"&&Q.allowNo)C.push(`--[no-]${Q.name.trim()}`);else C.push(`--${Q.name.trim()}`);G=C.join(Q.char?pB.colorize(this.config?.theme?.flagSeparator,", "):" ")}if(Q.type==="option"){let C=Q.helpValue||(this.opts.showFlagNameInTitle?Q.name:"<value>");if(!Q.helpValue&&Q.options)C=K||this.opts.showFlagOptionsInTitle?`${Q.options.join("|")}`:"<option>";if(Q.multiple)C+="...";if(!C.includes("|"))C=dS0.default.underline(C);G+=`=${C}`}return pB.colorize(this.config.theme?.flag,G)}flags(Q){if(Q.length===0)return;const K=Q.reduce((G,C)=>G&&C.char===void 0,!0);return Q.map((G)=>{let C=this.flagHelpLabel(G);if(K)C=C.replace(" ","");let y=G.summary||G.description||"";if(G.type==="option"&&G.default)y=`${pB.colorize(this.config?.theme?.flagDefaultValue,`[default: ${G.default}]`)} ${y}`;if(G.required)y=`${pB.colorize(this.config?.theme?.flagRequired,"(required)")} ${y}`;if(G.type==="option"&&G.options&&!G.helpValue&&!this.opts.showFlagOptionsInTitle)y+=pB.colorize(this.config?.theme?.flagOptions,`\n<options: ${G.options.join("|")}>`);return[C,pB.colorize(this.config?.theme?.sectionDescription,y.trim())]})}flagsDescriptions(Q){const K=Q.filter((C)=>C.summary&&C.description);if(K.length===0)return;return K.map((C)=>{const y=C.summary||"";let x=this.flagHelpLabel(C,!0);if(!C.char)x=x.replace(" ","");return x+=x.length+y.length+2<this.opts.maxWidth?" "+y:"\n\n"+this.indent(this.wrap(y,this.indentSpacing*2)),`${x}\n\n${this.indent(this.wrap(C.description||"",this.indentSpacing*2))}`}).join("\n\n")}generate(){const Q=this.command,K=Object.entries(Q.flags||{}).filter(([,x])=>!x.hidden).map(([x,_])=>{return _.name=x,_}),G=nS0(this.opts.flagSortOrder)==="alphabetical"?lu.sortBy(K,(x)=>[!x.char,x.char,x.name]):K,C=Object.values(lS0.ensureArgObject(Q.args)).filter((x)=>!x.hidden);return lu.compact(this.sections().map(({generate:x,header:_})=>{const VD=x({args:C,cmd:Q,flags:G},_);if(Array.isArray(VD))return VD.map((OD)=>OD&&OD.body&&this.section(OD.header,OD.body)).join("\n\n");return VD&&this.section(_,VD)})).join("\n\n")}groupFlags(Q){const K=[],G={};for(let C of Q){const y=C.helpGroup;if(y){if(!G[y])G[y]=[];G[y].push(C)}else K.push(C)}return{flagGroups:G,mainFlags:K}}sections(){const Q=[{generate:()=>this.usage(),header:this.opts.usageHeader||"USAGE"},{generate:({args:G},C)=>[{body:this.args(G),header:C}],header:"ARGUMENTS"},{generate:({flags:G},C)=>{const{flagGroups:y,mainFlags:x}=this.groupFlags(G),_=[],VD=this.flags(x);if(VD)_.push({body:VD,header:C});for(let[OD,HD]of Object.entries(y)){const a=this.flags(HD);if(a)_.push({body:a,header:`${OD.toUpperCase()} ${C}`})}return lu.compact(_)},header:"FLAGS"},{generate:()=>this.description(),header:"DESCRIPTION"},{generate:({cmd:G})=>this.aliases(G.aliases),header:"ALIASES"},{generate:({cmd:G})=>{const C=G.examples||G.example;return this.examples(C)},header:"EXAMPLES"},{generate:({flags:G})=>this.flagsDescriptions(G),header:"FLAG DESCRIPTIONS"}],K=this.opts.sections?.map((G)=>G.toLowerCase());return Q.filter(({header:G})=>!K||K.includes(G.toLowerCase()))}usage(){const{id:Q,usage:K}=this.command,G=NcD.toStandardizedId(Q,this.config),C=NcD.toConfiguredId(Q,this.config);return(K?lu.castArray(K):[this.defaultUsage()]).map((x)=>{const _=this.opts.maxWidth-this.indentSpacing,VD=pB.colorize(this.config?.theme?.dollarSign,"$"),OD=pB.colorize(this.config?.theme?.bin,this.config.bin),HD=pB.colorize(this.config?.theme?.command,"<%= command.id %>"),a=pB.colorize(this.config?.theme?.sectionDescription,x.replace("<%= command.id %>","").replace(G,"").replace(C,"").trim()),bD=`${VD} ${OD} ${HD} ${a}`.trim();if(bD.length>_){const ED=bD.slice(0,Math.max(0,_)).lastIndexOf(" ");return bD.slice(0,Math.max(0,ED))+"\n"+this.indent(this.wrap(bD.slice(Math.max(0,ED)),this.indentSpacing*2))}return this.wrap(bD)}).join("\n")}formatIfCommand(Q){Q=this.render(Q);const K=pB.colorize(this.config?.theme?.dollarSign,"$");if(Q.startsWith(this.config.bin))return`${K} ${Q}`;if(Q.startsWith(`\$ ${this.config.bin}`))return`${K}${Q.replace("$","")}`;return Q}isCommand(Q){return cS0.default(this.formatIfCommand(Q)).startsWith(`${pB.colorize(this.config?.theme?.dollarSign,"$")} ${this.config.bin}`)}}RR.CommandHelp=SUD;RR.default=SUD});var IcD=r0((vd)=>{var rS0=vd&&vd.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(vd,"__esModule",{value:!0});var oS0=rS0(Nj()),pu=TR(),sS0=cB(),aS0=X5D();class RcD extends aS0.HelpFormatter{config;opts;constructor(Q,K){super(Q,K);this.config=Q,this.opts=K}description(){let Q=this.config.pjson.oclif.description||this.config.pjson.description||"";if(Q=this.render(Q),Q=Q.split("\n").slice(1).join("\n"),!Q)return;return this.section("DESCRIPTION",this.wrap(pu.colorize(this.config?.theme?.sectionDescription,Q)))}root(){let Q=this.config.pjson.oclif.description||this.config.pjson.description||"";Q=this.render(Q),Q=Q.split("\n")[0];let K=sS0.compact([pu.colorize(this.config?.theme?.commandSummary,Q),this.version(),this.usage(),this.description()]).join("\n\n");if(this.opts.stripAnsi)K=oS0.default(K);return K}usage(){return this.section(this.opts.usageHeader||"USAGE",this.wrap(`${pu.colorize(this.config?.theme?.dollarSign,"$")} ${pu.colorize(this.config?.theme?.bin,this.config.bin)} ${pu.colorize(this.config?.theme?.sectionDescription,"[COMMAND]")}`))}version(){return this.section("VERSION",this.wrap(pu.colorize(this.config?.theme?.version,this.config.userAgent)))}}vd.default=RcD});var kd=r0((uX)=>{var Xu0=function(Q,K){const G=xd.getHelpFlagAdditions(K);for(let C of Q){if(C==="--")return;if(G.includes(C)||C==="help")continue;if(C.startsWith("-"))return;return C}},Yu0=function(Q){return Q&&Q.default?Q.default:Q};async function Qu0(Q){const{pjson:K}=Q,G=K.oclif?.helpClass;if(G)try{const C=await tS0.tsPath(Q.root,G)??G,y=await Du0.load(Q,C);return Yu0(y)}catch(C){throw new Error(`Unable to load configured help class "${G}", failed with message:\n${C.message}`)}return xUD}var fUD=uX&&uX.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(uX,"__esModule",{value:!0});uX.loadHelpClass=uX.Help=uX.HelpBase=uX.standardizeIDFromArgv=uX.normalizeArgv=uX.getHelpFlagAdditions=uX.CommandHelp=void 0;var ycD=i8("node:util"),PcD=fUD(Nj()),JM=TR(),wcD=fUD(gC()),tS0=_u(),eS0=QUD(),Du0=wd(),ScD=$5D(),Fu0=EUD(),ucD=gu(),bd=cB(),$u0=uUD(),Zu0=X5D(),Ju0=fUD(IcD()),xd=mu(),Bu0=uUD();Object.defineProperty(uX,"CommandHelp",{enumerable:!0,get:function(){return Bu0.CommandHelp}});var vUD=mu();Object.defineProperty(uX,"getHelpFlagAdditions",{enumerable:!0,get:function(){return vUD.getHelpFlagAdditions}});Object.defineProperty(uX,"normalizeArgv",{enumerable:!0,get:function(){return vUD.normalizeArgv}});Object.defineProperty(uX,"standardizeIDFromArgv",{enumerable:!0,get:function(){return vUD.standardizeIDFromArgv}});class bUD extends Zu0.HelpFormatter{constructor(Q,K={}){super(Q,K);if(!Q.topicSeparator)Q.topicSeparator=":"}}uX.HelpBase=bUD;class xUD extends bUD{CommandHelpClass=$u0.CommandHelp;constructor(Q,K={}){super(Q,K)}get sortedCommands(){let{commands:Q}=this.config;return Q=Q.filter((K)=>this.opts.all||!K.hidden),Q=bd.sortBy(Q,(K)=>K.id),Q=bd.uniqBy(Q,(K)=>K.id),Q}get sortedTopics(){let Q=this._topics;return Q=Q.filter((K)=>this.opts.all||!K.hidden),Q=bd.sortBy(Q,(K)=>K.name),Q=bd.uniqBy(Q,(K)=>K.name),Q}command(Q){return this.formatCommand(Q)}description(Q){const K=this.render(Q.description||"");if(Q.summary)return K;return K.split("\n").slice(1).join("\n")}formatCommand(Q){if(this.config.topicSeparator!==":")Q.id=Q.id.replaceAll(":",this.config.topicSeparator),Q.aliases=Q.aliases&&Q.aliases.map((G)=>G.replaceAll(":",this.config.topicSeparator));return this.getCommandHelpClass(Q).generate()}formatCommands(Q){if(Q.length===0)return"";const K=this.renderList(Q.filter((G)=>this.opts.hideAliasesFromRoot?!G.aliases?.includes(G.id):!0).map((G)=>{if(this.config.topicSeparator!==":")G.id=G.id.replaceAll(":",this.config.topicSeparator);const C=this.summary(G);return[JM.colorize(this.config?.theme?.command,G.id),C&&JM.colorize(this.config?.theme?.sectionDescription,PcD.default(C))]}),{indentation:2,spacer:"\n",stripAnsi:this.opts.stripAnsi});return this.section("COMMANDS",K)}formatRoot(){return new Ju0.default(this.config,this.opts).root()}formatTopic(Q){let K=this.render(Q.description||"");const G=K.split("\n")[0];K=K.split("\n").slice(1).join("\n");let C=`${Q.name}:COMMAND`;if(this.config.topicSeparator!==":")C=C.replaceAll(":",this.config.topicSeparator);let y=bd.compact([JM.colorize(this.config?.theme?.commandSummary,G),this.section(this.opts.usageHeader||"USAGE",`${JM.colorize(this.config?.theme?.dollarSign,"$")} ${JM.colorize(this.config?.theme?.bin,this.config.bin)} ${C}`),K&&this.section("DESCRIPTION",this.wrap(JM.colorize(this.config?.theme?.sectionDescription,K)))]).join("\n\n");if(this.opts.stripAnsi)y=PcD.default(y);return y+"\n"}formatTopics(Q){if(Q.length===0)return"";const K=this.renderList(Q.map((G)=>{if(this.config.topicSeparator!==":")G.name=G.name.replaceAll(":",this.config.topicSeparator);return[JM.colorize(this.config?.theme?.topic,G.name),G.description&&this.render(JM.colorize(this.config?.theme?.sectionDescription,G.description.split("\n")[0]))]}),{indentation:2,spacer:"\n",stripAnsi:this.opts.stripAnsi});return this.section("TOPICS",K)}getCommandHelpClass(Q){return new this.CommandHelpClass(Q,this.config,this.opts)}log(...Q){this.opts.sendToStderr?wcD.default.stderr(ycD.format.apply(this,Q)+"\n"):wcD.default.stdout(ycD.format.apply(this,Q)+"\n")}async showCommandHelp(Q){const K=Q.id,G=K.split(":").length,C=this.sortedTopics.filter((OD)=>OD.name.startsWith(K+":")&&OD.name.split(":").length===G+1),y=this.sortedCommands.filter((OD)=>OD.id.startsWith(K+":")&&OD.id.split(":").length===G+1),x=this.config.plugins.get(Q.pluginName),_=this.config.pjson?.oclif?.state||x?.pjson?.oclif?.state||Q.state;if(_)this.log(_==="deprecated"?`${xd.formatCommandDeprecationWarning(ucD.toConfiguredId(K,this.config),Q.deprecationOptions)}\n`:`This command is in ${_}.\n`);if(Q.deprecateAliases&&Q.aliases.includes(K)){const OD=this.config.commands.find((a)=>a.aliases.includes(K)),HD={...Q.deprecationOptions,...OD?{to:OD.id}:{}};this.log(`${xd.formatCommandDeprecationWarning(ucD.toConfiguredId(K,this.config),HD)}\n`)}const VD=this.summary(Q);if(VD)this.log(VD+"\n");if(this.log(this.formatCommand(Q)),this.log(""),C.length>0)this.log(this.formatTopics(C)),this.log("");if(y.length>0){const OD=[],HD=y.filter((a)=>{return OD.push(...a.aliases),!OD.includes(a.id)});this.log(this.formatCommands(HD)),this.log("")}}async showHelp(Q){const K=Q.slice(1);if(Q=Q.filter((x)=>!xd.getHelpFlagAdditions(this.config).includes(x)),this.config.topicSeparator!==":")Q=xd.standardizeIDFromArgv(Q,this.config);const G=Xu0(Q,this.config);if(!G){if(this.config.isSingleCommandCLI){const x=this.config.findCommand(ScD.SINGLE_COMMAND_CLI_SYMBOL);if(x){await this.showCommandHelp(x);return}}await this.showRootHelp();return}const C=this.config.findCommand(G);if(C){if(C.id===ScD.SINGLE_COMMAND_CLI_SYMBOL)C.id="";if(C.hasDynamicHelp&&C.pluginType!=="jit"){const x=await C.load();for(let[_,VD]of Object.entries(x.flags??{})){if(VD.type==="boolean")continue;C.flags[_].default=await Fu0.cacheDefaultValue(VD,!1)}await this.showCommandHelp(C)}else await this.showCommandHelp(C);return}const y=this.config.findTopic(G);if(y){await this.showTopicHelp(y);return}if(this.config.flexibleTaxonomy){const x=this.config.findMatches(G,K);if(x.length>0){if((await this.config.runHook("command_incomplete",{argv:K.filter((VD)=>!G.split(":").includes(VD)),id:G,matches:x})).successes.length>0)return}}eS0.error(`Command ${G} not found.`)}async showRootHelp(){let Q=this.sortedTopics,K=this.sortedCommands;const G=this.config.pjson?.oclif?.state;if(G)this.log(G==="deprecated"?`${this.config.bin} is deprecated`:`${this.config.bin} is in ${G}.\n`);if(this.log(this.formatRoot()),this.log(""),!this.opts.all)Q=Q.filter((C)=>!C.name.includes(":")),K=K.filter((C)=>!C.id.includes(":"));if(Q.length>0)this.log(this.formatTopics(Q)),this.log("");if(K.length>0)K=K.filter((C)=>C.id),this.log(this.formatCommands(K)),this.log("")}async showTopicHelp(Q){const{name:K}=Q,G=K.split(":").length,C=this.sortedTopics.filter((_)=>_.name.startsWith(K+":")&&_.name.split(":").length===G+1),y=this.sortedCommands.filter((_)=>_.id.startsWith(K+":")&&_.id.split(":").length===G+1),x=this.config.pjson?.oclif?.state;if(x)this.log(`This topic is in ${x}.\n`);if(this.log(this.formatTopic(Q)),C.length>0)this.log(this.formatTopics(C)),this.log("");if(y.length>0)this.log(this.formatCommands(y)),this.log("")}summary(Q){if(this.opts.sections&&!this.opts.sections.map((K)=>K.toLowerCase()).includes("summary"))return;if(Q.summary)return JM.colorize(this.config?.theme?.commandSummary,this.render(Q.summary.split("\n")[0]));return Q.description&&JM.colorize(this.config?.theme?.commandSummary,this.render(Q.description).split("\n")[0])}get _topics(){return this.config.topics.filter((Q)=>{return this.config.topics.some((G)=>G.name.includes(`${Q.name}:`))})}}uX.Help=xUD;uX.loadHelpClass=Qu0});var Y5D=r0((tq)=>{async function Gu0(Q){try{if(!Q)Q=new qu0.CLIError("no error?");if(Q.message==="SIGINT")tq.Exit.exit(1);const K=!(Q instanceof Wu0.ExitError)&&!Q.skipOclifErrorHandling,G=Uu0.default(Q),C=Vu0.default(Q.stack||"",{pretty:!0});if(K){console.error(G??C);const x=zu0.default.getInstance().get("config");if(Q.showHelp&&Q.parse?.input?.argv&&x){const _={...x.pjson.oclif.helpOptions??x.pjson.helpOptions,sections:["flags","usage","arguments"],sendToStderr:!0},VD=new Ku0.Help(x,_);console.error(),await VD.showHelp(process.argv.slice(2))}}const y=Q.oclif?.exit??1;if(kUD.config.errorLogger&&Q.code!=="EEXIT"){if(C)kUD.config.errorLogger.log(C);await kUD.config.errorLogger.flush().then(()=>tq.Exit.exit(y)).catch(console.error)}else tq.Exit.exit(y)}catch(K){console.error(Q.stack),console.error(K.stack),tq.Exit.exit(1)}}var hUD=tq&&tq.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(tq,"__esModule",{value:!0});tq.handle=tq.Exit=void 0;var Vu0=hUD(DUD()),zu0=hUD(lU()),Ku0=kd(),kUD=CR(),qu0=ER(),Wu0=l8D(),Uu0=hUD(p8D());tq.Exit={exit(Q=0){process.exit(Q)}};tq.handle=Gu0});var eq=r0((BM)=>{var Nu0=function(Q=0){throw new Hu0.ExitError(Q)};Object.defineProperty(BM,"__esModule",{value:!0});BM.warn=BM.exit=BM.Logger=BM.handle=BM.ModuleLoadError=BM.ExitError=BM.CLIError=BM.error=BM.config=void 0;var Hu0=l8D(),Mu0=CR();Object.defineProperty(BM,"config",{enumerable:!0,get:function(){return Mu0.config}});var Ou0=QUD();Object.defineProperty(BM,"error",{enumerable:!0,get:function(){return Ou0.error}});var ju0=ER();Object.defineProperty(BM,"CLIError",{enumerable:!0,get:function(){return ju0.CLIError}});var Lu0=l8D();Object.defineProperty(BM,"ExitError",{enumerable:!0,get:function(){return Lu0.ExitError}});var Au0=VUD();Object.defineProperty(BM,"ModuleLoadError",{enumerable:!0,get:function(){return Au0.ModuleLoadError}});var Cu0=Y5D();Object.defineProperty(BM,"handle",{enumerable:!0,get:function(){return Cu0.handle}});var Eu0=XUD();Object.defineProperty(BM,"Logger",{enumerable:!0,get:function(){return Eu0.Logger}});BM.exit=Nu0;var Tu0=s8D();Object.defineProperty(BM,"warn",{enumerable:!0,get:function(){return Tu0.warn}})});var Q5D=r0((xcD)=>{Object.defineProperty(xcD,"__esModule",{value:!0});xcD.ActionBase=void 0;var fcD=i8("node:util"),vcD=cB();class bcD{std="stderr";stdmocks;type;stdmockOrigs={stderr:process.stderr.write,stdout:process.stdout.write};get output(){return this.globals.output}set output(Q){this.globals.output=Q}get running(){return Boolean(this.task)}get status(){return this.task?this.task.status:void 0}set status(Q){const{task:K}=this;if(!K)return;if(K.status===Q)return;this._updateStatus(Q,K.status),K.status=Q}get task(){return this.globals.action.task}set task(Q){this.globals.action.task=Q}pause(Q,K){const{task:G}=this,C=G&&G.active;if(G&&C)this._pause(K),this._stdout(!1),G.active=!1;const y=Q();if(G&&C)this._resume();return y}async pauseAsync(Q,K){const{task:G}=this,C=G&&G.active;if(G&&C)this._pause(K),this._stdout(!1),G.active=!1;const y=await Q();if(G&&C)this._resume();return y}start(Q,K,G={}){this.std=G.stdout?"stdout":"stderr";const C={action:Q,active:Boolean(this.task&&this.task.active),status:K};this.task=C,this._start(G),C.active=!0,this._stdout(!0)}stop(Q="done"){const{task:K}=this;if(!K)return;this._stop(Q),K.active=!1,this.task=void 0,this._stdout(!1)}_flushStdout(){try{let Q="",K;while(this.stdmocks&&this.stdmocks.length>0){const G=this.stdmocks.shift();K=G[0],this._write(K,G[1]),Q+=G[1][0].toString("utf8")}if(Q&&K&&Q.at(-1)!=="\n")this._write(K,"\n")}catch(Q){this._write("stderr",fcD.inspect(Q))}}_pause(Q){throw new Error("not implemented")}_resume(){if(this.task)this.start(this.task.action,this.task.status)}_start(Q){throw new Error("not implemented")}_stdout(Q){try{if(Q){if(this.stdmocks)return;this.stdmockOrigs={stderr:process.stderr.write,stdout:process.stdout.write},this.stdmocks=[],process.stdout.write=(...K)=>{return this.stdmocks.push(["stdout",K]),!0},process.stderr.write=(...K)=>{return this.stdmocks.push(["stderr",K]),!0}}else{if(!this.stdmocks)return;delete this.stdmocks,process.stdout.write=this.stdmockOrigs.stdout,process.stderr.write=this.stdmockOrigs.stderr}}catch(K){this._write("stderr",fcD.inspect(K))}}_stop(Q){throw new Error("not implemented")}_updateStatus(Q,K){}_write(Q,K){switch(Q){case"stdout":{this.stdmockOrigs.stdout.apply(process.stdout,vcD.castArray(K));break}case"stderr":{this.stdmockOrigs.stderr.apply(process.stderr,vcD.castArray(K));break}default:throw new Error(`invalid std: ${Q}`)}}get globals(){global.ux=global.ux||{};const Q=global.ux;return Q.action=Q.action||{},Q}}xcD.ActionBase=bcD});var gcD=r0((_cD)=>{Object.defineProperty(_cD,"__esModule",{value:!0});var yu0=Q5D();class hcD extends yu0.ActionBase{type="simple";_flush(){this._write(this.std,"\n"),this._flushStdout()}_pause(Q){if(Q)this._updateStatus(Q);else this._flush()}_render(Q,K){if(!this.task)return;if(this.task.active)this._flush();this._write(this.std,K?`${Q}... ${K}`:`${Q}...`)}_resume(){}_start(){if(!this.task)return;this._render(this.task.action,this.task.status)}_stop(Q){if(!this.task)return;this._updateStatus(Q,this.task.status,!0)}_updateStatus(Q,K,G=!1){if(!this.task)return;if(this.task.active&&!K)this._write(this.std,` ${Q}`);else this._write(this.std,`${this.task.action}... ${Q}`);if(G||!K)this._flush()}}_cD.default=hcD});var ccD=r0((ma0,dcD)=>{var Su0=function(){if("FORCE_COLOR"in fX){if(fX.FORCE_COLOR==="true")return 1;if(fX.FORCE_COLOR==="false")return 0;return fX.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(fX.FORCE_COLOR,10),3)}},uu0=function(Q){if(Q===0)return!1;return{level:Q,hasBasic:!0,has256:Q>=2,has16m:Q>=3}},fu0=function(Q,{streamIsTTY:K,sniffFlags:G=!0}={}){const C=Su0();if(C!==void 0)V5D=C;const y=G?V5D:C;if(y===0)return 0;if(G){if(DW("color=16m")||DW("color=full")||DW("color=truecolor"))return 3;if(DW("color=256"))return 2}if(Q&&!K&&y===void 0)return 0;const x=y||0;if(fX.TERM==="dumb")return x;if(process.platform==="win32"){const _=wu0.release().split(".");if(Number(_[0])>=10&&Number(_[2])>=10586)return Number(_[2])>=14931?3:2;return 1}if("CI"in fX){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some((_)=>(_ in fX))||fX.CI_NAME==="codeship")return 1;return x}if("TEAMCITY_VERSION"in fX)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(fX.TEAMCITY_VERSION)?1:0;if(fX.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in fX){const _=Number.parseInt((fX.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(fX.TERM_PROGRAM){case"iTerm.app":return _>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(fX.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(fX.TERM))return 1;if("COLORTERM"in fX)return 1;return x},_UD=function(Q,K={}){const G=fu0(Q,{streamIsTTY:Q&&Q.isTTY,...K});return uu0(G)},wu0=i8("os"),mcD=i8("tty"),DW=Ad(),{env:fX}=process,V5D;if(DW("no-color")||DW("no-colors")||DW("color=false")||DW("color=never"))V5D=0;else if(DW("color")||DW("colors")||DW("color=true")||DW("color=always"))V5D=1;dcD.exports={supportsColor:_UD,stdout:_UD({isTTY:mcD.isatty(1)}),stderr:_UD({isTTY:mcD.isatty(2)})}});var icD=r0((lcD)=>{Object.defineProperty(lcD,"__esModule",{value:!0});lcD.default={arc:{frames:["\u25DC","\u25E0","\u25DD","\u25DE","\u25E1","\u25DF"],interval:100},arrow:{frames:["\u2190","\u2196","\u2191","\u2197","\u2192","\u2198","\u2193","\u2199"],interval:100},arrow2:{frames:["\u2B06\uFE0F ","\u2197\uFE0F ","\u27A1\uFE0F ","\u2198\uFE0F ","\u2B07\uFE0F ","\u2199\uFE0F ","\u2B05\uFE0F ","\u2196\uFE0F "],interval:80},arrow3:{frames:["\u25B9\u25B9\u25B9\u25B9\u25B9","\u25B8\u25B9\u25B9\u25B9\u25B9","\u25B9\u25B8\u25B9\u25B9\u25B9","\u25B9\u25B9\u25B8\u25B9\u25B9","\u25B9\u25B9\u25B9\u25B8\u25B9","\u25B9\u25B9\u25B9\u25B9\u25B8"],interval:120},balloon:{frames:[" ",".","o","O","@","*"," "],interval:140},balloon2:{frames:[".","o","O","\xB0","O","o","."],interval:120},bounce:{frames:["\u2801","\u2802","\u2804","\u2802"],interval:120},bouncingBall:{frames:["( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF)","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","(\u25CF )"],interval:80},bouncingBar:{frames:["[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"],interval:80},boxBounce:{frames:["\u2596","\u2598","\u259D","\u2597"],interval:120},boxBounce2:{frames:["\u258C","\u2580","\u2590","\u2584"],interval:100},circle:{frames:["\u25E1","\u2299","\u25E0"],interval:120},circleHalves:{frames:["\u25D0","\u25D3","\u25D1","\u25D2"],interval:50},circleQuarters:{frames:["\u25F4","\u25F7","\u25F6","\u25F5"],interval:120},clock:{frames:["\uD83D\uDD50 ","\uD83D\uDD51 ","\uD83D\uDD52 ","\uD83D\uDD53 ","\uD83D\uDD54 ","\uD83D\uDD55 ","\uD83D\uDD56 ","\uD83D\uDD57 ","\uD83D\uDD58 ","\uD83D\uDD59 ","\uD83D\uDD5A "],interval:100},dots:{frames:["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"],interval:80},dots2:{frames:["\u28FE","\u28FD","\u28FB","\u28BF","\u287F","\u28DF","\u28EF","\u28F7"],interval:80},dots3:{frames:["\u280B","\u2819","\u281A","\u281E","\u2816","\u2826","\u2834","\u2832","\u2833","\u2813"],interval:80},dots4:{frames:["\u2804","\u2806","\u2807","\u280B","\u2819","\u2838","\u2830","\u2820","\u2830","\u2838","\u2819","\u280B","\u2807","\u2806"],interval:80},dots5:{frames:["\u280B","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B"],interval:80},dots6:{frames:["\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2834","\u2832","\u2812","\u2802","\u2802","\u2812","\u281A","\u2819","\u2809","\u2801"],interval:80},dots7:{frames:["\u2808","\u2809","\u280B","\u2813","\u2812","\u2810","\u2810","\u2812","\u2816","\u2826","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808"],interval:80},dots8:{frames:["\u2801","\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808","\u2808"],interval:80},dots9:{frames:["\u28B9","\u28BA","\u28BC","\u28F8","\u28C7","\u2867","\u2857","\u284F"],interval:80},dots10:{frames:["\u2884","\u2882","\u2881","\u2841","\u2848","\u2850","\u2860"],interval:80},dots11:{frames:["\u2801","\u2802","\u2804","\u2840","\u2880","\u2820","\u2810","\u2808"],interval:100},earth:{frames:["\uD83C\uDF0D ","\uD83C\uDF0E ","\uD83C\uDF0F "],interval:180},flip:{frames:["_","_","_","-","`","`","'","\xB4","-","_","_","_"],interval:70},growHorizontal:{frames:["\u258F","\u258E","\u258D","\u258C","\u258B","\u258A","\u2589","\u258A","\u258B","\u258C","\u258D","\u258E"],interval:120},growVertical:{frames:["\u2581","\u2583","\u2584","\u2585","\u2586","\u2587","\u2586","\u2585","\u2584","\u2583"],interval:120},hamburger:{frames:["\u2631","\u2632","\u2634"],interval:100},hearts:{frames:["\uD83D\uDC9B ","\uD83D\uDC99 ","\uD83D\uDC9C ","\uD83D\uDC9A ","\u2764\uFE0F "],interval:100},hexagon:{frames:["\u2B21","\u2B22"],interval:400},line:{frames:["-","\\","|","/"],interval:130},line2:{frames:["\u2802","-","\u2013","\u2014","\u2013","-"],interval:100},monkey:{frames:["\uD83D\uDE48 ","\uD83D\uDE48 ","\uD83D\uDE49 ","\uD83D\uDE4A "],interval:300},moon:{frames:["\uD83C\uDF11 ","\uD83C\uDF12 ","\uD83C\uDF13 ","\uD83C\uDF14 ","\uD83C\uDF15 ","\uD83C\uDF16 ","\uD83C\uDF17 ","\uD83C\uDF18 "],interval:80},noise:{frames:["\u2593","\u2592","\u2591"],interval:100},pipe:{frames:["\u2524","\u2518","\u2534","\u2514","\u251C","\u250C","\u252C","\u2510"],interval:100},pong:{frames:["\u2590\u2802 \u258C","\u2590\u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802\u258C","\u2590 \u2820\u258C","\u2590 \u2840\u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590\u2820 \u258C"],interval:80},runner:{frames:["\uD83D\uDEB6 ","\uD83C\uDFC3 "],interval:140},simpleDots:{frames:[". ",".. ","..."," "],interval:400},simpleDotsScrolling:{frames:[". ",".. ","..."," .."," ."," "],interval:200},smiley:{frames:["\uD83D\uDE04 ","\uD83D\uDE1D "],interval:200},squareCorners:{frames:["\u25F0","\u25F3","\u25F2","\u25F1"],interval:180},squish:{frames:["\u256B","\u256A"],interval:100},star:{frames:["\u2736","\u2738","\u2739","\u273A","\u2739","\u2737"],interval:70},star2:{frames:["+","x","*"],interval:80},toggle:{frames:["\u22B6","\u22B7"],interval:250},toggle2:{frames:["\u25AB","\u25AA"],interval:80},toggle3:{frames:["\u25A1","\u25A0"],interval:120},toggle4:{frames:["\u25A0","\u25A1","\u25AA","\u25AB"],interval:100},toggle5:{frames:["\u25AE","\u25AF"],interval:100},toggle6:{frames:["\u101D","\u1040"],interval:300},toggle7:{frames:["\u29BE","\u29BF"],interval:80},toggle8:{frames:["\u25CD","\u25CC"],interval:100},toggle9:{frames:["\u25C9","\u25CE"],interval:100},toggle10:{frames:["\u3282","\u3280","\u3281"],interval:100},toggle11:{frames:["\u29C7","\u29C6"],interval:50},toggle12:{frames:["\u2617","\u2616"],interval:120},toggle13:{frames:["=","*","-"],interval:80},triangle:{frames:["\u25E2","\u25E3","\u25E4","\u25E5"],interval:50}}});var K5D=r0((bu0,gUD)=>{var B3=bu0;bu0.default=B3;var k2="\x1B[",hd="\x1B]",nu="\x07",z5D=";",pcD=process.env.TERM_PROGRAM==="Apple_Terminal";B3.cursorTo=(Q,K)=>{if(typeof Q!=="number")throw new TypeError("The `x` argument is required");if(typeof K!=="number")return k2+(Q+1)+"G";return k2+(K+1)+";"+(Q+1)+"H"};B3.cursorMove=(Q,K)=>{if(typeof Q!=="number")throw new TypeError("The `x` argument is required");let G="";if(Q<0)G+=k2+-Q+"D";else if(Q>0)G+=k2+Q+"C";if(K<0)G+=k2+-K+"A";else if(K>0)G+=k2+K+"B";return G};B3.cursorUp=(Q=1)=>k2+Q+"A";B3.cursorDown=(Q=1)=>k2+Q+"B";B3.cursorForward=(Q=1)=>k2+Q+"C";B3.cursorBackward=(Q=1)=>k2+Q+"D";B3.cursorLeft=k2+"G";B3.cursorSavePosition=pcD?"\x1B7":k2+"s";B3.cursorRestorePosition=pcD?"\x1B8":k2+"u";B3.cursorGetPosition=k2+"6n";B3.cursorNextLine=k2+"E";B3.cursorPrevLine=k2+"F";B3.cursorHide=k2+"?25l";B3.cursorShow=k2+"?25h";B3.eraseLines=(Q)=>{let K="";for(let G=0;G<Q;G++)K+=B3.eraseLine+(G<Q-1?B3.cursorUp():"");if(Q)K+=B3.cursorLeft;return K};B3.eraseEndLine=k2+"K";B3.eraseStartLine=k2+"1K";B3.eraseLine=k2+"2K";B3.eraseDown=k2+"J";B3.eraseUp=k2+"1J";B3.eraseScreen=k2+"2J";B3.scrollUp=k2+"S";B3.scrollDown=k2+"T";B3.clearScreen="\x1Bc";B3.clearTerminal=process.platform==="win32"?`${B3.eraseScreen}${k2}0f`:`${B3.eraseScreen}${k2}3J${k2}H`;B3.beep=nu;B3.link=(Q,K)=>{return[hd,"8",z5D,z5D,K,nu,Q,hd,"8",z5D,z5D,nu].join("")};B3.image=(Q,K={})=>{let G=`${hd}1337;File=inline=1`;if(K.width)G+=`;width=${K.width}`;if(K.height)G+=`;height=${K.height}`;if(K.preserveAspectRatio===!1)G+=";preserveAspectRatio=0";return G+":"+Q.toString("base64")+nu};B3.iTerm={setCwd:(Q=process.cwd())=>`${hd}50;CurrentDir=${Q}${nu}`,annotation:(Q,K={})=>{let G=`${hd}1337;`;const C=typeof K.x!=="undefined",y=typeof K.y!=="undefined";if((C||y)&&!(C&&y&&typeof K.length!=="undefined"))throw new Error("`x`, `y` and `length` must be defined when `x` or `y` is defined");if(Q=Q.replace(/\|/g,""),G+=K.isHidden?"AddHiddenAnnotation=":"AddAnnotation=",K.length>0)G+=(C?[Q,K.length,K.x,K.y]:[K.length,Q]).join("|");else G+=Q;return G+nu}}});var ocD=r0((iU)=>{var iu0=function(Q){if(!mUD)return Q;return(mUD.stdout?mUD.stdout.has256:(process.env.TERM||"").includes("256"))?`\x1B[38;5;104m${Q}${gu0.default.reset.open}`:mu0.default.magenta(Q)},ku0=iU&&iU.__createBinding||(Object.create?function(Q,K,G,C){if(C===void 0)C=G;var y=Object.getOwnPropertyDescriptor(K,G);if(!y||("get"in y?!K.__esModule:y.writable||y.configurable))y={enumerable:!0,get:function(){return K[G]}};Object.defineProperty(Q,C,y)}:function(Q,K,G,C){if(C===void 0)C=G;Q[C]=K[G]}),hu0=iU&&iU.__setModuleDefault||(Object.create?function(Q,K){Object.defineProperty(Q,"default",{enumerable:!0,value:K})}:function(Q,K){Q.default=K}),_u0=iU&&iU.__importStar||function(Q){if(Q&&Q.__esModule)return Q;var K={};if(Q!=null){for(var G in Q)if(G!=="default"&&Object.prototype.hasOwnProperty.call(Q,G))ku0(K,Q,G)}return hu0(K,Q),K},q5D=iU&&iU.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(iU,"__esModule",{value:!0});var gu0=q5D(Ld()),mu0=q5D(CK()),du0=q5D(Nj()),mUD=_u0(ccD()),cu0=AR(),lu0=Q5D(),ncD=q5D(icD()),dUD=K5D();class rcD extends lu0.ActionBase{frameIndex;frames;spinner;type="spinner";constructor(){super();this.frames=this.getFrames(),this.frameIndex=0}_frame(){const Q=this.frames[this.frameIndex];return this.frameIndex=++this.frameIndex%this.frames.length,iu0(Q)}_lines(Q){return du0.default(Q).split("\n").map((K)=>Math.ceil(K.length/cu0.errtermwidth)).reduce((K,G)=>K+G,0)}_pause(Q){if(this.spinner)clearInterval(this.spinner);if(this._reset(),Q)this._render(` ${Q}`);this.output=void 0}_render(Q){if(!this.task)return;this._reset(),this._flushStdout();const K=Q==="spinner"?` ${this._frame()}`:Q||"",G=this.task.status?` ${this.task.status}`:"";this.output=`${this.task.action}...${K}${G}\n`,this._write(this.std,this.output)}_reset(){if(!this.output)return;const Q=this._lines(this.output);this._write(this.std,dUD.cursorLeft+dUD.cursorUp(Q)+dUD.eraseDown),this.output=void 0}_start(Q){if(Q.style)this.frames=this.getFrames(Q);if(this._reset(),this.spinner)clearInterval(this.spinner);this._render(),this.spinner=setInterval((G)=>this._render.bind(this)(G),process.platform==="win32"?500:100,"spinner"),this.spinner.unref()}_stop(Q){if(this.task)this.task.status=Q;if(this.spinner)clearInterval(this.spinner);this._render(),this.output=void 0}getFrames(Q){if(Q?.style)return ncD.default[Q.style].frames;return ncD.default[process.platform==="win32"?"line":"dots2"].frames}}iU.default=rcD});var W5D=r0((XM)=>{var au0=function(){const K=pu0.default.getInstance().get("@oclif/core")?.version.split(".")[0]||"unknown";if(lC[K])return lC[K];return lC[K]=new lUD,lC[K]},cUD=XM&&XM.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(XM,"__esModule",{value:!0});XM.config=XM.Config=void 0;var pu0=cUD(lU()),nu0=cUD(gcD()),ru0=cUD(ocD()),scD=global,lC=scD.ux||(scD.ux={}),ou0=Boolean(process.stderr.isTTY)&&!process.env.CI&&!["dumb","emacs-color"].includes(process.env.TERM)&&"spinner"||"simple",su0=ou0==="spinner"?ru0.default:nu0.default;class lUD{action=new su0;errorsHandled=!1;outputLevel="info";showStackTrace=!0;get context(){return lC.context||{}}set context(Q){lC.context=Q}get debug(){return lC.debug||process.env.DEBUG==="*"}set debug(Q){lC.debug=Q}}XM.Config=lUD;XM.config=au0();XM.default=XM.config});var U5D=r0((acD)=>{var eu0=function(Q,K){function G(C,y=!1){return new Promise((x)=>{const _=setTimeout(()=>x(null),C);if(y)_.unref()})}return Promise.race([Q,G(K,!0).then(()=>tu0.error("timed out"))])};async function Df0(){const Q=new Promise((G)=>{process.stdout.once("drain",()=>G(null))});if(process.stdout.write(""))return;return Q}async function Ff0(Q=1e4){await eu0(Df0(),Q)}Object.defineProperty(acD,"__esModule",{value:!0});acD.flush=void 0;var tu0=eq();acD.flush=Ff0});var ZlD=r0((pa0,$lD)=>{var $f0=function(Q,K){var G=K.pathExt!==void 0?K.pathExt:process.env.PATHEXT;if(!G)return!0;if(G=G.split(";"),G.indexOf("")!==-1)return!0;for(var C=0;C<G.length;C++){var y=G[C].toLowerCase();if(y&&Q.substr(-y.length).toLowerCase()===y)return!0}return!1},DlD=function(Q,K,G){if(!Q.isSymbolicLink()&&!Q.isFile())return!1;return $f0(K,G)},FlD=function(Q,K,G){ecD.stat(Q,function(C,y){G(C,C?!1:DlD(y,Q,K))})},Zf0=function(Q,K){return DlD(ecD.statSync(Q),Q,K)};$lD.exports=FlD;FlD.sync=Zf0;var ecD=i8("fs")});var QlD=r0((na0,YlD)=>{var BlD=function(Q,K,G){JlD.stat(Q,function(C,y){G(C,C?!1:XlD(y,K))})},Jf0=function(Q,K){return XlD(JlD.statSync(Q),K)},XlD=function(Q,K){return Q.isFile()&&Bf0(Q,K)},Bf0=function(Q,K){var{mode:G,uid:C,gid:y}=Q,x=K.uid!==void 0?K.uid:process.getuid&&process.getuid(),_=K.gid!==void 0?K.gid:process.getgid&&process.getgid(),VD=parseInt("100",8),OD=parseInt("010",8),HD=parseInt("001",8),a=VD|OD,bD=G&HD||G&OD&&y===_||G&VD&&C===x||G&a&&x===0;return bD};YlD.exports=BlD;BlD.sync=Jf0;var JlD=i8("fs")});var zlD=r0((oa0,VlD)=>{var iUD=function(Q,K,G){if(typeof K==="function")G=K,K={};if(!G){if(typeof Promise!=="function")throw new TypeError("callback not provided");return new Promise(function(C,y){iUD(Q,K||{},function(x,_){if(x)y(x);else C(_)})})}G5D(Q,K||{},function(C,y){if(C){if(C.code==="EACCES"||K&&K.ignoreErrors)C=null,y=!1}G(C,y)})},Xf0=function(Q,K){try{return G5D.sync(Q,K||{})}catch(G){if(K&&K.ignoreErrors||G.code==="EACCES")return!1;else throw G}},ra0=i8("fs"),G5D;if(process.platform==="win32"||global.TESTING_WINDOWS)G5D=ZlD();else G5D=QlD();VlD.exports=iUD;iUD.sync=Xf0});var MlD=r0((sa0,HlD)=>{var ru=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",KlD=i8("path"),Yf0=ru?";":":",qlD=zlD(),WlD=(Q)=>Object.assign(new Error(`not found: ${Q}`),{code:"ENOENT"}),UlD=(Q,K)=>{const G=K.colon||Yf0,C=Q.match(/\//)||ru&&Q.match(/\\/)?[""]:[...ru?[process.cwd()]:[],...(K.path||process.env.PATH||"").split(G)],y=ru?K.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",x=ru?y.split(G):[""];if(ru){if(Q.indexOf(".")!==-1&&x[0]!=="")x.unshift("")}return{pathEnv:C,pathExt:x,pathExtExe:y}},GlD=(Q,K,G)=>{if(typeof K==="function")G=K,K={};if(!K)K={};const{pathEnv:C,pathExt:y,pathExtExe:x}=UlD(Q,K),_=[],VD=(HD)=>new Promise((a,bD)=>{if(HD===C.length)return K.all&&_.length?a(_):bD(WlD(Q));const ED=C[HD],XD=/^".*"$/.test(ED)?ED.slice(1,-1):ED,UD=KlD.join(XD,Q),TD=!XD&&/^\.[\\\/]/.test(Q)?Q.slice(0,2)+UD:UD;a(OD(TD,HD,0))}),OD=(HD,a,bD)=>new Promise((ED,XD)=>{if(bD===y.length)return ED(VD(a+1));const UD=y[bD];qlD(HD+UD,{pathExt:x},(TD,nD)=>{if(!TD&&nD)if(K.all)_.push(HD+UD);else return ED(HD+UD);return ED(OD(HD,a,bD+1))})});return G?VD(0).then((HD)=>G(null,HD),G):VD(0)},Qf0=(Q,K)=>{K=K||{};const{pathEnv:G,pathExt:C,pathExtExe:y}=UlD(Q,K),x=[];for(let _=0;_<G.length;_++){const VD=G[_],OD=/^".*"$/.test(VD)?VD.slice(1,-1):VD,HD=KlD.join(OD,Q),a=!OD&&/^\.[\\\/]/.test(Q)?Q.slice(0,2)+HD:HD;for(let bD=0;bD<C.length;bD++){const ED=a+C[bD];try{if(qlD.sync(ED,{pathExt:y}))if(K.all)x.push(ED);else return ED}catch(XD){}}}if(K.all&&x.length)return x;if(K.nothrow)return null;throw WlD(Q)};HlD.exports=GlD;GlD.sync=Qf0});var jlD=r0((aa0,pUD)=>{var OlD=(Q={})=>{const K=Q.env||process.env;if((Q.platform||process.platform)!=="win32")return"PATH";return Object.keys(K).reverse().find((C)=>C.toUpperCase()==="PATH")||"Path"};pUD.exports=OlD;pUD.exports.default=OlD});var ElD=r0((ta0,ClD)=>{var AlD=function(Q,K){const G=Q.options.env||process.env,C=process.cwd(),y=Q.options.cwd!=null,x=y&&process.chdir!==void 0&&!process.chdir.disabled;if(x)try{process.chdir(Q.options.cwd)}catch(VD){}let _;try{_=Vf0.sync(Q.command,{path:G[zf0({env:G})],pathExt:K?LlD.delimiter:void 0})}catch(VD){}finally{if(x)process.chdir(C)}if(_)_=LlD.resolve(y?Q.options.cwd:"",_);return _},Kf0=function(Q){return AlD(Q)||AlD(Q,!0)},LlD=i8("path"),Vf0=MlD(),zf0=jlD();ClD.exports=Kf0});var NlD=r0((Uf0,rUD)=>{var qf0=function(Q){return Q=Q.replace(nUD,"^$1"),Q},Wf0=function(Q,K){if(Q=`${Q}`,Q=Q.replace(/(\\*)"/g,'$1$1\\"'),Q=Q.replace(/(\\*)$/,"$1$1"),Q=`"${Q}"`,Q=Q.replace(nUD,"^$1"),K)Q=Q.replace(nUD,"^$1");return Q},nUD=/([()\][%!^"`<>&|;, *?])/g;Uf0.command=qf0;Uf0.argument=Wf0});var RlD=r0((ea0,TlD)=>{TlD.exports=/^#!(.*)/});var ylD=r0((Dt0,IlD)=>{var Mf0=RlD();IlD.exports=(Q="")=>{const K=Q.match(Mf0);if(!K)return null;const[G,C]=K[0].replace(/#! ?/,"").split(" "),y=G.split("/").pop();if(y==="env")return C;return C?`${y} ${C}`:y}});var wlD=r0((Ft0,PlD)=>{var jf0=function(Q){const G=Buffer.alloc(150);let C;try{C=oUD.openSync(Q,"r"),oUD.readSync(C,G,0,150,0),oUD.closeSync(C)}catch(y){}return Of0(G.toString())},oUD=i8("fs"),Of0=ylD();PlD.exports=jf0});var vlD=r0(($t0,flD)=>{var Tf0=function(Q){Q.file=SlD(Q);const K=Q.file&&Af0(Q.file);if(K)return Q.args.unshift(Q.file),Q.command=K,SlD(Q);return Q.file},Rf0=function(Q){if(!Cf0)return Q;const K=Tf0(Q),G=!Ef0.test(K);if(Q.options.forceShell||G){const C=Nf0.test(K);Q.command=Lf0.normalize(Q.command),Q.command=ulD.command(Q.command),Q.args=Q.args.map((x)=>ulD.argument(x,C));const y=[Q.command].concat(Q.args).join(" ");Q.args=["/d","/s","/c",`"${y}"`],Q.command=process.env.comspec||"cmd.exe",Q.options.windowsVerbatimArguments=!0}return Q},If0=function(Q,K,G){if(K&&!Array.isArray(K))G=K,K=null;K=K?K.slice(0):[],G=Object.assign({},G);const C={command:Q,args:K,options:G,file:void 0,original:{command:Q,args:K}};return G.shell?C:Rf0(C)},Lf0=i8("path"),SlD=ElD(),ulD=NlD(),Af0=wlD(),Cf0=process.platform==="win32",Ef0=/\.(?:com|exe)$/i,Nf0=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;flD.exports=If0});var klD=r0((Zt0,xlD)=>{var aUD=function(Q,K){return Object.assign(new Error(`${K} ${Q.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${K} ${Q.command}`,path:Q.command,spawnargs:Q.args})},yf0=function(Q,K){if(!sUD)return;const G=Q.emit;Q.emit=function(C,y){if(C==="exit"){const x=blD(y,K,"spawn");if(x)return G.call(Q,"error",x)}return G.apply(Q,arguments)}},blD=function(Q,K){if(sUD&&Q===1&&!K.file)return aUD(K.original,"spawn");return null},Pf0=function(Q,K){if(sUD&&Q===1&&!K.file)return aUD(K.original,"spawnSync");return null},sUD=process.platform==="win32";xlD.exports={hookChildProcess:yf0,verifyENOENT:blD,verifyENOENTSync:Pf0,notFoundError:aUD}});var glD=r0((Jt0,ou)=>{var _lD=function(Q,K,G){const C=tUD(Q,K,G),y=hlD.spawn(C.command,C.args,C.options);return eUD.hookChildProcess(y,C),y},wf0=function(Q,K,G){const C=tUD(Q,K,G),y=hlD.spawnSync(C.command,C.args,C.options);return y.error=y.error||eUD.verifyENOENTSync(y.status,C),y},hlD=i8("child_process"),tUD=vlD(),eUD=klD();ou.exports=_lD;ou.exports.spawn=_lD;ou.exports.sync=wf0;ou.exports._parse=tUD;ou.exports._enoent=eUD});var clD=r0((Bt0,dlD)=>{var mlD=function(Q,K={}){return K=Object.assign({method:"mask",required:K.default===void 0,default:""},K),iC.setEncoding("utf8"),H5D[K.method](Q,K).then((G)=>G||(K.required?mlD(Q):""))},iC=process.stdin,YM=process.stderr,H5D={hide:(Q,K={})=>H5D.raw(Q,!1,K),mask:(Q,K={})=>H5D.raw(Q,!0,K),raw:(Q,K,G={})=>{if(!iC.setRawMode||process.env.TERM==="dumb")return H5D.notty(Q);return new Promise(function(C,y){const x=K5D();let _="";YM.write(x.eraseLine),YM.write(x.cursorLeft),YM.write(Q),iC.resume(),iC.setRawMode(!0);function VD(){if(K)YM.write(x.cursorHide+x.cursorLeft+Q+_.replace(/./g,"*")+"\n"+x.cursorShow);else YM.write("\n");iC.removeListener("data",ED),iC.setRawMode(!1),iC.pause()}function OD(){if(G.required&&_.length===0)return;VD(),_=_.replace(/\r$/,""),_=_||G.default,C(_)}function HD(){y(new Error("SIGINT")),VD()}function a(){if(_.length===0)return;_=_.substr(0,_.length-1),YM.write(x.cursorBackward(1)),YM.write(x.eraseEndLine)}function bD(XD){_+=XD,YM.write(K?XD:"*".repeat(XD.length))}const ED=function(XD){switch(XD){case"\x04":case"\r":case"\n":return OD();case"\x03":return HD();default:if(XD.charCodeAt(0)===127)return a();else return bD(XD)}};iC.on("data",ED)})},notty:(Q)=>{return new Promise((K,G)=>{const C=glD();YM.write(Q);const y=C.sync("sh",["-c","read -s PASS && echo $PASS"],{stdio:["inherit","pipe","inherit"],encoding:"utf8"});if(YM.write("\n"),y.error)return G(y.error);K(y.stdout.trim())})}};dlD.exports=mlD});var olD=r0((QQ)=>{var DGD=function(Q,K=100){if(K<0)throw new Error("no input");return new Promise((G,C)=>{let y;if(Q.timeout)y=setTimeout(()=>{process.stdin.pause(),C(new Error("Prompt timeout"))},Q.timeout),y.unref();process.stdin.setEncoding("utf8"),process.stderr.write(Q.prompt),process.stdin.resume(),process.stdin.once("data",(x)=>{if(y)clearTimeout(y);process.stdin.pause();const _=(typeof x==="string"?x:x.toString()).trim();if(!Q.default&&Q.required&&_==="")G(DGD(Q,K-1));else G(_||Q.default)})})},ilD=function(Q,K,G){let C="> ";if(G&&K==="hide")G="*".repeat(G.length);if(Q&&G)C=Q+" "+_d.default.yellow("["+G+"]")+": ";else if(Q)C=`${Q}: `;return C};async function bf0(Q){const K=process.stdin.isRaw;if(process.stdin.setRawMode)process.stdin.setRawMode(!0);Q.required=Q.required??!1;const G=await DGD(Q);if(process.stdin.setRawMode)process.stdin.setRawMode(Boolean(K));return G}var xf0=function(Q){const K=K5D();process.stderr.write(K.cursorHide+K.cursorUp(1)+K.cursorLeft+Q+K.cursorDown(1)+K.cursorLeft+K.cursorShow)};async function nlD(Q,K={}){const G=ilD(Q,K.type,K.default),C={default:"",isTTY:Boolean(process.env.TERM!=="dumb"&&process.stdin.isTTY),name:Q,prompt:G,required:!0,type:"normal",...K},y=clD();switch(C.type){case"normal":return DGD(C);case"single":return bf0(C);case"mask":return y(C.prompt,{default:C.default,method:C.type,required:C.required}).then((x)=>{return xf0(ilD(Q,"hide",K.default)),x});case"hide":return y(C.prompt,{default:C.default,method:C.type,required:C.required});default:throw new Error(`unexpected type ${C.type}`)}}async function rlD(Q,K={}){return plD.config.action.pauseAsync(()=>nlD(Q,K),_d.default.cyan("?"))}var kf0=function(Q){return plD.config.action.pauseAsync(async()=>{const K=async()=>{const C=(await nlD(Q)).toLowerCase();if(["n","no"].includes(C))return!1;if(["y","yes"].includes(C))return!0;return K()};return K()},_d.default.cyan("?"))};async function hf0(Q){const K=Boolean(process.stdin.setRawMode);if(!Q)Q=K?`Press any key to continue or ${_d.default.yellow("q")} to exit`:`Press enter to continue or ${_d.default.yellow("q")} to exit`;const G=await rlD(Q,{required:!1,type:"single"});if(K)process.stderr.write("\n");if(G==="q")llD.error("quit");if(G==="\x03")llD.error("ctrl-c");return G}var Sf0=QQ&&QQ.__createBinding||(Object.create?function(Q,K,G,C){if(C===void 0)C=G;var y=Object.getOwnPropertyDescriptor(K,G);if(!y||("get"in y?!K.__esModule:y.writable||y.configurable))y={enumerable:!0,get:function(){return K[G]}};Object.defineProperty(Q,C,y)}:function(Q,K,G,C){if(C===void 0)C=G;Q[C]=K[G]}),uf0=QQ&&QQ.__setModuleDefault||(Object.create?function(Q,K){Object.defineProperty(Q,"default",{enumerable:!0,value:K})}:function(Q,K){Q.default=K}),ff0=QQ&&QQ.__importStar||function(Q){if(Q&&Q.__esModule)return Q;var K={};if(Q!=null){for(var G in Q)if(G!=="default"&&Object.prototype.hasOwnProperty.call(Q,G))Sf0(K,Q,G)}return uf0(K,Q),K},vf0=QQ&&QQ.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(QQ,"__esModule",{value:!0});QQ.anykey=QQ.confirm=QQ.prompt=void 0;var _d=vf0(CK()),llD=ff0(eq()),plD=W5D();QQ.prompt=rlD;QQ.confirm=kf0;QQ.anykey=hf0});var alD=r0((gd)=>{var mf0=function(Q,K){const G=[],C=Object.keys(Q).map((VD)=>VD.toString().length),y=Math.max(...C)+2;function x(VD){if(typeof VD==="string"||typeof VD==="number")return VD;if(typeof VD==="object")return Object.keys(VD).map((OD)=>OD+": "+slD.inspect(VD[OD])).join(", ");return slD.inspect(VD)}const _=(VD,OD)=>`${gf0.default.blue(VD)}:`+" ".repeat(y-VD.length-1)+x(OD);for(let VD of K||Object.keys(Q).sort()){const OD=Q[VD];if(Array.isArray(OD)){if(OD.length>0){G.push(_(VD,OD[0]));for(let HD of OD.slice(1))G.push(" ".repeat(y)+x(HD))}}else if(OD!==null&&OD!==void 0)G.push(_(VD,OD))}return G.join("\n")},_f0=gd&&gd.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(gd,"__esModule",{value:!0});var gf0=_f0(CK()),slD=i8("node:util");gd.default=mf0});var DiD=r0((Qt0,elD)=>{class tlD{constructor(Q,K,G){this.etaBufferLength=Q||100,this.valueBuffer=[G],this.timeBuffer=[K],this.eta="0"}update(Q,K,G){this.valueBuffer.push(K),this.timeBuffer.push(Q),this.calculate(G-K)}getTime(){return this.eta}calculate(Q){const K=this.valueBuffer.length,G=Math.min(this.etaBufferLength,K),C=this.valueBuffer[K-1]-this.valueBuffer[K-G],y=this.timeBuffer[K-1]-this.timeBuffer[K-G],x=C/y;this.valueBuffer=this.valueBuffer.slice(-this.etaBufferLength),this.timeBuffer=this.timeBuffer.slice(-this.etaBufferLength);const _=Math.ceil(Q/x/1000);if(isNaN(_))this.eta="NULL";else if(!isFinite(_))this.eta="INF";else if(_>1e7)this.eta="INF";else if(_<0)this.eta=0;else this.eta=_}}elD.exports=tlD});var FGD=r0((Vt0,$iD)=>{var IR=i8("readline");class FiD{constructor(Q){this.stream=Q,this.linewrap=!0,this.dy=0}cursorSave(){if(!this.stream.isTTY)return;this.stream.write("\x1B7")}cursorRestore(){if(!this.stream.isTTY)return;this.stream.write("\x1B8")}cursor(Q){if(!this.stream.isTTY)return;if(Q)this.stream.write("\x1B[?25h");else this.stream.write("\x1B[?25l")}cursorTo(Q=null,K=null){if(!this.stream.isTTY)return;IR.cursorTo(this.stream,Q,K)}cursorRelative(Q=null,K=null){if(!this.stream.isTTY)return;this.dy=this.dy+K,IR.moveCursor(this.stream,Q,K)}cursorRelativeReset(){if(!this.stream.isTTY)return;IR.moveCursor(this.stream,0,-this.dy),IR.cursorTo(this.stream,0,null),this.dy=0}clearRight(){if(!this.stream.isTTY)return;IR.clearLine(this.stream,1)}clearLine(){if(!this.stream.isTTY)return;IR.clearLine(this.stream,0)}clearBottom(){if(!this.stream.isTTY)return;IR.clearScreenDown(this.stream)}newline(){this.stream.write("\n"),this.dy++}write(Q,K=!1){if(this.linewrap===!0&&K===!1)this.stream.write(Q.substr(0,this.getWidth()));else this.stream.write(Q)}lineWrapping(Q){if(!this.stream.isTTY)return;if(this.linewrap=Q,Q)this.stream.write("\x1B[?7h");else this.stream.write("\x1B[?7l")}isTTY(){return this.stream.isTTY===!0}getWidth(){return this.stream.columns||(this.stream.isTTY?80:200)}}$iD.exports=FiD});var $GD=r0((zt0,ZiD)=>{ZiD.exports=function Q(K,G,C){if(G.autopadding!==!0)return K;function y(x,_){return(G.autopaddingChar+x).slice(-_)}switch(C){case"percentage":return y(K,3);default:return K}}});var ZGD=r0((Kt0,JiD)=>{JiD.exports=function Q(K,G){const C=Math.round(K*G.barsize),y=G.barsize-C;return G.barCompleteString.substr(0,C)+G.barGlue+G.barIncompleteString.substr(0,y)}});var JGD=r0((qt0,BiD)=>{BiD.exports=function Q(K,G,C){function y(_){if(C)return C*Math.round(_/C);else return _}function x(_){return(G.autopaddingChar+_).slice(-2)}if(K>3600)return x(Math.floor(K/3600))+"h"+x(y(K%3600/60))+"m";else if(K>60)return x(Math.floor(K/60))+"m"+x(y(K%60))+"s";else if(K>10)return x(y(K))+"s";else return x(K)+"s"}});var BGD=r0((Wt0,XiD)=>{var df0=vu(),cf0=$GD(),lf0=ZGD(),if0=JGD();XiD.exports=function Q(K,G,C){let y=K.format;const x=K.formatTime||if0,_=K.formatValue||cf0,VD=K.formatBar||lf0,OD=Math.floor(G.progress*100)+"",HD=G.stopTime||Date.now(),a=Math.round((HD-G.startTime)/1000),bD=Object.assign({},C,{bar:VD(G.progress,K),percentage:_(OD,K,"percentage"),total:_(G.total,K,"total"),value:_(G.value,K,"value"),eta:_(G.eta,K,"eta"),eta_formatted:x(G.eta,K,5),duration:_(a,K,"duration"),duration_formatted:x(a,K,1)});y=y.replace(/\{(\w+)\}/g,function(UD,TD){if(typeof bD[TD]!=="undefined")return bD[TD];return UD});const ED=Math.max(0,G.maxWidth-df0(y)-2),XD=Math.floor(ED/2);switch(K.align){case"right":y=ED>0?" ".repeat(ED)+y:y;break;case"center":y=XD>0?" ".repeat(XD)+y:y;break;case"left":default:break}return y}});var M5D=r0((Ut0,YiD)=>{var q$=function(Q,K){if(typeof Q==="undefined"||Q===null)return K;else return Q};YiD.exports={parse:function Q(K,G){const C={},y=Object.assign({},G,K);return C.throttleTime=1000/q$(y.fps,10),C.stream=q$(y.stream,process.stderr),C.terminal=q$(y.terminal,null),C.clearOnComplete=q$(y.clearOnComplete,!1),C.stopOnComplete=q$(y.stopOnComplete,!1),C.barsize=q$(y.barsize,40),C.align=q$(y.align,"left"),C.hideCursor=q$(y.hideCursor,!1),C.linewrap=q$(y.linewrap,!1),C.barGlue=q$(y.barGlue,""),C.barCompleteChar=q$(y.barCompleteChar,"="),C.barIncompleteChar=q$(y.barIncompleteChar,"-"),C.format=q$(y.format,"progress [{bar}] {percentage}% | ETA: {eta}s | {value}/{total}"),C.formatTime=q$(y.formatTime,null),C.formatValue=q$(y.formatValue,null),C.formatBar=q$(y.formatBar,null),C.etaBufferLength=q$(y.etaBuffer,10),C.etaAsynchronousUpdate=q$(y.etaAsynchronousUpdate,!1),C.progressCalculationRelative=q$(y.progressCalculationRelative,!1),C.synchronousUpdate=q$(y.synchronousUpdate,!0),C.noTTYOutput=q$(y.noTTYOutput,!1),C.notTTYSchedule=q$(y.notTTYSchedule,2000),C.emptyOnZero=q$(y.emptyOnZero,!1),C.forceRedraw=q$(y.forceRedraw,!1),C.autopadding=q$(y.autopadding,!1),C.gracefulExit=q$(y.gracefulExit,!1),C},assignDerivedOptions:function Q(K){return K.barCompleteString=K.barCompleteChar.repeat(K.barsize+1),K.barIncompleteString=K.barIncompleteChar.repeat(K.barsize+1),K.autopaddingChar=K.autopadding?q$(K.autopaddingChar," "):"",K}}});var XGD=r0((Gt0,ViD)=>{var QiD=DiD(),pf0=FGD(),nf0=BGD(),rf0=M5D(),of0=i8("events");ViD.exports=class Q extends of0{constructor(K){super();this.options=rf0.assignDerivedOptions(K),this.terminal=this.options.terminal?this.options.terminal:new pf0(this.options.stream),this.value=0,this.startValue=0,this.total=100,this.lastDrawnString=null,this.startTime=null,this.stopTime=null,this.lastRedraw=Date.now(),this.eta=new QiD(this.options.etaBufferLength,0,0),this.payload={},this.isActive=!1,this.formatter=typeof this.options.format==="function"?this.options.format:nf0}render(K=!1){const G={progress:this.getProgress(),eta:this.eta.getTime(),startTime:this.startTime,stopTime:this.stopTime,total:this.total,value:this.value,maxWidth:this.terminal.getWidth()};if(this.options.etaAsynchronousUpdate)this.updateETA();const C=this.formatter(this.options,G,this.payload);if(K||this.options.forceRedraw||this.options.noTTYOutput&&!this.terminal.isTTY()||this.lastDrawnString!=C)this.emit("redraw-pre"),this.terminal.cursorTo(0,null),this.terminal.write(C),this.terminal.clearRight(),this.lastDrawnString=C,this.lastRedraw=Date.now(),this.emit("redraw-post")}start(K,G,C){this.value=G||0,this.total=typeof K!=="undefined"&&K>=0?K:100,this.startValue=G||0,this.payload=C||{},this.startTime=Date.now(),this.stopTime=null,this.lastDrawnString="",this.eta=new QiD(this.options.etaBufferLength,this.startTime,this.value),this.isActive=!0,this.emit("start",K,G)}stop(){this.isActive=!1,this.stopTime=Date.now(),this.emit("stop",this.total,this.value)}update(K,G={}){if(typeof K==="number")this.value=K,this.eta.update(Date.now(),K,this.total);const C=(typeof K==="object"?K:G)||{};this.emit("update",this.total,this.value);for(let y in C)this.payload[y]=C[y];if(this.value>=this.getTotal()&&this.options.stopOnComplete)this.stop()}getProgress(){let K=this.value/this.total;if(this.options.progressCalculationRelative)K=(this.value-this.startValue)/(this.total-this.startValue);if(isNaN(K))K=this.options&&this.options.emptyOnZero?0:1;return K=Math.min(Math.max(K,0),1),K}increment(K=1,G={}){if(typeof K==="object")this.update(this.value+1,K);else this.update(this.value+K,G)}getTotal(){return this.total}setTotal(K){if(typeof K!=="undefined"&&K>=0)this.total=K}updateETA(){this.eta.update(Date.now(),this.value,this.total)}}});var KiD=r0((Ht0,ziD)=>{var sf0=XGD(),af0=M5D();ziD.exports=class Q extends sf0{constructor(K,G){super(af0.parse(K,G));if(this.timer=null,this.options.noTTYOutput&&this.terminal.isTTY()===!1)this.options.synchronousUpdate=!1;this.schedulingRate=this.terminal.isTTY()?this.options.throttleTime:this.options.notTTYSchedule,this.sigintCallback=null}render(){if(this.timer)clearTimeout(this.timer),this.timer=null;if(super.render(),this.options.noTTYOutput&&this.terminal.isTTY()===!1)this.terminal.newline();this.timer=setTimeout(this.render.bind(this),this.schedulingRate)}update(K,G){if(!this.timer)return;if(super.update(K,G),this.options.synchronousUpdate&&this.lastRedraw+this.options.throttleTime*2<Date.now())this.render()}start(K,G,C){if(this.options.noTTYOutput===!1&&this.terminal.isTTY()===!1)return;if(this.sigintCallback===null&&this.options.gracefulExit)this.sigintCallback=this.stop.bind(this),process.once("SIGINT",this.sigintCallback),process.once("SIGTERM",this.sigintCallback);if(this.terminal.cursorSave(),this.options.hideCursor===!0)this.terminal.cursor(!1);if(this.options.linewrap===!1)this.terminal.lineWrapping(!1);super.start(K,G,C),this.render()}stop(){if(!this.timer)return;if(this.sigintCallback)process.removeListener("SIGINT",this.sigintCallback),process.removeListener("SIGTERM",this.sigintCallback),this.sigintCallback=null;if(this.render(),super.stop(),clearTimeout(this.timer),this.timer=null,this.options.hideCursor===!0)this.terminal.cursor(!0);if(this.options.linewrap===!1)this.terminal.lineWrapping(!0);if(this.terminal.cursorRestore(),this.options.clearOnComplete)this.terminal.cursorTo(0,null),this.terminal.clearLine();else this.terminal.newline()}}});var WiD=r0((Mt0,qiD)=>{var tf0=FGD(),ef0=XGD(),Dv0=M5D(),Fv0=i8("events");qiD.exports=class Q extends Fv0{constructor(K,G){super();this.bars=[],this.options=Dv0.parse(K,G),this.options.synchronousUpdate=!1,this.terminal=this.options.terminal?this.options.terminal:new tf0(this.options.stream),this.timer=null,this.isActive=!1,this.schedulingRate=this.terminal.isTTY()?this.options.throttleTime:this.options.notTTYSchedule,this.loggingBuffer=[],this.sigintCallback=null}create(K,G,C,y={}){const x=new ef0(Object.assign({},this.options,{terminal:this.terminal},y));if(this.bars.push(x),this.options.noTTYOutput===!1&&this.terminal.isTTY()===!1)return x;if(this.sigintCallback===null&&this.options.gracefulExit)this.sigintCallback=this.stop.bind(this),process.once("SIGINT",this.sigintCallback),process.once("SIGTERM",this.sigintCallback);if(!this.isActive){if(this.options.hideCursor===!0)this.terminal.cursor(!1);if(this.options.linewrap===!1)this.terminal.lineWrapping(!1);this.timer=setTimeout(this.update.bind(this),this.schedulingRate)}return this.isActive=!0,x.start(K,G,C),this.emit("start"),x}remove(K){const G=this.bars.indexOf(K);if(G<0)return!1;return this.bars.splice(G,1),this.update(),this.terminal.newline(),this.terminal.clearBottom(),!0}update(){if(this.timer)clearTimeout(this.timer),this.timer=null;if(this.emit("update-pre"),this.terminal.cursorRelativeReset(),this.emit("redraw-pre"),this.loggingBuffer.length>0){this.terminal.clearLine();while(this.loggingBuffer.length>0)this.terminal.write(this.loggingBuffer.shift(),!0)}for(let K=0;K<this.bars.length;K++){if(K>0)this.terminal.newline();this.bars[K].render()}if(this.emit("redraw-post"),this.options.noTTYOutput&&this.terminal.isTTY()===!1)this.terminal.newline(),this.terminal.newline();if(this.timer=setTimeout(this.update.bind(this),this.schedulingRate),this.emit("update-post"),this.options.stopOnComplete&&!this.bars.find((K)=>K.isActive))this.stop()}stop(){if(clearTimeout(this.timer),this.timer=null,this.sigintCallback)process.removeListener("SIGINT",this.sigintCallback),process.removeListener("SIGTERM",this.sigintCallback),this.sigintCallback=null;if(this.isActive=!1,this.options.hideCursor===!0)this.terminal.cursor(!0);if(this.options.linewrap===!1)this.terminal.lineWrapping(!0);if(this.terminal.cursorRelativeReset(),this.emit("stop-pre-clear"),this.options.clearOnComplete)this.terminal.clearBottom();else{for(let K=0;K<this.bars.length;K++){if(K>0)this.terminal.newline();this.bars[K].render(),this.bars[K].stop()}this.terminal.newline()}this.emit("stop")}log(K){this.loggingBuffer.push(K)}}});var GiD=r0((Ot0,UiD)=>{UiD.exports={format:"progress [{bar}] {percentage}% | ETA: {eta}s | {value}/{total}",barCompleteChar:"=",barIncompleteChar:"-"}});var MiD=r0((jt0,HiD)=>{HiD.exports={format:" {bar} {percentage}% | ETA: {eta}s | {value}/{total}",barCompleteChar:"\u2588",barIncompleteChar:"\u2591"}});var jiD=r0((Lt0,OiD)=>{OiD.exports={format:" \x1B[90m{bar}\x1B[0m {percentage}% | ETA: {eta}s | {value}/{total}",barCompleteChar:"\u2588",barIncompleteChar:"\u2591"}});var AiD=r0((At0,LiD)=>{LiD.exports={format:" {bar}\u25A0 {percentage}% | ETA: {eta}s | {value}/{total}",barCompleteChar:"\u25A0",barIncompleteChar:" "}});var EiD=r0((Ct0,CiD)=>{var $v0=GiD(),Zv0=MiD(),Jv0=jiD(),Bv0=AiD();CiD.exports={legacy:$v0,shades_classic:Zv0,shades_grey:Jv0,rect:Bv0}});var RiD=r0((Et0,TiD)=>{var NiD=KiD(),Xv0=WiD(),Yv0=EiD(),Qv0=BGD(),Vv0=$GD(),zv0=ZGD(),Kv0=JGD();TiD.exports={Bar:NiD,SingleBar:NiD,MultiBar:Xv0,Presets:Yv0,Format:{Formatter:Qv0,BarFormat:zv0,ValueFormat:Vv0,TimeFormat:Kv0}}});var yiD=r0((IiD)=>{var Wv0=function(Q={}){return new qv0.SingleBar({noTTYOutput:Boolean(process.env.TERM==="dumb"||!process.stdin.isTTY),...Q})};Object.defineProperty(IiD,"__esModule",{value:!0});var qv0=RiD();IiD.default=Wv0});var PR=r0((Lv0,yR)=>{var PiD=function(Q){return typeof Q==="undefined"||Q===null},Gv0=function(Q){return typeof Q==="object"&&Q!==null},Hv0=function(Q){if(Array.isArray(Q))return Q;else if(PiD(Q))return[];return[Q]},Mv0=function(Q,K){var G,C,y,x;if(K){x=Object.keys(K);for(G=0,C=x.length;G<C;G+=1)y=x[G],Q[y]=K[y]}return Q},Ov0=function(Q,K){var G="",C;for(C=0;C<K;C+=1)G+=Q;return G},jv0=function(Q){return Q===0&&Number.NEGATIVE_INFINITY===1/Q};Lv0.isNothing=PiD;Lv0.isObject=Gv0;Lv0.toArray=Hv0;Lv0.repeat=Ov0;Lv0.isNegativeZero=jv0;Lv0.extend=Mv0});var su=r0((Tt0,wiD)=>{var md=function(Q,K){if(Error.call(this),this.name="YAMLException",this.reason=Q,this.mark=K,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():""),Error.captureStackTrace)Error.captureStackTrace(this,this.constructor);else this.stack=new Error().stack||""};md.prototype=Object.create(Error.prototype);md.prototype.constructor=md;md.prototype.toString=function Q(K){var G=this.name+": ";if(G+=this.reason||"(unknown reason)",!K&&this.mark)G+=" "+this.mark.toString();return G};wiD.exports=md});var fiD=r0((Rt0,uiD)=>{var YGD=function(Q,K,G,C,y){this.name=Q,this.buffer=K,this.position=G,this.line=C,this.column=y},SiD=PR();YGD.prototype.getSnippet=function Q(K,G){var C,y,x,_,VD;if(!this.buffer)return null;K=K||4,G=G||75,C="",y=this.position;while(y>0&&`\0\r
|
|
338
338
|
\x85\u2028\u2029`.indexOf(this.buffer.charAt(y-1))===-1)if(y-=1,this.position-y>G/2-1){C=" ... ",y+=5;break}x="",_=this.position;while(_<this.buffer.length&&`\0\r
|
|
339
339
|
\x85\u2028\u2029`.indexOf(this.buffer.charAt(_))===-1)if(_+=1,_-this.position>G/2-1){x=" ... ",_-=5;break}return VD=this.buffer.slice(y,_),SiD.repeat(" ",K)+C+VD+x+"\n"+SiD.repeat(" ",K+this.position-y+C.length)+"^"};YGD.prototype.toString=function Q(K){var G,C="";if(this.name)C+='in "'+this.name+'" ';if(C+="at line "+(this.line+1)+", column "+(this.column+1),!K){if(G=this.getSnippet(),G)C+=":\n"+G}return C};uiD.exports=YGD});var nB=r0((It0,biD)=>{var Pv0=function(Q){var K={};if(Q!==null)Object.keys(Q).forEach(function(G){Q[G].forEach(function(C){K[String(C)]=G})});return K},wv0=function(Q,K){if(K=K||{},Object.keys(K).forEach(function(G){if(Iv0.indexOf(G)===-1)throw new viD('Unknown option "'+G+'" is met in definition of "'+Q+'" YAML type.')}),this.tag=Q,this.kind=K.kind||null,this.resolve=K.resolve||function(){return!0},this.construct=K.construct||function(G){return G},this.instanceOf=K.instanceOf||null,this.predicate=K.predicate||null,this.represent=K.represent||null,this.defaultStyle=K.defaultStyle||null,this.styleAliases=Pv0(K.styleAliases||null),yv0.indexOf(this.kind)===-1)throw new viD('Unknown kind "'+this.kind+'" is specified for "'+Q+'" YAML type.')},viD=su(),Iv0=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],yv0=["scalar","sequence","mapping"];biD.exports=wv0});var wR=r0((yt0,kiD)=>{var QGD=function(Q,K,G){var C=[];return Q.include.forEach(function(y){G=QGD(y,K,G)}),Q[K].forEach(function(y){G.forEach(function(x,_){if(x.tag===y.tag&&x.kind===y.kind)C.push(_)}),G.push(y)}),G.filter(function(y,x){return C.indexOf(x)===-1})},uv0=function(){var Q={scalar:{},sequence:{},mapping:{},fallback:{}},K,G;function C(y){Q[y.kind][y.tag]=Q.fallback[y.tag]=y}for(K=0,G=arguments.length;K<G;K+=1)arguments[K].forEach(C);return Q},au=function(Q){this.include=Q.include||[],this.implicit=Q.implicit||[],this.explicit=Q.explicit||[],this.implicit.forEach(function(K){if(K.loadKind&&K.loadKind!=="scalar")throw new O5D("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")}),this.compiledImplicit=QGD(this,"implicit",[]),this.compiledExplicit=QGD(this,"explicit",[]),this.compiledTypeMap=uv0(this.compiledImplicit,this.compiledExplicit)},xiD=PR(),O5D=su(),Sv0=nB();au.DEFAULT=null;au.create=function Q(){var K,G;switch(arguments.length){case 1:K=au.DEFAULT,G=arguments[0];break;case 2:K=arguments[0],G=arguments[1];break;default:throw new O5D("Wrong number of arguments for Schema.create function")}if(K=xiD.toArray(K),G=xiD.toArray(G),!K.every(function(C){return C instanceof au}))throw new O5D("Specified list of super schemas (or a single Schema object) contains a non-Schema object.");if(!G.every(function(C){return C instanceof Sv0}))throw new O5D("Specified list of YAML types (or a single Type object) contains a non-Type object.");return new au({include:K,explicit:G})};kiD.exports=au});var _iD=r0((Pt0,hiD)=>{var fv0=nB();hiD.exports=new fv0("tag:yaml.org,2002:str",{kind:"scalar",construct:function(Q){return Q!==null?Q:""}})});var miD=r0((wt0,giD)=>{var vv0=nB();giD.exports=new vv0("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(Q){return Q!==null?Q:[]}})});var ciD=r0((St0,diD)=>{var bv0=nB();diD.exports=new bv0("tag:yaml.org,2002:map",{kind:"mapping",construct:function(Q){return Q!==null?Q:{}}})});var j5D=r0((ut0,liD)=>{var xv0=wR();liD.exports=new xv0({explicit:[_iD(),miD(),ciD()]})});var piD=r0((ft0,iiD)=>{var hv0=function(Q){if(Q===null)return!0;var K=Q.length;return K===1&&Q==="~"||K===4&&(Q==="null"||Q==="Null"||Q==="NULL")},_v0=function(){return null},gv0=function(Q){return Q===null},kv0=nB();iiD.exports=new kv0("tag:yaml.org,2002:null",{kind:"scalar",resolve:hv0,construct:_v0,predicate:gv0,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})});var riD=r0((vt0,niD)=>{var dv0=function(Q){if(Q===null)return!1;var K=Q.length;return K===4&&(Q==="true"||Q==="True"||Q==="TRUE")||K===5&&(Q==="false"||Q==="False"||Q==="FALSE")},cv0=function(Q){return Q==="true"||Q==="True"||Q==="TRUE"},lv0=function(Q){return Object.prototype.toString.call(Q)==="[object Boolean]"},mv0=nB();niD.exports=new mv0("tag:yaml.org,2002:bool",{kind:"scalar",resolve:dv0,construct:cv0,predicate:lv0,represent:{lowercase:function(Q){return Q?"true":"false"},uppercase:function(Q){return Q?"TRUE":"FALSE"},camelcase:function(Q){return Q?"True":"False"}},defaultStyle:"lowercase"})});var siD=r0((bt0,oiD)=>{var nv0=function(Q){return 48<=Q&&Q<=57||65<=Q&&Q<=70||97<=Q&&Q<=102},rv0=function(Q){return 48<=Q&&Q<=55},ov0=function(Q){return 48<=Q&&Q<=57},sv0=function(Q){if(Q===null)return!1;var K=Q.length,G=0,C=!1,y;if(!K)return!1;if(y=Q[G],y==="-"||y==="+")y=Q[++G];if(y==="0"){if(G+1===K)return!0;if(y=Q[++G],y==="b"){G++;for(;G<K;G++){if(y=Q[G],y==="_")continue;if(y!=="0"&&y!=="1")return!1;C=!0}return C&&y!=="_"}if(y==="x"){G++;for(;G<K;G++){if(y=Q[G],y==="_")continue;if(!nv0(Q.charCodeAt(G)))return!1;C=!0}return C&&y!=="_"}for(;G<K;G++){if(y=Q[G],y==="_")continue;if(!rv0(Q.charCodeAt(G)))return!1;C=!0}return C&&y!=="_"}if(y==="_")return!1;for(;G<K;G++){if(y=Q[G],y==="_")continue;if(y===":")break;if(!ov0(Q.charCodeAt(G)))return!1;C=!0}if(!C||y==="_")return!1;if(y!==":")return!0;return/^(:[0-5]?[0-9])+$/.test(Q.slice(G))},av0=function(Q){var K=Q,G=1,C,y,x=[];if(K.indexOf("_")!==-1)K=K.replace(/_/g,"");if(C=K[0],C==="-"||C==="+"){if(C==="-")G=-1;K=K.slice(1),C=K[0]}if(K==="0")return 0;if(C==="0"){if(K[1]==="b")return G*parseInt(K.slice(2),2);if(K[1]==="x")return G*parseInt(K,16);return G*parseInt(K,8)}if(K.indexOf(":")!==-1)return K.split(":").forEach(function(_){x.unshift(parseInt(_,10))}),K=0,y=1,x.forEach(function(_){K+=_*y,y*=60}),G*K;return G*parseInt(K,10)},tv0=function(Q){return Object.prototype.toString.call(Q)==="[object Number]"&&(Q%1===0&&!iv0.isNegativeZero(Q))},iv0=PR(),pv0=nB();oiD.exports=new pv0("tag:yaml.org,2002:int",{kind:"scalar",resolve:sv0,construct:av0,predicate:tv0,represent:{binary:function(Q){return Q>=0?"0b"+Q.toString(2):"-0b"+Q.toString(2).slice(1)},octal:function(Q){return Q>=0?"0"+Q.toString(8):"-0"+Q.toString(8).slice(1)},decimal:function(Q){return Q.toString(10)},hexadecimal:function(Q){return Q>=0?"0x"+Q.toString(16).toUpperCase():"-0x"+Q.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})});var eiD=r0((xt0,tiD)=>{var Fb0=function(Q){if(Q===null)return!1;if(!Db0.test(Q)||Q[Q.length-1]==="_")return!1;return!0},$b0=function(Q){var K,G,C,y;if(K=Q.replace(/_/g,"").toLowerCase(),G=K[0]==="-"?-1:1,y=[],"+-".indexOf(K[0])>=0)K=K.slice(1);if(K===".inf")return G===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY;else if(K===".nan")return NaN;else if(K.indexOf(":")>=0)return K.split(":").forEach(function(x){y.unshift(parseFloat(x,10))}),K=0,C=1,y.forEach(function(x){K+=x*C,C*=60}),G*K;return G*parseFloat(K,10)},Jb0=function(Q,K){var G;if(isNaN(Q))switch(K){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===Q)switch(K){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===Q)switch(K){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(aiD.isNegativeZero(Q))return"-0.0";return G=Q.toString(10),Zb0.test(G)?G.replace("e",".e"):G},Bb0=function(Q){return Object.prototype.toString.call(Q)==="[object Number]"&&(Q%1!==0||aiD.isNegativeZero(Q))},aiD=PR(),ev0=nB(),Db0=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),Zb0=/^[-+]?[0-9]+e/;tiD.exports=new ev0("tag:yaml.org,2002:float",{kind:"scalar",resolve:Fb0,construct:$b0,predicate:Bb0,represent:Jb0,defaultStyle:"lowercase"})});var VGD=r0((kt0,DpD)=>{var Xb0=wR();DpD.exports=new Xb0({include:[j5D()],implicit:[piD(),riD(),siD(),eiD()]})});var zGD=r0((ht0,FpD)=>{var Yb0=wR();FpD.exports=new Yb0({include:[VGD()]})});var BpD=r0((_t0,JpD)=>{var Vb0=function(Q){if(Q===null)return!1;if($pD.exec(Q)!==null)return!0;if(ZpD.exec(Q)!==null)return!0;return!1},zb0=function(Q){var K,G,C,y,x,_,VD,OD=0,HD=null,a,bD,ED;if(K=$pD.exec(Q),K===null)K=ZpD.exec(Q);if(K===null)throw new Error("Date resolve error");if(G=+K[1],C=+K[2]-1,y=+K[3],!K[4])return new Date(Date.UTC(G,C,y));if(x=+K[4],_=+K[5],VD=+K[6],K[7]){OD=K[7].slice(0,3);while(OD.length<3)OD+="0";OD=+OD}if(K[9]){if(a=+K[10],bD=+(K[11]||0),HD=(a*60+bD)*60000,K[9]==="-")HD=-HD}if(ED=new Date(Date.UTC(G,C,y,x,_,VD,OD)),HD)ED.setTime(ED.getTime()-HD);return ED},Kb0=function(Q){return Q.toISOString()},Qb0=nB(),$pD=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),ZpD=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");JpD.exports=new Qb0("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:Vb0,construct:zb0,instanceOf:Date,represent:Kb0})});var YpD=r0((gt0,XpD)=>{var Wb0=function(Q){return Q==="<<"||Q===null},qb0=nB();XpD.exports=new qb0("tag:yaml.org,2002:merge",{kind:"scalar",resolve:Wb0})});var zpD=r0((mt0,VpD)=>{var Gb0=function(Q){if(Q===null)return!1;var K,G,C=0,y=Q.length,x=KGD;for(G=0;G<y;G++){if(K=x.indexOf(Q.charAt(G)),K>64)continue;if(K<0)return!1;C+=6}return C%8===0},Hb0=function(Q){var K,G,C=Q.replace(/[\r\n=]/g,""),y=C.length,x=KGD,_=0,VD=[];for(K=0;K<y;K++){if(K%4===0&&K)VD.push(_>>16&255),VD.push(_>>8&255),VD.push(_&255);_=_<<6|x.indexOf(C.charAt(K))}if(G=y%4*6,G===0)VD.push(_>>16&255),VD.push(_>>8&255),VD.push(_&255);else if(G===18)VD.push(_>>10&255),VD.push(_>>2&255);else if(G===12)VD.push(_>>4&255);if(SR)return SR.from?SR.from(VD):new SR(VD);return VD},Mb0=function(Q){var K="",G=0,C,y,x=Q.length,_=KGD;for(C=0;C<x;C++){if(C%3===0&&C)K+=_[G>>18&63],K+=_[G>>12&63],K+=_[G>>6&63],K+=_[G&63];G=(G<<8)+Q[C]}if(y=x%3,y===0)K+=_[G>>18&63],K+=_[G>>12&63],K+=_[G>>6&63],K+=_[G&63];else if(y===2)K+=_[G>>10&63],K+=_[G>>4&63],K+=_[G<<2&63],K+=_[64];else if(y===1)K+=_[G>>2&63],K+=_[G<<4&63],K+=_[64],K+=_[64];return K},Ob0=function(Q){return SR&&SR.isBuffer(Q)},SR;try{QpD=i8,SR=QpD("buffer").Buffer}catch(Q){}var QpD,Ub0=nB(),KGD="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";VpD.exports=new Ub0("tag:yaml.org,2002:binary",{kind:"scalar",resolve:Gb0,construct:Hb0,predicate:Ob0,represent:Mb0})});var qpD=r0((ct0,KpD)=>{var Cb0=function(Q){if(Q===null)return!0;var K=[],G,C,y,x,_,VD=Q;for(G=0,C=VD.length;G<C;G+=1){if(y=VD[G],_=!1,Ab0.call(y)!=="[object Object]")return!1;for(x in y)if(Lb0.call(y,x))if(!_)_=!0;else return!1;if(!_)return!1;if(K.indexOf(x)===-1)K.push(x);else return!1}return!0},Eb0=function(Q){return Q!==null?Q:[]},jb0=nB(),Lb0=Object.prototype.hasOwnProperty,Ab0=Object.prototype.toString;KpD.exports=new jb0("tag:yaml.org,2002:omap",{kind:"sequence",resolve:Cb0,construct:Eb0})});var UpD=r0((lt0,WpD)=>{var Rb0=function(Q){if(Q===null)return!0;var K,G,C,y,x,_=Q;x=new Array(_.length);for(K=0,G=_.length;K<G;K+=1){if(C=_[K],Tb0.call(C)!=="[object Object]")return!1;if(y=Object.keys(C),y.length!==1)return!1;x[K]=[y[0],C[y[0]]]}return!0},Ib0=function(Q){if(Q===null)return[];var K,G,C,y,x,_=Q;x=new Array(_.length);for(K=0,G=_.length;K<G;K+=1)C=_[K],y=Object.keys(C),x[K]=[y[0],C[y[0]]];return x},Nb0=nB(),Tb0=Object.prototype.toString;WpD.exports=new Nb0("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:Rb0,construct:Ib0})});var HpD=r0((it0,GpD)=>{var wb0=function(Q){if(Q===null)return!0;var K,G=Q;for(K in G)if(Pb0.call(G,K)){if(G[K]!==null)return!1}return!0},Sb0=function(Q){return Q!==null?Q:{}},yb0=nB(),Pb0=Object.prototype.hasOwnProperty;GpD.exports=new yb0("tag:yaml.org,2002:set",{kind:"mapping",resolve:wb0,construct:Sb0})});var tu=r0((pt0,MpD)=>{var ub0=wR();MpD.exports=new ub0({include:[zGD()],implicit:[BpD(),YpD()],explicit:[zpD(),qpD(),UpD(),HpD()]})});var jpD=r0((nt0,OpD)=>{var vb0=function(){return!0},bb0=function(){return},xb0=function(){return""},kb0=function(Q){return typeof Q==="undefined"},fb0=nB();OpD.exports=new fb0("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:vb0,construct:bb0,predicate:kb0,represent:xb0})});var ApD=r0((rt0,LpD)=>{var _b0=function(Q){if(Q===null)return!1;if(Q.length===0)return!1;var K=Q,G=/\/([gim]*)$/.exec(Q),C="";if(K[0]==="/"){if(G)C=G[1];if(C.length>3)return!1;if(K[K.length-C.length-1]!=="/")return!1}return!0},gb0=function(Q){var K=Q,G=/\/([gim]*)$/.exec(Q),C="";if(K[0]==="/"){if(G)C=G[1];K=K.slice(1,K.length-C.length-1)}return new RegExp(K,C)},mb0=function(Q){var K="/"+Q.source+"/";if(Q.global)K+="g";if(Q.multiline)K+="m";if(Q.ignoreCase)K+="i";return K},db0=function(Q){return Object.prototype.toString.call(Q)==="[object RegExp]"},hb0=nB();LpD.exports=new hb0("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:_b0,construct:gb0,predicate:db0,represent:mb0})});var NpD=r0((ot0,EpD)=>{var lb0=function(Q){if(Q===null)return!1;try{var K="("+Q+")",G=L5D.parse(K,{range:!0});if(G.type!=="Program"||G.body.length!==1||G.body[0].type!=="ExpressionStatement"||G.body[0].expression.type!=="ArrowFunctionExpression"&&G.body[0].expression.type!=="FunctionExpression")return!1;return!0}catch(C){return!1}},ib0=function(Q){var K="("+Q+")",G=L5D.parse(K,{range:!0}),C=[],y;if(G.type!=="Program"||G.body.length!==1||G.body[0].type!=="ExpressionStatement"||G.body[0].expression.type!=="ArrowFunctionExpression"&&G.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");if(G.body[0].expression.params.forEach(function(x){C.push(x.name)}),y=G.body[0].expression.body.range,G.body[0].expression.body.type==="BlockStatement")return new Function(C,K.slice(y[0]+1,y[1]-1));return new Function(C,"return "+K.slice(y[0],y[1]))},pb0=function(Q){return Q.toString()},nb0=function(Q){return Object.prototype.toString.call(Q)==="[object Function]"},L5D;try{CpD=i8,L5D=CpD("esprima")}catch(Q){if(typeof window!=="undefined")L5D=window.esprima}var CpD,cb0=nB();EpD.exports=new cb0("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:lb0,construct:ib0,predicate:nb0,represent:pb0})});var dd=r0((at0,RpD)=>{var TpD=wR();RpD.exports=TpD.DEFAULT=new TpD({include:[tu()],explicit:[jpD(),ApD(),NpD()]})});var ipD=r0((Mx0,cd)=>{var ypD=function(Q){return Object.prototype.toString.call(Q)},QM=function(Q){return Q===10||Q===13},fR=function(Q){return Q===9||Q===32},tV=function(Q){return Q===9||Q===32||Q===10||Q===13},eu=function(Q){return Q===44||Q===91||Q===93||Q===123||Q===125},Dx0=function(Q){var K;if(48<=Q&&Q<=57)return Q-48;if(K=Q|32,97<=K&&K<=102)return K-97+10;return-1},Fx0=function(Q){if(Q===120)return 2;if(Q===117)return 4;if(Q===85)return 8;return 0},$x0=function(Q){if(48<=Q&&Q<=57)return Q-48;return-1},PpD=function(Q){return Q===48?"\0":Q===97?"\x07":Q===98?"\b":Q===116?"\t":Q===9?"\t":Q===110?`
|
|
340
340
|
`:Q===118?"\v":Q===102?"\f":Q===114?`\r`:Q===101?"\x1B":Q===32?" ":Q===34?'"':Q===47?"/":Q===92?"\\":Q===78?"\x85":Q===95?"\xA0":Q===76?"\u2028":Q===80?"\u2029":""},Zx0=function(Q){if(Q<=65535)return String.fromCharCode(Q);return String.fromCharCode((Q-65536>>10)+55296,(Q-65536&1023)+56320)},Jx0=function(Q,K){this.input=Q,this.filename=K.filename||null,this.schema=K.schema||ob0,this.onWarning=K.onWarning||null,this.legacy=K.legacy||!1,this.json=K.json||!1,this.listener=K.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=Q.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]},mpD=function(Q,K){return new fpD(K,new rb0(Q.filename,Q.input,Q.position,Q.line,Q.position-Q.lineStart))},p7=function(Q,K){throw mpD(Q,K)},E5D=function(Q,K){if(Q.onWarning)Q.onWarning.call(null,mpD(Q,K))},pC=function(Q,K,G,C){var y,x,_,VD;if(K<G){if(VD=Q.input.slice(K,G),C){for(y=0,x=VD.length;y<x;y+=1)if(_=VD.charCodeAt(y),!(_===9||32<=_&&_<=1114111))p7(Q,"expected valid JSON character")}else if(ab0.test(VD))p7(Q,"the stream contains non-printable characters");Q.result+=VD}},SpD=function(Q,K,G,C){var y,x,_,VD;if(!Ij.isObject(G))p7(Q,"cannot merge mappings; the provided source object is unacceptable");y=Object.keys(G);for(_=0,VD=y.length;_<VD;_+=1)if(x=y[_],!nC.call(K,x))K[x]=G[x],C[x]=!0},Df=function(Q,K,G,C,y,x,_,VD){var OD,HD;if(Array.isArray(y)){y=Array.prototype.slice.call(y);for(OD=0,HD=y.length;OD<HD;OD+=1){if(Array.isArray(y[OD]))p7(Q,"nested arrays are not supported inside keys");if(typeof y==="object"&&ypD(y[OD])==="[object Object]")y[OD]="[object Object]"}}if(typeof y==="object"&&ypD(y)==="[object Object]")y="[object Object]";if(y=String(y),K===null)K={};if(C==="tag:yaml.org,2002:merge")if(Array.isArray(x))for(OD=0,HD=x.length;OD<HD;OD+=1)SpD(Q,K,x[OD],G);else SpD(Q,K,x,G);else{if(!Q.json&&!nC.call(G,y)&&nC.call(K,y))Q.line=_||Q.line,Q.position=VD||Q.position,p7(Q,"duplicated mapping key");K[y]=x,delete G[y]}return K},WGD=function(Q){var K=Q.input.charCodeAt(Q.position);if(K===10)Q.position++;else if(K===13){if(Q.position++,Q.input.charCodeAt(Q.position)===10)Q.position++}else p7(Q,"a line break is expected");Q.line+=1,Q.lineStart=Q.position},GB=function(Q,K,G){var C=0,y=Q.input.charCodeAt(Q.position);while(y!==0){while(fR(y))y=Q.input.charCodeAt(++Q.position);if(K&&y===35)do y=Q.input.charCodeAt(++Q.position);while(y!==10&&y!==13&&y!==0);if(QM(y)){WGD(Q),y=Q.input.charCodeAt(Q.position),C++,Q.lineIndent=0;while(y===32)Q.lineIndent++,y=Q.input.charCodeAt(++Q.position)}else break}if(G!==-1&&C!==0&&Q.lineIndent<G)E5D(Q,"deficient indentation");return C},N5D=function(Q){var K=Q.position,G;if(G=Q.input.charCodeAt(K),(G===45||G===46)&&G===Q.input.charCodeAt(K+1)&&G===Q.input.charCodeAt(K+2)){if(K+=3,G=Q.input.charCodeAt(K),G===0||tV(G))return!0}return!1},UGD=function(Q,K){if(K===1)Q.result+=" ";else if(K>1)Q.result+=Ij.repeat("\n",K-1)},Bx0=function(Q,K,G){var C,y,x,_,VD,OD,HD,a,bD=Q.kind,ED=Q.result,XD;if(XD=Q.input.charCodeAt(Q.position),tV(XD)||eu(XD)||XD===35||XD===38||XD===42||XD===33||XD===124||XD===62||XD===39||XD===34||XD===37||XD===64||XD===96)return!1;if(XD===63||XD===45){if(y=Q.input.charCodeAt(Q.position+1),tV(y)||G&&eu(y))return!1}Q.kind="scalar",Q.result="",x=_=Q.position,VD=!1;while(XD!==0){if(XD===58){if(y=Q.input.charCodeAt(Q.position+1),tV(y)||G&&eu(y))break}else if(XD===35){if(C=Q.input.charCodeAt(Q.position-1),tV(C))break}else if(Q.position===Q.lineStart&&N5D(Q)||G&&eu(XD))break;else if(QM(XD))if(OD=Q.line,HD=Q.lineStart,a=Q.lineIndent,GB(Q,!1,-1),Q.lineIndent>=K){VD=!0,XD=Q.input.charCodeAt(Q.position);continue}else{Q.position=_,Q.line=OD,Q.lineStart=HD,Q.lineIndent=a;break}if(VD)pC(Q,x,_,!1),UGD(Q,Q.line-OD),x=_=Q.position,VD=!1;if(!fR(XD))_=Q.position+1;XD=Q.input.charCodeAt(++Q.position)}if(pC(Q,x,_,!1),Q.result)return!0;return Q.kind=bD,Q.result=ED,!1},Xx0=function(Q,K){var G,C,y;if(G=Q.input.charCodeAt(Q.position),G!==39)return!1;Q.kind="scalar",Q.result="",Q.position++,C=y=Q.position;while((G=Q.input.charCodeAt(Q.position))!==0)if(G===39)if(pC(Q,C,Q.position,!0),G=Q.input.charCodeAt(++Q.position),G===39)C=Q.position,Q.position++,y=Q.position;else return!0;else if(QM(G))pC(Q,C,y,!0),UGD(Q,GB(Q,!1,K)),C=y=Q.position;else if(Q.position===Q.lineStart&&N5D(Q))p7(Q,"unexpected end of the document within a single quoted scalar");else Q.position++,y=Q.position;p7(Q,"unexpected end of the stream within a single quoted scalar")},Yx0=function(Q,K){var G,C,y,x,_,VD;if(VD=Q.input.charCodeAt(Q.position),VD!==34)return!1;Q.kind="scalar",Q.result="",Q.position++,G=C=Q.position;while((VD=Q.input.charCodeAt(Q.position))!==0)if(VD===34)return pC(Q,G,Q.position,!0),Q.position++,!0;else if(VD===92){if(pC(Q,G,Q.position,!0),VD=Q.input.charCodeAt(++Q.position),QM(VD))GB(Q,!1,K);else if(VD<256&&_pD[VD])Q.result+=gpD[VD],Q.position++;else if((_=Fx0(VD))>0){y=_,x=0;for(;y>0;y--)if(VD=Q.input.charCodeAt(++Q.position),(_=Dx0(VD))>=0)x=(x<<4)+_;else p7(Q,"expected hexadecimal character");Q.result+=Zx0(x),Q.position++}else p7(Q,"unknown escape sequence");G=C=Q.position}else if(QM(VD))pC(Q,G,C,!0),UGD(Q,GB(Q,!1,K)),G=C=Q.position;else if(Q.position===Q.lineStart&&N5D(Q))p7(Q,"unexpected end of the document within a double quoted scalar");else Q.position++,C=Q.position;p7(Q,"unexpected end of the stream within a double quoted scalar")},Qx0=function(Q,K){var G=!0,C,y=Q.tag,x,_=Q.anchor,VD,OD,HD,a,bD,ED={},XD,UD,TD,nD;if(nD=Q.input.charCodeAt(Q.position),nD===91)OD=93,bD=!1,x=[];else if(nD===123)OD=125,bD=!0,x={};else return!1;if(Q.anchor!==null)Q.anchorMap[Q.anchor]=x;nD=Q.input.charCodeAt(++Q.position);while(nD!==0){if(GB(Q,!0,K),nD=Q.input.charCodeAt(Q.position),nD===OD)return Q.position++,Q.tag=y,Q.anchor=_,Q.kind=bD?"mapping":"sequence",Q.result=x,!0;else if(!G)p7(Q,"missed comma between flow collection entries");if(UD=XD=TD=null,HD=a=!1,nD===63){if(VD=Q.input.charCodeAt(Q.position+1),tV(VD))HD=a=!0,Q.position++,GB(Q,!0,K)}if(C=Q.line,Ff(Q,K,A5D,!1,!0),UD=Q.tag,XD=Q.result,GB(Q,!0,K),nD=Q.input.charCodeAt(Q.position),(a||Q.line===C)&&nD===58)HD=!0,nD=Q.input.charCodeAt(++Q.position),GB(Q,!0,K),Ff(Q,K,A5D,!1,!0),TD=Q.result;if(bD)Df(Q,x,ED,UD,XD,TD);else if(HD)x.push(Df(Q,null,ED,UD,XD,TD));else x.push(XD);if(GB(Q,!0,K),nD=Q.input.charCodeAt(Q.position),nD===44)G=!0,nD=Q.input.charCodeAt(++Q.position);else G=!1}p7(Q,"unexpected end of the stream within a flow collection")},Vx0=function(Q,K){var G,C,y=qGD,x=!1,_=!1,VD=K,OD=0,HD=!1,a,bD;if(bD=Q.input.charCodeAt(Q.position),bD===124)C=!1;else if(bD===62)C=!0;else return!1;Q.kind="scalar",Q.result="";while(bD!==0)if(bD=Q.input.charCodeAt(++Q.position),bD===43||bD===45)if(qGD===y)y=bD===43?IpD:sb0;else p7(Q,"repeat of a chomping mode identifier");else if((a=$x0(bD))>=0)if(a===0)p7(Q,"bad explicit indentation width of a block scalar; it cannot be less than one");else if(!_)VD=K+a-1,_=!0;else p7(Q,"repeat of an indentation width identifier");else break;if(fR(bD)){do bD=Q.input.charCodeAt(++Q.position);while(fR(bD));if(bD===35)do bD=Q.input.charCodeAt(++Q.position);while(!QM(bD)&&bD!==0)}while(bD!==0){WGD(Q),Q.lineIndent=0,bD=Q.input.charCodeAt(Q.position);while((!_||Q.lineIndent<VD)&&bD===32)Q.lineIndent++,bD=Q.input.charCodeAt(++Q.position);if(!_&&Q.lineIndent>VD)VD=Q.lineIndent;if(QM(bD)){OD++;continue}if(Q.lineIndent<VD){if(y===IpD)Q.result+=Ij.repeat("\n",x?1+OD:OD);else if(y===qGD){if(x)Q.result+="\n"}break}if(C)if(fR(bD))HD=!0,Q.result+=Ij.repeat("\n",x?1+OD:OD);else if(HD)HD=!1,Q.result+=Ij.repeat("\n",OD+1);else if(OD===0){if(x)Q.result+=" "}else Q.result+=Ij.repeat("\n",OD);else Q.result+=Ij.repeat("\n",x?1+OD:OD);x=!0,_=!0,OD=0,G=Q.position;while(!QM(bD)&&bD!==0)bD=Q.input.charCodeAt(++Q.position);pC(Q,G,Q.position,!1)}return!0},upD=function(Q,K){var G,C=Q.tag,y=Q.anchor,x=[],_,VD=!1,OD;if(Q.anchor!==null)Q.anchorMap[Q.anchor]=x;OD=Q.input.charCodeAt(Q.position);while(OD!==0){if(OD!==45)break;if(_=Q.input.charCodeAt(Q.position+1),!tV(_))break;if(VD=!0,Q.position++,GB(Q,!0,-1)){if(Q.lineIndent<=K){x.push(null),OD=Q.input.charCodeAt(Q.position);continue}}if(G=Q.line,Ff(Q,K,xpD,!1,!0),x.push(Q.result),GB(Q,!0,-1),OD=Q.input.charCodeAt(Q.position),(Q.line===G||Q.lineIndent>K)&&OD!==0)p7(Q,"bad indentation of a sequence entry");else if(Q.lineIndent<K)break}if(VD)return Q.tag=C,Q.anchor=y,Q.kind="sequence",Q.result=x,!0;return!1},zx0=function(Q,K,G){var C,y,x,_,VD=Q.tag,OD=Q.anchor,HD={},a={},bD=null,ED=null,XD=null,UD=!1,TD=!1,nD;if(Q.anchor!==null)Q.anchorMap[Q.anchor]=HD;nD=Q.input.charCodeAt(Q.position);while(nD!==0){if(C=Q.input.charCodeAt(Q.position+1),x=Q.line,_=Q.position,(nD===63||nD===58)&&tV(C)){if(nD===63){if(UD)Df(Q,HD,a,bD,ED,null),bD=ED=XD=null;TD=!0,UD=!0,y=!0}else if(UD)UD=!1,y=!0;else p7(Q,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line");Q.position+=1,nD=C}else if(Ff(Q,G,bpD,!1,!0))if(Q.line===x){nD=Q.input.charCodeAt(Q.position);while(fR(nD))nD=Q.input.charCodeAt(++Q.position);if(nD===58){if(nD=Q.input.charCodeAt(++Q.position),!tV(nD))p7(Q,"a whitespace character is expected after the key-value separator within a block mapping");if(UD)Df(Q,HD,a,bD,ED,null),bD=ED=XD=null;TD=!0,UD=!1,y=!1,bD=Q.tag,ED=Q.result}else if(TD)p7(Q,"can not read an implicit mapping pair; a colon is missed");else return Q.tag=VD,Q.anchor=OD,!0}else if(TD)p7(Q,"can not read a block mapping entry; a multiline key may not be an implicit key");else return Q.tag=VD,Q.anchor=OD,!0;else break;if(Q.line===x||Q.lineIndent>K){if(Ff(Q,K,C5D,!0,y))if(UD)ED=Q.result;else XD=Q.result;if(!UD)Df(Q,HD,a,bD,ED,XD,x,_),bD=ED=XD=null;GB(Q,!0,-1),nD=Q.input.charCodeAt(Q.position)}if(Q.lineIndent>K&&nD!==0)p7(Q,"bad indentation of a mapping entry");else if(Q.lineIndent<K)break}if(UD)Df(Q,HD,a,bD,ED,null);if(TD)Q.tag=VD,Q.anchor=OD,Q.kind="mapping",Q.result=HD;return TD},Kx0=function(Q){var K,G=!1,C=!1,y,x,_;if(_=Q.input.charCodeAt(Q.position),_!==33)return!1;if(Q.tag!==null)p7(Q,"duplication of a tag property");if(_=Q.input.charCodeAt(++Q.position),_===60)G=!0,_=Q.input.charCodeAt(++Q.position);else if(_===33)C=!0,y="!!",_=Q.input.charCodeAt(++Q.position);else y="!";if(K=Q.position,G){do _=Q.input.charCodeAt(++Q.position);while(_!==0&&_!==62);if(Q.position<Q.length)x=Q.input.slice(K,Q.position),_=Q.input.charCodeAt(++Q.position);else p7(Q,"unexpected end of the stream within a verbatim tag")}else{while(_!==0&&!tV(_)){if(_===33)if(!C){if(y=Q.input.slice(K-1,Q.position+1),!kpD.test(y))p7(Q,"named tag handle cannot contain such characters");C=!0,K=Q.position+1}else p7(Q,"tag suffix cannot contain exclamation marks");_=Q.input.charCodeAt(++Q.position)}if(x=Q.input.slice(K,Q.position),eb0.test(x))p7(Q,"tag suffix cannot contain flow indicator characters")}if(x&&!hpD.test(x))p7(Q,"tag name cannot contain such characters: "+x);if(G)Q.tag=x;else if(nC.call(Q.tagMap,y))Q.tag=Q.tagMap[y]+x;else if(y==="!")Q.tag="!"+x;else if(y==="!!")Q.tag="tag:yaml.org,2002:"+x;else p7(Q,'undeclared tag handle "'+y+'"');return!0},qx0=function(Q){var K,G;if(G=Q.input.charCodeAt(Q.position),G!==38)return!1;if(Q.anchor!==null)p7(Q,"duplication of an anchor property");G=Q.input.charCodeAt(++Q.position),K=Q.position;while(G!==0&&!tV(G)&&!eu(G))G=Q.input.charCodeAt(++Q.position);if(Q.position===K)p7(Q,"name of an anchor node must contain at least one character");return Q.anchor=Q.input.slice(K,Q.position),!0},Wx0=function(Q){var K,G,C;if(C=Q.input.charCodeAt(Q.position),C!==42)return!1;C=Q.input.charCodeAt(++Q.position),K=Q.position;while(C!==0&&!tV(C)&&!eu(C))C=Q.input.charCodeAt(++Q.position);if(Q.position===K)p7(Q,"name of an alias node must contain at least one character");if(G=Q.input.slice(K,Q.position),!nC.call(Q.anchorMap,G))p7(Q,'unidentified alias "'+G+'"');return Q.result=Q.anchorMap[G],GB(Q,!0,-1),!0},Ff=function(Q,K,G,C,y){var x,_,VD,OD=1,HD=!1,a=!1,bD,ED,XD,UD,TD;if(Q.listener!==null)Q.listener("open",Q);if(Q.tag=null,Q.anchor=null,Q.kind=null,Q.result=null,x=_=VD=C5D===G||xpD===G,C){if(GB(Q,!0,-1)){if(HD=!0,Q.lineIndent>K)OD=1;else if(Q.lineIndent===K)OD=0;else if(Q.lineIndent<K)OD=-1}}if(OD===1)while(Kx0(Q)||qx0(Q))if(GB(Q,!0,-1)){if(HD=!0,VD=x,Q.lineIndent>K)OD=1;else if(Q.lineIndent===K)OD=0;else if(Q.lineIndent<K)OD=-1}else VD=!1;if(VD)VD=HD||y;if(OD===1||C5D===G){if(A5D===G||bpD===G)UD=K;else UD=K+1;if(TD=Q.position-Q.lineStart,OD===1)if(VD&&(upD(Q,TD)||zx0(Q,TD,UD))||Qx0(Q,UD))a=!0;else{if(_&&Vx0(Q,UD)||Xx0(Q,UD)||Yx0(Q,UD))a=!0;else if(Wx0(Q)){if(a=!0,Q.tag!==null||Q.anchor!==null)p7(Q,"alias node should not have any properties")}else if(Bx0(Q,UD,A5D===G)){if(a=!0,Q.tag===null)Q.tag="?"}if(Q.anchor!==null)Q.anchorMap[Q.anchor]=Q.result}else if(OD===0)a=VD&&upD(Q,TD)}if(Q.tag!==null&&Q.tag!=="!")if(Q.tag==="?"){if(Q.result!==null&&Q.kind!=="scalar")p7(Q,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+Q.kind+'"');for(bD=0,ED=Q.implicitTypes.length;bD<ED;bD+=1)if(XD=Q.implicitTypes[bD],XD.resolve(Q.result)){if(Q.result=XD.construct(Q.result),Q.tag=XD.tag,Q.anchor!==null)Q.anchorMap[Q.anchor]=Q.result;break}}else if(nC.call(Q.typeMap[Q.kind||"fallback"],Q.tag)){if(XD=Q.typeMap[Q.kind||"fallback"][Q.tag],Q.result!==null&&XD.kind!==Q.kind)p7(Q,"unacceptable node kind for !<"+Q.tag+'> tag; it should be "'+XD.kind+'", not "'+Q.kind+'"');if(!XD.resolve(Q.result))p7(Q,"cannot resolve a node with !<"+Q.tag+"> explicit tag");else if(Q.result=XD.construct(Q.result),Q.anchor!==null)Q.anchorMap[Q.anchor]=Q.result}else p7(Q,"unknown tag !<"+Q.tag+">");if(Q.listener!==null)Q.listener("close",Q);return Q.tag!==null||Q.anchor!==null||a},Ux0=function(Q){var K=Q.position,G,C,y,x=!1,_;Q.version=null,Q.checkLineBreaks=Q.legacy,Q.tagMap={},Q.anchorMap={};while((_=Q.input.charCodeAt(Q.position))!==0){if(GB(Q,!0,-1),_=Q.input.charCodeAt(Q.position),Q.lineIndent>0||_!==37)break;x=!0,_=Q.input.charCodeAt(++Q.position),G=Q.position;while(_!==0&&!tV(_))_=Q.input.charCodeAt(++Q.position);if(C=Q.input.slice(G,Q.position),y=[],C.length<1)p7(Q,"directive name must not be less than one character in length");while(_!==0){while(fR(_))_=Q.input.charCodeAt(++Q.position);if(_===35){do _=Q.input.charCodeAt(++Q.position);while(_!==0&&!QM(_));break}if(QM(_))break;G=Q.position;while(_!==0&&!tV(_))_=Q.input.charCodeAt(++Q.position);y.push(Q.input.slice(G,Q.position))}if(_!==0)WGD(Q);if(nC.call(wpD,C))wpD[C](Q,C,y);else E5D(Q,'unknown document directive "'+C+'"')}if(GB(Q,!0,-1),Q.lineIndent===0&&Q.input.charCodeAt(Q.position)===45&&Q.input.charCodeAt(Q.position+1)===45&&Q.input.charCodeAt(Q.position+2)===45)Q.position+=3,GB(Q,!0,-1);else if(x)p7(Q,"directives end mark is expected");if(Ff(Q,Q.lineIndent-1,C5D,!1,!0),GB(Q,!0,-1),Q.checkLineBreaks&&tb0.test(Q.input.slice(K,Q.position)))E5D(Q,"non-ASCII line breaks are interpreted as content");if(Q.documents.push(Q.result),Q.position===Q.lineStart&&N5D(Q)){if(Q.input.charCodeAt(Q.position)===46)Q.position+=3,GB(Q,!0,-1);return}if(Q.position<Q.length-1)p7(Q,"end of the stream or a document separator is expected");else return},dpD=function(Q,K){if(Q=String(Q),K=K||{},Q.length!==0){if(Q.charCodeAt(Q.length-1)!==10&&Q.charCodeAt(Q.length-1)!==13)Q+="\n";if(Q.charCodeAt(0)===65279)Q=Q.slice(1)}var G=new Jx0(Q,K),C=Q.indexOf("\0");if(C!==-1)G.position=C,p7(G,"null byte is not allowed in input");G.input+="\0";while(G.input.charCodeAt(G.position)===32)G.lineIndent+=1,G.position+=1;while(G.position<G.length-1)Ux0(G);return G.documents},cpD=function(Q,K,G){if(K!==null&&typeof K==="object"&&typeof G==="undefined")G=K,K=null;var C=dpD(Q,G);if(typeof K!=="function")return C;for(var y=0,x=C.length;y<x;y+=1)K(C[y])},lpD=function(Q,K){var G=dpD(Q,K);if(G.length===0)return;else if(G.length===1)return G[0];throw new fpD("expected a single document in the stream, but found more")},Gx0=function(Q,K,G){if(typeof K==="object"&&K!==null&&typeof G==="undefined")G=K,K=null;return cpD(Q,K,Ij.extend({schema:vpD},G))},Hx0=function(Q,K){return lpD(Q,Ij.extend({schema:vpD},K))},Ij=PR(),fpD=su(),rb0=fiD(),vpD=tu(),ob0=dd(),nC=Object.prototype.hasOwnProperty,A5D=1,bpD=2,xpD=3,C5D=4,qGD=1,sb0=2,IpD=3,ab0=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,tb0=/[\x85\u2028\u2029]/,eb0=/[,\[\]\{\}]/,kpD=/^(?:!|!!|![a-z\-]+!)$/i,hpD=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i,_pD=new Array(256),gpD=new Array(256);for(uR=0;uR<256;uR++)_pD[uR]=PpD(uR)?1:0,gpD[uR]=PpD(uR);var uR,wpD={YAML:function Q(K,G,C){var y,x,_;if(K.version!==null)p7(K,"duplication of %YAML directive");if(C.length!==1)p7(K,"YAML directive accepts exactly one argument");if(y=/^([0-9]+)\.([0-9]+)$/.exec(C[0]),y===null)p7(K,"ill-formed argument of the YAML directive");if(x=parseInt(y[1],10),_=parseInt(y[2],10),x!==1)p7(K,"unacceptable YAML version of the document");if(K.version=C[0],K.checkLineBreaks=_<2,_!==1&&_!==2)E5D(K,"unsupported YAML version of the document")},TAG:function Q(K,G,C){var y,x;if(C.length!==2)p7(K,"TAG directive accepts exactly two arguments");if(y=C[0],x=C[1],!kpD.test(y))p7(K,"ill-formed tag handle (first argument) of the TAG directive");if(nC.call(K.tagMap,y))p7(K,'there is a previously declared suffix for "'+y+'" tag handle');if(!hpD.test(x))p7(K,"ill-formed tag prefix (second argument) of the TAG directive");K.tagMap[y]=x}};Mx0.loadAll=cpD;Mx0.load=lpD;Mx0.safeLoadAll=Gx0;Mx0.safeLoad=Hx0});var UnD=r0(($k0,OGD)=>{var mx0=function(Q,K){var G,C,y,x,_,VD,OD;if(K===null)return{};G={},C=Object.keys(K);for(y=0,x=C.length;y<x;y+=1){if(_=C[y],VD=String(K[_]),_.slice(0,2)==="!!")_="tag:yaml.org,2002:"+_.slice(2);if(OD=Q.compiledTypeMap.fallback[_],OD&&DnD.call(OD.styleAliases,VD))VD=OD.styleAliases[VD];G[_]=VD}return G},ppD=function(Q){var K,G,C;if(K=Q.toString(16).toUpperCase(),Q<=255)G="x",C=2;else if(Q<=65535)G="u",C=4;else if(Q<=4294967295)G="U",C=8;else throw new pd("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+G+id.repeat("0",C-K.length)+K},dx0=function(Q){this.schema=Q.schema||Cx0,this.indent=Math.max(1,Q.indent||2),this.noArrayIndent=Q.noArrayIndent||!1,this.skipInvalid=Q.skipInvalid||!1,this.flowLevel=id.isNothing(Q.flowLevel)?-1:Q.flowLevel,this.styleMap=mx0(this.schema,Q.styles||null),this.sortKeys=Q.sortKeys||!1,this.lineWidth=Q.lineWidth||80,this.noRefs=Q.noRefs||!1,this.noCompatMode=Q.noCompatMode||!1,this.condenseFlow=Q.condenseFlow||!1,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null},npD=function(Q,K){var G=id.repeat(" ",K),C=0,y=-1,x="",_,VD=Q.length;while(C<VD){if(y=Q.indexOf("\n",C),y===-1)_=Q.slice(C),C=VD;else _=Q.slice(C,y+1),C=y+1;if(_.length&&_!=="\n")x+=G;x+=_}return x},GGD=function(Q,K){return"\n"+id.repeat(" ",Q.indent*K)},cx0=function(Q,K){var G,C,y;for(G=0,C=Q.implicitTypes.length;G<C;G+=1)if(y=Q.implicitTypes[G],y.resolve(K))return!0;return!1},MGD=function(Q){return Q===Rx0||Q===Nx0},$f=function(Q){return 32<=Q&&Q<=126||161<=Q&&Q<=55295&&Q!==8232&&Q!==8233||57344<=Q&&Q<=65533&&Q!==65279||65536<=Q&&Q<=1114111},lx0=function(Q){return $f(Q)&&!MGD(Q)&&Q!==65279&&Q!==Tx0&&Q!==ld},rpD=function(Q,K){return $f(Q)&&Q!==65279&&Q!==$nD&&Q!==JnD&&Q!==BnD&&Q!==XnD&&Q!==YnD&&Q!==ZnD&&(Q!==FnD||K&&lx0(K))},ix0=function(Q){return $f(Q)&&Q!==65279&&!MGD(Q)&&Q!==fx0&&Q!==xx0&&Q!==ZnD&&Q!==$nD&&Q!==JnD&&Q!==BnD&&Q!==XnD&&Q!==YnD&&Q!==FnD&&Q!==wx0&&Q!==ux0&&Q!==Ix0&&Q!==_x0&&Q!==vx0&&Q!==bx0&&Q!==Sx0&&Q!==yx0&&Q!==Px0&&Q!==kx0&&Q!==hx0},QnD=function(Q){var K=/^\n* /;return K.test(Q)},px0=function(Q,K,G,C,y){var x,_,VD,OD=!1,HD=!1,a=C!==-1,bD=-1,ED=ix0(Q.charCodeAt(0))&&!MGD(Q.charCodeAt(Q.length-1));if(K)for(x=0;x<Q.length;x++){if(_=Q.charCodeAt(x),!$f(_))return T5D;VD=x>0?Q.charCodeAt(x-1):null,ED=ED&&rpD(_,VD)}else{for(x=0;x<Q.length;x++){if(_=Q.charCodeAt(x),_===ld){if(OD=!0,a)HD=HD||x-bD-1>C&&Q[bD+1]!==" ",bD=x}else if(!$f(_))return T5D;VD=x>0?Q.charCodeAt(x-1):null,ED=ED&&rpD(_,VD)}HD=HD||a&&(x-bD-1>C&&Q[bD+1]!==" ")}if(!OD&&!HD)return ED&&!y(Q)?VnD:znD;if(G>9&&QnD(Q))return T5D;return HD?qnD:KnD},nx0=function(Q,K,G,C){Q.dump=function(){if(K.length===0)return"''";if(!Q.noCompatMode&&gx0.indexOf(K)!==-1)return"'"+K+"'";var y=Q.indent*Math.max(1,G),x=Q.lineWidth===-1?-1:Math.max(Math.min(Q.lineWidth,40),Q.lineWidth-y),_=C||Q.flowLevel>-1&&G>=Q.flowLevel;function VD(OD){return cx0(Q,OD)}switch(px0(K,_,Q.indent,x,VD)){case VnD:return K;case znD:return"'"+K.replace(/'/g,"''")+"'";case KnD:return"|"+opD(K,Q.indent)+spD(npD(K,y));case qnD:return">"+opD(K,Q.indent)+spD(npD(rx0(K,x),y));case T5D:return'"'+ox0(K,x)+'"';default:throw new pd("impossible error: invalid scalar style")}}()},opD=function(Q,K){var G=QnD(Q)?String(K):"",C=Q[Q.length-1]==="\n",y=C&&(Q[Q.length-2]==="\n"||Q==="\n"),x=y?"+":C?"":"-";return G+x+"\n"},spD=function(Q){return Q[Q.length-1]==="\n"?Q.slice(0,-1):Q},rx0=function(Q,K){var G=/(\n+)([^\n]*)/g,C=function(){var HD=Q.indexOf("\n");return HD=HD!==-1?HD:Q.length,G.lastIndex=HD,apD(Q.slice(0,HD),K)}(),y=Q[0]==="\n"||Q[0]===" ",x,_;while(_=G.exec(Q)){var VD=_[1],OD=_[2];x=OD[0]===" ",C+=VD+(!y&&!x&&OD!==""?"\n":"")+apD(OD,K),y=x}return C},apD=function(Q,K){if(Q===""||Q[0]===" ")return Q;var G=/ [^ ]/g,C,y=0,x,_=0,VD=0,OD="";while(C=G.exec(Q)){if(VD=C.index,VD-y>K)x=_>y?_:VD,OD+="\n"+Q.slice(y,x),y=x+1;_=VD}if(OD+="\n",Q.length-y>K&&_>y)OD+=Q.slice(y,_)+"\n"+Q.slice(_+1);else OD+=Q.slice(y);return OD.slice(1)},ox0=function(Q){var K="",G,C,y;for(var x=0;x<Q.length;x++){if(G=Q.charCodeAt(x),G>=55296&&G<=56319){if(C=Q.charCodeAt(x+1),C>=56320&&C<=57343){K+=ppD((G-55296)*1024+C-56320+65536),x++;continue}}y=VQ[G],K+=!y&&$f(G)?Q[x]:y||ppD(G)}return K},sx0=function(Q,K,G){var C="",y=Q.tag,x,_;for(x=0,_=G.length;x<_;x+=1)if(vR(Q,K,G[x],!1,!1)){if(x!==0)C+=","+(!Q.condenseFlow?" ":"");C+=Q.dump}Q.tag=y,Q.dump="["+C+"]"},ax0=function(Q,K,G,C){var y="",x=Q.tag,_,VD;for(_=0,VD=G.length;_<VD;_+=1)if(vR(Q,K+1,G[_],!0,!0)){if(!C||_!==0)y+=GGD(Q,K);if(Q.dump&&ld===Q.dump.charCodeAt(0))y+="-";else y+="- ";y+=Q.dump}Q.tag=x,Q.dump=y||"[]"},tx0=function(Q,K,G){var C="",y=Q.tag,x=Object.keys(G),_,VD,OD,HD,a;for(_=0,VD=x.length;_<VD;_+=1){if(a="",_!==0)a+=", ";if(Q.condenseFlow)a+='"';if(OD=x[_],HD=G[OD],!vR(Q,K,OD,!1,!1))continue;if(Q.dump.length>1024)a+="? ";if(a+=Q.dump+(Q.condenseFlow?'"':"")+":"+(Q.condenseFlow?"":" "),!vR(Q,K,HD,!1,!1))continue;a+=Q.dump,C+=a}Q.tag=y,Q.dump="{"+C+"}"},ex0=function(Q,K,G,C){var y="",x=Q.tag,_=Object.keys(G),VD,OD,HD,a,bD,ED;if(Q.sortKeys===!0)_.sort();else if(typeof Q.sortKeys==="function")_.sort(Q.sortKeys);else if(Q.sortKeys)throw new pd("sortKeys must be a boolean or a function");for(VD=0,OD=_.length;VD<OD;VD+=1){if(ED="",!C||VD!==0)ED+=GGD(Q,K);if(HD=_[VD],a=G[HD],!vR(Q,K+1,HD,!0,!0,!0))continue;if(bD=Q.tag!==null&&Q.tag!=="?"||Q.dump&&Q.dump.length>1024,bD)if(Q.dump&&ld===Q.dump.charCodeAt(0))ED+="?";else ED+="? ";if(ED+=Q.dump,bD)ED+=GGD(Q,K);if(!vR(Q,K+1,a,!0,bD))continue;if(Q.dump&&ld===Q.dump.charCodeAt(0))ED+=":";else ED+=": ";ED+=Q.dump,y+=ED}Q.tag=x,Q.dump=y||"{}"},tpD=function(Q,K,G){var C,y,x,_,VD,OD;y=G?Q.explicitTypes:Q.implicitTypes;for(x=0,_=y.length;x<_;x+=1)if(VD=y[x],(VD.instanceOf||VD.predicate)&&(!VD.instanceOf||typeof K==="object"&&K instanceof VD.instanceOf)&&(!VD.predicate||VD.predicate(K))){if(Q.tag=G?VD.tag:"?",VD.represent){if(OD=Q.styleMap[VD.tag]||VD.defaultStyle,epD.call(VD.represent)==="[object Function]")C=VD.represent(K,OD);else if(DnD.call(VD.represent,OD))C=VD.represent[OD](K,OD);else throw new pd("!<"+VD.tag+'> tag resolver accepts not "'+OD+'" style');Q.dump=C}return!0}return!1},vR=function(Q,K,G,C,y,x){if(Q.tag=null,Q.dump=G,!tpD(Q,G,!1))tpD(Q,G,!0);var _=epD.call(Q.dump);if(C)C=Q.flowLevel<0||Q.flowLevel>K;var VD=_==="[object Object]"||_==="[object Array]",OD,HD;if(VD)OD=Q.duplicates.indexOf(G),HD=OD!==-1;if(Q.tag!==null&&Q.tag!=="?"||HD||Q.indent!==2&&K>0)y=!1;if(HD&&Q.usedDuplicates[OD])Q.dump="*ref_"+OD;else{if(VD&&HD&&!Q.usedDuplicates[OD])Q.usedDuplicates[OD]=!0;if(_==="[object Object]"){if(C&&Object.keys(Q.dump).length!==0){if(ex0(Q,K,Q.dump,y),HD)Q.dump="&ref_"+OD+Q.dump}else if(tx0(Q,K,Q.dump),HD)Q.dump="&ref_"+OD+" "+Q.dump}else if(_==="[object Array]"){var a=Q.noArrayIndent&&K>0?K-1:K;if(C&&Q.dump.length!==0){if(ax0(Q,a,Q.dump,y),HD)Q.dump="&ref_"+OD+Q.dump}else if(sx0(Q,a,Q.dump),HD)Q.dump="&ref_"+OD+" "+Q.dump}else if(_==="[object String]"){if(Q.tag!=="?")nx0(Q,Q.dump,K,x)}else{if(Q.skipInvalid)return!1;throw new pd("unacceptable kind of an object to dump "+_)}if(Q.tag!==null&&Q.tag!=="?")Q.dump="!<"+Q.tag+"> "+Q.dump}return!0},Dk0=function(Q,K){var G=[],C=[],y,x;HGD(Q,G,C);for(y=0,x=C.length;y<x;y+=1)K.duplicates.push(G[C[y]]);K.usedDuplicates=new Array(x)},HGD=function(Q,K,G){var C,y,x;if(Q!==null&&typeof Q==="object")if(y=K.indexOf(Q),y!==-1){if(G.indexOf(y)===-1)G.push(y)}else if(K.push(Q),Array.isArray(Q))for(y=0,x=Q.length;y<x;y+=1)HGD(Q[y],K,G);else{C=Object.keys(Q);for(y=0,x=C.length;y<x;y+=1)HGD(Q[C[y]],K,G)}},WnD=function(Q,K){K=K||{};var G=new dx0(K);if(!G.noRefs)Dk0(Q,G);if(vR(G,0,Q,!0,!0))return G.dump+"\n";return""},Fk0=function(Q,K){return WnD(Q,id.extend({schema:Ex0},K))},id=PR(),pd=su(),Cx0=dd(),Ex0=tu(),epD=Object.prototype.toString,DnD=Object.prototype.hasOwnProperty,Nx0=9,ld=10,Tx0=13,Rx0=32,Ix0=33,yx0=34,FnD=35,Px0=37,wx0=38,Sx0=39,ux0=42,$nD=44,fx0=45,ZnD=58,vx0=61,bx0=62,xx0=63,kx0=64,JnD=91,BnD=93,hx0=96,XnD=123,_x0=124,YnD=125,VQ={};VQ[0]="\\0";VQ[7]="\\a";VQ[8]="\\b";VQ[9]="\\t";VQ[10]="\\n";VQ[11]="\\v";VQ[12]="\\f";VQ[13]="\\r";VQ[27]="\\e";VQ[34]='\\"';VQ[92]="\\\\";VQ[133]="\\N";VQ[160]="\\_";VQ[8232]="\\L";VQ[8233]="\\P";var gx0=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],VnD=1,znD=2,KnD=3,qnD=4,T5D=5;$k0.dump=WnD;$k0.safeDump=Fk0});var HnD=r0((Bk0,XJ)=>{var I5D=function(Q){return function(){throw new Error("Function "+Q+" is deprecated and cannot be used.")}},R5D=ipD(),GnD=UnD();Bk0.Type=nB();Bk0.Schema=wR();Bk0.FAILSAFE_SCHEMA=j5D();Bk0.JSON_SCHEMA=VGD();Bk0.CORE_SCHEMA=zGD();Bk0.DEFAULT_SAFE_SCHEMA=tu();Bk0.DEFAULT_FULL_SCHEMA=dd();Bk0.load=R5D.load;Bk0.loadAll=R5D.loadAll;Bk0.safeLoad=R5D.safeLoad;Bk0.safeLoadAll=R5D.safeLoadAll;Bk0.dump=GnD.dump;Bk0.safeDump=GnD.safeDump;Bk0.YAMLException=su();Bk0.MINIMAL_SCHEMA=j5D();Bk0.SAFE_SCHEMA=tu();Bk0.DEFAULT_SCHEMA=dd();Bk0.scan=I5D("scan");Bk0.parse=I5D("parse");Bk0.compose=I5D("compose");Bk0.addConstructor=I5D("addConstructor")});var OnD=r0((tt0,MnD)=>{var Ik0=HnD();MnD.exports=Ik0});var InD=r0((RnD)=>{var Zh0=function(Q,K,G){if(!Q||!Array.isArray(Q))return[];var C=Fh0(K),y=$h0(G);return Dh0(Q,C,y)},Xh0=function(Q){var K=Bh0(Q);return Jh0(K)};Object.defineProperty(RnD,"__esModule",{value:!0});var CnD=function Q(K,G){if(K<G)return-1;if(K>G)return 1;return 0},yk0=/(^0x[\da-fA-F]+$|^([+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?!\.\d+)(?=\D|\s|$))|\d+)/g,EnD=/^\s+|\s+$/g,Pk0=/\s+/g,wk0=/^[+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?$/,Sk0=/(^([\w ]+,?[\w ]+)?[\w ]+,?[\w ]+\d+:\d+(:\d+)?[\w ]?|^\d{1,4}[/-]\d{1,4}[/-]\d{1,4}|^\w+, \w+ \d+, \d{4})/,uk0=/^0+[1-9]{1}[0-9]*$/,fk0=/[^\x00-\x80]/,vk0=function Q(K,G){var C=K.localeCompare(G);return C?C/Math.abs(C):0},jnD=function Q(K,G){if(K<G)return-1;if(K>G)return 1;return 0},bk0=function Q(K,G){var C=K.length,y=G.length,x=Math.min(C,y);for(var _=0;_<x;_++){var VD=K[_],OD=G[_];if(VD.normalizedString!==OD.normalizedString){if(VD.normalizedString===""!==(OD.normalizedString===""))return VD.normalizedString===""?-1:1;if(VD.parsedNumber!==void 0&&OD.parsedNumber!==void 0){var HD=CnD(VD.parsedNumber,OD.parsedNumber);if(HD===0)return jnD(VD.normalizedString,OD.normalizedString);return HD}else if(VD.parsedNumber!==void 0||OD.parsedNumber!==void 0)return VD.parsedNumber!==void 0?-1:1;else if(fk0.test(VD.normalizedString+OD.normalizedString)&&VD.normalizedString.localeCompare)return vk0(VD.normalizedString,OD.normalizedString);else return jnD(VD.normalizedString,OD.normalizedString)}}if(C>x||y>x)return C<=x?-1:1;return 0},xk0=function Q(K,G){if(!K.chunks?G.chunks:!G.chunks)return!K.chunks?1:-1;if(K.isNaN?!G.isNaN:G.isNaN)return K.isNaN?-1:1;if(K.isSymbol?!G.isSymbol:G.isSymbol)return K.isSymbol?-1:1;if(K.isObject?!G.isObject:G.isObject)return K.isObject?-1:1;if(K.isArray?!G.isArray:G.isArray)return K.isArray?-1:1;if(K.isFunction?!G.isFunction:G.isFunction)return K.isFunction?-1:1;if(K.isNull?!G.isNull:G.isNull)return K.isNull?-1:1;return 0},NnD=function Q(K,G){if(K.value===G.value)return 0;if(K.parsedNumber!==void 0&&G.parsedNumber!==void 0)return CnD(K.parsedNumber,G.parsedNumber);if(K.chunks&&G.chunks)return bk0(K.chunks,G.chunks);return xk0(K,G)},kk0=function Q(K,G,C){var{index:y,values:x}=K,_=G.index,VD=G.values,OD=x.length,HD=C.length;for(var a=0;a<OD;a++){var bD=a<HD?C[a]:null;if(bD&&typeof bD==="function"){var ED=bD(x[a].value,VD[a].value);if(ED)return ED}else{var XD=NnD(x[a],VD[a]);if(XD)return XD*(bD==="desc"?-1:1)}}return y-_},hk0=function Q(K){if(typeof K==="function")return K;return function(G){if(Array.isArray(G)){var C=Number(K);if(Number.isInteger(C))return G[C]}else if(G&&typeof G==="object"&&typeof K!=="function")return G[K];return G}},_k0=function Q(K){if(typeof K==="boolean"||K instanceof Boolean)return Number(K).toString();if(typeof K==="number"||K instanceof Number)return K.toString();if(K instanceof Date)return K.getTime().toString();if(typeof K==="string"||K instanceof String)return K.toLowerCase().replace(EnD,"");return""},TnD=function Q(K){if(K.length!==0){var G=Number(K);if(!Number.isNaN(G))return G}return},gk0=function Q(K){if(Sk0.test(K)){var G=Date.parse(K);if(!Number.isNaN(G))return G}return},mk0=function Q(K){var G=TnD(K);if(G!==void 0)return G;return gk0(K)},dk0=function Q(K){return K.replace(yk0,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0")},ck0=function Q(K){return K.replace(Pk0," ").replace(EnD,"")},lk0=function Q(K,G,C){if(wk0.test(K)){if(!uk0.test(K)||G===0||C[G-1]!==".")return TnD(K)||0}return},ik0=function Q(K,G,C){return{parsedNumber:lk0(K,G,C),normalizedString:ck0(K)}},pk0=function Q(K){var G=dk0(K).map(ik0);return G},nk0=function Q(K){return typeof K==="function"},LnD=function Q(K){return Number.isNaN(K)||K instanceof Number&&Number.isNaN(K.valueOf())},rk0=function Q(K){return K===null},ok0=function Q(K){return K!==null&&typeof K==="object"&&!Array.isArray(K)&&!(K instanceof Number)&&!(K instanceof String)&&!(K instanceof Boolean)&&!(K instanceof Date)},sk0=function Q(K){return typeof K==="symbol"},ak0=function Q(K){return K===void 0},jGD=function Q(K){if(typeof K==="string"||K instanceof String||(typeof K==="number"||K instanceof Number)&&!LnD(K)||typeof K==="boolean"||K instanceof Boolean||K instanceof Date){var G=_k0(K),C=mk0(G),y=pk0(C?""+C:G);return{parsedNumber:C,chunks:y,value:K}}return{isArray:Array.isArray(K),isFunction:nk0(K),isNaN:LnD(K),isNull:rk0(K),isObject:ok0(K),isSymbol:sk0(K),isUndefined:ak0(K),value:K}},tk0=function Q(K,G){return G(K)},ek0=function Q(K,G){return K[G]},Dh0=function Q(K,G,C){var y=G.length?G.map(hk0):[function(_){return _}],x=K.map(function(_,VD){var OD=y.map(function(HD){return tk0(_,HD)}).map(jGD);return{index:VD,values:OD}});return x.sort(function(_,VD){return kk0(_,VD,C)}),x.map(function(_){return ek0(K,_.index)})},Fh0=function Q(K){if(!K)return[];var G=!Array.isArray(K)?[K]:[].concat(K);if(G.some(function(C){return typeof C!=="string"&&typeof C!=="number"&&typeof C!=="function"}))return[];return G},$h0=function Q(K){if(!K)return[];var G=!Array.isArray(K)?[K]:[].concat(K);if(G.some(function(C){return C!=="asc"&&C!=="desc"&&typeof C!=="function"}))return[];return G},Jh0=function Q(K){return function(G,C){var y=jGD(G),x=jGD(C),_=NnD(y,x);return _*(K.order==="desc"?-1:1)}},AnD=function Q(K){return typeof K==="string"&&(K==="asc"||K==="desc")},Bh0=function Q(K){var G="asc";if(typeof K==="string"&&AnD(K))G=K;else if(K&&typeof K==="object"&&K.order&&AnD(K.order))G=K.order;return{order:G}};RnD.orderBy=Zh0;RnD.compare=Xh0});var PnD=r0((De0,ynD)=>{var Vh0=(Q)=>Q&&Q.exact?new RegExp(`^${"[\uD800-\uDBFF][\uDC00-\uDFFF]"}\$`):new RegExp("[\uD800-\uDBFF][\uDC00-\uDFFF]","g");ynD.exports=Vh0});var vnD=r0((Fe0,fnD)=>{var zh0=$UD(),Kh0=PnD(),wnD=Ld(),unD=["\x1B","\x9B"],y5D=(Q)=>`${unD[0]}[${Q}m`,SnD=(Q,K,G)=>{let C=[];Q=[...Q];for(let y of Q){const x=y;if(y.includes(";"))y=y.split(";")[0][0]+"0";const _=wnD.codes.get(Number.parseInt(y,10));if(_){const VD=Q.indexOf(_.toString());if(VD===-1)C.push(y5D(K?_:x));else Q.splice(VD,1)}else if(K){C.push(y5D(0));break}else C.push(y5D(x))}if(K){if(C=C.filter((y,x)=>C.indexOf(y)===x),G!==void 0){const y=y5D(wnD.codes.get(Number.parseInt(G,10)));C=C.reduce((x,_)=>_===y?[_,...x]:[...x,_],[])}}return C.join("")};fnD.exports=(Q,K,G)=>{const C=[...Q],y=[];let x=typeof G==="number"?G:C.length,_=!1,VD,OD=0,HD="";for(let[a,bD]of C.entries()){let ED=!1;if(unD.includes(bD)){const XD=/\d[^m]*/.exec(Q.slice(a,a+18));if(VD=XD&&XD.length>0?XD[0]:void 0,OD<x){if(_=!0,VD!==void 0)y.push(VD)}}else if(_&&bD==="m")_=!1,ED=!0;if(!_&&!ED)OD++;if(!Kh0({exact:!0}).test(bD)&&zh0(bD.codePointAt())){if(OD++,typeof G!=="number")x++}if(OD>K&&OD<=x)HD+=bD;else if(OD===K&&!_&&VD!==void 0)HD=SnD(y);else if(OD>=x){HD+=SnD(y,!0,VD);break}}return HD}});var w5D=r0((xnD)=>{var Zf=function(Q){return(K={})=>({parse:async(G,C,y)=>G,...Q,...K,input:[],multiple:Boolean(K.multiple===void 0?Q?.multiple??!1:K.multiple),type:"option"})},LGD=function(Q={}){return{parse:async(K,G)=>K,...Q,allowNo:Boolean(Q.allowNo),type:"boolean"}},Hh0=function(Q){return(K={})=>({parse:async(G,C,y)=>G,...Q,...K,input:[],multiple:Boolean(K.multiple===void 0?Q.multiple:K.multiple),type:"option"})};Object.defineProperty(xnD,"__esModule",{value:!0});xnD.option=xnD.help=xnD.version=xnD.string=xnD.url=xnD.file=xnD.directory=xnD.integer=xnD.boolean=xnD.custom=void 0;var qh0=i8("node:url"),P5D=eq(),Wh0=kd(),bnD=Ej();xnD.custom=Zf;xnD.boolean=LGD;xnD.integer=Zf({async parse(Q,K,G){if(!/^-?\d+$/.test(Q))throw new P5D.CLIError(`Expected an integer but received: ${Q}`);const C=Number.parseInt(Q,10);if(G.min!==void 0&&C<G.min)throw new P5D.CLIError(`Expected an integer greater than or equal to ${G.min} but received: ${Q}`);if(G.max!==void 0&&C>G.max)throw new P5D.CLIError(`Expected an integer less than or equal to ${G.max} but received: ${Q}`);return C}});xnD.directory=Zf({async parse(Q,K,G){if(G.exists)return bnD.dirExists(Q);return Q}});xnD.file=Zf({async parse(Q,K,G){if(G.exists)return bnD.fileExists(Q);return Q}});xnD.url=Zf({async parse(Q){try{return new qh0.URL(Q)}catch{throw new P5D.CLIError(`Expected a valid url but received: ${Q}`)}}});xnD.string=Zf();var Uh0=(Q={})=>LGD({description:"Show CLI version.",...Q,async parse(K,G){G.log(G.config.userAgent),G.exit(0)}});xnD.version=Uh0;var Gh0=(Q={})=>LGD({description:"Show CLI help.",...Q,async parse(K,G){await new(await Wh0.loadHelpClass(G.config))(G.config,G.config.pjson.oclif.helpOptions??G.config.pjson.helpOptions).showHelp(G.id?[G.id,...G.argv]:G.argv),G.exit(0)}});xnD.help=Gh0;xnD.option=Hh0});var gnD=r0((RK)=>{var CGD=function(Q,K,G={}){new _nD(Q,K,G).display()},Rh0=RK&&RK.__createBinding||(Object.create?function(Q,K,G,C){if(C===void 0)C=G;var y=Object.getOwnPropertyDescriptor(K,G);if(!y||("get"in y?!K.__esModule:y.writable||y.configurable))y={enumerable:!0,get:function(){return K[G]}};Object.defineProperty(Q,C,y)}:function(Q,K,G,C){if(C===void 0)C=G;Q[C]=K[G]}),Ih0=RK&&RK.__setModuleDefault||(Object.create?function(Q,K){Object.defineProperty(Q,"default",{enumerable:!0,value:K})}:function(Q,K){Q.default=K}),yh0=RK&&RK.__importStar||function(Q){if(Q&&Q.__esModule)return Q;var K={};if(Q!=null){for(var G in Q)if(G!=="default"&&Object.prototype.hasOwnProperty.call(Q,G))Rh0(K,Q,G)}return Ih0(K,Q),K},S5D=RK&&RK.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(RK,"__esModule",{value:!0});RK.table=void 0;var hnD=S5D(CK()),Ph0=OnD(),wh0=InD(),Sh0=i8("node:util"),uh0=S5D(vnD()),bR=S5D(vu()),rC=yh0(w5D()),fh0=AR(),AGD=cB(),vh0=S5D(gC());class _nD{data;columns;options;constructor(Q,K,G={}){this.data=Q,this.columns=Object.keys(K).map((bD)=>{const ED=K[bD],XD=ED.extended??!1,UD=ED.get??((Z0)=>Z0[bD]??""),TD=typeof ED.header==="string"?ED.header:AGD.capitalize(bD.replaceAll("_"," ")),nD=Math.max(ED.minWidth??0,bR.default(TD)+1);return{extended:XD,get:UD,header:TD,key:bD,minWidth:nD}});const{columns:C,csv:y,extended:x,filter:_,output:VD,printLine:OD,sort:HD,title:a}=G;this.options={columns:C,extended:x,filter:_,"no-header":G["no-header"]??!1,"no-truncate":G["no-truncate"]??!1,output:y?"csv":VD,printLine:OD??((bD)=>vh0.default.stdout(bD+"\n")),rowStart:" ",sort:HD,title:a}}display(){let Q=this.data.map((K)=>{const G={};for(let C of this.columns){let y=C.get(K);if(typeof y!=="string")y=Sh0.inspect(y,{breakLength:Number.POSITIVE_INFINITY});G[C.key]=y}return G});if(this.options.filter){let[K,G]=this.options.filter.split("=");const C=K[0]==="-";if(C)K=K.slice(1);const y=this.findColumnFromHeader(K);if(!y||!G)throw new Error("Filter flag has an invalid value");Q=Q.filter((x)=>{const _=new RegExp(G),OD=x[y.key].match(_);return C?!OD:OD})}if(this.options.sort){const K=this.options.sort.split(","),G=K.map((x)=>x[0]==="-"?x.slice(1):x),C=this.filterColumnsFromHeaders(G).map((x)=>(_)=>_[x.key]),y=K.map((x)=>x[0]==="-"?"desc":"asc");Q=wh0.orderBy(Q,C,y)}if(this.options.columns){const K=this.options.columns.split(",");this.columns=this.filterColumnsFromHeaders(K)}else if(!this.options.extended)this.columns=this.columns.filter((K)=>!K.extended);switch(this.data=Q,this.options.output){case"csv":{this.outputCSV();break}case"json":{this.outputJSON();break}case"yaml":{this.outputYAML();break}default:this.outputTable()}}filterColumnsFromHeaders(Q){Q=[...new Set(Q)];const K=[];for(let G of Q){const C=this.columns.find((y)=>y.header.toLowerCase()===G.toLowerCase());if(C)K.push(C)}return K}findColumnFromHeader(Q){return this.columns.find((K)=>K.header.toLowerCase()===Q.toLowerCase())}getCSVRow(Q){const K=this.columns.map((C)=>Q[C.key]||""),G=K.find((C)=>C.includes('"')||C.includes("\n")||C.includes("\r\n")||C.includes("\r")||C.includes(","));return K.map((C)=>G?`"${C.replaceAll('"','""')}"`:C)}outputCSV(){const{columns:Q,data:K,options:G}=this;if(!G["no-header"])G.printLine(Q.map((C)=>C.header).join(","));for(let C of K){const y=this.getCSVRow(C);G.printLine(y.join(","))}}outputJSON(){this.options.printLine(JSON.stringify(this.resolveColumnsToObjectArray(),void 0,2))}outputTable(){const{data:Q,options:K}=this,G=this.columns.map((x)=>{const _=Math.max(bR.default(".".padEnd(x.minWidth-1)),bR.default(x.header),bh0(Q,x.key))+1;return{...x,maxWidth:_,width:_}}),C=fh0.stdtermwidth-2;if((()=>{if(K["no-truncate"]||!process.stdout.isTTY&&!process.env.CLI_UX_SKIP_TTY_CHECK)return;if(AGD.sumBy(G,(a)=>a.width)-C<=0)return;for(let a of G)a.width=a.minWidth;const VD=AGD.sumBy(G,(a)=>a.minWidth);if(VD>=C)return;let OD=C-VD;const HD=G.map((a)=>({key:a.key,needs:a.maxWidth-a.width})).sort((a,bD)=>a.needs-bD.needs);for(let{key:a,needs:bD}of HD){if(!bD)continue;const ED=G.find((XD)=>a===XD.key);if(!ED)continue;if(OD>bD)ED.width=ED.width+bD,OD-=bD;else if(OD)ED.width=ED.width+OD,OD=0}})(),K.title)K.printLine(K.title),K.printLine("".padEnd(G.reduce((x,_)=>x+_.width,1),"=")),K.rowStart="| ";if(!K["no-header"]){let x=K.rowStart;for(let VD of G){const OD=VD.header;x+=OD.padEnd(VD.width)}K.printLine(hnD.default.bold(x));let _=K.rowStart;for(let VD of G){const OD="".padEnd(VD.width-1,"\u2500")+" ";_+=OD.padEnd(VD.width)}K.printLine(hnD.default.bold(_))}for(let x of Q){let _=1;for(let OD of G){const a=x[OD.key].split("\n").length;if(a>_)_=a}const VD=[...new Array(_).keys()];for(let OD of VD){let HD=K.rowStart;for(let a of G){const bD=a.width;let ED=x[a.key];ED=ED.split("\n")[OD]||"";const XD=bR.default(ED),UD=ED.length-XD;let TD=ED.padEnd(bD+UD);if(TD.length-UD>bD||XD===bD)TD=uh0.default(TD,0,bD-2)+"\u2026 ",TD+=" ".repeat(bD-bR.default(TD));HD+=TD}K.printLine(HD)}}}outputYAML(){this.options.printLine(Ph0.safeDump(this.resolveColumnsToObjectArray()))}resolveColumnsToObjectArray(){const{columns:Q,data:K}=this;return K.map((G)=>Object.fromEntries(Q.map((C)=>[C.key,G[C.key]??""])))}}RK.table=CGD;(function(Q){Q.Flags={columns:rC.string({description:"only show provided columns (comma-separated)",exclusive:["extended"]}),csv:rC.boolean({description:"output is csv format [alias: --output=csv]",exclusive:["no-truncate"]}),extended:rC.boolean({char:"x",description:"show extra columns",exclusive:["columns"]}),filter:rC.string({description:"filter property by partial string matching, ex: name=foo"}),"no-header":rC.boolean({description:"hide table header from output",exclusive:["csv"]}),"no-truncate":rC.boolean({description:"do not truncate output to fit screen",exclusive:["csv"]}),output:rC.string({description:"output in a more machine friendly format",exclusive:["no-truncate","csv"],options:["csv","json","yaml"]}),sort:rC.string({description:"property to sort by (prepend '-' for descending)"})};function K(G){if(G){const C={},y=(G.only&&typeof G.only==="string"?[G.only]:G.only)||Object.keys(Q.Flags),x=(G.except&&typeof G.except==="string"?[G.except]:G.except)||[];for(let _ of y)if(!x.includes(_))C[_]=Q.Flags[_];return C}return Q.Flags}Q.flags=K})(CGD||(RK.table=CGD={}));var bh0=(Q,K)=>Q.reduce((G,C)=>{const y=C[K],x=y.split("\n");return Math.max(G,x.length>1?Math.max(...x.map((_)=>bR.default(_))):bR.default(y))},0)});var dnD=r0((Je0,mnD)=>{var xR=console.assert,xh0=(Q)=>{const K={joined:!0,spacerNoNeighbour:" ",spacerNeighbour:"\u2502 ",keyNoNeighbour:"\u2514\u2500 ",keyNeighbour:"\u251C\u2500 ",sortFn:null,...Q};return xR(Object.keys(K).length===6,"Unexpected Option(s) provided"),xR(typeof K.joined==="boolean",'Option "joined" has invalid format'),xR(typeof K.spacerNoNeighbour==="string",'Option "spacerNoNeighbour" has invalid format'),xR(typeof K.spacerNeighbour==="string",'Option "spacerNeighbour" has invalid format'),xR(typeof K.keyNoNeighbour==="string",'Option "keyNoNeighbour" has invalid format'),xR(typeof K.keyNeighbour==="string",'Option "keyNeighbour" has invalid format'),xR(typeof K.sortFn==="function"||K.sortFn===null,'Option "sortFn" has invalid format'),K};mnD.exports=(Q,K={})=>{const G=xh0(K),C=[],y=(OD)=>G.sortFn===null?OD.reverse():OD.sort((HD,a)=>G.sortFn(a,HD)),x=[],_=y(Object.keys(Q)).map((OD)=>[OD]),VD=[Q];while(_.length!==0){const OD=_.pop(),HD=VD[OD.length-1][OD[OD.length-1]];if(x[OD.length-1]=_.length!==0&&_[_.length-1].length===OD.length,C.push([x.slice(0,OD.length-1).map((a)=>a?G.spacerNeighbour:G.spacerNoNeighbour).join(""),x[OD.length-1]?G.keyNeighbour:G.keyNoNeighbour,OD[OD.length-1],["boolean","string","number"].includes(typeof HD)?`: ${HD}`:""].join("")),HD instanceof Object&&!Array.isArray(HD))_.push(...y(Object.keys(HD)).map((a)=>OD.concat(a))),VD[OD.length]=HD}return G.joined===!0?C.join("\n"):C}});var inD=r0((cnD)=>{var hh0=function(){return new u5D};Object.defineProperty(cnD,"__esModule",{value:!0});cnD.Tree=void 0;var kh0=dnD();class u5D{nodes={};display(Q=console.log){const K=function(C){const y={};for(let x of Object.keys(C))y[x]=K(C[x].nodes);return y},G=K(this.nodes);Q(kh0(G))}insert(Q,K=new u5D){return this.nodes[Q]=K,this}search(Q){for(let K of Object.keys(this.nodes)){if(K===Q)return this.nodes[K];const G=this.nodes[K].search(Q);if(G)return G}}}cnD.Tree=u5D;cnD.default=hh0});var NGD=r0((vX)=>{var gh0=vX&&vX.__createBinding||(Object.create?function(Q,K,G,C){if(C===void 0)C=G;var y=Object.getOwnPropertyDescriptor(K,G);if(!y||("get"in y?!K.__esModule:y.writable||y.configurable))y={enumerable:!0,get:function(){return K[G]}};Object.defineProperty(Q,C,y)}:function(Q,K,G,C){if(C===void 0)C=G;Q[C]=K[G]}),mh0=vX&&vX.__setModuleDefault||(Object.create?function(Q,K){Object.defineProperty(Q,"default",{enumerable:!0,value:K})}:function(Q,K){Q.default=K}),dh0=vX&&vX.__importStar||function(Q){if(Q&&Q.__esModule)return Q;var K={};if(Q!=null){for(var G in Q)if(G!=="default"&&Object.prototype.hasOwnProperty.call(Q,G))gh0(K,Q,G)}return mh0(K,Q),K},EGD=vX&&vX.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(vX,"__esModule",{value:!0});vX.tree=vX.Table=vX.progress=vX.styledObject=void 0;var ch0=alD();Object.defineProperty(vX,"styledObject",{enumerable:!0,get:function(){return EGD(ch0).default}});var lh0=yiD();Object.defineProperty(vX,"progress",{enumerable:!0,get:function(){return EGD(lh0).default}});vX.Table=dh0(gnD());var ih0=inD();Object.defineProperty(vX,"tree",{enumerable:!0,get:function(){return EGD(ih0).default}})});var nnD=r0((pnD)=>{Object.defineProperty(pnD,"__esModule",{value:!0});pnD.default=(Q=1000)=>new Promise((K)=>{setTimeout(K,Q)})});var onD=r0((Qe0,rnD)=>{rnD.exports=(Q,K,G)=>{return G=G||{},["\x1B]","8",";",Object.keys(G).map((C)=>C+"="+G[C]).join(":"),";",K,"\x07",Q,"\x1B]","8",";",";","\x07"].join("")}});var tnD=r0((Ve0,anD)=>{var TGD=function(Q){if(Q===0)return!1;return{level:Q,hasBasic:!0,has256:Q>=2,has16m:Q>=3}},RGD=function(Q,K){if(oC===0)return 0;if(FW("color=16m")||FW("color=full")||FW("color=truecolor"))return 3;if(FW("color=256"))return 2;if(Q&&!K&&oC===void 0)return 0;const G=oC||0;if(bX.TERM==="dumb")return G;if(process.platform==="win32"){const C=nh0.release().split(".");if(Number(C[0])>=10&&Number(C[2])>=10586)return Number(C[2])>=14931?3:2;return 1}if("CI"in bX){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((C)=>(C in bX))||bX.CI_NAME==="codeship")return 1;return G}if("TEAMCITY_VERSION"in bX)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(bX.TEAMCITY_VERSION)?1:0;if(bX.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in bX){const C=parseInt((bX.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(bX.TERM_PROGRAM){case"iTerm.app":return C>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(bX.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(bX.TERM))return 1;if("COLORTERM"in bX)return 1;return G},rh0=function(Q){const K=RGD(Q,Q&&Q.isTTY);return TGD(K)},nh0=i8("os"),snD=i8("tty"),FW=Ad(),{env:bX}=process,oC;if(FW("no-color")||FW("no-colors")||FW("color=false")||FW("color=never"))oC=0;else if(FW("color")||FW("colors")||FW("color=true")||FW("color=always"))oC=1;if("FORCE_COLOR"in bX)if(bX.FORCE_COLOR==="true")oC=1;else if(bX.FORCE_COLOR==="false")oC=0;else oC=bX.FORCE_COLOR.length===0?1:Math.min(parseInt(bX.FORCE_COLOR,10),3);anD.exports={supportsColor:rh0,stdout:TGD(RGD(!0,snD.isatty(1))),stderr:TGD(RGD(!0,snD.isatty(2)))}});var yGD=r0((ze0,DrD)=>{var enD=function(Q){if(/^\d{3,4}$/.test(Q)){const G=/(\d{1,2})(\d{2})/.exec(Q);return{major:0,minor:parseInt(G[1],10),patch:parseInt(G[2],10)}}const K=(Q||"").split(".").map((G)=>parseInt(G,10));return{major:K[0],minor:K[1],patch:K[2]}},IGD=function(Q){const{env:K}=process;if("FORCE_HYPERLINK"in K)return!(K.FORCE_HYPERLINK.length>0&&parseInt(K.FORCE_HYPERLINK,10)===0);if(Jf("no-hyperlink")||Jf("no-hyperlinks")||Jf("hyperlink=false")||Jf("hyperlink=never"))return!1;if(Jf("hyperlink=true")||Jf("hyperlink=always"))return!0;if("NETLIFY"in K)return!0;if(!oh0.supportsColor(Q))return!1;if(Q&&!Q.isTTY)return!1;if(process.platform==="win32")return!1;if("CI"in K)return!1;if("TEAMCITY_VERSION"in K)return!1;if("TERM_PROGRAM"in K){const G=enD(K.TERM_PROGRAM_VERSION);switch(K.TERM_PROGRAM){case"iTerm.app":if(G.major===3)return G.minor>=1;return G.major>3;case"WezTerm":return G.major>=20200620;case"vscode":return G.major>1||G.major===1&&G.minor>=72}}if("VTE_VERSION"in K){if(K.VTE_VERSION==="0.50.0")return!1;const G=enD(K.VTE_VERSION);return G.major>0||G.minor>=50}return!1},oh0=tnD(),Jf=Ad();DrD.exports={supportsHyperlink:IGD,stdout:IGD(process.stdout),stderr:IGD(process.stderr)}});var FrD=r0((nd,PGD)=>{(function Q(K,G){if(typeof nd==="object"&&typeof PGD==="object")PGD.exports=G();else if(typeof define==="function"&&define.amd)define([],G);else if(typeof nd==="object")nd.esprima=G();else K.esprima=G()})(nd,function(){return function(Q){var K={};function G(C){if(K[C])return K[C].exports;var y=K[C]={exports:{},id:C,loaded:!1};return Q[C].call(y.exports,y,y.exports,G),y.loaded=!0,y.exports}return G.m=Q,G.c=K,G.p="",G(0)}([function(Q,K,G){Object.defineProperty(K,"__esModule",{value:!0});var C=G(1),y=G(3),x=G(8),_=G(15);function VD(ED,XD,UD){var TD=null,nD=function(U6,VF){if(UD)UD(U6,VF);if(TD)TD.visit(U6,VF)},Z0=typeof UD==="function"?nD:null,M0=!1;if(XD){M0=typeof XD.comment==="boolean"&&XD.comment;var a1=typeof XD.attachComment==="boolean"&&XD.attachComment;if(M0||a1)TD=new C.CommentHandler,TD.attach=a1,XD.comment=!0,Z0=nD}var D8=!1;if(XD&&typeof XD.sourceType==="string")D8=XD.sourceType==="module";var C8;if(XD&&typeof XD.jsx==="boolean"&&XD.jsx)C8=new y.JSXParser(ED,XD,Z0);else C8=new x.Parser(ED,XD,Z0);var V6=D8?C8.parseModule():C8.parseScript(),$8=V6;if(M0&&TD)$8.comments=TD.comments;if(C8.config.tokens)$8.tokens=C8.tokens;if(C8.config.tolerant)$8.errors=C8.errorHandler.errors;return $8}K.parse=VD;function OD(ED,XD,UD){var TD=XD||{};return TD.sourceType="module",VD(ED,TD,UD)}K.parseModule=OD;function HD(ED,XD,UD){var TD=XD||{};return TD.sourceType="script",VD(ED,TD,UD)}K.parseScript=HD;function a(ED,XD,UD){var TD=new _.Tokenizer(ED,XD),nD;nD=[];try{while(!0){var Z0=TD.getNextToken();if(!Z0)break;if(UD)Z0=UD(Z0);nD.push(Z0)}}catch(M0){TD.errorHandler.tolerate(M0)}if(TD.errorHandler.tolerant)nD.errors=TD.errors();return nD}K.tokenize=a;var bD=G(2);K.Syntax=bD.Syntax,K.version="4.0.1"},function(Q,K,G){Object.defineProperty(K,"__esModule",{value:!0});var C=G(2),y=function(){function x(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return x.prototype.insertInnerComments=function(_,VD){if(_.type===C.Syntax.BlockStatement&&_.body.length===0){var OD=[];for(var HD=this.leading.length-1;HD>=0;--HD){var a=this.leading[HD];if(VD.end.offset>=a.start)OD.unshift(a.comment),this.leading.splice(HD,1),this.trailing.splice(HD,1)}if(OD.length)_.innerComments=OD}},x.prototype.findTrailingComments=function(_){var VD=[];if(this.trailing.length>0){for(var OD=this.trailing.length-1;OD>=0;--OD){var HD=this.trailing[OD];if(HD.start>=_.end.offset)VD.unshift(HD.comment)}return this.trailing.length=0,VD}var a=this.stack[this.stack.length-1];if(a&&a.node.trailingComments){var bD=a.node.trailingComments[0];if(bD&&bD.range[0]>=_.end.offset)VD=a.node.trailingComments,delete a.node.trailingComments}return VD},x.prototype.findLeadingComments=function(_){var VD=[],OD;while(this.stack.length>0){var HD=this.stack[this.stack.length-1];if(HD&&HD.start>=_.start.offset)OD=HD.node,this.stack.pop();else break}if(OD){var a=OD.leadingComments?OD.leadingComments.length:0;for(var bD=a-1;bD>=0;--bD){var ED=OD.leadingComments[bD];if(ED.range[1]<=_.start.offset)VD.unshift(ED),OD.leadingComments.splice(bD,1)}if(OD.leadingComments&&OD.leadingComments.length===0)delete OD.leadingComments;return VD}for(var bD=this.leading.length-1;bD>=0;--bD){var HD=this.leading[bD];if(HD.start<=_.start.offset)VD.unshift(HD.comment),this.leading.splice(bD,1)}return VD},x.prototype.visitNode=function(_,VD){if(_.type===C.Syntax.Program&&_.body.length>0)return;this.insertInnerComments(_,VD);var OD=this.findTrailingComments(VD),HD=this.findLeadingComments(VD);if(HD.length>0)_.leadingComments=HD;if(OD.length>0)_.trailingComments=OD;this.stack.push({node:_,start:VD.start.offset})},x.prototype.visitComment=function(_,VD){var OD=_.type[0]==="L"?"Line":"Block",HD={type:OD,value:_.value};if(_.range)HD.range=_.range;if(_.loc)HD.loc=_.loc;if(this.comments.push(HD),this.attach){var a={comment:{type:OD,value:_.value,range:[VD.start.offset,VD.end.offset]},start:VD.start.offset};if(_.loc)a.comment.loc=_.loc;_.type=OD,this.leading.push(a),this.trailing.push(a)}},x.prototype.visit=function(_,VD){if(_.type==="LineComment")this.visitComment(_,VD);else if(_.type==="BlockComment")this.visitComment(_,VD);else if(this.attach)this.visitNode(_,VD)},x}();K.CommentHandler=y},function(Q,K){Object.defineProperty(K,"__esModule",{value:!0}),K.Syntax={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"}},function(Q,K,G){var C=this&&this.__extends||function(){var XD=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(UD,TD){UD.__proto__=TD}||function(UD,TD){for(var nD in TD)if(TD.hasOwnProperty(nD))UD[nD]=TD[nD]};return function(UD,TD){XD(UD,TD);function nD(){this.constructor=UD}UD.prototype=TD===null?Object.create(TD):(nD.prototype=TD.prototype,new nD)}}();Object.defineProperty(K,"__esModule",{value:!0});var y=G(4),x=G(5),_=G(6),VD=G(7),OD=G(8),HD=G(13),a=G(14);HD.TokenName[100]="JSXIdentifier",HD.TokenName[101]="JSXText";function bD(XD){var UD;switch(XD.type){case _.JSXSyntax.JSXIdentifier:var TD=XD;UD=TD.name;break;case _.JSXSyntax.JSXNamespacedName:var nD=XD;UD=bD(nD.namespace)+":"+bD(nD.name);break;case _.JSXSyntax.JSXMemberExpression:var Z0=XD;UD=bD(Z0.object)+"."+bD(Z0.property);break;default:break}return UD}var ED=function(XD){C(UD,XD);function UD(TD,nD,Z0){return XD.call(this,TD,nD,Z0)||this}return UD.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():XD.prototype.parsePrimaryExpression.call(this)},UD.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},UD.prototype.finishJSX=function(){this.nextToken()},UD.prototype.reenterJSX=function(){if(this.startJSX(),this.expectJSX("}"),this.config.tokens)this.tokens.pop()},UD.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},UD.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},UD.prototype.scanXHTMLEntity=function(TD){var nD="&",Z0=!0,M0=!1,a1=!1,D8=!1;while(!this.scanner.eof()&&Z0&&!M0){var C8=this.scanner.source[this.scanner.index];if(C8===TD)break;if(M0=C8===";",nD+=C8,++this.scanner.index,!M0)switch(nD.length){case 2:a1=C8==="#";break;case 3:if(a1)D8=C8==="x",Z0=D8||y.Character.isDecimalDigit(C8.charCodeAt(0)),a1=a1&&!D8;break;default:Z0=Z0&&!(a1&&!y.Character.isDecimalDigit(C8.charCodeAt(0))),Z0=Z0&&!(D8&&!y.Character.isHexDigit(C8.charCodeAt(0)));break}}if(Z0&&M0&&nD.length>2){var V6=nD.substr(1,nD.length-2);if(a1&&V6.length>1)nD=String.fromCharCode(parseInt(V6.substr(1),10));else if(D8&&V6.length>2)nD=String.fromCharCode(parseInt("0"+V6.substr(1),16));else if(!a1&&!D8&&a.XHTMLEntities[V6])nD=a.XHTMLEntities[V6]}return nD},UD.prototype.lexJSX=function(){var TD=this.scanner.source.charCodeAt(this.scanner.index);if(TD===60||TD===62||TD===47||TD===58||TD===61||TD===123||TD===125){var nD=this.scanner.source[this.scanner.index++];return{type:7,value:nD,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index}}if(TD===34||TD===39){var Z0=this.scanner.index,M0=this.scanner.source[this.scanner.index++],a1="";while(!this.scanner.eof()){var D8=this.scanner.source[this.scanner.index++];if(D8===M0)break;else if(D8==="&")a1+=this.scanXHTMLEntity(M0);else a1+=D8}return{type:8,value:a1,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:Z0,end:this.scanner.index}}if(TD===46){var C8=this.scanner.source.charCodeAt(this.scanner.index+1),V6=this.scanner.source.charCodeAt(this.scanner.index+2),nD=C8===46&&V6===46?"...":".",Z0=this.scanner.index;return this.scanner.index+=nD.length,{type:7,value:nD,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:Z0,end:this.scanner.index}}if(TD===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(y.Character.isIdentifierStart(TD)&&TD!==92){var Z0=this.scanner.index;++this.scanner.index;while(!this.scanner.eof()){var D8=this.scanner.source.charCodeAt(this.scanner.index);if(y.Character.isIdentifierPart(D8)&&D8!==92)++this.scanner.index;else if(D8===45)++this.scanner.index;else break}var $8=this.scanner.source.slice(Z0,this.scanner.index);return{type:100,value:$8,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:Z0,end:this.scanner.index}}return this.scanner.lex()},UD.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var TD=this.lexJSX();if(this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens)this.tokens.push(this.convertToken(TD));return TD},UD.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var TD=this.scanner.index,nD="";while(!this.scanner.eof()){var Z0=this.scanner.source[this.scanner.index];if(Z0==="{"||Z0==="<")break;if(++this.scanner.index,nD+=Z0,y.Character.isLineTerminator(Z0.charCodeAt(0))){if(++this.scanner.lineNumber,Z0==="\r"&&this.scanner.source[this.scanner.index]==="\n")++this.scanner.index;this.scanner.lineStart=this.scanner.index}}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var M0={type:101,value:nD,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:TD,end:this.scanner.index};if(nD.length>0&&this.config.tokens)this.tokens.push(this.convertToken(M0));return M0},UD.prototype.peekJSXToken=function(){var TD=this.scanner.saveState();this.scanner.scanComments();var nD=this.lexJSX();return this.scanner.restoreState(TD),nD},UD.prototype.expectJSX=function(TD){var nD=this.nextJSXToken();if(nD.type!==7||nD.value!==TD)this.throwUnexpectedToken(nD)},UD.prototype.matchJSX=function(TD){var nD=this.peekJSXToken();return nD.type===7&&nD.value===TD},UD.prototype.parseJSXIdentifier=function(){var TD=this.createJSXNode(),nD=this.nextJSXToken();if(nD.type!==100)this.throwUnexpectedToken(nD);return this.finalize(TD,new x.JSXIdentifier(nD.value))},UD.prototype.parseJSXElementName=function(){var TD=this.createJSXNode(),nD=this.parseJSXIdentifier();if(this.matchJSX(":")){var Z0=nD;this.expectJSX(":");var M0=this.parseJSXIdentifier();nD=this.finalize(TD,new x.JSXNamespacedName(Z0,M0))}else if(this.matchJSX("."))while(this.matchJSX(".")){var a1=nD;this.expectJSX(".");var D8=this.parseJSXIdentifier();nD=this.finalize(TD,new x.JSXMemberExpression(a1,D8))}return nD},UD.prototype.parseJSXAttributeName=function(){var TD=this.createJSXNode(),nD,Z0=this.parseJSXIdentifier();if(this.matchJSX(":")){var M0=Z0;this.expectJSX(":");var a1=this.parseJSXIdentifier();nD=this.finalize(TD,new x.JSXNamespacedName(M0,a1))}else nD=Z0;return nD},UD.prototype.parseJSXStringLiteralAttribute=function(){var TD=this.createJSXNode(),nD=this.nextJSXToken();if(nD.type!==8)this.throwUnexpectedToken(nD);var Z0=this.getTokenRaw(nD);return this.finalize(TD,new VD.Literal(nD.value,Z0))},UD.prototype.parseJSXExpressionAttribute=function(){var TD=this.createJSXNode();if(this.expectJSX("{"),this.finishJSX(),this.match("}"))this.tolerateError("JSX attributes must only be assigned a non-empty expression");var nD=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(TD,new x.JSXExpressionContainer(nD))},UD.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},UD.prototype.parseJSXNameValueAttribute=function(){var TD=this.createJSXNode(),nD=this.parseJSXAttributeName(),Z0=null;if(this.matchJSX("="))this.expectJSX("="),Z0=this.parseJSXAttributeValue();return this.finalize(TD,new x.JSXAttribute(nD,Z0))},UD.prototype.parseJSXSpreadAttribute=function(){var TD=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var nD=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(TD,new x.JSXSpreadAttribute(nD))},UD.prototype.parseJSXAttributes=function(){var TD=[];while(!this.matchJSX("/")&&!this.matchJSX(">")){var nD=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();TD.push(nD)}return TD},UD.prototype.parseJSXOpeningElement=function(){var TD=this.createJSXNode();this.expectJSX("<");var nD=this.parseJSXElementName(),Z0=this.parseJSXAttributes(),M0=this.matchJSX("/");if(M0)this.expectJSX("/");return this.expectJSX(">"),this.finalize(TD,new x.JSXOpeningElement(nD,M0,Z0))},UD.prototype.parseJSXBoundaryElement=function(){var TD=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var nD=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(TD,new x.JSXClosingElement(nD))}var Z0=this.parseJSXElementName(),M0=this.parseJSXAttributes(),a1=this.matchJSX("/");if(a1)this.expectJSX("/");return this.expectJSX(">"),this.finalize(TD,new x.JSXOpeningElement(Z0,a1,M0))},UD.prototype.parseJSXEmptyExpression=function(){var TD=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(TD,new x.JSXEmptyExpression)},UD.prototype.parseJSXExpressionContainer=function(){var TD=this.createJSXNode();this.expectJSX("{");var nD;if(this.matchJSX("}"))nD=this.parseJSXEmptyExpression(),this.expectJSX("}");else this.finishJSX(),nD=this.parseAssignmentExpression(),this.reenterJSX();return this.finalize(TD,new x.JSXExpressionContainer(nD))},UD.prototype.parseJSXChildren=function(){var TD=[];while(!this.scanner.eof()){var nD=this.createJSXChildNode(),Z0=this.nextJSXText();if(Z0.start<Z0.end){var M0=this.getTokenRaw(Z0),a1=this.finalize(nD,new x.JSXText(Z0.value,M0));TD.push(a1)}if(this.scanner.source[this.scanner.index]==="{"){var D8=this.parseJSXExpressionContainer();TD.push(D8)}else break}return TD},UD.prototype.parseComplexJSXElement=function(TD){var nD=[];while(!this.scanner.eof()){TD.children=TD.children.concat(this.parseJSXChildren());var Z0=this.createJSXChildNode(),M0=this.parseJSXBoundaryElement();if(M0.type===_.JSXSyntax.JSXOpeningElement){var a1=M0;if(a1.selfClosing){var D8=this.finalize(Z0,new x.JSXElement(a1,[],null));TD.children.push(D8)}else nD.push(TD),TD={node:Z0,opening:a1,closing:null,children:[]}}if(M0.type===_.JSXSyntax.JSXClosingElement){TD.closing=M0;var C8=bD(TD.opening.name),V6=bD(TD.closing.name);if(C8!==V6)this.tolerateError("Expected corresponding JSX closing tag for %0",C8);if(nD.length>0){var D8=this.finalize(TD.node,new x.JSXElement(TD.opening,TD.children,TD.closing));TD=nD[nD.length-1],TD.children.push(D8),nD.pop()}else break}}return TD},UD.prototype.parseJSXElement=function(){var TD=this.createJSXNode(),nD=this.parseJSXOpeningElement(),Z0=[],M0=null;if(!nD.selfClosing){var a1=this.parseComplexJSXElement({node:TD,opening:nD,closing:M0,children:Z0});Z0=a1.children,M0=a1.closing}return this.finalize(TD,new x.JSXElement(nD,Z0,M0))},UD.prototype.parseJSXRoot=function(){if(this.config.tokens)this.tokens.pop();this.startJSX();var TD=this.parseJSXElement();return this.finishJSX(),TD},UD.prototype.isStartOfExpression=function(){return XD.prototype.isStartOfExpression.call(this)||this.match("<")},UD}(OD.Parser);K.JSXParser=ED},function(Q,K){Object.defineProperty(K,"__esModule",{value:!0});var G={NonAsciiIdentifierStart:/[\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\u08A0-\u08B4\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\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\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\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-\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\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\u2118-\u211D\u2124\u2126\u2128\u212A-\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\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\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\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\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[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\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]|\uD82C[\uDC00\uDC01]|\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]|\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]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\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\u08A0-\u08B4\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\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\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\u0C81-\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\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\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\u1369-\u1371\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-\u19DA\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\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\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\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\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\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\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\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\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\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[\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\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\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]|\uD82C[\uDC00\uDC01]|\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]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\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]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};K.Character={fromCodePoint:function(C){return C<65536?String.fromCharCode(C):String.fromCharCode(55296+(C-65536>>10))+String.fromCharCode(56320+(C-65536&1023))},isWhiteSpace:function(C){return C===32||C===9||C===11||C===12||C===160||C>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(C)>=0},isLineTerminator:function(C){return C===10||C===13||C===8232||C===8233},isIdentifierStart:function(C){return C===36||C===95||C>=65&&C<=90||C>=97&&C<=122||C===92||C>=128&&G.NonAsciiIdentifierStart.test(K.Character.fromCodePoint(C))},isIdentifierPart:function(C){return C===36||C===95||C>=65&&C<=90||C>=97&&C<=122||C>=48&&C<=57||C===92||C>=128&&G.NonAsciiIdentifierPart.test(K.Character.fromCodePoint(C))},isDecimalDigit:function(C){return C>=48&&C<=57},isHexDigit:function(C){return C>=48&&C<=57||C>=65&&C<=70||C>=97&&C<=102},isOctalDigit:function(C){return C>=48&&C<=55}}},function(Q,K,G){Object.defineProperty(K,"__esModule",{value:!0});var C=G(6),y=function(){function TD(nD){this.type=C.JSXSyntax.JSXClosingElement,this.name=nD}return TD}();K.JSXClosingElement=y;var x=function(){function TD(nD,Z0,M0){this.type=C.JSXSyntax.JSXElement,this.openingElement=nD,this.children=Z0,this.closingElement=M0}return TD}();K.JSXElement=x;var _=function(){function TD(){this.type=C.JSXSyntax.JSXEmptyExpression}return TD}();K.JSXEmptyExpression=_;var VD=function(){function TD(nD){this.type=C.JSXSyntax.JSXExpressionContainer,this.expression=nD}return TD}();K.JSXExpressionContainer=VD;var OD=function(){function TD(nD){this.type=C.JSXSyntax.JSXIdentifier,this.name=nD}return TD}();K.JSXIdentifier=OD;var HD=function(){function TD(nD,Z0){this.type=C.JSXSyntax.JSXMemberExpression,this.object=nD,this.property=Z0}return TD}();K.JSXMemberExpression=HD;var a=function(){function TD(nD,Z0){this.type=C.JSXSyntax.JSXAttribute,this.name=nD,this.value=Z0}return TD}();K.JSXAttribute=a;var bD=function(){function TD(nD,Z0){this.type=C.JSXSyntax.JSXNamespacedName,this.namespace=nD,this.name=Z0}return TD}();K.JSXNamespacedName=bD;var ED=function(){function TD(nD,Z0,M0){this.type=C.JSXSyntax.JSXOpeningElement,this.name=nD,this.selfClosing=Z0,this.attributes=M0}return TD}();K.JSXOpeningElement=ED;var XD=function(){function TD(nD){this.type=C.JSXSyntax.JSXSpreadAttribute,this.argument=nD}return TD}();K.JSXSpreadAttribute=XD;var UD=function(){function TD(nD,Z0){this.type=C.JSXSyntax.JSXText,this.value=nD,this.raw=Z0}return TD}();K.JSXText=UD},function(Q,K){Object.defineProperty(K,"__esModule",{value:!0}),K.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(Q,K,G){Object.defineProperty(K,"__esModule",{value:!0});var C=G(2),y=function(){function k8(f1){this.type=C.Syntax.ArrayExpression,this.elements=f1}return k8}();K.ArrayExpression=y;var x=function(){function k8(f1){this.type=C.Syntax.ArrayPattern,this.elements=f1}return k8}();K.ArrayPattern=x;var _=function(){function k8(f1,G6,S6){this.type=C.Syntax.ArrowFunctionExpression,this.id=null,this.params=f1,this.body=G6,this.generator=!1,this.expression=S6,this.async=!1}return k8}();K.ArrowFunctionExpression=_;var VD=function(){function k8(f1,G6,S6){this.type=C.Syntax.AssignmentExpression,this.operator=f1,this.left=G6,this.right=S6}return k8}();K.AssignmentExpression=VD;var OD=function(){function k8(f1,G6){this.type=C.Syntax.AssignmentPattern,this.left=f1,this.right=G6}return k8}();K.AssignmentPattern=OD;var HD=function(){function k8(f1,G6,S6){this.type=C.Syntax.ArrowFunctionExpression,this.id=null,this.params=f1,this.body=G6,this.generator=!1,this.expression=S6,this.async=!0}return k8}();K.AsyncArrowFunctionExpression=HD;var a=function(){function k8(f1,G6,S6){this.type=C.Syntax.FunctionDeclaration,this.id=f1,this.params=G6,this.body=S6,this.generator=!1,this.expression=!1,this.async=!0}return k8}();K.AsyncFunctionDeclaration=a;var bD=function(){function k8(f1,G6,S6){this.type=C.Syntax.FunctionExpression,this.id=f1,this.params=G6,this.body=S6,this.generator=!1,this.expression=!1,this.async=!0}return k8}();K.AsyncFunctionExpression=bD;var ED=function(){function k8(f1){this.type=C.Syntax.AwaitExpression,this.argument=f1}return k8}();K.AwaitExpression=ED;var XD=function(){function k8(f1,G6,S6){var BF=f1==="||"||f1==="&&";this.type=BF?C.Syntax.LogicalExpression:C.Syntax.BinaryExpression,this.operator=f1,this.left=G6,this.right=S6}return k8}();K.BinaryExpression=XD;var UD=function(){function k8(f1){this.type=C.Syntax.BlockStatement,this.body=f1}return k8}();K.BlockStatement=UD;var TD=function(){function k8(f1){this.type=C.Syntax.BreakStatement,this.label=f1}return k8}();K.BreakStatement=TD;var nD=function(){function k8(f1,G6){this.type=C.Syntax.CallExpression,this.callee=f1,this.arguments=G6}return k8}();K.CallExpression=nD;var Z0=function(){function k8(f1,G6){this.type=C.Syntax.CatchClause,this.param=f1,this.body=G6}return k8}();K.CatchClause=Z0;var M0=function(){function k8(f1){this.type=C.Syntax.ClassBody,this.body=f1}return k8}();K.ClassBody=M0;var a1=function(){function k8(f1,G6,S6){this.type=C.Syntax.ClassDeclaration,this.id=f1,this.superClass=G6,this.body=S6}return k8}();K.ClassDeclaration=a1;var D8=function(){function k8(f1,G6,S6){this.type=C.Syntax.ClassExpression,this.id=f1,this.superClass=G6,this.body=S6}return k8}();K.ClassExpression=D8;var C8=function(){function k8(f1,G6){this.type=C.Syntax.MemberExpression,this.computed=!0,this.object=f1,this.property=G6}return k8}();K.ComputedMemberExpression=C8;var V6=function(){function k8(f1,G6,S6){this.type=C.Syntax.ConditionalExpression,this.test=f1,this.consequent=G6,this.alternate=S6}return k8}();K.ConditionalExpression=V6;var $8=function(){function k8(f1){this.type=C.Syntax.ContinueStatement,this.label=f1}return k8}();K.ContinueStatement=$8;var U6=function(){function k8(){this.type=C.Syntax.DebuggerStatement}return k8}();K.DebuggerStatement=U6;var VF=function(){function k8(f1,G6){this.type=C.Syntax.ExpressionStatement,this.expression=f1,this.directive=G6}return k8}();K.Directive=VF;var $7=function(){function k8(f1,G6){this.type=C.Syntax.DoWhileStatement,this.body=f1,this.test=G6}return k8}();K.DoWhileStatement=$7;var a0=function(){function k8(){this.type=C.Syntax.EmptyStatement}return k8}();K.EmptyStatement=a0;var y9=function(){function k8(f1){this.type=C.Syntax.ExportAllDeclaration,this.source=f1}return k8}();K.ExportAllDeclaration=y9;var S7=function(){function k8(f1){this.type=C.Syntax.ExportDefaultDeclaration,this.declaration=f1}return k8}();K.ExportDefaultDeclaration=S7;var K1=function(){function k8(f1,G6,S6){this.type=C.Syntax.ExportNamedDeclaration,this.declaration=f1,this.specifiers=G6,this.source=S6}return k8}();K.ExportNamedDeclaration=K1;var $5=function(){function k8(f1,G6){this.type=C.Syntax.ExportSpecifier,this.exported=G6,this.local=f1}return k8}();K.ExportSpecifier=$5;var R8=function(){function k8(f1){this.type=C.Syntax.ExpressionStatement,this.expression=f1}return k8}();K.ExpressionStatement=R8;var _9=function(){function k8(f1,G6,S6){this.type=C.Syntax.ForInStatement,this.left=f1,this.right=G6,this.body=S6,this.each=!1}return k8}();K.ForInStatement=_9;var h5=function(){function k8(f1,G6,S6){this.type=C.Syntax.ForOfStatement,this.left=f1,this.right=G6,this.body=S6}return k8}();K.ForOfStatement=h5;var M2=function(){function k8(f1,G6,S6,BF){this.type=C.Syntax.ForStatement,this.init=f1,this.test=G6,this.update=S6,this.body=BF}return k8}();K.ForStatement=M2;var h2=function(){function k8(f1,G6,S6,BF){this.type=C.Syntax.FunctionDeclaration,this.id=f1,this.params=G6,this.body=S6,this.generator=BF,this.expression=!1,this.async=!1}return k8}();K.FunctionDeclaration=h2;var $2=function(){function k8(f1,G6,S6,BF){this.type=C.Syntax.FunctionExpression,this.id=f1,this.params=G6,this.body=S6,this.generator=BF,this.expression=!1,this.async=!1}return k8}();K.FunctionExpression=$2;var xX=function(){function k8(f1){this.type=C.Syntax.Identifier,this.name=f1}return k8}();K.Identifier=xX;var m5=function(){function k8(f1,G6,S6){this.type=C.Syntax.IfStatement,this.test=f1,this.consequent=G6,this.alternate=S6}return k8}();K.IfStatement=m5;var qZ=function(){function k8(f1,G6){this.type=C.Syntax.ImportDeclaration,this.specifiers=f1,this.source=G6}return k8}();K.ImportDeclaration=qZ;var r4=function(){function k8(f1){this.type=C.Syntax.ImportDefaultSpecifier,this.local=f1}return k8}();K.ImportDefaultSpecifier=r4;var Z7=function(){function k8(f1){this.type=C.Syntax.ImportNamespaceSpecifier,this.local=f1}return k8}();K.ImportNamespaceSpecifier=Z7;var y3=function(){function k8(f1,G6){this.type=C.Syntax.ImportSpecifier,this.local=f1,this.imported=G6}return k8}();K.ImportSpecifier=y3;var QJ=function(){function k8(f1,G6){this.type=C.Syntax.LabeledStatement,this.label=f1,this.body=G6}return k8}();K.LabeledStatement=QJ;var _6=function(){function k8(f1,G6){this.type=C.Syntax.Literal,this.value=f1,this.raw=G6}return k8}();K.Literal=_6;var e9=function(){function k8(f1,G6){this.type=C.Syntax.MetaProperty,this.meta=f1,this.property=G6}return k8}();K.MetaProperty=e9;var B0=function(){function k8(f1,G6,S6,BF,VJ){this.type=C.Syntax.MethodDefinition,this.key=f1,this.computed=G6,this.value=S6,this.kind=BF,this.static=VJ}return k8}();K.MethodDefinition=B0;var Q9=function(){function k8(f1){this.type=C.Syntax.Program,this.body=f1,this.sourceType="module"}return k8}();K.Module=Q9;var y5=function(){function k8(f1,G6){this.type=C.Syntax.NewExpression,this.callee=f1,this.arguments=G6}return k8}();K.NewExpression=y5;var vZ=function(){function k8(f1){this.type=C.Syntax.ObjectExpression,this.properties=f1}return k8}();K.ObjectExpression=vZ;var d3=function(){function k8(f1){this.type=C.Syntax.ObjectPattern,this.properties=f1}return k8}();K.ObjectPattern=d3;var oU=function(){function k8(f1,G6,S6,BF,VJ,oR){this.type=C.Syntax.Property,this.key=G6,this.computed=S6,this.value=BF,this.kind=f1,this.method=VJ,this.shorthand=oR}return k8}();K.Property=oU;var QW=function(){function k8(f1,G6,S6,BF){this.type=C.Syntax.Literal,this.value=f1,this.raw=G6,this.regex={pattern:S6,flags:BF}}return k8}();K.RegexLiteral=QW;var AY=function(){function k8(f1){this.type=C.Syntax.RestElement,this.argument=f1}return k8}();K.RestElement=AY;var pR=function(){function k8(f1){this.type=C.Syntax.ReturnStatement,this.argument=f1}return k8}();K.ReturnStatement=pR;var qM=function(){function k8(f1){this.type=C.Syntax.Program,this.body=f1,this.sourceType="script"}return k8}();K.Script=qM;var rB=function(){function k8(f1){this.type=C.Syntax.SequenceExpression,this.expressions=f1}return k8}();K.SequenceExpression=rB;var wK=function(){function k8(f1){this.type=C.Syntax.SpreadElement,this.argument=f1}return k8}();K.SpreadElement=wK;var sU=function(){function k8(f1,G6){this.type=C.Syntax.MemberExpression,this.computed=!1,this.object=f1,this.property=G6}return k8}();K.StaticMemberExpression=sU;var SK=function(){function k8(){this.type=C.Syntax.Super}return k8}();K.Super=SK;var r$=function(){function k8(f1,G6){this.type=C.Syntax.SwitchCase,this.test=f1,this.consequent=G6}return k8}();K.SwitchCase=r$;var VW=function(){function k8(f1,G6){this.type=C.Syntax.SwitchStatement,this.discriminant=f1,this.cases=G6}return k8}();K.SwitchStatement=VW;var vj=function(){function k8(f1,G6){this.type=C.Syntax.TaggedTemplateExpression,this.tag=f1,this.quasi=G6}return k8}();K.TaggedTemplateExpression=vj;var P1=function(){function k8(f1,G6){this.type=C.Syntax.TemplateElement,this.value=f1,this.tail=G6}return k8}();K.TemplateElement=P1;var r1=function(){function k8(f1,G6){this.type=C.Syntax.TemplateLiteral,this.quasis=f1,this.expressions=G6}return k8}();K.TemplateLiteral=r1;var zW=function(){function k8(){this.type=C.Syntax.ThisExpression}return k8}();K.ThisExpression=zW;var s8=function(){function k8(f1){this.type=C.Syntax.ThrowStatement,this.argument=f1}return k8}();K.ThrowStatement=s8;var o$=function(){function k8(f1,G6,S6){this.type=C.Syntax.TryStatement,this.block=f1,this.handler=G6,this.finalizer=S6}return k8}();K.TryStatement=o$;var kX=function(){function k8(f1,G6){this.type=C.Syntax.UnaryExpression,this.operator=f1,this.argument=G6,this.prefix=!0}return k8}();K.UnaryExpression=kX;var Wc=function(){function k8(f1,G6,S6){this.type=C.Syntax.UpdateExpression,this.operator=f1,this.argument=G6,this.prefix=S6}return k8}();K.UpdateExpression=Wc;var uK=function(){function k8(f1,G6){this.type=C.Syntax.VariableDeclaration,this.declarations=f1,this.kind=G6}return k8}();K.VariableDeclaration=uK;var nR=function(){function k8(f1,G6){this.type=C.Syntax.VariableDeclarator,this.id=f1,this.init=G6}return k8}();K.VariableDeclarator=nR;var CY=function(){function k8(f1,G6){this.type=C.Syntax.WhileStatement,this.test=f1,this.body=G6}return k8}();K.WhileStatement=CY;var rR=function(){function k8(f1,G6){this.type=C.Syntax.WithStatement,this.object=f1,this.body=G6}return k8}();K.WithStatement=rR;var m4=function(){function k8(f1,G6){this.type=C.Syntax.YieldExpression,this.argument=f1,this.delegate=G6}return k8}();K.YieldExpression=m4},function(Q,K,G){Object.defineProperty(K,"__esModule",{value:!0});var C=G(9),y=G(10),x=G(11),_=G(7),VD=G(12),OD=G(2),HD=G(13),a="ArrowParameterPlaceHolder",bD=function(){function ED(XD,UD,TD){if(UD===void 0)UD={};if(this.config={range:typeof UD.range==="boolean"&&UD.range,loc:typeof UD.loc==="boolean"&&UD.loc,source:null,tokens:typeof UD.tokens==="boolean"&&UD.tokens,comment:typeof UD.comment==="boolean"&&UD.comment,tolerant:typeof UD.tolerant==="boolean"&&UD.tolerant},this.config.loc&&UD.source&&UD.source!==null)this.config.source=String(UD.source);this.delegate=TD,this.errorHandler=new y.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new VD.Scanner(XD,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return ED.prototype.throwError=function(XD){var UD=[];for(var TD=1;TD<arguments.length;TD++)UD[TD-1]=arguments[TD];var nD=Array.prototype.slice.call(arguments,1),Z0=XD.replace(/%(\d)/g,function(C8,V6){return C.assert(V6<nD.length,"Message reference must be in range"),nD[V6]}),M0=this.lastMarker.index,a1=this.lastMarker.line,D8=this.lastMarker.column+1;throw this.errorHandler.createError(M0,a1,D8,Z0)},ED.prototype.tolerateError=function(XD){var UD=[];for(var TD=1;TD<arguments.length;TD++)UD[TD-1]=arguments[TD];var nD=Array.prototype.slice.call(arguments,1),Z0=XD.replace(/%(\d)/g,function(C8,V6){return C.assert(V6<nD.length,"Message reference must be in range"),nD[V6]}),M0=this.lastMarker.index,a1=this.scanner.lineNumber,D8=this.lastMarker.column+1;this.errorHandler.tolerateError(M0,a1,D8,Z0)},ED.prototype.unexpectedTokenError=function(XD,UD){var TD=UD||x.Messages.UnexpectedToken,nD;if(XD){if(!UD){if(TD=XD.type===2?x.Messages.UnexpectedEOS:XD.type===3?x.Messages.UnexpectedIdentifier:XD.type===6?x.Messages.UnexpectedNumber:XD.type===8?x.Messages.UnexpectedString:XD.type===10?x.Messages.UnexpectedTemplate:x.Messages.UnexpectedToken,XD.type===4){if(this.scanner.isFutureReservedWord(XD.value))TD=x.Messages.UnexpectedReserved;else if(this.context.strict&&this.scanner.isStrictModeReservedWord(XD.value))TD=x.Messages.StrictReservedWord}}nD=XD.value}else nD="ILLEGAL";if(TD=TD.replace("%0",nD),XD&&typeof XD.lineNumber==="number"){var{start:Z0,lineNumber:M0}=XD,a1=this.lastMarker.index-this.lastMarker.column,D8=XD.start-a1+1;return this.errorHandler.createError(Z0,M0,D8,TD)}else{var Z0=this.lastMarker.index,M0=this.lastMarker.line,D8=this.lastMarker.column+1;return this.errorHandler.createError(Z0,M0,D8,TD)}},ED.prototype.throwUnexpectedToken=function(XD,UD){throw this.unexpectedTokenError(XD,UD)},ED.prototype.tolerateUnexpectedToken=function(XD,UD){this.errorHandler.tolerate(this.unexpectedTokenError(XD,UD))},ED.prototype.collectComments=function(){if(!this.config.comment)this.scanner.scanComments();else{var XD=this.scanner.scanComments();if(XD.length>0&&this.delegate)for(var UD=0;UD<XD.length;++UD){var TD=XD[UD],nD=void 0;if(nD={type:TD.multiLine?"BlockComment":"LineComment",value:this.scanner.source.slice(TD.slice[0],TD.slice[1])},this.config.range)nD.range=TD.range;if(this.config.loc)nD.loc=TD.loc;var Z0={start:{line:TD.loc.start.line,column:TD.loc.start.column,offset:TD.range[0]},end:{line:TD.loc.end.line,column:TD.loc.end.column,offset:TD.range[1]}};this.delegate(nD,Z0)}}},ED.prototype.getTokenRaw=function(XD){return this.scanner.source.slice(XD.start,XD.end)},ED.prototype.convertToken=function(XD){var UD={type:HD.TokenName[XD.type],value:this.getTokenRaw(XD)};if(this.config.range)UD.range=[XD.start,XD.end];if(this.config.loc)UD.loc={start:{line:this.startMarker.line,column:this.startMarker.column},end:{line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}};if(XD.type===9){var{pattern:TD,flags:nD}=XD;UD.regex={pattern:TD,flags:nD}}return UD},ED.prototype.nextToken=function(){var XD=this.lookahead;if(this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.collectComments(),this.scanner.index!==this.startMarker.index)this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var UD=this.scanner.lex();if(this.hasLineTerminator=XD.lineNumber!==UD.lineNumber,UD&&this.context.strict&&UD.type===3){if(this.scanner.isStrictModeReservedWord(UD.value))UD.type=4}if(this.lookahead=UD,this.config.tokens&&UD.type!==2)this.tokens.push(this.convertToken(UD));return XD},ED.prototype.nextRegexToken=function(){this.collectComments();var XD=this.scanner.scanRegExp();if(this.config.tokens)this.tokens.pop(),this.tokens.push(this.convertToken(XD));return this.lookahead=XD,this.nextToken(),XD},ED.prototype.createNode=function(){return{index:this.startMarker.index,line:this.startMarker.line,column:this.startMarker.column}},ED.prototype.startNode=function(XD,UD){if(UD===void 0)UD=0;var TD=XD.start-XD.lineStart,nD=XD.lineNumber;if(TD<0)TD+=UD,nD--;return{index:XD.start,line:nD,column:TD}},ED.prototype.finalize=function(XD,UD){if(this.config.range)UD.range=[XD.index,this.lastMarker.index];if(this.config.loc){if(UD.loc={start:{line:XD.line,column:XD.column},end:{line:this.lastMarker.line,column:this.lastMarker.column}},this.config.source)UD.loc.source=this.config.source}if(this.delegate){var TD={start:{line:XD.line,column:XD.column,offset:XD.index},end:{line:this.lastMarker.line,column:this.lastMarker.column,offset:this.lastMarker.index}};this.delegate(UD,TD)}return UD},ED.prototype.expect=function(XD){var UD=this.nextToken();if(UD.type!==7||UD.value!==XD)this.throwUnexpectedToken(UD)},ED.prototype.expectCommaSeparator=function(){if(this.config.tolerant){var XD=this.lookahead;if(XD.type===7&&XD.value===",")this.nextToken();else if(XD.type===7&&XD.value===";")this.nextToken(),this.tolerateUnexpectedToken(XD);else this.tolerateUnexpectedToken(XD,x.Messages.UnexpectedToken)}else this.expect(",")},ED.prototype.expectKeyword=function(XD){var UD=this.nextToken();if(UD.type!==4||UD.value!==XD)this.throwUnexpectedToken(UD)},ED.prototype.match=function(XD){return this.lookahead.type===7&&this.lookahead.value===XD},ED.prototype.matchKeyword=function(XD){return this.lookahead.type===4&&this.lookahead.value===XD},ED.prototype.matchContextualKeyword=function(XD){return this.lookahead.type===3&&this.lookahead.value===XD},ED.prototype.matchAssign=function(){if(this.lookahead.type!==7)return!1;var XD=this.lookahead.value;return XD==="="||XD==="*="||XD==="**="||XD==="/="||XD==="%="||XD==="+="||XD==="-="||XD==="<<="||XD===">>="||XD===">>>="||XD==="&="||XD==="^="||XD==="|="},ED.prototype.isolateCoverGrammar=function(XD){var UD=this.context.isBindingElement,TD=this.context.isAssignmentTarget,nD=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var Z0=XD.call(this);if(this.context.firstCoverInitializedNameError!==null)this.throwUnexpectedToken(this.context.firstCoverInitializedNameError);return this.context.isBindingElement=UD,this.context.isAssignmentTarget=TD,this.context.firstCoverInitializedNameError=nD,Z0},ED.prototype.inheritCoverGrammar=function(XD){var UD=this.context.isBindingElement,TD=this.context.isAssignmentTarget,nD=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var Z0=XD.call(this);return this.context.isBindingElement=this.context.isBindingElement&&UD,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&TD,this.context.firstCoverInitializedNameError=nD||this.context.firstCoverInitializedNameError,Z0},ED.prototype.consumeSemicolon=function(){if(this.match(";"))this.nextToken();else if(!this.hasLineTerminator){if(this.lookahead.type!==2&&!this.match("}"))this.throwUnexpectedToken(this.lookahead);this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column}},ED.prototype.parsePrimaryExpression=function(){var XD=this.createNode(),UD,TD,nD;switch(this.lookahead.type){case 3:if((this.context.isModule||this.context.await)&&this.lookahead.value==="await")this.tolerateUnexpectedToken(this.lookahead);UD=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(XD,new _.Identifier(this.nextToken().value));break;case 6:case 8:if(this.context.strict&&this.lookahead.octal)this.tolerateUnexpectedToken(this.lookahead,x.Messages.StrictOctalLiteral);this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,TD=this.nextToken(),nD=this.getTokenRaw(TD),UD=this.finalize(XD,new _.Literal(TD.value,nD));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,TD=this.nextToken(),nD=this.getTokenRaw(TD),UD=this.finalize(XD,new _.Literal(TD.value==="true",nD));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,TD=this.nextToken(),nD=this.getTokenRaw(TD),UD=this.finalize(XD,new _.Literal(null,nD));break;case 10:UD=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,UD=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":UD=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":UD=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,TD=this.nextRegexToken(),nD=this.getTokenRaw(TD),UD=this.finalize(XD,new _.RegexLiteral(TD.regex,nD,TD.pattern,TD.flags));break;default:UD=this.throwUnexpectedToken(this.nextToken())}break;case 4:if(!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield"))UD=this.parseIdentifierName();else if(!this.context.strict&&this.matchKeyword("let"))UD=this.finalize(XD,new _.Identifier(this.nextToken().value));else if(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function"))UD=this.parseFunctionExpression();else if(this.matchKeyword("this"))this.nextToken(),UD=this.finalize(XD,new _.ThisExpression);else if(this.matchKeyword("class"))UD=this.parseClassExpression();else UD=this.throwUnexpectedToken(this.nextToken());break;default:UD=this.throwUnexpectedToken(this.nextToken())}return UD},ED.prototype.parseSpreadElement=function(){var XD=this.createNode();this.expect("...");var UD=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(XD,new _.SpreadElement(UD))},ED.prototype.parseArrayInitializer=function(){var XD=this.createNode(),UD=[];this.expect("[");while(!this.match("]"))if(this.match(","))this.nextToken(),UD.push(null);else if(this.match("...")){var TD=this.parseSpreadElement();if(!this.match("]"))this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",");UD.push(TD)}else if(UD.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),!this.match("]"))this.expect(",");return this.expect("]"),this.finalize(XD,new _.ArrayExpression(UD))},ED.prototype.parsePropertyMethod=function(XD){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var UD=this.context.strict,TD=this.context.allowStrictDirective;this.context.allowStrictDirective=XD.simple;var nD=this.isolateCoverGrammar(this.parseFunctionSourceElements);if(this.context.strict&&XD.firstRestricted)this.tolerateUnexpectedToken(XD.firstRestricted,XD.message);if(this.context.strict&&XD.stricted)this.tolerateUnexpectedToken(XD.stricted,XD.message);return this.context.strict=UD,this.context.allowStrictDirective=TD,nD},ED.prototype.parsePropertyMethodFunction=function(){var XD=!1,UD=this.createNode(),TD=this.context.allowYield;this.context.allowYield=!0;var nD=this.parseFormalParameters(),Z0=this.parsePropertyMethod(nD);return this.context.allowYield=TD,this.finalize(UD,new _.FunctionExpression(null,nD.params,Z0,XD))},ED.prototype.parsePropertyMethodAsyncFunction=function(){var XD=this.createNode(),UD=this.context.allowYield,TD=this.context.await;this.context.allowYield=!1,this.context.await=!0;var nD=this.parseFormalParameters(),Z0=this.parsePropertyMethod(nD);return this.context.allowYield=UD,this.context.await=TD,this.finalize(XD,new _.AsyncFunctionExpression(null,nD.params,Z0))},ED.prototype.parseObjectPropertyKey=function(){var XD=this.createNode(),UD=this.nextToken(),TD;switch(UD.type){case 8:case 6:if(this.context.strict&&UD.octal)this.tolerateUnexpectedToken(UD,x.Messages.StrictOctalLiteral);var nD=this.getTokenRaw(UD);TD=this.finalize(XD,new _.Literal(UD.value,nD));break;case 3:case 1:case 5:case 4:TD=this.finalize(XD,new _.Identifier(UD.value));break;case 7:if(UD.value==="[")TD=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]");else TD=this.throwUnexpectedToken(UD);break;default:TD=this.throwUnexpectedToken(UD)}return TD},ED.prototype.isPropertyKey=function(XD,UD){return XD.type===OD.Syntax.Identifier&&XD.name===UD||XD.type===OD.Syntax.Literal&&XD.value===UD},ED.prototype.parseObjectProperty=function(XD){var UD=this.createNode(),TD=this.lookahead,nD,Z0=null,M0=null,a1=!1,D8=!1,C8=!1,V6=!1;if(TD.type===3){var $8=TD.value;this.nextToken(),a1=this.match("["),V6=!this.hasLineTerminator&&$8==="async"&&!this.match(":")&&!this.match("(")&&!this.match("*")&&!this.match(","),Z0=V6?this.parseObjectPropertyKey():this.finalize(UD,new _.Identifier($8))}else if(this.match("*"))this.nextToken();else a1=this.match("["),Z0=this.parseObjectPropertyKey();var U6=this.qualifiedPropertyName(this.lookahead);if(TD.type===3&&!V6&&TD.value==="get"&&U6)nD="get",a1=this.match("["),Z0=this.parseObjectPropertyKey(),this.context.allowYield=!1,M0=this.parseGetterMethod();else if(TD.type===3&&!V6&&TD.value==="set"&&U6)nD="set",a1=this.match("["),Z0=this.parseObjectPropertyKey(),M0=this.parseSetterMethod();else if(TD.type===7&&TD.value==="*"&&U6)nD="init",a1=this.match("["),Z0=this.parseObjectPropertyKey(),M0=this.parseGeneratorMethod(),D8=!0;else{if(!Z0)this.throwUnexpectedToken(this.lookahead);if(nD="init",this.match(":")&&!V6){if(!a1&&this.isPropertyKey(Z0,"__proto__")){if(XD.value)this.tolerateError(x.Messages.DuplicateProtoProperty);XD.value=!0}this.nextToken(),M0=this.inheritCoverGrammar(this.parseAssignmentExpression)}else if(this.match("("))M0=V6?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),D8=!0;else if(TD.type===3){var $8=this.finalize(UD,new _.Identifier(TD.value));if(this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),C8=!0;var VF=this.isolateCoverGrammar(this.parseAssignmentExpression);M0=this.finalize(UD,new _.AssignmentPattern($8,VF))}else C8=!0,M0=$8}else this.throwUnexpectedToken(this.nextToken())}return this.finalize(UD,new _.Property(nD,Z0,a1,M0,D8,C8))},ED.prototype.parseObjectInitializer=function(){var XD=this.createNode();this.expect("{");var UD=[],TD={value:!1};while(!this.match("}"))if(UD.push(this.parseObjectProperty(TD)),!this.match("}"))this.expectCommaSeparator();return this.expect("}"),this.finalize(XD,new _.ObjectExpression(UD))},ED.prototype.parseTemplateHead=function(){C.assert(this.lookahead.head,"Template literal must start with a template head");var XD=this.createNode(),UD=this.nextToken(),TD=UD.value,nD=UD.cooked;return this.finalize(XD,new _.TemplateElement({raw:TD,cooked:nD},UD.tail))},ED.prototype.parseTemplateElement=function(){if(this.lookahead.type!==10)this.throwUnexpectedToken();var XD=this.createNode(),UD=this.nextToken(),TD=UD.value,nD=UD.cooked;return this.finalize(XD,new _.TemplateElement({raw:TD,cooked:nD},UD.tail))},ED.prototype.parseTemplateLiteral=function(){var XD=this.createNode(),UD=[],TD=[],nD=this.parseTemplateHead();TD.push(nD);while(!nD.tail)UD.push(this.parseExpression()),nD=this.parseTemplateElement(),TD.push(nD);return this.finalize(XD,new _.TemplateLiteral(TD,UD))},ED.prototype.reinterpretExpressionAsPattern=function(XD){switch(XD.type){case OD.Syntax.Identifier:case OD.Syntax.MemberExpression:case OD.Syntax.RestElement:case OD.Syntax.AssignmentPattern:break;case OD.Syntax.SpreadElement:XD.type=OD.Syntax.RestElement,this.reinterpretExpressionAsPattern(XD.argument);break;case OD.Syntax.ArrayExpression:XD.type=OD.Syntax.ArrayPattern;for(var UD=0;UD<XD.elements.length;UD++)if(XD.elements[UD]!==null)this.reinterpretExpressionAsPattern(XD.elements[UD]);break;case OD.Syntax.ObjectExpression:XD.type=OD.Syntax.ObjectPattern;for(var UD=0;UD<XD.properties.length;UD++)this.reinterpretExpressionAsPattern(XD.properties[UD].value);break;case OD.Syntax.AssignmentExpression:XD.type=OD.Syntax.AssignmentPattern,delete XD.operator,this.reinterpretExpressionAsPattern(XD.left);break;default:break}},ED.prototype.parseGroupExpression=function(){var XD;if(this.expect("("),this.match(")")){if(this.nextToken(),!this.match("=>"))this.expect("=>");XD={type:a,params:[],async:!1}}else{var UD=this.lookahead,TD=[];if(this.match("...")){if(XD=this.parseRestElement(TD),this.expect(")"),!this.match("=>"))this.expect("=>");XD={type:a,params:[XD],async:!1}}else{var nD=!1;if(this.context.isBindingElement=!0,XD=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var Z0=[];this.context.isAssignmentTarget=!1,Z0.push(XD);while(this.lookahead.type!==2){if(!this.match(","))break;if(this.nextToken(),this.match(")")){this.nextToken();for(var M0=0;M0<Z0.length;M0++)this.reinterpretExpressionAsPattern(Z0[M0]);nD=!0,XD={type:a,params:Z0,async:!1}}else if(this.match("...")){if(!this.context.isBindingElement)this.throwUnexpectedToken(this.lookahead);if(Z0.push(this.parseRestElement(TD)),this.expect(")"),!this.match("=>"))this.expect("=>");this.context.isBindingElement=!1;for(var M0=0;M0<Z0.length;M0++)this.reinterpretExpressionAsPattern(Z0[M0]);nD=!0,XD={type:a,params:Z0,async:!1}}else Z0.push(this.inheritCoverGrammar(this.parseAssignmentExpression));if(nD)break}if(!nD)XD=this.finalize(this.startNode(UD),new _.SequenceExpression(Z0))}if(!nD){if(this.expect(")"),this.match("=>")){if(XD.type===OD.Syntax.Identifier&&XD.name==="yield")nD=!0,XD={type:a,params:[XD],async:!1};if(!nD){if(!this.context.isBindingElement)this.throwUnexpectedToken(this.lookahead);if(XD.type===OD.Syntax.SequenceExpression)for(var M0=0;M0<XD.expressions.length;M0++)this.reinterpretExpressionAsPattern(XD.expressions[M0]);else this.reinterpretExpressionAsPattern(XD);var a1=XD.type===OD.Syntax.SequenceExpression?XD.expressions:[XD];XD={type:a,params:a1,async:!1}}}this.context.isBindingElement=!1}}}return XD},ED.prototype.parseArguments=function(){this.expect("(");var XD=[];if(!this.match(")"))while(!0){var UD=this.match("...")?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAssignmentExpression);if(XD.push(UD),this.match(")"))break;if(this.expectCommaSeparator(),this.match(")"))break}return this.expect(")"),XD},ED.prototype.isIdentifierName=function(XD){return XD.type===3||XD.type===4||XD.type===1||XD.type===5},ED.prototype.parseIdentifierName=function(){var XD=this.createNode(),UD=this.nextToken();if(!this.isIdentifierName(UD))this.throwUnexpectedToken(UD);return this.finalize(XD,new _.Identifier(UD.value))},ED.prototype.parseNewExpression=function(){var XD=this.createNode(),UD=this.parseIdentifierName();C.assert(UD.name==="new","New expression must start with `new`");var TD;if(this.match("."))if(this.nextToken(),this.lookahead.type===3&&this.context.inFunctionBody&&this.lookahead.value==="target"){var nD=this.parseIdentifierName();TD=new _.MetaProperty(UD,nD)}else this.throwUnexpectedToken(this.lookahead);else{var Z0=this.isolateCoverGrammar(this.parseLeftHandSideExpression),M0=this.match("(")?this.parseArguments():[];TD=new _.NewExpression(Z0,M0),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return this.finalize(XD,TD)},ED.prototype.parseAsyncArgument=function(){var XD=this.parseAssignmentExpression();return this.context.firstCoverInitializedNameError=null,XD},ED.prototype.parseAsyncArguments=function(){this.expect("(");var XD=[];if(!this.match(")"))while(!0){var UD=this.match("...")?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAsyncArgument);if(XD.push(UD),this.match(")"))break;if(this.expectCommaSeparator(),this.match(")"))break}return this.expect(")"),XD},ED.prototype.parseLeftHandSideExpressionAllowCall=function(){var XD=this.lookahead,UD=this.matchContextualKeyword("async"),TD=this.context.allowIn;this.context.allowIn=!0;var nD;if(this.matchKeyword("super")&&this.context.inFunctionBody){if(nD=this.createNode(),this.nextToken(),nD=this.finalize(nD,new _.Super),!this.match("(")&&!this.match(".")&&!this.match("["))this.throwUnexpectedToken(this.lookahead)}else nD=this.inheritCoverGrammar(this.matchKeyword("new")?this.parseNewExpression:this.parsePrimaryExpression);while(!0)if(this.match(".")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect(".");var Z0=this.parseIdentifierName();nD=this.finalize(this.startNode(XD),new _.StaticMemberExpression(nD,Z0))}else if(this.match("(")){var M0=UD&&XD.lineNumber===this.lookahead.lineNumber;this.context.isBindingElement=!1,this.context.isAssignmentTarget=!1;var a1=M0?this.parseAsyncArguments():this.parseArguments();if(nD=this.finalize(this.startNode(XD),new _.CallExpression(nD,a1)),M0&&this.match("=>")){for(var D8=0;D8<a1.length;++D8)this.reinterpretExpressionAsPattern(a1[D8]);nD={type:a,params:a1,async:!0}}}else if(this.match("[")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("[");var Z0=this.isolateCoverGrammar(this.parseExpression);this.expect("]"),nD=this.finalize(this.startNode(XD),new _.ComputedMemberExpression(nD,Z0))}else if(this.lookahead.type===10&&this.lookahead.head){var C8=this.parseTemplateLiteral();nD=this.finalize(this.startNode(XD),new _.TaggedTemplateExpression(nD,C8))}else break;return this.context.allowIn=TD,nD},ED.prototype.parseSuper=function(){var XD=this.createNode();if(this.expectKeyword("super"),!this.match("[")&&!this.match("."))this.throwUnexpectedToken(this.lookahead);return this.finalize(XD,new _.Super)},ED.prototype.parseLeftHandSideExpression=function(){C.assert(this.context.allowIn,"callee of new expression always allow in keyword.");var XD=this.startNode(this.lookahead),UD=this.matchKeyword("super")&&this.context.inFunctionBody?this.parseSuper():this.inheritCoverGrammar(this.matchKeyword("new")?this.parseNewExpression:this.parsePrimaryExpression);while(!0)if(this.match("[")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("[");var TD=this.isolateCoverGrammar(this.parseExpression);this.expect("]"),UD=this.finalize(XD,new _.ComputedMemberExpression(UD,TD))}else if(this.match(".")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect(".");var TD=this.parseIdentifierName();UD=this.finalize(XD,new _.StaticMemberExpression(UD,TD))}else if(this.lookahead.type===10&&this.lookahead.head){var nD=this.parseTemplateLiteral();UD=this.finalize(XD,new _.TaggedTemplateExpression(UD,nD))}else break;return UD},ED.prototype.parseUpdateExpression=function(){var XD,UD=this.lookahead;if(this.match("++")||this.match("--")){var TD=this.startNode(UD),nD=this.nextToken();if(XD=this.inheritCoverGrammar(this.parseUnaryExpression),this.context.strict&&XD.type===OD.Syntax.Identifier&&this.scanner.isRestrictedWord(XD.name))this.tolerateError(x.Messages.StrictLHSPrefix);if(!this.context.isAssignmentTarget)this.tolerateError(x.Messages.InvalidLHSInAssignment);var Z0=!0;XD=this.finalize(TD,new _.UpdateExpression(nD.value,XD,Z0)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}else if(XD=this.inheritCoverGrammar(this.parseLeftHandSideExpressionAllowCall),!this.hasLineTerminator&&this.lookahead.type===7){if(this.match("++")||this.match("--")){if(this.context.strict&&XD.type===OD.Syntax.Identifier&&this.scanner.isRestrictedWord(XD.name))this.tolerateError(x.Messages.StrictLHSPostfix);if(!this.context.isAssignmentTarget)this.tolerateError(x.Messages.InvalidLHSInAssignment);this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var M0=this.nextToken().value,Z0=!1;XD=this.finalize(this.startNode(UD),new _.UpdateExpression(M0,XD,Z0))}}return XD},ED.prototype.parseAwaitExpression=function(){var XD=this.createNode();this.nextToken();var UD=this.parseUnaryExpression();return this.finalize(XD,new _.AwaitExpression(UD))},ED.prototype.parseUnaryExpression=function(){var XD;if(this.match("+")||this.match("-")||this.match("~")||this.match("!")||this.matchKeyword("delete")||this.matchKeyword("void")||this.matchKeyword("typeof")){var UD=this.startNode(this.lookahead),TD=this.nextToken();if(XD=this.inheritCoverGrammar(this.parseUnaryExpression),XD=this.finalize(UD,new _.UnaryExpression(TD.value,XD)),this.context.strict&&XD.operator==="delete"&&XD.argument.type===OD.Syntax.Identifier)this.tolerateError(x.Messages.StrictDelete);this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}else if(this.context.await&&this.matchContextualKeyword("await"))XD=this.parseAwaitExpression();else XD=this.parseUpdateExpression();return XD},ED.prototype.parseExponentiationExpression=function(){var XD=this.lookahead,UD=this.inheritCoverGrammar(this.parseUnaryExpression);if(UD.type!==OD.Syntax.UnaryExpression&&this.match("**")){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var TD=UD,nD=this.isolateCoverGrammar(this.parseExponentiationExpression);UD=this.finalize(this.startNode(XD),new _.BinaryExpression("**",TD,nD))}return UD},ED.prototype.binaryPrecedence=function(XD){var UD=XD.value,TD;if(XD.type===7)TD=this.operatorPrecedence[UD]||0;else if(XD.type===4)TD=UD==="instanceof"||this.context.allowIn&&UD==="in"?7:0;else TD=0;return TD},ED.prototype.parseBinaryExpression=function(){var XD=this.lookahead,UD=this.inheritCoverGrammar(this.parseExponentiationExpression),TD=this.lookahead,nD=this.binaryPrecedence(TD);if(nD>0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var Z0=[XD,this.lookahead],M0=UD,a1=this.isolateCoverGrammar(this.parseExponentiationExpression),D8=[M0,TD.value,a1],C8=[nD];while(!0){if(nD=this.binaryPrecedence(this.lookahead),nD<=0)break;while(D8.length>2&&nD<=C8[C8.length-1]){a1=D8.pop();var V6=D8.pop();C8.pop(),M0=D8.pop(),Z0.pop();var $8=this.startNode(Z0[Z0.length-1]);D8.push(this.finalize($8,new _.BinaryExpression(V6,M0,a1)))}D8.push(this.nextToken().value),C8.push(nD),Z0.push(this.lookahead),D8.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var U6=D8.length-1;UD=D8[U6];var VF=Z0.pop();while(U6>1){var $7=Z0.pop(),a0=VF&&VF.lineStart,$8=this.startNode($7,a0),V6=D8[U6-1];UD=this.finalize($8,new _.BinaryExpression(V6,D8[U6-2],UD)),U6-=2,VF=$7}}return UD},ED.prototype.parseConditionalExpression=function(){var XD=this.lookahead,UD=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var TD=this.context.allowIn;this.context.allowIn=!0;var nD=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=TD,this.expect(":");var Z0=this.isolateCoverGrammar(this.parseAssignmentExpression);UD=this.finalize(this.startNode(XD),new _.ConditionalExpression(UD,nD,Z0)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return UD},ED.prototype.checkPatternParam=function(XD,UD){switch(UD.type){case OD.Syntax.Identifier:this.validateParam(XD,UD,UD.name);break;case OD.Syntax.RestElement:this.checkPatternParam(XD,UD.argument);break;case OD.Syntax.AssignmentPattern:this.checkPatternParam(XD,UD.left);break;case OD.Syntax.ArrayPattern:for(var TD=0;TD<UD.elements.length;TD++)if(UD.elements[TD]!==null)this.checkPatternParam(XD,UD.elements[TD]);break;case OD.Syntax.ObjectPattern:for(var TD=0;TD<UD.properties.length;TD++)this.checkPatternParam(XD,UD.properties[TD].value);break;default:break}XD.simple=XD.simple&&UD instanceof _.Identifier},ED.prototype.reinterpretAsCoverFormalsList=function(XD){var UD=[XD],TD,nD=!1;switch(XD.type){case OD.Syntax.Identifier:break;case a:UD=XD.params,nD=XD.async;break;default:return null}TD={simple:!0,paramSet:{}};for(var Z0=0;Z0<UD.length;++Z0){var M0=UD[Z0];if(M0.type===OD.Syntax.AssignmentPattern){if(M0.right.type===OD.Syntax.YieldExpression){if(M0.right.argument)this.throwUnexpectedToken(this.lookahead);M0.right.type=OD.Syntax.Identifier,M0.right.name="yield",delete M0.right.argument,delete M0.right.delegate}}else if(nD&&M0.type===OD.Syntax.Identifier&&M0.name==="await")this.throwUnexpectedToken(this.lookahead);this.checkPatternParam(TD,M0),UD[Z0]=M0}if(this.context.strict||!this.context.allowYield)for(var Z0=0;Z0<UD.length;++Z0){var M0=UD[Z0];if(M0.type===OD.Syntax.YieldExpression)this.throwUnexpectedToken(this.lookahead)}if(TD.message===x.Messages.StrictParamDupe){var a1=this.context.strict?TD.stricted:TD.firstRestricted;this.throwUnexpectedToken(a1,TD.message)}return{simple:TD.simple,params:UD,stricted:TD.stricted,firstRestricted:TD.firstRestricted,message:TD.message}},ED.prototype.parseAssignmentExpression=function(){var XD;if(!this.context.allowYield&&this.matchKeyword("yield"))XD=this.parseYieldExpression();else{var UD=this.lookahead,TD=UD;if(XD=this.parseConditionalExpression(),TD.type===3&&TD.lineNumber===this.lookahead.lineNumber&&TD.value==="async"){if(this.lookahead.type===3||this.matchKeyword("yield")){var nD=this.parsePrimaryExpression();this.reinterpretExpressionAsPattern(nD),XD={type:a,params:[nD],async:!0}}}if(XD.type===a||this.match("=>")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var Z0=XD.async,M0=this.reinterpretAsCoverFormalsList(XD);if(M0){if(this.hasLineTerminator)this.tolerateUnexpectedToken(this.lookahead);this.context.firstCoverInitializedNameError=null;var a1=this.context.strict,D8=this.context.allowStrictDirective;this.context.allowStrictDirective=M0.simple;var C8=this.context.allowYield,V6=this.context.await;this.context.allowYield=!0,this.context.await=Z0;var $8=this.startNode(UD);this.expect("=>");var U6=void 0;if(this.match("{")){var VF=this.context.allowIn;this.context.allowIn=!0,U6=this.parseFunctionSourceElements(),this.context.allowIn=VF}else U6=this.isolateCoverGrammar(this.parseAssignmentExpression);var $7=U6.type!==OD.Syntax.BlockStatement;if(this.context.strict&&M0.firstRestricted)this.throwUnexpectedToken(M0.firstRestricted,M0.message);if(this.context.strict&&M0.stricted)this.tolerateUnexpectedToken(M0.stricted,M0.message);XD=Z0?this.finalize($8,new _.AsyncArrowFunctionExpression(M0.params,U6,$7)):this.finalize($8,new _.ArrowFunctionExpression(M0.params,U6,$7)),this.context.strict=a1,this.context.allowStrictDirective=D8,this.context.allowYield=C8,this.context.await=V6}}else if(this.matchAssign()){if(!this.context.isAssignmentTarget)this.tolerateError(x.Messages.InvalidLHSInAssignment);if(this.context.strict&&XD.type===OD.Syntax.Identifier){var a0=XD;if(this.scanner.isRestrictedWord(a0.name))this.tolerateUnexpectedToken(TD,x.Messages.StrictLHSAssignment);if(this.scanner.isStrictModeReservedWord(a0.name))this.tolerateUnexpectedToken(TD,x.Messages.StrictReservedWord)}if(!this.match("="))this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;else this.reinterpretExpressionAsPattern(XD);TD=this.nextToken();var y9=TD.value,S7=this.isolateCoverGrammar(this.parseAssignmentExpression);XD=this.finalize(this.startNode(UD),new _.AssignmentExpression(y9,XD,S7)),this.context.firstCoverInitializedNameError=null}}return XD},ED.prototype.parseExpression=function(){var XD=this.lookahead,UD=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var TD=[];TD.push(UD);while(this.lookahead.type!==2){if(!this.match(","))break;this.nextToken(),TD.push(this.isolateCoverGrammar(this.parseAssignmentExpression))}UD=this.finalize(this.startNode(XD),new _.SequenceExpression(TD))}return UD},ED.prototype.parseStatementListItem=function(){var XD;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,this.lookahead.type===4)switch(this.lookahead.value){case"export":if(!this.context.isModule)this.tolerateUnexpectedToken(this.lookahead,x.Messages.IllegalExportDeclaration);XD=this.parseExportDeclaration();break;case"import":if(!this.context.isModule)this.tolerateUnexpectedToken(this.lookahead,x.Messages.IllegalImportDeclaration);XD=this.parseImportDeclaration();break;case"const":XD=this.parseLexicalDeclaration({inFor:!1});break;case"function":XD=this.parseFunctionDeclaration();break;case"class":XD=this.parseClassDeclaration();break;case"let":XD=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:XD=this.parseStatement();break}else XD=this.parseStatement();return XD},ED.prototype.parseBlock=function(){var XD=this.createNode();this.expect("{");var UD=[];while(!0){if(this.match("}"))break;UD.push(this.parseStatementListItem())}return this.expect("}"),this.finalize(XD,new _.BlockStatement(UD))},ED.prototype.parseLexicalBinding=function(XD,UD){var TD=this.createNode(),nD=[],Z0=this.parsePattern(nD,XD);if(this.context.strict&&Z0.type===OD.Syntax.Identifier){if(this.scanner.isRestrictedWord(Z0.name))this.tolerateError(x.Messages.StrictVarName)}var M0=null;if(XD==="const"){if(!this.matchKeyword("in")&&!this.matchContextualKeyword("of"))if(this.match("="))this.nextToken(),M0=this.isolateCoverGrammar(this.parseAssignmentExpression);else this.throwError(x.Messages.DeclarationMissingInitializer,"const")}else if(!UD.inFor&&Z0.type!==OD.Syntax.Identifier||this.match("="))this.expect("="),M0=this.isolateCoverGrammar(this.parseAssignmentExpression);return this.finalize(TD,new _.VariableDeclarator(Z0,M0))},ED.prototype.parseBindingList=function(XD,UD){var TD=[this.parseLexicalBinding(XD,UD)];while(this.match(","))this.nextToken(),TD.push(this.parseLexicalBinding(XD,UD));return TD},ED.prototype.isLexicalDeclaration=function(){var XD=this.scanner.saveState();this.scanner.scanComments();var UD=this.scanner.lex();return this.scanner.restoreState(XD),UD.type===3||UD.type===7&&UD.value==="["||UD.type===7&&UD.value==="{"||UD.type===4&&UD.value==="let"||UD.type===4&&UD.value==="yield"},ED.prototype.parseLexicalDeclaration=function(XD){var UD=this.createNode(),TD=this.nextToken().value;C.assert(TD==="let"||TD==="const","Lexical declaration must be either let or const");var nD=this.parseBindingList(TD,XD);return this.consumeSemicolon(),this.finalize(UD,new _.VariableDeclaration(nD,TD))},ED.prototype.parseBindingRestElement=function(XD,UD){var TD=this.createNode();this.expect("...");var nD=this.parsePattern(XD,UD);return this.finalize(TD,new _.RestElement(nD))},ED.prototype.parseArrayPattern=function(XD,UD){var TD=this.createNode();this.expect("[");var nD=[];while(!this.match("]"))if(this.match(","))this.nextToken(),nD.push(null);else{if(this.match("...")){nD.push(this.parseBindingRestElement(XD,UD));break}else nD.push(this.parsePatternWithDefault(XD,UD));if(!this.match("]"))this.expect(",")}return this.expect("]"),this.finalize(TD,new _.ArrayPattern(nD))},ED.prototype.parsePropertyPattern=function(XD,UD){var TD=this.createNode(),nD=!1,Z0=!1,M0=!1,a1,D8;if(this.lookahead.type===3){var C8=this.lookahead;a1=this.parseVariableIdentifier();var V6=this.finalize(TD,new _.Identifier(C8.value));if(this.match("=")){XD.push(C8),Z0=!0,this.nextToken();var $8=this.parseAssignmentExpression();D8=this.finalize(this.startNode(C8),new _.AssignmentPattern(V6,$8))}else if(!this.match(":"))XD.push(C8),Z0=!0,D8=V6;else this.expect(":"),D8=this.parsePatternWithDefault(XD,UD)}else nD=this.match("["),a1=this.parseObjectPropertyKey(),this.expect(":"),D8=this.parsePatternWithDefault(XD,UD);return this.finalize(TD,new _.Property("init",a1,nD,D8,M0,Z0))},ED.prototype.parseObjectPattern=function(XD,UD){var TD=this.createNode(),nD=[];this.expect("{");while(!this.match("}"))if(nD.push(this.parsePropertyPattern(XD,UD)),!this.match("}"))this.expect(",");return this.expect("}"),this.finalize(TD,new _.ObjectPattern(nD))},ED.prototype.parsePattern=function(XD,UD){var TD;if(this.match("["))TD=this.parseArrayPattern(XD,UD);else if(this.match("{"))TD=this.parseObjectPattern(XD,UD);else{if(this.matchKeyword("let")&&(UD==="const"||UD==="let"))this.tolerateUnexpectedToken(this.lookahead,x.Messages.LetInLexicalBinding);XD.push(this.lookahead),TD=this.parseVariableIdentifier(UD)}return TD},ED.prototype.parsePatternWithDefault=function(XD,UD){var TD=this.lookahead,nD=this.parsePattern(XD,UD);if(this.match("=")){this.nextToken();var Z0=this.context.allowYield;this.context.allowYield=!0;var M0=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=Z0,nD=this.finalize(this.startNode(TD),new _.AssignmentPattern(nD,M0))}return nD},ED.prototype.parseVariableIdentifier=function(XD){var UD=this.createNode(),TD=this.nextToken();if(TD.type===4&&TD.value==="yield"){if(this.context.strict)this.tolerateUnexpectedToken(TD,x.Messages.StrictReservedWord);else if(!this.context.allowYield)this.throwUnexpectedToken(TD)}else if(TD.type!==3){if(this.context.strict&&TD.type===4&&this.scanner.isStrictModeReservedWord(TD.value))this.tolerateUnexpectedToken(TD,x.Messages.StrictReservedWord);else if(this.context.strict||TD.value!=="let"||XD!=="var")this.throwUnexpectedToken(TD)}else if((this.context.isModule||this.context.await)&&TD.type===3&&TD.value==="await")this.tolerateUnexpectedToken(TD);return this.finalize(UD,new _.Identifier(TD.value))},ED.prototype.parseVariableDeclaration=function(XD){var UD=this.createNode(),TD=[],nD=this.parsePattern(TD,"var");if(this.context.strict&&nD.type===OD.Syntax.Identifier){if(this.scanner.isRestrictedWord(nD.name))this.tolerateError(x.Messages.StrictVarName)}var Z0=null;if(this.match("="))this.nextToken(),Z0=this.isolateCoverGrammar(this.parseAssignmentExpression);else if(nD.type!==OD.Syntax.Identifier&&!XD.inFor)this.expect("=");return this.finalize(UD,new _.VariableDeclarator(nD,Z0))},ED.prototype.parseVariableDeclarationList=function(XD){var UD={inFor:XD.inFor},TD=[];TD.push(this.parseVariableDeclaration(UD));while(this.match(","))this.nextToken(),TD.push(this.parseVariableDeclaration(UD));return TD},ED.prototype.parseVariableStatement=function(){var XD=this.createNode();this.expectKeyword("var");var UD=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(XD,new _.VariableDeclaration(UD,"var"))},ED.prototype.parseEmptyStatement=function(){var XD=this.createNode();return this.expect(";"),this.finalize(XD,new _.EmptyStatement)},ED.prototype.parseExpressionStatement=function(){var XD=this.createNode(),UD=this.parseExpression();return this.consumeSemicolon(),this.finalize(XD,new _.ExpressionStatement(UD))},ED.prototype.parseIfClause=function(){if(this.context.strict&&this.matchKeyword("function"))this.tolerateError(x.Messages.StrictFunction);return this.parseStatement()},ED.prototype.parseIfStatement=function(){var XD=this.createNode(),UD,TD=null;this.expectKeyword("if"),this.expect("(");var nD=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),UD=this.finalize(this.createNode(),new _.EmptyStatement);else if(this.expect(")"),UD=this.parseIfClause(),this.matchKeyword("else"))this.nextToken(),TD=this.parseIfClause();return this.finalize(XD,new _.IfStatement(nD,UD,TD))},ED.prototype.parseDoWhileStatement=function(){var XD=this.createNode();this.expectKeyword("do");var UD=this.context.inIteration;this.context.inIteration=!0;var TD=this.parseStatement();this.context.inIteration=UD,this.expectKeyword("while"),this.expect("(");var nD=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken());else if(this.expect(")"),this.match(";"))this.nextToken();return this.finalize(XD,new _.DoWhileStatement(TD,nD))},ED.prototype.parseWhileStatement=function(){var XD=this.createNode(),UD;this.expectKeyword("while"),this.expect("(");var TD=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),UD=this.finalize(this.createNode(),new _.EmptyStatement);else{this.expect(")");var nD=this.context.inIteration;this.context.inIteration=!0,UD=this.parseStatement(),this.context.inIteration=nD}return this.finalize(XD,new _.WhileStatement(TD,UD))},ED.prototype.parseForStatement=function(){var XD=null,UD=null,TD=null,nD=!0,Z0,M0,a1=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){XD=this.createNode(),this.nextToken();var D8=this.context.allowIn;this.context.allowIn=!1;var C8=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=D8,C8.length===1&&this.matchKeyword("in")){var V6=C8[0];if(V6.init&&(V6.id.type===OD.Syntax.ArrayPattern||V6.id.type===OD.Syntax.ObjectPattern||this.context.strict))this.tolerateError(x.Messages.ForInOfLoopInitializer,"for-in");XD=this.finalize(XD,new _.VariableDeclaration(C8,"var")),this.nextToken(),Z0=XD,M0=this.parseExpression(),XD=null}else if(C8.length===1&&C8[0].init===null&&this.matchContextualKeyword("of"))XD=this.finalize(XD,new _.VariableDeclaration(C8,"var")),this.nextToken(),Z0=XD,M0=this.parseAssignmentExpression(),XD=null,nD=!1;else XD=this.finalize(XD,new _.VariableDeclaration(C8,"var")),this.expect(";")}else if(this.matchKeyword("const")||this.matchKeyword("let")){XD=this.createNode();var $8=this.nextToken().value;if(!this.context.strict&&this.lookahead.value==="in")XD=this.finalize(XD,new _.Identifier($8)),this.nextToken(),Z0=XD,M0=this.parseExpression(),XD=null;else{var D8=this.context.allowIn;this.context.allowIn=!1;var C8=this.parseBindingList($8,{inFor:!0});if(this.context.allowIn=D8,C8.length===1&&C8[0].init===null&&this.matchKeyword("in"))XD=this.finalize(XD,new _.VariableDeclaration(C8,$8)),this.nextToken(),Z0=XD,M0=this.parseExpression(),XD=null;else if(C8.length===1&&C8[0].init===null&&this.matchContextualKeyword("of"))XD=this.finalize(XD,new _.VariableDeclaration(C8,$8)),this.nextToken(),Z0=XD,M0=this.parseAssignmentExpression(),XD=null,nD=!1;else this.consumeSemicolon(),XD=this.finalize(XD,new _.VariableDeclaration(C8,$8))}}else{var U6=this.lookahead,D8=this.context.allowIn;if(this.context.allowIn=!1,XD=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=D8,this.matchKeyword("in")){if(!this.context.isAssignmentTarget||XD.type===OD.Syntax.AssignmentExpression)this.tolerateError(x.Messages.InvalidLHSInForIn);this.nextToken(),this.reinterpretExpressionAsPattern(XD),Z0=XD,M0=this.parseExpression(),XD=null}else if(this.matchContextualKeyword("of")){if(!this.context.isAssignmentTarget||XD.type===OD.Syntax.AssignmentExpression)this.tolerateError(x.Messages.InvalidLHSInForLoop);this.nextToken(),this.reinterpretExpressionAsPattern(XD),Z0=XD,M0=this.parseAssignmentExpression(),XD=null,nD=!1}else{if(this.match(",")){var VF=[XD];while(this.match(","))this.nextToken(),VF.push(this.isolateCoverGrammar(this.parseAssignmentExpression));XD=this.finalize(this.startNode(U6),new _.SequenceExpression(VF))}this.expect(";")}}if(typeof Z0==="undefined"){if(!this.match(";"))UD=this.parseExpression();if(this.expect(";"),!this.match(")"))TD=this.parseExpression()}var $7;if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),$7=this.finalize(this.createNode(),new _.EmptyStatement);else{this.expect(")");var a0=this.context.inIteration;this.context.inIteration=!0,$7=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=a0}return typeof Z0==="undefined"?this.finalize(a1,new _.ForStatement(XD,UD,TD,$7)):nD?this.finalize(a1,new _.ForInStatement(Z0,M0,$7)):this.finalize(a1,new _.ForOfStatement(Z0,M0,$7))},ED.prototype.parseContinueStatement=function(){var XD=this.createNode();this.expectKeyword("continue");var UD=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var TD=this.parseVariableIdentifier();UD=TD;var nD="$"+TD.name;if(!Object.prototype.hasOwnProperty.call(this.context.labelSet,nD))this.throwError(x.Messages.UnknownLabel,TD.name)}if(this.consumeSemicolon(),UD===null&&!this.context.inIteration)this.throwError(x.Messages.IllegalContinue);return this.finalize(XD,new _.ContinueStatement(UD))},ED.prototype.parseBreakStatement=function(){var XD=this.createNode();this.expectKeyword("break");var UD=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var TD=this.parseVariableIdentifier(),nD="$"+TD.name;if(!Object.prototype.hasOwnProperty.call(this.context.labelSet,nD))this.throwError(x.Messages.UnknownLabel,TD.name);UD=TD}if(this.consumeSemicolon(),UD===null&&!this.context.inIteration&&!this.context.inSwitch)this.throwError(x.Messages.IllegalBreak);return this.finalize(XD,new _.BreakStatement(UD))},ED.prototype.parseReturnStatement=function(){if(!this.context.inFunctionBody)this.tolerateError(x.Messages.IllegalReturn);var XD=this.createNode();this.expectKeyword("return");var UD=!this.match(";")&&!this.match("}")&&!this.hasLineTerminator&&this.lookahead.type!==2||this.lookahead.type===8||this.lookahead.type===10,TD=UD?this.parseExpression():null;return this.consumeSemicolon(),this.finalize(XD,new _.ReturnStatement(TD))},ED.prototype.parseWithStatement=function(){if(this.context.strict)this.tolerateError(x.Messages.StrictModeWith);var XD=this.createNode(),UD;this.expectKeyword("with"),this.expect("(");var TD=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),UD=this.finalize(this.createNode(),new _.EmptyStatement);else this.expect(")"),UD=this.parseStatement();return this.finalize(XD,new _.WithStatement(TD,UD))},ED.prototype.parseSwitchCase=function(){var XD=this.createNode(),UD;if(this.matchKeyword("default"))this.nextToken(),UD=null;else this.expectKeyword("case"),UD=this.parseExpression();this.expect(":");var TD=[];while(!0){if(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"))break;TD.push(this.parseStatementListItem())}return this.finalize(XD,new _.SwitchCase(UD,TD))},ED.prototype.parseSwitchStatement=function(){var XD=this.createNode();this.expectKeyword("switch"),this.expect("(");var UD=this.parseExpression();this.expect(")");var TD=this.context.inSwitch;this.context.inSwitch=!0;var nD=[],Z0=!1;this.expect("{");while(!0){if(this.match("}"))break;var M0=this.parseSwitchCase();if(M0.test===null){if(Z0)this.throwError(x.Messages.MultipleDefaultsInSwitch);Z0=!0}nD.push(M0)}return this.expect("}"),this.context.inSwitch=TD,this.finalize(XD,new _.SwitchStatement(UD,nD))},ED.prototype.parseLabelledStatement=function(){var XD=this.createNode(),UD=this.parseExpression(),TD;if(UD.type===OD.Syntax.Identifier&&this.match(":")){this.nextToken();var nD=UD,Z0="$"+nD.name;if(Object.prototype.hasOwnProperty.call(this.context.labelSet,Z0))this.throwError(x.Messages.Redeclaration,"Label",nD.name);this.context.labelSet[Z0]=!0;var M0=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),M0=this.parseClassDeclaration();else if(this.matchKeyword("function")){var a1=this.lookahead,D8=this.parseFunctionDeclaration();if(this.context.strict)this.tolerateUnexpectedToken(a1,x.Messages.StrictFunction);else if(D8.generator)this.tolerateUnexpectedToken(a1,x.Messages.GeneratorInLegacyContext);M0=D8}else M0=this.parseStatement();delete this.context.labelSet[Z0],TD=new _.LabeledStatement(nD,M0)}else this.consumeSemicolon(),TD=new _.ExpressionStatement(UD);return this.finalize(XD,TD)},ED.prototype.parseThrowStatement=function(){var XD=this.createNode();if(this.expectKeyword("throw"),this.hasLineTerminator)this.throwError(x.Messages.NewlineAfterThrow);var UD=this.parseExpression();return this.consumeSemicolon(),this.finalize(XD,new _.ThrowStatement(UD))},ED.prototype.parseCatchClause=function(){var XD=this.createNode();if(this.expectKeyword("catch"),this.expect("("),this.match(")"))this.throwUnexpectedToken(this.lookahead);var UD=[],TD=this.parsePattern(UD),nD={};for(var Z0=0;Z0<UD.length;Z0++){var M0="$"+UD[Z0].value;if(Object.prototype.hasOwnProperty.call(nD,M0))this.tolerateError(x.Messages.DuplicateBinding,UD[Z0].value);nD[M0]=!0}if(this.context.strict&&TD.type===OD.Syntax.Identifier){if(this.scanner.isRestrictedWord(TD.name))this.tolerateError(x.Messages.StrictCatchVariable)}this.expect(")");var a1=this.parseBlock();return this.finalize(XD,new _.CatchClause(TD,a1))},ED.prototype.parseFinallyClause=function(){return this.expectKeyword("finally"),this.parseBlock()},ED.prototype.parseTryStatement=function(){var XD=this.createNode();this.expectKeyword("try");var UD=this.parseBlock(),TD=this.matchKeyword("catch")?this.parseCatchClause():null,nD=this.matchKeyword("finally")?this.parseFinallyClause():null;if(!TD&&!nD)this.throwError(x.Messages.NoCatchOrFinally);return this.finalize(XD,new _.TryStatement(UD,TD,nD))},ED.prototype.parseDebuggerStatement=function(){var XD=this.createNode();return this.expectKeyword("debugger"),this.consumeSemicolon(),this.finalize(XD,new _.DebuggerStatement)},ED.prototype.parseStatement=function(){var XD;switch(this.lookahead.type){case 1:case 5:case 6:case 8:case 10:case 9:XD=this.parseExpressionStatement();break;case 7:var UD=this.lookahead.value;if(UD==="{")XD=this.parseBlock();else if(UD==="(")XD=this.parseExpressionStatement();else if(UD===";")XD=this.parseEmptyStatement();else XD=this.parseExpressionStatement();break;case 3:XD=this.matchAsyncFunction()?this.parseFunctionDeclaration():this.parseLabelledStatement();break;case 4:switch(this.lookahead.value){case"break":XD=this.parseBreakStatement();break;case"continue":XD=this.parseContinueStatement();break;case"debugger":XD=this.parseDebuggerStatement();break;case"do":XD=this.parseDoWhileStatement();break;case"for":XD=this.parseForStatement();break;case"function":XD=this.parseFunctionDeclaration();break;case"if":XD=this.parseIfStatement();break;case"return":XD=this.parseReturnStatement();break;case"switch":XD=this.parseSwitchStatement();break;case"throw":XD=this.parseThrowStatement();break;case"try":XD=this.parseTryStatement();break;case"var":XD=this.parseVariableStatement();break;case"while":XD=this.parseWhileStatement();break;case"with":XD=this.parseWithStatement();break;default:XD=this.parseExpressionStatement();break}break;default:XD=this.throwUnexpectedToken(this.lookahead)}return XD},ED.prototype.parseFunctionSourceElements=function(){var XD=this.createNode();this.expect("{");var UD=this.parseDirectivePrologues(),TD=this.context.labelSet,nD=this.context.inIteration,Z0=this.context.inSwitch,M0=this.context.inFunctionBody;this.context.labelSet={},this.context.inIteration=!1,this.context.inSwitch=!1,this.context.inFunctionBody=!0;while(this.lookahead.type!==2){if(this.match("}"))break;UD.push(this.parseStatementListItem())}return this.expect("}"),this.context.labelSet=TD,this.context.inIteration=nD,this.context.inSwitch=Z0,this.context.inFunctionBody=M0,this.finalize(XD,new _.BlockStatement(UD))},ED.prototype.validateParam=function(XD,UD,TD){var nD="$"+TD;if(this.context.strict){if(this.scanner.isRestrictedWord(TD))XD.stricted=UD,XD.message=x.Messages.StrictParamName;if(Object.prototype.hasOwnProperty.call(XD.paramSet,nD))XD.stricted=UD,XD.message=x.Messages.StrictParamDupe}else if(!XD.firstRestricted){if(this.scanner.isRestrictedWord(TD))XD.firstRestricted=UD,XD.message=x.Messages.StrictParamName;else if(this.scanner.isStrictModeReservedWord(TD))XD.firstRestricted=UD,XD.message=x.Messages.StrictReservedWord;else if(Object.prototype.hasOwnProperty.call(XD.paramSet,nD))XD.stricted=UD,XD.message=x.Messages.StrictParamDupe}if(typeof Object.defineProperty==="function")Object.defineProperty(XD.paramSet,nD,{value:!0,enumerable:!0,writable:!0,configurable:!0});else XD.paramSet[nD]=!0},ED.prototype.parseRestElement=function(XD){var UD=this.createNode();this.expect("...");var TD=this.parsePattern(XD);if(this.match("="))this.throwError(x.Messages.DefaultRestParameter);if(!this.match(")"))this.throwError(x.Messages.ParameterAfterRestParameter);return this.finalize(UD,new _.RestElement(TD))},ED.prototype.parseFormalParameter=function(XD){var UD=[],TD=this.match("...")?this.parseRestElement(UD):this.parsePatternWithDefault(UD);for(var nD=0;nD<UD.length;nD++)this.validateParam(XD,UD[nD],UD[nD].value);XD.simple=XD.simple&&TD instanceof _.Identifier,XD.params.push(TD)},ED.prototype.parseFormalParameters=function(XD){var UD={simple:!0,params:[],firstRestricted:XD};if(this.expect("("),!this.match(")")){UD.paramSet={};while(this.lookahead.type!==2){if(this.parseFormalParameter(UD),this.match(")"))break;if(this.expect(","),this.match(")"))break}}return this.expect(")"),{simple:UD.simple,params:UD.params,stricted:UD.stricted,firstRestricted:UD.firstRestricted,message:UD.message}},ED.prototype.matchAsyncFunction=function(){var XD=this.matchContextualKeyword("async");if(XD){var UD=this.scanner.saveState();this.scanner.scanComments();var TD=this.scanner.lex();this.scanner.restoreState(UD),XD=UD.lineNumber===TD.lineNumber&&TD.type===4&&TD.value==="function"}return XD},ED.prototype.parseFunctionDeclaration=function(XD){var UD=this.createNode(),TD=this.matchContextualKeyword("async");if(TD)this.nextToken();this.expectKeyword("function");var nD=TD?!1:this.match("*");if(nD)this.nextToken();var Z0,M0=null,a1=null;if(!XD||!this.match("(")){var D8=this.lookahead;if(M0=this.parseVariableIdentifier(),this.context.strict){if(this.scanner.isRestrictedWord(D8.value))this.tolerateUnexpectedToken(D8,x.Messages.StrictFunctionName)}else if(this.scanner.isRestrictedWord(D8.value))a1=D8,Z0=x.Messages.StrictFunctionName;else if(this.scanner.isStrictModeReservedWord(D8.value))a1=D8,Z0=x.Messages.StrictReservedWord}var C8=this.context.await,V6=this.context.allowYield;this.context.await=TD,this.context.allowYield=!nD;var $8=this.parseFormalParameters(a1),U6=$8.params,VF=$8.stricted;if(a1=$8.firstRestricted,$8.message)Z0=$8.message;var $7=this.context.strict,a0=this.context.allowStrictDirective;this.context.allowStrictDirective=$8.simple;var y9=this.parseFunctionSourceElements();if(this.context.strict&&a1)this.throwUnexpectedToken(a1,Z0);if(this.context.strict&&VF)this.tolerateUnexpectedToken(VF,Z0);return this.context.strict=$7,this.context.allowStrictDirective=a0,this.context.await=C8,this.context.allowYield=V6,TD?this.finalize(UD,new _.AsyncFunctionDeclaration(M0,U6,y9)):this.finalize(UD,new _.FunctionDeclaration(M0,U6,y9,nD))},ED.prototype.parseFunctionExpression=function(){var XD=this.createNode(),UD=this.matchContextualKeyword("async");if(UD)this.nextToken();this.expectKeyword("function");var TD=UD?!1:this.match("*");if(TD)this.nextToken();var nD,Z0=null,M0,a1=this.context.await,D8=this.context.allowYield;if(this.context.await=UD,this.context.allowYield=!TD,!this.match("(")){var C8=this.lookahead;if(Z0=!this.context.strict&&!TD&&this.matchKeyword("yield")?this.parseIdentifierName():this.parseVariableIdentifier(),this.context.strict){if(this.scanner.isRestrictedWord(C8.value))this.tolerateUnexpectedToken(C8,x.Messages.StrictFunctionName)}else if(this.scanner.isRestrictedWord(C8.value))M0=C8,nD=x.Messages.StrictFunctionName;else if(this.scanner.isStrictModeReservedWord(C8.value))M0=C8,nD=x.Messages.StrictReservedWord}var V6=this.parseFormalParameters(M0),$8=V6.params,U6=V6.stricted;if(M0=V6.firstRestricted,V6.message)nD=V6.message;var VF=this.context.strict,$7=this.context.allowStrictDirective;this.context.allowStrictDirective=V6.simple;var a0=this.parseFunctionSourceElements();if(this.context.strict&&M0)this.throwUnexpectedToken(M0,nD);if(this.context.strict&&U6)this.tolerateUnexpectedToken(U6,nD);return this.context.strict=VF,this.context.allowStrictDirective=$7,this.context.await=a1,this.context.allowYield=D8,UD?this.finalize(XD,new _.AsyncFunctionExpression(Z0,$8,a0)):this.finalize(XD,new _.FunctionExpression(Z0,$8,a0,TD))},ED.prototype.parseDirective=function(){var XD=this.lookahead,UD=this.createNode(),TD=this.parseExpression(),nD=TD.type===OD.Syntax.Literal?this.getTokenRaw(XD).slice(1,-1):null;return this.consumeSemicolon(),this.finalize(UD,nD?new _.Directive(TD,nD):new _.ExpressionStatement(TD))},ED.prototype.parseDirectivePrologues=function(){var XD=null,UD=[];while(!0){var TD=this.lookahead;if(TD.type!==8)break;var nD=this.parseDirective();UD.push(nD);var Z0=nD.directive;if(typeof Z0!=="string")break;if(Z0==="use strict"){if(this.context.strict=!0,XD)this.tolerateUnexpectedToken(XD,x.Messages.StrictOctalLiteral);if(!this.context.allowStrictDirective)this.tolerateUnexpectedToken(TD,x.Messages.IllegalLanguageModeDirective)}else if(!XD&&TD.octal)XD=TD}return UD},ED.prototype.qualifiedPropertyName=function(XD){switch(XD.type){case 3:case 8:case 1:case 5:case 6:case 4:return!0;case 7:return XD.value==="[";default:break}return!1},ED.prototype.parseGetterMethod=function(){var XD=this.createNode(),UD=!1,TD=this.context.allowYield;this.context.allowYield=!UD;var nD=this.parseFormalParameters();if(nD.params.length>0)this.tolerateError(x.Messages.BadGetterArity);var Z0=this.parsePropertyMethod(nD);return this.context.allowYield=TD,this.finalize(XD,new _.FunctionExpression(null,nD.params,Z0,UD))},ED.prototype.parseSetterMethod=function(){var XD=this.createNode(),UD=!1,TD=this.context.allowYield;this.context.allowYield=!UD;var nD=this.parseFormalParameters();if(nD.params.length!==1)this.tolerateError(x.Messages.BadSetterArity);else if(nD.params[0]instanceof _.RestElement)this.tolerateError(x.Messages.BadSetterRestParameter);var Z0=this.parsePropertyMethod(nD);return this.context.allowYield=TD,this.finalize(XD,new _.FunctionExpression(null,nD.params,Z0,UD))},ED.prototype.parseGeneratorMethod=function(){var XD=this.createNode(),UD=!0,TD=this.context.allowYield;this.context.allowYield=!0;var nD=this.parseFormalParameters();this.context.allowYield=!1;var Z0=this.parsePropertyMethod(nD);return this.context.allowYield=TD,this.finalize(XD,new _.FunctionExpression(null,nD.params,Z0,UD))},ED.prototype.isStartOfExpression=function(){var XD=!0,UD=this.lookahead.value;switch(this.lookahead.type){case 7:XD=UD==="["||UD==="("||UD==="{"||UD==="+"||UD==="-"||UD==="!"||UD==="~"||UD==="++"||UD==="--"||UD==="/"||UD==="/=";break;case 4:XD=UD==="class"||UD==="delete"||UD==="function"||UD==="let"||UD==="new"||UD==="super"||UD==="this"||UD==="typeof"||UD==="void"||UD==="yield";break;default:break}return XD},ED.prototype.parseYieldExpression=function(){var XD=this.createNode();this.expectKeyword("yield");var UD=null,TD=!1;if(!this.hasLineTerminator){var nD=this.context.allowYield;if(this.context.allowYield=!1,TD=this.match("*"),TD)this.nextToken(),UD=this.parseAssignmentExpression();else if(this.isStartOfExpression())UD=this.parseAssignmentExpression();this.context.allowYield=nD}return this.finalize(XD,new _.YieldExpression(UD,TD))},ED.prototype.parseClassElement=function(XD){var UD=this.lookahead,TD=this.createNode(),nD="",Z0=null,M0=null,a1=!1,D8=!1,C8=!1,V6=!1;if(this.match("*"))this.nextToken();else{a1=this.match("["),Z0=this.parseObjectPropertyKey();var $8=Z0;if($8.name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*")))if(UD=this.lookahead,C8=!0,a1=this.match("["),this.match("*"))this.nextToken();else Z0=this.parseObjectPropertyKey();if(UD.type===3&&!this.hasLineTerminator&&UD.value==="async"){var U6=this.lookahead.value;if(U6!==":"&&U6!=="("&&U6!=="*"){if(V6=!0,UD=this.lookahead,Z0=this.parseObjectPropertyKey(),UD.type===3&&UD.value==="constructor")this.tolerateUnexpectedToken(UD,x.Messages.ConstructorIsAsync)}}}var VF=this.qualifiedPropertyName(this.lookahead);if(UD.type===3){if(UD.value==="get"&&VF)nD="get",a1=this.match("["),Z0=this.parseObjectPropertyKey(),this.context.allowYield=!1,M0=this.parseGetterMethod();else if(UD.value==="set"&&VF)nD="set",a1=this.match("["),Z0=this.parseObjectPropertyKey(),M0=this.parseSetterMethod()}else if(UD.type===7&&UD.value==="*"&&VF)nD="init",a1=this.match("["),Z0=this.parseObjectPropertyKey(),M0=this.parseGeneratorMethod(),D8=!0;if(!nD&&Z0&&this.match("("))nD="init",M0=V6?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),D8=!0;if(!nD)this.throwUnexpectedToken(this.lookahead);if(nD==="init")nD="method";if(!a1){if(C8&&this.isPropertyKey(Z0,"prototype"))this.throwUnexpectedToken(UD,x.Messages.StaticPrototype);if(!C8&&this.isPropertyKey(Z0,"constructor")){if(nD!=="method"||!D8||M0&&M0.generator)this.throwUnexpectedToken(UD,x.Messages.ConstructorSpecialMethod);if(XD.value)this.throwUnexpectedToken(UD,x.Messages.DuplicateConstructor);else XD.value=!0;nD="constructor"}}return this.finalize(TD,new _.MethodDefinition(Z0,a1,M0,nD,C8))},ED.prototype.parseClassElementList=function(){var XD=[],UD={value:!1};this.expect("{");while(!this.match("}"))if(this.match(";"))this.nextToken();else XD.push(this.parseClassElement(UD));return this.expect("}"),XD},ED.prototype.parseClassBody=function(){var XD=this.createNode(),UD=this.parseClassElementList();return this.finalize(XD,new _.ClassBody(UD))},ED.prototype.parseClassDeclaration=function(XD){var UD=this.createNode(),TD=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var nD=XD&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),Z0=null;if(this.matchKeyword("extends"))this.nextToken(),Z0=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall);var M0=this.parseClassBody();return this.context.strict=TD,this.finalize(UD,new _.ClassDeclaration(nD,Z0,M0))},ED.prototype.parseClassExpression=function(){var XD=this.createNode(),UD=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var TD=this.lookahead.type===3?this.parseVariableIdentifier():null,nD=null;if(this.matchKeyword("extends"))this.nextToken(),nD=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall);var Z0=this.parseClassBody();return this.context.strict=UD,this.finalize(XD,new _.ClassExpression(TD,nD,Z0))},ED.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;var XD=this.createNode(),UD=this.parseDirectivePrologues();while(this.lookahead.type!==2)UD.push(this.parseStatementListItem());return this.finalize(XD,new _.Module(UD))},ED.prototype.parseScript=function(){var XD=this.createNode(),UD=this.parseDirectivePrologues();while(this.lookahead.type!==2)UD.push(this.parseStatementListItem());return this.finalize(XD,new _.Script(UD))},ED.prototype.parseModuleSpecifier=function(){var XD=this.createNode();if(this.lookahead.type!==8)this.throwError(x.Messages.InvalidModuleSpecifier);var UD=this.nextToken(),TD=this.getTokenRaw(UD);return this.finalize(XD,new _.Literal(UD.value,TD))},ED.prototype.parseImportSpecifier=function(){var XD=this.createNode(),UD,TD;if(this.lookahead.type===3){if(UD=this.parseVariableIdentifier(),TD=UD,this.matchContextualKeyword("as"))this.nextToken(),TD=this.parseVariableIdentifier()}else if(UD=this.parseIdentifierName(),TD=UD,this.matchContextualKeyword("as"))this.nextToken(),TD=this.parseVariableIdentifier();else this.throwUnexpectedToken(this.nextToken());return this.finalize(XD,new _.ImportSpecifier(TD,UD))},ED.prototype.parseNamedImports=function(){this.expect("{");var XD=[];while(!this.match("}"))if(XD.push(this.parseImportSpecifier()),!this.match("}"))this.expect(",");return this.expect("}"),XD},ED.prototype.parseImportDefaultSpecifier=function(){var XD=this.createNode(),UD=this.parseIdentifierName();return this.finalize(XD,new _.ImportDefaultSpecifier(UD))},ED.prototype.parseImportNamespaceSpecifier=function(){var XD=this.createNode();if(this.expect("*"),!this.matchContextualKeyword("as"))this.throwError(x.Messages.NoAsAfterImportNamespace);this.nextToken();var UD=this.parseIdentifierName();return this.finalize(XD,new _.ImportNamespaceSpecifier(UD))},ED.prototype.parseImportDeclaration=function(){if(this.context.inFunctionBody)this.throwError(x.Messages.IllegalImportDeclaration);var XD=this.createNode();this.expectKeyword("import");var UD,TD=[];if(this.lookahead.type===8)UD=this.parseModuleSpecifier();else{if(this.match("{"))TD=TD.concat(this.parseNamedImports());else if(this.match("*"))TD.push(this.parseImportNamespaceSpecifier());else if(this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")){if(TD.push(this.parseImportDefaultSpecifier()),this.match(","))if(this.nextToken(),this.match("*"))TD.push(this.parseImportNamespaceSpecifier());else if(this.match("{"))TD=TD.concat(this.parseNamedImports());else this.throwUnexpectedToken(this.lookahead)}else this.throwUnexpectedToken(this.nextToken());if(!this.matchContextualKeyword("from")){var nD=this.lookahead.value?x.Messages.UnexpectedToken:x.Messages.MissingFromClause;this.throwError(nD,this.lookahead.value)}this.nextToken(),UD=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(XD,new _.ImportDeclaration(TD,UD))},ED.prototype.parseExportSpecifier=function(){var XD=this.createNode(),UD=this.parseIdentifierName(),TD=UD;if(this.matchContextualKeyword("as"))this.nextToken(),TD=this.parseIdentifierName();return this.finalize(XD,new _.ExportSpecifier(UD,TD))},ED.prototype.parseExportDeclaration=function(){if(this.context.inFunctionBody)this.throwError(x.Messages.IllegalExportDeclaration);var XD=this.createNode();this.expectKeyword("export");var UD;if(this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var TD=this.parseFunctionDeclaration(!0);UD=this.finalize(XD,new _.ExportDefaultDeclaration(TD))}else if(this.matchKeyword("class")){var TD=this.parseClassDeclaration(!0);UD=this.finalize(XD,new _.ExportDefaultDeclaration(TD))}else if(this.matchContextualKeyword("async")){var TD=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression();UD=this.finalize(XD,new _.ExportDefaultDeclaration(TD))}else{if(this.matchContextualKeyword("from"))this.throwError(x.Messages.UnexpectedToken,this.lookahead.value);var TD=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression();this.consumeSemicolon(),UD=this.finalize(XD,new _.ExportDefaultDeclaration(TD))}else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var nD=this.lookahead.value?x.Messages.UnexpectedToken:x.Messages.MissingFromClause;this.throwError(nD,this.lookahead.value)}this.nextToken();var Z0=this.parseModuleSpecifier();this.consumeSemicolon(),UD=this.finalize(XD,new _.ExportAllDeclaration(Z0))}else if(this.lookahead.type===4){var TD=void 0;switch(this.lookahead.value){case"let":case"const":TD=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":TD=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}UD=this.finalize(XD,new _.ExportNamedDeclaration(TD,[],null))}else if(this.matchAsyncFunction()){var TD=this.parseFunctionDeclaration();UD=this.finalize(XD,new _.ExportNamedDeclaration(TD,[],null))}else{var M0=[],a1=null,D8=!1;this.expect("{");while(!this.match("}"))if(D8=D8||this.matchKeyword("default"),M0.push(this.parseExportSpecifier()),!this.match("}"))this.expect(",");if(this.expect("}"),this.matchContextualKeyword("from"))this.nextToken(),a1=this.parseModuleSpecifier(),this.consumeSemicolon();else if(D8){var nD=this.lookahead.value?x.Messages.UnexpectedToken:x.Messages.MissingFromClause;this.throwError(nD,this.lookahead.value)}else this.consumeSemicolon();UD=this.finalize(XD,new _.ExportNamedDeclaration(null,M0,a1))}return UD},ED}();K.Parser=bD},function(Q,K){Object.defineProperty(K,"__esModule",{value:!0});function G(C,y){if(!C)throw new Error("ASSERT: "+y)}K.assert=G},function(Q,K){Object.defineProperty(K,"__esModule",{value:!0});var G=function(){function C(){this.errors=[],this.tolerant=!1}return C.prototype.recordError=function(y){this.errors.push(y)},C.prototype.tolerate=function(y){if(this.tolerant)this.recordError(y);else throw y},C.prototype.constructError=function(y,x){var _=new Error(y);try{throw _}catch(VD){if(Object.create&&Object.defineProperty)_=Object.create(VD),Object.defineProperty(_,"column",{value:x})}return _},C.prototype.createError=function(y,x,_,VD){var OD="Line "+x+": "+VD,HD=this.constructError(OD,_);return HD.index=y,HD.lineNumber=x,HD.description=VD,HD},C.prototype.throwError=function(y,x,_,VD){throw this.createError(y,x,_,VD)},C.prototype.tolerateError=function(y,x,_,VD){var OD=this.createError(y,x,_,VD);if(this.tolerant)this.recordError(OD);else throw OD},C}();K.ErrorHandler=G},function(Q,K){Object.defineProperty(K,"__esModule",{value:!0}),K.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal \'use strict\' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 \'%1\' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label \'%0\'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(Q,K,G){Object.defineProperty(K,"__esModule",{value:!0});var C=G(9),y=G(4),x=G(11);function _(HD){return"0123456789abcdef".indexOf(HD.toLowerCase())}function VD(HD){return"01234567".indexOf(HD)}var OD=function(){function HD(a,bD){this.source=a,this.errorHandler=bD,this.trackComment=!1,this.isModule=!1,this.length=a.length,this.index=0,this.lineNumber=a.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return HD.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},HD.prototype.restoreState=function(a){this.index=a.index,this.lineNumber=a.lineNumber,this.lineStart=a.lineStart},HD.prototype.eof=function(){return this.index>=this.length},HD.prototype.throwUnexpectedToken=function(a){if(a===void 0)a=x.Messages.UnexpectedTokenIllegal;return this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,a)},HD.prototype.tolerateUnexpectedToken=function(a){if(a===void 0)a=x.Messages.UnexpectedTokenIllegal;this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,a)},HD.prototype.skipSingleLineComment=function(a){var bD=[],ED,XD;if(this.trackComment)bD=[],ED=this.index-a,XD={start:{line:this.lineNumber,column:this.index-this.lineStart-a},end:{}};while(!this.eof()){var UD=this.source.charCodeAt(this.index);if(++this.index,y.Character.isLineTerminator(UD)){if(this.trackComment){XD.end={line:this.lineNumber,column:this.index-this.lineStart-1};var TD={multiLine:!1,slice:[ED+a,this.index-1],range:[ED,this.index-1],loc:XD};bD.push(TD)}if(UD===13&&this.source.charCodeAt(this.index)===10)++this.index;return++this.lineNumber,this.lineStart=this.index,bD}}if(this.trackComment){XD.end={line:this.lineNumber,column:this.index-this.lineStart};var TD={multiLine:!1,slice:[ED+a,this.index],range:[ED,this.index],loc:XD};bD.push(TD)}return bD},HD.prototype.skipMultiLineComment=function(){var a=[],bD,ED;if(this.trackComment)a=[],bD=this.index-2,ED={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}};while(!this.eof()){var XD=this.source.charCodeAt(this.index);if(y.Character.isLineTerminator(XD)){if(XD===13&&this.source.charCodeAt(this.index+1)===10)++this.index;++this.lineNumber,++this.index,this.lineStart=this.index}else if(XD===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){ED.end={line:this.lineNumber,column:this.index-this.lineStart};var UD={multiLine:!0,slice:[bD+2,this.index-2],range:[bD,this.index],loc:ED};a.push(UD)}return a}++this.index}else++this.index}if(this.trackComment){ED.end={line:this.lineNumber,column:this.index-this.lineStart};var UD={multiLine:!0,slice:[bD+2,this.index],range:[bD,this.index],loc:ED};a.push(UD)}return this.tolerateUnexpectedToken(),a},HD.prototype.scanComments=function(){var a;if(this.trackComment)a=[];var bD=this.index===0;while(!this.eof()){var ED=this.source.charCodeAt(this.index);if(y.Character.isWhiteSpace(ED))++this.index;else if(y.Character.isLineTerminator(ED)){if(++this.index,ED===13&&this.source.charCodeAt(this.index)===10)++this.index;++this.lineNumber,this.lineStart=this.index,bD=!0}else if(ED===47)if(ED=this.source.charCodeAt(this.index+1),ED===47){this.index+=2;var XD=this.skipSingleLineComment(2);if(this.trackComment)a=a.concat(XD);bD=!0}else if(ED===42){this.index+=2;var XD=this.skipMultiLineComment();if(this.trackComment)a=a.concat(XD)}else break;else if(bD&&ED===45)if(this.source.charCodeAt(this.index+1)===45&&this.source.charCodeAt(this.index+2)===62){this.index+=3;var XD=this.skipSingleLineComment(3);if(this.trackComment)a=a.concat(XD)}else break;else if(ED===60&&!this.isModule)if(this.source.slice(this.index+1,this.index+4)==="!--"){this.index+=4;var XD=this.skipSingleLineComment(4);if(this.trackComment)a=a.concat(XD)}else break;else break}return a},HD.prototype.isFutureReservedWord=function(a){switch(a){case"enum":case"export":case"import":case"super":return!0;default:return!1}},HD.prototype.isStrictModeReservedWord=function(a){switch(a){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},HD.prototype.isRestrictedWord=function(a){return a==="eval"||a==="arguments"},HD.prototype.isKeyword=function(a){switch(a.length){case 2:return a==="if"||a==="in"||a==="do";case 3:return a==="var"||a==="for"||a==="new"||a==="try"||a==="let";case 4:return a==="this"||a==="else"||a==="case"||a==="void"||a==="with"||a==="enum";case 5:return a==="while"||a==="break"||a==="catch"||a==="throw"||a==="const"||a==="yield"||a==="class"||a==="super";case 6:return a==="return"||a==="typeof"||a==="delete"||a==="switch"||a==="export"||a==="import";case 7:return a==="default"||a==="finally"||a==="extends";case 8:return a==="function"||a==="continue"||a==="debugger";case 10:return a==="instanceof";default:return!1}},HD.prototype.codePointAt=function(a){var bD=this.source.charCodeAt(a);if(bD>=55296&&bD<=56319){var ED=this.source.charCodeAt(a+1);if(ED>=56320&&ED<=57343){var XD=bD;bD=(XD-55296)*1024+ED-56320+65536}}return bD},HD.prototype.scanHexEscape=function(a){var bD=a==="u"?4:2,ED=0;for(var XD=0;XD<bD;++XD)if(!this.eof()&&y.Character.isHexDigit(this.source.charCodeAt(this.index)))ED=ED*16+_(this.source[this.index++]);else return null;return String.fromCharCode(ED)},HD.prototype.scanUnicodeCodePointEscape=function(){var a=this.source[this.index],bD=0;if(a==="}")this.throwUnexpectedToken();while(!this.eof()){if(a=this.source[this.index++],!y.Character.isHexDigit(a.charCodeAt(0)))break;bD=bD*16+_(a)}if(bD>1114111||a!=="}")this.throwUnexpectedToken();return y.Character.fromCodePoint(bD)},HD.prototype.getIdentifier=function(){var a=this.index++;while(!this.eof()){var bD=this.source.charCodeAt(this.index);if(bD===92)return this.index=a,this.getComplexIdentifier();else if(bD>=55296&&bD<57343)return this.index=a,this.getComplexIdentifier();if(y.Character.isIdentifierPart(bD))++this.index;else break}return this.source.slice(a,this.index)},HD.prototype.getComplexIdentifier=function(){var a=this.codePointAt(this.index),bD=y.Character.fromCodePoint(a);this.index+=bD.length;var ED;if(a===92){if(this.source.charCodeAt(this.index)!==117)this.throwUnexpectedToken();if(++this.index,this.source[this.index]==="{")++this.index,ED=this.scanUnicodeCodePointEscape();else if(ED=this.scanHexEscape("u"),ED===null||ED==="\\"||!y.Character.isIdentifierStart(ED.charCodeAt(0)))this.throwUnexpectedToken();bD=ED}while(!this.eof()){if(a=this.codePointAt(this.index),!y.Character.isIdentifierPart(a))break;if(ED=y.Character.fromCodePoint(a),bD+=ED,this.index+=ED.length,a===92){if(bD=bD.substr(0,bD.length-1),this.source.charCodeAt(this.index)!==117)this.throwUnexpectedToken();if(++this.index,this.source[this.index]==="{")++this.index,ED=this.scanUnicodeCodePointEscape();else if(ED=this.scanHexEscape("u"),ED===null||ED==="\\"||!y.Character.isIdentifierPart(ED.charCodeAt(0)))this.throwUnexpectedToken();bD+=ED}}return bD},HD.prototype.octalToDecimal=function(a){var bD=a!=="0",ED=VD(a);if(!this.eof()&&y.Character.isOctalDigit(this.source.charCodeAt(this.index))){if(bD=!0,ED=ED*8+VD(this.source[this.index++]),"0123".indexOf(a)>=0&&!this.eof()&&y.Character.isOctalDigit(this.source.charCodeAt(this.index)))ED=ED*8+VD(this.source[this.index++])}return{code:ED,octal:bD}},HD.prototype.scanIdentifier=function(){var a,bD=this.index,ED=this.source.charCodeAt(bD)===92?this.getComplexIdentifier():this.getIdentifier();if(ED.length===1)a=3;else if(this.isKeyword(ED))a=4;else if(ED==="null")a=5;else if(ED==="true"||ED==="false")a=1;else a=3;if(a!==3&&bD+ED.length!==this.index){var XD=this.index;this.index=bD,this.tolerateUnexpectedToken(x.Messages.InvalidEscapedReservedWord),this.index=XD}return{type:a,value:ED,lineNumber:this.lineNumber,lineStart:this.lineStart,start:bD,end:this.index}},HD.prototype.scanPunctuator=function(){var a=this.index,bD=this.source[this.index];switch(bD){case"(":case"{":if(bD==="{")this.curlyStack.push("{");++this.index;break;case".":if(++this.index,this.source[this.index]==="."&&this.source[this.index+1]===".")this.index+=2,bD="...";break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:if(bD=this.source.substr(this.index,4),bD===">>>=")this.index+=4;else if(bD=bD.substr(0,3),bD==="==="||bD==="!=="||bD===">>>"||bD==="<<="||bD===">>="||bD==="**=")this.index+=3;else if(bD=bD.substr(0,2),bD==="&&"||bD==="||"||bD==="=="||bD==="!="||bD==="+="||bD==="-="||bD==="*="||bD==="/="||bD==="++"||bD==="--"||bD==="<<"||bD===">>"||bD==="&="||bD==="|="||bD==="^="||bD==="%="||bD==="<="||bD===">="||bD==="=>"||bD==="**")this.index+=2;else if(bD=this.source[this.index],"<>=!+-*%&|^/".indexOf(bD)>=0)++this.index}if(this.index===a)this.throwUnexpectedToken();return{type:7,value:bD,lineNumber:this.lineNumber,lineStart:this.lineStart,start:a,end:this.index}},HD.prototype.scanHexLiteral=function(a){var bD="";while(!this.eof()){if(!y.Character.isHexDigit(this.source.charCodeAt(this.index)))break;bD+=this.source[this.index++]}if(bD.length===0)this.throwUnexpectedToken();if(y.Character.isIdentifierStart(this.source.charCodeAt(this.index)))this.throwUnexpectedToken();return{type:6,value:parseInt("0x"+bD,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:a,end:this.index}},HD.prototype.scanBinaryLiteral=function(a){var bD="",ED;while(!this.eof()){if(ED=this.source[this.index],ED!=="0"&&ED!=="1")break;bD+=this.source[this.index++]}if(bD.length===0)this.throwUnexpectedToken();if(!this.eof()){if(ED=this.source.charCodeAt(this.index),y.Character.isIdentifierStart(ED)||y.Character.isDecimalDigit(ED))this.throwUnexpectedToken()}return{type:6,value:parseInt(bD,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:a,end:this.index}},HD.prototype.scanOctalLiteral=function(a,bD){var ED="",XD=!1;if(y.Character.isOctalDigit(a.charCodeAt(0)))XD=!0,ED="0"+this.source[this.index++];else++this.index;while(!this.eof()){if(!y.Character.isOctalDigit(this.source.charCodeAt(this.index)))break;ED+=this.source[this.index++]}if(!XD&&ED.length===0)this.throwUnexpectedToken();if(y.Character.isIdentifierStart(this.source.charCodeAt(this.index))||y.Character.isDecimalDigit(this.source.charCodeAt(this.index)))this.throwUnexpectedToken();return{type:6,value:parseInt(ED,8),octal:XD,lineNumber:this.lineNumber,lineStart:this.lineStart,start:bD,end:this.index}},HD.prototype.isImplicitOctalLiteral=function(){for(var a=this.index+1;a<this.length;++a){var bD=this.source[a];if(bD==="8"||bD==="9")return!1;if(!y.Character.isOctalDigit(bD.charCodeAt(0)))return!0}return!0},HD.prototype.scanNumericLiteral=function(){var a=this.index,bD=this.source[a];C.assert(y.Character.isDecimalDigit(bD.charCodeAt(0))||bD===".","Numeric literal must start with a decimal digit or a decimal point");var ED="";if(bD!=="."){if(ED=this.source[this.index++],bD=this.source[this.index],ED==="0"){if(bD==="x"||bD==="X")return++this.index,this.scanHexLiteral(a);if(bD==="b"||bD==="B")return++this.index,this.scanBinaryLiteral(a);if(bD==="o"||bD==="O")return this.scanOctalLiteral(bD,a);if(bD&&y.Character.isOctalDigit(bD.charCodeAt(0))){if(this.isImplicitOctalLiteral())return this.scanOctalLiteral(bD,a)}}while(y.Character.isDecimalDigit(this.source.charCodeAt(this.index)))ED+=this.source[this.index++];bD=this.source[this.index]}if(bD==="."){ED+=this.source[this.index++];while(y.Character.isDecimalDigit(this.source.charCodeAt(this.index)))ED+=this.source[this.index++];bD=this.source[this.index]}if(bD==="e"||bD==="E"){if(ED+=this.source[this.index++],bD=this.source[this.index],bD==="+"||bD==="-")ED+=this.source[this.index++];if(y.Character.isDecimalDigit(this.source.charCodeAt(this.index)))while(y.Character.isDecimalDigit(this.source.charCodeAt(this.index)))ED+=this.source[this.index++];else this.throwUnexpectedToken()}if(y.Character.isIdentifierStart(this.source.charCodeAt(this.index)))this.throwUnexpectedToken();return{type:6,value:parseFloat(ED),lineNumber:this.lineNumber,lineStart:this.lineStart,start:a,end:this.index}},HD.prototype.scanStringLiteral=function(){var a=this.index,bD=this.source[a];C.assert(bD==="\'"||bD==='"',"String literal must starts with a quote"),++this.index;var ED=!1,XD="";while(!this.eof()){var UD=this.source[this.index++];if(UD===bD){bD="";break}else if(UD==="\\")if(UD=this.source[this.index++],!UD||!y.Character.isLineTerminator(UD.charCodeAt(0)))switch(UD){case"u":if(this.source[this.index]==="{")++this.index,XD+=this.scanUnicodeCodePointEscape();else{var TD=this.scanHexEscape(UD);if(TD===null)this.throwUnexpectedToken();XD+=TD}break;case"x":var nD=this.scanHexEscape(UD);if(nD===null)this.throwUnexpectedToken(x.Messages.InvalidHexEscapeSequence);XD+=nD;break;case"n":XD+="\n";break;case"r":XD+="\r";break;case"t":XD+="\t";break;case"b":XD+="\b";break;case"f":XD+="\f";break;case"v":XD+="\v";break;case"8":case"9":XD+=UD,this.tolerateUnexpectedToken();break;default:if(UD&&y.Character.isOctalDigit(UD.charCodeAt(0))){var Z0=this.octalToDecimal(UD);ED=Z0.octal||ED,XD+=String.fromCharCode(Z0.code)}else XD+=UD;break}else{if(++this.lineNumber,UD==="\r"&&this.source[this.index]==="\n")++this.index;this.lineStart=this.index}else if(y.Character.isLineTerminator(UD.charCodeAt(0)))break;else XD+=UD}if(bD!=="")this.index=a,this.throwUnexpectedToken();return{type:8,value:XD,octal:ED,lineNumber:this.lineNumber,lineStart:this.lineStart,start:a,end:this.index}},HD.prototype.scanTemplate=function(){var a="",bD=!1,ED=this.index,XD=this.source[ED]==="`",UD=!1,TD=2;++this.index;while(!this.eof()){var nD=this.source[this.index++];if(nD==="`"){TD=1,UD=!0,bD=!0;break}else if(nD==="$"){if(this.source[this.index]==="{"){this.curlyStack.push("${"),++this.index,bD=!0;break}a+=nD}else if(nD==="\\")if(nD=this.source[this.index++],!y.Character.isLineTerminator(nD.charCodeAt(0)))switch(nD){case"n":a+="\n";break;case"r":a+="\r";break;case"t":a+="\t";break;case"u":if(this.source[this.index]==="{")++this.index,a+=this.scanUnicodeCodePointEscape();else{var Z0=this.index,M0=this.scanHexEscape(nD);if(M0!==null)a+=M0;else this.index=Z0,a+=nD}break;case"x":var a1=this.scanHexEscape(nD);if(a1===null)this.throwUnexpectedToken(x.Messages.InvalidHexEscapeSequence);a+=a1;break;case"b":a+="\b";break;case"f":a+="\f";break;case"v":a+="\v";break;default:if(nD==="0"){if(y.Character.isDecimalDigit(this.source.charCodeAt(this.index)))this.throwUnexpectedToken(x.Messages.TemplateOctalLiteral);a+="\0"}else if(y.Character.isOctalDigit(nD.charCodeAt(0)))this.throwUnexpectedToken(x.Messages.TemplateOctalLiteral);else a+=nD;break}else{if(++this.lineNumber,nD==="\r"&&this.source[this.index]==="\n")++this.index;this.lineStart=this.index}else if(y.Character.isLineTerminator(nD.charCodeAt(0))){if(++this.lineNumber,nD==="\r"&&this.source[this.index]==="\n")++this.index;this.lineStart=this.index,a+="\n"}else a+=nD}if(!bD)this.throwUnexpectedToken();if(!XD)this.curlyStack.pop();return{type:10,value:this.source.slice(ED+1,this.index-TD),cooked:a,head:XD,tail:UD,lineNumber:this.lineNumber,lineStart:this.lineStart,start:ED,end:this.index}},HD.prototype.testRegExp=function(a,bD){var ED="\uFFFF",XD=a,UD=this;if(bD.indexOf("u")>=0)XD=XD.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(TD,nD,Z0){var M0=parseInt(nD||Z0,16);if(M0>1114111)UD.throwUnexpectedToken(x.Messages.InvalidRegExp);if(M0<=65535)return String.fromCharCode(M0);return ED}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ED);try{RegExp(XD)}catch(TD){this.throwUnexpectedToken(x.Messages.InvalidRegExp)}try{return new RegExp(a,bD)}catch(TD){return null}},HD.prototype.scanRegExpBody=function(){var a=this.source[this.index];C.assert(a==="/","Regular expression literal must start with a slash");var bD=this.source[this.index++],ED=!1,XD=!1;while(!this.eof())if(a=this.source[this.index++],bD+=a,a==="\\"){if(a=this.source[this.index++],y.Character.isLineTerminator(a.charCodeAt(0)))this.throwUnexpectedToken(x.Messages.UnterminatedRegExp);bD+=a}else if(y.Character.isLineTerminator(a.charCodeAt(0)))this.throwUnexpectedToken(x.Messages.UnterminatedRegExp);else if(ED){if(a==="]")ED=!1}else if(a==="/"){XD=!0;break}else if(a==="[")ED=!0;if(!XD)this.throwUnexpectedToken(x.Messages.UnterminatedRegExp);return bD.substr(1,bD.length-2)},HD.prototype.scanRegExpFlags=function(){var a="",bD="";while(!this.eof()){var ED=this.source[this.index];if(!y.Character.isIdentifierPart(ED.charCodeAt(0)))break;if(++this.index,ED==="\\"&&!this.eof())if(ED=this.source[this.index],ED==="u"){++this.index;var XD=this.index,UD=this.scanHexEscape("u");if(UD!==null){bD+=UD;for(a+="\\u";XD<this.index;++XD)a+=this.source[XD]}else this.index=XD,bD+="u",a+="\\u";this.tolerateUnexpectedToken()}else a+="\\",this.tolerateUnexpectedToken();else bD+=ED,a+=ED}return bD},HD.prototype.scanRegExp=function(){var a=this.index,bD=this.scanRegExpBody(),ED=this.scanRegExpFlags(),XD=this.testRegExp(bD,ED);return{type:9,value:"",pattern:bD,flags:ED,regex:XD,lineNumber:this.lineNumber,lineStart:this.lineStart,start:a,end:this.index}},HD.prototype.lex=function(){if(this.eof())return{type:2,value:"",lineNumber:this.lineNumber,lineStart:this.lineStart,start:this.index,end:this.index};var a=this.source.charCodeAt(this.index);if(y.Character.isIdentifierStart(a))return this.scanIdentifier();if(a===40||a===41||a===59)return this.scanPunctuator();if(a===39||a===34)return this.scanStringLiteral();if(a===46){if(y.Character.isDecimalDigit(this.source.charCodeAt(this.index+1)))return this.scanNumericLiteral();return this.scanPunctuator()}if(y.Character.isDecimalDigit(a))return this.scanNumericLiteral();if(a===96||a===125&&this.curlyStack[this.curlyStack.length-1]==="${")return this.scanTemplate();if(a>=55296&&a<57343){if(y.Character.isIdentifierStart(this.codePointAt(this.index)))return this.scanIdentifier()}return this.scanPunctuator()},HD}();K.Scanner=OD},function(Q,K){Object.defineProperty(K,"__esModule",{value:!0}),K.TokenName={},K.TokenName[1]="Boolean",K.TokenName[2]="<end>",K.TokenName[3]="Identifier",K.TokenName[4]="Keyword",K.TokenName[5]="Null",K.TokenName[6]="Numeric",K.TokenName[7]="Punctuator",K.TokenName[8]="String",K.TokenName[9]="RegularExpression",K.TokenName[10]="Template"},function(Q,K){Object.defineProperty(K,"__esModule",{value:!0}),K.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",lang:"\u27E8",rang:"\u27E9"}},function(Q,K,G){Object.defineProperty(K,"__esModule",{value:!0});var C=G(10),y=G(12),x=G(13),_=function(){function OD(){this.values=[],this.curly=this.paren=-1}return OD.prototype.beforeFunctionExpression=function(HD){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(HD)>=0},OD.prototype.isRegexStart=function(){var HD=this.values[this.values.length-1],a=HD!==null;switch(HD){case"this":case"]":a=!1;break;case")":var bD=this.values[this.paren-1];a=bD==="if"||bD==="while"||bD==="for"||bD==="with";break;case"}":if(a=!1,this.values[this.curly-3]==="function"){var ED=this.values[this.curly-4];a=ED?!this.beforeFunctionExpression(ED):!1}else if(this.values[this.curly-4]==="function"){var ED=this.values[this.curly-5];a=ED?!this.beforeFunctionExpression(ED):!0}break;default:break}return a},OD.prototype.push=function(HD){if(HD.type===7||HD.type===4){if(HD.value==="{")this.curly=this.values.length;else if(HD.value==="(")this.paren=this.values.length;this.values.push(HD.value)}else this.values.push(null)},OD}(),VD=function(){function OD(HD,a){this.errorHandler=new C.ErrorHandler,this.errorHandler.tolerant=a?typeof a.tolerant==="boolean"&&a.tolerant:!1,this.scanner=new y.Scanner(HD,this.errorHandler),this.scanner.trackComment=a?typeof a.comment==="boolean"&&a.comment:!1,this.trackRange=a?typeof a.range==="boolean"&&a.range:!1,this.trackLoc=a?typeof a.loc==="boolean"&&a.loc:!1,this.buffer=[],this.reader=new _}return OD.prototype.errors=function(){return this.errorHandler.errors},OD.prototype.getNextToken=function(){if(this.buffer.length===0){var HD=this.scanner.scanComments();if(this.scanner.trackComment)for(var a=0;a<HD.length;++a){var bD=HD[a],ED=this.scanner.source.slice(bD.slice[0],bD.slice[1]),XD={type:bD.multiLine?"BlockComment":"LineComment",value:ED};if(this.trackRange)XD.range=bD.range;if(this.trackLoc)XD.loc=bD.loc;this.buffer.push(XD)}if(!this.scanner.eof()){var UD=void 0;if(this.trackLoc)UD={start:{line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart},end:{}};var TD=this.scanner.source[this.scanner.index]==="/"&&this.reader.isRegexStart(),nD=TD?this.scanner.scanRegExp():this.scanner.lex();this.reader.push(nD);var Z0={type:x.TokenName[nD.type],value:this.scanner.source.slice(nD.start,nD.end)};if(this.trackRange)Z0.range=[nD.start,nD.end];if(this.trackLoc)UD.end={line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart},Z0.loc=UD;if(nD.type===9){var{pattern:M0,flags:a1}=nD;Z0.regex={pattern:M0,flags:a1}}this.buffer.push(Z0)}}return this.buffer.shift()},OD}();K.Tokenizer=VD}])})});var $rD=r0((Ke0,f5D)=>{(function(){var Q,K,G=Object.prototype.toString;if(typeof f5D==="object"&&typeof Ke0==="object"&&typeof i8==="function")Q=FrD(),K=function(y){f5D.exports=y},C(Q,K);else if(typeof define==="function"&&define.amd)define(["esprima"],function(y){return C(y)});else if(typeof window==="object")window.redeyed=C(window.esprima);function C(y,x){function _(Z0){return G.call(Z0)==="[object Function]"}function VD(Z0){return G.call(Z0)==="[object String]"}function OD(Z0){return G.call(Z0)==="[object Object]"}function HD(Z0,M0){return function(a1){return Z0+a1+M0}}function a(Z0){return Z0!=="_parent"}function bD(Z0){var M0=Z0.split(":");if(M0.length===0||M0.length>2)throw new Error("illegal string config: "+Z0+'\nShould be of format "before:after"');if(M0.length===1||M0[1].length===0)return M0.indexOf(":")<0?{_before:M0[0]}:{_after:M0[0]};else return{_before:M0[0],_after:M0[1]}}function ED(Z0){function M0(D8,C8){if(!D8._parent)return;if(D8._parent._default&&D8._parent._default[C8])return D8._parent._default[C8];var V6=D8._parent._parent;if(!V6)return;return V6._default?V6._default[C8]:void 0}function a1(D8){var C8=Z0[D8];if(!C8)return;if(_(C8))return;if(VD(C8))Z0[D8]=C8=bD(C8);if(C8._parent=Z0,OD(C8)){if(!C8._before&&!C8._after)return ED(C8);C8._before=C8._before||M0(C8,"_before"),C8._after=C8._after||M0(C8,"_after");return}throw new Error("nodes need to be either {String}, {Object} or {Function}."+C8+" is neither.")}if(Z0._default)a1("_default");Object.keys(Z0).filter(function(D8){return a(D8)&&Z0.hasOwnProperty(D8)&&D8!=="_before"&&D8!=="_after"&&D8!=="_default"}).forEach(a1)}function XD(Z0){Object.keys(Z0).filter(function(M0){return a(M0)&&Z0.hasOwnProperty(M0)}).forEach(function(M0){var a1=Z0[M0];if(_(a1))return;if(OD(a1)){if(!a1._before&&!a1._after)return XD(a1);var D8=a1._before||"",C8=a1._after||"";return Z0[M0]=HD(D8,C8),Z0[M0]}})}function UD(Z0){ED(Z0),XD(Z0)}function TD(Z0,M0){var a1={};function D8(C8){a1[C8.range[0]]=C8}return Z0.forEach(D8),M0.forEach(D8),Object.keys(a1).map(function(C8){return a1[C8]})}function nD(Z0,M0,a1){a1=a1||{};var D8=a1.parser||y,C8=!!a1.jsx,V6=C8||!!a1.buildAst,$8="",U6,VF,$7,a0=0,y9=[],S7,K1,$5;if(Z0[0]==="#"&&Z0[1]==="!")$8=Z0.substr(0,Z0.indexOf("\n")+1),Z0=Array.apply(0,Array($8.length)).join(" ")+"\n"+Z0.substr($8.length);if(V6)U6=D8.parse(Z0,{tokens:!0,comment:!0,range:!0,loc:!0,tolerant:!0,jsx:!0}),VF=U6.tokens,$7=U6.comments;else VF=[],$7=[],D8.tokenize(Z0,{range:!0,loc:!0,comment:!0},function(r4){if(r4.type==="LineComment")r4.type="Line",$7.push(r4);else if(r4.type==="BlockComment")r4.type="Block",$7.push(r4);else{if(r4.type==="Identifier"&&r4.value==="static")r4.type="Keyword";VF.push(r4)}});UD(M0);function R8(r4,Z7,y3){var QJ,_6=Z7.range[0];for(QJ=y3;QJ<r4.length;QJ++)if(r4[QJ].range[0]===_6)return QJ;throw new Error("Token %s not found at or after index: %d",Z7,y3)}function _9(r4){var Z7,y3,QJ,_6=0,e9;if(Z7=r4(Z0.slice(m5,qZ),$5),OD(Z7))y9.push(Z7.replacement),y3=$5.tokenIndex,QJ=R8($5.tokens,Z7.skipPastToken,y3),_6=QJ-y3,e9=_6>0?VF[QJ-1].range[1]:qZ;else y9.push(Z7),e9=qZ;return{skip:_6,splitEnd:e9}}function h5(r4,Z7,y3,QJ){var _6,e9=0;if(r4>=Z7)return;if(y3)_6=_9(y3),e9=_6.skip,a0=_6.splitEnd;else y9.push(Z0.slice(r4,Z7)),a0=Z7;return e9}K1=TD(VF,$7);for(var M2=0;M2<K1.length;M2++){var h2=K1[M2],$2=M0[h2.type],xX,m5,qZ;if($2)xX=$2&&$2.hasOwnProperty(h2.value)&&$2[h2.value]&&_($2[h2.value])?$2[h2.value]:$2._default,m5=h2.range[0],qZ=h2.range[1],h5(a0,m5),$5={tokenIndex:M2,tokens:K1,ast:U6,code:Z0},M2+=h5(m5,qZ,xX,$5)}if(a0<Z0.length)h5(a0,Z0.length);if(!a1.nojoin){if(S7=y9.join(""),$8.length>0)S7=$8+S7.substr($8.length)}return{ast:U6,tokens:VF,comments:$7,splits:y9,code:S7}}return x?x(nD):nD}})()});var v5D=r0((We0,BrD)=>{var ZrD={white:37,black:30,blue:34,cyan:36,green:32,magenta:35,red:31,yellow:33,brightBlack:90,brightRed:91,brightGreen:92,brightYellow:93,brightBlue:94,brightMagenta:95,brightCyan:96,brightWhite:97},JrD={bgBlack:40,bgRed:41,bgGreen:42,bgYellow:43,bgBlue:44,bgMagenta:45,bgCyan:46,bgWhite:47,bgBrightBlack:100,bgBrightRed:101,bgBrightGreen:102,bgBrightYellow:103,bgBrightBlue:104,bgBrightMagenta:105,bgBrightCyan:106,bgBrightWhite:107},wGD={},SGD={},rd={};Object.keys(ZrD).forEach(function(Q){var K=wGD[Q]="\x1B["+ZrD[Q]+"m",G=SGD[Q]="\x1B[39m";rd[Q]=function(C){return K+C+G}});Object.keys(JrD).forEach(function(Q){var K=wGD[Q]="\x1B["+JrD[Q]+"m",G=SGD[Q]="\x1B[49m";rd[Q]=function(C){return K+C+G}});BrD.exports=rd;rd.open=wGD;rd.close=SGD});var YrD=r0((Ue0,XrD)=>{var S9=v5D();XrD.exports={Boolean:{true:void 0,false:void 0,_default:S9.brightRed},Identifier:{undefined:S9.brightBlack,self:S9.brightRed,console:S9.blue,log:S9.blue,warn:S9.red,error:S9.brightRed,_default:S9.white},Null:{_default:S9.brightBlack},Numeric:{_default:S9.blue},String:{_default:function(Q,K){var G=K.tokens[K.tokenIndex+1];return G&&G.type==="Punctuator"&&G.value===":"?S9.green(Q):S9.brightGreen(Q)}},Keyword:{break:void 0,case:void 0,catch:S9.cyan,class:void 0,const:void 0,continue:void 0,debugger:void 0,default:void 0,delete:S9.red,do:void 0,else:void 0,enum:void 0,export:void 0,extends:void 0,finally:S9.cyan,for:void 0,function:void 0,if:void 0,implements:void 0,import:void 0,in:void 0,instanceof:void 0,let:void 0,new:S9.red,package:void 0,private:void 0,protected:void 0,public:void 0,return:S9.red,static:void 0,super:void 0,switch:void 0,this:S9.brightRed,throw:void 0,try:S9.cyan,typeof:void 0,var:S9.green,void:void 0,while:void 0,with:void 0,yield:void 0,_default:S9.brightBlue},Punctuator:{";":S9.brightBlack,".":S9.green,",":S9.green,"{":S9.yellow,"}":S9.yellow,"(":S9.brightBlack,")":S9.brightBlack,"[":S9.yellow,"]":S9.yellow,"<":void 0,">":void 0,"+":void 0,"-":void 0,"*":void 0,"%":void 0,"&":void 0,"|":void 0,"^":void 0,"!":void 0,"~":void 0,"?":void 0,":":void 0,"=":void 0,"<=":void 0,">=":void 0,"==":void 0,"!=":void 0,"++":void 0,"--":void 0,"<<":void 0,">>":void 0,"&&":void 0,"||":void 0,"+=":void 0,"-=":void 0,"*=":void 0,"%=":void 0,"&=":void 0,"|=":void 0,"^=":void 0,"/=":void 0,"=>":void 0,"**":void 0,"===":void 0,"!==":void 0,">>>":void 0,"<<=":void 0,">>=":void 0,"...":void 0,"**=":void 0,">>>=":void 0,_default:S9.brightYellow},Line:{_default:S9.brightBlack},Block:{_default:S9.brightBlack},JSXAttribute:{_default:S9.magenta},JSXClosingElement:{_default:S9.magenta},JSXElement:{_default:S9.magenta},JSXEmptyExpression:{_default:S9.magenta},JSXExpressionContainer:{_default:S9.magenta},JSXIdentifier:{className:S9.blue,_default:S9.magenta},JSXMemberExpression:{_default:S9.magenta},JSXNamespacedName:{_default:S9.magenta},JSXOpeningElement:{_default:S9.magenta},JSXSpreadAttribute:{_default:S9.magenta},JSXText:{_default:S9.brightGreen},_default:void 0}});var b5D=r0((Ge0,QrD)=>{var F_0=function(Q){var K=Q.pop();while(!K||!K.length)K=Q.pop();if(K)Q.push(K)},$_0=function(Q,K){var G=Q.split("\n");F_0(G);var C=G.length,y=[],x,_;function VD(a){if(a<10)return 1;if(a<100)return 2;if(a<1000)return 3;if(a<1e4)return 4;return 5}function OD(a,bD){var ED=bD-VD(a);switch(ED){case 0:return""+a;case 1:return" "+a;case 2:return" "+a;case 3:return" "+a;case 4:return" "+a;case 5:return" "+a}}x=VD(C+K-1);for(var HD=0;HD<C;HD++)_=eh0(OD(HD+K,x)+": ").replace(D_0,""),y.push(_+G[HD]);return y.join("\n")},sh0=$rD(),ah0=YrD(),th0=v5D(),eh0=th0.brightBlack,D_0="\x1B[39m";QrD.exports=function Q(K,G){G=G||{};try{var C=sh0(K,G.theme||ah0,{jsx:!!G.jsx}),y=G.firstline&&!isNaN(G.firstline)?G.firstline:1;return G.linenos?$_0(C.code,y):C.code}catch(x){throw x.message="Unable to perform highlight. The code contained syntax errors: "+x.message,x}}});var zrD=r0((He0,VrD)=>{var B_0=function(Q){return toString.call(Q)==="[object Function]"},Z_0=i8("fs"),J_0=b5D();VrD.exports=function Q(K,G,C){if(B_0(G))C=G,G={};G=G||{},Z_0.readFile(K,"utf-8",function(y,x){if(y)return C(y);try{C(null,J_0(x,G))}catch(_){C(_)}})}});var qrD=r0((Me0,KrD)=>{var X_0=i8("fs"),Y_0=b5D();KrD.exports=function Q(K,G){var C=X_0.readFileSync(K,"utf-8");return G=G||{},Y_0(C,G)}});var UrD=r0((Oe0,WrD)=>{WrD.exports={highlight:b5D(),highlightFile:zrD(),highlightFileSync:qrD()}});var HrD=r0((je0,GrD)=>{var I3=v5D();GrD.exports={Boolean:{true:void 0,false:void 0,_default:I3.brightRed},Identifier:{undefined:I3.brightBlack,self:I3.brightRed,console:I3.blue,log:I3.blue,warn:I3.red,error:I3.brightRed,_default:I3.white},Null:{_default:I3.brightBlack},Numeric:{_default:I3.blue},String:{_default:function(Q,K){var G=K.tokens[K.tokenIndex+1];return G&&G.type==="Punctuator"&&G.value===":"?I3.brightBlue(Q):I3.brightGreen(Q)}},Keyword:{break:void 0,case:void 0,catch:I3.cyan,class:void 0,const:void 0,continue:void 0,debugger:void 0,default:void 0,delete:I3.red,do:void 0,else:void 0,enum:void 0,export:void 0,extends:void 0,finally:I3.cyan,for:void 0,function:void 0,if:void 0,implements:void 0,import:void 0,in:void 0,instanceof:void 0,let:void 0,new:I3.red,package:void 0,private:void 0,protected:void 0,public:void 0,return:I3.red,static:void 0,super:void 0,switch:void 0,this:I3.brightRed,throw:void 0,try:I3.cyan,typeof:void 0,var:I3.green,void:void 0,while:void 0,with:void 0,yield:void 0,_default:I3.brightBlue},Punctuator:{";":I3.brightBlack,".":I3.green,",":I3.green,"{":I3.brightWhite,"}":I3.brightWhite,"(":I3.brightBlack,")":I3.brightBlack,"[":I3.brightWhite,"]":I3.brightWhite,"<":void 0,">":void 0,"+":void 0,"-":void 0,"*":void 0,"%":void 0,"&":void 0,"|":void 0,"^":void 0,"!":void 0,"~":void 0,"?":void 0,":":void 0,"=":void 0,"<=":void 0,">=":void 0,"==":void 0,"!=":void 0,"++":void 0,"--":void 0,"<<":void 0,">>":void 0,"&&":void 0,"||":void 0,"+=":void 0,"-=":void 0,"*=":void 0,"%=":void 0,"&=":void 0,"|=":void 0,"^=":void 0,"/=":void 0,"=>":void 0,"**":void 0,"===":void 0,"!==":void 0,">>>":void 0,"<<=":void 0,">>=":void 0,"...":void 0,"**=":void 0,">>>=":void 0,_default:I3.brightYellow},Line:{_default:I3.brightBlack},Block:{_default:I3.brightBlack},_default:void 0}});var LrD=r0((OrD)=>{Object.defineProperty(OrD,"__esModule",{value:!0});OrD.ExitError=void 0;class MrD extends Error{code;error;ux;constructor(Q,K){super(K?K.message:`EEXIT: ${Q}`);this.error=K,this.ux={exit:Q},this.code="EEXIT"}}OrD.ExitError=MrD});var od=r0((NF)=>{var Q_0=NF&&NF.__createBinding||(Object.create?function(Q,K,G,C){if(C===void 0)C=G;var y=Object.getOwnPropertyDescriptor(K,G);if(!y||("get"in y?!K.__esModule:y.writable||y.configurable))y={enumerable:!0,get:function(){return K[G]}};Object.defineProperty(Q,C,y)}:function(Q,K,G,C){if(C===void 0)C=G;Q[C]=K[G]}),V_0=NF&&NF.__setModuleDefault||(Object.create?function(Q,K){Object.defineProperty(Q,"default",{enumerable:!0,value:K})}:function(Q,K){Q.default=K}),bGD=NF&&NF.__importStar||function(Q){if(Q&&Q.__esModule)return Q;var K={};if(Q!=null){for(var G in Q)if(G!=="default"&&Object.prototype.hasOwnProperty.call(Q,G))Q_0(K,Q,G)}return V_0(K,Q),K},h5D=NF&&NF.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(NF,"__esModule",{value:!0});NF.write=NF.colorize=NF.Table=NF.ExitError=NF.config=NF.Config=NF.ActionBase=NF.warn=NF.wait=NF.url=NF.tree=NF.trace=NF.table=NF.styledObject=NF.styledJSON=NF.styledHeader=NF.prompt=NF.progress=NF.logToStderr=NF.log=NF.info=NF.flush=NF.exit=NF.error=NF.done=NF.debug=NF.confirm=NF.anykey=NF.annotation=NF.action=NF.ux=void 0;var uGD=h5D(CK()),x5D=i8("node:util"),z_0=bGD(eq()),fGD=W5D(),K_0=U5D(),vGD=bGD(olD()),k5D=bGD(NGD()),q_0=h5D(nnD()),ArD=h5D(gC()),W_0=onD();class _5D{static config=fGD.config;static get action(){return fGD.config.action}static annotation(Q,K){if(yGD().stdout)this.log(`\x1B]1337;AddAnnotation=${Q.length}|${K}\x07${Q}`);else this.log(Q)}static get anykey(){return vGD.anykey}static get confirm(){return vGD.confirm}static debug(Q,...K){if(["debug","trace"].includes(this.config.outputLevel))this.info(x5D.format(Q,...K)+"\n")}static async done(){fGD.config.action.stop()}static async flush(Q=1e4){await K_0.flush(Q)}static info(Q,...K){ArD.default.stdout(x5D.format(Q,...K)+"\n")}static log(Q,...K){this.info(Q||"",...K)}static logToStderr(Q,...K){ArD.default.stderr(x5D.format(Q,...K)+"\n")}static get progress(){return k5D.progress}static get prompt(){return vGD.prompt}static styledHeader(Q){this.info(uGD.default.dim("=== ")+uGD.default.bold(Q)+"\n")}static styledJSON(Q){const K=JSON.stringify(Q,null,2);if(!uGD.default.level){this.info(K);return}const G=UrD(),C=HrD();this.info(G.highlight(K,{json:!0,theme:C}))}static styledObject(Q,K){this.info(k5D.styledObject(Q,K))}static get table(){return k5D.Table.table}static trace(Q,...K){if(this.config.outputLevel==="trace")this.info(x5D.format(Q,...K)+"\n")}static get tree(){return k5D.tree}static url(Q,K,G={}){if(yGD().stdout)this.log(W_0(Q,K,G));else this.log(K)}static get wait(){return q_0.default}}NF.ux=_5D;var{action:U_0,annotation:G_0,anykey:H_0,confirm:M_0,debug:O_0,done:j_0,flush:L_0,info:A_0,log:C_0,logToStderr:E_0,progress:N_0,prompt:T_0,styledHeader:R_0,styledJSON:I_0,styledObject:y_0,table:P_0,trace:w_0,tree:S_0,url:u_0,wait:f_0}=_5D;NF.action=U_0;NF.annotation=G_0;NF.anykey=H_0;NF.confirm=M_0;NF.debug=O_0;NF.done=j_0;NF.flush=L_0;NF.info=A_0;NF.log=C_0;NF.logToStderr=E_0;NF.progress=N_0;NF.prompt=T_0;NF.styledHeader=R_0;NF.styledJSON=I_0;NF.styledObject=y_0;NF.table=P_0;NF.trace=w_0;NF.tree=S_0;NF.url=u_0;NF.wait=f_0;var{error:v_0,exit:b_0,warn:x_0}=z_0;NF.error=v_0;NF.exit=b_0;NF.warn=x_0;var CrD=async()=>{try{await _5D.done()}catch(Q){console.error(Q),process.exitCode=1}},k_0=process.listeners("exit").find((Q)=>Q.name===CrD.name);if(!k_0)process.once("exit",CrD);var h_0=Q5D();Object.defineProperty(NF,"ActionBase",{enumerable:!0,get:function(){return h_0.ActionBase}});var ErD=W5D();Object.defineProperty(NF,"Config",{enumerable:!0,get:function(){return ErD.Config}});Object.defineProperty(NF,"config",{enumerable:!0,get:function(){return ErD.config}});var __0=LrD();Object.defineProperty(NF,"ExitError",{enumerable:!0,get:function(){return __0.ExitError}});var g_0=NGD();Object.defineProperty(NF,"Table",{enumerable:!0,get:function(){return g_0.Table}});var m_0=TR();Object.defineProperty(NF,"colorize",{enumerable:!0,get:function(){return m_0.colorize}});var d_0=gC();Object.defineProperty(NF,"write",{enumerable:!0,get:function(){return h5D(d_0).default}})});var RrD=r0((NrD)=>{Object.defineProperty(NrD,"__esModule",{value:!0});NrD.stderr=NrD.stdout=void 0;class xGD{channel;constructor(Q){this.channel=Q}get isTTY(){return process[this.channel].isTTY}emit(Q,...K){return process[this.channel].emit(Q,...K)}getWindowSize(){return process[this.channel].getWindowSize()}on(Q,K){return process[this.channel].on(Q,K),this}once(Q,K){return process[this.channel].once(Q,K),this}read(){return process[this.channel].read()}write(Q){return process[this.channel].write(Q)}}NrD.stdout=new xGD("stdout");NrD.stderr=new xGD("stderr")});var PrD=r0((Ee0,yrD)=>{var l_0=function(){try{return IrD.statSync("/.dockerenv"),!0}catch(Q){return!1}},i_0=function(){try{return IrD.readFileSync("/proc/self/cgroup","utf8").includes("docker")}catch(Q){return!1}},IrD=i8("fs"),kGD;yrD.exports=()=>{if(kGD===void 0)kGD=l_0()||i_0();return kGD}});var urD=r0((Ne0,hGD)=>{var p_0=i8("os"),n_0=i8("fs"),wrD=PrD(),SrD=()=>{if(process.platform!=="linux")return!1;if(p_0.release().toLowerCase().includes("microsoft")){if(wrD())return!1;return!0}try{return n_0.readFileSync("/proc/version","utf8").toLowerCase().includes("microsoft")?!wrD():!1}catch(Q){return!1}};if(process.env.__IS_WSL_TEST__)hGD.exports=SrD;else hGD.exports=SrD()});var Bf=r0((vrD)=>{Object.defineProperty(vrD,"__esModule",{value:!0});vrD.Performance=vrD.OCLIF_MARKER_OWNER=void 0;var sd=i8("node:perf_hooks"),r_0=dC();vrD.OCLIF_MARKER_OWNER="@oclif/core";class frD{owner;name;details;method;module;scope;stopped=!1;startMarker;stopMarker;constructor(Q,K,G={}){this.owner=Q,this.name=K,this.details=G,this.startMarker=`${this.name}-start`,this.stopMarker=`${this.name}-stop`;const[C,y]=K.split("#"),[x,_]=C.split(".");this.module=x,this.method=_,this.scope=y,sd.performance.mark(this.startMarker)}addDetails(Q){this.details={...this.details,...Q}}measure(){sd.performance.measure(this.name,this.startMarker,this.stopMarker)}stop(){this.stopped=!0,sd.performance.mark(this.stopMarker)}}class j4{static _oclifPerf;static _results=new Map;static markers=new Map;static async collect(){if(!j4.enabled)return;if(j4._results.size>0)return;const Q=[...j4.markers.values()];if(Q.length===0)return;for(let K of Q.filter((G)=>!G.stopped))K.stop();return new Promise((K)=>{new sd.PerformanceObserver((C)=>{for(let a of C.getEntries()){const bD=j4.markers.get(a.name);if(bD){const ED={details:bD.details,duration:a.duration,method:bD.method,module:bD.module,name:a.name,scope:bD.scope},XD=j4._results.get(bD.owner)??[];j4._results.set(bD.owner,[...XD,ED])}}const y=j4._results.get(vrD.OCLIF_MARKER_OWNER)??[],x=y.find((a)=>a.name.startsWith("config.runCommand")),_=x?j4.getResult(vrD.OCLIF_MARKER_OWNER,`plugin.findCommand#${x.details.plugin}.${x.details.command}`)?.duration??0:0,VD=Object.fromEntries(y.filter(({name:a})=>a.startsWith("plugin.load#")).sort((a,bD)=>bD.duration-a.duration).map(({details:a,duration:bD,scope:ED})=>[ED,{details:a,duration:bD}])),OD=y.filter(({name:a})=>a.startsWith("config.runHook#")).reduce((a,bD)=>{const ED=bD.details.event;if(ED){if(!a[ED])a[ED]={};a[ED][bD.scope]=bD.duration}else{const XD=bD.scope;if(!a[XD])a[XD]={};a[XD].total=bD.duration}return a},{}),HD=Object.fromEntries(y.filter(({name:a})=>a.startsWith("config.loadPlugins#")).sort((a,bD)=>bD.duration-a.duration).map(({duration:a,scope:bD})=>[bD,a]));j4._oclifPerf={hookRunTimes:OD,"oclif.commandLoadMs":_,"oclif.commandRunMs":y.find(({name:a})=>a.startsWith("config.runCommand#"))?.duration??0,"oclif.configLoadMs":j4.getResult(vrD.OCLIF_MARKER_OWNER,"config.load")?.duration??0,"oclif.corePluginsLoadMs":HD.core??0,"oclif.initHookMs":OD.init?.total??0,"oclif.initMs":j4.getResult(vrD.OCLIF_MARKER_OWNER,"main.run#init")?.duration??0,"oclif.linkedPluginsLoadMs":HD.link??0,"oclif.postrunHookMs":OD.postrun?.total??0,"oclif.prerunHookMs":OD.prerun?.total??0,"oclif.runMs":j4.getResult(vrD.OCLIF_MARKER_OWNER,"main.run")?.duration??0,"oclif.userPluginsLoadMs":HD.user??0,pluginLoadTimes:VD},K()}).observe({buffered:!0,entryTypes:["measure"]});for(let C of Q)try{C.measure()}catch{}sd.performance.clearMarks()})}static debug(){if(!j4.enabled)return;const Q=i8("debug")("oclif-perf"),K=(process.uptime()*1000).toFixed(4);Q("Process Uptime: %sms",K),Q("Oclif Time: %sms",j4.oclifPerf["oclif.runMs"].toFixed(4)),Q("Init Time: %sms",j4.oclifPerf["oclif.initMs"].toFixed(4)),Q("Config Load Time: %sms",j4.oclifPerf["oclif.configLoadMs"].toFixed(4)),Q(" \u2022 Root Plugin Load Time: %sms",j4.getResult(vrD.OCLIF_MARKER_OWNER,"plugin.load#root")?.duration.toFixed(4)??0),Q(" \u2022 Plugins Load Time: %sms",j4.getResult(vrD.OCLIF_MARKER_OWNER,"config.loadAllPlugins")?.duration.toFixed(4)??0),Q(" \u2022 Commands Load Time: %sms",j4.getResult(vrD.OCLIF_MARKER_OWNER,"config.loadAllCommands")?.duration.toFixed(4)??0),Q("Core Plugin Load Time: %sms",j4.oclifPerf["oclif.corePluginsLoadMs"].toFixed(4)),Q("User Plugin Load Time: %sms",j4.oclifPerf["oclif.userPluginsLoadMs"].toFixed(4)),Q("Linked Plugin Load Time: %sms",j4.oclifPerf["oclif.linkedPluginsLoadMs"].toFixed(4)),Q("Plugin Load Times:");for(let[y,x]of Object.entries(j4.oclifPerf.pluginLoadTimes))if(x.details.hasManifest)Q(` ${y}: ${x.duration.toFixed(4)}ms`);else Q(` ${y}: ${x.duration.toFixed(4)}ms (no manifest!)`);Q("Hook Run Times:");for(let[y,x]of Object.entries(j4.oclifPerf.hookRunTimes)){Q(` ${y}:`);for(let[_,VD]of Object.entries(x))Q(` ${_}: ${VD.toFixed(4)}ms`)}if(Q("Command Load Time: %sms",j4.oclifPerf["oclif.commandLoadMs"].toFixed(4)),Q("Command Run Time: %sms",j4.oclifPerf["oclif.commandRunMs"].toFixed(4)),j4.oclifPerf["oclif.configLoadMs"]>j4.oclifPerf["oclif.runMs"])Q("! Config load time is greater than total oclif time. This might mean that Config was instantiated before oclif was run.");const G=i8("debug")("non-oclif-perf"),C=j4.results;if(C.size>0){G("Non-Core Performance Measurements:");for(let[y,x]of C){G(` ${y}:`);for(let _ of x)G(` ${_.name}: ${_.duration.toFixed(4)}ms`)}}}static get enabled(){return r_0.settings.performanceEnabled??!1}static getResult(Q,K){return j4._results.get(Q)?.find((G)=>G.name===K)}static mark(Q,K,G={}){if(!j4.enabled)return;const C=new frD(Q,K,G);return j4.markers.set(C.name,C),C}static get oclifPerf(){if(!j4.enabled)return{};if(j4._oclifPerf)return j4._oclifPerf;throw new Error("Perf results not available. Did you forget to call await Performance.collect()?")}static get results(){if(!j4.enabled)return new Map;return new Map([...j4._results.entries()].filter(([Q])=>Q!==vrD.OCLIF_MARKER_OWNER))}}vrD.Performance=j4});var _rD=r0((krD)=>{var o_0=function(){return xrD.homedir()},s_0=function(){return xrD.platform()};Object.defineProperty(krD,"__esModule",{value:!0});krD.getPlatform=krD.getHomeDir=void 0;var xrD=i8("node:os");krD.getHomeDir=o_0;krD.getPlatform=s_0});var lrD=r0((Ie0,crD)=>{var mrD=function(Q,K,G){if(Q instanceof RegExp)Q=grD(Q,G);if(K instanceof RegExp)K=grD(K,G);var C=drD(Q,K,G);return C&&{start:C[0],end:C[1],pre:G.slice(0,C[0]),body:G.slice(C[0]+Q.length,C[1]),post:G.slice(C[1]+K.length)}},grD=function(Q,K){var G=K.match(Q);return G?G[0]:null},drD=function(Q,K,G){var C,y,x,_,VD,OD=G.indexOf(Q),HD=G.indexOf(K,OD+1),a=OD;if(OD>=0&&HD>0){if(Q===K)return[OD,HD];C=[],x=G.length;while(a>=0&&!VD){if(a==OD)C.push(a),OD=G.indexOf(Q,a+1);else if(C.length==1)VD=[C.pop(),HD];else{if(y=C.pop(),y<x)x=y,_=HD;HD=G.indexOf(K,a+1)}a=OD<HD&&OD>=0?OD:HD}if(C.length)VD=[x,_]}return VD};crD.exports=mrD;mrD.range=drD});var trD=r0((ye0,arD)=>{var _GD=function(Q){return parseInt(Q,10)==Q?parseInt(Q,10):Q.charCodeAt(0)},t_0=function(Q){return Q.split("\\\\").join(prD).split("\\{").join(nrD).split("\\}").join(gGD).split("\\,").join(rrD).split("\\.").join(orD)},e_0=function(Q){return Q.split(prD).join("\\").split(nrD).join("{").split(gGD).join("}").split(rrD).join(",").split(orD).join(".")},srD=function(Q){if(!Q)return[""];var K=[],G=irD("{","}",Q);if(!G)return Q.split(",");var{pre:C,body:y,post:x}=G,_=C.split(",");_[_.length-1]+="{"+y+"}";var VD=srD(x);if(x.length)_[_.length-1]+=VD.shift(),_.push.apply(_,VD);return K.push.apply(K,_),K},Dg0=function(Q){if(!Q)return[];if(Q.substr(0,2)==="{}")Q="\\{\\}"+Q.substr(2);return ad(t_0(Q),!0).map(e_0)},Fg0=function(Q){return"{"+Q+"}"},$g0=function(Q){return/^-?0\d/.test(Q)},Zg0=function(Q,K){return Q<=K},Jg0=function(Q,K){return Q>=K},ad=function(Q,K){var G=[],C=irD("{","}",Q);if(!C)return[Q];var y=C.pre,x=C.post.length?ad(C.post,!1):[""];if(/\$$/.test(C.pre))for(var _=0;_<x.length;_++){var VD=y+"{"+C.body+"}"+x[_];G.push(VD)}else{var OD=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(C.body),HD=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(C.body),a=OD||HD,bD=C.body.indexOf(",")>=0;if(!a&&!bD){if(C.post.match(/,.*\}/))return Q=C.pre+"{"+C.body+gGD+C.post,ad(Q);return[Q]}var ED;if(a)ED=C.body.split(/\.\./);else if(ED=srD(C.body),ED.length===1){if(ED=ad(ED[0],!1).map(Fg0),ED.length===1)return x.map(function($7){return C.pre+ED[0]+$7})}var XD;if(a){var UD=_GD(ED[0]),TD=_GD(ED[1]),nD=Math.max(ED[0].length,ED[1].length),Z0=ED.length==3?Math.abs(_GD(ED[2])):1,M0=Zg0,a1=TD<UD;if(a1)Z0*=-1,M0=Jg0;var D8=ED.some($g0);XD=[];for(var C8=UD;M0(C8,TD);C8+=Z0){var V6;if(HD){if(V6=String.fromCharCode(C8),V6==="\\")V6=""}else if(V6=String(C8),D8){var $8=nD-V6.length;if($8>0){var U6=new Array($8+1).join("0");if(C8<0)V6="-"+U6+V6.slice(1);else V6=U6+V6}}XD.push(V6)}}else{XD=[];for(var VF=0;VF<ED.length;VF++)XD.push.apply(XD,ad(ED[VF],!1))}for(var VF=0;VF<XD.length;VF++)for(var _=0;_<x.length;_++){var VD=y+XD[VF]+x[_];if(!K||a||VD)G.push(VD)}}return G},irD=lrD();arD.exports=Dg0;var prD="\0SLASH"+Math.random()+"\0",nrD="\0OPEN"+Math.random()+"\0",gGD="\0CLOSE"+Math.random()+"\0",rrD="\0COMMA"+Math.random()+"\0",orD="\0PERIOD"+Math.random()+"\0"});var FoD=r0((erD)=>{Object.defineProperty(erD,"__esModule",{value:!0});erD.assertValidPattern=void 0;var Bg0=65536,Xg0=(Q)=>{if(typeof Q!=="string")throw new TypeError("invalid pattern");if(Q.length>Bg0)throw new TypeError("pattern is too long")};erD.assertValidPattern=Xg0});var BoD=r0((ZoD)=>{Object.defineProperty(ZoD,"__esModule",{value:!0});ZoD.parseClass=void 0;var Yg0={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},td=(Q)=>Q.replace(/[[\]\\-]/g,"\\$&"),Qg0=(Q)=>Q.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),$oD=(Q)=>Q.join(""),Vg0=(Q,K)=>{const G=K;if(Q.charAt(G)!=="[")throw new Error("not in a brace expression");const C=[],y=[];let x=G+1,_=!1,VD=!1,OD=!1,HD=!1,a=G,bD="";D:while(x<Q.length){const TD=Q.charAt(x);if((TD==="!"||TD==="^")&&x===G+1){HD=!0,x++;continue}if(TD==="]"&&_&&!OD){a=x+1;break}if(_=!0,TD==="\\"){if(!OD){OD=!0,x++;continue}}if(TD==="["&&!OD){for(let[nD,[Z0,M0,a1]]of Object.entries(Yg0))if(Q.startsWith(nD,x)){if(bD)return["$.",!1,Q.length-G,!0];if(x+=nD.length,a1)y.push(Z0);else C.push(Z0);VD=VD||M0;continue D}}if(OD=!1,bD){if(TD>bD)C.push(td(bD)+"-"+td(TD));else if(TD===bD)C.push(td(TD));bD="",x++;continue}if(Q.startsWith("-]",x+1)){C.push(td(TD+"-")),x+=2;continue}if(Q.startsWith("-",x+1)){bD=TD,x+=2;continue}C.push(td(TD)),x++}if(a<x)return["",!1,0,!1];if(!C.length&&!y.length)return["$.",!1,Q.length-G,!0];if(y.length===0&&C.length===1&&/^\\?.$/.test(C[0])&&!HD){const TD=C[0].length===2?C[0].slice(-1):C[0];return[Qg0(TD),!1,a-G,!1]}const ED="["+(HD?"^":"")+$oD(C)+"]",XD="["+(HD?"":"^")+$oD(y)+"]";return[C.length&&y.length?"("+ED+"|"+XD+")":C.length?ED:XD,VD,a-G,!0]};ZoD.parseClass=Vg0});var g5D=r0((XoD)=>{Object.defineProperty(XoD,"__esModule",{value:!0});XoD.unescape=void 0;var zg0=(Q,{windowsPathsNoEscape:K=!1}={})=>{return K?Q.replace(/\[([^\/\\])\]/g,"$1"):Q.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1")};XoD.unescape=zg0});var dGD=r0((KoD)=>{Object.defineProperty(KoD,"__esModule",{value:!0});KoD.AST=void 0;var Kg0=BoD(),m5D=g5D(),qg0=new Set(["!","?","+","*","@"]),QoD=(Q)=>qg0.has(Q),Wg0="(?!(?:^|/)\\.\\.?(?:$|/))",d5D="(?!\\.)",Ug0=new Set(["[","."]),Gg0=new Set(["..","."]),Hg0=new Set("().*{}+?[]^$\\!"),Mg0=(Q)=>Q.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),mGD="[^/]",VoD=mGD+"*?",zoD=mGD+"+?";class eV{type;#$;#Z;#J=!1;#D=[];#F;#X;#Q;#Y=!1;#B;#V;#K=!1;constructor(Q,K,G={}){if(this.type=Q,Q)this.#Z=!0;if(this.#F=K,this.#$=this.#F?this.#F.#$:this,this.#B=this.#$===this?G:this.#$.#B,this.#Q=this.#$===this?[]:this.#$.#Q,Q==="!"&&!this.#$.#Y)this.#Q.push(this);this.#X=this.#F?this.#F.#D.length:0}get hasMagic(){if(this.#Z!==void 0)return this.#Z;for(let Q of this.#D){if(typeof Q==="string")continue;if(Q.type||Q.hasMagic)return this.#Z=!0}return this.#Z}toString(){if(this.#V!==void 0)return this.#V;if(!this.type)return this.#V=this.#D.map((Q)=>String(Q)).join("");else return this.#V=this.type+"("+this.#D.map((Q)=>String(Q)).join("|")+")"}#W(){if(this!==this.#$)throw new Error("should only call on root");if(this.#Y)return this;this.toString(),this.#Y=!0;let Q;while(Q=this.#Q.pop()){if(Q.type!=="!")continue;let K=Q,G=K.#F;while(G){for(let C=K.#X+1;!G.type&&C<G.#D.length;C++)for(let y of Q.#D){if(typeof y==="string")throw new Error("string part in extglob AST??");y.copyIn(G.#D[C])}K=G,G=K.#F}}return this}push(...Q){for(let K of Q){if(K==="")continue;if(typeof K!=="string"&&!(K instanceof eV&&K.#F===this))throw new Error("invalid part: "+K);this.#D.push(K)}}toJSON(){const Q=this.type===null?this.#D.slice().map((K)=>typeof K==="string"?K:K.toJSON()):[this.type,...this.#D.map((K)=>K.toJSON())];if(this.isStart()&&!this.type)Q.unshift([]);if(this.isEnd()&&(this===this.#$||this.#$.#Y&&this.#F?.type==="!"))Q.push({});return Q}isStart(){if(this.#$===this)return!0;if(!this.#F?.isStart())return!1;if(this.#X===0)return!0;const Q=this.#F;for(let K=0;K<this.#X;K++){const G=Q.#D[K];if(!(G instanceof eV&&G.type==="!"))return!1}return!0}isEnd(){if(this.#$===this)return!0;if(this.#F?.type==="!")return!0;if(!this.#F?.isEnd())return!1;if(!this.type)return this.#F?.isEnd();const Q=this.#F?this.#F.#D.length:0;return this.#X===Q-1}copyIn(Q){if(typeof Q==="string")this.push(Q);else this.push(Q.clone(this))}clone(Q){const K=new eV(this.type,Q);for(let G of this.#D)K.copyIn(G);return K}static#z(Q,K,G,C){let y=!1,x=!1,_=-1,VD=!1;if(K.type===null){let ED=G,XD="";while(ED<Q.length){const UD=Q.charAt(ED++);if(y||UD==="\\"){y=!y,XD+=UD;continue}if(x){if(ED===_+1){if(UD==="^"||UD==="!")VD=!0}else if(UD==="]"&&!(ED===_+2&&VD))x=!1;XD+=UD;continue}else if(UD==="["){x=!0,_=ED,VD=!1,XD+=UD;continue}if(!C.noext&&QoD(UD)&&Q.charAt(ED)==="("){K.push(XD),XD="";const TD=new eV(UD,K);ED=eV.#z(Q,TD,ED,C),K.push(TD);continue}XD+=UD}return K.push(XD),ED}let OD=G+1,HD=new eV(null,K);const a=[];let bD="";while(OD<Q.length){const ED=Q.charAt(OD++);if(y||ED==="\\"){y=!y,bD+=ED;continue}if(x){if(OD===_+1){if(ED==="^"||ED==="!")VD=!0}else if(ED==="]"&&!(OD===_+2&&VD))x=!1;bD+=ED;continue}else if(ED==="["){x=!0,_=OD,VD=!1,bD+=ED;continue}if(QoD(ED)&&Q.charAt(OD)==="("){HD.push(bD),bD="";const XD=new eV(ED,HD);HD.push(XD),OD=eV.#z(Q,XD,OD,C);continue}if(ED==="|"){HD.push(bD),bD="",a.push(HD),HD=new eV(null,K);continue}if(ED===")"){if(bD===""&&K.#D.length===0)K.#K=!0;return HD.push(bD),bD="",K.push(...a,HD),OD}bD+=ED}return K.type=null,K.#Z=void 0,K.#D=[Q.substring(G-1)],OD}static fromGlob(Q,K={}){const G=new eV(null,void 0,K);return eV.#z(Q,G,0,K),G}toMMPattern(){if(this!==this.#$)return this.#$.toMMPattern();const Q=this.toString(),[K,G,C,y]=this.toRegExpSource();if(!(C||this.#Z||this.#B.nocase&&!this.#B.nocaseMagicOnly&&Q.toUpperCase()!==Q.toLowerCase()))return G;const _=(this.#B.nocase?"i":"")+(y?"u":"");return Object.assign(new RegExp(`^${K}\$`,_),{_src:K,_glob:Q})}toRegExpSource(Q){const K=Q??!!this.#B.dot;if(this.#$===this)this.#W();if(!this.type){const VD=this.isStart()&&this.isEnd(),OD=this.#D.map((ED)=>{const[XD,UD,TD,nD]=typeof ED==="string"?eV.#U(ED,this.#Z,VD):ED.toRegExpSource(Q);return this.#Z=this.#Z||TD,this.#J=this.#J||nD,XD}).join("");let HD="";if(this.isStart()){if(typeof this.#D[0]==="string"){if(!(this.#D.length===1&&Gg0.has(this.#D[0]))){const XD=Ug0,UD=K&&XD.has(OD.charAt(0))||OD.startsWith("\\.")&&XD.has(OD.charAt(2))||OD.startsWith("\\.\\.")&&XD.has(OD.charAt(4)),TD=!K&&!Q&&XD.has(OD.charAt(0));HD=UD?Wg0:TD?d5D:""}}}let a="";if(this.isEnd()&&this.#$.#Y&&this.#F?.type==="!")a="(?:$|\\/)";return[HD+OD+a,m5D.unescape(OD),this.#Z=!!this.#Z,this.#J]}const G=this.type==="*"||this.type==="+",C=this.type==="!"?"(?:(?!(?:":"(?:";let y=this.#q(K);if(this.isStart()&&this.isEnd()&&!y&&this.type!=="!"){const VD=this.toString();return this.#D=[VD],this.type=null,this.#Z=void 0,[VD,m5D.unescape(this.toString()),!1,!1]}let x=!G||Q||K||!d5D?"":this.#q(!0);if(x===y)x="";if(x)y=`(?:${y})(?:${x})*?`;let _="";if(this.type==="!"&&this.#K)_=(this.isStart()&&!K?d5D:"")+zoD;else{const VD=this.type==="!"?"))"+(this.isStart()&&!K&&!Q?d5D:"")+VoD+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&x?")":this.type==="*"&&x?")?":`)${this.type}`;_=C+y+VD}return[_,m5D.unescape(y),this.#Z=!!this.#Z,this.#J]}#q(Q){return this.#D.map((K)=>{if(typeof K==="string")throw new Error("string type in extglob ast??");const[G,C,y,x]=K.toRegExpSource(Q);return this.#J=this.#J||x,G}).filter((K)=>!(this.isStart()&&this.isEnd())||!!K).join("|")}static#U(Q,K,G=!1){let C=!1,y="",x=!1;for(let _=0;_<Q.length;_++){const VD=Q.charAt(_);if(C){C=!1,y+=(Hg0.has(VD)?"\\":"")+VD;continue}if(VD==="\\"){if(_===Q.length-1)y+="\\\\";else C=!0;continue}if(VD==="["){const[OD,HD,a,bD]=Kg0.parseClass(Q,_);if(a){y+=OD,x=x||HD,_+=a-1,K=K||bD;continue}}if(VD==="*"){if(G&&Q==="*")y+=zoD;else y+=VoD;K=!0;continue}if(VD==="?"){y+=mGD,K=!0;continue}y+=Mg0(VD)}return[y,m5D.unescape(Q),!!K,x]}}KoD.AST=eV});var cGD=r0((WoD)=>{Object.defineProperty(WoD,"__esModule",{value:!0});WoD.escape=void 0;var Og0=(Q,{windowsPathsNoEscape:K=!1}={})=>{return K?Q.replace(/[?*()[\]]/g,"[$&]"):Q.replace(/[?*()[\]\\]/g,"\\$&")};WoD.escape=Og0});var AoD=r0((X7)=>{var jg0=X7&&X7.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(X7,"__esModule",{value:!0});X7.unescape=X7.escape=X7.AST=X7.Minimatch=X7.match=X7.makeRe=X7.braceExpand=X7.defaults=X7.filter=X7.GLOBSTAR=X7.sep=X7.minimatch=void 0;var Lg0=jg0(trD()),c5D=FoD(),MoD=dGD(),Ag0=cGD(),Cg0=g5D(),Eg0=(Q,K,G={})=>{if(c5D.assertValidPattern(K),!G.nocomment&&K.charAt(0)==="#")return!1;return new Xf(K,G).match(Q)};X7.minimatch=Eg0;var Ng0=/^\*+([^+@!?\*\[\(]*)$/,Tg0=(Q)=>(K)=>!K.startsWith(".")&&K.endsWith(Q),Rg0=(Q)=>(K)=>K.endsWith(Q),Ig0=(Q)=>{return Q=Q.toLowerCase(),(K)=>!K.startsWith(".")&&K.toLowerCase().endsWith(Q)},yg0=(Q)=>{return Q=Q.toLowerCase(),(K)=>K.toLowerCase().endsWith(Q)},Pg0=/^\*+\.\*+$/,wg0=(Q)=>!Q.startsWith(".")&&Q.includes("."),Sg0=(Q)=>Q!=="."&&Q!==".."&&Q.includes("."),ug0=/^\.\*+$/,fg0=(Q)=>Q!=="."&&Q!==".."&&Q.startsWith("."),vg0=/^\*+$/,bg0=(Q)=>Q.length!==0&&!Q.startsWith("."),xg0=(Q)=>Q.length!==0&&Q!=="."&&Q!=="..",kg0=/^\?+([^+@!?\*\[\(]*)?$/,hg0=([Q,K=""])=>{const G=OoD([Q]);if(!K)return G;return K=K.toLowerCase(),(C)=>G(C)&&C.toLowerCase().endsWith(K)},_g0=([Q,K=""])=>{const G=joD([Q]);if(!K)return G;return K=K.toLowerCase(),(C)=>G(C)&&C.toLowerCase().endsWith(K)},gg0=([Q,K=""])=>{const G=joD([Q]);return!K?G:(C)=>G(C)&&C.endsWith(K)},mg0=([Q,K=""])=>{const G=OoD([Q]);return!K?G:(C)=>G(C)&&C.endsWith(K)},OoD=([Q])=>{const K=Q.length;return(G)=>G.length===K&&!G.startsWith(".")},joD=([Q])=>{const K=Q.length;return(G)=>G.length===K&&G!=="."&&G!==".."},LoD=typeof process==="object"&&process?typeof process.env==="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",GoD={win32:{sep:"\\"},posix:{sep:"/"}};X7.sep=LoD==="win32"?GoD.win32.sep:GoD.posix.sep;X7.minimatch.sep=X7.sep;X7.GLOBSTAR=Symbol("globstar **");X7.minimatch.GLOBSTAR=X7.GLOBSTAR;var dg0="[^/]",cg0=dg0+"*?",lg0="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",ig0="(?:(?!(?:\\/|^)\\.).)*?",pg0=(Q,K={})=>(G)=>X7.minimatch(G,Q,K);X7.filter=pg0;X7.minimatch.filter=X7.filter;var $W=(Q,K={})=>Object.assign({},Q,K),ng0=(Q)=>{if(!Q||typeof Q!=="object"||!Object.keys(Q).length)return X7.minimatch;const K=X7.minimatch;return Object.assign((C,y,x={})=>K(C,y,$W(Q,x)),{Minimatch:class C extends K.Minimatch{constructor(y,x={}){super(y,$W(Q,x))}static defaults(y){return K.defaults($W(Q,y)).Minimatch}},AST:class C extends K.AST{constructor(y,x,_={}){super(y,x,$W(Q,_))}static fromGlob(y,x={}){return K.AST.fromGlob(y,$W(Q,x))}},unescape:(C,y={})=>K.unescape(C,$W(Q,y)),escape:(C,y={})=>K.escape(C,$W(Q,y)),filter:(C,y={})=>K.filter(C,$W(Q,y)),defaults:(C)=>K.defaults($W(Q,C)),makeRe:(C,y={})=>K.makeRe(C,$W(Q,y)),braceExpand:(C,y={})=>K.braceExpand(C,$W(Q,y)),match:(C,y,x={})=>K.match(C,y,$W(Q,x)),sep:K.sep,GLOBSTAR:X7.GLOBSTAR})};X7.defaults=ng0;X7.minimatch.defaults=X7.defaults;var rg0=(Q,K={})=>{if(c5D.assertValidPattern(Q),K.nobrace||!/\{(?:(?!\{).)*\}/.test(Q))return[Q];return Lg0.default(Q)};X7.braceExpand=rg0;X7.minimatch.braceExpand=X7.braceExpand;var og0=(Q,K={})=>new Xf(Q,K).makeRe();X7.makeRe=og0;X7.minimatch.makeRe=X7.makeRe;var sg0=(Q,K,G={})=>{const C=new Xf(K,G);if(Q=Q.filter((y)=>C.match(y)),C.options.nonull&&!Q.length)Q.push(K);return Q};X7.match=sg0;X7.minimatch.match=X7.match;var HoD=/[?*]|[+@!]\(.*?\)|\[|\]/,ag0=(Q)=>Q.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");class Xf{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(Q,K={}){if(c5D.assertValidPattern(Q),K=K||{},this.options=K,this.pattern=Q,this.platform=K.platform||LoD,this.isWindows=this.platform==="win32",this.windowsPathsNoEscape=!!K.windowsPathsNoEscape||K.allowWindowsEscape===!1,this.windowsPathsNoEscape)this.pattern=this.pattern.replace(/\\/g,"/");this.preserveMultipleSlashes=!!K.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!K.nonegate,this.comment=!1,this.empty=!1,this.partial=!!K.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=K.windowsNoMagicRoot!==void 0?K.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(let Q of this.set)for(let K of Q)if(typeof K!=="string")return!0;return!1}debug(...Q){}make(){const Q=this.pattern,K=this.options;if(!K.nocomment&&Q.charAt(0)==="#"){this.comment=!0;return}if(!Q){this.empty=!0;return}if(this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],K.debug)this.debug=(...y)=>console.error(...y);this.debug(this.pattern,this.globSet);const G=this.globSet.map((y)=>this.slashSplit(y));this.globParts=this.preprocess(G),this.debug(this.pattern,this.globParts);let C=this.globParts.map((y,x,_)=>{if(this.isWindows&&this.windowsNoMagicRoot){const VD=y[0]===""&&y[1]===""&&(y[2]==="?"||!HoD.test(y[2]))&&!HoD.test(y[3]),OD=/^[a-z]:/i.test(y[0]);if(VD)return[...y.slice(0,4),...y.slice(4).map((HD)=>this.parse(HD))];else if(OD)return[y[0],...y.slice(1).map((HD)=>this.parse(HD))]}return y.map((VD)=>this.parse(VD))});if(this.debug(this.pattern,C),this.set=C.filter((y)=>y.indexOf(!1)===-1),this.isWindows)for(let y=0;y<this.set.length;y++){const x=this.set[y];if(x[0]===""&&x[1]===""&&this.globParts[y][2]==="?"&&typeof x[3]==="string"&&/^[a-z]:$/i.test(x[3]))x[2]="?"}this.debug(this.pattern,this.set)}preprocess(Q){if(this.options.noglobstar){for(let G=0;G<Q.length;G++)for(let C=0;C<Q[G].length;C++)if(Q[G][C]==="**")Q[G][C]="*"}const{optimizationLevel:K=1}=this.options;if(K>=2)Q=this.firstPhasePreProcess(Q),Q=this.secondPhasePreProcess(Q);else if(K>=1)Q=this.levelOneOptimize(Q);else Q=this.adjascentGlobstarOptimize(Q);return Q}adjascentGlobstarOptimize(Q){return Q.map((K)=>{let G=-1;while((G=K.indexOf("**",G+1))!==-1){let C=G;while(K[C+1]==="**")C++;if(C!==G)K.splice(G,C-G)}return K})}levelOneOptimize(Q){return Q.map((K)=>{return K=K.reduce((G,C)=>{const y=G[G.length-1];if(C==="**"&&y==="**")return G;if(C===".."){if(y&&y!==".."&&y!=="."&&y!=="**")return G.pop(),G}return G.push(C),G},[]),K.length===0?[""]:K})}levelTwoFileOptimize(Q){if(!Array.isArray(Q))Q=this.slashSplit(Q);let K=!1;do{if(K=!1,!this.preserveMultipleSlashes){for(let C=1;C<Q.length-1;C++){const y=Q[C];if(C===1&&y===""&&Q[0]==="")continue;if(y==="."||y==="")K=!0,Q.splice(C,1),C--}if(Q[0]==="."&&Q.length===2&&(Q[1]==="."||Q[1]===""))K=!0,Q.pop()}let G=0;while((G=Q.indexOf("..",G+1))!==-1){const C=Q[G-1];if(C&&C!=="."&&C!==".."&&C!=="**")K=!0,Q.splice(G-1,2),G-=2}}while(K);return Q.length===0?[""]:Q}firstPhasePreProcess(Q){let K=!1;do{K=!1;for(let G of Q){let C=-1;while((C=G.indexOf("**",C+1))!==-1){let x=C;while(G[x+1]==="**")x++;if(x>C)G.splice(C+1,x-C);let _=G[C+1];const VD=G[C+2],OD=G[C+3];if(_!=="..")continue;if(!VD||VD==="."||VD===".."||!OD||OD==="."||OD==="..")continue;K=!0,G.splice(C,1);const HD=G.slice(0);HD[C]="**",Q.push(HD),C--}if(!this.preserveMultipleSlashes){for(let x=1;x<G.length-1;x++){const _=G[x];if(x===1&&_===""&&G[0]==="")continue;if(_==="."||_==="")K=!0,G.splice(x,1),x--}if(G[0]==="."&&G.length===2&&(G[1]==="."||G[1]===""))K=!0,G.pop()}let y=0;while((y=G.indexOf("..",y+1))!==-1){const x=G[y-1];if(x&&x!=="."&&x!==".."&&x!=="**"){K=!0;const VD=y===1&&G[y+1]==="**"?["."]:[];if(G.splice(y-1,2,...VD),G.length===0)G.push("");y-=2}}}}while(K);return Q}secondPhasePreProcess(Q){for(let K=0;K<Q.length-1;K++)for(let G=K+1;G<Q.length;G++){const C=this.partsMatch(Q[K],Q[G],!this.preserveMultipleSlashes);if(!C)continue;Q[K]=C,Q[G]=[]}return Q.filter((K)=>K.length)}partsMatch(Q,K,G=!1){let C=0,y=0,x=[],_="";while(C<Q.length&&y<K.length)if(Q[C]===K[y])x.push(_==="b"?K[y]:Q[C]),C++,y++;else if(G&&Q[C]==="**"&&K[y]===Q[C+1])x.push(Q[C]),C++;else if(G&&K[y]==="**"&&Q[C]===K[y+1])x.push(K[y]),y++;else if(Q[C]==="*"&&K[y]&&(this.options.dot||!K[y].startsWith("."))&&K[y]!=="**"){if(_==="b")return!1;_="a",x.push(Q[C]),C++,y++}else if(K[y]==="*"&&Q[C]&&(this.options.dot||!Q[C].startsWith("."))&&Q[C]!=="**"){if(_==="a")return!1;_="b",x.push(K[y]),C++,y++}else return!1;return Q.length===K.length&&x}parseNegate(){if(this.nonegate)return;const Q=this.pattern;let K=!1,G=0;for(let C=0;C<Q.length&&Q.charAt(C)==="!";C++)K=!K,G++;if(G)this.pattern=Q.slice(G);this.negate=K}matchOne(Q,K,G=!1){const C=this.options;if(this.isWindows){const UD=typeof Q[0]==="string"&&/^[a-z]:$/i.test(Q[0]),TD=!UD&&Q[0]===""&&Q[1]===""&&Q[2]==="?"&&/^[a-z]:$/i.test(Q[3]),nD=typeof K[0]==="string"&&/^[a-z]:$/i.test(K[0]),Z0=!nD&&K[0]===""&&K[1]===""&&K[2]==="?"&&typeof K[3]==="string"&&/^[a-z]:$/i.test(K[3]),M0=TD?3:UD?0:void 0,a1=Z0?3:nD?0:void 0;if(typeof M0==="number"&&typeof a1==="number"){const[D8,C8]=[Q[M0],K[a1]];if(D8.toLowerCase()===C8.toLowerCase()){if(K[a1]=D8,a1>M0)K=K.slice(a1);else if(M0>a1)Q=Q.slice(M0)}}}const{optimizationLevel:y=1}=this.options;if(y>=2)Q=this.levelTwoFileOptimize(Q);this.debug("matchOne",this,{file:Q,pattern:K}),this.debug("matchOne",Q.length,K.length);for(var x=0,_=0,VD=Q.length,OD=K.length;x<VD&&_<OD;x++,_++){this.debug("matchOne loop");var HD=K[_],a=Q[x];if(this.debug(K,HD,a),HD===!1)return!1;if(HD===X7.GLOBSTAR){this.debug("GLOBSTAR",[K,HD,a]);var bD=x,ED=_+1;if(ED===OD){this.debug("** at the end");for(;x<VD;x++)if(Q[x]==="."||Q[x]===".."||!C.dot&&Q[x].charAt(0)===".")return!1;return!0}while(bD<VD){var XD=Q[bD];if(this.debug("\nglobstar while",Q,bD,K,ED,XD),this.matchOne(Q.slice(bD),K.slice(ED),G))return this.debug("globstar found match!",bD,VD,XD),!0;else{if(XD==="."||XD===".."||!C.dot&&XD.charAt(0)==="."){this.debug("dot detected!",Q,bD,K,ED);break}this.debug("globstar swallow a segment, and continue"),bD++}}if(G){if(this.debug("\n>>> no match, partial?",Q,bD,K,ED),bD===VD)return!0}return!1}let UD;if(typeof HD==="string")UD=a===HD,this.debug("string match",HD,a,UD);else UD=HD.test(a),this.debug("pattern match",HD,a,UD);if(!UD)return!1}if(x===VD&&_===OD)return!0;else if(x===VD)return G;else if(_===OD)return x===VD-1&&Q[x]==="";else throw new Error("wtf?")}braceExpand(){return X7.braceExpand(this.pattern,this.options)}parse(Q){c5D.assertValidPattern(Q);const K=this.options;if(Q==="**")return X7.GLOBSTAR;if(Q==="")return"";let G,C=null;if(G=Q.match(vg0))C=K.dot?xg0:bg0;else if(G=Q.match(Ng0))C=(K.nocase?K.dot?yg0:Ig0:K.dot?Rg0:Tg0)(G[1]);else if(G=Q.match(kg0))C=(K.nocase?K.dot?_g0:hg0:K.dot?gg0:mg0)(G);else if(G=Q.match(Pg0))C=K.dot?Sg0:wg0;else if(G=Q.match(ug0))C=fg0;const y=MoD.AST.fromGlob(Q,this.options).toMMPattern();return C?Object.assign(y,{test:C}):y}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;const Q=this.set;if(!Q.length)return this.regexp=!1,this.regexp;const K=this.options,G=K.noglobstar?cg0:K.dot?lg0:ig0,C=new Set(K.nocase?["i"]:[]);let y=Q.map((VD)=>{const OD=VD.map((HD)=>{if(HD instanceof RegExp)for(let a of HD.flags.split(""))C.add(a);return typeof HD==="string"?ag0(HD):HD===X7.GLOBSTAR?X7.GLOBSTAR:HD._src});return OD.forEach((HD,a)=>{const bD=OD[a+1],ED=OD[a-1];if(HD!==X7.GLOBSTAR||ED===X7.GLOBSTAR)return;if(ED===void 0)if(bD!==void 0&&bD!==X7.GLOBSTAR)OD[a+1]="(?:\\/|"+G+"\\/)?"+bD;else OD[a]=G;else if(bD===void 0)OD[a-1]=ED+"(?:\\/|"+G+")?";else if(bD!==X7.GLOBSTAR)OD[a-1]=ED+"(?:\\/|\\/"+G+"\\/)"+bD,OD[a+1]=X7.GLOBSTAR}),OD.filter((HD)=>HD!==X7.GLOBSTAR).join("/")}).join("|");const[x,_]=Q.length>1?["(?:",")"]:["",""];if(y="^"+x+y+_+"$",this.negate)y="^(?!"+y+").+$";try{this.regexp=new RegExp(y,[...C].join(""))}catch(VD){this.regexp=!1}return this.regexp}slashSplit(Q){if(this.preserveMultipleSlashes)return Q.split("/");else if(this.isWindows&&/^\/\/[^\/]+/.test(Q))return["",...Q.split(/\/+/)];else return Q.split(/\/+/)}match(Q,K=this.partial){if(this.debug("match",Q,this.pattern),this.comment)return!1;if(this.empty)return Q==="";if(Q==="/"&&K)return!0;const G=this.options;if(this.isWindows)Q=Q.split("\\").join("/");const C=this.slashSplit(Q);this.debug(this.pattern,"split",C);const y=this.set;this.debug(this.pattern,"set",y);let x=C[C.length-1];if(!x)for(let _=C.length-2;!x&&_>=0;_--)x=C[_];for(let _=0;_<y.length;_++){const VD=y[_];let OD=C;if(G.matchBase&&VD.length===1)OD=[x];if(this.matchOne(OD,VD,K)){if(G.flipNegate)return!0;return!this.negate}}if(G.flipNegate)return!1;return this.negate}static defaults(Q){return X7.minimatch.defaults(Q).Minimatch}}X7.Minimatch=Xf;var tg0=dGD();Object.defineProperty(X7,"AST",{enumerable:!0,get:function(){return tg0.AST}});var eg0=cGD();Object.defineProperty(X7,"escape",{enumerable:!0,get:function(){return eg0.escape}});var Dm0=g5D();Object.defineProperty(X7,"unescape",{enumerable:!0,get:function(){return Dm0.unescape}});X7.minimatch.AST=MoD.AST;X7.minimatch.Minimatch=Xf;X7.minimatch.escape=Ag0.escape;X7.minimatch.unescape=Cg0.unescape});var EoD=r0((be0,CoD)=>{CoD.exports=(...Q)=>{return[...new Set([].concat(...Q))]}});var lGD=r0((xe0,RoD)=>{var Zm0=function(){const Q=[],K=$m0.call(arguments);let G=!1,C=K[K.length-1];if(C&&!Array.isArray(C)&&C.pipe==null)K.pop();else C={};const y=C.end!==!1,x=C.pipeError===!0;if(C.objectMode==null)C.objectMode=!0;if(C.highWaterMark==null)C.highWaterMark=65536;const _=NoD(C);function VD(){for(let a=0,bD=arguments.length;a<bD;a++)Q.push(ToD(arguments[a],C));return OD(),this}function OD(){if(G)return;G=!0;let a=Q.shift();if(!a){process.nextTick(HD);return}if(!Array.isArray(a))a=[a];let bD=a.length+1;function ED(){if(--bD>0)return;G=!1,OD()}function XD(UD){function TD(){if(UD.removeListener("merge2UnpipeEnd",TD),UD.removeListener("end",TD),x)UD.removeListener("error",nD);ED()}function nD(Z0){_.emit("error",Z0)}if(UD._readableState.endEmitted)return ED();if(UD.on("merge2UnpipeEnd",TD),UD.on("end",TD),x)UD.on("error",nD);UD.pipe(_,{end:!1}),UD.resume()}for(let UD=0;UD<a.length;UD++)XD(a[UD]);ED()}function HD(){if(G=!1,_.emit("queueDrain"),y)_.end()}if(_.setMaxListeners(0),_.add=VD,_.on("unpipe",function(a){a.emit("merge2UnpipeEnd")}),K.length)VD.apply(null,K);return _},ToD=function(Q,K){if(!Array.isArray(Q)){if(!Q._readableState&&Q.pipe)Q=Q.pipe(NoD(K));if(!Q._readableState||!Q.pause||!Q.pipe)throw new Error("Only readable stream can be merged.");Q.pause()}else for(let G=0,C=Q.length;G<C;G++)Q[G]=ToD(Q[G],K);return Q},Fm0=i8("stream"),NoD=Fm0.PassThrough,$m0=Array.prototype.slice;RoD.exports=Zm0});var PoD=r0((IoD)=>{var Jm0=function(Q){return Q.reduce((K,G)=>[].concat(K,G),[])},Bm0=function(Q,K){const G=[[]];let C=0;for(let y of Q)if(K(y))C++,G[C]=[];else G[C].push(y);return G};Object.defineProperty(IoD,"__esModule",{value:!0});IoD.splitWhen=IoD.flatten=void 0;IoD.flatten=Jm0;IoD.splitWhen=Bm0});var uoD=r0((woD)=>{var Ym0=function(Q){return Q.code==="ENOENT"};Object.defineProperty(woD,"__esModule",{value:!0});woD.isEnoentCodeError=void 0;woD.isEnoentCodeError=Ym0});var xoD=r0((voD)=>{var Qm0=function(Q,K){return new foD(Q,K)};Object.defineProperty(voD,"__esModule",{value:!0});voD.createDirentFromStats=void 0;class foD{constructor(Q,K){this.name=Q,this.isBlockDevice=K.isBlockDevice.bind(K),this.isCharacterDevice=K.isCharacterDevice.bind(K),this.isDirectory=K.isDirectory.bind(K),this.isFIFO=K.isFIFO.bind(K),this.isFile=K.isFile.bind(K),this.isSocket=K.isSocket.bind(K),this.isSymbolicLink=K.isSymbolicLink.bind(K)}}voD.createDirentFromStats=Qm0});var doD=r0((goD)=>{var Hm0=function(Q){return Q.replace(/\\/g,"/")},Mm0=function(Q,K){return zm0.resolve(Q,K)},Om0=function(Q){if(Q.charAt(0)==="."){const K=Q.charAt(1);if(K==="/"||K==="\\")return Q.slice(Km0)}return Q},iGD=function(Q){return Q.replace(Wm0,"\\$2")},pGD=function(Q){return Q.replace(qm0,"\\$2")},hoD=function(Q){return iGD(Q).replace(Um0,"//$1").replace(Gm0,"/")},_oD=function(Q){return pGD(Q)};Object.defineProperty(goD,"__esModule",{value:!0});goD.convertPosixPathToPattern=goD.convertWindowsPathToPattern=goD.convertPathToPattern=goD.escapePosixPath=goD.escapeWindowsPath=goD.escape=goD.removeLeadingDotSegment=goD.makeAbsolute=goD.unixify=void 0;var Vm0=i8("os"),zm0=i8("path"),koD=Vm0.platform()==="win32",Km0=2,qm0=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g,Wm0=/(\\?)([()[\]{}]|^!|[!+@](?=\())/g,Um0=/^\\\\([.?])/,Gm0=/\\(?![!()+@[\]{}])/g;goD.unixify=Hm0;goD.makeAbsolute=Mm0;goD.removeLeadingDotSegment=Om0;goD.escape=koD?iGD:pGD;goD.escapeWindowsPath=iGD;goD.escapePosixPath=pGD;goD.convertPathToPattern=koD?hoD:_oD;goD.convertWindowsPathToPattern=hoD;goD.convertPosixPathToPattern=_oD});var loD=r0((me0,coD)=>{/*!
|
|
@@ -362,4 +362,4 @@ ${j.message}`;throw j}return Z?U.map((j)=>this.mapCodeFixAction(j)):U}getCombine
|
|
|
362
362
|
*
|
|
363
363
|
* Copyright (c) 2014-present, Jon Schlinkert.
|
|
364
364
|
* Licensed under the MIT License.
|
|
365
|
-
*/var em0=i8("util"),KsD=QsD(),VsD=(Q)=>Q!==null&&typeof Q==="object"&&!Array.isArray(Q),Dd0=(Q)=>{return(K)=>Q===!0?Number(K):String(K)},sGD=(Q)=>{return typeof Q==="number"||typeof Q==="string"&&Q!==""},ed=(Q)=>Number.isInteger(+Q),aGD=(Q)=>{let K=`${Q}`,G=-1;if(K[0]==="-")K=K.slice(1);if(K==="0")return!1;while(K[++G]==="0");return G>0},Fd0=(Q,K,G)=>{if(typeof Q==="string"||typeof K==="string")return!0;return G.stringify===!0},$d0=(Q,K,G)=>{if(K>0){let C=Q[0]==="-"?"-":"";if(C)Q=Q.slice(1);Q=C+Q.padStart(C?K-1:K,"0")}if(G===!1)return String(Q);return Q},zsD=(Q,K)=>{let G=Q[0]==="-"?"-":"";if(G)Q=Q.slice(1),K--;while(Q.length<K)Q="0"+Q;return G?"-"+Q:Q},Zd0=(Q,K)=>{Q.negatives.sort((_,VD)=>_<VD?-1:_>VD?1:0),Q.positives.sort((_,VD)=>_<VD?-1:_>VD?1:0);let G=K.capture?"":"?:",C="",y="",x;if(Q.positives.length)C=Q.positives.join("|");if(Q.negatives.length)y=`-(${G}${Q.negatives.join("|")})`;if(C&&y)x=`${C}|${y}`;else x=C||y;if(K.wrap)return`(${G}${x})`;return x},qsD=(Q,K,G,C)=>{if(G)return KsD(Q,K,{wrap:!1,...C});let y=String.fromCharCode(Q);if(Q===K)return y;let x=String.fromCharCode(K);return`[${y}-${x}]`},WsD=(Q,K,G)=>{if(Array.isArray(Q)){let C=G.wrap===!0,y=G.capture?"":"?:";return C?`(${y}${Q.join("|")})`:Q.join("|")}return KsD(Q,K,G)},UsD=(...Q)=>{return new RangeError("Invalid range arguments: "+em0.inspect(...Q))},GsD=(Q,K,G)=>{if(G.strictRanges===!0)throw UsD([Q,K]);return[]},Jd0=(Q,K)=>{if(K.strictRanges===!0)throw new TypeError(`Expected step "${Q}" to be a number`);return[]},Bd0=(Q,K,G=1,C={})=>{let y=Number(Q),x=Number(K);if(!Number.isInteger(y)||!Number.isInteger(x)){if(C.strictRanges===!0)throw UsD([Q,K]);return[]}if(y===0)y=0;if(x===0)x=0;let _=y>x,VD=String(Q),OD=String(K),HD=String(G);G=Math.max(Math.abs(G),1);let a=aGD(VD)||aGD(OD)||aGD(HD),bD=a?Math.max(VD.length,OD.length,HD.length):0,ED=a===!1&&Fd0(Q,K,C)===!1,XD=C.transform||Dd0(ED);if(C.toRegex&&G===1)return qsD(zsD(Q,bD),zsD(K,bD),!0,C);let UD={negatives:[],positives:[]},TD=(M0)=>UD[M0<0?"negatives":"positives"].push(Math.abs(M0)),nD=[],Z0=0;while(_?y>=x:y<=x){if(C.toRegex===!0&&G>1)TD(y);else nD.push($d0(XD(y,Z0),bD,ED));y=_?y-G:y+G,Z0++}if(C.toRegex===!0)return G>1?Zd0(UD,C):WsD(nD,null,{wrap:!1,...C});return nD},Xd0=(Q,K,G=1,C={})=>{if(!ed(Q)&&Q.length>1||!ed(K)&&K.length>1)return GsD(Q,K,C);let y=C.transform||((ED)=>String.fromCharCode(ED)),x=`${Q}`.charCodeAt(0),_=`${K}`.charCodeAt(0),VD=x>_,OD=Math.min(x,_),HD=Math.max(x,_);if(C.toRegex&&G===1)return qsD(OD,HD,!1,C);let a=[],bD=0;while(VD?x>=_:x<=_)a.push(y(x,bD)),x=VD?x-G:x+G,bD++;if(C.toRegex===!0)return WsD(a,null,{wrap:!1,options:C});return a},p5D=(Q,K,G,C={})=>{if(K==null&&sGD(Q))return[Q];if(!sGD(Q)||!sGD(K))return GsD(Q,K,C);if(typeof G==="function")return p5D(Q,K,1,{transform:G});if(VsD(G))return p5D(Q,K,0,G);let y={...C};if(y.capture===!0)y.wrap=!0;if(G=G||y.step||1,!ed(G)){if(G!=null&&!VsD(G))return Jd0(G,y);return p5D(Q,K,1,G)}if(ed(Q)&&ed(K))return Bd0(Q,K,G,y);return Xd0(Q,K,Math.max(Math.abs(G),1),y)};HsD.exports=p5D});var jsD=r0((oe0,OsD)=>{var Yd0=tGD(),MsD=l5D(),Qd0=(Q,K={})=>{let G=(C,y={})=>{let x=MsD.isInvalidBrace(y),_=C.invalid===!0&&K.escapeInvalid===!0,VD=x===!0||_===!0,OD=K.escapeInvalid===!0?"\\":"",HD="";if(C.isOpen===!0)return OD+C.value;if(C.isClose===!0)return OD+C.value;if(C.type==="open")return VD?OD+C.value:"(";if(C.type==="close")return VD?OD+C.value:")";if(C.type==="comma")return C.prev.type==="comma"?"":VD?C.value:"|";if(C.value)return C.value;if(C.nodes&&C.ranges>0){let a=MsD.reduce(C.nodes),bD=Yd0(...a,{...K,wrap:!1,toRegex:!0});if(bD.length!==0)return a.length>1&&bD.length>1?`(${bD})`:bD}if(C.nodes)for(let a of C.nodes)HD+=G(a,C);return HD};return G(Q)};OsD.exports=Qd0});var CsD=r0((se0,AsD)=>{var Vd0=tGD(),LsD=i5D(),Yf=l5D(),hR=(Q="",K="",G=!1)=>{let C=[];if(Q=[].concat(Q),K=[].concat(K),!K.length)return Q;if(!Q.length)return G?Yf.flatten(K).map((y)=>`{${y}}`):K;for(let y of Q)if(Array.isArray(y))for(let x of y)C.push(hR(x,K,G));else for(let x of K){if(G===!0&&typeof x==="string")x=`{${x}}`;C.push(Array.isArray(x)?hR(y,x,G):y+x)}return Yf.flatten(C)},zd0=(Q,K={})=>{let G=K.rangeLimit===void 0?1000:K.rangeLimit,C=(y,x={})=>{y.queue=[];let _=x,VD=x.queue;while(_.type!=="brace"&&_.type!=="root"&&_.parent)_=_.parent,VD=_.queue;if(y.invalid||y.dollar){VD.push(hR(VD.pop(),LsD(y,K)));return}if(y.type==="brace"&&y.invalid!==!0&&y.nodes.length===2){VD.push(hR(VD.pop(),["{}"]));return}if(y.nodes&&y.ranges>0){let bD=Yf.reduce(y.nodes);if(Yf.exceedsLimit(...bD,K.step,G))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let ED=Vd0(...bD,K);if(ED.length===0)ED=LsD(y,K);VD.push(hR(VD.pop(),ED)),y.nodes=[];return}let OD=Yf.encloseBrace(y),HD=y.queue,a=y;while(a.type!=="brace"&&a.type!=="root"&&a.parent)a=a.parent,HD=a.queue;for(let bD=0;bD<y.nodes.length;bD++){let ED=y.nodes[bD];if(ED.type==="comma"&&y.type==="brace"){if(bD===1)HD.push("");HD.push("");continue}if(ED.type==="close"){VD.push(hR(VD.pop(),HD,OD));continue}if(ED.value&&ED.type!=="open"){HD.push(hR(HD.pop(),ED.value));continue}if(ED.nodes)C(ED,y)}return HD};return Yf.flatten(C(Q))};AsD.exports=zd0});var NsD=r0((ae0,EsD)=>{EsD.exports={MAX_LENGTH:65536,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:"\n",CHAR_NO_BREAK_SPACE:"\xA0",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:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\uFEFF"}});var PsD=r0((te0,ysD)=>{var Kd0=i5D(),{MAX_LENGTH:TsD,CHAR_BACKSLASH:eGD,CHAR_BACKTICK:qd0,CHAR_COMMA:Wd0,CHAR_DOT:Ud0,CHAR_LEFT_PARENTHESES:Gd0,CHAR_RIGHT_PARENTHESES:Hd0,CHAR_LEFT_CURLY_BRACE:Md0,CHAR_RIGHT_CURLY_BRACE:Od0,CHAR_LEFT_SQUARE_BRACKET:RsD,CHAR_RIGHT_SQUARE_BRACKET:IsD,CHAR_DOUBLE_QUOTE:jd0,CHAR_SINGLE_QUOTE:Ld0,CHAR_NO_BREAK_SPACE:Ad0,CHAR_ZERO_WIDTH_NOBREAK_SPACE:Cd0}=NsD(),Ed0=(Q,K={})=>{if(typeof Q!=="string")throw new TypeError("Expected a string");let G=K||{},C=typeof G.maxLength==="number"?Math.min(TsD,G.maxLength):TsD;if(Q.length>C)throw new SyntaxError(`Input length (${Q.length}), exceeds max characters (${C})`);let y={type:"root",input:Q,nodes:[]},x=[y],_=y,VD=y,OD=0,HD=Q.length,a=0,bD=0,ED,XD={};const UD=()=>Q[a++],TD=(nD)=>{if(nD.type==="text"&&VD.type==="dot")VD.type="text";if(VD&&VD.type==="text"&&nD.type==="text"){VD.value+=nD.value;return}return _.nodes.push(nD),nD.parent=_,nD.prev=VD,VD=nD,nD};TD({type:"bos"});while(a<HD){if(_=x[x.length-1],ED=UD(),ED===Cd0||ED===Ad0)continue;if(ED===eGD){TD({type:"text",value:(K.keepEscaping?ED:"")+UD()});continue}if(ED===IsD){TD({type:"text",value:"\\"+ED});continue}if(ED===RsD){OD++;let nD=!0,Z0;while(a<HD&&(Z0=UD())){if(ED+=Z0,Z0===RsD){OD++;continue}if(Z0===eGD){ED+=UD();continue}if(Z0===IsD){if(OD--,OD===0)break}}TD({type:"text",value:ED});continue}if(ED===Gd0){_=TD({type:"paren",nodes:[]}),x.push(_),TD({type:"text",value:ED});continue}if(ED===Hd0){if(_.type!=="paren"){TD({type:"text",value:ED});continue}_=x.pop(),TD({type:"text",value:ED}),_=x[x.length-1];continue}if(ED===jd0||ED===Ld0||ED===qd0){let nD=ED,Z0;if(K.keepQuotes!==!0)ED="";while(a<HD&&(Z0=UD())){if(Z0===eGD){ED+=Z0+UD();continue}if(Z0===nD){if(K.keepQuotes===!0)ED+=Z0;break}ED+=Z0}TD({type:"text",value:ED});continue}if(ED===Md0){bD++;let Z0={type:"brace",open:!0,close:!1,dollar:VD.value&&VD.value.slice(-1)==="$"||_.dollar===!0,depth:bD,commas:0,ranges:0,nodes:[]};_=TD(Z0),x.push(_),TD({type:"open",value:ED});continue}if(ED===Od0){if(_.type!=="brace"){TD({type:"text",value:ED});continue}let nD="close";_=x.pop(),_.close=!0,TD({type:nD,value:ED}),bD--,_=x[x.length-1];continue}if(ED===Wd0&&bD>0){if(_.ranges>0){_.ranges=0;let nD=_.nodes.shift();_.nodes=[nD,{type:"text",value:Kd0(_)}]}TD({type:"comma",value:ED}),_.commas++;continue}if(ED===Ud0&&bD>0&&_.commas===0){let nD=_.nodes;if(bD===0||nD.length===0){TD({type:"text",value:ED});continue}if(VD.type==="dot"){if(_.range=[],VD.value+=ED,VD.type="range",_.nodes.length!==3&&_.nodes.length!==5){_.invalid=!0,_.ranges=0,VD.type="text";continue}_.ranges++,_.args=[];continue}if(VD.type==="range"){nD.pop();let Z0=nD[nD.length-1];Z0.value+=VD.value+ED,VD=Z0,_.ranges--;continue}TD({type:"dot",value:ED});continue}TD({type:"text",value:ED})}do if(_=x.pop(),_.type!=="root"){_.nodes.forEach((M0)=>{if(!M0.nodes){if(M0.type==="open")M0.isOpen=!0;if(M0.type==="close")M0.isClose=!0;if(!M0.nodes)M0.type="text";M0.invalid=!0}});let nD=x[x.length-1],Z0=nD.nodes.indexOf(_);nD.nodes.splice(Z0,1,..._.nodes)}while(x.length>0);return TD({type:"eos"}),y};ysD.exports=Ed0});var usD=r0((ee0,SsD)=>{var wsD=i5D(),Nd0=jsD(),Td0=CsD(),Rd0=PsD(),IK=(Q,K={})=>{let G=[];if(Array.isArray(Q))for(let C of Q){let y=IK.create(C,K);if(Array.isArray(y))G.push(...y);else G.push(y)}else G=[].concat(IK.create(Q,K));if(K&&K.expand===!0&&K.nodupes===!0)G=[...new Set(G)];return G};IK.parse=(Q,K={})=>Rd0(Q,K);IK.stringify=(Q,K={})=>{if(typeof Q==="string")return wsD(IK.parse(Q,K),K);return wsD(Q,K)};IK.compile=(Q,K={})=>{if(typeof Q==="string")Q=IK.parse(Q,K);return Nd0(Q,K)};IK.expand=(Q,K={})=>{if(typeof Q==="string")Q=IK.parse(Q,K);let G=Td0(Q,K);if(K.noempty===!0)G=G.filter(Boolean);if(K.nodupes===!0)G=[...new Set(G)];return G};IK.create=(Q,K={})=>{if(Q===""||Q.length<3)return[Q];return K.expand!==!0?IK.compile(Q,K):IK.expand(Q,K)};SsD.exports=IK});var Dc=r0((DD1,vsD)=>{var Id0=i8("path"),fsD={DOT_LITERAL:"\\.",PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:"\\/",ONE_CHAR:"(?=.)",QMARK:"[^/]",END_ANCHOR:"(?:\\/|$)",DOTS_SLASH:"\\.{1,2}(?:\\/|$)",NO_DOT:"(?!\\.)",NO_DOTS:"(?!(?:^|\\/)\\.{1,2}(?:\\/|$))",NO_DOT_SLASH:"(?!\\.{0,1}(?:\\/|$))",NO_DOTS_SLASH:"(?!\\.{1,2}(?:\\/|$))",QMARK_NO_DOT:"[^.\\/]",STAR:"[^/]*?",START_ANCHOR:"(?:^|\\/)"},yd0={...fsD,SLASH_LITERAL:"[\\\\/]",QMARK:"[^\\\\/]",STAR:"[^\\\\/]*?",DOTS_SLASH:"\\.{1,2}(?:[\\\\/]|$)",NO_DOT:"(?!\\.)",NO_DOTS:"(?!(?:^|[\\\\/])\\.{1,2}(?:[\\\\/]|$))",NO_DOT_SLASH:"(?!\\.{0,1}(?:[\\\\/]|$))",NO_DOTS_SLASH:"(?!\\.{1,2}(?:[\\\\/]|$))",QMARK_NO_DOT:"[^.\\\\/]",START_ANCHOR:"(?:^|[\\\\/])",END_ANCHOR:"(?:[\\\\/]|$)"},Pd0={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"};vsD.exports={MAX_LENGTH:65536,POSIX_REGEX_SOURCE:Pd0,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:Id0.sep,extglobChars(Q){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${Q.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(Q){return Q===!0?yd0:fsD}}});var Fc=r0((xd0)=>{var wd0=i8("path"),Sd0=process.platform==="win32",{REGEX_BACKSLASH:ud0,REGEX_REMOVE_BACKSLASH:fd0,REGEX_SPECIAL_CHARS:vd0,REGEX_SPECIAL_CHARS_GLOBAL:bd0}=Dc();xd0.isObject=(Q)=>Q!==null&&typeof Q==="object"&&!Array.isArray(Q);xd0.hasRegexChars=(Q)=>vd0.test(Q);xd0.isRegexChar=(Q)=>Q.length===1&&xd0.hasRegexChars(Q);xd0.escapeRegex=(Q)=>Q.replace(bd0,"\\$1");xd0.toPosixSlashes=(Q)=>Q.replace(ud0,"/");xd0.removeBackslashes=(Q)=>{return Q.replace(fd0,(K)=>{return K==="\\"?"":K})};xd0.supportsLookbehinds=()=>{const Q=process.version.slice(1).split(".").map(Number);if(Q.length===3&&Q[0]>=9||Q[0]===8&&Q[1]>=10)return!0;return!1};xd0.isWindows=(Q)=>{if(Q&&typeof Q.windows==="boolean")return Q.windows;return Sd0===!0||wd0.sep==="\\"};xd0.escapeLast=(Q,K,G)=>{const C=Q.lastIndexOf(K,G);if(C===-1)return Q;if(Q[C-1]==="\\")return xd0.escapeLast(Q,K,C-1);return`${Q.slice(0,C)}\\${Q.slice(C)}`};xd0.removePrefix=(Q,K={})=>{let G=Q;if(G.startsWith("./"))G=G.slice(2),K.prefix="./";return G};xd0.wrapOutput=(Q,K={},G={})=>{const C=G.contains?"":"^",y=G.contains?"":"$";let x=`${C}(?:${Q})${y}`;if(K.negated===!0)x=`(?:^(?!${x}).*\$)`;return x}});var lsD=r0(($D1,csD)=>{var ksD=Fc(),{CHAR_ASTERISK:DHD,CHAR_AT:pd0,CHAR_BACKWARD_SLASH:$c,CHAR_COMMA:nd0,CHAR_DOT:FHD,CHAR_EXCLAMATION_MARK:$HD,CHAR_FORWARD_SLASH:dsD,CHAR_LEFT_CURLY_BRACE:ZHD,CHAR_LEFT_PARENTHESES:JHD,CHAR_LEFT_SQUARE_BRACKET:rd0,CHAR_PLUS:od0,CHAR_QUESTION_MARK:hsD,CHAR_RIGHT_CURLY_BRACE:sd0,CHAR_RIGHT_PARENTHESES:_sD,CHAR_RIGHT_SQUARE_BRACKET:ad0}=Dc(),gsD=(Q)=>{return Q===dsD||Q===$c},msD=(Q)=>{if(Q.isPrefix!==!0)Q.depth=Q.isGlobstar?Infinity:1},td0=(Q,K)=>{const G=K||{},C=Q.length-1,y=G.parts===!0||G.scanToEnd===!0,x=[],_=[],VD=[];let OD=Q,HD=-1,a=0,bD=0,ED=!1,XD=!1,UD=!1,TD=!1,nD=!1,Z0=!1,M0=!1,a1=!1,D8=!1,C8=!1,V6=0,$8,U6,VF={value:"",depth:0,isGlob:!1};const $7=()=>HD>=C,a0=()=>OD.charCodeAt(HD+1),y9=()=>{return $8=U6,OD.charCodeAt(++HD)};while(HD<C){U6=y9();let _9;if(U6===$c){if(M0=VF.backslashes=!0,U6=y9(),U6===ZHD)Z0=!0;continue}if(Z0===!0||U6===ZHD){V6++;while($7()!==!0&&(U6=y9())){if(U6===$c){M0=VF.backslashes=!0,y9();continue}if(U6===ZHD){V6++;continue}if(Z0!==!0&&U6===FHD&&(U6=y9())===FHD){if(ED=VF.isBrace=!0,UD=VF.isGlob=!0,C8=!0,y===!0)continue;break}if(Z0!==!0&&U6===nd0){if(ED=VF.isBrace=!0,UD=VF.isGlob=!0,C8=!0,y===!0)continue;break}if(U6===sd0){if(V6--,V6===0){Z0=!1,ED=VF.isBrace=!0,C8=!0;break}}}if(y===!0)continue;break}if(U6===dsD){if(x.push(HD),_.push(VF),VF={value:"",depth:0,isGlob:!1},C8===!0)continue;if($8===FHD&&HD===a+1){a+=2;continue}bD=HD+1;continue}if(G.noext!==!0){if((U6===od0||U6===pd0||U6===DHD||U6===hsD||U6===$HD)===!0&&a0()===JHD){if(UD=VF.isGlob=!0,TD=VF.isExtglob=!0,C8=!0,U6===$HD&&HD===a)D8=!0;if(y===!0){while($7()!==!0&&(U6=y9())){if(U6===$c){M0=VF.backslashes=!0,U6=y9();continue}if(U6===_sD){UD=VF.isGlob=!0,C8=!0;break}}continue}break}}if(U6===DHD){if($8===DHD)nD=VF.isGlobstar=!0;if(UD=VF.isGlob=!0,C8=!0,y===!0)continue;break}if(U6===hsD){if(UD=VF.isGlob=!0,C8=!0,y===!0)continue;break}if(U6===rd0){while($7()!==!0&&(_9=y9())){if(_9===$c){M0=VF.backslashes=!0,y9();continue}if(_9===ad0){XD=VF.isBracket=!0,UD=VF.isGlob=!0,C8=!0;break}}if(y===!0)continue;break}if(G.nonegate!==!0&&U6===$HD&&HD===a){a1=VF.negated=!0,a++;continue}if(G.noparen!==!0&&U6===JHD){if(UD=VF.isGlob=!0,y===!0){while($7()!==!0&&(U6=y9())){if(U6===JHD){M0=VF.backslashes=!0,U6=y9();continue}if(U6===_sD){C8=!0;break}}continue}break}if(UD===!0){if(C8=!0,y===!0)continue;break}}if(G.noext===!0)TD=!1,UD=!1;let S7=OD,K1="",$5="";if(a>0)K1=OD.slice(0,a),OD=OD.slice(a),bD-=a;if(S7&&UD===!0&&bD>0)S7=OD.slice(0,bD),$5=OD.slice(bD);else if(UD===!0)S7="",$5=OD;else S7=OD;if(S7&&S7!==""&&S7!=="/"&&S7!==OD){if(gsD(S7.charCodeAt(S7.length-1)))S7=S7.slice(0,-1)}if(G.unescape===!0){if($5)$5=ksD.removeBackslashes($5);if(S7&&M0===!0)S7=ksD.removeBackslashes(S7)}const R8={prefix:K1,input:Q,start:a,base:S7,glob:$5,isBrace:ED,isBracket:XD,isGlob:UD,isExtglob:TD,isGlobstar:nD,negated:a1,negatedExtglob:D8};if(G.tokens===!0){if(R8.maxDepth=0,!gsD(U6))_.push(VF);R8.tokens=_}if(G.parts===!0||G.tokens===!0){let _9;for(let h5=0;h5<x.length;h5++){const M2=_9?_9+1:a,h2=x[h5],$2=Q.slice(M2,h2);if(G.tokens){if(h5===0&&a!==0)_[h5].isPrefix=!0,_[h5].value=K1;else _[h5].value=$2;msD(_[h5]),R8.maxDepth+=_[h5].depth}if(h5!==0||$2!=="")VD.push($2);_9=h2}if(_9&&_9+1<Q.length){const h5=Q.slice(_9+1);if(VD.push(h5),G.tokens)_[_.length-1].value=h5,msD(_[_.length-1]),R8.maxDepth+=_[_.length-1].depth}R8.slashes=x,R8.parts=VD}return R8};csD.exports=td0});var nsD=r0((ZD1,psD)=>{var n5D=Dc(),yK=Fc(),{MAX_LENGTH:r5D,POSIX_REGEX_SOURCE:ed0,REGEX_NON_SPECIAL_CHARS:Dc0,REGEX_SPECIAL_CHARS_BACKREF:Fc0,REPLACEMENTS:isD}=n5D,$c0=(Q,K)=>{if(typeof K.expandRange==="function")return K.expandRange(...Q,K);Q.sort();const G=`[${Q.join("-")}]`;try{new RegExp(G)}catch(C){return Q.map((y)=>yK.escapeRegex(y)).join("..")}return G},Qf=(Q,K)=>{return`Missing ${Q}: "${K}" - use "\\\\${K}" to match literal characters`},BHD=(Q,K)=>{if(typeof Q!=="string")throw new TypeError("Expected a string");Q=isD[Q]||Q;const G={...K},C=typeof G.maxLength==="number"?Math.min(r5D,G.maxLength):r5D;let y=Q.length;if(y>C)throw new SyntaxError(`Input length: ${y}, exceeds maximum allowed length: ${C}`);const x={type:"bos",value:"",output:G.prepend||""},_=[x],VD=G.capture?"":"?:",OD=yK.isWindows(K),HD=n5D.globChars(OD),a=n5D.extglobChars(HD),{DOT_LITERAL:bD,PLUS_LITERAL:ED,SLASH_LITERAL:XD,ONE_CHAR:UD,DOTS_SLASH:TD,NO_DOT:nD,NO_DOT_SLASH:Z0,NO_DOTS_SLASH:M0,QMARK:a1,QMARK_NO_DOT:D8,STAR:C8,START_ANCHOR:V6}=HD,$8=(_6)=>{return`(${VD}(?:(?!${V6}${_6.dot?TD:bD}).)*?)`},U6=G.dot?"":nD,VF=G.dot?a1:D8;let $7=G.bash===!0?$8(G):C8;if(G.capture)$7=`(${$7})`;if(typeof G.noext==="boolean")G.noextglob=G.noext;const a0={input:Q,index:-1,start:0,dot:G.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:_};Q=yK.removePrefix(Q,a0),y=Q.length;const y9=[],S7=[],K1=[];let $5=x,R8;const _9=()=>a0.index===y-1,h5=a0.peek=(_6=1)=>Q[a0.index+_6],M2=a0.advance=()=>Q[++a0.index]||"",h2=()=>Q.slice(a0.index+1),$2=(_6="",e9=0)=>{a0.consumed+=_6,a0.index+=e9},xX=(_6)=>{a0.output+=_6.output!=null?_6.output:_6.value,$2(_6.value)},m5=()=>{let _6=1;while(h5()==="!"&&(h5(2)!=="("||h5(3)==="?"))M2(),a0.start++,_6++;if(_6%2===0)return!1;return a0.negated=!0,a0.start++,!0},qZ=(_6)=>{a0[_6]++,K1.push(_6)},r4=(_6)=>{a0[_6]--,K1.pop()},Z7=(_6)=>{if($5.type==="globstar"){const e9=a0.braces>0&&(_6.type==="comma"||_6.type==="brace"),B0=_6.extglob===!0||y9.length&&(_6.type==="pipe"||_6.type==="paren");if(_6.type!=="slash"&&_6.type!=="paren"&&!e9&&!B0)a0.output=a0.output.slice(0,-$5.output.length),$5.type="star",$5.value="*",$5.output=$7,a0.output+=$5.output}if(y9.length&&_6.type!=="paren")y9[y9.length-1].inner+=_6.value;if(_6.value||_6.output)xX(_6);if($5&&$5.type==="text"&&_6.type==="text"){$5.value+=_6.value,$5.output=($5.output||"")+_6.value;return}_6.prev=$5,_.push(_6),$5=_6},y3=(_6,e9)=>{const B0={...a[e9],conditions:1,inner:""};B0.prev=$5,B0.parens=a0.parens,B0.output=a0.output;const Q9=(G.capture?"(":"")+B0.open;qZ("parens"),Z7({type:_6,value:e9,output:a0.output?"":UD}),Z7({type:"paren",extglob:!0,value:M2(),output:Q9}),y9.push(B0)},QJ=(_6)=>{let e9=_6.close+(G.capture?")":""),B0;if(_6.type==="negate"){let Q9=$7;if(_6.inner&&_6.inner.length>1&&_6.inner.includes("/"))Q9=$8(G);if(Q9!==$7||_9()||/^\)+$/.test(h2()))e9=_6.close=`)\$))${Q9}`;if(_6.inner.includes("*")&&(B0=h2())&&/^\.[^\\/.]+$/.test(B0)){const y5=BHD(B0,{...K,fastpaths:!1}).output;e9=_6.close=`)${y5})${Q9})`}if(_6.prev.type==="bos")a0.negatedExtglob=!0}Z7({type:"paren",extglob:!0,value:R8,output:e9}),r4("parens")};if(G.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(Q)){let _6=!1,e9=Q.replace(Fc0,(B0,Q9,y5,vZ,d3,oU)=>{if(vZ==="\\")return _6=!0,B0;if(vZ==="?"){if(Q9)return Q9+vZ+(d3?a1.repeat(d3.length):"");if(oU===0)return VF+(d3?a1.repeat(d3.length):"");return a1.repeat(y5.length)}if(vZ===".")return bD.repeat(y5.length);if(vZ==="*"){if(Q9)return Q9+vZ+(d3?$7:"");return $7}return Q9?B0:`\\${B0}`});if(_6===!0)if(G.unescape===!0)e9=e9.replace(/\\/g,"");else e9=e9.replace(/\\+/g,(B0)=>{return B0.length%2===0?"\\\\":B0?"\\":""});if(e9===Q&&G.contains===!0)return a0.output=Q,a0;return a0.output=yK.wrapOutput(e9,a0,K),a0}while(!_9()){if(R8=M2(),R8==="\0")continue;if(R8==="\\"){const B0=h5();if(B0==="/"&&G.bash!==!0)continue;if(B0==="."||B0===";")continue;if(!B0){R8+="\\",Z7({type:"text",value:R8});continue}const Q9=/^\\+/.exec(h2());let y5=0;if(Q9&&Q9[0].length>2){if(y5=Q9[0].length,a0.index+=y5,y5%2!==0)R8+="\\"}if(G.unescape===!0)R8=M2();else R8+=M2();if(a0.brackets===0){Z7({type:"text",value:R8});continue}}if(a0.brackets>0&&(R8!=="]"||$5.value==="["||$5.value==="[^")){if(G.posix!==!1&&R8===":"){const B0=$5.value.slice(1);if(B0.includes("[")){if($5.posix=!0,B0.includes(":")){const Q9=$5.value.lastIndexOf("["),y5=$5.value.slice(0,Q9),vZ=$5.value.slice(Q9+2),d3=ed0[vZ];if(d3){if($5.value=y5+d3,a0.backtrack=!0,M2(),!x.output&&_.indexOf($5)===1)x.output=UD;continue}}}}if(R8==="["&&h5()!==":"||R8==="-"&&h5()==="]")R8=`\\${R8}`;if(R8==="]"&&($5.value==="["||$5.value==="[^"))R8=`\\${R8}`;if(G.posix===!0&&R8==="!"&&$5.value==="[")R8="^";$5.value+=R8,xX({value:R8});continue}if(a0.quotes===1&&R8!=='"'){R8=yK.escapeRegex(R8),$5.value+=R8,xX({value:R8});continue}if(R8==='"'){if(a0.quotes=a0.quotes===1?0:1,G.keepQuotes===!0)Z7({type:"text",value:R8});continue}if(R8==="("){qZ("parens"),Z7({type:"paren",value:R8});continue}if(R8===")"){if(a0.parens===0&&G.strictBrackets===!0)throw new SyntaxError(Qf("opening","("));const B0=y9[y9.length-1];if(B0&&a0.parens===B0.parens+1){QJ(y9.pop());continue}Z7({type:"paren",value:R8,output:a0.parens?")":"\\)"}),r4("parens");continue}if(R8==="["){if(G.nobracket===!0||!h2().includes("]")){if(G.nobracket!==!0&&G.strictBrackets===!0)throw new SyntaxError(Qf("closing","]"));R8=`\\${R8}`}else qZ("brackets");Z7({type:"bracket",value:R8});continue}if(R8==="]"){if(G.nobracket===!0||$5&&$5.type==="bracket"&&$5.value.length===1){Z7({type:"text",value:R8,output:`\\${R8}`});continue}if(a0.brackets===0){if(G.strictBrackets===!0)throw new SyntaxError(Qf("opening","["));Z7({type:"text",value:R8,output:`\\${R8}`});continue}r4("brackets");const B0=$5.value.slice(1);if($5.posix!==!0&&B0[0]==="^"&&!B0.includes("/"))R8=`/${R8}`;if($5.value+=R8,xX({value:R8}),G.literalBrackets===!1||yK.hasRegexChars(B0))continue;const Q9=yK.escapeRegex($5.value);if(a0.output=a0.output.slice(0,-$5.value.length),G.literalBrackets===!0){a0.output+=Q9,$5.value=Q9;continue}$5.value=`(${VD}${Q9}|${$5.value})`,a0.output+=$5.value;continue}if(R8==="{"&&G.nobrace!==!0){qZ("braces");const B0={type:"brace",value:R8,output:"(",outputIndex:a0.output.length,tokensIndex:a0.tokens.length};S7.push(B0),Z7(B0);continue}if(R8==="}"){const B0=S7[S7.length-1];if(G.nobrace===!0||!B0){Z7({type:"text",value:R8,output:R8});continue}let Q9=")";if(B0.dots===!0){const y5=_.slice(),vZ=[];for(let d3=y5.length-1;d3>=0;d3--){if(_.pop(),y5[d3].type==="brace")break;if(y5[d3].type!=="dots")vZ.unshift(y5[d3].value)}Q9=$c0(vZ,G),a0.backtrack=!0}if(B0.comma!==!0&&B0.dots!==!0){const y5=a0.output.slice(0,B0.outputIndex),vZ=a0.tokens.slice(B0.tokensIndex);B0.value=B0.output="\\{",R8=Q9="\\}",a0.output=y5;for(let d3 of vZ)a0.output+=d3.output||d3.value}Z7({type:"brace",value:R8,output:Q9}),r4("braces"),S7.pop();continue}if(R8==="|"){if(y9.length>0)y9[y9.length-1].conditions++;Z7({type:"text",value:R8});continue}if(R8===","){let B0=R8;const Q9=S7[S7.length-1];if(Q9&&K1[K1.length-1]==="braces")Q9.comma=!0,B0="|";Z7({type:"comma",value:R8,output:B0});continue}if(R8==="/"){if($5.type==="dot"&&a0.index===a0.start+1){a0.start=a0.index+1,a0.consumed="",a0.output="",_.pop(),$5=x;continue}Z7({type:"slash",value:R8,output:XD});continue}if(R8==="."){if(a0.braces>0&&$5.type==="dot"){if($5.value===".")$5.output=bD;const B0=S7[S7.length-1];$5.type="dots",$5.output+=R8,$5.value+=R8,B0.dots=!0;continue}if(a0.braces+a0.parens===0&&$5.type!=="bos"&&$5.type!=="slash"){Z7({type:"text",value:R8,output:bD});continue}Z7({type:"dot",value:R8,output:bD});continue}if(R8==="?"){if(!($5&&$5.value==="(")&&G.noextglob!==!0&&h5()==="("&&h5(2)!=="?"){y3("qmark",R8);continue}if($5&&$5.type==="paren"){const Q9=h5();let y5=R8;if(Q9==="<"&&!yK.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");if($5.value==="("&&!/[!=<:]/.test(Q9)||Q9==="<"&&!/<([!=]|\w+>)/.test(h2()))y5=`\\${R8}`;Z7({type:"text",value:R8,output:y5});continue}if(G.dot!==!0&&($5.type==="slash"||$5.type==="bos")){Z7({type:"qmark",value:R8,output:D8});continue}Z7({type:"qmark",value:R8,output:a1});continue}if(R8==="!"){if(G.noextglob!==!0&&h5()==="("){if(h5(2)!=="?"||!/[!=<:]/.test(h5(3))){y3("negate",R8);continue}}if(G.nonegate!==!0&&a0.index===0){m5();continue}}if(R8==="+"){if(G.noextglob!==!0&&h5()==="("&&h5(2)!=="?"){y3("plus",R8);continue}if($5&&$5.value==="("||G.regex===!1){Z7({type:"plus",value:R8,output:ED});continue}if($5&&($5.type==="bracket"||$5.type==="paren"||$5.type==="brace")||a0.parens>0){Z7({type:"plus",value:R8});continue}Z7({type:"plus",value:ED});continue}if(R8==="@"){if(G.noextglob!==!0&&h5()==="("&&h5(2)!=="?"){Z7({type:"at",extglob:!0,value:R8,output:""});continue}Z7({type:"text",value:R8});continue}if(R8!=="*"){if(R8==="$"||R8==="^")R8=`\\${R8}`;const B0=Dc0.exec(h2());if(B0)R8+=B0[0],a0.index+=B0[0].length;Z7({type:"text",value:R8});continue}if($5&&($5.type==="globstar"||$5.star===!0)){$5.type="star",$5.star=!0,$5.value+=R8,$5.output=$7,a0.backtrack=!0,a0.globstar=!0,$2(R8);continue}let _6=h2();if(G.noextglob!==!0&&/^\([^?]/.test(_6)){y3("star",R8);continue}if($5.type==="star"){if(G.noglobstar===!0){$2(R8);continue}const B0=$5.prev,Q9=B0.prev,y5=B0.type==="slash"||B0.type==="bos",vZ=Q9&&(Q9.type==="star"||Q9.type==="globstar");if(G.bash===!0&&(!y5||_6[0]&&_6[0]!=="/")){Z7({type:"star",value:R8,output:""});continue}const d3=a0.braces>0&&(B0.type==="comma"||B0.type==="brace"),oU=y9.length&&(B0.type==="pipe"||B0.type==="paren");if(!y5&&B0.type!=="paren"&&!d3&&!oU){Z7({type:"star",value:R8,output:""});continue}while(_6.slice(0,3)==="/**"){const QW=Q[a0.index+4];if(QW&&QW!=="/")break;_6=_6.slice(3),$2("/**",3)}if(B0.type==="bos"&&_9()){$5.type="globstar",$5.value+=R8,$5.output=$8(G),a0.output=$5.output,a0.globstar=!0,$2(R8);continue}if(B0.type==="slash"&&B0.prev.type!=="bos"&&!vZ&&_9()){a0.output=a0.output.slice(0,-(B0.output+$5.output).length),B0.output=`(?:${B0.output}`,$5.type="globstar",$5.output=$8(G)+(G.strictSlashes?")":"|$)"),$5.value+=R8,a0.globstar=!0,a0.output+=B0.output+$5.output,$2(R8);continue}if(B0.type==="slash"&&B0.prev.type!=="bos"&&_6[0]==="/"){const QW=_6[1]!==void 0?"|$":"";a0.output=a0.output.slice(0,-(B0.output+$5.output).length),B0.output=`(?:${B0.output}`,$5.type="globstar",$5.output=`${$8(G)}${XD}|${XD}${QW})`,$5.value+=R8,a0.output+=B0.output+$5.output,a0.globstar=!0,$2(R8+M2()),Z7({type:"slash",value:"/",output:""});continue}if(B0.type==="bos"&&_6[0]==="/"){$5.type="globstar",$5.value+=R8,$5.output=`(?:^|${XD}|${$8(G)}${XD})`,a0.output=$5.output,a0.globstar=!0,$2(R8+M2()),Z7({type:"slash",value:"/",output:""});continue}a0.output=a0.output.slice(0,-$5.output.length),$5.type="globstar",$5.output=$8(G),$5.value+=R8,a0.output+=$5.output,a0.globstar=!0,$2(R8);continue}const e9={type:"star",value:R8,output:$7};if(G.bash===!0){if(e9.output=".*?",$5.type==="bos"||$5.type==="slash")e9.output=U6+e9.output;Z7(e9);continue}if($5&&($5.type==="bracket"||$5.type==="paren")&&G.regex===!0){e9.output=R8,Z7(e9);continue}if(a0.index===a0.start||$5.type==="slash"||$5.type==="dot"){if($5.type==="dot")a0.output+=Z0,$5.output+=Z0;else if(G.dot===!0)a0.output+=M0,$5.output+=M0;else a0.output+=U6,$5.output+=U6;if(h5()!=="*")a0.output+=UD,$5.output+=UD}Z7(e9)}while(a0.brackets>0){if(G.strictBrackets===!0)throw new SyntaxError(Qf("closing","]"));a0.output=yK.escapeLast(a0.output,"["),r4("brackets")}while(a0.parens>0){if(G.strictBrackets===!0)throw new SyntaxError(Qf("closing",")"));a0.output=yK.escapeLast(a0.output,"("),r4("parens")}while(a0.braces>0){if(G.strictBrackets===!0)throw new SyntaxError(Qf("closing","}"));a0.output=yK.escapeLast(a0.output,"{"),r4("braces")}if(G.strictSlashes!==!0&&($5.type==="star"||$5.type==="bracket"))Z7({type:"maybe_slash",value:"",output:`${XD}?`});if(a0.backtrack===!0){a0.output="";for(let _6 of a0.tokens)if(a0.output+=_6.output!=null?_6.output:_6.value,_6.suffix)a0.output+=_6.suffix}return a0};BHD.fastpaths=(Q,K)=>{const G={...K},C=typeof G.maxLength==="number"?Math.min(r5D,G.maxLength):r5D,y=Q.length;if(y>C)throw new SyntaxError(`Input length: ${y}, exceeds maximum allowed length: ${C}`);Q=isD[Q]||Q;const x=yK.isWindows(K),{DOT_LITERAL:_,SLASH_LITERAL:VD,ONE_CHAR:OD,DOTS_SLASH:HD,NO_DOT:a,NO_DOTS:bD,NO_DOTS_SLASH:ED,STAR:XD,START_ANCHOR:UD}=n5D.globChars(x),TD=G.dot?bD:a,nD=G.dot?ED:a,Z0=G.capture?"":"?:",M0={negated:!1,prefix:""};let a1=G.bash===!0?".*?":XD;if(G.capture)a1=`(${a1})`;const D8=(U6)=>{if(U6.noglobstar===!0)return a1;return`(${Z0}(?:(?!${UD}${U6.dot?HD:_}).)*?)`},C8=(U6)=>{switch(U6){case"*":return`${TD}${OD}${a1}`;case".*":return`${_}${OD}${a1}`;case"*.*":return`${TD}${a1}${_}${OD}${a1}`;case"*/*":return`${TD}${a1}${VD}${OD}${nD}${a1}`;case"**":return TD+D8(G);case"**/*":return`(?:${TD}${D8(G)}${VD})?${nD}${OD}${a1}`;case"**/*.*":return`(?:${TD}${D8(G)}${VD})?${nD}${a1}${_}${OD}${a1}`;case"**/.*":return`(?:${TD}${D8(G)}${VD})?${_}${OD}${a1}`;default:{const VF=/^(.*?)\.(\w+)$/.exec(U6);if(!VF)return;const $7=C8(VF[1]);if(!$7)return;return $7+_+VF[2]}}},V6=yK.removePrefix(Q,M0);let $8=C8(V6);if($8&&G.strictSlashes!==!0)$8+=`${VD}?`;return $8};psD.exports=BHD});var osD=r0((JD1,rsD)=>{var Zc0=i8("path"),Jc0=lsD(),XHD=nsD(),YHD=Fc(),Bc0=Dc(),Xc0=(Q)=>Q&&typeof Q==="object"&&!Array.isArray(Q),xJ=(Q,K,G=!1)=>{if(Array.isArray(Q)){const a=Q.map((ED)=>xJ(ED,K,G));return(ED)=>{for(let XD of a){const UD=XD(ED);if(UD)return UD}return!1}}const C=Xc0(Q)&&Q.tokens&&Q.input;if(Q===""||typeof Q!=="string"&&!C)throw new TypeError("Expected pattern to be a non-empty string");const y=K||{},x=YHD.isWindows(K),_=C?xJ.compileRe(Q,K):xJ.makeRe(Q,K,!1,!0),VD=_.state;delete _.state;let OD=()=>!1;if(y.ignore){const a={...K,ignore:null,onMatch:null,onResult:null};OD=xJ(y.ignore,a,G)}const HD=(a,bD=!1)=>{const{isMatch:ED,match:XD,output:UD}=xJ.test(a,_,K,{glob:Q,posix:x}),TD={glob:Q,state:VD,regex:_,posix:x,input:a,output:UD,match:XD,isMatch:ED};if(typeof y.onResult==="function")y.onResult(TD);if(ED===!1)return TD.isMatch=!1,bD?TD:!1;if(OD(a)){if(typeof y.onIgnore==="function")y.onIgnore(TD);return TD.isMatch=!1,bD?TD:!1}if(typeof y.onMatch==="function")y.onMatch(TD);return bD?TD:!0};if(G)HD.state=VD;return HD};xJ.test=(Q,K,G,{glob:C,posix:y}={})=>{if(typeof Q!=="string")throw new TypeError("Expected input to be a string");if(Q==="")return{isMatch:!1,output:""};const x=G||{},_=x.format||(y?YHD.toPosixSlashes:null);let VD=Q===C,OD=VD&&_?_(Q):Q;if(VD===!1)OD=_?_(Q):Q,VD=OD===C;if(VD===!1||x.capture===!0)if(x.matchBase===!0||x.basename===!0)VD=xJ.matchBase(Q,K,G,y);else VD=K.exec(OD);return{isMatch:Boolean(VD),match:VD,output:OD}};xJ.matchBase=(Q,K,G,C=YHD.isWindows(G))=>{return(K instanceof RegExp?K:xJ.makeRe(K,G)).test(Zc0.basename(Q))};xJ.isMatch=(Q,K,G)=>xJ(K,G)(Q);xJ.parse=(Q,K)=>{if(Array.isArray(Q))return Q.map((G)=>xJ.parse(G,K));return XHD(Q,{...K,fastpaths:!1})};xJ.scan=(Q,K)=>Jc0(Q,K);xJ.compileRe=(Q,K,G=!1,C=!1)=>{if(G===!0)return Q.output;const y=K||{},x=y.contains?"":"^",_=y.contains?"":"$";let VD=`${x}(?:${Q.output})${_}`;if(Q&&Q.negated===!0)VD=`^(?!${VD}).*\$`;const OD=xJ.toRegex(VD,K);if(C===!0)OD.state=Q;return OD};xJ.makeRe=(Q,K={},G=!1,C=!1)=>{if(!Q||typeof Q!=="string")throw new TypeError("Expected a non-empty string");let y={negated:!1,fastpaths:!0};if(K.fastpaths!==!1&&(Q[0]==="."||Q[0]==="*"))y.output=XHD.fastpaths(Q,K);if(!y.output)y=XHD(Q,K);return xJ.compileRe(y,K,G,C)};xJ.toRegex=(Q,K)=>{try{const G=K||{};return new RegExp(Q,G.flags||(G.nocase?"i":""))}catch(G){if(K&&K.debug===!0)throw G;return/$^/}};xJ.constants=Bc0;rsD.exports=xJ});var DaD=r0((BD1,esD)=>{var asD=i8("util"),tsD=usD(),zM=osD(),QHD=Fc(),ssD=(Q)=>Q===""||Q==="./",KZ=(Q,K,G)=>{K=[].concat(K),Q=[].concat(Q);let C=new Set,y=new Set,x=new Set,_=0,VD=(a)=>{if(x.add(a.output),G&&G.onResult)G.onResult(a)};for(let a=0;a<K.length;a++){let bD=zM(String(K[a]),{...G,onResult:VD},!0),ED=bD.state.negated||bD.state.negatedExtglob;if(ED)_++;for(let XD of Q){let UD=bD(XD,!0);if(!(ED?!UD.isMatch:UD.isMatch))continue;if(ED)C.add(UD.output);else C.delete(UD.output),y.add(UD.output)}}let HD=(_===K.length?[...x]:[...y]).filter((a)=>!C.has(a));if(G&&HD.length===0){if(G.failglob===!0)throw new Error(`No matches found for "${K.join(", ")}"`);if(G.nonull===!0||G.nullglob===!0)return G.unescape?K.map((a)=>a.replace(/\\/g,"")):K}return HD};KZ.match=KZ;KZ.matcher=(Q,K)=>zM(Q,K);KZ.isMatch=(Q,K,G)=>zM(K,G)(Q);KZ.any=KZ.isMatch;KZ.not=(Q,K,G={})=>{K=[].concat(K).map(String);let C=new Set,y=[],_=new Set(KZ(Q,K,{...G,onResult:(VD)=>{if(G.onResult)G.onResult(VD);y.push(VD.output)}}));for(let VD of y)if(!_.has(VD))C.add(VD);return[...C]};KZ.contains=(Q,K,G)=>{if(typeof Q!=="string")throw new TypeError(`Expected a string: "${asD.inspect(Q)}"`);if(Array.isArray(K))return K.some((C)=>KZ.contains(Q,C,G));if(typeof K==="string"){if(ssD(Q)||ssD(K))return!1;if(Q.includes(K)||Q.startsWith("./")&&Q.slice(2).includes(K))return!0}return KZ.isMatch(Q,K,{...G,contains:!0})};KZ.matchKeys=(Q,K,G)=>{if(!QHD.isObject(Q))throw new TypeError("Expected the first argument to be an object");let C=KZ(Object.keys(Q),K,G),y={};for(let x of C)y[x]=Q[x];return y};KZ.some=(Q,K,G)=>{let C=[].concat(Q);for(let y of[].concat(K)){let x=zM(String(y),G);if(C.some((_)=>x(_)))return!0}return!1};KZ.every=(Q,K,G)=>{let C=[].concat(Q);for(let y of[].concat(K)){let x=zM(String(y),G);if(!C.every((_)=>x(_)))return!1}return!0};KZ.all=(Q,K,G)=>{if(typeof Q!=="string")throw new TypeError(`Expected a string: "${asD.inspect(Q)}"`);return[].concat(K).every((C)=>zM(C,G)(Q))};KZ.capture=(Q,K,G)=>{let C=QHD.isWindows(G),x=zM.makeRe(String(Q),{...G,capture:!0}).exec(C?QHD.toPosixSlashes(K):K);if(x)return x.slice(1).map((_)=>_===void 0?"":_)};KZ.makeRe=(...Q)=>zM.makeRe(...Q);KZ.scan=(...Q)=>zM.scan(...Q);KZ.parse=(Q,K)=>{let G=[];for(let C of[].concat(Q||[]))for(let y of tsD(String(C),K))G.push(zM.parse(y,K));return G};KZ.braces=(Q,K)=>{if(typeof Q!=="string")throw new TypeError("Expected a string");if(K&&K.nobrace===!0||!/\{.*\}/.test(Q))return[Q];return tsD(Q,K)};KZ.braceExpand=(Q,K)=>{if(typeof Q!=="string")throw new TypeError("Expected a string");return KZ.braces(Q,{...K,expand:!0})};esD.exports=KZ});var zaD=r0((QaD)=>{var $aD=function(Q,K={}){return!ZaD(Q,K)},ZaD=function(Q,K={}){if(Q==="")return!1;if(K.caseSensitiveMatch===!1||Q.includes(Vc0))return!0;if(zc0.test(Q)||Kc0.test(Q)||qc0.test(Q))return!0;if(K.extglob!==!1&&Wc0.test(Q))return!0;if(K.braceExpansion!==!1&&Hc0(Q))return!0;return!1},Hc0=function(Q){const K=Q.indexOf("{");if(K===-1)return!1;const G=Q.indexOf("}",K+1);if(G===-1)return!1;const C=Q.slice(K,G);return Uc0.test(C)},Mc0=function(Q){return o5D(Q)?Q.slice(1):Q},Oc0=function(Q){return"!"+Q},o5D=function(Q){return Q.startsWith("!")&&Q[1]!=="("},JaD=function(Q){return!o5D(Q)},jc0=function(Q){return Q.filter(o5D)},Lc0=function(Q){return Q.filter(JaD)},Ac0=function(Q){return Q.filter((K)=>!zHD(K))},Cc0=function(Q){return Q.filter(zHD)},zHD=function(Q){return Q.startsWith("..")||Q.startsWith("./..")},Ec0=function(Q){return Qc0(Q,{flipBackslashes:!1})},Nc0=function(Q){return Q.includes(FaD)},BaD=function(Q){return Q.endsWith("/"+FaD)},Tc0=function(Q){const K=Yc0.basename(Q);return BaD(Q)||$aD(K)},Rc0=function(Q){return Q.reduce((K,G)=>{return K.concat(XaD(G))},[])},XaD=function(Q){const K=VHD.braces(Q,{expand:!0,nodupes:!0,keepEscaping:!0});return K.sort((G,C)=>G.length-C.length),K.filter((G)=>G!=="")},Ic0=function(Q,K){let{parts:G}=VHD.scan(Q,Object.assign(Object.assign({},K),{parts:!0}));if(G.length===0)G=[Q];if(G[0].startsWith("/"))G[0]=G[0].slice(1),G.unshift("");return G},YaD=function(Q,K){return VHD.makeRe(Q,K)},yc0=function(Q,K){return Q.map((G)=>YaD(G,K))},Pc0=function(Q,K){return K.some((G)=>G.test(Q))},wc0=function(Q){return Q.replace(Gc0,"/")};Object.defineProperty(QaD,"__esModule",{value:!0});QaD.removeDuplicateSlashes=QaD.matchAny=QaD.convertPatternsToRe=QaD.makeRe=QaD.getPatternParts=QaD.expandBraceExpansion=QaD.expandPatternsWithBraceExpansion=QaD.isAffectDepthOfReadingPattern=QaD.endsWithSlashGlobStar=QaD.hasGlobStar=QaD.getBaseDirectory=QaD.isPatternRelatedToParentDirectory=QaD.getPatternsOutsideCurrentDirectory=QaD.getPatternsInsideCurrentDirectory=QaD.getPositivePatterns=QaD.getNegativePatterns=QaD.isPositivePattern=QaD.isNegativePattern=QaD.convertToNegativePattern=QaD.convertToPositivePattern=QaD.isDynamicPattern=QaD.isStaticPattern=void 0;var Yc0=i8("path"),Qc0=ooD(),VHD=DaD(),FaD="**",Vc0="\\",zc0=/[*?]|^!/,Kc0=/\[[^[]*]/,qc0=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,Wc0=/[!*+?@]\([^(]*\)/,Uc0=/,|\.\./,Gc0=/(?!^)\/{2,}/g;QaD.isStaticPattern=$aD;QaD.isDynamicPattern=ZaD;QaD.convertToPositivePattern=Mc0;QaD.convertToNegativePattern=Oc0;QaD.isNegativePattern=o5D;QaD.isPositivePattern=JaD;QaD.getNegativePatterns=jc0;QaD.getPositivePatterns=Lc0;QaD.getPatternsInsideCurrentDirectory=Ac0;QaD.getPatternsOutsideCurrentDirectory=Cc0;QaD.isPatternRelatedToParentDirectory=zHD;QaD.getBaseDirectory=Ec0;QaD.hasGlobStar=Nc0;QaD.endsWithSlashGlobStar=BaD;QaD.isAffectDepthOfReadingPattern=Tc0;QaD.expandPatternsWithBraceExpansion=Rc0;QaD.expandBraceExpansion=XaD;QaD.getPatternParts=Ic0;QaD.makeRe=YaD;QaD.convertPatternsToRe=yc0;QaD.matchAny=Pc0;QaD.removeDuplicateSlashes=wc0});var UaD=r0((qaD)=>{var ec0=function(Q){const K=tc0(Q);return Q.forEach((G)=>{G.once("error",(C)=>K.emit("error",C))}),K.once("close",()=>KaD(Q)),K.once("end",()=>KaD(Q)),K},KaD=function(Q){Q.forEach((K)=>K.emit("close"))};Object.defineProperty(qaD,"__esModule",{value:!0});qaD.merge=void 0;var tc0=lGD();qaD.merge=ec0});var MaD=r0((GaD)=>{var Dl0=function(Q){return typeof Q==="string"},Fl0=function(Q){return Q===""};Object.defineProperty(GaD,"__esModule",{value:!0});GaD.isEmpty=GaD.isString=void 0;GaD.isString=Dl0;GaD.isEmpty=Fl0});var yj=r0((OaD)=>{Object.defineProperty(OaD,"__esModule",{value:!0});OaD.string=OaD.stream=OaD.pattern=OaD.path=OaD.fs=OaD.errno=OaD.array=void 0;var Zl0=PoD();OaD.array=Zl0;var Jl0=uoD();OaD.errno=Jl0;var Bl0=xoD();OaD.fs=Bl0;var Xl0=doD();OaD.path=Xl0;var Yl0=zaD();OaD.pattern=Yl0;var Ql0=UaD();OaD.stream=Ql0;var Vl0=MaD();OaD.string=Vl0});var TaD=r0((EaD)=>{var Hl0=function(Q,K){const G=LaD(Q,K),C=LaD(K.ignore,K),y=AaD(G),x=CaD(G,C),_=y.filter((a)=>pU.pattern.isStaticPattern(a,K)),VD=y.filter((a)=>pU.pattern.isDynamicPattern(a,K)),OD=KHD(_,x,!1),HD=KHD(VD,x,!0);return OD.concat(HD)},LaD=function(Q,K){let G=Q;if(K.braceExpansion)G=pU.pattern.expandPatternsWithBraceExpansion(G);if(K.baseNameMatch)G=G.map((C)=>C.includes("/")?C:`**/${C}`);return G.map((C)=>pU.pattern.removeDuplicateSlashes(C))},KHD=function(Q,K,G){const C=[],y=pU.pattern.getPatternsOutsideCurrentDirectory(Q),x=pU.pattern.getPatternsInsideCurrentDirectory(Q),_=qHD(y),VD=qHD(x);if(C.push(...WHD(_,K,G)),"."in VD)C.push(UHD(".",x,K,G));else C.push(...WHD(VD,K,G));return C},AaD=function(Q){return pU.pattern.getPositivePatterns(Q)},CaD=function(Q,K){return pU.pattern.getNegativePatterns(Q).concat(K).map(pU.pattern.convertToPositivePattern)},qHD=function(Q){const K={};return Q.reduce((G,C)=>{const y=pU.pattern.getBaseDirectory(C);if(y in G)G[y].push(C);else G[y]=[C];return G},K)},WHD=function(Q,K,G){return Object.keys(Q).map((C)=>{return UHD(C,Q[C],K,G)})},UHD=function(Q,K,G,C){return{dynamic:C,positive:K,negative:G,base:Q,patterns:[].concat(K,G.map(pU.pattern.convertToNegativePattern))}};Object.defineProperty(EaD,"__esModule",{value:!0});EaD.convertPatternGroupToTask=EaD.convertPatternGroupsToTasks=EaD.groupPatternsByBaseDirectory=EaD.getNegativePatternsAsPositive=EaD.getPositivePatterns=EaD.convertPatternsToTasks=EaD.generate=void 0;var pU=yj();EaD.generate=Hl0;EaD.convertPatternsToTasks=KHD;EaD.getPositivePatterns=AaD;EaD.getNegativePatternsAsPositive=CaD;EaD.groupPatternsByBaseDirectory=qHD;EaD.convertPatternGroupsToTasks=WHD;EaD.convertPatternGroupToTask=UHD});var PaD=r0((IaD)=>{var El0=function(Q,K,G){K.fs.lstat(Q,(C,y)=>{if(C!==null){RaD(G,C);return}if(!y.isSymbolicLink()||!K.followSymbolicLink){GHD(G,y);return}K.fs.stat(Q,(x,_)=>{if(x!==null){if(K.throwErrorOnBrokenSymbolicLink){RaD(G,x);return}GHD(G,y);return}if(K.markSymbolicLink)_.isSymbolicLink=()=>!0;GHD(G,_)})})},RaD=function(Q,K){Q(K)},GHD=function(Q,K){Q(null,K)};Object.defineProperty(IaD,"__esModule",{value:!0});IaD.read=void 0;IaD.read=El0});var uaD=r0((waD)=>{var Nl0=function(Q,K){const G=K.fs.lstatSync(Q);if(!G.isSymbolicLink()||!K.followSymbolicLink)return G;try{const C=K.fs.statSync(Q);if(K.markSymbolicLink)C.isSymbolicLink=()=>!0;return C}catch(C){if(!K.throwErrorOnBrokenSymbolicLink)return G;throw C}};Object.defineProperty(waD,"__esModule",{value:!0});waD.read=void 0;waD.read=Nl0});var baD=r0((faD)=>{var Tl0=function(Q){if(Q===void 0)return faD.FILE_SYSTEM_ADAPTER;return Object.assign(Object.assign({},faD.FILE_SYSTEM_ADAPTER),Q)};Object.defineProperty(faD,"__esModule",{value:!0});faD.createFileSystemAdapter=faD.FILE_SYSTEM_ADAPTER=void 0;var s5D=i8("fs");faD.FILE_SYSTEM_ADAPTER={lstat:s5D.lstat,stat:s5D.stat,lstatSync:s5D.lstatSync,statSync:s5D.statSync};faD.createFileSystemAdapter=Tl0});var haD=r0((kaD)=>{Object.defineProperty(kaD,"__esModule",{value:!0});var Rl0=baD();class xaD{constructor(Q={}){this._options=Q,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=Rl0.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(Q,K){return Q!==null&&Q!==void 0?Q:K}}kaD.default=xaD});var _R=r0((gaD)=>{var Pl0=function(Q,K,G){if(typeof K==="function"){_aD.read(Q,OHD(),K);return}_aD.read(Q,OHD(K),G)},wl0=function(Q,K){const G=OHD(K);return yl0.read(Q,G)},OHD=function(Q={}){if(Q instanceof MHD.default)return Q;return new MHD.default(Q)};Object.defineProperty(gaD,"__esModule",{value:!0});gaD.statSync=gaD.stat=gaD.Settings=void 0;var _aD=PaD(),yl0=uaD(),MHD=haD();gaD.Settings=MHD.default;gaD.stat=Pl0;gaD.statSync=wl0});var laD=r0((HD1,caD)=>{/*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var daD;caD.exports=typeof queueMicrotask==="function"?queueMicrotask.bind(typeof window!=="undefined"?window:global):(Q)=>(daD||(daD=Promise.resolve())).then(Q).catch((K)=>setTimeout(()=>{throw K},0))});var paD=r0((MD1,iaD)=>{var vl0=function(Q,K){let G,C,y,x=!0;if(Array.isArray(Q))G=[],C=Q.length;else y=Object.keys(Q),G={},C=y.length;function _(OD){function HD(){if(K)K(OD,G);K=null}if(x)fl0(HD);else HD()}function VD(OD,HD,a){if(G[OD]=a,--C===0||HD)_(HD)}if(!C)_(null);else if(y)y.forEach(function(OD){Q[OD](function(HD,a){VD(OD,HD,a)})});else Q.forEach(function(OD,HD){OD(function(a,bD){VD(HD,a,bD)})});x=!1};/*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */iaD.exports=vl0;var fl0=laD()});var jHD=r0((oaD)=>{Object.defineProperty(oaD,"__esModule",{value:!0});oaD.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;var a5D=process.versions.node.split(".");if(a5D[0]===void 0||a5D[1]===void 0)throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);var naD=Number.parseInt(a5D[0],10),bl0=Number.parseInt(a5D[1],10),raD=10,xl0=10,kl0=naD>raD,hl0=naD===raD&&bl0>=xl0;oaD.IS_SUPPORT_READDIR_WITH_FILE_TYPES=kl0||hl0});var DtD=r0((taD)=>{var _l0=function(Q,K){return new aaD(Q,K)};Object.defineProperty(taD,"__esModule",{value:!0});taD.createDirentFromStats=void 0;class aaD{constructor(Q,K){this.name=Q,this.isBlockDevice=K.isBlockDevice.bind(K),this.isCharacterDevice=K.isCharacterDevice.bind(K),this.isDirectory=K.isDirectory.bind(K),this.isFIFO=K.isFIFO.bind(K),this.isFile=K.isFile.bind(K),this.isSocket=K.isSocket.bind(K),this.isSymbolicLink=K.isSymbolicLink.bind(K)}}taD.createDirentFromStats=_l0});var LHD=r0((FtD)=>{Object.defineProperty(FtD,"__esModule",{value:!0});FtD.fs=void 0;var gl0=DtD();FtD.fs=gl0});var AHD=r0((ZtD)=>{var ml0=function(Q,K,G){if(Q.endsWith(G))return Q+K;return Q+G+K};Object.defineProperty(ZtD,"__esModule",{value:!0});ZtD.joinPathSegments=void 0;ZtD.joinPathSegments=ml0});var qtD=r0((ztD)=>{var ll0=function(Q,K,G){if(!K.stats&&cl0.IS_SUPPORT_READDIR_WITH_FILE_TYPES){QtD(Q,K,G);return}VtD(Q,K,G)},QtD=function(Q,K,G){K.fs.readdir(Q,{withFileTypes:!0},(C,y)=>{if(C!==null){t5D(G,C);return}const x=y.map((VD)=>({dirent:VD,name:VD.name,path:YtD.joinPathSegments(Q,VD.name,K.pathSegmentSeparator)}));if(!K.followSymbolicLinks){CHD(G,x);return}const _=x.map((VD)=>il0(VD,K));BtD(_,(VD,OD)=>{if(VD!==null){t5D(G,VD);return}CHD(G,OD)})})},il0=function(Q,K){return(G)=>{if(!Q.dirent.isSymbolicLink()){G(null,Q);return}K.fs.stat(Q.path,(C,y)=>{if(C!==null){if(K.throwErrorOnBrokenSymbolicLink){G(C);return}G(null,Q);return}Q.dirent=XtD.fs.createDirentFromStats(Q.name,y),G(null,Q)})}},VtD=function(Q,K,G){K.fs.readdir(Q,(C,y)=>{if(C!==null){t5D(G,C);return}const x=y.map((_)=>{const VD=YtD.joinPathSegments(Q,_,K.pathSegmentSeparator);return(OD)=>{dl0.stat(VD,K.fsStatSettings,(HD,a)=>{if(HD!==null){OD(HD);return}const bD={name:_,path:VD,dirent:XtD.fs.createDirentFromStats(_,a)};if(K.stats)bD.stats=a;OD(null,bD)})}});BtD(x,(_,VD)=>{if(_!==null){t5D(G,_);return}CHD(G,VD)})})},t5D=function(Q,K){Q(K)},CHD=function(Q,K){Q(null,K)};Object.defineProperty(ztD,"__esModule",{value:!0});ztD.readdir=ztD.readdirWithFileTypes=ztD.read=void 0;var dl0=_R(),BtD=paD(),cl0=jHD(),XtD=LHD(),YtD=AHD();ztD.read=ll0;ztD.readdirWithFileTypes=QtD;ztD.readdir=VtD});var jtD=r0((MtD)=>{var sl0=function(Q,K){if(!K.stats&&ol0.IS_SUPPORT_READDIR_WITH_FILE_TYPES)return GtD(Q,K);return HtD(Q,K)},GtD=function(Q,K){return K.fs.readdirSync(Q,{withFileTypes:!0}).map((C)=>{const y={dirent:C,name:C.name,path:UtD.joinPathSegments(Q,C.name,K.pathSegmentSeparator)};if(y.dirent.isSymbolicLink()&&K.followSymbolicLinks)try{const x=K.fs.statSync(y.path);y.dirent=WtD.fs.createDirentFromStats(y.name,x)}catch(x){if(K.throwErrorOnBrokenSymbolicLink)throw x}return y})},HtD=function(Q,K){return K.fs.readdirSync(Q).map((C)=>{const y=UtD.joinPathSegments(Q,C,K.pathSegmentSeparator),x=rl0.statSync(y,K.fsStatSettings),_={name:C,path:y,dirent:WtD.fs.createDirentFromStats(C,x)};if(K.stats)_.stats=x;return _})};Object.defineProperty(MtD,"__esModule",{value:!0});MtD.readdir=MtD.readdirWithFileTypes=MtD.read=void 0;var rl0=_R(),ol0=jHD(),WtD=LHD(),UtD=AHD();MtD.read=sl0;MtD.readdirWithFileTypes=GtD;MtD.readdir=HtD});var CtD=r0((LtD)=>{var el0=function(Q){if(Q===void 0)return LtD.FILE_SYSTEM_ADAPTER;return Object.assign(Object.assign({},LtD.FILE_SYSTEM_ADAPTER),Q)};Object.defineProperty(LtD,"__esModule",{value:!0});LtD.createFileSystemAdapter=LtD.FILE_SYSTEM_ADAPTER=void 0;var Vf=i8("fs");LtD.FILE_SYSTEM_ADAPTER={lstat:Vf.lstat,stat:Vf.stat,lstatSync:Vf.lstatSync,statSync:Vf.statSync,readdir:Vf.readdir,readdirSync:Vf.readdirSync};LtD.createFileSystemAdapter=el0});var TtD=r0((NtD)=>{Object.defineProperty(NtD,"__esModule",{value:!0});var Di0=i8("path"),Fi0=_R(),$i0=CtD();class EtD{constructor(Q={}){this._options=Q,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=$i0.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,Di0.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new Fi0.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(Q,K){return Q!==null&&Q!==void 0?Q:K}}NtD.default=EtD});var e5D=r0((ItD)=>{var Bi0=function(Q,K,G){if(typeof K==="function"){RtD.read(Q,THD(),K);return}RtD.read(Q,THD(K),G)},Xi0=function(Q,K){const G=THD(K);return Ji0.read(Q,G)},THD=function(Q={}){if(Q instanceof NHD.default)return Q;return new NHD.default(Q)};Object.defineProperty(ItD,"__esModule",{value:!0});ItD.Settings=ItD.scandirSync=ItD.scandir=void 0;var RtD=qtD(),Ji0=jtD(),NHD=TtD();ItD.Settings=NHD.default;ItD.scandir=Bi0;ItD.scandirSync=Xi0});var wtD=r0((ID1,PtD)=>{var Vi0=function(Q){var K=new Q,G=K;function C(){var x=K;if(x.next)K=x.next;else K=new Q,G=K;return x.next=null,x}function y(x){G.next=x,G=x}return{get:C,release:y}};PtD.exports=Vi0});var utD=r0((yD1,RHD)=>{var StD=function(Q,K,G){if(typeof Q==="function")G=K,K=Q,Q=null;if(G<1)throw new Error("fastqueue concurrency must be greater than 1");var C=zi0(Ki0),y=null,x=null,_=0,VD=null,OD={push:TD,drain:ZW,saturated:ZW,pause:a,paused:!1,concurrency:G,running:HD,resume:XD,idle:UD,length:bD,getQueue:ED,unshift:nD,empty:ZW,kill:M0,killAndDrain:a1,error:D8};return OD;function HD(){return _}function a(){OD.paused=!0}function bD(){var C8=y,V6=0;while(C8)C8=C8.next,V6++;return V6}function ED(){var C8=y,V6=[];while(C8)V6.push(C8.value),C8=C8.next;return V6}function XD(){if(!OD.paused)return;OD.paused=!1;for(var C8=0;C8<OD.concurrency;C8++)_++,Z0()}function UD(){return _===0&&OD.length()===0}function TD(C8,V6){var $8=C.get();if($8.context=Q,$8.release=Z0,$8.value=C8,$8.callback=V6||ZW,$8.errorHandler=VD,_===OD.concurrency||OD.paused)if(x)x.next=$8,x=$8;else y=$8,x=$8,OD.saturated();else _++,K.call(Q,$8.value,$8.worked)}function nD(C8,V6){var $8=C.get();if($8.context=Q,$8.release=Z0,$8.value=C8,$8.callback=V6||ZW,_===OD.concurrency||OD.paused)if(y)$8.next=y,y=$8;else y=$8,x=$8,OD.saturated();else _++,K.call(Q,$8.value,$8.worked)}function Z0(C8){if(C8)C.release(C8);var V6=y;if(V6)if(!OD.paused){if(x===y)x=null;if(y=V6.next,V6.next=null,K.call(Q,V6.value,V6.worked),x===null)OD.empty()}else _--;else if(--_===0)OD.drain()}function M0(){y=null,x=null,OD.drain=ZW}function a1(){y=null,x=null,OD.drain(),OD.drain=ZW}function D8(C8){VD=C8}},ZW=function(){},Ki0=function(){this.value=null,this.callback=ZW,this.next=null,this.release=ZW,this.context=null,this.errorHandler=null;var Q=this;this.worked=function K(G,C){var{callback:y,errorHandler:x,value:_}=Q;if(Q.value=null,Q.callback=ZW,Q.errorHandler)x(G,_);y.call(Q.context,G,C),Q.release(Q)}},qi0=function(Q,K,G){if(typeof Q==="function")G=K,K=Q,Q=null;function C(a,bD){K.call(this,a).then(function(ED){bD(null,ED)},bD)}var y=StD(Q,C,G),x=y.push,_=y.unshift;return y.push=VD,y.unshift=OD,y.drained=HD,y;function VD(a){var bD=new Promise(function(ED,XD){x(a,function(UD,TD){if(UD){XD(UD);return}ED(TD)})});return bD.catch(ZW),bD}function OD(a){var bD=new Promise(function(ED,XD){_(a,function(UD,TD){if(UD){XD(UD);return}ED(TD)})});return bD.catch(ZW),bD}function HD(){var a=y.drain,bD=new Promise(function(ED){y.drain=function(){a(),ED()}});return bD}},zi0=wtD();RHD.exports=StD;RHD.exports.promise=qi0});var D6D=r0((ftD)=>{var Wi0=function(Q,K){if(Q.errorFilter===null)return!0;return!Q.errorFilter(K)},Ui0=function(Q,K){return Q===null||Q(K)},Gi0=function(Q,K){return Q.split(/[/\\]/).join(K)},Hi0=function(Q,K,G){if(Q==="")return K;if(Q.endsWith(G))return Q+K;return Q+G+K};Object.defineProperty(ftD,"__esModule",{value:!0});ftD.joinPathSegments=ftD.replacePathSegmentSeparator=ftD.isAppliedFilter=ftD.isFatalError=void 0;ftD.isFatalError=Wi0;ftD.isAppliedFilter=Ui0;ftD.replacePathSegmentSeparator=Gi0;ftD.joinPathSegments=Hi0});var IHD=r0((xtD)=>{Object.defineProperty(xtD,"__esModule",{value:!0});var Li0=D6D();class btD{constructor(Q,K){this._root=Q,this._settings=K,this._root=Li0.replacePathSegmentSeparator(Q,K.pathSegmentSeparator)}}xtD.default=btD});var yHD=r0((htD)=>{Object.defineProperty(htD,"__esModule",{value:!0});var Ci0=i8("events"),Ei0=e5D(),Ni0=utD(),F6D=D6D(),Ti0=IHD();class ktD extends Ti0.default{constructor(Q,K){super(Q,K);this._settings=K,this._scandir=Ei0.scandir,this._emitter=new Ci0.EventEmitter,this._queue=Ni0(this._worker.bind(this),this._settings.concurrency),this._isFatalError=!1,this._isDestroyed=!1,this._queue.drain=()=>{if(!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(Q){this._emitter.on("entry",Q)}onError(Q){this._emitter.once("error",Q)}onEnd(Q){this._emitter.once("end",Q)}_pushToQueue(Q,K){const G={directory:Q,base:K};this._queue.push(G,(C)=>{if(C!==null)this._handleError(C)})}_worker(Q,K){this._scandir(Q.directory,this._settings.fsScandirSettings,(G,C)=>{if(G!==null){K(G,void 0);return}for(let y of C)this._handleEntry(y,Q.base);K(null,void 0)})}_handleError(Q){if(this._isDestroyed||!F6D.isFatalError(this._settings,Q))return;this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",Q)}_handleEntry(Q,K){if(this._isDestroyed||this._isFatalError)return;const G=Q.path;if(K!==void 0)Q.path=F6D.joinPathSegments(K,Q.name,this._settings.pathSegmentSeparator);if(F6D.isAppliedFilter(this._settings.entryFilter,Q))this._emitEntry(Q);if(Q.dirent.isDirectory()&&F6D.isAppliedFilter(this._settings.deepFilter,Q))this._pushToQueue(G,K===void 0?void 0:Q.path)}_emitEntry(Q){this._emitter.emit("entry",Q)}}htD.default=ktD});var mtD=r0((gtD)=>{var yi0=function(Q,K){Q(K)},Pi0=function(Q,K){Q(null,K)};Object.defineProperty(gtD,"__esModule",{value:!0});var Ii0=yHD();class _tD{constructor(Q,K){this._root=Q,this._settings=K,this._reader=new Ii0.default(this._root,this._settings),this._storage=[]}read(Q){this._reader.onError((K)=>{yi0(Q,K)}),this._reader.onEntry((K)=>{this._storage.push(K)}),this._reader.onEnd(()=>{Pi0(Q,this._storage)}),this._reader.read()}}gtD.default=_tD});var ltD=r0((ctD)=>{Object.defineProperty(ctD,"__esModule",{value:!0});var Si0=i8("stream"),ui0=yHD();class dtD{constructor(Q,K){this._root=Q,this._settings=K,this._reader=new ui0.default(this._root,this._settings),this._stream=new Si0.Readable({objectMode:!0,read:()=>{},destroy:()=>{if(!this._reader.isDestroyed)this._reader.destroy()}})}read(){return this._reader.onError((Q)=>{this._stream.emit("error",Q)}),this._reader.onEntry((Q)=>{this._stream.push(Q)}),this._reader.onEnd(()=>{this._stream.push(null)}),this._reader.read(),this._stream}}ctD.default=dtD});var ntD=r0((ptD)=>{Object.defineProperty(ptD,"__esModule",{value:!0});var vi0=e5D(),$6D=D6D(),bi0=IHD();class itD extends bi0.default{constructor(){super(...arguments);this._scandir=vi0.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(Q,K){this._queue.add({directory:Q,base:K})}_handleQueue(){for(let Q of this._queue.values())this._handleDirectory(Q.directory,Q.base)}_handleDirectory(Q,K){try{const G=this._scandir(Q,this._settings.fsScandirSettings);for(let C of G)this._handleEntry(C,K)}catch(G){this._handleError(G)}}_handleError(Q){if(!$6D.isFatalError(this._settings,Q))return;throw Q}_handleEntry(Q,K){const G=Q.path;if(K!==void 0)Q.path=$6D.joinPathSegments(K,Q.name,this._settings.pathSegmentSeparator);if($6D.isAppliedFilter(this._settings.entryFilter,Q))this._pushToStorage(Q);if(Q.dirent.isDirectory()&&$6D.isAppliedFilter(this._settings.deepFilter,Q))this._pushToQueue(G,K===void 0?void 0:Q.path)}_pushToStorage(Q){this._storage.push(Q)}}ptD.default=itD});var stD=r0((otD)=>{Object.defineProperty(otD,"__esModule",{value:!0});var ki0=ntD();class rtD{constructor(Q,K){this._root=Q,this._settings=K,this._reader=new ki0.default(this._root,this._settings)}read(){return this._reader.read()}}otD.default=rtD});var etD=r0((ttD)=>{Object.defineProperty(ttD,"__esModule",{value:!0});var _i0=i8("path"),gi0=e5D();class atD{constructor(Q={}){this._options=Q,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,_i0.sep),this.fsScandirSettings=new gi0.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(Q,K){return Q!==null&&Q!==void 0?Q:K}}ttD.default=atD});var J6D=r0((FeD)=>{var li0=function(Q,K,G){if(typeof K==="function"){new DeD.default(Q,Z6D()).read(K);return}new DeD.default(Q,Z6D(K)).read(G)},ii0=function(Q,K){const G=Z6D(K);return new ci0.default(Q,G).read()},pi0=function(Q,K){const G=Z6D(K);return new di0.default(Q,G).read()},Z6D=function(Q={}){if(Q instanceof PHD.default)return Q;return new PHD.default(Q)};Object.defineProperty(FeD,"__esModule",{value:!0});FeD.Settings=FeD.walkStream=FeD.walkSync=FeD.walk=void 0;var DeD=mtD(),di0=ltD(),ci0=stD(),PHD=etD();FeD.Settings=PHD.default;FeD.walk=li0;FeD.walkSync=ii0;FeD.walkStream=pi0});var B6D=r0((BeD)=>{Object.defineProperty(BeD,"__esModule",{value:!0});var si0=i8("path"),ai0=_R(),ZeD=yj();class JeD{constructor(Q){this._settings=Q,this._fsStatSettings=new ai0.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(Q){return si0.resolve(this._settings.cwd,Q)}_makeEntry(Q,K){const G={name:K,path:K,dirent:ZeD.fs.createDirentFromStats(K,Q)};if(this._settings.stats)G.stats=Q;return G}_isFatalError(Q){return!ZeD.errno.isEnoentCodeError(Q)&&!this._settings.suppressErrors}}BeD.default=JeD});var wHD=r0((YeD)=>{Object.defineProperty(YeD,"__esModule",{value:!0});var ei0=i8("stream"),Dp0=_R(),Fp0=J6D(),$p0=B6D();class XeD extends $p0.default{constructor(){super(...arguments);this._walkStream=Fp0.walkStream,this._stat=Dp0.stat}dynamic(Q,K){return this._walkStream(Q,K)}static(Q,K){const G=Q.map(this._getFullEntryPath,this),C=new ei0.PassThrough({objectMode:!0});C._write=(y,x,_)=>{return this._getEntry(G[y],Q[y],K).then((VD)=>{if(VD!==null&&K.entryFilter(VD))C.push(VD);if(y===G.length-1)C.end();_()}).catch(_)};for(let y=0;y<G.length;y++)C.write(y);return C}_getEntry(Q,K,G){return this._getStat(Q).then((C)=>this._makeEntry(C,K)).catch((C)=>{if(G.errorFilter(C))return null;throw C})}_getStat(Q){return new Promise((K,G)=>{this._stat(Q,this._fsStatSettings,(C,y)=>{return C===null?K(y):G(C)})})}}YeD.default=XeD});var zeD=r0((VeD)=>{Object.defineProperty(VeD,"__esModule",{value:!0});var Jp0=J6D(),Bp0=B6D(),Xp0=wHD();class QeD extends Bp0.default{constructor(){super(...arguments);this._walkAsync=Jp0.walk,this._readerStream=new Xp0.default(this._settings)}dynamic(Q,K){return new Promise((G,C)=>{this._walkAsync(Q,K,(y,x)=>{if(y===null)G(x);else C(y)})})}async static(Q,K){const G=[],C=this._readerStream.static(Q,K);return new Promise((y,x)=>{C.once("error",x),C.on("data",(_)=>G.push(_)),C.once("end",()=>y(G))})}}VeD.default=QeD});var WeD=r0((qeD)=>{Object.defineProperty(qeD,"__esModule",{value:!0});var Zc=yj();class KeD{constructor(Q,K,G){this._patterns=Q,this._settings=K,this._micromatchOptions=G,this._storage=[],this._fillStorage()}_fillStorage(){for(let Q of this._patterns){const K=this._getPatternSegments(Q),G=this._splitSegmentsIntoSections(K);this._storage.push({complete:G.length<=1,pattern:Q,segments:K,sections:G})}}_getPatternSegments(Q){return Zc.pattern.getPatternParts(Q,this._micromatchOptions).map((G)=>{if(!Zc.pattern.isDynamicPattern(G,this._settings))return{dynamic:!1,pattern:G};return{dynamic:!0,pattern:G,patternRe:Zc.pattern.makeRe(G,this._micromatchOptions)}})}_splitSegmentsIntoSections(Q){return Zc.array.splitWhen(Q,(K)=>K.dynamic&&Zc.pattern.hasGlobStar(K.pattern))}}qeD.default=KeD});var HeD=r0((GeD)=>{Object.defineProperty(GeD,"__esModule",{value:!0});var Vp0=WeD();class UeD extends Vp0.default{match(Q){const K=Q.split("/"),G=K.length,C=this._storage.filter((y)=>!y.complete||y.segments.length>G);for(let y of C){const x=y.sections[0];if(!y.complete&&G>x.length)return!0;if(K.every((VD,OD)=>{const HD=y.segments[OD];if(HD.dynamic&&HD.patternRe.test(VD))return!0;if(!HD.dynamic&&HD.pattern===VD)return!0;return!1}))return!0}return!1}}GeD.default=UeD});var jeD=r0((OeD)=>{Object.defineProperty(OeD,"__esModule",{value:!0});var X6D=yj(),Kp0=HeD();class MeD{constructor(Q,K){this._settings=Q,this._micromatchOptions=K}getFilter(Q,K,G){const C=this._getMatcher(K),y=this._getNegativePatternsRe(G);return(x)=>this._filter(Q,x,C,y)}_getMatcher(Q){return new Kp0.default(Q,this._settings,this._micromatchOptions)}_getNegativePatternsRe(Q){const K=Q.filter(X6D.pattern.isAffectDepthOfReadingPattern);return X6D.pattern.convertPatternsToRe(K,this._micromatchOptions)}_filter(Q,K,G,C){if(this._isSkippedByDeep(Q,K.path))return!1;if(this._isSkippedSymbolicLink(K))return!1;const y=X6D.path.removeLeadingDotSegment(K.path);if(this._isSkippedByPositivePatterns(y,G))return!1;return this._isSkippedByNegativePatterns(y,C)}_isSkippedByDeep(Q,K){if(this._settings.deep===Infinity)return!1;return this._getEntryLevel(Q,K)>=this._settings.deep}_getEntryLevel(Q,K){const G=K.split("/").length;if(Q==="")return G;const C=Q.split("/").length;return G-C}_isSkippedSymbolicLink(Q){return!this._settings.followSymbolicLinks&&Q.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(Q,K){return!this._settings.baseNameMatch&&!K.match(Q)}_isSkippedByNegativePatterns(Q,K){return!X6D.pattern.matchAny(Q,K)}}OeD.default=MeD});var CeD=r0((AeD)=>{Object.defineProperty(AeD,"__esModule",{value:!0});var gR=yj();class LeD{constructor(Q,K){this._settings=Q,this._micromatchOptions=K,this.index=new Map}getFilter(Q,K){const G=gR.pattern.convertPatternsToRe(Q,this._micromatchOptions),C=gR.pattern.convertPatternsToRe(K,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}));return(y)=>this._filter(y,G,C)}_filter(Q,K,G){const C=gR.path.removeLeadingDotSegment(Q.path);if(this._settings.unique&&this._isDuplicateEntry(C))return!1;if(this._onlyFileFilter(Q)||this._onlyDirectoryFilter(Q))return!1;if(this._isSkippedByAbsoluteNegativePatterns(C,G))return!1;const y=Q.dirent.isDirectory(),x=this._isMatchToPatterns(C,K,y)&&!this._isMatchToPatterns(C,G,y);if(this._settings.unique&&x)this._createIndexRecord(C);return x}_isDuplicateEntry(Q){return this.index.has(Q)}_createIndexRecord(Q){this.index.set(Q,void 0)}_onlyFileFilter(Q){return this._settings.onlyFiles&&!Q.dirent.isFile()}_onlyDirectoryFilter(Q){return this._settings.onlyDirectories&&!Q.dirent.isDirectory()}_isSkippedByAbsoluteNegativePatterns(Q,K){if(!this._settings.absolute)return!1;const G=gR.path.makeAbsolute(this._settings.cwd,Q);return gR.pattern.matchAny(G,K)}_isMatchToPatterns(Q,K,G){const C=gR.pattern.matchAny(Q,K);if(!C&&G)return gR.pattern.matchAny(Q+"/",K);return C}}AeD.default=LeD});var TeD=r0((NeD)=>{Object.defineProperty(NeD,"__esModule",{value:!0});var Up0=yj();class EeD{constructor(Q){this._settings=Q}getFilter(){return(Q)=>this._isNonFatalError(Q)}_isNonFatalError(Q){return Up0.errno.isEnoentCodeError(Q)||this._settings.suppressErrors}}NeD.default=EeD});var PeD=r0((yeD)=>{Object.defineProperty(yeD,"__esModule",{value:!0});var ReD=yj();class IeD{constructor(Q){this._settings=Q}getTransformer(){return(Q)=>this._transform(Q)}_transform(Q){let K=Q.path;if(this._settings.absolute)K=ReD.path.makeAbsolute(this._settings.cwd,K),K=ReD.path.unixify(K);if(this._settings.markDirectories&&Q.dirent.isDirectory())K+="/";if(!this._settings.objectMode)return K;return Object.assign(Object.assign({},Q),{path:K})}}yeD.default=IeD});var Y6D=r0((SeD)=>{Object.defineProperty(SeD,"__esModule",{value:!0});var Mp0=i8("path"),Op0=jeD(),jp0=CeD(),Lp0=TeD(),Ap0=PeD();class weD{constructor(Q){this._settings=Q,this.errorFilter=new Lp0.default(this._settings),this.entryFilter=new jp0.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new Op0.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new Ap0.default(this._settings)}_getRootDirectory(Q){return Mp0.resolve(this._settings.cwd,Q.base)}_getReaderOptions(Q){const K=Q.base==="."?"":Q.base;return{basePath:K,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(K,Q.positive,Q.negative),entryFilter:this.entryFilter.getFilter(Q.positive,Q.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}}}SeD.default=weD});var veD=r0((feD)=>{Object.defineProperty(feD,"__esModule",{value:!0});var Ep0=zeD(),Np0=Y6D();class ueD extends Np0.default{constructor(){super(...arguments);this._reader=new Ep0.default(this._settings)}async read(Q){const K=this._getRootDirectory(Q),G=this._getReaderOptions(Q);return(await this.api(K,Q,G)).map((y)=>G.transform(y))}api(Q,K,G){if(K.dynamic)return this._reader.dynamic(Q,G);return this._reader.static(K.patterns,G)}}feD.default=ueD});var keD=r0((xeD)=>{Object.defineProperty(xeD,"__esModule",{value:!0});var Rp0=i8("stream"),Ip0=wHD(),yp0=Y6D();class beD extends yp0.default{constructor(){super(...arguments);this._reader=new Ip0.default(this._settings)}read(Q){const K=this._getRootDirectory(Q),G=this._getReaderOptions(Q),C=this.api(K,Q,G),y=new Rp0.Readable({objectMode:!0,read:()=>{}});return C.once("error",(x)=>y.emit("error",x)).on("data",(x)=>y.emit("data",G.transform(x))).once("end",()=>y.emit("end")),y.once("close",()=>C.destroy()),y}api(Q,K,G){if(K.dynamic)return this._reader.dynamic(Q,G);return this._reader.static(K.patterns,G)}}xeD.default=beD});var geD=r0((_eD)=>{Object.defineProperty(_eD,"__esModule",{value:!0});var wp0=_R(),Sp0=J6D(),up0=B6D();class heD extends up0.default{constructor(){super(...arguments);this._walkSync=Sp0.walkSync,this._statSync=wp0.statSync}dynamic(Q,K){return this._walkSync(Q,K)}static(Q,K){const G=[];for(let C of Q){const y=this._getFullEntryPath(C),x=this._getEntry(y,C,K);if(x===null||!K.entryFilter(x))continue;G.push(x)}return G}_getEntry(Q,K,G){try{const C=this._getStat(Q);return this._makeEntry(C,K)}catch(C){if(G.errorFilter(C))return null;throw C}}_getStat(Q){return this._statSync(Q,this._fsStatSettings)}}_eD.default=heD});var ceD=r0((deD)=>{Object.defineProperty(deD,"__esModule",{value:!0});var vp0=geD(),bp0=Y6D();class meD extends bp0.default{constructor(){super(...arguments);this._reader=new vp0.default(this._settings)}read(Q){const K=this._getRootDirectory(Q),G=this._getReaderOptions(Q);return this.api(K,Q,G).map(G.transform)}api(Q,K,G){if(K.dynamic)return this._reader.dynamic(Q,G);return this._reader.static(K.patterns,G)}}deD.default=meD});var peD=r0((ieD)=>{Object.defineProperty(ieD,"__esModule",{value:!0});ieD.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;var zf=i8("fs"),kp0=i8("os"),hp0=Math.max(kp0.cpus().length,1);ieD.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:zf.lstat,lstatSync:zf.lstatSync,stat:zf.stat,statSync:zf.statSync,readdir:zf.readdir,readdirSync:zf.readdirSync};class leD{constructor(Q={}){if(this._options=Q,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,hp0),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,Infinity),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;if(this.stats)this.objectMode=!0;this.ignore=[].concat(this.ignore)}_getValue(Q,K){return Q===void 0?K:Q}_getFileSystemMethods(Q={}){return Object.assign(Object.assign({},ieD.DEFAULT_FILE_SYSTEM_ADAPTER),Q)}}ieD.default=leD});var bHD=r0((eD1,reD)=>{async function fHD(Q,K){nU(Q);const G=vHD(Q,gp0.default,K),C=await Promise.all(G);return JW.array.flatten(C)}var vHD=function(Q,K,G){const C=[].concat(Q),y=new uHD.default(G),x=neD.generate(C,y),_=new K(y);return x.map(_.read,_)},nU=function(Q){if(![].concat(Q).every((C)=>JW.string.isString(C)&&!JW.string.isEmpty(C)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")},neD=TaD(),gp0=veD(),mp0=keD(),dp0=ceD(),uHD=peD(),JW=yj();(function(Q){Q.glob=Q,Q.globSync=K,Q.globStream=G,Q.async=Q;function K(HD,a){nU(HD);const bD=vHD(HD,dp0.default,a);return JW.array.flatten(bD)}Q.sync=K;function G(HD,a){nU(HD);const bD=vHD(HD,mp0.default,a);return JW.stream.merge(bD)}Q.stream=G;function C(HD,a){nU(HD);const bD=[].concat(HD),ED=new uHD.default(a);return neD.generate(bD,ED)}Q.generateTasks=C;function y(HD,a){nU(HD);const bD=new uHD.default(a);return JW.pattern.isDynamicPattern(HD,bD)}Q.isDynamicPattern=y;function x(HD){return nU(HD),JW.path.escape(HD)}Q.escapePath=x;function _(HD){return nU(HD),JW.path.convertPathToPattern(HD)}Q.convertPathToPattern=_;let VD;(function(HD){function a(ED){return nU(ED),JW.path.escapePosixPath(ED)}HD.escapePath=a;function bD(ED){return nU(ED),JW.path.convertPosixPathToPattern(ED)}HD.convertPathToPattern=bD})(VD=Q.posix||(Q.posix={}));let OD;(function(HD){function a(ED){return nU(ED),JW.path.escapeWindowsPath(ED)}HD.escapePath=a;function bD(ED){return nU(ED),JW.path.convertWindowsPathToPattern(ED)}HD.convertPathToPattern=bD})(OD=Q.win32||(Q.win32={}))})(fHD||(fHD={}));reD.exports=fHD});var seD=r0((lp0)=>{async function xHD(Q,K,G){if(typeof G!=="string")throw new TypeError(`Expected a string, got ${typeof G}`);try{return(await cp0(oeD[Q])(G))[K]()}catch(C){if(C.code==="ENOENT")return!1;throw C}}var kHD=function(Q,K,G){if(typeof G!=="string")throw new TypeError(`Expected a string, got ${typeof G}`);try{return oeD[Q](G)[K]()}catch(C){if(C.code==="ENOENT")return!1;throw C}},{promisify:cp0}=i8("util"),oeD=i8("fs");lp0.isFile=xHD.bind(null,"stat","isFile");lp0.isDirectory=xHD.bind(null,"stat","isDirectory");lp0.isSymlink=xHD.bind(null,"lstat","isSymbolicLink");lp0.isFileSync=kHD.bind(null,"statSync","isFile");lp0.isDirectorySync=kHD.bind(null,"statSync","isDirectory");lp0.isSymlinkSync=kHD.bind(null,"lstatSync","isSymbolicLink")});var FD0=r0((F01,hHD)=>{var mR=i8("path"),aeD=seD(),teD=(Q)=>Q.length>1?`{${Q.join(",")}}`:Q[0],eeD=(Q,K)=>{const G=Q[0]==="!"?Q.slice(1):Q;return mR.isAbsolute(G)?G:mR.join(K,G)},ap0=(Q,K)=>{if(mR.extname(Q))return`**/${Q}`;return`**/${Q}.${teD(K)}`},DD0=(Q,K)=>{if(K.files&&!Array.isArray(K.files))throw new TypeError(`Expected \`files\` to be of type \`Array\` but received type \`${typeof K.files}\``);if(K.extensions&&!Array.isArray(K.extensions))throw new TypeError(`Expected \`extensions\` to be of type \`Array\` but received type \`${typeof K.extensions}\``);if(K.files&&K.extensions)return K.files.map((G)=>mR.posix.join(Q,ap0(G,K.extensions)));if(K.files)return K.files.map((G)=>mR.posix.join(Q,`**/${G}`));if(K.extensions)return[mR.posix.join(Q,`**/*.${teD(K.extensions)}`)];return[mR.posix.join(Q,"**")]};hHD.exports=async(Q,K)=>{if(K={cwd:process.cwd(),...K},typeof K.cwd!=="string")throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof K.cwd}\``);const G=await Promise.all([].concat(Q).map(async(C)=>{return await aeD.isDirectory(eeD(C,K.cwd))?DD0(C,K):C}));return[].concat.apply([],G)};hHD.exports.sync=(Q,K)=>{if(K={cwd:process.cwd(),...K},typeof K.cwd!=="string")throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof K.cwd}\``);const G=[].concat(Q).map((C)=>aeD.isDirectorySync(eeD(C,K.cwd))?DD0(C,K):C);return[].concat.apply([],G)}});var qD0=r0(($01,KD0)=>{var $D0=function(Q){return Array.isArray(Q)?Q:[Q]},mHD="",ZD0=" ",_HD="\\",tp0=/^\s+$/,ep0=/(?:[^\\]|^)\\$/,Dn0=/^\\!/,Fn0=/^\\#/,$n0=/\r?\n/g,Zn0=/^\.*\/|^\.+$/,gHD="/",XD0="node-ignore";if(typeof Symbol!=="undefined")XD0=Symbol.for("node-ignore");var JD0=XD0,Jn0=(Q,K,G)=>Object.defineProperty(Q,K,{value:G}),Bn0=/([0-z])-([0-z])/g,YD0=()=>!1,Xn0=(Q)=>Q.replace(Bn0,(K,G,C)=>G.charCodeAt(0)<=C.charCodeAt(0)?K:mHD),Yn0=(Q)=>{const{length:K}=Q;return Q.slice(0,K-K%2)},Qn0=[[/^\uFEFF/,()=>mHD],[/\\?\s+$/,(Q)=>Q.indexOf("\\")===0?ZD0:mHD],[/\\\s/g,()=>ZD0],[/[\\$.|*+(){^]/g,(Q)=>`\\${Q}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function Q(){return!/\/(?!$)/.test(this)?"(?:^|\\/)":"^"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(Q,K,G)=>K+6<G.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(Q,K,G)=>{const C=G.replace(/\\\*/g,"[^\\/]*");return K+C}],[/\\\\\\(?=[$.|*+(){^])/g,()=>_HD],[/\\\\/g,()=>_HD],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(Q,K,G,C,y)=>K===_HD?`\\[${G}${Yn0(C)}${y}`:y==="]"?C.length%2===0?`[${Xn0(G)}${C}]`:"[]":"[]"],[/(?:[^*])$/,(Q)=>/\/$/.test(Q)?`${Q}\$`:`${Q}(?=\$|\\/\$)`],[/(\^|\\\/)?\\\*$/,(Q,K)=>{return`${K?`${K}[^/]+`:"[^/]*"}(?=\$|\\/\$)`}]],BD0=Object.create(null),Vn0=(Q,K)=>{let G=BD0[Q];if(!G)G=Qn0.reduce((C,y)=>C.replace(y[0],y[1].bind(Q)),Q),BD0[Q]=G;return K?new RegExp(G,"i"):new RegExp(G)},dHD=(Q)=>typeof Q==="string",zn0=(Q)=>Q&&dHD(Q)&&!tp0.test(Q)&&!ep0.test(Q)&&Q.indexOf("#")!==0,Kn0=(Q)=>Q.split($n0);class QD0{constructor(Q,K,G,C){this.origin=Q,this.pattern=K,this.negative=G,this.regex=C}}var qn0=(Q,K)=>{const G=Q;let C=!1;if(Q.indexOf("!")===0)C=!0,Q=Q.substr(1);Q=Q.replace(Dn0,"!").replace(Fn0,"#");const y=Vn0(Q,K);return new QD0(G,Q,C,y)},Wn0=(Q,K)=>{throw new K(Q)},Pj=(Q,K,G)=>{if(!dHD(Q))return G(`path must be a string, but got \`${K}\``,TypeError);if(!Q)return G("path must not be empty",TypeError);if(Pj.isNotRelative(Q))return G(`path should be a \`path.relative()\`d string, but got "${K}"`,RangeError);return!0},VD0=(Q)=>Zn0.test(Q);Pj.isNotRelative=VD0;Pj.convert=(Q)=>Q;class zD0{constructor({ignorecase:Q=!0,ignoreCase:K=Q,allowRelativePaths:G=!1}={}){Jn0(this,JD0,!0),this._rules=[],this._ignoreCase=K,this._allowRelativePaths=G,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(Q){if(Q&&Q[JD0]){this._rules=this._rules.concat(Q._rules),this._added=!0;return}if(zn0(Q)){const K=qn0(Q,this._ignoreCase);this._added=!0,this._rules.push(K)}}add(Q){if(this._added=!1,$D0(dHD(Q)?Kn0(Q):Q).forEach(this._addPattern,this),this._added)this._initCache();return this}addPattern(Q){return this.add(Q)}_testOne(Q,K){let G=!1,C=!1;return this._rules.forEach((y)=>{const{negative:x}=y;if(C===x&&G!==C||x&&!G&&!C&&!K)return;if(y.regex.test(Q))G=!x,C=x}),{ignored:G,unignored:C}}_test(Q,K,G,C){const y=Q&&Pj.convert(Q);return Pj(y,Q,this._allowRelativePaths?YD0:Wn0),this._t(y,K,G,C)}_t(Q,K,G,C){if(Q in K)return K[Q];if(!C)C=Q.split(gHD);if(C.pop(),!C.length)return K[Q]=this._testOne(Q,G);const y=this._t(C.join(gHD)+gHD,K,G,C);return K[Q]=y.ignored?y:this._testOne(Q,G)}ignores(Q){return this._test(Q,this._ignoreCache,!1).ignored}createFilter(){return(Q)=>!this.ignores(Q)}filter(Q){return $D0(Q).filter(this.createFilter())}test(Q){return this._test(Q,this._testCache,!0)}}var Q6D=(Q)=>new zD0(Q),Un0=(Q)=>Pj(Q&&Pj.convert(Q),Q,YD0);Q6D.isPathValid=Un0;Q6D.default=Q6D;KD0.exports=Q6D;if(typeof process!=="undefined"&&(process.env&&process.env.IGNORE_TEST_WIN32||process.platform==="win32")){const Q=(G)=>/^\\\\\?\\/.test(G)||/["<>|\u0000-\u001F]+/u.test(G)?G:G.replace(/\\/g,"/");Pj.convert=Q;const K=/^[a-z]:\//i;Pj.isNotRelative=(G)=>K.test(G)||VD0(G)}});var UD0=r0((Z01,WD0)=>{WD0.exports=(Q)=>{const K=/^\\\\\?\\/.test(Q),G=/[^\u0000-\u0080]+/.test(Q);if(K||G)return Q;return Q.replace(/\\/g,"/")}});var AD0=r0((J01,cHD)=>{var{promisify:Gn0}=i8("util"),GD0=i8("fs"),wj=i8("path"),HD0=bHD(),Hn0=qD0(),Jc=UD0(),MD0=["**/node_modules/**","**/flow-typed/**","**/coverage/**","**/.git"],Mn0=Gn0(GD0.readFile),On0=(Q)=>(K)=>{if(K.startsWith("!"))return"!"+wj.posix.join(Q,K.slice(1));return wj.posix.join(Q,K)},jn0=(Q,K)=>{const G=Jc(wj.relative(K.cwd,wj.dirname(K.fileName)));return Q.split(/\r?\n/).filter(Boolean).filter((C)=>!C.startsWith("#")).map(On0(G))},OD0=(Q)=>{const K=Hn0();for(let G of Q)K.add(jn0(G.content,{cwd:G.cwd,fileName:G.filePath}));return K},Ln0=(Q,K)=>{if(Q=Jc(Q),wj.isAbsolute(K)){if(Jc(K).startsWith(Q))return K;throw new Error(`Path ${K} is not in cwd ${Q}`)}return wj.join(Q,K)},jD0=(Q,K)=>{return(G)=>Q.ignores(Jc(wj.relative(K,Ln0(K,G.path||G))))},An0=async(Q,K)=>{const G=wj.join(K,Q),C=await Mn0(G,"utf8");return{cwd:K,filePath:G,content:C}},Cn0=(Q,K)=>{const G=wj.join(K,Q),C=GD0.readFileSync(G,"utf8");return{cwd:K,filePath:G,content:C}},LD0=({ignore:Q=[],cwd:K=Jc(process.cwd())}={})=>{return{ignore:Q,cwd:K}};cHD.exports=async(Q)=>{Q=LD0(Q);const K=await HD0("**/.gitignore",{ignore:MD0.concat(Q.ignore),cwd:Q.cwd}),G=await Promise.all(K.map((y)=>An0(y,Q.cwd))),C=OD0(G);return jD0(C,Q.cwd)};cHD.exports.sync=(Q)=>{Q=LD0(Q);const G=HD0.sync("**/.gitignore",{ignore:MD0.concat(Q.ignore),cwd:Q.cwd}).map((y)=>Cn0(y,Q.cwd)),C=OD0(G);return jD0(C,Q.cwd)}});var TD0=r0((B01,ND0)=>{var{Transform:En0}=i8("stream");class lHD extends En0{constructor(){super({objectMode:!0})}}class CD0 extends lHD{constructor(Q){super();this._filter=Q}_transform(Q,K,G){if(this._filter(Q))this.push(Q);G()}}class ED0 extends lHD{constructor(){super();this._pushed=new Set}_transform(Q,K,G){if(!this._pushed.has(Q))this.push(Q),this._pushed.add(Q);G()}}ND0.exports={FilterStream:CD0,UniqueStream:ED0}});var wD0=r0((X01,dR)=>{var ID0=i8("fs"),V6D=EoD(),Nn0=lGD(),z6D=bHD(),K6D=FD0(),iHD=AD0(),{FilterStream:Tn0,UniqueStream:Rn0}=TD0(),yD0=()=>!1,RD0=(Q)=>Q[0]==="!",In0=(Q)=>{if(!Q.every((K)=>typeof K==="string"))throw new TypeError("Patterns must be a string or an array of strings")},yn0=(Q={})=>{if(!Q.cwd)return;let K;try{K=ID0.statSync(Q.cwd)}catch{return}if(!K.isDirectory())throw new Error("The `cwd` option must be a path to a directory")},Pn0=(Q)=>Q.stats instanceof ID0.Stats?Q.path:Q,q6D=(Q,K)=>{Q=V6D([].concat(Q)),In0(Q),yn0(K);const G=[];K={ignore:[],expandDirectories:!0,...K};for(let[C,y]of Q.entries()){if(RD0(y))continue;const x=Q.slice(C).filter((VD)=>RD0(VD)).map((VD)=>VD.slice(1)),_={...K,ignore:K.ignore.concat(x)};G.push({pattern:y,options:_})}return G},wn0=(Q,K)=>{let G={};if(Q.options.cwd)G.cwd=Q.options.cwd;if(Array.isArray(Q.options.expandDirectories))G={...G,files:Q.options.expandDirectories};else if(typeof Q.options.expandDirectories==="object")G={...G,...Q.options.expandDirectories};return K(Q.pattern,G)},pHD=(Q,K)=>Q.options.expandDirectories?wn0(Q,K):[Q.pattern],PD0=(Q)=>{return Q&&Q.gitignore?iHD.sync({cwd:Q.cwd,ignore:Q.ignore}):yD0},nHD=(Q)=>(K)=>{const{options:G}=Q;if(G.ignore&&Array.isArray(G.ignore)&&G.expandDirectories)G.ignore=K6D.sync(G.ignore);return{pattern:K,options:G}};dR.exports=async(Q,K)=>{const G=q6D(Q,K),C=async()=>{return K&&K.gitignore?iHD({cwd:K.cwd,ignore:K.ignore}):yD0},y=async()=>{const OD=await Promise.all(G.map(async(HD)=>{const a=await pHD(HD,K6D);return Promise.all(a.map(nHD(HD)))}));return V6D(...OD)},[x,_]=await Promise.all([C(),y()]),VD=await Promise.all(_.map((OD)=>z6D(OD.pattern,OD.options)));return V6D(...VD).filter((OD)=>!x(Pn0(OD)))};dR.exports.sync=(Q,K)=>{const G=q6D(Q,K),C=[];for(let _ of G){const VD=pHD(_,K6D.sync).map(nHD(_));C.push(...VD)}const y=PD0(K);let x=[];for(let _ of C)x=V6D(x,z6D.sync(_.pattern,_.options));return x.filter((_)=>!y(_))};dR.exports.stream=(Q,K)=>{const G=q6D(Q,K),C=[];for(let VD of G){const OD=pHD(VD,K6D.sync).map(nHD(VD));C.push(...OD)}const y=PD0(K),x=new Tn0((VD)=>!y(VD)),_=new Rn0;return Nn0(C.map((VD)=>z6D.stream(VD.pattern,VD.options))).pipe(x).pipe(_)};dR.exports.generateGlobTasks=q6D;dR.exports.hasMagic=(Q,K)=>[].concat(Q).some((G)=>z6D.isDynamicPattern(G,K));dR.exports.gitignore=iHD});var rHD=r0((SD0)=>{var fn0=function(Q,K,G){const C={...K,...Q};return G?{json:un0,...C}:C};Object.defineProperty(SD0,"__esModule",{value:!0});SD0.aggregateFlags=void 0;var Sn0=w5D(),un0=Sn0.boolean({description:"Format output as json.",helpGroup:"GLOBAL"});SD0.aggregateFlags=fn0});var kD0=r0((bD0)=>{var vD0=function(Q,K){const G=Object.getPrototypeOf(K),C=xn0.pickBy(G,(y)=>y!==void 0);return Object.keys(G).length>0?vD0({...C,...Q},G):Q};async function kn0(Q,K){const G=Object.entries(Q).map(async([C,y])=>[C,{aliases:y.aliases,char:y.char,charAliases:y.charAliases,dependsOn:y.dependsOn,deprecateAliases:y.deprecateAliases,deprecated:y.deprecated,description:y.description,env:y.env,exclusive:y.exclusive,helpGroup:y.helpGroup,helpLabel:y.helpLabel,hidden:y.hidden,name:C,noCacheDefault:y.noCacheDefault,relationships:y.relationships,required:y.required,summary:y.summary,...y.type==="boolean"?{allowNo:y.allowNo,type:y.type}:{default:await fD0.cacheDefaultValue(y,K),delimiter:y.delimiter,hasDynamicHelp:typeof y.defaultHelp==="function",helpValue:y.helpValue,multiple:y.multiple,options:y.options,type:y.type}}]);return Object.fromEntries(await Promise.all(G))}async function hn0(Q,K){const G=Object.entries(Q).map(async([C,y])=>[C,{default:await fD0.cacheDefaultValue(y,K),description:y.description,hidden:y.hidden,name:C,noCacheDefault:y.noCacheDefault,options:y.options,required:y.required}]);return Object.fromEntries(await Promise.all(G))}async function _n0(Q,K,G=!1){const C=vD0(Q,Q),y=C.flags??C._flags,x=C.baseFlags??C._baseFlags,[_,VD]=await Promise.all([await kn0(vn0.aggregateFlags(y,x,C.enableJsonFlag),G),await hn0(bn0.ensureArgObject(C.args),G)]),OD={aliases:C.aliases??[],args:VD,deprecateAliases:C.deprecateAliases,deprecationOptions:C.deprecationOptions,description:C.description,examples:C.examples??C.example,flags:_,hasDynamicHelp:Object.values(_).some((XD)=>XD.hasDynamicHelp),hidden:C.hidden,hiddenAliases:C.hiddenAliases??[],id:C.id,pluginAlias:K&&K.alias,pluginName:K&&K.name,pluginType:K&&K.type,state:C.state,strict:C.strict,summary:C.summary,usage:C.usage},HD=["plugin","_flags","_enableJsonFlag","_globalFlags","_baseFlags","baseFlags","_--","_base"],a=new Set([...Object.keys(OD),...HD]),bD=Object.keys(C).filter((XD)=>!a.has(XD)),ED=Object.fromEntries(bD.map((XD)=>[XD,C[XD]]));return{...OD,...ED}}Object.defineProperty(bD0,"__esModule",{value:!0});bD0.cacheCommand=void 0;var vn0=rHD(),fD0=EUD(),bn0=Z5D(),xn0=cB();bD0.cacheCommand=_n0});var _D0=r0((Kf)=>{function*oHD(Q){while(Dz.dirname(Q)!==Q)yield Q,Q=Dz.dirname(Q);yield Q}async function hD0(Q,K){if(PK.extend(K??"root-plugin")(`Finding root starting at ${Q}`),K){for(let G of oHD(Q))if(G.endsWith(Dz.basename(K)))return PK.extend(K)("Found root based on plugin name!"),G}for(let G of oHD(Q)){if(Dz.basename(Dz.dirname(G))==="bin"&&["dev","dev.cmd","dev.js","run","run.cmd","run.js"].includes(Dz.basename(G)))continue;try{const C=Dz.join(G,"package.json");if(PK.extend(K??"root-plugin")(`Checking ${C}`),await W6D.safeReadJson(C))return PK.extend(K??"root-plugin")("Found root by traversing up from starting point!"),Dz.dirname(C)}catch{}}}async function dn0(Q,K){PK.extend(Q??"root-plugin")("Finding root using legacy method");for(let G of oHD(K)){let C;if(Q){if(C=Dz.join(G,"node_modules",Q,"package.json"),await W6D.safeReadJson(C))return Dz.dirname(C);if((await W6D.safeReadJson(Dz.join(G,"package.json")))?.name===Q)return G}else if(C=Dz.join(G,"package.json"),await W6D.safeReadJson(C))return Dz.dirname(C)}}var cn0=function(Q){if(sC)return sC;try{return sC=i8(i8.resolve("pnpapi",{paths:[Q]})),sC}catch{}},in0=function(Q,K){if(cn0(K),!sC)return;PK.extend(Q)("Finding root for using pnp method");const G=new Set,C=(y,x)=>{const _=sHD(y);if(G.has(_))return;const VD=sC.getPackageInformation(y);if(y.name===Q)return VD.packageLocation;G.add(_);for(let[OD,HD]of VD.packageDependencies){if(HD===null)continue;if(x!==null&&ln0(VD,x,OD))continue;const a=sC.getLocator(OD,HD),bD=C(a,VD);if(bD)return bD}G.delete(_)};for(let y of sC.getDependencyTreeRoots()){const x=C(y);if(x)return x}};async function pn0(Q,K){if(Q){PK.extend(Q)(`Finding root using ${K}`);let C;try{C=i8.resolve(Q,{paths:[K]}),PK.extend(Q)("Found starting point with require.resolve")}catch{PK.extend(Q)("require.resolve could not find plugin starting point")}if(C){const x=await hD0(Dz.dirname(C),Q);if(x)return PK.extend(Q)(`Found root at ${x}`),x}const y=process.versions.pnp?in0(Q,K):await dn0(Q,K);return PK.extend(Q)(y?`Found root at ${y}`:"No root found!"),y}PK.extend("root-plugin")(`Finding root plugin using ${K}`);const G=await hD0(K);return PK.extend("root-plugin")(G?`Found root at ${G}`:"No root found!"),G}var gn0=Kf&&Kf.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(Kf,"__esModule",{value:!0});Kf.findRoot=void 0;var mn0=gn0(i8("debug")),Dz=i8("node:path"),W6D=Ej(),PK=mn0.default("find-root"),sC,sHD=(Q)=>JSON.stringify(Q),ln0=(Q,K,G)=>sHD(Q?.packageDependencies.get(G))===sHD(K?.packageDependencies.get(G));Kf.findRoot=pn0});var eHD=r0((Uf)=>{var tHD=function(Q,K){if(!Q)return[];if(K=K?`${K}:`:"",Array.isArray(Q))return[...Q,Q.flatMap((G)=>tHD(G.subtopics,`${K}${G.name}`))];return Object.keys(Q).flatMap((G)=>{return Q[G].name=G,[{...Q[G],name:`${K}${G}`},...tHD(Q[G].subtopics,`${K}${Q[G].name}`)]})},tn0=function(Q){return Q.map((K)=>{const G=Wf.parse(K),C=G.dir.split("/"),y=G.name!=="index"&&G.name,x=[...C,y].filter(Boolean).join(":");return x===""?nD0.SINGLE_COMMAND_CLI_SYMBOL:x})},en0=function(Q,K){if(!Q)return;if(typeof Q==="string"&&K)return{strategy:"single",target:Q};if(typeof Q==="string")return{globPatterns:rD0,strategy:"pattern",target:Q};if(!Q.target)throw new Bc.CLIError("`oclif.commandDiscovery.target` is required.");if(!Q.strategy)throw new Bc.CLIError("`oclif.commandDiscovery.strategy` is required.");if(Q.strategy==="explicit"&&!Q.identifier)Q.identifier="default";return Q},Dr0=function(Q){if(typeof Q==="string")return{identifier:"default",target:Q};if(!Q.identifier)return{...Q,identifier:"default"};return Q},pD0=Uf&&Uf.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(Uf,"__esModule",{value:!0});Uf.Plugin=void 0;var nn0=pD0(wD0()),Wf=i8("node:path"),gD0=i8("node:util"),rn0=pD0(lU()),Bc=eq(),U6D=wd(),qf=Bf(),nD0=$5D(),on0=kD0(),sn0=_D0(),mD0=Ej(),dD0=cB(),aHD=_u(),G6D=hu(),cD0=rn0.default.getInstance().get("@oclif/core"),an0=(Q,K)=>Boolean(Q?.commands[K]&&"isESM"in Q.commands[K]&&"relativePath"in Q.commands[K]),lD0=(Q)=>{if(typeof Q.run==="function")return Q;if(Q.default&&Q.default.run)return Q.default;return Object.values(Q).find((K)=>typeof K.run==="function")},iD0=(Q)=>{if(Q&&typeof Q.run==="function")return Q},rD0=["**/*.+(js|cjs|mjs|ts|tsx|mts|cts)","!**/*.+(d.ts|test.ts|test.js|spec.ts|spec.js|d.mts|d.cts)?(x)"];class oD0{options;alias;alreadyLoaded=!1;children=[];commandIDs=[];commands;commandsDir;hasManifest=!1;hooks;isRoot=!1;manifest;moduleType;name;parent;pjson;root;tag;type;valid=!1;version;_base=`${cD0.name}@${cD0.version}`;_debug=G6D.Debug();commandCache;commandDiscoveryOpts;flexibleTaxonomy;constructor(Q){this.options=Q}get topics(){return tHD(this.pjson.oclif.topics||{})}async findCommand(Q,K={}){const G=qf.Performance.mark(qf.OCLIF_MARKER_OWNER,`plugin.findCommand#${this.name}.${Q}`,{id:Q,plugin:this.name}),y=await(async()=>{if(this.commandDiscoveryOpts?.strategy==="pattern"){const x=await this.getCommandsDir();if(!x)return;let _,VD,OD;try{({filePath:OD,isESM:VD,module:_}=an0(this.manifest,Q)?await U6D.loadWithDataFromManifest(this.manifest.commands[Q],this.root):await U6D.loadWithData(this,Wf.join(x??this.pjson.oclif.commands,...Q.split(":")))),this._debug(VD?"(import)":"(require)",OD)}catch(a){if(!K.must&&a.code==="MODULE_NOT_FOUND")return;throw a}const HD=lD0(_);if(!HD)return;return HD.id=Q,HD.plugin=this,HD.isESM=VD,HD.relativePath=Wf.relative(this.root,OD||"").split(Wf.sep),HD}if(this.commandDiscoveryOpts?.strategy==="single"||this.commandDiscoveryOpts?.strategy==="explicit"){const x=await this.loadCommandsFromTarget(),_=iD0(x?.[Q]);if(!_)return;return _.id=Q,_.plugin=this,_}})();if(!y&&K.must)Bc.error(`command ${Q} not found`);return G?.stop(),y}async load(){if(this.type=this.options.type??"core",this.tag=this.options.tag,this.isRoot=this.options.isRoot??!1,this.options.parent)this.parent=this.options.parent;const Q=this.options.pjson&&this.options.isRoot?this.options.root:this.type==="link"&&!this.parent?this.options.root:await sn0.findRoot(this.options.name,this.options.root);if(!Q)throw new Bc.CLIError(`could not find package.json with ${gD0.inspect(this.options)}`);if(this.root=Q,this._debug(`loading ${this.type} plugin from ${Q}`),this.pjson=this.options.pjson??await mD0.readJson(Wf.join(Q,"package.json")),this.flexibleTaxonomy=this.options?.flexibleTaxonomy||this.pjson.oclif?.flexibleTaxonomy||!1,this.moduleType=this.pjson.type==="module"?"module":"commonjs",this.name=this.pjson.name,this.alias=this.options.name??this.pjson.name,!this.name)throw new Bc.CLIError(`no name in package.json (${Q})`);if(this._debug=G6D.Debug(this.name),this.version=this.pjson.version,this.pjson.oclif)this.valid=!0;else this.pjson.oclif=this.pjson["cli-engine"]||{};this.hooks=Object.fromEntries(Object.entries(this.pjson.oclif.hooks??{}).map(([K,G])=>[K,dD0.castArray(G).map((C)=>Dr0(C))])),this.commandDiscoveryOpts=en0(this.pjson.oclif?.commands,this.pjson.oclif?.default),this._debug("command discovery options",this.commandDiscoveryOpts),this.manifest=await this._manifest(),this.commands=Object.entries(this.manifest.commands).map(([K,G])=>({...G,load:async()=>this.findCommand(K,{must:!0}),pluginAlias:this.alias,pluginType:G.pluginType==="jit"?"jit":this.type})).sort((K,G)=>K.id.localeCompare(G.id))}async _manifest(){const Q=Boolean(this.options.ignoreManifest),K=Boolean(this.options.errorOnManifestCreate),G=Boolean(this.options.respectNoCacheDefault),C=async(_=!1)=>{try{const VD=Wf.join(this.root,`${_?".":""}oclif.manifest.json`),OD=await mD0.readJson(VD);if(!process.env.OCLIF_NEXT_VERSION&&OD.version.split("-")[0]!==this.version.split("-")[0])process.emitWarning(`Mismatched version in ${this.name} plugin manifest. Expected: ${this.version} Received: ${OD.version}\nThis usually means you have an oclif.manifest.json file that should be deleted in development. This file should be automatically generated when publishing.`);else return this._debug("using manifest from",VD),this.hasManifest=!0,OD}catch(VD){if(VD.code==="ENOENT"){if(!_)return C(!0)}else this.warn(VD,"readManifest")}},y=qf.Performance.mark(qf.OCLIF_MARKER_OWNER,`plugin.manifest#${this.name}`,{plugin:this.name});if(!Q){const _=await C();if(_)return y?.addDetails({commandCount:Object.keys(_.commands).length,fromCache:!0}),y?.stop(),this.commandIDs=Object.keys(_.commands),_}this.commandIDs=await this.getCommandIDs();const x={commands:(await Promise.all(this.commandIDs.map(async(_)=>{try{const VD=await this.findCommand(_,{must:!0}),OD=await on0.cacheCommand(VD,this,G);if(OD.id=_,this.flexibleTaxonomy){const HD=G6D.getCommandIdPermutations(_),a=OD.aliases.flatMap((bD)=>G6D.getCommandIdPermutations(bD));return[_,{...OD,aliasPermutations:a,permutations:HD}]}return[_,OD]}catch(VD){const OD=`findCommand (${_})`;if(Boolean(K)===!1)this.warn(VD,OD);else throw this.addErrorScope(VD,OD)}}))).filter((_)=>Boolean(_)).reduce((_,[VD,OD])=>{return _[VD]=OD,_},{}),version:this.version};return y?.addDetails({commandCount:Object.keys(x.commands).length,fromCache:!1}),y?.stop(),x}addErrorScope(Q,K){return Q.name=Q.name??gD0.inspect(Q).trim(),Q.detail=dD0.compact([Q.detail,`module: ${this._base}`,K&&`task: ${K}`,`plugin: ${this.name}`,`root: ${this.root}`,"See more details with DEBUG=*"]).join("\n"),Q}async getCommandIDs(){const Q=qf.Performance.mark(qf.OCLIF_MARKER_OWNER,`plugin.getCommandIDs#${this.name}`,{plugin:this.name});let K;switch(this.commandDiscoveryOpts?.strategy){case"explicit":{K=await this.getCommandIdsFromTarget()??[];break}case"pattern":{K=await this.getCommandIdsFromPattern();break}case"single":{K=await this.getCommandIdsFromTarget()??[];break}default:K=[]}return this._debug("found commands",K),Q?.addDetails({count:K.length}),Q?.stop(),K}async getCommandIdsFromPattern(){const Q=await this.getCommandsDir();if(!Q)return[];this._debug(`loading IDs from ${Q}`);const K=await nn0.default(this.commandDiscoveryOpts?.globPatterns??rD0,{cwd:Q});return tn0(K)}async getCommandIdsFromTarget(){if(await this.loadCommandsFromTarget())return Object.entries(await this.loadCommandsFromTarget()??[]).filter(([,K])=>iD0(K)).map(([K])=>K)}async getCommandsDir(){if(this.commandsDir)return this.commandsDir;return this.commandsDir=await aHD.tsPath(this.root,this.commandDiscoveryOpts?.target,this),this.commandsDir}async loadCommandsFromTarget(){if(this.commandCache)return this.commandCache;if(this.commandDiscoveryOpts?.strategy==="explicit"&&this.commandDiscoveryOpts.target){const Q=await aHD.tsPath(this.root,this.commandDiscoveryOpts.target,this),K=await U6D.load(this,Q);return this.commandCache=K[this.commandDiscoveryOpts?.identifier??"default"]??{},this.commandCache}if(this.commandDiscoveryOpts?.strategy==="single"&&this.commandDiscoveryOpts.target){const Q=await aHD.tsPath(this.root,this.commandDiscoveryOpts?.target??this.root,this),K=await U6D.load(this,Q);return this.commandCache={[nD0.SINGLE_COMMAND_CLI_SYMBOL]:lD0(K)},this.commandCache}}warn(Q,K){if(typeof Q==="string")Q=new Error(Q);const G=this.addErrorScope(Q,K);process.emitWarning(G.name,G)}}Uf.Plugin=oD0});var eD0=r0((Sj)=>{var cR=function(Q,K){return Object.keys(Q).filter((G)=>K.some((C)=>Jr0.minimatch(G,C)))},Fr0=Sj&&Sj.__createBinding||(Object.create?function(Q,K,G,C){if(C===void 0)C=G;var y=Object.getOwnPropertyDescriptor(K,G);if(!y||("get"in y?!K.__esModule:y.writable||y.configurable))y={enumerable:!0,get:function(){return K[G]}};Object.defineProperty(Q,C,y)}:function(Q,K,G,C){if(C===void 0)C=G;Q[C]=K[G]}),$r0=Sj&&Sj.__setModuleDefault||(Object.create?function(Q,K){Object.defineProperty(Q,"default",{enumerable:!0,value:K})}:function(Q,K){Q.default=K}),Zr0=Sj&&Sj.__importStar||function(Q){if(Q&&Q.__esModule)return Q;var K={};if(Q!=null){for(var G in Q)if(G!=="default"&&Object.prototype.hasOwnProperty.call(Q,G))Fr0(K,Q,G)}return $r0(K,Q),K};Object.defineProperty(Sj,"__esModule",{value:!0});var Jr0=AoD(),DMD=i8("node:path"),Gf=Bf(),FMD=Ej(),Br0=cB(),sD0=Zr0(eHD()),Xr0=hu(),aD0=Xr0.Debug();class tD0{options;errors=[];plugins=new Map;pluginsProvided=!1;constructor(Q){if(this.options=Q,Q.plugins)this.pluginsProvided=!0,this.plugins=Array.isArray(Q.plugins)?new Map(Q.plugins.map((K)=>[K.name,K])):Q.plugins}async loadChildren(Q){if(!this.pluginsProvided||Q.force)await this.loadUserPlugins(Q),await this.loadDevPlugins(Q),await this.loadCorePlugins(Q);return{errors:this.errors,plugins:this.plugins}}async loadRoot({pjson:Q}){let K;if(this.pluginsProvided){const G=[...this.plugins.values()];K=G.find((C)=>C.root===this.options.root)??G[0]}else{const G=Gf.Performance.mark(Gf.OCLIF_MARKER_OWNER,"plugin.load#root");K=new sD0.Plugin({isRoot:!0,pjson:Q,root:this.options.root}),await K.load(),G?.addDetails({commandCount:K.commands.length,hasManifest:K.hasManifest??!1,name:K.name,topicCount:K.topics.length,type:K.type,usesMain:Boolean(K.pjson.main)}),G?.stop()}return this.plugins.set(K.name,K),K}async loadCorePlugins(Q){const{plugins:K}=Q.rootPlugin.pjson.oclif;if(K){const y=cR(Q.rootPlugin.pjson.dependencies??{},K);await this.loadPlugins(Q.rootPlugin.root,"core",y)}const{core:G,path:C}=Q.pluginAdditions??{core:[]};if(G)if(C){const y=await FMD.readJson(DMD.join(C,"package.json")),x=cR(y.dependencies??{},G);await this.loadPlugins(C,"core",x)}else{const y=cR(Q.rootPlugin.pjson.dependencies??{},G);await this.loadPlugins(Q.rootPlugin.root,"core",y)}}async loadDevPlugins(Q){if(Q.devPlugins!==!1){if(Br0.isProd())return;try{const{devPlugins:K}=Q.rootPlugin.pjson.oclif;if(K){const y={...Q.rootPlugin.pjson.dependencies,...Q.rootPlugin.pjson.devDependencies},x=cR(y??{},K);await this.loadPlugins(Q.rootPlugin.root,"dev",x)}const{dev:G,path:C}=Q.pluginAdditions??{core:[]};if(G)if(C){const y=await FMD.readJson(DMD.join(C,"package.json")),x={...y.dependencies,...y.devDependencies},_=cR(x??{},G);await this.loadPlugins(C,"dev",_)}else{const y={...Q.rootPlugin.pjson.dependencies,...Q.rootPlugin.pjson.devDependencies},x=cR(y??{},G);await this.loadPlugins(Q.rootPlugin.root,"dev",x)}}catch(K){process.emitWarning(K)}}}async loadPlugins(Q,K,G,C){if(!G||G.length===0)return;const y=Gf.Performance.mark(Gf.OCLIF_MARKER_OWNER,`config.loadPlugins#${K}`);aD0("loading plugins",G),await Promise.all((G||[]).map(async(x)=>{try{const _=typeof x==="string"?x:x.name,VD={name:_,root:Q,type:K};if(typeof x!=="string")VD.tag=x.tag||VD.tag,VD.root=x.root||VD.root,VD.url=x.url;if(C)VD.parent=C;if(this.plugins.has(_))return;const OD=Gf.Performance.mark(Gf.OCLIF_MARKER_OWNER,`plugin.load#${_}`),HD=new sD0.Plugin(VD);if(await HD.load(),OD?.addDetails({commandCount:HD.commands.length,hasManifest:HD.hasManifest,name:HD.name,topicCount:HD.topics.length,type:HD.type,usesMain:Boolean(HD.pjson.main)}),OD?.stop(),this.plugins.set(HD.name,HD),C){if(HD.parent=C,!C.children)C.children=[];C.children.push(HD)}if(HD.pjson.oclif.plugins){const a=K==="dev"?{...HD.pjson.dependencies,...HD.pjson.devDependencies}:HD.pjson.dependencies,bD=cR(a??{},HD.pjson.oclif.plugins);await this.loadPlugins(HD.root,K,bD,HD)}}catch(_){this.errors.push(_)}})),y?.addDetails({pluginCount:G.length}),y?.stop()}async loadUserPlugins(Q){if(Q.userPlugins!==!1)try{const K=DMD.join(Q.dataDir,"package.json");aD0("reading user plugins pjson %s",K);const G=await FMD.readJson(K);if(!G.oclif)G.oclif={schema:1};if(!G.oclif.plugins)G.oclif.plugins=[];await this.loadPlugins(K,"user",G.oclif.plugins.filter((C)=>C.type==="user")),await this.loadPlugins(K,"link",G.oclif.plugins.filter((C)=>C.type==="link"))}catch(K){if(K.code!=="ENOENT")process.emitWarning(K)}}}Sj.default=tD0});var B00=r0((BW)=>{var jr0=function(Q){const K=Q.match(/[^-]+(?:-([^.]+))?/);return K&&K[1]||"stable"},Lr0=function(Q){return Q&&Boolean(Q._base)},Yr0=BW&&BW.__createBinding||(Object.create?function(Q,K,G,C){if(C===void 0)C=G;var y=Object.getOwnPropertyDescriptor(K,G);if(!y||("get"in y?!K.__esModule:y.writable||y.configurable))y={enumerable:!0,get:function(){return K[G]}};Object.defineProperty(Q,C,y)}:function(Q,K,G,C){if(C===void 0)C=G;Q[C]=K[G]}),Qr0=BW&&BW.__setModuleDefault||(Object.create?function(Q,K){Object.defineProperty(Q,"default",{enumerable:!0,value:K})}:function(Q,K){Q.default=K}),Vr0=BW&&BW.__importStar||function(Q){if(Q&&Q.__esModule)return Q;var K={};if(Q!=null){for(var G in Q)if(G!=="default"&&Object.prototype.hasOwnProperty.call(Q,G))Yr0(K,Q,G)}return Qr0(K,Q),K},BMD=BW&&BW.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(BW,"__esModule",{value:!0});BW.Config=void 0;var zr0=Vr0(wUD()),Kr0=BMD(urD()),Hf=i8("node:os"),uj=i8("node:path"),D00=i8("node:url"),J00=BMD(lU()),qr0=od(),Wr0=TR(),Mf=eq(),Ur0=mu(),Gr0=wd(),zQ=Bf(),$MD=dC(),F00=Ej(),$00=_rD(),H6D=cB(),Hr0=BMD(eD0()),Mr0=_u(),Yc=hu(),Xc=Yc.Debug(),Z00=J00.default.getInstance().get("@oclif/core"),ZMD=`${Z00.name}@${Z00.version}`,Or0=new Set(["preparse"]);class JMD extends Map{validPermutations=new Map;add(Q,K){this.validPermutations.set(Q,K);for(let G of Yc.collectUsableIds([Q]))if(this.has(G))this.set(G,this.get(G).add(K));else this.set(G,new Set([K]))}get(Q){return super.get(Q)??new Set}getAllValid(){return[...this.validPermutations.keys()]}getValid(Q){return this.validPermutations.get(Q)}hasValid(Q){return this.validPermutations.has(Q)}}class M6D{options;arch;bin;binAliases;binPath;cacheDir;channel;configDir;dataDir;debug=0;dirname;errlog;flexibleTaxonomy;home;isSingleCommandCLI=!1;name;npmRegistry;nsisCustomization;pjson;platform;plugins=new Map;root;shell;theme;topicSeparator=":";userAgent;userPJSON;valid;version;warned=!1;windows;_base=ZMD;_commandIDs;_commands=new Map;_topics=new Map;commandPermutations=new JMD;pluginLoader;rootPlugin;topicPermutations=new JMD;constructor(Q){this.options=Q}static async load(Q="config.js"){if(typeof Q==="string"&&Q.startsWith("file://"))Q=D00.fileURLToPath(Q);if(typeof Q==="string")Q={root:Q};if(Lr0(Q)){if(ZMD!==Q._base){Xc(`reloading config from ${Q._base} to ${ZMD}`);const G=new M6D({...Q.options,plugins:Q.plugins});return await G.load(),G}return Q}const K=new M6D(Q);return await K.load(),K}static get rootPlugin(){return this.rootPlugin}get commandIDs(){if(this._commandIDs)return this._commandIDs;return this._commandIDs=this.commands.map((Q)=>Q.id),this._commandIDs}get commands(){return[...this._commands.values()]}get isProd(){return H6D.isProd()}get topics(){return[...this._topics.values()]}get versionDetails(){const[Q,K,G]=this.userAgent.split(" ");return{architecture:K,cliVersion:Q,nodeVersion:G,osVersion:`${Hf.type()} ${Hf.release()}`,pluginVersions:Object.fromEntries([...this.plugins.values()].map((C)=>[C.name,{root:C.root,type:C.type,version:C.version}])),rootPath:this.root,shell:this.shell}}dir(Q){const K=process.env[`XDG_${Q.toUpperCase()}_HOME`]||this.windows&&process.env.LOCALAPPDATA||uj.join(this.home,Q==="data"?".local/share":"."+Q);return uj.join(K,this.dirname)}findCommand(Q,K={}){const G=this.getCmdLookupId(Q),C=this._commands.get(G);if(K.must&&!C)Mf.error(`command ${G} not found`);return C}findMatches(Q,K){const G=K.filter((x)=>!Ur0.getHelpFlagAdditions(this).includes(x)&&x.startsWith("-")).map((x)=>x.replaceAll("-",""));return[...this.commandPermutations.get(Q)].map((x)=>this._commands.get(x)).filter((x)=>{const _=Object.entries(x.flags).flatMap(([VD,OD])=>OD.char?[OD.char,VD]:[VD]);return G.every((VD)=>_.includes(VD))})}findTopic(Q,K={}){const G=this.getTopicLookupId(Q),C=this._topics.get(G);if(C)return C;if(K.must)throw new Error(`topic ${Q} not found`)}getAllCommandIDs(){return this.getAllCommands().map((Q)=>Q.id)}getAllCommands(){const Q=[...this._commands.values()],K=[...this.commandPermutations.getAllValid()];for(let G of K)if(!this._commands.has(G)){const C=this._commands.get(this.getCmdLookupId(G));Q.push({...C,id:G})}return Q}getPluginsList(){return[...this.plugins.values()]}async load(){$MD.settings.performanceEnabled=($MD.settings.performanceEnabled===void 0?this.options.enablePerf:$MD.settings.performanceEnabled)??!1;const Q=zQ.Performance.mark(zQ.OCLIF_MARKER_OWNER,"config.load");this.pluginLoader=new Hr0.default({plugins:this.options.plugins,root:this.options.root}),this.rootPlugin=await this.pluginLoader.loadRoot({pjson:this.options.pjson});const K=J00.default.getInstance();if(K.set("rootPlugin",this.rootPlugin),K.set("exitCodes",this.rootPlugin.pjson.oclif.exitCodes??{}),this.root=this.rootPlugin.root,this.pjson=this.rootPlugin.pjson,this.plugins.set(this.rootPlugin.name,this.rootPlugin),this.root=this.rootPlugin.root,this.pjson=this.rootPlugin.pjson,this.name=this.pjson.name,this.version=this.options.version||this.pjson.version||"0.0.0",this.channel=this.options.channel||jr0(this.version),this.valid=this.rootPlugin.valid,this.arch=Hf.arch()==="ia32"?"x86":Hf.arch(),this.platform=Kr0.default?"wsl":$00.getPlatform(),this.windows=this.platform==="win32",this.bin=this.pjson.oclif.bin||this.name,this.binAliases=this.pjson.oclif.binAliases,this.nsisCustomization=this.pjson.oclif.nsisCustomization,this.dirname=this.pjson.oclif.dirname||this.name,this.flexibleTaxonomy=this.pjson.oclif.flexibleTaxonomy||!1,this.pjson.oclif.topicSeparator&&[" ",":"].includes(this.pjson.oclif.topicSeparator))this.topicSeparator=this.pjson.oclif.topicSeparator;if(this.platform==="win32")this.dirname=this.dirname.replace("/","\\");if(this.userAgent=`${this.name}/${this.version} ${this.platform}-${this.arch} node-${process.version}`,this.shell=this._shell(),this.debug=this._debug(),this.home=process.env.HOME||this.windows&&this.windowsHome()||$00.getHomeDir()||Hf.tmpdir(),this.cacheDir=this.scopedEnvVar("CACHE_DIR")||this.macosCacheDir()||this.dir("cache"),this.configDir=this.scopedEnvVar("CONFIG_DIR")||this.dir("config"),this.dataDir=this.scopedEnvVar("DATA_DIR")||this.dir("data"),this.errlog=uj.join(this.cacheDir,"error.log"),this.binPath=this.scopedEnvVar("BINPATH"),this.npmRegistry=this.scopedEnvVar("NPM_REGISTRY")||this.pjson.oclif.npmRegistry,!this.scopedEnvVarTrue("DISABLE_THEME")){const{theme:C}=await this.loadThemes();this.theme=C}this.pjson.oclif.update=this.pjson.oclif.update||{},this.pjson.oclif.update.node=this.pjson.oclif.update.node||{};const G=this.pjson.oclif.update.s3||{};if(this.pjson.oclif.update.s3=G,G.bucket=this.scopedEnvVar("S3_BUCKET")||G.bucket,G.bucket&&!G.host)G.host=`https://${G.bucket}.s3.amazonaws.com`;G.templates={...G.templates,target:{baseDir:"<%- bin %>",manifest:"<%- channel === 'stable' ? '' : 'channels/' + channel + '/' %><%- platform %>-<%- arch %>",unversioned:"<%- channel === 'stable' ? '' : 'channels/' + channel + '/' %><%- bin %>-<%- platform %>-<%- arch %><%- ext %>",versioned:"<%- channel === 'stable' ? '' : 'channels/' + channel + '/' %><%- bin %>-v<%- version %>/<%- bin %>-v<%- version %>-<%- platform %>-<%- arch %><%- ext %>",...G.templates&&G.templates.target},vanilla:{baseDir:"<%- bin %>",manifest:"<%- channel === 'stable' ? '' : 'channels/' + channel + '/' %>version",unversioned:"<%- channel === 'stable' ? '' : 'channels/' + channel + '/' %><%- bin %><%- ext %>",versioned:"<%- channel === 'stable' ? '' : 'channels/' + channel + '/' %><%- bin %>-v<%- version %>/<%- bin %>-v<%- version %><%- ext %>",...G.templates&&G.templates.vanilla}},this.isSingleCommandCLI=Boolean(this.pjson.oclif.default||typeof this.pjson.oclif.commands!=="string"&&this.pjson.oclif.commands?.strategy==="single"&&this.pjson.oclif.commands?.target),await this.loadPluginsAndCommands(),Xc("config done"),Q?.addDetails({commandPermutations:this.commands.length,commands:[...this.plugins.values()].reduce((C,y)=>C+y.commands.length,0),plugins:this.plugins.size,topics:this.topics.length}),Q?.stop()}async loadPluginsAndCommands(Q){const K=zQ.Performance.mark(zQ.OCLIF_MARKER_OWNER,"config.loadAllPlugins"),{errors:G,plugins:C}=await this.pluginLoader.loadChildren({dataDir:this.dataDir,devPlugins:this.options.devPlugins,force:Q?.force??!1,pluginAdditions:this.options.pluginAdditions,rootPlugin:this.rootPlugin,userPlugins:this.options.userPlugins});this.plugins=C,K?.stop();const y=zQ.Performance.mark(zQ.OCLIF_MARKER_OWNER,"config.loadAllCommands");for(let x of this.plugins.values())this.loadCommands(x),this.loadTopics(x);y?.stop();for(let x of G)this.warn(x)}async loadThemes(){const Q=this.pjson.oclif.theme?uj.resolve(this.root,this.pjson.oclif.theme):this.pjson.oclif.theme,K=uj.resolve(this.configDir,"theme.json"),[G,C]=await Promise.all([Q?await F00.safeReadJson(Q):void 0,await F00.safeReadJson(K)]),y={...G,...C};return{file:C?K:Q,theme:Object.keys(y).length>0?Wr0.parseTheme(y):void 0}}macosCacheDir(){return this.platform==="darwin"&&uj.join(this.home,"Library","Caches",this.dirname)||void 0}async runCommand(Q,K=[],G=null){const C=zQ.Performance.mark(zQ.OCLIF_MARKER_OWNER,`config.runCommand#${Q}`);Xc("runCommand %s %o",Q,K);let y=G??this.findCommand(Q);if(!y){const VD=this.flexibleTaxonomy?this.findMatches(Q,K):[],OD=this.flexibleTaxonomy&&VD.length>0?await this.runHook("command_incomplete",{argv:K,id:Q,matches:VD}):await this.runHook("command_not_found",{argv:K,id:Q});if(OD.successes[0])return OD.successes[0].result;if(OD.failures[0])throw OD.failures[0].error;throw new Mf.CLIError(`command ${Q} not found`)}if(this.isJitPluginCommand(y)){const VD=y.pluginName,OD=this.pjson.oclif.jitPlugins[VD],HD=await this.runHook("jit_plugin_not_installed",{argv:K,command:y,id:Q,pluginName:VD,pluginVersion:OD});if(HD.failures[0])throw HD.failures[0].error;if(HD.successes[0])await this.loadPluginsAndCommands({force:!0}),y=this.findCommand(Q)??y;else{const a=await this.runHook("command_not_found",{argv:K,id:Q});if(a.successes[0])return a.successes[0].result;if(a.failures[0])throw a.failures[0].error;throw new Mf.CLIError(`command ${Q} not found`)}}const x=await y.load();await this.runHook("prerun",{Command:x,argv:K});const _=await x.run(K,this);if(y.id==="plugins:uninstall")for(let VD of K)this.plugins.delete(VD);return await this.runHook("postrun",{Command:x,argv:K,result:_}),C?.addDetails({command:Q,plugin:y.pluginName}),C?.stop(),_}async runHook(Q,K,G,C){const y=zQ.Performance.mark(zQ.OCLIF_MARKER_OWNER,`config.runHook#${Q}`);Xc("start %s hook",Q);const x=(a)=>{if(typeof a==="function")return a;if(a.default&&typeof a.default==="function")return a.default;return Object.values(a).find((bD)=>typeof bD==="function")},_=async(a,bD)=>{let ED;const XD=new Promise((UD,TD)=>{ED=setTimeout(()=>{TD(new Error(`Timed out after ${a} ms.`))},a).unref()});return Promise.race([bD,XD]).then((UD)=>{return clearTimeout(ED),UD})},VD={failures:[],successes:[]},HD=(Or0.has(Q)?[this.rootPlugin]:[...this.plugins.values()]).map(async(a)=>{const bD=i8("debug")([this.bin,a.name,"hooks",Q].join(":")),ED={config:this,debug:bD,error(UD,TD={}){Mf.error(UD,TD)},exit(UD=0){Mf.exit(UD)},log(UD,...TD){qr0.ux.info(UD,...TD)},warn(UD){Mf.warn(UD)}},XD=a.hooks[Q]||[];for(let UD of XD){const TD=zQ.Performance.mark(zQ.OCLIF_MARKER_OWNER,`config.runHook#${a.name}(${UD.target})`);try{const{filePath:nD,isESM:Z0,module:M0}=await Gr0.loadWithData(a,await Mr0.tsPath(a.root,UD.target,a));bD("start",Z0?"(import)":"(require)",nD);const a1=M0[UD.identifier]??(UD.identifier==="default"?x(M0):void 0);if(!a1){bD("No hook found for hook definition:",UD);continue}const D8=G?await _(G,a1.call(ED,{...K,config:this,context:ED})):await a1.call(ED,{...K,config:this,context:ED});if(VD.successes.push({plugin:a,result:D8}),a.name==="@oclif/plugin-legacy"&&Q==="init")this.insertLegacyPlugins(D8);bD("done")}catch(nD){if(VD.failures.push({error:nD,plugin:a}),bD(nD),!C&&nD.oclif?.exit!==void 0&&nD.oclif?.exit!==0&&nD.code!=="MODULE_NOT_FOUND")throw nD}TD?.addDetails({event:Q,hook:UD.target,plugin:a.name}),TD?.stop()}});return await Promise.all(HD),Xc("%s hook done",Q),y?.stop(),VD}s3Key(Q,K,G={}){if(typeof K==="object")G=K;else if(K)G.ext=K;const C=this.pjson.oclif.update.s3.templates[G.platform?"target":"vanilla"][Q]??"";return zr0.render(C,{...this,...G})}s3Url(Q){const{host:K}=this.pjson.oclif.update.s3;if(!K)throw new Error("no s3 host is set");const G=new D00.URL(K);return G.pathname=uj.join(G.pathname,Q),G.toString()}scopedEnvVar(Q){return process.env[this.scopedEnvVarKeys(Q).find((K)=>process.env[K])]}scopedEnvVarKey(Q){return[this.bin,Q].map((K)=>K.replaceAll("@","").replaceAll(/[/-]/g,"_")).join("_").toUpperCase()}scopedEnvVarKeys(Q){return[this.bin,...this.binAliases??[]].filter(Boolean).map((K)=>[K.replaceAll("@","").replaceAll(/[/-]/g,"_"),Q].join("_").toUpperCase())}scopedEnvVarTrue(Q){const K=this.scopedEnvVar(Q);return K==="1"||K==="true"}warn(Q,K){if(this.warned)return;if(typeof Q==="string"){process.emitWarning(Q);return}if(Q instanceof Error){const G=Q;G.name=`${Q.name} Plugin: ${this.name}`,G.detail=H6D.compact([Q.detail,`module: ${this._base}`,K&&`task: ${K}`,`plugin: ${this.name}`,`root: ${this.root}`,"See more details with DEBUG=*"]).join("\n"),process.emitWarning(Q);return}process.emitWarning("Config.warn expected either a string or Error, but instead received an object"),Q.name=`${Q.name} Plugin: ${this.name}`,Q.detail=H6D.compact([Q.detail,`module: ${this._base}`,K&&`task: ${K}`,`plugin: ${this.name}`,`root: ${this.root}`,"See more details with DEBUG=*"]).join("\n"),process.emitWarning(JSON.stringify(Q))}windowsHome(){return this.windowsHomedriveHome()||this.windowsUserprofileHome()}windowsHomedriveHome(){return process.env.HOMEDRIVE&&process.env.HOMEPATH&&uj.join(process.env.HOMEDRIVE,process.env.HOMEPATH)}windowsUserprofileHome(){return process.env.USERPROFILE}_debug(){if(this.scopedEnvVarTrue("DEBUG"))return 1;try{const{enabled:Q}=i8("debug")(this.bin);if(Q)return 1}catch{}return 0}_shell(){let Q;const{COMSPEC:K}=process.env,G=process.env.SHELL??Hf.userInfo().shell?.split(uj.sep)?.pop();if(G)Q=G.split("/");else if(this.windows&&K)Q=K.split(/\\|\//);else Q=["unknown"];return Q.at(-1)??"unknown"}determinePriority(Q){const K=this.pjson.oclif?.plugins??[];return Q.sort((C,y)=>{const x=C.pluginAlias??"A-Cannot-Find-This",_=y.pluginAlias??"B-Cannot-Find-This",VD=K.indexOf(x),OD=K.indexOf(_);if(C.pluginType==="core"&&y.pluginType==="core")return VD-OD;if(y.pluginType==="core"&&C.pluginType!=="core")return 1;if(C.pluginType==="core"&&y.pluginType!=="core")return-1;if(C.pluginType==="jit"&&y.pluginType!=="jit")return 1;if(y.pluginType==="jit"&&C.pluginType!=="jit")return-1;return 0})[0]}getCmdLookupId(Q){if(this._commands.has(Q))return Q;if(this.commandPermutations.hasValid(Q))return this.commandPermutations.getValid(Q);return Q}getTopicLookupId(Q){if(this._topics.has(Q))return Q;if(this.topicPermutations.hasValid(Q))return this.topicPermutations.getValid(Q);return Q}insertLegacyPlugins(Q){for(let K of Q){this.plugins.set(K.name,K);for(let G of K.commands??[]){this._commands.delete(G.id);for(let C of[...G.aliases??[],...G.hiddenAliases??[]])this._commands.delete(C)}this.loadCommands(K)}}isJitPluginCommand(Q){return Object.keys(this.pjson.oclif.jitPlugins??{}).includes(Q.pluginName??"")&&Boolean(Q?.pluginName&&!this.plugins.has(Q.pluginName))}loadCommands(Q){const K=zQ.Performance.mark(zQ.OCLIF_MARKER_OWNER,`config.loadCommands#${Q.name}`,{plugin:Q.name});for(let G of Q.commands){if(this._commands.has(G.id)){const x=this.determinePriority([this._commands.get(G.id),G]);this._commands.set(x.id,x)}else this._commands.set(G.id,G);const C=this.flexibleTaxonomy&&G.permutations===void 0?Yc.getCommandIdPermutations(G.id):G.permutations??[G.id];for(let x of C)this.commandPermutations.add(x,G.id);const y=(x,_=!1)=>{if(this._commands.has(x)){const OD=this.determinePriority([this._commands.get(x),G]);this._commands.set(x,{...OD,id:x})}else this._commands.set(x,{...G,hidden:_,id:x});const VD=this.flexibleTaxonomy&&G.aliasPermutations===void 0?Yc.getCommandIdPermutations(x):G.permutations??[x];for(let OD of VD)this.commandPermutations.add(OD,G.id)};for(let x of G.aliases??[])y(x);for(let x of G.hiddenAliases??[])y(x,!0)}K?.addDetails({commandCount:Q.commands.length}),K?.stop()}loadTopics(Q){const K=zQ.Performance.mark(zQ.OCLIF_MARKER_OWNER,`config.loadTopics#${Q.name}`,{plugin:Q.name});for(let G of H6D.compact(Q.topics)){const C=this._topics.get(G.name);if(C)C.description=G.description||C.description,C.hidden=C.hidden||G.hidden;else this._topics.set(G.name,G);const y=this.flexibleTaxonomy?Yc.getCommandIdPermutations(G.name):[G.name];for(let x of y)this.topicPermutations.add(x,G.name)}for(let G of Q.commands.filter((C)=>!C.hidden)){const C=G.id.split(":");while(C.length>0){const y=C.join(":");if(y&&!this._topics.has(y))this._topics.set(y,{description:G.summary||G.description,name:y});C.pop()}}K?.stop()}}BW.Config=M6D});var O6D=r0((Qc)=>{Object.defineProperty(Qc,"__esModule",{value:!0});Qc.tsPath=Qc.Plugin=Qc.Config=void 0;var Ar0=B00();Object.defineProperty(Qc,"Config",{enumerable:!0,get:function(){return Ar0.Config}});var Cr0=eHD();Object.defineProperty(Qc,"Plugin",{enumerable:!0,get:function(){return Cr0.Plugin}});var Er0=_u();Object.defineProperty(Qc,"tsPath",{enumerable:!0,get:function(){return Er0.tsPath}})});var Y00=r0((M01,X00)=>{var j6D=X00.exports=function(Q,K,G){if(typeof Q==="object")G=Q,Q=G.start,K=G.stop;if(typeof K==="object")G=K,Q=Q||G.start,K=void 0;if(!K)K=Q,Q=0;if(!G)G={};var C=G.mode||"soft",y=C==="hard"?/\b/:/(\S+\s+)/;return function(x){var _=x.toString().split(y).reduce(function(VD,OD){if(C==="hard")for(var HD=0;HD<OD.length;HD+=K-Q)VD.push(OD.slice(HD,HD+K-Q));else VD.push(OD);return VD},[]);return _.reduce(function(VD,OD){if(OD==="")return VD;var HD=OD.replace(/\t/g," "),a=VD.length-1;if(VD[a].length+HD.length>K)VD[a]=VD[a].replace(/\s+$/,""),HD.split(/\n/).forEach(function(ED){VD.push(new Array(Q+1).join(" ")+ED.replace(/^\s+/,""))});else if(HD.match(/\n/)){var bD=HD.split(/\n/);VD[a]+=bD.shift(),bD.forEach(function(ED){VD.push(new Array(Q+1).join(" ")+ED.replace(/^\s+/,""))})}else VD[a]+=HD;return VD},[new Array(Q+1).join(" ")]).join("\n")}};j6D.soft=j6D;j6D.hard=function(Q,K){return j6D(Q,K,{mode:"hard"})}});var z00=r0((Q00)=>{var yr0=function(Q,K){return Ir0(Q,Tr0.stdtermwidth,{skipScheme:"ansi-color"})(K).trim()},Pr0=function(Q){if(Q.length===0)return"";const K=Rr0.maxBy(Q,(C)=>C[0].length)?.[0].length??0;return Q.map((C)=>{let y=C[0],x=C[1];if(!x)return y;return y=y.padEnd(K),x=yr0(K+2,x),`${y} ${x}`}).join("\n")};Object.defineProperty(Q00,"__esModule",{value:!0});Q00.renderList=void 0;var Tr0=AR(),Rr0=cB(),Ir0=Y00();Q00.renderList=Pr0});var XMD=r0((YJ)=>{var K00=YJ&&YJ.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(YJ,"__esModule",{value:!0});YJ.FailedFlagValidationError=YJ.ArgInvalidOptionError=YJ.FlagInvalidOptionError=YJ.NonExistentFlagsError=YJ.UnexpectedArgsError=YJ.RequiredArgsError=YJ.InvalidArgsSpecError=YJ.CLIParseError=YJ.CLIError=void 0;var wr0=K00(CK()),Vc=K00(lU()),q00=z00(),Sr0=eq(),ur0=cB(),fr0=eq();Object.defineProperty(YJ,"CLIError",{enumerable:!0,get:function(){return fr0.CLIError}});class fj extends Sr0.CLIError{parse;showHelp=!1;constructor(Q){Q.message+="\nSee more help with --help";super(Q.message,{exit:Q.exit});this.parse=Q.parse}}YJ.CLIParseError=fj;class W00 extends fj{args;constructor({args:Q,exit:K,parse:G}){let C="Invalid argument spec";const y=Object.values(Q).filter((x)=>x.name);if(y.length>0){const x=q00.renderList(y.map((_)=>[`${_.name} (${_.required?"required":"optional"})`,_.description]));C+=`:\n${x}`}super({exit:Vc.default.getInstance().get("exitCodes")?.invalidArgsSpec??K,message:C,parse:G});this.args=Q}}YJ.InvalidArgsSpecError=W00;class U00 extends fj{args;constructor({args:Q,exit:K,flagsWithMultiple:G,parse:C}){let y=`Missing ${Q.length} required arg${Q.length===1?"":"s"}`;const x=Q.filter((_)=>_.name);if(x.length>0){const _=q00.renderList(x.map((VD)=>{const OD=VD.options?`(${VD.options.join("|")}) ${VD.description}`:VD.description;return[VD.name,OD]}));y+=`:\n${_}`}if(G?.length){const _=G.map((VD)=>`--${VD}`).join(", ");y+=`\n\nNote: ${_} allow${G.length===1?"s":""} multiple values. Because of this you need to provide all arguments before providing ${G.length===1?"that flag":"those flags"}.`,y+='\nAlternatively, you can use "--" to signify the end of the flags and the beginning of arguments.'}super({exit:Vc.default.getInstance().get("exitCodes")?.requiredArgs??K,message:y,parse:C});this.args=Q,this.showHelp=!0}}YJ.RequiredArgsError=U00;class G00 extends fj{args;constructor({args:Q,exit:K,parse:G}){const C=`Unexpected argument${Q.length===1?"":"s"}: ${Q.join(", ")}`;super({exit:Vc.default.getInstance().get("exitCodes")?.unexpectedArgs??K,message:C,parse:G});this.args=Q,this.showHelp=!0}}YJ.UnexpectedArgsError=G00;class H00 extends fj{flags;constructor({exit:Q,flags:K,parse:G}){const C=`Nonexistent flag${K.length===1?"":"s"}: ${K.join(", ")}`;super({exit:Vc.default.getInstance().get("exitCodes")?.nonExistentFlag??Q,message:C,parse:G});this.flags=K,this.showHelp=!0}}YJ.NonExistentFlagsError=H00;class M00 extends fj{constructor(Q,K){const G=`Expected --${Q.name}=${K} to be one of: ${Q.options.join(", ")}`;super({message:G,parse:{}})}}YJ.FlagInvalidOptionError=M00;class O00 extends fj{constructor(Q,K){const G=`Expected ${K} to be one of: ${Q.options.join(", ")}`;super({message:G,parse:{}})}}YJ.ArgInvalidOptionError=O00;class j00 extends fj{constructor({exit:Q,failed:K,parse:G}){const C=K.map((VD)=>VD.reason),y=ur0.uniq(C),_=`The following ${y.length===1?"error":"errors"} occurred:\n ${wr0.default.dim(y.join("\n "))}`;super({exit:Vc.default.getInstance().get("exitCodes")?.failedFlagValidation??Q,message:_,parse:G})}}YJ.FailedFlagValidationError=j00});var C00=r0((KM)=>{var kr0=function(Q){return/^-\d/g.test(Q)},vr0=KM&&KM.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(KM,"__esModule",{value:!0});KM.Parser=KM.readStdin=void 0;var br0=i8("node:readline"),L00=vr0(lU()),aC=cB(),lR=XMD(),rU;try{rU=process.env.CLI_FLAGS_DEBUG==="1"?i8("debug")("../parser"):()=>{}}catch{rU=()=>{}}var xr0=async()=>{const{stdin:Q,stdout:K}=process;if(Q.isTTY)return null;if(global.oclif?.stdinCache)return rU("resolved stdin from global cache",global.oclif.stdinCache),global.oclif.stdinCache;return new Promise((G)=>{let C="";const y=new AbortController,{signal:x}=y,_=setTimeout(()=>y.abort(),10),VD=br0.createInterface({input:Q,output:K,terminal:!1});VD.on("line",(OD)=>{C+=OD}),VD.once("close",()=>{clearTimeout(_),rU("resolved from stdin",C),global.oclif={...global.oclif,stdinCache:C},G(C)}),x.addEventListener("abort",()=>{rU("stdin aborted"),clearTimeout(_),VD.close(),G(null)},{once:!0})})};KM.readStdin=xr0;var L6D=(Q,K)=>{if(Q.options&&!Q.options.includes(K))throw new lR.FlagInvalidOptionError(Q,K);return K};class A00{input;argv;booleanFlags;context;currentFlag;flagAliases;raw=[];constructor(Q){this.input=Q,this.context=Q.context??{},this.argv=[...Q.argv],this._setNames(),this.booleanFlags=aC.pickBy(Q.flags,(K)=>K.type==="boolean"),this.flagAliases=Object.fromEntries(Object.values(Q.flags).flatMap((K)=>[...K.aliases??[],...K.charAliases??[]].map((G)=>[G,K])))}async parse(){this._debugInput();const Q=async(a)=>{const{isLong:bD,name:ED}=this.findFlag(a);if(!ED){const UD=a.indexOf("=");if(UD!==-1){const TD=a.slice(UD+1);this.argv.unshift(TD);const nD=await Q(a.slice(0,UD));if(!nD)this.argv.shift();return nD}return!1}const XD=this.input.flags[ED];if(XD.type==="option"){if(!XD.multiple&&this.raw.some((TD)=>TD.type==="flag"&&TD.flag===ED))throw new lR.CLIError(`Flag --${ED} can only be specified once`);this.currentFlag=XD;let UD=bD||a.length<3?this.argv.shift():a.slice(a[2]==="="?3:2);if(XD.allowStdin==="only"&&UD!=="-"&&UD!==void 0)throw new lR.CLIError(`Flag --${ED} can only be read from stdin. The value must be "-" or not provided at all.`);if(XD.allowStdin&&UD==="-"||XD.allowStdin==="only"){const TD=await KM.readStdin();if(TD)UD=TD.trim()}if(typeof UD!=="string"||this.findFlag(UD).name){if(XD.options)throw new lR.CLIError(`Flag --${ED} expects one of these values: ${XD.options.join(", ")}`);throw new lR.CLIError(`Flag --${ED} expects a value`)}this.raw.push({flag:XD.name,input:UD,type:"flag"})}else if(this.raw.push({flag:XD.name,input:a,type:"flag"}),!bD&&a.length>2)this.argv.unshift(`-${a.slice(2)}`);return!0};let K=!0;const G=[];let C=!1;const y=[...this.argv];while(this.argv.length>0){const a=this.argv.shift();if(K&&a.startsWith("-")&&a!=="-"){if(this.input["--"]!==!1&&a==="--"){K=!1;continue}if(await Q(a))continue;if(a==="--"){C=!0;continue}if(this.input["--"]!==!1&&!kr0(a)){G.push(a);continue}}if(K&&this.currentFlag&&this.currentFlag.multiple&&!this.currentFlag.multipleNonGreedy){this.raw.push({flag:this.currentFlag.name,input:a,type:"flag"});continue}const bD=Object.keys(this.input.args)[this._argTokens.length];this.raw.push({arg:bD,input:a,type:"arg"})}const[{args:x,argv:_},{flags:VD,metadata:OD}]=await Promise.all([this._args(),this._flags()]);this._debugOutput(_,x,VD);const HD=C?[..._,...G,"--"]:[..._,...G];return{args:x,argv:HD.sort((a,bD)=>y.indexOf(a)-y.indexOf(bD)),flags:VD,metadata:OD,nonExistentFlags:G,raw:this.raw}}async _args(){const Q=[],K={},G=this._argTokens;let C=!1;const y=this.context;for(let[x,_]of Object.entries(this.input.args)){const VD=G.find((OD)=>OD.arg===x);if(y.token=VD,VD){if(_.options&&!_.options.includes(VD.input))throw new lR.ArgInvalidOptionError(_,VD.input);const OD=await _.parse(VD.input,y,_);Q.push(OD),K[VD.arg]=OD}else if(!_.ignoreStdin&&!C){let OD=await KM.readStdin();if(OD){OD=OD.trim();const HD=await _.parse(OD,y,_);Q.push(HD),K[x]=HD}C=!0}if(!K[x]&&(_.default||_.default===!1))if(typeof _.default==="function"){const OD=await _.default();Q.push(OD),K[x]=OD}else Q.push(_.default),K[x]=_.default}for(let x of G){if(K[x.arg]!==void 0)continue;Q.push(x.input)}return{args:K,argv:Q}}get _argTokens(){return this.raw.filter((Q)=>Q.type==="arg")}_debugInput(){rU("input: %s",this.argv.join(" "));const Q=Object.keys(this.input.args);if(Q.length>0)rU("available args: %s",Q.join(" "));if(Object.keys(this.input.flags).length===0)return;rU("available flags: %s",Object.keys(this.input.flags).map((K)=>`--${K}`).join(" "))}_debugOutput(Q,K,G){if(G.length>0)rU("argv: %o",G);if(Object.keys(Q).length>0)rU("args: %o",Q);if(Object.keys(K).length>0)rU("flags: %o",K)}async _flags(){const Q=async(a,bD,ED,XD)=>{if(!bD.parse)return a;const UD={...ED,error:ED?.error,exit:ED?.exit,log:ED?.log,logToStderr:ED?.logToStderr,token:XD,warn:ED?.warn};try{if(bD.type==="boolean")return await bD.parse(a,UD,bD);return await bD.parse(a,UD,bD)}catch(TD){if(TD.message=`Parsing --${bD.name} \n\t${TD.message}\nSee more help with --help`,L00.default.getInstance().get("exitCodes")?.failedFlagParsing)TD.oclif={exit:L00.default.getInstance().get("exitCodes")?.failedFlagParsing};throw TD}},K=(a)=>{if(a.tokens?.length){if(a.inputFlag.flag.type==="boolean"&&aC.last(a.tokens)?.input)return{...a,valueFunction:async(ED)=>Q(aC.last(ED.tokens)?.input!==`--no-${ED.inputFlag.name}`,ED.inputFlag.flag,this.context,aC.last(ED.tokens))};if(a.inputFlag.flag.type==="option"&&a.inputFlag.flag.delimiter&&a.inputFlag.flag.multiple)return{...a,valueFunction:async(ED)=>(await Promise.all((ED.tokens??[]).flatMap((XD)=>XD.input.split(ED.inputFlag.flag.delimiter??",")).map((XD)=>XD.trim().replace(/^"(.*)"$/,"$1").replace(/^'(.*)'$/,"$1")).map(async(XD)=>Q(XD,ED.inputFlag.flag,this.context,{...aC.last(ED.tokens),input:XD})))).map((XD)=>L6D(ED.inputFlag.flag,XD))};if(a.inputFlag.flag.type==="option"&&a.inputFlag.flag.multiple)return{...a,valueFunction:async(ED)=>Promise.all((a.tokens??[]).map((XD)=>Q(L6D(ED.inputFlag.flag,XD.input),ED.inputFlag.flag,this.context,XD)))};if(a.inputFlag.flag.type==="option")return{...a,valueFunction:async(ED)=>Q(L6D(ED.inputFlag.flag,aC.last(a.tokens)?.input),ED.inputFlag.flag,this.context,aC.last(a.tokens))}}if(a.inputFlag.flag.env&&process.env[a.inputFlag.flag.env]){const ED=process.env[a.inputFlag.flag.env];if(a.inputFlag.flag.type==="option"&&ED)return{...a,valueFunction:async(XD)=>Q(L6D(XD.inputFlag.flag,ED),XD.inputFlag.flag,this.context)};if(a.inputFlag.flag.type==="boolean")return{...a,valueFunction:async(XD)=>aC.isTruthy(process.env[XD.inputFlag.flag.env]??"false")}}if(typeof a.inputFlag.flag.default!==void 0)return{...a,metadata:{setFromDefault:!0},valueFunction:typeof a.inputFlag.flag.default==="function"?(ED,XD={})=>a.inputFlag.flag.default({flags:XD,options:ED.inputFlag.flag}):async()=>a.inputFlag.flag.default};return a},G=(a)=>{if(a.inputFlag.flag.type==="option"&&a.inputFlag.flag.defaultHelp)return{...a,helpFunction:typeof a.inputFlag.flag.defaultHelp==="function"?(bD,ED,...XD)=>bD.inputFlag.flag.defaultHelp({flags:ED,options:bD.inputFlag},...XD):(bD)=>bD.inputFlag.flag.defaultHelp};return a},C=async(a)=>{const bD=y(OD.filter((ED)=>!ED.metadata?.setFromDefault));return Promise.all(a.map(async(ED)=>{try{if(ED.helpFunction)return{...ED,metadata:{...ED.metadata,defaultHelp:await ED.helpFunction?.(ED,bD,this.context)}}}catch{}return ED}))},y=(a)=>Object.fromEntries(a.filter((bD)=>bD.value!==void 0).map((bD)=>[bD.inputFlag.name,bD.value])),x=this.mapAndValidateFlags(),_=await Promise.all(Object.entries(this.input.flags).filter(([a,bD])=>bD.type==="boolean"||bD.env||bD.default!==void 0||("defaultHelp"in bD)||x.has(a)).map(([a,bD])=>({inputFlag:{flag:bD,name:a},tokens:x.get(a)})).map((a)=>K(a)).filter((a)=>a.valueFunction!==void 0).map((a)=>G(a)).map(async(a)=>a.metadata?.setFromDefault?a:{...a,value:await a.valueFunction?.(a)})),VD=y(_.filter((a)=>!a.metadata?.setFromDefault)),OD=await Promise.all(_.map(async(a)=>a.metadata?.setFromDefault?{...a,value:await a.valueFunction?.(a,VD)}:a)),HD=OD.some((a)=>typeof a.helpFunction==="function")?await C(OD):OD;return{flags:y(HD),metadata:{flags:Object.fromEntries(HD.filter((a)=>a.metadata).map((a)=>[a.inputFlag.name,a.metadata]))}}}_setNames(){for(let Q of Object.keys(this.input.flags))this.input.flags[Q].name=Q;for(let Q of Object.keys(this.input.args))this.input.args[Q].name=Q}findFlag(Q){const K=Q.startsWith("--"),G=K?!1:Q.startsWith("-"),C=K?this.findLongFlag(Q):G?this.findShortFlag(Q):void 0;return{isLong:K,name:C}}findLongFlag(Q){const K=Q.slice(2);if(this.input.flags[K])return K;if(this.flagAliases[K])return this.flagAliases[K].name;if(Q.startsWith("--no-")){const G=this.booleanFlags[Q.slice(5)];if(G&&G.allowNo)return G.name}}findShortFlag([Q,K]){if(this.flagAliases[K])return this.flagAliases[K].name;return Object.keys(this.input.flags).find((G)=>this.input.flags[G].char===K&&K!==void 0&&this.input.flags[G].char!==void 0)}mapAndValidateFlags(){const Q=new Map;for(let K of this.raw.filter((G)=>G.type==="flag")){if(!(K.flag in this.input.flags))throw new lR.CLIError(`Unexpected flag ${K.flag}`);const G=Q.get(K.flag)??[];Q.set(K.flag,[...G,K])}return Q}}KM.Parser=A00});var T00=r0((E00)=>{async function _r0(Q){let K;function G(){if(Q.output.nonExistentFlags?.length>0)throw new zc.NonExistentFlagsError({flags:Q.output.nonExistentFlags,parse:Q});const ED=Object.keys(Q.input.args).length;if(Q.input.strict&&Q.output.argv.length>ED){const TD=Q.output.argv.slice(ED);throw new zc.UnexpectedArgsError({args:TD,parse:Q})}const XD=[];let UD=!1;for(let[TD,nD]of Object.entries(Q.input.args)){if(!nD.required)UD=!0;else if(UD)throw new zc.InvalidArgsSpecError({args:Q.input.args,parse:Q});if(nD.required&&Q.output.args[TD]===void 0)XD.push(nD)}if(XD.length>0){const TD=Object.entries(Q.input.flags).filter(([nD,Z0])=>Z0.type==="option"&&Boolean(Z0.multiple)).map(([nD])=>nD);throw new zc.RequiredArgsError({args:XD,flagsWithMultiple:TD,parse:Q})}}async function C(){const ED=Object.entries(Q.input.flags).flatMap(([TD,nD])=>{if(Q.output.flags[TD]!==void 0)return[...nD.relationships?bD(TD,nD):[],...nD.dependsOn?[HD(TD,nD.dependsOn)]:[],...nD.exclusive?[VD(TD,nD.exclusive)]:[],...nD.exactlyOne?[OD(TD,nD.exactlyOne)]:[]];if(nD.required)return[{name:TD,reason:`Missing required flag ${TD}`,status:"failed",validationFn:"required"}];if(nD.exactlyOne&&nD.exactlyOne.length>0)return[_(nD)];return[]}),UD=(await Promise.all(ED)).filter((TD)=>TD.status==="failed");if(UD.length>0)throw new zc.FailedFlagValidationError({failed:UD,parse:Q})}async function y(ED){if(K)return K;const XD=ED.map(async(TD)=>{if(typeof TD==="string")return[TD,Q.output.flags[TD]];return await TD.when(Q.output.flags)?[TD.name,Q.output.flags[TD.name]]:null}),UD=await Promise.all(XD);return K=Object.fromEntries(UD.filter((TD)=>TD!==null)),K}const x=(ED)=>Object.keys(ED).filter((XD)=>XD!==void 0);function _(ED){const XD={name:ED.name,validationFn:"validateAcrossFlags"};if(Object.entries(Q.input.flags).map((TD)=>TD[0]).filter((TD)=>Q.output.flags[TD]!==void 0).filter((TD)=>ED.exactlyOne&&ED.exactlyOne.includes(TD)).length===0){const nD=`Exactly one of the following must be provided: ${hr0.uniq(ED.exactlyOne?.map((Z0)=>`--${Z0}`)??[]).join(", ")}`;return{...XD,reason:nD,status:"failed"}}return{...XD,status:"success"}}async function VD(ED,XD){const UD={name:ED,validationFn:"validateExclusive"},TD=await y(XD),nD=x(TD);for(let Z0 of nD){if(Q.output.metadata.flags&&Q.output.metadata.flags[Z0]?.setFromDefault)continue;if(Q.output.metadata.flags&&Q.output.metadata.flags[ED]?.setFromDefault)continue;if(Q.output.flags[Z0]!==void 0){const M0=Q.output.metadata.flags?.[Z0]?.defaultHelp??Q.output.flags[Z0];return{...UD,reason:`--${Z0}=${M0} cannot also be provided when using --${ED}`,status:"failed"}}}return{...UD,status:"success"}}async function OD(ED,XD){const UD={name:ED,validationFn:"validateExactlyOne"},TD=await y(XD),nD=x(TD);for(let Z0 of nD)if(Z0!==ED&&Q.output.flags[Z0]!==void 0)return{...UD,reason:`--${Z0} cannot also be provided when using --${ED}`,status:"failed"};return{...UD,status:"success"}}async function HD(ED,XD){const UD={name:ED,validationFn:"validateDependsOn"},TD=await y(XD);if(!Object.values(TD).every((Z0)=>Z0!==void 0)){const Z0=Object.keys(TD).map((M0)=>`--${M0}`).join(", ");return{...UD,reason:`All of the following must be provided when using --${ED}: ${Z0}`,status:"failed"}}return{...UD,status:"success"}}async function a(ED,XD){const UD={name:ED,validationFn:"validateSome"},TD=await y(XD);if(!Object.values(TD).some(Boolean)){const Z0=Object.keys(TD).map((M0)=>`--${M0}`).join(", ");return{...UD,reason:`One of the following must be provided when using --${ED}: ${Z0}`,status:"failed"}}return{...UD,status:"success"}}function bD(ED,XD){return(XD.relationships??[]).map((UD)=>{switch(UD.type){case"all":return HD(ED,UD.flags);case"some":return a(ED,UD.flags);case"none":return VD(ED,UD.flags);default:throw new Error(`Unknown relationship type: ${UD.type}`)}})}return G(),C()}Object.defineProperty(E00,"__esModule",{value:!0});E00.validate=void 0;var hr0=cB(),zc=XMD();E00.validate=_r0});var I00=r0((tC)=>{var R00=function(Q,K={}){const G=[];if(Q.helpLabel)G.push(Q.helpLabel);else{if(Q.char)G.push(`-${Q.char}`);if(Q.name)G.push(` --${Q.name}`)}const C=Q.type==="option"?` ${Q.name.toUpperCase()}`:"";let y=Q.summary||Q.description||"";if(K.displayRequired&&Q.required)y=`(required) ${y}`;return y=y?mr0.default.dim(y):void 0,[` ${G.join(",").trim()}${C}`,y]},cr0=function(Q,K={}){if(Q.length===0)return[];return dr0.sortBy(Q,(G)=>[G.char?-1:1,G.char,G.name]).map((G)=>R00(G,K))},gr0=tC&&tC.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(tC,"__esModule",{value:!0});tC.flagUsages=tC.flagUsage=void 0;var mr0=gr0(CK()),dr0=cB();tC.flagUsage=R00;tC.flagUsages=cr0});var QMD=r0((YMD)=>{async function nr0(Q,K){const G={"--":K["--"],args:K.args??{},argv:Q,context:K.context,flags:K.flags??{},strict:K.strict!==!1},y=await new lr0.Parser(G).parse();return await ir0.validate({input:G,output:y}),y}Object.defineProperty(YMD,"__esModule",{value:!0});YMD.parse=YMD.flagUsages=void 0;var lr0=C00(),ir0=T00(),pr0=I00();Object.defineProperty(YMD,"flagUsages",{enumerable:!0,get:function(){return pr0.flagUsages}});YMD.parse=nr0});var x00=r0((XW)=>{var __dirname="/Users/treece/src/prismatic-io/prism/node_modules/@oclif/core/lib",rr0=XW&&XW.__createBinding||(Object.create?function(Q,K,G,C){if(C===void 0)C=G;var y=Object.getOwnPropertyDescriptor(K,G);if(!y||("get"in y?!K.__esModule:y.writable||y.configurable))y={enumerable:!0,get:function(){return K[G]}};Object.defineProperty(Q,C,y)}:function(Q,K,G,C){if(C===void 0)C=G;Q[C]=K[G]}),or0=XW&&XW.__setModuleDefault||(Object.create?function(Q,K){Object.defineProperty(Q,"default",{enumerable:!0,value:K})}:function(Q,K){Q.default=K}),u00=XW&&XW.__importStar||function(Q){if(Q&&Q.__esModule)return Q;var K={};if(Q!=null){for(var G in Q)if(G!=="default"&&Object.prototype.hasOwnProperty.call(Q,G))rr0(K,Q,G)}return or0(K,Q),K},f00=XW&&XW.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(XW,"__esModule",{value:!0});XW.Command=void 0;var sr0=f00(CK()),ar0=i8("node:url"),P00=i8("node:util"),v00=f00(lU()),A6D=od(),tr0=O6D(),Of=u00(eq()),Kc=mu(),er0=u00(QMD()),w00=rHD(),VMD=gu(),Do0=cB(),S00=v00.default.getInstance().get("@oclif/core");process.stdout.on("error",(Q)=>{if(Q&&Q.code==="EPIPE")return;throw Q});class b00{argv;config;static aliases=[];static args={};static baseFlags;static deprecateAliases;static deprecationOptions;static description;static enableJsonFlag=!1;static examples;static flags;static hasDynamicHelp=!1;static help;static hidden;static hiddenAliases=[];static id;static plugin;static pluginAlias;static pluginName;static pluginType;static state;static strict=!0;static summary;static usage;debug;id;static _base=`${S00.name}@${S00.version}`;constructor(Q,K){this.argv=Q,this.config=K,this.id=this.ctor.id;try{this.debug=i8("debug")(this.id?`${this.config.bin}:${this.id}`:this.config.bin)}catch{this.debug=()=>{}}}static async run(Q,K){if(!Q)Q=process.argv.slice(2);if(typeof K==="string"&&K.startsWith("file://"))K=ar0.fileURLToPath(K);const G=await tr0.Config.load(K||i8.main?.filename||__dirname),C=new this(Q,G);if(!C.id){const y=C.constructor.name.toLowerCase();C.id=y,C.ctor.id=y}return C._run()}get ctor(){return this.constructor}async catch(Q){if(process.exitCode=process.exitCode??Q.exitCode??1,this.jsonEnabled())this.logJson(this.toErrorJson(Q));else{if(!Q.message)throw Q;try{A6D.ux.action.stop(sr0.default.bold.red("!"))}catch{}throw Q}}error(Q,K={}){return Of.error(Q,K)}exit(Q=0){Of.exit(Q)}async finally(Q){try{const{config:K}=Of;if(K.errorLogger)await K.errorLogger.flush()}catch(K){console.error(K)}}async init(){if(this.debug("init version: %s argv: %o",this.ctor._base,this.argv),this.config.debug)Of.config.debug=!0;if(this.config.errlog)Of.config.errlog=this.config.errlog;const Q=global;Q["http-call"]=Q["http-call"]||{},Q["http-call"].userAgent=this.config.userAgent,this.warnIfCommandDeprecated()}jsonEnabled(){if(!this.ctor.enableJsonFlag)return!1;if(this.config.scopedEnvVar?.("CONTENT_TYPE")?.toLowerCase()==="json")return!0;const Q=this.argv.indexOf("--"),K=this.argv.indexOf("--json");return Q===-1?K>-1:K>-1&&K<Q}log(Q="",...K){if(!this.jsonEnabled())Q=typeof Q==="string"?Q:P00.inspect(Q),A6D.ux.info(Q,...K)}logJson(Q){A6D.ux.styledJSON(Q)}logToStderr(Q="",...K){if(!this.jsonEnabled())Q=typeof Q==="string"?Q:P00.inspect(Q),A6D.ux.logToStderr(Q,...K)}async parse(Q,K=this.argv){if(!Q)Q=this.ctor;const G={context:this,...Q,flags:w00.aggregateFlags(Q.flags,Q.baseFlags,Q.enableJsonFlag)},C=await this.config.runHook("preparse",{argv:[...K],options:G}),y=C.successes?.length?C.successes.find((_)=>_.plugin.root===v00.default.getInstance().get("rootPlugin")?.root)?.result??K:K;this.argv=[...y];const x=await er0.parse(y,G);return this.warnIfFlagDeprecated(x.flags??{}),x}toErrorJson(Q){return{error:Q}}toSuccessJson(Q){return Q}warn(Q){if(!this.jsonEnabled())Of.warn(Q);return Q}warnIfCommandDeprecated(){const[Q]=Kc.normalizeArgv(this.config);if(this.ctor.deprecateAliases&&this.ctor.aliases.includes(Q)){const K=VMD.toConfiguredId(this.ctor.id,this.config),G=VMD.toConfiguredId(Q,this.config);this.warn(Kc.formatCommandDeprecationWarning(G,{to:K}))}if(this.ctor.state==="deprecated"){const K=VMD.toConfiguredId(this.ctor.id,this.config);this.warn(Kc.formatCommandDeprecationWarning(K,this.ctor.deprecationOptions))}}warnIfFlagDeprecated(Q){const K=w00.aggregateFlags(this.ctor.flags,this.ctor.baseFlags,this.ctor.enableJsonFlag);for(let G of Object.keys(Q)){const C=K[G],y=C?.deprecated;if(y)this.warn(Kc.formatFlagDeprecationWarning(G,y));if(C?.deprecateAliases){const _=Do0.uniq([...C?.aliases??[],...C?.charAliases??[]]).map((OD)=>OD.length===1?`-${OD}`:`--${OD}`);if(_.length===0)return;const VD=_.filter((OD)=>this.argv.some((HD)=>HD.startsWith(OD)));for(let OD of VD){let HD=`--${C?.name}`;if(C?.char)HD+=` | -${C?.char}`;this.warn(Kc.formatFlagDeprecationWarning(OD,{to:HD}))}}}}async _run(){let Q,K;try{this.removeEnvVar("REDIRECTED"),await this.init(),K=await this.run()}catch(G){Q=G,await this.catch(G)}finally{await this.finally(Q)}if(K&&this.jsonEnabled())this.logJson(this.toSuccessJson(K));return K}removeEnvVar(Q){const K=[];try{K.push(...this.config.scopedEnvVarKeys(Q))}catch{K.push(this.config.scopedEnvVarKey(Q))}K.map((G)=>delete process.env[G])}}XW.Command=b00});var qMD=r0((YW)=>{async function Qo0(Q,K){const G=jf.Performance.mark(jf.OCLIF_MARKER_OWNER,"main.run"),C=jf.Performance.mark(jf.OCLIF_MARKER_OWNER,"main.run#init"),y=async()=>{if(G?.stop(),!C?.stopped)C?.stop();await jf.Performance.collect(),jf.Performance.debug()},x=async(a)=>{await new(await KMD.loadHelpClass(_))(_,_.pjson.oclif.helpOptions??_.pjson.helpOptions).showHelp(a)};if(zMD(`process.execPath: ${process.execPath}`),zMD(`process.execArgv: ${process.execArgv}`),zMD("process.argv: %O",process.argv),Q=Q??process.argv.slice(2),K&&(typeof K==="string"&&K.startsWith("file://")||K instanceof k00.URL))K=k00.fileURLToPath(K);const _=await Jo0.Config.load(K??i8.main?.filename??__dirname);if($o0.default.getInstance().set("config",_),_.isSingleCommandCLI)Q=[Bo0.SINGLE_COMMAND_CLI_SYMBOL,...Q];const[VD,...OD]=KMD.normalizeArgv(_,Q);if(await _.runHook("init",{argv:OD,id:VD}),YW.versionAddition(Q,_)){Zo0.ux.log(_.userAgent),await y();return}if(YW.helpAddition(Q,_)){await x(Q),await y();return}const HD=_.findCommand(VD);if(!HD){if(_.flexibleTaxonomy?null:_.findTopic(VD)){await x([VD]),await y();return}}C?.stop();try{return await _.runCommand(VD,OD,HD)}finally{await y()}}var __dirname="/Users/treece/src/prismatic-io/prism/node_modules/@oclif/core/lib",Fo0=YW&&YW.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(YW,"__esModule",{value:!0});YW.run=YW.versionAddition=YW.helpAddition=void 0;var k00=i8("node:url"),$o0=Fo0(lU()),Zo0=od(),Jo0=O6D(),KMD=kd(),jf=Bf(),Bo0=$5D(),zMD=i8("debug")("oclif:main"),Xo0=(Q,K)=>{if(Q.length===0&&!K.isSingleCommandCLI)return!0;const G=KMD.getHelpFlagAdditions(K);for(let C of Q){if(G.includes(C))return!0;if(C==="--")return!1}return!1};YW.helpAddition=Xo0;var Yo0=(Q,K)=>{const G=K?.pjson.oclif.additionalVersionFlags??[];if([...(new Set(["--version",...G])).values()].includes(Q[0]))return!0;return!1};YW.versionAddition=Yo0;YW.run=Qo0});var g00=r0((h00)=>{async function Uo0(Q){if(!Q.dir&&!Q.loadOptions)throw new zo0.CLIError("dir or loadOptions is required.");if(Q.development)process.env.NODE_ENV="development",Wo0.settings.debug=!0;return qo0.run(Q.args??process.argv.slice(2),Q.loadOptions??Q.dir).then(async(K)=>{return Vo0.flush(),K}).catch(async(K)=>Ko0.handle(K))}Object.defineProperty(h00,"__esModule",{value:!0});h00.execute=void 0;var Vo0=U5D(),zo0=eq(),Ko0=Y5D(),qo0=qMD(),Wo0=dC();h00.execute=Uo0});var d00=r0((m00)=>{Object.defineProperty(m00,"__esModule",{value:!0})});var p00=r0((C7)=>{var jo0=function(){try{process.cwd()}catch(Q){if(Q.code==="ENOENT")Oo0.default.stderr("WARNING: current directory does not exist\n")}},Go0=C7&&C7.__createBinding||(Object.create?function(Q,K,G,C){if(C===void 0)C=G;var y=Object.getOwnPropertyDescriptor(K,G);if(!y||("get"in y?!K.__esModule:y.writable||y.configurable))y={enumerable:!0,get:function(){return K[G]}};Object.defineProperty(Q,C,y)}:function(Q,K,G,C){if(C===void 0)C=G;Q[C]=K[G]}),Ho0=C7&&C7.__setModuleDefault||(Object.create?function(Q,K){Object.defineProperty(Q,"default",{enumerable:!0,value:K})}:function(Q,K){Q.default=K}),iR=C7&&C7.__importStar||function(Q){if(Q&&Q.__esModule)return Q;var K={};if(Q!=null){for(var G in Q)if(G!=="default"&&Object.prototype.hasOwnProperty.call(Q,G))Go0(K,Q,G)}return Ho0(K,Q),K},Mo0=C7&&C7.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(C7,"__esModule",{value:!0});C7.toStandardizedId=C7.toConfiguredId=C7.settings=C7.Performance=C7.Parser=C7.ModuleLoader=C7.run=C7.Interfaces=C7.loadHelpClass=C7.HelpBase=C7.Help=C7.CommandHelp=C7.Flags=C7.execute=C7.handle=C7.Errors=C7.Plugin=C7.Config=C7.Command=C7.stdout=C7.stderr=C7.flush=C7.ux=C7.Args=void 0;var Oo0=Mo0(gC());jo0();C7.Args=iR(PgD());C7.ux=iR(od());var Lo0=U5D();Object.defineProperty(C7,"flush",{enumerable:!0,get:function(){return Lo0.flush}});var c00=RrD();Object.defineProperty(C7,"stderr",{enumerable:!0,get:function(){return c00.stderr}});Object.defineProperty(C7,"stdout",{enumerable:!0,get:function(){return c00.stdout}});var Ao0=x00();Object.defineProperty(C7,"Command",{enumerable:!0,get:function(){return Ao0.Command}});var l00=O6D();Object.defineProperty(C7,"Config",{enumerable:!0,get:function(){return l00.Config}});Object.defineProperty(C7,"Plugin",{enumerable:!0,get:function(){return l00.Plugin}});C7.Errors=iR(eq());var Co0=Y5D();Object.defineProperty(C7,"handle",{enumerable:!0,get:function(){return Co0.handle}});var Eo0=g00();Object.defineProperty(C7,"execute",{enumerable:!0,get:function(){return Eo0.execute}});C7.Flags=iR(w5D());var C6D=kd();Object.defineProperty(C7,"CommandHelp",{enumerable:!0,get:function(){return C6D.CommandHelp}});Object.defineProperty(C7,"Help",{enumerable:!0,get:function(){return C6D.Help}});Object.defineProperty(C7,"HelpBase",{enumerable:!0,get:function(){return C6D.HelpBase}});Object.defineProperty(C7,"loadHelpClass",{enumerable:!0,get:function(){return C6D.loadHelpClass}});C7.Interfaces=iR(d00());var No0=qMD();Object.defineProperty(C7,"run",{enumerable:!0,get:function(){return No0.run}});C7.ModuleLoader=iR(wd());C7.Parser=iR(QMD());var To0=Bf();Object.defineProperty(C7,"Performance",{enumerable:!0,get:function(){return To0.Performance}});var Ro0=dC();Object.defineProperty(C7,"settings",{enumerable:!0,get:function(){return Ro0.settings}});var i00=gu();Object.defineProperty(C7,"toConfiguredId",{enumerable:!0,get:function(){return i00.toConfiguredId}});Object.defineProperty(C7,"toStandardizedId",{enumerable:!0,get:function(){return i00.toStandardizedId}})});var r00=r0((u01,n00)=>{var __dirname="/Users/treece/src/prismatic-io/prism/node_modules/http-status-codes/build/cjs";n00.exports=function(Q,K){var G={};function C(x){if(G[x])return G[x].exports;var _=G[x]={i:x,l:!1,exports:{}},VD=!0;try{Q[x].call(_.exports,_,_.exports,C),VD=!1}finally{if(VD)delete G[x]}return _.l=!0,_.exports}C.ab=__dirname+"/";function y(){return C(527)}return K(C),y()}({527:function(Q,K,G){G.r(K);var C;(function(r1){r1[r1.ACCEPTED=202]="ACCEPTED",r1[r1.BAD_GATEWAY=502]="BAD_GATEWAY",r1[r1.BAD_REQUEST=400]="BAD_REQUEST",r1[r1.CONFLICT=409]="CONFLICT",r1[r1.CONTINUE=100]="CONTINUE",r1[r1.CREATED=201]="CREATED",r1[r1.EXPECTATION_FAILED=417]="EXPECTATION_FAILED",r1[r1.FAILED_DEPENDENCY=424]="FAILED_DEPENDENCY",r1[r1.FORBIDDEN=403]="FORBIDDEN",r1[r1.GATEWAY_TIMEOUT=504]="GATEWAY_TIMEOUT",r1[r1.GONE=410]="GONE",r1[r1.HTTP_VERSION_NOT_SUPPORTED=505]="HTTP_VERSION_NOT_SUPPORTED",r1[r1.IM_A_TEAPOT=418]="IM_A_TEAPOT",r1[r1.INSUFFICIENT_SPACE_ON_RESOURCE=419]="INSUFFICIENT_SPACE_ON_RESOURCE",r1[r1.INSUFFICIENT_STORAGE=507]="INSUFFICIENT_STORAGE",r1[r1.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR",r1[r1.LENGTH_REQUIRED=411]="LENGTH_REQUIRED",r1[r1.LOCKED=423]="LOCKED",r1[r1.METHOD_FAILURE=420]="METHOD_FAILURE",r1[r1.METHOD_NOT_ALLOWED=405]="METHOD_NOT_ALLOWED",r1[r1.MOVED_PERMANENTLY=301]="MOVED_PERMANENTLY",r1[r1.MOVED_TEMPORARILY=302]="MOVED_TEMPORARILY",r1[r1.MULTI_STATUS=207]="MULTI_STATUS",r1[r1.MULTIPLE_CHOICES=300]="MULTIPLE_CHOICES",r1[r1.NETWORK_AUTHENTICATION_REQUIRED=511]="NETWORK_AUTHENTICATION_REQUIRED",r1[r1.NO_CONTENT=204]="NO_CONTENT",r1[r1.NON_AUTHORITATIVE_INFORMATION=203]="NON_AUTHORITATIVE_INFORMATION",r1[r1.NOT_ACCEPTABLE=406]="NOT_ACCEPTABLE",r1[r1.NOT_FOUND=404]="NOT_FOUND",r1[r1.NOT_IMPLEMENTED=501]="NOT_IMPLEMENTED",r1[r1.NOT_MODIFIED=304]="NOT_MODIFIED",r1[r1.OK=200]="OK",r1[r1.PARTIAL_CONTENT=206]="PARTIAL_CONTENT",r1[r1.PAYMENT_REQUIRED=402]="PAYMENT_REQUIRED",r1[r1.PERMANENT_REDIRECT=308]="PERMANENT_REDIRECT",r1[r1.PRECONDITION_FAILED=412]="PRECONDITION_FAILED",r1[r1.PRECONDITION_REQUIRED=428]="PRECONDITION_REQUIRED",r1[r1.PROCESSING=102]="PROCESSING",r1[r1.PROXY_AUTHENTICATION_REQUIRED=407]="PROXY_AUTHENTICATION_REQUIRED",r1[r1.REQUEST_HEADER_FIELDS_TOO_LARGE=431]="REQUEST_HEADER_FIELDS_TOO_LARGE",r1[r1.REQUEST_TIMEOUT=408]="REQUEST_TIMEOUT",r1[r1.REQUEST_TOO_LONG=413]="REQUEST_TOO_LONG",r1[r1.REQUEST_URI_TOO_LONG=414]="REQUEST_URI_TOO_LONG",r1[r1.REQUESTED_RANGE_NOT_SATISFIABLE=416]="REQUESTED_RANGE_NOT_SATISFIABLE",r1[r1.RESET_CONTENT=205]="RESET_CONTENT",r1[r1.SEE_OTHER=303]="SEE_OTHER",r1[r1.SERVICE_UNAVAILABLE=503]="SERVICE_UNAVAILABLE",r1[r1.SWITCHING_PROTOCOLS=101]="SWITCHING_PROTOCOLS",r1[r1.TEMPORARY_REDIRECT=307]="TEMPORARY_REDIRECT",r1[r1.TOO_MANY_REQUESTS=429]="TOO_MANY_REQUESTS",r1[r1.UNAUTHORIZED=401]="UNAUTHORIZED",r1[r1.UNAVAILABLE_FOR_LEGAL_REASONS=451]="UNAVAILABLE_FOR_LEGAL_REASONS",r1[r1.UNPROCESSABLE_ENTITY=422]="UNPROCESSABLE_ENTITY",r1[r1.UNSUPPORTED_MEDIA_TYPE=415]="UNSUPPORTED_MEDIA_TYPE",r1[r1.USE_PROXY=305]="USE_PROXY"})(C||(C={}));var y;(function(r1){r1.ACCEPTED="Accepted",r1.BAD_GATEWAY="Bad Gateway",r1.BAD_REQUEST="Bad Request",r1.CONFLICT="Conflict",r1.CONTINUE="Continue",r1.CREATED="Created",r1.EXPECTATION_FAILED="Expectation Failed",r1.FAILED_DEPENDENCY="Failed Dependency",r1.FORBIDDEN="Forbidden",r1.GATEWAY_TIMEOUT="Gateway Timeout",r1.GONE="Gone",r1.HTTP_VERSION_NOT_SUPPORTED="HTTP Version Not Supported",r1.IM_A_TEAPOT="I'm a teapot",r1.INSUFFICIENT_SPACE_ON_RESOURCE="Insufficient Space on Resource",r1.INSUFFICIENT_STORAGE="Insufficient Storage",r1.INTERNAL_SERVER_ERROR="Internal Server Error",r1.LENGTH_REQUIRED="Length Required",r1.LOCKED="Locked",r1.METHOD_FAILURE="Method Failure",r1.METHOD_NOT_ALLOWED="Method Not Allowed",r1.MOVED_PERMANENTLY="Moved Permanently",r1.MOVED_TEMPORARILY="Moved Temporarily",r1.MULTI_STATUS="Multi-Status",r1.MULTIPLE_CHOICES="Multiple Choices",r1.NETWORK_AUTHENTICATION_REQUIRED="Network Authentication Required",r1.NO_CONTENT="No Content",r1.NON_AUTHORITATIVE_INFORMATION="Non Authoritative Information",r1.NOT_ACCEPTABLE="Not Acceptable",r1.NOT_FOUND="Not Found",r1.NOT_IMPLEMENTED="Not Implemented",r1.NOT_MODIFIED="Not Modified",r1.OK="OK",r1.PARTIAL_CONTENT="Partial Content",r1.PAYMENT_REQUIRED="Payment Required",r1.PERMANENT_REDIRECT="Permanent Redirect",r1.PRECONDITION_FAILED="Precondition Failed",r1.PRECONDITION_REQUIRED="Precondition Required",r1.PROCESSING="Processing",r1.PROXY_AUTHENTICATION_REQUIRED="Proxy Authentication Required",r1.REQUEST_HEADER_FIELDS_TOO_LARGE="Request Header Fields Too Large",r1.REQUEST_TIMEOUT="Request Timeout",r1.REQUEST_TOO_LONG="Request Entity Too Large",r1.REQUEST_URI_TOO_LONG="Request-URI Too Long",r1.REQUESTED_RANGE_NOT_SATISFIABLE="Requested Range Not Satisfiable",r1.RESET_CONTENT="Reset Content",r1.SEE_OTHER="See Other",r1.SERVICE_UNAVAILABLE="Service Unavailable",r1.SWITCHING_PROTOCOLS="Switching Protocols",r1.TEMPORARY_REDIRECT="Temporary Redirect",r1.TOO_MANY_REQUESTS="Too Many Requests",r1.UNAUTHORIZED="Unauthorized",r1.UNAVAILABLE_FOR_LEGAL_REASONS="Unavailable For Legal Reasons",r1.UNPROCESSABLE_ENTITY="Unprocessable Entity",r1.UNSUPPORTED_MEDIA_TYPE="Unsupported Media Type",r1.USE_PROXY="Use Proxy"})(y||(y={}));var x={"202":"Accepted","502":"Bad Gateway","400":"Bad Request","409":"Conflict","100":"Continue","201":"Created","417":"Expectation Failed","424":"Failed Dependency","403":"Forbidden","504":"Gateway Timeout","410":"Gone","505":"HTTP Version Not Supported","418":"I'm a teapot","419":"Insufficient Space on Resource","507":"Insufficient Storage","500":"Internal Server Error","411":"Length Required","423":"Locked","420":"Method Failure","405":"Method Not Allowed","301":"Moved Permanently","302":"Moved Temporarily","207":"Multi-Status","300":"Multiple Choices","511":"Network Authentication Required","204":"No Content","203":"Non Authoritative Information","406":"Not Acceptable","404":"Not Found","501":"Not Implemented","304":"Not Modified","200":"OK","206":"Partial Content","402":"Payment Required","308":"Permanent Redirect","412":"Precondition Failed","428":"Precondition Required","102":"Processing","407":"Proxy Authentication Required","431":"Request Header Fields Too Large","408":"Request Timeout","413":"Request Entity Too Large","414":"Request-URI Too Long","416":"Requested Range Not Satisfiable","205":"Reset Content","303":"See Other","503":"Service Unavailable","101":"Switching Protocols","307":"Temporary Redirect","429":"Too Many Requests","401":"Unauthorized","451":"Unavailable For Legal Reasons","422":"Unprocessable Entity","415":"Unsupported Media Type","305":"Use Proxy"},_={Accepted:202,"Bad Gateway":502,"Bad Request":400,Conflict:409,Continue:100,Created:201,"Expectation Failed":417,"Failed Dependency":424,Forbidden:403,"Gateway Timeout":504,Gone:410,"HTTP Version Not Supported":505,"I'm a teapot":418,"Insufficient Space on Resource":419,"Insufficient Storage":507,"Internal Server Error":500,"Length Required":411,Locked:423,"Method Failure":420,"Method Not Allowed":405,"Moved Permanently":301,"Moved Temporarily":302,"Multi-Status":207,"Multiple Choices":300,"Network Authentication Required":511,"No Content":204,"Non Authoritative Information":203,"Not Acceptable":406,"Not Found":404,"Not Implemented":501,"Not Modified":304,OK:200,"Partial Content":206,"Payment Required":402,"Permanent Redirect":308,"Precondition Failed":412,"Precondition Required":428,Processing:102,"Proxy Authentication Required":407,"Request Header Fields Too Large":431,"Request Timeout":408,"Request Entity Too Large":413,"Request-URI Too Long":414,"Requested Range Not Satisfiable":416,"Reset Content":205,"See Other":303,"Service Unavailable":503,"Switching Protocols":101,"Temporary Redirect":307,"Too Many Requests":429,Unauthorized:401,"Unavailable For Legal Reasons":451,"Unprocessable Entity":422,"Unsupported Media Type":415,"Use Proxy":305};G.d(K,"getReasonPhrase",function(){return VD}),G.d(K,"getStatusCode",function(){return OD}),G.d(K,"getStatusText",function(){return HD}),G.d(K,"StatusCodes",function(){return C}),G.d(K,"ReasonPhrases",function(){return y}),G.d(K,"ACCEPTED",function(){return a}),G.d(K,"BAD_GATEWAY",function(){return bD}),G.d(K,"BAD_REQUEST",function(){return ED}),G.d(K,"CONFLICT",function(){return XD}),G.d(K,"CONTINUE",function(){return UD}),G.d(K,"CREATED",function(){return TD}),G.d(K,"EXPECTATION_FAILED",function(){return nD}),G.d(K,"FAILED_DEPENDENCY",function(){return Z0}),G.d(K,"FORBIDDEN",function(){return M0}),G.d(K,"GATEWAY_TIMEOUT",function(){return a1}),G.d(K,"GONE",function(){return D8}),G.d(K,"HTTP_VERSION_NOT_SUPPORTED",function(){return C8}),G.d(K,"IM_A_TEAPOT",function(){return V6}),G.d(K,"INSUFFICIENT_SPACE_ON_RESOURCE",function(){return $8}),G.d(K,"INSUFFICIENT_STORAGE",function(){return U6}),G.d(K,"INTERNAL_SERVER_ERROR",function(){return VF}),G.d(K,"LENGTH_REQUIRED",function(){return $7}),G.d(K,"LOCKED",function(){return a0}),G.d(K,"METHOD_FAILURE",function(){return y9}),G.d(K,"METHOD_NOT_ALLOWED",function(){return S7}),G.d(K,"MOVED_PERMANENTLY",function(){return K1}),G.d(K,"MOVED_TEMPORARILY",function(){return $5}),G.d(K,"MULTI_STATUS",function(){return R8}),G.d(K,"MULTIPLE_CHOICES",function(){return _9}),G.d(K,"NETWORK_AUTHENTICATION_REQUIRED",function(){return h5}),G.d(K,"NO_CONTENT",function(){return M2}),G.d(K,"NON_AUTHORITATIVE_INFORMATION",function(){return h2}),G.d(K,"NOT_ACCEPTABLE",function(){return $2}),G.d(K,"NOT_FOUND",function(){return xX}),G.d(K,"NOT_IMPLEMENTED",function(){return m5}),G.d(K,"NOT_MODIFIED",function(){return qZ}),G.d(K,"OK",function(){return r4}),G.d(K,"PARTIAL_CONTENT",function(){return Z7}),G.d(K,"PAYMENT_REQUIRED",function(){return y3}),G.d(K,"PERMANENT_REDIRECT",function(){return QJ}),G.d(K,"PRECONDITION_FAILED",function(){return _6}),G.d(K,"PRECONDITION_REQUIRED",function(){return e9}),G.d(K,"PROCESSING",function(){return B0}),G.d(K,"PROXY_AUTHENTICATION_REQUIRED",function(){return Q9}),G.d(K,"REQUEST_HEADER_FIELDS_TOO_LARGE",function(){return y5}),G.d(K,"REQUEST_TIMEOUT",function(){return vZ}),G.d(K,"REQUEST_TOO_LONG",function(){return d3}),G.d(K,"REQUEST_URI_TOO_LONG",function(){return oU}),G.d(K,"REQUESTED_RANGE_NOT_SATISFIABLE",function(){return QW}),G.d(K,"RESET_CONTENT",function(){return AY}),G.d(K,"SEE_OTHER",function(){return pR}),G.d(K,"SERVICE_UNAVAILABLE",function(){return qM}),G.d(K,"SWITCHING_PROTOCOLS",function(){return rB}),G.d(K,"TEMPORARY_REDIRECT",function(){return wK}),G.d(K,"TOO_MANY_REQUESTS",function(){return sU}),G.d(K,"UNAUTHORIZED",function(){return SK}),G.d(K,"UNPROCESSABLE_ENTITY",function(){return r$}),G.d(K,"UNSUPPORTED_MEDIA_TYPE",function(){return VW}),G.d(K,"USE_PROXY",function(){return vj}),G.d(K,"default",function(){return P1});function VD(r1){var zW=x[r1.toString()];if(!zW)throw new Error("Status code does not exist: "+r1);return zW}function OD(r1){var zW=_[r1];if(!zW)throw new Error("Reason phrase does not exist: "+r1);return zW}var HD=VD,a=202,bD=502,ED=400,XD=409,UD=100,TD=201,nD=417,Z0=424,M0=403,a1=504,D8=410,C8=505,V6=418,$8=419,U6=507,VF=500,$7=411,a0=423,y9=420,S7=405,K1=301,$5=302,R8=207,_9=300,h5=511,M2=204,h2=203,$2=406,xX=404,m5=501,qZ=304,r4=200,Z7=206,y3=402,QJ=308,_6=412,e9=428,B0=102,Q9=407,y5=431,vZ=408,d3=413,oU=414,QW=416,AY=205,pR=303,qM=503,rB=101,wK=307,sU=429,SK=401,r$=422,VW=415,vj=305,P1={ACCEPTED:a,BAD_GATEWAY:bD,BAD_REQUEST:ED,CONFLICT:XD,CONTINUE:UD,CREATED:TD,EXPECTATION_FAILED:nD,FORBIDDEN:M0,GATEWAY_TIMEOUT:a1,GONE:D8,HTTP_VERSION_NOT_SUPPORTED:C8,IM_A_TEAPOT:V6,INSUFFICIENT_SPACE_ON_RESOURCE:$8,INSUFFICIENT_STORAGE:U6,INTERNAL_SERVER_ERROR:VF,LENGTH_REQUIRED:$7,LOCKED:a0,METHOD_FAILURE:y9,METHOD_NOT_ALLOWED:S7,MOVED_PERMANENTLY:K1,MOVED_TEMPORARILY:$5,MULTI_STATUS:R8,MULTIPLE_CHOICES:_9,NETWORK_AUTHENTICATION_REQUIRED:h5,NO_CONTENT:M2,NON_AUTHORITATIVE_INFORMATION:h2,NOT_ACCEPTABLE:$2,NOT_FOUND:xX,NOT_IMPLEMENTED:m5,NOT_MODIFIED:qZ,OK:r4,PARTIAL_CONTENT:Z7,PAYMENT_REQUIRED:y3,PERMANENT_REDIRECT:QJ,PRECONDITION_FAILED:_6,PRECONDITION_REQUIRED:e9,PROCESSING:B0,PROXY_AUTHENTICATION_REQUIRED:Q9,REQUEST_HEADER_FIELDS_TOO_LARGE:y5,REQUEST_TIMEOUT:vZ,REQUEST_TOO_LONG:d3,REQUEST_URI_TOO_LONG:oU,REQUESTED_RANGE_NOT_SATISFIABLE:QW,RESET_CONTENT:AY,SEE_OTHER:pR,SERVICE_UNAVAILABLE:qM,SWITCHING_PROTOCOLS:rB,TEMPORARY_REDIRECT:wK,TOO_MANY_REQUESTS:sU,UNAUTHORIZED:SK,UNPROCESSABLE_ENTITY:r$,UNSUPPORTED_MEDIA_TYPE:VW,USE_PROXY:vj,getStatusText:HD,getStatusCode:OD}}},function(Q){(function(){Q.r=function(K){if(typeof Symbol!=="undefined"&&Symbol.toStringTag)Object.defineProperty(K,Symbol.toStringTag,{value:"Module"});Object.defineProperty(K,"__esModule",{value:!0})}})(),function(){var K=Object.prototype.hasOwnProperty;Q.d=function(G,C,y){if(!K.call(G,C))Object.defineProperty(G,C,{enumerable:!0,get:y})}}()})});var eC=OgD(p00(),1);var qc=OgD(r00(),1),WMD=(Q)=>Boolean(Q)&&typeof Q==="object"&&Q!==null&&("message"in Q),Io0=(Q)=>WMD(Q)&&("oclif"in Q),yo0=(Q)=>WMD(Q)&&("response"in Q)&&("request"in Q),Po0=(Q)=>{if(Q===qc.StatusCodes.OK)return;return Q===qc.StatusCodes.UNAUTHORIZED?"You are not logged to the Prismatic platform at the specified endpoint URL. Check the value for PRISMATIC_URL.":qc.getReasonPhrase(Q)},wo0=({response:{errors:Q=[],status:K}})=>{try{const G=Po0(K),C=Q.map(({message:y})=>y);return[G,...C].filter(Boolean).join("\n")}catch(G){return`GraphQL Error (Code: ${K})`}},o00=(Q)=>{if(Io0(Q))return Q;if(yo0(Q))return{...Q,message:wo0(Q)};if(WMD(Q))return{...Q,message:Q.message};return{name:"",message:Q}};try{eC.settings.enableAutoTranspile=!1,await eC.run(process.argv.slice(2),import.meta.url),await eC.flush()}catch(Q){await eC.handle(o00(Q))}
|
|
365
|
+
*/var em0=i8("util"),KsD=QsD(),VsD=(Q)=>Q!==null&&typeof Q==="object"&&!Array.isArray(Q),Dd0=(Q)=>{return(K)=>Q===!0?Number(K):String(K)},sGD=(Q)=>{return typeof Q==="number"||typeof Q==="string"&&Q!==""},ed=(Q)=>Number.isInteger(+Q),aGD=(Q)=>{let K=`${Q}`,G=-1;if(K[0]==="-")K=K.slice(1);if(K==="0")return!1;while(K[++G]==="0");return G>0},Fd0=(Q,K,G)=>{if(typeof Q==="string"||typeof K==="string")return!0;return G.stringify===!0},$d0=(Q,K,G)=>{if(K>0){let C=Q[0]==="-"?"-":"";if(C)Q=Q.slice(1);Q=C+Q.padStart(C?K-1:K,"0")}if(G===!1)return String(Q);return Q},zsD=(Q,K)=>{let G=Q[0]==="-"?"-":"";if(G)Q=Q.slice(1),K--;while(Q.length<K)Q="0"+Q;return G?"-"+Q:Q},Zd0=(Q,K)=>{Q.negatives.sort((_,VD)=>_<VD?-1:_>VD?1:0),Q.positives.sort((_,VD)=>_<VD?-1:_>VD?1:0);let G=K.capture?"":"?:",C="",y="",x;if(Q.positives.length)C=Q.positives.join("|");if(Q.negatives.length)y=`-(${G}${Q.negatives.join("|")})`;if(C&&y)x=`${C}|${y}`;else x=C||y;if(K.wrap)return`(${G}${x})`;return x},qsD=(Q,K,G,C)=>{if(G)return KsD(Q,K,{wrap:!1,...C});let y=String.fromCharCode(Q);if(Q===K)return y;let x=String.fromCharCode(K);return`[${y}-${x}]`},WsD=(Q,K,G)=>{if(Array.isArray(Q)){let C=G.wrap===!0,y=G.capture?"":"?:";return C?`(${y}${Q.join("|")})`:Q.join("|")}return KsD(Q,K,G)},UsD=(...Q)=>{return new RangeError("Invalid range arguments: "+em0.inspect(...Q))},GsD=(Q,K,G)=>{if(G.strictRanges===!0)throw UsD([Q,K]);return[]},Jd0=(Q,K)=>{if(K.strictRanges===!0)throw new TypeError(`Expected step "${Q}" to be a number`);return[]},Bd0=(Q,K,G=1,C={})=>{let y=Number(Q),x=Number(K);if(!Number.isInteger(y)||!Number.isInteger(x)){if(C.strictRanges===!0)throw UsD([Q,K]);return[]}if(y===0)y=0;if(x===0)x=0;let _=y>x,VD=String(Q),OD=String(K),HD=String(G);G=Math.max(Math.abs(G),1);let a=aGD(VD)||aGD(OD)||aGD(HD),bD=a?Math.max(VD.length,OD.length,HD.length):0,ED=a===!1&&Fd0(Q,K,C)===!1,XD=C.transform||Dd0(ED);if(C.toRegex&&G===1)return qsD(zsD(Q,bD),zsD(K,bD),!0,C);let UD={negatives:[],positives:[]},TD=(M0)=>UD[M0<0?"negatives":"positives"].push(Math.abs(M0)),nD=[],Z0=0;while(_?y>=x:y<=x){if(C.toRegex===!0&&G>1)TD(y);else nD.push($d0(XD(y,Z0),bD,ED));y=_?y-G:y+G,Z0++}if(C.toRegex===!0)return G>1?Zd0(UD,C):WsD(nD,null,{wrap:!1,...C});return nD},Xd0=(Q,K,G=1,C={})=>{if(!ed(Q)&&Q.length>1||!ed(K)&&K.length>1)return GsD(Q,K,C);let y=C.transform||((ED)=>String.fromCharCode(ED)),x=`${Q}`.charCodeAt(0),_=`${K}`.charCodeAt(0),VD=x>_,OD=Math.min(x,_),HD=Math.max(x,_);if(C.toRegex&&G===1)return qsD(OD,HD,!1,C);let a=[],bD=0;while(VD?x>=_:x<=_)a.push(y(x,bD)),x=VD?x-G:x+G,bD++;if(C.toRegex===!0)return WsD(a,null,{wrap:!1,options:C});return a},p5D=(Q,K,G,C={})=>{if(K==null&&sGD(Q))return[Q];if(!sGD(Q)||!sGD(K))return GsD(Q,K,C);if(typeof G==="function")return p5D(Q,K,1,{transform:G});if(VsD(G))return p5D(Q,K,0,G);let y={...C};if(y.capture===!0)y.wrap=!0;if(G=G||y.step||1,!ed(G)){if(G!=null&&!VsD(G))return Jd0(G,y);return p5D(Q,K,1,G)}if(ed(Q)&&ed(K))return Bd0(Q,K,G,y);return Xd0(Q,K,Math.max(Math.abs(G),1),y)};HsD.exports=p5D});var jsD=r0((oe0,OsD)=>{var Yd0=tGD(),MsD=l5D(),Qd0=(Q,K={})=>{let G=(C,y={})=>{let x=MsD.isInvalidBrace(y),_=C.invalid===!0&&K.escapeInvalid===!0,VD=x===!0||_===!0,OD=K.escapeInvalid===!0?"\\":"",HD="";if(C.isOpen===!0)return OD+C.value;if(C.isClose===!0)return OD+C.value;if(C.type==="open")return VD?OD+C.value:"(";if(C.type==="close")return VD?OD+C.value:")";if(C.type==="comma")return C.prev.type==="comma"?"":VD?C.value:"|";if(C.value)return C.value;if(C.nodes&&C.ranges>0){let a=MsD.reduce(C.nodes),bD=Yd0(...a,{...K,wrap:!1,toRegex:!0});if(bD.length!==0)return a.length>1&&bD.length>1?`(${bD})`:bD}if(C.nodes)for(let a of C.nodes)HD+=G(a,C);return HD};return G(Q)};OsD.exports=Qd0});var CsD=r0((se0,AsD)=>{var Vd0=tGD(),LsD=i5D(),Yf=l5D(),hR=(Q="",K="",G=!1)=>{let C=[];if(Q=[].concat(Q),K=[].concat(K),!K.length)return Q;if(!Q.length)return G?Yf.flatten(K).map((y)=>`{${y}}`):K;for(let y of Q)if(Array.isArray(y))for(let x of y)C.push(hR(x,K,G));else for(let x of K){if(G===!0&&typeof x==="string")x=`{${x}}`;C.push(Array.isArray(x)?hR(y,x,G):y+x)}return Yf.flatten(C)},zd0=(Q,K={})=>{let G=K.rangeLimit===void 0?1000:K.rangeLimit,C=(y,x={})=>{y.queue=[];let _=x,VD=x.queue;while(_.type!=="brace"&&_.type!=="root"&&_.parent)_=_.parent,VD=_.queue;if(y.invalid||y.dollar){VD.push(hR(VD.pop(),LsD(y,K)));return}if(y.type==="brace"&&y.invalid!==!0&&y.nodes.length===2){VD.push(hR(VD.pop(),["{}"]));return}if(y.nodes&&y.ranges>0){let bD=Yf.reduce(y.nodes);if(Yf.exceedsLimit(...bD,K.step,G))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let ED=Vd0(...bD,K);if(ED.length===0)ED=LsD(y,K);VD.push(hR(VD.pop(),ED)),y.nodes=[];return}let OD=Yf.encloseBrace(y),HD=y.queue,a=y;while(a.type!=="brace"&&a.type!=="root"&&a.parent)a=a.parent,HD=a.queue;for(let bD=0;bD<y.nodes.length;bD++){let ED=y.nodes[bD];if(ED.type==="comma"&&y.type==="brace"){if(bD===1)HD.push("");HD.push("");continue}if(ED.type==="close"){VD.push(hR(VD.pop(),HD,OD));continue}if(ED.value&&ED.type!=="open"){HD.push(hR(HD.pop(),ED.value));continue}if(ED.nodes)C(ED,y)}return HD};return Yf.flatten(C(Q))};AsD.exports=zd0});var NsD=r0((ae0,EsD)=>{EsD.exports={MAX_LENGTH:65536,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:"\n",CHAR_NO_BREAK_SPACE:"\xA0",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:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\uFEFF"}});var PsD=r0((te0,ysD)=>{var Kd0=i5D(),{MAX_LENGTH:TsD,CHAR_BACKSLASH:eGD,CHAR_BACKTICK:qd0,CHAR_COMMA:Wd0,CHAR_DOT:Ud0,CHAR_LEFT_PARENTHESES:Gd0,CHAR_RIGHT_PARENTHESES:Hd0,CHAR_LEFT_CURLY_BRACE:Md0,CHAR_RIGHT_CURLY_BRACE:Od0,CHAR_LEFT_SQUARE_BRACKET:RsD,CHAR_RIGHT_SQUARE_BRACKET:IsD,CHAR_DOUBLE_QUOTE:jd0,CHAR_SINGLE_QUOTE:Ld0,CHAR_NO_BREAK_SPACE:Ad0,CHAR_ZERO_WIDTH_NOBREAK_SPACE:Cd0}=NsD(),Ed0=(Q,K={})=>{if(typeof Q!=="string")throw new TypeError("Expected a string");let G=K||{},C=typeof G.maxLength==="number"?Math.min(TsD,G.maxLength):TsD;if(Q.length>C)throw new SyntaxError(`Input length (${Q.length}), exceeds max characters (${C})`);let y={type:"root",input:Q,nodes:[]},x=[y],_=y,VD=y,OD=0,HD=Q.length,a=0,bD=0,ED,XD={};const UD=()=>Q[a++],TD=(nD)=>{if(nD.type==="text"&&VD.type==="dot")VD.type="text";if(VD&&VD.type==="text"&&nD.type==="text"){VD.value+=nD.value;return}return _.nodes.push(nD),nD.parent=_,nD.prev=VD,VD=nD,nD};TD({type:"bos"});while(a<HD){if(_=x[x.length-1],ED=UD(),ED===Cd0||ED===Ad0)continue;if(ED===eGD){TD({type:"text",value:(K.keepEscaping?ED:"")+UD()});continue}if(ED===IsD){TD({type:"text",value:"\\"+ED});continue}if(ED===RsD){OD++;let nD=!0,Z0;while(a<HD&&(Z0=UD())){if(ED+=Z0,Z0===RsD){OD++;continue}if(Z0===eGD){ED+=UD();continue}if(Z0===IsD){if(OD--,OD===0)break}}TD({type:"text",value:ED});continue}if(ED===Gd0){_=TD({type:"paren",nodes:[]}),x.push(_),TD({type:"text",value:ED});continue}if(ED===Hd0){if(_.type!=="paren"){TD({type:"text",value:ED});continue}_=x.pop(),TD({type:"text",value:ED}),_=x[x.length-1];continue}if(ED===jd0||ED===Ld0||ED===qd0){let nD=ED,Z0;if(K.keepQuotes!==!0)ED="";while(a<HD&&(Z0=UD())){if(Z0===eGD){ED+=Z0+UD();continue}if(Z0===nD){if(K.keepQuotes===!0)ED+=Z0;break}ED+=Z0}TD({type:"text",value:ED});continue}if(ED===Md0){bD++;let Z0={type:"brace",open:!0,close:!1,dollar:VD.value&&VD.value.slice(-1)==="$"||_.dollar===!0,depth:bD,commas:0,ranges:0,nodes:[]};_=TD(Z0),x.push(_),TD({type:"open",value:ED});continue}if(ED===Od0){if(_.type!=="brace"){TD({type:"text",value:ED});continue}let nD="close";_=x.pop(),_.close=!0,TD({type:nD,value:ED}),bD--,_=x[x.length-1];continue}if(ED===Wd0&&bD>0){if(_.ranges>0){_.ranges=0;let nD=_.nodes.shift();_.nodes=[nD,{type:"text",value:Kd0(_)}]}TD({type:"comma",value:ED}),_.commas++;continue}if(ED===Ud0&&bD>0&&_.commas===0){let nD=_.nodes;if(bD===0||nD.length===0){TD({type:"text",value:ED});continue}if(VD.type==="dot"){if(_.range=[],VD.value+=ED,VD.type="range",_.nodes.length!==3&&_.nodes.length!==5){_.invalid=!0,_.ranges=0,VD.type="text";continue}_.ranges++,_.args=[];continue}if(VD.type==="range"){nD.pop();let Z0=nD[nD.length-1];Z0.value+=VD.value+ED,VD=Z0,_.ranges--;continue}TD({type:"dot",value:ED});continue}TD({type:"text",value:ED})}do if(_=x.pop(),_.type!=="root"){_.nodes.forEach((M0)=>{if(!M0.nodes){if(M0.type==="open")M0.isOpen=!0;if(M0.type==="close")M0.isClose=!0;if(!M0.nodes)M0.type="text";M0.invalid=!0}});let nD=x[x.length-1],Z0=nD.nodes.indexOf(_);nD.nodes.splice(Z0,1,..._.nodes)}while(x.length>0);return TD({type:"eos"}),y};ysD.exports=Ed0});var usD=r0((ee0,SsD)=>{var wsD=i5D(),Nd0=jsD(),Td0=CsD(),Rd0=PsD(),IK=(Q,K={})=>{let G=[];if(Array.isArray(Q))for(let C of Q){let y=IK.create(C,K);if(Array.isArray(y))G.push(...y);else G.push(y)}else G=[].concat(IK.create(Q,K));if(K&&K.expand===!0&&K.nodupes===!0)G=[...new Set(G)];return G};IK.parse=(Q,K={})=>Rd0(Q,K);IK.stringify=(Q,K={})=>{if(typeof Q==="string")return wsD(IK.parse(Q,K),K);return wsD(Q,K)};IK.compile=(Q,K={})=>{if(typeof Q==="string")Q=IK.parse(Q,K);return Nd0(Q,K)};IK.expand=(Q,K={})=>{if(typeof Q==="string")Q=IK.parse(Q,K);let G=Td0(Q,K);if(K.noempty===!0)G=G.filter(Boolean);if(K.nodupes===!0)G=[...new Set(G)];return G};IK.create=(Q,K={})=>{if(Q===""||Q.length<3)return[Q];return K.expand!==!0?IK.compile(Q,K):IK.expand(Q,K)};SsD.exports=IK});var Dc=r0((DD1,vsD)=>{var Id0=i8("path"),fsD={DOT_LITERAL:"\\.",PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:"\\/",ONE_CHAR:"(?=.)",QMARK:"[^/]",END_ANCHOR:"(?:\\/|$)",DOTS_SLASH:"\\.{1,2}(?:\\/|$)",NO_DOT:"(?!\\.)",NO_DOTS:"(?!(?:^|\\/)\\.{1,2}(?:\\/|$))",NO_DOT_SLASH:"(?!\\.{0,1}(?:\\/|$))",NO_DOTS_SLASH:"(?!\\.{1,2}(?:\\/|$))",QMARK_NO_DOT:"[^.\\/]",STAR:"[^/]*?",START_ANCHOR:"(?:^|\\/)"},yd0={...fsD,SLASH_LITERAL:"[\\\\/]",QMARK:"[^\\\\/]",STAR:"[^\\\\/]*?",DOTS_SLASH:"\\.{1,2}(?:[\\\\/]|$)",NO_DOT:"(?!\\.)",NO_DOTS:"(?!(?:^|[\\\\/])\\.{1,2}(?:[\\\\/]|$))",NO_DOT_SLASH:"(?!\\.{0,1}(?:[\\\\/]|$))",NO_DOTS_SLASH:"(?!\\.{1,2}(?:[\\\\/]|$))",QMARK_NO_DOT:"[^.\\\\/]",START_ANCHOR:"(?:^|[\\\\/])",END_ANCHOR:"(?:[\\\\/]|$)"},Pd0={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"};vsD.exports={MAX_LENGTH:65536,POSIX_REGEX_SOURCE:Pd0,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:Id0.sep,extglobChars(Q){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${Q.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(Q){return Q===!0?yd0:fsD}}});var Fc=r0((xd0)=>{var wd0=i8("path"),Sd0=process.platform==="win32",{REGEX_BACKSLASH:ud0,REGEX_REMOVE_BACKSLASH:fd0,REGEX_SPECIAL_CHARS:vd0,REGEX_SPECIAL_CHARS_GLOBAL:bd0}=Dc();xd0.isObject=(Q)=>Q!==null&&typeof Q==="object"&&!Array.isArray(Q);xd0.hasRegexChars=(Q)=>vd0.test(Q);xd0.isRegexChar=(Q)=>Q.length===1&&xd0.hasRegexChars(Q);xd0.escapeRegex=(Q)=>Q.replace(bd0,"\\$1");xd0.toPosixSlashes=(Q)=>Q.replace(ud0,"/");xd0.removeBackslashes=(Q)=>{return Q.replace(fd0,(K)=>{return K==="\\"?"":K})};xd0.supportsLookbehinds=()=>{const Q=process.version.slice(1).split(".").map(Number);if(Q.length===3&&Q[0]>=9||Q[0]===8&&Q[1]>=10)return!0;return!1};xd0.isWindows=(Q)=>{if(Q&&typeof Q.windows==="boolean")return Q.windows;return Sd0===!0||wd0.sep==="\\"};xd0.escapeLast=(Q,K,G)=>{const C=Q.lastIndexOf(K,G);if(C===-1)return Q;if(Q[C-1]==="\\")return xd0.escapeLast(Q,K,C-1);return`${Q.slice(0,C)}\\${Q.slice(C)}`};xd0.removePrefix=(Q,K={})=>{let G=Q;if(G.startsWith("./"))G=G.slice(2),K.prefix="./";return G};xd0.wrapOutput=(Q,K={},G={})=>{const C=G.contains?"":"^",y=G.contains?"":"$";let x=`${C}(?:${Q})${y}`;if(K.negated===!0)x=`(?:^(?!${x}).*\$)`;return x}});var lsD=r0(($D1,csD)=>{var ksD=Fc(),{CHAR_ASTERISK:DHD,CHAR_AT:pd0,CHAR_BACKWARD_SLASH:$c,CHAR_COMMA:nd0,CHAR_DOT:FHD,CHAR_EXCLAMATION_MARK:$HD,CHAR_FORWARD_SLASH:dsD,CHAR_LEFT_CURLY_BRACE:ZHD,CHAR_LEFT_PARENTHESES:JHD,CHAR_LEFT_SQUARE_BRACKET:rd0,CHAR_PLUS:od0,CHAR_QUESTION_MARK:hsD,CHAR_RIGHT_CURLY_BRACE:sd0,CHAR_RIGHT_PARENTHESES:_sD,CHAR_RIGHT_SQUARE_BRACKET:ad0}=Dc(),gsD=(Q)=>{return Q===dsD||Q===$c},msD=(Q)=>{if(Q.isPrefix!==!0)Q.depth=Q.isGlobstar?Infinity:1},td0=(Q,K)=>{const G=K||{},C=Q.length-1,y=G.parts===!0||G.scanToEnd===!0,x=[],_=[],VD=[];let OD=Q,HD=-1,a=0,bD=0,ED=!1,XD=!1,UD=!1,TD=!1,nD=!1,Z0=!1,M0=!1,a1=!1,D8=!1,C8=!1,V6=0,$8,U6,VF={value:"",depth:0,isGlob:!1};const $7=()=>HD>=C,a0=()=>OD.charCodeAt(HD+1),y9=()=>{return $8=U6,OD.charCodeAt(++HD)};while(HD<C){U6=y9();let _9;if(U6===$c){if(M0=VF.backslashes=!0,U6=y9(),U6===ZHD)Z0=!0;continue}if(Z0===!0||U6===ZHD){V6++;while($7()!==!0&&(U6=y9())){if(U6===$c){M0=VF.backslashes=!0,y9();continue}if(U6===ZHD){V6++;continue}if(Z0!==!0&&U6===FHD&&(U6=y9())===FHD){if(ED=VF.isBrace=!0,UD=VF.isGlob=!0,C8=!0,y===!0)continue;break}if(Z0!==!0&&U6===nd0){if(ED=VF.isBrace=!0,UD=VF.isGlob=!0,C8=!0,y===!0)continue;break}if(U6===sd0){if(V6--,V6===0){Z0=!1,ED=VF.isBrace=!0,C8=!0;break}}}if(y===!0)continue;break}if(U6===dsD){if(x.push(HD),_.push(VF),VF={value:"",depth:0,isGlob:!1},C8===!0)continue;if($8===FHD&&HD===a+1){a+=2;continue}bD=HD+1;continue}if(G.noext!==!0){if((U6===od0||U6===pd0||U6===DHD||U6===hsD||U6===$HD)===!0&&a0()===JHD){if(UD=VF.isGlob=!0,TD=VF.isExtglob=!0,C8=!0,U6===$HD&&HD===a)D8=!0;if(y===!0){while($7()!==!0&&(U6=y9())){if(U6===$c){M0=VF.backslashes=!0,U6=y9();continue}if(U6===_sD){UD=VF.isGlob=!0,C8=!0;break}}continue}break}}if(U6===DHD){if($8===DHD)nD=VF.isGlobstar=!0;if(UD=VF.isGlob=!0,C8=!0,y===!0)continue;break}if(U6===hsD){if(UD=VF.isGlob=!0,C8=!0,y===!0)continue;break}if(U6===rd0){while($7()!==!0&&(_9=y9())){if(_9===$c){M0=VF.backslashes=!0,y9();continue}if(_9===ad0){XD=VF.isBracket=!0,UD=VF.isGlob=!0,C8=!0;break}}if(y===!0)continue;break}if(G.nonegate!==!0&&U6===$HD&&HD===a){a1=VF.negated=!0,a++;continue}if(G.noparen!==!0&&U6===JHD){if(UD=VF.isGlob=!0,y===!0){while($7()!==!0&&(U6=y9())){if(U6===JHD){M0=VF.backslashes=!0,U6=y9();continue}if(U6===_sD){C8=!0;break}}continue}break}if(UD===!0){if(C8=!0,y===!0)continue;break}}if(G.noext===!0)TD=!1,UD=!1;let S7=OD,K1="",$5="";if(a>0)K1=OD.slice(0,a),OD=OD.slice(a),bD-=a;if(S7&&UD===!0&&bD>0)S7=OD.slice(0,bD),$5=OD.slice(bD);else if(UD===!0)S7="",$5=OD;else S7=OD;if(S7&&S7!==""&&S7!=="/"&&S7!==OD){if(gsD(S7.charCodeAt(S7.length-1)))S7=S7.slice(0,-1)}if(G.unescape===!0){if($5)$5=ksD.removeBackslashes($5);if(S7&&M0===!0)S7=ksD.removeBackslashes(S7)}const R8={prefix:K1,input:Q,start:a,base:S7,glob:$5,isBrace:ED,isBracket:XD,isGlob:UD,isExtglob:TD,isGlobstar:nD,negated:a1,negatedExtglob:D8};if(G.tokens===!0){if(R8.maxDepth=0,!gsD(U6))_.push(VF);R8.tokens=_}if(G.parts===!0||G.tokens===!0){let _9;for(let h5=0;h5<x.length;h5++){const M2=_9?_9+1:a,h2=x[h5],$2=Q.slice(M2,h2);if(G.tokens){if(h5===0&&a!==0)_[h5].isPrefix=!0,_[h5].value=K1;else _[h5].value=$2;msD(_[h5]),R8.maxDepth+=_[h5].depth}if(h5!==0||$2!=="")VD.push($2);_9=h2}if(_9&&_9+1<Q.length){const h5=Q.slice(_9+1);if(VD.push(h5),G.tokens)_[_.length-1].value=h5,msD(_[_.length-1]),R8.maxDepth+=_[_.length-1].depth}R8.slashes=x,R8.parts=VD}return R8};csD.exports=td0});var nsD=r0((ZD1,psD)=>{var n5D=Dc(),yK=Fc(),{MAX_LENGTH:r5D,POSIX_REGEX_SOURCE:ed0,REGEX_NON_SPECIAL_CHARS:Dc0,REGEX_SPECIAL_CHARS_BACKREF:Fc0,REPLACEMENTS:isD}=n5D,$c0=(Q,K)=>{if(typeof K.expandRange==="function")return K.expandRange(...Q,K);Q.sort();const G=`[${Q.join("-")}]`;try{new RegExp(G)}catch(C){return Q.map((y)=>yK.escapeRegex(y)).join("..")}return G},Qf=(Q,K)=>{return`Missing ${Q}: "${K}" - use "\\\\${K}" to match literal characters`},BHD=(Q,K)=>{if(typeof Q!=="string")throw new TypeError("Expected a string");Q=isD[Q]||Q;const G={...K},C=typeof G.maxLength==="number"?Math.min(r5D,G.maxLength):r5D;let y=Q.length;if(y>C)throw new SyntaxError(`Input length: ${y}, exceeds maximum allowed length: ${C}`);const x={type:"bos",value:"",output:G.prepend||""},_=[x],VD=G.capture?"":"?:",OD=yK.isWindows(K),HD=n5D.globChars(OD),a=n5D.extglobChars(HD),{DOT_LITERAL:bD,PLUS_LITERAL:ED,SLASH_LITERAL:XD,ONE_CHAR:UD,DOTS_SLASH:TD,NO_DOT:nD,NO_DOT_SLASH:Z0,NO_DOTS_SLASH:M0,QMARK:a1,QMARK_NO_DOT:D8,STAR:C8,START_ANCHOR:V6}=HD,$8=(_6)=>{return`(${VD}(?:(?!${V6}${_6.dot?TD:bD}).)*?)`},U6=G.dot?"":nD,VF=G.dot?a1:D8;let $7=G.bash===!0?$8(G):C8;if(G.capture)$7=`(${$7})`;if(typeof G.noext==="boolean")G.noextglob=G.noext;const a0={input:Q,index:-1,start:0,dot:G.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:_};Q=yK.removePrefix(Q,a0),y=Q.length;const y9=[],S7=[],K1=[];let $5=x,R8;const _9=()=>a0.index===y-1,h5=a0.peek=(_6=1)=>Q[a0.index+_6],M2=a0.advance=()=>Q[++a0.index]||"",h2=()=>Q.slice(a0.index+1),$2=(_6="",e9=0)=>{a0.consumed+=_6,a0.index+=e9},xX=(_6)=>{a0.output+=_6.output!=null?_6.output:_6.value,$2(_6.value)},m5=()=>{let _6=1;while(h5()==="!"&&(h5(2)!=="("||h5(3)==="?"))M2(),a0.start++,_6++;if(_6%2===0)return!1;return a0.negated=!0,a0.start++,!0},qZ=(_6)=>{a0[_6]++,K1.push(_6)},r4=(_6)=>{a0[_6]--,K1.pop()},Z7=(_6)=>{if($5.type==="globstar"){const e9=a0.braces>0&&(_6.type==="comma"||_6.type==="brace"),B0=_6.extglob===!0||y9.length&&(_6.type==="pipe"||_6.type==="paren");if(_6.type!=="slash"&&_6.type!=="paren"&&!e9&&!B0)a0.output=a0.output.slice(0,-$5.output.length),$5.type="star",$5.value="*",$5.output=$7,a0.output+=$5.output}if(y9.length&&_6.type!=="paren")y9[y9.length-1].inner+=_6.value;if(_6.value||_6.output)xX(_6);if($5&&$5.type==="text"&&_6.type==="text"){$5.value+=_6.value,$5.output=($5.output||"")+_6.value;return}_6.prev=$5,_.push(_6),$5=_6},y3=(_6,e9)=>{const B0={...a[e9],conditions:1,inner:""};B0.prev=$5,B0.parens=a0.parens,B0.output=a0.output;const Q9=(G.capture?"(":"")+B0.open;qZ("parens"),Z7({type:_6,value:e9,output:a0.output?"":UD}),Z7({type:"paren",extglob:!0,value:M2(),output:Q9}),y9.push(B0)},QJ=(_6)=>{let e9=_6.close+(G.capture?")":""),B0;if(_6.type==="negate"){let Q9=$7;if(_6.inner&&_6.inner.length>1&&_6.inner.includes("/"))Q9=$8(G);if(Q9!==$7||_9()||/^\)+$/.test(h2()))e9=_6.close=`)\$))${Q9}`;if(_6.inner.includes("*")&&(B0=h2())&&/^\.[^\\/.]+$/.test(B0)){const y5=BHD(B0,{...K,fastpaths:!1}).output;e9=_6.close=`)${y5})${Q9})`}if(_6.prev.type==="bos")a0.negatedExtglob=!0}Z7({type:"paren",extglob:!0,value:R8,output:e9}),r4("parens")};if(G.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(Q)){let _6=!1,e9=Q.replace(Fc0,(B0,Q9,y5,vZ,d3,oU)=>{if(vZ==="\\")return _6=!0,B0;if(vZ==="?"){if(Q9)return Q9+vZ+(d3?a1.repeat(d3.length):"");if(oU===0)return VF+(d3?a1.repeat(d3.length):"");return a1.repeat(y5.length)}if(vZ===".")return bD.repeat(y5.length);if(vZ==="*"){if(Q9)return Q9+vZ+(d3?$7:"");return $7}return Q9?B0:`\\${B0}`});if(_6===!0)if(G.unescape===!0)e9=e9.replace(/\\/g,"");else e9=e9.replace(/\\+/g,(B0)=>{return B0.length%2===0?"\\\\":B0?"\\":""});if(e9===Q&&G.contains===!0)return a0.output=Q,a0;return a0.output=yK.wrapOutput(e9,a0,K),a0}while(!_9()){if(R8=M2(),R8==="\0")continue;if(R8==="\\"){const B0=h5();if(B0==="/"&&G.bash!==!0)continue;if(B0==="."||B0===";")continue;if(!B0){R8+="\\",Z7({type:"text",value:R8});continue}const Q9=/^\\+/.exec(h2());let y5=0;if(Q9&&Q9[0].length>2){if(y5=Q9[0].length,a0.index+=y5,y5%2!==0)R8+="\\"}if(G.unescape===!0)R8=M2();else R8+=M2();if(a0.brackets===0){Z7({type:"text",value:R8});continue}}if(a0.brackets>0&&(R8!=="]"||$5.value==="["||$5.value==="[^")){if(G.posix!==!1&&R8===":"){const B0=$5.value.slice(1);if(B0.includes("[")){if($5.posix=!0,B0.includes(":")){const Q9=$5.value.lastIndexOf("["),y5=$5.value.slice(0,Q9),vZ=$5.value.slice(Q9+2),d3=ed0[vZ];if(d3){if($5.value=y5+d3,a0.backtrack=!0,M2(),!x.output&&_.indexOf($5)===1)x.output=UD;continue}}}}if(R8==="["&&h5()!==":"||R8==="-"&&h5()==="]")R8=`\\${R8}`;if(R8==="]"&&($5.value==="["||$5.value==="[^"))R8=`\\${R8}`;if(G.posix===!0&&R8==="!"&&$5.value==="[")R8="^";$5.value+=R8,xX({value:R8});continue}if(a0.quotes===1&&R8!=='"'){R8=yK.escapeRegex(R8),$5.value+=R8,xX({value:R8});continue}if(R8==='"'){if(a0.quotes=a0.quotes===1?0:1,G.keepQuotes===!0)Z7({type:"text",value:R8});continue}if(R8==="("){qZ("parens"),Z7({type:"paren",value:R8});continue}if(R8===")"){if(a0.parens===0&&G.strictBrackets===!0)throw new SyntaxError(Qf("opening","("));const B0=y9[y9.length-1];if(B0&&a0.parens===B0.parens+1){QJ(y9.pop());continue}Z7({type:"paren",value:R8,output:a0.parens?")":"\\)"}),r4("parens");continue}if(R8==="["){if(G.nobracket===!0||!h2().includes("]")){if(G.nobracket!==!0&&G.strictBrackets===!0)throw new SyntaxError(Qf("closing","]"));R8=`\\${R8}`}else qZ("brackets");Z7({type:"bracket",value:R8});continue}if(R8==="]"){if(G.nobracket===!0||$5&&$5.type==="bracket"&&$5.value.length===1){Z7({type:"text",value:R8,output:`\\${R8}`});continue}if(a0.brackets===0){if(G.strictBrackets===!0)throw new SyntaxError(Qf("opening","["));Z7({type:"text",value:R8,output:`\\${R8}`});continue}r4("brackets");const B0=$5.value.slice(1);if($5.posix!==!0&&B0[0]==="^"&&!B0.includes("/"))R8=`/${R8}`;if($5.value+=R8,xX({value:R8}),G.literalBrackets===!1||yK.hasRegexChars(B0))continue;const Q9=yK.escapeRegex($5.value);if(a0.output=a0.output.slice(0,-$5.value.length),G.literalBrackets===!0){a0.output+=Q9,$5.value=Q9;continue}$5.value=`(${VD}${Q9}|${$5.value})`,a0.output+=$5.value;continue}if(R8==="{"&&G.nobrace!==!0){qZ("braces");const B0={type:"brace",value:R8,output:"(",outputIndex:a0.output.length,tokensIndex:a0.tokens.length};S7.push(B0),Z7(B0);continue}if(R8==="}"){const B0=S7[S7.length-1];if(G.nobrace===!0||!B0){Z7({type:"text",value:R8,output:R8});continue}let Q9=")";if(B0.dots===!0){const y5=_.slice(),vZ=[];for(let d3=y5.length-1;d3>=0;d3--){if(_.pop(),y5[d3].type==="brace")break;if(y5[d3].type!=="dots")vZ.unshift(y5[d3].value)}Q9=$c0(vZ,G),a0.backtrack=!0}if(B0.comma!==!0&&B0.dots!==!0){const y5=a0.output.slice(0,B0.outputIndex),vZ=a0.tokens.slice(B0.tokensIndex);B0.value=B0.output="\\{",R8=Q9="\\}",a0.output=y5;for(let d3 of vZ)a0.output+=d3.output||d3.value}Z7({type:"brace",value:R8,output:Q9}),r4("braces"),S7.pop();continue}if(R8==="|"){if(y9.length>0)y9[y9.length-1].conditions++;Z7({type:"text",value:R8});continue}if(R8===","){let B0=R8;const Q9=S7[S7.length-1];if(Q9&&K1[K1.length-1]==="braces")Q9.comma=!0,B0="|";Z7({type:"comma",value:R8,output:B0});continue}if(R8==="/"){if($5.type==="dot"&&a0.index===a0.start+1){a0.start=a0.index+1,a0.consumed="",a0.output="",_.pop(),$5=x;continue}Z7({type:"slash",value:R8,output:XD});continue}if(R8==="."){if(a0.braces>0&&$5.type==="dot"){if($5.value===".")$5.output=bD;const B0=S7[S7.length-1];$5.type="dots",$5.output+=R8,$5.value+=R8,B0.dots=!0;continue}if(a0.braces+a0.parens===0&&$5.type!=="bos"&&$5.type!=="slash"){Z7({type:"text",value:R8,output:bD});continue}Z7({type:"dot",value:R8,output:bD});continue}if(R8==="?"){if(!($5&&$5.value==="(")&&G.noextglob!==!0&&h5()==="("&&h5(2)!=="?"){y3("qmark",R8);continue}if($5&&$5.type==="paren"){const Q9=h5();let y5=R8;if(Q9==="<"&&!yK.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");if($5.value==="("&&!/[!=<:]/.test(Q9)||Q9==="<"&&!/<([!=]|\w+>)/.test(h2()))y5=`\\${R8}`;Z7({type:"text",value:R8,output:y5});continue}if(G.dot!==!0&&($5.type==="slash"||$5.type==="bos")){Z7({type:"qmark",value:R8,output:D8});continue}Z7({type:"qmark",value:R8,output:a1});continue}if(R8==="!"){if(G.noextglob!==!0&&h5()==="("){if(h5(2)!=="?"||!/[!=<:]/.test(h5(3))){y3("negate",R8);continue}}if(G.nonegate!==!0&&a0.index===0){m5();continue}}if(R8==="+"){if(G.noextglob!==!0&&h5()==="("&&h5(2)!=="?"){y3("plus",R8);continue}if($5&&$5.value==="("||G.regex===!1){Z7({type:"plus",value:R8,output:ED});continue}if($5&&($5.type==="bracket"||$5.type==="paren"||$5.type==="brace")||a0.parens>0){Z7({type:"plus",value:R8});continue}Z7({type:"plus",value:ED});continue}if(R8==="@"){if(G.noextglob!==!0&&h5()==="("&&h5(2)!=="?"){Z7({type:"at",extglob:!0,value:R8,output:""});continue}Z7({type:"text",value:R8});continue}if(R8!=="*"){if(R8==="$"||R8==="^")R8=`\\${R8}`;const B0=Dc0.exec(h2());if(B0)R8+=B0[0],a0.index+=B0[0].length;Z7({type:"text",value:R8});continue}if($5&&($5.type==="globstar"||$5.star===!0)){$5.type="star",$5.star=!0,$5.value+=R8,$5.output=$7,a0.backtrack=!0,a0.globstar=!0,$2(R8);continue}let _6=h2();if(G.noextglob!==!0&&/^\([^?]/.test(_6)){y3("star",R8);continue}if($5.type==="star"){if(G.noglobstar===!0){$2(R8);continue}const B0=$5.prev,Q9=B0.prev,y5=B0.type==="slash"||B0.type==="bos",vZ=Q9&&(Q9.type==="star"||Q9.type==="globstar");if(G.bash===!0&&(!y5||_6[0]&&_6[0]!=="/")){Z7({type:"star",value:R8,output:""});continue}const d3=a0.braces>0&&(B0.type==="comma"||B0.type==="brace"),oU=y9.length&&(B0.type==="pipe"||B0.type==="paren");if(!y5&&B0.type!=="paren"&&!d3&&!oU){Z7({type:"star",value:R8,output:""});continue}while(_6.slice(0,3)==="/**"){const QW=Q[a0.index+4];if(QW&&QW!=="/")break;_6=_6.slice(3),$2("/**",3)}if(B0.type==="bos"&&_9()){$5.type="globstar",$5.value+=R8,$5.output=$8(G),a0.output=$5.output,a0.globstar=!0,$2(R8);continue}if(B0.type==="slash"&&B0.prev.type!=="bos"&&!vZ&&_9()){a0.output=a0.output.slice(0,-(B0.output+$5.output).length),B0.output=`(?:${B0.output}`,$5.type="globstar",$5.output=$8(G)+(G.strictSlashes?")":"|$)"),$5.value+=R8,a0.globstar=!0,a0.output+=B0.output+$5.output,$2(R8);continue}if(B0.type==="slash"&&B0.prev.type!=="bos"&&_6[0]==="/"){const QW=_6[1]!==void 0?"|$":"";a0.output=a0.output.slice(0,-(B0.output+$5.output).length),B0.output=`(?:${B0.output}`,$5.type="globstar",$5.output=`${$8(G)}${XD}|${XD}${QW})`,$5.value+=R8,a0.output+=B0.output+$5.output,a0.globstar=!0,$2(R8+M2()),Z7({type:"slash",value:"/",output:""});continue}if(B0.type==="bos"&&_6[0]==="/"){$5.type="globstar",$5.value+=R8,$5.output=`(?:^|${XD}|${$8(G)}${XD})`,a0.output=$5.output,a0.globstar=!0,$2(R8+M2()),Z7({type:"slash",value:"/",output:""});continue}a0.output=a0.output.slice(0,-$5.output.length),$5.type="globstar",$5.output=$8(G),$5.value+=R8,a0.output+=$5.output,a0.globstar=!0,$2(R8);continue}const e9={type:"star",value:R8,output:$7};if(G.bash===!0){if(e9.output=".*?",$5.type==="bos"||$5.type==="slash")e9.output=U6+e9.output;Z7(e9);continue}if($5&&($5.type==="bracket"||$5.type==="paren")&&G.regex===!0){e9.output=R8,Z7(e9);continue}if(a0.index===a0.start||$5.type==="slash"||$5.type==="dot"){if($5.type==="dot")a0.output+=Z0,$5.output+=Z0;else if(G.dot===!0)a0.output+=M0,$5.output+=M0;else a0.output+=U6,$5.output+=U6;if(h5()!=="*")a0.output+=UD,$5.output+=UD}Z7(e9)}while(a0.brackets>0){if(G.strictBrackets===!0)throw new SyntaxError(Qf("closing","]"));a0.output=yK.escapeLast(a0.output,"["),r4("brackets")}while(a0.parens>0){if(G.strictBrackets===!0)throw new SyntaxError(Qf("closing",")"));a0.output=yK.escapeLast(a0.output,"("),r4("parens")}while(a0.braces>0){if(G.strictBrackets===!0)throw new SyntaxError(Qf("closing","}"));a0.output=yK.escapeLast(a0.output,"{"),r4("braces")}if(G.strictSlashes!==!0&&($5.type==="star"||$5.type==="bracket"))Z7({type:"maybe_slash",value:"",output:`${XD}?`});if(a0.backtrack===!0){a0.output="";for(let _6 of a0.tokens)if(a0.output+=_6.output!=null?_6.output:_6.value,_6.suffix)a0.output+=_6.suffix}return a0};BHD.fastpaths=(Q,K)=>{const G={...K},C=typeof G.maxLength==="number"?Math.min(r5D,G.maxLength):r5D,y=Q.length;if(y>C)throw new SyntaxError(`Input length: ${y}, exceeds maximum allowed length: ${C}`);Q=isD[Q]||Q;const x=yK.isWindows(K),{DOT_LITERAL:_,SLASH_LITERAL:VD,ONE_CHAR:OD,DOTS_SLASH:HD,NO_DOT:a,NO_DOTS:bD,NO_DOTS_SLASH:ED,STAR:XD,START_ANCHOR:UD}=n5D.globChars(x),TD=G.dot?bD:a,nD=G.dot?ED:a,Z0=G.capture?"":"?:",M0={negated:!1,prefix:""};let a1=G.bash===!0?".*?":XD;if(G.capture)a1=`(${a1})`;const D8=(U6)=>{if(U6.noglobstar===!0)return a1;return`(${Z0}(?:(?!${UD}${U6.dot?HD:_}).)*?)`},C8=(U6)=>{switch(U6){case"*":return`${TD}${OD}${a1}`;case".*":return`${_}${OD}${a1}`;case"*.*":return`${TD}${a1}${_}${OD}${a1}`;case"*/*":return`${TD}${a1}${VD}${OD}${nD}${a1}`;case"**":return TD+D8(G);case"**/*":return`(?:${TD}${D8(G)}${VD})?${nD}${OD}${a1}`;case"**/*.*":return`(?:${TD}${D8(G)}${VD})?${nD}${a1}${_}${OD}${a1}`;case"**/.*":return`(?:${TD}${D8(G)}${VD})?${_}${OD}${a1}`;default:{const VF=/^(.*?)\.(\w+)$/.exec(U6);if(!VF)return;const $7=C8(VF[1]);if(!$7)return;return $7+_+VF[2]}}},V6=yK.removePrefix(Q,M0);let $8=C8(V6);if($8&&G.strictSlashes!==!0)$8+=`${VD}?`;return $8};psD.exports=BHD});var osD=r0((JD1,rsD)=>{var Zc0=i8("path"),Jc0=lsD(),XHD=nsD(),YHD=Fc(),Bc0=Dc(),Xc0=(Q)=>Q&&typeof Q==="object"&&!Array.isArray(Q),xJ=(Q,K,G=!1)=>{if(Array.isArray(Q)){const a=Q.map((ED)=>xJ(ED,K,G));return(ED)=>{for(let XD of a){const UD=XD(ED);if(UD)return UD}return!1}}const C=Xc0(Q)&&Q.tokens&&Q.input;if(Q===""||typeof Q!=="string"&&!C)throw new TypeError("Expected pattern to be a non-empty string");const y=K||{},x=YHD.isWindows(K),_=C?xJ.compileRe(Q,K):xJ.makeRe(Q,K,!1,!0),VD=_.state;delete _.state;let OD=()=>!1;if(y.ignore){const a={...K,ignore:null,onMatch:null,onResult:null};OD=xJ(y.ignore,a,G)}const HD=(a,bD=!1)=>{const{isMatch:ED,match:XD,output:UD}=xJ.test(a,_,K,{glob:Q,posix:x}),TD={glob:Q,state:VD,regex:_,posix:x,input:a,output:UD,match:XD,isMatch:ED};if(typeof y.onResult==="function")y.onResult(TD);if(ED===!1)return TD.isMatch=!1,bD?TD:!1;if(OD(a)){if(typeof y.onIgnore==="function")y.onIgnore(TD);return TD.isMatch=!1,bD?TD:!1}if(typeof y.onMatch==="function")y.onMatch(TD);return bD?TD:!0};if(G)HD.state=VD;return HD};xJ.test=(Q,K,G,{glob:C,posix:y}={})=>{if(typeof Q!=="string")throw new TypeError("Expected input to be a string");if(Q==="")return{isMatch:!1,output:""};const x=G||{},_=x.format||(y?YHD.toPosixSlashes:null);let VD=Q===C,OD=VD&&_?_(Q):Q;if(VD===!1)OD=_?_(Q):Q,VD=OD===C;if(VD===!1||x.capture===!0)if(x.matchBase===!0||x.basename===!0)VD=xJ.matchBase(Q,K,G,y);else VD=K.exec(OD);return{isMatch:Boolean(VD),match:VD,output:OD}};xJ.matchBase=(Q,K,G,C=YHD.isWindows(G))=>{return(K instanceof RegExp?K:xJ.makeRe(K,G)).test(Zc0.basename(Q))};xJ.isMatch=(Q,K,G)=>xJ(K,G)(Q);xJ.parse=(Q,K)=>{if(Array.isArray(Q))return Q.map((G)=>xJ.parse(G,K));return XHD(Q,{...K,fastpaths:!1})};xJ.scan=(Q,K)=>Jc0(Q,K);xJ.compileRe=(Q,K,G=!1,C=!1)=>{if(G===!0)return Q.output;const y=K||{},x=y.contains?"":"^",_=y.contains?"":"$";let VD=`${x}(?:${Q.output})${_}`;if(Q&&Q.negated===!0)VD=`^(?!${VD}).*\$`;const OD=xJ.toRegex(VD,K);if(C===!0)OD.state=Q;return OD};xJ.makeRe=(Q,K={},G=!1,C=!1)=>{if(!Q||typeof Q!=="string")throw new TypeError("Expected a non-empty string");let y={negated:!1,fastpaths:!0};if(K.fastpaths!==!1&&(Q[0]==="."||Q[0]==="*"))y.output=XHD.fastpaths(Q,K);if(!y.output)y=XHD(Q,K);return xJ.compileRe(y,K,G,C)};xJ.toRegex=(Q,K)=>{try{const G=K||{};return new RegExp(Q,G.flags||(G.nocase?"i":""))}catch(G){if(K&&K.debug===!0)throw G;return/$^/}};xJ.constants=Bc0;rsD.exports=xJ});var DaD=r0((BD1,esD)=>{var asD=i8("util"),tsD=usD(),zM=osD(),QHD=Fc(),ssD=(Q)=>Q===""||Q==="./",KZ=(Q,K,G)=>{K=[].concat(K),Q=[].concat(Q);let C=new Set,y=new Set,x=new Set,_=0,VD=(a)=>{if(x.add(a.output),G&&G.onResult)G.onResult(a)};for(let a=0;a<K.length;a++){let bD=zM(String(K[a]),{...G,onResult:VD},!0),ED=bD.state.negated||bD.state.negatedExtglob;if(ED)_++;for(let XD of Q){let UD=bD(XD,!0);if(!(ED?!UD.isMatch:UD.isMatch))continue;if(ED)C.add(UD.output);else C.delete(UD.output),y.add(UD.output)}}let HD=(_===K.length?[...x]:[...y]).filter((a)=>!C.has(a));if(G&&HD.length===0){if(G.failglob===!0)throw new Error(`No matches found for "${K.join(", ")}"`);if(G.nonull===!0||G.nullglob===!0)return G.unescape?K.map((a)=>a.replace(/\\/g,"")):K}return HD};KZ.match=KZ;KZ.matcher=(Q,K)=>zM(Q,K);KZ.isMatch=(Q,K,G)=>zM(K,G)(Q);KZ.any=KZ.isMatch;KZ.not=(Q,K,G={})=>{K=[].concat(K).map(String);let C=new Set,y=[],_=new Set(KZ(Q,K,{...G,onResult:(VD)=>{if(G.onResult)G.onResult(VD);y.push(VD.output)}}));for(let VD of y)if(!_.has(VD))C.add(VD);return[...C]};KZ.contains=(Q,K,G)=>{if(typeof Q!=="string")throw new TypeError(`Expected a string: "${asD.inspect(Q)}"`);if(Array.isArray(K))return K.some((C)=>KZ.contains(Q,C,G));if(typeof K==="string"){if(ssD(Q)||ssD(K))return!1;if(Q.includes(K)||Q.startsWith("./")&&Q.slice(2).includes(K))return!0}return KZ.isMatch(Q,K,{...G,contains:!0})};KZ.matchKeys=(Q,K,G)=>{if(!QHD.isObject(Q))throw new TypeError("Expected the first argument to be an object");let C=KZ(Object.keys(Q),K,G),y={};for(let x of C)y[x]=Q[x];return y};KZ.some=(Q,K,G)=>{let C=[].concat(Q);for(let y of[].concat(K)){let x=zM(String(y),G);if(C.some((_)=>x(_)))return!0}return!1};KZ.every=(Q,K,G)=>{let C=[].concat(Q);for(let y of[].concat(K)){let x=zM(String(y),G);if(!C.every((_)=>x(_)))return!1}return!0};KZ.all=(Q,K,G)=>{if(typeof Q!=="string")throw new TypeError(`Expected a string: "${asD.inspect(Q)}"`);return[].concat(K).every((C)=>zM(C,G)(Q))};KZ.capture=(Q,K,G)=>{let C=QHD.isWindows(G),x=zM.makeRe(String(Q),{...G,capture:!0}).exec(C?QHD.toPosixSlashes(K):K);if(x)return x.slice(1).map((_)=>_===void 0?"":_)};KZ.makeRe=(...Q)=>zM.makeRe(...Q);KZ.scan=(...Q)=>zM.scan(...Q);KZ.parse=(Q,K)=>{let G=[];for(let C of[].concat(Q||[]))for(let y of tsD(String(C),K))G.push(zM.parse(y,K));return G};KZ.braces=(Q,K)=>{if(typeof Q!=="string")throw new TypeError("Expected a string");if(K&&K.nobrace===!0||!/\{.*\}/.test(Q))return[Q];return tsD(Q,K)};KZ.braceExpand=(Q,K)=>{if(typeof Q!=="string")throw new TypeError("Expected a string");return KZ.braces(Q,{...K,expand:!0})};esD.exports=KZ});var zaD=r0((QaD)=>{var $aD=function(Q,K={}){return!ZaD(Q,K)},ZaD=function(Q,K={}){if(Q==="")return!1;if(K.caseSensitiveMatch===!1||Q.includes(Vc0))return!0;if(zc0.test(Q)||Kc0.test(Q)||qc0.test(Q))return!0;if(K.extglob!==!1&&Wc0.test(Q))return!0;if(K.braceExpansion!==!1&&Hc0(Q))return!0;return!1},Hc0=function(Q){const K=Q.indexOf("{");if(K===-1)return!1;const G=Q.indexOf("}",K+1);if(G===-1)return!1;const C=Q.slice(K,G);return Uc0.test(C)},Mc0=function(Q){return o5D(Q)?Q.slice(1):Q},Oc0=function(Q){return"!"+Q},o5D=function(Q){return Q.startsWith("!")&&Q[1]!=="("},JaD=function(Q){return!o5D(Q)},jc0=function(Q){return Q.filter(o5D)},Lc0=function(Q){return Q.filter(JaD)},Ac0=function(Q){return Q.filter((K)=>!zHD(K))},Cc0=function(Q){return Q.filter(zHD)},zHD=function(Q){return Q.startsWith("..")||Q.startsWith("./..")},Ec0=function(Q){return Qc0(Q,{flipBackslashes:!1})},Nc0=function(Q){return Q.includes(FaD)},BaD=function(Q){return Q.endsWith("/"+FaD)},Tc0=function(Q){const K=Yc0.basename(Q);return BaD(Q)||$aD(K)},Rc0=function(Q){return Q.reduce((K,G)=>{return K.concat(XaD(G))},[])},XaD=function(Q){const K=VHD.braces(Q,{expand:!0,nodupes:!0,keepEscaping:!0});return K.sort((G,C)=>G.length-C.length),K.filter((G)=>G!=="")},Ic0=function(Q,K){let{parts:G}=VHD.scan(Q,Object.assign(Object.assign({},K),{parts:!0}));if(G.length===0)G=[Q];if(G[0].startsWith("/"))G[0]=G[0].slice(1),G.unshift("");return G},YaD=function(Q,K){return VHD.makeRe(Q,K)},yc0=function(Q,K){return Q.map((G)=>YaD(G,K))},Pc0=function(Q,K){return K.some((G)=>G.test(Q))},wc0=function(Q){return Q.replace(Gc0,"/")};Object.defineProperty(QaD,"__esModule",{value:!0});QaD.removeDuplicateSlashes=QaD.matchAny=QaD.convertPatternsToRe=QaD.makeRe=QaD.getPatternParts=QaD.expandBraceExpansion=QaD.expandPatternsWithBraceExpansion=QaD.isAffectDepthOfReadingPattern=QaD.endsWithSlashGlobStar=QaD.hasGlobStar=QaD.getBaseDirectory=QaD.isPatternRelatedToParentDirectory=QaD.getPatternsOutsideCurrentDirectory=QaD.getPatternsInsideCurrentDirectory=QaD.getPositivePatterns=QaD.getNegativePatterns=QaD.isPositivePattern=QaD.isNegativePattern=QaD.convertToNegativePattern=QaD.convertToPositivePattern=QaD.isDynamicPattern=QaD.isStaticPattern=void 0;var Yc0=i8("path"),Qc0=ooD(),VHD=DaD(),FaD="**",Vc0="\\",zc0=/[*?]|^!/,Kc0=/\[[^[]*]/,qc0=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,Wc0=/[!*+?@]\([^(]*\)/,Uc0=/,|\.\./,Gc0=/(?!^)\/{2,}/g;QaD.isStaticPattern=$aD;QaD.isDynamicPattern=ZaD;QaD.convertToPositivePattern=Mc0;QaD.convertToNegativePattern=Oc0;QaD.isNegativePattern=o5D;QaD.isPositivePattern=JaD;QaD.getNegativePatterns=jc0;QaD.getPositivePatterns=Lc0;QaD.getPatternsInsideCurrentDirectory=Ac0;QaD.getPatternsOutsideCurrentDirectory=Cc0;QaD.isPatternRelatedToParentDirectory=zHD;QaD.getBaseDirectory=Ec0;QaD.hasGlobStar=Nc0;QaD.endsWithSlashGlobStar=BaD;QaD.isAffectDepthOfReadingPattern=Tc0;QaD.expandPatternsWithBraceExpansion=Rc0;QaD.expandBraceExpansion=XaD;QaD.getPatternParts=Ic0;QaD.makeRe=YaD;QaD.convertPatternsToRe=yc0;QaD.matchAny=Pc0;QaD.removeDuplicateSlashes=wc0});var UaD=r0((qaD)=>{var ec0=function(Q){const K=tc0(Q);return Q.forEach((G)=>{G.once("error",(C)=>K.emit("error",C))}),K.once("close",()=>KaD(Q)),K.once("end",()=>KaD(Q)),K},KaD=function(Q){Q.forEach((K)=>K.emit("close"))};Object.defineProperty(qaD,"__esModule",{value:!0});qaD.merge=void 0;var tc0=lGD();qaD.merge=ec0});var MaD=r0((GaD)=>{var Dl0=function(Q){return typeof Q==="string"},Fl0=function(Q){return Q===""};Object.defineProperty(GaD,"__esModule",{value:!0});GaD.isEmpty=GaD.isString=void 0;GaD.isString=Dl0;GaD.isEmpty=Fl0});var yj=r0((OaD)=>{Object.defineProperty(OaD,"__esModule",{value:!0});OaD.string=OaD.stream=OaD.pattern=OaD.path=OaD.fs=OaD.errno=OaD.array=void 0;var Zl0=PoD();OaD.array=Zl0;var Jl0=uoD();OaD.errno=Jl0;var Bl0=xoD();OaD.fs=Bl0;var Xl0=doD();OaD.path=Xl0;var Yl0=zaD();OaD.pattern=Yl0;var Ql0=UaD();OaD.stream=Ql0;var Vl0=MaD();OaD.string=Vl0});var TaD=r0((EaD)=>{var Hl0=function(Q,K){const G=LaD(Q,K),C=LaD(K.ignore,K),y=AaD(G),x=CaD(G,C),_=y.filter((a)=>pU.pattern.isStaticPattern(a,K)),VD=y.filter((a)=>pU.pattern.isDynamicPattern(a,K)),OD=KHD(_,x,!1),HD=KHD(VD,x,!0);return OD.concat(HD)},LaD=function(Q,K){let G=Q;if(K.braceExpansion)G=pU.pattern.expandPatternsWithBraceExpansion(G);if(K.baseNameMatch)G=G.map((C)=>C.includes("/")?C:`**/${C}`);return G.map((C)=>pU.pattern.removeDuplicateSlashes(C))},KHD=function(Q,K,G){const C=[],y=pU.pattern.getPatternsOutsideCurrentDirectory(Q),x=pU.pattern.getPatternsInsideCurrentDirectory(Q),_=qHD(y),VD=qHD(x);if(C.push(...WHD(_,K,G)),"."in VD)C.push(UHD(".",x,K,G));else C.push(...WHD(VD,K,G));return C},AaD=function(Q){return pU.pattern.getPositivePatterns(Q)},CaD=function(Q,K){return pU.pattern.getNegativePatterns(Q).concat(K).map(pU.pattern.convertToPositivePattern)},qHD=function(Q){const K={};return Q.reduce((G,C)=>{const y=pU.pattern.getBaseDirectory(C);if(y in G)G[y].push(C);else G[y]=[C];return G},K)},WHD=function(Q,K,G){return Object.keys(Q).map((C)=>{return UHD(C,Q[C],K,G)})},UHD=function(Q,K,G,C){return{dynamic:C,positive:K,negative:G,base:Q,patterns:[].concat(K,G.map(pU.pattern.convertToNegativePattern))}};Object.defineProperty(EaD,"__esModule",{value:!0});EaD.convertPatternGroupToTask=EaD.convertPatternGroupsToTasks=EaD.groupPatternsByBaseDirectory=EaD.getNegativePatternsAsPositive=EaD.getPositivePatterns=EaD.convertPatternsToTasks=EaD.generate=void 0;var pU=yj();EaD.generate=Hl0;EaD.convertPatternsToTasks=KHD;EaD.getPositivePatterns=AaD;EaD.getNegativePatternsAsPositive=CaD;EaD.groupPatternsByBaseDirectory=qHD;EaD.convertPatternGroupsToTasks=WHD;EaD.convertPatternGroupToTask=UHD});var PaD=r0((IaD)=>{var El0=function(Q,K,G){K.fs.lstat(Q,(C,y)=>{if(C!==null){RaD(G,C);return}if(!y.isSymbolicLink()||!K.followSymbolicLink){GHD(G,y);return}K.fs.stat(Q,(x,_)=>{if(x!==null){if(K.throwErrorOnBrokenSymbolicLink){RaD(G,x);return}GHD(G,y);return}if(K.markSymbolicLink)_.isSymbolicLink=()=>!0;GHD(G,_)})})},RaD=function(Q,K){Q(K)},GHD=function(Q,K){Q(null,K)};Object.defineProperty(IaD,"__esModule",{value:!0});IaD.read=void 0;IaD.read=El0});var uaD=r0((waD)=>{var Nl0=function(Q,K){const G=K.fs.lstatSync(Q);if(!G.isSymbolicLink()||!K.followSymbolicLink)return G;try{const C=K.fs.statSync(Q);if(K.markSymbolicLink)C.isSymbolicLink=()=>!0;return C}catch(C){if(!K.throwErrorOnBrokenSymbolicLink)return G;throw C}};Object.defineProperty(waD,"__esModule",{value:!0});waD.read=void 0;waD.read=Nl0});var baD=r0((faD)=>{var Tl0=function(Q){if(Q===void 0)return faD.FILE_SYSTEM_ADAPTER;return Object.assign(Object.assign({},faD.FILE_SYSTEM_ADAPTER),Q)};Object.defineProperty(faD,"__esModule",{value:!0});faD.createFileSystemAdapter=faD.FILE_SYSTEM_ADAPTER=void 0;var s5D=i8("fs");faD.FILE_SYSTEM_ADAPTER={lstat:s5D.lstat,stat:s5D.stat,lstatSync:s5D.lstatSync,statSync:s5D.statSync};faD.createFileSystemAdapter=Tl0});var haD=r0((kaD)=>{Object.defineProperty(kaD,"__esModule",{value:!0});var Rl0=baD();class xaD{constructor(Q={}){this._options=Q,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=Rl0.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(Q,K){return Q!==null&&Q!==void 0?Q:K}}kaD.default=xaD});var _R=r0((gaD)=>{var Pl0=function(Q,K,G){if(typeof K==="function"){_aD.read(Q,OHD(),K);return}_aD.read(Q,OHD(K),G)},wl0=function(Q,K){const G=OHD(K);return yl0.read(Q,G)},OHD=function(Q={}){if(Q instanceof MHD.default)return Q;return new MHD.default(Q)};Object.defineProperty(gaD,"__esModule",{value:!0});gaD.statSync=gaD.stat=gaD.Settings=void 0;var _aD=PaD(),yl0=uaD(),MHD=haD();gaD.Settings=MHD.default;gaD.stat=Pl0;gaD.statSync=wl0});var laD=r0((HD1,caD)=>{/*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var daD;caD.exports=typeof queueMicrotask==="function"?queueMicrotask.bind(typeof window!=="undefined"?window:global):(Q)=>(daD||(daD=Promise.resolve())).then(Q).catch((K)=>setTimeout(()=>{throw K},0))});var paD=r0((MD1,iaD)=>{var vl0=function(Q,K){let G,C,y,x=!0;if(Array.isArray(Q))G=[],C=Q.length;else y=Object.keys(Q),G={},C=y.length;function _(OD){function HD(){if(K)K(OD,G);K=null}if(x)fl0(HD);else HD()}function VD(OD,HD,a){if(G[OD]=a,--C===0||HD)_(HD)}if(!C)_(null);else if(y)y.forEach(function(OD){Q[OD](function(HD,a){VD(OD,HD,a)})});else Q.forEach(function(OD,HD){OD(function(a,bD){VD(HD,a,bD)})});x=!1};/*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */iaD.exports=vl0;var fl0=laD()});var jHD=r0((oaD)=>{Object.defineProperty(oaD,"__esModule",{value:!0});oaD.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;var a5D=process.versions.node.split(".");if(a5D[0]===void 0||a5D[1]===void 0)throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);var naD=Number.parseInt(a5D[0],10),bl0=Number.parseInt(a5D[1],10),raD=10,xl0=10,kl0=naD>raD,hl0=naD===raD&&bl0>=xl0;oaD.IS_SUPPORT_READDIR_WITH_FILE_TYPES=kl0||hl0});var DtD=r0((taD)=>{var _l0=function(Q,K){return new aaD(Q,K)};Object.defineProperty(taD,"__esModule",{value:!0});taD.createDirentFromStats=void 0;class aaD{constructor(Q,K){this.name=Q,this.isBlockDevice=K.isBlockDevice.bind(K),this.isCharacterDevice=K.isCharacterDevice.bind(K),this.isDirectory=K.isDirectory.bind(K),this.isFIFO=K.isFIFO.bind(K),this.isFile=K.isFile.bind(K),this.isSocket=K.isSocket.bind(K),this.isSymbolicLink=K.isSymbolicLink.bind(K)}}taD.createDirentFromStats=_l0});var LHD=r0((FtD)=>{Object.defineProperty(FtD,"__esModule",{value:!0});FtD.fs=void 0;var gl0=DtD();FtD.fs=gl0});var AHD=r0((ZtD)=>{var ml0=function(Q,K,G){if(Q.endsWith(G))return Q+K;return Q+G+K};Object.defineProperty(ZtD,"__esModule",{value:!0});ZtD.joinPathSegments=void 0;ZtD.joinPathSegments=ml0});var qtD=r0((ztD)=>{var ll0=function(Q,K,G){if(!K.stats&&cl0.IS_SUPPORT_READDIR_WITH_FILE_TYPES){QtD(Q,K,G);return}VtD(Q,K,G)},QtD=function(Q,K,G){K.fs.readdir(Q,{withFileTypes:!0},(C,y)=>{if(C!==null){t5D(G,C);return}const x=y.map((VD)=>({dirent:VD,name:VD.name,path:YtD.joinPathSegments(Q,VD.name,K.pathSegmentSeparator)}));if(!K.followSymbolicLinks){CHD(G,x);return}const _=x.map((VD)=>il0(VD,K));BtD(_,(VD,OD)=>{if(VD!==null){t5D(G,VD);return}CHD(G,OD)})})},il0=function(Q,K){return(G)=>{if(!Q.dirent.isSymbolicLink()){G(null,Q);return}K.fs.stat(Q.path,(C,y)=>{if(C!==null){if(K.throwErrorOnBrokenSymbolicLink){G(C);return}G(null,Q);return}Q.dirent=XtD.fs.createDirentFromStats(Q.name,y),G(null,Q)})}},VtD=function(Q,K,G){K.fs.readdir(Q,(C,y)=>{if(C!==null){t5D(G,C);return}const x=y.map((_)=>{const VD=YtD.joinPathSegments(Q,_,K.pathSegmentSeparator);return(OD)=>{dl0.stat(VD,K.fsStatSettings,(HD,a)=>{if(HD!==null){OD(HD);return}const bD={name:_,path:VD,dirent:XtD.fs.createDirentFromStats(_,a)};if(K.stats)bD.stats=a;OD(null,bD)})}});BtD(x,(_,VD)=>{if(_!==null){t5D(G,_);return}CHD(G,VD)})})},t5D=function(Q,K){Q(K)},CHD=function(Q,K){Q(null,K)};Object.defineProperty(ztD,"__esModule",{value:!0});ztD.readdir=ztD.readdirWithFileTypes=ztD.read=void 0;var dl0=_R(),BtD=paD(),cl0=jHD(),XtD=LHD(),YtD=AHD();ztD.read=ll0;ztD.readdirWithFileTypes=QtD;ztD.readdir=VtD});var jtD=r0((MtD)=>{var sl0=function(Q,K){if(!K.stats&&ol0.IS_SUPPORT_READDIR_WITH_FILE_TYPES)return GtD(Q,K);return HtD(Q,K)},GtD=function(Q,K){return K.fs.readdirSync(Q,{withFileTypes:!0}).map((C)=>{const y={dirent:C,name:C.name,path:UtD.joinPathSegments(Q,C.name,K.pathSegmentSeparator)};if(y.dirent.isSymbolicLink()&&K.followSymbolicLinks)try{const x=K.fs.statSync(y.path);y.dirent=WtD.fs.createDirentFromStats(y.name,x)}catch(x){if(K.throwErrorOnBrokenSymbolicLink)throw x}return y})},HtD=function(Q,K){return K.fs.readdirSync(Q).map((C)=>{const y=UtD.joinPathSegments(Q,C,K.pathSegmentSeparator),x=rl0.statSync(y,K.fsStatSettings),_={name:C,path:y,dirent:WtD.fs.createDirentFromStats(C,x)};if(K.stats)_.stats=x;return _})};Object.defineProperty(MtD,"__esModule",{value:!0});MtD.readdir=MtD.readdirWithFileTypes=MtD.read=void 0;var rl0=_R(),ol0=jHD(),WtD=LHD(),UtD=AHD();MtD.read=sl0;MtD.readdirWithFileTypes=GtD;MtD.readdir=HtD});var CtD=r0((LtD)=>{var el0=function(Q){if(Q===void 0)return LtD.FILE_SYSTEM_ADAPTER;return Object.assign(Object.assign({},LtD.FILE_SYSTEM_ADAPTER),Q)};Object.defineProperty(LtD,"__esModule",{value:!0});LtD.createFileSystemAdapter=LtD.FILE_SYSTEM_ADAPTER=void 0;var Vf=i8("fs");LtD.FILE_SYSTEM_ADAPTER={lstat:Vf.lstat,stat:Vf.stat,lstatSync:Vf.lstatSync,statSync:Vf.statSync,readdir:Vf.readdir,readdirSync:Vf.readdirSync};LtD.createFileSystemAdapter=el0});var TtD=r0((NtD)=>{Object.defineProperty(NtD,"__esModule",{value:!0});var Di0=i8("path"),Fi0=_R(),$i0=CtD();class EtD{constructor(Q={}){this._options=Q,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=$i0.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,Di0.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new Fi0.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(Q,K){return Q!==null&&Q!==void 0?Q:K}}NtD.default=EtD});var e5D=r0((ItD)=>{var Bi0=function(Q,K,G){if(typeof K==="function"){RtD.read(Q,THD(),K);return}RtD.read(Q,THD(K),G)},Xi0=function(Q,K){const G=THD(K);return Ji0.read(Q,G)},THD=function(Q={}){if(Q instanceof NHD.default)return Q;return new NHD.default(Q)};Object.defineProperty(ItD,"__esModule",{value:!0});ItD.Settings=ItD.scandirSync=ItD.scandir=void 0;var RtD=qtD(),Ji0=jtD(),NHD=TtD();ItD.Settings=NHD.default;ItD.scandir=Bi0;ItD.scandirSync=Xi0});var wtD=r0((ID1,PtD)=>{var Vi0=function(Q){var K=new Q,G=K;function C(){var x=K;if(x.next)K=x.next;else K=new Q,G=K;return x.next=null,x}function y(x){G.next=x,G=x}return{get:C,release:y}};PtD.exports=Vi0});var utD=r0((yD1,RHD)=>{var StD=function(Q,K,G){if(typeof Q==="function")G=K,K=Q,Q=null;if(G<1)throw new Error("fastqueue concurrency must be greater than 1");var C=zi0(Ki0),y=null,x=null,_=0,VD=null,OD={push:TD,drain:ZW,saturated:ZW,pause:a,paused:!1,concurrency:G,running:HD,resume:XD,idle:UD,length:bD,getQueue:ED,unshift:nD,empty:ZW,kill:M0,killAndDrain:a1,error:D8};return OD;function HD(){return _}function a(){OD.paused=!0}function bD(){var C8=y,V6=0;while(C8)C8=C8.next,V6++;return V6}function ED(){var C8=y,V6=[];while(C8)V6.push(C8.value),C8=C8.next;return V6}function XD(){if(!OD.paused)return;OD.paused=!1;for(var C8=0;C8<OD.concurrency;C8++)_++,Z0()}function UD(){return _===0&&OD.length()===0}function TD(C8,V6){var $8=C.get();if($8.context=Q,$8.release=Z0,$8.value=C8,$8.callback=V6||ZW,$8.errorHandler=VD,_===OD.concurrency||OD.paused)if(x)x.next=$8,x=$8;else y=$8,x=$8,OD.saturated();else _++,K.call(Q,$8.value,$8.worked)}function nD(C8,V6){var $8=C.get();if($8.context=Q,$8.release=Z0,$8.value=C8,$8.callback=V6||ZW,_===OD.concurrency||OD.paused)if(y)$8.next=y,y=$8;else y=$8,x=$8,OD.saturated();else _++,K.call(Q,$8.value,$8.worked)}function Z0(C8){if(C8)C.release(C8);var V6=y;if(V6)if(!OD.paused){if(x===y)x=null;if(y=V6.next,V6.next=null,K.call(Q,V6.value,V6.worked),x===null)OD.empty()}else _--;else if(--_===0)OD.drain()}function M0(){y=null,x=null,OD.drain=ZW}function a1(){y=null,x=null,OD.drain(),OD.drain=ZW}function D8(C8){VD=C8}},ZW=function(){},Ki0=function(){this.value=null,this.callback=ZW,this.next=null,this.release=ZW,this.context=null,this.errorHandler=null;var Q=this;this.worked=function K(G,C){var{callback:y,errorHandler:x,value:_}=Q;if(Q.value=null,Q.callback=ZW,Q.errorHandler)x(G,_);y.call(Q.context,G,C),Q.release(Q)}},qi0=function(Q,K,G){if(typeof Q==="function")G=K,K=Q,Q=null;function C(a,bD){K.call(this,a).then(function(ED){bD(null,ED)},bD)}var y=StD(Q,C,G),x=y.push,_=y.unshift;return y.push=VD,y.unshift=OD,y.drained=HD,y;function VD(a){var bD=new Promise(function(ED,XD){x(a,function(UD,TD){if(UD){XD(UD);return}ED(TD)})});return bD.catch(ZW),bD}function OD(a){var bD=new Promise(function(ED,XD){_(a,function(UD,TD){if(UD){XD(UD);return}ED(TD)})});return bD.catch(ZW),bD}function HD(){var a=y.drain,bD=new Promise(function(ED){y.drain=function(){a(),ED()}});return bD}},zi0=wtD();RHD.exports=StD;RHD.exports.promise=qi0});var D6D=r0((ftD)=>{var Wi0=function(Q,K){if(Q.errorFilter===null)return!0;return!Q.errorFilter(K)},Ui0=function(Q,K){return Q===null||Q(K)},Gi0=function(Q,K){return Q.split(/[/\\]/).join(K)},Hi0=function(Q,K,G){if(Q==="")return K;if(Q.endsWith(G))return Q+K;return Q+G+K};Object.defineProperty(ftD,"__esModule",{value:!0});ftD.joinPathSegments=ftD.replacePathSegmentSeparator=ftD.isAppliedFilter=ftD.isFatalError=void 0;ftD.isFatalError=Wi0;ftD.isAppliedFilter=Ui0;ftD.replacePathSegmentSeparator=Gi0;ftD.joinPathSegments=Hi0});var IHD=r0((xtD)=>{Object.defineProperty(xtD,"__esModule",{value:!0});var Li0=D6D();class btD{constructor(Q,K){this._root=Q,this._settings=K,this._root=Li0.replacePathSegmentSeparator(Q,K.pathSegmentSeparator)}}xtD.default=btD});var yHD=r0((htD)=>{Object.defineProperty(htD,"__esModule",{value:!0});var Ci0=i8("events"),Ei0=e5D(),Ni0=utD(),F6D=D6D(),Ti0=IHD();class ktD extends Ti0.default{constructor(Q,K){super(Q,K);this._settings=K,this._scandir=Ei0.scandir,this._emitter=new Ci0.EventEmitter,this._queue=Ni0(this._worker.bind(this),this._settings.concurrency),this._isFatalError=!1,this._isDestroyed=!1,this._queue.drain=()=>{if(!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(Q){this._emitter.on("entry",Q)}onError(Q){this._emitter.once("error",Q)}onEnd(Q){this._emitter.once("end",Q)}_pushToQueue(Q,K){const G={directory:Q,base:K};this._queue.push(G,(C)=>{if(C!==null)this._handleError(C)})}_worker(Q,K){this._scandir(Q.directory,this._settings.fsScandirSettings,(G,C)=>{if(G!==null){K(G,void 0);return}for(let y of C)this._handleEntry(y,Q.base);K(null,void 0)})}_handleError(Q){if(this._isDestroyed||!F6D.isFatalError(this._settings,Q))return;this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",Q)}_handleEntry(Q,K){if(this._isDestroyed||this._isFatalError)return;const G=Q.path;if(K!==void 0)Q.path=F6D.joinPathSegments(K,Q.name,this._settings.pathSegmentSeparator);if(F6D.isAppliedFilter(this._settings.entryFilter,Q))this._emitEntry(Q);if(Q.dirent.isDirectory()&&F6D.isAppliedFilter(this._settings.deepFilter,Q))this._pushToQueue(G,K===void 0?void 0:Q.path)}_emitEntry(Q){this._emitter.emit("entry",Q)}}htD.default=ktD});var mtD=r0((gtD)=>{var yi0=function(Q,K){Q(K)},Pi0=function(Q,K){Q(null,K)};Object.defineProperty(gtD,"__esModule",{value:!0});var Ii0=yHD();class _tD{constructor(Q,K){this._root=Q,this._settings=K,this._reader=new Ii0.default(this._root,this._settings),this._storage=[]}read(Q){this._reader.onError((K)=>{yi0(Q,K)}),this._reader.onEntry((K)=>{this._storage.push(K)}),this._reader.onEnd(()=>{Pi0(Q,this._storage)}),this._reader.read()}}gtD.default=_tD});var ltD=r0((ctD)=>{Object.defineProperty(ctD,"__esModule",{value:!0});var Si0=i8("stream"),ui0=yHD();class dtD{constructor(Q,K){this._root=Q,this._settings=K,this._reader=new ui0.default(this._root,this._settings),this._stream=new Si0.Readable({objectMode:!0,read:()=>{},destroy:()=>{if(!this._reader.isDestroyed)this._reader.destroy()}})}read(){return this._reader.onError((Q)=>{this._stream.emit("error",Q)}),this._reader.onEntry((Q)=>{this._stream.push(Q)}),this._reader.onEnd(()=>{this._stream.push(null)}),this._reader.read(),this._stream}}ctD.default=dtD});var ntD=r0((ptD)=>{Object.defineProperty(ptD,"__esModule",{value:!0});var vi0=e5D(),$6D=D6D(),bi0=IHD();class itD extends bi0.default{constructor(){super(...arguments);this._scandir=vi0.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(Q,K){this._queue.add({directory:Q,base:K})}_handleQueue(){for(let Q of this._queue.values())this._handleDirectory(Q.directory,Q.base)}_handleDirectory(Q,K){try{const G=this._scandir(Q,this._settings.fsScandirSettings);for(let C of G)this._handleEntry(C,K)}catch(G){this._handleError(G)}}_handleError(Q){if(!$6D.isFatalError(this._settings,Q))return;throw Q}_handleEntry(Q,K){const G=Q.path;if(K!==void 0)Q.path=$6D.joinPathSegments(K,Q.name,this._settings.pathSegmentSeparator);if($6D.isAppliedFilter(this._settings.entryFilter,Q))this._pushToStorage(Q);if(Q.dirent.isDirectory()&&$6D.isAppliedFilter(this._settings.deepFilter,Q))this._pushToQueue(G,K===void 0?void 0:Q.path)}_pushToStorage(Q){this._storage.push(Q)}}ptD.default=itD});var stD=r0((otD)=>{Object.defineProperty(otD,"__esModule",{value:!0});var ki0=ntD();class rtD{constructor(Q,K){this._root=Q,this._settings=K,this._reader=new ki0.default(this._root,this._settings)}read(){return this._reader.read()}}otD.default=rtD});var etD=r0((ttD)=>{Object.defineProperty(ttD,"__esModule",{value:!0});var _i0=i8("path"),gi0=e5D();class atD{constructor(Q={}){this._options=Q,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,_i0.sep),this.fsScandirSettings=new gi0.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(Q,K){return Q!==null&&Q!==void 0?Q:K}}ttD.default=atD});var J6D=r0((FeD)=>{var li0=function(Q,K,G){if(typeof K==="function"){new DeD.default(Q,Z6D()).read(K);return}new DeD.default(Q,Z6D(K)).read(G)},ii0=function(Q,K){const G=Z6D(K);return new ci0.default(Q,G).read()},pi0=function(Q,K){const G=Z6D(K);return new di0.default(Q,G).read()},Z6D=function(Q={}){if(Q instanceof PHD.default)return Q;return new PHD.default(Q)};Object.defineProperty(FeD,"__esModule",{value:!0});FeD.Settings=FeD.walkStream=FeD.walkSync=FeD.walk=void 0;var DeD=mtD(),di0=ltD(),ci0=stD(),PHD=etD();FeD.Settings=PHD.default;FeD.walk=li0;FeD.walkSync=ii0;FeD.walkStream=pi0});var B6D=r0((BeD)=>{Object.defineProperty(BeD,"__esModule",{value:!0});var si0=i8("path"),ai0=_R(),ZeD=yj();class JeD{constructor(Q){this._settings=Q,this._fsStatSettings=new ai0.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(Q){return si0.resolve(this._settings.cwd,Q)}_makeEntry(Q,K){const G={name:K,path:K,dirent:ZeD.fs.createDirentFromStats(K,Q)};if(this._settings.stats)G.stats=Q;return G}_isFatalError(Q){return!ZeD.errno.isEnoentCodeError(Q)&&!this._settings.suppressErrors}}BeD.default=JeD});var wHD=r0((YeD)=>{Object.defineProperty(YeD,"__esModule",{value:!0});var ei0=i8("stream"),Dp0=_R(),Fp0=J6D(),$p0=B6D();class XeD extends $p0.default{constructor(){super(...arguments);this._walkStream=Fp0.walkStream,this._stat=Dp0.stat}dynamic(Q,K){return this._walkStream(Q,K)}static(Q,K){const G=Q.map(this._getFullEntryPath,this),C=new ei0.PassThrough({objectMode:!0});C._write=(y,x,_)=>{return this._getEntry(G[y],Q[y],K).then((VD)=>{if(VD!==null&&K.entryFilter(VD))C.push(VD);if(y===G.length-1)C.end();_()}).catch(_)};for(let y=0;y<G.length;y++)C.write(y);return C}_getEntry(Q,K,G){return this._getStat(Q).then((C)=>this._makeEntry(C,K)).catch((C)=>{if(G.errorFilter(C))return null;throw C})}_getStat(Q){return new Promise((K,G)=>{this._stat(Q,this._fsStatSettings,(C,y)=>{return C===null?K(y):G(C)})})}}YeD.default=XeD});var zeD=r0((VeD)=>{Object.defineProperty(VeD,"__esModule",{value:!0});var Jp0=J6D(),Bp0=B6D(),Xp0=wHD();class QeD extends Bp0.default{constructor(){super(...arguments);this._walkAsync=Jp0.walk,this._readerStream=new Xp0.default(this._settings)}dynamic(Q,K){return new Promise((G,C)=>{this._walkAsync(Q,K,(y,x)=>{if(y===null)G(x);else C(y)})})}async static(Q,K){const G=[],C=this._readerStream.static(Q,K);return new Promise((y,x)=>{C.once("error",x),C.on("data",(_)=>G.push(_)),C.once("end",()=>y(G))})}}VeD.default=QeD});var WeD=r0((qeD)=>{Object.defineProperty(qeD,"__esModule",{value:!0});var Zc=yj();class KeD{constructor(Q,K,G){this._patterns=Q,this._settings=K,this._micromatchOptions=G,this._storage=[],this._fillStorage()}_fillStorage(){for(let Q of this._patterns){const K=this._getPatternSegments(Q),G=this._splitSegmentsIntoSections(K);this._storage.push({complete:G.length<=1,pattern:Q,segments:K,sections:G})}}_getPatternSegments(Q){return Zc.pattern.getPatternParts(Q,this._micromatchOptions).map((G)=>{if(!Zc.pattern.isDynamicPattern(G,this._settings))return{dynamic:!1,pattern:G};return{dynamic:!0,pattern:G,patternRe:Zc.pattern.makeRe(G,this._micromatchOptions)}})}_splitSegmentsIntoSections(Q){return Zc.array.splitWhen(Q,(K)=>K.dynamic&&Zc.pattern.hasGlobStar(K.pattern))}}qeD.default=KeD});var HeD=r0((GeD)=>{Object.defineProperty(GeD,"__esModule",{value:!0});var Vp0=WeD();class UeD extends Vp0.default{match(Q){const K=Q.split("/"),G=K.length,C=this._storage.filter((y)=>!y.complete||y.segments.length>G);for(let y of C){const x=y.sections[0];if(!y.complete&&G>x.length)return!0;if(K.every((VD,OD)=>{const HD=y.segments[OD];if(HD.dynamic&&HD.patternRe.test(VD))return!0;if(!HD.dynamic&&HD.pattern===VD)return!0;return!1}))return!0}return!1}}GeD.default=UeD});var jeD=r0((OeD)=>{Object.defineProperty(OeD,"__esModule",{value:!0});var X6D=yj(),Kp0=HeD();class MeD{constructor(Q,K){this._settings=Q,this._micromatchOptions=K}getFilter(Q,K,G){const C=this._getMatcher(K),y=this._getNegativePatternsRe(G);return(x)=>this._filter(Q,x,C,y)}_getMatcher(Q){return new Kp0.default(Q,this._settings,this._micromatchOptions)}_getNegativePatternsRe(Q){const K=Q.filter(X6D.pattern.isAffectDepthOfReadingPattern);return X6D.pattern.convertPatternsToRe(K,this._micromatchOptions)}_filter(Q,K,G,C){if(this._isSkippedByDeep(Q,K.path))return!1;if(this._isSkippedSymbolicLink(K))return!1;const y=X6D.path.removeLeadingDotSegment(K.path);if(this._isSkippedByPositivePatterns(y,G))return!1;return this._isSkippedByNegativePatterns(y,C)}_isSkippedByDeep(Q,K){if(this._settings.deep===Infinity)return!1;return this._getEntryLevel(Q,K)>=this._settings.deep}_getEntryLevel(Q,K){const G=K.split("/").length;if(Q==="")return G;const C=Q.split("/").length;return G-C}_isSkippedSymbolicLink(Q){return!this._settings.followSymbolicLinks&&Q.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(Q,K){return!this._settings.baseNameMatch&&!K.match(Q)}_isSkippedByNegativePatterns(Q,K){return!X6D.pattern.matchAny(Q,K)}}OeD.default=MeD});var CeD=r0((AeD)=>{Object.defineProperty(AeD,"__esModule",{value:!0});var gR=yj();class LeD{constructor(Q,K){this._settings=Q,this._micromatchOptions=K,this.index=new Map}getFilter(Q,K){const G=gR.pattern.convertPatternsToRe(Q,this._micromatchOptions),C=gR.pattern.convertPatternsToRe(K,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}));return(y)=>this._filter(y,G,C)}_filter(Q,K,G){const C=gR.path.removeLeadingDotSegment(Q.path);if(this._settings.unique&&this._isDuplicateEntry(C))return!1;if(this._onlyFileFilter(Q)||this._onlyDirectoryFilter(Q))return!1;if(this._isSkippedByAbsoluteNegativePatterns(C,G))return!1;const y=Q.dirent.isDirectory(),x=this._isMatchToPatterns(C,K,y)&&!this._isMatchToPatterns(C,G,y);if(this._settings.unique&&x)this._createIndexRecord(C);return x}_isDuplicateEntry(Q){return this.index.has(Q)}_createIndexRecord(Q){this.index.set(Q,void 0)}_onlyFileFilter(Q){return this._settings.onlyFiles&&!Q.dirent.isFile()}_onlyDirectoryFilter(Q){return this._settings.onlyDirectories&&!Q.dirent.isDirectory()}_isSkippedByAbsoluteNegativePatterns(Q,K){if(!this._settings.absolute)return!1;const G=gR.path.makeAbsolute(this._settings.cwd,Q);return gR.pattern.matchAny(G,K)}_isMatchToPatterns(Q,K,G){const C=gR.pattern.matchAny(Q,K);if(!C&&G)return gR.pattern.matchAny(Q+"/",K);return C}}AeD.default=LeD});var TeD=r0((NeD)=>{Object.defineProperty(NeD,"__esModule",{value:!0});var Up0=yj();class EeD{constructor(Q){this._settings=Q}getFilter(){return(Q)=>this._isNonFatalError(Q)}_isNonFatalError(Q){return Up0.errno.isEnoentCodeError(Q)||this._settings.suppressErrors}}NeD.default=EeD});var PeD=r0((yeD)=>{Object.defineProperty(yeD,"__esModule",{value:!0});var ReD=yj();class IeD{constructor(Q){this._settings=Q}getTransformer(){return(Q)=>this._transform(Q)}_transform(Q){let K=Q.path;if(this._settings.absolute)K=ReD.path.makeAbsolute(this._settings.cwd,K),K=ReD.path.unixify(K);if(this._settings.markDirectories&&Q.dirent.isDirectory())K+="/";if(!this._settings.objectMode)return K;return Object.assign(Object.assign({},Q),{path:K})}}yeD.default=IeD});var Y6D=r0((SeD)=>{Object.defineProperty(SeD,"__esModule",{value:!0});var Mp0=i8("path"),Op0=jeD(),jp0=CeD(),Lp0=TeD(),Ap0=PeD();class weD{constructor(Q){this._settings=Q,this.errorFilter=new Lp0.default(this._settings),this.entryFilter=new jp0.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new Op0.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new Ap0.default(this._settings)}_getRootDirectory(Q){return Mp0.resolve(this._settings.cwd,Q.base)}_getReaderOptions(Q){const K=Q.base==="."?"":Q.base;return{basePath:K,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(K,Q.positive,Q.negative),entryFilter:this.entryFilter.getFilter(Q.positive,Q.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}}}SeD.default=weD});var veD=r0((feD)=>{Object.defineProperty(feD,"__esModule",{value:!0});var Ep0=zeD(),Np0=Y6D();class ueD extends Np0.default{constructor(){super(...arguments);this._reader=new Ep0.default(this._settings)}async read(Q){const K=this._getRootDirectory(Q),G=this._getReaderOptions(Q);return(await this.api(K,Q,G)).map((y)=>G.transform(y))}api(Q,K,G){if(K.dynamic)return this._reader.dynamic(Q,G);return this._reader.static(K.patterns,G)}}feD.default=ueD});var keD=r0((xeD)=>{Object.defineProperty(xeD,"__esModule",{value:!0});var Rp0=i8("stream"),Ip0=wHD(),yp0=Y6D();class beD extends yp0.default{constructor(){super(...arguments);this._reader=new Ip0.default(this._settings)}read(Q){const K=this._getRootDirectory(Q),G=this._getReaderOptions(Q),C=this.api(K,Q,G),y=new Rp0.Readable({objectMode:!0,read:()=>{}});return C.once("error",(x)=>y.emit("error",x)).on("data",(x)=>y.emit("data",G.transform(x))).once("end",()=>y.emit("end")),y.once("close",()=>C.destroy()),y}api(Q,K,G){if(K.dynamic)return this._reader.dynamic(Q,G);return this._reader.static(K.patterns,G)}}xeD.default=beD});var geD=r0((_eD)=>{Object.defineProperty(_eD,"__esModule",{value:!0});var wp0=_R(),Sp0=J6D(),up0=B6D();class heD extends up0.default{constructor(){super(...arguments);this._walkSync=Sp0.walkSync,this._statSync=wp0.statSync}dynamic(Q,K){return this._walkSync(Q,K)}static(Q,K){const G=[];for(let C of Q){const y=this._getFullEntryPath(C),x=this._getEntry(y,C,K);if(x===null||!K.entryFilter(x))continue;G.push(x)}return G}_getEntry(Q,K,G){try{const C=this._getStat(Q);return this._makeEntry(C,K)}catch(C){if(G.errorFilter(C))return null;throw C}}_getStat(Q){return this._statSync(Q,this._fsStatSettings)}}_eD.default=heD});var ceD=r0((deD)=>{Object.defineProperty(deD,"__esModule",{value:!0});var vp0=geD(),bp0=Y6D();class meD extends bp0.default{constructor(){super(...arguments);this._reader=new vp0.default(this._settings)}read(Q){const K=this._getRootDirectory(Q),G=this._getReaderOptions(Q);return this.api(K,Q,G).map(G.transform)}api(Q,K,G){if(K.dynamic)return this._reader.dynamic(Q,G);return this._reader.static(K.patterns,G)}}deD.default=meD});var peD=r0((ieD)=>{Object.defineProperty(ieD,"__esModule",{value:!0});ieD.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;var zf=i8("fs"),kp0=i8("os"),hp0=Math.max(kp0.cpus().length,1);ieD.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:zf.lstat,lstatSync:zf.lstatSync,stat:zf.stat,statSync:zf.statSync,readdir:zf.readdir,readdirSync:zf.readdirSync};class leD{constructor(Q={}){if(this._options=Q,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,hp0),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,Infinity),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;if(this.stats)this.objectMode=!0;this.ignore=[].concat(this.ignore)}_getValue(Q,K){return Q===void 0?K:Q}_getFileSystemMethods(Q={}){return Object.assign(Object.assign({},ieD.DEFAULT_FILE_SYSTEM_ADAPTER),Q)}}ieD.default=leD});var bHD=r0((eD1,reD)=>{async function fHD(Q,K){nU(Q);const G=vHD(Q,gp0.default,K),C=await Promise.all(G);return JW.array.flatten(C)}var vHD=function(Q,K,G){const C=[].concat(Q),y=new uHD.default(G),x=neD.generate(C,y),_=new K(y);return x.map(_.read,_)},nU=function(Q){if(![].concat(Q).every((C)=>JW.string.isString(C)&&!JW.string.isEmpty(C)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")},neD=TaD(),gp0=veD(),mp0=keD(),dp0=ceD(),uHD=peD(),JW=yj();(function(Q){Q.glob=Q,Q.globSync=K,Q.globStream=G,Q.async=Q;function K(HD,a){nU(HD);const bD=vHD(HD,dp0.default,a);return JW.array.flatten(bD)}Q.sync=K;function G(HD,a){nU(HD);const bD=vHD(HD,mp0.default,a);return JW.stream.merge(bD)}Q.stream=G;function C(HD,a){nU(HD);const bD=[].concat(HD),ED=new uHD.default(a);return neD.generate(bD,ED)}Q.generateTasks=C;function y(HD,a){nU(HD);const bD=new uHD.default(a);return JW.pattern.isDynamicPattern(HD,bD)}Q.isDynamicPattern=y;function x(HD){return nU(HD),JW.path.escape(HD)}Q.escapePath=x;function _(HD){return nU(HD),JW.path.convertPathToPattern(HD)}Q.convertPathToPattern=_;let VD;(function(HD){function a(ED){return nU(ED),JW.path.escapePosixPath(ED)}HD.escapePath=a;function bD(ED){return nU(ED),JW.path.convertPosixPathToPattern(ED)}HD.convertPathToPattern=bD})(VD=Q.posix||(Q.posix={}));let OD;(function(HD){function a(ED){return nU(ED),JW.path.escapeWindowsPath(ED)}HD.escapePath=a;function bD(ED){return nU(ED),JW.path.convertWindowsPathToPattern(ED)}HD.convertPathToPattern=bD})(OD=Q.win32||(Q.win32={}))})(fHD||(fHD={}));reD.exports=fHD});var seD=r0((lp0)=>{async function xHD(Q,K,G){if(typeof G!=="string")throw new TypeError(`Expected a string, got ${typeof G}`);try{return(await cp0(oeD[Q])(G))[K]()}catch(C){if(C.code==="ENOENT")return!1;throw C}}var kHD=function(Q,K,G){if(typeof G!=="string")throw new TypeError(`Expected a string, got ${typeof G}`);try{return oeD[Q](G)[K]()}catch(C){if(C.code==="ENOENT")return!1;throw C}},{promisify:cp0}=i8("util"),oeD=i8("fs");lp0.isFile=xHD.bind(null,"stat","isFile");lp0.isDirectory=xHD.bind(null,"stat","isDirectory");lp0.isSymlink=xHD.bind(null,"lstat","isSymbolicLink");lp0.isFileSync=kHD.bind(null,"statSync","isFile");lp0.isDirectorySync=kHD.bind(null,"statSync","isDirectory");lp0.isSymlinkSync=kHD.bind(null,"lstatSync","isSymbolicLink")});var FD0=r0((F01,hHD)=>{var mR=i8("path"),aeD=seD(),teD=(Q)=>Q.length>1?`{${Q.join(",")}}`:Q[0],eeD=(Q,K)=>{const G=Q[0]==="!"?Q.slice(1):Q;return mR.isAbsolute(G)?G:mR.join(K,G)},ap0=(Q,K)=>{if(mR.extname(Q))return`**/${Q}`;return`**/${Q}.${teD(K)}`},DD0=(Q,K)=>{if(K.files&&!Array.isArray(K.files))throw new TypeError(`Expected \`files\` to be of type \`Array\` but received type \`${typeof K.files}\``);if(K.extensions&&!Array.isArray(K.extensions))throw new TypeError(`Expected \`extensions\` to be of type \`Array\` but received type \`${typeof K.extensions}\``);if(K.files&&K.extensions)return K.files.map((G)=>mR.posix.join(Q,ap0(G,K.extensions)));if(K.files)return K.files.map((G)=>mR.posix.join(Q,`**/${G}`));if(K.extensions)return[mR.posix.join(Q,`**/*.${teD(K.extensions)}`)];return[mR.posix.join(Q,"**")]};hHD.exports=async(Q,K)=>{if(K={cwd:process.cwd(),...K},typeof K.cwd!=="string")throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof K.cwd}\``);const G=await Promise.all([].concat(Q).map(async(C)=>{return await aeD.isDirectory(eeD(C,K.cwd))?DD0(C,K):C}));return[].concat.apply([],G)};hHD.exports.sync=(Q,K)=>{if(K={cwd:process.cwd(),...K},typeof K.cwd!=="string")throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof K.cwd}\``);const G=[].concat(Q).map((C)=>aeD.isDirectorySync(eeD(C,K.cwd))?DD0(C,K):C);return[].concat.apply([],G)}});var qD0=r0(($01,KD0)=>{var $D0=function(Q){return Array.isArray(Q)?Q:[Q]},mHD="",ZD0=" ",_HD="\\",tp0=/^\s+$/,ep0=/(?:[^\\]|^)\\$/,Dn0=/^\\!/,Fn0=/^\\#/,$n0=/\r?\n/g,Zn0=/^\.*\/|^\.+$/,gHD="/",XD0="node-ignore";if(typeof Symbol!=="undefined")XD0=Symbol.for("node-ignore");var JD0=XD0,Jn0=(Q,K,G)=>Object.defineProperty(Q,K,{value:G}),Bn0=/([0-z])-([0-z])/g,YD0=()=>!1,Xn0=(Q)=>Q.replace(Bn0,(K,G,C)=>G.charCodeAt(0)<=C.charCodeAt(0)?K:mHD),Yn0=(Q)=>{const{length:K}=Q;return Q.slice(0,K-K%2)},Qn0=[[/^\uFEFF/,()=>mHD],[/\\?\s+$/,(Q)=>Q.indexOf("\\")===0?ZD0:mHD],[/\\\s/g,()=>ZD0],[/[\\$.|*+(){^]/g,(Q)=>`\\${Q}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function Q(){return!/\/(?!$)/.test(this)?"(?:^|\\/)":"^"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(Q,K,G)=>K+6<G.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(Q,K,G)=>{const C=G.replace(/\\\*/g,"[^\\/]*");return K+C}],[/\\\\\\(?=[$.|*+(){^])/g,()=>_HD],[/\\\\/g,()=>_HD],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(Q,K,G,C,y)=>K===_HD?`\\[${G}${Yn0(C)}${y}`:y==="]"?C.length%2===0?`[${Xn0(G)}${C}]`:"[]":"[]"],[/(?:[^*])$/,(Q)=>/\/$/.test(Q)?`${Q}\$`:`${Q}(?=\$|\\/\$)`],[/(\^|\\\/)?\\\*$/,(Q,K)=>{return`${K?`${K}[^/]+`:"[^/]*"}(?=\$|\\/\$)`}]],BD0=Object.create(null),Vn0=(Q,K)=>{let G=BD0[Q];if(!G)G=Qn0.reduce((C,y)=>C.replace(y[0],y[1].bind(Q)),Q),BD0[Q]=G;return K?new RegExp(G,"i"):new RegExp(G)},dHD=(Q)=>typeof Q==="string",zn0=(Q)=>Q&&dHD(Q)&&!tp0.test(Q)&&!ep0.test(Q)&&Q.indexOf("#")!==0,Kn0=(Q)=>Q.split($n0);class QD0{constructor(Q,K,G,C){this.origin=Q,this.pattern=K,this.negative=G,this.regex=C}}var qn0=(Q,K)=>{const G=Q;let C=!1;if(Q.indexOf("!")===0)C=!0,Q=Q.substr(1);Q=Q.replace(Dn0,"!").replace(Fn0,"#");const y=Vn0(Q,K);return new QD0(G,Q,C,y)},Wn0=(Q,K)=>{throw new K(Q)},Pj=(Q,K,G)=>{if(!dHD(Q))return G(`path must be a string, but got \`${K}\``,TypeError);if(!Q)return G("path must not be empty",TypeError);if(Pj.isNotRelative(Q))return G(`path should be a \`path.relative()\`d string, but got "${K}"`,RangeError);return!0},VD0=(Q)=>Zn0.test(Q);Pj.isNotRelative=VD0;Pj.convert=(Q)=>Q;class zD0{constructor({ignorecase:Q=!0,ignoreCase:K=Q,allowRelativePaths:G=!1}={}){Jn0(this,JD0,!0),this._rules=[],this._ignoreCase=K,this._allowRelativePaths=G,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(Q){if(Q&&Q[JD0]){this._rules=this._rules.concat(Q._rules),this._added=!0;return}if(zn0(Q)){const K=qn0(Q,this._ignoreCase);this._added=!0,this._rules.push(K)}}add(Q){if(this._added=!1,$D0(dHD(Q)?Kn0(Q):Q).forEach(this._addPattern,this),this._added)this._initCache();return this}addPattern(Q){return this.add(Q)}_testOne(Q,K){let G=!1,C=!1;return this._rules.forEach((y)=>{const{negative:x}=y;if(C===x&&G!==C||x&&!G&&!C&&!K)return;if(y.regex.test(Q))G=!x,C=x}),{ignored:G,unignored:C}}_test(Q,K,G,C){const y=Q&&Pj.convert(Q);return Pj(y,Q,this._allowRelativePaths?YD0:Wn0),this._t(y,K,G,C)}_t(Q,K,G,C){if(Q in K)return K[Q];if(!C)C=Q.split(gHD);if(C.pop(),!C.length)return K[Q]=this._testOne(Q,G);const y=this._t(C.join(gHD)+gHD,K,G,C);return K[Q]=y.ignored?y:this._testOne(Q,G)}ignores(Q){return this._test(Q,this._ignoreCache,!1).ignored}createFilter(){return(Q)=>!this.ignores(Q)}filter(Q){return $D0(Q).filter(this.createFilter())}test(Q){return this._test(Q,this._testCache,!0)}}var Q6D=(Q)=>new zD0(Q),Un0=(Q)=>Pj(Q&&Pj.convert(Q),Q,YD0);Q6D.isPathValid=Un0;Q6D.default=Q6D;KD0.exports=Q6D;if(typeof process!=="undefined"&&(process.env&&process.env.IGNORE_TEST_WIN32||process.platform==="win32")){const Q=(G)=>/^\\\\\?\\/.test(G)||/["<>|\u0000-\u001F]+/u.test(G)?G:G.replace(/\\/g,"/");Pj.convert=Q;const K=/^[a-z]:\//i;Pj.isNotRelative=(G)=>K.test(G)||VD0(G)}});var UD0=r0((Z01,WD0)=>{WD0.exports=(Q)=>{const K=/^\\\\\?\\/.test(Q),G=/[^\u0000-\u0080]+/.test(Q);if(K||G)return Q;return Q.replace(/\\/g,"/")}});var AD0=r0((J01,cHD)=>{var{promisify:Gn0}=i8("util"),GD0=i8("fs"),wj=i8("path"),HD0=bHD(),Hn0=qD0(),Jc=UD0(),MD0=["**/node_modules/**","**/flow-typed/**","**/coverage/**","**/.git"],Mn0=Gn0(GD0.readFile),On0=(Q)=>(K)=>{if(K.startsWith("!"))return"!"+wj.posix.join(Q,K.slice(1));return wj.posix.join(Q,K)},jn0=(Q,K)=>{const G=Jc(wj.relative(K.cwd,wj.dirname(K.fileName)));return Q.split(/\r?\n/).filter(Boolean).filter((C)=>!C.startsWith("#")).map(On0(G))},OD0=(Q)=>{const K=Hn0();for(let G of Q)K.add(jn0(G.content,{cwd:G.cwd,fileName:G.filePath}));return K},Ln0=(Q,K)=>{if(Q=Jc(Q),wj.isAbsolute(K)){if(Jc(K).startsWith(Q))return K;throw new Error(`Path ${K} is not in cwd ${Q}`)}return wj.join(Q,K)},jD0=(Q,K)=>{return(G)=>Q.ignores(Jc(wj.relative(K,Ln0(K,G.path||G))))},An0=async(Q,K)=>{const G=wj.join(K,Q),C=await Mn0(G,"utf8");return{cwd:K,filePath:G,content:C}},Cn0=(Q,K)=>{const G=wj.join(K,Q),C=GD0.readFileSync(G,"utf8");return{cwd:K,filePath:G,content:C}},LD0=({ignore:Q=[],cwd:K=Jc(process.cwd())}={})=>{return{ignore:Q,cwd:K}};cHD.exports=async(Q)=>{Q=LD0(Q);const K=await HD0("**/.gitignore",{ignore:MD0.concat(Q.ignore),cwd:Q.cwd}),G=await Promise.all(K.map((y)=>An0(y,Q.cwd))),C=OD0(G);return jD0(C,Q.cwd)};cHD.exports.sync=(Q)=>{Q=LD0(Q);const G=HD0.sync("**/.gitignore",{ignore:MD0.concat(Q.ignore),cwd:Q.cwd}).map((y)=>Cn0(y,Q.cwd)),C=OD0(G);return jD0(C,Q.cwd)}});var TD0=r0((B01,ND0)=>{var{Transform:En0}=i8("stream");class lHD extends En0{constructor(){super({objectMode:!0})}}class CD0 extends lHD{constructor(Q){super();this._filter=Q}_transform(Q,K,G){if(this._filter(Q))this.push(Q);G()}}class ED0 extends lHD{constructor(){super();this._pushed=new Set}_transform(Q,K,G){if(!this._pushed.has(Q))this.push(Q),this._pushed.add(Q);G()}}ND0.exports={FilterStream:CD0,UniqueStream:ED0}});var wD0=r0((X01,dR)=>{var ID0=i8("fs"),V6D=EoD(),Nn0=lGD(),z6D=bHD(),K6D=FD0(),iHD=AD0(),{FilterStream:Tn0,UniqueStream:Rn0}=TD0(),yD0=()=>!1,RD0=(Q)=>Q[0]==="!",In0=(Q)=>{if(!Q.every((K)=>typeof K==="string"))throw new TypeError("Patterns must be a string or an array of strings")},yn0=(Q={})=>{if(!Q.cwd)return;let K;try{K=ID0.statSync(Q.cwd)}catch{return}if(!K.isDirectory())throw new Error("The `cwd` option must be a path to a directory")},Pn0=(Q)=>Q.stats instanceof ID0.Stats?Q.path:Q,q6D=(Q,K)=>{Q=V6D([].concat(Q)),In0(Q),yn0(K);const G=[];K={ignore:[],expandDirectories:!0,...K};for(let[C,y]of Q.entries()){if(RD0(y))continue;const x=Q.slice(C).filter((VD)=>RD0(VD)).map((VD)=>VD.slice(1)),_={...K,ignore:K.ignore.concat(x)};G.push({pattern:y,options:_})}return G},wn0=(Q,K)=>{let G={};if(Q.options.cwd)G.cwd=Q.options.cwd;if(Array.isArray(Q.options.expandDirectories))G={...G,files:Q.options.expandDirectories};else if(typeof Q.options.expandDirectories==="object")G={...G,...Q.options.expandDirectories};return K(Q.pattern,G)},pHD=(Q,K)=>Q.options.expandDirectories?wn0(Q,K):[Q.pattern],PD0=(Q)=>{return Q&&Q.gitignore?iHD.sync({cwd:Q.cwd,ignore:Q.ignore}):yD0},nHD=(Q)=>(K)=>{const{options:G}=Q;if(G.ignore&&Array.isArray(G.ignore)&&G.expandDirectories)G.ignore=K6D.sync(G.ignore);return{pattern:K,options:G}};dR.exports=async(Q,K)=>{const G=q6D(Q,K),C=async()=>{return K&&K.gitignore?iHD({cwd:K.cwd,ignore:K.ignore}):yD0},y=async()=>{const OD=await Promise.all(G.map(async(HD)=>{const a=await pHD(HD,K6D);return Promise.all(a.map(nHD(HD)))}));return V6D(...OD)},[x,_]=await Promise.all([C(),y()]),VD=await Promise.all(_.map((OD)=>z6D(OD.pattern,OD.options)));return V6D(...VD).filter((OD)=>!x(Pn0(OD)))};dR.exports.sync=(Q,K)=>{const G=q6D(Q,K),C=[];for(let _ of G){const VD=pHD(_,K6D.sync).map(nHD(_));C.push(...VD)}const y=PD0(K);let x=[];for(let _ of C)x=V6D(x,z6D.sync(_.pattern,_.options));return x.filter((_)=>!y(_))};dR.exports.stream=(Q,K)=>{const G=q6D(Q,K),C=[];for(let VD of G){const OD=pHD(VD,K6D.sync).map(nHD(VD));C.push(...OD)}const y=PD0(K),x=new Tn0((VD)=>!y(VD)),_=new Rn0;return Nn0(C.map((VD)=>z6D.stream(VD.pattern,VD.options))).pipe(x).pipe(_)};dR.exports.generateGlobTasks=q6D;dR.exports.hasMagic=(Q,K)=>[].concat(Q).some((G)=>z6D.isDynamicPattern(G,K));dR.exports.gitignore=iHD});var rHD=r0((SD0)=>{var fn0=function(Q,K,G){const C={...K,...Q};return G?{json:un0,...C}:C};Object.defineProperty(SD0,"__esModule",{value:!0});SD0.aggregateFlags=void 0;var Sn0=w5D(),un0=Sn0.boolean({description:"Format output as json.",helpGroup:"GLOBAL"});SD0.aggregateFlags=fn0});var kD0=r0((bD0)=>{var vD0=function(Q,K){const G=Object.getPrototypeOf(K),C=xn0.pickBy(G,(y)=>y!==void 0);return Object.keys(G).length>0?vD0({...C,...Q},G):Q};async function kn0(Q,K){const G=Object.entries(Q).map(async([C,y])=>[C,{aliases:y.aliases,char:y.char,charAliases:y.charAliases,dependsOn:y.dependsOn,deprecateAliases:y.deprecateAliases,deprecated:y.deprecated,description:y.description,env:y.env,exclusive:y.exclusive,helpGroup:y.helpGroup,helpLabel:y.helpLabel,hidden:y.hidden,name:C,noCacheDefault:y.noCacheDefault,relationships:y.relationships,required:y.required,summary:y.summary,...y.type==="boolean"?{allowNo:y.allowNo,type:y.type}:{default:await fD0.cacheDefaultValue(y,K),delimiter:y.delimiter,hasDynamicHelp:typeof y.defaultHelp==="function",helpValue:y.helpValue,multiple:y.multiple,options:y.options,type:y.type}}]);return Object.fromEntries(await Promise.all(G))}async function hn0(Q,K){const G=Object.entries(Q).map(async([C,y])=>[C,{default:await fD0.cacheDefaultValue(y,K),description:y.description,hidden:y.hidden,name:C,noCacheDefault:y.noCacheDefault,options:y.options,required:y.required}]);return Object.fromEntries(await Promise.all(G))}async function _n0(Q,K,G=!1){const C=vD0(Q,Q),y=C.flags??C._flags,x=C.baseFlags??C._baseFlags,[_,VD]=await Promise.all([await kn0(vn0.aggregateFlags(y,x,C.enableJsonFlag),G),await hn0(bn0.ensureArgObject(C.args),G)]),OD={aliases:C.aliases??[],args:VD,deprecateAliases:C.deprecateAliases,deprecationOptions:C.deprecationOptions,description:C.description,examples:C.examples??C.example,flags:_,hasDynamicHelp:Object.values(_).some((XD)=>XD.hasDynamicHelp),hidden:C.hidden,hiddenAliases:C.hiddenAliases??[],id:C.id,pluginAlias:K&&K.alias,pluginName:K&&K.name,pluginType:K&&K.type,state:C.state,strict:C.strict,summary:C.summary,usage:C.usage},HD=["plugin","_flags","_enableJsonFlag","_globalFlags","_baseFlags","baseFlags","_--","_base"],a=new Set([...Object.keys(OD),...HD]),bD=Object.keys(C).filter((XD)=>!a.has(XD)),ED=Object.fromEntries(bD.map((XD)=>[XD,C[XD]]));return{...OD,...ED}}Object.defineProperty(bD0,"__esModule",{value:!0});bD0.cacheCommand=void 0;var vn0=rHD(),fD0=EUD(),bn0=Z5D(),xn0=cB();bD0.cacheCommand=_n0});var _D0=r0((Kf)=>{function*oHD(Q){while(Dz.dirname(Q)!==Q)yield Q,Q=Dz.dirname(Q);yield Q}async function hD0(Q,K){if(PK.extend(K??"root-plugin")(`Finding root starting at ${Q}`),K){for(let G of oHD(Q))if(G.endsWith(Dz.basename(K)))return PK.extend(K)("Found root based on plugin name!"),G}for(let G of oHD(Q)){if(Dz.basename(Dz.dirname(G))==="bin"&&["dev","dev.cmd","dev.js","run","run.cmd","run.js"].includes(Dz.basename(G)))continue;try{const C=Dz.join(G,"package.json");if(PK.extend(K??"root-plugin")(`Checking ${C}`),await W6D.safeReadJson(C))return PK.extend(K??"root-plugin")("Found root by traversing up from starting point!"),Dz.dirname(C)}catch{}}}async function dn0(Q,K){PK.extend(Q??"root-plugin")("Finding root using legacy method");for(let G of oHD(K)){let C;if(Q){if(C=Dz.join(G,"node_modules",Q,"package.json"),await W6D.safeReadJson(C))return Dz.dirname(C);if((await W6D.safeReadJson(Dz.join(G,"package.json")))?.name===Q)return G}else if(C=Dz.join(G,"package.json"),await W6D.safeReadJson(C))return Dz.dirname(C)}}var cn0=function(Q){if(sC)return sC;try{return sC=i8(i8.resolve("pnpapi",{paths:[Q]})),sC}catch{}},in0=function(Q,K){if(cn0(K),!sC)return;PK.extend(Q)("Finding root for using pnp method");const G=new Set,C=(y,x)=>{const _=sHD(y);if(G.has(_))return;const VD=sC.getPackageInformation(y);if(y.name===Q)return VD.packageLocation;G.add(_);for(let[OD,HD]of VD.packageDependencies){if(HD===null)continue;if(x!==null&&ln0(VD,x,OD))continue;const a=sC.getLocator(OD,HD),bD=C(a,VD);if(bD)return bD}G.delete(_)};for(let y of sC.getDependencyTreeRoots()){const x=C(y);if(x)return x}};async function pn0(Q,K){if(Q){PK.extend(Q)(`Finding root using ${K}`);let C;try{C=i8.resolve(Q,{paths:[K]}),PK.extend(Q)("Found starting point with require.resolve")}catch{PK.extend(Q)("require.resolve could not find plugin starting point")}if(C){const x=await hD0(Dz.dirname(C),Q);if(x)return PK.extend(Q)(`Found root at ${x}`),x}const y=process.versions.pnp?in0(Q,K):await dn0(Q,K);return PK.extend(Q)(y?`Found root at ${y}`:"No root found!"),y}PK.extend("root-plugin")(`Finding root plugin using ${K}`);const G=await hD0(K);return PK.extend("root-plugin")(G?`Found root at ${G}`:"No root found!"),G}var gn0=Kf&&Kf.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(Kf,"__esModule",{value:!0});Kf.findRoot=void 0;var mn0=gn0(i8("debug")),Dz=i8("node:path"),W6D=Ej(),PK=mn0.default("find-root"),sC,sHD=(Q)=>JSON.stringify(Q),ln0=(Q,K,G)=>sHD(Q?.packageDependencies.get(G))===sHD(K?.packageDependencies.get(G));Kf.findRoot=pn0});var eHD=r0((Uf)=>{var tHD=function(Q,K){if(!Q)return[];if(K=K?`${K}:`:"",Array.isArray(Q))return[...Q,Q.flatMap((G)=>tHD(G.subtopics,`${K}${G.name}`))];return Object.keys(Q).flatMap((G)=>{return Q[G].name=G,[{...Q[G],name:`${K}${G}`},...tHD(Q[G].subtopics,`${K}${Q[G].name}`)]})},tn0=function(Q){return Q.map((K)=>{const G=Wf.parse(K),C=G.dir.split("/"),y=G.name!=="index"&&G.name,x=[...C,y].filter(Boolean).join(":");return x===""?nD0.SINGLE_COMMAND_CLI_SYMBOL:x})},en0=function(Q,K){if(!Q)return;if(typeof Q==="string"&&K)return{strategy:"single",target:Q};if(typeof Q==="string")return{globPatterns:rD0,strategy:"pattern",target:Q};if(!Q.target)throw new Bc.CLIError("`oclif.commandDiscovery.target` is required.");if(!Q.strategy)throw new Bc.CLIError("`oclif.commandDiscovery.strategy` is required.");if(Q.strategy==="explicit"&&!Q.identifier)Q.identifier="default";return Q},Dr0=function(Q){if(typeof Q==="string")return{identifier:"default",target:Q};if(!Q.identifier)return{...Q,identifier:"default"};return Q},pD0=Uf&&Uf.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(Uf,"__esModule",{value:!0});Uf.Plugin=void 0;var nn0=pD0(wD0()),Wf=i8("node:path"),gD0=i8("node:util"),rn0=pD0(lU()),Bc=eq(),U6D=wd(),qf=Bf(),nD0=$5D(),on0=kD0(),sn0=_D0(),mD0=Ej(),dD0=cB(),aHD=_u(),G6D=hu(),cD0=rn0.default.getInstance().get("@oclif/core"),an0=(Q,K)=>Boolean(Q?.commands[K]&&"isESM"in Q.commands[K]&&"relativePath"in Q.commands[K]),lD0=(Q)=>{if(typeof Q.run==="function")return Q;if(Q.default&&Q.default.run)return Q.default;return Object.values(Q).find((K)=>typeof K.run==="function")},iD0=(Q)=>{if(Q&&typeof Q.run==="function")return Q},rD0=["**/*.+(js|cjs|mjs|ts|tsx|mts|cts)","!**/*.+(d.ts|test.ts|test.js|spec.ts|spec.js|d.mts|d.cts)?(x)"];class oD0{options;alias;alreadyLoaded=!1;children=[];commandIDs=[];commands;commandsDir;hasManifest=!1;hooks;isRoot=!1;manifest;moduleType;name;parent;pjson;root;tag;type;valid=!1;version;_base=`${cD0.name}@${cD0.version}`;_debug=G6D.Debug();commandCache;commandDiscoveryOpts;flexibleTaxonomy;constructor(Q){this.options=Q}get topics(){return tHD(this.pjson.oclif.topics||{})}async findCommand(Q,K={}){const G=qf.Performance.mark(qf.OCLIF_MARKER_OWNER,`plugin.findCommand#${this.name}.${Q}`,{id:Q,plugin:this.name}),y=await(async()=>{if(this.commandDiscoveryOpts?.strategy==="pattern"){const x=await this.getCommandsDir();if(!x)return;let _,VD,OD;try{({filePath:OD,isESM:VD,module:_}=an0(this.manifest,Q)?await U6D.loadWithDataFromManifest(this.manifest.commands[Q],this.root):await U6D.loadWithData(this,Wf.join(x??this.pjson.oclif.commands,...Q.split(":")))),this._debug(VD?"(import)":"(require)",OD)}catch(a){if(!K.must&&a.code==="MODULE_NOT_FOUND")return;throw a}const HD=lD0(_);if(!HD)return;return HD.id=Q,HD.plugin=this,HD.isESM=VD,HD.relativePath=Wf.relative(this.root,OD||"").split(Wf.sep),HD}if(this.commandDiscoveryOpts?.strategy==="single"||this.commandDiscoveryOpts?.strategy==="explicit"){const x=await this.loadCommandsFromTarget(),_=iD0(x?.[Q]);if(!_)return;return _.id=Q,_.plugin=this,_}})();if(!y&&K.must)Bc.error(`command ${Q} not found`);return G?.stop(),y}async load(){if(this.type=this.options.type??"core",this.tag=this.options.tag,this.isRoot=this.options.isRoot??!1,this.options.parent)this.parent=this.options.parent;const Q=this.options.pjson&&this.options.isRoot?this.options.root:this.type==="link"&&!this.parent?this.options.root:await sn0.findRoot(this.options.name,this.options.root);if(!Q)throw new Bc.CLIError(`could not find package.json with ${gD0.inspect(this.options)}`);if(this.root=Q,this._debug(`loading ${this.type} plugin from ${Q}`),this.pjson=this.options.pjson??await mD0.readJson(Wf.join(Q,"package.json")),this.flexibleTaxonomy=this.options?.flexibleTaxonomy||this.pjson.oclif?.flexibleTaxonomy||!1,this.moduleType=this.pjson.type==="module"?"module":"commonjs",this.name=this.pjson.name,this.alias=this.options.name??this.pjson.name,!this.name)throw new Bc.CLIError(`no name in package.json (${Q})`);if(this._debug=G6D.Debug(this.name),this.version=this.pjson.version,this.pjson.oclif)this.valid=!0;else this.pjson.oclif=this.pjson["cli-engine"]||{};this.hooks=Object.fromEntries(Object.entries(this.pjson.oclif.hooks??{}).map(([K,G])=>[K,dD0.castArray(G).map((C)=>Dr0(C))])),this.commandDiscoveryOpts=en0(this.pjson.oclif?.commands,this.pjson.oclif?.default),this._debug("command discovery options",this.commandDiscoveryOpts),this.manifest=await this._manifest(),this.commands=Object.entries(this.manifest.commands).map(([K,G])=>({...G,load:async()=>this.findCommand(K,{must:!0}),pluginAlias:this.alias,pluginType:G.pluginType==="jit"?"jit":this.type})).sort((K,G)=>K.id.localeCompare(G.id))}async _manifest(){const Q=Boolean(this.options.ignoreManifest),K=Boolean(this.options.errorOnManifestCreate),G=Boolean(this.options.respectNoCacheDefault),C=async(_=!1)=>{try{const VD=Wf.join(this.root,`${_?".":""}oclif.manifest.json`),OD=await mD0.readJson(VD);if(!process.env.OCLIF_NEXT_VERSION&&OD.version.split("-")[0]!==this.version.split("-")[0])process.emitWarning(`Mismatched version in ${this.name} plugin manifest. Expected: ${this.version} Received: ${OD.version}\nThis usually means you have an oclif.manifest.json file that should be deleted in development. This file should be automatically generated when publishing.`);else return this._debug("using manifest from",VD),this.hasManifest=!0,OD}catch(VD){if(VD.code==="ENOENT"){if(!_)return C(!0)}else this.warn(VD,"readManifest")}},y=qf.Performance.mark(qf.OCLIF_MARKER_OWNER,`plugin.manifest#${this.name}`,{plugin:this.name});if(!Q){const _=await C();if(_)return y?.addDetails({commandCount:Object.keys(_.commands).length,fromCache:!0}),y?.stop(),this.commandIDs=Object.keys(_.commands),_}this.commandIDs=await this.getCommandIDs();const x={commands:(await Promise.all(this.commandIDs.map(async(_)=>{try{const VD=await this.findCommand(_,{must:!0}),OD=await on0.cacheCommand(VD,this,G);if(OD.id=_,this.flexibleTaxonomy){const HD=G6D.getCommandIdPermutations(_),a=OD.aliases.flatMap((bD)=>G6D.getCommandIdPermutations(bD));return[_,{...OD,aliasPermutations:a,permutations:HD}]}return[_,OD]}catch(VD){const OD=`findCommand (${_})`;if(Boolean(K)===!1)this.warn(VD,OD);else throw this.addErrorScope(VD,OD)}}))).filter((_)=>Boolean(_)).reduce((_,[VD,OD])=>{return _[VD]=OD,_},{}),version:this.version};return y?.addDetails({commandCount:Object.keys(x.commands).length,fromCache:!1}),y?.stop(),x}addErrorScope(Q,K){return Q.name=Q.name??gD0.inspect(Q).trim(),Q.detail=dD0.compact([Q.detail,`module: ${this._base}`,K&&`task: ${K}`,`plugin: ${this.name}`,`root: ${this.root}`,"See more details with DEBUG=*"]).join("\n"),Q}async getCommandIDs(){const Q=qf.Performance.mark(qf.OCLIF_MARKER_OWNER,`plugin.getCommandIDs#${this.name}`,{plugin:this.name});let K;switch(this.commandDiscoveryOpts?.strategy){case"explicit":{K=await this.getCommandIdsFromTarget()??[];break}case"pattern":{K=await this.getCommandIdsFromPattern();break}case"single":{K=await this.getCommandIdsFromTarget()??[];break}default:K=[]}return this._debug("found commands",K),Q?.addDetails({count:K.length}),Q?.stop(),K}async getCommandIdsFromPattern(){const Q=await this.getCommandsDir();if(!Q)return[];this._debug(`loading IDs from ${Q}`);const K=await nn0.default(this.commandDiscoveryOpts?.globPatterns??rD0,{cwd:Q});return tn0(K)}async getCommandIdsFromTarget(){if(await this.loadCommandsFromTarget())return Object.entries(await this.loadCommandsFromTarget()??[]).filter(([,K])=>iD0(K)).map(([K])=>K)}async getCommandsDir(){if(this.commandsDir)return this.commandsDir;return this.commandsDir=await aHD.tsPath(this.root,this.commandDiscoveryOpts?.target,this),this.commandsDir}async loadCommandsFromTarget(){if(this.commandCache)return this.commandCache;if(this.commandDiscoveryOpts?.strategy==="explicit"&&this.commandDiscoveryOpts.target){const Q=await aHD.tsPath(this.root,this.commandDiscoveryOpts.target,this),K=await U6D.load(this,Q);return this.commandCache=K[this.commandDiscoveryOpts?.identifier??"default"]??{},this.commandCache}if(this.commandDiscoveryOpts?.strategy==="single"&&this.commandDiscoveryOpts.target){const Q=await aHD.tsPath(this.root,this.commandDiscoveryOpts?.target??this.root,this),K=await U6D.load(this,Q);return this.commandCache={[nD0.SINGLE_COMMAND_CLI_SYMBOL]:lD0(K)},this.commandCache}}warn(Q,K){if(typeof Q==="string")Q=new Error(Q);const G=this.addErrorScope(Q,K);process.emitWarning(G.name,G)}}Uf.Plugin=oD0});var eD0=r0((Sj)=>{var cR=function(Q,K){return Object.keys(Q).filter((G)=>K.some((C)=>Jr0.minimatch(G,C)))},Fr0=Sj&&Sj.__createBinding||(Object.create?function(Q,K,G,C){if(C===void 0)C=G;var y=Object.getOwnPropertyDescriptor(K,G);if(!y||("get"in y?!K.__esModule:y.writable||y.configurable))y={enumerable:!0,get:function(){return K[G]}};Object.defineProperty(Q,C,y)}:function(Q,K,G,C){if(C===void 0)C=G;Q[C]=K[G]}),$r0=Sj&&Sj.__setModuleDefault||(Object.create?function(Q,K){Object.defineProperty(Q,"default",{enumerable:!0,value:K})}:function(Q,K){Q.default=K}),Zr0=Sj&&Sj.__importStar||function(Q){if(Q&&Q.__esModule)return Q;var K={};if(Q!=null){for(var G in Q)if(G!=="default"&&Object.prototype.hasOwnProperty.call(Q,G))Fr0(K,Q,G)}return $r0(K,Q),K};Object.defineProperty(Sj,"__esModule",{value:!0});var Jr0=AoD(),DMD=i8("node:path"),Gf=Bf(),FMD=Ej(),Br0=cB(),sD0=Zr0(eHD()),Xr0=hu(),aD0=Xr0.Debug();class tD0{options;errors=[];plugins=new Map;pluginsProvided=!1;constructor(Q){if(this.options=Q,Q.plugins)this.pluginsProvided=!0,this.plugins=Array.isArray(Q.plugins)?new Map(Q.plugins.map((K)=>[K.name,K])):Q.plugins}async loadChildren(Q){if(!this.pluginsProvided||Q.force)await this.loadUserPlugins(Q),await this.loadDevPlugins(Q),await this.loadCorePlugins(Q);return{errors:this.errors,plugins:this.plugins}}async loadRoot({pjson:Q}){let K;if(this.pluginsProvided){const G=[...this.plugins.values()];K=G.find((C)=>C.root===this.options.root)??G[0]}else{const G=Gf.Performance.mark(Gf.OCLIF_MARKER_OWNER,"plugin.load#root");K=new sD0.Plugin({isRoot:!0,pjson:Q,root:this.options.root}),await K.load(),G?.addDetails({commandCount:K.commands.length,hasManifest:K.hasManifest??!1,name:K.name,topicCount:K.topics.length,type:K.type,usesMain:Boolean(K.pjson.main)}),G?.stop()}return this.plugins.set(K.name,K),K}async loadCorePlugins(Q){const{plugins:K}=Q.rootPlugin.pjson.oclif;if(K){const y=cR(Q.rootPlugin.pjson.dependencies??{},K);await this.loadPlugins(Q.rootPlugin.root,"core",y)}const{core:G,path:C}=Q.pluginAdditions??{core:[]};if(G)if(C){const y=await FMD.readJson(DMD.join(C,"package.json")),x=cR(y.dependencies??{},G);await this.loadPlugins(C,"core",x)}else{const y=cR(Q.rootPlugin.pjson.dependencies??{},G);await this.loadPlugins(Q.rootPlugin.root,"core",y)}}async loadDevPlugins(Q){if(Q.devPlugins!==!1){if(Br0.isProd())return;try{const{devPlugins:K}=Q.rootPlugin.pjson.oclif;if(K){const y={...Q.rootPlugin.pjson.dependencies,...Q.rootPlugin.pjson.devDependencies},x=cR(y??{},K);await this.loadPlugins(Q.rootPlugin.root,"dev",x)}const{dev:G,path:C}=Q.pluginAdditions??{core:[]};if(G)if(C){const y=await FMD.readJson(DMD.join(C,"package.json")),x={...y.dependencies,...y.devDependencies},_=cR(x??{},G);await this.loadPlugins(C,"dev",_)}else{const y={...Q.rootPlugin.pjson.dependencies,...Q.rootPlugin.pjson.devDependencies},x=cR(y??{},G);await this.loadPlugins(Q.rootPlugin.root,"dev",x)}}catch(K){process.emitWarning(K)}}}async loadPlugins(Q,K,G,C){if(!G||G.length===0)return;const y=Gf.Performance.mark(Gf.OCLIF_MARKER_OWNER,`config.loadPlugins#${K}`);aD0("loading plugins",G),await Promise.all((G||[]).map(async(x)=>{try{const _=typeof x==="string"?x:x.name,VD={name:_,root:Q,type:K};if(typeof x!=="string")VD.tag=x.tag||VD.tag,VD.root=x.root||VD.root,VD.url=x.url;if(C)VD.parent=C;if(this.plugins.has(_))return;const OD=Gf.Performance.mark(Gf.OCLIF_MARKER_OWNER,`plugin.load#${_}`),HD=new sD0.Plugin(VD);if(await HD.load(),OD?.addDetails({commandCount:HD.commands.length,hasManifest:HD.hasManifest,name:HD.name,topicCount:HD.topics.length,type:HD.type,usesMain:Boolean(HD.pjson.main)}),OD?.stop(),this.plugins.set(HD.name,HD),C){if(HD.parent=C,!C.children)C.children=[];C.children.push(HD)}if(HD.pjson.oclif.plugins){const a=K==="dev"?{...HD.pjson.dependencies,...HD.pjson.devDependencies}:HD.pjson.dependencies,bD=cR(a??{},HD.pjson.oclif.plugins);await this.loadPlugins(HD.root,K,bD,HD)}}catch(_){this.errors.push(_)}})),y?.addDetails({pluginCount:G.length}),y?.stop()}async loadUserPlugins(Q){if(Q.userPlugins!==!1)try{const K=DMD.join(Q.dataDir,"package.json");aD0("reading user plugins pjson %s",K);const G=await FMD.readJson(K);if(!G.oclif)G.oclif={schema:1};if(!G.oclif.plugins)G.oclif.plugins=[];await this.loadPlugins(K,"user",G.oclif.plugins.filter((C)=>C.type==="user")),await this.loadPlugins(K,"link",G.oclif.plugins.filter((C)=>C.type==="link"))}catch(K){if(K.code!=="ENOENT")process.emitWarning(K)}}}Sj.default=tD0});var B00=r0((BW)=>{var jr0=function(Q){const K=Q.match(/[^-]+(?:-([^.]+))?/);return K&&K[1]||"stable"},Lr0=function(Q){return Q&&Boolean(Q._base)},Yr0=BW&&BW.__createBinding||(Object.create?function(Q,K,G,C){if(C===void 0)C=G;var y=Object.getOwnPropertyDescriptor(K,G);if(!y||("get"in y?!K.__esModule:y.writable||y.configurable))y={enumerable:!0,get:function(){return K[G]}};Object.defineProperty(Q,C,y)}:function(Q,K,G,C){if(C===void 0)C=G;Q[C]=K[G]}),Qr0=BW&&BW.__setModuleDefault||(Object.create?function(Q,K){Object.defineProperty(Q,"default",{enumerable:!0,value:K})}:function(Q,K){Q.default=K}),Vr0=BW&&BW.__importStar||function(Q){if(Q&&Q.__esModule)return Q;var K={};if(Q!=null){for(var G in Q)if(G!=="default"&&Object.prototype.hasOwnProperty.call(Q,G))Yr0(K,Q,G)}return Qr0(K,Q),K},BMD=BW&&BW.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(BW,"__esModule",{value:!0});BW.Config=void 0;var zr0=Vr0(wUD()),Kr0=BMD(urD()),Hf=i8("node:os"),uj=i8("node:path"),D00=i8("node:url"),J00=BMD(lU()),qr0=od(),Wr0=TR(),Mf=eq(),Ur0=mu(),Gr0=wd(),zQ=Bf(),$MD=dC(),F00=Ej(),$00=_rD(),H6D=cB(),Hr0=BMD(eD0()),Mr0=_u(),Yc=hu(),Xc=Yc.Debug(),Z00=J00.default.getInstance().get("@oclif/core"),ZMD=`${Z00.name}@${Z00.version}`,Or0=new Set(["preparse"]);class JMD extends Map{validPermutations=new Map;add(Q,K){this.validPermutations.set(Q,K);for(let G of Yc.collectUsableIds([Q]))if(this.has(G))this.set(G,this.get(G).add(K));else this.set(G,new Set([K]))}get(Q){return super.get(Q)??new Set}getAllValid(){return[...this.validPermutations.keys()]}getValid(Q){return this.validPermutations.get(Q)}hasValid(Q){return this.validPermutations.has(Q)}}class M6D{options;arch;bin;binAliases;binPath;cacheDir;channel;configDir;dataDir;debug=0;dirname;errlog;flexibleTaxonomy;home;isSingleCommandCLI=!1;name;npmRegistry;nsisCustomization;pjson;platform;plugins=new Map;root;shell;theme;topicSeparator=":";userAgent;userPJSON;valid;version;warned=!1;windows;_base=ZMD;_commandIDs;_commands=new Map;_topics=new Map;commandPermutations=new JMD;pluginLoader;rootPlugin;topicPermutations=new JMD;constructor(Q){this.options=Q}static async load(Q="config.js"){if(typeof Q==="string"&&Q.startsWith("file://"))Q=D00.fileURLToPath(Q);if(typeof Q==="string")Q={root:Q};if(Lr0(Q)){if(ZMD!==Q._base){Xc(`reloading config from ${Q._base} to ${ZMD}`);const G=new M6D({...Q.options,plugins:Q.plugins});return await G.load(),G}return Q}const K=new M6D(Q);return await K.load(),K}static get rootPlugin(){return this.rootPlugin}get commandIDs(){if(this._commandIDs)return this._commandIDs;return this._commandIDs=this.commands.map((Q)=>Q.id),this._commandIDs}get commands(){return[...this._commands.values()]}get isProd(){return H6D.isProd()}get topics(){return[...this._topics.values()]}get versionDetails(){const[Q,K,G]=this.userAgent.split(" ");return{architecture:K,cliVersion:Q,nodeVersion:G,osVersion:`${Hf.type()} ${Hf.release()}`,pluginVersions:Object.fromEntries([...this.plugins.values()].map((C)=>[C.name,{root:C.root,type:C.type,version:C.version}])),rootPath:this.root,shell:this.shell}}dir(Q){const K=process.env[`XDG_${Q.toUpperCase()}_HOME`]||this.windows&&process.env.LOCALAPPDATA||uj.join(this.home,Q==="data"?".local/share":"."+Q);return uj.join(K,this.dirname)}findCommand(Q,K={}){const G=this.getCmdLookupId(Q),C=this._commands.get(G);if(K.must&&!C)Mf.error(`command ${G} not found`);return C}findMatches(Q,K){const G=K.filter((x)=>!Ur0.getHelpFlagAdditions(this).includes(x)&&x.startsWith("-")).map((x)=>x.replaceAll("-",""));return[...this.commandPermutations.get(Q)].map((x)=>this._commands.get(x)).filter((x)=>{const _=Object.entries(x.flags).flatMap(([VD,OD])=>OD.char?[OD.char,VD]:[VD]);return G.every((VD)=>_.includes(VD))})}findTopic(Q,K={}){const G=this.getTopicLookupId(Q),C=this._topics.get(G);if(C)return C;if(K.must)throw new Error(`topic ${Q} not found`)}getAllCommandIDs(){return this.getAllCommands().map((Q)=>Q.id)}getAllCommands(){const Q=[...this._commands.values()],K=[...this.commandPermutations.getAllValid()];for(let G of K)if(!this._commands.has(G)){const C=this._commands.get(this.getCmdLookupId(G));Q.push({...C,id:G})}return Q}getPluginsList(){return[...this.plugins.values()]}async load(){$MD.settings.performanceEnabled=($MD.settings.performanceEnabled===void 0?this.options.enablePerf:$MD.settings.performanceEnabled)??!1;const Q=zQ.Performance.mark(zQ.OCLIF_MARKER_OWNER,"config.load");this.pluginLoader=new Hr0.default({plugins:this.options.plugins,root:this.options.root}),this.rootPlugin=await this.pluginLoader.loadRoot({pjson:this.options.pjson});const K=J00.default.getInstance();if(K.set("rootPlugin",this.rootPlugin),K.set("exitCodes",this.rootPlugin.pjson.oclif.exitCodes??{}),this.root=this.rootPlugin.root,this.pjson=this.rootPlugin.pjson,this.plugins.set(this.rootPlugin.name,this.rootPlugin),this.root=this.rootPlugin.root,this.pjson=this.rootPlugin.pjson,this.name=this.pjson.name,this.version=this.options.version||this.pjson.version||"0.0.0",this.channel=this.options.channel||jr0(this.version),this.valid=this.rootPlugin.valid,this.arch=Hf.arch()==="ia32"?"x86":Hf.arch(),this.platform=Kr0.default?"wsl":$00.getPlatform(),this.windows=this.platform==="win32",this.bin=this.pjson.oclif.bin||this.name,this.binAliases=this.pjson.oclif.binAliases,this.nsisCustomization=this.pjson.oclif.nsisCustomization,this.dirname=this.pjson.oclif.dirname||this.name,this.flexibleTaxonomy=this.pjson.oclif.flexibleTaxonomy||!1,this.pjson.oclif.topicSeparator&&[" ",":"].includes(this.pjson.oclif.topicSeparator))this.topicSeparator=this.pjson.oclif.topicSeparator;if(this.platform==="win32")this.dirname=this.dirname.replace("/","\\");if(this.userAgent=`${this.name}/${this.version} ${this.platform}-${this.arch} node-${process.version}`,this.shell=this._shell(),this.debug=this._debug(),this.home=process.env.HOME||this.windows&&this.windowsHome()||$00.getHomeDir()||Hf.tmpdir(),this.cacheDir=this.scopedEnvVar("CACHE_DIR")||this.macosCacheDir()||this.dir("cache"),this.configDir=this.scopedEnvVar("CONFIG_DIR")||this.dir("config"),this.dataDir=this.scopedEnvVar("DATA_DIR")||this.dir("data"),this.errlog=uj.join(this.cacheDir,"error.log"),this.binPath=this.scopedEnvVar("BINPATH"),this.npmRegistry=this.scopedEnvVar("NPM_REGISTRY")||this.pjson.oclif.npmRegistry,!this.scopedEnvVarTrue("DISABLE_THEME")){const{theme:C}=await this.loadThemes();this.theme=C}this.pjson.oclif.update=this.pjson.oclif.update||{},this.pjson.oclif.update.node=this.pjson.oclif.update.node||{};const G=this.pjson.oclif.update.s3||{};if(this.pjson.oclif.update.s3=G,G.bucket=this.scopedEnvVar("S3_BUCKET")||G.bucket,G.bucket&&!G.host)G.host=`https://${G.bucket}.s3.amazonaws.com`;G.templates={...G.templates,target:{baseDir:"<%- bin %>",manifest:"<%- channel === 'stable' ? '' : 'channels/' + channel + '/' %><%- platform %>-<%- arch %>",unversioned:"<%- channel === 'stable' ? '' : 'channels/' + channel + '/' %><%- bin %>-<%- platform %>-<%- arch %><%- ext %>",versioned:"<%- channel === 'stable' ? '' : 'channels/' + channel + '/' %><%- bin %>-v<%- version %>/<%- bin %>-v<%- version %>-<%- platform %>-<%- arch %><%- ext %>",...G.templates&&G.templates.target},vanilla:{baseDir:"<%- bin %>",manifest:"<%- channel === 'stable' ? '' : 'channels/' + channel + '/' %>version",unversioned:"<%- channel === 'stable' ? '' : 'channels/' + channel + '/' %><%- bin %><%- ext %>",versioned:"<%- channel === 'stable' ? '' : 'channels/' + channel + '/' %><%- bin %>-v<%- version %>/<%- bin %>-v<%- version %><%- ext %>",...G.templates&&G.templates.vanilla}},this.isSingleCommandCLI=Boolean(this.pjson.oclif.default||typeof this.pjson.oclif.commands!=="string"&&this.pjson.oclif.commands?.strategy==="single"&&this.pjson.oclif.commands?.target),await this.loadPluginsAndCommands(),Xc("config done"),Q?.addDetails({commandPermutations:this.commands.length,commands:[...this.plugins.values()].reduce((C,y)=>C+y.commands.length,0),plugins:this.plugins.size,topics:this.topics.length}),Q?.stop()}async loadPluginsAndCommands(Q){const K=zQ.Performance.mark(zQ.OCLIF_MARKER_OWNER,"config.loadAllPlugins"),{errors:G,plugins:C}=await this.pluginLoader.loadChildren({dataDir:this.dataDir,devPlugins:this.options.devPlugins,force:Q?.force??!1,pluginAdditions:this.options.pluginAdditions,rootPlugin:this.rootPlugin,userPlugins:this.options.userPlugins});this.plugins=C,K?.stop();const y=zQ.Performance.mark(zQ.OCLIF_MARKER_OWNER,"config.loadAllCommands");for(let x of this.plugins.values())this.loadCommands(x),this.loadTopics(x);y?.stop();for(let x of G)this.warn(x)}async loadThemes(){const Q=this.pjson.oclif.theme?uj.resolve(this.root,this.pjson.oclif.theme):this.pjson.oclif.theme,K=uj.resolve(this.configDir,"theme.json"),[G,C]=await Promise.all([Q?await F00.safeReadJson(Q):void 0,await F00.safeReadJson(K)]),y={...G,...C};return{file:C?K:Q,theme:Object.keys(y).length>0?Wr0.parseTheme(y):void 0}}macosCacheDir(){return this.platform==="darwin"&&uj.join(this.home,"Library","Caches",this.dirname)||void 0}async runCommand(Q,K=[],G=null){const C=zQ.Performance.mark(zQ.OCLIF_MARKER_OWNER,`config.runCommand#${Q}`);Xc("runCommand %s %o",Q,K);let y=G??this.findCommand(Q);if(!y){const VD=this.flexibleTaxonomy?this.findMatches(Q,K):[],OD=this.flexibleTaxonomy&&VD.length>0?await this.runHook("command_incomplete",{argv:K,id:Q,matches:VD}):await this.runHook("command_not_found",{argv:K,id:Q});if(OD.successes[0])return OD.successes[0].result;if(OD.failures[0])throw OD.failures[0].error;throw new Mf.CLIError(`command ${Q} not found`)}if(this.isJitPluginCommand(y)){const VD=y.pluginName,OD=this.pjson.oclif.jitPlugins[VD],HD=await this.runHook("jit_plugin_not_installed",{argv:K,command:y,id:Q,pluginName:VD,pluginVersion:OD});if(HD.failures[0])throw HD.failures[0].error;if(HD.successes[0])await this.loadPluginsAndCommands({force:!0}),y=this.findCommand(Q)??y;else{const a=await this.runHook("command_not_found",{argv:K,id:Q});if(a.successes[0])return a.successes[0].result;if(a.failures[0])throw a.failures[0].error;throw new Mf.CLIError(`command ${Q} not found`)}}const x=await y.load();await this.runHook("prerun",{Command:x,argv:K});const _=await x.run(K,this);if(y.id==="plugins:uninstall")for(let VD of K)this.plugins.delete(VD);return await this.runHook("postrun",{Command:x,argv:K,result:_}),C?.addDetails({command:Q,plugin:y.pluginName}),C?.stop(),_}async runHook(Q,K,G,C){const y=zQ.Performance.mark(zQ.OCLIF_MARKER_OWNER,`config.runHook#${Q}`);Xc("start %s hook",Q);const x=(a)=>{if(typeof a==="function")return a;if(a.default&&typeof a.default==="function")return a.default;return Object.values(a).find((bD)=>typeof bD==="function")},_=async(a,bD)=>{let ED;const XD=new Promise((UD,TD)=>{ED=setTimeout(()=>{TD(new Error(`Timed out after ${a} ms.`))},a).unref()});return Promise.race([bD,XD]).then((UD)=>{return clearTimeout(ED),UD})},VD={failures:[],successes:[]},HD=(Or0.has(Q)?[this.rootPlugin]:[...this.plugins.values()]).map(async(a)=>{const bD=i8("debug")([this.bin,a.name,"hooks",Q].join(":")),ED={config:this,debug:bD,error(UD,TD={}){Mf.error(UD,TD)},exit(UD=0){Mf.exit(UD)},log(UD,...TD){qr0.ux.info(UD,...TD)},warn(UD){Mf.warn(UD)}},XD=a.hooks[Q]||[];for(let UD of XD){const TD=zQ.Performance.mark(zQ.OCLIF_MARKER_OWNER,`config.runHook#${a.name}(${UD.target})`);try{const{filePath:nD,isESM:Z0,module:M0}=await Gr0.loadWithData(a,await Mr0.tsPath(a.root,UD.target,a));bD("start",Z0?"(import)":"(require)",nD);const a1=M0[UD.identifier]??(UD.identifier==="default"?x(M0):void 0);if(!a1){bD("No hook found for hook definition:",UD);continue}const D8=G?await _(G,a1.call(ED,{...K,config:this,context:ED})):await a1.call(ED,{...K,config:this,context:ED});if(VD.successes.push({plugin:a,result:D8}),a.name==="@oclif/plugin-legacy"&&Q==="init")this.insertLegacyPlugins(D8);bD("done")}catch(nD){if(VD.failures.push({error:nD,plugin:a}),bD(nD),!C&&nD.oclif?.exit!==void 0&&nD.oclif?.exit!==0&&nD.code!=="MODULE_NOT_FOUND")throw nD}TD?.addDetails({event:Q,hook:UD.target,plugin:a.name}),TD?.stop()}});return await Promise.all(HD),Xc("%s hook done",Q),y?.stop(),VD}s3Key(Q,K,G={}){if(typeof K==="object")G=K;else if(K)G.ext=K;const C=this.pjson.oclif.update.s3.templates[G.platform?"target":"vanilla"][Q]??"";return zr0.render(C,{...this,...G})}s3Url(Q){const{host:K}=this.pjson.oclif.update.s3;if(!K)throw new Error("no s3 host is set");const G=new D00.URL(K);return G.pathname=uj.join(G.pathname,Q),G.toString()}scopedEnvVar(Q){return process.env[this.scopedEnvVarKeys(Q).find((K)=>process.env[K])]}scopedEnvVarKey(Q){return[this.bin,Q].map((K)=>K.replaceAll("@","").replaceAll(/[/-]/g,"_")).join("_").toUpperCase()}scopedEnvVarKeys(Q){return[this.bin,...this.binAliases??[]].filter(Boolean).map((K)=>[K.replaceAll("@","").replaceAll(/[/-]/g,"_"),Q].join("_").toUpperCase())}scopedEnvVarTrue(Q){const K=this.scopedEnvVar(Q);return K==="1"||K==="true"}warn(Q,K){if(this.warned)return;if(typeof Q==="string"){process.emitWarning(Q);return}if(Q instanceof Error){const G=Q;G.name=`${Q.name} Plugin: ${this.name}`,G.detail=H6D.compact([Q.detail,`module: ${this._base}`,K&&`task: ${K}`,`plugin: ${this.name}`,`root: ${this.root}`,"See more details with DEBUG=*"]).join("\n"),process.emitWarning(Q);return}process.emitWarning("Config.warn expected either a string or Error, but instead received an object"),Q.name=`${Q.name} Plugin: ${this.name}`,Q.detail=H6D.compact([Q.detail,`module: ${this._base}`,K&&`task: ${K}`,`plugin: ${this.name}`,`root: ${this.root}`,"See more details with DEBUG=*"]).join("\n"),process.emitWarning(JSON.stringify(Q))}windowsHome(){return this.windowsHomedriveHome()||this.windowsUserprofileHome()}windowsHomedriveHome(){return process.env.HOMEDRIVE&&process.env.HOMEPATH&&uj.join(process.env.HOMEDRIVE,process.env.HOMEPATH)}windowsUserprofileHome(){return process.env.USERPROFILE}_debug(){if(this.scopedEnvVarTrue("DEBUG"))return 1;try{const{enabled:Q}=i8("debug")(this.bin);if(Q)return 1}catch{}return 0}_shell(){let Q;const{COMSPEC:K}=process.env,G=process.env.SHELL??Hf.userInfo().shell?.split(uj.sep)?.pop();if(G)Q=G.split("/");else if(this.windows&&K)Q=K.split(/\\|\//);else Q=["unknown"];return Q.at(-1)??"unknown"}determinePriority(Q){const K=this.pjson.oclif?.plugins??[];return Q.sort((C,y)=>{const x=C.pluginAlias??"A-Cannot-Find-This",_=y.pluginAlias??"B-Cannot-Find-This",VD=K.indexOf(x),OD=K.indexOf(_);if(C.pluginType==="core"&&y.pluginType==="core")return VD-OD;if(y.pluginType==="core"&&C.pluginType!=="core")return 1;if(C.pluginType==="core"&&y.pluginType!=="core")return-1;if(C.pluginType==="jit"&&y.pluginType!=="jit")return 1;if(y.pluginType==="jit"&&C.pluginType!=="jit")return-1;return 0})[0]}getCmdLookupId(Q){if(this._commands.has(Q))return Q;if(this.commandPermutations.hasValid(Q))return this.commandPermutations.getValid(Q);return Q}getTopicLookupId(Q){if(this._topics.has(Q))return Q;if(this.topicPermutations.hasValid(Q))return this.topicPermutations.getValid(Q);return Q}insertLegacyPlugins(Q){for(let K of Q){this.plugins.set(K.name,K);for(let G of K.commands??[]){this._commands.delete(G.id);for(let C of[...G.aliases??[],...G.hiddenAliases??[]])this._commands.delete(C)}this.loadCommands(K)}}isJitPluginCommand(Q){return Object.keys(this.pjson.oclif.jitPlugins??{}).includes(Q.pluginName??"")&&Boolean(Q?.pluginName&&!this.plugins.has(Q.pluginName))}loadCommands(Q){const K=zQ.Performance.mark(zQ.OCLIF_MARKER_OWNER,`config.loadCommands#${Q.name}`,{plugin:Q.name});for(let G of Q.commands){if(this._commands.has(G.id)){const x=this.determinePriority([this._commands.get(G.id),G]);this._commands.set(x.id,x)}else this._commands.set(G.id,G);const C=this.flexibleTaxonomy&&G.permutations===void 0?Yc.getCommandIdPermutations(G.id):G.permutations??[G.id];for(let x of C)this.commandPermutations.add(x,G.id);const y=(x,_=!1)=>{if(this._commands.has(x)){const OD=this.determinePriority([this._commands.get(x),G]);this._commands.set(x,{...OD,id:x})}else this._commands.set(x,{...G,hidden:_,id:x});const VD=this.flexibleTaxonomy&&G.aliasPermutations===void 0?Yc.getCommandIdPermutations(x):G.permutations??[x];for(let OD of VD)this.commandPermutations.add(OD,G.id)};for(let x of G.aliases??[])y(x);for(let x of G.hiddenAliases??[])y(x,!0)}K?.addDetails({commandCount:Q.commands.length}),K?.stop()}loadTopics(Q){const K=zQ.Performance.mark(zQ.OCLIF_MARKER_OWNER,`config.loadTopics#${Q.name}`,{plugin:Q.name});for(let G of H6D.compact(Q.topics)){const C=this._topics.get(G.name);if(C)C.description=G.description||C.description,C.hidden=C.hidden||G.hidden;else this._topics.set(G.name,G);const y=this.flexibleTaxonomy?Yc.getCommandIdPermutations(G.name):[G.name];for(let x of y)this.topicPermutations.add(x,G.name)}for(let G of Q.commands.filter((C)=>!C.hidden)){const C=G.id.split(":");while(C.length>0){const y=C.join(":");if(y&&!this._topics.has(y))this._topics.set(y,{description:G.summary||G.description,name:y});C.pop()}}K?.stop()}}BW.Config=M6D});var O6D=r0((Qc)=>{Object.defineProperty(Qc,"__esModule",{value:!0});Qc.tsPath=Qc.Plugin=Qc.Config=void 0;var Ar0=B00();Object.defineProperty(Qc,"Config",{enumerable:!0,get:function(){return Ar0.Config}});var Cr0=eHD();Object.defineProperty(Qc,"Plugin",{enumerable:!0,get:function(){return Cr0.Plugin}});var Er0=_u();Object.defineProperty(Qc,"tsPath",{enumerable:!0,get:function(){return Er0.tsPath}})});var Y00=r0((M01,X00)=>{var j6D=X00.exports=function(Q,K,G){if(typeof Q==="object")G=Q,Q=G.start,K=G.stop;if(typeof K==="object")G=K,Q=Q||G.start,K=void 0;if(!K)K=Q,Q=0;if(!G)G={};var C=G.mode||"soft",y=C==="hard"?/\b/:/(\S+\s+)/;return function(x){var _=x.toString().split(y).reduce(function(VD,OD){if(C==="hard")for(var HD=0;HD<OD.length;HD+=K-Q)VD.push(OD.slice(HD,HD+K-Q));else VD.push(OD);return VD},[]);return _.reduce(function(VD,OD){if(OD==="")return VD;var HD=OD.replace(/\t/g," "),a=VD.length-1;if(VD[a].length+HD.length>K)VD[a]=VD[a].replace(/\s+$/,""),HD.split(/\n/).forEach(function(ED){VD.push(new Array(Q+1).join(" ")+ED.replace(/^\s+/,""))});else if(HD.match(/\n/)){var bD=HD.split(/\n/);VD[a]+=bD.shift(),bD.forEach(function(ED){VD.push(new Array(Q+1).join(" ")+ED.replace(/^\s+/,""))})}else VD[a]+=HD;return VD},[new Array(Q+1).join(" ")]).join("\n")}};j6D.soft=j6D;j6D.hard=function(Q,K){return j6D(Q,K,{mode:"hard"})}});var z00=r0((Q00)=>{var yr0=function(Q,K){return Ir0(Q,Tr0.stdtermwidth,{skipScheme:"ansi-color"})(K).trim()},Pr0=function(Q){if(Q.length===0)return"";const K=Rr0.maxBy(Q,(C)=>C[0].length)?.[0].length??0;return Q.map((C)=>{let y=C[0],x=C[1];if(!x)return y;return y=y.padEnd(K),x=yr0(K+2,x),`${y} ${x}`}).join("\n")};Object.defineProperty(Q00,"__esModule",{value:!0});Q00.renderList=void 0;var Tr0=AR(),Rr0=cB(),Ir0=Y00();Q00.renderList=Pr0});var XMD=r0((YJ)=>{var K00=YJ&&YJ.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(YJ,"__esModule",{value:!0});YJ.FailedFlagValidationError=YJ.ArgInvalidOptionError=YJ.FlagInvalidOptionError=YJ.NonExistentFlagsError=YJ.UnexpectedArgsError=YJ.RequiredArgsError=YJ.InvalidArgsSpecError=YJ.CLIParseError=YJ.CLIError=void 0;var wr0=K00(CK()),Vc=K00(lU()),q00=z00(),Sr0=eq(),ur0=cB(),fr0=eq();Object.defineProperty(YJ,"CLIError",{enumerable:!0,get:function(){return fr0.CLIError}});class fj extends Sr0.CLIError{parse;showHelp=!1;constructor(Q){Q.message+="\nSee more help with --help";super(Q.message,{exit:Q.exit});this.parse=Q.parse}}YJ.CLIParseError=fj;class W00 extends fj{args;constructor({args:Q,exit:K,parse:G}){let C="Invalid argument spec";const y=Object.values(Q).filter((x)=>x.name);if(y.length>0){const x=q00.renderList(y.map((_)=>[`${_.name} (${_.required?"required":"optional"})`,_.description]));C+=`:\n${x}`}super({exit:Vc.default.getInstance().get("exitCodes")?.invalidArgsSpec??K,message:C,parse:G});this.args=Q}}YJ.InvalidArgsSpecError=W00;class U00 extends fj{args;constructor({args:Q,exit:K,flagsWithMultiple:G,parse:C}){let y=`Missing ${Q.length} required arg${Q.length===1?"":"s"}`;const x=Q.filter((_)=>_.name);if(x.length>0){const _=q00.renderList(x.map((VD)=>{const OD=VD.options?`(${VD.options.join("|")}) ${VD.description}`:VD.description;return[VD.name,OD]}));y+=`:\n${_}`}if(G?.length){const _=G.map((VD)=>`--${VD}`).join(", ");y+=`\n\nNote: ${_} allow${G.length===1?"s":""} multiple values. Because of this you need to provide all arguments before providing ${G.length===1?"that flag":"those flags"}.`,y+='\nAlternatively, you can use "--" to signify the end of the flags and the beginning of arguments.'}super({exit:Vc.default.getInstance().get("exitCodes")?.requiredArgs??K,message:y,parse:C});this.args=Q,this.showHelp=!0}}YJ.RequiredArgsError=U00;class G00 extends fj{args;constructor({args:Q,exit:K,parse:G}){const C=`Unexpected argument${Q.length===1?"":"s"}: ${Q.join(", ")}`;super({exit:Vc.default.getInstance().get("exitCodes")?.unexpectedArgs??K,message:C,parse:G});this.args=Q,this.showHelp=!0}}YJ.UnexpectedArgsError=G00;class H00 extends fj{flags;constructor({exit:Q,flags:K,parse:G}){const C=`Nonexistent flag${K.length===1?"":"s"}: ${K.join(", ")}`;super({exit:Vc.default.getInstance().get("exitCodes")?.nonExistentFlag??Q,message:C,parse:G});this.flags=K,this.showHelp=!0}}YJ.NonExistentFlagsError=H00;class M00 extends fj{constructor(Q,K){const G=`Expected --${Q.name}=${K} to be one of: ${Q.options.join(", ")}`;super({message:G,parse:{}})}}YJ.FlagInvalidOptionError=M00;class O00 extends fj{constructor(Q,K){const G=`Expected ${K} to be one of: ${Q.options.join(", ")}`;super({message:G,parse:{}})}}YJ.ArgInvalidOptionError=O00;class j00 extends fj{constructor({exit:Q,failed:K,parse:G}){const C=K.map((VD)=>VD.reason),y=ur0.uniq(C),_=`The following ${y.length===1?"error":"errors"} occurred:\n ${wr0.default.dim(y.join("\n "))}`;super({exit:Vc.default.getInstance().get("exitCodes")?.failedFlagValidation??Q,message:_,parse:G})}}YJ.FailedFlagValidationError=j00});var C00=r0((KM)=>{var kr0=function(Q){return/^-\d/g.test(Q)},vr0=KM&&KM.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(KM,"__esModule",{value:!0});KM.Parser=KM.readStdin=void 0;var br0=i8("node:readline"),L00=vr0(lU()),aC=cB(),lR=XMD(),rU;try{rU=process.env.CLI_FLAGS_DEBUG==="1"?i8("debug")("../parser"):()=>{}}catch{rU=()=>{}}var xr0=async()=>{const{stdin:Q,stdout:K}=process;if(Q.isTTY)return null;if(global.oclif?.stdinCache)return rU("resolved stdin from global cache",global.oclif.stdinCache),global.oclif.stdinCache;return new Promise((G)=>{let C="";const y=new AbortController,{signal:x}=y,_=setTimeout(()=>y.abort(),10),VD=br0.createInterface({input:Q,output:K,terminal:!1});VD.on("line",(OD)=>{C+=OD}),VD.once("close",()=>{clearTimeout(_),rU("resolved from stdin",C),global.oclif={...global.oclif,stdinCache:C},G(C)}),x.addEventListener("abort",()=>{rU("stdin aborted"),clearTimeout(_),VD.close(),G(null)},{once:!0})})};KM.readStdin=xr0;var L6D=(Q,K)=>{if(Q.options&&!Q.options.includes(K))throw new lR.FlagInvalidOptionError(Q,K);return K};class A00{input;argv;booleanFlags;context;currentFlag;flagAliases;raw=[];constructor(Q){this.input=Q,this.context=Q.context??{},this.argv=[...Q.argv],this._setNames(),this.booleanFlags=aC.pickBy(Q.flags,(K)=>K.type==="boolean"),this.flagAliases=Object.fromEntries(Object.values(Q.flags).flatMap((K)=>[...K.aliases??[],...K.charAliases??[]].map((G)=>[G,K])))}async parse(){this._debugInput();const Q=async(a)=>{const{isLong:bD,name:ED}=this.findFlag(a);if(!ED){const UD=a.indexOf("=");if(UD!==-1){const TD=a.slice(UD+1);this.argv.unshift(TD);const nD=await Q(a.slice(0,UD));if(!nD)this.argv.shift();return nD}return!1}const XD=this.input.flags[ED];if(XD.type==="option"){if(!XD.multiple&&this.raw.some((TD)=>TD.type==="flag"&&TD.flag===ED))throw new lR.CLIError(`Flag --${ED} can only be specified once`);this.currentFlag=XD;let UD=bD||a.length<3?this.argv.shift():a.slice(a[2]==="="?3:2);if(XD.allowStdin==="only"&&UD!=="-"&&UD!==void 0)throw new lR.CLIError(`Flag --${ED} can only be read from stdin. The value must be "-" or not provided at all.`);if(XD.allowStdin&&UD==="-"||XD.allowStdin==="only"){const TD=await KM.readStdin();if(TD)UD=TD.trim()}if(typeof UD!=="string"||this.findFlag(UD).name){if(XD.options)throw new lR.CLIError(`Flag --${ED} expects one of these values: ${XD.options.join(", ")}`);throw new lR.CLIError(`Flag --${ED} expects a value`)}this.raw.push({flag:XD.name,input:UD,type:"flag"})}else if(this.raw.push({flag:XD.name,input:a,type:"flag"}),!bD&&a.length>2)this.argv.unshift(`-${a.slice(2)}`);return!0};let K=!0;const G=[];let C=!1;const y=[...this.argv];while(this.argv.length>0){const a=this.argv.shift();if(K&&a.startsWith("-")&&a!=="-"){if(this.input["--"]!==!1&&a==="--"){K=!1;continue}if(await Q(a))continue;if(a==="--"){C=!0;continue}if(this.input["--"]!==!1&&!kr0(a)){G.push(a);continue}}if(K&&this.currentFlag&&this.currentFlag.multiple&&!this.currentFlag.multipleNonGreedy){this.raw.push({flag:this.currentFlag.name,input:a,type:"flag"});continue}const bD=Object.keys(this.input.args)[this._argTokens.length];this.raw.push({arg:bD,input:a,type:"arg"})}const[{args:x,argv:_},{flags:VD,metadata:OD}]=await Promise.all([this._args(),this._flags()]);this._debugOutput(_,x,VD);const HD=C?[..._,...G,"--"]:[..._,...G];return{args:x,argv:HD.sort((a,bD)=>y.indexOf(a)-y.indexOf(bD)),flags:VD,metadata:OD,nonExistentFlags:G,raw:this.raw}}async _args(){const Q=[],K={},G=this._argTokens;let C=!1;const y=this.context;for(let[x,_]of Object.entries(this.input.args)){const VD=G.find((OD)=>OD.arg===x);if(y.token=VD,VD){if(_.options&&!_.options.includes(VD.input))throw new lR.ArgInvalidOptionError(_,VD.input);const OD=await _.parse(VD.input,y,_);Q.push(OD),K[VD.arg]=OD}else if(!_.ignoreStdin&&!C){let OD=await KM.readStdin();if(OD){OD=OD.trim();const HD=await _.parse(OD,y,_);Q.push(HD),K[x]=HD}C=!0}if(!K[x]&&(_.default||_.default===!1))if(typeof _.default==="function"){const OD=await _.default();Q.push(OD),K[x]=OD}else Q.push(_.default),K[x]=_.default}for(let x of G){if(K[x.arg]!==void 0)continue;Q.push(x.input)}return{args:K,argv:Q}}get _argTokens(){return this.raw.filter((Q)=>Q.type==="arg")}_debugInput(){rU("input: %s",this.argv.join(" "));const Q=Object.keys(this.input.args);if(Q.length>0)rU("available args: %s",Q.join(" "));if(Object.keys(this.input.flags).length===0)return;rU("available flags: %s",Object.keys(this.input.flags).map((K)=>`--${K}`).join(" "))}_debugOutput(Q,K,G){if(G.length>0)rU("argv: %o",G);if(Object.keys(Q).length>0)rU("args: %o",Q);if(Object.keys(K).length>0)rU("flags: %o",K)}async _flags(){const Q=async(a,bD,ED,XD)=>{if(!bD.parse)return a;const UD={...ED,error:ED?.error,exit:ED?.exit,log:ED?.log,logToStderr:ED?.logToStderr,token:XD,warn:ED?.warn};try{if(bD.type==="boolean")return await bD.parse(a,UD,bD);return await bD.parse(a,UD,bD)}catch(TD){if(TD.message=`Parsing --${bD.name} \n\t${TD.message}\nSee more help with --help`,L00.default.getInstance().get("exitCodes")?.failedFlagParsing)TD.oclif={exit:L00.default.getInstance().get("exitCodes")?.failedFlagParsing};throw TD}},K=(a)=>{if(a.tokens?.length){if(a.inputFlag.flag.type==="boolean"&&aC.last(a.tokens)?.input)return{...a,valueFunction:async(ED)=>Q(aC.last(ED.tokens)?.input!==`--no-${ED.inputFlag.name}`,ED.inputFlag.flag,this.context,aC.last(ED.tokens))};if(a.inputFlag.flag.type==="option"&&a.inputFlag.flag.delimiter&&a.inputFlag.flag.multiple)return{...a,valueFunction:async(ED)=>(await Promise.all((ED.tokens??[]).flatMap((XD)=>XD.input.split(ED.inputFlag.flag.delimiter??",")).map((XD)=>XD.trim().replace(/^"(.*)"$/,"$1").replace(/^'(.*)'$/,"$1")).map(async(XD)=>Q(XD,ED.inputFlag.flag,this.context,{...aC.last(ED.tokens),input:XD})))).map((XD)=>L6D(ED.inputFlag.flag,XD))};if(a.inputFlag.flag.type==="option"&&a.inputFlag.flag.multiple)return{...a,valueFunction:async(ED)=>Promise.all((a.tokens??[]).map((XD)=>Q(L6D(ED.inputFlag.flag,XD.input),ED.inputFlag.flag,this.context,XD)))};if(a.inputFlag.flag.type==="option")return{...a,valueFunction:async(ED)=>Q(L6D(ED.inputFlag.flag,aC.last(a.tokens)?.input),ED.inputFlag.flag,this.context,aC.last(a.tokens))}}if(a.inputFlag.flag.env&&process.env[a.inputFlag.flag.env]){const ED=process.env[a.inputFlag.flag.env];if(a.inputFlag.flag.type==="option"&&ED)return{...a,valueFunction:async(XD)=>Q(L6D(XD.inputFlag.flag,ED),XD.inputFlag.flag,this.context)};if(a.inputFlag.flag.type==="boolean")return{...a,valueFunction:async(XD)=>aC.isTruthy(process.env[XD.inputFlag.flag.env]??"false")}}if(typeof a.inputFlag.flag.default!==void 0)return{...a,metadata:{setFromDefault:!0},valueFunction:typeof a.inputFlag.flag.default==="function"?(ED,XD={})=>a.inputFlag.flag.default({flags:XD,options:ED.inputFlag.flag}):async()=>a.inputFlag.flag.default};return a},G=(a)=>{if(a.inputFlag.flag.type==="option"&&a.inputFlag.flag.defaultHelp)return{...a,helpFunction:typeof a.inputFlag.flag.defaultHelp==="function"?(bD,ED,...XD)=>bD.inputFlag.flag.defaultHelp({flags:ED,options:bD.inputFlag},...XD):(bD)=>bD.inputFlag.flag.defaultHelp};return a},C=async(a)=>{const bD=y(OD.filter((ED)=>!ED.metadata?.setFromDefault));return Promise.all(a.map(async(ED)=>{try{if(ED.helpFunction)return{...ED,metadata:{...ED.metadata,defaultHelp:await ED.helpFunction?.(ED,bD,this.context)}}}catch{}return ED}))},y=(a)=>Object.fromEntries(a.filter((bD)=>bD.value!==void 0).map((bD)=>[bD.inputFlag.name,bD.value])),x=this.mapAndValidateFlags(),_=await Promise.all(Object.entries(this.input.flags).filter(([a,bD])=>bD.type==="boolean"||bD.env||bD.default!==void 0||("defaultHelp"in bD)||x.has(a)).map(([a,bD])=>({inputFlag:{flag:bD,name:a},tokens:x.get(a)})).map((a)=>K(a)).filter((a)=>a.valueFunction!==void 0).map((a)=>G(a)).map(async(a)=>a.metadata?.setFromDefault?a:{...a,value:await a.valueFunction?.(a)})),VD=y(_.filter((a)=>!a.metadata?.setFromDefault)),OD=await Promise.all(_.map(async(a)=>a.metadata?.setFromDefault?{...a,value:await a.valueFunction?.(a,VD)}:a)),HD=OD.some((a)=>typeof a.helpFunction==="function")?await C(OD):OD;return{flags:y(HD),metadata:{flags:Object.fromEntries(HD.filter((a)=>a.metadata).map((a)=>[a.inputFlag.name,a.metadata]))}}}_setNames(){for(let Q of Object.keys(this.input.flags))this.input.flags[Q].name=Q;for(let Q of Object.keys(this.input.args))this.input.args[Q].name=Q}findFlag(Q){const K=Q.startsWith("--"),G=K?!1:Q.startsWith("-"),C=K?this.findLongFlag(Q):G?this.findShortFlag(Q):void 0;return{isLong:K,name:C}}findLongFlag(Q){const K=Q.slice(2);if(this.input.flags[K])return K;if(this.flagAliases[K])return this.flagAliases[K].name;if(Q.startsWith("--no-")){const G=this.booleanFlags[Q.slice(5)];if(G&&G.allowNo)return G.name}}findShortFlag([Q,K]){if(this.flagAliases[K])return this.flagAliases[K].name;return Object.keys(this.input.flags).find((G)=>this.input.flags[G].char===K&&K!==void 0&&this.input.flags[G].char!==void 0)}mapAndValidateFlags(){const Q=new Map;for(let K of this.raw.filter((G)=>G.type==="flag")){if(!(K.flag in this.input.flags))throw new lR.CLIError(`Unexpected flag ${K.flag}`);const G=Q.get(K.flag)??[];Q.set(K.flag,[...G,K])}return Q}}KM.Parser=A00});var T00=r0((E00)=>{async function _r0(Q){let K;function G(){if(Q.output.nonExistentFlags?.length>0)throw new zc.NonExistentFlagsError({flags:Q.output.nonExistentFlags,parse:Q});const ED=Object.keys(Q.input.args).length;if(Q.input.strict&&Q.output.argv.length>ED){const TD=Q.output.argv.slice(ED);throw new zc.UnexpectedArgsError({args:TD,parse:Q})}const XD=[];let UD=!1;for(let[TD,nD]of Object.entries(Q.input.args)){if(!nD.required)UD=!0;else if(UD)throw new zc.InvalidArgsSpecError({args:Q.input.args,parse:Q});if(nD.required&&Q.output.args[TD]===void 0)XD.push(nD)}if(XD.length>0){const TD=Object.entries(Q.input.flags).filter(([nD,Z0])=>Z0.type==="option"&&Boolean(Z0.multiple)).map(([nD])=>nD);throw new zc.RequiredArgsError({args:XD,flagsWithMultiple:TD,parse:Q})}}async function C(){const ED=Object.entries(Q.input.flags).flatMap(([TD,nD])=>{if(Q.output.flags[TD]!==void 0)return[...nD.relationships?bD(TD,nD):[],...nD.dependsOn?[HD(TD,nD.dependsOn)]:[],...nD.exclusive?[VD(TD,nD.exclusive)]:[],...nD.exactlyOne?[OD(TD,nD.exactlyOne)]:[]];if(nD.required)return[{name:TD,reason:`Missing required flag ${TD}`,status:"failed",validationFn:"required"}];if(nD.exactlyOne&&nD.exactlyOne.length>0)return[_(nD)];return[]}),UD=(await Promise.all(ED)).filter((TD)=>TD.status==="failed");if(UD.length>0)throw new zc.FailedFlagValidationError({failed:UD,parse:Q})}async function y(ED){if(K)return K;const XD=ED.map(async(TD)=>{if(typeof TD==="string")return[TD,Q.output.flags[TD]];return await TD.when(Q.output.flags)?[TD.name,Q.output.flags[TD.name]]:null}),UD=await Promise.all(XD);return K=Object.fromEntries(UD.filter((TD)=>TD!==null)),K}const x=(ED)=>Object.keys(ED).filter((XD)=>XD!==void 0);function _(ED){const XD={name:ED.name,validationFn:"validateAcrossFlags"};if(Object.entries(Q.input.flags).map((TD)=>TD[0]).filter((TD)=>Q.output.flags[TD]!==void 0).filter((TD)=>ED.exactlyOne&&ED.exactlyOne.includes(TD)).length===0){const nD=`Exactly one of the following must be provided: ${hr0.uniq(ED.exactlyOne?.map((Z0)=>`--${Z0}`)??[]).join(", ")}`;return{...XD,reason:nD,status:"failed"}}return{...XD,status:"success"}}async function VD(ED,XD){const UD={name:ED,validationFn:"validateExclusive"},TD=await y(XD),nD=x(TD);for(let Z0 of nD){if(Q.output.metadata.flags&&Q.output.metadata.flags[Z0]?.setFromDefault)continue;if(Q.output.metadata.flags&&Q.output.metadata.flags[ED]?.setFromDefault)continue;if(Q.output.flags[Z0]!==void 0){const M0=Q.output.metadata.flags?.[Z0]?.defaultHelp??Q.output.flags[Z0];return{...UD,reason:`--${Z0}=${M0} cannot also be provided when using --${ED}`,status:"failed"}}}return{...UD,status:"success"}}async function OD(ED,XD){const UD={name:ED,validationFn:"validateExactlyOne"},TD=await y(XD),nD=x(TD);for(let Z0 of nD)if(Z0!==ED&&Q.output.flags[Z0]!==void 0)return{...UD,reason:`--${Z0} cannot also be provided when using --${ED}`,status:"failed"};return{...UD,status:"success"}}async function HD(ED,XD){const UD={name:ED,validationFn:"validateDependsOn"},TD=await y(XD);if(!Object.values(TD).every((Z0)=>Z0!==void 0)){const Z0=Object.keys(TD).map((M0)=>`--${M0}`).join(", ");return{...UD,reason:`All of the following must be provided when using --${ED}: ${Z0}`,status:"failed"}}return{...UD,status:"success"}}async function a(ED,XD){const UD={name:ED,validationFn:"validateSome"},TD=await y(XD);if(!Object.values(TD).some(Boolean)){const Z0=Object.keys(TD).map((M0)=>`--${M0}`).join(", ");return{...UD,reason:`One of the following must be provided when using --${ED}: ${Z0}`,status:"failed"}}return{...UD,status:"success"}}function bD(ED,XD){return(XD.relationships??[]).map((UD)=>{switch(UD.type){case"all":return HD(ED,UD.flags);case"some":return a(ED,UD.flags);case"none":return VD(ED,UD.flags);default:throw new Error(`Unknown relationship type: ${UD.type}`)}})}return G(),C()}Object.defineProperty(E00,"__esModule",{value:!0});E00.validate=void 0;var hr0=cB(),zc=XMD();E00.validate=_r0});var I00=r0((tC)=>{var R00=function(Q,K={}){const G=[];if(Q.helpLabel)G.push(Q.helpLabel);else{if(Q.char)G.push(`-${Q.char}`);if(Q.name)G.push(` --${Q.name}`)}const C=Q.type==="option"?` ${Q.name.toUpperCase()}`:"";let y=Q.summary||Q.description||"";if(K.displayRequired&&Q.required)y=`(required) ${y}`;return y=y?mr0.default.dim(y):void 0,[` ${G.join(",").trim()}${C}`,y]},cr0=function(Q,K={}){if(Q.length===0)return[];return dr0.sortBy(Q,(G)=>[G.char?-1:1,G.char,G.name]).map((G)=>R00(G,K))},gr0=tC&&tC.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(tC,"__esModule",{value:!0});tC.flagUsages=tC.flagUsage=void 0;var mr0=gr0(CK()),dr0=cB();tC.flagUsage=R00;tC.flagUsages=cr0});var QMD=r0((YMD)=>{async function nr0(Q,K){const G={"--":K["--"],args:K.args??{},argv:Q,context:K.context,flags:K.flags??{},strict:K.strict!==!1},y=await new lr0.Parser(G).parse();return await ir0.validate({input:G,output:y}),y}Object.defineProperty(YMD,"__esModule",{value:!0});YMD.parse=YMD.flagUsages=void 0;var lr0=C00(),ir0=T00(),pr0=I00();Object.defineProperty(YMD,"flagUsages",{enumerable:!0,get:function(){return pr0.flagUsages}});YMD.parse=nr0});var x00=r0((XW)=>{var __dirname="/Users/jasoncomes/Desktop/Prismatic/prism/node_modules/@oclif/core/lib",rr0=XW&&XW.__createBinding||(Object.create?function(Q,K,G,C){if(C===void 0)C=G;var y=Object.getOwnPropertyDescriptor(K,G);if(!y||("get"in y?!K.__esModule:y.writable||y.configurable))y={enumerable:!0,get:function(){return K[G]}};Object.defineProperty(Q,C,y)}:function(Q,K,G,C){if(C===void 0)C=G;Q[C]=K[G]}),or0=XW&&XW.__setModuleDefault||(Object.create?function(Q,K){Object.defineProperty(Q,"default",{enumerable:!0,value:K})}:function(Q,K){Q.default=K}),u00=XW&&XW.__importStar||function(Q){if(Q&&Q.__esModule)return Q;var K={};if(Q!=null){for(var G in Q)if(G!=="default"&&Object.prototype.hasOwnProperty.call(Q,G))rr0(K,Q,G)}return or0(K,Q),K},f00=XW&&XW.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(XW,"__esModule",{value:!0});XW.Command=void 0;var sr0=f00(CK()),ar0=i8("node:url"),P00=i8("node:util"),v00=f00(lU()),A6D=od(),tr0=O6D(),Of=u00(eq()),Kc=mu(),er0=u00(QMD()),w00=rHD(),VMD=gu(),Do0=cB(),S00=v00.default.getInstance().get("@oclif/core");process.stdout.on("error",(Q)=>{if(Q&&Q.code==="EPIPE")return;throw Q});class b00{argv;config;static aliases=[];static args={};static baseFlags;static deprecateAliases;static deprecationOptions;static description;static enableJsonFlag=!1;static examples;static flags;static hasDynamicHelp=!1;static help;static hidden;static hiddenAliases=[];static id;static plugin;static pluginAlias;static pluginName;static pluginType;static state;static strict=!0;static summary;static usage;debug;id;static _base=`${S00.name}@${S00.version}`;constructor(Q,K){this.argv=Q,this.config=K,this.id=this.ctor.id;try{this.debug=i8("debug")(this.id?`${this.config.bin}:${this.id}`:this.config.bin)}catch{this.debug=()=>{}}}static async run(Q,K){if(!Q)Q=process.argv.slice(2);if(typeof K==="string"&&K.startsWith("file://"))K=ar0.fileURLToPath(K);const G=await tr0.Config.load(K||i8.main?.filename||__dirname),C=new this(Q,G);if(!C.id){const y=C.constructor.name.toLowerCase();C.id=y,C.ctor.id=y}return C._run()}get ctor(){return this.constructor}async catch(Q){if(process.exitCode=process.exitCode??Q.exitCode??1,this.jsonEnabled())this.logJson(this.toErrorJson(Q));else{if(!Q.message)throw Q;try{A6D.ux.action.stop(sr0.default.bold.red("!"))}catch{}throw Q}}error(Q,K={}){return Of.error(Q,K)}exit(Q=0){Of.exit(Q)}async finally(Q){try{const{config:K}=Of;if(K.errorLogger)await K.errorLogger.flush()}catch(K){console.error(K)}}async init(){if(this.debug("init version: %s argv: %o",this.ctor._base,this.argv),this.config.debug)Of.config.debug=!0;if(this.config.errlog)Of.config.errlog=this.config.errlog;const Q=global;Q["http-call"]=Q["http-call"]||{},Q["http-call"].userAgent=this.config.userAgent,this.warnIfCommandDeprecated()}jsonEnabled(){if(!this.ctor.enableJsonFlag)return!1;if(this.config.scopedEnvVar?.("CONTENT_TYPE")?.toLowerCase()==="json")return!0;const Q=this.argv.indexOf("--"),K=this.argv.indexOf("--json");return Q===-1?K>-1:K>-1&&K<Q}log(Q="",...K){if(!this.jsonEnabled())Q=typeof Q==="string"?Q:P00.inspect(Q),A6D.ux.info(Q,...K)}logJson(Q){A6D.ux.styledJSON(Q)}logToStderr(Q="",...K){if(!this.jsonEnabled())Q=typeof Q==="string"?Q:P00.inspect(Q),A6D.ux.logToStderr(Q,...K)}async parse(Q,K=this.argv){if(!Q)Q=this.ctor;const G={context:this,...Q,flags:w00.aggregateFlags(Q.flags,Q.baseFlags,Q.enableJsonFlag)},C=await this.config.runHook("preparse",{argv:[...K],options:G}),y=C.successes?.length?C.successes.find((_)=>_.plugin.root===v00.default.getInstance().get("rootPlugin")?.root)?.result??K:K;this.argv=[...y];const x=await er0.parse(y,G);return this.warnIfFlagDeprecated(x.flags??{}),x}toErrorJson(Q){return{error:Q}}toSuccessJson(Q){return Q}warn(Q){if(!this.jsonEnabled())Of.warn(Q);return Q}warnIfCommandDeprecated(){const[Q]=Kc.normalizeArgv(this.config);if(this.ctor.deprecateAliases&&this.ctor.aliases.includes(Q)){const K=VMD.toConfiguredId(this.ctor.id,this.config),G=VMD.toConfiguredId(Q,this.config);this.warn(Kc.formatCommandDeprecationWarning(G,{to:K}))}if(this.ctor.state==="deprecated"){const K=VMD.toConfiguredId(this.ctor.id,this.config);this.warn(Kc.formatCommandDeprecationWarning(K,this.ctor.deprecationOptions))}}warnIfFlagDeprecated(Q){const K=w00.aggregateFlags(this.ctor.flags,this.ctor.baseFlags,this.ctor.enableJsonFlag);for(let G of Object.keys(Q)){const C=K[G],y=C?.deprecated;if(y)this.warn(Kc.formatFlagDeprecationWarning(G,y));if(C?.deprecateAliases){const _=Do0.uniq([...C?.aliases??[],...C?.charAliases??[]]).map((OD)=>OD.length===1?`-${OD}`:`--${OD}`);if(_.length===0)return;const VD=_.filter((OD)=>this.argv.some((HD)=>HD.startsWith(OD)));for(let OD of VD){let HD=`--${C?.name}`;if(C?.char)HD+=` | -${C?.char}`;this.warn(Kc.formatFlagDeprecationWarning(OD,{to:HD}))}}}}async _run(){let Q,K;try{this.removeEnvVar("REDIRECTED"),await this.init(),K=await this.run()}catch(G){Q=G,await this.catch(G)}finally{await this.finally(Q)}if(K&&this.jsonEnabled())this.logJson(this.toSuccessJson(K));return K}removeEnvVar(Q){const K=[];try{K.push(...this.config.scopedEnvVarKeys(Q))}catch{K.push(this.config.scopedEnvVarKey(Q))}K.map((G)=>delete process.env[G])}}XW.Command=b00});var qMD=r0((YW)=>{async function Qo0(Q,K){const G=jf.Performance.mark(jf.OCLIF_MARKER_OWNER,"main.run"),C=jf.Performance.mark(jf.OCLIF_MARKER_OWNER,"main.run#init"),y=async()=>{if(G?.stop(),!C?.stopped)C?.stop();await jf.Performance.collect(),jf.Performance.debug()},x=async(a)=>{await new(await KMD.loadHelpClass(_))(_,_.pjson.oclif.helpOptions??_.pjson.helpOptions).showHelp(a)};if(zMD(`process.execPath: ${process.execPath}`),zMD(`process.execArgv: ${process.execArgv}`),zMD("process.argv: %O",process.argv),Q=Q??process.argv.slice(2),K&&(typeof K==="string"&&K.startsWith("file://")||K instanceof k00.URL))K=k00.fileURLToPath(K);const _=await Jo0.Config.load(K??i8.main?.filename??__dirname);if($o0.default.getInstance().set("config",_),_.isSingleCommandCLI)Q=[Bo0.SINGLE_COMMAND_CLI_SYMBOL,...Q];const[VD,...OD]=KMD.normalizeArgv(_,Q);if(await _.runHook("init",{argv:OD,id:VD}),YW.versionAddition(Q,_)){Zo0.ux.log(_.userAgent),await y();return}if(YW.helpAddition(Q,_)){await x(Q),await y();return}const HD=_.findCommand(VD);if(!HD){if(_.flexibleTaxonomy?null:_.findTopic(VD)){await x([VD]),await y();return}}C?.stop();try{return await _.runCommand(VD,OD,HD)}finally{await y()}}var __dirname="/Users/jasoncomes/Desktop/Prismatic/prism/node_modules/@oclif/core/lib",Fo0=YW&&YW.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(YW,"__esModule",{value:!0});YW.run=YW.versionAddition=YW.helpAddition=void 0;var k00=i8("node:url"),$o0=Fo0(lU()),Zo0=od(),Jo0=O6D(),KMD=kd(),jf=Bf(),Bo0=$5D(),zMD=i8("debug")("oclif:main"),Xo0=(Q,K)=>{if(Q.length===0&&!K.isSingleCommandCLI)return!0;const G=KMD.getHelpFlagAdditions(K);for(let C of Q){if(G.includes(C))return!0;if(C==="--")return!1}return!1};YW.helpAddition=Xo0;var Yo0=(Q,K)=>{const G=K?.pjson.oclif.additionalVersionFlags??[];if([...(new Set(["--version",...G])).values()].includes(Q[0]))return!0;return!1};YW.versionAddition=Yo0;YW.run=Qo0});var g00=r0((h00)=>{async function Uo0(Q){if(!Q.dir&&!Q.loadOptions)throw new zo0.CLIError("dir or loadOptions is required.");if(Q.development)process.env.NODE_ENV="development",Wo0.settings.debug=!0;return qo0.run(Q.args??process.argv.slice(2),Q.loadOptions??Q.dir).then(async(K)=>{return Vo0.flush(),K}).catch(async(K)=>Ko0.handle(K))}Object.defineProperty(h00,"__esModule",{value:!0});h00.execute=void 0;var Vo0=U5D(),zo0=eq(),Ko0=Y5D(),qo0=qMD(),Wo0=dC();h00.execute=Uo0});var d00=r0((m00)=>{Object.defineProperty(m00,"__esModule",{value:!0})});var p00=r0((C7)=>{var jo0=function(){try{process.cwd()}catch(Q){if(Q.code==="ENOENT")Oo0.default.stderr("WARNING: current directory does not exist\n")}},Go0=C7&&C7.__createBinding||(Object.create?function(Q,K,G,C){if(C===void 0)C=G;var y=Object.getOwnPropertyDescriptor(K,G);if(!y||("get"in y?!K.__esModule:y.writable||y.configurable))y={enumerable:!0,get:function(){return K[G]}};Object.defineProperty(Q,C,y)}:function(Q,K,G,C){if(C===void 0)C=G;Q[C]=K[G]}),Ho0=C7&&C7.__setModuleDefault||(Object.create?function(Q,K){Object.defineProperty(Q,"default",{enumerable:!0,value:K})}:function(Q,K){Q.default=K}),iR=C7&&C7.__importStar||function(Q){if(Q&&Q.__esModule)return Q;var K={};if(Q!=null){for(var G in Q)if(G!=="default"&&Object.prototype.hasOwnProperty.call(Q,G))Go0(K,Q,G)}return Ho0(K,Q),K},Mo0=C7&&C7.__importDefault||function(Q){return Q&&Q.__esModule?Q:{default:Q}};Object.defineProperty(C7,"__esModule",{value:!0});C7.toStandardizedId=C7.toConfiguredId=C7.settings=C7.Performance=C7.Parser=C7.ModuleLoader=C7.run=C7.Interfaces=C7.loadHelpClass=C7.HelpBase=C7.Help=C7.CommandHelp=C7.Flags=C7.execute=C7.handle=C7.Errors=C7.Plugin=C7.Config=C7.Command=C7.stdout=C7.stderr=C7.flush=C7.ux=C7.Args=void 0;var Oo0=Mo0(gC());jo0();C7.Args=iR(PgD());C7.ux=iR(od());var Lo0=U5D();Object.defineProperty(C7,"flush",{enumerable:!0,get:function(){return Lo0.flush}});var c00=RrD();Object.defineProperty(C7,"stderr",{enumerable:!0,get:function(){return c00.stderr}});Object.defineProperty(C7,"stdout",{enumerable:!0,get:function(){return c00.stdout}});var Ao0=x00();Object.defineProperty(C7,"Command",{enumerable:!0,get:function(){return Ao0.Command}});var l00=O6D();Object.defineProperty(C7,"Config",{enumerable:!0,get:function(){return l00.Config}});Object.defineProperty(C7,"Plugin",{enumerable:!0,get:function(){return l00.Plugin}});C7.Errors=iR(eq());var Co0=Y5D();Object.defineProperty(C7,"handle",{enumerable:!0,get:function(){return Co0.handle}});var Eo0=g00();Object.defineProperty(C7,"execute",{enumerable:!0,get:function(){return Eo0.execute}});C7.Flags=iR(w5D());var C6D=kd();Object.defineProperty(C7,"CommandHelp",{enumerable:!0,get:function(){return C6D.CommandHelp}});Object.defineProperty(C7,"Help",{enumerable:!0,get:function(){return C6D.Help}});Object.defineProperty(C7,"HelpBase",{enumerable:!0,get:function(){return C6D.HelpBase}});Object.defineProperty(C7,"loadHelpClass",{enumerable:!0,get:function(){return C6D.loadHelpClass}});C7.Interfaces=iR(d00());var No0=qMD();Object.defineProperty(C7,"run",{enumerable:!0,get:function(){return No0.run}});C7.ModuleLoader=iR(wd());C7.Parser=iR(QMD());var To0=Bf();Object.defineProperty(C7,"Performance",{enumerable:!0,get:function(){return To0.Performance}});var Ro0=dC();Object.defineProperty(C7,"settings",{enumerable:!0,get:function(){return Ro0.settings}});var i00=gu();Object.defineProperty(C7,"toConfiguredId",{enumerable:!0,get:function(){return i00.toConfiguredId}});Object.defineProperty(C7,"toStandardizedId",{enumerable:!0,get:function(){return i00.toStandardizedId}})});var r00=r0((u01,n00)=>{var __dirname="/Users/jasoncomes/Desktop/Prismatic/prism/node_modules/http-status-codes/build/cjs";n00.exports=function(Q,K){var G={};function C(x){if(G[x])return G[x].exports;var _=G[x]={i:x,l:!1,exports:{}},VD=!0;try{Q[x].call(_.exports,_,_.exports,C),VD=!1}finally{if(VD)delete G[x]}return _.l=!0,_.exports}C.ab=__dirname+"/";function y(){return C(527)}return K(C),y()}({527:function(Q,K,G){G.r(K);var C;(function(r1){r1[r1.ACCEPTED=202]="ACCEPTED",r1[r1.BAD_GATEWAY=502]="BAD_GATEWAY",r1[r1.BAD_REQUEST=400]="BAD_REQUEST",r1[r1.CONFLICT=409]="CONFLICT",r1[r1.CONTINUE=100]="CONTINUE",r1[r1.CREATED=201]="CREATED",r1[r1.EXPECTATION_FAILED=417]="EXPECTATION_FAILED",r1[r1.FAILED_DEPENDENCY=424]="FAILED_DEPENDENCY",r1[r1.FORBIDDEN=403]="FORBIDDEN",r1[r1.GATEWAY_TIMEOUT=504]="GATEWAY_TIMEOUT",r1[r1.GONE=410]="GONE",r1[r1.HTTP_VERSION_NOT_SUPPORTED=505]="HTTP_VERSION_NOT_SUPPORTED",r1[r1.IM_A_TEAPOT=418]="IM_A_TEAPOT",r1[r1.INSUFFICIENT_SPACE_ON_RESOURCE=419]="INSUFFICIENT_SPACE_ON_RESOURCE",r1[r1.INSUFFICIENT_STORAGE=507]="INSUFFICIENT_STORAGE",r1[r1.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR",r1[r1.LENGTH_REQUIRED=411]="LENGTH_REQUIRED",r1[r1.LOCKED=423]="LOCKED",r1[r1.METHOD_FAILURE=420]="METHOD_FAILURE",r1[r1.METHOD_NOT_ALLOWED=405]="METHOD_NOT_ALLOWED",r1[r1.MOVED_PERMANENTLY=301]="MOVED_PERMANENTLY",r1[r1.MOVED_TEMPORARILY=302]="MOVED_TEMPORARILY",r1[r1.MULTI_STATUS=207]="MULTI_STATUS",r1[r1.MULTIPLE_CHOICES=300]="MULTIPLE_CHOICES",r1[r1.NETWORK_AUTHENTICATION_REQUIRED=511]="NETWORK_AUTHENTICATION_REQUIRED",r1[r1.NO_CONTENT=204]="NO_CONTENT",r1[r1.NON_AUTHORITATIVE_INFORMATION=203]="NON_AUTHORITATIVE_INFORMATION",r1[r1.NOT_ACCEPTABLE=406]="NOT_ACCEPTABLE",r1[r1.NOT_FOUND=404]="NOT_FOUND",r1[r1.NOT_IMPLEMENTED=501]="NOT_IMPLEMENTED",r1[r1.NOT_MODIFIED=304]="NOT_MODIFIED",r1[r1.OK=200]="OK",r1[r1.PARTIAL_CONTENT=206]="PARTIAL_CONTENT",r1[r1.PAYMENT_REQUIRED=402]="PAYMENT_REQUIRED",r1[r1.PERMANENT_REDIRECT=308]="PERMANENT_REDIRECT",r1[r1.PRECONDITION_FAILED=412]="PRECONDITION_FAILED",r1[r1.PRECONDITION_REQUIRED=428]="PRECONDITION_REQUIRED",r1[r1.PROCESSING=102]="PROCESSING",r1[r1.PROXY_AUTHENTICATION_REQUIRED=407]="PROXY_AUTHENTICATION_REQUIRED",r1[r1.REQUEST_HEADER_FIELDS_TOO_LARGE=431]="REQUEST_HEADER_FIELDS_TOO_LARGE",r1[r1.REQUEST_TIMEOUT=408]="REQUEST_TIMEOUT",r1[r1.REQUEST_TOO_LONG=413]="REQUEST_TOO_LONG",r1[r1.REQUEST_URI_TOO_LONG=414]="REQUEST_URI_TOO_LONG",r1[r1.REQUESTED_RANGE_NOT_SATISFIABLE=416]="REQUESTED_RANGE_NOT_SATISFIABLE",r1[r1.RESET_CONTENT=205]="RESET_CONTENT",r1[r1.SEE_OTHER=303]="SEE_OTHER",r1[r1.SERVICE_UNAVAILABLE=503]="SERVICE_UNAVAILABLE",r1[r1.SWITCHING_PROTOCOLS=101]="SWITCHING_PROTOCOLS",r1[r1.TEMPORARY_REDIRECT=307]="TEMPORARY_REDIRECT",r1[r1.TOO_MANY_REQUESTS=429]="TOO_MANY_REQUESTS",r1[r1.UNAUTHORIZED=401]="UNAUTHORIZED",r1[r1.UNAVAILABLE_FOR_LEGAL_REASONS=451]="UNAVAILABLE_FOR_LEGAL_REASONS",r1[r1.UNPROCESSABLE_ENTITY=422]="UNPROCESSABLE_ENTITY",r1[r1.UNSUPPORTED_MEDIA_TYPE=415]="UNSUPPORTED_MEDIA_TYPE",r1[r1.USE_PROXY=305]="USE_PROXY"})(C||(C={}));var y;(function(r1){r1.ACCEPTED="Accepted",r1.BAD_GATEWAY="Bad Gateway",r1.BAD_REQUEST="Bad Request",r1.CONFLICT="Conflict",r1.CONTINUE="Continue",r1.CREATED="Created",r1.EXPECTATION_FAILED="Expectation Failed",r1.FAILED_DEPENDENCY="Failed Dependency",r1.FORBIDDEN="Forbidden",r1.GATEWAY_TIMEOUT="Gateway Timeout",r1.GONE="Gone",r1.HTTP_VERSION_NOT_SUPPORTED="HTTP Version Not Supported",r1.IM_A_TEAPOT="I'm a teapot",r1.INSUFFICIENT_SPACE_ON_RESOURCE="Insufficient Space on Resource",r1.INSUFFICIENT_STORAGE="Insufficient Storage",r1.INTERNAL_SERVER_ERROR="Internal Server Error",r1.LENGTH_REQUIRED="Length Required",r1.LOCKED="Locked",r1.METHOD_FAILURE="Method Failure",r1.METHOD_NOT_ALLOWED="Method Not Allowed",r1.MOVED_PERMANENTLY="Moved Permanently",r1.MOVED_TEMPORARILY="Moved Temporarily",r1.MULTI_STATUS="Multi-Status",r1.MULTIPLE_CHOICES="Multiple Choices",r1.NETWORK_AUTHENTICATION_REQUIRED="Network Authentication Required",r1.NO_CONTENT="No Content",r1.NON_AUTHORITATIVE_INFORMATION="Non Authoritative Information",r1.NOT_ACCEPTABLE="Not Acceptable",r1.NOT_FOUND="Not Found",r1.NOT_IMPLEMENTED="Not Implemented",r1.NOT_MODIFIED="Not Modified",r1.OK="OK",r1.PARTIAL_CONTENT="Partial Content",r1.PAYMENT_REQUIRED="Payment Required",r1.PERMANENT_REDIRECT="Permanent Redirect",r1.PRECONDITION_FAILED="Precondition Failed",r1.PRECONDITION_REQUIRED="Precondition Required",r1.PROCESSING="Processing",r1.PROXY_AUTHENTICATION_REQUIRED="Proxy Authentication Required",r1.REQUEST_HEADER_FIELDS_TOO_LARGE="Request Header Fields Too Large",r1.REQUEST_TIMEOUT="Request Timeout",r1.REQUEST_TOO_LONG="Request Entity Too Large",r1.REQUEST_URI_TOO_LONG="Request-URI Too Long",r1.REQUESTED_RANGE_NOT_SATISFIABLE="Requested Range Not Satisfiable",r1.RESET_CONTENT="Reset Content",r1.SEE_OTHER="See Other",r1.SERVICE_UNAVAILABLE="Service Unavailable",r1.SWITCHING_PROTOCOLS="Switching Protocols",r1.TEMPORARY_REDIRECT="Temporary Redirect",r1.TOO_MANY_REQUESTS="Too Many Requests",r1.UNAUTHORIZED="Unauthorized",r1.UNAVAILABLE_FOR_LEGAL_REASONS="Unavailable For Legal Reasons",r1.UNPROCESSABLE_ENTITY="Unprocessable Entity",r1.UNSUPPORTED_MEDIA_TYPE="Unsupported Media Type",r1.USE_PROXY="Use Proxy"})(y||(y={}));var x={"202":"Accepted","502":"Bad Gateway","400":"Bad Request","409":"Conflict","100":"Continue","201":"Created","417":"Expectation Failed","424":"Failed Dependency","403":"Forbidden","504":"Gateway Timeout","410":"Gone","505":"HTTP Version Not Supported","418":"I'm a teapot","419":"Insufficient Space on Resource","507":"Insufficient Storage","500":"Internal Server Error","411":"Length Required","423":"Locked","420":"Method Failure","405":"Method Not Allowed","301":"Moved Permanently","302":"Moved Temporarily","207":"Multi-Status","300":"Multiple Choices","511":"Network Authentication Required","204":"No Content","203":"Non Authoritative Information","406":"Not Acceptable","404":"Not Found","501":"Not Implemented","304":"Not Modified","200":"OK","206":"Partial Content","402":"Payment Required","308":"Permanent Redirect","412":"Precondition Failed","428":"Precondition Required","102":"Processing","407":"Proxy Authentication Required","431":"Request Header Fields Too Large","408":"Request Timeout","413":"Request Entity Too Large","414":"Request-URI Too Long","416":"Requested Range Not Satisfiable","205":"Reset Content","303":"See Other","503":"Service Unavailable","101":"Switching Protocols","307":"Temporary Redirect","429":"Too Many Requests","401":"Unauthorized","451":"Unavailable For Legal Reasons","422":"Unprocessable Entity","415":"Unsupported Media Type","305":"Use Proxy"},_={Accepted:202,"Bad Gateway":502,"Bad Request":400,Conflict:409,Continue:100,Created:201,"Expectation Failed":417,"Failed Dependency":424,Forbidden:403,"Gateway Timeout":504,Gone:410,"HTTP Version Not Supported":505,"I'm a teapot":418,"Insufficient Space on Resource":419,"Insufficient Storage":507,"Internal Server Error":500,"Length Required":411,Locked:423,"Method Failure":420,"Method Not Allowed":405,"Moved Permanently":301,"Moved Temporarily":302,"Multi-Status":207,"Multiple Choices":300,"Network Authentication Required":511,"No Content":204,"Non Authoritative Information":203,"Not Acceptable":406,"Not Found":404,"Not Implemented":501,"Not Modified":304,OK:200,"Partial Content":206,"Payment Required":402,"Permanent Redirect":308,"Precondition Failed":412,"Precondition Required":428,Processing:102,"Proxy Authentication Required":407,"Request Header Fields Too Large":431,"Request Timeout":408,"Request Entity Too Large":413,"Request-URI Too Long":414,"Requested Range Not Satisfiable":416,"Reset Content":205,"See Other":303,"Service Unavailable":503,"Switching Protocols":101,"Temporary Redirect":307,"Too Many Requests":429,Unauthorized:401,"Unavailable For Legal Reasons":451,"Unprocessable Entity":422,"Unsupported Media Type":415,"Use Proxy":305};G.d(K,"getReasonPhrase",function(){return VD}),G.d(K,"getStatusCode",function(){return OD}),G.d(K,"getStatusText",function(){return HD}),G.d(K,"StatusCodes",function(){return C}),G.d(K,"ReasonPhrases",function(){return y}),G.d(K,"ACCEPTED",function(){return a}),G.d(K,"BAD_GATEWAY",function(){return bD}),G.d(K,"BAD_REQUEST",function(){return ED}),G.d(K,"CONFLICT",function(){return XD}),G.d(K,"CONTINUE",function(){return UD}),G.d(K,"CREATED",function(){return TD}),G.d(K,"EXPECTATION_FAILED",function(){return nD}),G.d(K,"FAILED_DEPENDENCY",function(){return Z0}),G.d(K,"FORBIDDEN",function(){return M0}),G.d(K,"GATEWAY_TIMEOUT",function(){return a1}),G.d(K,"GONE",function(){return D8}),G.d(K,"HTTP_VERSION_NOT_SUPPORTED",function(){return C8}),G.d(K,"IM_A_TEAPOT",function(){return V6}),G.d(K,"INSUFFICIENT_SPACE_ON_RESOURCE",function(){return $8}),G.d(K,"INSUFFICIENT_STORAGE",function(){return U6}),G.d(K,"INTERNAL_SERVER_ERROR",function(){return VF}),G.d(K,"LENGTH_REQUIRED",function(){return $7}),G.d(K,"LOCKED",function(){return a0}),G.d(K,"METHOD_FAILURE",function(){return y9}),G.d(K,"METHOD_NOT_ALLOWED",function(){return S7}),G.d(K,"MOVED_PERMANENTLY",function(){return K1}),G.d(K,"MOVED_TEMPORARILY",function(){return $5}),G.d(K,"MULTI_STATUS",function(){return R8}),G.d(K,"MULTIPLE_CHOICES",function(){return _9}),G.d(K,"NETWORK_AUTHENTICATION_REQUIRED",function(){return h5}),G.d(K,"NO_CONTENT",function(){return M2}),G.d(K,"NON_AUTHORITATIVE_INFORMATION",function(){return h2}),G.d(K,"NOT_ACCEPTABLE",function(){return $2}),G.d(K,"NOT_FOUND",function(){return xX}),G.d(K,"NOT_IMPLEMENTED",function(){return m5}),G.d(K,"NOT_MODIFIED",function(){return qZ}),G.d(K,"OK",function(){return r4}),G.d(K,"PARTIAL_CONTENT",function(){return Z7}),G.d(K,"PAYMENT_REQUIRED",function(){return y3}),G.d(K,"PERMANENT_REDIRECT",function(){return QJ}),G.d(K,"PRECONDITION_FAILED",function(){return _6}),G.d(K,"PRECONDITION_REQUIRED",function(){return e9}),G.d(K,"PROCESSING",function(){return B0}),G.d(K,"PROXY_AUTHENTICATION_REQUIRED",function(){return Q9}),G.d(K,"REQUEST_HEADER_FIELDS_TOO_LARGE",function(){return y5}),G.d(K,"REQUEST_TIMEOUT",function(){return vZ}),G.d(K,"REQUEST_TOO_LONG",function(){return d3}),G.d(K,"REQUEST_URI_TOO_LONG",function(){return oU}),G.d(K,"REQUESTED_RANGE_NOT_SATISFIABLE",function(){return QW}),G.d(K,"RESET_CONTENT",function(){return AY}),G.d(K,"SEE_OTHER",function(){return pR}),G.d(K,"SERVICE_UNAVAILABLE",function(){return qM}),G.d(K,"SWITCHING_PROTOCOLS",function(){return rB}),G.d(K,"TEMPORARY_REDIRECT",function(){return wK}),G.d(K,"TOO_MANY_REQUESTS",function(){return sU}),G.d(K,"UNAUTHORIZED",function(){return SK}),G.d(K,"UNPROCESSABLE_ENTITY",function(){return r$}),G.d(K,"UNSUPPORTED_MEDIA_TYPE",function(){return VW}),G.d(K,"USE_PROXY",function(){return vj}),G.d(K,"default",function(){return P1});function VD(r1){var zW=x[r1.toString()];if(!zW)throw new Error("Status code does not exist: "+r1);return zW}function OD(r1){var zW=_[r1];if(!zW)throw new Error("Reason phrase does not exist: "+r1);return zW}var HD=VD,a=202,bD=502,ED=400,XD=409,UD=100,TD=201,nD=417,Z0=424,M0=403,a1=504,D8=410,C8=505,V6=418,$8=419,U6=507,VF=500,$7=411,a0=423,y9=420,S7=405,K1=301,$5=302,R8=207,_9=300,h5=511,M2=204,h2=203,$2=406,xX=404,m5=501,qZ=304,r4=200,Z7=206,y3=402,QJ=308,_6=412,e9=428,B0=102,Q9=407,y5=431,vZ=408,d3=413,oU=414,QW=416,AY=205,pR=303,qM=503,rB=101,wK=307,sU=429,SK=401,r$=422,VW=415,vj=305,P1={ACCEPTED:a,BAD_GATEWAY:bD,BAD_REQUEST:ED,CONFLICT:XD,CONTINUE:UD,CREATED:TD,EXPECTATION_FAILED:nD,FORBIDDEN:M0,GATEWAY_TIMEOUT:a1,GONE:D8,HTTP_VERSION_NOT_SUPPORTED:C8,IM_A_TEAPOT:V6,INSUFFICIENT_SPACE_ON_RESOURCE:$8,INSUFFICIENT_STORAGE:U6,INTERNAL_SERVER_ERROR:VF,LENGTH_REQUIRED:$7,LOCKED:a0,METHOD_FAILURE:y9,METHOD_NOT_ALLOWED:S7,MOVED_PERMANENTLY:K1,MOVED_TEMPORARILY:$5,MULTI_STATUS:R8,MULTIPLE_CHOICES:_9,NETWORK_AUTHENTICATION_REQUIRED:h5,NO_CONTENT:M2,NON_AUTHORITATIVE_INFORMATION:h2,NOT_ACCEPTABLE:$2,NOT_FOUND:xX,NOT_IMPLEMENTED:m5,NOT_MODIFIED:qZ,OK:r4,PARTIAL_CONTENT:Z7,PAYMENT_REQUIRED:y3,PERMANENT_REDIRECT:QJ,PRECONDITION_FAILED:_6,PRECONDITION_REQUIRED:e9,PROCESSING:B0,PROXY_AUTHENTICATION_REQUIRED:Q9,REQUEST_HEADER_FIELDS_TOO_LARGE:y5,REQUEST_TIMEOUT:vZ,REQUEST_TOO_LONG:d3,REQUEST_URI_TOO_LONG:oU,REQUESTED_RANGE_NOT_SATISFIABLE:QW,RESET_CONTENT:AY,SEE_OTHER:pR,SERVICE_UNAVAILABLE:qM,SWITCHING_PROTOCOLS:rB,TEMPORARY_REDIRECT:wK,TOO_MANY_REQUESTS:sU,UNAUTHORIZED:SK,UNPROCESSABLE_ENTITY:r$,UNSUPPORTED_MEDIA_TYPE:VW,USE_PROXY:vj,getStatusText:HD,getStatusCode:OD}}},function(Q){(function(){Q.r=function(K){if(typeof Symbol!=="undefined"&&Symbol.toStringTag)Object.defineProperty(K,Symbol.toStringTag,{value:"Module"});Object.defineProperty(K,"__esModule",{value:!0})}})(),function(){var K=Object.prototype.hasOwnProperty;Q.d=function(G,C,y){if(!K.call(G,C))Object.defineProperty(G,C,{enumerable:!0,get:y})}}()})});var eC=OgD(p00(),1);var qc=OgD(r00(),1),WMD=(Q)=>Boolean(Q)&&typeof Q==="object"&&Q!==null&&("message"in Q),Io0=(Q)=>WMD(Q)&&("oclif"in Q),yo0=(Q)=>WMD(Q)&&("response"in Q)&&("request"in Q),Po0=(Q)=>{if(Q===qc.StatusCodes.OK)return;return Q===qc.StatusCodes.UNAUTHORIZED?"You are not logged to the Prismatic platform at the specified endpoint URL. Check the value for PRISMATIC_URL.":qc.getReasonPhrase(Q)},wo0=({response:{errors:Q=[],status:K}})=>{try{const G=Po0(K),C=Q.map(({message:y})=>y);return[G,...C].filter(Boolean).join("\n")}catch(G){return`GraphQL Error (Code: ${K})`}},o00=(Q)=>{if(Io0(Q))return Q;if(yo0(Q))return{...Q,message:wo0(Q)};if(WMD(Q))return{...Q,message:Q.message};return{name:"",message:Q}};try{eC.settings.enableAutoTranspile=!1,await eC.run(process.argv.slice(2),import.meta.url),await eC.flush()}catch(Q){await eC.handle(o00(Q))}
|