create-expo 5.1.7 → 5.1.8

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.
Files changed (2) hide show
  1. package/build/index.js +3 -3
  2. package/package.json +3 -4
package/build/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- (()=>{var e={3970:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};const s=r(181);const i=n(r(670));const o=s.constants.MAX_STRING_LENGTH;function spawnAsync(e,t,r={}){const n=new Error;const u=n.stack?n.stack.replace(/^.*/," ..."):null;const{ignoreStdio:a,maxBuffer:c,...l}=r;const f=c!=null;const p=!!a;const d=Math.min(c!==null&&c!==void 0?c:o,s.constants.MAX_STRING_LENGTH);let h=(0,i.default)(e,t,l);let g=new Promise(((r,n)=>{var s,i;const o={buffer:[],maxExceeded:false};const a={buffer:[],maxExceeded:false};function makeHandler(e){let t=0;return r=>{e.buffer.push(r);t+=typeof r==="string"?Buffer.byteLength(r):r.byteLength;while(e.buffer.length>0&&t>d){e.maxExceeded=true;r=e.buffer[0];const n=typeof r==="string"?Buffer.byteLength(r):r.byteLength;if(t-n<d){const n=typeof r==="string"?Buffer.from(r):r;const s=t-d;e.buffer[0]=n.subarray(s);t-=s;break}else{e.buffer.shift();t-=n}}}}function attachResult(r,n,s,i,o){function makeMaxBufferError(){const r=t&&t.length>0?` ${t.join(" ")}`:"";const o=new Error(`${e}${r} exceeded maxBuffer of ${d} bytes`);o.code="ERR_CHILD_PROCESS_STDIO_MAXBUFFER";return attachResult(o,n,s,i,true)}let u;let a;const c={stdout:{enumerable:true,configurable:true,get(){if(!o&&s.maxExceeded){throw makeMaxBufferError()}else if(u===undefined){u=Buffer.concat(s.buffer.map((e=>typeof e==="string"?Buffer.from(e):e))).toString("utf8")}return u}},stderr:{enumerable:true,configurable:true,get(){if(!o&&i.maxExceeded){throw makeMaxBufferError()}else if(a===undefined){a=Buffer.concat(i.buffer.map((e=>typeof e==="string"?Buffer.from(e):e))).toString("utf8")}return a}},output:{enumerable:true,configurable:true,get:()=>[r.stdout,r.stderr]}};for(const e in n){c[e]={value:n[e],enumerable:true,writable:true,configurable:true}}Object.defineProperties(r,c);return r}if(!p){(s=h.stdout)===null||s===void 0?void 0:s.on("data",makeHandler(o));(i=h.stderr)===null||i===void 0?void 0:i.on("data",makeHandler(a))}const c=p||!h.stdout&&!h.stderr?"exit":"close";let completionListener=(s,i)=>{h.removeListener("error",errorListener);const c=t&&t.length>0?` ${t.join(" ")}`:"";let l=null;if(s!==0){l=i?new Error(`${e}${c} exited with signal: ${i}`):new Error(`${e}${c} exited with non-zero code: ${s}`)}const p={pid:h.pid,status:s,signal:i};if(l){if(l.stack&&u)l.stack+=`\n${u}`;n(attachResult(l,p,o,a,true))}else if(f&&(o.maxExceeded||a.maxExceeded)){const t=new Error(`${e}${c} exceeded maxBuffer of ${d} bytes`);t.code="ERR_CHILD_PROCESS_STDIO_MAXBUFFER";n(attachResult(t,p,o,a,true))}else{const e={};r(attachResult(e,p,o,a))}};let errorListener=e=>{h.removeListener(c,completionListener);const t={pid:h.pid,status:null,signal:null};n(attachResult(e,t,o,a))};h.once(c,completionListener);h.once("error",errorListener)}));g.child=h;return g}e.exports=spawnAsync},1264:(e,t,r)=>{"use strict";e=r.nmd(e);const wrapAnsi16=(e,t)=>(...r)=>{const n=e(...r);return`[${n+t}m`};const wrapAnsi256=(e,t)=>(...r)=>{const n=e(...r);return`[${38+t};5;${n}m`};const wrapAnsi16m=(e,t)=>(...r)=>{const n=e(...r);return`[${38+t};2;${n[0]};${n[1]};${n[2]}m`};const ansi2ansi=e=>e;const rgb2rgb=(e,t,r)=>[e,t,r];const setLazyProperty=(e,t,r)=>{Object.defineProperty(e,t,{get:()=>{const n=r();Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true});return n},enumerable:true,configurable:true})};let n;const makeDynamicStyles=(e,t,s,i)=>{if(n===undefined){n=r(9734)}const o=i?10:0;const u={};for(const[r,i]of Object.entries(n)){const n=r==="ansi16"?"ansi":r;if(r===t){u[n]=e(s,o)}else if(typeof i==="object"){u[n]=e(i[t],o)}}return u};function assembleStyles(){const e=new Map;const t={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]}};t.color.gray=t.color.blackBright;t.bgColor.bgGray=t.bgColor.bgBlackBright;t.color.grey=t.color.blackBright;t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(const[r,n]of Object.entries(t)){for(const[r,s]of Object.entries(n)){t[r]={open:`[${s[0]}m`,close:`[${s[1]}m`};n[r]=t[r];e.set(s[0],s[1])}Object.defineProperty(t,r,{value:n,enumerable:false})}Object.defineProperty(t,"codes",{value:e,enumerable:false});t.color.close="";t.bgColor.close="";setLazyProperty(t.color,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,false)));setLazyProperty(t.color,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,false)));setLazyProperty(t.color,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,false)));setLazyProperty(t.bgColor,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,true)));setLazyProperty(t.bgColor,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,true)));setLazyProperty(t.bgColor,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,true)));return t}Object.defineProperty(e,"exports",{enumerable:true,get:assembleStyles})},2584:e=>{const t=Symbol("arg flag");class ArgError extends Error{constructor(e,t){super(e);this.name="ArgError";this.code=t;Object.setPrototypeOf(this,ArgError.prototype)}}function arg(e,{argv:r=process.argv.slice(2),permissive:n=false,stopAtPositional:s=false}={}){if(!e){throw new ArgError("argument specification object is required","ARG_CONFIG_NO_SPEC")}const i={_:[]};const o={};const u={};for(const r of Object.keys(e)){if(!r){throw new ArgError("argument key cannot be an empty string","ARG_CONFIG_EMPTY_KEY")}if(r[0]!=="-"){throw new ArgError(`argument key must start with '-' but found: '${r}'`,"ARG_CONFIG_NONOPT_KEY")}if(r.length===1){throw new ArgError(`argument key must have a name; singular '-' keys are not allowed: ${r}`,"ARG_CONFIG_NONAME_KEY")}if(typeof e[r]==="string"){o[r]=e[r];continue}let n=e[r];let s=false;if(Array.isArray(n)&&n.length===1&&typeof n[0]==="function"){const[e]=n;n=(t,r,n=[])=>{n.push(e(t,r,n[n.length-1]));return n};s=e===Boolean||e[t]===true}else if(typeof n==="function"){s=n===Boolean||n[t]===true}else{throw new ArgError(`type missing or not a function or valid array type: ${r}`,"ARG_CONFIG_VAD_TYPE")}if(r[1]!=="-"&&r.length>2){throw new ArgError(`short argument keys (with a single hyphen) must have only one character: ${r}`,"ARG_CONFIG_SHORTOPT_TOOLONG")}u[r]=[n,s]}for(let e=0,t=r.length;e<t;e++){const t=r[e];if(s&&i._.length>0){i._=i._.concat(r.slice(e));break}if(t==="--"){i._=i._.concat(r.slice(e+1));break}if(t.length>1&&t[0]==="-"){const s=t[1]==="-"||t.length===2?[t]:t.slice(1).split("").map((e=>`-${e}`));for(let t=0;t<s.length;t++){const a=s[t];const[c,l]=a[1]==="-"?a.split(/=(.*)/,2):[a,undefined];let f=c;while(f in o){f=o[f]}if(!(f in u)){if(n){i._.push(a);continue}else{throw new ArgError(`unknown or unexpected option: ${c}`,"ARG_UNKNOWN_OPTION")}}const[p,d]=u[f];if(!d&&t+1<s.length){throw new ArgError(`option requires argument (but was followed by another short argument): ${c}`,"ARG_MISSING_REQUIRED_SHORTARG")}if(d){i[f]=p(true,f,i[f])}else if(l===undefined){if(r.length<e+2||r[e+1].length>1&&r[e+1][0]==="-"&&!(r[e+1].match(/^-?\d*(\.(?=\d))?\d*$/)&&(p===Number||typeof BigInt!=="undefined"&&p===BigInt))){const e=c===f?"":` (alias for ${f})`;throw new ArgError(`option requires argument: ${c}${e}`,"ARG_MISSING_REQUIRED_LONGARG")}i[f]=p(r[e+1],f,i[f]);++e}else{i[f]=p(l,f,i[f])}}}else{i._.push(t)}}return i}arg.flag=e=>{e[t]=true;return e};arg.COUNT=arg.flag(((e,t,r)=>(r||0)+1));arg.ArgError=ArgError;e.exports=arg},2314:(e,t,r)=>{"use strict";const n=r(1264);const{stdout:s,stderr:i}=r(6480);const{stringReplaceAll:o,stringEncaseCRLFWithFirstIndex:u}=r(7188);const{isArray:a}=Array;const c=["ansi","ansi","ansi256","ansi16m"];const l=Object.create(null);const applyOptions=(e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3)){throw new Error("The `level` option should be an integer from 0 to 3")}const r=s?s.level:0;e.level=t.level===undefined?r:t.level};class ChalkClass{constructor(e){return chalkFactory(e)}}const chalkFactory=e=>{const t={};applyOptions(t,e);t.template=(...e)=>chalkTag(t.template,...e);Object.setPrototypeOf(t,Chalk.prototype);Object.setPrototypeOf(t.template,t);t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")};t.template.Instance=ChalkClass;return t.template};function Chalk(e){return chalkFactory(e)}for(const[e,t]of Object.entries(n)){l[e]={get(){const r=createBuilder(this,createStyler(t.open,t.close,this._styler),this._isEmpty);Object.defineProperty(this,e,{value:r});return r}}}l.visible={get(){const e=createBuilder(this,this._styler,true);Object.defineProperty(this,"visible",{value:e});return e}};const f=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const e of f){l[e]={get(){const{level:t}=this;return function(...r){const s=createStyler(n.color[c[t]][e](...r),n.color.close,this._styler);return createBuilder(this,s,this._isEmpty)}}}}for(const e of f){const t="bg"+e[0].toUpperCase()+e.slice(1);l[t]={get(){const{level:t}=this;return function(...r){const s=createStyler(n.bgColor[c[t]][e](...r),n.bgColor.close,this._styler);return createBuilder(this,s,this._isEmpty)}}}}const p=Object.defineProperties((()=>{}),{...l,level:{enumerable:true,get(){return this._generator.level},set(e){this._generator.level=e}}});const createStyler=(e,t,r)=>{let n;let s;if(r===undefined){n=e;s=t}else{n=r.openAll+e;s=t+r.closeAll}return{open:e,close:t,openAll:n,closeAll:s,parent:r}};const createBuilder=(e,t,r)=>{const builder=(...e)=>{if(a(e[0])&&a(e[0].raw)){return applyStyle(builder,chalkTag(builder,...e))}return applyStyle(builder,e.length===1?""+e[0]:e.join(" "))};Object.setPrototypeOf(builder,p);builder._generator=e;builder._styler=t;builder._isEmpty=r;return builder};const applyStyle=(e,t)=>{if(e.level<=0||!t){return e._isEmpty?"":t}let r=e._styler;if(r===undefined){return t}const{openAll:n,closeAll:s}=r;if(t.indexOf("")!==-1){while(r!==undefined){t=o(t,r.close,r.open);r=r.parent}}const i=t.indexOf("\n");if(i!==-1){t=u(t,s,n,i)}return n+t+s};let d;const chalkTag=(e,...t)=>{const[n]=t;if(!a(n)||!a(n.raw)){return t.join(" ")}const s=t.slice(1);const i=[n.raw[0]];for(let e=1;e<n.length;e++){i.push(String(s[e-1]).replace(/[{}\\]/g,"\\$&"),String(n.raw[e]))}if(d===undefined){d=r(9121)}return d(e,i.join(""))};Object.defineProperties(Chalk.prototype,l);const h=Chalk();h.supportsColor=s;h.stderr=Chalk({level:i?i.level:0});h.stderr.supportsColor=i;e.exports=h},9121:e=>{"use strict";const t=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;const r=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;const n=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;const s=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi;const i=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(e){const t=e[0]==="u";const r=e[1]==="{";if(t&&!r&&e.length===5||e[0]==="x"&&e.length===3){return String.fromCharCode(parseInt(e.slice(1),16))}if(t&&r){return String.fromCodePoint(parseInt(e.slice(2,-1),16))}return i.get(e)||e}function parseArguments(e,t){const r=[];const i=t.trim().split(/\s*,\s*/g);let o;for(const t of i){const i=Number(t);if(!Number.isNaN(i)){r.push(i)}else if(o=t.match(n)){r.push(o[2].replace(s,((e,t,r)=>t?unescape(t):r)))}else{throw new Error(`Invalid Chalk template style argument: ${t} (in style '${e}')`)}}return r}function parseStyle(e){r.lastIndex=0;const t=[];let n;while((n=r.exec(e))!==null){const e=n[1];if(n[2]){const r=parseArguments(e,n[2]);t.push([e].concat(r))}else{t.push([e])}}return t}function buildStyle(e,t){const r={};for(const e of t){for(const t of e.styles){r[t[0]]=e.inverse?null:t.slice(1)}}let n=e;for(const[e,t]of Object.entries(r)){if(!Array.isArray(t)){continue}if(!(e in n)){throw new Error(`Unknown Chalk style: ${e}`)}n=t.length>0?n[e](...t):n[e]}return n}e.exports=(e,r)=>{const n=[];const s=[];let i=[];r.replace(t,((t,r,o,u,a,c)=>{if(r){i.push(unescape(r))}else if(u){const t=i.join("");i=[];s.push(n.length===0?t:buildStyle(e,n)(t));n.push({inverse:o,styles:parseStyle(u)})}else if(a){if(n.length===0){throw new Error("Found extraneous } in Chalk template literal")}s.push(buildStyle(e,n)(i.join("")));i=[];n.pop()}else{i.push(c)}}));s.push(i.join(""));if(n.length>0){const e=`Chalk template literal is missing ${n.length} closing bracket${n.length===1?"":"s"} (\`}\`)`;throw new Error(e)}return s.join("")}},7188:e=>{"use strict";const stringReplaceAll=(e,t,r)=>{let n=e.indexOf(t);if(n===-1){return e}const s=t.length;let i=0;let o="";do{o+=e.substr(i,n-i)+t+r;i=n+s;n=e.indexOf(t,i)}while(n!==-1);o+=e.substr(i);return o};const stringEncaseCRLFWithFirstIndex=(e,t,r,n)=>{let s=0;let i="";do{const o=e[n-1]==="\r";i+=e.substr(s,(o?n-1:n)-s)+t+(o?"\r\n":"\n")+r;s=n+1;n=e.indexOf("\n",s)}while(n!==-1);i+=e.substr(s);return i};e.exports={stringReplaceAll:stringReplaceAll,stringEncaseCRLFWithFirstIndex:stringEncaseCRLFWithFirstIndex}},2979:(e,t,r)=>{const n=r(711);const s={};for(const e of Object.keys(n)){s[n[e]]=e}const i={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"]}};e.exports=i;for(const e of Object.keys(i)){if(!("channels"in i[e])){throw new Error("missing channels property: "+e)}if(!("labels"in i[e])){throw new Error("missing channel labels property: "+e)}if(i[e].labels.length!==i[e].channels){throw new Error("channel and label counts mismatch: "+e)}const{channels:t,labels:r}=i[e];delete i[e].channels;delete i[e].labels;Object.defineProperty(i[e],"channels",{value:t});Object.defineProperty(i[e],"labels",{value:r})}i.rgb.hsl=function(e){const t=e[0]/255;const r=e[1]/255;const n=e[2]/255;const s=Math.min(t,r,n);const i=Math.max(t,r,n);const o=i-s;let u;let a;if(i===s){u=0}else if(t===i){u=(r-n)/o}else if(r===i){u=2+(n-t)/o}else if(n===i){u=4+(t-r)/o}u=Math.min(u*60,360);if(u<0){u+=360}const c=(s+i)/2;if(i===s){a=0}else if(c<=.5){a=o/(i+s)}else{a=o/(2-i-s)}return[u,a*100,c*100]};i.rgb.hsv=function(e){let t;let r;let n;let s;let i;const o=e[0]/255;const u=e[1]/255;const a=e[2]/255;const c=Math.max(o,u,a);const l=c-Math.min(o,u,a);const diffc=function(e){return(c-e)/6/l+1/2};if(l===0){s=0;i=0}else{i=l/c;t=diffc(o);r=diffc(u);n=diffc(a);if(o===c){s=n-r}else if(u===c){s=1/3+t-n}else if(a===c){s=2/3+r-t}if(s<0){s+=1}else if(s>1){s-=1}}return[s*360,i*100,c*100]};i.rgb.hwb=function(e){const t=e[0];const r=e[1];let n=e[2];const s=i.rgb.hsl(e)[0];const o=1/255*Math.min(t,Math.min(r,n));n=1-1/255*Math.max(t,Math.max(r,n));return[s,o*100,n*100]};i.rgb.cmyk=function(e){const t=e[0]/255;const r=e[1]/255;const n=e[2]/255;const s=Math.min(1-t,1-r,1-n);const i=(1-t-s)/(1-s)||0;const o=(1-r-s)/(1-s)||0;const u=(1-n-s)/(1-s)||0;return[i*100,o*100,u*100,s*100]};function comparativeDistance(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}i.rgb.keyword=function(e){const t=s[e];if(t){return t}let r=Infinity;let i;for(const t of Object.keys(n)){const s=n[t];const o=comparativeDistance(e,s);if(o<r){r=o;i=t}}return i};i.keyword.rgb=function(e){return n[e]};i.rgb.xyz=function(e){let t=e[0]/255;let r=e[1]/255;let n=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92;r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;const s=t*.4124+r*.3576+n*.1805;const i=t*.2126+r*.7152+n*.0722;const o=t*.0193+r*.1192+n*.9505;return[s*100,i*100,o*100]};i.rgb.lab=function(e){const t=i.rgb.xyz(e);let r=t[0];let n=t[1];let s=t[2];r/=95.047;n/=100;s/=108.883;r=r>.008856?r**(1/3):7.787*r+16/116;n=n>.008856?n**(1/3):7.787*n+16/116;s=s>.008856?s**(1/3):7.787*s+16/116;const o=116*n-16;const u=500*(r-n);const a=200*(n-s);return[o,u,a]};i.hsl.rgb=function(e){const t=e[0]/360;const r=e[1]/100;const n=e[2]/100;let s;let i;let o;if(r===0){o=n*255;return[o,o,o]}if(n<.5){s=n*(1+r)}else{s=n+r-n*r}const u=2*n-s;const a=[0,0,0];for(let e=0;e<3;e++){i=t+1/3*-(e-1);if(i<0){i++}if(i>1){i--}if(6*i<1){o=u+(s-u)*6*i}else if(2*i<1){o=s}else if(3*i<2){o=u+(s-u)*(2/3-i)*6}else{o=u}a[e]=o*255}return a};i.hsl.hsv=function(e){const t=e[0];let r=e[1]/100;let n=e[2]/100;let s=r;const i=Math.max(n,.01);n*=2;r*=n<=1?n:2-n;s*=i<=1?i:2-i;const o=(n+r)/2;const u=n===0?2*s/(i+s):2*r/(n+r);return[t,u*100,o*100]};i.hsv.rgb=function(e){const t=e[0]/60;const r=e[1]/100;let n=e[2]/100;const s=Math.floor(t)%6;const i=t-Math.floor(t);const o=255*n*(1-r);const u=255*n*(1-r*i);const a=255*n*(1-r*(1-i));n*=255;switch(s){case 0:return[n,a,o];case 1:return[u,n,o];case 2:return[o,n,a];case 3:return[o,u,n];case 4:return[a,o,n];case 5:return[n,o,u]}};i.hsv.hsl=function(e){const t=e[0];const r=e[1]/100;const n=e[2]/100;const s=Math.max(n,.01);let i;let o;o=(2-r)*n;const u=(2-r)*s;i=r*s;i/=u<=1?u:2-u;i=i||0;o/=2;return[t,i*100,o*100]};i.hwb.rgb=function(e){const t=e[0]/360;let r=e[1]/100;let n=e[2]/100;const s=r+n;let i;if(s>1){r/=s;n/=s}const o=Math.floor(6*t);const u=1-n;i=6*t-o;if((o&1)!==0){i=1-i}const a=r+i*(u-r);let c;let l;let f;switch(o){default:case 6:case 0:c=u;l=a;f=r;break;case 1:c=a;l=u;f=r;break;case 2:c=r;l=u;f=a;break;case 3:c=r;l=a;f=u;break;case 4:c=a;l=r;f=u;break;case 5:c=u;l=r;f=a;break}return[c*255,l*255,f*255]};i.cmyk.rgb=function(e){const t=e[0]/100;const r=e[1]/100;const n=e[2]/100;const s=e[3]/100;const i=1-Math.min(1,t*(1-s)+s);const o=1-Math.min(1,r*(1-s)+s);const u=1-Math.min(1,n*(1-s)+s);return[i*255,o*255,u*255]};i.xyz.rgb=function(e){const t=e[0]/100;const r=e[1]/100;const n=e[2]/100;let s;let i;let o;s=t*3.2406+r*-1.5372+n*-.4986;i=t*-.9689+r*1.8758+n*.0415;o=t*.0557+r*-.204+n*1.057;s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92;i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92;o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92;s=Math.min(Math.max(0,s),1);i=Math.min(Math.max(0,i),1);o=Math.min(Math.max(0,o),1);return[s*255,i*255,o*255]};i.xyz.lab=function(e){let t=e[0];let r=e[1];let n=e[2];t/=95.047;r/=100;n/=108.883;t=t>.008856?t**(1/3):7.787*t+16/116;r=r>.008856?r**(1/3):7.787*r+16/116;n=n>.008856?n**(1/3):7.787*n+16/116;const s=116*r-16;const i=500*(t-r);const o=200*(r-n);return[s,i,o]};i.lab.xyz=function(e){const t=e[0];const r=e[1];const n=e[2];let s;let i;let o;i=(t+16)/116;s=r/500+i;o=i-n/200;const u=i**3;const a=s**3;const c=o**3;i=u>.008856?u:(i-16/116)/7.787;s=a>.008856?a:(s-16/116)/7.787;o=c>.008856?c:(o-16/116)/7.787;s*=95.047;i*=100;o*=108.883;return[s,i,o]};i.lab.lch=function(e){const t=e[0];const r=e[1];const n=e[2];let s;const i=Math.atan2(n,r);s=i*360/2/Math.PI;if(s<0){s+=360}const o=Math.sqrt(r*r+n*n);return[t,o,s]};i.lch.lab=function(e){const t=e[0];const r=e[1];const n=e[2];const s=n/360*2*Math.PI;const i=r*Math.cos(s);const o=r*Math.sin(s);return[t,i,o]};i.rgb.ansi16=function(e,t=null){const[r,n,s]=e;let o=t===null?i.rgb.hsv(e)[2]:t;o=Math.round(o/50);if(o===0){return 30}let u=30+(Math.round(s/255)<<2|Math.round(n/255)<<1|Math.round(r/255));if(o===2){u+=60}return u};i.hsv.ansi16=function(e){return i.rgb.ansi16(i.hsv.rgb(e),e[2])};i.rgb.ansi256=function(e){const t=e[0];const r=e[1];const n=e[2];if(t===r&&r===n){if(t<8){return 16}if(t>248){return 231}return Math.round((t-8)/247*24)+232}const s=16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5);return s};i.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7){if(e>50){t+=3.5}t=t/10.5*255;return[t,t,t]}const r=(~~(e>50)+1)*.5;const n=(t&1)*r*255;const s=(t>>1&1)*r*255;const i=(t>>2&1)*r*255;return[n,s,i]};i.ansi256.rgb=function(e){if(e>=232){const t=(e-232)*10+8;return[t,t,t]}e-=16;let t;const r=Math.floor(e/36)/5*255;const n=Math.floor((t=e%36)/6)/5*255;const s=t%6/5*255;return[r,n,s]};i.rgb.hex=function(e){const t=((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255);const r=t.toString(16).toUpperCase();return"000000".substring(r.length)+r};i.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t){return[0,0,0]}let r=t[0];if(t[0].length===3){r=r.split("").map((e=>e+e)).join("")}const n=parseInt(r,16);const s=n>>16&255;const i=n>>8&255;const o=n&255;return[s,i,o]};i.rgb.hcg=function(e){const t=e[0]/255;const r=e[1]/255;const n=e[2]/255;const s=Math.max(Math.max(t,r),n);const i=Math.min(Math.min(t,r),n);const o=s-i;let u;let a;if(o<1){u=i/(1-o)}else{u=0}if(o<=0){a=0}else if(s===t){a=(r-n)/o%6}else if(s===r){a=2+(n-t)/o}else{a=4+(t-r)/o}a/=6;a%=1;return[a*360,o*100,u*100]};i.hsl.hcg=function(e){const t=e[1]/100;const r=e[2]/100;const n=r<.5?2*t*r:2*t*(1-r);let s=0;if(n<1){s=(r-.5*n)/(1-n)}return[e[0],n*100,s*100]};i.hsv.hcg=function(e){const t=e[1]/100;const r=e[2]/100;const n=t*r;let s=0;if(n<1){s=(r-n)/(1-n)}return[e[0],n*100,s*100]};i.hcg.rgb=function(e){const t=e[0]/360;const r=e[1]/100;const n=e[2]/100;if(r===0){return[n*255,n*255,n*255]}const s=[0,0,0];const i=t%1*6;const o=i%1;const u=1-o;let a=0;switch(Math.floor(i)){case 0:s[0]=1;s[1]=o;s[2]=0;break;case 1:s[0]=u;s[1]=1;s[2]=0;break;case 2:s[0]=0;s[1]=1;s[2]=o;break;case 3:s[0]=0;s[1]=u;s[2]=1;break;case 4:s[0]=o;s[1]=0;s[2]=1;break;default:s[0]=1;s[1]=0;s[2]=u}a=(1-r)*n;return[(r*s[0]+a)*255,(r*s[1]+a)*255,(r*s[2]+a)*255]};i.hcg.hsv=function(e){const t=e[1]/100;const r=e[2]/100;const n=t+r*(1-t);let s=0;if(n>0){s=t/n}return[e[0],s*100,n*100]};i.hcg.hsl=function(e){const t=e[1]/100;const r=e[2]/100;const n=r*(1-t)+.5*t;let s=0;if(n>0&&n<.5){s=t/(2*n)}else if(n>=.5&&n<1){s=t/(2*(1-n))}return[e[0],s*100,n*100]};i.hcg.hwb=function(e){const t=e[1]/100;const r=e[2]/100;const n=t+r*(1-t);return[e[0],(n-t)*100,(1-n)*100]};i.hwb.hcg=function(e){const t=e[1]/100;const r=e[2]/100;const n=1-r;const s=n-t;let i=0;if(s<1){i=(n-s)/(1-s)}return[e[0],s*100,i*100]};i.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};i.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};i.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};i.gray.hsl=function(e){return[0,0,e[0]]};i.gray.hsv=i.gray.hsl;i.gray.hwb=function(e){return[0,100,e[0]]};i.gray.cmyk=function(e){return[0,0,0,e[0]]};i.gray.lab=function(e){return[e[0],0,0]};i.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255;const r=(t<<16)+(t<<8)+t;const n=r.toString(16).toUpperCase();return"000000".substring(n.length)+n};i.rgb.gray=function(e){const t=(e[0]+e[1]+e[2])/3;return[t/255*100]}},9734:(e,t,r)=>{const n=r(2979);const s=r(8307);const i={};const o=Object.keys(n);function wrapRaw(e){const wrappedFn=function(...t){const r=t[0];if(r===undefined||r===null){return r}if(r.length>1){t=r}return e(t)};if("conversion"in e){wrappedFn.conversion=e.conversion}return wrappedFn}function wrapRounded(e){const wrappedFn=function(...t){const r=t[0];if(r===undefined||r===null){return r}if(r.length>1){t=r}const n=e(t);if(typeof n==="object"){for(let e=n.length,t=0;t<e;t++){n[t]=Math.round(n[t])}}return n};if("conversion"in e){wrappedFn.conversion=e.conversion}return wrappedFn}o.forEach((e=>{i[e]={};Object.defineProperty(i[e],"channels",{value:n[e].channels});Object.defineProperty(i[e],"labels",{value:n[e].labels});const t=s(e);const r=Object.keys(t);r.forEach((r=>{const n=t[r];i[e][r]=wrapRounded(n);i[e][r].raw=wrapRaw(n)}))}));e.exports=i},8307:(e,t,r)=>{const n=r(2979);function buildGraph(){const e={};const t=Object.keys(n);for(let r=t.length,n=0;n<r;n++){e[t[n]]={distance:-1,parent:null}}return e}function deriveBFS(e){const t=buildGraph();const r=[e];t[e].distance=0;while(r.length){const e=r.pop();const s=Object.keys(n[e]);for(let n=s.length,i=0;i<n;i++){const n=s[i];const o=t[n];if(o.distance===-1){o.distance=t[e].distance+1;o.parent=e;r.unshift(n)}}}return t}function link(e,t){return function(r){return t(e(r))}}function wrapConversion(e,t){const r=[t[e].parent,e];let s=n[t[e].parent][e];let i=t[e].parent;while(t[i].parent){r.unshift(t[i].parent);s=link(n[t[i].parent][i],s);i=t[i].parent}s.conversion=r;return s}e.exports=function(e){const t=deriveBFS(e);const r={};const n=Object.keys(t);for(let e=n.length,s=0;s<e;s++){const e=n[s];const i=t[e];if(i.parent===null){continue}r[e]=wrapConversion(e,t)}return r}},711:e=>{"use strict";e.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]}},670:(e,t,r)=>{"use strict";const n=r(5317);const s=r(8401);const i=r(5377);function spawn(e,t,r){const o=s(e,t,r);const u=n.spawn(o.command,o.args,o.options);i.hookChildProcess(u,o);return u}function spawnSync(e,t,r){const o=s(e,t,r);const u=n.spawnSync(o.command,o.args,o.options);u.error=u.error||i.verifyENOENTSync(u.status,o);return u}e.exports=spawn;e.exports.spawn=spawn;e.exports.sync=spawnSync;e.exports._parse=s;e.exports._enoent=i},5377:e=>{"use strict";const t=process.platform==="win32";function notFoundError(e,t){return Object.assign(new Error(`${t} ${e.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${t} ${e.command}`,path:e.command,spawnargs:e.args})}function hookChildProcess(e,r){if(!t){return}const n=e.emit;e.emit=function(t,s){if(t==="exit"){const t=verifyENOENT(s,r);if(t){return n.call(e,"error",t)}}return n.apply(e,arguments)}}function verifyENOENT(e,r){if(t&&e===1&&!r.file){return notFoundError(r.original,"spawn")}return null}function verifyENOENTSync(e,r){if(t&&e===1&&!r.file){return notFoundError(r.original,"spawnSync")}return null}e.exports={hookChildProcess:hookChildProcess,verifyENOENT:verifyENOENT,verifyENOENTSync:verifyENOENTSync,notFoundError:notFoundError}},8401:(e,t,r)=>{"use strict";const n=r(6928);const s=r(7430);const i=r(6808);const o=r(9531);const u=process.platform==="win32";const a=/\.(?:com|exe)$/i;const c=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function detectShebang(e){e.file=s(e);const t=e.file&&o(e.file);if(t){e.args.unshift(e.file);e.command=t;return s(e)}return e.file}function parseNonShell(e){if(!u){return e}const t=detectShebang(e);const r=!a.test(t);if(e.options.forceShell||r){const r=c.test(t);e.command=n.normalize(e.command);e.command=i.command(e.command);e.args=e.args.map((e=>i.argument(e,r)));const s=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${s}"`];e.command=process.env.comspec||"cmd.exe";e.options.windowsVerbatimArguments=true}return e}function parse(e,t,r){if(t&&!Array.isArray(t)){r=t;t=null}t=t?t.slice(0):[];r=Object.assign({},r);const n={command:e,args:t,options:r,file:undefined,original:{command:e,args:t}};return r.shell?n:parseNonShell(n)}e.exports=parse},6808:e=>{"use strict";const t=/([()\][%!^"`<>&|;, *?])/g;function escapeCommand(e){e=e.replace(t,"^$1");return e}function escapeArgument(e,r){e=`${e}`;e=e.replace(/(?=(\\+?)?)\1"/g,'$1$1\\"');e=e.replace(/(?=(\\+?)?)\1$/,"$1$1");e=`"${e}"`;e=e.replace(t,"^$1");if(r){e=e.replace(t,"^$1")}return e}e.exports.command=escapeCommand;e.exports.argument=escapeArgument},9531:(e,t,r)=>{"use strict";const n=r(9896);const s=r(4881);function readShebang(e){const t=150;const r=Buffer.alloc(t);let i;try{i=n.openSync(e,"r");n.readSync(i,r,0,t,0);n.closeSync(i)}catch(e){}return s(r.toString())}e.exports=readShebang},7430:(e,t,r)=>{"use strict";const n=r(6928);const s=r(1192);const i=r(4662);function resolveCommandAttempt(e,t){const r=e.options.env||process.env;const o=process.cwd();const u=e.options.cwd!=null;const a=u&&process.chdir!==undefined&&!process.chdir.disabled;if(a){try{process.chdir(e.options.cwd)}catch(e){}}let c;try{c=s.sync(e.command,{path:r[i({env:r})],pathExt:t?n.delimiter:undefined})}catch(e){}finally{if(a){process.chdir(o)}}if(c){c=n.resolve(u?e.options.cwd:"",c)}return c}function resolveCommand(e){return resolveCommandAttempt(e)||resolveCommandAttempt(e,true)}e.exports=resolveCommand},471:(e,t,r)=>{t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.storage=localstorage();t.destroy=(()=>{let e=false;return()=>{if(!e){e=true;console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}}})();t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function useColors(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)){return true}if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)){return false}let e;return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function formatArgs(t){t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff);if(!this.useColors){return}const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0;let s=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{if(e==="%%"){return}n++;if(e==="%c"){s=n}}));t.splice(s,0,r)}t.log=console.debug||console.log||(()=>{});function save(e){try{if(e){t.storage.setItem("debug",e)}else{t.storage.removeItem("debug")}}catch(e){}}function load(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}if(!e&&typeof process!=="undefined"&&"env"in process){e=process.env.DEBUG}return e}function localstorage(){try{return localStorage}catch(e){}}e.exports=r(1210)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},1210:(e,t,r)=>{function setup(e){createDebug.debug=createDebug;createDebug.default=createDebug;createDebug.coerce=coerce;createDebug.disable=disable;createDebug.enable=enable;createDebug.enabled=enabled;createDebug.humanize=r(6987);createDebug.destroy=destroy;Object.keys(e).forEach((t=>{createDebug[t]=e[t]}));createDebug.names=[];createDebug.skips=[];createDebug.formatters={};function selectColor(e){let t=0;for(let r=0;r<e.length;r++){t=(t<<5)-t+e.charCodeAt(r);t|=0}return createDebug.colors[Math.abs(t)%createDebug.colors.length]}createDebug.selectColor=selectColor;function createDebug(e){let t;let r=null;let n;let s;function debug(...e){if(!debug.enabled){return}const r=debug;const n=Number(new Date);const s=n-(t||n);r.diff=s;r.prev=t;r.curr=n;t=n;e[0]=createDebug.coerce(e[0]);if(typeof e[0]!=="string"){e.unshift("%O")}let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((t,n)=>{if(t==="%%"){return"%"}i++;const s=createDebug.formatters[n];if(typeof s==="function"){const n=e[i];t=s.call(r,n);e.splice(i,1);i--}return t}));createDebug.formatArgs.call(r,e);const o=r.log||createDebug.log;o.apply(r,e)}debug.namespace=e;debug.useColors=createDebug.useColors();debug.color=createDebug.selectColor(e);debug.extend=extend;debug.destroy=createDebug.destroy;Object.defineProperty(debug,"enabled",{enumerable:true,configurable:false,get:()=>{if(r!==null){return r}if(n!==createDebug.namespaces){n=createDebug.namespaces;s=createDebug.enabled(e)}return s},set:e=>{r=e}});if(typeof createDebug.init==="function"){createDebug.init(debug)}return debug}function extend(e,t){const r=createDebug(this.namespace+(typeof t==="undefined"?":":t)+e);r.log=this.log;return r}function enable(e){createDebug.save(e);createDebug.namespaces=e;createDebug.names=[];createDebug.skips=[];const t=(typeof e==="string"?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const e of t){if(e[0]==="-"){createDebug.skips.push(e.slice(1))}else{createDebug.names.push(e)}}}function matchesTemplate(e,t){let r=0;let n=0;let s=-1;let i=0;while(r<e.length){if(n<t.length&&(t[n]===e[r]||t[n]==="*")){if(t[n]==="*"){s=n;i=r;n++}else{r++;n++}}else if(s!==-1){n=s+1;i++;r=i}else{return false}}while(n<t.length&&t[n]==="*"){n++}return n===t.length}function disable(){const e=[...createDebug.names,...createDebug.skips.map((e=>"-"+e))].join(",");createDebug.enable("");return e}function enabled(e){for(const t of createDebug.skips){if(matchesTemplate(e,t)){return false}}for(const t of createDebug.names){if(matchesTemplate(e,t)){return true}}return false}function coerce(e){if(e instanceof Error){return e.stack||e.message}return e}function destroy(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}createDebug.enable(createDebug.load());return createDebug}e.exports=setup},6675:(e,t,r)=>{if(typeof process==="undefined"||process.type==="renderer"||process.browser===true||process.__nwjs){e.exports=r(471)}else{e.exports=r(7443)}},7443:(e,t,r)=>{const n=r(2018);const s=r(9023);t.init=init;t.log=log;t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.destroy=s.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");t.colors=[6,2,3,4,5,1];try{const e=r(1403);if(e&&(e.stderr||e).level>=2){t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const r=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let n=process.env[t];if(/^(yes|on|true|enabled)$/i.test(n)){n=true}else if(/^(no|off|false|disabled)$/i.test(n)){n=false}else if(n==="null"){n=null}else{n=Number(n)}e[r]=n;return e}),{});function useColors(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):n.isatty(process.stderr.fd)}function formatArgs(t){const{namespace:r,useColors:n}=this;if(n){const n=this.color;const s="[3"+(n<8?n:"8;5;"+n);const i=` ${s};1m${r} `;t[0]=i+t[0].split("\n").join("\n"+i);t.push(s+"m+"+e.exports.humanize(this.diff)+"")}else{t[0]=getDate()+r+" "+t[0]}}function getDate(){if(t.inspectOpts.hideDate){return""}return(new Date).toISOString()+" "}function log(...e){return process.stderr.write(s.formatWithOptions(t.inspectOpts,...e)+"\n")}function save(e){if(e){process.env.DEBUG=e}else{delete process.env.DEBUG}}function load(){return process.env.DEBUG}function init(e){e.inspectOpts={};const r=Object.keys(t.inspectOpts);for(let n=0;n<r.length;n++){e.inspectOpts[r[n]]=t.inspectOpts[r[n]]}}e.exports=r(1210)(t);const{formatters:i}=e.exports;i.o=function(e){this.inspectOpts.colors=this.useColors;return s.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")};i.O=function(e){this.inspectOpts.colors=this.useColors;return s.inspect(e,this.inspectOpts)}},7442:e=>{"use strict";
2
+ (()=>{var __webpack_modules__={3970:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};const s=r(181);const i=n(r(670));const o=s.constants.MAX_STRING_LENGTH;function spawnAsync(e,t,r={}){const n=new Error;const u=n.stack?n.stack.replace(/^.*/," ..."):null;const{ignoreStdio:a,maxBuffer:c,...l}=r;const f=c!=null;const p=!!a;const d=Math.min(c!==null&&c!==void 0?c:o,s.constants.MAX_STRING_LENGTH);let h=(0,i.default)(e,t,l);let g=new Promise(((r,n)=>{var s,i;const o={buffer:[],maxExceeded:false};const a={buffer:[],maxExceeded:false};function makeHandler(e){let t=0;return r=>{e.buffer.push(r);t+=typeof r==="string"?Buffer.byteLength(r):r.byteLength;while(e.buffer.length>0&&t>d){e.maxExceeded=true;r=e.buffer[0];const n=typeof r==="string"?Buffer.byteLength(r):r.byteLength;if(t-n<d){const n=typeof r==="string"?Buffer.from(r):r;const s=t-d;e.buffer[0]=n.subarray(s);t-=s;break}else{e.buffer.shift();t-=n}}}}function attachResult(r,n,s,i,o){function makeMaxBufferError(){const r=t&&t.length>0?` ${t.join(" ")}`:"";const o=new Error(`${e}${r} exceeded maxBuffer of ${d} bytes`);o.code="ERR_CHILD_PROCESS_STDIO_MAXBUFFER";return attachResult(o,n,s,i,true)}let u;let a;const c={stdout:{enumerable:true,configurable:true,get(){if(!o&&s.maxExceeded){throw makeMaxBufferError()}else if(u===undefined){u=Buffer.concat(s.buffer.map((e=>typeof e==="string"?Buffer.from(e):e))).toString("utf8")}return u}},stderr:{enumerable:true,configurable:true,get(){if(!o&&i.maxExceeded){throw makeMaxBufferError()}else if(a===undefined){a=Buffer.concat(i.buffer.map((e=>typeof e==="string"?Buffer.from(e):e))).toString("utf8")}return a}},output:{enumerable:true,configurable:true,get:()=>[r.stdout,r.stderr]}};for(const e in n){c[e]={value:n[e],enumerable:true,writable:true,configurable:true}}Object.defineProperties(r,c);return r}if(!p){(s=h.stdout)===null||s===void 0?void 0:s.on("data",makeHandler(o));(i=h.stderr)===null||i===void 0?void 0:i.on("data",makeHandler(a))}const c=p||!h.stdout&&!h.stderr?"exit":"close";let completionListener=(s,i)=>{h.removeListener("error",errorListener);const c=t&&t.length>0?` ${t.join(" ")}`:"";let l=null;if(s!==0){l=i?new Error(`${e}${c} exited with signal: ${i}`):new Error(`${e}${c} exited with non-zero code: ${s}`)}const p={pid:h.pid,status:s,signal:i};if(l){if(l.stack&&u)l.stack+=`\n${u}`;n(attachResult(l,p,o,a,true))}else if(f&&(o.maxExceeded||a.maxExceeded)){const t=new Error(`${e}${c} exceeded maxBuffer of ${d} bytes`);t.code="ERR_CHILD_PROCESS_STDIO_MAXBUFFER";n(attachResult(t,p,o,a,true))}else{const e={};r(attachResult(e,p,o,a))}};let errorListener=e=>{h.removeListener(c,completionListener);const t={pid:h.pid,status:null,signal:null};n(attachResult(e,t,o,a))};h.once(c,completionListener);h.once("error",errorListener)}));g.child=h;return g}e.exports=spawnAsync},1264:(e,t,r)=>{"use strict";e=r.nmd(e);const wrapAnsi16=(e,t)=>(...r)=>{const n=e(...r);return`[${n+t}m`};const wrapAnsi256=(e,t)=>(...r)=>{const n=e(...r);return`[${38+t};5;${n}m`};const wrapAnsi16m=(e,t)=>(...r)=>{const n=e(...r);return`[${38+t};2;${n[0]};${n[1]};${n[2]}m`};const ansi2ansi=e=>e;const rgb2rgb=(e,t,r)=>[e,t,r];const setLazyProperty=(e,t,r)=>{Object.defineProperty(e,t,{get:()=>{const n=r();Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true});return n},enumerable:true,configurable:true})};let n;const makeDynamicStyles=(e,t,s,i)=>{if(n===undefined){n=r(9734)}const o=i?10:0;const u={};for(const[r,i]of Object.entries(n)){const n=r==="ansi16"?"ansi":r;if(r===t){u[n]=e(s,o)}else if(typeof i==="object"){u[n]=e(i[t],o)}}return u};function assembleStyles(){const e=new Map;const t={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]}};t.color.gray=t.color.blackBright;t.bgColor.bgGray=t.bgColor.bgBlackBright;t.color.grey=t.color.blackBright;t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(const[r,n]of Object.entries(t)){for(const[r,s]of Object.entries(n)){t[r]={open:`[${s[0]}m`,close:`[${s[1]}m`};n[r]=t[r];e.set(s[0],s[1])}Object.defineProperty(t,r,{value:n,enumerable:false})}Object.defineProperty(t,"codes",{value:e,enumerable:false});t.color.close="";t.bgColor.close="";setLazyProperty(t.color,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,false)));setLazyProperty(t.color,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,false)));setLazyProperty(t.color,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,false)));setLazyProperty(t.bgColor,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,true)));setLazyProperty(t.bgColor,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,true)));setLazyProperty(t.bgColor,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,true)));return t}Object.defineProperty(e,"exports",{enumerable:true,get:assembleStyles})},2584:e=>{const t=Symbol("arg flag");class ArgError extends Error{constructor(e,t){super(e);this.name="ArgError";this.code=t;Object.setPrototypeOf(this,ArgError.prototype)}}function arg(e,{argv:r=process.argv.slice(2),permissive:n=false,stopAtPositional:s=false}={}){if(!e){throw new ArgError("argument specification object is required","ARG_CONFIG_NO_SPEC")}const i={_:[]};const o={};const u={};for(const r of Object.keys(e)){if(!r){throw new ArgError("argument key cannot be an empty string","ARG_CONFIG_EMPTY_KEY")}if(r[0]!=="-"){throw new ArgError(`argument key must start with '-' but found: '${r}'`,"ARG_CONFIG_NONOPT_KEY")}if(r.length===1){throw new ArgError(`argument key must have a name; singular '-' keys are not allowed: ${r}`,"ARG_CONFIG_NONAME_KEY")}if(typeof e[r]==="string"){o[r]=e[r];continue}let n=e[r];let s=false;if(Array.isArray(n)&&n.length===1&&typeof n[0]==="function"){const[e]=n;n=(t,r,n=[])=>{n.push(e(t,r,n[n.length-1]));return n};s=e===Boolean||e[t]===true}else if(typeof n==="function"){s=n===Boolean||n[t]===true}else{throw new ArgError(`type missing or not a function or valid array type: ${r}`,"ARG_CONFIG_VAD_TYPE")}if(r[1]!=="-"&&r.length>2){throw new ArgError(`short argument keys (with a single hyphen) must have only one character: ${r}`,"ARG_CONFIG_SHORTOPT_TOOLONG")}u[r]=[n,s]}for(let e=0,t=r.length;e<t;e++){const t=r[e];if(s&&i._.length>0){i._=i._.concat(r.slice(e));break}if(t==="--"){i._=i._.concat(r.slice(e+1));break}if(t.length>1&&t[0]==="-"){const s=t[1]==="-"||t.length===2?[t]:t.slice(1).split("").map((e=>`-${e}`));for(let t=0;t<s.length;t++){const a=s[t];const[c,l]=a[1]==="-"?a.split(/=(.*)/,2):[a,undefined];let f=c;while(f in o){f=o[f]}if(!(f in u)){if(n){i._.push(a);continue}else{throw new ArgError(`unknown or unexpected option: ${c}`,"ARG_UNKNOWN_OPTION")}}const[p,d]=u[f];if(!d&&t+1<s.length){throw new ArgError(`option requires argument (but was followed by another short argument): ${c}`,"ARG_MISSING_REQUIRED_SHORTARG")}if(d){i[f]=p(true,f,i[f])}else if(l===undefined){if(r.length<e+2||r[e+1].length>1&&r[e+1][0]==="-"&&!(r[e+1].match(/^-?\d*(\.(?=\d))?\d*$/)&&(p===Number||typeof BigInt!=="undefined"&&p===BigInt))){const e=c===f?"":` (alias for ${f})`;throw new ArgError(`option requires argument: ${c}${e}`,"ARG_MISSING_REQUIRED_LONGARG")}i[f]=p(r[e+1],f,i[f]);++e}else{i[f]=p(l,f,i[f])}}}else{i._.push(t)}}return i}arg.flag=e=>{e[t]=true;return e};arg.COUNT=arg.flag(((e,t,r)=>(r||0)+1));arg.ArgError=ArgError;e.exports=arg},2314:(e,t,r)=>{"use strict";const n=r(1264);const{stdout:s,stderr:i}=r(6480);const{stringReplaceAll:o,stringEncaseCRLFWithFirstIndex:u}=r(7188);const{isArray:a}=Array;const c=["ansi","ansi","ansi256","ansi16m"];const l=Object.create(null);const applyOptions=(e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3)){throw new Error("The `level` option should be an integer from 0 to 3")}const r=s?s.level:0;e.level=t.level===undefined?r:t.level};class ChalkClass{constructor(e){return chalkFactory(e)}}const chalkFactory=e=>{const t={};applyOptions(t,e);t.template=(...e)=>chalkTag(t.template,...e);Object.setPrototypeOf(t,Chalk.prototype);Object.setPrototypeOf(t.template,t);t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")};t.template.Instance=ChalkClass;return t.template};function Chalk(e){return chalkFactory(e)}for(const[e,t]of Object.entries(n)){l[e]={get(){const r=createBuilder(this,createStyler(t.open,t.close,this._styler),this._isEmpty);Object.defineProperty(this,e,{value:r});return r}}}l.visible={get(){const e=createBuilder(this,this._styler,true);Object.defineProperty(this,"visible",{value:e});return e}};const f=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const e of f){l[e]={get(){const{level:t}=this;return function(...r){const s=createStyler(n.color[c[t]][e](...r),n.color.close,this._styler);return createBuilder(this,s,this._isEmpty)}}}}for(const e of f){const t="bg"+e[0].toUpperCase()+e.slice(1);l[t]={get(){const{level:t}=this;return function(...r){const s=createStyler(n.bgColor[c[t]][e](...r),n.bgColor.close,this._styler);return createBuilder(this,s,this._isEmpty)}}}}const p=Object.defineProperties((()=>{}),{...l,level:{enumerable:true,get(){return this._generator.level},set(e){this._generator.level=e}}});const createStyler=(e,t,r)=>{let n;let s;if(r===undefined){n=e;s=t}else{n=r.openAll+e;s=t+r.closeAll}return{open:e,close:t,openAll:n,closeAll:s,parent:r}};const createBuilder=(e,t,r)=>{const builder=(...e)=>{if(a(e[0])&&a(e[0].raw)){return applyStyle(builder,chalkTag(builder,...e))}return applyStyle(builder,e.length===1?""+e[0]:e.join(" "))};Object.setPrototypeOf(builder,p);builder._generator=e;builder._styler=t;builder._isEmpty=r;return builder};const applyStyle=(e,t)=>{if(e.level<=0||!t){return e._isEmpty?"":t}let r=e._styler;if(r===undefined){return t}const{openAll:n,closeAll:s}=r;if(t.indexOf("")!==-1){while(r!==undefined){t=o(t,r.close,r.open);r=r.parent}}const i=t.indexOf("\n");if(i!==-1){t=u(t,s,n,i)}return n+t+s};let d;const chalkTag=(e,...t)=>{const[n]=t;if(!a(n)||!a(n.raw)){return t.join(" ")}const s=t.slice(1);const i=[n.raw[0]];for(let e=1;e<n.length;e++){i.push(String(s[e-1]).replace(/[{}\\]/g,"\\$&"),String(n.raw[e]))}if(d===undefined){d=r(9121)}return d(e,i.join(""))};Object.defineProperties(Chalk.prototype,l);const h=Chalk();h.supportsColor=s;h.stderr=Chalk({level:i?i.level:0});h.stderr.supportsColor=i;e.exports=h},9121:e=>{"use strict";const t=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;const r=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;const n=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;const s=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi;const i=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(e){const t=e[0]==="u";const r=e[1]==="{";if(t&&!r&&e.length===5||e[0]==="x"&&e.length===3){return String.fromCharCode(parseInt(e.slice(1),16))}if(t&&r){return String.fromCodePoint(parseInt(e.slice(2,-1),16))}return i.get(e)||e}function parseArguments(e,t){const r=[];const i=t.trim().split(/\s*,\s*/g);let o;for(const t of i){const i=Number(t);if(!Number.isNaN(i)){r.push(i)}else if(o=t.match(n)){r.push(o[2].replace(s,((e,t,r)=>t?unescape(t):r)))}else{throw new Error(`Invalid Chalk template style argument: ${t} (in style '${e}')`)}}return r}function parseStyle(e){r.lastIndex=0;const t=[];let n;while((n=r.exec(e))!==null){const e=n[1];if(n[2]){const r=parseArguments(e,n[2]);t.push([e].concat(r))}else{t.push([e])}}return t}function buildStyle(e,t){const r={};for(const e of t){for(const t of e.styles){r[t[0]]=e.inverse?null:t.slice(1)}}let n=e;for(const[e,t]of Object.entries(r)){if(!Array.isArray(t)){continue}if(!(e in n)){throw new Error(`Unknown Chalk style: ${e}`)}n=t.length>0?n[e](...t):n[e]}return n}e.exports=(e,r)=>{const n=[];const s=[];let i=[];r.replace(t,((t,r,o,u,a,c)=>{if(r){i.push(unescape(r))}else if(u){const t=i.join("");i=[];s.push(n.length===0?t:buildStyle(e,n)(t));n.push({inverse:o,styles:parseStyle(u)})}else if(a){if(n.length===0){throw new Error("Found extraneous } in Chalk template literal")}s.push(buildStyle(e,n)(i.join("")));i=[];n.pop()}else{i.push(c)}}));s.push(i.join(""));if(n.length>0){const e=`Chalk template literal is missing ${n.length} closing bracket${n.length===1?"":"s"} (\`}\`)`;throw new Error(e)}return s.join("")}},7188:e=>{"use strict";const stringReplaceAll=(e,t,r)=>{let n=e.indexOf(t);if(n===-1){return e}const s=t.length;let i=0;let o="";do{o+=e.substr(i,n-i)+t+r;i=n+s;n=e.indexOf(t,i)}while(n!==-1);o+=e.substr(i);return o};const stringEncaseCRLFWithFirstIndex=(e,t,r,n)=>{let s=0;let i="";do{const o=e[n-1]==="\r";i+=e.substr(s,(o?n-1:n)-s)+t+(o?"\r\n":"\n")+r;s=n+1;n=e.indexOf("\n",s)}while(n!==-1);i+=e.substr(s);return i};e.exports={stringReplaceAll:stringReplaceAll,stringEncaseCRLFWithFirstIndex:stringEncaseCRLFWithFirstIndex}},2979:(e,t,r)=>{const n=r(711);const s={};for(const e of Object.keys(n)){s[n[e]]=e}const i={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"]}};e.exports=i;for(const e of Object.keys(i)){if(!("channels"in i[e])){throw new Error("missing channels property: "+e)}if(!("labels"in i[e])){throw new Error("missing channel labels property: "+e)}if(i[e].labels.length!==i[e].channels){throw new Error("channel and label counts mismatch: "+e)}const{channels:t,labels:r}=i[e];delete i[e].channels;delete i[e].labels;Object.defineProperty(i[e],"channels",{value:t});Object.defineProperty(i[e],"labels",{value:r})}i.rgb.hsl=function(e){const t=e[0]/255;const r=e[1]/255;const n=e[2]/255;const s=Math.min(t,r,n);const i=Math.max(t,r,n);const o=i-s;let u;let a;if(i===s){u=0}else if(t===i){u=(r-n)/o}else if(r===i){u=2+(n-t)/o}else if(n===i){u=4+(t-r)/o}u=Math.min(u*60,360);if(u<0){u+=360}const c=(s+i)/2;if(i===s){a=0}else if(c<=.5){a=o/(i+s)}else{a=o/(2-i-s)}return[u,a*100,c*100]};i.rgb.hsv=function(e){let t;let r;let n;let s;let i;const o=e[0]/255;const u=e[1]/255;const a=e[2]/255;const c=Math.max(o,u,a);const l=c-Math.min(o,u,a);const diffc=function(e){return(c-e)/6/l+1/2};if(l===0){s=0;i=0}else{i=l/c;t=diffc(o);r=diffc(u);n=diffc(a);if(o===c){s=n-r}else if(u===c){s=1/3+t-n}else if(a===c){s=2/3+r-t}if(s<0){s+=1}else if(s>1){s-=1}}return[s*360,i*100,c*100]};i.rgb.hwb=function(e){const t=e[0];const r=e[1];let n=e[2];const s=i.rgb.hsl(e)[0];const o=1/255*Math.min(t,Math.min(r,n));n=1-1/255*Math.max(t,Math.max(r,n));return[s,o*100,n*100]};i.rgb.cmyk=function(e){const t=e[0]/255;const r=e[1]/255;const n=e[2]/255;const s=Math.min(1-t,1-r,1-n);const i=(1-t-s)/(1-s)||0;const o=(1-r-s)/(1-s)||0;const u=(1-n-s)/(1-s)||0;return[i*100,o*100,u*100,s*100]};function comparativeDistance(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}i.rgb.keyword=function(e){const t=s[e];if(t){return t}let r=Infinity;let i;for(const t of Object.keys(n)){const s=n[t];const o=comparativeDistance(e,s);if(o<r){r=o;i=t}}return i};i.keyword.rgb=function(e){return n[e]};i.rgb.xyz=function(e){let t=e[0]/255;let r=e[1]/255;let n=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92;r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;const s=t*.4124+r*.3576+n*.1805;const i=t*.2126+r*.7152+n*.0722;const o=t*.0193+r*.1192+n*.9505;return[s*100,i*100,o*100]};i.rgb.lab=function(e){const t=i.rgb.xyz(e);let r=t[0];let n=t[1];let s=t[2];r/=95.047;n/=100;s/=108.883;r=r>.008856?r**(1/3):7.787*r+16/116;n=n>.008856?n**(1/3):7.787*n+16/116;s=s>.008856?s**(1/3):7.787*s+16/116;const o=116*n-16;const u=500*(r-n);const a=200*(n-s);return[o,u,a]};i.hsl.rgb=function(e){const t=e[0]/360;const r=e[1]/100;const n=e[2]/100;let s;let i;let o;if(r===0){o=n*255;return[o,o,o]}if(n<.5){s=n*(1+r)}else{s=n+r-n*r}const u=2*n-s;const a=[0,0,0];for(let e=0;e<3;e++){i=t+1/3*-(e-1);if(i<0){i++}if(i>1){i--}if(6*i<1){o=u+(s-u)*6*i}else if(2*i<1){o=s}else if(3*i<2){o=u+(s-u)*(2/3-i)*6}else{o=u}a[e]=o*255}return a};i.hsl.hsv=function(e){const t=e[0];let r=e[1]/100;let n=e[2]/100;let s=r;const i=Math.max(n,.01);n*=2;r*=n<=1?n:2-n;s*=i<=1?i:2-i;const o=(n+r)/2;const u=n===0?2*s/(i+s):2*r/(n+r);return[t,u*100,o*100]};i.hsv.rgb=function(e){const t=e[0]/60;const r=e[1]/100;let n=e[2]/100;const s=Math.floor(t)%6;const i=t-Math.floor(t);const o=255*n*(1-r);const u=255*n*(1-r*i);const a=255*n*(1-r*(1-i));n*=255;switch(s){case 0:return[n,a,o];case 1:return[u,n,o];case 2:return[o,n,a];case 3:return[o,u,n];case 4:return[a,o,n];case 5:return[n,o,u]}};i.hsv.hsl=function(e){const t=e[0];const r=e[1]/100;const n=e[2]/100;const s=Math.max(n,.01);let i;let o;o=(2-r)*n;const u=(2-r)*s;i=r*s;i/=u<=1?u:2-u;i=i||0;o/=2;return[t,i*100,o*100]};i.hwb.rgb=function(e){const t=e[0]/360;let r=e[1]/100;let n=e[2]/100;const s=r+n;let i;if(s>1){r/=s;n/=s}const o=Math.floor(6*t);const u=1-n;i=6*t-o;if((o&1)!==0){i=1-i}const a=r+i*(u-r);let c;let l;let f;switch(o){default:case 6:case 0:c=u;l=a;f=r;break;case 1:c=a;l=u;f=r;break;case 2:c=r;l=u;f=a;break;case 3:c=r;l=a;f=u;break;case 4:c=a;l=r;f=u;break;case 5:c=u;l=r;f=a;break}return[c*255,l*255,f*255]};i.cmyk.rgb=function(e){const t=e[0]/100;const r=e[1]/100;const n=e[2]/100;const s=e[3]/100;const i=1-Math.min(1,t*(1-s)+s);const o=1-Math.min(1,r*(1-s)+s);const u=1-Math.min(1,n*(1-s)+s);return[i*255,o*255,u*255]};i.xyz.rgb=function(e){const t=e[0]/100;const r=e[1]/100;const n=e[2]/100;let s;let i;let o;s=t*3.2406+r*-1.5372+n*-.4986;i=t*-.9689+r*1.8758+n*.0415;o=t*.0557+r*-.204+n*1.057;s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92;i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92;o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92;s=Math.min(Math.max(0,s),1);i=Math.min(Math.max(0,i),1);o=Math.min(Math.max(0,o),1);return[s*255,i*255,o*255]};i.xyz.lab=function(e){let t=e[0];let r=e[1];let n=e[2];t/=95.047;r/=100;n/=108.883;t=t>.008856?t**(1/3):7.787*t+16/116;r=r>.008856?r**(1/3):7.787*r+16/116;n=n>.008856?n**(1/3):7.787*n+16/116;const s=116*r-16;const i=500*(t-r);const o=200*(r-n);return[s,i,o]};i.lab.xyz=function(e){const t=e[0];const r=e[1];const n=e[2];let s;let i;let o;i=(t+16)/116;s=r/500+i;o=i-n/200;const u=i**3;const a=s**3;const c=o**3;i=u>.008856?u:(i-16/116)/7.787;s=a>.008856?a:(s-16/116)/7.787;o=c>.008856?c:(o-16/116)/7.787;s*=95.047;i*=100;o*=108.883;return[s,i,o]};i.lab.lch=function(e){const t=e[0];const r=e[1];const n=e[2];let s;const i=Math.atan2(n,r);s=i*360/2/Math.PI;if(s<0){s+=360}const o=Math.sqrt(r*r+n*n);return[t,o,s]};i.lch.lab=function(e){const t=e[0];const r=e[1];const n=e[2];const s=n/360*2*Math.PI;const i=r*Math.cos(s);const o=r*Math.sin(s);return[t,i,o]};i.rgb.ansi16=function(e,t=null){const[r,n,s]=e;let o=t===null?i.rgb.hsv(e)[2]:t;o=Math.round(o/50);if(o===0){return 30}let u=30+(Math.round(s/255)<<2|Math.round(n/255)<<1|Math.round(r/255));if(o===2){u+=60}return u};i.hsv.ansi16=function(e){return i.rgb.ansi16(i.hsv.rgb(e),e[2])};i.rgb.ansi256=function(e){const t=e[0];const r=e[1];const n=e[2];if(t===r&&r===n){if(t<8){return 16}if(t>248){return 231}return Math.round((t-8)/247*24)+232}const s=16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5);return s};i.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7){if(e>50){t+=3.5}t=t/10.5*255;return[t,t,t]}const r=(~~(e>50)+1)*.5;const n=(t&1)*r*255;const s=(t>>1&1)*r*255;const i=(t>>2&1)*r*255;return[n,s,i]};i.ansi256.rgb=function(e){if(e>=232){const t=(e-232)*10+8;return[t,t,t]}e-=16;let t;const r=Math.floor(e/36)/5*255;const n=Math.floor((t=e%36)/6)/5*255;const s=t%6/5*255;return[r,n,s]};i.rgb.hex=function(e){const t=((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255);const r=t.toString(16).toUpperCase();return"000000".substring(r.length)+r};i.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t){return[0,0,0]}let r=t[0];if(t[0].length===3){r=r.split("").map((e=>e+e)).join("")}const n=parseInt(r,16);const s=n>>16&255;const i=n>>8&255;const o=n&255;return[s,i,o]};i.rgb.hcg=function(e){const t=e[0]/255;const r=e[1]/255;const n=e[2]/255;const s=Math.max(Math.max(t,r),n);const i=Math.min(Math.min(t,r),n);const o=s-i;let u;let a;if(o<1){u=i/(1-o)}else{u=0}if(o<=0){a=0}else if(s===t){a=(r-n)/o%6}else if(s===r){a=2+(n-t)/o}else{a=4+(t-r)/o}a/=6;a%=1;return[a*360,o*100,u*100]};i.hsl.hcg=function(e){const t=e[1]/100;const r=e[2]/100;const n=r<.5?2*t*r:2*t*(1-r);let s=0;if(n<1){s=(r-.5*n)/(1-n)}return[e[0],n*100,s*100]};i.hsv.hcg=function(e){const t=e[1]/100;const r=e[2]/100;const n=t*r;let s=0;if(n<1){s=(r-n)/(1-n)}return[e[0],n*100,s*100]};i.hcg.rgb=function(e){const t=e[0]/360;const r=e[1]/100;const n=e[2]/100;if(r===0){return[n*255,n*255,n*255]}const s=[0,0,0];const i=t%1*6;const o=i%1;const u=1-o;let a=0;switch(Math.floor(i)){case 0:s[0]=1;s[1]=o;s[2]=0;break;case 1:s[0]=u;s[1]=1;s[2]=0;break;case 2:s[0]=0;s[1]=1;s[2]=o;break;case 3:s[0]=0;s[1]=u;s[2]=1;break;case 4:s[0]=o;s[1]=0;s[2]=1;break;default:s[0]=1;s[1]=0;s[2]=u}a=(1-r)*n;return[(r*s[0]+a)*255,(r*s[1]+a)*255,(r*s[2]+a)*255]};i.hcg.hsv=function(e){const t=e[1]/100;const r=e[2]/100;const n=t+r*(1-t);let s=0;if(n>0){s=t/n}return[e[0],s*100,n*100]};i.hcg.hsl=function(e){const t=e[1]/100;const r=e[2]/100;const n=r*(1-t)+.5*t;let s=0;if(n>0&&n<.5){s=t/(2*n)}else if(n>=.5&&n<1){s=t/(2*(1-n))}return[e[0],s*100,n*100]};i.hcg.hwb=function(e){const t=e[1]/100;const r=e[2]/100;const n=t+r*(1-t);return[e[0],(n-t)*100,(1-n)*100]};i.hwb.hcg=function(e){const t=e[1]/100;const r=e[2]/100;const n=1-r;const s=n-t;let i=0;if(s<1){i=(n-s)/(1-s)}return[e[0],s*100,i*100]};i.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};i.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};i.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};i.gray.hsl=function(e){return[0,0,e[0]]};i.gray.hsv=i.gray.hsl;i.gray.hwb=function(e){return[0,100,e[0]]};i.gray.cmyk=function(e){return[0,0,0,e[0]]};i.gray.lab=function(e){return[e[0],0,0]};i.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255;const r=(t<<16)+(t<<8)+t;const n=r.toString(16).toUpperCase();return"000000".substring(n.length)+n};i.rgb.gray=function(e){const t=(e[0]+e[1]+e[2])/3;return[t/255*100]}},9734:(e,t,r)=>{const n=r(2979);const s=r(8307);const i={};const o=Object.keys(n);function wrapRaw(e){const wrappedFn=function(...t){const r=t[0];if(r===undefined||r===null){return r}if(r.length>1){t=r}return e(t)};if("conversion"in e){wrappedFn.conversion=e.conversion}return wrappedFn}function wrapRounded(e){const wrappedFn=function(...t){const r=t[0];if(r===undefined||r===null){return r}if(r.length>1){t=r}const n=e(t);if(typeof n==="object"){for(let e=n.length,t=0;t<e;t++){n[t]=Math.round(n[t])}}return n};if("conversion"in e){wrappedFn.conversion=e.conversion}return wrappedFn}o.forEach((e=>{i[e]={};Object.defineProperty(i[e],"channels",{value:n[e].channels});Object.defineProperty(i[e],"labels",{value:n[e].labels});const t=s(e);const r=Object.keys(t);r.forEach((r=>{const n=t[r];i[e][r]=wrapRounded(n);i[e][r].raw=wrapRaw(n)}))}));e.exports=i},8307:(e,t,r)=>{const n=r(2979);function buildGraph(){const e={};const t=Object.keys(n);for(let r=t.length,n=0;n<r;n++){e[t[n]]={distance:-1,parent:null}}return e}function deriveBFS(e){const t=buildGraph();const r=[e];t[e].distance=0;while(r.length){const e=r.pop();const s=Object.keys(n[e]);for(let n=s.length,i=0;i<n;i++){const n=s[i];const o=t[n];if(o.distance===-1){o.distance=t[e].distance+1;o.parent=e;r.unshift(n)}}}return t}function link(e,t){return function(r){return t(e(r))}}function wrapConversion(e,t){const r=[t[e].parent,e];let s=n[t[e].parent][e];let i=t[e].parent;while(t[i].parent){r.unshift(t[i].parent);s=link(n[t[i].parent][i],s);i=t[i].parent}s.conversion=r;return s}e.exports=function(e){const t=deriveBFS(e);const r={};const n=Object.keys(t);for(let e=n.length,s=0;s<e;s++){const e=n[s];const i=t[e];if(i.parent===null){continue}r[e]=wrapConversion(e,t)}return r}},711:e=>{"use strict";e.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]}},670:(e,t,r)=>{"use strict";const n=r(5317);const s=r(8401);const i=r(5377);function spawn(e,t,r){const o=s(e,t,r);const u=n.spawn(o.command,o.args,o.options);i.hookChildProcess(u,o);return u}function spawnSync(e,t,r){const o=s(e,t,r);const u=n.spawnSync(o.command,o.args,o.options);u.error=u.error||i.verifyENOENTSync(u.status,o);return u}e.exports=spawn;e.exports.spawn=spawn;e.exports.sync=spawnSync;e.exports._parse=s;e.exports._enoent=i},5377:e=>{"use strict";const t=process.platform==="win32";function notFoundError(e,t){return Object.assign(new Error(`${t} ${e.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${t} ${e.command}`,path:e.command,spawnargs:e.args})}function hookChildProcess(e,r){if(!t){return}const n=e.emit;e.emit=function(t,s){if(t==="exit"){const t=verifyENOENT(s,r);if(t){return n.call(e,"error",t)}}return n.apply(e,arguments)}}function verifyENOENT(e,r){if(t&&e===1&&!r.file){return notFoundError(r.original,"spawn")}return null}function verifyENOENTSync(e,r){if(t&&e===1&&!r.file){return notFoundError(r.original,"spawnSync")}return null}e.exports={hookChildProcess:hookChildProcess,verifyENOENT:verifyENOENT,verifyENOENTSync:verifyENOENTSync,notFoundError:notFoundError}},8401:(e,t,r)=>{"use strict";const n=r(6928);const s=r(7430);const i=r(6808);const o=r(9531);const u=process.platform==="win32";const a=/\.(?:com|exe)$/i;const c=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function detectShebang(e){e.file=s(e);const t=e.file&&o(e.file);if(t){e.args.unshift(e.file);e.command=t;return s(e)}return e.file}function parseNonShell(e){if(!u){return e}const t=detectShebang(e);const r=!a.test(t);if(e.options.forceShell||r){const r=c.test(t);e.command=n.normalize(e.command);e.command=i.command(e.command);e.args=e.args.map((e=>i.argument(e,r)));const s=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${s}"`];e.command=process.env.comspec||"cmd.exe";e.options.windowsVerbatimArguments=true}return e}function parse(e,t,r){if(t&&!Array.isArray(t)){r=t;t=null}t=t?t.slice(0):[];r=Object.assign({},r);const n={command:e,args:t,options:r,file:undefined,original:{command:e,args:t}};return r.shell?n:parseNonShell(n)}e.exports=parse},6808:e=>{"use strict";const t=/([()\][%!^"`<>&|;, *?])/g;function escapeCommand(e){e=e.replace(t,"^$1");return e}function escapeArgument(e,r){e=`${e}`;e=e.replace(/(?=(\\+?)?)\1"/g,'$1$1\\"');e=e.replace(/(?=(\\+?)?)\1$/,"$1$1");e=`"${e}"`;e=e.replace(t,"^$1");if(r){e=e.replace(t,"^$1")}return e}e.exports.command=escapeCommand;e.exports.argument=escapeArgument},9531:(e,t,r)=>{"use strict";const n=r(9896);const s=r(4881);function readShebang(e){const t=150;const r=Buffer.alloc(t);let i;try{i=n.openSync(e,"r");n.readSync(i,r,0,t,0);n.closeSync(i)}catch(e){}return s(r.toString())}e.exports=readShebang},7430:(e,t,r)=>{"use strict";const n=r(6928);const s=r(1192);const i=r(4662);function resolveCommandAttempt(e,t){const r=e.options.env||process.env;const o=process.cwd();const u=e.options.cwd!=null;const a=u&&process.chdir!==undefined&&!process.chdir.disabled;if(a){try{process.chdir(e.options.cwd)}catch(e){}}let c;try{c=s.sync(e.command,{path:r[i({env:r})],pathExt:t?n.delimiter:undefined})}catch(e){}finally{if(a){process.chdir(o)}}if(c){c=n.resolve(u?e.options.cwd:"",c)}return c}function resolveCommand(e){return resolveCommandAttempt(e)||resolveCommandAttempt(e,true)}e.exports=resolveCommand},471:(e,t,r)=>{t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.storage=localstorage();t.destroy=(()=>{let e=false;return()=>{if(!e){e=true;console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}}})();t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function useColors(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)){return true}if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)){return false}let e;return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function formatArgs(t){t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff);if(!this.useColors){return}const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0;let s=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{if(e==="%%"){return}n++;if(e==="%c"){s=n}}));t.splice(s,0,r)}t.log=console.debug||console.log||(()=>{});function save(e){try{if(e){t.storage.setItem("debug",e)}else{t.storage.removeItem("debug")}}catch(e){}}function load(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}if(!e&&typeof process!=="undefined"&&"env"in process){e=process.env.DEBUG}return e}function localstorage(){try{return localStorage}catch(e){}}e.exports=r(1210)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},1210:(e,t,r)=>{function setup(e){createDebug.debug=createDebug;createDebug.default=createDebug;createDebug.coerce=coerce;createDebug.disable=disable;createDebug.enable=enable;createDebug.enabled=enabled;createDebug.humanize=r(6987);createDebug.destroy=destroy;Object.keys(e).forEach((t=>{createDebug[t]=e[t]}));createDebug.names=[];createDebug.skips=[];createDebug.formatters={};function selectColor(e){let t=0;for(let r=0;r<e.length;r++){t=(t<<5)-t+e.charCodeAt(r);t|=0}return createDebug.colors[Math.abs(t)%createDebug.colors.length]}createDebug.selectColor=selectColor;function createDebug(e){let t;let r=null;let n;let s;function debug(...e){if(!debug.enabled){return}const r=debug;const n=Number(new Date);const s=n-(t||n);r.diff=s;r.prev=t;r.curr=n;t=n;e[0]=createDebug.coerce(e[0]);if(typeof e[0]!=="string"){e.unshift("%O")}let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((t,n)=>{if(t==="%%"){return"%"}i++;const s=createDebug.formatters[n];if(typeof s==="function"){const n=e[i];t=s.call(r,n);e.splice(i,1);i--}return t}));createDebug.formatArgs.call(r,e);const o=r.log||createDebug.log;o.apply(r,e)}debug.namespace=e;debug.useColors=createDebug.useColors();debug.color=createDebug.selectColor(e);debug.extend=extend;debug.destroy=createDebug.destroy;Object.defineProperty(debug,"enabled",{enumerable:true,configurable:false,get:()=>{if(r!==null){return r}if(n!==createDebug.namespaces){n=createDebug.namespaces;s=createDebug.enabled(e)}return s},set:e=>{r=e}});if(typeof createDebug.init==="function"){createDebug.init(debug)}return debug}function extend(e,t){const r=createDebug(this.namespace+(typeof t==="undefined"?":":t)+e);r.log=this.log;return r}function enable(e){createDebug.save(e);createDebug.namespaces=e;createDebug.names=[];createDebug.skips=[];const t=(typeof e==="string"?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const e of t){if(e[0]==="-"){createDebug.skips.push(e.slice(1))}else{createDebug.names.push(e)}}}function matchesTemplate(e,t){let r=0;let n=0;let s=-1;let i=0;while(r<e.length){if(n<t.length&&(t[n]===e[r]||t[n]==="*")){if(t[n]==="*"){s=n;i=r;n++}else{r++;n++}}else if(s!==-1){n=s+1;i++;r=i}else{return false}}while(n<t.length&&t[n]==="*"){n++}return n===t.length}function disable(){const e=[...createDebug.names,...createDebug.skips.map((e=>"-"+e))].join(",");createDebug.enable("");return e}function enabled(e){for(const t of createDebug.skips){if(matchesTemplate(e,t)){return false}}for(const t of createDebug.names){if(matchesTemplate(e,t)){return true}}return false}function coerce(e){if(e instanceof Error){return e.stack||e.message}return e}function destroy(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}createDebug.enable(createDebug.load());return createDebug}e.exports=setup},6675:(e,t,r)=>{if(typeof process==="undefined"||process.type==="renderer"||process.browser===true||process.__nwjs){e.exports=r(471)}else{e.exports=r(7443)}},7443:(e,t,r)=>{const n=r(2018);const s=r(9023);t.init=init;t.log=log;t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.destroy=s.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");t.colors=[6,2,3,4,5,1];try{const e=r(1403);if(e&&(e.stderr||e).level>=2){t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const r=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let n=process.env[t];if(/^(yes|on|true|enabled)$/i.test(n)){n=true}else if(/^(no|off|false|disabled)$/i.test(n)){n=false}else if(n==="null"){n=null}else{n=Number(n)}e[r]=n;return e}),{});function useColors(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):n.isatty(process.stderr.fd)}function formatArgs(t){const{namespace:r,useColors:n}=this;if(n){const n=this.color;const s="[3"+(n<8?n:"8;5;"+n);const i=` ${s};1m${r} `;t[0]=i+t[0].split("\n").join("\n"+i);t.push(s+"m+"+e.exports.humanize(this.diff)+"")}else{t[0]=getDate()+r+" "+t[0]}}function getDate(){if(t.inspectOpts.hideDate){return""}return(new Date).toISOString()+" "}function log(...e){return process.stderr.write(s.formatWithOptions(t.inspectOpts,...e)+"\n")}function save(e){if(e){process.env.DEBUG=e}else{delete process.env.DEBUG}}function load(){return process.env.DEBUG}function init(e){e.inspectOpts={};const r=Object.keys(t.inspectOpts);for(let n=0;n<r.length;n++){e.inspectOpts[r[n]]=t.inspectOpts[r[n]]}}e.exports=r(1210)(t);const{formatters:i}=e.exports;i.o=function(e){this.inspectOpts.colors=this.useColors;return s.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")};i.O=function(e){this.inspectOpts.colors=this.useColors;return s.inspect(e,this.inspectOpts)}},7442:e=>{"use strict";
3
3
  /*!
4
4
  * @description Recursive object extending
5
5
  * @author Viacheslav Lotsmanov <lotsmanov89@gmail.com>
@@ -25,7 +25,7 @@
25
25
  * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
26
26
  * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
27
27
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
28
- */function isSpecificValue(e){return e instanceof Buffer||e instanceof Date||e instanceof RegExp?true:false}function cloneSpecificValue(e){if(e instanceof Buffer){var t=Buffer.alloc?Buffer.alloc(e.length):new Buffer(e.length);e.copy(t);return t}else if(e instanceof Date){return new Date(e.getTime())}else if(e instanceof RegExp){return new RegExp(e)}else{throw new Error("Unexpected situation")}}function deepCloneArray(e){var r=[];e.forEach((function(e,n){if(typeof e==="object"&&e!==null){if(Array.isArray(e)){r[n]=deepCloneArray(e)}else if(isSpecificValue(e)){r[n]=cloneSpecificValue(e)}else{r[n]=t({},e)}}else{r[n]=e}}));return r}function safeGetProperty(e,t){return t==="__proto__"?undefined:e[t]}var t=e.exports=function(){if(arguments.length<1||typeof arguments[0]!=="object"){return false}if(arguments.length<2){return arguments[0]}var e=arguments[0];var r=Array.prototype.slice.call(arguments,1);var n,s,i;r.forEach((function(r){if(typeof r!=="object"||r===null||Array.isArray(r)){return}Object.keys(r).forEach((function(i){s=safeGetProperty(e,i);n=safeGetProperty(r,i);if(n===e){return}else if(typeof n!=="object"||n===null){e[i]=n;return}else if(Array.isArray(n)){e[i]=deepCloneArray(n);return}else if(isSpecificValue(n)){e[i]=cloneSpecificValue(n);return}else if(typeof s!=="object"||s===null||Array.isArray(s)){e[i]=t({},n);return}else{e[i]=t(s,n);return}}))}));return e}},277:(e,t,r)=>{const n=r(7016);let s=false;let i=true;function _value(e,t){const r=process.env[e];if(r===undefined){if(t===undefined&&!i){return r}if(t===undefined){throw new Error("GetEnv.Nonexistent: "+e+" does not exist "+"and no fallback value provided.")}if(s){throw new Error("GetEnv.DisabledFallbacks: "+e+" relying on fallback "+"when fallbacks have been disabled")}return""+t}return r}const o={string:function(e){return""+e},int:function(e){const t=e.match(/^-?\d+$/);if(!t){throw new Error("GetEnv.NoInteger: "+e+" is not an integer.")}return+e},float:function(e){const t=+e===Infinity||+e===-Infinity;if(t){throw new Error("GetEnv.Infinity: "+e+" is set to +/-Infinity.")}const r=!(isNaN(e)||e==="");if(!r){throw new Error("GetEnv.NoFloat: "+e+" is not a number.")}return+e},bool:function(e){const t=(e||"").toLowerCase()==="true"||(e||"").toLowerCase()==="false";if(!t){throw new Error("GetEnv.NoBoolean: "+e+" is not a boolean.")}return(e||"").toLowerCase()==="true"},boolish:function(e){try{return o.bool(e)}catch(t){const r=e==="1"||e==="0";if(!r){throw new Error("GetEnv.NoBoolean: "+e+" is not a boolean.")}return e==="1"}},url:n.parse};function converter(e){return function(t,r){if(typeof t=="string"){const n=_value(t,r);return o[e](n)}else{return u.multi(t)}}}const u=converter("string");Object.keys(o).forEach((function(e){u[e]=converter(e)}));u.array=function array(e,t,r,n){t=t||"string";n=n||/\s*,\s*/;if(Object.keys(o).indexOf(t)===-1){throw new Error("GetEnv.ArrayUndefinedType: Unknown array type "+t)}const s=_value(e,r);return s.split(n).map(o[t])};u.multi=function multi(e){const t={};for(let r in e){const n=e[r];if(Array.isArray(n)){switch(n.length){case 1:case 2:t[r]=u(n[0],n[1]);break;case 3:t[r]=u[n[2]](n[0],n[1]);break;default:throw"getenv.multi(): invalid spec";break}}else{t[r]=u(n)}}return t};u.disableFallbacks=function(){s=true};u.enableFallbacks=function(){s=false};u.disableErrors=function(){i=false};u.enableErrors=function(){i=true};e.exports=u},4167:e=>{"use strict";e.exports=(e,t=process.argv)=>{const r=e.startsWith("-")?"":e.length===1?"-":"--";const n=t.indexOf(r+e);const s=t.indexOf("--");return n!==-1&&(s===-1||n<s)}},4394:(e,t,r)=>{"use strict";const n=r(8123);const isGitHubShorthand=e=>{const t=e.indexOf("#");const r=e.indexOf("/");const n=e.indexOf("/",r+1);const s=e.indexOf(":");const i=/\s/.exec(e);const o=e.indexOf("@");const u=!i||t>-1&&i.index>t;const a=o===-1||t>-1&&o>t;const c=s===-1||t>-1&&s>t;const l=n===-1||t>-1&&n>t;const f=r>0;const p=t>-1?e[t-1]!=="/":!e.endsWith("/");const d=!e.startsWith(".");return u&&f&&p&&d&&a&&c&&l};e.exports=(e,t,{gitHosts:r,protocols:s})=>{if(!e){return}const i=isGitHubShorthand(e)?`github:${e}`:e;const o=n(i,s);if(!o){return}const u=r.byShortcut[o.protocol];const a=r.byDomain[o.hostname.startsWith("www.")?o.hostname.slice(4):o.hostname];const c=u||a;if(!c){return}const l=r[u||a];let f=null;if(s[o.protocol]?.auth&&(o.username||o.password)){f=`${o.username}${o.password?":"+o.password:""}`}let p=null;let d=null;let h=null;let g=null;try{if(u){let e=o.pathname.startsWith("/")?o.pathname.slice(1):o.pathname;const t=e.indexOf("@");if(t>-1){e=e.slice(t+1)}const r=e.lastIndexOf("/");if(r>-1){d=decodeURIComponent(e.slice(0,r));if(!d){d=null}h=decodeURIComponent(e.slice(r+1))}else{h=decodeURIComponent(e)}if(h.endsWith(".git")){h=h.slice(0,-4)}if(o.hash){p=decodeURIComponent(o.hash.slice(1))}g="shortcut"}else{if(!l.protocols.includes(o.protocol)){return}const e=l.extract(o);if(!e){return}d=e.user&&decodeURIComponent(e.user);h=decodeURIComponent(e.project);p=decodeURIComponent(e.committish);g=s[o.protocol]?.name||o.protocol.slice(0,-1)}}catch(e){if(e instanceof URIError){return}else{throw e}}return[c,d,f,h,p,g,t]}},6923:e=>{"use strict";const maybeJoin=(...e)=>e.every((e=>e))?e.join(""):"";const maybeEncode=e=>e?encodeURIComponent(e):"";const formatHashFragment=e=>e.toLowerCase().replace(/^\W+|\/|\W+$/g,"").replace(/\W+/g,"-");const t={sshtemplate:({domain:e,user:t,project:r,committish:n})=>`git@${e}:${t}/${r}.git${maybeJoin("#",n)}`,sshurltemplate:({domain:e,user:t,project:r,committish:n})=>`git+ssh://git@${e}/${t}/${r}.git${maybeJoin("#",n)}`,edittemplate:({domain:e,user:t,project:r,committish:n,editpath:s,path:i})=>`https://${e}/${t}/${r}${maybeJoin("/",s,"/",maybeEncode(n||"HEAD"),"/",i)}`,browsetemplate:({domain:e,user:t,project:r,committish:n,treepath:s})=>`https://${e}/${t}/${r}${maybeJoin("/",s,"/",maybeEncode(n))}`,browsetreetemplate:({domain:e,user:t,project:r,committish:n,treepath:s,path:i,fragment:o,hashformat:u})=>`https://${e}/${t}/${r}/${s}/${maybeEncode(n||"HEAD")}/${i}${maybeJoin("#",u(o||""))}`,browseblobtemplate:({domain:e,user:t,project:r,committish:n,blobpath:s,path:i,fragment:o,hashformat:u})=>`https://${e}/${t}/${r}/${s}/${maybeEncode(n||"HEAD")}/${i}${maybeJoin("#",u(o||""))}`,docstemplate:({domain:e,user:t,project:r,treepath:n,committish:s})=>`https://${e}/${t}/${r}${maybeJoin("/",n,"/",maybeEncode(s))}#readme`,httpstemplate:({auth:e,domain:t,user:r,project:n,committish:s})=>`git+https://${maybeJoin(e,"@")}${t}/${r}/${n}.git${maybeJoin("#",s)}`,filetemplate:({domain:e,user:t,project:r,committish:n,path:s})=>`https://${e}/${t}/${r}/raw/${maybeEncode(n||"HEAD")}/${s}`,shortcuttemplate:({type:e,user:t,project:r,committish:n})=>`${e}:${t}/${r}${maybeJoin("#",n)}`,pathtemplate:({user:e,project:t,committish:r})=>`${e}/${t}${maybeJoin("#",r)}`,bugstemplate:({domain:e,user:t,project:r})=>`https://${e}/${t}/${r}/issues`,hashformat:formatHashFragment};const r={};r.github={protocols:["git:","http:","git+ssh:","git+https:","ssh:","https:"],domain:"github.com",treepath:"tree",blobpath:"blob",editpath:"edit",filetemplate:({auth:e,user:t,project:r,committish:n,path:s})=>`https://${maybeJoin(e,"@")}raw.githubusercontent.com/${t}/${r}/${maybeEncode(n||"HEAD")}/${s}`,gittemplate:({auth:e,domain:t,user:r,project:n,committish:s})=>`git://${maybeJoin(e,"@")}${t}/${r}/${n}.git${maybeJoin("#",s)}`,tarballtemplate:({domain:e,user:t,project:r,committish:n})=>`https://codeload.${e}/${t}/${r}/tar.gz/${maybeEncode(n||"HEAD")}`,extract:e=>{let[,t,r,n,s]=e.pathname.split("/",5);if(n&&n!=="tree"){return}if(!n){s=e.hash.slice(1)}if(r&&r.endsWith(".git")){r=r.slice(0,-4)}if(!t||!r){return}return{user:t,project:r,committish:s}}};r.bitbucket={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"bitbucket.org",treepath:"src",blobpath:"src",editpath:"?mode=edit",edittemplate:({domain:e,user:t,project:r,committish:n,treepath:s,path:i,editpath:o})=>`https://${e}/${t}/${r}${maybeJoin("/",s,"/",maybeEncode(n||"HEAD"),"/",i,o)}`,tarballtemplate:({domain:e,user:t,project:r,committish:n})=>`https://${e}/${t}/${r}/get/${maybeEncode(n||"HEAD")}.tar.gz`,extract:e=>{let[,t,r,n]=e.pathname.split("/",4);if(["get"].includes(n)){return}if(r&&r.endsWith(".git")){r=r.slice(0,-4)}if(!t||!r){return}return{user:t,project:r,committish:e.hash.slice(1)}}};r.gitlab={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"gitlab.com",treepath:"tree",blobpath:"tree",editpath:"-/edit",httpstemplate:({auth:e,domain:t,user:r,project:n,committish:s})=>`git+https://${maybeJoin(e,"@")}${t}/${r}/${n}.git${maybeJoin("#",s)}`,tarballtemplate:({domain:e,user:t,project:r,committish:n})=>`https://${e}/${t}/${r}/repository/archive.tar.gz?ref=${maybeEncode(n||"HEAD")}`,extract:e=>{const t=e.pathname.slice(1);if(t.includes("/-/")||t.includes("/archive.tar.gz")){return}const r=t.split("/");let n=r.pop();if(n.endsWith(".git")){n=n.slice(0,-4)}const s=r.join("/");if(!s||!n){return}return{user:s,project:n,committish:e.hash.slice(1)}}};r.gist={protocols:["git:","git+ssh:","git+https:","ssh:","https:"],domain:"gist.github.com",editpath:"edit",sshtemplate:({domain:e,project:t,committish:r})=>`git@${e}:${t}.git${maybeJoin("#",r)}`,sshurltemplate:({domain:e,project:t,committish:r})=>`git+ssh://git@${e}/${t}.git${maybeJoin("#",r)}`,edittemplate:({domain:e,user:t,project:r,committish:n,editpath:s})=>`https://${e}/${t}/${r}${maybeJoin("/",maybeEncode(n))}/${s}`,browsetemplate:({domain:e,project:t,committish:r})=>`https://${e}/${t}${maybeJoin("/",maybeEncode(r))}`,browsetreetemplate:({domain:e,project:t,committish:r,path:n,hashformat:s})=>`https://${e}/${t}${maybeJoin("/",maybeEncode(r))}${maybeJoin("#",s(n))}`,browseblobtemplate:({domain:e,project:t,committish:r,path:n,hashformat:s})=>`https://${e}/${t}${maybeJoin("/",maybeEncode(r))}${maybeJoin("#",s(n))}`,docstemplate:({domain:e,project:t,committish:r})=>`https://${e}/${t}${maybeJoin("/",maybeEncode(r))}`,httpstemplate:({domain:e,project:t,committish:r})=>`git+https://${e}/${t}.git${maybeJoin("#",r)}`,filetemplate:({user:e,project:t,committish:r,path:n})=>`https://gist.githubusercontent.com/${e}/${t}/raw${maybeJoin("/",maybeEncode(r))}/${n}`,shortcuttemplate:({type:e,project:t,committish:r})=>`${e}:${t}${maybeJoin("#",r)}`,pathtemplate:({project:e,committish:t})=>`${e}${maybeJoin("#",t)}`,bugstemplate:({domain:e,project:t})=>`https://${e}/${t}`,gittemplate:({domain:e,project:t,committish:r})=>`git://${e}/${t}.git${maybeJoin("#",r)}`,tarballtemplate:({project:e,committish:t})=>`https://codeload.github.com/gist/${e}/tar.gz/${maybeEncode(t||"HEAD")}`,extract:e=>{let[,t,r,n]=e.pathname.split("/",4);if(n==="raw"){return}if(!r){if(!t){return}r=t;t=null}if(r.endsWith(".git")){r=r.slice(0,-4)}return{user:t,project:r,committish:e.hash.slice(1)}},hashformat:function(e){return e&&"file-"+formatHashFragment(e)}};r.sourcehut={protocols:["git+ssh:","https:"],domain:"git.sr.ht",treepath:"tree",blobpath:"tree",filetemplate:({domain:e,user:t,project:r,committish:n,path:s})=>`https://${e}/${t}/${r}/blob/${maybeEncode(n)||"HEAD"}/${s}`,httpstemplate:({domain:e,user:t,project:r,committish:n})=>`https://${e}/${t}/${r}.git${maybeJoin("#",n)}`,tarballtemplate:({domain:e,user:t,project:r,committish:n})=>`https://${e}/${t}/${r}/archive/${maybeEncode(n)||"HEAD"}.tar.gz`,bugstemplate:()=>null,extract:e=>{let[,t,r,n]=e.pathname.split("/",4);if(["archive"].includes(n)){return}if(r&&r.endsWith(".git")){r=r.slice(0,-4)}if(!t||!r){return}return{user:t,project:r,committish:e.hash.slice(1)}}};for(const[e,n]of Object.entries(r)){r[e]=Object.assign({},t,n)}e.exports=r},1496:(e,t,r)=>{"use strict";const{LRUCache:n}=r(5934);const s=r(6923);const i=r(4394);const o=r(8123);const u=new n({max:1e3});class GitHost{constructor(e,t,r,n,s,i,o={}){Object.assign(this,GitHost.#e[e],{type:e,user:t,auth:r,project:n,committish:s,default:i,opts:o})}static#e={byShortcut:{},byDomain:{}};static#t={"git+ssh:":{name:"sshurl"},"ssh:":{name:"sshurl"},"git+https:":{name:"https",auth:true},"git:":{auth:true},"http:":{auth:true},"https:":{auth:true},"git+http:":{auth:true}};static addHost(e,t){GitHost.#e[e]=t;GitHost.#e.byDomain[t.domain]=e;GitHost.#e.byShortcut[`${e}:`]=e;GitHost.#t[`${e}:`]={name:e}}static fromUrl(e,t){if(typeof e!=="string"){return}const r=e+JSON.stringify(t||{});if(!u.has(r)){const n=i(e,t,{gitHosts:GitHost.#e,protocols:GitHost.#t});u.set(r,n?new GitHost(...n):undefined)}return u.get(r)}static parseUrl(e){return o(e)}#r(e,t){if(typeof e!=="function"){return null}const r={...this,...this.opts,...t};if(!r.path){r.path=""}if(r.path.startsWith("/")){r.path=r.path.slice(1)}if(r.noCommittish){r.committish=null}const n=e(r);return r.noGitPlus&&n.startsWith("git+")?n.slice(4):n}hash(){return this.committish?`#${this.committish}`:""}ssh(e){return this.#r(this.sshtemplate,e)}sshurl(e){return this.#r(this.sshurltemplate,e)}browse(e,...t){if(typeof e!=="string"){return this.#r(this.browsetemplate,e)}if(typeof t[0]!=="string"){return this.#r(this.browsetreetemplate,{...t[0],path:e})}return this.#r(this.browsetreetemplate,{...t[1],fragment:t[0],path:e})}browseFile(e,...t){if(typeof t[0]!=="string"){return this.#r(this.browseblobtemplate,{...t[0],path:e})}return this.#r(this.browseblobtemplate,{...t[1],fragment:t[0],path:e})}docs(e){return this.#r(this.docstemplate,e)}bugs(e){return this.#r(this.bugstemplate,e)}https(e){return this.#r(this.httpstemplate,e)}git(e){return this.#r(this.gittemplate,e)}shortcut(e){return this.#r(this.shortcuttemplate,e)}path(e){return this.#r(this.pathtemplate,e)}tarball(e){return this.#r(this.tarballtemplate,{...e,noCommittish:false})}file(e,t){return this.#r(this.filetemplate,{...t,path:e})}edit(e,t){return this.#r(this.edittemplate,{...t,path:e})}getDefaultRepresentation(){return this.default}toString(e){if(this.default&&typeof this[this.default]==="function"){return this[this.default](e)}return this.sshurl(e)}}for(const[e,t]of Object.entries(s)){GitHost.addHost(e,t)}e.exports=GitHost},8123:(e,t,r)=>{const n=r(7016);const lastIndexOfBefore=(e,t,r)=>{const n=e.indexOf(r);return e.lastIndexOf(t,n>-1?n:Infinity)};const safeUrl=e=>{try{return new n.URL(e)}catch{}};const correctProtocol=(e,t)=>{const r=e.indexOf(":");const n=e.slice(0,r+1);if(Object.prototype.hasOwnProperty.call(t,n)){return e}const s=e.indexOf("@");if(s>-1){if(s>r){return`git+ssh://${e}`}else{return e}}const i=e.indexOf("//");if(i===r+1){return e}return`${e.slice(0,r+1)}//${e.slice(r+1)}`};const correctUrl=e=>{const t=lastIndexOfBefore(e,"@","#");const r=lastIndexOfBefore(e,":","#");if(r>t){e=e.slice(0,r)+"/"+e.slice(r+1)}if(lastIndexOfBefore(e,":","#")===-1&&e.indexOf("//")===-1){e=`git+ssh://${e}`}return e};e.exports=(e,t)=>{const r=t?correctProtocol(e,t):e;return safeUrl(r)||safeUrl(correctUrl(r))}},5667:(e,t)=>{t.parse=t.decode=decode;t.stringify=t.encode=encode;t.safe=safe;t.unsafe=unsafe;var r=typeof process!=="undefined"&&process.platform==="win32"?"\r\n":"\n";function encode(e,t){var n=[];var s="";if(typeof t==="string"){t={section:t,whitespace:false}}else{t=t||{};t.whitespace=t.whitespace===true}var i=t.whitespace?" = ":"=";Object.keys(e).forEach((function(t,o,u){var a=e[t];if(a&&Array.isArray(a)){a.forEach((function(e){s+=safe(t+"[]")+i+safe(e)+"\n"}))}else if(a&&typeof a==="object")n.push(t);else s+=safe(t)+i+safe(a)+r}));if(t.section&&s.length)s="["+safe(t.section)+"]"+r+s;n.forEach((function(n,i,o){var u=dotSplit(n).join("\\.");var a=(t.section?t.section+".":"")+u;var c=encode(e[n],{section:a,whitespace:t.whitespace});if(s.length&&c.length)s+=r;s+=c}));return s}function dotSplit(e){return e.replace(/\1/g,"LITERAL\\1LITERAL").replace(/\\\./g,"").split(/\./).map((function(e){return e.replace(/\1/g,"\\.").replace(/\2LITERAL\\1LITERAL\2/g,"")}))}function decode(e){var t={};var r=t;var n=null;var s=/^\[([^\]]*)\]$|^([^=]+)(=(.*))?$/i;var i=e.split(/[\r\n]+/g);i.forEach((function(e,i,o){if(!e||e.match(/^\s*[;#]/))return;var u=e.match(s);if(!u)return;if(u[1]!==undefined){n=unsafe(u[1]);if(n==="__proto__"){r={};return}r=t[n]=t[n]||{};return}var a=unsafe(u[2]);if(a==="__proto__")return;var c=u[3]?unsafe(u[4]):true;switch(c){case"true":case"false":case"null":c=JSON.parse(c)}if(a.length>2&&a.slice(-2)==="[]"){a=a.substring(0,a.length-2);if(a==="__proto__")return;if(!r[a])r[a]=[];else if(!Array.isArray(r[a]))r[a]=[r[a]]}if(Array.isArray(r[a]))r[a].push(c);else r[a]=c}));Object.keys(t).filter((function(e,r,n){if(!t[e]||typeof t[e]!=="object"||Array.isArray(t[e]))return false;var s=dotSplit(e);var i=t;var o=s.pop();var u=o.replace(/\\\./g,".");s.forEach((function(e,t,r){if(e==="__proto__")return;if(!i[e]||typeof i[e]!=="object")i[e]={};i=i[e]}));if(i===t&&u===o)return false;i[u]=t[e];return true})).forEach((function(e,r,n){delete t[e]}));return t}function isQuoted(e){return e.charAt(0)==='"'&&e.slice(-1)==='"'||e.charAt(0)==="'"&&e.slice(-1)==="'"}function safe(e){return typeof e!=="string"||e.match(/[=\r\n]/)||e.match(/^\[/)||e.length>1&&isQuoted(e)||e!==e.trim()?JSON.stringify(e):e.replace(/;/g,"\\;").replace(/#/g,"\\#")}function unsafe(e,t){e=(e||"").trim();if(isQuoted(e)){if(e.charAt(0)==="'")e=e.substr(1,e.length-2);try{e=JSON.parse(e)}catch(e){}}else{var r=false;var n="";for(var s=0,i=e.length;s<i;s++){var o=e.charAt(s);if(r){if("\\;#".indexOf(o)!==-1)n+=o;else n+="\\"+o;r=false}else if(";#".indexOf(o)!==-1)break;else if(o==="\\")r=true;else n+=o}if(r)n+="\\";return n.trim()}return e}},7105:(e,t,r)=>{var n=r(9896);var s;if(process.platform==="win32"||global.TESTING_WINDOWS){s=r(6132)}else{s=r(1778)}e.exports=isexe;isexe.sync=sync;function isexe(e,t,r){if(typeof t==="function"){r=t;t={}}if(!r){if(typeof Promise!=="function"){throw new TypeError("callback not provided")}return new Promise((function(r,n){isexe(e,t||{},(function(e,t){if(e){n(e)}else{r(t)}}))}))}s(e,t||{},(function(e,n){if(e){if(e.code==="EACCES"||t&&t.ignoreErrors){e=null;n=false}}r(e,n)}))}function sync(e,t){try{return s.sync(e,t||{})}catch(e){if(t&&t.ignoreErrors||e.code==="EACCES"){return false}else{throw e}}}},1778:(e,t,r)=>{e.exports=isexe;isexe.sync=sync;var n=r(9896);function isexe(e,t,r){n.stat(e,(function(e,n){r(e,e?false:checkStat(n,t))}))}function sync(e,t){return checkStat(n.statSync(e),t)}function checkStat(e,t){return e.isFile()&&checkMode(e,t)}function checkMode(e,t){var r=e.mode;var n=e.uid;var s=e.gid;var i=t.uid!==undefined?t.uid:process.getuid&&process.getuid();var o=t.gid!==undefined?t.gid:process.getgid&&process.getgid();var u=parseInt("100",8);var a=parseInt("010",8);var c=parseInt("001",8);var l=u|a;var f=r&c||r&a&&s===o||r&u&&n===i||r&l&&i===0;return f}},6132:(e,t,r)=>{e.exports=isexe;isexe.sync=sync;var n=r(9896);function checkPathExt(e,t){var r=t.pathExt!==undefined?t.pathExt:process.env.PATHEXT;if(!r){return true}r=r.split(";");if(r.indexOf("")!==-1){return true}for(var n=0;n<r.length;n++){var s=r[n].toLowerCase();if(s&&e.substr(-s.length).toLowerCase()===s){return true}}return false}function checkStat(e,t,r){if(!e.isSymbolicLink()&&!e.isFile()){return false}return checkPathExt(t,r)}function isexe(e,t,r){n.stat(e,(function(n,s){r(n,n?false:checkStat(s,e,t))}))}function sync(e,t){return checkStat(n.statSync(e),e,t)}},7815:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:undefined};if(e[1])t.type="string",t.closed=!!(e[3]||e[4]);else if(e[5])t.type="comment";else if(e[6])t.type="comment",t.closed=!!e[7];else if(e[8])t.type="regex";else if(e[9])t.type="number";else if(e[10])t.type="name";else if(e[11])t.type="punctuator";else if(e[12])t.type="whitespace";return t}},7598:(e,t,r)=>{const n=r(285);const s=r(3603);const i={parse:n,stringify:s};e.exports=i},285:(e,t,r)=>{const n=r(2944);let s;let i;let o;let u;let a;let c;let l;let f;let p;e.exports=function parse(e,t){s=String(e);i="start";o=[];u=0;a=1;c=0;l=undefined;f=undefined;p=undefined;do{l=lex();y[i]()}while(l.type!=="eof");if(typeof t==="function"){return internalize({"":p},"",t)}return p};function internalize(e,t,r){const n=e[t];if(n!=null&&typeof n==="object"){if(Array.isArray(n)){for(let e=0;e<n.length;e++){const t=String(e);const s=internalize(n,t,r);if(s===undefined){delete n[t]}else{Object.defineProperty(n,t,{value:s,writable:true,enumerable:true,configurable:true})}}}else{for(const e in n){const t=internalize(n,e,r);if(t===undefined){delete n[e]}else{Object.defineProperty(n,e,{value:t,writable:true,enumerable:true,configurable:true})}}}}return r.call(e,t,n)}let d;let h;let g;let m;let A;function lex(){d="default";h="";g=false;m=1;for(;;){A=peek();const e=E[d]();if(e){return e}}}function peek(){if(s[u]){return String.fromCodePoint(s.codePointAt(u))}}function read(){const e=peek();if(e==="\n"){a++;c=0}else if(e){c+=e.length}else{c++}if(e){u+=e.length}return e}const E={default(){switch(A){case"\t":case"\v":case"\f":case" ":case" ":case"\ufeff":case"\n":case"\r":case"\u2028":case"\u2029":read();return;case"/":read();d="comment";return;case undefined:read();return newToken("eof")}if(n.isSpaceSeparator(A)){read();return}return E[i]()},comment(){switch(A){case"*":read();d="multiLineComment";return;case"/":read();d="singleLineComment";return}throw invalidChar(read())},multiLineComment(){switch(A){case"*":read();d="multiLineCommentAsterisk";return;case undefined:throw invalidChar(read())}read()},multiLineCommentAsterisk(){switch(A){case"*":read();return;case"/":read();d="default";return;case undefined:throw invalidChar(read())}read();d="multiLineComment"},singleLineComment(){switch(A){case"\n":case"\r":case"\u2028":case"\u2029":read();d="default";return;case undefined:read();return newToken("eof")}read()},value(){switch(A){case"{":case"[":return newToken("punctuator",read());case"n":read();literal("ull");return newToken("null",null);case"t":read();literal("rue");return newToken("boolean",true);case"f":read();literal("alse");return newToken("boolean",false);case"-":case"+":if(read()==="-"){m=-1}d="sign";return;case".":h=read();d="decimalPointLeading";return;case"0":h=read();d="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":h=read();d="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",Infinity);case"N":read();literal("aN");return newToken("numeric",NaN);case'"':case"'":g=read()==='"';h="";d="string";return}throw invalidChar(read())},identifierNameStartEscape(){if(A!=="u"){throw invalidChar(read())}read();const e=unicodeEscape();switch(e){case"$":case"_":break;default:if(!n.isIdStartChar(e)){throw invalidIdentifier()}break}h+=e;d="identifierName"},identifierName(){switch(A){case"$":case"_":case"‌":case"‍":h+=read();return;case"\\":read();d="identifierNameEscape";return}if(n.isIdContinueChar(A)){h+=read();return}return newToken("identifier",h)},identifierNameEscape(){if(A!=="u"){throw invalidChar(read())}read();const e=unicodeEscape();switch(e){case"$":case"_":case"‌":case"‍":break;default:if(!n.isIdContinueChar(e)){throw invalidIdentifier()}break}h+=e;d="identifierName"},sign(){switch(A){case".":h=read();d="decimalPointLeading";return;case"0":h=read();d="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":h=read();d="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",m*Infinity);case"N":read();literal("aN");return newToken("numeric",NaN)}throw invalidChar(read())},zero(){switch(A){case".":h+=read();d="decimalPoint";return;case"e":case"E":h+=read();d="decimalExponent";return;case"x":case"X":h+=read();d="hexadecimal";return}return newToken("numeric",m*0)},decimalInteger(){switch(A){case".":h+=read();d="decimalPoint";return;case"e":case"E":h+=read();d="decimalExponent";return}if(n.isDigit(A)){h+=read();return}return newToken("numeric",m*Number(h))},decimalPointLeading(){if(n.isDigit(A)){h+=read();d="decimalFraction";return}throw invalidChar(read())},decimalPoint(){switch(A){case"e":case"E":h+=read();d="decimalExponent";return}if(n.isDigit(A)){h+=read();d="decimalFraction";return}return newToken("numeric",m*Number(h))},decimalFraction(){switch(A){case"e":case"E":h+=read();d="decimalExponent";return}if(n.isDigit(A)){h+=read();return}return newToken("numeric",m*Number(h))},decimalExponent(){switch(A){case"+":case"-":h+=read();d="decimalExponentSign";return}if(n.isDigit(A)){h+=read();d="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentSign(){if(n.isDigit(A)){h+=read();d="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentInteger(){if(n.isDigit(A)){h+=read();return}return newToken("numeric",m*Number(h))},hexadecimal(){if(n.isHexDigit(A)){h+=read();d="hexadecimalInteger";return}throw invalidChar(read())},hexadecimalInteger(){if(n.isHexDigit(A)){h+=read();return}return newToken("numeric",m*Number(h))},string(){switch(A){case"\\":read();h+=escape();return;case'"':if(g){read();return newToken("string",h)}h+=read();return;case"'":if(!g){read();return newToken("string",h)}h+=read();return;case"\n":case"\r":throw invalidChar(read());case"\u2028":case"\u2029":separatorChar(A);break;case undefined:throw invalidChar(read())}h+=read()},start(){switch(A){case"{":case"[":return newToken("punctuator",read())}d="value"},beforePropertyName(){switch(A){case"$":case"_":h=read();d="identifierName";return;case"\\":read();d="identifierNameStartEscape";return;case"}":return newToken("punctuator",read());case'"':case"'":g=read()==='"';d="string";return}if(n.isIdStartChar(A)){h+=read();d="identifierName";return}throw invalidChar(read())},afterPropertyName(){if(A===":"){return newToken("punctuator",read())}throw invalidChar(read())},beforePropertyValue(){d="value"},afterPropertyValue(){switch(A){case",":case"}":return newToken("punctuator",read())}throw invalidChar(read())},beforeArrayValue(){if(A==="]"){return newToken("punctuator",read())}d="value"},afterArrayValue(){switch(A){case",":case"]":return newToken("punctuator",read())}throw invalidChar(read())},end(){throw invalidChar(read())}};function newToken(e,t){return{type:e,value:t,line:a,column:c}}function literal(e){for(const t of e){const e=peek();if(e!==t){throw invalidChar(read())}read()}}function escape(){const e=peek();switch(e){case"b":read();return"\b";case"f":read();return"\f";case"n":read();return"\n";case"r":read();return"\r";case"t":read();return"\t";case"v":read();return"\v";case"0":read();if(n.isDigit(peek())){throw invalidChar(read())}return"\0";case"x":read();return hexEscape();case"u":read();return unicodeEscape();case"\n":case"\u2028":case"\u2029":read();return"";case"\r":read();if(peek()==="\n"){read()}return"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw invalidChar(read());case undefined:throw invalidChar(read())}return read()}function hexEscape(){let e="";let t=peek();if(!n.isHexDigit(t)){throw invalidChar(read())}e+=read();t=peek();if(!n.isHexDigit(t)){throw invalidChar(read())}e+=read();return String.fromCodePoint(parseInt(e,16))}function unicodeEscape(){let e="";let t=4;while(t-- >0){const t=peek();if(!n.isHexDigit(t)){throw invalidChar(read())}e+=read()}return String.fromCodePoint(parseInt(e,16))}const y={start(){if(l.type==="eof"){throw invalidEOF()}push()},beforePropertyName(){switch(l.type){case"identifier":case"string":f=l.value;i="afterPropertyName";return;case"punctuator":pop();return;case"eof":throw invalidEOF()}},afterPropertyName(){if(l.type==="eof"){throw invalidEOF()}i="beforePropertyValue"},beforePropertyValue(){if(l.type==="eof"){throw invalidEOF()}push()},beforeArrayValue(){if(l.type==="eof"){throw invalidEOF()}if(l.type==="punctuator"&&l.value==="]"){pop();return}push()},afterPropertyValue(){if(l.type==="eof"){throw invalidEOF()}switch(l.value){case",":i="beforePropertyName";return;case"}":pop()}},afterArrayValue(){if(l.type==="eof"){throw invalidEOF()}switch(l.value){case",":i="beforeArrayValue";return;case"]":pop()}},end(){}};function push(){let e;switch(l.type){case"punctuator":switch(l.value){case"{":e={};break;case"[":e=[];break}break;case"null":case"boolean":case"numeric":case"string":e=l.value;break}if(p===undefined){p=e}else{const t=o[o.length-1];if(Array.isArray(t)){t.push(e)}else{Object.defineProperty(t,f,{value:e,writable:true,enumerable:true,configurable:true})}}if(e!==null&&typeof e==="object"){o.push(e);if(Array.isArray(e)){i="beforeArrayValue"}else{i="beforePropertyName"}}else{const e=o[o.length-1];if(e==null){i="end"}else if(Array.isArray(e)){i="afterArrayValue"}else{i="afterPropertyValue"}}}function pop(){o.pop();const e=o[o.length-1];if(e==null){i="end"}else if(Array.isArray(e)){i="afterArrayValue"}else{i="afterPropertyValue"}}function invalidChar(e){if(e===undefined){return syntaxError(`JSON5: invalid end of input at ${a}:${c}`)}return syntaxError(`JSON5: invalid character '${formatChar(e)}' at ${a}:${c}`)}function invalidEOF(){return syntaxError(`JSON5: invalid end of input at ${a}:${c}`)}function invalidIdentifier(){c-=5;return syntaxError(`JSON5: invalid identifier character at ${a}:${c}`)}function separatorChar(e){console.warn(`JSON5: '${formatChar(e)}' in strings is not valid ECMAScript; consider escaping`)}function formatChar(e){const t={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(t[e]){return t[e]}if(e<" "){const t=e.charCodeAt(0).toString(16);return"\\x"+("00"+t).substring(t.length)}return e}function syntaxError(e){const t=new SyntaxError(e);t.lineNumber=a;t.columnNumber=c;return t}},3603:(e,t,r)=>{const n=r(2944);e.exports=function stringify(e,t,r){const s=[];let i="";let o;let u;let a="";let c;if(t!=null&&typeof t==="object"&&!Array.isArray(t)){r=t.space;c=t.quote;t=t.replacer}if(typeof t==="function"){u=t}else if(Array.isArray(t)){o=[];for(const e of t){let t;if(typeof e==="string"){t=e}else if(typeof e==="number"||e instanceof String||e instanceof Number){t=String(e)}if(t!==undefined&&o.indexOf(t)<0){o.push(t)}}}if(r instanceof Number){r=Number(r)}else if(r instanceof String){r=String(r)}if(typeof r==="number"){if(r>0){r=Math.min(10,Math.floor(r));a=" ".substr(0,r)}}else if(typeof r==="string"){a=r.substr(0,10)}return serializeProperty("",{"":e});function serializeProperty(e,t){let r=t[e];if(r!=null){if(typeof r.toJSON5==="function"){r=r.toJSON5(e)}else if(typeof r.toJSON==="function"){r=r.toJSON(e)}}if(u){r=u.call(t,e,r)}if(r instanceof Number){r=Number(r)}else if(r instanceof String){r=String(r)}else if(r instanceof Boolean){r=r.valueOf()}switch(r){case null:return"null";case true:return"true";case false:return"false"}if(typeof r==="string"){return quoteString(r,false)}if(typeof r==="number"){return String(r)}if(typeof r==="object"){return Array.isArray(r)?serializeArray(r):serializeObject(r)}return undefined}function quoteString(e){const t={"'":.1,'"':.2};const r={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};let s="";for(let i=0;i<e.length;i++){const o=e[i];switch(o){case"'":case'"':t[o]++;s+=o;continue;case"\0":if(n.isDigit(e[i+1])){s+="\\x00";continue}}if(r[o]){s+=r[o];continue}if(o<" "){let e=o.charCodeAt(0).toString(16);s+="\\x"+("00"+e).substring(e.length);continue}s+=o}const i=c||Object.keys(t).reduce(((e,r)=>t[e]<t[r]?e:r));s=s.replace(new RegExp(i,"g"),r[i]);return i+s+i}function serializeObject(e){if(s.indexOf(e)>=0){throw TypeError("Converting circular structure to JSON5")}s.push(e);let t=i;i=i+a;let r=o||Object.keys(e);let n=[];for(const t of r){const r=serializeProperty(t,e);if(r!==undefined){let e=serializeKey(t)+":";if(a!==""){e+=" "}e+=r;n.push(e)}}let u;if(n.length===0){u="{}"}else{let e;if(a===""){e=n.join(",");u="{"+e+"}"}else{let r=",\n"+i;e=n.join(r);u="{\n"+i+e+",\n"+t+"}"}}s.pop();i=t;return u}function serializeKey(e){if(e.length===0){return quoteString(e,true)}const t=String.fromCodePoint(e.codePointAt(0));if(!n.isIdStartChar(t)){return quoteString(e,true)}for(let r=t.length;r<e.length;r++){if(!n.isIdContinueChar(String.fromCodePoint(e.codePointAt(r)))){return quoteString(e,true)}}return e}function serializeArray(e){if(s.indexOf(e)>=0){throw TypeError("Converting circular structure to JSON5")}s.push(e);let t=i;i=i+a;let r=[];for(let t=0;t<e.length;t++){const n=serializeProperty(String(t),e);r.push(n!==undefined?n:"null")}let n;if(r.length===0){n="[]"}else{if(a===""){let e=r.join(",");n="["+e+"]"}else{let e=",\n"+i;let s=r.join(e);n="[\n"+i+s+",\n"+t+"]"}}s.pop();i=t;return n}}},1773:e=>{e.exports.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/;e.exports.ID_Start=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/;e.exports.ID_Continue=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},2944:(e,t,r)=>{const n=r(1773);e.exports={isSpaceSeparator(e){return typeof e==="string"&&n.Space_Separator.test(e)},isIdStartChar(e){return typeof e==="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="$"||e==="_"||n.ID_Start.test(e))},isIdContinueChar(e){return typeof e==="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||e==="$"||e==="_"||e==="‌"||e==="‍"||n.ID_Continue.test(e))},isDigit(e){return typeof e==="string"&&/[0-9]/.test(e)},isHexDigit(e){return typeof e==="string"&&/[0-9A-Fa-f]/.test(e)}}},2078:e=>{"use strict";function hasKey(e,t){var r=e;t.slice(0,-1).forEach((function(e){r=r[e]||{}}));var n=t[t.length-1];return n in r}function isNumber(e){if(typeof e==="number"){return true}if(/^0x[0-9a-f]+$/i.test(e)){return true}return/^[-+]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(e)}function isConstructorOrProto(e,t){return t==="constructor"&&typeof e[t]==="function"||t==="__proto__"}e.exports=function(e,t){if(!t){t={}}var r={bools:{},strings:{},unknownFn:null};if(typeof t.unknown==="function"){r.unknownFn=t.unknown}if(typeof t.boolean==="boolean"&&t.boolean){r.allBools=true}else{[].concat(t.boolean).filter(Boolean).forEach((function(e){r.bools[e]=true}))}var n={};function aliasIsBoolean(e){return n[e].some((function(e){return r.bools[e]}))}Object.keys(t.alias||{}).forEach((function(e){n[e]=[].concat(t.alias[e]);n[e].forEach((function(t){n[t]=[e].concat(n[e].filter((function(e){return t!==e})))}))}));[].concat(t.string).filter(Boolean).forEach((function(e){r.strings[e]=true;if(n[e]){[].concat(n[e]).forEach((function(e){r.strings[e]=true}))}}));var s=t.default||{};var i={_:[]};function argDefined(e,t){return r.allBools&&/^--[^=]+$/.test(t)||r.strings[e]||r.bools[e]||n[e]}function setKey(e,t,n){var s=e;for(var i=0;i<t.length-1;i++){var o=t[i];if(isConstructorOrProto(s,o)){return}if(s[o]===undefined){s[o]={}}if(s[o]===Object.prototype||s[o]===Number.prototype||s[o]===String.prototype){s[o]={}}if(s[o]===Array.prototype){s[o]=[]}s=s[o]}var u=t[t.length-1];if(isConstructorOrProto(s,u)){return}if(s===Object.prototype||s===Number.prototype||s===String.prototype){s={}}if(s===Array.prototype){s=[]}if(s[u]===undefined||r.bools[u]||typeof s[u]==="boolean"){s[u]=n}else if(Array.isArray(s[u])){s[u].push(n)}else{s[u]=[s[u],n]}}function setArg(e,t,s){if(s&&r.unknownFn&&!argDefined(e,s)){if(r.unknownFn(s)===false){return}}var o=!r.strings[e]&&isNumber(t)?Number(t):t;setKey(i,e.split("."),o);(n[e]||[]).forEach((function(e){setKey(i,e.split("."),o)}))}Object.keys(r.bools).forEach((function(e){setArg(e,s[e]===undefined?false:s[e])}));var o=[];if(e.indexOf("--")!==-1){o=e.slice(e.indexOf("--")+1);e=e.slice(0,e.indexOf("--"))}for(var u=0;u<e.length;u++){var a=e[u];var c;var l;if(/^--.+=/.test(a)){var f=a.match(/^--([^=]+)=([\s\S]*)$/);c=f[1];var p=f[2];if(r.bools[c]){p=p!=="false"}setArg(c,p,a)}else if(/^--no-.+/.test(a)){c=a.match(/^--no-(.+)/)[1];setArg(c,false,a)}else if(/^--.+/.test(a)){c=a.match(/^--(.+)/)[1];l=e[u+1];if(l!==undefined&&!/^(-|--)[^-]/.test(l)&&!r.bools[c]&&!r.allBools&&(n[c]?!aliasIsBoolean(c):true)){setArg(c,l,a);u+=1}else if(/^(true|false)$/.test(l)){setArg(c,l==="true",a);u+=1}else{setArg(c,r.strings[c]?"":true,a)}}else if(/^-[^-]+/.test(a)){var d=a.slice(1,-1).split("");var h=false;for(var g=0;g<d.length;g++){l=a.slice(g+2);if(l==="-"){setArg(d[g],l,a);continue}if(/[A-Za-z]/.test(d[g])&&l[0]==="="){setArg(d[g],l.slice(1),a);h=true;break}if(/[A-Za-z]/.test(d[g])&&/-?\d+(\.\d*)?(e-?\d+)?$/.test(l)){setArg(d[g],l,a);h=true;break}if(d[g+1]&&d[g+1].match(/\W/)){setArg(d[g],a.slice(g+2),a);h=true;break}else{setArg(d[g],r.strings[d[g]]?"":true,a)}}c=a.slice(-1)[0];if(!h&&c!=="-"){if(e[u+1]&&!/^(-|--)[^-]/.test(e[u+1])&&!r.bools[c]&&(n[c]?!aliasIsBoolean(c):true)){setArg(c,e[u+1],a);u+=1}else if(e[u+1]&&/^(true|false)$/.test(e[u+1])){setArg(c,e[u+1]==="true",a);u+=1}else{setArg(c,r.strings[c]?"":true,a)}}}else{if(!r.unknownFn||r.unknownFn(a)!==false){i._.push(r.strings._||!isNumber(a)?a:Number(a))}if(t.stopEarly){i._.push.apply(i._,e.slice(u+1));break}}}Object.keys(s).forEach((function(e){if(!hasKey(i,e.split("."))){setKey(i,e.split("."),s[e]);(n[e]||[]).forEach((function(t){setKey(i,t.split("."),s[e])}))}}));if(t["--"]){i["--"]=o.slice()}else{o.forEach((function(e){i._.push(e)}))}return i}},6987:e=>{var t=1e3;var r=t*60;var n=r*60;var s=n*24;var i=s*7;var o=s*365.25;e.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0){return parse(e)}else if(r==="number"&&isFinite(e)){return t.long?fmtLong(e):fmtShort(e)}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function parse(e){e=String(e);if(e.length>100){return}var u=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!u){return}var a=parseFloat(u[1]);var c=(u[2]||"ms").toLowerCase();switch(c){case"years":case"year":case"yrs":case"yr":case"y":return a*o;case"weeks":case"week":case"w":return a*i;case"days":case"day":case"d":return a*s;case"hours":case"hour":case"hrs":case"hr":case"h":return a*n;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return undefined}}function fmtShort(e){var i=Math.abs(e);if(i>=s){return Math.round(e/s)+"d"}if(i>=n){return Math.round(e/n)+"h"}if(i>=r){return Math.round(e/r)+"m"}if(i>=t){return Math.round(e/t)+"s"}return e+"ms"}function fmtLong(e){var i=Math.abs(e);if(i>=s){return plural(e,i,s,"day")}if(i>=n){return plural(e,i,n,"hour")}if(i>=r){return plural(e,i,r,"minute")}if(i>=t){return plural(e,i,t,"second")}return e+" ms"}function plural(e,t,r,n){var s=t>=r*1.5;return Math.round(e/r)+" "+n+(s?"s":"")}},9557:(e,t,r)=>{"use strict";e.exports=npa;e.exports.resolve=resolve;e.exports.toPurl=toPurl;e.exports.Result=Result;const{URL:n}=r(7016);const s=r(1496);const i=r(4423);const o=global.FAKE_WINDOWS?r(6928).win32:r(6928);const u=r(7905);const{homedir:a}=r(857);const{log:c}=r(4289);const l=process.platform==="win32"||global.FAKE_WINDOWS;const f=l?/\\|[/]/:/[/]/;const p=/^(?:git[+])?[a-z]+:/i;const d=/^[^@]+@[^:.]+\.[^:]+:.+$/i;const h=/[.](?:tgz|tar.gz|tar)$/i;function npa(e,t){let r;let n;if(typeof e==="object"){if(e instanceof Result&&(!t||t===e.where)){return e}else if(e.name&&e.rawSpec){return npa.resolve(e.name,e.rawSpec,t||e.where)}else{return npa(e.raw,t||e.where)}}const s=e[0]==="@"?e.slice(1).indexOf("@")+1:e.indexOf("@");const i=s>0?e.slice(0,s):e;if(p.test(e)){n=e}else if(d.test(e)){n=`git+ssh://${e}`}else if(i[0]!=="@"&&(f.test(i)||h.test(i))){n=e}else if(s>0){r=i;n=e.slice(s+1)||"*"}else{const t=u(e);if(t.validForOldPackages){r=e;n="*"}else{n=e}}return resolve(r,n,t,e)}const g=l?/^(?:[.]|~[/]|[/\\]|[a-zA-Z]:)/:/^(?:[.]|~[/]|[/]|[a-zA-Z]:)/;function resolve(e,t,r,n){const i=new Result({raw:n,name:e,rawSpec:t,fromArgument:n!=null});if(e){i.setName(e)}if(t&&(g.test(t)||/^file:/i.test(t))){return fromFile(i,r)}else if(t&&/^npm:/i.test(t)){return fromAlias(i,r)}const o=s.fromUrl(t,{noGitPlus:true,noCommittish:true});if(o){return fromHostedGit(i,o)}else if(t&&p.test(t)){return fromURL(i)}else if(t&&(f.test(t)||h.test(t))){return fromFile(i,r)}else{return fromRegistry(i)}}const m="https://registry.npmjs.org";function toPurl(e,t=m){const r=npa(e);if(r.type!=="version"){throw invalidPurlType(r.type,r.raw)}let n="pkg:npm/"+r.name.replace(/^@/,"%40")+"@"+r.rawSpec;if(t!==m){n+="?repository_url="+t}return n}function invalidPackageName(e,t,r){const n=new Error(`Invalid package name "${e}" of package "${r}": ${t.errors.join("; ")}.`);n.code="EINVALIDPACKAGENAME";return n}function invalidTagName(e,t){const r=new Error(`Invalid tag name "${e}" of package "${t}": Tags may not have any characters that encodeURIComponent encodes.`);r.code="EINVALIDTAGNAME";return r}function invalidPurlType(e,t){const r=new Error(`Invalid type "${e}" of package "${t}": Purl can only be generated for "version" types.`);r.code="EINVALIDPURLTYPE";return r}function Result(e){this.type=e.type;this.registry=e.registry;this.where=e.where;if(e.raw==null){this.raw=e.name?e.name+"@"+e.rawSpec:e.rawSpec}else{this.raw=e.raw}this.name=undefined;this.escapedName=undefined;this.scope=undefined;this.rawSpec=e.rawSpec||"";this.saveSpec=e.saveSpec;this.fetchSpec=e.fetchSpec;if(e.name){this.setName(e.name)}this.gitRange=e.gitRange;this.gitCommittish=e.gitCommittish;this.gitSubdir=e.gitSubdir;this.hosted=e.hosted}Result.prototype.setName=function(e){const t=u(e);if(!t.validForOldPackages){throw invalidPackageName(e,t,this.raw)}this.name=e;this.scope=e[0]==="@"?e.slice(0,e.indexOf("/")):undefined;this.escapedName=e.replace("/","%2f");return this};Result.prototype.toString=function(){const e=[];if(this.name!=null&&this.name!==""){e.push(this.name)}const t=this.saveSpec||this.fetchSpec||this.rawSpec;if(t!=null&&t!==""){e.push(t)}return e.length?e.join("@"):this.raw};Result.prototype.toJSON=function(){const e=Object.assign({},this);delete e.hosted;return e};function setGitAttrs(e,t){if(!t){e.gitCommittish=null;return}for(const r of t.split("::")){if(!r.includes(":")){if(e.gitRange){throw new Error("cannot override existing semver range with a committish")}if(e.gitCommittish){throw new Error("cannot override existing committish with a second committish")}e.gitCommittish=r;continue}const[t,n]=r.split(":");if(t==="semver"){if(e.gitCommittish){throw new Error("cannot override existing committish with a semver range")}if(e.gitRange){throw new Error("cannot override existing semver range with a second semver range")}e.gitRange=decodeURIComponent(n);continue}if(t==="path"){if(e.gitSubdir){throw new Error("cannot override existing path with a second path")}e.gitSubdir=`/${n}`;continue}c.warn("npm-package-arg",`ignoring unknown key "${t}"`)}}function fromFile(e,t){if(!t){t=process.cwd()}e.type=h.test(e.rawSpec)?"file":"directory";e.where=t;let r;let s;const i=!/^file:/.test(e.rawSpec)?"file:":"";const u=i+e.rawSpec;let c=u.replace(/^file:/,"");try{s=new n(u,`file://${o.resolve(t)}/`);r=new n(u)}catch(r){const n=new Error("Invalid file: URL, must comply with RFC 8089");throw Object.assign(n,{raw:e.rawSpec,spec:e,where:t,originalError:r})}if(s.host&&s.host!=="localhost"){const i=e.rawSpec.replace(/^file:\/\//,"file:///");s=new n(i,`file://${o.resolve(t)}/`);r=new n(i);c=i.replace(/^file:/,"")}if(/^\/{1,3}\.\.?(\/|$)/.test(c)){const i=e.rawSpec.replace(/^file:\/{1,3}/,"file:");s=new n(i,`file://${o.resolve(t)}/`);r=new n(i);c=i.replace(/^file:/,"")}let f=decodeURIComponent(r.pathname);let p=decodeURIComponent(s.pathname);if(l){f=f.replace(/^\/+([a-z]:\/)/i,"$1");p=p.replace(/^\/+([a-z]:\/)/i,"$1")}if(/^\/~(\/|$)/.test(f)){e.saveSpec=`file:${f.substr(1)}`;p=o.resolve(a(),f.substr(3))}else if(!o.isAbsolute(c)){e.saveSpec=`file:${o.relative(t,p)}`}else{e.saveSpec=`file:${o.resolve(p)}`}e.fetchSpec=o.resolve(t,p);return e}function fromHostedGit(e,t){e.type="git";e.hosted=t;e.saveSpec=t.toString({noGitPlus:false,noCommittish:false});e.fetchSpec=t.getDefaultRepresentation()==="shortcut"?null:t.toString();setGitAttrs(e,t.committish);return e}function unsupportedURLType(e,t){const r=new Error(`Unsupported URL Type "${e}": ${t}`);r.code="EUNSUPPORTEDPROTOCOL";return r}function fromURL(e){let t=e.rawSpec;e.saveSpec=t;if(t.startsWith("git+ssh:")){const r=t.match(/^git\+ssh:\/\/([^:#]+:[^#]+(?:\.git)?)(?:#(.*))?$/i);if(r&&!r[1].match(/:[0-9]+\/?.*$/i)){e.type="git";setGitAttrs(e,r[2]);e.fetchSpec=r[1];return e}}else if(t.startsWith("git+file://")){t=t.replace(/\\/g,"/")}const r=new n(t);switch(r.protocol){case"git:":case"git+http:":case"git+https:":case"git+rsync:":case"git+ftp:":case"git+file:":case"git+ssh:":e.type="git";setGitAttrs(e,r.hash.slice(1));if(r.protocol==="git+file:"&&/^git\+file:\/\/[a-z]:/i.test(t)){e.fetchSpec=`git+file://${r.host.toLowerCase()}:${r.pathname}`}else{r.hash="";e.fetchSpec=r.toString()}if(e.fetchSpec.startsWith("git+")){e.fetchSpec=e.fetchSpec.slice(4)}break;case"http:":case"https:":e.type="remote";e.fetchSpec=e.saveSpec;break;default:throw unsupportedURLType(r.protocol,t)}return e}function fromAlias(e,t){const r=npa(e.rawSpec.substr(4),t);if(r.type==="alias"){throw new Error("nested aliases not supported")}if(!r.registry){throw new Error("aliases only work for registry deps")}if(!r.name){throw new Error("aliases must have a name")}e.subSpec=r;e.registry=true;e.type="alias";e.saveSpec=null;e.fetchSpec=null;return e}function fromRegistry(e){e.registry=true;const t=e.rawSpec.trim();e.saveSpec=null;e.fetchSpec=t;const r=i.valid(t,true);const n=i.validRange(t,true);if(r){e.type="version"}else if(n){e.type="range"}else{if(encodeURIComponent(t)!==t){throw invalidTagName(t,e.raw)}e.type="tag"}return e}},4662:e=>{"use strict";const pathKey=(e={})=>{const t=e.env||process.env;const r=e.platform||process.platform;if(r!=="win32"){return"PATH"}return Object.keys(t).reverse().find((e=>e.toUpperCase()==="PATH"))||"Path"};e.exports=pathKey;e.exports["default"]=pathKey},6831:e=>{let t=process||{},r=t.argv||[],n=t.env||{};let s=!(!!n.NO_COLOR||r.includes("--no-color"))&&(!!n.FORCE_COLOR||r.includes("--color")||t.platform==="win32"||(t.stdout||{}).isTTY&&n.TERM!=="dumb"||!!n.CI);let formatter=(e,t,r=e)=>n=>{let s=""+n,i=s.indexOf(t,e.length);return~i?e+replaceClose(s,t,r,i)+t:e+s+t};let replaceClose=(e,t,r,n)=>{let s="",i=0;do{s+=e.substring(i,n)+r;i=n+t.length;n=e.indexOf(t,i)}while(~n);return s+e.substring(i)};let createColors=(e=s)=>{let t=e?formatter:()=>String;return{isColorSupported:e,reset:t("",""),bold:t("","",""),dim:t("","",""),italic:t("",""),underline:t("",""),inverse:t("",""),hidden:t("",""),strikethrough:t("",""),black:t("",""),red:t("",""),green:t("",""),yellow:t("",""),blue:t("",""),magenta:t("",""),cyan:t("",""),white:t("",""),gray:t("",""),bgBlack:t("",""),bgRed:t("",""),bgGreen:t("",""),bgYellow:t("",""),bgBlue:t("",""),bgMagenta:t("",""),bgCyan:t("",""),bgWhite:t("",""),blackBright:t("",""),redBright:t("",""),greenBright:t("",""),yellowBright:t("",""),blueBright:t("",""),magentaBright:t("",""),cyanBright:t("",""),whiteBright:t("",""),bgBlackBright:t("",""),bgRedBright:t("",""),bgGreenBright:t("",""),bgYellowBright:t("",""),bgBlueBright:t("",""),bgMagentaBright:t("",""),bgCyanBright:t("",""),bgWhiteBright:t("","")}};e.exports=createColors();e.exports.createColors=createColors},4289:e=>{const t=Symbol("proc-log.meta");e.exports={META:t,output:{LEVELS:["standard","error","buffer","flush"],KEYS:{standard:"standard",error:"error",buffer:"buffer",flush:"flush"},standard:function(...e){return process.emit("output","standard",...e)},error:function(...e){return process.emit("output","error",...e)},buffer:function(...e){return process.emit("output","buffer",...e)},flush:function(...e){return process.emit("output","flush",...e)}},log:{LEVELS:["notice","error","warn","info","verbose","http","silly","timing","pause","resume"],KEYS:{notice:"notice",error:"error",warn:"warn",info:"info",verbose:"verbose",http:"http",silly:"silly",timing:"timing",pause:"pause",resume:"resume"},error:function(...e){return process.emit("log","error",...e)},notice:function(...e){return process.emit("log","notice",...e)},warn:function(...e){return process.emit("log","warn",...e)},info:function(...e){return process.emit("log","info",...e)},verbose:function(...e){return process.emit("log","verbose",...e)},http:function(...e){return process.emit("log","http",...e)},silly:function(...e){return process.emit("log","silly",...e)},timing:function(...e){return process.emit("log","timing",...e)},pause:function(){return process.emit("log","pause")},resume:function(){return process.emit("log","resume")}},time:{LEVELS:["start","end"],KEYS:{start:"start",end:"end"},start:function(e,t){process.emit("time","start",e);function end(){return process.emit("time","end",e)}if(typeof t==="function"){const e=t();if(e&&e.finally){return e.finally(end)}end();return e}return end},end:function(e){return process.emit("time","end",e)}},input:{LEVELS:["start","end","read"],KEYS:{start:"start",end:"end",read:"read"},start:function(e){process.emit("input","start");function end(){return process.emit("input","end")}if(typeof e==="function"){const t=e();if(t&&t.finally){return t.finally(end)}end();return t}return end},end:function(){return process.emit("input","end")},read:function(...e){let t,r;const n=new Promise(((e,n)=>{t=e;r=n}));process.emit("input","read",t,r,...e);return n}}}},9046:(e,t,r)=>{var n=r(715);var s=r(6928).join;var i=r(7442);var o="/etc";var u=process.platform==="win32";var a=u?process.env.USERPROFILE:process.env.HOME;e.exports=function(e,t,c,l){if("string"!==typeof e)throw new Error("rc(name): name *must* be string");if(!c)c=r(2078)(process.argv.slice(2));t=("string"===typeof t?n.json(t):t)||{};l=l||n.parse;var f=n.env(e+"_");var p=[t];var d=[];function addConfigFile(e){if(d.indexOf(e)>=0)return;var t=n.file(e);if(t){p.push(l(t));d.push(e)}}if(!u)[s(o,e,"config"),s(o,e+"rc")].forEach(addConfigFile);if(a)[s(a,".config",e,"config"),s(a,".config",e),s(a,"."+e,"config"),s(a,"."+e+"rc")].forEach(addConfigFile);addConfigFile(n.find("."+e+"rc"));if(f.config)addConfigFile(f.config);if(c.config)addConfigFile(c.config);return i.apply(null,p.concat([f,c,d.length?{configs:d,config:d[d.length-1]}:undefined]))}},715:(e,t,r)=>{"use strict";var n=r(9896);var s=r(5667);var i=r(6928);var o=r(3444);var u=t.parse=function(e){if(/^\s*{/.test(e))return JSON.parse(o(e));return s.parse(e)};var a=t.file=function(){var e=[].slice.call(arguments).filter((function(e){return e!=null}));for(var t in e)if("string"!==typeof e[t])return;var r=i.join.apply(null,e);var s;try{return n.readFileSync(r,"utf-8")}catch(e){return}};var c=t.json=function(){var e=a.apply(null,arguments);return e?u(e):null};var l=t.env=function(e,t){t=t||process.env;var r={};var n=e.length;for(var s in t){if(s.toLowerCase().indexOf(e.toLowerCase())===0){var i=s.substring(n).split("__");var o;while((o=i.indexOf(""))>-1){i.splice(o,1)}var u=r;i.forEach((function _buildSubObj(e,r){if(!e||typeof u!=="object")return;if(r===i.length-1)u[e]=t[s];if(u[e]===undefined)u[e]={};u=u[e]}))}}return r};var f=t.find=function(){var e=i.join.apply(null,[].slice.call(arguments));function find(e,t){var r=i.join(e,t);try{n.statSync(r);return r}catch(r){if(i.dirname(e)!==e)return find(i.dirname(e),t)}}return find(process.cwd(),e)}},2370:(e,t,r)=>{const n=r(5725).Buffer;function decodeBase64(e){return n.from(e,"base64").toString("utf8")}function encodeBase64(e){return n.from(e,"utf8").toString("base64")}e.exports={decodeBase64:decodeBase64,encodeBase64:encodeBase64}},4133:(e,t,r)=>{var n=r(7016);var s=r(2370);var i=s.decodeBase64;var o=s.encodeBase64;var u=":_authToken";var a=":username";var c=":_password";e.exports=function(){var e;var t;if(arguments.length>=2){e=arguments[0];t=arguments[1]}else if(typeof arguments[0]==="string"){e=arguments[0]}else{t=arguments[0]}t=t||{};t.npmrc=t.npmrc||r(9046)("npm",{registry:"https://registry.npmjs.org/"});e=e||t.npmrc.registry;return getRegistryAuthInfo(e,t)||getLegacyAuthInfo(t.npmrc)};function getRegistryAuthInfo(e,t){var r=n.parse(e,false,true);var s;while(s!=="/"&&r.pathname!==s){s=r.pathname||"/";var i="//"+r.host+s.replace(/\/$/,"");var o=getAuthInfoForUrl(i,t.npmrc);if(o){return o}if(!t.recursive){return/\/$/.test(e)?undefined:getRegistryAuthInfo(n.resolve(e,"."),t)}r.pathname=n.resolve(normalizePath(s),"..")||"/"}return undefined}function getLegacyAuthInfo(e){if(e._auth){return{token:e._auth,type:"Basic"}}return undefined}function normalizePath(e){return e[e.length-1]==="/"?e:e+"/"}function getAuthInfoForUrl(e,t){var r=getBearerToken(t[e+u]||t[e+"/"+u]);if(r){return r}var n=t[e+a]||t[e+"/"+a];var s=t[e+c]||t[e+"/"+c];var i=getTokenForUsernameAndPassword(n,s);if(i){return i}return undefined}function getBearerToken(e){if(!e){return undefined}var t=e.replace(/^\$\{?([^}]*)\}?$/,(function(e,t){return process.env[t]}));return{token:t,type:"Bearer"}}function getTokenForUsernameAndPassword(e,t){if(!e||!t){return undefined}var r=i(t.replace(/^\$\{?([^}]*)\}?$/,(function(e,t){return process.env[t]})));var n=o(e+":"+r);return{token:n,type:"Basic",password:r,username:e}}},3805:(e,t,r)=>{"use strict";e.exports=function(e){var t=r(9046)("npm",{registry:"https://registry.npmjs.org/"});var n=t[e+":registry"]||t.registry;return n.slice(-1)==="/"?n:n+"/"}},8665:(e,t,r)=>{(()=>{"use strict";var t={610:(e,t,r)=>{const n=r(8750);const s=r(9434);const i=r(5873);const o=r(6477);const braces=(e,t={})=>{let r=[];if(Array.isArray(e)){for(const n of e){const e=braces.create(n,t);if(Array.isArray(e)){r.push(...e)}else{r.push(e)}}}else{r=[].concat(braces.create(e,t))}if(t&&t.expand===true&&t.nodupes===true){r=[...new Set(r)]}return r};braces.parse=(e,t={})=>o(e,t);braces.stringify=(e,t={})=>{if(typeof e==="string"){return n(braces.parse(e,t),t)}return n(e,t)};braces.compile=(e,t={})=>{if(typeof e==="string"){e=braces.parse(e,t)}return s(e,t)};braces.expand=(e,t={})=>{if(typeof e==="string"){e=braces.parse(e,t)}let r=i(e,t);if(t.noempty===true){r=r.filter(Boolean)}if(t.nodupes===true){r=[...new Set(r)]}return r};braces.create=(e,t={})=>{if(e===""||e.length<3){return[e]}return t.expand!==true?braces.compile(e,t):braces.expand(e,t)};e.exports=braces},9434:(e,t,r)=>{const n=r(6330);const s=r(5207);const compile=(e,t={})=>{const walk=(e,r={})=>{const i=s.isInvalidBrace(r);const o=e.invalid===true&&t.escapeInvalid===true;const u=i===true||o===true;const a=t.escapeInvalid===true?"\\":"";let c="";if(e.isOpen===true){return a+e.value}if(e.isClose===true){console.log("node.isClose",a,e.value);return a+e.value}if(e.type==="open"){return u?a+e.value:"("}if(e.type==="close"){return u?a+e.value:")"}if(e.type==="comma"){return e.prev.type==="comma"?"":u?e.value:"|"}if(e.value){return e.value}if(e.nodes&&e.ranges>0){const r=s.reduce(e.nodes);const i=n(...r,{...t,wrap:false,toRegex:true,strictZeros:true});if(i.length!==0){return r.length>1&&i.length>1?`(${i})`:i}}if(e.nodes){for(const t of e.nodes){c+=walk(t,e)}}return c};return walk(e)};e.exports=compile},8774:e=>{e.exports={MAX_LENGTH:1e4,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:" ",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"}},5873:(e,t,r)=>{const n=r(6330);const s=r(8750);const i=r(5207);const append=(e="",t="",r=false)=>{const n=[];e=[].concat(e);t=[].concat(t);if(!t.length)return e;if(!e.length){return r?i.flatten(t).map((e=>`{${e}}`)):t}for(const s of e){if(Array.isArray(s)){for(const e of s){n.push(append(e,t,r))}}else{for(let e of t){if(r===true&&typeof e==="string")e=`{${e}}`;n.push(Array.isArray(e)?append(s,e,r):s+e)}}}return i.flatten(n)};const expand=(e,t={})=>{const r=t.rangeLimit===undefined?1e3:t.rangeLimit;const walk=(e,o={})=>{e.queue=[];let u=o;let a=o.queue;while(u.type!=="brace"&&u.type!=="root"&&u.parent){u=u.parent;a=u.queue}if(e.invalid||e.dollar){a.push(append(a.pop(),s(e,t)));return}if(e.type==="brace"&&e.invalid!==true&&e.nodes.length===2){a.push(append(a.pop(),["{}"]));return}if(e.nodes&&e.ranges>0){const o=i.reduce(e.nodes);if(i.exceedsLimit(...o,t.step,r)){throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.")}let u=n(...o,t);if(u.length===0){u=s(e,t)}a.push(append(a.pop(),u));e.nodes=[];return}const c=i.encloseBrace(e);let l=e.queue;let f=e;while(f.type!=="brace"&&f.type!=="root"&&f.parent){f=f.parent;l=f.queue}for(let t=0;t<e.nodes.length;t++){const r=e.nodes[t];if(r.type==="comma"&&e.type==="brace"){if(t===1)l.push("");l.push("");continue}if(r.type==="close"){a.push(append(a.pop(),l,c));continue}if(r.value&&r.type!=="open"){l.push(append(l.pop(),r.value));continue}if(r.nodes){walk(r,e)}}return l};return i.flatten(walk(e))};e.exports=expand},6477:(e,t,r)=>{const n=r(8750);const{MAX_LENGTH:s,CHAR_BACKSLASH:i,CHAR_BACKTICK:o,CHAR_COMMA:u,CHAR_DOT:a,CHAR_LEFT_PARENTHESES:c,CHAR_RIGHT_PARENTHESES:l,CHAR_LEFT_CURLY_BRACE:f,CHAR_RIGHT_CURLY_BRACE:p,CHAR_LEFT_SQUARE_BRACKET:d,CHAR_RIGHT_SQUARE_BRACKET:h,CHAR_DOUBLE_QUOTE:g,CHAR_SINGLE_QUOTE:m,CHAR_NO_BREAK_SPACE:A,CHAR_ZERO_WIDTH_NOBREAK_SPACE:E}=r(8774);const parse=(e,t={})=>{if(typeof e!=="string"){throw new TypeError("Expected a string")}const r=t||{};const y=typeof r.maxLength==="number"?Math.min(s,r.maxLength):s;if(e.length>y){throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${y})`)}const D={type:"root",input:e,nodes:[]};const C=[D];let w=D;let b=D;let v=0;const _=e.length;let F=0;let S=0;let x;const advance=()=>e[F++];const push=e=>{if(e.type==="text"&&b.type==="dot"){b.type="text"}if(b&&b.type==="text"&&e.type==="text"){b.value+=e.value;return}w.nodes.push(e);e.parent=w;e.prev=b;b=e;return e};push({type:"bos"});while(F<_){w=C[C.length-1];x=advance();if(x===E||x===A){continue}if(x===i){push({type:"text",value:(t.keepEscaping?x:"")+advance()});continue}if(x===h){push({type:"text",value:"\\"+x});continue}if(x===d){v++;let e;while(F<_&&(e=advance())){x+=e;if(e===d){v++;continue}if(e===i){x+=advance();continue}if(e===h){v--;if(v===0){break}}}push({type:"text",value:x});continue}if(x===c){w=push({type:"paren",nodes:[]});C.push(w);push({type:"text",value:x});continue}if(x===l){if(w.type!=="paren"){push({type:"text",value:x});continue}w=C.pop();push({type:"text",value:x});w=C[C.length-1];continue}if(x===g||x===m||x===o){const e=x;let r;if(t.keepQuotes!==true){x=""}while(F<_&&(r=advance())){if(r===i){x+=r+advance();continue}if(r===e){if(t.keepQuotes===true)x+=r;break}x+=r}push({type:"text",value:x});continue}if(x===f){S++;const e=b.value&&b.value.slice(-1)==="$"||w.dollar===true;const t={type:"brace",open:true,close:false,dollar:e,depth:S,commas:0,ranges:0,nodes:[]};w=push(t);C.push(w);push({type:"open",value:x});continue}if(x===p){if(w.type!=="brace"){push({type:"text",value:x});continue}const e="close";w=C.pop();w.close=true;push({type:e,value:x});S--;w=C[C.length-1];continue}if(x===u&&S>0){if(w.ranges>0){w.ranges=0;const e=w.nodes.shift();w.nodes=[e,{type:"text",value:n(w)}]}push({type:"comma",value:x});w.commas++;continue}if(x===a&&S>0&&w.commas===0){const e=w.nodes;if(S===0||e.length===0){push({type:"text",value:x});continue}if(b.type==="dot"){w.range=[];b.value+=x;b.type="range";if(w.nodes.length!==3&&w.nodes.length!==5){w.invalid=true;w.ranges=0;b.type="text";continue}w.ranges++;w.args=[];continue}if(b.type==="range"){e.pop();const t=e[e.length-1];t.value+=b.value+x;b=t;w.ranges--;continue}push({type:"dot",value:x});continue}push({type:"text",value:x})}do{w=C.pop();if(w.type!=="root"){w.nodes.forEach((e=>{if(!e.nodes){if(e.type==="open")e.isOpen=true;if(e.type==="close")e.isClose=true;if(!e.nodes)e.type="text";e.invalid=true}}));const e=C[C.length-1];const t=e.nodes.indexOf(w);e.nodes.splice(t,1,...w.nodes)}}while(C.length>0);push({type:"eos"});return D};e.exports=parse},8750:(e,t,r)=>{const n=r(5207);e.exports=(e,t={})=>{const stringify=(e,r={})=>{const s=t.escapeInvalid&&n.isInvalidBrace(r);const i=e.invalid===true&&t.escapeInvalid===true;let o="";if(e.value){if((s||i)&&n.isOpenOrClose(e)){return"\\"+e.value}return e.value}if(e.value){return e.value}if(e.nodes){for(const t of e.nodes){o+=stringify(t)}}return o};return stringify(e)}},5207:(e,t)=>{t.isInteger=e=>{if(typeof e==="number"){return Number.isInteger(e)}if(typeof e==="string"&&e.trim()!==""){return Number.isInteger(Number(e))}return false};t.find=(e,t)=>e.nodes.find((e=>e.type===t));t.exceedsLimit=(e,r,n=1,s)=>{if(s===false)return false;if(!t.isInteger(e)||!t.isInteger(r))return false;return(Number(r)-Number(e))/Number(n)>=s};t.escapeNode=(e,t=0,r)=>{const n=e.nodes[t];if(!n)return;if(r&&n.type===r||n.type==="open"||n.type==="close"){if(n.escaped!==true){n.value="\\"+n.value;n.escaped=true}}};t.encloseBrace=e=>{if(e.type!=="brace")return false;if(e.commas>>0+e.ranges>>0===0){e.invalid=true;return true}return false};t.isInvalidBrace=e=>{if(e.type!=="brace")return false;if(e.invalid===true||e.dollar)return true;if(e.commas>>0+e.ranges>>0===0){e.invalid=true;return true}if(e.open!==true||e.close!==true){e.invalid=true;return true}return false};t.isOpenOrClose=e=>{if(e.type==="open"||e.type==="close"){return true}return e.open===true||e.close===true};t.reduce=e=>e.reduce(((e,t)=>{if(t.type==="text")e.push(t.value);if(t.type==="range")t.type="text";return e}),[]);t.flatten=(...e)=>{const t=[];const flat=e=>{for(let r=0;r<e.length;r++){const n=e[r];if(Array.isArray(n)){flat(n);continue}if(n!==undefined){t.push(n)}}return t};flat(e);return t}},6330:(e,t,r)=>{
28
+ */function isSpecificValue(e){return e instanceof Buffer||e instanceof Date||e instanceof RegExp?true:false}function cloneSpecificValue(e){if(e instanceof Buffer){var t=Buffer.alloc?Buffer.alloc(e.length):new Buffer(e.length);e.copy(t);return t}else if(e instanceof Date){return new Date(e.getTime())}else if(e instanceof RegExp){return new RegExp(e)}else{throw new Error("Unexpected situation")}}function deepCloneArray(e){var r=[];e.forEach((function(e,n){if(typeof e==="object"&&e!==null){if(Array.isArray(e)){r[n]=deepCloneArray(e)}else if(isSpecificValue(e)){r[n]=cloneSpecificValue(e)}else{r[n]=t({},e)}}else{r[n]=e}}));return r}function safeGetProperty(e,t){return t==="__proto__"?undefined:e[t]}var t=e.exports=function(){if(arguments.length<1||typeof arguments[0]!=="object"){return false}if(arguments.length<2){return arguments[0]}var e=arguments[0];var r=Array.prototype.slice.call(arguments,1);var n,s,i;r.forEach((function(r){if(typeof r!=="object"||r===null||Array.isArray(r)){return}Object.keys(r).forEach((function(i){s=safeGetProperty(e,i);n=safeGetProperty(r,i);if(n===e){return}else if(typeof n!=="object"||n===null){e[i]=n;return}else if(Array.isArray(n)){e[i]=deepCloneArray(n);return}else if(isSpecificValue(n)){e[i]=cloneSpecificValue(n);return}else if(typeof s!=="object"||s===null||Array.isArray(s)){e[i]=t({},n);return}else{e[i]=t(s,n);return}}))}));return e}},4167:e=>{"use strict";e.exports=(e,t=process.argv)=>{const r=e.startsWith("-")?"":e.length===1?"-":"--";const n=t.indexOf(r+e);const s=t.indexOf("--");return n!==-1&&(s===-1||n<s)}},4394:(e,t,r)=>{"use strict";const n=r(8123);const isGitHubShorthand=e=>{const t=e.indexOf("#");const r=e.indexOf("/");const n=e.indexOf("/",r+1);const s=e.indexOf(":");const i=/\s/.exec(e);const o=e.indexOf("@");const u=!i||t>-1&&i.index>t;const a=o===-1||t>-1&&o>t;const c=s===-1||t>-1&&s>t;const l=n===-1||t>-1&&n>t;const f=r>0;const p=t>-1?e[t-1]!=="/":!e.endsWith("/");const d=!e.startsWith(".");return u&&f&&p&&d&&a&&c&&l};e.exports=(e,t,{gitHosts:r,protocols:s})=>{if(!e){return}const i=isGitHubShorthand(e)?`github:${e}`:e;const o=n(i,s);if(!o){return}const u=r.byShortcut[o.protocol];const a=r.byDomain[o.hostname.startsWith("www.")?o.hostname.slice(4):o.hostname];const c=u||a;if(!c){return}const l=r[u||a];let f=null;if(s[o.protocol]?.auth&&(o.username||o.password)){f=`${o.username}${o.password?":"+o.password:""}`}let p=null;let d=null;let h=null;let g=null;try{if(u){let e=o.pathname.startsWith("/")?o.pathname.slice(1):o.pathname;const t=e.indexOf("@");if(t>-1){e=e.slice(t+1)}const r=e.lastIndexOf("/");if(r>-1){d=decodeURIComponent(e.slice(0,r));if(!d){d=null}h=decodeURIComponent(e.slice(r+1))}else{h=decodeURIComponent(e)}if(h.endsWith(".git")){h=h.slice(0,-4)}if(o.hash){p=decodeURIComponent(o.hash.slice(1))}g="shortcut"}else{if(!l.protocols.includes(o.protocol)){return}const e=l.extract(o);if(!e){return}d=e.user&&decodeURIComponent(e.user);h=decodeURIComponent(e.project);p=decodeURIComponent(e.committish);g=s[o.protocol]?.name||o.protocol.slice(0,-1)}}catch(e){if(e instanceof URIError){return}else{throw e}}return[c,d,f,h,p,g,t]}},6923:e=>{"use strict";const maybeJoin=(...e)=>e.every((e=>e))?e.join(""):"";const maybeEncode=e=>e?encodeURIComponent(e):"";const formatHashFragment=e=>e.toLowerCase().replace(/^\W+|\/|\W+$/g,"").replace(/\W+/g,"-");const t={sshtemplate:({domain:e,user:t,project:r,committish:n})=>`git@${e}:${t}/${r}.git${maybeJoin("#",n)}`,sshurltemplate:({domain:e,user:t,project:r,committish:n})=>`git+ssh://git@${e}/${t}/${r}.git${maybeJoin("#",n)}`,edittemplate:({domain:e,user:t,project:r,committish:n,editpath:s,path:i})=>`https://${e}/${t}/${r}${maybeJoin("/",s,"/",maybeEncode(n||"HEAD"),"/",i)}`,browsetemplate:({domain:e,user:t,project:r,committish:n,treepath:s})=>`https://${e}/${t}/${r}${maybeJoin("/",s,"/",maybeEncode(n))}`,browsetreetemplate:({domain:e,user:t,project:r,committish:n,treepath:s,path:i,fragment:o,hashformat:u})=>`https://${e}/${t}/${r}/${s}/${maybeEncode(n||"HEAD")}/${i}${maybeJoin("#",u(o||""))}`,browseblobtemplate:({domain:e,user:t,project:r,committish:n,blobpath:s,path:i,fragment:o,hashformat:u})=>`https://${e}/${t}/${r}/${s}/${maybeEncode(n||"HEAD")}/${i}${maybeJoin("#",u(o||""))}`,docstemplate:({domain:e,user:t,project:r,treepath:n,committish:s})=>`https://${e}/${t}/${r}${maybeJoin("/",n,"/",maybeEncode(s))}#readme`,httpstemplate:({auth:e,domain:t,user:r,project:n,committish:s})=>`git+https://${maybeJoin(e,"@")}${t}/${r}/${n}.git${maybeJoin("#",s)}`,filetemplate:({domain:e,user:t,project:r,committish:n,path:s})=>`https://${e}/${t}/${r}/raw/${maybeEncode(n||"HEAD")}/${s}`,shortcuttemplate:({type:e,user:t,project:r,committish:n})=>`${e}:${t}/${r}${maybeJoin("#",n)}`,pathtemplate:({user:e,project:t,committish:r})=>`${e}/${t}${maybeJoin("#",r)}`,bugstemplate:({domain:e,user:t,project:r})=>`https://${e}/${t}/${r}/issues`,hashformat:formatHashFragment};const r={};r.github={protocols:["git:","http:","git+ssh:","git+https:","ssh:","https:"],domain:"github.com",treepath:"tree",blobpath:"blob",editpath:"edit",filetemplate:({auth:e,user:t,project:r,committish:n,path:s})=>`https://${maybeJoin(e,"@")}raw.githubusercontent.com/${t}/${r}/${maybeEncode(n||"HEAD")}/${s}`,gittemplate:({auth:e,domain:t,user:r,project:n,committish:s})=>`git://${maybeJoin(e,"@")}${t}/${r}/${n}.git${maybeJoin("#",s)}`,tarballtemplate:({domain:e,user:t,project:r,committish:n})=>`https://codeload.${e}/${t}/${r}/tar.gz/${maybeEncode(n||"HEAD")}`,extract:e=>{let[,t,r,n,s]=e.pathname.split("/",5);if(n&&n!=="tree"){return}if(!n){s=e.hash.slice(1)}if(r&&r.endsWith(".git")){r=r.slice(0,-4)}if(!t||!r){return}return{user:t,project:r,committish:s}}};r.bitbucket={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"bitbucket.org",treepath:"src",blobpath:"src",editpath:"?mode=edit",edittemplate:({domain:e,user:t,project:r,committish:n,treepath:s,path:i,editpath:o})=>`https://${e}/${t}/${r}${maybeJoin("/",s,"/",maybeEncode(n||"HEAD"),"/",i,o)}`,tarballtemplate:({domain:e,user:t,project:r,committish:n})=>`https://${e}/${t}/${r}/get/${maybeEncode(n||"HEAD")}.tar.gz`,extract:e=>{let[,t,r,n]=e.pathname.split("/",4);if(["get"].includes(n)){return}if(r&&r.endsWith(".git")){r=r.slice(0,-4)}if(!t||!r){return}return{user:t,project:r,committish:e.hash.slice(1)}}};r.gitlab={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"gitlab.com",treepath:"tree",blobpath:"tree",editpath:"-/edit",httpstemplate:({auth:e,domain:t,user:r,project:n,committish:s})=>`git+https://${maybeJoin(e,"@")}${t}/${r}/${n}.git${maybeJoin("#",s)}`,tarballtemplate:({domain:e,user:t,project:r,committish:n})=>`https://${e}/${t}/${r}/repository/archive.tar.gz?ref=${maybeEncode(n||"HEAD")}`,extract:e=>{const t=e.pathname.slice(1);if(t.includes("/-/")||t.includes("/archive.tar.gz")){return}const r=t.split("/");let n=r.pop();if(n.endsWith(".git")){n=n.slice(0,-4)}const s=r.join("/");if(!s||!n){return}return{user:s,project:n,committish:e.hash.slice(1)}}};r.gist={protocols:["git:","git+ssh:","git+https:","ssh:","https:"],domain:"gist.github.com",editpath:"edit",sshtemplate:({domain:e,project:t,committish:r})=>`git@${e}:${t}.git${maybeJoin("#",r)}`,sshurltemplate:({domain:e,project:t,committish:r})=>`git+ssh://git@${e}/${t}.git${maybeJoin("#",r)}`,edittemplate:({domain:e,user:t,project:r,committish:n,editpath:s})=>`https://${e}/${t}/${r}${maybeJoin("/",maybeEncode(n))}/${s}`,browsetemplate:({domain:e,project:t,committish:r})=>`https://${e}/${t}${maybeJoin("/",maybeEncode(r))}`,browsetreetemplate:({domain:e,project:t,committish:r,path:n,hashformat:s})=>`https://${e}/${t}${maybeJoin("/",maybeEncode(r))}${maybeJoin("#",s(n))}`,browseblobtemplate:({domain:e,project:t,committish:r,path:n,hashformat:s})=>`https://${e}/${t}${maybeJoin("/",maybeEncode(r))}${maybeJoin("#",s(n))}`,docstemplate:({domain:e,project:t,committish:r})=>`https://${e}/${t}${maybeJoin("/",maybeEncode(r))}`,httpstemplate:({domain:e,project:t,committish:r})=>`git+https://${e}/${t}.git${maybeJoin("#",r)}`,filetemplate:({user:e,project:t,committish:r,path:n})=>`https://gist.githubusercontent.com/${e}/${t}/raw${maybeJoin("/",maybeEncode(r))}/${n}`,shortcuttemplate:({type:e,project:t,committish:r})=>`${e}:${t}${maybeJoin("#",r)}`,pathtemplate:({project:e,committish:t})=>`${e}${maybeJoin("#",t)}`,bugstemplate:({domain:e,project:t})=>`https://${e}/${t}`,gittemplate:({domain:e,project:t,committish:r})=>`git://${e}/${t}.git${maybeJoin("#",r)}`,tarballtemplate:({project:e,committish:t})=>`https://codeload.github.com/gist/${e}/tar.gz/${maybeEncode(t||"HEAD")}`,extract:e=>{let[,t,r,n]=e.pathname.split("/",4);if(n==="raw"){return}if(!r){if(!t){return}r=t;t=null}if(r.endsWith(".git")){r=r.slice(0,-4)}return{user:t,project:r,committish:e.hash.slice(1)}},hashformat:function(e){return e&&"file-"+formatHashFragment(e)}};r.sourcehut={protocols:["git+ssh:","https:"],domain:"git.sr.ht",treepath:"tree",blobpath:"tree",filetemplate:({domain:e,user:t,project:r,committish:n,path:s})=>`https://${e}/${t}/${r}/blob/${maybeEncode(n)||"HEAD"}/${s}`,httpstemplate:({domain:e,user:t,project:r,committish:n})=>`https://${e}/${t}/${r}.git${maybeJoin("#",n)}`,tarballtemplate:({domain:e,user:t,project:r,committish:n})=>`https://${e}/${t}/${r}/archive/${maybeEncode(n)||"HEAD"}.tar.gz`,bugstemplate:()=>null,extract:e=>{let[,t,r,n]=e.pathname.split("/",4);if(["archive"].includes(n)){return}if(r&&r.endsWith(".git")){r=r.slice(0,-4)}if(!t||!r){return}return{user:t,project:r,committish:e.hash.slice(1)}}};for(const[e,n]of Object.entries(r)){r[e]=Object.assign({},t,n)}e.exports=r},1496:(e,t,r)=>{"use strict";const{LRUCache:n}=r(5934);const s=r(6923);const i=r(4394);const o=r(8123);const u=new n({max:1e3});class GitHost{constructor(e,t,r,n,s,i,o={}){Object.assign(this,GitHost.#e[e],{type:e,user:t,auth:r,project:n,committish:s,default:i,opts:o})}static#e={byShortcut:{},byDomain:{}};static#t={"git+ssh:":{name:"sshurl"},"ssh:":{name:"sshurl"},"git+https:":{name:"https",auth:true},"git:":{auth:true},"http:":{auth:true},"https:":{auth:true},"git+http:":{auth:true}};static addHost(e,t){GitHost.#e[e]=t;GitHost.#e.byDomain[t.domain]=e;GitHost.#e.byShortcut[`${e}:`]=e;GitHost.#t[`${e}:`]={name:e}}static fromUrl(e,t){if(typeof e!=="string"){return}const r=e+JSON.stringify(t||{});if(!u.has(r)){const n=i(e,t,{gitHosts:GitHost.#e,protocols:GitHost.#t});u.set(r,n?new GitHost(...n):undefined)}return u.get(r)}static parseUrl(e){return o(e)}#r(e,t){if(typeof e!=="function"){return null}const r={...this,...this.opts,...t};if(!r.path){r.path=""}if(r.path.startsWith("/")){r.path=r.path.slice(1)}if(r.noCommittish){r.committish=null}const n=e(r);return r.noGitPlus&&n.startsWith("git+")?n.slice(4):n}hash(){return this.committish?`#${this.committish}`:""}ssh(e){return this.#r(this.sshtemplate,e)}sshurl(e){return this.#r(this.sshurltemplate,e)}browse(e,...t){if(typeof e!=="string"){return this.#r(this.browsetemplate,e)}if(typeof t[0]!=="string"){return this.#r(this.browsetreetemplate,{...t[0],path:e})}return this.#r(this.browsetreetemplate,{...t[1],fragment:t[0],path:e})}browseFile(e,...t){if(typeof t[0]!=="string"){return this.#r(this.browseblobtemplate,{...t[0],path:e})}return this.#r(this.browseblobtemplate,{...t[1],fragment:t[0],path:e})}docs(e){return this.#r(this.docstemplate,e)}bugs(e){return this.#r(this.bugstemplate,e)}https(e){return this.#r(this.httpstemplate,e)}git(e){return this.#r(this.gittemplate,e)}shortcut(e){return this.#r(this.shortcuttemplate,e)}path(e){return this.#r(this.pathtemplate,e)}tarball(e){return this.#r(this.tarballtemplate,{...e,noCommittish:false})}file(e,t){return this.#r(this.filetemplate,{...t,path:e})}edit(e,t){return this.#r(this.edittemplate,{...t,path:e})}getDefaultRepresentation(){return this.default}toString(e){if(this.default&&typeof this[this.default]==="function"){return this[this.default](e)}return this.sshurl(e)}}for(const[e,t]of Object.entries(s)){GitHost.addHost(e,t)}e.exports=GitHost},8123:(e,t,r)=>{const n=r(7016);const lastIndexOfBefore=(e,t,r)=>{const n=e.indexOf(r);return e.lastIndexOf(t,n>-1?n:Infinity)};const safeUrl=e=>{try{return new n.URL(e)}catch{}};const correctProtocol=(e,t)=>{const r=e.indexOf(":");const n=e.slice(0,r+1);if(Object.prototype.hasOwnProperty.call(t,n)){return e}const s=e.indexOf("@");if(s>-1){if(s>r){return`git+ssh://${e}`}else{return e}}const i=e.indexOf("//");if(i===r+1){return e}return`${e.slice(0,r+1)}//${e.slice(r+1)}`};const correctUrl=e=>{const t=lastIndexOfBefore(e,"@","#");const r=lastIndexOfBefore(e,":","#");if(r>t){e=e.slice(0,r)+"/"+e.slice(r+1)}if(lastIndexOfBefore(e,":","#")===-1&&e.indexOf("//")===-1){e=`git+ssh://${e}`}return e};e.exports=(e,t)=>{const r=t?correctProtocol(e,t):e;return safeUrl(r)||safeUrl(correctUrl(r))}},5667:(e,t)=>{t.parse=t.decode=decode;t.stringify=t.encode=encode;t.safe=safe;t.unsafe=unsafe;var r=typeof process!=="undefined"&&process.platform==="win32"?"\r\n":"\n";function encode(e,t){var n=[];var s="";if(typeof t==="string"){t={section:t,whitespace:false}}else{t=t||{};t.whitespace=t.whitespace===true}var i=t.whitespace?" = ":"=";Object.keys(e).forEach((function(t,o,u){var a=e[t];if(a&&Array.isArray(a)){a.forEach((function(e){s+=safe(t+"[]")+i+safe(e)+"\n"}))}else if(a&&typeof a==="object")n.push(t);else s+=safe(t)+i+safe(a)+r}));if(t.section&&s.length)s="["+safe(t.section)+"]"+r+s;n.forEach((function(n,i,o){var u=dotSplit(n).join("\\.");var a=(t.section?t.section+".":"")+u;var c=encode(e[n],{section:a,whitespace:t.whitespace});if(s.length&&c.length)s+=r;s+=c}));return s}function dotSplit(e){return e.replace(/\1/g,"LITERAL\\1LITERAL").replace(/\\\./g,"").split(/\./).map((function(e){return e.replace(/\1/g,"\\.").replace(/\2LITERAL\\1LITERAL\2/g,"")}))}function decode(e){var t={};var r=t;var n=null;var s=/^\[([^\]]*)\]$|^([^=]+)(=(.*))?$/i;var i=e.split(/[\r\n]+/g);i.forEach((function(e,i,o){if(!e||e.match(/^\s*[;#]/))return;var u=e.match(s);if(!u)return;if(u[1]!==undefined){n=unsafe(u[1]);if(n==="__proto__"){r={};return}r=t[n]=t[n]||{};return}var a=unsafe(u[2]);if(a==="__proto__")return;var c=u[3]?unsafe(u[4]):true;switch(c){case"true":case"false":case"null":c=JSON.parse(c)}if(a.length>2&&a.slice(-2)==="[]"){a=a.substring(0,a.length-2);if(a==="__proto__")return;if(!r[a])r[a]=[];else if(!Array.isArray(r[a]))r[a]=[r[a]]}if(Array.isArray(r[a]))r[a].push(c);else r[a]=c}));Object.keys(t).filter((function(e,r,n){if(!t[e]||typeof t[e]!=="object"||Array.isArray(t[e]))return false;var s=dotSplit(e);var i=t;var o=s.pop();var u=o.replace(/\\\./g,".");s.forEach((function(e,t,r){if(e==="__proto__")return;if(!i[e]||typeof i[e]!=="object")i[e]={};i=i[e]}));if(i===t&&u===o)return false;i[u]=t[e];return true})).forEach((function(e,r,n){delete t[e]}));return t}function isQuoted(e){return e.charAt(0)==='"'&&e.slice(-1)==='"'||e.charAt(0)==="'"&&e.slice(-1)==="'"}function safe(e){return typeof e!=="string"||e.match(/[=\r\n]/)||e.match(/^\[/)||e.length>1&&isQuoted(e)||e!==e.trim()?JSON.stringify(e):e.replace(/;/g,"\\;").replace(/#/g,"\\#")}function unsafe(e,t){e=(e||"").trim();if(isQuoted(e)){if(e.charAt(0)==="'")e=e.substr(1,e.length-2);try{e=JSON.parse(e)}catch(e){}}else{var r=false;var n="";for(var s=0,i=e.length;s<i;s++){var o=e.charAt(s);if(r){if("\\;#".indexOf(o)!==-1)n+=o;else n+="\\"+o;r=false}else if(";#".indexOf(o)!==-1)break;else if(o==="\\")r=true;else n+=o}if(r)n+="\\";return n.trim()}return e}},7105:(e,t,r)=>{var n=r(9896);var s;if(process.platform==="win32"||global.TESTING_WINDOWS){s=r(6132)}else{s=r(1778)}e.exports=isexe;isexe.sync=sync;function isexe(e,t,r){if(typeof t==="function"){r=t;t={}}if(!r){if(typeof Promise!=="function"){throw new TypeError("callback not provided")}return new Promise((function(r,n){isexe(e,t||{},(function(e,t){if(e){n(e)}else{r(t)}}))}))}s(e,t||{},(function(e,n){if(e){if(e.code==="EACCES"||t&&t.ignoreErrors){e=null;n=false}}r(e,n)}))}function sync(e,t){try{return s.sync(e,t||{})}catch(e){if(t&&t.ignoreErrors||e.code==="EACCES"){return false}else{throw e}}}},1778:(e,t,r)=>{e.exports=isexe;isexe.sync=sync;var n=r(9896);function isexe(e,t,r){n.stat(e,(function(e,n){r(e,e?false:checkStat(n,t))}))}function sync(e,t){return checkStat(n.statSync(e),t)}function checkStat(e,t){return e.isFile()&&checkMode(e,t)}function checkMode(e,t){var r=e.mode;var n=e.uid;var s=e.gid;var i=t.uid!==undefined?t.uid:process.getuid&&process.getuid();var o=t.gid!==undefined?t.gid:process.getgid&&process.getgid();var u=parseInt("100",8);var a=parseInt("010",8);var c=parseInt("001",8);var l=u|a;var f=r&c||r&a&&s===o||r&u&&n===i||r&l&&i===0;return f}},6132:(e,t,r)=>{e.exports=isexe;isexe.sync=sync;var n=r(9896);function checkPathExt(e,t){var r=t.pathExt!==undefined?t.pathExt:process.env.PATHEXT;if(!r){return true}r=r.split(";");if(r.indexOf("")!==-1){return true}for(var n=0;n<r.length;n++){var s=r[n].toLowerCase();if(s&&e.substr(-s.length).toLowerCase()===s){return true}}return false}function checkStat(e,t,r){if(!e.isSymbolicLink()&&!e.isFile()){return false}return checkPathExt(t,r)}function isexe(e,t,r){n.stat(e,(function(n,s){r(n,n?false:checkStat(s,e,t))}))}function sync(e,t){return checkStat(n.statSync(e),e,t)}},7815:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:undefined};if(e[1])t.type="string",t.closed=!!(e[3]||e[4]);else if(e[5])t.type="comment";else if(e[6])t.type="comment",t.closed=!!e[7];else if(e[8])t.type="regex";else if(e[9])t.type="number";else if(e[10])t.type="name";else if(e[11])t.type="punctuator";else if(e[12])t.type="whitespace";return t}},7598:(e,t,r)=>{const n=r(285);const s=r(3603);const i={parse:n,stringify:s};e.exports=i},285:(e,t,r)=>{const n=r(2944);let s;let i;let o;let u;let a;let c;let l;let f;let p;e.exports=function parse(e,t){s=String(e);i="start";o=[];u=0;a=1;c=0;l=undefined;f=undefined;p=undefined;do{l=lex();y[i]()}while(l.type!=="eof");if(typeof t==="function"){return internalize({"":p},"",t)}return p};function internalize(e,t,r){const n=e[t];if(n!=null&&typeof n==="object"){if(Array.isArray(n)){for(let e=0;e<n.length;e++){const t=String(e);const s=internalize(n,t,r);if(s===undefined){delete n[t]}else{Object.defineProperty(n,t,{value:s,writable:true,enumerable:true,configurable:true})}}}else{for(const e in n){const t=internalize(n,e,r);if(t===undefined){delete n[e]}else{Object.defineProperty(n,e,{value:t,writable:true,enumerable:true,configurable:true})}}}}return r.call(e,t,n)}let d;let h;let g;let m;let A;function lex(){d="default";h="";g=false;m=1;for(;;){A=peek();const e=E[d]();if(e){return e}}}function peek(){if(s[u]){return String.fromCodePoint(s.codePointAt(u))}}function read(){const e=peek();if(e==="\n"){a++;c=0}else if(e){c+=e.length}else{c++}if(e){u+=e.length}return e}const E={default(){switch(A){case"\t":case"\v":case"\f":case" ":case" ":case"\ufeff":case"\n":case"\r":case"\u2028":case"\u2029":read();return;case"/":read();d="comment";return;case undefined:read();return newToken("eof")}if(n.isSpaceSeparator(A)){read();return}return E[i]()},comment(){switch(A){case"*":read();d="multiLineComment";return;case"/":read();d="singleLineComment";return}throw invalidChar(read())},multiLineComment(){switch(A){case"*":read();d="multiLineCommentAsterisk";return;case undefined:throw invalidChar(read())}read()},multiLineCommentAsterisk(){switch(A){case"*":read();return;case"/":read();d="default";return;case undefined:throw invalidChar(read())}read();d="multiLineComment"},singleLineComment(){switch(A){case"\n":case"\r":case"\u2028":case"\u2029":read();d="default";return;case undefined:read();return newToken("eof")}read()},value(){switch(A){case"{":case"[":return newToken("punctuator",read());case"n":read();literal("ull");return newToken("null",null);case"t":read();literal("rue");return newToken("boolean",true);case"f":read();literal("alse");return newToken("boolean",false);case"-":case"+":if(read()==="-"){m=-1}d="sign";return;case".":h=read();d="decimalPointLeading";return;case"0":h=read();d="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":h=read();d="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",Infinity);case"N":read();literal("aN");return newToken("numeric",NaN);case'"':case"'":g=read()==='"';h="";d="string";return}throw invalidChar(read())},identifierNameStartEscape(){if(A!=="u"){throw invalidChar(read())}read();const e=unicodeEscape();switch(e){case"$":case"_":break;default:if(!n.isIdStartChar(e)){throw invalidIdentifier()}break}h+=e;d="identifierName"},identifierName(){switch(A){case"$":case"_":case"‌":case"‍":h+=read();return;case"\\":read();d="identifierNameEscape";return}if(n.isIdContinueChar(A)){h+=read();return}return newToken("identifier",h)},identifierNameEscape(){if(A!=="u"){throw invalidChar(read())}read();const e=unicodeEscape();switch(e){case"$":case"_":case"‌":case"‍":break;default:if(!n.isIdContinueChar(e)){throw invalidIdentifier()}break}h+=e;d="identifierName"},sign(){switch(A){case".":h=read();d="decimalPointLeading";return;case"0":h=read();d="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":h=read();d="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",m*Infinity);case"N":read();literal("aN");return newToken("numeric",NaN)}throw invalidChar(read())},zero(){switch(A){case".":h+=read();d="decimalPoint";return;case"e":case"E":h+=read();d="decimalExponent";return;case"x":case"X":h+=read();d="hexadecimal";return}return newToken("numeric",m*0)},decimalInteger(){switch(A){case".":h+=read();d="decimalPoint";return;case"e":case"E":h+=read();d="decimalExponent";return}if(n.isDigit(A)){h+=read();return}return newToken("numeric",m*Number(h))},decimalPointLeading(){if(n.isDigit(A)){h+=read();d="decimalFraction";return}throw invalidChar(read())},decimalPoint(){switch(A){case"e":case"E":h+=read();d="decimalExponent";return}if(n.isDigit(A)){h+=read();d="decimalFraction";return}return newToken("numeric",m*Number(h))},decimalFraction(){switch(A){case"e":case"E":h+=read();d="decimalExponent";return}if(n.isDigit(A)){h+=read();return}return newToken("numeric",m*Number(h))},decimalExponent(){switch(A){case"+":case"-":h+=read();d="decimalExponentSign";return}if(n.isDigit(A)){h+=read();d="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentSign(){if(n.isDigit(A)){h+=read();d="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentInteger(){if(n.isDigit(A)){h+=read();return}return newToken("numeric",m*Number(h))},hexadecimal(){if(n.isHexDigit(A)){h+=read();d="hexadecimalInteger";return}throw invalidChar(read())},hexadecimalInteger(){if(n.isHexDigit(A)){h+=read();return}return newToken("numeric",m*Number(h))},string(){switch(A){case"\\":read();h+=escape();return;case'"':if(g){read();return newToken("string",h)}h+=read();return;case"'":if(!g){read();return newToken("string",h)}h+=read();return;case"\n":case"\r":throw invalidChar(read());case"\u2028":case"\u2029":separatorChar(A);break;case undefined:throw invalidChar(read())}h+=read()},start(){switch(A){case"{":case"[":return newToken("punctuator",read())}d="value"},beforePropertyName(){switch(A){case"$":case"_":h=read();d="identifierName";return;case"\\":read();d="identifierNameStartEscape";return;case"}":return newToken("punctuator",read());case'"':case"'":g=read()==='"';d="string";return}if(n.isIdStartChar(A)){h+=read();d="identifierName";return}throw invalidChar(read())},afterPropertyName(){if(A===":"){return newToken("punctuator",read())}throw invalidChar(read())},beforePropertyValue(){d="value"},afterPropertyValue(){switch(A){case",":case"}":return newToken("punctuator",read())}throw invalidChar(read())},beforeArrayValue(){if(A==="]"){return newToken("punctuator",read())}d="value"},afterArrayValue(){switch(A){case",":case"]":return newToken("punctuator",read())}throw invalidChar(read())},end(){throw invalidChar(read())}};function newToken(e,t){return{type:e,value:t,line:a,column:c}}function literal(e){for(const t of e){const e=peek();if(e!==t){throw invalidChar(read())}read()}}function escape(){const e=peek();switch(e){case"b":read();return"\b";case"f":read();return"\f";case"n":read();return"\n";case"r":read();return"\r";case"t":read();return"\t";case"v":read();return"\v";case"0":read();if(n.isDigit(peek())){throw invalidChar(read())}return"\0";case"x":read();return hexEscape();case"u":read();return unicodeEscape();case"\n":case"\u2028":case"\u2029":read();return"";case"\r":read();if(peek()==="\n"){read()}return"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw invalidChar(read());case undefined:throw invalidChar(read())}return read()}function hexEscape(){let e="";let t=peek();if(!n.isHexDigit(t)){throw invalidChar(read())}e+=read();t=peek();if(!n.isHexDigit(t)){throw invalidChar(read())}e+=read();return String.fromCodePoint(parseInt(e,16))}function unicodeEscape(){let e="";let t=4;while(t-- >0){const t=peek();if(!n.isHexDigit(t)){throw invalidChar(read())}e+=read()}return String.fromCodePoint(parseInt(e,16))}const y={start(){if(l.type==="eof"){throw invalidEOF()}push()},beforePropertyName(){switch(l.type){case"identifier":case"string":f=l.value;i="afterPropertyName";return;case"punctuator":pop();return;case"eof":throw invalidEOF()}},afterPropertyName(){if(l.type==="eof"){throw invalidEOF()}i="beforePropertyValue"},beforePropertyValue(){if(l.type==="eof"){throw invalidEOF()}push()},beforeArrayValue(){if(l.type==="eof"){throw invalidEOF()}if(l.type==="punctuator"&&l.value==="]"){pop();return}push()},afterPropertyValue(){if(l.type==="eof"){throw invalidEOF()}switch(l.value){case",":i="beforePropertyName";return;case"}":pop()}},afterArrayValue(){if(l.type==="eof"){throw invalidEOF()}switch(l.value){case",":i="beforeArrayValue";return;case"]":pop()}},end(){}};function push(){let e;switch(l.type){case"punctuator":switch(l.value){case"{":e={};break;case"[":e=[];break}break;case"null":case"boolean":case"numeric":case"string":e=l.value;break}if(p===undefined){p=e}else{const t=o[o.length-1];if(Array.isArray(t)){t.push(e)}else{Object.defineProperty(t,f,{value:e,writable:true,enumerable:true,configurable:true})}}if(e!==null&&typeof e==="object"){o.push(e);if(Array.isArray(e)){i="beforeArrayValue"}else{i="beforePropertyName"}}else{const e=o[o.length-1];if(e==null){i="end"}else if(Array.isArray(e)){i="afterArrayValue"}else{i="afterPropertyValue"}}}function pop(){o.pop();const e=o[o.length-1];if(e==null){i="end"}else if(Array.isArray(e)){i="afterArrayValue"}else{i="afterPropertyValue"}}function invalidChar(e){if(e===undefined){return syntaxError(`JSON5: invalid end of input at ${a}:${c}`)}return syntaxError(`JSON5: invalid character '${formatChar(e)}' at ${a}:${c}`)}function invalidEOF(){return syntaxError(`JSON5: invalid end of input at ${a}:${c}`)}function invalidIdentifier(){c-=5;return syntaxError(`JSON5: invalid identifier character at ${a}:${c}`)}function separatorChar(e){console.warn(`JSON5: '${formatChar(e)}' in strings is not valid ECMAScript; consider escaping`)}function formatChar(e){const t={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(t[e]){return t[e]}if(e<" "){const t=e.charCodeAt(0).toString(16);return"\\x"+("00"+t).substring(t.length)}return e}function syntaxError(e){const t=new SyntaxError(e);t.lineNumber=a;t.columnNumber=c;return t}},3603:(e,t,r)=>{const n=r(2944);e.exports=function stringify(e,t,r){const s=[];let i="";let o;let u;let a="";let c;if(t!=null&&typeof t==="object"&&!Array.isArray(t)){r=t.space;c=t.quote;t=t.replacer}if(typeof t==="function"){u=t}else if(Array.isArray(t)){o=[];for(const e of t){let t;if(typeof e==="string"){t=e}else if(typeof e==="number"||e instanceof String||e instanceof Number){t=String(e)}if(t!==undefined&&o.indexOf(t)<0){o.push(t)}}}if(r instanceof Number){r=Number(r)}else if(r instanceof String){r=String(r)}if(typeof r==="number"){if(r>0){r=Math.min(10,Math.floor(r));a=" ".substr(0,r)}}else if(typeof r==="string"){a=r.substr(0,10)}return serializeProperty("",{"":e});function serializeProperty(e,t){let r=t[e];if(r!=null){if(typeof r.toJSON5==="function"){r=r.toJSON5(e)}else if(typeof r.toJSON==="function"){r=r.toJSON(e)}}if(u){r=u.call(t,e,r)}if(r instanceof Number){r=Number(r)}else if(r instanceof String){r=String(r)}else if(r instanceof Boolean){r=r.valueOf()}switch(r){case null:return"null";case true:return"true";case false:return"false"}if(typeof r==="string"){return quoteString(r,false)}if(typeof r==="number"){return String(r)}if(typeof r==="object"){return Array.isArray(r)?serializeArray(r):serializeObject(r)}return undefined}function quoteString(e){const t={"'":.1,'"':.2};const r={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};let s="";for(let i=0;i<e.length;i++){const o=e[i];switch(o){case"'":case'"':t[o]++;s+=o;continue;case"\0":if(n.isDigit(e[i+1])){s+="\\x00";continue}}if(r[o]){s+=r[o];continue}if(o<" "){let e=o.charCodeAt(0).toString(16);s+="\\x"+("00"+e).substring(e.length);continue}s+=o}const i=c||Object.keys(t).reduce(((e,r)=>t[e]<t[r]?e:r));s=s.replace(new RegExp(i,"g"),r[i]);return i+s+i}function serializeObject(e){if(s.indexOf(e)>=0){throw TypeError("Converting circular structure to JSON5")}s.push(e);let t=i;i=i+a;let r=o||Object.keys(e);let n=[];for(const t of r){const r=serializeProperty(t,e);if(r!==undefined){let e=serializeKey(t)+":";if(a!==""){e+=" "}e+=r;n.push(e)}}let u;if(n.length===0){u="{}"}else{let e;if(a===""){e=n.join(",");u="{"+e+"}"}else{let r=",\n"+i;e=n.join(r);u="{\n"+i+e+",\n"+t+"}"}}s.pop();i=t;return u}function serializeKey(e){if(e.length===0){return quoteString(e,true)}const t=String.fromCodePoint(e.codePointAt(0));if(!n.isIdStartChar(t)){return quoteString(e,true)}for(let r=t.length;r<e.length;r++){if(!n.isIdContinueChar(String.fromCodePoint(e.codePointAt(r)))){return quoteString(e,true)}}return e}function serializeArray(e){if(s.indexOf(e)>=0){throw TypeError("Converting circular structure to JSON5")}s.push(e);let t=i;i=i+a;let r=[];for(let t=0;t<e.length;t++){const n=serializeProperty(String(t),e);r.push(n!==undefined?n:"null")}let n;if(r.length===0){n="[]"}else{if(a===""){let e=r.join(",");n="["+e+"]"}else{let e=",\n"+i;let s=r.join(e);n="[\n"+i+s+",\n"+t+"]"}}s.pop();i=t;return n}}},1773:e=>{e.exports.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/;e.exports.ID_Start=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/;e.exports.ID_Continue=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},2944:(e,t,r)=>{const n=r(1773);e.exports={isSpaceSeparator(e){return typeof e==="string"&&n.Space_Separator.test(e)},isIdStartChar(e){return typeof e==="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="$"||e==="_"||n.ID_Start.test(e))},isIdContinueChar(e){return typeof e==="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||e==="$"||e==="_"||e==="‌"||e==="‍"||n.ID_Continue.test(e))},isDigit(e){return typeof e==="string"&&/[0-9]/.test(e)},isHexDigit(e){return typeof e==="string"&&/[0-9A-Fa-f]/.test(e)}}},2078:e=>{"use strict";function hasKey(e,t){var r=e;t.slice(0,-1).forEach((function(e){r=r[e]||{}}));var n=t[t.length-1];return n in r}function isNumber(e){if(typeof e==="number"){return true}if(/^0x[0-9a-f]+$/i.test(e)){return true}return/^[-+]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(e)}function isConstructorOrProto(e,t){return t==="constructor"&&typeof e[t]==="function"||t==="__proto__"}e.exports=function(e,t){if(!t){t={}}var r={bools:{},strings:{},unknownFn:null};if(typeof t.unknown==="function"){r.unknownFn=t.unknown}if(typeof t.boolean==="boolean"&&t.boolean){r.allBools=true}else{[].concat(t.boolean).filter(Boolean).forEach((function(e){r.bools[e]=true}))}var n={};function aliasIsBoolean(e){return n[e].some((function(e){return r.bools[e]}))}Object.keys(t.alias||{}).forEach((function(e){n[e]=[].concat(t.alias[e]);n[e].forEach((function(t){n[t]=[e].concat(n[e].filter((function(e){return t!==e})))}))}));[].concat(t.string).filter(Boolean).forEach((function(e){r.strings[e]=true;if(n[e]){[].concat(n[e]).forEach((function(e){r.strings[e]=true}))}}));var s=t.default||{};var i={_:[]};function argDefined(e,t){return r.allBools&&/^--[^=]+$/.test(t)||r.strings[e]||r.bools[e]||n[e]}function setKey(e,t,n){var s=e;for(var i=0;i<t.length-1;i++){var o=t[i];if(isConstructorOrProto(s,o)){return}if(s[o]===undefined){s[o]={}}if(s[o]===Object.prototype||s[o]===Number.prototype||s[o]===String.prototype){s[o]={}}if(s[o]===Array.prototype){s[o]=[]}s=s[o]}var u=t[t.length-1];if(isConstructorOrProto(s,u)){return}if(s===Object.prototype||s===Number.prototype||s===String.prototype){s={}}if(s===Array.prototype){s=[]}if(s[u]===undefined||r.bools[u]||typeof s[u]==="boolean"){s[u]=n}else if(Array.isArray(s[u])){s[u].push(n)}else{s[u]=[s[u],n]}}function setArg(e,t,s){if(s&&r.unknownFn&&!argDefined(e,s)){if(r.unknownFn(s)===false){return}}var o=!r.strings[e]&&isNumber(t)?Number(t):t;setKey(i,e.split("."),o);(n[e]||[]).forEach((function(e){setKey(i,e.split("."),o)}))}Object.keys(r.bools).forEach((function(e){setArg(e,s[e]===undefined?false:s[e])}));var o=[];if(e.indexOf("--")!==-1){o=e.slice(e.indexOf("--")+1);e=e.slice(0,e.indexOf("--"))}for(var u=0;u<e.length;u++){var a=e[u];var c;var l;if(/^--.+=/.test(a)){var f=a.match(/^--([^=]+)=([\s\S]*)$/);c=f[1];var p=f[2];if(r.bools[c]){p=p!=="false"}setArg(c,p,a)}else if(/^--no-.+/.test(a)){c=a.match(/^--no-(.+)/)[1];setArg(c,false,a)}else if(/^--.+/.test(a)){c=a.match(/^--(.+)/)[1];l=e[u+1];if(l!==undefined&&!/^(-|--)[^-]/.test(l)&&!r.bools[c]&&!r.allBools&&(n[c]?!aliasIsBoolean(c):true)){setArg(c,l,a);u+=1}else if(/^(true|false)$/.test(l)){setArg(c,l==="true",a);u+=1}else{setArg(c,r.strings[c]?"":true,a)}}else if(/^-[^-]+/.test(a)){var d=a.slice(1,-1).split("");var h=false;for(var g=0;g<d.length;g++){l=a.slice(g+2);if(l==="-"){setArg(d[g],l,a);continue}if(/[A-Za-z]/.test(d[g])&&l[0]==="="){setArg(d[g],l.slice(1),a);h=true;break}if(/[A-Za-z]/.test(d[g])&&/-?\d+(\.\d*)?(e-?\d+)?$/.test(l)){setArg(d[g],l,a);h=true;break}if(d[g+1]&&d[g+1].match(/\W/)){setArg(d[g],a.slice(g+2),a);h=true;break}else{setArg(d[g],r.strings[d[g]]?"":true,a)}}c=a.slice(-1)[0];if(!h&&c!=="-"){if(e[u+1]&&!/^(-|--)[^-]/.test(e[u+1])&&!r.bools[c]&&(n[c]?!aliasIsBoolean(c):true)){setArg(c,e[u+1],a);u+=1}else if(e[u+1]&&/^(true|false)$/.test(e[u+1])){setArg(c,e[u+1]==="true",a);u+=1}else{setArg(c,r.strings[c]?"":true,a)}}}else{if(!r.unknownFn||r.unknownFn(a)!==false){i._.push(r.strings._||!isNumber(a)?a:Number(a))}if(t.stopEarly){i._.push.apply(i._,e.slice(u+1));break}}}Object.keys(s).forEach((function(e){if(!hasKey(i,e.split("."))){setKey(i,e.split("."),s[e]);(n[e]||[]).forEach((function(t){setKey(i,t.split("."),s[e])}))}}));if(t["--"]){i["--"]=o.slice()}else{o.forEach((function(e){i._.push(e)}))}return i}},6987:e=>{var t=1e3;var r=t*60;var n=r*60;var s=n*24;var i=s*7;var o=s*365.25;e.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0){return parse(e)}else if(r==="number"&&isFinite(e)){return t.long?fmtLong(e):fmtShort(e)}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function parse(e){e=String(e);if(e.length>100){return}var u=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!u){return}var a=parseFloat(u[1]);var c=(u[2]||"ms").toLowerCase();switch(c){case"years":case"year":case"yrs":case"yr":case"y":return a*o;case"weeks":case"week":case"w":return a*i;case"days":case"day":case"d":return a*s;case"hours":case"hour":case"hrs":case"hr":case"h":return a*n;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return undefined}}function fmtShort(e){var i=Math.abs(e);if(i>=s){return Math.round(e/s)+"d"}if(i>=n){return Math.round(e/n)+"h"}if(i>=r){return Math.round(e/r)+"m"}if(i>=t){return Math.round(e/t)+"s"}return e+"ms"}function fmtLong(e){var i=Math.abs(e);if(i>=s){return plural(e,i,s,"day")}if(i>=n){return plural(e,i,n,"hour")}if(i>=r){return plural(e,i,r,"minute")}if(i>=t){return plural(e,i,t,"second")}return e+" ms"}function plural(e,t,r,n){var s=t>=r*1.5;return Math.round(e/r)+" "+n+(s?"s":"")}},9557:(e,t,r)=>{"use strict";e.exports=npa;e.exports.resolve=resolve;e.exports.toPurl=toPurl;e.exports.Result=Result;const{URL:n}=r(7016);const s=r(1496);const i=r(4423);const o=global.FAKE_WINDOWS?r(6928).win32:r(6928);const u=r(7905);const{homedir:a}=r(857);const{log:c}=r(4289);const l=process.platform==="win32"||global.FAKE_WINDOWS;const f=l?/\\|[/]/:/[/]/;const p=/^(?:git[+])?[a-z]+:/i;const d=/^[^@]+@[^:.]+\.[^:]+:.+$/i;const h=/[.](?:tgz|tar.gz|tar)$/i;function npa(e,t){let r;let n;if(typeof e==="object"){if(e instanceof Result&&(!t||t===e.where)){return e}else if(e.name&&e.rawSpec){return npa.resolve(e.name,e.rawSpec,t||e.where)}else{return npa(e.raw,t||e.where)}}const s=e[0]==="@"?e.slice(1).indexOf("@")+1:e.indexOf("@");const i=s>0?e.slice(0,s):e;if(p.test(e)){n=e}else if(d.test(e)){n=`git+ssh://${e}`}else if(i[0]!=="@"&&(f.test(i)||h.test(i))){n=e}else if(s>0){r=i;n=e.slice(s+1)||"*"}else{const t=u(e);if(t.validForOldPackages){r=e;n="*"}else{n=e}}return resolve(r,n,t,e)}const g=l?/^(?:[.]|~[/]|[/\\]|[a-zA-Z]:)/:/^(?:[.]|~[/]|[/]|[a-zA-Z]:)/;function resolve(e,t,r,n){const i=new Result({raw:n,name:e,rawSpec:t,fromArgument:n!=null});if(e){i.setName(e)}if(t&&(g.test(t)||/^file:/i.test(t))){return fromFile(i,r)}else if(t&&/^npm:/i.test(t)){return fromAlias(i,r)}const o=s.fromUrl(t,{noGitPlus:true,noCommittish:true});if(o){return fromHostedGit(i,o)}else if(t&&p.test(t)){return fromURL(i)}else if(t&&(f.test(t)||h.test(t))){return fromFile(i,r)}else{return fromRegistry(i)}}const m="https://registry.npmjs.org";function toPurl(e,t=m){const r=npa(e);if(r.type!=="version"){throw invalidPurlType(r.type,r.raw)}let n="pkg:npm/"+r.name.replace(/^@/,"%40")+"@"+r.rawSpec;if(t!==m){n+="?repository_url="+t}return n}function invalidPackageName(e,t,r){const n=new Error(`Invalid package name "${e}" of package "${r}": ${t.errors.join("; ")}.`);n.code="EINVALIDPACKAGENAME";return n}function invalidTagName(e,t){const r=new Error(`Invalid tag name "${e}" of package "${t}": Tags may not have any characters that encodeURIComponent encodes.`);r.code="EINVALIDTAGNAME";return r}function invalidPurlType(e,t){const r=new Error(`Invalid type "${e}" of package "${t}": Purl can only be generated for "version" types.`);r.code="EINVALIDPURLTYPE";return r}function Result(e){this.type=e.type;this.registry=e.registry;this.where=e.where;if(e.raw==null){this.raw=e.name?e.name+"@"+e.rawSpec:e.rawSpec}else{this.raw=e.raw}this.name=undefined;this.escapedName=undefined;this.scope=undefined;this.rawSpec=e.rawSpec||"";this.saveSpec=e.saveSpec;this.fetchSpec=e.fetchSpec;if(e.name){this.setName(e.name)}this.gitRange=e.gitRange;this.gitCommittish=e.gitCommittish;this.gitSubdir=e.gitSubdir;this.hosted=e.hosted}Result.prototype.setName=function(e){const t=u(e);if(!t.validForOldPackages){throw invalidPackageName(e,t,this.raw)}this.name=e;this.scope=e[0]==="@"?e.slice(0,e.indexOf("/")):undefined;this.escapedName=e.replace("/","%2f");return this};Result.prototype.toString=function(){const e=[];if(this.name!=null&&this.name!==""){e.push(this.name)}const t=this.saveSpec||this.fetchSpec||this.rawSpec;if(t!=null&&t!==""){e.push(t)}return e.length?e.join("@"):this.raw};Result.prototype.toJSON=function(){const e=Object.assign({},this);delete e.hosted;return e};function setGitAttrs(e,t){if(!t){e.gitCommittish=null;return}for(const r of t.split("::")){if(!r.includes(":")){if(e.gitRange){throw new Error("cannot override existing semver range with a committish")}if(e.gitCommittish){throw new Error("cannot override existing committish with a second committish")}e.gitCommittish=r;continue}const[t,n]=r.split(":");if(t==="semver"){if(e.gitCommittish){throw new Error("cannot override existing committish with a semver range")}if(e.gitRange){throw new Error("cannot override existing semver range with a second semver range")}e.gitRange=decodeURIComponent(n);continue}if(t==="path"){if(e.gitSubdir){throw new Error("cannot override existing path with a second path")}e.gitSubdir=`/${n}`;continue}c.warn("npm-package-arg",`ignoring unknown key "${t}"`)}}function fromFile(e,t){if(!t){t=process.cwd()}e.type=h.test(e.rawSpec)?"file":"directory";e.where=t;let r;let s;const i=!/^file:/.test(e.rawSpec)?"file:":"";const u=i+e.rawSpec;let c=u.replace(/^file:/,"");try{s=new n(u,`file://${o.resolve(t)}/`);r=new n(u)}catch(r){const n=new Error("Invalid file: URL, must comply with RFC 8089");throw Object.assign(n,{raw:e.rawSpec,spec:e,where:t,originalError:r})}if(s.host&&s.host!=="localhost"){const i=e.rawSpec.replace(/^file:\/\//,"file:///");s=new n(i,`file://${o.resolve(t)}/`);r=new n(i);c=i.replace(/^file:/,"")}if(/^\/{1,3}\.\.?(\/|$)/.test(c)){const i=e.rawSpec.replace(/^file:\/{1,3}/,"file:");s=new n(i,`file://${o.resolve(t)}/`);r=new n(i);c=i.replace(/^file:/,"")}let f=decodeURIComponent(r.pathname);let p=decodeURIComponent(s.pathname);if(l){f=f.replace(/^\/+([a-z]:\/)/i,"$1");p=p.replace(/^\/+([a-z]:\/)/i,"$1")}if(/^\/~(\/|$)/.test(f)){e.saveSpec=`file:${f.substr(1)}`;p=o.resolve(a(),f.substr(3))}else if(!o.isAbsolute(c)){e.saveSpec=`file:${o.relative(t,p)}`}else{e.saveSpec=`file:${o.resolve(p)}`}e.fetchSpec=o.resolve(t,p);return e}function fromHostedGit(e,t){e.type="git";e.hosted=t;e.saveSpec=t.toString({noGitPlus:false,noCommittish:false});e.fetchSpec=t.getDefaultRepresentation()==="shortcut"?null:t.toString();setGitAttrs(e,t.committish);return e}function unsupportedURLType(e,t){const r=new Error(`Unsupported URL Type "${e}": ${t}`);r.code="EUNSUPPORTEDPROTOCOL";return r}function fromURL(e){let t=e.rawSpec;e.saveSpec=t;if(t.startsWith("git+ssh:")){const r=t.match(/^git\+ssh:\/\/([^:#]+:[^#]+(?:\.git)?)(?:#(.*))?$/i);if(r&&!r[1].match(/:[0-9]+\/?.*$/i)){e.type="git";setGitAttrs(e,r[2]);e.fetchSpec=r[1];return e}}else if(t.startsWith("git+file://")){t=t.replace(/\\/g,"/")}const r=new n(t);switch(r.protocol){case"git:":case"git+http:":case"git+https:":case"git+rsync:":case"git+ftp:":case"git+file:":case"git+ssh:":e.type="git";setGitAttrs(e,r.hash.slice(1));if(r.protocol==="git+file:"&&/^git\+file:\/\/[a-z]:/i.test(t)){e.fetchSpec=`git+file://${r.host.toLowerCase()}:${r.pathname}`}else{r.hash="";e.fetchSpec=r.toString()}if(e.fetchSpec.startsWith("git+")){e.fetchSpec=e.fetchSpec.slice(4)}break;case"http:":case"https:":e.type="remote";e.fetchSpec=e.saveSpec;break;default:throw unsupportedURLType(r.protocol,t)}return e}function fromAlias(e,t){const r=npa(e.rawSpec.substr(4),t);if(r.type==="alias"){throw new Error("nested aliases not supported")}if(!r.registry){throw new Error("aliases only work for registry deps")}if(!r.name){throw new Error("aliases must have a name")}e.subSpec=r;e.registry=true;e.type="alias";e.saveSpec=null;e.fetchSpec=null;return e}function fromRegistry(e){e.registry=true;const t=e.rawSpec.trim();e.saveSpec=null;e.fetchSpec=t;const r=i.valid(t,true);const n=i.validRange(t,true);if(r){e.type="version"}else if(n){e.type="range"}else{if(encodeURIComponent(t)!==t){throw invalidTagName(t,e.raw)}e.type="tag"}return e}},4662:e=>{"use strict";const pathKey=(e={})=>{const t=e.env||process.env;const r=e.platform||process.platform;if(r!=="win32"){return"PATH"}return Object.keys(t).reverse().find((e=>e.toUpperCase()==="PATH"))||"Path"};e.exports=pathKey;e.exports["default"]=pathKey},6831:e=>{let t=process||{},r=t.argv||[],n=t.env||{};let s=!(!!n.NO_COLOR||r.includes("--no-color"))&&(!!n.FORCE_COLOR||r.includes("--color")||t.platform==="win32"||(t.stdout||{}).isTTY&&n.TERM!=="dumb"||!!n.CI);let formatter=(e,t,r=e)=>n=>{let s=""+n,i=s.indexOf(t,e.length);return~i?e+replaceClose(s,t,r,i)+t:e+s+t};let replaceClose=(e,t,r,n)=>{let s="",i=0;do{s+=e.substring(i,n)+r;i=n+t.length;n=e.indexOf(t,i)}while(~n);return s+e.substring(i)};let createColors=(e=s)=>{let t=e?formatter:()=>String;return{isColorSupported:e,reset:t("",""),bold:t("","",""),dim:t("","",""),italic:t("",""),underline:t("",""),inverse:t("",""),hidden:t("",""),strikethrough:t("",""),black:t("",""),red:t("",""),green:t("",""),yellow:t("",""),blue:t("",""),magenta:t("",""),cyan:t("",""),white:t("",""),gray:t("",""),bgBlack:t("",""),bgRed:t("",""),bgGreen:t("",""),bgYellow:t("",""),bgBlue:t("",""),bgMagenta:t("",""),bgCyan:t("",""),bgWhite:t("",""),blackBright:t("",""),redBright:t("",""),greenBright:t("",""),yellowBright:t("",""),blueBright:t("",""),magentaBright:t("",""),cyanBright:t("",""),whiteBright:t("",""),bgBlackBright:t("",""),bgRedBright:t("",""),bgGreenBright:t("",""),bgYellowBright:t("",""),bgBlueBright:t("",""),bgMagentaBright:t("",""),bgCyanBright:t("",""),bgWhiteBright:t("","")}};e.exports=createColors();e.exports.createColors=createColors},4289:e=>{const t=Symbol("proc-log.meta");e.exports={META:t,output:{LEVELS:["standard","error","buffer","flush"],KEYS:{standard:"standard",error:"error",buffer:"buffer",flush:"flush"},standard:function(...e){return process.emit("output","standard",...e)},error:function(...e){return process.emit("output","error",...e)},buffer:function(...e){return process.emit("output","buffer",...e)},flush:function(...e){return process.emit("output","flush",...e)}},log:{LEVELS:["notice","error","warn","info","verbose","http","silly","timing","pause","resume"],KEYS:{notice:"notice",error:"error",warn:"warn",info:"info",verbose:"verbose",http:"http",silly:"silly",timing:"timing",pause:"pause",resume:"resume"},error:function(...e){return process.emit("log","error",...e)},notice:function(...e){return process.emit("log","notice",...e)},warn:function(...e){return process.emit("log","warn",...e)},info:function(...e){return process.emit("log","info",...e)},verbose:function(...e){return process.emit("log","verbose",...e)},http:function(...e){return process.emit("log","http",...e)},silly:function(...e){return process.emit("log","silly",...e)},timing:function(...e){return process.emit("log","timing",...e)},pause:function(){return process.emit("log","pause")},resume:function(){return process.emit("log","resume")}},time:{LEVELS:["start","end"],KEYS:{start:"start",end:"end"},start:function(e,t){process.emit("time","start",e);function end(){return process.emit("time","end",e)}if(typeof t==="function"){const e=t();if(e&&e.finally){return e.finally(end)}end();return e}return end},end:function(e){return process.emit("time","end",e)}},input:{LEVELS:["start","end","read"],KEYS:{start:"start",end:"end",read:"read"},start:function(e){process.emit("input","start");function end(){return process.emit("input","end")}if(typeof e==="function"){const t=e();if(t&&t.finally){return t.finally(end)}end();return t}return end},end:function(){return process.emit("input","end")},read:function(...e){let t,r;const n=new Promise(((e,n)=>{t=e;r=n}));process.emit("input","read",t,r,...e);return n}}}},9046:(e,t,r)=>{var n=r(715);var s=r(6928).join;var i=r(7442);var o="/etc";var u=process.platform==="win32";var a=u?process.env.USERPROFILE:process.env.HOME;e.exports=function(e,t,c,l){if("string"!==typeof e)throw new Error("rc(name): name *must* be string");if(!c)c=r(2078)(process.argv.slice(2));t=("string"===typeof t?n.json(t):t)||{};l=l||n.parse;var f=n.env(e+"_");var p=[t];var d=[];function addConfigFile(e){if(d.indexOf(e)>=0)return;var t=n.file(e);if(t){p.push(l(t));d.push(e)}}if(!u)[s(o,e,"config"),s(o,e+"rc")].forEach(addConfigFile);if(a)[s(a,".config",e,"config"),s(a,".config",e),s(a,"."+e,"config"),s(a,"."+e+"rc")].forEach(addConfigFile);addConfigFile(n.find("."+e+"rc"));if(f.config)addConfigFile(f.config);if(c.config)addConfigFile(c.config);return i.apply(null,p.concat([f,c,d.length?{configs:d,config:d[d.length-1]}:undefined]))}},715:(e,t,r)=>{"use strict";var n=r(9896);var s=r(5667);var i=r(6928);var o=r(3444);var u=t.parse=function(e){if(/^\s*{/.test(e))return JSON.parse(o(e));return s.parse(e)};var a=t.file=function(){var e=[].slice.call(arguments).filter((function(e){return e!=null}));for(var t in e)if("string"!==typeof e[t])return;var r=i.join.apply(null,e);var s;try{return n.readFileSync(r,"utf-8")}catch(e){return}};var c=t.json=function(){var e=a.apply(null,arguments);return e?u(e):null};var l=t.env=function(e,t){t=t||process.env;var r={};var n=e.length;for(var s in t){if(s.toLowerCase().indexOf(e.toLowerCase())===0){var i=s.substring(n).split("__");var o;while((o=i.indexOf(""))>-1){i.splice(o,1)}var u=r;i.forEach((function _buildSubObj(e,r){if(!e||typeof u!=="object")return;if(r===i.length-1)u[e]=t[s];if(u[e]===undefined)u[e]={};u=u[e]}))}}return r};var f=t.find=function(){var e=i.join.apply(null,[].slice.call(arguments));function find(e,t){var r=i.join(e,t);try{n.statSync(r);return r}catch(r){if(i.dirname(e)!==e)return find(i.dirname(e),t)}}return find(process.cwd(),e)}},2370:(e,t,r)=>{const n=r(5725).Buffer;function decodeBase64(e){return n.from(e,"base64").toString("utf8")}function encodeBase64(e){return n.from(e,"utf8").toString("base64")}e.exports={decodeBase64:decodeBase64,encodeBase64:encodeBase64}},4133:(e,t,r)=>{var n=r(7016);var s=r(2370);var i=s.decodeBase64;var o=s.encodeBase64;var u=":_authToken";var a=":username";var c=":_password";e.exports=function(){var e;var t;if(arguments.length>=2){e=arguments[0];t=arguments[1]}else if(typeof arguments[0]==="string"){e=arguments[0]}else{t=arguments[0]}t=t||{};t.npmrc=t.npmrc||r(9046)("npm",{registry:"https://registry.npmjs.org/"});e=e||t.npmrc.registry;return getRegistryAuthInfo(e,t)||getLegacyAuthInfo(t.npmrc)};function getRegistryAuthInfo(e,t){var r=n.parse(e,false,true);var s;while(s!=="/"&&r.pathname!==s){s=r.pathname||"/";var i="//"+r.host+s.replace(/\/$/,"");var o=getAuthInfoForUrl(i,t.npmrc);if(o){return o}if(!t.recursive){return/\/$/.test(e)?undefined:getRegistryAuthInfo(n.resolve(e,"."),t)}r.pathname=n.resolve(normalizePath(s),"..")||"/"}return undefined}function getLegacyAuthInfo(e){if(e._auth){return{token:e._auth,type:"Basic"}}return undefined}function normalizePath(e){return e[e.length-1]==="/"?e:e+"/"}function getAuthInfoForUrl(e,t){var r=getBearerToken(t[e+u]||t[e+"/"+u]);if(r){return r}var n=t[e+a]||t[e+"/"+a];var s=t[e+c]||t[e+"/"+c];var i=getTokenForUsernameAndPassword(n,s);if(i){return i}return undefined}function getBearerToken(e){if(!e){return undefined}var t=e.replace(/^\$\{?([^}]*)\}?$/,(function(e,t){return process.env[t]}));return{token:t,type:"Bearer"}}function getTokenForUsernameAndPassword(e,t){if(!e||!t){return undefined}var r=i(t.replace(/^\$\{?([^}]*)\}?$/,(function(e,t){return process.env[t]})));var n=o(e+":"+r);return{token:n,type:"Basic",password:r,username:e}}},3805:(e,t,r)=>{"use strict";e.exports=function(e){var t=r(9046)("npm",{registry:"https://registry.npmjs.org/"});var n=t[e+":registry"]||t.registry;return n.slice(-1)==="/"?n:n+"/"}},8665:(e,t,r)=>{(()=>{"use strict";var t={610:(e,t,r)=>{const n=r(8750);const s=r(9434);const i=r(5873);const o=r(6477);const braces=(e,t={})=>{let r=[];if(Array.isArray(e)){for(const n of e){const e=braces.create(n,t);if(Array.isArray(e)){r.push(...e)}else{r.push(e)}}}else{r=[].concat(braces.create(e,t))}if(t&&t.expand===true&&t.nodupes===true){r=[...new Set(r)]}return r};braces.parse=(e,t={})=>o(e,t);braces.stringify=(e,t={})=>{if(typeof e==="string"){return n(braces.parse(e,t),t)}return n(e,t)};braces.compile=(e,t={})=>{if(typeof e==="string"){e=braces.parse(e,t)}return s(e,t)};braces.expand=(e,t={})=>{if(typeof e==="string"){e=braces.parse(e,t)}let r=i(e,t);if(t.noempty===true){r=r.filter(Boolean)}if(t.nodupes===true){r=[...new Set(r)]}return r};braces.create=(e,t={})=>{if(e===""||e.length<3){return[e]}return t.expand!==true?braces.compile(e,t):braces.expand(e,t)};e.exports=braces},9434:(e,t,r)=>{const n=r(6330);const s=r(5207);const compile=(e,t={})=>{const walk=(e,r={})=>{const i=s.isInvalidBrace(r);const o=e.invalid===true&&t.escapeInvalid===true;const u=i===true||o===true;const a=t.escapeInvalid===true?"\\":"";let c="";if(e.isOpen===true){return a+e.value}if(e.isClose===true){console.log("node.isClose",a,e.value);return a+e.value}if(e.type==="open"){return u?a+e.value:"("}if(e.type==="close"){return u?a+e.value:")"}if(e.type==="comma"){return e.prev.type==="comma"?"":u?e.value:"|"}if(e.value){return e.value}if(e.nodes&&e.ranges>0){const r=s.reduce(e.nodes);const i=n(...r,{...t,wrap:false,toRegex:true,strictZeros:true});if(i.length!==0){return r.length>1&&i.length>1?`(${i})`:i}}if(e.nodes){for(const t of e.nodes){c+=walk(t,e)}}return c};return walk(e)};e.exports=compile},8774:e=>{e.exports={MAX_LENGTH:1e4,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:" ",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"}},5873:(e,t,r)=>{const n=r(6330);const s=r(8750);const i=r(5207);const append=(e="",t="",r=false)=>{const n=[];e=[].concat(e);t=[].concat(t);if(!t.length)return e;if(!e.length){return r?i.flatten(t).map((e=>`{${e}}`)):t}for(const s of e){if(Array.isArray(s)){for(const e of s){n.push(append(e,t,r))}}else{for(let e of t){if(r===true&&typeof e==="string")e=`{${e}}`;n.push(Array.isArray(e)?append(s,e,r):s+e)}}}return i.flatten(n)};const expand=(e,t={})=>{const r=t.rangeLimit===undefined?1e3:t.rangeLimit;const walk=(e,o={})=>{e.queue=[];let u=o;let a=o.queue;while(u.type!=="brace"&&u.type!=="root"&&u.parent){u=u.parent;a=u.queue}if(e.invalid||e.dollar){a.push(append(a.pop(),s(e,t)));return}if(e.type==="brace"&&e.invalid!==true&&e.nodes.length===2){a.push(append(a.pop(),["{}"]));return}if(e.nodes&&e.ranges>0){const o=i.reduce(e.nodes);if(i.exceedsLimit(...o,t.step,r)){throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.")}let u=n(...o,t);if(u.length===0){u=s(e,t)}a.push(append(a.pop(),u));e.nodes=[];return}const c=i.encloseBrace(e);let l=e.queue;let f=e;while(f.type!=="brace"&&f.type!=="root"&&f.parent){f=f.parent;l=f.queue}for(let t=0;t<e.nodes.length;t++){const r=e.nodes[t];if(r.type==="comma"&&e.type==="brace"){if(t===1)l.push("");l.push("");continue}if(r.type==="close"){a.push(append(a.pop(),l,c));continue}if(r.value&&r.type!=="open"){l.push(append(l.pop(),r.value));continue}if(r.nodes){walk(r,e)}}return l};return i.flatten(walk(e))};e.exports=expand},6477:(e,t,r)=>{const n=r(8750);const{MAX_LENGTH:s,CHAR_BACKSLASH:i,CHAR_BACKTICK:o,CHAR_COMMA:u,CHAR_DOT:a,CHAR_LEFT_PARENTHESES:c,CHAR_RIGHT_PARENTHESES:l,CHAR_LEFT_CURLY_BRACE:f,CHAR_RIGHT_CURLY_BRACE:p,CHAR_LEFT_SQUARE_BRACKET:d,CHAR_RIGHT_SQUARE_BRACKET:h,CHAR_DOUBLE_QUOTE:g,CHAR_SINGLE_QUOTE:m,CHAR_NO_BREAK_SPACE:A,CHAR_ZERO_WIDTH_NOBREAK_SPACE:E}=r(8774);const parse=(e,t={})=>{if(typeof e!=="string"){throw new TypeError("Expected a string")}const r=t||{};const y=typeof r.maxLength==="number"?Math.min(s,r.maxLength):s;if(e.length>y){throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${y})`)}const D={type:"root",input:e,nodes:[]};const C=[D];let w=D;let b=D;let v=0;const _=e.length;let F=0;let S=0;let x;const advance=()=>e[F++];const push=e=>{if(e.type==="text"&&b.type==="dot"){b.type="text"}if(b&&b.type==="text"&&e.type==="text"){b.value+=e.value;return}w.nodes.push(e);e.parent=w;e.prev=b;b=e;return e};push({type:"bos"});while(F<_){w=C[C.length-1];x=advance();if(x===E||x===A){continue}if(x===i){push({type:"text",value:(t.keepEscaping?x:"")+advance()});continue}if(x===h){push({type:"text",value:"\\"+x});continue}if(x===d){v++;let e;while(F<_&&(e=advance())){x+=e;if(e===d){v++;continue}if(e===i){x+=advance();continue}if(e===h){v--;if(v===0){break}}}push({type:"text",value:x});continue}if(x===c){w=push({type:"paren",nodes:[]});C.push(w);push({type:"text",value:x});continue}if(x===l){if(w.type!=="paren"){push({type:"text",value:x});continue}w=C.pop();push({type:"text",value:x});w=C[C.length-1];continue}if(x===g||x===m||x===o){const e=x;let r;if(t.keepQuotes!==true){x=""}while(F<_&&(r=advance())){if(r===i){x+=r+advance();continue}if(r===e){if(t.keepQuotes===true)x+=r;break}x+=r}push({type:"text",value:x});continue}if(x===f){S++;const e=b.value&&b.value.slice(-1)==="$"||w.dollar===true;const t={type:"brace",open:true,close:false,dollar:e,depth:S,commas:0,ranges:0,nodes:[]};w=push(t);C.push(w);push({type:"open",value:x});continue}if(x===p){if(w.type!=="brace"){push({type:"text",value:x});continue}const e="close";w=C.pop();w.close=true;push({type:e,value:x});S--;w=C[C.length-1];continue}if(x===u&&S>0){if(w.ranges>0){w.ranges=0;const e=w.nodes.shift();w.nodes=[e,{type:"text",value:n(w)}]}push({type:"comma",value:x});w.commas++;continue}if(x===a&&S>0&&w.commas===0){const e=w.nodes;if(S===0||e.length===0){push({type:"text",value:x});continue}if(b.type==="dot"){w.range=[];b.value+=x;b.type="range";if(w.nodes.length!==3&&w.nodes.length!==5){w.invalid=true;w.ranges=0;b.type="text";continue}w.ranges++;w.args=[];continue}if(b.type==="range"){e.pop();const t=e[e.length-1];t.value+=b.value+x;b=t;w.ranges--;continue}push({type:"dot",value:x});continue}push({type:"text",value:x})}do{w=C.pop();if(w.type!=="root"){w.nodes.forEach((e=>{if(!e.nodes){if(e.type==="open")e.isOpen=true;if(e.type==="close")e.isClose=true;if(!e.nodes)e.type="text";e.invalid=true}}));const e=C[C.length-1];const t=e.nodes.indexOf(w);e.nodes.splice(t,1,...w.nodes)}}while(C.length>0);push({type:"eos"});return D};e.exports=parse},8750:(e,t,r)=>{const n=r(5207);e.exports=(e,t={})=>{const stringify=(e,r={})=>{const s=t.escapeInvalid&&n.isInvalidBrace(r);const i=e.invalid===true&&t.escapeInvalid===true;let o="";if(e.value){if((s||i)&&n.isOpenOrClose(e)){return"\\"+e.value}return e.value}if(e.value){return e.value}if(e.nodes){for(const t of e.nodes){o+=stringify(t)}}return o};return stringify(e)}},5207:(e,t)=>{t.isInteger=e=>{if(typeof e==="number"){return Number.isInteger(e)}if(typeof e==="string"&&e.trim()!==""){return Number.isInteger(Number(e))}return false};t.find=(e,t)=>e.nodes.find((e=>e.type===t));t.exceedsLimit=(e,r,n=1,s)=>{if(s===false)return false;if(!t.isInteger(e)||!t.isInteger(r))return false;return(Number(r)-Number(e))/Number(n)>=s};t.escapeNode=(e,t=0,r)=>{const n=e.nodes[t];if(!n)return;if(r&&n.type===r||n.type==="open"||n.type==="close"){if(n.escaped!==true){n.value="\\"+n.value;n.escaped=true}}};t.encloseBrace=e=>{if(e.type!=="brace")return false;if(e.commas>>0+e.ranges>>0===0){e.invalid=true;return true}return false};t.isInvalidBrace=e=>{if(e.type!=="brace")return false;if(e.invalid===true||e.dollar)return true;if(e.commas>>0+e.ranges>>0===0){e.invalid=true;return true}if(e.open!==true||e.close!==true){e.invalid=true;return true}return false};t.isOpenOrClose=e=>{if(e.type==="open"||e.type==="close"){return true}return e.open===true||e.close===true};t.reduce=e=>e.reduce(((e,t)=>{if(t.type==="text")e.push(t.value);if(t.type==="range")t.type="text";return e}),[]);t.flatten=(...e)=>{const t=[];const flat=e=>{for(let r=0;r<e.length;r++){const n=e[r];if(Array.isArray(n)){flat(n);continue}if(n!==undefined){t.push(n)}}return t};flat(e);return t}},6330:(e,t,r)=>{
29
29
  /*!
30
30
  * fill-range <https://github.com/jonschlinkert/fill-range>
31
31
  *
@@ -74,4 +74,4 @@ var n=r(181);var s=n.Buffer;function copyProps(e,t){for(var r in e){t[r]=e[r]}}i
74
74
  {bold yarn:} {cyan yarn create ${e}}
75
75
  {bold pnpm:} {cyan pnpm create ${e}}
76
76
  {bold bun:} {cyan bun create ${e}}
77
- `)}const{AnalyticsEventPhases:a,AnalyticsEventTypes:c,flushAsync:p,track:d}=await r.e(601).then(r.bind(r,601));try{const s=await resolveStringOrBooleanArgsAsync(e,t,{"--template":Boolean,"--example":Boolean,"-t":"--template","-e":"--example"});f(`Default args:\n%O`,n);f(`Parsed:\n%O`,s);const{createAsync:i}=await Promise.all([r.e(393),r.e(536)]).then(r.bind(r,2536));await i(s.projectRoot,{yes:!!n["--yes"],template:s.args["--template"],example:s.args["--example"],install:!n["--no-install"],agentsMd:!n["--no-agents-md"],swiftpm:!!n["--swiftpm"]});d({event:c.CREATE_EXPO_APP,properties:{phase:a.SUCCESS}});await p()}catch(e){if(!(e instanceof i.R)){o.tG.exception(e)}d({event:c.CREATE_EXPO_APP,properties:{phase:a.FAIL,message:e.cause}});await p().finally((()=>{process.exit(e.code||1)}))}finally{const e=await(await Promise.resolve().then(r.bind(r,7517))).default;await e()}}run()},6725:(e,t,r)=>{"use strict";r.d(t,{R:()=>ExitError,u:()=>SwiftPMUnsupportedError});class ExitError extends Error{cause;code;constructor(e,t){super(e instanceof Error?e.message:e);this.cause=e;this.code=t}}class SwiftPMUnsupportedError extends ExitError{constructor(e,t,r){super(`Could not create the project with --swiftpm because the ${e} uses React Native ${t}. `+"Swift Package Manager for iOS requires React Native 0.88 or later. "+`Delete the ${r} directory, then choose ${e==="template"?"a template":"an example"} for a newer Expo SDK, or run the command again without --swiftpm to use CocoaPods.`,1)}}},1545:(e,t,r)=>{"use strict";r.d(t,{NS:()=>exit,tG:()=>o});var n=r(2314);var s=r.n(n);var i=r(6725);function error(...e){console.error(...e)}function exception(e){const{env:t}=r(4342);error(s().red(e.toString())+(t.EXPO_DEBUG?"\n"+s().gray(e.stack):""))}function log(...e){console.log(...e)}function exit(e,t=1){if(e instanceof Error){exception(e)}else if(e){if(t===0){log(e)}else{error(e)}}if(t!==0){throw new i.R(e,t)}process.exit(t)}const o={error:error,exception:exception,log:log,exit:exit}},9560:(e,t,r)=>{"use strict";r.d(t,{DC:()=>installDependenciesAsync,MZ:()=>configurePackageManager,Wq:()=>formatRunCommand,_c:()=>resolvePackageManager,fZ:()=>formatSelfCommand});var n=r(6268);var s=r.n(n);var i=r(5317);var o=r.n(i);var u=r(7517);const a=r(6675)("expo:init:resolvePackageManager");function resolvePackageManager(){const e=process.env.npm_config_user_agent;a("npm_config_user_agent:",e);if(e?.startsWith("yarn")){return"yarn"}else if(e?.startsWith("pnpm")){return"pnpm"}else if(e?.startsWith("bun")){return"bun"}else if(e?.startsWith("nub")){return"nub"}else if(e?.startsWith("npm")){return"npm"}if(isPackageManagerAvailable("yarn")){return"yarn"}else if(isPackageManagerAvailable("pnpm")){return"pnpm"}else if(isPackageManagerAvailable("bun")){return"bun"}else if(isPackageManagerAvailable("nub")){return"nub"}return"npm"}function isPackageManagerAvailable(e){try{(0,i.execSync)(`${e} --version`,{stdio:"ignore"});return true}catch{}return false}function formatRunCommand(e,t){switch(e){case"pnpm":return`pnpm run ${t}`;case"yarn":return`yarn ${t}`;case"bun":return`bun run ${t}`;case"nub":return`nub run ${t}`;case"npm":default:return`npm run ${t}`}}function formatSelfCommand(){const e=resolvePackageManager();switch(e){case"pnpm":return`pnpx ${u.PACKAGE_NAME}`;case"bun":return`bunx ${u.PACKAGE_NAME}`;case"nub":return`nubx ${u.PACKAGE_NAME}`;case"yarn":case"npm":default:return`npx ${u.PACKAGE_NAME}`}}function createPackageManager(e,t){switch(e){case"yarn":return new n.YarnPackageManager(t);case"pnpm":return new n.PnpmPackageManager(t);case"bun":return new n.BunPackageManager(t);case"nub":return new n.NubPackageManager(t);case"npm":default:return new n.NpmPackageManager(t)}}async function installDependenciesAsync(e,t,r={silent:false}){await createPackageManager(t,{cwd:e,silent:r.silent}).installAsync()}async function configurePackageManager(e,t,r={silent:false}){const n=createPackageManager(t,{cwd:e,...r});switch(n.name){case"yarn":{const e=await n.versionAsync();const t=parseInt(e.split(".")[0]??"",10);if(t>=2){await n.runAsync(["config","set","nodeLinker","node-modules"])}break}}}},4342:(e,t,r)=>{"use strict";r.r(t);r.d(t,{env:()=>i});var n=r(277);var s=r.n(n);class Env{get EXPO_DEBUG(){return(0,n.boolish)("EXPO_DEBUG",false)}get EXPO_BETA(){return(0,n.boolish)("EXPO_BETA",false)}get CI(){return(0,n.boolish)("CI",false)}get EXPO_NO_CACHE(){return(0,n.boolish)("EXPO_NO_CACHE",false)}get EXPO_NO_TELEMETRY(){return(0,n.boolish)("EXPO_NO_TELEMETRY",false)}}const i=new Env},7517:(e,t,r)=>{"use strict";r.r(t);r.d(t,{PACKAGE_NAME:()=>u,default:()=>shouldUpdate});var n=r(2314);var s=r.n(n);var i=r(5059);var o=r.n(i);const u="create-expo";const getPackageJson=()=>{try{return r(8330)}catch{return null}};const a=r(6675)("expo:init:update-check");async function shouldUpdate(){try{const e=getPackageJson();const t=await o()(e);if(t?.latest){console.log();console.log(s().yellow.bold(`A new version of \`${e?.name??u}\` is available`));console.log(s()`You can update by running: {cyan npm install -g ${e?.name??u}}`);console.log()}}catch(e){a("Error checking for update:\n%O",e)}}},2613:e=>{"use strict";e.exports=require("assert")},181:e=>{"use strict";e.exports=require("buffer")},5317:e=>{"use strict";e.exports=require("child_process")},6982:e=>{"use strict";e.exports=require("crypto")},2250:e=>{"use strict";e.exports=require("dns")},4434:e=>{"use strict";e.exports=require("events")},9896:e=>{"use strict";e.exports=require("fs")},8611:e=>{"use strict";e.exports=require("http")},5692:e=>{"use strict";e.exports=require("https")},3339:e=>{"use strict";e.exports=require("module")},5217:e=>{"use strict";e.exports=require("node:crypto")},3024:e=>{"use strict";e.exports=require("node:fs")},6760:e=>{"use strict";e.exports=require("node:path")},1708:e=>{"use strict";e.exports=require("node:process")},7075:e=>{"use strict";e.exports=require("node:stream")},857:e=>{"use strict";e.exports=require("os")},6928:e=>{"use strict";e.exports=require("path")},932:e=>{"use strict";e.exports=require("process")},3785:e=>{"use strict";e.exports=require("readline")},2203:e=>{"use strict";e.exports=require("stream")},2018:e=>{"use strict";e.exports=require("tty")},7016:e=>{"use strict";e.exports=require("url")},9023:e=>{"use strict";e.exports=require("util")},8247:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(6831);var s=r(7815);var i=r(9885);function isColorSupported(){return typeof process==="object"&&(process.env.FORCE_COLOR==="0"||process.env.FORCE_COLOR==="false")?false:n.isColorSupported}const compose=(e,t)=>r=>e(t(r));function buildDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.gray,invalid:compose(compose(e.white,e.bgRed),e.bold),gutter:e.gray,marker:compose(e.red,e.bold),message:compose(e.red,e.bold),reset:e.reset}}const o=buildDefs(n.createColors(true));const u=buildDefs(n.createColors(false));function getDefs(e){return e?o:u}const a=new Set(["as","async","from","get","of","set"]);const c=/\r\n|[\n\r\u2028\u2029]/;const l=/^[()[\]{}]$/;let f;const p=/^[a-z][\w-]*$/i;const getTokenType=function(e,t,r){if(e.type==="name"){const n=e.value;if(i.isKeyword(n)||i.isStrictReservedWord(n,true)||a.has(n)){return"keyword"}if(p.test(n)&&(r[t-1]==="<"||r.slice(t-2,t)==="</")){return"jsxIdentifier"}const s=String.fromCodePoint(n.codePointAt(0));if(s!==s.toLowerCase()){return"capitalized"}}if(e.type==="punctuator"&&l.test(e.value)){return"bracket"}if(e.type==="invalid"&&(e.value==="@"||e.value==="#")){return"punctuator"}return e.type};f=function*(e){let t;while(t=s.default.exec(e)){const r=s.matchToToken(t);yield{type:getTokenType(r,t.index,e),value:r.value}}};function highlight(e){if(e==="")return"";const t=getDefs(true);let r="";for(const{type:n,value:s}of f(e)){if(n in t){r+=s.split(c).map((e=>t[n](e))).join("\n")}else{r+=s}}return r}let d=false;const h=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r,n){const s=Object.assign({column:0,line:-1},e.start);const i=Object.assign({},s,e.end);const{linesAbove:o=2,linesBelow:u=3}=r||{};const a=s.line-n;const c=s.column;const l=i.line-n;const f=i.column;let p=Math.max(a-(o+1),0);let d=Math.min(t.length,l+u);if(a===-1){p=0}if(l===-1){d=t.length}const h=l-a;const g={};if(h){for(let e=0;e<=h;e++){const r=e+a;if(!c){g[r]=true}else if(e===0){const e=t[r-1].length;g[r]=[c,e-c+1]}else if(e===h){g[r]=[0,f]}else{const n=t[r-e].length;g[r]=[0,n]}}}else{if(c===f){if(c){g[a]=[c,0]}else{g[a]=true}}else{g[a]=[c,f-c]}}return{start:p,end:d,markerLines:g}}function codeFrameColumns(e,t,r={}){const n=r.forceColor||isColorSupported()&&r.highlightCode;const s=(r.startLine||1)-1;const i=getDefs(n);const o=e.split(h);const{start:u,end:a,markerLines:c}=getMarkerLines(t,o,r,s);const l=t.start&&typeof t.start.column==="number";const f=String(a+s).length;const p=n?highlight(e):e;let d=p.split(h,a).slice(u,a).map(((e,t)=>{const n=u+1+t;const o=` ${n+s}`.slice(-f);const a=` ${o} |`;const l=c[n];const p=!c[n+1];if(l){let t="";if(Array.isArray(l)){const n=e.slice(0,Math.max(l[0]-1,0)).replace(/[^\t]/g," ");const s=l[1]||1;t=["\n ",i.gutter(a.replace(/\d/g," "))," ",n,i.marker("^").repeat(s)].join("");if(p&&r.message){t+=" "+i.message(r.message)}}return[i.marker(">"),i.gutter(a),e.length>0?` ${e}`:"",t].join("")}else{return` ${i.gutter(a)}${e.length>0?` ${e}`:""}`}})).join("\n");if(r.message&&!l){d=`${" ".repeat(f+1)}${r.message}\n${d}`}if(n){return i.reset(d)}else{return d}}function index(e,t,r,n={}){if(!d){d=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const s={start:{column:r,line:t}};return codeFrameColumns(e,s,n)}t.codeFrameColumns=codeFrameColumns;t["default"]=index;t.highlight=highlight},5942:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;t.isIdentifierStart=isIdentifierStart;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-࢏ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚ౜ౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ೜-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ƛ꟱-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-᫝᫠-᫫ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const o=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,7,25,39,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,5,57,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,24,43,261,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,33,24,3,24,45,74,6,0,67,12,65,1,2,0,15,4,10,7381,42,31,98,114,8702,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,208,30,2,2,2,1,2,6,3,4,10,1,225,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4381,3,5773,3,7472,16,621,2467,541,1507,4938,6,8489];const u=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,78,5,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,199,7,137,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,55,9,266,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,233,0,3,0,8,1,6,0,475,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;n<s;n+=2){r+=t[n];if(r>e)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,o)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,o)||isInAstralSet(e,u)}function isIdentifierName(e){let t=true;for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if((n&64512)===55296&&r+1<e.length){const t=e.charCodeAt(++r);if((t&64512)===56320){n=65536+((n&1023)<<10)+(t&1023)}}if(t){t=false;if(!isIdentifierStart(n)){return false}}else if(!isIdentifierChar(n)){return false}}return!t}},9885:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});var n=r(5942);var s=r(1006)},1006:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isKeyword=isKeyword;t.isReservedWord=isReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isStrictReservedWord=isStrictReservedWord;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},5934:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.LRUCache=void 0;const r=typeof performance==="object"&&performance&&typeof performance.now==="function"?performance:Date;const n=new Set;const s=typeof process==="object"&&!!process?process:{};const emitWarning=(e,t,r,n)=>{typeof s.emitWarning==="function"?s.emitWarning(e,t,r,n):console.error(`[${r}] ${t}: ${e}`)};let i=globalThis.AbortController;let o=globalThis.AbortSignal;if(typeof i==="undefined"){o=class AbortSignal{onabort;_onabort=[];reason;aborted=false;addEventListener(e,t){this._onabort.push(t)}};i=class AbortController{constructor(){warnACPolyfill()}signal=new o;abort(e){if(this.signal.aborted)return;this.signal.reason=e;this.signal.aborted=true;for(const t of this.signal._onabort){t(e)}this.signal.onabort?.(e)}};let e=s.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1";const warnACPolyfill=()=>{if(!e)return;e=false;emitWarning("AbortController is not defined. If using lru-cache in "+"node 14, load an AbortController polyfill from the "+"`node-abort-controller` package. A minimal polyfill is "+"provided for use by LRUCache.fetch(), but it should not be "+"relied upon in other contexts (eg, passing it to other APIs that "+"use AbortController/AbortSignal might have undesirable effects). "+"You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",warnACPolyfill)}}const shouldWarn=e=>!n.has(e);const u=Symbol("type");const isPosInt=e=>e&&e===Math.floor(e)&&e>0&&isFinite(e);const getUintArray=e=>!isPosInt(e)?null:e<=Math.pow(2,8)?Uint8Array:e<=Math.pow(2,16)?Uint16Array:e<=Math.pow(2,32)?Uint32Array:e<=Number.MAX_SAFE_INTEGER?ZeroArray:null;class ZeroArray extends Array{constructor(e){super(e);this.fill(0)}}class Stack{heap;length;static#s=false;static create(e){const t=getUintArray(e);if(!t)return[];Stack.#s=true;const r=new Stack(e,t);Stack.#s=false;return r}constructor(e,t){if(!Stack.#s){throw new TypeError("instantiate Stack using Stack.create(n)")}this.heap=new t(e);this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}}class LRUCache{#i;#o;#u;#a;#c;#l;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#f;#p;#d;#h;#g;#m;#A;#E;#y;#D;#C;#w;#b;#v;#_;#F;#S;static unsafeExposeInternals(e){return{starts:e.#b,ttls:e.#v,sizes:e.#w,keyMap:e.#d,keyList:e.#h,valList:e.#g,next:e.#m,prev:e.#A,get head(){return e.#E},get tail(){return e.#y},free:e.#D,isBackgroundFetch:t=>e.#x(t),backgroundFetch:(t,r,n,s)=>e.#O(t,r,n,s),moveToTail:t=>e.#k(t),indexes:t=>e.#R(t),rindexes:t=>e.#$(t),isStale:t=>e.#B(t)}}get max(){return this.#i}get maxSize(){return this.#o}get calculatedSize(){return this.#p}get size(){return this.#f}get fetchMethod(){return this.#c}get memoMethod(){return this.#l}get dispose(){return this.#u}get disposeAfter(){return this.#a}constructor(e){const{max:t=0,ttl:r,ttlResolution:s=1,ttlAutopurge:i,updateAgeOnGet:o,updateAgeOnHas:u,allowStale:a,dispose:c,disposeAfter:l,noDisposeOnSet:f,noUpdateTTL:p,maxSize:d=0,maxEntrySize:h=0,sizeCalculation:g,fetchMethod:m,memoMethod:A,noDeleteOnFetchRejection:E,noDeleteOnStaleGet:y,allowStaleOnFetchRejection:D,allowStaleOnFetchAbort:C,ignoreFetchAbort:w}=e;if(t!==0&&!isPosInt(t)){throw new TypeError("max option must be a nonnegative integer")}const b=t?getUintArray(t):Array;if(!b){throw new Error("invalid max value: "+t)}this.#i=t;this.#o=d;this.maxEntrySize=h||this.#o;this.sizeCalculation=g;if(this.sizeCalculation){if(!this.#o&&!this.maxEntrySize){throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize")}if(typeof this.sizeCalculation!=="function"){throw new TypeError("sizeCalculation set to non-function")}}if(A!==undefined&&typeof A!=="function"){throw new TypeError("memoMethod must be a function if defined")}this.#l=A;if(m!==undefined&&typeof m!=="function"){throw new TypeError("fetchMethod must be a function if specified")}this.#c=m;this.#F=!!m;this.#d=new Map;this.#h=new Array(t).fill(undefined);this.#g=new Array(t).fill(undefined);this.#m=new b(t);this.#A=new b(t);this.#E=0;this.#y=0;this.#D=Stack.create(t);this.#f=0;this.#p=0;if(typeof c==="function"){this.#u=c}if(typeof l==="function"){this.#a=l;this.#C=[]}else{this.#a=undefined;this.#C=undefined}this.#_=!!this.#u;this.#S=!!this.#a;this.noDisposeOnSet=!!f;this.noUpdateTTL=!!p;this.noDeleteOnFetchRejection=!!E;this.allowStaleOnFetchRejection=!!D;this.allowStaleOnFetchAbort=!!C;this.ignoreFetchAbort=!!w;if(this.maxEntrySize!==0){if(this.#o!==0){if(!isPosInt(this.#o)){throw new TypeError("maxSize must be a positive integer if specified")}}if(!isPosInt(this.maxEntrySize)){throw new TypeError("maxEntrySize must be a positive integer if specified")}this.#L()}this.allowStale=!!a;this.noDeleteOnStaleGet=!!y;this.updateAgeOnGet=!!o;this.updateAgeOnHas=!!u;this.ttlResolution=isPosInt(s)||s===0?s:1;this.ttlAutopurge=!!i;this.ttl=r||0;if(this.ttl){if(!isPosInt(this.ttl)){throw new TypeError("ttl must be a positive integer if specified")}this.#I()}if(this.#i===0&&this.ttl===0&&this.#o===0){throw new TypeError("At least one of max, maxSize, or ttl is required")}if(!this.ttlAutopurge&&!this.#i&&!this.#o){const e="LRU_CACHE_UNBOUNDED";if(shouldWarn(e)){n.add(e);const t="TTL caching without ttlAutopurge, max, or maxSize can "+"result in unbounded memory consumption.";emitWarning(t,"UnboundedCacheWarning",e,LRUCache)}}}getRemainingTTL(e){return this.#d.has(e)?Infinity:0}#I(){const e=new ZeroArray(this.#i);const t=new ZeroArray(this.#i);this.#v=e;this.#b=t;this.#P=(n,s,i=r.now())=>{t[n]=s!==0?i:0;e[n]=s;if(s!==0&&this.ttlAutopurge){const e=setTimeout((()=>{if(this.#B(n)){this.#T(this.#h[n],"expire")}}),s+1);if(e.unref){e.unref()}}};this.#N=n=>{t[n]=e[n]!==0?r.now():0};this.#M=(r,s)=>{if(e[s]){const i=e[s];const o=t[s];if(!i||!o)return;r.ttl=i;r.start=o;r.now=n||getNow();const u=r.now-o;r.remainingTTL=i-u}};let n=0;const getNow=()=>{const e=r.now();if(this.ttlResolution>0){n=e;const t=setTimeout((()=>n=0),this.ttlResolution);if(t.unref){t.unref()}}return e};this.getRemainingTTL=r=>{const s=this.#d.get(r);if(s===undefined){return 0}const i=e[s];const o=t[s];if(!i||!o){return Infinity}const u=(n||getNow())-o;return i-u};this.#B=r=>{const s=t[r];const i=e[r];return!!i&&!!s&&(n||getNow())-s>i}}#N=()=>{};#M=()=>{};#P=()=>{};#B=()=>false;#L(){const e=new ZeroArray(this.#i);this.#p=0;this.#w=e;this.#j=t=>{this.#p-=e[t];e[t]=0};this.#H=(e,t,r,n)=>{if(this.#x(t)){return 0}if(!isPosInt(r)){if(n){if(typeof n!=="function"){throw new TypeError("sizeCalculation must be a function")}r=n(t,e);if(!isPosInt(r)){throw new TypeError("sizeCalculation return invalid (expect positive integer)")}}else{throw new TypeError("invalid size value (must be positive integer). "+"When maxSize or maxEntrySize is used, sizeCalculation "+"or size must be set.")}}return r};this.#G=(t,r,n)=>{e[t]=r;if(this.#o){const r=this.#o-e[t];while(this.#p>r){this.#U(true)}}this.#p+=e[t];if(n){n.entrySize=r;n.totalCalculatedSize=this.#p}}}#j=e=>{};#G=(e,t,r)=>{};#H=(e,t,r,n)=>{if(r||n){throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache")}return 0};*#R({allowStale:e=this.allowStale}={}){if(this.#f){for(let t=this.#y;true;){if(!this.#W(t)){break}if(e||!this.#B(t)){yield t}if(t===this.#E){break}else{t=this.#A[t]}}}}*#$({allowStale:e=this.allowStale}={}){if(this.#f){for(let t=this.#E;true;){if(!this.#W(t)){break}if(e||!this.#B(t)){yield t}if(t===this.#y){break}else{t=this.#m[t]}}}}#W(e){return e!==undefined&&this.#d.get(this.#h[e])===e}*entries(){for(const e of this.#R()){if(this.#g[e]!==undefined&&this.#h[e]!==undefined&&!this.#x(this.#g[e])){yield[this.#h[e],this.#g[e]]}}}*rentries(){for(const e of this.#$()){if(this.#g[e]!==undefined&&this.#h[e]!==undefined&&!this.#x(this.#g[e])){yield[this.#h[e],this.#g[e]]}}}*keys(){for(const e of this.#R()){const t=this.#h[e];if(t!==undefined&&!this.#x(this.#g[e])){yield t}}}*rkeys(){for(const e of this.#$()){const t=this.#h[e];if(t!==undefined&&!this.#x(this.#g[e])){yield t}}}*values(){for(const e of this.#R()){const t=this.#g[e];if(t!==undefined&&!this.#x(this.#g[e])){yield this.#g[e]}}}*rvalues(){for(const e of this.#$()){const t=this.#g[e];if(t!==undefined&&!this.#x(this.#g[e])){yield this.#g[e]}}}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(e,t={}){for(const r of this.#R()){const n=this.#g[r];const s=this.#x(n)?n.__staleWhileFetching:n;if(s===undefined)continue;if(e(s,this.#h[r],this)){return this.get(this.#h[r],t)}}}forEach(e,t=this){for(const r of this.#R()){const n=this.#g[r];const s=this.#x(n)?n.__staleWhileFetching:n;if(s===undefined)continue;e.call(t,s,this.#h[r],this)}}rforEach(e,t=this){for(const r of this.#$()){const n=this.#g[r];const s=this.#x(n)?n.__staleWhileFetching:n;if(s===undefined)continue;e.call(t,s,this.#h[r],this)}}purgeStale(){let e=false;for(const t of this.#$({allowStale:true})){if(this.#B(t)){this.#T(this.#h[t],"expire");e=true}}return e}info(e){const t=this.#d.get(e);if(t===undefined)return undefined;const n=this.#g[t];const s=this.#x(n)?n.__staleWhileFetching:n;if(s===undefined)return undefined;const i={value:s};if(this.#v&&this.#b){const e=this.#v[t];const n=this.#b[t];if(e&&n){const t=e-(r.now()-n);i.ttl=t;i.start=Date.now()}}if(this.#w){i.size=this.#w[t]}return i}dump(){const e=[];for(const t of this.#R({allowStale:true})){const n=this.#h[t];const s=this.#g[t];const i=this.#x(s)?s.__staleWhileFetching:s;if(i===undefined||n===undefined)continue;const o={value:i};if(this.#v&&this.#b){o.ttl=this.#v[t];const e=r.now()-this.#b[t];o.start=Math.floor(Date.now()-e)}if(this.#w){o.size=this.#w[t]}e.unshift([n,o])}return e}load(e){this.clear();for(const[t,n]of e){if(n.start){const e=Date.now()-n.start;n.start=r.now()-e}this.set(t,n.value,n)}}set(e,t,r={}){if(t===undefined){this.delete(e);return this}const{ttl:n=this.ttl,start:s,noDisposeOnSet:i=this.noDisposeOnSet,sizeCalculation:o=this.sizeCalculation,status:u}=r;let{noUpdateTTL:a=this.noUpdateTTL}=r;const c=this.#H(e,t,r.size||0,o);if(this.maxEntrySize&&c>this.maxEntrySize){if(u){u.set="miss";u.maxEntrySizeExceeded=true}this.#T(e,"set");return this}let l=this.#f===0?undefined:this.#d.get(e);if(l===undefined){l=this.#f===0?this.#y:this.#D.length!==0?this.#D.pop():this.#f===this.#i?this.#U(false):this.#f;this.#h[l]=e;this.#g[l]=t;this.#d.set(e,l);this.#m[this.#y]=l;this.#A[l]=this.#y;this.#y=l;this.#f++;this.#G(l,c,u);if(u)u.set="add";a=false}else{this.#k(l);const r=this.#g[l];if(t!==r){if(this.#F&&this.#x(r)){r.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:t}=r;if(t!==undefined&&!i){if(this.#_){this.#u?.(t,e,"set")}if(this.#S){this.#C?.push([t,e,"set"])}}}else if(!i){if(this.#_){this.#u?.(r,e,"set")}if(this.#S){this.#C?.push([r,e,"set"])}}this.#j(l);this.#G(l,c,u);this.#g[l]=t;if(u){u.set="replace";const e=r&&this.#x(r)?r.__staleWhileFetching:r;if(e!==undefined)u.oldValue=e}}else if(u){u.set="update"}}if(n!==0&&!this.#v){this.#I()}if(this.#v){if(!a){this.#P(l,n,s)}if(u)this.#M(u,l)}if(!i&&this.#S&&this.#C){const e=this.#C;let t;while(t=e?.shift()){this.#a?.(...t)}}return this}pop(){try{while(this.#f){const e=this.#g[this.#E];this.#U(true);if(this.#x(e)){if(e.__staleWhileFetching){return e.__staleWhileFetching}}else if(e!==undefined){return e}}}finally{if(this.#S&&this.#C){const e=this.#C;let t;while(t=e?.shift()){this.#a?.(...t)}}}}#U(e){const t=this.#E;const r=this.#h[t];const n=this.#g[t];if(this.#F&&this.#x(n)){n.__abortController.abort(new Error("evicted"))}else if(this.#_||this.#S){if(this.#_){this.#u?.(n,r,"evict")}if(this.#S){this.#C?.push([n,r,"evict"])}}this.#j(t);if(e){this.#h[t]=undefined;this.#g[t]=undefined;this.#D.push(t)}if(this.#f===1){this.#E=this.#y=0;this.#D.length=0}else{this.#E=this.#m[t]}this.#d.delete(r);this.#f--;return t}has(e,t={}){const{updateAgeOnHas:r=this.updateAgeOnHas,status:n}=t;const s=this.#d.get(e);if(s!==undefined){const e=this.#g[s];if(this.#x(e)&&e.__staleWhileFetching===undefined){return false}if(!this.#B(s)){if(r){this.#N(s)}if(n){n.has="hit";this.#M(n,s)}return true}else if(n){n.has="stale";this.#M(n,s)}}else if(n){n.has="miss"}return false}peek(e,t={}){const{allowStale:r=this.allowStale}=t;const n=this.#d.get(e);if(n===undefined||!r&&this.#B(n)){return}const s=this.#g[n];return this.#x(s)?s.__staleWhileFetching:s}#O(e,t,r,n){const s=t===undefined?undefined:this.#g[t];if(this.#x(s)){return s}const o=new i;const{signal:u}=r;u?.addEventListener("abort",(()=>o.abort(u.reason)),{signal:o.signal});const a={signal:o.signal,options:r,context:n};const cb=(n,s=false)=>{const{aborted:i}=o.signal;const u=r.ignoreFetchAbort&&n!==undefined;if(r.status){if(i&&!s){r.status.fetchAborted=true;r.status.fetchError=o.signal.reason;if(u)r.status.fetchAbortIgnored=true}else{r.status.fetchResolved=true}}if(i&&!u&&!s){return fetchFail(o.signal.reason)}const l=c;if(this.#g[t]===c){if(n===undefined){if(l.__staleWhileFetching){this.#g[t]=l.__staleWhileFetching}else{this.#T(e,"fetch")}}else{if(r.status)r.status.fetchUpdated=true;this.set(e,n,a.options)}}return n};const eb=e=>{if(r.status){r.status.fetchRejected=true;r.status.fetchError=e}return fetchFail(e)};const fetchFail=n=>{const{aborted:s}=o.signal;const i=s&&r.allowStaleOnFetchAbort;const u=i||r.allowStaleOnFetchRejection;const a=u||r.noDeleteOnFetchRejection;const l=c;if(this.#g[t]===c){const r=!a||l.__staleWhileFetching===undefined;if(r){this.#T(e,"fetch")}else if(!i){this.#g[t]=l.__staleWhileFetching}}if(u){if(r.status&&l.__staleWhileFetching!==undefined){r.status.returnedStale=true}return l.__staleWhileFetching}else if(l.__returned===l){throw n}};const pcall=(t,n)=>{const i=this.#c?.(e,s,a);if(i&&i instanceof Promise){i.then((e=>t(e===undefined?undefined:e)),n)}o.signal.addEventListener("abort",(()=>{if(!r.ignoreFetchAbort||r.allowStaleOnFetchAbort){t(undefined);if(r.allowStaleOnFetchAbort){t=e=>cb(e,true)}}}))};if(r.status)r.status.fetchDispatched=true;const c=new Promise(pcall).then(cb,eb);const l=Object.assign(c,{__abortController:o,__staleWhileFetching:s,__returned:undefined});if(t===undefined){this.set(e,l,{...a.options,status:undefined});t=this.#d.get(e)}else{this.#g[t]=l}return l}#x(e){if(!this.#F)return false;const t=e;return!!t&&t instanceof Promise&&t.hasOwnProperty("__staleWhileFetching")&&t.__abortController instanceof i}async fetch(e,t={}){const{allowStale:r=this.allowStale,updateAgeOnGet:n=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,ttl:i=this.ttl,noDisposeOnSet:o=this.noDisposeOnSet,size:u=0,sizeCalculation:a=this.sizeCalculation,noUpdateTTL:c=this.noUpdateTTL,noDeleteOnFetchRejection:l=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:f=this.allowStaleOnFetchRejection,ignoreFetchAbort:p=this.ignoreFetchAbort,allowStaleOnFetchAbort:d=this.allowStaleOnFetchAbort,context:h,forceRefresh:g=false,status:m,signal:A}=t;if(!this.#F){if(m)m.fetch="get";return this.get(e,{allowStale:r,updateAgeOnGet:n,noDeleteOnStaleGet:s,status:m})}const E={allowStale:r,updateAgeOnGet:n,noDeleteOnStaleGet:s,ttl:i,noDisposeOnSet:o,size:u,sizeCalculation:a,noUpdateTTL:c,noDeleteOnFetchRejection:l,allowStaleOnFetchRejection:f,allowStaleOnFetchAbort:d,ignoreFetchAbort:p,status:m,signal:A};let y=this.#d.get(e);if(y===undefined){if(m)m.fetch="miss";const t=this.#O(e,y,E,h);return t.__returned=t}else{const t=this.#g[y];if(this.#x(t)){const e=r&&t.__staleWhileFetching!==undefined;if(m){m.fetch="inflight";if(e)m.returnedStale=true}return e?t.__staleWhileFetching:t.__returned=t}const s=this.#B(y);if(!g&&!s){if(m)m.fetch="hit";this.#k(y);if(n){this.#N(y)}if(m)this.#M(m,y);return t}const i=this.#O(e,y,E,h);const o=i.__staleWhileFetching!==undefined;const u=o&&r;if(m){m.fetch=s?"stale":"refresh";if(u&&s)m.returnedStale=true}return u?i.__staleWhileFetching:i.__returned=i}}async forceFetch(e,t={}){const r=await this.fetch(e,t);if(r===undefined)throw new Error("fetch() returned undefined");return r}memo(e,t={}){const r=this.#l;if(!r){throw new Error("no memoMethod provided to constructor")}const{context:n,forceRefresh:s,...i}=t;const o=this.get(e,i);if(!s&&o!==undefined)return o;const u=r(e,o,{options:i,context:n});this.set(e,u,i);return u}get(e,t={}){const{allowStale:r=this.allowStale,updateAgeOnGet:n=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,status:i}=t;const o=this.#d.get(e);if(o!==undefined){const t=this.#g[o];const u=this.#x(t);if(i)this.#M(i,o);if(this.#B(o)){if(i)i.get="stale";if(!u){if(!s){this.#T(e,"expire")}if(i&&r)i.returnedStale=true;return r?t:undefined}else{if(i&&r&&t.__staleWhileFetching!==undefined){i.returnedStale=true}return r?t.__staleWhileFetching:undefined}}else{if(i)i.get="hit";if(u){return t.__staleWhileFetching}this.#k(o);if(n){this.#N(o)}return t}}else if(i){i.get="miss"}}#z(e,t){this.#A[t]=e;this.#m[e]=t}#k(e){if(e!==this.#y){if(e===this.#E){this.#E=this.#m[e]}else{this.#z(this.#A[e],this.#m[e])}this.#z(this.#y,e);this.#y=e}}delete(e){return this.#T(e,"delete")}#T(e,t){let r=false;if(this.#f!==0){const n=this.#d.get(e);if(n!==undefined){r=true;if(this.#f===1){this.#q(t)}else{this.#j(n);const r=this.#g[n];if(this.#x(r)){r.__abortController.abort(new Error("deleted"))}else if(this.#_||this.#S){if(this.#_){this.#u?.(r,e,t)}if(this.#S){this.#C?.push([r,e,t])}}this.#d.delete(e);this.#h[n]=undefined;this.#g[n]=undefined;if(n===this.#y){this.#y=this.#A[n]}else if(n===this.#E){this.#E=this.#m[n]}else{const e=this.#A[n];this.#m[e]=this.#m[n];const t=this.#m[n];this.#A[t]=this.#A[n]}this.#f--;this.#D.push(n)}}}if(this.#S&&this.#C?.length){const e=this.#C;let t;while(t=e?.shift()){this.#a?.(...t)}}return r}clear(){return this.#q("delete")}#q(e){for(const t of this.#$({allowStale:true})){const r=this.#g[t];if(this.#x(r)){r.__abortController.abort(new Error("deleted"))}else{const n=this.#h[t];if(this.#_){this.#u?.(r,n,e)}if(this.#S){this.#C?.push([r,n,e])}}}this.#d.clear();this.#g.fill(undefined);this.#h.fill(undefined);if(this.#v&&this.#b){this.#v.fill(0);this.#b.fill(0)}if(this.#w){this.#w.fill(0)}this.#E=0;this.#y=0;this.#D.length=0;this.#p=0;this.#f=0;if(this.#S&&this.#C){const e=this.#C;let t;while(t=e?.shift()){this.#a?.(...t)}}}}t.LRUCache=LRUCache},8330:e=>{"use strict";e.exports=JSON.parse('{"name":"create-expo","version":"5.1.7","description":"Create universal Expo apps","keywords":["expo","react","react-native"],"homepage":"https://docs.expo.dev","license":"BSD-3-Clause","author":"Evan Bacon <bacon@expo.io> (https://github.com/evanbacon)","repository":{"type":"git","url":"https://github.com/expo/expo.git","directory":"packages/create-expo"},"bin":"./bin/create-expo.js","files":["bin","build","template"],"main":"build/index.js","exports":{".":"./build/index.js","./package.json":"./package.json"},"scripts":{"prebuild":"expo-module clean","build":"ncc build ./src/index.ts -o build/","prebuild:prod":"expo-module clean","build:prod":"ncc build ./src/index.ts -o build/ --minify --no-cache --no-source-map-register","clean":"expo-module clean","lint":"oxlint --config oxlint.config.mjs .","format":"expo-module format","depscheck":"expo-module depscheck","typecheck":"tsc -p tsconfig.json","test":"jest","test:e2e":"jest --config e2e/jest.config.js --runInBand","sync-agent-templates":"node scripts/sync-agent-templates.js","prepublishOnly":"pnpm run sync-agent-templates && pnpm run clean && pnpm run build:prod"},"devDependencies":{"@expo/config":"workspace:*","@expo/internal-scripts":"workspace:*","@expo/json-file":"workspace:*","@expo/package-manager":"workspace:*","@expo/spawn-async":"^1.8.0","@octokit/types":"^13.5.0","@types/debug":"^4.1.7","@types/getenv":"^1.0.3","@types/node":"^22.14.0","@types/picomatch":"^2.3.3","@types/prompts":"2.0.14","@vercel/ncc":"^0.38.4","arg":"^5.0.2","chalk":"^4.0.0","debug":"^4.3.4","getenv":"^2.0.0","memfs":"^3.6.0","multitars":"^1.0.2","nock":"^14.0.10","ora":"3.4.0","picomatch":"^2.3.2","prompts":"^2.4.2","resolve-workspace-root":"^2.0.0","slugify":"^1.6.6","tinyglobby":"^0.2.15","update-check":"^1.5.4"},"engines":{"node":"^22.13.0 || ^24.3.0 || ^26.0.0 || >=27.0.0"}}')}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var s=t[r]={id:r,loaded:false,exports:{}};var i=true;try{e[r].call(s.exports,s,s.exports,__nccwpck_require__);i=false}finally{if(i)delete t[r]}s.loaded=true;return s.exports}__nccwpck_require__.m=e;(()=>{__nccwpck_require__.n=e=>{var t=e&&e.__esModule?()=>e["default"]:()=>e;__nccwpck_require__.d(t,{a:t});return t}})();(()=>{var e=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;var t;__nccwpck_require__.t=function(r,n){if(n&1)r=this(r);if(n&8)return r;if(typeof r==="object"&&r){if(n&4&&r.__esModule)return r;if(n&16&&typeof r.then==="function")return r}var s=Object.create(null);__nccwpck_require__.r(s);var i={};t=t||[null,e({}),e([]),e(e)];for(var o=n&2&&r;typeof o=="object"&&!~t.indexOf(o);o=e(o)){Object.getOwnPropertyNames(o).forEach((e=>i[e]=()=>r[e]))}i["default"]=()=>r;__nccwpck_require__.d(s,i);return s}})();(()=>{__nccwpck_require__.d=(e,t)=>{for(var r in t){if(__nccwpck_require__.o(t,r)&&!__nccwpck_require__.o(e,r)){Object.defineProperty(e,r,{enumerable:true,get:t[r]})}}}})();(()=>{__nccwpck_require__.f={};__nccwpck_require__.e=e=>Promise.all(Object.keys(__nccwpck_require__.f).reduce(((t,r)=>{__nccwpck_require__.f[r](e,t);return t}),[]))})();(()=>{__nccwpck_require__.u=e=>""+e+".index.js"})();(()=>{__nccwpck_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})();(()=>{__nccwpck_require__.r=e=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(e,"__esModule",{value:true})}})();(()=>{__nccwpck_require__.nmd=e=>{e.paths=[];if(!e.children)e.children=[];return e}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";(()=>{var e={792:1};var installChunk=t=>{var r=t.modules,n=t.ids,s=t.runtime;for(var i in r){if(__nccwpck_require__.o(r,i)){__nccwpck_require__.m[i]=r[i]}}if(s)s(__nccwpck_require__);for(var o=0;o<n.length;o++)e[n[o]]=1};__nccwpck_require__.f.require=(t,r)=>{if(!e[t]){if(true){installChunk(require("./"+__nccwpck_require__.u(t)))}else e[t]=1}}})();var r={};(()=>{"use strict";__nccwpck_require__.r(r);var e=__nccwpck_require__(6675);var t=__nccwpck_require__.n(e);var n=__nccwpck_require__(277);var s=__nccwpck_require__.n(n);var i=__nccwpck_require__(7517);process.title=i.PACKAGE_NAME;if((0,n.boolish)("EXPO_DEBUG",false)){t().enable("expo:init:*")}else if(t().enabled("expo:init:")){process.env.EXPO_DEBUG="1"}__nccwpck_require__(4456)})();module.exports=r})();
77
+ `)}const{AnalyticsEventPhases:a,AnalyticsEventTypes:c,flushAsync:p,track:d}=await r.e(601).then(r.bind(r,601));try{const s=await resolveStringOrBooleanArgsAsync(e,t,{"--template":Boolean,"--example":Boolean,"-t":"--template","-e":"--example"});f(`Default args:\n%O`,n);f(`Parsed:\n%O`,s);const{createAsync:i}=await Promise.all([r.e(393),r.e(536)]).then(r.bind(r,2536));await i(s.projectRoot,{yes:!!n["--yes"],template:s.args["--template"],example:s.args["--example"],install:!n["--no-install"],agentsMd:!n["--no-agents-md"],swiftpm:!!n["--swiftpm"]});d({event:c.CREATE_EXPO_APP,properties:{phase:a.SUCCESS}});await p()}catch(e){if(!(e instanceof i.R)){o.tG.exception(e)}d({event:c.CREATE_EXPO_APP,properties:{phase:a.FAIL,message:e.cause}});await p().finally((()=>{process.exit(e.code||1)}))}finally{const e=await(await Promise.resolve().then(r.bind(r,7517))).default;await e()}}run()},6725:(e,t,r)=>{"use strict";r.d(t,{R:()=>ExitError,u:()=>SwiftPMUnsupportedError});class ExitError extends Error{cause;code;constructor(e,t){super(e instanceof Error?e.message:e);this.cause=e;this.code=t}}class SwiftPMUnsupportedError extends ExitError{constructor(e,t,r){super(`Could not create the project with --swiftpm because the ${e} uses React Native ${t}. `+"Swift Package Manager for iOS requires React Native 0.88 or later. "+`Delete the ${r} directory, then choose ${e==="template"?"a template":"an example"} for a newer Expo SDK, or run the command again without --swiftpm to use CocoaPods.`,1)}}},1545:(e,t,r)=>{"use strict";r.d(t,{NS:()=>exit,tG:()=>o});var n=r(2314);var s=r.n(n);var i=r(6725);function error(...e){console.error(...e)}function exception(e){const{env:t}=r(4342);error(s().red(e.toString())+(t.EXPO_DEBUG?"\n"+s().gray(e.stack):""))}function log(...e){console.log(...e)}function exit(e,t=1){if(e instanceof Error){exception(e)}else if(e){if(t===0){log(e)}else{error(e)}}if(t!==0){throw new i.R(e,t)}process.exit(t)}const o={error:error,exception:exception,log:log,exit:exit}},9560:(e,t,r)=>{"use strict";r.d(t,{DC:()=>installDependenciesAsync,MZ:()=>configurePackageManager,Wq:()=>formatRunCommand,_c:()=>resolvePackageManager,fZ:()=>formatSelfCommand});var n=r(6268);var s=r.n(n);var i=r(5317);var o=r.n(i);var u=r(7517);const a=r(6675)("expo:init:resolvePackageManager");function resolvePackageManager(){const e=process.env.npm_config_user_agent;a("npm_config_user_agent:",e);if(e?.startsWith("yarn")){return"yarn"}else if(e?.startsWith("pnpm")){return"pnpm"}else if(e?.startsWith("bun")){return"bun"}else if(e?.startsWith("nub")){return"nub"}else if(e?.startsWith("npm")){return"npm"}if(isPackageManagerAvailable("yarn")){return"yarn"}else if(isPackageManagerAvailable("pnpm")){return"pnpm"}else if(isPackageManagerAvailable("bun")){return"bun"}else if(isPackageManagerAvailable("nub")){return"nub"}return"npm"}function isPackageManagerAvailable(e){try{(0,i.execSync)(`${e} --version`,{stdio:"ignore"});return true}catch{}return false}function formatRunCommand(e,t){switch(e){case"pnpm":return`pnpm run ${t}`;case"yarn":return`yarn ${t}`;case"bun":return`bun run ${t}`;case"nub":return`nub run ${t}`;case"npm":default:return`npm run ${t}`}}function formatSelfCommand(){const e=resolvePackageManager();switch(e){case"pnpm":return`pnpx ${u.PACKAGE_NAME}`;case"bun":return`bunx ${u.PACKAGE_NAME}`;case"nub":return`nubx ${u.PACKAGE_NAME}`;case"yarn":case"npm":default:return`npx ${u.PACKAGE_NAME}`}}function createPackageManager(e,t){switch(e){case"yarn":return new n.YarnPackageManager(t);case"pnpm":return new n.PnpmPackageManager(t);case"bun":return new n.BunPackageManager(t);case"nub":return new n.NubPackageManager(t);case"npm":default:return new n.NpmPackageManager(t)}}async function installDependenciesAsync(e,t,r={silent:false}){await createPackageManager(t,{cwd:e,silent:r.silent}).installAsync()}async function configurePackageManager(e,t,r={silent:false}){const n=createPackageManager(t,{cwd:e,...r});switch(n.name){case"yarn":{const e=await n.versionAsync();const t=parseInt(e.split(".")[0]??"",10);if(t>=2){await n.runAsync(["config","set","nodeLinker","node-modules"])}break}}}},4342:(e,t,r)=>{"use strict";r.r(t);r.d(t,{env:()=>i});var n=r(2591);var s=r.n(n);class Env{get EXPO_DEBUG(){return(0,n.boolish)("EXPO_DEBUG",false)}get EXPO_BETA(){return(0,n.boolish)("EXPO_BETA",false)}get CI(){return(0,n.boolish)("CI",false)}get EXPO_NO_CACHE(){return(0,n.boolish)("EXPO_NO_CACHE",false)}get EXPO_NO_TELEMETRY(){return(0,n.boolish)("EXPO_NO_TELEMETRY",false)}}const i=new Env},7517:(e,t,r)=>{"use strict";r.r(t);r.d(t,{PACKAGE_NAME:()=>u,default:()=>shouldUpdate});var n=r(2314);var s=r.n(n);var i=r(5059);var o=r.n(i);const u="create-expo";const getPackageJson=()=>{try{return r(8330)}catch{return null}};const a=r(6675)("expo:init:update-check");async function shouldUpdate(){try{const e=getPackageJson();const t=await o()(e);if(t?.latest){console.log();console.log(s().yellow.bold(`A new version of \`${e?.name??u}\` is available`));console.log(s()`You can update by running: {cyan npm install -g ${e?.name??u}}`);console.log()}}catch(e){a("Error checking for update:\n%O",e)}}},2591:module=>{module.exports=eval("require")("@expo/env")},2613:e=>{"use strict";e.exports=require("assert")},181:e=>{"use strict";e.exports=require("buffer")},5317:e=>{"use strict";e.exports=require("child_process")},6982:e=>{"use strict";e.exports=require("crypto")},2250:e=>{"use strict";e.exports=require("dns")},4434:e=>{"use strict";e.exports=require("events")},9896:e=>{"use strict";e.exports=require("fs")},8611:e=>{"use strict";e.exports=require("http")},5692:e=>{"use strict";e.exports=require("https")},3339:e=>{"use strict";e.exports=require("module")},5217:e=>{"use strict";e.exports=require("node:crypto")},3024:e=>{"use strict";e.exports=require("node:fs")},6760:e=>{"use strict";e.exports=require("node:path")},1708:e=>{"use strict";e.exports=require("node:process")},7075:e=>{"use strict";e.exports=require("node:stream")},857:e=>{"use strict";e.exports=require("os")},6928:e=>{"use strict";e.exports=require("path")},932:e=>{"use strict";e.exports=require("process")},3785:e=>{"use strict";e.exports=require("readline")},2203:e=>{"use strict";e.exports=require("stream")},2018:e=>{"use strict";e.exports=require("tty")},7016:e=>{"use strict";e.exports=require("url")},9023:e=>{"use strict";e.exports=require("util")},8247:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(6831);var s=r(7815);var i=r(9885);function isColorSupported(){return typeof process==="object"&&(process.env.FORCE_COLOR==="0"||process.env.FORCE_COLOR==="false")?false:n.isColorSupported}const compose=(e,t)=>r=>e(t(r));function buildDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.gray,invalid:compose(compose(e.white,e.bgRed),e.bold),gutter:e.gray,marker:compose(e.red,e.bold),message:compose(e.red,e.bold),reset:e.reset}}const o=buildDefs(n.createColors(true));const u=buildDefs(n.createColors(false));function getDefs(e){return e?o:u}const a=new Set(["as","async","from","get","of","set"]);const c=/\r\n|[\n\r\u2028\u2029]/;const l=/^[()[\]{}]$/;let f;const p=/^[a-z][\w-]*$/i;const getTokenType=function(e,t,r){if(e.type==="name"){const n=e.value;if(i.isKeyword(n)||i.isStrictReservedWord(n,true)||a.has(n)){return"keyword"}if(p.test(n)&&(r[t-1]==="<"||r.slice(t-2,t)==="</")){return"jsxIdentifier"}const s=String.fromCodePoint(n.codePointAt(0));if(s!==s.toLowerCase()){return"capitalized"}}if(e.type==="punctuator"&&l.test(e.value)){return"bracket"}if(e.type==="invalid"&&(e.value==="@"||e.value==="#")){return"punctuator"}return e.type};f=function*(e){let t;while(t=s.default.exec(e)){const r=s.matchToToken(t);yield{type:getTokenType(r,t.index,e),value:r.value}}};function highlight(e){if(e==="")return"";const t=getDefs(true);let r="";for(const{type:n,value:s}of f(e)){if(n in t){r+=s.split(c).map((e=>t[n](e))).join("\n")}else{r+=s}}return r}let d=false;const h=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r,n){const s=Object.assign({column:0,line:-1},e.start);const i=Object.assign({},s,e.end);const{linesAbove:o=2,linesBelow:u=3}=r||{};const a=s.line-n;const c=s.column;const l=i.line-n;const f=i.column;let p=Math.max(a-(o+1),0);let d=Math.min(t.length,l+u);if(a===-1){p=0}if(l===-1){d=t.length}const h=l-a;const g={};if(h){for(let e=0;e<=h;e++){const r=e+a;if(!c){g[r]=true}else if(e===0){const e=t[r-1].length;g[r]=[c,e-c+1]}else if(e===h){g[r]=[0,f]}else{const n=t[r-e].length;g[r]=[0,n]}}}else{if(c===f){if(c){g[a]=[c,0]}else{g[a]=true}}else{g[a]=[c,f-c]}}return{start:p,end:d,markerLines:g}}function codeFrameColumns(e,t,r={}){const n=r.forceColor||isColorSupported()&&r.highlightCode;const s=(r.startLine||1)-1;const i=getDefs(n);const o=e.split(h);const{start:u,end:a,markerLines:c}=getMarkerLines(t,o,r,s);const l=t.start&&typeof t.start.column==="number";const f=String(a+s).length;const p=n?highlight(e):e;let d=p.split(h,a).slice(u,a).map(((e,t)=>{const n=u+1+t;const o=` ${n+s}`.slice(-f);const a=` ${o} |`;const l=c[n];const p=!c[n+1];if(l){let t="";if(Array.isArray(l)){const n=e.slice(0,Math.max(l[0]-1,0)).replace(/[^\t]/g," ");const s=l[1]||1;t=["\n ",i.gutter(a.replace(/\d/g," "))," ",n,i.marker("^").repeat(s)].join("");if(p&&r.message){t+=" "+i.message(r.message)}}return[i.marker(">"),i.gutter(a),e.length>0?` ${e}`:"",t].join("")}else{return` ${i.gutter(a)}${e.length>0?` ${e}`:""}`}})).join("\n");if(r.message&&!l){d=`${" ".repeat(f+1)}${r.message}\n${d}`}if(n){return i.reset(d)}else{return d}}function index(e,t,r,n={}){if(!d){d=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const s={start:{column:r,line:t}};return codeFrameColumns(e,s,n)}t.codeFrameColumns=codeFrameColumns;t["default"]=index;t.highlight=highlight},5942:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;t.isIdentifierStart=isIdentifierStart;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-࢏ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚ౜ౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ೜-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ƛ꟱-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-᫝᫠-᫫ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const o=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,7,25,39,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,5,57,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,24,43,261,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,33,24,3,24,45,74,6,0,67,12,65,1,2,0,15,4,10,7381,42,31,98,114,8702,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,208,30,2,2,2,1,2,6,3,4,10,1,225,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4381,3,5773,3,7472,16,621,2467,541,1507,4938,6,8489];const u=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,78,5,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,199,7,137,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,55,9,266,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,233,0,3,0,8,1,6,0,475,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;n<s;n+=2){r+=t[n];if(r>e)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,o)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,o)||isInAstralSet(e,u)}function isIdentifierName(e){let t=true;for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if((n&64512)===55296&&r+1<e.length){const t=e.charCodeAt(++r);if((t&64512)===56320){n=65536+((n&1023)<<10)+(t&1023)}}if(t){t=false;if(!isIdentifierStart(n)){return false}}else if(!isIdentifierChar(n)){return false}}return!t}},9885:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});var n=r(5942);var s=r(1006)},1006:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isKeyword=isKeyword;t.isReservedWord=isReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isStrictReservedWord=isStrictReservedWord;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},5934:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.LRUCache=void 0;const r=typeof performance==="object"&&performance&&typeof performance.now==="function"?performance:Date;const n=new Set;const s=typeof process==="object"&&!!process?process:{};const emitWarning=(e,t,r,n)=>{typeof s.emitWarning==="function"?s.emitWarning(e,t,r,n):console.error(`[${r}] ${t}: ${e}`)};let i=globalThis.AbortController;let o=globalThis.AbortSignal;if(typeof i==="undefined"){o=class AbortSignal{onabort;_onabort=[];reason;aborted=false;addEventListener(e,t){this._onabort.push(t)}};i=class AbortController{constructor(){warnACPolyfill()}signal=new o;abort(e){if(this.signal.aborted)return;this.signal.reason=e;this.signal.aborted=true;for(const t of this.signal._onabort){t(e)}this.signal.onabort?.(e)}};let e=s.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1";const warnACPolyfill=()=>{if(!e)return;e=false;emitWarning("AbortController is not defined. If using lru-cache in "+"node 14, load an AbortController polyfill from the "+"`node-abort-controller` package. A minimal polyfill is "+"provided for use by LRUCache.fetch(), but it should not be "+"relied upon in other contexts (eg, passing it to other APIs that "+"use AbortController/AbortSignal might have undesirable effects). "+"You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",warnACPolyfill)}}const shouldWarn=e=>!n.has(e);const u=Symbol("type");const isPosInt=e=>e&&e===Math.floor(e)&&e>0&&isFinite(e);const getUintArray=e=>!isPosInt(e)?null:e<=Math.pow(2,8)?Uint8Array:e<=Math.pow(2,16)?Uint16Array:e<=Math.pow(2,32)?Uint32Array:e<=Number.MAX_SAFE_INTEGER?ZeroArray:null;class ZeroArray extends Array{constructor(e){super(e);this.fill(0)}}class Stack{heap;length;static#s=false;static create(e){const t=getUintArray(e);if(!t)return[];Stack.#s=true;const r=new Stack(e,t);Stack.#s=false;return r}constructor(e,t){if(!Stack.#s){throw new TypeError("instantiate Stack using Stack.create(n)")}this.heap=new t(e);this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}}class LRUCache{#i;#o;#u;#a;#c;#l;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#f;#p;#d;#h;#g;#m;#A;#E;#y;#D;#C;#w;#b;#v;#_;#F;#S;static unsafeExposeInternals(e){return{starts:e.#b,ttls:e.#v,sizes:e.#w,keyMap:e.#d,keyList:e.#h,valList:e.#g,next:e.#m,prev:e.#A,get head(){return e.#E},get tail(){return e.#y},free:e.#D,isBackgroundFetch:t=>e.#x(t),backgroundFetch:(t,r,n,s)=>e.#O(t,r,n,s),moveToTail:t=>e.#k(t),indexes:t=>e.#R(t),rindexes:t=>e.#$(t),isStale:t=>e.#B(t)}}get max(){return this.#i}get maxSize(){return this.#o}get calculatedSize(){return this.#p}get size(){return this.#f}get fetchMethod(){return this.#c}get memoMethod(){return this.#l}get dispose(){return this.#u}get disposeAfter(){return this.#a}constructor(e){const{max:t=0,ttl:r,ttlResolution:s=1,ttlAutopurge:i,updateAgeOnGet:o,updateAgeOnHas:u,allowStale:a,dispose:c,disposeAfter:l,noDisposeOnSet:f,noUpdateTTL:p,maxSize:d=0,maxEntrySize:h=0,sizeCalculation:g,fetchMethod:m,memoMethod:A,noDeleteOnFetchRejection:E,noDeleteOnStaleGet:y,allowStaleOnFetchRejection:D,allowStaleOnFetchAbort:C,ignoreFetchAbort:w}=e;if(t!==0&&!isPosInt(t)){throw new TypeError("max option must be a nonnegative integer")}const b=t?getUintArray(t):Array;if(!b){throw new Error("invalid max value: "+t)}this.#i=t;this.#o=d;this.maxEntrySize=h||this.#o;this.sizeCalculation=g;if(this.sizeCalculation){if(!this.#o&&!this.maxEntrySize){throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize")}if(typeof this.sizeCalculation!=="function"){throw new TypeError("sizeCalculation set to non-function")}}if(A!==undefined&&typeof A!=="function"){throw new TypeError("memoMethod must be a function if defined")}this.#l=A;if(m!==undefined&&typeof m!=="function"){throw new TypeError("fetchMethod must be a function if specified")}this.#c=m;this.#F=!!m;this.#d=new Map;this.#h=new Array(t).fill(undefined);this.#g=new Array(t).fill(undefined);this.#m=new b(t);this.#A=new b(t);this.#E=0;this.#y=0;this.#D=Stack.create(t);this.#f=0;this.#p=0;if(typeof c==="function"){this.#u=c}if(typeof l==="function"){this.#a=l;this.#C=[]}else{this.#a=undefined;this.#C=undefined}this.#_=!!this.#u;this.#S=!!this.#a;this.noDisposeOnSet=!!f;this.noUpdateTTL=!!p;this.noDeleteOnFetchRejection=!!E;this.allowStaleOnFetchRejection=!!D;this.allowStaleOnFetchAbort=!!C;this.ignoreFetchAbort=!!w;if(this.maxEntrySize!==0){if(this.#o!==0){if(!isPosInt(this.#o)){throw new TypeError("maxSize must be a positive integer if specified")}}if(!isPosInt(this.maxEntrySize)){throw new TypeError("maxEntrySize must be a positive integer if specified")}this.#L()}this.allowStale=!!a;this.noDeleteOnStaleGet=!!y;this.updateAgeOnGet=!!o;this.updateAgeOnHas=!!u;this.ttlResolution=isPosInt(s)||s===0?s:1;this.ttlAutopurge=!!i;this.ttl=r||0;if(this.ttl){if(!isPosInt(this.ttl)){throw new TypeError("ttl must be a positive integer if specified")}this.#I()}if(this.#i===0&&this.ttl===0&&this.#o===0){throw new TypeError("At least one of max, maxSize, or ttl is required")}if(!this.ttlAutopurge&&!this.#i&&!this.#o){const e="LRU_CACHE_UNBOUNDED";if(shouldWarn(e)){n.add(e);const t="TTL caching without ttlAutopurge, max, or maxSize can "+"result in unbounded memory consumption.";emitWarning(t,"UnboundedCacheWarning",e,LRUCache)}}}getRemainingTTL(e){return this.#d.has(e)?Infinity:0}#I(){const e=new ZeroArray(this.#i);const t=new ZeroArray(this.#i);this.#v=e;this.#b=t;this.#P=(n,s,i=r.now())=>{t[n]=s!==0?i:0;e[n]=s;if(s!==0&&this.ttlAutopurge){const e=setTimeout((()=>{if(this.#B(n)){this.#T(this.#h[n],"expire")}}),s+1);if(e.unref){e.unref()}}};this.#N=n=>{t[n]=e[n]!==0?r.now():0};this.#M=(r,s)=>{if(e[s]){const i=e[s];const o=t[s];if(!i||!o)return;r.ttl=i;r.start=o;r.now=n||getNow();const u=r.now-o;r.remainingTTL=i-u}};let n=0;const getNow=()=>{const e=r.now();if(this.ttlResolution>0){n=e;const t=setTimeout((()=>n=0),this.ttlResolution);if(t.unref){t.unref()}}return e};this.getRemainingTTL=r=>{const s=this.#d.get(r);if(s===undefined){return 0}const i=e[s];const o=t[s];if(!i||!o){return Infinity}const u=(n||getNow())-o;return i-u};this.#B=r=>{const s=t[r];const i=e[r];return!!i&&!!s&&(n||getNow())-s>i}}#N=()=>{};#M=()=>{};#P=()=>{};#B=()=>false;#L(){const e=new ZeroArray(this.#i);this.#p=0;this.#w=e;this.#j=t=>{this.#p-=e[t];e[t]=0};this.#H=(e,t,r,n)=>{if(this.#x(t)){return 0}if(!isPosInt(r)){if(n){if(typeof n!=="function"){throw new TypeError("sizeCalculation must be a function")}r=n(t,e);if(!isPosInt(r)){throw new TypeError("sizeCalculation return invalid (expect positive integer)")}}else{throw new TypeError("invalid size value (must be positive integer). "+"When maxSize or maxEntrySize is used, sizeCalculation "+"or size must be set.")}}return r};this.#G=(t,r,n)=>{e[t]=r;if(this.#o){const r=this.#o-e[t];while(this.#p>r){this.#U(true)}}this.#p+=e[t];if(n){n.entrySize=r;n.totalCalculatedSize=this.#p}}}#j=e=>{};#G=(e,t,r)=>{};#H=(e,t,r,n)=>{if(r||n){throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache")}return 0};*#R({allowStale:e=this.allowStale}={}){if(this.#f){for(let t=this.#y;true;){if(!this.#W(t)){break}if(e||!this.#B(t)){yield t}if(t===this.#E){break}else{t=this.#A[t]}}}}*#$({allowStale:e=this.allowStale}={}){if(this.#f){for(let t=this.#E;true;){if(!this.#W(t)){break}if(e||!this.#B(t)){yield t}if(t===this.#y){break}else{t=this.#m[t]}}}}#W(e){return e!==undefined&&this.#d.get(this.#h[e])===e}*entries(){for(const e of this.#R()){if(this.#g[e]!==undefined&&this.#h[e]!==undefined&&!this.#x(this.#g[e])){yield[this.#h[e],this.#g[e]]}}}*rentries(){for(const e of this.#$()){if(this.#g[e]!==undefined&&this.#h[e]!==undefined&&!this.#x(this.#g[e])){yield[this.#h[e],this.#g[e]]}}}*keys(){for(const e of this.#R()){const t=this.#h[e];if(t!==undefined&&!this.#x(this.#g[e])){yield t}}}*rkeys(){for(const e of this.#$()){const t=this.#h[e];if(t!==undefined&&!this.#x(this.#g[e])){yield t}}}*values(){for(const e of this.#R()){const t=this.#g[e];if(t!==undefined&&!this.#x(this.#g[e])){yield this.#g[e]}}}*rvalues(){for(const e of this.#$()){const t=this.#g[e];if(t!==undefined&&!this.#x(this.#g[e])){yield this.#g[e]}}}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(e,t={}){for(const r of this.#R()){const n=this.#g[r];const s=this.#x(n)?n.__staleWhileFetching:n;if(s===undefined)continue;if(e(s,this.#h[r],this)){return this.get(this.#h[r],t)}}}forEach(e,t=this){for(const r of this.#R()){const n=this.#g[r];const s=this.#x(n)?n.__staleWhileFetching:n;if(s===undefined)continue;e.call(t,s,this.#h[r],this)}}rforEach(e,t=this){for(const r of this.#$()){const n=this.#g[r];const s=this.#x(n)?n.__staleWhileFetching:n;if(s===undefined)continue;e.call(t,s,this.#h[r],this)}}purgeStale(){let e=false;for(const t of this.#$({allowStale:true})){if(this.#B(t)){this.#T(this.#h[t],"expire");e=true}}return e}info(e){const t=this.#d.get(e);if(t===undefined)return undefined;const n=this.#g[t];const s=this.#x(n)?n.__staleWhileFetching:n;if(s===undefined)return undefined;const i={value:s};if(this.#v&&this.#b){const e=this.#v[t];const n=this.#b[t];if(e&&n){const t=e-(r.now()-n);i.ttl=t;i.start=Date.now()}}if(this.#w){i.size=this.#w[t]}return i}dump(){const e=[];for(const t of this.#R({allowStale:true})){const n=this.#h[t];const s=this.#g[t];const i=this.#x(s)?s.__staleWhileFetching:s;if(i===undefined||n===undefined)continue;const o={value:i};if(this.#v&&this.#b){o.ttl=this.#v[t];const e=r.now()-this.#b[t];o.start=Math.floor(Date.now()-e)}if(this.#w){o.size=this.#w[t]}e.unshift([n,o])}return e}load(e){this.clear();for(const[t,n]of e){if(n.start){const e=Date.now()-n.start;n.start=r.now()-e}this.set(t,n.value,n)}}set(e,t,r={}){if(t===undefined){this.delete(e);return this}const{ttl:n=this.ttl,start:s,noDisposeOnSet:i=this.noDisposeOnSet,sizeCalculation:o=this.sizeCalculation,status:u}=r;let{noUpdateTTL:a=this.noUpdateTTL}=r;const c=this.#H(e,t,r.size||0,o);if(this.maxEntrySize&&c>this.maxEntrySize){if(u){u.set="miss";u.maxEntrySizeExceeded=true}this.#T(e,"set");return this}let l=this.#f===0?undefined:this.#d.get(e);if(l===undefined){l=this.#f===0?this.#y:this.#D.length!==0?this.#D.pop():this.#f===this.#i?this.#U(false):this.#f;this.#h[l]=e;this.#g[l]=t;this.#d.set(e,l);this.#m[this.#y]=l;this.#A[l]=this.#y;this.#y=l;this.#f++;this.#G(l,c,u);if(u)u.set="add";a=false}else{this.#k(l);const r=this.#g[l];if(t!==r){if(this.#F&&this.#x(r)){r.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:t}=r;if(t!==undefined&&!i){if(this.#_){this.#u?.(t,e,"set")}if(this.#S){this.#C?.push([t,e,"set"])}}}else if(!i){if(this.#_){this.#u?.(r,e,"set")}if(this.#S){this.#C?.push([r,e,"set"])}}this.#j(l);this.#G(l,c,u);this.#g[l]=t;if(u){u.set="replace";const e=r&&this.#x(r)?r.__staleWhileFetching:r;if(e!==undefined)u.oldValue=e}}else if(u){u.set="update"}}if(n!==0&&!this.#v){this.#I()}if(this.#v){if(!a){this.#P(l,n,s)}if(u)this.#M(u,l)}if(!i&&this.#S&&this.#C){const e=this.#C;let t;while(t=e?.shift()){this.#a?.(...t)}}return this}pop(){try{while(this.#f){const e=this.#g[this.#E];this.#U(true);if(this.#x(e)){if(e.__staleWhileFetching){return e.__staleWhileFetching}}else if(e!==undefined){return e}}}finally{if(this.#S&&this.#C){const e=this.#C;let t;while(t=e?.shift()){this.#a?.(...t)}}}}#U(e){const t=this.#E;const r=this.#h[t];const n=this.#g[t];if(this.#F&&this.#x(n)){n.__abortController.abort(new Error("evicted"))}else if(this.#_||this.#S){if(this.#_){this.#u?.(n,r,"evict")}if(this.#S){this.#C?.push([n,r,"evict"])}}this.#j(t);if(e){this.#h[t]=undefined;this.#g[t]=undefined;this.#D.push(t)}if(this.#f===1){this.#E=this.#y=0;this.#D.length=0}else{this.#E=this.#m[t]}this.#d.delete(r);this.#f--;return t}has(e,t={}){const{updateAgeOnHas:r=this.updateAgeOnHas,status:n}=t;const s=this.#d.get(e);if(s!==undefined){const e=this.#g[s];if(this.#x(e)&&e.__staleWhileFetching===undefined){return false}if(!this.#B(s)){if(r){this.#N(s)}if(n){n.has="hit";this.#M(n,s)}return true}else if(n){n.has="stale";this.#M(n,s)}}else if(n){n.has="miss"}return false}peek(e,t={}){const{allowStale:r=this.allowStale}=t;const n=this.#d.get(e);if(n===undefined||!r&&this.#B(n)){return}const s=this.#g[n];return this.#x(s)?s.__staleWhileFetching:s}#O(e,t,r,n){const s=t===undefined?undefined:this.#g[t];if(this.#x(s)){return s}const o=new i;const{signal:u}=r;u?.addEventListener("abort",(()=>o.abort(u.reason)),{signal:o.signal});const a={signal:o.signal,options:r,context:n};const cb=(n,s=false)=>{const{aborted:i}=o.signal;const u=r.ignoreFetchAbort&&n!==undefined;if(r.status){if(i&&!s){r.status.fetchAborted=true;r.status.fetchError=o.signal.reason;if(u)r.status.fetchAbortIgnored=true}else{r.status.fetchResolved=true}}if(i&&!u&&!s){return fetchFail(o.signal.reason)}const l=c;if(this.#g[t]===c){if(n===undefined){if(l.__staleWhileFetching){this.#g[t]=l.__staleWhileFetching}else{this.#T(e,"fetch")}}else{if(r.status)r.status.fetchUpdated=true;this.set(e,n,a.options)}}return n};const eb=e=>{if(r.status){r.status.fetchRejected=true;r.status.fetchError=e}return fetchFail(e)};const fetchFail=n=>{const{aborted:s}=o.signal;const i=s&&r.allowStaleOnFetchAbort;const u=i||r.allowStaleOnFetchRejection;const a=u||r.noDeleteOnFetchRejection;const l=c;if(this.#g[t]===c){const r=!a||l.__staleWhileFetching===undefined;if(r){this.#T(e,"fetch")}else if(!i){this.#g[t]=l.__staleWhileFetching}}if(u){if(r.status&&l.__staleWhileFetching!==undefined){r.status.returnedStale=true}return l.__staleWhileFetching}else if(l.__returned===l){throw n}};const pcall=(t,n)=>{const i=this.#c?.(e,s,a);if(i&&i instanceof Promise){i.then((e=>t(e===undefined?undefined:e)),n)}o.signal.addEventListener("abort",(()=>{if(!r.ignoreFetchAbort||r.allowStaleOnFetchAbort){t(undefined);if(r.allowStaleOnFetchAbort){t=e=>cb(e,true)}}}))};if(r.status)r.status.fetchDispatched=true;const c=new Promise(pcall).then(cb,eb);const l=Object.assign(c,{__abortController:o,__staleWhileFetching:s,__returned:undefined});if(t===undefined){this.set(e,l,{...a.options,status:undefined});t=this.#d.get(e)}else{this.#g[t]=l}return l}#x(e){if(!this.#F)return false;const t=e;return!!t&&t instanceof Promise&&t.hasOwnProperty("__staleWhileFetching")&&t.__abortController instanceof i}async fetch(e,t={}){const{allowStale:r=this.allowStale,updateAgeOnGet:n=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,ttl:i=this.ttl,noDisposeOnSet:o=this.noDisposeOnSet,size:u=0,sizeCalculation:a=this.sizeCalculation,noUpdateTTL:c=this.noUpdateTTL,noDeleteOnFetchRejection:l=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:f=this.allowStaleOnFetchRejection,ignoreFetchAbort:p=this.ignoreFetchAbort,allowStaleOnFetchAbort:d=this.allowStaleOnFetchAbort,context:h,forceRefresh:g=false,status:m,signal:A}=t;if(!this.#F){if(m)m.fetch="get";return this.get(e,{allowStale:r,updateAgeOnGet:n,noDeleteOnStaleGet:s,status:m})}const E={allowStale:r,updateAgeOnGet:n,noDeleteOnStaleGet:s,ttl:i,noDisposeOnSet:o,size:u,sizeCalculation:a,noUpdateTTL:c,noDeleteOnFetchRejection:l,allowStaleOnFetchRejection:f,allowStaleOnFetchAbort:d,ignoreFetchAbort:p,status:m,signal:A};let y=this.#d.get(e);if(y===undefined){if(m)m.fetch="miss";const t=this.#O(e,y,E,h);return t.__returned=t}else{const t=this.#g[y];if(this.#x(t)){const e=r&&t.__staleWhileFetching!==undefined;if(m){m.fetch="inflight";if(e)m.returnedStale=true}return e?t.__staleWhileFetching:t.__returned=t}const s=this.#B(y);if(!g&&!s){if(m)m.fetch="hit";this.#k(y);if(n){this.#N(y)}if(m)this.#M(m,y);return t}const i=this.#O(e,y,E,h);const o=i.__staleWhileFetching!==undefined;const u=o&&r;if(m){m.fetch=s?"stale":"refresh";if(u&&s)m.returnedStale=true}return u?i.__staleWhileFetching:i.__returned=i}}async forceFetch(e,t={}){const r=await this.fetch(e,t);if(r===undefined)throw new Error("fetch() returned undefined");return r}memo(e,t={}){const r=this.#l;if(!r){throw new Error("no memoMethod provided to constructor")}const{context:n,forceRefresh:s,...i}=t;const o=this.get(e,i);if(!s&&o!==undefined)return o;const u=r(e,o,{options:i,context:n});this.set(e,u,i);return u}get(e,t={}){const{allowStale:r=this.allowStale,updateAgeOnGet:n=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,status:i}=t;const o=this.#d.get(e);if(o!==undefined){const t=this.#g[o];const u=this.#x(t);if(i)this.#M(i,o);if(this.#B(o)){if(i)i.get="stale";if(!u){if(!s){this.#T(e,"expire")}if(i&&r)i.returnedStale=true;return r?t:undefined}else{if(i&&r&&t.__staleWhileFetching!==undefined){i.returnedStale=true}return r?t.__staleWhileFetching:undefined}}else{if(i)i.get="hit";if(u){return t.__staleWhileFetching}this.#k(o);if(n){this.#N(o)}return t}}else if(i){i.get="miss"}}#z(e,t){this.#A[t]=e;this.#m[e]=t}#k(e){if(e!==this.#y){if(e===this.#E){this.#E=this.#m[e]}else{this.#z(this.#A[e],this.#m[e])}this.#z(this.#y,e);this.#y=e}}delete(e){return this.#T(e,"delete")}#T(e,t){let r=false;if(this.#f!==0){const n=this.#d.get(e);if(n!==undefined){r=true;if(this.#f===1){this.#q(t)}else{this.#j(n);const r=this.#g[n];if(this.#x(r)){r.__abortController.abort(new Error("deleted"))}else if(this.#_||this.#S){if(this.#_){this.#u?.(r,e,t)}if(this.#S){this.#C?.push([r,e,t])}}this.#d.delete(e);this.#h[n]=undefined;this.#g[n]=undefined;if(n===this.#y){this.#y=this.#A[n]}else if(n===this.#E){this.#E=this.#m[n]}else{const e=this.#A[n];this.#m[e]=this.#m[n];const t=this.#m[n];this.#A[t]=this.#A[n]}this.#f--;this.#D.push(n)}}}if(this.#S&&this.#C?.length){const e=this.#C;let t;while(t=e?.shift()){this.#a?.(...t)}}return r}clear(){return this.#q("delete")}#q(e){for(const t of this.#$({allowStale:true})){const r=this.#g[t];if(this.#x(r)){r.__abortController.abort(new Error("deleted"))}else{const n=this.#h[t];if(this.#_){this.#u?.(r,n,e)}if(this.#S){this.#C?.push([r,n,e])}}}this.#d.clear();this.#g.fill(undefined);this.#h.fill(undefined);if(this.#v&&this.#b){this.#v.fill(0);this.#b.fill(0)}if(this.#w){this.#w.fill(0)}this.#E=0;this.#y=0;this.#D.length=0;this.#p=0;this.#f=0;if(this.#S&&this.#C){const e=this.#C;let t;while(t=e?.shift()){this.#a?.(...t)}}}}t.LRUCache=LRUCache},8330:e=>{"use strict";e.exports=JSON.parse('{"name":"create-expo","version":"5.1.8","description":"Create universal Expo apps","keywords":["expo","react","react-native"],"homepage":"https://docs.expo.dev","license":"BSD-3-Clause","author":"Evan Bacon <bacon@expo.io> (https://github.com/evanbacon)","repository":{"type":"git","url":"https://github.com/expo/expo.git","directory":"packages/create-expo"},"bin":"./bin/create-expo.js","files":["bin","build","template"],"main":"build/index.js","exports":{".":"./build/index.js","./package.json":"./package.json"},"scripts":{"prebuild":"expo-module clean","build":"ncc build ./src/index.ts -o build/","prebuild:prod":"expo-module clean","build:prod":"ncc build ./src/index.ts -o build/ --minify --no-cache --no-source-map-register","clean":"expo-module clean","lint":"oxlint --config oxlint.config.mjs .","format":"expo-module format","depscheck":"expo-module depscheck","typecheck":"tsc -p tsconfig.json","test":"jest","test:e2e":"jest --config e2e/jest.config.js --runInBand","sync-agent-templates":"node scripts/sync-agent-templates.js","prepublishOnly":"pnpm run sync-agent-templates && pnpm run clean && pnpm run build:prod"},"devDependencies":{"@expo/config":"workspace:*","@expo/env":"workspace:*","@expo/internal-scripts":"workspace:*","@expo/json-file":"workspace:*","@expo/package-manager":"workspace:*","@expo/spawn-async":"^1.8.0","@octokit/types":"^13.5.0","@types/debug":"^4.1.7","@types/node":"^22.14.0","@types/picomatch":"^2.3.3","@types/prompts":"2.0.14","@vercel/ncc":"^0.38.4","arg":"^5.0.2","chalk":"^4.0.0","debug":"^4.3.4","memfs":"^3.6.0","multitars":"^1.0.2","nock":"^14.0.10","ora":"3.4.0","picomatch":"^2.3.2","prompts":"^2.4.2","resolve-workspace-root":"^2.0.0","slugify":"^1.6.6","tinyglobby":"^0.2.15","update-check":"^1.5.4"},"engines":{"node":"^22.13.0 || ^24.3.0 || ^26.0.0 || >=27.0.0"}}')}};var __webpack_module_cache__={};function __nccwpck_require__(e){var t=__webpack_module_cache__[e];if(t!==undefined){return t.exports}var r=__webpack_module_cache__[e]={id:e,loaded:false,exports:{}};var n=true;try{__webpack_modules__[e].call(r.exports,r,r.exports,__nccwpck_require__);n=false}finally{if(n)delete __webpack_module_cache__[e]}r.loaded=true;return r.exports}__nccwpck_require__.m=__webpack_modules__;(()=>{__nccwpck_require__.n=e=>{var t=e&&e.__esModule?()=>e["default"]:()=>e;__nccwpck_require__.d(t,{a:t});return t}})();(()=>{var e=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;var t;__nccwpck_require__.t=function(r,n){if(n&1)r=this(r);if(n&8)return r;if(typeof r==="object"&&r){if(n&4&&r.__esModule)return r;if(n&16&&typeof r.then==="function")return r}var s=Object.create(null);__nccwpck_require__.r(s);var i={};t=t||[null,e({}),e([]),e(e)];for(var o=n&2&&r;typeof o=="object"&&!~t.indexOf(o);o=e(o)){Object.getOwnPropertyNames(o).forEach((e=>i[e]=()=>r[e]))}i["default"]=()=>r;__nccwpck_require__.d(s,i);return s}})();(()=>{__nccwpck_require__.d=(e,t)=>{for(var r in t){if(__nccwpck_require__.o(t,r)&&!__nccwpck_require__.o(e,r)){Object.defineProperty(e,r,{enumerable:true,get:t[r]})}}}})();(()=>{__nccwpck_require__.f={};__nccwpck_require__.e=e=>Promise.all(Object.keys(__nccwpck_require__.f).reduce(((t,r)=>{__nccwpck_require__.f[r](e,t);return t}),[]))})();(()=>{__nccwpck_require__.u=e=>""+e+".index.js"})();(()=>{__nccwpck_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})();(()=>{__nccwpck_require__.r=e=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(e,"__esModule",{value:true})}})();(()=>{__nccwpck_require__.nmd=e=>{e.paths=[];if(!e.children)e.children=[];return e}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";(()=>{var e={792:1};var installChunk=t=>{var r=t.modules,n=t.ids,s=t.runtime;for(var i in r){if(__nccwpck_require__.o(r,i)){__nccwpck_require__.m[i]=r[i]}}if(s)s(__nccwpck_require__);for(var o=0;o<n.length;o++)e[n[o]]=1};__nccwpck_require__.f.require=(t,r)=>{if(!e[t]){if(true){installChunk(require("./"+__nccwpck_require__.u(t)))}else e[t]=1}}})();var __webpack_exports__={};(()=>{"use strict";__nccwpck_require__.r(__webpack_exports__);var e=__nccwpck_require__(2591);var t=__nccwpck_require__.n(e);var r=__nccwpck_require__(6675);var n=__nccwpck_require__.n(r);var s=__nccwpck_require__(7517);process.title=s.PACKAGE_NAME;if((0,e.boolish)("EXPO_DEBUG",false)){n().enable("expo:init:*")}else if(n().enabled("expo:init:")){process.env.EXPO_DEBUG="1"}__nccwpck_require__(4456)})();module.exports=__webpack_exports__})();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-expo",
3
- "version": "5.1.7",
3
+ "version": "5.1.8",
4
4
  "description": "Create universal Expo apps",
5
5
  "keywords": [
6
6
  "expo",
@@ -29,14 +29,14 @@
29
29
  "./package.json": "./package.json"
30
30
  },
31
31
  "devDependencies": {
32
- "@expo/config": "58.0.11",
32
+ "@expo/config": "58.0.12",
33
+ "@expo/env": "2.6.0",
33
34
  "@expo/internal-scripts": "58.0.6",
34
35
  "@expo/json-file": "11.2.1",
35
36
  "@expo/package-manager": "1.14.2",
36
37
  "@expo/spawn-async": "^1.8.0",
37
38
  "@octokit/types": "^13.5.0",
38
39
  "@types/debug": "^4.1.7",
39
- "@types/getenv": "^1.0.3",
40
40
  "@types/node": "^22.14.0",
41
41
  "@types/picomatch": "^2.3.3",
42
42
  "@types/prompts": "2.0.14",
@@ -44,7 +44,6 @@
44
44
  "arg": "^5.0.2",
45
45
  "chalk": "^4.0.0",
46
46
  "debug": "^4.3.4",
47
- "getenv": "^2.0.0",
48
47
  "memfs": "^3.6.0",
49
48
  "multitars": "^1.0.2",
50
49
  "nock": "^14.0.10",