create-expo 3.1.3 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/build/index.js +2 -2
  2. package/package.json +2 -3
package/build/index.js CHANGED
@@ -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 w=i(7984)("expo:init:template");const E=(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){w(`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){w(`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 E(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 w=i(1805);const E=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("&","&amp;");const i=r.replace("<","&lt;");const o=i.replace(">","&gt;");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,w.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,w.formatRunCommand)(r,"ios"))}${i}`);console.log(`- ${d.default.bold((0,w.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:!E.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=E.env.CI||E.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_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 w=i(7984)("expo:init:template");const E=(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){w(`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){w(`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 E(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 w=i(1805);const E=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(t.includes("/")&&!(t.startsWith("@")||t.startsWith(".")||t.startsWith(A.default.sep)||/^[a-z][-a-z0-9\\.\\+]*:/.test(t))){t=`https://github.com/${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("&","&amp;");const i=r.replace("<","&lt;");const o=i.replace(">","&gt;");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,w.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,w.formatRunCommand)(r,"ios"))}${i}`);console.log(`- ${d.default.bold((0,w.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:!E.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=E.env.CI||E.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 w=(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 w(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;#w;#E;#_;#S;#C;static unsafeExposeInternals(t){return{starts:t.#w,ttls:t.#E,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:w,noDeleteOnFetchRejection:E,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(w!==undefined&&typeof w!=="function"){throw new TypeError("fetchMethod must be a function if specified")}this.#u=w;this.#S=!!w;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=!!E;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.#E=t;this.#w=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.#E&&this.#w){const t=this.#E[r];const o=this.#w[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.#E&&this.#w){l.ttl=this.#E[r];const t=i.now()-this.#w[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.#E){this.#T()}if(this.#E){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:w,signal:E}=r;if(!this.#S){if(w)w.fetch="get";return this.get(t,{allowStale:i,updateAgeOnGet:o,noDeleteOnStaleGet:a,status:w})}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:w,signal:E};let S=this.#h.get(t);if(S===undefined){if(w)w.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(w){w.fetch="inflight";if(t)w.returnedStale=true}return t?r.__staleWhileFetching:r.__returned=r}const a=this.#k(S);if(!v&&!a){if(w)w.fetch="hit";this.#R(S);if(o){this.#I(S)}if(w)this.#M(w,S);return r}const u=this.#x(t,S,_,b);const l=u.__staleWhileFetching!==undefined;const h=l&&i;if(w){w.fetch=a?"stale":"refresh";if(h&&a)w.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.#E&&this.#w){this.#E.fill(0);this.#w.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.3","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":"728158f99d680cf64fb06f08301d3806c18c6f63"}')}};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 w=(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 w(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;#w;#E;#_;#S;#C;static unsafeExposeInternals(t){return{starts:t.#w,ttls:t.#E,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:w,noDeleteOnFetchRejection:E,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(w!==undefined&&typeof w!=="function"){throw new TypeError("fetchMethod must be a function if specified")}this.#u=w;this.#S=!!w;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=!!E;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.#E=t;this.#w=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.#E&&this.#w){const t=this.#E[r];const o=this.#w[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.#E&&this.#w){l.ttl=this.#E[r];const t=i.now()-this.#w[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.#E){this.#T()}if(this.#E){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:w,signal:E}=r;if(!this.#S){if(w)w.fetch="get";return this.get(t,{allowStale:i,updateAgeOnGet:o,noDeleteOnStaleGet:a,status:w})}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:w,signal:E};let S=this.#h.get(t);if(S===undefined){if(w)w.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(w){w.fetch="inflight";if(t)w.returnedStale=true}return t?r.__staleWhileFetching:r.__returned=r}const a=this.#k(S);if(!v&&!a){if(w)w.fetch="hit";this.#R(S);if(o){this.#I(S)}if(w)this.#M(w,S);return r}const u=this.#x(t,S,_,b);const l=u.__staleWhileFetching!==undefined;const h=l&&i;if(w){w.fetch=a?"stale":"refresh";if(h&&a)w.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.#E&&this.#w){this.#E.fill(0);this.#w.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.2.0","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"}}')}};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",
3
+ "version": "3.2.0",
4
4
  "bin": "./build/index.js",
5
5
  "main": "build",
6
6
  "description": "Create universal Expo apps",
@@ -61,6 +61,5 @@
61
61
  "prompts": "^2.4.2",
62
62
  "tar": "^6.2.1",
63
63
  "update-check": "^1.5.4"
64
- },
65
- "gitHead": "728158f99d680cf64fb06f08301d3806c18c6f63"
64
+ }
66
65
  }