create-expo 3.1.2 → 3.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.js +3 -3
- package/package.json +4 -4
package/build/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
(()=>{var __webpack_modules__={4971:(t,r,i)=>{"use strict";t=i.nmd(t);const o=i(2830);const wrapAnsi16=(t,r)=>function(){const i=t.apply(o,arguments);return`[${i+r}m`};const wrapAnsi256=(t,r)=>function(){const i=t.apply(o,arguments);return`[${38+r};5;${i}m`};const wrapAnsi16m=(t,r)=>function(){const i=t.apply(o,arguments);return`[${38+r};2;${i[0]};${i[1]};${i[2]}m`};function assembleStyles(){const t=new Map;const r={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],gray:[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]}};r.color.grey=r.color.gray;for(const i of Object.keys(r)){const o=r[i];for(const i of Object.keys(o)){const a=o[i];r[i]={open:`[${a[0]}m`,close:`[${a[1]}m`};o[i]=r[i];t.set(a[0],a[1])}Object.defineProperty(r,i,{value:o,enumerable:false});Object.defineProperty(r,"codes",{value:t,enumerable:false})}const ansi2ansi=t=>t;const rgb2rgb=(t,r,i)=>[t,r,i];r.color.close="[39m";r.bgColor.close="[49m";r.color.ansi={ansi:wrapAnsi16(ansi2ansi,0)};r.color.ansi256={ansi256:wrapAnsi256(ansi2ansi,0)};r.color.ansi16m={rgb:wrapAnsi16m(rgb2rgb,0)};r.bgColor.ansi={ansi:wrapAnsi16(ansi2ansi,10)};r.bgColor.ansi256={ansi256:wrapAnsi256(ansi2ansi,10)};r.bgColor.ansi16m={rgb:wrapAnsi16m(rgb2rgb,10)};for(let t of Object.keys(o)){if(typeof o[t]!=="object"){continue}const i=o[t];if(t==="ansi16"){t="ansi"}if("ansi16"in i){r.color.ansi[t]=wrapAnsi16(i.ansi16,0);r.bgColor.ansi[t]=wrapAnsi16(i.ansi16,10)}if("ansi256"in i){r.color.ansi256[t]=wrapAnsi256(i.ansi256,0);r.bgColor.ansi256[t]=wrapAnsi256(i.ansi256,10)}if("rgb"in i){r.color.ansi16m[t]=wrapAnsi16m(i.rgb,0);r.bgColor.ansi16m[t]=wrapAnsi16m(i.rgb,10)}}return r}Object.defineProperty(t,"exports",{enumerable:true,get:assembleStyles})},6870:(t,r,i)=>{"use strict";const o=i(5978);const a=i(4971);const u=i(1851).stdout;const l=i(6094);const h=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm");const p=["ansi","ansi","ansi256","ansi16m"];const d=new Set(["gray"]);const m=Object.create(null);function applyOptions(t,r){r=r||{};const i=u?u.level:0;t.level=r.level===undefined?i:r.level;t.enabled="enabled"in r?r.enabled:t.level>0}function Chalk(t){if(!this||!(this instanceof Chalk)||this.template){const r={};applyOptions(r,t);r.template=function(){const t=[].slice.call(arguments);return chalkTag.apply(null,[r.template].concat(t))};Object.setPrototypeOf(r,Chalk.prototype);Object.setPrototypeOf(r.template,r);r.template.constructor=Chalk;return r.template}applyOptions(this,t)}if(h){a.blue.open="[94m"}for(const t of Object.keys(a)){a[t].closeRe=new RegExp(o(a[t].close),"g");m[t]={get(){const r=a[t];return build.call(this,this._styles?this._styles.concat(r):[r],this._empty,t)}}}m.visible={get(){return build.call(this,this._styles||[],true,"visible")}};a.color.closeRe=new RegExp(o(a.color.close),"g");for(const t of Object.keys(a.color.ansi)){if(d.has(t)){continue}m[t]={get(){const r=this.level;return function(){const i=a.color[p[r]][t].apply(null,arguments);const o={open:i,close:a.color.close,closeRe:a.color.closeRe};return build.call(this,this._styles?this._styles.concat(o):[o],this._empty,t)}}}}a.bgColor.closeRe=new RegExp(o(a.bgColor.close),"g");for(const t of Object.keys(a.bgColor.ansi)){if(d.has(t)){continue}const r="bg"+t[0].toUpperCase()+t.slice(1);m[r]={get(){const r=this.level;return function(){const i=a.bgColor[p[r]][t].apply(null,arguments);const o={open:i,close:a.bgColor.close,closeRe:a.bgColor.closeRe};return build.call(this,this._styles?this._styles.concat(o):[o],this._empty,t)}}}}const g=Object.defineProperties((()=>{}),m);function build(t,r,i){const builder=function(){return applyStyle.apply(builder,arguments)};builder._styles=t;builder._empty=r;const o=this;Object.defineProperty(builder,"level",{enumerable:true,get(){return o.level},set(t){o.level=t}});Object.defineProperty(builder,"enabled",{enumerable:true,get(){return o.enabled},set(t){o.enabled=t}});builder.hasGrey=this.hasGrey||i==="gray"||i==="grey";builder.__proto__=g;return builder}function applyStyle(){const t=arguments;const r=t.length;let i=String(arguments[0]);if(r===0){return""}if(r>1){for(let o=1;o<r;o++){i+=" "+t[o]}}if(!this.enabled||this.level<=0||!i){return this._empty?"":i}const o=a.dim.open;if(h&&this.hasGrey){a.dim.open=""}for(const t of this._styles.slice().reverse()){i=t.open+i.replace(t.closeRe,t.open)+t.close;i=i.replace(/\r?\n/g,`${t.close}$&${t.open}`)}a.dim.open=o;return i}function chalkTag(t,r){if(!Array.isArray(r)){return[].slice.call(arguments,1).join(" ")}const i=[].slice.call(arguments,2);const o=[r.raw[0]];for(let t=1;t<r.length;t++){o.push(String(i[t-1]).replace(/[{}\\]/g,"\\$&"));o.push(String(r.raw[t]))}return l(t,o.join(""))}Object.defineProperties(Chalk.prototype,m);t.exports=Chalk();t.exports.supportsColor=u;t.exports["default"]=t.exports},6094:t=>{"use strict";const r=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;const i=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;const o=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;const a=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi;const u=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(t){if(t[0]==="u"&&t.length===5||t[0]==="x"&&t.length===3){return String.fromCharCode(parseInt(t.slice(1),16))}return u.get(t)||t}function parseArguments(t,r){const i=[];const u=r.trim().split(/\s*,\s*/g);let l;for(const r of u){if(!isNaN(r)){i.push(Number(r))}else if(l=r.match(o)){i.push(l[2].replace(a,((t,r,i)=>r?unescape(r):i)))}else{throw new Error(`Invalid Chalk template style argument: ${r} (in style '${t}')`)}}return i}function parseStyle(t){i.lastIndex=0;const r=[];let o;while((o=i.exec(t))!==null){const t=o[1];if(o[2]){const i=parseArguments(t,o[2]);r.push([t].concat(i))}else{r.push([t])}}return r}function buildStyle(t,r){const i={};for(const t of r){for(const r of t.styles){i[r[0]]=t.inverse?null:r.slice(1)}}let o=t;for(const t of Object.keys(i)){if(Array.isArray(i[t])){if(!(t in o)){throw new Error(`Unknown Chalk style: ${t}`)}if(i[t].length>0){o=o[t].apply(o,i[t])}else{o=o[t]}}}return o}t.exports=(t,i)=>{const o=[];const a=[];let u=[];i.replace(r,((r,i,l,h,p,d)=>{if(i){u.push(unescape(i))}else if(h){const r=u.join("");u=[];a.push(o.length===0?r:buildStyle(t,o)(r));o.push({inverse:l,styles:parseStyle(h)})}else if(p){if(o.length===0){throw new Error("Found extraneous } in Chalk template literal")}a.push(buildStyle(t,o)(u.join("")));u=[];o.pop()}else{u.push(d)}}));a.push(u.join(""));if(o.length>0){const t=`Chalk template literal is missing ${o.length} closing bracket${o.length===1?"":"s"} (\`}\`)`;throw new Error(t)}return a.join("")}},5978:t=>{"use strict";var r=/[|\\{}()[\]^$+*?.]/g;t.exports=function(t){if(typeof t!=="string"){throw new TypeError("Expected a string")}return t.replace(r,"\\$&")}},6966:t=>{"use strict";t.exports=(t,r)=>{r=r||process.argv;const i=t.startsWith("-")?"":t.length===1?"-":"--";const o=r.indexOf(i+t);const a=r.indexOf("--");return o!==-1&&(a===-1?true:o<a)}},1851:(t,r,i)=>{"use strict";const o=i(2037);const a=i(6966);const u=process.env;let l;if(a("no-color")||a("no-colors")||a("color=false")){l=false}else if(a("color")||a("colors")||a("color=true")||a("color=always")){l=true}if("FORCE_COLOR"in u){l=u.FORCE_COLOR.length===0||parseInt(u.FORCE_COLOR,10)!==0}function translateLevel(t){if(t===0){return false}return{level:t,hasBasic:true,has256:t>=2,has16m:t>=3}}function supportsColor(t){if(l===false){return 0}if(a("color=16m")||a("color=full")||a("color=truecolor")){return 3}if(a("color=256")){return 2}if(t&&!t.isTTY&&l!==true){return 0}const r=l?1:0;if(process.platform==="win32"){const t=o.release().split(".");if(Number(process.versions.node.split(".")[0])>=8&&Number(t[0])>=10&&Number(t[2])>=10586){return Number(t[2])>=14931?3:2}return 1}if("CI"in u){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((t=>t in u))||u.CI_NAME==="codeship"){return 1}return r}if("TEAMCITY_VERSION"in u){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(u.TEAMCITY_VERSION)?1:0}if(u.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in u){const t=parseInt((u.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(u.TERM_PROGRAM){case"iTerm.app":return t>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(u.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(u.TERM)){return 1}if("COLORTERM"in u){return 1}if(u.TERM==="dumb"){return r}return r}function getSupportLevel(t){const r=supportsColor(t);return translateLevel(r)}t.exports={supportsColor:getSupportLevel,stdout:getSupportLevel(process.stdout),stderr:getSupportLevel(process.stderr)}},5642:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};const a=o(i(7987));function spawnAsync(t,r,i={}){const o=new Error;const u=o.stack?o.stack.replace(/^.*/," ..."):null;let l;let h=new Promise(((o,h)=>{let{ignoreStdio:p,...d}=i;l=(0,a.default)(t,r,d);let m="";let g="";if(!p){if(l.stdout){l.stdout.on("data",(t=>{m+=t}))}if(l.stderr){l.stderr.on("data",(t=>{g+=t}))}}let completionListener=(i,a)=>{l.removeListener("error",errorListener);let p={pid:l.pid,output:[m,g],stdout:m,stderr:g,status:i,signal:a};if(i!==0){let o=r&&r.length>0?` ${r.join(" ")}`:"";let l=a?new Error(`${t}${o} exited with signal: ${a}`):new Error(`${t}${o} exited with non-zero code: ${i}`);if(l.stack&&u){l.stack+=`\n${u}`}Object.assign(l,p);h(l)}else{o(p)}};let errorListener=t=>{if(p){l.removeListener("exit",completionListener)}else{l.removeListener("close",completionListener)}Object.assign(t,{pid:l.pid,output:[m,g],stdout:m,stderr:g,status:null,signal:null});h(t)};if(p){l.once("exit",completionListener)}else{l.once("close",completionListener)}l.once("error",errorListener)}));h.child=l;return h}t.exports=spawnAsync},1088:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.createFileSystemAdapter=r.FILE_SYSTEM_ADAPTER=void 0;const o=i(7147);r.FILE_SYSTEM_ADAPTER={lstat:o.lstat,stat:o.stat,lstatSync:o.lstatSync,statSync:o.statSync,readdir:o.readdir,readdirSync:o.readdirSync};function createFileSystemAdapter(t){if(t===undefined){return r.FILE_SYSTEM_ADAPTER}return Object.assign(Object.assign({},r.FILE_SYSTEM_ADAPTER),t)}r.createFileSystemAdapter=createFileSystemAdapter},4919:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;const i=process.versions.node.split(".");if(i[0]===undefined||i[1]===undefined){throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`)}const o=Number.parseInt(i[0],10);const a=Number.parseInt(i[1],10);const u=10;const l=10;const h=o>u;const p=o===u&&a>=l;r.IS_SUPPORT_READDIR_WITH_FILE_TYPES=h||p},7552:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.Settings=r.scandirSync=r.scandir=void 0;const o=i(7091);const a=i(1328);const u=i(3022);r.Settings=u.default;function scandir(t,r,i){if(typeof r==="function"){o.read(t,getSettings(),r);return}o.read(t,getSettings(r),i)}r.scandir=scandir;function scandirSync(t,r){const i=getSettings(r);return a.read(t,i)}r.scandirSync=scandirSync;function getSettings(t={}){if(t instanceof u.default){return t}return new u.default(t)}},7091:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.readdir=r.readdirWithFileTypes=r.read=void 0;const o=i(2580);const a=i(1188);const u=i(4919);const l=i(1210);const h=i(4845);function read(t,r,i){if(!r.stats&&u.IS_SUPPORT_READDIR_WITH_FILE_TYPES){readdirWithFileTypes(t,r,i);return}readdir(t,r,i)}r.read=read;function readdirWithFileTypes(t,r,i){r.fs.readdir(t,{withFileTypes:true},((o,u)=>{if(o!==null){callFailureCallback(i,o);return}const l=u.map((i=>({dirent:i,name:i.name,path:h.joinPathSegments(t,i.name,r.pathSegmentSeparator)})));if(!r.followSymbolicLinks){callSuccessCallback(i,l);return}const p=l.map((t=>makeRplTaskEntry(t,r)));a(p,((t,r)=>{if(t!==null){callFailureCallback(i,t);return}callSuccessCallback(i,r)}))}))}r.readdirWithFileTypes=readdirWithFileTypes;function makeRplTaskEntry(t,r){return i=>{if(!t.dirent.isSymbolicLink()){i(null,t);return}r.fs.stat(t.path,((o,a)=>{if(o!==null){if(r.throwErrorOnBrokenSymbolicLink){i(o);return}i(null,t);return}t.dirent=l.fs.createDirentFromStats(t.name,a);i(null,t)}))}}function readdir(t,r,i){r.fs.readdir(t,((u,p)=>{if(u!==null){callFailureCallback(i,u);return}const d=p.map((i=>{const a=h.joinPathSegments(t,i,r.pathSegmentSeparator);return t=>{o.stat(a,r.fsStatSettings,((o,u)=>{if(o!==null){t(o);return}const h={name:i,path:a,dirent:l.fs.createDirentFromStats(i,u)};if(r.stats){h.stats=u}t(null,h)}))}}));a(d,((t,r)=>{if(t!==null){callFailureCallback(i,t);return}callSuccessCallback(i,r)}))}))}r.readdir=readdir;function callFailureCallback(t,r){t(r)}function callSuccessCallback(t,r){t(null,r)}},4845:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.joinPathSegments=void 0;function joinPathSegments(t,r,i){if(t.endsWith(i)){return t+r}return t+i+r}r.joinPathSegments=joinPathSegments},1328:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.readdir=r.readdirWithFileTypes=r.read=void 0;const o=i(2580);const a=i(4919);const u=i(1210);const l=i(4845);function read(t,r){if(!r.stats&&a.IS_SUPPORT_READDIR_WITH_FILE_TYPES){return readdirWithFileTypes(t,r)}return readdir(t,r)}r.read=read;function readdirWithFileTypes(t,r){const i=r.fs.readdirSync(t,{withFileTypes:true});return i.map((i=>{const o={dirent:i,name:i.name,path:l.joinPathSegments(t,i.name,r.pathSegmentSeparator)};if(o.dirent.isSymbolicLink()&&r.followSymbolicLinks){try{const t=r.fs.statSync(o.path);o.dirent=u.fs.createDirentFromStats(o.name,t)}catch(t){if(r.throwErrorOnBrokenSymbolicLink){throw t}}}return o}))}r.readdirWithFileTypes=readdirWithFileTypes;function readdir(t,r){const i=r.fs.readdirSync(t);return i.map((i=>{const a=l.joinPathSegments(t,i,r.pathSegmentSeparator);const h=o.statSync(a,r.fsStatSettings);const p={name:i,path:a,dirent:u.fs.createDirentFromStats(i,h)};if(r.stats){p.stats=h}return p}))}r.readdir=readdir},3022:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});const o=i(1017);const a=i(2580);const u=i(1088);class Settings{constructor(t={}){this._options=t;this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,false);this.fs=u.createFileSystemAdapter(this._options.fs);this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,o.sep);this.stats=this._getValue(this._options.stats,false);this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,true);this.fsStatSettings=new a.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(t,r){return t!==null&&t!==void 0?t:r}}r["default"]=Settings},7794:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.createDirentFromStats=void 0;class DirentFromStats{constructor(t,r){this.name=t;this.isBlockDevice=r.isBlockDevice.bind(r);this.isCharacterDevice=r.isCharacterDevice.bind(r);this.isDirectory=r.isDirectory.bind(r);this.isFIFO=r.isFIFO.bind(r);this.isFile=r.isFile.bind(r);this.isSocket=r.isSocket.bind(r);this.isSymbolicLink=r.isSymbolicLink.bind(r)}}function createDirentFromStats(t,r){return new DirentFromStats(t,r)}r.createDirentFromStats=createDirentFromStats},1210:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.fs=void 0;const o=i(7794);r.fs=o},7650:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.createFileSystemAdapter=r.FILE_SYSTEM_ADAPTER=void 0;const o=i(7147);r.FILE_SYSTEM_ADAPTER={lstat:o.lstat,stat:o.stat,lstatSync:o.lstatSync,statSync:o.statSync};function createFileSystemAdapter(t){if(t===undefined){return r.FILE_SYSTEM_ADAPTER}return Object.assign(Object.assign({},r.FILE_SYSTEM_ADAPTER),t)}r.createFileSystemAdapter=createFileSystemAdapter},2580:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.statSync=r.stat=r.Settings=void 0;const o=i(5939);const a=i(105);const u=i(2466);r.Settings=u.default;function stat(t,r,i){if(typeof r==="function"){o.read(t,getSettings(),r);return}o.read(t,getSettings(r),i)}r.stat=stat;function statSync(t,r){const i=getSettings(r);return a.read(t,i)}r.statSync=statSync;function getSettings(t={}){if(t instanceof u.default){return t}return new u.default(t)}},5939:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.read=void 0;function read(t,r,i){r.fs.lstat(t,((o,a)=>{if(o!==null){callFailureCallback(i,o);return}if(!a.isSymbolicLink()||!r.followSymbolicLink){callSuccessCallback(i,a);return}r.fs.stat(t,((t,o)=>{if(t!==null){if(r.throwErrorOnBrokenSymbolicLink){callFailureCallback(i,t);return}callSuccessCallback(i,a);return}if(r.markSymbolicLink){o.isSymbolicLink=()=>true}callSuccessCallback(i,o)}))}))}r.read=read;function callFailureCallback(t,r){t(r)}function callSuccessCallback(t,r){t(null,r)}},105:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.read=void 0;function read(t,r){const i=r.fs.lstatSync(t);if(!i.isSymbolicLink()||!r.followSymbolicLink){return i}try{const i=r.fs.statSync(t);if(r.markSymbolicLink){i.isSymbolicLink=()=>true}return i}catch(t){if(!r.throwErrorOnBrokenSymbolicLink){return i}throw t}}r.read=read},2466:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});const o=i(7650);class Settings{constructor(t={}){this._options=t;this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,true);this.fs=o.createFileSystemAdapter(this._options.fs);this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,false);this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,true)}_getValue(t,r){return t!==null&&t!==void 0?t:r}}r["default"]=Settings},803:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.Settings=r.walkStream=r.walkSync=r.walk=void 0;const o=i(6887);const a=i(7499);const u=i(6875);const l=i(8265);r.Settings=l.default;function walk(t,r,i){if(typeof r==="function"){new o.default(t,getSettings()).read(r);return}new o.default(t,getSettings(r)).read(i)}r.walk=walk;function walkSync(t,r){const i=getSettings(r);const o=new u.default(t,i);return o.read()}r.walkSync=walkSync;function walkStream(t,r){const i=getSettings(r);const o=new a.default(t,i);return o.read()}r.walkStream=walkStream;function getSettings(t={}){if(t instanceof l.default){return t}return new l.default(t)}},6887:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});const o=i(6203);class AsyncProvider{constructor(t,r){this._root=t;this._settings=r;this._reader=new o.default(this._root,this._settings);this._storage=[]}read(t){this._reader.onError((r=>{callFailureCallback(t,r)}));this._reader.onEntry((t=>{this._storage.push(t)}));this._reader.onEnd((()=>{callSuccessCallback(t,this._storage)}));this._reader.read()}}r["default"]=AsyncProvider;function callFailureCallback(t,r){t(r)}function callSuccessCallback(t,r){t(null,r)}},7499:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});const o=i(2781);const a=i(6203);class StreamProvider{constructor(t,r){this._root=t;this._settings=r;this._reader=new a.default(this._root,this._settings);this._stream=new o.Readable({objectMode:true,read:()=>{},destroy:()=>{if(!this._reader.isDestroyed){this._reader.destroy()}}})}read(){this._reader.onError((t=>{this._stream.emit("error",t)}));this._reader.onEntry((t=>{this._stream.push(t)}));this._reader.onEnd((()=>{this._stream.push(null)}));this._reader.read();return this._stream}}r["default"]=StreamProvider},6875:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});const o=i(1214);class SyncProvider{constructor(t,r){this._root=t;this._settings=r;this._reader=new o.default(this._root,this._settings)}read(){return this._reader.read()}}r["default"]=SyncProvider},6203:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});const o=i(2361);const a=i(7552);const u=i(2696);const l=i(7628);const h=i(3402);class AsyncReader extends h.default{constructor(t,r){super(t,r);this._settings=r;this._scandir=a.scandir;this._emitter=new o.EventEmitter;this._queue=u(this._worker.bind(this),this._settings.concurrency);this._isFatalError=false;this._isDestroyed=false;this._queue.drain=()=>{if(!this._isFatalError){this._emitter.emit("end")}}}read(){this._isFatalError=false;this._isDestroyed=false;setImmediate((()=>{this._pushToQueue(this._root,this._settings.basePath)}));return this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed){throw new Error("The reader is already destroyed")}this._isDestroyed=true;this._queue.killAndDrain()}onEntry(t){this._emitter.on("entry",t)}onError(t){this._emitter.once("error",t)}onEnd(t){this._emitter.once("end",t)}_pushToQueue(t,r){const i={directory:t,base:r};this._queue.push(i,(t=>{if(t!==null){this._handleError(t)}}))}_worker(t,r){this._scandir(t.directory,this._settings.fsScandirSettings,((i,o)=>{if(i!==null){r(i,undefined);return}for(const r of o){this._handleEntry(r,t.base)}r(null,undefined)}))}_handleError(t){if(this._isDestroyed||!l.isFatalError(this._settings,t)){return}this._isFatalError=true;this._isDestroyed=true;this._emitter.emit("error",t)}_handleEntry(t,r){if(this._isDestroyed||this._isFatalError){return}const i=t.path;if(r!==undefined){t.path=l.joinPathSegments(r,t.name,this._settings.pathSegmentSeparator)}if(l.isAppliedFilter(this._settings.entryFilter,t)){this._emitEntry(t)}if(t.dirent.isDirectory()&&l.isAppliedFilter(this._settings.deepFilter,t)){this._pushToQueue(i,r===undefined?undefined:t.path)}}_emitEntry(t){this._emitter.emit("entry",t)}}r["default"]=AsyncReader},7628:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.joinPathSegments=r.replacePathSegmentSeparator=r.isAppliedFilter=r.isFatalError=void 0;function isFatalError(t,r){if(t.errorFilter===null){return true}return!t.errorFilter(r)}r.isFatalError=isFatalError;function isAppliedFilter(t,r){return t===null||t(r)}r.isAppliedFilter=isAppliedFilter;function replacePathSegmentSeparator(t,r){return t.split(/[/\\]/).join(r)}r.replacePathSegmentSeparator=replacePathSegmentSeparator;function joinPathSegments(t,r,i){if(t===""){return r}if(t.endsWith(i)){return t+r}return t+i+r}r.joinPathSegments=joinPathSegments},3402:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});const o=i(7628);class Reader{constructor(t,r){this._root=t;this._settings=r;this._root=o.replacePathSegmentSeparator(t,r.pathSegmentSeparator)}}r["default"]=Reader},1214:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});const o=i(7552);const a=i(7628);const u=i(3402);class SyncReader extends u.default{constructor(){super(...arguments);this._scandir=o.scandirSync;this._storage=[];this._queue=new Set}read(){this._pushToQueue(this._root,this._settings.basePath);this._handleQueue();return this._storage}_pushToQueue(t,r){this._queue.add({directory:t,base:r})}_handleQueue(){for(const t of this._queue.values()){this._handleDirectory(t.directory,t.base)}}_handleDirectory(t,r){try{const i=this._scandir(t,this._settings.fsScandirSettings);for(const t of i){this._handleEntry(t,r)}}catch(t){this._handleError(t)}}_handleError(t){if(!a.isFatalError(this._settings,t)){return}throw t}_handleEntry(t,r){const i=t.path;if(r!==undefined){t.path=a.joinPathSegments(r,t.name,this._settings.pathSegmentSeparator)}if(a.isAppliedFilter(this._settings.entryFilter,t)){this._pushToStorage(t)}if(t.dirent.isDirectory()&&a.isAppliedFilter(this._settings.deepFilter,t)){this._pushToQueue(i,r===undefined?undefined:t.path)}}_pushToStorage(t){this._storage.push(t)}}r["default"]=SyncReader},8265:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});const o=i(1017);const a=i(7552);class Settings{constructor(t={}){this._options=t;this.basePath=this._getValue(this._options.basePath,undefined);this.concurrency=this._getValue(this._options.concurrency,Number.POSITIVE_INFINITY);this.deepFilter=this._getValue(this._options.deepFilter,null);this.entryFilter=this._getValue(this._options.entryFilter,null);this.errorFilter=this._getValue(this._options.errorFilter,null);this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,o.sep);this.fsScandirSettings=new a.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(t,r){return t!==null&&t!==void 0?t:r}}r["default"]=Settings},3741:(t,r,i)=>{"use strict";t=i.nmd(t);const wrapAnsi16=(t,r)=>(...i)=>{const o=t(...i);return`[${o+r}m`};const wrapAnsi256=(t,r)=>(...i)=>{const o=t(...i);return`[${38+r};5;${o}m`};const wrapAnsi16m=(t,r)=>(...i)=>{const o=t(...i);return`[${38+r};2;${o[0]};${o[1]};${o[2]}m`};const ansi2ansi=t=>t;const rgb2rgb=(t,r,i)=>[t,r,i];const setLazyProperty=(t,r,i)=>{Object.defineProperty(t,r,{get:()=>{const o=i();Object.defineProperty(t,r,{value:o,enumerable:true,configurable:true});return o},enumerable:true,configurable:true})};let o;const makeDynamicStyles=(t,r,a,u)=>{if(o===undefined){o=i(1593)}const l=u?10:0;const h={};for(const[i,u]of Object.entries(o)){const o=i==="ansi16"?"ansi":i;if(i===r){h[o]=t(a,l)}else if(typeof u==="object"){h[o]=t(u[r],l)}}return h};function assembleStyles(){const t=new Map;const r={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]}};r.color.gray=r.color.blackBright;r.bgColor.bgGray=r.bgColor.bgBlackBright;r.color.grey=r.color.blackBright;r.bgColor.bgGrey=r.bgColor.bgBlackBright;for(const[i,o]of Object.entries(r)){for(const[i,a]of Object.entries(o)){r[i]={open:`[${a[0]}m`,close:`[${a[1]}m`};o[i]=r[i];t.set(a[0],a[1])}Object.defineProperty(r,i,{value:o,enumerable:false})}Object.defineProperty(r,"codes",{value:t,enumerable:false});r.color.close="[39m";r.bgColor.close="[49m";setLazyProperty(r.color,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,false)));setLazyProperty(r.color,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,false)));setLazyProperty(r.color,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,false)));setLazyProperty(r.bgColor,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,true)));setLazyProperty(r.bgColor,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,true)));setLazyProperty(r.bgColor,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,true)));return r}Object.defineProperty(t,"exports",{enumerable:true,get:assembleStyles})},7606:(t,r,i)=>{const o=i(9407);const a={};for(const t of Object.keys(o)){a[o[t]]=t}const u={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"]}};t.exports=u;for(const t of Object.keys(u)){if(!("channels"in u[t])){throw new Error("missing channels property: "+t)}if(!("labels"in u[t])){throw new Error("missing channel labels property: "+t)}if(u[t].labels.length!==u[t].channels){throw new Error("channel and label counts mismatch: "+t)}const{channels:r,labels:i}=u[t];delete u[t].channels;delete u[t].labels;Object.defineProperty(u[t],"channels",{value:r});Object.defineProperty(u[t],"labels",{value:i})}u.rgb.hsl=function(t){const r=t[0]/255;const i=t[1]/255;const o=t[2]/255;const a=Math.min(r,i,o);const u=Math.max(r,i,o);const l=u-a;let h;let p;if(u===a){h=0}else if(r===u){h=(i-o)/l}else if(i===u){h=2+(o-r)/l}else if(o===u){h=4+(r-i)/l}h=Math.min(h*60,360);if(h<0){h+=360}const d=(a+u)/2;if(u===a){p=0}else if(d<=.5){p=l/(u+a)}else{p=l/(2-u-a)}return[h,p*100,d*100]};u.rgb.hsv=function(t){let r;let i;let o;let a;let u;const l=t[0]/255;const h=t[1]/255;const p=t[2]/255;const d=Math.max(l,h,p);const m=d-Math.min(l,h,p);const diffc=function(t){return(d-t)/6/m+1/2};if(m===0){a=0;u=0}else{u=m/d;r=diffc(l);i=diffc(h);o=diffc(p);if(l===d){a=o-i}else if(h===d){a=1/3+r-o}else if(p===d){a=2/3+i-r}if(a<0){a+=1}else if(a>1){a-=1}}return[a*360,u*100,d*100]};u.rgb.hwb=function(t){const r=t[0];const i=t[1];let o=t[2];const a=u.rgb.hsl(t)[0];const l=1/255*Math.min(r,Math.min(i,o));o=1-1/255*Math.max(r,Math.max(i,o));return[a,l*100,o*100]};u.rgb.cmyk=function(t){const r=t[0]/255;const i=t[1]/255;const o=t[2]/255;const a=Math.min(1-r,1-i,1-o);const u=(1-r-a)/(1-a)||0;const l=(1-i-a)/(1-a)||0;const h=(1-o-a)/(1-a)||0;return[u*100,l*100,h*100,a*100]};function comparativeDistance(t,r){return(t[0]-r[0])**2+(t[1]-r[1])**2+(t[2]-r[2])**2}u.rgb.keyword=function(t){const r=a[t];if(r){return r}let i=Infinity;let u;for(const r of Object.keys(o)){const a=o[r];const l=comparativeDistance(t,a);if(l<i){i=l;u=r}}return u};u.keyword.rgb=function(t){return o[t]};u.rgb.xyz=function(t){let r=t[0]/255;let i=t[1]/255;let o=t[2]/255;r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;i=i>.04045?((i+.055)/1.055)**2.4:i/12.92;o=o>.04045?((o+.055)/1.055)**2.4:o/12.92;const a=r*.4124+i*.3576+o*.1805;const u=r*.2126+i*.7152+o*.0722;const l=r*.0193+i*.1192+o*.9505;return[a*100,u*100,l*100]};u.rgb.lab=function(t){const r=u.rgb.xyz(t);let i=r[0];let o=r[1];let a=r[2];i/=95.047;o/=100;a/=108.883;i=i>.008856?i**(1/3):7.787*i+16/116;o=o>.008856?o**(1/3):7.787*o+16/116;a=a>.008856?a**(1/3):7.787*a+16/116;const l=116*o-16;const h=500*(i-o);const p=200*(o-a);return[l,h,p]};u.hsl.rgb=function(t){const r=t[0]/360;const i=t[1]/100;const o=t[2]/100;let a;let u;let l;if(i===0){l=o*255;return[l,l,l]}if(o<.5){a=o*(1+i)}else{a=o+i-o*i}const h=2*o-a;const p=[0,0,0];for(let t=0;t<3;t++){u=r+1/3*-(t-1);if(u<0){u++}if(u>1){u--}if(6*u<1){l=h+(a-h)*6*u}else if(2*u<1){l=a}else if(3*u<2){l=h+(a-h)*(2/3-u)*6}else{l=h}p[t]=l*255}return p};u.hsl.hsv=function(t){const r=t[0];let i=t[1]/100;let o=t[2]/100;let a=i;const u=Math.max(o,.01);o*=2;i*=o<=1?o:2-o;a*=u<=1?u:2-u;const l=(o+i)/2;const h=o===0?2*a/(u+a):2*i/(o+i);return[r,h*100,l*100]};u.hsv.rgb=function(t){const r=t[0]/60;const i=t[1]/100;let o=t[2]/100;const a=Math.floor(r)%6;const u=r-Math.floor(r);const l=255*o*(1-i);const h=255*o*(1-i*u);const p=255*o*(1-i*(1-u));o*=255;switch(a){case 0:return[o,p,l];case 1:return[h,o,l];case 2:return[l,o,p];case 3:return[l,h,o];case 4:return[p,l,o];case 5:return[o,l,h]}};u.hsv.hsl=function(t){const r=t[0];const i=t[1]/100;const o=t[2]/100;const a=Math.max(o,.01);let u;let l;l=(2-i)*o;const h=(2-i)*a;u=i*a;u/=h<=1?h:2-h;u=u||0;l/=2;return[r,u*100,l*100]};u.hwb.rgb=function(t){const r=t[0]/360;let i=t[1]/100;let o=t[2]/100;const a=i+o;let u;if(a>1){i/=a;o/=a}const l=Math.floor(6*r);const h=1-o;u=6*r-l;if((l&1)!==0){u=1-u}const p=i+u*(h-i);let d;let m;let g;switch(l){default:case 6:case 0:d=h;m=p;g=i;break;case 1:d=p;m=h;g=i;break;case 2:d=i;m=h;g=p;break;case 3:d=i;m=p;g=h;break;case 4:d=p;m=i;g=h;break;case 5:d=h;m=i;g=p;break}return[d*255,m*255,g*255]};u.cmyk.rgb=function(t){const r=t[0]/100;const i=t[1]/100;const o=t[2]/100;const a=t[3]/100;const u=1-Math.min(1,r*(1-a)+a);const l=1-Math.min(1,i*(1-a)+a);const h=1-Math.min(1,o*(1-a)+a);return[u*255,l*255,h*255]};u.xyz.rgb=function(t){const r=t[0]/100;const i=t[1]/100;const o=t[2]/100;let a;let u;let l;a=r*3.2406+i*-1.5372+o*-.4986;u=r*-.9689+i*1.8758+o*.0415;l=r*.0557+i*-.204+o*1.057;a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92;u=u>.0031308?1.055*u**(1/2.4)-.055:u*12.92;l=l>.0031308?1.055*l**(1/2.4)-.055:l*12.92;a=Math.min(Math.max(0,a),1);u=Math.min(Math.max(0,u),1);l=Math.min(Math.max(0,l),1);return[a*255,u*255,l*255]};u.xyz.lab=function(t){let r=t[0];let i=t[1];let o=t[2];r/=95.047;i/=100;o/=108.883;r=r>.008856?r**(1/3):7.787*r+16/116;i=i>.008856?i**(1/3):7.787*i+16/116;o=o>.008856?o**(1/3):7.787*o+16/116;const a=116*i-16;const u=500*(r-i);const l=200*(i-o);return[a,u,l]};u.lab.xyz=function(t){const r=t[0];const i=t[1];const o=t[2];let a;let u;let l;u=(r+16)/116;a=i/500+u;l=u-o/200;const h=u**3;const p=a**3;const d=l**3;u=h>.008856?h:(u-16/116)/7.787;a=p>.008856?p:(a-16/116)/7.787;l=d>.008856?d:(l-16/116)/7.787;a*=95.047;u*=100;l*=108.883;return[a,u,l]};u.lab.lch=function(t){const r=t[0];const i=t[1];const o=t[2];let a;const u=Math.atan2(o,i);a=u*360/2/Math.PI;if(a<0){a+=360}const l=Math.sqrt(i*i+o*o);return[r,l,a]};u.lch.lab=function(t){const r=t[0];const i=t[1];const o=t[2];const a=o/360*2*Math.PI;const u=i*Math.cos(a);const l=i*Math.sin(a);return[r,u,l]};u.rgb.ansi16=function(t,r=null){const[i,o,a]=t;let l=r===null?u.rgb.hsv(t)[2]:r;l=Math.round(l/50);if(l===0){return 30}let h=30+(Math.round(a/255)<<2|Math.round(o/255)<<1|Math.round(i/255));if(l===2){h+=60}return h};u.hsv.ansi16=function(t){return u.rgb.ansi16(u.hsv.rgb(t),t[2])};u.rgb.ansi256=function(t){const r=t[0];const i=t[1];const o=t[2];if(r===i&&i===o){if(r<8){return 16}if(r>248){return 231}return Math.round((r-8)/247*24)+232}const a=16+36*Math.round(r/255*5)+6*Math.round(i/255*5)+Math.round(o/255*5);return a};u.ansi16.rgb=function(t){let r=t%10;if(r===0||r===7){if(t>50){r+=3.5}r=r/10.5*255;return[r,r,r]}const i=(~~(t>50)+1)*.5;const o=(r&1)*i*255;const a=(r>>1&1)*i*255;const u=(r>>2&1)*i*255;return[o,a,u]};u.ansi256.rgb=function(t){if(t>=232){const r=(t-232)*10+8;return[r,r,r]}t-=16;let r;const i=Math.floor(t/36)/5*255;const o=Math.floor((r=t%36)/6)/5*255;const a=r%6/5*255;return[i,o,a]};u.rgb.hex=function(t){const r=((Math.round(t[0])&255)<<16)+((Math.round(t[1])&255)<<8)+(Math.round(t[2])&255);const i=r.toString(16).toUpperCase();return"000000".substring(i.length)+i};u.hex.rgb=function(t){const r=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!r){return[0,0,0]}let i=r[0];if(r[0].length===3){i=i.split("").map((t=>t+t)).join("")}const o=parseInt(i,16);const a=o>>16&255;const u=o>>8&255;const l=o&255;return[a,u,l]};u.rgb.hcg=function(t){const r=t[0]/255;const i=t[1]/255;const o=t[2]/255;const a=Math.max(Math.max(r,i),o);const u=Math.min(Math.min(r,i),o);const l=a-u;let h;let p;if(l<1){h=u/(1-l)}else{h=0}if(l<=0){p=0}else if(a===r){p=(i-o)/l%6}else if(a===i){p=2+(o-r)/l}else{p=4+(r-i)/l}p/=6;p%=1;return[p*360,l*100,h*100]};u.hsl.hcg=function(t){const r=t[1]/100;const i=t[2]/100;const o=i<.5?2*r*i:2*r*(1-i);let a=0;if(o<1){a=(i-.5*o)/(1-o)}return[t[0],o*100,a*100]};u.hsv.hcg=function(t){const r=t[1]/100;const i=t[2]/100;const o=r*i;let a=0;if(o<1){a=(i-o)/(1-o)}return[t[0],o*100,a*100]};u.hcg.rgb=function(t){const r=t[0]/360;const i=t[1]/100;const o=t[2]/100;if(i===0){return[o*255,o*255,o*255]}const a=[0,0,0];const u=r%1*6;const l=u%1;const h=1-l;let p=0;switch(Math.floor(u)){case 0:a[0]=1;a[1]=l;a[2]=0;break;case 1:a[0]=h;a[1]=1;a[2]=0;break;case 2:a[0]=0;a[1]=1;a[2]=l;break;case 3:a[0]=0;a[1]=h;a[2]=1;break;case 4:a[0]=l;a[1]=0;a[2]=1;break;default:a[0]=1;a[1]=0;a[2]=h}p=(1-i)*o;return[(i*a[0]+p)*255,(i*a[1]+p)*255,(i*a[2]+p)*255]};u.hcg.hsv=function(t){const r=t[1]/100;const i=t[2]/100;const o=r+i*(1-r);let a=0;if(o>0){a=r/o}return[t[0],a*100,o*100]};u.hcg.hsl=function(t){const r=t[1]/100;const i=t[2]/100;const o=i*(1-r)+.5*r;let a=0;if(o>0&&o<.5){a=r/(2*o)}else if(o>=.5&&o<1){a=r/(2*(1-o))}return[t[0],a*100,o*100]};u.hcg.hwb=function(t){const r=t[1]/100;const i=t[2]/100;const o=r+i*(1-r);return[t[0],(o-r)*100,(1-o)*100]};u.hwb.hcg=function(t){const r=t[1]/100;const i=t[2]/100;const o=1-i;const a=o-r;let u=0;if(a<1){u=(o-a)/(1-a)}return[t[0],a*100,u*100]};u.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]};u.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]};u.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]};u.gray.hsl=function(t){return[0,0,t[0]]};u.gray.hsv=u.gray.hsl;u.gray.hwb=function(t){return[0,100,t[0]]};u.gray.cmyk=function(t){return[0,0,0,t[0]]};u.gray.lab=function(t){return[t[0],0,0]};u.gray.hex=function(t){const r=Math.round(t[0]/100*255)&255;const i=(r<<16)+(r<<8)+r;const o=i.toString(16).toUpperCase();return"000000".substring(o.length)+o};u.rgb.gray=function(t){const r=(t[0]+t[1]+t[2])/3;return[r/255*100]}},1593:(t,r,i)=>{const o=i(7606);const a=i(1529);const u={};const l=Object.keys(o);function wrapRaw(t){const wrappedFn=function(...r){const i=r[0];if(i===undefined||i===null){return i}if(i.length>1){r=i}return t(r)};if("conversion"in t){wrappedFn.conversion=t.conversion}return wrappedFn}function wrapRounded(t){const wrappedFn=function(...r){const i=r[0];if(i===undefined||i===null){return i}if(i.length>1){r=i}const o=t(r);if(typeof o==="object"){for(let t=o.length,r=0;r<t;r++){o[r]=Math.round(o[r])}}return o};if("conversion"in t){wrappedFn.conversion=t.conversion}return wrappedFn}l.forEach((t=>{u[t]={};Object.defineProperty(u[t],"channels",{value:o[t].channels});Object.defineProperty(u[t],"labels",{value:o[t].labels});const r=a(t);const i=Object.keys(r);i.forEach((i=>{const o=r[i];u[t][i]=wrapRounded(o);u[t][i].raw=wrapRaw(o)}))}));t.exports=u},1529:(t,r,i)=>{const o=i(7606);function buildGraph(){const t={};const r=Object.keys(o);for(let i=r.length,o=0;o<i;o++){t[r[o]]={distance:-1,parent:null}}return t}function deriveBFS(t){const r=buildGraph();const i=[t];r[t].distance=0;while(i.length){const t=i.pop();const a=Object.keys(o[t]);for(let o=a.length,u=0;u<o;u++){const o=a[u];const l=r[o];if(l.distance===-1){l.distance=r[t].distance+1;l.parent=t;i.unshift(o)}}}return r}function link(t,r){return function(i){return r(t(i))}}function wrapConversion(t,r){const i=[r[t].parent,t];let a=o[r[t].parent][t];let u=r[t].parent;while(r[u].parent){i.unshift(r[u].parent);a=link(o[r[u].parent][u],a);u=r[u].parent}a.conversion=i;return a}t.exports=function(t){const r=deriveBFS(t);const i={};const o=Object.keys(r);for(let t=o.length,a=0;a<t;a++){const t=o[a];const u=r[t];if(u.parent===null){continue}i[t]=wrapConversion(t,r)}return i}},4816:t=>{const r=Symbol("arg flag");class ArgError extends Error{constructor(t,r){super(t);this.name="ArgError";this.code=r;Object.setPrototypeOf(this,ArgError.prototype)}}function arg(t,{argv:i=process.argv.slice(2),permissive:o=false,stopAtPositional:a=false}={}){if(!t){throw new ArgError("argument specification object is required","ARG_CONFIG_NO_SPEC")}const u={_:[]};const l={};const h={};for(const i of Object.keys(t)){if(!i){throw new ArgError("argument key cannot be an empty string","ARG_CONFIG_EMPTY_KEY")}if(i[0]!=="-"){throw new ArgError(`argument key must start with '-' but found: '${i}'`,"ARG_CONFIG_NONOPT_KEY")}if(i.length===1){throw new ArgError(`argument key must have a name; singular '-' keys are not allowed: ${i}`,"ARG_CONFIG_NONAME_KEY")}if(typeof t[i]==="string"){l[i]=t[i];continue}let o=t[i];let a=false;if(Array.isArray(o)&&o.length===1&&typeof o[0]==="function"){const[t]=o;o=(r,i,o=[])=>{o.push(t(r,i,o[o.length-1]));return o};a=t===Boolean||t[r]===true}else if(typeof o==="function"){a=o===Boolean||o[r]===true}else{throw new ArgError(`type missing or not a function or valid array type: ${i}`,"ARG_CONFIG_VAD_TYPE")}if(i[1]!=="-"&&i.length>2){throw new ArgError(`short argument keys (with a single hyphen) must have only one character: ${i}`,"ARG_CONFIG_SHORTOPT_TOOLONG")}h[i]=[o,a]}for(let t=0,r=i.length;t<r;t++){const r=i[t];if(a&&u._.length>0){u._=u._.concat(i.slice(t));break}if(r==="--"){u._=u._.concat(i.slice(t+1));break}if(r.length>1&&r[0]==="-"){const a=r[1]==="-"||r.length===2?[r]:r.slice(1).split("").map((t=>`-${t}`));for(let r=0;r<a.length;r++){const p=a[r];const[d,m]=p[1]==="-"?p.split(/=(.*)/,2):[p,undefined];let g=d;while(g in l){g=l[g]}if(!(g in h)){if(o){u._.push(p);continue}else{throw new ArgError(`unknown or unexpected option: ${d}`,"ARG_UNKNOWN_OPTION")}}const[y,A]=h[g];if(!A&&r+1<a.length){throw new ArgError(`option requires argument (but was followed by another short argument): ${d}`,"ARG_MISSING_REQUIRED_SHORTARG")}if(A){u[g]=y(true,g,u[g])}else if(m===undefined){if(i.length<t+2||i[t+1].length>1&&i[t+1][0]==="-"&&!(i[t+1].match(/^-?\d*(\.(?=\d))?\d*$/)&&(y===Number||typeof BigInt!=="undefined"&&y===BigInt))){const t=d===g?"":` (alias for ${g})`;throw new ArgError(`option requires argument: ${d}${t}`,"ARG_MISSING_REQUIRED_LONGARG")}u[g]=y(i[t+1],g,u[g]);++t}else{u[g]=y(m,g,u[g])}}}else{u._.push(r)}}return u}arg.flag=t=>{t[r]=true;return t};arg.COUNT=arg.flag(((t,r,i)=>(i||0)+1));arg.ArgError=ArgError;t.exports=arg},538:(t,r,i)=>{"use strict";const o=i(9200);const a=i(3668);const u=i(5961);const l=i(9594);const braces=(t,r={})=>{let i=[];if(Array.isArray(t)){for(const o of t){const t=braces.create(o,r);if(Array.isArray(t)){i.push(...t)}else{i.push(t)}}}else{i=[].concat(braces.create(t,r))}if(r&&r.expand===true&&r.nodupes===true){i=[...new Set(i)]}return i};braces.parse=(t,r={})=>l(t,r);braces.stringify=(t,r={})=>{if(typeof t==="string"){return o(braces.parse(t,r),r)}return o(t,r)};braces.compile=(t,r={})=>{if(typeof t==="string"){t=braces.parse(t,r)}return a(t,r)};braces.expand=(t,r={})=>{if(typeof t==="string"){t=braces.parse(t,r)}let i=u(t,r);if(r.noempty===true){i=i.filter(Boolean)}if(r.nodupes===true){i=[...new Set(i)]}return i};braces.create=(t,r={})=>{if(t===""||t.length<3){return[t]}return r.expand!==true?braces.compile(t,r):braces.expand(t,r)};t.exports=braces},3668:(t,r,i)=>{"use strict";const o=i(3488);const a=i(4691);const compile=(t,r={})=>{const walk=(t,i={})=>{const u=a.isInvalidBrace(i);const l=t.invalid===true&&r.escapeInvalid===true;const h=u===true||l===true;const p=r.escapeInvalid===true?"\\":"";let d="";if(t.isOpen===true){return p+t.value}if(t.isClose===true){console.log("node.isClose",p,t.value);return p+t.value}if(t.type==="open"){return h?p+t.value:"("}if(t.type==="close"){return h?p+t.value:")"}if(t.type==="comma"){return t.prev.type==="comma"?"":h?t.value:"|"}if(t.value){return t.value}if(t.nodes&&t.ranges>0){const i=a.reduce(t.nodes);const u=o(...i,{...r,wrap:false,toRegex:true,strictZeros:true});if(u.length!==0){return i.length>1&&u.length>1?`(${u})`:u}}if(t.nodes){for(const r of t.nodes){d+=walk(r,t)}}return d};return walk(t)};t.exports=compile},5529:t=>{"use strict";t.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"}},5961:(t,r,i)=>{"use strict";const o=i(3488);const a=i(9200);const u=i(4691);const append=(t="",r="",i=false)=>{const o=[];t=[].concat(t);r=[].concat(r);if(!r.length)return t;if(!t.length){return i?u.flatten(r).map((t=>`{${t}}`)):r}for(const a of t){if(Array.isArray(a)){for(const t of a){o.push(append(t,r,i))}}else{for(let t of r){if(i===true&&typeof t==="string")t=`{${t}}`;o.push(Array.isArray(t)?append(a,t,i):a+t)}}}return u.flatten(o)};const expand=(t,r={})=>{const i=r.rangeLimit===undefined?1e3:r.rangeLimit;const walk=(t,l={})=>{t.queue=[];let h=l;let p=l.queue;while(h.type!=="brace"&&h.type!=="root"&&h.parent){h=h.parent;p=h.queue}if(t.invalid||t.dollar){p.push(append(p.pop(),a(t,r)));return}if(t.type==="brace"&&t.invalid!==true&&t.nodes.length===2){p.push(append(p.pop(),["{}"]));return}if(t.nodes&&t.ranges>0){const l=u.reduce(t.nodes);if(u.exceedsLimit(...l,r.step,i)){throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.")}let h=o(...l,r);if(h.length===0){h=a(t,r)}p.push(append(p.pop(),h));t.nodes=[];return}const d=u.encloseBrace(t);let m=t.queue;let g=t;while(g.type!=="brace"&&g.type!=="root"&&g.parent){g=g.parent;m=g.queue}for(let r=0;r<t.nodes.length;r++){const i=t.nodes[r];if(i.type==="comma"&&t.type==="brace"){if(r===1)m.push("");m.push("");continue}if(i.type==="close"){p.push(append(p.pop(),m,d));continue}if(i.value&&i.type!=="open"){m.push(append(m.pop(),i.value));continue}if(i.nodes){walk(i,t)}}return m};return u.flatten(walk(t))};t.exports=expand},9594:(t,r,i)=>{"use strict";const o=i(9200);const{MAX_LENGTH:a,CHAR_BACKSLASH:u,CHAR_BACKTICK:l,CHAR_COMMA:h,CHAR_DOT:p,CHAR_LEFT_PARENTHESES:d,CHAR_RIGHT_PARENTHESES:m,CHAR_LEFT_CURLY_BRACE:g,CHAR_RIGHT_CURLY_BRACE:y,CHAR_LEFT_SQUARE_BRACKET:A,CHAR_RIGHT_SQUARE_BRACKET:b,CHAR_DOUBLE_QUOTE:v,CHAR_SINGLE_QUOTE:E,CHAR_NO_BREAK_SPACE:w,CHAR_ZERO_WIDTH_NOBREAK_SPACE:_}=i(5529);const parse=(t,r={})=>{if(typeof t!=="string"){throw new TypeError("Expected a string")}const i=r||{};const S=typeof i.maxLength==="number"?Math.min(a,i.maxLength):a;if(t.length>S){throw new SyntaxError(`Input length (${t.length}), exceeds max characters (${S})`)}const C={type:"root",input:t,nodes:[]};const D=[C];let x=C;let R=C;let O=0;const k=t.length;let P=0;let T=0;let L;const advance=()=>t[P++];const push=t=>{if(t.type==="text"&&R.type==="dot"){R.type="text"}if(R&&R.type==="text"&&t.type==="text"){R.value+=t.value;return}x.nodes.push(t);t.parent=x;t.prev=R;R=t;return t};push({type:"bos"});while(P<k){x=D[D.length-1];L=advance();if(L===_||L===w){continue}if(L===u){push({type:"text",value:(r.keepEscaping?L:"")+advance()});continue}if(L===b){push({type:"text",value:"\\"+L});continue}if(L===A){O++;let t;while(P<k&&(t=advance())){L+=t;if(t===A){O++;continue}if(t===u){L+=advance();continue}if(t===b){O--;if(O===0){break}}}push({type:"text",value:L});continue}if(L===d){x=push({type:"paren",nodes:[]});D.push(x);push({type:"text",value:L});continue}if(L===m){if(x.type!=="paren"){push({type:"text",value:L});continue}x=D.pop();push({type:"text",value:L});x=D[D.length-1];continue}if(L===v||L===E||L===l){const t=L;let i;if(r.keepQuotes!==true){L=""}while(P<k&&(i=advance())){if(i===u){L+=i+advance();continue}if(i===t){if(r.keepQuotes===true)L+=i;break}L+=i}push({type:"text",value:L});continue}if(L===g){T++;const t=R.value&&R.value.slice(-1)==="$"||x.dollar===true;const r={type:"brace",open:true,close:false,dollar:t,depth:T,commas:0,ranges:0,nodes:[]};x=push(r);D.push(x);push({type:"open",value:L});continue}if(L===y){if(x.type!=="brace"){push({type:"text",value:L});continue}const t="close";x=D.pop();x.close=true;push({type:t,value:L});T--;x=D[D.length-1];continue}if(L===h&&T>0){if(x.ranges>0){x.ranges=0;const t=x.nodes.shift();x.nodes=[t,{type:"text",value:o(x)}]}push({type:"comma",value:L});x.commas++;continue}if(L===p&&T>0&&x.commas===0){const t=x.nodes;if(T===0||t.length===0){push({type:"text",value:L});continue}if(R.type==="dot"){x.range=[];R.value+=L;R.type="range";if(x.nodes.length!==3&&x.nodes.length!==5){x.invalid=true;x.ranges=0;R.type="text";continue}x.ranges++;x.args=[];continue}if(R.type==="range"){t.pop();const r=t[t.length-1];r.value+=R.value+L;R=r;x.ranges--;continue}push({type:"dot",value:L});continue}push({type:"text",value:L})}do{x=D.pop();if(x.type!=="root"){x.nodes.forEach((t=>{if(!t.nodes){if(t.type==="open")t.isOpen=true;if(t.type==="close")t.isClose=true;if(!t.nodes)t.type="text";t.invalid=true}}));const t=D[D.length-1];const r=t.nodes.indexOf(x);t.nodes.splice(r,1,...x.nodes)}}while(D.length>0);push({type:"eos"});return C};t.exports=parse},9200:(t,r,i)=>{"use strict";const o=i(4691);t.exports=(t,r={})=>{const stringify=(t,i={})=>{const a=r.escapeInvalid&&o.isInvalidBrace(i);const u=t.invalid===true&&r.escapeInvalid===true;let l="";if(t.value){if((a||u)&&o.isOpenOrClose(t)){return"\\"+t.value}return t.value}if(t.value){return t.value}if(t.nodes){for(const r of t.nodes){l+=stringify(r)}}return l};return stringify(t)}},4691:(t,r)=>{"use strict";r.isInteger=t=>{if(typeof t==="number"){return Number.isInteger(t)}if(typeof t==="string"&&t.trim()!==""){return Number.isInteger(Number(t))}return false};r.find=(t,r)=>t.nodes.find((t=>t.type===r));r.exceedsLimit=(t,i,o=1,a)=>{if(a===false)return false;if(!r.isInteger(t)||!r.isInteger(i))return false;return(Number(i)-Number(t))/Number(o)>=a};r.escapeNode=(t,r=0,i)=>{const o=t.nodes[r];if(!o)return;if(i&&o.type===i||o.type==="open"||o.type==="close"){if(o.escaped!==true){o.value="\\"+o.value;o.escaped=true}}};r.encloseBrace=t=>{if(t.type!=="brace")return false;if(t.commas>>0+t.ranges>>0===0){t.invalid=true;return true}return false};r.isInvalidBrace=t=>{if(t.type!=="brace")return false;if(t.invalid===true||t.dollar)return true;if(t.commas>>0+t.ranges>>0===0){t.invalid=true;return true}if(t.open!==true||t.close!==true){t.invalid=true;return true}return false};r.isOpenOrClose=t=>{if(t.type==="open"||t.type==="close"){return true}return t.open===true||t.close===true};r.reduce=t=>t.reduce(((t,r)=>{if(r.type==="text")t.push(r.value);if(r.type==="range")r.type="text";return t}),[]);r.flatten=(...t)=>{const r=[];const flat=t=>{for(let i=0;i<t.length;i++){const o=t[i];if(Array.isArray(o)){flat(o);continue}if(o!==undefined){r.push(o)}}return r};flat(t);return r}},8746:(t,r,i)=>{"use strict";const o=i(3741);const{stdout:a,stderr:u}=i(395);const{stringReplaceAll:l,stringEncaseCRLFWithFirstIndex:h}=i(5611);const{isArray:p}=Array;const d=["ansi","ansi","ansi256","ansi16m"];const m=Object.create(null);const applyOptions=(t,r={})=>{if(r.level&&!(Number.isInteger(r.level)&&r.level>=0&&r.level<=3)){throw new Error("The `level` option should be an integer from 0 to 3")}const i=a?a.level:0;t.level=r.level===undefined?i:r.level};class ChalkClass{constructor(t){return chalkFactory(t)}}const chalkFactory=t=>{const r={};applyOptions(r,t);r.template=(...t)=>chalkTag(r.template,...t);Object.setPrototypeOf(r,Chalk.prototype);Object.setPrototypeOf(r.template,r);r.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")};r.template.Instance=ChalkClass;return r.template};function Chalk(t){return chalkFactory(t)}for(const[t,r]of Object.entries(o)){m[t]={get(){const i=createBuilder(this,createStyler(r.open,r.close,this._styler),this._isEmpty);Object.defineProperty(this,t,{value:i});return i}}}m.visible={get(){const t=createBuilder(this,this._styler,true);Object.defineProperty(this,"visible",{value:t});return t}};const g=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const t of g){m[t]={get(){const{level:r}=this;return function(...i){const a=createStyler(o.color[d[r]][t](...i),o.color.close,this._styler);return createBuilder(this,a,this._isEmpty)}}}}for(const t of g){const r="bg"+t[0].toUpperCase()+t.slice(1);m[r]={get(){const{level:r}=this;return function(...i){const a=createStyler(o.bgColor[d[r]][t](...i),o.bgColor.close,this._styler);return createBuilder(this,a,this._isEmpty)}}}}const y=Object.defineProperties((()=>{}),{...m,level:{enumerable:true,get(){return this._generator.level},set(t){this._generator.level=t}}});const createStyler=(t,r,i)=>{let o;let a;if(i===undefined){o=t;a=r}else{o=i.openAll+t;a=r+i.closeAll}return{open:t,close:r,openAll:o,closeAll:a,parent:i}};const createBuilder=(t,r,i)=>{const builder=(...t)=>{if(p(t[0])&&p(t[0].raw)){return applyStyle(builder,chalkTag(builder,...t))}return applyStyle(builder,t.length===1?""+t[0]:t.join(" "))};Object.setPrototypeOf(builder,y);builder._generator=t;builder._styler=r;builder._isEmpty=i;return builder};const applyStyle=(t,r)=>{if(t.level<=0||!r){return t._isEmpty?"":r}let i=t._styler;if(i===undefined){return r}const{openAll:o,closeAll:a}=i;if(r.indexOf("")!==-1){while(i!==undefined){r=l(r,i.close,i.open);i=i.parent}}const u=r.indexOf("\n");if(u!==-1){r=h(r,a,o,u)}return o+r+a};let A;const chalkTag=(t,...r)=>{const[o]=r;if(!p(o)||!p(o.raw)){return r.join(" ")}const a=r.slice(1);const u=[o.raw[0]];for(let t=1;t<o.length;t++){u.push(String(a[t-1]).replace(/[{}\\]/g,"\\$&"),String(o.raw[t]))}if(A===undefined){A=i(2746)}return A(t,u.join(""))};Object.defineProperties(Chalk.prototype,m);const b=Chalk();b.supportsColor=a;b.stderr=Chalk({level:u?u.level:0});b.stderr.supportsColor=u;t.exports=b},2746:t=>{"use strict";const r=/(?:\\(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 i=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;const o=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;const a=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi;const u=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(t){const r=t[0]==="u";const i=t[1]==="{";if(r&&!i&&t.length===5||t[0]==="x"&&t.length===3){return String.fromCharCode(parseInt(t.slice(1),16))}if(r&&i){return String.fromCodePoint(parseInt(t.slice(2,-1),16))}return u.get(t)||t}function parseArguments(t,r){const i=[];const u=r.trim().split(/\s*,\s*/g);let l;for(const r of u){const u=Number(r);if(!Number.isNaN(u)){i.push(u)}else if(l=r.match(o)){i.push(l[2].replace(a,((t,r,i)=>r?unescape(r):i)))}else{throw new Error(`Invalid Chalk template style argument: ${r} (in style '${t}')`)}}return i}function parseStyle(t){i.lastIndex=0;const r=[];let o;while((o=i.exec(t))!==null){const t=o[1];if(o[2]){const i=parseArguments(t,o[2]);r.push([t].concat(i))}else{r.push([t])}}return r}function buildStyle(t,r){const i={};for(const t of r){for(const r of t.styles){i[r[0]]=t.inverse?null:r.slice(1)}}let o=t;for(const[t,r]of Object.entries(i)){if(!Array.isArray(r)){continue}if(!(t in o)){throw new Error(`Unknown Chalk style: ${t}`)}o=r.length>0?o[t](...r):o[t]}return o}t.exports=(t,i)=>{const o=[];const a=[];let u=[];i.replace(r,((r,i,l,h,p,d)=>{if(i){u.push(unescape(i))}else if(h){const r=u.join("");u=[];a.push(o.length===0?r:buildStyle(t,o)(r));o.push({inverse:l,styles:parseStyle(h)})}else if(p){if(o.length===0){throw new Error("Found extraneous } in Chalk template literal")}a.push(buildStyle(t,o)(u.join("")));u=[];o.pop()}else{u.push(d)}}));a.push(u.join(""));if(o.length>0){const t=`Chalk template literal is missing ${o.length} closing bracket${o.length===1?"":"s"} (\`}\`)`;throw new Error(t)}return a.join("")}},5611:t=>{"use strict";const stringReplaceAll=(t,r,i)=>{let o=t.indexOf(r);if(o===-1){return t}const a=r.length;let u=0;let l="";do{l+=t.substr(u,o-u)+r+i;u=o+a;o=t.indexOf(r,u)}while(o!==-1);l+=t.substr(u);return l};const stringEncaseCRLFWithFirstIndex=(t,r,i,o)=>{let a=0;let u="";do{const l=t[o-1]==="\r";u+=t.substr(a,(l?o-1:o)-a)+r+(l?"\r\n":"\n")+i;a=o+1;o=t.indexOf("\n",a)}while(o!==-1);u+=t.substr(a);return u};t.exports={stringReplaceAll:stringReplaceAll,stringEncaseCRLFWithFirstIndex:stringEncaseCRLFWithFirstIndex}},6067:(t,r,i)=>{"use strict";const o=Object.assign({},i(2548));const a=Object.keys(o);Object.defineProperty(o,"random",{get(){const t=Math.floor(Math.random()*a.length);const r=a[t];return o[r]}});t.exports=o},6845:t=>{var r=function(){"use strict";function clone(t,r,i,o){var a;if(typeof r==="object"){i=r.depth;o=r.prototype;a=r.filter;r=r.circular}var u=[];var l=[];var h=typeof Buffer!="undefined";if(typeof r=="undefined")r=true;if(typeof i=="undefined")i=Infinity;function _clone(t,i){if(t===null)return null;if(i==0)return t;var a;var p;if(typeof t!="object"){return t}if(clone.__isArray(t)){a=[]}else if(clone.__isRegExp(t)){a=new RegExp(t.source,__getRegExpFlags(t));if(t.lastIndex)a.lastIndex=t.lastIndex}else if(clone.__isDate(t)){a=new Date(t.getTime())}else if(h&&Buffer.isBuffer(t)){if(Buffer.allocUnsafe){a=Buffer.allocUnsafe(t.length)}else{a=new Buffer(t.length)}t.copy(a);return a}else{if(typeof o=="undefined"){p=Object.getPrototypeOf(t);a=Object.create(p)}else{a=Object.create(o);p=o}}if(r){var d=u.indexOf(t);if(d!=-1){return l[d]}u.push(t);l.push(a)}for(var m in t){var g;if(p){g=Object.getOwnPropertyDescriptor(p,m)}if(g&&g.set==null){continue}a[m]=_clone(t[m],i-1)}return a}return _clone(t,i)}clone.clonePrototype=function clonePrototype(t){if(t===null)return null;var c=function(){};c.prototype=t;return new c};function __objToStr(t){return Object.prototype.toString.call(t)}clone.__objToStr=__objToStr;function __isDate(t){return typeof t==="object"&&__objToStr(t)==="[object Date]"}clone.__isDate=__isDate;function __isArray(t){return typeof t==="object"&&__objToStr(t)==="[object Array]"}clone.__isArray=__isArray;function __isRegExp(t){return typeof t==="object"&&__objToStr(t)==="[object RegExp]"}clone.__isRegExp=__isRegExp;function __getRegExpFlags(t){var r="";if(t.global)r+="g";if(t.ignoreCase)r+="i";if(t.multiline)r+="m";return r}clone.__getRegExpFlags=__getRegExpFlags;return clone}();if(true&&t.exports){t.exports=r}},9598:(t,r,i)=>{var o=i(9120);var a={};for(var u in o){if(o.hasOwnProperty(u)){a[o[u]]=u}}var l=t.exports={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"]}};for(var h in l){if(l.hasOwnProperty(h)){if(!("channels"in l[h])){throw new Error("missing channels property: "+h)}if(!("labels"in l[h])){throw new Error("missing channel labels property: "+h)}if(l[h].labels.length!==l[h].channels){throw new Error("channel and label counts mismatch: "+h)}var p=l[h].channels;var d=l[h].labels;delete l[h].channels;delete l[h].labels;Object.defineProperty(l[h],"channels",{value:p});Object.defineProperty(l[h],"labels",{value:d})}}l.rgb.hsl=function(t){var r=t[0]/255;var i=t[1]/255;var o=t[2]/255;var a=Math.min(r,i,o);var u=Math.max(r,i,o);var l=u-a;var h;var p;var d;if(u===a){h=0}else if(r===u){h=(i-o)/l}else if(i===u){h=2+(o-r)/l}else if(o===u){h=4+(r-i)/l}h=Math.min(h*60,360);if(h<0){h+=360}d=(a+u)/2;if(u===a){p=0}else if(d<=.5){p=l/(u+a)}else{p=l/(2-u-a)}return[h,p*100,d*100]};l.rgb.hsv=function(t){var r;var i;var o;var a;var u;var l=t[0]/255;var h=t[1]/255;var p=t[2]/255;var d=Math.max(l,h,p);var m=d-Math.min(l,h,p);var diffc=function(t){return(d-t)/6/m+1/2};if(m===0){a=u=0}else{u=m/d;r=diffc(l);i=diffc(h);o=diffc(p);if(l===d){a=o-i}else if(h===d){a=1/3+r-o}else if(p===d){a=2/3+i-r}if(a<0){a+=1}else if(a>1){a-=1}}return[a*360,u*100,d*100]};l.rgb.hwb=function(t){var r=t[0];var i=t[1];var o=t[2];var a=l.rgb.hsl(t)[0];var u=1/255*Math.min(r,Math.min(i,o));o=1-1/255*Math.max(r,Math.max(i,o));return[a,u*100,o*100]};l.rgb.cmyk=function(t){var r=t[0]/255;var i=t[1]/255;var o=t[2]/255;var a;var u;var l;var h;h=Math.min(1-r,1-i,1-o);a=(1-r-h)/(1-h)||0;u=(1-i-h)/(1-h)||0;l=(1-o-h)/(1-h)||0;return[a*100,u*100,l*100,h*100]};function comparativeDistance(t,r){return Math.pow(t[0]-r[0],2)+Math.pow(t[1]-r[1],2)+Math.pow(t[2]-r[2],2)}l.rgb.keyword=function(t){var r=a[t];if(r){return r}var i=Infinity;var u;for(var l in o){if(o.hasOwnProperty(l)){var h=o[l];var p=comparativeDistance(t,h);if(p<i){i=p;u=l}}}return u};l.keyword.rgb=function(t){return o[t]};l.rgb.xyz=function(t){var r=t[0]/255;var i=t[1]/255;var o=t[2]/255;r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92;i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92;o=o>.04045?Math.pow((o+.055)/1.055,2.4):o/12.92;var a=r*.4124+i*.3576+o*.1805;var u=r*.2126+i*.7152+o*.0722;var l=r*.0193+i*.1192+o*.9505;return[a*100,u*100,l*100]};l.rgb.lab=function(t){var r=l.rgb.xyz(t);var i=r[0];var o=r[1];var a=r[2];var u;var h;var p;i/=95.047;o/=100;a/=108.883;i=i>.008856?Math.pow(i,1/3):7.787*i+16/116;o=o>.008856?Math.pow(o,1/3):7.787*o+16/116;a=a>.008856?Math.pow(a,1/3):7.787*a+16/116;u=116*o-16;h=500*(i-o);p=200*(o-a);return[u,h,p]};l.hsl.rgb=function(t){var r=t[0]/360;var i=t[1]/100;var o=t[2]/100;var a;var u;var l;var h;var p;if(i===0){p=o*255;return[p,p,p]}if(o<.5){u=o*(1+i)}else{u=o+i-o*i}a=2*o-u;h=[0,0,0];for(var d=0;d<3;d++){l=r+1/3*-(d-1);if(l<0){l++}if(l>1){l--}if(6*l<1){p=a+(u-a)*6*l}else if(2*l<1){p=u}else if(3*l<2){p=a+(u-a)*(2/3-l)*6}else{p=a}h[d]=p*255}return h};l.hsl.hsv=function(t){var r=t[0];var i=t[1]/100;var o=t[2]/100;var a=i;var u=Math.max(o,.01);var l;var h;o*=2;i*=o<=1?o:2-o;a*=u<=1?u:2-u;h=(o+i)/2;l=o===0?2*a/(u+a):2*i/(o+i);return[r,l*100,h*100]};l.hsv.rgb=function(t){var r=t[0]/60;var i=t[1]/100;var o=t[2]/100;var a=Math.floor(r)%6;var u=r-Math.floor(r);var l=255*o*(1-i);var h=255*o*(1-i*u);var p=255*o*(1-i*(1-u));o*=255;switch(a){case 0:return[o,p,l];case 1:return[h,o,l];case 2:return[l,o,p];case 3:return[l,h,o];case 4:return[p,l,o];case 5:return[o,l,h]}};l.hsv.hsl=function(t){var r=t[0];var i=t[1]/100;var o=t[2]/100;var a=Math.max(o,.01);var u;var l;var h;h=(2-i)*o;u=(2-i)*a;l=i*a;l/=u<=1?u:2-u;l=l||0;h/=2;return[r,l*100,h*100]};l.hwb.rgb=function(t){var r=t[0]/360;var i=t[1]/100;var o=t[2]/100;var a=i+o;var u;var l;var h;var p;if(a>1){i/=a;o/=a}u=Math.floor(6*r);l=1-o;h=6*r-u;if((u&1)!==0){h=1-h}p=i+h*(l-i);var d;var m;var g;switch(u){default:case 6:case 0:d=l;m=p;g=i;break;case 1:d=p;m=l;g=i;break;case 2:d=i;m=l;g=p;break;case 3:d=i;m=p;g=l;break;case 4:d=p;m=i;g=l;break;case 5:d=l;m=i;g=p;break}return[d*255,m*255,g*255]};l.cmyk.rgb=function(t){var r=t[0]/100;var i=t[1]/100;var o=t[2]/100;var a=t[3]/100;var u;var l;var h;u=1-Math.min(1,r*(1-a)+a);l=1-Math.min(1,i*(1-a)+a);h=1-Math.min(1,o*(1-a)+a);return[u*255,l*255,h*255]};l.xyz.rgb=function(t){var r=t[0]/100;var i=t[1]/100;var o=t[2]/100;var a;var u;var l;a=r*3.2406+i*-1.5372+o*-.4986;u=r*-.9689+i*1.8758+o*.0415;l=r*.0557+i*-.204+o*1.057;a=a>.0031308?1.055*Math.pow(a,1/2.4)-.055:a*12.92;u=u>.0031308?1.055*Math.pow(u,1/2.4)-.055:u*12.92;l=l>.0031308?1.055*Math.pow(l,1/2.4)-.055:l*12.92;a=Math.min(Math.max(0,a),1);u=Math.min(Math.max(0,u),1);l=Math.min(Math.max(0,l),1);return[a*255,u*255,l*255]};l.xyz.lab=function(t){var r=t[0];var i=t[1];var o=t[2];var a;var u;var l;r/=95.047;i/=100;o/=108.883;r=r>.008856?Math.pow(r,1/3):7.787*r+16/116;i=i>.008856?Math.pow(i,1/3):7.787*i+16/116;o=o>.008856?Math.pow(o,1/3):7.787*o+16/116;a=116*i-16;u=500*(r-i);l=200*(i-o);return[a,u,l]};l.lab.xyz=function(t){var r=t[0];var i=t[1];var o=t[2];var a;var u;var l;u=(r+16)/116;a=i/500+u;l=u-o/200;var h=Math.pow(u,3);var p=Math.pow(a,3);var d=Math.pow(l,3);u=h>.008856?h:(u-16/116)/7.787;a=p>.008856?p:(a-16/116)/7.787;l=d>.008856?d:(l-16/116)/7.787;a*=95.047;u*=100;l*=108.883;return[a,u,l]};l.lab.lch=function(t){var r=t[0];var i=t[1];var o=t[2];var a;var u;var l;a=Math.atan2(o,i);u=a*360/2/Math.PI;if(u<0){u+=360}l=Math.sqrt(i*i+o*o);return[r,l,u]};l.lch.lab=function(t){var r=t[0];var i=t[1];var o=t[2];var a;var u;var l;l=o/360*2*Math.PI;a=i*Math.cos(l);u=i*Math.sin(l);return[r,a,u]};l.rgb.ansi16=function(t){var r=t[0];var i=t[1];var o=t[2];var a=1 in arguments?arguments[1]:l.rgb.hsv(t)[2];a=Math.round(a/50);if(a===0){return 30}var u=30+(Math.round(o/255)<<2|Math.round(i/255)<<1|Math.round(r/255));if(a===2){u+=60}return u};l.hsv.ansi16=function(t){return l.rgb.ansi16(l.hsv.rgb(t),t[2])};l.rgb.ansi256=function(t){var r=t[0];var i=t[1];var o=t[2];if(r===i&&i===o){if(r<8){return 16}if(r>248){return 231}return Math.round((r-8)/247*24)+232}var a=16+36*Math.round(r/255*5)+6*Math.round(i/255*5)+Math.round(o/255*5);return a};l.ansi16.rgb=function(t){var r=t%10;if(r===0||r===7){if(t>50){r+=3.5}r=r/10.5*255;return[r,r,r]}var i=(~~(t>50)+1)*.5;var o=(r&1)*i*255;var a=(r>>1&1)*i*255;var u=(r>>2&1)*i*255;return[o,a,u]};l.ansi256.rgb=function(t){if(t>=232){var r=(t-232)*10+8;return[r,r,r]}t-=16;var i;var o=Math.floor(t/36)/5*255;var a=Math.floor((i=t%36)/6)/5*255;var u=i%6/5*255;return[o,a,u]};l.rgb.hex=function(t){var r=((Math.round(t[0])&255)<<16)+((Math.round(t[1])&255)<<8)+(Math.round(t[2])&255);var i=r.toString(16).toUpperCase();return"000000".substring(i.length)+i};l.hex.rgb=function(t){var r=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!r){return[0,0,0]}var i=r[0];if(r[0].length===3){i=i.split("").map((function(t){return t+t})).join("")}var o=parseInt(i,16);var a=o>>16&255;var u=o>>8&255;var l=o&255;return[a,u,l]};l.rgb.hcg=function(t){var r=t[0]/255;var i=t[1]/255;var o=t[2]/255;var a=Math.max(Math.max(r,i),o);var u=Math.min(Math.min(r,i),o);var l=a-u;var h;var p;if(l<1){h=u/(1-l)}else{h=0}if(l<=0){p=0}else if(a===r){p=(i-o)/l%6}else if(a===i){p=2+(o-r)/l}else{p=4+(r-i)/l+4}p/=6;p%=1;return[p*360,l*100,h*100]};l.hsl.hcg=function(t){var r=t[1]/100;var i=t[2]/100;var o=1;var a=0;if(i<.5){o=2*r*i}else{o=2*r*(1-i)}if(o<1){a=(i-.5*o)/(1-o)}return[t[0],o*100,a*100]};l.hsv.hcg=function(t){var r=t[1]/100;var i=t[2]/100;var o=r*i;var a=0;if(o<1){a=(i-o)/(1-o)}return[t[0],o*100,a*100]};l.hcg.rgb=function(t){var r=t[0]/360;var i=t[1]/100;var o=t[2]/100;if(i===0){return[o*255,o*255,o*255]}var a=[0,0,0];var u=r%1*6;var l=u%1;var h=1-l;var p=0;switch(Math.floor(u)){case 0:a[0]=1;a[1]=l;a[2]=0;break;case 1:a[0]=h;a[1]=1;a[2]=0;break;case 2:a[0]=0;a[1]=1;a[2]=l;break;case 3:a[0]=0;a[1]=h;a[2]=1;break;case 4:a[0]=l;a[1]=0;a[2]=1;break;default:a[0]=1;a[1]=0;a[2]=h}p=(1-i)*o;return[(i*a[0]+p)*255,(i*a[1]+p)*255,(i*a[2]+p)*255]};l.hcg.hsv=function(t){var r=t[1]/100;var i=t[2]/100;var o=r+i*(1-r);var a=0;if(o>0){a=r/o}return[t[0],a*100,o*100]};l.hcg.hsl=function(t){var r=t[1]/100;var i=t[2]/100;var o=i*(1-r)+.5*r;var a=0;if(o>0&&o<.5){a=r/(2*o)}else if(o>=.5&&o<1){a=r/(2*(1-o))}return[t[0],a*100,o*100]};l.hcg.hwb=function(t){var r=t[1]/100;var i=t[2]/100;var o=r+i*(1-r);return[t[0],(o-r)*100,(1-o)*100]};l.hwb.hcg=function(t){var r=t[1]/100;var i=t[2]/100;var o=1-i;var a=o-r;var u=0;if(a<1){u=(o-a)/(1-a)}return[t[0],a*100,u*100]};l.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]};l.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]};l.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]};l.gray.hsl=l.gray.hsv=function(t){return[0,0,t[0]]};l.gray.hwb=function(t){return[0,100,t[0]]};l.gray.cmyk=function(t){return[0,0,0,t[0]]};l.gray.lab=function(t){return[t[0],0,0]};l.gray.hex=function(t){var r=Math.round(t[0]/100*255)&255;var i=(r<<16)+(r<<8)+r;var o=i.toString(16).toUpperCase();return"000000".substring(o.length)+o};l.rgb.gray=function(t){var r=(t[0]+t[1]+t[2])/3;return[r/255*100]}},2830:(t,r,i)=>{var o=i(9598);var a=i(5180);var u={};var l=Object.keys(o);function wrapRaw(t){var wrappedFn=function(r){if(r===undefined||r===null){return r}if(arguments.length>1){r=Array.prototype.slice.call(arguments)}return t(r)};if("conversion"in t){wrappedFn.conversion=t.conversion}return wrappedFn}function wrapRounded(t){var wrappedFn=function(r){if(r===undefined||r===null){return r}if(arguments.length>1){r=Array.prototype.slice.call(arguments)}var i=t(r);if(typeof i==="object"){for(var o=i.length,a=0;a<o;a++){i[a]=Math.round(i[a])}}return i};if("conversion"in t){wrappedFn.conversion=t.conversion}return wrappedFn}l.forEach((function(t){u[t]={};Object.defineProperty(u[t],"channels",{value:o[t].channels});Object.defineProperty(u[t],"labels",{value:o[t].labels});var r=a(t);var i=Object.keys(r);i.forEach((function(i){var o=r[i];u[t][i]=wrapRounded(o);u[t][i].raw=wrapRaw(o)}))}));t.exports=u},9120:t=>{"use strict";t.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]}},5180:(t,r,i)=>{var o=i(9598);function buildGraph(){var t={};var r=Object.keys(o);for(var i=r.length,a=0;a<i;a++){t[r[a]]={distance:-1,parent:null}}return t}function deriveBFS(t){var r=buildGraph();var i=[t];r[t].distance=0;while(i.length){var a=i.pop();var u=Object.keys(o[a]);for(var l=u.length,h=0;h<l;h++){var p=u[h];var d=r[p];if(d.distance===-1){d.distance=r[a].distance+1;d.parent=a;i.unshift(p)}}}return r}function link(t,r){return function(i){return r(t(i))}}function wrapConversion(t,r){var i=[r[t].parent,t];var a=o[r[t].parent][t];var u=r[t].parent;while(r[u].parent){i.unshift(r[u].parent);a=link(o[r[u].parent][u],a);u=r[u].parent}a.conversion=i;return a}t.exports=function(t){var r=deriveBFS(t);var i={};var o=Object.keys(r);for(var a=o.length,u=0;u<a;u++){var l=o[u];var h=r[l];if(h.parent===null){continue}i[l]=wrapConversion(l,r)}return i}},9407:t=>{"use strict";t.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]}},7987:(t,r,i)=>{"use strict";const o=i(2081);const a=i(1655);const u=i(9738);function spawn(t,r,i){const l=a(t,r,i);const h=o.spawn(l.command,l.args,l.options);u.hookChildProcess(h,l);return h}function spawnSync(t,r,i){const l=a(t,r,i);const h=o.spawnSync(l.command,l.args,l.options);h.error=h.error||u.verifyENOENTSync(h.status,l);return h}t.exports=spawn;t.exports.spawn=spawn;t.exports.sync=spawnSync;t.exports._parse=a;t.exports._enoent=u},9738:t=>{"use strict";const r=process.platform==="win32";function notFoundError(t,r){return Object.assign(new Error(`${r} ${t.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${r} ${t.command}`,path:t.command,spawnargs:t.args})}function hookChildProcess(t,i){if(!r){return}const o=t.emit;t.emit=function(r,a){if(r==="exit"){const r=verifyENOENT(a,i,"spawn");if(r){return o.call(t,"error",r)}}return o.apply(t,arguments)}}function verifyENOENT(t,i){if(r&&t===1&&!i.file){return notFoundError(i.original,"spawn")}return null}function verifyENOENTSync(t,i){if(r&&t===1&&!i.file){return notFoundError(i.original,"spawnSync")}return null}t.exports={hookChildProcess:hookChildProcess,verifyENOENT:verifyENOENT,verifyENOENTSync:verifyENOENTSync,notFoundError:notFoundError}},1655:(t,r,i)=>{"use strict";const o=i(1017);const a=i(7534);const u=i(8902);const l=i(2964);const h=process.platform==="win32";const p=/\.(?:com|exe)$/i;const d=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function detectShebang(t){t.file=a(t);const r=t.file&&l(t.file);if(r){t.args.unshift(t.file);t.command=r;return a(t)}return t.file}function parseNonShell(t){if(!h){return t}const r=detectShebang(t);const i=!p.test(r);if(t.options.forceShell||i){const i=d.test(r);t.command=o.normalize(t.command);t.command=u.command(t.command);t.args=t.args.map((t=>u.argument(t,i)));const a=[t.command].concat(t.args).join(" ");t.args=["/d","/s","/c",`"${a}"`];t.command=process.env.comspec||"cmd.exe";t.options.windowsVerbatimArguments=true}return t}function parse(t,r,i){if(r&&!Array.isArray(r)){i=r;r=null}r=r?r.slice(0):[];i=Object.assign({},i);const o={command:t,args:r,options:i,file:undefined,original:{command:t,args:r}};return i.shell?o:parseNonShell(o)}t.exports=parse},8902:t=>{"use strict";const r=/([()\][%!^"`<>&|;, *?])/g;function escapeCommand(t){t=t.replace(r,"^$1");return t}function escapeArgument(t,i){t=`${t}`;t=t.replace(/(\\*)"/g,'$1$1\\"');t=t.replace(/(\\*)$/,"$1$1");t=`"${t}"`;t=t.replace(r,"^$1");if(i){t=t.replace(r,"^$1")}return t}t.exports.command=escapeCommand;t.exports.argument=escapeArgument},2964:(t,r,i)=>{"use strict";const o=i(7147);const a=i(382);function readShebang(t){const r=150;const i=Buffer.alloc(r);let u;try{u=o.openSync(t,"r");o.readSync(u,i,0,r,0);o.closeSync(u)}catch(t){}return a(i.toString())}t.exports=readShebang},7534:(t,r,i)=>{"use strict";const o=i(1017);const a=i(6362);const u=i(6661);function resolveCommandAttempt(t,r){const i=t.options.env||process.env;const l=process.cwd();const h=t.options.cwd!=null;const p=h&&process.chdir!==undefined&&!process.chdir.disabled;if(p){try{process.chdir(t.options.cwd)}catch(t){}}let d;try{d=a.sync(t.command,{path:i[u({env:i})],pathExt:r?o.delimiter:undefined})}catch(t){}finally{if(p){process.chdir(l)}}if(d){d=o.resolve(h?t.options.cwd:"",d)}return d}function resolveCommand(t){return resolveCommandAttempt(t)||resolveCommandAttempt(t,true)}t.exports=resolveCommand},6661:t=>{"use strict";const pathKey=(t={})=>{const r=t.env||process.env;const i=t.platform||process.platform;if(i!=="win32"){return"PATH"}return Object.keys(r).reverse().find((t=>t.toUpperCase()==="PATH"))||"Path"};t.exports=pathKey;t.exports["default"]=pathKey},382:(t,r,i)=>{"use strict";const o=i(8690);t.exports=(t="")=>{const r=t.match(o);if(!r){return null}const[i,a]=r[0].replace(/#! ?/,"").split(" ");const u=i.split("/").pop();if(u==="env"){return a}return a?`${u} ${a}`:u}},8690:t=>{"use strict";t.exports=/^#!(.*)/},6362:(t,r,i)=>{const o=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys";const a=i(1017);const u=o?";":":";const l=i(228);const getNotFoundError=t=>Object.assign(new Error(`not found: ${t}`),{code:"ENOENT"});const getPathInfo=(t,r)=>{const i=r.colon||u;const a=t.match(/\//)||o&&t.match(/\\/)?[""]:[...o?[process.cwd()]:[],...(r.path||process.env.PATH||"").split(i)];const l=o?r.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"";const h=o?l.split(i):[""];if(o){if(t.indexOf(".")!==-1&&h[0]!=="")h.unshift("")}return{pathEnv:a,pathExt:h,pathExtExe:l}};const which=(t,r,i)=>{if(typeof r==="function"){i=r;r={}}if(!r)r={};const{pathEnv:o,pathExt:u,pathExtExe:h}=getPathInfo(t,r);const p=[];const step=i=>new Promise(((u,l)=>{if(i===o.length)return r.all&&p.length?u(p):l(getNotFoundError(t));const h=o[i];const d=/^".*"$/.test(h)?h.slice(1,-1):h;const m=a.join(d,t);const g=!d&&/^\.[\\\/]/.test(t)?t.slice(0,2)+m:m;u(subStep(g,i,0))}));const subStep=(t,i,o)=>new Promise(((a,d)=>{if(o===u.length)return a(step(i+1));const m=u[o];l(t+m,{pathExt:h},((u,l)=>{if(!u&&l){if(r.all)p.push(t+m);else return a(t+m)}return a(subStep(t,i,o+1))}))}));return i?step(0).then((t=>i(null,t)),i):step(0)};const whichSync=(t,r)=>{r=r||{};const{pathEnv:i,pathExt:o,pathExtExe:u}=getPathInfo(t,r);const h=[];for(let p=0;p<i.length;p++){const d=i[p];const m=/^".*"$/.test(d)?d.slice(1,-1):d;const g=a.join(m,t);const y=!m&&/^\.[\\\/]/.test(t)?t.slice(0,2)+g:g;for(let t=0;t<o.length;t++){const i=y+o[t];try{const t=l.sync(i,{pathExt:u});if(t){if(r.all)h.push(i);else return i}}catch(t){}}}if(r.all&&h.length)return h;if(r.nothrow)return null;throw getNotFoundError(t)};t.exports=which;which.sync=whichSync},9851:(t,r,i)=>{r.formatArgs=formatArgs;r.save=save;r.load=load;r.useColors=useColors;r.storage=localstorage();r.destroy=(()=>{let t=false;return()=>{if(!t){t=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`.")}}})();r.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 t;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&&(t=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(t[1],10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function formatArgs(r){r[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+r[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff);if(!this.useColors){return}const i="color: "+this.color;r.splice(1,0,i,"color: inherit");let o=0;let a=0;r[0].replace(/%[a-zA-Z%]/g,(t=>{if(t==="%%"){return}o++;if(t==="%c"){a=o}}));r.splice(a,0,i)}r.log=console.debug||console.log||(()=>{});function save(t){try{if(t){r.storage.setItem("debug",t)}else{r.storage.removeItem("debug")}}catch(t){}}function load(){let t;try{t=r.storage.getItem("debug")}catch(t){}if(!t&&typeof process!=="undefined"&&"env"in process){t=process.env.DEBUG}return t}function localstorage(){try{return localStorage}catch(t){}}t.exports=i(6033)(r);const{formatters:o}=t.exports;o.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},6033:(t,r,i)=>{function setup(t){createDebug.debug=createDebug;createDebug.default=createDebug;createDebug.coerce=coerce;createDebug.disable=disable;createDebug.enable=enable;createDebug.enabled=enabled;createDebug.humanize=i(40);createDebug.destroy=destroy;Object.keys(t).forEach((r=>{createDebug[r]=t[r]}));createDebug.names=[];createDebug.skips=[];createDebug.formatters={};function selectColor(t){let r=0;for(let i=0;i<t.length;i++){r=(r<<5)-r+t.charCodeAt(i);r|=0}return createDebug.colors[Math.abs(r)%createDebug.colors.length]}createDebug.selectColor=selectColor;function createDebug(t){let r;let i=null;let o;let a;function debug(...t){if(!debug.enabled){return}const i=debug;const o=Number(new Date);const a=o-(r||o);i.diff=a;i.prev=r;i.curr=o;r=o;t[0]=createDebug.coerce(t[0]);if(typeof t[0]!=="string"){t.unshift("%O")}let u=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,((r,o)=>{if(r==="%%"){return"%"}u++;const a=createDebug.formatters[o];if(typeof a==="function"){const o=t[u];r=a.call(i,o);t.splice(u,1);u--}return r}));createDebug.formatArgs.call(i,t);const l=i.log||createDebug.log;l.apply(i,t)}debug.namespace=t;debug.useColors=createDebug.useColors();debug.color=createDebug.selectColor(t);debug.extend=extend;debug.destroy=createDebug.destroy;Object.defineProperty(debug,"enabled",{enumerable:true,configurable:false,get:()=>{if(i!==null){return i}if(o!==createDebug.namespaces){o=createDebug.namespaces;a=createDebug.enabled(t)}return a},set:t=>{i=t}});if(typeof createDebug.init==="function"){createDebug.init(debug)}return debug}function extend(t,r){const i=createDebug(this.namespace+(typeof r==="undefined"?":":r)+t);i.log=this.log;return i}function enable(t){createDebug.save(t);createDebug.namespaces=t;createDebug.names=[];createDebug.skips=[];let r;const i=(typeof t==="string"?t:"").split(/[\s,]+/);const o=i.length;for(r=0;r<o;r++){if(!i[r]){continue}t=i[r].replace(/\*/g,".*?");if(t[0]==="-"){createDebug.skips.push(new RegExp("^"+t.slice(1)+"$"))}else{createDebug.names.push(new RegExp("^"+t+"$"))}}}function disable(){const t=[...createDebug.names.map(toNamespace),...createDebug.skips.map(toNamespace).map((t=>"-"+t))].join(",");createDebug.enable("");return t}function enabled(t){if(t[t.length-1]==="*"){return true}let r;let i;for(r=0,i=createDebug.skips.length;r<i;r++){if(createDebug.skips[r].test(t)){return false}}for(r=0,i=createDebug.names.length;r<i;r++){if(createDebug.names[r].test(t)){return true}}return false}function toNamespace(t){return t.toString().substring(2,t.toString().length-2).replace(/\.\*\?$/,"*")}function coerce(t){if(t instanceof Error){return t.stack||t.message}return t}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}t.exports=setup},7984:(t,r,i)=>{if(typeof process==="undefined"||process.type==="renderer"||process.browser===true||process.__nwjs){t.exports=i(9851)}else{t.exports=i(3860)}},3860:(t,r,i)=>{const o=i(6224);const a=i(3837);r.init=init;r.log=log;r.formatArgs=formatArgs;r.save=save;r.load=load;r.useColors=useColors;r.destroy=a.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");r.colors=[6,2,3,4,5,1];try{const t=i(395);if(t&&(t.stderr||t).level>=2){r.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(t){}r.inspectOpts=Object.keys(process.env).filter((t=>/^debug_/i.test(t))).reduce(((t,r)=>{const i=r.substring(6).toLowerCase().replace(/_([a-z])/g,((t,r)=>r.toUpperCase()));let o=process.env[r];if(/^(yes|on|true|enabled)$/i.test(o)){o=true}else if(/^(no|off|false|disabled)$/i.test(o)){o=false}else if(o==="null"){o=null}else{o=Number(o)}t[i]=o;return t}),{});function useColors(){return"colors"in r.inspectOpts?Boolean(r.inspectOpts.colors):o.isatty(process.stderr.fd)}function formatArgs(r){const{namespace:i,useColors:o}=this;if(o){const o=this.color;const a="[3"+(o<8?o:"8;5;"+o);const u=` ${a};1m${i} [0m`;r[0]=u+r[0].split("\n").join("\n"+u);r.push(a+"m+"+t.exports.humanize(this.diff)+"[0m")}else{r[0]=getDate()+i+" "+r[0]}}function getDate(){if(r.inspectOpts.hideDate){return""}return(new Date).toISOString()+" "}function log(...t){return process.stderr.write(a.formatWithOptions(r.inspectOpts,...t)+"\n")}function save(t){if(t){process.env.DEBUG=t}else{delete process.env.DEBUG}}function load(){return process.env.DEBUG}function init(t){t.inspectOpts={};const i=Object.keys(r.inspectOpts);for(let o=0;o<i.length;o++){t.inspectOpts[i[o]]=r.inspectOpts[i[o]]}}t.exports=i(6033)(r);const{formatters:u}=t.exports;u.o=function(t){this.inspectOpts.colors=this.useColors;return a.inspect(t,this.inspectOpts).split("\n").map((t=>t.trim())).join(" ")};u.O=function(t){this.inspectOpts.colors=this.useColors;return a.inspect(t,this.inspectOpts)}},5134:t=>{"use strict";
|
|
2
|
+
(()=>{var __webpack_modules__={4971:(t,r,i)=>{"use strict";t=i.nmd(t);const o=i(2830);const wrapAnsi16=(t,r)=>function(){const i=t.apply(o,arguments);return`[${i+r}m`};const wrapAnsi256=(t,r)=>function(){const i=t.apply(o,arguments);return`[${38+r};5;${i}m`};const wrapAnsi16m=(t,r)=>function(){const i=t.apply(o,arguments);return`[${38+r};2;${i[0]};${i[1]};${i[2]}m`};function assembleStyles(){const t=new Map;const r={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],gray:[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]}};r.color.grey=r.color.gray;for(const i of Object.keys(r)){const o=r[i];for(const i of Object.keys(o)){const a=o[i];r[i]={open:`[${a[0]}m`,close:`[${a[1]}m`};o[i]=r[i];t.set(a[0],a[1])}Object.defineProperty(r,i,{value:o,enumerable:false});Object.defineProperty(r,"codes",{value:t,enumerable:false})}const ansi2ansi=t=>t;const rgb2rgb=(t,r,i)=>[t,r,i];r.color.close="[39m";r.bgColor.close="[49m";r.color.ansi={ansi:wrapAnsi16(ansi2ansi,0)};r.color.ansi256={ansi256:wrapAnsi256(ansi2ansi,0)};r.color.ansi16m={rgb:wrapAnsi16m(rgb2rgb,0)};r.bgColor.ansi={ansi:wrapAnsi16(ansi2ansi,10)};r.bgColor.ansi256={ansi256:wrapAnsi256(ansi2ansi,10)};r.bgColor.ansi16m={rgb:wrapAnsi16m(rgb2rgb,10)};for(let t of Object.keys(o)){if(typeof o[t]!=="object"){continue}const i=o[t];if(t==="ansi16"){t="ansi"}if("ansi16"in i){r.color.ansi[t]=wrapAnsi16(i.ansi16,0);r.bgColor.ansi[t]=wrapAnsi16(i.ansi16,10)}if("ansi256"in i){r.color.ansi256[t]=wrapAnsi256(i.ansi256,0);r.bgColor.ansi256[t]=wrapAnsi256(i.ansi256,10)}if("rgb"in i){r.color.ansi16m[t]=wrapAnsi16m(i.rgb,0);r.bgColor.ansi16m[t]=wrapAnsi16m(i.rgb,10)}}return r}Object.defineProperty(t,"exports",{enumerable:true,get:assembleStyles})},6870:(t,r,i)=>{"use strict";const o=i(5978);const a=i(4971);const u=i(1851).stdout;const l=i(6094);const h=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm");const p=["ansi","ansi","ansi256","ansi16m"];const d=new Set(["gray"]);const m=Object.create(null);function applyOptions(t,r){r=r||{};const i=u?u.level:0;t.level=r.level===undefined?i:r.level;t.enabled="enabled"in r?r.enabled:t.level>0}function Chalk(t){if(!this||!(this instanceof Chalk)||this.template){const r={};applyOptions(r,t);r.template=function(){const t=[].slice.call(arguments);return chalkTag.apply(null,[r.template].concat(t))};Object.setPrototypeOf(r,Chalk.prototype);Object.setPrototypeOf(r.template,r);r.template.constructor=Chalk;return r.template}applyOptions(this,t)}if(h){a.blue.open="[94m"}for(const t of Object.keys(a)){a[t].closeRe=new RegExp(o(a[t].close),"g");m[t]={get(){const r=a[t];return build.call(this,this._styles?this._styles.concat(r):[r],this._empty,t)}}}m.visible={get(){return build.call(this,this._styles||[],true,"visible")}};a.color.closeRe=new RegExp(o(a.color.close),"g");for(const t of Object.keys(a.color.ansi)){if(d.has(t)){continue}m[t]={get(){const r=this.level;return function(){const i=a.color[p[r]][t].apply(null,arguments);const o={open:i,close:a.color.close,closeRe:a.color.closeRe};return build.call(this,this._styles?this._styles.concat(o):[o],this._empty,t)}}}}a.bgColor.closeRe=new RegExp(o(a.bgColor.close),"g");for(const t of Object.keys(a.bgColor.ansi)){if(d.has(t)){continue}const r="bg"+t[0].toUpperCase()+t.slice(1);m[r]={get(){const r=this.level;return function(){const i=a.bgColor[p[r]][t].apply(null,arguments);const o={open:i,close:a.bgColor.close,closeRe:a.bgColor.closeRe};return build.call(this,this._styles?this._styles.concat(o):[o],this._empty,t)}}}}const g=Object.defineProperties((()=>{}),m);function build(t,r,i){const builder=function(){return applyStyle.apply(builder,arguments)};builder._styles=t;builder._empty=r;const o=this;Object.defineProperty(builder,"level",{enumerable:true,get(){return o.level},set(t){o.level=t}});Object.defineProperty(builder,"enabled",{enumerable:true,get(){return o.enabled},set(t){o.enabled=t}});builder.hasGrey=this.hasGrey||i==="gray"||i==="grey";builder.__proto__=g;return builder}function applyStyle(){const t=arguments;const r=t.length;let i=String(arguments[0]);if(r===0){return""}if(r>1){for(let o=1;o<r;o++){i+=" "+t[o]}}if(!this.enabled||this.level<=0||!i){return this._empty?"":i}const o=a.dim.open;if(h&&this.hasGrey){a.dim.open=""}for(const t of this._styles.slice().reverse()){i=t.open+i.replace(t.closeRe,t.open)+t.close;i=i.replace(/\r?\n/g,`${t.close}$&${t.open}`)}a.dim.open=o;return i}function chalkTag(t,r){if(!Array.isArray(r)){return[].slice.call(arguments,1).join(" ")}const i=[].slice.call(arguments,2);const o=[r.raw[0]];for(let t=1;t<r.length;t++){o.push(String(i[t-1]).replace(/[{}\\]/g,"\\$&"));o.push(String(r.raw[t]))}return l(t,o.join(""))}Object.defineProperties(Chalk.prototype,m);t.exports=Chalk();t.exports.supportsColor=u;t.exports["default"]=t.exports},6094:t=>{"use strict";const r=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;const i=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;const o=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;const a=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi;const u=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(t){if(t[0]==="u"&&t.length===5||t[0]==="x"&&t.length===3){return String.fromCharCode(parseInt(t.slice(1),16))}return u.get(t)||t}function parseArguments(t,r){const i=[];const u=r.trim().split(/\s*,\s*/g);let l;for(const r of u){if(!isNaN(r)){i.push(Number(r))}else if(l=r.match(o)){i.push(l[2].replace(a,((t,r,i)=>r?unescape(r):i)))}else{throw new Error(`Invalid Chalk template style argument: ${r} (in style '${t}')`)}}return i}function parseStyle(t){i.lastIndex=0;const r=[];let o;while((o=i.exec(t))!==null){const t=o[1];if(o[2]){const i=parseArguments(t,o[2]);r.push([t].concat(i))}else{r.push([t])}}return r}function buildStyle(t,r){const i={};for(const t of r){for(const r of t.styles){i[r[0]]=t.inverse?null:r.slice(1)}}let o=t;for(const t of Object.keys(i)){if(Array.isArray(i[t])){if(!(t in o)){throw new Error(`Unknown Chalk style: ${t}`)}if(i[t].length>0){o=o[t].apply(o,i[t])}else{o=o[t]}}}return o}t.exports=(t,i)=>{const o=[];const a=[];let u=[];i.replace(r,((r,i,l,h,p,d)=>{if(i){u.push(unescape(i))}else if(h){const r=u.join("");u=[];a.push(o.length===0?r:buildStyle(t,o)(r));o.push({inverse:l,styles:parseStyle(h)})}else if(p){if(o.length===0){throw new Error("Found extraneous } in Chalk template literal")}a.push(buildStyle(t,o)(u.join("")));u=[];o.pop()}else{u.push(d)}}));a.push(u.join(""));if(o.length>0){const t=`Chalk template literal is missing ${o.length} closing bracket${o.length===1?"":"s"} (\`}\`)`;throw new Error(t)}return a.join("")}},5978:t=>{"use strict";var r=/[|\\{}()[\]^$+*?.]/g;t.exports=function(t){if(typeof t!=="string"){throw new TypeError("Expected a string")}return t.replace(r,"\\$&")}},6966:t=>{"use strict";t.exports=(t,r)=>{r=r||process.argv;const i=t.startsWith("-")?"":t.length===1?"-":"--";const o=r.indexOf(i+t);const a=r.indexOf("--");return o!==-1&&(a===-1?true:o<a)}},1851:(t,r,i)=>{"use strict";const o=i(2037);const a=i(6966);const u=process.env;let l;if(a("no-color")||a("no-colors")||a("color=false")){l=false}else if(a("color")||a("colors")||a("color=true")||a("color=always")){l=true}if("FORCE_COLOR"in u){l=u.FORCE_COLOR.length===0||parseInt(u.FORCE_COLOR,10)!==0}function translateLevel(t){if(t===0){return false}return{level:t,hasBasic:true,has256:t>=2,has16m:t>=3}}function supportsColor(t){if(l===false){return 0}if(a("color=16m")||a("color=full")||a("color=truecolor")){return 3}if(a("color=256")){return 2}if(t&&!t.isTTY&&l!==true){return 0}const r=l?1:0;if(process.platform==="win32"){const t=o.release().split(".");if(Number(process.versions.node.split(".")[0])>=8&&Number(t[0])>=10&&Number(t[2])>=10586){return Number(t[2])>=14931?3:2}return 1}if("CI"in u){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((t=>t in u))||u.CI_NAME==="codeship"){return 1}return r}if("TEAMCITY_VERSION"in u){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(u.TEAMCITY_VERSION)?1:0}if(u.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in u){const t=parseInt((u.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(u.TERM_PROGRAM){case"iTerm.app":return t>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(u.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(u.TERM)){return 1}if("COLORTERM"in u){return 1}if(u.TERM==="dumb"){return r}return r}function getSupportLevel(t){const r=supportsColor(t);return translateLevel(r)}t.exports={supportsColor:getSupportLevel,stdout:getSupportLevel(process.stdout),stderr:getSupportLevel(process.stderr)}},5642:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};const a=o(i(7987));function spawnAsync(t,r,i={}){const o=new Error;const u=o.stack?o.stack.replace(/^.*/," ..."):null;let l;let h=new Promise(((o,h)=>{let{ignoreStdio:p,...d}=i;l=(0,a.default)(t,r,d);let m="";let g="";if(!p){if(l.stdout){l.stdout.on("data",(t=>{m+=t}))}if(l.stderr){l.stderr.on("data",(t=>{g+=t}))}}let completionListener=(i,a)=>{l.removeListener("error",errorListener);let p={pid:l.pid,output:[m,g],stdout:m,stderr:g,status:i,signal:a};if(i!==0){let o=r&&r.length>0?` ${r.join(" ")}`:"";let l=a?new Error(`${t}${o} exited with signal: ${a}`):new Error(`${t}${o} exited with non-zero code: ${i}`);if(l.stack&&u){l.stack+=`\n${u}`}Object.assign(l,p);h(l)}else{o(p)}};let errorListener=t=>{if(p){l.removeListener("exit",completionListener)}else{l.removeListener("close",completionListener)}Object.assign(t,{pid:l.pid,output:[m,g],stdout:m,stderr:g,status:null,signal:null});h(t)};if(p){l.once("exit",completionListener)}else{l.once("close",completionListener)}l.once("error",errorListener)}));h.child=l;return h}t.exports=spawnAsync},1088:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.createFileSystemAdapter=r.FILE_SYSTEM_ADAPTER=void 0;const o=i(7147);r.FILE_SYSTEM_ADAPTER={lstat:o.lstat,stat:o.stat,lstatSync:o.lstatSync,statSync:o.statSync,readdir:o.readdir,readdirSync:o.readdirSync};function createFileSystemAdapter(t){if(t===undefined){return r.FILE_SYSTEM_ADAPTER}return Object.assign(Object.assign({},r.FILE_SYSTEM_ADAPTER),t)}r.createFileSystemAdapter=createFileSystemAdapter},4919:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;const i=process.versions.node.split(".");if(i[0]===undefined||i[1]===undefined){throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`)}const o=Number.parseInt(i[0],10);const a=Number.parseInt(i[1],10);const u=10;const l=10;const h=o>u;const p=o===u&&a>=l;r.IS_SUPPORT_READDIR_WITH_FILE_TYPES=h||p},7552:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.Settings=r.scandirSync=r.scandir=void 0;const o=i(7091);const a=i(1328);const u=i(3022);r.Settings=u.default;function scandir(t,r,i){if(typeof r==="function"){o.read(t,getSettings(),r);return}o.read(t,getSettings(r),i)}r.scandir=scandir;function scandirSync(t,r){const i=getSettings(r);return a.read(t,i)}r.scandirSync=scandirSync;function getSettings(t={}){if(t instanceof u.default){return t}return new u.default(t)}},7091:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.readdir=r.readdirWithFileTypes=r.read=void 0;const o=i(2580);const a=i(1188);const u=i(4919);const l=i(1210);const h=i(4845);function read(t,r,i){if(!r.stats&&u.IS_SUPPORT_READDIR_WITH_FILE_TYPES){readdirWithFileTypes(t,r,i);return}readdir(t,r,i)}r.read=read;function readdirWithFileTypes(t,r,i){r.fs.readdir(t,{withFileTypes:true},((o,u)=>{if(o!==null){callFailureCallback(i,o);return}const l=u.map((i=>({dirent:i,name:i.name,path:h.joinPathSegments(t,i.name,r.pathSegmentSeparator)})));if(!r.followSymbolicLinks){callSuccessCallback(i,l);return}const p=l.map((t=>makeRplTaskEntry(t,r)));a(p,((t,r)=>{if(t!==null){callFailureCallback(i,t);return}callSuccessCallback(i,r)}))}))}r.readdirWithFileTypes=readdirWithFileTypes;function makeRplTaskEntry(t,r){return i=>{if(!t.dirent.isSymbolicLink()){i(null,t);return}r.fs.stat(t.path,((o,a)=>{if(o!==null){if(r.throwErrorOnBrokenSymbolicLink){i(o);return}i(null,t);return}t.dirent=l.fs.createDirentFromStats(t.name,a);i(null,t)}))}}function readdir(t,r,i){r.fs.readdir(t,((u,p)=>{if(u!==null){callFailureCallback(i,u);return}const d=p.map((i=>{const a=h.joinPathSegments(t,i,r.pathSegmentSeparator);return t=>{o.stat(a,r.fsStatSettings,((o,u)=>{if(o!==null){t(o);return}const h={name:i,path:a,dirent:l.fs.createDirentFromStats(i,u)};if(r.stats){h.stats=u}t(null,h)}))}}));a(d,((t,r)=>{if(t!==null){callFailureCallback(i,t);return}callSuccessCallback(i,r)}))}))}r.readdir=readdir;function callFailureCallback(t,r){t(r)}function callSuccessCallback(t,r){t(null,r)}},4845:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.joinPathSegments=void 0;function joinPathSegments(t,r,i){if(t.endsWith(i)){return t+r}return t+i+r}r.joinPathSegments=joinPathSegments},1328:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.readdir=r.readdirWithFileTypes=r.read=void 0;const o=i(2580);const a=i(4919);const u=i(1210);const l=i(4845);function read(t,r){if(!r.stats&&a.IS_SUPPORT_READDIR_WITH_FILE_TYPES){return readdirWithFileTypes(t,r)}return readdir(t,r)}r.read=read;function readdirWithFileTypes(t,r){const i=r.fs.readdirSync(t,{withFileTypes:true});return i.map((i=>{const o={dirent:i,name:i.name,path:l.joinPathSegments(t,i.name,r.pathSegmentSeparator)};if(o.dirent.isSymbolicLink()&&r.followSymbolicLinks){try{const t=r.fs.statSync(o.path);o.dirent=u.fs.createDirentFromStats(o.name,t)}catch(t){if(r.throwErrorOnBrokenSymbolicLink){throw t}}}return o}))}r.readdirWithFileTypes=readdirWithFileTypes;function readdir(t,r){const i=r.fs.readdirSync(t);return i.map((i=>{const a=l.joinPathSegments(t,i,r.pathSegmentSeparator);const h=o.statSync(a,r.fsStatSettings);const p={name:i,path:a,dirent:u.fs.createDirentFromStats(i,h)};if(r.stats){p.stats=h}return p}))}r.readdir=readdir},3022:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});const o=i(1017);const a=i(2580);const u=i(1088);class Settings{constructor(t={}){this._options=t;this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,false);this.fs=u.createFileSystemAdapter(this._options.fs);this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,o.sep);this.stats=this._getValue(this._options.stats,false);this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,true);this.fsStatSettings=new a.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(t,r){return t!==null&&t!==void 0?t:r}}r["default"]=Settings},7794:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.createDirentFromStats=void 0;class DirentFromStats{constructor(t,r){this.name=t;this.isBlockDevice=r.isBlockDevice.bind(r);this.isCharacterDevice=r.isCharacterDevice.bind(r);this.isDirectory=r.isDirectory.bind(r);this.isFIFO=r.isFIFO.bind(r);this.isFile=r.isFile.bind(r);this.isSocket=r.isSocket.bind(r);this.isSymbolicLink=r.isSymbolicLink.bind(r)}}function createDirentFromStats(t,r){return new DirentFromStats(t,r)}r.createDirentFromStats=createDirentFromStats},1210:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.fs=void 0;const o=i(7794);r.fs=o},7650:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.createFileSystemAdapter=r.FILE_SYSTEM_ADAPTER=void 0;const o=i(7147);r.FILE_SYSTEM_ADAPTER={lstat:o.lstat,stat:o.stat,lstatSync:o.lstatSync,statSync:o.statSync};function createFileSystemAdapter(t){if(t===undefined){return r.FILE_SYSTEM_ADAPTER}return Object.assign(Object.assign({},r.FILE_SYSTEM_ADAPTER),t)}r.createFileSystemAdapter=createFileSystemAdapter},2580:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.statSync=r.stat=r.Settings=void 0;const o=i(5939);const a=i(105);const u=i(2466);r.Settings=u.default;function stat(t,r,i){if(typeof r==="function"){o.read(t,getSettings(),r);return}o.read(t,getSettings(r),i)}r.stat=stat;function statSync(t,r){const i=getSettings(r);return a.read(t,i)}r.statSync=statSync;function getSettings(t={}){if(t instanceof u.default){return t}return new u.default(t)}},5939:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.read=void 0;function read(t,r,i){r.fs.lstat(t,((o,a)=>{if(o!==null){callFailureCallback(i,o);return}if(!a.isSymbolicLink()||!r.followSymbolicLink){callSuccessCallback(i,a);return}r.fs.stat(t,((t,o)=>{if(t!==null){if(r.throwErrorOnBrokenSymbolicLink){callFailureCallback(i,t);return}callSuccessCallback(i,a);return}if(r.markSymbolicLink){o.isSymbolicLink=()=>true}callSuccessCallback(i,o)}))}))}r.read=read;function callFailureCallback(t,r){t(r)}function callSuccessCallback(t,r){t(null,r)}},105:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.read=void 0;function read(t,r){const i=r.fs.lstatSync(t);if(!i.isSymbolicLink()||!r.followSymbolicLink){return i}try{const i=r.fs.statSync(t);if(r.markSymbolicLink){i.isSymbolicLink=()=>true}return i}catch(t){if(!r.throwErrorOnBrokenSymbolicLink){return i}throw t}}r.read=read},2466:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});const o=i(7650);class Settings{constructor(t={}){this._options=t;this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,true);this.fs=o.createFileSystemAdapter(this._options.fs);this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,false);this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,true)}_getValue(t,r){return t!==null&&t!==void 0?t:r}}r["default"]=Settings},803:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.Settings=r.walkStream=r.walkSync=r.walk=void 0;const o=i(6887);const a=i(7499);const u=i(6875);const l=i(8265);r.Settings=l.default;function walk(t,r,i){if(typeof r==="function"){new o.default(t,getSettings()).read(r);return}new o.default(t,getSettings(r)).read(i)}r.walk=walk;function walkSync(t,r){const i=getSettings(r);const o=new u.default(t,i);return o.read()}r.walkSync=walkSync;function walkStream(t,r){const i=getSettings(r);const o=new a.default(t,i);return o.read()}r.walkStream=walkStream;function getSettings(t={}){if(t instanceof l.default){return t}return new l.default(t)}},6887:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});const o=i(6203);class AsyncProvider{constructor(t,r){this._root=t;this._settings=r;this._reader=new o.default(this._root,this._settings);this._storage=[]}read(t){this._reader.onError((r=>{callFailureCallback(t,r)}));this._reader.onEntry((t=>{this._storage.push(t)}));this._reader.onEnd((()=>{callSuccessCallback(t,this._storage)}));this._reader.read()}}r["default"]=AsyncProvider;function callFailureCallback(t,r){t(r)}function callSuccessCallback(t,r){t(null,r)}},7499:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});const o=i(2781);const a=i(6203);class StreamProvider{constructor(t,r){this._root=t;this._settings=r;this._reader=new a.default(this._root,this._settings);this._stream=new o.Readable({objectMode:true,read:()=>{},destroy:()=>{if(!this._reader.isDestroyed){this._reader.destroy()}}})}read(){this._reader.onError((t=>{this._stream.emit("error",t)}));this._reader.onEntry((t=>{this._stream.push(t)}));this._reader.onEnd((()=>{this._stream.push(null)}));this._reader.read();return this._stream}}r["default"]=StreamProvider},6875:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});const o=i(1214);class SyncProvider{constructor(t,r){this._root=t;this._settings=r;this._reader=new o.default(this._root,this._settings)}read(){return this._reader.read()}}r["default"]=SyncProvider},6203:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});const o=i(2361);const a=i(7552);const u=i(2696);const l=i(7628);const h=i(3402);class AsyncReader extends h.default{constructor(t,r){super(t,r);this._settings=r;this._scandir=a.scandir;this._emitter=new o.EventEmitter;this._queue=u(this._worker.bind(this),this._settings.concurrency);this._isFatalError=false;this._isDestroyed=false;this._queue.drain=()=>{if(!this._isFatalError){this._emitter.emit("end")}}}read(){this._isFatalError=false;this._isDestroyed=false;setImmediate((()=>{this._pushToQueue(this._root,this._settings.basePath)}));return this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed){throw new Error("The reader is already destroyed")}this._isDestroyed=true;this._queue.killAndDrain()}onEntry(t){this._emitter.on("entry",t)}onError(t){this._emitter.once("error",t)}onEnd(t){this._emitter.once("end",t)}_pushToQueue(t,r){const i={directory:t,base:r};this._queue.push(i,(t=>{if(t!==null){this._handleError(t)}}))}_worker(t,r){this._scandir(t.directory,this._settings.fsScandirSettings,((i,o)=>{if(i!==null){r(i,undefined);return}for(const r of o){this._handleEntry(r,t.base)}r(null,undefined)}))}_handleError(t){if(this._isDestroyed||!l.isFatalError(this._settings,t)){return}this._isFatalError=true;this._isDestroyed=true;this._emitter.emit("error",t)}_handleEntry(t,r){if(this._isDestroyed||this._isFatalError){return}const i=t.path;if(r!==undefined){t.path=l.joinPathSegments(r,t.name,this._settings.pathSegmentSeparator)}if(l.isAppliedFilter(this._settings.entryFilter,t)){this._emitEntry(t)}if(t.dirent.isDirectory()&&l.isAppliedFilter(this._settings.deepFilter,t)){this._pushToQueue(i,r===undefined?undefined:t.path)}}_emitEntry(t){this._emitter.emit("entry",t)}}r["default"]=AsyncReader},7628:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.joinPathSegments=r.replacePathSegmentSeparator=r.isAppliedFilter=r.isFatalError=void 0;function isFatalError(t,r){if(t.errorFilter===null){return true}return!t.errorFilter(r)}r.isFatalError=isFatalError;function isAppliedFilter(t,r){return t===null||t(r)}r.isAppliedFilter=isAppliedFilter;function replacePathSegmentSeparator(t,r){return t.split(/[/\\]/).join(r)}r.replacePathSegmentSeparator=replacePathSegmentSeparator;function joinPathSegments(t,r,i){if(t===""){return r}if(t.endsWith(i)){return t+r}return t+i+r}r.joinPathSegments=joinPathSegments},3402:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});const o=i(7628);class Reader{constructor(t,r){this._root=t;this._settings=r;this._root=o.replacePathSegmentSeparator(t,r.pathSegmentSeparator)}}r["default"]=Reader},1214:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});const o=i(7552);const a=i(7628);const u=i(3402);class SyncReader extends u.default{constructor(){super(...arguments);this._scandir=o.scandirSync;this._storage=[];this._queue=new Set}read(){this._pushToQueue(this._root,this._settings.basePath);this._handleQueue();return this._storage}_pushToQueue(t,r){this._queue.add({directory:t,base:r})}_handleQueue(){for(const t of this._queue.values()){this._handleDirectory(t.directory,t.base)}}_handleDirectory(t,r){try{const i=this._scandir(t,this._settings.fsScandirSettings);for(const t of i){this._handleEntry(t,r)}}catch(t){this._handleError(t)}}_handleError(t){if(!a.isFatalError(this._settings,t)){return}throw t}_handleEntry(t,r){const i=t.path;if(r!==undefined){t.path=a.joinPathSegments(r,t.name,this._settings.pathSegmentSeparator)}if(a.isAppliedFilter(this._settings.entryFilter,t)){this._pushToStorage(t)}if(t.dirent.isDirectory()&&a.isAppliedFilter(this._settings.deepFilter,t)){this._pushToQueue(i,r===undefined?undefined:t.path)}}_pushToStorage(t){this._storage.push(t)}}r["default"]=SyncReader},8265:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});const o=i(1017);const a=i(7552);class Settings{constructor(t={}){this._options=t;this.basePath=this._getValue(this._options.basePath,undefined);this.concurrency=this._getValue(this._options.concurrency,Number.POSITIVE_INFINITY);this.deepFilter=this._getValue(this._options.deepFilter,null);this.entryFilter=this._getValue(this._options.entryFilter,null);this.errorFilter=this._getValue(this._options.errorFilter,null);this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,o.sep);this.fsScandirSettings=new a.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(t,r){return t!==null&&t!==void 0?t:r}}r["default"]=Settings},3741:(t,r,i)=>{"use strict";t=i.nmd(t);const wrapAnsi16=(t,r)=>(...i)=>{const o=t(...i);return`[${o+r}m`};const wrapAnsi256=(t,r)=>(...i)=>{const o=t(...i);return`[${38+r};5;${o}m`};const wrapAnsi16m=(t,r)=>(...i)=>{const o=t(...i);return`[${38+r};2;${o[0]};${o[1]};${o[2]}m`};const ansi2ansi=t=>t;const rgb2rgb=(t,r,i)=>[t,r,i];const setLazyProperty=(t,r,i)=>{Object.defineProperty(t,r,{get:()=>{const o=i();Object.defineProperty(t,r,{value:o,enumerable:true,configurable:true});return o},enumerable:true,configurable:true})};let o;const makeDynamicStyles=(t,r,a,u)=>{if(o===undefined){o=i(1593)}const l=u?10:0;const h={};for(const[i,u]of Object.entries(o)){const o=i==="ansi16"?"ansi":i;if(i===r){h[o]=t(a,l)}else if(typeof u==="object"){h[o]=t(u[r],l)}}return h};function assembleStyles(){const t=new Map;const r={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]}};r.color.gray=r.color.blackBright;r.bgColor.bgGray=r.bgColor.bgBlackBright;r.color.grey=r.color.blackBright;r.bgColor.bgGrey=r.bgColor.bgBlackBright;for(const[i,o]of Object.entries(r)){for(const[i,a]of Object.entries(o)){r[i]={open:`[${a[0]}m`,close:`[${a[1]}m`};o[i]=r[i];t.set(a[0],a[1])}Object.defineProperty(r,i,{value:o,enumerable:false})}Object.defineProperty(r,"codes",{value:t,enumerable:false});r.color.close="[39m";r.bgColor.close="[49m";setLazyProperty(r.color,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,false)));setLazyProperty(r.color,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,false)));setLazyProperty(r.color,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,false)));setLazyProperty(r.bgColor,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,true)));setLazyProperty(r.bgColor,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,true)));setLazyProperty(r.bgColor,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,true)));return r}Object.defineProperty(t,"exports",{enumerable:true,get:assembleStyles})},7606:(t,r,i)=>{const o=i(9407);const a={};for(const t of Object.keys(o)){a[o[t]]=t}const u={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"]}};t.exports=u;for(const t of Object.keys(u)){if(!("channels"in u[t])){throw new Error("missing channels property: "+t)}if(!("labels"in u[t])){throw new Error("missing channel labels property: "+t)}if(u[t].labels.length!==u[t].channels){throw new Error("channel and label counts mismatch: "+t)}const{channels:r,labels:i}=u[t];delete u[t].channels;delete u[t].labels;Object.defineProperty(u[t],"channels",{value:r});Object.defineProperty(u[t],"labels",{value:i})}u.rgb.hsl=function(t){const r=t[0]/255;const i=t[1]/255;const o=t[2]/255;const a=Math.min(r,i,o);const u=Math.max(r,i,o);const l=u-a;let h;let p;if(u===a){h=0}else if(r===u){h=(i-o)/l}else if(i===u){h=2+(o-r)/l}else if(o===u){h=4+(r-i)/l}h=Math.min(h*60,360);if(h<0){h+=360}const d=(a+u)/2;if(u===a){p=0}else if(d<=.5){p=l/(u+a)}else{p=l/(2-u-a)}return[h,p*100,d*100]};u.rgb.hsv=function(t){let r;let i;let o;let a;let u;const l=t[0]/255;const h=t[1]/255;const p=t[2]/255;const d=Math.max(l,h,p);const m=d-Math.min(l,h,p);const diffc=function(t){return(d-t)/6/m+1/2};if(m===0){a=0;u=0}else{u=m/d;r=diffc(l);i=diffc(h);o=diffc(p);if(l===d){a=o-i}else if(h===d){a=1/3+r-o}else if(p===d){a=2/3+i-r}if(a<0){a+=1}else if(a>1){a-=1}}return[a*360,u*100,d*100]};u.rgb.hwb=function(t){const r=t[0];const i=t[1];let o=t[2];const a=u.rgb.hsl(t)[0];const l=1/255*Math.min(r,Math.min(i,o));o=1-1/255*Math.max(r,Math.max(i,o));return[a,l*100,o*100]};u.rgb.cmyk=function(t){const r=t[0]/255;const i=t[1]/255;const o=t[2]/255;const a=Math.min(1-r,1-i,1-o);const u=(1-r-a)/(1-a)||0;const l=(1-i-a)/(1-a)||0;const h=(1-o-a)/(1-a)||0;return[u*100,l*100,h*100,a*100]};function comparativeDistance(t,r){return(t[0]-r[0])**2+(t[1]-r[1])**2+(t[2]-r[2])**2}u.rgb.keyword=function(t){const r=a[t];if(r){return r}let i=Infinity;let u;for(const r of Object.keys(o)){const a=o[r];const l=comparativeDistance(t,a);if(l<i){i=l;u=r}}return u};u.keyword.rgb=function(t){return o[t]};u.rgb.xyz=function(t){let r=t[0]/255;let i=t[1]/255;let o=t[2]/255;r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;i=i>.04045?((i+.055)/1.055)**2.4:i/12.92;o=o>.04045?((o+.055)/1.055)**2.4:o/12.92;const a=r*.4124+i*.3576+o*.1805;const u=r*.2126+i*.7152+o*.0722;const l=r*.0193+i*.1192+o*.9505;return[a*100,u*100,l*100]};u.rgb.lab=function(t){const r=u.rgb.xyz(t);let i=r[0];let o=r[1];let a=r[2];i/=95.047;o/=100;a/=108.883;i=i>.008856?i**(1/3):7.787*i+16/116;o=o>.008856?o**(1/3):7.787*o+16/116;a=a>.008856?a**(1/3):7.787*a+16/116;const l=116*o-16;const h=500*(i-o);const p=200*(o-a);return[l,h,p]};u.hsl.rgb=function(t){const r=t[0]/360;const i=t[1]/100;const o=t[2]/100;let a;let u;let l;if(i===0){l=o*255;return[l,l,l]}if(o<.5){a=o*(1+i)}else{a=o+i-o*i}const h=2*o-a;const p=[0,0,0];for(let t=0;t<3;t++){u=r+1/3*-(t-1);if(u<0){u++}if(u>1){u--}if(6*u<1){l=h+(a-h)*6*u}else if(2*u<1){l=a}else if(3*u<2){l=h+(a-h)*(2/3-u)*6}else{l=h}p[t]=l*255}return p};u.hsl.hsv=function(t){const r=t[0];let i=t[1]/100;let o=t[2]/100;let a=i;const u=Math.max(o,.01);o*=2;i*=o<=1?o:2-o;a*=u<=1?u:2-u;const l=(o+i)/2;const h=o===0?2*a/(u+a):2*i/(o+i);return[r,h*100,l*100]};u.hsv.rgb=function(t){const r=t[0]/60;const i=t[1]/100;let o=t[2]/100;const a=Math.floor(r)%6;const u=r-Math.floor(r);const l=255*o*(1-i);const h=255*o*(1-i*u);const p=255*o*(1-i*(1-u));o*=255;switch(a){case 0:return[o,p,l];case 1:return[h,o,l];case 2:return[l,o,p];case 3:return[l,h,o];case 4:return[p,l,o];case 5:return[o,l,h]}};u.hsv.hsl=function(t){const r=t[0];const i=t[1]/100;const o=t[2]/100;const a=Math.max(o,.01);let u;let l;l=(2-i)*o;const h=(2-i)*a;u=i*a;u/=h<=1?h:2-h;u=u||0;l/=2;return[r,u*100,l*100]};u.hwb.rgb=function(t){const r=t[0]/360;let i=t[1]/100;let o=t[2]/100;const a=i+o;let u;if(a>1){i/=a;o/=a}const l=Math.floor(6*r);const h=1-o;u=6*r-l;if((l&1)!==0){u=1-u}const p=i+u*(h-i);let d;let m;let g;switch(l){default:case 6:case 0:d=h;m=p;g=i;break;case 1:d=p;m=h;g=i;break;case 2:d=i;m=h;g=p;break;case 3:d=i;m=p;g=h;break;case 4:d=p;m=i;g=h;break;case 5:d=h;m=i;g=p;break}return[d*255,m*255,g*255]};u.cmyk.rgb=function(t){const r=t[0]/100;const i=t[1]/100;const o=t[2]/100;const a=t[3]/100;const u=1-Math.min(1,r*(1-a)+a);const l=1-Math.min(1,i*(1-a)+a);const h=1-Math.min(1,o*(1-a)+a);return[u*255,l*255,h*255]};u.xyz.rgb=function(t){const r=t[0]/100;const i=t[1]/100;const o=t[2]/100;let a;let u;let l;a=r*3.2406+i*-1.5372+o*-.4986;u=r*-.9689+i*1.8758+o*.0415;l=r*.0557+i*-.204+o*1.057;a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92;u=u>.0031308?1.055*u**(1/2.4)-.055:u*12.92;l=l>.0031308?1.055*l**(1/2.4)-.055:l*12.92;a=Math.min(Math.max(0,a),1);u=Math.min(Math.max(0,u),1);l=Math.min(Math.max(0,l),1);return[a*255,u*255,l*255]};u.xyz.lab=function(t){let r=t[0];let i=t[1];let o=t[2];r/=95.047;i/=100;o/=108.883;r=r>.008856?r**(1/3):7.787*r+16/116;i=i>.008856?i**(1/3):7.787*i+16/116;o=o>.008856?o**(1/3):7.787*o+16/116;const a=116*i-16;const u=500*(r-i);const l=200*(i-o);return[a,u,l]};u.lab.xyz=function(t){const r=t[0];const i=t[1];const o=t[2];let a;let u;let l;u=(r+16)/116;a=i/500+u;l=u-o/200;const h=u**3;const p=a**3;const d=l**3;u=h>.008856?h:(u-16/116)/7.787;a=p>.008856?p:(a-16/116)/7.787;l=d>.008856?d:(l-16/116)/7.787;a*=95.047;u*=100;l*=108.883;return[a,u,l]};u.lab.lch=function(t){const r=t[0];const i=t[1];const o=t[2];let a;const u=Math.atan2(o,i);a=u*360/2/Math.PI;if(a<0){a+=360}const l=Math.sqrt(i*i+o*o);return[r,l,a]};u.lch.lab=function(t){const r=t[0];const i=t[1];const o=t[2];const a=o/360*2*Math.PI;const u=i*Math.cos(a);const l=i*Math.sin(a);return[r,u,l]};u.rgb.ansi16=function(t,r=null){const[i,o,a]=t;let l=r===null?u.rgb.hsv(t)[2]:r;l=Math.round(l/50);if(l===0){return 30}let h=30+(Math.round(a/255)<<2|Math.round(o/255)<<1|Math.round(i/255));if(l===2){h+=60}return h};u.hsv.ansi16=function(t){return u.rgb.ansi16(u.hsv.rgb(t),t[2])};u.rgb.ansi256=function(t){const r=t[0];const i=t[1];const o=t[2];if(r===i&&i===o){if(r<8){return 16}if(r>248){return 231}return Math.round((r-8)/247*24)+232}const a=16+36*Math.round(r/255*5)+6*Math.round(i/255*5)+Math.round(o/255*5);return a};u.ansi16.rgb=function(t){let r=t%10;if(r===0||r===7){if(t>50){r+=3.5}r=r/10.5*255;return[r,r,r]}const i=(~~(t>50)+1)*.5;const o=(r&1)*i*255;const a=(r>>1&1)*i*255;const u=(r>>2&1)*i*255;return[o,a,u]};u.ansi256.rgb=function(t){if(t>=232){const r=(t-232)*10+8;return[r,r,r]}t-=16;let r;const i=Math.floor(t/36)/5*255;const o=Math.floor((r=t%36)/6)/5*255;const a=r%6/5*255;return[i,o,a]};u.rgb.hex=function(t){const r=((Math.round(t[0])&255)<<16)+((Math.round(t[1])&255)<<8)+(Math.round(t[2])&255);const i=r.toString(16).toUpperCase();return"000000".substring(i.length)+i};u.hex.rgb=function(t){const r=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!r){return[0,0,0]}let i=r[0];if(r[0].length===3){i=i.split("").map((t=>t+t)).join("")}const o=parseInt(i,16);const a=o>>16&255;const u=o>>8&255;const l=o&255;return[a,u,l]};u.rgb.hcg=function(t){const r=t[0]/255;const i=t[1]/255;const o=t[2]/255;const a=Math.max(Math.max(r,i),o);const u=Math.min(Math.min(r,i),o);const l=a-u;let h;let p;if(l<1){h=u/(1-l)}else{h=0}if(l<=0){p=0}else if(a===r){p=(i-o)/l%6}else if(a===i){p=2+(o-r)/l}else{p=4+(r-i)/l}p/=6;p%=1;return[p*360,l*100,h*100]};u.hsl.hcg=function(t){const r=t[1]/100;const i=t[2]/100;const o=i<.5?2*r*i:2*r*(1-i);let a=0;if(o<1){a=(i-.5*o)/(1-o)}return[t[0],o*100,a*100]};u.hsv.hcg=function(t){const r=t[1]/100;const i=t[2]/100;const o=r*i;let a=0;if(o<1){a=(i-o)/(1-o)}return[t[0],o*100,a*100]};u.hcg.rgb=function(t){const r=t[0]/360;const i=t[1]/100;const o=t[2]/100;if(i===0){return[o*255,o*255,o*255]}const a=[0,0,0];const u=r%1*6;const l=u%1;const h=1-l;let p=0;switch(Math.floor(u)){case 0:a[0]=1;a[1]=l;a[2]=0;break;case 1:a[0]=h;a[1]=1;a[2]=0;break;case 2:a[0]=0;a[1]=1;a[2]=l;break;case 3:a[0]=0;a[1]=h;a[2]=1;break;case 4:a[0]=l;a[1]=0;a[2]=1;break;default:a[0]=1;a[1]=0;a[2]=h}p=(1-i)*o;return[(i*a[0]+p)*255,(i*a[1]+p)*255,(i*a[2]+p)*255]};u.hcg.hsv=function(t){const r=t[1]/100;const i=t[2]/100;const o=r+i*(1-r);let a=0;if(o>0){a=r/o}return[t[0],a*100,o*100]};u.hcg.hsl=function(t){const r=t[1]/100;const i=t[2]/100;const o=i*(1-r)+.5*r;let a=0;if(o>0&&o<.5){a=r/(2*o)}else if(o>=.5&&o<1){a=r/(2*(1-o))}return[t[0],a*100,o*100]};u.hcg.hwb=function(t){const r=t[1]/100;const i=t[2]/100;const o=r+i*(1-r);return[t[0],(o-r)*100,(1-o)*100]};u.hwb.hcg=function(t){const r=t[1]/100;const i=t[2]/100;const o=1-i;const a=o-r;let u=0;if(a<1){u=(o-a)/(1-a)}return[t[0],a*100,u*100]};u.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]};u.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]};u.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]};u.gray.hsl=function(t){return[0,0,t[0]]};u.gray.hsv=u.gray.hsl;u.gray.hwb=function(t){return[0,100,t[0]]};u.gray.cmyk=function(t){return[0,0,0,t[0]]};u.gray.lab=function(t){return[t[0],0,0]};u.gray.hex=function(t){const r=Math.round(t[0]/100*255)&255;const i=(r<<16)+(r<<8)+r;const o=i.toString(16).toUpperCase();return"000000".substring(o.length)+o};u.rgb.gray=function(t){const r=(t[0]+t[1]+t[2])/3;return[r/255*100]}},1593:(t,r,i)=>{const o=i(7606);const a=i(1529);const u={};const l=Object.keys(o);function wrapRaw(t){const wrappedFn=function(...r){const i=r[0];if(i===undefined||i===null){return i}if(i.length>1){r=i}return t(r)};if("conversion"in t){wrappedFn.conversion=t.conversion}return wrappedFn}function wrapRounded(t){const wrappedFn=function(...r){const i=r[0];if(i===undefined||i===null){return i}if(i.length>1){r=i}const o=t(r);if(typeof o==="object"){for(let t=o.length,r=0;r<t;r++){o[r]=Math.round(o[r])}}return o};if("conversion"in t){wrappedFn.conversion=t.conversion}return wrappedFn}l.forEach((t=>{u[t]={};Object.defineProperty(u[t],"channels",{value:o[t].channels});Object.defineProperty(u[t],"labels",{value:o[t].labels});const r=a(t);const i=Object.keys(r);i.forEach((i=>{const o=r[i];u[t][i]=wrapRounded(o);u[t][i].raw=wrapRaw(o)}))}));t.exports=u},1529:(t,r,i)=>{const o=i(7606);function buildGraph(){const t={};const r=Object.keys(o);for(let i=r.length,o=0;o<i;o++){t[r[o]]={distance:-1,parent:null}}return t}function deriveBFS(t){const r=buildGraph();const i=[t];r[t].distance=0;while(i.length){const t=i.pop();const a=Object.keys(o[t]);for(let o=a.length,u=0;u<o;u++){const o=a[u];const l=r[o];if(l.distance===-1){l.distance=r[t].distance+1;l.parent=t;i.unshift(o)}}}return r}function link(t,r){return function(i){return r(t(i))}}function wrapConversion(t,r){const i=[r[t].parent,t];let a=o[r[t].parent][t];let u=r[t].parent;while(r[u].parent){i.unshift(r[u].parent);a=link(o[r[u].parent][u],a);u=r[u].parent}a.conversion=i;return a}t.exports=function(t){const r=deriveBFS(t);const i={};const o=Object.keys(r);for(let t=o.length,a=0;a<t;a++){const t=o[a];const u=r[t];if(u.parent===null){continue}i[t]=wrapConversion(t,r)}return i}},4816:t=>{const r=Symbol("arg flag");class ArgError extends Error{constructor(t,r){super(t);this.name="ArgError";this.code=r;Object.setPrototypeOf(this,ArgError.prototype)}}function arg(t,{argv:i=process.argv.slice(2),permissive:o=false,stopAtPositional:a=false}={}){if(!t){throw new ArgError("argument specification object is required","ARG_CONFIG_NO_SPEC")}const u={_:[]};const l={};const h={};for(const i of Object.keys(t)){if(!i){throw new ArgError("argument key cannot be an empty string","ARG_CONFIG_EMPTY_KEY")}if(i[0]!=="-"){throw new ArgError(`argument key must start with '-' but found: '${i}'`,"ARG_CONFIG_NONOPT_KEY")}if(i.length===1){throw new ArgError(`argument key must have a name; singular '-' keys are not allowed: ${i}`,"ARG_CONFIG_NONAME_KEY")}if(typeof t[i]==="string"){l[i]=t[i];continue}let o=t[i];let a=false;if(Array.isArray(o)&&o.length===1&&typeof o[0]==="function"){const[t]=o;o=(r,i,o=[])=>{o.push(t(r,i,o[o.length-1]));return o};a=t===Boolean||t[r]===true}else if(typeof o==="function"){a=o===Boolean||o[r]===true}else{throw new ArgError(`type missing or not a function or valid array type: ${i}`,"ARG_CONFIG_VAD_TYPE")}if(i[1]!=="-"&&i.length>2){throw new ArgError(`short argument keys (with a single hyphen) must have only one character: ${i}`,"ARG_CONFIG_SHORTOPT_TOOLONG")}h[i]=[o,a]}for(let t=0,r=i.length;t<r;t++){const r=i[t];if(a&&u._.length>0){u._=u._.concat(i.slice(t));break}if(r==="--"){u._=u._.concat(i.slice(t+1));break}if(r.length>1&&r[0]==="-"){const a=r[1]==="-"||r.length===2?[r]:r.slice(1).split("").map((t=>`-${t}`));for(let r=0;r<a.length;r++){const p=a[r];const[d,m]=p[1]==="-"?p.split(/=(.*)/,2):[p,undefined];let g=d;while(g in l){g=l[g]}if(!(g in h)){if(o){u._.push(p);continue}else{throw new ArgError(`unknown or unexpected option: ${d}`,"ARG_UNKNOWN_OPTION")}}const[y,A]=h[g];if(!A&&r+1<a.length){throw new ArgError(`option requires argument (but was followed by another short argument): ${d}`,"ARG_MISSING_REQUIRED_SHORTARG")}if(A){u[g]=y(true,g,u[g])}else if(m===undefined){if(i.length<t+2||i[t+1].length>1&&i[t+1][0]==="-"&&!(i[t+1].match(/^-?\d*(\.(?=\d))?\d*$/)&&(y===Number||typeof BigInt!=="undefined"&&y===BigInt))){const t=d===g?"":` (alias for ${g})`;throw new ArgError(`option requires argument: ${d}${t}`,"ARG_MISSING_REQUIRED_LONGARG")}u[g]=y(i[t+1],g,u[g]);++t}else{u[g]=y(m,g,u[g])}}}else{u._.push(r)}}return u}arg.flag=t=>{t[r]=true;return t};arg.COUNT=arg.flag(((t,r,i)=>(i||0)+1));arg.ArgError=ArgError;t.exports=arg},538:(t,r,i)=>{"use strict";const o=i(9200);const a=i(3668);const u=i(5961);const l=i(9594);const braces=(t,r={})=>{let i=[];if(Array.isArray(t)){for(const o of t){const t=braces.create(o,r);if(Array.isArray(t)){i.push(...t)}else{i.push(t)}}}else{i=[].concat(braces.create(t,r))}if(r&&r.expand===true&&r.nodupes===true){i=[...new Set(i)]}return i};braces.parse=(t,r={})=>l(t,r);braces.stringify=(t,r={})=>{if(typeof t==="string"){return o(braces.parse(t,r),r)}return o(t,r)};braces.compile=(t,r={})=>{if(typeof t==="string"){t=braces.parse(t,r)}return a(t,r)};braces.expand=(t,r={})=>{if(typeof t==="string"){t=braces.parse(t,r)}let i=u(t,r);if(r.noempty===true){i=i.filter(Boolean)}if(r.nodupes===true){i=[...new Set(i)]}return i};braces.create=(t,r={})=>{if(t===""||t.length<3){return[t]}return r.expand!==true?braces.compile(t,r):braces.expand(t,r)};t.exports=braces},3668:(t,r,i)=>{"use strict";const o=i(3488);const a=i(4691);const compile=(t,r={})=>{const walk=(t,i={})=>{const u=a.isInvalidBrace(i);const l=t.invalid===true&&r.escapeInvalid===true;const h=u===true||l===true;const p=r.escapeInvalid===true?"\\":"";let d="";if(t.isOpen===true){return p+t.value}if(t.isClose===true){console.log("node.isClose",p,t.value);return p+t.value}if(t.type==="open"){return h?p+t.value:"("}if(t.type==="close"){return h?p+t.value:")"}if(t.type==="comma"){return t.prev.type==="comma"?"":h?t.value:"|"}if(t.value){return t.value}if(t.nodes&&t.ranges>0){const i=a.reduce(t.nodes);const u=o(...i,{...r,wrap:false,toRegex:true,strictZeros:true});if(u.length!==0){return i.length>1&&u.length>1?`(${u})`:u}}if(t.nodes){for(const r of t.nodes){d+=walk(r,t)}}return d};return walk(t)};t.exports=compile},5529:t=>{"use strict";t.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"}},5961:(t,r,i)=>{"use strict";const o=i(3488);const a=i(9200);const u=i(4691);const append=(t="",r="",i=false)=>{const o=[];t=[].concat(t);r=[].concat(r);if(!r.length)return t;if(!t.length){return i?u.flatten(r).map((t=>`{${t}}`)):r}for(const a of t){if(Array.isArray(a)){for(const t of a){o.push(append(t,r,i))}}else{for(let t of r){if(i===true&&typeof t==="string")t=`{${t}}`;o.push(Array.isArray(t)?append(a,t,i):a+t)}}}return u.flatten(o)};const expand=(t,r={})=>{const i=r.rangeLimit===undefined?1e3:r.rangeLimit;const walk=(t,l={})=>{t.queue=[];let h=l;let p=l.queue;while(h.type!=="brace"&&h.type!=="root"&&h.parent){h=h.parent;p=h.queue}if(t.invalid||t.dollar){p.push(append(p.pop(),a(t,r)));return}if(t.type==="brace"&&t.invalid!==true&&t.nodes.length===2){p.push(append(p.pop(),["{}"]));return}if(t.nodes&&t.ranges>0){const l=u.reduce(t.nodes);if(u.exceedsLimit(...l,r.step,i)){throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.")}let h=o(...l,r);if(h.length===0){h=a(t,r)}p.push(append(p.pop(),h));t.nodes=[];return}const d=u.encloseBrace(t);let m=t.queue;let g=t;while(g.type!=="brace"&&g.type!=="root"&&g.parent){g=g.parent;m=g.queue}for(let r=0;r<t.nodes.length;r++){const i=t.nodes[r];if(i.type==="comma"&&t.type==="brace"){if(r===1)m.push("");m.push("");continue}if(i.type==="close"){p.push(append(p.pop(),m,d));continue}if(i.value&&i.type!=="open"){m.push(append(m.pop(),i.value));continue}if(i.nodes){walk(i,t)}}return m};return u.flatten(walk(t))};t.exports=expand},9594:(t,r,i)=>{"use strict";const o=i(9200);const{MAX_LENGTH:a,CHAR_BACKSLASH:u,CHAR_BACKTICK:l,CHAR_COMMA:h,CHAR_DOT:p,CHAR_LEFT_PARENTHESES:d,CHAR_RIGHT_PARENTHESES:m,CHAR_LEFT_CURLY_BRACE:g,CHAR_RIGHT_CURLY_BRACE:y,CHAR_LEFT_SQUARE_BRACKET:A,CHAR_RIGHT_SQUARE_BRACKET:b,CHAR_DOUBLE_QUOTE:v,CHAR_SINGLE_QUOTE:E,CHAR_NO_BREAK_SPACE:w,CHAR_ZERO_WIDTH_NOBREAK_SPACE:_}=i(5529);const parse=(t,r={})=>{if(typeof t!=="string"){throw new TypeError("Expected a string")}const i=r||{};const S=typeof i.maxLength==="number"?Math.min(a,i.maxLength):a;if(t.length>S){throw new SyntaxError(`Input length (${t.length}), exceeds max characters (${S})`)}const C={type:"root",input:t,nodes:[]};const D=[C];let x=C;let R=C;let O=0;const k=t.length;let P=0;let T=0;let L;const advance=()=>t[P++];const push=t=>{if(t.type==="text"&&R.type==="dot"){R.type="text"}if(R&&R.type==="text"&&t.type==="text"){R.value+=t.value;return}x.nodes.push(t);t.parent=x;t.prev=R;R=t;return t};push({type:"bos"});while(P<k){x=D[D.length-1];L=advance();if(L===_||L===w){continue}if(L===u){push({type:"text",value:(r.keepEscaping?L:"")+advance()});continue}if(L===b){push({type:"text",value:"\\"+L});continue}if(L===A){O++;let t;while(P<k&&(t=advance())){L+=t;if(t===A){O++;continue}if(t===u){L+=advance();continue}if(t===b){O--;if(O===0){break}}}push({type:"text",value:L});continue}if(L===d){x=push({type:"paren",nodes:[]});D.push(x);push({type:"text",value:L});continue}if(L===m){if(x.type!=="paren"){push({type:"text",value:L});continue}x=D.pop();push({type:"text",value:L});x=D[D.length-1];continue}if(L===v||L===E||L===l){const t=L;let i;if(r.keepQuotes!==true){L=""}while(P<k&&(i=advance())){if(i===u){L+=i+advance();continue}if(i===t){if(r.keepQuotes===true)L+=i;break}L+=i}push({type:"text",value:L});continue}if(L===g){T++;const t=R.value&&R.value.slice(-1)==="$"||x.dollar===true;const r={type:"brace",open:true,close:false,dollar:t,depth:T,commas:0,ranges:0,nodes:[]};x=push(r);D.push(x);push({type:"open",value:L});continue}if(L===y){if(x.type!=="brace"){push({type:"text",value:L});continue}const t="close";x=D.pop();x.close=true;push({type:t,value:L});T--;x=D[D.length-1];continue}if(L===h&&T>0){if(x.ranges>0){x.ranges=0;const t=x.nodes.shift();x.nodes=[t,{type:"text",value:o(x)}]}push({type:"comma",value:L});x.commas++;continue}if(L===p&&T>0&&x.commas===0){const t=x.nodes;if(T===0||t.length===0){push({type:"text",value:L});continue}if(R.type==="dot"){x.range=[];R.value+=L;R.type="range";if(x.nodes.length!==3&&x.nodes.length!==5){x.invalid=true;x.ranges=0;R.type="text";continue}x.ranges++;x.args=[];continue}if(R.type==="range"){t.pop();const r=t[t.length-1];r.value+=R.value+L;R=r;x.ranges--;continue}push({type:"dot",value:L});continue}push({type:"text",value:L})}do{x=D.pop();if(x.type!=="root"){x.nodes.forEach((t=>{if(!t.nodes){if(t.type==="open")t.isOpen=true;if(t.type==="close")t.isClose=true;if(!t.nodes)t.type="text";t.invalid=true}}));const t=D[D.length-1];const r=t.nodes.indexOf(x);t.nodes.splice(r,1,...x.nodes)}}while(D.length>0);push({type:"eos"});return C};t.exports=parse},9200:(t,r,i)=>{"use strict";const o=i(4691);t.exports=(t,r={})=>{const stringify=(t,i={})=>{const a=r.escapeInvalid&&o.isInvalidBrace(i);const u=t.invalid===true&&r.escapeInvalid===true;let l="";if(t.value){if((a||u)&&o.isOpenOrClose(t)){return"\\"+t.value}return t.value}if(t.value){return t.value}if(t.nodes){for(const r of t.nodes){l+=stringify(r)}}return l};return stringify(t)}},4691:(t,r)=>{"use strict";r.isInteger=t=>{if(typeof t==="number"){return Number.isInteger(t)}if(typeof t==="string"&&t.trim()!==""){return Number.isInteger(Number(t))}return false};r.find=(t,r)=>t.nodes.find((t=>t.type===r));r.exceedsLimit=(t,i,o=1,a)=>{if(a===false)return false;if(!r.isInteger(t)||!r.isInteger(i))return false;return(Number(i)-Number(t))/Number(o)>=a};r.escapeNode=(t,r=0,i)=>{const o=t.nodes[r];if(!o)return;if(i&&o.type===i||o.type==="open"||o.type==="close"){if(o.escaped!==true){o.value="\\"+o.value;o.escaped=true}}};r.encloseBrace=t=>{if(t.type!=="brace")return false;if(t.commas>>0+t.ranges>>0===0){t.invalid=true;return true}return false};r.isInvalidBrace=t=>{if(t.type!=="brace")return false;if(t.invalid===true||t.dollar)return true;if(t.commas>>0+t.ranges>>0===0){t.invalid=true;return true}if(t.open!==true||t.close!==true){t.invalid=true;return true}return false};r.isOpenOrClose=t=>{if(t.type==="open"||t.type==="close"){return true}return t.open===true||t.close===true};r.reduce=t=>t.reduce(((t,r)=>{if(r.type==="text")t.push(r.value);if(r.type==="range")r.type="text";return t}),[]);r.flatten=(...t)=>{const r=[];const flat=t=>{for(let i=0;i<t.length;i++){const o=t[i];if(Array.isArray(o)){flat(o);continue}if(o!==undefined){r.push(o)}}return r};flat(t);return r}},8746:(t,r,i)=>{"use strict";const o=i(3741);const{stdout:a,stderr:u}=i(395);const{stringReplaceAll:l,stringEncaseCRLFWithFirstIndex:h}=i(5611);const{isArray:p}=Array;const d=["ansi","ansi","ansi256","ansi16m"];const m=Object.create(null);const applyOptions=(t,r={})=>{if(r.level&&!(Number.isInteger(r.level)&&r.level>=0&&r.level<=3)){throw new Error("The `level` option should be an integer from 0 to 3")}const i=a?a.level:0;t.level=r.level===undefined?i:r.level};class ChalkClass{constructor(t){return chalkFactory(t)}}const chalkFactory=t=>{const r={};applyOptions(r,t);r.template=(...t)=>chalkTag(r.template,...t);Object.setPrototypeOf(r,Chalk.prototype);Object.setPrototypeOf(r.template,r);r.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")};r.template.Instance=ChalkClass;return r.template};function Chalk(t){return chalkFactory(t)}for(const[t,r]of Object.entries(o)){m[t]={get(){const i=createBuilder(this,createStyler(r.open,r.close,this._styler),this._isEmpty);Object.defineProperty(this,t,{value:i});return i}}}m.visible={get(){const t=createBuilder(this,this._styler,true);Object.defineProperty(this,"visible",{value:t});return t}};const g=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const t of g){m[t]={get(){const{level:r}=this;return function(...i){const a=createStyler(o.color[d[r]][t](...i),o.color.close,this._styler);return createBuilder(this,a,this._isEmpty)}}}}for(const t of g){const r="bg"+t[0].toUpperCase()+t.slice(1);m[r]={get(){const{level:r}=this;return function(...i){const a=createStyler(o.bgColor[d[r]][t](...i),o.bgColor.close,this._styler);return createBuilder(this,a,this._isEmpty)}}}}const y=Object.defineProperties((()=>{}),{...m,level:{enumerable:true,get(){return this._generator.level},set(t){this._generator.level=t}}});const createStyler=(t,r,i)=>{let o;let a;if(i===undefined){o=t;a=r}else{o=i.openAll+t;a=r+i.closeAll}return{open:t,close:r,openAll:o,closeAll:a,parent:i}};const createBuilder=(t,r,i)=>{const builder=(...t)=>{if(p(t[0])&&p(t[0].raw)){return applyStyle(builder,chalkTag(builder,...t))}return applyStyle(builder,t.length===1?""+t[0]:t.join(" "))};Object.setPrototypeOf(builder,y);builder._generator=t;builder._styler=r;builder._isEmpty=i;return builder};const applyStyle=(t,r)=>{if(t.level<=0||!r){return t._isEmpty?"":r}let i=t._styler;if(i===undefined){return r}const{openAll:o,closeAll:a}=i;if(r.indexOf("")!==-1){while(i!==undefined){r=l(r,i.close,i.open);i=i.parent}}const u=r.indexOf("\n");if(u!==-1){r=h(r,a,o,u)}return o+r+a};let A;const chalkTag=(t,...r)=>{const[o]=r;if(!p(o)||!p(o.raw)){return r.join(" ")}const a=r.slice(1);const u=[o.raw[0]];for(let t=1;t<o.length;t++){u.push(String(a[t-1]).replace(/[{}\\]/g,"\\$&"),String(o.raw[t]))}if(A===undefined){A=i(2746)}return A(t,u.join(""))};Object.defineProperties(Chalk.prototype,m);const b=Chalk();b.supportsColor=a;b.stderr=Chalk({level:u?u.level:0});b.stderr.supportsColor=u;t.exports=b},2746:t=>{"use strict";const r=/(?:\\(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 i=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;const o=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;const a=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi;const u=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(t){const r=t[0]==="u";const i=t[1]==="{";if(r&&!i&&t.length===5||t[0]==="x"&&t.length===3){return String.fromCharCode(parseInt(t.slice(1),16))}if(r&&i){return String.fromCodePoint(parseInt(t.slice(2,-1),16))}return u.get(t)||t}function parseArguments(t,r){const i=[];const u=r.trim().split(/\s*,\s*/g);let l;for(const r of u){const u=Number(r);if(!Number.isNaN(u)){i.push(u)}else if(l=r.match(o)){i.push(l[2].replace(a,((t,r,i)=>r?unescape(r):i)))}else{throw new Error(`Invalid Chalk template style argument: ${r} (in style '${t}')`)}}return i}function parseStyle(t){i.lastIndex=0;const r=[];let o;while((o=i.exec(t))!==null){const t=o[1];if(o[2]){const i=parseArguments(t,o[2]);r.push([t].concat(i))}else{r.push([t])}}return r}function buildStyle(t,r){const i={};for(const t of r){for(const r of t.styles){i[r[0]]=t.inverse?null:r.slice(1)}}let o=t;for(const[t,r]of Object.entries(i)){if(!Array.isArray(r)){continue}if(!(t in o)){throw new Error(`Unknown Chalk style: ${t}`)}o=r.length>0?o[t](...r):o[t]}return o}t.exports=(t,i)=>{const o=[];const a=[];let u=[];i.replace(r,((r,i,l,h,p,d)=>{if(i){u.push(unescape(i))}else if(h){const r=u.join("");u=[];a.push(o.length===0?r:buildStyle(t,o)(r));o.push({inverse:l,styles:parseStyle(h)})}else if(p){if(o.length===0){throw new Error("Found extraneous } in Chalk template literal")}a.push(buildStyle(t,o)(u.join("")));u=[];o.pop()}else{u.push(d)}}));a.push(u.join(""));if(o.length>0){const t=`Chalk template literal is missing ${o.length} closing bracket${o.length===1?"":"s"} (\`}\`)`;throw new Error(t)}return a.join("")}},5611:t=>{"use strict";const stringReplaceAll=(t,r,i)=>{let o=t.indexOf(r);if(o===-1){return t}const a=r.length;let u=0;let l="";do{l+=t.substr(u,o-u)+r+i;u=o+a;o=t.indexOf(r,u)}while(o!==-1);l+=t.substr(u);return l};const stringEncaseCRLFWithFirstIndex=(t,r,i,o)=>{let a=0;let u="";do{const l=t[o-1]==="\r";u+=t.substr(a,(l?o-1:o)-a)+r+(l?"\r\n":"\n")+i;a=o+1;o=t.indexOf("\n",a)}while(o!==-1);u+=t.substr(a);return u};t.exports={stringReplaceAll:stringReplaceAll,stringEncaseCRLFWithFirstIndex:stringEncaseCRLFWithFirstIndex}},6067:(t,r,i)=>{"use strict";const o=Object.assign({},i(2548));const a=Object.keys(o);Object.defineProperty(o,"random",{get(){const t=Math.floor(Math.random()*a.length);const r=a[t];return o[r]}});t.exports=o},6845:t=>{var r=function(){"use strict";function clone(t,r,i,o){var a;if(typeof r==="object"){i=r.depth;o=r.prototype;a=r.filter;r=r.circular}var u=[];var l=[];var h=typeof Buffer!="undefined";if(typeof r=="undefined")r=true;if(typeof i=="undefined")i=Infinity;function _clone(t,i){if(t===null)return null;if(i==0)return t;var a;var p;if(typeof t!="object"){return t}if(clone.__isArray(t)){a=[]}else if(clone.__isRegExp(t)){a=new RegExp(t.source,__getRegExpFlags(t));if(t.lastIndex)a.lastIndex=t.lastIndex}else if(clone.__isDate(t)){a=new Date(t.getTime())}else if(h&&Buffer.isBuffer(t)){if(Buffer.allocUnsafe){a=Buffer.allocUnsafe(t.length)}else{a=new Buffer(t.length)}t.copy(a);return a}else{if(typeof o=="undefined"){p=Object.getPrototypeOf(t);a=Object.create(p)}else{a=Object.create(o);p=o}}if(r){var d=u.indexOf(t);if(d!=-1){return l[d]}u.push(t);l.push(a)}for(var m in t){var g;if(p){g=Object.getOwnPropertyDescriptor(p,m)}if(g&&g.set==null){continue}a[m]=_clone(t[m],i-1)}return a}return _clone(t,i)}clone.clonePrototype=function clonePrototype(t){if(t===null)return null;var c=function(){};c.prototype=t;return new c};function __objToStr(t){return Object.prototype.toString.call(t)}clone.__objToStr=__objToStr;function __isDate(t){return typeof t==="object"&&__objToStr(t)==="[object Date]"}clone.__isDate=__isDate;function __isArray(t){return typeof t==="object"&&__objToStr(t)==="[object Array]"}clone.__isArray=__isArray;function __isRegExp(t){return typeof t==="object"&&__objToStr(t)==="[object RegExp]"}clone.__isRegExp=__isRegExp;function __getRegExpFlags(t){var r="";if(t.global)r+="g";if(t.ignoreCase)r+="i";if(t.multiline)r+="m";return r}clone.__getRegExpFlags=__getRegExpFlags;return clone}();if(true&&t.exports){t.exports=r}},9598:(t,r,i)=>{var o=i(9120);var a={};for(var u in o){if(o.hasOwnProperty(u)){a[o[u]]=u}}var l=t.exports={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"]}};for(var h in l){if(l.hasOwnProperty(h)){if(!("channels"in l[h])){throw new Error("missing channels property: "+h)}if(!("labels"in l[h])){throw new Error("missing channel labels property: "+h)}if(l[h].labels.length!==l[h].channels){throw new Error("channel and label counts mismatch: "+h)}var p=l[h].channels;var d=l[h].labels;delete l[h].channels;delete l[h].labels;Object.defineProperty(l[h],"channels",{value:p});Object.defineProperty(l[h],"labels",{value:d})}}l.rgb.hsl=function(t){var r=t[0]/255;var i=t[1]/255;var o=t[2]/255;var a=Math.min(r,i,o);var u=Math.max(r,i,o);var l=u-a;var h;var p;var d;if(u===a){h=0}else if(r===u){h=(i-o)/l}else if(i===u){h=2+(o-r)/l}else if(o===u){h=4+(r-i)/l}h=Math.min(h*60,360);if(h<0){h+=360}d=(a+u)/2;if(u===a){p=0}else if(d<=.5){p=l/(u+a)}else{p=l/(2-u-a)}return[h,p*100,d*100]};l.rgb.hsv=function(t){var r;var i;var o;var a;var u;var l=t[0]/255;var h=t[1]/255;var p=t[2]/255;var d=Math.max(l,h,p);var m=d-Math.min(l,h,p);var diffc=function(t){return(d-t)/6/m+1/2};if(m===0){a=u=0}else{u=m/d;r=diffc(l);i=diffc(h);o=diffc(p);if(l===d){a=o-i}else if(h===d){a=1/3+r-o}else if(p===d){a=2/3+i-r}if(a<0){a+=1}else if(a>1){a-=1}}return[a*360,u*100,d*100]};l.rgb.hwb=function(t){var r=t[0];var i=t[1];var o=t[2];var a=l.rgb.hsl(t)[0];var u=1/255*Math.min(r,Math.min(i,o));o=1-1/255*Math.max(r,Math.max(i,o));return[a,u*100,o*100]};l.rgb.cmyk=function(t){var r=t[0]/255;var i=t[1]/255;var o=t[2]/255;var a;var u;var l;var h;h=Math.min(1-r,1-i,1-o);a=(1-r-h)/(1-h)||0;u=(1-i-h)/(1-h)||0;l=(1-o-h)/(1-h)||0;return[a*100,u*100,l*100,h*100]};function comparativeDistance(t,r){return Math.pow(t[0]-r[0],2)+Math.pow(t[1]-r[1],2)+Math.pow(t[2]-r[2],2)}l.rgb.keyword=function(t){var r=a[t];if(r){return r}var i=Infinity;var u;for(var l in o){if(o.hasOwnProperty(l)){var h=o[l];var p=comparativeDistance(t,h);if(p<i){i=p;u=l}}}return u};l.keyword.rgb=function(t){return o[t]};l.rgb.xyz=function(t){var r=t[0]/255;var i=t[1]/255;var o=t[2]/255;r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92;i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92;o=o>.04045?Math.pow((o+.055)/1.055,2.4):o/12.92;var a=r*.4124+i*.3576+o*.1805;var u=r*.2126+i*.7152+o*.0722;var l=r*.0193+i*.1192+o*.9505;return[a*100,u*100,l*100]};l.rgb.lab=function(t){var r=l.rgb.xyz(t);var i=r[0];var o=r[1];var a=r[2];var u;var h;var p;i/=95.047;o/=100;a/=108.883;i=i>.008856?Math.pow(i,1/3):7.787*i+16/116;o=o>.008856?Math.pow(o,1/3):7.787*o+16/116;a=a>.008856?Math.pow(a,1/3):7.787*a+16/116;u=116*o-16;h=500*(i-o);p=200*(o-a);return[u,h,p]};l.hsl.rgb=function(t){var r=t[0]/360;var i=t[1]/100;var o=t[2]/100;var a;var u;var l;var h;var p;if(i===0){p=o*255;return[p,p,p]}if(o<.5){u=o*(1+i)}else{u=o+i-o*i}a=2*o-u;h=[0,0,0];for(var d=0;d<3;d++){l=r+1/3*-(d-1);if(l<0){l++}if(l>1){l--}if(6*l<1){p=a+(u-a)*6*l}else if(2*l<1){p=u}else if(3*l<2){p=a+(u-a)*(2/3-l)*6}else{p=a}h[d]=p*255}return h};l.hsl.hsv=function(t){var r=t[0];var i=t[1]/100;var o=t[2]/100;var a=i;var u=Math.max(o,.01);var l;var h;o*=2;i*=o<=1?o:2-o;a*=u<=1?u:2-u;h=(o+i)/2;l=o===0?2*a/(u+a):2*i/(o+i);return[r,l*100,h*100]};l.hsv.rgb=function(t){var r=t[0]/60;var i=t[1]/100;var o=t[2]/100;var a=Math.floor(r)%6;var u=r-Math.floor(r);var l=255*o*(1-i);var h=255*o*(1-i*u);var p=255*o*(1-i*(1-u));o*=255;switch(a){case 0:return[o,p,l];case 1:return[h,o,l];case 2:return[l,o,p];case 3:return[l,h,o];case 4:return[p,l,o];case 5:return[o,l,h]}};l.hsv.hsl=function(t){var r=t[0];var i=t[1]/100;var o=t[2]/100;var a=Math.max(o,.01);var u;var l;var h;h=(2-i)*o;u=(2-i)*a;l=i*a;l/=u<=1?u:2-u;l=l||0;h/=2;return[r,l*100,h*100]};l.hwb.rgb=function(t){var r=t[0]/360;var i=t[1]/100;var o=t[2]/100;var a=i+o;var u;var l;var h;var p;if(a>1){i/=a;o/=a}u=Math.floor(6*r);l=1-o;h=6*r-u;if((u&1)!==0){h=1-h}p=i+h*(l-i);var d;var m;var g;switch(u){default:case 6:case 0:d=l;m=p;g=i;break;case 1:d=p;m=l;g=i;break;case 2:d=i;m=l;g=p;break;case 3:d=i;m=p;g=l;break;case 4:d=p;m=i;g=l;break;case 5:d=l;m=i;g=p;break}return[d*255,m*255,g*255]};l.cmyk.rgb=function(t){var r=t[0]/100;var i=t[1]/100;var o=t[2]/100;var a=t[3]/100;var u;var l;var h;u=1-Math.min(1,r*(1-a)+a);l=1-Math.min(1,i*(1-a)+a);h=1-Math.min(1,o*(1-a)+a);return[u*255,l*255,h*255]};l.xyz.rgb=function(t){var r=t[0]/100;var i=t[1]/100;var o=t[2]/100;var a;var u;var l;a=r*3.2406+i*-1.5372+o*-.4986;u=r*-.9689+i*1.8758+o*.0415;l=r*.0557+i*-.204+o*1.057;a=a>.0031308?1.055*Math.pow(a,1/2.4)-.055:a*12.92;u=u>.0031308?1.055*Math.pow(u,1/2.4)-.055:u*12.92;l=l>.0031308?1.055*Math.pow(l,1/2.4)-.055:l*12.92;a=Math.min(Math.max(0,a),1);u=Math.min(Math.max(0,u),1);l=Math.min(Math.max(0,l),1);return[a*255,u*255,l*255]};l.xyz.lab=function(t){var r=t[0];var i=t[1];var o=t[2];var a;var u;var l;r/=95.047;i/=100;o/=108.883;r=r>.008856?Math.pow(r,1/3):7.787*r+16/116;i=i>.008856?Math.pow(i,1/3):7.787*i+16/116;o=o>.008856?Math.pow(o,1/3):7.787*o+16/116;a=116*i-16;u=500*(r-i);l=200*(i-o);return[a,u,l]};l.lab.xyz=function(t){var r=t[0];var i=t[1];var o=t[2];var a;var u;var l;u=(r+16)/116;a=i/500+u;l=u-o/200;var h=Math.pow(u,3);var p=Math.pow(a,3);var d=Math.pow(l,3);u=h>.008856?h:(u-16/116)/7.787;a=p>.008856?p:(a-16/116)/7.787;l=d>.008856?d:(l-16/116)/7.787;a*=95.047;u*=100;l*=108.883;return[a,u,l]};l.lab.lch=function(t){var r=t[0];var i=t[1];var o=t[2];var a;var u;var l;a=Math.atan2(o,i);u=a*360/2/Math.PI;if(u<0){u+=360}l=Math.sqrt(i*i+o*o);return[r,l,u]};l.lch.lab=function(t){var r=t[0];var i=t[1];var o=t[2];var a;var u;var l;l=o/360*2*Math.PI;a=i*Math.cos(l);u=i*Math.sin(l);return[r,a,u]};l.rgb.ansi16=function(t){var r=t[0];var i=t[1];var o=t[2];var a=1 in arguments?arguments[1]:l.rgb.hsv(t)[2];a=Math.round(a/50);if(a===0){return 30}var u=30+(Math.round(o/255)<<2|Math.round(i/255)<<1|Math.round(r/255));if(a===2){u+=60}return u};l.hsv.ansi16=function(t){return l.rgb.ansi16(l.hsv.rgb(t),t[2])};l.rgb.ansi256=function(t){var r=t[0];var i=t[1];var o=t[2];if(r===i&&i===o){if(r<8){return 16}if(r>248){return 231}return Math.round((r-8)/247*24)+232}var a=16+36*Math.round(r/255*5)+6*Math.round(i/255*5)+Math.round(o/255*5);return a};l.ansi16.rgb=function(t){var r=t%10;if(r===0||r===7){if(t>50){r+=3.5}r=r/10.5*255;return[r,r,r]}var i=(~~(t>50)+1)*.5;var o=(r&1)*i*255;var a=(r>>1&1)*i*255;var u=(r>>2&1)*i*255;return[o,a,u]};l.ansi256.rgb=function(t){if(t>=232){var r=(t-232)*10+8;return[r,r,r]}t-=16;var i;var o=Math.floor(t/36)/5*255;var a=Math.floor((i=t%36)/6)/5*255;var u=i%6/5*255;return[o,a,u]};l.rgb.hex=function(t){var r=((Math.round(t[0])&255)<<16)+((Math.round(t[1])&255)<<8)+(Math.round(t[2])&255);var i=r.toString(16).toUpperCase();return"000000".substring(i.length)+i};l.hex.rgb=function(t){var r=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!r){return[0,0,0]}var i=r[0];if(r[0].length===3){i=i.split("").map((function(t){return t+t})).join("")}var o=parseInt(i,16);var a=o>>16&255;var u=o>>8&255;var l=o&255;return[a,u,l]};l.rgb.hcg=function(t){var r=t[0]/255;var i=t[1]/255;var o=t[2]/255;var a=Math.max(Math.max(r,i),o);var u=Math.min(Math.min(r,i),o);var l=a-u;var h;var p;if(l<1){h=u/(1-l)}else{h=0}if(l<=0){p=0}else if(a===r){p=(i-o)/l%6}else if(a===i){p=2+(o-r)/l}else{p=4+(r-i)/l+4}p/=6;p%=1;return[p*360,l*100,h*100]};l.hsl.hcg=function(t){var r=t[1]/100;var i=t[2]/100;var o=1;var a=0;if(i<.5){o=2*r*i}else{o=2*r*(1-i)}if(o<1){a=(i-.5*o)/(1-o)}return[t[0],o*100,a*100]};l.hsv.hcg=function(t){var r=t[1]/100;var i=t[2]/100;var o=r*i;var a=0;if(o<1){a=(i-o)/(1-o)}return[t[0],o*100,a*100]};l.hcg.rgb=function(t){var r=t[0]/360;var i=t[1]/100;var o=t[2]/100;if(i===0){return[o*255,o*255,o*255]}var a=[0,0,0];var u=r%1*6;var l=u%1;var h=1-l;var p=0;switch(Math.floor(u)){case 0:a[0]=1;a[1]=l;a[2]=0;break;case 1:a[0]=h;a[1]=1;a[2]=0;break;case 2:a[0]=0;a[1]=1;a[2]=l;break;case 3:a[0]=0;a[1]=h;a[2]=1;break;case 4:a[0]=l;a[1]=0;a[2]=1;break;default:a[0]=1;a[1]=0;a[2]=h}p=(1-i)*o;return[(i*a[0]+p)*255,(i*a[1]+p)*255,(i*a[2]+p)*255]};l.hcg.hsv=function(t){var r=t[1]/100;var i=t[2]/100;var o=r+i*(1-r);var a=0;if(o>0){a=r/o}return[t[0],a*100,o*100]};l.hcg.hsl=function(t){var r=t[1]/100;var i=t[2]/100;var o=i*(1-r)+.5*r;var a=0;if(o>0&&o<.5){a=r/(2*o)}else if(o>=.5&&o<1){a=r/(2*(1-o))}return[t[0],a*100,o*100]};l.hcg.hwb=function(t){var r=t[1]/100;var i=t[2]/100;var o=r+i*(1-r);return[t[0],(o-r)*100,(1-o)*100]};l.hwb.hcg=function(t){var r=t[1]/100;var i=t[2]/100;var o=1-i;var a=o-r;var u=0;if(a<1){u=(o-a)/(1-a)}return[t[0],a*100,u*100]};l.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]};l.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]};l.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]};l.gray.hsl=l.gray.hsv=function(t){return[0,0,t[0]]};l.gray.hwb=function(t){return[0,100,t[0]]};l.gray.cmyk=function(t){return[0,0,0,t[0]]};l.gray.lab=function(t){return[t[0],0,0]};l.gray.hex=function(t){var r=Math.round(t[0]/100*255)&255;var i=(r<<16)+(r<<8)+r;var o=i.toString(16).toUpperCase();return"000000".substring(o.length)+o};l.rgb.gray=function(t){var r=(t[0]+t[1]+t[2])/3;return[r/255*100]}},2830:(t,r,i)=>{var o=i(9598);var a=i(5180);var u={};var l=Object.keys(o);function wrapRaw(t){var wrappedFn=function(r){if(r===undefined||r===null){return r}if(arguments.length>1){r=Array.prototype.slice.call(arguments)}return t(r)};if("conversion"in t){wrappedFn.conversion=t.conversion}return wrappedFn}function wrapRounded(t){var wrappedFn=function(r){if(r===undefined||r===null){return r}if(arguments.length>1){r=Array.prototype.slice.call(arguments)}var i=t(r);if(typeof i==="object"){for(var o=i.length,a=0;a<o;a++){i[a]=Math.round(i[a])}}return i};if("conversion"in t){wrappedFn.conversion=t.conversion}return wrappedFn}l.forEach((function(t){u[t]={};Object.defineProperty(u[t],"channels",{value:o[t].channels});Object.defineProperty(u[t],"labels",{value:o[t].labels});var r=a(t);var i=Object.keys(r);i.forEach((function(i){var o=r[i];u[t][i]=wrapRounded(o);u[t][i].raw=wrapRaw(o)}))}));t.exports=u},9120:t=>{"use strict";t.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]}},5180:(t,r,i)=>{var o=i(9598);function buildGraph(){var t={};var r=Object.keys(o);for(var i=r.length,a=0;a<i;a++){t[r[a]]={distance:-1,parent:null}}return t}function deriveBFS(t){var r=buildGraph();var i=[t];r[t].distance=0;while(i.length){var a=i.pop();var u=Object.keys(o[a]);for(var l=u.length,h=0;h<l;h++){var p=u[h];var d=r[p];if(d.distance===-1){d.distance=r[a].distance+1;d.parent=a;i.unshift(p)}}}return r}function link(t,r){return function(i){return r(t(i))}}function wrapConversion(t,r){var i=[r[t].parent,t];var a=o[r[t].parent][t];var u=r[t].parent;while(r[u].parent){i.unshift(r[u].parent);a=link(o[r[u].parent][u],a);u=r[u].parent}a.conversion=i;return a}t.exports=function(t){var r=deriveBFS(t);var i={};var o=Object.keys(r);for(var a=o.length,u=0;u<a;u++){var l=o[u];var h=r[l];if(h.parent===null){continue}i[l]=wrapConversion(l,r)}return i}},9407:t=>{"use strict";t.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]}},7987:(t,r,i)=>{"use strict";const o=i(2081);const a=i(1655);const u=i(9738);function spawn(t,r,i){const l=a(t,r,i);const h=o.spawn(l.command,l.args,l.options);u.hookChildProcess(h,l);return h}function spawnSync(t,r,i){const l=a(t,r,i);const h=o.spawnSync(l.command,l.args,l.options);h.error=h.error||u.verifyENOENTSync(h.status,l);return h}t.exports=spawn;t.exports.spawn=spawn;t.exports.sync=spawnSync;t.exports._parse=a;t.exports._enoent=u},9738:t=>{"use strict";const r=process.platform==="win32";function notFoundError(t,r){return Object.assign(new Error(`${r} ${t.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${r} ${t.command}`,path:t.command,spawnargs:t.args})}function hookChildProcess(t,i){if(!r){return}const o=t.emit;t.emit=function(r,a){if(r==="exit"){const r=verifyENOENT(a,i);if(r){return o.call(t,"error",r)}}return o.apply(t,arguments)}}function verifyENOENT(t,i){if(r&&t===1&&!i.file){return notFoundError(i.original,"spawn")}return null}function verifyENOENTSync(t,i){if(r&&t===1&&!i.file){return notFoundError(i.original,"spawnSync")}return null}t.exports={hookChildProcess:hookChildProcess,verifyENOENT:verifyENOENT,verifyENOENTSync:verifyENOENTSync,notFoundError:notFoundError}},1655:(t,r,i)=>{"use strict";const o=i(1017);const a=i(7534);const u=i(8902);const l=i(2964);const h=process.platform==="win32";const p=/\.(?:com|exe)$/i;const d=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function detectShebang(t){t.file=a(t);const r=t.file&&l(t.file);if(r){t.args.unshift(t.file);t.command=r;return a(t)}return t.file}function parseNonShell(t){if(!h){return t}const r=detectShebang(t);const i=!p.test(r);if(t.options.forceShell||i){const i=d.test(r);t.command=o.normalize(t.command);t.command=u.command(t.command);t.args=t.args.map((t=>u.argument(t,i)));const a=[t.command].concat(t.args).join(" ");t.args=["/d","/s","/c",`"${a}"`];t.command=process.env.comspec||"cmd.exe";t.options.windowsVerbatimArguments=true}return t}function parse(t,r,i){if(r&&!Array.isArray(r)){i=r;r=null}r=r?r.slice(0):[];i=Object.assign({},i);const o={command:t,args:r,options:i,file:undefined,original:{command:t,args:r}};return i.shell?o:parseNonShell(o)}t.exports=parse},8902:t=>{"use strict";const r=/([()\][%!^"`<>&|;, *?])/g;function escapeCommand(t){t=t.replace(r,"^$1");return t}function escapeArgument(t,i){t=`${t}`;t=t.replace(/(?=(\\+?)?)\1"/g,'$1$1\\"');t=t.replace(/(?=(\\+?)?)\1$/,"$1$1");t=`"${t}"`;t=t.replace(r,"^$1");if(i){t=t.replace(r,"^$1")}return t}t.exports.command=escapeCommand;t.exports.argument=escapeArgument},2964:(t,r,i)=>{"use strict";const o=i(7147);const a=i(382);function readShebang(t){const r=150;const i=Buffer.alloc(r);let u;try{u=o.openSync(t,"r");o.readSync(u,i,0,r,0);o.closeSync(u)}catch(t){}return a(i.toString())}t.exports=readShebang},7534:(t,r,i)=>{"use strict";const o=i(1017);const a=i(6362);const u=i(6661);function resolveCommandAttempt(t,r){const i=t.options.env||process.env;const l=process.cwd();const h=t.options.cwd!=null;const p=h&&process.chdir!==undefined&&!process.chdir.disabled;if(p){try{process.chdir(t.options.cwd)}catch(t){}}let d;try{d=a.sync(t.command,{path:i[u({env:i})],pathExt:r?o.delimiter:undefined})}catch(t){}finally{if(p){process.chdir(l)}}if(d){d=o.resolve(h?t.options.cwd:"",d)}return d}function resolveCommand(t){return resolveCommandAttempt(t)||resolveCommandAttempt(t,true)}t.exports=resolveCommand},6661:t=>{"use strict";const pathKey=(t={})=>{const r=t.env||process.env;const i=t.platform||process.platform;if(i!=="win32"){return"PATH"}return Object.keys(r).reverse().find((t=>t.toUpperCase()==="PATH"))||"Path"};t.exports=pathKey;t.exports["default"]=pathKey},382:(t,r,i)=>{"use strict";const o=i(8690);t.exports=(t="")=>{const r=t.match(o);if(!r){return null}const[i,a]=r[0].replace(/#! ?/,"").split(" ");const u=i.split("/").pop();if(u==="env"){return a}return a?`${u} ${a}`:u}},8690:t=>{"use strict";t.exports=/^#!(.*)/},6362:(t,r,i)=>{const o=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys";const a=i(1017);const u=o?";":":";const l=i(228);const getNotFoundError=t=>Object.assign(new Error(`not found: ${t}`),{code:"ENOENT"});const getPathInfo=(t,r)=>{const i=r.colon||u;const a=t.match(/\//)||o&&t.match(/\\/)?[""]:[...o?[process.cwd()]:[],...(r.path||process.env.PATH||"").split(i)];const l=o?r.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"";const h=o?l.split(i):[""];if(o){if(t.indexOf(".")!==-1&&h[0]!=="")h.unshift("")}return{pathEnv:a,pathExt:h,pathExtExe:l}};const which=(t,r,i)=>{if(typeof r==="function"){i=r;r={}}if(!r)r={};const{pathEnv:o,pathExt:u,pathExtExe:h}=getPathInfo(t,r);const p=[];const step=i=>new Promise(((u,l)=>{if(i===o.length)return r.all&&p.length?u(p):l(getNotFoundError(t));const h=o[i];const d=/^".*"$/.test(h)?h.slice(1,-1):h;const m=a.join(d,t);const g=!d&&/^\.[\\\/]/.test(t)?t.slice(0,2)+m:m;u(subStep(g,i,0))}));const subStep=(t,i,o)=>new Promise(((a,d)=>{if(o===u.length)return a(step(i+1));const m=u[o];l(t+m,{pathExt:h},((u,l)=>{if(!u&&l){if(r.all)p.push(t+m);else return a(t+m)}return a(subStep(t,i,o+1))}))}));return i?step(0).then((t=>i(null,t)),i):step(0)};const whichSync=(t,r)=>{r=r||{};const{pathEnv:i,pathExt:o,pathExtExe:u}=getPathInfo(t,r);const h=[];for(let p=0;p<i.length;p++){const d=i[p];const m=/^".*"$/.test(d)?d.slice(1,-1):d;const g=a.join(m,t);const y=!m&&/^\.[\\\/]/.test(t)?t.slice(0,2)+g:g;for(let t=0;t<o.length;t++){const i=y+o[t];try{const t=l.sync(i,{pathExt:u});if(t){if(r.all)h.push(i);else return i}}catch(t){}}}if(r.all&&h.length)return h;if(r.nothrow)return null;throw getNotFoundError(t)};t.exports=which;which.sync=whichSync},9851:(t,r,i)=>{r.formatArgs=formatArgs;r.save=save;r.load=load;r.useColors=useColors;r.storage=localstorage();r.destroy=(()=>{let t=false;return()=>{if(!t){t=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`.")}}})();r.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 t;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&&(t=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(t[1],10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function formatArgs(r){r[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+r[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff);if(!this.useColors){return}const i="color: "+this.color;r.splice(1,0,i,"color: inherit");let o=0;let a=0;r[0].replace(/%[a-zA-Z%]/g,(t=>{if(t==="%%"){return}o++;if(t==="%c"){a=o}}));r.splice(a,0,i)}r.log=console.debug||console.log||(()=>{});function save(t){try{if(t){r.storage.setItem("debug",t)}else{r.storage.removeItem("debug")}}catch(t){}}function load(){let t;try{t=r.storage.getItem("debug")}catch(t){}if(!t&&typeof process!=="undefined"&&"env"in process){t=process.env.DEBUG}return t}function localstorage(){try{return localStorage}catch(t){}}t.exports=i(6033)(r);const{formatters:o}=t.exports;o.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},6033:(t,r,i)=>{function setup(t){createDebug.debug=createDebug;createDebug.default=createDebug;createDebug.coerce=coerce;createDebug.disable=disable;createDebug.enable=enable;createDebug.enabled=enabled;createDebug.humanize=i(40);createDebug.destroy=destroy;Object.keys(t).forEach((r=>{createDebug[r]=t[r]}));createDebug.names=[];createDebug.skips=[];createDebug.formatters={};function selectColor(t){let r=0;for(let i=0;i<t.length;i++){r=(r<<5)-r+t.charCodeAt(i);r|=0}return createDebug.colors[Math.abs(r)%createDebug.colors.length]}createDebug.selectColor=selectColor;function createDebug(t){let r;let i=null;let o;let a;function debug(...t){if(!debug.enabled){return}const i=debug;const o=Number(new Date);const a=o-(r||o);i.diff=a;i.prev=r;i.curr=o;r=o;t[0]=createDebug.coerce(t[0]);if(typeof t[0]!=="string"){t.unshift("%O")}let u=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,((r,o)=>{if(r==="%%"){return"%"}u++;const a=createDebug.formatters[o];if(typeof a==="function"){const o=t[u];r=a.call(i,o);t.splice(u,1);u--}return r}));createDebug.formatArgs.call(i,t);const l=i.log||createDebug.log;l.apply(i,t)}debug.namespace=t;debug.useColors=createDebug.useColors();debug.color=createDebug.selectColor(t);debug.extend=extend;debug.destroy=createDebug.destroy;Object.defineProperty(debug,"enabled",{enumerable:true,configurable:false,get:()=>{if(i!==null){return i}if(o!==createDebug.namespaces){o=createDebug.namespaces;a=createDebug.enabled(t)}return a},set:t=>{i=t}});if(typeof createDebug.init==="function"){createDebug.init(debug)}return debug}function extend(t,r){const i=createDebug(this.namespace+(typeof r==="undefined"?":":r)+t);i.log=this.log;return i}function enable(t){createDebug.save(t);createDebug.namespaces=t;createDebug.names=[];createDebug.skips=[];let r;const i=(typeof t==="string"?t:"").split(/[\s,]+/);const o=i.length;for(r=0;r<o;r++){if(!i[r]){continue}t=i[r].replace(/\*/g,".*?");if(t[0]==="-"){createDebug.skips.push(new RegExp("^"+t.slice(1)+"$"))}else{createDebug.names.push(new RegExp("^"+t+"$"))}}}function disable(){const t=[...createDebug.names.map(toNamespace),...createDebug.skips.map(toNamespace).map((t=>"-"+t))].join(",");createDebug.enable("");return t}function enabled(t){if(t[t.length-1]==="*"){return true}let r;let i;for(r=0,i=createDebug.skips.length;r<i;r++){if(createDebug.skips[r].test(t)){return false}}for(r=0,i=createDebug.names.length;r<i;r++){if(createDebug.names[r].test(t)){return true}}return false}function toNamespace(t){return t.toString().substring(2,t.toString().length-2).replace(/\.\*\?$/,"*")}function coerce(t){if(t instanceof Error){return t.stack||t.message}return t}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}t.exports=setup},7984:(t,r,i)=>{if(typeof process==="undefined"||process.type==="renderer"||process.browser===true||process.__nwjs){t.exports=i(9851)}else{t.exports=i(3860)}},3860:(t,r,i)=>{const o=i(6224);const a=i(3837);r.init=init;r.log=log;r.formatArgs=formatArgs;r.save=save;r.load=load;r.useColors=useColors;r.destroy=a.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");r.colors=[6,2,3,4,5,1];try{const t=i(395);if(t&&(t.stderr||t).level>=2){r.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(t){}r.inspectOpts=Object.keys(process.env).filter((t=>/^debug_/i.test(t))).reduce(((t,r)=>{const i=r.substring(6).toLowerCase().replace(/_([a-z])/g,((t,r)=>r.toUpperCase()));let o=process.env[r];if(/^(yes|on|true|enabled)$/i.test(o)){o=true}else if(/^(no|off|false|disabled)$/i.test(o)){o=false}else if(o==="null"){o=null}else{o=Number(o)}t[i]=o;return t}),{});function useColors(){return"colors"in r.inspectOpts?Boolean(r.inspectOpts.colors):o.isatty(process.stderr.fd)}function formatArgs(r){const{namespace:i,useColors:o}=this;if(o){const o=this.color;const a="[3"+(o<8?o:"8;5;"+o);const u=` ${a};1m${i} [0m`;r[0]=u+r[0].split("\n").join("\n"+u);r.push(a+"m+"+t.exports.humanize(this.diff)+"[0m")}else{r[0]=getDate()+i+" "+r[0]}}function getDate(){if(r.inspectOpts.hideDate){return""}return(new Date).toISOString()+" "}function log(...t){return process.stderr.write(a.formatWithOptions(r.inspectOpts,...t)+"\n")}function save(t){if(t){process.env.DEBUG=t}else{delete process.env.DEBUG}}function load(){return process.env.DEBUG}function init(t){t.inspectOpts={};const i=Object.keys(r.inspectOpts);for(let o=0;o<i.length;o++){t.inspectOpts[i[o]]=r.inspectOpts[i[o]]}}t.exports=i(6033)(r);const{formatters:u}=t.exports;u.o=function(t){this.inspectOpts.colors=this.useColors;return a.inspect(t,this.inspectOpts).split("\n").map((t=>t.trim())).join(" ")};u.O=function(t){this.inspectOpts.colors=this.useColors;return a.inspect(t,this.inspectOpts)}},5134:t=>{"use strict";
|
|
3
3
|
/*!
|
|
4
4
|
* @description Recursive object extending
|
|
5
5
|
* @author Viacheslav Lotsmanov <lotsmanov89@gmail.com>
|
|
@@ -96,7 +96,7 @@ var o=i(4300);var a=o.Buffer;function copyProps(t,r){for(var i in t){r[i]=t[i]}}
|
|
|
96
96
|
*
|
|
97
97
|
* Copyright (c) 2014-present, Jon Schlinkert.
|
|
98
98
|
* Released under the MIT License.
|
|
99
|
-
*/t.exports=function(t){if(typeof t==="number"){return t-t===0}if(typeof t==="string"&&t.trim()!==""){return Number.isFinite?Number.isFinite(+t):isFinite(+t)}return false}},5418:(t,r,i)=>{const{URL:o}=i(7310);const{join:a}=i(1017);const u=i(7147);const{promisify:l}=i(3837);const{tmpdir:h}=i(2037);const p=i(2447);const d=l(u.writeFile);const m=l(u.mkdir);const g=l(u.readFile);const compareVersions=(t,r)=>t.localeCompare(r,"en-US",{numeric:true});const encode=t=>encodeURIComponent(t).replace(/^%40/,"@");const getFile=async(t,r)=>{const i=h();const o=a(i,"update-check");if(!u.existsSync(o)){await m(o)}let l=`${t.name}-${r}.json`;if(t.scope){l=`${t.scope}-${l}`}return a(o,l)};const evaluateCache=async(t,r,i)=>{if(u.existsSync(t)){const o=await g(t,"utf8");const{lastUpdate:a,latest:u}=JSON.parse(o);const l=a+i;if(l>r){return{shouldCheck:false,latest:u}}}return{shouldCheck:true,latest:null}};const updateCache=async(t,r,i)=>{const o=JSON.stringify({latest:r,lastUpdate:i});await d(t,o,"utf8")};const loadPackage=(t,r)=>new Promise(((o,a)=>{const u={host:t.hostname,path:t.pathname,port:t.port,headers:{accept:"application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8, */*"},timeout:2e3};if(r){u.headers.authorization=`${r.type} ${r.token}`}const{get:l}=i(t.protocol==="https:"?5687:3685);l(u,(t=>{const{statusCode:r}=t;if(r!==200){const i=new Error(`Request failed with code ${r}`);i.code=r;a(i);t.resume();return}let i="";t.setEncoding("utf8");t.on("data",(t=>{i+=t}));t.on("end",(()=>{try{const t=JSON.parse(i);o(t)}catch(t){a(t)}}))})).on("error",a).on("timeout",a)}));const getMostRecent=async({full:t,scope:r},a)=>{const u=p(r);const l=new o(t,u);let h=null;try{h=await loadPackage(l)}catch(t){if(t.code&&String(t.code).startsWith(4)){const t=i(1384);const r=t(u,{recursive:true});h=await loadPackage(l,r)}else{throw t}}const d=h["dist-tags"][a];if(!d){throw new Error(`Distribution tag ${a} is not available`)}return d};const y={interval:36e5,distTag:"latest"};const getDetails=t=>{const r={full:encode(t)};if(t.includes("/")){const i=t.split("/");r.scope=i[0];r.name=i[1]}else{r.scope=null;r.name=t}return r};t.exports=async(t,r)=>{if(typeof t!=="object"){throw new Error("The first parameter should be your package.json file content")}const i=getDetails(t.name);const o=Date.now();const{distTag:a,interval:u}=Object.assign({},y,r);const l=await getFile(i,a);let h=null;let p=true;({shouldCheck:p,latest:h}=await evaluateCache(l,o,u));if(p){h=await getMostRecent(i,a);await updateCache(l,h,o)}const d=compareVersions(t.version,h);if(d===-1){return{latest:h,fromCache:!p}}return null}},8593:(t,r,i)=>{"use strict";const{builtinModules:o}=i(8188);var a=new RegExp("^(?:@([^/]+?)[/])?([^/]+?)$");var u=["node_modules","favicon.ico"];function validate(t){var r=[];var i=[];if(t===null){i.push("name cannot be null");return done(r,i)}if(t===undefined){i.push("name cannot be undefined");return done(r,i)}if(typeof t!=="string"){i.push("name must be a string");return done(r,i)}if(!t.length){i.push("name length must be greater than zero")}if(t.match(/^\./)){i.push("name cannot start with a period")}if(t.match(/^_/)){i.push("name cannot start with an underscore")}if(t.trim()!==t){i.push("name cannot contain leading or trailing spaces")}u.forEach((function(r){if(t.toLowerCase()===r){i.push(r+" is a blacklisted name")}}));if(o.includes(t.toLowerCase())){r.push(t+" is a core module name")}if(t.length>214){r.push("name can no longer contain more than 214 characters")}if(t.toLowerCase()!==t){r.push("name can no longer contain capital letters")}if(/[~'!()*]/.test(t.split("/").slice(-1)[0])){r.push('name can no longer contain special characters ("~\'!()*")')}if(encodeURIComponent(t)!==t){var l=t.match(a);if(l){var h=l[1];var p=l[2];if(encodeURIComponent(h)===h&&encodeURIComponent(p)===p){return done(r,i)}}i.push("name can only contain URL-friendly characters")}return done(r,i)}var done=function(t,r){var i={validForNewPackages:r.length===0&&t.length===0,validForOldPackages:r.length===0,warnings:t,errors:r};if(!i.warnings.length){delete i.warnings}if(!i.errors.length){delete i.errors}return i};t.exports=validate},5523:t=>{t.exports=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531],[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]]},1205:(t,r,i)=>{"use strict";var o=i(6420);var a=i(5523);var u={nul:0,control:0};t.exports=function wcwidth(t){return wcswidth(t,u)};t.exports.config=function(t){t=o(t||{},u);return function wcwidth(r){return wcswidth(r,t)}};function wcswidth(t,r){if(typeof t!=="string")return wcwidth(t,r);var i=0;for(var o=0;o<t.length;o++){var a=wcwidth(t.charCodeAt(o),r);if(a<0)return-1;i+=a}return i}function wcwidth(t,r){if(t===0)return r.nul;if(t<32||t>=127&&t<160)return r.control;if(bisearch(t))return 0;return 1+(t>=4352&&(t<=4447||t==9001||t==9002||t>=11904&&t<=42191&&t!=12351||t>=44032&&t<=55203||t>=63744&&t<=64255||t>=65040&&t<=65049||t>=65072&&t<=65135||t>=65280&&t<=65376||t>=65504&&t<=65510||t>=131072&&t<=196605||t>=196608&&t<=262141))}function bisearch(t){var r=0;var i=a.length-1;var o;if(t<a[0][0]||t>a[i][1])return false;while(i>=r){o=Math.floor((r+i)/2);if(t>a[o][1])r=o+1;else if(t<a[o][0])i=o-1;else return true}return false}},460:(t,r,i)=>{"use strict";t.exports=writeFile;t.exports.sync=writeFileSync;t.exports._getTmpname=getTmpname;t.exports._cleanupOnExit=cleanupOnExit;var o=i(552);var a=i(5091);var u=i(2028);var l=i(1017);var h={};var p=function getId(){try{var t=i(1267);return t.threadId}catch(t){return 0}}();var d=0;function getTmpname(t){return t+"."+a(__filename).hash(String(process.pid)).hash(String(p)).hash(String(++d)).result()}function cleanupOnExit(t){return function(){try{o.unlinkSync(typeof t==="function"?t():t)}catch(t){}}}function writeFile(t,r,i,a){if(i){if(i instanceof Function){a=i;i={}}else if(typeof i==="string"){i={encoding:i}}}else{i={}}var p=i.Promise||global.Promise;var d;var m;var g;var y=u(cleanupOnExit((()=>g)));var A=l.resolve(t);new p((function serializeSameFile(t){if(!h[A])h[A]=[];h[A].push(t);if(h[A].length===1)t()})).then((function getRealPath(){return new p((function(r){o.realpath(t,(function(i,o){d=o||t;g=getTmpname(d);r()}))}))})).then((function stat(){return new p((function stat(t){if(i.mode&&i.chown)t();else{o.stat(d,(function(r,o){if(r||!o)t();else{i=Object.assign({},i);if(i.mode==null){i.mode=o.mode}if(i.chown==null&&process.getuid){i.chown={uid:o.uid,gid:o.gid}}t()}}))}}))})).then((function thenWriteFile(){return new p((function(t,r){o.open(g,"w",i.mode,(function(i,o){m=o;if(i)r(i);else t()}))}))})).then((function write(){return new p((function(t,a){if(Buffer.isBuffer(r)){o.write(m,r,0,r.length,0,(function(r){if(r)a(r);else t()}))}else if(r!=null){o.write(m,String(r),0,String(i.encoding||"utf8"),(function(r){if(r)a(r);else t()}))}else t()}))})).then((function syncAndClose(){return new p((function(t,r){if(i.fsync!==false){o.fsync(m,(function(i){if(i)o.close(m,(()=>r(i)));else o.close(m,t)}))}else{o.close(m,t)}}))})).then((function chown(){m=null;if(i.chown){return new p((function(t,r){o.chown(g,i.chown.uid,i.chown.gid,(function(i){if(i)r(i);else t()}))}))}})).then((function chmod(){if(i.mode){return new p((function(t,r){o.chmod(g,i.mode,(function(i){if(i)r(i);else t()}))}))}})).then((function rename(){return new p((function(t,r){o.rename(g,d,(function(i){if(i)r(i);else t()}))}))})).then((function success(){y();a()}),(function fail(t){return new p((t=>m?o.close(m,t):t())).then((()=>{y();o.unlink(g,(function(){a(t)}))}))})).then((function checkQueue(){h[A].shift();if(h[A].length>0){h[A][0]()}else delete h[A]}))}function writeFileSync(t,r,i){if(typeof i==="string")i={encoding:i};else if(!i)i={};try{t=o.realpathSync(t)}catch(t){}var a=getTmpname(t);if(!i.mode||!i.chown){try{var l=o.statSync(t);i=Object.assign({},i);if(!i.mode){i.mode=l.mode}if(!i.chown&&process.getuid){i.chown={uid:l.uid,gid:l.gid}}}catch(t){}}var h;var p=cleanupOnExit(a);var d=u(p);try{h=o.openSync(a,"w",i.mode);if(Buffer.isBuffer(r)){o.writeSync(h,r,0,r.length,0)}else if(r!=null){o.writeSync(h,String(r),0,String(i.encoding||"utf8"))}if(i.fsync!==false){o.fsyncSync(h)}o.closeSync(h);if(i.chown)o.chownSync(a,i.chown.uid,i.chown.gid);if(i.mode)o.chmodSync(a,i.mode);o.renameSync(a,t);d()}catch(t){if(h){try{o.closeSync(h)}catch(t){}}d();p();throw t}}},1389:t=>{"use strict";t.exports=function(t){t.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next){yield t.value}}}},4461:(t,r,i)=>{"use strict";t.exports=Yallist;Yallist.Node=Node;Yallist.create=Yallist;function Yallist(t){var r=this;if(!(r instanceof Yallist)){r=new Yallist}r.tail=null;r.head=null;r.length=0;if(t&&typeof t.forEach==="function"){t.forEach((function(t){r.push(t)}))}else if(arguments.length>0){for(var i=0,o=arguments.length;i<o;i++){r.push(arguments[i])}}return r}Yallist.prototype.removeNode=function(t){if(t.list!==this){throw new Error("removing node which does not belong to this list")}var r=t.next;var i=t.prev;if(r){r.prev=i}if(i){i.next=r}if(t===this.head){this.head=r}if(t===this.tail){this.tail=i}t.list.length--;t.next=null;t.prev=null;t.list=null;return r};Yallist.prototype.unshiftNode=function(t){if(t===this.head){return}if(t.list){t.list.removeNode(t)}var r=this.head;t.list=this;t.next=r;if(r){r.prev=t}this.head=t;if(!this.tail){this.tail=t}this.length++};Yallist.prototype.pushNode=function(t){if(t===this.tail){return}if(t.list){t.list.removeNode(t)}var r=this.tail;t.list=this;t.prev=r;if(r){r.next=t}this.tail=t;if(!this.head){this.head=t}this.length++};Yallist.prototype.push=function(){for(var t=0,r=arguments.length;t<r;t++){push(this,arguments[t])}return this.length};Yallist.prototype.unshift=function(){for(var t=0,r=arguments.length;t<r;t++){unshift(this,arguments[t])}return this.length};Yallist.prototype.pop=function(){if(!this.tail){return undefined}var t=this.tail.value;this.tail=this.tail.prev;if(this.tail){this.tail.next=null}else{this.head=null}this.length--;return t};Yallist.prototype.shift=function(){if(!this.head){return undefined}var t=this.head.value;this.head=this.head.next;if(this.head){this.head.prev=null}else{this.tail=null}this.length--;return t};Yallist.prototype.forEach=function(t,r){r=r||this;for(var i=this.head,o=0;i!==null;o++){t.call(r,i.value,o,this);i=i.next}};Yallist.prototype.forEachReverse=function(t,r){r=r||this;for(var i=this.tail,o=this.length-1;i!==null;o--){t.call(r,i.value,o,this);i=i.prev}};Yallist.prototype.get=function(t){for(var r=0,i=this.head;i!==null&&r<t;r++){i=i.next}if(r===t&&i!==null){return i.value}};Yallist.prototype.getReverse=function(t){for(var r=0,i=this.tail;i!==null&&r<t;r++){i=i.prev}if(r===t&&i!==null){return i.value}};Yallist.prototype.map=function(t,r){r=r||this;var i=new Yallist;for(var o=this.head;o!==null;){i.push(t.call(r,o.value,this));o=o.next}return i};Yallist.prototype.mapReverse=function(t,r){r=r||this;var i=new Yallist;for(var o=this.tail;o!==null;){i.push(t.call(r,o.value,this));o=o.prev}return i};Yallist.prototype.reduce=function(t,r){var i;var o=this.head;if(arguments.length>1){i=r}else if(this.head){o=this.head.next;i=this.head.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var a=0;o!==null;a++){i=t(i,o.value,a);o=o.next}return i};Yallist.prototype.reduceReverse=function(t,r){var i;var o=this.tail;if(arguments.length>1){i=r}else if(this.tail){o=this.tail.prev;i=this.tail.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var a=this.length-1;o!==null;a--){i=t(i,o.value,a);o=o.prev}return i};Yallist.prototype.toArray=function(){var t=new Array(this.length);for(var r=0,i=this.head;i!==null;r++){t[r]=i.value;i=i.next}return t};Yallist.prototype.toArrayReverse=function(){var t=new Array(this.length);for(var r=0,i=this.tail;i!==null;r++){t[r]=i.value;i=i.prev}return t};Yallist.prototype.slice=function(t,r){r=r||this.length;if(r<0){r+=this.length}t=t||0;if(t<0){t+=this.length}var i=new Yallist;if(r<t||r<0){return i}if(t<0){t=0}if(r>this.length){r=this.length}for(var o=0,a=this.head;a!==null&&o<t;o++){a=a.next}for(;a!==null&&o<r;o++,a=a.next){i.push(a.value)}return i};Yallist.prototype.sliceReverse=function(t,r){r=r||this.length;if(r<0){r+=this.length}t=t||0;if(t<0){t+=this.length}var i=new Yallist;if(r<t||r<0){return i}if(t<0){t=0}if(r>this.length){r=this.length}for(var o=this.length,a=this.tail;a!==null&&o>r;o--){a=a.prev}for(;a!==null&&o>t;o--,a=a.prev){i.push(a.value)}return i};Yallist.prototype.splice=function(t,r,...i){if(t>this.length){t=this.length-1}if(t<0){t=this.length+t}for(var o=0,a=this.head;a!==null&&o<t;o++){a=a.next}var u=[];for(var o=0;a&&o<r;o++){u.push(a.value);a=this.removeNode(a)}if(a===null){a=this.tail}if(a!==this.head&&a!==this.tail){a=a.prev}for(var o=0;o<i.length;o++){a=insert(this,a,i[o])}return u};Yallist.prototype.reverse=function(){var t=this.head;var r=this.tail;for(var i=t;i!==null;i=i.prev){var o=i.prev;i.prev=i.next;i.next=o}this.head=r;this.tail=t;return this};function insert(t,r,i){var o=r===t.head?new Node(i,null,r,t):new Node(i,r,r.next,t);if(o.next===null){t.tail=o}if(o.prev===null){t.head=o}t.length++;return o}function push(t,r){t.tail=new Node(r,t.tail,null,t);if(!t.head){t.head=t.tail}t.length++}function unshift(t,r){t.head=new Node(r,null,t.head,t);if(!t.tail){t.tail=t.head}t.length++}function Node(t,r,i,o){if(!(this instanceof Node)){return new Node(t,r,i,o)}this.list=o;this.value=t;if(r){r.next=this;this.prev=r}else{this.prev=null}if(i){i.prev=this;this.next=i}else{this.next=null}}try{i(1389)(Yallist)}catch(t){}},6282:function(t,r,i){"use strict";var o=this&&this.__createBinding||(Object.create?function(t,r,i,o){if(o===undefined)o=i;var a=Object.getOwnPropertyDescriptor(r,i);if(!a||("get"in a?!r.__esModule:a.writable||a.configurable)){a={enumerable:true,get:function(){return r[i]}}}Object.defineProperty(t,o,a)}:function(t,r,i,o){if(o===undefined)o=i;t[o]=r[i]});var a=this&&this.__setModuleDefault||(Object.create?function(t,r){Object.defineProperty(t,"default",{enumerable:true,value:r})}:function(t,r){t["default"]=r});var u=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var i in t)if(i!=="default"&&Object.prototype.hasOwnProperty.call(t,i))o(r,t,i);a(r,t);return r};var l=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});const h=i(6779);const p=l(i(5130));const d=l(i(7561));const m=l(i(9411));const g=i(7261);const y=l(i(460));const A=u(i(1486));const b=(0,g.promisify)(y.default);const v={badJsonDefault:undefined,jsonParseErrorDefault:undefined,cantReadFileDefault:undefined,ensureDir:false,default:undefined,json5:false,space:2,addNewLineAtEOF:true};class JsonFile{file;options;static read=read;static readAsync=readAsync;static parseJsonString=parseJsonString;static write=write;static writeAsync=writeAsync;static get=getSync;static getAsync=getAsync;static set=setSync;static setAsync=setAsync;static merge=merge;static mergeAsync=mergeAsync;static deleteKey=deleteKey;static deleteKeyAsync=deleteKeyAsync;static deleteKeys=deleteKeys;static deleteKeysAsync=deleteKeysAsync;static rewrite=rewrite;static rewriteAsync=rewriteAsync;constructor(t,r={}){this.file=t;this.options=r}read(t){return read(this.file,this._getOptions(t))}async readAsync(t){return readAsync(this.file,this._getOptions(t))}write(t,r){return write(this.file,t,this._getOptions(r))}async writeAsync(t,r){return writeAsync(this.file,t,this._getOptions(r))}parseJsonString(t,r){return parseJsonString(t,r)}get(t,r,i){return getSync(this.file,t,r,this._getOptions(i))}async getAsync(t,r,i){return getAsync(this.file,t,r,this._getOptions(i))}set(t,r,i){return setSync(this.file,t,r,this._getOptions(i))}async setAsync(t,r,i){return setAsync(this.file,t,r,this._getOptions(i))}async merge(t,r){return merge(this.file,t,this._getOptions(r))}async mergeAsync(t,r){return mergeAsync(this.file,t,this._getOptions(r))}deleteKey(t,r){return deleteKey(this.file,t,this._getOptions(r))}async deleteKeyAsync(t,r){return deleteKeyAsync(this.file,t,this._getOptions(r))}deleteKeys(t,r){return deleteKeys(this.file,t,this._getOptions(r))}async deleteKeysAsync(t,r){return deleteKeysAsync(this.file,t,this._getOptions(r))}rewrite(t){return rewrite(this.file,this._getOptions(t))}async rewriteAsync(t){return rewriteAsync(this.file,this._getOptions(t))}_getOptions(t){return{...this.options,...t}}}r["default"]=JsonFile;function read(t,r){let i;try{i=d.default.readFileSync(t,"utf8")}catch(o){assertEmptyJsonString(i,t);const a=cantReadFileDefault(r);if(a===undefined){throw new A.default(`Can't read JSON file: ${t}`,o,o.code,t)}else{return a}}return parseJsonString(i,r,t)}async function readAsync(t,r){let i;try{i=await d.default.promises.readFile(t,"utf8")}catch(o){assertEmptyJsonString(i,t);const a=cantReadFileDefault(r);if(a===undefined){throw new A.default(`Can't read JSON file: ${t}`,o,o.code)}else{return a}}return parseJsonString(i,r)}function parseJsonString(t,r,i){assertEmptyJsonString(t,i);try{if(_getOption(r,"json5")){return p.default.parse(t)}else{return JSON.parse(t)}}catch(o){const a=jsonParseErrorDefault(r);if(a===undefined){const r=locationFromSyntaxError(o,t);if(r){const i=(0,h.codeFrameColumns)(t,{start:r});o.codeFrame=i;o.message+=`\n${i}`}throw new A.default(`Error parsing JSON: ${t}`,o,"EJSONPARSE",i)}else{return a}}}function getSync(t,r,i,o){const a=read(t,o);if(r in a){return a[r]}if(i===undefined){throw new A.default(`No value at key path "${String(r)}" in JSON object from: ${t}`)}return i}async function getAsync(t,r,i,o){const a=await readAsync(t,o);if(r in a){return a[r]}if(i===undefined){throw new A.default(`No value at key path "${String(r)}" in JSON object from: ${t}`)}return i}function write(t,r,i){if(i?.ensureDir){d.default.mkdirSync(m.default.dirname(t),{recursive:true})}const o=_getOption(i,"space");const a=_getOption(i,"json5");const u=_getOption(i,"addNewLineAtEOF");let l;try{if(a){l=p.default.stringify(r,null,o)}else{l=JSON.stringify(r,null,o)}}catch(r){throw new A.default(`Couldn't JSON.stringify object for file: ${t}`,r)}const h=u?`${l}\n`:l;y.default.sync(t,h,{});return r}async function writeAsync(t,r,i){if(i?.ensureDir){await d.default.promises.mkdir(m.default.dirname(t),{recursive:true})}const o=_getOption(i,"space");const a=_getOption(i,"json5");const u=_getOption(i,"addNewLineAtEOF");let l;try{if(a){l=p.default.stringify(r,null,o)}else{l=JSON.stringify(r,null,o)}}catch(r){throw new A.default(`Couldn't JSON.stringify object for file: ${t}`,r)}const h=u?`${l}\n`:l;await b(t,h,{});return r}function setSync(t,r,i,o){const a=read(t,o);return write(t,{...a,[r]:i},o)}async function setAsync(t,r,i,o){const a=await readAsync(t,o);return writeAsync(t,{...a,[r]:i},o)}async function mergeAsync(t,r,i){const o=await readAsync(t,i);if(Array.isArray(r)){Object.assign(o,...r)}else{Object.assign(o,r)}return writeAsync(t,o,i)}function merge(t,r,i){const o=read(t,i);if(Array.isArray(r)){Object.assign(o,...r)}else{Object.assign(o,r)}return write(t,o,i)}async function deleteKeyAsync(t,r,i){return deleteKeysAsync(t,[r],i)}function deleteKey(t,r,i){return deleteKeys(t,[r],i)}async function deleteKeysAsync(t,r,i){const o=await readAsync(t,i);let a=false;for(let t=0;t<r.length;t++){const i=r[t];if(o.hasOwnProperty(i)){delete o[i];a=true}}if(a){return writeAsync(t,o,i)}return o}function deleteKeys(t,r,i){const o=read(t,i);let a=false;for(let t=0;t<r.length;t++){const i=r[t];if(o.hasOwnProperty(i)){delete o[i];a=true}}if(a){return write(t,o,i)}return o}async function rewriteAsync(t,r){const i=await readAsync(t,r);return writeAsync(t,i,r)}function rewrite(t,r){return write(t,read(t,r),r)}function jsonParseErrorDefault(t={}){if(t.jsonParseErrorDefault===undefined){return t.default}else{return t.jsonParseErrorDefault}}function cantReadFileDefault(t={}){if(t.cantReadFileDefault===undefined){return t.default}else{return t.cantReadFileDefault}}function _getOption(t,r){if(t){if(t[r]!==undefined){return t[r]}}return v[r]}function locationFromSyntaxError(t,r){if("lineNumber"in t&&"columnNumber"in t){return{line:t.lineNumber,column:t.columnNumber}}const i=/at position (\d+)/.exec(t.message);if(i){const t=parseInt(i[1],10);const o=r.slice(0,t+1).split("\n");return{line:o.length,column:o[o.length-1].length}}return null}function assertEmptyJsonString(t,r){if(t?.trim()===""){throw new A.EmptyJsonFileError(r)}}},1486:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.EmptyJsonFileError=void 0;class JsonFileError extends Error{cause;code;fileName;isJsonFileError;constructor(t,r,i,o){let a=t;if(o){a+=`\n${r?"├":"└"}─ File: ${o}`}if(r){a+=`\n└─ Cause: ${r.name}: ${r.message}`}super(a);this.name=this.constructor.name;this.cause=r;this.code=i;this.fileName=o;this.isJsonFileError=true}}r["default"]=JsonFileError;class EmptyJsonFileError extends JsonFileError{constructor(t){super(`Cannot parse an empty JSON string`,undefined,"EJSONEMPTY",t)}}r.EmptyJsonFileError=EmptyJsonFileError},6779:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.codeFrameColumns=codeFrameColumns;r["default"]=_default;var o=_interopRequireWildcard(i(932));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;_getRequireWildcardCache=function(){return t};return t}function _interopRequireWildcard(t){if(t&&t.__esModule){return t}if(t===null||typeof t!=="object"&&typeof t!=="function"){return{default:t}}var r=_getRequireWildcardCache();if(r&&r.has(t)){return r.get(t)}var i={};var o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t){if(Object.prototype.hasOwnProperty.call(t,a)){var u=o?Object.getOwnPropertyDescriptor(t,a):null;if(u&&(u.get||u.set)){Object.defineProperty(i,a,u)}else{i[a]=t[a]}}}i.default=t;if(r){r.set(t,i)}return i}let a=false;function getDefs(t){return{gutter:t.grey,marker:t.red.bold,message:t.red.bold}}const u=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(t,r,i){const o=Object.assign({column:0,line:-1},t.start);const a=Object.assign({},o,t.end);const{linesAbove:u=2,linesBelow:l=3}=i||{};const h=o.line;const p=o.column;const d=a.line;const m=a.column;let g=Math.max(h-(u+1),0);let y=Math.min(r.length,d+l);if(h===-1){g=0}if(d===-1){y=r.length}const A=d-h;const b={};if(A){for(let t=0;t<=A;t++){const i=t+h;if(!p){b[i]=true}else if(t===0){const t=r[i-1].length;b[i]=[p,t-p+1]}else if(t===A){b[i]=[0,m]}else{const o=r[i-t].length;b[i]=[0,o]}}}else{if(p===m){if(p){b[h]=[p,0]}else{b[h]=true}}else{b[h]=[p,m-p]}}return{start:g,end:y,markerLines:b}}function codeFrameColumns(t,r,i={}){const a=(i.highlightCode||i.forceColor)&&(0,o.shouldHighlight)(i);const l=(0,o.getChalk)(i);const h=getDefs(l);const maybeHighlight=(t,r)=>a?t(r):r;const p=t.split(u);const{start:d,end:m,markerLines:g}=getMarkerLines(r,p,i);const y=r.start&&typeof r.start.column==="number";const A=String(m).length;const b=a?(0,o.default)(t,i):t;let v=b.split(u).slice(d,m).map(((t,r)=>{const o=d+1+r;const a=` ${o}`.slice(-A);const u=` ${a} | `;const l=g[o];const p=!g[o+1];if(l){let r="";if(Array.isArray(l)){const o=t.slice(0,Math.max(l[0]-1,0)).replace(/[^\t]/g," ");const a=l[1]||1;r=["\n ",maybeHighlight(h.gutter,u.replace(/\d/g," ")),o,maybeHighlight(h.marker,"^").repeat(a)].join("");if(p&&i.message){r+=" "+maybeHighlight(h.message,i.message)}}return[maybeHighlight(h.marker,">"),maybeHighlight(h.gutter,u),t,r].join("")}else{return` ${maybeHighlight(h.gutter,u)}${t}`}})).join("\n");if(i.message&&!y){v=`${" ".repeat(A+1)}${i.message}\n${v}`}if(a){return l.reset(v)}else{return v}}function _default(t,r,i,o={}){if(!a){a=true;const t="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(t,"DeprecationWarning")}else{const r=new Error(t);r.name="DeprecationWarning";console.warn(new Error(t))}}i=Math.max(i,0);const u={start:{column:i,line:r}};return codeFrameColumns(t,u,o)}},5997:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true})},7496:function(t,r,i){"use strict";var o=this&&this.__createBinding||(Object.create?function(t,r,i,o){if(o===undefined)o=i;var a=Object.getOwnPropertyDescriptor(r,i);if(!a||("get"in a?!r.__esModule:a.writable||a.configurable)){a={enumerable:true,get:function(){return r[i]}}}Object.defineProperty(t,o,a)}:function(t,r,i,o){if(o===undefined)o=i;t[o]=r[i]});var a=this&&this.__exportStar||function(t,r){for(var i in t)if(i!=="default"&&!Object.prototype.hasOwnProperty.call(r,i))o(r,t,i)};Object.defineProperty(r,"__esModule",{value:true});r.isYarnOfflineAsync=void 0;a(i(5997),r);a(i(1574),r);a(i(1178),r);a(i(6125),r);a(i(57),r);a(i(6805),r);a(i(3746),r);var u=i(822);Object.defineProperty(r,"isYarnOfflineAsync",{enumerable:true,get:function(){return u.isYarnOfflineAsync}})},1574:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.getImprovedPodInstallError=r.getPodRepoUpdateMessage=r.getPodUpdateMessage=r.CocoaPodsPackageManager=r.extractMissingDependencyError=r.CocoaPodsError=void 0;const a=o(i(5642));const u=o(i(8746));const l=i(7147);const h=o(i(2037));const p=o(i(1017));const d=i(6418);class CocoaPodsError extends Error{code;cause;name="CocoaPodsError";isPackageManagerError=true;constructor(t,r,i){super(i?`${t}\n└─ Cause: ${i.message}`:t);this.code=r;this.cause=i}}r.CocoaPodsError=CocoaPodsError;function extractMissingDependencyError(t){const r=t.match(/Unable to find a specification for ['"`]([\w-_\d\s]+)['"`] depended upon by ['"`]([\w-_\d\s]+)['"`]/);if(r){return[r[1],r[2]]}return null}r.extractMissingDependencyError=extractMissingDependencyError;class CocoaPodsPackageManager{options;silent;static getPodProjectRoot(t){if(CocoaPodsPackageManager.isUsingPods(t))return t;const r=p.default.join(t,"ios");if(CocoaPodsPackageManager.isUsingPods(r))return r;const i=p.default.join(t,"macos");if(CocoaPodsPackageManager.isUsingPods(i))return i;return null}static isUsingPods(t){return(0,l.existsSync)(p.default.join(t,"Podfile"))}static async gemInstallCLIAsync(t=false,r={stdio:"inherit"}){const i=["install","cocoapods","--no-document"];try{await(0,a.default)("gem",i,r)}catch(o){if(t){throw new CocoaPodsError("Failed to install CocoaPods CLI with gem (recommended)","COMMAND_FAILED",o)}await(0,d.spawnSudoAsync)(["gem",...i],r)}}static async brewLinkCLIAsync(t={stdio:"inherit"}){await(0,a.default)("brew",["link","cocoapods"],t)}static async brewInstallCLIAsync(t={stdio:"inherit"}){await(0,a.default)("brew",["install","cocoapods"],t)}static async installCLIAsync({nonInteractive:t=false,spawnOptions:r={stdio:"inherit"}}){if(!r){r={stdio:"inherit"}}const i=!!r.ignoreStdio;try{!i&&console.log(`› Attempting to install CocoaPods CLI with Gem`);await CocoaPodsPackageManager.gemInstallCLIAsync(t,r);!i&&console.log(`› Successfully installed CocoaPods CLI with Gem`);return true}catch(t){if(!i){console.log(u.default.yellow(`› Failed to install CocoaPods CLI with Gem`));console.log(u.default.red(t.stderr??t.message));console.log(`› Attempting to install CocoaPods CLI with Homebrew`)}try{await CocoaPodsPackageManager.brewInstallCLIAsync(r);if(!await CocoaPodsPackageManager.isCLIInstalledAsync(r)){try{await CocoaPodsPackageManager.brewLinkCLIAsync(r);if(!await CocoaPodsPackageManager.isCLIInstalledAsync(r)){throw new CocoaPodsError("CLI could not be installed automatically with gem or Homebrew, please install CocoaPods manually and try again","NO_CLI",t)}}catch(t){throw new CocoaPodsError("Homebrew installation appeared to succeed but CocoaPods CLI not found in PATH and unable to link.","NO_CLI",t)}}!i&&console.log(`› Successfully installed CocoaPods CLI with Homebrew`);return true}catch(t){!i&&console.warn(u.default.yellow(`› Failed to install CocoaPods with Homebrew. Please install CocoaPods CLI manually and try again.`));throw new CocoaPodsError(`Failed to install CocoaPods with Homebrew. Please install CocoaPods CLI manually and try again.`,"NO_CLI",t)}}}static isAvailable(t,r){if(process.platform!=="darwin"){!r&&console.log(u.default.red("CocoaPods is only supported on macOS machines"));return false}if(!CocoaPodsPackageManager.isUsingPods(t)){!r&&console.log(u.default.yellow("CocoaPods is not supported in this project"));return false}return true}static async isCLIInstalledAsync(t={stdio:"inherit"}){try{await(0,a.default)("pod",["--version"],t);return true}catch{return false}}constructor({cwd:t,silent:r}){this.silent=!!r;this.options={cwd:t,stdio:"pipe"}}get name(){return"CocoaPods"}async installAsync({spinner:t}={}){await this._installAsync({spinner:t})}isCLIInstalledAsync(){return CocoaPodsPackageManager.isCLIInstalledAsync(this.options)}installCLIAsync(){return CocoaPodsPackageManager.installCLIAsync({nonInteractive:true,spawnOptions:this.options})}async handleInstallErrorAsync({error:t,shouldUpdate:r=true,updatedPackages:i=[],spinner:o}){if(!t.output){throw t}if(!r){throw getImprovedPodInstallError(t,{cwd:this.options.cwd})}const a=t.output.join(h.default.EOL).trim();const{updatePackage:l,shouldUpdateRepo:p}=getPodUpdateMessage(a);if(!l||i.includes(l)){return await this._installAsync({spinner:o,shouldRepoUpdate:true,shouldUpdate:false,updatedPackages:i})}i.push(l);return await this.runInstallTypeCommandAsync(["update",l,p?"":"--no-repo-update"].filter(Boolean),{formatWarning(){const t=`Failed to update ${u.default.bold(l)}. Attempting to update the repo instead.`;return t},spinner:o,updatedPackages:i})}async _installAsync({shouldRepoUpdate:t,...r}={}){return await this.runInstallTypeCommandAsync(["install",t?"--repo-update":""].filter(Boolean),{formatWarning(t){return getPodRepoUpdateMessage(t.output.join(h.default.EOL).trim()).message},...r})}async runInstallTypeCommandAsync(t,{formatWarning:r,...i}={}){try{return await this._runAsync(t)}catch(t){if(r){const o=r(t);if(i.spinner){i.spinner.text=u.default.bold(o)}if(!this.silent){console.warn(u.default.yellow(o))}}return await this.handleInstallErrorAsync({error:t,...i})}}async addWithParametersAsync(t,r){throw new Error("Unimplemented")}addAsync(t=[]){throw new Error("Unimplemented")}addDevAsync(t=[]){throw new Error("Unimplemented")}addGlobalAsync(t=[]){throw new Error("Unimplemented")}removeAsync(t=[]){throw new Error("Unimplemented")}removeDevAsync(t=[]){throw new Error("Unimplemented")}removeGlobalAsync(t=[]){throw new Error("Unimplemented")}async versionAsync(){const{stdout:t}=await(0,a.default)("pod",["--version"],this.options);return t.trim()}async configAsync(t){throw new Error("Unimplemented")}async removeLockfileAsync(){throw new Error("Unimplemented")}async uninstallAsync(){throw new Error("Unimplemented")}async podRepoUpdateAsync(){try{await this._runAsync(["repo","update"])}catch(t){t.message=t.message||(t.stderr??t.stdout);throw new CocoaPodsError("The command `pod install --repo-update` failed","COMMAND_FAILED",t)}}async _runAsync(t){if(!this.silent){console.log(`> pod ${t.join(" ")}`)}const r=(0,a.default)("pod",[...t,"--ansi"],{...this.options,stdio:"pipe"});if(!this.silent){if(r.child.stdout){r.child.stdout.pipe(process.stdout)}}return await r}}r.CocoaPodsPackageManager=CocoaPodsPackageManager;function shouldPodRepoUpdate(t){const r=t;const i=r.includes("pod repo update")||r.includes("--no-repo-update");return i}function getPodUpdateMessage(t){const r=t.match(/run ['"`]pod update ([\w-_\d/]+)( --no-repo-update)?['"`] to apply changes/);return{updatePackage:r?.[1]??null,shouldUpdateRepo:!r?.[2]}}r.getPodUpdateMessage=getPodUpdateMessage;function getPodRepoUpdateMessage(t){const r=extractMissingDependencyError(t);const i=getPodUpdateMessage(t);let o;if(r){o=`Couldn't install: ${r[1]} » ${u.default.underline(r[0])}.`}else if(i?.updatePackage){o=`Couldn't install: ${i?.updatePackage}.`}else{o=`Couldn't install Pods.`}o+=` Updating the Pods project and trying again...`;return{message:o,...i}}r.getPodRepoUpdateMessage=getPodRepoUpdateMessage;function getImprovedPodInstallError(t,{cwd:r=process.cwd()}){const i=t.output.join(h.default.EOL).trim();if(t.stdout.match(/No [`'"]Podfile[`'"] found in the project directory/)){t.message=`No Podfile found in directory: ${r}. Ensure CocoaPods is setup any try again.`}else if(shouldPodRepoUpdate(i)){const r=extractMissingDependencyError(i);let o;if(r){o=`Couldn't install: ${r[1]} » ${u.default.underline(r[0])}`}else{o=`This is often due to native package versions mismatching`}let a;if(r?.[0]){if(r[0].match(/^(?:@?expo|@?react)(-|\/)/)){a=`Ensure the node module "${r[0]}" is installed in your project, then run 'npx pod-install' to try again.`}else{a=`Ensure the CocoaPod "${r[0]}" is installed in your project, then run 'npx pod-install' to try again.`}}else{a=`Try deleting the 'ios/Pods' folder or the 'ios/Podfile.lock' file and running 'npx pod-install' to resolve.`}t.message=`${o}. ${a}`;if(t.stdout){const r=t.stdout.split(h.default.EOL);const i=r.findIndex((t=>t.startsWith("[!]")));if(i!==-1){const o=r.slice(i).join(h.default.EOL);t.message+=`\n\n${u.default.gray(o)}`}}return new CocoaPodsError("Command `pod install --repo-update` failed.","COMMAND_FAILED",t)}else{let r=t.stderr.trim();const i=t.stdout.match(/\[!\]\s((?:.|\n)*)/)?.[1];if(i){if(t.message?.match(/pod exited with non-zero code: 1/)){t.message=""}r=null}t.message=[i,t.message,r].filter(Boolean).join("\n")}return new CocoaPodsError("Command `pod install` failed.","COMMAND_FAILED",t)}r.getImprovedPodInstallError=getImprovedPodInstallError},1729:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.BasePackageManager=void 0;const a=o(i(5642));const u=o(i(9491));const l=o(i(7147));const h=o(i(1017));class BasePackageManager{silent;log;options;constructor({silent:t,log:r,env:i=process.env,...o}={}){this.silent=!!t;this.log=r??(!t?console.log:undefined);this.options={stdio:t?undefined:"inherit",...o,env:{...this.getDefaultEnvironment(),...i}}}getDefaultEnvironment(){return{ADBLOCK:"1",DISABLE_OPENCOLLECTIVE:"1"}}ensureCwdDefined(t){const r=this.options.cwd?.toString();const i=this.constructor.name;const o=t?`.${t}`:"";(0,u.default)(r,`cwd is required for ${i}${o}`);return r}runAsync(t,r={}){this.log?.(`> ${this.name} ${t.join(" ")}`);return(0,a.default)(this.bin,t,{...this.options,...r})}runBinAsync(t,r={}){this.log?.(`> ${this.name} ${t.join(" ")}`);return(0,a.default)(this.bin,t,{...this.options,...r})}async versionAsync(){const{stdout:t}=await this.runAsync(["--version"],{stdio:undefined});return t.trim()}async getConfigAsync(t){const{stdout:r}=await this.runAsync(["config","get",t]);return r.trim()}async removeLockfileAsync(){const t=this.ensureCwdDefined("removeLockFile");const r=h.default.join(t,this.lockFile);await l.default.promises.rm(r,{force:true})}installAsync(t=[]){return this.runAsync(["install",...t])}async uninstallAsync(){const t=this.ensureCwdDefined("uninstallAsync");const r=h.default.join(t,"node_modules");await l.default.promises.rm(r,{force:true,recursive:true})}}r.BasePackageManager=BasePackageManager},6805:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.BunPackageManager=void 0;const o=i(1729);const a=i(3746);class BunPackageManager extends o.BasePackageManager{name="bun";bin="bun";lockFile=a.BUN_LOCK_FILE;workspaceRoot(){const t=(0,a.resolveWorkspaceRoot)(this.ensureCwdDefined("workspaceRoot"));if(t){return new BunPackageManager({...this.options,silent:this.silent,log:this.log,cwd:t})}return null}installAsync(t=[]){return this.runAsync(["install",...t])}addAsync(t=[]){if(!t.length){return this.installAsync()}return this.runAsync(["add",...t])}addDevAsync(t=[]){if(!t.length){return this.installAsync()}return this.runAsync(["add","--dev",...t])}addGlobalAsync(t=[]){if(!t.length){return this.installAsync()}return this.runAsync(["add","--global",...t])}removeAsync(t){return this.runAsync(["remove",...t])}removeDevAsync(t){return this.runAsync(["remove",...t])}removeGlobalAsync(t){return this.runAsync(["remove","--global",...t])}}r.BunPackageManager=BunPackageManager},1178:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.NpmPackageManager=void 0;const a=o(i(6282));const u=o(i(5642));const l=o(i(5440));const h=o(i(1017));const p=i(1729);const d=i(3746);const m=i(6418);class NpmPackageManager extends p.BasePackageManager{name="npm";bin="npm";lockFile=d.NPM_LOCK_FILE;workspaceRoot(){const t=(0,d.resolveWorkspaceRoot)(this.ensureCwdDefined("workspaceRoot"));if(t){return new NpmPackageManager({...this.options,silent:this.silent,log:this.log,cwd:t})}return null}addAsync(t=[]){if(!t.length){return this.installAsync()}const{flags:r,versioned:i,unversioned:o}=this.parsePackageSpecs(t);return(0,m.createPendingSpawnAsync)((()=>this.updatePackageFileAsync(i,"dependencies")),(()=>!o.length?this.runAsync(["install",...r]):this.runAsync(["install","--save",...r,...o.map((t=>t.raw))])))}addDevAsync(t=[]){if(!t.length){return this.installAsync()}const{flags:r,versioned:i,unversioned:o}=this.parsePackageSpecs(t);return(0,m.createPendingSpawnAsync)((()=>this.updatePackageFileAsync(i,"devDependencies")),(()=>!o.length?this.runAsync(["install",...r]):this.runAsync(["install","--save-dev",...r,...o.map((t=>t.raw))])))}addGlobalAsync(t=[]){if(!t.length){return this.installAsync()}return this.runAsync(["install","--global",...t])}removeAsync(t){return this.runAsync(["uninstall",...t])}removeDevAsync(t){return this.runAsync(["uninstall","--save-dev",...t])}removeGlobalAsync(t){return this.runAsync(["uninstall","--global",...t])}runBinAsync(t,r={}){this.log?.(`> npx ${t.join(" ")}`);return(0,u.default)("npx",t,{...this.options,...r})}parsePackageSpecs(t){const r={flags:[],versioned:[],unversioned:[]};t.map((t=>{if(t.trim().startsWith("-")){r.flags.push(t);return null}return(0,l.default)(t)})).forEach((t=>{const i=!!t&&t.rawSpec!==""&&t.rawSpec!=="*";if(t&&i&&t.type!=="tag"){r.versioned.push(t)}else if(t){r.unversioned.push(t)}}));return r}async updatePackageFileAsync(t,r){if(!t.length){return}const i=h.default.join(this.options.cwd?.toString()||".","package.json");const o=await a.default.readAsync(i);t.forEach((t=>{o[r]=o[r]||{};o[r][t.name]=t.rawSpec}));await a.default.writeAsync(i,o,{json5:false})}}r.NpmPackageManager=NpmPackageManager},6125:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.PnpmPackageManager=void 0;const a=i(1729);const u=o(i(1966));const l=i(3746);class PnpmPackageManager extends a.BasePackageManager{name="pnpm";bin="pnpm";lockFile=l.PNPM_LOCK_FILE;workspaceRoot(){const t=(0,l.resolveWorkspaceRoot)(this.ensureCwdDefined("workspaceRoot"));if(t){return new PnpmPackageManager({...this.options,silent:this.silent,log:this.log,cwd:t})}return null}installAsync(t=[]){if(u.default.CI&&!t.join(" ").includes("frozen-lockfile")){t.unshift("--no-frozen-lockfile")}return this.runAsync(["install",...t])}addAsync(t=[]){if(!t.length){return this.installAsync()}return this.runAsync(["add",...t])}addDevAsync(t=[]){if(!t.length){return this.installAsync()}return this.runAsync(["add","--save-dev",...t])}addGlobalAsync(t=[]){if(!t.length){return this.installAsync()}return this.runAsync(["add","--global",...t])}removeAsync(t){return this.runAsync(["remove",...t])}removeDevAsync(t){return this.runAsync(["remove","--save-dev",...t])}removeGlobalAsync(t){return this.runAsync(["remove","--global",...t])}}r.PnpmPackageManager=PnpmPackageManager},57:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.YarnPackageManager=void 0;const o=i(1729);const a=i(3746);const u=i(6418);const l=i(822);class YarnPackageManager extends o.BasePackageManager{name="yarn";bin="yarnpkg";lockFile=a.YARN_LOCK_FILE;async withOfflineFlagAsync(t){return await(0,l.isYarnOfflineAsync)()?[...t,"--offline"]:t}workspaceRoot(){const t=(0,a.resolveWorkspaceRoot)(this.ensureCwdDefined("workspaceRoot"));if(t){return new YarnPackageManager({...this.options,silent:this.silent,log:this.log,cwd:t})}return null}installAsync(t=[]){return(0,u.createPendingSpawnAsync)((()=>this.withOfflineFlagAsync(["install"])),(r=>this.runAsync([...r,...t])))}addAsync(t=[]){if(!t.length){return this.installAsync()}return(0,u.createPendingSpawnAsync)((()=>this.withOfflineFlagAsync(["add",...t])),(t=>this.runAsync(t)))}addDevAsync(t=[]){if(!t.length){return this.installAsync()}return(0,u.createPendingSpawnAsync)((()=>this.withOfflineFlagAsync(["add","--dev",...t])),(t=>this.runAsync(t)))}addGlobalAsync(t=[]){if(!t.length){return this.installAsync()}return(0,u.createPendingSpawnAsync)((()=>this.withOfflineFlagAsync(["global","add",...t])),(t=>this.runAsync(t)))}removeAsync(t){return this.runAsync(["remove",...t])}removeDevAsync(t){return this.runAsync(["remove",...t])}removeGlobalAsync(t){return this.runAsync(["global","remove",...t])}}r.YarnPackageManager=YarnPackageManager},1966:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});class Env{get CI(){const{CI:t}=process.env;return t?.toLowerCase()==="true"||t==="1"}}r["default"]=new Env},3746:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.createForProject=r.resolvePackageManager=r.RESOLUTION_ORDER=r.BUN_LOCK_FILE=r.PNPM_LOCK_FILE=r.YARN_LOCK_FILE=r.NPM_LOCK_FILE=r.resolveWorkspaceRoot=void 0;const a=o(i(7147));const u=o(i(1017));const l=i(7301);const h=i(6805);const p=i(1178);const d=i(6125);const m=i(57);var g=i(7301);Object.defineProperty(r,"resolveWorkspaceRoot",{enumerable:true,get:function(){return g.resolveWorkspaceRoot}});r.NPM_LOCK_FILE="package-lock.json";r.YARN_LOCK_FILE="yarn.lock";r.PNPM_LOCK_FILE="pnpm-lock.yaml";r.BUN_LOCK_FILE="bun.lockb";r.RESOLUTION_ORDER=["bun","yarn","npm","pnpm"];function resolvePackageManager(t,i){const o=(0,l.resolveWorkspaceRoot)(t)??t;const h={npm:r.NPM_LOCK_FILE,pnpm:r.PNPM_LOCK_FILE,yarn:r.YARN_LOCK_FILE,bun:r.BUN_LOCK_FILE};if(i){if(a.default.existsSync(u.default.join(o,h[i]))){return i}return null}for(const t of r.RESOLUTION_ORDER){if(a.default.existsSync(u.default.join(o,h[t]))){return t}}return null}r.resolvePackageManager=resolvePackageManager;function createForProject(t,r={}){if(r.npm){return new p.NpmPackageManager({cwd:t,...r})}else if(r.yarn){return new m.YarnPackageManager({cwd:t,...r})}else if(r.pnpm){return new d.PnpmPackageManager({cwd:t,...r})}else if(r.bun){return new h.BunPackageManager({cwd:t,...r})}switch(resolvePackageManager(t)){case"npm":return new p.NpmPackageManager({cwd:t,...r});case"pnpm":return new d.PnpmPackageManager({cwd:t,...r});case"yarn":return new m.YarnPackageManager({cwd:t,...r});case"bun":return new h.BunPackageManager({cwd:t,...r});default:return new p.NpmPackageManager({cwd:t,...r})}}r.createForProject=createForProject},6418:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.spawnSudoAsync=r.createPendingSpawnAsync=void 0;const a=o(i(5642));const u=o(i(5667));function createPendingSpawnAsync(t,r){let i;const o=new Promise(((t,r)=>{i=t}));const a=new Promise(((o,a)=>{t().then((t=>{const u=r(t);i(u.child);u.then(o).catch(a)})).catch((t=>{i(null);a(t)}))}));a.child=o;return a}r.createPendingSpawnAsync=createPendingSpawnAsync;async function spawnSudoAsync(t,r){if(process.platform==="win32"){return new Promise(((r,i)=>{u.default.exec(t.join(" "),{name:"pod install"},(t=>{if(t){i(t)}r()}))}))}else{console.log("Your password might be needed to install CocoaPods CLI: https://guides.cocoapods.org/using/getting-started.html#installation");await(0,a.default)("sudo",t,r)}}r.spawnSudoAsync=spawnSudoAsync},822:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.getNpmProxy=r.isYarnOfflineAsync=void 0;const a=i(2081);const u=o(i(9523));const l=o(i(7310));async function isYarnOfflineAsync(){if(await isUrlAvailableAsync("registry.yarnpkg.com")){return false}const t=getNpmProxy();if(!t){return true}const{hostname:r}=l.default.parse(t);if(!r){return true}return!await isUrlAvailableAsync(r)}r.isYarnOfflineAsync=isYarnOfflineAsync;function getNpmProxy(){if(process.env.https_proxy){return process.env.https_proxy??null}try{const t=(0,a.execSync)("npm config get https-proxy").toString().trim();return t!=="null"?t:null}catch{return null}}r.getNpmProxy=getNpmProxy;function isUrlAvailableAsync(t){return new Promise((r=>{u.default.lookup(t,(t=>{r(!t)}))}))}},6055:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.sanitizeScriptsAsync=r.downloadAndExtractExampleAsync=r.promptExamplesAsync=r.ensureExampleExists=void 0;const a=o(i(6282));const u=o(i(8746));const l=o(i(7147));const h=o(i(1017));const p=o(i(1112));const d=i(2781);const m=o(i(8089));const g=i(3837);const y=i(1947);const A=i(6581);const b=i(7943);const v=i(9544);const E=i(7984)("expo:init:template");const w=(0,g.promisify)(d.Stream.pipeline);async function listExamplesAsync(){const t=await(0,v.fetch)("https://api.github.com/repos/expo/examples/contents");if(!t.ok){throw new Error("Unexpected GitHub API response: https://github.com/expo/examples")}const r=await t.json();return r.filter((t=>t.type==="dir"&&!t.name.startsWith(".")))}async function hasExampleAsync(t){const r=await(0,v.fetch)(`https://api.github.com/repos/expo/examples/contents/${encodeURIComponent(t)}/package.json`);if(r.status===404||r.ok){return r.ok}throw new Error(`Unexpected GitHub API response: ${r.status} - ${r.statusText}`)}async function ensureExampleExists(t){if(!await hasExampleAsync(t)){throw new Error(`Example "${t}" does not exist, see https://github.com/expo/examples`)}}r.ensureExampleExists=ensureExampleExists;async function promptExamplesAsync(){if(b.env.CI){throw new Error("Cannot prompt for examples in CI")}const t=await listExamplesAsync();const{answer:r}=await(0,p.default)({type:"select",name:"answer",message:"Choose an example:",choices:t.map((t=>({title:t.name,value:t.path})))});if(!r){console.log();console.log((0,u.default)`Please specify the example, example: {cyan --example with-router}`);console.log();process.exit(1)}return r}r.promptExamplesAsync=promptExamplesAsync;async function downloadAndExtractExampleAsync(t,r){const i=h.default.basename(t);const o=await(0,v.fetch)("https://codeload.github.com/expo/examples/tar.gz/master");if(!o.ok){E(`Failed to fetch the examples code, received status "${o.status}"`);throw new Error("Failed to fetch the examples code from https://github.com/expo/examples")}if(!o.body){E(`Failed to fetch the examples code, Github responded without content, received status "${o.status}"`);throw new Error("Failed to fetch the examples code from https://github.com/expo/examples")}await w(d.Readable.fromWeb(o.body),m.default.extract({cwd:t,onentry:(0,A.createEntryResolver)(i),strip:2},[`examples-master/${r}`]));const a=await(0,y.getTemplateFilesToRenameAsync)({cwd:t});await(0,y.renameTemplateAppNameAsync)({cwd:t,files:a,name:i});await(0,y.sanitizeTemplateAsync)(t);await sanitizeScriptsAsync(t)}r.downloadAndExtractExampleAsync=downloadAndExtractExampleAsync;function exampleHasNativeCode(t){return[h.default.join(t,"android"),h.default.join(t,"ios")].some((t=>l.default.existsSync(t)))}async function sanitizeScriptsAsync(t){const r=exampleHasNativeCode(t)?{start:"expo start --dev-client",android:"expo run:android",ios:"expo run:ios",web:"expo start --web"}:{start:"expo start",android:"expo start --android",ios:"expo start --ios",web:"expo start --web"};const i=new a.default(h.default.join(t,"package.json"));const o=await i.readAsync();const u=o.scripts??{};o.scripts={...r,...u};await i.writeAsync(o)}r.sanitizeScriptsAsync=sanitizeScriptsAsync},1947:function(t,r,i){"use strict";var o=this&&this.__createBinding||(Object.create?function(t,r,i,o){if(o===undefined)o=i;var a=Object.getOwnPropertyDescriptor(r,i);if(!a||("get"in a?!r.__esModule:a.writable||a.configurable)){a={enumerable:true,get:function(){return r[i]}}}Object.defineProperty(t,o,a)}:function(t,r,i,o){if(o===undefined)o=i;t[o]=r[i]});var a=this&&this.__setModuleDefault||(Object.create?function(t,r){Object.defineProperty(t,"default",{enumerable:true,value:r})}:function(t,r){t["default"]=r});var u=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var i in t)if(i!=="default"&&Object.prototype.hasOwnProperty.call(t,i))o(r,t,i);a(r,t);return r};var l=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.logNewSection=r.installPodsAsync=r.logProjectReady=r.validateName=r.sanitizeTemplateAsync=r.renameTemplateAppNameAsync=r.getTemplateFilesToRenameAsync=r.defaultRenameConfig=r.extractAndPrepareTemplateAppAsync=r.resolvePackageModuleId=r.isFolderNameForbidden=void 0;const h=l(i(6282));const p=u(i(7496));const d=l(i(8746));const m=i(3909);const g=l(i(7147));const y=l(i(2651));const A=l(i(1017));const b=i(6581);const v=i(3744);const E=i(1805);const w=i(7943);const _=i(292);const S=i(7240);const C=i(7984)("expo:init:template");const D=process.platform==="darwin";const x=["react-native","react","react-dom","react-native-web","expo","expo-router"];function isFolderNameForbidden(t){return x.includes(t)}r.isFolderNameForbidden=isFolderNameForbidden;function deepMerge(t,r){if(typeof t!=="object"){return r}if(Array.isArray(t)&&Array.isArray(r)){return t.concat(r)}Object.keys(r).forEach((i=>{if(typeof r[i]==="object"&&r[i]!==null){t[i]=deepMerge(t[i],r[i])}else{t[i]=r[i]}}));return t}function coerceUrl(t){try{return new URL(t)}catch(r){if(!/^(https?:\/\/)/.test(t)){return new URL(`https://${t}`)}throw r}}function resolvePackageModuleId(t){if(/^(https?:\/\/)?github\.com\//.test(t)){try{const r=coerceUrl(t);C("Resolved moduleId to repository path:",t);return{type:"repository",uri:r}}catch{throw new Error(`Invalid URL: "${t}" provided`)}}if(t?.startsWith("file:")||t?.startsWith(".")||t?.startsWith(A.default.sep)){if(t?.startsWith("file:")){t=t.substring(5)}C(`Resolved moduleId to file path:`,t);return{type:"file",uri:A.default.resolve(t)}}C(`Resolved moduleId to NPM package:`,t);return{type:"npm",uri:t}}r.resolvePackageModuleId=resolvePackageModuleId;async function extractAndPrepareTemplateAppAsync(t,{npmPackage:r}){const i=A.default.basename(t);C(`Extracting template app (pkg: ${r}, projectName: ${i})`);const{type:o,uri:a}=resolvePackageModuleId(r||"expo-template-default");if(o==="repository"){await(0,_.downloadAndExtractGitHubRepositoryAsync)(a,{cwd:t,name:i})}else{const r=o==="file"?a:(0,S.getResolvedTemplateName)((0,S.applyBetaTag)(a));await(0,S.downloadAndExtractNpmModuleAsync)(r,{cwd:t,name:i,disableCache:o==="file"})}try{const r=await getTemplateFilesToRenameAsync({cwd:t});await renameTemplateAppNameAsync({cwd:t,files:r,name:i})}catch(t){v.Log.error("Error renaming app name in template");throw t}await sanitizeTemplateAsync(t);return t}r.extractAndPrepareTemplateAppAsync=extractAndPrepareTemplateAppAsync;function escapeXMLCharacters(t){const r=t.replace("&","&");const i=r.replace("<","<");const o=i.replace(">",">");const a=o.replace('"','\\"');return a.replace("'","\\'")}r.defaultRenameConfig=["!**/node_modules","app.json","android/**/*.gradle","android/app/BUCK","android/app/src/**/*.java","android/app/src/**/*.kt","android/app/src/**/*.xml","ios/Podfile","ios/**/*.xcodeproj/project.pbxproj","ios/**/*.xcodeproj/xcshareddata/xcschemes/*.xcscheme"];async function getTemplateFilesToRenameAsync({cwd:t,renameConfig:i}){let o=i??r.defaultRenameConfig;o=o.map((t=>t.split(/(?<!\\)#/,2)[0].trim())).filter((t=>t!==""));return await(0,m.glob)(o,{cwd:t,baseNameMatch:true,dot:true,followSymbolicLinks:false})}r.getTemplateFilesToRenameAsync=getTemplateFilesToRenameAsync;async function renameTemplateAppNameAsync({cwd:t,name:r,files:i}){C(`Got files to transform: ${JSON.stringify(i)}`);await Promise.all(i.map((async i=>{const o=A.default.resolve(t,i);let a;try{a=await g.default.promises.readFile(o,{encoding:"utf-8"})}catch(t){throw new Error(`Failed to read template file: "${o}". Was it removed mid-operation?`,{cause:t})}C(`Renaming app name in file: ${o}`);const u=[".xml",".plist"].includes(A.default.extname(i))?escapeXMLCharacters(r):r;try{const t=a.replace(/Hello App Display Name/g,u).replace(/HelloWorld/g,(0,b.sanitizedName)(u)).replace(/helloworld/g,(0,b.sanitizedName)(u.toLowerCase()));if(t===a){return}await g.default.promises.writeFile(o,t)}catch(t){throw new Error(`Failed to overwrite template file: "${o}". Was it removed mid-operation?`,{cause:t})}})))}r.renameTemplateAppNameAsync=renameTemplateAppNameAsync;async function sanitizeTemplateAsync(t){const r=A.default.basename(t);C(`Sanitizing template or example app (projectName: ${r})`);const i=A.default.join(__dirname,"../template/gitignore");const o=A.default.join(t,".gitignore");if(!g.default.existsSync(o)){await g.default.promises.copyFile(i,o)}const a={name:r,slug:r};const u=new h.default(A.default.join(t,"app.json"),{default:{}});const l=await u.readAsync();const p=deepMerge(l,"expo"in l?{expo:a}:a);await u.writeAsync(p);C(`Created app.json:\n%O`,p);const d=new h.default(A.default.join(t,"package.json"));const m=await d.readAsync();const y="name"in p?p.name:p.expo.name;m.name=(0,S.applyKnownNpmPackageNameRules)(y)||"app";m.version="1.0.0";m.private=true;delete m.description;delete m.tags;delete m.repository;if(m.license==="0BSD"){delete m.license}await d.writeAsync(m)}r.sanitizeTemplateAsync=sanitizeTemplateAsync;function validateName(t){if(typeof t!=="string"||t===""){return"The project name can not be empty."}if(!/^[a-z0-9@.\-_]+$/i.test(t)){return"The project name can only contain URL-friendly characters."}return true}r.validateName=validateName;function logProjectReady({cdPath:t,packageManager:r}){console.log(d.default.bold(`✅ Your project is ready!`));console.log();if(t){console.log(`To run your project, navigate to the directory and run one of the following ${r} commands.`);console.log();console.log(`- ${d.default.bold("cd "+t)}`)}else{console.log(`To run your project, run one of the following ${r} commands.`);console.log()}console.log(`- ${d.default.bold((0,E.formatRunCommand)(r,"android"))}`);let i="";if(!D){i=" # you need to use macOS to build the iOS project - use the Expo app if you need to do iOS development without a Mac"}console.log(`- ${d.default.bold((0,E.formatRunCommand)(r,"ios"))}${i}`);console.log(`- ${d.default.bold((0,E.formatRunCommand)(r,"web"))}`)}r.logProjectReady=logProjectReady;async function installPodsAsync(t){let r=logNewSection("Installing CocoaPods.");if(process.platform!=="darwin"){r.succeed("Skipped installing CocoaPods because operating system is not macOS.");return false}const i=new p.CocoaPodsPackageManager({cwd:A.default.join(t,"ios"),silent:!w.env.EXPO_DEBUG});if(!await i.isCLIInstalledAsync()){try{r.text="CocoaPods CLI not found in your $PATH, installing it now.";r.render();await i.installCLIAsync();r.succeed("Installed CocoaPods CLI");r=logNewSection("Running `pod install` in the `ios` directory.")}catch(t){r.stopAndPersist({symbol:"⚠️ ",text:d.default.red("Unable to install the CocoaPods CLI. Continuing with initializing the project, you can install CocoaPods afterwards.")});if(t.message){v.Log.error(`- ${t.message}`)}return false}}try{await i.installAsync();r.succeed("Installed pods and initialized Xcode workspace.");return true}catch(t){r.stopAndPersist({symbol:"⚠️ ",text:d.default.red("Something went wrong running `pod install` in the `ios` directory. Continuing with initializing the project, you can debug this afterwards.")});if(t.message){v.Log.error(`- ${t.message}`)}return false}}r.installPodsAsync=installPodsAsync;function logNewSection(t){const r=w.env.CI||w.env.EXPO_DEBUG;const i=(0,y.default)({text:d.default.bold(t),isEnabled:!r,stream:r?process.stdout:process.stderr});i.start();return i}r.logNewSection=logNewSection},9436:function(t,r,i){"use strict";var o=this&&this.__createBinding||(Object.create?function(t,r,i,o){if(o===undefined)o=i;var a=Object.getOwnPropertyDescriptor(r,i);if(!a||("get"in a?!r.__esModule:a.writable||a.configurable)){a={enumerable:true,get:function(){return r[i]}}}Object.defineProperty(t,o,a)}:function(t,r,i,o){if(o===undefined)o=i;t[o]=r[i]});var a=this&&this.__setModuleDefault||(Object.create?function(t,r){Object.defineProperty(t,"default",{enumerable:true,value:r})}:function(t,r){t["default"]=r});var u=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var i in t)if(i!=="default"&&Object.prototype.hasOwnProperty.call(t,i))o(r,t,i);a(r,t);return r};var l=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});const h=l(i(8746));const p=i(9247);const d=i(5733);const m=i(3744);const g=i(1805);const y=i(3490);const A=i(7984)("expo:init:cli");async function run(){const t=process.argv.slice(2)??[];const r={"--yes":Boolean,"--no-install":Boolean,"--help":Boolean,"--version":Boolean,"-y":"--yes","-h":"--help","-v":"--version"};const o=(0,y.assertWithOptionsArgs)(r,{argv:t,permissive:true});if(o["--version"]){m.Log.exit(i(4147).version,0)}if(o["--help"]){const t=p.CLI_NAME.replace("create-","");(0,y.printHelp)(`Creates a new Expo project`,(0,h.default)`npx ${p.CLI_NAME} {cyan <path>} [options]`,[`-y, --yes Use the default options for creating a project`,` --no-install Skip installing npm packages or CocoaPods`,(0,h.default)`-t, --template {gray [pkg]} NPM template to use: default, blank, blank-typescript, tabs, bare-minimum. Default: default`,(0,h.default)`-e, --example {gray [name]} Example name from {underline https://github.com/expo/examples}.`,`-v, --version Version number`,`-h, --help Usage info`].join("\n"),(0,h.default)`
|
|
99
|
+
*/t.exports=function(t){if(typeof t==="number"){return t-t===0}if(typeof t==="string"&&t.trim()!==""){return Number.isFinite?Number.isFinite(+t):isFinite(+t)}return false}},5418:(t,r,i)=>{const{URL:o}=i(7310);const{join:a}=i(1017);const u=i(7147);const{promisify:l}=i(3837);const{tmpdir:h}=i(2037);const p=i(2447);const d=l(u.writeFile);const m=l(u.mkdir);const g=l(u.readFile);const compareVersions=(t,r)=>t.localeCompare(r,"en-US",{numeric:true});const encode=t=>encodeURIComponent(t).replace(/^%40/,"@");const getFile=async(t,r)=>{const i=h();const o=a(i,"update-check");if(!u.existsSync(o)){await m(o)}let l=`${t.name}-${r}.json`;if(t.scope){l=`${t.scope}-${l}`}return a(o,l)};const evaluateCache=async(t,r,i)=>{if(u.existsSync(t)){const o=await g(t,"utf8");const{lastUpdate:a,latest:u}=JSON.parse(o);const l=a+i;if(l>r){return{shouldCheck:false,latest:u}}}return{shouldCheck:true,latest:null}};const updateCache=async(t,r,i)=>{const o=JSON.stringify({latest:r,lastUpdate:i});await d(t,o,"utf8")};const loadPackage=(t,r)=>new Promise(((o,a)=>{const u={host:t.hostname,path:t.pathname,port:t.port,headers:{accept:"application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8, */*"},timeout:2e3};if(r){u.headers.authorization=`${r.type} ${r.token}`}const{get:l}=i(t.protocol==="https:"?5687:3685);l(u,(t=>{const{statusCode:r}=t;if(r!==200){const i=new Error(`Request failed with code ${r}`);i.code=r;a(i);t.resume();return}let i="";t.setEncoding("utf8");t.on("data",(t=>{i+=t}));t.on("end",(()=>{try{const t=JSON.parse(i);o(t)}catch(t){a(t)}}))})).on("error",a).on("timeout",a)}));const getMostRecent=async({full:t,scope:r},a)=>{const u=p(r);const l=new o(t,u);let h=null;try{h=await loadPackage(l)}catch(t){if(t.code&&String(t.code).startsWith(4)){const t=i(1384);const r=t(u,{recursive:true});h=await loadPackage(l,r)}else{throw t}}const d=h["dist-tags"][a];if(!d){throw new Error(`Distribution tag ${a} is not available`)}return d};const y={interval:36e5,distTag:"latest"};const getDetails=t=>{const r={full:encode(t)};if(t.includes("/")){const i=t.split("/");r.scope=i[0];r.name=i[1]}else{r.scope=null;r.name=t}return r};t.exports=async(t,r)=>{if(typeof t!=="object"){throw new Error("The first parameter should be your package.json file content")}const i=getDetails(t.name);const o=Date.now();const{distTag:a,interval:u}=Object.assign({},y,r);const l=await getFile(i,a);let h=null;let p=true;({shouldCheck:p,latest:h}=await evaluateCache(l,o,u));if(p){h=await getMostRecent(i,a);await updateCache(l,h,o)}const d=compareVersions(t.version,h);if(d===-1){return{latest:h,fromCache:!p}}return null}},8593:(t,r,i)=>{"use strict";const{builtinModules:o}=i(8188);var a=new RegExp("^(?:@([^/]+?)[/])?([^/]+?)$");var u=["node_modules","favicon.ico"];function validate(t){var r=[];var i=[];if(t===null){i.push("name cannot be null");return done(r,i)}if(t===undefined){i.push("name cannot be undefined");return done(r,i)}if(typeof t!=="string"){i.push("name must be a string");return done(r,i)}if(!t.length){i.push("name length must be greater than zero")}if(t.match(/^\./)){i.push("name cannot start with a period")}if(t.match(/^_/)){i.push("name cannot start with an underscore")}if(t.trim()!==t){i.push("name cannot contain leading or trailing spaces")}u.forEach((function(r){if(t.toLowerCase()===r){i.push(r+" is a blacklisted name")}}));if(o.includes(t.toLowerCase())){r.push(t+" is a core module name")}if(t.length>214){r.push("name can no longer contain more than 214 characters")}if(t.toLowerCase()!==t){r.push("name can no longer contain capital letters")}if(/[~'!()*]/.test(t.split("/").slice(-1)[0])){r.push('name can no longer contain special characters ("~\'!()*")')}if(encodeURIComponent(t)!==t){var l=t.match(a);if(l){var h=l[1];var p=l[2];if(encodeURIComponent(h)===h&&encodeURIComponent(p)===p){return done(r,i)}}i.push("name can only contain URL-friendly characters")}return done(r,i)}var done=function(t,r){var i={validForNewPackages:r.length===0&&t.length===0,validForOldPackages:r.length===0,warnings:t,errors:r};if(!i.warnings.length){delete i.warnings}if(!i.errors.length){delete i.errors}return i};t.exports=validate},5523:t=>{t.exports=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531],[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]]},1205:(t,r,i)=>{"use strict";var o=i(6420);var a=i(5523);var u={nul:0,control:0};t.exports=function wcwidth(t){return wcswidth(t,u)};t.exports.config=function(t){t=o(t||{},u);return function wcwidth(r){return wcswidth(r,t)}};function wcswidth(t,r){if(typeof t!=="string")return wcwidth(t,r);var i=0;for(var o=0;o<t.length;o++){var a=wcwidth(t.charCodeAt(o),r);if(a<0)return-1;i+=a}return i}function wcwidth(t,r){if(t===0)return r.nul;if(t<32||t>=127&&t<160)return r.control;if(bisearch(t))return 0;return 1+(t>=4352&&(t<=4447||t==9001||t==9002||t>=11904&&t<=42191&&t!=12351||t>=44032&&t<=55203||t>=63744&&t<=64255||t>=65040&&t<=65049||t>=65072&&t<=65135||t>=65280&&t<=65376||t>=65504&&t<=65510||t>=131072&&t<=196605||t>=196608&&t<=262141))}function bisearch(t){var r=0;var i=a.length-1;var o;if(t<a[0][0]||t>a[i][1])return false;while(i>=r){o=Math.floor((r+i)/2);if(t>a[o][1])r=o+1;else if(t<a[o][0])i=o-1;else return true}return false}},460:(t,r,i)=>{"use strict";t.exports=writeFile;t.exports.sync=writeFileSync;t.exports._getTmpname=getTmpname;t.exports._cleanupOnExit=cleanupOnExit;var o=i(552);var a=i(5091);var u=i(2028);var l=i(1017);var h={};var p=function getId(){try{var t=i(1267);return t.threadId}catch(t){return 0}}();var d=0;function getTmpname(t){return t+"."+a(__filename).hash(String(process.pid)).hash(String(p)).hash(String(++d)).result()}function cleanupOnExit(t){return function(){try{o.unlinkSync(typeof t==="function"?t():t)}catch(t){}}}function writeFile(t,r,i,a){if(i){if(i instanceof Function){a=i;i={}}else if(typeof i==="string"){i={encoding:i}}}else{i={}}var p=i.Promise||global.Promise;var d;var m;var g;var y=u(cleanupOnExit((()=>g)));var A=l.resolve(t);new p((function serializeSameFile(t){if(!h[A])h[A]=[];h[A].push(t);if(h[A].length===1)t()})).then((function getRealPath(){return new p((function(r){o.realpath(t,(function(i,o){d=o||t;g=getTmpname(d);r()}))}))})).then((function stat(){return new p((function stat(t){if(i.mode&&i.chown)t();else{o.stat(d,(function(r,o){if(r||!o)t();else{i=Object.assign({},i);if(i.mode==null){i.mode=o.mode}if(i.chown==null&&process.getuid){i.chown={uid:o.uid,gid:o.gid}}t()}}))}}))})).then((function thenWriteFile(){return new p((function(t,r){o.open(g,"w",i.mode,(function(i,o){m=o;if(i)r(i);else t()}))}))})).then((function write(){return new p((function(t,a){if(Buffer.isBuffer(r)){o.write(m,r,0,r.length,0,(function(r){if(r)a(r);else t()}))}else if(r!=null){o.write(m,String(r),0,String(i.encoding||"utf8"),(function(r){if(r)a(r);else t()}))}else t()}))})).then((function syncAndClose(){return new p((function(t,r){if(i.fsync!==false){o.fsync(m,(function(i){if(i)o.close(m,(()=>r(i)));else o.close(m,t)}))}else{o.close(m,t)}}))})).then((function chown(){m=null;if(i.chown){return new p((function(t,r){o.chown(g,i.chown.uid,i.chown.gid,(function(i){if(i)r(i);else t()}))}))}})).then((function chmod(){if(i.mode){return new p((function(t,r){o.chmod(g,i.mode,(function(i){if(i)r(i);else t()}))}))}})).then((function rename(){return new p((function(t,r){o.rename(g,d,(function(i){if(i)r(i);else t()}))}))})).then((function success(){y();a()}),(function fail(t){return new p((t=>m?o.close(m,t):t())).then((()=>{y();o.unlink(g,(function(){a(t)}))}))})).then((function checkQueue(){h[A].shift();if(h[A].length>0){h[A][0]()}else delete h[A]}))}function writeFileSync(t,r,i){if(typeof i==="string")i={encoding:i};else if(!i)i={};try{t=o.realpathSync(t)}catch(t){}var a=getTmpname(t);if(!i.mode||!i.chown){try{var l=o.statSync(t);i=Object.assign({},i);if(!i.mode){i.mode=l.mode}if(!i.chown&&process.getuid){i.chown={uid:l.uid,gid:l.gid}}}catch(t){}}var h;var p=cleanupOnExit(a);var d=u(p);try{h=o.openSync(a,"w",i.mode);if(Buffer.isBuffer(r)){o.writeSync(h,r,0,r.length,0)}else if(r!=null){o.writeSync(h,String(r),0,String(i.encoding||"utf8"))}if(i.fsync!==false){o.fsyncSync(h)}o.closeSync(h);if(i.chown)o.chownSync(a,i.chown.uid,i.chown.gid);if(i.mode)o.chmodSync(a,i.mode);o.renameSync(a,t);d()}catch(t){if(h){try{o.closeSync(h)}catch(t){}}d();p();throw t}}},1389:t=>{"use strict";t.exports=function(t){t.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next){yield t.value}}}},4461:(t,r,i)=>{"use strict";t.exports=Yallist;Yallist.Node=Node;Yallist.create=Yallist;function Yallist(t){var r=this;if(!(r instanceof Yallist)){r=new Yallist}r.tail=null;r.head=null;r.length=0;if(t&&typeof t.forEach==="function"){t.forEach((function(t){r.push(t)}))}else if(arguments.length>0){for(var i=0,o=arguments.length;i<o;i++){r.push(arguments[i])}}return r}Yallist.prototype.removeNode=function(t){if(t.list!==this){throw new Error("removing node which does not belong to this list")}var r=t.next;var i=t.prev;if(r){r.prev=i}if(i){i.next=r}if(t===this.head){this.head=r}if(t===this.tail){this.tail=i}t.list.length--;t.next=null;t.prev=null;t.list=null;return r};Yallist.prototype.unshiftNode=function(t){if(t===this.head){return}if(t.list){t.list.removeNode(t)}var r=this.head;t.list=this;t.next=r;if(r){r.prev=t}this.head=t;if(!this.tail){this.tail=t}this.length++};Yallist.prototype.pushNode=function(t){if(t===this.tail){return}if(t.list){t.list.removeNode(t)}var r=this.tail;t.list=this;t.prev=r;if(r){r.next=t}this.tail=t;if(!this.head){this.head=t}this.length++};Yallist.prototype.push=function(){for(var t=0,r=arguments.length;t<r;t++){push(this,arguments[t])}return this.length};Yallist.prototype.unshift=function(){for(var t=0,r=arguments.length;t<r;t++){unshift(this,arguments[t])}return this.length};Yallist.prototype.pop=function(){if(!this.tail){return undefined}var t=this.tail.value;this.tail=this.tail.prev;if(this.tail){this.tail.next=null}else{this.head=null}this.length--;return t};Yallist.prototype.shift=function(){if(!this.head){return undefined}var t=this.head.value;this.head=this.head.next;if(this.head){this.head.prev=null}else{this.tail=null}this.length--;return t};Yallist.prototype.forEach=function(t,r){r=r||this;for(var i=this.head,o=0;i!==null;o++){t.call(r,i.value,o,this);i=i.next}};Yallist.prototype.forEachReverse=function(t,r){r=r||this;for(var i=this.tail,o=this.length-1;i!==null;o--){t.call(r,i.value,o,this);i=i.prev}};Yallist.prototype.get=function(t){for(var r=0,i=this.head;i!==null&&r<t;r++){i=i.next}if(r===t&&i!==null){return i.value}};Yallist.prototype.getReverse=function(t){for(var r=0,i=this.tail;i!==null&&r<t;r++){i=i.prev}if(r===t&&i!==null){return i.value}};Yallist.prototype.map=function(t,r){r=r||this;var i=new Yallist;for(var o=this.head;o!==null;){i.push(t.call(r,o.value,this));o=o.next}return i};Yallist.prototype.mapReverse=function(t,r){r=r||this;var i=new Yallist;for(var o=this.tail;o!==null;){i.push(t.call(r,o.value,this));o=o.prev}return i};Yallist.prototype.reduce=function(t,r){var i;var o=this.head;if(arguments.length>1){i=r}else if(this.head){o=this.head.next;i=this.head.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var a=0;o!==null;a++){i=t(i,o.value,a);o=o.next}return i};Yallist.prototype.reduceReverse=function(t,r){var i;var o=this.tail;if(arguments.length>1){i=r}else if(this.tail){o=this.tail.prev;i=this.tail.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var a=this.length-1;o!==null;a--){i=t(i,o.value,a);o=o.prev}return i};Yallist.prototype.toArray=function(){var t=new Array(this.length);for(var r=0,i=this.head;i!==null;r++){t[r]=i.value;i=i.next}return t};Yallist.prototype.toArrayReverse=function(){var t=new Array(this.length);for(var r=0,i=this.tail;i!==null;r++){t[r]=i.value;i=i.prev}return t};Yallist.prototype.slice=function(t,r){r=r||this.length;if(r<0){r+=this.length}t=t||0;if(t<0){t+=this.length}var i=new Yallist;if(r<t||r<0){return i}if(t<0){t=0}if(r>this.length){r=this.length}for(var o=0,a=this.head;a!==null&&o<t;o++){a=a.next}for(;a!==null&&o<r;o++,a=a.next){i.push(a.value)}return i};Yallist.prototype.sliceReverse=function(t,r){r=r||this.length;if(r<0){r+=this.length}t=t||0;if(t<0){t+=this.length}var i=new Yallist;if(r<t||r<0){return i}if(t<0){t=0}if(r>this.length){r=this.length}for(var o=this.length,a=this.tail;a!==null&&o>r;o--){a=a.prev}for(;a!==null&&o>t;o--,a=a.prev){i.push(a.value)}return i};Yallist.prototype.splice=function(t,r,...i){if(t>this.length){t=this.length-1}if(t<0){t=this.length+t}for(var o=0,a=this.head;a!==null&&o<t;o++){a=a.next}var u=[];for(var o=0;a&&o<r;o++){u.push(a.value);a=this.removeNode(a)}if(a===null){a=this.tail}if(a!==this.head&&a!==this.tail){a=a.prev}for(var o=0;o<i.length;o++){a=insert(this,a,i[o])}return u};Yallist.prototype.reverse=function(){var t=this.head;var r=this.tail;for(var i=t;i!==null;i=i.prev){var o=i.prev;i.prev=i.next;i.next=o}this.head=r;this.tail=t;return this};function insert(t,r,i){var o=r===t.head?new Node(i,null,r,t):new Node(i,r,r.next,t);if(o.next===null){t.tail=o}if(o.prev===null){t.head=o}t.length++;return o}function push(t,r){t.tail=new Node(r,t.tail,null,t);if(!t.head){t.head=t.tail}t.length++}function unshift(t,r){t.head=new Node(r,null,t.head,t);if(!t.tail){t.tail=t.head}t.length++}function Node(t,r,i,o){if(!(this instanceof Node)){return new Node(t,r,i,o)}this.list=o;this.value=t;if(r){r.next=this;this.prev=r}else{this.prev=null}if(i){i.prev=this;this.next=i}else{this.next=null}}try{i(1389)(Yallist)}catch(t){}},6282:function(t,r,i){"use strict";var o=this&&this.__createBinding||(Object.create?function(t,r,i,o){if(o===undefined)o=i;var a=Object.getOwnPropertyDescriptor(r,i);if(!a||("get"in a?!r.__esModule:a.writable||a.configurable)){a={enumerable:true,get:function(){return r[i]}}}Object.defineProperty(t,o,a)}:function(t,r,i,o){if(o===undefined)o=i;t[o]=r[i]});var a=this&&this.__setModuleDefault||(Object.create?function(t,r){Object.defineProperty(t,"default",{enumerable:true,value:r})}:function(t,r){t["default"]=r});var u=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var i in t)if(i!=="default"&&Object.prototype.hasOwnProperty.call(t,i))o(r,t,i);a(r,t);return r};var l=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});const h=i(6779);const p=l(i(5130));const d=l(i(7561));const m=l(i(9411));const g=i(7261);const y=l(i(460));const A=u(i(1486));const b=(0,g.promisify)(y.default);const v={badJsonDefault:undefined,jsonParseErrorDefault:undefined,cantReadFileDefault:undefined,ensureDir:false,default:undefined,json5:false,space:2,addNewLineAtEOF:true};class JsonFile{file;options;static read=read;static readAsync=readAsync;static parseJsonString=parseJsonString;static write=write;static writeAsync=writeAsync;static get=getSync;static getAsync=getAsync;static set=setSync;static setAsync=setAsync;static merge=merge;static mergeAsync=mergeAsync;static deleteKey=deleteKey;static deleteKeyAsync=deleteKeyAsync;static deleteKeys=deleteKeys;static deleteKeysAsync=deleteKeysAsync;static rewrite=rewrite;static rewriteAsync=rewriteAsync;constructor(t,r={}){this.file=t;this.options=r}read(t){return read(this.file,this._getOptions(t))}async readAsync(t){return readAsync(this.file,this._getOptions(t))}write(t,r){return write(this.file,t,this._getOptions(r))}async writeAsync(t,r){return writeAsync(this.file,t,this._getOptions(r))}parseJsonString(t,r){return parseJsonString(t,r)}get(t,r,i){return getSync(this.file,t,r,this._getOptions(i))}async getAsync(t,r,i){return getAsync(this.file,t,r,this._getOptions(i))}set(t,r,i){return setSync(this.file,t,r,this._getOptions(i))}async setAsync(t,r,i){return setAsync(this.file,t,r,this._getOptions(i))}async merge(t,r){return merge(this.file,t,this._getOptions(r))}async mergeAsync(t,r){return mergeAsync(this.file,t,this._getOptions(r))}deleteKey(t,r){return deleteKey(this.file,t,this._getOptions(r))}async deleteKeyAsync(t,r){return deleteKeyAsync(this.file,t,this._getOptions(r))}deleteKeys(t,r){return deleteKeys(this.file,t,this._getOptions(r))}async deleteKeysAsync(t,r){return deleteKeysAsync(this.file,t,this._getOptions(r))}rewrite(t){return rewrite(this.file,this._getOptions(t))}async rewriteAsync(t){return rewriteAsync(this.file,this._getOptions(t))}_getOptions(t){return{...this.options,...t}}}r["default"]=JsonFile;function read(t,r){let i;try{i=d.default.readFileSync(t,"utf8")}catch(o){assertEmptyJsonString(i,t);const a=cantReadFileDefault(r);if(a===undefined){throw new A.default(`Can't read JSON file: ${t}`,o,o.code,t)}else{return a}}return parseJsonString(i,r,t)}async function readAsync(t,r){let i;try{i=await d.default.promises.readFile(t,"utf8")}catch(o){assertEmptyJsonString(i,t);const a=cantReadFileDefault(r);if(a===undefined){throw new A.default(`Can't read JSON file: ${t}`,o,o.code)}else{return a}}return parseJsonString(i,r)}function parseJsonString(t,r,i){assertEmptyJsonString(t,i);try{if(_getOption(r,"json5")){return p.default.parse(t)}else{return JSON.parse(t)}}catch(o){const a=jsonParseErrorDefault(r);if(a===undefined){const r=locationFromSyntaxError(o,t);if(r){const i=(0,h.codeFrameColumns)(t,{start:r});o.codeFrame=i;o.message+=`\n${i}`}throw new A.default(`Error parsing JSON: ${t}`,o,"EJSONPARSE",i)}else{return a}}}function getSync(t,r,i,o){const a=read(t,o);if(r in a){return a[r]}if(i===undefined){throw new A.default(`No value at key path "${String(r)}" in JSON object from: ${t}`)}return i}async function getAsync(t,r,i,o){const a=await readAsync(t,o);if(r in a){return a[r]}if(i===undefined){throw new A.default(`No value at key path "${String(r)}" in JSON object from: ${t}`)}return i}function write(t,r,i){if(i?.ensureDir){d.default.mkdirSync(m.default.dirname(t),{recursive:true})}const o=_getOption(i,"space");const a=_getOption(i,"json5");const u=_getOption(i,"addNewLineAtEOF");let l;try{if(a){l=p.default.stringify(r,null,o)}else{l=JSON.stringify(r,null,o)}}catch(r){throw new A.default(`Couldn't JSON.stringify object for file: ${t}`,r)}const h=u?`${l}\n`:l;y.default.sync(t,h,{});return r}async function writeAsync(t,r,i){if(i?.ensureDir){await d.default.promises.mkdir(m.default.dirname(t),{recursive:true})}const o=_getOption(i,"space");const a=_getOption(i,"json5");const u=_getOption(i,"addNewLineAtEOF");let l;try{if(a){l=p.default.stringify(r,null,o)}else{l=JSON.stringify(r,null,o)}}catch(r){throw new A.default(`Couldn't JSON.stringify object for file: ${t}`,r)}const h=u?`${l}\n`:l;await b(t,h,{});return r}function setSync(t,r,i,o){const a=read(t,o);return write(t,{...a,[r]:i},o)}async function setAsync(t,r,i,o){const a=await readAsync(t,o);return writeAsync(t,{...a,[r]:i},o)}async function mergeAsync(t,r,i){const o=await readAsync(t,i);if(Array.isArray(r)){Object.assign(o,...r)}else{Object.assign(o,r)}return writeAsync(t,o,i)}function merge(t,r,i){const o=read(t,i);if(Array.isArray(r)){Object.assign(o,...r)}else{Object.assign(o,r)}return write(t,o,i)}async function deleteKeyAsync(t,r,i){return deleteKeysAsync(t,[r],i)}function deleteKey(t,r,i){return deleteKeys(t,[r],i)}async function deleteKeysAsync(t,r,i){const o=await readAsync(t,i);let a=false;for(let t=0;t<r.length;t++){const i=r[t];if(o.hasOwnProperty(i)){delete o[i];a=true}}if(a){return writeAsync(t,o,i)}return o}function deleteKeys(t,r,i){const o=read(t,i);let a=false;for(let t=0;t<r.length;t++){const i=r[t];if(o.hasOwnProperty(i)){delete o[i];a=true}}if(a){return write(t,o,i)}return o}async function rewriteAsync(t,r){const i=await readAsync(t,r);return writeAsync(t,i,r)}function rewrite(t,r){return write(t,read(t,r),r)}function jsonParseErrorDefault(t={}){if(t.jsonParseErrorDefault===undefined){return t.default}else{return t.jsonParseErrorDefault}}function cantReadFileDefault(t={}){if(t.cantReadFileDefault===undefined){return t.default}else{return t.cantReadFileDefault}}function _getOption(t,r){if(t){if(t[r]!==undefined){return t[r]}}return v[r]}function locationFromSyntaxError(t,r){if("lineNumber"in t&&"columnNumber"in t){return{line:t.lineNumber,column:t.columnNumber}}const i=/at position (\d+)/.exec(t.message);if(i){const t=parseInt(i[1],10);const o=r.slice(0,t+1).split("\n");return{line:o.length,column:o[o.length-1].length}}return null}function assertEmptyJsonString(t,r){if(t?.trim()===""){throw new A.EmptyJsonFileError(r)}}},1486:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.EmptyJsonFileError=void 0;class JsonFileError extends Error{cause;code;fileName;isJsonFileError;constructor(t,r,i,o){let a=t;if(o){a+=`\n${r?"├":"└"}─ File: ${o}`}if(r){a+=`\n└─ Cause: ${r.name}: ${r.message}`}super(a);this.name=this.constructor.name;this.cause=r;this.code=i;this.fileName=o;this.isJsonFileError=true}}r["default"]=JsonFileError;class EmptyJsonFileError extends JsonFileError{constructor(t){super(`Cannot parse an empty JSON string`,undefined,"EJSONEMPTY",t)}}r.EmptyJsonFileError=EmptyJsonFileError},6779:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.codeFrameColumns=codeFrameColumns;r["default"]=_default;var o=_interopRequireWildcard(i(932));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;_getRequireWildcardCache=function(){return t};return t}function _interopRequireWildcard(t){if(t&&t.__esModule){return t}if(t===null||typeof t!=="object"&&typeof t!=="function"){return{default:t}}var r=_getRequireWildcardCache();if(r&&r.has(t)){return r.get(t)}var i={};var o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t){if(Object.prototype.hasOwnProperty.call(t,a)){var u=o?Object.getOwnPropertyDescriptor(t,a):null;if(u&&(u.get||u.set)){Object.defineProperty(i,a,u)}else{i[a]=t[a]}}}i.default=t;if(r){r.set(t,i)}return i}let a=false;function getDefs(t){return{gutter:t.grey,marker:t.red.bold,message:t.red.bold}}const u=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(t,r,i){const o=Object.assign({column:0,line:-1},t.start);const a=Object.assign({},o,t.end);const{linesAbove:u=2,linesBelow:l=3}=i||{};const h=o.line;const p=o.column;const d=a.line;const m=a.column;let g=Math.max(h-(u+1),0);let y=Math.min(r.length,d+l);if(h===-1){g=0}if(d===-1){y=r.length}const A=d-h;const b={};if(A){for(let t=0;t<=A;t++){const i=t+h;if(!p){b[i]=true}else if(t===0){const t=r[i-1].length;b[i]=[p,t-p+1]}else if(t===A){b[i]=[0,m]}else{const o=r[i-t].length;b[i]=[0,o]}}}else{if(p===m){if(p){b[h]=[p,0]}else{b[h]=true}}else{b[h]=[p,m-p]}}return{start:g,end:y,markerLines:b}}function codeFrameColumns(t,r,i={}){const a=(i.highlightCode||i.forceColor)&&(0,o.shouldHighlight)(i);const l=(0,o.getChalk)(i);const h=getDefs(l);const maybeHighlight=(t,r)=>a?t(r):r;const p=t.split(u);const{start:d,end:m,markerLines:g}=getMarkerLines(r,p,i);const y=r.start&&typeof r.start.column==="number";const A=String(m).length;const b=a?(0,o.default)(t,i):t;let v=b.split(u).slice(d,m).map(((t,r)=>{const o=d+1+r;const a=` ${o}`.slice(-A);const u=` ${a} | `;const l=g[o];const p=!g[o+1];if(l){let r="";if(Array.isArray(l)){const o=t.slice(0,Math.max(l[0]-1,0)).replace(/[^\t]/g," ");const a=l[1]||1;r=["\n ",maybeHighlight(h.gutter,u.replace(/\d/g," ")),o,maybeHighlight(h.marker,"^").repeat(a)].join("");if(p&&i.message){r+=" "+maybeHighlight(h.message,i.message)}}return[maybeHighlight(h.marker,">"),maybeHighlight(h.gutter,u),t,r].join("")}else{return` ${maybeHighlight(h.gutter,u)}${t}`}})).join("\n");if(i.message&&!y){v=`${" ".repeat(A+1)}${i.message}\n${v}`}if(a){return l.reset(v)}else{return v}}function _default(t,r,i,o={}){if(!a){a=true;const t="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(t,"DeprecationWarning")}else{const r=new Error(t);r.name="DeprecationWarning";console.warn(new Error(t))}}i=Math.max(i,0);const u={start:{column:i,line:r}};return codeFrameColumns(t,u,o)}},5997:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true})},7496:function(t,r,i){"use strict";var o=this&&this.__createBinding||(Object.create?function(t,r,i,o){if(o===undefined)o=i;var a=Object.getOwnPropertyDescriptor(r,i);if(!a||("get"in a?!r.__esModule:a.writable||a.configurable)){a={enumerable:true,get:function(){return r[i]}}}Object.defineProperty(t,o,a)}:function(t,r,i,o){if(o===undefined)o=i;t[o]=r[i]});var a=this&&this.__exportStar||function(t,r){for(var i in t)if(i!=="default"&&!Object.prototype.hasOwnProperty.call(r,i))o(r,t,i)};Object.defineProperty(r,"__esModule",{value:true});r.isYarnOfflineAsync=void 0;a(i(5997),r);a(i(1574),r);a(i(1178),r);a(i(6125),r);a(i(57),r);a(i(6805),r);a(i(3746),r);var u=i(822);Object.defineProperty(r,"isYarnOfflineAsync",{enumerable:true,get:function(){return u.isYarnOfflineAsync}})},1574:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.getImprovedPodInstallError=r.getPodRepoUpdateMessage=r.getPodUpdateMessage=r.CocoaPodsPackageManager=r.extractMissingDependencyError=r.CocoaPodsError=void 0;const a=o(i(5642));const u=o(i(8746));const l=i(7147);const h=o(i(2037));const p=o(i(1017));const d=i(6418);class CocoaPodsError extends Error{code;cause;name="CocoaPodsError";isPackageManagerError=true;constructor(t,r,i){super(i?`${t}\n└─ Cause: ${i.message}`:t);this.code=r;this.cause=i}}r.CocoaPodsError=CocoaPodsError;function extractMissingDependencyError(t){const r=t.match(/Unable to find a specification for ['"`]([\w-_\d\s]+)['"`] depended upon by ['"`]([\w-_\d\s]+)['"`]/);if(r){return[r[1],r[2]]}return null}r.extractMissingDependencyError=extractMissingDependencyError;class CocoaPodsPackageManager{options;silent;static getPodProjectRoot(t){if(CocoaPodsPackageManager.isUsingPods(t))return t;const r=p.default.join(t,"ios");if(CocoaPodsPackageManager.isUsingPods(r))return r;const i=p.default.join(t,"macos");if(CocoaPodsPackageManager.isUsingPods(i))return i;return null}static isUsingPods(t){return(0,l.existsSync)(p.default.join(t,"Podfile"))}static async gemInstallCLIAsync(t=false,r={stdio:"inherit"}){const i=["install","cocoapods","--no-document"];try{await(0,a.default)("gem",i,r)}catch(o){if(t){throw new CocoaPodsError("Failed to install CocoaPods CLI with gem (recommended)","COMMAND_FAILED",o)}await(0,d.spawnSudoAsync)(["gem",...i],r)}}static async brewLinkCLIAsync(t={stdio:"inherit"}){await(0,a.default)("brew",["link","cocoapods"],t)}static async brewInstallCLIAsync(t={stdio:"inherit"}){await(0,a.default)("brew",["install","cocoapods"],t)}static async installCLIAsync({nonInteractive:t=false,spawnOptions:r={stdio:"inherit"}}){if(!r){r={stdio:"inherit"}}const i=!!r.ignoreStdio;try{!i&&console.log(`› Attempting to install CocoaPods CLI with Gem`);await CocoaPodsPackageManager.gemInstallCLIAsync(t,r);!i&&console.log(`› Successfully installed CocoaPods CLI with Gem`);return true}catch(t){if(!i){console.log(u.default.yellow(`› Failed to install CocoaPods CLI with Gem`));console.log(u.default.red(t.stderr??t.message));console.log(`› Attempting to install CocoaPods CLI with Homebrew`)}try{await CocoaPodsPackageManager.brewInstallCLIAsync(r);if(!await CocoaPodsPackageManager.isCLIInstalledAsync(r)){try{await CocoaPodsPackageManager.brewLinkCLIAsync(r);if(!await CocoaPodsPackageManager.isCLIInstalledAsync(r)){throw new CocoaPodsError("CLI could not be installed automatically with gem or Homebrew, please install CocoaPods manually and try again","NO_CLI",t)}}catch(t){throw new CocoaPodsError("Homebrew installation appeared to succeed but CocoaPods CLI not found in PATH and unable to link.","NO_CLI",t)}}!i&&console.log(`› Successfully installed CocoaPods CLI with Homebrew`);return true}catch(t){!i&&console.warn(u.default.yellow(`› Failed to install CocoaPods with Homebrew. Please install CocoaPods CLI manually and try again.`));throw new CocoaPodsError(`Failed to install CocoaPods with Homebrew. Please install CocoaPods CLI manually and try again.`,"NO_CLI",t)}}}static isAvailable(t,r){if(process.platform!=="darwin"){!r&&console.log(u.default.red("CocoaPods is only supported on macOS machines"));return false}if(!CocoaPodsPackageManager.isUsingPods(t)){!r&&console.log(u.default.yellow("CocoaPods is not supported in this project"));return false}return true}static async isCLIInstalledAsync(t={stdio:"inherit"}){try{await(0,a.default)("pod",["--version"],t);return true}catch{return false}}constructor({cwd:t,silent:r}){this.silent=!!r;this.options={cwd:t,stdio:"pipe"}}get name(){return"CocoaPods"}async installAsync({spinner:t}={}){await this._installAsync({spinner:t})}isCLIInstalledAsync(){return CocoaPodsPackageManager.isCLIInstalledAsync(this.options)}installCLIAsync(){return CocoaPodsPackageManager.installCLIAsync({nonInteractive:true,spawnOptions:this.options})}async handleInstallErrorAsync({error:t,shouldUpdate:r=true,updatedPackages:i=[],spinner:o}){if(!t.output){throw t}if(!r){throw getImprovedPodInstallError(t,{cwd:this.options.cwd})}const a=t.output.join(h.default.EOL).trim();const{updatePackage:l,shouldUpdateRepo:p}=getPodUpdateMessage(a);if(!l||i.includes(l)){return await this._installAsync({spinner:o,shouldRepoUpdate:true,shouldUpdate:false,updatedPackages:i})}i.push(l);return await this.runInstallTypeCommandAsync(["update",l,p?"":"--no-repo-update"].filter(Boolean),{formatWarning(){const t=`Failed to update ${u.default.bold(l)}. Attempting to update the repo instead.`;return t},spinner:o,updatedPackages:i})}async _installAsync({shouldRepoUpdate:t,...r}={}){return await this.runInstallTypeCommandAsync(["install",t?"--repo-update":""].filter(Boolean),{formatWarning(t){return getPodRepoUpdateMessage(t.output.join(h.default.EOL).trim()).message},...r})}async runInstallTypeCommandAsync(t,{formatWarning:r,...i}={}){try{return await this._runAsync(t)}catch(t){if(r){const o=r(t);if(i.spinner){i.spinner.text=u.default.bold(o)}if(!this.silent){console.warn(u.default.yellow(o))}}return await this.handleInstallErrorAsync({error:t,...i})}}async addWithParametersAsync(t,r){throw new Error("Unimplemented")}addAsync(t=[]){throw new Error("Unimplemented")}addDevAsync(t=[]){throw new Error("Unimplemented")}addGlobalAsync(t=[]){throw new Error("Unimplemented")}removeAsync(t=[]){throw new Error("Unimplemented")}removeDevAsync(t=[]){throw new Error("Unimplemented")}removeGlobalAsync(t=[]){throw new Error("Unimplemented")}async versionAsync(){const{stdout:t}=await(0,a.default)("pod",["--version"],this.options);return t.trim()}async configAsync(t){throw new Error("Unimplemented")}async removeLockfileAsync(){throw new Error("Unimplemented")}async uninstallAsync(){throw new Error("Unimplemented")}async podRepoUpdateAsync(){try{await this._runAsync(["repo","update"])}catch(t){t.message=t.message||(t.stderr??t.stdout);throw new CocoaPodsError("The command `pod install --repo-update` failed","COMMAND_FAILED",t)}}async _runAsync(t){if(!this.silent){console.log(`> pod ${t.join(" ")}`)}const r=(0,a.default)("pod",[...t,"--ansi"],{...this.options,stdio:"pipe"});if(!this.silent){if(r.child.stdout){r.child.stdout.pipe(process.stdout)}}return await r}}r.CocoaPodsPackageManager=CocoaPodsPackageManager;function shouldPodRepoUpdate(t){const r=t;const i=r.includes("pod repo update")||r.includes("--no-repo-update");return i}function getPodUpdateMessage(t){const r=t.match(/run ['"`]pod update ([\w-_\d/]+)( --no-repo-update)?['"`] to apply changes/);return{updatePackage:r?.[1]??null,shouldUpdateRepo:!r?.[2]}}r.getPodUpdateMessage=getPodUpdateMessage;function getPodRepoUpdateMessage(t){const r=extractMissingDependencyError(t);const i=getPodUpdateMessage(t);let o;if(r){o=`Couldn't install: ${r[1]} » ${u.default.underline(r[0])}.`}else if(i?.updatePackage){o=`Couldn't install: ${i?.updatePackage}.`}else{o=`Couldn't install Pods.`}o+=` Updating the Pods project and trying again...`;return{message:o,...i}}r.getPodRepoUpdateMessage=getPodRepoUpdateMessage;function getImprovedPodInstallError(t,{cwd:r=process.cwd()}){const i=t.output.join(h.default.EOL).trim();if(t.stdout.match(/No [`'"]Podfile[`'"] found in the project directory/)){t.message=`No Podfile found in directory: ${r}. Ensure CocoaPods is setup any try again.`}else if(shouldPodRepoUpdate(i)){const r=extractMissingDependencyError(i);let o;if(r){o=`Couldn't install: ${r[1]} » ${u.default.underline(r[0])}`}else{o=`This is often due to native package versions mismatching`}let a;if(r?.[0]){if(r[0].match(/^(?:@?expo|@?react)(-|\/)/)){a=`Ensure the node module "${r[0]}" is installed in your project, then run 'npx pod-install' to try again.`}else{a=`Ensure the CocoaPod "${r[0]}" is installed in your project, then run 'npx pod-install' to try again.`}}else{a=`Try deleting the 'ios/Pods' folder or the 'ios/Podfile.lock' file and running 'npx pod-install' to resolve.`}t.message=`${o}. ${a}`;if(t.stdout){const r=t.stdout.split(h.default.EOL);const i=r.findIndex((t=>t.startsWith("[!]")));if(i!==-1){const o=r.slice(i).join(h.default.EOL);t.message+=`\n\n${u.default.gray(o)}`}}return new CocoaPodsError("Command `pod install --repo-update` failed.","COMMAND_FAILED",t)}else{let r=t.stderr.trim();const i=t.stdout.match(/\[!\]\s((?:.|\n)*)/)?.[1];if(i){if(t.message?.match(/pod exited with non-zero code: 1/)){t.message=""}r=null}t.message=[i,t.message,r].filter(Boolean).join("\n")}return new CocoaPodsError("Command `pod install` failed.","COMMAND_FAILED",t)}r.getImprovedPodInstallError=getImprovedPodInstallError},1729:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.BasePackageManager=void 0;const a=o(i(5642));const u=o(i(9491));const l=o(i(7147));const h=o(i(1017));class BasePackageManager{silent;log;options;constructor({silent:t,log:r,env:i=process.env,...o}={}){this.silent=!!t;this.log=r??(!t?console.log:undefined);this.options={stdio:t?undefined:"inherit",...o,env:{...this.getDefaultEnvironment(),...i}}}getDefaultEnvironment(){return{ADBLOCK:"1",DISABLE_OPENCOLLECTIVE:"1"}}ensureCwdDefined(t){const r=this.options.cwd?.toString();const i=this.constructor.name;const o=t?`.${t}`:"";(0,u.default)(r,`cwd is required for ${i}${o}`);return r}runAsync(t,r={}){this.log?.(`> ${this.name} ${t.join(" ")}`);return(0,a.default)(this.bin,t,{...this.options,...r})}runBinAsync(t,r={}){this.log?.(`> ${this.name} ${t.join(" ")}`);return(0,a.default)(this.bin,t,{...this.options,...r})}async versionAsync(){const{stdout:t}=await this.runAsync(["--version"],{stdio:undefined});return t.trim()}async getConfigAsync(t){const{stdout:r}=await this.runAsync(["config","get",t]);return r.trim()}async removeLockfileAsync(){const t=this.ensureCwdDefined("removeLockFile");const r=h.default.join(t,this.lockFile);await l.default.promises.rm(r,{force:true})}installAsync(t=[]){return this.runAsync(["install",...t])}async uninstallAsync(){const t=this.ensureCwdDefined("uninstallAsync");const r=h.default.join(t,"node_modules");await l.default.promises.rm(r,{force:true,recursive:true})}}r.BasePackageManager=BasePackageManager},6805:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.BunPackageManager=void 0;const o=i(1729);const a=i(3746);class BunPackageManager extends o.BasePackageManager{name="bun";bin="bun";lockFile=a.BUN_LOCK_FILE;workspaceRoot(){const t=(0,a.resolveWorkspaceRoot)(this.ensureCwdDefined("workspaceRoot"));if(t){return new BunPackageManager({...this.options,silent:this.silent,log:this.log,cwd:t})}return null}installAsync(t=[]){return this.runAsync(["install",...t])}addAsync(t=[]){if(!t.length){return this.installAsync()}return this.runAsync(["add",...t])}addDevAsync(t=[]){if(!t.length){return this.installAsync()}return this.runAsync(["add","--dev",...t])}addGlobalAsync(t=[]){if(!t.length){return this.installAsync()}return this.runAsync(["add","--global",...t])}removeAsync(t){return this.runAsync(["remove",...t])}removeDevAsync(t){return this.runAsync(["remove",...t])}removeGlobalAsync(t){return this.runAsync(["remove","--global",...t])}}r.BunPackageManager=BunPackageManager},1178:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.NpmPackageManager=void 0;const a=o(i(6282));const u=o(i(5642));const l=o(i(5440));const h=o(i(1017));const p=i(1729);const d=i(3746);const m=i(6418);class NpmPackageManager extends p.BasePackageManager{name="npm";bin="npm";lockFile=d.NPM_LOCK_FILE;workspaceRoot(){const t=(0,d.resolveWorkspaceRoot)(this.ensureCwdDefined("workspaceRoot"));if(t){return new NpmPackageManager({...this.options,silent:this.silent,log:this.log,cwd:t})}return null}addAsync(t=[]){if(!t.length){return this.installAsync()}const{flags:r,versioned:i,unversioned:o}=this.parsePackageSpecs(t);return(0,m.createPendingSpawnAsync)((()=>this.updatePackageFileAsync(i,"dependencies")),(()=>!o.length?this.runAsync(["install",...r]):this.runAsync(["install","--save",...r,...o.map((t=>t.raw))])))}addDevAsync(t=[]){if(!t.length){return this.installAsync()}const{flags:r,versioned:i,unversioned:o}=this.parsePackageSpecs(t);return(0,m.createPendingSpawnAsync)((()=>this.updatePackageFileAsync(i,"devDependencies")),(()=>!o.length?this.runAsync(["install",...r]):this.runAsync(["install","--save-dev",...r,...o.map((t=>t.raw))])))}addGlobalAsync(t=[]){if(!t.length){return this.installAsync()}return this.runAsync(["install","--global",...t])}removeAsync(t){return this.runAsync(["uninstall",...t])}removeDevAsync(t){return this.runAsync(["uninstall","--save-dev",...t])}removeGlobalAsync(t){return this.runAsync(["uninstall","--global",...t])}runBinAsync(t,r={}){this.log?.(`> npx ${t.join(" ")}`);return(0,u.default)("npx",t,{...this.options,...r})}parsePackageSpecs(t){const r={flags:[],versioned:[],unversioned:[]};t.map((t=>{if(t.trim().startsWith("-")){r.flags.push(t);return null}return(0,l.default)(t)})).forEach((t=>{const i=!!t&&t.rawSpec!==""&&t.rawSpec!=="*";if(t&&i&&t.type!=="tag"){r.versioned.push(t)}else if(t){r.unversioned.push(t)}}));return r}async updatePackageFileAsync(t,r){if(!t.length){return}const i=h.default.join(this.options.cwd?.toString()||".","package.json");const o=await a.default.readAsync(i);t.forEach((t=>{o[r]=o[r]||{};o[r][t.name]=t.rawSpec}));await a.default.writeAsync(i,o,{json5:false})}}r.NpmPackageManager=NpmPackageManager},6125:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.PnpmPackageManager=void 0;const a=i(1729);const u=o(i(1966));const l=i(3746);class PnpmPackageManager extends a.BasePackageManager{name="pnpm";bin="pnpm";lockFile=l.PNPM_LOCK_FILE;workspaceRoot(){const t=(0,l.resolveWorkspaceRoot)(this.ensureCwdDefined("workspaceRoot"));if(t){return new PnpmPackageManager({...this.options,silent:this.silent,log:this.log,cwd:t})}return null}installAsync(t=[]){if(u.default.CI&&!t.join(" ").includes("frozen-lockfile")){t.unshift("--no-frozen-lockfile")}return this.runAsync(["install",...t])}addAsync(t=[]){if(!t.length){return this.installAsync()}return this.runAsync(["add",...t])}addDevAsync(t=[]){if(!t.length){return this.installAsync()}return this.runAsync(["add","--save-dev",...t])}addGlobalAsync(t=[]){if(!t.length){return this.installAsync()}return this.runAsync(["add","--global",...t])}removeAsync(t){return this.runAsync(["remove",...t])}removeDevAsync(t){return this.runAsync(["remove","--save-dev",...t])}removeGlobalAsync(t){return this.runAsync(["remove","--global",...t])}}r.PnpmPackageManager=PnpmPackageManager},57:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.YarnPackageManager=void 0;const o=i(1729);const a=i(3746);const u=i(6418);const l=i(822);class YarnPackageManager extends o.BasePackageManager{name="yarn";bin="yarnpkg";lockFile=a.YARN_LOCK_FILE;async withOfflineFlagAsync(t){return await(0,l.isYarnOfflineAsync)()?[...t,"--offline"]:t}workspaceRoot(){const t=(0,a.resolveWorkspaceRoot)(this.ensureCwdDefined("workspaceRoot"));if(t){return new YarnPackageManager({...this.options,silent:this.silent,log:this.log,cwd:t})}return null}installAsync(t=[]){return(0,u.createPendingSpawnAsync)((()=>this.withOfflineFlagAsync(["install"])),(r=>this.runAsync([...r,...t])))}addAsync(t=[]){if(!t.length){return this.installAsync()}return(0,u.createPendingSpawnAsync)((()=>this.withOfflineFlagAsync(["add",...t])),(t=>this.runAsync(t)))}addDevAsync(t=[]){if(!t.length){return this.installAsync()}return(0,u.createPendingSpawnAsync)((()=>this.withOfflineFlagAsync(["add","--dev",...t])),(t=>this.runAsync(t)))}addGlobalAsync(t=[]){if(!t.length){return this.installAsync()}return(0,u.createPendingSpawnAsync)((()=>this.withOfflineFlagAsync(["global","add",...t])),(t=>this.runAsync(t)))}removeAsync(t){return this.runAsync(["remove",...t])}removeDevAsync(t){return this.runAsync(["remove",...t])}removeGlobalAsync(t){return this.runAsync(["global","remove",...t])}}r.YarnPackageManager=YarnPackageManager},1966:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});class Env{get CI(){const{CI:t}=process.env;return t?.toLowerCase()==="true"||t==="1"}}r["default"]=new Env},3746:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.createForProject=r.resolvePackageManager=r.RESOLUTION_ORDER=r.BUN_TEXT_LOCK_FILE=r.BUN_LOCK_FILE=r.PNPM_LOCK_FILE=r.YARN_LOCK_FILE=r.NPM_LOCK_FILE=r.resolveWorkspaceRoot=void 0;const a=o(i(7147));const u=o(i(1017));const l=i(7301);const h=i(6805);const p=i(1178);const d=i(6125);const m=i(57);var g=i(7301);Object.defineProperty(r,"resolveWorkspaceRoot",{enumerable:true,get:function(){return g.resolveWorkspaceRoot}});r.NPM_LOCK_FILE="package-lock.json";r.YARN_LOCK_FILE="yarn.lock";r.PNPM_LOCK_FILE="pnpm-lock.yaml";r.BUN_LOCK_FILE="bun.lockb";r.BUN_TEXT_LOCK_FILE="bun.lock";r.RESOLUTION_ORDER=["bun","yarn","npm","pnpm"];function resolvePackageManager(t,i){const o=(0,l.resolveWorkspaceRoot)(t)??t;const h={npm:[r.NPM_LOCK_FILE],pnpm:[r.PNPM_LOCK_FILE],yarn:[r.YARN_LOCK_FILE],bun:[r.BUN_LOCK_FILE,r.BUN_TEXT_LOCK_FILE]};if(i){return h[i].some((t=>a.default.existsSync(u.default.join(o,t))))?i:null}for(const t of r.RESOLUTION_ORDER){if(h[t].some((t=>a.default.existsSync(u.default.join(o,t))))){return t}}return null}r.resolvePackageManager=resolvePackageManager;function createForProject(t,r={}){if(r.npm){return new p.NpmPackageManager({cwd:t,...r})}else if(r.yarn){return new m.YarnPackageManager({cwd:t,...r})}else if(r.pnpm){return new d.PnpmPackageManager({cwd:t,...r})}else if(r.bun){return new h.BunPackageManager({cwd:t,...r})}switch(resolvePackageManager(t)){case"npm":return new p.NpmPackageManager({cwd:t,...r});case"pnpm":return new d.PnpmPackageManager({cwd:t,...r});case"yarn":return new m.YarnPackageManager({cwd:t,...r});case"bun":return new h.BunPackageManager({cwd:t,...r});default:return new p.NpmPackageManager({cwd:t,...r})}}r.createForProject=createForProject},6418:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.spawnSudoAsync=r.createPendingSpawnAsync=void 0;const a=o(i(5642));const u=o(i(5667));function createPendingSpawnAsync(t,r){let i;const o=new Promise(((t,r)=>{i=t}));const a=new Promise(((o,a)=>{t().then((t=>{const u=r(t);i(u.child);u.then(o).catch(a)})).catch((t=>{i(null);a(t)}))}));a.child=o;return a}r.createPendingSpawnAsync=createPendingSpawnAsync;async function spawnSudoAsync(t,r){if(process.platform==="win32"){return new Promise(((r,i)=>{u.default.exec(t.join(" "),{name:"pod install"},(t=>{if(t){i(t)}r()}))}))}else{console.log("Your password might be needed to install CocoaPods CLI: https://guides.cocoapods.org/using/getting-started.html#installation");await(0,a.default)("sudo",t,r)}}r.spawnSudoAsync=spawnSudoAsync},822:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.getNpmProxy=r.isYarnOfflineAsync=void 0;const a=i(2081);const u=o(i(9523));const l=o(i(7310));async function isYarnOfflineAsync(){if(await isUrlAvailableAsync("registry.yarnpkg.com")){return false}const t=getNpmProxy();if(!t){return true}const{hostname:r}=l.default.parse(t);if(!r){return true}return!await isUrlAvailableAsync(r)}r.isYarnOfflineAsync=isYarnOfflineAsync;function getNpmProxy(){if(process.env.https_proxy){return process.env.https_proxy??null}try{const t=(0,a.execSync)("npm config get https-proxy").toString().trim();return t!=="null"?t:null}catch{return null}}r.getNpmProxy=getNpmProxy;function isUrlAvailableAsync(t){return new Promise((r=>{u.default.lookup(t,(t=>{r(!t)}))}))}},6055:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.sanitizeScriptsAsync=r.downloadAndExtractExampleAsync=r.promptExamplesAsync=r.ensureExampleExists=void 0;const a=o(i(6282));const u=o(i(8746));const l=o(i(7147));const h=o(i(1017));const p=o(i(1112));const d=i(2781);const m=o(i(8089));const g=i(3837);const y=i(1947);const A=i(6581);const b=i(7943);const v=i(9544);const E=i(7984)("expo:init:template");const w=(0,g.promisify)(d.Stream.pipeline);async function listExamplesAsync(){const t=await(0,v.fetch)("https://api.github.com/repos/expo/examples/contents");if(!t.ok){throw new Error("Unexpected GitHub API response: https://github.com/expo/examples")}const r=await t.json();return r.filter((t=>t.type==="dir"&&!t.name.startsWith(".")))}async function hasExampleAsync(t){const r=await(0,v.fetch)(`https://api.github.com/repos/expo/examples/contents/${encodeURIComponent(t)}/package.json`);if(r.status===404||r.ok){return r.ok}throw new Error(`Unexpected GitHub API response: ${r.status} - ${r.statusText}`)}async function ensureExampleExists(t){if(!await hasExampleAsync(t)){throw new Error(`Example "${t}" does not exist, see https://github.com/expo/examples`)}}r.ensureExampleExists=ensureExampleExists;async function promptExamplesAsync(){if(b.env.CI){throw new Error("Cannot prompt for examples in CI")}const t=await listExamplesAsync();const{answer:r}=await(0,p.default)({type:"select",name:"answer",message:"Choose an example:",choices:t.map((t=>({title:t.name,value:t.path})))});if(!r){console.log();console.log((0,u.default)`Please specify the example, example: {cyan --example with-router}`);console.log();process.exit(1)}return r}r.promptExamplesAsync=promptExamplesAsync;async function downloadAndExtractExampleAsync(t,r){const i=h.default.basename(t);const o=await(0,v.fetch)("https://codeload.github.com/expo/examples/tar.gz/master");if(!o.ok){E(`Failed to fetch the examples code, received status "${o.status}"`);throw new Error("Failed to fetch the examples code from https://github.com/expo/examples")}if(!o.body){E(`Failed to fetch the examples code, Github responded without content, received status "${o.status}"`);throw new Error("Failed to fetch the examples code from https://github.com/expo/examples")}await w(d.Readable.fromWeb(o.body),m.default.extract({cwd:t,onentry:(0,A.createEntryResolver)(i),strip:2},[`examples-master/${r}`]));const a=await(0,y.getTemplateFilesToRenameAsync)({cwd:t});await(0,y.renameTemplateAppNameAsync)({cwd:t,files:a,name:i});await(0,y.sanitizeTemplateAsync)(t);await sanitizeScriptsAsync(t)}r.downloadAndExtractExampleAsync=downloadAndExtractExampleAsync;function exampleHasNativeCode(t){return[h.default.join(t,"android"),h.default.join(t,"ios")].some((t=>l.default.existsSync(t)))}async function sanitizeScriptsAsync(t){const r=exampleHasNativeCode(t)?{start:"expo start --dev-client",android:"expo run:android",ios:"expo run:ios",web:"expo start --web"}:{start:"expo start",android:"expo start --android",ios:"expo start --ios",web:"expo start --web"};const i=new a.default(h.default.join(t,"package.json"));const o=await i.readAsync();const u=o.scripts??{};o.scripts={...r,...u};await i.writeAsync(o)}r.sanitizeScriptsAsync=sanitizeScriptsAsync},1947:function(t,r,i){"use strict";var o=this&&this.__createBinding||(Object.create?function(t,r,i,o){if(o===undefined)o=i;var a=Object.getOwnPropertyDescriptor(r,i);if(!a||("get"in a?!r.__esModule:a.writable||a.configurable)){a={enumerable:true,get:function(){return r[i]}}}Object.defineProperty(t,o,a)}:function(t,r,i,o){if(o===undefined)o=i;t[o]=r[i]});var a=this&&this.__setModuleDefault||(Object.create?function(t,r){Object.defineProperty(t,"default",{enumerable:true,value:r})}:function(t,r){t["default"]=r});var u=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var i in t)if(i!=="default"&&Object.prototype.hasOwnProperty.call(t,i))o(r,t,i);a(r,t);return r};var l=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.logNewSection=r.installPodsAsync=r.logProjectReady=r.validateName=r.sanitizeTemplateAsync=r.renameTemplateAppNameAsync=r.getTemplateFilesToRenameAsync=r.defaultRenameConfig=r.extractAndPrepareTemplateAppAsync=r.resolvePackageModuleId=r.isFolderNameForbidden=void 0;const h=l(i(6282));const p=u(i(7496));const d=l(i(8746));const m=i(3909);const g=l(i(7147));const y=l(i(2651));const A=l(i(1017));const b=i(6581);const v=i(3744);const E=i(1805);const w=i(7943);const _=i(292);const S=i(7240);const C=i(7984)("expo:init:template");const D=process.platform==="darwin";const x=["react-native","react","react-dom","react-native-web","expo","expo-router"];function isFolderNameForbidden(t){return x.includes(t)}r.isFolderNameForbidden=isFolderNameForbidden;function deepMerge(t,r){if(typeof t!=="object"){return r}if(Array.isArray(t)&&Array.isArray(r)){return t.concat(r)}Object.keys(r).forEach((i=>{if(typeof r[i]==="object"&&r[i]!==null){t[i]=deepMerge(t[i],r[i])}else{t[i]=r[i]}}));return t}function coerceUrl(t){try{return new URL(t)}catch(r){if(!/^(https?:\/\/)/.test(t)){return new URL(`https://${t}`)}throw r}}function resolvePackageModuleId(t){if(/^(https?:\/\/)?github\.com\//.test(t)){try{const r=coerceUrl(t);C("Resolved moduleId to repository path:",t);return{type:"repository",uri:r}}catch{throw new Error(`Invalid URL: "${t}" provided`)}}if(t?.startsWith("file:")||t?.startsWith(".")||t?.startsWith(A.default.sep)){if(t?.startsWith("file:")){t=t.substring(5)}C(`Resolved moduleId to file path:`,t);return{type:"file",uri:A.default.resolve(t)}}C(`Resolved moduleId to NPM package:`,t);return{type:"npm",uri:t}}r.resolvePackageModuleId=resolvePackageModuleId;async function extractAndPrepareTemplateAppAsync(t,{npmPackage:r}){const i=A.default.basename(t);C(`Extracting template app (pkg: ${r}, projectName: ${i})`);const{type:o,uri:a}=resolvePackageModuleId(r||"expo-template-default");if(o==="repository"){await(0,_.downloadAndExtractGitHubRepositoryAsync)(a,{cwd:t,name:i})}else{const r=o==="file"?a:(0,S.getResolvedTemplateName)((0,S.applyBetaTag)(a));await(0,S.downloadAndExtractNpmModuleAsync)(r,{cwd:t,name:i,disableCache:o==="file"})}try{const r=await getTemplateFilesToRenameAsync({cwd:t});await renameTemplateAppNameAsync({cwd:t,files:r,name:i})}catch(t){v.Log.error("Error renaming app name in template");throw t}await sanitizeTemplateAsync(t);return t}r.extractAndPrepareTemplateAppAsync=extractAndPrepareTemplateAppAsync;function escapeXMLCharacters(t){const r=t.replace("&","&");const i=r.replace("<","<");const o=i.replace(">",">");const a=o.replace('"','\\"');return a.replace("'","\\'")}r.defaultRenameConfig=["!**/node_modules","app.json","android/**/*.gradle","android/app/BUCK","android/app/src/**/*.java","android/app/src/**/*.kt","android/app/src/**/*.xml","ios/Podfile","ios/**/*.xcodeproj/project.pbxproj","ios/**/*.xcodeproj/xcshareddata/xcschemes/*.xcscheme","ios/**/*.xcworkspace/contents.xcworkspacedata","macos/Podfile","macos/**/*.xcodeproj/project.pbxproj","macos/**/*.xcodeproj/xcshareddata/xcschemes/*.xcscheme","macos/**/*.xcworkspace/contents.xcworkspacedata"];async function getTemplateFilesToRenameAsync({cwd:t,renameConfig:i}){let o=i??r.defaultRenameConfig;o=o.map((t=>t.split(/(?<!\\)#/,2)[0].trim())).filter((t=>t!==""));return await(0,m.glob)(o,{cwd:t,baseNameMatch:true,dot:true,followSymbolicLinks:false})}r.getTemplateFilesToRenameAsync=getTemplateFilesToRenameAsync;async function renameTemplateAppNameAsync({cwd:t,name:r,files:i}){C(`Got files to transform: ${JSON.stringify(i)}`);await Promise.all(i.map((async i=>{const o=A.default.resolve(t,i);let a;try{a=await g.default.promises.readFile(o,{encoding:"utf-8"})}catch(t){throw new Error(`Failed to read template file: "${o}". Was it removed mid-operation?`,{cause:t})}C(`Renaming app name in file: ${o}`);const u=[".xml",".plist"].includes(A.default.extname(i))?escapeXMLCharacters(r):r;try{const t=a.replace(/Hello App Display Name/g,u).replace(/HelloWorld/g,(0,b.sanitizedName)(u)).replace(/helloworld/g,(0,b.sanitizedName)(u.toLowerCase()));if(t===a){return}await g.default.promises.writeFile(o,t)}catch(t){throw new Error(`Failed to overwrite template file: "${o}". Was it removed mid-operation?`,{cause:t})}})))}r.renameTemplateAppNameAsync=renameTemplateAppNameAsync;async function sanitizeTemplateAsync(t){const r=A.default.basename(t);C(`Sanitizing template or example app (projectName: ${r})`);const i=A.default.join(__dirname,"../template/gitignore");const o=A.default.join(t,".gitignore");if(!g.default.existsSync(o)){await g.default.promises.copyFile(i,o)}const a={name:r,slug:r};const u=new h.default(A.default.join(t,"app.json"),{default:{}});const l=await u.readAsync();const p=deepMerge(l,"expo"in l?{expo:a}:a);await u.writeAsync(p);C(`Created app.json:\n%O`,p);const d=new h.default(A.default.join(t,"package.json"));const m=await d.readAsync();const y="name"in p?p.name:p.expo.name;m.name=(0,S.applyKnownNpmPackageNameRules)(y)||"app";m.version="1.0.0";m.private=true;delete m.description;delete m.tags;delete m.repository;if(m.license==="0BSD"){delete m.license}await d.writeAsync(m)}r.sanitizeTemplateAsync=sanitizeTemplateAsync;function validateName(t){if(typeof t!=="string"||t===""){return"The project name can not be empty."}if(!/^[a-z0-9@.\-_]+$/i.test(t)){return"The project name can only contain URL-friendly characters."}return true}r.validateName=validateName;function logProjectReady({cdPath:t,packageManager:r}){console.log(d.default.bold(`✅ Your project is ready!`));console.log();if(t){console.log(`To run your project, navigate to the directory and run one of the following ${r} commands.`);console.log();console.log(`- ${d.default.bold("cd "+t)}`)}else{console.log(`To run your project, run one of the following ${r} commands.`);console.log()}console.log(`- ${d.default.bold((0,E.formatRunCommand)(r,"android"))}`);let i="";if(!D){i=" # you need to use macOS to build the iOS project - use the Expo app if you need to do iOS development without a Mac"}console.log(`- ${d.default.bold((0,E.formatRunCommand)(r,"ios"))}${i}`);console.log(`- ${d.default.bold((0,E.formatRunCommand)(r,"web"))}`)}r.logProjectReady=logProjectReady;async function installPodsAsync(t){let r=logNewSection("Installing CocoaPods.");if(process.platform!=="darwin"){r.succeed("Skipped installing CocoaPods because operating system is not macOS.");return false}const i=new p.CocoaPodsPackageManager({cwd:A.default.join(t,"ios"),silent:!w.env.EXPO_DEBUG});if(!await i.isCLIInstalledAsync()){try{r.text="CocoaPods CLI not found in your $PATH, installing it now.";r.render();await i.installCLIAsync();r.succeed("Installed CocoaPods CLI");r=logNewSection("Running `pod install` in the `ios` directory.")}catch(t){r.stopAndPersist({symbol:"⚠️ ",text:d.default.red("Unable to install the CocoaPods CLI. Continuing with initializing the project, you can install CocoaPods afterwards.")});if(t.message){v.Log.error(`- ${t.message}`)}return false}}try{await i.installAsync();r.succeed("Installed pods and initialized Xcode workspace.");return true}catch(t){r.stopAndPersist({symbol:"⚠️ ",text:d.default.red("Something went wrong running `pod install` in the `ios` directory. Continuing with initializing the project, you can debug this afterwards.")});if(t.message){v.Log.error(`- ${t.message}`)}return false}}r.installPodsAsync=installPodsAsync;function logNewSection(t){const r=w.env.CI||w.env.EXPO_DEBUG;const i=(0,y.default)({text:d.default.bold(t),isEnabled:!r,stream:r?process.stdout:process.stderr});i.start();return i}r.logNewSection=logNewSection},9436:function(t,r,i){"use strict";var o=this&&this.__createBinding||(Object.create?function(t,r,i,o){if(o===undefined)o=i;var a=Object.getOwnPropertyDescriptor(r,i);if(!a||("get"in a?!r.__esModule:a.writable||a.configurable)){a={enumerable:true,get:function(){return r[i]}}}Object.defineProperty(t,o,a)}:function(t,r,i,o){if(o===undefined)o=i;t[o]=r[i]});var a=this&&this.__setModuleDefault||(Object.create?function(t,r){Object.defineProperty(t,"default",{enumerable:true,value:r})}:function(t,r){t["default"]=r});var u=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var i in t)if(i!=="default"&&Object.prototype.hasOwnProperty.call(t,i))o(r,t,i);a(r,t);return r};var l=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});const h=l(i(8746));const p=i(9247);const d=i(5733);const m=i(3744);const g=i(1805);const y=i(3490);const A=i(7984)("expo:init:cli");async function run(){const t=process.argv.slice(2)??[];const r={"--yes":Boolean,"--no-install":Boolean,"--help":Boolean,"--version":Boolean,"-y":"--yes","-h":"--help","-v":"--version"};const o=(0,y.assertWithOptionsArgs)(r,{argv:t,permissive:true});if(o["--version"]){m.Log.exit(i(4147).version,0)}if(o["--help"]){const t=p.CLI_NAME.replace("create-","");(0,y.printHelp)(`Creates a new Expo project`,(0,h.default)`npx ${p.CLI_NAME} {cyan <path>} [options]`,[`-y, --yes Use the default options for creating a project`,` --no-install Skip installing npm packages or CocoaPods`,(0,h.default)`-t, --template {gray [pkg]} NPM template to use: default, blank, blank-typescript, tabs, bare-minimum. Default: default`,(0,h.default)`-e, --example {gray [name]} Example name from {underline https://github.com/expo/examples}.`,`-v, --version Version number`,`-h, --help Usage info`].join("\n"),(0,h.default)`
|
|
100
100
|
{gray To choose a template pass in the {bold --template} arg:}
|
|
101
101
|
|
|
102
102
|
{gray $} ${(0,g.formatSelfCommand)()} {cyan --template}
|
|
@@ -122,4 +122,4 @@ var o=i(4300);var a=o.Buffer;function copyProps(t,r){for(var i in t){r[i]=t[i]}}
|
|
|
122
122
|
|
|
123
123
|
{bold Options}
|
|
124
124
|
${i.split("\n").join("\n ")}
|
|
125
|
-
`+o,0)}r.printHelp=printHelp;async function resolveStringOrBooleanArgsAsync(t,r,i){const o={...r,...i};assertUnknownArgs(o,t);t=collapseAliases(o,t);return _resolveStringOrBooleanArgs(i,t)}r.resolveStringOrBooleanArgsAsync=resolveStringOrBooleanArgsAsync;function _resolveStringOrBooleanArgs(t,r){let i="";const o={};const a=Object.entries(t).filter((([,t])=>typeof t!=="string")).map((([t])=>t));for(let t=r.length-1;t>-1;t--){const u=r[t];if(u.startsWith("--")){o[u]=true}else{const l=t>0?r[t-1]:null;if(l&&a.includes(l)){o[l]=u;t--}else if(!i&&(t===r.length-1||t===0)){i=u}else{throw new Error(`Unknown argument: ${u}`)}}}return{args:o,projectRoot:i}}r._resolveStringOrBooleanArgs=_resolveStringOrBooleanArgs;function collapseAliases(t,r){const i=getAliasTuples(t);for(const[t,o]of i){r=(0,d.replaceValue)(r,t,o)}assertDuplicateArgs(r,i);return r}r.collapseAliases=collapseAliases;function assertUnknownArgs(t,r){const i=Object.keys(t);const o=r.filter((t=>!i.includes(t)&&t.startsWith("-")));if(o.length>0){throw new Error(`Unknown arguments: ${o.join(", ")}`)}}r.assertUnknownArgs=assertUnknownArgs;function getAliasTuples(t){return Object.entries(t).filter((([,t])=>typeof t==="string"))}function assertDuplicateArgs(t,r){for(const[i,o]of r){if(t.filter((t=>[i,o].includes(t))).length>1){throw new Error(`Can only provide one instance of ${i} or ${o}`)}}}r.assertDuplicateArgs=assertDuplicateArgs},6889:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.replaceValue=void 0;function replaceValue(t,r,i){const o=t.indexOf(r);if(o>-1){t[o]=i}return t}r.replaceValue=replaceValue},6462:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.getConflictsForDirectory=void 0;const o=i(7147);const a=[".DS_Store","Thumbs.db",".git",".gitattributes",".gitignore",".npmignore","LICENSE","docs",".idea","npm-debug.log","yarn-debug.log","yarn-error.log"];function getConflictsForDirectory(t){return(0,o.readdirSync)(t).filter((t=>!(/\.iml$/.test(t)||a.includes(t))))}r.getConflictsForDirectory=getConflictsForDirectory},7943:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.env=void 0;const o=i(7945);class Env{get EXPO_DEBUG(){return(0,o.boolish)("EXPO_DEBUG",false)}get EXPO_BETA(){return(0,o.boolish)("EXPO_BETA",false)}get CI(){return(0,o.boolish)("CI",false)}get EXPO_NO_CACHE(){return(0,o.boolish)("EXPO_NO_CACHE",false)}get EXPO_NO_TELEMETRY(){return(0,o.boolish)("EXPO_NO_TELEMETRY",false)}}r.env=new Env},9544:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.fetch=void 0;const o=i(7742);function wrapFetchWithAssert(t){return(...r)=>{if(!t){if(o.env.NODE_OPTIONS?.includes("--no-experimental-fetch")){throw new Error('NODE_OPTIONS="--no-experimental-fetch" is not supported, Node.js built-in fetch is required to continue.')}throw new Error("Node.js built-in Fetch is not available. Ensure that the Fetch API, first available in Node.js 18, is enabled.")}return t(...r)}}r.fetch=wrapFetchWithAssert(globalThis.fetch)},424:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.initGitRepoAsync=void 0;const a=o(i(5642));const u=o(i(8746));const l=i(7984)("expo:init:git");async function initGitRepoAsync(t){try{await(0,a.default)("git",["rev-parse","--is-inside-work-tree"],{stdio:"ignore",cwd:t});l(u.default.dim("New project is already inside of a Git repo, skipping git init."));return false}catch(t){if(t.errno==="ENOENT"){l(u.default.dim("Unable to initialize Git repo. `git` not in $PATH."));return false}}const r=i(9756);try{await(0,a.default)("git",["init"],{stdio:"ignore",cwd:t});await(0,a.default)("git",["add","-A"],{stdio:"ignore",cwd:t});const i=`Initial commit\n\nGenerated by ${r.name} ${r.version}.`;await(0,a.default)("git",["commit","-m",i],{stdio:"ignore",cwd:t});l(u.default.dim("Initialized a Git repository."));return true}catch(t){l("Error initializing Git repo:",t);return false}}r.initGitRepoAsync=initGitRepoAsync},292:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.downloadAndExtractGitHubRepositoryAsync=void 0;const o=i(2781);const a=i(9544);const u=i(7240);const l=i(6581);const h=i(7984)("expo:init:github");async function getGitHubRepoAsync(t){const[,r,i,o,u,...l]=t.pathname.split("/");const h=l.join("/");if(o===undefined){const o=await(0,a.fetch)(`https://api.github.com/repos/${r}/${i}`);if(!o.ok&&o.status===404){throw new Error(`GitHub repository not found for url: ${t}`)}else if(!o.ok){throw new Error(`[${o.status}] Failed to fetch GitHub repository information for url: ${t}`)}const u=await o.json();return{owner:r,name:i,branch:u["default_branch"],filePath:h}}if(r&&i&&u&&o==="tree"){return{owner:r,name:i,branch:u,filePath:h}}throw new Error("Malformed GitHub repository response for URL: "+t.toString())}async function isValidGitHubRepoAsync(t){const r=`https://api.github.com/repos/${t.owner}/${t.name}/contents`;const i=`${t.filePath?`/${t.filePath}`:""}/package.json`;const o=await(0,a.fetch)(r+i+`?ref=${t.branch}`);return o.ok}async function extractRemoteGitHubTarballAsync(t,r,i){const h=await(0,a.fetch)(t);if(!h.ok)throw new Error(`Unexpected response: ${h.statusText} (${t})`);if(!h.body)throw new Error(`Unexpected response: no response body (${t})`);const p=r.filePath.replace(/^\//,"").split("/").filter(Boolean);const d=p.length+1;const m=(0,l.createGlobFilter)(!p.length?["*/**","*/ios/.xcode.env"]:[`*/${p.join("/")}/**`,`*/${p.join("/")}/ios/.xcode.env`],{ignore:["**/ios/*.xcworkspace/**"]});await(0,u.extractNpmTarballAsync)(o.Readable.fromWeb(h.body),{...i,filter:m,strip:d})}async function downloadAndExtractGitHubRepositoryAsync(t,r){h("Looking for GitHub repository");const i=await getGitHubRepoAsync(t);const o=await isValidGitHubRepoAsync(i);if(!o){throw new Error(`Could not to locate repository for "${t}", ensure this repository exists`)}const a=`https://codeload.github.com/${i.owner}/${i.name}/tar.gz/${i.branch}`;h("Resolved GitHub repository",i);h("Downloading GitHub repository from:",a);await extractRemoteGitHubTarballAsync(a,i,r)}r.downloadAndExtractGitHubRepositoryAsync=downloadAndExtractGitHubRepositoryAsync},8429:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.withSectionLog=void 0;const a=o(i(2651));const u=i(7943);function withSectionLog(t,r){const i=u.env.CI||u.env.EXPO_DEBUG;const o=(0,a.default)({text:r.pending,isEnabled:!i,stream:i?process.stdout:process.stderr});o.start();return t(o).then((t=>{o.succeed(r.success);return t}),(t=>{o.fail(r.error(t));throw t}))}r.withSectionLog=withSectionLog},7240:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.downloadAndExtractNpmModuleAsync=r.extractNpmTarballAsync=r.extractLocalNpmTarballAsync=r.applyKnownNpmPackageNameRules=r.getResolvedTemplateName=r.splitNpmNameAndTag=r.applyBetaTag=void 0;const a=o(i(5642));const u=o(i(7147));const l=o(i(2037));const h=o(i(1017));const p=i(2781);const d=o(i(8089));const m=i(3837);const g=i(7943);const y=i(6581);const A=i(755);const b=i(3744);const v=i(7984)("expo:init:npm");const E=(0,m.promisify)(p.Stream.pipeline);function getTemporaryCacheFilePath(t="template-cache"){return h.default.join(l.default.tmpdir(),".create-expo-app",t)}function applyBetaTag(t){let[r,i]=splitNpmNameAndTag(t);if(!i&&g.env.EXPO_BETA){v("Using beta tag for",r);i="beta"}return joinNpmNameAndTag(r,i)}r.applyBetaTag=applyBetaTag;function joinNpmNameAndTag(t,r){return[t,r].filter(Boolean).join("@")}function splitNpmNameAndTag(t){const r=t.split("@").filter(Boolean);if(t.startsWith("@")){return["@"+r[0],r[1]]}return[r[0],r[1]]}r.splitNpmNameAndTag=splitNpmNameAndTag;function getResolvedTemplateName(t){let[r,i="latest"]=splitNpmNameAndTag(t);if(r.startsWith("@")){return joinNpmNameAndTag(r,i)}const o="expo-template-";if(A.ALIASES.includes(o+r)){r=o+r}if(A.ALIASES.includes(r)){if(i?.match(/^\d+$/)){return r+"@sdk-"+i}}return joinNpmNameAndTag(r,i)}r.getResolvedTemplateName=getResolvedTemplateName;function applyKnownNpmPackageNameRules(t){while(/^(\.|_)/.test(t)){t=t.substring(1)}t=t.toLowerCase().replace(/[^a-zA-Z0-9._\-/@]/g,"");return t.normalize("NFD").replace(/[\u0300-\u036f]/g,"")||null}r.applyKnownNpmPackageNameRules=applyKnownNpmPackageNameRules;async function extractLocalNpmTarballAsync(t,r){const i=u.default.createReadStream(t);await extractNpmTarballAsync(i,r)}r.extractLocalNpmTarballAsync=extractLocalNpmTarballAsync;async function extractNpmTarballAsync(t,r){if(!t){throw new Error("Missing stream")}const{cwd:i,strip:o,name:a,fileList:l=[],filter:h}=r;await u.default.promises.mkdir(i,{recursive:true});await E(t,d.default.extract({cwd:i,filter:h,onentry:(0,y.createEntryResolver)(a),strip:o??1},l))}r.extractNpmTarballAsync=extractNpmTarballAsync;async function npmPackAsync(t,r=undefined,...i){const o=getNpmBin();const l=["pack",t,...i];const h=`${o} ${l.join(" ")}`;v("Run:",h,`(cwd: ${r??process.cwd()})`);if(r){await u.default.promises.mkdir(r,{recursive:true})}let p;try{p=(await(0,a.default)(o,[...l,"--json"],{cwd:r})).stdout?.trim()}catch(t){if(t?.stderr.match(/npm ERR! code E404/)){const r=t.stderr.match(/npm ERR! 404\s+'(.*)' is not in this registry\./)?.[1]??t.stderr;throw new Error(`NPM package not found: `+r)}throw t}if(!p){return null}try{const t=JSON.parse(p);if(Array.isArray(t)&&t.every(isNpmPackageInfo)){return t.map(sanitizeNpmPackageFilename)}else{throw new Error(`Invalid response from npm: ${p}`)}}catch(t){throw new Error(`Could not parse JSON returned from "${h}".\n\n${p}\n\nError: ${t.message}`)}}function getNpmBin(){return process.platform==="win32"?"npm.cmd":"npm"}async function getNpmInfoAsync(t,r){const i=await npmPackAsync(t,r,"--dry-run");if(i?.[0]){return i[0]}throw new Error(`Could not find npm package "${t}"`)}function isNpmPackageInfo(t){return t&&typeof t==="object"&&"id"in t&&"filename"in t&&"version"in t&&"files"in t}function sanitizeNpmPackageFilename(t){if(t.filename.startsWith("@")&&t.name.startsWith("@")){t.filename=t.filename.replace(/^@/,"").replace(/\//,"-")}return t}async function fileExistsAsync(t){try{const r=await u.default.promises.stat(t);return r.isFile()}catch{return false}}async function downloadAndExtractNpmModuleAsync(t,r){const i=getTemporaryCacheFilePath();v(`Looking for NPM tarball (id: ${t}, cache: ${i})`);await u.default.promises.mkdir(i,{recursive:true});const o=await getNpmInfoAsync(t,i);const a=h.default.join(i,o.filename);try{const o=await fileExistsAsync(a);const u=g.env.EXPO_NO_CACHE||r.disableCache;if(u||!o){v(`Downloading tarball for ${t} to ${i}...`);await npmPackAsync(t,i)}}catch(r){b.Log.error("Error downloading template package: "+t);throw r}try{await extractLocalNpmTarballAsync(a,{cwd:r.cwd,name:r.name})}catch(r){b.Log.error("Error extracting template package: "+t);throw r}}r.downloadAndExtractNpmModuleAsync=downloadAndExtractNpmModuleAsync},5897:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});const a=o(i(8746));const u=o(i(5418));const l=i(9756);const h=i(7984)("expo:init:update-check");async function shouldUpdate(){try{const t=await(0,u.default)(l);if(t?.latest){console.log();console.log(a.default.yellow.bold(`A new version of \`${l.name}\` is available`));console.log((0,a.default)`You can update by running: {cyan npm install -g ${l.name}}`);console.log()}}catch(t){h("Error checking for update:\n%O",t)}}r["default"]=shouldUpdate},9756:module=>{module.exports=eval("require")("../package.json")},9491:t=>{"use strict";t.exports=require("assert")},4300:t=>{"use strict";t.exports=require("buffer")},2081:t=>{"use strict";t.exports=require("child_process")},2057:t=>{"use strict";t.exports=require("constants")},6113:t=>{"use strict";t.exports=require("crypto")},9523:t=>{"use strict";t.exports=require("dns")},2361:t=>{"use strict";t.exports=require("events")},7147:t=>{"use strict";t.exports=require("fs")},3685:t=>{"use strict";t.exports=require("http")},5687:t=>{"use strict";t.exports=require("https")},8188:t=>{"use strict";t.exports=require("module")},7561:t=>{"use strict";t.exports=require("node:fs")},9411:t=>{"use strict";t.exports=require("node:path")},7742:t=>{"use strict";t.exports=require("node:process")},7261:t=>{"use strict";t.exports=require("node:util")},2037:t=>{"use strict";t.exports=require("os")},1017:t=>{"use strict";t.exports=require("path")},7282:t=>{"use strict";t.exports=require("process")},4521:t=>{"use strict";t.exports=require("readline")},2781:t=>{"use strict";t.exports=require("stream")},1576:t=>{"use strict";t.exports=require("string_decoder")},6224:t=>{"use strict";t.exports=require("tty")},7310:t=>{"use strict";t.exports=require("url")},3837:t=>{"use strict";t.exports=require("util")},1267:t=>{"use strict";t.exports=require("worker_threads")},9796:t=>{"use strict";t.exports=require("zlib")},9539:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isIdentifierChar=isIdentifierChar;r.isIdentifierName=isIdentifierName;r.isIdentifierStart=isIdentifierStart;let i="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let o="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const a=new RegExp("["+i+"]");const u=new RegExp("["+i+o+"]");i=o=null;const l=[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,68,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,71,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,349,41,7,1,79,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,159,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,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,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,757,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,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191];const h=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,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,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,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,406,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,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,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,983,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(t,r){let i=65536;for(let o=0,a=r.length;o<a;o+=2){i+=r[o];if(i>t)return false;i+=r[o+1];if(i>=t)return true}return false}function isIdentifierStart(t){if(t<65)return t===36;if(t<=90)return true;if(t<97)return t===95;if(t<=122)return true;if(t<=65535){return t>=170&&a.test(String.fromCharCode(t))}return isInAstralSet(t,l)}function isIdentifierChar(t){if(t<48)return t===36;if(t<58)return true;if(t<65)return false;if(t<=90)return true;if(t<97)return t===95;if(t<=122)return true;if(t<=65535){return t>=170&&u.test(String.fromCharCode(t))}return isInAstralSet(t,l)||isInAstralSet(t,h)}function isIdentifierName(t){let r=true;for(let i=0;i<t.length;i++){let o=t.charCodeAt(i);if((o&64512)===55296&&i+1<t.length){const r=t.charCodeAt(++i);if((r&64512)===56320){o=65536+((o&1023)<<10)+(r&1023)}}if(r){r=false;if(!isIdentifierStart(o)){return false}}else if(!isIdentifierChar(o)){return false}}return!r}},4679:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"isIdentifierChar",{enumerable:true,get:function(){return o.isIdentifierChar}});Object.defineProperty(r,"isIdentifierName",{enumerable:true,get:function(){return o.isIdentifierName}});Object.defineProperty(r,"isIdentifierStart",{enumerable:true,get:function(){return o.isIdentifierStart}});Object.defineProperty(r,"isKeyword",{enumerable:true,get:function(){return a.isKeyword}});Object.defineProperty(r,"isReservedWord",{enumerable:true,get:function(){return a.isReservedWord}});Object.defineProperty(r,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return a.isStrictBindOnlyReservedWord}});Object.defineProperty(r,"isStrictBindReservedWord",{enumerable:true,get:function(){return a.isStrictBindReservedWord}});Object.defineProperty(r,"isStrictReservedWord",{enumerable:true,get:function(){return a.isStrictReservedWord}});var o=i(9539);var a=i(11)},11:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isKeyword=isKeyword;r.isReservedWord=isReservedWord;r.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;r.isStrictBindReservedWord=isStrictBindReservedWord;r.isStrictReservedWord=isStrictReservedWord;const i={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 o=new Set(i.keyword);const a=new Set(i.strict);const u=new Set(i.strictBind);function isReservedWord(t,r){return r&&t==="await"||t==="enum"}function isStrictReservedWord(t,r){return isReservedWord(t,r)||a.has(t)}function isStrictBindOnlyReservedWord(t){return u.has(t)}function isStrictBindReservedWord(t,r){return isStrictReservedWord(t,r)||isStrictBindOnlyReservedWord(t)}function isKeyword(t){return o.has(t)}},932:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=highlight;r.shouldHighlight=shouldHighlight;var o=i(8035);var a=i(4679);var u=_interopRequireWildcard(i(9397),true);function _getRequireWildcardCache(t){if("function"!=typeof WeakMap)return null;var r=new WeakMap,i=new WeakMap;return(_getRequireWildcardCache=function(t){return t?i:r})(t)}function _interopRequireWildcard(t,r){if(!r&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var i=_getRequireWildcardCache(r);if(i&&i.has(t))return i.get(t);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if("default"!==u&&{}.hasOwnProperty.call(t,u)){var l=a?Object.getOwnPropertyDescriptor(t,u):null;l&&(l.get||l.set)?Object.defineProperty(o,u,l):o[u]=t[u]}return o.default=t,i&&i.set(t,o),o}const l=typeof process==="object"&&(process.env.FORCE_COLOR==="0"||process.env.FORCE_COLOR==="false")?(0,u.createColors)(false):u.default;const compose=(t,r)=>i=>t(r(i));const h=new Set(["as","async","from","get","of","set"]);function getDefs(t){return{keyword:t.cyan,capitalized:t.yellow,jsxIdentifier:t.yellow,punctuator:t.yellow,number:t.magenta,string:t.green,regex:t.magenta,comment:t.gray,invalid:compose(compose(t.white,t.bgRed),t.bold)}}const p=/\r\n|[\n\r\u2028\u2029]/;const d=/^[()[\]{}]$/;let m;{const t=/^[a-z][\w-]*$/i;const getTokenType=function(r,i,o){if(r.type==="name"){if((0,a.isKeyword)(r.value)||(0,a.isStrictReservedWord)(r.value,true)||h.has(r.value)){return"keyword"}if(t.test(r.value)&&(o[i-1]==="<"||o.slice(i-2,i)==="</")){return"jsxIdentifier"}if(r.value[0]!==r.value[0].toLowerCase()){return"capitalized"}}if(r.type==="punctuator"&&d.test(r.value)){return"bracket"}if(r.type==="invalid"&&(r.value==="@"||r.value==="#")){return"punctuator"}return r.type};m=function*(t){let r;while(r=o.default.exec(t)){const i=o.matchToToken(r);yield{type:getTokenType(i,r.index,t),value:i.value}}}}function highlightTokens(t,r){let i="";for(const{type:o,value:a}of m(r)){const r=t[o];if(r){i+=a.split(p).map((t=>r(t))).join("\n")}else{i+=a}}return i}function shouldHighlight(t){return l.isColorSupported||t.forceColor}let g=undefined;function getColors(t){if(t){var r;(r=g)!=null?r:g=(0,u.createColors)(true);return g}return l}function highlight(t,r={}){if(t!==""&&shouldHighlight(r)){const i=getDefs(getColors(r.forceColor));return highlightTokens(i,t)}else{return t}}{let t,o;r.getChalk=({forceColor:r})=>{var a;(a=t)!=null?a:t=i(6870);if(r){var u;(u=o)!=null?u:o=new t.constructor({enabled:true,level:1});return o}return t}}},3576:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.LRUCache=void 0;const i=typeof performance==="object"&&performance&&typeof performance.now==="function"?performance:Date;const o=new Set;const a=typeof process==="object"&&!!process?process:{};const emitWarning=(t,r,i,o)=>{typeof a.emitWarning==="function"?a.emitWarning(t,r,i,o):console.error(`[${i}] ${r}: ${t}`)};let u=globalThis.AbortController;let l=globalThis.AbortSignal;if(typeof u==="undefined"){l=class AbortSignal{onabort;_onabort=[];reason;aborted=false;addEventListener(t,r){this._onabort.push(r)}};u=class AbortController{constructor(){warnACPolyfill()}signal=new l;abort(t){if(this.signal.aborted)return;this.signal.reason=t;this.signal.aborted=true;for(const r of this.signal._onabort){r(t)}this.signal.onabort?.(t)}};let t=a.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1";const warnACPolyfill=()=>{if(!t)return;t=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=t=>!o.has(t);const h=Symbol("type");const isPosInt=t=>t&&t===Math.floor(t)&&t>0&&isFinite(t);const getUintArray=t=>!isPosInt(t)?null:t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?ZeroArray:null;class ZeroArray extends Array{constructor(t){super(t);this.fill(0)}}class Stack{heap;length;static#s=false;static create(t){const r=getUintArray(t);if(!r)return[];Stack.#s=true;const i=new Stack(t,r);Stack.#s=false;return i}constructor(t,r){if(!Stack.#s){throw new TypeError("instantiate Stack using Stack.create(n)")}this.heap=new r(t);this.length=0}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}}class LRUCache{#n;#i;#o;#a;#u;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#l;#c;#h;#f;#p;#d;#m;#g;#y;#A;#b;#v;#E;#w;#_;#S;#C;static unsafeExposeInternals(t){return{starts:t.#E,ttls:t.#w,sizes:t.#v,keyMap:t.#h,keyList:t.#f,valList:t.#p,next:t.#d,prev:t.#m,get head(){return t.#g},get tail(){return t.#y},free:t.#A,isBackgroundFetch:r=>t.#D(r),backgroundFetch:(r,i,o,a)=>t.#x(r,i,o,a),moveToTail:r=>t.#R(r),indexes:r=>t.#O(r),rindexes:r=>t.#F(r),isStale:r=>t.#k(r)}}get max(){return this.#n}get maxSize(){return this.#i}get calculatedSize(){return this.#c}get size(){return this.#l}get fetchMethod(){return this.#u}get dispose(){return this.#o}get disposeAfter(){return this.#a}constructor(t){const{max:r=0,ttl:i,ttlResolution:a=1,ttlAutopurge:u,updateAgeOnGet:l,updateAgeOnHas:h,allowStale:p,dispose:d,disposeAfter:m,noDisposeOnSet:g,noUpdateTTL:y,maxSize:A=0,maxEntrySize:b=0,sizeCalculation:v,fetchMethod:E,noDeleteOnFetchRejection:w,noDeleteOnStaleGet:_,allowStaleOnFetchRejection:S,allowStaleOnFetchAbort:C,ignoreFetchAbort:D}=t;if(r!==0&&!isPosInt(r)){throw new TypeError("max option must be a nonnegative integer")}const x=r?getUintArray(r):Array;if(!x){throw new Error("invalid max value: "+r)}this.#n=r;this.#i=A;this.maxEntrySize=b||this.#i;this.sizeCalculation=v;if(this.sizeCalculation){if(!this.#i&&!this.maxEntrySize){throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize")}if(typeof this.sizeCalculation!=="function"){throw new TypeError("sizeCalculation set to non-function")}}if(E!==undefined&&typeof E!=="function"){throw new TypeError("fetchMethod must be a function if specified")}this.#u=E;this.#S=!!E;this.#h=new Map;this.#f=new Array(r).fill(undefined);this.#p=new Array(r).fill(undefined);this.#d=new x(r);this.#m=new x(r);this.#g=0;this.#y=0;this.#A=Stack.create(r);this.#l=0;this.#c=0;if(typeof d==="function"){this.#o=d}if(typeof m==="function"){this.#a=m;this.#b=[]}else{this.#a=undefined;this.#b=undefined}this.#_=!!this.#o;this.#C=!!this.#a;this.noDisposeOnSet=!!g;this.noUpdateTTL=!!y;this.noDeleteOnFetchRejection=!!w;this.allowStaleOnFetchRejection=!!S;this.allowStaleOnFetchAbort=!!C;this.ignoreFetchAbort=!!D;if(this.maxEntrySize!==0){if(this.#i!==0){if(!isPosInt(this.#i)){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.#P()}this.allowStale=!!p;this.noDeleteOnStaleGet=!!_;this.updateAgeOnGet=!!l;this.updateAgeOnHas=!!h;this.ttlResolution=isPosInt(a)||a===0?a:1;this.ttlAutopurge=!!u;this.ttl=i||0;if(this.ttl){if(!isPosInt(this.ttl)){throw new TypeError("ttl must be a positive integer if specified")}this.#T()}if(this.#n===0&&this.ttl===0&&this.#i===0){throw new TypeError("At least one of max, maxSize, or ttl is required")}if(!this.ttlAutopurge&&!this.#n&&!this.#i){const t="LRU_CACHE_UNBOUNDED";if(shouldWarn(t)){o.add(t);const r="TTL caching without ttlAutopurge, max, or maxSize can "+"result in unbounded memory consumption.";emitWarning(r,"UnboundedCacheWarning",t,LRUCache)}}}getRemainingTTL(t){return this.#h.has(t)?Infinity:0}#T(){const t=new ZeroArray(this.#n);const r=new ZeroArray(this.#n);this.#w=t;this.#E=r;this.#L=(o,a,u=i.now())=>{r[o]=a!==0?u:0;t[o]=a;if(a!==0&&this.ttlAutopurge){const t=setTimeout((()=>{if(this.#k(o)){this.delete(this.#f[o])}}),a+1);if(t.unref){t.unref()}}};this.#I=o=>{r[o]=t[o]!==0?i.now():0};this.#M=(i,a)=>{if(t[a]){const u=t[a];const l=r[a];if(!u||!l)return;i.ttl=u;i.start=l;i.now=o||getNow();const h=i.now-l;i.remainingTTL=u-h}};let o=0;const getNow=()=>{const t=i.now();if(this.ttlResolution>0){o=t;const r=setTimeout((()=>o=0),this.ttlResolution);if(r.unref){r.unref()}}return t};this.getRemainingTTL=i=>{const a=this.#h.get(i);if(a===undefined){return 0}const u=t[a];const l=r[a];if(!u||!l){return Infinity}const h=(o||getNow())-l;return u-h};this.#k=i=>{const a=r[i];const u=t[i];return!!u&&!!a&&(o||getNow())-a>u}}#I=()=>{};#M=()=>{};#L=()=>{};#k=()=>false;#P(){const t=new ZeroArray(this.#n);this.#c=0;this.#v=t;this.#B=r=>{this.#c-=t[r];t[r]=0};this.#N=(t,r,i,o)=>{if(this.#D(r)){return 0}if(!isPosInt(i)){if(o){if(typeof o!=="function"){throw new TypeError("sizeCalculation must be a function")}i=o(r,t);if(!isPosInt(i)){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 i};this.#$=(r,i,o)=>{t[r]=i;if(this.#i){const i=this.#i-t[r];while(this.#c>i){this.#j(true)}}this.#c+=t[r];if(o){o.entrySize=i;o.totalCalculatedSize=this.#c}}}#B=t=>{};#$=(t,r,i)=>{};#N=(t,r,i,o)=>{if(i||o){throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache")}return 0};*#O({allowStale:t=this.allowStale}={}){if(this.#l){for(let r=this.#y;true;){if(!this.#H(r)){break}if(t||!this.#k(r)){yield r}if(r===this.#g){break}else{r=this.#m[r]}}}}*#F({allowStale:t=this.allowStale}={}){if(this.#l){for(let r=this.#g;true;){if(!this.#H(r)){break}if(t||!this.#k(r)){yield r}if(r===this.#y){break}else{r=this.#d[r]}}}}#H(t){return t!==undefined&&this.#h.get(this.#f[t])===t}*entries(){for(const t of this.#O()){if(this.#p[t]!==undefined&&this.#f[t]!==undefined&&!this.#D(this.#p[t])){yield[this.#f[t],this.#p[t]]}}}*rentries(){for(const t of this.#F()){if(this.#p[t]!==undefined&&this.#f[t]!==undefined&&!this.#D(this.#p[t])){yield[this.#f[t],this.#p[t]]}}}*keys(){for(const t of this.#O()){const r=this.#f[t];if(r!==undefined&&!this.#D(this.#p[t])){yield r}}}*rkeys(){for(const t of this.#F()){const r=this.#f[t];if(r!==undefined&&!this.#D(this.#p[t])){yield r}}}*values(){for(const t of this.#O()){const r=this.#p[t];if(r!==undefined&&!this.#D(this.#p[t])){yield this.#p[t]}}}*rvalues(){for(const t of this.#F()){const r=this.#p[t];if(r!==undefined&&!this.#D(this.#p[t])){yield this.#p[t]}}}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(t,r={}){for(const i of this.#O()){const o=this.#p[i];const a=this.#D(o)?o.__staleWhileFetching:o;if(a===undefined)continue;if(t(a,this.#f[i],this)){return this.get(this.#f[i],r)}}}forEach(t,r=this){for(const i of this.#O()){const o=this.#p[i];const a=this.#D(o)?o.__staleWhileFetching:o;if(a===undefined)continue;t.call(r,a,this.#f[i],this)}}rforEach(t,r=this){for(const i of this.#F()){const o=this.#p[i];const a=this.#D(o)?o.__staleWhileFetching:o;if(a===undefined)continue;t.call(r,a,this.#f[i],this)}}purgeStale(){let t=false;for(const r of this.#F({allowStale:true})){if(this.#k(r)){this.delete(this.#f[r]);t=true}}return t}info(t){const r=this.#h.get(t);if(r===undefined)return undefined;const o=this.#p[r];const a=this.#D(o)?o.__staleWhileFetching:o;if(a===undefined)return undefined;const u={value:a};if(this.#w&&this.#E){const t=this.#w[r];const o=this.#E[r];if(t&&o){const r=t-(i.now()-o);u.ttl=r;u.start=Date.now()}}if(this.#v){u.size=this.#v[r]}return u}dump(){const t=[];for(const r of this.#O({allowStale:true})){const o=this.#f[r];const a=this.#p[r];const u=this.#D(a)?a.__staleWhileFetching:a;if(u===undefined||o===undefined)continue;const l={value:u};if(this.#w&&this.#E){l.ttl=this.#w[r];const t=i.now()-this.#E[r];l.start=Math.floor(Date.now()-t)}if(this.#v){l.size=this.#v[r]}t.unshift([o,l])}return t}load(t){this.clear();for(const[r,o]of t){if(o.start){const t=Date.now()-o.start;o.start=i.now()-t}this.set(r,o.value,o)}}set(t,r,i={}){if(r===undefined){this.delete(t);return this}const{ttl:o=this.ttl,start:a,noDisposeOnSet:u=this.noDisposeOnSet,sizeCalculation:l=this.sizeCalculation,status:h}=i;let{noUpdateTTL:p=this.noUpdateTTL}=i;const d=this.#N(t,r,i.size||0,l);if(this.maxEntrySize&&d>this.maxEntrySize){if(h){h.set="miss";h.maxEntrySizeExceeded=true}this.delete(t);return this}let m=this.#l===0?undefined:this.#h.get(t);if(m===undefined){m=this.#l===0?this.#y:this.#A.length!==0?this.#A.pop():this.#l===this.#n?this.#j(false):this.#l;this.#f[m]=t;this.#p[m]=r;this.#h.set(t,m);this.#d[this.#y]=m;this.#m[m]=this.#y;this.#y=m;this.#l++;this.#$(m,d,h);if(h)h.set="add";p=false}else{this.#R(m);const i=this.#p[m];if(r!==i){if(this.#S&&this.#D(i)){i.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:r}=i;if(r!==undefined&&!u){if(this.#_){this.#o?.(r,t,"set")}if(this.#C){this.#b?.push([r,t,"set"])}}}else if(!u){if(this.#_){this.#o?.(i,t,"set")}if(this.#C){this.#b?.push([i,t,"set"])}}this.#B(m);this.#$(m,d,h);this.#p[m]=r;if(h){h.set="replace";const t=i&&this.#D(i)?i.__staleWhileFetching:i;if(t!==undefined)h.oldValue=t}}else if(h){h.set="update"}}if(o!==0&&!this.#w){this.#T()}if(this.#w){if(!p){this.#L(m,o,a)}if(h)this.#M(h,m)}if(!u&&this.#C&&this.#b){const t=this.#b;let r;while(r=t?.shift()){this.#a?.(...r)}}return this}pop(){try{while(this.#l){const t=this.#p[this.#g];this.#j(true);if(this.#D(t)){if(t.__staleWhileFetching){return t.__staleWhileFetching}}else if(t!==undefined){return t}}}finally{if(this.#C&&this.#b){const t=this.#b;let r;while(r=t?.shift()){this.#a?.(...r)}}}}#j(t){const r=this.#g;const i=this.#f[r];const o=this.#p[r];if(this.#S&&this.#D(o)){o.__abortController.abort(new Error("evicted"))}else if(this.#_||this.#C){if(this.#_){this.#o?.(o,i,"evict")}if(this.#C){this.#b?.push([o,i,"evict"])}}this.#B(r);if(t){this.#f[r]=undefined;this.#p[r]=undefined;this.#A.push(r)}if(this.#l===1){this.#g=this.#y=0;this.#A.length=0}else{this.#g=this.#d[r]}this.#h.delete(i);this.#l--;return r}has(t,r={}){const{updateAgeOnHas:i=this.updateAgeOnHas,status:o}=r;const a=this.#h.get(t);if(a!==undefined){const t=this.#p[a];if(this.#D(t)&&t.__staleWhileFetching===undefined){return false}if(!this.#k(a)){if(i){this.#I(a)}if(o){o.has="hit";this.#M(o,a)}return true}else if(o){o.has="stale";this.#M(o,a)}}else if(o){o.has="miss"}return false}peek(t,r={}){const{allowStale:i=this.allowStale}=r;const o=this.#h.get(t);if(o===undefined||!i&&this.#k(o)){return}const a=this.#p[o];return this.#D(a)?a.__staleWhileFetching:a}#x(t,r,i,o){const a=r===undefined?undefined:this.#p[r];if(this.#D(a)){return a}const l=new u;const{signal:h}=i;h?.addEventListener("abort",(()=>l.abort(h.reason)),{signal:l.signal});const p={signal:l.signal,options:i,context:o};const cb=(o,a=false)=>{const{aborted:u}=l.signal;const h=i.ignoreFetchAbort&&o!==undefined;if(i.status){if(u&&!a){i.status.fetchAborted=true;i.status.fetchError=l.signal.reason;if(h)i.status.fetchAbortIgnored=true}else{i.status.fetchResolved=true}}if(u&&!h&&!a){return fetchFail(l.signal.reason)}const m=d;if(this.#p[r]===d){if(o===undefined){if(m.__staleWhileFetching){this.#p[r]=m.__staleWhileFetching}else{this.delete(t)}}else{if(i.status)i.status.fetchUpdated=true;this.set(t,o,p.options)}}return o};const eb=t=>{if(i.status){i.status.fetchRejected=true;i.status.fetchError=t}return fetchFail(t)};const fetchFail=o=>{const{aborted:a}=l.signal;const u=a&&i.allowStaleOnFetchAbort;const h=u||i.allowStaleOnFetchRejection;const p=h||i.noDeleteOnFetchRejection;const m=d;if(this.#p[r]===d){const i=!p||m.__staleWhileFetching===undefined;if(i){this.delete(t)}else if(!u){this.#p[r]=m.__staleWhileFetching}}if(h){if(i.status&&m.__staleWhileFetching!==undefined){i.status.returnedStale=true}return m.__staleWhileFetching}else if(m.__returned===m){throw o}};const pcall=(r,o)=>{const u=this.#u?.(t,a,p);if(u&&u instanceof Promise){u.then((t=>r(t===undefined?undefined:t)),o)}l.signal.addEventListener("abort",(()=>{if(!i.ignoreFetchAbort||i.allowStaleOnFetchAbort){r(undefined);if(i.allowStaleOnFetchAbort){r=t=>cb(t,true)}}}))};if(i.status)i.status.fetchDispatched=true;const d=new Promise(pcall).then(cb,eb);const m=Object.assign(d,{__abortController:l,__staleWhileFetching:a,__returned:undefined});if(r===undefined){this.set(t,m,{...p.options,status:undefined});r=this.#h.get(t)}else{this.#p[r]=m}return m}#D(t){if(!this.#S)return false;const r=t;return!!r&&r instanceof Promise&&r.hasOwnProperty("__staleWhileFetching")&&r.__abortController instanceof u}async fetch(t,r={}){const{allowStale:i=this.allowStale,updateAgeOnGet:o=this.updateAgeOnGet,noDeleteOnStaleGet:a=this.noDeleteOnStaleGet,ttl:u=this.ttl,noDisposeOnSet:l=this.noDisposeOnSet,size:h=0,sizeCalculation:p=this.sizeCalculation,noUpdateTTL:d=this.noUpdateTTL,noDeleteOnFetchRejection:m=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:g=this.allowStaleOnFetchRejection,ignoreFetchAbort:y=this.ignoreFetchAbort,allowStaleOnFetchAbort:A=this.allowStaleOnFetchAbort,context:b,forceRefresh:v=false,status:E,signal:w}=r;if(!this.#S){if(E)E.fetch="get";return this.get(t,{allowStale:i,updateAgeOnGet:o,noDeleteOnStaleGet:a,status:E})}const _={allowStale:i,updateAgeOnGet:o,noDeleteOnStaleGet:a,ttl:u,noDisposeOnSet:l,size:h,sizeCalculation:p,noUpdateTTL:d,noDeleteOnFetchRejection:m,allowStaleOnFetchRejection:g,allowStaleOnFetchAbort:A,ignoreFetchAbort:y,status:E,signal:w};let S=this.#h.get(t);if(S===undefined){if(E)E.fetch="miss";const r=this.#x(t,S,_,b);return r.__returned=r}else{const r=this.#p[S];if(this.#D(r)){const t=i&&r.__staleWhileFetching!==undefined;if(E){E.fetch="inflight";if(t)E.returnedStale=true}return t?r.__staleWhileFetching:r.__returned=r}const a=this.#k(S);if(!v&&!a){if(E)E.fetch="hit";this.#R(S);if(o){this.#I(S)}if(E)this.#M(E,S);return r}const u=this.#x(t,S,_,b);const l=u.__staleWhileFetching!==undefined;const h=l&&i;if(E){E.fetch=a?"stale":"refresh";if(h&&a)E.returnedStale=true}return h?u.__staleWhileFetching:u.__returned=u}}get(t,r={}){const{allowStale:i=this.allowStale,updateAgeOnGet:o=this.updateAgeOnGet,noDeleteOnStaleGet:a=this.noDeleteOnStaleGet,status:u}=r;const l=this.#h.get(t);if(l!==undefined){const r=this.#p[l];const h=this.#D(r);if(u)this.#M(u,l);if(this.#k(l)){if(u)u.get="stale";if(!h){if(!a){this.delete(t)}if(u&&i)u.returnedStale=true;return i?r:undefined}else{if(u&&i&&r.__staleWhileFetching!==undefined){u.returnedStale=true}return i?r.__staleWhileFetching:undefined}}else{if(u)u.get="hit";if(h){return r.__staleWhileFetching}this.#R(l);if(o){this.#I(l)}return r}}else if(u){u.get="miss"}}#G(t,r){this.#m[r]=t;this.#d[t]=r}#R(t){if(t!==this.#y){if(t===this.#g){this.#g=this.#d[t]}else{this.#G(this.#m[t],this.#d[t])}this.#G(this.#y,t);this.#y=t}}delete(t){let r=false;if(this.#l!==0){const i=this.#h.get(t);if(i!==undefined){r=true;if(this.#l===1){this.clear()}else{this.#B(i);const r=this.#p[i];if(this.#D(r)){r.__abortController.abort(new Error("deleted"))}else if(this.#_||this.#C){if(this.#_){this.#o?.(r,t,"delete")}if(this.#C){this.#b?.push([r,t,"delete"])}}this.#h.delete(t);this.#f[i]=undefined;this.#p[i]=undefined;if(i===this.#y){this.#y=this.#m[i]}else if(i===this.#g){this.#g=this.#d[i]}else{const t=this.#m[i];this.#d[t]=this.#d[i];const r=this.#d[i];this.#m[r]=this.#m[i]}this.#l--;this.#A.push(i)}}}if(this.#C&&this.#b?.length){const t=this.#b;let r;while(r=t?.shift()){this.#a?.(...r)}}return r}clear(){for(const t of this.#F({allowStale:true})){const r=this.#p[t];if(this.#D(r)){r.__abortController.abort(new Error("deleted"))}else{const i=this.#f[t];if(this.#_){this.#o?.(r,i,"delete")}if(this.#C){this.#b?.push([r,i,"delete"])}}}this.#h.clear();this.#p.fill(undefined);this.#f.fill(undefined);if(this.#w&&this.#E){this.#w.fill(0);this.#E.fill(0)}if(this.#v){this.#v.fill(0)}this.#g=0;this.#y=0;this.#A.length=0;this.#c=0;this.#l=0;if(this.#C&&this.#b){const t=this.#b;let r;while(r=t?.shift()){this.#a?.(...r)}}}}r.LRUCache=LRUCache},2548:t=>{"use strict";t.exports=JSON.parse('{"dots":{"interval":80,"frames":["⠋","⠙","⠹","⠸","⠼","⠴","⠦","⠧","⠇","⠏"]},"dots2":{"interval":80,"frames":["⣾","⣽","⣻","⢿","⡿","⣟","⣯","⣷"]},"dots3":{"interval":80,"frames":["⠋","⠙","⠚","⠞","⠖","⠦","⠴","⠲","⠳","⠓"]},"dots4":{"interval":80,"frames":["⠄","⠆","⠇","⠋","⠙","⠸","⠰","⠠","⠰","⠸","⠙","⠋","⠇","⠆"]},"dots5":{"interval":80,"frames":["⠋","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋"]},"dots6":{"interval":80,"frames":["⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠴","⠲","⠒","⠂","⠂","⠒","⠚","⠙","⠉","⠁"]},"dots7":{"interval":80,"frames":["⠈","⠉","⠋","⠓","⠒","⠐","⠐","⠒","⠖","⠦","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈"]},"dots8":{"interval":80,"frames":["⠁","⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈","⠈"]},"dots9":{"interval":80,"frames":["⢹","⢺","⢼","⣸","⣇","⡧","⡗","⡏"]},"dots10":{"interval":80,"frames":["⢄","⢂","⢁","⡁","⡈","⡐","⡠"]},"dots11":{"interval":100,"frames":["⠁","⠂","⠄","⡀","⢀","⠠","⠐","⠈"]},"dots12":{"interval":80,"frames":["⢀⠀","⡀⠀","⠄⠀","⢂⠀","⡂⠀","⠅⠀","⢃⠀","⡃⠀","⠍⠀","⢋⠀","⡋⠀","⠍⠁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⢈⠩","⡀⢙","⠄⡙","⢂⠩","⡂⢘","⠅⡘","⢃⠨","⡃⢐","⠍⡐","⢋⠠","⡋⢀","⠍⡁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⠈⠩","⠀⢙","⠀⡙","⠀⠩","⠀⢘","⠀⡘","⠀⠨","⠀⢐","⠀⡐","⠀⠠","⠀⢀","⠀⡀"]},"dots8Bit":{"interval":80,"frames":["⠀","⠁","⠂","⠃","⠄","⠅","⠆","⠇","⡀","⡁","⡂","⡃","⡄","⡅","⡆","⡇","⠈","⠉","⠊","⠋","⠌","⠍","⠎","⠏","⡈","⡉","⡊","⡋","⡌","⡍","⡎","⡏","⠐","⠑","⠒","⠓","⠔","⠕","⠖","⠗","⡐","⡑","⡒","⡓","⡔","⡕","⡖","⡗","⠘","⠙","⠚","⠛","⠜","⠝","⠞","⠟","⡘","⡙","⡚","⡛","⡜","⡝","⡞","⡟","⠠","⠡","⠢","⠣","⠤","⠥","⠦","⠧","⡠","⡡","⡢","⡣","⡤","⡥","⡦","⡧","⠨","⠩","⠪","⠫","⠬","⠭","⠮","⠯","⡨","⡩","⡪","⡫","⡬","⡭","⡮","⡯","⠰","⠱","⠲","⠳","⠴","⠵","⠶","⠷","⡰","⡱","⡲","⡳","⡴","⡵","⡶","⡷","⠸","⠹","⠺","⠻","⠼","⠽","⠾","⠿","⡸","⡹","⡺","⡻","⡼","⡽","⡾","⡿","⢀","⢁","⢂","⢃","⢄","⢅","⢆","⢇","⣀","⣁","⣂","⣃","⣄","⣅","⣆","⣇","⢈","⢉","⢊","⢋","⢌","⢍","⢎","⢏","⣈","⣉","⣊","⣋","⣌","⣍","⣎","⣏","⢐","⢑","⢒","⢓","⢔","⢕","⢖","⢗","⣐","⣑","⣒","⣓","⣔","⣕","⣖","⣗","⢘","⢙","⢚","⢛","⢜","⢝","⢞","⢟","⣘","⣙","⣚","⣛","⣜","⣝","⣞","⣟","⢠","⢡","⢢","⢣","⢤","⢥","⢦","⢧","⣠","⣡","⣢","⣣","⣤","⣥","⣦","⣧","⢨","⢩","⢪","⢫","⢬","⢭","⢮","⢯","⣨","⣩","⣪","⣫","⣬","⣭","⣮","⣯","⢰","⢱","⢲","⢳","⢴","⢵","⢶","⢷","⣰","⣱","⣲","⣳","⣴","⣵","⣶","⣷","⢸","⢹","⢺","⢻","⢼","⢽","⢾","⢿","⣸","⣹","⣺","⣻","⣼","⣽","⣾","⣿"]},"line":{"interval":130,"frames":["-","\\\\","|","/"]},"line2":{"interval":100,"frames":["⠂","-","–","—","–","-"]},"pipe":{"interval":100,"frames":["┤","┘","┴","└","├","┌","┬","┐"]},"simpleDots":{"interval":400,"frames":[". ",".. ","..."," "]},"simpleDotsScrolling":{"interval":200,"frames":[". ",".. ","..."," .."," ."," "]},"star":{"interval":70,"frames":["✶","✸","✹","✺","✹","✷"]},"star2":{"interval":80,"frames":["+","x","*"]},"flip":{"interval":70,"frames":["_","_","_","-","`","`","\'","´","-","_","_","_"]},"hamburger":{"interval":100,"frames":["☱","☲","☴"]},"growVertical":{"interval":120,"frames":["▁","▃","▄","▅","▆","▇","▆","▅","▄","▃"]},"growHorizontal":{"interval":120,"frames":["▏","▎","▍","▌","▋","▊","▉","▊","▋","▌","▍","▎"]},"balloon":{"interval":140,"frames":[" ",".","o","O","@","*"," "]},"balloon2":{"interval":120,"frames":[".","o","O","°","O","o","."]},"noise":{"interval":100,"frames":["▓","▒","░"]},"bounce":{"interval":120,"frames":["⠁","⠂","⠄","⠂"]},"boxBounce":{"interval":120,"frames":["▖","▘","▝","▗"]},"boxBounce2":{"interval":100,"frames":["▌","▀","▐","▄"]},"triangle":{"interval":50,"frames":["◢","◣","◤","◥"]},"arc":{"interval":100,"frames":["◜","◠","◝","◞","◡","◟"]},"circle":{"interval":120,"frames":["◡","⊙","◠"]},"squareCorners":{"interval":180,"frames":["◰","◳","◲","◱"]},"circleQuarters":{"interval":120,"frames":["◴","◷","◶","◵"]},"circleHalves":{"interval":50,"frames":["◐","◓","◑","◒"]},"squish":{"interval":100,"frames":["╫","╪"]},"toggle":{"interval":250,"frames":["⊶","⊷"]},"toggle2":{"interval":80,"frames":["▫","▪"]},"toggle3":{"interval":120,"frames":["□","■"]},"toggle4":{"interval":100,"frames":["■","□","▪","▫"]},"toggle5":{"interval":100,"frames":["▮","▯"]},"toggle6":{"interval":300,"frames":["ဝ","၀"]},"toggle7":{"interval":80,"frames":["⦾","⦿"]},"toggle8":{"interval":100,"frames":["◍","◌"]},"toggle9":{"interval":100,"frames":["◉","◎"]},"toggle10":{"interval":100,"frames":["㊂","㊀","㊁"]},"toggle11":{"interval":50,"frames":["⧇","⧆"]},"toggle12":{"interval":120,"frames":["☗","☖"]},"toggle13":{"interval":80,"frames":["=","*","-"]},"arrow":{"interval":100,"frames":["←","↖","↑","↗","→","↘","↓","↙"]},"arrow2":{"interval":80,"frames":["⬆️ ","↗️ ","➡️ ","↘️ ","⬇️ ","↙️ ","⬅️ ","↖️ "]},"arrow3":{"interval":120,"frames":["▹▹▹▹▹","▸▹▹▹▹","▹▸▹▹▹","▹▹▸▹▹","▹▹▹▸▹","▹▹▹▹▸"]},"bouncingBar":{"interval":80,"frames":["[ ]","[= ]","[== ]","[=== ]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},"bouncingBall":{"interval":80,"frames":["( ● )","( ● )","( ● )","( ● )","( ●)","( ● )","( ● )","( ● )","( ● )","(● )"]},"smiley":{"interval":200,"frames":["😄 ","😝 "]},"monkey":{"interval":300,"frames":["🙈 ","🙈 ","🙉 ","🙊 "]},"hearts":{"interval":100,"frames":["💛 ","💙 ","💜 ","💚 ","❤️ "]},"clock":{"interval":100,"frames":["🕛 ","🕐 ","🕑 ","🕒 ","🕓 ","🕔 ","🕕 ","🕖 ","🕗 ","🕘 ","🕙 ","🕚 "]},"earth":{"interval":180,"frames":["🌍 ","🌎 ","🌏 "]},"material":{"interval":17,"frames":["█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","███▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","████▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁","███████▁▁▁▁▁▁▁▁▁▁▁▁▁","████████▁▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","██████████▁▁▁▁▁▁▁▁▁▁","███████████▁▁▁▁▁▁▁▁▁","█████████████▁▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁▁██████████████▁▁▁▁","▁▁▁██████████████▁▁▁","▁▁▁▁█████████████▁▁▁","▁▁▁▁██████████████▁▁","▁▁▁▁██████████████▁▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁▁██████████████","▁▁▁▁▁▁██████████████","▁▁▁▁▁▁▁█████████████","▁▁▁▁▁▁▁█████████████","▁▁▁▁▁▁▁▁████████████","▁▁▁▁▁▁▁▁████████████","▁▁▁▁▁▁▁▁▁███████████","▁▁▁▁▁▁▁▁▁███████████","▁▁▁▁▁▁▁▁▁▁██████████","▁▁▁▁▁▁▁▁▁▁██████████","▁▁▁▁▁▁▁▁▁▁▁▁████████","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁██████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","███▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","████▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","██████▁▁▁▁▁▁▁▁▁▁▁▁▁█","████████▁▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","███████████▁▁▁▁▁▁▁▁▁","████████████▁▁▁▁▁▁▁▁","████████████▁▁▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁▁▁█████████████▁▁▁▁","▁▁▁▁▁████████████▁▁▁","▁▁▁▁▁████████████▁▁▁","▁▁▁▁▁▁███████████▁▁▁","▁▁▁▁▁▁▁▁█████████▁▁▁","▁▁▁▁▁▁▁▁█████████▁▁▁","▁▁▁▁▁▁▁▁▁█████████▁▁","▁▁▁▁▁▁▁▁▁█████████▁▁","▁▁▁▁▁▁▁▁▁▁█████████▁","▁▁▁▁▁▁▁▁▁▁▁████████▁","▁▁▁▁▁▁▁▁▁▁▁████████▁","▁▁▁▁▁▁▁▁▁▁▁▁███████▁","▁▁▁▁▁▁▁▁▁▁▁▁███████▁","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁"]},"moon":{"interval":80,"frames":["🌑 ","🌒 ","🌓 ","🌔 ","🌕 ","🌖 ","🌗 ","🌘 "]},"runner":{"interval":140,"frames":["🚶 ","🏃 "]},"pong":{"interval":80,"frames":["▐⠂ ▌","▐⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂▌","▐ ⠠▌","▐ ⡀▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐⠠ ▌"]},"shark":{"interval":120,"frames":["▐|\\\\____________▌","▐_|\\\\___________▌","▐__|\\\\__________▌","▐___|\\\\_________▌","▐____|\\\\________▌","▐_____|\\\\_______▌","▐______|\\\\______▌","▐_______|\\\\_____▌","▐________|\\\\____▌","▐_________|\\\\___▌","▐__________|\\\\__▌","▐___________|\\\\_▌","▐____________|\\\\▌","▐____________/|▌","▐___________/|_▌","▐__________/|__▌","▐_________/|___▌","▐________/|____▌","▐_______/|_____▌","▐______/|______▌","▐_____/|_______▌","▐____/|________▌","▐___/|_________▌","▐__/|__________▌","▐_/|___________▌","▐/|____________▌"]},"dqpb":{"interval":100,"frames":["d","q","p","b"]},"weather":{"interval":100,"frames":["☀️ ","☀️ ","☀️ ","🌤 ","⛅️ ","🌥 ","☁️ ","🌧 ","🌨 ","🌧 ","🌨 ","🌧 ","🌨 ","⛈ ","🌨 ","🌧 ","🌨 ","☁️ ","🌥 ","⛅️ ","🌤 ","☀️ ","☀️ "]},"christmas":{"interval":400,"frames":["🌲","🎄"]},"grenade":{"interval":80,"frames":["، ","′ "," ´ "," ‾ "," ⸌"," ⸊"," |"," ⁎"," ⁕"," ෴ "," ⁓"," "," "," "]},"point":{"interval":125,"frames":["∙∙∙","●∙∙","∙●∙","∙∙●","∙∙∙"]},"layer":{"interval":150,"frames":["-","=","≡"]},"betaWave":{"interval":80,"frames":["ρββββββ","βρβββββ","ββρββββ","βββρβββ","ββββρββ","βββββρβ","ββββββρ"]},"fingerDance":{"interval":160,"frames":["🤘 ","🤟 ","🖖 ","✋ ","🤚 ","👆 "]},"fistBump":{"interval":80,"frames":["🤜 🤛 ","🤜 🤛 ","🤜 🤛 "," 🤜 🤛 "," 🤜🤛 "," 🤜✨🤛 ","🤜 ✨ 🤛 "]},"soccerHeader":{"interval":80,"frames":[" 🧑⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 "]},"mindblown":{"interval":160,"frames":["😐 ","😐 ","😮 ","😮 ","😦 ","😦 ","😧 ","😧 ","🤯 ","💥 ","✨ "," "," "," "]},"speaker":{"interval":160,"frames":["🔈 ","🔉 ","🔊 ","🔉 "]},"orangePulse":{"interval":100,"frames":["🔸 ","🔶 ","🟠 ","🟠 ","🔶 "]},"bluePulse":{"interval":100,"frames":["🔹 ","🔷 ","🔵 ","🔵 ","🔷 "]},"orangeBluePulse":{"interval":100,"frames":["🔸 ","🔶 ","🟠 ","🟠 ","🔶 ","🔹 ","🔷 ","🔵 ","🔵 ","🔷 "]},"timeTravel":{"interval":100,"frames":["🕛 ","🕚 ","🕙 ","🕘 ","🕗 ","🕖 ","🕕 ","🕔 ","🕓 ","🕒 ","🕑 ","🕐 "]},"aesthetic":{"interval":80,"frames":["▰▱▱▱▱▱▱","▰▰▱▱▱▱▱","▰▰▰▱▱▱▱","▰▰▰▰▱▱▱","▰▰▰▰▰▱▱","▰▰▰▰▰▰▱","▰▰▰▰▰▰▰","▰▱▱▱▱▱▱"]}}')},4147:t=>{"use strict";t.exports=JSON.parse('{"name":"create-expo","version":"3.1.2","bin":"./build/index.js","main":"build","description":"Create universal Expo apps","license":"BSD-3-Clause","keywords":["expo","react-native","react"],"homepage":"https://docs.expo.dev","repository":{"type":"git","url":"https://github.com/expo/expo.git","directory":"packages/create-expo"},"author":"Evan Bacon <bacon@expo.io> (https://github.com/evanbacon)","files":["build","template"],"engines":{"node":">=18.13.0"},"scripts":{"build":"ncc build ./src/index.ts -o build/","build:prod":"ncc build ./src/index.ts -o build/ --minify --no-cache --no-source-map-register","prepare":"expo-module clean && yarn run build:prod","clean":"expo-module clean","lint":"expo-module lint","typecheck":"expo-module typecheck","test":"expo-module test","test:e2e":"expo-module test --config e2e/jest.config.js --runInBand","watch":"yarn run build --watch","prepublishOnly":"expo-module prepublishOnly"},"devDependencies":{"@expo/config":"~10.0.4","@expo/json-file":"^9.0.0","@expo/package-manager":"^1.5.0","@expo/spawn-async":"^1.7.2","@octokit/types":"^13.5.0","@types/debug":"^4.1.7","@types/getenv":"^1.0.0","@types/node":"^18.19.34","@types/picomatch":"^2.3.3","@types/prompts":"2.0.14","@types/tar":"^6.1.2","@vercel/ncc":"^0.38.1","arg":"^5.0.2","chalk":"^4.0.0","debug":"^4.3.4","expo-module-scripts":"^4.0.0","fast-glob":"^3.3.2","getenv":"^1.0.0","nock":"^14.0.0-beta.7","ora":"3.4.0","picomatch":"^2.3.1","prompts":"^2.4.2","tar":"^6.2.1","update-check":"^1.5.4"},"gitHead":"563c85837bc5055672846887f70f3daf5763b16d"}')}};var __webpack_module_cache__={};function __nccwpck_require__(t){var r=__webpack_module_cache__[t];if(r!==undefined){return r.exports}var i=__webpack_module_cache__[t]={id:t,loaded:false,exports:{}};var o=true;try{__webpack_modules__[t].call(i.exports,i,i.exports,__nccwpck_require__);o=false}finally{if(o)delete __webpack_module_cache__[t]}i.loaded=true;return i.exports}(()=>{__nccwpck_require__.nmd=t=>{t.paths=[];if(!t.children)t.children=[];return t}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var __webpack_exports__=__nccwpck_require__(2855);module.exports=__webpack_exports__})();
|
|
125
|
+
`+o,0)}r.printHelp=printHelp;async function resolveStringOrBooleanArgsAsync(t,r,i){const o={...r,...i};assertUnknownArgs(o,t);t=collapseAliases(o,t);return _resolveStringOrBooleanArgs(i,t)}r.resolveStringOrBooleanArgsAsync=resolveStringOrBooleanArgsAsync;function _resolveStringOrBooleanArgs(t,r){let i="";const o={};const a=Object.entries(t).filter((([,t])=>typeof t!=="string")).map((([t])=>t));for(let t=r.length-1;t>-1;t--){const u=r[t];if(u.startsWith("--")){o[u]=true}else{const l=t>0?r[t-1]:null;if(l&&a.includes(l)){o[l]=u;t--}else if(!i&&(t===r.length-1||t===0)){i=u}else{throw new Error(`Unknown argument: ${u}`)}}}return{args:o,projectRoot:i}}r._resolveStringOrBooleanArgs=_resolveStringOrBooleanArgs;function collapseAliases(t,r){const i=getAliasTuples(t);for(const[t,o]of i){r=(0,d.replaceValue)(r,t,o)}assertDuplicateArgs(r,i);return r}r.collapseAliases=collapseAliases;function assertUnknownArgs(t,r){const i=Object.keys(t);const o=r.filter((t=>!i.includes(t)&&t.startsWith("-")));if(o.length>0){throw new Error(`Unknown arguments: ${o.join(", ")}`)}}r.assertUnknownArgs=assertUnknownArgs;function getAliasTuples(t){return Object.entries(t).filter((([,t])=>typeof t==="string"))}function assertDuplicateArgs(t,r){for(const[i,o]of r){if(t.filter((t=>[i,o].includes(t))).length>1){throw new Error(`Can only provide one instance of ${i} or ${o}`)}}}r.assertDuplicateArgs=assertDuplicateArgs},6889:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.replaceValue=void 0;function replaceValue(t,r,i){const o=t.indexOf(r);if(o>-1){t[o]=i}return t}r.replaceValue=replaceValue},6462:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.getConflictsForDirectory=void 0;const o=i(7147);const a=[".DS_Store","Thumbs.db",".git",".gitattributes",".gitignore",".npmignore","LICENSE","docs",".idea","npm-debug.log","yarn-debug.log","yarn-error.log"];function getConflictsForDirectory(t){return(0,o.readdirSync)(t).filter((t=>!(/\.iml$/.test(t)||a.includes(t))))}r.getConflictsForDirectory=getConflictsForDirectory},7943:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.env=void 0;const o=i(7945);class Env{get EXPO_DEBUG(){return(0,o.boolish)("EXPO_DEBUG",false)}get EXPO_BETA(){return(0,o.boolish)("EXPO_BETA",false)}get CI(){return(0,o.boolish)("CI",false)}get EXPO_NO_CACHE(){return(0,o.boolish)("EXPO_NO_CACHE",false)}get EXPO_NO_TELEMETRY(){return(0,o.boolish)("EXPO_NO_TELEMETRY",false)}}r.env=new Env},9544:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.fetch=void 0;const o=i(7742);function wrapFetchWithAssert(t){return(...r)=>{if(!t){if(o.env.NODE_OPTIONS?.includes("--no-experimental-fetch")){throw new Error('NODE_OPTIONS="--no-experimental-fetch" is not supported, Node.js built-in fetch is required to continue.')}throw new Error("Node.js built-in Fetch is not available. Ensure that the Fetch API, first available in Node.js 18, is enabled.")}return t(...r)}}r.fetch=wrapFetchWithAssert(globalThis.fetch)},424:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.initGitRepoAsync=void 0;const a=o(i(5642));const u=o(i(8746));const l=i(7984)("expo:init:git");async function initGitRepoAsync(t){try{await(0,a.default)("git",["rev-parse","--is-inside-work-tree"],{stdio:"ignore",cwd:t});l(u.default.dim("New project is already inside of a Git repo, skipping git init."));return false}catch(t){if(t.errno==="ENOENT"){l(u.default.dim("Unable to initialize Git repo. `git` not in $PATH."));return false}}const r=i(9756);try{await(0,a.default)("git",["init"],{stdio:"ignore",cwd:t});await(0,a.default)("git",["add","-A"],{stdio:"ignore",cwd:t});const i=`Initial commit\n\nGenerated by ${r.name} ${r.version}.`;await(0,a.default)("git",["commit","-m",i],{stdio:"ignore",cwd:t});l(u.default.dim("Initialized a Git repository."));return true}catch(t){l("Error initializing Git repo:",t);return false}}r.initGitRepoAsync=initGitRepoAsync},292:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.downloadAndExtractGitHubRepositoryAsync=void 0;const o=i(2781);const a=i(9544);const u=i(7240);const l=i(6581);const h=i(7984)("expo:init:github");async function getGitHubRepoAsync(t){const[,r,i,o,u,...l]=t.pathname.split("/");const h=l.join("/");if(o===undefined){const o=await(0,a.fetch)(`https://api.github.com/repos/${r}/${i}`);if(!o.ok&&o.status===404){throw new Error(`GitHub repository not found for url: ${t}`)}else if(!o.ok){throw new Error(`[${o.status}] Failed to fetch GitHub repository information for url: ${t}`)}const u=await o.json();return{owner:r,name:i,branch:u["default_branch"],filePath:h}}if(r&&i&&u&&o==="tree"){return{owner:r,name:i,branch:u,filePath:h}}throw new Error("Malformed GitHub repository response for URL: "+t.toString())}async function isValidGitHubRepoAsync(t){const r=`https://api.github.com/repos/${t.owner}/${t.name}/contents`;const i=`${t.filePath?`/${t.filePath}`:""}/package.json`;const o=await(0,a.fetch)(r+i+`?ref=${t.branch}`);return o.ok}async function extractRemoteGitHubTarballAsync(t,r,i){const h=await(0,a.fetch)(t);if(!h.ok)throw new Error(`Unexpected response: ${h.statusText} (${t})`);if(!h.body)throw new Error(`Unexpected response: no response body (${t})`);const p=r.filePath.replace(/^\//,"").split("/").filter(Boolean);const d=p.length+1;const m=(0,l.createGlobFilter)(!p.length?["*/**","*/ios/.xcode.env"]:[`*/${p.join("/")}/**`,`*/${p.join("/")}/ios/.xcode.env`],{ignore:["**/ios/*.xcworkspace/**"]});await(0,u.extractNpmTarballAsync)(o.Readable.fromWeb(h.body),{...i,filter:m,strip:d})}async function downloadAndExtractGitHubRepositoryAsync(t,r){h("Looking for GitHub repository");const i=await getGitHubRepoAsync(t);const o=await isValidGitHubRepoAsync(i);if(!o){throw new Error(`Could not to locate repository for "${t}", ensure this repository exists`)}const a=`https://codeload.github.com/${i.owner}/${i.name}/tar.gz/${i.branch}`;h("Resolved GitHub repository",i);h("Downloading GitHub repository from:",a);await extractRemoteGitHubTarballAsync(a,i,r)}r.downloadAndExtractGitHubRepositoryAsync=downloadAndExtractGitHubRepositoryAsync},8429:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.withSectionLog=void 0;const a=o(i(2651));const u=i(7943);function withSectionLog(t,r){const i=u.env.CI||u.env.EXPO_DEBUG;const o=(0,a.default)({text:r.pending,isEnabled:!i,stream:i?process.stdout:process.stderr});o.start();return t(o).then((t=>{o.succeed(r.success);return t}),(t=>{o.fail(r.error(t));throw t}))}r.withSectionLog=withSectionLog},7240:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.downloadAndExtractNpmModuleAsync=r.extractNpmTarballAsync=r.extractLocalNpmTarballAsync=r.applyKnownNpmPackageNameRules=r.getResolvedTemplateName=r.splitNpmNameAndTag=r.applyBetaTag=void 0;const a=o(i(5642));const u=o(i(7147));const l=o(i(2037));const h=o(i(1017));const p=i(2781);const d=o(i(8089));const m=i(3837);const g=i(7943);const y=i(6581);const A=i(755);const b=i(3744);const v=i(7984)("expo:init:npm");const E=(0,m.promisify)(p.Stream.pipeline);function getTemporaryCacheFilePath(t="template-cache"){return h.default.join(l.default.tmpdir(),".create-expo-app",t)}function applyBetaTag(t){let[r,i]=splitNpmNameAndTag(t);if(!i&&g.env.EXPO_BETA){v("Using beta tag for",r);i="beta"}return joinNpmNameAndTag(r,i)}r.applyBetaTag=applyBetaTag;function joinNpmNameAndTag(t,r){return[t,r].filter(Boolean).join("@")}function splitNpmNameAndTag(t){const r=t.split("@").filter(Boolean);if(t.startsWith("@")){return["@"+r[0],r[1]]}return[r[0],r[1]]}r.splitNpmNameAndTag=splitNpmNameAndTag;function getResolvedTemplateName(t){let[r,i="latest"]=splitNpmNameAndTag(t);if(r.startsWith("@")){return joinNpmNameAndTag(r,i)}const o="expo-template-";if(A.ALIASES.includes(o+r)){r=o+r}if(A.ALIASES.includes(r)){if(i?.match(/^\d+$/)){return r+"@sdk-"+i}}return joinNpmNameAndTag(r,i)}r.getResolvedTemplateName=getResolvedTemplateName;function applyKnownNpmPackageNameRules(t){while(/^(\.|_)/.test(t)){t=t.substring(1)}t=t.toLowerCase().replace(/[^a-zA-Z0-9._\-/@]/g,"");return t.normalize("NFD").replace(/[\u0300-\u036f]/g,"")||null}r.applyKnownNpmPackageNameRules=applyKnownNpmPackageNameRules;async function extractLocalNpmTarballAsync(t,r){const i=u.default.createReadStream(t);await extractNpmTarballAsync(i,r)}r.extractLocalNpmTarballAsync=extractLocalNpmTarballAsync;async function extractNpmTarballAsync(t,r){if(!t){throw new Error("Missing stream")}const{cwd:i,strip:o,name:a,fileList:l=[],filter:h}=r;await u.default.promises.mkdir(i,{recursive:true});await E(t,d.default.extract({cwd:i,filter:h,onentry:(0,y.createEntryResolver)(a),strip:o??1},l))}r.extractNpmTarballAsync=extractNpmTarballAsync;async function npmPackAsync(t,r=undefined,...i){const o=getNpmBin();const l=["pack",t,...i];const h=`${o} ${l.join(" ")}`;v("Run:",h,`(cwd: ${r??process.cwd()})`);if(r){await u.default.promises.mkdir(r,{recursive:true})}let p;try{p=(await(0,a.default)(o,[...l,"--json"],{cwd:r})).stdout?.trim()}catch(t){if(t?.stderr.match(/npm ERR! code E404/)){const r=t.stderr.match(/npm ERR! 404\s+'(.*)' is not in this registry\./)?.[1]??t.stderr;throw new Error(`NPM package not found: `+r)}throw t}if(!p){return null}try{const t=JSON.parse(p);if(Array.isArray(t)&&t.every(isNpmPackageInfo)){return t.map(sanitizeNpmPackageFilename)}else{throw new Error(`Invalid response from npm: ${p}`)}}catch(t){throw new Error(`Could not parse JSON returned from "${h}".\n\n${p}\n\nError: ${t.message}`)}}function getNpmBin(){return process.platform==="win32"?"npm.cmd":"npm"}async function getNpmInfoAsync(t,r){const i=await npmPackAsync(t,r,"--dry-run");if(i?.[0]){return i[0]}throw new Error(`Could not find npm package "${t}"`)}function isNpmPackageInfo(t){return t&&typeof t==="object"&&"id"in t&&"filename"in t&&"version"in t&&"files"in t}function sanitizeNpmPackageFilename(t){if(t.filename.startsWith("@")&&t.name.startsWith("@")){t.filename=t.filename.replace(/^@/,"").replace(/\//,"-")}return t}async function fileExistsAsync(t){try{const r=await u.default.promises.stat(t);return r.isFile()}catch{return false}}async function downloadAndExtractNpmModuleAsync(t,r){const i=getTemporaryCacheFilePath();v(`Looking for NPM tarball (id: ${t}, cache: ${i})`);await u.default.promises.mkdir(i,{recursive:true});const o=await getNpmInfoAsync(t,i);const a=h.default.join(i,o.filename);try{const o=await fileExistsAsync(a);const u=g.env.EXPO_NO_CACHE||r.disableCache;if(u||!o){v(`Downloading tarball for ${t} to ${i}...`);await npmPackAsync(t,i)}}catch(r){b.Log.error("Error downloading template package: "+t);throw r}try{await extractLocalNpmTarballAsync(a,{cwd:r.cwd,name:r.name})}catch(r){b.Log.error("Error extracting template package: "+t);throw r}}r.downloadAndExtractNpmModuleAsync=downloadAndExtractNpmModuleAsync},5897:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});const a=o(i(8746));const u=o(i(5418));const l=i(9756);const h=i(7984)("expo:init:update-check");async function shouldUpdate(){try{const t=await(0,u.default)(l);if(t?.latest){console.log();console.log(a.default.yellow.bold(`A new version of \`${l.name}\` is available`));console.log((0,a.default)`You can update by running: {cyan npm install -g ${l.name}}`);console.log()}}catch(t){h("Error checking for update:\n%O",t)}}r["default"]=shouldUpdate},9756:module=>{module.exports=eval("require")("../package.json")},9491:t=>{"use strict";t.exports=require("assert")},4300:t=>{"use strict";t.exports=require("buffer")},2081:t=>{"use strict";t.exports=require("child_process")},2057:t=>{"use strict";t.exports=require("constants")},6113:t=>{"use strict";t.exports=require("crypto")},9523:t=>{"use strict";t.exports=require("dns")},2361:t=>{"use strict";t.exports=require("events")},7147:t=>{"use strict";t.exports=require("fs")},3685:t=>{"use strict";t.exports=require("http")},5687:t=>{"use strict";t.exports=require("https")},8188:t=>{"use strict";t.exports=require("module")},7561:t=>{"use strict";t.exports=require("node:fs")},9411:t=>{"use strict";t.exports=require("node:path")},7742:t=>{"use strict";t.exports=require("node:process")},7261:t=>{"use strict";t.exports=require("node:util")},2037:t=>{"use strict";t.exports=require("os")},1017:t=>{"use strict";t.exports=require("path")},7282:t=>{"use strict";t.exports=require("process")},4521:t=>{"use strict";t.exports=require("readline")},2781:t=>{"use strict";t.exports=require("stream")},1576:t=>{"use strict";t.exports=require("string_decoder")},6224:t=>{"use strict";t.exports=require("tty")},7310:t=>{"use strict";t.exports=require("url")},3837:t=>{"use strict";t.exports=require("util")},1267:t=>{"use strict";t.exports=require("worker_threads")},9796:t=>{"use strict";t.exports=require("zlib")},9539:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isIdentifierChar=isIdentifierChar;r.isIdentifierName=isIdentifierName;r.isIdentifierStart=isIdentifierStart;let i="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let o="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const a=new RegExp("["+i+"]");const u=new RegExp("["+i+o+"]");i=o=null;const l=[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,68,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,71,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,349,41,7,1,79,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,159,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,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,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,757,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,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191];const h=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,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,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,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,406,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,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,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,983,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(t,r){let i=65536;for(let o=0,a=r.length;o<a;o+=2){i+=r[o];if(i>t)return false;i+=r[o+1];if(i>=t)return true}return false}function isIdentifierStart(t){if(t<65)return t===36;if(t<=90)return true;if(t<97)return t===95;if(t<=122)return true;if(t<=65535){return t>=170&&a.test(String.fromCharCode(t))}return isInAstralSet(t,l)}function isIdentifierChar(t){if(t<48)return t===36;if(t<58)return true;if(t<65)return false;if(t<=90)return true;if(t<97)return t===95;if(t<=122)return true;if(t<=65535){return t>=170&&u.test(String.fromCharCode(t))}return isInAstralSet(t,l)||isInAstralSet(t,h)}function isIdentifierName(t){let r=true;for(let i=0;i<t.length;i++){let o=t.charCodeAt(i);if((o&64512)===55296&&i+1<t.length){const r=t.charCodeAt(++i);if((r&64512)===56320){o=65536+((o&1023)<<10)+(r&1023)}}if(r){r=false;if(!isIdentifierStart(o)){return false}}else if(!isIdentifierChar(o)){return false}}return!r}},4679:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"isIdentifierChar",{enumerable:true,get:function(){return o.isIdentifierChar}});Object.defineProperty(r,"isIdentifierName",{enumerable:true,get:function(){return o.isIdentifierName}});Object.defineProperty(r,"isIdentifierStart",{enumerable:true,get:function(){return o.isIdentifierStart}});Object.defineProperty(r,"isKeyword",{enumerable:true,get:function(){return a.isKeyword}});Object.defineProperty(r,"isReservedWord",{enumerable:true,get:function(){return a.isReservedWord}});Object.defineProperty(r,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return a.isStrictBindOnlyReservedWord}});Object.defineProperty(r,"isStrictBindReservedWord",{enumerable:true,get:function(){return a.isStrictBindReservedWord}});Object.defineProperty(r,"isStrictReservedWord",{enumerable:true,get:function(){return a.isStrictReservedWord}});var o=i(9539);var a=i(11)},11:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isKeyword=isKeyword;r.isReservedWord=isReservedWord;r.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;r.isStrictBindReservedWord=isStrictBindReservedWord;r.isStrictReservedWord=isStrictReservedWord;const i={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 o=new Set(i.keyword);const a=new Set(i.strict);const u=new Set(i.strictBind);function isReservedWord(t,r){return r&&t==="await"||t==="enum"}function isStrictReservedWord(t,r){return isReservedWord(t,r)||a.has(t)}function isStrictBindOnlyReservedWord(t){return u.has(t)}function isStrictBindReservedWord(t,r){return isStrictReservedWord(t,r)||isStrictBindOnlyReservedWord(t)}function isKeyword(t){return o.has(t)}},932:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=highlight;r.shouldHighlight=shouldHighlight;var o=i(8035);var a=i(4679);var u=_interopRequireWildcard(i(9397),true);function _getRequireWildcardCache(t){if("function"!=typeof WeakMap)return null;var r=new WeakMap,i=new WeakMap;return(_getRequireWildcardCache=function(t){return t?i:r})(t)}function _interopRequireWildcard(t,r){if(!r&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var i=_getRequireWildcardCache(r);if(i&&i.has(t))return i.get(t);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if("default"!==u&&{}.hasOwnProperty.call(t,u)){var l=a?Object.getOwnPropertyDescriptor(t,u):null;l&&(l.get||l.set)?Object.defineProperty(o,u,l):o[u]=t[u]}return o.default=t,i&&i.set(t,o),o}const l=typeof process==="object"&&(process.env.FORCE_COLOR==="0"||process.env.FORCE_COLOR==="false")?(0,u.createColors)(false):u.default;const compose=(t,r)=>i=>t(r(i));const h=new Set(["as","async","from","get","of","set"]);function getDefs(t){return{keyword:t.cyan,capitalized:t.yellow,jsxIdentifier:t.yellow,punctuator:t.yellow,number:t.magenta,string:t.green,regex:t.magenta,comment:t.gray,invalid:compose(compose(t.white,t.bgRed),t.bold)}}const p=/\r\n|[\n\r\u2028\u2029]/;const d=/^[()[\]{}]$/;let m;{const t=/^[a-z][\w-]*$/i;const getTokenType=function(r,i,o){if(r.type==="name"){if((0,a.isKeyword)(r.value)||(0,a.isStrictReservedWord)(r.value,true)||h.has(r.value)){return"keyword"}if(t.test(r.value)&&(o[i-1]==="<"||o.slice(i-2,i)==="</")){return"jsxIdentifier"}if(r.value[0]!==r.value[0].toLowerCase()){return"capitalized"}}if(r.type==="punctuator"&&d.test(r.value)){return"bracket"}if(r.type==="invalid"&&(r.value==="@"||r.value==="#")){return"punctuator"}return r.type};m=function*(t){let r;while(r=o.default.exec(t)){const i=o.matchToToken(r);yield{type:getTokenType(i,r.index,t),value:i.value}}}}function highlightTokens(t,r){let i="";for(const{type:o,value:a}of m(r)){const r=t[o];if(r){i+=a.split(p).map((t=>r(t))).join("\n")}else{i+=a}}return i}function shouldHighlight(t){return l.isColorSupported||t.forceColor}let g=undefined;function getColors(t){if(t){var r;(r=g)!=null?r:g=(0,u.createColors)(true);return g}return l}function highlight(t,r={}){if(t!==""&&shouldHighlight(r)){const i=getDefs(getColors(r.forceColor));return highlightTokens(i,t)}else{return t}}{let t,o;r.getChalk=({forceColor:r})=>{var a;(a=t)!=null?a:t=i(6870);if(r){var u;(u=o)!=null?u:o=new t.constructor({enabled:true,level:1});return o}return t}}},3576:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.LRUCache=void 0;const i=typeof performance==="object"&&performance&&typeof performance.now==="function"?performance:Date;const o=new Set;const a=typeof process==="object"&&!!process?process:{};const emitWarning=(t,r,i,o)=>{typeof a.emitWarning==="function"?a.emitWarning(t,r,i,o):console.error(`[${i}] ${r}: ${t}`)};let u=globalThis.AbortController;let l=globalThis.AbortSignal;if(typeof u==="undefined"){l=class AbortSignal{onabort;_onabort=[];reason;aborted=false;addEventListener(t,r){this._onabort.push(r)}};u=class AbortController{constructor(){warnACPolyfill()}signal=new l;abort(t){if(this.signal.aborted)return;this.signal.reason=t;this.signal.aborted=true;for(const r of this.signal._onabort){r(t)}this.signal.onabort?.(t)}};let t=a.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1";const warnACPolyfill=()=>{if(!t)return;t=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=t=>!o.has(t);const h=Symbol("type");const isPosInt=t=>t&&t===Math.floor(t)&&t>0&&isFinite(t);const getUintArray=t=>!isPosInt(t)?null:t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?ZeroArray:null;class ZeroArray extends Array{constructor(t){super(t);this.fill(0)}}class Stack{heap;length;static#s=false;static create(t){const r=getUintArray(t);if(!r)return[];Stack.#s=true;const i=new Stack(t,r);Stack.#s=false;return i}constructor(t,r){if(!Stack.#s){throw new TypeError("instantiate Stack using Stack.create(n)")}this.heap=new r(t);this.length=0}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}}class LRUCache{#n;#i;#o;#a;#u;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#l;#c;#h;#f;#p;#d;#m;#g;#y;#A;#b;#v;#E;#w;#_;#S;#C;static unsafeExposeInternals(t){return{starts:t.#E,ttls:t.#w,sizes:t.#v,keyMap:t.#h,keyList:t.#f,valList:t.#p,next:t.#d,prev:t.#m,get head(){return t.#g},get tail(){return t.#y},free:t.#A,isBackgroundFetch:r=>t.#D(r),backgroundFetch:(r,i,o,a)=>t.#x(r,i,o,a),moveToTail:r=>t.#R(r),indexes:r=>t.#O(r),rindexes:r=>t.#F(r),isStale:r=>t.#k(r)}}get max(){return this.#n}get maxSize(){return this.#i}get calculatedSize(){return this.#c}get size(){return this.#l}get fetchMethod(){return this.#u}get dispose(){return this.#o}get disposeAfter(){return this.#a}constructor(t){const{max:r=0,ttl:i,ttlResolution:a=1,ttlAutopurge:u,updateAgeOnGet:l,updateAgeOnHas:h,allowStale:p,dispose:d,disposeAfter:m,noDisposeOnSet:g,noUpdateTTL:y,maxSize:A=0,maxEntrySize:b=0,sizeCalculation:v,fetchMethod:E,noDeleteOnFetchRejection:w,noDeleteOnStaleGet:_,allowStaleOnFetchRejection:S,allowStaleOnFetchAbort:C,ignoreFetchAbort:D}=t;if(r!==0&&!isPosInt(r)){throw new TypeError("max option must be a nonnegative integer")}const x=r?getUintArray(r):Array;if(!x){throw new Error("invalid max value: "+r)}this.#n=r;this.#i=A;this.maxEntrySize=b||this.#i;this.sizeCalculation=v;if(this.sizeCalculation){if(!this.#i&&!this.maxEntrySize){throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize")}if(typeof this.sizeCalculation!=="function"){throw new TypeError("sizeCalculation set to non-function")}}if(E!==undefined&&typeof E!=="function"){throw new TypeError("fetchMethod must be a function if specified")}this.#u=E;this.#S=!!E;this.#h=new Map;this.#f=new Array(r).fill(undefined);this.#p=new Array(r).fill(undefined);this.#d=new x(r);this.#m=new x(r);this.#g=0;this.#y=0;this.#A=Stack.create(r);this.#l=0;this.#c=0;if(typeof d==="function"){this.#o=d}if(typeof m==="function"){this.#a=m;this.#b=[]}else{this.#a=undefined;this.#b=undefined}this.#_=!!this.#o;this.#C=!!this.#a;this.noDisposeOnSet=!!g;this.noUpdateTTL=!!y;this.noDeleteOnFetchRejection=!!w;this.allowStaleOnFetchRejection=!!S;this.allowStaleOnFetchAbort=!!C;this.ignoreFetchAbort=!!D;if(this.maxEntrySize!==0){if(this.#i!==0){if(!isPosInt(this.#i)){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.#P()}this.allowStale=!!p;this.noDeleteOnStaleGet=!!_;this.updateAgeOnGet=!!l;this.updateAgeOnHas=!!h;this.ttlResolution=isPosInt(a)||a===0?a:1;this.ttlAutopurge=!!u;this.ttl=i||0;if(this.ttl){if(!isPosInt(this.ttl)){throw new TypeError("ttl must be a positive integer if specified")}this.#T()}if(this.#n===0&&this.ttl===0&&this.#i===0){throw new TypeError("At least one of max, maxSize, or ttl is required")}if(!this.ttlAutopurge&&!this.#n&&!this.#i){const t="LRU_CACHE_UNBOUNDED";if(shouldWarn(t)){o.add(t);const r="TTL caching without ttlAutopurge, max, or maxSize can "+"result in unbounded memory consumption.";emitWarning(r,"UnboundedCacheWarning",t,LRUCache)}}}getRemainingTTL(t){return this.#h.has(t)?Infinity:0}#T(){const t=new ZeroArray(this.#n);const r=new ZeroArray(this.#n);this.#w=t;this.#E=r;this.#L=(o,a,u=i.now())=>{r[o]=a!==0?u:0;t[o]=a;if(a!==0&&this.ttlAutopurge){const t=setTimeout((()=>{if(this.#k(o)){this.delete(this.#f[o])}}),a+1);if(t.unref){t.unref()}}};this.#I=o=>{r[o]=t[o]!==0?i.now():0};this.#M=(i,a)=>{if(t[a]){const u=t[a];const l=r[a];if(!u||!l)return;i.ttl=u;i.start=l;i.now=o||getNow();const h=i.now-l;i.remainingTTL=u-h}};let o=0;const getNow=()=>{const t=i.now();if(this.ttlResolution>0){o=t;const r=setTimeout((()=>o=0),this.ttlResolution);if(r.unref){r.unref()}}return t};this.getRemainingTTL=i=>{const a=this.#h.get(i);if(a===undefined){return 0}const u=t[a];const l=r[a];if(!u||!l){return Infinity}const h=(o||getNow())-l;return u-h};this.#k=i=>{const a=r[i];const u=t[i];return!!u&&!!a&&(o||getNow())-a>u}}#I=()=>{};#M=()=>{};#L=()=>{};#k=()=>false;#P(){const t=new ZeroArray(this.#n);this.#c=0;this.#v=t;this.#B=r=>{this.#c-=t[r];t[r]=0};this.#N=(t,r,i,o)=>{if(this.#D(r)){return 0}if(!isPosInt(i)){if(o){if(typeof o!=="function"){throw new TypeError("sizeCalculation must be a function")}i=o(r,t);if(!isPosInt(i)){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 i};this.#$=(r,i,o)=>{t[r]=i;if(this.#i){const i=this.#i-t[r];while(this.#c>i){this.#j(true)}}this.#c+=t[r];if(o){o.entrySize=i;o.totalCalculatedSize=this.#c}}}#B=t=>{};#$=(t,r,i)=>{};#N=(t,r,i,o)=>{if(i||o){throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache")}return 0};*#O({allowStale:t=this.allowStale}={}){if(this.#l){for(let r=this.#y;true;){if(!this.#H(r)){break}if(t||!this.#k(r)){yield r}if(r===this.#g){break}else{r=this.#m[r]}}}}*#F({allowStale:t=this.allowStale}={}){if(this.#l){for(let r=this.#g;true;){if(!this.#H(r)){break}if(t||!this.#k(r)){yield r}if(r===this.#y){break}else{r=this.#d[r]}}}}#H(t){return t!==undefined&&this.#h.get(this.#f[t])===t}*entries(){for(const t of this.#O()){if(this.#p[t]!==undefined&&this.#f[t]!==undefined&&!this.#D(this.#p[t])){yield[this.#f[t],this.#p[t]]}}}*rentries(){for(const t of this.#F()){if(this.#p[t]!==undefined&&this.#f[t]!==undefined&&!this.#D(this.#p[t])){yield[this.#f[t],this.#p[t]]}}}*keys(){for(const t of this.#O()){const r=this.#f[t];if(r!==undefined&&!this.#D(this.#p[t])){yield r}}}*rkeys(){for(const t of this.#F()){const r=this.#f[t];if(r!==undefined&&!this.#D(this.#p[t])){yield r}}}*values(){for(const t of this.#O()){const r=this.#p[t];if(r!==undefined&&!this.#D(this.#p[t])){yield this.#p[t]}}}*rvalues(){for(const t of this.#F()){const r=this.#p[t];if(r!==undefined&&!this.#D(this.#p[t])){yield this.#p[t]}}}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(t,r={}){for(const i of this.#O()){const o=this.#p[i];const a=this.#D(o)?o.__staleWhileFetching:o;if(a===undefined)continue;if(t(a,this.#f[i],this)){return this.get(this.#f[i],r)}}}forEach(t,r=this){for(const i of this.#O()){const o=this.#p[i];const a=this.#D(o)?o.__staleWhileFetching:o;if(a===undefined)continue;t.call(r,a,this.#f[i],this)}}rforEach(t,r=this){for(const i of this.#F()){const o=this.#p[i];const a=this.#D(o)?o.__staleWhileFetching:o;if(a===undefined)continue;t.call(r,a,this.#f[i],this)}}purgeStale(){let t=false;for(const r of this.#F({allowStale:true})){if(this.#k(r)){this.delete(this.#f[r]);t=true}}return t}info(t){const r=this.#h.get(t);if(r===undefined)return undefined;const o=this.#p[r];const a=this.#D(o)?o.__staleWhileFetching:o;if(a===undefined)return undefined;const u={value:a};if(this.#w&&this.#E){const t=this.#w[r];const o=this.#E[r];if(t&&o){const r=t-(i.now()-o);u.ttl=r;u.start=Date.now()}}if(this.#v){u.size=this.#v[r]}return u}dump(){const t=[];for(const r of this.#O({allowStale:true})){const o=this.#f[r];const a=this.#p[r];const u=this.#D(a)?a.__staleWhileFetching:a;if(u===undefined||o===undefined)continue;const l={value:u};if(this.#w&&this.#E){l.ttl=this.#w[r];const t=i.now()-this.#E[r];l.start=Math.floor(Date.now()-t)}if(this.#v){l.size=this.#v[r]}t.unshift([o,l])}return t}load(t){this.clear();for(const[r,o]of t){if(o.start){const t=Date.now()-o.start;o.start=i.now()-t}this.set(r,o.value,o)}}set(t,r,i={}){if(r===undefined){this.delete(t);return this}const{ttl:o=this.ttl,start:a,noDisposeOnSet:u=this.noDisposeOnSet,sizeCalculation:l=this.sizeCalculation,status:h}=i;let{noUpdateTTL:p=this.noUpdateTTL}=i;const d=this.#N(t,r,i.size||0,l);if(this.maxEntrySize&&d>this.maxEntrySize){if(h){h.set="miss";h.maxEntrySizeExceeded=true}this.delete(t);return this}let m=this.#l===0?undefined:this.#h.get(t);if(m===undefined){m=this.#l===0?this.#y:this.#A.length!==0?this.#A.pop():this.#l===this.#n?this.#j(false):this.#l;this.#f[m]=t;this.#p[m]=r;this.#h.set(t,m);this.#d[this.#y]=m;this.#m[m]=this.#y;this.#y=m;this.#l++;this.#$(m,d,h);if(h)h.set="add";p=false}else{this.#R(m);const i=this.#p[m];if(r!==i){if(this.#S&&this.#D(i)){i.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:r}=i;if(r!==undefined&&!u){if(this.#_){this.#o?.(r,t,"set")}if(this.#C){this.#b?.push([r,t,"set"])}}}else if(!u){if(this.#_){this.#o?.(i,t,"set")}if(this.#C){this.#b?.push([i,t,"set"])}}this.#B(m);this.#$(m,d,h);this.#p[m]=r;if(h){h.set="replace";const t=i&&this.#D(i)?i.__staleWhileFetching:i;if(t!==undefined)h.oldValue=t}}else if(h){h.set="update"}}if(o!==0&&!this.#w){this.#T()}if(this.#w){if(!p){this.#L(m,o,a)}if(h)this.#M(h,m)}if(!u&&this.#C&&this.#b){const t=this.#b;let r;while(r=t?.shift()){this.#a?.(...r)}}return this}pop(){try{while(this.#l){const t=this.#p[this.#g];this.#j(true);if(this.#D(t)){if(t.__staleWhileFetching){return t.__staleWhileFetching}}else if(t!==undefined){return t}}}finally{if(this.#C&&this.#b){const t=this.#b;let r;while(r=t?.shift()){this.#a?.(...r)}}}}#j(t){const r=this.#g;const i=this.#f[r];const o=this.#p[r];if(this.#S&&this.#D(o)){o.__abortController.abort(new Error("evicted"))}else if(this.#_||this.#C){if(this.#_){this.#o?.(o,i,"evict")}if(this.#C){this.#b?.push([o,i,"evict"])}}this.#B(r);if(t){this.#f[r]=undefined;this.#p[r]=undefined;this.#A.push(r)}if(this.#l===1){this.#g=this.#y=0;this.#A.length=0}else{this.#g=this.#d[r]}this.#h.delete(i);this.#l--;return r}has(t,r={}){const{updateAgeOnHas:i=this.updateAgeOnHas,status:o}=r;const a=this.#h.get(t);if(a!==undefined){const t=this.#p[a];if(this.#D(t)&&t.__staleWhileFetching===undefined){return false}if(!this.#k(a)){if(i){this.#I(a)}if(o){o.has="hit";this.#M(o,a)}return true}else if(o){o.has="stale";this.#M(o,a)}}else if(o){o.has="miss"}return false}peek(t,r={}){const{allowStale:i=this.allowStale}=r;const o=this.#h.get(t);if(o===undefined||!i&&this.#k(o)){return}const a=this.#p[o];return this.#D(a)?a.__staleWhileFetching:a}#x(t,r,i,o){const a=r===undefined?undefined:this.#p[r];if(this.#D(a)){return a}const l=new u;const{signal:h}=i;h?.addEventListener("abort",(()=>l.abort(h.reason)),{signal:l.signal});const p={signal:l.signal,options:i,context:o};const cb=(o,a=false)=>{const{aborted:u}=l.signal;const h=i.ignoreFetchAbort&&o!==undefined;if(i.status){if(u&&!a){i.status.fetchAborted=true;i.status.fetchError=l.signal.reason;if(h)i.status.fetchAbortIgnored=true}else{i.status.fetchResolved=true}}if(u&&!h&&!a){return fetchFail(l.signal.reason)}const m=d;if(this.#p[r]===d){if(o===undefined){if(m.__staleWhileFetching){this.#p[r]=m.__staleWhileFetching}else{this.delete(t)}}else{if(i.status)i.status.fetchUpdated=true;this.set(t,o,p.options)}}return o};const eb=t=>{if(i.status){i.status.fetchRejected=true;i.status.fetchError=t}return fetchFail(t)};const fetchFail=o=>{const{aborted:a}=l.signal;const u=a&&i.allowStaleOnFetchAbort;const h=u||i.allowStaleOnFetchRejection;const p=h||i.noDeleteOnFetchRejection;const m=d;if(this.#p[r]===d){const i=!p||m.__staleWhileFetching===undefined;if(i){this.delete(t)}else if(!u){this.#p[r]=m.__staleWhileFetching}}if(h){if(i.status&&m.__staleWhileFetching!==undefined){i.status.returnedStale=true}return m.__staleWhileFetching}else if(m.__returned===m){throw o}};const pcall=(r,o)=>{const u=this.#u?.(t,a,p);if(u&&u instanceof Promise){u.then((t=>r(t===undefined?undefined:t)),o)}l.signal.addEventListener("abort",(()=>{if(!i.ignoreFetchAbort||i.allowStaleOnFetchAbort){r(undefined);if(i.allowStaleOnFetchAbort){r=t=>cb(t,true)}}}))};if(i.status)i.status.fetchDispatched=true;const d=new Promise(pcall).then(cb,eb);const m=Object.assign(d,{__abortController:l,__staleWhileFetching:a,__returned:undefined});if(r===undefined){this.set(t,m,{...p.options,status:undefined});r=this.#h.get(t)}else{this.#p[r]=m}return m}#D(t){if(!this.#S)return false;const r=t;return!!r&&r instanceof Promise&&r.hasOwnProperty("__staleWhileFetching")&&r.__abortController instanceof u}async fetch(t,r={}){const{allowStale:i=this.allowStale,updateAgeOnGet:o=this.updateAgeOnGet,noDeleteOnStaleGet:a=this.noDeleteOnStaleGet,ttl:u=this.ttl,noDisposeOnSet:l=this.noDisposeOnSet,size:h=0,sizeCalculation:p=this.sizeCalculation,noUpdateTTL:d=this.noUpdateTTL,noDeleteOnFetchRejection:m=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:g=this.allowStaleOnFetchRejection,ignoreFetchAbort:y=this.ignoreFetchAbort,allowStaleOnFetchAbort:A=this.allowStaleOnFetchAbort,context:b,forceRefresh:v=false,status:E,signal:w}=r;if(!this.#S){if(E)E.fetch="get";return this.get(t,{allowStale:i,updateAgeOnGet:o,noDeleteOnStaleGet:a,status:E})}const _={allowStale:i,updateAgeOnGet:o,noDeleteOnStaleGet:a,ttl:u,noDisposeOnSet:l,size:h,sizeCalculation:p,noUpdateTTL:d,noDeleteOnFetchRejection:m,allowStaleOnFetchRejection:g,allowStaleOnFetchAbort:A,ignoreFetchAbort:y,status:E,signal:w};let S=this.#h.get(t);if(S===undefined){if(E)E.fetch="miss";const r=this.#x(t,S,_,b);return r.__returned=r}else{const r=this.#p[S];if(this.#D(r)){const t=i&&r.__staleWhileFetching!==undefined;if(E){E.fetch="inflight";if(t)E.returnedStale=true}return t?r.__staleWhileFetching:r.__returned=r}const a=this.#k(S);if(!v&&!a){if(E)E.fetch="hit";this.#R(S);if(o){this.#I(S)}if(E)this.#M(E,S);return r}const u=this.#x(t,S,_,b);const l=u.__staleWhileFetching!==undefined;const h=l&&i;if(E){E.fetch=a?"stale":"refresh";if(h&&a)E.returnedStale=true}return h?u.__staleWhileFetching:u.__returned=u}}get(t,r={}){const{allowStale:i=this.allowStale,updateAgeOnGet:o=this.updateAgeOnGet,noDeleteOnStaleGet:a=this.noDeleteOnStaleGet,status:u}=r;const l=this.#h.get(t);if(l!==undefined){const r=this.#p[l];const h=this.#D(r);if(u)this.#M(u,l);if(this.#k(l)){if(u)u.get="stale";if(!h){if(!a){this.delete(t)}if(u&&i)u.returnedStale=true;return i?r:undefined}else{if(u&&i&&r.__staleWhileFetching!==undefined){u.returnedStale=true}return i?r.__staleWhileFetching:undefined}}else{if(u)u.get="hit";if(h){return r.__staleWhileFetching}this.#R(l);if(o){this.#I(l)}return r}}else if(u){u.get="miss"}}#G(t,r){this.#m[r]=t;this.#d[t]=r}#R(t){if(t!==this.#y){if(t===this.#g){this.#g=this.#d[t]}else{this.#G(this.#m[t],this.#d[t])}this.#G(this.#y,t);this.#y=t}}delete(t){let r=false;if(this.#l!==0){const i=this.#h.get(t);if(i!==undefined){r=true;if(this.#l===1){this.clear()}else{this.#B(i);const r=this.#p[i];if(this.#D(r)){r.__abortController.abort(new Error("deleted"))}else if(this.#_||this.#C){if(this.#_){this.#o?.(r,t,"delete")}if(this.#C){this.#b?.push([r,t,"delete"])}}this.#h.delete(t);this.#f[i]=undefined;this.#p[i]=undefined;if(i===this.#y){this.#y=this.#m[i]}else if(i===this.#g){this.#g=this.#d[i]}else{const t=this.#m[i];this.#d[t]=this.#d[i];const r=this.#d[i];this.#m[r]=this.#m[i]}this.#l--;this.#A.push(i)}}}if(this.#C&&this.#b?.length){const t=this.#b;let r;while(r=t?.shift()){this.#a?.(...r)}}return r}clear(){for(const t of this.#F({allowStale:true})){const r=this.#p[t];if(this.#D(r)){r.__abortController.abort(new Error("deleted"))}else{const i=this.#f[t];if(this.#_){this.#o?.(r,i,"delete")}if(this.#C){this.#b?.push([r,i,"delete"])}}}this.#h.clear();this.#p.fill(undefined);this.#f.fill(undefined);if(this.#w&&this.#E){this.#w.fill(0);this.#E.fill(0)}if(this.#v){this.#v.fill(0)}this.#g=0;this.#y=0;this.#A.length=0;this.#c=0;this.#l=0;if(this.#C&&this.#b){const t=this.#b;let r;while(r=t?.shift()){this.#a?.(...r)}}}}r.LRUCache=LRUCache},2548:t=>{"use strict";t.exports=JSON.parse('{"dots":{"interval":80,"frames":["⠋","⠙","⠹","⠸","⠼","⠴","⠦","⠧","⠇","⠏"]},"dots2":{"interval":80,"frames":["⣾","⣽","⣻","⢿","⡿","⣟","⣯","⣷"]},"dots3":{"interval":80,"frames":["⠋","⠙","⠚","⠞","⠖","⠦","⠴","⠲","⠳","⠓"]},"dots4":{"interval":80,"frames":["⠄","⠆","⠇","⠋","⠙","⠸","⠰","⠠","⠰","⠸","⠙","⠋","⠇","⠆"]},"dots5":{"interval":80,"frames":["⠋","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋"]},"dots6":{"interval":80,"frames":["⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠴","⠲","⠒","⠂","⠂","⠒","⠚","⠙","⠉","⠁"]},"dots7":{"interval":80,"frames":["⠈","⠉","⠋","⠓","⠒","⠐","⠐","⠒","⠖","⠦","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈"]},"dots8":{"interval":80,"frames":["⠁","⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈","⠈"]},"dots9":{"interval":80,"frames":["⢹","⢺","⢼","⣸","⣇","⡧","⡗","⡏"]},"dots10":{"interval":80,"frames":["⢄","⢂","⢁","⡁","⡈","⡐","⡠"]},"dots11":{"interval":100,"frames":["⠁","⠂","⠄","⡀","⢀","⠠","⠐","⠈"]},"dots12":{"interval":80,"frames":["⢀⠀","⡀⠀","⠄⠀","⢂⠀","⡂⠀","⠅⠀","⢃⠀","⡃⠀","⠍⠀","⢋⠀","⡋⠀","⠍⠁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⢈⠩","⡀⢙","⠄⡙","⢂⠩","⡂⢘","⠅⡘","⢃⠨","⡃⢐","⠍⡐","⢋⠠","⡋⢀","⠍⡁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⠈⠩","⠀⢙","⠀⡙","⠀⠩","⠀⢘","⠀⡘","⠀⠨","⠀⢐","⠀⡐","⠀⠠","⠀⢀","⠀⡀"]},"dots8Bit":{"interval":80,"frames":["⠀","⠁","⠂","⠃","⠄","⠅","⠆","⠇","⡀","⡁","⡂","⡃","⡄","⡅","⡆","⡇","⠈","⠉","⠊","⠋","⠌","⠍","⠎","⠏","⡈","⡉","⡊","⡋","⡌","⡍","⡎","⡏","⠐","⠑","⠒","⠓","⠔","⠕","⠖","⠗","⡐","⡑","⡒","⡓","⡔","⡕","⡖","⡗","⠘","⠙","⠚","⠛","⠜","⠝","⠞","⠟","⡘","⡙","⡚","⡛","⡜","⡝","⡞","⡟","⠠","⠡","⠢","⠣","⠤","⠥","⠦","⠧","⡠","⡡","⡢","⡣","⡤","⡥","⡦","⡧","⠨","⠩","⠪","⠫","⠬","⠭","⠮","⠯","⡨","⡩","⡪","⡫","⡬","⡭","⡮","⡯","⠰","⠱","⠲","⠳","⠴","⠵","⠶","⠷","⡰","⡱","⡲","⡳","⡴","⡵","⡶","⡷","⠸","⠹","⠺","⠻","⠼","⠽","⠾","⠿","⡸","⡹","⡺","⡻","⡼","⡽","⡾","⡿","⢀","⢁","⢂","⢃","⢄","⢅","⢆","⢇","⣀","⣁","⣂","⣃","⣄","⣅","⣆","⣇","⢈","⢉","⢊","⢋","⢌","⢍","⢎","⢏","⣈","⣉","⣊","⣋","⣌","⣍","⣎","⣏","⢐","⢑","⢒","⢓","⢔","⢕","⢖","⢗","⣐","⣑","⣒","⣓","⣔","⣕","⣖","⣗","⢘","⢙","⢚","⢛","⢜","⢝","⢞","⢟","⣘","⣙","⣚","⣛","⣜","⣝","⣞","⣟","⢠","⢡","⢢","⢣","⢤","⢥","⢦","⢧","⣠","⣡","⣢","⣣","⣤","⣥","⣦","⣧","⢨","⢩","⢪","⢫","⢬","⢭","⢮","⢯","⣨","⣩","⣪","⣫","⣬","⣭","⣮","⣯","⢰","⢱","⢲","⢳","⢴","⢵","⢶","⢷","⣰","⣱","⣲","⣳","⣴","⣵","⣶","⣷","⢸","⢹","⢺","⢻","⢼","⢽","⢾","⢿","⣸","⣹","⣺","⣻","⣼","⣽","⣾","⣿"]},"line":{"interval":130,"frames":["-","\\\\","|","/"]},"line2":{"interval":100,"frames":["⠂","-","–","—","–","-"]},"pipe":{"interval":100,"frames":["┤","┘","┴","└","├","┌","┬","┐"]},"simpleDots":{"interval":400,"frames":[". ",".. ","..."," "]},"simpleDotsScrolling":{"interval":200,"frames":[". ",".. ","..."," .."," ."," "]},"star":{"interval":70,"frames":["✶","✸","✹","✺","✹","✷"]},"star2":{"interval":80,"frames":["+","x","*"]},"flip":{"interval":70,"frames":["_","_","_","-","`","`","\'","´","-","_","_","_"]},"hamburger":{"interval":100,"frames":["☱","☲","☴"]},"growVertical":{"interval":120,"frames":["▁","▃","▄","▅","▆","▇","▆","▅","▄","▃"]},"growHorizontal":{"interval":120,"frames":["▏","▎","▍","▌","▋","▊","▉","▊","▋","▌","▍","▎"]},"balloon":{"interval":140,"frames":[" ",".","o","O","@","*"," "]},"balloon2":{"interval":120,"frames":[".","o","O","°","O","o","."]},"noise":{"interval":100,"frames":["▓","▒","░"]},"bounce":{"interval":120,"frames":["⠁","⠂","⠄","⠂"]},"boxBounce":{"interval":120,"frames":["▖","▘","▝","▗"]},"boxBounce2":{"interval":100,"frames":["▌","▀","▐","▄"]},"triangle":{"interval":50,"frames":["◢","◣","◤","◥"]},"arc":{"interval":100,"frames":["◜","◠","◝","◞","◡","◟"]},"circle":{"interval":120,"frames":["◡","⊙","◠"]},"squareCorners":{"interval":180,"frames":["◰","◳","◲","◱"]},"circleQuarters":{"interval":120,"frames":["◴","◷","◶","◵"]},"circleHalves":{"interval":50,"frames":["◐","◓","◑","◒"]},"squish":{"interval":100,"frames":["╫","╪"]},"toggle":{"interval":250,"frames":["⊶","⊷"]},"toggle2":{"interval":80,"frames":["▫","▪"]},"toggle3":{"interval":120,"frames":["□","■"]},"toggle4":{"interval":100,"frames":["■","□","▪","▫"]},"toggle5":{"interval":100,"frames":["▮","▯"]},"toggle6":{"interval":300,"frames":["ဝ","၀"]},"toggle7":{"interval":80,"frames":["⦾","⦿"]},"toggle8":{"interval":100,"frames":["◍","◌"]},"toggle9":{"interval":100,"frames":["◉","◎"]},"toggle10":{"interval":100,"frames":["㊂","㊀","㊁"]},"toggle11":{"interval":50,"frames":["⧇","⧆"]},"toggle12":{"interval":120,"frames":["☗","☖"]},"toggle13":{"interval":80,"frames":["=","*","-"]},"arrow":{"interval":100,"frames":["←","↖","↑","↗","→","↘","↓","↙"]},"arrow2":{"interval":80,"frames":["⬆️ ","↗️ ","➡️ ","↘️ ","⬇️ ","↙️ ","⬅️ ","↖️ "]},"arrow3":{"interval":120,"frames":["▹▹▹▹▹","▸▹▹▹▹","▹▸▹▹▹","▹▹▸▹▹","▹▹▹▸▹","▹▹▹▹▸"]},"bouncingBar":{"interval":80,"frames":["[ ]","[= ]","[== ]","[=== ]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},"bouncingBall":{"interval":80,"frames":["( ● )","( ● )","( ● )","( ● )","( ●)","( ● )","( ● )","( ● )","( ● )","(● )"]},"smiley":{"interval":200,"frames":["😄 ","😝 "]},"monkey":{"interval":300,"frames":["🙈 ","🙈 ","🙉 ","🙊 "]},"hearts":{"interval":100,"frames":["💛 ","💙 ","💜 ","💚 ","❤️ "]},"clock":{"interval":100,"frames":["🕛 ","🕐 ","🕑 ","🕒 ","🕓 ","🕔 ","🕕 ","🕖 ","🕗 ","🕘 ","🕙 ","🕚 "]},"earth":{"interval":180,"frames":["🌍 ","🌎 ","🌏 "]},"material":{"interval":17,"frames":["█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","███▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","████▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁","███████▁▁▁▁▁▁▁▁▁▁▁▁▁","████████▁▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","██████████▁▁▁▁▁▁▁▁▁▁","███████████▁▁▁▁▁▁▁▁▁","█████████████▁▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁▁██████████████▁▁▁▁","▁▁▁██████████████▁▁▁","▁▁▁▁█████████████▁▁▁","▁▁▁▁██████████████▁▁","▁▁▁▁██████████████▁▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁▁██████████████","▁▁▁▁▁▁██████████████","▁▁▁▁▁▁▁█████████████","▁▁▁▁▁▁▁█████████████","▁▁▁▁▁▁▁▁████████████","▁▁▁▁▁▁▁▁████████████","▁▁▁▁▁▁▁▁▁███████████","▁▁▁▁▁▁▁▁▁███████████","▁▁▁▁▁▁▁▁▁▁██████████","▁▁▁▁▁▁▁▁▁▁██████████","▁▁▁▁▁▁▁▁▁▁▁▁████████","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁██████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","███▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","████▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","██████▁▁▁▁▁▁▁▁▁▁▁▁▁█","████████▁▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","███████████▁▁▁▁▁▁▁▁▁","████████████▁▁▁▁▁▁▁▁","████████████▁▁▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁▁▁█████████████▁▁▁▁","▁▁▁▁▁████████████▁▁▁","▁▁▁▁▁████████████▁▁▁","▁▁▁▁▁▁███████████▁▁▁","▁▁▁▁▁▁▁▁█████████▁▁▁","▁▁▁▁▁▁▁▁█████████▁▁▁","▁▁▁▁▁▁▁▁▁█████████▁▁","▁▁▁▁▁▁▁▁▁█████████▁▁","▁▁▁▁▁▁▁▁▁▁█████████▁","▁▁▁▁▁▁▁▁▁▁▁████████▁","▁▁▁▁▁▁▁▁▁▁▁████████▁","▁▁▁▁▁▁▁▁▁▁▁▁███████▁","▁▁▁▁▁▁▁▁▁▁▁▁███████▁","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁"]},"moon":{"interval":80,"frames":["🌑 ","🌒 ","🌓 ","🌔 ","🌕 ","🌖 ","🌗 ","🌘 "]},"runner":{"interval":140,"frames":["🚶 ","🏃 "]},"pong":{"interval":80,"frames":["▐⠂ ▌","▐⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂▌","▐ ⠠▌","▐ ⡀▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐⠠ ▌"]},"shark":{"interval":120,"frames":["▐|\\\\____________▌","▐_|\\\\___________▌","▐__|\\\\__________▌","▐___|\\\\_________▌","▐____|\\\\________▌","▐_____|\\\\_______▌","▐______|\\\\______▌","▐_______|\\\\_____▌","▐________|\\\\____▌","▐_________|\\\\___▌","▐__________|\\\\__▌","▐___________|\\\\_▌","▐____________|\\\\▌","▐____________/|▌","▐___________/|_▌","▐__________/|__▌","▐_________/|___▌","▐________/|____▌","▐_______/|_____▌","▐______/|______▌","▐_____/|_______▌","▐____/|________▌","▐___/|_________▌","▐__/|__________▌","▐_/|___________▌","▐/|____________▌"]},"dqpb":{"interval":100,"frames":["d","q","p","b"]},"weather":{"interval":100,"frames":["☀️ ","☀️ ","☀️ ","🌤 ","⛅️ ","🌥 ","☁️ ","🌧 ","🌨 ","🌧 ","🌨 ","🌧 ","🌨 ","⛈ ","🌨 ","🌧 ","🌨 ","☁️ ","🌥 ","⛅️ ","🌤 ","☀️ ","☀️ "]},"christmas":{"interval":400,"frames":["🌲","🎄"]},"grenade":{"interval":80,"frames":["، ","′ "," ´ "," ‾ "," ⸌"," ⸊"," |"," ⁎"," ⁕"," ෴ "," ⁓"," "," "," "]},"point":{"interval":125,"frames":["∙∙∙","●∙∙","∙●∙","∙∙●","∙∙∙"]},"layer":{"interval":150,"frames":["-","=","≡"]},"betaWave":{"interval":80,"frames":["ρββββββ","βρβββββ","ββρββββ","βββρβββ","ββββρββ","βββββρβ","ββββββρ"]},"fingerDance":{"interval":160,"frames":["🤘 ","🤟 ","🖖 ","✋ ","🤚 ","👆 "]},"fistBump":{"interval":80,"frames":["🤜 🤛 ","🤜 🤛 ","🤜 🤛 "," 🤜 🤛 "," 🤜🤛 "," 🤜✨🤛 ","🤜 ✨ 🤛 "]},"soccerHeader":{"interval":80,"frames":[" 🧑⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 "]},"mindblown":{"interval":160,"frames":["😐 ","😐 ","😮 ","😮 ","😦 ","😦 ","😧 ","😧 ","🤯 ","💥 ","✨ "," "," "," "]},"speaker":{"interval":160,"frames":["🔈 ","🔉 ","🔊 ","🔉 "]},"orangePulse":{"interval":100,"frames":["🔸 ","🔶 ","🟠 ","🟠 ","🔶 "]},"bluePulse":{"interval":100,"frames":["🔹 ","🔷 ","🔵 ","🔵 ","🔷 "]},"orangeBluePulse":{"interval":100,"frames":["🔸 ","🔶 ","🟠 ","🟠 ","🔶 ","🔹 ","🔷 ","🔵 ","🔵 ","🔷 "]},"timeTravel":{"interval":100,"frames":["🕛 ","🕚 ","🕙 ","🕘 ","🕗 ","🕖 ","🕕 ","🕔 ","🕓 ","🕒 ","🕑 ","🕐 "]},"aesthetic":{"interval":80,"frames":["▰▱▱▱▱▱▱","▰▰▱▱▱▱▱","▰▰▰▱▱▱▱","▰▰▰▰▱▱▱","▰▰▰▰▰▱▱","▰▰▰▰▰▰▱","▰▰▰▰▰▰▰","▰▱▱▱▱▱▱"]}}')},4147:t=>{"use strict";t.exports=JSON.parse('{"name":"create-expo","version":"3.1.4","bin":"./build/index.js","main":"build","description":"Create universal Expo apps","license":"BSD-3-Clause","keywords":["expo","react-native","react"],"homepage":"https://docs.expo.dev","repository":{"type":"git","url":"https://github.com/expo/expo.git","directory":"packages/create-expo"},"author":"Evan Bacon <bacon@expo.io> (https://github.com/evanbacon)","files":["build","template"],"engines":{"node":">=18.13.0"},"scripts":{"build":"ncc build ./src/index.ts -o build/","build:prod":"ncc build ./src/index.ts -o build/ --minify --no-cache --no-source-map-register","prepare":"expo-module clean && yarn run build:prod","clean":"expo-module clean","lint":"expo-module lint","typecheck":"expo-module typecheck","test":"expo-module test","test:e2e":"expo-module test --config e2e/jest.config.js --runInBand","watch":"yarn run build --watch","prepublishOnly":"expo-module prepublishOnly"},"devDependencies":{"@expo/config":"~10.0.7","@expo/json-file":"^9.0.0","@expo/package-manager":"^1.7.0","@expo/spawn-async":"^1.7.2","@octokit/types":"^13.5.0","@types/debug":"^4.1.7","@types/getenv":"^1.0.0","@types/node":"^18.19.34","@types/picomatch":"^2.3.3","@types/prompts":"2.0.14","@types/tar":"^6.1.2","@vercel/ncc":"^0.38.1","arg":"^5.0.2","chalk":"^4.0.0","debug":"^4.3.4","expo-module-scripts":"^4.0.0","fast-glob":"^3.3.2","getenv":"^1.0.0","nock":"^14.0.0-beta.7","ora":"3.4.0","picomatch":"^2.3.1","prompts":"^2.4.2","tar":"^6.2.1","update-check":"^1.5.4"},"gitHead":"1955c7d38e69c0eb62df89d516a392ea64db6405"}')}};var __webpack_module_cache__={};function __nccwpck_require__(t){var r=__webpack_module_cache__[t];if(r!==undefined){return r.exports}var i=__webpack_module_cache__[t]={id:t,loaded:false,exports:{}};var o=true;try{__webpack_modules__[t].call(i.exports,i,i.exports,__nccwpck_require__);o=false}finally{if(o)delete __webpack_module_cache__[t]}i.loaded=true;return i.exports}(()=>{__nccwpck_require__.nmd=t=>{t.paths=[];if(!t.children)t.children=[];return t}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var __webpack_exports__=__nccwpck_require__(2855);module.exports=__webpack_exports__})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-expo",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.4",
|
|
4
4
|
"bin": "./build/index.js",
|
|
5
5
|
"main": "build",
|
|
6
6
|
"description": "Create universal Expo apps",
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
"prepublishOnly": "expo-module prepublishOnly"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@expo/config": "~10.0.
|
|
40
|
+
"@expo/config": "~10.0.7",
|
|
41
41
|
"@expo/json-file": "^9.0.0",
|
|
42
|
-
"@expo/package-manager": "^1.
|
|
42
|
+
"@expo/package-manager": "^1.7.0",
|
|
43
43
|
"@expo/spawn-async": "^1.7.2",
|
|
44
44
|
"@octokit/types": "^13.5.0",
|
|
45
45
|
"@types/debug": "^4.1.7",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"tar": "^6.2.1",
|
|
63
63
|
"update-check": "^1.5.4"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "1955c7d38e69c0eb62df89d516a392ea64db6405"
|
|
66
66
|
}
|