create-eas-build-function 1.0.182 → 1.0.186

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 +3 -3
package/build/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- (()=>{var __webpack_modules__={7548:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.codeFrameColumns=codeFrameColumns;r["default"]=_default;var o=_interopRequireWildcard(i(2421));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 v=d-h;const A={};if(v){for(let t=0;t<=v;t++){const i=t+h;if(!p){A[i]=true}else if(t===0){const t=r[i-1].length;A[i]=[p,t-p+1]}else if(t===v){A[i]=[0,m]}else{const o=r[i-t].length;A[i]=[0,o]}}}else{if(p===m){if(p){A[h]=[p,0]}else{A[h]=true}}else{A[h]=[p,m-p]}}return{start:g,end:y,markerLines:A}}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 v=String(m).length;const A=a?(0,o.default)(t,i):t;let b=A.split(u).slice(d,m).map(((t,r)=>{const o=d+1+r;const a=` ${o}`.slice(-v);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){b=`${" ".repeat(v+1)}${i.message}\n${b}`}if(a){return l.reset(b)}else{return b}}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)}},2421:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.shouldHighlight=shouldHighlight;r.getChalk=getChalk;r["default"]=highlight;var o=i(1697);const a=i(8035);const u=i(6870);const l=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.grey,invalid:t.white.bgRed.bold}}const h=/\r\n|[\n\r\u2028\u2029]/;const p=/^[()[\]{}]$/;let d;{const t=/^[a-z][\w-]*$/i;const getTokenType=function(r,i,a){if(r.type==="name"){if((0,o.isKeyword)(r.value)||(0,o.isStrictReservedWord)(r.value,true)||l.has(r.value)){return"keyword"}if(t.test(r.value)&&(a[i-1]==="<"||a.substr(i-2,2)=="</")){return"jsxIdentifier"}if(r.value[0]!==r.value[0].toLowerCase()){return"capitalized"}}if(r.type==="punctuator"&&p.test(r.value)){return"bracket"}if(r.type==="invalid"&&(r.value==="@"||r.value==="#")){return"punctuator"}return r.type};d=function*(t){let r;while(r=a.default.exec(t)){const i=a.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 d(r)){const r=t[o];if(r){i+=a.split(h).map((t=>r(t))).join("\n")}else{i+=a}}return i}function shouldHighlight(t){return!!u.supportsColor||t.forceColor}function getChalk(t){return t.forceColor?new u.constructor({enabled:true,level:1}):u}function highlight(t,r={}){if(shouldHighlight(r)){const i=getChalk(r);const o=getDefs(i);return highlightTokens(o,t)}else{return t}}},3282:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isIdentifierStart=isIdentifierStart;r.isIdentifierChar=isIdentifierChar;r.isIdentifierName=isIdentifierName;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,157,310,10,21,11,7,153,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,107,20,28,22,13,52,76,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,85,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,230,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,35,56,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,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,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,8952,286,50,2,18,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,2357,44,11,6,17,0,370,43,1301,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,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];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,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,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,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,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,262,6,10,9,419,13,1495,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,o=Array.from(t);i<o.length;i++){const t=o[i];const a=t.codePointAt(0);if(r){if(!isIdentifierStart(a)){return false}r=false}else if(!isIdentifierChar(a)){return false}}return!r}},1697:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"isIdentifierName",{enumerable:true,get:function(){return o.isIdentifierName}});Object.defineProperty(r,"isIdentifierChar",{enumerable:true,get:function(){return o.isIdentifierChar}});Object.defineProperty(r,"isIdentifierStart",{enumerable:true,get:function(){return o.isIdentifierStart}});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}});Object.defineProperty(r,"isKeyword",{enumerable:true,get:function(){return a.isKeyword}});var o=i(3282);var a=i(8996)},8996:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isReservedWord=isReservedWord;r.isStrictReservedWord=isStrictReservedWord;r.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;r.isStrictBindReservedWord=isStrictBindReservedWord;r.isKeyword=isKeyword;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)}},4971:(t,r,i)=>{"use strict";t=i.nmd(t);const o=i(3595);const wrapAnsi16=(t,r)=>function(){const i=t.apply(o,arguments);return`[${i+r}m`};const wrapAnsi256=(t,r)=>function(){const i=t.apply(o,arguments);return`[${38+r};5;${i}m`};const wrapAnsi16m=(t,r)=>function(){const i=t.apply(o,arguments);return`[${38+r};2;${i[0]};${i[1]};${i[2]}m`};function assembleStyles(){const t=new Map;const r={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};r.color.grey=r.color.gray;for(const i of Object.keys(r)){const o=r[i];for(const i of Object.keys(o)){const a=o[i];r[i]={open:`[${a[0]}m`,close:`[${a[1]}m`};o[i]=r[i];t.set(a[0],a[1])}Object.defineProperty(r,i,{value:o,enumerable:false});Object.defineProperty(r,"codes",{value:t,enumerable:false})}const ansi2ansi=t=>t;const rgb2rgb=(t,r,i)=>[t,r,i];r.color.close="";r.bgColor.close="";r.color.ansi={ansi:wrapAnsi16(ansi2ansi,0)};r.color.ansi256={ansi256:wrapAnsi256(ansi2ansi,0)};r.color.ansi16m={rgb:wrapAnsi16m(rgb2rgb,0)};r.bgColor.ansi={ansi:wrapAnsi16(ansi2ansi,10)};r.bgColor.ansi256={ansi256:wrapAnsi256(ansi2ansi,10)};r.bgColor.ansi16m={rgb:wrapAnsi16m(rgb2rgb,10)};for(let t of Object.keys(o)){if(typeof o[t]!=="object"){continue}const i=o[t];if(t==="ansi16"){t="ansi"}if("ansi16"in i){r.color.ansi[t]=wrapAnsi16(i.ansi16,0);r.bgColor.ansi[t]=wrapAnsi16(i.ansi16,10)}if("ansi256"in i){r.color.ansi256[t]=wrapAnsi256(i.ansi256,0);r.bgColor.ansi256[t]=wrapAnsi256(i.ansi256,10)}if("rgb"in i){r.color.ansi16m[t]=wrapAnsi16m(i.rgb,0);r.bgColor.ansi16m[t]=wrapAnsi16m(i.rgb,10)}}return r}Object.defineProperty(t,"exports",{enumerable:true,get:assembleStyles})},6870:(t,r,i)=>{"use strict";const o=i(6003);const a=i(4971);const u=i(1851).stdout;const l=i(6094);const h=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm");const p=["ansi","ansi","ansi256","ansi16m"];const d=new Set(["gray"]);const m=Object.create(null);function applyOptions(t,r){r=r||{};const i=u?u.level:0;t.level=r.level===undefined?i:r.level;t.enabled="enabled"in r?r.enabled:t.level>0}function Chalk(t){if(!this||!(this instanceof Chalk)||this.template){const r={};applyOptions(r,t);r.template=function(){const t=[].slice.call(arguments);return chalkTag.apply(null,[r.template].concat(t))};Object.setPrototypeOf(r,Chalk.prototype);Object.setPrototypeOf(r.template,r);r.template.constructor=Chalk;return r.template}applyOptions(this,t)}if(h){a.blue.open=""}for(const t of Object.keys(a)){a[t].closeRe=new RegExp(o(a[t].close),"g");m[t]={get(){const r=a[t];return build.call(this,this._styles?this._styles.concat(r):[r],this._empty,t)}}}m.visible={get(){return build.call(this,this._styles||[],true,"visible")}};a.color.closeRe=new RegExp(o(a.color.close),"g");for(const t of Object.keys(a.color.ansi)){if(d.has(t)){continue}m[t]={get(){const r=this.level;return function(){const i=a.color[p[r]][t].apply(null,arguments);const o={open:i,close:a.color.close,closeRe:a.color.closeRe};return build.call(this,this._styles?this._styles.concat(o):[o],this._empty,t)}}}}a.bgColor.closeRe=new RegExp(o(a.bgColor.close),"g");for(const t of Object.keys(a.bgColor.ansi)){if(d.has(t)){continue}const r="bg"+t[0].toUpperCase()+t.slice(1);m[r]={get(){const r=this.level;return function(){const i=a.bgColor[p[r]][t].apply(null,arguments);const o={open:i,close:a.bgColor.close,closeRe:a.bgColor.closeRe};return build.call(this,this._styles?this._styles.concat(o):[o],this._empty,t)}}}}const g=Object.defineProperties((()=>{}),m);function build(t,r,i){const builder=function(){return applyStyle.apply(builder,arguments)};builder._styles=t;builder._empty=r;const o=this;Object.defineProperty(builder,"level",{enumerable:true,get(){return o.level},set(t){o.level=t}});Object.defineProperty(builder,"enabled",{enumerable:true,get(){return o.enabled},set(t){o.enabled=t}});builder.hasGrey=this.hasGrey||i==="gray"||i==="grey";builder.__proto__=g;return builder}function applyStyle(){const t=arguments;const r=t.length;let i=String(arguments[0]);if(r===0){return""}if(r>1){for(let o=1;o<r;o++){i+=" "+t[o]}}if(!this.enabled||this.level<=0||!i){return this._empty?"":i}const o=a.dim.open;if(h&&this.hasGrey){a.dim.open=""}for(const t of this._styles.slice().reverse()){i=t.open+i.replace(t.closeRe,t.open)+t.close;i=i.replace(/\r?\n/g,`${t.close}$&${t.open}`)}a.dim.open=o;return i}function chalkTag(t,r){if(!Array.isArray(r)){return[].slice.call(arguments,1).join(" ")}const i=[].slice.call(arguments,2);const o=[r.raw[0]];for(let t=1;t<r.length;t++){o.push(String(i[t-1]).replace(/[{}\\]/g,"\\$&"));o.push(String(r.raw[t]))}return l(t,o.join(""))}Object.defineProperties(Chalk.prototype,m);t.exports=Chalk();t.exports.supportsColor=u;t.exports["default"]=t.exports},6094:t=>{"use strict";const r=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;const i=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;const o=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;const a=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi;const u=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(t){if(t[0]==="u"&&t.length===5||t[0]==="x"&&t.length===3){return String.fromCharCode(parseInt(t.slice(1),16))}return u.get(t)||t}function parseArguments(t,r){const i=[];const u=r.trim().split(/\s*,\s*/g);let l;for(const r of u){if(!isNaN(r)){i.push(Number(r))}else if(l=r.match(o)){i.push(l[2].replace(a,((t,r,i)=>r?unescape(r):i)))}else{throw new Error(`Invalid Chalk template style argument: ${r} (in style '${t}')`)}}return i}function parseStyle(t){i.lastIndex=0;const r=[];let o;while((o=i.exec(t))!==null){const t=o[1];if(o[2]){const i=parseArguments(t,o[2]);r.push([t].concat(i))}else{r.push([t])}}return r}function buildStyle(t,r){const i={};for(const t of r){for(const r of t.styles){i[r[0]]=t.inverse?null:r.slice(1)}}let o=t;for(const t of Object.keys(i)){if(Array.isArray(i[t])){if(!(t in o)){throw new Error(`Unknown Chalk style: ${t}`)}if(i[t].length>0){o=o[t].apply(o,i[t])}else{o=o[t]}}}return o}t.exports=(t,i)=>{const o=[];const a=[];let u=[];i.replace(r,((r,i,l,h,p,d)=>{if(i){u.push(unescape(i))}else if(h){const r=u.join("");u=[];a.push(o.length===0?r:buildStyle(t,o)(r));o.push({inverse:l,styles:parseStyle(h)})}else if(p){if(o.length===0){throw new Error("Found extraneous } in Chalk template literal")}a.push(buildStyle(t,o)(u.join("")));u=[];o.pop()}else{u.push(d)}}));a.push(u.join(""));if(o.length>0){const t=`Chalk template literal is missing ${o.length} closing bracket${o.length===1?"":"s"} (\`}\`)`;throw new Error(t)}return a.join("")}},4768:(t,r,i)=>{var o=i(6441);var a={};for(var u in o){if(o.hasOwnProperty(u)){a[o[u]]=u}}var l=t.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var h in l){if(l.hasOwnProperty(h)){if(!("channels"in l[h])){throw new Error("missing channels property: "+h)}if(!("labels"in l[h])){throw new Error("missing channel labels property: "+h)}if(l[h].labels.length!==l[h].channels){throw new Error("channel and label counts mismatch: "+h)}var p=l[h].channels;var d=l[h].labels;delete l[h].channels;delete l[h].labels;Object.defineProperty(l[h],"channels",{value:p});Object.defineProperty(l[h],"labels",{value:d})}}l.rgb.hsl=function(t){var r=t[0]/255;var i=t[1]/255;var o=t[2]/255;var a=Math.min(r,i,o);var u=Math.max(r,i,o);var l=u-a;var h;var p;var d;if(u===a){h=0}else if(r===u){h=(i-o)/l}else if(i===u){h=2+(o-r)/l}else if(o===u){h=4+(r-i)/l}h=Math.min(h*60,360);if(h<0){h+=360}d=(a+u)/2;if(u===a){p=0}else if(d<=.5){p=l/(u+a)}else{p=l/(2-u-a)}return[h,p*100,d*100]};l.rgb.hsv=function(t){var r;var i;var o;var a;var u;var l=t[0]/255;var h=t[1]/255;var p=t[2]/255;var d=Math.max(l,h,p);var m=d-Math.min(l,h,p);var diffc=function(t){return(d-t)/6/m+1/2};if(m===0){a=u=0}else{u=m/d;r=diffc(l);i=diffc(h);o=diffc(p);if(l===d){a=o-i}else if(h===d){a=1/3+r-o}else if(p===d){a=2/3+i-r}if(a<0){a+=1}else if(a>1){a-=1}}return[a*360,u*100,d*100]};l.rgb.hwb=function(t){var r=t[0];var i=t[1];var o=t[2];var a=l.rgb.hsl(t)[0];var u=1/255*Math.min(r,Math.min(i,o));o=1-1/255*Math.max(r,Math.max(i,o));return[a,u*100,o*100]};l.rgb.cmyk=function(t){var r=t[0]/255;var i=t[1]/255;var o=t[2]/255;var a;var u;var l;var h;h=Math.min(1-r,1-i,1-o);a=(1-r-h)/(1-h)||0;u=(1-i-h)/(1-h)||0;l=(1-o-h)/(1-h)||0;return[a*100,u*100,l*100,h*100]};function comparativeDistance(t,r){return Math.pow(t[0]-r[0],2)+Math.pow(t[1]-r[1],2)+Math.pow(t[2]-r[2],2)}l.rgb.keyword=function(t){var r=a[t];if(r){return r}var i=Infinity;var u;for(var l in o){if(o.hasOwnProperty(l)){var h=o[l];var p=comparativeDistance(t,h);if(p<i){i=p;u=l}}}return u};l.keyword.rgb=function(t){return o[t]};l.rgb.xyz=function(t){var r=t[0]/255;var i=t[1]/255;var o=t[2]/255;r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92;i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92;o=o>.04045?Math.pow((o+.055)/1.055,2.4):o/12.92;var a=r*.4124+i*.3576+o*.1805;var u=r*.2126+i*.7152+o*.0722;var l=r*.0193+i*.1192+o*.9505;return[a*100,u*100,l*100]};l.rgb.lab=function(t){var r=l.rgb.xyz(t);var i=r[0];var o=r[1];var a=r[2];var u;var h;var p;i/=95.047;o/=100;a/=108.883;i=i>.008856?Math.pow(i,1/3):7.787*i+16/116;o=o>.008856?Math.pow(o,1/3):7.787*o+16/116;a=a>.008856?Math.pow(a,1/3):7.787*a+16/116;u=116*o-16;h=500*(i-o);p=200*(o-a);return[u,h,p]};l.hsl.rgb=function(t){var r=t[0]/360;var i=t[1]/100;var o=t[2]/100;var a;var u;var l;var h;var p;if(i===0){p=o*255;return[p,p,p]}if(o<.5){u=o*(1+i)}else{u=o+i-o*i}a=2*o-u;h=[0,0,0];for(var d=0;d<3;d++){l=r+1/3*-(d-1);if(l<0){l++}if(l>1){l--}if(6*l<1){p=a+(u-a)*6*l}else if(2*l<1){p=u}else if(3*l<2){p=a+(u-a)*(2/3-l)*6}else{p=a}h[d]=p*255}return h};l.hsl.hsv=function(t){var r=t[0];var i=t[1]/100;var o=t[2]/100;var a=i;var u=Math.max(o,.01);var l;var h;o*=2;i*=o<=1?o:2-o;a*=u<=1?u:2-u;h=(o+i)/2;l=o===0?2*a/(u+a):2*i/(o+i);return[r,l*100,h*100]};l.hsv.rgb=function(t){var r=t[0]/60;var i=t[1]/100;var o=t[2]/100;var a=Math.floor(r)%6;var u=r-Math.floor(r);var l=255*o*(1-i);var h=255*o*(1-i*u);var p=255*o*(1-i*(1-u));o*=255;switch(a){case 0:return[o,p,l];case 1:return[h,o,l];case 2:return[l,o,p];case 3:return[l,h,o];case 4:return[p,l,o];case 5:return[o,l,h]}};l.hsv.hsl=function(t){var r=t[0];var i=t[1]/100;var o=t[2]/100;var a=Math.max(o,.01);var u;var l;var h;h=(2-i)*o;u=(2-i)*a;l=i*a;l/=u<=1?u:2-u;l=l||0;h/=2;return[r,l*100,h*100]};l.hwb.rgb=function(t){var r=t[0]/360;var i=t[1]/100;var o=t[2]/100;var a=i+o;var u;var l;var h;var p;if(a>1){i/=a;o/=a}u=Math.floor(6*r);l=1-o;h=6*r-u;if((u&1)!==0){h=1-h}p=i+h*(l-i);var d;var m;var g;switch(u){default:case 6:case 0:d=l;m=p;g=i;break;case 1:d=p;m=l;g=i;break;case 2:d=i;m=l;g=p;break;case 3:d=i;m=p;g=l;break;case 4:d=p;m=i;g=l;break;case 5:d=l;m=i;g=p;break}return[d*255,m*255,g*255]};l.cmyk.rgb=function(t){var r=t[0]/100;var i=t[1]/100;var o=t[2]/100;var a=t[3]/100;var u;var l;var h;u=1-Math.min(1,r*(1-a)+a);l=1-Math.min(1,i*(1-a)+a);h=1-Math.min(1,o*(1-a)+a);return[u*255,l*255,h*255]};l.xyz.rgb=function(t){var r=t[0]/100;var i=t[1]/100;var o=t[2]/100;var a;var u;var l;a=r*3.2406+i*-1.5372+o*-.4986;u=r*-.9689+i*1.8758+o*.0415;l=r*.0557+i*-.204+o*1.057;a=a>.0031308?1.055*Math.pow(a,1/2.4)-.055:a*12.92;u=u>.0031308?1.055*Math.pow(u,1/2.4)-.055:u*12.92;l=l>.0031308?1.055*Math.pow(l,1/2.4)-.055:l*12.92;a=Math.min(Math.max(0,a),1);u=Math.min(Math.max(0,u),1);l=Math.min(Math.max(0,l),1);return[a*255,u*255,l*255]};l.xyz.lab=function(t){var r=t[0];var i=t[1];var o=t[2];var a;var u;var l;r/=95.047;i/=100;o/=108.883;r=r>.008856?Math.pow(r,1/3):7.787*r+16/116;i=i>.008856?Math.pow(i,1/3):7.787*i+16/116;o=o>.008856?Math.pow(o,1/3):7.787*o+16/116;a=116*i-16;u=500*(r-i);l=200*(i-o);return[a,u,l]};l.lab.xyz=function(t){var r=t[0];var i=t[1];var o=t[2];var a;var u;var l;u=(r+16)/116;a=i/500+u;l=u-o/200;var h=Math.pow(u,3);var p=Math.pow(a,3);var d=Math.pow(l,3);u=h>.008856?h:(u-16/116)/7.787;a=p>.008856?p:(a-16/116)/7.787;l=d>.008856?d:(l-16/116)/7.787;a*=95.047;u*=100;l*=108.883;return[a,u,l]};l.lab.lch=function(t){var r=t[0];var i=t[1];var o=t[2];var a;var u;var l;a=Math.atan2(o,i);u=a*360/2/Math.PI;if(u<0){u+=360}l=Math.sqrt(i*i+o*o);return[r,l,u]};l.lch.lab=function(t){var r=t[0];var i=t[1];var o=t[2];var a;var u;var l;l=o/360*2*Math.PI;a=i*Math.cos(l);u=i*Math.sin(l);return[r,a,u]};l.rgb.ansi16=function(t){var r=t[0];var i=t[1];var o=t[2];var a=1 in arguments?arguments[1]:l.rgb.hsv(t)[2];a=Math.round(a/50);if(a===0){return 30}var u=30+(Math.round(o/255)<<2|Math.round(i/255)<<1|Math.round(r/255));if(a===2){u+=60}return u};l.hsv.ansi16=function(t){return l.rgb.ansi16(l.hsv.rgb(t),t[2])};l.rgb.ansi256=function(t){var r=t[0];var i=t[1];var o=t[2];if(r===i&&i===o){if(r<8){return 16}if(r>248){return 231}return Math.round((r-8)/247*24)+232}var a=16+36*Math.round(r/255*5)+6*Math.round(i/255*5)+Math.round(o/255*5);return a};l.ansi16.rgb=function(t){var r=t%10;if(r===0||r===7){if(t>50){r+=3.5}r=r/10.5*255;return[r,r,r]}var i=(~~(t>50)+1)*.5;var o=(r&1)*i*255;var a=(r>>1&1)*i*255;var u=(r>>2&1)*i*255;return[o,a,u]};l.ansi256.rgb=function(t){if(t>=232){var r=(t-232)*10+8;return[r,r,r]}t-=16;var i;var o=Math.floor(t/36)/5*255;var a=Math.floor((i=t%36)/6)/5*255;var u=i%6/5*255;return[o,a,u]};l.rgb.hex=function(t){var r=((Math.round(t[0])&255)<<16)+((Math.round(t[1])&255)<<8)+(Math.round(t[2])&255);var i=r.toString(16).toUpperCase();return"000000".substring(i.length)+i};l.hex.rgb=function(t){var r=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!r){return[0,0,0]}var i=r[0];if(r[0].length===3){i=i.split("").map((function(t){return t+t})).join("")}var o=parseInt(i,16);var a=o>>16&255;var u=o>>8&255;var l=o&255;return[a,u,l]};l.rgb.hcg=function(t){var r=t[0]/255;var i=t[1]/255;var o=t[2]/255;var a=Math.max(Math.max(r,i),o);var u=Math.min(Math.min(r,i),o);var l=a-u;var h;var p;if(l<1){h=u/(1-l)}else{h=0}if(l<=0){p=0}else if(a===r){p=(i-o)/l%6}else if(a===i){p=2+(o-r)/l}else{p=4+(r-i)/l+4}p/=6;p%=1;return[p*360,l*100,h*100]};l.hsl.hcg=function(t){var r=t[1]/100;var i=t[2]/100;var o=1;var a=0;if(i<.5){o=2*r*i}else{o=2*r*(1-i)}if(o<1){a=(i-.5*o)/(1-o)}return[t[0],o*100,a*100]};l.hsv.hcg=function(t){var r=t[1]/100;var i=t[2]/100;var o=r*i;var a=0;if(o<1){a=(i-o)/(1-o)}return[t[0],o*100,a*100]};l.hcg.rgb=function(t){var r=t[0]/360;var i=t[1]/100;var o=t[2]/100;if(i===0){return[o*255,o*255,o*255]}var a=[0,0,0];var u=r%1*6;var l=u%1;var h=1-l;var p=0;switch(Math.floor(u)){case 0:a[0]=1;a[1]=l;a[2]=0;break;case 1:a[0]=h;a[1]=1;a[2]=0;break;case 2:a[0]=0;a[1]=1;a[2]=l;break;case 3:a[0]=0;a[1]=h;a[2]=1;break;case 4:a[0]=l;a[1]=0;a[2]=1;break;default:a[0]=1;a[1]=0;a[2]=h}p=(1-i)*o;return[(i*a[0]+p)*255,(i*a[1]+p)*255,(i*a[2]+p)*255]};l.hcg.hsv=function(t){var r=t[1]/100;var i=t[2]/100;var o=r+i*(1-r);var a=0;if(o>0){a=r/o}return[t[0],a*100,o*100]};l.hcg.hsl=function(t){var r=t[1]/100;var i=t[2]/100;var o=i*(1-r)+.5*r;var a=0;if(o>0&&o<.5){a=r/(2*o)}else if(o>=.5&&o<1){a=r/(2*(1-o))}return[t[0],a*100,o*100]};l.hcg.hwb=function(t){var r=t[1]/100;var i=t[2]/100;var o=r+i*(1-r);return[t[0],(o-r)*100,(1-o)*100]};l.hwb.hcg=function(t){var r=t[1]/100;var i=t[2]/100;var o=1-i;var a=o-r;var u=0;if(a<1){u=(o-a)/(1-a)}return[t[0],a*100,u*100]};l.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]};l.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]};l.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]};l.gray.hsl=l.gray.hsv=function(t){return[0,0,t[0]]};l.gray.hwb=function(t){return[0,100,t[0]]};l.gray.cmyk=function(t){return[0,0,0,t[0]]};l.gray.lab=function(t){return[t[0],0,0]};l.gray.hex=function(t){var r=Math.round(t[0]/100*255)&255;var i=(r<<16)+(r<<8)+r;var o=i.toString(16).toUpperCase();return"000000".substring(o.length)+o};l.rgb.gray=function(t){var r=(t[0]+t[1]+t[2])/3;return[r/255*100]}},3595:(t,r,i)=>{var o=i(4768);var a=i(9136);var u={};var l=Object.keys(o);function wrapRaw(t){var wrappedFn=function(r){if(r===undefined||r===null){return r}if(arguments.length>1){r=Array.prototype.slice.call(arguments)}return t(r)};if("conversion"in t){wrappedFn.conversion=t.conversion}return wrappedFn}function wrapRounded(t){var wrappedFn=function(r){if(r===undefined||r===null){return r}if(arguments.length>1){r=Array.prototype.slice.call(arguments)}var i=t(r);if(typeof i==="object"){for(var o=i.length,a=0;a<o;a++){i[a]=Math.round(i[a])}}return i};if("conversion"in t){wrappedFn.conversion=t.conversion}return wrappedFn}l.forEach((function(t){u[t]={};Object.defineProperty(u[t],"channels",{value:o[t].channels});Object.defineProperty(u[t],"labels",{value:o[t].labels});var r=a(t);var i=Object.keys(r);i.forEach((function(i){var o=r[i];u[t][i]=wrapRounded(o);u[t][i].raw=wrapRaw(o)}))}));t.exports=u},9136:(t,r,i)=>{var o=i(4768);function buildGraph(){var t={};var r=Object.keys(o);for(var i=r.length,a=0;a<i;a++){t[r[a]]={distance:-1,parent:null}}return t}function deriveBFS(t){var r=buildGraph();var i=[t];r[t].distance=0;while(i.length){var a=i.pop();var u=Object.keys(o[a]);for(var l=u.length,h=0;h<l;h++){var p=u[h];var d=r[p];if(d.distance===-1){d.distance=r[a].distance+1;d.parent=a;i.unshift(p)}}}return r}function link(t,r){return function(i){return r(t(i))}}function wrapConversion(t,r){var i=[r[t].parent,t];var a=o[r[t].parent][t];var u=r[t].parent;while(r[u].parent){i.unshift(r[u].parent);a=link(o[r[u].parent][u],a);u=r[u].parent}a.conversion=i;return a}t.exports=function(t){var r=deriveBFS(t);var i={};var o=Object.keys(r);for(var a=o.length,u=0;u<a;u++){var l=o[u];var h=r[l];if(h.parent===null){continue}i[l]=wrapConversion(l,r)}return i}},6441:t=>{"use strict";t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},6966:t=>{"use strict";t.exports=(t,r)=>{r=r||process.argv;const i=t.startsWith("-")?"":t.length===1?"-":"--";const o=r.indexOf(i+t);const a=r.indexOf("--");return o!==-1&&(a===-1?true:o<a)}},1851:(t,r,i)=>{"use strict";const o=i(2037);const a=i(6966);const u=process.env;let l;if(a("no-color")||a("no-colors")||a("color=false")){l=false}else if(a("color")||a("colors")||a("color=true")||a("color=always")){l=true}if("FORCE_COLOR"in u){l=u.FORCE_COLOR.length===0||parseInt(u.FORCE_COLOR,10)!==0}function translateLevel(t){if(t===0){return false}return{level:t,hasBasic:true,has256:t>=2,has16m:t>=3}}function supportsColor(t){if(l===false){return 0}if(a("color=16m")||a("color=full")||a("color=truecolor")){return 3}if(a("color=256")){return 2}if(t&&!t.isTTY&&l!==true){return 0}const r=l?1:0;if(process.platform==="win32"){const t=o.release().split(".");if(Number(process.versions.node.split(".")[0])>=8&&Number(t[0])>=10&&Number(t[2])>=10586){return Number(t[2])>=14931?3:2}return 1}if("CI"in u){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((t=>t in u))||u.CI_NAME==="codeship"){return 1}return r}if("TEAMCITY_VERSION"in u){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(u.TEAMCITY_VERSION)?1:0}if(u.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in u){const t=parseInt((u.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(u.TERM_PROGRAM){case"iTerm.app":return t>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(u.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(u.TERM)){return 1}if("COLORTERM"in u){return 1}if(u.TERM==="dumb"){return r}return r}function getSupportLevel(t){const r=supportsColor(t);return translateLevel(r)}t.exports={supportsColor:getSupportLevel,stdout:getSupportLevel(process.stdout),stderr:getSupportLevel(process.stderr)}},8903: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(7548);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 v=u(i(5196));const A=(0,g.promisify)(y.default);const b={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 v.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 v.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 v.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 v.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 v.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 v.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 v.default(`Couldn't JSON.stringify object for file: ${t}`,r)}const h=u?`${l}\n`:l;await A(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 b[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 v.EmptyJsonFileError(r)}}},5196:(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},6821:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true})},7754: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(6821),r);a(i(6212),r);a(i(221),r);a(i(1529),r);a(i(5746),r);a(i(5562),r);a(i(8497),r);var u=i(6376);Object.defineProperty(r,"isYarnOfflineAsync",{enumerable:true,get:function(){return u.isYarnOfflineAsync}})},6212: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(2313);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},4574: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},5562:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.BunPackageManager=void 0;const o=i(4574);const a=i(8497);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},221: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(8903));const u=o(i(5642));const l=o(i(9879));const h=o(i(1017));const p=i(4574);const d=i(8497);const m=i(2313);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},1529: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(4574);const u=o(i(7907));const l=i(8497);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},5746:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.YarnPackageManager=void 0;const o=i(4574);const a=i(8497);const u=i(2313);const l=i(6376);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},7907:(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},8497:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.createForProject=r.resolvePackageManager=r.RESOLUTION_ORDER=r.BUN_TEXT_LOCK_FILE=r.BUN_LOCK_FILE=r.PNPM_LOCK_FILE=r.YARN_LOCK_FILE=r.NPM_LOCK_FILE=r.resolveWorkspaceRoot=void 0;const a=o(i(7147));const u=o(i(1017));const l=i(7301);const h=i(5562);const p=i(221);const d=i(1529);const m=i(5746);var g=i(7301);Object.defineProperty(r,"resolveWorkspaceRoot",{enumerable:true,get:function(){return g.resolveWorkspaceRoot}});r.NPM_LOCK_FILE="package-lock.json";r.YARN_LOCK_FILE="yarn.lock";r.PNPM_LOCK_FILE="pnpm-lock.yaml";r.BUN_LOCK_FILE="bun.lockb";r.BUN_TEXT_LOCK_FILE="bun.lock";r.RESOLUTION_ORDER=["bun","yarn","npm","pnpm"];function resolvePackageManager(t,i){const o=(0,l.resolveWorkspaceRoot)(t)??t;const h={npm:[r.NPM_LOCK_FILE],pnpm:[r.PNPM_LOCK_FILE],yarn:[r.YARN_LOCK_FILE],bun:[r.BUN_LOCK_FILE,r.BUN_TEXT_LOCK_FILE]};if(i){return h[i].some((t=>a.default.existsSync(u.default.join(o,t))))?i:null}for(const t of r.RESOLUTION_ORDER){if(h[t].some((t=>a.default.existsSync(u.default.join(o,t))))){return t}}return null}r.resolvePackageManager=resolvePackageManager;function createForProject(t,r={}){if(r.npm){return new p.NpmPackageManager({cwd:t,...r})}else if(r.yarn){return new m.YarnPackageManager({cwd:t,...r})}else if(r.pnpm){return new d.PnpmPackageManager({cwd:t,...r})}else if(r.bun){return new h.BunPackageManager({cwd:t,...r})}switch(resolvePackageManager(t)){case"npm":return new p.NpmPackageManager({cwd:t,...r});case"pnpm":return new d.PnpmPackageManager({cwd:t,...r});case"yarn":return new m.YarnPackageManager({cwd:t,...r});case"bun":return new h.BunPackageManager({cwd:t,...r});default:return new p.NpmPackageManager({cwd:t,...r})}}r.createForProject=createForProject},2313: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},6376: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)}))}))}},4072:(t,r,i)=>{"use strict";const o=i(698);const isGitHubShorthand=t=>{const r=t.indexOf("#");const i=t.indexOf("/");const o=t.indexOf("/",i+1);const a=t.indexOf(":");const u=/\s/.exec(t);const l=t.indexOf("@");const h=!u||r>-1&&u.index>r;const p=l===-1||r>-1&&l>r;const d=a===-1||r>-1&&a>r;const m=o===-1||r>-1&&o>r;const g=i>0;const y=r>-1?t[r-1]!=="/":!t.endsWith("/");const v=!t.startsWith(".");return h&&g&&y&&v&&p&&d&&m};t.exports=(t,r,{gitHosts:i,protocols:a})=>{if(!t){return}const u=isGitHubShorthand(t)?`github:${t}`:t;const l=o(u,a);if(!l){return}const h=i.byShortcut[l.protocol];const p=i.byDomain[l.hostname.startsWith("www.")?l.hostname.slice(4):l.hostname];const d=h||p;if(!d){return}const m=i[h||p];let g=null;if(a[l.protocol]?.auth&&(l.username||l.password)){g=`${l.username}${l.password?":"+l.password:""}`}let y=null;let v=null;let A=null;let b=null;try{if(h){let t=l.pathname.startsWith("/")?l.pathname.slice(1):l.pathname;const r=t.indexOf("@");if(r>-1){t=t.slice(r+1)}const i=t.lastIndexOf("/");if(i>-1){v=decodeURIComponent(t.slice(0,i));if(!v){v=null}A=decodeURIComponent(t.slice(i+1))}else{A=decodeURIComponent(t)}if(A.endsWith(".git")){A=A.slice(0,-4)}if(l.hash){y=decodeURIComponent(l.hash.slice(1))}b="shortcut"}else{if(!m.protocols.includes(l.protocol)){return}const t=m.extract(l);if(!t){return}v=t.user&&decodeURIComponent(t.user);A=decodeURIComponent(t.project);y=decodeURIComponent(t.committish);b=a[l.protocol]?.name||l.protocol.slice(0,-1)}}catch(t){if(t instanceof URIError){return}else{throw t}}return[d,v,g,A,y,b,r]}},8444:t=>{"use strict";const maybeJoin=(...t)=>t.every((t=>t))?t.join(""):"";const maybeEncode=t=>t?encodeURIComponent(t):"";const formatHashFragment=t=>t.toLowerCase().replace(/^\W+|\/|\W+$/g,"").replace(/\W+/g,"-");const r={sshtemplate:({domain:t,user:r,project:i,committish:o})=>`git@${t}:${r}/${i}.git${maybeJoin("#",o)}`,sshurltemplate:({domain:t,user:r,project:i,committish:o})=>`git+ssh://git@${t}/${r}/${i}.git${maybeJoin("#",o)}`,edittemplate:({domain:t,user:r,project:i,committish:o,editpath:a,path:u})=>`https://${t}/${r}/${i}${maybeJoin("/",a,"/",maybeEncode(o||"HEAD"),"/",u)}`,browsetemplate:({domain:t,user:r,project:i,committish:o,treepath:a})=>`https://${t}/${r}/${i}${maybeJoin("/",a,"/",maybeEncode(o))}`,browsetreetemplate:({domain:t,user:r,project:i,committish:o,treepath:a,path:u,fragment:l,hashformat:h})=>`https://${t}/${r}/${i}/${a}/${maybeEncode(o||"HEAD")}/${u}${maybeJoin("#",h(l||""))}`,browseblobtemplate:({domain:t,user:r,project:i,committish:o,blobpath:a,path:u,fragment:l,hashformat:h})=>`https://${t}/${r}/${i}/${a}/${maybeEncode(o||"HEAD")}/${u}${maybeJoin("#",h(l||""))}`,docstemplate:({domain:t,user:r,project:i,treepath:o,committish:a})=>`https://${t}/${r}/${i}${maybeJoin("/",o,"/",maybeEncode(a))}#readme`,httpstemplate:({auth:t,domain:r,user:i,project:o,committish:a})=>`git+https://${maybeJoin(t,"@")}${r}/${i}/${o}.git${maybeJoin("#",a)}`,filetemplate:({domain:t,user:r,project:i,committish:o,path:a})=>`https://${t}/${r}/${i}/raw/${maybeEncode(o||"HEAD")}/${a}`,shortcuttemplate:({type:t,user:r,project:i,committish:o})=>`${t}:${r}/${i}${maybeJoin("#",o)}`,pathtemplate:({user:t,project:r,committish:i})=>`${t}/${r}${maybeJoin("#",i)}`,bugstemplate:({domain:t,user:r,project:i})=>`https://${t}/${r}/${i}/issues`,hashformat:formatHashFragment};const i={};i.github={protocols:["git:","http:","git+ssh:","git+https:","ssh:","https:"],domain:"github.com",treepath:"tree",blobpath:"blob",editpath:"edit",filetemplate:({auth:t,user:r,project:i,committish:o,path:a})=>`https://${maybeJoin(t,"@")}raw.githubusercontent.com/${r}/${i}/${maybeEncode(o||"HEAD")}/${a}`,gittemplate:({auth:t,domain:r,user:i,project:o,committish:a})=>`git://${maybeJoin(t,"@")}${r}/${i}/${o}.git${maybeJoin("#",a)}`,tarballtemplate:({domain:t,user:r,project:i,committish:o})=>`https://codeload.${t}/${r}/${i}/tar.gz/${maybeEncode(o||"HEAD")}`,extract:t=>{let[,r,i,o,a]=t.pathname.split("/",5);if(o&&o!=="tree"){return}if(!o){a=t.hash.slice(1)}if(i&&i.endsWith(".git")){i=i.slice(0,-4)}if(!r||!i){return}return{user:r,project:i,committish:a}}};i.bitbucket={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"bitbucket.org",treepath:"src",blobpath:"src",editpath:"?mode=edit",edittemplate:({domain:t,user:r,project:i,committish:o,treepath:a,path:u,editpath:l})=>`https://${t}/${r}/${i}${maybeJoin("/",a,"/",maybeEncode(o||"HEAD"),"/",u,l)}`,tarballtemplate:({domain:t,user:r,project:i,committish:o})=>`https://${t}/${r}/${i}/get/${maybeEncode(o||"HEAD")}.tar.gz`,extract:t=>{let[,r,i,o]=t.pathname.split("/",4);if(["get"].includes(o)){return}if(i&&i.endsWith(".git")){i=i.slice(0,-4)}if(!r||!i){return}return{user:r,project:i,committish:t.hash.slice(1)}}};i.gitlab={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"gitlab.com",treepath:"tree",blobpath:"tree",editpath:"-/edit",httpstemplate:({auth:t,domain:r,user:i,project:o,committish:a})=>`git+https://${maybeJoin(t,"@")}${r}/${i}/${o}.git${maybeJoin("#",a)}`,tarballtemplate:({domain:t,user:r,project:i,committish:o})=>`https://${t}/${r}/${i}/repository/archive.tar.gz?ref=${maybeEncode(o||"HEAD")}`,extract:t=>{const r=t.pathname.slice(1);if(r.includes("/-/")||r.includes("/archive.tar.gz")){return}const i=r.split("/");let o=i.pop();if(o.endsWith(".git")){o=o.slice(0,-4)}const a=i.join("/");if(!a||!o){return}return{user:a,project:o,committish:t.hash.slice(1)}}};i.gist={protocols:["git:","git+ssh:","git+https:","ssh:","https:"],domain:"gist.github.com",editpath:"edit",sshtemplate:({domain:t,project:r,committish:i})=>`git@${t}:${r}.git${maybeJoin("#",i)}`,sshurltemplate:({domain:t,project:r,committish:i})=>`git+ssh://git@${t}/${r}.git${maybeJoin("#",i)}`,edittemplate:({domain:t,user:r,project:i,committish:o,editpath:a})=>`https://${t}/${r}/${i}${maybeJoin("/",maybeEncode(o))}/${a}`,browsetemplate:({domain:t,project:r,committish:i})=>`https://${t}/${r}${maybeJoin("/",maybeEncode(i))}`,browsetreetemplate:({domain:t,project:r,committish:i,path:o,hashformat:a})=>`https://${t}/${r}${maybeJoin("/",maybeEncode(i))}${maybeJoin("#",a(o))}`,browseblobtemplate:({domain:t,project:r,committish:i,path:o,hashformat:a})=>`https://${t}/${r}${maybeJoin("/",maybeEncode(i))}${maybeJoin("#",a(o))}`,docstemplate:({domain:t,project:r,committish:i})=>`https://${t}/${r}${maybeJoin("/",maybeEncode(i))}`,httpstemplate:({domain:t,project:r,committish:i})=>`git+https://${t}/${r}.git${maybeJoin("#",i)}`,filetemplate:({user:t,project:r,committish:i,path:o})=>`https://gist.githubusercontent.com/${t}/${r}/raw${maybeJoin("/",maybeEncode(i))}/${o}`,shortcuttemplate:({type:t,project:r,committish:i})=>`${t}:${r}${maybeJoin("#",i)}`,pathtemplate:({project:t,committish:r})=>`${t}${maybeJoin("#",r)}`,bugstemplate:({domain:t,project:r})=>`https://${t}/${r}`,gittemplate:({domain:t,project:r,committish:i})=>`git://${t}/${r}.git${maybeJoin("#",i)}`,tarballtemplate:({project:t,committish:r})=>`https://codeload.github.com/gist/${t}/tar.gz/${maybeEncode(r||"HEAD")}`,extract:t=>{let[,r,i,o]=t.pathname.split("/",4);if(o==="raw"){return}if(!i){if(!r){return}i=r;r=null}if(i.endsWith(".git")){i=i.slice(0,-4)}return{user:r,project:i,committish:t.hash.slice(1)}},hashformat:function(t){return t&&"file-"+formatHashFragment(t)}};i.sourcehut={protocols:["git+ssh:","https:"],domain:"git.sr.ht",treepath:"tree",blobpath:"tree",filetemplate:({domain:t,user:r,project:i,committish:o,path:a})=>`https://${t}/${r}/${i}/blob/${maybeEncode(o)||"HEAD"}/${a}`,httpstemplate:({domain:t,user:r,project:i,committish:o})=>`https://${t}/${r}/${i}.git${maybeJoin("#",o)}`,tarballtemplate:({domain:t,user:r,project:i,committish:o})=>`https://${t}/${r}/${i}/archive/${maybeEncode(o)||"HEAD"}.tar.gz`,bugstemplate:()=>null,extract:t=>{let[,r,i,o]=t.pathname.split("/",4);if(["archive"].includes(o)){return}if(i&&i.endsWith(".git")){i=i.slice(0,-4)}if(!r||!i){return}return{user:r,project:i,committish:t.hash.slice(1)}}};for(const[t,o]of Object.entries(i)){i[t]=Object.assign({},r,o)}t.exports=i},2043:(t,r,i)=>{"use strict";const{LRUCache:o}=i(849);const a=i(8444);const u=i(4072);const l=i(698);const h=new o({max:1e3});class GitHost{constructor(t,r,i,o,a,u,l={}){Object.assign(this,GitHost.#e[t],{type:t,user:r,auth:i,project:o,committish:a,default:u,opts:l})}static#e={byShortcut:{},byDomain:{}};static#t={"git+ssh:":{name:"sshurl"},"ssh:":{name:"sshurl"},"git+https:":{name:"https",auth:true},"git:":{auth:true},"http:":{auth:true},"https:":{auth:true},"git+http:":{auth:true}};static addHost(t,r){GitHost.#e[t]=r;GitHost.#e.byDomain[r.domain]=t;GitHost.#e.byShortcut[`${t}:`]=t;GitHost.#t[`${t}:`]={name:t}}static fromUrl(t,r){if(typeof t!=="string"){return}const i=t+JSON.stringify(r||{});if(!h.has(i)){const o=u(t,r,{gitHosts:GitHost.#e,protocols:GitHost.#t});h.set(i,o?new GitHost(...o):undefined)}return h.get(i)}static parseUrl(t){return l(t)}#r(t,r){if(typeof t!=="function"){return null}const i={...this,...this.opts,...r};if(!i.path){i.path=""}if(i.path.startsWith("/")){i.path=i.path.slice(1)}if(i.noCommittish){i.committish=null}const o=t(i);return i.noGitPlus&&o.startsWith("git+")?o.slice(4):o}hash(){return this.committish?`#${this.committish}`:""}ssh(t){return this.#r(this.sshtemplate,t)}sshurl(t){return this.#r(this.sshurltemplate,t)}browse(t,...r){if(typeof t!=="string"){return this.#r(this.browsetemplate,t)}if(typeof r[0]!=="string"){return this.#r(this.browsetreetemplate,{...r[0],path:t})}return this.#r(this.browsetreetemplate,{...r[1],fragment:r[0],path:t})}browseFile(t,...r){if(typeof r[0]!=="string"){return this.#r(this.browseblobtemplate,{...r[0],path:t})}return this.#r(this.browseblobtemplate,{...r[1],fragment:r[0],path:t})}docs(t){return this.#r(this.docstemplate,t)}bugs(t){return this.#r(this.bugstemplate,t)}https(t){return this.#r(this.httpstemplate,t)}git(t){return this.#r(this.gittemplate,t)}shortcut(t){return this.#r(this.shortcuttemplate,t)}path(t){return this.#r(this.pathtemplate,t)}tarball(t){return this.#r(this.tarballtemplate,{...t,noCommittish:false})}file(t,r){return this.#r(this.filetemplate,{...r,path:t})}edit(t,r){return this.#r(this.edittemplate,{...r,path:t})}getDefaultRepresentation(){return this.default}toString(t){if(this.default&&typeof this[this.default]==="function"){return this[this.default](t)}return this.sshurl(t)}}for(const[t,r]of Object.entries(a)){GitHost.addHost(t,r)}t.exports=GitHost},698:(t,r,i)=>{const o=i(7310);const lastIndexOfBefore=(t,r,i)=>{const o=t.indexOf(i);return t.lastIndexOf(r,o>-1?o:Infinity)};const safeUrl=t=>{try{return new o.URL(t)}catch{}};const correctProtocol=(t,r)=>{const i=t.indexOf(":");const o=t.slice(0,i+1);if(Object.prototype.hasOwnProperty.call(r,o)){return t}const a=t.indexOf("@");if(a>-1){if(a>i){return`git+ssh://${t}`}else{return t}}const u=t.indexOf("//");if(u===i+1){return t}return`${t.slice(0,i+1)}//${t.slice(i+1)}`};const correctUrl=t=>{const r=lastIndexOfBefore(t,"@","#");const i=lastIndexOfBefore(t,":","#");if(i>r){t=t.slice(0,i)+"/"+t.slice(i+1)}if(lastIndexOfBefore(t,":","#")===-1&&t.indexOf("//")===-1){t=`git+ssh://${t}`}return t};t.exports=(t,r)=>{const i=r?correctProtocol(t,r):t;return safeUrl(i)||safeUrl(correctUrl(i))}},9879:(t,r,i)=>{"use strict";t.exports=npa;t.exports.resolve=resolve;t.exports.toPurl=toPurl;t.exports.Result=Result;const{URL:o}=i(7310);const a=i(2043);const u=i(7546);const l=global.FAKE_WINDOWS?i(1017).win32:i(1017);const h=i(8593);const{homedir:p}=i(2037);const{log:d}=i(669);const m=process.platform==="win32"||global.FAKE_WINDOWS;const g=m?/\\|[/]/:/[/]/;const y=/^(?:git[+])?[a-z]+:/i;const v=/^[^@]+@[^:.]+\.[^:]+:.+$/i;const A=/[.](?:tgz|tar.gz|tar)$/i;function npa(t,r){let i;let o;if(typeof t==="object"){if(t instanceof Result&&(!r||r===t.where)){return t}else if(t.name&&t.rawSpec){return npa.resolve(t.name,t.rawSpec,r||t.where)}else{return npa(t.raw,r||t.where)}}const a=t[0]==="@"?t.slice(1).indexOf("@")+1:t.indexOf("@");const u=a>0?t.slice(0,a):t;if(y.test(t)){o=t}else if(v.test(t)){o=`git+ssh://${t}`}else if(u[0]!=="@"&&(g.test(u)||A.test(u))){o=t}else if(a>0){i=u;o=t.slice(a+1)||"*"}else{const r=h(t);if(r.validForOldPackages){i=t;o="*"}else{o=t}}return resolve(i,o,r,t)}const b=m?/^(?:[.]|~[/]|[/\\]|[a-zA-Z]:)/:/^(?:[.]|~[/]|[/]|[a-zA-Z]:)/;function resolve(t,r,i,o){const u=new Result({raw:o,name:t,rawSpec:r,fromArgument:o!=null});if(t){u.setName(t)}if(r&&(b.test(r)||/^file:/i.test(r))){return fromFile(u,i)}else if(r&&/^npm:/i.test(r)){return fromAlias(u,i)}const l=a.fromUrl(r,{noGitPlus:true,noCommittish:true});if(l){return fromHostedGit(u,l)}else if(r&&y.test(r)){return fromURL(u)}else if(r&&(g.test(r)||A.test(r))){return fromFile(u,i)}else{return fromRegistry(u)}}const w="https://registry.npmjs.org";function toPurl(t,r=w){const i=npa(t);if(i.type!=="version"){throw invalidPurlType(i.type,i.raw)}let o="pkg:npm/"+i.name.replace(/^@/,"%40")+"@"+i.rawSpec;if(r!==w){o+="?repository_url="+r}return o}function invalidPackageName(t,r,i){const o=new Error(`Invalid package name "${t}" of package "${i}": ${r.errors.join("; ")}.`);o.code="EINVALIDPACKAGENAME";return o}function invalidTagName(t,r){const i=new Error(`Invalid tag name "${t}" of package "${r}": Tags may not have any characters that encodeURIComponent encodes.`);i.code="EINVALIDTAGNAME";return i}function invalidPurlType(t,r){const i=new Error(`Invalid type "${t}" of package "${r}": Purl can only be generated for "version" types.`);i.code="EINVALIDPURLTYPE";return i}function Result(t){this.type=t.type;this.registry=t.registry;this.where=t.where;if(t.raw==null){this.raw=t.name?t.name+"@"+t.rawSpec:t.rawSpec}else{this.raw=t.raw}this.name=undefined;this.escapedName=undefined;this.scope=undefined;this.rawSpec=t.rawSpec||"";this.saveSpec=t.saveSpec;this.fetchSpec=t.fetchSpec;if(t.name){this.setName(t.name)}this.gitRange=t.gitRange;this.gitCommittish=t.gitCommittish;this.gitSubdir=t.gitSubdir;this.hosted=t.hosted}Result.prototype.setName=function(t){const r=h(t);if(!r.validForOldPackages){throw invalidPackageName(t,r,this.raw)}this.name=t;this.scope=t[0]==="@"?t.slice(0,t.indexOf("/")):undefined;this.escapedName=t.replace("/","%2f");return this};Result.prototype.toString=function(){const t=[];if(this.name!=null&&this.name!==""){t.push(this.name)}const r=this.saveSpec||this.fetchSpec||this.rawSpec;if(r!=null&&r!==""){t.push(r)}return t.length?t.join("@"):this.raw};Result.prototype.toJSON=function(){const t=Object.assign({},this);delete t.hosted;return t};function setGitAttrs(t,r){if(!r){t.gitCommittish=null;return}for(const i of r.split("::")){if(!i.includes(":")){if(t.gitRange){throw new Error("cannot override existing semver range with a committish")}if(t.gitCommittish){throw new Error("cannot override existing committish with a second committish")}t.gitCommittish=i;continue}const[r,o]=i.split(":");if(r==="semver"){if(t.gitCommittish){throw new Error("cannot override existing committish with a semver range")}if(t.gitRange){throw new Error("cannot override existing semver range with a second semver range")}t.gitRange=decodeURIComponent(o);continue}if(r==="path"){if(t.gitSubdir){throw new Error("cannot override existing path with a second path")}t.gitSubdir=`/${o}`;continue}d.warn("npm-package-arg",`ignoring unknown key "${r}"`)}}function fromFile(t,r){if(!r){r=process.cwd()}t.type=A.test(t.rawSpec)?"file":"directory";t.where=r;let i;let a;const u=!/^file:/.test(t.rawSpec)?"file:":"";const h=u+t.rawSpec;let d=h.replace(/^file:/,"");try{a=new o(h,`file://${l.resolve(r)}/`);i=new o(h)}catch(i){const o=new Error("Invalid file: URL, must comply with RFC 8089");throw Object.assign(o,{raw:t.rawSpec,spec:t,where:r,originalError:i})}if(a.host&&a.host!=="localhost"){const u=t.rawSpec.replace(/^file:\/\//,"file:///");a=new o(u,`file://${l.resolve(r)}/`);i=new o(u);d=u.replace(/^file:/,"")}if(/^\/{1,3}\.\.?(\/|$)/.test(d)){const u=t.rawSpec.replace(/^file:\/{1,3}/,"file:");a=new o(u,`file://${l.resolve(r)}/`);i=new o(u);d=u.replace(/^file:/,"")}let g=decodeURIComponent(i.pathname);let y=decodeURIComponent(a.pathname);if(m){g=g.replace(/^\/+([a-z]:\/)/i,"$1");y=y.replace(/^\/+([a-z]:\/)/i,"$1")}if(/^\/~(\/|$)/.test(g)){t.saveSpec=`file:${g.substr(1)}`;y=l.resolve(p(),g.substr(3))}else if(!l.isAbsolute(d)){t.saveSpec=`file:${l.relative(r,y)}`}else{t.saveSpec=`file:${l.resolve(y)}`}t.fetchSpec=l.resolve(r,y);return t}function fromHostedGit(t,r){t.type="git";t.hosted=r;t.saveSpec=r.toString({noGitPlus:false,noCommittish:false});t.fetchSpec=r.getDefaultRepresentation()==="shortcut"?null:r.toString();setGitAttrs(t,r.committish);return t}function unsupportedURLType(t,r){const i=new Error(`Unsupported URL Type "${t}": ${r}`);i.code="EUNSUPPORTEDPROTOCOL";return i}function fromURL(t){let r=t.rawSpec;t.saveSpec=r;if(r.startsWith("git+ssh:")){const i=r.match(/^git\+ssh:\/\/([^:#]+:[^#]+(?:\.git)?)(?:#(.*))?$/i);if(i&&!i[1].match(/:[0-9]+\/?.*$/i)){t.type="git";setGitAttrs(t,i[2]);t.fetchSpec=i[1];return t}}else if(r.startsWith("git+file://")){r=r.replace(/\\/g,"/")}const i=new o(r);switch(i.protocol){case"git:":case"git+http:":case"git+https:":case"git+rsync:":case"git+ftp:":case"git+file:":case"git+ssh:":t.type="git";setGitAttrs(t,i.hash.slice(1));if(i.protocol==="git+file:"&&/^git\+file:\/\/[a-z]:/i.test(r)){t.fetchSpec=`git+file://${i.host.toLowerCase()}:${i.pathname}`}else{i.hash="";t.fetchSpec=i.toString()}if(t.fetchSpec.startsWith("git+")){t.fetchSpec=t.fetchSpec.slice(4)}break;case"http:":case"https:":t.type="remote";t.fetchSpec=t.saveSpec;break;default:throw unsupportedURLType(i.protocol,r)}return t}function fromAlias(t,r){const i=npa(t.rawSpec.substr(4),r);if(i.type==="alias"){throw new Error("nested aliases not supported")}if(!i.registry){throw new Error("aliases only work for registry deps")}if(!i.name){throw new Error("aliases must have a name")}t.subSpec=i;t.registry=true;t.type="alias";t.saveSpec=null;t.fetchSpec=null;return t}function fromRegistry(t){t.registry=true;const r=t.rawSpec.trim();t.saveSpec=null;t.fetchSpec=r;const i=u.valid(r,true);const o=u.validRange(r,true);if(i){t.type="version"}else if(o){t.type="range"}else{if(encodeURIComponent(r)!==r){throw invalidTagName(r,t.raw)}t.type="tag"}return t}},669:t=>{const r=Symbol("proc-log.meta");t.exports={META:r,output:{LEVELS:["standard","error","buffer","flush"],KEYS:{standard:"standard",error:"error",buffer:"buffer",flush:"flush"},standard:function(...t){return process.emit("output","standard",...t)},error:function(...t){return process.emit("output","error",...t)},buffer:function(...t){return process.emit("output","buffer",...t)},flush:function(...t){return process.emit("output","flush",...t)}},log:{LEVELS:["notice","error","warn","info","verbose","http","silly","timing","pause","resume"],KEYS:{notice:"notice",error:"error",warn:"warn",info:"info",verbose:"verbose",http:"http",silly:"silly",timing:"timing",pause:"pause",resume:"resume"},error:function(...t){return process.emit("log","error",...t)},notice:function(...t){return process.emit("log","notice",...t)},warn:function(...t){return process.emit("log","warn",...t)},info:function(...t){return process.emit("log","info",...t)},verbose:function(...t){return process.emit("log","verbose",...t)},http:function(...t){return process.emit("log","http",...t)},silly:function(...t){return process.emit("log","silly",...t)},timing:function(...t){return process.emit("log","timing",...t)},pause:function(){return process.emit("log","pause")},resume:function(){return process.emit("log","resume")}},time:{LEVELS:["start","end"],KEYS:{start:"start",end:"end"},start:function(t,r){process.emit("time","start",t);function end(){return process.emit("time","end",t)}if(typeof r==="function"){const t=r();if(t&&t.finally){return t.finally(end)}end();return t}return end},end:function(t){return process.emit("time","end",t)}},input:{LEVELS:["start","end","read"],KEYS:{start:"start",end:"end",read:"read"},start:function(t){process.emit("input","start");function end(){return process.emit("input","end")}if(typeof t==="function"){const r=t();if(r&&r.finally){return r.finally(end)}end();return r}return end},end:function(){return process.emit("input","end")},read:function(...t){let r,i;const o=new Promise(((t,o)=>{r=t;i=o}));process.emit("input","read",r,i,...t);return o}}}},5642:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};const a=o(i(7987));function spawnAsync(t,r,i={}){const o=new Error;const u=o.stack?o.stack.replace(/^.*/," ..."):null;let l;let h=new Promise(((o,h)=>{let{ignoreStdio:p,...d}=i;l=(0,a.default)(t,r,d);let m="";let g="";if(!p){if(l.stdout){l.stdout.on("data",(t=>{m+=t}))}if(l.stderr){l.stderr.on("data",(t=>{g+=t}))}}let completionListener=(i,a)=>{l.removeListener("error",errorListener);let p={pid:l.pid,output:[m,g],stdout:m,stderr:g,status:i,signal:a};if(i!==0){let o=r&&r.length>0?` ${r.join(" ")}`:"";let l=a?new Error(`${t}${o} exited with signal: ${a}`):new Error(`${t}${o} exited with non-zero code: ${i}`);if(l.stack&&u){l.stack+=`\n${u}`}Object.assign(l,p);h(l)}else{o(p)}};let errorListener=t=>{if(p){l.removeListener("exit",completionListener)}else{l.removeListener("close",completionListener)}Object.assign(t,{pid:l.pid,output:[m,g],stdout:m,stderr:g,status:null,signal:null});h(t)};if(p){l.once("exit",completionListener)}else{l.once("close",completionListener)}l.once("error",errorListener)}));h.child=l;return h}t.exports=spawnAsync},3741:(t,r,i)=>{"use strict";t=i.nmd(t);const wrapAnsi16=(t,r)=>(...i)=>{const o=t(...i);return`[${o+r}m`};const wrapAnsi256=(t,r)=>(...i)=>{const o=t(...i);return`[${38+r};5;${o}m`};const wrapAnsi16m=(t,r)=>(...i)=>{const o=t(...i);return`[${38+r};2;${o[0]};${o[1]};${o[2]}m`};const ansi2ansi=t=>t;const rgb2rgb=(t,r,i)=>[t,r,i];const setLazyProperty=(t,r,i)=>{Object.defineProperty(t,r,{get:()=>{const o=i();Object.defineProperty(t,r,{value:o,enumerable:true,configurable:true});return o},enumerable:true,configurable:true})};let o;const makeDynamicStyles=(t,r,a,u)=>{if(o===undefined){o=i(2830)}const l=u?10:0;const h={};for(const[i,u]of Object.entries(o)){const o=i==="ansi16"?"ansi":i;if(i===r){h[o]=t(a,l)}else if(typeof u==="object"){h[o]=t(u[r],l)}}return h};function assembleStyles(){const t=new Map;const r={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};r.color.gray=r.color.blackBright;r.bgColor.bgGray=r.bgColor.bgBlackBright;r.color.grey=r.color.blackBright;r.bgColor.bgGrey=r.bgColor.bgBlackBright;for(const[i,o]of Object.entries(r)){for(const[i,a]of Object.entries(o)){r[i]={open:`[${a[0]}m`,close:`[${a[1]}m`};o[i]=r[i];t.set(a[0],a[1])}Object.defineProperty(r,i,{value:o,enumerable:false})}Object.defineProperty(r,"codes",{value:t,enumerable:false});r.color.close="";r.bgColor.close="";setLazyProperty(r.color,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,false)));setLazyProperty(r.color,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,false)));setLazyProperty(r.color,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,false)));setLazyProperty(r.bgColor,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,true)));setLazyProperty(r.bgColor,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,true)));setLazyProperty(r.bgColor,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,true)));return r}Object.defineProperty(t,"exports",{enumerable:true,get:assembleStyles})},4816:t=>{const r=Symbol("arg flag");class ArgError extends Error{constructor(t,r){super(t);this.name="ArgError";this.code=r;Object.setPrototypeOf(this,ArgError.prototype)}}function arg(t,{argv:i=process.argv.slice(2),permissive:o=false,stopAtPositional:a=false}={}){if(!t){throw new ArgError("argument specification object is required","ARG_CONFIG_NO_SPEC")}const u={_:[]};const l={};const h={};for(const i of Object.keys(t)){if(!i){throw new ArgError("argument key cannot be an empty string","ARG_CONFIG_EMPTY_KEY")}if(i[0]!=="-"){throw new ArgError(`argument key must start with '-' but found: '${i}'`,"ARG_CONFIG_NONOPT_KEY")}if(i.length===1){throw new ArgError(`argument key must have a name; singular '-' keys are not allowed: ${i}`,"ARG_CONFIG_NONAME_KEY")}if(typeof t[i]==="string"){l[i]=t[i];continue}let o=t[i];let a=false;if(Array.isArray(o)&&o.length===1&&typeof o[0]==="function"){const[t]=o;o=(r,i,o=[])=>{o.push(t(r,i,o[o.length-1]));return o};a=t===Boolean||t[r]===true}else if(typeof o==="function"){a=o===Boolean||o[r]===true}else{throw new ArgError(`type missing or not a function or valid array type: ${i}`,"ARG_CONFIG_VAD_TYPE")}if(i[1]!=="-"&&i.length>2){throw new ArgError(`short argument keys (with a single hyphen) must have only one character: ${i}`,"ARG_CONFIG_SHORTOPT_TOOLONG")}h[i]=[o,a]}for(let t=0,r=i.length;t<r;t++){const r=i[t];if(a&&u._.length>0){u._=u._.concat(i.slice(t));break}if(r==="--"){u._=u._.concat(i.slice(t+1));break}if(r.length>1&&r[0]==="-"){const a=r[1]==="-"||r.length===2?[r]:r.slice(1).split("").map((t=>`-${t}`));for(let r=0;r<a.length;r++){const p=a[r];const[d,m]=p[1]==="-"?p.split(/=(.*)/,2):[p,undefined];let g=d;while(g in l){g=l[g]}if(!(g in h)){if(o){u._.push(p);continue}else{throw new ArgError(`unknown or unexpected option: ${d}`,"ARG_UNKNOWN_OPTION")}}const[y,v]=h[g];if(!v&&r+1<a.length){throw new ArgError(`option requires argument (but was followed by another short argument): ${d}`,"ARG_MISSING_REQUIRED_SHORTARG")}if(v){u[g]=y(true,g,u[g])}else if(m===undefined){if(i.length<t+2||i[t+1].length>1&&i[t+1][0]==="-"&&!(i[t+1].match(/^-?\d*(\.(?=\d))?\d*$/)&&(y===Number||typeof BigInt!=="undefined"&&y===BigInt))){const t=d===g?"":` (alias for ${g})`;throw new ArgError(`option requires argument: ${d}${t}`,"ARG_MISSING_REQUIRED_LONGARG")}u[g]=y(i[t+1],g,u[g]);++t}else{u[g]=y(m,g,u[g])}}}else{u._.push(r)}}return u}arg.flag=t=>{t[r]=true;return t};arg.COUNT=arg.flag(((t,r,i)=>(i||0)+1));arg.ArgError=ArgError;t.exports=arg},4925:(t,r,i)=>{"use strict";const o=i(7546);const a=["assert","buffer","child_process","cluster","console","constants","crypto","dgram","dns","domain","events","fs","http","https","module","net","os","path","punycode","querystring","readline","repl","stream","string_decoder","sys","timers","tls","tty","url","util","vm","zlib"];const u={freelist:"<6.0.0",v8:">=1.0.0",process:">=1.1.0",inspector:">=8.0.0",async_hooks:">=8.1.0",http2:">=8.4.0",perf_hooks:">=8.5.0",trace_events:">=10.0.0",worker_threads:">=12.0.0","node:test":">=18.0.0"};const l={worker_threads:">=10.5.0",wasi:">=12.16.0",diagnostics_channel:"^14.17.0 || >=15.1.0"};t.exports=({version:t=process.version,experimental:r=false}={})=>{const i=[...a];for(const[r,a]of Object.entries(u)){if(t==="*"||o.satisfies(t,a)){i.push(r)}}if(r){for(const[r,a]of Object.entries(l)){if(!i.includes(r)&&(t==="*"||o.satisfies(t,a))){i.push(r)}}}return i}},8746:(t,r,i)=>{"use strict";const o=i(3741);const{stdout:a,stderr:u}=i(395);const{stringReplaceAll:l,stringEncaseCRLFWithFirstIndex:h}=i(5611);const{isArray:p}=Array;const d=["ansi","ansi","ansi256","ansi16m"];const m=Object.create(null);const applyOptions=(t,r={})=>{if(r.level&&!(Number.isInteger(r.level)&&r.level>=0&&r.level<=3)){throw new Error("The `level` option should be an integer from 0 to 3")}const i=a?a.level:0;t.level=r.level===undefined?i:r.level};class ChalkClass{constructor(t){return chalkFactory(t)}}const chalkFactory=t=>{const r={};applyOptions(r,t);r.template=(...t)=>chalkTag(r.template,...t);Object.setPrototypeOf(r,Chalk.prototype);Object.setPrototypeOf(r.template,r);r.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")};r.template.Instance=ChalkClass;return r.template};function Chalk(t){return chalkFactory(t)}for(const[t,r]of Object.entries(o)){m[t]={get(){const i=createBuilder(this,createStyler(r.open,r.close,this._styler),this._isEmpty);Object.defineProperty(this,t,{value:i});return i}}}m.visible={get(){const t=createBuilder(this,this._styler,true);Object.defineProperty(this,"visible",{value:t});return t}};const g=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const t of g){m[t]={get(){const{level:r}=this;return function(...i){const a=createStyler(o.color[d[r]][t](...i),o.color.close,this._styler);return createBuilder(this,a,this._isEmpty)}}}}for(const t of g){const r="bg"+t[0].toUpperCase()+t.slice(1);m[r]={get(){const{level:r}=this;return function(...i){const a=createStyler(o.bgColor[d[r]][t](...i),o.bgColor.close,this._styler);return createBuilder(this,a,this._isEmpty)}}}}const y=Object.defineProperties((()=>{}),{...m,level:{enumerable:true,get(){return this._generator.level},set(t){this._generator.level=t}}});const createStyler=(t,r,i)=>{let o;let a;if(i===undefined){o=t;a=r}else{o=i.openAll+t;a=r+i.closeAll}return{open:t,close:r,openAll:o,closeAll:a,parent:i}};const createBuilder=(t,r,i)=>{const builder=(...t)=>{if(p(t[0])&&p(t[0].raw)){return applyStyle(builder,chalkTag(builder,...t))}return applyStyle(builder,t.length===1?""+t[0]:t.join(" "))};Object.setPrototypeOf(builder,y);builder._generator=t;builder._styler=r;builder._isEmpty=i;return builder};const applyStyle=(t,r)=>{if(t.level<=0||!r){return t._isEmpty?"":r}let i=t._styler;if(i===undefined){return r}const{openAll:o,closeAll:a}=i;if(r.indexOf("")!==-1){while(i!==undefined){r=l(r,i.close,i.open);i=i.parent}}const u=r.indexOf("\n");if(u!==-1){r=h(r,a,o,u)}return o+r+a};let v;const chalkTag=(t,...r)=>{const[o]=r;if(!p(o)||!p(o.raw)){return r.join(" ")}const a=r.slice(1);const u=[o.raw[0]];for(let t=1;t<o.length;t++){u.push(String(a[t-1]).replace(/[{}\\]/g,"\\$&"),String(o.raw[t]))}if(v===undefined){v=i(2746)}return v(t,u.join(""))};Object.defineProperties(Chalk.prototype,m);const A=Chalk();A.supportsColor=a;A.stderr=Chalk({level:u?u.level:0});A.stderr.supportsColor=u;t.exports=A},2746:t=>{"use strict";const r=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;const i=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;const o=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;const a=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi;const u=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(t){const r=t[0]==="u";const i=t[1]==="{";if(r&&!i&&t.length===5||t[0]==="x"&&t.length===3){return String.fromCharCode(parseInt(t.slice(1),16))}if(r&&i){return String.fromCodePoint(parseInt(t.slice(2,-1),16))}return u.get(t)||t}function parseArguments(t,r){const i=[];const u=r.trim().split(/\s*,\s*/g);let l;for(const r of u){const u=Number(r);if(!Number.isNaN(u)){i.push(u)}else if(l=r.match(o)){i.push(l[2].replace(a,((t,r,i)=>r?unescape(r):i)))}else{throw new Error(`Invalid Chalk template style argument: ${r} (in style '${t}')`)}}return i}function parseStyle(t){i.lastIndex=0;const r=[];let o;while((o=i.exec(t))!==null){const t=o[1];if(o[2]){const i=parseArguments(t,o[2]);r.push([t].concat(i))}else{r.push([t])}}return r}function buildStyle(t,r){const i={};for(const t of r){for(const r of t.styles){i[r[0]]=t.inverse?null:r.slice(1)}}let o=t;for(const[t,r]of Object.entries(i)){if(!Array.isArray(r)){continue}if(!(t in o)){throw new Error(`Unknown Chalk style: ${t}`)}o=r.length>0?o[t](...r):o[t]}return o}t.exports=(t,i)=>{const o=[];const a=[];let u=[];i.replace(r,((r,i,l,h,p,d)=>{if(i){u.push(unescape(i))}else if(h){const r=u.join("");u=[];a.push(o.length===0?r:buildStyle(t,o)(r));o.push({inverse:l,styles:parseStyle(h)})}else if(p){if(o.length===0){throw new Error("Found extraneous } in Chalk template literal")}a.push(buildStyle(t,o)(u.join("")));u=[];o.pop()}else{u.push(d)}}));a.push(u.join(""));if(o.length>0){const t=`Chalk template literal is missing ${o.length} closing bracket${o.length===1?"":"s"} (\`}\`)`;throw new Error(t)}return a.join("")}},5611:t=>{"use strict";const stringReplaceAll=(t,r,i)=>{let o=t.indexOf(r);if(o===-1){return t}const a=r.length;let u=0;let l="";do{l+=t.substr(u,o-u)+r+i;u=o+a;o=t.indexOf(r,u)}while(o!==-1);l+=t.substr(u);return l};const stringEncaseCRLFWithFirstIndex=(t,r,i,o)=>{let a=0;let u="";do{const l=t[o-1]==="\r";u+=t.substr(a,(l?o-1:o)-a)+r+(l?"\r\n":"\n")+i;a=o+1;o=t.indexOf("\n",a)}while(o!==-1);u+=t.substr(a);return u};t.exports={stringReplaceAll:stringReplaceAll,stringEncaseCRLFWithFirstIndex:stringEncaseCRLFWithFirstIndex}},6845:t=>{var r=function(){"use strict";function clone(t,r,i,o){var a;if(typeof r==="object"){i=r.depth;o=r.prototype;a=r.filter;r=r.circular}var u=[];var l=[];var h=typeof Buffer!="undefined";if(typeof r=="undefined")r=true;if(typeof i=="undefined")i=Infinity;function _clone(t,i){if(t===null)return null;if(i==0)return t;var a;var p;if(typeof t!="object"){return t}if(clone.__isArray(t)){a=[]}else if(clone.__isRegExp(t)){a=new RegExp(t.source,__getRegExpFlags(t));if(t.lastIndex)a.lastIndex=t.lastIndex}else if(clone.__isDate(t)){a=new Date(t.getTime())}else if(h&&Buffer.isBuffer(t)){if(Buffer.allocUnsafe){a=Buffer.allocUnsafe(t.length)}else{a=new Buffer(t.length)}t.copy(a);return a}else{if(typeof o=="undefined"){p=Object.getPrototypeOf(t);a=Object.create(p)}else{a=Object.create(o);p=o}}if(r){var d=u.indexOf(t);if(d!=-1){return l[d]}u.push(t);l.push(a)}for(var m in t){var g;if(p){g=Object.getOwnPropertyDescriptor(p,m)}if(g&&g.set==null){continue}a[m]=_clone(t[m],i-1)}return a}return _clone(t,i)}clone.clonePrototype=function clonePrototype(t){if(t===null)return null;var c=function(){};c.prototype=t;return new c};function __objToStr(t){return Object.prototype.toString.call(t)}clone.__objToStr=__objToStr;function __isDate(t){return typeof t==="object"&&__objToStr(t)==="[object Date]"}clone.__isDate=__isDate;function __isArray(t){return typeof t==="object"&&__objToStr(t)==="[object Array]"}clone.__isArray=__isArray;function __isRegExp(t){return typeof t==="object"&&__objToStr(t)==="[object RegExp]"}clone.__isRegExp=__isRegExp;function __getRegExpFlags(t){var r="";if(t.global)r+="g";if(t.ignoreCase)r+="i";if(t.multiline)r+="m";return r}clone.__getRegExpFlags=__getRegExpFlags;return clone}();if(true&&t.exports){t.exports=r}},9598:(t,r,i)=>{const o=i(9407);const a={};for(const t of Object.keys(o)){a[o[t]]=t}const u={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};t.exports=u;for(const t of Object.keys(u)){if(!("channels"in u[t])){throw new Error("missing channels property: "+t)}if(!("labels"in u[t])){throw new Error("missing channel labels property: "+t)}if(u[t].labels.length!==u[t].channels){throw new Error("channel and label counts mismatch: "+t)}const{channels:r,labels:i}=u[t];delete u[t].channels;delete u[t].labels;Object.defineProperty(u[t],"channels",{value:r});Object.defineProperty(u[t],"labels",{value:i})}u.rgb.hsl=function(t){const r=t[0]/255;const i=t[1]/255;const o=t[2]/255;const a=Math.min(r,i,o);const u=Math.max(r,i,o);const l=u-a;let h;let p;if(u===a){h=0}else if(r===u){h=(i-o)/l}else if(i===u){h=2+(o-r)/l}else if(o===u){h=4+(r-i)/l}h=Math.min(h*60,360);if(h<0){h+=360}const d=(a+u)/2;if(u===a){p=0}else if(d<=.5){p=l/(u+a)}else{p=l/(2-u-a)}return[h,p*100,d*100]};u.rgb.hsv=function(t){let r;let i;let o;let a;let u;const l=t[0]/255;const h=t[1]/255;const p=t[2]/255;const d=Math.max(l,h,p);const m=d-Math.min(l,h,p);const diffc=function(t){return(d-t)/6/m+1/2};if(m===0){a=0;u=0}else{u=m/d;r=diffc(l);i=diffc(h);o=diffc(p);if(l===d){a=o-i}else if(h===d){a=1/3+r-o}else if(p===d){a=2/3+i-r}if(a<0){a+=1}else if(a>1){a-=1}}return[a*360,u*100,d*100]};u.rgb.hwb=function(t){const r=t[0];const i=t[1];let o=t[2];const a=u.rgb.hsl(t)[0];const l=1/255*Math.min(r,Math.min(i,o));o=1-1/255*Math.max(r,Math.max(i,o));return[a,l*100,o*100]};u.rgb.cmyk=function(t){const r=t[0]/255;const i=t[1]/255;const o=t[2]/255;const a=Math.min(1-r,1-i,1-o);const u=(1-r-a)/(1-a)||0;const l=(1-i-a)/(1-a)||0;const h=(1-o-a)/(1-a)||0;return[u*100,l*100,h*100,a*100]};function comparativeDistance(t,r){return(t[0]-r[0])**2+(t[1]-r[1])**2+(t[2]-r[2])**2}u.rgb.keyword=function(t){const r=a[t];if(r){return r}let i=Infinity;let u;for(const r of Object.keys(o)){const a=o[r];const l=comparativeDistance(t,a);if(l<i){i=l;u=r}}return u};u.keyword.rgb=function(t){return o[t]};u.rgb.xyz=function(t){let r=t[0]/255;let i=t[1]/255;let o=t[2]/255;r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;i=i>.04045?((i+.055)/1.055)**2.4:i/12.92;o=o>.04045?((o+.055)/1.055)**2.4:o/12.92;const a=r*.4124+i*.3576+o*.1805;const u=r*.2126+i*.7152+o*.0722;const l=r*.0193+i*.1192+o*.9505;return[a*100,u*100,l*100]};u.rgb.lab=function(t){const r=u.rgb.xyz(t);let i=r[0];let o=r[1];let a=r[2];i/=95.047;o/=100;a/=108.883;i=i>.008856?i**(1/3):7.787*i+16/116;o=o>.008856?o**(1/3):7.787*o+16/116;a=a>.008856?a**(1/3):7.787*a+16/116;const l=116*o-16;const h=500*(i-o);const p=200*(o-a);return[l,h,p]};u.hsl.rgb=function(t){const r=t[0]/360;const i=t[1]/100;const o=t[2]/100;let a;let u;let l;if(i===0){l=o*255;return[l,l,l]}if(o<.5){a=o*(1+i)}else{a=o+i-o*i}const h=2*o-a;const p=[0,0,0];for(let t=0;t<3;t++){u=r+1/3*-(t-1);if(u<0){u++}if(u>1){u--}if(6*u<1){l=h+(a-h)*6*u}else if(2*u<1){l=a}else if(3*u<2){l=h+(a-h)*(2/3-u)*6}else{l=h}p[t]=l*255}return p};u.hsl.hsv=function(t){const r=t[0];let i=t[1]/100;let o=t[2]/100;let a=i;const u=Math.max(o,.01);o*=2;i*=o<=1?o:2-o;a*=u<=1?u:2-u;const l=(o+i)/2;const h=o===0?2*a/(u+a):2*i/(o+i);return[r,h*100,l*100]};u.hsv.rgb=function(t){const r=t[0]/60;const i=t[1]/100;let o=t[2]/100;const a=Math.floor(r)%6;const u=r-Math.floor(r);const l=255*o*(1-i);const h=255*o*(1-i*u);const p=255*o*(1-i*(1-u));o*=255;switch(a){case 0:return[o,p,l];case 1:return[h,o,l];case 2:return[l,o,p];case 3:return[l,h,o];case 4:return[p,l,o];case 5:return[o,l,h]}};u.hsv.hsl=function(t){const r=t[0];const i=t[1]/100;const o=t[2]/100;const a=Math.max(o,.01);let u;let l;l=(2-i)*o;const h=(2-i)*a;u=i*a;u/=h<=1?h:2-h;u=u||0;l/=2;return[r,u*100,l*100]};u.hwb.rgb=function(t){const r=t[0]/360;let i=t[1]/100;let o=t[2]/100;const a=i+o;let u;if(a>1){i/=a;o/=a}const l=Math.floor(6*r);const h=1-o;u=6*r-l;if((l&1)!==0){u=1-u}const p=i+u*(h-i);let d;let m;let g;switch(l){default:case 6:case 0:d=h;m=p;g=i;break;case 1:d=p;m=h;g=i;break;case 2:d=i;m=h;g=p;break;case 3:d=i;m=p;g=h;break;case 4:d=p;m=i;g=h;break;case 5:d=h;m=i;g=p;break}return[d*255,m*255,g*255]};u.cmyk.rgb=function(t){const r=t[0]/100;const i=t[1]/100;const o=t[2]/100;const a=t[3]/100;const u=1-Math.min(1,r*(1-a)+a);const l=1-Math.min(1,i*(1-a)+a);const h=1-Math.min(1,o*(1-a)+a);return[u*255,l*255,h*255]};u.xyz.rgb=function(t){const r=t[0]/100;const i=t[1]/100;const o=t[2]/100;let a;let u;let l;a=r*3.2406+i*-1.5372+o*-.4986;u=r*-.9689+i*1.8758+o*.0415;l=r*.0557+i*-.204+o*1.057;a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92;u=u>.0031308?1.055*u**(1/2.4)-.055:u*12.92;l=l>.0031308?1.055*l**(1/2.4)-.055:l*12.92;a=Math.min(Math.max(0,a),1);u=Math.min(Math.max(0,u),1);l=Math.min(Math.max(0,l),1);return[a*255,u*255,l*255]};u.xyz.lab=function(t){let r=t[0];let i=t[1];let o=t[2];r/=95.047;i/=100;o/=108.883;r=r>.008856?r**(1/3):7.787*r+16/116;i=i>.008856?i**(1/3):7.787*i+16/116;o=o>.008856?o**(1/3):7.787*o+16/116;const a=116*i-16;const u=500*(r-i);const l=200*(i-o);return[a,u,l]};u.lab.xyz=function(t){const r=t[0];const i=t[1];const o=t[2];let a;let u;let l;u=(r+16)/116;a=i/500+u;l=u-o/200;const h=u**3;const p=a**3;const d=l**3;u=h>.008856?h:(u-16/116)/7.787;a=p>.008856?p:(a-16/116)/7.787;l=d>.008856?d:(l-16/116)/7.787;a*=95.047;u*=100;l*=108.883;return[a,u,l]};u.lab.lch=function(t){const r=t[0];const i=t[1];const o=t[2];let a;const u=Math.atan2(o,i);a=u*360/2/Math.PI;if(a<0){a+=360}const l=Math.sqrt(i*i+o*o);return[r,l,a]};u.lch.lab=function(t){const r=t[0];const i=t[1];const o=t[2];const a=o/360*2*Math.PI;const u=i*Math.cos(a);const l=i*Math.sin(a);return[r,u,l]};u.rgb.ansi16=function(t,r=null){const[i,o,a]=t;let l=r===null?u.rgb.hsv(t)[2]:r;l=Math.round(l/50);if(l===0){return 30}let h=30+(Math.round(a/255)<<2|Math.round(o/255)<<1|Math.round(i/255));if(l===2){h+=60}return h};u.hsv.ansi16=function(t){return u.rgb.ansi16(u.hsv.rgb(t),t[2])};u.rgb.ansi256=function(t){const r=t[0];const i=t[1];const o=t[2];if(r===i&&i===o){if(r<8){return 16}if(r>248){return 231}return Math.round((r-8)/247*24)+232}const a=16+36*Math.round(r/255*5)+6*Math.round(i/255*5)+Math.round(o/255*5);return a};u.ansi16.rgb=function(t){let r=t%10;if(r===0||r===7){if(t>50){r+=3.5}r=r/10.5*255;return[r,r,r]}const i=(~~(t>50)+1)*.5;const o=(r&1)*i*255;const a=(r>>1&1)*i*255;const u=(r>>2&1)*i*255;return[o,a,u]};u.ansi256.rgb=function(t){if(t>=232){const r=(t-232)*10+8;return[r,r,r]}t-=16;let r;const i=Math.floor(t/36)/5*255;const o=Math.floor((r=t%36)/6)/5*255;const a=r%6/5*255;return[i,o,a]};u.rgb.hex=function(t){const r=((Math.round(t[0])&255)<<16)+((Math.round(t[1])&255)<<8)+(Math.round(t[2])&255);const i=r.toString(16).toUpperCase();return"000000".substring(i.length)+i};u.hex.rgb=function(t){const r=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!r){return[0,0,0]}let i=r[0];if(r[0].length===3){i=i.split("").map((t=>t+t)).join("")}const o=parseInt(i,16);const a=o>>16&255;const u=o>>8&255;const l=o&255;return[a,u,l]};u.rgb.hcg=function(t){const r=t[0]/255;const i=t[1]/255;const o=t[2]/255;const a=Math.max(Math.max(r,i),o);const u=Math.min(Math.min(r,i),o);const l=a-u;let h;let p;if(l<1){h=u/(1-l)}else{h=0}if(l<=0){p=0}else if(a===r){p=(i-o)/l%6}else if(a===i){p=2+(o-r)/l}else{p=4+(r-i)/l}p/=6;p%=1;return[p*360,l*100,h*100]};u.hsl.hcg=function(t){const r=t[1]/100;const i=t[2]/100;const o=i<.5?2*r*i:2*r*(1-i);let a=0;if(o<1){a=(i-.5*o)/(1-o)}return[t[0],o*100,a*100]};u.hsv.hcg=function(t){const r=t[1]/100;const i=t[2]/100;const o=r*i;let a=0;if(o<1){a=(i-o)/(1-o)}return[t[0],o*100,a*100]};u.hcg.rgb=function(t){const r=t[0]/360;const i=t[1]/100;const o=t[2]/100;if(i===0){return[o*255,o*255,o*255]}const a=[0,0,0];const u=r%1*6;const l=u%1;const h=1-l;let p=0;switch(Math.floor(u)){case 0:a[0]=1;a[1]=l;a[2]=0;break;case 1:a[0]=h;a[1]=1;a[2]=0;break;case 2:a[0]=0;a[1]=1;a[2]=l;break;case 3:a[0]=0;a[1]=h;a[2]=1;break;case 4:a[0]=l;a[1]=0;a[2]=1;break;default:a[0]=1;a[1]=0;a[2]=h}p=(1-i)*o;return[(i*a[0]+p)*255,(i*a[1]+p)*255,(i*a[2]+p)*255]};u.hcg.hsv=function(t){const r=t[1]/100;const i=t[2]/100;const o=r+i*(1-r);let a=0;if(o>0){a=r/o}return[t[0],a*100,o*100]};u.hcg.hsl=function(t){const r=t[1]/100;const i=t[2]/100;const o=i*(1-r)+.5*r;let a=0;if(o>0&&o<.5){a=r/(2*o)}else if(o>=.5&&o<1){a=r/(2*(1-o))}return[t[0],a*100,o*100]};u.hcg.hwb=function(t){const r=t[1]/100;const i=t[2]/100;const o=r+i*(1-r);return[t[0],(o-r)*100,(1-o)*100]};u.hwb.hcg=function(t){const r=t[1]/100;const i=t[2]/100;const o=1-i;const a=o-r;let u=0;if(a<1){u=(o-a)/(1-a)}return[t[0],a*100,u*100]};u.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]};u.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]};u.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]};u.gray.hsl=function(t){return[0,0,t[0]]};u.gray.hsv=u.gray.hsl;u.gray.hwb=function(t){return[0,100,t[0]]};u.gray.cmyk=function(t){return[0,0,0,t[0]]};u.gray.lab=function(t){return[t[0],0,0]};u.gray.hex=function(t){const r=Math.round(t[0]/100*255)&255;const i=(r<<16)+(r<<8)+r;const o=i.toString(16).toUpperCase();return"000000".substring(o.length)+o};u.rgb.gray=function(t){const r=(t[0]+t[1]+t[2])/3;return[r/255*100]}},2830:(t,r,i)=>{const o=i(9598);const a=i(5180);const u={};const l=Object.keys(o);function wrapRaw(t){const wrappedFn=function(...r){const i=r[0];if(i===undefined||i===null){return i}if(i.length>1){r=i}return t(r)};if("conversion"in t){wrappedFn.conversion=t.conversion}return wrappedFn}function wrapRounded(t){const wrappedFn=function(...r){const i=r[0];if(i===undefined||i===null){return i}if(i.length>1){r=i}const o=t(r);if(typeof o==="object"){for(let t=o.length,r=0;r<t;r++){o[r]=Math.round(o[r])}}return o};if("conversion"in t){wrappedFn.conversion=t.conversion}return wrappedFn}l.forEach((t=>{u[t]={};Object.defineProperty(u[t],"channels",{value:o[t].channels});Object.defineProperty(u[t],"labels",{value:o[t].labels});const r=a(t);const i=Object.keys(r);i.forEach((i=>{const o=r[i];u[t][i]=wrapRounded(o);u[t][i].raw=wrapRaw(o)}))}));t.exports=u},5180:(t,r,i)=>{const o=i(9598);function buildGraph(){const t={};const r=Object.keys(o);for(let i=r.length,o=0;o<i;o++){t[r[o]]={distance:-1,parent:null}}return t}function deriveBFS(t){const r=buildGraph();const i=[t];r[t].distance=0;while(i.length){const t=i.pop();const a=Object.keys(o[t]);for(let o=a.length,u=0;u<o;u++){const o=a[u];const l=r[o];if(l.distance===-1){l.distance=r[t].distance+1;l.parent=t;i.unshift(o)}}}return r}function link(t,r){return function(i){return r(t(i))}}function wrapConversion(t,r){const i=[r[t].parent,t];let a=o[r[t].parent][t];let u=r[t].parent;while(r[u].parent){i.unshift(r[u].parent);a=link(o[r[u].parent][u],a);u=r[u].parent}a.conversion=i;return a}t.exports=function(t){const r=deriveBFS(t);const i={};const o=Object.keys(r);for(let t=o.length,a=0;a<t;a++){const t=o[a];const u=r[t];if(u.parent===null){continue}i[t]=wrapConversion(t,r)}return i}},9407:t=>{"use strict";t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},7987:(t,r,i)=>{"use strict";const o=i(2081);const a=i(1655);const u=i(9738);function spawn(t,r,i){const l=a(t,r,i);const h=o.spawn(l.command,l.args,l.options);u.hookChildProcess(h,l);return h}function spawnSync(t,r,i){const l=a(t,r,i);const h=o.spawnSync(l.command,l.args,l.options);h.error=h.error||u.verifyENOENTSync(h.status,l);return h}t.exports=spawn;t.exports.spawn=spawn;t.exports.sync=spawnSync;t.exports._parse=a;t.exports._enoent=u},9738:t=>{"use strict";const r=process.platform==="win32";function notFoundError(t,r){return Object.assign(new Error(`${r} ${t.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${r} ${t.command}`,path:t.command,spawnargs:t.args})}function hookChildProcess(t,i){if(!r){return}const o=t.emit;t.emit=function(r,a){if(r==="exit"){const r=verifyENOENT(a,i,"spawn");if(r){return o.call(t,"error",r)}}return o.apply(t,arguments)}}function verifyENOENT(t,i){if(r&&t===1&&!i.file){return notFoundError(i.original,"spawn")}return null}function verifyENOENTSync(t,i){if(r&&t===1&&!i.file){return notFoundError(i.original,"spawnSync")}return null}t.exports={hookChildProcess:hookChildProcess,verifyENOENT:verifyENOENT,verifyENOENTSync:verifyENOENTSync,notFoundError:notFoundError}},1655:(t,r,i)=>{"use strict";const o=i(1017);const a=i(7534);const u=i(8902);const l=i(2964);const h=process.platform==="win32";const p=/\.(?:com|exe)$/i;const d=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function detectShebang(t){t.file=a(t);const r=t.file&&l(t.file);if(r){t.args.unshift(t.file);t.command=r;return a(t)}return t.file}function parseNonShell(t){if(!h){return t}const r=detectShebang(t);const i=!p.test(r);if(t.options.forceShell||i){const i=d.test(r);t.command=o.normalize(t.command);t.command=u.command(t.command);t.args=t.args.map((t=>u.argument(t,i)));const a=[t.command].concat(t.args).join(" ");t.args=["/d","/s","/c",`"${a}"`];t.command=process.env.comspec||"cmd.exe";t.options.windowsVerbatimArguments=true}return t}function parse(t,r,i){if(r&&!Array.isArray(r)){i=r;r=null}r=r?r.slice(0):[];i=Object.assign({},i);const o={command:t,args:r,options:i,file:undefined,original:{command:t,args:r}};return i.shell?o:parseNonShell(o)}t.exports=parse},8902:t=>{"use strict";const r=/([()\][%!^"`<>&|;, *?])/g;function escapeCommand(t){t=t.replace(r,"^$1");return t}function escapeArgument(t,i){t=`${t}`;t=t.replace(/(\\*)"/g,'$1$1\\"');t=t.replace(/(\\*)$/,"$1$1");t=`"${t}"`;t=t.replace(r,"^$1");if(i){t=t.replace(r,"^$1")}return t}t.exports.command=escapeCommand;t.exports.argument=escapeArgument},2964:(t,r,i)=>{"use strict";const o=i(7147);const a=i(4970);function readShebang(t){const r=150;const i=Buffer.alloc(r);let u;try{u=o.openSync(t,"r");o.readSync(u,i,0,r,0);o.closeSync(u)}catch(t){}return a(i.toString())}t.exports=readShebang},7534:(t,r,i)=>{"use strict";const o=i(1017);const a=i(6362);const u=i(2170);function resolveCommandAttempt(t,r){const i=t.options.env||process.env;const l=process.cwd();const h=t.options.cwd!=null;const p=h&&process.chdir!==undefined&&!process.chdir.disabled;if(p){try{process.chdir(t.options.cwd)}catch(t){}}let d;try{d=a.sync(t.command,{path:i[u({env:i})],pathExt:r?o.delimiter:undefined})}catch(t){}finally{if(p){process.chdir(l)}}if(d){d=o.resolve(h?t.options.cwd:"",d)}return d}function resolveCommand(t){return resolveCommandAttempt(t)||resolveCommandAttempt(t,true)}t.exports=resolveCommand},6362:(t,r,i)=>{const o=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys";const a=i(1017);const u=o?";":":";const l=i(228);const getNotFoundError=t=>Object.assign(new Error(`not found: ${t}`),{code:"ENOENT"});const getPathInfo=(t,r)=>{const i=r.colon||u;const a=t.match(/\//)||o&&t.match(/\\/)?[""]:[...o?[process.cwd()]:[],...(r.path||process.env.PATH||"").split(i)];const l=o?r.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"";const h=o?l.split(i):[""];if(o){if(t.indexOf(".")!==-1&&h[0]!=="")h.unshift("")}return{pathEnv:a,pathExt:h,pathExtExe:l}};const which=(t,r,i)=>{if(typeof r==="function"){i=r;r={}}if(!r)r={};const{pathEnv:o,pathExt:u,pathExtExe:h}=getPathInfo(t,r);const p=[];const step=i=>new Promise(((u,l)=>{if(i===o.length)return r.all&&p.length?u(p):l(getNotFoundError(t));const h=o[i];const d=/^".*"$/.test(h)?h.slice(1,-1):h;const m=a.join(d,t);const g=!d&&/^\.[\\\/]/.test(t)?t.slice(0,2)+m:m;u(subStep(g,i,0))}));const subStep=(t,i,o)=>new Promise(((a,d)=>{if(o===u.length)return a(step(i+1));const m=u[o];l(t+m,{pathExt:h},((u,l)=>{if(!u&&l){if(r.all)p.push(t+m);else return a(t+m)}return a(subStep(t,i,o+1))}))}));return i?step(0).then((t=>i(null,t)),i):step(0)};const whichSync=(t,r)=>{r=r||{};const{pathEnv:i,pathExt:o,pathExtExe:u}=getPathInfo(t,r);const h=[];for(let p=0;p<i.length;p++){const d=i[p];const m=/^".*"$/.test(d)?d.slice(1,-1):d;const g=a.join(m,t);const y=!m&&/^\.[\\\/]/.test(t)?t.slice(0,2)+g:g;for(let t=0;t<o.length;t++){const i=y+o[t];try{const t=l.sync(i,{pathExt:u});if(t){if(r.all)h.push(i);else return i}}catch(t){}}}if(r.all&&h.length)return h;if(r.nothrow)return null;throw getNotFoundError(t)};t.exports=which;which.sync=whichSync},5134:t=>{"use strict";
2
+ (()=>{var __webpack_modules__={2421:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.shouldHighlight=shouldHighlight;r.getChalk=getChalk;r["default"]=highlight;var o=i(1697);const a=i(8035);const u=i(6870);const l=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.grey,invalid:t.white.bgRed.bold}}const h=/\r\n|[\n\r\u2028\u2029]/;const p=/^[()[\]{}]$/;let d;{const t=/^[a-z][\w-]*$/i;const getTokenType=function(r,i,a){if(r.type==="name"){if((0,o.isKeyword)(r.value)||(0,o.isStrictReservedWord)(r.value,true)||l.has(r.value)){return"keyword"}if(t.test(r.value)&&(a[i-1]==="<"||a.substr(i-2,2)=="</")){return"jsxIdentifier"}if(r.value[0]!==r.value[0].toLowerCase()){return"capitalized"}}if(r.type==="punctuator"&&p.test(r.value)){return"bracket"}if(r.type==="invalid"&&(r.value==="@"||r.value==="#")){return"punctuator"}return r.type};d=function*(t){let r;while(r=a.default.exec(t)){const i=a.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 d(r)){const r=t[o];if(r){i+=a.split(h).map((t=>r(t))).join("\n")}else{i+=a}}return i}function shouldHighlight(t){return!!u.supportsColor||t.forceColor}function getChalk(t){return t.forceColor?new u.constructor({enabled:true,level:1}):u}function highlight(t,r={}){if(shouldHighlight(r)){const i=getChalk(r);const o=getDefs(i);return highlightTokens(o,t)}else{return t}}},3282:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isIdentifierStart=isIdentifierStart;r.isIdentifierChar=isIdentifierChar;r.isIdentifierName=isIdentifierName;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,157,310,10,21,11,7,153,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,107,20,28,22,13,52,76,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,85,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,230,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,35,56,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,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,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,8952,286,50,2,18,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,2357,44,11,6,17,0,370,43,1301,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,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];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,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,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,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,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,262,6,10,9,419,13,1495,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,o=Array.from(t);i<o.length;i++){const t=o[i];const a=t.codePointAt(0);if(r){if(!isIdentifierStart(a)){return false}r=false}else if(!isIdentifierChar(a)){return false}}return!r}},1697:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"isIdentifierName",{enumerable:true,get:function(){return o.isIdentifierName}});Object.defineProperty(r,"isIdentifierChar",{enumerable:true,get:function(){return o.isIdentifierChar}});Object.defineProperty(r,"isIdentifierStart",{enumerable:true,get:function(){return o.isIdentifierStart}});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}});Object.defineProperty(r,"isKeyword",{enumerable:true,get:function(){return a.isKeyword}});var o=i(3282);var a=i(8996)},8996:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isReservedWord=isReservedWord;r.isStrictReservedWord=isStrictReservedWord;r.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;r.isStrictBindReservedWord=isStrictBindReservedWord;r.isKeyword=isKeyword;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)}},4971:(t,r,i)=>{"use strict";t=i.nmd(t);const o=i(3595);const wrapAnsi16=(t,r)=>function(){const i=t.apply(o,arguments);return`[${i+r}m`};const wrapAnsi256=(t,r)=>function(){const i=t.apply(o,arguments);return`[${38+r};5;${i}m`};const wrapAnsi16m=(t,r)=>function(){const i=t.apply(o,arguments);return`[${38+r};2;${i[0]};${i[1]};${i[2]}m`};function assembleStyles(){const t=new Map;const r={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};r.color.grey=r.color.gray;for(const i of Object.keys(r)){const o=r[i];for(const i of Object.keys(o)){const a=o[i];r[i]={open:`[${a[0]}m`,close:`[${a[1]}m`};o[i]=r[i];t.set(a[0],a[1])}Object.defineProperty(r,i,{value:o,enumerable:false});Object.defineProperty(r,"codes",{value:t,enumerable:false})}const ansi2ansi=t=>t;const rgb2rgb=(t,r,i)=>[t,r,i];r.color.close="";r.bgColor.close="";r.color.ansi={ansi:wrapAnsi16(ansi2ansi,0)};r.color.ansi256={ansi256:wrapAnsi256(ansi2ansi,0)};r.color.ansi16m={rgb:wrapAnsi16m(rgb2rgb,0)};r.bgColor.ansi={ansi:wrapAnsi16(ansi2ansi,10)};r.bgColor.ansi256={ansi256:wrapAnsi256(ansi2ansi,10)};r.bgColor.ansi16m={rgb:wrapAnsi16m(rgb2rgb,10)};for(let t of Object.keys(o)){if(typeof o[t]!=="object"){continue}const i=o[t];if(t==="ansi16"){t="ansi"}if("ansi16"in i){r.color.ansi[t]=wrapAnsi16(i.ansi16,0);r.bgColor.ansi[t]=wrapAnsi16(i.ansi16,10)}if("ansi256"in i){r.color.ansi256[t]=wrapAnsi256(i.ansi256,0);r.bgColor.ansi256[t]=wrapAnsi256(i.ansi256,10)}if("rgb"in i){r.color.ansi16m[t]=wrapAnsi16m(i.rgb,0);r.bgColor.ansi16m[t]=wrapAnsi16m(i.rgb,10)}}return r}Object.defineProperty(t,"exports",{enumerable:true,get:assembleStyles})},6870:(t,r,i)=>{"use strict";const o=i(6003);const a=i(4971);const u=i(1851).stdout;const l=i(6094);const h=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm");const p=["ansi","ansi","ansi256","ansi16m"];const d=new Set(["gray"]);const m=Object.create(null);function applyOptions(t,r){r=r||{};const i=u?u.level:0;t.level=r.level===undefined?i:r.level;t.enabled="enabled"in r?r.enabled:t.level>0}function Chalk(t){if(!this||!(this instanceof Chalk)||this.template){const r={};applyOptions(r,t);r.template=function(){const t=[].slice.call(arguments);return chalkTag.apply(null,[r.template].concat(t))};Object.setPrototypeOf(r,Chalk.prototype);Object.setPrototypeOf(r.template,r);r.template.constructor=Chalk;return r.template}applyOptions(this,t)}if(h){a.blue.open=""}for(const t of Object.keys(a)){a[t].closeRe=new RegExp(o(a[t].close),"g");m[t]={get(){const r=a[t];return build.call(this,this._styles?this._styles.concat(r):[r],this._empty,t)}}}m.visible={get(){return build.call(this,this._styles||[],true,"visible")}};a.color.closeRe=new RegExp(o(a.color.close),"g");for(const t of Object.keys(a.color.ansi)){if(d.has(t)){continue}m[t]={get(){const r=this.level;return function(){const i=a.color[p[r]][t].apply(null,arguments);const o={open:i,close:a.color.close,closeRe:a.color.closeRe};return build.call(this,this._styles?this._styles.concat(o):[o],this._empty,t)}}}}a.bgColor.closeRe=new RegExp(o(a.bgColor.close),"g");for(const t of Object.keys(a.bgColor.ansi)){if(d.has(t)){continue}const r="bg"+t[0].toUpperCase()+t.slice(1);m[r]={get(){const r=this.level;return function(){const i=a.bgColor[p[r]][t].apply(null,arguments);const o={open:i,close:a.bgColor.close,closeRe:a.bgColor.closeRe};return build.call(this,this._styles?this._styles.concat(o):[o],this._empty,t)}}}}const g=Object.defineProperties((()=>{}),m);function build(t,r,i){const builder=function(){return applyStyle.apply(builder,arguments)};builder._styles=t;builder._empty=r;const o=this;Object.defineProperty(builder,"level",{enumerable:true,get(){return o.level},set(t){o.level=t}});Object.defineProperty(builder,"enabled",{enumerable:true,get(){return o.enabled},set(t){o.enabled=t}});builder.hasGrey=this.hasGrey||i==="gray"||i==="grey";builder.__proto__=g;return builder}function applyStyle(){const t=arguments;const r=t.length;let i=String(arguments[0]);if(r===0){return""}if(r>1){for(let o=1;o<r;o++){i+=" "+t[o]}}if(!this.enabled||this.level<=0||!i){return this._empty?"":i}const o=a.dim.open;if(h&&this.hasGrey){a.dim.open=""}for(const t of this._styles.slice().reverse()){i=t.open+i.replace(t.closeRe,t.open)+t.close;i=i.replace(/\r?\n/g,`${t.close}$&${t.open}`)}a.dim.open=o;return i}function chalkTag(t,r){if(!Array.isArray(r)){return[].slice.call(arguments,1).join(" ")}const i=[].slice.call(arguments,2);const o=[r.raw[0]];for(let t=1;t<r.length;t++){o.push(String(i[t-1]).replace(/[{}\\]/g,"\\$&"));o.push(String(r.raw[t]))}return l(t,o.join(""))}Object.defineProperties(Chalk.prototype,m);t.exports=Chalk();t.exports.supportsColor=u;t.exports["default"]=t.exports},6094:t=>{"use strict";const r=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;const i=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;const o=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;const a=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi;const u=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(t){if(t[0]==="u"&&t.length===5||t[0]==="x"&&t.length===3){return String.fromCharCode(parseInt(t.slice(1),16))}return u.get(t)||t}function parseArguments(t,r){const i=[];const u=r.trim().split(/\s*,\s*/g);let l;for(const r of u){if(!isNaN(r)){i.push(Number(r))}else if(l=r.match(o)){i.push(l[2].replace(a,((t,r,i)=>r?unescape(r):i)))}else{throw new Error(`Invalid Chalk template style argument: ${r} (in style '${t}')`)}}return i}function parseStyle(t){i.lastIndex=0;const r=[];let o;while((o=i.exec(t))!==null){const t=o[1];if(o[2]){const i=parseArguments(t,o[2]);r.push([t].concat(i))}else{r.push([t])}}return r}function buildStyle(t,r){const i={};for(const t of r){for(const r of t.styles){i[r[0]]=t.inverse?null:r.slice(1)}}let o=t;for(const t of Object.keys(i)){if(Array.isArray(i[t])){if(!(t in o)){throw new Error(`Unknown Chalk style: ${t}`)}if(i[t].length>0){o=o[t].apply(o,i[t])}else{o=o[t]}}}return o}t.exports=(t,i)=>{const o=[];const a=[];let u=[];i.replace(r,((r,i,l,h,p,d)=>{if(i){u.push(unescape(i))}else if(h){const r=u.join("");u=[];a.push(o.length===0?r:buildStyle(t,o)(r));o.push({inverse:l,styles:parseStyle(h)})}else if(p){if(o.length===0){throw new Error("Found extraneous } in Chalk template literal")}a.push(buildStyle(t,o)(u.join("")));u=[];o.pop()}else{u.push(d)}}));a.push(u.join(""));if(o.length>0){const t=`Chalk template literal is missing ${o.length} closing bracket${o.length===1?"":"s"} (\`}\`)`;throw new Error(t)}return a.join("")}},4768:(t,r,i)=>{var o=i(6441);var a={};for(var u in o){if(o.hasOwnProperty(u)){a[o[u]]=u}}var l=t.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var h in l){if(l.hasOwnProperty(h)){if(!("channels"in l[h])){throw new Error("missing channels property: "+h)}if(!("labels"in l[h])){throw new Error("missing channel labels property: "+h)}if(l[h].labels.length!==l[h].channels){throw new Error("channel and label counts mismatch: "+h)}var p=l[h].channels;var d=l[h].labels;delete l[h].channels;delete l[h].labels;Object.defineProperty(l[h],"channels",{value:p});Object.defineProperty(l[h],"labels",{value:d})}}l.rgb.hsl=function(t){var r=t[0]/255;var i=t[1]/255;var o=t[2]/255;var a=Math.min(r,i,o);var u=Math.max(r,i,o);var l=u-a;var h;var p;var d;if(u===a){h=0}else if(r===u){h=(i-o)/l}else if(i===u){h=2+(o-r)/l}else if(o===u){h=4+(r-i)/l}h=Math.min(h*60,360);if(h<0){h+=360}d=(a+u)/2;if(u===a){p=0}else if(d<=.5){p=l/(u+a)}else{p=l/(2-u-a)}return[h,p*100,d*100]};l.rgb.hsv=function(t){var r;var i;var o;var a;var u;var l=t[0]/255;var h=t[1]/255;var p=t[2]/255;var d=Math.max(l,h,p);var m=d-Math.min(l,h,p);var diffc=function(t){return(d-t)/6/m+1/2};if(m===0){a=u=0}else{u=m/d;r=diffc(l);i=diffc(h);o=diffc(p);if(l===d){a=o-i}else if(h===d){a=1/3+r-o}else if(p===d){a=2/3+i-r}if(a<0){a+=1}else if(a>1){a-=1}}return[a*360,u*100,d*100]};l.rgb.hwb=function(t){var r=t[0];var i=t[1];var o=t[2];var a=l.rgb.hsl(t)[0];var u=1/255*Math.min(r,Math.min(i,o));o=1-1/255*Math.max(r,Math.max(i,o));return[a,u*100,o*100]};l.rgb.cmyk=function(t){var r=t[0]/255;var i=t[1]/255;var o=t[2]/255;var a;var u;var l;var h;h=Math.min(1-r,1-i,1-o);a=(1-r-h)/(1-h)||0;u=(1-i-h)/(1-h)||0;l=(1-o-h)/(1-h)||0;return[a*100,u*100,l*100,h*100]};function comparativeDistance(t,r){return Math.pow(t[0]-r[0],2)+Math.pow(t[1]-r[1],2)+Math.pow(t[2]-r[2],2)}l.rgb.keyword=function(t){var r=a[t];if(r){return r}var i=Infinity;var u;for(var l in o){if(o.hasOwnProperty(l)){var h=o[l];var p=comparativeDistance(t,h);if(p<i){i=p;u=l}}}return u};l.keyword.rgb=function(t){return o[t]};l.rgb.xyz=function(t){var r=t[0]/255;var i=t[1]/255;var o=t[2]/255;r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92;i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92;o=o>.04045?Math.pow((o+.055)/1.055,2.4):o/12.92;var a=r*.4124+i*.3576+o*.1805;var u=r*.2126+i*.7152+o*.0722;var l=r*.0193+i*.1192+o*.9505;return[a*100,u*100,l*100]};l.rgb.lab=function(t){var r=l.rgb.xyz(t);var i=r[0];var o=r[1];var a=r[2];var u;var h;var p;i/=95.047;o/=100;a/=108.883;i=i>.008856?Math.pow(i,1/3):7.787*i+16/116;o=o>.008856?Math.pow(o,1/3):7.787*o+16/116;a=a>.008856?Math.pow(a,1/3):7.787*a+16/116;u=116*o-16;h=500*(i-o);p=200*(o-a);return[u,h,p]};l.hsl.rgb=function(t){var r=t[0]/360;var i=t[1]/100;var o=t[2]/100;var a;var u;var l;var h;var p;if(i===0){p=o*255;return[p,p,p]}if(o<.5){u=o*(1+i)}else{u=o+i-o*i}a=2*o-u;h=[0,0,0];for(var d=0;d<3;d++){l=r+1/3*-(d-1);if(l<0){l++}if(l>1){l--}if(6*l<1){p=a+(u-a)*6*l}else if(2*l<1){p=u}else if(3*l<2){p=a+(u-a)*(2/3-l)*6}else{p=a}h[d]=p*255}return h};l.hsl.hsv=function(t){var r=t[0];var i=t[1]/100;var o=t[2]/100;var a=i;var u=Math.max(o,.01);var l;var h;o*=2;i*=o<=1?o:2-o;a*=u<=1?u:2-u;h=(o+i)/2;l=o===0?2*a/(u+a):2*i/(o+i);return[r,l*100,h*100]};l.hsv.rgb=function(t){var r=t[0]/60;var i=t[1]/100;var o=t[2]/100;var a=Math.floor(r)%6;var u=r-Math.floor(r);var l=255*o*(1-i);var h=255*o*(1-i*u);var p=255*o*(1-i*(1-u));o*=255;switch(a){case 0:return[o,p,l];case 1:return[h,o,l];case 2:return[l,o,p];case 3:return[l,h,o];case 4:return[p,l,o];case 5:return[o,l,h]}};l.hsv.hsl=function(t){var r=t[0];var i=t[1]/100;var o=t[2]/100;var a=Math.max(o,.01);var u;var l;var h;h=(2-i)*o;u=(2-i)*a;l=i*a;l/=u<=1?u:2-u;l=l||0;h/=2;return[r,l*100,h*100]};l.hwb.rgb=function(t){var r=t[0]/360;var i=t[1]/100;var o=t[2]/100;var a=i+o;var u;var l;var h;var p;if(a>1){i/=a;o/=a}u=Math.floor(6*r);l=1-o;h=6*r-u;if((u&1)!==0){h=1-h}p=i+h*(l-i);var d;var m;var g;switch(u){default:case 6:case 0:d=l;m=p;g=i;break;case 1:d=p;m=l;g=i;break;case 2:d=i;m=l;g=p;break;case 3:d=i;m=p;g=l;break;case 4:d=p;m=i;g=l;break;case 5:d=l;m=i;g=p;break}return[d*255,m*255,g*255]};l.cmyk.rgb=function(t){var r=t[0]/100;var i=t[1]/100;var o=t[2]/100;var a=t[3]/100;var u;var l;var h;u=1-Math.min(1,r*(1-a)+a);l=1-Math.min(1,i*(1-a)+a);h=1-Math.min(1,o*(1-a)+a);return[u*255,l*255,h*255]};l.xyz.rgb=function(t){var r=t[0]/100;var i=t[1]/100;var o=t[2]/100;var a;var u;var l;a=r*3.2406+i*-1.5372+o*-.4986;u=r*-.9689+i*1.8758+o*.0415;l=r*.0557+i*-.204+o*1.057;a=a>.0031308?1.055*Math.pow(a,1/2.4)-.055:a*12.92;u=u>.0031308?1.055*Math.pow(u,1/2.4)-.055:u*12.92;l=l>.0031308?1.055*Math.pow(l,1/2.4)-.055:l*12.92;a=Math.min(Math.max(0,a),1);u=Math.min(Math.max(0,u),1);l=Math.min(Math.max(0,l),1);return[a*255,u*255,l*255]};l.xyz.lab=function(t){var r=t[0];var i=t[1];var o=t[2];var a;var u;var l;r/=95.047;i/=100;o/=108.883;r=r>.008856?Math.pow(r,1/3):7.787*r+16/116;i=i>.008856?Math.pow(i,1/3):7.787*i+16/116;o=o>.008856?Math.pow(o,1/3):7.787*o+16/116;a=116*i-16;u=500*(r-i);l=200*(i-o);return[a,u,l]};l.lab.xyz=function(t){var r=t[0];var i=t[1];var o=t[2];var a;var u;var l;u=(r+16)/116;a=i/500+u;l=u-o/200;var h=Math.pow(u,3);var p=Math.pow(a,3);var d=Math.pow(l,3);u=h>.008856?h:(u-16/116)/7.787;a=p>.008856?p:(a-16/116)/7.787;l=d>.008856?d:(l-16/116)/7.787;a*=95.047;u*=100;l*=108.883;return[a,u,l]};l.lab.lch=function(t){var r=t[0];var i=t[1];var o=t[2];var a;var u;var l;a=Math.atan2(o,i);u=a*360/2/Math.PI;if(u<0){u+=360}l=Math.sqrt(i*i+o*o);return[r,l,u]};l.lch.lab=function(t){var r=t[0];var i=t[1];var o=t[2];var a;var u;var l;l=o/360*2*Math.PI;a=i*Math.cos(l);u=i*Math.sin(l);return[r,a,u]};l.rgb.ansi16=function(t){var r=t[0];var i=t[1];var o=t[2];var a=1 in arguments?arguments[1]:l.rgb.hsv(t)[2];a=Math.round(a/50);if(a===0){return 30}var u=30+(Math.round(o/255)<<2|Math.round(i/255)<<1|Math.round(r/255));if(a===2){u+=60}return u};l.hsv.ansi16=function(t){return l.rgb.ansi16(l.hsv.rgb(t),t[2])};l.rgb.ansi256=function(t){var r=t[0];var i=t[1];var o=t[2];if(r===i&&i===o){if(r<8){return 16}if(r>248){return 231}return Math.round((r-8)/247*24)+232}var a=16+36*Math.round(r/255*5)+6*Math.round(i/255*5)+Math.round(o/255*5);return a};l.ansi16.rgb=function(t){var r=t%10;if(r===0||r===7){if(t>50){r+=3.5}r=r/10.5*255;return[r,r,r]}var i=(~~(t>50)+1)*.5;var o=(r&1)*i*255;var a=(r>>1&1)*i*255;var u=(r>>2&1)*i*255;return[o,a,u]};l.ansi256.rgb=function(t){if(t>=232){var r=(t-232)*10+8;return[r,r,r]}t-=16;var i;var o=Math.floor(t/36)/5*255;var a=Math.floor((i=t%36)/6)/5*255;var u=i%6/5*255;return[o,a,u]};l.rgb.hex=function(t){var r=((Math.round(t[0])&255)<<16)+((Math.round(t[1])&255)<<8)+(Math.round(t[2])&255);var i=r.toString(16).toUpperCase();return"000000".substring(i.length)+i};l.hex.rgb=function(t){var r=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!r){return[0,0,0]}var i=r[0];if(r[0].length===3){i=i.split("").map((function(t){return t+t})).join("")}var o=parseInt(i,16);var a=o>>16&255;var u=o>>8&255;var l=o&255;return[a,u,l]};l.rgb.hcg=function(t){var r=t[0]/255;var i=t[1]/255;var o=t[2]/255;var a=Math.max(Math.max(r,i),o);var u=Math.min(Math.min(r,i),o);var l=a-u;var h;var p;if(l<1){h=u/(1-l)}else{h=0}if(l<=0){p=0}else if(a===r){p=(i-o)/l%6}else if(a===i){p=2+(o-r)/l}else{p=4+(r-i)/l+4}p/=6;p%=1;return[p*360,l*100,h*100]};l.hsl.hcg=function(t){var r=t[1]/100;var i=t[2]/100;var o=1;var a=0;if(i<.5){o=2*r*i}else{o=2*r*(1-i)}if(o<1){a=(i-.5*o)/(1-o)}return[t[0],o*100,a*100]};l.hsv.hcg=function(t){var r=t[1]/100;var i=t[2]/100;var o=r*i;var a=0;if(o<1){a=(i-o)/(1-o)}return[t[0],o*100,a*100]};l.hcg.rgb=function(t){var r=t[0]/360;var i=t[1]/100;var o=t[2]/100;if(i===0){return[o*255,o*255,o*255]}var a=[0,0,0];var u=r%1*6;var l=u%1;var h=1-l;var p=0;switch(Math.floor(u)){case 0:a[0]=1;a[1]=l;a[2]=0;break;case 1:a[0]=h;a[1]=1;a[2]=0;break;case 2:a[0]=0;a[1]=1;a[2]=l;break;case 3:a[0]=0;a[1]=h;a[2]=1;break;case 4:a[0]=l;a[1]=0;a[2]=1;break;default:a[0]=1;a[1]=0;a[2]=h}p=(1-i)*o;return[(i*a[0]+p)*255,(i*a[1]+p)*255,(i*a[2]+p)*255]};l.hcg.hsv=function(t){var r=t[1]/100;var i=t[2]/100;var o=r+i*(1-r);var a=0;if(o>0){a=r/o}return[t[0],a*100,o*100]};l.hcg.hsl=function(t){var r=t[1]/100;var i=t[2]/100;var o=i*(1-r)+.5*r;var a=0;if(o>0&&o<.5){a=r/(2*o)}else if(o>=.5&&o<1){a=r/(2*(1-o))}return[t[0],a*100,o*100]};l.hcg.hwb=function(t){var r=t[1]/100;var i=t[2]/100;var o=r+i*(1-r);return[t[0],(o-r)*100,(1-o)*100]};l.hwb.hcg=function(t){var r=t[1]/100;var i=t[2]/100;var o=1-i;var a=o-r;var u=0;if(a<1){u=(o-a)/(1-a)}return[t[0],a*100,u*100]};l.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]};l.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]};l.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]};l.gray.hsl=l.gray.hsv=function(t){return[0,0,t[0]]};l.gray.hwb=function(t){return[0,100,t[0]]};l.gray.cmyk=function(t){return[0,0,0,t[0]]};l.gray.lab=function(t){return[t[0],0,0]};l.gray.hex=function(t){var r=Math.round(t[0]/100*255)&255;var i=(r<<16)+(r<<8)+r;var o=i.toString(16).toUpperCase();return"000000".substring(o.length)+o};l.rgb.gray=function(t){var r=(t[0]+t[1]+t[2])/3;return[r/255*100]}},3595:(t,r,i)=>{var o=i(4768);var a=i(9136);var u={};var l=Object.keys(o);function wrapRaw(t){var wrappedFn=function(r){if(r===undefined||r===null){return r}if(arguments.length>1){r=Array.prototype.slice.call(arguments)}return t(r)};if("conversion"in t){wrappedFn.conversion=t.conversion}return wrappedFn}function wrapRounded(t){var wrappedFn=function(r){if(r===undefined||r===null){return r}if(arguments.length>1){r=Array.prototype.slice.call(arguments)}var i=t(r);if(typeof i==="object"){for(var o=i.length,a=0;a<o;a++){i[a]=Math.round(i[a])}}return i};if("conversion"in t){wrappedFn.conversion=t.conversion}return wrappedFn}l.forEach((function(t){u[t]={};Object.defineProperty(u[t],"channels",{value:o[t].channels});Object.defineProperty(u[t],"labels",{value:o[t].labels});var r=a(t);var i=Object.keys(r);i.forEach((function(i){var o=r[i];u[t][i]=wrapRounded(o);u[t][i].raw=wrapRaw(o)}))}));t.exports=u},9136:(t,r,i)=>{var o=i(4768);function buildGraph(){var t={};var r=Object.keys(o);for(var i=r.length,a=0;a<i;a++){t[r[a]]={distance:-1,parent:null}}return t}function deriveBFS(t){var r=buildGraph();var i=[t];r[t].distance=0;while(i.length){var a=i.pop();var u=Object.keys(o[a]);for(var l=u.length,h=0;h<l;h++){var p=u[h];var d=r[p];if(d.distance===-1){d.distance=r[a].distance+1;d.parent=a;i.unshift(p)}}}return r}function link(t,r){return function(i){return r(t(i))}}function wrapConversion(t,r){var i=[r[t].parent,t];var a=o[r[t].parent][t];var u=r[t].parent;while(r[u].parent){i.unshift(r[u].parent);a=link(o[r[u].parent][u],a);u=r[u].parent}a.conversion=i;return a}t.exports=function(t){var r=deriveBFS(t);var i={};var o=Object.keys(r);for(var a=o.length,u=0;u<a;u++){var l=o[u];var h=r[l];if(h.parent===null){continue}i[l]=wrapConversion(l,r)}return i}},6441:t=>{"use strict";t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},6966:t=>{"use strict";t.exports=(t,r)=>{r=r||process.argv;const i=t.startsWith("-")?"":t.length===1?"-":"--";const o=r.indexOf(i+t);const a=r.indexOf("--");return o!==-1&&(a===-1?true:o<a)}},1851:(t,r,i)=>{"use strict";const o=i(2037);const a=i(6966);const u=process.env;let l;if(a("no-color")||a("no-colors")||a("color=false")){l=false}else if(a("color")||a("colors")||a("color=true")||a("color=always")){l=true}if("FORCE_COLOR"in u){l=u.FORCE_COLOR.length===0||parseInt(u.FORCE_COLOR,10)!==0}function translateLevel(t){if(t===0){return false}return{level:t,hasBasic:true,has256:t>=2,has16m:t>=3}}function supportsColor(t){if(l===false){return 0}if(a("color=16m")||a("color=full")||a("color=truecolor")){return 3}if(a("color=256")){return 2}if(t&&!t.isTTY&&l!==true){return 0}const r=l?1:0;if(process.platform==="win32"){const t=o.release().split(".");if(Number(process.versions.node.split(".")[0])>=8&&Number(t[0])>=10&&Number(t[2])>=10586){return Number(t[2])>=14931?3:2}return 1}if("CI"in u){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((t=>t in u))||u.CI_NAME==="codeship"){return 1}return r}if("TEAMCITY_VERSION"in u){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(u.TEAMCITY_VERSION)?1:0}if(u.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in u){const t=parseInt((u.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(u.TERM_PROGRAM){case"iTerm.app":return t>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(u.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(u.TERM)){return 1}if("COLORTERM"in u){return 1}if(u.TERM==="dumb"){return r}return r}function getSupportLevel(t){const r=supportsColor(t);return translateLevel(r)}t.exports={supportsColor:getSupportLevel,stdout:getSupportLevel(process.stdout),stderr:getSupportLevel(process.stderr)}},8903: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(2008);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 v=u(i(5196));const A=(0,g.promisify)(y.default);const b={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 v.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 v.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 v.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 v.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 v.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 v.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 v.default(`Couldn't JSON.stringify object for file: ${t}`,r)}const h=u?`${l}\n`:l;await A(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 b[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 v.EmptyJsonFileError(r)}}},5196:(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},2008:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.codeFrameColumns=codeFrameColumns;r["default"]=_default;var o=_interopRequireWildcard(i(2421));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 v=d-h;const A={};if(v){for(let t=0;t<=v;t++){const i=t+h;if(!p){A[i]=true}else if(t===0){const t=r[i-1].length;A[i]=[p,t-p+1]}else if(t===v){A[i]=[0,m]}else{const o=r[i-t].length;A[i]=[0,o]}}}else{if(p===m){if(p){A[h]=[p,0]}else{A[h]=true}}else{A[h]=[p,m-p]}}return{start:g,end:y,markerLines:A}}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 v=String(m).length;const A=a?(0,o.default)(t,i):t;let b=A.split(u).slice(d,m).map(((t,r)=>{const o=d+1+r;const a=` ${o}`.slice(-v);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){b=`${" ".repeat(v+1)}${i.message}\n${b}`}if(a){return l.reset(b)}else{return b}}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)}},6821:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true})},7754: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(6821),r);a(i(6212),r);a(i(221),r);a(i(1529),r);a(i(5746),r);a(i(5562),r);a(i(8497),r);var u=i(6376);Object.defineProperty(r,"isYarnOfflineAsync",{enumerable:true,get:function(){return u.isYarnOfflineAsync}})},6212: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(2313);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},4574: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},5562:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.BunPackageManager=void 0;const o=i(4574);const a=i(8497);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},221: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(8903));const u=o(i(5642));const l=o(i(9879));const h=o(i(1017));const p=i(4574);const d=i(8497);const m=i(2313);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},1529: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(4574);const u=o(i(7907));const l=i(8497);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},5746:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.YarnPackageManager=void 0;const o=i(4574);const a=i(8497);const u=i(2313);const l=i(6376);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},7907:(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},8497:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.createForProject=r.resolvePackageManager=r.RESOLUTION_ORDER=r.BUN_TEXT_LOCK_FILE=r.BUN_LOCK_FILE=r.PNPM_LOCK_FILE=r.YARN_LOCK_FILE=r.NPM_LOCK_FILE=r.resolveWorkspaceRoot=void 0;const a=o(i(7147));const u=o(i(1017));const l=i(7301);const h=i(5562);const p=i(221);const d=i(1529);const m=i(5746);var g=i(7301);Object.defineProperty(r,"resolveWorkspaceRoot",{enumerable:true,get:function(){return g.resolveWorkspaceRoot}});r.NPM_LOCK_FILE="package-lock.json";r.YARN_LOCK_FILE="yarn.lock";r.PNPM_LOCK_FILE="pnpm-lock.yaml";r.BUN_LOCK_FILE="bun.lockb";r.BUN_TEXT_LOCK_FILE="bun.lock";r.RESOLUTION_ORDER=["bun","yarn","npm","pnpm"];function resolvePackageManager(t,i){const o=(0,l.resolveWorkspaceRoot)(t)??t;const h={npm:[r.NPM_LOCK_FILE],pnpm:[r.PNPM_LOCK_FILE],yarn:[r.YARN_LOCK_FILE],bun:[r.BUN_LOCK_FILE,r.BUN_TEXT_LOCK_FILE]};if(i){return h[i].some((t=>a.default.existsSync(u.default.join(o,t))))?i:null}for(const t of r.RESOLUTION_ORDER){if(h[t].some((t=>a.default.existsSync(u.default.join(o,t))))){return t}}return null}r.resolvePackageManager=resolvePackageManager;function createForProject(t,r={}){if(r.npm){return new p.NpmPackageManager({cwd:t,...r})}else if(r.yarn){return new m.YarnPackageManager({cwd:t,...r})}else if(r.pnpm){return new d.PnpmPackageManager({cwd:t,...r})}else if(r.bun){return new h.BunPackageManager({cwd:t,...r})}switch(resolvePackageManager(t)){case"npm":return new p.NpmPackageManager({cwd:t,...r});case"pnpm":return new d.PnpmPackageManager({cwd:t,...r});case"yarn":return new m.YarnPackageManager({cwd:t,...r});case"bun":return new h.BunPackageManager({cwd:t,...r});default:return new p.NpmPackageManager({cwd:t,...r})}}r.createForProject=createForProject},2313: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},6376: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)}))}))}},4072:(t,r,i)=>{"use strict";const o=i(698);const isGitHubShorthand=t=>{const r=t.indexOf("#");const i=t.indexOf("/");const o=t.indexOf("/",i+1);const a=t.indexOf(":");const u=/\s/.exec(t);const l=t.indexOf("@");const h=!u||r>-1&&u.index>r;const p=l===-1||r>-1&&l>r;const d=a===-1||r>-1&&a>r;const m=o===-1||r>-1&&o>r;const g=i>0;const y=r>-1?t[r-1]!=="/":!t.endsWith("/");const v=!t.startsWith(".");return h&&g&&y&&v&&p&&d&&m};t.exports=(t,r,{gitHosts:i,protocols:a})=>{if(!t){return}const u=isGitHubShorthand(t)?`github:${t}`:t;const l=o(u,a);if(!l){return}const h=i.byShortcut[l.protocol];const p=i.byDomain[l.hostname.startsWith("www.")?l.hostname.slice(4):l.hostname];const d=h||p;if(!d){return}const m=i[h||p];let g=null;if(a[l.protocol]?.auth&&(l.username||l.password)){g=`${l.username}${l.password?":"+l.password:""}`}let y=null;let v=null;let A=null;let b=null;try{if(h){let t=l.pathname.startsWith("/")?l.pathname.slice(1):l.pathname;const r=t.indexOf("@");if(r>-1){t=t.slice(r+1)}const i=t.lastIndexOf("/");if(i>-1){v=decodeURIComponent(t.slice(0,i));if(!v){v=null}A=decodeURIComponent(t.slice(i+1))}else{A=decodeURIComponent(t)}if(A.endsWith(".git")){A=A.slice(0,-4)}if(l.hash){y=decodeURIComponent(l.hash.slice(1))}b="shortcut"}else{if(!m.protocols.includes(l.protocol)){return}const t=m.extract(l);if(!t){return}v=t.user&&decodeURIComponent(t.user);A=decodeURIComponent(t.project);y=decodeURIComponent(t.committish);b=a[l.protocol]?.name||l.protocol.slice(0,-1)}}catch(t){if(t instanceof URIError){return}else{throw t}}return[d,v,g,A,y,b,r]}},8444:t=>{"use strict";const maybeJoin=(...t)=>t.every((t=>t))?t.join(""):"";const maybeEncode=t=>t?encodeURIComponent(t):"";const formatHashFragment=t=>t.toLowerCase().replace(/^\W+|\/|\W+$/g,"").replace(/\W+/g,"-");const r={sshtemplate:({domain:t,user:r,project:i,committish:o})=>`git@${t}:${r}/${i}.git${maybeJoin("#",o)}`,sshurltemplate:({domain:t,user:r,project:i,committish:o})=>`git+ssh://git@${t}/${r}/${i}.git${maybeJoin("#",o)}`,edittemplate:({domain:t,user:r,project:i,committish:o,editpath:a,path:u})=>`https://${t}/${r}/${i}${maybeJoin("/",a,"/",maybeEncode(o||"HEAD"),"/",u)}`,browsetemplate:({domain:t,user:r,project:i,committish:o,treepath:a})=>`https://${t}/${r}/${i}${maybeJoin("/",a,"/",maybeEncode(o))}`,browsetreetemplate:({domain:t,user:r,project:i,committish:o,treepath:a,path:u,fragment:l,hashformat:h})=>`https://${t}/${r}/${i}/${a}/${maybeEncode(o||"HEAD")}/${u}${maybeJoin("#",h(l||""))}`,browseblobtemplate:({domain:t,user:r,project:i,committish:o,blobpath:a,path:u,fragment:l,hashformat:h})=>`https://${t}/${r}/${i}/${a}/${maybeEncode(o||"HEAD")}/${u}${maybeJoin("#",h(l||""))}`,docstemplate:({domain:t,user:r,project:i,treepath:o,committish:a})=>`https://${t}/${r}/${i}${maybeJoin("/",o,"/",maybeEncode(a))}#readme`,httpstemplate:({auth:t,domain:r,user:i,project:o,committish:a})=>`git+https://${maybeJoin(t,"@")}${r}/${i}/${o}.git${maybeJoin("#",a)}`,filetemplate:({domain:t,user:r,project:i,committish:o,path:a})=>`https://${t}/${r}/${i}/raw/${maybeEncode(o||"HEAD")}/${a}`,shortcuttemplate:({type:t,user:r,project:i,committish:o})=>`${t}:${r}/${i}${maybeJoin("#",o)}`,pathtemplate:({user:t,project:r,committish:i})=>`${t}/${r}${maybeJoin("#",i)}`,bugstemplate:({domain:t,user:r,project:i})=>`https://${t}/${r}/${i}/issues`,hashformat:formatHashFragment};const i={};i.github={protocols:["git:","http:","git+ssh:","git+https:","ssh:","https:"],domain:"github.com",treepath:"tree",blobpath:"blob",editpath:"edit",filetemplate:({auth:t,user:r,project:i,committish:o,path:a})=>`https://${maybeJoin(t,"@")}raw.githubusercontent.com/${r}/${i}/${maybeEncode(o||"HEAD")}/${a}`,gittemplate:({auth:t,domain:r,user:i,project:o,committish:a})=>`git://${maybeJoin(t,"@")}${r}/${i}/${o}.git${maybeJoin("#",a)}`,tarballtemplate:({domain:t,user:r,project:i,committish:o})=>`https://codeload.${t}/${r}/${i}/tar.gz/${maybeEncode(o||"HEAD")}`,extract:t=>{let[,r,i,o,a]=t.pathname.split("/",5);if(o&&o!=="tree"){return}if(!o){a=t.hash.slice(1)}if(i&&i.endsWith(".git")){i=i.slice(0,-4)}if(!r||!i){return}return{user:r,project:i,committish:a}}};i.bitbucket={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"bitbucket.org",treepath:"src",blobpath:"src",editpath:"?mode=edit",edittemplate:({domain:t,user:r,project:i,committish:o,treepath:a,path:u,editpath:l})=>`https://${t}/${r}/${i}${maybeJoin("/",a,"/",maybeEncode(o||"HEAD"),"/",u,l)}`,tarballtemplate:({domain:t,user:r,project:i,committish:o})=>`https://${t}/${r}/${i}/get/${maybeEncode(o||"HEAD")}.tar.gz`,extract:t=>{let[,r,i,o]=t.pathname.split("/",4);if(["get"].includes(o)){return}if(i&&i.endsWith(".git")){i=i.slice(0,-4)}if(!r||!i){return}return{user:r,project:i,committish:t.hash.slice(1)}}};i.gitlab={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"gitlab.com",treepath:"tree",blobpath:"tree",editpath:"-/edit",httpstemplate:({auth:t,domain:r,user:i,project:o,committish:a})=>`git+https://${maybeJoin(t,"@")}${r}/${i}/${o}.git${maybeJoin("#",a)}`,tarballtemplate:({domain:t,user:r,project:i,committish:o})=>`https://${t}/${r}/${i}/repository/archive.tar.gz?ref=${maybeEncode(o||"HEAD")}`,extract:t=>{const r=t.pathname.slice(1);if(r.includes("/-/")||r.includes("/archive.tar.gz")){return}const i=r.split("/");let o=i.pop();if(o.endsWith(".git")){o=o.slice(0,-4)}const a=i.join("/");if(!a||!o){return}return{user:a,project:o,committish:t.hash.slice(1)}}};i.gist={protocols:["git:","git+ssh:","git+https:","ssh:","https:"],domain:"gist.github.com",editpath:"edit",sshtemplate:({domain:t,project:r,committish:i})=>`git@${t}:${r}.git${maybeJoin("#",i)}`,sshurltemplate:({domain:t,project:r,committish:i})=>`git+ssh://git@${t}/${r}.git${maybeJoin("#",i)}`,edittemplate:({domain:t,user:r,project:i,committish:o,editpath:a})=>`https://${t}/${r}/${i}${maybeJoin("/",maybeEncode(o))}/${a}`,browsetemplate:({domain:t,project:r,committish:i})=>`https://${t}/${r}${maybeJoin("/",maybeEncode(i))}`,browsetreetemplate:({domain:t,project:r,committish:i,path:o,hashformat:a})=>`https://${t}/${r}${maybeJoin("/",maybeEncode(i))}${maybeJoin("#",a(o))}`,browseblobtemplate:({domain:t,project:r,committish:i,path:o,hashformat:a})=>`https://${t}/${r}${maybeJoin("/",maybeEncode(i))}${maybeJoin("#",a(o))}`,docstemplate:({domain:t,project:r,committish:i})=>`https://${t}/${r}${maybeJoin("/",maybeEncode(i))}`,httpstemplate:({domain:t,project:r,committish:i})=>`git+https://${t}/${r}.git${maybeJoin("#",i)}`,filetemplate:({user:t,project:r,committish:i,path:o})=>`https://gist.githubusercontent.com/${t}/${r}/raw${maybeJoin("/",maybeEncode(i))}/${o}`,shortcuttemplate:({type:t,project:r,committish:i})=>`${t}:${r}${maybeJoin("#",i)}`,pathtemplate:({project:t,committish:r})=>`${t}${maybeJoin("#",r)}`,bugstemplate:({domain:t,project:r})=>`https://${t}/${r}`,gittemplate:({domain:t,project:r,committish:i})=>`git://${t}/${r}.git${maybeJoin("#",i)}`,tarballtemplate:({project:t,committish:r})=>`https://codeload.github.com/gist/${t}/tar.gz/${maybeEncode(r||"HEAD")}`,extract:t=>{let[,r,i,o]=t.pathname.split("/",4);if(o==="raw"){return}if(!i){if(!r){return}i=r;r=null}if(i.endsWith(".git")){i=i.slice(0,-4)}return{user:r,project:i,committish:t.hash.slice(1)}},hashformat:function(t){return t&&"file-"+formatHashFragment(t)}};i.sourcehut={protocols:["git+ssh:","https:"],domain:"git.sr.ht",treepath:"tree",blobpath:"tree",filetemplate:({domain:t,user:r,project:i,committish:o,path:a})=>`https://${t}/${r}/${i}/blob/${maybeEncode(o)||"HEAD"}/${a}`,httpstemplate:({domain:t,user:r,project:i,committish:o})=>`https://${t}/${r}/${i}.git${maybeJoin("#",o)}`,tarballtemplate:({domain:t,user:r,project:i,committish:o})=>`https://${t}/${r}/${i}/archive/${maybeEncode(o)||"HEAD"}.tar.gz`,bugstemplate:()=>null,extract:t=>{let[,r,i,o]=t.pathname.split("/",4);if(["archive"].includes(o)){return}if(i&&i.endsWith(".git")){i=i.slice(0,-4)}if(!r||!i){return}return{user:r,project:i,committish:t.hash.slice(1)}}};for(const[t,o]of Object.entries(i)){i[t]=Object.assign({},r,o)}t.exports=i},2043:(t,r,i)=>{"use strict";const{LRUCache:o}=i(849);const a=i(8444);const u=i(4072);const l=i(698);const h=new o({max:1e3});class GitHost{constructor(t,r,i,o,a,u,l={}){Object.assign(this,GitHost.#e[t],{type:t,user:r,auth:i,project:o,committish:a,default:u,opts:l})}static#e={byShortcut:{},byDomain:{}};static#t={"git+ssh:":{name:"sshurl"},"ssh:":{name:"sshurl"},"git+https:":{name:"https",auth:true},"git:":{auth:true},"http:":{auth:true},"https:":{auth:true},"git+http:":{auth:true}};static addHost(t,r){GitHost.#e[t]=r;GitHost.#e.byDomain[r.domain]=t;GitHost.#e.byShortcut[`${t}:`]=t;GitHost.#t[`${t}:`]={name:t}}static fromUrl(t,r){if(typeof t!=="string"){return}const i=t+JSON.stringify(r||{});if(!h.has(i)){const o=u(t,r,{gitHosts:GitHost.#e,protocols:GitHost.#t});h.set(i,o?new GitHost(...o):undefined)}return h.get(i)}static parseUrl(t){return l(t)}#r(t,r){if(typeof t!=="function"){return null}const i={...this,...this.opts,...r};if(!i.path){i.path=""}if(i.path.startsWith("/")){i.path=i.path.slice(1)}if(i.noCommittish){i.committish=null}const o=t(i);return i.noGitPlus&&o.startsWith("git+")?o.slice(4):o}hash(){return this.committish?`#${this.committish}`:""}ssh(t){return this.#r(this.sshtemplate,t)}sshurl(t){return this.#r(this.sshurltemplate,t)}browse(t,...r){if(typeof t!=="string"){return this.#r(this.browsetemplate,t)}if(typeof r[0]!=="string"){return this.#r(this.browsetreetemplate,{...r[0],path:t})}return this.#r(this.browsetreetemplate,{...r[1],fragment:r[0],path:t})}browseFile(t,...r){if(typeof r[0]!=="string"){return this.#r(this.browseblobtemplate,{...r[0],path:t})}return this.#r(this.browseblobtemplate,{...r[1],fragment:r[0],path:t})}docs(t){return this.#r(this.docstemplate,t)}bugs(t){return this.#r(this.bugstemplate,t)}https(t){return this.#r(this.httpstemplate,t)}git(t){return this.#r(this.gittemplate,t)}shortcut(t){return this.#r(this.shortcuttemplate,t)}path(t){return this.#r(this.pathtemplate,t)}tarball(t){return this.#r(this.tarballtemplate,{...t,noCommittish:false})}file(t,r){return this.#r(this.filetemplate,{...r,path:t})}edit(t,r){return this.#r(this.edittemplate,{...r,path:t})}getDefaultRepresentation(){return this.default}toString(t){if(this.default&&typeof this[this.default]==="function"){return this[this.default](t)}return this.sshurl(t)}}for(const[t,r]of Object.entries(a)){GitHost.addHost(t,r)}t.exports=GitHost},698:(t,r,i)=>{const o=i(7310);const lastIndexOfBefore=(t,r,i)=>{const o=t.indexOf(i);return t.lastIndexOf(r,o>-1?o:Infinity)};const safeUrl=t=>{try{return new o.URL(t)}catch{}};const correctProtocol=(t,r)=>{const i=t.indexOf(":");const o=t.slice(0,i+1);if(Object.prototype.hasOwnProperty.call(r,o)){return t}const a=t.indexOf("@");if(a>-1){if(a>i){return`git+ssh://${t}`}else{return t}}const u=t.indexOf("//");if(u===i+1){return t}return`${t.slice(0,i+1)}//${t.slice(i+1)}`};const correctUrl=t=>{const r=lastIndexOfBefore(t,"@","#");const i=lastIndexOfBefore(t,":","#");if(i>r){t=t.slice(0,i)+"/"+t.slice(i+1)}if(lastIndexOfBefore(t,":","#")===-1&&t.indexOf("//")===-1){t=`git+ssh://${t}`}return t};t.exports=(t,r)=>{const i=r?correctProtocol(t,r):t;return safeUrl(i)||safeUrl(correctUrl(i))}},9879:(t,r,i)=>{"use strict";t.exports=npa;t.exports.resolve=resolve;t.exports.toPurl=toPurl;t.exports.Result=Result;const{URL:o}=i(7310);const a=i(2043);const u=i(7546);const l=global.FAKE_WINDOWS?i(1017).win32:i(1017);const h=i(8593);const{homedir:p}=i(2037);const{log:d}=i(669);const m=process.platform==="win32"||global.FAKE_WINDOWS;const g=m?/\\|[/]/:/[/]/;const y=/^(?:git[+])?[a-z]+:/i;const v=/^[^@]+@[^:.]+\.[^:]+:.+$/i;const A=/[.](?:tgz|tar.gz|tar)$/i;function npa(t,r){let i;let o;if(typeof t==="object"){if(t instanceof Result&&(!r||r===t.where)){return t}else if(t.name&&t.rawSpec){return npa.resolve(t.name,t.rawSpec,r||t.where)}else{return npa(t.raw,r||t.where)}}const a=t[0]==="@"?t.slice(1).indexOf("@")+1:t.indexOf("@");const u=a>0?t.slice(0,a):t;if(y.test(t)){o=t}else if(v.test(t)){o=`git+ssh://${t}`}else if(u[0]!=="@"&&(g.test(u)||A.test(u))){o=t}else if(a>0){i=u;o=t.slice(a+1)||"*"}else{const r=h(t);if(r.validForOldPackages){i=t;o="*"}else{o=t}}return resolve(i,o,r,t)}const b=m?/^(?:[.]|~[/]|[/\\]|[a-zA-Z]:)/:/^(?:[.]|~[/]|[/]|[a-zA-Z]:)/;function resolve(t,r,i,o){const u=new Result({raw:o,name:t,rawSpec:r,fromArgument:o!=null});if(t){u.setName(t)}if(r&&(b.test(r)||/^file:/i.test(r))){return fromFile(u,i)}else if(r&&/^npm:/i.test(r)){return fromAlias(u,i)}const l=a.fromUrl(r,{noGitPlus:true,noCommittish:true});if(l){return fromHostedGit(u,l)}else if(r&&y.test(r)){return fromURL(u)}else if(r&&(g.test(r)||A.test(r))){return fromFile(u,i)}else{return fromRegistry(u)}}const w="https://registry.npmjs.org";function toPurl(t,r=w){const i=npa(t);if(i.type!=="version"){throw invalidPurlType(i.type,i.raw)}let o="pkg:npm/"+i.name.replace(/^@/,"%40")+"@"+i.rawSpec;if(r!==w){o+="?repository_url="+r}return o}function invalidPackageName(t,r,i){const o=new Error(`Invalid package name "${t}" of package "${i}": ${r.errors.join("; ")}.`);o.code="EINVALIDPACKAGENAME";return o}function invalidTagName(t,r){const i=new Error(`Invalid tag name "${t}" of package "${r}": Tags may not have any characters that encodeURIComponent encodes.`);i.code="EINVALIDTAGNAME";return i}function invalidPurlType(t,r){const i=new Error(`Invalid type "${t}" of package "${r}": Purl can only be generated for "version" types.`);i.code="EINVALIDPURLTYPE";return i}function Result(t){this.type=t.type;this.registry=t.registry;this.where=t.where;if(t.raw==null){this.raw=t.name?t.name+"@"+t.rawSpec:t.rawSpec}else{this.raw=t.raw}this.name=undefined;this.escapedName=undefined;this.scope=undefined;this.rawSpec=t.rawSpec||"";this.saveSpec=t.saveSpec;this.fetchSpec=t.fetchSpec;if(t.name){this.setName(t.name)}this.gitRange=t.gitRange;this.gitCommittish=t.gitCommittish;this.gitSubdir=t.gitSubdir;this.hosted=t.hosted}Result.prototype.setName=function(t){const r=h(t);if(!r.validForOldPackages){throw invalidPackageName(t,r,this.raw)}this.name=t;this.scope=t[0]==="@"?t.slice(0,t.indexOf("/")):undefined;this.escapedName=t.replace("/","%2f");return this};Result.prototype.toString=function(){const t=[];if(this.name!=null&&this.name!==""){t.push(this.name)}const r=this.saveSpec||this.fetchSpec||this.rawSpec;if(r!=null&&r!==""){t.push(r)}return t.length?t.join("@"):this.raw};Result.prototype.toJSON=function(){const t=Object.assign({},this);delete t.hosted;return t};function setGitAttrs(t,r){if(!r){t.gitCommittish=null;return}for(const i of r.split("::")){if(!i.includes(":")){if(t.gitRange){throw new Error("cannot override existing semver range with a committish")}if(t.gitCommittish){throw new Error("cannot override existing committish with a second committish")}t.gitCommittish=i;continue}const[r,o]=i.split(":");if(r==="semver"){if(t.gitCommittish){throw new Error("cannot override existing committish with a semver range")}if(t.gitRange){throw new Error("cannot override existing semver range with a second semver range")}t.gitRange=decodeURIComponent(o);continue}if(r==="path"){if(t.gitSubdir){throw new Error("cannot override existing path with a second path")}t.gitSubdir=`/${o}`;continue}d.warn("npm-package-arg",`ignoring unknown key "${r}"`)}}function fromFile(t,r){if(!r){r=process.cwd()}t.type=A.test(t.rawSpec)?"file":"directory";t.where=r;let i;let a;const u=!/^file:/.test(t.rawSpec)?"file:":"";const h=u+t.rawSpec;let d=h.replace(/^file:/,"");try{a=new o(h,`file://${l.resolve(r)}/`);i=new o(h)}catch(i){const o=new Error("Invalid file: URL, must comply with RFC 8089");throw Object.assign(o,{raw:t.rawSpec,spec:t,where:r,originalError:i})}if(a.host&&a.host!=="localhost"){const u=t.rawSpec.replace(/^file:\/\//,"file:///");a=new o(u,`file://${l.resolve(r)}/`);i=new o(u);d=u.replace(/^file:/,"")}if(/^\/{1,3}\.\.?(\/|$)/.test(d)){const u=t.rawSpec.replace(/^file:\/{1,3}/,"file:");a=new o(u,`file://${l.resolve(r)}/`);i=new o(u);d=u.replace(/^file:/,"")}let g=decodeURIComponent(i.pathname);let y=decodeURIComponent(a.pathname);if(m){g=g.replace(/^\/+([a-z]:\/)/i,"$1");y=y.replace(/^\/+([a-z]:\/)/i,"$1")}if(/^\/~(\/|$)/.test(g)){t.saveSpec=`file:${g.substr(1)}`;y=l.resolve(p(),g.substr(3))}else if(!l.isAbsolute(d)){t.saveSpec=`file:${l.relative(r,y)}`}else{t.saveSpec=`file:${l.resolve(y)}`}t.fetchSpec=l.resolve(r,y);return t}function fromHostedGit(t,r){t.type="git";t.hosted=r;t.saveSpec=r.toString({noGitPlus:false,noCommittish:false});t.fetchSpec=r.getDefaultRepresentation()==="shortcut"?null:r.toString();setGitAttrs(t,r.committish);return t}function unsupportedURLType(t,r){const i=new Error(`Unsupported URL Type "${t}": ${r}`);i.code="EUNSUPPORTEDPROTOCOL";return i}function fromURL(t){let r=t.rawSpec;t.saveSpec=r;if(r.startsWith("git+ssh:")){const i=r.match(/^git\+ssh:\/\/([^:#]+:[^#]+(?:\.git)?)(?:#(.*))?$/i);if(i&&!i[1].match(/:[0-9]+\/?.*$/i)){t.type="git";setGitAttrs(t,i[2]);t.fetchSpec=i[1];return t}}else if(r.startsWith("git+file://")){r=r.replace(/\\/g,"/")}const i=new o(r);switch(i.protocol){case"git:":case"git+http:":case"git+https:":case"git+rsync:":case"git+ftp:":case"git+file:":case"git+ssh:":t.type="git";setGitAttrs(t,i.hash.slice(1));if(i.protocol==="git+file:"&&/^git\+file:\/\/[a-z]:/i.test(r)){t.fetchSpec=`git+file://${i.host.toLowerCase()}:${i.pathname}`}else{i.hash="";t.fetchSpec=i.toString()}if(t.fetchSpec.startsWith("git+")){t.fetchSpec=t.fetchSpec.slice(4)}break;case"http:":case"https:":t.type="remote";t.fetchSpec=t.saveSpec;break;default:throw unsupportedURLType(i.protocol,r)}return t}function fromAlias(t,r){const i=npa(t.rawSpec.substr(4),r);if(i.type==="alias"){throw new Error("nested aliases not supported")}if(!i.registry){throw new Error("aliases only work for registry deps")}if(!i.name){throw new Error("aliases must have a name")}t.subSpec=i;t.registry=true;t.type="alias";t.saveSpec=null;t.fetchSpec=null;return t}function fromRegistry(t){t.registry=true;const r=t.rawSpec.trim();t.saveSpec=null;t.fetchSpec=r;const i=u.valid(r,true);const o=u.validRange(r,true);if(i){t.type="version"}else if(o){t.type="range"}else{if(encodeURIComponent(r)!==r){throw invalidTagName(r,t.raw)}t.type="tag"}return t}},669:t=>{const r=Symbol("proc-log.meta");t.exports={META:r,output:{LEVELS:["standard","error","buffer","flush"],KEYS:{standard:"standard",error:"error",buffer:"buffer",flush:"flush"},standard:function(...t){return process.emit("output","standard",...t)},error:function(...t){return process.emit("output","error",...t)},buffer:function(...t){return process.emit("output","buffer",...t)},flush:function(...t){return process.emit("output","flush",...t)}},log:{LEVELS:["notice","error","warn","info","verbose","http","silly","timing","pause","resume"],KEYS:{notice:"notice",error:"error",warn:"warn",info:"info",verbose:"verbose",http:"http",silly:"silly",timing:"timing",pause:"pause",resume:"resume"},error:function(...t){return process.emit("log","error",...t)},notice:function(...t){return process.emit("log","notice",...t)},warn:function(...t){return process.emit("log","warn",...t)},info:function(...t){return process.emit("log","info",...t)},verbose:function(...t){return process.emit("log","verbose",...t)},http:function(...t){return process.emit("log","http",...t)},silly:function(...t){return process.emit("log","silly",...t)},timing:function(...t){return process.emit("log","timing",...t)},pause:function(){return process.emit("log","pause")},resume:function(){return process.emit("log","resume")}},time:{LEVELS:["start","end"],KEYS:{start:"start",end:"end"},start:function(t,r){process.emit("time","start",t);function end(){return process.emit("time","end",t)}if(typeof r==="function"){const t=r();if(t&&t.finally){return t.finally(end)}end();return t}return end},end:function(t){return process.emit("time","end",t)}},input:{LEVELS:["start","end","read"],KEYS:{start:"start",end:"end",read:"read"},start:function(t){process.emit("input","start");function end(){return process.emit("input","end")}if(typeof t==="function"){const r=t();if(r&&r.finally){return r.finally(end)}end();return r}return end},end:function(){return process.emit("input","end")},read:function(...t){let r,i;const o=new Promise(((t,o)=>{r=t;i=o}));process.emit("input","read",r,i,...t);return o}}}},5642:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};const a=o(i(7987));function spawnAsync(t,r,i={}){const o=new Error;const u=o.stack?o.stack.replace(/^.*/," ..."):null;let l;let h=new Promise(((o,h)=>{let{ignoreStdio:p,...d}=i;l=(0,a.default)(t,r,d);let m="";let g="";if(!p){if(l.stdout){l.stdout.on("data",(t=>{m+=t}))}if(l.stderr){l.stderr.on("data",(t=>{g+=t}))}}let completionListener=(i,a)=>{l.removeListener("error",errorListener);let p={pid:l.pid,output:[m,g],stdout:m,stderr:g,status:i,signal:a};if(i!==0){let o=r&&r.length>0?` ${r.join(" ")}`:"";let l=a?new Error(`${t}${o} exited with signal: ${a}`):new Error(`${t}${o} exited with non-zero code: ${i}`);if(l.stack&&u){l.stack+=`\n${u}`}Object.assign(l,p);h(l)}else{o(p)}};let errorListener=t=>{if(p){l.removeListener("exit",completionListener)}else{l.removeListener("close",completionListener)}Object.assign(t,{pid:l.pid,output:[m,g],stdout:m,stderr:g,status:null,signal:null});h(t)};if(p){l.once("exit",completionListener)}else{l.once("close",completionListener)}l.once("error",errorListener)}));h.child=l;return h}t.exports=spawnAsync},3741:(t,r,i)=>{"use strict";t=i.nmd(t);const wrapAnsi16=(t,r)=>(...i)=>{const o=t(...i);return`[${o+r}m`};const wrapAnsi256=(t,r)=>(...i)=>{const o=t(...i);return`[${38+r};5;${o}m`};const wrapAnsi16m=(t,r)=>(...i)=>{const o=t(...i);return`[${38+r};2;${o[0]};${o[1]};${o[2]}m`};const ansi2ansi=t=>t;const rgb2rgb=(t,r,i)=>[t,r,i];const setLazyProperty=(t,r,i)=>{Object.defineProperty(t,r,{get:()=>{const o=i();Object.defineProperty(t,r,{value:o,enumerable:true,configurable:true});return o},enumerable:true,configurable:true})};let o;const makeDynamicStyles=(t,r,a,u)=>{if(o===undefined){o=i(2830)}const l=u?10:0;const h={};for(const[i,u]of Object.entries(o)){const o=i==="ansi16"?"ansi":i;if(i===r){h[o]=t(a,l)}else if(typeof u==="object"){h[o]=t(u[r],l)}}return h};function assembleStyles(){const t=new Map;const r={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};r.color.gray=r.color.blackBright;r.bgColor.bgGray=r.bgColor.bgBlackBright;r.color.grey=r.color.blackBright;r.bgColor.bgGrey=r.bgColor.bgBlackBright;for(const[i,o]of Object.entries(r)){for(const[i,a]of Object.entries(o)){r[i]={open:`[${a[0]}m`,close:`[${a[1]}m`};o[i]=r[i];t.set(a[0],a[1])}Object.defineProperty(r,i,{value:o,enumerable:false})}Object.defineProperty(r,"codes",{value:t,enumerable:false});r.color.close="";r.bgColor.close="";setLazyProperty(r.color,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,false)));setLazyProperty(r.color,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,false)));setLazyProperty(r.color,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,false)));setLazyProperty(r.bgColor,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,true)));setLazyProperty(r.bgColor,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,true)));setLazyProperty(r.bgColor,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,true)));return r}Object.defineProperty(t,"exports",{enumerable:true,get:assembleStyles})},4816:t=>{const r=Symbol("arg flag");class ArgError extends Error{constructor(t,r){super(t);this.name="ArgError";this.code=r;Object.setPrototypeOf(this,ArgError.prototype)}}function arg(t,{argv:i=process.argv.slice(2),permissive:o=false,stopAtPositional:a=false}={}){if(!t){throw new ArgError("argument specification object is required","ARG_CONFIG_NO_SPEC")}const u={_:[]};const l={};const h={};for(const i of Object.keys(t)){if(!i){throw new ArgError("argument key cannot be an empty string","ARG_CONFIG_EMPTY_KEY")}if(i[0]!=="-"){throw new ArgError(`argument key must start with '-' but found: '${i}'`,"ARG_CONFIG_NONOPT_KEY")}if(i.length===1){throw new ArgError(`argument key must have a name; singular '-' keys are not allowed: ${i}`,"ARG_CONFIG_NONAME_KEY")}if(typeof t[i]==="string"){l[i]=t[i];continue}let o=t[i];let a=false;if(Array.isArray(o)&&o.length===1&&typeof o[0]==="function"){const[t]=o;o=(r,i,o=[])=>{o.push(t(r,i,o[o.length-1]));return o};a=t===Boolean||t[r]===true}else if(typeof o==="function"){a=o===Boolean||o[r]===true}else{throw new ArgError(`type missing or not a function or valid array type: ${i}`,"ARG_CONFIG_VAD_TYPE")}if(i[1]!=="-"&&i.length>2){throw new ArgError(`short argument keys (with a single hyphen) must have only one character: ${i}`,"ARG_CONFIG_SHORTOPT_TOOLONG")}h[i]=[o,a]}for(let t=0,r=i.length;t<r;t++){const r=i[t];if(a&&u._.length>0){u._=u._.concat(i.slice(t));break}if(r==="--"){u._=u._.concat(i.slice(t+1));break}if(r.length>1&&r[0]==="-"){const a=r[1]==="-"||r.length===2?[r]:r.slice(1).split("").map((t=>`-${t}`));for(let r=0;r<a.length;r++){const p=a[r];const[d,m]=p[1]==="-"?p.split(/=(.*)/,2):[p,undefined];let g=d;while(g in l){g=l[g]}if(!(g in h)){if(o){u._.push(p);continue}else{throw new ArgError(`unknown or unexpected option: ${d}`,"ARG_UNKNOWN_OPTION")}}const[y,v]=h[g];if(!v&&r+1<a.length){throw new ArgError(`option requires argument (but was followed by another short argument): ${d}`,"ARG_MISSING_REQUIRED_SHORTARG")}if(v){u[g]=y(true,g,u[g])}else if(m===undefined){if(i.length<t+2||i[t+1].length>1&&i[t+1][0]==="-"&&!(i[t+1].match(/^-?\d*(\.(?=\d))?\d*$/)&&(y===Number||typeof BigInt!=="undefined"&&y===BigInt))){const t=d===g?"":` (alias for ${g})`;throw new ArgError(`option requires argument: ${d}${t}`,"ARG_MISSING_REQUIRED_LONGARG")}u[g]=y(i[t+1],g,u[g]);++t}else{u[g]=y(m,g,u[g])}}}else{u._.push(r)}}return u}arg.flag=t=>{t[r]=true;return t};arg.COUNT=arg.flag(((t,r,i)=>(i||0)+1));arg.ArgError=ArgError;t.exports=arg},4925:(t,r,i)=>{"use strict";const o=i(7546);const a=["assert","buffer","child_process","cluster","console","constants","crypto","dgram","dns","domain","events","fs","http","https","module","net","os","path","punycode","querystring","readline","repl","stream","string_decoder","sys","timers","tls","tty","url","util","vm","zlib"];const u={freelist:"<6.0.0",v8:">=1.0.0",process:">=1.1.0",inspector:">=8.0.0",async_hooks:">=8.1.0",http2:">=8.4.0",perf_hooks:">=8.5.0",trace_events:">=10.0.0",worker_threads:">=12.0.0","node:test":">=18.0.0"};const l={worker_threads:">=10.5.0",wasi:">=12.16.0",diagnostics_channel:"^14.17.0 || >=15.1.0"};t.exports=({version:t=process.version,experimental:r=false}={})=>{const i=[...a];for(const[r,a]of Object.entries(u)){if(t==="*"||o.satisfies(t,a)){i.push(r)}}if(r){for(const[r,a]of Object.entries(l)){if(!i.includes(r)&&(t==="*"||o.satisfies(t,a))){i.push(r)}}}return i}},8746:(t,r,i)=>{"use strict";const o=i(3741);const{stdout:a,stderr:u}=i(395);const{stringReplaceAll:l,stringEncaseCRLFWithFirstIndex:h}=i(5611);const{isArray:p}=Array;const d=["ansi","ansi","ansi256","ansi16m"];const m=Object.create(null);const applyOptions=(t,r={})=>{if(r.level&&!(Number.isInteger(r.level)&&r.level>=0&&r.level<=3)){throw new Error("The `level` option should be an integer from 0 to 3")}const i=a?a.level:0;t.level=r.level===undefined?i:r.level};class ChalkClass{constructor(t){return chalkFactory(t)}}const chalkFactory=t=>{const r={};applyOptions(r,t);r.template=(...t)=>chalkTag(r.template,...t);Object.setPrototypeOf(r,Chalk.prototype);Object.setPrototypeOf(r.template,r);r.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")};r.template.Instance=ChalkClass;return r.template};function Chalk(t){return chalkFactory(t)}for(const[t,r]of Object.entries(o)){m[t]={get(){const i=createBuilder(this,createStyler(r.open,r.close,this._styler),this._isEmpty);Object.defineProperty(this,t,{value:i});return i}}}m.visible={get(){const t=createBuilder(this,this._styler,true);Object.defineProperty(this,"visible",{value:t});return t}};const g=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const t of g){m[t]={get(){const{level:r}=this;return function(...i){const a=createStyler(o.color[d[r]][t](...i),o.color.close,this._styler);return createBuilder(this,a,this._isEmpty)}}}}for(const t of g){const r="bg"+t[0].toUpperCase()+t.slice(1);m[r]={get(){const{level:r}=this;return function(...i){const a=createStyler(o.bgColor[d[r]][t](...i),o.bgColor.close,this._styler);return createBuilder(this,a,this._isEmpty)}}}}const y=Object.defineProperties((()=>{}),{...m,level:{enumerable:true,get(){return this._generator.level},set(t){this._generator.level=t}}});const createStyler=(t,r,i)=>{let o;let a;if(i===undefined){o=t;a=r}else{o=i.openAll+t;a=r+i.closeAll}return{open:t,close:r,openAll:o,closeAll:a,parent:i}};const createBuilder=(t,r,i)=>{const builder=(...t)=>{if(p(t[0])&&p(t[0].raw)){return applyStyle(builder,chalkTag(builder,...t))}return applyStyle(builder,t.length===1?""+t[0]:t.join(" "))};Object.setPrototypeOf(builder,y);builder._generator=t;builder._styler=r;builder._isEmpty=i;return builder};const applyStyle=(t,r)=>{if(t.level<=0||!r){return t._isEmpty?"":r}let i=t._styler;if(i===undefined){return r}const{openAll:o,closeAll:a}=i;if(r.indexOf("")!==-1){while(i!==undefined){r=l(r,i.close,i.open);i=i.parent}}const u=r.indexOf("\n");if(u!==-1){r=h(r,a,o,u)}return o+r+a};let v;const chalkTag=(t,...r)=>{const[o]=r;if(!p(o)||!p(o.raw)){return r.join(" ")}const a=r.slice(1);const u=[o.raw[0]];for(let t=1;t<o.length;t++){u.push(String(a[t-1]).replace(/[{}\\]/g,"\\$&"),String(o.raw[t]))}if(v===undefined){v=i(2746)}return v(t,u.join(""))};Object.defineProperties(Chalk.prototype,m);const A=Chalk();A.supportsColor=a;A.stderr=Chalk({level:u?u.level:0});A.stderr.supportsColor=u;t.exports=A},2746:t=>{"use strict";const r=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;const i=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;const o=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;const a=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi;const u=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(t){const r=t[0]==="u";const i=t[1]==="{";if(r&&!i&&t.length===5||t[0]==="x"&&t.length===3){return String.fromCharCode(parseInt(t.slice(1),16))}if(r&&i){return String.fromCodePoint(parseInt(t.slice(2,-1),16))}return u.get(t)||t}function parseArguments(t,r){const i=[];const u=r.trim().split(/\s*,\s*/g);let l;for(const r of u){const u=Number(r);if(!Number.isNaN(u)){i.push(u)}else if(l=r.match(o)){i.push(l[2].replace(a,((t,r,i)=>r?unescape(r):i)))}else{throw new Error(`Invalid Chalk template style argument: ${r} (in style '${t}')`)}}return i}function parseStyle(t){i.lastIndex=0;const r=[];let o;while((o=i.exec(t))!==null){const t=o[1];if(o[2]){const i=parseArguments(t,o[2]);r.push([t].concat(i))}else{r.push([t])}}return r}function buildStyle(t,r){const i={};for(const t of r){for(const r of t.styles){i[r[0]]=t.inverse?null:r.slice(1)}}let o=t;for(const[t,r]of Object.entries(i)){if(!Array.isArray(r)){continue}if(!(t in o)){throw new Error(`Unknown Chalk style: ${t}`)}o=r.length>0?o[t](...r):o[t]}return o}t.exports=(t,i)=>{const o=[];const a=[];let u=[];i.replace(r,((r,i,l,h,p,d)=>{if(i){u.push(unescape(i))}else if(h){const r=u.join("");u=[];a.push(o.length===0?r:buildStyle(t,o)(r));o.push({inverse:l,styles:parseStyle(h)})}else if(p){if(o.length===0){throw new Error("Found extraneous } in Chalk template literal")}a.push(buildStyle(t,o)(u.join("")));u=[];o.pop()}else{u.push(d)}}));a.push(u.join(""));if(o.length>0){const t=`Chalk template literal is missing ${o.length} closing bracket${o.length===1?"":"s"} (\`}\`)`;throw new Error(t)}return a.join("")}},5611:t=>{"use strict";const stringReplaceAll=(t,r,i)=>{let o=t.indexOf(r);if(o===-1){return t}const a=r.length;let u=0;let l="";do{l+=t.substr(u,o-u)+r+i;u=o+a;o=t.indexOf(r,u)}while(o!==-1);l+=t.substr(u);return l};const stringEncaseCRLFWithFirstIndex=(t,r,i,o)=>{let a=0;let u="";do{const l=t[o-1]==="\r";u+=t.substr(a,(l?o-1:o)-a)+r+(l?"\r\n":"\n")+i;a=o+1;o=t.indexOf("\n",a)}while(o!==-1);u+=t.substr(a);return u};t.exports={stringReplaceAll:stringReplaceAll,stringEncaseCRLFWithFirstIndex:stringEncaseCRLFWithFirstIndex}},6845:t=>{var r=function(){"use strict";function clone(t,r,i,o){var a;if(typeof r==="object"){i=r.depth;o=r.prototype;a=r.filter;r=r.circular}var u=[];var l=[];var h=typeof Buffer!="undefined";if(typeof r=="undefined")r=true;if(typeof i=="undefined")i=Infinity;function _clone(t,i){if(t===null)return null;if(i==0)return t;var a;var p;if(typeof t!="object"){return t}if(clone.__isArray(t)){a=[]}else if(clone.__isRegExp(t)){a=new RegExp(t.source,__getRegExpFlags(t));if(t.lastIndex)a.lastIndex=t.lastIndex}else if(clone.__isDate(t)){a=new Date(t.getTime())}else if(h&&Buffer.isBuffer(t)){if(Buffer.allocUnsafe){a=Buffer.allocUnsafe(t.length)}else{a=new Buffer(t.length)}t.copy(a);return a}else{if(typeof o=="undefined"){p=Object.getPrototypeOf(t);a=Object.create(p)}else{a=Object.create(o);p=o}}if(r){var d=u.indexOf(t);if(d!=-1){return l[d]}u.push(t);l.push(a)}for(var m in t){var g;if(p){g=Object.getOwnPropertyDescriptor(p,m)}if(g&&g.set==null){continue}a[m]=_clone(t[m],i-1)}return a}return _clone(t,i)}clone.clonePrototype=function clonePrototype(t){if(t===null)return null;var c=function(){};c.prototype=t;return new c};function __objToStr(t){return Object.prototype.toString.call(t)}clone.__objToStr=__objToStr;function __isDate(t){return typeof t==="object"&&__objToStr(t)==="[object Date]"}clone.__isDate=__isDate;function __isArray(t){return typeof t==="object"&&__objToStr(t)==="[object Array]"}clone.__isArray=__isArray;function __isRegExp(t){return typeof t==="object"&&__objToStr(t)==="[object RegExp]"}clone.__isRegExp=__isRegExp;function __getRegExpFlags(t){var r="";if(t.global)r+="g";if(t.ignoreCase)r+="i";if(t.multiline)r+="m";return r}clone.__getRegExpFlags=__getRegExpFlags;return clone}();if(true&&t.exports){t.exports=r}},9598:(t,r,i)=>{const o=i(9407);const a={};for(const t of Object.keys(o)){a[o[t]]=t}const u={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};t.exports=u;for(const t of Object.keys(u)){if(!("channels"in u[t])){throw new Error("missing channels property: "+t)}if(!("labels"in u[t])){throw new Error("missing channel labels property: "+t)}if(u[t].labels.length!==u[t].channels){throw new Error("channel and label counts mismatch: "+t)}const{channels:r,labels:i}=u[t];delete u[t].channels;delete u[t].labels;Object.defineProperty(u[t],"channels",{value:r});Object.defineProperty(u[t],"labels",{value:i})}u.rgb.hsl=function(t){const r=t[0]/255;const i=t[1]/255;const o=t[2]/255;const a=Math.min(r,i,o);const u=Math.max(r,i,o);const l=u-a;let h;let p;if(u===a){h=0}else if(r===u){h=(i-o)/l}else if(i===u){h=2+(o-r)/l}else if(o===u){h=4+(r-i)/l}h=Math.min(h*60,360);if(h<0){h+=360}const d=(a+u)/2;if(u===a){p=0}else if(d<=.5){p=l/(u+a)}else{p=l/(2-u-a)}return[h,p*100,d*100]};u.rgb.hsv=function(t){let r;let i;let o;let a;let u;const l=t[0]/255;const h=t[1]/255;const p=t[2]/255;const d=Math.max(l,h,p);const m=d-Math.min(l,h,p);const diffc=function(t){return(d-t)/6/m+1/2};if(m===0){a=0;u=0}else{u=m/d;r=diffc(l);i=diffc(h);o=diffc(p);if(l===d){a=o-i}else if(h===d){a=1/3+r-o}else if(p===d){a=2/3+i-r}if(a<0){a+=1}else if(a>1){a-=1}}return[a*360,u*100,d*100]};u.rgb.hwb=function(t){const r=t[0];const i=t[1];let o=t[2];const a=u.rgb.hsl(t)[0];const l=1/255*Math.min(r,Math.min(i,o));o=1-1/255*Math.max(r,Math.max(i,o));return[a,l*100,o*100]};u.rgb.cmyk=function(t){const r=t[0]/255;const i=t[1]/255;const o=t[2]/255;const a=Math.min(1-r,1-i,1-o);const u=(1-r-a)/(1-a)||0;const l=(1-i-a)/(1-a)||0;const h=(1-o-a)/(1-a)||0;return[u*100,l*100,h*100,a*100]};function comparativeDistance(t,r){return(t[0]-r[0])**2+(t[1]-r[1])**2+(t[2]-r[2])**2}u.rgb.keyword=function(t){const r=a[t];if(r){return r}let i=Infinity;let u;for(const r of Object.keys(o)){const a=o[r];const l=comparativeDistance(t,a);if(l<i){i=l;u=r}}return u};u.keyword.rgb=function(t){return o[t]};u.rgb.xyz=function(t){let r=t[0]/255;let i=t[1]/255;let o=t[2]/255;r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;i=i>.04045?((i+.055)/1.055)**2.4:i/12.92;o=o>.04045?((o+.055)/1.055)**2.4:o/12.92;const a=r*.4124+i*.3576+o*.1805;const u=r*.2126+i*.7152+o*.0722;const l=r*.0193+i*.1192+o*.9505;return[a*100,u*100,l*100]};u.rgb.lab=function(t){const r=u.rgb.xyz(t);let i=r[0];let o=r[1];let a=r[2];i/=95.047;o/=100;a/=108.883;i=i>.008856?i**(1/3):7.787*i+16/116;o=o>.008856?o**(1/3):7.787*o+16/116;a=a>.008856?a**(1/3):7.787*a+16/116;const l=116*o-16;const h=500*(i-o);const p=200*(o-a);return[l,h,p]};u.hsl.rgb=function(t){const r=t[0]/360;const i=t[1]/100;const o=t[2]/100;let a;let u;let l;if(i===0){l=o*255;return[l,l,l]}if(o<.5){a=o*(1+i)}else{a=o+i-o*i}const h=2*o-a;const p=[0,0,0];for(let t=0;t<3;t++){u=r+1/3*-(t-1);if(u<0){u++}if(u>1){u--}if(6*u<1){l=h+(a-h)*6*u}else if(2*u<1){l=a}else if(3*u<2){l=h+(a-h)*(2/3-u)*6}else{l=h}p[t]=l*255}return p};u.hsl.hsv=function(t){const r=t[0];let i=t[1]/100;let o=t[2]/100;let a=i;const u=Math.max(o,.01);o*=2;i*=o<=1?o:2-o;a*=u<=1?u:2-u;const l=(o+i)/2;const h=o===0?2*a/(u+a):2*i/(o+i);return[r,h*100,l*100]};u.hsv.rgb=function(t){const r=t[0]/60;const i=t[1]/100;let o=t[2]/100;const a=Math.floor(r)%6;const u=r-Math.floor(r);const l=255*o*(1-i);const h=255*o*(1-i*u);const p=255*o*(1-i*(1-u));o*=255;switch(a){case 0:return[o,p,l];case 1:return[h,o,l];case 2:return[l,o,p];case 3:return[l,h,o];case 4:return[p,l,o];case 5:return[o,l,h]}};u.hsv.hsl=function(t){const r=t[0];const i=t[1]/100;const o=t[2]/100;const a=Math.max(o,.01);let u;let l;l=(2-i)*o;const h=(2-i)*a;u=i*a;u/=h<=1?h:2-h;u=u||0;l/=2;return[r,u*100,l*100]};u.hwb.rgb=function(t){const r=t[0]/360;let i=t[1]/100;let o=t[2]/100;const a=i+o;let u;if(a>1){i/=a;o/=a}const l=Math.floor(6*r);const h=1-o;u=6*r-l;if((l&1)!==0){u=1-u}const p=i+u*(h-i);let d;let m;let g;switch(l){default:case 6:case 0:d=h;m=p;g=i;break;case 1:d=p;m=h;g=i;break;case 2:d=i;m=h;g=p;break;case 3:d=i;m=p;g=h;break;case 4:d=p;m=i;g=h;break;case 5:d=h;m=i;g=p;break}return[d*255,m*255,g*255]};u.cmyk.rgb=function(t){const r=t[0]/100;const i=t[1]/100;const o=t[2]/100;const a=t[3]/100;const u=1-Math.min(1,r*(1-a)+a);const l=1-Math.min(1,i*(1-a)+a);const h=1-Math.min(1,o*(1-a)+a);return[u*255,l*255,h*255]};u.xyz.rgb=function(t){const r=t[0]/100;const i=t[1]/100;const o=t[2]/100;let a;let u;let l;a=r*3.2406+i*-1.5372+o*-.4986;u=r*-.9689+i*1.8758+o*.0415;l=r*.0557+i*-.204+o*1.057;a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92;u=u>.0031308?1.055*u**(1/2.4)-.055:u*12.92;l=l>.0031308?1.055*l**(1/2.4)-.055:l*12.92;a=Math.min(Math.max(0,a),1);u=Math.min(Math.max(0,u),1);l=Math.min(Math.max(0,l),1);return[a*255,u*255,l*255]};u.xyz.lab=function(t){let r=t[0];let i=t[1];let o=t[2];r/=95.047;i/=100;o/=108.883;r=r>.008856?r**(1/3):7.787*r+16/116;i=i>.008856?i**(1/3):7.787*i+16/116;o=o>.008856?o**(1/3):7.787*o+16/116;const a=116*i-16;const u=500*(r-i);const l=200*(i-o);return[a,u,l]};u.lab.xyz=function(t){const r=t[0];const i=t[1];const o=t[2];let a;let u;let l;u=(r+16)/116;a=i/500+u;l=u-o/200;const h=u**3;const p=a**3;const d=l**3;u=h>.008856?h:(u-16/116)/7.787;a=p>.008856?p:(a-16/116)/7.787;l=d>.008856?d:(l-16/116)/7.787;a*=95.047;u*=100;l*=108.883;return[a,u,l]};u.lab.lch=function(t){const r=t[0];const i=t[1];const o=t[2];let a;const u=Math.atan2(o,i);a=u*360/2/Math.PI;if(a<0){a+=360}const l=Math.sqrt(i*i+o*o);return[r,l,a]};u.lch.lab=function(t){const r=t[0];const i=t[1];const o=t[2];const a=o/360*2*Math.PI;const u=i*Math.cos(a);const l=i*Math.sin(a);return[r,u,l]};u.rgb.ansi16=function(t,r=null){const[i,o,a]=t;let l=r===null?u.rgb.hsv(t)[2]:r;l=Math.round(l/50);if(l===0){return 30}let h=30+(Math.round(a/255)<<2|Math.round(o/255)<<1|Math.round(i/255));if(l===2){h+=60}return h};u.hsv.ansi16=function(t){return u.rgb.ansi16(u.hsv.rgb(t),t[2])};u.rgb.ansi256=function(t){const r=t[0];const i=t[1];const o=t[2];if(r===i&&i===o){if(r<8){return 16}if(r>248){return 231}return Math.round((r-8)/247*24)+232}const a=16+36*Math.round(r/255*5)+6*Math.round(i/255*5)+Math.round(o/255*5);return a};u.ansi16.rgb=function(t){let r=t%10;if(r===0||r===7){if(t>50){r+=3.5}r=r/10.5*255;return[r,r,r]}const i=(~~(t>50)+1)*.5;const o=(r&1)*i*255;const a=(r>>1&1)*i*255;const u=(r>>2&1)*i*255;return[o,a,u]};u.ansi256.rgb=function(t){if(t>=232){const r=(t-232)*10+8;return[r,r,r]}t-=16;let r;const i=Math.floor(t/36)/5*255;const o=Math.floor((r=t%36)/6)/5*255;const a=r%6/5*255;return[i,o,a]};u.rgb.hex=function(t){const r=((Math.round(t[0])&255)<<16)+((Math.round(t[1])&255)<<8)+(Math.round(t[2])&255);const i=r.toString(16).toUpperCase();return"000000".substring(i.length)+i};u.hex.rgb=function(t){const r=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!r){return[0,0,0]}let i=r[0];if(r[0].length===3){i=i.split("").map((t=>t+t)).join("")}const o=parseInt(i,16);const a=o>>16&255;const u=o>>8&255;const l=o&255;return[a,u,l]};u.rgb.hcg=function(t){const r=t[0]/255;const i=t[1]/255;const o=t[2]/255;const a=Math.max(Math.max(r,i),o);const u=Math.min(Math.min(r,i),o);const l=a-u;let h;let p;if(l<1){h=u/(1-l)}else{h=0}if(l<=0){p=0}else if(a===r){p=(i-o)/l%6}else if(a===i){p=2+(o-r)/l}else{p=4+(r-i)/l}p/=6;p%=1;return[p*360,l*100,h*100]};u.hsl.hcg=function(t){const r=t[1]/100;const i=t[2]/100;const o=i<.5?2*r*i:2*r*(1-i);let a=0;if(o<1){a=(i-.5*o)/(1-o)}return[t[0],o*100,a*100]};u.hsv.hcg=function(t){const r=t[1]/100;const i=t[2]/100;const o=r*i;let a=0;if(o<1){a=(i-o)/(1-o)}return[t[0],o*100,a*100]};u.hcg.rgb=function(t){const r=t[0]/360;const i=t[1]/100;const o=t[2]/100;if(i===0){return[o*255,o*255,o*255]}const a=[0,0,0];const u=r%1*6;const l=u%1;const h=1-l;let p=0;switch(Math.floor(u)){case 0:a[0]=1;a[1]=l;a[2]=0;break;case 1:a[0]=h;a[1]=1;a[2]=0;break;case 2:a[0]=0;a[1]=1;a[2]=l;break;case 3:a[0]=0;a[1]=h;a[2]=1;break;case 4:a[0]=l;a[1]=0;a[2]=1;break;default:a[0]=1;a[1]=0;a[2]=h}p=(1-i)*o;return[(i*a[0]+p)*255,(i*a[1]+p)*255,(i*a[2]+p)*255]};u.hcg.hsv=function(t){const r=t[1]/100;const i=t[2]/100;const o=r+i*(1-r);let a=0;if(o>0){a=r/o}return[t[0],a*100,o*100]};u.hcg.hsl=function(t){const r=t[1]/100;const i=t[2]/100;const o=i*(1-r)+.5*r;let a=0;if(o>0&&o<.5){a=r/(2*o)}else if(o>=.5&&o<1){a=r/(2*(1-o))}return[t[0],a*100,o*100]};u.hcg.hwb=function(t){const r=t[1]/100;const i=t[2]/100;const o=r+i*(1-r);return[t[0],(o-r)*100,(1-o)*100]};u.hwb.hcg=function(t){const r=t[1]/100;const i=t[2]/100;const o=1-i;const a=o-r;let u=0;if(a<1){u=(o-a)/(1-a)}return[t[0],a*100,u*100]};u.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]};u.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]};u.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]};u.gray.hsl=function(t){return[0,0,t[0]]};u.gray.hsv=u.gray.hsl;u.gray.hwb=function(t){return[0,100,t[0]]};u.gray.cmyk=function(t){return[0,0,0,t[0]]};u.gray.lab=function(t){return[t[0],0,0]};u.gray.hex=function(t){const r=Math.round(t[0]/100*255)&255;const i=(r<<16)+(r<<8)+r;const o=i.toString(16).toUpperCase();return"000000".substring(o.length)+o};u.rgb.gray=function(t){const r=(t[0]+t[1]+t[2])/3;return[r/255*100]}},2830:(t,r,i)=>{const o=i(9598);const a=i(5180);const u={};const l=Object.keys(o);function wrapRaw(t){const wrappedFn=function(...r){const i=r[0];if(i===undefined||i===null){return i}if(i.length>1){r=i}return t(r)};if("conversion"in t){wrappedFn.conversion=t.conversion}return wrappedFn}function wrapRounded(t){const wrappedFn=function(...r){const i=r[0];if(i===undefined||i===null){return i}if(i.length>1){r=i}const o=t(r);if(typeof o==="object"){for(let t=o.length,r=0;r<t;r++){o[r]=Math.round(o[r])}}return o};if("conversion"in t){wrappedFn.conversion=t.conversion}return wrappedFn}l.forEach((t=>{u[t]={};Object.defineProperty(u[t],"channels",{value:o[t].channels});Object.defineProperty(u[t],"labels",{value:o[t].labels});const r=a(t);const i=Object.keys(r);i.forEach((i=>{const o=r[i];u[t][i]=wrapRounded(o);u[t][i].raw=wrapRaw(o)}))}));t.exports=u},5180:(t,r,i)=>{const o=i(9598);function buildGraph(){const t={};const r=Object.keys(o);for(let i=r.length,o=0;o<i;o++){t[r[o]]={distance:-1,parent:null}}return t}function deriveBFS(t){const r=buildGraph();const i=[t];r[t].distance=0;while(i.length){const t=i.pop();const a=Object.keys(o[t]);for(let o=a.length,u=0;u<o;u++){const o=a[u];const l=r[o];if(l.distance===-1){l.distance=r[t].distance+1;l.parent=t;i.unshift(o)}}}return r}function link(t,r){return function(i){return r(t(i))}}function wrapConversion(t,r){const i=[r[t].parent,t];let a=o[r[t].parent][t];let u=r[t].parent;while(r[u].parent){i.unshift(r[u].parent);a=link(o[r[u].parent][u],a);u=r[u].parent}a.conversion=i;return a}t.exports=function(t){const r=deriveBFS(t);const i={};const o=Object.keys(r);for(let t=o.length,a=0;a<t;a++){const t=o[a];const u=r[t];if(u.parent===null){continue}i[t]=wrapConversion(t,r)}return i}},9407:t=>{"use strict";t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},7987:(t,r,i)=>{"use strict";const o=i(2081);const a=i(1655);const u=i(9738);function spawn(t,r,i){const l=a(t,r,i);const h=o.spawn(l.command,l.args,l.options);u.hookChildProcess(h,l);return h}function spawnSync(t,r,i){const l=a(t,r,i);const h=o.spawnSync(l.command,l.args,l.options);h.error=h.error||u.verifyENOENTSync(h.status,l);return h}t.exports=spawn;t.exports.spawn=spawn;t.exports.sync=spawnSync;t.exports._parse=a;t.exports._enoent=u},9738:t=>{"use strict";const r=process.platform==="win32";function notFoundError(t,r){return Object.assign(new Error(`${r} ${t.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${r} ${t.command}`,path:t.command,spawnargs:t.args})}function hookChildProcess(t,i){if(!r){return}const o=t.emit;t.emit=function(r,a){if(r==="exit"){const r=verifyENOENT(a,i,"spawn");if(r){return o.call(t,"error",r)}}return o.apply(t,arguments)}}function verifyENOENT(t,i){if(r&&t===1&&!i.file){return notFoundError(i.original,"spawn")}return null}function verifyENOENTSync(t,i){if(r&&t===1&&!i.file){return notFoundError(i.original,"spawnSync")}return null}t.exports={hookChildProcess:hookChildProcess,verifyENOENT:verifyENOENT,verifyENOENTSync:verifyENOENTSync,notFoundError:notFoundError}},1655:(t,r,i)=>{"use strict";const o=i(1017);const a=i(7534);const u=i(8902);const l=i(2964);const h=process.platform==="win32";const p=/\.(?:com|exe)$/i;const d=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function detectShebang(t){t.file=a(t);const r=t.file&&l(t.file);if(r){t.args.unshift(t.file);t.command=r;return a(t)}return t.file}function parseNonShell(t){if(!h){return t}const r=detectShebang(t);const i=!p.test(r);if(t.options.forceShell||i){const i=d.test(r);t.command=o.normalize(t.command);t.command=u.command(t.command);t.args=t.args.map((t=>u.argument(t,i)));const a=[t.command].concat(t.args).join(" ");t.args=["/d","/s","/c",`"${a}"`];t.command=process.env.comspec||"cmd.exe";t.options.windowsVerbatimArguments=true}return t}function parse(t,r,i){if(r&&!Array.isArray(r)){i=r;r=null}r=r?r.slice(0):[];i=Object.assign({},i);const o={command:t,args:r,options:i,file:undefined,original:{command:t,args:r}};return i.shell?o:parseNonShell(o)}t.exports=parse},8902:t=>{"use strict";const r=/([()\][%!^"`<>&|;, *?])/g;function escapeCommand(t){t=t.replace(r,"^$1");return t}function escapeArgument(t,i){t=`${t}`;t=t.replace(/(\\*)"/g,'$1$1\\"');t=t.replace(/(\\*)$/,"$1$1");t=`"${t}"`;t=t.replace(r,"^$1");if(i){t=t.replace(r,"^$1")}return t}t.exports.command=escapeCommand;t.exports.argument=escapeArgument},2964:(t,r,i)=>{"use strict";const o=i(7147);const a=i(4970);function readShebang(t){const r=150;const i=Buffer.alloc(r);let u;try{u=o.openSync(t,"r");o.readSync(u,i,0,r,0);o.closeSync(u)}catch(t){}return a(i.toString())}t.exports=readShebang},7534:(t,r,i)=>{"use strict";const o=i(1017);const a=i(6362);const u=i(2170);function resolveCommandAttempt(t,r){const i=t.options.env||process.env;const l=process.cwd();const h=t.options.cwd!=null;const p=h&&process.chdir!==undefined&&!process.chdir.disabled;if(p){try{process.chdir(t.options.cwd)}catch(t){}}let d;try{d=a.sync(t.command,{path:i[u({env:i})],pathExt:r?o.delimiter:undefined})}catch(t){}finally{if(p){process.chdir(l)}}if(d){d=o.resolve(h?t.options.cwd:"",d)}return d}function resolveCommand(t){return resolveCommandAttempt(t)||resolveCommandAttempt(t,true)}t.exports=resolveCommand},6362:(t,r,i)=>{const o=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys";const a=i(1017);const u=o?";":":";const l=i(228);const getNotFoundError=t=>Object.assign(new Error(`not found: ${t}`),{code:"ENOENT"});const getPathInfo=(t,r)=>{const i=r.colon||u;const a=t.match(/\//)||o&&t.match(/\\/)?[""]:[...o?[process.cwd()]:[],...(r.path||process.env.PATH||"").split(i)];const l=o?r.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"";const h=o?l.split(i):[""];if(o){if(t.indexOf(".")!==-1&&h[0]!=="")h.unshift("")}return{pathEnv:a,pathExt:h,pathExtExe:l}};const which=(t,r,i)=>{if(typeof r==="function"){i=r;r={}}if(!r)r={};const{pathEnv:o,pathExt:u,pathExtExe:h}=getPathInfo(t,r);const p=[];const step=i=>new Promise(((u,l)=>{if(i===o.length)return r.all&&p.length?u(p):l(getNotFoundError(t));const h=o[i];const d=/^".*"$/.test(h)?h.slice(1,-1):h;const m=a.join(d,t);const g=!d&&/^\.[\\\/]/.test(t)?t.slice(0,2)+m:m;u(subStep(g,i,0))}));const subStep=(t,i,o)=>new Promise(((a,d)=>{if(o===u.length)return a(step(i+1));const m=u[o];l(t+m,{pathExt:h},((u,l)=>{if(!u&&l){if(r.all)p.push(t+m);else return a(t+m)}return a(subStep(t,i,o+1))}))}));return i?step(0).then((t=>i(null,t)),i):step(0)};const whichSync=(t,r)=>{r=r||{};const{pathEnv:i,pathExt:o,pathExtExe:u}=getPathInfo(t,r);const h=[];for(let p=0;p<i.length;p++){const d=i[p];const m=/^".*"$/.test(d)?d.slice(1,-1):d;const g=a.join(m,t);const y=!m&&/^\.[\\\/]/.test(t)?t.slice(0,2)+g:g;for(let t=0;t<o.length;t++){const i=y+o[t];try{const t=l.sync(i,{pathExt:u});if(t){if(r.all)h.push(i);else return i}}catch(t){}}}if(r.all&&h.length)return h;if(r.nothrow)return null;throw getNotFoundError(t)};t.exports=which;which.sync=whichSync},5134:t=>{"use strict";
3
3
  /*!
4
4
  * @description Recursive object extending
5
5
  * @author Viacheslav Lotsmanov <lotsmanov89@gmail.com>
@@ -80,4 +80,4 @@ var o=i(4300);var a=o.Buffer;function copyProps(t,r){for(var i in t){r[i]=t[i]}}
80
80
 
81
81
  {bold Options}
82
82
  ${i.split("\n").join("\n ")}
83
- `+o,0)}r.printHelp=printHelp;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,h.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=>!(t.endsWith(".iml")||a.includes(t))))}r.getConflictsForDirectory=getConflictsForDirectory},2126: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(774));function withSectionLog(t,r){const i=(0,a.default)({text:r.pending,stream:process.stderr});i.start();return t(i).then((t=>{i.succeed(r.success);return t}),(t=>{i.fail(r.error(t));throw t}))}r.withSectionLog=withSectionLog},5075: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(961));const u=o(i(5418));const l=i(3744);const h=i(9756);async function shouldUpdate(){try{const t=await(0,u.default)(h);if(t===null||t===void 0?void 0:t.latest){l.Log.log();l.Log.log(a.default.yellow.bold(`A new version of \`${h.name}\` is available`));l.Log.log((0,a.default)`You can update by running: {cyan npm install -g ${h.name}}`);l.Log.log()}}catch{}}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")},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")},4521:t=>{"use strict";t.exports=require("readline")},2781:t=>{"use strict";t.exports=require("stream")},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")},849:(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#n=false;static create(t){const r=getUintArray(t);if(!r)return[];Stack.#n=true;const i=new Stack(t,r);Stack.#n=false;return i}constructor(t,r){if(!Stack.#n){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{#i;#s;#o;#a;#u;#l;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#c;#f;#h;#p;#d;#m;#g;#y;#v;#A;#b;#w;#E;#S;#_;#D;#C;static unsafeExposeInternals(t){return{starts:t.#E,ttls:t.#S,sizes:t.#w,keyMap:t.#h,keyList:t.#p,valList:t.#d,next:t.#m,prev:t.#g,get head(){return t.#y},get tail(){return t.#v},free:t.#A,isBackgroundFetch:r=>t.#x(r),backgroundFetch:(r,i,o,a)=>t.#F(r,i,o,a),moveToTail:r=>t.#O(r),indexes:r=>t.#R(r),rindexes:r=>t.#k(r),isStale:r=>t.#T(r)}}get max(){return this.#i}get maxSize(){return this.#s}get calculatedSize(){return this.#f}get size(){return this.#c}get fetchMethod(){return this.#u}get memoMethod(){return this.#l}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:v=0,maxEntrySize:A=0,sizeCalculation:b,fetchMethod:w,memoMethod:E,noDeleteOnFetchRejection:S,noDeleteOnStaleGet:_,allowStaleOnFetchRejection:D,allowStaleOnFetchAbort:C,ignoreFetchAbort:x}=t;if(r!==0&&!isPosInt(r)){throw new TypeError("max option must be a nonnegative integer")}const O=r?getUintArray(r):Array;if(!O){throw new Error("invalid max value: "+r)}this.#i=r;this.#s=v;this.maxEntrySize=A||this.#s;this.sizeCalculation=b;if(this.sizeCalculation){if(!this.#s&&!this.maxEntrySize){throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize")}if(typeof this.sizeCalculation!=="function"){throw new TypeError("sizeCalculation set to non-function")}}if(E!==undefined&&typeof E!=="function"){throw new TypeError("memoMethod must be a function if defined")}this.#l=E;if(w!==undefined&&typeof w!=="function"){throw new TypeError("fetchMethod must be a function if specified")}this.#u=w;this.#D=!!w;this.#h=new Map;this.#p=new Array(r).fill(undefined);this.#d=new Array(r).fill(undefined);this.#m=new O(r);this.#g=new O(r);this.#y=0;this.#v=0;this.#A=Stack.create(r);this.#c=0;this.#f=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=!!S;this.allowStaleOnFetchRejection=!!D;this.allowStaleOnFetchAbort=!!C;this.ignoreFetchAbort=!!x;if(this.maxEntrySize!==0){if(this.#s!==0){if(!isPosInt(this.#s)){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.#L()}if(this.#i===0&&this.ttl===0&&this.#s===0){throw new TypeError("At least one of max, maxSize, or ttl is required")}if(!this.ttlAutopurge&&!this.#i&&!this.#s){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}#L(){const t=new ZeroArray(this.#i);const r=new ZeroArray(this.#i);this.#S=t;this.#E=r;this.#I=(o,a,u=i.now())=>{r[o]=a!==0?u:0;t[o]=a;if(a!==0&&this.ttlAutopurge){const t=setTimeout((()=>{if(this.#T(o)){this.#M(this.#p[o],"expire")}}),a+1);if(t.unref){t.unref()}}};this.#B=o=>{r[o]=t[o]!==0?i.now():0};this.#N=(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.#T=i=>{const a=r[i];const u=t[i];return!!u&&!!a&&(o||getNow())-a>u}}#B=()=>{};#N=()=>{};#I=()=>{};#T=()=>false;#P(){const t=new ZeroArray(this.#i);this.#f=0;this.#w=t;this.#$=r=>{this.#f-=t[r];t[r]=0};this.#j=(t,r,i,o)=>{if(this.#x(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.#W=(r,i,o)=>{t[r]=i;if(this.#s){const i=this.#s-t[r];while(this.#f>i){this.#H(true)}}this.#f+=t[r];if(o){o.entrySize=i;o.totalCalculatedSize=this.#f}}}#$=t=>{};#W=(t,r,i)=>{};#j=(t,r,i,o)=>{if(i||o){throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache")}return 0};*#R({allowStale:t=this.allowStale}={}){if(this.#c){for(let r=this.#v;true;){if(!this.#U(r)){break}if(t||!this.#T(r)){yield r}if(r===this.#y){break}else{r=this.#g[r]}}}}*#k({allowStale:t=this.allowStale}={}){if(this.#c){for(let r=this.#y;true;){if(!this.#U(r)){break}if(t||!this.#T(r)){yield r}if(r===this.#v){break}else{r=this.#m[r]}}}}#U(t){return t!==undefined&&this.#h.get(this.#p[t])===t}*entries(){for(const t of this.#R()){if(this.#d[t]!==undefined&&this.#p[t]!==undefined&&!this.#x(this.#d[t])){yield[this.#p[t],this.#d[t]]}}}*rentries(){for(const t of this.#k()){if(this.#d[t]!==undefined&&this.#p[t]!==undefined&&!this.#x(this.#d[t])){yield[this.#p[t],this.#d[t]]}}}*keys(){for(const t of this.#R()){const r=this.#p[t];if(r!==undefined&&!this.#x(this.#d[t])){yield r}}}*rkeys(){for(const t of this.#k()){const r=this.#p[t];if(r!==undefined&&!this.#x(this.#d[t])){yield r}}}*values(){for(const t of this.#R()){const r=this.#d[t];if(r!==undefined&&!this.#x(this.#d[t])){yield this.#d[t]}}}*rvalues(){for(const t of this.#k()){const r=this.#d[t];if(r!==undefined&&!this.#x(this.#d[t])){yield this.#d[t]}}}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(t,r={}){for(const i of this.#R()){const o=this.#d[i];const a=this.#x(o)?o.__staleWhileFetching:o;if(a===undefined)continue;if(t(a,this.#p[i],this)){return this.get(this.#p[i],r)}}}forEach(t,r=this){for(const i of this.#R()){const o=this.#d[i];const a=this.#x(o)?o.__staleWhileFetching:o;if(a===undefined)continue;t.call(r,a,this.#p[i],this)}}rforEach(t,r=this){for(const i of this.#k()){const o=this.#d[i];const a=this.#x(o)?o.__staleWhileFetching:o;if(a===undefined)continue;t.call(r,a,this.#p[i],this)}}purgeStale(){let t=false;for(const r of this.#k({allowStale:true})){if(this.#T(r)){this.#M(this.#p[r],"expire");t=true}}return t}info(t){const r=this.#h.get(t);if(r===undefined)return undefined;const o=this.#d[r];const a=this.#x(o)?o.__staleWhileFetching:o;if(a===undefined)return undefined;const u={value:a};if(this.#S&&this.#E){const t=this.#S[r];const o=this.#E[r];if(t&&o){const r=t-(i.now()-o);u.ttl=r;u.start=Date.now()}}if(this.#w){u.size=this.#w[r]}return u}dump(){const t=[];for(const r of this.#R({allowStale:true})){const o=this.#p[r];const a=this.#d[r];const u=this.#x(a)?a.__staleWhileFetching:a;if(u===undefined||o===undefined)continue;const l={value:u};if(this.#S&&this.#E){l.ttl=this.#S[r];const t=i.now()-this.#E[r];l.start=Math.floor(Date.now()-t)}if(this.#w){l.size=this.#w[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.#j(t,r,i.size||0,l);if(this.maxEntrySize&&d>this.maxEntrySize){if(h){h.set="miss";h.maxEntrySizeExceeded=true}this.#M(t,"set");return this}let m=this.#c===0?undefined:this.#h.get(t);if(m===undefined){m=this.#c===0?this.#v:this.#A.length!==0?this.#A.pop():this.#c===this.#i?this.#H(false):this.#c;this.#p[m]=t;this.#d[m]=r;this.#h.set(t,m);this.#m[this.#v]=m;this.#g[m]=this.#v;this.#v=m;this.#c++;this.#W(m,d,h);if(h)h.set="add";p=false}else{this.#O(m);const i=this.#d[m];if(r!==i){if(this.#D&&this.#x(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.#$(m);this.#W(m,d,h);this.#d[m]=r;if(h){h.set="replace";const t=i&&this.#x(i)?i.__staleWhileFetching:i;if(t!==undefined)h.oldValue=t}}else if(h){h.set="update"}}if(o!==0&&!this.#S){this.#L()}if(this.#S){if(!p){this.#I(m,o,a)}if(h)this.#N(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.#c){const t=this.#d[this.#y];this.#H(true);if(this.#x(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)}}}}#H(t){const r=this.#y;const i=this.#p[r];const o=this.#d[r];if(this.#D&&this.#x(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.#$(r);if(t){this.#p[r]=undefined;this.#d[r]=undefined;this.#A.push(r)}if(this.#c===1){this.#y=this.#v=0;this.#A.length=0}else{this.#y=this.#m[r]}this.#h.delete(i);this.#c--;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.#d[a];if(this.#x(t)&&t.__staleWhileFetching===undefined){return false}if(!this.#T(a)){if(i){this.#B(a)}if(o){o.has="hit";this.#N(o,a)}return true}else if(o){o.has="stale";this.#N(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.#T(o)){return}const a=this.#d[o];return this.#x(a)?a.__staleWhileFetching:a}#F(t,r,i,o){const a=r===undefined?undefined:this.#d[r];if(this.#x(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.#d[r]===d){if(o===undefined){if(m.__staleWhileFetching){this.#d[r]=m.__staleWhileFetching}else{this.#M(t,"fetch")}}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.#d[r]===d){const i=!p||m.__staleWhileFetching===undefined;if(i){this.#M(t,"fetch")}else if(!u){this.#d[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.#d[r]=m}return m}#x(t){if(!this.#D)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:v=this.allowStaleOnFetchAbort,context:A,forceRefresh:b=false,status:w,signal:E}=r;if(!this.#D){if(w)w.fetch="get";return this.get(t,{allowStale:i,updateAgeOnGet:o,noDeleteOnStaleGet:a,status:w})}const S={allowStale:i,updateAgeOnGet:o,noDeleteOnStaleGet:a,ttl:u,noDisposeOnSet:l,size:h,sizeCalculation:p,noUpdateTTL:d,noDeleteOnFetchRejection:m,allowStaleOnFetchRejection:g,allowStaleOnFetchAbort:v,ignoreFetchAbort:y,status:w,signal:E};let _=this.#h.get(t);if(_===undefined){if(w)w.fetch="miss";const r=this.#F(t,_,S,A);return r.__returned=r}else{const r=this.#d[_];if(this.#x(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.#T(_);if(!b&&!a){if(w)w.fetch="hit";this.#O(_);if(o){this.#B(_)}if(w)this.#N(w,_);return r}const u=this.#F(t,_,S,A);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}}async forceFetch(t,r={}){const i=await this.fetch(t,r);if(i===undefined)throw new Error("fetch() returned undefined");return i}memo(t,r={}){const i=this.#l;if(!i){throw new Error("no memoMethod provided to constructor")}const{context:o,forceRefresh:a,...u}=r;const l=this.get(t,u);if(!a&&l!==undefined)return l;const h=i(t,l,{options:u,context:o});this.set(t,h,u);return h}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.#d[l];const h=this.#x(r);if(u)this.#N(u,l);if(this.#T(l)){if(u)u.get="stale";if(!h){if(!a){this.#M(t,"expire")}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.#O(l);if(o){this.#B(l)}return r}}else if(u){u.get="miss"}}#G(t,r){this.#g[r]=t;this.#m[t]=r}#O(t){if(t!==this.#v){if(t===this.#y){this.#y=this.#m[t]}else{this.#G(this.#g[t],this.#m[t])}this.#G(this.#v,t);this.#v=t}}delete(t){return this.#M(t,"delete")}#M(t,r){let i=false;if(this.#c!==0){const o=this.#h.get(t);if(o!==undefined){i=true;if(this.#c===1){this.#Y(r)}else{this.#$(o);const i=this.#d[o];if(this.#x(i)){i.__abortController.abort(new Error("deleted"))}else if(this.#_||this.#C){if(this.#_){this.#o?.(i,t,r)}if(this.#C){this.#b?.push([i,t,r])}}this.#h.delete(t);this.#p[o]=undefined;this.#d[o]=undefined;if(o===this.#v){this.#v=this.#g[o]}else if(o===this.#y){this.#y=this.#m[o]}else{const t=this.#g[o];this.#m[t]=this.#m[o];const r=this.#m[o];this.#g[r]=this.#g[o]}this.#c--;this.#A.push(o)}}}if(this.#C&&this.#b?.length){const t=this.#b;let r;while(r=t?.shift()){this.#a?.(...r)}}return i}clear(){return this.#Y("delete")}#Y(t){for(const r of this.#k({allowStale:true})){const i=this.#d[r];if(this.#x(i)){i.__abortController.abort(new Error("deleted"))}else{const o=this.#p[r];if(this.#_){this.#o?.(i,o,t)}if(this.#C){this.#b?.push([i,o,t])}}}this.#h.clear();this.#d.fill(undefined);this.#p.fill(undefined);if(this.#S&&this.#E){this.#S.fill(0);this.#E.fill(0)}if(this.#w){this.#w.fill(0)}this.#y=0;this.#v=0;this.#A.length=0;this.#f=0;this.#c=0;if(this.#C&&this.#b){const t=this.#b;let r;while(r=t?.shift()){this.#a?.(...r)}}}}r.LRUCache=LRUCache},774:(t,r,i)=>{"use strict";i.r(r);i.d(r,{default:()=>ora,oraPromise:()=>oraPromise,spinners:()=>U});var o=i(7742);const a=10;const wrapAnsi16=(t=0)=>r=>`[${r+t}m`;const wrapAnsi256=(t=0)=>r=>`[${38+t};5;${r}m`;const wrapAnsi16m=(t=0)=>(r,i,o)=>`[${38+t};2;${r};${i};${o}m`;const u={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};const l=Object.keys(u.modifier);const h=Object.keys(u.color);const p=Object.keys(u.bgColor);const d=[...h,...p];function assembleStyles(){const t=new Map;for(const[r,i]of Object.entries(u)){for(const[r,o]of Object.entries(i)){u[r]={open:`[${o[0]}m`,close:`[${o[1]}m`};i[r]=u[r];t.set(o[0],o[1])}Object.defineProperty(u,r,{value:i,enumerable:false})}Object.defineProperty(u,"codes",{value:t,enumerable:false});u.color.close="";u.bgColor.close="";u.color.ansi=wrapAnsi16();u.color.ansi256=wrapAnsi256();u.color.ansi16m=wrapAnsi16m();u.bgColor.ansi=wrapAnsi16(a);u.bgColor.ansi256=wrapAnsi256(a);u.bgColor.ansi16m=wrapAnsi16m(a);Object.defineProperties(u,{rgbToAnsi256:{value(t,r,i){if(t===r&&r===i){if(t<8){return 16}if(t>248){return 231}return Math.round((t-8)/247*24)+232}return 16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(i/255*5)},enumerable:false},hexToRgb:{value(t){const r=/[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));if(!r){return[0,0,0]}let[i]=r;if(i.length===3){i=[...i].map((t=>t+t)).join("")}const o=Number.parseInt(i,16);return[o>>16&255,o>>8&255,o&255]},enumerable:false},hexToAnsi256:{value:t=>u.rgbToAnsi256(...u.hexToRgb(t)),enumerable:false},ansi256ToAnsi:{value(t){if(t<8){return 30+t}if(t<16){return 90+(t-8)}let r;let i;let o;if(t>=232){r=((t-232)*10+8)/255;i=r;o=r}else{t-=16;const a=t%36;r=Math.floor(t/36)/5;i=Math.floor(a/6)/5;o=a%6/5}const a=Math.max(r,i,o)*2;if(a===0){return 30}let u=30+(Math.round(o)<<2|Math.round(i)<<1|Math.round(r));if(a===2){u+=60}return u},enumerable:false},rgbToAnsi:{value:(t,r,i)=>u.ansi256ToAnsi(u.rgbToAnsi256(t,r,i)),enumerable:false},hexToAnsi:{value:t=>u.ansi256ToAnsi(u.hexToAnsi256(t)),enumerable:false}});return u}const m=assembleStyles();const g=m;const y=require("node:os");const v=require("node:tty");function hasFlag(t,r=(globalThis.Deno?globalThis.Deno.args:o.argv)){const i=t.startsWith("-")?"":t.length===1?"-":"--";const a=r.indexOf(i+t);const u=r.indexOf("--");return a!==-1&&(u===-1||a<u)}const{env:A}=o;let b;if(hasFlag("no-color")||hasFlag("no-colors")||hasFlag("color=false")||hasFlag("color=never")){b=0}else if(hasFlag("color")||hasFlag("colors")||hasFlag("color=true")||hasFlag("color=always")){b=1}function envForceColor(){if("FORCE_COLOR"in A){if(A.FORCE_COLOR==="true"){return 1}if(A.FORCE_COLOR==="false"){return 0}return A.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(A.FORCE_COLOR,10),3)}}function translateLevel(t){if(t===0){return false}return{level:t,hasBasic:true,has256:t>=2,has16m:t>=3}}function _supportsColor(t,{streamIsTTY:r,sniffFlags:i=true}={}){const a=envForceColor();if(a!==undefined){b=a}const u=i?b:a;if(u===0){return 0}if(i){if(hasFlag("color=16m")||hasFlag("color=full")||hasFlag("color=truecolor")){return 3}if(hasFlag("color=256")){return 2}}if("TF_BUILD"in A&&"AGENT_NAME"in A){return 1}if(t&&!r&&u===undefined){return 0}const l=u||0;if(A.TERM==="dumb"){return l}if(o.platform==="win32"){const t=y.release().split(".");if(Number(t[0])>=10&&Number(t[2])>=10586){return Number(t[2])>=14931?3:2}return 1}if("CI"in A){if("GITHUB_ACTIONS"in A||"GITEA_ACTIONS"in A){return 3}if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((t=>t in A))||A.CI_NAME==="codeship"){return 1}return l}if("TEAMCITY_VERSION"in A){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(A.TEAMCITY_VERSION)?1:0}if(A.COLORTERM==="truecolor"){return 3}if(A.TERM==="xterm-kitty"){return 3}if("TERM_PROGRAM"in A){const t=Number.parseInt((A.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(A.TERM_PROGRAM){case"iTerm.app":{return t>=3?3:2}case"Apple_Terminal":{return 2}}}if(/-256(color)?$/i.test(A.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(A.TERM)){return 1}if("COLORTERM"in A){return 1}return l}function createSupportsColor(t,r={}){const i=_supportsColor(t,{streamIsTTY:t&&t.isTTY,...r});return translateLevel(i)}const w={stdout:createSupportsColor({isTTY:v.isatty(1)}),stderr:createSupportsColor({isTTY:v.isatty(2)})};const E=w;function stringReplaceAll(t,r,i){let o=t.indexOf(r);if(o===-1){return t}const a=r.length;let u=0;let l="";do{l+=t.slice(u,o)+r+i;u=o+a;o=t.indexOf(r,u)}while(o!==-1);l+=t.slice(u);return l}function stringEncaseCRLFWithFirstIndex(t,r,i,o){let a=0;let u="";do{const l=t[o-1]==="\r";u+=t.slice(a,l?o-1:o)+r+(l?"\r\n":"\n")+i;a=o+1;o=t.indexOf("\n",a)}while(o!==-1);u+=t.slice(a);return u}const{stdout:S,stderr:_}=E;const D=Symbol("GENERATOR");const C=Symbol("STYLER");const x=Symbol("IS_EMPTY");const O=["ansi","ansi","ansi256","ansi16m"];const R=Object.create(null);const applyOptions=(t,r={})=>{if(r.level&&!(Number.isInteger(r.level)&&r.level>=0&&r.level<=3)){throw new Error("The `level` option should be an integer from 0 to 3")}const i=S?S.level:0;t.level=r.level===undefined?i:r.level};class Chalk{constructor(t){return chalkFactory(t)}}const chalkFactory=t=>{const chalk=(...t)=>t.join(" ");applyOptions(chalk,t);Object.setPrototypeOf(chalk,createChalk.prototype);return chalk};function createChalk(t){return chalkFactory(t)}Object.setPrototypeOf(createChalk.prototype,Function.prototype);for(const[t,r]of Object.entries(g)){R[t]={get(){const i=createBuilder(this,createStyler(r.open,r.close,this[C]),this[x]);Object.defineProperty(this,t,{value:i});return i}}}R.visible={get(){const t=createBuilder(this,this[C],true);Object.defineProperty(this,"visible",{value:t});return t}};const getModelAnsi=(t,r,i,...o)=>{if(t==="rgb"){if(r==="ansi16m"){return g[i].ansi16m(...o)}if(r==="ansi256"){return g[i].ansi256(g.rgbToAnsi256(...o))}return g[i].ansi(g.rgbToAnsi(...o))}if(t==="hex"){return getModelAnsi("rgb",r,i,...g.hexToRgb(...o))}return g[i][t](...o)};const k=["rgb","hex","ansi256"];for(const t of k){R[t]={get(){const{level:r}=this;return function(...i){const o=createStyler(getModelAnsi(t,O[r],"color",...i),g.color.close,this[C]);return createBuilder(this,o,this[x])}}};const r="bg"+t[0].toUpperCase()+t.slice(1);R[r]={get(){const{level:r}=this;return function(...i){const o=createStyler(getModelAnsi(t,O[r],"bgColor",...i),g.bgColor.close,this[C]);return createBuilder(this,o,this[x])}}}}const T=Object.defineProperties((()=>{}),{...R,level:{enumerable:true,get(){return this[D].level},set(t){this[D].level=t}}});const createStyler=(t,r,i)=>{let o;let a;if(i===undefined){o=t;a=r}else{o=i.openAll+t;a=r+i.closeAll}return{open:t,close:r,openAll:o,closeAll:a,parent:i}};const createBuilder=(t,r,i)=>{const builder=(...t)=>applyStyle(builder,t.length===1?""+t[0]:t.join(" "));Object.setPrototypeOf(builder,T);builder[D]=t;builder[C]=r;builder[x]=i;return builder};const applyStyle=(t,r)=>{if(t.level<=0||!r){return t[x]?"":r}let i=t[C];if(i===undefined){return r}const{openAll:o,closeAll:a}=i;if(r.includes("")){while(i!==undefined){r=stringReplaceAll(r,i.close,i.open);i=i.parent}}const u=r.indexOf("\n");if(u!==-1){r=stringEncaseCRLFWithFirstIndex(r,a,o,u)}return o+r+a};Object.defineProperties(createChalk.prototype,R);const P=createChalk();const L=createChalk({level:_?_.level:0});const I=P;var M=i(7462);var B=i(9545);const N=M((()=>{B((()=>{o.stderr.write("[?25h")}),{alwaysLast:true})}));const $=N;let j=false;const W={};W.show=(t=o.stderr)=>{if(!t.isTTY){return}j=false;t.write("[?25h")};W.hide=(t=o.stderr)=>{if(!t.isTTY){return}$();j=true;t.write("[?25l")};W.toggle=(t,r)=>{if(t!==undefined){j=t}if(j){W.show(r)}else{W.hide(r)}};const H=W;var U=i(5549);const G=10;const ansi_styles_wrapAnsi16=(t=0)=>r=>`[${r+t}m`;const ansi_styles_wrapAnsi256=(t=0)=>r=>`[${38+t};5;${r}m`;const ansi_styles_wrapAnsi16m=(t=0)=>(r,i,o)=>`[${38+t};2;${r};${i};${o}m`;const Y={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};const V=Object.keys(Y.modifier);const z=Object.keys(Y.color);const q=Object.keys(Y.bgColor);const Q=[...z,...q];function ansi_styles_assembleStyles(){const t=new Map;for(const[r,i]of Object.entries(Y)){for(const[r,o]of Object.entries(i)){Y[r]={open:`[${o[0]}m`,close:`[${o[1]}m`};i[r]=Y[r];t.set(o[0],o[1])}Object.defineProperty(Y,r,{value:i,enumerable:false})}Object.defineProperty(Y,"codes",{value:t,enumerable:false});Y.color.close="";Y.bgColor.close="";Y.color.ansi=ansi_styles_wrapAnsi16();Y.color.ansi256=ansi_styles_wrapAnsi256();Y.color.ansi16m=ansi_styles_wrapAnsi16m();Y.bgColor.ansi=ansi_styles_wrapAnsi16(G);Y.bgColor.ansi256=ansi_styles_wrapAnsi256(G);Y.bgColor.ansi16m=ansi_styles_wrapAnsi16m(G);Object.defineProperties(Y,{rgbToAnsi256:{value(t,r,i){if(t===r&&r===i){if(t<8){return 16}if(t>248){return 231}return Math.round((t-8)/247*24)+232}return 16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(i/255*5)},enumerable:false},hexToRgb:{value(t){const r=/[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));if(!r){return[0,0,0]}let[i]=r;if(i.length===3){i=[...i].map((t=>t+t)).join("")}const o=Number.parseInt(i,16);return[o>>16&255,o>>8&255,o&255]},enumerable:false},hexToAnsi256:{value:t=>Y.rgbToAnsi256(...Y.hexToRgb(t)),enumerable:false},ansi256ToAnsi:{value(t){if(t<8){return 30+t}if(t<16){return 90+(t-8)}let r;let i;let o;if(t>=232){r=((t-232)*10+8)/255;i=r;o=r}else{t-=16;const a=t%36;r=Math.floor(t/36)/5;i=Math.floor(a/6)/5;o=a%6/5}const a=Math.max(r,i,o)*2;if(a===0){return 30}let u=30+(Math.round(o)<<2|Math.round(i)<<1|Math.round(r));if(a===2){u+=60}return u},enumerable:false},rgbToAnsi:{value:(t,r,i)=>Y.ansi256ToAnsi(Y.rgbToAnsi256(t,r,i)),enumerable:false},hexToAnsi:{value:t=>Y.ansi256ToAnsi(Y.hexToAnsi256(t)),enumerable:false}});return Y}const K=ansi_styles_assembleStyles();const J=K;function supports_color_hasFlag(t,r=(globalThis.Deno?globalThis.Deno.args:o.argv)){const i=t.startsWith("-")?"":t.length===1?"-":"--";const a=r.indexOf(i+t);const u=r.indexOf("--");return a!==-1&&(u===-1||a<u)}const{env:X}=o;let Z;if(supports_color_hasFlag("no-color")||supports_color_hasFlag("no-colors")||supports_color_hasFlag("color=false")||supports_color_hasFlag("color=never")){Z=0}else if(supports_color_hasFlag("color")||supports_color_hasFlag("colors")||supports_color_hasFlag("color=true")||supports_color_hasFlag("color=always")){Z=1}function supports_color_envForceColor(){if("FORCE_COLOR"in X){if(X.FORCE_COLOR==="true"){return 1}if(X.FORCE_COLOR==="false"){return 0}return X.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(X.FORCE_COLOR,10),3)}}function supports_color_translateLevel(t){if(t===0){return false}return{level:t,hasBasic:true,has256:t>=2,has16m:t>=3}}function supports_color_supportsColor(t,{streamIsTTY:r,sniffFlags:i=true}={}){const a=supports_color_envForceColor();if(a!==undefined){Z=a}const u=i?Z:a;if(u===0){return 0}if(i){if(supports_color_hasFlag("color=16m")||supports_color_hasFlag("color=full")||supports_color_hasFlag("color=truecolor")){return 3}if(supports_color_hasFlag("color=256")){return 2}}if("TF_BUILD"in X&&"AGENT_NAME"in X){return 1}if(t&&!r&&u===undefined){return 0}const l=u||0;if(X.TERM==="dumb"){return l}if(o.platform==="win32"){const t=y.release().split(".");if(Number(t[0])>=10&&Number(t[2])>=10586){return Number(t[2])>=14931?3:2}return 1}if("CI"in X){if("GITHUB_ACTIONS"in X||"GITEA_ACTIONS"in X){return 3}if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((t=>t in X))||X.CI_NAME==="codeship"){return 1}return l}if("TEAMCITY_VERSION"in X){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(X.TEAMCITY_VERSION)?1:0}if(X.COLORTERM==="truecolor"){return 3}if(X.TERM==="xterm-kitty"){return 3}if("TERM_PROGRAM"in X){const t=Number.parseInt((X.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(X.TERM_PROGRAM){case"iTerm.app":{return t>=3?3:2}case"Apple_Terminal":{return 2}}}if(/-256(color)?$/i.test(X.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(X.TERM)){return 1}if("COLORTERM"in X){return 1}return l}function supports_color_createSupportsColor(t,r={}){const i=supports_color_supportsColor(t,{streamIsTTY:t&&t.isTTY,...r});return supports_color_translateLevel(i)}const ee={stdout:supports_color_createSupportsColor({isTTY:v.isatty(1)}),stderr:supports_color_createSupportsColor({isTTY:v.isatty(2)})};const te=ee;function utilities_stringReplaceAll(t,r,i){let o=t.indexOf(r);if(o===-1){return t}const a=r.length;let u=0;let l="";do{l+=t.slice(u,o)+r+i;u=o+a;o=t.indexOf(r,u)}while(o!==-1);l+=t.slice(u);return l}function utilities_stringEncaseCRLFWithFirstIndex(t,r,i,o){let a=0;let u="";do{const l=t[o-1]==="\r";u+=t.slice(a,l?o-1:o)+r+(l?"\r\n":"\n")+i;a=o+1;o=t.indexOf("\n",a)}while(o!==-1);u+=t.slice(a);return u}const{stdout:re,stderr:ne}=te;const ie=Symbol("GENERATOR");const se=Symbol("STYLER");const oe=Symbol("IS_EMPTY");const ae=["ansi","ansi","ansi256","ansi16m"];const ue=Object.create(null);const source_applyOptions=(t,r={})=>{if(r.level&&!(Number.isInteger(r.level)&&r.level>=0&&r.level<=3)){throw new Error("The `level` option should be an integer from 0 to 3")}const i=re?re.level:0;t.level=r.level===undefined?i:r.level};class source_Chalk{constructor(t){return source_chalkFactory(t)}}const source_chalkFactory=t=>{const chalk=(...t)=>t.join(" ");source_applyOptions(chalk,t);Object.setPrototypeOf(chalk,source_createChalk.prototype);return chalk};function source_createChalk(t){return source_chalkFactory(t)}Object.setPrototypeOf(source_createChalk.prototype,Function.prototype);for(const[t,r]of Object.entries(J)){ue[t]={get(){const i=source_createBuilder(this,source_createStyler(r.open,r.close,this[se]),this[oe]);Object.defineProperty(this,t,{value:i});return i}}}ue.visible={get(){const t=source_createBuilder(this,this[se],true);Object.defineProperty(this,"visible",{value:t});return t}};const source_getModelAnsi=(t,r,i,...o)=>{if(t==="rgb"){if(r==="ansi16m"){return J[i].ansi16m(...o)}if(r==="ansi256"){return J[i].ansi256(J.rgbToAnsi256(...o))}return J[i].ansi(J.rgbToAnsi(...o))}if(t==="hex"){return source_getModelAnsi("rgb",r,i,...J.hexToRgb(...o))}return J[i][t](...o)};const le=["rgb","hex","ansi256"];for(const t of le){ue[t]={get(){const{level:r}=this;return function(...i){const o=source_createStyler(source_getModelAnsi(t,ae[r],"color",...i),J.color.close,this[se]);return source_createBuilder(this,o,this[oe])}}};const r="bg"+t[0].toUpperCase()+t.slice(1);ue[r]={get(){const{level:r}=this;return function(...i){const o=source_createStyler(source_getModelAnsi(t,ae[r],"bgColor",...i),J.bgColor.close,this[se]);return source_createBuilder(this,o,this[oe])}}}}const ce=Object.defineProperties((()=>{}),{...ue,level:{enumerable:true,get(){return this[ie].level},set(t){this[ie].level=t}}});const source_createStyler=(t,r,i)=>{let o;let a;if(i===undefined){o=t;a=r}else{o=i.openAll+t;a=r+i.closeAll}return{open:t,close:r,openAll:o,closeAll:a,parent:i}};const source_createBuilder=(t,r,i)=>{const builder=(...t)=>source_applyStyle(builder,t.length===1?""+t[0]:t.join(" "));Object.setPrototypeOf(builder,ce);builder[ie]=t;builder[se]=r;builder[oe]=i;return builder};const source_applyStyle=(t,r)=>{if(t.level<=0||!r){return t[oe]?"":r}let i=t[se];if(i===undefined){return r}const{openAll:o,closeAll:a}=i;if(r.includes("")){while(i!==undefined){r=utilities_stringReplaceAll(r,i.close,i.open);i=i.parent}}const u=r.indexOf("\n");if(u!==-1){r=utilities_stringEncaseCRLFWithFirstIndex(r,a,o,u)}return o+r+a};Object.defineProperties(source_createChalk.prototype,ue);const fe=source_createChalk();const he=source_createChalk({level:ne?ne.level:0});const pe=fe;function isUnicodeSupported(){if(o.platform!=="win32"){return o.env.TERM!=="linux"}return Boolean(o.env.CI)||Boolean(o.env.WT_SESSION)||Boolean(o.env.TERMINUS_SUBLIME)||o.env.ConEmuTask==="{cmd::Cmder}"||o.env.TERM_PROGRAM==="Terminus-Sublime"||o.env.TERM_PROGRAM==="vscode"||o.env.TERM==="xterm-256color"||o.env.TERM==="alacritty"||o.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}const de={info:pe.blue("ℹ"),success:pe.green("✔"),warning:pe.yellow("⚠"),error:pe.red("✖")};const me={info:pe.blue("i"),success:pe.green("√"),warning:pe.yellow("‼"),error:pe.red("×")};const ge=isUnicodeSupported()?de:me;const ye=ge;function ansiRegex({onlyFirst:t=false}={}){const r=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(r,t?undefined:"g")}const ve=ansiRegex();function stripAnsi(t){if(typeof t!=="string"){throw new TypeError(`Expected a \`string\`, got \`${typeof t}\``)}return t.replace(ve,"")}var Ae=i(1205);function isInteractive({stream:t=process.stdout}={}){return Boolean(t&&t.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))}function is_unicode_supported_isUnicodeSupported(){if(o.platform!=="win32"){return o.env.TERM!=="linux"}return Boolean(o.env.CI)||Boolean(o.env.WT_SESSION)||Boolean(o.env.TERMINUS_SUBLIME)||o.env.ConEmuTask==="{cmd::Cmder}"||o.env.TERM_PROGRAM==="Terminus-Sublime"||o.env.TERM_PROGRAM==="vscode"||o.env.TERM==="xterm-256color"||o.env.TERM==="alacritty"||o.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}const be=require("node:readline");var we=i(2167);const Ee=3;class StdinDiscarder{#V=0;#z=new we.BufferListStream;#q;#Q;constructor(){this.#z.pipe(o.stdout);const t=this;this.#q=function(r,i,...a){const{stdin:u}=o;if(t.#V>0||u.emit===t.#q){if(r==="keypress"){return}if(r==="data"&&i.includes(Ee)){o.emit("SIGINT")}Reflect.apply(t.#q,this,[r,i,...a])}else{Reflect.apply(o.stdin.emit,this,[r,i,...a])}}}start(){this.#V++;if(this.#V===1){this._realStart()}}stop(){if(this.#V<=0){throw new Error("`stop` called more times than `start`")}this.#V--;if(this.#V===0){this._realStop()}}_realStart(){if(o.platform==="win32"){return}this.#Q=be.createInterface({input:o.stdin,output:this.#z});this.#Q.on("SIGINT",(()=>{if(o.listenerCount("SIGINT")===0){o.emit("SIGINT")}else{this.#Q.close();o.kill(o.pid,"SIGINT")}}))}_realStop(){if(o.platform==="win32"){return}this.#Q.close();this.#Q=undefined}}const Se=new StdinDiscarder;const _e=Se;class Ora{#K=0;#J=false;#X=0;#Z=0;#ee;#te;#re;#ne;#ie;#se;#oe;#ae;#ue;#le;#ce;color;constructor(t){if(typeof t==="string"){t={text:t}}this.#ee={color:"cyan",stream:o.stderr,discardStdin:true,hideCursor:true,...t};this.color=this.#ee.color;this.spinner=this.#ee.spinner;this.#ie=this.#ee.interval;this.#re=this.#ee.stream;this.#se=typeof this.#ee.isEnabled==="boolean"?this.#ee.isEnabled:isInteractive({stream:this.#re});this.#oe=typeof this.#ee.isSilent==="boolean"?this.#ee.isSilent:false;this.text=this.#ee.text;this.prefixText=this.#ee.prefixText;this.suffixText=this.#ee.suffixText;this.indent=this.#ee.indent;if(o.env.NODE_ENV==="test"){this._stream=this.#re;this._isEnabled=this.#se;Object.defineProperty(this,"_linesToClear",{get(){return this.#K},set(t){this.#K=t}});Object.defineProperty(this,"_frameIndex",{get(){return this.#Z}});Object.defineProperty(this,"_lineCount",{get(){return this.#X}})}}get indent(){return this.#ae}set indent(t=0){if(!(t>=0&&Number.isInteger(t))){throw new Error("The `indent` option must be an integer from 0 and up")}this.#ae=t;this.updateLineCount()}get interval(){return this.#ie||this.#te.interval||100}get spinner(){return this.#te}set spinner(t){this.#Z=0;this.#ie=undefined;if(typeof t==="object"){if(t.frames===undefined){throw new Error("The given spinner must have a `frames` property")}this.#te=t}else if(!is_unicode_supported_isUnicodeSupported()){this.#te=U.line}else if(t===undefined){this.#te=U.dots}else if(t!=="default"&&U[t]){this.#te=U[t]}else{throw new Error(`There is no built-in spinner named '${t}'. See https://github.com/sindresorhus/cli-spinners/blob/main/spinners.json for a full list.`)}}get text(){return this.#ue}set text(t){this.#ue=t||"";this.updateLineCount()}get prefixText(){return this.#le}set prefixText(t){this.#le=t||"";this.updateLineCount()}get suffixText(){return this.#ce}set suffixText(t){this.#ce=t||"";this.updateLineCount()}get isSpinning(){return this.#ne!==undefined}getFullPrefixText(t=this.#le,r=" "){if(typeof t==="string"&&t!==""){return t+r}if(typeof t==="function"){return t()+r}return""}getFullSuffixText(t=this.#ce,r=" "){if(typeof t==="string"&&t!==""){return r+t}if(typeof t==="function"){return r+t()}return""}updateLineCount(){const t=this.#re.columns||80;const r=this.getFullPrefixText(this.#le,"-");const i=this.getFullSuffixText(this.#ce,"-");const o=" ".repeat(this.#ae)+r+"--"+this.#ue+"--"+i;this.#X=0;for(const r of stripAnsi(o).split("\n")){this.#X+=Math.max(1,Math.ceil(Ae(r)/t))}}get isEnabled(){return this.#se&&!this.#oe}set isEnabled(t){if(typeof t!=="boolean"){throw new TypeError("The `isEnabled` option must be a boolean")}this.#se=t}get isSilent(){return this.#oe}set isSilent(t){if(typeof t!=="boolean"){throw new TypeError("The `isSilent` option must be a boolean")}this.#oe=t}frame(){const{frames:t}=this.#te;let r=t[this.#Z];if(this.color){r=I[this.color](r)}this.#Z=++this.#Z%t.length;const i=typeof this.#le==="string"&&this.#le!==""?this.#le+" ":"";const o=typeof this.text==="string"?" "+this.text:"";const a=typeof this.#ce==="string"&&this.#ce!==""?" "+this.#ce:"";return i+r+o+a}clear(){if(!this.#se||!this.#re.isTTY){return this}this.#re.cursorTo(0);for(let t=0;t<this.#K;t++){if(t>0){this.#re.moveCursor(0,-1)}this.#re.clearLine(1)}if(this.#ae||this.lastIndent!==this.#ae){this.#re.cursorTo(this.#ae)}this.lastIndent=this.#ae;this.#K=0;return this}render(){if(this.#oe){return this}this.clear();this.#re.write(this.frame());this.#K=this.#X;return this}start(t){if(t){this.text=t}if(this.#oe){return this}if(!this.#se){if(this.text){this.#re.write(`- ${this.text}\n`)}return this}if(this.isSpinning){return this}if(this.#ee.hideCursor){H.hide(this.#re)}if(this.#ee.discardStdin&&o.stdin.isTTY){this.#J=true;_e.start()}this.render();this.#ne=setInterval(this.render.bind(this),this.interval);return this}stop(){if(!this.#se){return this}clearInterval(this.#ne);this.#ne=undefined;this.#Z=0;this.clear();if(this.#ee.hideCursor){H.show(this.#re)}if(this.#ee.discardStdin&&o.stdin.isTTY&&this.#J){_e.stop();this.#J=false}return this}succeed(t){return this.stopAndPersist({symbol:ye.success,text:t})}fail(t){return this.stopAndPersist({symbol:ye.error,text:t})}warn(t){return this.stopAndPersist({symbol:ye.warning,text:t})}info(t){return this.stopAndPersist({symbol:ye.info,text:t})}stopAndPersist(t={}){if(this.#oe){return this}const r=t.prefixText||this.#le;const i=this.getFullPrefixText(r," ");const o=t.symbol||" ";const a=t.text||this.text;const u=typeof a==="string"?" "+a:"";const l=t.suffixText!==undefined?t.suffixText:this.#ce;const h=this.getFullSuffixText(l," ");const p=i+o+u+h+"\n";this.stop();this.#re.write(p);return this}}function ora(t){return new Ora(t)}async function oraPromise(t,r){const i=typeof t==="function";const o=typeof t.then==="function";if(!i&&!o){throw new TypeError("Parameter `action` must be a Function or a Promise")}const{successText:a,failText:u}=typeof r==="object"?r:{successText:undefined,failText:undefined};const l=ora(r).start();try{const r=i?t(l):t;const o=await r;l.succeed(a===undefined?undefined:typeof a==="string"?a:a(o));return o}catch(t){l.fail(u===undefined?undefined:typeof u==="string"?u:u(t));throw t}}},3300: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":["⢀⠀","⡀⠀","⠄⠀","⢂⠀","⡂⠀","⠅⠀","⢃⠀","⡃⠀","⠍⠀","⢋⠀","⡋⠀","⠍⠁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⢈⠩","⡀⢙","⠄⡙","⢂⠩","⡂⢘","⠅⡘","⢃⠨","⡃⢐","⠍⡐","⢋⠠","⡋⢀","⠍⡁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⠈⠩","⠀⢙","⠀⡙","⠀⠩","⠀⢘","⠀⡘","⠀⠨","⠀⢐","⠀⡐","⠀⠠","⠀⢀","⠀⡀"]},"dots13":{"interval":80,"frames":["⣼","⣹","⢻","⠿","⡟","⣏","⣧","⣶"]},"dots8Bit":{"interval":80,"frames":["⠀","⠁","⠂","⠃","⠄","⠅","⠆","⠇","⡀","⡁","⡂","⡃","⡄","⡅","⡆","⡇","⠈","⠉","⠊","⠋","⠌","⠍","⠎","⠏","⡈","⡉","⡊","⡋","⡌","⡍","⡎","⡏","⠐","⠑","⠒","⠓","⠔","⠕","⠖","⠗","⡐","⡑","⡒","⡓","⡔","⡕","⡖","⡗","⠘","⠙","⠚","⠛","⠜","⠝","⠞","⠟","⡘","⡙","⡚","⡛","⡜","⡝","⡞","⡟","⠠","⠡","⠢","⠣","⠤","⠥","⠦","⠧","⡠","⡡","⡢","⡣","⡤","⡥","⡦","⡧","⠨","⠩","⠪","⠫","⠬","⠭","⠮","⠯","⡨","⡩","⡪","⡫","⡬","⡭","⡮","⡯","⠰","⠱","⠲","⠳","⠴","⠵","⠶","⠷","⡰","⡱","⡲","⡳","⡴","⡵","⡶","⡷","⠸","⠹","⠺","⠻","⠼","⠽","⠾","⠿","⡸","⡹","⡺","⡻","⡼","⡽","⡾","⡿","⢀","⢁","⢂","⢃","⢄","⢅","⢆","⢇","⣀","⣁","⣂","⣃","⣄","⣅","⣆","⣇","⢈","⢉","⢊","⢋","⢌","⢍","⢎","⢏","⣈","⣉","⣊","⣋","⣌","⣍","⣎","⣏","⢐","⢑","⢒","⢓","⢔","⢕","⢖","⢗","⣐","⣑","⣒","⣓","⣔","⣕","⣖","⣗","⢘","⢙","⢚","⢛","⢜","⢝","⢞","⢟","⣘","⣙","⣚","⣛","⣜","⣝","⣞","⣟","⢠","⢡","⢢","⢣","⢤","⢥","⢦","⢧","⣠","⣡","⣢","⣣","⣤","⣥","⣦","⣧","⢨","⢩","⢪","⢫","⢬","⢭","⢮","⢯","⣨","⣩","⣪","⣫","⣬","⣭","⣮","⣯","⢰","⢱","⢲","⢳","⢴","⢵","⢶","⢷","⣰","⣱","⣲","⣳","⣴","⣵","⣶","⣷","⢸","⢹","⢺","⢻","⢼","⢽","⢾","⢿","⣸","⣹","⣺","⣻","⣼","⣽","⣾","⣿"]},"sand":{"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":["◢","◣","◤","◥"]},"binary":{"interval":80,"frames":["010010","001100","100101","111010","111101","010111","101011","111000","110011","110101"]},"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":["▰▱▱▱▱▱▱","▰▰▱▱▱▱▱","▰▰▰▱▱▱▱","▰▰▰▰▱▱▱","▰▰▰▰▰▱▱","▰▰▰▰▰▰▱","▰▰▰▰▰▰▰","▰▱▱▱▱▱▱"]},"dwarfFortress":{"interval":80,"frames":[" ██████£££ ","☺██████£££ ","☺██████£££ ","☺▓█████£££ ","☺▓█████£££ ","☺▒█████£££ ","☺▒█████£££ ","☺░█████£££ ","☺░█████£££ ","☺ █████£££ "," ☺█████£££ "," ☺█████£££ "," ☺▓████£££ "," ☺▓████£££ "," ☺▒████£££ "," ☺▒████£££ "," ☺░████£££ "," ☺░████£££ "," ☺ ████£££ "," ☺████£££ "," ☺████£££ "," ☺▓███£££ "," ☺▓███£££ "," ☺▒███£££ "," ☺▒███£££ "," ☺░███£££ "," ☺░███£££ "," ☺ ███£££ "," ☺███£££ "," ☺███£££ "," ☺▓██£££ "," ☺▓██£££ "," ☺▒██£££ "," ☺▒██£££ "," ☺░██£££ "," ☺░██£££ "," ☺ ██£££ "," ☺██£££ "," ☺██£££ "," ☺▓█£££ "," ☺▓█£££ "," ☺▒█£££ "," ☺▒█£££ "," ☺░█£££ "," ☺░█£££ "," ☺ █£££ "," ☺█£££ "," ☺█£££ "," ☺▓£££ "," ☺▓£££ "," ☺▒£££ "," ☺▒£££ "," ☺░£££ "," ☺░£££ "," ☺ £££ "," ☺£££ "," ☺£££ "," ☺▓££ "," ☺▓££ "," ☺▒££ "," ☺▒££ "," ☺░££ "," ☺░££ "," ☺ ££ "," ☺££ "," ☺££ "," ☺▓£ "," ☺▓£ "," ☺▒£ "," ☺▒£ "," ☺░£ "," ☺░£ "," ☺ £ "," ☺£ "," ☺£ "," ☺▓ "," ☺▓ "," ☺▒ "," ☺▒ "," ☺░ "," ☺░ "," ☺ "," ☺ &"," ☺ ☼&"," ☺ ☼ &"," ☺☼ &"," ☺☼ & "," ‼ & "," ☺ & "," ‼ & "," ☺ & "," ‼ & "," ☺ & ","‼ & "," & "," & "," & ░ "," & ▒ "," & ▓ "," & £ "," & ░£ "," & ▒£ "," & ▓£ "," & ££ "," & ░££ "," & ▒££ ","& ▓££ ","& £££ "," ░£££ "," ▒£££ "," ▓£££ "," █£££ "," ░█£££ "," ▒█£££ "," ▓█£££ "," ██£££ "," ░██£££ "," ▒██£££ "," ▓██£££ "," ███£££ "," ░███£££ "," ▒███£££ "," ▓███£££ "," ████£££ "," ░████£££ "," ▒████£££ "," ▓████£££ "," █████£££ "," ░█████£££ "," ▒█████£££ "," ▓█████£££ "," ██████£££ "," ██████£££ "]}}')},4147:t=>{"use strict";t.exports={i8:"1.0.182"}}};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__.d=(t,r)=>{for(var i in r){if(__nccwpck_require__.o(r,i)&&!__nccwpck_require__.o(t,i)){Object.defineProperty(t,i,{enumerable:true,get:r[i]})}}}})();(()=>{__nccwpck_require__.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r)})();(()=>{__nccwpck_require__.r=t=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(t,"__esModule",{value:true})}})();(()=>{__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__={};(()=>{"use strict";__nccwpck_require__(9436)})();module.exports=__webpack_exports__})();
83
+ `+o,0)}r.printHelp=printHelp;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,h.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=>!(t.endsWith(".iml")||a.includes(t))))}r.getConflictsForDirectory=getConflictsForDirectory},2126: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(774));function withSectionLog(t,r){const i=(0,a.default)({text:r.pending,stream:process.stderr});i.start();return t(i).then((t=>{i.succeed(r.success);return t}),(t=>{i.fail(r.error(t));throw t}))}r.withSectionLog=withSectionLog},5075: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(961));const u=o(i(5418));const l=i(3744);const h=i(9756);async function shouldUpdate(){try{const t=await(0,u.default)(h);if(t===null||t===void 0?void 0:t.latest){l.Log.log();l.Log.log(a.default.yellow.bold(`A new version of \`${h.name}\` is available`));l.Log.log((0,a.default)`You can update by running: {cyan npm install -g ${h.name}}`);l.Log.log()}}catch{}}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")},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")},4521:t=>{"use strict";t.exports=require("readline")},2781:t=>{"use strict";t.exports=require("stream")},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")},849:(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#n=false;static create(t){const r=getUintArray(t);if(!r)return[];Stack.#n=true;const i=new Stack(t,r);Stack.#n=false;return i}constructor(t,r){if(!Stack.#n){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{#i;#s;#o;#a;#u;#l;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#c;#f;#h;#p;#d;#m;#g;#y;#v;#A;#b;#w;#E;#S;#_;#D;#C;static unsafeExposeInternals(t){return{starts:t.#E,ttls:t.#S,sizes:t.#w,keyMap:t.#h,keyList:t.#p,valList:t.#d,next:t.#m,prev:t.#g,get head(){return t.#y},get tail(){return t.#v},free:t.#A,isBackgroundFetch:r=>t.#x(r),backgroundFetch:(r,i,o,a)=>t.#F(r,i,o,a),moveToTail:r=>t.#O(r),indexes:r=>t.#R(r),rindexes:r=>t.#k(r),isStale:r=>t.#T(r)}}get max(){return this.#i}get maxSize(){return this.#s}get calculatedSize(){return this.#f}get size(){return this.#c}get fetchMethod(){return this.#u}get memoMethod(){return this.#l}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:v=0,maxEntrySize:A=0,sizeCalculation:b,fetchMethod:w,memoMethod:E,noDeleteOnFetchRejection:S,noDeleteOnStaleGet:_,allowStaleOnFetchRejection:D,allowStaleOnFetchAbort:C,ignoreFetchAbort:x}=t;if(r!==0&&!isPosInt(r)){throw new TypeError("max option must be a nonnegative integer")}const O=r?getUintArray(r):Array;if(!O){throw new Error("invalid max value: "+r)}this.#i=r;this.#s=v;this.maxEntrySize=A||this.#s;this.sizeCalculation=b;if(this.sizeCalculation){if(!this.#s&&!this.maxEntrySize){throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize")}if(typeof this.sizeCalculation!=="function"){throw new TypeError("sizeCalculation set to non-function")}}if(E!==undefined&&typeof E!=="function"){throw new TypeError("memoMethod must be a function if defined")}this.#l=E;if(w!==undefined&&typeof w!=="function"){throw new TypeError("fetchMethod must be a function if specified")}this.#u=w;this.#D=!!w;this.#h=new Map;this.#p=new Array(r).fill(undefined);this.#d=new Array(r).fill(undefined);this.#m=new O(r);this.#g=new O(r);this.#y=0;this.#v=0;this.#A=Stack.create(r);this.#c=0;this.#f=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=!!S;this.allowStaleOnFetchRejection=!!D;this.allowStaleOnFetchAbort=!!C;this.ignoreFetchAbort=!!x;if(this.maxEntrySize!==0){if(this.#s!==0){if(!isPosInt(this.#s)){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.#L()}if(this.#i===0&&this.ttl===0&&this.#s===0){throw new TypeError("At least one of max, maxSize, or ttl is required")}if(!this.ttlAutopurge&&!this.#i&&!this.#s){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}#L(){const t=new ZeroArray(this.#i);const r=new ZeroArray(this.#i);this.#S=t;this.#E=r;this.#I=(o,a,u=i.now())=>{r[o]=a!==0?u:0;t[o]=a;if(a!==0&&this.ttlAutopurge){const t=setTimeout((()=>{if(this.#T(o)){this.#M(this.#p[o],"expire")}}),a+1);if(t.unref){t.unref()}}};this.#B=o=>{r[o]=t[o]!==0?i.now():0};this.#N=(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.#T=i=>{const a=r[i];const u=t[i];return!!u&&!!a&&(o||getNow())-a>u}}#B=()=>{};#N=()=>{};#I=()=>{};#T=()=>false;#P(){const t=new ZeroArray(this.#i);this.#f=0;this.#w=t;this.#$=r=>{this.#f-=t[r];t[r]=0};this.#j=(t,r,i,o)=>{if(this.#x(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.#W=(r,i,o)=>{t[r]=i;if(this.#s){const i=this.#s-t[r];while(this.#f>i){this.#H(true)}}this.#f+=t[r];if(o){o.entrySize=i;o.totalCalculatedSize=this.#f}}}#$=t=>{};#W=(t,r,i)=>{};#j=(t,r,i,o)=>{if(i||o){throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache")}return 0};*#R({allowStale:t=this.allowStale}={}){if(this.#c){for(let r=this.#v;true;){if(!this.#U(r)){break}if(t||!this.#T(r)){yield r}if(r===this.#y){break}else{r=this.#g[r]}}}}*#k({allowStale:t=this.allowStale}={}){if(this.#c){for(let r=this.#y;true;){if(!this.#U(r)){break}if(t||!this.#T(r)){yield r}if(r===this.#v){break}else{r=this.#m[r]}}}}#U(t){return t!==undefined&&this.#h.get(this.#p[t])===t}*entries(){for(const t of this.#R()){if(this.#d[t]!==undefined&&this.#p[t]!==undefined&&!this.#x(this.#d[t])){yield[this.#p[t],this.#d[t]]}}}*rentries(){for(const t of this.#k()){if(this.#d[t]!==undefined&&this.#p[t]!==undefined&&!this.#x(this.#d[t])){yield[this.#p[t],this.#d[t]]}}}*keys(){for(const t of this.#R()){const r=this.#p[t];if(r!==undefined&&!this.#x(this.#d[t])){yield r}}}*rkeys(){for(const t of this.#k()){const r=this.#p[t];if(r!==undefined&&!this.#x(this.#d[t])){yield r}}}*values(){for(const t of this.#R()){const r=this.#d[t];if(r!==undefined&&!this.#x(this.#d[t])){yield this.#d[t]}}}*rvalues(){for(const t of this.#k()){const r=this.#d[t];if(r!==undefined&&!this.#x(this.#d[t])){yield this.#d[t]}}}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(t,r={}){for(const i of this.#R()){const o=this.#d[i];const a=this.#x(o)?o.__staleWhileFetching:o;if(a===undefined)continue;if(t(a,this.#p[i],this)){return this.get(this.#p[i],r)}}}forEach(t,r=this){for(const i of this.#R()){const o=this.#d[i];const a=this.#x(o)?o.__staleWhileFetching:o;if(a===undefined)continue;t.call(r,a,this.#p[i],this)}}rforEach(t,r=this){for(const i of this.#k()){const o=this.#d[i];const a=this.#x(o)?o.__staleWhileFetching:o;if(a===undefined)continue;t.call(r,a,this.#p[i],this)}}purgeStale(){let t=false;for(const r of this.#k({allowStale:true})){if(this.#T(r)){this.#M(this.#p[r],"expire");t=true}}return t}info(t){const r=this.#h.get(t);if(r===undefined)return undefined;const o=this.#d[r];const a=this.#x(o)?o.__staleWhileFetching:o;if(a===undefined)return undefined;const u={value:a};if(this.#S&&this.#E){const t=this.#S[r];const o=this.#E[r];if(t&&o){const r=t-(i.now()-o);u.ttl=r;u.start=Date.now()}}if(this.#w){u.size=this.#w[r]}return u}dump(){const t=[];for(const r of this.#R({allowStale:true})){const o=this.#p[r];const a=this.#d[r];const u=this.#x(a)?a.__staleWhileFetching:a;if(u===undefined||o===undefined)continue;const l={value:u};if(this.#S&&this.#E){l.ttl=this.#S[r];const t=i.now()-this.#E[r];l.start=Math.floor(Date.now()-t)}if(this.#w){l.size=this.#w[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.#j(t,r,i.size||0,l);if(this.maxEntrySize&&d>this.maxEntrySize){if(h){h.set="miss";h.maxEntrySizeExceeded=true}this.#M(t,"set");return this}let m=this.#c===0?undefined:this.#h.get(t);if(m===undefined){m=this.#c===0?this.#v:this.#A.length!==0?this.#A.pop():this.#c===this.#i?this.#H(false):this.#c;this.#p[m]=t;this.#d[m]=r;this.#h.set(t,m);this.#m[this.#v]=m;this.#g[m]=this.#v;this.#v=m;this.#c++;this.#W(m,d,h);if(h)h.set="add";p=false}else{this.#O(m);const i=this.#d[m];if(r!==i){if(this.#D&&this.#x(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.#$(m);this.#W(m,d,h);this.#d[m]=r;if(h){h.set="replace";const t=i&&this.#x(i)?i.__staleWhileFetching:i;if(t!==undefined)h.oldValue=t}}else if(h){h.set="update"}}if(o!==0&&!this.#S){this.#L()}if(this.#S){if(!p){this.#I(m,o,a)}if(h)this.#N(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.#c){const t=this.#d[this.#y];this.#H(true);if(this.#x(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)}}}}#H(t){const r=this.#y;const i=this.#p[r];const o=this.#d[r];if(this.#D&&this.#x(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.#$(r);if(t){this.#p[r]=undefined;this.#d[r]=undefined;this.#A.push(r)}if(this.#c===1){this.#y=this.#v=0;this.#A.length=0}else{this.#y=this.#m[r]}this.#h.delete(i);this.#c--;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.#d[a];if(this.#x(t)&&t.__staleWhileFetching===undefined){return false}if(!this.#T(a)){if(i){this.#B(a)}if(o){o.has="hit";this.#N(o,a)}return true}else if(o){o.has="stale";this.#N(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.#T(o)){return}const a=this.#d[o];return this.#x(a)?a.__staleWhileFetching:a}#F(t,r,i,o){const a=r===undefined?undefined:this.#d[r];if(this.#x(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.#d[r]===d){if(o===undefined){if(m.__staleWhileFetching){this.#d[r]=m.__staleWhileFetching}else{this.#M(t,"fetch")}}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.#d[r]===d){const i=!p||m.__staleWhileFetching===undefined;if(i){this.#M(t,"fetch")}else if(!u){this.#d[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.#d[r]=m}return m}#x(t){if(!this.#D)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:v=this.allowStaleOnFetchAbort,context:A,forceRefresh:b=false,status:w,signal:E}=r;if(!this.#D){if(w)w.fetch="get";return this.get(t,{allowStale:i,updateAgeOnGet:o,noDeleteOnStaleGet:a,status:w})}const S={allowStale:i,updateAgeOnGet:o,noDeleteOnStaleGet:a,ttl:u,noDisposeOnSet:l,size:h,sizeCalculation:p,noUpdateTTL:d,noDeleteOnFetchRejection:m,allowStaleOnFetchRejection:g,allowStaleOnFetchAbort:v,ignoreFetchAbort:y,status:w,signal:E};let _=this.#h.get(t);if(_===undefined){if(w)w.fetch="miss";const r=this.#F(t,_,S,A);return r.__returned=r}else{const r=this.#d[_];if(this.#x(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.#T(_);if(!b&&!a){if(w)w.fetch="hit";this.#O(_);if(o){this.#B(_)}if(w)this.#N(w,_);return r}const u=this.#F(t,_,S,A);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}}async forceFetch(t,r={}){const i=await this.fetch(t,r);if(i===undefined)throw new Error("fetch() returned undefined");return i}memo(t,r={}){const i=this.#l;if(!i){throw new Error("no memoMethod provided to constructor")}const{context:o,forceRefresh:a,...u}=r;const l=this.get(t,u);if(!a&&l!==undefined)return l;const h=i(t,l,{options:u,context:o});this.set(t,h,u);return h}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.#d[l];const h=this.#x(r);if(u)this.#N(u,l);if(this.#T(l)){if(u)u.get="stale";if(!h){if(!a){this.#M(t,"expire")}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.#O(l);if(o){this.#B(l)}return r}}else if(u){u.get="miss"}}#G(t,r){this.#g[r]=t;this.#m[t]=r}#O(t){if(t!==this.#v){if(t===this.#y){this.#y=this.#m[t]}else{this.#G(this.#g[t],this.#m[t])}this.#G(this.#v,t);this.#v=t}}delete(t){return this.#M(t,"delete")}#M(t,r){let i=false;if(this.#c!==0){const o=this.#h.get(t);if(o!==undefined){i=true;if(this.#c===1){this.#Y(r)}else{this.#$(o);const i=this.#d[o];if(this.#x(i)){i.__abortController.abort(new Error("deleted"))}else if(this.#_||this.#C){if(this.#_){this.#o?.(i,t,r)}if(this.#C){this.#b?.push([i,t,r])}}this.#h.delete(t);this.#p[o]=undefined;this.#d[o]=undefined;if(o===this.#v){this.#v=this.#g[o]}else if(o===this.#y){this.#y=this.#m[o]}else{const t=this.#g[o];this.#m[t]=this.#m[o];const r=this.#m[o];this.#g[r]=this.#g[o]}this.#c--;this.#A.push(o)}}}if(this.#C&&this.#b?.length){const t=this.#b;let r;while(r=t?.shift()){this.#a?.(...r)}}return i}clear(){return this.#Y("delete")}#Y(t){for(const r of this.#k({allowStale:true})){const i=this.#d[r];if(this.#x(i)){i.__abortController.abort(new Error("deleted"))}else{const o=this.#p[r];if(this.#_){this.#o?.(i,o,t)}if(this.#C){this.#b?.push([i,o,t])}}}this.#h.clear();this.#d.fill(undefined);this.#p.fill(undefined);if(this.#S&&this.#E){this.#S.fill(0);this.#E.fill(0)}if(this.#w){this.#w.fill(0)}this.#y=0;this.#v=0;this.#A.length=0;this.#f=0;this.#c=0;if(this.#C&&this.#b){const t=this.#b;let r;while(r=t?.shift()){this.#a?.(...r)}}}}r.LRUCache=LRUCache},774:(t,r,i)=>{"use strict";i.r(r);i.d(r,{default:()=>ora,oraPromise:()=>oraPromise,spinners:()=>U});var o=i(7742);const a=10;const wrapAnsi16=(t=0)=>r=>`[${r+t}m`;const wrapAnsi256=(t=0)=>r=>`[${38+t};5;${r}m`;const wrapAnsi16m=(t=0)=>(r,i,o)=>`[${38+t};2;${r};${i};${o}m`;const u={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};const l=Object.keys(u.modifier);const h=Object.keys(u.color);const p=Object.keys(u.bgColor);const d=[...h,...p];function assembleStyles(){const t=new Map;for(const[r,i]of Object.entries(u)){for(const[r,o]of Object.entries(i)){u[r]={open:`[${o[0]}m`,close:`[${o[1]}m`};i[r]=u[r];t.set(o[0],o[1])}Object.defineProperty(u,r,{value:i,enumerable:false})}Object.defineProperty(u,"codes",{value:t,enumerable:false});u.color.close="";u.bgColor.close="";u.color.ansi=wrapAnsi16();u.color.ansi256=wrapAnsi256();u.color.ansi16m=wrapAnsi16m();u.bgColor.ansi=wrapAnsi16(a);u.bgColor.ansi256=wrapAnsi256(a);u.bgColor.ansi16m=wrapAnsi16m(a);Object.defineProperties(u,{rgbToAnsi256:{value(t,r,i){if(t===r&&r===i){if(t<8){return 16}if(t>248){return 231}return Math.round((t-8)/247*24)+232}return 16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(i/255*5)},enumerable:false},hexToRgb:{value(t){const r=/[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));if(!r){return[0,0,0]}let[i]=r;if(i.length===3){i=[...i].map((t=>t+t)).join("")}const o=Number.parseInt(i,16);return[o>>16&255,o>>8&255,o&255]},enumerable:false},hexToAnsi256:{value:t=>u.rgbToAnsi256(...u.hexToRgb(t)),enumerable:false},ansi256ToAnsi:{value(t){if(t<8){return 30+t}if(t<16){return 90+(t-8)}let r;let i;let o;if(t>=232){r=((t-232)*10+8)/255;i=r;o=r}else{t-=16;const a=t%36;r=Math.floor(t/36)/5;i=Math.floor(a/6)/5;o=a%6/5}const a=Math.max(r,i,o)*2;if(a===0){return 30}let u=30+(Math.round(o)<<2|Math.round(i)<<1|Math.round(r));if(a===2){u+=60}return u},enumerable:false},rgbToAnsi:{value:(t,r,i)=>u.ansi256ToAnsi(u.rgbToAnsi256(t,r,i)),enumerable:false},hexToAnsi:{value:t=>u.ansi256ToAnsi(u.hexToAnsi256(t)),enumerable:false}});return u}const m=assembleStyles();const g=m;const y=require("node:os");const v=require("node:tty");function hasFlag(t,r=(globalThis.Deno?globalThis.Deno.args:o.argv)){const i=t.startsWith("-")?"":t.length===1?"-":"--";const a=r.indexOf(i+t);const u=r.indexOf("--");return a!==-1&&(u===-1||a<u)}const{env:A}=o;let b;if(hasFlag("no-color")||hasFlag("no-colors")||hasFlag("color=false")||hasFlag("color=never")){b=0}else if(hasFlag("color")||hasFlag("colors")||hasFlag("color=true")||hasFlag("color=always")){b=1}function envForceColor(){if("FORCE_COLOR"in A){if(A.FORCE_COLOR==="true"){return 1}if(A.FORCE_COLOR==="false"){return 0}return A.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(A.FORCE_COLOR,10),3)}}function translateLevel(t){if(t===0){return false}return{level:t,hasBasic:true,has256:t>=2,has16m:t>=3}}function _supportsColor(t,{streamIsTTY:r,sniffFlags:i=true}={}){const a=envForceColor();if(a!==undefined){b=a}const u=i?b:a;if(u===0){return 0}if(i){if(hasFlag("color=16m")||hasFlag("color=full")||hasFlag("color=truecolor")){return 3}if(hasFlag("color=256")){return 2}}if("TF_BUILD"in A&&"AGENT_NAME"in A){return 1}if(t&&!r&&u===undefined){return 0}const l=u||0;if(A.TERM==="dumb"){return l}if(o.platform==="win32"){const t=y.release().split(".");if(Number(t[0])>=10&&Number(t[2])>=10586){return Number(t[2])>=14931?3:2}return 1}if("CI"in A){if("GITHUB_ACTIONS"in A||"GITEA_ACTIONS"in A){return 3}if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((t=>t in A))||A.CI_NAME==="codeship"){return 1}return l}if("TEAMCITY_VERSION"in A){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(A.TEAMCITY_VERSION)?1:0}if(A.COLORTERM==="truecolor"){return 3}if(A.TERM==="xterm-kitty"){return 3}if("TERM_PROGRAM"in A){const t=Number.parseInt((A.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(A.TERM_PROGRAM){case"iTerm.app":{return t>=3?3:2}case"Apple_Terminal":{return 2}}}if(/-256(color)?$/i.test(A.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(A.TERM)){return 1}if("COLORTERM"in A){return 1}return l}function createSupportsColor(t,r={}){const i=_supportsColor(t,{streamIsTTY:t&&t.isTTY,...r});return translateLevel(i)}const w={stdout:createSupportsColor({isTTY:v.isatty(1)}),stderr:createSupportsColor({isTTY:v.isatty(2)})};const E=w;function stringReplaceAll(t,r,i){let o=t.indexOf(r);if(o===-1){return t}const a=r.length;let u=0;let l="";do{l+=t.slice(u,o)+r+i;u=o+a;o=t.indexOf(r,u)}while(o!==-1);l+=t.slice(u);return l}function stringEncaseCRLFWithFirstIndex(t,r,i,o){let a=0;let u="";do{const l=t[o-1]==="\r";u+=t.slice(a,l?o-1:o)+r+(l?"\r\n":"\n")+i;a=o+1;o=t.indexOf("\n",a)}while(o!==-1);u+=t.slice(a);return u}const{stdout:S,stderr:_}=E;const D=Symbol("GENERATOR");const C=Symbol("STYLER");const x=Symbol("IS_EMPTY");const O=["ansi","ansi","ansi256","ansi16m"];const R=Object.create(null);const applyOptions=(t,r={})=>{if(r.level&&!(Number.isInteger(r.level)&&r.level>=0&&r.level<=3)){throw new Error("The `level` option should be an integer from 0 to 3")}const i=S?S.level:0;t.level=r.level===undefined?i:r.level};class Chalk{constructor(t){return chalkFactory(t)}}const chalkFactory=t=>{const chalk=(...t)=>t.join(" ");applyOptions(chalk,t);Object.setPrototypeOf(chalk,createChalk.prototype);return chalk};function createChalk(t){return chalkFactory(t)}Object.setPrototypeOf(createChalk.prototype,Function.prototype);for(const[t,r]of Object.entries(g)){R[t]={get(){const i=createBuilder(this,createStyler(r.open,r.close,this[C]),this[x]);Object.defineProperty(this,t,{value:i});return i}}}R.visible={get(){const t=createBuilder(this,this[C],true);Object.defineProperty(this,"visible",{value:t});return t}};const getModelAnsi=(t,r,i,...o)=>{if(t==="rgb"){if(r==="ansi16m"){return g[i].ansi16m(...o)}if(r==="ansi256"){return g[i].ansi256(g.rgbToAnsi256(...o))}return g[i].ansi(g.rgbToAnsi(...o))}if(t==="hex"){return getModelAnsi("rgb",r,i,...g.hexToRgb(...o))}return g[i][t](...o)};const k=["rgb","hex","ansi256"];for(const t of k){R[t]={get(){const{level:r}=this;return function(...i){const o=createStyler(getModelAnsi(t,O[r],"color",...i),g.color.close,this[C]);return createBuilder(this,o,this[x])}}};const r="bg"+t[0].toUpperCase()+t.slice(1);R[r]={get(){const{level:r}=this;return function(...i){const o=createStyler(getModelAnsi(t,O[r],"bgColor",...i),g.bgColor.close,this[C]);return createBuilder(this,o,this[x])}}}}const T=Object.defineProperties((()=>{}),{...R,level:{enumerable:true,get(){return this[D].level},set(t){this[D].level=t}}});const createStyler=(t,r,i)=>{let o;let a;if(i===undefined){o=t;a=r}else{o=i.openAll+t;a=r+i.closeAll}return{open:t,close:r,openAll:o,closeAll:a,parent:i}};const createBuilder=(t,r,i)=>{const builder=(...t)=>applyStyle(builder,t.length===1?""+t[0]:t.join(" "));Object.setPrototypeOf(builder,T);builder[D]=t;builder[C]=r;builder[x]=i;return builder};const applyStyle=(t,r)=>{if(t.level<=0||!r){return t[x]?"":r}let i=t[C];if(i===undefined){return r}const{openAll:o,closeAll:a}=i;if(r.includes("")){while(i!==undefined){r=stringReplaceAll(r,i.close,i.open);i=i.parent}}const u=r.indexOf("\n");if(u!==-1){r=stringEncaseCRLFWithFirstIndex(r,a,o,u)}return o+r+a};Object.defineProperties(createChalk.prototype,R);const P=createChalk();const L=createChalk({level:_?_.level:0});const I=P;var M=i(7462);var B=i(9545);const N=M((()=>{B((()=>{o.stderr.write("[?25h")}),{alwaysLast:true})}));const $=N;let j=false;const W={};W.show=(t=o.stderr)=>{if(!t.isTTY){return}j=false;t.write("[?25h")};W.hide=(t=o.stderr)=>{if(!t.isTTY){return}$();j=true;t.write("[?25l")};W.toggle=(t,r)=>{if(t!==undefined){j=t}if(j){W.show(r)}else{W.hide(r)}};const H=W;var U=i(5549);const G=10;const ansi_styles_wrapAnsi16=(t=0)=>r=>`[${r+t}m`;const ansi_styles_wrapAnsi256=(t=0)=>r=>`[${38+t};5;${r}m`;const ansi_styles_wrapAnsi16m=(t=0)=>(r,i,o)=>`[${38+t};2;${r};${i};${o}m`;const Y={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};const V=Object.keys(Y.modifier);const z=Object.keys(Y.color);const q=Object.keys(Y.bgColor);const Q=[...z,...q];function ansi_styles_assembleStyles(){const t=new Map;for(const[r,i]of Object.entries(Y)){for(const[r,o]of Object.entries(i)){Y[r]={open:`[${o[0]}m`,close:`[${o[1]}m`};i[r]=Y[r];t.set(o[0],o[1])}Object.defineProperty(Y,r,{value:i,enumerable:false})}Object.defineProperty(Y,"codes",{value:t,enumerable:false});Y.color.close="";Y.bgColor.close="";Y.color.ansi=ansi_styles_wrapAnsi16();Y.color.ansi256=ansi_styles_wrapAnsi256();Y.color.ansi16m=ansi_styles_wrapAnsi16m();Y.bgColor.ansi=ansi_styles_wrapAnsi16(G);Y.bgColor.ansi256=ansi_styles_wrapAnsi256(G);Y.bgColor.ansi16m=ansi_styles_wrapAnsi16m(G);Object.defineProperties(Y,{rgbToAnsi256:{value(t,r,i){if(t===r&&r===i){if(t<8){return 16}if(t>248){return 231}return Math.round((t-8)/247*24)+232}return 16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(i/255*5)},enumerable:false},hexToRgb:{value(t){const r=/[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));if(!r){return[0,0,0]}let[i]=r;if(i.length===3){i=[...i].map((t=>t+t)).join("")}const o=Number.parseInt(i,16);return[o>>16&255,o>>8&255,o&255]},enumerable:false},hexToAnsi256:{value:t=>Y.rgbToAnsi256(...Y.hexToRgb(t)),enumerable:false},ansi256ToAnsi:{value(t){if(t<8){return 30+t}if(t<16){return 90+(t-8)}let r;let i;let o;if(t>=232){r=((t-232)*10+8)/255;i=r;o=r}else{t-=16;const a=t%36;r=Math.floor(t/36)/5;i=Math.floor(a/6)/5;o=a%6/5}const a=Math.max(r,i,o)*2;if(a===0){return 30}let u=30+(Math.round(o)<<2|Math.round(i)<<1|Math.round(r));if(a===2){u+=60}return u},enumerable:false},rgbToAnsi:{value:(t,r,i)=>Y.ansi256ToAnsi(Y.rgbToAnsi256(t,r,i)),enumerable:false},hexToAnsi:{value:t=>Y.ansi256ToAnsi(Y.hexToAnsi256(t)),enumerable:false}});return Y}const K=ansi_styles_assembleStyles();const J=K;function supports_color_hasFlag(t,r=(globalThis.Deno?globalThis.Deno.args:o.argv)){const i=t.startsWith("-")?"":t.length===1?"-":"--";const a=r.indexOf(i+t);const u=r.indexOf("--");return a!==-1&&(u===-1||a<u)}const{env:X}=o;let Z;if(supports_color_hasFlag("no-color")||supports_color_hasFlag("no-colors")||supports_color_hasFlag("color=false")||supports_color_hasFlag("color=never")){Z=0}else if(supports_color_hasFlag("color")||supports_color_hasFlag("colors")||supports_color_hasFlag("color=true")||supports_color_hasFlag("color=always")){Z=1}function supports_color_envForceColor(){if("FORCE_COLOR"in X){if(X.FORCE_COLOR==="true"){return 1}if(X.FORCE_COLOR==="false"){return 0}return X.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(X.FORCE_COLOR,10),3)}}function supports_color_translateLevel(t){if(t===0){return false}return{level:t,hasBasic:true,has256:t>=2,has16m:t>=3}}function supports_color_supportsColor(t,{streamIsTTY:r,sniffFlags:i=true}={}){const a=supports_color_envForceColor();if(a!==undefined){Z=a}const u=i?Z:a;if(u===0){return 0}if(i){if(supports_color_hasFlag("color=16m")||supports_color_hasFlag("color=full")||supports_color_hasFlag("color=truecolor")){return 3}if(supports_color_hasFlag("color=256")){return 2}}if("TF_BUILD"in X&&"AGENT_NAME"in X){return 1}if(t&&!r&&u===undefined){return 0}const l=u||0;if(X.TERM==="dumb"){return l}if(o.platform==="win32"){const t=y.release().split(".");if(Number(t[0])>=10&&Number(t[2])>=10586){return Number(t[2])>=14931?3:2}return 1}if("CI"in X){if("GITHUB_ACTIONS"in X||"GITEA_ACTIONS"in X){return 3}if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((t=>t in X))||X.CI_NAME==="codeship"){return 1}return l}if("TEAMCITY_VERSION"in X){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(X.TEAMCITY_VERSION)?1:0}if(X.COLORTERM==="truecolor"){return 3}if(X.TERM==="xterm-kitty"){return 3}if("TERM_PROGRAM"in X){const t=Number.parseInt((X.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(X.TERM_PROGRAM){case"iTerm.app":{return t>=3?3:2}case"Apple_Terminal":{return 2}}}if(/-256(color)?$/i.test(X.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(X.TERM)){return 1}if("COLORTERM"in X){return 1}return l}function supports_color_createSupportsColor(t,r={}){const i=supports_color_supportsColor(t,{streamIsTTY:t&&t.isTTY,...r});return supports_color_translateLevel(i)}const ee={stdout:supports_color_createSupportsColor({isTTY:v.isatty(1)}),stderr:supports_color_createSupportsColor({isTTY:v.isatty(2)})};const te=ee;function utilities_stringReplaceAll(t,r,i){let o=t.indexOf(r);if(o===-1){return t}const a=r.length;let u=0;let l="";do{l+=t.slice(u,o)+r+i;u=o+a;o=t.indexOf(r,u)}while(o!==-1);l+=t.slice(u);return l}function utilities_stringEncaseCRLFWithFirstIndex(t,r,i,o){let a=0;let u="";do{const l=t[o-1]==="\r";u+=t.slice(a,l?o-1:o)+r+(l?"\r\n":"\n")+i;a=o+1;o=t.indexOf("\n",a)}while(o!==-1);u+=t.slice(a);return u}const{stdout:re,stderr:ne}=te;const ie=Symbol("GENERATOR");const se=Symbol("STYLER");const oe=Symbol("IS_EMPTY");const ae=["ansi","ansi","ansi256","ansi16m"];const ue=Object.create(null);const source_applyOptions=(t,r={})=>{if(r.level&&!(Number.isInteger(r.level)&&r.level>=0&&r.level<=3)){throw new Error("The `level` option should be an integer from 0 to 3")}const i=re?re.level:0;t.level=r.level===undefined?i:r.level};class source_Chalk{constructor(t){return source_chalkFactory(t)}}const source_chalkFactory=t=>{const chalk=(...t)=>t.join(" ");source_applyOptions(chalk,t);Object.setPrototypeOf(chalk,source_createChalk.prototype);return chalk};function source_createChalk(t){return source_chalkFactory(t)}Object.setPrototypeOf(source_createChalk.prototype,Function.prototype);for(const[t,r]of Object.entries(J)){ue[t]={get(){const i=source_createBuilder(this,source_createStyler(r.open,r.close,this[se]),this[oe]);Object.defineProperty(this,t,{value:i});return i}}}ue.visible={get(){const t=source_createBuilder(this,this[se],true);Object.defineProperty(this,"visible",{value:t});return t}};const source_getModelAnsi=(t,r,i,...o)=>{if(t==="rgb"){if(r==="ansi16m"){return J[i].ansi16m(...o)}if(r==="ansi256"){return J[i].ansi256(J.rgbToAnsi256(...o))}return J[i].ansi(J.rgbToAnsi(...o))}if(t==="hex"){return source_getModelAnsi("rgb",r,i,...J.hexToRgb(...o))}return J[i][t](...o)};const le=["rgb","hex","ansi256"];for(const t of le){ue[t]={get(){const{level:r}=this;return function(...i){const o=source_createStyler(source_getModelAnsi(t,ae[r],"color",...i),J.color.close,this[se]);return source_createBuilder(this,o,this[oe])}}};const r="bg"+t[0].toUpperCase()+t.slice(1);ue[r]={get(){const{level:r}=this;return function(...i){const o=source_createStyler(source_getModelAnsi(t,ae[r],"bgColor",...i),J.bgColor.close,this[se]);return source_createBuilder(this,o,this[oe])}}}}const ce=Object.defineProperties((()=>{}),{...ue,level:{enumerable:true,get(){return this[ie].level},set(t){this[ie].level=t}}});const source_createStyler=(t,r,i)=>{let o;let a;if(i===undefined){o=t;a=r}else{o=i.openAll+t;a=r+i.closeAll}return{open:t,close:r,openAll:o,closeAll:a,parent:i}};const source_createBuilder=(t,r,i)=>{const builder=(...t)=>source_applyStyle(builder,t.length===1?""+t[0]:t.join(" "));Object.setPrototypeOf(builder,ce);builder[ie]=t;builder[se]=r;builder[oe]=i;return builder};const source_applyStyle=(t,r)=>{if(t.level<=0||!r){return t[oe]?"":r}let i=t[se];if(i===undefined){return r}const{openAll:o,closeAll:a}=i;if(r.includes("")){while(i!==undefined){r=utilities_stringReplaceAll(r,i.close,i.open);i=i.parent}}const u=r.indexOf("\n");if(u!==-1){r=utilities_stringEncaseCRLFWithFirstIndex(r,a,o,u)}return o+r+a};Object.defineProperties(source_createChalk.prototype,ue);const fe=source_createChalk();const he=source_createChalk({level:ne?ne.level:0});const pe=fe;function isUnicodeSupported(){if(o.platform!=="win32"){return o.env.TERM!=="linux"}return Boolean(o.env.CI)||Boolean(o.env.WT_SESSION)||Boolean(o.env.TERMINUS_SUBLIME)||o.env.ConEmuTask==="{cmd::Cmder}"||o.env.TERM_PROGRAM==="Terminus-Sublime"||o.env.TERM_PROGRAM==="vscode"||o.env.TERM==="xterm-256color"||o.env.TERM==="alacritty"||o.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}const de={info:pe.blue("ℹ"),success:pe.green("✔"),warning:pe.yellow("⚠"),error:pe.red("✖")};const me={info:pe.blue("i"),success:pe.green("√"),warning:pe.yellow("‼"),error:pe.red("×")};const ge=isUnicodeSupported()?de:me;const ye=ge;function ansiRegex({onlyFirst:t=false}={}){const r=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(r,t?undefined:"g")}const ve=ansiRegex();function stripAnsi(t){if(typeof t!=="string"){throw new TypeError(`Expected a \`string\`, got \`${typeof t}\``)}return t.replace(ve,"")}var Ae=i(1205);function isInteractive({stream:t=process.stdout}={}){return Boolean(t&&t.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))}function is_unicode_supported_isUnicodeSupported(){if(o.platform!=="win32"){return o.env.TERM!=="linux"}return Boolean(o.env.CI)||Boolean(o.env.WT_SESSION)||Boolean(o.env.TERMINUS_SUBLIME)||o.env.ConEmuTask==="{cmd::Cmder}"||o.env.TERM_PROGRAM==="Terminus-Sublime"||o.env.TERM_PROGRAM==="vscode"||o.env.TERM==="xterm-256color"||o.env.TERM==="alacritty"||o.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}const be=require("node:readline");var we=i(2167);const Ee=3;class StdinDiscarder{#V=0;#z=new we.BufferListStream;#q;#Q;constructor(){this.#z.pipe(o.stdout);const t=this;this.#q=function(r,i,...a){const{stdin:u}=o;if(t.#V>0||u.emit===t.#q){if(r==="keypress"){return}if(r==="data"&&i.includes(Ee)){o.emit("SIGINT")}Reflect.apply(t.#q,this,[r,i,...a])}else{Reflect.apply(o.stdin.emit,this,[r,i,...a])}}}start(){this.#V++;if(this.#V===1){this._realStart()}}stop(){if(this.#V<=0){throw new Error("`stop` called more times than `start`")}this.#V--;if(this.#V===0){this._realStop()}}_realStart(){if(o.platform==="win32"){return}this.#Q=be.createInterface({input:o.stdin,output:this.#z});this.#Q.on("SIGINT",(()=>{if(o.listenerCount("SIGINT")===0){o.emit("SIGINT")}else{this.#Q.close();o.kill(o.pid,"SIGINT")}}))}_realStop(){if(o.platform==="win32"){return}this.#Q.close();this.#Q=undefined}}const Se=new StdinDiscarder;const _e=Se;class Ora{#K=0;#J=false;#X=0;#Z=0;#ee;#te;#re;#ne;#ie;#se;#oe;#ae;#ue;#le;#ce;color;constructor(t){if(typeof t==="string"){t={text:t}}this.#ee={color:"cyan",stream:o.stderr,discardStdin:true,hideCursor:true,...t};this.color=this.#ee.color;this.spinner=this.#ee.spinner;this.#ie=this.#ee.interval;this.#re=this.#ee.stream;this.#se=typeof this.#ee.isEnabled==="boolean"?this.#ee.isEnabled:isInteractive({stream:this.#re});this.#oe=typeof this.#ee.isSilent==="boolean"?this.#ee.isSilent:false;this.text=this.#ee.text;this.prefixText=this.#ee.prefixText;this.suffixText=this.#ee.suffixText;this.indent=this.#ee.indent;if(o.env.NODE_ENV==="test"){this._stream=this.#re;this._isEnabled=this.#se;Object.defineProperty(this,"_linesToClear",{get(){return this.#K},set(t){this.#K=t}});Object.defineProperty(this,"_frameIndex",{get(){return this.#Z}});Object.defineProperty(this,"_lineCount",{get(){return this.#X}})}}get indent(){return this.#ae}set indent(t=0){if(!(t>=0&&Number.isInteger(t))){throw new Error("The `indent` option must be an integer from 0 and up")}this.#ae=t;this.updateLineCount()}get interval(){return this.#ie||this.#te.interval||100}get spinner(){return this.#te}set spinner(t){this.#Z=0;this.#ie=undefined;if(typeof t==="object"){if(t.frames===undefined){throw new Error("The given spinner must have a `frames` property")}this.#te=t}else if(!is_unicode_supported_isUnicodeSupported()){this.#te=U.line}else if(t===undefined){this.#te=U.dots}else if(t!=="default"&&U[t]){this.#te=U[t]}else{throw new Error(`There is no built-in spinner named '${t}'. See https://github.com/sindresorhus/cli-spinners/blob/main/spinners.json for a full list.`)}}get text(){return this.#ue}set text(t){this.#ue=t||"";this.updateLineCount()}get prefixText(){return this.#le}set prefixText(t){this.#le=t||"";this.updateLineCount()}get suffixText(){return this.#ce}set suffixText(t){this.#ce=t||"";this.updateLineCount()}get isSpinning(){return this.#ne!==undefined}getFullPrefixText(t=this.#le,r=" "){if(typeof t==="string"&&t!==""){return t+r}if(typeof t==="function"){return t()+r}return""}getFullSuffixText(t=this.#ce,r=" "){if(typeof t==="string"&&t!==""){return r+t}if(typeof t==="function"){return r+t()}return""}updateLineCount(){const t=this.#re.columns||80;const r=this.getFullPrefixText(this.#le,"-");const i=this.getFullSuffixText(this.#ce,"-");const o=" ".repeat(this.#ae)+r+"--"+this.#ue+"--"+i;this.#X=0;for(const r of stripAnsi(o).split("\n")){this.#X+=Math.max(1,Math.ceil(Ae(r)/t))}}get isEnabled(){return this.#se&&!this.#oe}set isEnabled(t){if(typeof t!=="boolean"){throw new TypeError("The `isEnabled` option must be a boolean")}this.#se=t}get isSilent(){return this.#oe}set isSilent(t){if(typeof t!=="boolean"){throw new TypeError("The `isSilent` option must be a boolean")}this.#oe=t}frame(){const{frames:t}=this.#te;let r=t[this.#Z];if(this.color){r=I[this.color](r)}this.#Z=++this.#Z%t.length;const i=typeof this.#le==="string"&&this.#le!==""?this.#le+" ":"";const o=typeof this.text==="string"?" "+this.text:"";const a=typeof this.#ce==="string"&&this.#ce!==""?" "+this.#ce:"";return i+r+o+a}clear(){if(!this.#se||!this.#re.isTTY){return this}this.#re.cursorTo(0);for(let t=0;t<this.#K;t++){if(t>0){this.#re.moveCursor(0,-1)}this.#re.clearLine(1)}if(this.#ae||this.lastIndent!==this.#ae){this.#re.cursorTo(this.#ae)}this.lastIndent=this.#ae;this.#K=0;return this}render(){if(this.#oe){return this}this.clear();this.#re.write(this.frame());this.#K=this.#X;return this}start(t){if(t){this.text=t}if(this.#oe){return this}if(!this.#se){if(this.text){this.#re.write(`- ${this.text}\n`)}return this}if(this.isSpinning){return this}if(this.#ee.hideCursor){H.hide(this.#re)}if(this.#ee.discardStdin&&o.stdin.isTTY){this.#J=true;_e.start()}this.render();this.#ne=setInterval(this.render.bind(this),this.interval);return this}stop(){if(!this.#se){return this}clearInterval(this.#ne);this.#ne=undefined;this.#Z=0;this.clear();if(this.#ee.hideCursor){H.show(this.#re)}if(this.#ee.discardStdin&&o.stdin.isTTY&&this.#J){_e.stop();this.#J=false}return this}succeed(t){return this.stopAndPersist({symbol:ye.success,text:t})}fail(t){return this.stopAndPersist({symbol:ye.error,text:t})}warn(t){return this.stopAndPersist({symbol:ye.warning,text:t})}info(t){return this.stopAndPersist({symbol:ye.info,text:t})}stopAndPersist(t={}){if(this.#oe){return this}const r=t.prefixText||this.#le;const i=this.getFullPrefixText(r," ");const o=t.symbol||" ";const a=t.text||this.text;const u=typeof a==="string"?" "+a:"";const l=t.suffixText!==undefined?t.suffixText:this.#ce;const h=this.getFullSuffixText(l," ");const p=i+o+u+h+"\n";this.stop();this.#re.write(p);return this}}function ora(t){return new Ora(t)}async function oraPromise(t,r){const i=typeof t==="function";const o=typeof t.then==="function";if(!i&&!o){throw new TypeError("Parameter `action` must be a Function or a Promise")}const{successText:a,failText:u}=typeof r==="object"?r:{successText:undefined,failText:undefined};const l=ora(r).start();try{const r=i?t(l):t;const o=await r;l.succeed(a===undefined?undefined:typeof a==="string"?a:a(o));return o}catch(t){l.fail(u===undefined?undefined:typeof u==="string"?u:u(t));throw t}}},3300: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":["⢀⠀","⡀⠀","⠄⠀","⢂⠀","⡂⠀","⠅⠀","⢃⠀","⡃⠀","⠍⠀","⢋⠀","⡋⠀","⠍⠁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⢈⠩","⡀⢙","⠄⡙","⢂⠩","⡂⢘","⠅⡘","⢃⠨","⡃⢐","⠍⡐","⢋⠠","⡋⢀","⠍⡁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⠈⠩","⠀⢙","⠀⡙","⠀⠩","⠀⢘","⠀⡘","⠀⠨","⠀⢐","⠀⡐","⠀⠠","⠀⢀","⠀⡀"]},"dots13":{"interval":80,"frames":["⣼","⣹","⢻","⠿","⡟","⣏","⣧","⣶"]},"dots8Bit":{"interval":80,"frames":["⠀","⠁","⠂","⠃","⠄","⠅","⠆","⠇","⡀","⡁","⡂","⡃","⡄","⡅","⡆","⡇","⠈","⠉","⠊","⠋","⠌","⠍","⠎","⠏","⡈","⡉","⡊","⡋","⡌","⡍","⡎","⡏","⠐","⠑","⠒","⠓","⠔","⠕","⠖","⠗","⡐","⡑","⡒","⡓","⡔","⡕","⡖","⡗","⠘","⠙","⠚","⠛","⠜","⠝","⠞","⠟","⡘","⡙","⡚","⡛","⡜","⡝","⡞","⡟","⠠","⠡","⠢","⠣","⠤","⠥","⠦","⠧","⡠","⡡","⡢","⡣","⡤","⡥","⡦","⡧","⠨","⠩","⠪","⠫","⠬","⠭","⠮","⠯","⡨","⡩","⡪","⡫","⡬","⡭","⡮","⡯","⠰","⠱","⠲","⠳","⠴","⠵","⠶","⠷","⡰","⡱","⡲","⡳","⡴","⡵","⡶","⡷","⠸","⠹","⠺","⠻","⠼","⠽","⠾","⠿","⡸","⡹","⡺","⡻","⡼","⡽","⡾","⡿","⢀","⢁","⢂","⢃","⢄","⢅","⢆","⢇","⣀","⣁","⣂","⣃","⣄","⣅","⣆","⣇","⢈","⢉","⢊","⢋","⢌","⢍","⢎","⢏","⣈","⣉","⣊","⣋","⣌","⣍","⣎","⣏","⢐","⢑","⢒","⢓","⢔","⢕","⢖","⢗","⣐","⣑","⣒","⣓","⣔","⣕","⣖","⣗","⢘","⢙","⢚","⢛","⢜","⢝","⢞","⢟","⣘","⣙","⣚","⣛","⣜","⣝","⣞","⣟","⢠","⢡","⢢","⢣","⢤","⢥","⢦","⢧","⣠","⣡","⣢","⣣","⣤","⣥","⣦","⣧","⢨","⢩","⢪","⢫","⢬","⢭","⢮","⢯","⣨","⣩","⣪","⣫","⣬","⣭","⣮","⣯","⢰","⢱","⢲","⢳","⢴","⢵","⢶","⢷","⣰","⣱","⣲","⣳","⣴","⣵","⣶","⣷","⢸","⢹","⢺","⢻","⢼","⢽","⢾","⢿","⣸","⣹","⣺","⣻","⣼","⣽","⣾","⣿"]},"sand":{"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":["◢","◣","◤","◥"]},"binary":{"interval":80,"frames":["010010","001100","100101","111010","111101","010111","101011","111000","110011","110101"]},"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":["▰▱▱▱▱▱▱","▰▰▱▱▱▱▱","▰▰▰▱▱▱▱","▰▰▰▰▱▱▱","▰▰▰▰▰▱▱","▰▰▰▰▰▰▱","▰▰▰▰▰▰▰","▰▱▱▱▱▱▱"]},"dwarfFortress":{"interval":80,"frames":[" ██████£££ ","☺██████£££ ","☺██████£££ ","☺▓█████£££ ","☺▓█████£££ ","☺▒█████£££ ","☺▒█████£££ ","☺░█████£££ ","☺░█████£££ ","☺ █████£££ "," ☺█████£££ "," ☺█████£££ "," ☺▓████£££ "," ☺▓████£££ "," ☺▒████£££ "," ☺▒████£££ "," ☺░████£££ "," ☺░████£££ "," ☺ ████£££ "," ☺████£££ "," ☺████£££ "," ☺▓███£££ "," ☺▓███£££ "," ☺▒███£££ "," ☺▒███£££ "," ☺░███£££ "," ☺░███£££ "," ☺ ███£££ "," ☺███£££ "," ☺███£££ "," ☺▓██£££ "," ☺▓██£££ "," ☺▒██£££ "," ☺▒██£££ "," ☺░██£££ "," ☺░██£££ "," ☺ ██£££ "," ☺██£££ "," ☺██£££ "," ☺▓█£££ "," ☺▓█£££ "," ☺▒█£££ "," ☺▒█£££ "," ☺░█£££ "," ☺░█£££ "," ☺ █£££ "," ☺█£££ "," ☺█£££ "," ☺▓£££ "," ☺▓£££ "," ☺▒£££ "," ☺▒£££ "," ☺░£££ "," ☺░£££ "," ☺ £££ "," ☺£££ "," ☺£££ "," ☺▓££ "," ☺▓££ "," ☺▒££ "," ☺▒££ "," ☺░££ "," ☺░££ "," ☺ ££ "," ☺££ "," ☺££ "," ☺▓£ "," ☺▓£ "," ☺▒£ "," ☺▒£ "," ☺░£ "," ☺░£ "," ☺ £ "," ☺£ "," ☺£ "," ☺▓ "," ☺▓ "," ☺▒ "," ☺▒ "," ☺░ "," ☺░ "," ☺ "," ☺ &"," ☺ ☼&"," ☺ ☼ &"," ☺☼ &"," ☺☼ & "," ‼ & "," ☺ & "," ‼ & "," ☺ & "," ‼ & "," ☺ & ","‼ & "," & "," & "," & ░ "," & ▒ "," & ▓ "," & £ "," & ░£ "," & ▒£ "," & ▓£ "," & ££ "," & ░££ "," & ▒££ ","& ▓££ ","& £££ "," ░£££ "," ▒£££ "," ▓£££ "," █£££ "," ░█£££ "," ▒█£££ "," ▓█£££ "," ██£££ "," ░██£££ "," ▒██£££ "," ▓██£££ "," ███£££ "," ░███£££ "," ▒███£££ "," ▓███£££ "," ████£££ "," ░████£££ "," ▒████£££ "," ▓████£££ "," █████£££ "," ░█████£££ "," ▒█████£££ "," ▓█████£££ "," ██████£££ "," ██████£££ "]}}')},4147:t=>{"use strict";t.exports={i8:"1.0.186"}}};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__.d=(t,r)=>{for(var i in r){if(__nccwpck_require__.o(r,i)&&!__nccwpck_require__.o(t,i)){Object.defineProperty(t,i,{enumerable:true,get:r[i]})}}}})();(()=>{__nccwpck_require__.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r)})();(()=>{__nccwpck_require__.r=t=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(t,"__esModule",{value:true})}})();(()=>{__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__={};(()=>{"use strict";__nccwpck_require__(9436)})();module.exports=__webpack_exports__})();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-eas-build-function",
3
- "version": "1.0.182",
3
+ "version": "1.0.186",
4
4
  "bin": {
5
5
  "create-eas-build-function": "./build/index.js"
6
6
  },
@@ -33,7 +33,7 @@
33
33
  "clean": "rimraf ./build/"
34
34
  },
35
35
  "dependencies": {
36
- "@expo/steps": "1.0.182"
36
+ "@expo/steps": "1.0.186"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@expo/package-manager": "1.7.0",
@@ -57,5 +57,5 @@
57
57
  "node": "20.14.0",
58
58
  "yarn": "1.22.21"
59
59
  },
60
- "gitHead": "aebfd5a70d72eee78ceb4c10d64c4d063e9efca7"
60
+ "gitHead": "ebbde005225c6dd212591e24fccead65f2c85c4e"
61
61
  }