create-eas-build-function 1.0.252 → 1.0.260

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 +5 -5
  2. package/package.json +8 -8
package/build/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
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";
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(2946);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}}}},2946:(t,r,i)=>{"use strict";var o=new RegExp("^(?:@([^/]+?)[/])?([^/]+?)$");var a=i(4925);var u=["node_modules","favicon.ico"];function validate(t){var r=[];var i=[];if(t===null){i.push("name cannot be null");return done(r,i)}if(t===undefined){i.push("name cannot be undefined");return done(r,i)}if(typeof t!=="string"){i.push("name must be a string");return done(r,i)}if(!t.length){i.push("name length must be greater than zero")}if(t.match(/^\./)){i.push("name cannot start with a period")}if(t.match(/^_/)){i.push("name cannot start with an underscore")}if(t.trim()!==t){i.push("name cannot contain leading or trailing spaces")}u.forEach((function(r){if(t.toLowerCase()===r){i.push(r+" is a blacklisted name")}}));a({version:"*"}).forEach((function(i){if(t.toLowerCase()===i){r.push(i+" is a core module name")}}));if(t.length>214){r.push("name can no longer contain more than 214 characters")}if(t.toLowerCase()!==t){r.push("name can no longer contain capital letters")}if(/[~'!()*]/.test(t.split("/").slice(-1)[0])){r.push('name can no longer contain special characters ("~\'!()*")')}if(encodeURIComponent(t)!==t){var l=t.match(o);if(l){var h=l[1];var p=l[2];if(encodeURIComponent(h)===h&&encodeURIComponent(p)===p){return done(r,i)}}i.push("name can only contain URL-friendly characters")}return done(r,i)}var done=function(t,r){var i={validForNewPackages:r.length===0&&t.length===0,validForOldPackages:r.length===0,warnings:t,errors:r};if(!i.warnings.length){delete i.warnings}if(!i.errors.length){delete i.errors}return i};t.exports=validate},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},6718:(t,r,i)=>{var o=i(7147);var a;if(process.platform==="win32"||global.TESTING_WINDOWS){a=i(6183)}else{a=i(9855)}t.exports=isexe;isexe.sync=sync;function isexe(t,r,i){if(typeof r==="function"){i=r;r={}}if(!i){if(typeof Promise!=="function"){throw new TypeError("callback not provided")}return new Promise((function(i,o){isexe(t,r||{},(function(t,r){if(t){o(t)}else{i(r)}}))}))}a(t,r||{},(function(t,o){if(t){if(t.code==="EACCES"||r&&r.ignoreErrors){t=null;o=false}}i(t,o)}))}function sync(t,r){try{return a.sync(t,r||{})}catch(t){if(r&&r.ignoreErrors||t.code==="EACCES"){return false}else{throw t}}}},9855:(t,r,i)=>{t.exports=isexe;isexe.sync=sync;var o=i(7147);function isexe(t,r,i){o.stat(t,(function(t,o){i(t,t?false:checkStat(o,r))}))}function sync(t,r){return checkStat(o.statSync(t),r)}function checkStat(t,r){return t.isFile()&&checkMode(t,r)}function checkMode(t,r){var i=t.mode;var o=t.uid;var a=t.gid;var u=r.uid!==undefined?r.uid:process.getuid&&process.getuid();var l=r.gid!==undefined?r.gid:process.getgid&&process.getgid();var h=parseInt("100",8);var p=parseInt("010",8);var d=parseInt("001",8);var m=h|p;var g=i&d||i&p&&a===l||i&h&&o===u||i&m&&u===0;return g}},6183:(t,r,i)=>{t.exports=isexe;isexe.sync=sync;var o=i(7147);function checkPathExt(t,r){var i=r.pathExt!==undefined?r.pathExt:process.env.PATHEXT;if(!i){return true}i=i.split(";");if(i.indexOf("")!==-1){return true}for(var o=0;o<i.length;o++){var a=i[o].toLowerCase();if(a&&t.substr(-a.length).toLowerCase()===a){return true}}return false}function checkStat(t,r,i){if(!t.isSymbolicLink()&&!t.isFile()){return false}return checkPathExt(r,i)}function isexe(t,r,i){o.stat(t,(function(o,a){i(o,o?false:checkStat(a,t,r))}))}function sync(t,r){return checkStat(o.statSync(t),t,r)}},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(6718);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>
@@ -37,7 +37,7 @@
37
37
  * @author <a href="mailto:aappleby@gmail.com">Austin Appleby</a>
38
38
  * @see http://sites.google.com/site/murmurhash/
39
39
  */
40
- (function(){var r;function MurmurHash3(t,i){var o=this instanceof MurmurHash3?this:r;o.reset(i);if(typeof t==="string"&&t.length>0){o.hash(t)}if(o!==this){return o}}MurmurHash3.prototype.hash=function(t){var r,i,o,a,u;u=t.length;this.len+=u;i=this.k1;o=0;switch(this.rem){case 0:i^=u>o?t.charCodeAt(o++)&65535:0;case 1:i^=u>o?(t.charCodeAt(o++)&65535)<<8:0;case 2:i^=u>o?(t.charCodeAt(o++)&65535)<<16:0;case 3:i^=u>o?(t.charCodeAt(o)&255)<<24:0;i^=u>o?(t.charCodeAt(o++)&65280)>>8:0}this.rem=u+this.rem&3;u-=this.rem;if(u>0){r=this.h1;while(1){i=i*11601+(i&65535)*3432906752&4294967295;i=i<<15|i>>>17;i=i*13715+(i&65535)*461832192&4294967295;r^=i;r=r<<13|r>>>19;r=r*5+3864292196&4294967295;if(o>=u){break}i=t.charCodeAt(o++)&65535^(t.charCodeAt(o++)&65535)<<8^(t.charCodeAt(o++)&65535)<<16;a=t.charCodeAt(o++);i^=(a&255)<<24^(a&65280)>>8}i=0;switch(this.rem){case 3:i^=(t.charCodeAt(o+2)&65535)<<16;case 2:i^=(t.charCodeAt(o+1)&65535)<<8;case 1:i^=t.charCodeAt(o)&65535}this.h1=r}this.k1=i;return this};MurmurHash3.prototype.result=function(){var t,r;t=this.k1;r=this.h1;if(t>0){t=t*11601+(t&65535)*3432906752&4294967295;t=t<<15|t>>>17;t=t*13715+(t&65535)*461832192&4294967295;r^=t}r^=this.len;r^=r>>>16;r=r*51819+(r&65535)*2246770688&4294967295;r^=r>>>13;r=r*44597+(r&65535)*3266445312&4294967295;r^=r>>>16;return r>>>0};MurmurHash3.prototype.reset=function(t){this.h1=typeof t==="number"?t:0;this.rem=this.k1=this.len=0;return this};r=new MurmurHash3;if(true){t.exports=MurmurHash3}else{}})()},6919:(t,r,i)=>{try{var o=i(3837);if(typeof o.inherits!=="function")throw"";t.exports=o.inherits}catch(r){t.exports=i(7526)}},7526:t=>{if(typeof Object.create==="function"){t.exports=function inherits(t,r){if(r){t.super_=r;t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:false,writable:true,configurable:true}})}}}else{t.exports=function inherits(t,r){if(r){t.super_=r;var TempCtor=function(){};TempCtor.prototype=r.prototype;t.prototype=new TempCtor;t.prototype.constructor=t}}}},1923:(t,r)=>{r.parse=r.decode=decode;r.stringify=r.encode=encode;r.safe=safe;r.unsafe=unsafe;var i=typeof process!=="undefined"&&process.platform==="win32"?"\r\n":"\n";function encode(t,r){var o=[];var a="";if(typeof r==="string"){r={section:r,whitespace:false}}else{r=r||{};r.whitespace=r.whitespace===true}var u=r.whitespace?" = ":"=";Object.keys(t).forEach((function(r,l,h){var p=t[r];if(p&&Array.isArray(p)){p.forEach((function(t){a+=safe(r+"[]")+u+safe(t)+"\n"}))}else if(p&&typeof p==="object")o.push(r);else a+=safe(r)+u+safe(p)+i}));if(r.section&&a.length)a="["+safe(r.section)+"]"+i+a;o.forEach((function(o,u,l){var h=dotSplit(o).join("\\.");var p=(r.section?r.section+".":"")+h;var d=encode(t[o],{section:p,whitespace:r.whitespace});if(a.length&&d.length)a+=i;a+=d}));return a}function dotSplit(t){return t.replace(/\1/g,"LITERAL\\1LITERAL").replace(/\\\./g,"").split(/\./).map((function(t){return t.replace(/\1/g,"\\.").replace(/\2LITERAL\\1LITERAL\2/g,"")}))}function decode(t){var r={};var i=r;var o=null;var a=/^\[([^\]]*)\]$|^([^=]+)(=(.*))?$/i;var u=t.split(/[\r\n]+/g);u.forEach((function(t,u,l){if(!t||t.match(/^\s*[;#]/))return;var h=t.match(a);if(!h)return;if(h[1]!==undefined){o=unsafe(h[1]);if(o==="__proto__"){i={};return}i=r[o]=r[o]||{};return}var p=unsafe(h[2]);if(p==="__proto__")return;var d=h[3]?unsafe(h[4]):true;switch(d){case"true":case"false":case"null":d=JSON.parse(d)}if(p.length>2&&p.slice(-2)==="[]"){p=p.substring(0,p.length-2);if(p==="__proto__")return;if(!i[p])i[p]=[];else if(!Array.isArray(i[p]))i[p]=[i[p]]}if(Array.isArray(i[p]))i[p].push(d);else i[p]=d}));Object.keys(r).filter((function(t,i,o){if(!r[t]||typeof r[t]!=="object"||Array.isArray(r[t]))return false;var a=dotSplit(t);var u=r;var l=a.pop();var h=l.replace(/\\\./g,".");a.forEach((function(t,r,i){if(t==="__proto__")return;if(!u[t]||typeof u[t]!=="object")u[t]={};u=u[t]}));if(u===r&&h===l)return false;u[h]=r[t];return true})).forEach((function(t,i,o){delete r[t]}));return r}function isQuoted(t){return t.charAt(0)==='"'&&t.slice(-1)==='"'||t.charAt(0)==="'"&&t.slice(-1)==="'"}function safe(t){return typeof t!=="string"||t.match(/[=\r\n]/)||t.match(/^\[/)||t.length>1&&isQuoted(t)||t!==t.trim()?JSON.stringify(t):t.replace(/;/g,"\\;").replace(/#/g,"\\#")}function unsafe(t,r){t=(t||"").trim();if(isQuoted(t)){if(t.charAt(0)==="'")t=t.substr(1,t.length-2);try{t=JSON.parse(t)}catch(t){}}else{var i=false;var o="";for(var a=0,u=t.length;a<u;a++){var l=t.charAt(a);if(i){if("\\;#".indexOf(l)!==-1)o+=l;else o+="\\"+l;i=false}else if(";#".indexOf(l)!==-1)break;else if(l==="\\")i=true;else o+=l}if(i)o+="\\";return o.trim()}return t}},228:(t,r,i)=>{var o=i(7147);var a;if(process.platform==="win32"||global.TESTING_WINDOWS){a=i(7214)}else{a=i(5211)}t.exports=isexe;isexe.sync=sync;function isexe(t,r,i){if(typeof r==="function"){i=r;r={}}if(!i){if(typeof Promise!=="function"){throw new TypeError("callback not provided")}return new Promise((function(i,o){isexe(t,r||{},(function(t,r){if(t){o(t)}else{i(r)}}))}))}a(t,r||{},(function(t,o){if(t){if(t.code==="EACCES"||r&&r.ignoreErrors){t=null;o=false}}i(t,o)}))}function sync(t,r){try{return a.sync(t,r||{})}catch(t){if(r&&r.ignoreErrors||t.code==="EACCES"){return false}else{throw t}}}},5211:(t,r,i)=>{t.exports=isexe;isexe.sync=sync;var o=i(7147);function isexe(t,r,i){o.stat(t,(function(t,o){i(t,t?false:checkStat(o,r))}))}function sync(t,r){return checkStat(o.statSync(t),r)}function checkStat(t,r){return t.isFile()&&checkMode(t,r)}function checkMode(t,r){var i=t.mode;var o=t.uid;var a=t.gid;var u=r.uid!==undefined?r.uid:process.getuid&&process.getuid();var l=r.gid!==undefined?r.gid:process.getgid&&process.getgid();var h=parseInt("100",8);var p=parseInt("010",8);var d=parseInt("001",8);var m=h|p;var g=i&d||i&p&&a===l||i&h&&o===u||i&m&&u===0;return g}},7214:(t,r,i)=>{t.exports=isexe;isexe.sync=sync;var o=i(7147);function checkPathExt(t,r){var i=r.pathExt!==undefined?r.pathExt:process.env.PATHEXT;if(!i){return true}i=i.split(";");if(i.indexOf("")!==-1){return true}for(var o=0;o<i.length;o++){var a=i[o].toLowerCase();if(a&&t.substr(-a.length).toLowerCase()===a){return true}}return false}function checkStat(t,r,i){if(!t.isSymbolicLink()&&!t.isFile()){return false}return checkPathExt(r,i)}function isexe(t,r,i){o.stat(t,(function(o,a){i(o,o?false:checkStat(a,t,r))}))}function sync(t,r){return checkStat(o.statSync(t),t,r)}},8035:(t,r)=>{Object.defineProperty(r,"__esModule",{value:true});r["default"]=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;r.matchToToken=function(t){var r={type:"invalid",value:t[0],closed:undefined};if(t[1])r.type="string",r.closed=!!(t[3]||t[4]);else if(t[5])r.type="comment";else if(t[6])r.type="comment",r.closed=!!t[7];else if(t[8])r.type="regex";else if(t[9])r.type="number";else if(t[10])r.type="name";else if(t[11])r.type="punctuator";else if(t[12])r.type="whitespace";return r}},5130:(t,r,i)=>{const o=i(3210);const a=i(5627);const u={parse:o,stringify:a};t.exports=u},3210:(t,r,i)=>{const o=i(3009);let a;let u;let l;let h;let p;let d;let m;let g;let y;t.exports=function parse(t,r){a=String(t);u="start";l=[];h=0;p=1;d=0;m=undefined;g=undefined;y=undefined;do{m=lex();_[u]()}while(m.type!=="eof");if(typeof r==="function"){return internalize({"":y},"",r)}return y};function internalize(t,r,i){const o=t[r];if(o!=null&&typeof o==="object"){if(Array.isArray(o)){for(let t=0;t<o.length;t++){const r=String(t);const a=internalize(o,r,i);if(a===undefined){delete o[r]}else{Object.defineProperty(o,r,{value:a,writable:true,enumerable:true,configurable:true})}}}else{for(const t in o){const r=internalize(o,t,i);if(r===undefined){delete o[t]}else{Object.defineProperty(o,t,{value:r,writable:true,enumerable:true,configurable:true})}}}}return i.call(t,r,o)}let v;let A;let b;let w;let E;function lex(){v="default";A="";b=false;w=1;for(;;){E=peek();const t=S[v]();if(t){return t}}}function peek(){if(a[h]){return String.fromCodePoint(a.codePointAt(h))}}function read(){const t=peek();if(t==="\n"){p++;d=0}else if(t){d+=t.length}else{d++}if(t){h+=t.length}return t}const S={default(){switch(E){case"\t":case"\v":case"\f":case" ":case" ":case"\ufeff":case"\n":case"\r":case"\u2028":case"\u2029":read();return;case"/":read();v="comment";return;case undefined:read();return newToken("eof")}if(o.isSpaceSeparator(E)){read();return}return S[u]()},comment(){switch(E){case"*":read();v="multiLineComment";return;case"/":read();v="singleLineComment";return}throw invalidChar(read())},multiLineComment(){switch(E){case"*":read();v="multiLineCommentAsterisk";return;case undefined:throw invalidChar(read())}read()},multiLineCommentAsterisk(){switch(E){case"*":read();return;case"/":read();v="default";return;case undefined:throw invalidChar(read())}read();v="multiLineComment"},singleLineComment(){switch(E){case"\n":case"\r":case"\u2028":case"\u2029":read();v="default";return;case undefined:read();return newToken("eof")}read()},value(){switch(E){case"{":case"[":return newToken("punctuator",read());case"n":read();literal("ull");return newToken("null",null);case"t":read();literal("rue");return newToken("boolean",true);case"f":read();literal("alse");return newToken("boolean",false);case"-":case"+":if(read()==="-"){w=-1}v="sign";return;case".":A=read();v="decimalPointLeading";return;case"0":A=read();v="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":A=read();v="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",Infinity);case"N":read();literal("aN");return newToken("numeric",NaN);case'"':case"'":b=read()==='"';A="";v="string";return}throw invalidChar(read())},identifierNameStartEscape(){if(E!=="u"){throw invalidChar(read())}read();const t=unicodeEscape();switch(t){case"$":case"_":break;default:if(!o.isIdStartChar(t)){throw invalidIdentifier()}break}A+=t;v="identifierName"},identifierName(){switch(E){case"$":case"_":case"‌":case"‍":A+=read();return;case"\\":read();v="identifierNameEscape";return}if(o.isIdContinueChar(E)){A+=read();return}return newToken("identifier",A)},identifierNameEscape(){if(E!=="u"){throw invalidChar(read())}read();const t=unicodeEscape();switch(t){case"$":case"_":case"‌":case"‍":break;default:if(!o.isIdContinueChar(t)){throw invalidIdentifier()}break}A+=t;v="identifierName"},sign(){switch(E){case".":A=read();v="decimalPointLeading";return;case"0":A=read();v="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":A=read();v="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",w*Infinity);case"N":read();literal("aN");return newToken("numeric",NaN)}throw invalidChar(read())},zero(){switch(E){case".":A+=read();v="decimalPoint";return;case"e":case"E":A+=read();v="decimalExponent";return;case"x":case"X":A+=read();v="hexadecimal";return}return newToken("numeric",w*0)},decimalInteger(){switch(E){case".":A+=read();v="decimalPoint";return;case"e":case"E":A+=read();v="decimalExponent";return}if(o.isDigit(E)){A+=read();return}return newToken("numeric",w*Number(A))},decimalPointLeading(){if(o.isDigit(E)){A+=read();v="decimalFraction";return}throw invalidChar(read())},decimalPoint(){switch(E){case"e":case"E":A+=read();v="decimalExponent";return}if(o.isDigit(E)){A+=read();v="decimalFraction";return}return newToken("numeric",w*Number(A))},decimalFraction(){switch(E){case"e":case"E":A+=read();v="decimalExponent";return}if(o.isDigit(E)){A+=read();return}return newToken("numeric",w*Number(A))},decimalExponent(){switch(E){case"+":case"-":A+=read();v="decimalExponentSign";return}if(o.isDigit(E)){A+=read();v="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentSign(){if(o.isDigit(E)){A+=read();v="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentInteger(){if(o.isDigit(E)){A+=read();return}return newToken("numeric",w*Number(A))},hexadecimal(){if(o.isHexDigit(E)){A+=read();v="hexadecimalInteger";return}throw invalidChar(read())},hexadecimalInteger(){if(o.isHexDigit(E)){A+=read();return}return newToken("numeric",w*Number(A))},string(){switch(E){case"\\":read();A+=escape();return;case'"':if(b){read();return newToken("string",A)}A+=read();return;case"'":if(!b){read();return newToken("string",A)}A+=read();return;case"\n":case"\r":throw invalidChar(read());case"\u2028":case"\u2029":separatorChar(E);break;case undefined:throw invalidChar(read())}A+=read()},start(){switch(E){case"{":case"[":return newToken("punctuator",read())}v="value"},beforePropertyName(){switch(E){case"$":case"_":A=read();v="identifierName";return;case"\\":read();v="identifierNameStartEscape";return;case"}":return newToken("punctuator",read());case'"':case"'":b=read()==='"';v="string";return}if(o.isIdStartChar(E)){A+=read();v="identifierName";return}throw invalidChar(read())},afterPropertyName(){if(E===":"){return newToken("punctuator",read())}throw invalidChar(read())},beforePropertyValue(){v="value"},afterPropertyValue(){switch(E){case",":case"}":return newToken("punctuator",read())}throw invalidChar(read())},beforeArrayValue(){if(E==="]"){return newToken("punctuator",read())}v="value"},afterArrayValue(){switch(E){case",":case"]":return newToken("punctuator",read())}throw invalidChar(read())},end(){throw invalidChar(read())}};function newToken(t,r){return{type:t,value:r,line:p,column:d}}function literal(t){for(const r of t){const t=peek();if(t!==r){throw invalidChar(read())}read()}}function escape(){const t=peek();switch(t){case"b":read();return"\b";case"f":read();return"\f";case"n":read();return"\n";case"r":read();return"\r";case"t":read();return"\t";case"v":read();return"\v";case"0":read();if(o.isDigit(peek())){throw invalidChar(read())}return"\0";case"x":read();return hexEscape();case"u":read();return unicodeEscape();case"\n":case"\u2028":case"\u2029":read();return"";case"\r":read();if(peek()==="\n"){read()}return"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw invalidChar(read());case undefined:throw invalidChar(read())}return read()}function hexEscape(){let t="";let r=peek();if(!o.isHexDigit(r)){throw invalidChar(read())}t+=read();r=peek();if(!o.isHexDigit(r)){throw invalidChar(read())}t+=read();return String.fromCodePoint(parseInt(t,16))}function unicodeEscape(){let t="";let r=4;while(r-- >0){const r=peek();if(!o.isHexDigit(r)){throw invalidChar(read())}t+=read()}return String.fromCodePoint(parseInt(t,16))}const _={start(){if(m.type==="eof"){throw invalidEOF()}push()},beforePropertyName(){switch(m.type){case"identifier":case"string":g=m.value;u="afterPropertyName";return;case"punctuator":pop();return;case"eof":throw invalidEOF()}},afterPropertyName(){if(m.type==="eof"){throw invalidEOF()}u="beforePropertyValue"},beforePropertyValue(){if(m.type==="eof"){throw invalidEOF()}push()},beforeArrayValue(){if(m.type==="eof"){throw invalidEOF()}if(m.type==="punctuator"&&m.value==="]"){pop();return}push()},afterPropertyValue(){if(m.type==="eof"){throw invalidEOF()}switch(m.value){case",":u="beforePropertyName";return;case"}":pop()}},afterArrayValue(){if(m.type==="eof"){throw invalidEOF()}switch(m.value){case",":u="beforeArrayValue";return;case"]":pop()}},end(){}};function push(){let t;switch(m.type){case"punctuator":switch(m.value){case"{":t={};break;case"[":t=[];break}break;case"null":case"boolean":case"numeric":case"string":t=m.value;break}if(y===undefined){y=t}else{const r=l[l.length-1];if(Array.isArray(r)){r.push(t)}else{Object.defineProperty(r,g,{value:t,writable:true,enumerable:true,configurable:true})}}if(t!==null&&typeof t==="object"){l.push(t);if(Array.isArray(t)){u="beforeArrayValue"}else{u="beforePropertyName"}}else{const t=l[l.length-1];if(t==null){u="end"}else if(Array.isArray(t)){u="afterArrayValue"}else{u="afterPropertyValue"}}}function pop(){l.pop();const t=l[l.length-1];if(t==null){u="end"}else if(Array.isArray(t)){u="afterArrayValue"}else{u="afterPropertyValue"}}function invalidChar(t){if(t===undefined){return syntaxError(`JSON5: invalid end of input at ${p}:${d}`)}return syntaxError(`JSON5: invalid character '${formatChar(t)}' at ${p}:${d}`)}function invalidEOF(){return syntaxError(`JSON5: invalid end of input at ${p}:${d}`)}function invalidIdentifier(){d-=5;return syntaxError(`JSON5: invalid identifier character at ${p}:${d}`)}function separatorChar(t){console.warn(`JSON5: '${formatChar(t)}' in strings is not valid ECMAScript; consider escaping`)}function formatChar(t){const r={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(r[t]){return r[t]}if(t<" "){const r=t.charCodeAt(0).toString(16);return"\\x"+("00"+r).substring(r.length)}return t}function syntaxError(t){const r=new SyntaxError(t);r.lineNumber=p;r.columnNumber=d;return r}},5627:(t,r,i)=>{const o=i(3009);t.exports=function stringify(t,r,i){const a=[];let u="";let l;let h;let p="";let d;if(r!=null&&typeof r==="object"&&!Array.isArray(r)){i=r.space;d=r.quote;r=r.replacer}if(typeof r==="function"){h=r}else if(Array.isArray(r)){l=[];for(const t of r){let r;if(typeof t==="string"){r=t}else if(typeof t==="number"||t instanceof String||t instanceof Number){r=String(t)}if(r!==undefined&&l.indexOf(r)<0){l.push(r)}}}if(i instanceof Number){i=Number(i)}else if(i instanceof String){i=String(i)}if(typeof i==="number"){if(i>0){i=Math.min(10,Math.floor(i));p=" ".substr(0,i)}}else if(typeof i==="string"){p=i.substr(0,10)}return serializeProperty("",{"":t});function serializeProperty(t,r){let i=r[t];if(i!=null){if(typeof i.toJSON5==="function"){i=i.toJSON5(t)}else if(typeof i.toJSON==="function"){i=i.toJSON(t)}}if(h){i=h.call(r,t,i)}if(i instanceof Number){i=Number(i)}else if(i instanceof String){i=String(i)}else if(i instanceof Boolean){i=i.valueOf()}switch(i){case null:return"null";case true:return"true";case false:return"false"}if(typeof i==="string"){return quoteString(i,false)}if(typeof i==="number"){return String(i)}if(typeof i==="object"){return Array.isArray(i)?serializeArray(i):serializeObject(i)}return undefined}function quoteString(t){const r={"'":.1,'"':.2};const i={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};let a="";for(let u=0;u<t.length;u++){const l=t[u];switch(l){case"'":case'"':r[l]++;a+=l;continue;case"\0":if(o.isDigit(t[u+1])){a+="\\x00";continue}}if(i[l]){a+=i[l];continue}if(l<" "){let t=l.charCodeAt(0).toString(16);a+="\\x"+("00"+t).substring(t.length);continue}a+=l}const u=d||Object.keys(r).reduce(((t,i)=>r[t]<r[i]?t:i));a=a.replace(new RegExp(u,"g"),i[u]);return u+a+u}function serializeObject(t){if(a.indexOf(t)>=0){throw TypeError("Converting circular structure to JSON5")}a.push(t);let r=u;u=u+p;let i=l||Object.keys(t);let o=[];for(const r of i){const i=serializeProperty(r,t);if(i!==undefined){let t=serializeKey(r)+":";if(p!==""){t+=" "}t+=i;o.push(t)}}let h;if(o.length===0){h="{}"}else{let t;if(p===""){t=o.join(",");h="{"+t+"}"}else{let i=",\n"+u;t=o.join(i);h="{\n"+u+t+",\n"+r+"}"}}a.pop();u=r;return h}function serializeKey(t){if(t.length===0){return quoteString(t,true)}const r=String.fromCodePoint(t.codePointAt(0));if(!o.isIdStartChar(r)){return quoteString(t,true)}for(let i=r.length;i<t.length;i++){if(!o.isIdContinueChar(String.fromCodePoint(t.codePointAt(i)))){return quoteString(t,true)}}return t}function serializeArray(t){if(a.indexOf(t)>=0){throw TypeError("Converting circular structure to JSON5")}a.push(t);let r=u;u=u+p;let i=[];for(let r=0;r<t.length;r++){const o=serializeProperty(String(r),t);i.push(o!==undefined?o:"null")}let o;if(i.length===0){o="[]"}else{if(p===""){let t=i.join(",");o="["+t+"]"}else{let t=",\n"+u;let a=i.join(t);o="[\n"+u+a+",\n"+r+"]"}}a.pop();u=r;return o}}},6195:t=>{t.exports.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/;t.exports.ID_Start=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/;t.exports.ID_Continue=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},3009:(t,r,i)=>{const o=i(6195);t.exports={isSpaceSeparator(t){return typeof t==="string"&&o.Space_Separator.test(t)},isIdStartChar(t){return typeof t==="string"&&(t>="a"&&t<="z"||t>="A"&&t<="Z"||t==="$"||t==="_"||o.ID_Start.test(t))},isIdContinueChar(t){return typeof t==="string"&&(t>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"||t==="$"||t==="_"||t==="‌"||t==="‍"||o.ID_Continue.test(t))},isDigit(t){return typeof t==="string"&&/[0-9]/.test(t)},isHexDigit(t){return typeof t==="string"&&/[0-9A-Fa-f]/.test(t)}}},1215:(t,r,i)=>{let o;try{o=i(853)}catch(t){o=i(7147)}const a=i(2703);const{stringify:u,stripBom:l}=i(4978);async function _readFile(t,r={}){if(typeof r==="string"){r={encoding:r}}const i=r.fs||o;const u="throws"in r?r.throws:true;let h=await a.fromCallback(i.readFile)(t,r);h=l(h);let p;try{p=JSON.parse(h,r?r.reviver:null)}catch(r){if(u){r.message=`${t}: ${r.message}`;throw r}else{return null}}return p}const h=a.fromPromise(_readFile);function readFileSync(t,r={}){if(typeof r==="string"){r={encoding:r}}const i=r.fs||o;const a="throws"in r?r.throws:true;try{let o=i.readFileSync(t,r);o=l(o);return JSON.parse(o,r.reviver)}catch(r){if(a){r.message=`${t}: ${r.message}`;throw r}else{return null}}}async function _writeFile(t,r,i={}){const l=i.fs||o;const h=u(r,i);await a.fromCallback(l.writeFile)(t,h,i)}const p=a.fromPromise(_writeFile);function writeFileSync(t,r,i={}){const a=i.fs||o;const l=u(r,i);return a.writeFileSync(t,l,i)}const d={readFile:h,readFileSync:readFileSync,writeFile:p,writeFileSync:writeFileSync};t.exports=d},741:t=>{"use strict";t.exports=clone;var r=Object.getPrototypeOf||function(t){return t.__proto__};function clone(t){if(t===null||typeof t!=="object")return t;if(t instanceof Object)var i={__proto__:r(t)};else var i=Object.create(null);Object.getOwnPropertyNames(t).forEach((function(r){Object.defineProperty(i,r,Object.getOwnPropertyDescriptor(t,r))}));return i}},853:(t,r,i)=>{var o=i(7147);var a=i(2289);var u=i(5453);var l=i(741);var h=i(3837);var p;var d;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){p=Symbol.for("graceful-fs.queue");d=Symbol.for("graceful-fs.previous")}else{p="___graceful-fs.queue";d="___graceful-fs.previous"}function noop(){}function publishQueue(t,r){Object.defineProperty(t,p,{get:function(){return r}})}var m=noop;if(h.debuglog)m=h.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))m=function(){var t=h.format.apply(h,arguments);t="GFS4: "+t.split(/\n/).join("\nGFS4: ");console.error(t)};if(!o[p]){var g=global[p]||[];publishQueue(o,g);o.close=function(t){function close(r,i){return t.call(o,r,(function(t){if(!t){retry()}if(typeof i==="function")i.apply(this,arguments)}))}Object.defineProperty(close,d,{value:t});return close}(o.close);o.closeSync=function(t){function closeSync(r){t.apply(o,arguments);retry()}Object.defineProperty(closeSync,d,{value:t});return closeSync}(o.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",(function(){m(o[p]);i(9491).equal(o[p].length,0)}))}}if(!global[p]){publishQueue(global,o[p])}t.exports=patch(l(o));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!o.__patched){t.exports=patch(o);o.__patched=true}function patch(t){a(t);t.gracefulify=patch;t.createReadStream=createReadStream;t.createWriteStream=createWriteStream;var r=t.readFile;t.readFile=readFile;function readFile(t,i,o){if(typeof i==="function")o=i,i=null;return go$readFile(t,i,o);function go$readFile(t,i,o){return r(t,i,(function(r){if(r&&(r.code==="EMFILE"||r.code==="ENFILE"))enqueue([go$readFile,[t,i,o]]);else{if(typeof o==="function")o.apply(this,arguments);retry()}}))}}var i=t.writeFile;t.writeFile=writeFile;function writeFile(t,r,o,a){if(typeof o==="function")a=o,o=null;return go$writeFile(t,r,o,a);function go$writeFile(t,r,o,a){return i(t,r,o,(function(i){if(i&&(i.code==="EMFILE"||i.code==="ENFILE"))enqueue([go$writeFile,[t,r,o,a]]);else{if(typeof a==="function")a.apply(this,arguments);retry()}}))}}var o=t.appendFile;if(o)t.appendFile=appendFile;function appendFile(t,r,i,a){if(typeof i==="function")a=i,i=null;return go$appendFile(t,r,i,a);function go$appendFile(t,r,i,a){return o(t,r,i,(function(o){if(o&&(o.code==="EMFILE"||o.code==="ENFILE"))enqueue([go$appendFile,[t,r,i,a]]);else{if(typeof a==="function")a.apply(this,arguments);retry()}}))}}var l=t.copyFile;if(l)t.copyFile=copyFile;function copyFile(t,r,i,o){if(typeof i==="function"){o=i;i=0}return l(t,r,i,(function(a){if(a&&(a.code==="EMFILE"||a.code==="ENFILE"))enqueue([l,[t,r,i,o]]);else{if(typeof o==="function")o.apply(this,arguments);retry()}}))}var h=t.readdir;t.readdir=readdir;function readdir(t,r,i){var o=[t];if(typeof r!=="function"){o.push(r)}else{i=r}o.push(go$readdir$cb);return go$readdir(o);function go$readdir$cb(t,r){if(r&&r.sort)r.sort();if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))enqueue([go$readdir,[o]]);else{if(typeof i==="function")i.apply(this,arguments);retry()}}}function go$readdir(r){return h.apply(t,r)}if(process.version.substr(0,4)==="v0.8"){var p=u(t);ReadStream=p.ReadStream;WriteStream=p.WriteStream}var d=t.ReadStream;if(d){ReadStream.prototype=Object.create(d.prototype);ReadStream.prototype.open=ReadStream$open}var m=t.WriteStream;if(m){WriteStream.prototype=Object.create(m.prototype);WriteStream.prototype.open=WriteStream$open}Object.defineProperty(t,"ReadStream",{get:function(){return ReadStream},set:function(t){ReadStream=t},enumerable:true,configurable:true});Object.defineProperty(t,"WriteStream",{get:function(){return WriteStream},set:function(t){WriteStream=t},enumerable:true,configurable:true});var g=ReadStream;Object.defineProperty(t,"FileReadStream",{get:function(){return g},set:function(t){g=t},enumerable:true,configurable:true});var y=WriteStream;Object.defineProperty(t,"FileWriteStream",{get:function(){return y},set:function(t){y=t},enumerable:true,configurable:true});function ReadStream(t,r){if(this instanceof ReadStream)return d.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var t=this;open(t.path,t.flags,t.mode,(function(r,i){if(r){if(t.autoClose)t.destroy();t.emit("error",r)}else{t.fd=i;t.emit("open",i);t.read()}}))}function WriteStream(t,r){if(this instanceof WriteStream)return m.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var t=this;open(t.path,t.flags,t.mode,(function(r,i){if(r){t.destroy();t.emit("error",r)}else{t.fd=i;t.emit("open",i)}}))}function createReadStream(r,i){return new t.ReadStream(r,i)}function createWriteStream(r,i){return new t.WriteStream(r,i)}var v=t.open;t.open=open;function open(t,r,i,o){if(typeof i==="function")o=i,i=null;return go$open(t,r,i,o);function go$open(t,r,i,o){return v(t,r,i,(function(a,u){if(a&&(a.code==="EMFILE"||a.code==="ENFILE"))enqueue([go$open,[t,r,i,o]]);else{if(typeof o==="function")o.apply(this,arguments);retry()}}))}}return t}function enqueue(t){m("ENQUEUE",t[0].name,t[1]);o[p].push(t)}function retry(){var t=o[p].shift();if(t){m("RETRY",t[0].name,t[1]);t[0].apply(null,t[1])}}},5453:(t,r,i)=>{var o=i(2781).Stream;t.exports=legacy;function legacy(t){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(r,i){if(!(this instanceof ReadStream))return new ReadStream(r,i);o.call(this);var a=this;this.path=r;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;i=i||{};var u=Object.keys(i);for(var l=0,h=u.length;l<h;l++){var p=u[l];this[p]=i[p]}if(this.encoding)this.setEncoding(this.encoding);if(this.start!==undefined){if("number"!==typeof this.start){throw TypeError("start must be a Number")}if(this.end===undefined){this.end=Infinity}else if("number"!==typeof this.end){throw TypeError("end must be a Number")}if(this.start>this.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick((function(){a._read()}));return}t.open(this.path,this.flags,this.mode,(function(t,r){if(t){a.emit("error",t);a.readable=false;return}a.fd=r;a.emit("open",r);a._read()}))}function WriteStream(r,i){if(!(this instanceof WriteStream))return new WriteStream(r,i);o.call(this);this.path=r;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;i=i||{};var a=Object.keys(i);for(var u=0,l=a.length;u<l;u++){var h=a[u];this[h]=i[h]}if(this.start!==undefined){if("number"!==typeof this.start){throw TypeError("start must be a Number")}if(this.start<0){throw new Error("start must be >= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=t.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},2289:(t,r,i)=>{var o=i(2057);var a=process.cwd;var u=null;var l=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!u)u=a.call(process);return u};try{process.cwd()}catch(t){}if(typeof process.chdir==="function"){var h=process.chdir;process.chdir=function(t){u=null;h.call(process,t)};if(Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,h)}t.exports=patch;function patch(t){if(o.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(t)}if(!t.lutimes){patchLutimes(t)}t.chown=chownFix(t.chown);t.fchown=chownFix(t.fchown);t.lchown=chownFix(t.lchown);t.chmod=chmodFix(t.chmod);t.fchmod=chmodFix(t.fchmod);t.lchmod=chmodFix(t.lchmod);t.chownSync=chownFixSync(t.chownSync);t.fchownSync=chownFixSync(t.fchownSync);t.lchownSync=chownFixSync(t.lchownSync);t.chmodSync=chmodFixSync(t.chmodSync);t.fchmodSync=chmodFixSync(t.fchmodSync);t.lchmodSync=chmodFixSync(t.lchmodSync);t.stat=statFix(t.stat);t.fstat=statFix(t.fstat);t.lstat=statFix(t.lstat);t.statSync=statFixSync(t.statSync);t.fstatSync=statFixSync(t.fstatSync);t.lstatSync=statFixSync(t.lstatSync);if(!t.lchmod){t.lchmod=function(t,r,i){if(i)process.nextTick(i)};t.lchmodSync=function(){}}if(!t.lchown){t.lchown=function(t,r,i,o){if(o)process.nextTick(o)};t.lchownSync=function(){}}if(l==="win32"){t.rename=function(r){return function(i,o,a){var u=Date.now();var l=0;r(i,o,(function CB(h){if(h&&(h.code==="EACCES"||h.code==="EPERM")&&Date.now()-u<6e4){setTimeout((function(){t.stat(o,(function(t,u){if(t&&t.code==="ENOENT")r(i,o,CB);else a(h)}))}),l);if(l<100)l+=10;return}if(a)a(h)}))}}(t.rename)}t.read=function(r){function read(i,o,a,u,l,h){var p;if(h&&typeof h==="function"){var d=0;p=function(m,g,y){if(m&&m.code==="EAGAIN"&&d<10){d++;return r.call(t,i,o,a,u,l,p)}h.apply(this,arguments)}}return r.call(t,i,o,a,u,l,p)}if(Object.setPrototypeOf)Object.setPrototypeOf(read,r);return read}(t.read);t.readSync=function(r){return function(i,o,a,u,l){var h=0;while(true){try{return r.call(t,i,o,a,u,l)}catch(t){if(t.code==="EAGAIN"&&h<10){h++;continue}throw t}}}}(t.readSync);function patchLchmod(t){t.lchmod=function(r,i,a){t.open(r,o.O_WRONLY|o.O_SYMLINK,i,(function(r,o){if(r){if(a)a(r);return}t.fchmod(o,i,(function(r){t.close(o,(function(t){if(a)a(r||t)}))}))}))};t.lchmodSync=function(r,i){var a=t.openSync(r,o.O_WRONLY|o.O_SYMLINK,i);var u=true;var l;try{l=t.fchmodSync(a,i);u=false}finally{if(u){try{t.closeSync(a)}catch(t){}}else{t.closeSync(a)}}return l}}function patchLutimes(t){if(o.hasOwnProperty("O_SYMLINK")){t.lutimes=function(r,i,a,u){t.open(r,o.O_SYMLINK,(function(r,o){if(r){if(u)u(r);return}t.futimes(o,i,a,(function(r){t.close(o,(function(t){if(u)u(r||t)}))}))}))};t.lutimesSync=function(r,i,a){var u=t.openSync(r,o.O_SYMLINK);var l;var h=true;try{l=t.futimesSync(u,i,a);h=false}finally{if(h){try{t.closeSync(u)}catch(t){}}else{t.closeSync(u)}}return l}}else{t.lutimes=function(t,r,i,o){if(o)process.nextTick(o)};t.lutimesSync=function(){}}}function chmodFix(r){if(!r)return r;return function(i,o,a){return r.call(t,i,o,(function(t){if(chownErOk(t))t=null;if(a)a.apply(this,arguments)}))}}function chmodFixSync(r){if(!r)return r;return function(i,o){try{return r.call(t,i,o)}catch(t){if(!chownErOk(t))throw t}}}function chownFix(r){if(!r)return r;return function(i,o,a,u){return r.call(t,i,o,a,(function(t){if(chownErOk(t))t=null;if(u)u.apply(this,arguments)}))}}function chownFixSync(r){if(!r)return r;return function(i,o,a){try{return r.call(t,i,o,a)}catch(t){if(!chownErOk(t))throw t}}}function statFix(r){if(!r)return r;return function(i,o,a){if(typeof o==="function"){a=o;o=null}function callback(t,r){if(r){if(r.uid<0)r.uid+=4294967296;if(r.gid<0)r.gid+=4294967296}if(a)a.apply(this,arguments)}return o?r.call(t,i,o,callback):r.call(t,i,callback)}}function statFixSync(r){if(!r)return r;return function(i,o){var a=o?r.call(t,i,o):r.call(t,i);if(a.uid<0)a.uid+=4294967296;if(a.gid<0)a.gid+=4294967296;return a}}function chownErOk(t){if(!t)return true;if(t.code==="ENOSYS")return true;var r=!process.getuid||process.getuid()!==0;if(r){if(t.code==="EINVAL"||t.code==="EPERM")return true}return false}}},4978:t=>{function stringify(t,{EOL:r="\n",finalEOL:i=true,replacer:o=null,spaces:a}={}){const u=i?r:"";const l=JSON.stringify(t,o,a);return l.replace(/\n/g,r)+u}function stripBom(t){if(Buffer.isBuffer(t))t=t.toString("utf8");return t.replace(/^\uFEFF/,"")}t.exports={stringify:stringify,stripBom:stripBom}},9439:t=>{"use strict";const{FORCE_COLOR:r,NODE_DISABLE_COLORS:i,TERM:o}=process.env;const a={enabled:!i&&o!=="dumb"&&r!=="0",reset:init(0,0),bold:init(1,22),dim:init(2,22),italic:init(3,23),underline:init(4,24),inverse:init(7,27),hidden:init(8,28),strikethrough:init(9,29),black:init(30,39),red:init(31,39),green:init(32,39),yellow:init(33,39),blue:init(34,39),magenta:init(35,39),cyan:init(36,39),white:init(37,39),gray:init(90,39),grey:init(90,39),bgBlack:init(40,49),bgRed:init(41,49),bgGreen:init(42,49),bgYellow:init(43,49),bgBlue:init(44,49),bgMagenta:init(45,49),bgCyan:init(46,49),bgWhite:init(47,49)};function run(t,r){let i=0,o,a="",u="";for(;i<t.length;i++){o=t[i];a+=o.open;u+=o.close;if(r.includes(o.close)){r=r.replace(o.rgx,o.close+o.open)}}return a+r+u}function chain(t,r){let i={has:t,keys:r};i.reset=a.reset.bind(i);i.bold=a.bold.bind(i);i.dim=a.dim.bind(i);i.italic=a.italic.bind(i);i.underline=a.underline.bind(i);i.inverse=a.inverse.bind(i);i.hidden=a.hidden.bind(i);i.strikethrough=a.strikethrough.bind(i);i.black=a.black.bind(i);i.red=a.red.bind(i);i.green=a.green.bind(i);i.yellow=a.yellow.bind(i);i.blue=a.blue.bind(i);i.magenta=a.magenta.bind(i);i.cyan=a.cyan.bind(i);i.white=a.white.bind(i);i.gray=a.gray.bind(i);i.grey=a.grey.bind(i);i.bgBlack=a.bgBlack.bind(i);i.bgRed=a.bgRed.bind(i);i.bgGreen=a.bgGreen.bind(i);i.bgYellow=a.bgYellow.bind(i);i.bgBlue=a.bgBlue.bind(i);i.bgMagenta=a.bgMagenta.bind(i);i.bgCyan=a.bgCyan.bind(i);i.bgWhite=a.bgWhite.bind(i);return i}function init(t,r){let i={open:`[${t}m`,close:`[${r}m`,rgx:new RegExp(`\\x1b\\[${r}m`,"g")};return function(r){if(this!==void 0&&this.has!==void 0){this.has.includes(t)||(this.has.push(t),this.keys.push(i));return r===void 0?this:a.enabled?run(this.keys,r+""):r+""}return r===void 0?chain([t],[i]):a.enabled?run([i],r+""):r+""}}t.exports=a},481:t=>{"use strict";const mimicFn=(t,r)=>{for(const i of Reflect.ownKeys(r)){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(r,i))}return t};t.exports=mimicFn;t.exports["default"]=mimicFn},5912:t=>{"use strict";function hasKey(t,r){var i=t;r.slice(0,-1).forEach((function(t){i=i[t]||{}}));var o=r[r.length-1];return o in i}function isNumber(t){if(typeof t==="number"){return true}if(/^0x[0-9a-f]+$/i.test(t)){return true}return/^[-+]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(t)}function isConstructorOrProto(t,r){return r==="constructor"&&typeof t[r]==="function"||r==="__proto__"}t.exports=function(t,r){if(!r){r={}}var i={bools:{},strings:{},unknownFn:null};if(typeof r.unknown==="function"){i.unknownFn=r.unknown}if(typeof r.boolean==="boolean"&&r.boolean){i.allBools=true}else{[].concat(r.boolean).filter(Boolean).forEach((function(t){i.bools[t]=true}))}var o={};function aliasIsBoolean(t){return o[t].some((function(t){return i.bools[t]}))}Object.keys(r.alias||{}).forEach((function(t){o[t]=[].concat(r.alias[t]);o[t].forEach((function(r){o[r]=[t].concat(o[t].filter((function(t){return r!==t})))}))}));[].concat(r.string).filter(Boolean).forEach((function(t){i.strings[t]=true;if(o[t]){[].concat(o[t]).forEach((function(t){i.strings[t]=true}))}}));var a=r.default||{};var u={_:[]};function argDefined(t,r){return i.allBools&&/^--[^=]+$/.test(r)||i.strings[t]||i.bools[t]||o[t]}function setKey(t,r,o){var a=t;for(var u=0;u<r.length-1;u++){var l=r[u];if(isConstructorOrProto(a,l)){return}if(a[l]===undefined){a[l]={}}if(a[l]===Object.prototype||a[l]===Number.prototype||a[l]===String.prototype){a[l]={}}if(a[l]===Array.prototype){a[l]=[]}a=a[l]}var h=r[r.length-1];if(isConstructorOrProto(a,h)){return}if(a===Object.prototype||a===Number.prototype||a===String.prototype){a={}}if(a===Array.prototype){a=[]}if(a[h]===undefined||i.bools[h]||typeof a[h]==="boolean"){a[h]=o}else if(Array.isArray(a[h])){a[h].push(o)}else{a[h]=[a[h],o]}}function setArg(t,r,a){if(a&&i.unknownFn&&!argDefined(t,a)){if(i.unknownFn(a)===false){return}}var l=!i.strings[t]&&isNumber(r)?Number(r):r;setKey(u,t.split("."),l);(o[t]||[]).forEach((function(t){setKey(u,t.split("."),l)}))}Object.keys(i.bools).forEach((function(t){setArg(t,a[t]===undefined?false:a[t])}));var l=[];if(t.indexOf("--")!==-1){l=t.slice(t.indexOf("--")+1);t=t.slice(0,t.indexOf("--"))}for(var h=0;h<t.length;h++){var p=t[h];var d;var m;if(/^--.+=/.test(p)){var g=p.match(/^--([^=]+)=([\s\S]*)$/);d=g[1];var y=g[2];if(i.bools[d]){y=y!=="false"}setArg(d,y,p)}else if(/^--no-.+/.test(p)){d=p.match(/^--no-(.+)/)[1];setArg(d,false,p)}else if(/^--.+/.test(p)){d=p.match(/^--(.+)/)[1];m=t[h+1];if(m!==undefined&&!/^(-|--)[^-]/.test(m)&&!i.bools[d]&&!i.allBools&&(o[d]?!aliasIsBoolean(d):true)){setArg(d,m,p);h+=1}else if(/^(true|false)$/.test(m)){setArg(d,m==="true",p);h+=1}else{setArg(d,i.strings[d]?"":true,p)}}else if(/^-[^-]+/.test(p)){var v=p.slice(1,-1).split("");var A=false;for(var b=0;b<v.length;b++){m=p.slice(b+2);if(m==="-"){setArg(v[b],m,p);continue}if(/[A-Za-z]/.test(v[b])&&m[0]==="="){setArg(v[b],m.slice(1),p);A=true;break}if(/[A-Za-z]/.test(v[b])&&/-?\d+(\.\d*)?(e-?\d+)?$/.test(m)){setArg(v[b],m,p);A=true;break}if(v[b+1]&&v[b+1].match(/\W/)){setArg(v[b],p.slice(b+2),p);A=true;break}else{setArg(v[b],i.strings[v[b]]?"":true,p)}}d=p.slice(-1)[0];if(!A&&d!=="-"){if(t[h+1]&&!/^(-|--)[^-]/.test(t[h+1])&&!i.bools[d]&&(o[d]?!aliasIsBoolean(d):true)){setArg(d,t[h+1],p);h+=1}else if(t[h+1]&&/^(true|false)$/.test(t[h+1])){setArg(d,t[h+1]==="true",p);h+=1}else{setArg(d,i.strings[d]?"":true,p)}}}else{if(!i.unknownFn||i.unknownFn(p)!==false){u._.push(i.strings._||!isNumber(p)?p:Number(p))}if(r.stopEarly){u._.push.apply(u._,t.slice(h+1));break}}}Object.keys(a).forEach((function(t){if(!hasKey(u,t.split("."))){setKey(u,t.split("."),a[t]);(o[t]||[]).forEach((function(r){setKey(u,r.split("."),a[t])}))}}));if(r["--"]){u["--"]=l.slice()}else{l.forEach((function(t){u._.push(t)}))}return u}},7462:(t,r,i)=>{"use strict";const o=i(481);const a=new WeakMap;const onetime=(t,r={})=>{if(typeof t!=="function"){throw new TypeError("Expected a function")}let i;let u=0;const l=t.displayName||t.name||"<anonymous>";const onetime=function(...o){a.set(onetime,++u);if(u===1){i=t.apply(this,o);t=null}else if(r.throw===true){throw new Error(`Function \`${l}\` can only be called once`)}return i};o(onetime,t);a.set(onetime,u);return onetime};t.exports=onetime;t.exports["default"]=onetime;t.exports.callCount=t=>{if(!a.has(t)){throw new Error(`The given function \`${t.name}\` is not wrapped by the \`onetime\` package`)}return a.get(t)}},5549:(t,r,i)=>{"use strict";const o=Object.assign({},i(3300));const a=Object.keys(o);Object.defineProperty(o,"random",{get(){const t=Math.floor(Math.random()*a.length);const r=a[t];return o[r]}});t.exports=o},9545:(t,r,i)=>{var o=i(9491);var a=i(8666);var u=/^win/i.test(process.platform);var l=i(2361);if(typeof l!=="function"){l=l.EventEmitter}var h;if(process.__signal_exit_emitter__){h=process.__signal_exit_emitter__}else{h=process.__signal_exit_emitter__=new l;h.count=0;h.emitted={}}if(!h.infinite){h.setMaxListeners(Infinity);h.infinite=true}t.exports=function(t,r){o.equal(typeof t,"function","a callback must be provided for exit handler");if(d===false){load()}var i="exit";if(r&&r.alwaysLast){i="afterexit"}var remove=function(){h.removeListener(i,t);if(h.listeners("exit").length===0&&h.listeners("afterexit").length===0){unload()}};h.on(i,t);return remove};t.exports.unload=unload;function unload(){if(!d){return}d=false;a.forEach((function(t){try{process.removeListener(t,p[t])}catch(t){}}));process.emit=g;process.reallyExit=m;h.count-=1}function emit(t,r,i){if(h.emitted[t]){return}h.emitted[t]=true;h.emit(t,r,i)}var p={};a.forEach((function(t){p[t]=function listener(){var r=process.listeners(t);if(r.length===h.count){unload();emit("exit",null,t);emit("afterexit",null,t);if(u&&t==="SIGHUP"){t="SIGINT"}process.kill(process.pid,t)}}}));t.exports.signals=function(){return a};t.exports.load=load;var d=false;function load(){if(d){return}d=true;h.count+=1;a=a.filter((function(t){try{process.on(t,p[t]);return true}catch(t){return false}}));process.emit=processEmit;process.reallyExit=processReallyExit}var m=process.reallyExit;function processReallyExit(t){process.exitCode=t||0;emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);m.call(process,process.exitCode)}var g=process.emit;function processEmit(t,r){if(t==="exit"){if(r!==undefined){process.exitCode=r}var i=g.apply(this,arguments);emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);return i}else{return g.apply(this,arguments)}}},8666:t=>{t.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];if(process.platform!=="win32"){t.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT")}if(process.platform==="linux"){t.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")}},2170:t=>{"use strict";const pathKey=(t={})=>{const r=t.env||process.env;const i=t.platform||process.platform;if(i!=="win32"){return"PATH"}return Object.keys(r).reverse().find((t=>t.toUpperCase()==="PATH"))||"Path"};t.exports=pathKey;t.exports["default"]=pathKey},399:t=>{"use strict";class DatePart{constructor({token:t,date:r,parts:i,locales:o}){this.token=t;this.date=r||new Date;this.parts=i||[this];this.locales=o||{}}up(){}down(){}next(){const t=this.parts.indexOf(this);return this.parts.find(((r,i)=>i>t&&r instanceof DatePart))}setTo(t){}prev(){let t=[].concat(this.parts).reverse();const r=t.indexOf(this);return t.find(((t,i)=>i>r&&t instanceof DatePart))}toString(){return String(this.date)}}t.exports=DatePart},7967:(t,r,i)=>{"use strict";const o=i(399);const pos=t=>{t=t%10;return t===1?"st":t===2?"nd":t===3?"rd":"th"};class Day extends o{constructor(t={}){super(t)}up(){this.date.setDate(this.date.getDate()+1)}down(){this.date.setDate(this.date.getDate()-1)}setTo(t){this.date.setDate(parseInt(t.substr(-2)))}toString(){let t=this.date.getDate();let r=this.date.getDay();return this.token==="DD"?String(t).padStart(2,"0"):this.token==="Do"?t+pos(t):this.token==="d"?r+1:this.token==="ddd"?this.locales.weekdaysShort[r]:this.token==="dddd"?this.locales.weekdays[r]:t}}t.exports=Day},4102:(t,r,i)=>{"use strict";const o=i(399);class Hours extends o{constructor(t={}){super(t)}up(){this.date.setHours(this.date.getHours()+1)}down(){this.date.setHours(this.date.getHours()-1)}setTo(t){this.date.setHours(parseInt(t.substr(-2)))}toString(){let t=this.date.getHours();if(/h/.test(this.token))t=t%12||12;return this.token.length>1?String(t).padStart(2,"0"):t}}t.exports=Hours},7517:(t,r,i)=>{"use strict";t.exports={DatePart:i(399),Meridiem:i(4128),Day:i(7967),Hours:i(4102),Milliseconds:i(6945),Minutes:i(7829),Month:i(8608),Seconds:i(812),Year:i(5227)}},4128:(t,r,i)=>{"use strict";const o=i(399);class Meridiem extends o{constructor(t={}){super(t)}up(){this.date.setHours((this.date.getHours()+12)%24)}down(){this.up()}toString(){let t=this.date.getHours()>12?"pm":"am";return/\A/.test(this.token)?t.toUpperCase():t}}t.exports=Meridiem},6945:(t,r,i)=>{"use strict";const o=i(399);class Milliseconds extends o{constructor(t={}){super(t)}up(){this.date.setMilliseconds(this.date.getMilliseconds()+1)}down(){this.date.setMilliseconds(this.date.getMilliseconds()-1)}setTo(t){this.date.setMilliseconds(parseInt(t.substr(-this.token.length)))}toString(){return String(this.date.getMilliseconds()).padStart(4,"0").substr(0,this.token.length)}}t.exports=Milliseconds},7829:(t,r,i)=>{"use strict";const o=i(399);class Minutes extends o{constructor(t={}){super(t)}up(){this.date.setMinutes(this.date.getMinutes()+1)}down(){this.date.setMinutes(this.date.getMinutes()-1)}setTo(t){this.date.setMinutes(parseInt(t.substr(-2)))}toString(){let t=this.date.getMinutes();return this.token.length>1?String(t).padStart(2,"0"):t}}t.exports=Minutes},8608:(t,r,i)=>{"use strict";const o=i(399);class Month extends o{constructor(t={}){super(t)}up(){this.date.setMonth(this.date.getMonth()+1)}down(){this.date.setMonth(this.date.getMonth()-1)}setTo(t){t=parseInt(t.substr(-2))-1;this.date.setMonth(t<0?0:t)}toString(){let t=this.date.getMonth();let r=this.token.length;return r===2?String(t+1).padStart(2,"0"):r===3?this.locales.monthsShort[t]:r===4?this.locales.months[t]:String(t+1)}}t.exports=Month},812:(t,r,i)=>{"use strict";const o=i(399);class Seconds extends o{constructor(t={}){super(t)}up(){this.date.setSeconds(this.date.getSeconds()+1)}down(){this.date.setSeconds(this.date.getSeconds()-1)}setTo(t){this.date.setSeconds(parseInt(t.substr(-2)))}toString(){let t=this.date.getSeconds();return this.token.length>1?String(t).padStart(2,"0"):t}}t.exports=Seconds},5227:(t,r,i)=>{"use strict";const o=i(399);class Year extends o{constructor(t={}){super(t)}up(){this.date.setFullYear(this.date.getFullYear()+1)}down(){this.date.setFullYear(this.date.getFullYear()-1)}setTo(t){this.date.setFullYear(t.substr(-4))}toString(){let t=String(this.date.getFullYear()).padStart(4,"0");return this.token.length===2?t.substr(-2):t}}t.exports=Year},935:(t,r,i)=>{"use strict";function asyncGeneratorStep(t,r,i,o,a,u,l){try{var h=t[u](l);var p=h.value}catch(t){i(t);return}if(h.done){r(p)}else{Promise.resolve(p).then(o,a)}}function _asyncToGenerator(t){return function(){var r=this,i=arguments;return new Promise((function(o,a){var u=t.apply(r,i);function _next(t){asyncGeneratorStep(u,o,a,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(u,o,a,_next,_throw,"throw",t)}_next(undefined)}))}}const o=i(9439);const a=i(5876);const u=i(332),l=u.erase,h=u.cursor;const p=i(2800),d=p.style,m=p.clear,g=p.figures,y=p.wrap,v=p.entriesToDisplay;const getVal=(t,r)=>t[r]&&(t[r].value||t[r].title||t[r]);const getTitle=(t,r)=>t[r]&&(t[r].title||t[r].value||t[r]);const getIndex=(t,r)=>{const i=t.findIndex((t=>t.value===r||t.title===r));return i>-1?i:undefined};class AutocompletePrompt extends a{constructor(t={}){super(t);this.msg=t.message;this.suggest=t.suggest;this.choices=t.choices;this.initial=typeof t.initial==="number"?t.initial:getIndex(t.choices,t.initial);this.select=this.initial||t.cursor||0;this.i18n={noMatches:t.noMatches||"no matches found"};this.fallback=t.fallback||this.initial;this.clearFirst=t.clearFirst||false;this.suggestions=[];this.input="";this.limit=t.limit||10;this.cursor=0;this.transform=d.render(t.style);this.scale=this.transform.scale;this.render=this.render.bind(this);this.complete=this.complete.bind(this);this.clear=m("",this.out.columns);this.complete(this.render);this.render()}set fallback(t){this._fb=Number.isSafeInteger(parseInt(t))?parseInt(t):t}get fallback(){let t;if(typeof this._fb==="number")t=this.choices[this._fb];else if(typeof this._fb==="string")t={title:this._fb};return t||this._fb||{title:this.i18n.noMatches}}moveSelect(t){this.select=t;if(this.suggestions.length>0)this.value=getVal(this.suggestions,t);else this.value=this.fallback.value;this.fire()}complete(t){var r=this;return _asyncToGenerator((function*(){const i=r.completing=r.suggest(r.input,r.choices);const o=yield i;if(r.completing!==i)return;r.suggestions=o.map(((t,r,i)=>({title:getTitle(i,r),value:getVal(i,r),description:t.description})));r.completing=false;const a=Math.max(o.length-1,0);r.moveSelect(Math.min(a,r.select));t&&t()}))()}reset(){this.input="";this.complete((()=>{this.moveSelect(this.initial!==void 0?this.initial:0);this.render()}));this.render()}exit(){if(this.clearFirst&&this.input.length>0){this.reset()}else{this.done=this.exited=true;this.aborted=false;this.fire();this.render();this.out.write("\n");this.close()}}abort(){this.done=this.aborted=true;this.exited=false;this.fire();this.render();this.out.write("\n");this.close()}submit(){this.done=true;this.aborted=this.exited=false;this.fire();this.render();this.out.write("\n");this.close()}_(t,r){let i=this.input.slice(0,this.cursor);let o=this.input.slice(this.cursor);this.input=`${i}${t}${o}`;this.cursor=i.length+1;this.complete(this.render);this.render()}delete(){if(this.cursor===0)return this.bell();let t=this.input.slice(0,this.cursor-1);let r=this.input.slice(this.cursor);this.input=`${t}${r}`;this.complete(this.render);this.cursor=this.cursor-1;this.render()}deleteForward(){if(this.cursor*this.scale>=this.rendered.length)return this.bell();let t=this.input.slice(0,this.cursor);let r=this.input.slice(this.cursor+1);this.input=`${t}${r}`;this.complete(this.render);this.render()}first(){this.moveSelect(0);this.render()}last(){this.moveSelect(this.suggestions.length-1);this.render()}up(){if(this.select===0){this.moveSelect(this.suggestions.length-1)}else{this.moveSelect(this.select-1)}this.render()}down(){if(this.select===this.suggestions.length-1){this.moveSelect(0)}else{this.moveSelect(this.select+1)}this.render()}next(){if(this.select===this.suggestions.length-1){this.moveSelect(0)}else this.moveSelect(this.select+1);this.render()}nextPage(){this.moveSelect(Math.min(this.select+this.limit,this.suggestions.length-1));this.render()}prevPage(){this.moveSelect(Math.max(this.select-this.limit,0));this.render()}left(){if(this.cursor<=0)return this.bell();this.cursor=this.cursor-1;this.render()}right(){if(this.cursor*this.scale>=this.rendered.length)return this.bell();this.cursor=this.cursor+1;this.render()}renderOption(t,r,i,a){let u;let l=i?g.arrowUp:a?g.arrowDown:" ";let h=r?o.cyan().underline(t.title):t.title;l=(r?o.cyan(g.pointer)+" ":" ")+l;if(t.description){u=` - ${t.description}`;if(l.length+h.length+u.length>=this.out.columns||t.description.split(/\r?\n/).length>1){u="\n"+y(t.description,{margin:3,width:this.out.columns})}}return l+" "+h+o.gray(u||"")}render(){if(this.closed)return;if(this.firstRender)this.out.write(h.hide);else this.out.write(m(this.outputText,this.out.columns));super.render();let t=v(this.select,this.choices.length,this.limit),r=t.startIndex,i=t.endIndex;this.outputText=[d.symbol(this.done,this.aborted,this.exited),o.bold(this.msg),d.delimiter(this.completing),this.done&&this.suggestions[this.select]?this.suggestions[this.select].title:this.rendered=this.transform.render(this.input)].join(" ");if(!this.done){const t=this.suggestions.slice(r,i).map(((t,o)=>this.renderOption(t,this.select===o+r,o===0&&r>0,o+r===i-1&&i<this.choices.length))).join("\n");this.outputText+=`\n`+(t||o.gray(this.fallback.title))}this.out.write(l.line+h.to(0)+this.outputText)}}t.exports=AutocompletePrompt},2040:(t,r,i)=>{"use strict";const o=i(9439);const a=i(332),u=a.cursor;const l=i(4047);const h=i(2800),p=h.clear,d=h.style,m=h.figures;class AutocompleteMultiselectPrompt extends l{constructor(t={}){t.overrideRender=true;super(t);this.inputValue="";this.clear=p("",this.out.columns);this.filteredOptions=this.value;this.render()}last(){this.cursor=this.filteredOptions.length-1;this.render()}next(){this.cursor=(this.cursor+1)%this.filteredOptions.length;this.render()}up(){if(this.cursor===0){this.cursor=this.filteredOptions.length-1}else{this.cursor--}this.render()}down(){if(this.cursor===this.filteredOptions.length-1){this.cursor=0}else{this.cursor++}this.render()}left(){this.filteredOptions[this.cursor].selected=false;this.render()}right(){if(this.value.filter((t=>t.selected)).length>=this.maxChoices)return this.bell();this.filteredOptions[this.cursor].selected=true;this.render()}delete(){if(this.inputValue.length){this.inputValue=this.inputValue.substr(0,this.inputValue.length-1);this.updateFilteredOptions()}}updateFilteredOptions(){const t=this.filteredOptions[this.cursor];this.filteredOptions=this.value.filter((t=>{if(this.inputValue){if(typeof t.title==="string"){if(t.title.toLowerCase().includes(this.inputValue.toLowerCase())){return true}}if(typeof t.value==="string"){if(t.value.toLowerCase().includes(this.inputValue.toLowerCase())){return true}}return false}return true}));const r=this.filteredOptions.findIndex((r=>r===t));this.cursor=r<0?0:r;this.render()}handleSpaceToggle(){const t=this.filteredOptions[this.cursor];if(t.selected){t.selected=false;this.render()}else if(t.disabled||this.value.filter((t=>t.selected)).length>=this.maxChoices){return this.bell()}else{t.selected=true;this.render()}}handleInputChange(t){this.inputValue=this.inputValue+t;this.updateFilteredOptions()}_(t,r){if(t===" "){this.handleSpaceToggle()}else{this.handleInputChange(t)}}renderInstructions(){if(this.instructions===undefined||this.instructions){if(typeof this.instructions==="string"){return this.instructions}return`\nInstructions:\n ${m.arrowUp}/${m.arrowDown}: Highlight option\n ${m.arrowLeft}/${m.arrowRight}/[space]: Toggle selection\n [a,b,c]/delete: Filter choices\n enter/return: Complete answer\n`}return""}renderCurrentInput(){return`\nFiltered results for: ${this.inputValue?this.inputValue:o.gray("Enter something to filter")}\n`}renderOption(t,r,i){let a;if(r.disabled)a=t===i?o.gray().underline(r.title):o.strikethrough().gray(r.title);else a=t===i?o.cyan().underline(r.title):r.title;return(r.selected?o.green(m.radioOn):m.radioOff)+" "+a}renderDoneOrInstructions(){if(this.done){return this.value.filter((t=>t.selected)).map((t=>t.title)).join(", ")}const t=[o.gray(this.hint),this.renderInstructions(),this.renderCurrentInput()];if(this.filteredOptions.length&&this.filteredOptions[this.cursor].disabled){t.push(o.yellow(this.warn))}return t.join(" ")}render(){if(this.closed)return;if(this.firstRender)this.out.write(u.hide);super.render();let t=[d.symbol(this.done,this.aborted),o.bold(this.msg),d.delimiter(false),this.renderDoneOrInstructions()].join(" ");if(this.showMinError){t+=o.red(`You must select a minimum of ${this.minSelected} choices.`);this.showMinError=false}t+=this.renderOptions(this.filteredOptions);this.out.write(this.clear+t);this.clear=p(t,this.out.columns)}}t.exports=AutocompleteMultiselectPrompt},5680:(t,r,i)=>{"use strict";const o=i(9439);const a=i(5876);const u=i(2800),l=u.style,h=u.clear;const p=i(332),d=p.erase,m=p.cursor;class ConfirmPrompt extends a{constructor(t={}){super(t);this.msg=t.message;this.value=t.initial;this.initialValue=!!t.initial;this.yesMsg=t.yes||"yes";this.yesOption=t.yesOption||"(Y/n)";this.noMsg=t.no||"no";this.noOption=t.noOption||"(y/N)";this.render()}reset(){this.value=this.initialValue;this.fire();this.render()}exit(){this.abort()}abort(){this.done=this.aborted=true;this.fire();this.render();this.out.write("\n");this.close()}submit(){this.value=this.value||false;this.done=true;this.aborted=false;this.fire();this.render();this.out.write("\n");this.close()}_(t,r){if(t.toLowerCase()==="y"){this.value=true;return this.submit()}if(t.toLowerCase()==="n"){this.value=false;return this.submit()}return this.bell()}render(){if(this.closed)return;if(this.firstRender)this.out.write(m.hide);else this.out.write(h(this.outputText,this.out.columns));super.render();this.outputText=[l.symbol(this.done,this.aborted),o.bold(this.msg),l.delimiter(this.done),this.done?this.value?this.yesMsg:this.noMsg:o.gray(this.initialValue?this.yesOption:this.noOption)].join(" ");this.out.write(d.line+m.to(0)+this.outputText)}}t.exports=ConfirmPrompt},3031:(t,r,i)=>{"use strict";function asyncGeneratorStep(t,r,i,o,a,u,l){try{var h=t[u](l);var p=h.value}catch(t){i(t);return}if(h.done){r(p)}else{Promise.resolve(p).then(o,a)}}function _asyncToGenerator(t){return function(){var r=this,i=arguments;return new Promise((function(o,a){var u=t.apply(r,i);function _next(t){asyncGeneratorStep(u,o,a,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(u,o,a,_next,_throw,"throw",t)}_next(undefined)}))}}const o=i(9439);const a=i(5876);const u=i(2800),l=u.style,h=u.clear,p=u.figures;const d=i(332),m=d.erase,g=d.cursor;const y=i(7517),v=y.DatePart,A=y.Meridiem,b=y.Day,w=y.Hours,E=y.Milliseconds,S=y.Minutes,_=y.Month,D=y.Seconds,C=y.Year;const x=/\\(.)|"((?:\\["\\]|[^"])+)"|(D[Do]?|d{3,4}|d)|(M{1,4})|(YY(?:YY)?)|([aA])|([Hh]{1,2})|(m{1,2})|(s{1,2})|(S{1,4})|./g;const O={1:({token:t})=>t.replace(/\\(.)/g,"$1"),2:t=>new b(t),3:t=>new _(t),4:t=>new C(t),5:t=>new A(t),6:t=>new w(t),7:t=>new S(t),8:t=>new D(t),9:t=>new E(t)};const R={months:"January,February,March,April,May,June,July,August,September,October,November,December".split(","),monthsShort:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(","),weekdays:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday".split(","),weekdaysShort:"Sun,Mon,Tue,Wed,Thu,Fri,Sat".split(",")};class DatePrompt extends a{constructor(t={}){super(t);this.msg=t.message;this.cursor=0;this.typed="";this.locales=Object.assign(R,t.locales);this._date=t.initial||new Date;this.errorMsg=t.error||"Please Enter A Valid Value";this.validator=t.validate||(()=>true);this.mask=t.mask||"YYYY-MM-DD HH:mm:ss";this.clear=h("",this.out.columns);this.render()}get value(){return this.date}get date(){return this._date}set date(t){if(t)this._date.setTime(t.getTime())}set mask(t){let r;this.parts=[];while(r=x.exec(t)){let t=r.shift();let i=r.findIndex((t=>t!=null));this.parts.push(i in O?O[i]({token:r[i]||t,date:this.date,parts:this.parts,locales:this.locales}):r[i]||t)}let i=this.parts.reduce(((t,r)=>{if(typeof r==="string"&&typeof t[t.length-1]==="string")t[t.length-1]+=r;else t.push(r);return t}),[]);this.parts.splice(0);this.parts.push(...i);this.reset()}moveCursor(t){this.typed="";this.cursor=t;this.fire()}reset(){this.moveCursor(this.parts.findIndex((t=>t instanceof v)));this.fire();this.render()}exit(){this.abort()}abort(){this.done=this.aborted=true;this.error=false;this.fire();this.render();this.out.write("\n");this.close()}validate(){var t=this;return _asyncToGenerator((function*(){let r=yield t.validator(t.value);if(typeof r==="string"){t.errorMsg=r;r=false}t.error=!r}))()}submit(){var t=this;return _asyncToGenerator((function*(){yield t.validate();if(t.error){t.color="red";t.fire();t.render();return}t.done=true;t.aborted=false;t.fire();t.render();t.out.write("\n");t.close()}))()}up(){this.typed="";this.parts[this.cursor].up();this.render()}down(){this.typed="";this.parts[this.cursor].down();this.render()}left(){let t=this.parts[this.cursor].prev();if(t==null)return this.bell();this.moveCursor(this.parts.indexOf(t));this.render()}right(){let t=this.parts[this.cursor].next();if(t==null)return this.bell();this.moveCursor(this.parts.indexOf(t));this.render()}next(){let t=this.parts[this.cursor].next();this.moveCursor(t?this.parts.indexOf(t):this.parts.findIndex((t=>t instanceof v)));this.render()}_(t){if(/\d/.test(t)){this.typed+=t;this.parts[this.cursor].setTo(this.typed);this.render()}}render(){if(this.closed)return;if(this.firstRender)this.out.write(g.hide);else this.out.write(h(this.outputText,this.out.columns));super.render();this.outputText=[l.symbol(this.done,this.aborted),o.bold(this.msg),l.delimiter(false),this.parts.reduce(((t,r,i)=>t.concat(i===this.cursor&&!this.done?o.cyan().underline(r.toString()):r)),[]).join("")].join(" ");if(this.error){this.outputText+=this.errorMsg.split("\n").reduce(((t,r,i)=>t+`\n${i?` `:p.pointerSmall} ${o.red().italic(r)}`),``)}this.out.write(m.line+g.to(0)+this.outputText)}}t.exports=DatePrompt},9956:(t,r,i)=>{"use strict";t.exports={TextPrompt:i(5430),SelectPrompt:i(8856),TogglePrompt:i(9692),DatePrompt:i(3031),NumberPrompt:i(8831),MultiselectPrompt:i(4047),AutocompletePrompt:i(935),AutocompleteMultiselectPrompt:i(2040),ConfirmPrompt:i(5680)}},4047:(t,r,i)=>{"use strict";const o=i(9439);const a=i(332),u=a.cursor;const l=i(5876);const h=i(2800),p=h.clear,d=h.figures,m=h.style,g=h.wrap,y=h.entriesToDisplay;class MultiselectPrompt extends l{constructor(t={}){super(t);this.msg=t.message;this.cursor=t.cursor||0;this.scrollIndex=t.cursor||0;this.hint=t.hint||"";this.warn=t.warn||"- This option is disabled -";this.minSelected=t.min;this.showMinError=false;this.maxChoices=t.max;this.instructions=t.instructions;this.optionsPerPage=t.optionsPerPage||10;this.value=t.choices.map(((t,r)=>{if(typeof t==="string")t={title:t,value:r};return{title:t&&(t.title||t.value||t),description:t&&t.description,value:t&&(t.value===undefined?r:t.value),selected:t&&t.selected,disabled:t&&t.disabled}}));this.clear=p("",this.out.columns);if(!t.overrideRender){this.render()}}reset(){this.value.map((t=>!t.selected));this.cursor=0;this.fire();this.render()}selected(){return this.value.filter((t=>t.selected))}exit(){this.abort()}abort(){this.done=this.aborted=true;this.fire();this.render();this.out.write("\n");this.close()}submit(){const t=this.value.filter((t=>t.selected));if(this.minSelected&&t.length<this.minSelected){this.showMinError=true;this.render()}else{this.done=true;this.aborted=false;this.fire();this.render();this.out.write("\n");this.close()}}first(){this.cursor=0;this.render()}last(){this.cursor=this.value.length-1;this.render()}next(){this.cursor=(this.cursor+1)%this.value.length;this.render()}up(){if(this.cursor===0){this.cursor=this.value.length-1}else{this.cursor--}this.render()}down(){if(this.cursor===this.value.length-1){this.cursor=0}else{this.cursor++}this.render()}left(){this.value[this.cursor].selected=false;this.render()}right(){if(this.value.filter((t=>t.selected)).length>=this.maxChoices)return this.bell();this.value[this.cursor].selected=true;this.render()}handleSpaceToggle(){const t=this.value[this.cursor];if(t.selected){t.selected=false;this.render()}else if(t.disabled||this.value.filter((t=>t.selected)).length>=this.maxChoices){return this.bell()}else{t.selected=true;this.render()}}toggleAll(){if(this.maxChoices!==undefined||this.value[this.cursor].disabled){return this.bell()}const t=!this.value[this.cursor].selected;this.value.filter((t=>!t.disabled)).forEach((r=>r.selected=t));this.render()}_(t,r){if(t===" "){this.handleSpaceToggle()}else if(t==="a"){this.toggleAll()}else{return this.bell()}}renderInstructions(){if(this.instructions===undefined||this.instructions){if(typeof this.instructions==="string"){return this.instructions}return"\nInstructions:\n"+` ${d.arrowUp}/${d.arrowDown}: Highlight option\n`+` ${d.arrowLeft}/${d.arrowRight}/[space]: Toggle selection\n`+(this.maxChoices===undefined?` a: Toggle all\n`:"")+` enter/return: Complete answer`}return""}renderOption(t,r,i,a){const u=(r.selected?o.green(d.radioOn):d.radioOff)+" "+a+" ";let l,h;if(r.disabled){l=t===i?o.gray().underline(r.title):o.strikethrough().gray(r.title)}else{l=t===i?o.cyan().underline(r.title):r.title;if(t===i&&r.description){h=` - ${r.description}`;if(u.length+l.length+h.length>=this.out.columns||r.description.split(/\r?\n/).length>1){h="\n"+g(r.description,{margin:u.length,width:this.out.columns})}}}return u+l+o.gray(h||"")}paginateOptions(t){if(t.length===0){return o.red("No matches for this query.")}let r=y(this.cursor,t.length,this.optionsPerPage),i=r.startIndex,a=r.endIndex;let u,l=[];for(let r=i;r<a;r++){if(r===i&&i>0){u=d.arrowUp}else if(r===a-1&&a<t.length){u=d.arrowDown}else{u=" "}l.push(this.renderOption(this.cursor,t[r],r,u))}return"\n"+l.join("\n")}renderOptions(t){if(!this.done){return this.paginateOptions(t)}return""}renderDoneOrInstructions(){if(this.done){return this.value.filter((t=>t.selected)).map((t=>t.title)).join(", ")}const t=[o.gray(this.hint),this.renderInstructions()];if(this.value[this.cursor].disabled){t.push(o.yellow(this.warn))}return t.join(" ")}render(){if(this.closed)return;if(this.firstRender)this.out.write(u.hide);super.render();let t=[m.symbol(this.done,this.aborted),o.bold(this.msg),m.delimiter(false),this.renderDoneOrInstructions()].join(" ");if(this.showMinError){t+=o.red(`You must select a minimum of ${this.minSelected} choices.`);this.showMinError=false}t+=this.renderOptions(this.value);this.out.write(this.clear+t);this.clear=p(t,this.out.columns)}}t.exports=MultiselectPrompt},8831:(t,r,i)=>{"use strict";function asyncGeneratorStep(t,r,i,o,a,u,l){try{var h=t[u](l);var p=h.value}catch(t){i(t);return}if(h.done){r(p)}else{Promise.resolve(p).then(o,a)}}function _asyncToGenerator(t){return function(){var r=this,i=arguments;return new Promise((function(o,a){var u=t.apply(r,i);function _next(t){asyncGeneratorStep(u,o,a,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(u,o,a,_next,_throw,"throw",t)}_next(undefined)}))}}const o=i(9439);const a=i(5876);const u=i(332),l=u.cursor,h=u.erase;const p=i(2800),d=p.style,m=p.figures,g=p.clear,y=p.lines;const v=/[0-9]/;const isDef=t=>t!==undefined;const round=(t,r)=>{let i=Math.pow(10,r);return Math.round(t*i)/i};class NumberPrompt extends a{constructor(t={}){super(t);this.transform=d.render(t.style);this.msg=t.message;this.initial=isDef(t.initial)?t.initial:"";this.float=!!t.float;this.round=t.round||2;this.inc=t.increment||1;this.min=isDef(t.min)?t.min:-Infinity;this.max=isDef(t.max)?t.max:Infinity;this.errorMsg=t.error||`Please Enter A Valid Value`;this.validator=t.validate||(()=>true);this.color=`cyan`;this.value=``;this.typed=``;this.lastHit=0;this.render()}set value(t){if(!t&&t!==0){this.placeholder=true;this.rendered=o.gray(this.transform.render(`${this.initial}`));this._value=``}else{this.placeholder=false;this.rendered=this.transform.render(`${round(t,this.round)}`);this._value=round(t,this.round)}this.fire()}get value(){return this._value}parse(t){return this.float?parseFloat(t):parseInt(t)}valid(t){return t===`-`||t===`.`&&this.float||v.test(t)}reset(){this.typed=``;this.value=``;this.fire();this.render()}exit(){this.abort()}abort(){let t=this.value;this.value=t!==``?t:this.initial;this.done=this.aborted=true;this.error=false;this.fire();this.render();this.out.write(`\n`);this.close()}validate(){var t=this;return _asyncToGenerator((function*(){let r=yield t.validator(t.value);if(typeof r===`string`){t.errorMsg=r;r=false}t.error=!r}))()}submit(){var t=this;return _asyncToGenerator((function*(){yield t.validate();if(t.error){t.color=`red`;t.fire();t.render();return}let r=t.value;t.value=r!==``?r:t.initial;t.done=true;t.aborted=false;t.error=false;t.fire();t.render();t.out.write(`\n`);t.close()}))()}up(){this.typed=``;if(this.value===""){this.value=this.min-this.inc}if(this.value>=this.max)return this.bell();this.value+=this.inc;this.color=`cyan`;this.fire();this.render()}down(){this.typed=``;if(this.value===""){this.value=this.min+this.inc}if(this.value<=this.min)return this.bell();this.value-=this.inc;this.color=`cyan`;this.fire();this.render()}delete(){let t=this.value.toString();if(t.length===0)return this.bell();this.value=this.parse(t=t.slice(0,-1))||``;if(this.value!==""&&this.value<this.min){this.value=this.min}this.color=`cyan`;this.fire();this.render()}next(){this.value=this.initial;this.fire();this.render()}_(t,r){if(!this.valid(t))return this.bell();const i=Date.now();if(i-this.lastHit>1e3)this.typed=``;this.typed+=t;this.lastHit=i;this.color=`cyan`;if(t===`.`)return this.fire();this.value=Math.min(this.parse(this.typed),this.max);if(this.value>this.max)this.value=this.max;if(this.value<this.min)this.value=this.min;this.fire();this.render()}render(){if(this.closed)return;if(!this.firstRender){if(this.outputError)this.out.write(l.down(y(this.outputError,this.out.columns)-1)+g(this.outputError,this.out.columns));this.out.write(g(this.outputText,this.out.columns))}super.render();this.outputError="";this.outputText=[d.symbol(this.done,this.aborted),o.bold(this.msg),d.delimiter(this.done),!this.done||!this.done&&!this.placeholder?o[this.color]().underline(this.rendered):this.rendered].join(` `);if(this.error){this.outputError+=this.errorMsg.split(`\n`).reduce(((t,r,i)=>t+`\n${i?` `:m.pointerSmall} ${o.red().italic(r)}`),``)}this.out.write(h.line+l.to(0)+this.outputText+l.save+this.outputError+l.restore)}}t.exports=NumberPrompt},5876:(t,r,i)=>{"use strict";const o=i(4521);const a=i(2800),u=a.action;const l=i(2361);const h=i(332),p=h.beep,d=h.cursor;const m=i(9439);class Prompt extends l{constructor(t={}){super();this.firstRender=true;this.in=t.stdin||process.stdin;this.out=t.stdout||process.stdout;this.onRender=(t.onRender||(()=>void 0)).bind(this);const r=o.createInterface({input:this.in,escapeCodeTimeout:50});o.emitKeypressEvents(this.in,r);if(this.in.isTTY)this.in.setRawMode(true);const i=["SelectPrompt","MultiselectPrompt"].indexOf(this.constructor.name)>-1;const keypress=(t,r)=>{let o=u(r,i);if(o===false){this._&&this._(t,r)}else if(typeof this[o]==="function"){this[o](r)}else{this.bell()}};this.close=()=>{this.out.write(d.show);this.in.removeListener("keypress",keypress);if(this.in.isTTY)this.in.setRawMode(false);r.close();this.emit(this.aborted?"abort":this.exited?"exit":"submit",this.value);this.closed=true};this.in.on("keypress",keypress)}fire(){this.emit("state",{value:this.value,aborted:!!this.aborted,exited:!!this.exited})}bell(){this.out.write(p)}render(){this.onRender(m);if(this.firstRender)this.firstRender=false}}t.exports=Prompt},8856:(t,r,i)=>{"use strict";const o=i(9439);const a=i(5876);const u=i(2800),l=u.style,h=u.clear,p=u.figures,d=u.wrap,m=u.entriesToDisplay;const g=i(332),y=g.cursor;class SelectPrompt extends a{constructor(t={}){super(t);this.msg=t.message;this.hint=t.hint||"- Use arrow-keys. Return to submit.";this.warn=t.warn||"- This option is disabled";this.cursor=t.initial||0;this.choices=t.choices.map(((t,r)=>{if(typeof t==="string")t={title:t,value:r};return{title:t&&(t.title||t.value||t),value:t&&(t.value===undefined?r:t.value),description:t&&t.description,selected:t&&t.selected,disabled:t&&t.disabled}}));this.optionsPerPage=t.optionsPerPage||10;this.value=(this.choices[this.cursor]||{}).value;this.clear=h("",this.out.columns);this.render()}moveCursor(t){this.cursor=t;this.value=this.choices[t].value;this.fire()}reset(){this.moveCursor(0);this.fire();this.render()}exit(){this.abort()}abort(){this.done=this.aborted=true;this.fire();this.render();this.out.write("\n");this.close()}submit(){if(!this.selection.disabled){this.done=true;this.aborted=false;this.fire();this.render();this.out.write("\n");this.close()}else this.bell()}first(){this.moveCursor(0);this.render()}last(){this.moveCursor(this.choices.length-1);this.render()}up(){if(this.cursor===0){this.moveCursor(this.choices.length-1)}else{this.moveCursor(this.cursor-1)}this.render()}down(){if(this.cursor===this.choices.length-1){this.moveCursor(0)}else{this.moveCursor(this.cursor+1)}this.render()}next(){this.moveCursor((this.cursor+1)%this.choices.length);this.render()}_(t,r){if(t===" ")return this.submit()}get selection(){return this.choices[this.cursor]}render(){if(this.closed)return;if(this.firstRender)this.out.write(y.hide);else this.out.write(h(this.outputText,this.out.columns));super.render();let t=m(this.cursor,this.choices.length,this.optionsPerPage),r=t.startIndex,i=t.endIndex;this.outputText=[l.symbol(this.done,this.aborted),o.bold(this.msg),l.delimiter(false),this.done?this.selection.title:this.selection.disabled?o.yellow(this.warn):o.gray(this.hint)].join(" ");if(!this.done){this.outputText+="\n";for(let t=r;t<i;t++){let a,u,l="",h=this.choices[t];if(t===r&&r>0){u=p.arrowUp}else if(t===i-1&&i<this.choices.length){u=p.arrowDown}else{u=" "}if(h.disabled){a=this.cursor===t?o.gray().underline(h.title):o.strikethrough().gray(h.title);u=(this.cursor===t?o.bold().gray(p.pointer)+" ":" ")+u}else{a=this.cursor===t?o.cyan().underline(h.title):h.title;u=(this.cursor===t?o.cyan(p.pointer)+" ":" ")+u;if(h.description&&this.cursor===t){l=` - ${h.description}`;if(u.length+a.length+l.length>=this.out.columns||h.description.split(/\r?\n/).length>1){l="\n"+d(h.description,{margin:3,width:this.out.columns})}}}this.outputText+=`${u} ${a}${o.gray(l)}\n`}}this.out.write(this.outputText)}}t.exports=SelectPrompt},5430:(t,r,i)=>{"use strict";function asyncGeneratorStep(t,r,i,o,a,u,l){try{var h=t[u](l);var p=h.value}catch(t){i(t);return}if(h.done){r(p)}else{Promise.resolve(p).then(o,a)}}function _asyncToGenerator(t){return function(){var r=this,i=arguments;return new Promise((function(o,a){var u=t.apply(r,i);function _next(t){asyncGeneratorStep(u,o,a,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(u,o,a,_next,_throw,"throw",t)}_next(undefined)}))}}const o=i(9439);const a=i(5876);const u=i(332),l=u.erase,h=u.cursor;const p=i(2800),d=p.style,m=p.clear,g=p.lines,y=p.figures;class TextPrompt extends a{constructor(t={}){super(t);this.transform=d.render(t.style);this.scale=this.transform.scale;this.msg=t.message;this.initial=t.initial||``;this.validator=t.validate||(()=>true);this.value=``;this.errorMsg=t.error||`Please Enter A Valid Value`;this.cursor=Number(!!this.initial);this.cursorOffset=0;this.clear=m(``,this.out.columns);this.render()}set value(t){if(!t&&this.initial){this.placeholder=true;this.rendered=o.gray(this.transform.render(this.initial))}else{this.placeholder=false;this.rendered=this.transform.render(t)}this._value=t;this.fire()}get value(){return this._value}reset(){this.value=``;this.cursor=Number(!!this.initial);this.cursorOffset=0;this.fire();this.render()}exit(){this.abort()}abort(){this.value=this.value||this.initial;this.done=this.aborted=true;this.error=false;this.red=false;this.fire();this.render();this.out.write("\n");this.close()}validate(){var t=this;return _asyncToGenerator((function*(){let r=yield t.validator(t.value);if(typeof r===`string`){t.errorMsg=r;r=false}t.error=!r}))()}submit(){var t=this;return _asyncToGenerator((function*(){t.value=t.value||t.initial;t.cursorOffset=0;t.cursor=t.rendered.length;yield t.validate();if(t.error){t.red=true;t.fire();t.render();return}t.done=true;t.aborted=false;t.fire();t.render();t.out.write("\n");t.close()}))()}next(){if(!this.placeholder)return this.bell();this.value=this.initial;this.cursor=this.rendered.length;this.fire();this.render()}moveCursor(t){if(this.placeholder)return;this.cursor=this.cursor+t;this.cursorOffset+=t}_(t,r){let i=this.value.slice(0,this.cursor);let o=this.value.slice(this.cursor);this.value=`${i}${t}${o}`;this.red=false;this.cursor=this.placeholder?0:i.length+1;this.render()}delete(){if(this.isCursorAtStart())return this.bell();let t=this.value.slice(0,this.cursor-1);let r=this.value.slice(this.cursor);this.value=`${t}${r}`;this.red=false;if(this.isCursorAtStart()){this.cursorOffset=0}else{this.cursorOffset++;this.moveCursor(-1)}this.render()}deleteForward(){if(this.cursor*this.scale>=this.rendered.length||this.placeholder)return this.bell();let t=this.value.slice(0,this.cursor);let r=this.value.slice(this.cursor+1);this.value=`${t}${r}`;this.red=false;if(this.isCursorAtEnd()){this.cursorOffset=0}else{this.cursorOffset++}this.render()}first(){this.cursor=0;this.render()}last(){this.cursor=this.value.length;this.render()}left(){if(this.cursor<=0||this.placeholder)return this.bell();this.moveCursor(-1);this.render()}right(){if(this.cursor*this.scale>=this.rendered.length||this.placeholder)return this.bell();this.moveCursor(1);this.render()}isCursorAtStart(){return this.cursor===0||this.placeholder&&this.cursor===1}isCursorAtEnd(){return this.cursor===this.rendered.length||this.placeholder&&this.cursor===this.rendered.length+1}render(){if(this.closed)return;if(!this.firstRender){if(this.outputError)this.out.write(h.down(g(this.outputError,this.out.columns)-1)+m(this.outputError,this.out.columns));this.out.write(m(this.outputText,this.out.columns))}super.render();this.outputError="";this.outputText=[d.symbol(this.done,this.aborted),o.bold(this.msg),d.delimiter(this.done),this.red?o.red(this.rendered):this.rendered].join(` `);if(this.error){this.outputError+=this.errorMsg.split(`\n`).reduce(((t,r,i)=>t+`\n${i?" ":y.pointerSmall} ${o.red().italic(r)}`),``)}this.out.write(l.line+h.to(0)+this.outputText+h.save+this.outputError+h.restore+h.move(this.cursorOffset,0))}}t.exports=TextPrompt},9692:(t,r,i)=>{"use strict";const o=i(9439);const a=i(5876);const u=i(2800),l=u.style,h=u.clear;const p=i(332),d=p.cursor,m=p.erase;class TogglePrompt extends a{constructor(t={}){super(t);this.msg=t.message;this.value=!!t.initial;this.active=t.active||"on";this.inactive=t.inactive||"off";this.initialValue=this.value;this.render()}reset(){this.value=this.initialValue;this.fire();this.render()}exit(){this.abort()}abort(){this.done=this.aborted=true;this.fire();this.render();this.out.write("\n");this.close()}submit(){this.done=true;this.aborted=false;this.fire();this.render();this.out.write("\n");this.close()}deactivate(){if(this.value===false)return this.bell();this.value=false;this.render()}activate(){if(this.value===true)return this.bell();this.value=true;this.render()}delete(){this.deactivate()}left(){this.deactivate()}right(){this.activate()}down(){this.deactivate()}up(){this.activate()}next(){this.value=!this.value;this.fire();this.render()}_(t,r){if(t===" "){this.value=!this.value}else if(t==="1"){this.value=true}else if(t==="0"){this.value=false}else return this.bell();this.render()}render(){if(this.closed)return;if(this.firstRender)this.out.write(d.hide);else this.out.write(h(this.outputText,this.out.columns));super.render();this.outputText=[l.symbol(this.done,this.aborted),o.bold(this.msg),l.delimiter(this.done),this.value?this.inactive:o.cyan().underline(this.inactive),o.gray("/"),this.value?o.cyan().underline(this.active):this.active].join(" ");this.out.write(m.line+d.to(0)+this.outputText)}}t.exports=TogglePrompt},6598:(t,r,i)=>{"use strict";function ownKeys(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);if(r){o=o.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))}i.push.apply(i,o)}return i}function _objectSpread(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};if(r%2){ownKeys(Object(i),true).forEach((function(r){_defineProperty(t,r,i[r])}))}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(t,Object.getOwnPropertyDescriptors(i))}else{ownKeys(Object(i)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))}))}}return t}function _defineProperty(t,r,i){if(r in t){Object.defineProperty(t,r,{value:i,enumerable:true,configurable:true,writable:true})}else{t[r]=i}return t}function _createForOfIteratorHelper(t,r){var i=typeof Symbol!=="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=_unsupportedIterableToArray(t))||r&&t&&typeof t.length==="number"){if(i)t=i;var o=0;var a=function F(){};return{s:a,n:function n(){if(o>=t.length)return{done:true};return{done:false,value:t[o++]}},e:function e(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u=true,l=false,h;return{s:function s(){i=i.call(t)},n:function n(){var t=i.next();u=t.done;return t},e:function e(t){l=true;h=t},f:function f(){try{if(!u&&i.return!=null)i.return()}finally{if(l)throw h}}}}function _unsupportedIterableToArray(t,r){if(!t)return;if(typeof t==="string")return _arrayLikeToArray(t,r);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor)i=t.constructor.name;if(i==="Map"||i==="Set")return Array.from(t);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return _arrayLikeToArray(t,r)}function _arrayLikeToArray(t,r){if(r==null||r>t.length)r=t.length;for(var i=0,o=new Array(r);i<r;i++)o[i]=t[i];return o}function asyncGeneratorStep(t,r,i,o,a,u,l){try{var h=t[u](l);var p=h.value}catch(t){i(t);return}if(h.done){r(p)}else{Promise.resolve(p).then(o,a)}}function _asyncToGenerator(t){return function(){var r=this,i=arguments;return new Promise((function(o,a){var u=t.apply(r,i);function _next(t){asyncGeneratorStep(u,o,a,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(u,o,a,_next,_throw,"throw",t)}_next(undefined)}))}}const o=i(4591);const a=["suggest","format","onState","validate","onRender","type"];const noop=()=>{};function prompt(){return _prompt.apply(this,arguments)}function _prompt(){_prompt=_asyncToGenerator((function*(t=[],{onSubmit:r=noop,onCancel:i=noop}={}){const u={};const l=prompt._override||{};t=[].concat(t);let h,p,d,m,g,y;const v=function(){var t=_asyncToGenerator((function*(t,r,i=false){if(!i&&t.validate&&t.validate(r)!==true){return}return t.format?yield t.format(r,u):r}));return function getFormattedAnswer(r,i){return t.apply(this,arguments)}}();var A=_createForOfIteratorHelper(t),b;try{for(A.s();!(b=A.n()).done;){p=b.value;var w=p;m=w.name;g=w.type;if(typeof g==="function"){g=yield g(h,_objectSpread({},u),p);p["type"]=g}if(!g)continue;for(let t in p){if(a.includes(t))continue;let r=p[t];p[t]=typeof r==="function"?yield r(h,_objectSpread({},u),y):r}y=p;if(typeof p.message!=="string"){throw new Error("prompt message is required")}var E=p;m=E.name;g=E.type;if(o[g]===void 0){throw new Error(`prompt type (${g}) is not defined`)}if(l[p.name]!==undefined){h=yield v(p,l[p.name]);if(h!==undefined){u[m]=h;continue}}try{h=prompt._injected?getInjectedAnswer(prompt._injected,p.initial):yield o[g](p);u[m]=h=yield v(p,h,true);d=yield r(p,h,u)}catch(t){d=!(yield i(p,u))}if(d)return u}}catch(t){A.e(t)}finally{A.f()}return u}));return _prompt.apply(this,arguments)}function getInjectedAnswer(t,r){const i=t.shift();if(i instanceof Error){throw i}return i===undefined?r:i}function inject(t){prompt._injected=(prompt._injected||[]).concat(t)}function override(t){prompt._override=Object.assign({},t)}t.exports=Object.assign(prompt,{prompt:prompt,prompts:o,inject:inject,override:override})},4591:(t,r,i)=>{"use strict";const o=r;const a=i(9956);const noop=t=>t;function toPrompt(t,r,i={}){return new Promise(((o,u)=>{const l=new a[t](r);const h=i.onAbort||noop;const p=i.onSubmit||noop;const d=i.onExit||noop;l.on("state",r.onState||noop);l.on("submit",(t=>o(p(t))));l.on("exit",(t=>o(d(t))));l.on("abort",(t=>u(h(t))))}))}o.text=t=>toPrompt("TextPrompt",t);o.password=t=>{t.style="password";return o.text(t)};o.invisible=t=>{t.style="invisible";return o.text(t)};o.number=t=>toPrompt("NumberPrompt",t);o.date=t=>toPrompt("DatePrompt",t);o.confirm=t=>toPrompt("ConfirmPrompt",t);o.list=t=>{const r=t.separator||",";return toPrompt("TextPrompt",t,{onSubmit:t=>t.split(r).map((t=>t.trim()))})};o.toggle=t=>toPrompt("TogglePrompt",t);o.select=t=>toPrompt("SelectPrompt",t);o.multiselect=t=>{t.choices=[].concat(t.choices||[]);const toSelected=t=>t.filter((t=>t.selected)).map((t=>t.value));return toPrompt("MultiselectPrompt",t,{onAbort:toSelected,onSubmit:toSelected})};o.autocompleteMultiselect=t=>{t.choices=[].concat(t.choices||[]);const toSelected=t=>t.filter((t=>t.selected)).map((t=>t.value));return toPrompt("AutocompleteMultiselectPrompt",t,{onAbort:toSelected,onSubmit:toSelected})};const byTitle=(t,r)=>Promise.resolve(r.filter((r=>r.title.slice(0,t.length).toLowerCase()===t.toLowerCase())));o.autocomplete=t=>{t.suggest=t.suggest||byTitle;t.choices=[].concat(t.choices||[]);return toPrompt("AutocompletePrompt",t)}},8692:t=>{"use strict";t.exports=(t,r)=>{if(t.meta&&t.name!=="escape")return;if(t.ctrl){if(t.name==="a")return"first";if(t.name==="c")return"abort";if(t.name==="d")return"abort";if(t.name==="e")return"last";if(t.name==="g")return"reset"}if(r){if(t.name==="j")return"down";if(t.name==="k")return"up"}if(t.name==="return")return"submit";if(t.name==="enter")return"submit";if(t.name==="backspace")return"delete";if(t.name==="delete")return"deleteForward";if(t.name==="abort")return"abort";if(t.name==="escape")return"exit";if(t.name==="tab")return"next";if(t.name==="pagedown")return"nextPage";if(t.name==="pageup")return"prevPage";if(t.name==="home")return"home";if(t.name==="end")return"end";if(t.name==="up")return"up";if(t.name==="down")return"down";if(t.name==="right")return"right";if(t.name==="left")return"left";return false}},3513:(t,r,i)=>{"use strict";function _createForOfIteratorHelper(t,r){var i=typeof Symbol!=="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=_unsupportedIterableToArray(t))||r&&t&&typeof t.length==="number"){if(i)t=i;var o=0;var a=function F(){};return{s:a,n:function n(){if(o>=t.length)return{done:true};return{done:false,value:t[o++]}},e:function e(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u=true,l=false,h;return{s:function s(){i=i.call(t)},n:function n(){var t=i.next();u=t.done;return t},e:function e(t){l=true;h=t},f:function f(){try{if(!u&&i.return!=null)i.return()}finally{if(l)throw h}}}}function _unsupportedIterableToArray(t,r){if(!t)return;if(typeof t==="string")return _arrayLikeToArray(t,r);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor)i=t.constructor.name;if(i==="Map"||i==="Set")return Array.from(t);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return _arrayLikeToArray(t,r)}function _arrayLikeToArray(t,r){if(r==null||r>t.length)r=t.length;for(var i=0,o=new Array(r);i<r;i++)o[i]=t[i];return o}const o=i(8760);const a=i(332),u=a.erase,l=a.cursor;const width=t=>[...o(t)].length;t.exports=function(t,r){if(!r)return u.line+l.to(0);let i=0;const o=t.split(/\r?\n/);var a=_createForOfIteratorHelper(o),h;try{for(a.s();!(h=a.n()).done;){let t=h.value;i+=1+Math.floor(Math.max(width(t)-1,0)/r)}}catch(t){a.e(t)}finally{a.f()}return u.lines(i)}},393:t=>{"use strict";t.exports=(t,r,i)=>{i=i||r;let o=Math.min(r-i,t-Math.floor(i/2));if(o<0)o=0;let a=Math.min(o+i,r);return{startIndex:o,endIndex:a}}},6217:t=>{"use strict";const r={arrowUp:"↑",arrowDown:"↓",arrowLeft:"←",arrowRight:"→",radioOn:"◉",radioOff:"◯",tick:"✔",cross:"✖",ellipsis:"…",pointerSmall:"›",line:"─",pointer:"❯"};const i={arrowUp:r.arrowUp,arrowDown:r.arrowDown,arrowLeft:r.arrowLeft,arrowRight:r.arrowRight,radioOn:"(*)",radioOff:"( )",tick:"√",cross:"×",ellipsis:"...",pointerSmall:"»",line:"─",pointer:">"};const o=process.platform==="win32"?i:r;t.exports=o},2800:(t,r,i)=>{"use strict";t.exports={action:i(8692),clear:i(3513),style:i(5012),strip:i(8760),figures:i(6217),lines:i(1688),wrap:i(1705),entriesToDisplay:i(393)}},1688:(t,r,i)=>{"use strict";const o=i(8760);t.exports=function(t,r){let i=String(o(t)||"").split(/\r?\n/);if(!r)return i.length;return i.map((t=>Math.ceil(t.length/r))).reduce(((t,r)=>t+r))}},8760:t=>{"use strict";t.exports=t=>{const r=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))"].join("|");const i=new RegExp(r,"g");return typeof t==="string"?t.replace(i,""):t}},5012:(t,r,i)=>{"use strict";const o=i(9439);const a=i(6217);const u=Object.freeze({password:{scale:1,render:t=>"*".repeat(t.length)},emoji:{scale:2,render:t=>"😃".repeat(t.length)},invisible:{scale:0,render:t=>""},default:{scale:1,render:t=>`${t}`}});const render=t=>u[t]||u.default;const l=Object.freeze({aborted:o.red(a.cross),done:o.green(a.tick),exited:o.yellow(a.cross),default:o.cyan("?")});const symbol=(t,r,i)=>r?l.aborted:i?l.exited:t?l.done:l.default;const delimiter=t=>o.gray(t?a.ellipsis:a.pointerSmall);const item=(t,r)=>o.gray(t?r?a.pointerSmall:"+":a.line);t.exports={styles:u,render:render,symbols:l,symbol:symbol,delimiter:delimiter,item:item}},1705:t=>{"use strict";t.exports=(t,r={})=>{const i=Number.isSafeInteger(parseInt(r.margin))?new Array(parseInt(r.margin)).fill(" ").join(""):r.margin||"";const o=r.width;return(t||"").split(/\r?\n/g).map((t=>t.split(/\s+/g).reduce(((t,r)=>{if(r.length+i.length>=o||t[t.length-1].length+r.length+1<o)t[t.length-1]+=` ${r}`;else t.push(`${i}${r}`);return t}),[i]).join("\n"))).join("\n")}},1112:(t,r,i)=>{function isNodeLT(t){t=(Array.isArray(t)?t:t.split(".")).map(Number);let r=0,i=process.versions.node.split(".").map(Number);for(;r<t.length;r++){if(i[r]>t[r])return false;if(t[r]>i[r])return true}return false}t.exports=isNodeLT("8.6.0")?i(6598):i(9590)},8994:t=>{"use strict";class DatePart{constructor({token:t,date:r,parts:i,locales:o}){this.token=t;this.date=r||new Date;this.parts=i||[this];this.locales=o||{}}up(){}down(){}next(){const t=this.parts.indexOf(this);return this.parts.find(((r,i)=>i>t&&r instanceof DatePart))}setTo(t){}prev(){let t=[].concat(this.parts).reverse();const r=t.indexOf(this);return t.find(((t,i)=>i>r&&t instanceof DatePart))}toString(){return String(this.date)}}t.exports=DatePart},5513:(t,r,i)=>{"use strict";const o=i(8994);const pos=t=>{t=t%10;return t===1?"st":t===2?"nd":t===3?"rd":"th"};class Day extends o{constructor(t={}){super(t)}up(){this.date.setDate(this.date.getDate()+1)}down(){this.date.setDate(this.date.getDate()-1)}setTo(t){this.date.setDate(parseInt(t.substr(-2)))}toString(){let t=this.date.getDate();let r=this.date.getDay();return this.token==="DD"?String(t).padStart(2,"0"):this.token==="Do"?t+pos(t):this.token==="d"?r+1:this.token==="ddd"?this.locales.weekdaysShort[r]:this.token==="dddd"?this.locales.weekdays[r]:t}}t.exports=Day},9270:(t,r,i)=>{"use strict";const o=i(8994);class Hours extends o{constructor(t={}){super(t)}up(){this.date.setHours(this.date.getHours()+1)}down(){this.date.setHours(this.date.getHours()-1)}setTo(t){this.date.setHours(parseInt(t.substr(-2)))}toString(){let t=this.date.getHours();if(/h/.test(this.token))t=t%12||12;return this.token.length>1?String(t).padStart(2,"0"):t}}t.exports=Hours},1190:(t,r,i)=>{"use strict";t.exports={DatePart:i(8994),Meridiem:i(8135),Day:i(5513),Hours:i(9270),Milliseconds:i(2397),Minutes:i(9246),Month:i(5763),Seconds:i(5579),Year:i(4191)}},8135:(t,r,i)=>{"use strict";const o=i(8994);class Meridiem extends o{constructor(t={}){super(t)}up(){this.date.setHours((this.date.getHours()+12)%24)}down(){this.up()}toString(){let t=this.date.getHours()>12?"pm":"am";return/\A/.test(this.token)?t.toUpperCase():t}}t.exports=Meridiem},2397:(t,r,i)=>{"use strict";const o=i(8994);class Milliseconds extends o{constructor(t={}){super(t)}up(){this.date.setMilliseconds(this.date.getMilliseconds()+1)}down(){this.date.setMilliseconds(this.date.getMilliseconds()-1)}setTo(t){this.date.setMilliseconds(parseInt(t.substr(-this.token.length)))}toString(){return String(this.date.getMilliseconds()).padStart(4,"0").substr(0,this.token.length)}}t.exports=Milliseconds},9246:(t,r,i)=>{"use strict";const o=i(8994);class Minutes extends o{constructor(t={}){super(t)}up(){this.date.setMinutes(this.date.getMinutes()+1)}down(){this.date.setMinutes(this.date.getMinutes()-1)}setTo(t){this.date.setMinutes(parseInt(t.substr(-2)))}toString(){let t=this.date.getMinutes();return this.token.length>1?String(t).padStart(2,"0"):t}}t.exports=Minutes},5763:(t,r,i)=>{"use strict";const o=i(8994);class Month extends o{constructor(t={}){super(t)}up(){this.date.setMonth(this.date.getMonth()+1)}down(){this.date.setMonth(this.date.getMonth()-1)}setTo(t){t=parseInt(t.substr(-2))-1;this.date.setMonth(t<0?0:t)}toString(){let t=this.date.getMonth();let r=this.token.length;return r===2?String(t+1).padStart(2,"0"):r===3?this.locales.monthsShort[t]:r===4?this.locales.months[t]:String(t+1)}}t.exports=Month},5579:(t,r,i)=>{"use strict";const o=i(8994);class Seconds extends o{constructor(t={}){super(t)}up(){this.date.setSeconds(this.date.getSeconds()+1)}down(){this.date.setSeconds(this.date.getSeconds()-1)}setTo(t){this.date.setSeconds(parseInt(t.substr(-2)))}toString(){let t=this.date.getSeconds();return this.token.length>1?String(t).padStart(2,"0"):t}}t.exports=Seconds},4191:(t,r,i)=>{"use strict";const o=i(8994);class Year extends o{constructor(t={}){super(t)}up(){this.date.setFullYear(this.date.getFullYear()+1)}down(){this.date.setFullYear(this.date.getFullYear()-1)}setTo(t){this.date.setFullYear(t.substr(-4))}toString(){let t=String(this.date.getFullYear()).padStart(4,"0");return this.token.length===2?t.substr(-2):t}}t.exports=Year},514:(t,r,i)=>{"use strict";const o=i(9439);const a=i(9126);const{erase:u,cursor:l}=i(332);const{style:h,clear:p,figures:d,wrap:m,entriesToDisplay:g}=i(9807);const getVal=(t,r)=>t[r]&&(t[r].value||t[r].title||t[r]);const getTitle=(t,r)=>t[r]&&(t[r].title||t[r].value||t[r]);const getIndex=(t,r)=>{const i=t.findIndex((t=>t.value===r||t.title===r));return i>-1?i:undefined};class AutocompletePrompt extends a{constructor(t={}){super(t);this.msg=t.message;this.suggest=t.suggest;this.choices=t.choices;this.initial=typeof t.initial==="number"?t.initial:getIndex(t.choices,t.initial);this.select=this.initial||t.cursor||0;this.i18n={noMatches:t.noMatches||"no matches found"};this.fallback=t.fallback||this.initial;this.clearFirst=t.clearFirst||false;this.suggestions=[];this.input="";this.limit=t.limit||10;this.cursor=0;this.transform=h.render(t.style);this.scale=this.transform.scale;this.render=this.render.bind(this);this.complete=this.complete.bind(this);this.clear=p("",this.out.columns);this.complete(this.render);this.render()}set fallback(t){this._fb=Number.isSafeInteger(parseInt(t))?parseInt(t):t}get fallback(){let t;if(typeof this._fb==="number")t=this.choices[this._fb];else if(typeof this._fb==="string")t={title:this._fb};return t||this._fb||{title:this.i18n.noMatches}}moveSelect(t){this.select=t;if(this.suggestions.length>0)this.value=getVal(this.suggestions,t);else this.value=this.fallback.value;this.fire()}async complete(t){const r=this.completing=this.suggest(this.input,this.choices);const i=await r;if(this.completing!==r)return;this.suggestions=i.map(((t,r,i)=>({title:getTitle(i,r),value:getVal(i,r),description:t.description})));this.completing=false;const o=Math.max(i.length-1,0);this.moveSelect(Math.min(o,this.select));t&&t()}reset(){this.input="";this.complete((()=>{this.moveSelect(this.initial!==void 0?this.initial:0);this.render()}));this.render()}exit(){if(this.clearFirst&&this.input.length>0){this.reset()}else{this.done=this.exited=true;this.aborted=false;this.fire();this.render();this.out.write("\n");this.close()}}abort(){this.done=this.aborted=true;this.exited=false;this.fire();this.render();this.out.write("\n");this.close()}submit(){this.done=true;this.aborted=this.exited=false;this.fire();this.render();this.out.write("\n");this.close()}_(t,r){let i=this.input.slice(0,this.cursor);let o=this.input.slice(this.cursor);this.input=`${i}${t}${o}`;this.cursor=i.length+1;this.complete(this.render);this.render()}delete(){if(this.cursor===0)return this.bell();let t=this.input.slice(0,this.cursor-1);let r=this.input.slice(this.cursor);this.input=`${t}${r}`;this.complete(this.render);this.cursor=this.cursor-1;this.render()}deleteForward(){if(this.cursor*this.scale>=this.rendered.length)return this.bell();let t=this.input.slice(0,this.cursor);let r=this.input.slice(this.cursor+1);this.input=`${t}${r}`;this.complete(this.render);this.render()}first(){this.moveSelect(0);this.render()}last(){this.moveSelect(this.suggestions.length-1);this.render()}up(){if(this.select===0){this.moveSelect(this.suggestions.length-1)}else{this.moveSelect(this.select-1)}this.render()}down(){if(this.select===this.suggestions.length-1){this.moveSelect(0)}else{this.moveSelect(this.select+1)}this.render()}next(){if(this.select===this.suggestions.length-1){this.moveSelect(0)}else this.moveSelect(this.select+1);this.render()}nextPage(){this.moveSelect(Math.min(this.select+this.limit,this.suggestions.length-1));this.render()}prevPage(){this.moveSelect(Math.max(this.select-this.limit,0));this.render()}left(){if(this.cursor<=0)return this.bell();this.cursor=this.cursor-1;this.render()}right(){if(this.cursor*this.scale>=this.rendered.length)return this.bell();this.cursor=this.cursor+1;this.render()}renderOption(t,r,i,a){let u;let l=i?d.arrowUp:a?d.arrowDown:" ";let h=r?o.cyan().underline(t.title):t.title;l=(r?o.cyan(d.pointer)+" ":" ")+l;if(t.description){u=` - ${t.description}`;if(l.length+h.length+u.length>=this.out.columns||t.description.split(/\r?\n/).length>1){u="\n"+m(t.description,{margin:3,width:this.out.columns})}}return l+" "+h+o.gray(u||"")}render(){if(this.closed)return;if(this.firstRender)this.out.write(l.hide);else this.out.write(p(this.outputText,this.out.columns));super.render();let{startIndex:t,endIndex:r}=g(this.select,this.choices.length,this.limit);this.outputText=[h.symbol(this.done,this.aborted,this.exited),o.bold(this.msg),h.delimiter(this.completing),this.done&&this.suggestions[this.select]?this.suggestions[this.select].title:this.rendered=this.transform.render(this.input)].join(" ");if(!this.done){const i=this.suggestions.slice(t,r).map(((i,o)=>this.renderOption(i,this.select===o+t,o===0&&t>0,o+t===r-1&&r<this.choices.length))).join("\n");this.outputText+=`\n`+(i||o.gray(this.fallback.title))}this.out.write(u.line+l.to(0)+this.outputText)}}t.exports=AutocompletePrompt},7685:(t,r,i)=>{"use strict";const o=i(9439);const{cursor:a}=i(332);const u=i(92);const{clear:l,style:h,figures:p}=i(9807);class AutocompleteMultiselectPrompt extends u{constructor(t={}){t.overrideRender=true;super(t);this.inputValue="";this.clear=l("",this.out.columns);this.filteredOptions=this.value;this.render()}last(){this.cursor=this.filteredOptions.length-1;this.render()}next(){this.cursor=(this.cursor+1)%this.filteredOptions.length;this.render()}up(){if(this.cursor===0){this.cursor=this.filteredOptions.length-1}else{this.cursor--}this.render()}down(){if(this.cursor===this.filteredOptions.length-1){this.cursor=0}else{this.cursor++}this.render()}left(){this.filteredOptions[this.cursor].selected=false;this.render()}right(){if(this.value.filter((t=>t.selected)).length>=this.maxChoices)return this.bell();this.filteredOptions[this.cursor].selected=true;this.render()}delete(){if(this.inputValue.length){this.inputValue=this.inputValue.substr(0,this.inputValue.length-1);this.updateFilteredOptions()}}updateFilteredOptions(){const t=this.filteredOptions[this.cursor];this.filteredOptions=this.value.filter((t=>{if(this.inputValue){if(typeof t.title==="string"){if(t.title.toLowerCase().includes(this.inputValue.toLowerCase())){return true}}if(typeof t.value==="string"){if(t.value.toLowerCase().includes(this.inputValue.toLowerCase())){return true}}return false}return true}));const r=this.filteredOptions.findIndex((r=>r===t));this.cursor=r<0?0:r;this.render()}handleSpaceToggle(){const t=this.filteredOptions[this.cursor];if(t.selected){t.selected=false;this.render()}else if(t.disabled||this.value.filter((t=>t.selected)).length>=this.maxChoices){return this.bell()}else{t.selected=true;this.render()}}handleInputChange(t){this.inputValue=this.inputValue+t;this.updateFilteredOptions()}_(t,r){if(t===" "){this.handleSpaceToggle()}else{this.handleInputChange(t)}}renderInstructions(){if(this.instructions===undefined||this.instructions){if(typeof this.instructions==="string"){return this.instructions}return`\nInstructions:\n ${p.arrowUp}/${p.arrowDown}: Highlight option\n ${p.arrowLeft}/${p.arrowRight}/[space]: Toggle selection\n [a,b,c]/delete: Filter choices\n enter/return: Complete answer\n`}return""}renderCurrentInput(){return`\nFiltered results for: ${this.inputValue?this.inputValue:o.gray("Enter something to filter")}\n`}renderOption(t,r,i){let a;if(r.disabled)a=t===i?o.gray().underline(r.title):o.strikethrough().gray(r.title);else a=t===i?o.cyan().underline(r.title):r.title;return(r.selected?o.green(p.radioOn):p.radioOff)+" "+a}renderDoneOrInstructions(){if(this.done){return this.value.filter((t=>t.selected)).map((t=>t.title)).join(", ")}const t=[o.gray(this.hint),this.renderInstructions(),this.renderCurrentInput()];if(this.filteredOptions.length&&this.filteredOptions[this.cursor].disabled){t.push(o.yellow(this.warn))}return t.join(" ")}render(){if(this.closed)return;if(this.firstRender)this.out.write(a.hide);super.render();let t=[h.symbol(this.done,this.aborted),o.bold(this.msg),h.delimiter(false),this.renderDoneOrInstructions()].join(" ");if(this.showMinError){t+=o.red(`You must select a minimum of ${this.minSelected} choices.`);this.showMinError=false}t+=this.renderOptions(this.filteredOptions);this.out.write(this.clear+t);this.clear=l(t,this.out.columns)}}t.exports=AutocompleteMultiselectPrompt},3037:(t,r,i)=>{const o=i(9439);const a=i(9126);const{style:u,clear:l}=i(9807);const{erase:h,cursor:p}=i(332);class ConfirmPrompt extends a{constructor(t={}){super(t);this.msg=t.message;this.value=t.initial;this.initialValue=!!t.initial;this.yesMsg=t.yes||"yes";this.yesOption=t.yesOption||"(Y/n)";this.noMsg=t.no||"no";this.noOption=t.noOption||"(y/N)";this.render()}reset(){this.value=this.initialValue;this.fire();this.render()}exit(){this.abort()}abort(){this.done=this.aborted=true;this.fire();this.render();this.out.write("\n");this.close()}submit(){this.value=this.value||false;this.done=true;this.aborted=false;this.fire();this.render();this.out.write("\n");this.close()}_(t,r){if(t.toLowerCase()==="y"){this.value=true;return this.submit()}if(t.toLowerCase()==="n"){this.value=false;return this.submit()}return this.bell()}render(){if(this.closed)return;if(this.firstRender)this.out.write(p.hide);else this.out.write(l(this.outputText,this.out.columns));super.render();this.outputText=[u.symbol(this.done,this.aborted),o.bold(this.msg),u.delimiter(this.done),this.done?this.value?this.yesMsg:this.noMsg:o.gray(this.initialValue?this.yesOption:this.noOption)].join(" ");this.out.write(h.line+p.to(0)+this.outputText)}}t.exports=ConfirmPrompt},5048:(t,r,i)=>{"use strict";const o=i(9439);const a=i(9126);const{style:u,clear:l,figures:h}=i(9807);const{erase:p,cursor:d}=i(332);const{DatePart:m,Meridiem:g,Day:y,Hours:v,Milliseconds:A,Minutes:b,Month:w,Seconds:E,Year:S}=i(1190);const _=/\\(.)|"((?:\\["\\]|[^"])+)"|(D[Do]?|d{3,4}|d)|(M{1,4})|(YY(?:YY)?)|([aA])|([Hh]{1,2})|(m{1,2})|(s{1,2})|(S{1,4})|./g;const D={1:({token:t})=>t.replace(/\\(.)/g,"$1"),2:t=>new y(t),3:t=>new w(t),4:t=>new S(t),5:t=>new g(t),6:t=>new v(t),7:t=>new b(t),8:t=>new E(t),9:t=>new A(t)};const C={months:"January,February,March,April,May,June,July,August,September,October,November,December".split(","),monthsShort:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(","),weekdays:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday".split(","),weekdaysShort:"Sun,Mon,Tue,Wed,Thu,Fri,Sat".split(",")};class DatePrompt extends a{constructor(t={}){super(t);this.msg=t.message;this.cursor=0;this.typed="";this.locales=Object.assign(C,t.locales);this._date=t.initial||new Date;this.errorMsg=t.error||"Please Enter A Valid Value";this.validator=t.validate||(()=>true);this.mask=t.mask||"YYYY-MM-DD HH:mm:ss";this.clear=l("",this.out.columns);this.render()}get value(){return this.date}get date(){return this._date}set date(t){if(t)this._date.setTime(t.getTime())}set mask(t){let r;this.parts=[];while(r=_.exec(t)){let t=r.shift();let i=r.findIndex((t=>t!=null));this.parts.push(i in D?D[i]({token:r[i]||t,date:this.date,parts:this.parts,locales:this.locales}):r[i]||t)}let i=this.parts.reduce(((t,r)=>{if(typeof r==="string"&&typeof t[t.length-1]==="string")t[t.length-1]+=r;else t.push(r);return t}),[]);this.parts.splice(0);this.parts.push(...i);this.reset()}moveCursor(t){this.typed="";this.cursor=t;this.fire()}reset(){this.moveCursor(this.parts.findIndex((t=>t instanceof m)));this.fire();this.render()}exit(){this.abort()}abort(){this.done=this.aborted=true;this.error=false;this.fire();this.render();this.out.write("\n");this.close()}async validate(){let t=await this.validator(this.value);if(typeof t==="string"){this.errorMsg=t;t=false}this.error=!t}async submit(){await this.validate();if(this.error){this.color="red";this.fire();this.render();return}this.done=true;this.aborted=false;this.fire();this.render();this.out.write("\n");this.close()}up(){this.typed="";this.parts[this.cursor].up();this.render()}down(){this.typed="";this.parts[this.cursor].down();this.render()}left(){let t=this.parts[this.cursor].prev();if(t==null)return this.bell();this.moveCursor(this.parts.indexOf(t));this.render()}right(){let t=this.parts[this.cursor].next();if(t==null)return this.bell();this.moveCursor(this.parts.indexOf(t));this.render()}next(){let t=this.parts[this.cursor].next();this.moveCursor(t?this.parts.indexOf(t):this.parts.findIndex((t=>t instanceof m)));this.render()}_(t){if(/\d/.test(t)){this.typed+=t;this.parts[this.cursor].setTo(this.typed);this.render()}}render(){if(this.closed)return;if(this.firstRender)this.out.write(d.hide);else this.out.write(l(this.outputText,this.out.columns));super.render();this.outputText=[u.symbol(this.done,this.aborted),o.bold(this.msg),u.delimiter(false),this.parts.reduce(((t,r,i)=>t.concat(i===this.cursor&&!this.done?o.cyan().underline(r.toString()):r)),[]).join("")].join(" ");if(this.error){this.outputText+=this.errorMsg.split("\n").reduce(((t,r,i)=>t+`\n${i?` `:h.pointerSmall} ${o.red().italic(r)}`),``)}this.out.write(p.line+d.to(0)+this.outputText)}}t.exports=DatePrompt},6529:(t,r,i)=>{"use strict";t.exports={TextPrompt:i(1551),SelectPrompt:i(6515),TogglePrompt:i(181),DatePrompt:i(5048),NumberPrompt:i(3686),MultiselectPrompt:i(92),AutocompletePrompt:i(514),AutocompleteMultiselectPrompt:i(7685),ConfirmPrompt:i(3037)}},92:(t,r,i)=>{"use strict";const o=i(9439);const{cursor:a}=i(332);const u=i(9126);const{clear:l,figures:h,style:p,wrap:d,entriesToDisplay:m}=i(9807);class MultiselectPrompt extends u{constructor(t={}){super(t);this.msg=t.message;this.cursor=t.cursor||0;this.scrollIndex=t.cursor||0;this.hint=t.hint||"";this.warn=t.warn||"- This option is disabled -";this.minSelected=t.min;this.showMinError=false;this.maxChoices=t.max;this.instructions=t.instructions;this.optionsPerPage=t.optionsPerPage||10;this.value=t.choices.map(((t,r)=>{if(typeof t==="string")t={title:t,value:r};return{title:t&&(t.title||t.value||t),description:t&&t.description,value:t&&(t.value===undefined?r:t.value),selected:t&&t.selected,disabled:t&&t.disabled}}));this.clear=l("",this.out.columns);if(!t.overrideRender){this.render()}}reset(){this.value.map((t=>!t.selected));this.cursor=0;this.fire();this.render()}selected(){return this.value.filter((t=>t.selected))}exit(){this.abort()}abort(){this.done=this.aborted=true;this.fire();this.render();this.out.write("\n");this.close()}submit(){const t=this.value.filter((t=>t.selected));if(this.minSelected&&t.length<this.minSelected){this.showMinError=true;this.render()}else{this.done=true;this.aborted=false;this.fire();this.render();this.out.write("\n");this.close()}}first(){this.cursor=0;this.render()}last(){this.cursor=this.value.length-1;this.render()}next(){this.cursor=(this.cursor+1)%this.value.length;this.render()}up(){if(this.cursor===0){this.cursor=this.value.length-1}else{this.cursor--}this.render()}down(){if(this.cursor===this.value.length-1){this.cursor=0}else{this.cursor++}this.render()}left(){this.value[this.cursor].selected=false;this.render()}right(){if(this.value.filter((t=>t.selected)).length>=this.maxChoices)return this.bell();this.value[this.cursor].selected=true;this.render()}handleSpaceToggle(){const t=this.value[this.cursor];if(t.selected){t.selected=false;this.render()}else if(t.disabled||this.value.filter((t=>t.selected)).length>=this.maxChoices){return this.bell()}else{t.selected=true;this.render()}}toggleAll(){if(this.maxChoices!==undefined||this.value[this.cursor].disabled){return this.bell()}const t=!this.value[this.cursor].selected;this.value.filter((t=>!t.disabled)).forEach((r=>r.selected=t));this.render()}_(t,r){if(t===" "){this.handleSpaceToggle()}else if(t==="a"){this.toggleAll()}else{return this.bell()}}renderInstructions(){if(this.instructions===undefined||this.instructions){if(typeof this.instructions==="string"){return this.instructions}return"\nInstructions:\n"+` ${h.arrowUp}/${h.arrowDown}: Highlight option\n`+` ${h.arrowLeft}/${h.arrowRight}/[space]: Toggle selection\n`+(this.maxChoices===undefined?` a: Toggle all\n`:"")+` enter/return: Complete answer`}return""}renderOption(t,r,i,a){const u=(r.selected?o.green(h.radioOn):h.radioOff)+" "+a+" ";let l,p;if(r.disabled){l=t===i?o.gray().underline(r.title):o.strikethrough().gray(r.title)}else{l=t===i?o.cyan().underline(r.title):r.title;if(t===i&&r.description){p=` - ${r.description}`;if(u.length+l.length+p.length>=this.out.columns||r.description.split(/\r?\n/).length>1){p="\n"+d(r.description,{margin:u.length,width:this.out.columns})}}}return u+l+o.gray(p||"")}paginateOptions(t){if(t.length===0){return o.red("No matches for this query.")}let{startIndex:r,endIndex:i}=m(this.cursor,t.length,this.optionsPerPage);let a,u=[];for(let o=r;o<i;o++){if(o===r&&r>0){a=h.arrowUp}else if(o===i-1&&i<t.length){a=h.arrowDown}else{a=" "}u.push(this.renderOption(this.cursor,t[o],o,a))}return"\n"+u.join("\n")}renderOptions(t){if(!this.done){return this.paginateOptions(t)}return""}renderDoneOrInstructions(){if(this.done){return this.value.filter((t=>t.selected)).map((t=>t.title)).join(", ")}const t=[o.gray(this.hint),this.renderInstructions()];if(this.value[this.cursor].disabled){t.push(o.yellow(this.warn))}return t.join(" ")}render(){if(this.closed)return;if(this.firstRender)this.out.write(a.hide);super.render();let t=[p.symbol(this.done,this.aborted),o.bold(this.msg),p.delimiter(false),this.renderDoneOrInstructions()].join(" ");if(this.showMinError){t+=o.red(`You must select a minimum of ${this.minSelected} choices.`);this.showMinError=false}t+=this.renderOptions(this.value);this.out.write(this.clear+t);this.clear=l(t,this.out.columns)}}t.exports=MultiselectPrompt},3686:(t,r,i)=>{const o=i(9439);const a=i(9126);const{cursor:u,erase:l}=i(332);const{style:h,figures:p,clear:d,lines:m}=i(9807);const g=/[0-9]/;const isDef=t=>t!==undefined;const round=(t,r)=>{let i=Math.pow(10,r);return Math.round(t*i)/i};class NumberPrompt extends a{constructor(t={}){super(t);this.transform=h.render(t.style);this.msg=t.message;this.initial=isDef(t.initial)?t.initial:"";this.float=!!t.float;this.round=t.round||2;this.inc=t.increment||1;this.min=isDef(t.min)?t.min:-Infinity;this.max=isDef(t.max)?t.max:Infinity;this.errorMsg=t.error||`Please Enter A Valid Value`;this.validator=t.validate||(()=>true);this.color=`cyan`;this.value=``;this.typed=``;this.lastHit=0;this.render()}set value(t){if(!t&&t!==0){this.placeholder=true;this.rendered=o.gray(this.transform.render(`${this.initial}`));this._value=``}else{this.placeholder=false;this.rendered=this.transform.render(`${round(t,this.round)}`);this._value=round(t,this.round)}this.fire()}get value(){return this._value}parse(t){return this.float?parseFloat(t):parseInt(t)}valid(t){return t===`-`||t===`.`&&this.float||g.test(t)}reset(){this.typed=``;this.value=``;this.fire();this.render()}exit(){this.abort()}abort(){let t=this.value;this.value=t!==``?t:this.initial;this.done=this.aborted=true;this.error=false;this.fire();this.render();this.out.write(`\n`);this.close()}async validate(){let t=await this.validator(this.value);if(typeof t===`string`){this.errorMsg=t;t=false}this.error=!t}async submit(){await this.validate();if(this.error){this.color=`red`;this.fire();this.render();return}let t=this.value;this.value=t!==``?t:this.initial;this.done=true;this.aborted=false;this.error=false;this.fire();this.render();this.out.write(`\n`);this.close()}up(){this.typed=``;if(this.value===""){this.value=this.min-this.inc}if(this.value>=this.max)return this.bell();this.value+=this.inc;this.color=`cyan`;this.fire();this.render()}down(){this.typed=``;if(this.value===""){this.value=this.min+this.inc}if(this.value<=this.min)return this.bell();this.value-=this.inc;this.color=`cyan`;this.fire();this.render()}delete(){let t=this.value.toString();if(t.length===0)return this.bell();this.value=this.parse(t=t.slice(0,-1))||``;if(this.value!==""&&this.value<this.min){this.value=this.min}this.color=`cyan`;this.fire();this.render()}next(){this.value=this.initial;this.fire();this.render()}_(t,r){if(!this.valid(t))return this.bell();const i=Date.now();if(i-this.lastHit>1e3)this.typed=``;this.typed+=t;this.lastHit=i;this.color=`cyan`;if(t===`.`)return this.fire();this.value=Math.min(this.parse(this.typed),this.max);if(this.value>this.max)this.value=this.max;if(this.value<this.min)this.value=this.min;this.fire();this.render()}render(){if(this.closed)return;if(!this.firstRender){if(this.outputError)this.out.write(u.down(m(this.outputError,this.out.columns)-1)+d(this.outputError,this.out.columns));this.out.write(d(this.outputText,this.out.columns))}super.render();this.outputError="";this.outputText=[h.symbol(this.done,this.aborted),o.bold(this.msg),h.delimiter(this.done),!this.done||!this.done&&!this.placeholder?o[this.color]().underline(this.rendered):this.rendered].join(` `);if(this.error){this.outputError+=this.errorMsg.split(`\n`).reduce(((t,r,i)=>t+`\n${i?` `:p.pointerSmall} ${o.red().italic(r)}`),``)}this.out.write(l.line+u.to(0)+this.outputText+u.save+this.outputError+u.restore)}}t.exports=NumberPrompt},9126:(t,r,i)=>{"use strict";const o=i(4521);const{action:a}=i(9807);const u=i(2361);const{beep:l,cursor:h}=i(332);const p=i(9439);class Prompt extends u{constructor(t={}){super();this.firstRender=true;this.in=t.stdin||process.stdin;this.out=t.stdout||process.stdout;this.onRender=(t.onRender||(()=>void 0)).bind(this);const r=o.createInterface({input:this.in,escapeCodeTimeout:50});o.emitKeypressEvents(this.in,r);if(this.in.isTTY)this.in.setRawMode(true);const i=["SelectPrompt","MultiselectPrompt"].indexOf(this.constructor.name)>-1;const keypress=(t,r)=>{let o=a(r,i);if(o===false){this._&&this._(t,r)}else if(typeof this[o]==="function"){this[o](r)}else{this.bell()}};this.close=()=>{this.out.write(h.show);this.in.removeListener("keypress",keypress);if(this.in.isTTY)this.in.setRawMode(false);r.close();this.emit(this.aborted?"abort":this.exited?"exit":"submit",this.value);this.closed=true};this.in.on("keypress",keypress)}fire(){this.emit("state",{value:this.value,aborted:!!this.aborted,exited:!!this.exited})}bell(){this.out.write(l)}render(){this.onRender(p);if(this.firstRender)this.firstRender=false}}t.exports=Prompt},6515:(t,r,i)=>{"use strict";const o=i(9439);const a=i(9126);const{style:u,clear:l,figures:h,wrap:p,entriesToDisplay:d}=i(9807);const{cursor:m}=i(332);class SelectPrompt extends a{constructor(t={}){super(t);this.msg=t.message;this.hint=t.hint||"- Use arrow-keys. Return to submit.";this.warn=t.warn||"- This option is disabled";this.cursor=t.initial||0;this.choices=t.choices.map(((t,r)=>{if(typeof t==="string")t={title:t,value:r};return{title:t&&(t.title||t.value||t),value:t&&(t.value===undefined?r:t.value),description:t&&t.description,selected:t&&t.selected,disabled:t&&t.disabled}}));this.optionsPerPage=t.optionsPerPage||10;this.value=(this.choices[this.cursor]||{}).value;this.clear=l("",this.out.columns);this.render()}moveCursor(t){this.cursor=t;this.value=this.choices[t].value;this.fire()}reset(){this.moveCursor(0);this.fire();this.render()}exit(){this.abort()}abort(){this.done=this.aborted=true;this.fire();this.render();this.out.write("\n");this.close()}submit(){if(!this.selection.disabled){this.done=true;this.aborted=false;this.fire();this.render();this.out.write("\n");this.close()}else this.bell()}first(){this.moveCursor(0);this.render()}last(){this.moveCursor(this.choices.length-1);this.render()}up(){if(this.cursor===0){this.moveCursor(this.choices.length-1)}else{this.moveCursor(this.cursor-1)}this.render()}down(){if(this.cursor===this.choices.length-1){this.moveCursor(0)}else{this.moveCursor(this.cursor+1)}this.render()}next(){this.moveCursor((this.cursor+1)%this.choices.length);this.render()}_(t,r){if(t===" ")return this.submit()}get selection(){return this.choices[this.cursor]}render(){if(this.closed)return;if(this.firstRender)this.out.write(m.hide);else this.out.write(l(this.outputText,this.out.columns));super.render();let{startIndex:t,endIndex:r}=d(this.cursor,this.choices.length,this.optionsPerPage);this.outputText=[u.symbol(this.done,this.aborted),o.bold(this.msg),u.delimiter(false),this.done?this.selection.title:this.selection.disabled?o.yellow(this.warn):o.gray(this.hint)].join(" ");if(!this.done){this.outputText+="\n";for(let i=t;i<r;i++){let a,u,l="",d=this.choices[i];if(i===t&&t>0){u=h.arrowUp}else if(i===r-1&&r<this.choices.length){u=h.arrowDown}else{u=" "}if(d.disabled){a=this.cursor===i?o.gray().underline(d.title):o.strikethrough().gray(d.title);u=(this.cursor===i?o.bold().gray(h.pointer)+" ":" ")+u}else{a=this.cursor===i?o.cyan().underline(d.title):d.title;u=(this.cursor===i?o.cyan(h.pointer)+" ":" ")+u;if(d.description&&this.cursor===i){l=` - ${d.description}`;if(u.length+a.length+l.length>=this.out.columns||d.description.split(/\r?\n/).length>1){l="\n"+p(d.description,{margin:3,width:this.out.columns})}}}this.outputText+=`${u} ${a}${o.gray(l)}\n`}}this.out.write(this.outputText)}}t.exports=SelectPrompt},1551:(t,r,i)=>{const o=i(9439);const a=i(9126);const{erase:u,cursor:l}=i(332);const{style:h,clear:p,lines:d,figures:m}=i(9807);class TextPrompt extends a{constructor(t={}){super(t);this.transform=h.render(t.style);this.scale=this.transform.scale;this.msg=t.message;this.initial=t.initial||``;this.validator=t.validate||(()=>true);this.value=``;this.errorMsg=t.error||`Please Enter A Valid Value`;this.cursor=Number(!!this.initial);this.cursorOffset=0;this.clear=p(``,this.out.columns);this.render()}set value(t){if(!t&&this.initial){this.placeholder=true;this.rendered=o.gray(this.transform.render(this.initial))}else{this.placeholder=false;this.rendered=this.transform.render(t)}this._value=t;this.fire()}get value(){return this._value}reset(){this.value=``;this.cursor=Number(!!this.initial);this.cursorOffset=0;this.fire();this.render()}exit(){this.abort()}abort(){this.value=this.value||this.initial;this.done=this.aborted=true;this.error=false;this.red=false;this.fire();this.render();this.out.write("\n");this.close()}async validate(){let t=await this.validator(this.value);if(typeof t===`string`){this.errorMsg=t;t=false}this.error=!t}async submit(){this.value=this.value||this.initial;this.cursorOffset=0;this.cursor=this.rendered.length;await this.validate();if(this.error){this.red=true;this.fire();this.render();return}this.done=true;this.aborted=false;this.fire();this.render();this.out.write("\n");this.close()}next(){if(!this.placeholder)return this.bell();this.value=this.initial;this.cursor=this.rendered.length;this.fire();this.render()}moveCursor(t){if(this.placeholder)return;this.cursor=this.cursor+t;this.cursorOffset+=t}_(t,r){let i=this.value.slice(0,this.cursor);let o=this.value.slice(this.cursor);this.value=`${i}${t}${o}`;this.red=false;this.cursor=this.placeholder?0:i.length+1;this.render()}delete(){if(this.isCursorAtStart())return this.bell();let t=this.value.slice(0,this.cursor-1);let r=this.value.slice(this.cursor);this.value=`${t}${r}`;this.red=false;if(this.isCursorAtStart()){this.cursorOffset=0}else{this.cursorOffset++;this.moveCursor(-1)}this.render()}deleteForward(){if(this.cursor*this.scale>=this.rendered.length||this.placeholder)return this.bell();let t=this.value.slice(0,this.cursor);let r=this.value.slice(this.cursor+1);this.value=`${t}${r}`;this.red=false;if(this.isCursorAtEnd()){this.cursorOffset=0}else{this.cursorOffset++}this.render()}first(){this.cursor=0;this.render()}last(){this.cursor=this.value.length;this.render()}left(){if(this.cursor<=0||this.placeholder)return this.bell();this.moveCursor(-1);this.render()}right(){if(this.cursor*this.scale>=this.rendered.length||this.placeholder)return this.bell();this.moveCursor(1);this.render()}isCursorAtStart(){return this.cursor===0||this.placeholder&&this.cursor===1}isCursorAtEnd(){return this.cursor===this.rendered.length||this.placeholder&&this.cursor===this.rendered.length+1}render(){if(this.closed)return;if(!this.firstRender){if(this.outputError)this.out.write(l.down(d(this.outputError,this.out.columns)-1)+p(this.outputError,this.out.columns));this.out.write(p(this.outputText,this.out.columns))}super.render();this.outputError="";this.outputText=[h.symbol(this.done,this.aborted),o.bold(this.msg),h.delimiter(this.done),this.red?o.red(this.rendered):this.rendered].join(` `);if(this.error){this.outputError+=this.errorMsg.split(`\n`).reduce(((t,r,i)=>t+`\n${i?" ":m.pointerSmall} ${o.red().italic(r)}`),``)}this.out.write(u.line+l.to(0)+this.outputText+l.save+this.outputError+l.restore+l.move(this.cursorOffset,0))}}t.exports=TextPrompt},181:(t,r,i)=>{const o=i(9439);const a=i(9126);const{style:u,clear:l}=i(9807);const{cursor:h,erase:p}=i(332);class TogglePrompt extends a{constructor(t={}){super(t);this.msg=t.message;this.value=!!t.initial;this.active=t.active||"on";this.inactive=t.inactive||"off";this.initialValue=this.value;this.render()}reset(){this.value=this.initialValue;this.fire();this.render()}exit(){this.abort()}abort(){this.done=this.aborted=true;this.fire();this.render();this.out.write("\n");this.close()}submit(){this.done=true;this.aborted=false;this.fire();this.render();this.out.write("\n");this.close()}deactivate(){if(this.value===false)return this.bell();this.value=false;this.render()}activate(){if(this.value===true)return this.bell();this.value=true;this.render()}delete(){this.deactivate()}left(){this.deactivate()}right(){this.activate()}down(){this.deactivate()}up(){this.activate()}next(){this.value=!this.value;this.fire();this.render()}_(t,r){if(t===" "){this.value=!this.value}else if(t==="1"){this.value=true}else if(t==="0"){this.value=false}else return this.bell();this.render()}render(){if(this.closed)return;if(this.firstRender)this.out.write(h.hide);else this.out.write(l(this.outputText,this.out.columns));super.render();this.outputText=[u.symbol(this.done,this.aborted),o.bold(this.msg),u.delimiter(this.done),this.value?this.inactive:o.cyan().underline(this.inactive),o.gray("/"),this.value?o.cyan().underline(this.active):this.active].join(" ");this.out.write(p.line+h.to(0)+this.outputText)}}t.exports=TogglePrompt},9590:(t,r,i)=>{"use strict";const o=i(4450);const a=["suggest","format","onState","validate","onRender","type"];const noop=()=>{};async function prompt(t=[],{onSubmit:r=noop,onCancel:i=noop}={}){const u={};const l=prompt._override||{};t=[].concat(t);let h,p,d,m,g,y;const getFormattedAnswer=async(t,r,i=false)=>{if(!i&&t.validate&&t.validate(r)!==true){return}return t.format?await t.format(r,u):r};for(p of t){({name:m,type:g}=p);if(typeof g==="function"){g=await g(h,{...u},p);p["type"]=g}if(!g)continue;for(let t in p){if(a.includes(t))continue;let r=p[t];p[t]=typeof r==="function"?await r(h,{...u},y):r}y=p;if(typeof p.message!=="string"){throw new Error("prompt message is required")}({name:m,type:g}=p);if(o[g]===void 0){throw new Error(`prompt type (${g}) is not defined`)}if(l[p.name]!==undefined){h=await getFormattedAnswer(p,l[p.name]);if(h!==undefined){u[m]=h;continue}}try{h=prompt._injected?getInjectedAnswer(prompt._injected,p.initial):await o[g](p);u[m]=h=await getFormattedAnswer(p,h,true);d=await r(p,h,u)}catch(t){d=!await i(p,u)}if(d)return u}return u}function getInjectedAnswer(t,r){const i=t.shift();if(i instanceof Error){throw i}return i===undefined?r:i}function inject(t){prompt._injected=(prompt._injected||[]).concat(t)}function override(t){prompt._override=Object.assign({},t)}t.exports=Object.assign(prompt,{prompt:prompt,prompts:o,inject:inject,override:override})},4450:(t,r,i)=>{"use strict";const o=r;const a=i(6529);const noop=t=>t;function toPrompt(t,r,i={}){return new Promise(((o,u)=>{const l=new a[t](r);const h=i.onAbort||noop;const p=i.onSubmit||noop;const d=i.onExit||noop;l.on("state",r.onState||noop);l.on("submit",(t=>o(p(t))));l.on("exit",(t=>o(d(t))));l.on("abort",(t=>u(h(t))))}))}o.text=t=>toPrompt("TextPrompt",t);o.password=t=>{t.style="password";return o.text(t)};o.invisible=t=>{t.style="invisible";return o.text(t)};o.number=t=>toPrompt("NumberPrompt",t);o.date=t=>toPrompt("DatePrompt",t);o.confirm=t=>toPrompt("ConfirmPrompt",t);o.list=t=>{const r=t.separator||",";return toPrompt("TextPrompt",t,{onSubmit:t=>t.split(r).map((t=>t.trim()))})};o.toggle=t=>toPrompt("TogglePrompt",t);o.select=t=>toPrompt("SelectPrompt",t);o.multiselect=t=>{t.choices=[].concat(t.choices||[]);const toSelected=t=>t.filter((t=>t.selected)).map((t=>t.value));return toPrompt("MultiselectPrompt",t,{onAbort:toSelected,onSubmit:toSelected})};o.autocompleteMultiselect=t=>{t.choices=[].concat(t.choices||[]);const toSelected=t=>t.filter((t=>t.selected)).map((t=>t.value));return toPrompt("AutocompleteMultiselectPrompt",t,{onAbort:toSelected,onSubmit:toSelected})};const byTitle=(t,r)=>Promise.resolve(r.filter((r=>r.title.slice(0,t.length).toLowerCase()===t.toLowerCase())));o.autocomplete=t=>{t.suggest=t.suggest||byTitle;t.choices=[].concat(t.choices||[]);return toPrompt("AutocompletePrompt",t)}},8573:t=>{"use strict";t.exports=(t,r)=>{if(t.meta&&t.name!=="escape")return;if(t.ctrl){if(t.name==="a")return"first";if(t.name==="c")return"abort";if(t.name==="d")return"abort";if(t.name==="e")return"last";if(t.name==="g")return"reset"}if(r){if(t.name==="j")return"down";if(t.name==="k")return"up"}if(t.name==="return")return"submit";if(t.name==="enter")return"submit";if(t.name==="backspace")return"delete";if(t.name==="delete")return"deleteForward";if(t.name==="abort")return"abort";if(t.name==="escape")return"exit";if(t.name==="tab")return"next";if(t.name==="pagedown")return"nextPage";if(t.name==="pageup")return"prevPage";if(t.name==="home")return"home";if(t.name==="end")return"end";if(t.name==="up")return"up";if(t.name==="down")return"down";if(t.name==="right")return"right";if(t.name==="left")return"left";return false}},6747:(t,r,i)=>{"use strict";const o=i(2714);const{erase:a,cursor:u}=i(332);const width=t=>[...o(t)].length;t.exports=function(t,r){if(!r)return a.line+u.to(0);let i=0;const o=t.split(/\r?\n/);for(let t of o){i+=1+Math.floor(Math.max(width(t)-1,0)/r)}return a.lines(i)}},3297:t=>{"use strict";t.exports=(t,r,i)=>{i=i||r;let o=Math.min(r-i,t-Math.floor(i/2));if(o<0)o=0;let a=Math.min(o+i,r);return{startIndex:o,endIndex:a}}},3034:t=>{"use strict";const r={arrowUp:"↑",arrowDown:"↓",arrowLeft:"←",arrowRight:"→",radioOn:"◉",radioOff:"◯",tick:"✔",cross:"✖",ellipsis:"…",pointerSmall:"›",line:"─",pointer:"❯"};const i={arrowUp:r.arrowUp,arrowDown:r.arrowDown,arrowLeft:r.arrowLeft,arrowRight:r.arrowRight,radioOn:"(*)",radioOff:"( )",tick:"√",cross:"×",ellipsis:"...",pointerSmall:"»",line:"─",pointer:">"};const o=process.platform==="win32"?i:r;t.exports=o},9807:(t,r,i)=>{"use strict";t.exports={action:i(8573),clear:i(6747),style:i(7357),strip:i(2714),figures:i(3034),lines:i(4413),wrap:i(2492),entriesToDisplay:i(3297)}},4413:(t,r,i)=>{"use strict";const o=i(2714);t.exports=function(t,r){let i=String(o(t)||"").split(/\r?\n/);if(!r)return i.length;return i.map((t=>Math.ceil(t.length/r))).reduce(((t,r)=>t+r))}},2714:t=>{"use strict";t.exports=t=>{const r=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))"].join("|");const i=new RegExp(r,"g");return typeof t==="string"?t.replace(i,""):t}},7357:(t,r,i)=>{"use strict";const o=i(9439);const a=i(3034);const u=Object.freeze({password:{scale:1,render:t=>"*".repeat(t.length)},emoji:{scale:2,render:t=>"😃".repeat(t.length)},invisible:{scale:0,render:t=>""},default:{scale:1,render:t=>`${t}`}});const render=t=>u[t]||u.default;const l=Object.freeze({aborted:o.red(a.cross),done:o.green(a.tick),exited:o.yellow(a.cross),default:o.cyan("?")});const symbol=(t,r,i)=>r?l.aborted:i?l.exited:t?l.done:l.default;const delimiter=t=>o.gray(t?a.ellipsis:a.pointerSmall);const item=(t,r)=>o.gray(t?r?a.pointerSmall:"+":a.line);t.exports={styles:u,render:render,symbols:l,symbol:symbol,delimiter:delimiter,item:item}},2492:t=>{"use strict";t.exports=(t,r={})=>{const i=Number.isSafeInteger(parseInt(r.margin))?new Array(parseInt(r.margin)).fill(" ").join(""):r.margin||"";const o=r.width;return(t||"").split(/\r?\n/g).map((t=>t.split(/\s+/g).reduce(((t,r)=>{if(r.length+i.length>=o||t[t.length-1].length+r.length+1<o)t[t.length-1]+=` ${r}`;else t.push(`${i}${r}`);return t}),[i]).join("\n"))).join("\n")}},8271:(t,r,i)=>{var o=i(7563);var a=i(1017).join;var u=i(5134);var l="/etc";var h=process.platform==="win32";var p=h?process.env.USERPROFILE:process.env.HOME;t.exports=function(t,r,d,m){if("string"!==typeof t)throw new Error("rc(name): name *must* be string");if(!d)d=i(5912)(process.argv.slice(2));r=("string"===typeof r?o.json(r):r)||{};m=m||o.parse;var g=o.env(t+"_");var y=[r];var v=[];function addConfigFile(t){if(v.indexOf(t)>=0)return;var r=o.file(t);if(r){y.push(m(r));v.push(t)}}if(!h)[a(l,t,"config"),a(l,t+"rc")].forEach(addConfigFile);if(p)[a(p,".config",t,"config"),a(p,".config",t),a(p,"."+t,"config"),a(p,"."+t+"rc")].forEach(addConfigFile);addConfigFile(o.find("."+t+"rc"));if(g.config)addConfigFile(g.config);if(d.config)addConfigFile(d.config);return u.apply(null,y.concat([g,d,v.length?{configs:v,config:v[v.length-1]}:undefined]))}},7563:(t,r,i)=>{"use strict";var o=i(7147);var a=i(1923);var u=i(1017);var l=i(6397);var h=r.parse=function(t){if(/^\s*{/.test(t))return JSON.parse(l(t));return a.parse(t)};var p=r.file=function(){var t=[].slice.call(arguments).filter((function(t){return t!=null}));for(var r in t)if("string"!==typeof t[r])return;var i=u.join.apply(null,t);var a;try{return o.readFileSync(i,"utf-8")}catch(t){return}};var d=r.json=function(){var t=p.apply(null,arguments);return t?h(t):null};var m=r.env=function(t,r){r=r||process.env;var i={};var o=t.length;for(var a in r){if(a.toLowerCase().indexOf(t.toLowerCase())===0){var u=a.substring(o).split("__");var l;while((l=u.indexOf(""))>-1){u.splice(l,1)}var h=i;u.forEach((function _buildSubObj(t,i){if(!t||typeof h!=="object")return;if(i===u.length-1)h[t]=r[a];if(h[t]===undefined)h[t]={};h=h[t]}))}}return i};var g=r.find=function(){var t=u.join.apply(null,[].slice.call(arguments));function find(t,r){var i=u.join(t,r);try{o.statSync(i);return i}catch(i){if(u.dirname(t)!==t)return find(u.dirname(t),r)}}return find(process.cwd(),t)}},6397:t=>{"use strict";var r=1;var i=2;function stripWithoutWhitespace(){return""}function stripWithWhitespace(t,r,i){return t.slice(r,i).replace(/\S/g," ")}t.exports=function(t,o){o=o||{};var a;var u;var l=false;var h=false;var p=0;var d="";var m=o.whitespace===false?stripWithoutWhitespace:stripWithWhitespace;for(var g=0;g<t.length;g++){a=t[g];u=t[g+1];if(!h&&a==='"'){var y=t[g-1]==="\\"&&t[g-2]!=="\\";if(!y){l=!l}}if(l){continue}if(!h&&a+u==="//"){d+=t.slice(p,g);p=g;h=r;g++}else if(h===r&&a+u==="\r\n"){g++;h=false;d+=m(t,p,g);p=g;continue}else if(h===r&&a==="\n"){h=false;d+=m(t,p,g);p=g}else if(!h&&a+u==="/*"){d+=t.slice(p,g);p=g;h=i;g++;continue}else if(h===i&&a+u==="*/"){g++;h=false;d+=m(t,p,g+1);p=g+1;continue}}return d+(h?m(t.substr(p)):t.substr(p))}},3130:t=>{"use strict";const r={};function createErrorType(t,i,o){if(!o){o=Error}function getMessage(t,r,o){if(typeof i==="string"){return i}else{return i(t,r,o)}}class NodeError extends o{constructor(t,r,i){super(getMessage(t,r,i))}}NodeError.prototype.name=o.name;NodeError.prototype.code=t;r[t]=NodeError}function oneOf(t,r){if(Array.isArray(t)){const i=t.length;t=t.map((t=>String(t)));if(i>2){return`one of ${r} ${t.slice(0,i-1).join(", ")}, or `+t[i-1]}else if(i===2){return`one of ${r} ${t[0]} or ${t[1]}`}else{return`of ${r} ${t[0]}`}}else{return`of ${r} ${String(t)}`}}function startsWith(t,r,i){return t.substr(!i||i<0?0:+i,r.length)===r}function endsWith(t,r,i){if(i===undefined||i>t.length){i=t.length}return t.substring(i-r.length,i)===r}function includes(t,r,i){if(typeof i!=="number"){i=0}if(i+r.length>t.length){return false}else{return t.indexOf(r,i)!==-1}}createErrorType("ERR_INVALID_OPT_VALUE",(function(t,r){return'The value "'+r+'" is invalid for option "'+t+'"'}),TypeError);createErrorType("ERR_INVALID_ARG_TYPE",(function(t,r,i){let o;if(typeof r==="string"&&startsWith(r,"not ")){o="must not be";r=r.replace(/^not /,"")}else{o="must be"}let a;if(endsWith(t," argument")){a=`The ${t} ${o} ${oneOf(r,"type")}`}else{const i=includes(t,".")?"property":"argument";a=`The "${t}" ${i} ${o} ${oneOf(r,"type")}`}a+=`. Received type ${typeof i}`;return a}),TypeError);createErrorType("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");createErrorType("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"}));createErrorType("ERR_STREAM_PREMATURE_CLOSE","Premature close");createErrorType("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"}));createErrorType("ERR_MULTIPLE_CALLBACK","Callback called multiple times");createErrorType("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");createErrorType("ERR_STREAM_WRITE_AFTER_END","write after end");createErrorType("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);createErrorType("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError);createErrorType("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");t.exports.q=r},8393:(t,r,i)=>{"use strict";var o=Object.keys||function(t){var r=[];for(var i in t){r.push(i)}return r};t.exports=Duplex;var a=i(284);var u=i(6100);i(6919)(Duplex,a);{var l=o(u.prototype);for(var h=0;h<l.length;h++){var p=l[h];if(!Duplex.prototype[p])Duplex.prototype[p]=u.prototype[p]}}function Duplex(t){if(!(this instanceof Duplex))return new Duplex(t);a.call(this,t);u.call(this,t);this.allowHalfOpen=true;if(t){if(t.readable===false)this.readable=false;if(t.writable===false)this.writable=false;if(t.allowHalfOpen===false){this.allowHalfOpen=false;this.once("end",onend)}}}Object.defineProperty(Duplex.prototype,"writableHighWaterMark",{enumerable:false,get:function get(){return this._writableState.highWaterMark}});Object.defineProperty(Duplex.prototype,"writableBuffer",{enumerable:false,get:function get(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(Duplex.prototype,"writableLength",{enumerable:false,get:function get(){return this._writableState.length}});function onend(){if(this._writableState.ended)return;process.nextTick(onEndNT,this)}function onEndNT(t){t.end()}Object.defineProperty(Duplex.prototype,"destroyed",{enumerable:false,get:function get(){if(this._readableState===undefined||this._writableState===undefined){return false}return this._readableState.destroyed&&this._writableState.destroyed},set:function set(t){if(this._readableState===undefined||this._writableState===undefined){return}this._readableState.destroyed=t;this._writableState.destroyed=t}})},5125:(t,r,i)=>{"use strict";t.exports=PassThrough;var o=i(5469);i(6919)(PassThrough,o);function PassThrough(t){if(!(this instanceof PassThrough))return new PassThrough(t);o.call(this,t)}PassThrough.prototype._transform=function(t,r,i){i(null,t)}},284:(t,r,i)=>{"use strict";t.exports=Readable;var o;Readable.ReadableState=ReadableState;var a=i(2361).EventEmitter;var u=function EElistenerCount(t,r){return t.listeners(r).length};var l=i(5016);var h=i(4300).Buffer;var p=global.Uint8Array||function(){};function _uint8ArrayToBuffer(t){return h.from(t)}function _isUint8Array(t){return h.isBuffer(t)||t instanceof p}var d=i(3837);var m;if(d&&d.debuglog){m=d.debuglog("stream")}else{m=function debug(){}}var g=i(3900);var y=i(3090);var v=i(5785),A=v.getHighWaterMark;var b=i(3130).q,w=b.ERR_INVALID_ARG_TYPE,E=b.ERR_STREAM_PUSH_AFTER_EOF,S=b.ERR_METHOD_NOT_IMPLEMENTED,_=b.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;var D;var C;var x;i(6919)(Readable,l);var O=y.errorOrDestroy;var R=["error","close","destroy","pause","resume"];function prependListener(t,r,i){if(typeof t.prependListener==="function")return t.prependListener(r,i);if(!t._events||!t._events[r])t.on(r,i);else if(Array.isArray(t._events[r]))t._events[r].unshift(i);else t._events[r]=[i,t._events[r]]}function ReadableState(t,r,a){o=o||i(8393);t=t||{};if(typeof a!=="boolean")a=r instanceof o;this.objectMode=!!t.objectMode;if(a)this.objectMode=this.objectMode||!!t.readableObjectMode;this.highWaterMark=A(this,t,"readableHighWaterMark",a);this.buffer=new g;this.length=0;this.pipes=null;this.pipesCount=0;this.flowing=null;this.ended=false;this.endEmitted=false;this.reading=false;this.sync=true;this.needReadable=false;this.emittedReadable=false;this.readableListening=false;this.resumeScheduled=false;this.paused=true;this.emitClose=t.emitClose!==false;this.autoDestroy=!!t.autoDestroy;this.destroyed=false;this.defaultEncoding=t.defaultEncoding||"utf8";this.awaitDrain=0;this.readingMore=false;this.decoder=null;this.encoding=null;if(t.encoding){if(!D)D=i(642).s;this.decoder=new D(t.encoding);this.encoding=t.encoding}}function Readable(t){o=o||i(8393);if(!(this instanceof Readable))return new Readable(t);var r=this instanceof o;this._readableState=new ReadableState(t,this,r);this.readable=true;if(t){if(typeof t.read==="function")this._read=t.read;if(typeof t.destroy==="function")this._destroy=t.destroy}l.call(this)}Object.defineProperty(Readable.prototype,"destroyed",{enumerable:false,get:function get(){if(this._readableState===undefined){return false}return this._readableState.destroyed},set:function set(t){if(!this._readableState){return}this._readableState.destroyed=t}});Readable.prototype.destroy=y.destroy;Readable.prototype._undestroy=y.undestroy;Readable.prototype._destroy=function(t,r){r(t)};Readable.prototype.push=function(t,r){var i=this._readableState;var o;if(!i.objectMode){if(typeof t==="string"){r=r||i.defaultEncoding;if(r!==i.encoding){t=h.from(t,r);r=""}o=true}}else{o=true}return readableAddChunk(this,t,r,false,o)};Readable.prototype.unshift=function(t){return readableAddChunk(this,t,null,true,false)};function readableAddChunk(t,r,i,o,a){m("readableAddChunk",r);var u=t._readableState;if(r===null){u.reading=false;onEofChunk(t,u)}else{var l;if(!a)l=chunkInvalid(u,r);if(l){O(t,l)}else if(u.objectMode||r&&r.length>0){if(typeof r!=="string"&&!u.objectMode&&Object.getPrototypeOf(r)!==h.prototype){r=_uint8ArrayToBuffer(r)}if(o){if(u.endEmitted)O(t,new _);else addChunk(t,u,r,true)}else if(u.ended){O(t,new E)}else if(u.destroyed){return false}else{u.reading=false;if(u.decoder&&!i){r=u.decoder.write(r);if(u.objectMode||r.length!==0)addChunk(t,u,r,false);else maybeReadMore(t,u)}else{addChunk(t,u,r,false)}}}else if(!o){u.reading=false;maybeReadMore(t,u)}}return!u.ended&&(u.length<u.highWaterMark||u.length===0)}function addChunk(t,r,i,o){if(r.flowing&&r.length===0&&!r.sync){r.awaitDrain=0;t.emit("data",i)}else{r.length+=r.objectMode?1:i.length;if(o)r.buffer.unshift(i);else r.buffer.push(i);if(r.needReadable)emitReadable(t)}maybeReadMore(t,r)}function chunkInvalid(t,r){var i;if(!_isUint8Array(r)&&typeof r!=="string"&&r!==undefined&&!t.objectMode){i=new w("chunk",["string","Buffer","Uint8Array"],r)}return i}Readable.prototype.isPaused=function(){return this._readableState.flowing===false};Readable.prototype.setEncoding=function(t){if(!D)D=i(642).s;var r=new D(t);this._readableState.decoder=r;this._readableState.encoding=this._readableState.decoder.encoding;var o=this._readableState.buffer.head;var a="";while(o!==null){a+=r.write(o.data);o=o.next}this._readableState.buffer.clear();if(a!=="")this._readableState.buffer.push(a);this._readableState.length=a.length;return this};var k=1073741824;function computeNewHighWaterMark(t){if(t>=k){t=k}else{t--;t|=t>>>1;t|=t>>>2;t|=t>>>4;t|=t>>>8;t|=t>>>16;t++}return t}function howMuchToRead(t,r){if(t<=0||r.length===0&&r.ended)return 0;if(r.objectMode)return 1;if(t!==t){if(r.flowing&&r.length)return r.buffer.head.data.length;else return r.length}if(t>r.highWaterMark)r.highWaterMark=computeNewHighWaterMark(t);if(t<=r.length)return t;if(!r.ended){r.needReadable=true;return 0}return r.length}Readable.prototype.read=function(t){m("read",t);t=parseInt(t,10);var r=this._readableState;var i=t;if(t!==0)r.emittedReadable=false;if(t===0&&r.needReadable&&((r.highWaterMark!==0?r.length>=r.highWaterMark:r.length>0)||r.ended)){m("read: emitReadable",r.length,r.ended);if(r.length===0&&r.ended)endReadable(this);else emitReadable(this);return null}t=howMuchToRead(t,r);if(t===0&&r.ended){if(r.length===0)endReadable(this);return null}var o=r.needReadable;m("need readable",o);if(r.length===0||r.length-t<r.highWaterMark){o=true;m("length less than watermark",o)}if(r.ended||r.reading){o=false;m("reading or ended",o)}else if(o){m("do read");r.reading=true;r.sync=true;if(r.length===0)r.needReadable=true;this._read(r.highWaterMark);r.sync=false;if(!r.reading)t=howMuchToRead(i,r)}var a;if(t>0)a=fromList(t,r);else a=null;if(a===null){r.needReadable=r.length<=r.highWaterMark;t=0}else{r.length-=t;r.awaitDrain=0}if(r.length===0){if(!r.ended)r.needReadable=true;if(i!==t&&r.ended)endReadable(this)}if(a!==null)this.emit("data",a);return a};function onEofChunk(t,r){m("onEofChunk");if(r.ended)return;if(r.decoder){var i=r.decoder.end();if(i&&i.length){r.buffer.push(i);r.length+=r.objectMode?1:i.length}}r.ended=true;if(r.sync){emitReadable(t)}else{r.needReadable=false;if(!r.emittedReadable){r.emittedReadable=true;emitReadable_(t)}}}function emitReadable(t){var r=t._readableState;m("emitReadable",r.needReadable,r.emittedReadable);r.needReadable=false;if(!r.emittedReadable){m("emitReadable",r.flowing);r.emittedReadable=true;process.nextTick(emitReadable_,t)}}function emitReadable_(t){var r=t._readableState;m("emitReadable_",r.destroyed,r.length,r.ended);if(!r.destroyed&&(r.length||r.ended)){t.emit("readable");r.emittedReadable=false}r.needReadable=!r.flowing&&!r.ended&&r.length<=r.highWaterMark;flow(t)}function maybeReadMore(t,r){if(!r.readingMore){r.readingMore=true;process.nextTick(maybeReadMore_,t,r)}}function maybeReadMore_(t,r){while(!r.reading&&!r.ended&&(r.length<r.highWaterMark||r.flowing&&r.length===0)){var i=r.length;m("maybeReadMore read 0");t.read(0);if(i===r.length)break}r.readingMore=false}Readable.prototype._read=function(t){O(this,new S("_read()"))};Readable.prototype.pipe=function(t,r){var i=this;var o=this._readableState;switch(o.pipesCount){case 0:o.pipes=t;break;case 1:o.pipes=[o.pipes,t];break;default:o.pipes.push(t);break}o.pipesCount+=1;m("pipe count=%d opts=%j",o.pipesCount,r);var a=(!r||r.end!==false)&&t!==process.stdout&&t!==process.stderr;var l=a?onend:unpipe;if(o.endEmitted)process.nextTick(l);else i.once("end",l);t.on("unpipe",onunpipe);function onunpipe(t,r){m("onunpipe");if(t===i){if(r&&r.hasUnpiped===false){r.hasUnpiped=true;cleanup()}}}function onend(){m("onend");t.end()}var h=pipeOnDrain(i);t.on("drain",h);var p=false;function cleanup(){m("cleanup");t.removeListener("close",onclose);t.removeListener("finish",onfinish);t.removeListener("drain",h);t.removeListener("error",onerror);t.removeListener("unpipe",onunpipe);i.removeListener("end",onend);i.removeListener("end",unpipe);i.removeListener("data",ondata);p=true;if(o.awaitDrain&&(!t._writableState||t._writableState.needDrain))h()}i.on("data",ondata);function ondata(r){m("ondata");var a=t.write(r);m("dest.write",a);if(a===false){if((o.pipesCount===1&&o.pipes===t||o.pipesCount>1&&indexOf(o.pipes,t)!==-1)&&!p){m("false write response, pause",o.awaitDrain);o.awaitDrain++}i.pause()}}function onerror(r){m("onerror",r);unpipe();t.removeListener("error",onerror);if(u(t,"error")===0)O(t,r)}prependListener(t,"error",onerror);function onclose(){t.removeListener("finish",onfinish);unpipe()}t.once("close",onclose);function onfinish(){m("onfinish");t.removeListener("close",onclose);unpipe()}t.once("finish",onfinish);function unpipe(){m("unpipe");i.unpipe(t)}t.emit("pipe",i);if(!o.flowing){m("pipe resume");i.resume()}return t};function pipeOnDrain(t){return function pipeOnDrainFunctionResult(){var r=t._readableState;m("pipeOnDrain",r.awaitDrain);if(r.awaitDrain)r.awaitDrain--;if(r.awaitDrain===0&&u(t,"data")){r.flowing=true;flow(t)}}}Readable.prototype.unpipe=function(t){var r=this._readableState;var i={hasUnpiped:false};if(r.pipesCount===0)return this;if(r.pipesCount===1){if(t&&t!==r.pipes)return this;if(!t)t=r.pipes;r.pipes=null;r.pipesCount=0;r.flowing=false;if(t)t.emit("unpipe",this,i);return this}if(!t){var o=r.pipes;var a=r.pipesCount;r.pipes=null;r.pipesCount=0;r.flowing=false;for(var u=0;u<a;u++){o[u].emit("unpipe",this,{hasUnpiped:false})}return this}var l=indexOf(r.pipes,t);if(l===-1)return this;r.pipes.splice(l,1);r.pipesCount-=1;if(r.pipesCount===1)r.pipes=r.pipes[0];t.emit("unpipe",this,i);return this};Readable.prototype.on=function(t,r){var i=l.prototype.on.call(this,t,r);var o=this._readableState;if(t==="data"){o.readableListening=this.listenerCount("readable")>0;if(o.flowing!==false)this.resume()}else if(t==="readable"){if(!o.endEmitted&&!o.readableListening){o.readableListening=o.needReadable=true;o.flowing=false;o.emittedReadable=false;m("on readable",o.length,o.reading);if(o.length){emitReadable(this)}else if(!o.reading){process.nextTick(nReadingNextTick,this)}}}return i};Readable.prototype.addListener=Readable.prototype.on;Readable.prototype.removeListener=function(t,r){var i=l.prototype.removeListener.call(this,t,r);if(t==="readable"){process.nextTick(updateReadableListening,this)}return i};Readable.prototype.removeAllListeners=function(t){var r=l.prototype.removeAllListeners.apply(this,arguments);if(t==="readable"||t===undefined){process.nextTick(updateReadableListening,this)}return r};function updateReadableListening(t){var r=t._readableState;r.readableListening=t.listenerCount("readable")>0;if(r.resumeScheduled&&!r.paused){r.flowing=true}else if(t.listenerCount("data")>0){t.resume()}}function nReadingNextTick(t){m("readable nexttick read 0");t.read(0)}Readable.prototype.resume=function(){var t=this._readableState;if(!t.flowing){m("resume");t.flowing=!t.readableListening;resume(this,t)}t.paused=false;return this};function resume(t,r){if(!r.resumeScheduled){r.resumeScheduled=true;process.nextTick(resume_,t,r)}}function resume_(t,r){m("resume",r.reading);if(!r.reading){t.read(0)}r.resumeScheduled=false;t.emit("resume");flow(t);if(r.flowing&&!r.reading)t.read(0)}Readable.prototype.pause=function(){m("call pause flowing=%j",this._readableState.flowing);if(this._readableState.flowing!==false){m("pause");this._readableState.flowing=false;this.emit("pause")}this._readableState.paused=true;return this};function flow(t){var r=t._readableState;m("flow",r.flowing);while(r.flowing&&t.read()!==null){}}Readable.prototype.wrap=function(t){var r=this;var i=this._readableState;var o=false;t.on("end",(function(){m("wrapped end");if(i.decoder&&!i.ended){var t=i.decoder.end();if(t&&t.length)r.push(t)}r.push(null)}));t.on("data",(function(a){m("wrapped data");if(i.decoder)a=i.decoder.write(a);if(i.objectMode&&(a===null||a===undefined))return;else if(!i.objectMode&&(!a||!a.length))return;var u=r.push(a);if(!u){o=true;t.pause()}}));for(var a in t){if(this[a]===undefined&&typeof t[a]==="function"){this[a]=function methodWrap(r){return function methodWrapReturnFunction(){return t[r].apply(t,arguments)}}(a)}}for(var u=0;u<R.length;u++){t.on(R[u],this.emit.bind(this,R[u]))}this._read=function(r){m("wrapped _read",r);if(o){o=false;t.resume()}};return this};if(typeof Symbol==="function"){Readable.prototype[Symbol.asyncIterator]=function(){if(C===undefined){C=i(2250)}return C(this)}}Object.defineProperty(Readable.prototype,"readableHighWaterMark",{enumerable:false,get:function get(){return this._readableState.highWaterMark}});Object.defineProperty(Readable.prototype,"readableBuffer",{enumerable:false,get:function get(){return this._readableState&&this._readableState.buffer}});Object.defineProperty(Readable.prototype,"readableFlowing",{enumerable:false,get:function get(){return this._readableState.flowing},set:function set(t){if(this._readableState){this._readableState.flowing=t}}});Readable._fromList=fromList;Object.defineProperty(Readable.prototype,"readableLength",{enumerable:false,get:function get(){return this._readableState.length}});function fromList(t,r){if(r.length===0)return null;var i;if(r.objectMode)i=r.buffer.shift();else if(!t||t>=r.length){if(r.decoder)i=r.buffer.join("");else if(r.buffer.length===1)i=r.buffer.first();else i=r.buffer.concat(r.length);r.buffer.clear()}else{i=r.buffer.consume(t,r.decoder)}return i}function endReadable(t){var r=t._readableState;m("endReadable",r.endEmitted);if(!r.endEmitted){r.ended=true;process.nextTick(endReadableNT,r,t)}}function endReadableNT(t,r){m("endReadableNT",t.endEmitted,t.length);if(!t.endEmitted&&t.length===0){t.endEmitted=true;r.readable=false;r.emit("end");if(t.autoDestroy){var i=r._writableState;if(!i||i.autoDestroy&&i.finished){r.destroy()}}}}if(typeof Symbol==="function"){Readable.from=function(t,r){if(x===undefined){x=i(7453)}return x(Readable,t,r)}}function indexOf(t,r){for(var i=0,o=t.length;i<o;i++){if(t[i]===r)return i}return-1}},5469:(t,r,i)=>{"use strict";t.exports=Transform;var o=i(3130).q,a=o.ERR_METHOD_NOT_IMPLEMENTED,u=o.ERR_MULTIPLE_CALLBACK,l=o.ERR_TRANSFORM_ALREADY_TRANSFORMING,h=o.ERR_TRANSFORM_WITH_LENGTH_0;var p=i(8393);i(6919)(Transform,p);function afterTransform(t,r){var i=this._transformState;i.transforming=false;var o=i.writecb;if(o===null){return this.emit("error",new u)}i.writechunk=null;i.writecb=null;if(r!=null)this.push(r);o(t);var a=this._readableState;a.reading=false;if(a.needReadable||a.length<a.highWaterMark){this._read(a.highWaterMark)}}function Transform(t){if(!(this instanceof Transform))return new Transform(t);p.call(this,t);this._transformState={afterTransform:afterTransform.bind(this),needTransform:false,transforming:false,writecb:null,writechunk:null,writeencoding:null};this._readableState.needReadable=true;this._readableState.sync=false;if(t){if(typeof t.transform==="function")this._transform=t.transform;if(typeof t.flush==="function")this._flush=t.flush}this.on("prefinish",prefinish)}function prefinish(){var t=this;if(typeof this._flush==="function"&&!this._readableState.destroyed){this._flush((function(r,i){done(t,r,i)}))}else{done(this,null,null)}}Transform.prototype.push=function(t,r){this._transformState.needTransform=false;return p.prototype.push.call(this,t,r)};Transform.prototype._transform=function(t,r,i){i(new a("_transform()"))};Transform.prototype._write=function(t,r,i){var o=this._transformState;o.writecb=i;o.writechunk=t;o.writeencoding=r;if(!o.transforming){var a=this._readableState;if(o.needTransform||a.needReadable||a.length<a.highWaterMark)this._read(a.highWaterMark)}};Transform.prototype._read=function(t){var r=this._transformState;if(r.writechunk!==null&&!r.transforming){r.transforming=true;this._transform(r.writechunk,r.writeencoding,r.afterTransform)}else{r.needTransform=true}};Transform.prototype._destroy=function(t,r){p.prototype._destroy.call(this,t,(function(t){r(t)}))};function done(t,r,i){if(r)return t.emit("error",r);if(i!=null)t.push(i);if(t._writableState.length)throw new h;if(t._transformState.transforming)throw new l;return t.push(null)}},6100:(t,r,i)=>{"use strict";t.exports=Writable;function WriteReq(t,r,i){this.chunk=t;this.encoding=r;this.callback=i;this.next=null}function CorkedRequest(t){var r=this;this.next=null;this.entry=null;this.finish=function(){onCorkedFinish(r,t)}}var o;Writable.WritableState=WritableState;var a={deprecate:i(9209)};var u=i(5016);var l=i(4300).Buffer;var h=global.Uint8Array||function(){};function _uint8ArrayToBuffer(t){return l.from(t)}function _isUint8Array(t){return l.isBuffer(t)||t instanceof h}var p=i(3090);var d=i(5785),m=d.getHighWaterMark;var g=i(3130).q,y=g.ERR_INVALID_ARG_TYPE,v=g.ERR_METHOD_NOT_IMPLEMENTED,A=g.ERR_MULTIPLE_CALLBACK,b=g.ERR_STREAM_CANNOT_PIPE,w=g.ERR_STREAM_DESTROYED,E=g.ERR_STREAM_NULL_VALUES,S=g.ERR_STREAM_WRITE_AFTER_END,_=g.ERR_UNKNOWN_ENCODING;var D=p.errorOrDestroy;i(6919)(Writable,u);function nop(){}function WritableState(t,r,a){o=o||i(8393);t=t||{};if(typeof a!=="boolean")a=r instanceof o;this.objectMode=!!t.objectMode;if(a)this.objectMode=this.objectMode||!!t.writableObjectMode;this.highWaterMark=m(this,t,"writableHighWaterMark",a);this.finalCalled=false;this.needDrain=false;this.ending=false;this.ended=false;this.finished=false;this.destroyed=false;var u=t.decodeStrings===false;this.decodeStrings=!u;this.defaultEncoding=t.defaultEncoding||"utf8";this.length=0;this.writing=false;this.corked=0;this.sync=true;this.bufferProcessing=false;this.onwrite=function(t){onwrite(r,t)};this.writecb=null;this.writelen=0;this.bufferedRequest=null;this.lastBufferedRequest=null;this.pendingcb=0;this.prefinished=false;this.errorEmitted=false;this.emitClose=t.emitClose!==false;this.autoDestroy=!!t.autoDestroy;this.bufferedRequestCount=0;this.corkedRequestsFree=new CorkedRequest(this)}WritableState.prototype.getBuffer=function getBuffer(){var t=this.bufferedRequest;var r=[];while(t){r.push(t);t=t.next}return r};(function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:a.deprecate((function writableStateBufferGetter(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer "+"instead.","DEP0003")})}catch(t){}})();var C;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function"){C=Function.prototype[Symbol.hasInstance];Object.defineProperty(Writable,Symbol.hasInstance,{value:function value(t){if(C.call(this,t))return true;if(this!==Writable)return false;return t&&t._writableState instanceof WritableState}})}else{C=function realHasInstance(t){return t instanceof this}}function Writable(t){o=o||i(8393);var r=this instanceof o;if(!r&&!C.call(Writable,this))return new Writable(t);this._writableState=new WritableState(t,this,r);this.writable=true;if(t){if(typeof t.write==="function")this._write=t.write;if(typeof t.writev==="function")this._writev=t.writev;if(typeof t.destroy==="function")this._destroy=t.destroy;if(typeof t.final==="function")this._final=t.final}u.call(this)}Writable.prototype.pipe=function(){D(this,new b)};function writeAfterEnd(t,r){var i=new S;D(t,i);process.nextTick(r,i)}function validChunk(t,r,i,o){var a;if(i===null){a=new E}else if(typeof i!=="string"&&!r.objectMode){a=new y("chunk",["string","Buffer"],i)}if(a){D(t,a);process.nextTick(o,a);return false}return true}Writable.prototype.write=function(t,r,i){var o=this._writableState;var a=false;var u=!o.objectMode&&_isUint8Array(t);if(u&&!l.isBuffer(t)){t=_uint8ArrayToBuffer(t)}if(typeof r==="function"){i=r;r=null}if(u)r="buffer";else if(!r)r=o.defaultEncoding;if(typeof i!=="function")i=nop;if(o.ending)writeAfterEnd(this,i);else if(u||validChunk(this,o,t,i)){o.pendingcb++;a=writeOrBuffer(this,o,u,t,r,i)}return a};Writable.prototype.cork=function(){this._writableState.corked++};Writable.prototype.uncork=function(){var t=this._writableState;if(t.corked){t.corked--;if(!t.writing&&!t.corked&&!t.bufferProcessing&&t.bufferedRequest)clearBuffer(this,t)}};Writable.prototype.setDefaultEncoding=function setDefaultEncoding(t){if(typeof t==="string")t=t.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new _(t);this._writableState.defaultEncoding=t;return this};Object.defineProperty(Writable.prototype,"writableBuffer",{enumerable:false,get:function get(){return this._writableState&&this._writableState.getBuffer()}});function decodeChunk(t,r,i){if(!t.objectMode&&t.decodeStrings!==false&&typeof r==="string"){r=l.from(r,i)}return r}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:false,get:function get(){return this._writableState.highWaterMark}});function writeOrBuffer(t,r,i,o,a,u){if(!i){var l=decodeChunk(r,o,a);if(o!==l){i=true;a="buffer";o=l}}var h=r.objectMode?1:o.length;r.length+=h;var p=r.length<r.highWaterMark;if(!p)r.needDrain=true;if(r.writing||r.corked){var d=r.lastBufferedRequest;r.lastBufferedRequest={chunk:o,encoding:a,isBuf:i,callback:u,next:null};if(d){d.next=r.lastBufferedRequest}else{r.bufferedRequest=r.lastBufferedRequest}r.bufferedRequestCount+=1}else{doWrite(t,r,false,h,o,a,u)}return p}function doWrite(t,r,i,o,a,u,l){r.writelen=o;r.writecb=l;r.writing=true;r.sync=true;if(r.destroyed)r.onwrite(new w("write"));else if(i)t._writev(a,r.onwrite);else t._write(a,u,r.onwrite);r.sync=false}function onwriteError(t,r,i,o,a){--r.pendingcb;if(i){process.nextTick(a,o);process.nextTick(finishMaybe,t,r);t._writableState.errorEmitted=true;D(t,o)}else{a(o);t._writableState.errorEmitted=true;D(t,o);finishMaybe(t,r)}}function onwriteStateUpdate(t){t.writing=false;t.writecb=null;t.length-=t.writelen;t.writelen=0}function onwrite(t,r){var i=t._writableState;var o=i.sync;var a=i.writecb;if(typeof a!=="function")throw new A;onwriteStateUpdate(i);if(r)onwriteError(t,i,o,r,a);else{var u=needFinish(i)||t.destroyed;if(!u&&!i.corked&&!i.bufferProcessing&&i.bufferedRequest){clearBuffer(t,i)}if(o){process.nextTick(afterWrite,t,i,u,a)}else{afterWrite(t,i,u,a)}}}function afterWrite(t,r,i,o){if(!i)onwriteDrain(t,r);r.pendingcb--;o();finishMaybe(t,r)}function onwriteDrain(t,r){if(r.length===0&&r.needDrain){r.needDrain=false;t.emit("drain")}}function clearBuffer(t,r){r.bufferProcessing=true;var i=r.bufferedRequest;if(t._writev&&i&&i.next){var o=r.bufferedRequestCount;var a=new Array(o);var u=r.corkedRequestsFree;u.entry=i;var l=0;var h=true;while(i){a[l]=i;if(!i.isBuf)h=false;i=i.next;l+=1}a.allBuffers=h;doWrite(t,r,true,r.length,a,"",u.finish);r.pendingcb++;r.lastBufferedRequest=null;if(u.next){r.corkedRequestsFree=u.next;u.next=null}else{r.corkedRequestsFree=new CorkedRequest(r)}r.bufferedRequestCount=0}else{while(i){var p=i.chunk;var d=i.encoding;var m=i.callback;var g=r.objectMode?1:p.length;doWrite(t,r,false,g,p,d,m);i=i.next;r.bufferedRequestCount--;if(r.writing){break}}if(i===null)r.lastBufferedRequest=null}r.bufferedRequest=i;r.bufferProcessing=false}Writable.prototype._write=function(t,r,i){i(new v("_write()"))};Writable.prototype._writev=null;Writable.prototype.end=function(t,r,i){var o=this._writableState;if(typeof t==="function"){i=t;t=null;r=null}else if(typeof r==="function"){i=r;r=null}if(t!==null&&t!==undefined)this.write(t,r);if(o.corked){o.corked=1;this.uncork()}if(!o.ending)endWritable(this,o,i);return this};Object.defineProperty(Writable.prototype,"writableLength",{enumerable:false,get:function get(){return this._writableState.length}});function needFinish(t){return t.ending&&t.length===0&&t.bufferedRequest===null&&!t.finished&&!t.writing}function callFinal(t,r){t._final((function(i){r.pendingcb--;if(i){D(t,i)}r.prefinished=true;t.emit("prefinish");finishMaybe(t,r)}))}function prefinish(t,r){if(!r.prefinished&&!r.finalCalled){if(typeof t._final==="function"&&!r.destroyed){r.pendingcb++;r.finalCalled=true;process.nextTick(callFinal,t,r)}else{r.prefinished=true;t.emit("prefinish")}}}function finishMaybe(t,r){var i=needFinish(r);if(i){prefinish(t,r);if(r.pendingcb===0){r.finished=true;t.emit("finish");if(r.autoDestroy){var o=t._readableState;if(!o||o.autoDestroy&&o.endEmitted){t.destroy()}}}}return i}function endWritable(t,r,i){r.ending=true;finishMaybe(t,r);if(i){if(r.finished)process.nextTick(i);else t.once("finish",i)}r.ended=true;t.writable=false}function onCorkedFinish(t,r,i){var o=t.entry;t.entry=null;while(o){var a=o.callback;r.pendingcb--;a(i);o=o.next}r.corkedRequestsFree.next=t}Object.defineProperty(Writable.prototype,"destroyed",{enumerable:false,get:function get(){if(this._writableState===undefined){return false}return this._writableState.destroyed},set:function set(t){if(!this._writableState){return}this._writableState.destroyed=t}});Writable.prototype.destroy=p.destroy;Writable.prototype._undestroy=p.undestroy;Writable.prototype._destroy=function(t,r){r(t)}},2250:(t,r,i)=>{"use strict";var o;function _defineProperty(t,r,i){if(r in t){Object.defineProperty(t,r,{value:i,enumerable:true,configurable:true,writable:true})}else{t[r]=i}return t}var a=i(4360);var u=Symbol("lastResolve");var l=Symbol("lastReject");var h=Symbol("error");var p=Symbol("ended");var d=Symbol("lastPromise");var m=Symbol("handlePromise");var g=Symbol("stream");function createIterResult(t,r){return{value:t,done:r}}function readAndResolve(t){var r=t[u];if(r!==null){var i=t[g].read();if(i!==null){t[d]=null;t[u]=null;t[l]=null;r(createIterResult(i,false))}}}function onReadable(t){process.nextTick(readAndResolve,t)}function wrapForNext(t,r){return function(i,o){t.then((function(){if(r[p]){i(createIterResult(undefined,true));return}r[m](i,o)}),o)}}var y=Object.getPrototypeOf((function(){}));var v=Object.setPrototypeOf((o={get stream(){return this[g]},next:function next(){var t=this;var r=this[h];if(r!==null){return Promise.reject(r)}if(this[p]){return Promise.resolve(createIterResult(undefined,true))}if(this[g].destroyed){return new Promise((function(r,i){process.nextTick((function(){if(t[h]){i(t[h])}else{r(createIterResult(undefined,true))}}))}))}var i=this[d];var o;if(i){o=new Promise(wrapForNext(i,this))}else{var a=this[g].read();if(a!==null){return Promise.resolve(createIterResult(a,false))}o=new Promise(this[m])}this[d]=o;return o}},_defineProperty(o,Symbol.asyncIterator,(function(){return this})),_defineProperty(o,"return",(function _return(){var t=this;return new Promise((function(r,i){t[g].destroy(null,(function(t){if(t){i(t);return}r(createIterResult(undefined,true))}))}))})),o),y);var A=function createReadableStreamAsyncIterator(t){var r;var i=Object.create(v,(r={},_defineProperty(r,g,{value:t,writable:true}),_defineProperty(r,u,{value:null,writable:true}),_defineProperty(r,l,{value:null,writable:true}),_defineProperty(r,h,{value:null,writable:true}),_defineProperty(r,p,{value:t._readableState.endEmitted,writable:true}),_defineProperty(r,m,{value:function value(t,r){var o=i[g].read();if(o){i[d]=null;i[u]=null;i[l]=null;t(createIterResult(o,false))}else{i[u]=t;i[l]=r}},writable:true}),r));i[d]=null;a(t,(function(t){if(t&&t.code!=="ERR_STREAM_PREMATURE_CLOSE"){var r=i[l];if(r!==null){i[d]=null;i[u]=null;i[l]=null;r(t)}i[h]=t;return}var o=i[u];if(o!==null){i[d]=null;i[u]=null;i[l]=null;o(createIterResult(undefined,true))}i[p]=true}));t.on("readable",onReadable.bind(null,i));return i};t.exports=A},3900:(t,r,i)=>{"use strict";function ownKeys(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);if(r)o=o.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}));i.push.apply(i,o)}return i}function _objectSpread(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};if(r%2){ownKeys(Object(i),true).forEach((function(r){_defineProperty(t,r,i[r])}))}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(t,Object.getOwnPropertyDescriptors(i))}else{ownKeys(Object(i)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))}))}}return t}function _defineProperty(t,r,i){if(r in t){Object.defineProperty(t,r,{value:i,enumerable:true,configurable:true,writable:true})}else{t[r]=i}return t}function _classCallCheck(t,r){if(!(t instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(t,r){for(var i=0;i<r.length;i++){var o=r[i];o.enumerable=o.enumerable||false;o.configurable=true;if("value"in o)o.writable=true;Object.defineProperty(t,o.key,o)}}function _createClass(t,r,i){if(r)_defineProperties(t.prototype,r);if(i)_defineProperties(t,i);return t}var o=i(4300),a=o.Buffer;var u=i(3837),l=u.inspect;var h=l&&l.custom||"inspect";function copyBuffer(t,r,i){a.prototype.copy.call(t,r,i)}t.exports=function(){function BufferList(){_classCallCheck(this,BufferList);this.head=null;this.tail=null;this.length=0}_createClass(BufferList,[{key:"push",value:function push(t){var r={data:t,next:null};if(this.length>0)this.tail.next=r;else this.head=r;this.tail=r;++this.length}},{key:"unshift",value:function unshift(t){var r={data:t,next:this.head};if(this.length===0)this.tail=r;this.head=r;++this.length}},{key:"shift",value:function shift(){if(this.length===0)return;var t=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;--this.length;return t}},{key:"clear",value:function clear(){this.head=this.tail=null;this.length=0}},{key:"join",value:function join(t){if(this.length===0)return"";var r=this.head;var i=""+r.data;while(r=r.next){i+=t+r.data}return i}},{key:"concat",value:function concat(t){if(this.length===0)return a.alloc(0);var r=a.allocUnsafe(t>>>0);var i=this.head;var o=0;while(i){copyBuffer(i.data,r,o);o+=i.data.length;i=i.next}return r}},{key:"consume",value:function consume(t,r){var i;if(t<this.head.data.length){i=this.head.data.slice(0,t);this.head.data=this.head.data.slice(t)}else if(t===this.head.data.length){i=this.shift()}else{i=r?this._getString(t):this._getBuffer(t)}return i}},{key:"first",value:function first(){return this.head.data}},{key:"_getString",value:function _getString(t){var r=this.head;var i=1;var o=r.data;t-=o.length;while(r=r.next){var a=r.data;var u=t>a.length?a.length:t;if(u===a.length)o+=a;else o+=a.slice(0,t);t-=u;if(t===0){if(u===a.length){++i;if(r.next)this.head=r.next;else this.head=this.tail=null}else{this.head=r;r.data=a.slice(u)}break}++i}this.length-=i;return o}},{key:"_getBuffer",value:function _getBuffer(t){var r=a.allocUnsafe(t);var i=this.head;var o=1;i.data.copy(r);t-=i.data.length;while(i=i.next){var u=i.data;var l=t>u.length?u.length:t;u.copy(r,r.length-t,0,l);t-=l;if(t===0){if(l===u.length){++o;if(i.next)this.head=i.next;else this.head=this.tail=null}else{this.head=i;i.data=u.slice(l)}break}++o}this.length-=o;return r}},{key:h,value:function value(t,r){return l(this,_objectSpread({},r,{depth:0,customInspect:false}))}}]);return BufferList}()},3090:t=>{"use strict";function destroy(t,r){var i=this;var o=this._readableState&&this._readableState.destroyed;var a=this._writableState&&this._writableState.destroyed;if(o||a){if(r){r(t)}else if(t){if(!this._writableState){process.nextTick(emitErrorNT,this,t)}else if(!this._writableState.errorEmitted){this._writableState.errorEmitted=true;process.nextTick(emitErrorNT,this,t)}}return this}if(this._readableState){this._readableState.destroyed=true}if(this._writableState){this._writableState.destroyed=true}this._destroy(t||null,(function(t){if(!r&&t){if(!i._writableState){process.nextTick(emitErrorAndCloseNT,i,t)}else if(!i._writableState.errorEmitted){i._writableState.errorEmitted=true;process.nextTick(emitErrorAndCloseNT,i,t)}else{process.nextTick(emitCloseNT,i)}}else if(r){process.nextTick(emitCloseNT,i);r(t)}else{process.nextTick(emitCloseNT,i)}}));return this}function emitErrorAndCloseNT(t,r){emitErrorNT(t,r);emitCloseNT(t)}function emitCloseNT(t){if(t._writableState&&!t._writableState.emitClose)return;if(t._readableState&&!t._readableState.emitClose)return;t.emit("close")}function undestroy(){if(this._readableState){this._readableState.destroyed=false;this._readableState.reading=false;this._readableState.ended=false;this._readableState.endEmitted=false}if(this._writableState){this._writableState.destroyed=false;this._writableState.ended=false;this._writableState.ending=false;this._writableState.finalCalled=false;this._writableState.prefinished=false;this._writableState.finished=false;this._writableState.errorEmitted=false}}function emitErrorNT(t,r){t.emit("error",r)}function errorOrDestroy(t,r){var i=t._readableState;var o=t._writableState;if(i&&i.autoDestroy||o&&o.autoDestroy)t.destroy(r);else t.emit("error",r)}t.exports={destroy:destroy,undestroy:undestroy,errorOrDestroy:errorOrDestroy}},4360:(t,r,i)=>{"use strict";var o=i(3130).q.ERR_STREAM_PREMATURE_CLOSE;function once(t){var r=false;return function(){if(r)return;r=true;for(var i=arguments.length,o=new Array(i),a=0;a<i;a++){o[a]=arguments[a]}t.apply(this,o)}}function noop(){}function isRequest(t){return t.setHeader&&typeof t.abort==="function"}function eos(t,r,i){if(typeof r==="function")return eos(t,null,r);if(!r)r={};i=once(i||noop);var a=r.readable||r.readable!==false&&t.readable;var u=r.writable||r.writable!==false&&t.writable;var l=function onlegacyfinish(){if(!t.writable)p()};var h=t._writableState&&t._writableState.finished;var p=function onfinish(){u=false;h=true;if(!a)i.call(t)};var d=t._readableState&&t._readableState.endEmitted;var m=function onend(){a=false;d=true;if(!u)i.call(t)};var g=function onerror(r){i.call(t,r)};var y=function onclose(){var r;if(a&&!d){if(!t._readableState||!t._readableState.ended)r=new o;return i.call(t,r)}if(u&&!h){if(!t._writableState||!t._writableState.ended)r=new o;return i.call(t,r)}};var v=function onrequest(){t.req.on("finish",p)};if(isRequest(t)){t.on("complete",p);t.on("abort",y);if(t.req)v();else t.on("request",v)}else if(u&&!t._writableState){t.on("end",l);t.on("close",l)}t.on("end",m);t.on("finish",p);if(r.error!==false)t.on("error",g);t.on("close",y);return function(){t.removeListener("complete",p);t.removeListener("abort",y);t.removeListener("request",v);if(t.req)t.req.removeListener("finish",p);t.removeListener("end",l);t.removeListener("close",l);t.removeListener("finish",p);t.removeListener("end",m);t.removeListener("error",g);t.removeListener("close",y)}}t.exports=eos},7453:(t,r,i)=>{"use strict";function asyncGeneratorStep(t,r,i,o,a,u,l){try{var h=t[u](l);var p=h.value}catch(t){i(t);return}if(h.done){r(p)}else{Promise.resolve(p).then(o,a)}}function _asyncToGenerator(t){return function(){var r=this,i=arguments;return new Promise((function(o,a){var u=t.apply(r,i);function _next(t){asyncGeneratorStep(u,o,a,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(u,o,a,_next,_throw,"throw",t)}_next(undefined)}))}}function ownKeys(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);if(r)o=o.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}));i.push.apply(i,o)}return i}function _objectSpread(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};if(r%2){ownKeys(Object(i),true).forEach((function(r){_defineProperty(t,r,i[r])}))}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(t,Object.getOwnPropertyDescriptors(i))}else{ownKeys(Object(i)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))}))}}return t}function _defineProperty(t,r,i){if(r in t){Object.defineProperty(t,r,{value:i,enumerable:true,configurable:true,writable:true})}else{t[r]=i}return t}var o=i(3130).q.ERR_INVALID_ARG_TYPE;function from(t,r,i){var a;if(r&&typeof r.next==="function"){a=r}else if(r&&r[Symbol.asyncIterator])a=r[Symbol.asyncIterator]();else if(r&&r[Symbol.iterator])a=r[Symbol.iterator]();else throw new o("iterable",["Iterable"],r);var u=new t(_objectSpread({objectMode:true},i));var l=false;u._read=function(){if(!l){l=true;next()}};function next(){return _next2.apply(this,arguments)}function _next2(){_next2=_asyncToGenerator((function*(){try{var t=yield a.next(),r=t.value,i=t.done;if(i){u.push(null)}else if(u.push(yield r)){next()}else{l=false}}catch(t){u.destroy(t)}}));return _next2.apply(this,arguments)}return u}t.exports=from},1391:(t,r,i)=>{"use strict";var o;function once(t){var r=false;return function(){if(r)return;r=true;t.apply(void 0,arguments)}}var a=i(3130).q,u=a.ERR_MISSING_ARGS,l=a.ERR_STREAM_DESTROYED;function noop(t){if(t)throw t}function isRequest(t){return t.setHeader&&typeof t.abort==="function"}function destroyer(t,r,a,u){u=once(u);var h=false;t.on("close",(function(){h=true}));if(o===undefined)o=i(4360);o(t,{readable:r,writable:a},(function(t){if(t)return u(t);h=true;u()}));var p=false;return function(r){if(h)return;if(p)return;p=true;if(isRequest(t))return t.abort();if(typeof t.destroy==="function")return t.destroy();u(r||new l("pipe"))}}function call(t){t()}function pipe(t,r){return t.pipe(r)}function popCallback(t){if(!t.length)return noop;if(typeof t[t.length-1]!=="function")return noop;return t.pop()}function pipeline(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++){r[i]=arguments[i]}var o=popCallback(r);if(Array.isArray(r[0]))r=r[0];if(r.length<2){throw new u("streams")}var a;var l=r.map((function(t,i){var u=i<r.length-1;var h=i>0;return destroyer(t,u,h,(function(t){if(!a)a=t;if(t)l.forEach(call);if(u)return;l.forEach(call);o(a)}))}));return r.reduce(pipe)}t.exports=pipeline},5785:(t,r,i)=>{"use strict";var o=i(3130).q.ERR_INVALID_OPT_VALUE;function highWaterMarkFrom(t,r,i){return t.highWaterMark!=null?t.highWaterMark:r?t[i]:null}function getHighWaterMark(t,r,i,a){var u=highWaterMarkFrom(r,a,i);if(u!=null){if(!(isFinite(u)&&Math.floor(u)===u)||u<0){var l=a?i:"highWaterMark";throw new o(l,u)}return Math.floor(u)}return t.objectMode?16:16*1024}t.exports={getHighWaterMark:getHighWaterMark}},5016:(t,r,i)=>{t.exports=i(2781)},675:(t,r,i)=>{var o=i(2781);if(process.env.READABLE_STREAM==="disable"&&o){t.exports=o.Readable;Object.assign(t.exports,o);t.exports.Stream=o}else{r=t.exports=i(284);r.Stream=o||r;r.Readable=r;r.Writable=i(6100);r.Duplex=i(8393);r.Transform=i(5469);r.PassThrough=i(5125);r.finished=i(4360);r.pipeline=i(1391)}},4955:(t,r,i)=>{const o=i(3118).Buffer;function decodeBase64(t){return o.from(t,"base64").toString("utf8")}function encodeBase64(t){return o.from(t,"utf8").toString("base64")}t.exports={decodeBase64:decodeBase64,encodeBase64:encodeBase64}},1384:(t,r,i)=>{var o=i(7310);var a=i(4955);var u=a.decodeBase64;var l=a.encodeBase64;var h=":_authToken";var p=":username";var d=":_password";t.exports=function(){var t;var r;if(arguments.length>=2){t=arguments[0];r=arguments[1]}else if(typeof arguments[0]==="string"){t=arguments[0]}else{r=arguments[0]}r=r||{};r.npmrc=r.npmrc||i(8271)("npm",{registry:"https://registry.npmjs.org/"});t=t||r.npmrc.registry;return getRegistryAuthInfo(t,r)||getLegacyAuthInfo(r.npmrc)};function getRegistryAuthInfo(t,r){var i=o.parse(t,false,true);var a;while(a!=="/"&&i.pathname!==a){a=i.pathname||"/";var u="//"+i.host+a.replace(/\/$/,"");var l=getAuthInfoForUrl(u,r.npmrc);if(l){return l}if(!r.recursive){return/\/$/.test(t)?undefined:getRegistryAuthInfo(o.resolve(t,"."),r)}i.pathname=o.resolve(normalizePath(a),"..")||"/"}return undefined}function getLegacyAuthInfo(t){if(t._auth){return{token:t._auth,type:"Basic"}}return undefined}function normalizePath(t){return t[t.length-1]==="/"?t:t+"/"}function getAuthInfoForUrl(t,r){var i=getBearerToken(r[t+h]||r[t+"/"+h]);if(i){return i}var o=r[t+p]||r[t+"/"+p];var a=r[t+d]||r[t+"/"+d];var u=getTokenForUsernameAndPassword(o,a);if(u){return u}return undefined}function getBearerToken(t){if(!t){return undefined}var r=t.replace(/^\$\{?([^}]*)\}?$/,(function(t,r){return process.env[r]}));return{token:r,type:"Bearer"}}function getTokenForUsernameAndPassword(t,r){if(!t||!r){return undefined}var i=u(r.replace(/^\$\{?([^}]*)\}?$/,(function(t,r){return process.env[r]})));var o=l(t+":"+i);return{token:o,type:"Basic",password:i,username:t}}},2447:(t,r,i)=>{"use strict";t.exports=function(t){var r=i(8271)("npm",{registry:"https://registry.npmjs.org/"});var o=r[t+":registry"]||r.registry;return o.slice(-1)==="/"?o:o+"/"}},7301:(t,r,i)=>{(()=>{"use strict";var r={610:(t,r,i)=>{const o=i(8750);const a=i(9434);const u=i(5873);const l=i(6477);const braces=(t,r={})=>{let i=[];if(Array.isArray(t)){for(const o of t){const t=braces.create(o,r);if(Array.isArray(t)){i.push(...t)}else{i.push(t)}}}else{i=[].concat(braces.create(t,r))}if(r&&r.expand===true&&r.nodupes===true){i=[...new Set(i)]}return i};braces.parse=(t,r={})=>l(t,r);braces.stringify=(t,r={})=>{if(typeof t==="string"){return o(braces.parse(t,r),r)}return o(t,r)};braces.compile=(t,r={})=>{if(typeof t==="string"){t=braces.parse(t,r)}return a(t,r)};braces.expand=(t,r={})=>{if(typeof t==="string"){t=braces.parse(t,r)}let i=u(t,r);if(r.noempty===true){i=i.filter(Boolean)}if(r.nodupes===true){i=[...new Set(i)]}return i};braces.create=(t,r={})=>{if(t===""||t.length<3){return[t]}return r.expand!==true?braces.compile(t,r):braces.expand(t,r)};t.exports=braces},9434:(t,r,i)=>{const o=i(6330);const a=i(5207);const compile=(t,r={})=>{const walk=(t,i={})=>{const u=a.isInvalidBrace(i);const l=t.invalid===true&&r.escapeInvalid===true;const h=u===true||l===true;const p=r.escapeInvalid===true?"\\":"";let d="";if(t.isOpen===true){return p+t.value}if(t.isClose===true){console.log("node.isClose",p,t.value);return p+t.value}if(t.type==="open"){return h?p+t.value:"("}if(t.type==="close"){return h?p+t.value:")"}if(t.type==="comma"){return t.prev.type==="comma"?"":h?t.value:"|"}if(t.value){return t.value}if(t.nodes&&t.ranges>0){const i=a.reduce(t.nodes);const u=o(...i,{...r,wrap:false,toRegex:true,strictZeros:true});if(u.length!==0){return i.length>1&&u.length>1?`(${u})`:u}}if(t.nodes){for(const r of t.nodes){d+=walk(r,t)}}return d};return walk(t)};t.exports=compile},8774:t=>{t.exports={MAX_LENGTH:1e4,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:"\n",CHAR_NO_BREAK_SPACE:" ",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"}},5873:(t,r,i)=>{const o=i(6330);const a=i(8750);const u=i(5207);const append=(t="",r="",i=false)=>{const o=[];t=[].concat(t);r=[].concat(r);if(!r.length)return t;if(!t.length){return i?u.flatten(r).map((t=>`{${t}}`)):r}for(const a of t){if(Array.isArray(a)){for(const t of a){o.push(append(t,r,i))}}else{for(let t of r){if(i===true&&typeof t==="string")t=`{${t}}`;o.push(Array.isArray(t)?append(a,t,i):a+t)}}}return u.flatten(o)};const expand=(t,r={})=>{const i=r.rangeLimit===undefined?1e3:r.rangeLimit;const walk=(t,l={})=>{t.queue=[];let h=l;let p=l.queue;while(h.type!=="brace"&&h.type!=="root"&&h.parent){h=h.parent;p=h.queue}if(t.invalid||t.dollar){p.push(append(p.pop(),a(t,r)));return}if(t.type==="brace"&&t.invalid!==true&&t.nodes.length===2){p.push(append(p.pop(),["{}"]));return}if(t.nodes&&t.ranges>0){const l=u.reduce(t.nodes);if(u.exceedsLimit(...l,r.step,i)){throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.")}let h=o(...l,r);if(h.length===0){h=a(t,r)}p.push(append(p.pop(),h));t.nodes=[];return}const d=u.encloseBrace(t);let m=t.queue;let g=t;while(g.type!=="brace"&&g.type!=="root"&&g.parent){g=g.parent;m=g.queue}for(let r=0;r<t.nodes.length;r++){const i=t.nodes[r];if(i.type==="comma"&&t.type==="brace"){if(r===1)m.push("");m.push("");continue}if(i.type==="close"){p.push(append(p.pop(),m,d));continue}if(i.value&&i.type!=="open"){m.push(append(m.pop(),i.value));continue}if(i.nodes){walk(i,t)}}return m};return u.flatten(walk(t))};t.exports=expand},6477:(t,r,i)=>{const o=i(8750);const{MAX_LENGTH:a,CHAR_BACKSLASH:u,CHAR_BACKTICK:l,CHAR_COMMA:h,CHAR_DOT:p,CHAR_LEFT_PARENTHESES:d,CHAR_RIGHT_PARENTHESES:m,CHAR_LEFT_CURLY_BRACE:g,CHAR_RIGHT_CURLY_BRACE:y,CHAR_LEFT_SQUARE_BRACKET:v,CHAR_RIGHT_SQUARE_BRACKET:A,CHAR_DOUBLE_QUOTE:b,CHAR_SINGLE_QUOTE:w,CHAR_NO_BREAK_SPACE:E,CHAR_ZERO_WIDTH_NOBREAK_SPACE:S}=i(8774);const parse=(t,r={})=>{if(typeof t!=="string"){throw new TypeError("Expected a string")}const i=r||{};const _=typeof i.maxLength==="number"?Math.min(a,i.maxLength):a;if(t.length>_){throw new SyntaxError(`Input length (${t.length}), exceeds max characters (${_})`)}const D={type:"root",input:t,nodes:[]};const C=[D];let x=D;let O=D;let R=0;const k=t.length;let T=0;let P=0;let L;const advance=()=>t[T++];const push=t=>{if(t.type==="text"&&O.type==="dot"){O.type="text"}if(O&&O.type==="text"&&t.type==="text"){O.value+=t.value;return}x.nodes.push(t);t.parent=x;t.prev=O;O=t;return t};push({type:"bos"});while(T<k){x=C[C.length-1];L=advance();if(L===S||L===E){continue}if(L===u){push({type:"text",value:(r.keepEscaping?L:"")+advance()});continue}if(L===A){push({type:"text",value:"\\"+L});continue}if(L===v){R++;let t;while(T<k&&(t=advance())){L+=t;if(t===v){R++;continue}if(t===u){L+=advance();continue}if(t===A){R--;if(R===0){break}}}push({type:"text",value:L});continue}if(L===d){x=push({type:"paren",nodes:[]});C.push(x);push({type:"text",value:L});continue}if(L===m){if(x.type!=="paren"){push({type:"text",value:L});continue}x=C.pop();push({type:"text",value:L});x=C[C.length-1];continue}if(L===b||L===w||L===l){const t=L;let i;if(r.keepQuotes!==true){L=""}while(T<k&&(i=advance())){if(i===u){L+=i+advance();continue}if(i===t){if(r.keepQuotes===true)L+=i;break}L+=i}push({type:"text",value:L});continue}if(L===g){P++;const t=O.value&&O.value.slice(-1)==="$"||x.dollar===true;const r={type:"brace",open:true,close:false,dollar:t,depth:P,commas:0,ranges:0,nodes:[]};x=push(r);C.push(x);push({type:"open",value:L});continue}if(L===y){if(x.type!=="brace"){push({type:"text",value:L});continue}const t="close";x=C.pop();x.close=true;push({type:t,value:L});P--;x=C[C.length-1];continue}if(L===h&&P>0){if(x.ranges>0){x.ranges=0;const t=x.nodes.shift();x.nodes=[t,{type:"text",value:o(x)}]}push({type:"comma",value:L});x.commas++;continue}if(L===p&&P>0&&x.commas===0){const t=x.nodes;if(P===0||t.length===0){push({type:"text",value:L});continue}if(O.type==="dot"){x.range=[];O.value+=L;O.type="range";if(x.nodes.length!==3&&x.nodes.length!==5){x.invalid=true;x.ranges=0;O.type="text";continue}x.ranges++;x.args=[];continue}if(O.type==="range"){t.pop();const r=t[t.length-1];r.value+=O.value+L;O=r;x.ranges--;continue}push({type:"dot",value:L});continue}push({type:"text",value:L})}do{x=C.pop();if(x.type!=="root"){x.nodes.forEach((t=>{if(!t.nodes){if(t.type==="open")t.isOpen=true;if(t.type==="close")t.isClose=true;if(!t.nodes)t.type="text";t.invalid=true}}));const t=C[C.length-1];const r=t.nodes.indexOf(x);t.nodes.splice(r,1,...x.nodes)}}while(C.length>0);push({type:"eos"});return D};t.exports=parse},8750:(t,r,i)=>{const o=i(5207);t.exports=(t,r={})=>{const stringify=(t,i={})=>{const a=r.escapeInvalid&&o.isInvalidBrace(i);const u=t.invalid===true&&r.escapeInvalid===true;let l="";if(t.value){if((a||u)&&o.isOpenOrClose(t)){return"\\"+t.value}return t.value}if(t.value){return t.value}if(t.nodes){for(const r of t.nodes){l+=stringify(r)}}return l};return stringify(t)}},5207:(t,r)=>{r.isInteger=t=>{if(typeof t==="number"){return Number.isInteger(t)}if(typeof t==="string"&&t.trim()!==""){return Number.isInteger(Number(t))}return false};r.find=(t,r)=>t.nodes.find((t=>t.type===r));r.exceedsLimit=(t,i,o=1,a)=>{if(a===false)return false;if(!r.isInteger(t)||!r.isInteger(i))return false;return(Number(i)-Number(t))/Number(o)>=a};r.escapeNode=(t,r=0,i)=>{const o=t.nodes[r];if(!o)return;if(i&&o.type===i||o.type==="open"||o.type==="close"){if(o.escaped!==true){o.value="\\"+o.value;o.escaped=true}}};r.encloseBrace=t=>{if(t.type!=="brace")return false;if(t.commas>>0+t.ranges>>0===0){t.invalid=true;return true}return false};r.isInvalidBrace=t=>{if(t.type!=="brace")return false;if(t.invalid===true||t.dollar)return true;if(t.commas>>0+t.ranges>>0===0){t.invalid=true;return true}if(t.open!==true||t.close!==true){t.invalid=true;return true}return false};r.isOpenOrClose=t=>{if(t.type==="open"||t.type==="close"){return true}return t.open===true||t.close===true};r.reduce=t=>t.reduce(((t,r)=>{if(r.type==="text")t.push(r.value);if(r.type==="range")r.type="text";return t}),[]);r.flatten=(...t)=>{const r=[];const flat=t=>{for(let i=0;i<t.length;i++){const o=t[i];if(Array.isArray(o)){flat(o);continue}if(o!==undefined){r.push(o)}}return r};flat(t);return r}},6330:(t,r,i)=>{
40
+ (function(){var r;function MurmurHash3(t,i){var o=this instanceof MurmurHash3?this:r;o.reset(i);if(typeof t==="string"&&t.length>0){o.hash(t)}if(o!==this){return o}}MurmurHash3.prototype.hash=function(t){var r,i,o,a,u;u=t.length;this.len+=u;i=this.k1;o=0;switch(this.rem){case 0:i^=u>o?t.charCodeAt(o++)&65535:0;case 1:i^=u>o?(t.charCodeAt(o++)&65535)<<8:0;case 2:i^=u>o?(t.charCodeAt(o++)&65535)<<16:0;case 3:i^=u>o?(t.charCodeAt(o)&255)<<24:0;i^=u>o?(t.charCodeAt(o++)&65280)>>8:0}this.rem=u+this.rem&3;u-=this.rem;if(u>0){r=this.h1;while(1){i=i*11601+(i&65535)*3432906752&4294967295;i=i<<15|i>>>17;i=i*13715+(i&65535)*461832192&4294967295;r^=i;r=r<<13|r>>>19;r=r*5+3864292196&4294967295;if(o>=u){break}i=t.charCodeAt(o++)&65535^(t.charCodeAt(o++)&65535)<<8^(t.charCodeAt(o++)&65535)<<16;a=t.charCodeAt(o++);i^=(a&255)<<24^(a&65280)>>8}i=0;switch(this.rem){case 3:i^=(t.charCodeAt(o+2)&65535)<<16;case 2:i^=(t.charCodeAt(o+1)&65535)<<8;case 1:i^=t.charCodeAt(o)&65535}this.h1=r}this.k1=i;return this};MurmurHash3.prototype.result=function(){var t,r;t=this.k1;r=this.h1;if(t>0){t=t*11601+(t&65535)*3432906752&4294967295;t=t<<15|t>>>17;t=t*13715+(t&65535)*461832192&4294967295;r^=t}r^=this.len;r^=r>>>16;r=r*51819+(r&65535)*2246770688&4294967295;r^=r>>>13;r=r*44597+(r&65535)*3266445312&4294967295;r^=r>>>16;return r>>>0};MurmurHash3.prototype.reset=function(t){this.h1=typeof t==="number"?t:0;this.rem=this.k1=this.len=0;return this};r=new MurmurHash3;if(true){t.exports=MurmurHash3}else{}})()},6919:(t,r,i)=>{try{var o=i(3837);if(typeof o.inherits!=="function")throw"";t.exports=o.inherits}catch(r){t.exports=i(7526)}},7526:t=>{if(typeof Object.create==="function"){t.exports=function inherits(t,r){if(r){t.super_=r;t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:false,writable:true,configurable:true}})}}}else{t.exports=function inherits(t,r){if(r){t.super_=r;var TempCtor=function(){};TempCtor.prototype=r.prototype;t.prototype=new TempCtor;t.prototype.constructor=t}}}},1923:(t,r)=>{r.parse=r.decode=decode;r.stringify=r.encode=encode;r.safe=safe;r.unsafe=unsafe;var i=typeof process!=="undefined"&&process.platform==="win32"?"\r\n":"\n";function encode(t,r){var o=[];var a="";if(typeof r==="string"){r={section:r,whitespace:false}}else{r=r||{};r.whitespace=r.whitespace===true}var u=r.whitespace?" = ":"=";Object.keys(t).forEach((function(r,l,h){var p=t[r];if(p&&Array.isArray(p)){p.forEach((function(t){a+=safe(r+"[]")+u+safe(t)+"\n"}))}else if(p&&typeof p==="object")o.push(r);else a+=safe(r)+u+safe(p)+i}));if(r.section&&a.length)a="["+safe(r.section)+"]"+i+a;o.forEach((function(o,u,l){var h=dotSplit(o).join("\\.");var p=(r.section?r.section+".":"")+h;var d=encode(t[o],{section:p,whitespace:r.whitespace});if(a.length&&d.length)a+=i;a+=d}));return a}function dotSplit(t){return t.replace(/\1/g,"LITERAL\\1LITERAL").replace(/\\\./g,"").split(/\./).map((function(t){return t.replace(/\1/g,"\\.").replace(/\2LITERAL\\1LITERAL\2/g,"")}))}function decode(t){var r={};var i=r;var o=null;var a=/^\[([^\]]*)\]$|^([^=]+)(=(.*))?$/i;var u=t.split(/[\r\n]+/g);u.forEach((function(t,u,l){if(!t||t.match(/^\s*[;#]/))return;var h=t.match(a);if(!h)return;if(h[1]!==undefined){o=unsafe(h[1]);if(o==="__proto__"){i={};return}i=r[o]=r[o]||{};return}var p=unsafe(h[2]);if(p==="__proto__")return;var d=h[3]?unsafe(h[4]):true;switch(d){case"true":case"false":case"null":d=JSON.parse(d)}if(p.length>2&&p.slice(-2)==="[]"){p=p.substring(0,p.length-2);if(p==="__proto__")return;if(!i[p])i[p]=[];else if(!Array.isArray(i[p]))i[p]=[i[p]]}if(Array.isArray(i[p]))i[p].push(d);else i[p]=d}));Object.keys(r).filter((function(t,i,o){if(!r[t]||typeof r[t]!=="object"||Array.isArray(r[t]))return false;var a=dotSplit(t);var u=r;var l=a.pop();var h=l.replace(/\\\./g,".");a.forEach((function(t,r,i){if(t==="__proto__")return;if(!u[t]||typeof u[t]!=="object")u[t]={};u=u[t]}));if(u===r&&h===l)return false;u[h]=r[t];return true})).forEach((function(t,i,o){delete r[t]}));return r}function isQuoted(t){return t.charAt(0)==='"'&&t.slice(-1)==='"'||t.charAt(0)==="'"&&t.slice(-1)==="'"}function safe(t){return typeof t!=="string"||t.match(/[=\r\n]/)||t.match(/^\[/)||t.length>1&&isQuoted(t)||t!==t.trim()?JSON.stringify(t):t.replace(/;/g,"\\;").replace(/#/g,"\\#")}function unsafe(t,r){t=(t||"").trim();if(isQuoted(t)){if(t.charAt(0)==="'")t=t.substr(1,t.length-2);try{t=JSON.parse(t)}catch(t){}}else{var i=false;var o="";for(var a=0,u=t.length;a<u;a++){var l=t.charAt(a);if(i){if("\\;#".indexOf(l)!==-1)o+=l;else o+="\\"+l;i=false}else if(";#".indexOf(l)!==-1)break;else if(l==="\\")i=true;else o+=l}if(i)o+="\\";return o.trim()}return t}},8035:(t,r)=>{Object.defineProperty(r,"__esModule",{value:true});r["default"]=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;r.matchToToken=function(t){var r={type:"invalid",value:t[0],closed:undefined};if(t[1])r.type="string",r.closed=!!(t[3]||t[4]);else if(t[5])r.type="comment";else if(t[6])r.type="comment",r.closed=!!t[7];else if(t[8])r.type="regex";else if(t[9])r.type="number";else if(t[10])r.type="name";else if(t[11])r.type="punctuator";else if(t[12])r.type="whitespace";return r}},5130:(t,r,i)=>{const o=i(3210);const a=i(5627);const u={parse:o,stringify:a};t.exports=u},3210:(t,r,i)=>{const o=i(3009);let a;let u;let l;let h;let p;let d;let m;let g;let y;t.exports=function parse(t,r){a=String(t);u="start";l=[];h=0;p=1;d=0;m=undefined;g=undefined;y=undefined;do{m=lex();_[u]()}while(m.type!=="eof");if(typeof r==="function"){return internalize({"":y},"",r)}return y};function internalize(t,r,i){const o=t[r];if(o!=null&&typeof o==="object"){if(Array.isArray(o)){for(let t=0;t<o.length;t++){const r=String(t);const a=internalize(o,r,i);if(a===undefined){delete o[r]}else{Object.defineProperty(o,r,{value:a,writable:true,enumerable:true,configurable:true})}}}else{for(const t in o){const r=internalize(o,t,i);if(r===undefined){delete o[t]}else{Object.defineProperty(o,t,{value:r,writable:true,enumerable:true,configurable:true})}}}}return i.call(t,r,o)}let v;let A;let b;let w;let E;function lex(){v="default";A="";b=false;w=1;for(;;){E=peek();const t=S[v]();if(t){return t}}}function peek(){if(a[h]){return String.fromCodePoint(a.codePointAt(h))}}function read(){const t=peek();if(t==="\n"){p++;d=0}else if(t){d+=t.length}else{d++}if(t){h+=t.length}return t}const S={default(){switch(E){case"\t":case"\v":case"\f":case" ":case" ":case"\ufeff":case"\n":case"\r":case"\u2028":case"\u2029":read();return;case"/":read();v="comment";return;case undefined:read();return newToken("eof")}if(o.isSpaceSeparator(E)){read();return}return S[u]()},comment(){switch(E){case"*":read();v="multiLineComment";return;case"/":read();v="singleLineComment";return}throw invalidChar(read())},multiLineComment(){switch(E){case"*":read();v="multiLineCommentAsterisk";return;case undefined:throw invalidChar(read())}read()},multiLineCommentAsterisk(){switch(E){case"*":read();return;case"/":read();v="default";return;case undefined:throw invalidChar(read())}read();v="multiLineComment"},singleLineComment(){switch(E){case"\n":case"\r":case"\u2028":case"\u2029":read();v="default";return;case undefined:read();return newToken("eof")}read()},value(){switch(E){case"{":case"[":return newToken("punctuator",read());case"n":read();literal("ull");return newToken("null",null);case"t":read();literal("rue");return newToken("boolean",true);case"f":read();literal("alse");return newToken("boolean",false);case"-":case"+":if(read()==="-"){w=-1}v="sign";return;case".":A=read();v="decimalPointLeading";return;case"0":A=read();v="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":A=read();v="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",Infinity);case"N":read();literal("aN");return newToken("numeric",NaN);case'"':case"'":b=read()==='"';A="";v="string";return}throw invalidChar(read())},identifierNameStartEscape(){if(E!=="u"){throw invalidChar(read())}read();const t=unicodeEscape();switch(t){case"$":case"_":break;default:if(!o.isIdStartChar(t)){throw invalidIdentifier()}break}A+=t;v="identifierName"},identifierName(){switch(E){case"$":case"_":case"‌":case"‍":A+=read();return;case"\\":read();v="identifierNameEscape";return}if(o.isIdContinueChar(E)){A+=read();return}return newToken("identifier",A)},identifierNameEscape(){if(E!=="u"){throw invalidChar(read())}read();const t=unicodeEscape();switch(t){case"$":case"_":case"‌":case"‍":break;default:if(!o.isIdContinueChar(t)){throw invalidIdentifier()}break}A+=t;v="identifierName"},sign(){switch(E){case".":A=read();v="decimalPointLeading";return;case"0":A=read();v="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":A=read();v="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",w*Infinity);case"N":read();literal("aN");return newToken("numeric",NaN)}throw invalidChar(read())},zero(){switch(E){case".":A+=read();v="decimalPoint";return;case"e":case"E":A+=read();v="decimalExponent";return;case"x":case"X":A+=read();v="hexadecimal";return}return newToken("numeric",w*0)},decimalInteger(){switch(E){case".":A+=read();v="decimalPoint";return;case"e":case"E":A+=read();v="decimalExponent";return}if(o.isDigit(E)){A+=read();return}return newToken("numeric",w*Number(A))},decimalPointLeading(){if(o.isDigit(E)){A+=read();v="decimalFraction";return}throw invalidChar(read())},decimalPoint(){switch(E){case"e":case"E":A+=read();v="decimalExponent";return}if(o.isDigit(E)){A+=read();v="decimalFraction";return}return newToken("numeric",w*Number(A))},decimalFraction(){switch(E){case"e":case"E":A+=read();v="decimalExponent";return}if(o.isDigit(E)){A+=read();return}return newToken("numeric",w*Number(A))},decimalExponent(){switch(E){case"+":case"-":A+=read();v="decimalExponentSign";return}if(o.isDigit(E)){A+=read();v="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentSign(){if(o.isDigit(E)){A+=read();v="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentInteger(){if(o.isDigit(E)){A+=read();return}return newToken("numeric",w*Number(A))},hexadecimal(){if(o.isHexDigit(E)){A+=read();v="hexadecimalInteger";return}throw invalidChar(read())},hexadecimalInteger(){if(o.isHexDigit(E)){A+=read();return}return newToken("numeric",w*Number(A))},string(){switch(E){case"\\":read();A+=escape();return;case'"':if(b){read();return newToken("string",A)}A+=read();return;case"'":if(!b){read();return newToken("string",A)}A+=read();return;case"\n":case"\r":throw invalidChar(read());case"\u2028":case"\u2029":separatorChar(E);break;case undefined:throw invalidChar(read())}A+=read()},start(){switch(E){case"{":case"[":return newToken("punctuator",read())}v="value"},beforePropertyName(){switch(E){case"$":case"_":A=read();v="identifierName";return;case"\\":read();v="identifierNameStartEscape";return;case"}":return newToken("punctuator",read());case'"':case"'":b=read()==='"';v="string";return}if(o.isIdStartChar(E)){A+=read();v="identifierName";return}throw invalidChar(read())},afterPropertyName(){if(E===":"){return newToken("punctuator",read())}throw invalidChar(read())},beforePropertyValue(){v="value"},afterPropertyValue(){switch(E){case",":case"}":return newToken("punctuator",read())}throw invalidChar(read())},beforeArrayValue(){if(E==="]"){return newToken("punctuator",read())}v="value"},afterArrayValue(){switch(E){case",":case"]":return newToken("punctuator",read())}throw invalidChar(read())},end(){throw invalidChar(read())}};function newToken(t,r){return{type:t,value:r,line:p,column:d}}function literal(t){for(const r of t){const t=peek();if(t!==r){throw invalidChar(read())}read()}}function escape(){const t=peek();switch(t){case"b":read();return"\b";case"f":read();return"\f";case"n":read();return"\n";case"r":read();return"\r";case"t":read();return"\t";case"v":read();return"\v";case"0":read();if(o.isDigit(peek())){throw invalidChar(read())}return"\0";case"x":read();return hexEscape();case"u":read();return unicodeEscape();case"\n":case"\u2028":case"\u2029":read();return"";case"\r":read();if(peek()==="\n"){read()}return"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw invalidChar(read());case undefined:throw invalidChar(read())}return read()}function hexEscape(){let t="";let r=peek();if(!o.isHexDigit(r)){throw invalidChar(read())}t+=read();r=peek();if(!o.isHexDigit(r)){throw invalidChar(read())}t+=read();return String.fromCodePoint(parseInt(t,16))}function unicodeEscape(){let t="";let r=4;while(r-- >0){const r=peek();if(!o.isHexDigit(r)){throw invalidChar(read())}t+=read()}return String.fromCodePoint(parseInt(t,16))}const _={start(){if(m.type==="eof"){throw invalidEOF()}push()},beforePropertyName(){switch(m.type){case"identifier":case"string":g=m.value;u="afterPropertyName";return;case"punctuator":pop();return;case"eof":throw invalidEOF()}},afterPropertyName(){if(m.type==="eof"){throw invalidEOF()}u="beforePropertyValue"},beforePropertyValue(){if(m.type==="eof"){throw invalidEOF()}push()},beforeArrayValue(){if(m.type==="eof"){throw invalidEOF()}if(m.type==="punctuator"&&m.value==="]"){pop();return}push()},afterPropertyValue(){if(m.type==="eof"){throw invalidEOF()}switch(m.value){case",":u="beforePropertyName";return;case"}":pop()}},afterArrayValue(){if(m.type==="eof"){throw invalidEOF()}switch(m.value){case",":u="beforeArrayValue";return;case"]":pop()}},end(){}};function push(){let t;switch(m.type){case"punctuator":switch(m.value){case"{":t={};break;case"[":t=[];break}break;case"null":case"boolean":case"numeric":case"string":t=m.value;break}if(y===undefined){y=t}else{const r=l[l.length-1];if(Array.isArray(r)){r.push(t)}else{Object.defineProperty(r,g,{value:t,writable:true,enumerable:true,configurable:true})}}if(t!==null&&typeof t==="object"){l.push(t);if(Array.isArray(t)){u="beforeArrayValue"}else{u="beforePropertyName"}}else{const t=l[l.length-1];if(t==null){u="end"}else if(Array.isArray(t)){u="afterArrayValue"}else{u="afterPropertyValue"}}}function pop(){l.pop();const t=l[l.length-1];if(t==null){u="end"}else if(Array.isArray(t)){u="afterArrayValue"}else{u="afterPropertyValue"}}function invalidChar(t){if(t===undefined){return syntaxError(`JSON5: invalid end of input at ${p}:${d}`)}return syntaxError(`JSON5: invalid character '${formatChar(t)}' at ${p}:${d}`)}function invalidEOF(){return syntaxError(`JSON5: invalid end of input at ${p}:${d}`)}function invalidIdentifier(){d-=5;return syntaxError(`JSON5: invalid identifier character at ${p}:${d}`)}function separatorChar(t){console.warn(`JSON5: '${formatChar(t)}' in strings is not valid ECMAScript; consider escaping`)}function formatChar(t){const r={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(r[t]){return r[t]}if(t<" "){const r=t.charCodeAt(0).toString(16);return"\\x"+("00"+r).substring(r.length)}return t}function syntaxError(t){const r=new SyntaxError(t);r.lineNumber=p;r.columnNumber=d;return r}},5627:(t,r,i)=>{const o=i(3009);t.exports=function stringify(t,r,i){const a=[];let u="";let l;let h;let p="";let d;if(r!=null&&typeof r==="object"&&!Array.isArray(r)){i=r.space;d=r.quote;r=r.replacer}if(typeof r==="function"){h=r}else if(Array.isArray(r)){l=[];for(const t of r){let r;if(typeof t==="string"){r=t}else if(typeof t==="number"||t instanceof String||t instanceof Number){r=String(t)}if(r!==undefined&&l.indexOf(r)<0){l.push(r)}}}if(i instanceof Number){i=Number(i)}else if(i instanceof String){i=String(i)}if(typeof i==="number"){if(i>0){i=Math.min(10,Math.floor(i));p=" ".substr(0,i)}}else if(typeof i==="string"){p=i.substr(0,10)}return serializeProperty("",{"":t});function serializeProperty(t,r){let i=r[t];if(i!=null){if(typeof i.toJSON5==="function"){i=i.toJSON5(t)}else if(typeof i.toJSON==="function"){i=i.toJSON(t)}}if(h){i=h.call(r,t,i)}if(i instanceof Number){i=Number(i)}else if(i instanceof String){i=String(i)}else if(i instanceof Boolean){i=i.valueOf()}switch(i){case null:return"null";case true:return"true";case false:return"false"}if(typeof i==="string"){return quoteString(i,false)}if(typeof i==="number"){return String(i)}if(typeof i==="object"){return Array.isArray(i)?serializeArray(i):serializeObject(i)}return undefined}function quoteString(t){const r={"'":.1,'"':.2};const i={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};let a="";for(let u=0;u<t.length;u++){const l=t[u];switch(l){case"'":case'"':r[l]++;a+=l;continue;case"\0":if(o.isDigit(t[u+1])){a+="\\x00";continue}}if(i[l]){a+=i[l];continue}if(l<" "){let t=l.charCodeAt(0).toString(16);a+="\\x"+("00"+t).substring(t.length);continue}a+=l}const u=d||Object.keys(r).reduce(((t,i)=>r[t]<r[i]?t:i));a=a.replace(new RegExp(u,"g"),i[u]);return u+a+u}function serializeObject(t){if(a.indexOf(t)>=0){throw TypeError("Converting circular structure to JSON5")}a.push(t);let r=u;u=u+p;let i=l||Object.keys(t);let o=[];for(const r of i){const i=serializeProperty(r,t);if(i!==undefined){let t=serializeKey(r)+":";if(p!==""){t+=" "}t+=i;o.push(t)}}let h;if(o.length===0){h="{}"}else{let t;if(p===""){t=o.join(",");h="{"+t+"}"}else{let i=",\n"+u;t=o.join(i);h="{\n"+u+t+",\n"+r+"}"}}a.pop();u=r;return h}function serializeKey(t){if(t.length===0){return quoteString(t,true)}const r=String.fromCodePoint(t.codePointAt(0));if(!o.isIdStartChar(r)){return quoteString(t,true)}for(let i=r.length;i<t.length;i++){if(!o.isIdContinueChar(String.fromCodePoint(t.codePointAt(i)))){return quoteString(t,true)}}return t}function serializeArray(t){if(a.indexOf(t)>=0){throw TypeError("Converting circular structure to JSON5")}a.push(t);let r=u;u=u+p;let i=[];for(let r=0;r<t.length;r++){const o=serializeProperty(String(r),t);i.push(o!==undefined?o:"null")}let o;if(i.length===0){o="[]"}else{if(p===""){let t=i.join(",");o="["+t+"]"}else{let t=",\n"+u;let a=i.join(t);o="[\n"+u+a+",\n"+r+"]"}}a.pop();u=r;return o}}},6195:t=>{t.exports.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/;t.exports.ID_Start=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/;t.exports.ID_Continue=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},3009:(t,r,i)=>{const o=i(6195);t.exports={isSpaceSeparator(t){return typeof t==="string"&&o.Space_Separator.test(t)},isIdStartChar(t){return typeof t==="string"&&(t>="a"&&t<="z"||t>="A"&&t<="Z"||t==="$"||t==="_"||o.ID_Start.test(t))},isIdContinueChar(t){return typeof t==="string"&&(t>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"||t==="$"||t==="_"||t==="‌"||t==="‍"||o.ID_Continue.test(t))},isDigit(t){return typeof t==="string"&&/[0-9]/.test(t)},isHexDigit(t){return typeof t==="string"&&/[0-9A-Fa-f]/.test(t)}}},1215:(t,r,i)=>{let o;try{o=i(853)}catch(t){o=i(7147)}const a=i(2703);const{stringify:u,stripBom:l}=i(4978);async function _readFile(t,r={}){if(typeof r==="string"){r={encoding:r}}const i=r.fs||o;const u="throws"in r?r.throws:true;let h=await a.fromCallback(i.readFile)(t,r);h=l(h);let p;try{p=JSON.parse(h,r?r.reviver:null)}catch(r){if(u){r.message=`${t}: ${r.message}`;throw r}else{return null}}return p}const h=a.fromPromise(_readFile);function readFileSync(t,r={}){if(typeof r==="string"){r={encoding:r}}const i=r.fs||o;const a="throws"in r?r.throws:true;try{let o=i.readFileSync(t,r);o=l(o);return JSON.parse(o,r.reviver)}catch(r){if(a){r.message=`${t}: ${r.message}`;throw r}else{return null}}}async function _writeFile(t,r,i={}){const l=i.fs||o;const h=u(r,i);await a.fromCallback(l.writeFile)(t,h,i)}const p=a.fromPromise(_writeFile);function writeFileSync(t,r,i={}){const a=i.fs||o;const l=u(r,i);return a.writeFileSync(t,l,i)}const d={readFile:h,readFileSync:readFileSync,writeFile:p,writeFileSync:writeFileSync};t.exports=d},741:t=>{"use strict";t.exports=clone;var r=Object.getPrototypeOf||function(t){return t.__proto__};function clone(t){if(t===null||typeof t!=="object")return t;if(t instanceof Object)var i={__proto__:r(t)};else var i=Object.create(null);Object.getOwnPropertyNames(t).forEach((function(r){Object.defineProperty(i,r,Object.getOwnPropertyDescriptor(t,r))}));return i}},853:(t,r,i)=>{var o=i(7147);var a=i(2289);var u=i(5453);var l=i(741);var h=i(3837);var p;var d;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){p=Symbol.for("graceful-fs.queue");d=Symbol.for("graceful-fs.previous")}else{p="___graceful-fs.queue";d="___graceful-fs.previous"}function noop(){}function publishQueue(t,r){Object.defineProperty(t,p,{get:function(){return r}})}var m=noop;if(h.debuglog)m=h.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))m=function(){var t=h.format.apply(h,arguments);t="GFS4: "+t.split(/\n/).join("\nGFS4: ");console.error(t)};if(!o[p]){var g=global[p]||[];publishQueue(o,g);o.close=function(t){function close(r,i){return t.call(o,r,(function(t){if(!t){retry()}if(typeof i==="function")i.apply(this,arguments)}))}Object.defineProperty(close,d,{value:t});return close}(o.close);o.closeSync=function(t){function closeSync(r){t.apply(o,arguments);retry()}Object.defineProperty(closeSync,d,{value:t});return closeSync}(o.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",(function(){m(o[p]);i(9491).equal(o[p].length,0)}))}}if(!global[p]){publishQueue(global,o[p])}t.exports=patch(l(o));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!o.__patched){t.exports=patch(o);o.__patched=true}function patch(t){a(t);t.gracefulify=patch;t.createReadStream=createReadStream;t.createWriteStream=createWriteStream;var r=t.readFile;t.readFile=readFile;function readFile(t,i,o){if(typeof i==="function")o=i,i=null;return go$readFile(t,i,o);function go$readFile(t,i,o){return r(t,i,(function(r){if(r&&(r.code==="EMFILE"||r.code==="ENFILE"))enqueue([go$readFile,[t,i,o]]);else{if(typeof o==="function")o.apply(this,arguments);retry()}}))}}var i=t.writeFile;t.writeFile=writeFile;function writeFile(t,r,o,a){if(typeof o==="function")a=o,o=null;return go$writeFile(t,r,o,a);function go$writeFile(t,r,o,a){return i(t,r,o,(function(i){if(i&&(i.code==="EMFILE"||i.code==="ENFILE"))enqueue([go$writeFile,[t,r,o,a]]);else{if(typeof a==="function")a.apply(this,arguments);retry()}}))}}var o=t.appendFile;if(o)t.appendFile=appendFile;function appendFile(t,r,i,a){if(typeof i==="function")a=i,i=null;return go$appendFile(t,r,i,a);function go$appendFile(t,r,i,a){return o(t,r,i,(function(o){if(o&&(o.code==="EMFILE"||o.code==="ENFILE"))enqueue([go$appendFile,[t,r,i,a]]);else{if(typeof a==="function")a.apply(this,arguments);retry()}}))}}var l=t.copyFile;if(l)t.copyFile=copyFile;function copyFile(t,r,i,o){if(typeof i==="function"){o=i;i=0}return l(t,r,i,(function(a){if(a&&(a.code==="EMFILE"||a.code==="ENFILE"))enqueue([l,[t,r,i,o]]);else{if(typeof o==="function")o.apply(this,arguments);retry()}}))}var h=t.readdir;t.readdir=readdir;function readdir(t,r,i){var o=[t];if(typeof r!=="function"){o.push(r)}else{i=r}o.push(go$readdir$cb);return go$readdir(o);function go$readdir$cb(t,r){if(r&&r.sort)r.sort();if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))enqueue([go$readdir,[o]]);else{if(typeof i==="function")i.apply(this,arguments);retry()}}}function go$readdir(r){return h.apply(t,r)}if(process.version.substr(0,4)==="v0.8"){var p=u(t);ReadStream=p.ReadStream;WriteStream=p.WriteStream}var d=t.ReadStream;if(d){ReadStream.prototype=Object.create(d.prototype);ReadStream.prototype.open=ReadStream$open}var m=t.WriteStream;if(m){WriteStream.prototype=Object.create(m.prototype);WriteStream.prototype.open=WriteStream$open}Object.defineProperty(t,"ReadStream",{get:function(){return ReadStream},set:function(t){ReadStream=t},enumerable:true,configurable:true});Object.defineProperty(t,"WriteStream",{get:function(){return WriteStream},set:function(t){WriteStream=t},enumerable:true,configurable:true});var g=ReadStream;Object.defineProperty(t,"FileReadStream",{get:function(){return g},set:function(t){g=t},enumerable:true,configurable:true});var y=WriteStream;Object.defineProperty(t,"FileWriteStream",{get:function(){return y},set:function(t){y=t},enumerable:true,configurable:true});function ReadStream(t,r){if(this instanceof ReadStream)return d.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var t=this;open(t.path,t.flags,t.mode,(function(r,i){if(r){if(t.autoClose)t.destroy();t.emit("error",r)}else{t.fd=i;t.emit("open",i);t.read()}}))}function WriteStream(t,r){if(this instanceof WriteStream)return m.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var t=this;open(t.path,t.flags,t.mode,(function(r,i){if(r){t.destroy();t.emit("error",r)}else{t.fd=i;t.emit("open",i)}}))}function createReadStream(r,i){return new t.ReadStream(r,i)}function createWriteStream(r,i){return new t.WriteStream(r,i)}var v=t.open;t.open=open;function open(t,r,i,o){if(typeof i==="function")o=i,i=null;return go$open(t,r,i,o);function go$open(t,r,i,o){return v(t,r,i,(function(a,u){if(a&&(a.code==="EMFILE"||a.code==="ENFILE"))enqueue([go$open,[t,r,i,o]]);else{if(typeof o==="function")o.apply(this,arguments);retry()}}))}}return t}function enqueue(t){m("ENQUEUE",t[0].name,t[1]);o[p].push(t)}function retry(){var t=o[p].shift();if(t){m("RETRY",t[0].name,t[1]);t[0].apply(null,t[1])}}},5453:(t,r,i)=>{var o=i(2781).Stream;t.exports=legacy;function legacy(t){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(r,i){if(!(this instanceof ReadStream))return new ReadStream(r,i);o.call(this);var a=this;this.path=r;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;i=i||{};var u=Object.keys(i);for(var l=0,h=u.length;l<h;l++){var p=u[l];this[p]=i[p]}if(this.encoding)this.setEncoding(this.encoding);if(this.start!==undefined){if("number"!==typeof this.start){throw TypeError("start must be a Number")}if(this.end===undefined){this.end=Infinity}else if("number"!==typeof this.end){throw TypeError("end must be a Number")}if(this.start>this.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick((function(){a._read()}));return}t.open(this.path,this.flags,this.mode,(function(t,r){if(t){a.emit("error",t);a.readable=false;return}a.fd=r;a.emit("open",r);a._read()}))}function WriteStream(r,i){if(!(this instanceof WriteStream))return new WriteStream(r,i);o.call(this);this.path=r;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;i=i||{};var a=Object.keys(i);for(var u=0,l=a.length;u<l;u++){var h=a[u];this[h]=i[h]}if(this.start!==undefined){if("number"!==typeof this.start){throw TypeError("start must be a Number")}if(this.start<0){throw new Error("start must be >= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=t.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},2289:(t,r,i)=>{var o=i(2057);var a=process.cwd;var u=null;var l=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!u)u=a.call(process);return u};try{process.cwd()}catch(t){}if(typeof process.chdir==="function"){var h=process.chdir;process.chdir=function(t){u=null;h.call(process,t)};if(Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,h)}t.exports=patch;function patch(t){if(o.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(t)}if(!t.lutimes){patchLutimes(t)}t.chown=chownFix(t.chown);t.fchown=chownFix(t.fchown);t.lchown=chownFix(t.lchown);t.chmod=chmodFix(t.chmod);t.fchmod=chmodFix(t.fchmod);t.lchmod=chmodFix(t.lchmod);t.chownSync=chownFixSync(t.chownSync);t.fchownSync=chownFixSync(t.fchownSync);t.lchownSync=chownFixSync(t.lchownSync);t.chmodSync=chmodFixSync(t.chmodSync);t.fchmodSync=chmodFixSync(t.fchmodSync);t.lchmodSync=chmodFixSync(t.lchmodSync);t.stat=statFix(t.stat);t.fstat=statFix(t.fstat);t.lstat=statFix(t.lstat);t.statSync=statFixSync(t.statSync);t.fstatSync=statFixSync(t.fstatSync);t.lstatSync=statFixSync(t.lstatSync);if(!t.lchmod){t.lchmod=function(t,r,i){if(i)process.nextTick(i)};t.lchmodSync=function(){}}if(!t.lchown){t.lchown=function(t,r,i,o){if(o)process.nextTick(o)};t.lchownSync=function(){}}if(l==="win32"){t.rename=function(r){return function(i,o,a){var u=Date.now();var l=0;r(i,o,(function CB(h){if(h&&(h.code==="EACCES"||h.code==="EPERM")&&Date.now()-u<6e4){setTimeout((function(){t.stat(o,(function(t,u){if(t&&t.code==="ENOENT")r(i,o,CB);else a(h)}))}),l);if(l<100)l+=10;return}if(a)a(h)}))}}(t.rename)}t.read=function(r){function read(i,o,a,u,l,h){var p;if(h&&typeof h==="function"){var d=0;p=function(m,g,y){if(m&&m.code==="EAGAIN"&&d<10){d++;return r.call(t,i,o,a,u,l,p)}h.apply(this,arguments)}}return r.call(t,i,o,a,u,l,p)}if(Object.setPrototypeOf)Object.setPrototypeOf(read,r);return read}(t.read);t.readSync=function(r){return function(i,o,a,u,l){var h=0;while(true){try{return r.call(t,i,o,a,u,l)}catch(t){if(t.code==="EAGAIN"&&h<10){h++;continue}throw t}}}}(t.readSync);function patchLchmod(t){t.lchmod=function(r,i,a){t.open(r,o.O_WRONLY|o.O_SYMLINK,i,(function(r,o){if(r){if(a)a(r);return}t.fchmod(o,i,(function(r){t.close(o,(function(t){if(a)a(r||t)}))}))}))};t.lchmodSync=function(r,i){var a=t.openSync(r,o.O_WRONLY|o.O_SYMLINK,i);var u=true;var l;try{l=t.fchmodSync(a,i);u=false}finally{if(u){try{t.closeSync(a)}catch(t){}}else{t.closeSync(a)}}return l}}function patchLutimes(t){if(o.hasOwnProperty("O_SYMLINK")){t.lutimes=function(r,i,a,u){t.open(r,o.O_SYMLINK,(function(r,o){if(r){if(u)u(r);return}t.futimes(o,i,a,(function(r){t.close(o,(function(t){if(u)u(r||t)}))}))}))};t.lutimesSync=function(r,i,a){var u=t.openSync(r,o.O_SYMLINK);var l;var h=true;try{l=t.futimesSync(u,i,a);h=false}finally{if(h){try{t.closeSync(u)}catch(t){}}else{t.closeSync(u)}}return l}}else{t.lutimes=function(t,r,i,o){if(o)process.nextTick(o)};t.lutimesSync=function(){}}}function chmodFix(r){if(!r)return r;return function(i,o,a){return r.call(t,i,o,(function(t){if(chownErOk(t))t=null;if(a)a.apply(this,arguments)}))}}function chmodFixSync(r){if(!r)return r;return function(i,o){try{return r.call(t,i,o)}catch(t){if(!chownErOk(t))throw t}}}function chownFix(r){if(!r)return r;return function(i,o,a,u){return r.call(t,i,o,a,(function(t){if(chownErOk(t))t=null;if(u)u.apply(this,arguments)}))}}function chownFixSync(r){if(!r)return r;return function(i,o,a){try{return r.call(t,i,o,a)}catch(t){if(!chownErOk(t))throw t}}}function statFix(r){if(!r)return r;return function(i,o,a){if(typeof o==="function"){a=o;o=null}function callback(t,r){if(r){if(r.uid<0)r.uid+=4294967296;if(r.gid<0)r.gid+=4294967296}if(a)a.apply(this,arguments)}return o?r.call(t,i,o,callback):r.call(t,i,callback)}}function statFixSync(r){if(!r)return r;return function(i,o){var a=o?r.call(t,i,o):r.call(t,i);if(a.uid<0)a.uid+=4294967296;if(a.gid<0)a.gid+=4294967296;return a}}function chownErOk(t){if(!t)return true;if(t.code==="ENOSYS")return true;var r=!process.getuid||process.getuid()!==0;if(r){if(t.code==="EINVAL"||t.code==="EPERM")return true}return false}}},4978:t=>{function stringify(t,{EOL:r="\n",finalEOL:i=true,replacer:o=null,spaces:a}={}){const u=i?r:"";const l=JSON.stringify(t,o,a);return l.replace(/\n/g,r)+u}function stripBom(t){if(Buffer.isBuffer(t))t=t.toString("utf8");return t.replace(/^\uFEFF/,"")}t.exports={stringify:stringify,stripBom:stripBom}},9439:t=>{"use strict";const{FORCE_COLOR:r,NODE_DISABLE_COLORS:i,TERM:o}=process.env;const a={enabled:!i&&o!=="dumb"&&r!=="0",reset:init(0,0),bold:init(1,22),dim:init(2,22),italic:init(3,23),underline:init(4,24),inverse:init(7,27),hidden:init(8,28),strikethrough:init(9,29),black:init(30,39),red:init(31,39),green:init(32,39),yellow:init(33,39),blue:init(34,39),magenta:init(35,39),cyan:init(36,39),white:init(37,39),gray:init(90,39),grey:init(90,39),bgBlack:init(40,49),bgRed:init(41,49),bgGreen:init(42,49),bgYellow:init(43,49),bgBlue:init(44,49),bgMagenta:init(45,49),bgCyan:init(46,49),bgWhite:init(47,49)};function run(t,r){let i=0,o,a="",u="";for(;i<t.length;i++){o=t[i];a+=o.open;u+=o.close;if(r.includes(o.close)){r=r.replace(o.rgx,o.close+o.open)}}return a+r+u}function chain(t,r){let i={has:t,keys:r};i.reset=a.reset.bind(i);i.bold=a.bold.bind(i);i.dim=a.dim.bind(i);i.italic=a.italic.bind(i);i.underline=a.underline.bind(i);i.inverse=a.inverse.bind(i);i.hidden=a.hidden.bind(i);i.strikethrough=a.strikethrough.bind(i);i.black=a.black.bind(i);i.red=a.red.bind(i);i.green=a.green.bind(i);i.yellow=a.yellow.bind(i);i.blue=a.blue.bind(i);i.magenta=a.magenta.bind(i);i.cyan=a.cyan.bind(i);i.white=a.white.bind(i);i.gray=a.gray.bind(i);i.grey=a.grey.bind(i);i.bgBlack=a.bgBlack.bind(i);i.bgRed=a.bgRed.bind(i);i.bgGreen=a.bgGreen.bind(i);i.bgYellow=a.bgYellow.bind(i);i.bgBlue=a.bgBlue.bind(i);i.bgMagenta=a.bgMagenta.bind(i);i.bgCyan=a.bgCyan.bind(i);i.bgWhite=a.bgWhite.bind(i);return i}function init(t,r){let i={open:`[${t}m`,close:`[${r}m`,rgx:new RegExp(`\\x1b\\[${r}m`,"g")};return function(r){if(this!==void 0&&this.has!==void 0){this.has.includes(t)||(this.has.push(t),this.keys.push(i));return r===void 0?this:a.enabled?run(this.keys,r+""):r+""}return r===void 0?chain([t],[i]):a.enabled?run([i],r+""):r+""}}t.exports=a},481:t=>{"use strict";const mimicFn=(t,r)=>{for(const i of Reflect.ownKeys(r)){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(r,i))}return t};t.exports=mimicFn;t.exports["default"]=mimicFn},5912:t=>{"use strict";function hasKey(t,r){var i=t;r.slice(0,-1).forEach((function(t){i=i[t]||{}}));var o=r[r.length-1];return o in i}function isNumber(t){if(typeof t==="number"){return true}if(/^0x[0-9a-f]+$/i.test(t)){return true}return/^[-+]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(t)}function isConstructorOrProto(t,r){return r==="constructor"&&typeof t[r]==="function"||r==="__proto__"}t.exports=function(t,r){if(!r){r={}}var i={bools:{},strings:{},unknownFn:null};if(typeof r.unknown==="function"){i.unknownFn=r.unknown}if(typeof r.boolean==="boolean"&&r.boolean){i.allBools=true}else{[].concat(r.boolean).filter(Boolean).forEach((function(t){i.bools[t]=true}))}var o={};function aliasIsBoolean(t){return o[t].some((function(t){return i.bools[t]}))}Object.keys(r.alias||{}).forEach((function(t){o[t]=[].concat(r.alias[t]);o[t].forEach((function(r){o[r]=[t].concat(o[t].filter((function(t){return r!==t})))}))}));[].concat(r.string).filter(Boolean).forEach((function(t){i.strings[t]=true;if(o[t]){[].concat(o[t]).forEach((function(t){i.strings[t]=true}))}}));var a=r.default||{};var u={_:[]};function argDefined(t,r){return i.allBools&&/^--[^=]+$/.test(r)||i.strings[t]||i.bools[t]||o[t]}function setKey(t,r,o){var a=t;for(var u=0;u<r.length-1;u++){var l=r[u];if(isConstructorOrProto(a,l)){return}if(a[l]===undefined){a[l]={}}if(a[l]===Object.prototype||a[l]===Number.prototype||a[l]===String.prototype){a[l]={}}if(a[l]===Array.prototype){a[l]=[]}a=a[l]}var h=r[r.length-1];if(isConstructorOrProto(a,h)){return}if(a===Object.prototype||a===Number.prototype||a===String.prototype){a={}}if(a===Array.prototype){a=[]}if(a[h]===undefined||i.bools[h]||typeof a[h]==="boolean"){a[h]=o}else if(Array.isArray(a[h])){a[h].push(o)}else{a[h]=[a[h],o]}}function setArg(t,r,a){if(a&&i.unknownFn&&!argDefined(t,a)){if(i.unknownFn(a)===false){return}}var l=!i.strings[t]&&isNumber(r)?Number(r):r;setKey(u,t.split("."),l);(o[t]||[]).forEach((function(t){setKey(u,t.split("."),l)}))}Object.keys(i.bools).forEach((function(t){setArg(t,a[t]===undefined?false:a[t])}));var l=[];if(t.indexOf("--")!==-1){l=t.slice(t.indexOf("--")+1);t=t.slice(0,t.indexOf("--"))}for(var h=0;h<t.length;h++){var p=t[h];var d;var m;if(/^--.+=/.test(p)){var g=p.match(/^--([^=]+)=([\s\S]*)$/);d=g[1];var y=g[2];if(i.bools[d]){y=y!=="false"}setArg(d,y,p)}else if(/^--no-.+/.test(p)){d=p.match(/^--no-(.+)/)[1];setArg(d,false,p)}else if(/^--.+/.test(p)){d=p.match(/^--(.+)/)[1];m=t[h+1];if(m!==undefined&&!/^(-|--)[^-]/.test(m)&&!i.bools[d]&&!i.allBools&&(o[d]?!aliasIsBoolean(d):true)){setArg(d,m,p);h+=1}else if(/^(true|false)$/.test(m)){setArg(d,m==="true",p);h+=1}else{setArg(d,i.strings[d]?"":true,p)}}else if(/^-[^-]+/.test(p)){var v=p.slice(1,-1).split("");var A=false;for(var b=0;b<v.length;b++){m=p.slice(b+2);if(m==="-"){setArg(v[b],m,p);continue}if(/[A-Za-z]/.test(v[b])&&m[0]==="="){setArg(v[b],m.slice(1),p);A=true;break}if(/[A-Za-z]/.test(v[b])&&/-?\d+(\.\d*)?(e-?\d+)?$/.test(m)){setArg(v[b],m,p);A=true;break}if(v[b+1]&&v[b+1].match(/\W/)){setArg(v[b],p.slice(b+2),p);A=true;break}else{setArg(v[b],i.strings[v[b]]?"":true,p)}}d=p.slice(-1)[0];if(!A&&d!=="-"){if(t[h+1]&&!/^(-|--)[^-]/.test(t[h+1])&&!i.bools[d]&&(o[d]?!aliasIsBoolean(d):true)){setArg(d,t[h+1],p);h+=1}else if(t[h+1]&&/^(true|false)$/.test(t[h+1])){setArg(d,t[h+1]==="true",p);h+=1}else{setArg(d,i.strings[d]?"":true,p)}}}else{if(!i.unknownFn||i.unknownFn(p)!==false){u._.push(i.strings._||!isNumber(p)?p:Number(p))}if(r.stopEarly){u._.push.apply(u._,t.slice(h+1));break}}}Object.keys(a).forEach((function(t){if(!hasKey(u,t.split("."))){setKey(u,t.split("."),a[t]);(o[t]||[]).forEach((function(r){setKey(u,r.split("."),a[t])}))}}));if(r["--"]){u["--"]=l.slice()}else{l.forEach((function(t){u._.push(t)}))}return u}},7462:(t,r,i)=>{"use strict";const o=i(481);const a=new WeakMap;const onetime=(t,r={})=>{if(typeof t!=="function"){throw new TypeError("Expected a function")}let i;let u=0;const l=t.displayName||t.name||"<anonymous>";const onetime=function(...o){a.set(onetime,++u);if(u===1){i=t.apply(this,o);t=null}else if(r.throw===true){throw new Error(`Function \`${l}\` can only be called once`)}return i};o(onetime,t);a.set(onetime,u);return onetime};t.exports=onetime;t.exports["default"]=onetime;t.exports.callCount=t=>{if(!a.has(t)){throw new Error(`The given function \`${t.name}\` is not wrapped by the \`onetime\` package`)}return a.get(t)}},5549:(t,r,i)=>{"use strict";const o=Object.assign({},i(3300));const a=Object.keys(o);Object.defineProperty(o,"random",{get(){const t=Math.floor(Math.random()*a.length);const r=a[t];return o[r]}});t.exports=o},9545:(t,r,i)=>{var o=i(9491);var a=i(8666);var u=/^win/i.test(process.platform);var l=i(2361);if(typeof l!=="function"){l=l.EventEmitter}var h;if(process.__signal_exit_emitter__){h=process.__signal_exit_emitter__}else{h=process.__signal_exit_emitter__=new l;h.count=0;h.emitted={}}if(!h.infinite){h.setMaxListeners(Infinity);h.infinite=true}t.exports=function(t,r){o.equal(typeof t,"function","a callback must be provided for exit handler");if(d===false){load()}var i="exit";if(r&&r.alwaysLast){i="afterexit"}var remove=function(){h.removeListener(i,t);if(h.listeners("exit").length===0&&h.listeners("afterexit").length===0){unload()}};h.on(i,t);return remove};t.exports.unload=unload;function unload(){if(!d){return}d=false;a.forEach((function(t){try{process.removeListener(t,p[t])}catch(t){}}));process.emit=g;process.reallyExit=m;h.count-=1}function emit(t,r,i){if(h.emitted[t]){return}h.emitted[t]=true;h.emit(t,r,i)}var p={};a.forEach((function(t){p[t]=function listener(){var r=process.listeners(t);if(r.length===h.count){unload();emit("exit",null,t);emit("afterexit",null,t);if(u&&t==="SIGHUP"){t="SIGINT"}process.kill(process.pid,t)}}}));t.exports.signals=function(){return a};t.exports.load=load;var d=false;function load(){if(d){return}d=true;h.count+=1;a=a.filter((function(t){try{process.on(t,p[t]);return true}catch(t){return false}}));process.emit=processEmit;process.reallyExit=processReallyExit}var m=process.reallyExit;function processReallyExit(t){process.exitCode=t||0;emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);m.call(process,process.exitCode)}var g=process.emit;function processEmit(t,r){if(t==="exit"){if(r!==undefined){process.exitCode=r}var i=g.apply(this,arguments);emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);return i}else{return g.apply(this,arguments)}}},8666:t=>{t.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];if(process.platform!=="win32"){t.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT")}if(process.platform==="linux"){t.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")}},2170:t=>{"use strict";const pathKey=(t={})=>{const r=t.env||process.env;const i=t.platform||process.platform;if(i!=="win32"){return"PATH"}return Object.keys(r).reverse().find((t=>t.toUpperCase()==="PATH"))||"Path"};t.exports=pathKey;t.exports["default"]=pathKey},399:t=>{"use strict";class DatePart{constructor({token:t,date:r,parts:i,locales:o}){this.token=t;this.date=r||new Date;this.parts=i||[this];this.locales=o||{}}up(){}down(){}next(){const t=this.parts.indexOf(this);return this.parts.find(((r,i)=>i>t&&r instanceof DatePart))}setTo(t){}prev(){let t=[].concat(this.parts).reverse();const r=t.indexOf(this);return t.find(((t,i)=>i>r&&t instanceof DatePart))}toString(){return String(this.date)}}t.exports=DatePart},7967:(t,r,i)=>{"use strict";const o=i(399);const pos=t=>{t=t%10;return t===1?"st":t===2?"nd":t===3?"rd":"th"};class Day extends o{constructor(t={}){super(t)}up(){this.date.setDate(this.date.getDate()+1)}down(){this.date.setDate(this.date.getDate()-1)}setTo(t){this.date.setDate(parseInt(t.substr(-2)))}toString(){let t=this.date.getDate();let r=this.date.getDay();return this.token==="DD"?String(t).padStart(2,"0"):this.token==="Do"?t+pos(t):this.token==="d"?r+1:this.token==="ddd"?this.locales.weekdaysShort[r]:this.token==="dddd"?this.locales.weekdays[r]:t}}t.exports=Day},4102:(t,r,i)=>{"use strict";const o=i(399);class Hours extends o{constructor(t={}){super(t)}up(){this.date.setHours(this.date.getHours()+1)}down(){this.date.setHours(this.date.getHours()-1)}setTo(t){this.date.setHours(parseInt(t.substr(-2)))}toString(){let t=this.date.getHours();if(/h/.test(this.token))t=t%12||12;return this.token.length>1?String(t).padStart(2,"0"):t}}t.exports=Hours},7517:(t,r,i)=>{"use strict";t.exports={DatePart:i(399),Meridiem:i(4128),Day:i(7967),Hours:i(4102),Milliseconds:i(6945),Minutes:i(7829),Month:i(8608),Seconds:i(812),Year:i(5227)}},4128:(t,r,i)=>{"use strict";const o=i(399);class Meridiem extends o{constructor(t={}){super(t)}up(){this.date.setHours((this.date.getHours()+12)%24)}down(){this.up()}toString(){let t=this.date.getHours()>12?"pm":"am";return/\A/.test(this.token)?t.toUpperCase():t}}t.exports=Meridiem},6945:(t,r,i)=>{"use strict";const o=i(399);class Milliseconds extends o{constructor(t={}){super(t)}up(){this.date.setMilliseconds(this.date.getMilliseconds()+1)}down(){this.date.setMilliseconds(this.date.getMilliseconds()-1)}setTo(t){this.date.setMilliseconds(parseInt(t.substr(-this.token.length)))}toString(){return String(this.date.getMilliseconds()).padStart(4,"0").substr(0,this.token.length)}}t.exports=Milliseconds},7829:(t,r,i)=>{"use strict";const o=i(399);class Minutes extends o{constructor(t={}){super(t)}up(){this.date.setMinutes(this.date.getMinutes()+1)}down(){this.date.setMinutes(this.date.getMinutes()-1)}setTo(t){this.date.setMinutes(parseInt(t.substr(-2)))}toString(){let t=this.date.getMinutes();return this.token.length>1?String(t).padStart(2,"0"):t}}t.exports=Minutes},8608:(t,r,i)=>{"use strict";const o=i(399);class Month extends o{constructor(t={}){super(t)}up(){this.date.setMonth(this.date.getMonth()+1)}down(){this.date.setMonth(this.date.getMonth()-1)}setTo(t){t=parseInt(t.substr(-2))-1;this.date.setMonth(t<0?0:t)}toString(){let t=this.date.getMonth();let r=this.token.length;return r===2?String(t+1).padStart(2,"0"):r===3?this.locales.monthsShort[t]:r===4?this.locales.months[t]:String(t+1)}}t.exports=Month},812:(t,r,i)=>{"use strict";const o=i(399);class Seconds extends o{constructor(t={}){super(t)}up(){this.date.setSeconds(this.date.getSeconds()+1)}down(){this.date.setSeconds(this.date.getSeconds()-1)}setTo(t){this.date.setSeconds(parseInt(t.substr(-2)))}toString(){let t=this.date.getSeconds();return this.token.length>1?String(t).padStart(2,"0"):t}}t.exports=Seconds},5227:(t,r,i)=>{"use strict";const o=i(399);class Year extends o{constructor(t={}){super(t)}up(){this.date.setFullYear(this.date.getFullYear()+1)}down(){this.date.setFullYear(this.date.getFullYear()-1)}setTo(t){this.date.setFullYear(t.substr(-4))}toString(){let t=String(this.date.getFullYear()).padStart(4,"0");return this.token.length===2?t.substr(-2):t}}t.exports=Year},935:(t,r,i)=>{"use strict";function asyncGeneratorStep(t,r,i,o,a,u,l){try{var h=t[u](l);var p=h.value}catch(t){i(t);return}if(h.done){r(p)}else{Promise.resolve(p).then(o,a)}}function _asyncToGenerator(t){return function(){var r=this,i=arguments;return new Promise((function(o,a){var u=t.apply(r,i);function _next(t){asyncGeneratorStep(u,o,a,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(u,o,a,_next,_throw,"throw",t)}_next(undefined)}))}}const o=i(9439);const a=i(5876);const u=i(332),l=u.erase,h=u.cursor;const p=i(2800),d=p.style,m=p.clear,g=p.figures,y=p.wrap,v=p.entriesToDisplay;const getVal=(t,r)=>t[r]&&(t[r].value||t[r].title||t[r]);const getTitle=(t,r)=>t[r]&&(t[r].title||t[r].value||t[r]);const getIndex=(t,r)=>{const i=t.findIndex((t=>t.value===r||t.title===r));return i>-1?i:undefined};class AutocompletePrompt extends a{constructor(t={}){super(t);this.msg=t.message;this.suggest=t.suggest;this.choices=t.choices;this.initial=typeof t.initial==="number"?t.initial:getIndex(t.choices,t.initial);this.select=this.initial||t.cursor||0;this.i18n={noMatches:t.noMatches||"no matches found"};this.fallback=t.fallback||this.initial;this.clearFirst=t.clearFirst||false;this.suggestions=[];this.input="";this.limit=t.limit||10;this.cursor=0;this.transform=d.render(t.style);this.scale=this.transform.scale;this.render=this.render.bind(this);this.complete=this.complete.bind(this);this.clear=m("",this.out.columns);this.complete(this.render);this.render()}set fallback(t){this._fb=Number.isSafeInteger(parseInt(t))?parseInt(t):t}get fallback(){let t;if(typeof this._fb==="number")t=this.choices[this._fb];else if(typeof this._fb==="string")t={title:this._fb};return t||this._fb||{title:this.i18n.noMatches}}moveSelect(t){this.select=t;if(this.suggestions.length>0)this.value=getVal(this.suggestions,t);else this.value=this.fallback.value;this.fire()}complete(t){var r=this;return _asyncToGenerator((function*(){const i=r.completing=r.suggest(r.input,r.choices);const o=yield i;if(r.completing!==i)return;r.suggestions=o.map(((t,r,i)=>({title:getTitle(i,r),value:getVal(i,r),description:t.description})));r.completing=false;const a=Math.max(o.length-1,0);r.moveSelect(Math.min(a,r.select));t&&t()}))()}reset(){this.input="";this.complete((()=>{this.moveSelect(this.initial!==void 0?this.initial:0);this.render()}));this.render()}exit(){if(this.clearFirst&&this.input.length>0){this.reset()}else{this.done=this.exited=true;this.aborted=false;this.fire();this.render();this.out.write("\n");this.close()}}abort(){this.done=this.aborted=true;this.exited=false;this.fire();this.render();this.out.write("\n");this.close()}submit(){this.done=true;this.aborted=this.exited=false;this.fire();this.render();this.out.write("\n");this.close()}_(t,r){let i=this.input.slice(0,this.cursor);let o=this.input.slice(this.cursor);this.input=`${i}${t}${o}`;this.cursor=i.length+1;this.complete(this.render);this.render()}delete(){if(this.cursor===0)return this.bell();let t=this.input.slice(0,this.cursor-1);let r=this.input.slice(this.cursor);this.input=`${t}${r}`;this.complete(this.render);this.cursor=this.cursor-1;this.render()}deleteForward(){if(this.cursor*this.scale>=this.rendered.length)return this.bell();let t=this.input.slice(0,this.cursor);let r=this.input.slice(this.cursor+1);this.input=`${t}${r}`;this.complete(this.render);this.render()}first(){this.moveSelect(0);this.render()}last(){this.moveSelect(this.suggestions.length-1);this.render()}up(){if(this.select===0){this.moveSelect(this.suggestions.length-1)}else{this.moveSelect(this.select-1)}this.render()}down(){if(this.select===this.suggestions.length-1){this.moveSelect(0)}else{this.moveSelect(this.select+1)}this.render()}next(){if(this.select===this.suggestions.length-1){this.moveSelect(0)}else this.moveSelect(this.select+1);this.render()}nextPage(){this.moveSelect(Math.min(this.select+this.limit,this.suggestions.length-1));this.render()}prevPage(){this.moveSelect(Math.max(this.select-this.limit,0));this.render()}left(){if(this.cursor<=0)return this.bell();this.cursor=this.cursor-1;this.render()}right(){if(this.cursor*this.scale>=this.rendered.length)return this.bell();this.cursor=this.cursor+1;this.render()}renderOption(t,r,i,a){let u;let l=i?g.arrowUp:a?g.arrowDown:" ";let h=r?o.cyan().underline(t.title):t.title;l=(r?o.cyan(g.pointer)+" ":" ")+l;if(t.description){u=` - ${t.description}`;if(l.length+h.length+u.length>=this.out.columns||t.description.split(/\r?\n/).length>1){u="\n"+y(t.description,{margin:3,width:this.out.columns})}}return l+" "+h+o.gray(u||"")}render(){if(this.closed)return;if(this.firstRender)this.out.write(h.hide);else this.out.write(m(this.outputText,this.out.columns));super.render();let t=v(this.select,this.choices.length,this.limit),r=t.startIndex,i=t.endIndex;this.outputText=[d.symbol(this.done,this.aborted,this.exited),o.bold(this.msg),d.delimiter(this.completing),this.done&&this.suggestions[this.select]?this.suggestions[this.select].title:this.rendered=this.transform.render(this.input)].join(" ");if(!this.done){const t=this.suggestions.slice(r,i).map(((t,o)=>this.renderOption(t,this.select===o+r,o===0&&r>0,o+r===i-1&&i<this.choices.length))).join("\n");this.outputText+=`\n`+(t||o.gray(this.fallback.title))}this.out.write(l.line+h.to(0)+this.outputText)}}t.exports=AutocompletePrompt},2040:(t,r,i)=>{"use strict";const o=i(9439);const a=i(332),u=a.cursor;const l=i(4047);const h=i(2800),p=h.clear,d=h.style,m=h.figures;class AutocompleteMultiselectPrompt extends l{constructor(t={}){t.overrideRender=true;super(t);this.inputValue="";this.clear=p("",this.out.columns);this.filteredOptions=this.value;this.render()}last(){this.cursor=this.filteredOptions.length-1;this.render()}next(){this.cursor=(this.cursor+1)%this.filteredOptions.length;this.render()}up(){if(this.cursor===0){this.cursor=this.filteredOptions.length-1}else{this.cursor--}this.render()}down(){if(this.cursor===this.filteredOptions.length-1){this.cursor=0}else{this.cursor++}this.render()}left(){this.filteredOptions[this.cursor].selected=false;this.render()}right(){if(this.value.filter((t=>t.selected)).length>=this.maxChoices)return this.bell();this.filteredOptions[this.cursor].selected=true;this.render()}delete(){if(this.inputValue.length){this.inputValue=this.inputValue.substr(0,this.inputValue.length-1);this.updateFilteredOptions()}}updateFilteredOptions(){const t=this.filteredOptions[this.cursor];this.filteredOptions=this.value.filter((t=>{if(this.inputValue){if(typeof t.title==="string"){if(t.title.toLowerCase().includes(this.inputValue.toLowerCase())){return true}}if(typeof t.value==="string"){if(t.value.toLowerCase().includes(this.inputValue.toLowerCase())){return true}}return false}return true}));const r=this.filteredOptions.findIndex((r=>r===t));this.cursor=r<0?0:r;this.render()}handleSpaceToggle(){const t=this.filteredOptions[this.cursor];if(t.selected){t.selected=false;this.render()}else if(t.disabled||this.value.filter((t=>t.selected)).length>=this.maxChoices){return this.bell()}else{t.selected=true;this.render()}}handleInputChange(t){this.inputValue=this.inputValue+t;this.updateFilteredOptions()}_(t,r){if(t===" "){this.handleSpaceToggle()}else{this.handleInputChange(t)}}renderInstructions(){if(this.instructions===undefined||this.instructions){if(typeof this.instructions==="string"){return this.instructions}return`\nInstructions:\n ${m.arrowUp}/${m.arrowDown}: Highlight option\n ${m.arrowLeft}/${m.arrowRight}/[space]: Toggle selection\n [a,b,c]/delete: Filter choices\n enter/return: Complete answer\n`}return""}renderCurrentInput(){return`\nFiltered results for: ${this.inputValue?this.inputValue:o.gray("Enter something to filter")}\n`}renderOption(t,r,i){let a;if(r.disabled)a=t===i?o.gray().underline(r.title):o.strikethrough().gray(r.title);else a=t===i?o.cyan().underline(r.title):r.title;return(r.selected?o.green(m.radioOn):m.radioOff)+" "+a}renderDoneOrInstructions(){if(this.done){return this.value.filter((t=>t.selected)).map((t=>t.title)).join(", ")}const t=[o.gray(this.hint),this.renderInstructions(),this.renderCurrentInput()];if(this.filteredOptions.length&&this.filteredOptions[this.cursor].disabled){t.push(o.yellow(this.warn))}return t.join(" ")}render(){if(this.closed)return;if(this.firstRender)this.out.write(u.hide);super.render();let t=[d.symbol(this.done,this.aborted),o.bold(this.msg),d.delimiter(false),this.renderDoneOrInstructions()].join(" ");if(this.showMinError){t+=o.red(`You must select a minimum of ${this.minSelected} choices.`);this.showMinError=false}t+=this.renderOptions(this.filteredOptions);this.out.write(this.clear+t);this.clear=p(t,this.out.columns)}}t.exports=AutocompleteMultiselectPrompt},5680:(t,r,i)=>{"use strict";const o=i(9439);const a=i(5876);const u=i(2800),l=u.style,h=u.clear;const p=i(332),d=p.erase,m=p.cursor;class ConfirmPrompt extends a{constructor(t={}){super(t);this.msg=t.message;this.value=t.initial;this.initialValue=!!t.initial;this.yesMsg=t.yes||"yes";this.yesOption=t.yesOption||"(Y/n)";this.noMsg=t.no||"no";this.noOption=t.noOption||"(y/N)";this.render()}reset(){this.value=this.initialValue;this.fire();this.render()}exit(){this.abort()}abort(){this.done=this.aborted=true;this.fire();this.render();this.out.write("\n");this.close()}submit(){this.value=this.value||false;this.done=true;this.aborted=false;this.fire();this.render();this.out.write("\n");this.close()}_(t,r){if(t.toLowerCase()==="y"){this.value=true;return this.submit()}if(t.toLowerCase()==="n"){this.value=false;return this.submit()}return this.bell()}render(){if(this.closed)return;if(this.firstRender)this.out.write(m.hide);else this.out.write(h(this.outputText,this.out.columns));super.render();this.outputText=[l.symbol(this.done,this.aborted),o.bold(this.msg),l.delimiter(this.done),this.done?this.value?this.yesMsg:this.noMsg:o.gray(this.initialValue?this.yesOption:this.noOption)].join(" ");this.out.write(d.line+m.to(0)+this.outputText)}}t.exports=ConfirmPrompt},3031:(t,r,i)=>{"use strict";function asyncGeneratorStep(t,r,i,o,a,u,l){try{var h=t[u](l);var p=h.value}catch(t){i(t);return}if(h.done){r(p)}else{Promise.resolve(p).then(o,a)}}function _asyncToGenerator(t){return function(){var r=this,i=arguments;return new Promise((function(o,a){var u=t.apply(r,i);function _next(t){asyncGeneratorStep(u,o,a,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(u,o,a,_next,_throw,"throw",t)}_next(undefined)}))}}const o=i(9439);const a=i(5876);const u=i(2800),l=u.style,h=u.clear,p=u.figures;const d=i(332),m=d.erase,g=d.cursor;const y=i(7517),v=y.DatePart,A=y.Meridiem,b=y.Day,w=y.Hours,E=y.Milliseconds,S=y.Minutes,_=y.Month,D=y.Seconds,C=y.Year;const x=/\\(.)|"((?:\\["\\]|[^"])+)"|(D[Do]?|d{3,4}|d)|(M{1,4})|(YY(?:YY)?)|([aA])|([Hh]{1,2})|(m{1,2})|(s{1,2})|(S{1,4})|./g;const O={1:({token:t})=>t.replace(/\\(.)/g,"$1"),2:t=>new b(t),3:t=>new _(t),4:t=>new C(t),5:t=>new A(t),6:t=>new w(t),7:t=>new S(t),8:t=>new D(t),9:t=>new E(t)};const R={months:"January,February,March,April,May,June,July,August,September,October,November,December".split(","),monthsShort:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(","),weekdays:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday".split(","),weekdaysShort:"Sun,Mon,Tue,Wed,Thu,Fri,Sat".split(",")};class DatePrompt extends a{constructor(t={}){super(t);this.msg=t.message;this.cursor=0;this.typed="";this.locales=Object.assign(R,t.locales);this._date=t.initial||new Date;this.errorMsg=t.error||"Please Enter A Valid Value";this.validator=t.validate||(()=>true);this.mask=t.mask||"YYYY-MM-DD HH:mm:ss";this.clear=h("",this.out.columns);this.render()}get value(){return this.date}get date(){return this._date}set date(t){if(t)this._date.setTime(t.getTime())}set mask(t){let r;this.parts=[];while(r=x.exec(t)){let t=r.shift();let i=r.findIndex((t=>t!=null));this.parts.push(i in O?O[i]({token:r[i]||t,date:this.date,parts:this.parts,locales:this.locales}):r[i]||t)}let i=this.parts.reduce(((t,r)=>{if(typeof r==="string"&&typeof t[t.length-1]==="string")t[t.length-1]+=r;else t.push(r);return t}),[]);this.parts.splice(0);this.parts.push(...i);this.reset()}moveCursor(t){this.typed="";this.cursor=t;this.fire()}reset(){this.moveCursor(this.parts.findIndex((t=>t instanceof v)));this.fire();this.render()}exit(){this.abort()}abort(){this.done=this.aborted=true;this.error=false;this.fire();this.render();this.out.write("\n");this.close()}validate(){var t=this;return _asyncToGenerator((function*(){let r=yield t.validator(t.value);if(typeof r==="string"){t.errorMsg=r;r=false}t.error=!r}))()}submit(){var t=this;return _asyncToGenerator((function*(){yield t.validate();if(t.error){t.color="red";t.fire();t.render();return}t.done=true;t.aborted=false;t.fire();t.render();t.out.write("\n");t.close()}))()}up(){this.typed="";this.parts[this.cursor].up();this.render()}down(){this.typed="";this.parts[this.cursor].down();this.render()}left(){let t=this.parts[this.cursor].prev();if(t==null)return this.bell();this.moveCursor(this.parts.indexOf(t));this.render()}right(){let t=this.parts[this.cursor].next();if(t==null)return this.bell();this.moveCursor(this.parts.indexOf(t));this.render()}next(){let t=this.parts[this.cursor].next();this.moveCursor(t?this.parts.indexOf(t):this.parts.findIndex((t=>t instanceof v)));this.render()}_(t){if(/\d/.test(t)){this.typed+=t;this.parts[this.cursor].setTo(this.typed);this.render()}}render(){if(this.closed)return;if(this.firstRender)this.out.write(g.hide);else this.out.write(h(this.outputText,this.out.columns));super.render();this.outputText=[l.symbol(this.done,this.aborted),o.bold(this.msg),l.delimiter(false),this.parts.reduce(((t,r,i)=>t.concat(i===this.cursor&&!this.done?o.cyan().underline(r.toString()):r)),[]).join("")].join(" ");if(this.error){this.outputText+=this.errorMsg.split("\n").reduce(((t,r,i)=>t+`\n${i?` `:p.pointerSmall} ${o.red().italic(r)}`),``)}this.out.write(m.line+g.to(0)+this.outputText)}}t.exports=DatePrompt},9956:(t,r,i)=>{"use strict";t.exports={TextPrompt:i(5430),SelectPrompt:i(8856),TogglePrompt:i(9692),DatePrompt:i(3031),NumberPrompt:i(8831),MultiselectPrompt:i(4047),AutocompletePrompt:i(935),AutocompleteMultiselectPrompt:i(2040),ConfirmPrompt:i(5680)}},4047:(t,r,i)=>{"use strict";const o=i(9439);const a=i(332),u=a.cursor;const l=i(5876);const h=i(2800),p=h.clear,d=h.figures,m=h.style,g=h.wrap,y=h.entriesToDisplay;class MultiselectPrompt extends l{constructor(t={}){super(t);this.msg=t.message;this.cursor=t.cursor||0;this.scrollIndex=t.cursor||0;this.hint=t.hint||"";this.warn=t.warn||"- This option is disabled -";this.minSelected=t.min;this.showMinError=false;this.maxChoices=t.max;this.instructions=t.instructions;this.optionsPerPage=t.optionsPerPage||10;this.value=t.choices.map(((t,r)=>{if(typeof t==="string")t={title:t,value:r};return{title:t&&(t.title||t.value||t),description:t&&t.description,value:t&&(t.value===undefined?r:t.value),selected:t&&t.selected,disabled:t&&t.disabled}}));this.clear=p("",this.out.columns);if(!t.overrideRender){this.render()}}reset(){this.value.map((t=>!t.selected));this.cursor=0;this.fire();this.render()}selected(){return this.value.filter((t=>t.selected))}exit(){this.abort()}abort(){this.done=this.aborted=true;this.fire();this.render();this.out.write("\n");this.close()}submit(){const t=this.value.filter((t=>t.selected));if(this.minSelected&&t.length<this.minSelected){this.showMinError=true;this.render()}else{this.done=true;this.aborted=false;this.fire();this.render();this.out.write("\n");this.close()}}first(){this.cursor=0;this.render()}last(){this.cursor=this.value.length-1;this.render()}next(){this.cursor=(this.cursor+1)%this.value.length;this.render()}up(){if(this.cursor===0){this.cursor=this.value.length-1}else{this.cursor--}this.render()}down(){if(this.cursor===this.value.length-1){this.cursor=0}else{this.cursor++}this.render()}left(){this.value[this.cursor].selected=false;this.render()}right(){if(this.value.filter((t=>t.selected)).length>=this.maxChoices)return this.bell();this.value[this.cursor].selected=true;this.render()}handleSpaceToggle(){const t=this.value[this.cursor];if(t.selected){t.selected=false;this.render()}else if(t.disabled||this.value.filter((t=>t.selected)).length>=this.maxChoices){return this.bell()}else{t.selected=true;this.render()}}toggleAll(){if(this.maxChoices!==undefined||this.value[this.cursor].disabled){return this.bell()}const t=!this.value[this.cursor].selected;this.value.filter((t=>!t.disabled)).forEach((r=>r.selected=t));this.render()}_(t,r){if(t===" "){this.handleSpaceToggle()}else if(t==="a"){this.toggleAll()}else{return this.bell()}}renderInstructions(){if(this.instructions===undefined||this.instructions){if(typeof this.instructions==="string"){return this.instructions}return"\nInstructions:\n"+` ${d.arrowUp}/${d.arrowDown}: Highlight option\n`+` ${d.arrowLeft}/${d.arrowRight}/[space]: Toggle selection\n`+(this.maxChoices===undefined?` a: Toggle all\n`:"")+` enter/return: Complete answer`}return""}renderOption(t,r,i,a){const u=(r.selected?o.green(d.radioOn):d.radioOff)+" "+a+" ";let l,h;if(r.disabled){l=t===i?o.gray().underline(r.title):o.strikethrough().gray(r.title)}else{l=t===i?o.cyan().underline(r.title):r.title;if(t===i&&r.description){h=` - ${r.description}`;if(u.length+l.length+h.length>=this.out.columns||r.description.split(/\r?\n/).length>1){h="\n"+g(r.description,{margin:u.length,width:this.out.columns})}}}return u+l+o.gray(h||"")}paginateOptions(t){if(t.length===0){return o.red("No matches for this query.")}let r=y(this.cursor,t.length,this.optionsPerPage),i=r.startIndex,a=r.endIndex;let u,l=[];for(let r=i;r<a;r++){if(r===i&&i>0){u=d.arrowUp}else if(r===a-1&&a<t.length){u=d.arrowDown}else{u=" "}l.push(this.renderOption(this.cursor,t[r],r,u))}return"\n"+l.join("\n")}renderOptions(t){if(!this.done){return this.paginateOptions(t)}return""}renderDoneOrInstructions(){if(this.done){return this.value.filter((t=>t.selected)).map((t=>t.title)).join(", ")}const t=[o.gray(this.hint),this.renderInstructions()];if(this.value[this.cursor].disabled){t.push(o.yellow(this.warn))}return t.join(" ")}render(){if(this.closed)return;if(this.firstRender)this.out.write(u.hide);super.render();let t=[m.symbol(this.done,this.aborted),o.bold(this.msg),m.delimiter(false),this.renderDoneOrInstructions()].join(" ");if(this.showMinError){t+=o.red(`You must select a minimum of ${this.minSelected} choices.`);this.showMinError=false}t+=this.renderOptions(this.value);this.out.write(this.clear+t);this.clear=p(t,this.out.columns)}}t.exports=MultiselectPrompt},8831:(t,r,i)=>{"use strict";function asyncGeneratorStep(t,r,i,o,a,u,l){try{var h=t[u](l);var p=h.value}catch(t){i(t);return}if(h.done){r(p)}else{Promise.resolve(p).then(o,a)}}function _asyncToGenerator(t){return function(){var r=this,i=arguments;return new Promise((function(o,a){var u=t.apply(r,i);function _next(t){asyncGeneratorStep(u,o,a,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(u,o,a,_next,_throw,"throw",t)}_next(undefined)}))}}const o=i(9439);const a=i(5876);const u=i(332),l=u.cursor,h=u.erase;const p=i(2800),d=p.style,m=p.figures,g=p.clear,y=p.lines;const v=/[0-9]/;const isDef=t=>t!==undefined;const round=(t,r)=>{let i=Math.pow(10,r);return Math.round(t*i)/i};class NumberPrompt extends a{constructor(t={}){super(t);this.transform=d.render(t.style);this.msg=t.message;this.initial=isDef(t.initial)?t.initial:"";this.float=!!t.float;this.round=t.round||2;this.inc=t.increment||1;this.min=isDef(t.min)?t.min:-Infinity;this.max=isDef(t.max)?t.max:Infinity;this.errorMsg=t.error||`Please Enter A Valid Value`;this.validator=t.validate||(()=>true);this.color=`cyan`;this.value=``;this.typed=``;this.lastHit=0;this.render()}set value(t){if(!t&&t!==0){this.placeholder=true;this.rendered=o.gray(this.transform.render(`${this.initial}`));this._value=``}else{this.placeholder=false;this.rendered=this.transform.render(`${round(t,this.round)}`);this._value=round(t,this.round)}this.fire()}get value(){return this._value}parse(t){return this.float?parseFloat(t):parseInt(t)}valid(t){return t===`-`||t===`.`&&this.float||v.test(t)}reset(){this.typed=``;this.value=``;this.fire();this.render()}exit(){this.abort()}abort(){let t=this.value;this.value=t!==``?t:this.initial;this.done=this.aborted=true;this.error=false;this.fire();this.render();this.out.write(`\n`);this.close()}validate(){var t=this;return _asyncToGenerator((function*(){let r=yield t.validator(t.value);if(typeof r===`string`){t.errorMsg=r;r=false}t.error=!r}))()}submit(){var t=this;return _asyncToGenerator((function*(){yield t.validate();if(t.error){t.color=`red`;t.fire();t.render();return}let r=t.value;t.value=r!==``?r:t.initial;t.done=true;t.aborted=false;t.error=false;t.fire();t.render();t.out.write(`\n`);t.close()}))()}up(){this.typed=``;if(this.value===""){this.value=this.min-this.inc}if(this.value>=this.max)return this.bell();this.value+=this.inc;this.color=`cyan`;this.fire();this.render()}down(){this.typed=``;if(this.value===""){this.value=this.min+this.inc}if(this.value<=this.min)return this.bell();this.value-=this.inc;this.color=`cyan`;this.fire();this.render()}delete(){let t=this.value.toString();if(t.length===0)return this.bell();this.value=this.parse(t=t.slice(0,-1))||``;if(this.value!==""&&this.value<this.min){this.value=this.min}this.color=`cyan`;this.fire();this.render()}next(){this.value=this.initial;this.fire();this.render()}_(t,r){if(!this.valid(t))return this.bell();const i=Date.now();if(i-this.lastHit>1e3)this.typed=``;this.typed+=t;this.lastHit=i;this.color=`cyan`;if(t===`.`)return this.fire();this.value=Math.min(this.parse(this.typed),this.max);if(this.value>this.max)this.value=this.max;if(this.value<this.min)this.value=this.min;this.fire();this.render()}render(){if(this.closed)return;if(!this.firstRender){if(this.outputError)this.out.write(l.down(y(this.outputError,this.out.columns)-1)+g(this.outputError,this.out.columns));this.out.write(g(this.outputText,this.out.columns))}super.render();this.outputError="";this.outputText=[d.symbol(this.done,this.aborted),o.bold(this.msg),d.delimiter(this.done),!this.done||!this.done&&!this.placeholder?o[this.color]().underline(this.rendered):this.rendered].join(` `);if(this.error){this.outputError+=this.errorMsg.split(`\n`).reduce(((t,r,i)=>t+`\n${i?` `:m.pointerSmall} ${o.red().italic(r)}`),``)}this.out.write(h.line+l.to(0)+this.outputText+l.save+this.outputError+l.restore)}}t.exports=NumberPrompt},5876:(t,r,i)=>{"use strict";const o=i(4521);const a=i(2800),u=a.action;const l=i(2361);const h=i(332),p=h.beep,d=h.cursor;const m=i(9439);class Prompt extends l{constructor(t={}){super();this.firstRender=true;this.in=t.stdin||process.stdin;this.out=t.stdout||process.stdout;this.onRender=(t.onRender||(()=>void 0)).bind(this);const r=o.createInterface({input:this.in,escapeCodeTimeout:50});o.emitKeypressEvents(this.in,r);if(this.in.isTTY)this.in.setRawMode(true);const i=["SelectPrompt","MultiselectPrompt"].indexOf(this.constructor.name)>-1;const keypress=(t,r)=>{let o=u(r,i);if(o===false){this._&&this._(t,r)}else if(typeof this[o]==="function"){this[o](r)}else{this.bell()}};this.close=()=>{this.out.write(d.show);this.in.removeListener("keypress",keypress);if(this.in.isTTY)this.in.setRawMode(false);r.close();this.emit(this.aborted?"abort":this.exited?"exit":"submit",this.value);this.closed=true};this.in.on("keypress",keypress)}fire(){this.emit("state",{value:this.value,aborted:!!this.aborted,exited:!!this.exited})}bell(){this.out.write(p)}render(){this.onRender(m);if(this.firstRender)this.firstRender=false}}t.exports=Prompt},8856:(t,r,i)=>{"use strict";const o=i(9439);const a=i(5876);const u=i(2800),l=u.style,h=u.clear,p=u.figures,d=u.wrap,m=u.entriesToDisplay;const g=i(332),y=g.cursor;class SelectPrompt extends a{constructor(t={}){super(t);this.msg=t.message;this.hint=t.hint||"- Use arrow-keys. Return to submit.";this.warn=t.warn||"- This option is disabled";this.cursor=t.initial||0;this.choices=t.choices.map(((t,r)=>{if(typeof t==="string")t={title:t,value:r};return{title:t&&(t.title||t.value||t),value:t&&(t.value===undefined?r:t.value),description:t&&t.description,selected:t&&t.selected,disabled:t&&t.disabled}}));this.optionsPerPage=t.optionsPerPage||10;this.value=(this.choices[this.cursor]||{}).value;this.clear=h("",this.out.columns);this.render()}moveCursor(t){this.cursor=t;this.value=this.choices[t].value;this.fire()}reset(){this.moveCursor(0);this.fire();this.render()}exit(){this.abort()}abort(){this.done=this.aborted=true;this.fire();this.render();this.out.write("\n");this.close()}submit(){if(!this.selection.disabled){this.done=true;this.aborted=false;this.fire();this.render();this.out.write("\n");this.close()}else this.bell()}first(){this.moveCursor(0);this.render()}last(){this.moveCursor(this.choices.length-1);this.render()}up(){if(this.cursor===0){this.moveCursor(this.choices.length-1)}else{this.moveCursor(this.cursor-1)}this.render()}down(){if(this.cursor===this.choices.length-1){this.moveCursor(0)}else{this.moveCursor(this.cursor+1)}this.render()}next(){this.moveCursor((this.cursor+1)%this.choices.length);this.render()}_(t,r){if(t===" ")return this.submit()}get selection(){return this.choices[this.cursor]}render(){if(this.closed)return;if(this.firstRender)this.out.write(y.hide);else this.out.write(h(this.outputText,this.out.columns));super.render();let t=m(this.cursor,this.choices.length,this.optionsPerPage),r=t.startIndex,i=t.endIndex;this.outputText=[l.symbol(this.done,this.aborted),o.bold(this.msg),l.delimiter(false),this.done?this.selection.title:this.selection.disabled?o.yellow(this.warn):o.gray(this.hint)].join(" ");if(!this.done){this.outputText+="\n";for(let t=r;t<i;t++){let a,u,l="",h=this.choices[t];if(t===r&&r>0){u=p.arrowUp}else if(t===i-1&&i<this.choices.length){u=p.arrowDown}else{u=" "}if(h.disabled){a=this.cursor===t?o.gray().underline(h.title):o.strikethrough().gray(h.title);u=(this.cursor===t?o.bold().gray(p.pointer)+" ":" ")+u}else{a=this.cursor===t?o.cyan().underline(h.title):h.title;u=(this.cursor===t?o.cyan(p.pointer)+" ":" ")+u;if(h.description&&this.cursor===t){l=` - ${h.description}`;if(u.length+a.length+l.length>=this.out.columns||h.description.split(/\r?\n/).length>1){l="\n"+d(h.description,{margin:3,width:this.out.columns})}}}this.outputText+=`${u} ${a}${o.gray(l)}\n`}}this.out.write(this.outputText)}}t.exports=SelectPrompt},5430:(t,r,i)=>{"use strict";function asyncGeneratorStep(t,r,i,o,a,u,l){try{var h=t[u](l);var p=h.value}catch(t){i(t);return}if(h.done){r(p)}else{Promise.resolve(p).then(o,a)}}function _asyncToGenerator(t){return function(){var r=this,i=arguments;return new Promise((function(o,a){var u=t.apply(r,i);function _next(t){asyncGeneratorStep(u,o,a,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(u,o,a,_next,_throw,"throw",t)}_next(undefined)}))}}const o=i(9439);const a=i(5876);const u=i(332),l=u.erase,h=u.cursor;const p=i(2800),d=p.style,m=p.clear,g=p.lines,y=p.figures;class TextPrompt extends a{constructor(t={}){super(t);this.transform=d.render(t.style);this.scale=this.transform.scale;this.msg=t.message;this.initial=t.initial||``;this.validator=t.validate||(()=>true);this.value=``;this.errorMsg=t.error||`Please Enter A Valid Value`;this.cursor=Number(!!this.initial);this.cursorOffset=0;this.clear=m(``,this.out.columns);this.render()}set value(t){if(!t&&this.initial){this.placeholder=true;this.rendered=o.gray(this.transform.render(this.initial))}else{this.placeholder=false;this.rendered=this.transform.render(t)}this._value=t;this.fire()}get value(){return this._value}reset(){this.value=``;this.cursor=Number(!!this.initial);this.cursorOffset=0;this.fire();this.render()}exit(){this.abort()}abort(){this.value=this.value||this.initial;this.done=this.aborted=true;this.error=false;this.red=false;this.fire();this.render();this.out.write("\n");this.close()}validate(){var t=this;return _asyncToGenerator((function*(){let r=yield t.validator(t.value);if(typeof r===`string`){t.errorMsg=r;r=false}t.error=!r}))()}submit(){var t=this;return _asyncToGenerator((function*(){t.value=t.value||t.initial;t.cursorOffset=0;t.cursor=t.rendered.length;yield t.validate();if(t.error){t.red=true;t.fire();t.render();return}t.done=true;t.aborted=false;t.fire();t.render();t.out.write("\n");t.close()}))()}next(){if(!this.placeholder)return this.bell();this.value=this.initial;this.cursor=this.rendered.length;this.fire();this.render()}moveCursor(t){if(this.placeholder)return;this.cursor=this.cursor+t;this.cursorOffset+=t}_(t,r){let i=this.value.slice(0,this.cursor);let o=this.value.slice(this.cursor);this.value=`${i}${t}${o}`;this.red=false;this.cursor=this.placeholder?0:i.length+1;this.render()}delete(){if(this.isCursorAtStart())return this.bell();let t=this.value.slice(0,this.cursor-1);let r=this.value.slice(this.cursor);this.value=`${t}${r}`;this.red=false;if(this.isCursorAtStart()){this.cursorOffset=0}else{this.cursorOffset++;this.moveCursor(-1)}this.render()}deleteForward(){if(this.cursor*this.scale>=this.rendered.length||this.placeholder)return this.bell();let t=this.value.slice(0,this.cursor);let r=this.value.slice(this.cursor+1);this.value=`${t}${r}`;this.red=false;if(this.isCursorAtEnd()){this.cursorOffset=0}else{this.cursorOffset++}this.render()}first(){this.cursor=0;this.render()}last(){this.cursor=this.value.length;this.render()}left(){if(this.cursor<=0||this.placeholder)return this.bell();this.moveCursor(-1);this.render()}right(){if(this.cursor*this.scale>=this.rendered.length||this.placeholder)return this.bell();this.moveCursor(1);this.render()}isCursorAtStart(){return this.cursor===0||this.placeholder&&this.cursor===1}isCursorAtEnd(){return this.cursor===this.rendered.length||this.placeholder&&this.cursor===this.rendered.length+1}render(){if(this.closed)return;if(!this.firstRender){if(this.outputError)this.out.write(h.down(g(this.outputError,this.out.columns)-1)+m(this.outputError,this.out.columns));this.out.write(m(this.outputText,this.out.columns))}super.render();this.outputError="";this.outputText=[d.symbol(this.done,this.aborted),o.bold(this.msg),d.delimiter(this.done),this.red?o.red(this.rendered):this.rendered].join(` `);if(this.error){this.outputError+=this.errorMsg.split(`\n`).reduce(((t,r,i)=>t+`\n${i?" ":y.pointerSmall} ${o.red().italic(r)}`),``)}this.out.write(l.line+h.to(0)+this.outputText+h.save+this.outputError+h.restore+h.move(this.cursorOffset,0))}}t.exports=TextPrompt},9692:(t,r,i)=>{"use strict";const o=i(9439);const a=i(5876);const u=i(2800),l=u.style,h=u.clear;const p=i(332),d=p.cursor,m=p.erase;class TogglePrompt extends a{constructor(t={}){super(t);this.msg=t.message;this.value=!!t.initial;this.active=t.active||"on";this.inactive=t.inactive||"off";this.initialValue=this.value;this.render()}reset(){this.value=this.initialValue;this.fire();this.render()}exit(){this.abort()}abort(){this.done=this.aborted=true;this.fire();this.render();this.out.write("\n");this.close()}submit(){this.done=true;this.aborted=false;this.fire();this.render();this.out.write("\n");this.close()}deactivate(){if(this.value===false)return this.bell();this.value=false;this.render()}activate(){if(this.value===true)return this.bell();this.value=true;this.render()}delete(){this.deactivate()}left(){this.deactivate()}right(){this.activate()}down(){this.deactivate()}up(){this.activate()}next(){this.value=!this.value;this.fire();this.render()}_(t,r){if(t===" "){this.value=!this.value}else if(t==="1"){this.value=true}else if(t==="0"){this.value=false}else return this.bell();this.render()}render(){if(this.closed)return;if(this.firstRender)this.out.write(d.hide);else this.out.write(h(this.outputText,this.out.columns));super.render();this.outputText=[l.symbol(this.done,this.aborted),o.bold(this.msg),l.delimiter(this.done),this.value?this.inactive:o.cyan().underline(this.inactive),o.gray("/"),this.value?o.cyan().underline(this.active):this.active].join(" ");this.out.write(m.line+d.to(0)+this.outputText)}}t.exports=TogglePrompt},6598:(t,r,i)=>{"use strict";function ownKeys(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);if(r){o=o.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))}i.push.apply(i,o)}return i}function _objectSpread(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};if(r%2){ownKeys(Object(i),true).forEach((function(r){_defineProperty(t,r,i[r])}))}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(t,Object.getOwnPropertyDescriptors(i))}else{ownKeys(Object(i)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))}))}}return t}function _defineProperty(t,r,i){if(r in t){Object.defineProperty(t,r,{value:i,enumerable:true,configurable:true,writable:true})}else{t[r]=i}return t}function _createForOfIteratorHelper(t,r){var i=typeof Symbol!=="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=_unsupportedIterableToArray(t))||r&&t&&typeof t.length==="number"){if(i)t=i;var o=0;var a=function F(){};return{s:a,n:function n(){if(o>=t.length)return{done:true};return{done:false,value:t[o++]}},e:function e(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u=true,l=false,h;return{s:function s(){i=i.call(t)},n:function n(){var t=i.next();u=t.done;return t},e:function e(t){l=true;h=t},f:function f(){try{if(!u&&i.return!=null)i.return()}finally{if(l)throw h}}}}function _unsupportedIterableToArray(t,r){if(!t)return;if(typeof t==="string")return _arrayLikeToArray(t,r);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor)i=t.constructor.name;if(i==="Map"||i==="Set")return Array.from(t);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return _arrayLikeToArray(t,r)}function _arrayLikeToArray(t,r){if(r==null||r>t.length)r=t.length;for(var i=0,o=new Array(r);i<r;i++)o[i]=t[i];return o}function asyncGeneratorStep(t,r,i,o,a,u,l){try{var h=t[u](l);var p=h.value}catch(t){i(t);return}if(h.done){r(p)}else{Promise.resolve(p).then(o,a)}}function _asyncToGenerator(t){return function(){var r=this,i=arguments;return new Promise((function(o,a){var u=t.apply(r,i);function _next(t){asyncGeneratorStep(u,o,a,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(u,o,a,_next,_throw,"throw",t)}_next(undefined)}))}}const o=i(4591);const a=["suggest","format","onState","validate","onRender","type"];const noop=()=>{};function prompt(){return _prompt.apply(this,arguments)}function _prompt(){_prompt=_asyncToGenerator((function*(t=[],{onSubmit:r=noop,onCancel:i=noop}={}){const u={};const l=prompt._override||{};t=[].concat(t);let h,p,d,m,g,y;const v=function(){var t=_asyncToGenerator((function*(t,r,i=false){if(!i&&t.validate&&t.validate(r)!==true){return}return t.format?yield t.format(r,u):r}));return function getFormattedAnswer(r,i){return t.apply(this,arguments)}}();var A=_createForOfIteratorHelper(t),b;try{for(A.s();!(b=A.n()).done;){p=b.value;var w=p;m=w.name;g=w.type;if(typeof g==="function"){g=yield g(h,_objectSpread({},u),p);p["type"]=g}if(!g)continue;for(let t in p){if(a.includes(t))continue;let r=p[t];p[t]=typeof r==="function"?yield r(h,_objectSpread({},u),y):r}y=p;if(typeof p.message!=="string"){throw new Error("prompt message is required")}var E=p;m=E.name;g=E.type;if(o[g]===void 0){throw new Error(`prompt type (${g}) is not defined`)}if(l[p.name]!==undefined){h=yield v(p,l[p.name]);if(h!==undefined){u[m]=h;continue}}try{h=prompt._injected?getInjectedAnswer(prompt._injected,p.initial):yield o[g](p);u[m]=h=yield v(p,h,true);d=yield r(p,h,u)}catch(t){d=!(yield i(p,u))}if(d)return u}}catch(t){A.e(t)}finally{A.f()}return u}));return _prompt.apply(this,arguments)}function getInjectedAnswer(t,r){const i=t.shift();if(i instanceof Error){throw i}return i===undefined?r:i}function inject(t){prompt._injected=(prompt._injected||[]).concat(t)}function override(t){prompt._override=Object.assign({},t)}t.exports=Object.assign(prompt,{prompt:prompt,prompts:o,inject:inject,override:override})},4591:(t,r,i)=>{"use strict";const o=r;const a=i(9956);const noop=t=>t;function toPrompt(t,r,i={}){return new Promise(((o,u)=>{const l=new a[t](r);const h=i.onAbort||noop;const p=i.onSubmit||noop;const d=i.onExit||noop;l.on("state",r.onState||noop);l.on("submit",(t=>o(p(t))));l.on("exit",(t=>o(d(t))));l.on("abort",(t=>u(h(t))))}))}o.text=t=>toPrompt("TextPrompt",t);o.password=t=>{t.style="password";return o.text(t)};o.invisible=t=>{t.style="invisible";return o.text(t)};o.number=t=>toPrompt("NumberPrompt",t);o.date=t=>toPrompt("DatePrompt",t);o.confirm=t=>toPrompt("ConfirmPrompt",t);o.list=t=>{const r=t.separator||",";return toPrompt("TextPrompt",t,{onSubmit:t=>t.split(r).map((t=>t.trim()))})};o.toggle=t=>toPrompt("TogglePrompt",t);o.select=t=>toPrompt("SelectPrompt",t);o.multiselect=t=>{t.choices=[].concat(t.choices||[]);const toSelected=t=>t.filter((t=>t.selected)).map((t=>t.value));return toPrompt("MultiselectPrompt",t,{onAbort:toSelected,onSubmit:toSelected})};o.autocompleteMultiselect=t=>{t.choices=[].concat(t.choices||[]);const toSelected=t=>t.filter((t=>t.selected)).map((t=>t.value));return toPrompt("AutocompleteMultiselectPrompt",t,{onAbort:toSelected,onSubmit:toSelected})};const byTitle=(t,r)=>Promise.resolve(r.filter((r=>r.title.slice(0,t.length).toLowerCase()===t.toLowerCase())));o.autocomplete=t=>{t.suggest=t.suggest||byTitle;t.choices=[].concat(t.choices||[]);return toPrompt("AutocompletePrompt",t)}},8692:t=>{"use strict";t.exports=(t,r)=>{if(t.meta&&t.name!=="escape")return;if(t.ctrl){if(t.name==="a")return"first";if(t.name==="c")return"abort";if(t.name==="d")return"abort";if(t.name==="e")return"last";if(t.name==="g")return"reset"}if(r){if(t.name==="j")return"down";if(t.name==="k")return"up"}if(t.name==="return")return"submit";if(t.name==="enter")return"submit";if(t.name==="backspace")return"delete";if(t.name==="delete")return"deleteForward";if(t.name==="abort")return"abort";if(t.name==="escape")return"exit";if(t.name==="tab")return"next";if(t.name==="pagedown")return"nextPage";if(t.name==="pageup")return"prevPage";if(t.name==="home")return"home";if(t.name==="end")return"end";if(t.name==="up")return"up";if(t.name==="down")return"down";if(t.name==="right")return"right";if(t.name==="left")return"left";return false}},3513:(t,r,i)=>{"use strict";function _createForOfIteratorHelper(t,r){var i=typeof Symbol!=="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=_unsupportedIterableToArray(t))||r&&t&&typeof t.length==="number"){if(i)t=i;var o=0;var a=function F(){};return{s:a,n:function n(){if(o>=t.length)return{done:true};return{done:false,value:t[o++]}},e:function e(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u=true,l=false,h;return{s:function s(){i=i.call(t)},n:function n(){var t=i.next();u=t.done;return t},e:function e(t){l=true;h=t},f:function f(){try{if(!u&&i.return!=null)i.return()}finally{if(l)throw h}}}}function _unsupportedIterableToArray(t,r){if(!t)return;if(typeof t==="string")return _arrayLikeToArray(t,r);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor)i=t.constructor.name;if(i==="Map"||i==="Set")return Array.from(t);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return _arrayLikeToArray(t,r)}function _arrayLikeToArray(t,r){if(r==null||r>t.length)r=t.length;for(var i=0,o=new Array(r);i<r;i++)o[i]=t[i];return o}const o=i(8760);const a=i(332),u=a.erase,l=a.cursor;const width=t=>[...o(t)].length;t.exports=function(t,r){if(!r)return u.line+l.to(0);let i=0;const o=t.split(/\r?\n/);var a=_createForOfIteratorHelper(o),h;try{for(a.s();!(h=a.n()).done;){let t=h.value;i+=1+Math.floor(Math.max(width(t)-1,0)/r)}}catch(t){a.e(t)}finally{a.f()}return u.lines(i)}},393:t=>{"use strict";t.exports=(t,r,i)=>{i=i||r;let o=Math.min(r-i,t-Math.floor(i/2));if(o<0)o=0;let a=Math.min(o+i,r);return{startIndex:o,endIndex:a}}},6217:t=>{"use strict";const r={arrowUp:"↑",arrowDown:"↓",arrowLeft:"←",arrowRight:"→",radioOn:"◉",radioOff:"◯",tick:"✔",cross:"✖",ellipsis:"…",pointerSmall:"›",line:"─",pointer:"❯"};const i={arrowUp:r.arrowUp,arrowDown:r.arrowDown,arrowLeft:r.arrowLeft,arrowRight:r.arrowRight,radioOn:"(*)",radioOff:"( )",tick:"√",cross:"×",ellipsis:"...",pointerSmall:"»",line:"─",pointer:">"};const o=process.platform==="win32"?i:r;t.exports=o},2800:(t,r,i)=>{"use strict";t.exports={action:i(8692),clear:i(3513),style:i(5012),strip:i(8760),figures:i(6217),lines:i(1688),wrap:i(1705),entriesToDisplay:i(393)}},1688:(t,r,i)=>{"use strict";const o=i(8760);t.exports=function(t,r){let i=String(o(t)||"").split(/\r?\n/);if(!r)return i.length;return i.map((t=>Math.ceil(t.length/r))).reduce(((t,r)=>t+r))}},8760:t=>{"use strict";t.exports=t=>{const r=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))"].join("|");const i=new RegExp(r,"g");return typeof t==="string"?t.replace(i,""):t}},5012:(t,r,i)=>{"use strict";const o=i(9439);const a=i(6217);const u=Object.freeze({password:{scale:1,render:t=>"*".repeat(t.length)},emoji:{scale:2,render:t=>"😃".repeat(t.length)},invisible:{scale:0,render:t=>""},default:{scale:1,render:t=>`${t}`}});const render=t=>u[t]||u.default;const l=Object.freeze({aborted:o.red(a.cross),done:o.green(a.tick),exited:o.yellow(a.cross),default:o.cyan("?")});const symbol=(t,r,i)=>r?l.aborted:i?l.exited:t?l.done:l.default;const delimiter=t=>o.gray(t?a.ellipsis:a.pointerSmall);const item=(t,r)=>o.gray(t?r?a.pointerSmall:"+":a.line);t.exports={styles:u,render:render,symbols:l,symbol:symbol,delimiter:delimiter,item:item}},1705:t=>{"use strict";t.exports=(t,r={})=>{const i=Number.isSafeInteger(parseInt(r.margin))?new Array(parseInt(r.margin)).fill(" ").join(""):r.margin||"";const o=r.width;return(t||"").split(/\r?\n/g).map((t=>t.split(/\s+/g).reduce(((t,r)=>{if(r.length+i.length>=o||t[t.length-1].length+r.length+1<o)t[t.length-1]+=` ${r}`;else t.push(`${i}${r}`);return t}),[i]).join("\n"))).join("\n")}},1112:(t,r,i)=>{function isNodeLT(t){t=(Array.isArray(t)?t:t.split(".")).map(Number);let r=0,i=process.versions.node.split(".").map(Number);for(;r<t.length;r++){if(i[r]>t[r])return false;if(t[r]>i[r])return true}return false}t.exports=isNodeLT("8.6.0")?i(6598):i(9590)},8994:t=>{"use strict";class DatePart{constructor({token:t,date:r,parts:i,locales:o}){this.token=t;this.date=r||new Date;this.parts=i||[this];this.locales=o||{}}up(){}down(){}next(){const t=this.parts.indexOf(this);return this.parts.find(((r,i)=>i>t&&r instanceof DatePart))}setTo(t){}prev(){let t=[].concat(this.parts).reverse();const r=t.indexOf(this);return t.find(((t,i)=>i>r&&t instanceof DatePart))}toString(){return String(this.date)}}t.exports=DatePart},5513:(t,r,i)=>{"use strict";const o=i(8994);const pos=t=>{t=t%10;return t===1?"st":t===2?"nd":t===3?"rd":"th"};class Day extends o{constructor(t={}){super(t)}up(){this.date.setDate(this.date.getDate()+1)}down(){this.date.setDate(this.date.getDate()-1)}setTo(t){this.date.setDate(parseInt(t.substr(-2)))}toString(){let t=this.date.getDate();let r=this.date.getDay();return this.token==="DD"?String(t).padStart(2,"0"):this.token==="Do"?t+pos(t):this.token==="d"?r+1:this.token==="ddd"?this.locales.weekdaysShort[r]:this.token==="dddd"?this.locales.weekdays[r]:t}}t.exports=Day},9270:(t,r,i)=>{"use strict";const o=i(8994);class Hours extends o{constructor(t={}){super(t)}up(){this.date.setHours(this.date.getHours()+1)}down(){this.date.setHours(this.date.getHours()-1)}setTo(t){this.date.setHours(parseInt(t.substr(-2)))}toString(){let t=this.date.getHours();if(/h/.test(this.token))t=t%12||12;return this.token.length>1?String(t).padStart(2,"0"):t}}t.exports=Hours},1190:(t,r,i)=>{"use strict";t.exports={DatePart:i(8994),Meridiem:i(8135),Day:i(5513),Hours:i(9270),Milliseconds:i(2397),Minutes:i(9246),Month:i(5763),Seconds:i(5579),Year:i(4191)}},8135:(t,r,i)=>{"use strict";const o=i(8994);class Meridiem extends o{constructor(t={}){super(t)}up(){this.date.setHours((this.date.getHours()+12)%24)}down(){this.up()}toString(){let t=this.date.getHours()>12?"pm":"am";return/\A/.test(this.token)?t.toUpperCase():t}}t.exports=Meridiem},2397:(t,r,i)=>{"use strict";const o=i(8994);class Milliseconds extends o{constructor(t={}){super(t)}up(){this.date.setMilliseconds(this.date.getMilliseconds()+1)}down(){this.date.setMilliseconds(this.date.getMilliseconds()-1)}setTo(t){this.date.setMilliseconds(parseInt(t.substr(-this.token.length)))}toString(){return String(this.date.getMilliseconds()).padStart(4,"0").substr(0,this.token.length)}}t.exports=Milliseconds},9246:(t,r,i)=>{"use strict";const o=i(8994);class Minutes extends o{constructor(t={}){super(t)}up(){this.date.setMinutes(this.date.getMinutes()+1)}down(){this.date.setMinutes(this.date.getMinutes()-1)}setTo(t){this.date.setMinutes(parseInt(t.substr(-2)))}toString(){let t=this.date.getMinutes();return this.token.length>1?String(t).padStart(2,"0"):t}}t.exports=Minutes},5763:(t,r,i)=>{"use strict";const o=i(8994);class Month extends o{constructor(t={}){super(t)}up(){this.date.setMonth(this.date.getMonth()+1)}down(){this.date.setMonth(this.date.getMonth()-1)}setTo(t){t=parseInt(t.substr(-2))-1;this.date.setMonth(t<0?0:t)}toString(){let t=this.date.getMonth();let r=this.token.length;return r===2?String(t+1).padStart(2,"0"):r===3?this.locales.monthsShort[t]:r===4?this.locales.months[t]:String(t+1)}}t.exports=Month},5579:(t,r,i)=>{"use strict";const o=i(8994);class Seconds extends o{constructor(t={}){super(t)}up(){this.date.setSeconds(this.date.getSeconds()+1)}down(){this.date.setSeconds(this.date.getSeconds()-1)}setTo(t){this.date.setSeconds(parseInt(t.substr(-2)))}toString(){let t=this.date.getSeconds();return this.token.length>1?String(t).padStart(2,"0"):t}}t.exports=Seconds},4191:(t,r,i)=>{"use strict";const o=i(8994);class Year extends o{constructor(t={}){super(t)}up(){this.date.setFullYear(this.date.getFullYear()+1)}down(){this.date.setFullYear(this.date.getFullYear()-1)}setTo(t){this.date.setFullYear(t.substr(-4))}toString(){let t=String(this.date.getFullYear()).padStart(4,"0");return this.token.length===2?t.substr(-2):t}}t.exports=Year},514:(t,r,i)=>{"use strict";const o=i(9439);const a=i(9126);const{erase:u,cursor:l}=i(332);const{style:h,clear:p,figures:d,wrap:m,entriesToDisplay:g}=i(9807);const getVal=(t,r)=>t[r]&&(t[r].value||t[r].title||t[r]);const getTitle=(t,r)=>t[r]&&(t[r].title||t[r].value||t[r]);const getIndex=(t,r)=>{const i=t.findIndex((t=>t.value===r||t.title===r));return i>-1?i:undefined};class AutocompletePrompt extends a{constructor(t={}){super(t);this.msg=t.message;this.suggest=t.suggest;this.choices=t.choices;this.initial=typeof t.initial==="number"?t.initial:getIndex(t.choices,t.initial);this.select=this.initial||t.cursor||0;this.i18n={noMatches:t.noMatches||"no matches found"};this.fallback=t.fallback||this.initial;this.clearFirst=t.clearFirst||false;this.suggestions=[];this.input="";this.limit=t.limit||10;this.cursor=0;this.transform=h.render(t.style);this.scale=this.transform.scale;this.render=this.render.bind(this);this.complete=this.complete.bind(this);this.clear=p("",this.out.columns);this.complete(this.render);this.render()}set fallback(t){this._fb=Number.isSafeInteger(parseInt(t))?parseInt(t):t}get fallback(){let t;if(typeof this._fb==="number")t=this.choices[this._fb];else if(typeof this._fb==="string")t={title:this._fb};return t||this._fb||{title:this.i18n.noMatches}}moveSelect(t){this.select=t;if(this.suggestions.length>0)this.value=getVal(this.suggestions,t);else this.value=this.fallback.value;this.fire()}async complete(t){const r=this.completing=this.suggest(this.input,this.choices);const i=await r;if(this.completing!==r)return;this.suggestions=i.map(((t,r,i)=>({title:getTitle(i,r),value:getVal(i,r),description:t.description})));this.completing=false;const o=Math.max(i.length-1,0);this.moveSelect(Math.min(o,this.select));t&&t()}reset(){this.input="";this.complete((()=>{this.moveSelect(this.initial!==void 0?this.initial:0);this.render()}));this.render()}exit(){if(this.clearFirst&&this.input.length>0){this.reset()}else{this.done=this.exited=true;this.aborted=false;this.fire();this.render();this.out.write("\n");this.close()}}abort(){this.done=this.aborted=true;this.exited=false;this.fire();this.render();this.out.write("\n");this.close()}submit(){this.done=true;this.aborted=this.exited=false;this.fire();this.render();this.out.write("\n");this.close()}_(t,r){let i=this.input.slice(0,this.cursor);let o=this.input.slice(this.cursor);this.input=`${i}${t}${o}`;this.cursor=i.length+1;this.complete(this.render);this.render()}delete(){if(this.cursor===0)return this.bell();let t=this.input.slice(0,this.cursor-1);let r=this.input.slice(this.cursor);this.input=`${t}${r}`;this.complete(this.render);this.cursor=this.cursor-1;this.render()}deleteForward(){if(this.cursor*this.scale>=this.rendered.length)return this.bell();let t=this.input.slice(0,this.cursor);let r=this.input.slice(this.cursor+1);this.input=`${t}${r}`;this.complete(this.render);this.render()}first(){this.moveSelect(0);this.render()}last(){this.moveSelect(this.suggestions.length-1);this.render()}up(){if(this.select===0){this.moveSelect(this.suggestions.length-1)}else{this.moveSelect(this.select-1)}this.render()}down(){if(this.select===this.suggestions.length-1){this.moveSelect(0)}else{this.moveSelect(this.select+1)}this.render()}next(){if(this.select===this.suggestions.length-1){this.moveSelect(0)}else this.moveSelect(this.select+1);this.render()}nextPage(){this.moveSelect(Math.min(this.select+this.limit,this.suggestions.length-1));this.render()}prevPage(){this.moveSelect(Math.max(this.select-this.limit,0));this.render()}left(){if(this.cursor<=0)return this.bell();this.cursor=this.cursor-1;this.render()}right(){if(this.cursor*this.scale>=this.rendered.length)return this.bell();this.cursor=this.cursor+1;this.render()}renderOption(t,r,i,a){let u;let l=i?d.arrowUp:a?d.arrowDown:" ";let h=r?o.cyan().underline(t.title):t.title;l=(r?o.cyan(d.pointer)+" ":" ")+l;if(t.description){u=` - ${t.description}`;if(l.length+h.length+u.length>=this.out.columns||t.description.split(/\r?\n/).length>1){u="\n"+m(t.description,{margin:3,width:this.out.columns})}}return l+" "+h+o.gray(u||"")}render(){if(this.closed)return;if(this.firstRender)this.out.write(l.hide);else this.out.write(p(this.outputText,this.out.columns));super.render();let{startIndex:t,endIndex:r}=g(this.select,this.choices.length,this.limit);this.outputText=[h.symbol(this.done,this.aborted,this.exited),o.bold(this.msg),h.delimiter(this.completing),this.done&&this.suggestions[this.select]?this.suggestions[this.select].title:this.rendered=this.transform.render(this.input)].join(" ");if(!this.done){const i=this.suggestions.slice(t,r).map(((i,o)=>this.renderOption(i,this.select===o+t,o===0&&t>0,o+t===r-1&&r<this.choices.length))).join("\n");this.outputText+=`\n`+(i||o.gray(this.fallback.title))}this.out.write(u.line+l.to(0)+this.outputText)}}t.exports=AutocompletePrompt},7685:(t,r,i)=>{"use strict";const o=i(9439);const{cursor:a}=i(332);const u=i(92);const{clear:l,style:h,figures:p}=i(9807);class AutocompleteMultiselectPrompt extends u{constructor(t={}){t.overrideRender=true;super(t);this.inputValue="";this.clear=l("",this.out.columns);this.filteredOptions=this.value;this.render()}last(){this.cursor=this.filteredOptions.length-1;this.render()}next(){this.cursor=(this.cursor+1)%this.filteredOptions.length;this.render()}up(){if(this.cursor===0){this.cursor=this.filteredOptions.length-1}else{this.cursor--}this.render()}down(){if(this.cursor===this.filteredOptions.length-1){this.cursor=0}else{this.cursor++}this.render()}left(){this.filteredOptions[this.cursor].selected=false;this.render()}right(){if(this.value.filter((t=>t.selected)).length>=this.maxChoices)return this.bell();this.filteredOptions[this.cursor].selected=true;this.render()}delete(){if(this.inputValue.length){this.inputValue=this.inputValue.substr(0,this.inputValue.length-1);this.updateFilteredOptions()}}updateFilteredOptions(){const t=this.filteredOptions[this.cursor];this.filteredOptions=this.value.filter((t=>{if(this.inputValue){if(typeof t.title==="string"){if(t.title.toLowerCase().includes(this.inputValue.toLowerCase())){return true}}if(typeof t.value==="string"){if(t.value.toLowerCase().includes(this.inputValue.toLowerCase())){return true}}return false}return true}));const r=this.filteredOptions.findIndex((r=>r===t));this.cursor=r<0?0:r;this.render()}handleSpaceToggle(){const t=this.filteredOptions[this.cursor];if(t.selected){t.selected=false;this.render()}else if(t.disabled||this.value.filter((t=>t.selected)).length>=this.maxChoices){return this.bell()}else{t.selected=true;this.render()}}handleInputChange(t){this.inputValue=this.inputValue+t;this.updateFilteredOptions()}_(t,r){if(t===" "){this.handleSpaceToggle()}else{this.handleInputChange(t)}}renderInstructions(){if(this.instructions===undefined||this.instructions){if(typeof this.instructions==="string"){return this.instructions}return`\nInstructions:\n ${p.arrowUp}/${p.arrowDown}: Highlight option\n ${p.arrowLeft}/${p.arrowRight}/[space]: Toggle selection\n [a,b,c]/delete: Filter choices\n enter/return: Complete answer\n`}return""}renderCurrentInput(){return`\nFiltered results for: ${this.inputValue?this.inputValue:o.gray("Enter something to filter")}\n`}renderOption(t,r,i){let a;if(r.disabled)a=t===i?o.gray().underline(r.title):o.strikethrough().gray(r.title);else a=t===i?o.cyan().underline(r.title):r.title;return(r.selected?o.green(p.radioOn):p.radioOff)+" "+a}renderDoneOrInstructions(){if(this.done){return this.value.filter((t=>t.selected)).map((t=>t.title)).join(", ")}const t=[o.gray(this.hint),this.renderInstructions(),this.renderCurrentInput()];if(this.filteredOptions.length&&this.filteredOptions[this.cursor].disabled){t.push(o.yellow(this.warn))}return t.join(" ")}render(){if(this.closed)return;if(this.firstRender)this.out.write(a.hide);super.render();let t=[h.symbol(this.done,this.aborted),o.bold(this.msg),h.delimiter(false),this.renderDoneOrInstructions()].join(" ");if(this.showMinError){t+=o.red(`You must select a minimum of ${this.minSelected} choices.`);this.showMinError=false}t+=this.renderOptions(this.filteredOptions);this.out.write(this.clear+t);this.clear=l(t,this.out.columns)}}t.exports=AutocompleteMultiselectPrompt},3037:(t,r,i)=>{const o=i(9439);const a=i(9126);const{style:u,clear:l}=i(9807);const{erase:h,cursor:p}=i(332);class ConfirmPrompt extends a{constructor(t={}){super(t);this.msg=t.message;this.value=t.initial;this.initialValue=!!t.initial;this.yesMsg=t.yes||"yes";this.yesOption=t.yesOption||"(Y/n)";this.noMsg=t.no||"no";this.noOption=t.noOption||"(y/N)";this.render()}reset(){this.value=this.initialValue;this.fire();this.render()}exit(){this.abort()}abort(){this.done=this.aborted=true;this.fire();this.render();this.out.write("\n");this.close()}submit(){this.value=this.value||false;this.done=true;this.aborted=false;this.fire();this.render();this.out.write("\n");this.close()}_(t,r){if(t.toLowerCase()==="y"){this.value=true;return this.submit()}if(t.toLowerCase()==="n"){this.value=false;return this.submit()}return this.bell()}render(){if(this.closed)return;if(this.firstRender)this.out.write(p.hide);else this.out.write(l(this.outputText,this.out.columns));super.render();this.outputText=[u.symbol(this.done,this.aborted),o.bold(this.msg),u.delimiter(this.done),this.done?this.value?this.yesMsg:this.noMsg:o.gray(this.initialValue?this.yesOption:this.noOption)].join(" ");this.out.write(h.line+p.to(0)+this.outputText)}}t.exports=ConfirmPrompt},5048:(t,r,i)=>{"use strict";const o=i(9439);const a=i(9126);const{style:u,clear:l,figures:h}=i(9807);const{erase:p,cursor:d}=i(332);const{DatePart:m,Meridiem:g,Day:y,Hours:v,Milliseconds:A,Minutes:b,Month:w,Seconds:E,Year:S}=i(1190);const _=/\\(.)|"((?:\\["\\]|[^"])+)"|(D[Do]?|d{3,4}|d)|(M{1,4})|(YY(?:YY)?)|([aA])|([Hh]{1,2})|(m{1,2})|(s{1,2})|(S{1,4})|./g;const D={1:({token:t})=>t.replace(/\\(.)/g,"$1"),2:t=>new y(t),3:t=>new w(t),4:t=>new S(t),5:t=>new g(t),6:t=>new v(t),7:t=>new b(t),8:t=>new E(t),9:t=>new A(t)};const C={months:"January,February,March,April,May,June,July,August,September,October,November,December".split(","),monthsShort:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(","),weekdays:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday".split(","),weekdaysShort:"Sun,Mon,Tue,Wed,Thu,Fri,Sat".split(",")};class DatePrompt extends a{constructor(t={}){super(t);this.msg=t.message;this.cursor=0;this.typed="";this.locales=Object.assign(C,t.locales);this._date=t.initial||new Date;this.errorMsg=t.error||"Please Enter A Valid Value";this.validator=t.validate||(()=>true);this.mask=t.mask||"YYYY-MM-DD HH:mm:ss";this.clear=l("",this.out.columns);this.render()}get value(){return this.date}get date(){return this._date}set date(t){if(t)this._date.setTime(t.getTime())}set mask(t){let r;this.parts=[];while(r=_.exec(t)){let t=r.shift();let i=r.findIndex((t=>t!=null));this.parts.push(i in D?D[i]({token:r[i]||t,date:this.date,parts:this.parts,locales:this.locales}):r[i]||t)}let i=this.parts.reduce(((t,r)=>{if(typeof r==="string"&&typeof t[t.length-1]==="string")t[t.length-1]+=r;else t.push(r);return t}),[]);this.parts.splice(0);this.parts.push(...i);this.reset()}moveCursor(t){this.typed="";this.cursor=t;this.fire()}reset(){this.moveCursor(this.parts.findIndex((t=>t instanceof m)));this.fire();this.render()}exit(){this.abort()}abort(){this.done=this.aborted=true;this.error=false;this.fire();this.render();this.out.write("\n");this.close()}async validate(){let t=await this.validator(this.value);if(typeof t==="string"){this.errorMsg=t;t=false}this.error=!t}async submit(){await this.validate();if(this.error){this.color="red";this.fire();this.render();return}this.done=true;this.aborted=false;this.fire();this.render();this.out.write("\n");this.close()}up(){this.typed="";this.parts[this.cursor].up();this.render()}down(){this.typed="";this.parts[this.cursor].down();this.render()}left(){let t=this.parts[this.cursor].prev();if(t==null)return this.bell();this.moveCursor(this.parts.indexOf(t));this.render()}right(){let t=this.parts[this.cursor].next();if(t==null)return this.bell();this.moveCursor(this.parts.indexOf(t));this.render()}next(){let t=this.parts[this.cursor].next();this.moveCursor(t?this.parts.indexOf(t):this.parts.findIndex((t=>t instanceof m)));this.render()}_(t){if(/\d/.test(t)){this.typed+=t;this.parts[this.cursor].setTo(this.typed);this.render()}}render(){if(this.closed)return;if(this.firstRender)this.out.write(d.hide);else this.out.write(l(this.outputText,this.out.columns));super.render();this.outputText=[u.symbol(this.done,this.aborted),o.bold(this.msg),u.delimiter(false),this.parts.reduce(((t,r,i)=>t.concat(i===this.cursor&&!this.done?o.cyan().underline(r.toString()):r)),[]).join("")].join(" ");if(this.error){this.outputText+=this.errorMsg.split("\n").reduce(((t,r,i)=>t+`\n${i?` `:h.pointerSmall} ${o.red().italic(r)}`),``)}this.out.write(p.line+d.to(0)+this.outputText)}}t.exports=DatePrompt},6529:(t,r,i)=>{"use strict";t.exports={TextPrompt:i(1551),SelectPrompt:i(6515),TogglePrompt:i(181),DatePrompt:i(5048),NumberPrompt:i(3686),MultiselectPrompt:i(92),AutocompletePrompt:i(514),AutocompleteMultiselectPrompt:i(7685),ConfirmPrompt:i(3037)}},92:(t,r,i)=>{"use strict";const o=i(9439);const{cursor:a}=i(332);const u=i(9126);const{clear:l,figures:h,style:p,wrap:d,entriesToDisplay:m}=i(9807);class MultiselectPrompt extends u{constructor(t={}){super(t);this.msg=t.message;this.cursor=t.cursor||0;this.scrollIndex=t.cursor||0;this.hint=t.hint||"";this.warn=t.warn||"- This option is disabled -";this.minSelected=t.min;this.showMinError=false;this.maxChoices=t.max;this.instructions=t.instructions;this.optionsPerPage=t.optionsPerPage||10;this.value=t.choices.map(((t,r)=>{if(typeof t==="string")t={title:t,value:r};return{title:t&&(t.title||t.value||t),description:t&&t.description,value:t&&(t.value===undefined?r:t.value),selected:t&&t.selected,disabled:t&&t.disabled}}));this.clear=l("",this.out.columns);if(!t.overrideRender){this.render()}}reset(){this.value.map((t=>!t.selected));this.cursor=0;this.fire();this.render()}selected(){return this.value.filter((t=>t.selected))}exit(){this.abort()}abort(){this.done=this.aborted=true;this.fire();this.render();this.out.write("\n");this.close()}submit(){const t=this.value.filter((t=>t.selected));if(this.minSelected&&t.length<this.minSelected){this.showMinError=true;this.render()}else{this.done=true;this.aborted=false;this.fire();this.render();this.out.write("\n");this.close()}}first(){this.cursor=0;this.render()}last(){this.cursor=this.value.length-1;this.render()}next(){this.cursor=(this.cursor+1)%this.value.length;this.render()}up(){if(this.cursor===0){this.cursor=this.value.length-1}else{this.cursor--}this.render()}down(){if(this.cursor===this.value.length-1){this.cursor=0}else{this.cursor++}this.render()}left(){this.value[this.cursor].selected=false;this.render()}right(){if(this.value.filter((t=>t.selected)).length>=this.maxChoices)return this.bell();this.value[this.cursor].selected=true;this.render()}handleSpaceToggle(){const t=this.value[this.cursor];if(t.selected){t.selected=false;this.render()}else if(t.disabled||this.value.filter((t=>t.selected)).length>=this.maxChoices){return this.bell()}else{t.selected=true;this.render()}}toggleAll(){if(this.maxChoices!==undefined||this.value[this.cursor].disabled){return this.bell()}const t=!this.value[this.cursor].selected;this.value.filter((t=>!t.disabled)).forEach((r=>r.selected=t));this.render()}_(t,r){if(t===" "){this.handleSpaceToggle()}else if(t==="a"){this.toggleAll()}else{return this.bell()}}renderInstructions(){if(this.instructions===undefined||this.instructions){if(typeof this.instructions==="string"){return this.instructions}return"\nInstructions:\n"+` ${h.arrowUp}/${h.arrowDown}: Highlight option\n`+` ${h.arrowLeft}/${h.arrowRight}/[space]: Toggle selection\n`+(this.maxChoices===undefined?` a: Toggle all\n`:"")+` enter/return: Complete answer`}return""}renderOption(t,r,i,a){const u=(r.selected?o.green(h.radioOn):h.radioOff)+" "+a+" ";let l,p;if(r.disabled){l=t===i?o.gray().underline(r.title):o.strikethrough().gray(r.title)}else{l=t===i?o.cyan().underline(r.title):r.title;if(t===i&&r.description){p=` - ${r.description}`;if(u.length+l.length+p.length>=this.out.columns||r.description.split(/\r?\n/).length>1){p="\n"+d(r.description,{margin:u.length,width:this.out.columns})}}}return u+l+o.gray(p||"")}paginateOptions(t){if(t.length===0){return o.red("No matches for this query.")}let{startIndex:r,endIndex:i}=m(this.cursor,t.length,this.optionsPerPage);let a,u=[];for(let o=r;o<i;o++){if(o===r&&r>0){a=h.arrowUp}else if(o===i-1&&i<t.length){a=h.arrowDown}else{a=" "}u.push(this.renderOption(this.cursor,t[o],o,a))}return"\n"+u.join("\n")}renderOptions(t){if(!this.done){return this.paginateOptions(t)}return""}renderDoneOrInstructions(){if(this.done){return this.value.filter((t=>t.selected)).map((t=>t.title)).join(", ")}const t=[o.gray(this.hint),this.renderInstructions()];if(this.value[this.cursor].disabled){t.push(o.yellow(this.warn))}return t.join(" ")}render(){if(this.closed)return;if(this.firstRender)this.out.write(a.hide);super.render();let t=[p.symbol(this.done,this.aborted),o.bold(this.msg),p.delimiter(false),this.renderDoneOrInstructions()].join(" ");if(this.showMinError){t+=o.red(`You must select a minimum of ${this.minSelected} choices.`);this.showMinError=false}t+=this.renderOptions(this.value);this.out.write(this.clear+t);this.clear=l(t,this.out.columns)}}t.exports=MultiselectPrompt},3686:(t,r,i)=>{const o=i(9439);const a=i(9126);const{cursor:u,erase:l}=i(332);const{style:h,figures:p,clear:d,lines:m}=i(9807);const g=/[0-9]/;const isDef=t=>t!==undefined;const round=(t,r)=>{let i=Math.pow(10,r);return Math.round(t*i)/i};class NumberPrompt extends a{constructor(t={}){super(t);this.transform=h.render(t.style);this.msg=t.message;this.initial=isDef(t.initial)?t.initial:"";this.float=!!t.float;this.round=t.round||2;this.inc=t.increment||1;this.min=isDef(t.min)?t.min:-Infinity;this.max=isDef(t.max)?t.max:Infinity;this.errorMsg=t.error||`Please Enter A Valid Value`;this.validator=t.validate||(()=>true);this.color=`cyan`;this.value=``;this.typed=``;this.lastHit=0;this.render()}set value(t){if(!t&&t!==0){this.placeholder=true;this.rendered=o.gray(this.transform.render(`${this.initial}`));this._value=``}else{this.placeholder=false;this.rendered=this.transform.render(`${round(t,this.round)}`);this._value=round(t,this.round)}this.fire()}get value(){return this._value}parse(t){return this.float?parseFloat(t):parseInt(t)}valid(t){return t===`-`||t===`.`&&this.float||g.test(t)}reset(){this.typed=``;this.value=``;this.fire();this.render()}exit(){this.abort()}abort(){let t=this.value;this.value=t!==``?t:this.initial;this.done=this.aborted=true;this.error=false;this.fire();this.render();this.out.write(`\n`);this.close()}async validate(){let t=await this.validator(this.value);if(typeof t===`string`){this.errorMsg=t;t=false}this.error=!t}async submit(){await this.validate();if(this.error){this.color=`red`;this.fire();this.render();return}let t=this.value;this.value=t!==``?t:this.initial;this.done=true;this.aborted=false;this.error=false;this.fire();this.render();this.out.write(`\n`);this.close()}up(){this.typed=``;if(this.value===""){this.value=this.min-this.inc}if(this.value>=this.max)return this.bell();this.value+=this.inc;this.color=`cyan`;this.fire();this.render()}down(){this.typed=``;if(this.value===""){this.value=this.min+this.inc}if(this.value<=this.min)return this.bell();this.value-=this.inc;this.color=`cyan`;this.fire();this.render()}delete(){let t=this.value.toString();if(t.length===0)return this.bell();this.value=this.parse(t=t.slice(0,-1))||``;if(this.value!==""&&this.value<this.min){this.value=this.min}this.color=`cyan`;this.fire();this.render()}next(){this.value=this.initial;this.fire();this.render()}_(t,r){if(!this.valid(t))return this.bell();const i=Date.now();if(i-this.lastHit>1e3)this.typed=``;this.typed+=t;this.lastHit=i;this.color=`cyan`;if(t===`.`)return this.fire();this.value=Math.min(this.parse(this.typed),this.max);if(this.value>this.max)this.value=this.max;if(this.value<this.min)this.value=this.min;this.fire();this.render()}render(){if(this.closed)return;if(!this.firstRender){if(this.outputError)this.out.write(u.down(m(this.outputError,this.out.columns)-1)+d(this.outputError,this.out.columns));this.out.write(d(this.outputText,this.out.columns))}super.render();this.outputError="";this.outputText=[h.symbol(this.done,this.aborted),o.bold(this.msg),h.delimiter(this.done),!this.done||!this.done&&!this.placeholder?o[this.color]().underline(this.rendered):this.rendered].join(` `);if(this.error){this.outputError+=this.errorMsg.split(`\n`).reduce(((t,r,i)=>t+`\n${i?` `:p.pointerSmall} ${o.red().italic(r)}`),``)}this.out.write(l.line+u.to(0)+this.outputText+u.save+this.outputError+u.restore)}}t.exports=NumberPrompt},9126:(t,r,i)=>{"use strict";const o=i(4521);const{action:a}=i(9807);const u=i(2361);const{beep:l,cursor:h}=i(332);const p=i(9439);class Prompt extends u{constructor(t={}){super();this.firstRender=true;this.in=t.stdin||process.stdin;this.out=t.stdout||process.stdout;this.onRender=(t.onRender||(()=>void 0)).bind(this);const r=o.createInterface({input:this.in,escapeCodeTimeout:50});o.emitKeypressEvents(this.in,r);if(this.in.isTTY)this.in.setRawMode(true);const i=["SelectPrompt","MultiselectPrompt"].indexOf(this.constructor.name)>-1;const keypress=(t,r)=>{let o=a(r,i);if(o===false){this._&&this._(t,r)}else if(typeof this[o]==="function"){this[o](r)}else{this.bell()}};this.close=()=>{this.out.write(h.show);this.in.removeListener("keypress",keypress);if(this.in.isTTY)this.in.setRawMode(false);r.close();this.emit(this.aborted?"abort":this.exited?"exit":"submit",this.value);this.closed=true};this.in.on("keypress",keypress)}fire(){this.emit("state",{value:this.value,aborted:!!this.aborted,exited:!!this.exited})}bell(){this.out.write(l)}render(){this.onRender(p);if(this.firstRender)this.firstRender=false}}t.exports=Prompt},6515:(t,r,i)=>{"use strict";const o=i(9439);const a=i(9126);const{style:u,clear:l,figures:h,wrap:p,entriesToDisplay:d}=i(9807);const{cursor:m}=i(332);class SelectPrompt extends a{constructor(t={}){super(t);this.msg=t.message;this.hint=t.hint||"- Use arrow-keys. Return to submit.";this.warn=t.warn||"- This option is disabled";this.cursor=t.initial||0;this.choices=t.choices.map(((t,r)=>{if(typeof t==="string")t={title:t,value:r};return{title:t&&(t.title||t.value||t),value:t&&(t.value===undefined?r:t.value),description:t&&t.description,selected:t&&t.selected,disabled:t&&t.disabled}}));this.optionsPerPage=t.optionsPerPage||10;this.value=(this.choices[this.cursor]||{}).value;this.clear=l("",this.out.columns);this.render()}moveCursor(t){this.cursor=t;this.value=this.choices[t].value;this.fire()}reset(){this.moveCursor(0);this.fire();this.render()}exit(){this.abort()}abort(){this.done=this.aborted=true;this.fire();this.render();this.out.write("\n");this.close()}submit(){if(!this.selection.disabled){this.done=true;this.aborted=false;this.fire();this.render();this.out.write("\n");this.close()}else this.bell()}first(){this.moveCursor(0);this.render()}last(){this.moveCursor(this.choices.length-1);this.render()}up(){if(this.cursor===0){this.moveCursor(this.choices.length-1)}else{this.moveCursor(this.cursor-1)}this.render()}down(){if(this.cursor===this.choices.length-1){this.moveCursor(0)}else{this.moveCursor(this.cursor+1)}this.render()}next(){this.moveCursor((this.cursor+1)%this.choices.length);this.render()}_(t,r){if(t===" ")return this.submit()}get selection(){return this.choices[this.cursor]}render(){if(this.closed)return;if(this.firstRender)this.out.write(m.hide);else this.out.write(l(this.outputText,this.out.columns));super.render();let{startIndex:t,endIndex:r}=d(this.cursor,this.choices.length,this.optionsPerPage);this.outputText=[u.symbol(this.done,this.aborted),o.bold(this.msg),u.delimiter(false),this.done?this.selection.title:this.selection.disabled?o.yellow(this.warn):o.gray(this.hint)].join(" ");if(!this.done){this.outputText+="\n";for(let i=t;i<r;i++){let a,u,l="",d=this.choices[i];if(i===t&&t>0){u=h.arrowUp}else if(i===r-1&&r<this.choices.length){u=h.arrowDown}else{u=" "}if(d.disabled){a=this.cursor===i?o.gray().underline(d.title):o.strikethrough().gray(d.title);u=(this.cursor===i?o.bold().gray(h.pointer)+" ":" ")+u}else{a=this.cursor===i?o.cyan().underline(d.title):d.title;u=(this.cursor===i?o.cyan(h.pointer)+" ":" ")+u;if(d.description&&this.cursor===i){l=` - ${d.description}`;if(u.length+a.length+l.length>=this.out.columns||d.description.split(/\r?\n/).length>1){l="\n"+p(d.description,{margin:3,width:this.out.columns})}}}this.outputText+=`${u} ${a}${o.gray(l)}\n`}}this.out.write(this.outputText)}}t.exports=SelectPrompt},1551:(t,r,i)=>{const o=i(9439);const a=i(9126);const{erase:u,cursor:l}=i(332);const{style:h,clear:p,lines:d,figures:m}=i(9807);class TextPrompt extends a{constructor(t={}){super(t);this.transform=h.render(t.style);this.scale=this.transform.scale;this.msg=t.message;this.initial=t.initial||``;this.validator=t.validate||(()=>true);this.value=``;this.errorMsg=t.error||`Please Enter A Valid Value`;this.cursor=Number(!!this.initial);this.cursorOffset=0;this.clear=p(``,this.out.columns);this.render()}set value(t){if(!t&&this.initial){this.placeholder=true;this.rendered=o.gray(this.transform.render(this.initial))}else{this.placeholder=false;this.rendered=this.transform.render(t)}this._value=t;this.fire()}get value(){return this._value}reset(){this.value=``;this.cursor=Number(!!this.initial);this.cursorOffset=0;this.fire();this.render()}exit(){this.abort()}abort(){this.value=this.value||this.initial;this.done=this.aborted=true;this.error=false;this.red=false;this.fire();this.render();this.out.write("\n");this.close()}async validate(){let t=await this.validator(this.value);if(typeof t===`string`){this.errorMsg=t;t=false}this.error=!t}async submit(){this.value=this.value||this.initial;this.cursorOffset=0;this.cursor=this.rendered.length;await this.validate();if(this.error){this.red=true;this.fire();this.render();return}this.done=true;this.aborted=false;this.fire();this.render();this.out.write("\n");this.close()}next(){if(!this.placeholder)return this.bell();this.value=this.initial;this.cursor=this.rendered.length;this.fire();this.render()}moveCursor(t){if(this.placeholder)return;this.cursor=this.cursor+t;this.cursorOffset+=t}_(t,r){let i=this.value.slice(0,this.cursor);let o=this.value.slice(this.cursor);this.value=`${i}${t}${o}`;this.red=false;this.cursor=this.placeholder?0:i.length+1;this.render()}delete(){if(this.isCursorAtStart())return this.bell();let t=this.value.slice(0,this.cursor-1);let r=this.value.slice(this.cursor);this.value=`${t}${r}`;this.red=false;if(this.isCursorAtStart()){this.cursorOffset=0}else{this.cursorOffset++;this.moveCursor(-1)}this.render()}deleteForward(){if(this.cursor*this.scale>=this.rendered.length||this.placeholder)return this.bell();let t=this.value.slice(0,this.cursor);let r=this.value.slice(this.cursor+1);this.value=`${t}${r}`;this.red=false;if(this.isCursorAtEnd()){this.cursorOffset=0}else{this.cursorOffset++}this.render()}first(){this.cursor=0;this.render()}last(){this.cursor=this.value.length;this.render()}left(){if(this.cursor<=0||this.placeholder)return this.bell();this.moveCursor(-1);this.render()}right(){if(this.cursor*this.scale>=this.rendered.length||this.placeholder)return this.bell();this.moveCursor(1);this.render()}isCursorAtStart(){return this.cursor===0||this.placeholder&&this.cursor===1}isCursorAtEnd(){return this.cursor===this.rendered.length||this.placeholder&&this.cursor===this.rendered.length+1}render(){if(this.closed)return;if(!this.firstRender){if(this.outputError)this.out.write(l.down(d(this.outputError,this.out.columns)-1)+p(this.outputError,this.out.columns));this.out.write(p(this.outputText,this.out.columns))}super.render();this.outputError="";this.outputText=[h.symbol(this.done,this.aborted),o.bold(this.msg),h.delimiter(this.done),this.red?o.red(this.rendered):this.rendered].join(` `);if(this.error){this.outputError+=this.errorMsg.split(`\n`).reduce(((t,r,i)=>t+`\n${i?" ":m.pointerSmall} ${o.red().italic(r)}`),``)}this.out.write(u.line+l.to(0)+this.outputText+l.save+this.outputError+l.restore+l.move(this.cursorOffset,0))}}t.exports=TextPrompt},181:(t,r,i)=>{const o=i(9439);const a=i(9126);const{style:u,clear:l}=i(9807);const{cursor:h,erase:p}=i(332);class TogglePrompt extends a{constructor(t={}){super(t);this.msg=t.message;this.value=!!t.initial;this.active=t.active||"on";this.inactive=t.inactive||"off";this.initialValue=this.value;this.render()}reset(){this.value=this.initialValue;this.fire();this.render()}exit(){this.abort()}abort(){this.done=this.aborted=true;this.fire();this.render();this.out.write("\n");this.close()}submit(){this.done=true;this.aborted=false;this.fire();this.render();this.out.write("\n");this.close()}deactivate(){if(this.value===false)return this.bell();this.value=false;this.render()}activate(){if(this.value===true)return this.bell();this.value=true;this.render()}delete(){this.deactivate()}left(){this.deactivate()}right(){this.activate()}down(){this.deactivate()}up(){this.activate()}next(){this.value=!this.value;this.fire();this.render()}_(t,r){if(t===" "){this.value=!this.value}else if(t==="1"){this.value=true}else if(t==="0"){this.value=false}else return this.bell();this.render()}render(){if(this.closed)return;if(this.firstRender)this.out.write(h.hide);else this.out.write(l(this.outputText,this.out.columns));super.render();this.outputText=[u.symbol(this.done,this.aborted),o.bold(this.msg),u.delimiter(this.done),this.value?this.inactive:o.cyan().underline(this.inactive),o.gray("/"),this.value?o.cyan().underline(this.active):this.active].join(" ");this.out.write(p.line+h.to(0)+this.outputText)}}t.exports=TogglePrompt},9590:(t,r,i)=>{"use strict";const o=i(4450);const a=["suggest","format","onState","validate","onRender","type"];const noop=()=>{};async function prompt(t=[],{onSubmit:r=noop,onCancel:i=noop}={}){const u={};const l=prompt._override||{};t=[].concat(t);let h,p,d,m,g,y;const getFormattedAnswer=async(t,r,i=false)=>{if(!i&&t.validate&&t.validate(r)!==true){return}return t.format?await t.format(r,u):r};for(p of t){({name:m,type:g}=p);if(typeof g==="function"){g=await g(h,{...u},p);p["type"]=g}if(!g)continue;for(let t in p){if(a.includes(t))continue;let r=p[t];p[t]=typeof r==="function"?await r(h,{...u},y):r}y=p;if(typeof p.message!=="string"){throw new Error("prompt message is required")}({name:m,type:g}=p);if(o[g]===void 0){throw new Error(`prompt type (${g}) is not defined`)}if(l[p.name]!==undefined){h=await getFormattedAnswer(p,l[p.name]);if(h!==undefined){u[m]=h;continue}}try{h=prompt._injected?getInjectedAnswer(prompt._injected,p.initial):await o[g](p);u[m]=h=await getFormattedAnswer(p,h,true);d=await r(p,h,u)}catch(t){d=!await i(p,u)}if(d)return u}return u}function getInjectedAnswer(t,r){const i=t.shift();if(i instanceof Error){throw i}return i===undefined?r:i}function inject(t){prompt._injected=(prompt._injected||[]).concat(t)}function override(t){prompt._override=Object.assign({},t)}t.exports=Object.assign(prompt,{prompt:prompt,prompts:o,inject:inject,override:override})},4450:(t,r,i)=>{"use strict";const o=r;const a=i(6529);const noop=t=>t;function toPrompt(t,r,i={}){return new Promise(((o,u)=>{const l=new a[t](r);const h=i.onAbort||noop;const p=i.onSubmit||noop;const d=i.onExit||noop;l.on("state",r.onState||noop);l.on("submit",(t=>o(p(t))));l.on("exit",(t=>o(d(t))));l.on("abort",(t=>u(h(t))))}))}o.text=t=>toPrompt("TextPrompt",t);o.password=t=>{t.style="password";return o.text(t)};o.invisible=t=>{t.style="invisible";return o.text(t)};o.number=t=>toPrompt("NumberPrompt",t);o.date=t=>toPrompt("DatePrompt",t);o.confirm=t=>toPrompt("ConfirmPrompt",t);o.list=t=>{const r=t.separator||",";return toPrompt("TextPrompt",t,{onSubmit:t=>t.split(r).map((t=>t.trim()))})};o.toggle=t=>toPrompt("TogglePrompt",t);o.select=t=>toPrompt("SelectPrompt",t);o.multiselect=t=>{t.choices=[].concat(t.choices||[]);const toSelected=t=>t.filter((t=>t.selected)).map((t=>t.value));return toPrompt("MultiselectPrompt",t,{onAbort:toSelected,onSubmit:toSelected})};o.autocompleteMultiselect=t=>{t.choices=[].concat(t.choices||[]);const toSelected=t=>t.filter((t=>t.selected)).map((t=>t.value));return toPrompt("AutocompleteMultiselectPrompt",t,{onAbort:toSelected,onSubmit:toSelected})};const byTitle=(t,r)=>Promise.resolve(r.filter((r=>r.title.slice(0,t.length).toLowerCase()===t.toLowerCase())));o.autocomplete=t=>{t.suggest=t.suggest||byTitle;t.choices=[].concat(t.choices||[]);return toPrompt("AutocompletePrompt",t)}},8573:t=>{"use strict";t.exports=(t,r)=>{if(t.meta&&t.name!=="escape")return;if(t.ctrl){if(t.name==="a")return"first";if(t.name==="c")return"abort";if(t.name==="d")return"abort";if(t.name==="e")return"last";if(t.name==="g")return"reset"}if(r){if(t.name==="j")return"down";if(t.name==="k")return"up"}if(t.name==="return")return"submit";if(t.name==="enter")return"submit";if(t.name==="backspace")return"delete";if(t.name==="delete")return"deleteForward";if(t.name==="abort")return"abort";if(t.name==="escape")return"exit";if(t.name==="tab")return"next";if(t.name==="pagedown")return"nextPage";if(t.name==="pageup")return"prevPage";if(t.name==="home")return"home";if(t.name==="end")return"end";if(t.name==="up")return"up";if(t.name==="down")return"down";if(t.name==="right")return"right";if(t.name==="left")return"left";return false}},6747:(t,r,i)=>{"use strict";const o=i(2714);const{erase:a,cursor:u}=i(332);const width=t=>[...o(t)].length;t.exports=function(t,r){if(!r)return a.line+u.to(0);let i=0;const o=t.split(/\r?\n/);for(let t of o){i+=1+Math.floor(Math.max(width(t)-1,0)/r)}return a.lines(i)}},3297:t=>{"use strict";t.exports=(t,r,i)=>{i=i||r;let o=Math.min(r-i,t-Math.floor(i/2));if(o<0)o=0;let a=Math.min(o+i,r);return{startIndex:o,endIndex:a}}},3034:t=>{"use strict";const r={arrowUp:"↑",arrowDown:"↓",arrowLeft:"←",arrowRight:"→",radioOn:"◉",radioOff:"◯",tick:"✔",cross:"✖",ellipsis:"…",pointerSmall:"›",line:"─",pointer:"❯"};const i={arrowUp:r.arrowUp,arrowDown:r.arrowDown,arrowLeft:r.arrowLeft,arrowRight:r.arrowRight,radioOn:"(*)",radioOff:"( )",tick:"√",cross:"×",ellipsis:"...",pointerSmall:"»",line:"─",pointer:">"};const o=process.platform==="win32"?i:r;t.exports=o},9807:(t,r,i)=>{"use strict";t.exports={action:i(8573),clear:i(6747),style:i(7357),strip:i(2714),figures:i(3034),lines:i(4413),wrap:i(2492),entriesToDisplay:i(3297)}},4413:(t,r,i)=>{"use strict";const o=i(2714);t.exports=function(t,r){let i=String(o(t)||"").split(/\r?\n/);if(!r)return i.length;return i.map((t=>Math.ceil(t.length/r))).reduce(((t,r)=>t+r))}},2714:t=>{"use strict";t.exports=t=>{const r=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))"].join("|");const i=new RegExp(r,"g");return typeof t==="string"?t.replace(i,""):t}},7357:(t,r,i)=>{"use strict";const o=i(9439);const a=i(3034);const u=Object.freeze({password:{scale:1,render:t=>"*".repeat(t.length)},emoji:{scale:2,render:t=>"😃".repeat(t.length)},invisible:{scale:0,render:t=>""},default:{scale:1,render:t=>`${t}`}});const render=t=>u[t]||u.default;const l=Object.freeze({aborted:o.red(a.cross),done:o.green(a.tick),exited:o.yellow(a.cross),default:o.cyan("?")});const symbol=(t,r,i)=>r?l.aborted:i?l.exited:t?l.done:l.default;const delimiter=t=>o.gray(t?a.ellipsis:a.pointerSmall);const item=(t,r)=>o.gray(t?r?a.pointerSmall:"+":a.line);t.exports={styles:u,render:render,symbols:l,symbol:symbol,delimiter:delimiter,item:item}},2492:t=>{"use strict";t.exports=(t,r={})=>{const i=Number.isSafeInteger(parseInt(r.margin))?new Array(parseInt(r.margin)).fill(" ").join(""):r.margin||"";const o=r.width;return(t||"").split(/\r?\n/g).map((t=>t.split(/\s+/g).reduce(((t,r)=>{if(r.length+i.length>=o||t[t.length-1].length+r.length+1<o)t[t.length-1]+=` ${r}`;else t.push(`${i}${r}`);return t}),[i]).join("\n"))).join("\n")}},8271:(t,r,i)=>{var o=i(7563);var a=i(1017).join;var u=i(5134);var l="/etc";var h=process.platform==="win32";var p=h?process.env.USERPROFILE:process.env.HOME;t.exports=function(t,r,d,m){if("string"!==typeof t)throw new Error("rc(name): name *must* be string");if(!d)d=i(5912)(process.argv.slice(2));r=("string"===typeof r?o.json(r):r)||{};m=m||o.parse;var g=o.env(t+"_");var y=[r];var v=[];function addConfigFile(t){if(v.indexOf(t)>=0)return;var r=o.file(t);if(r){y.push(m(r));v.push(t)}}if(!h)[a(l,t,"config"),a(l,t+"rc")].forEach(addConfigFile);if(p)[a(p,".config",t,"config"),a(p,".config",t),a(p,"."+t,"config"),a(p,"."+t+"rc")].forEach(addConfigFile);addConfigFile(o.find("."+t+"rc"));if(g.config)addConfigFile(g.config);if(d.config)addConfigFile(d.config);return u.apply(null,y.concat([g,d,v.length?{configs:v,config:v[v.length-1]}:undefined]))}},7563:(t,r,i)=>{"use strict";var o=i(7147);var a=i(1923);var u=i(1017);var l=i(6397);var h=r.parse=function(t){if(/^\s*{/.test(t))return JSON.parse(l(t));return a.parse(t)};var p=r.file=function(){var t=[].slice.call(arguments).filter((function(t){return t!=null}));for(var r in t)if("string"!==typeof t[r])return;var i=u.join.apply(null,t);var a;try{return o.readFileSync(i,"utf-8")}catch(t){return}};var d=r.json=function(){var t=p.apply(null,arguments);return t?h(t):null};var m=r.env=function(t,r){r=r||process.env;var i={};var o=t.length;for(var a in r){if(a.toLowerCase().indexOf(t.toLowerCase())===0){var u=a.substring(o).split("__");var l;while((l=u.indexOf(""))>-1){u.splice(l,1)}var h=i;u.forEach((function _buildSubObj(t,i){if(!t||typeof h!=="object")return;if(i===u.length-1)h[t]=r[a];if(h[t]===undefined)h[t]={};h=h[t]}))}}return i};var g=r.find=function(){var t=u.join.apply(null,[].slice.call(arguments));function find(t,r){var i=u.join(t,r);try{o.statSync(i);return i}catch(i){if(u.dirname(t)!==t)return find(u.dirname(t),r)}}return find(process.cwd(),t)}},6397:t=>{"use strict";var r=1;var i=2;function stripWithoutWhitespace(){return""}function stripWithWhitespace(t,r,i){return t.slice(r,i).replace(/\S/g," ")}t.exports=function(t,o){o=o||{};var a;var u;var l=false;var h=false;var p=0;var d="";var m=o.whitespace===false?stripWithoutWhitespace:stripWithWhitespace;for(var g=0;g<t.length;g++){a=t[g];u=t[g+1];if(!h&&a==='"'){var y=t[g-1]==="\\"&&t[g-2]!=="\\";if(!y){l=!l}}if(l){continue}if(!h&&a+u==="//"){d+=t.slice(p,g);p=g;h=r;g++}else if(h===r&&a+u==="\r\n"){g++;h=false;d+=m(t,p,g);p=g;continue}else if(h===r&&a==="\n"){h=false;d+=m(t,p,g);p=g}else if(!h&&a+u==="/*"){d+=t.slice(p,g);p=g;h=i;g++;continue}else if(h===i&&a+u==="*/"){g++;h=false;d+=m(t,p,g+1);p=g+1;continue}}return d+(h?m(t.substr(p)):t.substr(p))}},3130:t=>{"use strict";const r={};function createErrorType(t,i,o){if(!o){o=Error}function getMessage(t,r,o){if(typeof i==="string"){return i}else{return i(t,r,o)}}class NodeError extends o{constructor(t,r,i){super(getMessage(t,r,i))}}NodeError.prototype.name=o.name;NodeError.prototype.code=t;r[t]=NodeError}function oneOf(t,r){if(Array.isArray(t)){const i=t.length;t=t.map((t=>String(t)));if(i>2){return`one of ${r} ${t.slice(0,i-1).join(", ")}, or `+t[i-1]}else if(i===2){return`one of ${r} ${t[0]} or ${t[1]}`}else{return`of ${r} ${t[0]}`}}else{return`of ${r} ${String(t)}`}}function startsWith(t,r,i){return t.substr(!i||i<0?0:+i,r.length)===r}function endsWith(t,r,i){if(i===undefined||i>t.length){i=t.length}return t.substring(i-r.length,i)===r}function includes(t,r,i){if(typeof i!=="number"){i=0}if(i+r.length>t.length){return false}else{return t.indexOf(r,i)!==-1}}createErrorType("ERR_INVALID_OPT_VALUE",(function(t,r){return'The value "'+r+'" is invalid for option "'+t+'"'}),TypeError);createErrorType("ERR_INVALID_ARG_TYPE",(function(t,r,i){let o;if(typeof r==="string"&&startsWith(r,"not ")){o="must not be";r=r.replace(/^not /,"")}else{o="must be"}let a;if(endsWith(t," argument")){a=`The ${t} ${o} ${oneOf(r,"type")}`}else{const i=includes(t,".")?"property":"argument";a=`The "${t}" ${i} ${o} ${oneOf(r,"type")}`}a+=`. Received type ${typeof i}`;return a}),TypeError);createErrorType("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");createErrorType("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"}));createErrorType("ERR_STREAM_PREMATURE_CLOSE","Premature close");createErrorType("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"}));createErrorType("ERR_MULTIPLE_CALLBACK","Callback called multiple times");createErrorType("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");createErrorType("ERR_STREAM_WRITE_AFTER_END","write after end");createErrorType("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);createErrorType("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError);createErrorType("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");t.exports.q=r},8393:(t,r,i)=>{"use strict";var o=Object.keys||function(t){var r=[];for(var i in t){r.push(i)}return r};t.exports=Duplex;var a=i(284);var u=i(6100);i(6919)(Duplex,a);{var l=o(u.prototype);for(var h=0;h<l.length;h++){var p=l[h];if(!Duplex.prototype[p])Duplex.prototype[p]=u.prototype[p]}}function Duplex(t){if(!(this instanceof Duplex))return new Duplex(t);a.call(this,t);u.call(this,t);this.allowHalfOpen=true;if(t){if(t.readable===false)this.readable=false;if(t.writable===false)this.writable=false;if(t.allowHalfOpen===false){this.allowHalfOpen=false;this.once("end",onend)}}}Object.defineProperty(Duplex.prototype,"writableHighWaterMark",{enumerable:false,get:function get(){return this._writableState.highWaterMark}});Object.defineProperty(Duplex.prototype,"writableBuffer",{enumerable:false,get:function get(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(Duplex.prototype,"writableLength",{enumerable:false,get:function get(){return this._writableState.length}});function onend(){if(this._writableState.ended)return;process.nextTick(onEndNT,this)}function onEndNT(t){t.end()}Object.defineProperty(Duplex.prototype,"destroyed",{enumerable:false,get:function get(){if(this._readableState===undefined||this._writableState===undefined){return false}return this._readableState.destroyed&&this._writableState.destroyed},set:function set(t){if(this._readableState===undefined||this._writableState===undefined){return}this._readableState.destroyed=t;this._writableState.destroyed=t}})},5125:(t,r,i)=>{"use strict";t.exports=PassThrough;var o=i(5469);i(6919)(PassThrough,o);function PassThrough(t){if(!(this instanceof PassThrough))return new PassThrough(t);o.call(this,t)}PassThrough.prototype._transform=function(t,r,i){i(null,t)}},284:(t,r,i)=>{"use strict";t.exports=Readable;var o;Readable.ReadableState=ReadableState;var a=i(2361).EventEmitter;var u=function EElistenerCount(t,r){return t.listeners(r).length};var l=i(5016);var h=i(4300).Buffer;var p=global.Uint8Array||function(){};function _uint8ArrayToBuffer(t){return h.from(t)}function _isUint8Array(t){return h.isBuffer(t)||t instanceof p}var d=i(3837);var m;if(d&&d.debuglog){m=d.debuglog("stream")}else{m=function debug(){}}var g=i(3900);var y=i(3090);var v=i(5785),A=v.getHighWaterMark;var b=i(3130).q,w=b.ERR_INVALID_ARG_TYPE,E=b.ERR_STREAM_PUSH_AFTER_EOF,S=b.ERR_METHOD_NOT_IMPLEMENTED,_=b.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;var D;var C;var x;i(6919)(Readable,l);var O=y.errorOrDestroy;var R=["error","close","destroy","pause","resume"];function prependListener(t,r,i){if(typeof t.prependListener==="function")return t.prependListener(r,i);if(!t._events||!t._events[r])t.on(r,i);else if(Array.isArray(t._events[r]))t._events[r].unshift(i);else t._events[r]=[i,t._events[r]]}function ReadableState(t,r,a){o=o||i(8393);t=t||{};if(typeof a!=="boolean")a=r instanceof o;this.objectMode=!!t.objectMode;if(a)this.objectMode=this.objectMode||!!t.readableObjectMode;this.highWaterMark=A(this,t,"readableHighWaterMark",a);this.buffer=new g;this.length=0;this.pipes=null;this.pipesCount=0;this.flowing=null;this.ended=false;this.endEmitted=false;this.reading=false;this.sync=true;this.needReadable=false;this.emittedReadable=false;this.readableListening=false;this.resumeScheduled=false;this.paused=true;this.emitClose=t.emitClose!==false;this.autoDestroy=!!t.autoDestroy;this.destroyed=false;this.defaultEncoding=t.defaultEncoding||"utf8";this.awaitDrain=0;this.readingMore=false;this.decoder=null;this.encoding=null;if(t.encoding){if(!D)D=i(642).s;this.decoder=new D(t.encoding);this.encoding=t.encoding}}function Readable(t){o=o||i(8393);if(!(this instanceof Readable))return new Readable(t);var r=this instanceof o;this._readableState=new ReadableState(t,this,r);this.readable=true;if(t){if(typeof t.read==="function")this._read=t.read;if(typeof t.destroy==="function")this._destroy=t.destroy}l.call(this)}Object.defineProperty(Readable.prototype,"destroyed",{enumerable:false,get:function get(){if(this._readableState===undefined){return false}return this._readableState.destroyed},set:function set(t){if(!this._readableState){return}this._readableState.destroyed=t}});Readable.prototype.destroy=y.destroy;Readable.prototype._undestroy=y.undestroy;Readable.prototype._destroy=function(t,r){r(t)};Readable.prototype.push=function(t,r){var i=this._readableState;var o;if(!i.objectMode){if(typeof t==="string"){r=r||i.defaultEncoding;if(r!==i.encoding){t=h.from(t,r);r=""}o=true}}else{o=true}return readableAddChunk(this,t,r,false,o)};Readable.prototype.unshift=function(t){return readableAddChunk(this,t,null,true,false)};function readableAddChunk(t,r,i,o,a){m("readableAddChunk",r);var u=t._readableState;if(r===null){u.reading=false;onEofChunk(t,u)}else{var l;if(!a)l=chunkInvalid(u,r);if(l){O(t,l)}else if(u.objectMode||r&&r.length>0){if(typeof r!=="string"&&!u.objectMode&&Object.getPrototypeOf(r)!==h.prototype){r=_uint8ArrayToBuffer(r)}if(o){if(u.endEmitted)O(t,new _);else addChunk(t,u,r,true)}else if(u.ended){O(t,new E)}else if(u.destroyed){return false}else{u.reading=false;if(u.decoder&&!i){r=u.decoder.write(r);if(u.objectMode||r.length!==0)addChunk(t,u,r,false);else maybeReadMore(t,u)}else{addChunk(t,u,r,false)}}}else if(!o){u.reading=false;maybeReadMore(t,u)}}return!u.ended&&(u.length<u.highWaterMark||u.length===0)}function addChunk(t,r,i,o){if(r.flowing&&r.length===0&&!r.sync){r.awaitDrain=0;t.emit("data",i)}else{r.length+=r.objectMode?1:i.length;if(o)r.buffer.unshift(i);else r.buffer.push(i);if(r.needReadable)emitReadable(t)}maybeReadMore(t,r)}function chunkInvalid(t,r){var i;if(!_isUint8Array(r)&&typeof r!=="string"&&r!==undefined&&!t.objectMode){i=new w("chunk",["string","Buffer","Uint8Array"],r)}return i}Readable.prototype.isPaused=function(){return this._readableState.flowing===false};Readable.prototype.setEncoding=function(t){if(!D)D=i(642).s;var r=new D(t);this._readableState.decoder=r;this._readableState.encoding=this._readableState.decoder.encoding;var o=this._readableState.buffer.head;var a="";while(o!==null){a+=r.write(o.data);o=o.next}this._readableState.buffer.clear();if(a!=="")this._readableState.buffer.push(a);this._readableState.length=a.length;return this};var k=1073741824;function computeNewHighWaterMark(t){if(t>=k){t=k}else{t--;t|=t>>>1;t|=t>>>2;t|=t>>>4;t|=t>>>8;t|=t>>>16;t++}return t}function howMuchToRead(t,r){if(t<=0||r.length===0&&r.ended)return 0;if(r.objectMode)return 1;if(t!==t){if(r.flowing&&r.length)return r.buffer.head.data.length;else return r.length}if(t>r.highWaterMark)r.highWaterMark=computeNewHighWaterMark(t);if(t<=r.length)return t;if(!r.ended){r.needReadable=true;return 0}return r.length}Readable.prototype.read=function(t){m("read",t);t=parseInt(t,10);var r=this._readableState;var i=t;if(t!==0)r.emittedReadable=false;if(t===0&&r.needReadable&&((r.highWaterMark!==0?r.length>=r.highWaterMark:r.length>0)||r.ended)){m("read: emitReadable",r.length,r.ended);if(r.length===0&&r.ended)endReadable(this);else emitReadable(this);return null}t=howMuchToRead(t,r);if(t===0&&r.ended){if(r.length===0)endReadable(this);return null}var o=r.needReadable;m("need readable",o);if(r.length===0||r.length-t<r.highWaterMark){o=true;m("length less than watermark",o)}if(r.ended||r.reading){o=false;m("reading or ended",o)}else if(o){m("do read");r.reading=true;r.sync=true;if(r.length===0)r.needReadable=true;this._read(r.highWaterMark);r.sync=false;if(!r.reading)t=howMuchToRead(i,r)}var a;if(t>0)a=fromList(t,r);else a=null;if(a===null){r.needReadable=r.length<=r.highWaterMark;t=0}else{r.length-=t;r.awaitDrain=0}if(r.length===0){if(!r.ended)r.needReadable=true;if(i!==t&&r.ended)endReadable(this)}if(a!==null)this.emit("data",a);return a};function onEofChunk(t,r){m("onEofChunk");if(r.ended)return;if(r.decoder){var i=r.decoder.end();if(i&&i.length){r.buffer.push(i);r.length+=r.objectMode?1:i.length}}r.ended=true;if(r.sync){emitReadable(t)}else{r.needReadable=false;if(!r.emittedReadable){r.emittedReadable=true;emitReadable_(t)}}}function emitReadable(t){var r=t._readableState;m("emitReadable",r.needReadable,r.emittedReadable);r.needReadable=false;if(!r.emittedReadable){m("emitReadable",r.flowing);r.emittedReadable=true;process.nextTick(emitReadable_,t)}}function emitReadable_(t){var r=t._readableState;m("emitReadable_",r.destroyed,r.length,r.ended);if(!r.destroyed&&(r.length||r.ended)){t.emit("readable");r.emittedReadable=false}r.needReadable=!r.flowing&&!r.ended&&r.length<=r.highWaterMark;flow(t)}function maybeReadMore(t,r){if(!r.readingMore){r.readingMore=true;process.nextTick(maybeReadMore_,t,r)}}function maybeReadMore_(t,r){while(!r.reading&&!r.ended&&(r.length<r.highWaterMark||r.flowing&&r.length===0)){var i=r.length;m("maybeReadMore read 0");t.read(0);if(i===r.length)break}r.readingMore=false}Readable.prototype._read=function(t){O(this,new S("_read()"))};Readable.prototype.pipe=function(t,r){var i=this;var o=this._readableState;switch(o.pipesCount){case 0:o.pipes=t;break;case 1:o.pipes=[o.pipes,t];break;default:o.pipes.push(t);break}o.pipesCount+=1;m("pipe count=%d opts=%j",o.pipesCount,r);var a=(!r||r.end!==false)&&t!==process.stdout&&t!==process.stderr;var l=a?onend:unpipe;if(o.endEmitted)process.nextTick(l);else i.once("end",l);t.on("unpipe",onunpipe);function onunpipe(t,r){m("onunpipe");if(t===i){if(r&&r.hasUnpiped===false){r.hasUnpiped=true;cleanup()}}}function onend(){m("onend");t.end()}var h=pipeOnDrain(i);t.on("drain",h);var p=false;function cleanup(){m("cleanup");t.removeListener("close",onclose);t.removeListener("finish",onfinish);t.removeListener("drain",h);t.removeListener("error",onerror);t.removeListener("unpipe",onunpipe);i.removeListener("end",onend);i.removeListener("end",unpipe);i.removeListener("data",ondata);p=true;if(o.awaitDrain&&(!t._writableState||t._writableState.needDrain))h()}i.on("data",ondata);function ondata(r){m("ondata");var a=t.write(r);m("dest.write",a);if(a===false){if((o.pipesCount===1&&o.pipes===t||o.pipesCount>1&&indexOf(o.pipes,t)!==-1)&&!p){m("false write response, pause",o.awaitDrain);o.awaitDrain++}i.pause()}}function onerror(r){m("onerror",r);unpipe();t.removeListener("error",onerror);if(u(t,"error")===0)O(t,r)}prependListener(t,"error",onerror);function onclose(){t.removeListener("finish",onfinish);unpipe()}t.once("close",onclose);function onfinish(){m("onfinish");t.removeListener("close",onclose);unpipe()}t.once("finish",onfinish);function unpipe(){m("unpipe");i.unpipe(t)}t.emit("pipe",i);if(!o.flowing){m("pipe resume");i.resume()}return t};function pipeOnDrain(t){return function pipeOnDrainFunctionResult(){var r=t._readableState;m("pipeOnDrain",r.awaitDrain);if(r.awaitDrain)r.awaitDrain--;if(r.awaitDrain===0&&u(t,"data")){r.flowing=true;flow(t)}}}Readable.prototype.unpipe=function(t){var r=this._readableState;var i={hasUnpiped:false};if(r.pipesCount===0)return this;if(r.pipesCount===1){if(t&&t!==r.pipes)return this;if(!t)t=r.pipes;r.pipes=null;r.pipesCount=0;r.flowing=false;if(t)t.emit("unpipe",this,i);return this}if(!t){var o=r.pipes;var a=r.pipesCount;r.pipes=null;r.pipesCount=0;r.flowing=false;for(var u=0;u<a;u++){o[u].emit("unpipe",this,{hasUnpiped:false})}return this}var l=indexOf(r.pipes,t);if(l===-1)return this;r.pipes.splice(l,1);r.pipesCount-=1;if(r.pipesCount===1)r.pipes=r.pipes[0];t.emit("unpipe",this,i);return this};Readable.prototype.on=function(t,r){var i=l.prototype.on.call(this,t,r);var o=this._readableState;if(t==="data"){o.readableListening=this.listenerCount("readable")>0;if(o.flowing!==false)this.resume()}else if(t==="readable"){if(!o.endEmitted&&!o.readableListening){o.readableListening=o.needReadable=true;o.flowing=false;o.emittedReadable=false;m("on readable",o.length,o.reading);if(o.length){emitReadable(this)}else if(!o.reading){process.nextTick(nReadingNextTick,this)}}}return i};Readable.prototype.addListener=Readable.prototype.on;Readable.prototype.removeListener=function(t,r){var i=l.prototype.removeListener.call(this,t,r);if(t==="readable"){process.nextTick(updateReadableListening,this)}return i};Readable.prototype.removeAllListeners=function(t){var r=l.prototype.removeAllListeners.apply(this,arguments);if(t==="readable"||t===undefined){process.nextTick(updateReadableListening,this)}return r};function updateReadableListening(t){var r=t._readableState;r.readableListening=t.listenerCount("readable")>0;if(r.resumeScheduled&&!r.paused){r.flowing=true}else if(t.listenerCount("data")>0){t.resume()}}function nReadingNextTick(t){m("readable nexttick read 0");t.read(0)}Readable.prototype.resume=function(){var t=this._readableState;if(!t.flowing){m("resume");t.flowing=!t.readableListening;resume(this,t)}t.paused=false;return this};function resume(t,r){if(!r.resumeScheduled){r.resumeScheduled=true;process.nextTick(resume_,t,r)}}function resume_(t,r){m("resume",r.reading);if(!r.reading){t.read(0)}r.resumeScheduled=false;t.emit("resume");flow(t);if(r.flowing&&!r.reading)t.read(0)}Readable.prototype.pause=function(){m("call pause flowing=%j",this._readableState.flowing);if(this._readableState.flowing!==false){m("pause");this._readableState.flowing=false;this.emit("pause")}this._readableState.paused=true;return this};function flow(t){var r=t._readableState;m("flow",r.flowing);while(r.flowing&&t.read()!==null){}}Readable.prototype.wrap=function(t){var r=this;var i=this._readableState;var o=false;t.on("end",(function(){m("wrapped end");if(i.decoder&&!i.ended){var t=i.decoder.end();if(t&&t.length)r.push(t)}r.push(null)}));t.on("data",(function(a){m("wrapped data");if(i.decoder)a=i.decoder.write(a);if(i.objectMode&&(a===null||a===undefined))return;else if(!i.objectMode&&(!a||!a.length))return;var u=r.push(a);if(!u){o=true;t.pause()}}));for(var a in t){if(this[a]===undefined&&typeof t[a]==="function"){this[a]=function methodWrap(r){return function methodWrapReturnFunction(){return t[r].apply(t,arguments)}}(a)}}for(var u=0;u<R.length;u++){t.on(R[u],this.emit.bind(this,R[u]))}this._read=function(r){m("wrapped _read",r);if(o){o=false;t.resume()}};return this};if(typeof Symbol==="function"){Readable.prototype[Symbol.asyncIterator]=function(){if(C===undefined){C=i(2250)}return C(this)}}Object.defineProperty(Readable.prototype,"readableHighWaterMark",{enumerable:false,get:function get(){return this._readableState.highWaterMark}});Object.defineProperty(Readable.prototype,"readableBuffer",{enumerable:false,get:function get(){return this._readableState&&this._readableState.buffer}});Object.defineProperty(Readable.prototype,"readableFlowing",{enumerable:false,get:function get(){return this._readableState.flowing},set:function set(t){if(this._readableState){this._readableState.flowing=t}}});Readable._fromList=fromList;Object.defineProperty(Readable.prototype,"readableLength",{enumerable:false,get:function get(){return this._readableState.length}});function fromList(t,r){if(r.length===0)return null;var i;if(r.objectMode)i=r.buffer.shift();else if(!t||t>=r.length){if(r.decoder)i=r.buffer.join("");else if(r.buffer.length===1)i=r.buffer.first();else i=r.buffer.concat(r.length);r.buffer.clear()}else{i=r.buffer.consume(t,r.decoder)}return i}function endReadable(t){var r=t._readableState;m("endReadable",r.endEmitted);if(!r.endEmitted){r.ended=true;process.nextTick(endReadableNT,r,t)}}function endReadableNT(t,r){m("endReadableNT",t.endEmitted,t.length);if(!t.endEmitted&&t.length===0){t.endEmitted=true;r.readable=false;r.emit("end");if(t.autoDestroy){var i=r._writableState;if(!i||i.autoDestroy&&i.finished){r.destroy()}}}}if(typeof Symbol==="function"){Readable.from=function(t,r){if(x===undefined){x=i(7453)}return x(Readable,t,r)}}function indexOf(t,r){for(var i=0,o=t.length;i<o;i++){if(t[i]===r)return i}return-1}},5469:(t,r,i)=>{"use strict";t.exports=Transform;var o=i(3130).q,a=o.ERR_METHOD_NOT_IMPLEMENTED,u=o.ERR_MULTIPLE_CALLBACK,l=o.ERR_TRANSFORM_ALREADY_TRANSFORMING,h=o.ERR_TRANSFORM_WITH_LENGTH_0;var p=i(8393);i(6919)(Transform,p);function afterTransform(t,r){var i=this._transformState;i.transforming=false;var o=i.writecb;if(o===null){return this.emit("error",new u)}i.writechunk=null;i.writecb=null;if(r!=null)this.push(r);o(t);var a=this._readableState;a.reading=false;if(a.needReadable||a.length<a.highWaterMark){this._read(a.highWaterMark)}}function Transform(t){if(!(this instanceof Transform))return new Transform(t);p.call(this,t);this._transformState={afterTransform:afterTransform.bind(this),needTransform:false,transforming:false,writecb:null,writechunk:null,writeencoding:null};this._readableState.needReadable=true;this._readableState.sync=false;if(t){if(typeof t.transform==="function")this._transform=t.transform;if(typeof t.flush==="function")this._flush=t.flush}this.on("prefinish",prefinish)}function prefinish(){var t=this;if(typeof this._flush==="function"&&!this._readableState.destroyed){this._flush((function(r,i){done(t,r,i)}))}else{done(this,null,null)}}Transform.prototype.push=function(t,r){this._transformState.needTransform=false;return p.prototype.push.call(this,t,r)};Transform.prototype._transform=function(t,r,i){i(new a("_transform()"))};Transform.prototype._write=function(t,r,i){var o=this._transformState;o.writecb=i;o.writechunk=t;o.writeencoding=r;if(!o.transforming){var a=this._readableState;if(o.needTransform||a.needReadable||a.length<a.highWaterMark)this._read(a.highWaterMark)}};Transform.prototype._read=function(t){var r=this._transformState;if(r.writechunk!==null&&!r.transforming){r.transforming=true;this._transform(r.writechunk,r.writeencoding,r.afterTransform)}else{r.needTransform=true}};Transform.prototype._destroy=function(t,r){p.prototype._destroy.call(this,t,(function(t){r(t)}))};function done(t,r,i){if(r)return t.emit("error",r);if(i!=null)t.push(i);if(t._writableState.length)throw new h;if(t._transformState.transforming)throw new l;return t.push(null)}},6100:(t,r,i)=>{"use strict";t.exports=Writable;function WriteReq(t,r,i){this.chunk=t;this.encoding=r;this.callback=i;this.next=null}function CorkedRequest(t){var r=this;this.next=null;this.entry=null;this.finish=function(){onCorkedFinish(r,t)}}var o;Writable.WritableState=WritableState;var a={deprecate:i(9209)};var u=i(5016);var l=i(4300).Buffer;var h=global.Uint8Array||function(){};function _uint8ArrayToBuffer(t){return l.from(t)}function _isUint8Array(t){return l.isBuffer(t)||t instanceof h}var p=i(3090);var d=i(5785),m=d.getHighWaterMark;var g=i(3130).q,y=g.ERR_INVALID_ARG_TYPE,v=g.ERR_METHOD_NOT_IMPLEMENTED,A=g.ERR_MULTIPLE_CALLBACK,b=g.ERR_STREAM_CANNOT_PIPE,w=g.ERR_STREAM_DESTROYED,E=g.ERR_STREAM_NULL_VALUES,S=g.ERR_STREAM_WRITE_AFTER_END,_=g.ERR_UNKNOWN_ENCODING;var D=p.errorOrDestroy;i(6919)(Writable,u);function nop(){}function WritableState(t,r,a){o=o||i(8393);t=t||{};if(typeof a!=="boolean")a=r instanceof o;this.objectMode=!!t.objectMode;if(a)this.objectMode=this.objectMode||!!t.writableObjectMode;this.highWaterMark=m(this,t,"writableHighWaterMark",a);this.finalCalled=false;this.needDrain=false;this.ending=false;this.ended=false;this.finished=false;this.destroyed=false;var u=t.decodeStrings===false;this.decodeStrings=!u;this.defaultEncoding=t.defaultEncoding||"utf8";this.length=0;this.writing=false;this.corked=0;this.sync=true;this.bufferProcessing=false;this.onwrite=function(t){onwrite(r,t)};this.writecb=null;this.writelen=0;this.bufferedRequest=null;this.lastBufferedRequest=null;this.pendingcb=0;this.prefinished=false;this.errorEmitted=false;this.emitClose=t.emitClose!==false;this.autoDestroy=!!t.autoDestroy;this.bufferedRequestCount=0;this.corkedRequestsFree=new CorkedRequest(this)}WritableState.prototype.getBuffer=function getBuffer(){var t=this.bufferedRequest;var r=[];while(t){r.push(t);t=t.next}return r};(function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:a.deprecate((function writableStateBufferGetter(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer "+"instead.","DEP0003")})}catch(t){}})();var C;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function"){C=Function.prototype[Symbol.hasInstance];Object.defineProperty(Writable,Symbol.hasInstance,{value:function value(t){if(C.call(this,t))return true;if(this!==Writable)return false;return t&&t._writableState instanceof WritableState}})}else{C=function realHasInstance(t){return t instanceof this}}function Writable(t){o=o||i(8393);var r=this instanceof o;if(!r&&!C.call(Writable,this))return new Writable(t);this._writableState=new WritableState(t,this,r);this.writable=true;if(t){if(typeof t.write==="function")this._write=t.write;if(typeof t.writev==="function")this._writev=t.writev;if(typeof t.destroy==="function")this._destroy=t.destroy;if(typeof t.final==="function")this._final=t.final}u.call(this)}Writable.prototype.pipe=function(){D(this,new b)};function writeAfterEnd(t,r){var i=new S;D(t,i);process.nextTick(r,i)}function validChunk(t,r,i,o){var a;if(i===null){a=new E}else if(typeof i!=="string"&&!r.objectMode){a=new y("chunk",["string","Buffer"],i)}if(a){D(t,a);process.nextTick(o,a);return false}return true}Writable.prototype.write=function(t,r,i){var o=this._writableState;var a=false;var u=!o.objectMode&&_isUint8Array(t);if(u&&!l.isBuffer(t)){t=_uint8ArrayToBuffer(t)}if(typeof r==="function"){i=r;r=null}if(u)r="buffer";else if(!r)r=o.defaultEncoding;if(typeof i!=="function")i=nop;if(o.ending)writeAfterEnd(this,i);else if(u||validChunk(this,o,t,i)){o.pendingcb++;a=writeOrBuffer(this,o,u,t,r,i)}return a};Writable.prototype.cork=function(){this._writableState.corked++};Writable.prototype.uncork=function(){var t=this._writableState;if(t.corked){t.corked--;if(!t.writing&&!t.corked&&!t.bufferProcessing&&t.bufferedRequest)clearBuffer(this,t)}};Writable.prototype.setDefaultEncoding=function setDefaultEncoding(t){if(typeof t==="string")t=t.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new _(t);this._writableState.defaultEncoding=t;return this};Object.defineProperty(Writable.prototype,"writableBuffer",{enumerable:false,get:function get(){return this._writableState&&this._writableState.getBuffer()}});function decodeChunk(t,r,i){if(!t.objectMode&&t.decodeStrings!==false&&typeof r==="string"){r=l.from(r,i)}return r}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:false,get:function get(){return this._writableState.highWaterMark}});function writeOrBuffer(t,r,i,o,a,u){if(!i){var l=decodeChunk(r,o,a);if(o!==l){i=true;a="buffer";o=l}}var h=r.objectMode?1:o.length;r.length+=h;var p=r.length<r.highWaterMark;if(!p)r.needDrain=true;if(r.writing||r.corked){var d=r.lastBufferedRequest;r.lastBufferedRequest={chunk:o,encoding:a,isBuf:i,callback:u,next:null};if(d){d.next=r.lastBufferedRequest}else{r.bufferedRequest=r.lastBufferedRequest}r.bufferedRequestCount+=1}else{doWrite(t,r,false,h,o,a,u)}return p}function doWrite(t,r,i,o,a,u,l){r.writelen=o;r.writecb=l;r.writing=true;r.sync=true;if(r.destroyed)r.onwrite(new w("write"));else if(i)t._writev(a,r.onwrite);else t._write(a,u,r.onwrite);r.sync=false}function onwriteError(t,r,i,o,a){--r.pendingcb;if(i){process.nextTick(a,o);process.nextTick(finishMaybe,t,r);t._writableState.errorEmitted=true;D(t,o)}else{a(o);t._writableState.errorEmitted=true;D(t,o);finishMaybe(t,r)}}function onwriteStateUpdate(t){t.writing=false;t.writecb=null;t.length-=t.writelen;t.writelen=0}function onwrite(t,r){var i=t._writableState;var o=i.sync;var a=i.writecb;if(typeof a!=="function")throw new A;onwriteStateUpdate(i);if(r)onwriteError(t,i,o,r,a);else{var u=needFinish(i)||t.destroyed;if(!u&&!i.corked&&!i.bufferProcessing&&i.bufferedRequest){clearBuffer(t,i)}if(o){process.nextTick(afterWrite,t,i,u,a)}else{afterWrite(t,i,u,a)}}}function afterWrite(t,r,i,o){if(!i)onwriteDrain(t,r);r.pendingcb--;o();finishMaybe(t,r)}function onwriteDrain(t,r){if(r.length===0&&r.needDrain){r.needDrain=false;t.emit("drain")}}function clearBuffer(t,r){r.bufferProcessing=true;var i=r.bufferedRequest;if(t._writev&&i&&i.next){var o=r.bufferedRequestCount;var a=new Array(o);var u=r.corkedRequestsFree;u.entry=i;var l=0;var h=true;while(i){a[l]=i;if(!i.isBuf)h=false;i=i.next;l+=1}a.allBuffers=h;doWrite(t,r,true,r.length,a,"",u.finish);r.pendingcb++;r.lastBufferedRequest=null;if(u.next){r.corkedRequestsFree=u.next;u.next=null}else{r.corkedRequestsFree=new CorkedRequest(r)}r.bufferedRequestCount=0}else{while(i){var p=i.chunk;var d=i.encoding;var m=i.callback;var g=r.objectMode?1:p.length;doWrite(t,r,false,g,p,d,m);i=i.next;r.bufferedRequestCount--;if(r.writing){break}}if(i===null)r.lastBufferedRequest=null}r.bufferedRequest=i;r.bufferProcessing=false}Writable.prototype._write=function(t,r,i){i(new v("_write()"))};Writable.prototype._writev=null;Writable.prototype.end=function(t,r,i){var o=this._writableState;if(typeof t==="function"){i=t;t=null;r=null}else if(typeof r==="function"){i=r;r=null}if(t!==null&&t!==undefined)this.write(t,r);if(o.corked){o.corked=1;this.uncork()}if(!o.ending)endWritable(this,o,i);return this};Object.defineProperty(Writable.prototype,"writableLength",{enumerable:false,get:function get(){return this._writableState.length}});function needFinish(t){return t.ending&&t.length===0&&t.bufferedRequest===null&&!t.finished&&!t.writing}function callFinal(t,r){t._final((function(i){r.pendingcb--;if(i){D(t,i)}r.prefinished=true;t.emit("prefinish");finishMaybe(t,r)}))}function prefinish(t,r){if(!r.prefinished&&!r.finalCalled){if(typeof t._final==="function"&&!r.destroyed){r.pendingcb++;r.finalCalled=true;process.nextTick(callFinal,t,r)}else{r.prefinished=true;t.emit("prefinish")}}}function finishMaybe(t,r){var i=needFinish(r);if(i){prefinish(t,r);if(r.pendingcb===0){r.finished=true;t.emit("finish");if(r.autoDestroy){var o=t._readableState;if(!o||o.autoDestroy&&o.endEmitted){t.destroy()}}}}return i}function endWritable(t,r,i){r.ending=true;finishMaybe(t,r);if(i){if(r.finished)process.nextTick(i);else t.once("finish",i)}r.ended=true;t.writable=false}function onCorkedFinish(t,r,i){var o=t.entry;t.entry=null;while(o){var a=o.callback;r.pendingcb--;a(i);o=o.next}r.corkedRequestsFree.next=t}Object.defineProperty(Writable.prototype,"destroyed",{enumerable:false,get:function get(){if(this._writableState===undefined){return false}return this._writableState.destroyed},set:function set(t){if(!this._writableState){return}this._writableState.destroyed=t}});Writable.prototype.destroy=p.destroy;Writable.prototype._undestroy=p.undestroy;Writable.prototype._destroy=function(t,r){r(t)}},2250:(t,r,i)=>{"use strict";var o;function _defineProperty(t,r,i){if(r in t){Object.defineProperty(t,r,{value:i,enumerable:true,configurable:true,writable:true})}else{t[r]=i}return t}var a=i(4360);var u=Symbol("lastResolve");var l=Symbol("lastReject");var h=Symbol("error");var p=Symbol("ended");var d=Symbol("lastPromise");var m=Symbol("handlePromise");var g=Symbol("stream");function createIterResult(t,r){return{value:t,done:r}}function readAndResolve(t){var r=t[u];if(r!==null){var i=t[g].read();if(i!==null){t[d]=null;t[u]=null;t[l]=null;r(createIterResult(i,false))}}}function onReadable(t){process.nextTick(readAndResolve,t)}function wrapForNext(t,r){return function(i,o){t.then((function(){if(r[p]){i(createIterResult(undefined,true));return}r[m](i,o)}),o)}}var y=Object.getPrototypeOf((function(){}));var v=Object.setPrototypeOf((o={get stream(){return this[g]},next:function next(){var t=this;var r=this[h];if(r!==null){return Promise.reject(r)}if(this[p]){return Promise.resolve(createIterResult(undefined,true))}if(this[g].destroyed){return new Promise((function(r,i){process.nextTick((function(){if(t[h]){i(t[h])}else{r(createIterResult(undefined,true))}}))}))}var i=this[d];var o;if(i){o=new Promise(wrapForNext(i,this))}else{var a=this[g].read();if(a!==null){return Promise.resolve(createIterResult(a,false))}o=new Promise(this[m])}this[d]=o;return o}},_defineProperty(o,Symbol.asyncIterator,(function(){return this})),_defineProperty(o,"return",(function _return(){var t=this;return new Promise((function(r,i){t[g].destroy(null,(function(t){if(t){i(t);return}r(createIterResult(undefined,true))}))}))})),o),y);var A=function createReadableStreamAsyncIterator(t){var r;var i=Object.create(v,(r={},_defineProperty(r,g,{value:t,writable:true}),_defineProperty(r,u,{value:null,writable:true}),_defineProperty(r,l,{value:null,writable:true}),_defineProperty(r,h,{value:null,writable:true}),_defineProperty(r,p,{value:t._readableState.endEmitted,writable:true}),_defineProperty(r,m,{value:function value(t,r){var o=i[g].read();if(o){i[d]=null;i[u]=null;i[l]=null;t(createIterResult(o,false))}else{i[u]=t;i[l]=r}},writable:true}),r));i[d]=null;a(t,(function(t){if(t&&t.code!=="ERR_STREAM_PREMATURE_CLOSE"){var r=i[l];if(r!==null){i[d]=null;i[u]=null;i[l]=null;r(t)}i[h]=t;return}var o=i[u];if(o!==null){i[d]=null;i[u]=null;i[l]=null;o(createIterResult(undefined,true))}i[p]=true}));t.on("readable",onReadable.bind(null,i));return i};t.exports=A},3900:(t,r,i)=>{"use strict";function ownKeys(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);if(r)o=o.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}));i.push.apply(i,o)}return i}function _objectSpread(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};if(r%2){ownKeys(Object(i),true).forEach((function(r){_defineProperty(t,r,i[r])}))}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(t,Object.getOwnPropertyDescriptors(i))}else{ownKeys(Object(i)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))}))}}return t}function _defineProperty(t,r,i){if(r in t){Object.defineProperty(t,r,{value:i,enumerable:true,configurable:true,writable:true})}else{t[r]=i}return t}function _classCallCheck(t,r){if(!(t instanceof r)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(t,r){for(var i=0;i<r.length;i++){var o=r[i];o.enumerable=o.enumerable||false;o.configurable=true;if("value"in o)o.writable=true;Object.defineProperty(t,o.key,o)}}function _createClass(t,r,i){if(r)_defineProperties(t.prototype,r);if(i)_defineProperties(t,i);return t}var o=i(4300),a=o.Buffer;var u=i(3837),l=u.inspect;var h=l&&l.custom||"inspect";function copyBuffer(t,r,i){a.prototype.copy.call(t,r,i)}t.exports=function(){function BufferList(){_classCallCheck(this,BufferList);this.head=null;this.tail=null;this.length=0}_createClass(BufferList,[{key:"push",value:function push(t){var r={data:t,next:null};if(this.length>0)this.tail.next=r;else this.head=r;this.tail=r;++this.length}},{key:"unshift",value:function unshift(t){var r={data:t,next:this.head};if(this.length===0)this.tail=r;this.head=r;++this.length}},{key:"shift",value:function shift(){if(this.length===0)return;var t=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;--this.length;return t}},{key:"clear",value:function clear(){this.head=this.tail=null;this.length=0}},{key:"join",value:function join(t){if(this.length===0)return"";var r=this.head;var i=""+r.data;while(r=r.next){i+=t+r.data}return i}},{key:"concat",value:function concat(t){if(this.length===0)return a.alloc(0);var r=a.allocUnsafe(t>>>0);var i=this.head;var o=0;while(i){copyBuffer(i.data,r,o);o+=i.data.length;i=i.next}return r}},{key:"consume",value:function consume(t,r){var i;if(t<this.head.data.length){i=this.head.data.slice(0,t);this.head.data=this.head.data.slice(t)}else if(t===this.head.data.length){i=this.shift()}else{i=r?this._getString(t):this._getBuffer(t)}return i}},{key:"first",value:function first(){return this.head.data}},{key:"_getString",value:function _getString(t){var r=this.head;var i=1;var o=r.data;t-=o.length;while(r=r.next){var a=r.data;var u=t>a.length?a.length:t;if(u===a.length)o+=a;else o+=a.slice(0,t);t-=u;if(t===0){if(u===a.length){++i;if(r.next)this.head=r.next;else this.head=this.tail=null}else{this.head=r;r.data=a.slice(u)}break}++i}this.length-=i;return o}},{key:"_getBuffer",value:function _getBuffer(t){var r=a.allocUnsafe(t);var i=this.head;var o=1;i.data.copy(r);t-=i.data.length;while(i=i.next){var u=i.data;var l=t>u.length?u.length:t;u.copy(r,r.length-t,0,l);t-=l;if(t===0){if(l===u.length){++o;if(i.next)this.head=i.next;else this.head=this.tail=null}else{this.head=i;i.data=u.slice(l)}break}++o}this.length-=o;return r}},{key:h,value:function value(t,r){return l(this,_objectSpread({},r,{depth:0,customInspect:false}))}}]);return BufferList}()},3090:t=>{"use strict";function destroy(t,r){var i=this;var o=this._readableState&&this._readableState.destroyed;var a=this._writableState&&this._writableState.destroyed;if(o||a){if(r){r(t)}else if(t){if(!this._writableState){process.nextTick(emitErrorNT,this,t)}else if(!this._writableState.errorEmitted){this._writableState.errorEmitted=true;process.nextTick(emitErrorNT,this,t)}}return this}if(this._readableState){this._readableState.destroyed=true}if(this._writableState){this._writableState.destroyed=true}this._destroy(t||null,(function(t){if(!r&&t){if(!i._writableState){process.nextTick(emitErrorAndCloseNT,i,t)}else if(!i._writableState.errorEmitted){i._writableState.errorEmitted=true;process.nextTick(emitErrorAndCloseNT,i,t)}else{process.nextTick(emitCloseNT,i)}}else if(r){process.nextTick(emitCloseNT,i);r(t)}else{process.nextTick(emitCloseNT,i)}}));return this}function emitErrorAndCloseNT(t,r){emitErrorNT(t,r);emitCloseNT(t)}function emitCloseNT(t){if(t._writableState&&!t._writableState.emitClose)return;if(t._readableState&&!t._readableState.emitClose)return;t.emit("close")}function undestroy(){if(this._readableState){this._readableState.destroyed=false;this._readableState.reading=false;this._readableState.ended=false;this._readableState.endEmitted=false}if(this._writableState){this._writableState.destroyed=false;this._writableState.ended=false;this._writableState.ending=false;this._writableState.finalCalled=false;this._writableState.prefinished=false;this._writableState.finished=false;this._writableState.errorEmitted=false}}function emitErrorNT(t,r){t.emit("error",r)}function errorOrDestroy(t,r){var i=t._readableState;var o=t._writableState;if(i&&i.autoDestroy||o&&o.autoDestroy)t.destroy(r);else t.emit("error",r)}t.exports={destroy:destroy,undestroy:undestroy,errorOrDestroy:errorOrDestroy}},4360:(t,r,i)=>{"use strict";var o=i(3130).q.ERR_STREAM_PREMATURE_CLOSE;function once(t){var r=false;return function(){if(r)return;r=true;for(var i=arguments.length,o=new Array(i),a=0;a<i;a++){o[a]=arguments[a]}t.apply(this,o)}}function noop(){}function isRequest(t){return t.setHeader&&typeof t.abort==="function"}function eos(t,r,i){if(typeof r==="function")return eos(t,null,r);if(!r)r={};i=once(i||noop);var a=r.readable||r.readable!==false&&t.readable;var u=r.writable||r.writable!==false&&t.writable;var l=function onlegacyfinish(){if(!t.writable)p()};var h=t._writableState&&t._writableState.finished;var p=function onfinish(){u=false;h=true;if(!a)i.call(t)};var d=t._readableState&&t._readableState.endEmitted;var m=function onend(){a=false;d=true;if(!u)i.call(t)};var g=function onerror(r){i.call(t,r)};var y=function onclose(){var r;if(a&&!d){if(!t._readableState||!t._readableState.ended)r=new o;return i.call(t,r)}if(u&&!h){if(!t._writableState||!t._writableState.ended)r=new o;return i.call(t,r)}};var v=function onrequest(){t.req.on("finish",p)};if(isRequest(t)){t.on("complete",p);t.on("abort",y);if(t.req)v();else t.on("request",v)}else if(u&&!t._writableState){t.on("end",l);t.on("close",l)}t.on("end",m);t.on("finish",p);if(r.error!==false)t.on("error",g);t.on("close",y);return function(){t.removeListener("complete",p);t.removeListener("abort",y);t.removeListener("request",v);if(t.req)t.req.removeListener("finish",p);t.removeListener("end",l);t.removeListener("close",l);t.removeListener("finish",p);t.removeListener("end",m);t.removeListener("error",g);t.removeListener("close",y)}}t.exports=eos},7453:(t,r,i)=>{"use strict";function asyncGeneratorStep(t,r,i,o,a,u,l){try{var h=t[u](l);var p=h.value}catch(t){i(t);return}if(h.done){r(p)}else{Promise.resolve(p).then(o,a)}}function _asyncToGenerator(t){return function(){var r=this,i=arguments;return new Promise((function(o,a){var u=t.apply(r,i);function _next(t){asyncGeneratorStep(u,o,a,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(u,o,a,_next,_throw,"throw",t)}_next(undefined)}))}}function ownKeys(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);if(r)o=o.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}));i.push.apply(i,o)}return i}function _objectSpread(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};if(r%2){ownKeys(Object(i),true).forEach((function(r){_defineProperty(t,r,i[r])}))}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(t,Object.getOwnPropertyDescriptors(i))}else{ownKeys(Object(i)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))}))}}return t}function _defineProperty(t,r,i){if(r in t){Object.defineProperty(t,r,{value:i,enumerable:true,configurable:true,writable:true})}else{t[r]=i}return t}var o=i(3130).q.ERR_INVALID_ARG_TYPE;function from(t,r,i){var a;if(r&&typeof r.next==="function"){a=r}else if(r&&r[Symbol.asyncIterator])a=r[Symbol.asyncIterator]();else if(r&&r[Symbol.iterator])a=r[Symbol.iterator]();else throw new o("iterable",["Iterable"],r);var u=new t(_objectSpread({objectMode:true},i));var l=false;u._read=function(){if(!l){l=true;next()}};function next(){return _next2.apply(this,arguments)}function _next2(){_next2=_asyncToGenerator((function*(){try{var t=yield a.next(),r=t.value,i=t.done;if(i){u.push(null)}else if(u.push(yield r)){next()}else{l=false}}catch(t){u.destroy(t)}}));return _next2.apply(this,arguments)}return u}t.exports=from},1391:(t,r,i)=>{"use strict";var o;function once(t){var r=false;return function(){if(r)return;r=true;t.apply(void 0,arguments)}}var a=i(3130).q,u=a.ERR_MISSING_ARGS,l=a.ERR_STREAM_DESTROYED;function noop(t){if(t)throw t}function isRequest(t){return t.setHeader&&typeof t.abort==="function"}function destroyer(t,r,a,u){u=once(u);var h=false;t.on("close",(function(){h=true}));if(o===undefined)o=i(4360);o(t,{readable:r,writable:a},(function(t){if(t)return u(t);h=true;u()}));var p=false;return function(r){if(h)return;if(p)return;p=true;if(isRequest(t))return t.abort();if(typeof t.destroy==="function")return t.destroy();u(r||new l("pipe"))}}function call(t){t()}function pipe(t,r){return t.pipe(r)}function popCallback(t){if(!t.length)return noop;if(typeof t[t.length-1]!=="function")return noop;return t.pop()}function pipeline(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++){r[i]=arguments[i]}var o=popCallback(r);if(Array.isArray(r[0]))r=r[0];if(r.length<2){throw new u("streams")}var a;var l=r.map((function(t,i){var u=i<r.length-1;var h=i>0;return destroyer(t,u,h,(function(t){if(!a)a=t;if(t)l.forEach(call);if(u)return;l.forEach(call);o(a)}))}));return r.reduce(pipe)}t.exports=pipeline},5785:(t,r,i)=>{"use strict";var o=i(3130).q.ERR_INVALID_OPT_VALUE;function highWaterMarkFrom(t,r,i){return t.highWaterMark!=null?t.highWaterMark:r?t[i]:null}function getHighWaterMark(t,r,i,a){var u=highWaterMarkFrom(r,a,i);if(u!=null){if(!(isFinite(u)&&Math.floor(u)===u)||u<0){var l=a?i:"highWaterMark";throw new o(l,u)}return Math.floor(u)}return t.objectMode?16:16*1024}t.exports={getHighWaterMark:getHighWaterMark}},5016:(t,r,i)=>{t.exports=i(2781)},675:(t,r,i)=>{var o=i(2781);if(process.env.READABLE_STREAM==="disable"&&o){t.exports=o.Readable;Object.assign(t.exports,o);t.exports.Stream=o}else{r=t.exports=i(284);r.Stream=o||r;r.Readable=r;r.Writable=i(6100);r.Duplex=i(8393);r.Transform=i(5469);r.PassThrough=i(5125);r.finished=i(4360);r.pipeline=i(1391)}},4955:(t,r,i)=>{const o=i(3118).Buffer;function decodeBase64(t){return o.from(t,"base64").toString("utf8")}function encodeBase64(t){return o.from(t,"utf8").toString("base64")}t.exports={decodeBase64:decodeBase64,encodeBase64:encodeBase64}},1384:(t,r,i)=>{var o=i(7310);var a=i(4955);var u=a.decodeBase64;var l=a.encodeBase64;var h=":_authToken";var p=":username";var d=":_password";t.exports=function(){var t;var r;if(arguments.length>=2){t=arguments[0];r=arguments[1]}else if(typeof arguments[0]==="string"){t=arguments[0]}else{r=arguments[0]}r=r||{};r.npmrc=r.npmrc||i(8271)("npm",{registry:"https://registry.npmjs.org/"});t=t||r.npmrc.registry;return getRegistryAuthInfo(t,r)||getLegacyAuthInfo(r.npmrc)};function getRegistryAuthInfo(t,r){var i=o.parse(t,false,true);var a;while(a!=="/"&&i.pathname!==a){a=i.pathname||"/";var u="//"+i.host+a.replace(/\/$/,"");var l=getAuthInfoForUrl(u,r.npmrc);if(l){return l}if(!r.recursive){return/\/$/.test(t)?undefined:getRegistryAuthInfo(o.resolve(t,"."),r)}i.pathname=o.resolve(normalizePath(a),"..")||"/"}return undefined}function getLegacyAuthInfo(t){if(t._auth){return{token:t._auth,type:"Basic"}}return undefined}function normalizePath(t){return t[t.length-1]==="/"?t:t+"/"}function getAuthInfoForUrl(t,r){var i=getBearerToken(r[t+h]||r[t+"/"+h]);if(i){return i}var o=r[t+p]||r[t+"/"+p];var a=r[t+d]||r[t+"/"+d];var u=getTokenForUsernameAndPassword(o,a);if(u){return u}return undefined}function getBearerToken(t){if(!t){return undefined}var r=t.replace(/^\$\{?([^}]*)\}?$/,(function(t,r){return process.env[r]}));return{token:r,type:"Bearer"}}function getTokenForUsernameAndPassword(t,r){if(!t||!r){return undefined}var i=u(r.replace(/^\$\{?([^}]*)\}?$/,(function(t,r){return process.env[r]})));var o=l(t+":"+i);return{token:o,type:"Basic",password:i,username:t}}},2447:(t,r,i)=>{"use strict";t.exports=function(t){var r=i(8271)("npm",{registry:"https://registry.npmjs.org/"});var o=r[t+":registry"]||r.registry;return o.slice(-1)==="/"?o:o+"/"}},7301:(t,r,i)=>{(()=>{"use strict";var r={610:(t,r,i)=>{const o=i(8750);const a=i(9434);const u=i(5873);const l=i(6477);const braces=(t,r={})=>{let i=[];if(Array.isArray(t)){for(const o of t){const t=braces.create(o,r);if(Array.isArray(t)){i.push(...t)}else{i.push(t)}}}else{i=[].concat(braces.create(t,r))}if(r&&r.expand===true&&r.nodupes===true){i=[...new Set(i)]}return i};braces.parse=(t,r={})=>l(t,r);braces.stringify=(t,r={})=>{if(typeof t==="string"){return o(braces.parse(t,r),r)}return o(t,r)};braces.compile=(t,r={})=>{if(typeof t==="string"){t=braces.parse(t,r)}return a(t,r)};braces.expand=(t,r={})=>{if(typeof t==="string"){t=braces.parse(t,r)}let i=u(t,r);if(r.noempty===true){i=i.filter(Boolean)}if(r.nodupes===true){i=[...new Set(i)]}return i};braces.create=(t,r={})=>{if(t===""||t.length<3){return[t]}return r.expand!==true?braces.compile(t,r):braces.expand(t,r)};t.exports=braces},9434:(t,r,i)=>{const o=i(6330);const a=i(5207);const compile=(t,r={})=>{const walk=(t,i={})=>{const u=a.isInvalidBrace(i);const l=t.invalid===true&&r.escapeInvalid===true;const h=u===true||l===true;const p=r.escapeInvalid===true?"\\":"";let d="";if(t.isOpen===true){return p+t.value}if(t.isClose===true){console.log("node.isClose",p,t.value);return p+t.value}if(t.type==="open"){return h?p+t.value:"("}if(t.type==="close"){return h?p+t.value:")"}if(t.type==="comma"){return t.prev.type==="comma"?"":h?t.value:"|"}if(t.value){return t.value}if(t.nodes&&t.ranges>0){const i=a.reduce(t.nodes);const u=o(...i,{...r,wrap:false,toRegex:true,strictZeros:true});if(u.length!==0){return i.length>1&&u.length>1?`(${u})`:u}}if(t.nodes){for(const r of t.nodes){d+=walk(r,t)}}return d};return walk(t)};t.exports=compile},8774:t=>{t.exports={MAX_LENGTH:1e4,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:"\n",CHAR_NO_BREAK_SPACE:" ",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"}},5873:(t,r,i)=>{const o=i(6330);const a=i(8750);const u=i(5207);const append=(t="",r="",i=false)=>{const o=[];t=[].concat(t);r=[].concat(r);if(!r.length)return t;if(!t.length){return i?u.flatten(r).map((t=>`{${t}}`)):r}for(const a of t){if(Array.isArray(a)){for(const t of a){o.push(append(t,r,i))}}else{for(let t of r){if(i===true&&typeof t==="string")t=`{${t}}`;o.push(Array.isArray(t)?append(a,t,i):a+t)}}}return u.flatten(o)};const expand=(t,r={})=>{const i=r.rangeLimit===undefined?1e3:r.rangeLimit;const walk=(t,l={})=>{t.queue=[];let h=l;let p=l.queue;while(h.type!=="brace"&&h.type!=="root"&&h.parent){h=h.parent;p=h.queue}if(t.invalid||t.dollar){p.push(append(p.pop(),a(t,r)));return}if(t.type==="brace"&&t.invalid!==true&&t.nodes.length===2){p.push(append(p.pop(),["{}"]));return}if(t.nodes&&t.ranges>0){const l=u.reduce(t.nodes);if(u.exceedsLimit(...l,r.step,i)){throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.")}let h=o(...l,r);if(h.length===0){h=a(t,r)}p.push(append(p.pop(),h));t.nodes=[];return}const d=u.encloseBrace(t);let m=t.queue;let g=t;while(g.type!=="brace"&&g.type!=="root"&&g.parent){g=g.parent;m=g.queue}for(let r=0;r<t.nodes.length;r++){const i=t.nodes[r];if(i.type==="comma"&&t.type==="brace"){if(r===1)m.push("");m.push("");continue}if(i.type==="close"){p.push(append(p.pop(),m,d));continue}if(i.value&&i.type!=="open"){m.push(append(m.pop(),i.value));continue}if(i.nodes){walk(i,t)}}return m};return u.flatten(walk(t))};t.exports=expand},6477:(t,r,i)=>{const o=i(8750);const{MAX_LENGTH:a,CHAR_BACKSLASH:u,CHAR_BACKTICK:l,CHAR_COMMA:h,CHAR_DOT:p,CHAR_LEFT_PARENTHESES:d,CHAR_RIGHT_PARENTHESES:m,CHAR_LEFT_CURLY_BRACE:g,CHAR_RIGHT_CURLY_BRACE:y,CHAR_LEFT_SQUARE_BRACKET:v,CHAR_RIGHT_SQUARE_BRACKET:A,CHAR_DOUBLE_QUOTE:b,CHAR_SINGLE_QUOTE:w,CHAR_NO_BREAK_SPACE:E,CHAR_ZERO_WIDTH_NOBREAK_SPACE:S}=i(8774);const parse=(t,r={})=>{if(typeof t!=="string"){throw new TypeError("Expected a string")}const i=r||{};const _=typeof i.maxLength==="number"?Math.min(a,i.maxLength):a;if(t.length>_){throw new SyntaxError(`Input length (${t.length}), exceeds max characters (${_})`)}const D={type:"root",input:t,nodes:[]};const C=[D];let x=D;let O=D;let R=0;const k=t.length;let T=0;let P=0;let L;const advance=()=>t[T++];const push=t=>{if(t.type==="text"&&O.type==="dot"){O.type="text"}if(O&&O.type==="text"&&t.type==="text"){O.value+=t.value;return}x.nodes.push(t);t.parent=x;t.prev=O;O=t;return t};push({type:"bos"});while(T<k){x=C[C.length-1];L=advance();if(L===S||L===E){continue}if(L===u){push({type:"text",value:(r.keepEscaping?L:"")+advance()});continue}if(L===A){push({type:"text",value:"\\"+L});continue}if(L===v){R++;let t;while(T<k&&(t=advance())){L+=t;if(t===v){R++;continue}if(t===u){L+=advance();continue}if(t===A){R--;if(R===0){break}}}push({type:"text",value:L});continue}if(L===d){x=push({type:"paren",nodes:[]});C.push(x);push({type:"text",value:L});continue}if(L===m){if(x.type!=="paren"){push({type:"text",value:L});continue}x=C.pop();push({type:"text",value:L});x=C[C.length-1];continue}if(L===b||L===w||L===l){const t=L;let i;if(r.keepQuotes!==true){L=""}while(T<k&&(i=advance())){if(i===u){L+=i+advance();continue}if(i===t){if(r.keepQuotes===true)L+=i;break}L+=i}push({type:"text",value:L});continue}if(L===g){P++;const t=O.value&&O.value.slice(-1)==="$"||x.dollar===true;const r={type:"brace",open:true,close:false,dollar:t,depth:P,commas:0,ranges:0,nodes:[]};x=push(r);C.push(x);push({type:"open",value:L});continue}if(L===y){if(x.type!=="brace"){push({type:"text",value:L});continue}const t="close";x=C.pop();x.close=true;push({type:t,value:L});P--;x=C[C.length-1];continue}if(L===h&&P>0){if(x.ranges>0){x.ranges=0;const t=x.nodes.shift();x.nodes=[t,{type:"text",value:o(x)}]}push({type:"comma",value:L});x.commas++;continue}if(L===p&&P>0&&x.commas===0){const t=x.nodes;if(P===0||t.length===0){push({type:"text",value:L});continue}if(O.type==="dot"){x.range=[];O.value+=L;O.type="range";if(x.nodes.length!==3&&x.nodes.length!==5){x.invalid=true;x.ranges=0;O.type="text";continue}x.ranges++;x.args=[];continue}if(O.type==="range"){t.pop();const r=t[t.length-1];r.value+=O.value+L;O=r;x.ranges--;continue}push({type:"dot",value:L});continue}push({type:"text",value:L})}do{x=C.pop();if(x.type!=="root"){x.nodes.forEach((t=>{if(!t.nodes){if(t.type==="open")t.isOpen=true;if(t.type==="close")t.isClose=true;if(!t.nodes)t.type="text";t.invalid=true}}));const t=C[C.length-1];const r=t.nodes.indexOf(x);t.nodes.splice(r,1,...x.nodes)}}while(C.length>0);push({type:"eos"});return D};t.exports=parse},8750:(t,r,i)=>{const o=i(5207);t.exports=(t,r={})=>{const stringify=(t,i={})=>{const a=r.escapeInvalid&&o.isInvalidBrace(i);const u=t.invalid===true&&r.escapeInvalid===true;let l="";if(t.value){if((a||u)&&o.isOpenOrClose(t)){return"\\"+t.value}return t.value}if(t.value){return t.value}if(t.nodes){for(const r of t.nodes){l+=stringify(r)}}return l};return stringify(t)}},5207:(t,r)=>{r.isInteger=t=>{if(typeof t==="number"){return Number.isInteger(t)}if(typeof t==="string"&&t.trim()!==""){return Number.isInteger(Number(t))}return false};r.find=(t,r)=>t.nodes.find((t=>t.type===r));r.exceedsLimit=(t,i,o=1,a)=>{if(a===false)return false;if(!r.isInteger(t)||!r.isInteger(i))return false;return(Number(i)-Number(t))/Number(o)>=a};r.escapeNode=(t,r=0,i)=>{const o=t.nodes[r];if(!o)return;if(i&&o.type===i||o.type==="open"||o.type==="close"){if(o.escaped!==true){o.value="\\"+o.value;o.escaped=true}}};r.encloseBrace=t=>{if(t.type!=="brace")return false;if(t.commas>>0+t.ranges>>0===0){t.invalid=true;return true}return false};r.isInvalidBrace=t=>{if(t.type!=="brace")return false;if(t.invalid===true||t.dollar)return true;if(t.commas>>0+t.ranges>>0===0){t.invalid=true;return true}if(t.open!==true||t.close!==true){t.invalid=true;return true}return false};r.isOpenOrClose=t=>{if(t.type==="open"||t.type==="close"){return true}return t.open===true||t.close===true};r.reduce=t=>t.reduce(((t,r)=>{if(r.type==="text")t.push(r.value);if(r.type==="range")r.type="text";return t}),[]);r.flatten=(...t)=>{const r=[];const flat=t=>{for(let i=0;i<t.length;i++){const o=t[i];if(Array.isArray(o)){flat(o);continue}if(o!==undefined){r.push(o)}}return r};flat(t);return r}},6330:(t,r,i)=>{
41
41
  /*!
42
42
  * fill-range <https://github.com/jonschlinkert/fill-range>
43
43
  *
@@ -51,7 +51,7 @@ const o=i(3837);const a=i(1861);const isObject=t=>t!==null&&typeof t==="object"&
51
51
  * Copyright (c) 2014-present, Jon Schlinkert.
52
52
  * Released under the MIT License.
53
53
  */
54
- t.exports=function(t){if(typeof t==="number"){return t-t===0}if(typeof t==="string"&&t.trim()!==""){return Number.isFinite?Number.isFinite(+t):isFinite(+t)}return false}},1917:(t,r,i)=>{var o=i(1161);var a=i(8866);function renamed(t,r){return function(){throw new Error("Function yaml."+t+" is removed in js-yaml 4. "+"Use yaml."+r+" instead, which is now safe by default.")}}t.exports.Type=i(6073);t.exports.Schema=i(1082);t.exports.FAILSAFE_SCHEMA=i(8562);t.exports.JSON_SCHEMA=i(1035);t.exports.CORE_SCHEMA=i(2011);t.exports.DEFAULT_SCHEMA=i(8759);t.exports.load=o.load;t.exports.loadAll=o.loadAll;t.exports.dump=a.dump;t.exports.YAMLException=i(8179);t.exports.types={binary:i(7900),float:i(2705),map:i(6150),null:i(721),pairs:i(6860),set:i(9548),timestamp:i(9212),bool:i(4993),int:i(1615),merge:i(6104),omap:i(9046),seq:i(7283),str:i(3619)};t.exports.safeLoad=renamed("safeLoad","load");t.exports.safeLoadAll=renamed("safeLoadAll","loadAll");t.exports.safeDump=renamed("safeDump","dump")},6829:t=>{function isNothing(t){return typeof t==="undefined"||t===null}function isObject(t){return typeof t==="object"&&t!==null}function toArray(t){if(Array.isArray(t))return t;else if(isNothing(t))return[];return[t]}function extend(t,r){var i,o,a,u;if(r){u=Object.keys(r);for(i=0,o=u.length;i<o;i+=1){a=u[i];t[a]=r[a]}}return t}function repeat(t,r){var i="",o;for(o=0;o<r;o+=1){i+=t}return i}function isNegativeZero(t){return t===0&&Number.NEGATIVE_INFINITY===1/t}t.exports.isNothing=isNothing;t.exports.isObject=isObject;t.exports.toArray=toArray;t.exports.repeat=repeat;t.exports.isNegativeZero=isNegativeZero;t.exports.extend=extend},8866:(t,r,i)=>{var o=i(6829);var a=i(8179);var u=i(8759);var l=Object.prototype.toString;var h=Object.prototype.hasOwnProperty;var p=65279;var d=9;var m=10;var g=13;var y=32;var v=33;var A=34;var b=35;var w=37;var E=38;var S=39;var _=42;var D=44;var C=45;var x=58;var O=61;var R=62;var k=63;var T=64;var P=91;var L=93;var I=96;var M=123;var B=124;var N=125;var $={};$[0]="\\0";$[7]="\\a";$[8]="\\b";$[9]="\\t";$[10]="\\n";$[11]="\\v";$[12]="\\f";$[13]="\\r";$[27]="\\e";$[34]='\\"';$[92]="\\\\";$[133]="\\N";$[160]="\\_";$[8232]="\\L";$[8233]="\\P";var j=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];var W=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function compileStyleMap(t,r){var i,o,a,u,l,p,d;if(r===null)return{};i={};o=Object.keys(r);for(a=0,u=o.length;a<u;a+=1){l=o[a];p=String(r[l]);if(l.slice(0,2)==="!!"){l="tag:yaml.org,2002:"+l.slice(2)}d=t.compiledTypeMap["fallback"][l];if(d&&h.call(d.styleAliases,p)){p=d.styleAliases[p]}i[l]=p}return i}function encodeHex(t){var r,i,u;r=t.toString(16).toUpperCase();if(t<=255){i="x";u=2}else if(t<=65535){i="u";u=4}else if(t<=4294967295){i="U";u=8}else{throw new a("code point within a string may not be greater than 0xFFFFFFFF")}return"\\"+i+o.repeat("0",u-r.length)+r}var H=1,U=2;function State(t){this.schema=t["schema"]||u;this.indent=Math.max(1,t["indent"]||2);this.noArrayIndent=t["noArrayIndent"]||false;this.skipInvalid=t["skipInvalid"]||false;this.flowLevel=o.isNothing(t["flowLevel"])?-1:t["flowLevel"];this.styleMap=compileStyleMap(this.schema,t["styles"]||null);this.sortKeys=t["sortKeys"]||false;this.lineWidth=t["lineWidth"]||80;this.noRefs=t["noRefs"]||false;this.noCompatMode=t["noCompatMode"]||false;this.condenseFlow=t["condenseFlow"]||false;this.quotingType=t["quotingType"]==='"'?U:H;this.forceQuotes=t["forceQuotes"]||false;this.replacer=typeof t["replacer"]==="function"?t["replacer"]:null;this.implicitTypes=this.schema.compiledImplicit;this.explicitTypes=this.schema.compiledExplicit;this.tag=null;this.result="";this.duplicates=[];this.usedDuplicates=null}function indentString(t,r){var i=o.repeat(" ",r),a=0,u=-1,l="",h,p=t.length;while(a<p){u=t.indexOf("\n",a);if(u===-1){h=t.slice(a);a=p}else{h=t.slice(a,u+1);a=u+1}if(h.length&&h!=="\n")l+=i;l+=h}return l}function generateNextLine(t,r){return"\n"+o.repeat(" ",t.indent*r)}function testImplicitResolving(t,r){var i,o,a;for(i=0,o=t.implicitTypes.length;i<o;i+=1){a=t.implicitTypes[i];if(a.resolve(r)){return true}}return false}function isWhitespace(t){return t===y||t===d}function isPrintable(t){return 32<=t&&t<=126||161<=t&&t<=55295&&t!==8232&&t!==8233||57344<=t&&t<=65533&&t!==p||65536<=t&&t<=1114111}function isNsCharOrWhitespace(t){return isPrintable(t)&&t!==p&&t!==g&&t!==m}function isPlainSafe(t,r,i){var o=isNsCharOrWhitespace(t);var a=o&&!isWhitespace(t);return(i?o:o&&t!==D&&t!==P&&t!==L&&t!==M&&t!==N)&&t!==b&&!(r===x&&!a)||isNsCharOrWhitespace(r)&&!isWhitespace(r)&&t===b||r===x&&a}function isPlainSafeFirst(t){return isPrintable(t)&&t!==p&&!isWhitespace(t)&&t!==C&&t!==k&&t!==x&&t!==D&&t!==P&&t!==L&&t!==M&&t!==N&&t!==b&&t!==E&&t!==_&&t!==v&&t!==B&&t!==O&&t!==R&&t!==S&&t!==A&&t!==w&&t!==T&&t!==I}function isPlainSafeLast(t){return!isWhitespace(t)&&t!==x}function codePointAt(t,r){var i=t.charCodeAt(r),o;if(i>=55296&&i<=56319&&r+1<t.length){o=t.charCodeAt(r+1);if(o>=56320&&o<=57343){return(i-55296)*1024+o-56320+65536}}return i}function needIndentIndicator(t){var r=/^\n* /;return r.test(t)}var G=1,Y=2,V=3,z=4,q=5;function chooseScalarStyle(t,r,i,o,a,u,l,h){var p;var d=0;var g=null;var y=false;var v=false;var A=o!==-1;var b=-1;var w=isPlainSafeFirst(codePointAt(t,0))&&isPlainSafeLast(codePointAt(t,t.length-1));if(r||l){for(p=0;p<t.length;d>=65536?p+=2:p++){d=codePointAt(t,p);if(!isPrintable(d)){return q}w=w&&isPlainSafe(d,g,h);g=d}}else{for(p=0;p<t.length;d>=65536?p+=2:p++){d=codePointAt(t,p);if(d===m){y=true;if(A){v=v||p-b-1>o&&t[b+1]!==" ";b=p}}else if(!isPrintable(d)){return q}w=w&&isPlainSafe(d,g,h);g=d}v=v||A&&(p-b-1>o&&t[b+1]!==" ")}if(!y&&!v){if(w&&!l&&!a(t)){return G}return u===U?q:Y}if(i>9&&needIndentIndicator(t)){return q}if(!l){return v?z:V}return u===U?q:Y}function writeScalar(t,r,i,o,u){t.dump=function(){if(r.length===0){return t.quotingType===U?'""':"''"}if(!t.noCompatMode){if(j.indexOf(r)!==-1||W.test(r)){return t.quotingType===U?'"'+r+'"':"'"+r+"'"}}var l=t.indent*Math.max(1,i);var h=t.lineWidth===-1?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-l);var p=o||t.flowLevel>-1&&i>=t.flowLevel;function testAmbiguity(r){return testImplicitResolving(t,r)}switch(chooseScalarStyle(r,p,t.indent,h,testAmbiguity,t.quotingType,t.forceQuotes&&!o,u)){case G:return r;case Y:return"'"+r.replace(/'/g,"''")+"'";case V:return"|"+blockHeader(r,t.indent)+dropEndingNewline(indentString(r,l));case z:return">"+blockHeader(r,t.indent)+dropEndingNewline(indentString(foldString(r,h),l));case q:return'"'+escapeString(r,h)+'"';default:throw new a("impossible error: invalid scalar style")}}()}function blockHeader(t,r){var i=needIndentIndicator(t)?String(r):"";var o=t[t.length-1]==="\n";var a=o&&(t[t.length-2]==="\n"||t==="\n");var u=a?"+":o?"":"-";return i+u+"\n"}function dropEndingNewline(t){return t[t.length-1]==="\n"?t.slice(0,-1):t}function foldString(t,r){var i=/(\n+)([^\n]*)/g;var o=function(){var o=t.indexOf("\n");o=o!==-1?o:t.length;i.lastIndex=o;return foldLine(t.slice(0,o),r)}();var a=t[0]==="\n"||t[0]===" ";var u;var l;while(l=i.exec(t)){var h=l[1],p=l[2];u=p[0]===" ";o+=h+(!a&&!u&&p!==""?"\n":"")+foldLine(p,r);a=u}return o}function foldLine(t,r){if(t===""||t[0]===" ")return t;var i=/ [^ ]/g;var o;var a=0,u,l=0,h=0;var p="";while(o=i.exec(t)){h=o.index;if(h-a>r){u=l>a?l:h;p+="\n"+t.slice(a,u);a=u+1}l=h}p+="\n";if(t.length-a>r&&l>a){p+=t.slice(a,l)+"\n"+t.slice(l+1)}else{p+=t.slice(a)}return p.slice(1)}function escapeString(t){var r="";var i=0;var o;for(var a=0;a<t.length;i>=65536?a+=2:a++){i=codePointAt(t,a);o=$[i];if(!o&&isPrintable(i)){r+=t[a];if(i>=65536)r+=t[a+1]}else{r+=o||encodeHex(i)}}return r}function writeFlowSequence(t,r,i){var o="",a=t.tag,u,l,h;for(u=0,l=i.length;u<l;u+=1){h=i[u];if(t.replacer){h=t.replacer.call(i,String(u),h)}if(writeNode(t,r,h,false,false)||typeof h==="undefined"&&writeNode(t,r,null,false,false)){if(o!=="")o+=","+(!t.condenseFlow?" ":"");o+=t.dump}}t.tag=a;t.dump="["+o+"]"}function writeBlockSequence(t,r,i,o){var a="",u=t.tag,l,h,p;for(l=0,h=i.length;l<h;l+=1){p=i[l];if(t.replacer){p=t.replacer.call(i,String(l),p)}if(writeNode(t,r+1,p,true,true,false,true)||typeof p==="undefined"&&writeNode(t,r+1,null,true,true,false,true)){if(!o||a!==""){a+=generateNextLine(t,r)}if(t.dump&&m===t.dump.charCodeAt(0)){a+="-"}else{a+="- "}a+=t.dump}}t.tag=u;t.dump=a||"[]"}function writeFlowMapping(t,r,i){var o="",a=t.tag,u=Object.keys(i),l,h,p,d,m;for(l=0,h=u.length;l<h;l+=1){m="";if(o!=="")m+=", ";if(t.condenseFlow)m+='"';p=u[l];d=i[p];if(t.replacer){d=t.replacer.call(i,p,d)}if(!writeNode(t,r,p,false,false)){continue}if(t.dump.length>1024)m+="? ";m+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" ");if(!writeNode(t,r,d,false,false)){continue}m+=t.dump;o+=m}t.tag=a;t.dump="{"+o+"}"}function writeBlockMapping(t,r,i,o){var u="",l=t.tag,h=Object.keys(i),p,d,g,y,v,A;if(t.sortKeys===true){h.sort()}else if(typeof t.sortKeys==="function"){h.sort(t.sortKeys)}else if(t.sortKeys){throw new a("sortKeys must be a boolean or a function")}for(p=0,d=h.length;p<d;p+=1){A="";if(!o||u!==""){A+=generateNextLine(t,r)}g=h[p];y=i[g];if(t.replacer){y=t.replacer.call(i,g,y)}if(!writeNode(t,r+1,g,true,true,true)){continue}v=t.tag!==null&&t.tag!=="?"||t.dump&&t.dump.length>1024;if(v){if(t.dump&&m===t.dump.charCodeAt(0)){A+="?"}else{A+="? "}}A+=t.dump;if(v){A+=generateNextLine(t,r)}if(!writeNode(t,r+1,y,true,v)){continue}if(t.dump&&m===t.dump.charCodeAt(0)){A+=":"}else{A+=": "}A+=t.dump;u+=A}t.tag=l;t.dump=u||"{}"}function detectType(t,r,i){var o,u,p,d,m,g;u=i?t.explicitTypes:t.implicitTypes;for(p=0,d=u.length;p<d;p+=1){m=u[p];if((m.instanceOf||m.predicate)&&(!m.instanceOf||typeof r==="object"&&r instanceof m.instanceOf)&&(!m.predicate||m.predicate(r))){if(i){if(m.multi&&m.representName){t.tag=m.representName(r)}else{t.tag=m.tag}}else{t.tag="?"}if(m.represent){g=t.styleMap[m.tag]||m.defaultStyle;if(l.call(m.represent)==="[object Function]"){o=m.represent(r,g)}else if(h.call(m.represent,g)){o=m.represent[g](r,g)}else{throw new a("!<"+m.tag+'> tag resolver accepts not "'+g+'" style')}t.dump=o}return true}}return false}function writeNode(t,r,i,o,u,h,p){t.tag=null;t.dump=i;if(!detectType(t,i,false)){detectType(t,i,true)}var d=l.call(t.dump);var m=o;var g;if(o){o=t.flowLevel<0||t.flowLevel>r}var y=d==="[object Object]"||d==="[object Array]",v,A;if(y){v=t.duplicates.indexOf(i);A=v!==-1}if(t.tag!==null&&t.tag!=="?"||A||t.indent!==2&&r>0){u=false}if(A&&t.usedDuplicates[v]){t.dump="*ref_"+v}else{if(y&&A&&!t.usedDuplicates[v]){t.usedDuplicates[v]=true}if(d==="[object Object]"){if(o&&Object.keys(t.dump).length!==0){writeBlockMapping(t,r,t.dump,u);if(A){t.dump="&ref_"+v+t.dump}}else{writeFlowMapping(t,r,t.dump);if(A){t.dump="&ref_"+v+" "+t.dump}}}else if(d==="[object Array]"){if(o&&t.dump.length!==0){if(t.noArrayIndent&&!p&&r>0){writeBlockSequence(t,r-1,t.dump,u)}else{writeBlockSequence(t,r,t.dump,u)}if(A){t.dump="&ref_"+v+t.dump}}else{writeFlowSequence(t,r,t.dump);if(A){t.dump="&ref_"+v+" "+t.dump}}}else if(d==="[object String]"){if(t.tag!=="?"){writeScalar(t,t.dump,r,h,m)}}else if(d==="[object Undefined]"){return false}else{if(t.skipInvalid)return false;throw new a("unacceptable kind of an object to dump "+d)}if(t.tag!==null&&t.tag!=="?"){g=encodeURI(t.tag[0]==="!"?t.tag.slice(1):t.tag).replace(/!/g,"%21");if(t.tag[0]==="!"){g="!"+g}else if(g.slice(0,18)==="tag:yaml.org,2002:"){g="!!"+g.slice(18)}else{g="!<"+g+">"}t.dump=g+" "+t.dump}}return true}function getDuplicateReferences(t,r){var i=[],o=[],a,u;inspectNode(t,i,o);for(a=0,u=o.length;a<u;a+=1){r.duplicates.push(i[o[a]])}r.usedDuplicates=new Array(u)}function inspectNode(t,r,i){var o,a,u;if(t!==null&&typeof t==="object"){a=r.indexOf(t);if(a!==-1){if(i.indexOf(a)===-1){i.push(a)}}else{r.push(t);if(Array.isArray(t)){for(a=0,u=t.length;a<u;a+=1){inspectNode(t[a],r,i)}}else{o=Object.keys(t);for(a=0,u=o.length;a<u;a+=1){inspectNode(t[o[a]],r,i)}}}}}function dump(t,r){r=r||{};var i=new State(r);if(!i.noRefs)getDuplicateReferences(t,i);var o=t;if(i.replacer){o=i.replacer.call({"":o},"",o)}if(writeNode(i,0,o,true,true))return i.dump+"\n";return""}t.exports.dump=dump},8179:t=>{function formatError(t,r){var i="",o=t.reason||"(unknown reason)";if(!t.mark)return o;if(t.mark.name){i+='in "'+t.mark.name+'" '}i+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")";if(!r&&t.mark.snippet){i+="\n\n"+t.mark.snippet}return o+" "+i}function YAMLException(t,r){Error.call(this);this.name="YAMLException";this.reason=t;this.mark=r;this.message=formatError(this,false);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}else{this.stack=(new Error).stack||""}}YAMLException.prototype=Object.create(Error.prototype);YAMLException.prototype.constructor=YAMLException;YAMLException.prototype.toString=function toString(t){return this.name+": "+formatError(this,t)};t.exports=YAMLException},1161:(t,r,i)=>{var o=i(6829);var a=i(8179);var u=i(6975);var l=i(8759);var h=Object.prototype.hasOwnProperty;var p=1;var d=2;var m=3;var g=4;var y=1;var v=2;var A=3;var b=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;var w=/[\x85\u2028\u2029]/;var E=/[,\[\]\{\}]/;var S=/^(?:!|!!|![a-z\-]+!)$/i;var _=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function _class(t){return Object.prototype.toString.call(t)}function is_EOL(t){return t===10||t===13}function is_WHITE_SPACE(t){return t===9||t===32}function is_WS_OR_EOL(t){return t===9||t===32||t===10||t===13}function is_FLOW_INDICATOR(t){return t===44||t===91||t===93||t===123||t===125}function fromHexCode(t){var r;if(48<=t&&t<=57){return t-48}r=t|32;if(97<=r&&r<=102){return r-97+10}return-1}function escapedHexLen(t){if(t===120){return 2}if(t===117){return 4}if(t===85){return 8}return 0}function fromDecimalCode(t){if(48<=t&&t<=57){return t-48}return-1}function simpleEscapeSequence(t){return t===48?"\0":t===97?"":t===98?"\b":t===116?"\t":t===9?"\t":t===110?"\n":t===118?"\v":t===102?"\f":t===114?"\r":t===101?"":t===32?" ":t===34?'"':t===47?"/":t===92?"\\":t===78?"…":t===95?" ":t===76?"\u2028":t===80?"\u2029":""}function charFromCodepoint(t){if(t<=65535){return String.fromCharCode(t)}return String.fromCharCode((t-65536>>10)+55296,(t-65536&1023)+56320)}var D=new Array(256);var C=new Array(256);for(var x=0;x<256;x++){D[x]=simpleEscapeSequence(x)?1:0;C[x]=simpleEscapeSequence(x)}function State(t,r){this.input=t;this.filename=r["filename"]||null;this.schema=r["schema"]||l;this.onWarning=r["onWarning"]||null;this.legacy=r["legacy"]||false;this.json=r["json"]||false;this.listener=r["listener"]||null;this.implicitTypes=this.schema.compiledImplicit;this.typeMap=this.schema.compiledTypeMap;this.length=t.length;this.position=0;this.line=0;this.lineStart=0;this.lineIndent=0;this.firstTabInLine=-1;this.documents=[]}function generateError(t,r){var i={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};i.snippet=u(i);return new a(r,i)}function throwError(t,r){throw generateError(t,r)}function throwWarning(t,r){if(t.onWarning){t.onWarning.call(null,generateError(t,r))}}var O={YAML:function handleYamlDirective(t,r,i){var o,a,u;if(t.version!==null){throwError(t,"duplication of %YAML directive")}if(i.length!==1){throwError(t,"YAML directive accepts exactly one argument")}o=/^([0-9]+)\.([0-9]+)$/.exec(i[0]);if(o===null){throwError(t,"ill-formed argument of the YAML directive")}a=parseInt(o[1],10);u=parseInt(o[2],10);if(a!==1){throwError(t,"unacceptable YAML version of the document")}t.version=i[0];t.checkLineBreaks=u<2;if(u!==1&&u!==2){throwWarning(t,"unsupported YAML version of the document")}},TAG:function handleTagDirective(t,r,i){var o,a;if(i.length!==2){throwError(t,"TAG directive accepts exactly two arguments")}o=i[0];a=i[1];if(!S.test(o)){throwError(t,"ill-formed tag handle (first argument) of the TAG directive")}if(h.call(t.tagMap,o)){throwError(t,'there is a previously declared suffix for "'+o+'" tag handle')}if(!_.test(a)){throwError(t,"ill-formed tag prefix (second argument) of the TAG directive")}try{a=decodeURIComponent(a)}catch(r){throwError(t,"tag prefix is malformed: "+a)}t.tagMap[o]=a}};function captureSegment(t,r,i,o){var a,u,l,h;if(r<i){h=t.input.slice(r,i);if(o){for(a=0,u=h.length;a<u;a+=1){l=h.charCodeAt(a);if(!(l===9||32<=l&&l<=1114111)){throwError(t,"expected valid JSON character")}}}else if(b.test(h)){throwError(t,"the stream contains non-printable characters")}t.result+=h}}function mergeMappings(t,r,i,a){var u,l,p,d;if(!o.isObject(i)){throwError(t,"cannot merge mappings; the provided source object is unacceptable")}u=Object.keys(i);for(p=0,d=u.length;p<d;p+=1){l=u[p];if(!h.call(r,l)){r[l]=i[l];a[l]=true}}}function storeMappingPair(t,r,i,o,a,u,l,p,d){var m,g;if(Array.isArray(a)){a=Array.prototype.slice.call(a);for(m=0,g=a.length;m<g;m+=1){if(Array.isArray(a[m])){throwError(t,"nested arrays are not supported inside keys")}if(typeof a==="object"&&_class(a[m])==="[object Object]"){a[m]="[object Object]"}}}if(typeof a==="object"&&_class(a)==="[object Object]"){a="[object Object]"}a=String(a);if(r===null){r={}}if(o==="tag:yaml.org,2002:merge"){if(Array.isArray(u)){for(m=0,g=u.length;m<g;m+=1){mergeMappings(t,r,u[m],i)}}else{mergeMappings(t,r,u,i)}}else{if(!t.json&&!h.call(i,a)&&h.call(r,a)){t.line=l||t.line;t.lineStart=p||t.lineStart;t.position=d||t.position;throwError(t,"duplicated mapping key")}if(a==="__proto__"){Object.defineProperty(r,a,{configurable:true,enumerable:true,writable:true,value:u})}else{r[a]=u}delete i[a]}return r}function readLineBreak(t){var r;r=t.input.charCodeAt(t.position);if(r===10){t.position++}else if(r===13){t.position++;if(t.input.charCodeAt(t.position)===10){t.position++}}else{throwError(t,"a line break is expected")}t.line+=1;t.lineStart=t.position;t.firstTabInLine=-1}function skipSeparationSpace(t,r,i){var o=0,a=t.input.charCodeAt(t.position);while(a!==0){while(is_WHITE_SPACE(a)){if(a===9&&t.firstTabInLine===-1){t.firstTabInLine=t.position}a=t.input.charCodeAt(++t.position)}if(r&&a===35){do{a=t.input.charCodeAt(++t.position)}while(a!==10&&a!==13&&a!==0)}if(is_EOL(a)){readLineBreak(t);a=t.input.charCodeAt(t.position);o++;t.lineIndent=0;while(a===32){t.lineIndent++;a=t.input.charCodeAt(++t.position)}}else{break}}if(i!==-1&&o!==0&&t.lineIndent<i){throwWarning(t,"deficient indentation")}return o}function testDocumentSeparator(t){var r=t.position,i;i=t.input.charCodeAt(r);if((i===45||i===46)&&i===t.input.charCodeAt(r+1)&&i===t.input.charCodeAt(r+2)){r+=3;i=t.input.charCodeAt(r);if(i===0||is_WS_OR_EOL(i)){return true}}return false}function writeFoldedLines(t,r){if(r===1){t.result+=" "}else if(r>1){t.result+=o.repeat("\n",r-1)}}function readPlainScalar(t,r,i){var o,a,u,l,h,p,d,m,g=t.kind,y=t.result,v;v=t.input.charCodeAt(t.position);if(is_WS_OR_EOL(v)||is_FLOW_INDICATOR(v)||v===35||v===38||v===42||v===33||v===124||v===62||v===39||v===34||v===37||v===64||v===96){return false}if(v===63||v===45){a=t.input.charCodeAt(t.position+1);if(is_WS_OR_EOL(a)||i&&is_FLOW_INDICATOR(a)){return false}}t.kind="scalar";t.result="";u=l=t.position;h=false;while(v!==0){if(v===58){a=t.input.charCodeAt(t.position+1);if(is_WS_OR_EOL(a)||i&&is_FLOW_INDICATOR(a)){break}}else if(v===35){o=t.input.charCodeAt(t.position-1);if(is_WS_OR_EOL(o)){break}}else if(t.position===t.lineStart&&testDocumentSeparator(t)||i&&is_FLOW_INDICATOR(v)){break}else if(is_EOL(v)){p=t.line;d=t.lineStart;m=t.lineIndent;skipSeparationSpace(t,false,-1);if(t.lineIndent>=r){h=true;v=t.input.charCodeAt(t.position);continue}else{t.position=l;t.line=p;t.lineStart=d;t.lineIndent=m;break}}if(h){captureSegment(t,u,l,false);writeFoldedLines(t,t.line-p);u=l=t.position;h=false}if(!is_WHITE_SPACE(v)){l=t.position+1}v=t.input.charCodeAt(++t.position)}captureSegment(t,u,l,false);if(t.result){return true}t.kind=g;t.result=y;return false}function readSingleQuotedScalar(t,r){var i,o,a;i=t.input.charCodeAt(t.position);if(i!==39){return false}t.kind="scalar";t.result="";t.position++;o=a=t.position;while((i=t.input.charCodeAt(t.position))!==0){if(i===39){captureSegment(t,o,t.position,true);i=t.input.charCodeAt(++t.position);if(i===39){o=t.position;t.position++;a=t.position}else{return true}}else if(is_EOL(i)){captureSegment(t,o,a,true);writeFoldedLines(t,skipSeparationSpace(t,false,r));o=a=t.position}else if(t.position===t.lineStart&&testDocumentSeparator(t)){throwError(t,"unexpected end of the document within a single quoted scalar")}else{t.position++;a=t.position}}throwError(t,"unexpected end of the stream within a single quoted scalar")}function readDoubleQuotedScalar(t,r){var i,o,a,u,l,h;h=t.input.charCodeAt(t.position);if(h!==34){return false}t.kind="scalar";t.result="";t.position++;i=o=t.position;while((h=t.input.charCodeAt(t.position))!==0){if(h===34){captureSegment(t,i,t.position,true);t.position++;return true}else if(h===92){captureSegment(t,i,t.position,true);h=t.input.charCodeAt(++t.position);if(is_EOL(h)){skipSeparationSpace(t,false,r)}else if(h<256&&D[h]){t.result+=C[h];t.position++}else if((l=escapedHexLen(h))>0){a=l;u=0;for(;a>0;a--){h=t.input.charCodeAt(++t.position);if((l=fromHexCode(h))>=0){u=(u<<4)+l}else{throwError(t,"expected hexadecimal character")}}t.result+=charFromCodepoint(u);t.position++}else{throwError(t,"unknown escape sequence")}i=o=t.position}else if(is_EOL(h)){captureSegment(t,i,o,true);writeFoldedLines(t,skipSeparationSpace(t,false,r));i=o=t.position}else if(t.position===t.lineStart&&testDocumentSeparator(t)){throwError(t,"unexpected end of the document within a double quoted scalar")}else{t.position++;o=t.position}}throwError(t,"unexpected end of the stream within a double quoted scalar")}function readFlowCollection(t,r){var i=true,o,a,u,l=t.tag,h,d=t.anchor,m,g,y,v,A,b=Object.create(null),w,E,S,_;_=t.input.charCodeAt(t.position);if(_===91){g=93;A=false;h=[]}else if(_===123){g=125;A=true;h={}}else{return false}if(t.anchor!==null){t.anchorMap[t.anchor]=h}_=t.input.charCodeAt(++t.position);while(_!==0){skipSeparationSpace(t,true,r);_=t.input.charCodeAt(t.position);if(_===g){t.position++;t.tag=l;t.anchor=d;t.kind=A?"mapping":"sequence";t.result=h;return true}else if(!i){throwError(t,"missed comma between flow collection entries")}else if(_===44){throwError(t,"expected the node content, but found ','")}E=w=S=null;y=v=false;if(_===63){m=t.input.charCodeAt(t.position+1);if(is_WS_OR_EOL(m)){y=v=true;t.position++;skipSeparationSpace(t,true,r)}}o=t.line;a=t.lineStart;u=t.position;composeNode(t,r,p,false,true);E=t.tag;w=t.result;skipSeparationSpace(t,true,r);_=t.input.charCodeAt(t.position);if((v||t.line===o)&&_===58){y=true;_=t.input.charCodeAt(++t.position);skipSeparationSpace(t,true,r);composeNode(t,r,p,false,true);S=t.result}if(A){storeMappingPair(t,h,b,E,w,S,o,a,u)}else if(y){h.push(storeMappingPair(t,null,b,E,w,S,o,a,u))}else{h.push(w)}skipSeparationSpace(t,true,r);_=t.input.charCodeAt(t.position);if(_===44){i=true;_=t.input.charCodeAt(++t.position)}else{i=false}}throwError(t,"unexpected end of the stream within a flow collection")}function readBlockScalar(t,r){var i,a,u=y,l=false,h=false,p=r,d=0,m=false,g,b;b=t.input.charCodeAt(t.position);if(b===124){a=false}else if(b===62){a=true}else{return false}t.kind="scalar";t.result="";while(b!==0){b=t.input.charCodeAt(++t.position);if(b===43||b===45){if(y===u){u=b===43?A:v}else{throwError(t,"repeat of a chomping mode identifier")}}else if((g=fromDecimalCode(b))>=0){if(g===0){throwError(t,"bad explicit indentation width of a block scalar; it cannot be less than one")}else if(!h){p=r+g-1;h=true}else{throwError(t,"repeat of an indentation width identifier")}}else{break}}if(is_WHITE_SPACE(b)){do{b=t.input.charCodeAt(++t.position)}while(is_WHITE_SPACE(b));if(b===35){do{b=t.input.charCodeAt(++t.position)}while(!is_EOL(b)&&b!==0)}}while(b!==0){readLineBreak(t);t.lineIndent=0;b=t.input.charCodeAt(t.position);while((!h||t.lineIndent<p)&&b===32){t.lineIndent++;b=t.input.charCodeAt(++t.position)}if(!h&&t.lineIndent>p){p=t.lineIndent}if(is_EOL(b)){d++;continue}if(t.lineIndent<p){if(u===A){t.result+=o.repeat("\n",l?1+d:d)}else if(u===y){if(l){t.result+="\n"}}break}if(a){if(is_WHITE_SPACE(b)){m=true;t.result+=o.repeat("\n",l?1+d:d)}else if(m){m=false;t.result+=o.repeat("\n",d+1)}else if(d===0){if(l){t.result+=" "}}else{t.result+=o.repeat("\n",d)}}else{t.result+=o.repeat("\n",l?1+d:d)}l=true;h=true;d=0;i=t.position;while(!is_EOL(b)&&b!==0){b=t.input.charCodeAt(++t.position)}captureSegment(t,i,t.position,false)}return true}function readBlockSequence(t,r){var i,o=t.tag,a=t.anchor,u=[],l,h=false,p;if(t.firstTabInLine!==-1)return false;if(t.anchor!==null){t.anchorMap[t.anchor]=u}p=t.input.charCodeAt(t.position);while(p!==0){if(t.firstTabInLine!==-1){t.position=t.firstTabInLine;throwError(t,"tab characters must not be used in indentation")}if(p!==45){break}l=t.input.charCodeAt(t.position+1);if(!is_WS_OR_EOL(l)){break}h=true;t.position++;if(skipSeparationSpace(t,true,-1)){if(t.lineIndent<=r){u.push(null);p=t.input.charCodeAt(t.position);continue}}i=t.line;composeNode(t,r,m,false,true);u.push(t.result);skipSeparationSpace(t,true,-1);p=t.input.charCodeAt(t.position);if((t.line===i||t.lineIndent>r)&&p!==0){throwError(t,"bad indentation of a sequence entry")}else if(t.lineIndent<r){break}}if(h){t.tag=o;t.anchor=a;t.kind="sequence";t.result=u;return true}return false}function readBlockMapping(t,r,i){var o,a,u,l,h,p,m=t.tag,y=t.anchor,v={},A=Object.create(null),b=null,w=null,E=null,S=false,_=false,D;if(t.firstTabInLine!==-1)return false;if(t.anchor!==null){t.anchorMap[t.anchor]=v}D=t.input.charCodeAt(t.position);while(D!==0){if(!S&&t.firstTabInLine!==-1){t.position=t.firstTabInLine;throwError(t,"tab characters must not be used in indentation")}o=t.input.charCodeAt(t.position+1);u=t.line;if((D===63||D===58)&&is_WS_OR_EOL(o)){if(D===63){if(S){storeMappingPair(t,v,A,b,w,null,l,h,p);b=w=E=null}_=true;S=true;a=true}else if(S){S=false;a=true}else{throwError(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line")}t.position+=1;D=o}else{l=t.line;h=t.lineStart;p=t.position;if(!composeNode(t,i,d,false,true)){break}if(t.line===u){D=t.input.charCodeAt(t.position);while(is_WHITE_SPACE(D)){D=t.input.charCodeAt(++t.position)}if(D===58){D=t.input.charCodeAt(++t.position);if(!is_WS_OR_EOL(D)){throwError(t,"a whitespace character is expected after the key-value separator within a block mapping")}if(S){storeMappingPair(t,v,A,b,w,null,l,h,p);b=w=E=null}_=true;S=false;a=false;b=t.tag;w=t.result}else if(_){throwError(t,"can not read an implicit mapping pair; a colon is missed")}else{t.tag=m;t.anchor=y;return true}}else if(_){throwError(t,"can not read a block mapping entry; a multiline key may not be an implicit key")}else{t.tag=m;t.anchor=y;return true}}if(t.line===u||t.lineIndent>r){if(S){l=t.line;h=t.lineStart;p=t.position}if(composeNode(t,r,g,true,a)){if(S){w=t.result}else{E=t.result}}if(!S){storeMappingPair(t,v,A,b,w,E,l,h,p);b=w=E=null}skipSeparationSpace(t,true,-1);D=t.input.charCodeAt(t.position)}if((t.line===u||t.lineIndent>r)&&D!==0){throwError(t,"bad indentation of a mapping entry")}else if(t.lineIndent<r){break}}if(S){storeMappingPair(t,v,A,b,w,null,l,h,p)}if(_){t.tag=m;t.anchor=y;t.kind="mapping";t.result=v}return _}function readTagProperty(t){var r,i=false,o=false,a,u,l;l=t.input.charCodeAt(t.position);if(l!==33)return false;if(t.tag!==null){throwError(t,"duplication of a tag property")}l=t.input.charCodeAt(++t.position);if(l===60){i=true;l=t.input.charCodeAt(++t.position)}else if(l===33){o=true;a="!!";l=t.input.charCodeAt(++t.position)}else{a="!"}r=t.position;if(i){do{l=t.input.charCodeAt(++t.position)}while(l!==0&&l!==62);if(t.position<t.length){u=t.input.slice(r,t.position);l=t.input.charCodeAt(++t.position)}else{throwError(t,"unexpected end of the stream within a verbatim tag")}}else{while(l!==0&&!is_WS_OR_EOL(l)){if(l===33){if(!o){a=t.input.slice(r-1,t.position+1);if(!S.test(a)){throwError(t,"named tag handle cannot contain such characters")}o=true;r=t.position+1}else{throwError(t,"tag suffix cannot contain exclamation marks")}}l=t.input.charCodeAt(++t.position)}u=t.input.slice(r,t.position);if(E.test(u)){throwError(t,"tag suffix cannot contain flow indicator characters")}}if(u&&!_.test(u)){throwError(t,"tag name cannot contain such characters: "+u)}try{u=decodeURIComponent(u)}catch(r){throwError(t,"tag name is malformed: "+u)}if(i){t.tag=u}else if(h.call(t.tagMap,a)){t.tag=t.tagMap[a]+u}else if(a==="!"){t.tag="!"+u}else if(a==="!!"){t.tag="tag:yaml.org,2002:"+u}else{throwError(t,'undeclared tag handle "'+a+'"')}return true}function readAnchorProperty(t){var r,i;i=t.input.charCodeAt(t.position);if(i!==38)return false;if(t.anchor!==null){throwError(t,"duplication of an anchor property")}i=t.input.charCodeAt(++t.position);r=t.position;while(i!==0&&!is_WS_OR_EOL(i)&&!is_FLOW_INDICATOR(i)){i=t.input.charCodeAt(++t.position)}if(t.position===r){throwError(t,"name of an anchor node must contain at least one character")}t.anchor=t.input.slice(r,t.position);return true}function readAlias(t){var r,i,o;o=t.input.charCodeAt(t.position);if(o!==42)return false;o=t.input.charCodeAt(++t.position);r=t.position;while(o!==0&&!is_WS_OR_EOL(o)&&!is_FLOW_INDICATOR(o)){o=t.input.charCodeAt(++t.position)}if(t.position===r){throwError(t,"name of an alias node must contain at least one character")}i=t.input.slice(r,t.position);if(!h.call(t.anchorMap,i)){throwError(t,'unidentified alias "'+i+'"')}t.result=t.anchorMap[i];skipSeparationSpace(t,true,-1);return true}function composeNode(t,r,i,o,a){var u,l,y,v=1,A=false,b=false,w,E,S,_,D,C;if(t.listener!==null){t.listener("open",t)}t.tag=null;t.anchor=null;t.kind=null;t.result=null;u=l=y=g===i||m===i;if(o){if(skipSeparationSpace(t,true,-1)){A=true;if(t.lineIndent>r){v=1}else if(t.lineIndent===r){v=0}else if(t.lineIndent<r){v=-1}}}if(v===1){while(readTagProperty(t)||readAnchorProperty(t)){if(skipSeparationSpace(t,true,-1)){A=true;y=u;if(t.lineIndent>r){v=1}else if(t.lineIndent===r){v=0}else if(t.lineIndent<r){v=-1}}else{y=false}}}if(y){y=A||a}if(v===1||g===i){if(p===i||d===i){D=r}else{D=r+1}C=t.position-t.lineStart;if(v===1){if(y&&(readBlockSequence(t,C)||readBlockMapping(t,C,D))||readFlowCollection(t,D)){b=true}else{if(l&&readBlockScalar(t,D)||readSingleQuotedScalar(t,D)||readDoubleQuotedScalar(t,D)){b=true}else if(readAlias(t)){b=true;if(t.tag!==null||t.anchor!==null){throwError(t,"alias node should not have any properties")}}else if(readPlainScalar(t,D,p===i)){b=true;if(t.tag===null){t.tag="?"}}if(t.anchor!==null){t.anchorMap[t.anchor]=t.result}}}else if(v===0){b=y&&readBlockSequence(t,C)}}if(t.tag===null){if(t.anchor!==null){t.anchorMap[t.anchor]=t.result}}else if(t.tag==="?"){if(t.result!==null&&t.kind!=="scalar"){throwError(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"')}for(w=0,E=t.implicitTypes.length;w<E;w+=1){_=t.implicitTypes[w];if(_.resolve(t.result)){t.result=_.construct(t.result);t.tag=_.tag;if(t.anchor!==null){t.anchorMap[t.anchor]=t.result}break}}}else if(t.tag!=="!"){if(h.call(t.typeMap[t.kind||"fallback"],t.tag)){_=t.typeMap[t.kind||"fallback"][t.tag]}else{_=null;S=t.typeMap.multi[t.kind||"fallback"];for(w=0,E=S.length;w<E;w+=1){if(t.tag.slice(0,S[w].tag.length)===S[w].tag){_=S[w];break}}}if(!_){throwError(t,"unknown tag !<"+t.tag+">")}if(t.result!==null&&_.kind!==t.kind){throwError(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+_.kind+'", not "'+t.kind+'"')}if(!_.resolve(t.result,t.tag)){throwError(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}else{t.result=_.construct(t.result,t.tag);if(t.anchor!==null){t.anchorMap[t.anchor]=t.result}}}if(t.listener!==null){t.listener("close",t)}return t.tag!==null||t.anchor!==null||b}function readDocument(t){var r=t.position,i,o,a,u=false,l;t.version=null;t.checkLineBreaks=t.legacy;t.tagMap=Object.create(null);t.anchorMap=Object.create(null);while((l=t.input.charCodeAt(t.position))!==0){skipSeparationSpace(t,true,-1);l=t.input.charCodeAt(t.position);if(t.lineIndent>0||l!==37){break}u=true;l=t.input.charCodeAt(++t.position);i=t.position;while(l!==0&&!is_WS_OR_EOL(l)){l=t.input.charCodeAt(++t.position)}o=t.input.slice(i,t.position);a=[];if(o.length<1){throwError(t,"directive name must not be less than one character in length")}while(l!==0){while(is_WHITE_SPACE(l)){l=t.input.charCodeAt(++t.position)}if(l===35){do{l=t.input.charCodeAt(++t.position)}while(l!==0&&!is_EOL(l));break}if(is_EOL(l))break;i=t.position;while(l!==0&&!is_WS_OR_EOL(l)){l=t.input.charCodeAt(++t.position)}a.push(t.input.slice(i,t.position))}if(l!==0)readLineBreak(t);if(h.call(O,o)){O[o](t,o,a)}else{throwWarning(t,'unknown document directive "'+o+'"')}}skipSeparationSpace(t,true,-1);if(t.lineIndent===0&&t.input.charCodeAt(t.position)===45&&t.input.charCodeAt(t.position+1)===45&&t.input.charCodeAt(t.position+2)===45){t.position+=3;skipSeparationSpace(t,true,-1)}else if(u){throwError(t,"directives end mark is expected")}composeNode(t,t.lineIndent-1,g,false,true);skipSeparationSpace(t,true,-1);if(t.checkLineBreaks&&w.test(t.input.slice(r,t.position))){throwWarning(t,"non-ASCII line breaks are interpreted as content")}t.documents.push(t.result);if(t.position===t.lineStart&&testDocumentSeparator(t)){if(t.input.charCodeAt(t.position)===46){t.position+=3;skipSeparationSpace(t,true,-1)}return}if(t.position<t.length-1){throwError(t,"end of the stream or a document separator is expected")}else{return}}function loadDocuments(t,r){t=String(t);r=r||{};if(t.length!==0){if(t.charCodeAt(t.length-1)!==10&&t.charCodeAt(t.length-1)!==13){t+="\n"}if(t.charCodeAt(0)===65279){t=t.slice(1)}}var i=new State(t,r);var o=t.indexOf("\0");if(o!==-1){i.position=o;throwError(i,"null byte is not allowed in input")}i.input+="\0";while(i.input.charCodeAt(i.position)===32){i.lineIndent+=1;i.position+=1}while(i.position<i.length-1){readDocument(i)}return i.documents}function loadAll(t,r,i){if(r!==null&&typeof r==="object"&&typeof i==="undefined"){i=r;r=null}var o=loadDocuments(t,i);if(typeof r!=="function"){return o}for(var a=0,u=o.length;a<u;a+=1){r(o[a])}}function load(t,r){var i=loadDocuments(t,r);if(i.length===0){return undefined}else if(i.length===1){return i[0]}throw new a("expected a single document in the stream, but found more")}t.exports.loadAll=loadAll;t.exports.load=load},1082:(t,r,i)=>{var o=i(8179);var a=i(6073);function compileList(t,r){var i=[];t[r].forEach((function(t){var r=i.length;i.forEach((function(i,o){if(i.tag===t.tag&&i.kind===t.kind&&i.multi===t.multi){r=o}}));i[r]=t}));return i}function compileMap(){var t={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},r,i;function collectType(r){if(r.multi){t.multi[r.kind].push(r);t.multi["fallback"].push(r)}else{t[r.kind][r.tag]=t["fallback"][r.tag]=r}}for(r=0,i=arguments.length;r<i;r+=1){arguments[r].forEach(collectType)}return t}function Schema(t){return this.extend(t)}Schema.prototype.extend=function extend(t){var r=[];var i=[];if(t instanceof a){i.push(t)}else if(Array.isArray(t)){i=i.concat(t)}else if(t&&(Array.isArray(t.implicit)||Array.isArray(t.explicit))){if(t.implicit)r=r.concat(t.implicit);if(t.explicit)i=i.concat(t.explicit)}else{throw new o("Schema.extend argument should be a Type, [ Type ], "+"or a schema definition ({ implicit: [...], explicit: [...] })")}r.forEach((function(t){if(!(t instanceof a)){throw new o("Specified list of YAML types (or a single Type object) contains a non-Type object.")}if(t.loadKind&&t.loadKind!=="scalar"){throw new o("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")}if(t.multi){throw new o("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}}));i.forEach((function(t){if(!(t instanceof a)){throw new o("Specified list of YAML types (or a single Type object) contains a non-Type object.")}}));var u=Object.create(Schema.prototype);u.implicit=(this.implicit||[]).concat(r);u.explicit=(this.explicit||[]).concat(i);u.compiledImplicit=compileList(u,"implicit");u.compiledExplicit=compileList(u,"explicit");u.compiledTypeMap=compileMap(u.compiledImplicit,u.compiledExplicit);return u};t.exports=Schema},2011:(t,r,i)=>{t.exports=i(1035)},8759:(t,r,i)=>{t.exports=i(2011).extend({implicit:[i(9212),i(6104)],explicit:[i(7900),i(9046),i(6860),i(9548)]})},8562:(t,r,i)=>{var o=i(1082);t.exports=new o({explicit:[i(3619),i(7283),i(6150)]})},1035:(t,r,i)=>{t.exports=i(8562).extend({implicit:[i(721),i(4993),i(1615),i(2705)]})},6975:(t,r,i)=>{var o=i(6829);function getLine(t,r,i,o,a){var u="";var l="";var h=Math.floor(a/2)-1;if(o-r>h){u=" ... ";r=o-h+u.length}if(i-o>h){l=" ...";i=o+h-l.length}return{str:u+t.slice(r,i).replace(/\t/g,"→")+l,pos:o-r+u.length}}function padStart(t,r){return o.repeat(" ",r-t.length)+t}function makeSnippet(t,r){r=Object.create(r||null);if(!t.buffer)return null;if(!r.maxLength)r.maxLength=79;if(typeof r.indent!=="number")r.indent=1;if(typeof r.linesBefore!=="number")r.linesBefore=3;if(typeof r.linesAfter!=="number")r.linesAfter=2;var i=/\r?\n|\r|\0/g;var a=[0];var u=[];var l;var h=-1;while(l=i.exec(t.buffer)){u.push(l.index);a.push(l.index+l[0].length);if(t.position<=l.index&&h<0){h=a.length-2}}if(h<0)h=a.length-1;var p="",d,m;var g=Math.min(t.line+r.linesAfter,u.length).toString().length;var y=r.maxLength-(r.indent+g+3);for(d=1;d<=r.linesBefore;d++){if(h-d<0)break;m=getLine(t.buffer,a[h-d],u[h-d],t.position-(a[h]-a[h-d]),y);p=o.repeat(" ",r.indent)+padStart((t.line-d+1).toString(),g)+" | "+m.str+"\n"+p}m=getLine(t.buffer,a[h],u[h],t.position,y);p+=o.repeat(" ",r.indent)+padStart((t.line+1).toString(),g)+" | "+m.str+"\n";p+=o.repeat("-",r.indent+g+3+m.pos)+"^"+"\n";for(d=1;d<=r.linesAfter;d++){if(h+d>=u.length)break;m=getLine(t.buffer,a[h+d],u[h+d],t.position-(a[h]-a[h+d]),y);p+=o.repeat(" ",r.indent)+padStart((t.line+d+1).toString(),g)+" | "+m.str+"\n"}return p.replace(/\n$/,"")}t.exports=makeSnippet},6073:(t,r,i)=>{var o=i(8179);var a=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"];var u=["scalar","sequence","mapping"];function compileStyleAliases(t){var r={};if(t!==null){Object.keys(t).forEach((function(i){t[i].forEach((function(t){r[String(t)]=i}))}))}return r}function Type(t,r){r=r||{};Object.keys(r).forEach((function(r){if(a.indexOf(r)===-1){throw new o('Unknown option "'+r+'" is met in definition of "'+t+'" YAML type.')}}));this.options=r;this.tag=t;this.kind=r["kind"]||null;this.resolve=r["resolve"]||function(){return true};this.construct=r["construct"]||function(t){return t};this.instanceOf=r["instanceOf"]||null;this.predicate=r["predicate"]||null;this.represent=r["represent"]||null;this.representName=r["representName"]||null;this.defaultStyle=r["defaultStyle"]||null;this.multi=r["multi"]||false;this.styleAliases=compileStyleAliases(r["styleAliases"]||null);if(u.indexOf(this.kind)===-1){throw new o('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')}}t.exports=Type},7900:(t,r,i)=>{var o=i(6073);var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function resolveYamlBinary(t){if(t===null)return false;var r,i,o=0,u=t.length,l=a;for(i=0;i<u;i++){r=l.indexOf(t.charAt(i));if(r>64)continue;if(r<0)return false;o+=6}return o%8===0}function constructYamlBinary(t){var r,i,o=t.replace(/[\r\n=]/g,""),u=o.length,l=a,h=0,p=[];for(r=0;r<u;r++){if(r%4===0&&r){p.push(h>>16&255);p.push(h>>8&255);p.push(h&255)}h=h<<6|l.indexOf(o.charAt(r))}i=u%4*6;if(i===0){p.push(h>>16&255);p.push(h>>8&255);p.push(h&255)}else if(i===18){p.push(h>>10&255);p.push(h>>2&255)}else if(i===12){p.push(h>>4&255)}return new Uint8Array(p)}function representYamlBinary(t){var r="",i=0,o,u,l=t.length,h=a;for(o=0;o<l;o++){if(o%3===0&&o){r+=h[i>>18&63];r+=h[i>>12&63];r+=h[i>>6&63];r+=h[i&63]}i=(i<<8)+t[o]}u=l%3;if(u===0){r+=h[i>>18&63];r+=h[i>>12&63];r+=h[i>>6&63];r+=h[i&63]}else if(u===2){r+=h[i>>10&63];r+=h[i>>4&63];r+=h[i<<2&63];r+=h[64]}else if(u===1){r+=h[i>>2&63];r+=h[i<<4&63];r+=h[64];r+=h[64]}return r}function isBinary(t){return Object.prototype.toString.call(t)==="[object Uint8Array]"}t.exports=new o("tag:yaml.org,2002:binary",{kind:"scalar",resolve:resolveYamlBinary,construct:constructYamlBinary,predicate:isBinary,represent:representYamlBinary})},4993:(t,r,i)=>{var o=i(6073);function resolveYamlBoolean(t){if(t===null)return false;var r=t.length;return r===4&&(t==="true"||t==="True"||t==="TRUE")||r===5&&(t==="false"||t==="False"||t==="FALSE")}function constructYamlBoolean(t){return t==="true"||t==="True"||t==="TRUE"}function isBoolean(t){return Object.prototype.toString.call(t)==="[object Boolean]"}t.exports=new o("tag:yaml.org,2002:bool",{kind:"scalar",resolve:resolveYamlBoolean,construct:constructYamlBoolean,predicate:isBoolean,represent:{lowercase:function(t){return t?"true":"false"},uppercase:function(t){return t?"TRUE":"FALSE"},camelcase:function(t){return t?"True":"False"}},defaultStyle:"lowercase"})},2705:(t,r,i)=>{var o=i(6829);var a=i(6073);var u=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?"+"|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?"+"|[-+]?\\.(?:inf|Inf|INF)"+"|\\.(?:nan|NaN|NAN))$");function resolveYamlFloat(t){if(t===null)return false;if(!u.test(t)||t[t.length-1]==="_"){return false}return true}function constructYamlFloat(t){var r,i;r=t.replace(/_/g,"").toLowerCase();i=r[0]==="-"?-1:1;if("+-".indexOf(r[0])>=0){r=r.slice(1)}if(r===".inf"){return i===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY}else if(r===".nan"){return NaN}return i*parseFloat(r,10)}var l=/^[-+]?[0-9]+e/;function representYamlFloat(t,r){var i;if(isNaN(t)){switch(r){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}}else if(Number.POSITIVE_INFINITY===t){switch(r){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}}else if(Number.NEGATIVE_INFINITY===t){switch(r){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}}else if(o.isNegativeZero(t)){return"-0.0"}i=t.toString(10);return l.test(i)?i.replace("e",".e"):i}function isFloat(t){return Object.prototype.toString.call(t)==="[object Number]"&&(t%1!==0||o.isNegativeZero(t))}t.exports=new a("tag:yaml.org,2002:float",{kind:"scalar",resolve:resolveYamlFloat,construct:constructYamlFloat,predicate:isFloat,represent:representYamlFloat,defaultStyle:"lowercase"})},1615:(t,r,i)=>{var o=i(6829);var a=i(6073);function isHexCode(t){return 48<=t&&t<=57||65<=t&&t<=70||97<=t&&t<=102}function isOctCode(t){return 48<=t&&t<=55}function isDecCode(t){return 48<=t&&t<=57}function resolveYamlInteger(t){if(t===null)return false;var r=t.length,i=0,o=false,a;if(!r)return false;a=t[i];if(a==="-"||a==="+"){a=t[++i]}if(a==="0"){if(i+1===r)return true;a=t[++i];if(a==="b"){i++;for(;i<r;i++){a=t[i];if(a==="_")continue;if(a!=="0"&&a!=="1")return false;o=true}return o&&a!=="_"}if(a==="x"){i++;for(;i<r;i++){a=t[i];if(a==="_")continue;if(!isHexCode(t.charCodeAt(i)))return false;o=true}return o&&a!=="_"}if(a==="o"){i++;for(;i<r;i++){a=t[i];if(a==="_")continue;if(!isOctCode(t.charCodeAt(i)))return false;o=true}return o&&a!=="_"}}if(a==="_")return false;for(;i<r;i++){a=t[i];if(a==="_")continue;if(!isDecCode(t.charCodeAt(i))){return false}o=true}if(!o||a==="_")return false;return true}function constructYamlInteger(t){var r=t,i=1,o;if(r.indexOf("_")!==-1){r=r.replace(/_/g,"")}o=r[0];if(o==="-"||o==="+"){if(o==="-")i=-1;r=r.slice(1);o=r[0]}if(r==="0")return 0;if(o==="0"){if(r[1]==="b")return i*parseInt(r.slice(2),2);if(r[1]==="x")return i*parseInt(r.slice(2),16);if(r[1]==="o")return i*parseInt(r.slice(2),8)}return i*parseInt(r,10)}function isInteger(t){return Object.prototype.toString.call(t)==="[object Number]"&&(t%1===0&&!o.isNegativeZero(t))}t.exports=new a("tag:yaml.org,2002:int",{kind:"scalar",resolve:resolveYamlInteger,construct:constructYamlInteger,predicate:isInteger,represent:{binary:function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},octal:function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},decimal:function(t){return t.toString(10)},hexadecimal:function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},6150:(t,r,i)=>{var o=i(6073);t.exports=new o("tag:yaml.org,2002:map",{kind:"mapping",construct:function(t){return t!==null?t:{}}})},6104:(t,r,i)=>{var o=i(6073);function resolveYamlMerge(t){return t==="<<"||t===null}t.exports=new o("tag:yaml.org,2002:merge",{kind:"scalar",resolve:resolveYamlMerge})},721:(t,r,i)=>{var o=i(6073);function resolveYamlNull(t){if(t===null)return true;var r=t.length;return r===1&&t==="~"||r===4&&(t==="null"||t==="Null"||t==="NULL")}function constructYamlNull(){return null}function isNull(t){return t===null}t.exports=new o("tag:yaml.org,2002:null",{kind:"scalar",resolve:resolveYamlNull,construct:constructYamlNull,predicate:isNull,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"})},9046:(t,r,i)=>{var o=i(6073);var a=Object.prototype.hasOwnProperty;var u=Object.prototype.toString;function resolveYamlOmap(t){if(t===null)return true;var r=[],i,o,l,h,p,d=t;for(i=0,o=d.length;i<o;i+=1){l=d[i];p=false;if(u.call(l)!=="[object Object]")return false;for(h in l){if(a.call(l,h)){if(!p)p=true;else return false}}if(!p)return false;if(r.indexOf(h)===-1)r.push(h);else return false}return true}function constructYamlOmap(t){return t!==null?t:[]}t.exports=new o("tag:yaml.org,2002:omap",{kind:"sequence",resolve:resolveYamlOmap,construct:constructYamlOmap})},6860:(t,r,i)=>{var o=i(6073);var a=Object.prototype.toString;function resolveYamlPairs(t){if(t===null)return true;var r,i,o,u,l,h=t;l=new Array(h.length);for(r=0,i=h.length;r<i;r+=1){o=h[r];if(a.call(o)!=="[object Object]")return false;u=Object.keys(o);if(u.length!==1)return false;l[r]=[u[0],o[u[0]]]}return true}function constructYamlPairs(t){if(t===null)return[];var r,i,o,a,u,l=t;u=new Array(l.length);for(r=0,i=l.length;r<i;r+=1){o=l[r];a=Object.keys(o);u[r]=[a[0],o[a[0]]]}return u}t.exports=new o("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:resolveYamlPairs,construct:constructYamlPairs})},7283:(t,r,i)=>{var o=i(6073);t.exports=new o("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(t){return t!==null?t:[]}})},9548:(t,r,i)=>{var o=i(6073);var a=Object.prototype.hasOwnProperty;function resolveYamlSet(t){if(t===null)return true;var r,i=t;for(r in i){if(a.call(i,r)){if(i[r]!==null)return false}}return true}function constructYamlSet(t){return t!==null?t:{}}t.exports=new o("tag:yaml.org,2002:set",{kind:"mapping",resolve:resolveYamlSet,construct:constructYamlSet})},3619:(t,r,i)=>{var o=i(6073);t.exports=new o("tag:yaml.org,2002:str",{kind:"scalar",construct:function(t){return t!==null?t:""}})},9212:(t,r,i)=>{var o=i(6073);var a=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9])"+"-([0-9][0-9])$");var u=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9]?)"+"-([0-9][0-9]?)"+"(?:[Tt]|[ \\t]+)"+"([0-9][0-9]?)"+":([0-9][0-9])"+":([0-9][0-9])"+"(?:\\.([0-9]*))?"+"(?:[ \\t]*(Z|([-+])([0-9][0-9]?)"+"(?::([0-9][0-9]))?))?$");function resolveYamlTimestamp(t){if(t===null)return false;if(a.exec(t)!==null)return true;if(u.exec(t)!==null)return true;return false}function constructYamlTimestamp(t){var r,i,o,l,h,p,d,m=0,g=null,y,v,A;r=a.exec(t);if(r===null)r=u.exec(t);if(r===null)throw new Error("Date resolve error");i=+r[1];o=+r[2]-1;l=+r[3];if(!r[4]){return new Date(Date.UTC(i,o,l))}h=+r[4];p=+r[5];d=+r[6];if(r[7]){m=r[7].slice(0,3);while(m.length<3){m+="0"}m=+m}if(r[9]){y=+r[10];v=+(r[11]||0);g=(y*60+v)*6e4;if(r[9]==="-")g=-g}A=new Date(Date.UTC(i,o,l,h,p,d,m));if(g)A.setTime(A.getTime()-g);return A}function representYamlTimestamp(t){return t.toISOString()}t.exports=new o("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:resolveYamlTimestamp,construct:constructYamlTimestamp,instanceOf:Date,represent:representYamlTimestamp})},6228:(t,r,i)=>{const o=i(3837);const a=i(610);const u=i(8569);const l=i(479);const isEmptyString=t=>t===""||t==="./";const micromatch=(t,r,i)=>{r=[].concat(r);t=[].concat(t);let o=new Set;let a=new Set;let l=new Set;let h=0;let onResult=t=>{l.add(t.output);if(i&&i.onResult){i.onResult(t)}};for(let l=0;l<r.length;l++){let p=u(String(r[l]),{...i,onResult:onResult},true);let d=p.state.negated||p.state.negatedExtglob;if(d)h++;for(let r of t){let t=p(r,true);let i=d?!t.isMatch:t.isMatch;if(!i)continue;if(d){o.add(t.output)}else{o.delete(t.output);a.add(t.output)}}}let p=h===r.length?[...l]:[...a];let d=p.filter((t=>!o.has(t)));if(i&&d.length===0){if(i.failglob===true){throw new Error(`No matches found for "${r.join(", ")}"`)}if(i.nonull===true||i.nullglob===true){return i.unescape?r.map((t=>t.replace(/\\/g,""))):r}}return d};micromatch.match=micromatch;micromatch.matcher=(t,r)=>u(t,r);micromatch.isMatch=(t,r,i)=>u(r,i)(t);micromatch.any=micromatch.isMatch;micromatch.not=(t,r,i={})=>{r=[].concat(r).map(String);let o=new Set;let a=[];let onResult=t=>{if(i.onResult)i.onResult(t);a.push(t.output)};let u=new Set(micromatch(t,r,{...i,onResult:onResult}));for(let t of a){if(!u.has(t)){o.add(t)}}return[...o]};micromatch.contains=(t,r,i)=>{if(typeof t!=="string"){throw new TypeError(`Expected a string: "${o.inspect(t)}"`)}if(Array.isArray(r)){return r.some((r=>micromatch.contains(t,r,i)))}if(typeof r==="string"){if(isEmptyString(t)||isEmptyString(r)){return false}if(t.includes(r)||t.startsWith("./")&&t.slice(2).includes(r)){return true}}return micromatch.isMatch(t,r,{...i,contains:true})};micromatch.matchKeys=(t,r,i)=>{if(!l.isObject(t)){throw new TypeError("Expected the first argument to be an object")}let o=micromatch(Object.keys(t),r,i);let a={};for(let r of o)a[r]=t[r];return a};micromatch.some=(t,r,i)=>{let o=[].concat(t);for(let t of[].concat(r)){let r=u(String(t),i);if(o.some((t=>r(t)))){return true}}return false};micromatch.every=(t,r,i)=>{let o=[].concat(t);for(let t of[].concat(r)){let r=u(String(t),i);if(!o.every((t=>r(t)))){return false}}return true};micromatch.all=(t,r,i)=>{if(typeof t!=="string"){throw new TypeError(`Expected a string: "${o.inspect(t)}"`)}return[].concat(r).every((r=>u(r,i)(t)))};micromatch.capture=(t,r,i)=>{let o=l.isWindows(i);let a=u.makeRe(String(t),{...i,capture:true});let h=a.exec(o?l.toPosixSlashes(r):r);if(h){return h.slice(1).map((t=>t===void 0?"":t))}};micromatch.makeRe=(...t)=>u.makeRe(...t);micromatch.scan=(...t)=>u.scan(...t);micromatch.parse=(t,r)=>{let i=[];for(let o of[].concat(t||[])){for(let t of a(String(o),r)){i.push(u.parse(t,r))}}return i};micromatch.braces=(t,r)=>{if(typeof t!=="string")throw new TypeError("Expected a string");if(r&&r.nobrace===true||!/\{.*\}/.test(t)){return[t]}return a(t,r)};micromatch.braceExpand=(t,r)=>{if(typeof t!=="string")throw new TypeError("Expected a string");return micromatch.braces(t,{...r,expand:true})};t.exports=micromatch},8569:(t,r,i)=>{t.exports=i(3322)},6099:(t,r,i)=>{const o=i(1017);const a="\\\\/";const u=`[^${a}]`;const l="\\.";const h="\\+";const p="\\?";const d="\\/";const m="(?=.)";const g="[^/]";const y=`(?:${d}|$)`;const v=`(?:^|${d})`;const A=`${l}{1,2}${y}`;const b=`(?!${l})`;const w=`(?!${v}${A})`;const E=`(?!${l}{0,1}${y})`;const S=`(?!${A})`;const _=`[^.${d}]`;const D=`${g}*?`;const C={DOT_LITERAL:l,PLUS_LITERAL:h,QMARK_LITERAL:p,SLASH_LITERAL:d,ONE_CHAR:m,QMARK:g,END_ANCHOR:y,DOTS_SLASH:A,NO_DOT:b,NO_DOTS:w,NO_DOT_SLASH:E,NO_DOTS_SLASH:S,QMARK_NO_DOT:_,STAR:D,START_ANCHOR:v};const x={...C,SLASH_LITERAL:`[${a}]`,QMARK:u,STAR:`${u}*?`,DOTS_SLASH:`${l}{1,2}(?:[${a}]|$)`,NO_DOT:`(?!${l})`,NO_DOTS:`(?!(?:^|[${a}])${l}{1,2}(?:[${a}]|$))`,NO_DOT_SLASH:`(?!${l}{0,1}(?:[${a}]|$))`,NO_DOTS_SLASH:`(?!${l}{1,2}(?:[${a}]|$))`,QMARK_NO_DOT:`[^.${a}]`,START_ANCHOR:`(?:^|[${a}])`,END_ANCHOR:`(?:[${a}]|$)`};const O={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};t.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:O,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:o.sep,extglobChars(t){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${t.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(t){return t===true?x:C}}},2139:(t,r,i)=>{const o=i(6099);const a=i(479);const{MAX_LENGTH:u,POSIX_REGEX_SOURCE:l,REGEX_NON_SPECIAL_CHARS:h,REGEX_SPECIAL_CHARS_BACKREF:p,REPLACEMENTS:d}=o;const expandRange=(t,r)=>{if(typeof r.expandRange==="function"){return r.expandRange(...t,r)}t.sort();const i=`[${t.join("-")}]`;try{new RegExp(i)}catch(r){return t.map((t=>a.escapeRegex(t))).join("..")}return i};const syntaxError=(t,r)=>`Missing ${t}: "${r}" - use "\\\\${r}" to match literal characters`;const parse=(t,r)=>{if(typeof t!=="string"){throw new TypeError("Expected a string")}t=d[t]||t;const i={...r};const m=typeof i.maxLength==="number"?Math.min(u,i.maxLength):u;let g=t.length;if(g>m){throw new SyntaxError(`Input length: ${g}, exceeds maximum allowed length: ${m}`)}const y={type:"bos",value:"",output:i.prepend||""};const v=[y];const A=i.capture?"":"?:";const b=a.isWindows(r);const w=o.globChars(b);const E=o.extglobChars(w);const{DOT_LITERAL:S,PLUS_LITERAL:_,SLASH_LITERAL:D,ONE_CHAR:C,DOTS_SLASH:x,NO_DOT:O,NO_DOT_SLASH:R,NO_DOTS_SLASH:k,QMARK:T,QMARK_NO_DOT:P,STAR:L,START_ANCHOR:I}=w;const globstar=t=>`(${A}(?:(?!${I}${t.dot?x:S}).)*?)`;const M=i.dot?"":O;const B=i.dot?T:P;let N=i.bash===true?globstar(i):L;if(i.capture){N=`(${N})`}if(typeof i.noext==="boolean"){i.noextglob=i.noext}const $={input:t,index:-1,start:0,dot:i.dot===true,consumed:"",output:"",prefix:"",backtrack:false,negated:false,brackets:0,braces:0,parens:0,quotes:0,globstar:false,tokens:v};t=a.removePrefix(t,$);g=t.length;const j=[];const W=[];const H=[];let U=y;let G;const eos=()=>$.index===g-1;const Y=$.peek=(r=1)=>t[$.index+r];const V=$.advance=()=>t[++$.index]||"";const remaining=()=>t.slice($.index+1);const consume=(t="",r=0)=>{$.consumed+=t;$.index+=r};const append=t=>{$.output+=t.output!=null?t.output:t.value;consume(t.value)};const negate=()=>{let t=1;while(Y()==="!"&&(Y(2)!=="("||Y(3)==="?")){V();$.start++;t++}if(t%2===0){return false}$.negated=true;$.start++;return true};const increment=t=>{$[t]++;H.push(t)};const decrement=t=>{$[t]--;H.pop()};const push=t=>{if(U.type==="globstar"){const r=$.braces>0&&(t.type==="comma"||t.type==="brace");const i=t.extglob===true||j.length&&(t.type==="pipe"||t.type==="paren");if(t.type!=="slash"&&t.type!=="paren"&&!r&&!i){$.output=$.output.slice(0,-U.output.length);U.type="star";U.value="*";U.output=N;$.output+=U.output}}if(j.length&&t.type!=="paren"){j[j.length-1].inner+=t.value}if(t.value||t.output)append(t);if(U&&U.type==="text"&&t.type==="text"){U.value+=t.value;U.output=(U.output||"")+t.value;return}t.prev=U;v.push(t);U=t};const extglobOpen=(t,r)=>{const o={...E[r],conditions:1,inner:""};o.prev=U;o.parens=$.parens;o.output=$.output;const a=(i.capture?"(":"")+o.open;increment("parens");push({type:t,value:r,output:$.output?"":C});push({type:"paren",extglob:true,value:V(),output:a});j.push(o)};const extglobClose=t=>{let o=t.close+(i.capture?")":"");let a;if(t.type==="negate"){let u=N;if(t.inner&&t.inner.length>1&&t.inner.includes("/")){u=globstar(i)}if(u!==N||eos()||/^\)+$/.test(remaining())){o=t.close=`)$))${u}`}if(t.inner.includes("*")&&(a=remaining())&&/^\.[^\\/.]+$/.test(a)){const i=parse(a,{...r,fastpaths:false}).output;o=t.close=`)${i})${u})`}if(t.prev.type==="bos"){$.negatedExtglob=true}}push({type:"paren",extglob:true,value:G,output:o});decrement("parens")};if(i.fastpaths!==false&&!/(^[*!]|[/()[\]{}"])/.test(t)){let o=false;let u=t.replace(p,((t,r,i,a,u,l)=>{if(a==="\\"){o=true;return t}if(a==="?"){if(r){return r+a+(u?T.repeat(u.length):"")}if(l===0){return B+(u?T.repeat(u.length):"")}return T.repeat(i.length)}if(a==="."){return S.repeat(i.length)}if(a==="*"){if(r){return r+a+(u?N:"")}return N}return r?t:`\\${t}`}));if(o===true){if(i.unescape===true){u=u.replace(/\\/g,"")}else{u=u.replace(/\\+/g,(t=>t.length%2===0?"\\\\":t?"\\":""))}}if(u===t&&i.contains===true){$.output=t;return $}$.output=a.wrapOutput(u,$,r);return $}while(!eos()){G=V();if(G==="\0"){continue}if(G==="\\"){const t=Y();if(t==="/"&&i.bash!==true){continue}if(t==="."||t===";"){continue}if(!t){G+="\\";push({type:"text",value:G});continue}const r=/^\\+/.exec(remaining());let o=0;if(r&&r[0].length>2){o=r[0].length;$.index+=o;if(o%2!==0){G+="\\"}}if(i.unescape===true){G=V()}else{G+=V()}if($.brackets===0){push({type:"text",value:G});continue}}if($.brackets>0&&(G!=="]"||U.value==="["||U.value==="[^")){if(i.posix!==false&&G===":"){const t=U.value.slice(1);if(t.includes("[")){U.posix=true;if(t.includes(":")){const t=U.value.lastIndexOf("[");const r=U.value.slice(0,t);const i=U.value.slice(t+2);const o=l[i];if(o){U.value=r+o;$.backtrack=true;V();if(!y.output&&v.indexOf(U)===1){y.output=C}continue}}}}if(G==="["&&Y()!==":"||G==="-"&&Y()==="]"){G=`\\${G}`}if(G==="]"&&(U.value==="["||U.value==="[^")){G=`\\${G}`}if(i.posix===true&&G==="!"&&U.value==="["){G="^"}U.value+=G;append({value:G});continue}if($.quotes===1&&G!=='"'){G=a.escapeRegex(G);U.value+=G;append({value:G});continue}if(G==='"'){$.quotes=$.quotes===1?0:1;if(i.keepQuotes===true){push({type:"text",value:G})}continue}if(G==="("){increment("parens");push({type:"paren",value:G});continue}if(G===")"){if($.parens===0&&i.strictBrackets===true){throw new SyntaxError(syntaxError("opening","("))}const t=j[j.length-1];if(t&&$.parens===t.parens+1){extglobClose(j.pop());continue}push({type:"paren",value:G,output:$.parens?")":"\\)"});decrement("parens");continue}if(G==="["){if(i.nobracket===true||!remaining().includes("]")){if(i.nobracket!==true&&i.strictBrackets===true){throw new SyntaxError(syntaxError("closing","]"))}G=`\\${G}`}else{increment("brackets")}push({type:"bracket",value:G});continue}if(G==="]"){if(i.nobracket===true||U&&U.type==="bracket"&&U.value.length===1){push({type:"text",value:G,output:`\\${G}`});continue}if($.brackets===0){if(i.strictBrackets===true){throw new SyntaxError(syntaxError("opening","["))}push({type:"text",value:G,output:`\\${G}`});continue}decrement("brackets");const t=U.value.slice(1);if(U.posix!==true&&t[0]==="^"&&!t.includes("/")){G=`/${G}`}U.value+=G;append({value:G});if(i.literalBrackets===false||a.hasRegexChars(t)){continue}const r=a.escapeRegex(U.value);$.output=$.output.slice(0,-U.value.length);if(i.literalBrackets===true){$.output+=r;U.value=r;continue}U.value=`(${A}${r}|${U.value})`;$.output+=U.value;continue}if(G==="{"&&i.nobrace!==true){increment("braces");const t={type:"brace",value:G,output:"(",outputIndex:$.output.length,tokensIndex:$.tokens.length};W.push(t);push(t);continue}if(G==="}"){const t=W[W.length-1];if(i.nobrace===true||!t){push({type:"text",value:G,output:G});continue}let r=")";if(t.dots===true){const t=v.slice();const o=[];for(let r=t.length-1;r>=0;r--){v.pop();if(t[r].type==="brace"){break}if(t[r].type!=="dots"){o.unshift(t[r].value)}}r=expandRange(o,i);$.backtrack=true}if(t.comma!==true&&t.dots!==true){const i=$.output.slice(0,t.outputIndex);const o=$.tokens.slice(t.tokensIndex);t.value=t.output="\\{";G=r="\\}";$.output=i;for(const t of o){$.output+=t.output||t.value}}push({type:"brace",value:G,output:r});decrement("braces");W.pop();continue}if(G==="|"){if(j.length>0){j[j.length-1].conditions++}push({type:"text",value:G});continue}if(G===","){let t=G;const r=W[W.length-1];if(r&&H[H.length-1]==="braces"){r.comma=true;t="|"}push({type:"comma",value:G,output:t});continue}if(G==="/"){if(U.type==="dot"&&$.index===$.start+1){$.start=$.index+1;$.consumed="";$.output="";v.pop();U=y;continue}push({type:"slash",value:G,output:D});continue}if(G==="."){if($.braces>0&&U.type==="dot"){if(U.value===".")U.output=S;const t=W[W.length-1];U.type="dots";U.output+=G;U.value+=G;t.dots=true;continue}if($.braces+$.parens===0&&U.type!=="bos"&&U.type!=="slash"){push({type:"text",value:G,output:S});continue}push({type:"dot",value:G,output:S});continue}if(G==="?"){const t=U&&U.value==="(";if(!t&&i.noextglob!==true&&Y()==="("&&Y(2)!=="?"){extglobOpen("qmark",G);continue}if(U&&U.type==="paren"){const t=Y();let r=G;if(t==="<"&&!a.supportsLookbehinds()){throw new Error("Node.js v10 or higher is required for regex lookbehinds")}if(U.value==="("&&!/[!=<:]/.test(t)||t==="<"&&!/<([!=]|\w+>)/.test(remaining())){r=`\\${G}`}push({type:"text",value:G,output:r});continue}if(i.dot!==true&&(U.type==="slash"||U.type==="bos")){push({type:"qmark",value:G,output:P});continue}push({type:"qmark",value:G,output:T});continue}if(G==="!"){if(i.noextglob!==true&&Y()==="("){if(Y(2)!=="?"||!/[!=<:]/.test(Y(3))){extglobOpen("negate",G);continue}}if(i.nonegate!==true&&$.index===0){negate();continue}}if(G==="+"){if(i.noextglob!==true&&Y()==="("&&Y(2)!=="?"){extglobOpen("plus",G);continue}if(U&&U.value==="("||i.regex===false){push({type:"plus",value:G,output:_});continue}if(U&&(U.type==="bracket"||U.type==="paren"||U.type==="brace")||$.parens>0){push({type:"plus",value:G});continue}push({type:"plus",value:_});continue}if(G==="@"){if(i.noextglob!==true&&Y()==="("&&Y(2)!=="?"){push({type:"at",extglob:true,value:G,output:""});continue}push({type:"text",value:G});continue}if(G!=="*"){if(G==="$"||G==="^"){G=`\\${G}`}const t=h.exec(remaining());if(t){G+=t[0];$.index+=t[0].length}push({type:"text",value:G});continue}if(U&&(U.type==="globstar"||U.star===true)){U.type="star";U.star=true;U.value+=G;U.output=N;$.backtrack=true;$.globstar=true;consume(G);continue}let r=remaining();if(i.noextglob!==true&&/^\([^?]/.test(r)){extglobOpen("star",G);continue}if(U.type==="star"){if(i.noglobstar===true){consume(G);continue}const o=U.prev;const a=o.prev;const u=o.type==="slash"||o.type==="bos";const l=a&&(a.type==="star"||a.type==="globstar");if(i.bash===true&&(!u||r[0]&&r[0]!=="/")){push({type:"star",value:G,output:""});continue}const h=$.braces>0&&(o.type==="comma"||o.type==="brace");const p=j.length&&(o.type==="pipe"||o.type==="paren");if(!u&&o.type!=="paren"&&!h&&!p){push({type:"star",value:G,output:""});continue}while(r.slice(0,3)==="/**"){const i=t[$.index+4];if(i&&i!=="/"){break}r=r.slice(3);consume("/**",3)}if(o.type==="bos"&&eos()){U.type="globstar";U.value+=G;U.output=globstar(i);$.output=U.output;$.globstar=true;consume(G);continue}if(o.type==="slash"&&o.prev.type!=="bos"&&!l&&eos()){$.output=$.output.slice(0,-(o.output+U.output).length);o.output=`(?:${o.output}`;U.type="globstar";U.output=globstar(i)+(i.strictSlashes?")":"|$)");U.value+=G;$.globstar=true;$.output+=o.output+U.output;consume(G);continue}if(o.type==="slash"&&o.prev.type!=="bos"&&r[0]==="/"){const t=r[1]!==void 0?"|$":"";$.output=$.output.slice(0,-(o.output+U.output).length);o.output=`(?:${o.output}`;U.type="globstar";U.output=`${globstar(i)}${D}|${D}${t})`;U.value+=G;$.output+=o.output+U.output;$.globstar=true;consume(G+V());push({type:"slash",value:"/",output:""});continue}if(o.type==="bos"&&r[0]==="/"){U.type="globstar";U.value+=G;U.output=`(?:^|${D}|${globstar(i)}${D})`;$.output=U.output;$.globstar=true;consume(G+V());push({type:"slash",value:"/",output:""});continue}$.output=$.output.slice(0,-U.output.length);U.type="globstar";U.output=globstar(i);U.value+=G;$.output+=U.output;$.globstar=true;consume(G);continue}const o={type:"star",value:G,output:N};if(i.bash===true){o.output=".*?";if(U.type==="bos"||U.type==="slash"){o.output=M+o.output}push(o);continue}if(U&&(U.type==="bracket"||U.type==="paren")&&i.regex===true){o.output=G;push(o);continue}if($.index===$.start||U.type==="slash"||U.type==="dot"){if(U.type==="dot"){$.output+=R;U.output+=R}else if(i.dot===true){$.output+=k;U.output+=k}else{$.output+=M;U.output+=M}if(Y()!=="*"){$.output+=C;U.output+=C}}push(o)}while($.brackets>0){if(i.strictBrackets===true)throw new SyntaxError(syntaxError("closing","]"));$.output=a.escapeLast($.output,"[");decrement("brackets")}while($.parens>0){if(i.strictBrackets===true)throw new SyntaxError(syntaxError("closing",")"));$.output=a.escapeLast($.output,"(");decrement("parens")}while($.braces>0){if(i.strictBrackets===true)throw new SyntaxError(syntaxError("closing","}"));$.output=a.escapeLast($.output,"{");decrement("braces")}if(i.strictSlashes!==true&&(U.type==="star"||U.type==="bracket")){push({type:"maybe_slash",value:"",output:`${D}?`})}if($.backtrack===true){$.output="";for(const t of $.tokens){$.output+=t.output!=null?t.output:t.value;if(t.suffix){$.output+=t.suffix}}}return $};parse.fastpaths=(t,r)=>{const i={...r};const l=typeof i.maxLength==="number"?Math.min(u,i.maxLength):u;const h=t.length;if(h>l){throw new SyntaxError(`Input length: ${h}, exceeds maximum allowed length: ${l}`)}t=d[t]||t;const p=a.isWindows(r);const{DOT_LITERAL:m,SLASH_LITERAL:g,ONE_CHAR:y,DOTS_SLASH:v,NO_DOT:A,NO_DOTS:b,NO_DOTS_SLASH:w,STAR:E,START_ANCHOR:S}=o.globChars(p);const _=i.dot?b:A;const D=i.dot?w:A;const C=i.capture?"":"?:";const x={negated:false,prefix:""};let O=i.bash===true?".*?":E;if(i.capture){O=`(${O})`}const globstar=t=>{if(t.noglobstar===true)return O;return`(${C}(?:(?!${S}${t.dot?v:m}).)*?)`};const create=t=>{switch(t){case"*":return`${_}${y}${O}`;case".*":return`${m}${y}${O}`;case"*.*":return`${_}${O}${m}${y}${O}`;case"*/*":return`${_}${O}${g}${y}${D}${O}`;case"**":return _+globstar(i);case"**/*":return`(?:${_}${globstar(i)}${g})?${D}${y}${O}`;case"**/*.*":return`(?:${_}${globstar(i)}${g})?${D}${O}${m}${y}${O}`;case"**/.*":return`(?:${_}${globstar(i)}${g})?${m}${y}${O}`;default:{const r=/^(.*?)\.(\w+)$/.exec(t);if(!r)return;const i=create(r[1]);if(!i)return;return i+m+r[2]}}};const R=a.removePrefix(t,x);let k=create(R);if(k&&i.strictSlashes!==true){k+=`${g}?`}return k};t.exports=parse},3322:(t,r,i)=>{const o=i(1017);const a=i(2429);const u=i(2139);const l=i(479);const h=i(6099);const isObject=t=>t&&typeof t==="object"&&!Array.isArray(t);const picomatch=(t,r,i=false)=>{if(Array.isArray(t)){const o=t.map((t=>picomatch(t,r,i)));const arrayMatcher=t=>{for(const r of o){const i=r(t);if(i)return i}return false};return arrayMatcher}const o=isObject(t)&&t.tokens&&t.input;if(t===""||typeof t!=="string"&&!o){throw new TypeError("Expected pattern to be a non-empty string")}const a=r||{};const u=l.isWindows(r);const h=o?picomatch.compileRe(t,r):picomatch.makeRe(t,r,false,true);const p=h.state;delete h.state;let isIgnored=()=>false;if(a.ignore){const t={...r,ignore:null,onMatch:null,onResult:null};isIgnored=picomatch(a.ignore,t,i)}const matcher=(i,o=false)=>{const{isMatch:l,match:d,output:m}=picomatch.test(i,h,r,{glob:t,posix:u});const g={glob:t,state:p,regex:h,posix:u,input:i,output:m,match:d,isMatch:l};if(typeof a.onResult==="function"){a.onResult(g)}if(l===false){g.isMatch=false;return o?g:false}if(isIgnored(i)){if(typeof a.onIgnore==="function"){a.onIgnore(g)}g.isMatch=false;return o?g:false}if(typeof a.onMatch==="function"){a.onMatch(g)}return o?g:true};if(i){matcher.state=p}return matcher};picomatch.test=(t,r,i,{glob:o,posix:a}={})=>{if(typeof t!=="string"){throw new TypeError("Expected input to be a string")}if(t===""){return{isMatch:false,output:""}}const u=i||{};const h=u.format||(a?l.toPosixSlashes:null);let p=t===o;let d=p&&h?h(t):t;if(p===false){d=h?h(t):t;p=d===o}if(p===false||u.capture===true){if(u.matchBase===true||u.basename===true){p=picomatch.matchBase(t,r,i,a)}else{p=r.exec(d)}}return{isMatch:Boolean(p),match:p,output:d}};picomatch.matchBase=(t,r,i,a=l.isWindows(i))=>{const u=r instanceof RegExp?r:picomatch.makeRe(r,i);return u.test(o.basename(t))};picomatch.isMatch=(t,r,i)=>picomatch(r,i)(t);picomatch.parse=(t,r)=>{if(Array.isArray(t))return t.map((t=>picomatch.parse(t,r)));return u(t,{...r,fastpaths:false})};picomatch.scan=(t,r)=>a(t,r);picomatch.compileRe=(t,r,i=false,o=false)=>{if(i===true){return t.output}const a=r||{};const u=a.contains?"":"^";const l=a.contains?"":"$";let h=`${u}(?:${t.output})${l}`;if(t&&t.negated===true){h=`^(?!${h}).*$`}const p=picomatch.toRegex(h,r);if(o===true){p.state=t}return p};picomatch.makeRe=(t,r={},i=false,o=false)=>{if(!t||typeof t!=="string"){throw new TypeError("Expected a non-empty string")}let a={negated:false,fastpaths:true};if(r.fastpaths!==false&&(t[0]==="."||t[0]==="*")){a.output=u.fastpaths(t,r)}if(!a.output){a=u(t,r)}return picomatch.compileRe(a,r,i,o)};picomatch.toRegex=(t,r)=>{try{const i=r||{};return new RegExp(t,i.flags||(i.nocase?"i":""))}catch(t){if(r&&r.debug===true)throw t;return/$^/}};picomatch.constants=h;t.exports=picomatch},2429:(t,r,i)=>{const o=i(479);const{CHAR_ASTERISK:a,CHAR_AT:u,CHAR_BACKWARD_SLASH:l,CHAR_COMMA:h,CHAR_DOT:p,CHAR_EXCLAMATION_MARK:d,CHAR_FORWARD_SLASH:m,CHAR_LEFT_CURLY_BRACE:g,CHAR_LEFT_PARENTHESES:y,CHAR_LEFT_SQUARE_BRACKET:v,CHAR_PLUS:A,CHAR_QUESTION_MARK:b,CHAR_RIGHT_CURLY_BRACE:w,CHAR_RIGHT_PARENTHESES:E,CHAR_RIGHT_SQUARE_BRACKET:S}=i(6099);const isPathSeparator=t=>t===m||t===l;const depth=t=>{if(t.isPrefix!==true){t.depth=t.isGlobstar?Infinity:1}};const scan=(t,r)=>{const i=r||{};const _=t.length-1;const D=i.parts===true||i.scanToEnd===true;const C=[];const x=[];const O=[];let R=t;let k=-1;let T=0;let P=0;let L=false;let I=false;let M=false;let B=false;let N=false;let $=false;let j=false;let W=false;let H=false;let U=false;let G=0;let Y;let V;let z={value:"",depth:0,isGlob:false};const eos=()=>k>=_;const peek=()=>R.charCodeAt(k+1);const advance=()=>{Y=V;return R.charCodeAt(++k)};while(k<_){V=advance();let t;if(V===l){j=z.backslashes=true;V=advance();if(V===g){$=true}continue}if($===true||V===g){G++;while(eos()!==true&&(V=advance())){if(V===l){j=z.backslashes=true;advance();continue}if(V===g){G++;continue}if($!==true&&V===p&&(V=advance())===p){L=z.isBrace=true;M=z.isGlob=true;U=true;if(D===true){continue}break}if($!==true&&V===h){L=z.isBrace=true;M=z.isGlob=true;U=true;if(D===true){continue}break}if(V===w){G--;if(G===0){$=false;L=z.isBrace=true;U=true;break}}}if(D===true){continue}break}if(V===m){C.push(k);x.push(z);z={value:"",depth:0,isGlob:false};if(U===true)continue;if(Y===p&&k===T+1){T+=2;continue}P=k+1;continue}if(i.noext!==true){const t=V===A||V===u||V===a||V===b||V===d;if(t===true&&peek()===y){M=z.isGlob=true;B=z.isExtglob=true;U=true;if(V===d&&k===T){H=true}if(D===true){while(eos()!==true&&(V=advance())){if(V===l){j=z.backslashes=true;V=advance();continue}if(V===E){M=z.isGlob=true;U=true;break}}continue}break}}if(V===a){if(Y===a)N=z.isGlobstar=true;M=z.isGlob=true;U=true;if(D===true){continue}break}if(V===b){M=z.isGlob=true;U=true;if(D===true){continue}break}if(V===v){while(eos()!==true&&(t=advance())){if(t===l){j=z.backslashes=true;advance();continue}if(t===S){I=z.isBracket=true;M=z.isGlob=true;U=true;break}}if(D===true){continue}break}if(i.nonegate!==true&&V===d&&k===T){W=z.negated=true;T++;continue}if(i.noparen!==true&&V===y){M=z.isGlob=true;if(D===true){while(eos()!==true&&(V=advance())){if(V===y){j=z.backslashes=true;V=advance();continue}if(V===E){U=true;break}}continue}break}if(M===true){U=true;if(D===true){continue}break}}if(i.noext===true){B=false;M=false}let q=R;let Q="";let K="";if(T>0){Q=R.slice(0,T);R=R.slice(T);P-=T}if(q&&M===true&&P>0){q=R.slice(0,P);K=R.slice(P)}else if(M===true){q="";K=R}else{q=R}if(q&&q!==""&&q!=="/"&&q!==R){if(isPathSeparator(q.charCodeAt(q.length-1))){q=q.slice(0,-1)}}if(i.unescape===true){if(K)K=o.removeBackslashes(K);if(q&&j===true){q=o.removeBackslashes(q)}}const J={prefix:Q,input:t,start:T,base:q,glob:K,isBrace:L,isBracket:I,isGlob:M,isExtglob:B,isGlobstar:N,negated:W,negatedExtglob:H};if(i.tokens===true){J.maxDepth=0;if(!isPathSeparator(V)){x.push(z)}J.tokens=x}if(i.parts===true||i.tokens===true){let r;for(let o=0;o<C.length;o++){const a=r?r+1:T;const u=C[o];const l=t.slice(a,u);if(i.tokens){if(o===0&&T!==0){x[o].isPrefix=true;x[o].value=Q}else{x[o].value=l}depth(x[o]);J.maxDepth+=x[o].depth}if(o!==0||l!==""){O.push(l)}r=u}if(r&&r+1<t.length){const o=t.slice(r+1);O.push(o);if(i.tokens){x[x.length-1].value=o;depth(x[x.length-1]);J.maxDepth+=x[x.length-1].depth}}J.slashes=C;J.parts=O}return J};t.exports=scan},479:(t,r,i)=>{const o=i(1017);const a=process.platform==="win32";const{REGEX_BACKSLASH:u,REGEX_REMOVE_BACKSLASH:l,REGEX_SPECIAL_CHARS:h,REGEX_SPECIAL_CHARS_GLOBAL:p}=i(6099);r.isObject=t=>t!==null&&typeof t==="object"&&!Array.isArray(t);r.hasRegexChars=t=>h.test(t);r.isRegexChar=t=>t.length===1&&r.hasRegexChars(t);r.escapeRegex=t=>t.replace(p,"\\$1");r.toPosixSlashes=t=>t.replace(u,"/");r.removeBackslashes=t=>t.replace(l,(t=>t==="\\"?"":t));r.supportsLookbehinds=()=>{const t=process.version.slice(1).split(".").map(Number);if(t.length===3&&t[0]>=9||t[0]===8&&t[1]>=10){return true}return false};r.isWindows=t=>{if(t&&typeof t.windows==="boolean"){return t.windows}return a===true||o.sep==="\\"};r.escapeLast=(t,i,o)=>{const a=t.lastIndexOf(i,o);if(a===-1)return t;if(t[a-1]==="\\")return r.escapeLast(t,i,a-1);return`${t.slice(0,a)}\\${t.slice(a)}`};r.removePrefix=(t,r={})=>{let i=t;if(i.startsWith("./")){i=i.slice(2);r.prefix="./"}return i};r.wrapOutput=(t,r={},i={})=>{const o=i.contains?"":"^";const a=i.contains?"":"$";let u=`${o}(?:${t})${a}`;if(r.negated===true){u=`(?:^(?!${u}).*$)`}return u}},1861:(t,r,i)=>{
54
+ t.exports=function(t){if(typeof t==="number"){return t-t===0}if(typeof t==="string"&&t.trim()!==""){return Number.isFinite?Number.isFinite(+t):isFinite(+t)}return false}},1917:(t,r,i)=>{var o=i(1161);var a=i(8866);function renamed(t,r){return function(){throw new Error("Function yaml."+t+" is removed in js-yaml 4. "+"Use yaml."+r+" instead, which is now safe by default.")}}t.exports.Type=i(6073);t.exports.Schema=i(1082);t.exports.FAILSAFE_SCHEMA=i(8562);t.exports.JSON_SCHEMA=i(1035);t.exports.CORE_SCHEMA=i(2011);t.exports.DEFAULT_SCHEMA=i(8759);t.exports.load=o.load;t.exports.loadAll=o.loadAll;t.exports.dump=a.dump;t.exports.YAMLException=i(8179);t.exports.types={binary:i(7900),float:i(2705),map:i(6150),null:i(721),pairs:i(6860),set:i(9548),timestamp:i(9212),bool:i(4993),int:i(1615),merge:i(6104),omap:i(9046),seq:i(7283),str:i(3619)};t.exports.safeLoad=renamed("safeLoad","load");t.exports.safeLoadAll=renamed("safeLoadAll","loadAll");t.exports.safeDump=renamed("safeDump","dump")},6829:t=>{function isNothing(t){return typeof t==="undefined"||t===null}function isObject(t){return typeof t==="object"&&t!==null}function toArray(t){if(Array.isArray(t))return t;else if(isNothing(t))return[];return[t]}function extend(t,r){var i,o,a,u;if(r){u=Object.keys(r);for(i=0,o=u.length;i<o;i+=1){a=u[i];t[a]=r[a]}}return t}function repeat(t,r){var i="",o;for(o=0;o<r;o+=1){i+=t}return i}function isNegativeZero(t){return t===0&&Number.NEGATIVE_INFINITY===1/t}t.exports.isNothing=isNothing;t.exports.isObject=isObject;t.exports.toArray=toArray;t.exports.repeat=repeat;t.exports.isNegativeZero=isNegativeZero;t.exports.extend=extend},8866:(t,r,i)=>{var o=i(6829);var a=i(8179);var u=i(8759);var l=Object.prototype.toString;var h=Object.prototype.hasOwnProperty;var p=65279;var d=9;var m=10;var g=13;var y=32;var v=33;var A=34;var b=35;var w=37;var E=38;var S=39;var _=42;var D=44;var C=45;var x=58;var O=61;var R=62;var k=63;var T=64;var P=91;var L=93;var I=96;var M=123;var B=124;var N=125;var $={};$[0]="\\0";$[7]="\\a";$[8]="\\b";$[9]="\\t";$[10]="\\n";$[11]="\\v";$[12]="\\f";$[13]="\\r";$[27]="\\e";$[34]='\\"';$[92]="\\\\";$[133]="\\N";$[160]="\\_";$[8232]="\\L";$[8233]="\\P";var j=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];var W=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function compileStyleMap(t,r){var i,o,a,u,l,p,d;if(r===null)return{};i={};o=Object.keys(r);for(a=0,u=o.length;a<u;a+=1){l=o[a];p=String(r[l]);if(l.slice(0,2)==="!!"){l="tag:yaml.org,2002:"+l.slice(2)}d=t.compiledTypeMap["fallback"][l];if(d&&h.call(d.styleAliases,p)){p=d.styleAliases[p]}i[l]=p}return i}function encodeHex(t){var r,i,u;r=t.toString(16).toUpperCase();if(t<=255){i="x";u=2}else if(t<=65535){i="u";u=4}else if(t<=4294967295){i="U";u=8}else{throw new a("code point within a string may not be greater than 0xFFFFFFFF")}return"\\"+i+o.repeat("0",u-r.length)+r}var H=1,G=2;function State(t){this.schema=t["schema"]||u;this.indent=Math.max(1,t["indent"]||2);this.noArrayIndent=t["noArrayIndent"]||false;this.skipInvalid=t["skipInvalid"]||false;this.flowLevel=o.isNothing(t["flowLevel"])?-1:t["flowLevel"];this.styleMap=compileStyleMap(this.schema,t["styles"]||null);this.sortKeys=t["sortKeys"]||false;this.lineWidth=t["lineWidth"]||80;this.noRefs=t["noRefs"]||false;this.noCompatMode=t["noCompatMode"]||false;this.condenseFlow=t["condenseFlow"]||false;this.quotingType=t["quotingType"]==='"'?G:H;this.forceQuotes=t["forceQuotes"]||false;this.replacer=typeof t["replacer"]==="function"?t["replacer"]:null;this.implicitTypes=this.schema.compiledImplicit;this.explicitTypes=this.schema.compiledExplicit;this.tag=null;this.result="";this.duplicates=[];this.usedDuplicates=null}function indentString(t,r){var i=o.repeat(" ",r),a=0,u=-1,l="",h,p=t.length;while(a<p){u=t.indexOf("\n",a);if(u===-1){h=t.slice(a);a=p}else{h=t.slice(a,u+1);a=u+1}if(h.length&&h!=="\n")l+=i;l+=h}return l}function generateNextLine(t,r){return"\n"+o.repeat(" ",t.indent*r)}function testImplicitResolving(t,r){var i,o,a;for(i=0,o=t.implicitTypes.length;i<o;i+=1){a=t.implicitTypes[i];if(a.resolve(r)){return true}}return false}function isWhitespace(t){return t===y||t===d}function isPrintable(t){return 32<=t&&t<=126||161<=t&&t<=55295&&t!==8232&&t!==8233||57344<=t&&t<=65533&&t!==p||65536<=t&&t<=1114111}function isNsCharOrWhitespace(t){return isPrintable(t)&&t!==p&&t!==g&&t!==m}function isPlainSafe(t,r,i){var o=isNsCharOrWhitespace(t);var a=o&&!isWhitespace(t);return(i?o:o&&t!==D&&t!==P&&t!==L&&t!==M&&t!==N)&&t!==b&&!(r===x&&!a)||isNsCharOrWhitespace(r)&&!isWhitespace(r)&&t===b||r===x&&a}function isPlainSafeFirst(t){return isPrintable(t)&&t!==p&&!isWhitespace(t)&&t!==C&&t!==k&&t!==x&&t!==D&&t!==P&&t!==L&&t!==M&&t!==N&&t!==b&&t!==E&&t!==_&&t!==v&&t!==B&&t!==O&&t!==R&&t!==S&&t!==A&&t!==w&&t!==T&&t!==I}function isPlainSafeLast(t){return!isWhitespace(t)&&t!==x}function codePointAt(t,r){var i=t.charCodeAt(r),o;if(i>=55296&&i<=56319&&r+1<t.length){o=t.charCodeAt(r+1);if(o>=56320&&o<=57343){return(i-55296)*1024+o-56320+65536}}return i}function needIndentIndicator(t){var r=/^\n* /;return r.test(t)}var U=1,Y=2,V=3,z=4,q=5;function chooseScalarStyle(t,r,i,o,a,u,l,h){var p;var d=0;var g=null;var y=false;var v=false;var A=o!==-1;var b=-1;var w=isPlainSafeFirst(codePointAt(t,0))&&isPlainSafeLast(codePointAt(t,t.length-1));if(r||l){for(p=0;p<t.length;d>=65536?p+=2:p++){d=codePointAt(t,p);if(!isPrintable(d)){return q}w=w&&isPlainSafe(d,g,h);g=d}}else{for(p=0;p<t.length;d>=65536?p+=2:p++){d=codePointAt(t,p);if(d===m){y=true;if(A){v=v||p-b-1>o&&t[b+1]!==" ";b=p}}else if(!isPrintable(d)){return q}w=w&&isPlainSafe(d,g,h);g=d}v=v||A&&(p-b-1>o&&t[b+1]!==" ")}if(!y&&!v){if(w&&!l&&!a(t)){return U}return u===G?q:Y}if(i>9&&needIndentIndicator(t)){return q}if(!l){return v?z:V}return u===G?q:Y}function writeScalar(t,r,i,o,u){t.dump=function(){if(r.length===0){return t.quotingType===G?'""':"''"}if(!t.noCompatMode){if(j.indexOf(r)!==-1||W.test(r)){return t.quotingType===G?'"'+r+'"':"'"+r+"'"}}var l=t.indent*Math.max(1,i);var h=t.lineWidth===-1?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-l);var p=o||t.flowLevel>-1&&i>=t.flowLevel;function testAmbiguity(r){return testImplicitResolving(t,r)}switch(chooseScalarStyle(r,p,t.indent,h,testAmbiguity,t.quotingType,t.forceQuotes&&!o,u)){case U:return r;case Y:return"'"+r.replace(/'/g,"''")+"'";case V:return"|"+blockHeader(r,t.indent)+dropEndingNewline(indentString(r,l));case z:return">"+blockHeader(r,t.indent)+dropEndingNewline(indentString(foldString(r,h),l));case q:return'"'+escapeString(r,h)+'"';default:throw new a("impossible error: invalid scalar style")}}()}function blockHeader(t,r){var i=needIndentIndicator(t)?String(r):"";var o=t[t.length-1]==="\n";var a=o&&(t[t.length-2]==="\n"||t==="\n");var u=a?"+":o?"":"-";return i+u+"\n"}function dropEndingNewline(t){return t[t.length-1]==="\n"?t.slice(0,-1):t}function foldString(t,r){var i=/(\n+)([^\n]*)/g;var o=function(){var o=t.indexOf("\n");o=o!==-1?o:t.length;i.lastIndex=o;return foldLine(t.slice(0,o),r)}();var a=t[0]==="\n"||t[0]===" ";var u;var l;while(l=i.exec(t)){var h=l[1],p=l[2];u=p[0]===" ";o+=h+(!a&&!u&&p!==""?"\n":"")+foldLine(p,r);a=u}return o}function foldLine(t,r){if(t===""||t[0]===" ")return t;var i=/ [^ ]/g;var o;var a=0,u,l=0,h=0;var p="";while(o=i.exec(t)){h=o.index;if(h-a>r){u=l>a?l:h;p+="\n"+t.slice(a,u);a=u+1}l=h}p+="\n";if(t.length-a>r&&l>a){p+=t.slice(a,l)+"\n"+t.slice(l+1)}else{p+=t.slice(a)}return p.slice(1)}function escapeString(t){var r="";var i=0;var o;for(var a=0;a<t.length;i>=65536?a+=2:a++){i=codePointAt(t,a);o=$[i];if(!o&&isPrintable(i)){r+=t[a];if(i>=65536)r+=t[a+1]}else{r+=o||encodeHex(i)}}return r}function writeFlowSequence(t,r,i){var o="",a=t.tag,u,l,h;for(u=0,l=i.length;u<l;u+=1){h=i[u];if(t.replacer){h=t.replacer.call(i,String(u),h)}if(writeNode(t,r,h,false,false)||typeof h==="undefined"&&writeNode(t,r,null,false,false)){if(o!=="")o+=","+(!t.condenseFlow?" ":"");o+=t.dump}}t.tag=a;t.dump="["+o+"]"}function writeBlockSequence(t,r,i,o){var a="",u=t.tag,l,h,p;for(l=0,h=i.length;l<h;l+=1){p=i[l];if(t.replacer){p=t.replacer.call(i,String(l),p)}if(writeNode(t,r+1,p,true,true,false,true)||typeof p==="undefined"&&writeNode(t,r+1,null,true,true,false,true)){if(!o||a!==""){a+=generateNextLine(t,r)}if(t.dump&&m===t.dump.charCodeAt(0)){a+="-"}else{a+="- "}a+=t.dump}}t.tag=u;t.dump=a||"[]"}function writeFlowMapping(t,r,i){var o="",a=t.tag,u=Object.keys(i),l,h,p,d,m;for(l=0,h=u.length;l<h;l+=1){m="";if(o!=="")m+=", ";if(t.condenseFlow)m+='"';p=u[l];d=i[p];if(t.replacer){d=t.replacer.call(i,p,d)}if(!writeNode(t,r,p,false,false)){continue}if(t.dump.length>1024)m+="? ";m+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" ");if(!writeNode(t,r,d,false,false)){continue}m+=t.dump;o+=m}t.tag=a;t.dump="{"+o+"}"}function writeBlockMapping(t,r,i,o){var u="",l=t.tag,h=Object.keys(i),p,d,g,y,v,A;if(t.sortKeys===true){h.sort()}else if(typeof t.sortKeys==="function"){h.sort(t.sortKeys)}else if(t.sortKeys){throw new a("sortKeys must be a boolean or a function")}for(p=0,d=h.length;p<d;p+=1){A="";if(!o||u!==""){A+=generateNextLine(t,r)}g=h[p];y=i[g];if(t.replacer){y=t.replacer.call(i,g,y)}if(!writeNode(t,r+1,g,true,true,true)){continue}v=t.tag!==null&&t.tag!=="?"||t.dump&&t.dump.length>1024;if(v){if(t.dump&&m===t.dump.charCodeAt(0)){A+="?"}else{A+="? "}}A+=t.dump;if(v){A+=generateNextLine(t,r)}if(!writeNode(t,r+1,y,true,v)){continue}if(t.dump&&m===t.dump.charCodeAt(0)){A+=":"}else{A+=": "}A+=t.dump;u+=A}t.tag=l;t.dump=u||"{}"}function detectType(t,r,i){var o,u,p,d,m,g;u=i?t.explicitTypes:t.implicitTypes;for(p=0,d=u.length;p<d;p+=1){m=u[p];if((m.instanceOf||m.predicate)&&(!m.instanceOf||typeof r==="object"&&r instanceof m.instanceOf)&&(!m.predicate||m.predicate(r))){if(i){if(m.multi&&m.representName){t.tag=m.representName(r)}else{t.tag=m.tag}}else{t.tag="?"}if(m.represent){g=t.styleMap[m.tag]||m.defaultStyle;if(l.call(m.represent)==="[object Function]"){o=m.represent(r,g)}else if(h.call(m.represent,g)){o=m.represent[g](r,g)}else{throw new a("!<"+m.tag+'> tag resolver accepts not "'+g+'" style')}t.dump=o}return true}}return false}function writeNode(t,r,i,o,u,h,p){t.tag=null;t.dump=i;if(!detectType(t,i,false)){detectType(t,i,true)}var d=l.call(t.dump);var m=o;var g;if(o){o=t.flowLevel<0||t.flowLevel>r}var y=d==="[object Object]"||d==="[object Array]",v,A;if(y){v=t.duplicates.indexOf(i);A=v!==-1}if(t.tag!==null&&t.tag!=="?"||A||t.indent!==2&&r>0){u=false}if(A&&t.usedDuplicates[v]){t.dump="*ref_"+v}else{if(y&&A&&!t.usedDuplicates[v]){t.usedDuplicates[v]=true}if(d==="[object Object]"){if(o&&Object.keys(t.dump).length!==0){writeBlockMapping(t,r,t.dump,u);if(A){t.dump="&ref_"+v+t.dump}}else{writeFlowMapping(t,r,t.dump);if(A){t.dump="&ref_"+v+" "+t.dump}}}else if(d==="[object Array]"){if(o&&t.dump.length!==0){if(t.noArrayIndent&&!p&&r>0){writeBlockSequence(t,r-1,t.dump,u)}else{writeBlockSequence(t,r,t.dump,u)}if(A){t.dump="&ref_"+v+t.dump}}else{writeFlowSequence(t,r,t.dump);if(A){t.dump="&ref_"+v+" "+t.dump}}}else if(d==="[object String]"){if(t.tag!=="?"){writeScalar(t,t.dump,r,h,m)}}else if(d==="[object Undefined]"){return false}else{if(t.skipInvalid)return false;throw new a("unacceptable kind of an object to dump "+d)}if(t.tag!==null&&t.tag!=="?"){g=encodeURI(t.tag[0]==="!"?t.tag.slice(1):t.tag).replace(/!/g,"%21");if(t.tag[0]==="!"){g="!"+g}else if(g.slice(0,18)==="tag:yaml.org,2002:"){g="!!"+g.slice(18)}else{g="!<"+g+">"}t.dump=g+" "+t.dump}}return true}function getDuplicateReferences(t,r){var i=[],o=[],a,u;inspectNode(t,i,o);for(a=0,u=o.length;a<u;a+=1){r.duplicates.push(i[o[a]])}r.usedDuplicates=new Array(u)}function inspectNode(t,r,i){var o,a,u;if(t!==null&&typeof t==="object"){a=r.indexOf(t);if(a!==-1){if(i.indexOf(a)===-1){i.push(a)}}else{r.push(t);if(Array.isArray(t)){for(a=0,u=t.length;a<u;a+=1){inspectNode(t[a],r,i)}}else{o=Object.keys(t);for(a=0,u=o.length;a<u;a+=1){inspectNode(t[o[a]],r,i)}}}}}function dump(t,r){r=r||{};var i=new State(r);if(!i.noRefs)getDuplicateReferences(t,i);var o=t;if(i.replacer){o=i.replacer.call({"":o},"",o)}if(writeNode(i,0,o,true,true))return i.dump+"\n";return""}t.exports.dump=dump},8179:t=>{function formatError(t,r){var i="",o=t.reason||"(unknown reason)";if(!t.mark)return o;if(t.mark.name){i+='in "'+t.mark.name+'" '}i+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")";if(!r&&t.mark.snippet){i+="\n\n"+t.mark.snippet}return o+" "+i}function YAMLException(t,r){Error.call(this);this.name="YAMLException";this.reason=t;this.mark=r;this.message=formatError(this,false);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}else{this.stack=(new Error).stack||""}}YAMLException.prototype=Object.create(Error.prototype);YAMLException.prototype.constructor=YAMLException;YAMLException.prototype.toString=function toString(t){return this.name+": "+formatError(this,t)};t.exports=YAMLException},1161:(t,r,i)=>{var o=i(6829);var a=i(8179);var u=i(6975);var l=i(8759);var h=Object.prototype.hasOwnProperty;var p=1;var d=2;var m=3;var g=4;var y=1;var v=2;var A=3;var b=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;var w=/[\x85\u2028\u2029]/;var E=/[,\[\]\{\}]/;var S=/^(?:!|!!|![a-z\-]+!)$/i;var _=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function _class(t){return Object.prototype.toString.call(t)}function is_EOL(t){return t===10||t===13}function is_WHITE_SPACE(t){return t===9||t===32}function is_WS_OR_EOL(t){return t===9||t===32||t===10||t===13}function is_FLOW_INDICATOR(t){return t===44||t===91||t===93||t===123||t===125}function fromHexCode(t){var r;if(48<=t&&t<=57){return t-48}r=t|32;if(97<=r&&r<=102){return r-97+10}return-1}function escapedHexLen(t){if(t===120){return 2}if(t===117){return 4}if(t===85){return 8}return 0}function fromDecimalCode(t){if(48<=t&&t<=57){return t-48}return-1}function simpleEscapeSequence(t){return t===48?"\0":t===97?"":t===98?"\b":t===116?"\t":t===9?"\t":t===110?"\n":t===118?"\v":t===102?"\f":t===114?"\r":t===101?"":t===32?" ":t===34?'"':t===47?"/":t===92?"\\":t===78?"…":t===95?" ":t===76?"\u2028":t===80?"\u2029":""}function charFromCodepoint(t){if(t<=65535){return String.fromCharCode(t)}return String.fromCharCode((t-65536>>10)+55296,(t-65536&1023)+56320)}var D=new Array(256);var C=new Array(256);for(var x=0;x<256;x++){D[x]=simpleEscapeSequence(x)?1:0;C[x]=simpleEscapeSequence(x)}function State(t,r){this.input=t;this.filename=r["filename"]||null;this.schema=r["schema"]||l;this.onWarning=r["onWarning"]||null;this.legacy=r["legacy"]||false;this.json=r["json"]||false;this.listener=r["listener"]||null;this.implicitTypes=this.schema.compiledImplicit;this.typeMap=this.schema.compiledTypeMap;this.length=t.length;this.position=0;this.line=0;this.lineStart=0;this.lineIndent=0;this.firstTabInLine=-1;this.documents=[]}function generateError(t,r){var i={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};i.snippet=u(i);return new a(r,i)}function throwError(t,r){throw generateError(t,r)}function throwWarning(t,r){if(t.onWarning){t.onWarning.call(null,generateError(t,r))}}var O={YAML:function handleYamlDirective(t,r,i){var o,a,u;if(t.version!==null){throwError(t,"duplication of %YAML directive")}if(i.length!==1){throwError(t,"YAML directive accepts exactly one argument")}o=/^([0-9]+)\.([0-9]+)$/.exec(i[0]);if(o===null){throwError(t,"ill-formed argument of the YAML directive")}a=parseInt(o[1],10);u=parseInt(o[2],10);if(a!==1){throwError(t,"unacceptable YAML version of the document")}t.version=i[0];t.checkLineBreaks=u<2;if(u!==1&&u!==2){throwWarning(t,"unsupported YAML version of the document")}},TAG:function handleTagDirective(t,r,i){var o,a;if(i.length!==2){throwError(t,"TAG directive accepts exactly two arguments")}o=i[0];a=i[1];if(!S.test(o)){throwError(t,"ill-formed tag handle (first argument) of the TAG directive")}if(h.call(t.tagMap,o)){throwError(t,'there is a previously declared suffix for "'+o+'" tag handle')}if(!_.test(a)){throwError(t,"ill-formed tag prefix (second argument) of the TAG directive")}try{a=decodeURIComponent(a)}catch(r){throwError(t,"tag prefix is malformed: "+a)}t.tagMap[o]=a}};function captureSegment(t,r,i,o){var a,u,l,h;if(r<i){h=t.input.slice(r,i);if(o){for(a=0,u=h.length;a<u;a+=1){l=h.charCodeAt(a);if(!(l===9||32<=l&&l<=1114111)){throwError(t,"expected valid JSON character")}}}else if(b.test(h)){throwError(t,"the stream contains non-printable characters")}t.result+=h}}function mergeMappings(t,r,i,a){var u,l,p,d;if(!o.isObject(i)){throwError(t,"cannot merge mappings; the provided source object is unacceptable")}u=Object.keys(i);for(p=0,d=u.length;p<d;p+=1){l=u[p];if(!h.call(r,l)){r[l]=i[l];a[l]=true}}}function storeMappingPair(t,r,i,o,a,u,l,p,d){var m,g;if(Array.isArray(a)){a=Array.prototype.slice.call(a);for(m=0,g=a.length;m<g;m+=1){if(Array.isArray(a[m])){throwError(t,"nested arrays are not supported inside keys")}if(typeof a==="object"&&_class(a[m])==="[object Object]"){a[m]="[object Object]"}}}if(typeof a==="object"&&_class(a)==="[object Object]"){a="[object Object]"}a=String(a);if(r===null){r={}}if(o==="tag:yaml.org,2002:merge"){if(Array.isArray(u)){for(m=0,g=u.length;m<g;m+=1){mergeMappings(t,r,u[m],i)}}else{mergeMappings(t,r,u,i)}}else{if(!t.json&&!h.call(i,a)&&h.call(r,a)){t.line=l||t.line;t.lineStart=p||t.lineStart;t.position=d||t.position;throwError(t,"duplicated mapping key")}if(a==="__proto__"){Object.defineProperty(r,a,{configurable:true,enumerable:true,writable:true,value:u})}else{r[a]=u}delete i[a]}return r}function readLineBreak(t){var r;r=t.input.charCodeAt(t.position);if(r===10){t.position++}else if(r===13){t.position++;if(t.input.charCodeAt(t.position)===10){t.position++}}else{throwError(t,"a line break is expected")}t.line+=1;t.lineStart=t.position;t.firstTabInLine=-1}function skipSeparationSpace(t,r,i){var o=0,a=t.input.charCodeAt(t.position);while(a!==0){while(is_WHITE_SPACE(a)){if(a===9&&t.firstTabInLine===-1){t.firstTabInLine=t.position}a=t.input.charCodeAt(++t.position)}if(r&&a===35){do{a=t.input.charCodeAt(++t.position)}while(a!==10&&a!==13&&a!==0)}if(is_EOL(a)){readLineBreak(t);a=t.input.charCodeAt(t.position);o++;t.lineIndent=0;while(a===32){t.lineIndent++;a=t.input.charCodeAt(++t.position)}}else{break}}if(i!==-1&&o!==0&&t.lineIndent<i){throwWarning(t,"deficient indentation")}return o}function testDocumentSeparator(t){var r=t.position,i;i=t.input.charCodeAt(r);if((i===45||i===46)&&i===t.input.charCodeAt(r+1)&&i===t.input.charCodeAt(r+2)){r+=3;i=t.input.charCodeAt(r);if(i===0||is_WS_OR_EOL(i)){return true}}return false}function writeFoldedLines(t,r){if(r===1){t.result+=" "}else if(r>1){t.result+=o.repeat("\n",r-1)}}function readPlainScalar(t,r,i){var o,a,u,l,h,p,d,m,g=t.kind,y=t.result,v;v=t.input.charCodeAt(t.position);if(is_WS_OR_EOL(v)||is_FLOW_INDICATOR(v)||v===35||v===38||v===42||v===33||v===124||v===62||v===39||v===34||v===37||v===64||v===96){return false}if(v===63||v===45){a=t.input.charCodeAt(t.position+1);if(is_WS_OR_EOL(a)||i&&is_FLOW_INDICATOR(a)){return false}}t.kind="scalar";t.result="";u=l=t.position;h=false;while(v!==0){if(v===58){a=t.input.charCodeAt(t.position+1);if(is_WS_OR_EOL(a)||i&&is_FLOW_INDICATOR(a)){break}}else if(v===35){o=t.input.charCodeAt(t.position-1);if(is_WS_OR_EOL(o)){break}}else if(t.position===t.lineStart&&testDocumentSeparator(t)||i&&is_FLOW_INDICATOR(v)){break}else if(is_EOL(v)){p=t.line;d=t.lineStart;m=t.lineIndent;skipSeparationSpace(t,false,-1);if(t.lineIndent>=r){h=true;v=t.input.charCodeAt(t.position);continue}else{t.position=l;t.line=p;t.lineStart=d;t.lineIndent=m;break}}if(h){captureSegment(t,u,l,false);writeFoldedLines(t,t.line-p);u=l=t.position;h=false}if(!is_WHITE_SPACE(v)){l=t.position+1}v=t.input.charCodeAt(++t.position)}captureSegment(t,u,l,false);if(t.result){return true}t.kind=g;t.result=y;return false}function readSingleQuotedScalar(t,r){var i,o,a;i=t.input.charCodeAt(t.position);if(i!==39){return false}t.kind="scalar";t.result="";t.position++;o=a=t.position;while((i=t.input.charCodeAt(t.position))!==0){if(i===39){captureSegment(t,o,t.position,true);i=t.input.charCodeAt(++t.position);if(i===39){o=t.position;t.position++;a=t.position}else{return true}}else if(is_EOL(i)){captureSegment(t,o,a,true);writeFoldedLines(t,skipSeparationSpace(t,false,r));o=a=t.position}else if(t.position===t.lineStart&&testDocumentSeparator(t)){throwError(t,"unexpected end of the document within a single quoted scalar")}else{t.position++;a=t.position}}throwError(t,"unexpected end of the stream within a single quoted scalar")}function readDoubleQuotedScalar(t,r){var i,o,a,u,l,h;h=t.input.charCodeAt(t.position);if(h!==34){return false}t.kind="scalar";t.result="";t.position++;i=o=t.position;while((h=t.input.charCodeAt(t.position))!==0){if(h===34){captureSegment(t,i,t.position,true);t.position++;return true}else if(h===92){captureSegment(t,i,t.position,true);h=t.input.charCodeAt(++t.position);if(is_EOL(h)){skipSeparationSpace(t,false,r)}else if(h<256&&D[h]){t.result+=C[h];t.position++}else if((l=escapedHexLen(h))>0){a=l;u=0;for(;a>0;a--){h=t.input.charCodeAt(++t.position);if((l=fromHexCode(h))>=0){u=(u<<4)+l}else{throwError(t,"expected hexadecimal character")}}t.result+=charFromCodepoint(u);t.position++}else{throwError(t,"unknown escape sequence")}i=o=t.position}else if(is_EOL(h)){captureSegment(t,i,o,true);writeFoldedLines(t,skipSeparationSpace(t,false,r));i=o=t.position}else if(t.position===t.lineStart&&testDocumentSeparator(t)){throwError(t,"unexpected end of the document within a double quoted scalar")}else{t.position++;o=t.position}}throwError(t,"unexpected end of the stream within a double quoted scalar")}function readFlowCollection(t,r){var i=true,o,a,u,l=t.tag,h,d=t.anchor,m,g,y,v,A,b=Object.create(null),w,E,S,_;_=t.input.charCodeAt(t.position);if(_===91){g=93;A=false;h=[]}else if(_===123){g=125;A=true;h={}}else{return false}if(t.anchor!==null){t.anchorMap[t.anchor]=h}_=t.input.charCodeAt(++t.position);while(_!==0){skipSeparationSpace(t,true,r);_=t.input.charCodeAt(t.position);if(_===g){t.position++;t.tag=l;t.anchor=d;t.kind=A?"mapping":"sequence";t.result=h;return true}else if(!i){throwError(t,"missed comma between flow collection entries")}else if(_===44){throwError(t,"expected the node content, but found ','")}E=w=S=null;y=v=false;if(_===63){m=t.input.charCodeAt(t.position+1);if(is_WS_OR_EOL(m)){y=v=true;t.position++;skipSeparationSpace(t,true,r)}}o=t.line;a=t.lineStart;u=t.position;composeNode(t,r,p,false,true);E=t.tag;w=t.result;skipSeparationSpace(t,true,r);_=t.input.charCodeAt(t.position);if((v||t.line===o)&&_===58){y=true;_=t.input.charCodeAt(++t.position);skipSeparationSpace(t,true,r);composeNode(t,r,p,false,true);S=t.result}if(A){storeMappingPair(t,h,b,E,w,S,o,a,u)}else if(y){h.push(storeMappingPair(t,null,b,E,w,S,o,a,u))}else{h.push(w)}skipSeparationSpace(t,true,r);_=t.input.charCodeAt(t.position);if(_===44){i=true;_=t.input.charCodeAt(++t.position)}else{i=false}}throwError(t,"unexpected end of the stream within a flow collection")}function readBlockScalar(t,r){var i,a,u=y,l=false,h=false,p=r,d=0,m=false,g,b;b=t.input.charCodeAt(t.position);if(b===124){a=false}else if(b===62){a=true}else{return false}t.kind="scalar";t.result="";while(b!==0){b=t.input.charCodeAt(++t.position);if(b===43||b===45){if(y===u){u=b===43?A:v}else{throwError(t,"repeat of a chomping mode identifier")}}else if((g=fromDecimalCode(b))>=0){if(g===0){throwError(t,"bad explicit indentation width of a block scalar; it cannot be less than one")}else if(!h){p=r+g-1;h=true}else{throwError(t,"repeat of an indentation width identifier")}}else{break}}if(is_WHITE_SPACE(b)){do{b=t.input.charCodeAt(++t.position)}while(is_WHITE_SPACE(b));if(b===35){do{b=t.input.charCodeAt(++t.position)}while(!is_EOL(b)&&b!==0)}}while(b!==0){readLineBreak(t);t.lineIndent=0;b=t.input.charCodeAt(t.position);while((!h||t.lineIndent<p)&&b===32){t.lineIndent++;b=t.input.charCodeAt(++t.position)}if(!h&&t.lineIndent>p){p=t.lineIndent}if(is_EOL(b)){d++;continue}if(t.lineIndent<p){if(u===A){t.result+=o.repeat("\n",l?1+d:d)}else if(u===y){if(l){t.result+="\n"}}break}if(a){if(is_WHITE_SPACE(b)){m=true;t.result+=o.repeat("\n",l?1+d:d)}else if(m){m=false;t.result+=o.repeat("\n",d+1)}else if(d===0){if(l){t.result+=" "}}else{t.result+=o.repeat("\n",d)}}else{t.result+=o.repeat("\n",l?1+d:d)}l=true;h=true;d=0;i=t.position;while(!is_EOL(b)&&b!==0){b=t.input.charCodeAt(++t.position)}captureSegment(t,i,t.position,false)}return true}function readBlockSequence(t,r){var i,o=t.tag,a=t.anchor,u=[],l,h=false,p;if(t.firstTabInLine!==-1)return false;if(t.anchor!==null){t.anchorMap[t.anchor]=u}p=t.input.charCodeAt(t.position);while(p!==0){if(t.firstTabInLine!==-1){t.position=t.firstTabInLine;throwError(t,"tab characters must not be used in indentation")}if(p!==45){break}l=t.input.charCodeAt(t.position+1);if(!is_WS_OR_EOL(l)){break}h=true;t.position++;if(skipSeparationSpace(t,true,-1)){if(t.lineIndent<=r){u.push(null);p=t.input.charCodeAt(t.position);continue}}i=t.line;composeNode(t,r,m,false,true);u.push(t.result);skipSeparationSpace(t,true,-1);p=t.input.charCodeAt(t.position);if((t.line===i||t.lineIndent>r)&&p!==0){throwError(t,"bad indentation of a sequence entry")}else if(t.lineIndent<r){break}}if(h){t.tag=o;t.anchor=a;t.kind="sequence";t.result=u;return true}return false}function readBlockMapping(t,r,i){var o,a,u,l,h,p,m=t.tag,y=t.anchor,v={},A=Object.create(null),b=null,w=null,E=null,S=false,_=false,D;if(t.firstTabInLine!==-1)return false;if(t.anchor!==null){t.anchorMap[t.anchor]=v}D=t.input.charCodeAt(t.position);while(D!==0){if(!S&&t.firstTabInLine!==-1){t.position=t.firstTabInLine;throwError(t,"tab characters must not be used in indentation")}o=t.input.charCodeAt(t.position+1);u=t.line;if((D===63||D===58)&&is_WS_OR_EOL(o)){if(D===63){if(S){storeMappingPair(t,v,A,b,w,null,l,h,p);b=w=E=null}_=true;S=true;a=true}else if(S){S=false;a=true}else{throwError(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line")}t.position+=1;D=o}else{l=t.line;h=t.lineStart;p=t.position;if(!composeNode(t,i,d,false,true)){break}if(t.line===u){D=t.input.charCodeAt(t.position);while(is_WHITE_SPACE(D)){D=t.input.charCodeAt(++t.position)}if(D===58){D=t.input.charCodeAt(++t.position);if(!is_WS_OR_EOL(D)){throwError(t,"a whitespace character is expected after the key-value separator within a block mapping")}if(S){storeMappingPair(t,v,A,b,w,null,l,h,p);b=w=E=null}_=true;S=false;a=false;b=t.tag;w=t.result}else if(_){throwError(t,"can not read an implicit mapping pair; a colon is missed")}else{t.tag=m;t.anchor=y;return true}}else if(_){throwError(t,"can not read a block mapping entry; a multiline key may not be an implicit key")}else{t.tag=m;t.anchor=y;return true}}if(t.line===u||t.lineIndent>r){if(S){l=t.line;h=t.lineStart;p=t.position}if(composeNode(t,r,g,true,a)){if(S){w=t.result}else{E=t.result}}if(!S){storeMappingPair(t,v,A,b,w,E,l,h,p);b=w=E=null}skipSeparationSpace(t,true,-1);D=t.input.charCodeAt(t.position)}if((t.line===u||t.lineIndent>r)&&D!==0){throwError(t,"bad indentation of a mapping entry")}else if(t.lineIndent<r){break}}if(S){storeMappingPair(t,v,A,b,w,null,l,h,p)}if(_){t.tag=m;t.anchor=y;t.kind="mapping";t.result=v}return _}function readTagProperty(t){var r,i=false,o=false,a,u,l;l=t.input.charCodeAt(t.position);if(l!==33)return false;if(t.tag!==null){throwError(t,"duplication of a tag property")}l=t.input.charCodeAt(++t.position);if(l===60){i=true;l=t.input.charCodeAt(++t.position)}else if(l===33){o=true;a="!!";l=t.input.charCodeAt(++t.position)}else{a="!"}r=t.position;if(i){do{l=t.input.charCodeAt(++t.position)}while(l!==0&&l!==62);if(t.position<t.length){u=t.input.slice(r,t.position);l=t.input.charCodeAt(++t.position)}else{throwError(t,"unexpected end of the stream within a verbatim tag")}}else{while(l!==0&&!is_WS_OR_EOL(l)){if(l===33){if(!o){a=t.input.slice(r-1,t.position+1);if(!S.test(a)){throwError(t,"named tag handle cannot contain such characters")}o=true;r=t.position+1}else{throwError(t,"tag suffix cannot contain exclamation marks")}}l=t.input.charCodeAt(++t.position)}u=t.input.slice(r,t.position);if(E.test(u)){throwError(t,"tag suffix cannot contain flow indicator characters")}}if(u&&!_.test(u)){throwError(t,"tag name cannot contain such characters: "+u)}try{u=decodeURIComponent(u)}catch(r){throwError(t,"tag name is malformed: "+u)}if(i){t.tag=u}else if(h.call(t.tagMap,a)){t.tag=t.tagMap[a]+u}else if(a==="!"){t.tag="!"+u}else if(a==="!!"){t.tag="tag:yaml.org,2002:"+u}else{throwError(t,'undeclared tag handle "'+a+'"')}return true}function readAnchorProperty(t){var r,i;i=t.input.charCodeAt(t.position);if(i!==38)return false;if(t.anchor!==null){throwError(t,"duplication of an anchor property")}i=t.input.charCodeAt(++t.position);r=t.position;while(i!==0&&!is_WS_OR_EOL(i)&&!is_FLOW_INDICATOR(i)){i=t.input.charCodeAt(++t.position)}if(t.position===r){throwError(t,"name of an anchor node must contain at least one character")}t.anchor=t.input.slice(r,t.position);return true}function readAlias(t){var r,i,o;o=t.input.charCodeAt(t.position);if(o!==42)return false;o=t.input.charCodeAt(++t.position);r=t.position;while(o!==0&&!is_WS_OR_EOL(o)&&!is_FLOW_INDICATOR(o)){o=t.input.charCodeAt(++t.position)}if(t.position===r){throwError(t,"name of an alias node must contain at least one character")}i=t.input.slice(r,t.position);if(!h.call(t.anchorMap,i)){throwError(t,'unidentified alias "'+i+'"')}t.result=t.anchorMap[i];skipSeparationSpace(t,true,-1);return true}function composeNode(t,r,i,o,a){var u,l,y,v=1,A=false,b=false,w,E,S,_,D,C;if(t.listener!==null){t.listener("open",t)}t.tag=null;t.anchor=null;t.kind=null;t.result=null;u=l=y=g===i||m===i;if(o){if(skipSeparationSpace(t,true,-1)){A=true;if(t.lineIndent>r){v=1}else if(t.lineIndent===r){v=0}else if(t.lineIndent<r){v=-1}}}if(v===1){while(readTagProperty(t)||readAnchorProperty(t)){if(skipSeparationSpace(t,true,-1)){A=true;y=u;if(t.lineIndent>r){v=1}else if(t.lineIndent===r){v=0}else if(t.lineIndent<r){v=-1}}else{y=false}}}if(y){y=A||a}if(v===1||g===i){if(p===i||d===i){D=r}else{D=r+1}C=t.position-t.lineStart;if(v===1){if(y&&(readBlockSequence(t,C)||readBlockMapping(t,C,D))||readFlowCollection(t,D)){b=true}else{if(l&&readBlockScalar(t,D)||readSingleQuotedScalar(t,D)||readDoubleQuotedScalar(t,D)){b=true}else if(readAlias(t)){b=true;if(t.tag!==null||t.anchor!==null){throwError(t,"alias node should not have any properties")}}else if(readPlainScalar(t,D,p===i)){b=true;if(t.tag===null){t.tag="?"}}if(t.anchor!==null){t.anchorMap[t.anchor]=t.result}}}else if(v===0){b=y&&readBlockSequence(t,C)}}if(t.tag===null){if(t.anchor!==null){t.anchorMap[t.anchor]=t.result}}else if(t.tag==="?"){if(t.result!==null&&t.kind!=="scalar"){throwError(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"')}for(w=0,E=t.implicitTypes.length;w<E;w+=1){_=t.implicitTypes[w];if(_.resolve(t.result)){t.result=_.construct(t.result);t.tag=_.tag;if(t.anchor!==null){t.anchorMap[t.anchor]=t.result}break}}}else if(t.tag!=="!"){if(h.call(t.typeMap[t.kind||"fallback"],t.tag)){_=t.typeMap[t.kind||"fallback"][t.tag]}else{_=null;S=t.typeMap.multi[t.kind||"fallback"];for(w=0,E=S.length;w<E;w+=1){if(t.tag.slice(0,S[w].tag.length)===S[w].tag){_=S[w];break}}}if(!_){throwError(t,"unknown tag !<"+t.tag+">")}if(t.result!==null&&_.kind!==t.kind){throwError(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+_.kind+'", not "'+t.kind+'"')}if(!_.resolve(t.result,t.tag)){throwError(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}else{t.result=_.construct(t.result,t.tag);if(t.anchor!==null){t.anchorMap[t.anchor]=t.result}}}if(t.listener!==null){t.listener("close",t)}return t.tag!==null||t.anchor!==null||b}function readDocument(t){var r=t.position,i,o,a,u=false,l;t.version=null;t.checkLineBreaks=t.legacy;t.tagMap=Object.create(null);t.anchorMap=Object.create(null);while((l=t.input.charCodeAt(t.position))!==0){skipSeparationSpace(t,true,-1);l=t.input.charCodeAt(t.position);if(t.lineIndent>0||l!==37){break}u=true;l=t.input.charCodeAt(++t.position);i=t.position;while(l!==0&&!is_WS_OR_EOL(l)){l=t.input.charCodeAt(++t.position)}o=t.input.slice(i,t.position);a=[];if(o.length<1){throwError(t,"directive name must not be less than one character in length")}while(l!==0){while(is_WHITE_SPACE(l)){l=t.input.charCodeAt(++t.position)}if(l===35){do{l=t.input.charCodeAt(++t.position)}while(l!==0&&!is_EOL(l));break}if(is_EOL(l))break;i=t.position;while(l!==0&&!is_WS_OR_EOL(l)){l=t.input.charCodeAt(++t.position)}a.push(t.input.slice(i,t.position))}if(l!==0)readLineBreak(t);if(h.call(O,o)){O[o](t,o,a)}else{throwWarning(t,'unknown document directive "'+o+'"')}}skipSeparationSpace(t,true,-1);if(t.lineIndent===0&&t.input.charCodeAt(t.position)===45&&t.input.charCodeAt(t.position+1)===45&&t.input.charCodeAt(t.position+2)===45){t.position+=3;skipSeparationSpace(t,true,-1)}else if(u){throwError(t,"directives end mark is expected")}composeNode(t,t.lineIndent-1,g,false,true);skipSeparationSpace(t,true,-1);if(t.checkLineBreaks&&w.test(t.input.slice(r,t.position))){throwWarning(t,"non-ASCII line breaks are interpreted as content")}t.documents.push(t.result);if(t.position===t.lineStart&&testDocumentSeparator(t)){if(t.input.charCodeAt(t.position)===46){t.position+=3;skipSeparationSpace(t,true,-1)}return}if(t.position<t.length-1){throwError(t,"end of the stream or a document separator is expected")}else{return}}function loadDocuments(t,r){t=String(t);r=r||{};if(t.length!==0){if(t.charCodeAt(t.length-1)!==10&&t.charCodeAt(t.length-1)!==13){t+="\n"}if(t.charCodeAt(0)===65279){t=t.slice(1)}}var i=new State(t,r);var o=t.indexOf("\0");if(o!==-1){i.position=o;throwError(i,"null byte is not allowed in input")}i.input+="\0";while(i.input.charCodeAt(i.position)===32){i.lineIndent+=1;i.position+=1}while(i.position<i.length-1){readDocument(i)}return i.documents}function loadAll(t,r,i){if(r!==null&&typeof r==="object"&&typeof i==="undefined"){i=r;r=null}var o=loadDocuments(t,i);if(typeof r!=="function"){return o}for(var a=0,u=o.length;a<u;a+=1){r(o[a])}}function load(t,r){var i=loadDocuments(t,r);if(i.length===0){return undefined}else if(i.length===1){return i[0]}throw new a("expected a single document in the stream, but found more")}t.exports.loadAll=loadAll;t.exports.load=load},1082:(t,r,i)=>{var o=i(8179);var a=i(6073);function compileList(t,r){var i=[];t[r].forEach((function(t){var r=i.length;i.forEach((function(i,o){if(i.tag===t.tag&&i.kind===t.kind&&i.multi===t.multi){r=o}}));i[r]=t}));return i}function compileMap(){var t={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},r,i;function collectType(r){if(r.multi){t.multi[r.kind].push(r);t.multi["fallback"].push(r)}else{t[r.kind][r.tag]=t["fallback"][r.tag]=r}}for(r=0,i=arguments.length;r<i;r+=1){arguments[r].forEach(collectType)}return t}function Schema(t){return this.extend(t)}Schema.prototype.extend=function extend(t){var r=[];var i=[];if(t instanceof a){i.push(t)}else if(Array.isArray(t)){i=i.concat(t)}else if(t&&(Array.isArray(t.implicit)||Array.isArray(t.explicit))){if(t.implicit)r=r.concat(t.implicit);if(t.explicit)i=i.concat(t.explicit)}else{throw new o("Schema.extend argument should be a Type, [ Type ], "+"or a schema definition ({ implicit: [...], explicit: [...] })")}r.forEach((function(t){if(!(t instanceof a)){throw new o("Specified list of YAML types (or a single Type object) contains a non-Type object.")}if(t.loadKind&&t.loadKind!=="scalar"){throw new o("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")}if(t.multi){throw new o("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}}));i.forEach((function(t){if(!(t instanceof a)){throw new o("Specified list of YAML types (or a single Type object) contains a non-Type object.")}}));var u=Object.create(Schema.prototype);u.implicit=(this.implicit||[]).concat(r);u.explicit=(this.explicit||[]).concat(i);u.compiledImplicit=compileList(u,"implicit");u.compiledExplicit=compileList(u,"explicit");u.compiledTypeMap=compileMap(u.compiledImplicit,u.compiledExplicit);return u};t.exports=Schema},2011:(t,r,i)=>{t.exports=i(1035)},8759:(t,r,i)=>{t.exports=i(2011).extend({implicit:[i(9212),i(6104)],explicit:[i(7900),i(9046),i(6860),i(9548)]})},8562:(t,r,i)=>{var o=i(1082);t.exports=new o({explicit:[i(3619),i(7283),i(6150)]})},1035:(t,r,i)=>{t.exports=i(8562).extend({implicit:[i(721),i(4993),i(1615),i(2705)]})},6975:(t,r,i)=>{var o=i(6829);function getLine(t,r,i,o,a){var u="";var l="";var h=Math.floor(a/2)-1;if(o-r>h){u=" ... ";r=o-h+u.length}if(i-o>h){l=" ...";i=o+h-l.length}return{str:u+t.slice(r,i).replace(/\t/g,"→")+l,pos:o-r+u.length}}function padStart(t,r){return o.repeat(" ",r-t.length)+t}function makeSnippet(t,r){r=Object.create(r||null);if(!t.buffer)return null;if(!r.maxLength)r.maxLength=79;if(typeof r.indent!=="number")r.indent=1;if(typeof r.linesBefore!=="number")r.linesBefore=3;if(typeof r.linesAfter!=="number")r.linesAfter=2;var i=/\r?\n|\r|\0/g;var a=[0];var u=[];var l;var h=-1;while(l=i.exec(t.buffer)){u.push(l.index);a.push(l.index+l[0].length);if(t.position<=l.index&&h<0){h=a.length-2}}if(h<0)h=a.length-1;var p="",d,m;var g=Math.min(t.line+r.linesAfter,u.length).toString().length;var y=r.maxLength-(r.indent+g+3);for(d=1;d<=r.linesBefore;d++){if(h-d<0)break;m=getLine(t.buffer,a[h-d],u[h-d],t.position-(a[h]-a[h-d]),y);p=o.repeat(" ",r.indent)+padStart((t.line-d+1).toString(),g)+" | "+m.str+"\n"+p}m=getLine(t.buffer,a[h],u[h],t.position,y);p+=o.repeat(" ",r.indent)+padStart((t.line+1).toString(),g)+" | "+m.str+"\n";p+=o.repeat("-",r.indent+g+3+m.pos)+"^"+"\n";for(d=1;d<=r.linesAfter;d++){if(h+d>=u.length)break;m=getLine(t.buffer,a[h+d],u[h+d],t.position-(a[h]-a[h+d]),y);p+=o.repeat(" ",r.indent)+padStart((t.line+d+1).toString(),g)+" | "+m.str+"\n"}return p.replace(/\n$/,"")}t.exports=makeSnippet},6073:(t,r,i)=>{var o=i(8179);var a=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"];var u=["scalar","sequence","mapping"];function compileStyleAliases(t){var r={};if(t!==null){Object.keys(t).forEach((function(i){t[i].forEach((function(t){r[String(t)]=i}))}))}return r}function Type(t,r){r=r||{};Object.keys(r).forEach((function(r){if(a.indexOf(r)===-1){throw new o('Unknown option "'+r+'" is met in definition of "'+t+'" YAML type.')}}));this.options=r;this.tag=t;this.kind=r["kind"]||null;this.resolve=r["resolve"]||function(){return true};this.construct=r["construct"]||function(t){return t};this.instanceOf=r["instanceOf"]||null;this.predicate=r["predicate"]||null;this.represent=r["represent"]||null;this.representName=r["representName"]||null;this.defaultStyle=r["defaultStyle"]||null;this.multi=r["multi"]||false;this.styleAliases=compileStyleAliases(r["styleAliases"]||null);if(u.indexOf(this.kind)===-1){throw new o('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')}}t.exports=Type},7900:(t,r,i)=>{var o=i(6073);var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function resolveYamlBinary(t){if(t===null)return false;var r,i,o=0,u=t.length,l=a;for(i=0;i<u;i++){r=l.indexOf(t.charAt(i));if(r>64)continue;if(r<0)return false;o+=6}return o%8===0}function constructYamlBinary(t){var r,i,o=t.replace(/[\r\n=]/g,""),u=o.length,l=a,h=0,p=[];for(r=0;r<u;r++){if(r%4===0&&r){p.push(h>>16&255);p.push(h>>8&255);p.push(h&255)}h=h<<6|l.indexOf(o.charAt(r))}i=u%4*6;if(i===0){p.push(h>>16&255);p.push(h>>8&255);p.push(h&255)}else if(i===18){p.push(h>>10&255);p.push(h>>2&255)}else if(i===12){p.push(h>>4&255)}return new Uint8Array(p)}function representYamlBinary(t){var r="",i=0,o,u,l=t.length,h=a;for(o=0;o<l;o++){if(o%3===0&&o){r+=h[i>>18&63];r+=h[i>>12&63];r+=h[i>>6&63];r+=h[i&63]}i=(i<<8)+t[o]}u=l%3;if(u===0){r+=h[i>>18&63];r+=h[i>>12&63];r+=h[i>>6&63];r+=h[i&63]}else if(u===2){r+=h[i>>10&63];r+=h[i>>4&63];r+=h[i<<2&63];r+=h[64]}else if(u===1){r+=h[i>>2&63];r+=h[i<<4&63];r+=h[64];r+=h[64]}return r}function isBinary(t){return Object.prototype.toString.call(t)==="[object Uint8Array]"}t.exports=new o("tag:yaml.org,2002:binary",{kind:"scalar",resolve:resolveYamlBinary,construct:constructYamlBinary,predicate:isBinary,represent:representYamlBinary})},4993:(t,r,i)=>{var o=i(6073);function resolveYamlBoolean(t){if(t===null)return false;var r=t.length;return r===4&&(t==="true"||t==="True"||t==="TRUE")||r===5&&(t==="false"||t==="False"||t==="FALSE")}function constructYamlBoolean(t){return t==="true"||t==="True"||t==="TRUE"}function isBoolean(t){return Object.prototype.toString.call(t)==="[object Boolean]"}t.exports=new o("tag:yaml.org,2002:bool",{kind:"scalar",resolve:resolveYamlBoolean,construct:constructYamlBoolean,predicate:isBoolean,represent:{lowercase:function(t){return t?"true":"false"},uppercase:function(t){return t?"TRUE":"FALSE"},camelcase:function(t){return t?"True":"False"}},defaultStyle:"lowercase"})},2705:(t,r,i)=>{var o=i(6829);var a=i(6073);var u=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?"+"|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?"+"|[-+]?\\.(?:inf|Inf|INF)"+"|\\.(?:nan|NaN|NAN))$");function resolveYamlFloat(t){if(t===null)return false;if(!u.test(t)||t[t.length-1]==="_"){return false}return true}function constructYamlFloat(t){var r,i;r=t.replace(/_/g,"").toLowerCase();i=r[0]==="-"?-1:1;if("+-".indexOf(r[0])>=0){r=r.slice(1)}if(r===".inf"){return i===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY}else if(r===".nan"){return NaN}return i*parseFloat(r,10)}var l=/^[-+]?[0-9]+e/;function representYamlFloat(t,r){var i;if(isNaN(t)){switch(r){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}}else if(Number.POSITIVE_INFINITY===t){switch(r){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}}else if(Number.NEGATIVE_INFINITY===t){switch(r){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}}else if(o.isNegativeZero(t)){return"-0.0"}i=t.toString(10);return l.test(i)?i.replace("e",".e"):i}function isFloat(t){return Object.prototype.toString.call(t)==="[object Number]"&&(t%1!==0||o.isNegativeZero(t))}t.exports=new a("tag:yaml.org,2002:float",{kind:"scalar",resolve:resolveYamlFloat,construct:constructYamlFloat,predicate:isFloat,represent:representYamlFloat,defaultStyle:"lowercase"})},1615:(t,r,i)=>{var o=i(6829);var a=i(6073);function isHexCode(t){return 48<=t&&t<=57||65<=t&&t<=70||97<=t&&t<=102}function isOctCode(t){return 48<=t&&t<=55}function isDecCode(t){return 48<=t&&t<=57}function resolveYamlInteger(t){if(t===null)return false;var r=t.length,i=0,o=false,a;if(!r)return false;a=t[i];if(a==="-"||a==="+"){a=t[++i]}if(a==="0"){if(i+1===r)return true;a=t[++i];if(a==="b"){i++;for(;i<r;i++){a=t[i];if(a==="_")continue;if(a!=="0"&&a!=="1")return false;o=true}return o&&a!=="_"}if(a==="x"){i++;for(;i<r;i++){a=t[i];if(a==="_")continue;if(!isHexCode(t.charCodeAt(i)))return false;o=true}return o&&a!=="_"}if(a==="o"){i++;for(;i<r;i++){a=t[i];if(a==="_")continue;if(!isOctCode(t.charCodeAt(i)))return false;o=true}return o&&a!=="_"}}if(a==="_")return false;for(;i<r;i++){a=t[i];if(a==="_")continue;if(!isDecCode(t.charCodeAt(i))){return false}o=true}if(!o||a==="_")return false;return true}function constructYamlInteger(t){var r=t,i=1,o;if(r.indexOf("_")!==-1){r=r.replace(/_/g,"")}o=r[0];if(o==="-"||o==="+"){if(o==="-")i=-1;r=r.slice(1);o=r[0]}if(r==="0")return 0;if(o==="0"){if(r[1]==="b")return i*parseInt(r.slice(2),2);if(r[1]==="x")return i*parseInt(r.slice(2),16);if(r[1]==="o")return i*parseInt(r.slice(2),8)}return i*parseInt(r,10)}function isInteger(t){return Object.prototype.toString.call(t)==="[object Number]"&&(t%1===0&&!o.isNegativeZero(t))}t.exports=new a("tag:yaml.org,2002:int",{kind:"scalar",resolve:resolveYamlInteger,construct:constructYamlInteger,predicate:isInteger,represent:{binary:function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},octal:function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},decimal:function(t){return t.toString(10)},hexadecimal:function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},6150:(t,r,i)=>{var o=i(6073);t.exports=new o("tag:yaml.org,2002:map",{kind:"mapping",construct:function(t){return t!==null?t:{}}})},6104:(t,r,i)=>{var o=i(6073);function resolveYamlMerge(t){return t==="<<"||t===null}t.exports=new o("tag:yaml.org,2002:merge",{kind:"scalar",resolve:resolveYamlMerge})},721:(t,r,i)=>{var o=i(6073);function resolveYamlNull(t){if(t===null)return true;var r=t.length;return r===1&&t==="~"||r===4&&(t==="null"||t==="Null"||t==="NULL")}function constructYamlNull(){return null}function isNull(t){return t===null}t.exports=new o("tag:yaml.org,2002:null",{kind:"scalar",resolve:resolveYamlNull,construct:constructYamlNull,predicate:isNull,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"})},9046:(t,r,i)=>{var o=i(6073);var a=Object.prototype.hasOwnProperty;var u=Object.prototype.toString;function resolveYamlOmap(t){if(t===null)return true;var r=[],i,o,l,h,p,d=t;for(i=0,o=d.length;i<o;i+=1){l=d[i];p=false;if(u.call(l)!=="[object Object]")return false;for(h in l){if(a.call(l,h)){if(!p)p=true;else return false}}if(!p)return false;if(r.indexOf(h)===-1)r.push(h);else return false}return true}function constructYamlOmap(t){return t!==null?t:[]}t.exports=new o("tag:yaml.org,2002:omap",{kind:"sequence",resolve:resolveYamlOmap,construct:constructYamlOmap})},6860:(t,r,i)=>{var o=i(6073);var a=Object.prototype.toString;function resolveYamlPairs(t){if(t===null)return true;var r,i,o,u,l,h=t;l=new Array(h.length);for(r=0,i=h.length;r<i;r+=1){o=h[r];if(a.call(o)!=="[object Object]")return false;u=Object.keys(o);if(u.length!==1)return false;l[r]=[u[0],o[u[0]]]}return true}function constructYamlPairs(t){if(t===null)return[];var r,i,o,a,u,l=t;u=new Array(l.length);for(r=0,i=l.length;r<i;r+=1){o=l[r];a=Object.keys(o);u[r]=[a[0],o[a[0]]]}return u}t.exports=new o("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:resolveYamlPairs,construct:constructYamlPairs})},7283:(t,r,i)=>{var o=i(6073);t.exports=new o("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(t){return t!==null?t:[]}})},9548:(t,r,i)=>{var o=i(6073);var a=Object.prototype.hasOwnProperty;function resolveYamlSet(t){if(t===null)return true;var r,i=t;for(r in i){if(a.call(i,r)){if(i[r]!==null)return false}}return true}function constructYamlSet(t){return t!==null?t:{}}t.exports=new o("tag:yaml.org,2002:set",{kind:"mapping",resolve:resolveYamlSet,construct:constructYamlSet})},3619:(t,r,i)=>{var o=i(6073);t.exports=new o("tag:yaml.org,2002:str",{kind:"scalar",construct:function(t){return t!==null?t:""}})},9212:(t,r,i)=>{var o=i(6073);var a=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9])"+"-([0-9][0-9])$");var u=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9]?)"+"-([0-9][0-9]?)"+"(?:[Tt]|[ \\t]+)"+"([0-9][0-9]?)"+":([0-9][0-9])"+":([0-9][0-9])"+"(?:\\.([0-9]*))?"+"(?:[ \\t]*(Z|([-+])([0-9][0-9]?)"+"(?::([0-9][0-9]))?))?$");function resolveYamlTimestamp(t){if(t===null)return false;if(a.exec(t)!==null)return true;if(u.exec(t)!==null)return true;return false}function constructYamlTimestamp(t){var r,i,o,l,h,p,d,m=0,g=null,y,v,A;r=a.exec(t);if(r===null)r=u.exec(t);if(r===null)throw new Error("Date resolve error");i=+r[1];o=+r[2]-1;l=+r[3];if(!r[4]){return new Date(Date.UTC(i,o,l))}h=+r[4];p=+r[5];d=+r[6];if(r[7]){m=r[7].slice(0,3);while(m.length<3){m+="0"}m=+m}if(r[9]){y=+r[10];v=+(r[11]||0);g=(y*60+v)*6e4;if(r[9]==="-")g=-g}A=new Date(Date.UTC(i,o,l,h,p,d,m));if(g)A.setTime(A.getTime()-g);return A}function representYamlTimestamp(t){return t.toISOString()}t.exports=new o("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:resolveYamlTimestamp,construct:constructYamlTimestamp,instanceOf:Date,represent:representYamlTimestamp})},6228:(t,r,i)=>{const o=i(3837);const a=i(610);const u=i(8569);const l=i(479);const isEmptyString=t=>t===""||t==="./";const micromatch=(t,r,i)=>{r=[].concat(r);t=[].concat(t);let o=new Set;let a=new Set;let l=new Set;let h=0;let onResult=t=>{l.add(t.output);if(i&&i.onResult){i.onResult(t)}};for(let l=0;l<r.length;l++){let p=u(String(r[l]),{...i,onResult:onResult},true);let d=p.state.negated||p.state.negatedExtglob;if(d)h++;for(let r of t){let t=p(r,true);let i=d?!t.isMatch:t.isMatch;if(!i)continue;if(d){o.add(t.output)}else{o.delete(t.output);a.add(t.output)}}}let p=h===r.length?[...l]:[...a];let d=p.filter((t=>!o.has(t)));if(i&&d.length===0){if(i.failglob===true){throw new Error(`No matches found for "${r.join(", ")}"`)}if(i.nonull===true||i.nullglob===true){return i.unescape?r.map((t=>t.replace(/\\/g,""))):r}}return d};micromatch.match=micromatch;micromatch.matcher=(t,r)=>u(t,r);micromatch.isMatch=(t,r,i)=>u(r,i)(t);micromatch.any=micromatch.isMatch;micromatch.not=(t,r,i={})=>{r=[].concat(r).map(String);let o=new Set;let a=[];let onResult=t=>{if(i.onResult)i.onResult(t);a.push(t.output)};let u=new Set(micromatch(t,r,{...i,onResult:onResult}));for(let t of a){if(!u.has(t)){o.add(t)}}return[...o]};micromatch.contains=(t,r,i)=>{if(typeof t!=="string"){throw new TypeError(`Expected a string: "${o.inspect(t)}"`)}if(Array.isArray(r)){return r.some((r=>micromatch.contains(t,r,i)))}if(typeof r==="string"){if(isEmptyString(t)||isEmptyString(r)){return false}if(t.includes(r)||t.startsWith("./")&&t.slice(2).includes(r)){return true}}return micromatch.isMatch(t,r,{...i,contains:true})};micromatch.matchKeys=(t,r,i)=>{if(!l.isObject(t)){throw new TypeError("Expected the first argument to be an object")}let o=micromatch(Object.keys(t),r,i);let a={};for(let r of o)a[r]=t[r];return a};micromatch.some=(t,r,i)=>{let o=[].concat(t);for(let t of[].concat(r)){let r=u(String(t),i);if(o.some((t=>r(t)))){return true}}return false};micromatch.every=(t,r,i)=>{let o=[].concat(t);for(let t of[].concat(r)){let r=u(String(t),i);if(!o.every((t=>r(t)))){return false}}return true};micromatch.all=(t,r,i)=>{if(typeof t!=="string"){throw new TypeError(`Expected a string: "${o.inspect(t)}"`)}return[].concat(r).every((r=>u(r,i)(t)))};micromatch.capture=(t,r,i)=>{let o=l.isWindows(i);let a=u.makeRe(String(t),{...i,capture:true});let h=a.exec(o?l.toPosixSlashes(r):r);if(h){return h.slice(1).map((t=>t===void 0?"":t))}};micromatch.makeRe=(...t)=>u.makeRe(...t);micromatch.scan=(...t)=>u.scan(...t);micromatch.parse=(t,r)=>{let i=[];for(let o of[].concat(t||[])){for(let t of a(String(o),r)){i.push(u.parse(t,r))}}return i};micromatch.braces=(t,r)=>{if(typeof t!=="string")throw new TypeError("Expected a string");if(r&&r.nobrace===true||!/\{.*\}/.test(t)){return[t]}return a(t,r)};micromatch.braceExpand=(t,r)=>{if(typeof t!=="string")throw new TypeError("Expected a string");return micromatch.braces(t,{...r,expand:true})};t.exports=micromatch},8569:(t,r,i)=>{t.exports=i(3322)},6099:(t,r,i)=>{const o=i(1017);const a="\\\\/";const u=`[^${a}]`;const l="\\.";const h="\\+";const p="\\?";const d="\\/";const m="(?=.)";const g="[^/]";const y=`(?:${d}|$)`;const v=`(?:^|${d})`;const A=`${l}{1,2}${y}`;const b=`(?!${l})`;const w=`(?!${v}${A})`;const E=`(?!${l}{0,1}${y})`;const S=`(?!${A})`;const _=`[^.${d}]`;const D=`${g}*?`;const C={DOT_LITERAL:l,PLUS_LITERAL:h,QMARK_LITERAL:p,SLASH_LITERAL:d,ONE_CHAR:m,QMARK:g,END_ANCHOR:y,DOTS_SLASH:A,NO_DOT:b,NO_DOTS:w,NO_DOT_SLASH:E,NO_DOTS_SLASH:S,QMARK_NO_DOT:_,STAR:D,START_ANCHOR:v};const x={...C,SLASH_LITERAL:`[${a}]`,QMARK:u,STAR:`${u}*?`,DOTS_SLASH:`${l}{1,2}(?:[${a}]|$)`,NO_DOT:`(?!${l})`,NO_DOTS:`(?!(?:^|[${a}])${l}{1,2}(?:[${a}]|$))`,NO_DOT_SLASH:`(?!${l}{0,1}(?:[${a}]|$))`,NO_DOTS_SLASH:`(?!${l}{1,2}(?:[${a}]|$))`,QMARK_NO_DOT:`[^.${a}]`,START_ANCHOR:`(?:^|[${a}])`,END_ANCHOR:`(?:[${a}]|$)`};const O={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};t.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:O,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:o.sep,extglobChars(t){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${t.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(t){return t===true?x:C}}},2139:(t,r,i)=>{const o=i(6099);const a=i(479);const{MAX_LENGTH:u,POSIX_REGEX_SOURCE:l,REGEX_NON_SPECIAL_CHARS:h,REGEX_SPECIAL_CHARS_BACKREF:p,REPLACEMENTS:d}=o;const expandRange=(t,r)=>{if(typeof r.expandRange==="function"){return r.expandRange(...t,r)}t.sort();const i=`[${t.join("-")}]`;try{new RegExp(i)}catch(r){return t.map((t=>a.escapeRegex(t))).join("..")}return i};const syntaxError=(t,r)=>`Missing ${t}: "${r}" - use "\\\\${r}" to match literal characters`;const parse=(t,r)=>{if(typeof t!=="string"){throw new TypeError("Expected a string")}t=d[t]||t;const i={...r};const m=typeof i.maxLength==="number"?Math.min(u,i.maxLength):u;let g=t.length;if(g>m){throw new SyntaxError(`Input length: ${g}, exceeds maximum allowed length: ${m}`)}const y={type:"bos",value:"",output:i.prepend||""};const v=[y];const A=i.capture?"":"?:";const b=a.isWindows(r);const w=o.globChars(b);const E=o.extglobChars(w);const{DOT_LITERAL:S,PLUS_LITERAL:_,SLASH_LITERAL:D,ONE_CHAR:C,DOTS_SLASH:x,NO_DOT:O,NO_DOT_SLASH:R,NO_DOTS_SLASH:k,QMARK:T,QMARK_NO_DOT:P,STAR:L,START_ANCHOR:I}=w;const globstar=t=>`(${A}(?:(?!${I}${t.dot?x:S}).)*?)`;const M=i.dot?"":O;const B=i.dot?T:P;let N=i.bash===true?globstar(i):L;if(i.capture){N=`(${N})`}if(typeof i.noext==="boolean"){i.noextglob=i.noext}const $={input:t,index:-1,start:0,dot:i.dot===true,consumed:"",output:"",prefix:"",backtrack:false,negated:false,brackets:0,braces:0,parens:0,quotes:0,globstar:false,tokens:v};t=a.removePrefix(t,$);g=t.length;const j=[];const W=[];const H=[];let G=y;let U;const eos=()=>$.index===g-1;const Y=$.peek=(r=1)=>t[$.index+r];const V=$.advance=()=>t[++$.index]||"";const remaining=()=>t.slice($.index+1);const consume=(t="",r=0)=>{$.consumed+=t;$.index+=r};const append=t=>{$.output+=t.output!=null?t.output:t.value;consume(t.value)};const negate=()=>{let t=1;while(Y()==="!"&&(Y(2)!=="("||Y(3)==="?")){V();$.start++;t++}if(t%2===0){return false}$.negated=true;$.start++;return true};const increment=t=>{$[t]++;H.push(t)};const decrement=t=>{$[t]--;H.pop()};const push=t=>{if(G.type==="globstar"){const r=$.braces>0&&(t.type==="comma"||t.type==="brace");const i=t.extglob===true||j.length&&(t.type==="pipe"||t.type==="paren");if(t.type!=="slash"&&t.type!=="paren"&&!r&&!i){$.output=$.output.slice(0,-G.output.length);G.type="star";G.value="*";G.output=N;$.output+=G.output}}if(j.length&&t.type!=="paren"){j[j.length-1].inner+=t.value}if(t.value||t.output)append(t);if(G&&G.type==="text"&&t.type==="text"){G.value+=t.value;G.output=(G.output||"")+t.value;return}t.prev=G;v.push(t);G=t};const extglobOpen=(t,r)=>{const o={...E[r],conditions:1,inner:""};o.prev=G;o.parens=$.parens;o.output=$.output;const a=(i.capture?"(":"")+o.open;increment("parens");push({type:t,value:r,output:$.output?"":C});push({type:"paren",extglob:true,value:V(),output:a});j.push(o)};const extglobClose=t=>{let o=t.close+(i.capture?")":"");let a;if(t.type==="negate"){let u=N;if(t.inner&&t.inner.length>1&&t.inner.includes("/")){u=globstar(i)}if(u!==N||eos()||/^\)+$/.test(remaining())){o=t.close=`)$))${u}`}if(t.inner.includes("*")&&(a=remaining())&&/^\.[^\\/.]+$/.test(a)){const i=parse(a,{...r,fastpaths:false}).output;o=t.close=`)${i})${u})`}if(t.prev.type==="bos"){$.negatedExtglob=true}}push({type:"paren",extglob:true,value:U,output:o});decrement("parens")};if(i.fastpaths!==false&&!/(^[*!]|[/()[\]{}"])/.test(t)){let o=false;let u=t.replace(p,((t,r,i,a,u,l)=>{if(a==="\\"){o=true;return t}if(a==="?"){if(r){return r+a+(u?T.repeat(u.length):"")}if(l===0){return B+(u?T.repeat(u.length):"")}return T.repeat(i.length)}if(a==="."){return S.repeat(i.length)}if(a==="*"){if(r){return r+a+(u?N:"")}return N}return r?t:`\\${t}`}));if(o===true){if(i.unescape===true){u=u.replace(/\\/g,"")}else{u=u.replace(/\\+/g,(t=>t.length%2===0?"\\\\":t?"\\":""))}}if(u===t&&i.contains===true){$.output=t;return $}$.output=a.wrapOutput(u,$,r);return $}while(!eos()){U=V();if(U==="\0"){continue}if(U==="\\"){const t=Y();if(t==="/"&&i.bash!==true){continue}if(t==="."||t===";"){continue}if(!t){U+="\\";push({type:"text",value:U});continue}const r=/^\\+/.exec(remaining());let o=0;if(r&&r[0].length>2){o=r[0].length;$.index+=o;if(o%2!==0){U+="\\"}}if(i.unescape===true){U=V()}else{U+=V()}if($.brackets===0){push({type:"text",value:U});continue}}if($.brackets>0&&(U!=="]"||G.value==="["||G.value==="[^")){if(i.posix!==false&&U===":"){const t=G.value.slice(1);if(t.includes("[")){G.posix=true;if(t.includes(":")){const t=G.value.lastIndexOf("[");const r=G.value.slice(0,t);const i=G.value.slice(t+2);const o=l[i];if(o){G.value=r+o;$.backtrack=true;V();if(!y.output&&v.indexOf(G)===1){y.output=C}continue}}}}if(U==="["&&Y()!==":"||U==="-"&&Y()==="]"){U=`\\${U}`}if(U==="]"&&(G.value==="["||G.value==="[^")){U=`\\${U}`}if(i.posix===true&&U==="!"&&G.value==="["){U="^"}G.value+=U;append({value:U});continue}if($.quotes===1&&U!=='"'){U=a.escapeRegex(U);G.value+=U;append({value:U});continue}if(U==='"'){$.quotes=$.quotes===1?0:1;if(i.keepQuotes===true){push({type:"text",value:U})}continue}if(U==="("){increment("parens");push({type:"paren",value:U});continue}if(U===")"){if($.parens===0&&i.strictBrackets===true){throw new SyntaxError(syntaxError("opening","("))}const t=j[j.length-1];if(t&&$.parens===t.parens+1){extglobClose(j.pop());continue}push({type:"paren",value:U,output:$.parens?")":"\\)"});decrement("parens");continue}if(U==="["){if(i.nobracket===true||!remaining().includes("]")){if(i.nobracket!==true&&i.strictBrackets===true){throw new SyntaxError(syntaxError("closing","]"))}U=`\\${U}`}else{increment("brackets")}push({type:"bracket",value:U});continue}if(U==="]"){if(i.nobracket===true||G&&G.type==="bracket"&&G.value.length===1){push({type:"text",value:U,output:`\\${U}`});continue}if($.brackets===0){if(i.strictBrackets===true){throw new SyntaxError(syntaxError("opening","["))}push({type:"text",value:U,output:`\\${U}`});continue}decrement("brackets");const t=G.value.slice(1);if(G.posix!==true&&t[0]==="^"&&!t.includes("/")){U=`/${U}`}G.value+=U;append({value:U});if(i.literalBrackets===false||a.hasRegexChars(t)){continue}const r=a.escapeRegex(G.value);$.output=$.output.slice(0,-G.value.length);if(i.literalBrackets===true){$.output+=r;G.value=r;continue}G.value=`(${A}${r}|${G.value})`;$.output+=G.value;continue}if(U==="{"&&i.nobrace!==true){increment("braces");const t={type:"brace",value:U,output:"(",outputIndex:$.output.length,tokensIndex:$.tokens.length};W.push(t);push(t);continue}if(U==="}"){const t=W[W.length-1];if(i.nobrace===true||!t){push({type:"text",value:U,output:U});continue}let r=")";if(t.dots===true){const t=v.slice();const o=[];for(let r=t.length-1;r>=0;r--){v.pop();if(t[r].type==="brace"){break}if(t[r].type!=="dots"){o.unshift(t[r].value)}}r=expandRange(o,i);$.backtrack=true}if(t.comma!==true&&t.dots!==true){const i=$.output.slice(0,t.outputIndex);const o=$.tokens.slice(t.tokensIndex);t.value=t.output="\\{";U=r="\\}";$.output=i;for(const t of o){$.output+=t.output||t.value}}push({type:"brace",value:U,output:r});decrement("braces");W.pop();continue}if(U==="|"){if(j.length>0){j[j.length-1].conditions++}push({type:"text",value:U});continue}if(U===","){let t=U;const r=W[W.length-1];if(r&&H[H.length-1]==="braces"){r.comma=true;t="|"}push({type:"comma",value:U,output:t});continue}if(U==="/"){if(G.type==="dot"&&$.index===$.start+1){$.start=$.index+1;$.consumed="";$.output="";v.pop();G=y;continue}push({type:"slash",value:U,output:D});continue}if(U==="."){if($.braces>0&&G.type==="dot"){if(G.value===".")G.output=S;const t=W[W.length-1];G.type="dots";G.output+=U;G.value+=U;t.dots=true;continue}if($.braces+$.parens===0&&G.type!=="bos"&&G.type!=="slash"){push({type:"text",value:U,output:S});continue}push({type:"dot",value:U,output:S});continue}if(U==="?"){const t=G&&G.value==="(";if(!t&&i.noextglob!==true&&Y()==="("&&Y(2)!=="?"){extglobOpen("qmark",U);continue}if(G&&G.type==="paren"){const t=Y();let r=U;if(t==="<"&&!a.supportsLookbehinds()){throw new Error("Node.js v10 or higher is required for regex lookbehinds")}if(G.value==="("&&!/[!=<:]/.test(t)||t==="<"&&!/<([!=]|\w+>)/.test(remaining())){r=`\\${U}`}push({type:"text",value:U,output:r});continue}if(i.dot!==true&&(G.type==="slash"||G.type==="bos")){push({type:"qmark",value:U,output:P});continue}push({type:"qmark",value:U,output:T});continue}if(U==="!"){if(i.noextglob!==true&&Y()==="("){if(Y(2)!=="?"||!/[!=<:]/.test(Y(3))){extglobOpen("negate",U);continue}}if(i.nonegate!==true&&$.index===0){negate();continue}}if(U==="+"){if(i.noextglob!==true&&Y()==="("&&Y(2)!=="?"){extglobOpen("plus",U);continue}if(G&&G.value==="("||i.regex===false){push({type:"plus",value:U,output:_});continue}if(G&&(G.type==="bracket"||G.type==="paren"||G.type==="brace")||$.parens>0){push({type:"plus",value:U});continue}push({type:"plus",value:_});continue}if(U==="@"){if(i.noextglob!==true&&Y()==="("&&Y(2)!=="?"){push({type:"at",extglob:true,value:U,output:""});continue}push({type:"text",value:U});continue}if(U!=="*"){if(U==="$"||U==="^"){U=`\\${U}`}const t=h.exec(remaining());if(t){U+=t[0];$.index+=t[0].length}push({type:"text",value:U});continue}if(G&&(G.type==="globstar"||G.star===true)){G.type="star";G.star=true;G.value+=U;G.output=N;$.backtrack=true;$.globstar=true;consume(U);continue}let r=remaining();if(i.noextglob!==true&&/^\([^?]/.test(r)){extglobOpen("star",U);continue}if(G.type==="star"){if(i.noglobstar===true){consume(U);continue}const o=G.prev;const a=o.prev;const u=o.type==="slash"||o.type==="bos";const l=a&&(a.type==="star"||a.type==="globstar");if(i.bash===true&&(!u||r[0]&&r[0]!=="/")){push({type:"star",value:U,output:""});continue}const h=$.braces>0&&(o.type==="comma"||o.type==="brace");const p=j.length&&(o.type==="pipe"||o.type==="paren");if(!u&&o.type!=="paren"&&!h&&!p){push({type:"star",value:U,output:""});continue}while(r.slice(0,3)==="/**"){const i=t[$.index+4];if(i&&i!=="/"){break}r=r.slice(3);consume("/**",3)}if(o.type==="bos"&&eos()){G.type="globstar";G.value+=U;G.output=globstar(i);$.output=G.output;$.globstar=true;consume(U);continue}if(o.type==="slash"&&o.prev.type!=="bos"&&!l&&eos()){$.output=$.output.slice(0,-(o.output+G.output).length);o.output=`(?:${o.output}`;G.type="globstar";G.output=globstar(i)+(i.strictSlashes?")":"|$)");G.value+=U;$.globstar=true;$.output+=o.output+G.output;consume(U);continue}if(o.type==="slash"&&o.prev.type!=="bos"&&r[0]==="/"){const t=r[1]!==void 0?"|$":"";$.output=$.output.slice(0,-(o.output+G.output).length);o.output=`(?:${o.output}`;G.type="globstar";G.output=`${globstar(i)}${D}|${D}${t})`;G.value+=U;$.output+=o.output+G.output;$.globstar=true;consume(U+V());push({type:"slash",value:"/",output:""});continue}if(o.type==="bos"&&r[0]==="/"){G.type="globstar";G.value+=U;G.output=`(?:^|${D}|${globstar(i)}${D})`;$.output=G.output;$.globstar=true;consume(U+V());push({type:"slash",value:"/",output:""});continue}$.output=$.output.slice(0,-G.output.length);G.type="globstar";G.output=globstar(i);G.value+=U;$.output+=G.output;$.globstar=true;consume(U);continue}const o={type:"star",value:U,output:N};if(i.bash===true){o.output=".*?";if(G.type==="bos"||G.type==="slash"){o.output=M+o.output}push(o);continue}if(G&&(G.type==="bracket"||G.type==="paren")&&i.regex===true){o.output=U;push(o);continue}if($.index===$.start||G.type==="slash"||G.type==="dot"){if(G.type==="dot"){$.output+=R;G.output+=R}else if(i.dot===true){$.output+=k;G.output+=k}else{$.output+=M;G.output+=M}if(Y()!=="*"){$.output+=C;G.output+=C}}push(o)}while($.brackets>0){if(i.strictBrackets===true)throw new SyntaxError(syntaxError("closing","]"));$.output=a.escapeLast($.output,"[");decrement("brackets")}while($.parens>0){if(i.strictBrackets===true)throw new SyntaxError(syntaxError("closing",")"));$.output=a.escapeLast($.output,"(");decrement("parens")}while($.braces>0){if(i.strictBrackets===true)throw new SyntaxError(syntaxError("closing","}"));$.output=a.escapeLast($.output,"{");decrement("braces")}if(i.strictSlashes!==true&&(G.type==="star"||G.type==="bracket")){push({type:"maybe_slash",value:"",output:`${D}?`})}if($.backtrack===true){$.output="";for(const t of $.tokens){$.output+=t.output!=null?t.output:t.value;if(t.suffix){$.output+=t.suffix}}}return $};parse.fastpaths=(t,r)=>{const i={...r};const l=typeof i.maxLength==="number"?Math.min(u,i.maxLength):u;const h=t.length;if(h>l){throw new SyntaxError(`Input length: ${h}, exceeds maximum allowed length: ${l}`)}t=d[t]||t;const p=a.isWindows(r);const{DOT_LITERAL:m,SLASH_LITERAL:g,ONE_CHAR:y,DOTS_SLASH:v,NO_DOT:A,NO_DOTS:b,NO_DOTS_SLASH:w,STAR:E,START_ANCHOR:S}=o.globChars(p);const _=i.dot?b:A;const D=i.dot?w:A;const C=i.capture?"":"?:";const x={negated:false,prefix:""};let O=i.bash===true?".*?":E;if(i.capture){O=`(${O})`}const globstar=t=>{if(t.noglobstar===true)return O;return`(${C}(?:(?!${S}${t.dot?v:m}).)*?)`};const create=t=>{switch(t){case"*":return`${_}${y}${O}`;case".*":return`${m}${y}${O}`;case"*.*":return`${_}${O}${m}${y}${O}`;case"*/*":return`${_}${O}${g}${y}${D}${O}`;case"**":return _+globstar(i);case"**/*":return`(?:${_}${globstar(i)}${g})?${D}${y}${O}`;case"**/*.*":return`(?:${_}${globstar(i)}${g})?${D}${O}${m}${y}${O}`;case"**/.*":return`(?:${_}${globstar(i)}${g})?${m}${y}${O}`;default:{const r=/^(.*?)\.(\w+)$/.exec(t);if(!r)return;const i=create(r[1]);if(!i)return;return i+m+r[2]}}};const R=a.removePrefix(t,x);let k=create(R);if(k&&i.strictSlashes!==true){k+=`${g}?`}return k};t.exports=parse},3322:(t,r,i)=>{const o=i(1017);const a=i(2429);const u=i(2139);const l=i(479);const h=i(6099);const isObject=t=>t&&typeof t==="object"&&!Array.isArray(t);const picomatch=(t,r,i=false)=>{if(Array.isArray(t)){const o=t.map((t=>picomatch(t,r,i)));const arrayMatcher=t=>{for(const r of o){const i=r(t);if(i)return i}return false};return arrayMatcher}const o=isObject(t)&&t.tokens&&t.input;if(t===""||typeof t!=="string"&&!o){throw new TypeError("Expected pattern to be a non-empty string")}const a=r||{};const u=l.isWindows(r);const h=o?picomatch.compileRe(t,r):picomatch.makeRe(t,r,false,true);const p=h.state;delete h.state;let isIgnored=()=>false;if(a.ignore){const t={...r,ignore:null,onMatch:null,onResult:null};isIgnored=picomatch(a.ignore,t,i)}const matcher=(i,o=false)=>{const{isMatch:l,match:d,output:m}=picomatch.test(i,h,r,{glob:t,posix:u});const g={glob:t,state:p,regex:h,posix:u,input:i,output:m,match:d,isMatch:l};if(typeof a.onResult==="function"){a.onResult(g)}if(l===false){g.isMatch=false;return o?g:false}if(isIgnored(i)){if(typeof a.onIgnore==="function"){a.onIgnore(g)}g.isMatch=false;return o?g:false}if(typeof a.onMatch==="function"){a.onMatch(g)}return o?g:true};if(i){matcher.state=p}return matcher};picomatch.test=(t,r,i,{glob:o,posix:a}={})=>{if(typeof t!=="string"){throw new TypeError("Expected input to be a string")}if(t===""){return{isMatch:false,output:""}}const u=i||{};const h=u.format||(a?l.toPosixSlashes:null);let p=t===o;let d=p&&h?h(t):t;if(p===false){d=h?h(t):t;p=d===o}if(p===false||u.capture===true){if(u.matchBase===true||u.basename===true){p=picomatch.matchBase(t,r,i,a)}else{p=r.exec(d)}}return{isMatch:Boolean(p),match:p,output:d}};picomatch.matchBase=(t,r,i,a=l.isWindows(i))=>{const u=r instanceof RegExp?r:picomatch.makeRe(r,i);return u.test(o.basename(t))};picomatch.isMatch=(t,r,i)=>picomatch(r,i)(t);picomatch.parse=(t,r)=>{if(Array.isArray(t))return t.map((t=>picomatch.parse(t,r)));return u(t,{...r,fastpaths:false})};picomatch.scan=(t,r)=>a(t,r);picomatch.compileRe=(t,r,i=false,o=false)=>{if(i===true){return t.output}const a=r||{};const u=a.contains?"":"^";const l=a.contains?"":"$";let h=`${u}(?:${t.output})${l}`;if(t&&t.negated===true){h=`^(?!${h}).*$`}const p=picomatch.toRegex(h,r);if(o===true){p.state=t}return p};picomatch.makeRe=(t,r={},i=false,o=false)=>{if(!t||typeof t!=="string"){throw new TypeError("Expected a non-empty string")}let a={negated:false,fastpaths:true};if(r.fastpaths!==false&&(t[0]==="."||t[0]==="*")){a.output=u.fastpaths(t,r)}if(!a.output){a=u(t,r)}return picomatch.compileRe(a,r,i,o)};picomatch.toRegex=(t,r)=>{try{const i=r||{};return new RegExp(t,i.flags||(i.nocase?"i":""))}catch(t){if(r&&r.debug===true)throw t;return/$^/}};picomatch.constants=h;t.exports=picomatch},2429:(t,r,i)=>{const o=i(479);const{CHAR_ASTERISK:a,CHAR_AT:u,CHAR_BACKWARD_SLASH:l,CHAR_COMMA:h,CHAR_DOT:p,CHAR_EXCLAMATION_MARK:d,CHAR_FORWARD_SLASH:m,CHAR_LEFT_CURLY_BRACE:g,CHAR_LEFT_PARENTHESES:y,CHAR_LEFT_SQUARE_BRACKET:v,CHAR_PLUS:A,CHAR_QUESTION_MARK:b,CHAR_RIGHT_CURLY_BRACE:w,CHAR_RIGHT_PARENTHESES:E,CHAR_RIGHT_SQUARE_BRACKET:S}=i(6099);const isPathSeparator=t=>t===m||t===l;const depth=t=>{if(t.isPrefix!==true){t.depth=t.isGlobstar?Infinity:1}};const scan=(t,r)=>{const i=r||{};const _=t.length-1;const D=i.parts===true||i.scanToEnd===true;const C=[];const x=[];const O=[];let R=t;let k=-1;let T=0;let P=0;let L=false;let I=false;let M=false;let B=false;let N=false;let $=false;let j=false;let W=false;let H=false;let G=false;let U=0;let Y;let V;let z={value:"",depth:0,isGlob:false};const eos=()=>k>=_;const peek=()=>R.charCodeAt(k+1);const advance=()=>{Y=V;return R.charCodeAt(++k)};while(k<_){V=advance();let t;if(V===l){j=z.backslashes=true;V=advance();if(V===g){$=true}continue}if($===true||V===g){U++;while(eos()!==true&&(V=advance())){if(V===l){j=z.backslashes=true;advance();continue}if(V===g){U++;continue}if($!==true&&V===p&&(V=advance())===p){L=z.isBrace=true;M=z.isGlob=true;G=true;if(D===true){continue}break}if($!==true&&V===h){L=z.isBrace=true;M=z.isGlob=true;G=true;if(D===true){continue}break}if(V===w){U--;if(U===0){$=false;L=z.isBrace=true;G=true;break}}}if(D===true){continue}break}if(V===m){C.push(k);x.push(z);z={value:"",depth:0,isGlob:false};if(G===true)continue;if(Y===p&&k===T+1){T+=2;continue}P=k+1;continue}if(i.noext!==true){const t=V===A||V===u||V===a||V===b||V===d;if(t===true&&peek()===y){M=z.isGlob=true;B=z.isExtglob=true;G=true;if(V===d&&k===T){H=true}if(D===true){while(eos()!==true&&(V=advance())){if(V===l){j=z.backslashes=true;V=advance();continue}if(V===E){M=z.isGlob=true;G=true;break}}continue}break}}if(V===a){if(Y===a)N=z.isGlobstar=true;M=z.isGlob=true;G=true;if(D===true){continue}break}if(V===b){M=z.isGlob=true;G=true;if(D===true){continue}break}if(V===v){while(eos()!==true&&(t=advance())){if(t===l){j=z.backslashes=true;advance();continue}if(t===S){I=z.isBracket=true;M=z.isGlob=true;G=true;break}}if(D===true){continue}break}if(i.nonegate!==true&&V===d&&k===T){W=z.negated=true;T++;continue}if(i.noparen!==true&&V===y){M=z.isGlob=true;if(D===true){while(eos()!==true&&(V=advance())){if(V===y){j=z.backslashes=true;V=advance();continue}if(V===E){G=true;break}}continue}break}if(M===true){G=true;if(D===true){continue}break}}if(i.noext===true){B=false;M=false}let q=R;let Q="";let K="";if(T>0){Q=R.slice(0,T);R=R.slice(T);P-=T}if(q&&M===true&&P>0){q=R.slice(0,P);K=R.slice(P)}else if(M===true){q="";K=R}else{q=R}if(q&&q!==""&&q!=="/"&&q!==R){if(isPathSeparator(q.charCodeAt(q.length-1))){q=q.slice(0,-1)}}if(i.unescape===true){if(K)K=o.removeBackslashes(K);if(q&&j===true){q=o.removeBackslashes(q)}}const X={prefix:Q,input:t,start:T,base:q,glob:K,isBrace:L,isBracket:I,isGlob:M,isExtglob:B,isGlobstar:N,negated:W,negatedExtglob:H};if(i.tokens===true){X.maxDepth=0;if(!isPathSeparator(V)){x.push(z)}X.tokens=x}if(i.parts===true||i.tokens===true){let r;for(let o=0;o<C.length;o++){const a=r?r+1:T;const u=C[o];const l=t.slice(a,u);if(i.tokens){if(o===0&&T!==0){x[o].isPrefix=true;x[o].value=Q}else{x[o].value=l}depth(x[o]);X.maxDepth+=x[o].depth}if(o!==0||l!==""){O.push(l)}r=u}if(r&&r+1<t.length){const o=t.slice(r+1);O.push(o);if(i.tokens){x[x.length-1].value=o;depth(x[x.length-1]);X.maxDepth+=x[x.length-1].depth}}X.slashes=C;X.parts=O}return X};t.exports=scan},479:(t,r,i)=>{const o=i(1017);const a=process.platform==="win32";const{REGEX_BACKSLASH:u,REGEX_REMOVE_BACKSLASH:l,REGEX_SPECIAL_CHARS:h,REGEX_SPECIAL_CHARS_GLOBAL:p}=i(6099);r.isObject=t=>t!==null&&typeof t==="object"&&!Array.isArray(t);r.hasRegexChars=t=>h.test(t);r.isRegexChar=t=>t.length===1&&r.hasRegexChars(t);r.escapeRegex=t=>t.replace(p,"\\$1");r.toPosixSlashes=t=>t.replace(u,"/");r.removeBackslashes=t=>t.replace(l,(t=>t==="\\"?"":t));r.supportsLookbehinds=()=>{const t=process.version.slice(1).split(".").map(Number);if(t.length===3&&t[0]>=9||t[0]===8&&t[1]>=10){return true}return false};r.isWindows=t=>{if(t&&typeof t.windows==="boolean"){return t.windows}return a===true||o.sep==="\\"};r.escapeLast=(t,i,o)=>{const a=t.lastIndexOf(i,o);if(a===-1)return t;if(t[a-1]==="\\")return r.escapeLast(t,i,a-1);return`${t.slice(0,a)}\\${t.slice(a)}`};r.removePrefix=(t,r={})=>{let i=t;if(i.startsWith("./")){i=i.slice(2);r.prefix="./"}return i};r.wrapOutput=(t,r={},i={})=>{const o=i.contains?"":"^";const a=i.contains?"":"$";let u=`${o}(?:${t})${a}`;if(r.negated===true){u=`(?:^(?!${u}).*$)`}return u}},1861:(t,r,i)=>{
55
55
  /*!
56
56
  * to-regex-range <https://github.com/micromatch/to-regex-range>
57
57
  *
@@ -60,7 +60,7 @@ t.exports=function(t){if(typeof t==="number"){return t-t===0}if(typeof t==="stri
60
60
  */
61
61
  const o=i(5680);const toRegexRange=(t,r,i)=>{if(o(t)===false){throw new TypeError("toRegexRange: expected the first argument to be a number")}if(r===void 0||t===r){return String(t)}if(o(r)===false){throw new TypeError("toRegexRange: expected the second argument to be a number.")}let a={relaxZeros:true,...i};if(typeof a.strictZeros==="boolean"){a.relaxZeros=a.strictZeros===false}let u=String(a.relaxZeros);let l=String(a.shorthand);let h=String(a.capture);let p=String(a.wrap);let d=t+":"+r+"="+u+l+h+p;if(toRegexRange.cache.hasOwnProperty(d)){return toRegexRange.cache[d].result}let m=Math.min(t,r);let g=Math.max(t,r);if(Math.abs(m-g)===1){let i=t+"|"+r;if(a.capture){return`(${i})`}if(a.wrap===false){return i}return`(?:${i})`}let y=hasPadding(t)||hasPadding(r);let v={min:t,max:r,a:m,b:g};let A=[];let b=[];if(y){v.isPadded=y;v.maxLen=String(v.max).length}if(m<0){let t=g<0?Math.abs(g):1;b=splitToPatterns(t,Math.abs(m),v,a);m=v.a=0}if(g>=0){A=splitToPatterns(m,g,v,a)}v.negatives=b;v.positives=A;v.result=collatePatterns(b,A,a);if(a.capture===true){v.result=`(${v.result})`}else if(a.wrap!==false&&A.length+b.length>1){v.result=`(?:${v.result})`}toRegexRange.cache[d]=v;return v.result};function collatePatterns(t,r,i){let o=filterPatterns(t,r,"-",false,i)||[];let a=filterPatterns(r,t,"",false,i)||[];let u=filterPatterns(t,r,"-?",true,i)||[];let l=o.concat(u).concat(a);return l.join("|")}function splitToRanges(t,r){let i=1;let o=1;let a=countNines(t,i);let u=new Set([r]);while(t<=a&&a<=r){u.add(a);i+=1;a=countNines(t,i)}a=countZeros(r+1,o)-1;while(t<a&&a<=r){u.add(a);o+=1;a=countZeros(r+1,o)-1}u=[...u];u.sort(compare);return u}function rangeToPattern(t,r,i){if(t===r){return{pattern:t,count:[],digits:0}}let o=zip(t,r);let a=o.length;let u="";let l=0;for(let t=0;t<a;t++){let[r,a]=o[t];if(r===a){u+=r}else if(r!=="0"||a!=="9"){u+=toCharacterClass(r,a,i)}else{l++}}if(l){u+=i.shorthand===true?"\\d":"[0-9]"}return{pattern:u,count:[l],digits:a}}function splitToPatterns(t,r,i,o){let a=splitToRanges(t,r);let u=[];let l=t;let h;for(let t=0;t<a.length;t++){let r=a[t];let p=rangeToPattern(String(l),String(r),o);let d="";if(!i.isPadded&&h&&h.pattern===p.pattern){if(h.count.length>1){h.count.pop()}h.count.push(p.count[0]);h.string=h.pattern+toQuantifier(h.count);l=r+1;continue}if(i.isPadded){d=padZeros(r,i,o)}p.string=d+p.pattern+toQuantifier(p.count);u.push(p);l=r+1;h=p}return u}function filterPatterns(t,r,i,o,a){let u=[];for(let a of t){let{string:t}=a;if(!o&&!contains(r,"string",t)){u.push(i+t)}if(o&&contains(r,"string",t)){u.push(i+t)}}return u}function zip(t,r){let i=[];for(let o=0;o<t.length;o++)i.push([t[o],r[o]]);return i}function compare(t,r){return t>r?1:r>t?-1:0}function contains(t,r,i){return t.some((t=>t[r]===i))}function countNines(t,r){return Number(String(t).slice(0,-r)+"9".repeat(r))}function countZeros(t,r){return t-t%Math.pow(10,r)}function toQuantifier(t){let[r=0,i=""]=t;if(i||r>1){return`{${r+(i?","+i:"")}}`}return""}function toCharacterClass(t,r,i){return`[${t}${r-t===1?"":"-"}${r}]`}function hasPadding(t){return/^-?(0+)\d/.test(t)}function padZeros(t,r,i){if(!r.isPadded){return t}let o=Math.abs(r.maxLen-String(t).length);let a=i.relaxZeros!==false;switch(o){case 0:return"";case 1:return a?"0?":"0";case 2:return a?"0{0,2}":"00";default:{return a?`0{0,${o}}`:`0{${o}}`}}}toRegexRange.cache={};toRegexRange.clearCache=()=>toRegexRange.cache={};t.exports=toRegexRange},6144:function(t,r,i){var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.resolveWorkspaceRoot=resolveWorkspaceRoot;r.resolveWorkspaceRootAsync=resolveWorkspaceRootAsync;r.getWorkspaceGlobs=getWorkspaceGlobs;r.getWorkspaceGlobsAsync=getWorkspaceGlobsAsync;const a=o(i(9411));const u=o(i(7742));const l=i(2737);const h=i(6455);const p=i(4679);function resolveWorkspaceRoot(t=u.default.cwd(),r={}){return(0,l.searchParentDirs)(t,((t,i)=>{let o=null;if(r.packageWorkspaces!==false){o=(0,h.tryReadFile)(a.default.join(t,"package.json"));const r=o&&(0,p.workspaceGlobsFromPackage)(o);if(r&&(0,p.pathMatchesWorkspaceGlobs)(r,i)){return t}}if(r.pnpmWorkspaces!==false&&o){const r=(0,h.tryReadFile)(a.default.join(t,"pnpm-workspace.yaml"));const o=r&&(0,p.workspaceGlobsFromPnpm)(r);if(o&&(0,p.pathMatchesWorkspaceGlobs)(o,i)){return t}}}))}function resolveWorkspaceRootAsync(t=u.default.cwd(),r={}){return(0,l.searchParentDirsAsync)(t,(async(t,i)=>{let o=null;if(r.packageWorkspaces!==false){o=await(0,h.tryReadFileAsync)(a.default.join(t,"package.json"));const r=o&&(0,p.workspaceGlobsFromPackage)(o);if(r&&(0,p.pathMatchesWorkspaceGlobs)(r,i)){return t}}if(r.pnpmWorkspaces!==false&&o){const r=await(0,h.tryReadFileAsync)(a.default.join(t,"pnpm-workspace.yaml"));const o=r&&(0,p.workspaceGlobsFromPnpm)(r);if(o&&(0,p.pathMatchesWorkspaceGlobs)(o,i)){return t}}}))}function getWorkspaceGlobs(t=u.default.cwd(),r={}){if(r.packageWorkspaces!==false){const r=(0,h.tryReadFile)(a.default.join(t,"package.json"));const i=r&&(0,p.workspaceGlobsFromPackage)(r);if(i){return i}}if(r.pnpmWorkspaces!==false){const r=(0,h.tryReadFile)(a.default.join(t,"pnpm-workspace.yaml"));const i=r&&(0,p.workspaceGlobsFromPnpm)(r);if(i){return i}}return null}async function getWorkspaceGlobsAsync(t=u.default.cwd(),r={}){if(r.packageWorkspaces!==false){const r=await(0,h.tryReadFileAsync)(a.default.join(t,"package.json"));const i=r&&(0,p.workspaceGlobsFromPackage)(r);if(i){return i}}if(r.pnpmWorkspaces!==false){const r=await(0,h.tryReadFileAsync)(a.default.join(t,"pnpm-workspace.yaml"));const i=r&&(0,p.workspaceGlobsFromPnpm)(r);if(i){return i}}return null}},2737:function(t,r,i){var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.searchParentDirs=searchParentDirs;r.searchParentDirsAsync=searchParentDirsAsync;const a=o(i(9411));const u=o(i(7742));function searchParentDirs(t=u.default.cwd(),r){let i=a.default.normalize(t);let o;do{const u=r(i,a.default.relative(i,t));if(u!==undefined){return u}o=i;i=a.default.dirname(i)}while(i!==o);return null}async function searchParentDirsAsync(t,r){let i=a.default.normalize(t);let o;do{const u=await r(i,a.default.relative(i,t));if(u!==undefined){return u}o=i;i=a.default.dirname(i)}while(i!==o);return null}},6455:function(t,r,i){var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.tryReadFile=tryReadFile;r.tryReadFileAsync=tryReadFileAsync;const a=o(i(7561));function tryReadFile(t){try{return a.default.readFileSync(t,{encoding:"utf-8"})}catch(t){if(shouldIgnoreError(t)){return null}throw t}}function tryReadFileAsync(t){return a.default.promises.readFile(t,{encoding:"utf-8"}).catch((t=>{if(shouldIgnoreError(t)){return null}throw t}))}function shouldIgnoreError(t){return"code"in t&&(t.code==="ENOENT"||t.code==="EISDIR")}},4679:function(t,r,i){var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.pathMatchesWorkspaceGlobs=pathMatchesWorkspaceGlobs;r.workspaceGlobsFromPackage=workspaceGlobsFromPackage;r.workspaceGlobsFromPnpm=workspaceGlobsFromPnpm;const a=i(1917);const u=o(i(6228));function pathMatchesWorkspaceGlobs(t,r){return!r||(0,u.default)([r],t).length>0}function workspaceGlobsFromPackage(t){try{const r=JSON.parse(t);if(Array.isArray(r?.workspaces)){return r.workspaces}if(Array.isArray(r?.workspaces?.packages)){return r.workspaces.packages}}catch(t){if(t.name!=="SyntaxError"){throw t}}return null}function workspaceGlobsFromPnpm(t){try{const r=t?(0,a.load)(t):null;if(Array.isArray(r?.packages)){return r.packages}}catch(t){if(t.name!=="YAMLException"){throw t}}return null}},7561:t=>{t.exports=i(7561)},9411:t=>{t.exports=i(9411)},7742:t=>{t.exports=i(7742)},1017:t=>{t.exports=i(1017)},3837:t=>{t.exports=i(3837)}};var o={};function __nccwpck_require2_(t){var i=o[t];if(i!==undefined){return i.exports}var a=o[t]={exports:{}};var u=true;try{r[t].call(a.exports,a,a.exports,__nccwpck_require2_);u=false}finally{if(u)delete o[t]}return a.exports}if(typeof __nccwpck_require2_!=="undefined")__nccwpck_require2_.ab=__dirname+"/";var a=__nccwpck_require2_(6144);t.exports=a})()},3118:(t,r,i)=>{
62
62
  /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
63
- var o=i(4300);var a=o.Buffer;function copyProps(t,r){for(var i in t){r[i]=t[i]}}if(a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow){t.exports=o}else{copyProps(o,r);r.Buffer=SafeBuffer}function SafeBuffer(t,r,i){return a(t,r,i)}SafeBuffer.prototype=Object.create(a.prototype);copyProps(a,SafeBuffer);SafeBuffer.from=function(t,r,i){if(typeof t==="number"){throw new TypeError("Argument must not be a number")}return a(t,r,i)};SafeBuffer.alloc=function(t,r,i){if(typeof t!=="number"){throw new TypeError("Argument must be a number")}var o=a(t);if(r!==undefined){if(typeof i==="string"){o.fill(r,i)}else{o.fill(r)}}else{o.fill(0)}return o};SafeBuffer.allocUnsafe=function(t){if(typeof t!=="number"){throw new TypeError("Argument must be a number")}return a(t)};SafeBuffer.allocUnsafeSlow=function(t){if(typeof t!=="number"){throw new TypeError("Argument must be a number")}return o.SlowBuffer(t)}},1790:(t,r,i)=>{const o=Symbol("SemVer ANY");class Comparator{static get ANY(){return o}constructor(t,r){r=a(r);if(t instanceof Comparator){if(t.loose===!!r.loose){return t}else{t=t.value}}t=t.trim().split(/\s+/).join(" ");p("comparator",t,r);this.options=r;this.loose=!!r.loose;this.parse(t);if(this.semver===o){this.value=""}else{this.value=this.operator+this.semver.version}p("comp",this)}parse(t){const r=this.options.loose?u[l.COMPARATORLOOSE]:u[l.COMPARATOR];const i=t.match(r);if(!i){throw new TypeError(`Invalid comparator: ${t}`)}this.operator=i[1]!==undefined?i[1]:"";if(this.operator==="="){this.operator=""}if(!i[2]){this.semver=o}else{this.semver=new d(i[2],this.options.loose)}}toString(){return this.value}test(t){p("Comparator.test",t,this.options.loose);if(this.semver===o||t===o){return true}if(typeof t==="string"){try{t=new d(t,this.options)}catch(t){return false}}return h(t,this.operator,this.semver,this.options)}intersects(t,r){if(!(t instanceof Comparator)){throw new TypeError("a Comparator is required")}if(this.operator===""){if(this.value===""){return true}return new m(t.value,r).test(this.value)}else if(t.operator===""){if(t.value===""){return true}return new m(this.value,r).test(t.semver)}r=a(r);if(r.includePrerelease&&(this.value==="<0.0.0-0"||t.value==="<0.0.0-0")){return false}if(!r.includePrerelease&&(this.value.startsWith("<0.0.0")||t.value.startsWith("<0.0.0"))){return false}if(this.operator.startsWith(">")&&t.operator.startsWith(">")){return true}if(this.operator.startsWith("<")&&t.operator.startsWith("<")){return true}if(this.semver.version===t.semver.version&&this.operator.includes("=")&&t.operator.includes("=")){return true}if(h(this.semver,"<",t.semver,r)&&this.operator.startsWith(">")&&t.operator.startsWith("<")){return true}if(h(this.semver,">",t.semver,r)&&this.operator.startsWith("<")&&t.operator.startsWith(">")){return true}return false}}t.exports=Comparator;const a=i(6772);const{safeRe:u,t:l}=i(4063);const h=i(8801);const p=i(3619);const d=i(1490);const m=i(5287)},5287:(t,r,i)=>{class Range{constructor(t,r){r=u(r);if(t instanceof Range){if(t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease){return t}else{return new Range(t.raw,r)}}if(t instanceof l){this.raw=t.value;this.set=[[t]];this.format();return this}this.options=r;this.loose=!!r.loose;this.includePrerelease=!!r.includePrerelease;this.raw=t.trim().split(/\s+/).join(" ");this.set=this.raw.split("||").map((t=>this.parseRange(t.trim()))).filter((t=>t.length));if(!this.set.length){throw new TypeError(`Invalid SemVer Range: ${this.raw}`)}if(this.set.length>1){const t=this.set[0];this.set=this.set.filter((t=>!isNullSet(t[0])));if(this.set.length===0){this.set=[t]}else if(this.set.length>1){for(const t of this.set){if(t.length===1&&isAny(t[0])){this.set=[t];break}}}}this.format()}format(){this.range=this.set.map((t=>t.join(" ").trim())).join("||").trim();return this.range}toString(){return this.range}parseRange(t){const r=(this.options.includePrerelease&&A)|(this.options.loose&&b);const i=r+":"+t;const o=a.get(i);if(o){return o}const u=this.options.loose;const p=u?d[m.HYPHENRANGELOOSE]:d[m.HYPHENRANGE];t=t.replace(p,hyphenReplace(this.options.includePrerelease));h("hyphen replace",t);t=t.replace(d[m.COMPARATORTRIM],g);h("comparator trim",t);t=t.replace(d[m.TILDETRIM],y);h("tilde trim",t);t=t.replace(d[m.CARETTRIM],v);h("caret trim",t);let w=t.split(" ").map((t=>parseComparator(t,this.options))).join(" ").split(/\s+/).map((t=>replaceGTE0(t,this.options)));if(u){w=w.filter((t=>{h("loose invalid filter",t,this.options);return!!t.match(d[m.COMPARATORLOOSE])}))}h("range list",w);const E=new Map;const S=w.map((t=>new l(t,this.options)));for(const t of S){if(isNullSet(t)){return[t]}E.set(t.value,t)}if(E.size>1&&E.has("")){E.delete("")}const _=[...E.values()];a.set(i,_);return _}intersects(t,r){if(!(t instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((i=>isSatisfiable(i,r)&&t.set.some((t=>isSatisfiable(t,r)&&i.every((i=>t.every((t=>i.intersects(t,r)))))))))}test(t){if(!t){return false}if(typeof t==="string"){try{t=new p(t,this.options)}catch(t){return false}}for(let r=0;r<this.set.length;r++){if(testSet(this.set[r],t,this.options)){return true}}return false}}t.exports=Range;const o=i(1191);const a=new o;const u=i(6772);const l=i(1790);const h=i(3619);const p=i(1490);const{safeRe:d,t:m,comparatorTrimReplace:g,tildeTrimReplace:y,caretTrimReplace:v}=i(4063);const{FLAG_INCLUDE_PRERELEASE:A,FLAG_LOOSE:b}=i(9073);const isNullSet=t=>t.value==="<0.0.0-0";const isAny=t=>t.value==="";const isSatisfiable=(t,r)=>{let i=true;const o=t.slice();let a=o.pop();while(i&&o.length){i=o.every((t=>a.intersects(t,r)));a=o.pop()}return i};const parseComparator=(t,r)=>{h("comp",t,r);t=replaceCarets(t,r);h("caret",t);t=replaceTildes(t,r);h("tildes",t);t=replaceXRanges(t,r);h("xrange",t);t=replaceStars(t,r);h("stars",t);return t};const isX=t=>!t||t.toLowerCase()==="x"||t==="*";const replaceTildes=(t,r)=>t.trim().split(/\s+/).map((t=>replaceTilde(t,r))).join(" ");const replaceTilde=(t,r)=>{const i=r.loose?d[m.TILDELOOSE]:d[m.TILDE];return t.replace(i,((r,i,o,a,u)=>{h("tilde",t,r,i,o,a,u);let l;if(isX(i)){l=""}else if(isX(o)){l=`>=${i}.0.0 <${+i+1}.0.0-0`}else if(isX(a)){l=`>=${i}.${o}.0 <${i}.${+o+1}.0-0`}else if(u){h("replaceTilde pr",u);l=`>=${i}.${o}.${a}-${u} <${i}.${+o+1}.0-0`}else{l=`>=${i}.${o}.${a} <${i}.${+o+1}.0-0`}h("tilde return",l);return l}))};const replaceCarets=(t,r)=>t.trim().split(/\s+/).map((t=>replaceCaret(t,r))).join(" ");const replaceCaret=(t,r)=>{h("caret",t,r);const i=r.loose?d[m.CARETLOOSE]:d[m.CARET];const o=r.includePrerelease?"-0":"";return t.replace(i,((r,i,a,u,l)=>{h("caret",t,r,i,a,u,l);let p;if(isX(i)){p=""}else if(isX(a)){p=`>=${i}.0.0${o} <${+i+1}.0.0-0`}else if(isX(u)){if(i==="0"){p=`>=${i}.${a}.0${o} <${i}.${+a+1}.0-0`}else{p=`>=${i}.${a}.0${o} <${+i+1}.0.0-0`}}else if(l){h("replaceCaret pr",l);if(i==="0"){if(a==="0"){p=`>=${i}.${a}.${u}-${l} <${i}.${a}.${+u+1}-0`}else{p=`>=${i}.${a}.${u}-${l} <${i}.${+a+1}.0-0`}}else{p=`>=${i}.${a}.${u}-${l} <${+i+1}.0.0-0`}}else{h("no pr");if(i==="0"){if(a==="0"){p=`>=${i}.${a}.${u}${o} <${i}.${a}.${+u+1}-0`}else{p=`>=${i}.${a}.${u}${o} <${i}.${+a+1}.0-0`}}else{p=`>=${i}.${a}.${u} <${+i+1}.0.0-0`}}h("caret return",p);return p}))};const replaceXRanges=(t,r)=>{h("replaceXRanges",t,r);return t.split(/\s+/).map((t=>replaceXRange(t,r))).join(" ")};const replaceXRange=(t,r)=>{t=t.trim();const i=r.loose?d[m.XRANGELOOSE]:d[m.XRANGE];return t.replace(i,((i,o,a,u,l,p)=>{h("xRange",t,i,o,a,u,l,p);const d=isX(a);const m=d||isX(u);const g=m||isX(l);const y=g;if(o==="="&&y){o=""}p=r.includePrerelease?"-0":"";if(d){if(o===">"||o==="<"){i="<0.0.0-0"}else{i="*"}}else if(o&&y){if(m){u=0}l=0;if(o===">"){o=">=";if(m){a=+a+1;u=0;l=0}else{u=+u+1;l=0}}else if(o==="<="){o="<";if(m){a=+a+1}else{u=+u+1}}if(o==="<"){p="-0"}i=`${o+a}.${u}.${l}${p}`}else if(m){i=`>=${a}.0.0${p} <${+a+1}.0.0-0`}else if(g){i=`>=${a}.${u}.0${p} <${a}.${+u+1}.0-0`}h("xRange return",i);return i}))};const replaceStars=(t,r)=>{h("replaceStars",t,r);return t.trim().replace(d[m.STAR],"")};const replaceGTE0=(t,r)=>{h("replaceGTE0",t,r);return t.trim().replace(d[r.includePrerelease?m.GTE0PRE:m.GTE0],"")};const hyphenReplace=t=>(r,i,o,a,u,l,h,p,d,m,g,y)=>{if(isX(o)){i=""}else if(isX(a)){i=`>=${o}.0.0${t?"-0":""}`}else if(isX(u)){i=`>=${o}.${a}.0${t?"-0":""}`}else if(l){i=`>=${i}`}else{i=`>=${i}${t?"-0":""}`}if(isX(d)){p=""}else if(isX(m)){p=`<${+d+1}.0.0-0`}else if(isX(g)){p=`<${d}.${+m+1}.0-0`}else if(y){p=`<=${d}.${m}.${g}-${y}`}else if(t){p=`<${d}.${m}.${+g+1}-0`}else{p=`<=${p}`}return`${i} ${p}`.trim()};const testSet=(t,r,i)=>{for(let i=0;i<t.length;i++){if(!t[i].test(r)){return false}}if(r.prerelease.length&&!i.includePrerelease){for(let i=0;i<t.length;i++){h(t[i].semver);if(t[i].semver===l.ANY){continue}if(t[i].semver.prerelease.length>0){const o=t[i].semver;if(o.major===r.major&&o.minor===r.minor&&o.patch===r.patch){return true}}}return false}return true}},1490:(t,r,i)=>{const o=i(3619);const{MAX_LENGTH:a,MAX_SAFE_INTEGER:u}=i(9073);const{safeRe:l,t:h}=i(4063);const p=i(6772);const{compareIdentifiers:d}=i(8587);class SemVer{constructor(t,r){r=p(r);if(t instanceof SemVer){if(t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease){return t}else{t=t.version}}else if(typeof t!=="string"){throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`)}if(t.length>a){throw new TypeError(`version is longer than ${a} characters`)}o("SemVer",t,r);this.options=r;this.loose=!!r.loose;this.includePrerelease=!!r.includePrerelease;const i=t.trim().match(r.loose?l[h.LOOSE]:l[h.FULL]);if(!i){throw new TypeError(`Invalid Version: ${t}`)}this.raw=t;this.major=+i[1];this.minor=+i[2];this.patch=+i[3];if(this.major>u||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>u||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>u||this.patch<0){throw new TypeError("Invalid patch version")}if(!i[4]){this.prerelease=[]}else{this.prerelease=i[4].split(".").map((t=>{if(/^[0-9]+$/.test(t)){const r=+t;if(r>=0&&r<u){return r}}return t}))}this.build=i[5]?i[5].split("."):[];this.format()}format(){this.version=`${this.major}.${this.minor}.${this.patch}`;if(this.prerelease.length){this.version+=`-${this.prerelease.join(".")}`}return this.version}toString(){return this.version}compare(t){o("SemVer.compare",this.version,this.options,t);if(!(t instanceof SemVer)){if(typeof t==="string"&&t===this.version){return 0}t=new SemVer(t,this.options)}if(t.version===this.version){return 0}return this.compareMain(t)||this.comparePre(t)}compareMain(t){if(!(t instanceof SemVer)){t=new SemVer(t,this.options)}return d(this.major,t.major)||d(this.minor,t.minor)||d(this.patch,t.patch)}comparePre(t){if(!(t instanceof SemVer)){t=new SemVer(t,this.options)}if(this.prerelease.length&&!t.prerelease.length){return-1}else if(!this.prerelease.length&&t.prerelease.length){return 1}else if(!this.prerelease.length&&!t.prerelease.length){return 0}let r=0;do{const i=this.prerelease[r];const a=t.prerelease[r];o("prerelease compare",r,i,a);if(i===undefined&&a===undefined){return 0}else if(a===undefined){return 1}else if(i===undefined){return-1}else if(i===a){continue}else{return d(i,a)}}while(++r)}compareBuild(t){if(!(t instanceof SemVer)){t=new SemVer(t,this.options)}let r=0;do{const i=this.build[r];const a=t.build[r];o("build compare",r,i,a);if(i===undefined&&a===undefined){return 0}else if(a===undefined){return 1}else if(i===undefined){return-1}else if(i===a){continue}else{return d(i,a)}}while(++r)}inc(t,r,i){switch(t){case"premajor":this.prerelease.length=0;this.patch=0;this.minor=0;this.major++;this.inc("pre",r,i);break;case"preminor":this.prerelease.length=0;this.patch=0;this.minor++;this.inc("pre",r,i);break;case"prepatch":this.prerelease.length=0;this.inc("patch",r,i);this.inc("pre",r,i);break;case"prerelease":if(this.prerelease.length===0){this.inc("patch",r,i)}this.inc("pre",r,i);break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0){this.major++}this.minor=0;this.patch=0;this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0){this.minor++}this.patch=0;this.prerelease=[];break;case"patch":if(this.prerelease.length===0){this.patch++}this.prerelease=[];break;case"pre":{const t=Number(i)?1:0;if(!r&&i===false){throw new Error("invalid increment argument: identifier is empty")}if(this.prerelease.length===0){this.prerelease=[t]}else{let o=this.prerelease.length;while(--o>=0){if(typeof this.prerelease[o]==="number"){this.prerelease[o]++;o=-2}}if(o===-1){if(r===this.prerelease.join(".")&&i===false){throw new Error("invalid increment argument: identifier already exists")}this.prerelease.push(t)}}if(r){let o=[r,t];if(i===false){o=[r]}if(d(this.prerelease[0],r)===0){if(isNaN(this.prerelease[1])){this.prerelease=o}}else{this.prerelease=o}}break}default:throw new Error(`invalid increment argument: ${t}`)}this.raw=this.format();if(this.build.length){this.raw+=`+${this.build.join(".")}`}return this}}t.exports=SemVer},7876:(t,r,i)=>{const o=i(8257);const clean=(t,r)=>{const i=o(t.trim().replace(/^[=v]+/,""),r);return i?i.version:null};t.exports=clean},8801:(t,r,i)=>{const o=i(1561);const a=i(8671);const u=i(3473);const l=i(2967);const h=i(6762);const p=i(973);const cmp=(t,r,i,d)=>{switch(r){case"===":if(typeof t==="object"){t=t.version}if(typeof i==="object"){i=i.version}return t===i;case"!==":if(typeof t==="object"){t=t.version}if(typeof i==="object"){i=i.version}return t!==i;case"":case"=":case"==":return o(t,i,d);case"!=":return a(t,i,d);case">":return u(t,i,d);case">=":return l(t,i,d);case"<":return h(t,i,d);case"<=":return p(t,i,d);default:throw new TypeError(`Invalid operator: ${r}`)}};t.exports=cmp},6899:(t,r,i)=>{const o=i(1490);const a=i(8257);const{safeRe:u,t:l}=i(4063);const coerce=(t,r)=>{if(t instanceof o){return t}if(typeof t==="number"){t=String(t)}if(typeof t!=="string"){return null}r=r||{};let i=null;if(!r.rtl){i=t.match(r.includePrerelease?u[l.COERCEFULL]:u[l.COERCE])}else{const o=r.includePrerelease?u[l.COERCERTLFULL]:u[l.COERCERTL];let a;while((a=o.exec(t))&&(!i||i.index+i[0].length!==t.length)){if(!i||a.index+a[0].length!==i.index+i[0].length){i=a}o.lastIndex=a.index+a[1].length+a[2].length}o.lastIndex=-1}if(i===null){return null}const h=i[2];const p=i[3]||"0";const d=i[4]||"0";const m=r.includePrerelease&&i[5]?`-${i[5]}`:"";const g=r.includePrerelease&&i[6]?`+${i[6]}`:"";return a(`${h}.${p}.${d}${m}${g}`,r)};t.exports=coerce},7375:(t,r,i)=>{const o=i(1490);const compareBuild=(t,r,i)=>{const a=new o(t,i);const u=new o(r,i);return a.compare(u)||a.compareBuild(u)};t.exports=compareBuild},8186:(t,r,i)=>{const o=i(4905);const compareLoose=(t,r)=>o(t,r,true);t.exports=compareLoose},4905:(t,r,i)=>{const o=i(1490);const compare=(t,r,i)=>new o(t,i).compare(new o(r,i));t.exports=compare},6643:(t,r,i)=>{const o=i(8257);const diff=(t,r)=>{const i=o(t,null,true);const a=o(r,null,true);const u=i.compare(a);if(u===0){return null}const l=u>0;const h=l?i:a;const p=l?a:i;const d=!!h.prerelease.length;const m=!!p.prerelease.length;if(m&&!d){if(!p.patch&&!p.minor){return"major"}if(h.patch){return"patch"}if(h.minor){return"minor"}return"major"}const g=d?"pre":"";if(i.major!==a.major){return g+"major"}if(i.minor!==a.minor){return g+"minor"}if(i.patch!==a.patch){return g+"patch"}return"prerelease"};t.exports=diff},1561:(t,r,i)=>{const o=i(4905);const eq=(t,r,i)=>o(t,r,i)===0;t.exports=eq},3473:(t,r,i)=>{const o=i(4905);const gt=(t,r,i)=>o(t,r,i)>0;t.exports=gt},2967:(t,r,i)=>{const o=i(4905);const gte=(t,r,i)=>o(t,r,i)>=0;t.exports=gte},5009:(t,r,i)=>{const o=i(1490);const inc=(t,r,i,a,u)=>{if(typeof i==="string"){u=a;a=i;i=undefined}try{return new o(t instanceof o?t.version:t,i).inc(r,a,u).version}catch(t){return null}};t.exports=inc},6762:(t,r,i)=>{const o=i(4905);const lt=(t,r,i)=>o(t,r,i)<0;t.exports=lt},973:(t,r,i)=>{const o=i(4905);const lte=(t,r,i)=>o(t,r,i)<=0;t.exports=lte},9799:(t,r,i)=>{const o=i(1490);const major=(t,r)=>new o(t,r).major;t.exports=major},7600:(t,r,i)=>{const o=i(1490);const minor=(t,r)=>new o(t,r).minor;t.exports=minor},8671:(t,r,i)=>{const o=i(4905);const neq=(t,r,i)=>o(t,r,i)!==0;t.exports=neq},8257:(t,r,i)=>{const o=i(1490);const parse=(t,r,i=false)=>{if(t instanceof o){return t}try{return new o(t,r)}catch(t){if(!i){return null}throw t}};t.exports=parse},2112:(t,r,i)=>{const o=i(1490);const patch=(t,r)=>new o(t,r).patch;t.exports=patch},5094:(t,r,i)=>{const o=i(8257);const prerelease=(t,r)=>{const i=o(t,r);return i&&i.prerelease.length?i.prerelease:null};t.exports=prerelease},6110:(t,r,i)=>{const o=i(4905);const rcompare=(t,r,i)=>o(r,t,i);t.exports=rcompare},4550:(t,r,i)=>{const o=i(7375);const rsort=(t,r)=>t.sort(((t,i)=>o(i,t,r)));t.exports=rsort},1495:(t,r,i)=>{const o=i(5287);const satisfies=(t,r,i)=>{try{r=new o(r,i)}catch(t){return false}return r.test(t)};t.exports=satisfies},6034:(t,r,i)=>{const o=i(7375);const sort=(t,r)=>t.sort(((t,i)=>o(t,i,r)));t.exports=sort},3863:(t,r,i)=>{const o=i(8257);const valid=(t,r)=>{const i=o(t,r);return i?i.version:null};t.exports=valid},7546:(t,r,i)=>{const o=i(4063);const a=i(9073);const u=i(1490);const l=i(8587);const h=i(8257);const p=i(3863);const d=i(7876);const m=i(5009);const g=i(6643);const y=i(9799);const v=i(7600);const A=i(2112);const b=i(5094);const w=i(4905);const E=i(6110);const S=i(8186);const _=i(7375);const D=i(6034);const C=i(4550);const x=i(3473);const O=i(6762);const R=i(1561);const k=i(8671);const T=i(2967);const P=i(973);const L=i(8801);const I=i(6899);const M=i(1790);const B=i(5287);const N=i(1495);const $=i(382);const j=i(1706);const W=i(7095);const H=i(507);const U=i(8029);const G=i(7714);const Y=i(9104);const V=i(5072);const z=i(9057);const q=i(9550);const Q=i(8693);t.exports={parse:h,valid:p,clean:d,inc:m,diff:g,major:y,minor:v,patch:A,prerelease:b,compare:w,rcompare:E,compareLoose:S,compareBuild:_,sort:D,rsort:C,gt:x,lt:O,eq:R,neq:k,gte:T,lte:P,cmp:L,coerce:I,Comparator:M,Range:B,satisfies:N,toComparators:$,maxSatisfying:j,minSatisfying:W,minVersion:H,validRange:U,outside:G,gtr:Y,ltr:V,intersects:z,simplifyRange:q,subset:Q,SemVer:u,re:o.re,src:o.src,tokens:o.t,SEMVER_SPEC_VERSION:a.SEMVER_SPEC_VERSION,RELEASE_TYPES:a.RELEASE_TYPES,compareIdentifiers:l.compareIdentifiers,rcompareIdentifiers:l.rcompareIdentifiers}},9073:t=>{const r="2.0.0";const i=256;const o=Number.MAX_SAFE_INTEGER||9007199254740991;const a=16;const u=i-6;const l=["major","premajor","minor","preminor","patch","prepatch","prerelease"];t.exports={MAX_LENGTH:i,MAX_SAFE_COMPONENT_LENGTH:a,MAX_SAFE_BUILD_LENGTH:u,MAX_SAFE_INTEGER:o,RELEASE_TYPES:l,SEMVER_SPEC_VERSION:r,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},3619:t=>{const r=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};t.exports=r},8587:t=>{const r=/^[0-9]+$/;const compareIdentifiers=(t,i)=>{const o=r.test(t);const a=r.test(i);if(o&&a){t=+t;i=+i}return t===i?0:o&&!a?-1:a&&!o?1:t<i?-1:1};const rcompareIdentifiers=(t,r)=>compareIdentifiers(r,t);t.exports={compareIdentifiers:compareIdentifiers,rcompareIdentifiers:rcompareIdentifiers}},1191:t=>{class LRUCache{constructor(){this.max=1e3;this.map=new Map}get(t){const r=this.map.get(t);if(r===undefined){return undefined}else{this.map.delete(t);this.map.set(t,r);return r}}delete(t){return this.map.delete(t)}set(t,r){const i=this.delete(t);if(!i&&r!==undefined){if(this.map.size>=this.max){const t=this.map.keys().next().value;this.delete(t)}this.map.set(t,r)}return this}}t.exports=LRUCache},6772:t=>{const r=Object.freeze({loose:true});const i=Object.freeze({});const parseOptions=t=>{if(!t){return i}if(typeof t!=="object"){return r}return t};t.exports=parseOptions},4063:(t,r,i)=>{const{MAX_SAFE_COMPONENT_LENGTH:o,MAX_SAFE_BUILD_LENGTH:a,MAX_LENGTH:u}=i(9073);const l=i(3619);r=t.exports={};const h=r.re=[];const p=r.safeRe=[];const d=r.src=[];const m=r.t={};let g=0;const y="[a-zA-Z0-9-]";const v=[["\\s",1],["\\d",u],[y,a]];const makeSafeRegex=t=>{for(const[r,i]of v){t=t.split(`${r}*`).join(`${r}{0,${i}}`).split(`${r}+`).join(`${r}{1,${i}}`)}return t};const createToken=(t,r,i)=>{const o=makeSafeRegex(r);const a=g++;l(t,a,r);m[t]=a;d[a]=r;h[a]=new RegExp(r,i?"g":undefined);p[a]=new RegExp(o,i?"g":undefined)};createToken("NUMERICIDENTIFIER","0|[1-9]\\d*");createToken("NUMERICIDENTIFIERLOOSE","\\d+");createToken("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${y}*`);createToken("MAINVERSION",`(${d[m.NUMERICIDENTIFIER]})\\.`+`(${d[m.NUMERICIDENTIFIER]})\\.`+`(${d[m.NUMERICIDENTIFIER]})`);createToken("MAINVERSIONLOOSE",`(${d[m.NUMERICIDENTIFIERLOOSE]})\\.`+`(${d[m.NUMERICIDENTIFIERLOOSE]})\\.`+`(${d[m.NUMERICIDENTIFIERLOOSE]})`);createToken("PRERELEASEIDENTIFIER",`(?:${d[m.NUMERICIDENTIFIER]}|${d[m.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASEIDENTIFIERLOOSE",`(?:${d[m.NUMERICIDENTIFIERLOOSE]}|${d[m.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASE",`(?:-(${d[m.PRERELEASEIDENTIFIER]}(?:\\.${d[m.PRERELEASEIDENTIFIER]})*))`);createToken("PRERELEASELOOSE",`(?:-?(${d[m.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${d[m.PRERELEASEIDENTIFIERLOOSE]})*))`);createToken("BUILDIDENTIFIER",`${y}+`);createToken("BUILD",`(?:\\+(${d[m.BUILDIDENTIFIER]}(?:\\.${d[m.BUILDIDENTIFIER]})*))`);createToken("FULLPLAIN",`v?${d[m.MAINVERSION]}${d[m.PRERELEASE]}?${d[m.BUILD]}?`);createToken("FULL",`^${d[m.FULLPLAIN]}$`);createToken("LOOSEPLAIN",`[v=\\s]*${d[m.MAINVERSIONLOOSE]}${d[m.PRERELEASELOOSE]}?${d[m.BUILD]}?`);createToken("LOOSE",`^${d[m.LOOSEPLAIN]}$`);createToken("GTLT","((?:<|>)?=?)");createToken("XRANGEIDENTIFIERLOOSE",`${d[m.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);createToken("XRANGEIDENTIFIER",`${d[m.NUMERICIDENTIFIER]}|x|X|\\*`);createToken("XRANGEPLAIN",`[v=\\s]*(${d[m.XRANGEIDENTIFIER]})`+`(?:\\.(${d[m.XRANGEIDENTIFIER]})`+`(?:\\.(${d[m.XRANGEIDENTIFIER]})`+`(?:${d[m.PRERELEASE]})?${d[m.BUILD]}?`+`)?)?`);createToken("XRANGEPLAINLOOSE",`[v=\\s]*(${d[m.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${d[m.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${d[m.XRANGEIDENTIFIERLOOSE]})`+`(?:${d[m.PRERELEASELOOSE]})?${d[m.BUILD]}?`+`)?)?`);createToken("XRANGE",`^${d[m.GTLT]}\\s*${d[m.XRANGEPLAIN]}$`);createToken("XRANGELOOSE",`^${d[m.GTLT]}\\s*${d[m.XRANGEPLAINLOOSE]}$`);createToken("COERCEPLAIN",`${"(^|[^\\d])"+"(\\d{1,"}${o}})`+`(?:\\.(\\d{1,${o}}))?`+`(?:\\.(\\d{1,${o}}))?`);createToken("COERCE",`${d[m.COERCEPLAIN]}(?:$|[^\\d])`);createToken("COERCEFULL",d[m.COERCEPLAIN]+`(?:${d[m.PRERELEASE]})?`+`(?:${d[m.BUILD]})?`+`(?:$|[^\\d])`);createToken("COERCERTL",d[m.COERCE],true);createToken("COERCERTLFULL",d[m.COERCEFULL],true);createToken("LONETILDE","(?:~>?)");createToken("TILDETRIM",`(\\s*)${d[m.LONETILDE]}\\s+`,true);r.tildeTrimReplace="$1~";createToken("TILDE",`^${d[m.LONETILDE]}${d[m.XRANGEPLAIN]}$`);createToken("TILDELOOSE",`^${d[m.LONETILDE]}${d[m.XRANGEPLAINLOOSE]}$`);createToken("LONECARET","(?:\\^)");createToken("CARETTRIM",`(\\s*)${d[m.LONECARET]}\\s+`,true);r.caretTrimReplace="$1^";createToken("CARET",`^${d[m.LONECARET]}${d[m.XRANGEPLAIN]}$`);createToken("CARETLOOSE",`^${d[m.LONECARET]}${d[m.XRANGEPLAINLOOSE]}$`);createToken("COMPARATORLOOSE",`^${d[m.GTLT]}\\s*(${d[m.LOOSEPLAIN]})$|^$`);createToken("COMPARATOR",`^${d[m.GTLT]}\\s*(${d[m.FULLPLAIN]})$|^$`);createToken("COMPARATORTRIM",`(\\s*)${d[m.GTLT]}\\s*(${d[m.LOOSEPLAIN]}|${d[m.XRANGEPLAIN]})`,true);r.comparatorTrimReplace="$1$2$3";createToken("HYPHENRANGE",`^\\s*(${d[m.XRANGEPLAIN]})`+`\\s+-\\s+`+`(${d[m.XRANGEPLAIN]})`+`\\s*$`);createToken("HYPHENRANGELOOSE",`^\\s*(${d[m.XRANGEPLAINLOOSE]})`+`\\s+-\\s+`+`(${d[m.XRANGEPLAINLOOSE]})`+`\\s*$`);createToken("STAR","(<|>)?=?\\s*\\*");createToken("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");createToken("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},9104:(t,r,i)=>{const o=i(7714);const gtr=(t,r,i)=>o(t,r,">",i);t.exports=gtr},9057:(t,r,i)=>{const o=i(5287);const intersects=(t,r,i)=>{t=new o(t,i);r=new o(r,i);return t.intersects(r,i)};t.exports=intersects},5072:(t,r,i)=>{const o=i(7714);const ltr=(t,r,i)=>o(t,r,"<",i);t.exports=ltr},1706:(t,r,i)=>{const o=i(1490);const a=i(5287);const maxSatisfying=(t,r,i)=>{let u=null;let l=null;let h=null;try{h=new a(r,i)}catch(t){return null}t.forEach((t=>{if(h.test(t)){if(!u||l.compare(t)===-1){u=t;l=new o(u,i)}}}));return u};t.exports=maxSatisfying},7095:(t,r,i)=>{const o=i(1490);const a=i(5287);const minSatisfying=(t,r,i)=>{let u=null;let l=null;let h=null;try{h=new a(r,i)}catch(t){return null}t.forEach((t=>{if(h.test(t)){if(!u||l.compare(t)===1){u=t;l=new o(u,i)}}}));return u};t.exports=minSatisfying},507:(t,r,i)=>{const o=i(1490);const a=i(5287);const u=i(3473);const minVersion=(t,r)=>{t=new a(t,r);let i=new o("0.0.0");if(t.test(i)){return i}i=new o("0.0.0-0");if(t.test(i)){return i}i=null;for(let r=0;r<t.set.length;++r){const a=t.set[r];let l=null;a.forEach((t=>{const r=new o(t.semver.version);switch(t.operator){case">":if(r.prerelease.length===0){r.patch++}else{r.prerelease.push(0)}r.raw=r.format();case"":case">=":if(!l||u(r,l)){l=r}break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${t.operator}`)}}));if(l&&(!i||u(i,l))){i=l}}if(i&&t.test(i)){return i}return null};t.exports=minVersion},7714:(t,r,i)=>{const o=i(1490);const a=i(1790);const{ANY:u}=a;const l=i(5287);const h=i(1495);const p=i(3473);const d=i(6762);const m=i(973);const g=i(2967);const outside=(t,r,i,y)=>{t=new o(t,y);r=new l(r,y);let v,A,b,w,E;switch(i){case">":v=p;A=m;b=d;w=">";E=">=";break;case"<":v=d;A=g;b=p;w="<";E="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(h(t,r,y)){return false}for(let i=0;i<r.set.length;++i){const o=r.set[i];let l=null;let h=null;o.forEach((t=>{if(t.semver===u){t=new a(">=0.0.0")}l=l||t;h=h||t;if(v(t.semver,l.semver,y)){l=t}else if(b(t.semver,h.semver,y)){h=t}}));if(l.operator===w||l.operator===E){return false}if((!h.operator||h.operator===w)&&A(t,h.semver)){return false}else if(h.operator===E&&b(t,h.semver)){return false}}return true};t.exports=outside},9550:(t,r,i)=>{const o=i(1495);const a=i(4905);t.exports=(t,r,i)=>{const u=[];let l=null;let h=null;const p=t.sort(((t,r)=>a(t,r,i)));for(const t of p){const a=o(t,r,i);if(a){h=t;if(!l){l=t}}else{if(h){u.push([l,h])}h=null;l=null}}if(l){u.push([l,null])}const d=[];for(const[t,r]of u){if(t===r){d.push(t)}else if(!r&&t===p[0]){d.push("*")}else if(!r){d.push(`>=${t}`)}else if(t===p[0]){d.push(`<=${r}`)}else{d.push(`${t} - ${r}`)}}const m=d.join(" || ");const g=typeof r.raw==="string"?r.raw:String(r);return m.length<g.length?m:r}},8693:(t,r,i)=>{const o=i(5287);const a=i(1790);const{ANY:u}=a;const l=i(1495);const h=i(4905);const subset=(t,r,i={})=>{if(t===r){return true}t=new o(t,i);r=new o(r,i);let a=false;e:for(const o of t.set){for(const t of r.set){const r=simpleSubset(o,t,i);a=a||r!==null;if(r){continue e}}if(a){return false}}return true};const p=[new a(">=0.0.0-0")];const d=[new a(">=0.0.0")];const simpleSubset=(t,r,i)=>{if(t===r){return true}if(t.length===1&&t[0].semver===u){if(r.length===1&&r[0].semver===u){return true}else if(i.includePrerelease){t=p}else{t=d}}if(r.length===1&&r[0].semver===u){if(i.includePrerelease){return true}else{r=d}}const o=new Set;let a,m;for(const r of t){if(r.operator===">"||r.operator===">="){a=higherGT(a,r,i)}else if(r.operator==="<"||r.operator==="<="){m=lowerLT(m,r,i)}else{o.add(r.semver)}}if(o.size>1){return null}let g;if(a&&m){g=h(a.semver,m.semver,i);if(g>0){return null}else if(g===0&&(a.operator!==">="||m.operator!=="<=")){return null}}for(const t of o){if(a&&!l(t,String(a),i)){return null}if(m&&!l(t,String(m),i)){return null}for(const o of r){if(!l(t,String(o),i)){return false}}return true}let y,v;let A,b;let w=m&&!i.includePrerelease&&m.semver.prerelease.length?m.semver:false;let E=a&&!i.includePrerelease&&a.semver.prerelease.length?a.semver:false;if(w&&w.prerelease.length===1&&m.operator==="<"&&w.prerelease[0]===0){w=false}for(const t of r){b=b||t.operator===">"||t.operator===">=";A=A||t.operator==="<"||t.operator==="<=";if(a){if(E){if(t.semver.prerelease&&t.semver.prerelease.length&&t.semver.major===E.major&&t.semver.minor===E.minor&&t.semver.patch===E.patch){E=false}}if(t.operator===">"||t.operator===">="){y=higherGT(a,t,i);if(y===t&&y!==a){return false}}else if(a.operator===">="&&!l(a.semver,String(t),i)){return false}}if(m){if(w){if(t.semver.prerelease&&t.semver.prerelease.length&&t.semver.major===w.major&&t.semver.minor===w.minor&&t.semver.patch===w.patch){w=false}}if(t.operator==="<"||t.operator==="<="){v=lowerLT(m,t,i);if(v===t&&v!==m){return false}}else if(m.operator==="<="&&!l(m.semver,String(t),i)){return false}}if(!t.operator&&(m||a)&&g!==0){return false}}if(a&&A&&!m&&g!==0){return false}if(m&&b&&!a&&g!==0){return false}if(E||w){return false}return true};const higherGT=(t,r,i)=>{if(!t){return r}const o=h(t.semver,r.semver,i);return o>0?t:o<0?r:r.operator===">"&&t.operator===">="?r:t};const lowerLT=(t,r,i)=>{if(!t){return r}const o=h(t.semver,r.semver,i);return o<0?t:o>0?r:r.operator==="<"&&t.operator==="<="?r:t};t.exports=subset},382:(t,r,i)=>{const o=i(5287);const toComparators=(t,r)=>new o(t,r).set.map((t=>t.map((t=>t.value)).join(" ").trim().split(" ")));t.exports=toComparators},8029:(t,r,i)=>{const o=i(5287);const validRange=(t,r)=>{try{return new o(t,r).range||"*"}catch(t){return null}};t.exports=validRange},4970:(t,r,i)=>{"use strict";const o=i(1504);t.exports=(t="")=>{const r=t.match(o);if(!r){return null}const[i,a]=r[0].replace(/#! ?/,"").split(" ");const u=i.split("/").pop();if(u==="env"){return a}return a?`${u} ${a}`:u}},1504:t=>{"use strict";t.exports=/^#!(.*)/},332:t=>{"use strict";const r="";const i=`${r}[`;const o="";const a={to(t,r){if(!r)return`${i}${t+1}G`;return`${i}${r+1};${t+1}H`},move(t,r){let o="";if(t<0)o+=`${i}${-t}D`;else if(t>0)o+=`${i}${t}C`;if(r<0)o+=`${i}${-r}A`;else if(r>0)o+=`${i}${r}B`;return o},up:(t=1)=>`${i}${t}A`,down:(t=1)=>`${i}${t}B`,forward:(t=1)=>`${i}${t}C`,backward:(t=1)=>`${i}${t}D`,nextLine:(t=1)=>`${i}E`.repeat(t),prevLine:(t=1)=>`${i}F`.repeat(t),left:`${i}G`,hide:`${i}?25l`,show:`${i}?25h`,save:`${r}7`,restore:`${r}8`};const u={up:(t=1)=>`${i}S`.repeat(t),down:(t=1)=>`${i}T`.repeat(t)};const l={screen:`${i}2J`,up:(t=1)=>`${i}1J`.repeat(t),down:(t=1)=>`${i}J`.repeat(t),line:`${i}2K`,lineEnd:`${i}K`,lineStart:`${i}1K`,lines(t){let r="";for(let i=0;i<t;i++)r+=this.line+(i<t-1?a.up():"");if(t)r+=a.left;return r}};t.exports={cursor:a,scroll:u,erase:l,beep:o}},7485:(t,r,i)=>{"use strict";const{Buffer:o}=i(4300);const a=Symbol.for("BufferList");function BufferList(t){if(!(this instanceof BufferList)){return new BufferList(t)}BufferList._init.call(this,t)}BufferList._init=function _init(t){Object.defineProperty(this,a,{value:true});this._bufs=[];this.length=0;if(t){this.append(t)}};BufferList.prototype._new=function _new(t){return new BufferList(t)};BufferList.prototype._offset=function _offset(t){if(t===0){return[0,0]}let r=0;for(let i=0;i<this._bufs.length;i++){const o=r+this._bufs[i].length;if(t<o||i===this._bufs.length-1){return[i,t-r]}r=o}};BufferList.prototype._reverseOffset=function(t){const r=t[0];let i=t[1];for(let t=0;t<r;t++){i+=this._bufs[t].length}return i};BufferList.prototype.get=function get(t){if(t>this.length||t<0){return undefined}const r=this._offset(t);return this._bufs[r[0]][r[1]]};BufferList.prototype.slice=function slice(t,r){if(typeof t==="number"&&t<0){t+=this.length}if(typeof r==="number"&&r<0){r+=this.length}return this.copy(null,0,t,r)};BufferList.prototype.copy=function copy(t,r,i,a){if(typeof i!=="number"||i<0){i=0}if(typeof a!=="number"||a>this.length){a=this.length}if(i>=this.length){return t||o.alloc(0)}if(a<=0){return t||o.alloc(0)}const copy=!!t;const u=this._offset(i);const l=a-i;let h=l;let p=copy&&r||0;let d=u[1];if(i===0&&a===this.length){if(!copy){return this._bufs.length===1?this._bufs[0]:o.concat(this._bufs,this.length)}for(let r=0;r<this._bufs.length;r++){this._bufs[r].copy(t,p);p+=this._bufs[r].length}return t}if(h<=this._bufs[u[0]].length-d){return copy?this._bufs[u[0]].copy(t,r,d,d+h):this._bufs[u[0]].slice(d,d+h)}if(!copy){t=o.allocUnsafe(l)}for(let r=u[0];r<this._bufs.length;r++){const i=this._bufs[r].length-d;if(h>i){this._bufs[r].copy(t,p,d);p+=i}else{this._bufs[r].copy(t,p,d,d+h);p+=i;break}h-=i;if(d){d=0}}if(t.length>p)return t.slice(0,p);return t};BufferList.prototype.shallowSlice=function shallowSlice(t,r){t=t||0;r=typeof r!=="number"?this.length:r;if(t<0){t+=this.length}if(r<0){r+=this.length}if(t===r){return this._new()}const i=this._offset(t);const o=this._offset(r);const a=this._bufs.slice(i[0],o[0]+1);if(o[1]===0){a.pop()}else{a[a.length-1]=a[a.length-1].slice(0,o[1])}if(i[1]!==0){a[0]=a[0].slice(i[1])}return this._new(a)};BufferList.prototype.toString=function toString(t,r,i){return this.slice(r,i).toString(t)};BufferList.prototype.consume=function consume(t){t=Math.trunc(t);if(Number.isNaN(t)||t<=0)return this;while(this._bufs.length){if(t>=this._bufs[0].length){t-=this._bufs[0].length;this.length-=this._bufs[0].length;this._bufs.shift()}else{this._bufs[0]=this._bufs[0].slice(t);this.length-=t;break}}return this};BufferList.prototype.duplicate=function duplicate(){const t=this._new();for(let r=0;r<this._bufs.length;r++){t.append(this._bufs[r])}return t};BufferList.prototype.append=function append(t){if(t==null){return this}if(t.buffer){this._appendBuffer(o.from(t.buffer,t.byteOffset,t.byteLength))}else if(Array.isArray(t)){for(let r=0;r<t.length;r++){this.append(t[r])}}else if(this._isBufferList(t)){for(let r=0;r<t._bufs.length;r++){this.append(t._bufs[r])}}else{if(typeof t==="number"){t=t.toString()}this._appendBuffer(o.from(t))}return this};BufferList.prototype._appendBuffer=function appendBuffer(t){this._bufs.push(t);this.length+=t.length};BufferList.prototype.indexOf=function(t,r,i){if(i===undefined&&typeof r==="string"){i=r;r=undefined}if(typeof t==="function"||Array.isArray(t)){throw new TypeError('The "value" argument must be one of type string, Buffer, BufferList, or Uint8Array.')}else if(typeof t==="number"){t=o.from([t])}else if(typeof t==="string"){t=o.from(t,i)}else if(this._isBufferList(t)){t=t.slice()}else if(Array.isArray(t.buffer)){t=o.from(t.buffer,t.byteOffset,t.byteLength)}else if(!o.isBuffer(t)){t=o.from(t)}r=Number(r||0);if(isNaN(r)){r=0}if(r<0){r=this.length+r}if(r<0){r=0}if(t.length===0){return r>this.length?this.length:r}const a=this._offset(r);let u=a[0];let l=a[1];for(;u<this._bufs.length;u++){const r=this._bufs[u];while(l<r.length){const i=r.length-l;if(i>=t.length){const i=r.indexOf(t,l);if(i!==-1){return this._reverseOffset([u,i])}l=r.length-t.length+1}else{const r=this._reverseOffset([u,l]);if(this._match(r,t)){return r}l++}}l=0}return-1};BufferList.prototype._match=function(t,r){if(this.length-t<r.length){return false}for(let i=0;i<r.length;i++){if(this.get(t+i)!==r[i]){return false}}return true};(function(){const t={readDoubleBE:8,readDoubleLE:8,readFloatBE:4,readFloatLE:4,readInt32BE:4,readInt32LE:4,readUInt32BE:4,readUInt32LE:4,readInt16BE:2,readInt16LE:2,readUInt16BE:2,readUInt16LE:2,readInt8:1,readUInt8:1,readIntBE:null,readIntLE:null,readUIntBE:null,readUIntLE:null};for(const r in t){(function(r){if(t[r]===null){BufferList.prototype[r]=function(t,i){return this.slice(t,t+i)[r](0,i)}}else{BufferList.prototype[r]=function(i=0){return this.slice(i,i+t[r])[r](0)}}})(r)}})();BufferList.prototype._isBufferList=function _isBufferList(t){return t instanceof BufferList||BufferList.isBufferList(t)};BufferList.isBufferList=function isBufferList(t){return t!=null&&t[a]};t.exports=BufferList},2167:(t,r,i)=>{"use strict";const o=i(675).Duplex;const a=i(6919);const u=i(7485);function BufferListStream(t){if(!(this instanceof BufferListStream)){return new BufferListStream(t)}if(typeof t==="function"){this._callback=t;const r=function piper(t){if(this._callback){this._callback(t);this._callback=null}}.bind(this);this.on("pipe",(function onPipe(t){t.on("error",r)}));this.on("unpipe",(function onUnpipe(t){t.removeListener("error",r)}));t=null}u._init.call(this,t);o.call(this)}a(BufferListStream,o);Object.assign(BufferListStream.prototype,u.prototype);BufferListStream.prototype._new=function _new(t){return new BufferListStream(t)};BufferListStream.prototype._write=function _write(t,r,i){this._appendBuffer(t);if(typeof i==="function"){i()}};BufferListStream.prototype._read=function _read(t){if(!this.length){return this.push(null)}t=Math.min(t,this.length);this.push(this.slice(0,t));this.consume(t)};BufferListStream.prototype.end=function end(t){o.prototype.end.call(this,t);if(this._callback){this._callback(null,this.slice());this._callback=null}};BufferListStream.prototype._destroy=function _destroy(t,r){this._bufs.length=0;this.length=0;r(t)};BufferListStream.prototype._isBufferList=function _isBufferList(t){return t instanceof BufferListStream||t instanceof u||BufferListStream.isBufferList(t)};BufferListStream.isBufferList=u.isBufferList;t.exports=BufferListStream;t.exports.BufferListStream=BufferListStream;t.exports.BufferList=u},642:(t,r,i)=>{"use strict";var o=i(3118).Buffer;var a=o.isEncoding||function(t){t=""+t;switch(t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return true;default:return false}};function _normalizeEncoding(t){if(!t)return"utf8";var r;while(true){switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(r)return;t=(""+t).toLowerCase();r=true}}}function normalizeEncoding(t){var r=_normalizeEncoding(t);if(typeof r!=="string"&&(o.isEncoding===a||!a(t)))throw new Error("Unknown encoding: "+t);return r||t}r.s=StringDecoder;function StringDecoder(t){this.encoding=normalizeEncoding(t);var r;switch(this.encoding){case"utf16le":this.text=utf16Text;this.end=utf16End;r=4;break;case"utf8":this.fillLast=utf8FillLast;r=4;break;case"base64":this.text=base64Text;this.end=base64End;r=3;break;default:this.write=simpleWrite;this.end=simpleEnd;return}this.lastNeed=0;this.lastTotal=0;this.lastChar=o.allocUnsafe(r)}StringDecoder.prototype.write=function(t){if(t.length===0)return"";var r;var i;if(this.lastNeed){r=this.fillLast(t);if(r===undefined)return"";i=this.lastNeed;this.lastNeed=0}else{i=0}if(i<t.length)return r?r+this.text(t,i):this.text(t,i);return r||""};StringDecoder.prototype.end=utf8End;StringDecoder.prototype.text=utf8Text;StringDecoder.prototype.fillLast=function(t){if(this.lastNeed<=t.length){t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length);this.lastNeed-=t.length};function utf8CheckByte(t){if(t<=127)return 0;else if(t>>5===6)return 2;else if(t>>4===14)return 3;else if(t>>3===30)return 4;return t>>6===2?-1:-2}function utf8CheckIncomplete(t,r,i){var o=r.length-1;if(o<i)return 0;var a=utf8CheckByte(r[o]);if(a>=0){if(a>0)t.lastNeed=a-1;return a}if(--o<i||a===-2)return 0;a=utf8CheckByte(r[o]);if(a>=0){if(a>0)t.lastNeed=a-2;return a}if(--o<i||a===-2)return 0;a=utf8CheckByte(r[o]);if(a>=0){if(a>0){if(a===2)a=0;else t.lastNeed=a-3}return a}return 0}function utf8CheckExtraBytes(t,r,i){if((r[0]&192)!==128){t.lastNeed=0;return"�"}if(t.lastNeed>1&&r.length>1){if((r[1]&192)!==128){t.lastNeed=1;return"�"}if(t.lastNeed>2&&r.length>2){if((r[2]&192)!==128){t.lastNeed=2;return"�"}}}}function utf8FillLast(t){var r=this.lastTotal-this.lastNeed;var i=utf8CheckExtraBytes(this,t,r);if(i!==undefined)return i;if(this.lastNeed<=t.length){t.copy(this.lastChar,r,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}t.copy(this.lastChar,r,0,t.length);this.lastNeed-=t.length}function utf8Text(t,r){var i=utf8CheckIncomplete(this,t,r);if(!this.lastNeed)return t.toString("utf8",r);this.lastTotal=i;var o=t.length-(i-this.lastNeed);t.copy(this.lastChar,0,o);return t.toString("utf8",r,o)}function utf8End(t){var r=t&&t.length?this.write(t):"";if(this.lastNeed)return r+"�";return r}function utf16Text(t,r){if((t.length-r)%2===0){var i=t.toString("utf16le",r);if(i){var o=i.charCodeAt(i.length-1);if(o>=55296&&o<=56319){this.lastNeed=2;this.lastTotal=4;this.lastChar[0]=t[t.length-2];this.lastChar[1]=t[t.length-1];return i.slice(0,-1)}}return i}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=t[t.length-1];return t.toString("utf16le",r,t.length-1)}function utf16End(t){var r=t&&t.length?this.write(t):"";if(this.lastNeed){var i=this.lastTotal-this.lastNeed;return r+this.lastChar.toString("utf16le",0,i)}return r}function base64Text(t,r){var i=(t.length-r)%3;if(i===0)return t.toString("base64",r);this.lastNeed=3-i;this.lastTotal=3;if(i===1){this.lastChar[0]=t[t.length-1]}else{this.lastChar[0]=t[t.length-2];this.lastChar[1]=t[t.length-1]}return t.toString("base64",r,t.length-i)}function base64End(t){var r=t&&t.length?this.write(t):"";if(this.lastNeed)return r+this.lastChar.toString("base64",0,3-this.lastNeed);return r}function simpleWrite(t){return t.toString(this.encoding)}function simpleEnd(t){return t&&t.length?this.write(t):""}},5667:(t,r,i)=>{var o={child:i(2081),crypto:i(6113),fs:i(7147),os:i(2037),path:i(1017),process:process,util:i(3837)};function Attempt(t,r){var i=o.process.platform;if(i==="darwin")return Mac(t,r);if(i==="linux")return Linux(t,r);if(i==="win32")return Windows(t,r);r(new Error("Platform not yet supported."))}function EscapeDoubleQuotes(t){if(typeof t!=="string")throw new Error("Expected a string.");return t.replace(/"/g,'\\"')}function Exec(){if(arguments.length<1||arguments.length>3){throw new Error("Wrong number of arguments.")}var t=arguments[0];var r={};var end=function(){};if(typeof t!=="string"){throw new Error("Command should be a string.")}if(arguments.length===2){if(o.util.isObject(arguments[1])){r=arguments[1]}else if(o.util.isFunction(arguments[1])){end=arguments[1]}else{throw new Error("Expected options or callback.")}}else if(arguments.length===3){if(o.util.isObject(arguments[1])){r=arguments[1]}else{throw new Error("Expected options to be an object.")}if(o.util.isFunction(arguments[2])){end=arguments[2]}else{throw new Error("Expected callback to be a function.")}}if(/^sudo/i.test(t)){return end(new Error('Command should not be prefixed with "sudo".'))}if(typeof r.name==="undefined"){var i=o.process.title;if(ValidName(i)){r.name=i}else{return end(new Error("process.title cannot be used as a valid name."))}}else if(!ValidName(r.name)){var a="";a+="options.name must be alphanumeric only ";a+="(spaces are allowed) and <= 70 characters.";return end(new Error(a))}if(typeof r.icns!=="undefined"){if(typeof r.icns!=="string"){return end(new Error("options.icns must be a string if provided."))}else if(r.icns.trim().length===0){return end(new Error("options.icns must not be empty if provided."))}}if(typeof r.env!=="undefined"){if(typeof r.env!=="object"){return end(new Error("options.env must be an object if provided."))}else if(Object.keys(r.env).length===0){return end(new Error("options.env must not be empty if provided."))}else{for(var u in r.env){var l=r.env[u];if(typeof u!=="string"||typeof l!=="string"){return end(new Error("options.env environment variables must be strings."))}if(!/^[a-zA-Z_][a-zA-Z0-9_]*$/.test(u)){return end(new Error("options.env has an invalid environment variable name: "+JSON.stringify(u)))}if(/[\r\n]/.test(l)){return end(new Error("options.env has an invalid environment variable value: "+JSON.stringify(l)))}}}}var h=o.process.platform;if(h!=="darwin"&&h!=="linux"&&h!=="win32"){return end(new Error("Platform not yet supported."))}var p={command:t,options:r,uuid:undefined,path:undefined};Attempt(p,end)}function Linux(t,r){LinuxBinary(t,(function(i,a){if(i)return r(i);var p=[];p.push('cd "'+EscapeDoubleQuotes(o.process.cwd())+'";');for(var d in t.options.env){var m=t.options.env[d];p.push("export "+d+'="'+EscapeDoubleQuotes(m)+'";')}p.push('"'+EscapeDoubleQuotes(a)+'"');if(/kdesudo/i.test(a)){p.push("--comment",'"'+t.options.name+" wants to make changes. "+'Enter your password to allow this."');p.push("-d");p.push("--")}else if(/pkexec/i.test(a)){p.push("--disable-internal-agent")}var g="SUDOPROMPT\n";p.push('/bin/bash -c "echo '+EscapeDoubleQuotes(g.trim())+"; "+EscapeDoubleQuotes(t.command)+'"');p=p.join(" ");o.child.exec(p,{encoding:"utf-8",maxBuffer:h},(function(t,i,o){var a=i&&i.slice(0,g.length)===g;if(a)i=i.slice(g.length);if(t&&!a){if(/No authentication agent found/.test(o)){t.message=l}else{t.message=u}}r(t,i,o)}))}))}function LinuxBinary(t,r){var i=0;var a=["/usr/bin/kdesudo","/usr/bin/pkexec"];function test(){if(i===a.length){return r(new Error("Unable to find pkexec or kdesudo."))}var t=a[i++];o.fs.stat(t,(function(i){if(i){if(i.code==="ENOTDIR")return test();if(i.code==="ENOENT")return test();r(i)}else{r(undefined,t)}}))}test()}function Mac(t,r){var i=o.os.tmpdir();if(!i)return r(new Error("os.tmpdir() not defined."));var a=o.process.env.USER;if(!a)return r(new Error("env['USER'] not defined."));UUID(t,(function(a,u){if(a)return r(a);t.uuid=u;t.path=o.path.join(i,t.uuid,t.options.name+".app");function end(i,a,u){Remove(o.path.dirname(t.path),(function(t){if(i)return r(i);if(t)return r(t);r(undefined,a,u)}))}MacApplet(t,(function(r,i,o){if(r)return end(r,i,o);MacIcon(t,(function(r){if(r)return end(r);MacPropertyList(t,(function(r,i,o){if(r)return end(r,i,o);MacCommand(t,(function(r){if(r)return end(r);MacOpen(t,(function(r,i,o){if(r)return end(r,i,o);MacResult(t,end)}))}))}))}))}))}))}function MacApplet(t,r){var i=o.path.dirname(t.path);o.fs.mkdir(i,(function(u){if(u)return r(u);var l=o.path.join(i,"sudo-prompt-applet.zip");o.fs.writeFile(l,a,"base64",(function(i){if(i)return r(i);var a=[];a.push("/usr/bin/unzip");a.push("-o");a.push('"'+EscapeDoubleQuotes(l)+'"');a.push('-d "'+EscapeDoubleQuotes(t.path)+'"');a=a.join(" ");o.child.exec(a,{encoding:"utf-8"},r)}))}))}function MacCommand(t,r){var i=o.path.join(t.path,"Contents","MacOS","sudo-prompt-command");var a=[];a.push('cd "'+EscapeDoubleQuotes(o.process.cwd())+'"');for(var u in t.options.env){var l=t.options.env[u];a.push("export "+u+'="'+EscapeDoubleQuotes(l)+'"')}a.push(t.command);a=a.join("\n");o.fs.writeFile(i,a,"utf-8",r)}function MacIcon(t,r){if(!t.options.icns)return r();o.fs.readFile(t.options.icns,(function(i,a){if(i)return r(i);var u=o.path.join(t.path,"Contents","Resources","applet.icns");o.fs.writeFile(u,a,r)}))}function MacOpen(t,r){var i=o.path.join(t.path,"Contents","MacOS","applet");var a={cwd:o.path.dirname(i),encoding:"utf-8"};o.child.exec("./"+o.path.basename(i),a,r)}function MacPropertyList(t,r){var i=o.path.join(t.path,"Contents","Info.plist");var a=EscapeDoubleQuotes(i);var u=EscapeDoubleQuotes("CFBundleName");var l=t.options.name+" Password Prompt";if(/'/.test(l)){return r(new Error("Value should not contain single quotes."))}var h=[];h.push("/usr/bin/defaults");h.push("write");h.push('"'+a+'"');h.push('"'+u+'"');h.push("'"+l+"'");h=h.join(" ");o.child.exec(h,{encoding:"utf-8"},r)}function MacResult(t,r){var i=o.path.join(t.path,"Contents","MacOS");o.fs.readFile(o.path.join(i,"code"),"utf-8",(function(a,l){if(a){if(a.code==="ENOENT")return r(new Error(u));r(a)}else{o.fs.readFile(o.path.join(i,"stdout"),"utf-8",(function(a,u){if(a)return r(a);o.fs.readFile(o.path.join(i,"stderr"),"utf-8",(function(i,o){if(i)return r(i);l=parseInt(l.trim(),10);if(l===0){r(undefined,u,o)}else{i=new Error("Command failed: "+t.command+"\n"+o);i.code=l;r(i,u,o)}}))}))}}))}function Remove(t,r){if(typeof t!=="string"||!t.trim()){return r(new Error("Argument path not defined."))}var i=[];if(o.process.platform==="win32"){if(/"/.test(t)){return r(new Error("Argument path cannot contain double-quotes."))}i.push('rmdir /s /q "'+t+'"')}else{i.push("/bin/rm");i.push("-rf");i.push('"'+EscapeDoubleQuotes(o.path.normalize(t))+'"')}i=i.join(" ");o.child.exec(i,{encoding:"utf-8"},r)}function UUID(t,r){o.crypto.randomBytes(256,(function(i,a){if(i)a=Date.now()+""+Math.random();var u=o.crypto.createHash("SHA256");u.update("sudo-prompt-3");u.update(t.options.name);u.update(t.command);u.update(a);var l=u.digest("hex").slice(-32);if(!l||typeof l!=="string"||l.length!==32){return r(new Error("Expected a valid UUID."))}r(undefined,l)}))}function ValidName(t){if(!/^[a-z0-9 ]+$/i.test(t))return false;if(t.trim().length===0)return false;if(t.length>70)return false;return true}function Windows(t,r){var i=o.os.tmpdir();if(!i)return r(new Error("os.tmpdir() not defined."));UUID(t,(function(a,u){if(a)return r(a);t.uuid=u;t.path=o.path.join(i,t.uuid);if(/"/.test(t.path)){return r(new Error("instance.path cannot contain double-quotes."))}t.pathElevate=o.path.join(t.path,"elevate.vbs");t.pathExecute=o.path.join(t.path,"execute.bat");t.pathCommand=o.path.join(t.path,"command.bat");t.pathStdout=o.path.join(t.path,"stdout");t.pathStderr=o.path.join(t.path,"stderr");t.pathStatus=o.path.join(t.path,"status");o.fs.mkdir(t.path,(function(i){if(i)return r(i);function end(i,o,a){Remove(t.path,(function(t){if(i)return r(i);if(t)return r(t);r(undefined,o,a)}))}WindowsWriteExecuteScript(t,(function(r){if(r)return end(r);WindowsWriteCommandScript(t,(function(r){if(r)return end(r);WindowsElevate(t,(function(r,i,o){if(r)return end(r,i,o);WindowsWaitForStatus(t,(function(r){if(r)return end(r);WindowsResult(t,end)}))}))}))}))}))}))}function WindowsElevate(t,r){var i=[];i.push("powershell.exe");i.push("Start-Process");i.push("-FilePath");i.push("\"'"+t.pathExecute.replace(/'/g,"`'")+"'\"");i.push("-WindowStyle hidden");i.push("-Verb runAs");i=i.join(" ");var a=o.child.exec(i,{encoding:"utf-8"},(function(t,i,o){if(t)return r(new Error(u),i,o);r()}));a.stdin.end()}function WindowsResult(t,r){o.fs.readFile(t.pathStatus,"utf-8",(function(i,a){if(i)return r(i);o.fs.readFile(t.pathStdout,"utf-8",(function(i,u){if(i)return r(i);o.fs.readFile(t.pathStderr,"utf-8",(function(i,o){if(i)return r(i);a=parseInt(a.trim(),10);if(a===0){r(undefined,u,o)}else{i=new Error("Command failed: "+t.command+"\r\n"+o);i.code=a;r(i,u,o)}}))}))}))}function WindowsWaitForStatus(t,r){o.fs.stat(t.pathStatus,(function(i,a){if(i&&i.code==="ENOENT"||a.size<2){setTimeout((function(){o.fs.stat(t.pathStdout,(function(i){if(i)return r(new Error(u));WindowsWaitForStatus(t,r)}))}),1e3)}else if(i){r(i)}else{r()}}))}function WindowsWriteCommandScript(t,r){var i=o.process.cwd();if(/"/.test(i)){return r(new Error("process.cwd() cannot contain double-quotes."))}var a=[];a.push("@echo off");a.push("chcp 65001>nul");a.push('cd /d "'+i+'"');for(var u in t.options.env){var l=t.options.env[u];a.push("set "+u+"="+l.replace(/([<>\\|&^])/g,"^$1"))}a.push(t.command);a=a.join("\r\n");o.fs.writeFile(t.pathCommand,a,"utf-8",r)}function WindowsWriteElevateScript(t,r){}function WindowsWriteExecuteScript(t,r){var i=[];i.push("@echo off");i.push('call "'+t.pathCommand+'"'+' > "'+t.pathStdout+'" 2> "'+t.pathStderr+'"');i.push('(echo %ERRORLEVEL%) > "'+t.pathStatus+'"');i=i.join("\r\n");o.fs.writeFile(t.pathExecute,i,"utf-8",r)}t.exports.exec=Exec;var a="UEsDBAoAAAAAAO1YcEcAAAAAAAAAAAAAAAAJABwAQ29udGVudHMvVVQJAAPNnElWLZEQV3V4CwABBPUBAAAEFAAAAFBLAwQUAAAACACgeXBHlHaGqKEBAAC+AwAAEwAcAENvbnRlbnRzL0luZm8ucGxpc3RVVAkAA1zWSVYtkRBXdXgLAAEE9QEAAAQUAAAAfZNRb5swFIWfl1/BeA9OpSmqJkqVBCJFop1VyKQ9Ta59S6wa27NNCfv1M0naJWTsEXO+c8+9vo7v97UI3sBYruRdeBPNwgAkVYzL6i7cluvpbXifTOLP6bdV+QNngRbcugBvl/lmFYRThBZaC0AoLdMA55uiDLwHQtljGIQ75/RXhNq2jUiviqiqe6FF2CgNxnW5N5t6IGKOhb7M0f0ijj9lnLpk8il+hS5ZrZeNZAIWQqj2ge+B5YoSwX8T5xEbo17ktc40gIZQCm8glK5BuieovP5Dbp3xHSeZrHyCXYxO3wM+2wNtHHkWMAQP/bkxbkOVXPMxKuK0Dz6CMh+Wv3AwQ9gPM7INU1NtVK3Ha8sXlfoB+m6J6b4fRzv0mkezMf6R1Fe5MbG2VYYF+L+lMaGvpIKy01cOC4zzMazYKeNOQYuDYkjfjMcteCWJa8w/Zi2ugubFA5e8buqisw7qU81ltzB0xx3QC5/TFh7J/e385/zL+7+/wWbR/LwIOl/dvHiCXw03YFfEPJ9dwsWu5sV2kwnod3QoeLeL0eGdJJM/UEsDBAoAAAAAAHSBjkgAAAAAAAAAAAAAAAAPABwAQ29udGVudHMvTWFjT1MvVVQJAAMbpQ9XLZEQV3V4CwABBPUBAAAEFAAAAFBLAwQUAAAACABVHBdH7Dk4KTIIAADIYQAAFQAcAENvbnRlbnRzL01hY09TL2FwcGxldFVUCQADMiPZVVOlD1d1eAsAAQT1AQAABBQAAADtnG9sHEcVwGfti7M1/rONLNVtXHqpzsipis+pHOSWFOzEm25at3XrJI2ozbK+W/suuds79vaSuCKSpaOIxRy1+NSPRPAhlWj7AVRaQCWpTRz+CEo+RSKCCho4K67kVhUyAeV4b3fWt17fXZqKFgHvp8zO3/dmdmfPmtl5L7+8/uPXGWMNELZCaGRMgmjHIlxaBCibdcoGsewCljGCIAiCIAiCIAiCIP7r+M21d67zjb/zEaAdwr1bGHuWMQH2/2wAgqqODj0kf0F+8nGfoFRbJ8p9U0C5g/KRgwEZqZLGfrfwwJx+LP2kVWkelD9zJ2NfBr1nWt2xrhNisxWZ3Ex6MpNSc1Z+soqOO+5i7JMYt7vj9BC5jiZXBwirCT2V1c0qOgZAxwMYt9cbRyxnmUljusa9mKBjGON2tgG/PlXNGyeSRlxNGlOZKjpeBR0KxsFx+MB7VJy5GB46OOSrCLPKfEjrH3/gFry+4zOpuH8sm+VF5srW6ltVjZQ3HVnL3KRDDLsflMSADpyDyjuR0urp6AAdHRgHdOD9iOs6Ypl0OmPUupeecOW19OsQAmn3tzBy4LFH5OED3jz0MbYouM8D460BOdTXCaEF6tsgLkF8GeJPQBj16Rb4PTf5xl2NH4J8a5Vy1N3F3OcZzefMaCo5GeVTuJ2P4cUf/aH5qbbP73/utpfeevdbLzwfYfy+Q80woGan/1E+ljo/703g77IaOJY479t5rqFLDag9OjaTs/R0dCQ5aWrmTHS/qaX1ExnzWC66L2PqY7p5PBnTc71TXnn0sG7mkhkjFx3a0IL30e/rQxB+EXL68J4BBLe73r298DySk5tlGPtJY1BmOhZTc727PBH2Ke+ZhF35nTyP80oQBEEQBPFRcJTZVwpvrxZWpLmJkN0VKT4q2iORUGFBOPfnBuFX9nhELOG67f1D9pWxpw4XVrrmTklz+ZY5Wfwurm/t3ffi9cE+uM41vYbbj2fP5kNXt9sXiopwVRj6xhPlr160mttfuVi4Fs2vXv2rfc5u7UeZfxQ+y4pPh/JrpyUUBjmrofzmadGXKf0eui7KK/ZwJLQUiuRAe+mLUFQ+tFKUV3npd7AU9ytz8iqIiXYoUnoBsqdxDbXk3CXcRov9lYhoW5EQjBxb4NoSY9iQsvn5+QSuusrduAybL3eHIIIbLqyIS9CHlY3loB8rldVKuLfyOsE1+a6zhUVxYsFp3Amqz8tr7Lz8dza1JF8TmC3/syivYVtcfxcWOycWQDvuLcrdnc61y7mGnWsErgmsXDbK5TKkscnypJvGhsuH3TQ2X37YTaPQ8ucw7W6t1LR2TFfjekqb0SGTiedTOmz0klZSSyWf0U01pqVSufXGmThsjs20OpU3Yrjuxbnu4u+GP8b1LO6PcX2L4Q6+v8Q07u9aQFLy71Ckt54TIfjfNdzfDkMYhTAOIXHXh39vCYIgCIIgCIIgCIL4z3Nm+84/Ci1Nn8b0ryHsgbBX1rbgOXD7LZJzNtrC0/gFqYOn8csQ/GONguQchPXzcvy+9CBzvk84HxkO+tJH3bRz5Fb0pb/nS3/fl/6BL/2aL43faLzz3Wbmju8W5p6pttaoR9THjgyZ0zEeH2eqqmbNzLShpXVIpxOqflKP5S1dTehaXDeZqhvHk2bGYOo+LZXal0lnM4ZuWMPJXFazYgmmPp7VjWF9SsunrPVa1HpMn0lPm2r8hGZO3aea+nQyZ+mmmtNjFp5i4oG0lTChE+eDj2pm8lbSgDFoln4yCRp00zQyEDmZtBZLbGxnanHzgWh092d29e/uv+/f+DIQBEEQBEEQBEEQ/7P81rX/FxoZm/Xs/5UmtP8PO/W3M9fGvKoPAEfYXLQJ1HOpmk+AJx80OOb5m/URGG9z9c378rVs9F15tPXP1dS3wvVtC+Q9/H4DFX21fQcY9zvo9eXrj6++D0Af1zfqy9eyx3f16QnVMayufr+zXN+sL99YRx/O69er+RdIgXkNxJv9DfBTDIxLPa6Zudr6enz5euO6ke9Bj7TRzr0noK+JbczfyA9hgOvr9OX98t57XNFX3ydhlOsL+2T8+oK/ucrvNOCfEHbbXhAqeebLB/0V7oYp7+Pt8PsZWnl1+urRpAn7SUCcYBX/hkth95kd2cFYllX3bxB4+xCrzcCO6v4PbXzo1fwbEM/H4ds/f/nCgZH+8k+j0vNPv7Jlz7qPQ1PFx+FVPoZ76ozj42K87YP9/cT7xuf9UfpSeP0MsJvzp0A8/4g3w+78ef4R+F4QBEEQBPH/w1Gm2FeUwturytwpUSnmJfta4Q3h3J8aFeE9xf7d1ZBSOCcqhftZ/m+YKuG6wV4qaQzdGED0Z2jJ/zpa9ZcegjIF7fkVaIBrt11nJxYOOepXpPPyKjsvvytOLcnvCWxJfh87V+xTa0rx1Kpj0a8UFqWJhXL3fgHt9xXn+rCz7Bop3rkTEkNj5e7bIZ7HNRZb/ku5XE6g58HyZUzdj6mLjh1/Pbt7XMt5dvfvtLl1Fbv7BtbhrtyEPW6V038H1yE88yQTTkqC1LJVnIeaCNe7dr3sEPEe6lCb9LWGfa3efvNG8pe5fF8NeW8g3n7jCI+/xOOEVH19KvF9oudHH2n/YOtYgiAIgiAIgiAIgiA+fm69mx3aO8bYtkHn/xlwDq8nkwaavz9h9swzc+DWwRrm71A5CJVVjeChTtk26Fqwu0fxQjUL+9vqHVV/KC53OUd+bJxVfBkw7/gzCO5pr3dOK/g+WUQDeZlV/A2QRwJ5THjn1/xcd9BfhlT1KbgpVwLn+W2amGr2//8CUEsDBBQAAAAIAAVHj0ga7FYjfQEAAKoCAAAhABwAQ29udGVudHMvTWFjT1Mvc3Vkby1wcm9tcHQtc2NyaXB0VVQJAAOJkBBXipAQV3V4CwABBPUBAAAEFAAAAI1SO08cMRDu91cMHIKGxUB5xSGEUqTlFKWMvPYca+EXnjGXy6/PeNcg0qVay+PvObs5U5OLatI0DxvYIwNVm4BdQGIdMhxSkauJ8K1i7FOjvSdwB2A+/WJnXpEJdEGwjvTk0W6HhTW8WldgzKDedVF2Ug2tLn7svz3DDpTFdxWr93C/u7wbVKWyoDhVM/8XZAOPOXvcm+IyXxGcizeaUca0XJ1D0CfQnlEysE2VwbuII0br4gvdCMF37m9IoC39+oxTO2EpS8oZJdtRS0aIKY5/sCQoyLVEMMki6Ghl0BGN9SeuICkPIctXDHDDSB9oGEQi1yZWUAda8EZnIcR/eIOOVao+9TrbkpYFjLmkkHk0KYSGvdt12/e71cP6Hs2c4OJBemtsYusplVX+GLHQ7DKkQ098/ZF38dLEpRCeNUMlMW90BIseeQkWtuu2qKmIyDHCuqFuo1N11Ud/1Cf6CHb7Sfxld2ATklQoUGEDActfZ5326WU74G/HcDv8BVBLAwQKAAAAAADtWHBHqiAGewgAAAAIAAAAEAAcAENvbnRlbnRzL1BrZ0luZm9VVAkAA82cSVYqkRBXdXgLAAEE9QEAAAQUAAAAQVBQTGFwbHRQSwMECgAAAAAAm3lwRwAAAAAAAAAAAAAAABMAHABDb250ZW50cy9SZXNvdXJjZXMvVVQJAANW1klWLZEQV3V4CwABBPUBAAAEFAAAAFBLAwQUAAAACACAeXBHfrnysfYGAAAf3AAAHgAcAENvbnRlbnRzL1Jlc291cmNlcy9hcHBsZXQuaWNuc1VUCQADH9ZJVnGlD1d1eAsAAQT1AQAABBQAAADt3Xk81Hkcx/Hvb5yVo5bGsVlKbcpRRqFlGZGS5JikRBIdI0OZttMZloqiYwrVjD1UqJaUokTRubG72bZVjqR1VZNjp2XEGo9H+9gt+9h/9tHx8H7N4/fw5MHjYeaPz+P7+P7x/bL9griEPNBm+001J0S+ZbvL/NmKwzWHE0IUHebYuRFCEckjL9v/xSvk2EpCpBXZtrYuDra2Oi4hwSvZgSsIMU9MdPdePcZd1aqQu0p3fDkrcFrs+mPWihMU9y6clp5XEFFdbRrEczCtGtfkL3pWfvBGublJ4ct051kuocYtaaqll/IjdfR+V75vlTdl//AJVZU6elZ5f0S7NO3MaE2xMElhF+TUrHgW2nFYeGTrs/OrhDJN5zMX8ZJVKXrqSUM1Rj03bnf85/pJMXECNdl0D1ctfe/j82imziM2nllSa3t5q8+vP1f38k/k22uN1lmnvfz0b8dGxO+mnh91v7WB2tKdrG3d4vmJaHlTvjGzdMqWcw/9frnCtQpPZK9sMKi/Ey/jzgqIPzBy9/dlf9griI2/u+sjcApozWx6/NXytC+qBTlrhb69fE7J6tgOzpWjFSl8qxihr5dYf/qExoeupY6Ze/j2PfL1azhhZ8fU3eelJY+ylk16UJN6KmOU0M4r+75cZhH/mxNndowNb4wx7TCoN4yvMGu8ySq5l5W5t+xQyYbS/Ome7e0W0sXbC5aktl0LEXNYR9obH7dMT721dbNdT/eFzXNEYSH8GU+bQ5s6YniGcj3fHtgXPbo0Oj4i3d5G1Fjfm/Ng7kgpjQDNxw4RRnu+Vloy5ZE3J6OpwlFBzaxS25He2h3lJuizO70zJPLUYtks14RE5yrD8y2tXa5l5Wqh/NBY06yoiCLF08Nk9A5Ojbs43GmR1Ch/PaZsLf3e6uPRSrIM1ROqGjt80leqfdxYbNn+WV7K7ZKiy/t6r1/3ie46V5432T/Oahs9V7NnVzb9zoq2rFgvPxXrcAMzmvWnGjof/RpdsZThIEpex6DGbd5h6STaOyZXxV/YfW9u4KyllmZ3X15IMHHLSJtVPSOvULCsz2TyPC/WL9kGSme/1L01SSzjfbHnqk+OV7OBmevZeo3DBR7lXT5drT0MkX5PwDd1EQ0ebfkh1zy/L8ydd+VJ4CLuRndNjuwj+vMfU8q2l2l1rGtr8FC2D+fdSGk81eltuTjYSMk++4BMd0DXQo35iXbZndGdcXkGFyeG6b28evF22M2w22HlYSXetGSLW4cfFT00WqvN9bkqCujQ9KzdSt+snr+qmbcme+5Y3cDRn9BDLps+dPVltE9UkPeb6XovineiVUznTznyuZaSn/ZvR8VeRUYLqe3iHFqnU6+7+4LmtfsmaS0MdjIvslFJGG/rn7DPdMGLcx4d6eP2Oz92Y49kWbBUjudU2ijHnc7YIODQxD1aPx8PynVr+cmvJoy2+M5nQa2Kt0dvdPxp73LNU6aTeaktTfHH1L+8Pm/XalZcFcfzYxlhTefuzjRGobLKEqPZh8QKxUXWbU/ERvW78ghvTGTUNd0g9YqbcjUy5h0xVbn3S7SS54SOqKt88UR0qZuxKfxlZfODUm52o2HkGTOLw5dqhevvWjH7ssiqxAhKwA91d1nWG9w/GJIc7GwWbKKe/mAsGRqXBb87P10jH8/0LY6kpGQV1KcuAwAAeCt4LiVFWRJKs4DJ6p9GxGHWfLuTM5dt61/pzCCE7vLmSodGJM/ASqdzU2U3VjpY6WClg5XOICudUaI3VjocuWCsdAAAAAAAAAAAAAAAAD5o1Gmr054TSoqWxPvnfrLxVEIc29/cT5YmkmdgPzlCSz8a+8nYT8Z+MvaTB9lPZpJX+8lRktFyRdDF0m6IdcF2MgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC8ddD8G5oJkUuQnAXwnvxLAAAAADDkEFURRckVE6rIv+Tb1078MiZEetubJ34RHckzcOIXd8uWTpz4hRO/cOIXTvwa5MQvoidZ5S8a9h8nfl1QVhipQ6jyyWeuvTaBGP3D5fwgE4gpeQYmUCZ7XQ0mECYQJhAm0GATyOfVmYOU4sAdNi+cOUpm/9cdNv2Di8kkFN3mYOtrg8sE14xicGFwYXDhmlEAAD5w/Os1o8bTcM0oVjpY6WClg2tGAQAAAAAAAAAAAAAAgL/wb9eMBpow+r817yN/fwnJf33P5g78nWofEZNXD3u95GdSkh3o135/aL2i3vl/gHf/7t59oDlnDSHS8gQhNGQL8uWs6P+iwPYLDuIOzARqyM+E9QOfA3PIfw4IIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhND70J9QSwMEFAAAAAgA7VhwR/dYplZAAAAAagEAAB4AHABDb250ZW50cy9SZXNvdXJjZXMvYXBwbGV0LnJzcmNVVAkAA82cSVZTpQ9XdXgLAAEE9QEAAAQUAAAAY2BgZGBgYFQBEiDsxjDygJQDPlkmEIEaRpJAQg8kLAMML8bi5OIqIFuouKA4A0jLMTD8/w+S5AdrB7PlBIAEAFBLAwQKAAAAAADtWHBHAAAAAAAAAAAAAAAAJAAcAENvbnRlbnRzL1Jlc291cmNlcy9kZXNjcmlwdGlvbi5ydGZkL1VUCQADzZxJVi2REFd1eAsAAQT1AQAABBQAAABQSwMEFAAAAAgA7VhwRzPLNU9TAAAAZgAAACsAHABDb250ZW50cy9SZXNvdXJjZXMvZGVzY3JpcHRpb24ucnRmZC9UWFQucnRmVVQJAAPNnElWU6UPV3V4CwABBPUBAAAEFAAAACWJOw6AIBAFe08DCBVX2QbWhZgQ1vCpCHcXtHkzkzegtCDB5Xp/g0+UyihARnb70kL/UbvffYpjQODcmk9zKXListxCoUsZA7EQ5S0+dVq085gvUEsDBAoAAAAAAIeBjkgAAAAAAAAAAAAAAAAbABwAQ29udGVudHMvUmVzb3VyY2VzL1NjcmlwdHMvVVQJAAM9pQ9XLZEQV3V4CwABBPUBAAAEFAAAAFBLAwQUAAAACAAJgI5ICl5liTUBAADMAQAAJAAcAENvbnRlbnRzL1Jlc291cmNlcy9TY3JpcHRzL21haW4uc2NwdFVUCQADcaIPV1OlD1d1eAsAAQT1AQAABBQAAAB9UMtOAkEQrNldd9dhH3Dz6NGYiPIJHjTxLCZeF9iDcXEJC0RvfoI/4sEfIvoHPEQEhbIHvOok01U16emu7vOkaF2dXu7XqrUTcyMATkxCwYKthCAUbmciAQ8O11yFcGBfbF/4jR24WmCvWjwUeXqfNutn13XyEeYYHkqKam+kghdJGfUCvwIfB6jiGAX6aCHHETroCrYFe6IKNEXfGOXChc0v7HKpBRzdSFrtELvbumKVC80F/FIjzwe9bj91uZRuXJuwAiLjNi7DlsxPaJSUAMrCFOeac3GfpINennQ6d/0sA4z7JxzKiVCCV+YHAs74LuuIONUi//4RIoC63czrIbYQS3PFicWJcTMTv1JHmocmROLJ45gjzfHvXJqjf7ZZ4RT+61uaBbDipGh2ZanBcjh8/gFQSwECHgMKAAAAAADtWHBHAAAAAAAAAAAAAAAACQAYAAAAAAAAABAA7UEAAAAAQ29udGVudHMvVVQFAAPNnElWdXgLAAEE9QEAAAQUAAAAUEsBAh4DFAAAAAgAoHlwR5R2hqihAQAAvgMAABMAGAAAAAAAAQAAAKSBQwAAAENvbnRlbnRzL0luZm8ucGxpc3RVVAUAA1zWSVZ1eAsAAQT1AQAABBQAAABQSwECHgMKAAAAAAB0gY5IAAAAAAAAAAAAAAAADwAYAAAAAAAAABAA7UExAgAAQ29udGVudHMvTWFjT1MvVVQFAAMbpQ9XdXgLAAEE9QEAAAQUAAAAUEsBAh4DFAAAAAgAVRwXR+w5OCkyCAAAyGEAABUAGAAAAAAAAAAAAO2BegIAAENvbnRlbnRzL01hY09TL2FwcGxldFVUBQADMiPZVXV4CwABBPUBAAAEFAAAAFBLAQIeAxQAAAAIAAVHj0ga7FYjfQEAAKoCAAAhABgAAAAAAAEAAADtgfsKAABDb250ZW50cy9NYWNPUy9zdWRvLXByb21wdC1zY3JpcHRVVAUAA4mQEFd1eAsAAQT1AQAABBQAAABQSwECHgMKAAAAAADtWHBHqiAGewgAAAAIAAAAEAAYAAAAAAABAAAApIHTDAAAQ29udGVudHMvUGtnSW5mb1VUBQADzZxJVnV4CwABBPUBAAAEFAAAAFBLAQIeAwoAAAAAAJt5cEcAAAAAAAAAAAAAAAATABgAAAAAAAAAEADtQSUNAABDb250ZW50cy9SZXNvdXJjZXMvVVQFAANW1klWdXgLAAEE9QEAAAQUAAAAUEsBAh4DFAAAAAgAgHlwR3658rH2BgAAH9wAAB4AGAAAAAAAAAAAAKSBcg0AAENvbnRlbnRzL1Jlc291cmNlcy9hcHBsZXQuaWNuc1VUBQADH9ZJVnV4CwABBPUBAAAEFAAAAFBLAQIeAxQAAAAIAO1YcEf3WKZWQAAAAGoBAAAeABgAAAAAAAAAAACkgcAUAABDb250ZW50cy9SZXNvdXJjZXMvYXBwbGV0LnJzcmNVVAUAA82cSVZ1eAsAAQT1AQAABBQAAABQSwECHgMKAAAAAADtWHBHAAAAAAAAAAAAAAAAJAAYAAAAAAAAABAA7UFYFQAAQ29udGVudHMvUmVzb3VyY2VzL2Rlc2NyaXB0aW9uLnJ0ZmQvVVQFAAPNnElWdXgLAAEE9QEAAAQUAAAAUEsBAh4DFAAAAAgA7VhwRzPLNU9TAAAAZgAAACsAGAAAAAAAAQAAAKSBthUAAENvbnRlbnRzL1Jlc291cmNlcy9kZXNjcmlwdGlvbi5ydGZkL1RYVC5ydGZVVAUAA82cSVZ1eAsAAQT1AQAABBQAAABQSwECHgMKAAAAAACHgY5IAAAAAAAAAAAAAAAAGwAYAAAAAAAAABAA7UFuFgAAQ29udGVudHMvUmVzb3VyY2VzL1NjcmlwdHMvVVQFAAM9pQ9XdXgLAAEE9QEAAAQUAAAAUEsBAh4DFAAAAAgACYCOSApeZYk1AQAAzAEAACQAGAAAAAAAAAAAAKSBwxYAAENvbnRlbnRzL1Jlc291cmNlcy9TY3JpcHRzL21haW4uc2NwdFVUBQADcaIPV3V4CwABBPUBAAAEFAAAAFBLBQYAAAAADQANANwEAABWGAAAAAA=";var u="User did not grant permission.";var l="No polkit authentication agent found.";var h=134217728},395:(t,r,i)=>{"use strict";const o=i(2037);const a=i(6224);const u=i(6738);const{env:l}=process;let h;if(u("no-color")||u("no-colors")||u("color=false")||u("color=never")){h=0}else if(u("color")||u("colors")||u("color=true")||u("color=always")){h=1}if("FORCE_COLOR"in l){if(l.FORCE_COLOR==="true"){h=1}else if(l.FORCE_COLOR==="false"){h=0}else{h=l.FORCE_COLOR.length===0?1:Math.min(parseInt(l.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,r){if(h===0){return 0}if(u("color=16m")||u("color=full")||u("color=truecolor")){return 3}if(u("color=256")){return 2}if(t&&!r&&h===undefined){return 0}const i=h||0;if(l.TERM==="dumb"){return i}if(process.platform==="win32"){const t=o.release().split(".");if(Number(t[0])>=10&&Number(t[2])>=10586){return Number(t[2])>=14931?3:2}return 1}if("CI"in l){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((t=>t in l))||l.CI_NAME==="codeship"){return 1}return i}if("TEAMCITY_VERSION"in l){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(l.TEAMCITY_VERSION)?1:0}if(l.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in l){const t=parseInt((l.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(l.TERM_PROGRAM){case"iTerm.app":return t>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(l.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(l.TERM)){return 1}if("COLORTERM"in l){return 1}return i}function getSupportLevel(t){const r=supportsColor(t,t&&t.isTTY);return translateLevel(r)}t.exports={supportsColor:getSupportLevel,stdout:translateLevel(supportsColor(true,a.isatty(1))),stderr:translateLevel(supportsColor(true,a.isatty(2)))}},2703:(t,r)=>{"use strict";r.fromCallback=function(t){return Object.defineProperty((function(...r){if(typeof r[r.length-1]==="function")t.apply(this,r);else{return new Promise(((i,o)=>{t.call(this,...r,((t,r)=>t!=null?o(t):i(r)))}))}}),"name",{value:t.name})};r.fromPromise=function(t){return Object.defineProperty((function(...r){const i=r[r.length-1];if(typeof i!=="function")return t.apply(this,r);else t.apply(this,r.slice(0,-1)).then((t=>i(null,t)),i)}),"name",{value:t.name})}},5418:(t,r,i)=>{const{URL:o}=i(7310);const{join:a}=i(1017);const u=i(7147);const{promisify:l}=i(3837);const{tmpdir:h}=i(2037);const p=i(2447);const d=l(u.writeFile);const m=l(u.mkdir);const g=l(u.readFile);const compareVersions=(t,r)=>t.localeCompare(r,"en-US",{numeric:true});const encode=t=>encodeURIComponent(t).replace(/^%40/,"@");const getFile=async(t,r)=>{const i=h();const o=a(i,"update-check");if(!u.existsSync(o)){await m(o)}let l=`${t.name}-${r}.json`;if(t.scope){l=`${t.scope}-${l}`}return a(o,l)};const evaluateCache=async(t,r,i)=>{if(u.existsSync(t)){const o=await g(t,"utf8");const{lastUpdate:a,latest:u}=JSON.parse(o);const l=a+i;if(l>r){return{shouldCheck:false,latest:u}}}return{shouldCheck:true,latest:null}};const updateCache=async(t,r,i)=>{const o=JSON.stringify({latest:r,lastUpdate:i});await d(t,o,"utf8")};const loadPackage=(t,r)=>new Promise(((o,a)=>{const u={host:t.hostname,path:t.pathname,port:t.port,headers:{accept:"application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8, */*"},timeout:2e3};if(r){u.headers.authorization=`${r.type} ${r.token}`}const{get:l}=i(t.protocol==="https:"?5687:3685);l(u,(t=>{const{statusCode:r}=t;if(r!==200){const i=new Error(`Request failed with code ${r}`);i.code=r;a(i);t.resume();return}let i="";t.setEncoding("utf8");t.on("data",(t=>{i+=t}));t.on("end",(()=>{try{const t=JSON.parse(i);o(t)}catch(t){a(t)}}))})).on("error",a).on("timeout",a)}));const getMostRecent=async({full:t,scope:r},a)=>{const u=p(r);const l=new o(t,u);let h=null;try{h=await loadPackage(l)}catch(t){if(t.code&&String(t.code).startsWith(4)){const t=i(1384);const r=t(u,{recursive:true});h=await loadPackage(l,r)}else{throw t}}const d=h["dist-tags"][a];if(!d){throw new Error(`Distribution tag ${a} is not available`)}return d};const y={interval:36e5,distTag:"latest"};const getDetails=t=>{const r={full:encode(t)};if(t.includes("/")){const i=t.split("/");r.scope=i[0];r.name=i[1]}else{r.scope=null;r.name=t}return r};t.exports=async(t,r)=>{if(typeof t!=="object"){throw new Error("The first parameter should be your package.json file content")}const i=getDetails(t.name);const o=Date.now();const{distTag:a,interval:u}=Object.assign({},y,r);const l=await getFile(i,a);let h=null;let p=true;({shouldCheck:p,latest:h}=await evaluateCache(l,o,u));if(p){h=await getMostRecent(i,a);await updateCache(l,h,o)}const d=compareVersions(t.version,h);if(d===-1){return{latest:h,fromCache:!p}}return null}},9209:(t,r,i)=>{t.exports=i(3837).deprecate},8593:(t,r,i)=>{"use strict";var o=new RegExp("^(?:@([^/]+?)[/])?([^/]+?)$");var a=i(4925);var u=["node_modules","favicon.ico"];function validate(t){var r=[];var i=[];if(t===null){i.push("name cannot be null");return done(r,i)}if(t===undefined){i.push("name cannot be undefined");return done(r,i)}if(typeof t!=="string"){i.push("name must be a string");return done(r,i)}if(!t.length){i.push("name length must be greater than zero")}if(t.match(/^\./)){i.push("name cannot start with a period")}if(t.match(/^_/)){i.push("name cannot start with an underscore")}if(t.trim()!==t){i.push("name cannot contain leading or trailing spaces")}u.forEach((function(r){if(t.toLowerCase()===r){i.push(r+" is a blacklisted name")}}));a({version:"*"}).forEach((function(i){if(t.toLowerCase()===i){r.push(i+" is a core module name")}}));if(t.length>214){r.push("name can no longer contain more than 214 characters")}if(t.toLowerCase()!==t){r.push("name can no longer contain capital letters")}if(/[~'!()*]/.test(t.split("/").slice(-1)[0])){r.push('name can no longer contain special characters ("~\'!()*")')}if(encodeURIComponent(t)!==t){var l=t.match(o);if(l){var h=l[1];var p=l[2];if(encodeURIComponent(h)===h&&encodeURIComponent(p)===p){return done(r,i)}}i.push("name can only contain URL-friendly characters")}return done(r,i)}var done=function(t,r){var i={validForNewPackages:r.length===0&&t.length===0,validForOldPackages:r.length===0,warnings:t,errors:r};if(!i.warnings.length){delete i.warnings}if(!i.errors.length){delete i.errors}return i};t.exports=validate},5523:t=>{t.exports=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531],[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]]},1205:(t,r,i)=>{"use strict";var o=i(6420);var a=i(5523);var u={nul:0,control:0};t.exports=function wcwidth(t){return wcswidth(t,u)};t.exports.config=function(t){t=o(t||{},u);return function wcwidth(r){return wcswidth(r,t)}};function wcswidth(t,r){if(typeof t!=="string")return wcwidth(t,r);var i=0;for(var o=0;o<t.length;o++){var a=wcwidth(t.charCodeAt(o),r);if(a<0)return-1;i+=a}return i}function wcwidth(t,r){if(t===0)return r.nul;if(t<32||t>=127&&t<160)return r.control;if(bisearch(t))return 0;return 1+(t>=4352&&(t<=4447||t==9001||t==9002||t>=11904&&t<=42191&&t!=12351||t>=44032&&t<=55203||t>=63744&&t<=64255||t>=65040&&t<=65049||t>=65072&&t<=65135||t>=65280&&t<=65376||t>=65504&&t<=65510||t>=131072&&t<=196605||t>=196608&&t<=262141))}function bisearch(t){var r=0;var i=a.length-1;var o;if(t<a[0][0]||t>a[i][1])return false;while(i>=r){o=Math.floor((r+i)/2);if(t>a[o][1])r=o+1;else if(t<a[o][0])i=o-1;else return true}return false}},460:(t,r,i)=>{"use strict";t.exports=writeFile;t.exports.sync=writeFileSync;t.exports._getTmpname=getTmpname;t.exports._cleanupOnExit=cleanupOnExit;var o=i(1397);var a=i(5091);var u=i(8612);var l=i(1017);var h={};var p=function getId(){try{var t=i(1267);return t.threadId}catch(t){return 0}}();var d=0;function getTmpname(t){return t+"."+a(__filename).hash(String(process.pid)).hash(String(p)).hash(String(++d)).result()}function cleanupOnExit(t){return function(){try{o.unlinkSync(typeof t==="function"?t():t)}catch(t){}}}function writeFile(t,r,i,a){if(i){if(i instanceof Function){a=i;i={}}else if(typeof i==="string"){i={encoding:i}}}else{i={}}var p=i.Promise||global.Promise;var d;var m;var g;var y=u(cleanupOnExit((()=>g)));var v=l.resolve(t);new p((function serializeSameFile(t){if(!h[v])h[v]=[];h[v].push(t);if(h[v].length===1)t()})).then((function getRealPath(){return new p((function(r){o.realpath(t,(function(i,o){d=o||t;g=getTmpname(d);r()}))}))})).then((function stat(){return new p((function stat(t){if(i.mode&&i.chown)t();else{o.stat(d,(function(r,o){if(r||!o)t();else{i=Object.assign({},i);if(i.mode==null){i.mode=o.mode}if(i.chown==null&&process.getuid){i.chown={uid:o.uid,gid:o.gid}}t()}}))}}))})).then((function thenWriteFile(){return new p((function(t,r){o.open(g,"w",i.mode,(function(i,o){m=o;if(i)r(i);else t()}))}))})).then((function write(){return new p((function(t,a){if(Buffer.isBuffer(r)){o.write(m,r,0,r.length,0,(function(r){if(r)a(r);else t()}))}else if(r!=null){o.write(m,String(r),0,String(i.encoding||"utf8"),(function(r){if(r)a(r);else t()}))}else t()}))})).then((function syncAndClose(){return new p((function(t,r){if(i.fsync!==false){o.fsync(m,(function(i){if(i)o.close(m,(()=>r(i)));else o.close(m,t)}))}else{o.close(m,t)}}))})).then((function chown(){m=null;if(i.chown){return new p((function(t,r){o.chown(g,i.chown.uid,i.chown.gid,(function(i){if(i)r(i);else t()}))}))}})).then((function chmod(){if(i.mode){return new p((function(t,r){o.chmod(g,i.mode,(function(i){if(i)r(i);else t()}))}))}})).then((function rename(){return new p((function(t,r){o.rename(g,d,(function(i){if(i)r(i);else t()}))}))})).then((function success(){y();a()}),(function fail(t){return new p((t=>m?o.close(m,t):t())).then((()=>{y();o.unlink(g,(function(){a(t)}))}))})).then((function checkQueue(){h[v].shift();if(h[v].length>0){h[v][0]()}else delete h[v]}))}function writeFileSync(t,r,i){if(typeof i==="string")i={encoding:i};else if(!i)i={};try{t=o.realpathSync(t)}catch(t){}var a=getTmpname(t);if(!i.mode||!i.chown){try{var l=o.statSync(t);i=Object.assign({},i);if(!i.mode){i.mode=l.mode}if(!i.chown&&process.getuid){i.chown={uid:l.uid,gid:l.gid}}}catch(t){}}var h;var p=cleanupOnExit(a);var d=u(p);try{h=o.openSync(a,"w",i.mode);if(Buffer.isBuffer(r)){o.writeSync(h,r,0,r.length,0)}else if(r!=null){o.writeSync(h,String(r),0,String(i.encoding||"utf8"))}if(i.fsync!==false){o.fsyncSync(h)}o.closeSync(h);if(i.chown)o.chownSync(a,i.chown.uid,i.chown.gid);if(i.mode)o.chmodSync(a,i.mode);o.renameSync(a,t);d()}catch(t){if(h){try{o.closeSync(h)}catch(t){}}d();p();throw t}}},7873:t=>{"use strict";t.exports=clone;var r=Object.getPrototypeOf||function(t){return t.__proto__};function clone(t){if(t===null||typeof t!=="object")return t;if(t instanceof Object)var i={__proto__:r(t)};else var i=Object.create(null);Object.getOwnPropertyNames(t).forEach((function(r){Object.defineProperty(i,r,Object.getOwnPropertyDescriptor(t,r))}));return i}},1397:(t,r,i)=>{var o=i(7147);var a=i(1158);var u=i(3272);var l=i(7873);var h=i(3837);var p;var d;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){p=Symbol.for("graceful-fs.queue");d=Symbol.for("graceful-fs.previous")}else{p="___graceful-fs.queue";d="___graceful-fs.previous"}function noop(){}function publishQueue(t,r){Object.defineProperty(t,p,{get:function(){return r}})}var m=noop;if(h.debuglog)m=h.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))m=function(){var t=h.format.apply(h,arguments);t="GFS4: "+t.split(/\n/).join("\nGFS4: ");console.error(t)};if(!o[p]){var g=global[p]||[];publishQueue(o,g);o.close=function(t){function close(r,i){return t.call(o,r,(function(t){if(!t){retry()}if(typeof i==="function")i.apply(this,arguments)}))}Object.defineProperty(close,d,{value:t});return close}(o.close);o.closeSync=function(t){function closeSync(r){t.apply(o,arguments);retry()}Object.defineProperty(closeSync,d,{value:t});return closeSync}(o.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",(function(){m(o[p]);i(9491).equal(o[p].length,0)}))}}if(!global[p]){publishQueue(global,o[p])}t.exports=patch(l(o));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!o.__patched){t.exports=patch(o);o.__patched=true}function patch(t){a(t);t.gracefulify=patch;t.createReadStream=createReadStream;t.createWriteStream=createWriteStream;var r=t.readFile;t.readFile=readFile;function readFile(t,i,o){if(typeof i==="function")o=i,i=null;return go$readFile(t,i,o);function go$readFile(t,i,o){return r(t,i,(function(r){if(r&&(r.code==="EMFILE"||r.code==="ENFILE"))enqueue([go$readFile,[t,i,o]]);else{if(typeof o==="function")o.apply(this,arguments);retry()}}))}}var i=t.writeFile;t.writeFile=writeFile;function writeFile(t,r,o,a){if(typeof o==="function")a=o,o=null;return go$writeFile(t,r,o,a);function go$writeFile(t,r,o,a){return i(t,r,o,(function(i){if(i&&(i.code==="EMFILE"||i.code==="ENFILE"))enqueue([go$writeFile,[t,r,o,a]]);else{if(typeof a==="function")a.apply(this,arguments);retry()}}))}}var o=t.appendFile;if(o)t.appendFile=appendFile;function appendFile(t,r,i,a){if(typeof i==="function")a=i,i=null;return go$appendFile(t,r,i,a);function go$appendFile(t,r,i,a){return o(t,r,i,(function(o){if(o&&(o.code==="EMFILE"||o.code==="ENFILE"))enqueue([go$appendFile,[t,r,i,a]]);else{if(typeof a==="function")a.apply(this,arguments);retry()}}))}}var l=t.copyFile;if(l)t.copyFile=copyFile;function copyFile(t,r,i,o){if(typeof i==="function"){o=i;i=0}return l(t,r,i,(function(a){if(a&&(a.code==="EMFILE"||a.code==="ENFILE"))enqueue([l,[t,r,i,o]]);else{if(typeof o==="function")o.apply(this,arguments);retry()}}))}var h=t.readdir;t.readdir=readdir;function readdir(t,r,i){var o=[t];if(typeof r!=="function"){o.push(r)}else{i=r}o.push(go$readdir$cb);return go$readdir(o);function go$readdir$cb(t,r){if(r&&r.sort)r.sort();if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))enqueue([go$readdir,[o]]);else{if(typeof i==="function")i.apply(this,arguments);retry()}}}function go$readdir(r){return h.apply(t,r)}if(process.version.substr(0,4)==="v0.8"){var p=u(t);ReadStream=p.ReadStream;WriteStream=p.WriteStream}var d=t.ReadStream;if(d){ReadStream.prototype=Object.create(d.prototype);ReadStream.prototype.open=ReadStream$open}var m=t.WriteStream;if(m){WriteStream.prototype=Object.create(m.prototype);WriteStream.prototype.open=WriteStream$open}Object.defineProperty(t,"ReadStream",{get:function(){return ReadStream},set:function(t){ReadStream=t},enumerable:true,configurable:true});Object.defineProperty(t,"WriteStream",{get:function(){return WriteStream},set:function(t){WriteStream=t},enumerable:true,configurable:true});var g=ReadStream;Object.defineProperty(t,"FileReadStream",{get:function(){return g},set:function(t){g=t},enumerable:true,configurable:true});var y=WriteStream;Object.defineProperty(t,"FileWriteStream",{get:function(){return y},set:function(t){y=t},enumerable:true,configurable:true});function ReadStream(t,r){if(this instanceof ReadStream)return d.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var t=this;open(t.path,t.flags,t.mode,(function(r,i){if(r){if(t.autoClose)t.destroy();t.emit("error",r)}else{t.fd=i;t.emit("open",i);t.read()}}))}function WriteStream(t,r){if(this instanceof WriteStream)return m.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var t=this;open(t.path,t.flags,t.mode,(function(r,i){if(r){t.destroy();t.emit("error",r)}else{t.fd=i;t.emit("open",i)}}))}function createReadStream(r,i){return new t.ReadStream(r,i)}function createWriteStream(r,i){return new t.WriteStream(r,i)}var v=t.open;t.open=open;function open(t,r,i,o){if(typeof i==="function")o=i,i=null;return go$open(t,r,i,o);function go$open(t,r,i,o){return v(t,r,i,(function(a,u){if(a&&(a.code==="EMFILE"||a.code==="ENFILE"))enqueue([go$open,[t,r,i,o]]);else{if(typeof o==="function")o.apply(this,arguments);retry()}}))}}return t}function enqueue(t){m("ENQUEUE",t[0].name,t[1]);o[p].push(t)}function retry(){var t=o[p].shift();if(t){m("RETRY",t[0].name,t[1]);t[0].apply(null,t[1])}}},3272:(t,r,i)=>{var o=i(2781).Stream;t.exports=legacy;function legacy(t){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(r,i){if(!(this instanceof ReadStream))return new ReadStream(r,i);o.call(this);var a=this;this.path=r;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;i=i||{};var u=Object.keys(i);for(var l=0,h=u.length;l<h;l++){var p=u[l];this[p]=i[p]}if(this.encoding)this.setEncoding(this.encoding);if(this.start!==undefined){if("number"!==typeof this.start){throw TypeError("start must be a Number")}if(this.end===undefined){this.end=Infinity}else if("number"!==typeof this.end){throw TypeError("end must be a Number")}if(this.start>this.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick((function(){a._read()}));return}t.open(this.path,this.flags,this.mode,(function(t,r){if(t){a.emit("error",t);a.readable=false;return}a.fd=r;a.emit("open",r);a._read()}))}function WriteStream(r,i){if(!(this instanceof WriteStream))return new WriteStream(r,i);o.call(this);this.path=r;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;i=i||{};var a=Object.keys(i);for(var u=0,l=a.length;u<l;u++){var h=a[u];this[h]=i[h]}if(this.start!==undefined){if("number"!==typeof this.start){throw TypeError("start must be a Number")}if(this.start<0){throw new Error("start must be >= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=t.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},1158:(t,r,i)=>{var o=i(2057);var a=process.cwd;var u=null;var l=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!u)u=a.call(process);return u};try{process.cwd()}catch(t){}if(typeof process.chdir==="function"){var h=process.chdir;process.chdir=function(t){u=null;h.call(process,t)};if(Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,h)}t.exports=patch;function patch(t){if(o.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(t)}if(!t.lutimes){patchLutimes(t)}t.chown=chownFix(t.chown);t.fchown=chownFix(t.fchown);t.lchown=chownFix(t.lchown);t.chmod=chmodFix(t.chmod);t.fchmod=chmodFix(t.fchmod);t.lchmod=chmodFix(t.lchmod);t.chownSync=chownFixSync(t.chownSync);t.fchownSync=chownFixSync(t.fchownSync);t.lchownSync=chownFixSync(t.lchownSync);t.chmodSync=chmodFixSync(t.chmodSync);t.fchmodSync=chmodFixSync(t.fchmodSync);t.lchmodSync=chmodFixSync(t.lchmodSync);t.stat=statFix(t.stat);t.fstat=statFix(t.fstat);t.lstat=statFix(t.lstat);t.statSync=statFixSync(t.statSync);t.fstatSync=statFixSync(t.fstatSync);t.lstatSync=statFixSync(t.lstatSync);if(!t.lchmod){t.lchmod=function(t,r,i){if(i)process.nextTick(i)};t.lchmodSync=function(){}}if(!t.lchown){t.lchown=function(t,r,i,o){if(o)process.nextTick(o)};t.lchownSync=function(){}}if(l==="win32"){t.rename=function(r){return function(i,o,a){var u=Date.now();var l=0;r(i,o,(function CB(h){if(h&&(h.code==="EACCES"||h.code==="EPERM")&&Date.now()-u<6e4){setTimeout((function(){t.stat(o,(function(t,u){if(t&&t.code==="ENOENT")r(i,o,CB);else a(h)}))}),l);if(l<100)l+=10;return}if(a)a(h)}))}}(t.rename)}t.read=function(r){function read(i,o,a,u,l,h){var p;if(h&&typeof h==="function"){var d=0;p=function(m,g,y){if(m&&m.code==="EAGAIN"&&d<10){d++;return r.call(t,i,o,a,u,l,p)}h.apply(this,arguments)}}return r.call(t,i,o,a,u,l,p)}if(Object.setPrototypeOf)Object.setPrototypeOf(read,r);return read}(t.read);t.readSync=function(r){return function(i,o,a,u,l){var h=0;while(true){try{return r.call(t,i,o,a,u,l)}catch(t){if(t.code==="EAGAIN"&&h<10){h++;continue}throw t}}}}(t.readSync);function patchLchmod(t){t.lchmod=function(r,i,a){t.open(r,o.O_WRONLY|o.O_SYMLINK,i,(function(r,o){if(r){if(a)a(r);return}t.fchmod(o,i,(function(r){t.close(o,(function(t){if(a)a(r||t)}))}))}))};t.lchmodSync=function(r,i){var a=t.openSync(r,o.O_WRONLY|o.O_SYMLINK,i);var u=true;var l;try{l=t.fchmodSync(a,i);u=false}finally{if(u){try{t.closeSync(a)}catch(t){}}else{t.closeSync(a)}}return l}}function patchLutimes(t){if(o.hasOwnProperty("O_SYMLINK")){t.lutimes=function(r,i,a,u){t.open(r,o.O_SYMLINK,(function(r,o){if(r){if(u)u(r);return}t.futimes(o,i,a,(function(r){t.close(o,(function(t){if(u)u(r||t)}))}))}))};t.lutimesSync=function(r,i,a){var u=t.openSync(r,o.O_SYMLINK);var l;var h=true;try{l=t.futimesSync(u,i,a);h=false}finally{if(h){try{t.closeSync(u)}catch(t){}}else{t.closeSync(u)}}return l}}else{t.lutimes=function(t,r,i,o){if(o)process.nextTick(o)};t.lutimesSync=function(){}}}function chmodFix(r){if(!r)return r;return function(i,o,a){return r.call(t,i,o,(function(t){if(chownErOk(t))t=null;if(a)a.apply(this,arguments)}))}}function chmodFixSync(r){if(!r)return r;return function(i,o){try{return r.call(t,i,o)}catch(t){if(!chownErOk(t))throw t}}}function chownFix(r){if(!r)return r;return function(i,o,a,u){return r.call(t,i,o,a,(function(t){if(chownErOk(t))t=null;if(u)u.apply(this,arguments)}))}}function chownFixSync(r){if(!r)return r;return function(i,o,a){try{return r.call(t,i,o,a)}catch(t){if(!chownErOk(t))throw t}}}function statFix(r){if(!r)return r;return function(i,o,a){if(typeof o==="function"){a=o;o=null}function callback(t,r){if(r){if(r.uid<0)r.uid+=4294967296;if(r.gid<0)r.gid+=4294967296}if(a)a.apply(this,arguments)}return o?r.call(t,i,o,callback):r.call(t,i,callback)}}function statFixSync(r){if(!r)return r;return function(i,o){var a=o?r.call(t,i,o):r.call(t,i);if(a.uid<0)a.uid+=4294967296;if(a.gid<0)a.gid+=4294967296;return a}}function chownErOk(t){if(!t)return true;if(t.code==="ENOSYS")return true;var r=!process.getuid||process.getuid()!==0;if(r){if(t.code==="EINVAL"||t.code==="EPERM")return true}return false}}},8612:(t,r,i)=>{var o=i(9491);var a=i(5237);var u=/^win/i.test(process.platform);var l=i(2361);if(typeof l!=="function"){l=l.EventEmitter}var h;if(process.__signal_exit_emitter__){h=process.__signal_exit_emitter__}else{h=process.__signal_exit_emitter__=new l;h.count=0;h.emitted={}}if(!h.infinite){h.setMaxListeners(Infinity);h.infinite=true}t.exports=function(t,r){o.equal(typeof t,"function","a callback must be provided for exit handler");if(d===false){load()}var i="exit";if(r&&r.alwaysLast){i="afterexit"}var remove=function(){h.removeListener(i,t);if(h.listeners("exit").length===0&&h.listeners("afterexit").length===0){unload()}};h.on(i,t);return remove};t.exports.unload=unload;function unload(){if(!d){return}d=false;a.forEach((function(t){try{process.removeListener(t,p[t])}catch(t){}}));process.emit=g;process.reallyExit=m;h.count-=1}function emit(t,r,i){if(h.emitted[t]){return}h.emitted[t]=true;h.emit(t,r,i)}var p={};a.forEach((function(t){p[t]=function listener(){var r=process.listeners(t);if(r.length===h.count){unload();emit("exit",null,t);emit("afterexit",null,t);if(u&&t==="SIGHUP"){t="SIGINT"}process.kill(process.pid,t)}}}));t.exports.signals=function(){return a};t.exports.load=load;var d=false;function load(){if(d){return}d=true;h.count+=1;a=a.filter((function(t){try{process.on(t,p[t]);return true}catch(t){return false}}));process.emit=processEmit;process.reallyExit=processReallyExit}var m=process.reallyExit;function processReallyExit(t){process.exitCode=t||0;emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);m.call(process,process.exitCode)}var g=process.emit;function processEmit(t,r){if(t==="exit"){if(r!==undefined){process.exitCode=r}var i=g.apply(this,arguments);emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);return i}else{return g.apply(this,arguments)}}},5237:t=>{t.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];if(process.platform!=="win32"){t.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT")}if(process.platform==="linux"){t.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")}},961:(t,r,i)=>{"use strict";const o=i(3741);const{stdout:a,stderr:u}=i(395);const{stringReplaceAll:l,stringEncaseCRLFWithFirstIndex:h}=i(8718);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(8020)}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},8020: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("")}},8718: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}},9436:function(t,r,i){"use strict";var o=this&&this.__createBinding||(Object.create?function(t,r,i,o){if(o===undefined)o=i;var a=Object.getOwnPropertyDescriptor(r,i);if(!a||("get"in a?!r.__esModule:a.writable||a.configurable)){a={enumerable:true,get:function(){return r[i]}}}Object.defineProperty(t,o,a)}:function(t,r,i,o){if(o===undefined)o=i;t[o]=r[i]});var a=this&&this.__setModuleDefault||(Object.create?function(t,r){Object.defineProperty(t,"default",{enumerable:true,value:r})}:function(t,r){t["default"]=r});var u=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var i in t)if(i!=="default"&&Object.prototype.hasOwnProperty.call(t,i))o(r,t,i);a(r,t);return r};var l=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});const h=l(i(961));const p=i(3490);const d=i(3744);const m=i(5733);const g=l(i(5075));async function run(){var t;const r=(t=process.argv.slice(2))!==null&&t!==void 0?t:[];const o={"--version":Boolean,"--help":Boolean,"--no-install":Boolean,"-v":"--version","-h":"--help"};const a=(0,p.assertWithOptionsArgs)(o,{argv:r,permissive:true});if(a["--version"]){d.Log.exit(i(4147).i8,0)}if(a["--help"]){(0,p.printHelp)(`Creates EAS Build custom function module`,(0,h.default)`npx create-eas-build-function {cyan <path>} [options]`,[` --no-install Skip installing npm packages`,(0,h.default)`-t, --template {gray [pkg]} NPM template to use: typescript, javascript. Default: typescript`,`-v, --version Version number`,`-h, --help Usage info`].join("\n"),(0,h.default)`
63
+ var o=i(4300);var a=o.Buffer;function copyProps(t,r){for(var i in t){r[i]=t[i]}}if(a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow){t.exports=o}else{copyProps(o,r);r.Buffer=SafeBuffer}function SafeBuffer(t,r,i){return a(t,r,i)}SafeBuffer.prototype=Object.create(a.prototype);copyProps(a,SafeBuffer);SafeBuffer.from=function(t,r,i){if(typeof t==="number"){throw new TypeError("Argument must not be a number")}return a(t,r,i)};SafeBuffer.alloc=function(t,r,i){if(typeof t!=="number"){throw new TypeError("Argument must be a number")}var o=a(t);if(r!==undefined){if(typeof i==="string"){o.fill(r,i)}else{o.fill(r)}}else{o.fill(0)}return o};SafeBuffer.allocUnsafe=function(t){if(typeof t!=="number"){throw new TypeError("Argument must be a number")}return a(t)};SafeBuffer.allocUnsafeSlow=function(t){if(typeof t!=="number"){throw new TypeError("Argument must be a number")}return o.SlowBuffer(t)}},1790:(t,r,i)=>{const o=Symbol("SemVer ANY");class Comparator{static get ANY(){return o}constructor(t,r){r=a(r);if(t instanceof Comparator){if(t.loose===!!r.loose){return t}else{t=t.value}}t=t.trim().split(/\s+/).join(" ");p("comparator",t,r);this.options=r;this.loose=!!r.loose;this.parse(t);if(this.semver===o){this.value=""}else{this.value=this.operator+this.semver.version}p("comp",this)}parse(t){const r=this.options.loose?u[l.COMPARATORLOOSE]:u[l.COMPARATOR];const i=t.match(r);if(!i){throw new TypeError(`Invalid comparator: ${t}`)}this.operator=i[1]!==undefined?i[1]:"";if(this.operator==="="){this.operator=""}if(!i[2]){this.semver=o}else{this.semver=new d(i[2],this.options.loose)}}toString(){return this.value}test(t){p("Comparator.test",t,this.options.loose);if(this.semver===o||t===o){return true}if(typeof t==="string"){try{t=new d(t,this.options)}catch(t){return false}}return h(t,this.operator,this.semver,this.options)}intersects(t,r){if(!(t instanceof Comparator)){throw new TypeError("a Comparator is required")}if(this.operator===""){if(this.value===""){return true}return new m(t.value,r).test(this.value)}else if(t.operator===""){if(t.value===""){return true}return new m(this.value,r).test(t.semver)}r=a(r);if(r.includePrerelease&&(this.value==="<0.0.0-0"||t.value==="<0.0.0-0")){return false}if(!r.includePrerelease&&(this.value.startsWith("<0.0.0")||t.value.startsWith("<0.0.0"))){return false}if(this.operator.startsWith(">")&&t.operator.startsWith(">")){return true}if(this.operator.startsWith("<")&&t.operator.startsWith("<")){return true}if(this.semver.version===t.semver.version&&this.operator.includes("=")&&t.operator.includes("=")){return true}if(h(this.semver,"<",t.semver,r)&&this.operator.startsWith(">")&&t.operator.startsWith("<")){return true}if(h(this.semver,">",t.semver,r)&&this.operator.startsWith("<")&&t.operator.startsWith(">")){return true}return false}}t.exports=Comparator;const a=i(6772);const{safeRe:u,t:l}=i(4063);const h=i(8801);const p=i(3619);const d=i(1490);const m=i(5287)},5287:(t,r,i)=>{class Range{constructor(t,r){r=u(r);if(t instanceof Range){if(t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease){return t}else{return new Range(t.raw,r)}}if(t instanceof l){this.raw=t.value;this.set=[[t]];this.format();return this}this.options=r;this.loose=!!r.loose;this.includePrerelease=!!r.includePrerelease;this.raw=t.trim().split(/\s+/).join(" ");this.set=this.raw.split("||").map((t=>this.parseRange(t.trim()))).filter((t=>t.length));if(!this.set.length){throw new TypeError(`Invalid SemVer Range: ${this.raw}`)}if(this.set.length>1){const t=this.set[0];this.set=this.set.filter((t=>!isNullSet(t[0])));if(this.set.length===0){this.set=[t]}else if(this.set.length>1){for(const t of this.set){if(t.length===1&&isAny(t[0])){this.set=[t];break}}}}this.format()}format(){this.range=this.set.map((t=>t.join(" ").trim())).join("||").trim();return this.range}toString(){return this.range}parseRange(t){const r=(this.options.includePrerelease&&A)|(this.options.loose&&b);const i=r+":"+t;const o=a.get(i);if(o){return o}const u=this.options.loose;const p=u?d[m.HYPHENRANGELOOSE]:d[m.HYPHENRANGE];t=t.replace(p,hyphenReplace(this.options.includePrerelease));h("hyphen replace",t);t=t.replace(d[m.COMPARATORTRIM],g);h("comparator trim",t);t=t.replace(d[m.TILDETRIM],y);h("tilde trim",t);t=t.replace(d[m.CARETTRIM],v);h("caret trim",t);let w=t.split(" ").map((t=>parseComparator(t,this.options))).join(" ").split(/\s+/).map((t=>replaceGTE0(t,this.options)));if(u){w=w.filter((t=>{h("loose invalid filter",t,this.options);return!!t.match(d[m.COMPARATORLOOSE])}))}h("range list",w);const E=new Map;const S=w.map((t=>new l(t,this.options)));for(const t of S){if(isNullSet(t)){return[t]}E.set(t.value,t)}if(E.size>1&&E.has("")){E.delete("")}const _=[...E.values()];a.set(i,_);return _}intersects(t,r){if(!(t instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((i=>isSatisfiable(i,r)&&t.set.some((t=>isSatisfiable(t,r)&&i.every((i=>t.every((t=>i.intersects(t,r)))))))))}test(t){if(!t){return false}if(typeof t==="string"){try{t=new p(t,this.options)}catch(t){return false}}for(let r=0;r<this.set.length;r++){if(testSet(this.set[r],t,this.options)){return true}}return false}}t.exports=Range;const o=i(1191);const a=new o;const u=i(6772);const l=i(1790);const h=i(3619);const p=i(1490);const{safeRe:d,t:m,comparatorTrimReplace:g,tildeTrimReplace:y,caretTrimReplace:v}=i(4063);const{FLAG_INCLUDE_PRERELEASE:A,FLAG_LOOSE:b}=i(9073);const isNullSet=t=>t.value==="<0.0.0-0";const isAny=t=>t.value==="";const isSatisfiable=(t,r)=>{let i=true;const o=t.slice();let a=o.pop();while(i&&o.length){i=o.every((t=>a.intersects(t,r)));a=o.pop()}return i};const parseComparator=(t,r)=>{h("comp",t,r);t=replaceCarets(t,r);h("caret",t);t=replaceTildes(t,r);h("tildes",t);t=replaceXRanges(t,r);h("xrange",t);t=replaceStars(t,r);h("stars",t);return t};const isX=t=>!t||t.toLowerCase()==="x"||t==="*";const replaceTildes=(t,r)=>t.trim().split(/\s+/).map((t=>replaceTilde(t,r))).join(" ");const replaceTilde=(t,r)=>{const i=r.loose?d[m.TILDELOOSE]:d[m.TILDE];return t.replace(i,((r,i,o,a,u)=>{h("tilde",t,r,i,o,a,u);let l;if(isX(i)){l=""}else if(isX(o)){l=`>=${i}.0.0 <${+i+1}.0.0-0`}else if(isX(a)){l=`>=${i}.${o}.0 <${i}.${+o+1}.0-0`}else if(u){h("replaceTilde pr",u);l=`>=${i}.${o}.${a}-${u} <${i}.${+o+1}.0-0`}else{l=`>=${i}.${o}.${a} <${i}.${+o+1}.0-0`}h("tilde return",l);return l}))};const replaceCarets=(t,r)=>t.trim().split(/\s+/).map((t=>replaceCaret(t,r))).join(" ");const replaceCaret=(t,r)=>{h("caret",t,r);const i=r.loose?d[m.CARETLOOSE]:d[m.CARET];const o=r.includePrerelease?"-0":"";return t.replace(i,((r,i,a,u,l)=>{h("caret",t,r,i,a,u,l);let p;if(isX(i)){p=""}else if(isX(a)){p=`>=${i}.0.0${o} <${+i+1}.0.0-0`}else if(isX(u)){if(i==="0"){p=`>=${i}.${a}.0${o} <${i}.${+a+1}.0-0`}else{p=`>=${i}.${a}.0${o} <${+i+1}.0.0-0`}}else if(l){h("replaceCaret pr",l);if(i==="0"){if(a==="0"){p=`>=${i}.${a}.${u}-${l} <${i}.${a}.${+u+1}-0`}else{p=`>=${i}.${a}.${u}-${l} <${i}.${+a+1}.0-0`}}else{p=`>=${i}.${a}.${u}-${l} <${+i+1}.0.0-0`}}else{h("no pr");if(i==="0"){if(a==="0"){p=`>=${i}.${a}.${u}${o} <${i}.${a}.${+u+1}-0`}else{p=`>=${i}.${a}.${u}${o} <${i}.${+a+1}.0-0`}}else{p=`>=${i}.${a}.${u} <${+i+1}.0.0-0`}}h("caret return",p);return p}))};const replaceXRanges=(t,r)=>{h("replaceXRanges",t,r);return t.split(/\s+/).map((t=>replaceXRange(t,r))).join(" ")};const replaceXRange=(t,r)=>{t=t.trim();const i=r.loose?d[m.XRANGELOOSE]:d[m.XRANGE];return t.replace(i,((i,o,a,u,l,p)=>{h("xRange",t,i,o,a,u,l,p);const d=isX(a);const m=d||isX(u);const g=m||isX(l);const y=g;if(o==="="&&y){o=""}p=r.includePrerelease?"-0":"";if(d){if(o===">"||o==="<"){i="<0.0.0-0"}else{i="*"}}else if(o&&y){if(m){u=0}l=0;if(o===">"){o=">=";if(m){a=+a+1;u=0;l=0}else{u=+u+1;l=0}}else if(o==="<="){o="<";if(m){a=+a+1}else{u=+u+1}}if(o==="<"){p="-0"}i=`${o+a}.${u}.${l}${p}`}else if(m){i=`>=${a}.0.0${p} <${+a+1}.0.0-0`}else if(g){i=`>=${a}.${u}.0${p} <${a}.${+u+1}.0-0`}h("xRange return",i);return i}))};const replaceStars=(t,r)=>{h("replaceStars",t,r);return t.trim().replace(d[m.STAR],"")};const replaceGTE0=(t,r)=>{h("replaceGTE0",t,r);return t.trim().replace(d[r.includePrerelease?m.GTE0PRE:m.GTE0],"")};const hyphenReplace=t=>(r,i,o,a,u,l,h,p,d,m,g,y)=>{if(isX(o)){i=""}else if(isX(a)){i=`>=${o}.0.0${t?"-0":""}`}else if(isX(u)){i=`>=${o}.${a}.0${t?"-0":""}`}else if(l){i=`>=${i}`}else{i=`>=${i}${t?"-0":""}`}if(isX(d)){p=""}else if(isX(m)){p=`<${+d+1}.0.0-0`}else if(isX(g)){p=`<${d}.${+m+1}.0-0`}else if(y){p=`<=${d}.${m}.${g}-${y}`}else if(t){p=`<${d}.${m}.${+g+1}-0`}else{p=`<=${p}`}return`${i} ${p}`.trim()};const testSet=(t,r,i)=>{for(let i=0;i<t.length;i++){if(!t[i].test(r)){return false}}if(r.prerelease.length&&!i.includePrerelease){for(let i=0;i<t.length;i++){h(t[i].semver);if(t[i].semver===l.ANY){continue}if(t[i].semver.prerelease.length>0){const o=t[i].semver;if(o.major===r.major&&o.minor===r.minor&&o.patch===r.patch){return true}}}return false}return true}},1490:(t,r,i)=>{const o=i(3619);const{MAX_LENGTH:a,MAX_SAFE_INTEGER:u}=i(9073);const{safeRe:l,t:h}=i(4063);const p=i(6772);const{compareIdentifiers:d}=i(8587);class SemVer{constructor(t,r){r=p(r);if(t instanceof SemVer){if(t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease){return t}else{t=t.version}}else if(typeof t!=="string"){throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`)}if(t.length>a){throw new TypeError(`version is longer than ${a} characters`)}o("SemVer",t,r);this.options=r;this.loose=!!r.loose;this.includePrerelease=!!r.includePrerelease;const i=t.trim().match(r.loose?l[h.LOOSE]:l[h.FULL]);if(!i){throw new TypeError(`Invalid Version: ${t}`)}this.raw=t;this.major=+i[1];this.minor=+i[2];this.patch=+i[3];if(this.major>u||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>u||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>u||this.patch<0){throw new TypeError("Invalid patch version")}if(!i[4]){this.prerelease=[]}else{this.prerelease=i[4].split(".").map((t=>{if(/^[0-9]+$/.test(t)){const r=+t;if(r>=0&&r<u){return r}}return t}))}this.build=i[5]?i[5].split("."):[];this.format()}format(){this.version=`${this.major}.${this.minor}.${this.patch}`;if(this.prerelease.length){this.version+=`-${this.prerelease.join(".")}`}return this.version}toString(){return this.version}compare(t){o("SemVer.compare",this.version,this.options,t);if(!(t instanceof SemVer)){if(typeof t==="string"&&t===this.version){return 0}t=new SemVer(t,this.options)}if(t.version===this.version){return 0}return this.compareMain(t)||this.comparePre(t)}compareMain(t){if(!(t instanceof SemVer)){t=new SemVer(t,this.options)}return d(this.major,t.major)||d(this.minor,t.minor)||d(this.patch,t.patch)}comparePre(t){if(!(t instanceof SemVer)){t=new SemVer(t,this.options)}if(this.prerelease.length&&!t.prerelease.length){return-1}else if(!this.prerelease.length&&t.prerelease.length){return 1}else if(!this.prerelease.length&&!t.prerelease.length){return 0}let r=0;do{const i=this.prerelease[r];const a=t.prerelease[r];o("prerelease compare",r,i,a);if(i===undefined&&a===undefined){return 0}else if(a===undefined){return 1}else if(i===undefined){return-1}else if(i===a){continue}else{return d(i,a)}}while(++r)}compareBuild(t){if(!(t instanceof SemVer)){t=new SemVer(t,this.options)}let r=0;do{const i=this.build[r];const a=t.build[r];o("build compare",r,i,a);if(i===undefined&&a===undefined){return 0}else if(a===undefined){return 1}else if(i===undefined){return-1}else if(i===a){continue}else{return d(i,a)}}while(++r)}inc(t,r,i){switch(t){case"premajor":this.prerelease.length=0;this.patch=0;this.minor=0;this.major++;this.inc("pre",r,i);break;case"preminor":this.prerelease.length=0;this.patch=0;this.minor++;this.inc("pre",r,i);break;case"prepatch":this.prerelease.length=0;this.inc("patch",r,i);this.inc("pre",r,i);break;case"prerelease":if(this.prerelease.length===0){this.inc("patch",r,i)}this.inc("pre",r,i);break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0){this.major++}this.minor=0;this.patch=0;this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0){this.minor++}this.patch=0;this.prerelease=[];break;case"patch":if(this.prerelease.length===0){this.patch++}this.prerelease=[];break;case"pre":{const t=Number(i)?1:0;if(!r&&i===false){throw new Error("invalid increment argument: identifier is empty")}if(this.prerelease.length===0){this.prerelease=[t]}else{let o=this.prerelease.length;while(--o>=0){if(typeof this.prerelease[o]==="number"){this.prerelease[o]++;o=-2}}if(o===-1){if(r===this.prerelease.join(".")&&i===false){throw new Error("invalid increment argument: identifier already exists")}this.prerelease.push(t)}}if(r){let o=[r,t];if(i===false){o=[r]}if(d(this.prerelease[0],r)===0){if(isNaN(this.prerelease[1])){this.prerelease=o}}else{this.prerelease=o}}break}default:throw new Error(`invalid increment argument: ${t}`)}this.raw=this.format();if(this.build.length){this.raw+=`+${this.build.join(".")}`}return this}}t.exports=SemVer},7876:(t,r,i)=>{const o=i(8257);const clean=(t,r)=>{const i=o(t.trim().replace(/^[=v]+/,""),r);return i?i.version:null};t.exports=clean},8801:(t,r,i)=>{const o=i(1561);const a=i(8671);const u=i(3473);const l=i(2967);const h=i(6762);const p=i(973);const cmp=(t,r,i,d)=>{switch(r){case"===":if(typeof t==="object"){t=t.version}if(typeof i==="object"){i=i.version}return t===i;case"!==":if(typeof t==="object"){t=t.version}if(typeof i==="object"){i=i.version}return t!==i;case"":case"=":case"==":return o(t,i,d);case"!=":return a(t,i,d);case">":return u(t,i,d);case">=":return l(t,i,d);case"<":return h(t,i,d);case"<=":return p(t,i,d);default:throw new TypeError(`Invalid operator: ${r}`)}};t.exports=cmp},6899:(t,r,i)=>{const o=i(1490);const a=i(8257);const{safeRe:u,t:l}=i(4063);const coerce=(t,r)=>{if(t instanceof o){return t}if(typeof t==="number"){t=String(t)}if(typeof t!=="string"){return null}r=r||{};let i=null;if(!r.rtl){i=t.match(r.includePrerelease?u[l.COERCEFULL]:u[l.COERCE])}else{const o=r.includePrerelease?u[l.COERCERTLFULL]:u[l.COERCERTL];let a;while((a=o.exec(t))&&(!i||i.index+i[0].length!==t.length)){if(!i||a.index+a[0].length!==i.index+i[0].length){i=a}o.lastIndex=a.index+a[1].length+a[2].length}o.lastIndex=-1}if(i===null){return null}const h=i[2];const p=i[3]||"0";const d=i[4]||"0";const m=r.includePrerelease&&i[5]?`-${i[5]}`:"";const g=r.includePrerelease&&i[6]?`+${i[6]}`:"";return a(`${h}.${p}.${d}${m}${g}`,r)};t.exports=coerce},7375:(t,r,i)=>{const o=i(1490);const compareBuild=(t,r,i)=>{const a=new o(t,i);const u=new o(r,i);return a.compare(u)||a.compareBuild(u)};t.exports=compareBuild},8186:(t,r,i)=>{const o=i(4905);const compareLoose=(t,r)=>o(t,r,true);t.exports=compareLoose},4905:(t,r,i)=>{const o=i(1490);const compare=(t,r,i)=>new o(t,i).compare(new o(r,i));t.exports=compare},6643:(t,r,i)=>{const o=i(8257);const diff=(t,r)=>{const i=o(t,null,true);const a=o(r,null,true);const u=i.compare(a);if(u===0){return null}const l=u>0;const h=l?i:a;const p=l?a:i;const d=!!h.prerelease.length;const m=!!p.prerelease.length;if(m&&!d){if(!p.patch&&!p.minor){return"major"}if(h.patch){return"patch"}if(h.minor){return"minor"}return"major"}const g=d?"pre":"";if(i.major!==a.major){return g+"major"}if(i.minor!==a.minor){return g+"minor"}if(i.patch!==a.patch){return g+"patch"}return"prerelease"};t.exports=diff},1561:(t,r,i)=>{const o=i(4905);const eq=(t,r,i)=>o(t,r,i)===0;t.exports=eq},3473:(t,r,i)=>{const o=i(4905);const gt=(t,r,i)=>o(t,r,i)>0;t.exports=gt},2967:(t,r,i)=>{const o=i(4905);const gte=(t,r,i)=>o(t,r,i)>=0;t.exports=gte},5009:(t,r,i)=>{const o=i(1490);const inc=(t,r,i,a,u)=>{if(typeof i==="string"){u=a;a=i;i=undefined}try{return new o(t instanceof o?t.version:t,i).inc(r,a,u).version}catch(t){return null}};t.exports=inc},6762:(t,r,i)=>{const o=i(4905);const lt=(t,r,i)=>o(t,r,i)<0;t.exports=lt},973:(t,r,i)=>{const o=i(4905);const lte=(t,r,i)=>o(t,r,i)<=0;t.exports=lte},9799:(t,r,i)=>{const o=i(1490);const major=(t,r)=>new o(t,r).major;t.exports=major},7600:(t,r,i)=>{const o=i(1490);const minor=(t,r)=>new o(t,r).minor;t.exports=minor},8671:(t,r,i)=>{const o=i(4905);const neq=(t,r,i)=>o(t,r,i)!==0;t.exports=neq},8257:(t,r,i)=>{const o=i(1490);const parse=(t,r,i=false)=>{if(t instanceof o){return t}try{return new o(t,r)}catch(t){if(!i){return null}throw t}};t.exports=parse},2112:(t,r,i)=>{const o=i(1490);const patch=(t,r)=>new o(t,r).patch;t.exports=patch},5094:(t,r,i)=>{const o=i(8257);const prerelease=(t,r)=>{const i=o(t,r);return i&&i.prerelease.length?i.prerelease:null};t.exports=prerelease},6110:(t,r,i)=>{const o=i(4905);const rcompare=(t,r,i)=>o(r,t,i);t.exports=rcompare},4550:(t,r,i)=>{const o=i(7375);const rsort=(t,r)=>t.sort(((t,i)=>o(i,t,r)));t.exports=rsort},1495:(t,r,i)=>{const o=i(5287);const satisfies=(t,r,i)=>{try{r=new o(r,i)}catch(t){return false}return r.test(t)};t.exports=satisfies},6034:(t,r,i)=>{const o=i(7375);const sort=(t,r)=>t.sort(((t,i)=>o(t,i,r)));t.exports=sort},3863:(t,r,i)=>{const o=i(8257);const valid=(t,r)=>{const i=o(t,r);return i?i.version:null};t.exports=valid},7546:(t,r,i)=>{const o=i(4063);const a=i(9073);const u=i(1490);const l=i(8587);const h=i(8257);const p=i(3863);const d=i(7876);const m=i(5009);const g=i(6643);const y=i(9799);const v=i(7600);const A=i(2112);const b=i(5094);const w=i(4905);const E=i(6110);const S=i(8186);const _=i(7375);const D=i(6034);const C=i(4550);const x=i(3473);const O=i(6762);const R=i(1561);const k=i(8671);const T=i(2967);const P=i(973);const L=i(8801);const I=i(6899);const M=i(1790);const B=i(5287);const N=i(1495);const $=i(382);const j=i(1706);const W=i(7095);const H=i(507);const G=i(8029);const U=i(7714);const Y=i(9104);const V=i(5072);const z=i(9057);const q=i(9550);const Q=i(8693);t.exports={parse:h,valid:p,clean:d,inc:m,diff:g,major:y,minor:v,patch:A,prerelease:b,compare:w,rcompare:E,compareLoose:S,compareBuild:_,sort:D,rsort:C,gt:x,lt:O,eq:R,neq:k,gte:T,lte:P,cmp:L,coerce:I,Comparator:M,Range:B,satisfies:N,toComparators:$,maxSatisfying:j,minSatisfying:W,minVersion:H,validRange:G,outside:U,gtr:Y,ltr:V,intersects:z,simplifyRange:q,subset:Q,SemVer:u,re:o.re,src:o.src,tokens:o.t,SEMVER_SPEC_VERSION:a.SEMVER_SPEC_VERSION,RELEASE_TYPES:a.RELEASE_TYPES,compareIdentifiers:l.compareIdentifiers,rcompareIdentifiers:l.rcompareIdentifiers}},9073:t=>{const r="2.0.0";const i=256;const o=Number.MAX_SAFE_INTEGER||9007199254740991;const a=16;const u=i-6;const l=["major","premajor","minor","preminor","patch","prepatch","prerelease"];t.exports={MAX_LENGTH:i,MAX_SAFE_COMPONENT_LENGTH:a,MAX_SAFE_BUILD_LENGTH:u,MAX_SAFE_INTEGER:o,RELEASE_TYPES:l,SEMVER_SPEC_VERSION:r,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},3619:t=>{const r=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};t.exports=r},8587:t=>{const r=/^[0-9]+$/;const compareIdentifiers=(t,i)=>{const o=r.test(t);const a=r.test(i);if(o&&a){t=+t;i=+i}return t===i?0:o&&!a?-1:a&&!o?1:t<i?-1:1};const rcompareIdentifiers=(t,r)=>compareIdentifiers(r,t);t.exports={compareIdentifiers:compareIdentifiers,rcompareIdentifiers:rcompareIdentifiers}},1191:t=>{class LRUCache{constructor(){this.max=1e3;this.map=new Map}get(t){const r=this.map.get(t);if(r===undefined){return undefined}else{this.map.delete(t);this.map.set(t,r);return r}}delete(t){return this.map.delete(t)}set(t,r){const i=this.delete(t);if(!i&&r!==undefined){if(this.map.size>=this.max){const t=this.map.keys().next().value;this.delete(t)}this.map.set(t,r)}return this}}t.exports=LRUCache},6772:t=>{const r=Object.freeze({loose:true});const i=Object.freeze({});const parseOptions=t=>{if(!t){return i}if(typeof t!=="object"){return r}return t};t.exports=parseOptions},4063:(t,r,i)=>{const{MAX_SAFE_COMPONENT_LENGTH:o,MAX_SAFE_BUILD_LENGTH:a,MAX_LENGTH:u}=i(9073);const l=i(3619);r=t.exports={};const h=r.re=[];const p=r.safeRe=[];const d=r.src=[];const m=r.t={};let g=0;const y="[a-zA-Z0-9-]";const v=[["\\s",1],["\\d",u],[y,a]];const makeSafeRegex=t=>{for(const[r,i]of v){t=t.split(`${r}*`).join(`${r}{0,${i}}`).split(`${r}+`).join(`${r}{1,${i}}`)}return t};const createToken=(t,r,i)=>{const o=makeSafeRegex(r);const a=g++;l(t,a,r);m[t]=a;d[a]=r;h[a]=new RegExp(r,i?"g":undefined);p[a]=new RegExp(o,i?"g":undefined)};createToken("NUMERICIDENTIFIER","0|[1-9]\\d*");createToken("NUMERICIDENTIFIERLOOSE","\\d+");createToken("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${y}*`);createToken("MAINVERSION",`(${d[m.NUMERICIDENTIFIER]})\\.`+`(${d[m.NUMERICIDENTIFIER]})\\.`+`(${d[m.NUMERICIDENTIFIER]})`);createToken("MAINVERSIONLOOSE",`(${d[m.NUMERICIDENTIFIERLOOSE]})\\.`+`(${d[m.NUMERICIDENTIFIERLOOSE]})\\.`+`(${d[m.NUMERICIDENTIFIERLOOSE]})`);createToken("PRERELEASEIDENTIFIER",`(?:${d[m.NUMERICIDENTIFIER]}|${d[m.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASEIDENTIFIERLOOSE",`(?:${d[m.NUMERICIDENTIFIERLOOSE]}|${d[m.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASE",`(?:-(${d[m.PRERELEASEIDENTIFIER]}(?:\\.${d[m.PRERELEASEIDENTIFIER]})*))`);createToken("PRERELEASELOOSE",`(?:-?(${d[m.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${d[m.PRERELEASEIDENTIFIERLOOSE]})*))`);createToken("BUILDIDENTIFIER",`${y}+`);createToken("BUILD",`(?:\\+(${d[m.BUILDIDENTIFIER]}(?:\\.${d[m.BUILDIDENTIFIER]})*))`);createToken("FULLPLAIN",`v?${d[m.MAINVERSION]}${d[m.PRERELEASE]}?${d[m.BUILD]}?`);createToken("FULL",`^${d[m.FULLPLAIN]}$`);createToken("LOOSEPLAIN",`[v=\\s]*${d[m.MAINVERSIONLOOSE]}${d[m.PRERELEASELOOSE]}?${d[m.BUILD]}?`);createToken("LOOSE",`^${d[m.LOOSEPLAIN]}$`);createToken("GTLT","((?:<|>)?=?)");createToken("XRANGEIDENTIFIERLOOSE",`${d[m.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);createToken("XRANGEIDENTIFIER",`${d[m.NUMERICIDENTIFIER]}|x|X|\\*`);createToken("XRANGEPLAIN",`[v=\\s]*(${d[m.XRANGEIDENTIFIER]})`+`(?:\\.(${d[m.XRANGEIDENTIFIER]})`+`(?:\\.(${d[m.XRANGEIDENTIFIER]})`+`(?:${d[m.PRERELEASE]})?${d[m.BUILD]}?`+`)?)?`);createToken("XRANGEPLAINLOOSE",`[v=\\s]*(${d[m.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${d[m.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${d[m.XRANGEIDENTIFIERLOOSE]})`+`(?:${d[m.PRERELEASELOOSE]})?${d[m.BUILD]}?`+`)?)?`);createToken("XRANGE",`^${d[m.GTLT]}\\s*${d[m.XRANGEPLAIN]}$`);createToken("XRANGELOOSE",`^${d[m.GTLT]}\\s*${d[m.XRANGEPLAINLOOSE]}$`);createToken("COERCEPLAIN",`${"(^|[^\\d])"+"(\\d{1,"}${o}})`+`(?:\\.(\\d{1,${o}}))?`+`(?:\\.(\\d{1,${o}}))?`);createToken("COERCE",`${d[m.COERCEPLAIN]}(?:$|[^\\d])`);createToken("COERCEFULL",d[m.COERCEPLAIN]+`(?:${d[m.PRERELEASE]})?`+`(?:${d[m.BUILD]})?`+`(?:$|[^\\d])`);createToken("COERCERTL",d[m.COERCE],true);createToken("COERCERTLFULL",d[m.COERCEFULL],true);createToken("LONETILDE","(?:~>?)");createToken("TILDETRIM",`(\\s*)${d[m.LONETILDE]}\\s+`,true);r.tildeTrimReplace="$1~";createToken("TILDE",`^${d[m.LONETILDE]}${d[m.XRANGEPLAIN]}$`);createToken("TILDELOOSE",`^${d[m.LONETILDE]}${d[m.XRANGEPLAINLOOSE]}$`);createToken("LONECARET","(?:\\^)");createToken("CARETTRIM",`(\\s*)${d[m.LONECARET]}\\s+`,true);r.caretTrimReplace="$1^";createToken("CARET",`^${d[m.LONECARET]}${d[m.XRANGEPLAIN]}$`);createToken("CARETLOOSE",`^${d[m.LONECARET]}${d[m.XRANGEPLAINLOOSE]}$`);createToken("COMPARATORLOOSE",`^${d[m.GTLT]}\\s*(${d[m.LOOSEPLAIN]})$|^$`);createToken("COMPARATOR",`^${d[m.GTLT]}\\s*(${d[m.FULLPLAIN]})$|^$`);createToken("COMPARATORTRIM",`(\\s*)${d[m.GTLT]}\\s*(${d[m.LOOSEPLAIN]}|${d[m.XRANGEPLAIN]})`,true);r.comparatorTrimReplace="$1$2$3";createToken("HYPHENRANGE",`^\\s*(${d[m.XRANGEPLAIN]})`+`\\s+-\\s+`+`(${d[m.XRANGEPLAIN]})`+`\\s*$`);createToken("HYPHENRANGELOOSE",`^\\s*(${d[m.XRANGEPLAINLOOSE]})`+`\\s+-\\s+`+`(${d[m.XRANGEPLAINLOOSE]})`+`\\s*$`);createToken("STAR","(<|>)?=?\\s*\\*");createToken("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");createToken("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},9104:(t,r,i)=>{const o=i(7714);const gtr=(t,r,i)=>o(t,r,">",i);t.exports=gtr},9057:(t,r,i)=>{const o=i(5287);const intersects=(t,r,i)=>{t=new o(t,i);r=new o(r,i);return t.intersects(r,i)};t.exports=intersects},5072:(t,r,i)=>{const o=i(7714);const ltr=(t,r,i)=>o(t,r,"<",i);t.exports=ltr},1706:(t,r,i)=>{const o=i(1490);const a=i(5287);const maxSatisfying=(t,r,i)=>{let u=null;let l=null;let h=null;try{h=new a(r,i)}catch(t){return null}t.forEach((t=>{if(h.test(t)){if(!u||l.compare(t)===-1){u=t;l=new o(u,i)}}}));return u};t.exports=maxSatisfying},7095:(t,r,i)=>{const o=i(1490);const a=i(5287);const minSatisfying=(t,r,i)=>{let u=null;let l=null;let h=null;try{h=new a(r,i)}catch(t){return null}t.forEach((t=>{if(h.test(t)){if(!u||l.compare(t)===1){u=t;l=new o(u,i)}}}));return u};t.exports=minSatisfying},507:(t,r,i)=>{const o=i(1490);const a=i(5287);const u=i(3473);const minVersion=(t,r)=>{t=new a(t,r);let i=new o("0.0.0");if(t.test(i)){return i}i=new o("0.0.0-0");if(t.test(i)){return i}i=null;for(let r=0;r<t.set.length;++r){const a=t.set[r];let l=null;a.forEach((t=>{const r=new o(t.semver.version);switch(t.operator){case">":if(r.prerelease.length===0){r.patch++}else{r.prerelease.push(0)}r.raw=r.format();case"":case">=":if(!l||u(r,l)){l=r}break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${t.operator}`)}}));if(l&&(!i||u(i,l))){i=l}}if(i&&t.test(i)){return i}return null};t.exports=minVersion},7714:(t,r,i)=>{const o=i(1490);const a=i(1790);const{ANY:u}=a;const l=i(5287);const h=i(1495);const p=i(3473);const d=i(6762);const m=i(973);const g=i(2967);const outside=(t,r,i,y)=>{t=new o(t,y);r=new l(r,y);let v,A,b,w,E;switch(i){case">":v=p;A=m;b=d;w=">";E=">=";break;case"<":v=d;A=g;b=p;w="<";E="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(h(t,r,y)){return false}for(let i=0;i<r.set.length;++i){const o=r.set[i];let l=null;let h=null;o.forEach((t=>{if(t.semver===u){t=new a(">=0.0.0")}l=l||t;h=h||t;if(v(t.semver,l.semver,y)){l=t}else if(b(t.semver,h.semver,y)){h=t}}));if(l.operator===w||l.operator===E){return false}if((!h.operator||h.operator===w)&&A(t,h.semver)){return false}else if(h.operator===E&&b(t,h.semver)){return false}}return true};t.exports=outside},9550:(t,r,i)=>{const o=i(1495);const a=i(4905);t.exports=(t,r,i)=>{const u=[];let l=null;let h=null;const p=t.sort(((t,r)=>a(t,r,i)));for(const t of p){const a=o(t,r,i);if(a){h=t;if(!l){l=t}}else{if(h){u.push([l,h])}h=null;l=null}}if(l){u.push([l,null])}const d=[];for(const[t,r]of u){if(t===r){d.push(t)}else if(!r&&t===p[0]){d.push("*")}else if(!r){d.push(`>=${t}`)}else if(t===p[0]){d.push(`<=${r}`)}else{d.push(`${t} - ${r}`)}}const m=d.join(" || ");const g=typeof r.raw==="string"?r.raw:String(r);return m.length<g.length?m:r}},8693:(t,r,i)=>{const o=i(5287);const a=i(1790);const{ANY:u}=a;const l=i(1495);const h=i(4905);const subset=(t,r,i={})=>{if(t===r){return true}t=new o(t,i);r=new o(r,i);let a=false;e:for(const o of t.set){for(const t of r.set){const r=simpleSubset(o,t,i);a=a||r!==null;if(r){continue e}}if(a){return false}}return true};const p=[new a(">=0.0.0-0")];const d=[new a(">=0.0.0")];const simpleSubset=(t,r,i)=>{if(t===r){return true}if(t.length===1&&t[0].semver===u){if(r.length===1&&r[0].semver===u){return true}else if(i.includePrerelease){t=p}else{t=d}}if(r.length===1&&r[0].semver===u){if(i.includePrerelease){return true}else{r=d}}const o=new Set;let a,m;for(const r of t){if(r.operator===">"||r.operator===">="){a=higherGT(a,r,i)}else if(r.operator==="<"||r.operator==="<="){m=lowerLT(m,r,i)}else{o.add(r.semver)}}if(o.size>1){return null}let g;if(a&&m){g=h(a.semver,m.semver,i);if(g>0){return null}else if(g===0&&(a.operator!==">="||m.operator!=="<=")){return null}}for(const t of o){if(a&&!l(t,String(a),i)){return null}if(m&&!l(t,String(m),i)){return null}for(const o of r){if(!l(t,String(o),i)){return false}}return true}let y,v;let A,b;let w=m&&!i.includePrerelease&&m.semver.prerelease.length?m.semver:false;let E=a&&!i.includePrerelease&&a.semver.prerelease.length?a.semver:false;if(w&&w.prerelease.length===1&&m.operator==="<"&&w.prerelease[0]===0){w=false}for(const t of r){b=b||t.operator===">"||t.operator===">=";A=A||t.operator==="<"||t.operator==="<=";if(a){if(E){if(t.semver.prerelease&&t.semver.prerelease.length&&t.semver.major===E.major&&t.semver.minor===E.minor&&t.semver.patch===E.patch){E=false}}if(t.operator===">"||t.operator===">="){y=higherGT(a,t,i);if(y===t&&y!==a){return false}}else if(a.operator===">="&&!l(a.semver,String(t),i)){return false}}if(m){if(w){if(t.semver.prerelease&&t.semver.prerelease.length&&t.semver.major===w.major&&t.semver.minor===w.minor&&t.semver.patch===w.patch){w=false}}if(t.operator==="<"||t.operator==="<="){v=lowerLT(m,t,i);if(v===t&&v!==m){return false}}else if(m.operator==="<="&&!l(m.semver,String(t),i)){return false}}if(!t.operator&&(m||a)&&g!==0){return false}}if(a&&A&&!m&&g!==0){return false}if(m&&b&&!a&&g!==0){return false}if(E||w){return false}return true};const higherGT=(t,r,i)=>{if(!t){return r}const o=h(t.semver,r.semver,i);return o>0?t:o<0?r:r.operator===">"&&t.operator===">="?r:t};const lowerLT=(t,r,i)=>{if(!t){return r}const o=h(t.semver,r.semver,i);return o<0?t:o>0?r:r.operator==="<"&&t.operator==="<="?r:t};t.exports=subset},382:(t,r,i)=>{const o=i(5287);const toComparators=(t,r)=>new o(t,r).set.map((t=>t.map((t=>t.value)).join(" ").trim().split(" ")));t.exports=toComparators},8029:(t,r,i)=>{const o=i(5287);const validRange=(t,r)=>{try{return new o(t,r).range||"*"}catch(t){return null}};t.exports=validRange},4970:(t,r,i)=>{"use strict";const o=i(1504);t.exports=(t="")=>{const r=t.match(o);if(!r){return null}const[i,a]=r[0].replace(/#! ?/,"").split(" ");const u=i.split("/").pop();if(u==="env"){return a}return a?`${u} ${a}`:u}},1504:t=>{"use strict";t.exports=/^#!(.*)/},332:t=>{"use strict";const r="";const i=`${r}[`;const o="";const a={to(t,r){if(!r)return`${i}${t+1}G`;return`${i}${r+1};${t+1}H`},move(t,r){let o="";if(t<0)o+=`${i}${-t}D`;else if(t>0)o+=`${i}${t}C`;if(r<0)o+=`${i}${-r}A`;else if(r>0)o+=`${i}${r}B`;return o},up:(t=1)=>`${i}${t}A`,down:(t=1)=>`${i}${t}B`,forward:(t=1)=>`${i}${t}C`,backward:(t=1)=>`${i}${t}D`,nextLine:(t=1)=>`${i}E`.repeat(t),prevLine:(t=1)=>`${i}F`.repeat(t),left:`${i}G`,hide:`${i}?25l`,show:`${i}?25h`,save:`${r}7`,restore:`${r}8`};const u={up:(t=1)=>`${i}S`.repeat(t),down:(t=1)=>`${i}T`.repeat(t)};const l={screen:`${i}2J`,up:(t=1)=>`${i}1J`.repeat(t),down:(t=1)=>`${i}J`.repeat(t),line:`${i}2K`,lineEnd:`${i}K`,lineStart:`${i}1K`,lines(t){let r="";for(let i=0;i<t;i++)r+=this.line+(i<t-1?a.up():"");if(t)r+=a.left;return r}};t.exports={cursor:a,scroll:u,erase:l,beep:o}},7485:(t,r,i)=>{"use strict";const{Buffer:o}=i(4300);const a=Symbol.for("BufferList");function BufferList(t){if(!(this instanceof BufferList)){return new BufferList(t)}BufferList._init.call(this,t)}BufferList._init=function _init(t){Object.defineProperty(this,a,{value:true});this._bufs=[];this.length=0;if(t){this.append(t)}};BufferList.prototype._new=function _new(t){return new BufferList(t)};BufferList.prototype._offset=function _offset(t){if(t===0){return[0,0]}let r=0;for(let i=0;i<this._bufs.length;i++){const o=r+this._bufs[i].length;if(t<o||i===this._bufs.length-1){return[i,t-r]}r=o}};BufferList.prototype._reverseOffset=function(t){const r=t[0];let i=t[1];for(let t=0;t<r;t++){i+=this._bufs[t].length}return i};BufferList.prototype.get=function get(t){if(t>this.length||t<0){return undefined}const r=this._offset(t);return this._bufs[r[0]][r[1]]};BufferList.prototype.slice=function slice(t,r){if(typeof t==="number"&&t<0){t+=this.length}if(typeof r==="number"&&r<0){r+=this.length}return this.copy(null,0,t,r)};BufferList.prototype.copy=function copy(t,r,i,a){if(typeof i!=="number"||i<0){i=0}if(typeof a!=="number"||a>this.length){a=this.length}if(i>=this.length){return t||o.alloc(0)}if(a<=0){return t||o.alloc(0)}const copy=!!t;const u=this._offset(i);const l=a-i;let h=l;let p=copy&&r||0;let d=u[1];if(i===0&&a===this.length){if(!copy){return this._bufs.length===1?this._bufs[0]:o.concat(this._bufs,this.length)}for(let r=0;r<this._bufs.length;r++){this._bufs[r].copy(t,p);p+=this._bufs[r].length}return t}if(h<=this._bufs[u[0]].length-d){return copy?this._bufs[u[0]].copy(t,r,d,d+h):this._bufs[u[0]].slice(d,d+h)}if(!copy){t=o.allocUnsafe(l)}for(let r=u[0];r<this._bufs.length;r++){const i=this._bufs[r].length-d;if(h>i){this._bufs[r].copy(t,p,d);p+=i}else{this._bufs[r].copy(t,p,d,d+h);p+=i;break}h-=i;if(d){d=0}}if(t.length>p)return t.slice(0,p);return t};BufferList.prototype.shallowSlice=function shallowSlice(t,r){t=t||0;r=typeof r!=="number"?this.length:r;if(t<0){t+=this.length}if(r<0){r+=this.length}if(t===r){return this._new()}const i=this._offset(t);const o=this._offset(r);const a=this._bufs.slice(i[0],o[0]+1);if(o[1]===0){a.pop()}else{a[a.length-1]=a[a.length-1].slice(0,o[1])}if(i[1]!==0){a[0]=a[0].slice(i[1])}return this._new(a)};BufferList.prototype.toString=function toString(t,r,i){return this.slice(r,i).toString(t)};BufferList.prototype.consume=function consume(t){t=Math.trunc(t);if(Number.isNaN(t)||t<=0)return this;while(this._bufs.length){if(t>=this._bufs[0].length){t-=this._bufs[0].length;this.length-=this._bufs[0].length;this._bufs.shift()}else{this._bufs[0]=this._bufs[0].slice(t);this.length-=t;break}}return this};BufferList.prototype.duplicate=function duplicate(){const t=this._new();for(let r=0;r<this._bufs.length;r++){t.append(this._bufs[r])}return t};BufferList.prototype.append=function append(t){if(t==null){return this}if(t.buffer){this._appendBuffer(o.from(t.buffer,t.byteOffset,t.byteLength))}else if(Array.isArray(t)){for(let r=0;r<t.length;r++){this.append(t[r])}}else if(this._isBufferList(t)){for(let r=0;r<t._bufs.length;r++){this.append(t._bufs[r])}}else{if(typeof t==="number"){t=t.toString()}this._appendBuffer(o.from(t))}return this};BufferList.prototype._appendBuffer=function appendBuffer(t){this._bufs.push(t);this.length+=t.length};BufferList.prototype.indexOf=function(t,r,i){if(i===undefined&&typeof r==="string"){i=r;r=undefined}if(typeof t==="function"||Array.isArray(t)){throw new TypeError('The "value" argument must be one of type string, Buffer, BufferList, or Uint8Array.')}else if(typeof t==="number"){t=o.from([t])}else if(typeof t==="string"){t=o.from(t,i)}else if(this._isBufferList(t)){t=t.slice()}else if(Array.isArray(t.buffer)){t=o.from(t.buffer,t.byteOffset,t.byteLength)}else if(!o.isBuffer(t)){t=o.from(t)}r=Number(r||0);if(isNaN(r)){r=0}if(r<0){r=this.length+r}if(r<0){r=0}if(t.length===0){return r>this.length?this.length:r}const a=this._offset(r);let u=a[0];let l=a[1];for(;u<this._bufs.length;u++){const r=this._bufs[u];while(l<r.length){const i=r.length-l;if(i>=t.length){const i=r.indexOf(t,l);if(i!==-1){return this._reverseOffset([u,i])}l=r.length-t.length+1}else{const r=this._reverseOffset([u,l]);if(this._match(r,t)){return r}l++}}l=0}return-1};BufferList.prototype._match=function(t,r){if(this.length-t<r.length){return false}for(let i=0;i<r.length;i++){if(this.get(t+i)!==r[i]){return false}}return true};(function(){const t={readDoubleBE:8,readDoubleLE:8,readFloatBE:4,readFloatLE:4,readInt32BE:4,readInt32LE:4,readUInt32BE:4,readUInt32LE:4,readInt16BE:2,readInt16LE:2,readUInt16BE:2,readUInt16LE:2,readInt8:1,readUInt8:1,readIntBE:null,readIntLE:null,readUIntBE:null,readUIntLE:null};for(const r in t){(function(r){if(t[r]===null){BufferList.prototype[r]=function(t,i){return this.slice(t,t+i)[r](0,i)}}else{BufferList.prototype[r]=function(i=0){return this.slice(i,i+t[r])[r](0)}}})(r)}})();BufferList.prototype._isBufferList=function _isBufferList(t){return t instanceof BufferList||BufferList.isBufferList(t)};BufferList.isBufferList=function isBufferList(t){return t!=null&&t[a]};t.exports=BufferList},2167:(t,r,i)=>{"use strict";const o=i(675).Duplex;const a=i(6919);const u=i(7485);function BufferListStream(t){if(!(this instanceof BufferListStream)){return new BufferListStream(t)}if(typeof t==="function"){this._callback=t;const r=function piper(t){if(this._callback){this._callback(t);this._callback=null}}.bind(this);this.on("pipe",(function onPipe(t){t.on("error",r)}));this.on("unpipe",(function onUnpipe(t){t.removeListener("error",r)}));t=null}u._init.call(this,t);o.call(this)}a(BufferListStream,o);Object.assign(BufferListStream.prototype,u.prototype);BufferListStream.prototype._new=function _new(t){return new BufferListStream(t)};BufferListStream.prototype._write=function _write(t,r,i){this._appendBuffer(t);if(typeof i==="function"){i()}};BufferListStream.prototype._read=function _read(t){if(!this.length){return this.push(null)}t=Math.min(t,this.length);this.push(this.slice(0,t));this.consume(t)};BufferListStream.prototype.end=function end(t){o.prototype.end.call(this,t);if(this._callback){this._callback(null,this.slice());this._callback=null}};BufferListStream.prototype._destroy=function _destroy(t,r){this._bufs.length=0;this.length=0;r(t)};BufferListStream.prototype._isBufferList=function _isBufferList(t){return t instanceof BufferListStream||t instanceof u||BufferListStream.isBufferList(t)};BufferListStream.isBufferList=u.isBufferList;t.exports=BufferListStream;t.exports.BufferListStream=BufferListStream;t.exports.BufferList=u},642:(t,r,i)=>{"use strict";var o=i(3118).Buffer;var a=o.isEncoding||function(t){t=""+t;switch(t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return true;default:return false}};function _normalizeEncoding(t){if(!t)return"utf8";var r;while(true){switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(r)return;t=(""+t).toLowerCase();r=true}}}function normalizeEncoding(t){var r=_normalizeEncoding(t);if(typeof r!=="string"&&(o.isEncoding===a||!a(t)))throw new Error("Unknown encoding: "+t);return r||t}r.s=StringDecoder;function StringDecoder(t){this.encoding=normalizeEncoding(t);var r;switch(this.encoding){case"utf16le":this.text=utf16Text;this.end=utf16End;r=4;break;case"utf8":this.fillLast=utf8FillLast;r=4;break;case"base64":this.text=base64Text;this.end=base64End;r=3;break;default:this.write=simpleWrite;this.end=simpleEnd;return}this.lastNeed=0;this.lastTotal=0;this.lastChar=o.allocUnsafe(r)}StringDecoder.prototype.write=function(t){if(t.length===0)return"";var r;var i;if(this.lastNeed){r=this.fillLast(t);if(r===undefined)return"";i=this.lastNeed;this.lastNeed=0}else{i=0}if(i<t.length)return r?r+this.text(t,i):this.text(t,i);return r||""};StringDecoder.prototype.end=utf8End;StringDecoder.prototype.text=utf8Text;StringDecoder.prototype.fillLast=function(t){if(this.lastNeed<=t.length){t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length);this.lastNeed-=t.length};function utf8CheckByte(t){if(t<=127)return 0;else if(t>>5===6)return 2;else if(t>>4===14)return 3;else if(t>>3===30)return 4;return t>>6===2?-1:-2}function utf8CheckIncomplete(t,r,i){var o=r.length-1;if(o<i)return 0;var a=utf8CheckByte(r[o]);if(a>=0){if(a>0)t.lastNeed=a-1;return a}if(--o<i||a===-2)return 0;a=utf8CheckByte(r[o]);if(a>=0){if(a>0)t.lastNeed=a-2;return a}if(--o<i||a===-2)return 0;a=utf8CheckByte(r[o]);if(a>=0){if(a>0){if(a===2)a=0;else t.lastNeed=a-3}return a}return 0}function utf8CheckExtraBytes(t,r,i){if((r[0]&192)!==128){t.lastNeed=0;return"�"}if(t.lastNeed>1&&r.length>1){if((r[1]&192)!==128){t.lastNeed=1;return"�"}if(t.lastNeed>2&&r.length>2){if((r[2]&192)!==128){t.lastNeed=2;return"�"}}}}function utf8FillLast(t){var r=this.lastTotal-this.lastNeed;var i=utf8CheckExtraBytes(this,t,r);if(i!==undefined)return i;if(this.lastNeed<=t.length){t.copy(this.lastChar,r,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}t.copy(this.lastChar,r,0,t.length);this.lastNeed-=t.length}function utf8Text(t,r){var i=utf8CheckIncomplete(this,t,r);if(!this.lastNeed)return t.toString("utf8",r);this.lastTotal=i;var o=t.length-(i-this.lastNeed);t.copy(this.lastChar,0,o);return t.toString("utf8",r,o)}function utf8End(t){var r=t&&t.length?this.write(t):"";if(this.lastNeed)return r+"�";return r}function utf16Text(t,r){if((t.length-r)%2===0){var i=t.toString("utf16le",r);if(i){var o=i.charCodeAt(i.length-1);if(o>=55296&&o<=56319){this.lastNeed=2;this.lastTotal=4;this.lastChar[0]=t[t.length-2];this.lastChar[1]=t[t.length-1];return i.slice(0,-1)}}return i}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=t[t.length-1];return t.toString("utf16le",r,t.length-1)}function utf16End(t){var r=t&&t.length?this.write(t):"";if(this.lastNeed){var i=this.lastTotal-this.lastNeed;return r+this.lastChar.toString("utf16le",0,i)}return r}function base64Text(t,r){var i=(t.length-r)%3;if(i===0)return t.toString("base64",r);this.lastNeed=3-i;this.lastTotal=3;if(i===1){this.lastChar[0]=t[t.length-1]}else{this.lastChar[0]=t[t.length-2];this.lastChar[1]=t[t.length-1]}return t.toString("base64",r,t.length-i)}function base64End(t){var r=t&&t.length?this.write(t):"";if(this.lastNeed)return r+this.lastChar.toString("base64",0,3-this.lastNeed);return r}function simpleWrite(t){return t.toString(this.encoding)}function simpleEnd(t){return t&&t.length?this.write(t):""}},5667:(t,r,i)=>{var o={child:i(2081),crypto:i(6113),fs:i(7147),os:i(2037),path:i(1017),process:process,util:i(3837)};function Attempt(t,r){var i=o.process.platform;if(i==="darwin")return Mac(t,r);if(i==="linux")return Linux(t,r);if(i==="win32")return Windows(t,r);r(new Error("Platform not yet supported."))}function EscapeDoubleQuotes(t){if(typeof t!=="string")throw new Error("Expected a string.");return t.replace(/"/g,'\\"')}function Exec(){if(arguments.length<1||arguments.length>3){throw new Error("Wrong number of arguments.")}var t=arguments[0];var r={};var end=function(){};if(typeof t!=="string"){throw new Error("Command should be a string.")}if(arguments.length===2){if(o.util.isObject(arguments[1])){r=arguments[1]}else if(o.util.isFunction(arguments[1])){end=arguments[1]}else{throw new Error("Expected options or callback.")}}else if(arguments.length===3){if(o.util.isObject(arguments[1])){r=arguments[1]}else{throw new Error("Expected options to be an object.")}if(o.util.isFunction(arguments[2])){end=arguments[2]}else{throw new Error("Expected callback to be a function.")}}if(/^sudo/i.test(t)){return end(new Error('Command should not be prefixed with "sudo".'))}if(typeof r.name==="undefined"){var i=o.process.title;if(ValidName(i)){r.name=i}else{return end(new Error("process.title cannot be used as a valid name."))}}else if(!ValidName(r.name)){var a="";a+="options.name must be alphanumeric only ";a+="(spaces are allowed) and <= 70 characters.";return end(new Error(a))}if(typeof r.icns!=="undefined"){if(typeof r.icns!=="string"){return end(new Error("options.icns must be a string if provided."))}else if(r.icns.trim().length===0){return end(new Error("options.icns must not be empty if provided."))}}if(typeof r.env!=="undefined"){if(typeof r.env!=="object"){return end(new Error("options.env must be an object if provided."))}else if(Object.keys(r.env).length===0){return end(new Error("options.env must not be empty if provided."))}else{for(var u in r.env){var l=r.env[u];if(typeof u!=="string"||typeof l!=="string"){return end(new Error("options.env environment variables must be strings."))}if(!/^[a-zA-Z_][a-zA-Z0-9_]*$/.test(u)){return end(new Error("options.env has an invalid environment variable name: "+JSON.stringify(u)))}if(/[\r\n]/.test(l)){return end(new Error("options.env has an invalid environment variable value: "+JSON.stringify(l)))}}}}var h=o.process.platform;if(h!=="darwin"&&h!=="linux"&&h!=="win32"){return end(new Error("Platform not yet supported."))}var p={command:t,options:r,uuid:undefined,path:undefined};Attempt(p,end)}function Linux(t,r){LinuxBinary(t,(function(i,a){if(i)return r(i);var p=[];p.push('cd "'+EscapeDoubleQuotes(o.process.cwd())+'";');for(var d in t.options.env){var m=t.options.env[d];p.push("export "+d+'="'+EscapeDoubleQuotes(m)+'";')}p.push('"'+EscapeDoubleQuotes(a)+'"');if(/kdesudo/i.test(a)){p.push("--comment",'"'+t.options.name+" wants to make changes. "+'Enter your password to allow this."');p.push("-d");p.push("--")}else if(/pkexec/i.test(a)){p.push("--disable-internal-agent")}var g="SUDOPROMPT\n";p.push('/bin/bash -c "echo '+EscapeDoubleQuotes(g.trim())+"; "+EscapeDoubleQuotes(t.command)+'"');p=p.join(" ");o.child.exec(p,{encoding:"utf-8",maxBuffer:h},(function(t,i,o){var a=i&&i.slice(0,g.length)===g;if(a)i=i.slice(g.length);if(t&&!a){if(/No authentication agent found/.test(o)){t.message=l}else{t.message=u}}r(t,i,o)}))}))}function LinuxBinary(t,r){var i=0;var a=["/usr/bin/kdesudo","/usr/bin/pkexec"];function test(){if(i===a.length){return r(new Error("Unable to find pkexec or kdesudo."))}var t=a[i++];o.fs.stat(t,(function(i){if(i){if(i.code==="ENOTDIR")return test();if(i.code==="ENOENT")return test();r(i)}else{r(undefined,t)}}))}test()}function Mac(t,r){var i=o.os.tmpdir();if(!i)return r(new Error("os.tmpdir() not defined."));var a=o.process.env.USER;if(!a)return r(new Error("env['USER'] not defined."));UUID(t,(function(a,u){if(a)return r(a);t.uuid=u;t.path=o.path.join(i,t.uuid,t.options.name+".app");function end(i,a,u){Remove(o.path.dirname(t.path),(function(t){if(i)return r(i);if(t)return r(t);r(undefined,a,u)}))}MacApplet(t,(function(r,i,o){if(r)return end(r,i,o);MacIcon(t,(function(r){if(r)return end(r);MacPropertyList(t,(function(r,i,o){if(r)return end(r,i,o);MacCommand(t,(function(r){if(r)return end(r);MacOpen(t,(function(r,i,o){if(r)return end(r,i,o);MacResult(t,end)}))}))}))}))}))}))}function MacApplet(t,r){var i=o.path.dirname(t.path);o.fs.mkdir(i,(function(u){if(u)return r(u);var l=o.path.join(i,"sudo-prompt-applet.zip");o.fs.writeFile(l,a,"base64",(function(i){if(i)return r(i);var a=[];a.push("/usr/bin/unzip");a.push("-o");a.push('"'+EscapeDoubleQuotes(l)+'"');a.push('-d "'+EscapeDoubleQuotes(t.path)+'"');a=a.join(" ");o.child.exec(a,{encoding:"utf-8"},r)}))}))}function MacCommand(t,r){var i=o.path.join(t.path,"Contents","MacOS","sudo-prompt-command");var a=[];a.push('cd "'+EscapeDoubleQuotes(o.process.cwd())+'"');for(var u in t.options.env){var l=t.options.env[u];a.push("export "+u+'="'+EscapeDoubleQuotes(l)+'"')}a.push(t.command);a=a.join("\n");o.fs.writeFile(i,a,"utf-8",r)}function MacIcon(t,r){if(!t.options.icns)return r();o.fs.readFile(t.options.icns,(function(i,a){if(i)return r(i);var u=o.path.join(t.path,"Contents","Resources","applet.icns");o.fs.writeFile(u,a,r)}))}function MacOpen(t,r){var i=o.path.join(t.path,"Contents","MacOS","applet");var a={cwd:o.path.dirname(i),encoding:"utf-8"};o.child.exec("./"+o.path.basename(i),a,r)}function MacPropertyList(t,r){var i=o.path.join(t.path,"Contents","Info.plist");var a=EscapeDoubleQuotes(i);var u=EscapeDoubleQuotes("CFBundleName");var l=t.options.name+" Password Prompt";if(/'/.test(l)){return r(new Error("Value should not contain single quotes."))}var h=[];h.push("/usr/bin/defaults");h.push("write");h.push('"'+a+'"');h.push('"'+u+'"');h.push("'"+l+"'");h=h.join(" ");o.child.exec(h,{encoding:"utf-8"},r)}function MacResult(t,r){var i=o.path.join(t.path,"Contents","MacOS");o.fs.readFile(o.path.join(i,"code"),"utf-8",(function(a,l){if(a){if(a.code==="ENOENT")return r(new Error(u));r(a)}else{o.fs.readFile(o.path.join(i,"stdout"),"utf-8",(function(a,u){if(a)return r(a);o.fs.readFile(o.path.join(i,"stderr"),"utf-8",(function(i,o){if(i)return r(i);l=parseInt(l.trim(),10);if(l===0){r(undefined,u,o)}else{i=new Error("Command failed: "+t.command+"\n"+o);i.code=l;r(i,u,o)}}))}))}}))}function Remove(t,r){if(typeof t!=="string"||!t.trim()){return r(new Error("Argument path not defined."))}var i=[];if(o.process.platform==="win32"){if(/"/.test(t)){return r(new Error("Argument path cannot contain double-quotes."))}i.push('rmdir /s /q "'+t+'"')}else{i.push("/bin/rm");i.push("-rf");i.push('"'+EscapeDoubleQuotes(o.path.normalize(t))+'"')}i=i.join(" ");o.child.exec(i,{encoding:"utf-8"},r)}function UUID(t,r){o.crypto.randomBytes(256,(function(i,a){if(i)a=Date.now()+""+Math.random();var u=o.crypto.createHash("SHA256");u.update("sudo-prompt-3");u.update(t.options.name);u.update(t.command);u.update(a);var l=u.digest("hex").slice(-32);if(!l||typeof l!=="string"||l.length!==32){return r(new Error("Expected a valid UUID."))}r(undefined,l)}))}function ValidName(t){if(!/^[a-z0-9 ]+$/i.test(t))return false;if(t.trim().length===0)return false;if(t.length>70)return false;return true}function Windows(t,r){var i=o.os.tmpdir();if(!i)return r(new Error("os.tmpdir() not defined."));UUID(t,(function(a,u){if(a)return r(a);t.uuid=u;t.path=o.path.join(i,t.uuid);if(/"/.test(t.path)){return r(new Error("instance.path cannot contain double-quotes."))}t.pathElevate=o.path.join(t.path,"elevate.vbs");t.pathExecute=o.path.join(t.path,"execute.bat");t.pathCommand=o.path.join(t.path,"command.bat");t.pathStdout=o.path.join(t.path,"stdout");t.pathStderr=o.path.join(t.path,"stderr");t.pathStatus=o.path.join(t.path,"status");o.fs.mkdir(t.path,(function(i){if(i)return r(i);function end(i,o,a){Remove(t.path,(function(t){if(i)return r(i);if(t)return r(t);r(undefined,o,a)}))}WindowsWriteExecuteScript(t,(function(r){if(r)return end(r);WindowsWriteCommandScript(t,(function(r){if(r)return end(r);WindowsElevate(t,(function(r,i,o){if(r)return end(r,i,o);WindowsWaitForStatus(t,(function(r){if(r)return end(r);WindowsResult(t,end)}))}))}))}))}))}))}function WindowsElevate(t,r){var i=[];i.push("powershell.exe");i.push("Start-Process");i.push("-FilePath");i.push("\"'"+t.pathExecute.replace(/'/g,"`'")+"'\"");i.push("-WindowStyle hidden");i.push("-Verb runAs");i=i.join(" ");var a=o.child.exec(i,{encoding:"utf-8"},(function(t,i,o){if(t)return r(new Error(u),i,o);r()}));a.stdin.end()}function WindowsResult(t,r){o.fs.readFile(t.pathStatus,"utf-8",(function(i,a){if(i)return r(i);o.fs.readFile(t.pathStdout,"utf-8",(function(i,u){if(i)return r(i);o.fs.readFile(t.pathStderr,"utf-8",(function(i,o){if(i)return r(i);a=parseInt(a.trim(),10);if(a===0){r(undefined,u,o)}else{i=new Error("Command failed: "+t.command+"\r\n"+o);i.code=a;r(i,u,o)}}))}))}))}function WindowsWaitForStatus(t,r){o.fs.stat(t.pathStatus,(function(i,a){if(i&&i.code==="ENOENT"||a.size<2){setTimeout((function(){o.fs.stat(t.pathStdout,(function(i){if(i)return r(new Error(u));WindowsWaitForStatus(t,r)}))}),1e3)}else if(i){r(i)}else{r()}}))}function WindowsWriteCommandScript(t,r){var i=o.process.cwd();if(/"/.test(i)){return r(new Error("process.cwd() cannot contain double-quotes."))}var a=[];a.push("@echo off");a.push("chcp 65001>nul");a.push('cd /d "'+i+'"');for(var u in t.options.env){var l=t.options.env[u];a.push("set "+u+"="+l.replace(/([<>\\|&^])/g,"^$1"))}a.push(t.command);a=a.join("\r\n");o.fs.writeFile(t.pathCommand,a,"utf-8",r)}function WindowsWriteElevateScript(t,r){}function WindowsWriteExecuteScript(t,r){var i=[];i.push("@echo off");i.push('call "'+t.pathCommand+'"'+' > "'+t.pathStdout+'" 2> "'+t.pathStderr+'"');i.push('(echo %ERRORLEVEL%) > "'+t.pathStatus+'"');i=i.join("\r\n");o.fs.writeFile(t.pathExecute,i,"utf-8",r)}t.exports.exec=Exec;var a="UEsDBAoAAAAAAO1YcEcAAAAAAAAAAAAAAAAJABwAQ29udGVudHMvVVQJAAPNnElWLZEQV3V4CwABBPUBAAAEFAAAAFBLAwQUAAAACACgeXBHlHaGqKEBAAC+AwAAEwAcAENvbnRlbnRzL0luZm8ucGxpc3RVVAkAA1zWSVYtkRBXdXgLAAEE9QEAAAQUAAAAfZNRb5swFIWfl1/BeA9OpSmqJkqVBCJFop1VyKQ9Ta59S6wa27NNCfv1M0naJWTsEXO+c8+9vo7v97UI3sBYruRdeBPNwgAkVYzL6i7cluvpbXifTOLP6bdV+QNngRbcugBvl/lmFYRThBZaC0AoLdMA55uiDLwHQtljGIQ75/RXhNq2jUiviqiqe6FF2CgNxnW5N5t6IGKOhb7M0f0ijj9lnLpk8il+hS5ZrZeNZAIWQqj2ge+B5YoSwX8T5xEbo17ktc40gIZQCm8glK5BuieovP5Dbp3xHSeZrHyCXYxO3wM+2wNtHHkWMAQP/bkxbkOVXPMxKuK0Dz6CMh+Wv3AwQ9gPM7INU1NtVK3Ha8sXlfoB+m6J6b4fRzv0mkezMf6R1Fe5MbG2VYYF+L+lMaGvpIKy01cOC4zzMazYKeNOQYuDYkjfjMcteCWJa8w/Zi2ugubFA5e8buqisw7qU81ltzB0xx3QC5/TFh7J/e385/zL+7+/wWbR/LwIOl/dvHiCXw03YFfEPJ9dwsWu5sV2kwnod3QoeLeL0eGdJJM/UEsDBAoAAAAAAHSBjkgAAAAAAAAAAAAAAAAPABwAQ29udGVudHMvTWFjT1MvVVQJAAMbpQ9XLZEQV3V4CwABBPUBAAAEFAAAAFBLAwQUAAAACABVHBdH7Dk4KTIIAADIYQAAFQAcAENvbnRlbnRzL01hY09TL2FwcGxldFVUCQADMiPZVVOlD1d1eAsAAQT1AQAABBQAAADtnG9sHEcVwGfti7M1/rONLNVtXHqpzsipis+pHOSWFOzEm25at3XrJI2ozbK+W/suuds79vaSuCKSpaOIxRy1+NSPRPAhlWj7AVRaQCWpTRz+CEo+RSKCCho4K67kVhUyAeV4b3fWt17fXZqKFgHvp8zO3/dmdmfPmtl5L7+8/uPXGWMNELZCaGRMgmjHIlxaBCibdcoGsewCljGCIAiCIAiCIAiCIP7r+M21d67zjb/zEaAdwr1bGHuWMQH2/2wAgqqODj0kf0F+8nGfoFRbJ8p9U0C5g/KRgwEZqZLGfrfwwJx+LP2kVWkelD9zJ2NfBr1nWt2xrhNisxWZ3Ex6MpNSc1Z+soqOO+5i7JMYt7vj9BC5jiZXBwirCT2V1c0qOgZAxwMYt9cbRyxnmUljusa9mKBjGON2tgG/PlXNGyeSRlxNGlOZKjpeBR0KxsFx+MB7VJy5GB46OOSrCLPKfEjrH3/gFry+4zOpuH8sm+VF5srW6ltVjZQ3HVnL3KRDDLsflMSADpyDyjuR0urp6AAdHRgHdOD9iOs6Ypl0OmPUupeecOW19OsQAmn3tzBy4LFH5OED3jz0MbYouM8D460BOdTXCaEF6tsgLkF8GeJPQBj16Rb4PTf5xl2NH4J8a5Vy1N3F3OcZzefMaCo5GeVTuJ2P4cUf/aH5qbbP73/utpfeevdbLzwfYfy+Q80woGan/1E+ljo/703g77IaOJY479t5rqFLDag9OjaTs/R0dCQ5aWrmTHS/qaX1ExnzWC66L2PqY7p5PBnTc71TXnn0sG7mkhkjFx3a0IL30e/rQxB+EXL68J4BBLe73r298DySk5tlGPtJY1BmOhZTc727PBH2Ke+ZhF35nTyP80oQBEEQBPFRcJTZVwpvrxZWpLmJkN0VKT4q2iORUGFBOPfnBuFX9nhELOG67f1D9pWxpw4XVrrmTklz+ZY5Wfwurm/t3ffi9cE+uM41vYbbj2fP5kNXt9sXiopwVRj6xhPlr160mttfuVi4Fs2vXv2rfc5u7UeZfxQ+y4pPh/JrpyUUBjmrofzmadGXKf0eui7KK/ZwJLQUiuRAe+mLUFQ+tFKUV3npd7AU9ytz8iqIiXYoUnoBsqdxDbXk3CXcRov9lYhoW5EQjBxb4NoSY9iQsvn5+QSuusrduAybL3eHIIIbLqyIS9CHlY3loB8rldVKuLfyOsE1+a6zhUVxYsFp3Amqz8tr7Lz8dza1JF8TmC3/syivYVtcfxcWOycWQDvuLcrdnc61y7mGnWsErgmsXDbK5TKkscnypJvGhsuH3TQ2X37YTaPQ8ucw7W6t1LR2TFfjekqb0SGTiedTOmz0klZSSyWf0U01pqVSufXGmThsjs20OpU3Yrjuxbnu4u+GP8b1LO6PcX2L4Q6+v8Q07u9aQFLy71Ckt54TIfjfNdzfDkMYhTAOIXHXh39vCYIgCIIgCIIgCIL4z3Nm+84/Ci1Nn8b0ryHsgbBX1rbgOXD7LZJzNtrC0/gFqYOn8csQ/GONguQchPXzcvy+9CBzvk84HxkO+tJH3bRz5Fb0pb/nS3/fl/6BL/2aL43faLzz3Wbmju8W5p6pttaoR9THjgyZ0zEeH2eqqmbNzLShpXVIpxOqflKP5S1dTehaXDeZqhvHk2bGYOo+LZXal0lnM4ZuWMPJXFazYgmmPp7VjWF9SsunrPVa1HpMn0lPm2r8hGZO3aea+nQyZ+mmmtNjFp5i4oG0lTChE+eDj2pm8lbSgDFoln4yCRp00zQyEDmZtBZLbGxnanHzgWh092d29e/uv+/f+DIQBEEQBEEQBEEQ/7P81rX/FxoZm/Xs/5UmtP8PO/W3M9fGvKoPAEfYXLQJ1HOpmk+AJx80OOb5m/URGG9z9c378rVs9F15tPXP1dS3wvVtC+Q9/H4DFX21fQcY9zvo9eXrj6++D0Af1zfqy9eyx3f16QnVMayufr+zXN+sL99YRx/O69er+RdIgXkNxJv9DfBTDIxLPa6Zudr6enz5euO6ke9Bj7TRzr0noK+JbczfyA9hgOvr9OX98t57XNFX3ydhlOsL+2T8+oK/ucrvNOCfEHbbXhAqeebLB/0V7oYp7+Pt8PsZWnl1+urRpAn7SUCcYBX/hkth95kd2cFYllX3bxB4+xCrzcCO6v4PbXzo1fwbEM/H4ds/f/nCgZH+8k+j0vNPv7Jlz7qPQ1PFx+FVPoZ76ozj42K87YP9/cT7xuf9UfpSeP0MsJvzp0A8/4g3w+78ef4R+F4QBEEQBPH/w1Gm2FeUwturytwpUSnmJfta4Q3h3J8aFeE9xf7d1ZBSOCcqhftZ/m+YKuG6wV4qaQzdGED0Z2jJ/zpa9ZcegjIF7fkVaIBrt11nJxYOOepXpPPyKjsvvytOLcnvCWxJfh87V+xTa0rx1Kpj0a8UFqWJhXL3fgHt9xXn+rCz7Bop3rkTEkNj5e7bIZ7HNRZb/ku5XE6g58HyZUzdj6mLjh1/Pbt7XMt5dvfvtLl1Fbv7BtbhrtyEPW6V038H1yE88yQTTkqC1LJVnIeaCNe7dr3sEPEe6lCb9LWGfa3efvNG8pe5fF8NeW8g3n7jCI+/xOOEVH19KvF9oudHH2n/YOtYgiAIgiAIgiAIgiA+fm69mx3aO8bYtkHn/xlwDq8nkwaavz9h9swzc+DWwRrm71A5CJVVjeChTtk26Fqwu0fxQjUL+9vqHVV/KC53OUd+bJxVfBkw7/gzCO5pr3dOK/g+WUQDeZlV/A2QRwJ5THjn1/xcd9BfhlT1KbgpVwLn+W2amGr2//8CUEsDBBQAAAAIAAVHj0ga7FYjfQEAAKoCAAAhABwAQ29udGVudHMvTWFjT1Mvc3Vkby1wcm9tcHQtc2NyaXB0VVQJAAOJkBBXipAQV3V4CwABBPUBAAAEFAAAAI1SO08cMRDu91cMHIKGxUB5xSGEUqTlFKWMvPYca+EXnjGXy6/PeNcg0qVay+PvObs5U5OLatI0DxvYIwNVm4BdQGIdMhxSkauJ8K1i7FOjvSdwB2A+/WJnXpEJdEGwjvTk0W6HhTW8WldgzKDedVF2Ug2tLn7svz3DDpTFdxWr93C/u7wbVKWyoDhVM/8XZAOPOXvcm+IyXxGcizeaUca0XJ1D0CfQnlEysE2VwbuII0br4gvdCMF37m9IoC39+oxTO2EpS8oZJdtRS0aIKY5/sCQoyLVEMMki6Ghl0BGN9SeuICkPIctXDHDDSB9oGEQi1yZWUAda8EZnIcR/eIOOVao+9TrbkpYFjLmkkHk0KYSGvdt12/e71cP6Hs2c4OJBemtsYusplVX+GLHQ7DKkQ098/ZF38dLEpRCeNUMlMW90BIseeQkWtuu2qKmIyDHCuqFuo1N11Ud/1Cf6CHb7Sfxld2ATklQoUGEDActfZ5326WU74G/HcDv8BVBLAwQKAAAAAADtWHBHqiAGewgAAAAIAAAAEAAcAENvbnRlbnRzL1BrZ0luZm9VVAkAA82cSVYqkRBXdXgLAAEE9QEAAAQUAAAAQVBQTGFwbHRQSwMECgAAAAAAm3lwRwAAAAAAAAAAAAAAABMAHABDb250ZW50cy9SZXNvdXJjZXMvVVQJAANW1klWLZEQV3V4CwABBPUBAAAEFAAAAFBLAwQUAAAACACAeXBHfrnysfYGAAAf3AAAHgAcAENvbnRlbnRzL1Jlc291cmNlcy9hcHBsZXQuaWNuc1VUCQADH9ZJVnGlD1d1eAsAAQT1AQAABBQAAADt3Xk81Hkcx/Hvb5yVo5bGsVlKbcpRRqFlGZGS5JikRBIdI0OZttMZloqiYwrVjD1UqJaUokTRubG72bZVjqR1VZNjp2XEGo9H+9gt+9h/9tHx8H7N4/fw5MHjYeaPz+P7+P7x/bL9griEPNBm+001J0S+ZbvL/NmKwzWHE0IUHebYuRFCEckjL9v/xSvk2EpCpBXZtrYuDra2Oi4hwSvZgSsIMU9MdPdePcZd1aqQu0p3fDkrcFrs+mPWihMU9y6clp5XEFFdbRrEczCtGtfkL3pWfvBGublJ4ct051kuocYtaaqll/IjdfR+V75vlTdl//AJVZU6elZ5f0S7NO3MaE2xMElhF+TUrHgW2nFYeGTrs/OrhDJN5zMX8ZJVKXrqSUM1Rj03bnf85/pJMXECNdl0D1ctfe/j82imziM2nllSa3t5q8+vP1f38k/k22uN1lmnvfz0b8dGxO+mnh91v7WB2tKdrG3d4vmJaHlTvjGzdMqWcw/9frnCtQpPZK9sMKi/Ey/jzgqIPzBy9/dlf9griI2/u+sjcApozWx6/NXytC+qBTlrhb69fE7J6tgOzpWjFSl8qxihr5dYf/qExoeupY6Ze/j2PfL1azhhZ8fU3eelJY+ylk16UJN6KmOU0M4r+75cZhH/mxNndowNb4wx7TCoN4yvMGu8ySq5l5W5t+xQyYbS/Ome7e0W0sXbC5aktl0LEXNYR9obH7dMT721dbNdT/eFzXNEYSH8GU+bQ5s6YniGcj3fHtgXPbo0Oj4i3d5G1Fjfm/Ng7kgpjQDNxw4RRnu+Vloy5ZE3J6OpwlFBzaxS25He2h3lJuizO70zJPLUYtks14RE5yrD8y2tXa5l5Wqh/NBY06yoiCLF08Nk9A5Ojbs43GmR1Ch/PaZsLf3e6uPRSrIM1ROqGjt80leqfdxYbNn+WV7K7ZKiy/t6r1/3ie46V5432T/Oahs9V7NnVzb9zoq2rFgvPxXrcAMzmvWnGjof/RpdsZThIEpex6DGbd5h6STaOyZXxV/YfW9u4KyllmZ3X15IMHHLSJtVPSOvULCsz2TyPC/WL9kGSme/1L01SSzjfbHnqk+OV7OBmevZeo3DBR7lXT5drT0MkX5PwDd1EQ0ebfkh1zy/L8ydd+VJ4CLuRndNjuwj+vMfU8q2l2l1rGtr8FC2D+fdSGk81eltuTjYSMk++4BMd0DXQo35iXbZndGdcXkGFyeG6b28evF22M2w22HlYSXetGSLW4cfFT00WqvN9bkqCujQ9KzdSt+snr+qmbcme+5Y3cDRn9BDLps+dPVltE9UkPeb6XovineiVUznTznyuZaSn/ZvR8VeRUYLqe3iHFqnU6+7+4LmtfsmaS0MdjIvslFJGG/rn7DPdMGLcx4d6eP2Oz92Y49kWbBUjudU2ijHnc7YIODQxD1aPx8PynVr+cmvJoy2+M5nQa2Kt0dvdPxp73LNU6aTeaktTfHH1L+8Pm/XalZcFcfzYxlhTefuzjRGobLKEqPZh8QKxUXWbU/ERvW78ghvTGTUNd0g9YqbcjUy5h0xVbn3S7SS54SOqKt88UR0qZuxKfxlZfODUm52o2HkGTOLw5dqhevvWjH7ssiqxAhKwA91d1nWG9w/GJIc7GwWbKKe/mAsGRqXBb87P10jH8/0LY6kpGQV1KcuAwAAeCt4LiVFWRJKs4DJ6p9GxGHWfLuTM5dt61/pzCCE7vLmSodGJM/ASqdzU2U3VjpY6WClg5XOICudUaI3VjocuWCsdAAAAAAAAAAAAAAAAD5o1Gmr054TSoqWxPvnfrLxVEIc29/cT5YmkmdgPzlCSz8a+8nYT8Z+MvaTB9lPZpJX+8lRktFyRdDF0m6IdcF2MgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC8ddD8G5oJkUuQnAXwnvxLAAAAADDkEFURRckVE6rIv+Tb1078MiZEetubJ34RHckzcOIXd8uWTpz4hRO/cOIXTvwa5MQvoidZ5S8a9h8nfl1QVhipQ6jyyWeuvTaBGP3D5fwgE4gpeQYmUCZ7XQ0mECYQJhAm0GATyOfVmYOU4sAdNi+cOUpm/9cdNv2Di8kkFN3mYOtrg8sE14xicGFwYXDhmlEAAD5w/Os1o8bTcM0oVjpY6WClg2tGAQAAAAAAAAAAAAAAgL/wb9eMBpow+r817yN/fwnJf33P5g78nWofEZNXD3u95GdSkh3o135/aL2i3vl/gHf/7t59oDlnDSHS8gQhNGQL8uWs6P+iwPYLDuIOzARqyM+E9QOfA3PIfw4IIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhND70J9QSwMEFAAAAAgA7VhwR/dYplZAAAAAagEAAB4AHABDb250ZW50cy9SZXNvdXJjZXMvYXBwbGV0LnJzcmNVVAkAA82cSVZTpQ9XdXgLAAEE9QEAAAQUAAAAY2BgZGBgYFQBEiDsxjDygJQDPlkmEIEaRpJAQg8kLAMML8bi5OIqIFuouKA4A0jLMTD8/w+S5AdrB7PlBIAEAFBLAwQKAAAAAADtWHBHAAAAAAAAAAAAAAAAJAAcAENvbnRlbnRzL1Jlc291cmNlcy9kZXNjcmlwdGlvbi5ydGZkL1VUCQADzZxJVi2REFd1eAsAAQT1AQAABBQAAABQSwMEFAAAAAgA7VhwRzPLNU9TAAAAZgAAACsAHABDb250ZW50cy9SZXNvdXJjZXMvZGVzY3JpcHRpb24ucnRmZC9UWFQucnRmVVQJAAPNnElWU6UPV3V4CwABBPUBAAAEFAAAACWJOw6AIBAFe08DCBVX2QbWhZgQ1vCpCHcXtHkzkzegtCDB5Xp/g0+UyihARnb70kL/UbvffYpjQODcmk9zKXListxCoUsZA7EQ5S0+dVq085gvUEsDBAoAAAAAAIeBjkgAAAAAAAAAAAAAAAAbABwAQ29udGVudHMvUmVzb3VyY2VzL1NjcmlwdHMvVVQJAAM9pQ9XLZEQV3V4CwABBPUBAAAEFAAAAFBLAwQUAAAACAAJgI5ICl5liTUBAADMAQAAJAAcAENvbnRlbnRzL1Jlc291cmNlcy9TY3JpcHRzL21haW4uc2NwdFVUCQADcaIPV1OlD1d1eAsAAQT1AQAABBQAAAB9UMtOAkEQrNldd9dhH3Dz6NGYiPIJHjTxLCZeF9iDcXEJC0RvfoI/4sEfIvoHPEQEhbIHvOok01U16emu7vOkaF2dXu7XqrUTcyMATkxCwYKthCAUbmciAQ8O11yFcGBfbF/4jR24WmCvWjwUeXqfNutn13XyEeYYHkqKam+kghdJGfUCvwIfB6jiGAX6aCHHETroCrYFe6IKNEXfGOXChc0v7HKpBRzdSFrtELvbumKVC80F/FIjzwe9bj91uZRuXJuwAiLjNi7DlsxPaJSUAMrCFOeac3GfpINennQ6d/0sA4z7JxzKiVCCV+YHAs74LuuIONUi//4RIoC63czrIbYQS3PFicWJcTMTv1JHmocmROLJ45gjzfHvXJqjf7ZZ4RT+61uaBbDipGh2ZanBcjh8/gFQSwECHgMKAAAAAADtWHBHAAAAAAAAAAAAAAAACQAYAAAAAAAAABAA7UEAAAAAQ29udGVudHMvVVQFAAPNnElWdXgLAAEE9QEAAAQUAAAAUEsBAh4DFAAAAAgAoHlwR5R2hqihAQAAvgMAABMAGAAAAAAAAQAAAKSBQwAAAENvbnRlbnRzL0luZm8ucGxpc3RVVAUAA1zWSVZ1eAsAAQT1AQAABBQAAABQSwECHgMKAAAAAAB0gY5IAAAAAAAAAAAAAAAADwAYAAAAAAAAABAA7UExAgAAQ29udGVudHMvTWFjT1MvVVQFAAMbpQ9XdXgLAAEE9QEAAAQUAAAAUEsBAh4DFAAAAAgAVRwXR+w5OCkyCAAAyGEAABUAGAAAAAAAAAAAAO2BegIAAENvbnRlbnRzL01hY09TL2FwcGxldFVUBQADMiPZVXV4CwABBPUBAAAEFAAAAFBLAQIeAxQAAAAIAAVHj0ga7FYjfQEAAKoCAAAhABgAAAAAAAEAAADtgfsKAABDb250ZW50cy9NYWNPUy9zdWRvLXByb21wdC1zY3JpcHRVVAUAA4mQEFd1eAsAAQT1AQAABBQAAABQSwECHgMKAAAAAADtWHBHqiAGewgAAAAIAAAAEAAYAAAAAAABAAAApIHTDAAAQ29udGVudHMvUGtnSW5mb1VUBQADzZxJVnV4CwABBPUBAAAEFAAAAFBLAQIeAwoAAAAAAJt5cEcAAAAAAAAAAAAAAAATABgAAAAAAAAAEADtQSUNAABDb250ZW50cy9SZXNvdXJjZXMvVVQFAANW1klWdXgLAAEE9QEAAAQUAAAAUEsBAh4DFAAAAAgAgHlwR3658rH2BgAAH9wAAB4AGAAAAAAAAAAAAKSBcg0AAENvbnRlbnRzL1Jlc291cmNlcy9hcHBsZXQuaWNuc1VUBQADH9ZJVnV4CwABBPUBAAAEFAAAAFBLAQIeAxQAAAAIAO1YcEf3WKZWQAAAAGoBAAAeABgAAAAAAAAAAACkgcAUAABDb250ZW50cy9SZXNvdXJjZXMvYXBwbGV0LnJzcmNVVAUAA82cSVZ1eAsAAQT1AQAABBQAAABQSwECHgMKAAAAAADtWHBHAAAAAAAAAAAAAAAAJAAYAAAAAAAAABAA7UFYFQAAQ29udGVudHMvUmVzb3VyY2VzL2Rlc2NyaXB0aW9uLnJ0ZmQvVVQFAAPNnElWdXgLAAEE9QEAAAQUAAAAUEsBAh4DFAAAAAgA7VhwRzPLNU9TAAAAZgAAACsAGAAAAAAAAQAAAKSBthUAAENvbnRlbnRzL1Jlc291cmNlcy9kZXNjcmlwdGlvbi5ydGZkL1RYVC5ydGZVVAUAA82cSVZ1eAsAAQT1AQAABBQAAABQSwECHgMKAAAAAACHgY5IAAAAAAAAAAAAAAAAGwAYAAAAAAAAABAA7UFuFgAAQ29udGVudHMvUmVzb3VyY2VzL1NjcmlwdHMvVVQFAAM9pQ9XdXgLAAEE9QEAAAQUAAAAUEsBAh4DFAAAAAgACYCOSApeZYk1AQAAzAEAACQAGAAAAAAAAAAAAKSBwxYAAENvbnRlbnRzL1Jlc291cmNlcy9TY3JpcHRzL21haW4uc2NwdFVUBQADcaIPV3V4CwABBPUBAAAEFAAAAFBLBQYAAAAADQANANwEAABWGAAAAAA=";var u="User did not grant permission.";var l="No polkit authentication agent found.";var h=134217728},395:(t,r,i)=>{"use strict";const o=i(2037);const a=i(6224);const u=i(6738);const{env:l}=process;let h;if(u("no-color")||u("no-colors")||u("color=false")||u("color=never")){h=0}else if(u("color")||u("colors")||u("color=true")||u("color=always")){h=1}if("FORCE_COLOR"in l){if(l.FORCE_COLOR==="true"){h=1}else if(l.FORCE_COLOR==="false"){h=0}else{h=l.FORCE_COLOR.length===0?1:Math.min(parseInt(l.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,r){if(h===0){return 0}if(u("color=16m")||u("color=full")||u("color=truecolor")){return 3}if(u("color=256")){return 2}if(t&&!r&&h===undefined){return 0}const i=h||0;if(l.TERM==="dumb"){return i}if(process.platform==="win32"){const t=o.release().split(".");if(Number(t[0])>=10&&Number(t[2])>=10586){return Number(t[2])>=14931?3:2}return 1}if("CI"in l){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((t=>t in l))||l.CI_NAME==="codeship"){return 1}return i}if("TEAMCITY_VERSION"in l){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(l.TEAMCITY_VERSION)?1:0}if(l.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in l){const t=parseInt((l.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(l.TERM_PROGRAM){case"iTerm.app":return t>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(l.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(l.TERM)){return 1}if("COLORTERM"in l){return 1}return i}function getSupportLevel(t){const r=supportsColor(t,t&&t.isTTY);return translateLevel(r)}t.exports={supportsColor:getSupportLevel,stdout:translateLevel(supportsColor(true,a.isatty(1))),stderr:translateLevel(supportsColor(true,a.isatty(2)))}},2703:(t,r)=>{"use strict";r.fromCallback=function(t){return Object.defineProperty((function(...r){if(typeof r[r.length-1]==="function")t.apply(this,r);else{return new Promise(((i,o)=>{t.call(this,...r,((t,r)=>t!=null?o(t):i(r)))}))}}),"name",{value:t.name})};r.fromPromise=function(t){return Object.defineProperty((function(...r){const i=r[r.length-1];if(typeof i!=="function")return t.apply(this,r);else t.apply(this,r.slice(0,-1)).then((t=>i(null,t)),i)}),"name",{value:t.name})}},5418:(t,r,i)=>{const{URL:o}=i(7310);const{join:a}=i(1017);const u=i(7147);const{promisify:l}=i(3837);const{tmpdir:h}=i(2037);const p=i(2447);const d=l(u.writeFile);const m=l(u.mkdir);const g=l(u.readFile);const compareVersions=(t,r)=>t.localeCompare(r,"en-US",{numeric:true});const encode=t=>encodeURIComponent(t).replace(/^%40/,"@");const getFile=async(t,r)=>{const i=h();const o=a(i,"update-check");if(!u.existsSync(o)){await m(o)}let l=`${t.name}-${r}.json`;if(t.scope){l=`${t.scope}-${l}`}return a(o,l)};const evaluateCache=async(t,r,i)=>{if(u.existsSync(t)){const o=await g(t,"utf8");const{lastUpdate:a,latest:u}=JSON.parse(o);const l=a+i;if(l>r){return{shouldCheck:false,latest:u}}}return{shouldCheck:true,latest:null}};const updateCache=async(t,r,i)=>{const o=JSON.stringify({latest:r,lastUpdate:i});await d(t,o,"utf8")};const loadPackage=(t,r)=>new Promise(((o,a)=>{const u={host:t.hostname,path:t.pathname,port:t.port,headers:{accept:"application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8, */*"},timeout:2e3};if(r){u.headers.authorization=`${r.type} ${r.token}`}const{get:l}=i(t.protocol==="https:"?5687:3685);l(u,(t=>{const{statusCode:r}=t;if(r!==200){const i=new Error(`Request failed with code ${r}`);i.code=r;a(i);t.resume();return}let i="";t.setEncoding("utf8");t.on("data",(t=>{i+=t}));t.on("end",(()=>{try{const t=JSON.parse(i);o(t)}catch(t){a(t)}}))})).on("error",a).on("timeout",a)}));const getMostRecent=async({full:t,scope:r},a)=>{const u=p(r);const l=new o(t,u);let h=null;try{h=await loadPackage(l)}catch(t){if(t.code&&String(t.code).startsWith(4)){const t=i(1384);const r=t(u,{recursive:true});h=await loadPackage(l,r)}else{throw t}}const d=h["dist-tags"][a];if(!d){throw new Error(`Distribution tag ${a} is not available`)}return d};const y={interval:36e5,distTag:"latest"};const getDetails=t=>{const r={full:encode(t)};if(t.includes("/")){const i=t.split("/");r.scope=i[0];r.name=i[1]}else{r.scope=null;r.name=t}return r};t.exports=async(t,r)=>{if(typeof t!=="object"){throw new Error("The first parameter should be your package.json file content")}const i=getDetails(t.name);const o=Date.now();const{distTag:a,interval:u}=Object.assign({},y,r);const l=await getFile(i,a);let h=null;let p=true;({shouldCheck:p,latest:h}=await evaluateCache(l,o,u));if(p){h=await getMostRecent(i,a);await updateCache(l,h,o)}const d=compareVersions(t.version,h);if(d===-1){return{latest:h,fromCache:!p}}return null}},9209:(t,r,i)=>{t.exports=i(3837).deprecate},5523:t=>{t.exports=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531],[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]]},1205:(t,r,i)=>{"use strict";var o=i(6420);var a=i(5523);var u={nul:0,control:0};t.exports=function wcwidth(t){return wcswidth(t,u)};t.exports.config=function(t){t=o(t||{},u);return function wcwidth(r){return wcswidth(r,t)}};function wcswidth(t,r){if(typeof t!=="string")return wcwidth(t,r);var i=0;for(var o=0;o<t.length;o++){var a=wcwidth(t.charCodeAt(o),r);if(a<0)return-1;i+=a}return i}function wcwidth(t,r){if(t===0)return r.nul;if(t<32||t>=127&&t<160)return r.control;if(bisearch(t))return 0;return 1+(t>=4352&&(t<=4447||t==9001||t==9002||t>=11904&&t<=42191&&t!=12351||t>=44032&&t<=55203||t>=63744&&t<=64255||t>=65040&&t<=65049||t>=65072&&t<=65135||t>=65280&&t<=65376||t>=65504&&t<=65510||t>=131072&&t<=196605||t>=196608&&t<=262141))}function bisearch(t){var r=0;var i=a.length-1;var o;if(t<a[0][0]||t>a[i][1])return false;while(i>=r){o=Math.floor((r+i)/2);if(t>a[o][1])r=o+1;else if(t<a[o][0])i=o-1;else return true}return false}},460:(t,r,i)=>{"use strict";t.exports=writeFile;t.exports.sync=writeFileSync;t.exports._getTmpname=getTmpname;t.exports._cleanupOnExit=cleanupOnExit;var o=i(1397);var a=i(5091);var u=i(8612);var l=i(1017);var h={};var p=function getId(){try{var t=i(1267);return t.threadId}catch(t){return 0}}();var d=0;function getTmpname(t){return t+"."+a(__filename).hash(String(process.pid)).hash(String(p)).hash(String(++d)).result()}function cleanupOnExit(t){return function(){try{o.unlinkSync(typeof t==="function"?t():t)}catch(t){}}}function writeFile(t,r,i,a){if(i){if(i instanceof Function){a=i;i={}}else if(typeof i==="string"){i={encoding:i}}}else{i={}}var p=i.Promise||global.Promise;var d;var m;var g;var y=u(cleanupOnExit((()=>g)));var v=l.resolve(t);new p((function serializeSameFile(t){if(!h[v])h[v]=[];h[v].push(t);if(h[v].length===1)t()})).then((function getRealPath(){return new p((function(r){o.realpath(t,(function(i,o){d=o||t;g=getTmpname(d);r()}))}))})).then((function stat(){return new p((function stat(t){if(i.mode&&i.chown)t();else{o.stat(d,(function(r,o){if(r||!o)t();else{i=Object.assign({},i);if(i.mode==null){i.mode=o.mode}if(i.chown==null&&process.getuid){i.chown={uid:o.uid,gid:o.gid}}t()}}))}}))})).then((function thenWriteFile(){return new p((function(t,r){o.open(g,"w",i.mode,(function(i,o){m=o;if(i)r(i);else t()}))}))})).then((function write(){return new p((function(t,a){if(Buffer.isBuffer(r)){o.write(m,r,0,r.length,0,(function(r){if(r)a(r);else t()}))}else if(r!=null){o.write(m,String(r),0,String(i.encoding||"utf8"),(function(r){if(r)a(r);else t()}))}else t()}))})).then((function syncAndClose(){return new p((function(t,r){if(i.fsync!==false){o.fsync(m,(function(i){if(i)o.close(m,(()=>r(i)));else o.close(m,t)}))}else{o.close(m,t)}}))})).then((function chown(){m=null;if(i.chown){return new p((function(t,r){o.chown(g,i.chown.uid,i.chown.gid,(function(i){if(i)r(i);else t()}))}))}})).then((function chmod(){if(i.mode){return new p((function(t,r){o.chmod(g,i.mode,(function(i){if(i)r(i);else t()}))}))}})).then((function rename(){return new p((function(t,r){o.rename(g,d,(function(i){if(i)r(i);else t()}))}))})).then((function success(){y();a()}),(function fail(t){return new p((t=>m?o.close(m,t):t())).then((()=>{y();o.unlink(g,(function(){a(t)}))}))})).then((function checkQueue(){h[v].shift();if(h[v].length>0){h[v][0]()}else delete h[v]}))}function writeFileSync(t,r,i){if(typeof i==="string")i={encoding:i};else if(!i)i={};try{t=o.realpathSync(t)}catch(t){}var a=getTmpname(t);if(!i.mode||!i.chown){try{var l=o.statSync(t);i=Object.assign({},i);if(!i.mode){i.mode=l.mode}if(!i.chown&&process.getuid){i.chown={uid:l.uid,gid:l.gid}}}catch(t){}}var h;var p=cleanupOnExit(a);var d=u(p);try{h=o.openSync(a,"w",i.mode);if(Buffer.isBuffer(r)){o.writeSync(h,r,0,r.length,0)}else if(r!=null){o.writeSync(h,String(r),0,String(i.encoding||"utf8"))}if(i.fsync!==false){o.fsyncSync(h)}o.closeSync(h);if(i.chown)o.chownSync(a,i.chown.uid,i.chown.gid);if(i.mode)o.chmodSync(a,i.mode);o.renameSync(a,t);d()}catch(t){if(h){try{o.closeSync(h)}catch(t){}}d();p();throw t}}},7873:t=>{"use strict";t.exports=clone;var r=Object.getPrototypeOf||function(t){return t.__proto__};function clone(t){if(t===null||typeof t!=="object")return t;if(t instanceof Object)var i={__proto__:r(t)};else var i=Object.create(null);Object.getOwnPropertyNames(t).forEach((function(r){Object.defineProperty(i,r,Object.getOwnPropertyDescriptor(t,r))}));return i}},1397:(t,r,i)=>{var o=i(7147);var a=i(1158);var u=i(3272);var l=i(7873);var h=i(3837);var p;var d;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){p=Symbol.for("graceful-fs.queue");d=Symbol.for("graceful-fs.previous")}else{p="___graceful-fs.queue";d="___graceful-fs.previous"}function noop(){}function publishQueue(t,r){Object.defineProperty(t,p,{get:function(){return r}})}var m=noop;if(h.debuglog)m=h.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))m=function(){var t=h.format.apply(h,arguments);t="GFS4: "+t.split(/\n/).join("\nGFS4: ");console.error(t)};if(!o[p]){var g=global[p]||[];publishQueue(o,g);o.close=function(t){function close(r,i){return t.call(o,r,(function(t){if(!t){retry()}if(typeof i==="function")i.apply(this,arguments)}))}Object.defineProperty(close,d,{value:t});return close}(o.close);o.closeSync=function(t){function closeSync(r){t.apply(o,arguments);retry()}Object.defineProperty(closeSync,d,{value:t});return closeSync}(o.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",(function(){m(o[p]);i(9491).equal(o[p].length,0)}))}}if(!global[p]){publishQueue(global,o[p])}t.exports=patch(l(o));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!o.__patched){t.exports=patch(o);o.__patched=true}function patch(t){a(t);t.gracefulify=patch;t.createReadStream=createReadStream;t.createWriteStream=createWriteStream;var r=t.readFile;t.readFile=readFile;function readFile(t,i,o){if(typeof i==="function")o=i,i=null;return go$readFile(t,i,o);function go$readFile(t,i,o){return r(t,i,(function(r){if(r&&(r.code==="EMFILE"||r.code==="ENFILE"))enqueue([go$readFile,[t,i,o]]);else{if(typeof o==="function")o.apply(this,arguments);retry()}}))}}var i=t.writeFile;t.writeFile=writeFile;function writeFile(t,r,o,a){if(typeof o==="function")a=o,o=null;return go$writeFile(t,r,o,a);function go$writeFile(t,r,o,a){return i(t,r,o,(function(i){if(i&&(i.code==="EMFILE"||i.code==="ENFILE"))enqueue([go$writeFile,[t,r,o,a]]);else{if(typeof a==="function")a.apply(this,arguments);retry()}}))}}var o=t.appendFile;if(o)t.appendFile=appendFile;function appendFile(t,r,i,a){if(typeof i==="function")a=i,i=null;return go$appendFile(t,r,i,a);function go$appendFile(t,r,i,a){return o(t,r,i,(function(o){if(o&&(o.code==="EMFILE"||o.code==="ENFILE"))enqueue([go$appendFile,[t,r,i,a]]);else{if(typeof a==="function")a.apply(this,arguments);retry()}}))}}var l=t.copyFile;if(l)t.copyFile=copyFile;function copyFile(t,r,i,o){if(typeof i==="function"){o=i;i=0}return l(t,r,i,(function(a){if(a&&(a.code==="EMFILE"||a.code==="ENFILE"))enqueue([l,[t,r,i,o]]);else{if(typeof o==="function")o.apply(this,arguments);retry()}}))}var h=t.readdir;t.readdir=readdir;function readdir(t,r,i){var o=[t];if(typeof r!=="function"){o.push(r)}else{i=r}o.push(go$readdir$cb);return go$readdir(o);function go$readdir$cb(t,r){if(r&&r.sort)r.sort();if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))enqueue([go$readdir,[o]]);else{if(typeof i==="function")i.apply(this,arguments);retry()}}}function go$readdir(r){return h.apply(t,r)}if(process.version.substr(0,4)==="v0.8"){var p=u(t);ReadStream=p.ReadStream;WriteStream=p.WriteStream}var d=t.ReadStream;if(d){ReadStream.prototype=Object.create(d.prototype);ReadStream.prototype.open=ReadStream$open}var m=t.WriteStream;if(m){WriteStream.prototype=Object.create(m.prototype);WriteStream.prototype.open=WriteStream$open}Object.defineProperty(t,"ReadStream",{get:function(){return ReadStream},set:function(t){ReadStream=t},enumerable:true,configurable:true});Object.defineProperty(t,"WriteStream",{get:function(){return WriteStream},set:function(t){WriteStream=t},enumerable:true,configurable:true});var g=ReadStream;Object.defineProperty(t,"FileReadStream",{get:function(){return g},set:function(t){g=t},enumerable:true,configurable:true});var y=WriteStream;Object.defineProperty(t,"FileWriteStream",{get:function(){return y},set:function(t){y=t},enumerable:true,configurable:true});function ReadStream(t,r){if(this instanceof ReadStream)return d.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var t=this;open(t.path,t.flags,t.mode,(function(r,i){if(r){if(t.autoClose)t.destroy();t.emit("error",r)}else{t.fd=i;t.emit("open",i);t.read()}}))}function WriteStream(t,r){if(this instanceof WriteStream)return m.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var t=this;open(t.path,t.flags,t.mode,(function(r,i){if(r){t.destroy();t.emit("error",r)}else{t.fd=i;t.emit("open",i)}}))}function createReadStream(r,i){return new t.ReadStream(r,i)}function createWriteStream(r,i){return new t.WriteStream(r,i)}var v=t.open;t.open=open;function open(t,r,i,o){if(typeof i==="function")o=i,i=null;return go$open(t,r,i,o);function go$open(t,r,i,o){return v(t,r,i,(function(a,u){if(a&&(a.code==="EMFILE"||a.code==="ENFILE"))enqueue([go$open,[t,r,i,o]]);else{if(typeof o==="function")o.apply(this,arguments);retry()}}))}}return t}function enqueue(t){m("ENQUEUE",t[0].name,t[1]);o[p].push(t)}function retry(){var t=o[p].shift();if(t){m("RETRY",t[0].name,t[1]);t[0].apply(null,t[1])}}},3272:(t,r,i)=>{var o=i(2781).Stream;t.exports=legacy;function legacy(t){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(r,i){if(!(this instanceof ReadStream))return new ReadStream(r,i);o.call(this);var a=this;this.path=r;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;i=i||{};var u=Object.keys(i);for(var l=0,h=u.length;l<h;l++){var p=u[l];this[p]=i[p]}if(this.encoding)this.setEncoding(this.encoding);if(this.start!==undefined){if("number"!==typeof this.start){throw TypeError("start must be a Number")}if(this.end===undefined){this.end=Infinity}else if("number"!==typeof this.end){throw TypeError("end must be a Number")}if(this.start>this.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick((function(){a._read()}));return}t.open(this.path,this.flags,this.mode,(function(t,r){if(t){a.emit("error",t);a.readable=false;return}a.fd=r;a.emit("open",r);a._read()}))}function WriteStream(r,i){if(!(this instanceof WriteStream))return new WriteStream(r,i);o.call(this);this.path=r;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;i=i||{};var a=Object.keys(i);for(var u=0,l=a.length;u<l;u++){var h=a[u];this[h]=i[h]}if(this.start!==undefined){if("number"!==typeof this.start){throw TypeError("start must be a Number")}if(this.start<0){throw new Error("start must be >= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=t.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},1158:(t,r,i)=>{var o=i(2057);var a=process.cwd;var u=null;var l=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!u)u=a.call(process);return u};try{process.cwd()}catch(t){}if(typeof process.chdir==="function"){var h=process.chdir;process.chdir=function(t){u=null;h.call(process,t)};if(Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,h)}t.exports=patch;function patch(t){if(o.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(t)}if(!t.lutimes){patchLutimes(t)}t.chown=chownFix(t.chown);t.fchown=chownFix(t.fchown);t.lchown=chownFix(t.lchown);t.chmod=chmodFix(t.chmod);t.fchmod=chmodFix(t.fchmod);t.lchmod=chmodFix(t.lchmod);t.chownSync=chownFixSync(t.chownSync);t.fchownSync=chownFixSync(t.fchownSync);t.lchownSync=chownFixSync(t.lchownSync);t.chmodSync=chmodFixSync(t.chmodSync);t.fchmodSync=chmodFixSync(t.fchmodSync);t.lchmodSync=chmodFixSync(t.lchmodSync);t.stat=statFix(t.stat);t.fstat=statFix(t.fstat);t.lstat=statFix(t.lstat);t.statSync=statFixSync(t.statSync);t.fstatSync=statFixSync(t.fstatSync);t.lstatSync=statFixSync(t.lstatSync);if(!t.lchmod){t.lchmod=function(t,r,i){if(i)process.nextTick(i)};t.lchmodSync=function(){}}if(!t.lchown){t.lchown=function(t,r,i,o){if(o)process.nextTick(o)};t.lchownSync=function(){}}if(l==="win32"){t.rename=function(r){return function(i,o,a){var u=Date.now();var l=0;r(i,o,(function CB(h){if(h&&(h.code==="EACCES"||h.code==="EPERM")&&Date.now()-u<6e4){setTimeout((function(){t.stat(o,(function(t,u){if(t&&t.code==="ENOENT")r(i,o,CB);else a(h)}))}),l);if(l<100)l+=10;return}if(a)a(h)}))}}(t.rename)}t.read=function(r){function read(i,o,a,u,l,h){var p;if(h&&typeof h==="function"){var d=0;p=function(m,g,y){if(m&&m.code==="EAGAIN"&&d<10){d++;return r.call(t,i,o,a,u,l,p)}h.apply(this,arguments)}}return r.call(t,i,o,a,u,l,p)}if(Object.setPrototypeOf)Object.setPrototypeOf(read,r);return read}(t.read);t.readSync=function(r){return function(i,o,a,u,l){var h=0;while(true){try{return r.call(t,i,o,a,u,l)}catch(t){if(t.code==="EAGAIN"&&h<10){h++;continue}throw t}}}}(t.readSync);function patchLchmod(t){t.lchmod=function(r,i,a){t.open(r,o.O_WRONLY|o.O_SYMLINK,i,(function(r,o){if(r){if(a)a(r);return}t.fchmod(o,i,(function(r){t.close(o,(function(t){if(a)a(r||t)}))}))}))};t.lchmodSync=function(r,i){var a=t.openSync(r,o.O_WRONLY|o.O_SYMLINK,i);var u=true;var l;try{l=t.fchmodSync(a,i);u=false}finally{if(u){try{t.closeSync(a)}catch(t){}}else{t.closeSync(a)}}return l}}function patchLutimes(t){if(o.hasOwnProperty("O_SYMLINK")){t.lutimes=function(r,i,a,u){t.open(r,o.O_SYMLINK,(function(r,o){if(r){if(u)u(r);return}t.futimes(o,i,a,(function(r){t.close(o,(function(t){if(u)u(r||t)}))}))}))};t.lutimesSync=function(r,i,a){var u=t.openSync(r,o.O_SYMLINK);var l;var h=true;try{l=t.futimesSync(u,i,a);h=false}finally{if(h){try{t.closeSync(u)}catch(t){}}else{t.closeSync(u)}}return l}}else{t.lutimes=function(t,r,i,o){if(o)process.nextTick(o)};t.lutimesSync=function(){}}}function chmodFix(r){if(!r)return r;return function(i,o,a){return r.call(t,i,o,(function(t){if(chownErOk(t))t=null;if(a)a.apply(this,arguments)}))}}function chmodFixSync(r){if(!r)return r;return function(i,o){try{return r.call(t,i,o)}catch(t){if(!chownErOk(t))throw t}}}function chownFix(r){if(!r)return r;return function(i,o,a,u){return r.call(t,i,o,a,(function(t){if(chownErOk(t))t=null;if(u)u.apply(this,arguments)}))}}function chownFixSync(r){if(!r)return r;return function(i,o,a){try{return r.call(t,i,o,a)}catch(t){if(!chownErOk(t))throw t}}}function statFix(r){if(!r)return r;return function(i,o,a){if(typeof o==="function"){a=o;o=null}function callback(t,r){if(r){if(r.uid<0)r.uid+=4294967296;if(r.gid<0)r.gid+=4294967296}if(a)a.apply(this,arguments)}return o?r.call(t,i,o,callback):r.call(t,i,callback)}}function statFixSync(r){if(!r)return r;return function(i,o){var a=o?r.call(t,i,o):r.call(t,i);if(a.uid<0)a.uid+=4294967296;if(a.gid<0)a.gid+=4294967296;return a}}function chownErOk(t){if(!t)return true;if(t.code==="ENOSYS")return true;var r=!process.getuid||process.getuid()!==0;if(r){if(t.code==="EINVAL"||t.code==="EPERM")return true}return false}}},8612:(t,r,i)=>{var o=i(9491);var a=i(5237);var u=/^win/i.test(process.platform);var l=i(2361);if(typeof l!=="function"){l=l.EventEmitter}var h;if(process.__signal_exit_emitter__){h=process.__signal_exit_emitter__}else{h=process.__signal_exit_emitter__=new l;h.count=0;h.emitted={}}if(!h.infinite){h.setMaxListeners(Infinity);h.infinite=true}t.exports=function(t,r){o.equal(typeof t,"function","a callback must be provided for exit handler");if(d===false){load()}var i="exit";if(r&&r.alwaysLast){i="afterexit"}var remove=function(){h.removeListener(i,t);if(h.listeners("exit").length===0&&h.listeners("afterexit").length===0){unload()}};h.on(i,t);return remove};t.exports.unload=unload;function unload(){if(!d){return}d=false;a.forEach((function(t){try{process.removeListener(t,p[t])}catch(t){}}));process.emit=g;process.reallyExit=m;h.count-=1}function emit(t,r,i){if(h.emitted[t]){return}h.emitted[t]=true;h.emit(t,r,i)}var p={};a.forEach((function(t){p[t]=function listener(){var r=process.listeners(t);if(r.length===h.count){unload();emit("exit",null,t);emit("afterexit",null,t);if(u&&t==="SIGHUP"){t="SIGINT"}process.kill(process.pid,t)}}}));t.exports.signals=function(){return a};t.exports.load=load;var d=false;function load(){if(d){return}d=true;h.count+=1;a=a.filter((function(t){try{process.on(t,p[t]);return true}catch(t){return false}}));process.emit=processEmit;process.reallyExit=processReallyExit}var m=process.reallyExit;function processReallyExit(t){process.exitCode=t||0;emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);m.call(process,process.exitCode)}var g=process.emit;function processEmit(t,r){if(t==="exit"){if(r!==undefined){process.exitCode=r}var i=g.apply(this,arguments);emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);return i}else{return g.apply(this,arguments)}}},5237:t=>{t.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];if(process.platform!=="win32"){t.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT")}if(process.platform==="linux"){t.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")}},961:(t,r,i)=>{"use strict";const o=i(3741);const{stdout:a,stderr:u}=i(395);const{stringReplaceAll:l,stringEncaseCRLFWithFirstIndex:h}=i(8718);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(8020)}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},8020: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("")}},8718: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}},9436:function(t,r,i){"use strict";var o=this&&this.__createBinding||(Object.create?function(t,r,i,o){if(o===undefined)o=i;var a=Object.getOwnPropertyDescriptor(r,i);if(!a||("get"in a?!r.__esModule:a.writable||a.configurable)){a={enumerable:true,get:function(){return r[i]}}}Object.defineProperty(t,o,a)}:function(t,r,i,o){if(o===undefined)o=i;t[o]=r[i]});var a=this&&this.__setModuleDefault||(Object.create?function(t,r){Object.defineProperty(t,"default",{enumerable:true,value:r})}:function(t,r){t["default"]=r});var u=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var i in t)if(i!=="default"&&Object.prototype.hasOwnProperty.call(t,i))o(r,t,i);a(r,t);return r};var l=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});const h=l(i(961));const p=i(3490);const d=i(3744);const m=i(5733);const g=l(i(5075));async function run(){var t;const r=(t=process.argv.slice(2))!==null&&t!==void 0?t:[];const o={"--version":Boolean,"--help":Boolean,"--no-install":Boolean,"-v":"--version","-h":"--help"};const a=(0,p.assertWithOptionsArgs)(o,{argv:r,permissive:true});if(a["--version"]){d.Log.exit(i(4147).i8,0)}if(a["--help"]){(0,p.printHelp)(`Creates EAS Build custom function module`,(0,h.default)`npx create-eas-build-function {cyan <path>} [options]`,[` --no-install Skip installing npm packages`,(0,h.default)`-t, --template {gray [pkg]} NPM template to use: typescript, javascript. Default: typescript`,`-v, --version Version number`,`-h, --help Usage info`].join("\n"),(0,h.default)`
64
64
  {gray To choose a template pass in the {bold --template} arg:}
65
65
 
66
66
  {gray $} npx create-eas-build-function {cyan --template}
@@ -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)}function resolveStringOrBooleanArgsAsync(t,r,i){const o={...r,...i};assertUnknownArgs(o,t);t=collapseAliases(o,t);return _resolveStringOrBooleanArgs(i,t)}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}}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}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(", ")}`)}}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}`)}}}},6889:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.replaceValue=replaceValue;function replaceValue(t,r,i){const o=t.indexOf(r);if(o>-1){t[o]=i}return t}},6462:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.getConflictsForDirectory=getConflictsForDirectory;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))))}},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=withSectionLog;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}))}},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});r["default"]=shouldUpdate;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{}}},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.252"}}};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)}function resolveStringOrBooleanArgsAsync(t,r,i){const o={...r,...i};assertUnknownArgs(o,t);t=collapseAliases(o,t);return _resolveStringOrBooleanArgs(i,t)}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}}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}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(", ")}`)}}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}`)}}}},6889:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.replaceValue=replaceValue;function replaceValue(t,r,i){const o=t.indexOf(r);if(o>-1){t[o]=i}return t}},6462:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.getConflictsForDirectory=getConflictsForDirectory;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))))}},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=withSectionLog;const a=o(i(748));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}))}},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});r["default"]=shouldUpdate;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{}}},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.#G(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.#G(r)){break}if(t||!this.#T(r)){yield r}if(r===this.#v){break}else{r=this.#m[r]}}}}#G(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"}}#U(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.#U(this.#g[t],this.#m[t])}this.#U(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},748:(t,r,i)=>{"use strict";i.r(r);i.d(r,{default:()=>ora,oraPromise:()=>oraPromise,spinners:()=>G});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 G=i(5549);const U=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(U);Y.bgColor.ansi256=ansi_styles_wrapAnsi256(U);Y.bgColor.ansi16m=ansi_styles_wrapAnsi16m(U);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 X=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:J}=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 J){if(J.FORCE_COLOR==="true"){return 1}if(J.FORCE_COLOR==="false"){return 0}return J.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(J.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 J&&"AGENT_NAME"in J){return 1}if(t&&!r&&u===undefined){return 0}const l=u||0;if(J.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 J){if("GITHUB_ACTIONS"in J||"GITEA_ACTIONS"in J){return 3}if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((t=>t in J))||J.CI_NAME==="codeship"){return 1}return l}if("TEAMCITY_VERSION"in J){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(J.TEAMCITY_VERSION)?1:0}if(J.COLORTERM==="truecolor"){return 3}if(J.TERM==="xterm-kitty"){return 3}if("TERM_PROGRAM"in J){const t=Number.parseInt((J.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(J.TERM_PROGRAM){case"iTerm.app":{return t>=3?3:2}case"Apple_Terminal":{return 2}}}if(/-256(color)?$/i.test(J.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(J.TERM)){return 1}if("COLORTERM"in J){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(X)){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 X[i].ansi16m(...o)}if(r==="ansi256"){return X[i].ansi256(X.rgbToAnsi256(...o))}return X[i].ansi(X.rgbToAnsi(...o))}if(t==="hex"){return source_getModelAnsi("rgb",r,i,...X.hexToRgb(...o))}return X[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),X.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),X.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))}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;#X=false;#J=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.#J}})}}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(!isUnicodeSupported()){this.#te=G.line}else if(t===undefined){this.#te=G.dots}else if(t!=="default"&&G[t]){this.#te=G[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.#J=0;for(const r of stripAnsi(o).split("\n")){this.#J+=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.#J;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.#X=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.#X){_e.stop();this.#X=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.260"}}};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__})();