@umijs/lint 4.0.0-rc.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/compiled/postcss-less/LICENSE +24 -0
- package/compiled/postcss-less/index.js +1 -0
- package/compiled/postcss-less/package.json +1 -0
- package/compiled/stylelint-config-css-modules/index.js +1 -0
- package/compiled/stylelint-config-css-modules/package.json +1 -0
- package/compiled/stylelint-config-prettier/LICENSE +22 -0
- package/compiled/stylelint-config-prettier/index.js +1 -0
- package/compiled/stylelint-config-prettier/package.json +1 -0
- package/compiled/stylelint-declaration-block-no-ignored-properties/LICENSE +21 -0
- package/compiled/stylelint-declaration-block-no-ignored-properties/index.js +75 -0
- package/compiled/stylelint-declaration-block-no-ignored-properties/package.json +1 -0
- package/dist/config/eslint/index.d.ts +1 -0
- package/dist/config/eslint/index.js +60 -0
- package/dist/config/eslint/legacy.d.ts +1 -0
- package/dist/config/eslint/legacy.js +58 -0
- package/dist/config/eslint/rules/fabric.d.ts +86 -0
- package/dist/config/eslint/rules/fabric.js +90 -0
- package/dist/config/eslint/rules/recommended.d.ts +93 -0
- package/dist/config/eslint/rules/recommended.js +109 -0
- package/dist/config/eslint/setup.d.ts +0 -0
- package/dist/config/eslint/setup.js +3 -0
- package/dist/config/stylelint/index.d.ts +0 -0
- package/dist/config/stylelint/index.js +34 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +29 -0
- package/dist/linter/base.d.ts +27 -0
- package/dist/linter/base.js +51 -0
- package/dist/linter/eslint.d.ts +9 -0
- package/dist/linter/eslint.js +23 -0
- package/dist/linter/index.d.ts +2 -0
- package/dist/linter/index.js +10 -0
- package/dist/linter/stylelint.d.ts +9 -0
- package/dist/linter/stylelint.js +26 -0
- package/dist/types.d.ts +10 -0
- package/dist/types.js +2 -0
- package/package.json +64 -0
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
(function(){var e={9039:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t["default"]=_default;var n=r(1573);let s=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const i=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r){const n=Object.assign({column:0,line:-1},e.start);const s=Object.assign({},n,e.end);const{linesAbove:i=2,linesBelow:o=3}=r||{};const a=n.line;const c=n.column;const l=s.line;const u=s.column;let p=Math.max(a-(i+1),0);let h=Math.min(t.length,l+o);if(a===-1){p=0}if(l===-1){h=t.length}const d=l-a;const g={};if(d){for(let e=0;e<=d;e++){const r=e+a;if(!c){g[r]=true}else if(e===0){const e=t[r-1].length;g[r]=[c,e-c+1]}else if(e===d){g[r]=[0,u]}else{const n=t[r-e].length;g[r]=[0,n]}}}else{if(c===u){if(c){g[a]=[c,0]}else{g[a]=true}}else{g[a]=[c,u-c]}}return{start:p,end:h,markerLines:g}}function codeFrameColumns(e,t,r={}){const s=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r);const o=(0,n.getChalk)(r);const a=getDefs(o);const maybeHighlight=(e,t)=>s?e(t):t;const c=e.split(i);const{start:l,end:u,markerLines:p}=getMarkerLines(t,c,r);const h=t.start&&typeof t.start.column==="number";const d=String(u).length;const g=s?(0,n.default)(e,r):e;let m=g.split(i,u).slice(l,u).map(((e,t)=>{const n=l+1+t;const s=` ${n}`.slice(-d);const i=` ${s} |`;const o=p[n];const c=!p[n+1];if(o){let t="";if(Array.isArray(o)){const n=e.slice(0,Math.max(o[0]-1,0)).replace(/[^\t]/g," ");const s=o[1]||1;t=["\n ",maybeHighlight(a.gutter,i.replace(/\d/g," "))," ",n,maybeHighlight(a.marker,"^").repeat(s)].join("");if(c&&r.message){t+=" "+maybeHighlight(a.message,r.message)}}return[maybeHighlight(a.marker,">"),maybeHighlight(a.gutter,i),e.length>0?` ${e}`:"",t].join("")}else{return` ${maybeHighlight(a.gutter,i)}${e.length>0?` ${e}`:""}`}})).join("\n");if(r.message&&!h){m=`${" ".repeat(d+1)}${r.message}\n${m}`}if(s){return o.reset(m)}else{return m}}function _default(e,t,r,n={}){if(!s){s=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const i={start:{column:r,line:t}};return codeFrameColumns(e,i,n)}},3860:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;t.isIdentifierStart=isIdentifierStart;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const o=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,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,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,46,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,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938];const a=[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,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,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,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;n<s;n+=2){r+=t[n];if(r>e)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,o)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,o)||isInAstralSet(e,a)}function isIdentifierName(e){let t=true;for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if((n&64512)===55296&&r+1<e.length){const t=e.charCodeAt(++r);if((t&64512)===56320){n=65536+((n&1023)<<10)+(t&1023)}}if(t){t=false;if(!isIdentifierStart(n)){return false}}else if(!isIdentifierChar(n)){return false}}return!t}},1220:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});var n=r(3860);var s=r(3501)},3501:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isKeyword=isKeyword;t.isReservedWord=isReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isStrictReservedWord=isStrictReservedWord;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},1573:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=highlight;t.getChalk=getChalk;t.shouldHighlight=shouldHighlight;var n=r(8629);var s=r(1220);var i=r(6673);const o=new Set(["as","async","from","get","of","set"]);function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}const a=/\r\n|[\n\r\u2028\u2029]/;const c=/^[()[\]{}]$/;let l;{const e=/^[a-z][\w-]*$/i;const getTokenType=function(t,r,n){if(t.type==="name"){if((0,s.isKeyword)(t.value)||(0,s.isStrictReservedWord)(t.value,true)||o.has(t.value)){return"keyword"}if(e.test(t.value)&&(n[r-1]==="<"||n.substr(r-2,2)=="</")){return"jsxIdentifier"}if(t.value[0]!==t.value[0].toLowerCase()){return"capitalized"}}if(t.type==="punctuator"&&c.test(t.value)){return"bracket"}if(t.type==="invalid"&&(t.value==="@"||t.value==="#")){return"punctuator"}return t.type};l=function*(e){let t;while(t=n.default.exec(e)){const r=n.matchToToken(t);yield{type:getTokenType(r,t.index,e),value:r.value}}}}function highlightTokens(e,t){let r="";for(const{type:n,value:s}of l(t)){const t=e[n];if(t){r+=s.split(a).map((e=>t(e))).join("\n")}else{r+=s}}return r}function shouldHighlight(e){return!!i.supportsColor||e.forceColor}function getChalk(e){return e.forceColor?new i.constructor({enabled:true,level:1}):i}function highlight(e,t={}){if(e!==""&&shouldHighlight(t)){const r=getChalk(t);const n=getDefs(r);return highlightTokens(n,e)}else{return e}}},6491:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createFileSystemAdapter=t.FILE_SYSTEM_ADAPTER=void 0;const n=r(7147);t.FILE_SYSTEM_ADAPTER={lstat:n.lstat,stat:n.stat,lstatSync:n.lstatSync,statSync:n.statSync,readdir:n.readdir,readdirSync:n.readdirSync};function createFileSystemAdapter(e){if(e===undefined){return t.FILE_SYSTEM_ADAPTER}return Object.assign(Object.assign({},t.FILE_SYSTEM_ADAPTER),e)}t.createFileSystemAdapter=createFileSystemAdapter},6325:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;const r=process.versions.node.split(".");if(r[0]===undefined||r[1]===undefined){throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`)}const n=Number.parseInt(r[0],10);const s=Number.parseInt(r[1],10);const i=10;const o=10;const a=n>i;const c=n===i&&s>=o;t.IS_SUPPORT_READDIR_WITH_FILE_TYPES=a||c},1659:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Settings=t.scandirSync=t.scandir=void 0;const n=r(4715);const s=r(8907);const i=r(3486);t.Settings=i.default;function scandir(e,t,r){if(typeof t==="function"){n.read(e,getSettings(),t);return}n.read(e,getSettings(t),r)}t.scandir=scandir;function scandirSync(e,t){const r=getSettings(t);return s.read(e,r)}t.scandirSync=scandirSync;function getSettings(e={}){if(e instanceof i.default){return e}return new i.default(e)}},4715:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.readdir=t.readdirWithFileTypes=t.read=void 0;const n=r(3645);const s=r(5341);const i=r(6325);const o=r(946);const a=r(3253);function read(e,t,r){if(!t.stats&&i.IS_SUPPORT_READDIR_WITH_FILE_TYPES){readdirWithFileTypes(e,t,r);return}readdir(e,t,r)}t.read=read;function readdirWithFileTypes(e,t,r){t.fs.readdir(e,{withFileTypes:true},((n,i)=>{if(n!==null){callFailureCallback(r,n);return}const o=i.map((r=>({dirent:r,name:r.name,path:a.joinPathSegments(e,r.name,t.pathSegmentSeparator)})));if(!t.followSymbolicLinks){callSuccessCallback(r,o);return}const c=o.map((e=>makeRplTaskEntry(e,t)));s(c,((e,t)=>{if(e!==null){callFailureCallback(r,e);return}callSuccessCallback(r,t)}))}))}t.readdirWithFileTypes=readdirWithFileTypes;function makeRplTaskEntry(e,t){return r=>{if(!e.dirent.isSymbolicLink()){r(null,e);return}t.fs.stat(e.path,((n,s)=>{if(n!==null){if(t.throwErrorOnBrokenSymbolicLink){r(n);return}r(null,e);return}e.dirent=o.fs.createDirentFromStats(e.name,s);r(null,e)}))}}function readdir(e,t,r){t.fs.readdir(e,((i,c)=>{if(i!==null){callFailureCallback(r,i);return}const l=c.map((r=>{const s=a.joinPathSegments(e,r,t.pathSegmentSeparator);return e=>{n.stat(s,t.fsStatSettings,((n,i)=>{if(n!==null){e(n);return}const a={name:r,path:s,dirent:o.fs.createDirentFromStats(r,i)};if(t.stats){a.stats=i}e(null,a)}))}}));s(l,((e,t)=>{if(e!==null){callFailureCallback(r,e);return}callSuccessCallback(r,t)}))}))}t.readdir=readdir;function callFailureCallback(e,t){e(t)}function callSuccessCallback(e,t){e(null,t)}},3253:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.joinPathSegments=void 0;function joinPathSegments(e,t,r){if(e.endsWith(r)){return e+t}return e+r+t}t.joinPathSegments=joinPathSegments},8907:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.readdir=t.readdirWithFileTypes=t.read=void 0;const n=r(3645);const s=r(6325);const i=r(946);const o=r(3253);function read(e,t){if(!t.stats&&s.IS_SUPPORT_READDIR_WITH_FILE_TYPES){return readdirWithFileTypes(e,t)}return readdir(e,t)}t.read=read;function readdirWithFileTypes(e,t){const r=t.fs.readdirSync(e,{withFileTypes:true});return r.map((r=>{const n={dirent:r,name:r.name,path:o.joinPathSegments(e,r.name,t.pathSegmentSeparator)};if(n.dirent.isSymbolicLink()&&t.followSymbolicLinks){try{const e=t.fs.statSync(n.path);n.dirent=i.fs.createDirentFromStats(n.name,e)}catch(e){if(t.throwErrorOnBrokenSymbolicLink){throw e}}}return n}))}t.readdirWithFileTypes=readdirWithFileTypes;function readdir(e,t){const r=t.fs.readdirSync(e);return r.map((r=>{const s=o.joinPathSegments(e,r,t.pathSegmentSeparator);const a=n.statSync(s,t.fsStatSettings);const c={name:r,path:s,dirent:i.fs.createDirentFromStats(r,a)};if(t.stats){c.stats=a}return c}))}t.readdir=readdir},3486:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(1017);const s=r(3645);const i=r(6491);class Settings{constructor(e={}){this._options=e;this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,false);this.fs=i.createFileSystemAdapter(this._options.fs);this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,n.sep);this.stats=this._getValue(this._options.stats,false);this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,true);this.fsStatSettings=new s.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return e!==null&&e!==void 0?e:t}}t["default"]=Settings},2926:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createDirentFromStats=void 0;class DirentFromStats{constructor(e,t){this.name=e;this.isBlockDevice=t.isBlockDevice.bind(t);this.isCharacterDevice=t.isCharacterDevice.bind(t);this.isDirectory=t.isDirectory.bind(t);this.isFIFO=t.isFIFO.bind(t);this.isFile=t.isFile.bind(t);this.isSocket=t.isSocket.bind(t);this.isSymbolicLink=t.isSymbolicLink.bind(t)}}function createDirentFromStats(e,t){return new DirentFromStats(e,t)}t.createDirentFromStats=createDirentFromStats},946:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.fs=void 0;const n=r(2926);t.fs=n},2243:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createFileSystemAdapter=t.FILE_SYSTEM_ADAPTER=void 0;const n=r(7147);t.FILE_SYSTEM_ADAPTER={lstat:n.lstat,stat:n.stat,lstatSync:n.lstatSync,statSync:n.statSync};function createFileSystemAdapter(e){if(e===undefined){return t.FILE_SYSTEM_ADAPTER}return Object.assign(Object.assign({},t.FILE_SYSTEM_ADAPTER),e)}t.createFileSystemAdapter=createFileSystemAdapter},3645:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.statSync=t.stat=t.Settings=void 0;const n=r(6948);const s=r(6750);const i=r(1917);t.Settings=i.default;function stat(e,t,r){if(typeof t==="function"){n.read(e,getSettings(),t);return}n.read(e,getSettings(t),r)}t.stat=stat;function statSync(e,t){const r=getSettings(t);return s.read(e,r)}t.statSync=statSync;function getSettings(e={}){if(e instanceof i.default){return e}return new i.default(e)}},6948:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.read=void 0;function read(e,t,r){t.fs.lstat(e,((n,s)=>{if(n!==null){callFailureCallback(r,n);return}if(!s.isSymbolicLink()||!t.followSymbolicLink){callSuccessCallback(r,s);return}t.fs.stat(e,((e,n)=>{if(e!==null){if(t.throwErrorOnBrokenSymbolicLink){callFailureCallback(r,e);return}callSuccessCallback(r,s);return}if(t.markSymbolicLink){n.isSymbolicLink=()=>true}callSuccessCallback(r,n)}))}))}t.read=read;function callFailureCallback(e,t){e(t)}function callSuccessCallback(e,t){e(null,t)}},6750:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.read=void 0;function read(e,t){const r=t.fs.lstatSync(e);if(!r.isSymbolicLink()||!t.followSymbolicLink){return r}try{const r=t.fs.statSync(e);if(t.markSymbolicLink){r.isSymbolicLink=()=>true}return r}catch(e){if(!t.throwErrorOnBrokenSymbolicLink){return r}throw e}}t.read=read},1917:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(2243);class Settings{constructor(e={}){this._options=e;this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,true);this.fs=n.createFileSystemAdapter(this._options.fs);this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,false);this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,true)}_getValue(e,t){return e!==null&&e!==void 0?e:t}}t["default"]=Settings},4328:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Settings=t.walkStream=t.walkSync=t.walk=void 0;const n=r(4306);const s=r(2686);const i=r(8918);const o=r(8831);t.Settings=o.default;function walk(e,t,r){if(typeof t==="function"){new n.default(e,getSettings()).read(t);return}new n.default(e,getSettings(t)).read(r)}t.walk=walk;function walkSync(e,t){const r=getSettings(t);const n=new i.default(e,r);return n.read()}t.walkSync=walkSync;function walkStream(e,t){const r=getSettings(t);const n=new s.default(e,r);return n.read()}t.walkStream=walkStream;function getSettings(e={}){if(e instanceof o.default){return e}return new o.default(e)}},4306:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(1293);class AsyncProvider{constructor(e,t){this._root=e;this._settings=t;this._reader=new n.default(this._root,this._settings);this._storage=[]}read(e){this._reader.onError((t=>{callFailureCallback(e,t)}));this._reader.onEntry((e=>{this._storage.push(e)}));this._reader.onEnd((()=>{callSuccessCallback(e,this._storage)}));this._reader.read()}}t["default"]=AsyncProvider;function callFailureCallback(e,t){e(t)}function callSuccessCallback(e,t){e(null,t)}},2686:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(2781);const s=r(1293);class StreamProvider{constructor(e,t){this._root=e;this._settings=t;this._reader=new s.default(this._root,this._settings);this._stream=new n.Readable({objectMode:true,read:()=>{},destroy:()=>{if(!this._reader.isDestroyed){this._reader.destroy()}}})}read(){this._reader.onError((e=>{this._stream.emit("error",e)}));this._reader.onEntry((e=>{this._stream.push(e)}));this._reader.onEnd((()=>{this._stream.push(null)}));this._reader.read();return this._stream}}t["default"]=StreamProvider},8918:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(9476);class SyncProvider{constructor(e,t){this._root=e;this._settings=t;this._reader=new n.default(this._root,this._settings)}read(){return this._reader.read()}}t["default"]=SyncProvider},1293:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(2361);const s=r(1659);const i=r(4241);const o=r(1652);const a=r(8376);class AsyncReader extends a.default{constructor(e,t){super(e,t);this._settings=t;this._scandir=s.scandir;this._emitter=new n.EventEmitter;this._queue=i(this._worker.bind(this),this._settings.concurrency);this._isFatalError=false;this._isDestroyed=false;this._queue.drain=()=>{if(!this._isFatalError){this._emitter.emit("end")}}}read(){this._isFatalError=false;this._isDestroyed=false;setImmediate((()=>{this._pushToQueue(this._root,this._settings.basePath)}));return this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed){throw new Error("The reader is already destroyed")}this._isDestroyed=true;this._queue.killAndDrain()}onEntry(e){this._emitter.on("entry",e)}onError(e){this._emitter.once("error",e)}onEnd(e){this._emitter.once("end",e)}_pushToQueue(e,t){const r={directory:e,base:t};this._queue.push(r,(e=>{if(e!==null){this._handleError(e)}}))}_worker(e,t){this._scandir(e.directory,this._settings.fsScandirSettings,((r,n)=>{if(r!==null){t(r,undefined);return}for(const t of n){this._handleEntry(t,e.base)}t(null,undefined)}))}_handleError(e){if(this._isDestroyed||!o.isFatalError(this._settings,e)){return}this._isFatalError=true;this._isDestroyed=true;this._emitter.emit("error",e)}_handleEntry(e,t){if(this._isDestroyed||this._isFatalError){return}const r=e.path;if(t!==undefined){e.path=o.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)}if(o.isAppliedFilter(this._settings.entryFilter,e)){this._emitEntry(e)}if(e.dirent.isDirectory()&&o.isAppliedFilter(this._settings.deepFilter,e)){this._pushToQueue(r,t===undefined?undefined:e.path)}}_emitEntry(e){this._emitter.emit("entry",e)}}t["default"]=AsyncReader},1652:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.joinPathSegments=t.replacePathSegmentSeparator=t.isAppliedFilter=t.isFatalError=void 0;function isFatalError(e,t){if(e.errorFilter===null){return true}return!e.errorFilter(t)}t.isFatalError=isFatalError;function isAppliedFilter(e,t){return e===null||e(t)}t.isAppliedFilter=isAppliedFilter;function replacePathSegmentSeparator(e,t){return e.split(/[/\\]/).join(t)}t.replacePathSegmentSeparator=replacePathSegmentSeparator;function joinPathSegments(e,t,r){if(e===""){return t}if(e.endsWith(r)){return e+t}return e+r+t}t.joinPathSegments=joinPathSegments},8376:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(1652);class Reader{constructor(e,t){this._root=e;this._settings=t;this._root=n.replacePathSegmentSeparator(e,t.pathSegmentSeparator)}}t["default"]=Reader},9476:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(1659);const s=r(1652);const i=r(8376);class SyncReader extends i.default{constructor(){super(...arguments);this._scandir=n.scandirSync;this._storage=[];this._queue=new Set}read(){this._pushToQueue(this._root,this._settings.basePath);this._handleQueue();return this._storage}_pushToQueue(e,t){this._queue.add({directory:e,base:t})}_handleQueue(){for(const e of this._queue.values()){this._handleDirectory(e.directory,e.base)}}_handleDirectory(e,t){try{const r=this._scandir(e,this._settings.fsScandirSettings);for(const e of r){this._handleEntry(e,t)}}catch(e){this._handleError(e)}}_handleError(e){if(!s.isFatalError(this._settings,e)){return}throw e}_handleEntry(e,t){const r=e.path;if(t!==undefined){e.path=s.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)}if(s.isAppliedFilter(this._settings.entryFilter,e)){this._pushToStorage(e)}if(e.dirent.isDirectory()&&s.isAppliedFilter(this._settings.deepFilter,e)){this._pushToQueue(r,t===undefined?undefined:e.path)}}_pushToStorage(e){this._storage.push(e)}}t["default"]=SyncReader},8831:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(1017);const s=r(1659);class Settings{constructor(e={}){this._options=e;this.basePath=this._getValue(this._options.basePath,undefined);this.concurrency=this._getValue(this._options.concurrency,Number.POSITIVE_INFINITY);this.deepFilter=this._getValue(this._options.deepFilter,null);this.entryFilter=this._getValue(this._options.entryFilter,null);this.errorFilter=this._getValue(this._options.errorFilter,null);this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,n.sep);this.fsScandirSettings=new s.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return e!==null&&e!==void 0?e:t}}t["default"]=Settings},4571:function(e,t,r){"use strict";e=r.nmd(e);const n=r(6755);const wrapAnsi16=(e,t)=>function(){const r=e.apply(n,arguments);return`[${r+t}m`};const wrapAnsi256=(e,t)=>function(){const r=e.apply(n,arguments);return`[${38+t};5;${r}m`};const wrapAnsi16m=(e,t)=>function(){const r=e.apply(n,arguments);return`[${38+t};2;${r[0]};${r[1]};${r[2]}m`};function assembleStyles(){const e=new Map;const t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],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]}};t.color.grey=t.color.gray;for(const r of Object.keys(t)){const n=t[r];for(const r of Object.keys(n)){const s=n[r];t[r]={open:`[${s[0]}m`,close:`[${s[1]}m`};n[r]=t[r];e.set(s[0],s[1])}Object.defineProperty(t,r,{value:n,enumerable:false});Object.defineProperty(t,"codes",{value:e,enumerable:false})}const ansi2ansi=e=>e;const rgb2rgb=(e,t,r)=>[e,t,r];t.color.close="[39m";t.bgColor.close="[49m";t.color.ansi={ansi:wrapAnsi16(ansi2ansi,0)};t.color.ansi256={ansi256:wrapAnsi256(ansi2ansi,0)};t.color.ansi16m={rgb:wrapAnsi16m(rgb2rgb,0)};t.bgColor.ansi={ansi:wrapAnsi16(ansi2ansi,10)};t.bgColor.ansi256={ansi256:wrapAnsi256(ansi2ansi,10)};t.bgColor.ansi16m={rgb:wrapAnsi16m(rgb2rgb,10)};for(let e of Object.keys(n)){if(typeof n[e]!=="object"){continue}const r=n[e];if(e==="ansi16"){e="ansi"}if("ansi16"in r){t.color.ansi[e]=wrapAnsi16(r.ansi16,0);t.bgColor.ansi[e]=wrapAnsi16(r.ansi16,10)}if("ansi256"in r){t.color.ansi256[e]=wrapAnsi256(r.ansi256,0);t.bgColor.ansi256[e]=wrapAnsi256(r.ansi256,10)}if("rgb"in r){t.color.ansi16m[e]=wrapAnsi16m(r.rgb,0);t.bgColor.ansi16m[e]=wrapAnsi16m(r.rgb,10)}}return t}Object.defineProperty(e,"exports",{enumerable:true,get:assembleStyles})},4337:function(e){"use strict";e.exports=(...e)=>[...new Set([].concat(...e))]},155:function(e){"use strict";e.exports=balanced;function balanced(e,t,r){if(e instanceof RegExp)e=maybeMatch(e,r);if(t instanceof RegExp)t=maybeMatch(t,r);var n=range(e,t,r);return n&&{start:n[0],end:n[1],pre:r.slice(0,n[0]),body:r.slice(n[0]+e.length,n[1]),post:r.slice(n[1]+t.length)}}function maybeMatch(e,t){var r=t.match(e);return r?r[0]:null}balanced.range=range;function range(e,t,r){var n,s,i,o,a;var c=r.indexOf(e);var l=r.indexOf(t,c+1);var u=c;if(c>=0&&l>0){if(e===t){return[c,l]}n=[];i=r.length;while(u>=0&&!a){if(u==c){n.push(u);c=r.indexOf(e,u+1)}else if(n.length==1){a=[n.pop(),l]}else{s=n.pop();if(s<i){i=s;o=l}l=r.indexOf(t,u+1)}u=c<l&&c>=0?c:l}if(n.length){a=[i,o]}}return a}},7847:function(e,t,r){var n=r(1062);var s=r(155);e.exports=expandTop;var i="\0SLASH"+Math.random()+"\0";var o="\0OPEN"+Math.random()+"\0";var a="\0CLOSE"+Math.random()+"\0";var c="\0COMMA"+Math.random()+"\0";var l="\0PERIOD"+Math.random()+"\0";function numeric(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function escapeBraces(e){return e.split("\\\\").join(i).split("\\{").join(o).split("\\}").join(a).split("\\,").join(c).split("\\.").join(l)}function unescapeBraces(e){return e.split(i).join("\\").split(o).join("{").split(a).join("}").split(c).join(",").split(l).join(".")}function parseCommaParts(e){if(!e)return[""];var t=[];var r=s("{","}",e);if(!r)return e.split(",");var n=r.pre;var i=r.body;var o=r.post;var a=n.split(",");a[a.length-1]+="{"+i+"}";var c=parseCommaParts(o);if(o.length){a[a.length-1]+=c.shift();a.push.apply(a,c)}t.push.apply(t,a);return t}function expandTop(e){if(!e)return[];if(e.substr(0,2)==="{}"){e="\\{\\}"+e.substr(2)}return expand(escapeBraces(e),true).map(unescapeBraces)}function identity(e){return e}function embrace(e){return"{"+e+"}"}function isPadded(e){return/^-?0\d/.test(e)}function lte(e,t){return e<=t}function gte(e,t){return e>=t}function expand(e,t){var r=[];var i=s("{","}",e);if(!i||/\$$/.test(i.pre))return[e];var o=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(i.body);var c=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(i.body);var l=o||c;var u=i.body.indexOf(",")>=0;if(!l&&!u){if(i.post.match(/,.*\}/)){e=i.pre+"{"+i.body+a+i.post;return expand(e)}return[e]}var p;if(l){p=i.body.split(/\.\./)}else{p=parseCommaParts(i.body);if(p.length===1){p=expand(p[0],false).map(embrace);if(p.length===1){var h=i.post.length?expand(i.post,false):[""];return h.map((function(e){return i.pre+p[0]+e}))}}}var d=i.pre;var h=i.post.length?expand(i.post,false):[""];var g;if(l){var m=numeric(p[0]);var y=numeric(p[1]);var v=Math.max(p[0].length,p[1].length);var b=p.length==3?Math.abs(numeric(p[2])):1;var w=lte;var S=y<m;if(S){b*=-1;w=gte}var _=p.some(isPadded);g=[];for(var x=m;w(x,y);x+=b){var C;if(c){C=String.fromCharCode(x);if(C==="\\")C=""}else{C=String(x);if(_){var A=v-C.length;if(A>0){var O=new Array(A+1).join("0");if(x<0)C="-"+O+C.slice(1);else C=O+C}}}g.push(C)}}else{g=n(p,(function(e){return expand(e,false)}))}for(var k=0;k<g.length;k++){for(var P=0;P<h.length;P++){var R=d+g[k]+h[P];if(!t||l||R)r.push(R)}}return r}},7637:function(e,t,r){"use strict";const n=r(3625);const s=r(4666);const i=r(6183);const o=r(2467);const braces=(e,t={})=>{let r=[];if(Array.isArray(e)){for(let n of e){let e=braces.create(n,t);if(Array.isArray(e)){r.push(...e)}else{r.push(e)}}}else{r=[].concat(braces.create(e,t))}if(t&&t.expand===true&&t.nodupes===true){r=[...new Set(r)]}return r};braces.parse=(e,t={})=>o(e,t);braces.stringify=(e,t={})=>{if(typeof e==="string"){return n(braces.parse(e,t),t)}return n(e,t)};braces.compile=(e,t={})=>{if(typeof e==="string"){e=braces.parse(e,t)}return s(e,t)};braces.expand=(e,t={})=>{if(typeof e==="string"){e=braces.parse(e,t)}let r=i(e,t);if(t.noempty===true){r=r.filter(Boolean)}if(t.nodupes===true){r=[...new Set(r)]}return r};braces.create=(e,t={})=>{if(e===""||e.length<3){return[e]}return t.expand!==true?braces.compile(e,t):braces.expand(e,t)};e.exports=braces},4666:function(e,t,r){"use strict";const n=r(442);const s=r(2456);const compile=(e,t={})=>{let walk=(e,r={})=>{let i=s.isInvalidBrace(r);let o=e.invalid===true&&t.escapeInvalid===true;let a=i===true||o===true;let c=t.escapeInvalid===true?"\\":"";let l="";if(e.isOpen===true){return c+e.value}if(e.isClose===true){return c+e.value}if(e.type==="open"){return a?c+e.value:"("}if(e.type==="close"){return a?c+e.value:")"}if(e.type==="comma"){return e.prev.type==="comma"?"":a?e.value:"|"}if(e.value){return e.value}if(e.nodes&&e.ranges>0){let r=s.reduce(e.nodes);let i=n(...r,{...t,wrap:false,toRegex:true});if(i.length!==0){return r.length>1&&i.length>1?`(${i})`:i}}if(e.nodes){for(let t of e.nodes){l+=walk(t,e)}}return l};return walk(e)};e.exports=compile},487:function(e){"use strict";e.exports={MAX_LENGTH:1024*64,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"}},6183:function(e,t,r){"use strict";const n=r(442);const s=r(3625);const i=r(2456);const append=(e="",t="",r=false)=>{let n=[];e=[].concat(e);t=[].concat(t);if(!t.length)return e;if(!e.length){return r?i.flatten(t).map((e=>`{${e}}`)):t}for(let s of e){if(Array.isArray(s)){for(let e of s){n.push(append(e,t,r))}}else{for(let e of t){if(r===true&&typeof e==="string")e=`{${e}}`;n.push(Array.isArray(e)?append(s,e,r):s+e)}}}return i.flatten(n)};const expand=(e,t={})=>{let r=t.rangeLimit===void 0?1e3:t.rangeLimit;let walk=(e,o={})=>{e.queue=[];let a=o;let c=o.queue;while(a.type!=="brace"&&a.type!=="root"&&a.parent){a=a.parent;c=a.queue}if(e.invalid||e.dollar){c.push(append(c.pop(),s(e,t)));return}if(e.type==="brace"&&e.invalid!==true&&e.nodes.length===2){c.push(append(c.pop(),["{}"]));return}if(e.nodes&&e.ranges>0){let o=i.reduce(e.nodes);if(i.exceedsLimit(...o,t.step,r)){throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.")}let a=n(...o,t);if(a.length===0){a=s(e,t)}c.push(append(c.pop(),a));e.nodes=[];return}let l=i.encloseBrace(e);let u=e.queue;let p=e;while(p.type!=="brace"&&p.type!=="root"&&p.parent){p=p.parent;u=p.queue}for(let t=0;t<e.nodes.length;t++){let r=e.nodes[t];if(r.type==="comma"&&e.type==="brace"){if(t===1)u.push("");u.push("");continue}if(r.type==="close"){c.push(append(c.pop(),u,l));continue}if(r.value&&r.type!=="open"){u.push(append(u.pop(),r.value));continue}if(r.nodes){walk(r,e)}}return u};return i.flatten(walk(e))};e.exports=expand},2467:function(e,t,r){"use strict";const n=r(3625);const{MAX_LENGTH:s,CHAR_BACKSLASH:i,CHAR_BACKTICK:o,CHAR_COMMA:a,CHAR_DOT:c,CHAR_LEFT_PARENTHESES:l,CHAR_RIGHT_PARENTHESES:u,CHAR_LEFT_CURLY_BRACE:p,CHAR_RIGHT_CURLY_BRACE:h,CHAR_LEFT_SQUARE_BRACKET:d,CHAR_RIGHT_SQUARE_BRACKET:g,CHAR_DOUBLE_QUOTE:m,CHAR_SINGLE_QUOTE:y,CHAR_NO_BREAK_SPACE:v,CHAR_ZERO_WIDTH_NOBREAK_SPACE:b}=r(487);const parse=(e,t={})=>{if(typeof e!=="string"){throw new TypeError("Expected a string")}let r=t||{};let w=typeof r.maxLength==="number"?Math.min(s,r.maxLength):s;if(e.length>w){throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${w})`)}let S={type:"root",input:e,nodes:[]};let _=[S];let x=S;let C=S;let A=0;let O=e.length;let k=0;let P=0;let R;let M={};const advance=()=>e[k++];const push=e=>{if(e.type==="text"&&C.type==="dot"){C.type="text"}if(C&&C.type==="text"&&e.type==="text"){C.value+=e.value;return}x.nodes.push(e);e.parent=x;e.prev=C;C=e;return e};push({type:"bos"});while(k<O){x=_[_.length-1];R=advance();if(R===b||R===v){continue}if(R===i){push({type:"text",value:(t.keepEscaping?R:"")+advance()});continue}if(R===g){push({type:"text",value:"\\"+R});continue}if(R===d){A++;let e=true;let t;while(k<O&&(t=advance())){R+=t;if(t===d){A++;continue}if(t===i){R+=advance();continue}if(t===g){A--;if(A===0){break}}}push({type:"text",value:R});continue}if(R===l){x=push({type:"paren",nodes:[]});_.push(x);push({type:"text",value:R});continue}if(R===u){if(x.type!=="paren"){push({type:"text",value:R});continue}x=_.pop();push({type:"text",value:R});x=_[_.length-1];continue}if(R===m||R===y||R===o){let e=R;let r;if(t.keepQuotes!==true){R=""}while(k<O&&(r=advance())){if(r===i){R+=r+advance();continue}if(r===e){if(t.keepQuotes===true)R+=r;break}R+=r}push({type:"text",value:R});continue}if(R===p){P++;let e=C.value&&C.value.slice(-1)==="$"||x.dollar===true;let t={type:"brace",open:true,close:false,dollar:e,depth:P,commas:0,ranges:0,nodes:[]};x=push(t);_.push(x);push({type:"open",value:R});continue}if(R===h){if(x.type!=="brace"){push({type:"text",value:R});continue}let e="close";x=_.pop();x.close=true;push({type:e,value:R});P--;x=_[_.length-1];continue}if(R===a&&P>0){if(x.ranges>0){x.ranges=0;let e=x.nodes.shift();x.nodes=[e,{type:"text",value:n(x)}]}push({type:"comma",value:R});x.commas++;continue}if(R===c&&P>0&&x.commas===0){let e=x.nodes;if(P===0||e.length===0){push({type:"text",value:R});continue}if(C.type==="dot"){x.range=[];C.value+=R;C.type="range";if(x.nodes.length!==3&&x.nodes.length!==5){x.invalid=true;x.ranges=0;C.type="text";continue}x.ranges++;x.args=[];continue}if(C.type==="range"){e.pop();let t=e[e.length-1];t.value+=C.value+R;C=t;x.ranges--;continue}push({type:"dot",value:R});continue}push({type:"text",value:R})}do{x=_.pop();if(x.type!=="root"){x.nodes.forEach((e=>{if(!e.nodes){if(e.type==="open")e.isOpen=true;if(e.type==="close")e.isClose=true;if(!e.nodes)e.type="text";e.invalid=true}}));let e=_[_.length-1];let t=e.nodes.indexOf(x);e.nodes.splice(t,1,...x.nodes)}}while(_.length>0);push({type:"eos"});return S};e.exports=parse},3625:function(e,t,r){"use strict";const n=r(2456);e.exports=(e,t={})=>{let stringify=(e,r={})=>{let s=t.escapeInvalid&&n.isInvalidBrace(r);let i=e.invalid===true&&t.escapeInvalid===true;let o="";if(e.value){if((s||i)&&n.isOpenOrClose(e)){return"\\"+e.value}return e.value}if(e.value){return e.value}if(e.nodes){for(let t of e.nodes){o+=stringify(t)}}return o};return stringify(e)}},2456:function(e,t){"use strict";t.isInteger=e=>{if(typeof e==="number"){return Number.isInteger(e)}if(typeof e==="string"&&e.trim()!==""){return Number.isInteger(Number(e))}return false};t.find=(e,t)=>e.nodes.find((e=>e.type===t));t.exceedsLimit=(e,r,n=1,s)=>{if(s===false)return false;if(!t.isInteger(e)||!t.isInteger(r))return false;return(Number(r)-Number(e))/Number(n)>=s};t.escapeNode=(e,t=0,r)=>{let n=e.nodes[t];if(!n)return;if(r&&n.type===r||n.type==="open"||n.type==="close"){if(n.escaped!==true){n.value="\\"+n.value;n.escaped=true}}};t.encloseBrace=e=>{if(e.type!=="brace")return false;if(e.commas>>0+e.ranges>>0===0){e.invalid=true;return true}return false};t.isInvalidBrace=e=>{if(e.type!=="brace")return false;if(e.invalid===true||e.dollar)return true;if(e.commas>>0+e.ranges>>0===0){e.invalid=true;return true}if(e.open!==true||e.close!==true){e.invalid=true;return true}return false};t.isOpenOrClose=e=>{if(e.type==="open"||e.type==="close"){return true}return e.open===true||e.close===true};t.reduce=e=>e.reduce(((e,t)=>{if(t.type==="text")e.push(t.value);if(t.type==="range")t.type="text";return e}),[]);t.flatten=(...e)=>{const t=[];const flat=e=>{for(let r=0;r<e.length;r++){let n=e[r];Array.isArray(n)?flat(n,t):n!==void 0&&t.push(n)}return t};flat(e);return t}},1576:function(e){"use strict";const callsites=()=>{const e=Error.prepareStackTrace;Error.prepareStackTrace=(e,t)=>t;const t=(new Error).stack.slice(1);Error.prepareStackTrace=e;return t};e.exports=callsites;e.exports["default"]=callsites},6673:function(e,t,r){"use strict";const n=r(4434);const s=r(4571);const i=r(2332).stdout;const o=r(1956);const a=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm");const c=["ansi","ansi","ansi256","ansi16m"];const l=new Set(["gray"]);const u=Object.create(null);function applyOptions(e,t){t=t||{};const r=i?i.level:0;e.level=t.level===undefined?r:t.level;e.enabled="enabled"in t?t.enabled:e.level>0}function Chalk(e){if(!this||!(this instanceof Chalk)||this.template){const t={};applyOptions(t,e);t.template=function(){const e=[].slice.call(arguments);return chalkTag.apply(null,[t.template].concat(e))};Object.setPrototypeOf(t,Chalk.prototype);Object.setPrototypeOf(t.template,t);t.template.constructor=Chalk;return t.template}applyOptions(this,e)}if(a){s.blue.open="[94m"}for(const e of Object.keys(s)){s[e].closeRe=new RegExp(n(s[e].close),"g");u[e]={get(){const t=s[e];return build.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}}}u.visible={get(){return build.call(this,this._styles||[],true,"visible")}};s.color.closeRe=new RegExp(n(s.color.close),"g");for(const e of Object.keys(s.color.ansi)){if(l.has(e)){continue}u[e]={get(){const t=this.level;return function(){const r=s.color[c[t]][e].apply(null,arguments);const n={open:r,close:s.color.close,closeRe:s.color.closeRe};return build.call(this,this._styles?this._styles.concat(n):[n],this._empty,e)}}}}s.bgColor.closeRe=new RegExp(n(s.bgColor.close),"g");for(const e of Object.keys(s.bgColor.ansi)){if(l.has(e)){continue}const t="bg"+e[0].toUpperCase()+e.slice(1);u[t]={get(){const t=this.level;return function(){const r=s.bgColor[c[t]][e].apply(null,arguments);const n={open:r,close:s.bgColor.close,closeRe:s.bgColor.closeRe};return build.call(this,this._styles?this._styles.concat(n):[n],this._empty,e)}}}}const p=Object.defineProperties((()=>{}),u);function build(e,t,r){const builder=function(){return applyStyle.apply(builder,arguments)};builder._styles=e;builder._empty=t;const n=this;Object.defineProperty(builder,"level",{enumerable:true,get(){return n.level},set(e){n.level=e}});Object.defineProperty(builder,"enabled",{enumerable:true,get(){return n.enabled},set(e){n.enabled=e}});builder.hasGrey=this.hasGrey||r==="gray"||r==="grey";builder.__proto__=p;return builder}function applyStyle(){const e=arguments;const t=e.length;let r=String(arguments[0]);if(t===0){return""}if(t>1){for(let n=1;n<t;n++){r+=" "+e[n]}}if(!this.enabled||this.level<=0||!r){return this._empty?"":r}const n=s.dim.open;if(a&&this.hasGrey){s.dim.open=""}for(const e of this._styles.slice().reverse()){r=e.open+r.replace(e.closeRe,e.open)+e.close;r=r.replace(/\r?\n/g,`${e.close}$&${e.open}`)}s.dim.open=n;return r}function chalkTag(e,t){if(!Array.isArray(t)){return[].slice.call(arguments,1).join(" ")}const r=[].slice.call(arguments,2);const n=[t.raw[0]];for(let e=1;e<t.length;e++){n.push(String(r[e-1]).replace(/[{}\\]/g,"\\$&"));n.push(String(t.raw[e]))}return o(e,n.join(""))}Object.defineProperties(Chalk.prototype,u);e.exports=Chalk();e.exports.supportsColor=i;e.exports["default"]=e.exports},1956:function(e){"use strict";const t=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;const r=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;const n=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;const s=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi;const i=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(e){if(e[0]==="u"&&e.length===5||e[0]==="x"&&e.length===3){return String.fromCharCode(parseInt(e.slice(1),16))}return i.get(e)||e}function parseArguments(e,t){const r=[];const i=t.trim().split(/\s*,\s*/g);let o;for(const t of i){if(!isNaN(t)){r.push(Number(t))}else if(o=t.match(n)){r.push(o[2].replace(s,((e,t,r)=>t?unescape(t):r)))}else{throw new Error(`Invalid Chalk template style argument: ${t} (in style '${e}')`)}}return r}function parseStyle(e){r.lastIndex=0;const t=[];let n;while((n=r.exec(e))!==null){const e=n[1];if(n[2]){const r=parseArguments(e,n[2]);t.push([e].concat(r))}else{t.push([e])}}return t}function buildStyle(e,t){const r={};for(const e of t){for(const t of e.styles){r[t[0]]=e.inverse?null:t.slice(1)}}let n=e;for(const e of Object.keys(r)){if(Array.isArray(r[e])){if(!(e in n)){throw new Error(`Unknown Chalk style: ${e}`)}if(r[e].length>0){n=n[e].apply(n,r[e])}else{n=n[e]}}}return n}e.exports=(e,r)=>{const n=[];const s=[];let i=[];r.replace(t,((t,r,o,a,c,l)=>{if(r){i.push(unescape(r))}else if(a){const t=i.join("");i=[];s.push(n.length===0?t:buildStyle(e,n)(t));n.push({inverse:o,styles:parseStyle(a)})}else if(c){if(n.length===0){throw new Error("Found extraneous } in Chalk template literal")}s.push(buildStyle(e,n)(i.join("")));i=[];n.pop()}else{i.push(l)}}));s.push(i.join(""));if(n.length>0){const e=`Chalk template literal is missing ${n.length} closing bracket${n.length===1?"":"s"} (\`}\`)`;throw new Error(e)}return s.join("")}},4461:function(e,t,r){var n=r(391);var s={};for(var i in n){if(n.hasOwnProperty(i)){s[n[i]]=i}}var o=e.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 a in o){if(o.hasOwnProperty(a)){if(!("channels"in o[a])){throw new Error("missing channels property: "+a)}if(!("labels"in o[a])){throw new Error("missing channel labels property: "+a)}if(o[a].labels.length!==o[a].channels){throw new Error("channel and label counts mismatch: "+a)}var c=o[a].channels;var l=o[a].labels;delete o[a].channels;delete o[a].labels;Object.defineProperty(o[a],"channels",{value:c});Object.defineProperty(o[a],"labels",{value:l})}}o.rgb.hsl=function(e){var t=e[0]/255;var r=e[1]/255;var n=e[2]/255;var s=Math.min(t,r,n);var i=Math.max(t,r,n);var o=i-s;var a;var c;var l;if(i===s){a=0}else if(t===i){a=(r-n)/o}else if(r===i){a=2+(n-t)/o}else if(n===i){a=4+(t-r)/o}a=Math.min(a*60,360);if(a<0){a+=360}l=(s+i)/2;if(i===s){c=0}else if(l<=.5){c=o/(i+s)}else{c=o/(2-i-s)}return[a,c*100,l*100]};o.rgb.hsv=function(e){var t;var r;var n;var s;var i;var o=e[0]/255;var a=e[1]/255;var c=e[2]/255;var l=Math.max(o,a,c);var u=l-Math.min(o,a,c);var diffc=function(e){return(l-e)/6/u+1/2};if(u===0){s=i=0}else{i=u/l;t=diffc(o);r=diffc(a);n=diffc(c);if(o===l){s=n-r}else if(a===l){s=1/3+t-n}else if(c===l){s=2/3+r-t}if(s<0){s+=1}else if(s>1){s-=1}}return[s*360,i*100,l*100]};o.rgb.hwb=function(e){var t=e[0];var r=e[1];var n=e[2];var s=o.rgb.hsl(e)[0];var i=1/255*Math.min(t,Math.min(r,n));n=1-1/255*Math.max(t,Math.max(r,n));return[s,i*100,n*100]};o.rgb.cmyk=function(e){var t=e[0]/255;var r=e[1]/255;var n=e[2]/255;var s;var i;var o;var a;a=Math.min(1-t,1-r,1-n);s=(1-t-a)/(1-a)||0;i=(1-r-a)/(1-a)||0;o=(1-n-a)/(1-a)||0;return[s*100,i*100,o*100,a*100]};function comparativeDistance(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)+Math.pow(e[2]-t[2],2)}o.rgb.keyword=function(e){var t=s[e];if(t){return t}var r=Infinity;var i;for(var o in n){if(n.hasOwnProperty(o)){var a=n[o];var c=comparativeDistance(e,a);if(c<r){r=c;i=o}}}return i};o.keyword.rgb=function(e){return n[e]};o.rgb.xyz=function(e){var t=e[0]/255;var r=e[1]/255;var n=e[2]/255;t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92;r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92;n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92;var s=t*.4124+r*.3576+n*.1805;var i=t*.2126+r*.7152+n*.0722;var o=t*.0193+r*.1192+n*.9505;return[s*100,i*100,o*100]};o.rgb.lab=function(e){var t=o.rgb.xyz(e);var r=t[0];var n=t[1];var s=t[2];var i;var a;var c;r/=95.047;n/=100;s/=108.883;r=r>.008856?Math.pow(r,1/3):7.787*r+16/116;n=n>.008856?Math.pow(n,1/3):7.787*n+16/116;s=s>.008856?Math.pow(s,1/3):7.787*s+16/116;i=116*n-16;a=500*(r-n);c=200*(n-s);return[i,a,c]};o.hsl.rgb=function(e){var t=e[0]/360;var r=e[1]/100;var n=e[2]/100;var s;var i;var o;var a;var c;if(r===0){c=n*255;return[c,c,c]}if(n<.5){i=n*(1+r)}else{i=n+r-n*r}s=2*n-i;a=[0,0,0];for(var l=0;l<3;l++){o=t+1/3*-(l-1);if(o<0){o++}if(o>1){o--}if(6*o<1){c=s+(i-s)*6*o}else if(2*o<1){c=i}else if(3*o<2){c=s+(i-s)*(2/3-o)*6}else{c=s}a[l]=c*255}return a};o.hsl.hsv=function(e){var t=e[0];var r=e[1]/100;var n=e[2]/100;var s=r;var i=Math.max(n,.01);var o;var a;n*=2;r*=n<=1?n:2-n;s*=i<=1?i:2-i;a=(n+r)/2;o=n===0?2*s/(i+s):2*r/(n+r);return[t,o*100,a*100]};o.hsv.rgb=function(e){var t=e[0]/60;var r=e[1]/100;var n=e[2]/100;var s=Math.floor(t)%6;var i=t-Math.floor(t);var o=255*n*(1-r);var a=255*n*(1-r*i);var c=255*n*(1-r*(1-i));n*=255;switch(s){case 0:return[n,c,o];case 1:return[a,n,o];case 2:return[o,n,c];case 3:return[o,a,n];case 4:return[c,o,n];case 5:return[n,o,a]}};o.hsv.hsl=function(e){var t=e[0];var r=e[1]/100;var n=e[2]/100;var s=Math.max(n,.01);var i;var o;var a;a=(2-r)*n;i=(2-r)*s;o=r*s;o/=i<=1?i:2-i;o=o||0;a/=2;return[t,o*100,a*100]};o.hwb.rgb=function(e){var t=e[0]/360;var r=e[1]/100;var n=e[2]/100;var s=r+n;var i;var o;var a;var c;if(s>1){r/=s;n/=s}i=Math.floor(6*t);o=1-n;a=6*t-i;if((i&1)!==0){a=1-a}c=r+a*(o-r);var l;var u;var p;switch(i){default:case 6:case 0:l=o;u=c;p=r;break;case 1:l=c;u=o;p=r;break;case 2:l=r;u=o;p=c;break;case 3:l=r;u=c;p=o;break;case 4:l=c;u=r;p=o;break;case 5:l=o;u=r;p=c;break}return[l*255,u*255,p*255]};o.cmyk.rgb=function(e){var t=e[0]/100;var r=e[1]/100;var n=e[2]/100;var s=e[3]/100;var i;var o;var a;i=1-Math.min(1,t*(1-s)+s);o=1-Math.min(1,r*(1-s)+s);a=1-Math.min(1,n*(1-s)+s);return[i*255,o*255,a*255]};o.xyz.rgb=function(e){var t=e[0]/100;var r=e[1]/100;var n=e[2]/100;var s;var i;var o;s=t*3.2406+r*-1.5372+n*-.4986;i=t*-.9689+r*1.8758+n*.0415;o=t*.0557+r*-.204+n*1.057;s=s>.0031308?1.055*Math.pow(s,1/2.4)-.055:s*12.92;i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*12.92;o=o>.0031308?1.055*Math.pow(o,1/2.4)-.055:o*12.92;s=Math.min(Math.max(0,s),1);i=Math.min(Math.max(0,i),1);o=Math.min(Math.max(0,o),1);return[s*255,i*255,o*255]};o.xyz.lab=function(e){var t=e[0];var r=e[1];var n=e[2];var s;var i;var o;t/=95.047;r/=100;n/=108.883;t=t>.008856?Math.pow(t,1/3):7.787*t+16/116;r=r>.008856?Math.pow(r,1/3):7.787*r+16/116;n=n>.008856?Math.pow(n,1/3):7.787*n+16/116;s=116*r-16;i=500*(t-r);o=200*(r-n);return[s,i,o]};o.lab.xyz=function(e){var t=e[0];var r=e[1];var n=e[2];var s;var i;var o;i=(t+16)/116;s=r/500+i;o=i-n/200;var a=Math.pow(i,3);var c=Math.pow(s,3);var l=Math.pow(o,3);i=a>.008856?a:(i-16/116)/7.787;s=c>.008856?c:(s-16/116)/7.787;o=l>.008856?l:(o-16/116)/7.787;s*=95.047;i*=100;o*=108.883;return[s,i,o]};o.lab.lch=function(e){var t=e[0];var r=e[1];var n=e[2];var s;var i;var o;s=Math.atan2(n,r);i=s*360/2/Math.PI;if(i<0){i+=360}o=Math.sqrt(r*r+n*n);return[t,o,i]};o.lch.lab=function(e){var t=e[0];var r=e[1];var n=e[2];var s;var i;var o;o=n/360*2*Math.PI;s=r*Math.cos(o);i=r*Math.sin(o);return[t,s,i]};o.rgb.ansi16=function(e){var t=e[0];var r=e[1];var n=e[2];var s=1 in arguments?arguments[1]:o.rgb.hsv(e)[2];s=Math.round(s/50);if(s===0){return 30}var i=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(t/255));if(s===2){i+=60}return i};o.hsv.ansi16=function(e){return o.rgb.ansi16(o.hsv.rgb(e),e[2])};o.rgb.ansi256=function(e){var t=e[0];var r=e[1];var n=e[2];if(t===r&&r===n){if(t<8){return 16}if(t>248){return 231}return Math.round((t-8)/247*24)+232}var s=16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5);return s};o.ansi16.rgb=function(e){var t=e%10;if(t===0||t===7){if(e>50){t+=3.5}t=t/10.5*255;return[t,t,t]}var r=(~~(e>50)+1)*.5;var n=(t&1)*r*255;var s=(t>>1&1)*r*255;var i=(t>>2&1)*r*255;return[n,s,i]};o.ansi256.rgb=function(e){if(e>=232){var t=(e-232)*10+8;return[t,t,t]}e-=16;var r;var n=Math.floor(e/36)/5*255;var s=Math.floor((r=e%36)/6)/5*255;var i=r%6/5*255;return[n,s,i]};o.rgb.hex=function(e){var t=((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255);var r=t.toString(16).toUpperCase();return"000000".substring(r.length)+r};o.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t){return[0,0,0]}var r=t[0];if(t[0].length===3){r=r.split("").map((function(e){return e+e})).join("")}var n=parseInt(r,16);var s=n>>16&255;var i=n>>8&255;var o=n&255;return[s,i,o]};o.rgb.hcg=function(e){var t=e[0]/255;var r=e[1]/255;var n=e[2]/255;var s=Math.max(Math.max(t,r),n);var i=Math.min(Math.min(t,r),n);var o=s-i;var a;var c;if(o<1){a=i/(1-o)}else{a=0}if(o<=0){c=0}else if(s===t){c=(r-n)/o%6}else if(s===r){c=2+(n-t)/o}else{c=4+(t-r)/o+4}c/=6;c%=1;return[c*360,o*100,a*100]};o.hsl.hcg=function(e){var t=e[1]/100;var r=e[2]/100;var n=1;var s=0;if(r<.5){n=2*t*r}else{n=2*t*(1-r)}if(n<1){s=(r-.5*n)/(1-n)}return[e[0],n*100,s*100]};o.hsv.hcg=function(e){var t=e[1]/100;var r=e[2]/100;var n=t*r;var s=0;if(n<1){s=(r-n)/(1-n)}return[e[0],n*100,s*100]};o.hcg.rgb=function(e){var t=e[0]/360;var r=e[1]/100;var n=e[2]/100;if(r===0){return[n*255,n*255,n*255]}var s=[0,0,0];var i=t%1*6;var o=i%1;var a=1-o;var c=0;switch(Math.floor(i)){case 0:s[0]=1;s[1]=o;s[2]=0;break;case 1:s[0]=a;s[1]=1;s[2]=0;break;case 2:s[0]=0;s[1]=1;s[2]=o;break;case 3:s[0]=0;s[1]=a;s[2]=1;break;case 4:s[0]=o;s[1]=0;s[2]=1;break;default:s[0]=1;s[1]=0;s[2]=a}c=(1-r)*n;return[(r*s[0]+c)*255,(r*s[1]+c)*255,(r*s[2]+c)*255]};o.hcg.hsv=function(e){var t=e[1]/100;var r=e[2]/100;var n=t+r*(1-t);var s=0;if(n>0){s=t/n}return[e[0],s*100,n*100]};o.hcg.hsl=function(e){var t=e[1]/100;var r=e[2]/100;var n=r*(1-t)+.5*t;var s=0;if(n>0&&n<.5){s=t/(2*n)}else if(n>=.5&&n<1){s=t/(2*(1-n))}return[e[0],s*100,n*100]};o.hcg.hwb=function(e){var t=e[1]/100;var r=e[2]/100;var n=t+r*(1-t);return[e[0],(n-t)*100,(1-n)*100]};o.hwb.hcg=function(e){var t=e[1]/100;var r=e[2]/100;var n=1-r;var s=n-t;var i=0;if(s<1){i=(n-s)/(1-s)}return[e[0],s*100,i*100]};o.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};o.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};o.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};o.gray.hsl=o.gray.hsv=function(e){return[0,0,e[0]]};o.gray.hwb=function(e){return[0,100,e[0]]};o.gray.cmyk=function(e){return[0,0,0,e[0]]};o.gray.lab=function(e){return[e[0],0,0]};o.gray.hex=function(e){var t=Math.round(e[0]/100*255)&255;var r=(t<<16)+(t<<8)+t;var n=r.toString(16).toUpperCase();return"000000".substring(n.length)+n};o.rgb.gray=function(e){var t=(e[0]+e[1]+e[2])/3;return[t/255*100]}},6755:function(e,t,r){var n=r(4461);var s=r(1974);var i={};var o=Object.keys(n);function wrapRaw(e){var wrappedFn=function(t){if(t===undefined||t===null){return t}if(arguments.length>1){t=Array.prototype.slice.call(arguments)}return e(t)};if("conversion"in e){wrappedFn.conversion=e.conversion}return wrappedFn}function wrapRounded(e){var wrappedFn=function(t){if(t===undefined||t===null){return t}if(arguments.length>1){t=Array.prototype.slice.call(arguments)}var r=e(t);if(typeof r==="object"){for(var n=r.length,s=0;s<n;s++){r[s]=Math.round(r[s])}}return r};if("conversion"in e){wrappedFn.conversion=e.conversion}return wrappedFn}o.forEach((function(e){i[e]={};Object.defineProperty(i[e],"channels",{value:n[e].channels});Object.defineProperty(i[e],"labels",{value:n[e].labels});var t=s(e);var r=Object.keys(t);r.forEach((function(r){var n=t[r];i[e][r]=wrapRounded(n);i[e][r].raw=wrapRaw(n)}))}));e.exports=i},1974:function(e,t,r){var n=r(4461);function buildGraph(){var e={};var t=Object.keys(n);for(var r=t.length,s=0;s<r;s++){e[t[s]]={distance:-1,parent:null}}return e}function deriveBFS(e){var t=buildGraph();var r=[e];t[e].distance=0;while(r.length){var s=r.pop();var i=Object.keys(n[s]);for(var o=i.length,a=0;a<o;a++){var c=i[a];var l=t[c];if(l.distance===-1){l.distance=t[s].distance+1;l.parent=s;r.unshift(c)}}}return t}function link(e,t){return function(r){return t(e(r))}}function wrapConversion(e,t){var r=[t[e].parent,e];var s=n[t[e].parent][e];var i=t[e].parent;while(t[i].parent){r.unshift(t[i].parent);s=link(n[t[i].parent][i],s);i=t[i].parent}s.conversion=r;return s}e.exports=function(e){var t=deriveBFS(e);var r={};var n=Object.keys(t);for(var s=n.length,i=0;i<s;i++){var o=n[i];var a=t[o];if(a.parent===null){continue}r[o]=wrapConversion(o,t)}return r}},391:function(e){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},1062:function(e){e.exports=function(e,r){var n=[];for(var s=0;s<e.length;s++){var i=r(e[s],s);if(t(i))n.push.apply(n,i);else n.push(i)}return n};var t=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"}},7579:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Explorer=void 0;var n=_interopRequireDefault(r(1017));var s=r(9177);var i=r(6996);var o=r(4618);var a=r(2466);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class Explorer extends s.ExplorerBase{constructor(e){super(e)}async search(e=process.cwd()){const t=await(0,a.getDirectory)(e);const r=await this.searchFromDirectory(t);return r}async searchFromDirectory(e){const t=n.default.resolve(process.cwd(),e);const run=async()=>{const e=await this.searchDirectory(t);const r=this.nextDirectoryToSearch(t,e);if(r){return this.searchFromDirectory(r)}const n=await this.config.transform(e);return n};if(this.searchCache){return(0,o.cacheWrapper)(this.searchCache,t,run)}return run()}async searchDirectory(e){for await(const t of this.config.searchPlaces){const r=await this.loadSearchPlace(e,t);if(this.shouldSearchStopWithResult(r)===true){return r}}return null}async loadSearchPlace(e,t){const r=n.default.join(e,t);const s=await(0,i.readFile)(r);const o=await this.createCosmiconfigResult(r,s);return o}async loadFileContent(e,t){if(t===null){return null}if(t.trim()===""){return undefined}const r=this.getLoaderEntryForFile(e);const n=await r(e,t);return n}async createCosmiconfigResult(e,t){const r=await this.loadFileContent(e,t);const n=this.loadedContentToCosmiconfigResult(e,r);return n}async load(e){this.validateFilePath(e);const t=n.default.resolve(process.cwd(),e);const runLoad=async()=>{const e=await(0,i.readFile)(t,{throwNotFound:true});const r=await this.createCosmiconfigResult(t,e);const n=await this.config.transform(r);return n};if(this.loadCache){return(0,o.cacheWrapper)(this.loadCache,t,runLoad)}return runLoad()}}t.Explorer=Explorer},9177:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getExtensionDescription=getExtensionDescription;t.ExplorerBase=void 0;var n=_interopRequireDefault(r(1017));var s=r(4877);var i=r(4505);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class ExplorerBase{constructor(e){if(e.cache===true){this.loadCache=new Map;this.searchCache=new Map}this.config=e;this.validateConfig()}clearLoadCache(){if(this.loadCache){this.loadCache.clear()}}clearSearchCache(){if(this.searchCache){this.searchCache.clear()}}clearCaches(){this.clearLoadCache();this.clearSearchCache()}validateConfig(){const e=this.config;e.searchPlaces.forEach((t=>{const r=n.default.extname(t)||"noExt";const s=e.loaders[r];if(!s){throw new Error(`No loader specified for ${getExtensionDescription(t)}, so searchPlaces item "${t}" is invalid`)}if(typeof s!=="function"){throw new Error(`loader for ${getExtensionDescription(t)} is not a function (type provided: "${typeof s}"), so searchPlaces item "${t}" is invalid`)}}))}shouldSearchStopWithResult(e){if(e===null)return false;if(e.isEmpty&&this.config.ignoreEmptySearchPlaces)return false;return true}nextDirectoryToSearch(e,t){if(this.shouldSearchStopWithResult(t)){return null}const r=nextDirUp(e);if(r===e||e===this.config.stopDir){return null}return r}loadPackageProp(e,t){const r=s.loaders.loadJson(e,t);const n=(0,i.getPropertyByPath)(r,this.config.packageProp);return n||null}getLoaderEntryForFile(e){if(n.default.basename(e)==="package.json"){const e=this.loadPackageProp.bind(this);return e}const t=n.default.extname(e)||"noExt";const r=this.config.loaders[t];if(!r){throw new Error(`No loader specified for ${getExtensionDescription(e)}`)}return r}loadedContentToCosmiconfigResult(e,t){if(t===null){return null}if(t===undefined){return{filepath:e,config:undefined,isEmpty:true}}return{config:t,filepath:e}}validateFilePath(e){if(!e){throw new Error("load must pass a non-empty string")}}}t.ExplorerBase=ExplorerBase;function nextDirUp(e){return n.default.dirname(e)}function getExtensionDescription(e){const t=n.default.extname(e);return t?`extension "${t}"`:"files without extensions"}},7202:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExplorerSync=void 0;var n=_interopRequireDefault(r(1017));var s=r(9177);var i=r(6996);var o=r(4618);var a=r(2466);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class ExplorerSync extends s.ExplorerBase{constructor(e){super(e)}searchSync(e=process.cwd()){const t=(0,a.getDirectorySync)(e);const r=this.searchFromDirectorySync(t);return r}searchFromDirectorySync(e){const t=n.default.resolve(process.cwd(),e);const run=()=>{const e=this.searchDirectorySync(t);const r=this.nextDirectoryToSearch(t,e);if(r){return this.searchFromDirectorySync(r)}const n=this.config.transform(e);return n};if(this.searchCache){return(0,o.cacheWrapperSync)(this.searchCache,t,run)}return run()}searchDirectorySync(e){for(const t of this.config.searchPlaces){const r=this.loadSearchPlaceSync(e,t);if(this.shouldSearchStopWithResult(r)===true){return r}}return null}loadSearchPlaceSync(e,t){const r=n.default.join(e,t);const s=(0,i.readFileSync)(r);const o=this.createCosmiconfigResultSync(r,s);return o}loadFileContentSync(e,t){if(t===null){return null}if(t.trim()===""){return undefined}const r=this.getLoaderEntryForFile(e);const n=r(e,t);return n}createCosmiconfigResultSync(e,t){const r=this.loadFileContentSync(e,t);const n=this.loadedContentToCosmiconfigResult(e,r);return n}loadSync(e){this.validateFilePath(e);const t=n.default.resolve(process.cwd(),e);const runLoadSync=()=>{const e=(0,i.readFileSync)(t,{throwNotFound:true});const r=this.createCosmiconfigResultSync(t,e);const n=this.config.transform(r);return n};if(this.loadCache){return(0,o.cacheWrapperSync)(this.loadCache,t,runLoadSync)}return runLoadSync()}}t.ExplorerSync=ExplorerSync},4618:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.cacheWrapper=cacheWrapper;t.cacheWrapperSync=cacheWrapperSync;async function cacheWrapper(e,t,r){const n=e.get(t);if(n!==undefined){return n}const s=await r();e.set(t,s);return s}function cacheWrapperSync(e,t,r){const n=e.get(t);if(n!==undefined){return n}const s=r();e.set(t,s);return s}},2466:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getDirectory=getDirectory;t.getDirectorySync=getDirectorySync;var n=_interopRequireDefault(r(1017));var s=r(9223);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}async function getDirectory(e){const t=await(0,s.isDirectory)(e);if(t===true){return e}const r=n.default.dirname(e);return r}function getDirectorySync(e){const t=(0,s.isDirectorySync)(e);if(t===true){return e}const r=n.default.dirname(e);return r}},4505:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getPropertyByPath=getPropertyByPath;function getPropertyByPath(e,t){if(typeof t==="string"&&Object.prototype.hasOwnProperty.call(e,t)){return e[t]}const r=typeof t==="string"?t.split("."):t;return r.reduce(((e,t)=>{if(e===undefined){return e}return e[t]}),e)}},8956:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.cosmiconfig=cosmiconfig;t.cosmiconfigSync=cosmiconfigSync;t.defaultLoaders=void 0;var n=_interopRequireDefault(r(2037));var s=r(7579);var i=r(7202);var o=r(4877);var a=r(5173);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function cosmiconfig(e,t={}){const r=normalizeOptions(e,t);const n=new s.Explorer(r);return{search:n.search.bind(n),load:n.load.bind(n),clearLoadCache:n.clearLoadCache.bind(n),clearSearchCache:n.clearSearchCache.bind(n),clearCaches:n.clearCaches.bind(n)}}function cosmiconfigSync(e,t={}){const r=normalizeOptions(e,t);const n=new i.ExplorerSync(r);return{search:n.searchSync.bind(n),load:n.loadSync.bind(n),clearLoadCache:n.clearLoadCache.bind(n),clearSearchCache:n.clearSearchCache.bind(n),clearCaches:n.clearCaches.bind(n)}}const c=Object.freeze({".cjs":o.loaders.loadJs,".js":o.loaders.loadJs,".json":o.loaders.loadJson,".yaml":o.loaders.loadYaml,".yml":o.loaders.loadYaml,noExt:o.loaders.loadYaml});t.defaultLoaders=c;const l=function identity(e){return e};function normalizeOptions(e,t){const r={packageProp:e,searchPlaces:["package.json",`.${e}rc`,`.${e}rc.json`,`.${e}rc.yaml`,`.${e}rc.yml`,`.${e}rc.js`,`.${e}rc.cjs`,`${e}.config.js`,`${e}.config.cjs`],ignoreEmptySearchPlaces:true,stopDir:n.default.homedir(),cache:true,transform:l,loaders:c};const s={...r,...t,loaders:{...r.loaders,...t.loaders}};return s}},4877:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.loaders=void 0;let n;const s=function loadJs(e){if(n===undefined){n=r(833)}const t=n(e);return t};let i;const o=function loadJson(e,t){if(i===undefined){i=r(4302)}try{const e=i(t);return e}catch(t){t.message=`JSON Error in ${e}:\n${t.message}`;throw t}};let a;const c=function loadYaml(e,t){if(a===undefined){a=r(9307)}try{const e=a.parse(t,{prettyErrors:true});return e}catch(t){t.message=`YAML Error in ${e}:\n${t.message}`;throw t}};const l={loadJs:s,loadJson:o,loadYaml:c};t.loaders=l},6996:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.readFile=readFile;t.readFileSync=readFileSync;var n=_interopRequireDefault(r(7147));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}async function fsReadFileAsync(e,t){return new Promise(((r,s)=>{n.default.readFile(e,t,((e,t)=>{if(e){s(e);return}r(t)}))}))}async function readFile(e,t={}){const r=t.throwNotFound===true;try{const t=await fsReadFileAsync(e,"utf8");return t}catch(e){if(r===false&&(e.code==="ENOENT"||e.code==="EISDIR")){return null}throw e}}function readFileSync(e,t={}){const r=t.throwNotFound===true;try{const t=n.default.readFileSync(e,"utf8");return t}catch(e){if(r===false&&(e.code==="ENOENT"||e.code==="EISDIR")){return null}throw e}}},5173:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true})},1333:function(e,t,r){t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.storage=localstorage();t.destroy=(()=>{let e=false;return()=>{if(!e){e=true;console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}}})();t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function useColors(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)){return true}if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)){return false}return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function formatArgs(t){t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff);if(!this.useColors){return}const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0;let s=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{if(e==="%%"){return}n++;if(e==="%c"){s=n}}));t.splice(s,0,r)}t.log=console.debug||console.log||(()=>{});function save(e){try{if(e){t.storage.setItem("debug",e)}else{t.storage.removeItem("debug")}}catch(e){}}function load(){let e;try{e=t.storage.getItem("debug")}catch(e){}if(!e&&typeof process!=="undefined"&&"env"in process){e=process.env.DEBUG}return e}function localstorage(){try{return localStorage}catch(e){}}e.exports=r(1530)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},1530:function(e,t,r){function setup(e){createDebug.debug=createDebug;createDebug.default=createDebug;createDebug.coerce=coerce;createDebug.disable=disable;createDebug.enable=enable;createDebug.enabled=enabled;createDebug.humanize=r(1367);createDebug.destroy=destroy;Object.keys(e).forEach((t=>{createDebug[t]=e[t]}));createDebug.names=[];createDebug.skips=[];createDebug.formatters={};function selectColor(e){let t=0;for(let r=0;r<e.length;r++){t=(t<<5)-t+e.charCodeAt(r);t|=0}return createDebug.colors[Math.abs(t)%createDebug.colors.length]}createDebug.selectColor=selectColor;function createDebug(e){let t;let r=null;let n;let s;function debug(...e){if(!debug.enabled){return}const r=debug;const n=Number(new Date);const s=n-(t||n);r.diff=s;r.prev=t;r.curr=n;t=n;e[0]=createDebug.coerce(e[0]);if(typeof e[0]!=="string"){e.unshift("%O")}let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((t,n)=>{if(t==="%%"){return"%"}i++;const s=createDebug.formatters[n];if(typeof s==="function"){const n=e[i];t=s.call(r,n);e.splice(i,1);i--}return t}));createDebug.formatArgs.call(r,e);const o=r.log||createDebug.log;o.apply(r,e)}debug.namespace=e;debug.useColors=createDebug.useColors();debug.color=createDebug.selectColor(e);debug.extend=extend;debug.destroy=createDebug.destroy;Object.defineProperty(debug,"enabled",{enumerable:true,configurable:false,get:()=>{if(r!==null){return r}if(n!==createDebug.namespaces){n=createDebug.namespaces;s=createDebug.enabled(e)}return s},set:e=>{r=e}});if(typeof createDebug.init==="function"){createDebug.init(debug)}return debug}function extend(e,t){const r=createDebug(this.namespace+(typeof t==="undefined"?":":t)+e);r.log=this.log;return r}function enable(e){createDebug.save(e);createDebug.namespaces=e;createDebug.names=[];createDebug.skips=[];let t;const r=(typeof e==="string"?e:"").split(/[\s,]+/);const n=r.length;for(t=0;t<n;t++){if(!r[t]){continue}e=r[t].replace(/\*/g,".*?");if(e[0]==="-"){createDebug.skips.push(new RegExp("^"+e.slice(1)+"$"))}else{createDebug.names.push(new RegExp("^"+e+"$"))}}}function disable(){const e=[...createDebug.names.map(toNamespace),...createDebug.skips.map(toNamespace).map((e=>"-"+e))].join(",");createDebug.enable("");return e}function enabled(e){if(e[e.length-1]==="*"){return true}let t;let r;for(t=0,r=createDebug.skips.length;t<r;t++){if(createDebug.skips[t].test(e)){return false}}for(t=0,r=createDebug.names.length;t<r;t++){if(createDebug.names[t].test(e)){return true}}return false}function toNamespace(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}function coerce(e){if(e instanceof Error){return e.stack||e.message}return e}function destroy(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}createDebug.enable(createDebug.load());return createDebug}e.exports=setup},2731:function(e,t,r){if(typeof process==="undefined"||process.type==="renderer"||process.browser===true||process.__nwjs){e.exports=r(1333)}else{e.exports=r(5689)}},5689:function(e,t,r){const n=r(6224);const s=r(3837);t.init=init;t.log=log;t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.destroy=s.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");t.colors=[6,2,3,4,5,1];try{const e=r(1197);if(e&&(e.stderr||e).level>=2){t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const r=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let n=process.env[t];if(/^(yes|on|true|enabled)$/i.test(n)){n=true}else if(/^(no|off|false|disabled)$/i.test(n)){n=false}else if(n==="null"){n=null}else{n=Number(n)}e[r]=n;return e}),{});function useColors(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):n.isatty(process.stderr.fd)}function formatArgs(t){const{namespace:r,useColors:n}=this;if(n){const n=this.color;const s="[3"+(n<8?n:"8;5;"+n);const i=` ${s};1m${r} [0m`;t[0]=i+t[0].split("\n").join("\n"+i);t.push(s+"m+"+e.exports.humanize(this.diff)+"[0m")}else{t[0]=getDate()+r+" "+t[0]}}function getDate(){if(t.inspectOpts.hideDate){return""}return(new Date).toISOString()+" "}function log(...e){return process.stderr.write(s.format(...e)+"\n")}function save(e){if(e){process.env.DEBUG=e}else{delete process.env.DEBUG}}function load(){return process.env.DEBUG}function init(e){e.inspectOpts={};const r=Object.keys(t.inspectOpts);for(let n=0;n<r.length;n++){e.inspectOpts[r[n]]=t.inspectOpts[r[n]]}}e.exports=r(1530)(t);const{formatters:i}=e.exports;i.o=function(e){this.inspectOpts.colors=this.useColors;return s.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")};i.O=function(e){this.inspectOpts.colors=this.useColors;return s.inspect(e,this.inspectOpts)}},5352:function(e,t,r){"use strict";const n=r(1017);const s=r(9223);const getExtensions=e=>e.length>1?`{${e.join(",")}}`:e[0];const getPath=(e,t)=>{const r=e[0]==="!"?e.slice(1):e;return n.isAbsolute(r)?r:n.join(t,r)};const addExtensions=(e,t)=>{if(n.extname(e)){return`**/${e}`}return`**/${e}.${getExtensions(t)}`};const getGlob=(e,t)=>{if(t.files&&!Array.isArray(t.files)){throw new TypeError(`Expected \`files\` to be of type \`Array\` but received type \`${typeof t.files}\``)}if(t.extensions&&!Array.isArray(t.extensions)){throw new TypeError(`Expected \`extensions\` to be of type \`Array\` but received type \`${typeof t.extensions}\``)}if(t.files&&t.extensions){return t.files.map((r=>n.posix.join(e,addExtensions(r,t.extensions))))}if(t.files){return t.files.map((t=>n.posix.join(e,`**/${t}`)))}if(t.extensions){return[n.posix.join(e,`**/*.${getExtensions(t.extensions)}`)]}return[n.posix.join(e,"**")]};e.exports=async(e,t)=>{t={cwd:process.cwd(),...t};if(typeof t.cwd!=="string"){throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof t.cwd}\``)}const r=await Promise.all([].concat(e).map((async e=>{const r=await s.isDirectory(getPath(e,t.cwd));return r?getGlob(e,t):e})));return[].concat.apply([],r)};e.exports.sync=(e,t)=>{t={cwd:process.cwd(),...t};if(typeof t.cwd!=="string"){throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof t.cwd}\``)}const r=[].concat(e).map((e=>s.isDirectorySync(getPath(e,t.cwd))?getGlob(e,t):e));return[].concat.apply([],r)}},6305:function(e,t,r){"use strict";var n=r(3837);var s=r(1589);var i=function errorEx(e,t){if(!e||e.constructor!==String){t=e||{};e=Error.name}var r=function ErrorEXError(n){if(!this){return new ErrorEXError(n)}n=n instanceof Error?n.message:n||this.message;Error.call(this,n);Error.captureStackTrace(this,r);this.name=e;Object.defineProperty(this,"message",{configurable:true,enumerable:false,get:function(){var e=n.split(/\r?\n/g);for(var r in t){if(!t.hasOwnProperty(r)){continue}var i=t[r];if("message"in i){e=i.message(this[r],e)||e;if(!s(e)){e=[e]}}}return e.join("\n")},set:function(e){n=e}});var i=null;var o=Object.getOwnPropertyDescriptor(this,"stack");var a=o.get;var c=o.value;delete o.value;delete o.writable;o.set=function(e){i=e};o.get=function(){var e=(i||(a?a.call(this):c)).split(/\r?\n+/g);if(!i){e[0]=this.name+": "+this.message}var r=1;for(var n in t){if(!t.hasOwnProperty(n)){continue}var s=t[n];if("line"in s){var o=s.line(this[n]);if(o){e.splice(r++,0," "+o)}}if("stack"in s){s.stack(this[n],e)}}return e.join("\n")};Object.defineProperty(this,"stack",o)};if(Object.setPrototypeOf){Object.setPrototypeOf(r.prototype,Error.prototype);Object.setPrototypeOf(r,Error)}else{n.inherits(r,Error)}return r};i.append=function(e,t){return{message:function(r,n){r=r||t;if(r){n[0]+=" "+e.replace("%s",r.toString())}return n}}};i.line=function(e,t){return{line:function(r){r=r||t;if(r){return e.replace("%s",r.toString())}return null}}};e.exports=i},4434:function(e){"use strict";var t=/[|\\{}()[\]^$+*?.]/g;e.exports=function(e){if(typeof e!=="string"){throw new TypeError("Expected a string")}return e.replace(t,"\\$&")}},3924:function(e,t,r){"use strict";const n=r(2291);const s=r(8620);const i=r(7900);const o=r(5407);const a=r(1066);const c=r(7190);const l=r(3828);async function FastGlob(e,t){assertPatternsInput(e);const r=getWorks(e,i.default,t);const n=await Promise.all(r);return l.array.flatten(n)}(function(e){function sync(e,t){assertPatternsInput(e);const r=getWorks(e,a.default,t);return l.array.flatten(r)}e.sync=sync;function stream(e,t){assertPatternsInput(e);const r=getWorks(e,o.default,t);return l.stream.merge(r)}e.stream=stream;function generateTasks(e,t){assertPatternsInput(e);const r=s.transform([].concat(e));const i=new c.default(t);return n.generate(r,i)}e.generateTasks=generateTasks;function isDynamicPattern(e,t){assertPatternsInput(e);const r=new c.default(t);return l.pattern.isDynamicPattern(e,r)}e.isDynamicPattern=isDynamicPattern;function escapePath(e){assertPatternsInput(e);return l.path.escape(e)}e.escapePath=escapePath})(FastGlob||(FastGlob={}));function getWorks(e,t,r){const i=s.transform([].concat(e));const o=new c.default(r);const a=n.generate(i,o);const l=new t(o);return a.map(l.read,l)}function assertPatternsInput(e){const t=[].concat(e);const r=t.every((e=>l.string.isString(e)&&!l.string.isEmpty(e)));if(!r){throw new TypeError("Patterns must be a string (non empty) or an array of strings")}}e.exports=FastGlob},8620:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.removeDuplicateSlashes=t.transform=void 0;const r=/(?!^)\/{2,}/g;function transform(e){return e.map((e=>removeDuplicateSlashes(e)))}t.transform=transform;function removeDuplicateSlashes(e){return e.replace(r,"/")}t.removeDuplicateSlashes=removeDuplicateSlashes},2291:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.convertPatternGroupToTask=t.convertPatternGroupsToTasks=t.groupPatternsByBaseDirectory=t.getNegativePatternsAsPositive=t.getPositivePatterns=t.convertPatternsToTasks=t.generate=void 0;const n=r(3828);function generate(e,t){const r=getPositivePatterns(e);const s=getNegativePatternsAsPositive(e,t.ignore);const i=r.filter((e=>n.pattern.isStaticPattern(e,t)));const o=r.filter((e=>n.pattern.isDynamicPattern(e,t)));const a=convertPatternsToTasks(i,s,false);const c=convertPatternsToTasks(o,s,true);return a.concat(c)}t.generate=generate;function convertPatternsToTasks(e,t,r){const s=[];const i=n.pattern.getPatternsOutsideCurrentDirectory(e);const o=n.pattern.getPatternsInsideCurrentDirectory(e);const a=groupPatternsByBaseDirectory(i);const c=groupPatternsByBaseDirectory(o);s.push(...convertPatternGroupsToTasks(a,t,r));if("."in c){s.push(convertPatternGroupToTask(".",o,t,r))}else{s.push(...convertPatternGroupsToTasks(c,t,r))}return s}t.convertPatternsToTasks=convertPatternsToTasks;function getPositivePatterns(e){return n.pattern.getPositivePatterns(e)}t.getPositivePatterns=getPositivePatterns;function getNegativePatternsAsPositive(e,t){const r=n.pattern.getNegativePatterns(e).concat(t);const s=r.map(n.pattern.convertToPositivePattern);return s}t.getNegativePatternsAsPositive=getNegativePatternsAsPositive;function groupPatternsByBaseDirectory(e){const t={};return e.reduce(((e,t)=>{const r=n.pattern.getBaseDirectory(t);if(r in e){e[r].push(t)}else{e[r]=[t]}return e}),t)}t.groupPatternsByBaseDirectory=groupPatternsByBaseDirectory;function convertPatternGroupsToTasks(e,t,r){return Object.keys(e).map((n=>convertPatternGroupToTask(n,e[n],t,r)))}t.convertPatternGroupsToTasks=convertPatternGroupsToTasks;function convertPatternGroupToTask(e,t,r,s){return{dynamic:s,positive:t,negative:r,base:e,patterns:[].concat(t,r.map(n.pattern.convertToNegativePattern))}}t.convertPatternGroupToTask=convertPatternGroupToTask},7900:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(8075);const s=r(8845);class ProviderAsync extends s.default{constructor(){super(...arguments);this._reader=new n.default(this._settings)}read(e){const t=this._getRootDirectory(e);const r=this._getReaderOptions(e);const n=[];return new Promise(((s,i)=>{const o=this.api(t,e,r);o.once("error",i);o.on("data",(e=>n.push(r.transform(e))));o.once("end",(()=>s(n)))}))}api(e,t,r){if(t.dynamic){return this._reader.dynamic(e,r)}return this._reader.static(t.patterns,r)}}t["default"]=ProviderAsync},4292:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(3828);const s=r(5995);class DeepFilter{constructor(e,t){this._settings=e;this._micromatchOptions=t}getFilter(e,t,r){const n=this._getMatcher(t);const s=this._getNegativePatternsRe(r);return t=>this._filter(e,t,n,s)}_getMatcher(e){return new s.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(e){const t=e.filter(n.pattern.isAffectDepthOfReadingPattern);return n.pattern.convertPatternsToRe(t,this._micromatchOptions)}_filter(e,t,r,s){if(this._isSkippedByDeep(e,t.path)){return false}if(this._isSkippedSymbolicLink(t)){return false}const i=n.path.removeLeadingDotSegment(t.path);if(this._isSkippedByPositivePatterns(i,r)){return false}return this._isSkippedByNegativePatterns(i,s)}_isSkippedByDeep(e,t){if(this._settings.deep===Infinity){return false}return this._getEntryLevel(e,t)>=this._settings.deep}_getEntryLevel(e,t){const r=t.split("/").length;if(e===""){return r}const n=e.split("/").length;return r-n}_isSkippedSymbolicLink(e){return!this._settings.followSymbolicLinks&&e.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(e,t){return!this._settings.baseNameMatch&&!t.match(e)}_isSkippedByNegativePatterns(e,t){return!n.pattern.matchAny(e,t)}}t["default"]=DeepFilter},659:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(3828);class EntryFilter{constructor(e,t){this._settings=e;this._micromatchOptions=t;this.index=new Map}getFilter(e,t){const r=n.pattern.convertPatternsToRe(e,this._micromatchOptions);const s=n.pattern.convertPatternsToRe(t,this._micromatchOptions);return e=>this._filter(e,r,s)}_filter(e,t,r){if(this._settings.unique&&this._isDuplicateEntry(e)){return false}if(this._onlyFileFilter(e)||this._onlyDirectoryFilter(e)){return false}if(this._isSkippedByAbsoluteNegativePatterns(e.path,r)){return false}const n=this._settings.baseNameMatch?e.name:e.path;const s=this._isMatchToPatterns(n,t)&&!this._isMatchToPatterns(e.path,r);if(this._settings.unique&&s){this._createIndexRecord(e)}return s}_isDuplicateEntry(e){return this.index.has(e.path)}_createIndexRecord(e){this.index.set(e.path,undefined)}_onlyFileFilter(e){return this._settings.onlyFiles&&!e.dirent.isFile()}_onlyDirectoryFilter(e){return this._settings.onlyDirectories&&!e.dirent.isDirectory()}_isSkippedByAbsoluteNegativePatterns(e,t){if(!this._settings.absolute){return false}const r=n.path.makeAbsolute(this._settings.cwd,e);return n.pattern.matchAny(r,t)}_isMatchToPatterns(e,t){const r=n.path.removeLeadingDotSegment(e);return n.pattern.matchAny(r,t)||n.pattern.matchAny(r+"/",t)}}t["default"]=EntryFilter},9558:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(3828);class ErrorFilter{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(e){return n.errno.isEnoentCodeError(e)||this._settings.suppressErrors}}t["default"]=ErrorFilter},8302:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(3828);class Matcher{constructor(e,t,r){this._patterns=e;this._settings=t;this._micromatchOptions=r;this._storage=[];this._fillStorage()}_fillStorage(){const e=n.pattern.expandPatternsWithBraceExpansion(this._patterns);for(const t of e){const e=this._getPatternSegments(t);const r=this._splitSegmentsIntoSections(e);this._storage.push({complete:r.length<=1,pattern:t,segments:e,sections:r})}}_getPatternSegments(e){const t=n.pattern.getPatternParts(e,this._micromatchOptions);return t.map((e=>{const t=n.pattern.isDynamicPattern(e,this._settings);if(!t){return{dynamic:false,pattern:e}}return{dynamic:true,pattern:e,patternRe:n.pattern.makeRe(e,this._micromatchOptions)}}))}_splitSegmentsIntoSections(e){return n.array.splitWhen(e,(e=>e.dynamic&&n.pattern.hasGlobStar(e.pattern)))}}t["default"]=Matcher},5995:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(8302);class PartialMatcher extends n.default{match(e){const t=e.split("/");const r=t.length;const n=this._storage.filter((e=>!e.complete||e.segments.length>r));for(const e of n){const n=e.sections[0];if(!e.complete&&r>n.length){return true}const s=t.every(((t,r)=>{const n=e.segments[r];if(n.dynamic&&n.patternRe.test(t)){return true}if(!n.dynamic&&n.pattern===t){return true}return false}));if(s){return true}}return false}}t["default"]=PartialMatcher},8845:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(1017);const s=r(4292);const i=r(659);const o=r(9558);const a=r(8460);class Provider{constructor(e){this._settings=e;this.errorFilter=new o.default(this._settings);this.entryFilter=new i.default(this._settings,this._getMicromatchOptions());this.deepFilter=new s.default(this._settings,this._getMicromatchOptions());this.entryTransformer=new a.default(this._settings)}_getRootDirectory(e){return n.resolve(this._settings.cwd,e.base)}_getReaderOptions(e){const t=e.base==="."?"":e.base;return{basePath:t,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(t,e.positive,e.negative),entryFilter:this.entryFilter.getFilter(e.positive,e.negative),errorFilter:this.errorFilter.getFilter(),followSymbolicLinks:this._settings.followSymbolicLinks,fs:this._settings.fs,stats:this._settings.stats,throwErrorOnBrokenSymbolicLink:this._settings.throwErrorOnBrokenSymbolicLink,transform:this.entryTransformer.getTransformer()}}_getMicromatchOptions(){return{dot:this._settings.dot,matchBase:this._settings.baseNameMatch,nobrace:!this._settings.braceExpansion,nocase:!this._settings.caseSensitiveMatch,noext:!this._settings.extglob,noglobstar:!this._settings.globstar,posix:true,strictSlashes:false}}}t["default"]=Provider},5407:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(2781);const s=r(8075);const i=r(8845);class ProviderStream extends i.default{constructor(){super(...arguments);this._reader=new s.default(this._settings)}read(e){const t=this._getRootDirectory(e);const r=this._getReaderOptions(e);const s=this.api(t,e,r);const i=new n.Readable({objectMode:true,read:()=>{}});s.once("error",(e=>i.emit("error",e))).on("data",(e=>i.emit("data",r.transform(e)))).once("end",(()=>i.emit("end")));i.once("close",(()=>s.destroy()));return i}api(e,t,r){if(t.dynamic){return this._reader.dynamic(e,r)}return this._reader.static(t.patterns,r)}}t["default"]=ProviderStream},1066:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(8110);const s=r(8845);class ProviderSync extends s.default{constructor(){super(...arguments);this._reader=new n.default(this._settings)}read(e){const t=this._getRootDirectory(e);const r=this._getReaderOptions(e);const n=this.api(t,e,r);return n.map(r.transform)}api(e,t,r){if(t.dynamic){return this._reader.dynamic(e,r)}return this._reader.static(t.patterns,r)}}t["default"]=ProviderSync},8460:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(3828);class EntryTransformer{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(e){let t=e.path;if(this._settings.absolute){t=n.path.makeAbsolute(this._settings.cwd,t);t=n.path.unixify(t)}if(this._settings.markDirectories&&e.dirent.isDirectory()){t+="/"}if(!this._settings.objectMode){return t}return Object.assign(Object.assign({},e),{path:t})}}t["default"]=EntryTransformer},5906:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(1017);const s=r(3645);const i=r(3828);class Reader{constructor(e){this._settings=e;this._fsStatSettings=new s.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(e){return n.resolve(this._settings.cwd,e)}_makeEntry(e,t){const r={name:t,path:t,dirent:i.fs.createDirentFromStats(t,e)};if(this._settings.stats){r.stats=e}return r}_isFatalError(e){return!i.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}}t["default"]=Reader},8075:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(2781);const s=r(3645);const i=r(4328);const o=r(5906);class ReaderStream extends o.default{constructor(){super(...arguments);this._walkStream=i.walkStream;this._stat=s.stat}dynamic(e,t){return this._walkStream(e,t)}static(e,t){const r=e.map(this._getFullEntryPath,this);const s=new n.PassThrough({objectMode:true});s._write=(n,i,o)=>this._getEntry(r[n],e[n],t).then((e=>{if(e!==null&&t.entryFilter(e)){s.push(e)}if(n===r.length-1){s.end()}o()})).catch(o);for(let e=0;e<r.length;e++){s.write(e)}return s}_getEntry(e,t,r){return this._getStat(e).then((e=>this._makeEntry(e,t))).catch((e=>{if(r.errorFilter(e)){return null}throw e}))}_getStat(e){return new Promise(((t,r)=>{this._stat(e,this._fsStatSettings,((e,n)=>e===null?t(n):r(e)))}))}}t["default"]=ReaderStream},8110:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(3645);const s=r(4328);const i=r(5906);class ReaderSync extends i.default{constructor(){super(...arguments);this._walkSync=s.walkSync;this._statSync=n.statSync}dynamic(e,t){return this._walkSync(e,t)}static(e,t){const r=[];for(const n of e){const e=this._getFullEntryPath(n);const s=this._getEntry(e,n,t);if(s===null||!t.entryFilter(s)){continue}r.push(s)}return r}_getEntry(e,t,r){try{const r=this._getStat(e);return this._makeEntry(r,t)}catch(e){if(r.errorFilter(e)){return null}throw e}}_getStat(e){return this._statSync(e,this._fsStatSettings)}}t["default"]=ReaderSync},7190:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;const n=r(7147);const s=r(2037);const i=Math.max(s.cpus().length,1);t.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:n.lstat,lstatSync:n.lstatSync,stat:n.stat,statSync:n.statSync,readdir:n.readdir,readdirSync:n.readdirSync};class Settings{constructor(e={}){this._options=e;this.absolute=this._getValue(this._options.absolute,false);this.baseNameMatch=this._getValue(this._options.baseNameMatch,false);this.braceExpansion=this._getValue(this._options.braceExpansion,true);this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,true);this.concurrency=this._getValue(this._options.concurrency,i);this.cwd=this._getValue(this._options.cwd,process.cwd());this.deep=this._getValue(this._options.deep,Infinity);this.dot=this._getValue(this._options.dot,false);this.extglob=this._getValue(this._options.extglob,true);this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,true);this.fs=this._getFileSystemMethods(this._options.fs);this.globstar=this._getValue(this._options.globstar,true);this.ignore=this._getValue(this._options.ignore,[]);this.markDirectories=this._getValue(this._options.markDirectories,false);this.objectMode=this._getValue(this._options.objectMode,false);this.onlyDirectories=this._getValue(this._options.onlyDirectories,false);this.onlyFiles=this._getValue(this._options.onlyFiles,true);this.stats=this._getValue(this._options.stats,false);this.suppressErrors=this._getValue(this._options.suppressErrors,false);this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,false);this.unique=this._getValue(this._options.unique,true);if(this.onlyDirectories){this.onlyFiles=false}if(this.stats){this.objectMode=true}}_getValue(e,t){return e===undefined?t:e}_getFileSystemMethods(e={}){return Object.assign(Object.assign({},t.DEFAULT_FILE_SYSTEM_ADAPTER),e)}}t["default"]=Settings},5789:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.splitWhen=t.flatten=void 0;function flatten(e){return e.reduce(((e,t)=>[].concat(e,t)),[])}t.flatten=flatten;function splitWhen(e,t){const r=[[]];let n=0;for(const s of e){if(t(s)){n++;r[n]=[]}else{r[n].push(s)}}return r}t.splitWhen=splitWhen},886:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isEnoentCodeError=void 0;function isEnoentCodeError(e){return e.code==="ENOENT"}t.isEnoentCodeError=isEnoentCodeError},9102:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createDirentFromStats=void 0;class DirentFromStats{constructor(e,t){this.name=e;this.isBlockDevice=t.isBlockDevice.bind(t);this.isCharacterDevice=t.isCharacterDevice.bind(t);this.isDirectory=t.isDirectory.bind(t);this.isFIFO=t.isFIFO.bind(t);this.isFile=t.isFile.bind(t);this.isSocket=t.isSocket.bind(t);this.isSymbolicLink=t.isSymbolicLink.bind(t)}}function createDirentFromStats(e,t){return new DirentFromStats(e,t)}t.createDirentFromStats=createDirentFromStats},3828:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.string=t.stream=t.pattern=t.path=t.fs=t.errno=t.array=void 0;const n=r(5789);t.array=n;const s=r(886);t.errno=s;const i=r(9102);t.fs=i;const o=r(6462);t.path=o;const a=r(2256);t.pattern=a;const c=r(9941);t.stream=c;const l=r(5121);t.string=l},6462:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.removeLeadingDotSegment=t.escape=t.makeAbsolute=t.unixify=void 0;const n=r(1017);const s=2;const i=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\())/g;function unixify(e){return e.replace(/\\/g,"/")}t.unixify=unixify;function makeAbsolute(e,t){return n.resolve(e,t)}t.makeAbsolute=makeAbsolute;function escape(e){return e.replace(i,"\\$2")}t.escape=escape;function removeLeadingDotSegment(e){if(e.charAt(0)==="."){const t=e.charAt(1);if(t==="/"||t==="\\"){return e.slice(s)}}return e}t.removeLeadingDotSegment=removeLeadingDotSegment},2256:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.matchAny=t.convertPatternsToRe=t.makeRe=t.getPatternParts=t.expandBraceExpansion=t.expandPatternsWithBraceExpansion=t.isAffectDepthOfReadingPattern=t.endsWithSlashGlobStar=t.hasGlobStar=t.getBaseDirectory=t.isPatternRelatedToParentDirectory=t.getPatternsOutsideCurrentDirectory=t.getPatternsInsideCurrentDirectory=t.getPositivePatterns=t.getNegativePatterns=t.isPositivePattern=t.isNegativePattern=t.convertToNegativePattern=t.convertToPositivePattern=t.isDynamicPattern=t.isStaticPattern=void 0;const n=r(1017);const s=r(5976);const i=r(1224);const o="**";const a="\\";const c=/[*?]|^!/;const l=/\[[^[]*]/;const u=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/;const p=/[!*+?@]\([^(]*\)/;const h=/,|\.\./;function isStaticPattern(e,t={}){return!isDynamicPattern(e,t)}t.isStaticPattern=isStaticPattern;function isDynamicPattern(e,t={}){if(e===""){return false}if(t.caseSensitiveMatch===false||e.includes(a)){return true}if(c.test(e)||l.test(e)||u.test(e)){return true}if(t.extglob!==false&&p.test(e)){return true}if(t.braceExpansion!==false&&hasBraceExpansion(e)){return true}return false}t.isDynamicPattern=isDynamicPattern;function hasBraceExpansion(e){const t=e.indexOf("{");if(t===-1){return false}const r=e.indexOf("}",t+1);if(r===-1){return false}const n=e.slice(t,r);return h.test(n)}function convertToPositivePattern(e){return isNegativePattern(e)?e.slice(1):e}t.convertToPositivePattern=convertToPositivePattern;function convertToNegativePattern(e){return"!"+e}t.convertToNegativePattern=convertToNegativePattern;function isNegativePattern(e){return e.startsWith("!")&&e[1]!=="("}t.isNegativePattern=isNegativePattern;function isPositivePattern(e){return!isNegativePattern(e)}t.isPositivePattern=isPositivePattern;function getNegativePatterns(e){return e.filter(isNegativePattern)}t.getNegativePatterns=getNegativePatterns;function getPositivePatterns(e){return e.filter(isPositivePattern)}t.getPositivePatterns=getPositivePatterns;function getPatternsInsideCurrentDirectory(e){return e.filter((e=>!isPatternRelatedToParentDirectory(e)))}t.getPatternsInsideCurrentDirectory=getPatternsInsideCurrentDirectory;function getPatternsOutsideCurrentDirectory(e){return e.filter(isPatternRelatedToParentDirectory)}t.getPatternsOutsideCurrentDirectory=getPatternsOutsideCurrentDirectory;function isPatternRelatedToParentDirectory(e){return e.startsWith("..")||e.startsWith("./..")}t.isPatternRelatedToParentDirectory=isPatternRelatedToParentDirectory;function getBaseDirectory(e){return s(e,{flipBackslashes:false})}t.getBaseDirectory=getBaseDirectory;function hasGlobStar(e){return e.includes(o)}t.hasGlobStar=hasGlobStar;function endsWithSlashGlobStar(e){return e.endsWith("/"+o)}t.endsWithSlashGlobStar=endsWithSlashGlobStar;function isAffectDepthOfReadingPattern(e){const t=n.basename(e);return endsWithSlashGlobStar(e)||isStaticPattern(t)}t.isAffectDepthOfReadingPattern=isAffectDepthOfReadingPattern;function expandPatternsWithBraceExpansion(e){return e.reduce(((e,t)=>e.concat(expandBraceExpansion(t))),[])}t.expandPatternsWithBraceExpansion=expandPatternsWithBraceExpansion;function expandBraceExpansion(e){return i.braces(e,{expand:true,nodupes:true})}t.expandBraceExpansion=expandBraceExpansion;function getPatternParts(e,t){let{parts:r}=i.scan(e,Object.assign(Object.assign({},t),{parts:true}));if(r.length===0){r=[e]}if(r[0].startsWith("/")){r[0]=r[0].slice(1);r.unshift("")}return r}t.getPatternParts=getPatternParts;function makeRe(e,t){return i.makeRe(e,t)}t.makeRe=makeRe;function convertPatternsToRe(e,t){return e.map((e=>makeRe(e,t)))}t.convertPatternsToRe=convertPatternsToRe;function matchAny(e,t){return t.some((t=>t.test(e)))}t.matchAny=matchAny},9941:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.merge=void 0;const n=r(1382);function merge(e){const t=n(e);e.forEach((e=>{e.once("error",(e=>t.emit("error",e)))}));t.once("close",(()=>propagateCloseEventToSources(e)));t.once("end",(()=>propagateCloseEventToSources(e)));return t}t.merge=merge;function propagateCloseEventToSources(e){e.forEach((e=>e.emit("close")))}},5121:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isEmpty=t.isString=void 0;function isString(e){return typeof e==="string"}t.isString=isString;function isEmpty(e){return e===""}t.isEmpty=isEmpty},5525:function(e){"use strict";const t=new Uint32Array(65536);const myers_32=(e,r)=>{const n=e.length;const s=r.length;const i=1<<n-1;let o=-1;let a=0;let c=n;let l=n;while(l--){t[e.charCodeAt(l)]|=1<<l}for(l=0;l<s;l++){let e=t[r.charCodeAt(l)];const n=e|a;e|=(e&o)+o^o;a|=~(e|o);o&=e;if(a&i){c++}if(o&i){c--}a=a<<1|1;o=o<<1|~(n|a);a&=n}l=n;while(l--){t[e.charCodeAt(l)]=0}return c};const myers_x=(e,r)=>{const n=e.length;const s=r.length;const i=[];const o=[];const a=Math.ceil(n/32);const c=Math.ceil(s/32);let l=s;for(let e=0;e<a;e++){o[e]=-1;i[e]=0}let u=0;for(;u<c-1;u++){let a=0;let c=-1;const p=u*32;const h=Math.min(32,s)+p;for(let e=p;e<h;e++){t[r.charCodeAt(e)]|=1<<e}l=s;for(let r=0;r<n;r++){const n=t[e.charCodeAt(r)];const s=o[r/32|0]>>>r&1;const l=i[r/32|0]>>>r&1;const u=n|a;const p=((n|l)&c)+c^c|n|l;let h=a|~(p|c);let d=c&p;if(h>>>31^s){o[r/32|0]^=1<<r}if(d>>>31^l){i[r/32|0]^=1<<r}h=h<<1|s;d=d<<1|l;c=d|~(u|h);a=h&u}for(let e=p;e<h;e++){t[r.charCodeAt(e)]=0}}let p=0;let h=-1;const d=u*32;const g=Math.min(32,s-d)+d;for(let e=d;e<g;e++){t[r.charCodeAt(e)]|=1<<e}l=s;for(let r=0;r<n;r++){const n=t[e.charCodeAt(r)];const a=o[r/32|0]>>>r&1;const c=i[r/32|0]>>>r&1;const u=n|p;const d=((n|c)&h)+h^h|n|c;let g=p|~(d|h);let m=h&d;l+=g>>>s-1&1;l-=m>>>s-1&1;if(g>>>31^a){o[r/32|0]^=1<<r}if(m>>>31^c){i[r/32|0]^=1<<r}g=g<<1|a;m=m<<1|c;h=m|~(u|g);p=g&u}for(let e=d;e<g;e++){t[r.charCodeAt(e)]=0}return l};const distance=(e,t)=>{if(e.length>t.length){const r=t;t=e;e=r}if(e.length===0){return t.length}if(e.length<=32){return myers_32(e,t)}return myers_x(e,t)};const closest=(e,t)=>{let r=Infinity;let n=0;for(let s=0;s<t.length;s++){const i=distance(e,t[s]);if(i<r){r=i;n=s}}return t[n]};e.exports={closest:closest,distance:distance}},4241:function(e,t,r){"use strict";var n=r(1816);function fastqueue(e,t,r){if(typeof e==="function"){r=t;t=e;e=null}if(r<1){throw new Error("fastqueue concurrency must be greater than 1")}var s=n(Task);var i=null;var o=null;var a=0;var c=null;var l={push:push,drain:noop,saturated:noop,pause:pause,paused:false,concurrency:r,running:running,resume:resume,idle:idle,length:length,getQueue:getQueue,unshift:unshift,empty:noop,kill:kill,killAndDrain:killAndDrain,error:error};return l;function running(){return a}function pause(){l.paused=true}function length(){var e=i;var t=0;while(e){e=e.next;t++}return t}function getQueue(){var e=i;var t=[];while(e){t.push(e.value);e=e.next}return t}function resume(){if(!l.paused)return;l.paused=false;for(var e=0;e<l.concurrency;e++){a++;release()}}function idle(){return a===0&&l.length()===0}function push(r,n){var u=s.get();u.context=e;u.release=release;u.value=r;u.callback=n||noop;u.errorHandler=c;if(a===l.concurrency||l.paused){if(o){o.next=u;o=u}else{i=u;o=u;l.saturated()}}else{a++;t.call(e,u.value,u.worked)}}function unshift(r,n){var c=s.get();c.context=e;c.release=release;c.value=r;c.callback=n||noop;if(a===l.concurrency||l.paused){if(i){c.next=i;i=c}else{i=c;o=c;l.saturated()}}else{a++;t.call(e,c.value,c.worked)}}function release(r){if(r){s.release(r)}var n=i;if(n){if(!l.paused){if(o===i){o=null}i=n.next;n.next=null;t.call(e,n.value,n.worked);if(o===null){l.empty()}}else{a--}}else if(--a===0){l.drain()}}function kill(){i=null;o=null;l.drain=noop}function killAndDrain(){i=null;o=null;l.drain();l.drain=noop}function error(e){c=e}}function noop(){}function Task(){this.value=null;this.callback=noop;this.next=null;this.release=noop;this.context=null;this.errorHandler=null;var e=this;this.worked=function worked(t,r){var n=e.callback;var s=e.errorHandler;var i=e.value;e.value=null;e.callback=noop;if(e.errorHandler){s(t,i)}n.call(e.context,t,r);e.release(e)}}function queueAsPromised(e,t,r){if(typeof e==="function"){r=t;t=e;e=null}function asyncWrapper(e,r){t.call(this,e).then((function(e){r(null,e)}),r)}var n=fastqueue(e,asyncWrapper,r);var s=n.push;var i=n.unshift;n.push=push;n.unshift=unshift;n.drained=drained;return n;function push(e){var t=new Promise((function(t,r){s(e,(function(e,n){if(e){r(e);return}t(n)}))}));t.catch(noop);return t}function unshift(e){var t=new Promise((function(t,r){i(e,(function(e,n){if(e){r(e);return}t(n)}))}));t.catch(noop);return t}function drained(){var e=n.drain;var t=new Promise((function(t){n.drain=function(){e();t()}}));return t}}e.exports=fastqueue;e.exports.promise=queueAsPromised},3285:function(e,t,r){var n=r(1017);var s=r(6113);e.exports={createFromFile:function(e,t){var r=n.basename(e);var s=n.dirname(e);return this.create(r,s,t)},create:function(e,t,n){var i=r(7147);var o=r(5821);var a=o.load(e,t);var c={};var l=function removeNotFoundFiles(){const e=a.keys();e.forEach((function remover(e){try{i.statSync(e)}catch(t){if(t.code==="ENOENT"){a.removeKey(e)}}}))};l();return{cache:a,getHash:function(e){return s.createHash("md5").update(e).digest("hex")},hasFileChanged:function(e){return this.getFileDescriptor(e).changed},analyzeFiles:function(e){var t=this;e=e||[];var r={changedFiles:[],notFoundFiles:[],notChangedFiles:[]};t.normalizeEntries(e).forEach((function(e){if(e.changed){r.changedFiles.push(e.key);return}if(e.notFound){r.notFoundFiles.push(e.key);return}r.notChangedFiles.push(e.key)}));return r},getFileDescriptor:function(e){var t;try{t=i.statSync(e)}catch(t){this.removeEntry(e);return{key:e,notFound:true,err:t}}if(n){return this._getFileDescriptorUsingChecksum(e)}return this._getFileDescriptorUsingMtimeAndSize(e,t)},_getFileDescriptorUsingMtimeAndSize:function(e,t){var r=a.getKey(e);var n=!!r;var s=t.size;var i=t.mtime.getTime();var o;var l;if(!r){r={size:s,mtime:i}}else{o=i!==r.mtime;l=s!==r.size}var u=c[e]={key:e,changed:!n||o||l,meta:r};return u},_getFileDescriptorUsingChecksum:function(e){var t=a.getKey(e);var r=!!t;var n;try{n=i.readFileSync(e)}catch(e){n=""}var s=true;var o=this.getHash(n);if(!t){t={hash:o}}else{s=o!==t.hash}var l=c[e]={key:e,changed:!r||s,meta:t};return l},getUpdatedFiles:function(e){var t=this;e=e||[];return t.normalizeEntries(e).filter((function(e){return e.changed})).map((function(e){return e.key}))},normalizeEntries:function(e){e=e||[];var t=this;var r=e.map((function(e){return t.getFileDescriptor(e)}));return r},removeEntry:function(e){delete c[e];a.removeKey(e)},deleteCacheFile:function(){a.removeCacheFile()},destroy:function(){c={};a.destroy()},_getMetaForFileUsingCheckSum:function(e){var t=i.readFileSync(e.key);var r=this.getHash(t);var n=Object.assign(e.meta,{hash:r});delete n.size;delete n.mtime;return n},_getMetaForFileUsingMtimeAndSize:function(e){var t=i.statSync(e.key);var r=Object.assign(e.meta,{size:t.size,mtime:t.mtime.getTime()});delete r.hash;return r},reconcile:function(e){l();e=typeof e==="undefined"?true:e;var t=c;var r=Object.keys(t);if(r.length===0){return}var s=this;r.forEach((function(e){var r=t[e];try{var i=n?s._getMetaForFileUsingCheckSum(r):s._getMetaForFileUsingMtimeAndSize(r);a.setKey(e,i)}catch(e){if(e.code!=="ENOENT"){throw e}}}));a.save(e)}}}}},442:function(e,t,r){"use strict";
|
|
2
|
+
/*!
|
|
3
|
+
* fill-range <https://github.com/jonschlinkert/fill-range>
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) 2014-present, Jon Schlinkert.
|
|
6
|
+
* Licensed under the MIT License.
|
|
7
|
+
*/const n=r(3837);const s=r(211);const isObject=e=>e!==null&&typeof e==="object"&&!Array.isArray(e);const transform=e=>t=>e===true?Number(t):String(t);const isValidValue=e=>typeof e==="number"||typeof e==="string"&&e!=="";const isNumber=e=>Number.isInteger(+e);const zeros=e=>{let t=`${e}`;let r=-1;if(t[0]==="-")t=t.slice(1);if(t==="0")return false;while(t[++r]==="0");return r>0};const stringify=(e,t,r)=>{if(typeof e==="string"||typeof t==="string"){return true}return r.stringify===true};const pad=(e,t,r)=>{if(t>0){let r=e[0]==="-"?"-":"";if(r)e=e.slice(1);e=r+e.padStart(r?t-1:t,"0")}if(r===false){return String(e)}return e};const toMaxLen=(e,t)=>{let r=e[0]==="-"?"-":"";if(r){e=e.slice(1);t--}while(e.length<t)e="0"+e;return r?"-"+e:e};const toSequence=(e,t)=>{e.negatives.sort(((e,t)=>e<t?-1:e>t?1:0));e.positives.sort(((e,t)=>e<t?-1:e>t?1:0));let r=t.capture?"":"?:";let n="";let s="";let i;if(e.positives.length){n=e.positives.join("|")}if(e.negatives.length){s=`-(${r}${e.negatives.join("|")})`}if(n&&s){i=`${n}|${s}`}else{i=n||s}if(t.wrap){return`(${r}${i})`}return i};const toRange=(e,t,r,n)=>{if(r){return s(e,t,{wrap:false,...n})}let i=String.fromCharCode(e);if(e===t)return i;let o=String.fromCharCode(t);return`[${i}-${o}]`};const toRegex=(e,t,r)=>{if(Array.isArray(e)){let t=r.wrap===true;let n=r.capture?"":"?:";return t?`(${n}${e.join("|")})`:e.join("|")}return s(e,t,r)};const rangeError=(...e)=>new RangeError("Invalid range arguments: "+n.inspect(...e));const invalidRange=(e,t,r)=>{if(r.strictRanges===true)throw rangeError([e,t]);return[]};const invalidStep=(e,t)=>{if(t.strictRanges===true){throw new TypeError(`Expected step "${e}" to be a number`)}return[]};const fillNumbers=(e,t,r=1,n={})=>{let s=Number(e);let i=Number(t);if(!Number.isInteger(s)||!Number.isInteger(i)){if(n.strictRanges===true)throw rangeError([e,t]);return[]}if(s===0)s=0;if(i===0)i=0;let o=s>i;let a=String(e);let c=String(t);let l=String(r);r=Math.max(Math.abs(r),1);let u=zeros(a)||zeros(c)||zeros(l);let p=u?Math.max(a.length,c.length,l.length):0;let h=u===false&&stringify(e,t,n)===false;let d=n.transform||transform(h);if(n.toRegex&&r===1){return toRange(toMaxLen(e,p),toMaxLen(t,p),true,n)}let g={negatives:[],positives:[]};let push=e=>g[e<0?"negatives":"positives"].push(Math.abs(e));let m=[];let y=0;while(o?s>=i:s<=i){if(n.toRegex===true&&r>1){push(s)}else{m.push(pad(d(s,y),p,h))}s=o?s-r:s+r;y++}if(n.toRegex===true){return r>1?toSequence(g,n):toRegex(m,null,{wrap:false,...n})}return m};const fillLetters=(e,t,r=1,n={})=>{if(!isNumber(e)&&e.length>1||!isNumber(t)&&t.length>1){return invalidRange(e,t,n)}let s=n.transform||(e=>String.fromCharCode(e));let i=`${e}`.charCodeAt(0);let o=`${t}`.charCodeAt(0);let a=i>o;let c=Math.min(i,o);let l=Math.max(i,o);if(n.toRegex&&r===1){return toRange(c,l,false,n)}let u=[];let p=0;while(a?i>=o:i<=o){u.push(s(i,p));i=a?i-r:i+r;p++}if(n.toRegex===true){return toRegex(u,null,{wrap:false,options:n})}return u};const fill=(e,t,r,n={})=>{if(t==null&&isValidValue(e)){return[e]}if(!isValidValue(e)||!isValidValue(t)){return invalidRange(e,t,n)}if(typeof r==="function"){return fill(e,t,1,{transform:r})}if(isObject(r)){return fill(e,t,0,r)}let s={...n};if(s.capture===true)s.wrap=true;r=r||s.step||1;if(!isNumber(r)){if(r!=null&&!isObject(r))return invalidStep(r,s);return fill(e,t,1,r)}if(isNumber(e)&&isNumber(t)){return fillNumbers(e,t,r,s)}return fillLetters(e,t,Math.max(Math.abs(r),1),s)};e.exports=fill},5821:function(e,t,r){var n=r(1017);var s=r(7147);var i=r(9022);var o=r(3994);var a=i.writeJSON;var c={load:function(e,t){var r=this;r._visited={};r._persisted={};r._pathToFile=t?n.resolve(t,e):n.resolve(__dirname,"../.cache/",e);if(s.existsSync(r._pathToFile)){r._persisted=i.tryParse(r._pathToFile,{})}},loadFile:function(e){var t=this;var r=n.dirname(e);var s=n.basename(e);t.load(s,r)},all:function(){return this._persisted},keys:function(){return Object.keys(this._persisted)},setKey:function(e,t){this._visited[e]=true;this._persisted[e]=t},removeKey:function(e){delete this._visited[e];delete this._persisted[e]},getKey:function(e){this._visited[e]=true;return this._persisted[e]},_prune:function(){var e=this;var t={};var r=Object.keys(e._visited);if(r.length===0){return}r.forEach((function(r){t[r]=e._persisted[r]}));e._visited={};e._persisted=t},save:function(e){var t=this;!e&&t._prune();a(t._pathToFile,t._persisted)},removeCacheFile:function(){return o(this._pathToFile)},destroy:function(){var e=this;e._visited={};e._persisted={};e.removeCacheFile()}};e.exports={load:function(e,t){return this.create(e,t)},create:function(e,t){var r=Object.create(c);r.load(e,t);return r},createFromFile:function(e){var t=Object.create(c);t.loadFile(e);return t},clearCacheById:function(e,t){var r=t?n.resolve(t,e):n.resolve(__dirname,"../.cache/",e);return o(r)},clearAll:function(e){var t=e?n.resolve(e):n.resolve(__dirname,"../.cache/");return o(t)}}},3994:function(e,t,r){var n=r(2625).sync;var s=r(7147);e.exports=function del(e){if(s.existsSync(e)){n(e,{glob:false});return true}return false}},9022:function(e,t,r){var n=r(7147);var s=r(1017);var i=r(5218);e.exports={tryParse:function(e,t){var r;try{r=this.readJSON(e)}catch(e){r=t}return r},readJSON:function(e){return i.parse(n.readFileSync(e,{encoding:"utf8"}))},writeJSON:function(e,t){n.mkdirSync(s.dirname(e),{recursive:true});n.writeFileSync(e,i.stringify(t))}}},4737:function(e,t,r){e.exports=realpath;realpath.realpath=realpath;realpath.sync=realpathSync;realpath.realpathSync=realpathSync;realpath.monkeypatch=monkeypatch;realpath.unmonkeypatch=unmonkeypatch;var n=r(7147);var s=n.realpath;var i=n.realpathSync;var o=process.version;var a=/^v[0-5]\./.test(o);var c=r(7613);function newError(e){return e&&e.syscall==="realpath"&&(e.code==="ELOOP"||e.code==="ENOMEM"||e.code==="ENAMETOOLONG")}function realpath(e,t,r){if(a){return s(e,t,r)}if(typeof t==="function"){r=t;t=null}s(e,t,(function(n,s){if(newError(n)){c.realpath(e,t,r)}else{r(n,s)}}))}function realpathSync(e,t){if(a){return i(e,t)}try{return i(e,t)}catch(r){if(newError(r)){return c.realpathSync(e,t)}else{throw r}}}function monkeypatch(){n.realpath=realpath;n.realpathSync=realpathSync}function unmonkeypatch(){n.realpath=s;n.realpathSync=i}},7613:function(e,t,r){var n=r(1017);var s=process.platform==="win32";var i=r(7147);var o=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function rethrow(){var e;if(o){var t=new Error;e=debugCallback}else e=missingCallback;return e;function debugCallback(e){if(e){t.message=e.message;e=t;missingCallback(e)}}function missingCallback(e){if(e){if(process.throwDeprecation)throw e;else if(!process.noDeprecation){var t="fs: missing callback "+(e.stack||e.message);if(process.traceDeprecation)console.trace(t);else console.error(t)}}}}function maybeCallback(e){return typeof e==="function"?e:rethrow()}var a=n.normalize;if(s){var c=/(.*?)(?:[\/\\]+|$)/g}else{var c=/(.*?)(?:[\/]+|$)/g}if(s){var l=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/}else{var l=/^[\/]*/}t.realpathSync=function realpathSync(e,t){e=n.resolve(e);if(t&&Object.prototype.hasOwnProperty.call(t,e)){return t[e]}var r=e,o={},a={};var u;var p;var h;var d;start();function start(){var t=l.exec(e);u=t[0].length;p=t[0];h=t[0];d="";if(s&&!a[h]){i.lstatSync(h);a[h]=true}}while(u<e.length){c.lastIndex=u;var g=c.exec(e);d=p;p+=g[0];h=d+g[1];u=c.lastIndex;if(a[h]||t&&t[h]===h){continue}var m;if(t&&Object.prototype.hasOwnProperty.call(t,h)){m=t[h]}else{var y=i.lstatSync(h);if(!y.isSymbolicLink()){a[h]=true;if(t)t[h]=h;continue}var v=null;if(!s){var b=y.dev.toString(32)+":"+y.ino.toString(32);if(o.hasOwnProperty(b)){v=o[b]}}if(v===null){i.statSync(h);v=i.readlinkSync(h)}m=n.resolve(d,v);if(t)t[h]=m;if(!s)o[b]=v}e=n.resolve(m,e.slice(u));start()}if(t)t[r]=e;return e};t.realpath=function realpath(e,t,r){if(typeof r!=="function"){r=maybeCallback(t);t=null}e=n.resolve(e);if(t&&Object.prototype.hasOwnProperty.call(t,e)){return process.nextTick(r.bind(null,null,t[e]))}var o=e,a={},u={};var p;var h;var d;var g;start();function start(){var t=l.exec(e);p=t[0].length;h=t[0];d=t[0];g="";if(s&&!u[d]){i.lstat(d,(function(e){if(e)return r(e);u[d]=true;LOOP()}))}else{process.nextTick(LOOP)}}function LOOP(){if(p>=e.length){if(t)t[o]=e;return r(null,e)}c.lastIndex=p;var n=c.exec(e);g=h;h+=n[0];d=g+n[1];p=c.lastIndex;if(u[d]||t&&t[d]===d){return process.nextTick(LOOP)}if(t&&Object.prototype.hasOwnProperty.call(t,d)){return gotResolvedLink(t[d])}return i.lstat(d,gotStat)}function gotStat(e,n){if(e)return r(e);if(!n.isSymbolicLink()){u[d]=true;if(t)t[d]=d;return process.nextTick(LOOP)}if(!s){var o=n.dev.toString(32)+":"+n.ino.toString(32);if(a.hasOwnProperty(o)){return gotTarget(null,a[o],d)}}i.stat(d,(function(e){if(e)return r(e);i.readlink(d,(function(e,t){if(!s)a[o]=t;gotTarget(e,t)}))}))}function gotTarget(e,s,i){if(e)return r(e);var o=n.resolve(g,s);if(t)t[i]=o;gotResolvedLink(o)}function gotResolvedLink(t){e=n.resolve(t,e.slice(p));start()}}},5976:function(e,t,r){"use strict";var n=r(6654);var s=r(1017).posix.dirname;var i=r(2037).platform()==="win32";var o="/";var a=/\\/g;var c=/[\{\[].*[\}\]]$/;var l=/(^|[^\\])([\{\[]|\([^\)]+$)/;var u=/\\([\!\*\?\|\[\]\(\)\{\}])/g;e.exports=function globParent(e,t){var r=Object.assign({flipBackslashes:true},t);if(r.flipBackslashes&&i&&e.indexOf(o)<0){e=e.replace(a,o)}if(c.test(e)){e+=o}e+="a";do{e=s(e)}while(n(e)||l.test(e));return e.replace(u,"$1")}},8875:function(e,t,r){t.setopts=setopts;t.ownProp=ownProp;t.makeAbs=makeAbs;t.finish=finish;t.mark=mark;t.isIgnored=isIgnored;t.childrenIgnored=childrenIgnored;function ownProp(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var n=r(7147);var s=r(1017);var i=r(4235);var o=r(4249);var a=i.Minimatch;function alphasort(e,t){return e.localeCompare(t,"en")}function setupIgnores(e,t){e.ignore=t.ignore||[];if(!Array.isArray(e.ignore))e.ignore=[e.ignore];if(e.ignore.length){e.ignore=e.ignore.map(ignoreMap)}}function ignoreMap(e){var t=null;if(e.slice(-3)==="/**"){var r=e.replace(/(\/\*\*)+$/,"");t=new a(r,{dot:true})}return{matcher:new a(e,{dot:true}),gmatcher:t}}function setopts(e,t,r){if(!r)r={};if(r.matchBase&&-1===t.indexOf("/")){if(r.noglobstar){throw new Error("base matching requires globstar")}t="**/"+t}e.silent=!!r.silent;e.pattern=t;e.strict=r.strict!==false;e.realpath=!!r.realpath;e.realpathCache=r.realpathCache||Object.create(null);e.follow=!!r.follow;e.dot=!!r.dot;e.mark=!!r.mark;e.nodir=!!r.nodir;if(e.nodir)e.mark=true;e.sync=!!r.sync;e.nounique=!!r.nounique;e.nonull=!!r.nonull;e.nosort=!!r.nosort;e.nocase=!!r.nocase;e.stat=!!r.stat;e.noprocess=!!r.noprocess;e.absolute=!!r.absolute;e.fs=r.fs||n;e.maxLength=r.maxLength||Infinity;e.cache=r.cache||Object.create(null);e.statCache=r.statCache||Object.create(null);e.symlinks=r.symlinks||Object.create(null);setupIgnores(e,r);e.changedCwd=false;var i=process.cwd();if(!ownProp(r,"cwd"))e.cwd=i;else{e.cwd=s.resolve(r.cwd);e.changedCwd=e.cwd!==i}e.root=r.root||s.resolve(e.cwd,"/");e.root=s.resolve(e.root);if(process.platform==="win32")e.root=e.root.replace(/\\/g,"/");e.cwdAbs=o(e.cwd)?e.cwd:makeAbs(e,e.cwd);if(process.platform==="win32")e.cwdAbs=e.cwdAbs.replace(/\\/g,"/");e.nomount=!!r.nomount;r.nonegate=true;r.nocomment=true;e.minimatch=new a(t,r);e.options=e.minimatch.options}function finish(e){var t=e.nounique;var r=t?[]:Object.create(null);for(var n=0,s=e.matches.length;n<s;n++){var i=e.matches[n];if(!i||Object.keys(i).length===0){if(e.nonull){var o=e.minimatch.globSet[n];if(t)r.push(o);else r[o]=true}}else{var a=Object.keys(i);if(t)r.push.apply(r,a);else a.forEach((function(e){r[e]=true}))}}if(!t)r=Object.keys(r);if(!e.nosort)r=r.sort(alphasort);if(e.mark){for(var n=0;n<r.length;n++){r[n]=e._mark(r[n])}if(e.nodir){r=r.filter((function(t){var r=!/\/$/.test(t);var n=e.cache[t]||e.cache[makeAbs(e,t)];if(r&&n)r=n!=="DIR"&&!Array.isArray(n);return r}))}}if(e.ignore.length)r=r.filter((function(t){return!isIgnored(e,t)}));e.found=r}function mark(e,t){var r=makeAbs(e,t);var n=e.cache[r];var s=t;if(n){var i=n==="DIR"||Array.isArray(n);var o=t.slice(-1)==="/";if(i&&!o)s+="/";else if(!i&&o)s=s.slice(0,-1);if(s!==t){var a=makeAbs(e,s);e.statCache[a]=e.statCache[r];e.cache[a]=e.cache[r]}}return s}function makeAbs(e,t){var r=t;if(t.charAt(0)==="/"){r=s.join(e.root,t)}else if(o(t)||t===""){r=t}else if(e.changedCwd){r=s.resolve(e.cwd,t)}else{r=s.resolve(t)}if(process.platform==="win32")r=r.replace(/\\/g,"/");return r}function isIgnored(e,t){if(!e.ignore.length)return false;return e.ignore.some((function(e){return e.matcher.match(t)||!!(e.gmatcher&&e.gmatcher.match(t))}))}function childrenIgnored(e,t){if(!e.ignore.length)return false;return e.ignore.some((function(e){return!!(e.gmatcher&&e.gmatcher.match(t))}))}},1978:function(e,t,r){e.exports=glob;var n=r(4737);var s=r(4235);var i=s.Minimatch;var o=r(6315);var a=r(2361).EventEmitter;var c=r(1017);var l=r(9491);var u=r(4249);var p=r(8019);var h=r(8875);var d=h.setopts;var g=h.ownProp;var m=r(6900);var y=r(3837);var v=h.childrenIgnored;var b=h.isIgnored;var w=r(4556);function glob(e,t,r){if(typeof t==="function")r=t,t={};if(!t)t={};if(t.sync){if(r)throw new TypeError("callback provided to sync glob");return p(e,t)}return new Glob(e,t,r)}glob.sync=p;var S=glob.GlobSync=p.GlobSync;glob.glob=glob;function extend(e,t){if(t===null||typeof t!=="object"){return e}var r=Object.keys(t);var n=r.length;while(n--){e[r[n]]=t[r[n]]}return e}glob.hasMagic=function(e,t){var r=extend({},t);r.noprocess=true;var n=new Glob(e,r);var s=n.minimatch.set;if(!e)return false;if(s.length>1)return true;for(var i=0;i<s[0].length;i++){if(typeof s[0][i]!=="string")return true}return false};glob.Glob=Glob;o(Glob,a);function Glob(e,t,r){if(typeof t==="function"){r=t;t=null}if(t&&t.sync){if(r)throw new TypeError("callback provided to sync glob");return new S(e,t)}if(!(this instanceof Glob))return new Glob(e,t,r);d(this,e,t);this._didRealPath=false;var n=this.minimatch.set.length;this.matches=new Array(n);if(typeof r==="function"){r=w(r);this.on("error",r);this.on("end",(function(e){r(null,e)}))}var s=this;this._processing=0;this._emitQueue=[];this._processQueue=[];this.paused=false;if(this.noprocess)return this;if(n===0)return done();var i=true;for(var o=0;o<n;o++){this._process(this.minimatch.set[o],o,false,done)}i=false;function done(){--s._processing;if(s._processing<=0){if(i){process.nextTick((function(){s._finish()}))}else{s._finish()}}}}Glob.prototype._finish=function(){l(this instanceof Glob);if(this.aborted)return;if(this.realpath&&!this._didRealpath)return this._realpath();h.finish(this);this.emit("end",this.found)};Glob.prototype._realpath=function(){if(this._didRealpath)return;this._didRealpath=true;var e=this.matches.length;if(e===0)return this._finish();var t=this;for(var r=0;r<this.matches.length;r++)this._realpathSet(r,next);function next(){if(--e===0)t._finish()}};Glob.prototype._realpathSet=function(e,t){var r=this.matches[e];if(!r)return t();var s=Object.keys(r);var i=this;var o=s.length;if(o===0)return t();var a=this.matches[e]=Object.create(null);s.forEach((function(r,s){r=i._makeAbs(r);n.realpath(r,i.realpathCache,(function(n,s){if(!n)a[s]=true;else if(n.syscall==="stat")a[r]=true;else i.emit("error",n);if(--o===0){i.matches[e]=a;t()}}))}))};Glob.prototype._mark=function(e){return h.mark(this,e)};Glob.prototype._makeAbs=function(e){return h.makeAbs(this,e)};Glob.prototype.abort=function(){this.aborted=true;this.emit("abort")};Glob.prototype.pause=function(){if(!this.paused){this.paused=true;this.emit("pause")}};Glob.prototype.resume=function(){if(this.paused){this.emit("resume");this.paused=false;if(this._emitQueue.length){var e=this._emitQueue.slice(0);this._emitQueue.length=0;for(var t=0;t<e.length;t++){var r=e[t];this._emitMatch(r[0],r[1])}}if(this._processQueue.length){var n=this._processQueue.slice(0);this._processQueue.length=0;for(var t=0;t<n.length;t++){var s=n[t];this._processing--;this._process(s[0],s[1],s[2],s[3])}}}};Glob.prototype._process=function(e,t,r,n){l(this instanceof Glob);l(typeof n==="function");if(this.aborted)return;this._processing++;if(this.paused){this._processQueue.push([e,t,r,n]);return}var i=0;while(typeof e[i]==="string"){i++}var o;switch(i){case e.length:this._processSimple(e.join("/"),t,n);return;case 0:o=null;break;default:o=e.slice(0,i).join("/");break}var a=e.slice(i);var c;if(o===null)c=".";else if(u(o)||u(e.join("/"))){if(!o||!u(o))o="/"+o;c=o}else c=o;var p=this._makeAbs(c);if(v(this,c))return n();var h=a[0]===s.GLOBSTAR;if(h)this._processGlobStar(o,c,p,a,t,r,n);else this._processReaddir(o,c,p,a,t,r,n)};Glob.prototype._processReaddir=function(e,t,r,n,s,i,o){var a=this;this._readdir(r,i,(function(c,l){return a._processReaddir2(e,t,r,n,s,i,l,o)}))};Glob.prototype._processReaddir2=function(e,t,r,n,s,i,o,a){if(!o)return a();var l=n[0];var u=!!this.minimatch.negate;var p=l._glob;var h=this.dot||p.charAt(0)===".";var d=[];for(var g=0;g<o.length;g++){var m=o[g];if(m.charAt(0)!=="."||h){var y;if(u&&!e){y=!m.match(l)}else{y=m.match(l)}if(y)d.push(m)}}var v=d.length;if(v===0)return a();if(n.length===1&&!this.mark&&!this.stat){if(!this.matches[s])this.matches[s]=Object.create(null);for(var g=0;g<v;g++){var m=d[g];if(e){if(e!=="/")m=e+"/"+m;else m=e+m}if(m.charAt(0)==="/"&&!this.nomount){m=c.join(this.root,m)}this._emitMatch(s,m)}return a()}n.shift();for(var g=0;g<v;g++){var m=d[g];var b;if(e){if(e!=="/")m=e+"/"+m;else m=e+m}this._process([m].concat(n),s,i,a)}a()};Glob.prototype._emitMatch=function(e,t){if(this.aborted)return;if(b(this,t))return;if(this.paused){this._emitQueue.push([e,t]);return}var r=u(t)?t:this._makeAbs(t);if(this.mark)t=this._mark(t);if(this.absolute)t=r;if(this.matches[e][t])return;if(this.nodir){var n=this.cache[r];if(n==="DIR"||Array.isArray(n))return}this.matches[e][t]=true;var s=this.statCache[r];if(s)this.emit("stat",t,s);this.emit("match",t)};Glob.prototype._readdirInGlobStar=function(e,t){if(this.aborted)return;if(this.follow)return this._readdir(e,false,t);var r="lstat\0"+e;var n=this;var s=m(r,lstatcb_);if(s)n.fs.lstat(e,s);function lstatcb_(r,s){if(r&&r.code==="ENOENT")return t();var i=s&&s.isSymbolicLink();n.symlinks[e]=i;if(!i&&s&&!s.isDirectory()){n.cache[e]="FILE";t()}else n._readdir(e,false,t)}};Glob.prototype._readdir=function(e,t,r){if(this.aborted)return;r=m("readdir\0"+e+"\0"+t,r);if(!r)return;if(t&&!g(this.symlinks,e))return this._readdirInGlobStar(e,r);if(g(this.cache,e)){var n=this.cache[e];if(!n||n==="FILE")return r();if(Array.isArray(n))return r(null,n)}var s=this;s.fs.readdir(e,readdirCb(this,e,r))};function readdirCb(e,t,r){return function(n,s){if(n)e._readdirError(t,n,r);else e._readdirEntries(t,s,r)}}Glob.prototype._readdirEntries=function(e,t,r){if(this.aborted)return;if(!this.mark&&!this.stat){for(var n=0;n<t.length;n++){var s=t[n];if(e==="/")s=e+s;else s=e+"/"+s;this.cache[s]=true}}this.cache[e]=t;return r(null,t)};Glob.prototype._readdirError=function(e,t,r){if(this.aborted)return;switch(t.code){case"ENOTSUP":case"ENOTDIR":var n=this._makeAbs(e);this.cache[n]="FILE";if(n===this.cwdAbs){var s=new Error(t.code+" invalid cwd "+this.cwd);s.path=this.cwd;s.code=t.code;this.emit("error",s);this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(e)]=false;break;default:this.cache[this._makeAbs(e)]=false;if(this.strict){this.emit("error",t);this.abort()}if(!this.silent)console.error("glob error",t);break}return r()};Glob.prototype._processGlobStar=function(e,t,r,n,s,i,o){var a=this;this._readdir(r,i,(function(c,l){a._processGlobStar2(e,t,r,n,s,i,l,o)}))};Glob.prototype._processGlobStar2=function(e,t,r,n,s,i,o,a){if(!o)return a();var c=n.slice(1);var l=e?[e]:[];var u=l.concat(c);this._process(u,s,false,a);var p=this.symlinks[r];var h=o.length;if(p&&i)return a();for(var d=0;d<h;d++){var g=o[d];if(g.charAt(0)==="."&&!this.dot)continue;var m=l.concat(o[d],c);this._process(m,s,true,a);var y=l.concat(o[d],n);this._process(y,s,true,a)}a()};Glob.prototype._processSimple=function(e,t,r){var n=this;this._stat(e,(function(s,i){n._processSimple2(e,t,s,i,r)}))};Glob.prototype._processSimple2=function(e,t,r,n,s){if(!this.matches[t])this.matches[t]=Object.create(null);if(!n)return s();if(e&&u(e)&&!this.nomount){var i=/[\/\\]$/.test(e);if(e.charAt(0)==="/"){e=c.join(this.root,e)}else{e=c.resolve(this.root,e);if(i)e+="/"}}if(process.platform==="win32")e=e.replace(/\\/g,"/");this._emitMatch(t,e);s()};Glob.prototype._stat=function(e,t){var r=this._makeAbs(e);var n=e.slice(-1)==="/";if(e.length>this.maxLength)return t();if(!this.stat&&g(this.cache,r)){var s=this.cache[r];if(Array.isArray(s))s="DIR";if(!n||s==="DIR")return t(null,s);if(n&&s==="FILE")return t()}var i;var o=this.statCache[r];if(o!==undefined){if(o===false)return t(null,o);else{var a=o.isDirectory()?"DIR":"FILE";if(n&&a==="FILE")return t();else return t(null,a,o)}}var c=this;var l=m("stat\0"+r,lstatcb_);if(l)c.fs.lstat(r,l);function lstatcb_(n,s){if(s&&s.isSymbolicLink()){return c.fs.stat(r,(function(n,i){if(n)c._stat2(e,r,null,s,t);else c._stat2(e,r,n,i,t)}))}else{c._stat2(e,r,n,s,t)}}};Glob.prototype._stat2=function(e,t,r,n,s){if(r&&(r.code==="ENOENT"||r.code==="ENOTDIR")){this.statCache[t]=false;return s()}var i=e.slice(-1)==="/";this.statCache[t]=n;if(t.slice(-1)==="/"&&n&&!n.isDirectory())return s(null,false,n);var o=true;if(n)o=n.isDirectory()?"DIR":"FILE";this.cache[t]=this.cache[t]||o;if(i&&o==="FILE")return s();return s(null,o,n)}},8019:function(e,t,r){e.exports=globSync;globSync.GlobSync=GlobSync;var n=r(4737);var s=r(4235);var i=s.Minimatch;var o=r(1978).Glob;var a=r(3837);var c=r(1017);var l=r(9491);var u=r(4249);var p=r(8875);var h=p.setopts;var d=p.ownProp;var g=p.childrenIgnored;var m=p.isIgnored;function globSync(e,t){if(typeof t==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");return new GlobSync(e,t).found}function GlobSync(e,t){if(!e)throw new Error("must provide pattern");if(typeof t==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");if(!(this instanceof GlobSync))return new GlobSync(e,t);h(this,e,t);if(this.noprocess)return this;var r=this.minimatch.set.length;this.matches=new Array(r);for(var n=0;n<r;n++){this._process(this.minimatch.set[n],n,false)}this._finish()}GlobSync.prototype._finish=function(){l(this instanceof GlobSync);if(this.realpath){var e=this;this.matches.forEach((function(t,r){var s=e.matches[r]=Object.create(null);for(var i in t){try{i=e._makeAbs(i);var o=n.realpathSync(i,e.realpathCache);s[o]=true}catch(t){if(t.syscall==="stat")s[e._makeAbs(i)]=true;else throw t}}}))}p.finish(this)};GlobSync.prototype._process=function(e,t,r){l(this instanceof GlobSync);var n=0;while(typeof e[n]==="string"){n++}var i;switch(n){case e.length:this._processSimple(e.join("/"),t);return;case 0:i=null;break;default:i=e.slice(0,n).join("/");break}var o=e.slice(n);var a;if(i===null)a=".";else if(u(i)||u(e.join("/"))){if(!i||!u(i))i="/"+i;a=i}else a=i;var c=this._makeAbs(a);if(g(this,a))return;var p=o[0]===s.GLOBSTAR;if(p)this._processGlobStar(i,a,c,o,t,r);else this._processReaddir(i,a,c,o,t,r)};GlobSync.prototype._processReaddir=function(e,t,r,n,s,i){var o=this._readdir(r,i);if(!o)return;var a=n[0];var l=!!this.minimatch.negate;var u=a._glob;var p=this.dot||u.charAt(0)===".";var h=[];for(var d=0;d<o.length;d++){var g=o[d];if(g.charAt(0)!=="."||p){var m;if(l&&!e){m=!g.match(a)}else{m=g.match(a)}if(m)h.push(g)}}var y=h.length;if(y===0)return;if(n.length===1&&!this.mark&&!this.stat){if(!this.matches[s])this.matches[s]=Object.create(null);for(var d=0;d<y;d++){var g=h[d];if(e){if(e.slice(-1)!=="/")g=e+"/"+g;else g=e+g}if(g.charAt(0)==="/"&&!this.nomount){g=c.join(this.root,g)}this._emitMatch(s,g)}return}n.shift();for(var d=0;d<y;d++){var g=h[d];var v;if(e)v=[e,g];else v=[g];this._process(v.concat(n),s,i)}};GlobSync.prototype._emitMatch=function(e,t){if(m(this,t))return;var r=this._makeAbs(t);if(this.mark)t=this._mark(t);if(this.absolute){t=r}if(this.matches[e][t])return;if(this.nodir){var n=this.cache[r];if(n==="DIR"||Array.isArray(n))return}this.matches[e][t]=true;if(this.stat)this._stat(t)};GlobSync.prototype._readdirInGlobStar=function(e){if(this.follow)return this._readdir(e,false);var t;var r;var n;try{r=this.fs.lstatSync(e)}catch(e){if(e.code==="ENOENT"){return null}}var s=r&&r.isSymbolicLink();this.symlinks[e]=s;if(!s&&r&&!r.isDirectory())this.cache[e]="FILE";else t=this._readdir(e,false);return t};GlobSync.prototype._readdir=function(e,t){var r;if(t&&!d(this.symlinks,e))return this._readdirInGlobStar(e);if(d(this.cache,e)){var n=this.cache[e];if(!n||n==="FILE")return null;if(Array.isArray(n))return n}try{return this._readdirEntries(e,this.fs.readdirSync(e))}catch(t){this._readdirError(e,t);return null}};GlobSync.prototype._readdirEntries=function(e,t){if(!this.mark&&!this.stat){for(var r=0;r<t.length;r++){var n=t[r];if(e==="/")n=e+n;else n=e+"/"+n;this.cache[n]=true}}this.cache[e]=t;return t};GlobSync.prototype._readdirError=function(e,t){switch(t.code){case"ENOTSUP":case"ENOTDIR":var r=this._makeAbs(e);this.cache[r]="FILE";if(r===this.cwdAbs){var n=new Error(t.code+" invalid cwd "+this.cwd);n.path=this.cwd;n.code=t.code;throw n}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(e)]=false;break;default:this.cache[this._makeAbs(e)]=false;if(this.strict)throw t;if(!this.silent)console.error("glob error",t);break}};GlobSync.prototype._processGlobStar=function(e,t,r,n,s,i){var o=this._readdir(r,i);if(!o)return;var a=n.slice(1);var c=e?[e]:[];var l=c.concat(a);this._process(l,s,false);var u=o.length;var p=this.symlinks[r];if(p&&i)return;for(var h=0;h<u;h++){var d=o[h];if(d.charAt(0)==="."&&!this.dot)continue;var g=c.concat(o[h],a);this._process(g,s,true);var m=c.concat(o[h],n);this._process(m,s,true)}};GlobSync.prototype._processSimple=function(e,t){var r=this._stat(e);if(!this.matches[t])this.matches[t]=Object.create(null);if(!r)return;if(e&&u(e)&&!this.nomount){var n=/[\/\\]$/.test(e);if(e.charAt(0)==="/"){e=c.join(this.root,e)}else{e=c.resolve(this.root,e);if(n)e+="/"}}if(process.platform==="win32")e=e.replace(/\\/g,"/");this._emitMatch(t,e)};GlobSync.prototype._stat=function(e){var t=this._makeAbs(e);var r=e.slice(-1)==="/";if(e.length>this.maxLength)return false;if(!this.stat&&d(this.cache,t)){var n=this.cache[t];if(Array.isArray(n))n="DIR";if(!r||n==="DIR")return n;if(r&&n==="FILE")return false}var s;var i=this.statCache[t];if(!i){var o;try{o=this.fs.lstatSync(t)}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR")){this.statCache[t]=false;return false}}if(o&&o.isSymbolicLink()){try{i=this.fs.statSync(t)}catch(e){i=o}}else{i=o}}this.statCache[t]=i;var n=true;if(i)n=i.isDirectory()?"DIR":"FILE";this.cache[t]=this.cache[t]||n;if(r&&n==="FILE")return false;return n};GlobSync.prototype._mark=function(e){return p.mark(this,e)};GlobSync.prototype._makeAbs=function(e){return p.makeAbs(this,e)}},1904:function(e,t,r){"use strict";e=r.nmd(e);
|
|
8
|
+
/*!
|
|
9
|
+
* global-modules <https://github.com/jonschlinkert/global-modules>
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2015-2017 Jon Schlinkert.
|
|
12
|
+
* Licensed under the MIT license.
|
|
13
|
+
*/const n=r(1017);const s=r(5946);let i;function getPath(){if(process.platform==="win32"||process.env.OSTYPE==="msys"||process.env.OSTYPE==="cygwin"){return n.resolve(s,"node_modules")}return n.resolve(s,"lib/node_modules")}Reflect.defineProperty(e,"exports",{get(){return i||(i=getPath())}})},5946:function(e,t,r){"use strict";e=r.nmd(e);
|
|
14
|
+
/*!
|
|
15
|
+
* global-prefix <https://github.com/jonschlinkert/global-prefix>
|
|
16
|
+
*
|
|
17
|
+
* Copyright (c) 2015-present Jon Schlinkert.
|
|
18
|
+
* Licensed under the MIT license.
|
|
19
|
+
*/const n=r(7147);const s=r(2037);const i=r(1017);const o=r(809);let a;const getPrefix=()=>{if(process.env.PREFIX)return process.env.PREFIX;if(a)return a;let e=s.homedir();if(e){a=tryConfigPath(i.resolve(e,".npmrc"))}if(a){return a}let t=tryNpmPath();if(t){a=tryConfigPath(i.resolve(t,"..","..","npmrc"));if(a){a=tryConfigPath(i.resolve(a,"etc","npmrc"))||a}}if(!a){let{APPDATA:e,DESTDIR:t,OSTYPE:r}=process.env;if(process.platform==="win32"||r==="msys"||r==="cygwin"){a=e?i.join(e,"npm"):i.dirname(process.execPath);return a}a=i.dirname(i.dirname(process.execPath));if(t){a=i.join(t,a)}}return a};function tryNpmPath(){try{return n.realpathSync(r(8470).sync("npm"))}catch(e){}}function tryConfigPath(e){try{return o.parse(n.readFileSync(e,"utf-8")).prefix}catch(e){}}Reflect.defineProperty(e,"exports",{get(){return getPrefix()}})},153:function(e,t,r){"use strict";const{promisify:n}=r(3837);const s=r(7147);const i=r(1017);const o=r(3924);const a=r(6302);const c=r(9398);const l=["**/node_modules/**","**/flow-typed/**","**/coverage/**","**/.git"];const u=n(s.readFile);const mapGitIgnorePatternTo=e=>t=>{if(t.startsWith("!")){return"!"+i.posix.join(e,t.slice(1))}return i.posix.join(e,t)};const parseGitIgnore=(e,t)=>{const r=c(i.relative(t.cwd,i.dirname(t.fileName)));return e.split(/\r?\n/).filter(Boolean).filter((e=>!e.startsWith("#"))).map(mapGitIgnorePatternTo(r))};const reduceIgnore=e=>{const t=a();for(const r of e){t.add(parseGitIgnore(r.content,{cwd:r.cwd,fileName:r.filePath}))}return t};const ensureAbsolutePathForCwd=(e,t)=>{e=c(e);if(i.isAbsolute(t)){if(c(t).startsWith(e)){return t}throw new Error(`Path ${t} is not in cwd ${e}`)}return i.join(e,t)};const getIsIgnoredPredecate=(e,t)=>r=>e.ignores(c(i.relative(t,ensureAbsolutePathForCwd(t,r.path||r))));const getFile=async(e,t)=>{const r=i.join(t,e);const n=await u(r,"utf8");return{cwd:t,filePath:r,content:n}};const getFileSync=(e,t)=>{const r=i.join(t,e);const n=s.readFileSync(r,"utf8");return{cwd:t,filePath:r,content:n}};const normalizeOptions=({ignore:e=[],cwd:t=c(process.cwd())}={})=>({ignore:e,cwd:t});e.exports=async e=>{e=normalizeOptions(e);const t=await o("**/.gitignore",{ignore:l.concat(e.ignore),cwd:e.cwd});const r=await Promise.all(t.map((t=>getFile(t,e.cwd))));const n=reduceIgnore(r);return getIsIgnoredPredecate(n,e.cwd)};e.exports.sync=e=>{e=normalizeOptions(e);const t=o.sync("**/.gitignore",{ignore:l.concat(e.ignore),cwd:e.cwd});const r=t.map((t=>getFileSync(t,e.cwd)));const n=reduceIgnore(r);return getIsIgnoredPredecate(n,e.cwd)}},8718:function(e,t,r){"use strict";const n=r(7147);const s=r(4337);const i=r(1382);const o=r(3924);const a=r(5352);const c=r(153);const{FilterStream:l,UniqueStream:u}=r(1546);const DEFAULT_FILTER=()=>false;const isNegative=e=>e[0]==="!";const assertPatternsInput=e=>{if(!e.every((e=>typeof e==="string"))){throw new TypeError("Patterns must be a string or an array of strings")}};const checkCwdOption=(e={})=>{if(!e.cwd){return}let t;try{t=n.statSync(e.cwd)}catch{return}if(!t.isDirectory()){throw new Error("The `cwd` option must be a path to a directory")}};const getPathString=e=>e.stats instanceof n.Stats?e.path:e;const generateGlobTasks=(e,t)=>{e=s([].concat(e));assertPatternsInput(e);checkCwdOption(t);const r=[];t={ignore:[],expandDirectories:true,...t};for(const[n,s]of e.entries()){if(isNegative(s)){continue}const i=e.slice(n).filter((e=>isNegative(e))).map((e=>e.slice(1)));const o={...t,ignore:t.ignore.concat(i)};r.push({pattern:s,options:o})}return r};const globDirs=(e,t)=>{let r={};if(e.options.cwd){r.cwd=e.options.cwd}if(Array.isArray(e.options.expandDirectories)){r={...r,files:e.options.expandDirectories}}else if(typeof e.options.expandDirectories==="object"){r={...r,...e.options.expandDirectories}}return t(e.pattern,r)};const getPattern=(e,t)=>e.options.expandDirectories?globDirs(e,t):[e.pattern];const getFilterSync=e=>e&&e.gitignore?c.sync({cwd:e.cwd,ignore:e.ignore}):DEFAULT_FILTER;const globToTask=e=>t=>{const{options:r}=e;if(r.ignore&&Array.isArray(r.ignore)&&r.expandDirectories){r.ignore=a.sync(r.ignore)}return{pattern:t,options:r}};e.exports=async(e,t)=>{const r=generateGlobTasks(e,t);const getFilter=async()=>t&&t.gitignore?c({cwd:t.cwd,ignore:t.ignore}):DEFAULT_FILTER;const getTasks=async()=>{const e=await Promise.all(r.map((async e=>{const t=await getPattern(e,a);return Promise.all(t.map(globToTask(e)))})));return s(...e)};const[n,i]=await Promise.all([getFilter(),getTasks()]);const l=await Promise.all(i.map((e=>o(e.pattern,e.options))));return s(...l).filter((e=>!n(getPathString(e))))};e.exports.sync=(e,t)=>{const r=generateGlobTasks(e,t);const n=[];for(const e of r){const t=getPattern(e,a.sync).map(globToTask(e));n.push(...t)}const i=getFilterSync(t);let c=[];for(const e of n){c=s(c,o.sync(e.pattern,e.options))}return c.filter((e=>!i(e)))};e.exports.stream=(e,t)=>{const r=generateGlobTasks(e,t);const n=[];for(const e of r){const t=getPattern(e,a.sync).map(globToTask(e));n.push(...t)}const s=getFilterSync(t);const c=new l((e=>!s(e)));const p=new u;return i(n.map((e=>o.stream(e.pattern,e.options)))).pipe(c).pipe(p)};e.exports.generateGlobTasks=generateGlobTasks;e.exports.hasMagic=(e,t)=>[].concat(e).some((e=>o.isDynamicPattern(e,t)));e.exports.gitignore=c},1546:function(e,t,r){"use strict";const{Transform:n}=r(2781);class ObjectTransform extends n{constructor(){super({objectMode:true})}}class FilterStream extends ObjectTransform{constructor(e){super();this._filter=e}_transform(e,t,r){if(this._filter(e)){this.push(e)}r()}}class UniqueStream extends ObjectTransform{constructor(){super();this._pushed=new Set}_transform(e,t,r){if(!this._pushed.has(e)){this.push(e);this._pushed.add(e)}r()}}e.exports={FilterStream:FilterStream,UniqueStream:UniqueStream}},5829:function(e,t,r){"use strict";var n=r(1017);var s=Array.prototype.slice;function join(){var e;e=s.call(arguments,0);return e.reduce((function(e,t){return _apply(e,(function(e){return _apply(t,(function(t){return _join(e,t)}))}))}),"")}function _apply(e,t){if(Array.isArray(e)){return e.reduce((function(e,r){return e.concat(t(r))}),[])}return t(e)}function _join(e,t){var r,s;if(t[0]==="!"){s=t.substr(1);if(e[0]==="!"){r=""}else{r="!"}return r+n.join(e,s)}return n.join(e,t)}e.exports=join},419:function(e){"use strict";e.exports=(e,t)=>{t=t||process.argv;const r=e.startsWith("-")?"":e.length===1?"-":"--";const n=t.indexOf(r+e);const s=t.indexOf("--");return n!==-1&&(s===-1?true:n<s)}},6302:function(e){function makeArray(e){return Array.isArray(e)?e:[e]}const t="";const r=" ";const n="\\";const s=/^\s+$/;const i=/^\\!/;const o=/^\\#/;const a=/\r?\n/g;const c=/^\.*\/|^\.+$/;const l="/";const u=typeof Symbol!=="undefined"?Symbol.for("node-ignore"):"node-ignore";const define=(e,t,r)=>Object.defineProperty(e,t,{value:r});const p=/([0-z])-([0-z])/g;const RETURN_FALSE=()=>false;const sanitizeRange=e=>e.replace(p,((e,r,n)=>r.charCodeAt(0)<=n.charCodeAt(0)?e:t));const cleanRangeBackSlash=e=>{const{length:t}=e;return e.slice(0,t-t%2)};const h=[[/\\?\s+$/,e=>e.indexOf("\\")===0?r:t],[/\\\s/g,()=>r],[/[\\$.|*+(){^]/g,e=>`\\${e}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function startingReplacer(){return!/\/(?!$)/.test(this)?"(?:^|\\/)":"^"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(e,t,r)=>t+6<r.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)\\\*(?=.+)/g,(e,t)=>`${t}[^\\/]*`],[/\\\\\\(?=[$.|*+(){^])/g,()=>n],[/\\\\/g,()=>n],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(e,t,r,s,i)=>t===n?`\\[${r}${cleanRangeBackSlash(s)}${i}`:i==="]"?s.length%2===0?`[${sanitizeRange(r)}${s}]`:"[]":"[]"],[/(?:[^*])$/,e=>/\/$/.test(e)?`${e}$`:`${e}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(e,t)=>{const r=t?`${t}[^/]+`:"[^/]*";return`${r}(?=$|\\/$)`}]];const d=Object.create(null);const makeRegex=(e,t)=>{let r=d[e];if(!r){r=h.reduce(((t,r)=>t.replace(r[0],r[1].bind(e))),e);d[e]=r}return t?new RegExp(r,"i"):new RegExp(r)};const isString=e=>typeof e==="string";const checkPattern=e=>e&&isString(e)&&!s.test(e)&&e.indexOf("#")!==0;const splitPattern=e=>e.split(a);class IgnoreRule{constructor(e,t,r,n){this.origin=e;this.pattern=t;this.negative=r;this.regex=n}}const createRule=(e,t)=>{const r=e;let n=false;if(e.indexOf("!")===0){n=true;e=e.substr(1)}e=e.replace(i,"!").replace(o,"#");const s=makeRegex(e,t);return new IgnoreRule(r,e,n,s)};const throwError=(e,t)=>{throw new t(e)};const checkPath=(e,t,r)=>{if(!isString(e)){return r(`path must be a string, but got \`${t}\``,TypeError)}if(!e){return r(`path must not be empty`,TypeError)}if(checkPath.isNotRelative(e)){const e="`path.relative()`d";return r(`path should be a ${e} string, but got "${t}"`,RangeError)}return true};const isNotRelative=e=>c.test(e);checkPath.isNotRelative=isNotRelative;checkPath.convert=e=>e;class Ignore{constructor({ignorecase:e=true,ignoreCase:t=e,allowRelativePaths:r=false}={}){define(this,u,true);this._rules=[];this._ignoreCase=t;this._allowRelativePaths=r;this._initCache()}_initCache(){this._ignoreCache=Object.create(null);this._testCache=Object.create(null)}_addPattern(e){if(e&&e[u]){this._rules=this._rules.concat(e._rules);this._added=true;return}if(checkPattern(e)){const t=createRule(e,this._ignoreCase);this._added=true;this._rules.push(t)}}add(e){this._added=false;makeArray(isString(e)?splitPattern(e):e).forEach(this._addPattern,this);if(this._added){this._initCache()}return this}addPattern(e){return this.add(e)}_testOne(e,t){let r=false;let n=false;this._rules.forEach((s=>{const{negative:i}=s;if(n===i&&r!==n||i&&!r&&!n&&!t){return}const o=s.regex.test(e);if(o){r=!i;n=i}}));return{ignored:r,unignored:n}}_test(e,t,r,n){const s=e&&checkPath.convert(e);checkPath(s,e,this._allowRelativePaths?RETURN_FALSE:throwError);return this._t(s,t,r,n)}_t(e,t,r,n){if(e in t){return t[e]}if(!n){n=e.split(l)}n.pop();if(!n.length){return t[e]=this._testOne(e,r)}const s=this._t(n.join(l)+l,t,r,n);return t[e]=s.ignored?s:this._testOne(e,r)}ignores(e){return this._test(e,this._ignoreCache,false).ignored}createFilter(){return e=>!this.ignores(e)}filter(e){return makeArray(e).filter(this.createFilter())}test(e){return this._test(e,this._testCache,true)}}const factory=e=>new Ignore(e);const isPathValid=e=>checkPath(e&&checkPath.convert(e),e,RETURN_FALSE);factory.isPathValid=isPathValid;factory.default=factory;e.exports=factory;if(typeof process!=="undefined"&&(process.env&&process.env.IGNORE_TEST_WIN32||process.platform==="win32")){const makePosix=e=>/^\\\\\?\\/.test(e)||/["<>|\u0000-\u001F]+/u.test(e)?e:e.replace(/\\/g,"/");checkPath.convert=makePosix;const e=/^[a-z]:\//i;checkPath.isNotRelative=t=>e.test(t)||isNotRelative(t)}},833:function(e,t,r){"use strict";const n=r(1017);const s=r(2889);const i=r(3938);e.exports=e=>{if(typeof e!=="string"){throw new TypeError("Expected a string")}const t=i(__filename);const r=t?n.dirname(t):__dirname;const o=s(r,e);const a=require.cache[o];if(a&&a.parent){let e=a.parent.children.length;while(e--){if(a.parent.children[e].id===o){a.parent.children.splice(e,1)}}}delete require.cache[o];const c=require.cache[t];return c===undefined?require(o):c.require(o)}},1042:function(e){"use strict";const lazy=(e,t,r)=>e===undefined?t(r):e;e.exports=e=>t=>{let r;const n={get:(n,s)=>{r=lazy(r,e,t);return Reflect.get(r,s)},apply:(n,s,i)=>{r=lazy(r,e,t);return Reflect.apply(r,s,i)},construct:(n,s)=>{r=lazy(r,e,t);return Reflect.construct(r,s)}};return new Proxy((function(){}),n)}},741:function(e){
|
|
20
|
+
/**
|
|
21
|
+
* @preserve
|
|
22
|
+
* JS Implementation of incremental MurmurHash3 (r150) (as of May 10, 2013)
|
|
23
|
+
*
|
|
24
|
+
* @author <a href="mailto:jensyt@gmail.com">Jens Taylor</a>
|
|
25
|
+
* @see http://github.com/homebrewing/brauhaus-diff
|
|
26
|
+
* @author <a href="mailto:gary.court@gmail.com">Gary Court</a>
|
|
27
|
+
* @see http://github.com/garycourt/murmurhash-js
|
|
28
|
+
* @author <a href="mailto:aappleby@gmail.com">Austin Appleby</a>
|
|
29
|
+
* @see http://sites.google.com/site/murmurhash/
|
|
30
|
+
*/
|
|
31
|
+
(function(){var t;function MurmurHash3(e,r){var n=this instanceof MurmurHash3?this:t;n.reset(r);if(typeof e==="string"&&e.length>0){n.hash(e)}if(n!==this){return n}}MurmurHash3.prototype.hash=function(e){var t,r,n,s,i;i=e.length;this.len+=i;r=this.k1;n=0;switch(this.rem){case 0:r^=i>n?e.charCodeAt(n++)&65535:0;case 1:r^=i>n?(e.charCodeAt(n++)&65535)<<8:0;case 2:r^=i>n?(e.charCodeAt(n++)&65535)<<16:0;case 3:r^=i>n?(e.charCodeAt(n)&255)<<24:0;r^=i>n?(e.charCodeAt(n++)&65280)>>8:0}this.rem=i+this.rem&3;i-=this.rem;if(i>0){t=this.h1;while(1){r=r*11601+(r&65535)*3432906752&4294967295;r=r<<15|r>>>17;r=r*13715+(r&65535)*461832192&4294967295;t^=r;t=t<<13|t>>>19;t=t*5+3864292196&4294967295;if(n>=i){break}r=e.charCodeAt(n++)&65535^(e.charCodeAt(n++)&65535)<<8^(e.charCodeAt(n++)&65535)<<16;s=e.charCodeAt(n++);r^=(s&255)<<24^(s&65280)>>8}r=0;switch(this.rem){case 3:r^=(e.charCodeAt(n+2)&65535)<<16;case 2:r^=(e.charCodeAt(n+1)&65535)<<8;case 1:r^=e.charCodeAt(n)&65535}this.h1=t}this.k1=r;return this};MurmurHash3.prototype.result=function(){var e,t;e=this.k1;t=this.h1;if(e>0){e=e*11601+(e&65535)*3432906752&4294967295;e=e<<15|e>>>17;e=e*13715+(e&65535)*461832192&4294967295;t^=e}t^=this.len;t^=t>>>16;t=t*51819+(t&65535)*2246770688&4294967295;t^=t>>>13;t=t*44597+(t&65535)*3266445312&4294967295;t^=t>>>16;return t>>>0};MurmurHash3.prototype.reset=function(e){this.h1=typeof e==="number"?e:0;this.rem=this.k1=this.len=0;return this};t=new MurmurHash3;if(true){e.exports=MurmurHash3}else{}})()},6900:function(e,t,r){var n=r(2928);var s=Object.create(null);var i=r(4556);e.exports=n(inflight);function inflight(e,t){if(s[e]){s[e].push(t);return null}else{s[e]=[t];return makeres(e)}}function makeres(e){return i((function RES(){var t=s[e];var r=t.length;var n=slice(arguments);try{for(var i=0;i<r;i++){t[i].apply(null,n)}}finally{if(t.length>r){t.splice(0,r);process.nextTick((function(){RES.apply(null,n)}))}else{delete s[e]}}}))}function slice(e){var t=e.length;var r=[];for(var n=0;n<t;n++)r[n]=e[n];return r}},6315:function(e,t,r){try{var n=r(3837);if(typeof n.inherits!=="function")throw"";e.exports=n.inherits}catch(t){e.exports=r(959)}},959:function(e){if(typeof Object.create==="function"){e.exports=function inherits(e,t){if(t){e.super_=t;e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}})}}}else{e.exports=function inherits(e,t){if(t){e.super_=t;var TempCtor=function(){};TempCtor.prototype=t.prototype;e.prototype=new TempCtor;e.prototype.constructor=e}}}},809:function(e,t){t.parse=t.decode=decode;t.stringify=t.encode=encode;t.safe=safe;t.unsafe=unsafe;var r=typeof process!=="undefined"&&process.platform==="win32"?"\r\n":"\n";function encode(e,t){var n=[];var s="";if(typeof t==="string"){t={section:t,whitespace:false}}else{t=t||{};t.whitespace=t.whitespace===true}var i=t.whitespace?" = ":"=";Object.keys(e).forEach((function(t,o,a){var c=e[t];if(c&&Array.isArray(c)){c.forEach((function(e){s+=safe(t+"[]")+i+safe(e)+"\n"}))}else if(c&&typeof c==="object")n.push(t);else s+=safe(t)+i+safe(c)+r}));if(t.section&&s.length)s="["+safe(t.section)+"]"+r+s;n.forEach((function(n,i,o){var a=dotSplit(n).join("\\.");var c=(t.section?t.section+".":"")+a;var l=encode(e[n],{section:c,whitespace:t.whitespace});if(s.length&&l.length)s+=r;s+=l}));return s}function dotSplit(e){return e.replace(/\1/g,"LITERAL\\1LITERAL").replace(/\\\./g,"").split(/\./).map((function(e){return e.replace(/\1/g,"\\.").replace(/\2LITERAL\\1LITERAL\2/g,"")}))}function decode(e){var t={};var r=t;var n=null;var s=/^\[([^\]]*)\]$|^([^=]+)(=(.*))?$/i;var i=e.split(/[\r\n]+/g);i.forEach((function(e,i,o){if(!e||e.match(/^\s*[;#]/))return;var a=e.match(s);if(!a)return;if(a[1]!==undefined){n=unsafe(a[1]);if(n==="__proto__"){r={};return}r=t[n]=t[n]||{};return}var c=unsafe(a[2]);if(c==="__proto__")return;var l=a[3]?unsafe(a[4]):true;switch(l){case"true":case"false":case"null":l=JSON.parse(l)}if(c.length>2&&c.slice(-2)==="[]"){c=c.substring(0,c.length-2);if(c==="__proto__")return;if(!r[c])r[c]=[];else if(!Array.isArray(r[c]))r[c]=[r[c]]}if(Array.isArray(r[c]))r[c].push(l);else r[c]=l}));Object.keys(t).filter((function(e,r,n){if(!t[e]||typeof t[e]!=="object"||Array.isArray(t[e]))return false;var s=dotSplit(e);var i=t;var o=s.pop();var a=o.replace(/\\\./g,".");s.forEach((function(e,t,r){if(e==="__proto__")return;if(!i[e]||typeof i[e]!=="object")i[e]={};i=i[e]}));if(i===t&&a===o)return false;i[a]=t[e];return true})).forEach((function(e,r,n){delete t[e]}));return t}function isQuoted(e){return e.charAt(0)==='"'&&e.slice(-1)==='"'||e.charAt(0)==="'"&&e.slice(-1)==="'"}function safe(e){return typeof e!=="string"||e.match(/[=\r\n]/)||e.match(/^\[/)||e.length>1&&isQuoted(e)||e!==e.trim()?JSON.stringify(e):e.replace(/;/g,"\\;").replace(/#/g,"\\#")}function unsafe(e,t){e=(e||"").trim();if(isQuoted(e)){if(e.charAt(0)==="'")e=e.substr(1,e.length-2);try{e=JSON.parse(e)}catch(e){}}else{var r=false;var n="";for(var s=0,i=e.length;s<i;s++){var o=e.charAt(s);if(r){if("\\;#".indexOf(o)!==-1)n+=o;else n+="\\"+o;r=false}else if(";#".indexOf(o)!==-1)break;else if(o==="\\")r=true;else n+=o}if(r)n+="\\";return n.trim()}return e}},1589:function(e){"use strict";e.exports=function isArrayish(e){if(!e){return false}return e instanceof Array||Array.isArray(e)||e.length>=0&&e.splice instanceof Function}},3071:function(e){
|
|
32
|
+
/*!
|
|
33
|
+
* is-extglob <https://github.com/jonschlinkert/is-extglob>
|
|
34
|
+
*
|
|
35
|
+
* Copyright (c) 2014-2016, Jon Schlinkert.
|
|
36
|
+
* Licensed under the MIT License.
|
|
37
|
+
*/
|
|
38
|
+
e.exports=function isExtglob(e){if(typeof e!=="string"||e===""){return false}var t;while(t=/(\\).|([@?!+*]\(.*\))/g.exec(e)){if(t[2])return true;e=e.slice(t.index+t[0].length)}return false}},6654:function(e,t,r){
|
|
39
|
+
/*!
|
|
40
|
+
* is-glob <https://github.com/jonschlinkert/is-glob>
|
|
41
|
+
*
|
|
42
|
+
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
43
|
+
* Released under the MIT License.
|
|
44
|
+
*/
|
|
45
|
+
var n=r(3071);var s={"{":"}","(":")","[":"]"};var strictCheck=function(e){if(e[0]==="!"){return true}var t=0;var r=-2;var n=-2;var i=-2;var o=-2;var a=-2;while(t<e.length){if(e[t]==="*"){return true}if(e[t+1]==="?"&&/[\].+)]/.test(e[t])){return true}if(n!==-1&&e[t]==="["&&e[t+1]!=="]"){if(n<t){n=e.indexOf("]",t)}if(n>t){if(a===-1||a>n){return true}a=e.indexOf("\\",t);if(a===-1||a>n){return true}}}if(i!==-1&&e[t]==="{"&&e[t+1]!=="}"){i=e.indexOf("}",t);if(i>t){a=e.indexOf("\\",t);if(a===-1||a>i){return true}}}if(o!==-1&&e[t]==="("&&e[t+1]==="?"&&/[:!=]/.test(e[t+2])&&e[t+3]!==")"){o=e.indexOf(")",t);if(o>t){a=e.indexOf("\\",t);if(a===-1||a>o){return true}}}if(r!==-1&&e[t]==="("&&e[t+1]!=="|"){if(r<t){r=e.indexOf("|",t)}if(r!==-1&&e[r+1]!==")"){o=e.indexOf(")",r);if(o>r){a=e.indexOf("\\",r);if(a===-1||a>o){return true}}}}if(e[t]==="\\"){var c=e[t+1];t+=2;var l=s[c];if(l){var u=e.indexOf(l,t);if(u!==-1){t=u+1}}if(e[t]==="!"){return true}}else{t++}}return false};var relaxedCheck=function(e){if(e[0]==="!"){return true}var t=0;while(t<e.length){if(/[*?{}()[\]]/.test(e[t])){return true}if(e[t]==="\\"){var r=e[t+1];t+=2;var n=s[r];if(n){var i=e.indexOf(n,t);if(i!==-1){t=i+1}}if(e[t]==="!"){return true}}else{t++}}return false};e.exports=function isGlob(e,t){if(typeof e!=="string"||e===""){return false}if(n(e)){return true}var r=strictCheck;if(t&&t.strict===false){r=relaxedCheck}return r(e)}},8387:function(e){"use strict";
|
|
46
|
+
/*!
|
|
47
|
+
* is-number <https://github.com/jonschlinkert/is-number>
|
|
48
|
+
*
|
|
49
|
+
* Copyright (c) 2014-present, Jon Schlinkert.
|
|
50
|
+
* Released under the MIT License.
|
|
51
|
+
*/e.exports=function(e){if(typeof e==="number"){return e-e===0}if(typeof e==="string"&&e.trim()!==""){return Number.isFinite?Number.isFinite(+e):isFinite(+e)}return false}},7604:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});
|
|
52
|
+
/*!
|
|
53
|
+
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
|
54
|
+
*
|
|
55
|
+
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
56
|
+
* Released under the MIT License.
|
|
57
|
+
*/function isObject(e){return Object.prototype.toString.call(e)==="[object Object]"}function isPlainObject(e){var t,r;if(isObject(e)===false)return false;t=e.constructor;if(t===undefined)return true;r=t.prototype;if(isObject(r)===false)return false;if(r.hasOwnProperty("isPrototypeOf")===false){return false}return true}t.isPlainObject=isPlainObject},2212:function(e,t,r){var n=r(7147);var s;if(process.platform==="win32"||global.TESTING_WINDOWS){s=r(476)}else{s=r(5836)}e.exports=isexe;isexe.sync=sync;function isexe(e,t,r){if(typeof t==="function"){r=t;t={}}if(!r){if(typeof Promise!=="function"){throw new TypeError("callback not provided")}return new Promise((function(r,n){isexe(e,t||{},(function(e,t){if(e){n(e)}else{r(t)}}))}))}s(e,t||{},(function(e,n){if(e){if(e.code==="EACCES"||t&&t.ignoreErrors){e=null;n=false}}r(e,n)}))}function sync(e,t){try{return s.sync(e,t||{})}catch(e){if(t&&t.ignoreErrors||e.code==="EACCES"){return false}else{throw e}}}},5836:function(e,t,r){e.exports=isexe;isexe.sync=sync;var n=r(7147);function isexe(e,t,r){n.stat(e,(function(e,n){r(e,e?false:checkStat(n,t))}))}function sync(e,t){return checkStat(n.statSync(e),t)}function checkStat(e,t){return e.isFile()&&checkMode(e,t)}function checkMode(e,t){var r=e.mode;var n=e.uid;var s=e.gid;var i=t.uid!==undefined?t.uid:process.getuid&&process.getuid();var o=t.gid!==undefined?t.gid:process.getgid&&process.getgid();var a=parseInt("100",8);var c=parseInt("010",8);var l=parseInt("001",8);var u=a|c;var p=r&l||r&c&&s===o||r&a&&n===i||r&u&&i===0;return p}},476:function(e,t,r){e.exports=isexe;isexe.sync=sync;var n=r(7147);function checkPathExt(e,t){var r=t.pathExt!==undefined?t.pathExt:process.env.PATHEXT;if(!r){return true}r=r.split(";");if(r.indexOf("")!==-1){return true}for(var n=0;n<r.length;n++){var s=r[n].toLowerCase();if(s&&e.substr(-s.length).toLowerCase()===s){return true}}return false}function checkStat(e,t,r){if(!e.isSymbolicLink()&&!e.isFile()){return false}return checkPathExt(t,r)}function isexe(e,t,r){n.stat(e,(function(n,s){r(n,n?false:checkStat(s,e,t))}))}function sync(e,t){return checkStat(n.statSync(e),e,t)}},8629:function(e,t){Object.defineProperty(t,"__esModule",{value:true});t["default"]=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:undefined};if(e[1])t.type="string",t.closed=!!(e[3]||e[4]);else if(e[5])t.type="comment";else if(e[6])t.type="comment",t.closed=!!e[7];else if(e[8])t.type="regex";else if(e[9])t.type="number";else if(e[10])t.type="name";else if(e[11])t.type="punctuator";else if(e[12])t.type="whitespace";return t}},9227:function(e){"use strict";const hexify=e=>{const t=e.charCodeAt(0).toString(16).toUpperCase();return"0x"+(t.length%2?"0":"")+t};const parseError=(e,t,r)=>{if(!t){return{message:e.message+" while parsing empty string",position:0}}const n=e.message.match(/^Unexpected token (.) .*position\s+(\d+)/i);const s=n?+n[2]:e.message.match(/^Unexpected end of JSON.*/i)?t.length-1:null;const i=n?e.message.replace(/^Unexpected token ./,`Unexpected token ${JSON.stringify(n[1])} (${hexify(n[1])})`):e.message;if(s!==null&&s!==undefined){const e=s<=r?0:s-r;const n=s+r>=t.length?t.length:s+r;const o=(e===0?"":"...")+t.slice(e,n)+(n===t.length?"":"...");const a=t===o?"":"near ";return{message:i+` while parsing ${a}${JSON.stringify(o)}`,position:s}}else{return{message:i+` while parsing '${t.slice(0,r*2)}'`,position:0}}};class JSONParseError extends SyntaxError{constructor(e,t,r,n){r=r||20;const s=parseError(e,t,r);super(s.message);Object.assign(this,s);this.code="EJSONPARSE";this.systemError=e;Error.captureStackTrace(this,n||this.constructor)}get name(){return this.constructor.name}set name(e){}get[Symbol.toStringTag](){return this.constructor.name}}const t=Symbol.for("indent");const r=Symbol.for("newline");const n=/^\s*[{\[]((?:\r?\n)+)([\s\t]*)/;const s=/^(?:\{\}|\[\])((?:\r?\n)+)?$/;const parseJson=(e,i,o)=>{const a=stripBOM(e);o=o||20;try{const[,e="\n",o=" "]=a.match(s)||a.match(n)||[,"",""];const c=JSON.parse(a,i);if(c&&typeof c==="object"){c[r]=e;c[t]=o}return c}catch(t){if(typeof e!=="string"&&!Buffer.isBuffer(e)){const r=Array.isArray(e)&&e.length===0;throw Object.assign(new TypeError(`Cannot parse ${r?"an empty array":String(e)}`),{code:"EJSONPARSE",systemError:t})}throw new JSONParseError(t,a,o,parseJson)}};const stripBOM=e=>String(e).replace(/^\uFEFF/,"");e.exports=parseJson;parseJson.JSONParseError=JSONParseError;parseJson.noExceptions=(e,t)=>{try{return JSON.parse(stripBOM(e),t)}catch(e){}}},7601:function(e,t){"use strict";t.__esModule=true;t.LinesAndColumns=void 0;var r="\n";var n="\r";var s=function(){function LinesAndColumns(e){this.string=e;var t=[0];for(var s=0;s<e.length;){switch(e[s]){case r:s+=r.length;t.push(s);break;case n:s+=n.length;if(e[s]===r){s+=r.length}t.push(s);break;default:s++;break}}this.offsets=t}LinesAndColumns.prototype.locationForIndex=function(e){if(e<0||e>this.string.length){return null}var t=0;var r=this.offsets;while(r[t+1]<=e){t++}var n=e-r[t];return{line:t,column:n}};LinesAndColumns.prototype.indexForLocation=function(e){var t=e.line,r=e.column;if(t<0||t>=this.offsets.length){return null}if(r<0||r>this.lengthOfLine(t)){return null}return this.offsets[t]+r};LinesAndColumns.prototype.lengthOfLine=function(e){var t=this.offsets[e];var r=e===this.offsets.length-1?this.string.length:this.offsets[e+1];return r-t};return LinesAndColumns}();t.LinesAndColumns=s;t["default"]=s},1382:function(e,t,r){"use strict";const n=r(2781);const s=n.PassThrough;const i=Array.prototype.slice;e.exports=merge2;function merge2(){const e=[];const t=i.call(arguments);let r=false;let n=t[t.length-1];if(n&&!Array.isArray(n)&&n.pipe==null){t.pop()}else{n={}}const o=n.end!==false;const a=n.pipeError===true;if(n.objectMode==null){n.objectMode=true}if(n.highWaterMark==null){n.highWaterMark=64*1024}const c=s(n);function addStream(){for(let t=0,r=arguments.length;t<r;t++){e.push(pauseStreams(arguments[t],n))}mergeStream();return this}function mergeStream(){if(r){return}r=true;let t=e.shift();if(!t){process.nextTick(endStream);return}if(!Array.isArray(t)){t=[t]}let n=t.length+1;function next(){if(--n>0){return}r=false;mergeStream()}function pipe(e){function onend(){e.removeListener("merge2UnpipeEnd",onend);e.removeListener("end",onend);if(a){e.removeListener("error",onerror)}next()}function onerror(e){c.emit("error",e)}if(e._readableState.endEmitted){return next()}e.on("merge2UnpipeEnd",onend);e.on("end",onend);if(a){e.on("error",onerror)}e.pipe(c,{end:false});e.resume()}for(let e=0;e<t.length;e++){pipe(t[e])}next()}function endStream(){r=false;c.emit("queueDrain");if(o){c.end()}}c.setMaxListeners(0);c.add=addStream;c.on("unpipe",(function(e){e.emit("merge2UnpipeEnd")}));if(t.length){addStream.apply(null,t)}return c}function pauseStreams(e,t){if(!Array.isArray(e)){if(!e._readableState&&e.pipe){e=e.pipe(s(t))}if(!e._readableState||!e.pause||!e.pipe){throw new Error("Only readable stream can be merged.")}e.pause()}else{for(let r=0,n=e.length;r<n;r++){e[r]=pauseStreams(e[r],t)}}return e}},1224:function(e,t,r){"use strict";const n=r(3837);const s=r(7637);const i=r(376);const o=r(8658);const isEmptyString=e=>e===""||e==="./";const micromatch=(e,t,r)=>{t=[].concat(t);e=[].concat(e);let n=new Set;let s=new Set;let o=new Set;let a=0;let onResult=e=>{o.add(e.output);if(r&&r.onResult){r.onResult(e)}};for(let o=0;o<t.length;o++){let c=i(String(t[o]),{...r,onResult:onResult},true);let l=c.state.negated||c.state.negatedExtglob;if(l)a++;for(let t of e){let e=c(t,true);let r=l?!e.isMatch:e.isMatch;if(!r)continue;if(l){n.add(e.output)}else{n.delete(e.output);s.add(e.output)}}}let c=a===t.length?[...o]:[...s];let l=c.filter((e=>!n.has(e)));if(r&&l.length===0){if(r.failglob===true){throw new Error(`No matches found for "${t.join(", ")}"`)}if(r.nonull===true||r.nullglob===true){return r.unescape?t.map((e=>e.replace(/\\/g,""))):t}}return l};micromatch.match=micromatch;micromatch.matcher=(e,t)=>i(e,t);micromatch.isMatch=(e,t,r)=>i(t,r)(e);micromatch.any=micromatch.isMatch;micromatch.not=(e,t,r={})=>{t=[].concat(t).map(String);let n=new Set;let s=[];let onResult=e=>{if(r.onResult)r.onResult(e);s.push(e.output)};let i=micromatch(e,t,{...r,onResult:onResult});for(let e of s){if(!i.includes(e)){n.add(e)}}return[...n]};micromatch.contains=(e,t,r)=>{if(typeof e!=="string"){throw new TypeError(`Expected a string: "${n.inspect(e)}"`)}if(Array.isArray(t)){return t.some((t=>micromatch.contains(e,t,r)))}if(typeof t==="string"){if(isEmptyString(e)||isEmptyString(t)){return false}if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t)){return true}}return micromatch.isMatch(e,t,{...r,contains:true})};micromatch.matchKeys=(e,t,r)=>{if(!o.isObject(e)){throw new TypeError("Expected the first argument to be an object")}let n=micromatch(Object.keys(e),t,r);let s={};for(let t of n)s[t]=e[t];return s};micromatch.some=(e,t,r)=>{let n=[].concat(e);for(let e of[].concat(t)){let t=i(String(e),r);if(n.some((e=>t(e)))){return true}}return false};micromatch.every=(e,t,r)=>{let n=[].concat(e);for(let e of[].concat(t)){let t=i(String(e),r);if(!n.every((e=>t(e)))){return false}}return true};micromatch.all=(e,t,r)=>{if(typeof e!=="string"){throw new TypeError(`Expected a string: "${n.inspect(e)}"`)}return[].concat(t).every((t=>i(t,r)(e)))};micromatch.capture=(e,t,r)=>{let n=o.isWindows(r);let s=i.makeRe(String(e),{...r,capture:true});let a=s.exec(n?o.toPosixSlashes(t):t);if(a){return a.slice(1).map((e=>e===void 0?"":e))}};micromatch.makeRe=(...e)=>i.makeRe(...e);micromatch.scan=(...e)=>i.scan(...e);micromatch.parse=(e,t)=>{let r=[];for(let n of[].concat(e||[])){for(let e of s(String(n),t)){r.push(i.parse(e,t))}}return r};micromatch.braces=(e,t)=>{if(typeof e!=="string")throw new TypeError("Expected a string");if(t&&t.nobrace===true||!/\{.*\}/.test(e)){return[e]}return s(e,t)};micromatch.braceExpand=(e,t)=>{if(typeof e!=="string")throw new TypeError("Expected a string");return micromatch.braces(e,{...t,expand:true})};e.exports=micromatch},4235:function(e,t,r){e.exports=minimatch;minimatch.Minimatch=Minimatch;var n=function(){try{return r(1017)}catch(e){}}()||{sep:"/"};minimatch.sep=n.sep;var s=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var i=r(7847);var o={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var a="[^/]";var c=a+"*?";var l="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var u="(?:(?!(?:\\/|^)\\.).)*?";var p=charSet("().*{}+?[]^$\\!");function charSet(e){return e.split("").reduce((function(e,t){e[t]=true;return e}),{})}var h=/\/+/;minimatch.filter=filter;function filter(e,t){t=t||{};return function(r,n,s){return minimatch(r,e,t)}}function ext(e,t){t=t||{};var r={};Object.keys(e).forEach((function(t){r[t]=e[t]}));Object.keys(t).forEach((function(e){r[e]=t[e]}));return r}minimatch.defaults=function(e){if(!e||typeof e!=="object"||!Object.keys(e).length){return minimatch}var t=minimatch;var r=function minimatch(r,n,s){return t(r,n,ext(e,s))};r.Minimatch=function Minimatch(r,n){return new t.Minimatch(r,ext(e,n))};r.Minimatch.defaults=function defaults(r){return t.defaults(ext(e,r)).Minimatch};r.filter=function filter(r,n){return t.filter(r,ext(e,n))};r.defaults=function defaults(r){return t.defaults(ext(e,r))};r.makeRe=function makeRe(r,n){return t.makeRe(r,ext(e,n))};r.braceExpand=function braceExpand(r,n){return t.braceExpand(r,ext(e,n))};r.match=function(r,n,s){return t.match(r,n,ext(e,s))};return r};Minimatch.defaults=function(e){return minimatch.defaults(e).Minimatch};function minimatch(e,t,r){assertValidPattern(t);if(!r)r={};if(!r.nocomment&&t.charAt(0)==="#"){return false}return new Minimatch(t,r).match(e)}function Minimatch(e,t){if(!(this instanceof Minimatch)){return new Minimatch(e,t)}assertValidPattern(e);if(!t)t={};e=e.trim();if(!t.allowWindowsEscape&&n.sep!=="/"){e=e.split(n.sep).join("/")}this.options=t;this.set=[];this.pattern=e;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.partial=!!t.partial;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){var e=this.pattern;var t=this.options;if(!t.nocomment&&e.charAt(0)==="#"){this.comment=true;return}if(!e){this.empty=true;return}this.parseNegate();var r=this.globSet=this.braceExpand();if(t.debug)this.debug=function debug(){console.error.apply(console,arguments)};this.debug(this.pattern,r);r=this.globParts=r.map((function(e){return e.split(h)}));this.debug(this.pattern,r);r=r.map((function(e,t,r){return e.map(this.parse,this)}),this);this.debug(this.pattern,r);r=r.filter((function(e){return e.indexOf(false)===-1}));this.debug(this.pattern,r);this.set=r}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var e=this.pattern;var t=false;var r=this.options;var n=0;if(r.nonegate)return;for(var s=0,i=e.length;s<i&&e.charAt(s)==="!";s++){t=!t;n++}if(n)this.pattern=e.substr(n);this.negate=t}minimatch.braceExpand=function(e,t){return braceExpand(e,t)};Minimatch.prototype.braceExpand=braceExpand;function braceExpand(e,t){if(!t){if(this instanceof Minimatch){t=this.options}else{t={}}}e=typeof e==="undefined"?this.pattern:e;assertValidPattern(e);if(t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)){return[e]}return i(e)}var d=1024*64;var assertValidPattern=function(e){if(typeof e!=="string"){throw new TypeError("invalid pattern")}if(e.length>d){throw new TypeError("pattern is too long")}};Minimatch.prototype.parse=parse;var g={};function parse(e,t){assertValidPattern(e);var r=this.options;if(e==="**"){if(!r.noglobstar)return s;else e="*"}if(e==="")return"";var n="";var i=!!r.nocase;var l=false;var u=[];var h=[];var d;var m=false;var y=-1;var v=-1;var b=e.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";var w=this;function clearStateChar(){if(d){switch(d){case"*":n+=c;i=true;break;case"?":n+=a;i=true;break;default:n+="\\"+d;break}w.debug("clearStateChar %j %j",d,n);d=false}}for(var S=0,_=e.length,x;S<_&&(x=e.charAt(S));S++){this.debug("%s\t%s %s %j",e,S,n,x);if(l&&p[x]){n+="\\"+x;l=false;continue}switch(x){case"/":{return false}case"\\":clearStateChar();l=true;continue;case"?":case"*":case"+":case"@":case"!":this.debug("%s\t%s %s %j <-- stateChar",e,S,n,x);if(m){this.debug(" in class");if(x==="!"&&S===v+1)x="^";n+=x;continue}w.debug("call clearStateChar %j",d);clearStateChar();d=x;if(r.noext)clearStateChar();continue;case"(":if(m){n+="(";continue}if(!d){n+="\\(";continue}u.push({type:d,start:S-1,reStart:n.length,open:o[d].open,close:o[d].close});n+=d==="!"?"(?:(?!(?:":"(?:";this.debug("plType %j %j",d,n);d=false;continue;case")":if(m||!u.length){n+="\\)";continue}clearStateChar();i=true;var C=u.pop();n+=C.close;if(C.type==="!"){h.push(C)}C.reEnd=n.length;continue;case"|":if(m||!u.length||l){n+="\\|";l=false;continue}clearStateChar();n+="|";continue;case"[":clearStateChar();if(m){n+="\\"+x;continue}m=true;v=S;y=n.length;n+=x;continue;case"]":if(S===v+1||!m){n+="\\"+x;l=false;continue}var A=e.substring(v+1,S);try{RegExp("["+A+"]")}catch(e){var O=this.parse(A,g);n=n.substr(0,y)+"\\["+O[0]+"\\]";i=i||O[1];m=false;continue}i=true;m=false;n+=x;continue;default:clearStateChar();if(l){l=false}else if(p[x]&&!(x==="^"&&m)){n+="\\"}n+=x}}if(m){A=e.substr(v+1);O=this.parse(A,g);n=n.substr(0,y)+"\\["+O[0];i=i||O[1]}for(C=u.pop();C;C=u.pop()){var k=n.slice(C.reStart+C.open.length);this.debug("setting tail",n,C);k=k.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(e,t,r){if(!r){r="\\"}return t+t+r+"|"}));this.debug("tail=%j\n %s",k,k,C,n);var P=C.type==="*"?c:C.type==="?"?a:"\\"+C.type;i=true;n=n.slice(0,C.reStart)+P+"\\("+k}clearStateChar();if(l){n+="\\\\"}var R=false;switch(n.charAt(0)){case"[":case".":case"(":R=true}for(var M=h.length-1;M>-1;M--){var L=h[M];var T=n.slice(0,L.reStart);var N=n.slice(L.reStart,L.reEnd-8);var I=n.slice(L.reEnd-8,L.reEnd);var D=n.slice(L.reEnd);I+=D;var $=T.split("(").length-1;var j=D;for(S=0;S<$;S++){j=j.replace(/\)[+*?]?/,"")}D=j;var B="";if(D===""&&t!==g){B="$"}var G=T+N+D+B+I;n=G}if(n!==""&&i){n="(?=.)"+n}if(R){n=b+n}if(t===g){return[n,i]}if(!i){return globUnescape(e)}var W=r.nocase?"i":"";try{var U=new RegExp("^"+n+"$",W)}catch(e){return new RegExp("$.")}U._glob=e;U._src=n;return U}minimatch.makeRe=function(e,t){return new Minimatch(e,t||{}).makeRe()};Minimatch.prototype.makeRe=makeRe;function makeRe(){if(this.regexp||this.regexp===false)return this.regexp;var e=this.set;if(!e.length){this.regexp=false;return this.regexp}var t=this.options;var r=t.noglobstar?c:t.dot?l:u;var n=t.nocase?"i":"";var i=e.map((function(e){return e.map((function(e){return e===s?r:typeof e==="string"?regExpEscape(e):e._src})).join("\\/")})).join("|");i="^(?:"+i+")$";if(this.negate)i="^(?!"+i+").*$";try{this.regexp=new RegExp(i,n)}catch(e){this.regexp=false}return this.regexp}minimatch.match=function(e,t,r){r=r||{};var n=new Minimatch(t,r);e=e.filter((function(e){return n.match(e)}));if(n.options.nonull&&!e.length){e.push(t)}return e};Minimatch.prototype.match=function match(e,t){if(typeof t==="undefined")t=this.partial;this.debug("match",e,this.pattern);if(this.comment)return false;if(this.empty)return e==="";if(e==="/"&&t)return true;var r=this.options;if(n.sep!=="/"){e=e.split(n.sep).join("/")}e=e.split(h);this.debug(this.pattern,"split",e);var s=this.set;this.debug(this.pattern,"set",s);var i;var o;for(o=e.length-1;o>=0;o--){i=e[o];if(i)break}for(o=0;o<s.length;o++){var a=s[o];var c=e;if(r.matchBase&&a.length===1){c=[i]}var l=this.matchOne(c,a,t);if(l){if(r.flipNegate)return true;return!this.negate}}if(r.flipNegate)return false;return this.negate};Minimatch.prototype.matchOne=function(e,t,r){var n=this.options;this.debug("matchOne",{this:this,file:e,pattern:t});this.debug("matchOne",e.length,t.length);for(var i=0,o=0,a=e.length,c=t.length;i<a&&o<c;i++,o++){this.debug("matchOne loop");var l=t[o];var u=e[i];this.debug(t,l,u);if(l===false)return false;if(l===s){this.debug("GLOBSTAR",[t,l,u]);var p=i;var h=o+1;if(h===c){this.debug("** at the end");for(;i<a;i++){if(e[i]==="."||e[i]===".."||!n.dot&&e[i].charAt(0)===".")return false}return true}while(p<a){var d=e[p];this.debug("\nglobstar while",e,p,t,h,d);if(this.matchOne(e.slice(p),t.slice(h),r)){this.debug("globstar found match!",p,a,d);return true}else{if(d==="."||d===".."||!n.dot&&d.charAt(0)==="."){this.debug("dot detected!",e,p,t,h);break}this.debug("globstar swallow a segment, and continue");p++}}if(r){this.debug("\n>>> no match, partial?",e,p,t,h);if(p===a)return true}return false}var g;if(typeof l==="string"){g=u===l;this.debug("string match",l,u,g)}else{g=u.match(l);this.debug("pattern match",l,u,g)}if(!g)return false}if(i===a&&o===c){return true}else if(i===a){return r}else if(o===c){return i===a-1&&e[i]===""}throw new Error("wtf?")};function globUnescape(e){return e.replace(/\\(.)/g,"$1")}function regExpEscape(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}},1367:function(e){var t=1e3;var r=t*60;var n=r*60;var s=n*24;var i=s*7;var o=s*365.25;e.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0){return parse(e)}else if(r==="number"&&isFinite(e)){return t.long?fmtLong(e):fmtShort(e)}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function parse(e){e=String(e);if(e.length>100){return}var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!a){return}var c=parseFloat(a[1]);var l=(a[2]||"ms").toLowerCase();switch(l){case"years":case"year":case"yrs":case"yr":case"y":return c*o;case"weeks":case"week":case"w":return c*i;case"days":case"day":case"d":return c*s;case"hours":case"hour":case"hrs":case"hr":case"h":return c*n;case"minutes":case"minute":case"mins":case"min":case"m":return c*r;case"seconds":case"second":case"secs":case"sec":case"s":return c*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return undefined}}function fmtShort(e){var i=Math.abs(e);if(i>=s){return Math.round(e/s)+"d"}if(i>=n){return Math.round(e/n)+"h"}if(i>=r){return Math.round(e/r)+"m"}if(i>=t){return Math.round(e/t)+"s"}return e+"ms"}function fmtLong(e){var i=Math.abs(e);if(i>=s){return plural(e,i,s,"day")}if(i>=n){return plural(e,i,n,"hour")}if(i>=r){return plural(e,i,r,"minute")}if(i>=t){return plural(e,i,t,"second")}return e+" ms"}function plural(e,t,r,n){var s=t>=r*1.5;return Math.round(e/r)+" "+n+(s?"s":"")}},498:function(e){
|
|
58
|
+
/*!
|
|
59
|
+
* normalize-path <https://github.com/jonschlinkert/normalize-path>
|
|
60
|
+
*
|
|
61
|
+
* Copyright (c) 2014-2018, Jon Schlinkert.
|
|
62
|
+
* Released under the MIT License.
|
|
63
|
+
*/
|
|
64
|
+
e.exports=function(e,t){if(typeof e!=="string"){throw new TypeError("expected path to be a string")}if(e==="\\"||e==="/")return"/";var r=e.length;if(r<=1)return e;var n="";if(r>4&&e[3]==="\\"){var s=e[2];if((s==="?"||s===".")&&e.slice(0,2)==="\\\\"){e=e.slice(2);n="//"}}var i=e.split(/[/\\]+/);if(t!==false&&i[i.length-1]===""){i.pop()}return n+i.join("/")}},4556:function(e,t,r){var n=r(2928);e.exports=n(once);e.exports.strict=n(onceStrict);once.proto=once((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return once(this)},configurable:true});Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return onceStrict(this)},configurable:true})}));function once(e){var f=function(){if(f.called)return f.value;f.called=true;return f.value=e.apply(this,arguments)};f.called=false;return f}function onceStrict(e){var f=function(){if(f.called)throw new Error(f.onceError);f.called=true;return f.value=e.apply(this,arguments)};var t=e.name||"Function wrapped with `once`";f.onceError=t+" shouldn't be called more than once";f.called=false;return f}},3938:function(e,t,r){"use strict";const n=r(1576);e.exports=e=>{const t=n();if(!e){return t[2].getFileName()}let r=false;t.shift();for(const n of t){const t=n.getFileName();if(typeof t!=="string"){continue}if(t===e){r=true;continue}if(t==="module.js"){continue}if(r&&t!==e){return t}}}},4302:function(e,t,r){"use strict";const n=r(6305);const s=r(9227);const{default:i}=r(7601);const{codeFrameColumns:o}=r(9039);const a=n("JSONError",{fileName:n.append("in %s"),codeFrame:n.append("\n\n%s\n")});const parseJson=(e,t,r)=>{if(typeof t==="string"){r=t;t=null}try{try{return JSON.parse(e,t)}catch(r){s(e,t);throw r}}catch(t){t.message=t.message.replace(/\n/g,"");const n=t.message.match(/in JSON at position (\d+) while parsing/);const s=new a(t);if(r){s.fileName=r}if(n&&n.length>0){const t=new i(e);const r=Number(n[1]);const a=t.locationForIndex(r);const c=o(e,{start:{line:a.line+1,column:a.column+1}},{highlightCode:true});s.codeFrame=c}throw s}};parseJson.JSONError=a;e.exports=parseJson},4249:function(e){"use strict";function posix(e){return e.charAt(0)==="/"}function win32(e){var t=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;var r=t.exec(e);var n=r[1]||"";var s=Boolean(n&&n.charAt(1)!==":");return Boolean(r[2]||s)}e.exports=process.platform==="win32"?win32:posix;e.exports.posix=posix;e.exports.win32=win32},9223:function(e,t,r){"use strict";const{promisify:n}=r(3837);const s=r(7147);async function isType(e,t,r){if(typeof r!=="string"){throw new TypeError(`Expected a string, got ${typeof r}`)}try{const i=await n(s[e])(r);return i[t]()}catch(e){if(e.code==="ENOENT"){return false}throw e}}function isTypeSync(e,t,r){if(typeof r!=="string"){throw new TypeError(`Expected a string, got ${typeof r}`)}try{return s[e](r)[t]()}catch(e){if(e.code==="ENOENT"){return false}throw e}}t.isFile=isType.bind(null,"stat","isFile");t.isDirectory=isType.bind(null,"stat","isDirectory");t.isSymlink=isType.bind(null,"lstat","isSymbolicLink");t.isFileSync=isTypeSync.bind(null,"statSync","isFile");t.isDirectorySync=isTypeSync.bind(null,"statSync","isDirectory");t.isSymlinkSync=isTypeSync.bind(null,"lstatSync","isSymbolicLink")},328:function(e,t,r){let n=r(6224);let s=!("NO_COLOR"in process.env||process.argv.includes("--no-color"))&&("FORCE_COLOR"in process.env||process.argv.includes("--color")||process.platform==="win32"||n.isatty(1)&&process.env.TERM!=="dumb"||"CI"in process.env);let formatter=(e,t,r=e)=>n=>{let s=""+n;let i=s.indexOf(t,e.length);return~i?e+replaceClose(s,t,r,i)+t:e+s+t};let replaceClose=(e,t,r,n)=>{let s=e.substring(0,n)+r;let i=e.substring(n+t.length);let o=i.indexOf(t);return~o?s+replaceClose(i,t,r,o):s+i};let createColors=(e=s)=>({isColorSupported:e,reset:e?e=>`[0m${e}[0m`:String,bold:e?formatter("[1m","[22m","[22m[1m"):String,dim:e?formatter("[2m","[22m","[22m[2m"):String,italic:e?formatter("[3m","[23m"):String,underline:e?formatter("[4m","[24m"):String,inverse:e?formatter("[7m","[27m"):String,hidden:e?formatter("[8m","[28m"):String,strikethrough:e?formatter("[9m","[29m"):String,black:e?formatter("[30m","[39m"):String,red:e?formatter("[31m","[39m"):String,green:e?formatter("[32m","[39m"):String,yellow:e?formatter("[33m","[39m"):String,blue:e?formatter("[34m","[39m"):String,magenta:e?formatter("[35m","[39m"):String,cyan:e?formatter("[36m","[39m"):String,white:e?formatter("[37m","[39m"):String,gray:e?formatter("[90m","[39m"):String,bgBlack:e?formatter("[40m","[49m"):String,bgRed:e?formatter("[41m","[49m"):String,bgGreen:e?formatter("[42m","[49m"):String,bgYellow:e?formatter("[43m","[49m"):String,bgBlue:e?formatter("[44m","[49m"):String,bgMagenta:e?formatter("[45m","[49m"):String,bgCyan:e?formatter("[46m","[49m"):String,bgWhite:e?formatter("[47m","[49m"):String});e.exports=createColors();e.exports.createColors=createColors},376:function(e,t,r){"use strict";e.exports=r(7631)},7820:function(e,t,r){"use strict";const n=r(1017);const s="\\\\/";const i=`[^${s}]`;const o="\\.";const a="\\+";const c="\\?";const l="\\/";const u="(?=.)";const p="[^/]";const h=`(?:${l}|$)`;const d=`(?:^|${l})`;const g=`${o}{1,2}${h}`;const m=`(?!${o})`;const y=`(?!${d}${g})`;const v=`(?!${o}{0,1}${h})`;const b=`(?!${g})`;const w=`[^.${l}]`;const S=`${p}*?`;const _={DOT_LITERAL:o,PLUS_LITERAL:a,QMARK_LITERAL:c,SLASH_LITERAL:l,ONE_CHAR:u,QMARK:p,END_ANCHOR:h,DOTS_SLASH:g,NO_DOT:m,NO_DOTS:y,NO_DOT_SLASH:v,NO_DOTS_SLASH:b,QMARK_NO_DOT:w,STAR:S,START_ANCHOR:d};const x={..._,SLASH_LITERAL:`[${s}]`,QMARK:i,STAR:`${i}*?`,DOTS_SLASH:`${o}{1,2}(?:[${s}]|$)`,NO_DOT:`(?!${o})`,NO_DOTS:`(?!(?:^|[${s}])${o}{1,2}(?:[${s}]|$))`,NO_DOT_SLASH:`(?!${o}{0,1}(?:[${s}]|$))`,NO_DOTS_SLASH:`(?!${o}{1,2}(?:[${s}]|$))`,QMARK_NO_DOT:`[^.${s}]`,START_ANCHOR:`(?:^|[${s}])`,END_ANCHOR:`(?:[${s}]|$)`};const C={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"};e.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:C,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:n.sep,extglobChars(e){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(e){return e===true?x:_}}},6986:function(e,t,r){"use strict";const n=r(7820);const s=r(8658);const{MAX_LENGTH:i,POSIX_REGEX_SOURCE:o,REGEX_NON_SPECIAL_CHARS:a,REGEX_SPECIAL_CHARS_BACKREF:c,REPLACEMENTS:l}=n;const expandRange=(e,t)=>{if(typeof t.expandRange==="function"){return t.expandRange(...e,t)}e.sort();const r=`[${e.join("-")}]`;try{new RegExp(r)}catch(t){return e.map((e=>s.escapeRegex(e))).join("..")}return r};const syntaxError=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`;const parse=(e,t)=>{if(typeof e!=="string"){throw new TypeError("Expected a string")}e=l[e]||e;const r={...t};const u=typeof r.maxLength==="number"?Math.min(i,r.maxLength):i;let p=e.length;if(p>u){throw new SyntaxError(`Input length: ${p}, exceeds maximum allowed length: ${u}`)}const h={type:"bos",value:"",output:r.prepend||""};const d=[h];const g=r.capture?"":"?:";const m=s.isWindows(t);const y=n.globChars(m);const v=n.extglobChars(y);const{DOT_LITERAL:b,PLUS_LITERAL:w,SLASH_LITERAL:S,ONE_CHAR:_,DOTS_SLASH:x,NO_DOT:C,NO_DOT_SLASH:A,NO_DOTS_SLASH:O,QMARK:k,QMARK_NO_DOT:P,STAR:R,START_ANCHOR:M}=y;const globstar=e=>`(${g}(?:(?!${M}${e.dot?x:b}).)*?)`;const L=r.dot?"":C;const T=r.dot?k:P;let N=r.bash===true?globstar(r):R;if(r.capture){N=`(${N})`}if(typeof r.noext==="boolean"){r.noextglob=r.noext}const I={input:e,index:-1,start:0,dot:r.dot===true,consumed:"",output:"",prefix:"",backtrack:false,negated:false,brackets:0,braces:0,parens:0,quotes:0,globstar:false,tokens:d};e=s.removePrefix(e,I);p=e.length;const D=[];const $=[];const j=[];let B=h;let G;const eos=()=>I.index===p-1;const W=I.peek=(t=1)=>e[I.index+t];const U=I.advance=()=>e[++I.index]||"";const remaining=()=>e.slice(I.index+1);const consume=(e="",t=0)=>{I.consumed+=e;I.index+=t};const append=e=>{I.output+=e.output!=null?e.output:e.value;consume(e.value)};const negate=()=>{let e=1;while(W()==="!"&&(W(2)!=="("||W(3)==="?")){U();I.start++;e++}if(e%2===0){return false}I.negated=true;I.start++;return true};const increment=e=>{I[e]++;j.push(e)};const decrement=e=>{I[e]--;j.pop()};const push=e=>{if(B.type==="globstar"){const t=I.braces>0&&(e.type==="comma"||e.type==="brace");const r=e.extglob===true||D.length&&(e.type==="pipe"||e.type==="paren");if(e.type!=="slash"&&e.type!=="paren"&&!t&&!r){I.output=I.output.slice(0,-B.output.length);B.type="star";B.value="*";B.output=N;I.output+=B.output}}if(D.length&&e.type!=="paren"){D[D.length-1].inner+=e.value}if(e.value||e.output)append(e);if(B&&B.type==="text"&&e.type==="text"){B.value+=e.value;B.output=(B.output||"")+e.value;return}e.prev=B;d.push(e);B=e};const extglobOpen=(e,t)=>{const n={...v[t],conditions:1,inner:""};n.prev=B;n.parens=I.parens;n.output=I.output;const s=(r.capture?"(":"")+n.open;increment("parens");push({type:e,value:t,output:I.output?"":_});push({type:"paren",extglob:true,value:U(),output:s});D.push(n)};const extglobClose=e=>{let n=e.close+(r.capture?")":"");let s;if(e.type==="negate"){let i=N;if(e.inner&&e.inner.length>1&&e.inner.includes("/")){i=globstar(r)}if(i!==N||eos()||/^\)+$/.test(remaining())){n=e.close=`)$))${i}`}if(e.inner.includes("*")&&(s=remaining())&&/^\.[^\\/.]+$/.test(s)){const r=parse(s,{...t,fastpaths:false}).output;n=e.close=`)${r})${i})`}if(e.prev.type==="bos"){I.negatedExtglob=true}}push({type:"paren",extglob:true,value:G,output:n});decrement("parens")};if(r.fastpaths!==false&&!/(^[*!]|[/()[\]{}"])/.test(e)){let n=false;let i=e.replace(c,((e,t,r,s,i,o)=>{if(s==="\\"){n=true;return e}if(s==="?"){if(t){return t+s+(i?k.repeat(i.length):"")}if(o===0){return T+(i?k.repeat(i.length):"")}return k.repeat(r.length)}if(s==="."){return b.repeat(r.length)}if(s==="*"){if(t){return t+s+(i?N:"")}return N}return t?e:`\\${e}`}));if(n===true){if(r.unescape===true){i=i.replace(/\\/g,"")}else{i=i.replace(/\\+/g,(e=>e.length%2===0?"\\\\":e?"\\":""))}}if(i===e&&r.contains===true){I.output=e;return I}I.output=s.wrapOutput(i,I,t);return I}while(!eos()){G=U();if(G==="\0"){continue}if(G==="\\"){const e=W();if(e==="/"&&r.bash!==true){continue}if(e==="."||e===";"){continue}if(!e){G+="\\";push({type:"text",value:G});continue}const t=/^\\+/.exec(remaining());let n=0;if(t&&t[0].length>2){n=t[0].length;I.index+=n;if(n%2!==0){G+="\\"}}if(r.unescape===true){G=U()}else{G+=U()}if(I.brackets===0){push({type:"text",value:G});continue}}if(I.brackets>0&&(G!=="]"||B.value==="["||B.value==="[^")){if(r.posix!==false&&G===":"){const e=B.value.slice(1);if(e.includes("[")){B.posix=true;if(e.includes(":")){const e=B.value.lastIndexOf("[");const t=B.value.slice(0,e);const r=B.value.slice(e+2);const n=o[r];if(n){B.value=t+n;I.backtrack=true;U();if(!h.output&&d.indexOf(B)===1){h.output=_}continue}}}}if(G==="["&&W()!==":"||G==="-"&&W()==="]"){G=`\\${G}`}if(G==="]"&&(B.value==="["||B.value==="[^")){G=`\\${G}`}if(r.posix===true&&G==="!"&&B.value==="["){G="^"}B.value+=G;append({value:G});continue}if(I.quotes===1&&G!=='"'){G=s.escapeRegex(G);B.value+=G;append({value:G});continue}if(G==='"'){I.quotes=I.quotes===1?0:1;if(r.keepQuotes===true){push({type:"text",value:G})}continue}if(G==="("){increment("parens");push({type:"paren",value:G});continue}if(G===")"){if(I.parens===0&&r.strictBrackets===true){throw new SyntaxError(syntaxError("opening","("))}const e=D[D.length-1];if(e&&I.parens===e.parens+1){extglobClose(D.pop());continue}push({type:"paren",value:G,output:I.parens?")":"\\)"});decrement("parens");continue}if(G==="["){if(r.nobracket===true||!remaining().includes("]")){if(r.nobracket!==true&&r.strictBrackets===true){throw new SyntaxError(syntaxError("closing","]"))}G=`\\${G}`}else{increment("brackets")}push({type:"bracket",value:G});continue}if(G==="]"){if(r.nobracket===true||B&&B.type==="bracket"&&B.value.length===1){push({type:"text",value:G,output:`\\${G}`});continue}if(I.brackets===0){if(r.strictBrackets===true){throw new SyntaxError(syntaxError("opening","["))}push({type:"text",value:G,output:`\\${G}`});continue}decrement("brackets");const e=B.value.slice(1);if(B.posix!==true&&e[0]==="^"&&!e.includes("/")){G=`/${G}`}B.value+=G;append({value:G});if(r.literalBrackets===false||s.hasRegexChars(e)){continue}const t=s.escapeRegex(B.value);I.output=I.output.slice(0,-B.value.length);if(r.literalBrackets===true){I.output+=t;B.value=t;continue}B.value=`(${g}${t}|${B.value})`;I.output+=B.value;continue}if(G==="{"&&r.nobrace!==true){increment("braces");const e={type:"brace",value:G,output:"(",outputIndex:I.output.length,tokensIndex:I.tokens.length};$.push(e);push(e);continue}if(G==="}"){const e=$[$.length-1];if(r.nobrace===true||!e){push({type:"text",value:G,output:G});continue}let t=")";if(e.dots===true){const e=d.slice();const n=[];for(let t=e.length-1;t>=0;t--){d.pop();if(e[t].type==="brace"){break}if(e[t].type!=="dots"){n.unshift(e[t].value)}}t=expandRange(n,r);I.backtrack=true}if(e.comma!==true&&e.dots!==true){const r=I.output.slice(0,e.outputIndex);const n=I.tokens.slice(e.tokensIndex);e.value=e.output="\\{";G=t="\\}";I.output=r;for(const e of n){I.output+=e.output||e.value}}push({type:"brace",value:G,output:t});decrement("braces");$.pop();continue}if(G==="|"){if(D.length>0){D[D.length-1].conditions++}push({type:"text",value:G});continue}if(G===","){let e=G;const t=$[$.length-1];if(t&&j[j.length-1]==="braces"){t.comma=true;e="|"}push({type:"comma",value:G,output:e});continue}if(G==="/"){if(B.type==="dot"&&I.index===I.start+1){I.start=I.index+1;I.consumed="";I.output="";d.pop();B=h;continue}push({type:"slash",value:G,output:S});continue}if(G==="."){if(I.braces>0&&B.type==="dot"){if(B.value===".")B.output=b;const e=$[$.length-1];B.type="dots";B.output+=G;B.value+=G;e.dots=true;continue}if(I.braces+I.parens===0&&B.type!=="bos"&&B.type!=="slash"){push({type:"text",value:G,output:b});continue}push({type:"dot",value:G,output:b});continue}if(G==="?"){const e=B&&B.value==="(";if(!e&&r.noextglob!==true&&W()==="("&&W(2)!=="?"){extglobOpen("qmark",G);continue}if(B&&B.type==="paren"){const e=W();let t=G;if(e==="<"&&!s.supportsLookbehinds()){throw new Error("Node.js v10 or higher is required for regex lookbehinds")}if(B.value==="("&&!/[!=<:]/.test(e)||e==="<"&&!/<([!=]|\w+>)/.test(remaining())){t=`\\${G}`}push({type:"text",value:G,output:t});continue}if(r.dot!==true&&(B.type==="slash"||B.type==="bos")){push({type:"qmark",value:G,output:P});continue}push({type:"qmark",value:G,output:k});continue}if(G==="!"){if(r.noextglob!==true&&W()==="("){if(W(2)!=="?"||!/[!=<:]/.test(W(3))){extglobOpen("negate",G);continue}}if(r.nonegate!==true&&I.index===0){negate();continue}}if(G==="+"){if(r.noextglob!==true&&W()==="("&&W(2)!=="?"){extglobOpen("plus",G);continue}if(B&&B.value==="("||r.regex===false){push({type:"plus",value:G,output:w});continue}if(B&&(B.type==="bracket"||B.type==="paren"||B.type==="brace")||I.parens>0){push({type:"plus",value:G});continue}push({type:"plus",value:w});continue}if(G==="@"){if(r.noextglob!==true&&W()==="("&&W(2)!=="?"){push({type:"at",extglob:true,value:G,output:""});continue}push({type:"text",value:G});continue}if(G!=="*"){if(G==="$"||G==="^"){G=`\\${G}`}const e=a.exec(remaining());if(e){G+=e[0];I.index+=e[0].length}push({type:"text",value:G});continue}if(B&&(B.type==="globstar"||B.star===true)){B.type="star";B.star=true;B.value+=G;B.output=N;I.backtrack=true;I.globstar=true;consume(G);continue}let t=remaining();if(r.noextglob!==true&&/^\([^?]/.test(t)){extglobOpen("star",G);continue}if(B.type==="star"){if(r.noglobstar===true){consume(G);continue}const n=B.prev;const s=n.prev;const i=n.type==="slash"||n.type==="bos";const o=s&&(s.type==="star"||s.type==="globstar");if(r.bash===true&&(!i||t[0]&&t[0]!=="/")){push({type:"star",value:G,output:""});continue}const a=I.braces>0&&(n.type==="comma"||n.type==="brace");const c=D.length&&(n.type==="pipe"||n.type==="paren");if(!i&&n.type!=="paren"&&!a&&!c){push({type:"star",value:G,output:""});continue}while(t.slice(0,3)==="/**"){const r=e[I.index+4];if(r&&r!=="/"){break}t=t.slice(3);consume("/**",3)}if(n.type==="bos"&&eos()){B.type="globstar";B.value+=G;B.output=globstar(r);I.output=B.output;I.globstar=true;consume(G);continue}if(n.type==="slash"&&n.prev.type!=="bos"&&!o&&eos()){I.output=I.output.slice(0,-(n.output+B.output).length);n.output=`(?:${n.output}`;B.type="globstar";B.output=globstar(r)+(r.strictSlashes?")":"|$)");B.value+=G;I.globstar=true;I.output+=n.output+B.output;consume(G);continue}if(n.type==="slash"&&n.prev.type!=="bos"&&t[0]==="/"){const e=t[1]!==void 0?"|$":"";I.output=I.output.slice(0,-(n.output+B.output).length);n.output=`(?:${n.output}`;B.type="globstar";B.output=`${globstar(r)}${S}|${S}${e})`;B.value+=G;I.output+=n.output+B.output;I.globstar=true;consume(G+U());push({type:"slash",value:"/",output:""});continue}if(n.type==="bos"&&t[0]==="/"){B.type="globstar";B.value+=G;B.output=`(?:^|${S}|${globstar(r)}${S})`;I.output=B.output;I.globstar=true;consume(G+U());push({type:"slash",value:"/",output:""});continue}I.output=I.output.slice(0,-B.output.length);B.type="globstar";B.output=globstar(r);B.value+=G;I.output+=B.output;I.globstar=true;consume(G);continue}const n={type:"star",value:G,output:N};if(r.bash===true){n.output=".*?";if(B.type==="bos"||B.type==="slash"){n.output=L+n.output}push(n);continue}if(B&&(B.type==="bracket"||B.type==="paren")&&r.regex===true){n.output=G;push(n);continue}if(I.index===I.start||B.type==="slash"||B.type==="dot"){if(B.type==="dot"){I.output+=A;B.output+=A}else if(r.dot===true){I.output+=O;B.output+=O}else{I.output+=L;B.output+=L}if(W()!=="*"){I.output+=_;B.output+=_}}push(n)}while(I.brackets>0){if(r.strictBrackets===true)throw new SyntaxError(syntaxError("closing","]"));I.output=s.escapeLast(I.output,"[");decrement("brackets")}while(I.parens>0){if(r.strictBrackets===true)throw new SyntaxError(syntaxError("closing",")"));I.output=s.escapeLast(I.output,"(");decrement("parens")}while(I.braces>0){if(r.strictBrackets===true)throw new SyntaxError(syntaxError("closing","}"));I.output=s.escapeLast(I.output,"{");decrement("braces")}if(r.strictSlashes!==true&&(B.type==="star"||B.type==="bracket")){push({type:"maybe_slash",value:"",output:`${S}?`})}if(I.backtrack===true){I.output="";for(const e of I.tokens){I.output+=e.output!=null?e.output:e.value;if(e.suffix){I.output+=e.suffix}}}return I};parse.fastpaths=(e,t)=>{const r={...t};const o=typeof r.maxLength==="number"?Math.min(i,r.maxLength):i;const a=e.length;if(a>o){throw new SyntaxError(`Input length: ${a}, exceeds maximum allowed length: ${o}`)}e=l[e]||e;const c=s.isWindows(t);const{DOT_LITERAL:u,SLASH_LITERAL:p,ONE_CHAR:h,DOTS_SLASH:d,NO_DOT:g,NO_DOTS:m,NO_DOTS_SLASH:y,STAR:v,START_ANCHOR:b}=n.globChars(c);const w=r.dot?m:g;const S=r.dot?y:g;const _=r.capture?"":"?:";const x={negated:false,prefix:""};let C=r.bash===true?".*?":v;if(r.capture){C=`(${C})`}const globstar=e=>{if(e.noglobstar===true)return C;return`(${_}(?:(?!${b}${e.dot?d:u}).)*?)`};const create=e=>{switch(e){case"*":return`${w}${h}${C}`;case".*":return`${u}${h}${C}`;case"*.*":return`${w}${C}${u}${h}${C}`;case"*/*":return`${w}${C}${p}${h}${S}${C}`;case"**":return w+globstar(r);case"**/*":return`(?:${w}${globstar(r)}${p})?${S}${h}${C}`;case"**/*.*":return`(?:${w}${globstar(r)}${p})?${S}${C}${u}${h}${C}`;case"**/.*":return`(?:${w}${globstar(r)}${p})?${u}${h}${C}`;default:{const t=/^(.*?)\.(\w+)$/.exec(e);if(!t)return;const r=create(t[1]);if(!r)return;return r+u+t[2]}}};const A=s.removePrefix(e,x);let O=create(A);if(O&&r.strictSlashes!==true){O+=`${p}?`}return O};e.exports=parse},7631:function(e,t,r){"use strict";const n=r(1017);const s=r(8640);const i=r(6986);const o=r(8658);const a=r(7820);const isObject=e=>e&&typeof e==="object"&&!Array.isArray(e);const picomatch=(e,t,r=false)=>{if(Array.isArray(e)){const n=e.map((e=>picomatch(e,t,r)));const arrayMatcher=e=>{for(const t of n){const r=t(e);if(r)return r}return false};return arrayMatcher}const n=isObject(e)&&e.tokens&&e.input;if(e===""||typeof e!=="string"&&!n){throw new TypeError("Expected pattern to be a non-empty string")}const s=t||{};const i=o.isWindows(t);const a=n?picomatch.compileRe(e,t):picomatch.makeRe(e,t,false,true);const c=a.state;delete a.state;let isIgnored=()=>false;if(s.ignore){const e={...t,ignore:null,onMatch:null,onResult:null};isIgnored=picomatch(s.ignore,e,r)}const matcher=(r,n=false)=>{const{isMatch:o,match:l,output:u}=picomatch.test(r,a,t,{glob:e,posix:i});const p={glob:e,state:c,regex:a,posix:i,input:r,output:u,match:l,isMatch:o};if(typeof s.onResult==="function"){s.onResult(p)}if(o===false){p.isMatch=false;return n?p:false}if(isIgnored(r)){if(typeof s.onIgnore==="function"){s.onIgnore(p)}p.isMatch=false;return n?p:false}if(typeof s.onMatch==="function"){s.onMatch(p)}return n?p:true};if(r){matcher.state=c}return matcher};picomatch.test=(e,t,r,{glob:n,posix:s}={})=>{if(typeof e!=="string"){throw new TypeError("Expected input to be a string")}if(e===""){return{isMatch:false,output:""}}const i=r||{};const a=i.format||(s?o.toPosixSlashes:null);let c=e===n;let l=c&&a?a(e):e;if(c===false){l=a?a(e):e;c=l===n}if(c===false||i.capture===true){if(i.matchBase===true||i.basename===true){c=picomatch.matchBase(e,t,r,s)}else{c=t.exec(l)}}return{isMatch:Boolean(c),match:c,output:l}};picomatch.matchBase=(e,t,r,s=o.isWindows(r))=>{const i=t instanceof RegExp?t:picomatch.makeRe(t,r);return i.test(n.basename(e))};picomatch.isMatch=(e,t,r)=>picomatch(t,r)(e);picomatch.parse=(e,t)=>{if(Array.isArray(e))return e.map((e=>picomatch.parse(e,t)));return i(e,{...t,fastpaths:false})};picomatch.scan=(e,t)=>s(e,t);picomatch.compileRe=(e,t,r=false,n=false)=>{if(r===true){return e.output}const s=t||{};const i=s.contains?"":"^";const o=s.contains?"":"$";let a=`${i}(?:${e.output})${o}`;if(e&&e.negated===true){a=`^(?!${a}).*$`}const c=picomatch.toRegex(a,t);if(n===true){c.state=e}return c};picomatch.makeRe=(e,t={},r=false,n=false)=>{if(!e||typeof e!=="string"){throw new TypeError("Expected a non-empty string")}let s={negated:false,fastpaths:true};if(t.fastpaths!==false&&(e[0]==="."||e[0]==="*")){s.output=i.fastpaths(e,t)}if(!s.output){s=i(e,t)}return picomatch.compileRe(s,t,r,n)};picomatch.toRegex=(e,t)=>{try{const r=t||{};return new RegExp(e,r.flags||(r.nocase?"i":""))}catch(e){if(t&&t.debug===true)throw e;return/$^/}};picomatch.constants=a;e.exports=picomatch},8640:function(e,t,r){"use strict";const n=r(8658);const{CHAR_ASTERISK:s,CHAR_AT:i,CHAR_BACKWARD_SLASH:o,CHAR_COMMA:a,CHAR_DOT:c,CHAR_EXCLAMATION_MARK:l,CHAR_FORWARD_SLASH:u,CHAR_LEFT_CURLY_BRACE:p,CHAR_LEFT_PARENTHESES:h,CHAR_LEFT_SQUARE_BRACKET:d,CHAR_PLUS:g,CHAR_QUESTION_MARK:m,CHAR_RIGHT_CURLY_BRACE:y,CHAR_RIGHT_PARENTHESES:v,CHAR_RIGHT_SQUARE_BRACKET:b}=r(7820);const isPathSeparator=e=>e===u||e===o;const depth=e=>{if(e.isPrefix!==true){e.depth=e.isGlobstar?Infinity:1}};const scan=(e,t)=>{const r=t||{};const w=e.length-1;const S=r.parts===true||r.scanToEnd===true;const _=[];const x=[];const C=[];let A=e;let O=-1;let k=0;let P=0;let R=false;let M=false;let L=false;let T=false;let N=false;let I=false;let D=false;let $=false;let j=false;let B=false;let G=0;let W;let U;let H={value:"",depth:0,isGlob:false};const eos=()=>O>=w;const peek=()=>A.charCodeAt(O+1);const advance=()=>{W=U;return A.charCodeAt(++O)};while(O<w){U=advance();let e;if(U===o){D=H.backslashes=true;U=advance();if(U===p){I=true}continue}if(I===true||U===p){G++;while(eos()!==true&&(U=advance())){if(U===o){D=H.backslashes=true;advance();continue}if(U===p){G++;continue}if(I!==true&&U===c&&(U=advance())===c){R=H.isBrace=true;L=H.isGlob=true;B=true;if(S===true){continue}break}if(I!==true&&U===a){R=H.isBrace=true;L=H.isGlob=true;B=true;if(S===true){continue}break}if(U===y){G--;if(G===0){I=false;R=H.isBrace=true;B=true;break}}}if(S===true){continue}break}if(U===u){_.push(O);x.push(H);H={value:"",depth:0,isGlob:false};if(B===true)continue;if(W===c&&O===k+1){k+=2;continue}P=O+1;continue}if(r.noext!==true){const e=U===g||U===i||U===s||U===m||U===l;if(e===true&&peek()===h){L=H.isGlob=true;T=H.isExtglob=true;B=true;if(U===l&&O===k){j=true}if(S===true){while(eos()!==true&&(U=advance())){if(U===o){D=H.backslashes=true;U=advance();continue}if(U===v){L=H.isGlob=true;B=true;break}}continue}break}}if(U===s){if(W===s)N=H.isGlobstar=true;L=H.isGlob=true;B=true;if(S===true){continue}break}if(U===m){L=H.isGlob=true;B=true;if(S===true){continue}break}if(U===d){while(eos()!==true&&(e=advance())){if(e===o){D=H.backslashes=true;advance();continue}if(e===b){M=H.isBracket=true;L=H.isGlob=true;B=true;break}}if(S===true){continue}break}if(r.nonegate!==true&&U===l&&O===k){$=H.negated=true;k++;continue}if(r.noparen!==true&&U===h){L=H.isGlob=true;if(S===true){while(eos()!==true&&(U=advance())){if(U===h){D=H.backslashes=true;U=advance();continue}if(U===v){B=true;break}}continue}break}if(L===true){B=true;if(S===true){continue}break}}if(r.noext===true){T=false;L=false}let Y=A;let q="";let V="";if(k>0){q=A.slice(0,k);A=A.slice(k);P-=k}if(Y&&L===true&&P>0){Y=A.slice(0,P);V=A.slice(P)}else if(L===true){Y="";V=A}else{Y=A}if(Y&&Y!==""&&Y!=="/"&&Y!==A){if(isPathSeparator(Y.charCodeAt(Y.length-1))){Y=Y.slice(0,-1)}}if(r.unescape===true){if(V)V=n.removeBackslashes(V);if(Y&&D===true){Y=n.removeBackslashes(Y)}}const Q={prefix:q,input:e,start:k,base:Y,glob:V,isBrace:R,isBracket:M,isGlob:L,isExtglob:T,isGlobstar:N,negated:$,negatedExtglob:j};if(r.tokens===true){Q.maxDepth=0;if(!isPathSeparator(U)){x.push(H)}Q.tokens=x}if(r.parts===true||r.tokens===true){let t;for(let n=0;n<_.length;n++){const s=t?t+1:k;const i=_[n];const o=e.slice(s,i);if(r.tokens){if(n===0&&k!==0){x[n].isPrefix=true;x[n].value=q}else{x[n].value=o}depth(x[n]);Q.maxDepth+=x[n].depth}if(n!==0||o!==""){C.push(o)}t=i}if(t&&t+1<e.length){const n=e.slice(t+1);C.push(n);if(r.tokens){x[x.length-1].value=n;depth(x[x.length-1]);Q.maxDepth+=x[x.length-1].depth}}Q.slashes=_;Q.parts=C}return Q};e.exports=scan},8658:function(e,t,r){"use strict";const n=r(1017);const s=process.platform==="win32";const{REGEX_BACKSLASH:i,REGEX_REMOVE_BACKSLASH:o,REGEX_SPECIAL_CHARS:a,REGEX_SPECIAL_CHARS_GLOBAL:c}=r(7820);t.isObject=e=>e!==null&&typeof e==="object"&&!Array.isArray(e);t.hasRegexChars=e=>a.test(e);t.isRegexChar=e=>e.length===1&&t.hasRegexChars(e);t.escapeRegex=e=>e.replace(c,"\\$1");t.toPosixSlashes=e=>e.replace(i,"/");t.removeBackslashes=e=>e.replace(o,(e=>e==="\\"?"":e));t.supportsLookbehinds=()=>{const e=process.version.slice(1).split(".").map(Number);if(e.length===3&&e[0]>=9||e[0]===8&&e[1]>=10){return true}return false};t.isWindows=e=>{if(e&&typeof e.windows==="boolean"){return e.windows}return s===true||n.sep==="\\"};t.escapeLast=(e,r,n)=>{const s=e.lastIndexOf(r,n);if(s===-1)return e;if(e[s-1]==="\\")return t.escapeLast(e,r,s-1);return`${e.slice(0,s)}\\${e.slice(s)}`};t.removePrefix=(e,t={})=>{let r=e;if(r.startsWith("./")){r=r.slice(2);t.prefix="./"}return r};t.wrapOutput=(e,t={},r={})=>{const n=r.contains?"":"^";const s=r.contains?"":"$";let i=`${n}(?:${e})${s}`;if(t.negated===true){i=`(?:^(?!${i}).*$)`}return i}},3678:function(e,t,r){let{Input:n}=r(5353);let s=r(854);e.exports=function safeParse(e,t){let r=new n(e,t);let i=new s(r);i.parse();return i.root}},854:function(e,t,r){let n=r(1249);let s=r(5570);let i=r(3108);class SafeParser extends i{createTokenizer(){this.tokenizer=n(this.input,{ignoreErrors:true})}comment(e){let t=new s;this.init(t,e[2]);let r=this.input.fromOffset(e[3])||this.input.fromOffset(this.input.css.length-1);t.source.end={offset:e[3],line:r.line,column:r.col};let n=e[1].slice(2);if(n.slice(-2)==="*/")n=n.slice(0,-2);if(/^\s*$/.test(n)){t.text="";t.raws.left=n;t.raws.right=""}else{let e=n.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2];t.raws.left=e[1];t.raws.right=e[3]}}decl(e){if(e.length>1&&e.some((e=>e[0]==="word"))){super.decl(e)}}unclosedBracket(){}unknownWord(e){this.spaces+=e.map((e=>e[1])).join("")}unexpectedClose(){this.current.raws.after+="}"}doubleColon(){}unnamedAtrule(e){e.name=""}precheckMissedSemicolon(e){let t=this.colon(e);if(t===false)return;let r,n;for(r=t-1;r>=0;r--){if(e[r][0]==="word")break}if(r===0)return;for(n=r-1;n>=0;n--){if(e[n][0]!=="space"){n+=1;break}}let s=e.slice(r);let i=e.slice(n,r);e.splice(n,e.length-n);this.spaces=i.map((e=>e[1])).join("");this.decl(s)}checkMissedSemicolon(){}endFile(){if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.current.raws.after=(this.current.raws.after||"")+this.spaces;while(this.current.parent){this.current=this.current.parent;this.current.raws.after=""}}}e.exports=SafeParser},7206:function(e,t,r){"use strict";let n=r(6609);class AtRule extends n{constructor(e){super(e);this.type="atrule"}append(...e){if(!this.proxyOf.nodes)this.nodes=[];return super.append(...e)}prepend(...e){if(!this.proxyOf.nodes)this.nodes=[];return super.prepend(...e)}}e.exports=AtRule;AtRule.default=AtRule;n.registerAtRule(AtRule)},5570:function(e,t,r){"use strict";let n=r(7180);class Comment extends n{constructor(e){super(e);this.type="comment"}}e.exports=Comment;Comment.default=Comment},6609:function(e,t,r){"use strict";let{isClean:n,my:s}=r(134);let i=r(3324);let o=r(5570);let a=r(7180);let c,l,u;function cleanSource(e){return e.map((e=>{if(e.nodes)e.nodes=cleanSource(e.nodes);delete e.source;return e}))}function markDirtyUp(e){e[n]=false;if(e.proxyOf.nodes){for(let t of e.proxyOf.nodes){markDirtyUp(t)}}}class Container extends a{push(e){e.parent=this;this.proxyOf.nodes.push(e);return this}each(e){if(!this.proxyOf.nodes)return undefined;let t=this.getIterator();let r,n;while(this.indexes[t]<this.proxyOf.nodes.length){r=this.indexes[t];n=e(this.proxyOf.nodes[r],r);if(n===false)break;this.indexes[t]+=1}delete this.indexes[t];return n}walk(e){return this.each(((t,r)=>{let n;try{n=e(t,r)}catch(e){throw t.addToError(e)}if(n!==false&&t.walk){n=t.walk(e)}return n}))}walkDecls(e,t){if(!t){t=e;return this.walk(((e,r)=>{if(e.type==="decl"){return t(e,r)}}))}if(e instanceof RegExp){return this.walk(((r,n)=>{if(r.type==="decl"&&e.test(r.prop)){return t(r,n)}}))}return this.walk(((r,n)=>{if(r.type==="decl"&&r.prop===e){return t(r,n)}}))}walkRules(e,t){if(!t){t=e;return this.walk(((e,r)=>{if(e.type==="rule"){return t(e,r)}}))}if(e instanceof RegExp){return this.walk(((r,n)=>{if(r.type==="rule"&&e.test(r.selector)){return t(r,n)}}))}return this.walk(((r,n)=>{if(r.type==="rule"&&r.selector===e){return t(r,n)}}))}walkAtRules(e,t){if(!t){t=e;return this.walk(((e,r)=>{if(e.type==="atrule"){return t(e,r)}}))}if(e instanceof RegExp){return this.walk(((r,n)=>{if(r.type==="atrule"&&e.test(r.name)){return t(r,n)}}))}return this.walk(((r,n)=>{if(r.type==="atrule"&&r.name===e){return t(r,n)}}))}walkComments(e){return this.walk(((t,r)=>{if(t.type==="comment"){return e(t,r)}}))}append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}this.markDirty();return this}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes){this.indexes[t]=this.indexes[t]+e.length}}this.markDirty();return this}cleanRaws(e){super.cleanRaws(e);if(this.nodes){for(let t of this.nodes)t.cleanRaws(e)}}insertBefore(e,t){e=this.index(e);let r=e===0?"prepend":false;let n=this.normalize(t,this.proxyOf.nodes[e],r).reverse();for(let t of n)this.proxyOf.nodes.splice(e,0,t);let s;for(let t in this.indexes){s=this.indexes[t];if(e<=s){this.indexes[t]=s+n.length}}this.markDirty();return this}insertAfter(e,t){e=this.index(e);let r=this.normalize(t,this.proxyOf.nodes[e]).reverse();for(let t of r)this.proxyOf.nodes.splice(e+1,0,t);let n;for(let t in this.indexes){n=this.indexes[t];if(e<n){this.indexes[t]=n+r.length}}this.markDirty();return this}removeChild(e){e=this.index(e);this.proxyOf.nodes[e].parent=undefined;this.proxyOf.nodes.splice(e,1);let t;for(let r in this.indexes){t=this.indexes[r];if(t>=e){this.indexes[r]=t-1}}this.markDirty();return this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=undefined;this.proxyOf.nodes=[];this.markDirty();return this}replaceValues(e,t,r){if(!r){r=t;t={}}this.walkDecls((n=>{if(t.props&&!t.props.includes(n.prop))return;if(t.fast&&!n.value.includes(t.fast))return;n.value=n.value.replace(e,r)}));this.markDirty();return this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){if(typeof e==="number")return e;if(e.proxyOf)e=e.proxyOf;return this.proxyOf.nodes.indexOf(e)}get first(){if(!this.proxyOf.nodes)return undefined;return this.proxyOf.nodes[0]}get last(){if(!this.proxyOf.nodes)return undefined;return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(e,t){if(typeof e==="string"){e=cleanSource(c(e).nodes)}else if(Array.isArray(e)){e=e.slice(0);for(let t of e){if(t.parent)t.parent.removeChild(t,"ignore")}}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let t of e){if(t.parent)t.parent.removeChild(t,"ignore")}}else if(e.type){e=[e]}else if(e.prop){if(typeof e.value==="undefined"){throw new Error("Value field is missed in node creation")}else if(typeof e.value!=="string"){e.value=String(e.value)}e=[new i(e)]}else if(e.selector){e=[new l(e)]}else if(e.name){e=[new u(e)]}else if(e.text){e=[new o(e)]}else{throw new Error("Unknown node type in node creation")}let r=e.map((e=>{if(!e[s])Container.rebuild(e);e=e.proxyOf;if(e.parent)e.parent.removeChild(e);if(e[n])markDirtyUp(e);if(typeof e.raws.before==="undefined"){if(t&&typeof t.raws.before!=="undefined"){e.raws.before=t.raws.before.replace(/\S/g,"")}}e.parent=this;return e}));return r}getProxyProcessor(){return{set(e,t,r){if(e[t]===r)return true;e[t]=r;if(t==="name"||t==="params"||t==="selector"){e.markDirty()}return true},get(e,t){if(t==="proxyOf"){return e}else if(!e[t]){return e[t]}else if(t==="each"||typeof t==="string"&&t.startsWith("walk")){return(...r)=>e[t](...r.map((e=>{if(typeof e==="function"){return(t,r)=>e(t.toProxy(),r)}else{return e}})))}else if(t==="every"||t==="some"){return r=>e[t](((e,...t)=>r(e.toProxy(),...t)))}else if(t==="root"){return()=>e.root().toProxy()}else if(t==="nodes"){return e.nodes.map((e=>e.toProxy()))}else if(t==="first"||t==="last"){return e[t].toProxy()}else{return e[t]}}}}getIterator(){if(!this.lastEach)this.lastEach=0;if(!this.indexes)this.indexes={};this.lastEach+=1;let e=this.lastEach;this.indexes[e]=0;return e}}Container.registerParse=e=>{c=e};Container.registerRule=e=>{l=e};Container.registerAtRule=e=>{u=e};e.exports=Container;Container.default=Container;Container.rebuild=e=>{if(e.type==="atrule"){Object.setPrototypeOf(e,u.prototype)}else if(e.type==="rule"){Object.setPrototypeOf(e,l.prototype)}else if(e.type==="decl"){Object.setPrototypeOf(e,i.prototype)}else if(e.type==="comment"){Object.setPrototypeOf(e,o.prototype)}e[s]=true;if(e.nodes){e.nodes.forEach((e=>{Container.rebuild(e)}))}}},6173:function(e,t,r){"use strict";let n=r(328);let s=r(4059);class CssSyntaxError extends Error{constructor(e,t,r,n,s,i){super(e);this.name="CssSyntaxError";this.reason=e;if(s){this.file=s}if(n){this.source=n}if(i){this.plugin=i}if(typeof t!=="undefined"&&typeof r!=="undefined"){if(typeof t==="number"){this.line=t;this.column=r}else{this.line=t.line;this.column=t.column;this.endLine=r.line;this.endColumn=r.column}}this.setMessage();if(Error.captureStackTrace){Error.captureStackTrace(this,CssSyntaxError)}}setMessage(){this.message=this.plugin?this.plugin+": ":"";this.message+=this.file?this.file:"<css input>";if(typeof this.line!=="undefined"){this.message+=":"+this.line+":"+this.column}this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;if(e==null)e=n.isColorSupported;if(s){if(e)t=s(t)}let r=t.split(/\r?\n/);let i=Math.max(this.line-3,0);let o=Math.min(this.line+2,r.length);let a=String(o).length;let c,l;if(e){let{bold:e,red:t,gray:r}=n.createColors(true);c=r=>e(t(r));l=e=>r(e)}else{c=l=e=>e}return r.slice(i,o).map(((e,t)=>{let r=i+1+t;let n=" "+(" "+r).slice(-a)+" | ";if(r===this.line){let t=l(n.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return c(">")+l(n)+e+"\n "+t+c("^")}return" "+l(n)+e})).join("\n")}toString(){let e=this.showSourceCode();if(e){e="\n\n"+e+"\n"}return this.name+": "+this.message+e}}e.exports=CssSyntaxError;CssSyntaxError.default=CssSyntaxError},3324:function(e,t,r){"use strict";let n=r(7180);class Declaration extends n{constructor(e){if(e&&typeof e.value!=="undefined"&&typeof e.value!=="string"){e={...e,value:String(e.value)}}super(e);this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}}e.exports=Declaration;Declaration.default=Declaration},71:function(e,t,r){"use strict";let n=r(6609);let s,i;class Document extends n{constructor(e){super({type:"document",...e});if(!this.nodes){this.nodes=[]}}toResult(e={}){let t=new s(new i,this,e);return t.stringify()}}Document.registerLazyResult=e=>{s=e};Document.registerProcessor=e=>{i=e};e.exports=Document;Document.default=Document},7333:function(e,t,r){"use strict";let n=r(3324);let s=r(9186);let i=r(5570);let o=r(7206);let a=r(2698);let c=r(2068);let l=r(9042);function fromJSON(e,t){if(Array.isArray(e))return e.map((e=>fromJSON(e)));let{inputs:r,...u}=e;if(r){t=[];for(let e of r){let r={...e,__proto__:a.prototype};if(r.map){r.map={...r.map,__proto__:s.prototype}}t.push(r)}}if(u.nodes){u.nodes=e.nodes.map((e=>fromJSON(e,t)))}if(u.source){let{inputId:e,...r}=u.source;u.source=r;if(e!=null){u.source.input=t[e]}}if(u.type==="root"){return new c(u)}else if(u.type==="decl"){return new n(u)}else if(u.type==="rule"){return new l(u)}else if(u.type==="comment"){return new i(u)}else if(u.type==="atrule"){return new o(u)}else{throw new Error("Unknown node type: "+e.type)}}e.exports=fromJSON;fromJSON.default=fromJSON},2698:function(e,t,r){"use strict";let{SourceMapConsumer:n,SourceMapGenerator:s}=r(1746);let{fileURLToPath:i,pathToFileURL:o}=r(7310);let{resolve:a,isAbsolute:c}=r(1017);let{nanoid:l}=r(4401);let u=r(4059);let p=r(6173);let h=r(9186);let d=Symbol("fromOffsetCache");let g=Boolean(n&&s);let m=Boolean(a&&c);class Input{constructor(e,t={}){if(e===null||typeof e==="undefined"||typeof e==="object"&&!e.toString){throw new Error(`PostCSS received ${e} instead of CSS string`)}this.css=e.toString();if(this.css[0]==="\ufeff"||this.css[0]===""){this.hasBOM=true;this.css=this.css.slice(1)}else{this.hasBOM=false}if(t.from){if(!m||/^\w+:\/\//.test(t.from)||c(t.from)){this.file=t.from}else{this.file=a(t.from)}}if(m&&g){let e=new h(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;if(!this.file&&t)this.file=this.mapResolve(t)}}if(!this.file){this.id="<input css "+l(6)+">"}if(this.map)this.map.file=this.from}fromOffset(e){let t,r;if(!this[d]){let e=this.css.split("\n");r=new Array(e.length);let t=0;for(let n=0,s=e.length;n<s;n++){r[n]=t;t+=e[n].length+1}this[d]=r}else{r=this[d]}t=r[r.length-1];let n=0;if(e>=t){n=r.length-1}else{let t=r.length-2;let s;while(n<t){s=n+(t-n>>1);if(e<r[s]){t=s-1}else if(e>=r[s+1]){n=s+1}else{n=s;break}}}return{line:n+1,col:e-r[n]+1}}error(e,t,r,n={}){let s,i,a;if(t&&typeof t==="object"){let e=t;let n=r;if(typeof t.offset==="number"){let n=this.fromOffset(e.offset);t=n.line;r=n.col}else{t=e.line;r=e.column}if(typeof n.offset==="number"){let e=this.fromOffset(n.offset);i=e.line;a=e.col}else{i=n.line;a=n.column}}else if(!r){let e=this.fromOffset(t);t=e.line;r=e.col}let c=this.origin(t,r,i,a);if(c){s=new p(e,c.endLine===undefined?c.line:{line:c.line,column:c.column},c.endLine===undefined?c.column:{line:c.endLine,column:c.endColumn},c.source,c.file,n.plugin)}else{s=new p(e,i===undefined?t:{line:t,column:r},i===undefined?r:{line:i,column:a},this.css,this.file,n.plugin)}s.input={line:t,column:r,endLine:i,endColumn:a,source:this.css};if(this.file){if(o){s.input.url=o(this.file).toString()}s.input.file=this.file}return s}origin(e,t,r,n){if(!this.map)return false;let s=this.map.consumer();let a=s.originalPositionFor({line:e,column:t});if(!a.source)return false;let l;if(typeof r==="number"){l=s.originalPositionFor({line:r,column:n})}let u;if(c(a.source)){u=o(a.source)}else{u=new URL(a.source,this.map.consumer().sourceRoot||o(this.map.mapFile))}let p={url:u.toString(),line:a.line,column:a.column,endLine:l&&l.line,endColumn:l&&l.column};if(u.protocol==="file:"){if(i){p.file=i(u)}else{throw new Error(`file: protocol is not available in this PostCSS build`)}}let h=s.sourceContentFor(a.source);if(h)p.source=h;return p}mapResolve(e){if(/^\w+:\/\//.test(e)){return e}return a(this.map.consumer().sourceRoot||this.map.root||".",e)}get from(){return this.file||this.id}toJSON(){let e={};for(let t of["hasBOM","css","file","id"]){if(this[t]!=null){e[t]=this[t]}}if(this.map){e.map={...this.map};if(e.map.consumerCache){e.map.consumerCache=undefined}}return e}}e.exports=Input;Input.default=Input;if(u&&u.registerInput){u.registerInput(Input)}},7865:function(e,t,r){"use strict";let{isClean:n,my:s}=r(134);let i=r(321);let o=r(9410);let a=r(6609);let c=r(71);let l=r(9883);let u=r(4264);let p=r(8524);let h=r(2068);const d={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"};const g={postcssPlugin:true,prepare:true,Once:true,Document:true,Root:true,Declaration:true,Rule:true,AtRule:true,Comment:true,DeclarationExit:true,RuleExit:true,AtRuleExit:true,CommentExit:true,RootExit:true,DocumentExit:true,OnceExit:true};const m={postcssPlugin:true,prepare:true,Once:true};const y=0;function isPromise(e){return typeof e==="object"&&typeof e.then==="function"}function getEvents(e){let t=false;let r=d[e.type];if(e.type==="decl"){t=e.prop.toLowerCase()}else if(e.type==="atrule"){t=e.name.toLowerCase()}if(t&&e.append){return[r,r+"-"+t,y,r+"Exit",r+"Exit-"+t]}else if(t){return[r,r+"-"+t,r+"Exit",r+"Exit-"+t]}else if(e.append){return[r,y,r+"Exit"]}else{return[r,r+"Exit"]}}function toStack(e){let t;if(e.type==="document"){t=["Document",y,"DocumentExit"]}else if(e.type==="root"){t=["Root",y,"RootExit"]}else{t=getEvents(e)}return{node:e,events:t,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function cleanMarks(e){e[n]=false;if(e.nodes)e.nodes.forEach((e=>cleanMarks(e)));return e}let v={};class LazyResult{constructor(e,t,r){this.stringified=false;this.processed=false;let n;if(typeof t==="object"&&t!==null&&(t.type==="root"||t.type==="document")){n=cleanMarks(t)}else if(t instanceof LazyResult||t instanceof u){n=cleanMarks(t.root);if(t.map){if(typeof r.map==="undefined")r.map={};if(!r.map.inline)r.map.inline=false;r.map.prev=t.map}}else{let e=p;if(r.syntax)e=r.syntax.parse;if(r.parser)e=r.parser;if(e.parse)e=e.parse;try{n=e(t,r)}catch(e){this.processed=true;this.error=e}if(n&&!n[s]){a.rebuild(n)}}this.result=new u(e,n,r);this.helpers={...v,result:this.result,postcss:v};this.plugins=this.processor.plugins.map((e=>{if(typeof e==="object"&&e.prepare){return{...e,...e.prepare(this.result)}}else{return e}}))}get[Symbol.toStringTag](){return"LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(e,t){if(process.env.NODE_ENV!=="production"){if(!("from"in this.opts)){l("Without `from` option PostCSS could generate wrong source map "+"and will not find Browserslist config. Set it to CSS file path "+"or to `undefined` to prevent this warning.")}}return this.async().then(e,t)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){if(this.error)return Promise.reject(this.error);if(this.processed)return Promise.resolve(this.result);if(!this.processing){this.processing=this.runAsync()}return this.processing}sync(){if(this.error)throw this.error;if(this.processed)return this.result;this.processed=true;if(this.processing){throw this.getAsyncError()}for(let e of this.plugins){let t=this.runOnRoot(e);if(isPromise(t)){throw this.getAsyncError()}}this.prepareVisitors();if(this.hasListener){let e=this.result.root;while(!e[n]){e[n]=true;this.walkSync(e)}if(this.listeners.OnceExit){if(e.type==="document"){for(let t of e.nodes){this.visitSync(this.listeners.OnceExit,t)}}else{this.visitSync(this.listeners.OnceExit,e)}}}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=true;this.sync();let e=this.result.opts;let t=o;if(e.syntax)t=e.syntax.stringify;if(e.stringifier)t=e.stringifier;if(t.stringify)t=t.stringify;let r=new i(t,this.result.root,this.result.opts);let n=r.generate();this.result.css=n[0];this.result.map=n[1];return this.result}walkSync(e){e[n]=true;let t=getEvents(e);for(let r of t){if(r===y){if(e.nodes){e.each((e=>{if(!e[n])this.walkSync(e)}))}}else{let t=this.listeners[r];if(t){if(this.visitSync(t,e.toProxy()))return}}}}visitSync(e,t){for(let[r,n]of e){this.result.lastPlugin=r;let e;try{e=n(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if(t.type!=="root"&&t.type!=="document"&&!t.parent){return true}if(isPromise(e)){throw this.getAsyncError()}}}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e==="object"&&e.Once){if(this.result.root.type==="document"){let t=this.result.root.nodes.map((t=>e.Once(t,this.helpers)));if(isPromise(t[0])){return Promise.all(t)}return t}return e.Once(this.result.root,this.helpers)}else if(typeof e==="function"){return e(this.result.root,this.result)}}catch(e){throw this.handleError(e)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let r=this.result.lastPlugin;try{if(t)t.addToError(e);this.error=e;if(e.name==="CssSyntaxError"&&!e.plugin){e.plugin=r.postcssPlugin;e.setMessage()}else if(r.postcssVersion){if(process.env.NODE_ENV!=="production"){let e=r.postcssPlugin;let t=r.postcssVersion;let n=this.result.processor.version;let s=t.split(".");let i=n.split(".");if(s[0]!==i[0]||parseInt(s[1])>parseInt(i[1])){console.error("Unknown error from PostCSS plugin. Your current PostCSS "+"version is "+n+", but "+e+" uses "+t+". Perhaps this is the source of the error below.")}}}}catch(e){if(console&&console.error)console.error(e)}return e}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e];let r=this.runOnRoot(t);if(isPromise(r)){try{await r}catch(e){throw this.handleError(e)}}}this.prepareVisitors();if(this.hasListener){let e=this.result.root;while(!e[n]){e[n]=true;let t=[toStack(e)];while(t.length>0){let e=this.visitTick(t);if(isPromise(e)){try{await e}catch(e){let r=t[t.length-1].node;throw this.handleError(e,r)}}}}if(this.listeners.OnceExit){for(let[t,r]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if(e.type==="document"){let t=e.nodes.map((e=>r(e,this.helpers)));await Promise.all(t)}else{await r(e,this.helpers)}}catch(e){throw this.handleError(e)}}}}this.processed=true;return this.stringify()}prepareVisitors(){this.listeners={};let add=(e,t,r)=>{if(!this.listeners[t])this.listeners[t]=[];this.listeners[t].push([e,r])};for(let e of this.plugins){if(typeof e==="object"){for(let t in e){if(!g[t]&&/^[A-Z]/.test(t)){throw new Error(`Unknown event ${t} in ${e.postcssPlugin}. `+`Try to update PostCSS (${this.processor.version} now).`)}if(!m[t]){if(typeof e[t]==="object"){for(let r in e[t]){if(r==="*"){add(e,t,e[t][r])}else{add(e,t+"-"+r.toLowerCase(),e[t][r])}}}else if(typeof e[t]==="function"){add(e,t,e[t])}}}}}this.hasListener=Object.keys(this.listeners).length>0}visitTick(e){let t=e[e.length-1];let{node:r,visitors:s}=t;if(r.type!=="root"&&r.type!=="document"&&!r.parent){e.pop();return}if(s.length>0&&t.visitorIndex<s.length){let[e,n]=s[t.visitorIndex];t.visitorIndex+=1;if(t.visitorIndex===s.length){t.visitors=[];t.visitorIndex=0}this.result.lastPlugin=e;try{return n(r.toProxy(),this.helpers)}catch(e){throw this.handleError(e,r)}}if(t.iterator!==0){let s=t.iterator;let i;while(i=r.nodes[r.indexes[s]]){r.indexes[s]+=1;if(!i[n]){i[n]=true;e.push(toStack(i));return}}t.iterator=0;delete r.indexes[s]}let i=t.events;while(t.eventIndex<i.length){let e=i[t.eventIndex];t.eventIndex+=1;if(e===y){if(r.nodes&&r.nodes.length){r[n]=true;t.iterator=r.getIterator()}return}else if(this.listeners[e]){t.visitors=this.listeners[e];return}}e.pop()}}LazyResult.registerPostcss=e=>{v=e};e.exports=LazyResult;LazyResult.default=LazyResult;h.registerLazyResult(LazyResult);c.registerLazyResult(LazyResult)},5258:function(e){"use strict";let t={split(e,t,r){let n=[];let s="";let i=false;let o=0;let a=false;let c=false;for(let r of e){if(c){c=false}else if(r==="\\"){c=true}else if(a){if(r===a){a=false}}else if(r==='"'||r==="'"){a=r}else if(r==="("){o+=1}else if(r===")"){if(o>0)o-=1}else if(o===0){if(t.includes(r))i=true}if(i){if(s!=="")n.push(s.trim());s="";i=false}else{s+=r}}if(r||s!=="")n.push(s.trim());return n},space(e){let r=[" ","\n","\t"];return t.split(e,r)},comma(e){return t.split(e,[","],true)}};e.exports=t;t.default=t},321:function(e,t,r){"use strict";let{SourceMapConsumer:n,SourceMapGenerator:s}=r(1746);let{dirname:i,resolve:o,relative:a,sep:c}=r(1017);let{pathToFileURL:l}=r(7310);let u=r(2698);let p=Boolean(n&&s);let h=Boolean(i&&o&&a&&c);class MapGenerator{constructor(e,t,r,n){this.stringify=e;this.mapOpts=r.map||{};this.root=t;this.opts=r;this.css=n}isMap(){if(typeof this.opts.map!=="undefined"){return!!this.opts.map}return this.previous().length>0}previous(){if(!this.previousMaps){this.previousMaps=[];if(this.root){this.root.walk((e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;if(!this.previousMaps.includes(t)){this.previousMaps.push(t)}}}))}else{let e=new u(this.css,this.opts);if(e.map)this.previousMaps.push(e.map)}}return this.previousMaps}isInline(){if(typeof this.mapOpts.inline!=="undefined"){return this.mapOpts.inline}let e=this.mapOpts.annotation;if(typeof e!=="undefined"&&e!==true){return false}if(this.previous().length){return this.previous().some((e=>e.inline))}return true}isSourcesContent(){if(typeof this.mapOpts.sourcesContent!=="undefined"){return this.mapOpts.sourcesContent}if(this.previous().length){return this.previous().some((e=>e.withContent()))}return true}clearAnnotation(){if(this.mapOpts.annotation===false)return;if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--){e=this.root.nodes[t];if(e.type!=="comment")continue;if(e.text.indexOf("# sourceMappingURL=")===0){this.root.removeChild(t)}}}else if(this.css){this.css=this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm,"")}}setSourcesContent(){let e={};if(this.root){this.root.walk((t=>{if(t.source){let r=t.source.input.from;if(r&&!e[r]){e[r]=true;this.map.setSourceContent(this.toUrl(this.path(r)),t.source.input.css)}}}))}else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(e,this.css)}}applyPrevMaps(){for(let e of this.previous()){let t=this.toUrl(this.path(e.file));let r=e.root||i(e.file);let s;if(this.mapOpts.sourcesContent===false){s=new n(e.text);if(s.sourcesContent){s.sourcesContent=s.sourcesContent.map((()=>null))}}else{s=e.consumer()}this.map.applySourceMap(s,t,this.toUrl(this.path(r)))}}isAnnotation(){if(this.isInline()){return true}if(typeof this.mapOpts.annotation!=="undefined"){return this.mapOpts.annotation}if(this.previous().length){return this.previous().some((e=>e.annotation))}return true}toBase64(e){if(Buffer){return Buffer.from(e).toString("base64")}else{return window.btoa(unescape(encodeURIComponent(e)))}}addAnnotation(){let e;if(this.isInline()){e="data:application/json;base64,"+this.toBase64(this.map.toString())}else if(typeof this.mapOpts.annotation==="string"){e=this.mapOpts.annotation}else if(typeof this.mapOpts.annotation==="function"){e=this.mapOpts.annotation(this.opts.to,this.root)}else{e=this.outputFile()+".map"}let t="\n";if(this.css.includes("\r\n"))t="\r\n";this.css+=t+"/*# sourceMappingURL="+e+" */"}outputFile(){if(this.opts.to){return this.path(this.opts.to)}else if(this.opts.from){return this.path(this.opts.from)}else{return"to.css"}}generateMap(){if(this.root){this.generateString()}else if(this.previous().length===1){let e=this.previous()[0].consumer();e.file=this.outputFile();this.map=s.fromSourceMap(e)}else{this.map=new s({file:this.outputFile()});this.map.addMapping({source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>",generated:{line:1,column:0},original:{line:1,column:0}})}if(this.isSourcesContent())this.setSourcesContent();if(this.root&&this.previous().length>0)this.applyPrevMaps();if(this.isAnnotation())this.addAnnotation();if(this.isInline()){return[this.css]}else{return[this.css,this.map]}}path(e){if(e.indexOf("<")===0)return e;if(/^\w+:\/\//.test(e))return e;if(this.mapOpts.absolute)return e;let t=this.opts.to?i(this.opts.to):".";if(typeof this.mapOpts.annotation==="string"){t=i(o(t,this.mapOpts.annotation))}e=a(t,e);return e}toUrl(e){if(c==="\\"){e=e.replace(/\\/g,"/")}return encodeURI(e).replace(/[#?]/g,encodeURIComponent)}sourcePath(e){if(this.mapOpts.from){return this.toUrl(this.mapOpts.from)}else if(this.mapOpts.absolute){if(l){return l(e.source.input.from).toString()}else{throw new Error("`map.absolute` option is not available in this PostCSS build")}}else{return this.toUrl(this.path(e.source.input.from))}}generateString(){this.css="";this.map=new s({file:this.outputFile()});let e=1;let t=1;let r="<no source>";let n={source:"",generated:{line:0,column:0},original:{line:0,column:0}};let i,o;this.stringify(this.root,((s,a,c)=>{this.css+=s;if(a&&c!=="end"){n.generated.line=e;n.generated.column=t-1;if(a.source&&a.source.start){n.source=this.sourcePath(a);n.original.line=a.source.start.line;n.original.column=a.source.start.column-1;this.map.addMapping(n)}else{n.source=r;n.original.line=1;n.original.column=0;this.map.addMapping(n)}}i=s.match(/\n/g);if(i){e+=i.length;o=s.lastIndexOf("\n");t=s.length-o}else{t+=s.length}if(a&&c!=="start"){let s=a.parent||{raws:{}};if(a.type!=="decl"||a!==s.last||s.raws.semicolon){if(a.source&&a.source.end){n.source=this.sourcePath(a);n.original.line=a.source.end.line;n.original.column=a.source.end.column-1;n.generated.line=e;n.generated.column=t-2;this.map.addMapping(n)}else{n.source=r;n.original.line=1;n.original.column=0;n.generated.line=e;n.generated.column=t-1;this.map.addMapping(n)}}}}))}generate(){this.clearAnnotation();if(h&&p&&this.isMap()){return this.generateMap()}else{let e="";this.stringify(this.root,(t=>{e+=t}));return[e]}}}e.exports=MapGenerator},9514:function(e,t,r){"use strict";let n=r(321);let s=r(9410);let i=r(9883);let o=r(8524);const a=r(4264);class NoWorkResult{constructor(e,t,r){t=t.toString();this.stringified=false;this._processor=e;this._css=t;this._opts=r;this._map=undefined;let i;let o=s;this.result=new a(this._processor,i,this._opts);this.result.css=t;let c=this;Object.defineProperty(this.result,"root",{get(){return c.root}});let l=new n(o,i,this._opts,t);if(l.isMap()){let[e,t]=l.generate();if(e){this.result.css=e}if(t){this.result.map=t}}}get[Symbol.toStringTag](){return"NoWorkResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.result.css}get content(){return this.result.css}get map(){return this.result.map}get root(){if(this._root){return this._root}let e;let t=o;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error){throw this.error}else{this._root=e;return e}}get messages(){return[]}warnings(){return[]}toString(){return this._css}then(e,t){if(process.env.NODE_ENV!=="production"){if(!("from"in this._opts)){i("Without `from` option PostCSS could generate wrong source map "+"and will not find Browserslist config. Set it to CSS file path "+"or to `undefined` to prevent this warning.")}}return this.async().then(e,t)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){if(this.error)return Promise.reject(this.error);return Promise.resolve(this.result)}sync(){if(this.error)throw this.error;return this.result}}e.exports=NoWorkResult;NoWorkResult.default=NoWorkResult},7180:function(e,t,r){"use strict";let{isClean:n,my:s}=r(134);let i=r(6173);let o=r(6476);let a=r(9410);function cloneNode(e,t){let r=new e.constructor;for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n)){continue}if(n==="proxyCache")continue;let s=e[n];let i=typeof s;if(n==="parent"&&i==="object"){if(t)r[n]=t}else if(n==="source"){r[n]=s}else if(Array.isArray(s)){r[n]=s.map((e=>cloneNode(e,r)))}else{if(i==="object"&&s!==null)s=cloneNode(s);r[n]=s}}return r}class Node{constructor(e={}){this.raws={};this[n]=false;this[s]=true;for(let t in e){if(t==="nodes"){this.nodes=[];for(let r of e[t]){if(typeof r.clone==="function"){this.append(r.clone())}else{this.append(r)}}}else{this[t]=e[t]}}}error(e,t={}){if(this.source){let{start:r,end:n}=this.rangeBy(t);return this.source.input.error(e,{line:r.line,column:r.column},{line:n.line,column:n.column},t)}return new i(e)}warn(e,t,r){let n={node:this};for(let e in r)n[e]=r[e];return e.warn(t,n)}remove(){if(this.parent){this.parent.removeChild(this)}this.parent=undefined;return this}toString(e=a){if(e.stringify)e=e.stringify;let t="";e(this,(e=>{t+=e}));return t}assign(e={}){for(let t in e){this[t]=e[t]}return this}clone(e={}){let t=cloneNode(this);for(let r in e){t[r]=e[r]}return t}cloneBefore(e={}){let t=this.clone(e);this.parent.insertBefore(this,t);return t}cloneAfter(e={}){let t=this.clone(e);this.parent.insertAfter(this,t);return t}replaceWith(...e){if(this.parent){let t=this;let r=false;for(let n of e){if(n===this){r=true}else if(r){this.parent.insertAfter(t,n);t=n}else{this.parent.insertBefore(t,n)}}if(!r){this.remove()}}return this}next(){if(!this.parent)return undefined;let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){if(!this.parent)return undefined;let e=this.parent.index(this);return this.parent.nodes[e-1]}before(e){this.parent.insertBefore(this,e);return this}after(e){this.parent.insertAfter(this,e);return this}root(){let e=this;while(e.parent&&e.parent.type!=="document"){e=e.parent}return e}raw(e,t){let r=new o;return r.raw(this,e,t)}cleanRaws(e){delete this.raws.before;delete this.raws.after;if(!e)delete this.raws.between}toJSON(e,t){let r={};let n=t==null;t=t||new Map;let s=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e)){continue}if(e==="parent"||e==="proxyCache")continue;let n=this[e];if(Array.isArray(n)){r[e]=n.map((e=>{if(typeof e==="object"&&e.toJSON){return e.toJSON(null,t)}else{return e}}))}else if(typeof n==="object"&&n.toJSON){r[e]=n.toJSON(null,t)}else if(e==="source"){let i=t.get(n.input);if(i==null){i=s;t.set(n.input,s);s++}r[e]={inputId:i,start:n.start,end:n.end}}else{r[e]=n}}if(n){r.inputs=[...t.keys()].map((e=>e.toJSON()))}return r}positionInside(e){let t=this.toString();let r=this.source.start.column;let n=this.source.start.line;for(let s=0;s<e;s++){if(t[s]==="\n"){r=1;n+=1}else{r+=1}}return{line:n,column:r}}positionBy(e){let t=this.source.start;if(e.index){t=this.positionInside(e.index)}else if(e.word){let r=this.toString().indexOf(e.word);if(r!==-1)t=this.positionInside(r)}return t}rangeBy(e){let t={line:this.source.start.line,column:this.source.start.column};let r=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:t.line,column:t.column+1};if(e.word){let n=this.toString().indexOf(e.word);if(n!==-1){t=this.positionInside(n);r=this.positionInside(n+e.word.length)}}else{if(e.start){t={line:e.start.line,column:e.start.column}}else if(e.index){t=this.positionInside(e.index)}if(e.end){r={line:e.end.line,column:e.end.column}}else if(e.endIndex){r=this.positionInside(e.endIndex)}else if(e.index){r=this.positionInside(e.index+1)}}if(r.line<t.line||r.line===t.line&&r.column<=t.column){r={line:t.line,column:t.column+1}}return{start:t,end:r}}getProxyProcessor(){return{set(e,t,r){if(e[t]===r)return true;e[t]=r;if(t==="prop"||t==="value"||t==="name"||t==="params"||t==="important"||t==="text"){e.markDirty()}return true},get(e,t){if(t==="proxyOf"){return e}else if(t==="root"){return()=>e.root().toProxy()}else{return e[t]}}}}toProxy(){if(!this.proxyCache){this.proxyCache=new Proxy(this,this.getProxyProcessor())}return this.proxyCache}addToError(e){e.postcssNode=this;if(e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}markDirty(){if(this[n]){this[n]=false;let e=this;while(e=e.parent){e[n]=false}}}get proxyOf(){return this}}e.exports=Node;Node.default=Node},8524:function(e,t,r){"use strict";let n=r(6609);let s=r(3108);let i=r(2698);function parse(e,t){let r=new i(e,t);let n=new s(r);try{n.parse()}catch(e){if(process.env.NODE_ENV!=="production"){if(e.name==="CssSyntaxError"&&t&&t.from){if(/\.scss$/i.test(t.from)){e.message+="\nYou tried to parse SCSS with "+"the standard CSS parser; "+"try again with the postcss-scss parser"}else if(/\.sass/i.test(t.from)){e.message+="\nYou tried to parse Sass with "+"the standard CSS parser; "+"try again with the postcss-sass parser"}else if(/\.less$/i.test(t.from)){e.message+="\nYou tried to parse Less with "+"the standard CSS parser; "+"try again with the postcss-less parser"}}}throw e}return n.root}e.exports=parse;parse.default=parse;n.registerParse(parse)},3108:function(e,t,r){"use strict";let n=r(3324);let s=r(1249);let i=r(5570);let o=r(7206);let a=r(2068);let c=r(9042);const l={empty:true,space:true};function findLastWithPosition(e){for(let t=e.length-1;t>=0;t--){let r=e[t];let n=r[3]||r[2];if(n)return n}}class Parser{constructor(e){this.input=e;this.root=new a;this.current=this.root;this.spaces="";this.semicolon=false;this.customProperty=false;this.createTokenizer();this.root.source={input:e,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=s(this.input)}parse(){let e;while(!this.tokenizer.endOfFile()){e=this.tokenizer.nextToken();switch(e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}}this.endFile()}comment(e){let t=new i;this.init(t,e[2]);t.source.end=this.getPosition(e[3]||e[2]);let r=e[1].slice(2,-2);if(/^\s*$/.test(r)){t.text="";t.raws.left=r;t.raws.right=""}else{let e=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2];t.raws.left=e[1];t.raws.right=e[3]}}emptyRule(e){let t=new c;this.init(t,e[2]);t.selector="";t.raws.between="";this.current=t}other(e){let t=false;let r=null;let n=false;let s=null;let i=[];let o=e[1].startsWith("--");let a=[];let c=e;while(c){r=c[0];a.push(c);if(r==="("||r==="["){if(!s)s=c;i.push(r==="("?")":"]")}else if(o&&n&&r==="{"){if(!s)s=c;i.push("}")}else if(i.length===0){if(r===";"){if(n){this.decl(a,o);return}else{break}}else if(r==="{"){this.rule(a);return}else if(r==="}"){this.tokenizer.back(a.pop());t=true;break}else if(r===":"){n=true}}else if(r===i[i.length-1]){i.pop();if(i.length===0)s=null}c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile())t=true;if(i.length>0)this.unclosedBracket(s);if(t&&n){if(!o){while(a.length){c=a[a.length-1][0];if(c!=="space"&&c!=="comment")break;this.tokenizer.back(a.pop())}}this.decl(a,o)}else{this.unknownWord(a)}}rule(e){e.pop();let t=new c;this.init(t,e[0][2]);t.raws.between=this.spacesAndCommentsFromEnd(e);this.raw(t,"selector",e);this.current=t}decl(e,t){let r=new n;this.init(r,e[0][2]);let s=e[e.length-1];if(s[0]===";"){this.semicolon=true;e.pop()}r.source.end=this.getPosition(s[3]||s[2]||findLastWithPosition(e));while(e[0][0]!=="word"){if(e.length===1)this.unknownWord(e);r.raws.before+=e.shift()[1]}r.source.start=this.getPosition(e[0][2]);r.prop="";while(e.length){let t=e[0][0];if(t===":"||t==="space"||t==="comment"){break}r.prop+=e.shift()[1]}r.raws.between="";let i;while(e.length){i=e.shift();if(i[0]===":"){r.raws.between+=i[1];break}else{if(i[0]==="word"&&/\w/.test(i[1])){this.unknownWord([i])}r.raws.between+=i[1]}}if(r.prop[0]==="_"||r.prop[0]==="*"){r.raws.before+=r.prop[0];r.prop=r.prop.slice(1)}let o=[];let a;while(e.length){a=e[0][0];if(a!=="space"&&a!=="comment")break;o.push(e.shift())}this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){i=e[t];if(i[1].toLowerCase()==="!important"){r.important=true;let n=this.stringFrom(e,t);n=this.spacesFromEnd(e)+n;if(n!==" !important")r.raws.important=n;break}else if(i[1].toLowerCase()==="important"){let n=e.slice(0);let s="";for(let e=t;e>0;e--){let t=n[e][0];if(s.trim().indexOf("!")===0&&t!=="space"){break}s=n.pop()[1]+s}if(s.trim().indexOf("!")===0){r.important=true;r.raws.important=s;e=n}}if(i[0]!=="space"&&i[0]!=="comment"){break}}let c=e.some((e=>e[0]!=="space"&&e[0]!=="comment"));if(c){r.raws.between+=o.map((e=>e[1])).join("");o=[]}this.raw(r,"value",o.concat(e),t);if(r.value.includes(":")&&!t){this.checkMissedSemicolon(e)}}atrule(e){let t=new o;t.name=e[1].slice(1);if(t.name===""){this.unnamedAtrule(t,e)}this.init(t,e[2]);let r;let n;let s;let i=false;let a=false;let c=[];let l=[];while(!this.tokenizer.endOfFile()){e=this.tokenizer.nextToken();r=e[0];if(r==="("||r==="["){l.push(r==="("?")":"]")}else if(r==="{"&&l.length>0){l.push("}")}else if(r===l[l.length-1]){l.pop()}if(l.length===0){if(r===";"){t.source.end=this.getPosition(e[2]);this.semicolon=true;break}else if(r==="{"){a=true;break}else if(r==="}"){if(c.length>0){s=c.length-1;n=c[s];while(n&&n[0]==="space"){n=c[--s]}if(n){t.source.end=this.getPosition(n[3]||n[2])}}this.end(e);break}else{c.push(e)}}else{c.push(e)}if(this.tokenizer.endOfFile()){i=true;break}}t.raws.between=this.spacesAndCommentsFromEnd(c);if(c.length){t.raws.afterName=this.spacesAndCommentsFromStart(c);this.raw(t,"params",c);if(i){e=c[c.length-1];t.source.end=this.getPosition(e[3]||e[2]);this.spaces=t.raws.between;t.raws.between=""}}else{t.raws.afterName="";t.params=""}if(a){t.nodes=[];this.current=t}}end(e){if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.semicolon=false;this.current.raws.after=(this.current.raws.after||"")+this.spaces;this.spaces="";if(this.current.parent){this.current.source.end=this.getPosition(e[2]);this.current=this.current.parent}else{this.unexpectedClose(e)}}endFile(){if(this.current.parent)this.unclosedBlock();if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.current.raws.after=(this.current.raws.after||"")+this.spaces}freeSemicolon(e){this.spaces+=e[1];if(this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];if(e&&e.type==="rule"&&!e.raws.ownSemicolon){e.raws.ownSemicolon=this.spaces;this.spaces=""}}}getPosition(e){let t=this.input.fromOffset(e);return{offset:e,line:t.line,column:t.col}}init(e,t){this.current.push(e);e.source={start:this.getPosition(t),input:this.input};e.raws.before=this.spaces;this.spaces="";if(e.type!=="comment")this.semicolon=false}raw(e,t,r,n){let s,i;let o=r.length;let a="";let c=true;let u,p;for(let e=0;e<o;e+=1){s=r[e];i=s[0];if(i==="space"&&e===o-1&&!n){c=false}else if(i==="comment"){p=r[e-1]?r[e-1][0]:"empty";u=r[e+1]?r[e+1][0]:"empty";if(!l[p]&&!l[u]){if(a.slice(-1)===","){c=false}else{a+=s[1]}}else{c=false}}else{a+=s[1]}}if(!c){let n=r.reduce(((e,t)=>e+t[1]),"");e.raws[t]={value:a,raw:n}}e[t]=a}spacesAndCommentsFromEnd(e){let t;let r="";while(e.length){t=e[e.length-1][0];if(t!=="space"&&t!=="comment")break;r=e.pop()[1]+r}return r}spacesAndCommentsFromStart(e){let t;let r="";while(e.length){t=e[0][0];if(t!=="space"&&t!=="comment")break;r+=e.shift()[1]}return r}spacesFromEnd(e){let t;let r="";while(e.length){t=e[e.length-1][0];if(t!=="space")break;r=e.pop()[1]+r}return r}stringFrom(e,t){let r="";for(let n=t;n<e.length;n++){r+=e[n][1]}e.splice(t,e.length-t);return r}colon(e){let t=0;let r,n,s;for(let[i,o]of e.entries()){r=o;n=r[0];if(n==="("){t+=1}if(n===")"){t-=1}if(t===0&&n===":"){if(!s){this.doubleColon(r)}else if(s[0]==="word"&&s[1]==="progid"){continue}else{return i}}s=r}return false}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}precheckMissedSemicolon(){}checkMissedSemicolon(e){let t=this.colon(e);if(t===false)return;let r=0;let n;for(let s=t-1;s>=0;s--){n=e[s];if(n[0]!=="space"){r+=1;if(r===2)break}}throw this.input.error("Missed semicolon",n[0]==="word"?n[3]+1:n[2])}}e.exports=Parser},5353:function(e,t,r){"use strict";let n=r(6173);let s=r(3324);let i=r(7865);let o=r(6609);let a=r(2541);let c=r(9410);let l=r(7333);let u=r(71);let p=r(2313);let h=r(5570);let d=r(7206);let g=r(4264);let m=r(2698);let y=r(8524);let v=r(5258);let b=r(9042);let w=r(2068);let S=r(7180);function postcss(...e){if(e.length===1&&Array.isArray(e[0])){e=e[0]}return new a(e)}postcss.plugin=function plugin(e,t){if(console&&console.warn){console.warn(e+": postcss.plugin was deprecated. Migration guide:\n"+"https://evilmartians.com/chronicles/postcss-8-plugin-migration");if(process.env.LANG&&process.env.LANG.startsWith("cn")){console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\n"+"https://www.w3ctech.com/topic/2226")}}function creator(...r){let n=t(...r);n.postcssPlugin=e;n.postcssVersion=(new a).version;return n}let r;Object.defineProperty(creator,"postcss",{get(){if(!r)r=creator();return r}});creator.process=function(e,t,r){return postcss([creator(r)]).process(e,t)};return creator};postcss.stringify=c;postcss.parse=y;postcss.fromJSON=l;postcss.list=v;postcss.comment=e=>new h(e);postcss.atRule=e=>new d(e);postcss.decl=e=>new s(e);postcss.rule=e=>new b(e);postcss.root=e=>new w(e);postcss.document=e=>new u(e);postcss.CssSyntaxError=n;postcss.Declaration=s;postcss.Container=o;postcss.Processor=a;postcss.Document=u;postcss.Comment=h;postcss.Warning=p;postcss.AtRule=d;postcss.Result=g;postcss.Input=m;postcss.Rule=b;postcss.Root=w;postcss.Node=S;i.registerPostcss(postcss);e.exports=postcss;postcss.default=postcss},9186:function(e,t,r){"use strict";let{SourceMapConsumer:n,SourceMapGenerator:s}=r(1746);let{existsSync:i,readFileSync:o}=r(7147);let{dirname:a,join:c}=r(1017);function fromBase64(e){if(Buffer){return Buffer.from(e,"base64").toString()}else{return window.atob(e)}}class PreviousMap{constructor(e,t){if(t.map===false)return;this.loadAnnotation(e);this.inline=this.startWith(this.annotation,"data:");let r=t.map?t.map.prev:undefined;let n=this.loadMap(t.from,r);if(!this.mapFile&&t.from){this.mapFile=t.from}if(this.mapFile)this.root=a(this.mapFile);if(n)this.text=n}consumer(){if(!this.consumerCache){this.consumerCache=new n(this.text)}return this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(e,t){if(!e)return false;return e.substr(0,t.length)===t}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let r=e.lastIndexOf(t.pop());let n=e.indexOf("*/",r);if(r>-1&&n>-1){this.annotation=this.getAnnotationURL(e.substring(r,n))}}decodeInline(e){let t=/^data:application\/json;charset=utf-?8;base64,/;let r=/^data:application\/json;base64,/;let n=/^data:application\/json;charset=utf-?8,/;let s=/^data:application\/json,/;if(n.test(e)||s.test(e)){return decodeURIComponent(e.substr(RegExp.lastMatch.length))}if(t.test(e)||r.test(e)){return fromBase64(e.substr(RegExp.lastMatch.length))}let i=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+i)}loadFile(e){this.root=a(e);if(i(e)){this.mapFile=e;return o(e,"utf-8").toString().trim()}}loadMap(e,t){if(t===false)return false;if(t){if(typeof t==="string"){return t}else if(typeof t==="function"){let r=t(e);if(r){let e=this.loadFile(r);if(!e){throw new Error("Unable to load previous source map: "+r.toString())}return e}}else if(t instanceof n){return s.fromSourceMap(t).toString()}else if(t instanceof s){return t.toString()}else if(this.isMap(t)){return JSON.stringify(t)}else{throw new Error("Unsupported previous source map format: "+t.toString())}}else if(this.inline){return this.decodeInline(this.annotation)}else if(this.annotation){let t=this.annotation;if(e)t=c(a(e),t);return this.loadFile(t)}}isMap(e){if(typeof e!=="object")return false;return typeof e.mappings==="string"||typeof e._mappings==="string"||Array.isArray(e.sections)}}e.exports=PreviousMap;PreviousMap.default=PreviousMap},2541:function(e,t,r){"use strict";let n=r(9514);let s=r(7865);let i=r(71);let o=r(2068);class Processor{constructor(e=[]){this.version="8.4.12";this.plugins=this.normalize(e)}use(e){this.plugins=this.plugins.concat(this.normalize([e]));return this}process(e,t={}){if(this.plugins.length===0&&typeof t.parser==="undefined"&&typeof t.stringifier==="undefined"&&typeof t.syntax==="undefined"){return new n(this,e,t)}else{return new s(this,e,t)}}normalize(e){let t=[];for(let r of e){if(r.postcss===true){r=r()}else if(r.postcss){r=r.postcss}if(typeof r==="object"&&Array.isArray(r.plugins)){t=t.concat(r.plugins)}else if(typeof r==="object"&&r.postcssPlugin){t.push(r)}else if(typeof r==="function"){t.push(r)}else if(typeof r==="object"&&(r.parse||r.stringify)){if(process.env.NODE_ENV!=="production"){throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use "+"one of the syntax/parser/stringifier options as outlined "+"in your PostCSS runner documentation.")}}else{throw new Error(r+" is not a PostCSS plugin")}}return t}}e.exports=Processor;Processor.default=Processor;o.registerProcessor(Processor);i.registerProcessor(Processor)},4264:function(e,t,r){"use strict";let n=r(2313);class Result{constructor(e,t,r){this.processor=e;this.messages=[];this.root=t;this.opts=r;this.css=undefined;this.map=undefined}toString(){return this.css}warn(e,t={}){if(!t.plugin){if(this.lastPlugin&&this.lastPlugin.postcssPlugin){t.plugin=this.lastPlugin.postcssPlugin}}let r=new n(e,t);this.messages.push(r);return r}warnings(){return this.messages.filter((e=>e.type==="warning"))}get content(){return this.css}}e.exports=Result;Result.default=Result},2068:function(e,t,r){"use strict";let n=r(6609);let s,i;class Root extends n{constructor(e){super(e);this.type="root";if(!this.nodes)this.nodes=[]}removeChild(e,t){let r=this.index(e);if(!t&&r===0&&this.nodes.length>1){this.nodes[1].raws.before=this.nodes[r].raws.before}return super.removeChild(e)}normalize(e,t,r){let n=super.normalize(e);if(t){if(r==="prepend"){if(this.nodes.length>1){t.raws.before=this.nodes[1].raws.before}else{delete t.raws.before}}else if(this.first!==t){for(let e of n){e.raws.before=t.raws.before}}}return n}toResult(e={}){let t=new s(new i,this,e);return t.stringify()}}Root.registerLazyResult=e=>{s=e};Root.registerProcessor=e=>{i=e};e.exports=Root;Root.default=Root},9042:function(e,t,r){"use strict";let n=r(6609);let s=r(5258);class Rule extends n{constructor(e){super(e);this.type="rule";if(!this.nodes)this.nodes=[]}get selectors(){return s.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null;let r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}}e.exports=Rule;Rule.default=Rule;n.registerRule(Rule)},6476:function(e){"use strict";const t={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:false};function capitalize(e){return e[0].toUpperCase()+e.slice(1)}class Stringifier{constructor(e){this.builder=e}stringify(e,t){if(!this[e.type]){throw new Error("Unknown AST node type "+e.type+". "+"Maybe you need to change PostCSS stringifier.")}this[e.type](e,t)}document(e){this.body(e)}root(e){this.body(e);if(e.raws.after)this.builder(e.raws.after)}comment(e){let t=this.raw(e,"left","commentLeft");let r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)}decl(e,t){let r=this.raw(e,"between","colon");let n=e.prop+r+this.rawValue(e,"value");if(e.important){n+=e.raws.important||" !important"}if(t)n+=";";this.builder(n,e)}rule(e){this.block(e,this.rawValue(e,"selector"));if(e.raws.ownSemicolon){this.builder(e.raws.ownSemicolon,e,"end")}}atrule(e,t){let r="@"+e.name;let n=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName!=="undefined"){r+=e.raws.afterName}else if(n){r+=" "}if(e.nodes){this.block(e,r+n)}else{let s=(e.raws.between||"")+(t?";":"");this.builder(r+n+s,e)}}body(e){let t=e.nodes.length-1;while(t>0){if(e.nodes[t].type!=="comment")break;t-=1}let r=this.raw(e,"semicolon");for(let n=0;n<e.nodes.length;n++){let s=e.nodes[n];let i=this.raw(s,"before");if(i)this.builder(i);this.stringify(s,t!==n||r)}}block(e,t){let r=this.raw(e,"between","beforeOpen");this.builder(t+r+"{",e,"start");let n;if(e.nodes&&e.nodes.length){this.body(e);n=this.raw(e,"after")}else{n=this.raw(e,"after","emptyBody")}if(n)this.builder(n);this.builder("}",e,"end")}raw(e,r,n){let s;if(!n)n=r;if(r){s=e.raws[r];if(typeof s!=="undefined")return s}let i=e.parent;if(n==="before"){if(!i||i.type==="root"&&i.first===e){return""}if(i&&i.type==="document"){return""}}if(!i)return t[n];let o=e.root();if(!o.rawCache)o.rawCache={};if(typeof o.rawCache[n]!=="undefined"){return o.rawCache[n]}if(n==="before"||n==="after"){return this.beforeAfter(e,n)}else{let t="raw"+capitalize(n);if(this[t]){s=this[t](o,e)}else{o.walk((e=>{s=e.raws[r];if(typeof s!=="undefined")return false}))}}if(typeof s==="undefined")s=t[n];o.rawCache[n]=s;return s}rawSemicolon(e){let t;e.walk((e=>{if(e.nodes&&e.nodes.length&&e.last.type==="decl"){t=e.raws.semicolon;if(typeof t!=="undefined")return false}}));return t}rawEmptyBody(e){let t;e.walk((e=>{if(e.nodes&&e.nodes.length===0){t=e.raws.after;if(typeof t!=="undefined")return false}}));return t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;e.walk((r=>{let n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e){if(typeof r.raws.before!=="undefined"){let e=r.raws.before.split("\n");t=e[e.length-1];t=t.replace(/\S/g,"");return false}}}));return t}rawBeforeComment(e,t){let r;e.walkComments((e=>{if(typeof e.raws.before!=="undefined"){r=e.raws.before;if(r.includes("\n")){r=r.replace(/[^\n]+$/,"")}return false}}));if(typeof r==="undefined"){r=this.raw(t,null,"beforeDecl")}else if(r){r=r.replace(/\S/g,"")}return r}rawBeforeDecl(e,t){let r;e.walkDecls((e=>{if(typeof e.raws.before!=="undefined"){r=e.raws.before;if(r.includes("\n")){r=r.replace(/[^\n]+$/,"")}return false}}));if(typeof r==="undefined"){r=this.raw(t,null,"beforeRule")}else if(r){r=r.replace(/\S/g,"")}return r}rawBeforeRule(e){let t;e.walk((r=>{if(r.nodes&&(r.parent!==e||e.first!==r)){if(typeof r.raws.before!=="undefined"){t=r.raws.before;if(t.includes("\n")){t=t.replace(/[^\n]+$/,"")}return false}}}));if(t)t=t.replace(/\S/g,"");return t}rawBeforeClose(e){let t;e.walk((e=>{if(e.nodes&&e.nodes.length>0){if(typeof e.raws.after!=="undefined"){t=e.raws.after;if(t.includes("\n")){t=t.replace(/[^\n]+$/,"")}return false}}}));if(t)t=t.replace(/\S/g,"");return t}rawBeforeOpen(e){let t;e.walk((e=>{if(e.type!=="decl"){t=e.raws.between;if(typeof t!=="undefined")return false}}));return t}rawColon(e){let t;e.walkDecls((e=>{if(typeof e.raws.between!=="undefined"){t=e.raws.between.replace(/[^\s:]/g,"");return false}}));return t}beforeAfter(e,t){let r;if(e.type==="decl"){r=this.raw(e,null,"beforeDecl")}else if(e.type==="comment"){r=this.raw(e,null,"beforeComment")}else if(t==="before"){r=this.raw(e,null,"beforeRule")}else{r=this.raw(e,null,"beforeClose")}let n=e.parent;let s=0;while(n&&n.type!=="root"){s+=1;n=n.parent}if(r.includes("\n")){let t=this.raw(e,null,"indent");if(t.length){for(let e=0;e<s;e++)r+=t}}return r}rawValue(e,t){let r=e[t];let n=e.raws[t];if(n&&n.value===r){return n.raw}return r}}e.exports=Stringifier;Stringifier.default=Stringifier},9410:function(e,t,r){"use strict";let n=r(6476);function stringify(e,t){let r=new n(t);r.stringify(e)}e.exports=stringify;stringify.default=stringify},134:function(e){"use strict";e.exports.isClean=Symbol("isClean");e.exports.my=Symbol("my")},4059:function(e,t,r){"use strict";let n=r(328);let s=r(1249);let i;function registerInput(e){i=e}const o={brackets:n.cyan,"at-word":n.cyan,comment:n.gray,string:n.green,class:n.yellow,hash:n.magenta,call:n.cyan,"(":n.cyan,")":n.cyan,"{":n.yellow,"}":n.yellow,"[":n.yellow,"]":n.yellow,":":n.yellow,";":n.yellow};function getTokenType([e,t],r){if(e==="word"){if(t[0]==="."){return"class"}if(t[0]==="#"){return"hash"}}if(!r.endOfFile()){let e=r.nextToken();r.back(e);if(e[0]==="brackets"||e[0]==="(")return"call"}return e}function terminalHighlight(e){let t=s(new i(e),{ignoreErrors:true});let r="";while(!t.endOfFile()){let e=t.nextToken();let n=o[getTokenType(e,t)];if(n){r+=e[1].split(/\r?\n/).map((e=>n(e))).join("\n")}else{r+=e[1]}}return r}terminalHighlight.registerInput=registerInput;e.exports=terminalHighlight},1249:function(e){"use strict";const t="'".charCodeAt(0);const r='"'.charCodeAt(0);const n="\\".charCodeAt(0);const s="/".charCodeAt(0);const i="\n".charCodeAt(0);const o=" ".charCodeAt(0);const a="\f".charCodeAt(0);const c="\t".charCodeAt(0);const l="\r".charCodeAt(0);const u="[".charCodeAt(0);const p="]".charCodeAt(0);const h="(".charCodeAt(0);const d=")".charCodeAt(0);const g="{".charCodeAt(0);const m="}".charCodeAt(0);const y=";".charCodeAt(0);const v="*".charCodeAt(0);const b=":".charCodeAt(0);const w="@".charCodeAt(0);const S=/[\t\n\f\r "#'()/;[\\\]{}]/g;const _=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g;const x=/.[\n"'(/\\]/;const C=/[\da-f]/i;e.exports=function tokenizer(e,A={}){let O=e.css.valueOf();let k=A.ignoreErrors;let P,R,M,L,T;let N,I,D,$,j;let B=O.length;let G=0;let W=[];let U=[];function position(){return G}function unclosed(t){throw e.error("Unclosed "+t,G)}function endOfFile(){return U.length===0&&G>=B}function nextToken(e){if(U.length)return U.pop();if(G>=B)return;let A=e?e.ignoreUnclosed:false;P=O.charCodeAt(G);switch(P){case i:case o:case c:case l:case a:{R=G;do{R+=1;P=O.charCodeAt(R)}while(P===o||P===i||P===c||P===l||P===a);j=["space",O.slice(G,R)];G=R-1;break}case u:case p:case g:case m:case b:case y:case d:{let e=String.fromCharCode(P);j=[e,e,G];break}case h:{D=W.length?W.pop()[1]:"";$=O.charCodeAt(G+1);if(D==="url"&&$!==t&&$!==r&&$!==o&&$!==i&&$!==c&&$!==a&&$!==l){R=G;do{N=false;R=O.indexOf(")",R+1);if(R===-1){if(k||A){R=G;break}else{unclosed("bracket")}}I=R;while(O.charCodeAt(I-1)===n){I-=1;N=!N}}while(N);j=["brackets",O.slice(G,R+1),G,R];G=R}else{R=O.indexOf(")",G+1);L=O.slice(G,R+1);if(R===-1||x.test(L)){j=["(","(",G]}else{j=["brackets",L,G,R];G=R}}break}case t:case r:{M=P===t?"'":'"';R=G;do{N=false;R=O.indexOf(M,R+1);if(R===-1){if(k||A){R=G+1;break}else{unclosed("string")}}I=R;while(O.charCodeAt(I-1)===n){I-=1;N=!N}}while(N);j=["string",O.slice(G,R+1),G,R];G=R;break}case w:{S.lastIndex=G+1;S.test(O);if(S.lastIndex===0){R=O.length-1}else{R=S.lastIndex-2}j=["at-word",O.slice(G,R+1),G,R];G=R;break}case n:{R=G;T=true;while(O.charCodeAt(R+1)===n){R+=1;T=!T}P=O.charCodeAt(R+1);if(T&&P!==s&&P!==o&&P!==i&&P!==c&&P!==l&&P!==a){R+=1;if(C.test(O.charAt(R))){while(C.test(O.charAt(R+1))){R+=1}if(O.charCodeAt(R+1)===o){R+=1}}}j=["word",O.slice(G,R+1),G,R];G=R;break}default:{if(P===s&&O.charCodeAt(G+1)===v){R=O.indexOf("*/",G+2)+1;if(R===0){if(k||A){R=O.length}else{unclosed("comment")}}j=["comment",O.slice(G,R+1),G,R];G=R}else{_.lastIndex=G+1;_.test(O);if(_.lastIndex===0){R=O.length-1}else{R=_.lastIndex-2}j=["word",O.slice(G,R+1),G,R];W.push(j);G=R}break}}G++;return j}function back(e){U.push(e)}return{back:back,nextToken:nextToken,endOfFile:endOfFile,position:position}}},9883:function(e){"use strict";let t={};e.exports=function warnOnce(e){if(t[e])return;t[e]=true;if(typeof console!=="undefined"&&console.warn){console.warn(e)}}},2313:function(e){"use strict";class Warning{constructor(e,t={}){this.type="warning";this.text=e;if(t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line;this.column=e.start.column;this.endLine=e.end.line;this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){if(this.node){return this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message}if(this.plugin){return this.plugin+": "+this.text}return this.text}}e.exports=Warning;Warning.default=Warning},8453:function(e){
|
|
65
|
+
/*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
66
|
+
let t;e.exports=typeof queueMicrotask==="function"?queueMicrotask.bind(typeof window!=="undefined"?window:global):e=>(t||(t=Promise.resolve())).then(e).catch((e=>setTimeout((()=>{throw e}),0)))},2889:function(e,t,r){"use strict";const n=r(1017);const s=r(8188);const i=r(7147);const resolveFrom=(e,t,r)=>{if(typeof e!=="string"){throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof e}\``)}if(typeof t!=="string"){throw new TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof t}\``)}try{e=i.realpathSync(e)}catch(t){if(t.code==="ENOENT"){e=n.resolve(e)}else if(r){return null}else{throw t}}const o=n.join(e,"noop.js");const resolveFileName=()=>s._resolveFilename(t,{id:o,filename:o,paths:s._nodeModulePaths(e)});if(r){try{return resolveFileName()}catch(e){return null}}return resolveFileName()};e.exports=(e,t)=>resolveFrom(e,t);e.exports.silent=(e,t)=>resolveFrom(e,t,true)},1570:function(e,t,r){"use strict";const n=r(1017);const s=r(8188);const i=r(7147);const resolveFrom=(e,t,r)=>{if(typeof e!=="string"){throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof e}\``)}if(typeof t!=="string"){throw new TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof t}\``)}try{e=i.realpathSync(e)}catch(t){if(t.code==="ENOENT"){e=n.resolve(e)}else if(r){return}else{throw t}}const o=n.join(e,"noop.js");const resolveFileName=()=>s._resolveFilename(t,{id:o,filename:o,paths:s._nodeModulePaths(e)});if(r){try{return resolveFileName()}catch(e){return}}return resolveFileName()};e.exports=(e,t)=>resolveFrom(e,t);e.exports.silent=(e,t)=>resolveFrom(e,t,true)},1816:function(e){"use strict";function reusify(e){var t=new e;var r=t;function get(){var n=t;if(n.next){t=n.next}else{t=new e;r=t}n.next=null;return n}function release(e){r.next=e;r=e}return{get:get,release:release}}e.exports=reusify},2625:function(e,t,r){const n=r(9491);const s=r(1017);const i=r(7147);let o=undefined;try{o=r(1978)}catch(e){}const a={nosort:true,silent:true};let c=0;const l=process.platform==="win32";const defaults=e=>{const t=["unlink","chmod","stat","lstat","rmdir","readdir"];t.forEach((t=>{e[t]=e[t]||i[t];t=t+"Sync";e[t]=e[t]||i[t]}));e.maxBusyTries=e.maxBusyTries||3;e.emfileWait=e.emfileWait||1e3;if(e.glob===false){e.disableGlob=true}if(e.disableGlob!==true&&o===undefined){throw Error("glob dependency not found, set `options.disableGlob = true` if intentional")}e.disableGlob=e.disableGlob||false;e.glob=e.glob||a};const rimraf=(e,t,r)=>{if(typeof t==="function"){r=t;t={}}n(e,"rimraf: missing path");n.equal(typeof e,"string","rimraf: path should be a string");n.equal(typeof r,"function","rimraf: callback function required");n(t,"rimraf: invalid options argument provided");n.equal(typeof t,"object","rimraf: options should be object");defaults(t);let s=0;let i=null;let a=0;const next=e=>{i=i||e;if(--a===0)r(i)};const afterGlob=(e,n)=>{if(e)return r(e);a=n.length;if(a===0)return r();n.forEach((e=>{const CB=r=>{if(r){if((r.code==="EBUSY"||r.code==="ENOTEMPTY"||r.code==="EPERM")&&s<t.maxBusyTries){s++;return setTimeout((()=>rimraf_(e,t,CB)),s*100)}if(r.code==="EMFILE"&&c<t.emfileWait){return setTimeout((()=>rimraf_(e,t,CB)),c++)}if(r.code==="ENOENT")r=null}c=0;next(r)};rimraf_(e,t,CB)}))};if(t.disableGlob||!o.hasMagic(e))return afterGlob(null,[e]);t.lstat(e,((r,n)=>{if(!r)return afterGlob(null,[e]);o(e,t.glob,afterGlob)}))};const rimraf_=(e,t,r)=>{n(e);n(t);n(typeof r==="function");t.lstat(e,((n,s)=>{if(n&&n.code==="ENOENT")return r(null);if(n&&n.code==="EPERM"&&l)fixWinEPERM(e,t,n,r);if(s&&s.isDirectory())return rmdir(e,t,n,r);t.unlink(e,(n=>{if(n){if(n.code==="ENOENT")return r(null);if(n.code==="EPERM")return l?fixWinEPERM(e,t,n,r):rmdir(e,t,n,r);if(n.code==="EISDIR")return rmdir(e,t,n,r)}return r(n)}))}))};const fixWinEPERM=(e,t,r,s)=>{n(e);n(t);n(typeof s==="function");t.chmod(e,438,(n=>{if(n)s(n.code==="ENOENT"?null:r);else t.stat(e,((n,i)=>{if(n)s(n.code==="ENOENT"?null:r);else if(i.isDirectory())rmdir(e,t,r,s);else t.unlink(e,s)}))}))};const fixWinEPERMSync=(e,t,r)=>{n(e);n(t);try{t.chmodSync(e,438)}catch(e){if(e.code==="ENOENT")return;else throw r}let s;try{s=t.statSync(e)}catch(e){if(e.code==="ENOENT")return;else throw r}if(s.isDirectory())rmdirSync(e,t,r);else t.unlinkSync(e)};const rmdir=(e,t,r,s)=>{n(e);n(t);n(typeof s==="function");t.rmdir(e,(n=>{if(n&&(n.code==="ENOTEMPTY"||n.code==="EEXIST"||n.code==="EPERM"))rmkids(e,t,s);else if(n&&n.code==="ENOTDIR")s(r);else s(n)}))};const rmkids=(e,t,r)=>{n(e);n(t);n(typeof r==="function");t.readdir(e,((n,i)=>{if(n)return r(n);let o=i.length;if(o===0)return t.rmdir(e,r);let a;i.forEach((n=>{rimraf(s.join(e,n),t,(n=>{if(a)return;if(n)return r(a=n);if(--o===0)t.rmdir(e,r)}))}))}))};const rimrafSync=(e,t)=>{t=t||{};defaults(t);n(e,"rimraf: missing path");n.equal(typeof e,"string","rimraf: path should be a string");n(t,"rimraf: missing options");n.equal(typeof t,"object","rimraf: options should be object");let r;if(t.disableGlob||!o.hasMagic(e)){r=[e]}else{try{t.lstatSync(e);r=[e]}catch(n){r=o.sync(e,t.glob)}}if(!r.length)return;for(let e=0;e<r.length;e++){const n=r[e];let s;try{s=t.lstatSync(n)}catch(e){if(e.code==="ENOENT")return;if(e.code==="EPERM"&&l)fixWinEPERMSync(n,t,e)}try{if(s&&s.isDirectory())rmdirSync(n,t,null);else t.unlinkSync(n)}catch(e){if(e.code==="ENOENT")return;if(e.code==="EPERM")return l?fixWinEPERMSync(n,t,e):rmdirSync(n,t,e);if(e.code!=="EISDIR")throw e;rmdirSync(n,t,e)}}};const rmdirSync=(e,t,r)=>{n(e);n(t);try{t.rmdirSync(e)}catch(n){if(n.code==="ENOENT")return;if(n.code==="ENOTDIR")throw r;if(n.code==="ENOTEMPTY"||n.code==="EEXIST"||n.code==="EPERM")rmkidsSync(e,t)}};const rmkidsSync=(e,t)=>{n(e);n(t);t.readdirSync(e).forEach((r=>rimrafSync(s.join(e,r),t)));const r=l?100:1;let i=0;do{let n=true;try{const s=t.rmdirSync(e,t);n=false;return s}finally{if(++i<r&&n)continue}}while(true)};e.exports=rimraf;rimraf.sync=rimrafSync},5341:function(e,t,r){
|
|
67
|
+
/*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
68
|
+
e.exports=runParallel;const n=r(8453);function runParallel(e,t){let r,s,i;let o=true;if(Array.isArray(e)){r=[];s=e.length}else{i=Object.keys(e);r={};s=i.length}function done(e){function end(){if(t)t(e,r);t=null}if(o)n(end);else end()}function each(e,t,n){r[e]=n;if(--s===0||t){done(t)}}if(!s){done(null)}else if(i){i.forEach((function(t){e[t]((function(e,r){each(t,e,r)}))}))}else{e.forEach((function(e,t){e((function(e,r){each(t,e,r)}))}))}o=false}},3580:function(e,t,r){var n=global.process;const processOk=function(e){return e&&typeof e==="object"&&typeof e.removeListener==="function"&&typeof e.emit==="function"&&typeof e.reallyExit==="function"&&typeof e.listeners==="function"&&typeof e.kill==="function"&&typeof e.pid==="number"&&typeof e.on==="function"};if(!processOk(n)){e.exports=function(){return function(){}}}else{var s=r(9491);var i=r(1357);var o=/^win/i.test(n.platform);var a=r(2361);if(typeof a!=="function"){a=a.EventEmitter}var c;if(n.__signal_exit_emitter__){c=n.__signal_exit_emitter__}else{c=n.__signal_exit_emitter__=new a;c.count=0;c.emitted={}}if(!c.infinite){c.setMaxListeners(Infinity);c.infinite=true}e.exports=function(e,t){if(!processOk(global.process)){return function(){}}s.equal(typeof e,"function","a callback must be provided for exit handler");if(h===false){d()}var r="exit";if(t&&t.alwaysLast){r="afterexit"}var remove=function(){c.removeListener(r,e);if(c.listeners("exit").length===0&&c.listeners("afterexit").length===0){l()}};c.on(r,e);return remove};var l=function unload(){if(!h||!processOk(global.process)){return}h=false;i.forEach((function(e){try{n.removeListener(e,p[e])}catch(e){}}));n.emit=y;n.reallyExit=g;c.count-=1};e.exports.unload=l;var u=function emit(e,t,r){if(c.emitted[e]){return}c.emitted[e]=true;c.emit(e,t,r)};var p={};i.forEach((function(e){p[e]=function listener(){if(!processOk(global.process)){return}var t=n.listeners(e);if(t.length===c.count){l();u("exit",null,e);u("afterexit",null,e);if(o&&e==="SIGHUP"){e="SIGINT"}n.kill(n.pid,e)}}}));e.exports.signals=function(){return i};var h=false;var d=function load(){if(h||!processOk(global.process)){return}h=true;c.count+=1;i=i.filter((function(e){try{n.on(e,p[e]);return true}catch(e){return false}}));n.emit=v;n.reallyExit=m};e.exports.load=d;var g=n.reallyExit;var m=function processReallyExit(e){if(!processOk(global.process)){return}n.exitCode=e||0;u("exit",n.exitCode,null);u("afterexit",n.exitCode,null);g.call(n,n.exitCode)};var y=n.emit;var v=function processEmit(e,t){if(e==="exit"&&processOk(global.process)){if(t!==undefined){n.exitCode=t}var r=y.apply(this,arguments);u("exit",n.exitCode,null);u("afterexit",n.exitCode,null);return r}else{return y.apply(this,arguments)}}}},1357:function(e){e.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];if(process.platform!=="win32"){e.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT")}if(process.platform==="linux"){e.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")}},9398:function(e){"use strict";e.exports=e=>{const t=/^\\\\\?\\/.test(e);const r=/[^\u0000-\u0080]+/.test(e);if(t||r){return e}return e.replace(/\\/g,"/")}},9840:function(e,t,r){var n=r(4524);var s=Object.prototype.hasOwnProperty;var i=typeof Map!=="undefined";function ArraySet(){this._array=[];this._set=i?new Map:Object.create(null)}ArraySet.fromArray=function ArraySet_fromArray(e,t){var r=new ArraySet;for(var n=0,s=e.length;n<s;n++){r.add(e[n],t)}return r};ArraySet.prototype.size=function ArraySet_size(){return i?this._set.size:Object.getOwnPropertyNames(this._set).length};ArraySet.prototype.add=function ArraySet_add(e,t){var r=i?e:n.toSetString(e);var o=i?this.has(e):s.call(this._set,r);var a=this._array.length;if(!o||t){this._array.push(e)}if(!o){if(i){this._set.set(e,a)}else{this._set[r]=a}}};ArraySet.prototype.has=function ArraySet_has(e){if(i){return this._set.has(e)}else{var t=n.toSetString(e);return s.call(this._set,t)}};ArraySet.prototype.indexOf=function ArraySet_indexOf(e){if(i){var t=this._set.get(e);if(t>=0){return t}}else{var r=n.toSetString(e);if(s.call(this._set,r)){return this._set[r]}}throw new Error('"'+e+'" is not in the set.')};ArraySet.prototype.at=function ArraySet_at(e){if(e>=0&&e<this._array.length){return this._array[e]}throw new Error("No element indexed by "+e)};ArraySet.prototype.toArray=function ArraySet_toArray(){return this._array.slice()};t.I=ArraySet},858:function(e,t,r){var n=r(9052);var s=5;var i=1<<s;var o=i-1;var a=i;function toVLQSigned(e){return e<0?(-e<<1)+1:(e<<1)+0}function fromVLQSigned(e){var t=(e&1)===1;var r=e>>1;return t?-r:r}t.encode=function base64VLQ_encode(e){var t="";var r;var i=toVLQSigned(e);do{r=i&o;i>>>=s;if(i>0){r|=a}t+=n.encode(r)}while(i>0);return t};t.decode=function base64VLQ_decode(e,t,r){var i=e.length;var c=0;var l=0;var u,p;do{if(t>=i){throw new Error("Expected more digits in base 64 VLQ value.")}p=n.decode(e.charCodeAt(t++));if(p===-1){throw new Error("Invalid base64 digit: "+e.charAt(t-1))}u=!!(p&a);p&=o;c=c+(p<<l);l+=s}while(u);r.value=fromVLQSigned(c);r.rest=t}},9052:function(e,t){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e<r.length){return r[e]}throw new TypeError("Must be between 0 and 63: "+e)};t.decode=function(e){var t=65;var r=90;var n=97;var s=122;var i=48;var o=57;var a=43;var c=47;var l=26;var u=52;if(t<=e&&e<=r){return e-t}if(n<=e&&e<=s){return e-n+l}if(i<=e&&e<=o){return e-i+u}if(e==a){return 62}if(e==c){return 63}return-1}},7673:function(e,t){t.GREATEST_LOWER_BOUND=1;t.LEAST_UPPER_BOUND=2;function recursiveSearch(e,r,n,s,i,o){var a=Math.floor((r-e)/2)+e;var c=i(n,s[a],true);if(c===0){return a}else if(c>0){if(r-a>1){return recursiveSearch(a,r,n,s,i,o)}if(o==t.LEAST_UPPER_BOUND){return r<s.length?r:-1}else{return a}}else{if(a-e>1){return recursiveSearch(e,a,n,s,i,o)}if(o==t.LEAST_UPPER_BOUND){return a}else{return e<0?-1:e}}}t.search=function search(e,r,n,s){if(r.length===0){return-1}var i=recursiveSearch(-1,r.length,e,r,n,s||t.GREATEST_LOWER_BOUND);if(i<0){return-1}while(i-1>=0){if(n(r[i],r[i-1],true)!==0){break}--i}return i}},3767:function(e,t,r){var n=r(4524);function generatedPositionAfter(e,t){var r=e.generatedLine;var s=t.generatedLine;var i=e.generatedColumn;var o=t.generatedColumn;return s>r||s==r&&o>=i||n.compareByGeneratedPositionsInflated(e,t)<=0}function MappingList(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}MappingList.prototype.unsortedForEach=function MappingList_forEach(e,t){this._array.forEach(e,t)};MappingList.prototype.add=function MappingList_add(e){if(generatedPositionAfter(this._last,e)){this._last=e;this._array.push(e)}else{this._sorted=false;this._array.push(e)}};MappingList.prototype.toArray=function MappingList_toArray(){if(!this._sorted){this._array.sort(n.compareByGeneratedPositionsInflated);this._sorted=true}return this._array};t.H=MappingList},9485:function(e,t){function SortTemplate(e){function swap(e,t,r){var n=e[t];e[t]=e[r];e[r]=n}function randomIntInRange(e,t){return Math.round(e+Math.random()*(t-e))}function doQuickSort(e,t,r,n){if(r<n){var s=randomIntInRange(r,n);var i=r-1;swap(e,s,n);var o=e[n];for(var a=r;a<n;a++){if(t(e[a],o,false)<=0){i+=1;swap(e,i,a)}}swap(e,i+1,a);var c=i+1;doQuickSort(e,t,r,c-1);doQuickSort(e,t,c+1,n)}}return doQuickSort}function cloneSort(e){let t=SortTemplate.toString();let r=new Function(`return ${t}`)();return r(e)}let r=new WeakMap;t.U=function(e,t,n=0){let s=r.get(t);if(s===void 0){s=cloneSort(t);r.set(t,s)}s(e,t,n,e.length-1)}},5635:function(e,t,r){var n;var s=r(4524);var i=r(7673);var o=r(9840).I;var a=r(858);var c=r(9485).U;function SourceMapConsumer(e,t){var r=e;if(typeof e==="string"){r=s.parseSourceMapInput(e)}return r.sections!=null?new IndexedSourceMapConsumer(r,t):new BasicSourceMapConsumer(r,t)}SourceMapConsumer.fromSourceMap=function(e,t){return BasicSourceMapConsumer.fromSourceMap(e,t)};SourceMapConsumer.prototype._version=3;SourceMapConsumer.prototype.__generatedMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_generatedMappings",{configurable:true,enumerable:true,get:function(){if(!this.__generatedMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappings}});SourceMapConsumer.prototype.__originalMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_originalMappings",{configurable:true,enumerable:true,get:function(){if(!this.__originalMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappings}});SourceMapConsumer.prototype._charIsMappingSeparator=function SourceMapConsumer_charIsMappingSeparator(e,t){var r=e.charAt(t);return r===";"||r===","};SourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(e,t){throw new Error("Subclasses must implement _parseMappings")};SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;SourceMapConsumer.prototype.eachMapping=function SourceMapConsumer_eachMapping(e,t,r){var n=t||null;var i=r||SourceMapConsumer.GENERATED_ORDER;var o;switch(i){case SourceMapConsumer.GENERATED_ORDER:o=this._generatedMappings;break;case SourceMapConsumer.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var a=this.sourceRoot;var c=e.bind(n);var l=this._names;var u=this._sources;var p=this._sourceMapURL;for(var h=0,d=o.length;h<d;h++){var g=o[h];var m=g.source===null?null:u.at(g.source);m=s.computeSourceURL(a,m,p);c({source:m,generatedLine:g.generatedLine,generatedColumn:g.generatedColumn,originalLine:g.originalLine,originalColumn:g.originalColumn,name:g.name===null?null:l.at(g.name)})}};SourceMapConsumer.prototype.allGeneratedPositionsFor=function SourceMapConsumer_allGeneratedPositionsFor(e){var t=s.getArg(e,"line");var r={source:s.getArg(e,"source"),originalLine:t,originalColumn:s.getArg(e,"column",0)};r.source=this._findSourceIndex(r.source);if(r.source<0){return[]}var n=[];var o=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",s.compareByOriginalPositions,i.LEAST_UPPER_BOUND);if(o>=0){var a=this._originalMappings[o];if(e.column===undefined){var c=a.originalLine;while(a&&a.originalLine===c){n.push({line:s.getArg(a,"generatedLine",null),column:s.getArg(a,"generatedColumn",null),lastColumn:s.getArg(a,"lastGeneratedColumn",null)});a=this._originalMappings[++o]}}else{var l=a.originalColumn;while(a&&a.originalLine===t&&a.originalColumn==l){n.push({line:s.getArg(a,"generatedLine",null),column:s.getArg(a,"generatedColumn",null),lastColumn:s.getArg(a,"lastGeneratedColumn",null)});a=this._originalMappings[++o]}}}return n};t.SourceMapConsumer=SourceMapConsumer;function BasicSourceMapConsumer(e,t){var r=e;if(typeof e==="string"){r=s.parseSourceMapInput(e)}var n=s.getArg(r,"version");var i=s.getArg(r,"sources");var a=s.getArg(r,"names",[]);var c=s.getArg(r,"sourceRoot",null);var l=s.getArg(r,"sourcesContent",null);var u=s.getArg(r,"mappings");var p=s.getArg(r,"file",null);if(n!=this._version){throw new Error("Unsupported version: "+n)}if(c){c=s.normalize(c)}i=i.map(String).map(s.normalize).map((function(e){return c&&s.isAbsolute(c)&&s.isAbsolute(e)?s.relative(c,e):e}));this._names=o.fromArray(a.map(String),true);this._sources=o.fromArray(i,true);this._absoluteSources=this._sources.toArray().map((function(e){return s.computeSourceURL(c,e,t)}));this.sourceRoot=c;this.sourcesContent=l;this._mappings=u;this._sourceMapURL=t;this.file=p}BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;BasicSourceMapConsumer.prototype._findSourceIndex=function(e){var t=e;if(this.sourceRoot!=null){t=s.relative(this.sourceRoot,t)}if(this._sources.has(t)){return this._sources.indexOf(t)}var r;for(r=0;r<this._absoluteSources.length;++r){if(this._absoluteSources[r]==e){return r}}return-1};BasicSourceMapConsumer.fromSourceMap=function SourceMapConsumer_fromSourceMap(e,t){var r=Object.create(BasicSourceMapConsumer.prototype);var n=r._names=o.fromArray(e._names.toArray(),true);var i=r._sources=o.fromArray(e._sources.toArray(),true);r.sourceRoot=e._sourceRoot;r.sourcesContent=e._generateSourcesContent(r._sources.toArray(),r.sourceRoot);r.file=e._file;r._sourceMapURL=t;r._absoluteSources=r._sources.toArray().map((function(e){return s.computeSourceURL(r.sourceRoot,e,t)}));var a=e._mappings.toArray().slice();var l=r.__generatedMappings=[];var u=r.__originalMappings=[];for(var p=0,h=a.length;p<h;p++){var d=a[p];var g=new Mapping;g.generatedLine=d.generatedLine;g.generatedColumn=d.generatedColumn;if(d.source){g.source=i.indexOf(d.source);g.originalLine=d.originalLine;g.originalColumn=d.originalColumn;if(d.name){g.name=n.indexOf(d.name)}u.push(g)}l.push(g)}c(r.__originalMappings,s.compareByOriginalPositions);return r};BasicSourceMapConsumer.prototype._version=3;Object.defineProperty(BasicSourceMapConsumer.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function Mapping(){this.generatedLine=0;this.generatedColumn=0;this.source=null;this.originalLine=null;this.originalColumn=null;this.name=null}const l=s.compareByGeneratedPositionsDeflatedNoLine;function sortGenerated(e,t){let r=e.length;let n=e.length-t;if(n<=1){return}else if(n==2){let r=e[t];let n=e[t+1];if(l(r,n)>0){e[t]=n;e[t+1]=r}}else if(n<20){for(let n=t;n<r;n++){for(let r=n;r>t;r--){let t=e[r-1];let n=e[r];if(l(t,n)<=0){break}e[r-1]=n;e[r]=t}}}else{c(e,l,t)}}BasicSourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(e,t){var r=1;var n=0;var i=0;var o=0;var l=0;var u=0;var p=e.length;var h=0;var d={};var g={};var m=[];var y=[];var v,b,w,S,_;let x=0;while(h<p){if(e.charAt(h)===";"){r++;h++;n=0;sortGenerated(y,x);x=y.length}else if(e.charAt(h)===","){h++}else{v=new Mapping;v.generatedLine=r;for(S=h;S<p;S++){if(this._charIsMappingSeparator(e,S)){break}}b=e.slice(h,S);w=[];while(h<S){a.decode(e,h,g);_=g.value;h=g.rest;w.push(_)}if(w.length===2){throw new Error("Found a source, but no line and column")}if(w.length===3){throw new Error("Found a source and line, but no column")}v.generatedColumn=n+w[0];n=v.generatedColumn;if(w.length>1){v.source=l+w[1];l+=w[1];v.originalLine=i+w[2];i=v.originalLine;v.originalLine+=1;v.originalColumn=o+w[3];o=v.originalColumn;if(w.length>4){v.name=u+w[4];u+=w[4]}}y.push(v);if(typeof v.originalLine==="number"){let e=v.source;while(m.length<=e){m.push(null)}if(m[e]===null){m[e]=[]}m[e].push(v)}}}sortGenerated(y,x);this.__generatedMappings=y;for(var C=0;C<m.length;C++){if(m[C]!=null){c(m[C],s.compareByOriginalPositionsNoSource)}}this.__originalMappings=[].concat(...m)};BasicSourceMapConsumer.prototype._findMapping=function SourceMapConsumer_findMapping(e,t,r,n,s,o){if(e[r]<=0){throw new TypeError("Line must be greater than or equal to 1, got "+e[r])}if(e[n]<0){throw new TypeError("Column must be greater than or equal to 0, got "+e[n])}return i.search(e,t,s,o)};BasicSourceMapConsumer.prototype.computeColumnSpans=function SourceMapConsumer_computeColumnSpans(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var r=this._generatedMappings[e+1];if(t.generatedLine===r.generatedLine){t.lastGeneratedColumn=r.generatedColumn-1;continue}}t.lastGeneratedColumn=Infinity}};BasicSourceMapConsumer.prototype.originalPositionFor=function SourceMapConsumer_originalPositionFor(e){var t={generatedLine:s.getArg(e,"line"),generatedColumn:s.getArg(e,"column")};var r=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",s.compareByGeneratedPositionsDeflated,s.getArg(e,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(r>=0){var n=this._generatedMappings[r];if(n.generatedLine===t.generatedLine){var i=s.getArg(n,"source",null);if(i!==null){i=this._sources.at(i);i=s.computeSourceURL(this.sourceRoot,i,this._sourceMapURL)}var o=s.getArg(n,"name",null);if(o!==null){o=this._names.at(o)}return{source:i,line:s.getArg(n,"originalLine",null),column:s.getArg(n,"originalColumn",null),name:o}}}return{source:null,line:null,column:null,name:null}};BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function BasicSourceMapConsumer_hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return e==null}))};BasicSourceMapConsumer.prototype.sourceContentFor=function SourceMapConsumer_sourceContentFor(e,t){if(!this.sourcesContent){return null}var r=this._findSourceIndex(e);if(r>=0){return this.sourcesContent[r]}var n=e;if(this.sourceRoot!=null){n=s.relative(this.sourceRoot,n)}var i;if(this.sourceRoot!=null&&(i=s.urlParse(this.sourceRoot))){var o=n.replace(/^file:\/\//,"");if(i.scheme=="file"&&this._sources.has(o)){return this.sourcesContent[this._sources.indexOf(o)]}if((!i.path||i.path=="/")&&this._sources.has("/"+n)){return this.sourcesContent[this._sources.indexOf("/"+n)]}}if(t){return null}else{throw new Error('"'+n+'" is not in the SourceMap.')}};BasicSourceMapConsumer.prototype.generatedPositionFor=function SourceMapConsumer_generatedPositionFor(e){var t=s.getArg(e,"source");t=this._findSourceIndex(t);if(t<0){return{line:null,column:null,lastColumn:null}}var r={source:t,originalLine:s.getArg(e,"line"),originalColumn:s.getArg(e,"column")};var n=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",s.compareByOriginalPositions,s.getArg(e,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(n>=0){var i=this._originalMappings[n];if(i.source===r.source){return{line:s.getArg(i,"generatedLine",null),column:s.getArg(i,"generatedColumn",null),lastColumn:s.getArg(i,"lastGeneratedColumn",null)}}}return{line:null,column:null,lastColumn:null}};n=BasicSourceMapConsumer;function IndexedSourceMapConsumer(e,t){var r=e;if(typeof e==="string"){r=s.parseSourceMapInput(e)}var n=s.getArg(r,"version");var i=s.getArg(r,"sections");if(n!=this._version){throw new Error("Unsupported version: "+n)}this._sources=new o;this._names=new o;var a={line:-1,column:0};this._sections=i.map((function(e){if(e.url){throw new Error("Support for url field in sections not implemented.")}var r=s.getArg(e,"offset");var n=s.getArg(r,"line");var i=s.getArg(r,"column");if(n<a.line||n===a.line&&i<a.column){throw new Error("Section offsets must be ordered and non-overlapping.")}a=r;return{generatedOffset:{generatedLine:n+1,generatedColumn:i+1},consumer:new SourceMapConsumer(s.getArg(e,"map"),t)}}))}IndexedSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);IndexedSourceMapConsumer.prototype.constructor=SourceMapConsumer;IndexedSourceMapConsumer.prototype._version=3;Object.defineProperty(IndexedSourceMapConsumer.prototype,"sources",{get:function(){var e=[];for(var t=0;t<this._sections.length;t++){for(var r=0;r<this._sections[t].consumer.sources.length;r++){e.push(this._sections[t].consumer.sources[r])}}return e}});IndexedSourceMapConsumer.prototype.originalPositionFor=function IndexedSourceMapConsumer_originalPositionFor(e){var t={generatedLine:s.getArg(e,"line"),generatedColumn:s.getArg(e,"column")};var r=i.search(t,this._sections,(function(e,t){var r=e.generatedLine-t.generatedOffset.generatedLine;if(r){return r}return e.generatedColumn-t.generatedOffset.generatedColumn}));var n=this._sections[r];if(!n){return{source:null,line:null,column:null,name:null}}return n.consumer.originalPositionFor({line:t.generatedLine-(n.generatedOffset.generatedLine-1),column:t.generatedColumn-(n.generatedOffset.generatedLine===t.generatedLine?n.generatedOffset.generatedColumn-1:0),bias:e.bias})};IndexedSourceMapConsumer.prototype.hasContentsOfAllSources=function IndexedSourceMapConsumer_hasContentsOfAllSources(){return this._sections.every((function(e){return e.consumer.hasContentsOfAllSources()}))};IndexedSourceMapConsumer.prototype.sourceContentFor=function IndexedSourceMapConsumer_sourceContentFor(e,t){for(var r=0;r<this._sections.length;r++){var n=this._sections[r];var s=n.consumer.sourceContentFor(e,true);if(s){return s}}if(t){return null}else{throw new Error('"'+e+'" is not in the SourceMap.')}};IndexedSourceMapConsumer.prototype.generatedPositionFor=function IndexedSourceMapConsumer_generatedPositionFor(e){for(var t=0;t<this._sections.length;t++){var r=this._sections[t];if(r.consumer._findSourceIndex(s.getArg(e,"source"))===-1){continue}var n=r.consumer.generatedPositionFor(e);if(n){var i={line:n.line+(r.generatedOffset.generatedLine-1),column:n.column+(r.generatedOffset.generatedLine===n.line?r.generatedOffset.generatedColumn-1:0)};return i}}return{line:null,column:null}};IndexedSourceMapConsumer.prototype._parseMappings=function IndexedSourceMapConsumer_parseMappings(e,t){this.__generatedMappings=[];this.__originalMappings=[];for(var r=0;r<this._sections.length;r++){var n=this._sections[r];var i=n.consumer._generatedMappings;for(var o=0;o<i.length;o++){var a=i[o];var l=n.consumer._sources.at(a.source);l=s.computeSourceURL(n.consumer.sourceRoot,l,this._sourceMapURL);this._sources.add(l);l=this._sources.indexOf(l);var u=null;if(a.name){u=n.consumer._names.at(a.name);this._names.add(u);u=this._names.indexOf(u)}var p={source:l,generatedLine:a.generatedLine+(n.generatedOffset.generatedLine-1),generatedColumn:a.generatedColumn+(n.generatedOffset.generatedLine===a.generatedLine?n.generatedOffset.generatedColumn-1:0),originalLine:a.originalLine,originalColumn:a.originalColumn,name:u};this.__generatedMappings.push(p);if(typeof p.originalLine==="number"){this.__originalMappings.push(p)}}}c(this.__generatedMappings,s.compareByGeneratedPositionsDeflated);c(this.__originalMappings,s.compareByOriginalPositions)};n=IndexedSourceMapConsumer},3301:function(e,t,r){var n=r(858);var s=r(4524);var i=r(9840).I;var o=r(3767).H;function SourceMapGenerator(e){if(!e){e={}}this._file=s.getArg(e,"file",null);this._sourceRoot=s.getArg(e,"sourceRoot",null);this._skipValidation=s.getArg(e,"skipValidation",false);this._sources=new i;this._names=new i;this._mappings=new o;this._sourcesContents=null}SourceMapGenerator.prototype._version=3;SourceMapGenerator.fromSourceMap=function SourceMapGenerator_fromSourceMap(e){var t=e.sourceRoot;var r=new SourceMapGenerator({file:e.file,sourceRoot:t});e.eachMapping((function(e){var n={generated:{line:e.generatedLine,column:e.generatedColumn}};if(e.source!=null){n.source=e.source;if(t!=null){n.source=s.relative(t,n.source)}n.original={line:e.originalLine,column:e.originalColumn};if(e.name!=null){n.name=e.name}}r.addMapping(n)}));e.sources.forEach((function(n){var i=n;if(t!==null){i=s.relative(t,n)}if(!r._sources.has(i)){r._sources.add(i)}var o=e.sourceContentFor(n);if(o!=null){r.setSourceContent(n,o)}}));return r};SourceMapGenerator.prototype.addMapping=function SourceMapGenerator_addMapping(e){var t=s.getArg(e,"generated");var r=s.getArg(e,"original",null);var n=s.getArg(e,"source",null);var i=s.getArg(e,"name",null);if(!this._skipValidation){this._validateMapping(t,r,n,i)}if(n!=null){n=String(n);if(!this._sources.has(n)){this._sources.add(n)}}if(i!=null){i=String(i);if(!this._names.has(i)){this._names.add(i)}}this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:r!=null&&r.line,originalColumn:r!=null&&r.column,source:n,name:i})};SourceMapGenerator.prototype.setSourceContent=function SourceMapGenerator_setSourceContent(e,t){var r=e;if(this._sourceRoot!=null){r=s.relative(this._sourceRoot,r)}if(t!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[s.toSetString(r)]=t}else if(this._sourcesContents){delete this._sourcesContents[s.toSetString(r)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}};SourceMapGenerator.prototype.applySourceMap=function SourceMapGenerator_applySourceMap(e,t,r){var n=t;if(t==null){if(e.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}n=e.file}var o=this._sourceRoot;if(o!=null){n=s.relative(o,n)}var a=new i;var c=new i;this._mappings.unsortedForEach((function(t){if(t.source===n&&t.originalLine!=null){var i=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});if(i.source!=null){t.source=i.source;if(r!=null){t.source=s.join(r,t.source)}if(o!=null){t.source=s.relative(o,t.source)}t.originalLine=i.line;t.originalColumn=i.column;if(i.name!=null){t.name=i.name}}}var l=t.source;if(l!=null&&!a.has(l)){a.add(l)}var u=t.name;if(u!=null&&!c.has(u)){c.add(u)}}),this);this._sources=a;this._names=c;e.sources.forEach((function(t){var n=e.sourceContentFor(t);if(n!=null){if(r!=null){t=s.join(r,t)}if(o!=null){t=s.relative(o,t)}this.setSourceContent(t,n)}}),this)};SourceMapGenerator.prototype._validateMapping=function SourceMapGenerator_validateMapping(e,t,r,n){if(t&&typeof t.line!=="number"&&typeof t.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!t&&!r&&!n){return}else if(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&r){return}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:r,original:t,name:n}))}};SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){var e=0;var t=1;var r=0;var i=0;var o=0;var a=0;var c="";var l;var u;var p;var h;var d=this._mappings.toArray();for(var g=0,m=d.length;g<m;g++){u=d[g];l="";if(u.generatedLine!==t){e=0;while(u.generatedLine!==t){l+=";";t++}}else{if(g>0){if(!s.compareByGeneratedPositionsInflated(u,d[g-1])){continue}l+=","}}l+=n.encode(u.generatedColumn-e);e=u.generatedColumn;if(u.source!=null){h=this._sources.indexOf(u.source);l+=n.encode(h-a);a=h;l+=n.encode(u.originalLine-1-i);i=u.originalLine-1;l+=n.encode(u.originalColumn-r);r=u.originalColumn;if(u.name!=null){p=this._names.indexOf(u.name);l+=n.encode(p-o);o=p}}c+=l}return c};SourceMapGenerator.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(e,t){return e.map((function(e){if(!this._sourcesContents){return null}if(t!=null){e=s.relative(t,e)}var r=s.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null}),this)};SourceMapGenerator.prototype.toJSON=function SourceMapGenerator_toJSON(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){e.file=this._file}if(this._sourceRoot!=null){e.sourceRoot=this._sourceRoot}if(this._sourcesContents){e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)}return e};SourceMapGenerator.prototype.toString=function SourceMapGenerator_toString(){return JSON.stringify(this.toJSON())};t.SourceMapGenerator=SourceMapGenerator},5772:function(e,t,r){var n=r(3301).SourceMapGenerator;var s=r(4524);var i=/(\r?\n)/;var o=10;var a="$$$isSourceNode$$$";function SourceNode(e,t,r,n,s){this.children=[];this.sourceContents={};this.line=e==null?null:e;this.column=t==null?null:t;this.source=r==null?null:r;this.name=s==null?null:s;this[a]=true;if(n!=null)this.add(n)}SourceNode.fromStringWithSourceMap=function SourceNode_fromStringWithSourceMap(e,t,r){var n=new SourceNode;var o=e.split(i);var a=0;var shiftNextLine=function(){var e=getNextLine();var t=getNextLine()||"";return e+t;function getNextLine(){return a<o.length?o[a++]:undefined}};var c=1,l=0;var u=null;t.eachMapping((function(e){if(u!==null){if(c<e.generatedLine){addMappingWithCode(u,shiftNextLine());c++;l=0}else{var t=o[a]||"";var r=t.substr(0,e.generatedColumn-l);o[a]=t.substr(e.generatedColumn-l);l=e.generatedColumn;addMappingWithCode(u,r);u=e;return}}while(c<e.generatedLine){n.add(shiftNextLine());c++}if(l<e.generatedColumn){var t=o[a]||"";n.add(t.substr(0,e.generatedColumn));o[a]=t.substr(e.generatedColumn);l=e.generatedColumn}u=e}),this);if(a<o.length){if(u){addMappingWithCode(u,shiftNextLine())}n.add(o.splice(a).join(""))}t.sources.forEach((function(e){var i=t.sourceContentFor(e);if(i!=null){if(r!=null){e=s.join(r,e)}n.setSourceContent(e,i)}}));return n;function addMappingWithCode(e,t){if(e===null||e.source===undefined){n.add(t)}else{var i=r?s.join(r,e.source):e.source;n.add(new SourceNode(e.originalLine,e.originalColumn,i,t,e.name))}}};SourceNode.prototype.add=function SourceNode_add(e){if(Array.isArray(e)){e.forEach((function(e){this.add(e)}),this)}else if(e[a]||typeof e==="string"){if(e){this.children.push(e)}}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e)}return this};SourceNode.prototype.prepend=function SourceNode_prepend(e){if(Array.isArray(e)){for(var t=e.length-1;t>=0;t--){this.prepend(e[t])}}else if(e[a]||typeof e==="string"){this.children.unshift(e)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e)}return this};SourceNode.prototype.walk=function SourceNode_walk(e){var t;for(var r=0,n=this.children.length;r<n;r++){t=this.children[r];if(t[a]){t.walk(e)}else{if(t!==""){e(t,{source:this.source,line:this.line,column:this.column,name:this.name})}}}};SourceNode.prototype.join=function SourceNode_join(e){var t;var r;var n=this.children.length;if(n>0){t=[];for(r=0;r<n-1;r++){t.push(this.children[r]);t.push(e)}t.push(this.children[r]);this.children=t}return this};SourceNode.prototype.replaceRight=function SourceNode_replaceRight(e,t){var r=this.children[this.children.length-1];if(r[a]){r.replaceRight(e,t)}else if(typeof r==="string"){this.children[this.children.length-1]=r.replace(e,t)}else{this.children.push("".replace(e,t))}return this};SourceNode.prototype.setSourceContent=function SourceNode_setSourceContent(e,t){this.sourceContents[s.toSetString(e)]=t};SourceNode.prototype.walkSourceContents=function SourceNode_walkSourceContents(e){for(var t=0,r=this.children.length;t<r;t++){if(this.children[t][a]){this.children[t].walkSourceContents(e)}}var n=Object.keys(this.sourceContents);for(var t=0,r=n.length;t<r;t++){e(s.fromSetString(n[t]),this.sourceContents[n[t]])}};SourceNode.prototype.toString=function SourceNode_toString(){var e="";this.walk((function(t){e+=t}));return e};SourceNode.prototype.toStringWithSourceMap=function SourceNode_toStringWithSourceMap(e){var t={code:"",line:1,column:0};var r=new n(e);var s=false;var i=null;var a=null;var c=null;var l=null;this.walk((function(e,n){t.code+=e;if(n.source!==null&&n.line!==null&&n.column!==null){if(i!==n.source||a!==n.line||c!==n.column||l!==n.name){r.addMapping({source:n.source,original:{line:n.line,column:n.column},generated:{line:t.line,column:t.column},name:n.name})}i=n.source;a=n.line;c=n.column;l=n.name;s=true}else if(s){r.addMapping({generated:{line:t.line,column:t.column}});i=null;s=false}for(var u=0,p=e.length;u<p;u++){if(e.charCodeAt(u)===o){t.line++;t.column=0;if(u+1===p){i=null;s=false}else if(s){r.addMapping({source:n.source,original:{line:n.line,column:n.column},generated:{line:t.line,column:t.column},name:n.name})}}else{t.column++}}}));this.walkSourceContents((function(e,t){r.setSourceContent(e,t)}));return{code:t.code,map:r}};t.SourceNode=SourceNode},4524:function(e,t){function getArg(e,t,r){if(t in e){return e[t]}else if(arguments.length===3){return r}else{throw new Error('"'+t+'" is a required argument.')}}t.getArg=getArg;var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;var n=/^data:.+\,.+$/;function urlParse(e){var t=e.match(r);if(!t){return null}return{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}}t.urlParse=urlParse;function urlGenerate(e){var t="";if(e.scheme){t+=e.scheme+":"}t+="//";if(e.auth){t+=e.auth+"@"}if(e.host){t+=e.host}if(e.port){t+=":"+e.port}if(e.path){t+=e.path}return t}t.urlGenerate=urlGenerate;var s=32;function lruMemoize(e){var t=[];return function(r){for(var n=0;n<t.length;n++){if(t[n].input===r){var i=t[0];t[0]=t[n];t[n]=i;return t[0].result}}var o=e(r);t.unshift({input:r,result:o});if(t.length>s){t.pop()}return o}}var i=lruMemoize((function normalize(e){var r=e;var n=urlParse(e);if(n){if(!n.path){return e}r=n.path}var s=t.isAbsolute(r);var i=[];var o=0;var a=0;while(true){o=a;a=r.indexOf("/",o);if(a===-1){i.push(r.slice(o));break}else{i.push(r.slice(o,a));while(a<r.length&&r[a]==="/"){a++}}}for(var c,l=0,a=i.length-1;a>=0;a--){c=i[a];if(c==="."){i.splice(a,1)}else if(c===".."){l++}else if(l>0){if(c===""){i.splice(a+1,l);l=0}else{i.splice(a,2);l--}}}r=i.join("/");if(r===""){r=s?"/":"."}if(n){n.path=r;return urlGenerate(n)}return r}));t.normalize=i;function join(e,t){if(e===""){e="."}if(t===""){t="."}var r=urlParse(t);var s=urlParse(e);if(s){e=s.path||"/"}if(r&&!r.scheme){if(s){r.scheme=s.scheme}return urlGenerate(r)}if(r||t.match(n)){return t}if(s&&!s.host&&!s.path){s.host=t;return urlGenerate(s)}var o=t.charAt(0)==="/"?t:i(e.replace(/\/+$/,"")+"/"+t);if(s){s.path=o;return urlGenerate(s)}return o}t.join=join;t.isAbsolute=function(e){return e.charAt(0)==="/"||r.test(e)};function relative(e,t){if(e===""){e="."}e=e.replace(/\/$/,"");var r=0;while(t.indexOf(e+"/")!==0){var n=e.lastIndexOf("/");if(n<0){return t}e=e.slice(0,n);if(e.match(/^([^\/]+:\/)?\/*$/)){return t}++r}return Array(r+1).join("../")+t.substr(e.length+1)}t.relative=relative;var o=function(){var e=Object.create(null);return!("__proto__"in e)}();function identity(e){return e}function toSetString(e){if(isProtoString(e)){return"$"+e}return e}t.toSetString=o?identity:toSetString;function fromSetString(e){if(isProtoString(e)){return e.slice(1)}return e}t.fromSetString=o?identity:fromSetString;function isProtoString(e){if(!e){return false}var t=e.length;if(t<9){return false}if(e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95){return false}for(var r=t-10;r>=0;r--){if(e.charCodeAt(r)!==36){return false}}return true}function compareByOriginalPositions(e,t,r){var n=strcmp(e.source,t.source);if(n!==0){return n}n=e.originalLine-t.originalLine;if(n!==0){return n}n=e.originalColumn-t.originalColumn;if(n!==0||r){return n}n=e.generatedColumn-t.generatedColumn;if(n!==0){return n}n=e.generatedLine-t.generatedLine;if(n!==0){return n}return strcmp(e.name,t.name)}t.compareByOriginalPositions=compareByOriginalPositions;function compareByOriginalPositionsNoSource(e,t,r){var n;n=e.originalLine-t.originalLine;if(n!==0){return n}n=e.originalColumn-t.originalColumn;if(n!==0||r){return n}n=e.generatedColumn-t.generatedColumn;if(n!==0){return n}n=e.generatedLine-t.generatedLine;if(n!==0){return n}return strcmp(e.name,t.name)}t.compareByOriginalPositionsNoSource=compareByOriginalPositionsNoSource;function compareByGeneratedPositionsDeflated(e,t,r){var n=e.generatedLine-t.generatedLine;if(n!==0){return n}n=e.generatedColumn-t.generatedColumn;if(n!==0||r){return n}n=strcmp(e.source,t.source);if(n!==0){return n}n=e.originalLine-t.originalLine;if(n!==0){return n}n=e.originalColumn-t.originalColumn;if(n!==0){return n}return strcmp(e.name,t.name)}t.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function compareByGeneratedPositionsDeflatedNoLine(e,t,r){var n=e.generatedColumn-t.generatedColumn;if(n!==0||r){return n}n=strcmp(e.source,t.source);if(n!==0){return n}n=e.originalLine-t.originalLine;if(n!==0){return n}n=e.originalColumn-t.originalColumn;if(n!==0){return n}return strcmp(e.name,t.name)}t.compareByGeneratedPositionsDeflatedNoLine=compareByGeneratedPositionsDeflatedNoLine;function strcmp(e,t){if(e===t){return 0}if(e===null){return 1}if(t===null){return-1}if(e>t){return 1}return-1}function compareByGeneratedPositionsInflated(e,t){var r=e.generatedLine-t.generatedLine;if(r!==0){return r}r=e.generatedColumn-t.generatedColumn;if(r!==0){return r}r=strcmp(e.source,t.source);if(r!==0){return r}r=e.originalLine-t.originalLine;if(r!==0){return r}r=e.originalColumn-t.originalColumn;if(r!==0){return r}return strcmp(e.name,t.name)}t.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))}t.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(e,t,r){t=t||"";if(e){if(e[e.length-1]!=="/"&&t[0]!=="/"){e+="/"}t=e+t}if(r){var n=urlParse(r);if(!n){throw new Error("sourceMapURL could not be parsed")}if(n.path){var s=n.path.lastIndexOf("/");if(s>=0){n.path=n.path.substring(0,s+1)}}t=join(urlGenerate(n),t)}return i(t)}t.computeSourceURL=computeSourceURL},1746:function(e,t,r){t.SourceMapGenerator=r(3301).SourceMapGenerator;t.SourceMapConsumer=r(5635).SourceMapConsumer;t.SourceNode=r(5772).SourceNode},7632:function(e,t,r){const n=r(4854);const s=r(5833);const i=r(1204);const o=s.utils.report;const a=s.utils.ruleMessages;const c=s.utils.validateOptions;const l="plugin/declaration-block-no-ignored-properties";const u=a(l,{rejected:(e,t)=>`Unexpected "${e}" with "${t}"`});const p=[{property:"display",value:"inline",ignoredProperties:["width","min-width","max-width","height","min-height","max-height","margin","margin-top","margin-bottom","overflow","overflow-x","overflow-y"]},{property:"display",value:"list-item",ignoredProperties:["vertical-align"]},{property:"display",value:"block",ignoredProperties:["vertical-align"]},{property:"display",value:"flex",ignoredProperties:["vertical-align"]},{property:"display",value:"table",ignoredProperties:["vertical-align"]},{property:"display",value:"/^table-(row|row-group|column|column-group|header-group|footer-group|cell)$/",ignoredProperties:["margin","margin-top","margin-right","margin-bottom","margin-left"]},{property:"display",value:"/^table-(row|row-group|column|column-group|header-group|footer-group)$/",ignoredProperties:["padding","padding-top","padding-right","padding-bottom","padding-left"]},{property:"display",value:"/^table-(row|row-group|column|column-group|header-group|footer-group|caption)$/",ignoredProperties:["vertical-align"]},{property:"display",value:"/^table-(row|row-group)$/",ignoredProperties:["width","min-width","max-width"]},{property:"display",value:"/^table-(column|column-group)$/",ignoredProperties:["height","min-height","max-height"]},{property:"float",value:"left",ignoredProperties:["vertical-align"]},{property:"float",value:"right",ignoredProperties:["vertical-align"]},{property:"position",value:"static",ignoredProperties:["top","right","bottom","left","z-index"]},{property:"position",value:"absolute",ignoredProperties:["float","clear","vertical-align"]},{property:"position",value:"fixed",ignoredProperties:["float","clear","vertical-align"]},{property:"list-style-type",value:"none",ignoredProperties:["list-style-image"]},{property:"overflow",value:"visible",ignoredProperties:["resize"]}];const rule=e=>(t,r)=>{const s=c(r,l,{actual:e});if(!s){return}t.walkRules((e=>{const t={};e.walkDecls((e=>{t[e.prop]=e}));function check(e,s){const a=t[e];const c=a.value;const h=i.unprefixed(e);const d=i.unprefixed(c);p.forEach((e=>{const t=n(h.toLowerCase(),e.property);const i=n(d.toLowerCase(),e.value);if(!t||!i){return}const c=e.ignoredProperties;a.parent.nodes.forEach(((e,t)=>{if(!e.prop||c.indexOf(e.prop.toLowerCase())===-1||s===t){return}o({message:u.rejected(e.prop,a.toString()),node:e,result:r,ruleName:l})}))}))}Object.keys(t).forEach(check)}))};e.exports=s.createPlugin(l,rule);e.exports.ruleName=l;e.exports.messages=u},4854:function(e){e.exports=function matchesStringOrRegExp(e,t){if(!Array.isArray(e)){return testAgainstStringOrArray(e,t)}for(const r of e){const e=testAgainstStringOrArray(r,t);if(e){return e}}return false};function testAgainstStringOrArray(e,t){if(!Array.isArray(t)){return testAgainstString(e,t)}for(const r of t){const t=testAgainstString(e,r);if(t){return t}}return false}function testAgainstString(e,t){const r=t[0];const n=t[t.length-1];const s=t[t.length-2];const i=r==="/"&&(n==="/"||s==="/"&&n==="i");const o=i&&n==="i";if(i){const r=o?new RegExp(t.slice(1,-2),"i").test(e):new RegExp(t.slice(1,-1)).test(e);return r?{match:e,pattern:t}:false}return e===t?{match:e,pattern:t}:false}},1204:function(e){const t={prefix(e){const t=e.match(/^(-\w+-)/);if(t){return t[0]}return""},unprefixed(e){return e.replace(/^-\w+-/,"")}};e.exports=t},5049:function(e,t,r){"use strict";const n=r(5869);const{assertNumber:s}=r(9271);const i="stylelint-";const o=`${i}disable`;const a=`${i}enable`;const c=`${i}disable-line`;const l=`${i}disable-next-line`;const u="all";function createDisableRange(e,t,r,n,s,i){return{comment:e,start:t,end:s||undefined,strictStart:r,strictEnd:typeof i==="boolean"?i:undefined,description:n}}e.exports=function assignDisabledRanges(e,t){t.stylelint=t.stylelint||{disabledRanges:{},ruleSeverities:{},customMessages:{},ruleMetadata:{}};const r={all:[]};t.stylelint.disabledRanges=r;let p;e.walkComments((e=>{if(p){if(p===e)p=null;return}const t=e.next();if(!(!n(e)&&isStylelintCommand(e)&&t&&t.type==="comment"&&(e.text.includes("--")||t.text.startsWith("--")))){checkComment(e);return}let r=e.source&&e.source.end&&e.source.end.line||0;const s=e.clone();let i=t;while(!n(i)&&!isStylelintCommand(i)){const e=i.source&&i.source.end&&i.source.end.line||0;if(r+1!==e)break;s.text+=`\n${i.text}`;if(s.source&&i.source){s.source.end=i.source.end}p=i;const t=i.next();if(!t||t.type!=="comment")break;i=t;r=e}checkComment(s)}));return t;function isStylelintCommand(e){return e.text.startsWith(o)||e.text.startsWith(a)}function processDisableLineCommand(e){if(e.source&&e.source.start){const t=e.source.start.line;const r=getDescription(e.text);for(const n of getCommandRules(c,e.text)){disableLine(e,t,n,r)}}}function processDisableNextLineCommand(e){if(e.source&&e.source.end){const t=e.source.end.line;const r=getDescription(e.text);for(const n of getCommandRules(l,e.text)){disableLine(e,t+1,n,r)}}}function disableLine(e,t,n,s){if(ruleIsDisabled(u)){throw e.error("All rules have already been disabled",{plugin:"stylelint"})}if(n===u){for(const n of Object.keys(r)){if(ruleIsDisabled(n))continue;const r=n===u;startDisabledRange(e,t,n,r,s);endDisabledRange(t,n,r)}}else{if(ruleIsDisabled(n)){throw e.error(`"${n}" has already been disabled`,{plugin:"stylelint"})}startDisabledRange(e,t,n,true,s);endDisabledRange(t,n,true)}}function processDisableCommand(e){const t=getDescription(e.text);for(const n of getCommandRules(o,e.text)){const s=n===u;if(ruleIsDisabled(n)){throw e.error(s?"All rules have already been disabled":`"${n}" has already been disabled`,{plugin:"stylelint"})}if(e.source&&e.source.start){const i=e.source.start.line;if(s){for(const n of Object.keys(r)){startDisabledRange(e,i,n,n===u,t)}}else{startDisabledRange(e,i,n,true,t)}}}}function processEnableCommand(e){for(const t of getCommandRules(a,e.text)){const n=e.source&&e.source.end&&e.source.end.line;s(n);if(t===u){if(Object.values(r).every((e=>e.length===0||typeof e[e.length-1].end==="number"))){throw e.error("No rules have been disabled",{plugin:"stylelint"})}for(const[e,t]of Object.entries(r)){const r=t[t.length-1];if(!r||!r.end){endDisabledRange(n,e,e===u)}}continue}if(ruleIsDisabled(u)&&r[t]===undefined){if(!r[t]){r[t]=r.all.map((({start:t,end:r,description:n})=>createDisableRange(e,t,false,n,r,false)))}else{const e=r[u];const n=e?e[e.length-1]:null;if(n){r[t].push({...n})}}endDisabledRange(n,t,true);continue}if(ruleIsDisabled(t)){endDisabledRange(n,t,true);continue}throw e.error(`"${t}" has not been disabled`,{plugin:"stylelint"})}}function checkComment(e){const r=e.text;if(r.indexOf(i)!==0){return t}if(r.startsWith(c)){processDisableLineCommand(e)}else if(r.startsWith(l)){processDisableNextLineCommand(e)}else if(r.startsWith(o)){processDisableCommand(e)}else if(r.startsWith(a)){processEnableCommand(e)}}function getCommandRules(e,t){const r=t.slice(e.length).split(/\s-{2,}\s/u)[0].trim().split(",").filter(Boolean).map((e=>e.trim()));if(r.length===0){return[u]}return r}function getDescription(e){const t=e.indexOf("--");if(t===-1)return;return e.slice(t+2).trim()}function startDisabledRange(e,t,n,s,i){const o=createDisableRange(e,t,s,i);ensureRuleRanges(n);r[n].push(o)}function endDisabledRange(e,t,n){const s=r[t];const i=s?s[s.length-1]:null;if(!i){return}i.end=e;i.strictEnd=n}function ensureRuleRanges(e){if(!r[e]){r[e]=r.all.map((({comment:e,start:t,end:r,description:n})=>createDisableRange(e,t,false,n,r,false)))}}function ruleIsDisabled(e){const t=r[e];if(!t)return false;const n=t[t.length-1];if(!n)return false;if(!n.end)return true;return false}}},957:function(e,t,r){"use strict";const n=r(2994);const s=r(2523);const i=r(5829);const o=r(1224);const a=r(5405);const c=r(498);const l=r(1017);async function augmentConfigBasic(e,t,r,n,s,i){let o=t;if(n){o=addOptions(e,o)}if(i){o=applyOverrides(o,s,i)}o=await extendConfig(e,o,r,s,i);const a=e._options.cwd;return absolutizePaths(o,r,a)}function augmentConfigExtended(e){return async t=>{if(!t){return null}const r=l.dirname(t.filepath||"");const{config:n}=t;const s=absolutizePaths(n,r,e);return{config:s,filepath:t.filepath}}}async function augmentConfigFull(e,t,r){if(!r){return null}const s=r.config;const i=r.filepath;const o=e._options.configBasedir||l.dirname(i||"");let c=await augmentConfigBasic(e,s,o,true,o,t);c=addPluginFunctions(c);c=addProcessorFunctions(c);if(!c.rules){throw n('No rules found within configuration. Have you provided a "rules" property?')}c=a(c);return{config:c,filepath:r.filepath}}function absolutizePaths(e,t,r){if(e.ignoreFiles){e.ignoreFiles=[e.ignoreFiles].flat().map((e=>{if(l.isAbsolute(e.replace(/^!/,"")))return e;return i(t,e)}))}if(e.plugins){e.plugins=[e.plugins].flat().map((e=>s(t,e,r)))}if(e.processors){e.processors=absolutizeProcessors(e.processors,t)}return e}function absolutizeProcessors(e,t){const r=Array.isArray(e)?e:[e];return r.map((e=>{if(typeof e==="string"){return s(t,e)}return[s(t,e[0]),e[1]]}))}async function extendConfig(e,t,r,n,s){if(t.extends===undefined){return t}const{extends:i,...o}=t;const a=[i].flat();let c=o;for(const t of a){const i=await loadExtendedConfig(e,r,t);if(i){let t=i.config;const r=l.dirname(i.filepath||"");t=await augmentConfigBasic(e,t,r,false,n,s);c=mergeConfigs(c,t)}}return mergeConfigs(c,o)}function loadExtendedConfig(e,t,r){const n=s(t,r,e._options.cwd);return e._extendExplorer.load(n)}function mergeConfigs(e,t){const r={};if(e.plugins||t.plugins){r.plugins=[];if(e.plugins){r.plugins=r.plugins.concat(e.plugins)}if(t.plugins){r.plugins=[...new Set(r.plugins.concat(t.plugins))]}}const n={};if(e.processors||t.processors){n.processors=[];if(e.processors){n.processors=n.processors.concat(e.processors)}if(t.processors){n.processors=[...new Set(n.processors.concat(t.processors))]}}const s={};if(e.overrides||t.overrides){s.overrides=[];if(e.overrides){s.overrides=s.overrides.concat(e.overrides)}if(t.overrides){s.overrides=[...new Set(s.overrides.concat(t.overrides))]}}const i={};if(e.rules||t.rules){i.rules={...e.rules,...t.rules}}const o={...e,...t,...n,...r,...s,...i};return o}function addPluginFunctions(e){if(!e.plugins){return e}const t=[e.plugins].flat();const r={};for(const e of t){let t=require(e);t=t.default||t;const s=[t].flat();for(const t of s){if(!t.ruleName){throw n(`stylelint requires plugins to expose a ruleName. The plugin "${e}" is not doing this, so will not work with stylelint. Please file an issue with the plugin.`)}if(!t.ruleName.includes("/")){throw n(`stylelint requires plugin rules to be namespaced, i.e. only \`plugin-namespace/plugin-rule-name\` plugin rule names are supported. The plugin rule "${t.ruleName}" does not do this, so will not work. Please file an issue with the plugin.`)}r[t.ruleName]=t.rule}}e.pluginFunctions=r;return e}const u=new Map;function addProcessorFunctions(e){if(!e.processors)return e;const t=[];const r=[];for(const n of[e.processors].flat()){const e=JSON.stringify(n);let s;if(u.has(e)){s=u.get(e)}else{const t=typeof n==="string"?n:n[0];const r=typeof n==="string"?undefined:n[1];let i=require(t);i=i.default||i;s=i(r);u.set(e,s)}if(s&&s.code){t.push(s.code)}if(s&&s.result){r.push(s.result)}}e.codeProcessors=t;e.resultProcessors=r;return e}function applyOverrides(e,t,r){let{overrides:n,...s}=e;if(!n){return s}if(!Array.isArray(n)){throw new TypeError('The `overrides` configuration property should be an array, e.g. { "overrides": [{ "files": "*.css", "rules": {} }] }.')}for(const e of n){const{files:n,...a}=e;if(!n){throw new Error('Every object in the `overrides` configuration property should have a `files` property with globs, e.g. { "overrides": [{ "files": "*.css", "rules": {} }] }.')}const u=[n].flat().map((e=>{if(l.isAbsolute(e.replace(/^!/,""))){return e}return i(t,e)})).map((e=>c(e)));if(o.isMatch(r,u,{dot:true})){s=mergeConfigs(s,a)}}return s}function addOptions(e,t){const r={...t};if(e._options.ignoreDisables){r.ignoreDisables=e._options.ignoreDisables}if(e._options.quiet){r.quiet=e._options.quiet}if(e._options.reportNeedlessDisables){r.reportNeedlessDisables=e._options.reportNeedlessDisables}if(e._options.reportInvalidScopeDisables){r.reportInvalidScopeDisables=e._options.reportInvalidScopeDisables}if(e._options.reportDescriptionlessDisables){r.reportDescriptionlessDisables=e._options.reportDescriptionlessDisables}if(e._options.customSyntax){r.customSyntax=e._options.customSyntax}return r}e.exports={augmentConfigExtended:augmentConfigExtended,augmentConfigFull:augmentConfigFull,applyOverrides:applyOverrides}},2417:function(e){"use strict";e.exports=function(e,t){let r;let n;if(e&&e.root){if(e.root.source){n=e.root.source.input.file;if(!n&&"id"in e.root.source.input){n=e.root.source.input.id}}const t=e.messages.filter((e=>e.stylelintType==="deprecation"));const s=t.map((e=>({text:e.text,reference:e.stylelintReference})));const i=e.messages.filter((e=>e.stylelintType==="invalidOption"));const o=i.map((e=>({text:e.text})));const a=e.messages.filter((e=>e.stylelintType==="parseError"));e.messages=e.messages.filter((e=>e.stylelintType!=="deprecation"&&e.stylelintType!=="invalidOption"&&e.stylelintType!=="parseError"));r={source:n,deprecations:s,invalidOptionWarnings:o,parseErrors:a,errored:e.stylelint.stylelintError,warnings:e.messages.map((e=>({line:e.line,column:e.column,rule:e.rule,severity:e.severity,text:e.text}))),ignored:e.stylelint.ignored,_postcssResult:e}}else if(t){if(t.name!=="CssSyntaxError"){throw t}r={source:t.file||"<input css 1>",deprecations:[],invalidOptionWarnings:[],parseErrors:[],errored:true,warnings:[{line:t.line,column:t.column,rule:t.name,severity:"error",text:`${t.reason} (${t.name})`}]}}else{throw new Error("createPartialStylelintResult must be called with either postcssResult or CssSyntaxError")}return r}},7117:function(e){"use strict";function createPlugin(e,t){return{ruleName:e,rule:t}}e.exports=createPlugin},1115:function(e,t,r){"use strict";const n=r(957);const s=r(1647);const i=r(5998);const o=r(3211);const a=r(9804);const c=r(8180);const{cosmiconfig:l}=r(8956);const u=process.env.NODE_ENV==="test";const p=u?process.cwd():undefined;function createStylelint(e={}){const t=e.cwd||process.cwd();const r={_options:{...e,cwd:t}};r._extendExplorer=l("",{transform:n.augmentConfigExtended(t),stopDir:p});r._specifiedConfigCache=new Map;r._postcssResultCache=new Map;r._createStylelintResult=s.bind(null,r);r._getPostcssResult=o.bind(null,r);r._lintSource=c.bind(null,r);r.getConfigForFile=i.bind(null,r);r.isPathIgnored=a.bind(null,r);return r}e.exports=createStylelint},1647:function(e,t,r){"use strict";const n=r(2417);e.exports=async function createStylelintResult(e,t,r,s){let i=n(t,s);const o=await e.getConfigForFile(r,r);const a=o===null?{}:o.config;const c=i.source||s&&s.file;if(a.resultProcessors){for(const e of a.resultProcessors){const t=e(i,c);if(t){i=t}}}return i}},3601:function(e,t,r){"use strict";const n=r(9673);const s=r(6161);e.exports=function descriptionlessDisables(e){for(const t of e){const e=s(t._postcssResult,"reportDescriptionlessDisables");if(!e)continue;const[r,i,o]=e;const a=o.disabledRanges;const c=new Set;for(const e of Object.keys(a)){for(const s of a[e]){if(s.description)continue;if(c.has(s.comment))continue;if(r===n(i,"except",e)){if(!r&&e==="all")c.add(s.comment);continue}c.add(s.comment);if(!s.comment.source||!s.comment.source.start)continue;t.warnings.push({text:`Disable for "${e}" is missing a description`,rule:"--report-descriptionless-disables",line:s.comment.source.start.line,column:s.comment.source.start.column,severity:i.severity})}}}}},4903:function(e,t,r){"use strict";const n=r(1042);const s=n(require);const i={compact:s("./compactFormatter"),json:s("./jsonFormatter"),string:s("./stringFormatter"),tap:s("./tapFormatter"),unix:s("./unixFormatter"),verbose:s("./verboseFormatter")};e.exports=i},5998:function(e,t,r){"use strict";const n=r(2994);const s=r(1017);const{augmentConfigFull:i}=r(957);const{cosmiconfig:o}=r(8956);const a=process.env.NODE_ENV==="test";const c=a?process.cwd():undefined;e.exports=async function getConfigForFile(e,t=e._options.cwd,r){const a=e._options.config;const l=e._options.cwd;if(a!==undefined){const t=e._specifiedConfigCache.get(a);if(t&&!a.overrides){return t}const n=i(e,r,{config:a,filepath:s.join(l,"argument-config")});e._specifiedConfigCache.set(a,n);return n}const u=o("stylelint",{transform:t=>i(e,r,t),stopDir:c});let p=e._options.configFile?await u.load(e._options.configFile):await u.search(t);if(!p){p=await u.search(l)}if(!p){return Promise.reject(n(`No configuration provided${t?` for ${t}`:""}`))}return p}},3211:function(e,t,r){"use strict";const n=r(7865)["default"];const s=r(1017);const{default:i}=r(5353);const{promises:o}=r(7147);const a=i();e.exports=async function getPostcssResult(e,t={}){const r=t.filePath?e._postcssResultCache.get(t.filePath):undefined;if(r){return r}if(e._options.syntax){let t='The "syntax" option is no longer available. ';t+=e._options.syntax==="css"?'You can remove the "--syntax" CLI flag as stylelint will now parse files as CSS by default':`You should install an appropriate syntax, e.g. postcss-scss, and use the "customSyntax" option`;return Promise.reject(new Error(t))}const s=t.customSyntax?getCustomSyntax(t.customSyntax):cssSyntax(e,t.filePath);const i={from:t.filePath,syntax:s};let c;if(t.code!==undefined){c=t.code}else if(t.filePath){c=await o.readFile(t.filePath,"utf8")}if(c===undefined){return Promise.reject(new Error("code or filePath required"))}if(t.codeProcessors&&t.codeProcessors.length){if(e._options.fix){console.warn("Autofix is incompatible with processors and will be disabled. Are you sure you need a processor?");e._options.fix=false}const r=t.code?t.codeFilename:t.filePath;for(const e of t.codeProcessors){c=e(c,r)}}const l=await new n(a,c,i);if(t.filePath){e._postcssResultCache.set(t.filePath,l)}return l};function getCustomSyntax(e){let t;if(typeof e==="string"){try{t=require(e)}catch(t){if(t&&typeof t==="object"&&t.code==="MODULE_NOT_FOUND"&&t.message.includes(e)){throw new Error(`Cannot resolve custom syntax module "${e}". Check that module "${e}" is available and spelled correctly.\n\nCaused by: ${t}`)}throw t}if(!t.parse){t={parse:t,stringify:i.stringify}}return t}if(typeof e==="object"){if(typeof e.parse==="function"){t={...e}}else{throw new TypeError(`An object provided to the "customSyntax" option must have a "parse" property. Ensure the "parse" property exists and its value is a function.`)}return t}throw new Error(`Custom syntax must be a string or a Syntax object`)}const c={html:"postcss-html",js:"@stylelint/postcss-css-in-js",jsx:"@stylelint/postcss-css-in-js",less:"postcss-less",md:"postcss-markdown",sass:"postcss-sass",sss:"sugarss",scss:"postcss-scss",svelte:"postcss-html",ts:"@stylelint/postcss-css-in-js",tsx:"@stylelint/postcss-css-in-js",vue:"postcss-html",xml:"postcss-html",xst:"postcss-html"};function cssSyntax(e,t){const n=t?s.extname(t).slice(1).toLowerCase():"";const o=["css","pcss","postcss"];if(c[n]){console.warn(`${t}: When linting something other than CSS, you should install an appropriate syntax, e.g. "${c[n]}", and use the "customSyntax" option`)}return{parse:e._options.fix&&o.includes(n)?r(3678):i.parse,stringify:i.stringify}}},5833:function(e,t,r){"use strict";const n=r(3779);const s=r(7117);const i=r(1115);const o=r(4903);const a=r(606);const c=r(6130);const l=r(5550);const u=r(9105);const p=r(2234);const h=r(607);const d=r(781);const g=Object.assign(a,{lint:p,rules:u,formatters:o,createPlugin:s,resolveConfig:d,createLinter:i,utils:{report:c,ruleMessages:l,validateOptions:h,checkAgainstRule:n}});e.exports=g},4227:function(e,t,r){"use strict";const n=r(9673);const s=r(6161);e.exports=function invalidScopeDisables(e){for(const t of e){const e=s(t._postcssResult,"reportInvalidScopeDisables");if(!e)continue;const[r,i,o]=e;const a=(o.config||{}).rules||{};const c=new Set(Object.keys(a));c.add("all");const l=o.disabledRanges;const u=Object.keys(l);for(const e of u){if(c.has(e))continue;if(r===n(i,"except",e))continue;for(const r of l[e]){if(!r.strictStart&&!r.strictEnd)continue;if(!r.comment.source||!r.comment.source.start)continue;t.warnings.push({text:`Rule "${e}" isn't enabled`,rule:"--report-invalid-scope-disables",line:r.comment.source.start.line,column:r.comment.source.start.column,severity:i.severity})}}}}},9804:function(e,t,r){"use strict";const n=r(5249);const s=r(4092);const i=r(1224);const o=r(498);const a=r(1017);e.exports=async function isPathIgnored(e,t){if(!t){return false}const r=e._options.cwd;const c=s(e._options);const l=await e.getConfigForFile(t,t);if(!l){return true}const u=(l.config.ignoreFiles||[]).map((e=>o(e)));const p=a.isAbsolute(t)?t:a.resolve(r,t);if(i([p],u).length){return true}if(n(c,[a.relative(r,p)]).length===0){return true}return false}},9966:function(e,t,r){"use strict";const n=r(5049);const s=r(6084);const i=r(2958);const o=r(9105);function lintPostcssResult(e,t,r){t.stylelint.ruleSeverities={};t.stylelint.customMessages={};t.stylelint.ruleMetadata={};t.stylelint.stylelintError=false;t.stylelint.quiet=r.quiet;t.stylelint.config=r;let a;const c=t.root;if(c){if(!("type"in c)){throw new Error("Unexpected Postcss root object!")}const e=c.source&&c.source.input.css.match(/\r?\n/);a=e?e[0]:s();n(c,t)}const l=isFixCompatible(t);if(!l){t.stylelint.disableWritingFix=true}const u=c&&c.constructor.name==="Document"?c.nodes:[c];const p=[];const h=Object.keys(o);const d=r.rules?Object.keys(r.rules).sort(((e,t)=>h.indexOf(e)-h.indexOf(t))):[];for(const n of d){const s=o[n]||r.pluginFunctions&&r.pluginFunctions[n];if(s===undefined){p.push(Promise.all(u.map((e=>i(n,e,t)))));continue}const c=r.rules&&r.rules[n];if(c===null||c[0]===null){continue}const h=c[0];const d=c[1];const g=r.defaultSeverity||"error";const m=d&&d.disableFix===true||false;if(m){t.stylelint.ruleDisableFix=true}t.stylelint.ruleSeverities[n]=d&&d.severity||g;t.stylelint.customMessages[n]=d&&d.message;t.stylelint.ruleMetadata[n]=s.meta||{};p.push(Promise.all(u.map((r=>s(h,d,{fix:!m&&e.fix&&l&&!t.stylelint.disabledRanges[n],newline:a})(r,t)))))}return Promise.all(p)}function isFixCompatible({stylelint:e}){if(e.disabledRanges.all.length)return false;return true}e.exports=lintPostcssResult},8180:function(e,t,r){"use strict";const n=r(2404);const s=r(9966);const i=r(1017);e.exports=async function lintSource(e,t={}){if(!t.filePath&&t.code===undefined&&!t.existingPostcssResult){return Promise.reject(new Error("You must provide filePath, code, or existingPostcssResult"))}const r=t.code!==undefined;const o=r?t.codeFilename:t.filePath;if(o!==undefined&&!i.isAbsolute(o)){if(r){return Promise.reject(new Error("codeFilename must be an absolute path"))}return Promise.reject(new Error("filePath must be an absolute path"))}const a=await e.isPathIgnored(o).catch((e=>{if(r&&n(e))return false;throw e}));if(a){return t.existingPostcssResult?Object.assign(t.existingPostcssResult,{stylelint:createEmptyStylelintPostcssResult()}):createEmptyPostcssResult(o)}const c=e._options.configFile||o;const l=e._options.cwd;const u=await e.getConfigForFile(c,o).catch((t=>{if(r&&n(t))return e.getConfigForFile(l);throw t}));if(!u){return Promise.reject(new Error("Config file not found"))}const p=u.config;const h=t.existingPostcssResult;const d={ruleSeverities:{},customMessages:{},ruleMetadata:{},disabledRanges:{}};const g=h||await e._getPostcssResult({code:t.code,codeFilename:t.codeFilename,filePath:o,codeProcessors:p.codeProcessors,customSyntax:p.customSyntax});const m=Object.assign(g,{stylelint:d});await s(e._options,m,p);return m};function createEmptyStylelintPostcssResult(){return{ruleSeverities:{},customMessages:{},ruleMetadata:{},disabledRanges:{},ignored:true,stylelintError:false}}function createEmptyPostcssResult(e){return{root:{source:{input:{file:e}}},messages:[],opts:undefined,stylelint:createEmptyStylelintPostcssResult(),warn:()=>{}}}},7605:function(e,t,r){"use strict";const n=r(9673);const s=r(5983);const i=r(6161);e.exports=function needlessDisables(e){for(const t of e){const e=i(t._postcssResult,"reportNeedlessDisables");if(!e)continue;const[r,o,a]=e;const c=a.disabledRanges;if(!c)continue;const l=a.disabledWarnings||[];const u=new Map;for(const e of l){const t=e.rule;const r=c[t];if(r){for(const n of r){if(isWarningInRange(e,n)){s(u,n.comment,(()=>new Set)).add(t)}}}for(const r of c.all){if(isWarningInRange(e,r)){s(u,r.comment,(()=>new Set)).add(t)}}}const p=new Set(c.all.map((e=>e.comment)));for(const[e,s]of Object.entries(c)){for(const i of s){if(e!=="all"&&p.has(i.comment))continue;if(r===n(o,"except",e))continue;const s=u.get(i.comment)||new Set;if(e==="all"?s.size!==0:s.has(e))continue;if(!i.comment.source||!i.comment.source.start)continue;t.warnings.push({text:`Needless disable for "${e}"`,rule:"--report-needless-disables",line:i.comment.source.start.line,column:i.comment.source.start.column,severity:o.severity})}}}};function isWarningInRange(e,t){const r=e.line;return t.start<=r&&(t.end!==undefined&&t.end>=r||t.end===undefined)}},5405:function(e,t,r){"use strict";const n=r(5020);const s=r(9105);function normalizeAllRuleSettings(e){if(!e.rules)return e;const t={};for(const[r,i]of Object.entries(e.rules)){const o=s[r]||e.pluginFunctions&&e.pluginFunctions[r];if(o){t[r]=n(i,r,o.primaryOptionArray)}else{t[r]=[]}}e.rules=t;return e}e.exports=normalizeAllRuleSettings},5020:function(e,t,r){"use strict";const n=r(9105);const{isPlainObject:s}=r(9271);e.exports=function normalizeRuleSettings(e,t,r){if(e===null||e===undefined){return null}if(!Array.isArray(e)){return[e]}if(e.length>0&&(e[0]===null||e[0]===undefined)){return null}if(r===undefined){const e=n[t];if(e&&"primaryOptionArray"in e){r=e.primaryOptionArray}}if(!r){return e}if(e.length===1&&Array.isArray(e[0])){return e}if(e.length===2&&!s(e[0])&&s(e[1])){return e}return[e]}},606:function(e,t,r){"use strict";const n=r(1115);const s=r(1017);e.exports=(e={})=>{const[t,r]=isConfig(e)?[process.cwd(),{config:e}]:[e.cwd||process.cwd(),e];const i=n(r);return{postcssPlugin:"stylelint",Once(e,{result:r}){let n=e.source&&e.source.input.file;if(n&&!s.isAbsolute(n)){n=s.join(t,n)}return i._lintSource({filePath:n,existingPostcssResult:r})}}};e.exports.postcss=true;function isConfig(e){return"rules"in e}},7400:function(e,t,r){"use strict";const n=r(3601);const s=r(4227);const i=r(7605);const o=r(9133);function prepareReturnValue(e,t,r,a){o(e);i(e);s(e);n(e);const c=e.some((e=>e.errored||e.parseErrors.length>0||e.warnings.some((e=>e.severity==="error"))));const l={cwd:a,errored:c,results:[],output:"",reportedDisables:[]};if(t!==undefined){const r=e.reduce(((e,t)=>e+t.warnings.length),0);if(r>t){l.maxWarningsExceeded={maxWarnings:t,foundWarnings:r}}}l.output=r(e,l);l.results=e;return l}e.exports=prepareReturnValue},9133:function(e){"use strict";e.exports=function(e){for(const t of e){if(!t._postcssResult){continue}const e=t._postcssResult.stylelint.disabledRanges;if(!e)continue;const r=t._postcssResult.stylelint.config;if(!r||!r.rules)continue;if(!Object.values(r.rules).some((e=>reportDisablesForRule(e)))){continue}for(const[n,s]of Object.entries(e)){for(const e of s){if(!reportDisablesForRule(r.rules[n]||[]))continue;if(!e.comment.source||!e.comment.source.start)continue;t.warnings.push({text:`Rule "${n}" may not be disabled`,rule:"reportDisables",line:e.comment.source.start.line,column:e.comment.source.start.column,severity:"error"})}}}};function reportDisablesForRule(e){if(!e||!e[1])return false;return Boolean(e[1].reportDisables)}},2958:function(e,t,r){"use strict";const n=r(5525);const s=r(9105);const i=6;const o=3;function extractSuggestions(e){const t=Array.from({length:i});for(let e=0;e<t.length;e++){t[e]=[]}for(const r of Object.keys(s)){const s=n.distance(r,e);if(s<=i){t[s-1].push(r)}}let r=[];for(const[e,n]of t.entries()){if(n.length>0){if(e<3){return n.slice(0,o)}r=r.concat(n)}}return r.slice(0,o)}function rejectMessage(e,t=[]){return`Unknown rule ${e}.${t.length>0?` Did you mean ${t.join(", ")}?`:""}`}const a=new Map;e.exports=function reportUnknownRuleNames(e,t,r){const n=a.has(e)?a.get(e):extractSuggestions(e);a.set(e,n);r.warn(rejectMessage(e,n),{severity:"error",rule:e,node:t,index:0})}},781:function(e,t,r){"use strict";const n=r(1115);const s=r(1017);e.exports=async function resolveConfig(e,{cwd:t=process.cwd(),config:r,configBasedir:i,configFile:o}={}){if(!e){return undefined}const a=n({config:r,configFile:o,configBasedir:i,cwd:t});const c=!s.isAbsolute(e)?s.join(t,e):s.normalize(e);const l=a._options.configFile||c;const u=await a.getConfigForFile(l,c);if(!u){return undefined}return u.config}},9105:function(e,t,r){"use strict";const n=r(1042);const s=n(require);const i={"alpha-value-notation":s("./alpha-value-notation"),"at-rule-allowed-list":s("./at-rule-allowed-list"),"at-rule-disallowed-list":s("./at-rule-disallowed-list"),"at-rule-empty-line-before":s("./at-rule-empty-line-before"),"at-rule-name-case":s("./at-rule-name-case"),"at-rule-name-newline-after":s("./at-rule-name-newline-after"),"at-rule-semicolon-space-before":s("./at-rule-semicolon-space-before"),"at-rule-name-space-after":s("./at-rule-name-space-after"),"at-rule-no-unknown":s("./at-rule-no-unknown"),"at-rule-no-vendor-prefix":s("./at-rule-no-vendor-prefix"),"at-rule-property-required-list":s("./at-rule-property-required-list"),"at-rule-semicolon-newline-after":s("./at-rule-semicolon-newline-after"),"block-closing-brace-empty-line-before":s("./block-closing-brace-empty-line-before"),"block-closing-brace-newline-after":s("./block-closing-brace-newline-after"),"block-closing-brace-newline-before":s("./block-closing-brace-newline-before"),"block-closing-brace-space-after":s("./block-closing-brace-space-after"),"block-closing-brace-space-before":s("./block-closing-brace-space-before"),"block-no-empty":s("./block-no-empty"),"block-opening-brace-newline-after":s("./block-opening-brace-newline-after"),"block-opening-brace-newline-before":s("./block-opening-brace-newline-before"),"block-opening-brace-space-after":s("./block-opening-brace-space-after"),"block-opening-brace-space-before":s("./block-opening-brace-space-before"),"color-function-notation":s("./color-function-notation"),"color-hex-alpha":s("./color-hex-alpha"),"color-hex-case":s("./color-hex-case"),"color-hex-length":s("./color-hex-length"),"color-named":s("./color-named"),"color-no-hex":s("./color-no-hex"),"color-no-invalid-hex":s("./color-no-invalid-hex"),"comment-empty-line-before":s("./comment-empty-line-before"),"comment-no-empty":s("./comment-no-empty"),"comment-pattern":s("./comment-pattern"),"comment-whitespace-inside":s("./comment-whitespace-inside"),"comment-word-disallowed-list":s("./comment-word-disallowed-list"),"custom-media-pattern":s("./custom-media-pattern"),"custom-property-empty-line-before":s("./custom-property-empty-line-before"),"custom-property-no-missing-var-function":s("./custom-property-no-missing-var-function"),"custom-property-pattern":s("./custom-property-pattern"),"declaration-bang-space-after":s("./declaration-bang-space-after"),"declaration-bang-space-before":s("./declaration-bang-space-before"),"declaration-block-no-duplicate-custom-properties":s("./declaration-block-no-duplicate-custom-properties"),"declaration-block-no-duplicate-properties":s("./declaration-block-no-duplicate-properties"),"declaration-block-no-redundant-longhand-properties":s("./declaration-block-no-redundant-longhand-properties"),"declaration-block-no-shorthand-property-overrides":s("./declaration-block-no-shorthand-property-overrides"),"declaration-block-semicolon-newline-after":s("./declaration-block-semicolon-newline-after"),"declaration-block-semicolon-newline-before":s("./declaration-block-semicolon-newline-before"),"declaration-block-semicolon-space-after":s("./declaration-block-semicolon-space-after"),"declaration-block-semicolon-space-before":s("./declaration-block-semicolon-space-before"),"declaration-block-single-line-max-declarations":s("./declaration-block-single-line-max-declarations"),"declaration-block-trailing-semicolon":s("./declaration-block-trailing-semicolon"),"declaration-colon-newline-after":s("./declaration-colon-newline-after"),"declaration-colon-space-after":s("./declaration-colon-space-after"),"declaration-colon-space-before":s("./declaration-colon-space-before"),"declaration-empty-line-before":s("./declaration-empty-line-before"),"declaration-no-important":s("./declaration-no-important"),"declaration-property-max-values":s("./declaration-property-max-values"),"declaration-property-unit-allowed-list":s("./declaration-property-unit-allowed-list"),"declaration-property-unit-disallowed-list":s("./declaration-property-unit-disallowed-list"),"declaration-property-value-allowed-list":s("./declaration-property-value-allowed-list"),"declaration-property-value-disallowed-list":s("./declaration-property-value-disallowed-list"),"font-family-no-missing-generic-family-keyword":s("./font-family-no-missing-generic-family-keyword"),"font-family-name-quotes":s("./font-family-name-quotes"),"font-family-no-duplicate-names":s("./font-family-no-duplicate-names"),"font-weight-notation":s("./font-weight-notation"),"function-allowed-list":s("./function-allowed-list"),"function-calc-no-unspaced-operator":s("./function-calc-no-unspaced-operator"),"function-comma-newline-after":s("./function-comma-newline-after"),"function-comma-newline-before":s("./function-comma-newline-before"),"function-comma-space-after":s("./function-comma-space-after"),"function-comma-space-before":s("./function-comma-space-before"),"function-disallowed-list":s("./function-disallowed-list"),"function-linear-gradient-no-nonstandard-direction":s("./function-linear-gradient-no-nonstandard-direction"),"function-max-empty-lines":s("./function-max-empty-lines"),"function-name-case":s("./function-name-case"),"function-no-unknown":s("./function-no-unknown"),"function-parentheses-newline-inside":s("./function-parentheses-newline-inside"),"function-parentheses-space-inside":s("./function-parentheses-space-inside"),"function-url-no-scheme-relative":s("./function-url-no-scheme-relative"),"function-url-quotes":s("./function-url-quotes"),"function-url-scheme-allowed-list":s("./function-url-scheme-allowed-list"),"function-url-scheme-disallowed-list":s("./function-url-scheme-disallowed-list"),"function-whitespace-after":s("./function-whitespace-after"),"hue-degree-notation":s("./hue-degree-notation"),"keyframe-declaration-no-important":s("./keyframe-declaration-no-important"),"keyframes-name-pattern":s("./keyframes-name-pattern"),"length-zero-no-unit":s("./length-zero-no-unit"),linebreaks:s("./linebreaks"),"max-empty-lines":s("./max-empty-lines"),"max-line-length":s("./max-line-length"),"max-nesting-depth":s("./max-nesting-depth"),"media-feature-colon-space-after":s("./media-feature-colon-space-after"),"media-feature-colon-space-before":s("./media-feature-colon-space-before"),"media-feature-name-allowed-list":s("./media-feature-name-allowed-list"),"media-feature-name-case":s("./media-feature-name-case"),"media-feature-name-disallowed-list":s("./media-feature-name-disallowed-list"),"media-feature-name-no-unknown":s("./media-feature-name-no-unknown"),"media-feature-name-no-vendor-prefix":s("./media-feature-name-no-vendor-prefix"),"media-feature-name-value-allowed-list":s("./media-feature-name-value-allowed-list"),"media-feature-parentheses-space-inside":s("./media-feature-parentheses-space-inside"),"media-feature-range-operator-space-after":s("./media-feature-range-operator-space-after"),"media-feature-range-operator-space-before":s("./media-feature-range-operator-space-before"),"media-query-list-comma-newline-after":s("./media-query-list-comma-newline-after"),"media-query-list-comma-newline-before":s("./media-query-list-comma-newline-before"),"media-query-list-comma-space-after":s("./media-query-list-comma-space-after"),"media-query-list-comma-space-before":s("./media-query-list-comma-space-before"),"named-grid-areas-no-invalid":s("./named-grid-areas-no-invalid"),"no-descending-specificity":s("./no-descending-specificity"),"no-duplicate-at-import-rules":s("./no-duplicate-at-import-rules"),"no-duplicate-selectors":s("./no-duplicate-selectors"),"no-empty-source":s("./no-empty-source"),"no-empty-first-line":s("./no-empty-first-line"),"no-eol-whitespace":s("./no-eol-whitespace"),"no-extra-semicolons":s("./no-extra-semicolons"),"no-invalid-double-slash-comments":s("./no-invalid-double-slash-comments"),"no-invalid-position-at-import-rule":s("./no-invalid-position-at-import-rule"),"no-irregular-whitespace":s("./no-irregular-whitespace"),"no-missing-end-of-source-newline":s("./no-missing-end-of-source-newline"),"no-unknown-animations":s("./no-unknown-animations"),"number-leading-zero":s("./number-leading-zero"),"number-max-precision":s("./number-max-precision"),"number-no-trailing-zeros":s("./number-no-trailing-zeros"),"property-allowed-list":s("./property-allowed-list"),"property-case":s("./property-case"),"property-disallowed-list":s("./property-disallowed-list"),"property-no-unknown":s("./property-no-unknown"),"property-no-vendor-prefix":s("./property-no-vendor-prefix"),"rule-empty-line-before":s("./rule-empty-line-before"),"rule-selector-property-disallowed-list":s("./rule-selector-property-disallowed-list"),"selector-attribute-brackets-space-inside":s("./selector-attribute-brackets-space-inside"),"selector-attribute-name-disallowed-list":s("./selector-attribute-name-disallowed-list"),"selector-attribute-operator-allowed-list":s("./selector-attribute-operator-allowed-list"),"selector-attribute-operator-disallowed-list":s("./selector-attribute-operator-disallowed-list"),"selector-attribute-operator-space-after":s("./selector-attribute-operator-space-after"),"selector-attribute-operator-space-before":s("./selector-attribute-operator-space-before"),"selector-attribute-quotes":s("./selector-attribute-quotes"),"selector-class-pattern":s("./selector-class-pattern"),"selector-combinator-allowed-list":s("./selector-combinator-allowed-list"),"selector-combinator-disallowed-list":s("./selector-combinator-disallowed-list"),"selector-combinator-space-after":s("./selector-combinator-space-after"),"selector-combinator-space-before":s("./selector-combinator-space-before"),"selector-descendant-combinator-no-non-space":s("./selector-descendant-combinator-no-non-space"),"selector-disallowed-list":s("./selector-disallowed-list"),"selector-id-pattern":s("./selector-id-pattern"),"selector-list-comma-newline-after":s("./selector-list-comma-newline-after"),"selector-list-comma-newline-before":s("./selector-list-comma-newline-before"),"selector-list-comma-space-after":s("./selector-list-comma-space-after"),"selector-list-comma-space-before":s("./selector-list-comma-space-before"),"selector-max-attribute":s("./selector-max-attribute"),"selector-max-class":s("./selector-max-class"),"selector-max-combinators":s("./selector-max-combinators"),"selector-max-compound-selectors":s("./selector-max-compound-selectors"),"selector-max-empty-lines":s("./selector-max-empty-lines"),"selector-max-id":s("./selector-max-id"),"selector-max-pseudo-class":s("./selector-max-pseudo-class"),"selector-max-specificity":s("./selector-max-specificity"),"selector-max-type":s("./selector-max-type"),"selector-max-universal":s("./selector-max-universal"),"selector-nested-pattern":s("./selector-nested-pattern"),"selector-no-qualifying-type":s("./selector-no-qualifying-type"),"selector-no-vendor-prefix":s("./selector-no-vendor-prefix"),"selector-pseudo-class-allowed-list":s("./selector-pseudo-class-allowed-list"),"selector-pseudo-class-case":s("./selector-pseudo-class-case"),"selector-pseudo-class-disallowed-list":s("./selector-pseudo-class-disallowed-list"),"selector-pseudo-class-no-unknown":s("./selector-pseudo-class-no-unknown"),"selector-pseudo-class-parentheses-space-inside":s("./selector-pseudo-class-parentheses-space-inside"),"selector-pseudo-element-allowed-list":s("./selector-pseudo-element-allowed-list"),"selector-pseudo-element-case":s("./selector-pseudo-element-case"),"selector-pseudo-element-colon-notation":s("./selector-pseudo-element-colon-notation"),"selector-pseudo-element-disallowed-list":s("./selector-pseudo-element-disallowed-list"),"selector-pseudo-element-no-unknown":s("./selector-pseudo-element-no-unknown"),"selector-type-case":s("./selector-type-case"),"selector-type-no-unknown":s("./selector-type-no-unknown"),"shorthand-property-no-redundant-values":s("./shorthand-property-no-redundant-values"),"string-no-newline":s("./string-no-newline"),"string-quotes":s("./string-quotes"),"time-min-milliseconds":s("./time-min-milliseconds"),"unicode-bom":s("./unicode-bom"),"unit-allowed-list":s("./unit-allowed-list"),"unit-case":s("./unit-case"),"unit-disallowed-list":s("./unit-disallowed-list"),"unit-no-unknown":s("./unit-no-unknown"),"value-keyword-case":s("./value-keyword-case"),"value-list-comma-newline-after":s("./value-list-comma-newline-after"),"value-list-comma-newline-before":s("./value-list-comma-newline-before"),"value-list-comma-space-after":s("./value-list-comma-space-after"),"value-list-comma-space-before":s("./value-list-comma-space-before"),"value-list-max-empty-lines":s("./value-list-max-empty-lines"),"value-no-vendor-prefix":s("./value-no-vendor-prefix"),indentation:s("./indentation")};e.exports=i},2234:function(e,t,r){"use strict";const n=r(2731)("stylelint:standalone");const s=r(3924);const i=r(7147);const o=r(8718);const a=r(498);const c=r(1017);const l=r(1115);const u=r(1647);const p=r(9018);const h=r(5249);const d=r(4903);const g=r(4092);const m=r(1842);const y=r(5624);const v=r(5463);const b=r(3616);const w=r(1619);const S=r(7400);const _=["**/node_modules/**"];const x=r(5194);async function standalone({allowEmptyInput:e=false,cache:t=false,cacheLocation:r,code:u,codeFilename:d,config:m,configBasedir:C,configFile:A,customSyntax:O,cwd:k=process.cwd(),disableDefaultIgnores:P,files:R,fix:M,formatter:L,globbyOptions:T,ignoreDisables:N,ignorePath:I,ignorePattern:D,maxWarnings:$,quiet:j,reportDescriptionlessDisables:B,reportInvalidScopeDisables:G,reportNeedlessDisables:W,syntax:U}){let H;const Y=Date.now();const q=typeof u==="string";if(!R&&!q||R&&(u||q)){return Promise.reject(new Error("You must pass stylelint a `files` glob or a `code` string, though not both"))}let V;try{V=g({cwd:k,ignorePath:I,ignorePattern:D})}catch(e){return Promise.reject(e)}let Q;try{Q=getFormatterFunction(L)}catch(e){return Promise.reject(e)}const z=l({config:m,configFile:A,configBasedir:C,cwd:k,ignoreDisables:N,ignorePath:I,reportNeedlessDisables:W,reportInvalidScopeDisables:G,reportDescriptionlessDisables:B,syntax:U,customSyntax:O,fix:M,quiet:j});if(!R){const e=d!==undefined&&!c.isAbsolute(d)?c.join(k,d):d;if(e&&!h(V,[c.relative(k,e)]).length){return S([],$,Q,k)}let t;try{const r=await z._lintSource({code:u,codeFilename:e});t=await z._createStylelintResult(r,e)}catch(e){t=await handleError(z,e)}const r=t._postcssResult;const n=S([t],$,Q,k);if(M&&r&&!r.stylelint.ignored&&!r.stylelint.ruleDisableFix){n.output=!r.stylelint.disableWritingFix&&r.opts?r.root.toString(r.opts.syntax):u}return n}let K=[R].flat().map((e=>{const t=T&&T.cwd||k;const r=!c.isAbsolute(e)?c.join(t,e):c.normalize(e);if(i.existsSync(r)){return s.escapePath(a(e))}return e}));if(!P){K=K.concat(_.map((e=>`!${e}`)))}if(t){const e=w.version;const t=y(`${e}_${JSON.stringify(m||{})}`);H=new p(r,k,t)}else{H=new p(r,k);H.destroy()}const J={cwd:k,...T||{},absolute:true};const X=J.cwd;let Z=await o(K,J);const ee=Z.length;Z=h(V,Z.map((e=>c.relative(X,e))));let te;if(Z.length){let e=Z.map((e=>{const t=!c.isAbsolute(e)?c.join(X,e):c.normalize(e);return t}));if(t){e=e.filter(H.hasFileChanged.bind(H))}const r=e.map((async e=>{n(`Processing ${e}`);try{const r=await z._lintSource({filePath:e});if(r.stylelint.stylelintError&&t){n(`${e} contains linting errors and will not be cached.`);H.removeEntry(e)}if(r.root&&r.opts&&!r.stylelint.ignored&&M&&!r.stylelint.disableWritingFix){const t=r.root.toString(r.opts.syntax);if(r.root&&r.root.source&&r.root.source.input.css!==t){await x(e,t)}}return z._createStylelintResult(r,e)}catch(t){H.removeEntry(e);return handleError(z,t,e)}}));te=await Promise.all(r)}else if(e){te=await Promise.all([])}else if(ee){te=await Promise.reject(new b)}else{te=await Promise.reject(new v(K))}if(t){H.reconcile()}const re=S(te,$,Q,k);n(`Linting complete in ${Date.now()-Y}ms`);return re}function getFormatterFunction(e){let t;if(typeof e==="string"){t=d[e];if(t===undefined){throw new Error(`You must use a valid formatter option: ${m()} or a function`)}}else if(typeof e==="function"){t=e}else{t=d.json}return t}function handleError(e,t,r=undefined){if(t.name==="CssSyntaxError"){return u(e,undefined,r,t)}throw t}e.exports=standalone},9018:function(e,t,r){"use strict";const n=r(2731)("stylelint:file-cache");const s=r(3285);const i=r(3586);const o=r(1017);const a="./.stylelintcache";const c="";class FileCache{constructor(e=a,t=process.cwd(),r=c){const l=o.resolve(i(e,t));n(`Cache file is created at ${l}`);this._fileCache=s.create(l);this._hashOfConfig=r}hasFileChanged(e){const t=this._fileCache.getFileDescriptor(e);const r=t.meta||{};const s=t.changed||r.hashOfConfig!==this._hashOfConfig;if(!s){n(`Skip linting ${e}. File hasn't changed.`)}if(r.hashOfConfig!==this._hashOfConfig){r.hashOfConfig=this._hashOfConfig}return s}reconcile(){this._fileCache.reconcile()}destroy(){this._fileCache.destroy()}removeEntry(e){this._fileCache.removeEntry(e)}}e.exports=FileCache},3616:function(e){"use strict";class AllFilesIgnoredError extends Error{constructor(){super();this.message=`All input files were ignored because of the ignore pattern. Either change your input, ignore pattern or use "--allow-empty-input" to allow no inputs`}}e.exports=AllFilesIgnoredError},3784:function(e){"use strict";e.exports=function arrayEqual(e,t){if(!Array.isArray(e)||!Array.isArray(t))return false;if(e.length!==t.length)return false;return e.every(((e,r)=>e===t[r]))}},3779:function(e,t,r){"use strict";const n=r(5020);const s=r(4264);const i=r(9105);function checkAgainstRule(e,t){if(!e)throw new Error("checkAgainstRule requires an options object with 'ruleName', 'ruleSettings', and 'root' properties");if(!t)throw new Error("checkAgainstRule requires a callback");if(!e.ruleName)throw new Error("checkAgainstRule requires a 'ruleName' option");if(!Object.keys(i).includes(e.ruleName))throw new Error(`Rule '${e.ruleName}' does not exist`);if(!e.ruleSettings)throw new Error("checkAgainstRule requires a 'ruleSettings' option");if(!e.root)throw new Error("checkAgainstRule requires a 'root' option");const r=n(e.ruleSettings,e.ruleName);if(!r){return}const o=new s;i[e.ruleName](r[0],r[1],{})(e.root,o);for(const e of o.warnings())t(e)}e.exports=checkAgainstRule},2994:function(e){"use strict";e.exports=function(e){const t=new Error(e);t.code=78;return t}},5249:function(e,t,r){"use strict";const{isPathValid:n}=r(6302)["default"];e.exports=function filterFilePaths(e,t){const r=t.filter(n);const s=new Set(t.filter((e=>!r.includes(e))));const i=new Set(e.filter(r));return t.filter((e=>s.has(e)||i.has(e)))}},3586:function(e,t,r){"use strict";const n=r(7147);const s=r(5624);const i=r(1017);e.exports=function getCacheFile(e,t){e=i.normalize(e);const r=i.resolve(t,e);const o=e[e.length-1]===i.sep;function getCacheFileForDirectory(){return i.join(r,`.stylelintcache_${s(t)}`)}let a;try{a=n.lstatSync(r)}catch{a=null}if(o||a&&a.isDirectory()){return getCacheFileForDirectory()}return r}},4092:function(e,t,r){"use strict";const n=r(7147);const s=r(1017);const{default:i}=r(6302);const o=r(2404);const a=".stylelintignore";e.exports=function getFileIgnorer(e){const t=e.ignorePath||a;const r=s.isAbsolute(t)?t:s.resolve(e.cwd,t);let c="";try{c=n.readFileSync(r,"utf8")}catch(e){if(!o(e)){throw e}}return i().add(c).add(e.ignorePattern||[])}},1842:function(e,t,r){"use strict";const n=r(4903);e.exports=function getFormatterOptionsText(e={}){let t=Object.keys(n).map((e=>`"${e}"`)).join(", ");if(e.useOr){t=t.replace(/, ([a-z"]+)$/u," or $1")}return t}},2523:function(e,t,r){"use strict";const n=r(2994);const s=r(1904);const i=r(1570);e.exports=function getModulePath(e,t,r=process.cwd()){let o=i.silent(e,t);if(!o){o=i.silent(r,t)}if(!o){o=i.silent(s,t)}if(!o){throw n(`Could not find "${t}". Do you need a \`configBasedir\`?`)}return o}},6084:function(e,t,r){"use strict";const n=r(2037);function getOsEl(){return n.EOL}e.exports=getOsEl},5624:function(e,t,r){"use strict";const n=r(741);e.exports=function hash(e){return n(e).result().toString(36)}},2404:function(e,t,r){"use strict";const n=r(3837);e.exports=function isPathNotFoundError(e){return n.types.isNativeError(e)&&e.code==="ENOENT"}},5869:function(e){"use strict";e.exports=function isStandardSyntaxComment(e){if("inline"in e)return false;if("inline"in e.raws)return false;return true}},1731:function(e){"use strict";e.exports=function matchesStringOrRegExp(e,t){if(!Array.isArray(e)){return testAgainstStringOrRegExpOrArray(e,t)}for(const r of e){const e=testAgainstStringOrRegExpOrArray(r,t);if(e){return e}}return false};function testAgainstStringOrRegExpOrArray(e,t){if(!Array.isArray(t)){return testAgainstStringOrRegExp(e,t)}for(const r of t){const t=testAgainstStringOrRegExp(e,r);if(t){return t}}return false}function testAgainstStringOrRegExp(e,t){if(t instanceof RegExp){return t.test(e)?{match:e,pattern:t}:false}const r=t[0];const n=t[t.length-1];const s=t[t.length-2];const i=r==="/"&&(n==="/"||s==="/"&&n==="i");const o=i&&n==="i";if(i){const r=o?new RegExp(t.slice(1,-2),"i").test(e):new RegExp(t.slice(1,-1)).test(e);return r?{match:e,pattern:t}:false}return e===t?{match:e,pattern:t}:false}},5463:function(e){"use strict";class NoFilesFoundError extends Error{constructor(e){super();if(typeof e==="string"){e=[e]}const t=e.filter((e=>!e.startsWith("!"))).join(", ");this.message=`No files matching the pattern "${t}" were found.`}}e.exports=NoFilesFoundError},9673:function(e,t,r){"use strict";const n=r(1731);e.exports=function optionsMatches(e,t,r){return Boolean(e&&e[t]&&typeof r==="string"&&n(r,e[t]))}},5983:function(e){"use strict";e.exports=function(e,t,r){if(e.has(t))return e.get(t);const n=r();e.set(t,n);return n}},6130:function(e){"use strict";function report(e){const t=e.ruleName;const r=e.result;const n=e.message;const s=e.line;const i=e.node;const o=e.index;const a=e.word;r.stylelint=r.stylelint||{ruleSeverities:{},customMessages:{},ruleMetadata:{}};if(r.stylelint.quiet&&r.stylelint.ruleSeverities[t]!=="error"){return}const c=s||i.positionBy({index:o}).line;const{ignoreDisables:l}=r.stylelint.config||{};if(r.stylelint.disabledRanges){const e=r.stylelint.disabledRanges[t]||r.stylelint.disabledRanges.all;for(const n of e){if(n.start<=c&&(n.end===undefined||n.end>=c)&&(!n.rules||n.rules.includes(t))){const e=r.stylelint.disabledWarnings||(r.stylelint.disabledWarnings=[]);e.push({rule:t,line:c});if(!l){return}break}}}const u=r.stylelint.ruleSeverities&&r.stylelint.ruleSeverities[t];if(!r.stylelint.stylelintError&&u==="error"){r.stylelint.stylelintError=true}const p={severity:u,rule:t};if(i){p.node=i}if(o){p.index=o}if(a){p.word=a}const h=r.stylelint.customMessages&&r.stylelint.customMessages[t]||n;r.warn(h,p)}e.exports=report},5550:function(e){"use strict";function ruleMessages(e,t){const r={};for(const[n,s]of Object.entries(t)){if(typeof s==="string"){r[n]=`${s} (${e})`}else{r[n]=(...t)=>`${s(...t)} (${e})`}}return r}e.exports=ruleMessages},607:function(e,t,r){"use strict";const n=r(3784);const{isPlainObject:s}=r(9271);const i=new Set(["severity","message","reportDisables","disableFix"]);function validateOptions(e,t,...r){let n=true;for(const e of r){validate(e,t,complain)}function complain(t){n=false;e.warn(t,{stylelintType:"invalidOption"});e.stylelint=e.stylelint||{disabledRanges:{},ruleSeverities:{},customMessages:{},ruleMetadata:{}};e.stylelint.stylelintError=true}return n}function validate(e,t,r){const o=e.possible;const a=e.actual;const c=e.optional;if(a===null||n(a,[null])){return}const l=o===undefined||Array.isArray(o)&&o.length===0;if(l&&a===true){return}if(a===undefined){if(l||c){return}r(`Expected option value for rule "${t}"`);return}if(l){if(c){r(`Incorrect configuration for rule "${t}". Rule should have "possible" values for options validation`);return}r(`Unexpected option value ${stringify(a)} for rule "${t}"`);return}if(typeof o==="function"){if(!o(a)){r(`Invalid option ${stringify(a)} for rule "${t}"`)}return}if(Array.isArray(o)){for(const e of[a].flat()){if(isValid(o,e)){continue}r(`Invalid option value ${stringify(e)} for rule "${t}"`)}return}if(!s(a)||typeof a!=="object"||a==null){r(`Invalid option value ${stringify(a)} for rule "${t}": should be an object`);return}for(const[e,n]of Object.entries(a)){if(i.has(e)){continue}const s=o&&o[e];if(!s){r(`Invalid option name "${e}" for rule "${t}"`);continue}for(const i of[n].flat()){if(isValid(s,i)){continue}r(`Invalid value ${stringify(i)} for option "${e}" of rule "${t}"`)}}}function isValid(e,t){for(const r of[e].flat()){if(typeof r==="function"&&r(t)){return true}if(t===r){return true}}return false}function stringify(e){if(typeof e==="string"){return`"${e}"`}return`"${JSON.stringify(e)}"`}e.exports=validateOptions},9271:function(e,t,r){"use strict";const{isPlainObject:n}=r(7604);function isBoolean(e){return typeof e==="boolean"||e instanceof Boolean}function isNumber(e){return typeof e==="number"||e instanceof Number}function isRegExp(e){return e instanceof RegExp}function isString(e){return typeof e==="string"||e instanceof String}function isPlainObject(e){return n(e)}function assert(e){console.assert(e)}function assertNumber(e){console.assert(isNumber(e),`"${e}" must be a number`)}function assertString(e){console.assert(isString(e),`"${e}" must be a string`)}e.exports={isBoolean:isBoolean,isNumber:isNumber,isRegExp:isRegExp,isString:isString,isPlainObject:isPlainObject,assert:assert,assertNumber:assertNumber,assertString:assertString}},6161:function(e,t,r){"use strict";const n=r(607);const{isRegExp:s,isString:i}=r(9271);e.exports=function(e,t){if(!e)return null;const r=e.stylelint;if(!r.config)return null;const o=r.config[t];let a;let c;if(Array.isArray(o)){a=o[0];c=o[1]||{}}else{a=o||false;c={}}const l=n(e,t,{actual:a,possible:[true,false]},{actual:c,possible:{except:[i,s]}});if(!l)return null;if(!a&&!c.except)return null;return[a,{except:c.except||[],severity:c.severity||r.config.defaultSeverity||"error"},r]}},2332:function(e,t,r){"use strict";const n=r(2037);const s=r(419);const i=process.env;let o;if(s("no-color")||s("no-colors")||s("color=false")){o=false}else if(s("color")||s("colors")||s("color=true")||s("color=always")){o=true}if("FORCE_COLOR"in i){o=i.FORCE_COLOR.length===0||parseInt(i.FORCE_COLOR,10)!==0}function translateLevel(e){if(e===0){return false}return{level:e,hasBasic:true,has256:e>=2,has16m:e>=3}}function supportsColor(e){if(o===false){return 0}if(s("color=16m")||s("color=full")||s("color=truecolor")){return 3}if(s("color=256")){return 2}if(e&&!e.isTTY&&o!==true){return 0}const t=o?1:0;if(process.platform==="win32"){const e=n.release().split(".");if(Number(process.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586){return Number(e[2])>=14931?3:2}return 1}if("CI"in i){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((e=>e in i))||i.CI_NAME==="codeship"){return 1}return t}if("TEAMCITY_VERSION"in i){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0}if(i.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in i){const e=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(i.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)){return 1}if("COLORTERM"in i){return 1}if(i.TERM==="dumb"){return t}return t}function getSupportLevel(e){const t=supportsColor(e);return translateLevel(t)}e.exports={supportsColor:getSupportLevel,stdout:getSupportLevel(process.stdout),stderr:getSupportLevel(process.stderr)}},211:function(e,t,r){"use strict";
|
|
69
|
+
/*!
|
|
70
|
+
* to-regex-range <https://github.com/micromatch/to-regex-range>
|
|
71
|
+
*
|
|
72
|
+
* Copyright (c) 2015-present, Jon Schlinkert.
|
|
73
|
+
* Released under the MIT License.
|
|
74
|
+
*/const n=r(8387);const toRegexRange=(e,t,r)=>{if(n(e)===false){throw new TypeError("toRegexRange: expected the first argument to be a number")}if(t===void 0||e===t){return String(e)}if(n(t)===false){throw new TypeError("toRegexRange: expected the second argument to be a number.")}let s={relaxZeros:true,...r};if(typeof s.strictZeros==="boolean"){s.relaxZeros=s.strictZeros===false}let i=String(s.relaxZeros);let o=String(s.shorthand);let a=String(s.capture);let c=String(s.wrap);let l=e+":"+t+"="+i+o+a+c;if(toRegexRange.cache.hasOwnProperty(l)){return toRegexRange.cache[l].result}let u=Math.min(e,t);let p=Math.max(e,t);if(Math.abs(u-p)===1){let r=e+"|"+t;if(s.capture){return`(${r})`}if(s.wrap===false){return r}return`(?:${r})`}let h=hasPadding(e)||hasPadding(t);let d={min:e,max:t,a:u,b:p};let g=[];let m=[];if(h){d.isPadded=h;d.maxLen=String(d.max).length}if(u<0){let e=p<0?Math.abs(p):1;m=splitToPatterns(e,Math.abs(u),d,s);u=d.a=0}if(p>=0){g=splitToPatterns(u,p,d,s)}d.negatives=m;d.positives=g;d.result=collatePatterns(m,g,s);if(s.capture===true){d.result=`(${d.result})`}else if(s.wrap!==false&&g.length+m.length>1){d.result=`(?:${d.result})`}toRegexRange.cache[l]=d;return d.result};function collatePatterns(e,t,r){let n=filterPatterns(e,t,"-",false,r)||[];let s=filterPatterns(t,e,"",false,r)||[];let i=filterPatterns(e,t,"-?",true,r)||[];let o=n.concat(i).concat(s);return o.join("|")}function splitToRanges(e,t){let r=1;let n=1;let s=countNines(e,r);let i=new Set([t]);while(e<=s&&s<=t){i.add(s);r+=1;s=countNines(e,r)}s=countZeros(t+1,n)-1;while(e<s&&s<=t){i.add(s);n+=1;s=countZeros(t+1,n)-1}i=[...i];i.sort(compare);return i}function rangeToPattern(e,t,r){if(e===t){return{pattern:e,count:[],digits:0}}let n=zip(e,t);let s=n.length;let i="";let o=0;for(let e=0;e<s;e++){let[t,s]=n[e];if(t===s){i+=t}else if(t!=="0"||s!=="9"){i+=toCharacterClass(t,s,r)}else{o++}}if(o){i+=r.shorthand===true?"\\d":"[0-9]"}return{pattern:i,count:[o],digits:s}}function splitToPatterns(e,t,r,n){let s=splitToRanges(e,t);let i=[];let o=e;let a;for(let e=0;e<s.length;e++){let t=s[e];let c=rangeToPattern(String(o),String(t),n);let l="";if(!r.isPadded&&a&&a.pattern===c.pattern){if(a.count.length>1){a.count.pop()}a.count.push(c.count[0]);a.string=a.pattern+toQuantifier(a.count);o=t+1;continue}if(r.isPadded){l=padZeros(t,r,n)}c.string=l+c.pattern+toQuantifier(c.count);i.push(c);o=t+1;a=c}return i}function filterPatterns(e,t,r,n,s){let i=[];for(let s of e){let{string:e}=s;if(!n&&!contains(t,"string",e)){i.push(r+e)}if(n&&contains(t,"string",e)){i.push(r+e)}}return i}function zip(e,t){let r=[];for(let n=0;n<e.length;n++)r.push([e[n],t[n]]);return r}function compare(e,t){return e>t?1:t>e?-1:0}function contains(e,t,r){return e.some((e=>e[t]===r))}function countNines(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function countZeros(e,t){return e-e%Math.pow(10,t)}function toQuantifier(e){let[t=0,r=""]=e;if(r||t>1){return`{${t+(r?","+r:"")}}`}return""}function toCharacterClass(e,t,r){return`[${e}${t-e===1?"":"-"}${t}]`}function hasPadding(e){return/^-?(0+)\d/.test(e)}function padZeros(e,t,r){if(!t.isPadded){return e}let n=Math.abs(t.maxLen-String(e).length);let s=r.relaxZeros!==false;switch(n){case 0:return"";case 1:return s?"0?":"0";case 2:return s?"0{0,2}":"00";default:{return s?`0{0,${n}}`:`0{${n}}`}}}toRegexRange.cache={};toRegexRange.clearCache=()=>toRegexRange.cache={};e.exports=toRegexRange},8470:function(e,t,r){e.exports=which;which.sync=whichSync;var n=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys";var s=r(1017);var i=n?";":":";var o=r(2212);function getNotFoundError(e){var t=new Error("not found: "+e);t.code="ENOENT";return t}function getPathInfo(e,t){var r=t.colon||i;var s=t.path||process.env.PATH||"";var o=[""];s=s.split(r);var a="";if(n){s.unshift(process.cwd());a=t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM";o=a.split(r);if(e.indexOf(".")!==-1&&o[0]!=="")o.unshift("")}if(e.match(/\//)||n&&e.match(/\\/))s=[""];return{env:s,ext:o,extExe:a}}function which(e,t,r){if(typeof t==="function"){r=t;t={}}var n=getPathInfo(e,t);var i=n.env;var a=n.ext;var c=n.extExe;var l=[];(function F(n,u){if(n===u){if(t.all&&l.length)return r(null,l);else return r(getNotFoundError(e))}var p=i[n];if(p.charAt(0)==='"'&&p.slice(-1)==='"')p=p.slice(1,-1);var h=s.join(p,e);if(!p&&/^\.[\\\/]/.test(e)){h=e.slice(0,2)+h}(function E(e,s){if(e===s)return F(n+1,u);var i=a[e];o(h+i,{pathExt:c},(function(n,o){if(!n&&o){if(t.all)l.push(h+i);else return r(null,h+i)}return E(e+1,s)}))})(0,a.length)})(0,i.length)}function whichSync(e,t){t=t||{};var r=getPathInfo(e,t);var n=r.env;var i=r.ext;var a=r.extExe;var c=[];for(var l=0,u=n.length;l<u;l++){var p=n[l];if(p.charAt(0)==='"'&&p.slice(-1)==='"')p=p.slice(1,-1);var h=s.join(p,e);if(!p&&/^\.[\\\/]/.test(e)){h=e.slice(0,2)+h}for(var d=0,g=i.length;d<g;d++){var m=h+i[d];var y;try{y=o.sync(m,{pathExt:a});if(y){if(t.all)c.push(m);else return m}}catch(e){}}}if(t.all&&c.length)return c;if(t.nothrow)return null;throw getNotFoundError(e)}},2928:function(e){e.exports=wrappy;function wrappy(e,t){if(e&&t)return wrappy(e)(t);if(typeof e!=="function")throw new TypeError("need wrapper function");Object.keys(e).forEach((function(t){wrapper[t]=e[t]}));return wrapper;function wrapper(){var t=new Array(arguments.length);for(var r=0;r<t.length;r++){t[r]=arguments[r]}var n=e.apply(this,t);var s=t[t.length-1];if(typeof n==="function"&&n!==s){Object.keys(s).forEach((function(e){n[e]=s[e]}))}return n}}},5194:function(e,t,r){"use strict";e.exports=writeFile;e.exports.sync=writeFileSync;e.exports._getTmpname=getTmpname;e.exports._cleanupOnExit=cleanupOnExit;const n=r(7147);const s=r(741);const i=r(3580);const o=r(1017);const{promisify:a}=r(3837);const c={};const l=function getId(){try{const e=r(1267);return e.threadId}catch(e){return 0}}();let u=0;function getTmpname(e){return e+"."+s(__filename).hash(String(process.pid)).hash(String(l)).hash(String(++u)).result()}function cleanupOnExit(e){return()=>{try{n.unlinkSync(typeof e==="function"?e():e)}catch(e){}}}function serializeActiveFile(e){return new Promise((t=>{if(!c[e]){c[e]=[]}c[e].push(t);if(c[e].length===1){t()}}))}function isChownErrOk(e){if(e.code==="ENOSYS"){return true}const t=!process.getuid||process.getuid()!==0;if(t){if(e.code==="EINVAL"||e.code==="EPERM"){return true}}return false}async function writeFileAsync(e,t,r={}){if(typeof r==="string"){r={encoding:r}}let s;let l;const u=i(cleanupOnExit((()=>l)));const p=o.resolve(e);try{await serializeActiveFile(p);const i=await a(n.realpath)(e).catch((()=>e));l=getTmpname(i);if(!r.mode||!r.chown){const e=await a(n.stat)(i).catch((()=>{}));if(e){if(r.mode==null){r.mode=e.mode}if(r.chown==null&&process.getuid){r.chown={uid:e.uid,gid:e.gid}}}}s=await a(n.open)(l,"w",r.mode);if(r.tmpfileCreated){await r.tmpfileCreated(l)}if(ArrayBuffer.isView(t)){await a(n.write)(s,t,0,t.length,0)}else if(t!=null){await a(n.write)(s,String(t),0,String(r.encoding||"utf8"))}if(r.fsync!==false){await a(n.fsync)(s)}await a(n.close)(s);s=null;if(r.chown){await a(n.chown)(l,r.chown.uid,r.chown.gid).catch((e=>{if(!isChownErrOk(e)){throw e}}))}if(r.mode){await a(n.chmod)(l,r.mode).catch((e=>{if(!isChownErrOk(e)){throw e}}))}await a(n.rename)(l,i)}finally{if(s){await a(n.close)(s).catch((()=>{}))}u();await a(n.unlink)(l).catch((()=>{}));c[p].shift();if(c[p].length>0){c[p][0]()}else{delete c[p]}}}function writeFile(e,t,r,n){if(r instanceof Function){n=r;r={}}const s=writeFileAsync(e,t,r);if(n){s.then(n,n)}return s}function writeFileSync(e,t,r){if(typeof r==="string"){r={encoding:r}}else if(!r){r={}}try{e=n.realpathSync(e)}catch(e){}const s=getTmpname(e);if(!r.mode||!r.chown){try{const t=n.statSync(e);r=Object.assign({},r);if(!r.mode){r.mode=t.mode}if(!r.chown&&process.getuid){r.chown={uid:t.uid,gid:t.gid}}}catch(e){}}let o;const a=cleanupOnExit(s);const c=i(a);let l=true;try{o=n.openSync(s,"w",r.mode||438);if(r.tmpfileCreated){r.tmpfileCreated(s)}if(ArrayBuffer.isView(t)){n.writeSync(o,t,0,t.length,0)}else if(t!=null){n.writeSync(o,String(t),0,String(r.encoding||"utf8"))}if(r.fsync!==false){n.fsyncSync(o)}n.closeSync(o);o=null;if(r.chown){try{n.chownSync(s,r.chown.uid,r.chown.gid)}catch(e){if(!isChownErrOk(e)){throw e}}}if(r.mode){try{n.chmodSync(s,r.mode)}catch(e){if(!isChownErrOk(e)){throw e}}}n.renameSync(s,e);l=false}finally{if(o){try{n.closeSync(o)}catch(e){}}c();if(l){a()}}}},9491:function(e){"use strict";e.exports=require("assert")},6113:function(e){"use strict";e.exports=require("crypto")},2361:function(e){"use strict";e.exports=require("events")},7147:function(e){"use strict";e.exports=require("fs")},8188:function(e){"use strict";e.exports=require("module")},2037:function(e){"use strict";e.exports=require("os")},1017:function(e){"use strict";e.exports=require("path")},2781:function(e){"use strict";e.exports=require("stream")},6224:function(e){"use strict";e.exports=require("tty")},7310:function(e){"use strict";e.exports=require("url")},3837:function(e){"use strict";e.exports=require("util")},1267:function(e){"use strict";e.exports=require("worker_threads")},5218:function(e,t){"use strict";
|
|
75
|
+
/*! (c) 2020 Andrea Giammarchi */const{parse:r,stringify:n}=JSON;const{keys:s}=Object;const i=String;const o="string";const a={};const c="object";const noop=(e,t)=>t;const primitives=e=>e instanceof i?i(e):e;const Primitives=(e,t)=>typeof t===o?new i(t):t;const revive=(e,t,r,n)=>{const o=[];for(let l=s(r),{length:u}=l,p=0;p<u;p++){const s=l[p];const u=r[s];if(u instanceof i){const i=e[u];if(typeof i===c&&!t.has(i)){t.add(i);r[s]=a;o.push({k:s,a:[e,t,i,n]})}else r[s]=n.call(r,s,i)}else if(r[s]!==a)r[s]=n.call(r,s,u)}for(let{length:e}=o,t=0;t<e;t++){const{k:e,a:s}=o[t];r[e]=n.call(r,e,revive.apply(null,s))}return r};const set=(e,t,r)=>{const n=i(t.push(r)-1);e.set(r,n);return n};const parse=(e,t)=>{const n=r(e,Primitives).map(primitives);const s=n[0];const i=t||noop;const o=typeof s===c&&s?revive(n,new Set,s,i):s;return i.call({"":o},"",o)};t.parse=parse;const stringify=(e,t,r)=>{const s=t&&typeof t===c?(e,r)=>e===""||-1<t.indexOf(e)?r:void 0:t||noop;const i=new Map;const a=[];const l=[];let u=+set(i,a,s.call({"":e},"",e));let p=!u;while(u<a.length){p=true;l[u]=n(a[u++],replace,r)}return"["+l.join(",")+"]";function replace(e,t){if(p){p=!p;return t}const r=s.call(this,e,t);switch(typeof r){case c:if(r===null)return r;case o:return i.get(r)||set(i,a,r)}return r}};t.stringify=stringify;const toJSON=e=>r(stringify(e));t.toJSON=toJSON;const fromJSON=e=>parse(n(e));t.fromJSON=fromJSON},8745:function(e,t,r){"use strict";var n=r(2592);var s=r(4288);var i=r(5564);const o={anchorPrefix:"a",customTags:null,indent:2,indentSeq:true,keepCstNodes:false,keepNodeTypes:true,keepBlobsInJSON:true,mapAsMap:false,maxAliasCount:100,prettyErrors:false,simpleKeys:false,version:"1.2"};const a={get binary(){return s.binaryOptions},set binary(e){Object.assign(s.binaryOptions,e)},get bool(){return s.boolOptions},set bool(e){Object.assign(s.boolOptions,e)},get int(){return s.intOptions},set int(e){Object.assign(s.intOptions,e)},get null(){return s.nullOptions},set null(e){Object.assign(s.nullOptions,e)},get str(){return s.strOptions},set str(e){Object.assign(s.strOptions,e)}};const c={"1.0":{schema:"yaml-1.1",merge:true,tagPrefixes:[{handle:"!",prefix:n.defaultTagPrefix},{handle:"!!",prefix:"tag:private.yaml.org,2002:"}]},1.1:{schema:"yaml-1.1",merge:true,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:n.defaultTagPrefix}]},1.2:{schema:"core",merge:false,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:n.defaultTagPrefix}]}};function stringifyTag(e,t){if((e.version||e.options.version)==="1.0"){const e=t.match(/^tag:private\.yaml\.org,2002:([^:/]+)$/);if(e)return"!"+e[1];const r=t.match(/^tag:([a-zA-Z0-9-]+)\.yaml\.org,2002:(.*)/);return r?`!${r[1]}/${r[2]}`:`!${t.replace(/^tag:/,"")}`}let r=e.tagPrefixes.find((e=>t.indexOf(e.prefix)===0));if(!r){const n=e.getDefaults().tagPrefixes;r=n&&n.find((e=>t.indexOf(e.prefix)===0))}if(!r)return t[0]==="!"?t:`!<${t}>`;const n=t.substr(r.prefix.length).replace(/[!,[\]{}]/g,(e=>({"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"}[e])));return r.handle+n}function getTagObject(e,t){if(t instanceof s.Alias)return s.Alias;if(t.tag){const r=e.filter((e=>e.tag===t.tag));if(r.length>0)return r.find((e=>e.format===t.format))||r[0]}let r,n;if(t instanceof s.Scalar){n=t.value;const s=e.filter((e=>e.identify&&e.identify(n)||e.class&&n instanceof e.class));r=s.find((e=>e.format===t.format))||s.find((e=>!e.format))}else{n=t;r=e.find((e=>e.nodeClass&&n instanceof e.nodeClass))}if(!r){const e=n&&n.constructor?n.constructor.name:typeof n;throw new Error(`Tag not resolved for ${e} value`)}return r}function stringifyProps(e,t,{anchors:r,doc:n}){const s=[];const i=n.anchors.getName(e);if(i){r[i]=e;s.push(`&${i}`)}if(e.tag){s.push(stringifyTag(n,e.tag))}else if(!t.default){s.push(stringifyTag(n,t.tag))}return s.join(" ")}function stringify(e,t,r,n){const{anchors:i,schema:o}=t.doc;let a;if(!(e instanceof s.Node)){const t={aliasNodes:[],onTagObj:e=>a=e,prevObjects:new Map};e=o.createNode(e,true,null,t);for(const e of t.aliasNodes){e.source=e.source.node;let t=i.getName(e.source);if(!t){t=i.newName();i.map[t]=e.source}}}if(e instanceof s.Pair)return e.toString(t,r,n);if(!a)a=getTagObject(o.tags,e);const c=stringifyProps(e,a,t);if(c.length>0)t.indentAtStart=(t.indentAtStart||0)+c.length+1;const l=typeof a.stringify==="function"?a.stringify(e,t,r,n):e instanceof s.Scalar?s.stringifyString(e,t,r,n):e.toString(t,r,n);if(!c)return l;return e instanceof s.Scalar||l[0]==="{"||l[0]==="["?`${c} ${l}`:`${c}\n${t.indent}${l}`}class Anchors{static validAnchorNode(e){return e instanceof s.Scalar||e instanceof s.YAMLSeq||e instanceof s.YAMLMap}constructor(e){n._defineProperty(this,"map",Object.create(null));this.prefix=e}createAlias(e,t){this.setAnchor(e,t);return new s.Alias(e)}createMergePair(...e){const t=new s.Merge;t.value.items=e.map((e=>{if(e instanceof s.Alias){if(e.source instanceof s.YAMLMap)return e}else if(e instanceof s.YAMLMap){return this.createAlias(e)}throw new Error("Merge sources must be Map nodes or their Aliases")}));return t}getName(e){const{map:t}=this;return Object.keys(t).find((r=>t[r]===e))}getNames(){return Object.keys(this.map)}getNode(e){return this.map[e]}newName(e){if(!e)e=this.prefix;const t=Object.keys(this.map);for(let r=1;true;++r){const n=`${e}${r}`;if(!t.includes(n))return n}}resolveNodes(){const{map:e,_cstAliases:t}=this;Object.keys(e).forEach((t=>{e[t]=e[t].resolved}));t.forEach((e=>{e.source=e.source.resolved}));delete this._cstAliases}setAnchor(e,t){if(e!=null&&!Anchors.validAnchorNode(e)){throw new Error("Anchors may only be set for Scalar, Seq and Map nodes")}if(t&&/[\x00-\x19\s,[\]{}]/.test(t)){throw new Error("Anchor names must not contain whitespace or control characters")}const{map:r}=this;const n=e&&Object.keys(r).find((t=>r[t]===e));if(n){if(!t){return n}else if(n!==t){delete r[n];r[t]=e}}else{if(!t){if(!e)return null;t=this.newName()}r[t]=e}return t}}const visit=(e,t)=>{if(e&&typeof e==="object"){const{tag:r}=e;if(e instanceof s.Collection){if(r)t[r]=true;e.items.forEach((e=>visit(e,t)))}else if(e instanceof s.Pair){visit(e.key,t);visit(e.value,t)}else if(e instanceof s.Scalar){if(r)t[r]=true}}return t};const listTagNames=e=>Object.keys(visit(e,{}));function parseContents(e,t){const r={before:[],after:[]};let i=undefined;let o=false;for(const a of t){if(a.valueRange){if(i!==undefined){const t="Document contains trailing content not separated by a ... or --- line";e.errors.push(new n.YAMLSyntaxError(a,t));break}const t=s.resolveNode(e,a);if(o){t.spaceBefore=true;o=false}i=t}else if(a.comment!==null){const e=i===undefined?r.before:r.after;e.push(a.comment)}else if(a.type===n.Type.BLANK_LINE){o=true;if(i===undefined&&r.before.length>0&&!e.commentBefore){e.commentBefore=r.before.join("\n");r.before=[]}}}e.contents=i||null;if(!i){e.comment=r.before.concat(r.after).join("\n")||null}else{const t=r.before.join("\n");if(t){const e=i instanceof s.Collection&&i.items[0]?i.items[0]:i;e.commentBefore=e.commentBefore?`${t}\n${e.commentBefore}`:t}e.comment=r.after.join("\n")||null}}function resolveTagDirective({tagPrefixes:e},t){const[r,s]=t.parameters;if(!r||!s){const e="Insufficient parameters given for %TAG directive";throw new n.YAMLSemanticError(t,e)}if(e.some((e=>e.handle===r))){const e="The %TAG directive must only be given at most once per handle in the same document.";throw new n.YAMLSemanticError(t,e)}return{handle:r,prefix:s}}function resolveYamlDirective(e,t){let[r]=t.parameters;if(t.name==="YAML:1.0")r="1.0";if(!r){const e="Insufficient parameters given for %YAML directive";throw new n.YAMLSemanticError(t,e)}if(!c[r]){const s=e.version||e.options.version;const i=`Document will be parsed as YAML ${s} rather than YAML ${r}`;e.warnings.push(new n.YAMLWarning(t,i))}return r}function parseDirectives(e,t,r){const s=[];let i=false;for(const r of t){const{comment:t,name:o}=r;switch(o){case"TAG":try{e.tagPrefixes.push(resolveTagDirective(e,r))}catch(t){e.errors.push(t)}i=true;break;case"YAML":case"YAML:1.0":if(e.version){const t="The %YAML directive must only be given at most once per document.";e.errors.push(new n.YAMLSemanticError(r,t))}try{e.version=resolveYamlDirective(e,r)}catch(t){e.errors.push(t)}i=true;break;default:if(o){const t=`YAML only supports %TAG and %YAML directives, and not %${o}`;e.warnings.push(new n.YAMLWarning(r,t))}}if(t)s.push(t)}if(r&&!i&&"1.1"===(e.version||r.version||e.options.version)){const copyTagPrefix=({handle:e,prefix:t})=>({handle:e,prefix:t});e.tagPrefixes=r.tagPrefixes.map(copyTagPrefix);e.version=r.version}e.commentBefore=s.join("\n")||null}function assertCollection(e){if(e instanceof s.Collection)return true;throw new Error("Expected a YAML collection as document contents")}class Document{constructor(e){this.anchors=new Anchors(e.anchorPrefix);this.commentBefore=null;this.comment=null;this.contents=null;this.directivesEndMarker=null;this.errors=[];this.options=e;this.schema=null;this.tagPrefixes=[];this.version=null;this.warnings=[]}add(e){assertCollection(this.contents);return this.contents.add(e)}addIn(e,t){assertCollection(this.contents);this.contents.addIn(e,t)}delete(e){assertCollection(this.contents);return this.contents.delete(e)}deleteIn(e){if(s.isEmptyPath(e)){if(this.contents==null)return false;this.contents=null;return true}assertCollection(this.contents);return this.contents.deleteIn(e)}getDefaults(){return Document.defaults[this.version]||Document.defaults[this.options.version]||{}}get(e,t){return this.contents instanceof s.Collection?this.contents.get(e,t):undefined}getIn(e,t){if(s.isEmptyPath(e))return!t&&this.contents instanceof s.Scalar?this.contents.value:this.contents;return this.contents instanceof s.Collection?this.contents.getIn(e,t):undefined}has(e){return this.contents instanceof s.Collection?this.contents.has(e):false}hasIn(e){if(s.isEmptyPath(e))return this.contents!==undefined;return this.contents instanceof s.Collection?this.contents.hasIn(e):false}set(e,t){assertCollection(this.contents);this.contents.set(e,t)}setIn(e,t){if(s.isEmptyPath(e))this.contents=t;else{assertCollection(this.contents);this.contents.setIn(e,t)}}setSchema(e,t){if(!e&&!t&&this.schema)return;if(typeof e==="number")e=e.toFixed(1);if(e==="1.0"||e==="1.1"||e==="1.2"){if(this.version)this.version=e;else this.options.version=e;delete this.options.schema}else if(e&&typeof e==="string"){this.options.schema=e}if(Array.isArray(t))this.options.customTags=t;const r=Object.assign({},this.getDefaults(),this.options);this.schema=new i.Schema(r)}parse(e,t){if(this.options.keepCstNodes)this.cstNode=e;if(this.options.keepNodeTypes)this.type="DOCUMENT";const{directives:r=[],contents:s=[],directivesEndMarker:i,error:o,valueRange:a}=e;if(o){if(!o.source)o.source=this;this.errors.push(o)}parseDirectives(this,r,t);if(i)this.directivesEndMarker=true;this.range=a?[a.start,a.end]:null;this.setSchema();this.anchors._cstAliases=[];parseContents(this,s);this.anchors.resolveNodes();if(this.options.prettyErrors){for(const e of this.errors)if(e instanceof n.YAMLError)e.makePretty();for(const e of this.warnings)if(e instanceof n.YAMLError)e.makePretty()}return this}listNonDefaultTags(){return listTagNames(this.contents).filter((e=>e.indexOf(i.Schema.defaultPrefix)!==0))}setTagPrefix(e,t){if(e[0]!=="!"||e[e.length-1]!=="!")throw new Error("Handle must start and end with !");if(t){const r=this.tagPrefixes.find((t=>t.handle===e));if(r)r.prefix=t;else this.tagPrefixes.push({handle:e,prefix:t})}else{this.tagPrefixes=this.tagPrefixes.filter((t=>t.handle!==e))}}toJSON(e,t){const{keepBlobsInJSON:r,mapAsMap:n,maxAliasCount:i}=this.options;const o=r&&(typeof e!=="string"||!(this.contents instanceof s.Scalar));const a={doc:this,indentStep:" ",keep:o,mapAsMap:o&&!!n,maxAliasCount:i,stringify:stringify};const c=Object.keys(this.anchors.map);if(c.length>0)a.anchors=new Map(c.map((e=>[this.anchors.map[e],{alias:[],aliasCount:0,count:1}])));const l=s.toJSON(this.contents,e,a);if(typeof t==="function"&&a.anchors)for(const{count:e,res:r}of a.anchors.values())t(r,e);return l}toString(){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");const e=this.options.indent;if(!Number.isInteger(e)||e<=0){const t=JSON.stringify(e);throw new Error(`"indent" option must be a positive integer, not ${t}`)}this.setSchema();const t=[];let r=false;if(this.version){let e="%YAML 1.2";if(this.schema.name==="yaml-1.1"){if(this.version==="1.0")e="%YAML:1.0";else if(this.version==="1.1")e="%YAML 1.1"}t.push(e);r=true}const n=this.listNonDefaultTags();this.tagPrefixes.forEach((({handle:e,prefix:s})=>{if(n.some((e=>e.indexOf(s)===0))){t.push(`%TAG ${e} ${s}`);r=true}}));if(r||this.directivesEndMarker)t.push("---");if(this.commentBefore){if(r||!this.directivesEndMarker)t.unshift("");t.unshift(this.commentBefore.replace(/^/gm,"#"))}const i={anchors:Object.create(null),doc:this,indent:"",indentStep:" ".repeat(e),stringify:stringify};let o=false;let a=null;if(this.contents){if(this.contents instanceof s.Node){if(this.contents.spaceBefore&&(r||this.directivesEndMarker))t.push("");if(this.contents.commentBefore)t.push(this.contents.commentBefore.replace(/^/gm,"#"));i.forceBlockIndent=!!this.comment;a=this.contents.comment}const e=a?null:()=>o=true;const n=stringify(this.contents,i,(()=>a=null),e);t.push(s.addComment(n,"",a))}else if(this.contents!==undefined){t.push(stringify(this.contents,i))}if(this.comment){if((!o||a)&&t[t.length-1]!=="")t.push("");t.push(this.comment.replace(/^/gm,"#"))}return t.join("\n")+"\n"}}n._defineProperty(Document,"defaults",c);t.Document=Document;t.defaultOptions=o;t.scalarOptions=a},2592:function(e,t){"use strict";const r={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."};const n={ALIAS:"ALIAS",BLANK_LINE:"BLANK_LINE",BLOCK_FOLDED:"BLOCK_FOLDED",BLOCK_LITERAL:"BLOCK_LITERAL",COMMENT:"COMMENT",DIRECTIVE:"DIRECTIVE",DOCUMENT:"DOCUMENT",FLOW_MAP:"FLOW_MAP",FLOW_SEQ:"FLOW_SEQ",MAP:"MAP",MAP_KEY:"MAP_KEY",MAP_VALUE:"MAP_VALUE",PLAIN:"PLAIN",QUOTE_DOUBLE:"QUOTE_DOUBLE",QUOTE_SINGLE:"QUOTE_SINGLE",SEQ:"SEQ",SEQ_ITEM:"SEQ_ITEM"};const s="tag:yaml.org,2002:";const i={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function findLineStarts(e){const t=[0];let r=e.indexOf("\n");while(r!==-1){r+=1;t.push(r);r=e.indexOf("\n",r)}return t}function getSrcInfo(e){let t,r;if(typeof e==="string"){t=findLineStarts(e);r=e}else{if(Array.isArray(e))e=e[0];if(e&&e.context){if(!e.lineStarts)e.lineStarts=findLineStarts(e.context.src);t=e.lineStarts;r=e.context.src}}return{lineStarts:t,src:r}}function getLinePos(e,t){if(typeof e!=="number"||e<0)return null;const{lineStarts:r,src:n}=getSrcInfo(t);if(!r||!n||e>n.length)return null;for(let t=0;t<r.length;++t){const n=r[t];if(e<n){return{line:t,col:e-r[t-1]+1}}if(e===n)return{line:t+1,col:1}}const s=r.length;return{line:s,col:e-r[s-1]+1}}function getLine(e,t){const{lineStarts:r,src:n}=getSrcInfo(t);if(!r||!(e>=1)||e>r.length)return null;const s=r[e-1];let i=r[e];while(i&&i>s&&n[i-1]==="\n")--i;return n.slice(s,i)}function getPrettyContext({start:e,end:t},r,n=80){let s=getLine(e.line,r);if(!s)return null;let{col:i}=e;if(s.length>n){if(i<=n-10){s=s.substr(0,n-1)+"…"}else{const e=Math.round(n/2);if(s.length>i+e)s=s.substr(0,i+e-1)+"…";i-=s.length-n;s="…"+s.substr(1-n)}}let o=1;let a="";if(t){if(t.line===e.line&&i+(t.col-e.col)<=n+1){o=t.col-e.col}else{o=Math.min(s.length+1,n)-i;a="…"}}const c=i>1?" ".repeat(i-1):"";const l="^".repeat(o);return`${s}\n${c}${l}${a}`}class Range{static copy(e){return new Range(e.start,e.end)}constructor(e,t){this.start=e;this.end=t||e}isEmpty(){return typeof this.start!=="number"||!this.end||this.end<=this.start}setOrigRange(e,t){const{start:r,end:n}=this;if(e.length===0||n<=e[0]){this.origStart=r;this.origEnd=n;return t}let s=t;while(s<e.length){if(e[s]>r)break;else++s}this.origStart=r+s;const i=s;while(s<e.length){if(e[s]>=n)break;else++s}this.origEnd=n+s;return i}}class Node{static addStringTerminator(e,t,r){if(r[r.length-1]==="\n")return r;const n=Node.endOfWhiteSpace(e,t);return n>=e.length||e[n]==="\n"?r+"\n":r}static atDocumentBoundary(e,t,n){const s=e[t];if(!s)return true;const i=e[t-1];if(i&&i!=="\n")return false;if(n){if(s!==n)return false}else{if(s!==r.DIRECTIVES_END&&s!==r.DOCUMENT_END)return false}const o=e[t+1];const a=e[t+2];if(o!==s||a!==s)return false;const c=e[t+3];return!c||c==="\n"||c==="\t"||c===" "}static endOfIdentifier(e,t){let r=e[t];const n=r==="<";const s=n?["\n","\t"," ",">"]:["\n","\t"," ","[","]","{","}",","];while(r&&s.indexOf(r)===-1)r=e[t+=1];if(n&&r===">")t+=1;return t}static endOfIndent(e,t){let r=e[t];while(r===" ")r=e[t+=1];return t}static endOfLine(e,t){let r=e[t];while(r&&r!=="\n")r=e[t+=1];return t}static endOfWhiteSpace(e,t){let r=e[t];while(r==="\t"||r===" ")r=e[t+=1];return t}static startOfLine(e,t){let r=e[t-1];if(r==="\n")return t;while(r&&r!=="\n")r=e[t-=1];return t+1}static endOfBlockIndent(e,t,r){const n=Node.endOfIndent(e,r);if(n>r+t){return n}else{const t=Node.endOfWhiteSpace(e,n);const r=e[t];if(!r||r==="\n")return t}return null}static atBlank(e,t,r){const n=e[t];return n==="\n"||n==="\t"||n===" "||r&&!n}static nextNodeIsIndented(e,t,r){if(!e||t<0)return false;if(t>0)return true;return r&&e==="-"}static normalizeOffset(e,t){const r=e[t];return!r?t:r!=="\n"&&e[t-1]==="\n"?t-1:Node.endOfWhiteSpace(e,t)}static foldNewline(e,t,r){let n=0;let s=false;let i="";let o=e[t+1];while(o===" "||o==="\t"||o==="\n"){switch(o){case"\n":n=0;t+=1;i+="\n";break;case"\t":if(n<=r)s=true;t=Node.endOfWhiteSpace(e,t+2)-1;break;case" ":n+=1;t+=1;break}o=e[t+1]}if(!i)i=" ";if(o&&n<=r)s=true;return{fold:i,offset:t,error:s}}constructor(e,t,r){Object.defineProperty(this,"context",{value:r||null,writable:true});this.error=null;this.range=null;this.valueRange=null;this.props=t||[];this.type=e;this.value=null}getPropValue(e,t,r){if(!this.context)return null;const{src:n}=this.context;const s=this.props[e];return s&&n[s.start]===t?n.slice(s.start+(r?1:0),s.end):null}get anchor(){for(let e=0;e<this.props.length;++e){const t=this.getPropValue(e,r.ANCHOR,true);if(t!=null)return t}return null}get comment(){const e=[];for(let t=0;t<this.props.length;++t){const n=this.getPropValue(t,r.COMMENT,true);if(n!=null)e.push(n)}return e.length>0?e.join("\n"):null}commentHasRequiredWhitespace(e){const{src:t}=this.context;if(this.header&&e===this.header.end)return false;if(!this.valueRange)return false;const{end:r}=this.valueRange;return e!==r||Node.atBlank(t,r-1)}get hasComment(){if(this.context){const{src:e}=this.context;for(let t=0;t<this.props.length;++t){if(e[this.props[t].start]===r.COMMENT)return true}}return false}get hasProps(){if(this.context){const{src:e}=this.context;for(let t=0;t<this.props.length;++t){if(e[this.props[t].start]!==r.COMMENT)return true}}return false}get includesTrailingLines(){return false}get jsonLike(){const e=[n.FLOW_MAP,n.FLOW_SEQ,n.QUOTE_DOUBLE,n.QUOTE_SINGLE];return e.indexOf(this.type)!==-1}get rangeAsLinePos(){if(!this.range||!this.context)return undefined;const e=getLinePos(this.range.start,this.context.root);if(!e)return undefined;const t=getLinePos(this.range.end,this.context.root);return{start:e,end:t}}get rawValue(){if(!this.valueRange||!this.context)return null;const{start:e,end:t}=this.valueRange;return this.context.src.slice(e,t)}get tag(){for(let e=0;e<this.props.length;++e){const t=this.getPropValue(e,r.TAG,false);if(t!=null){if(t[1]==="<"){return{verbatim:t.slice(2,-1)}}else{const[e,r,n]=t.match(/^(.*!)([^!]*)$/);return{handle:r,suffix:n}}}}return null}get valueRangeContainsNewline(){if(!this.valueRange||!this.context)return false;const{start:e,end:t}=this.valueRange;const{src:r}=this.context;for(let n=e;n<t;++n){if(r[n]==="\n")return true}return false}parseComment(e){const{src:t}=this.context;if(t[e]===r.COMMENT){const r=Node.endOfLine(t,e+1);const n=new Range(e,r);this.props.push(n);return r}return e}setOrigRanges(e,t){if(this.range)t=this.range.setOrigRange(e,t);if(this.valueRange)this.valueRange.setOrigRange(e,t);this.props.forEach((r=>r.setOrigRange(e,t)));return t}toString(){const{context:{src:e},range:t,value:r}=this;if(r!=null)return r;const n=e.slice(t.start,t.end);return Node.addStringTerminator(e,t.end,n)}}class YAMLError extends Error{constructor(e,t,r){if(!r||!(t instanceof Node))throw new Error(`Invalid arguments for new ${e}`);super();this.name=e;this.message=r;this.source=t}makePretty(){if(!this.source)return;this.nodeType=this.source.type;const e=this.source.context&&this.source.context.root;if(typeof this.offset==="number"){this.range=new Range(this.offset,this.offset+1);const t=e&&getLinePos(this.offset,e);if(t){const e={line:t.line,col:t.col+1};this.linePos={start:t,end:e}}delete this.offset}else{this.range=this.source.range;this.linePos=this.source.rangeAsLinePos}if(this.linePos){const{line:t,col:r}=this.linePos.start;this.message+=` at line ${t}, column ${r}`;const n=e&&getPrettyContext(this.linePos,e);if(n)this.message+=`:\n\n${n}\n`}delete this.source}}class YAMLReferenceError extends YAMLError{constructor(e,t){super("YAMLReferenceError",e,t)}}class YAMLSemanticError extends YAMLError{constructor(e,t){super("YAMLSemanticError",e,t)}}class YAMLSyntaxError extends YAMLError{constructor(e,t){super("YAMLSyntaxError",e,t)}}class YAMLWarning extends YAMLError{constructor(e,t){super("YAMLWarning",e,t)}}function _defineProperty(e,t,r){if(t in e){Object.defineProperty(e,t,{value:r,enumerable:true,configurable:true,writable:true})}else{e[t]=r}return e}class PlainValue extends Node{static endOfLine(e,t,r){let n=e[t];let s=t;while(n&&n!=="\n"){if(r&&(n==="["||n==="]"||n==="{"||n==="}"||n===","))break;const t=e[s+1];if(n===":"&&(!t||t==="\n"||t==="\t"||t===" "||r&&t===","))break;if((n===" "||n==="\t")&&t==="#")break;s+=1;n=t}return s}get strValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:t}=this.valueRange;const{src:r}=this.context;let n=r[t-1];while(e<t&&(n==="\n"||n==="\t"||n===" "))n=r[--t-1];let s="";for(let n=e;n<t;++n){const e=r[n];if(e==="\n"){const{fold:e,offset:t}=Node.foldNewline(r,n,-1);s+=e;n=t}else if(e===" "||e==="\t"){const i=n;let o=r[n+1];while(n<t&&(o===" "||o==="\t")){n+=1;o=r[n+1]}if(o!=="\n")s+=n>i?r.slice(i,n+1):e}else{s+=e}}const i=r[e];switch(i){case"\t":{const e="Plain value cannot start with a tab character";const t=[new YAMLSemanticError(this,e)];return{errors:t,str:s}}case"@":case"`":{const e=`Plain value cannot start with reserved character ${i}`;const t=[new YAMLSemanticError(this,e)];return{errors:t,str:s}}default:return s}}parseBlockValue(e){const{indent:t,inFlow:r,src:n}=this.context;let s=e;let i=e;for(let e=n[s];e==="\n";e=n[s]){if(Node.atDocumentBoundary(n,s+1))break;const e=Node.endOfBlockIndent(n,t,s+1);if(e===null||n[e]==="#")break;if(n[e]==="\n"){s=e}else{i=PlainValue.endOfLine(n,e,r);s=i}}if(this.valueRange.isEmpty())this.valueRange.start=e;this.valueRange.end=i;return i}parse(e,t){this.context=e;const{inFlow:r,src:n}=e;let s=t;const i=n[s];if(i&&i!=="#"&&i!=="\n"){s=PlainValue.endOfLine(n,t,r)}this.valueRange=new Range(t,s);s=Node.endOfWhiteSpace(n,s);s=this.parseComment(s);if(!this.hasComment||this.valueRange.isEmpty()){s=this.parseBlockValue(s)}return s}}t.Char=r;t.Node=Node;t.PlainValue=PlainValue;t.Range=Range;t.Type=n;t.YAMLError=YAMLError;t.YAMLReferenceError=YAMLReferenceError;t.YAMLSemanticError=YAMLSemanticError;t.YAMLSyntaxError=YAMLSyntaxError;t.YAMLWarning=YAMLWarning;t._defineProperty=_defineProperty;t.defaultTagPrefix=s;t.defaultTags=i},5564:function(e,t,r){"use strict";var n=r(2592);var s=r(4288);var i=r(8201);function createMap(e,t,r){const n=new s.YAMLMap(e);if(t instanceof Map){for(const[s,i]of t)n.items.push(e.createPair(s,i,r))}else if(t&&typeof t==="object"){for(const s of Object.keys(t))n.items.push(e.createPair(s,t[s],r))}if(typeof e.sortMapEntries==="function"){n.items.sort(e.sortMapEntries)}return n}const o={createNode:createMap,default:true,nodeClass:s.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:s.resolveMap};function createSeq(e,t,r){const n=new s.YAMLSeq(e);if(t&&t[Symbol.iterator]){for(const s of t){const t=e.createNode(s,r.wrapScalars,null,r);n.items.push(t)}}return n}const a={createNode:createSeq,default:true,nodeClass:s.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:s.resolveSeq};const c={identify:e=>typeof e==="string",default:true,tag:"tag:yaml.org,2002:str",resolve:s.resolveString,stringify(e,t,r,n){t=Object.assign({actualString:true},t);return s.stringifyString(e,t,r,n)},options:s.strOptions};const l=[o,a,c];const intIdentify$2=e=>typeof e==="bigint"||Number.isInteger(e);const intResolve$1=(e,t,r)=>s.intOptions.asBigInt?BigInt(e):parseInt(t,r);function intStringify$1(e,t,r){const{value:n}=e;if(intIdentify$2(n)&&n>=0)return r+n.toString(t);return s.stringifyNumber(e)}const u={identify:e=>e==null,createNode:(e,t,r)=>r.wrapScalars?new s.Scalar(null):null,default:true,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:s.nullOptions,stringify:()=>s.nullOptions.nullStr};const p={identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>e[0]==="t"||e[0]==="T",options:s.boolOptions,stringify:({value:e})=>e?s.boolOptions.trueStr:s.boolOptions.falseStr};const h={identify:e=>intIdentify$2(e)&&e>=0,default:true,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o([0-7]+)$/,resolve:(e,t)=>intResolve$1(e,t,8),options:s.intOptions,stringify:e=>intStringify$1(e,8,"0o")};const d={identify:intIdentify$2,default:true,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:e=>intResolve$1(e,e,10),options:s.intOptions,stringify:s.stringifyNumber};const g={identify:e=>intIdentify$2(e)&&e>=0,default:true,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x([0-9a-fA-F]+)$/,resolve:(e,t)=>intResolve$1(e,t,16),options:s.intOptions,stringify:e=>intStringify$1(e,16,"0x")};const m={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(e,t)=>t?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:s.stringifyNumber};const y={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify:({value:e})=>Number(e).toExponential()};const v={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.([0-9]+)|[0-9]+\.([0-9]*))$/,resolve(e,t,r){const n=t||r;const i=new s.Scalar(parseFloat(e));if(n&&n[n.length-1]==="0")i.minFractionDigits=n.length;return i},stringify:s.stringifyNumber};const b=l.concat([u,p,h,d,g,m,y,v]);const intIdentify$1=e=>typeof e==="bigint"||Number.isInteger(e);const stringifyJSON=({value:e})=>JSON.stringify(e);const w=[o,a,{identify:e=>typeof e==="string",default:true,tag:"tag:yaml.org,2002:str",resolve:s.resolveString,stringify:stringifyJSON},{identify:e=>e==null,createNode:(e,t,r)=>r.wrapScalars?new s.Scalar(null):null,default:true,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:stringifyJSON},{identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>e==="true",stringify:stringifyJSON},{identify:intIdentify$1,default:true,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:e=>s.intOptions.asBigInt?BigInt(e):parseInt(e,10),stringify:({value:e})=>intIdentify$1(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:stringifyJSON}];w.scalarFallback=e=>{throw new SyntaxError(`Unresolved plain scalar ${JSON.stringify(e)}`)};const boolStringify=({value:e})=>e?s.boolOptions.trueStr:s.boolOptions.falseStr;const intIdentify=e=>typeof e==="bigint"||Number.isInteger(e);function intResolve(e,t,r){let n=t.replace(/_/g,"");if(s.intOptions.asBigInt){switch(r){case 2:n=`0b${n}`;break;case 8:n=`0o${n}`;break;case 16:n=`0x${n}`;break}const t=BigInt(n);return e==="-"?BigInt(-1)*t:t}const i=parseInt(n,r);return e==="-"?-1*i:i}function intStringify(e,t,r){const{value:n}=e;if(intIdentify(n)){const e=n.toString(t);return n<0?"-"+r+e.substr(1):r+e}return s.stringifyNumber(e)}const S=l.concat([{identify:e=>e==null,createNode:(e,t,r)=>r.wrapScalars?new s.Scalar(null):null,default:true,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:s.nullOptions,stringify:()=>s.nullOptions.nullStr},{identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>true,options:s.boolOptions,stringify:boolStringify},{identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>false,options:s.boolOptions,stringify:boolStringify},{identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^([-+]?)0b([0-1_]+)$/,resolve:(e,t,r)=>intResolve(t,r,2),stringify:e=>intStringify(e,2,"0b")},{identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^([-+]?)0([0-7_]+)$/,resolve:(e,t,r)=>intResolve(t,r,8),stringify:e=>intStringify(e,8,"0")},{identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",test:/^([-+]?)([0-9][0-9_]*)$/,resolve:(e,t,r)=>intResolve(t,r,10),stringify:s.stringifyNumber},{identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^([-+]?)0x([0-9a-fA-F_]+)$/,resolve:(e,t,r)=>intResolve(t,r,16),stringify:e=>intStringify(e,16,"0x")},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(e,t)=>t?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:s.stringifyNumber},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?([0-9][0-9_]*)?(\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify:({value:e})=>Number(e).toExponential()},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.([0-9_]*)$/,resolve(e,t){const r=new s.Scalar(parseFloat(e.replace(/_/g,"")));if(t){const e=t.replace(/_/g,"");if(e[e.length-1]==="0")r.minFractionDigits=e.length}return r},stringify:s.stringifyNumber}],i.binary,i.omap,i.pairs,i.set,i.intTime,i.floatTime,i.timestamp);const _={core:b,failsafe:l,json:w,yaml11:S};const x={binary:i.binary,bool:p,float:v,floatExp:y,floatNaN:m,floatTime:i.floatTime,int:d,intHex:g,intOct:h,intTime:i.intTime,map:o,null:u,omap:i.omap,pairs:i.pairs,seq:a,set:i.set,timestamp:i.timestamp};function findTagObject(e,t,r){if(t){const e=r.filter((e=>e.tag===t));const n=e.find((e=>!e.format))||e[0];if(!n)throw new Error(`Tag ${t} not found`);return n}return r.find((t=>(t.identify&&t.identify(e)||t.class&&e instanceof t.class)&&!t.format))}function createNode(e,t,r){if(e instanceof s.Node)return e;const{defaultPrefix:n,onTagObj:i,prevObjects:c,schema:l,wrapScalars:u}=r;if(t&&t.startsWith("!!"))t=n+t.slice(2);let p=findTagObject(e,t,l.tags);if(!p){if(typeof e.toJSON==="function")e=e.toJSON();if(!e||typeof e!=="object")return u?new s.Scalar(e):e;p=e instanceof Map?o:e[Symbol.iterator]?a:o}if(i){i(p);delete r.onTagObj}const h={value:undefined,node:undefined};if(e&&typeof e==="object"&&c){const t=c.get(e);if(t){const e=new s.Alias(t);r.aliasNodes.push(e);return e}h.value=e;c.set(e,h)}h.node=p.createNode?p.createNode(r.schema,e,r):u?new s.Scalar(e):e;if(t&&h.node instanceof s.Node)h.node.tag=t;return h.node}function getSchemaTags(e,t,r,n){let s=e[n.replace(/\W/g,"")];if(!s){const t=Object.keys(e).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown schema "${n}"; use one of ${t}`)}if(Array.isArray(r)){for(const e of r)s=s.concat(e)}else if(typeof r==="function"){s=r(s.slice())}for(let e=0;e<s.length;++e){const r=s[e];if(typeof r==="string"){const n=t[r];if(!n){const e=Object.keys(t).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown custom tag "${r}"; use one of ${e}`)}s[e]=n}}return s}const sortMapEntriesByKey=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0;class Schema{constructor({customTags:e,merge:t,schema:r,sortMapEntries:n,tags:s}){this.merge=!!t;this.name=r;this.sortMapEntries=n===true?sortMapEntriesByKey:n||null;if(!e&&s)i.warnOptionDeprecation("tags","customTags");this.tags=getSchemaTags(_,x,e||s,r)}createNode(e,t,r,n){const s={defaultPrefix:Schema.defaultPrefix,schema:this,wrapScalars:t};const i=n?Object.assign(n,s):s;return createNode(e,r,i)}createPair(e,t,r){if(!r)r={wrapScalars:true};const n=this.createNode(e,r.wrapScalars,null,r);const i=this.createNode(t,r.wrapScalars,null,r);return new s.Pair(n,i)}}n._defineProperty(Schema,"defaultPrefix",n.defaultTagPrefix);n._defineProperty(Schema,"defaultTags",n.defaultTags);t.Schema=Schema},3897:function(e,t,r){"use strict";var n=r(4805);var s=r(8745);var i=r(5564);var o=r(2592);var a=r(8201);r(4288);function createNode(e,t=true,r){if(r===undefined&&typeof t==="string"){r=t;t=true}const n=Object.assign({},s.Document.defaults[s.defaultOptions.version],s.defaultOptions);const o=new i.Schema(n);return o.createNode(e,t,r)}class Document extends s.Document{constructor(e){super(Object.assign({},s.defaultOptions,e))}}function parseAllDocuments(e,t){const r=[];let s;for(const i of n.parse(e)){const e=new Document(t);e.parse(i,s);r.push(e);s=e}return r}function parseDocument(e,t){const r=n.parse(e);const s=new Document(t).parse(r[0]);if(r.length>1){const e="Source contains multiple documents; please use YAML.parseAllDocuments()";s.errors.unshift(new o.YAMLSemanticError(r[1],e))}return s}function parse(e,t){const r=parseDocument(e,t);r.warnings.forEach((e=>a.warn(e)));if(r.errors.length>0)throw r.errors[0];return r.toJSON()}function stringify(e,t){const r=new Document(t);r.contents=e;return String(r)}const c={createNode:createNode,defaultOptions:s.defaultOptions,Document:Document,parse:parse,parseAllDocuments:parseAllDocuments,parseCST:n.parse,parseDocument:parseDocument,scalarOptions:s.scalarOptions,stringify:stringify};t.YAML=c},4805:function(e,t,r){"use strict";var n=r(2592);class BlankLine extends n.Node{constructor(){super(n.Type.BLANK_LINE)}get includesTrailingLines(){return true}parse(e,t){this.context=e;this.range=new n.Range(t,t+1);return t+1}}class CollectionItem extends n.Node{constructor(e,t){super(e,t);this.node=null}get includesTrailingLines(){return!!this.node&&this.node.includesTrailingLines}parse(e,t){this.context=e;const{parseNode:r,src:s}=e;let{atLineStart:i,lineStart:o}=e;if(!i&&this.type===n.Type.SEQ_ITEM)this.error=new n.YAMLSemanticError(this,"Sequence items must not have preceding content on the same line");const a=i?t-o:e.indent;let c=n.Node.endOfWhiteSpace(s,t+1);let l=s[c];const u=l==="#";const p=[];let h=null;while(l==="\n"||l==="#"){if(l==="#"){const e=n.Node.endOfLine(s,c+1);p.push(new n.Range(c,e));c=e}else{i=true;o=c+1;const e=n.Node.endOfWhiteSpace(s,o);if(s[e]==="\n"&&p.length===0){h=new BlankLine;o=h.parse({src:s},o)}c=n.Node.endOfIndent(s,o)}l=s[c]}if(n.Node.nextNodeIsIndented(l,c-(o+a),this.type!==n.Type.SEQ_ITEM)){this.node=r({atLineStart:i,inCollection:false,indent:a,lineStart:o,parent:this},c)}else if(l&&o>t+1){c=o-1}if(this.node){if(h){const t=e.parent.items||e.parent.contents;if(t)t.push(h)}if(p.length)Array.prototype.push.apply(this.props,p);c=this.node.range.end}else{if(u){const e=p[0];this.props.push(e);c=e.end}else{c=n.Node.endOfLine(s,t+1)}}const d=this.node?this.node.valueRange.end:c;this.valueRange=new n.Range(t,d);return c}setOrigRanges(e,t){t=super.setOrigRanges(e,t);return this.node?this.node.setOrigRanges(e,t):t}toString(){const{context:{src:e},node:t,range:r,value:s}=this;if(s!=null)return s;const i=t?e.slice(r.start,t.range.start)+String(t):e.slice(r.start,r.end);return n.Node.addStringTerminator(e,r.end,i)}}class Comment extends n.Node{constructor(){super(n.Type.COMMENT)}parse(e,t){this.context=e;const r=this.parseComment(t);this.range=new n.Range(t,r);return r}}function grabCollectionEndComments(e){let t=e;while(t instanceof CollectionItem)t=t.node;if(!(t instanceof Collection))return null;const r=t.items.length;let s=-1;for(let e=r-1;e>=0;--e){const r=t.items[e];if(r.type===n.Type.COMMENT){const{indent:t,lineStart:n}=r.context;if(t>0&&r.range.start>=n+t)break;s=e}else if(r.type===n.Type.BLANK_LINE)s=e;else break}if(s===-1)return null;const i=t.items.splice(s,r-s);const o=i[0].range.start;while(true){t.range.end=o;if(t.valueRange&&t.valueRange.end>o)t.valueRange.end=o;if(t===e)break;t=t.context.parent}return i}class Collection extends n.Node{static nextContentHasIndent(e,t,r){const s=n.Node.endOfLine(e,t)+1;t=n.Node.endOfWhiteSpace(e,s);const i=e[t];if(!i)return false;if(t>=s+r)return true;if(i!=="#"&&i!=="\n")return false;return Collection.nextContentHasIndent(e,t,r)}constructor(e){super(e.type===n.Type.SEQ_ITEM?n.Type.SEQ:n.Type.MAP);for(let t=e.props.length-1;t>=0;--t){if(e.props[t].start<e.context.lineStart){this.props=e.props.slice(0,t+1);e.props=e.props.slice(t+1);const r=e.props[0]||e.valueRange;e.range.start=r.start;break}}this.items=[e];const t=grabCollectionEndComments(e);if(t)Array.prototype.push.apply(this.items,t)}get includesTrailingLines(){return this.items.length>0}parse(e,t){this.context=e;const{parseNode:r,src:s}=e;let i=n.Node.startOfLine(s,t);const o=this.items[0];o.context.parent=this;this.valueRange=n.Range.copy(o.valueRange);const a=o.range.start-o.context.lineStart;let c=t;c=n.Node.normalizeOffset(s,c);let l=s[c];let u=n.Node.endOfWhiteSpace(s,i)===c;let p=false;while(l){while(l==="\n"||l==="#"){if(u&&l==="\n"&&!p){const e=new BlankLine;c=e.parse({src:s},c);this.valueRange.end=c;if(c>=s.length){l=null;break}this.items.push(e);c-=1}else if(l==="#"){if(c<i+a&&!Collection.nextContentHasIndent(s,c,a)){return c}const e=new Comment;c=e.parse({indent:a,lineStart:i,src:s},c);this.items.push(e);this.valueRange.end=c;if(c>=s.length){l=null;break}}i=c+1;c=n.Node.endOfIndent(s,i);if(n.Node.atBlank(s,c)){const e=n.Node.endOfWhiteSpace(s,c);const t=s[e];if(!t||t==="\n"||t==="#"){c=e}}l=s[c];u=true}if(!l){break}if(c!==i+a&&(u||l!==":")){if(c<i+a){if(i>t)c=i;break}else if(!this.error){const e="All collection items must start at the same column";this.error=new n.YAMLSyntaxError(this,e)}}if(o.type===n.Type.SEQ_ITEM){if(l!=="-"){if(i>t)c=i;break}}else if(l==="-"&&!this.error){const e=s[c+1];if(!e||e==="\n"||e==="\t"||e===" "){const e="A collection cannot be both a mapping and a sequence";this.error=new n.YAMLSyntaxError(this,e)}}const e=r({atLineStart:u,inCollection:true,indent:a,lineStart:i,parent:this},c);if(!e)return c;this.items.push(e);this.valueRange.end=e.valueRange.end;c=n.Node.normalizeOffset(s,e.range.end);l=s[c];u=false;p=e.includesTrailingLines;if(l){let e=c-1;let t=s[e];while(t===" "||t==="\t")t=s[--e];if(t==="\n"){i=e+1;u=true}}const h=grabCollectionEndComments(e);if(h)Array.prototype.push.apply(this.items,h)}return c}setOrigRanges(e,t){t=super.setOrigRanges(e,t);this.items.forEach((r=>{t=r.setOrigRanges(e,t)}));return t}toString(){const{context:{src:e},items:t,range:r,value:s}=this;if(s!=null)return s;let i=e.slice(r.start,t[0].range.start)+String(t[0]);for(let e=1;e<t.length;++e){const r=t[e];const{atLineStart:n,indent:s}=r.context;if(n)for(let e=0;e<s;++e)i+=" ";i+=String(r)}return n.Node.addStringTerminator(e,r.end,i)}}class Directive extends n.Node{constructor(){super(n.Type.DIRECTIVE);this.name=null}get parameters(){const e=this.rawValue;return e?e.trim().split(/[ \t]+/):[]}parseName(e){const{src:t}=this.context;let r=e;let n=t[r];while(n&&n!=="\n"&&n!=="\t"&&n!==" ")n=t[r+=1];this.name=t.slice(e,r);return r}parseParameters(e){const{src:t}=this.context;let r=e;let s=t[r];while(s&&s!=="\n"&&s!=="#")s=t[r+=1];this.valueRange=new n.Range(e,r);return r}parse(e,t){this.context=e;let r=this.parseName(t+1);r=this.parseParameters(r);r=this.parseComment(r);this.range=new n.Range(t,r);return r}}class Document extends n.Node{static startCommentOrEndBlankLine(e,t){const r=n.Node.endOfWhiteSpace(e,t);const s=e[r];return s==="#"||s==="\n"?r:t}constructor(){super(n.Type.DOCUMENT);this.directives=null;this.contents=null;this.directivesEndMarker=null;this.documentEndMarker=null}parseDirectives(e){const{src:t}=this.context;this.directives=[];let r=true;let s=false;let i=e;while(!n.Node.atDocumentBoundary(t,i,n.Char.DIRECTIVES_END)){i=Document.startCommentOrEndBlankLine(t,i);switch(t[i]){case"\n":if(r){const e=new BlankLine;i=e.parse({src:t},i);if(i<t.length){this.directives.push(e)}}else{i+=1;r=true}break;case"#":{const e=new Comment;i=e.parse({src:t},i);this.directives.push(e);r=false}break;case"%":{const e=new Directive;i=e.parse({parent:this,src:t},i);this.directives.push(e);s=true;r=false}break;default:if(s){this.error=new n.YAMLSemanticError(this,"Missing directives-end indicator line")}else if(this.directives.length>0){this.contents=this.directives;this.directives=[]}return i}}if(t[i]){this.directivesEndMarker=new n.Range(i,i+3);return i+3}if(s){this.error=new n.YAMLSemanticError(this,"Missing directives-end indicator line")}else if(this.directives.length>0){this.contents=this.directives;this.directives=[]}return i}parseContents(e){const{parseNode:t,src:r}=this.context;if(!this.contents)this.contents=[];let s=e;while(r[s-1]==="-")s-=1;let i=n.Node.endOfWhiteSpace(r,e);let o=s===e;this.valueRange=new n.Range(i);while(!n.Node.atDocumentBoundary(r,i,n.Char.DOCUMENT_END)){switch(r[i]){case"\n":if(o){const e=new BlankLine;i=e.parse({src:r},i);if(i<r.length){this.contents.push(e)}}else{i+=1;o=true}s=i;break;case"#":{const e=new Comment;i=e.parse({src:r},i);this.contents.push(e);o=false}break;default:{const e=n.Node.endOfIndent(r,i);const a={atLineStart:o,indent:-1,inFlow:false,inCollection:false,lineStart:s,parent:this};const c=t(a,e);if(!c)return this.valueRange.end=e;this.contents.push(c);i=c.range.end;o=false;const l=grabCollectionEndComments(c);if(l)Array.prototype.push.apply(this.contents,l)}}i=Document.startCommentOrEndBlankLine(r,i)}this.valueRange.end=i;if(r[i]){this.documentEndMarker=new n.Range(i,i+3);i+=3;if(r[i]){i=n.Node.endOfWhiteSpace(r,i);if(r[i]==="#"){const e=new Comment;i=e.parse({src:r},i);this.contents.push(e)}switch(r[i]){case"\n":i+=1;break;case undefined:break;default:this.error=new n.YAMLSyntaxError(this,"Document end marker line cannot have a non-comment suffix")}}}return i}parse(e,t){e.root=this;this.context=e;const{src:r}=e;let n=r.charCodeAt(t)===65279?t+1:t;n=this.parseDirectives(n);n=this.parseContents(n);return n}setOrigRanges(e,t){t=super.setOrigRanges(e,t);this.directives.forEach((r=>{t=r.setOrigRanges(e,t)}));if(this.directivesEndMarker)t=this.directivesEndMarker.setOrigRange(e,t);this.contents.forEach((r=>{t=r.setOrigRanges(e,t)}));if(this.documentEndMarker)t=this.documentEndMarker.setOrigRange(e,t);return t}toString(){const{contents:e,directives:t,value:r}=this;if(r!=null)return r;let s=t.join("");if(e.length>0){if(t.length>0||e[0].type===n.Type.COMMENT)s+="---\n";s+=e.join("")}if(s[s.length-1]!=="\n")s+="\n";return s}}class Alias extends n.Node{parse(e,t){this.context=e;const{src:r}=e;let s=n.Node.endOfIdentifier(r,t+1);this.valueRange=new n.Range(t+1,s);s=n.Node.endOfWhiteSpace(r,s);s=this.parseComment(s);return s}}const s={CLIP:"CLIP",KEEP:"KEEP",STRIP:"STRIP"};class BlockValue extends n.Node{constructor(e,t){super(e,t);this.blockIndent=null;this.chomping=s.CLIP;this.header=null}get includesTrailingLines(){return this.chomping===s.KEEP}get strValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:t}=this.valueRange;const{indent:r,src:i}=this.context;if(this.valueRange.isEmpty())return"";let o=null;let a=i[t-1];while(a==="\n"||a==="\t"||a===" "){t-=1;if(t<=e){if(this.chomping===s.KEEP)break;else return""}if(a==="\n")o=t;a=i[t-1]}let c=t+1;if(o){if(this.chomping===s.KEEP){c=o;t=this.valueRange.end}else{t=o}}const l=r+this.blockIndent;const u=this.type===n.Type.BLOCK_FOLDED;let p=true;let h="";let d="";let g=false;for(let r=e;r<t;++r){for(let e=0;e<l;++e){if(i[r]!==" ")break;r+=1}const e=i[r];if(e==="\n"){if(d==="\n")h+="\n";else d="\n"}else{const s=n.Node.endOfLine(i,r);const o=i.slice(r,s);r=s;if(u&&(e===" "||e==="\t")&&r<c){if(d===" ")d="\n";else if(!g&&!p&&d==="\n")d="\n\n";h+=d+o;d=s<t&&i[s]||"";g=true}else{h+=d+o;d=u&&r<c?" ":"\n";g=false}if(p&&o!=="")p=false}}return this.chomping===s.STRIP?h:h+"\n"}parseBlockHeader(e){const{src:t}=this.context;let r=e+1;let i="";while(true){const o=t[r];switch(o){case"-":this.chomping=s.STRIP;break;case"+":this.chomping=s.KEEP;break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":i+=o;break;default:this.blockIndent=Number(i)||null;this.header=new n.Range(e,r);return r}r+=1}}parseBlockValue(e){const{indent:t,src:r}=this.context;const i=!!this.blockIndent;let o=e;let a=e;let c=1;for(let e=r[o];e==="\n";e=r[o]){o+=1;if(n.Node.atDocumentBoundary(r,o))break;const e=n.Node.endOfBlockIndent(r,t,o);if(e===null)break;const s=r[e];const l=e-(o+t);if(!this.blockIndent){if(r[e]!=="\n"){if(l<c){const e="Block scalars with more-indented leading empty lines must use an explicit indentation indicator";this.error=new n.YAMLSemanticError(this,e)}this.blockIndent=l}else if(l>c){c=l}}else if(s&&s!=="\n"&&l<this.blockIndent){if(r[e]==="#")break;if(!this.error){const e=i?"explicit indentation indicator":"first line";const t=`Block scalars must not be less indented than their ${e}`;this.error=new n.YAMLSemanticError(this,t)}}if(r[e]==="\n"){o=e}else{o=a=n.Node.endOfLine(r,e)}}if(this.chomping!==s.KEEP){o=r[a]?a+1:a}this.valueRange=new n.Range(e+1,o);return o}parse(e,t){this.context=e;const{src:r}=e;let s=this.parseBlockHeader(t);s=n.Node.endOfWhiteSpace(r,s);s=this.parseComment(s);s=this.parseBlockValue(s);return s}setOrigRanges(e,t){t=super.setOrigRanges(e,t);return this.header?this.header.setOrigRange(e,t):t}}class FlowCollection extends n.Node{constructor(e,t){super(e,t);this.items=null}prevNodeIsJsonLike(e=this.items.length){const t=this.items[e-1];return!!t&&(t.jsonLike||t.type===n.Type.COMMENT&&this.prevNodeIsJsonLike(e-1))}parse(e,t){this.context=e;const{parseNode:r,src:s}=e;let{indent:i,lineStart:o}=e;let a=s[t];this.items=[{char:a,offset:t}];let c=n.Node.endOfWhiteSpace(s,t+1);a=s[c];while(a&&a!=="]"&&a!=="}"){switch(a){case"\n":{o=c+1;const e=n.Node.endOfWhiteSpace(s,o);if(s[e]==="\n"){const e=new BlankLine;o=e.parse({src:s},o);this.items.push(e)}c=n.Node.endOfIndent(s,o);if(c<=o+i){a=s[c];if(c<o+i||a!=="]"&&a!=="}"){const e="Insufficient indentation in flow collection";this.error=new n.YAMLSemanticError(this,e)}}}break;case",":{this.items.push({char:a,offset:c});c+=1}break;case"#":{const e=new Comment;c=e.parse({src:s},c);this.items.push(e)}break;case"?":case":":{const e=s[c+1];if(e==="\n"||e==="\t"||e===" "||e===","||a===":"&&this.prevNodeIsJsonLike()){this.items.push({char:a,offset:c});c+=1;break}}default:{const e=r({atLineStart:false,inCollection:false,inFlow:true,indent:-1,lineStart:o,parent:this},c);if(!e){this.valueRange=new n.Range(t,c);return c}this.items.push(e);c=n.Node.normalizeOffset(s,e.range.end)}}c=n.Node.endOfWhiteSpace(s,c);a=s[c]}this.valueRange=new n.Range(t,c+1);if(a){this.items.push({char:a,offset:c});c=n.Node.endOfWhiteSpace(s,c+1);c=this.parseComment(c)}return c}setOrigRanges(e,t){t=super.setOrigRanges(e,t);this.items.forEach((r=>{if(r instanceof n.Node){t=r.setOrigRanges(e,t)}else if(e.length===0){r.origOffset=r.offset}else{let n=t;while(n<e.length){if(e[n]>r.offset)break;else++n}r.origOffset=r.offset+n;t=n}}));return t}toString(){const{context:{src:e},items:t,range:r,value:s}=this;if(s!=null)return s;const i=t.filter((e=>e instanceof n.Node));let o="";let a=r.start;i.forEach((t=>{const r=e.slice(a,t.range.start);a=t.range.end;o+=r+String(t);if(o[o.length-1]==="\n"&&e[a-1]!=="\n"&&e[a]==="\n"){a+=1}}));o+=e.slice(a,r.end);return n.Node.addStringTerminator(e,r.end,o)}}class QuoteDouble extends n.Node{static endOfQuote(e,t){let r=e[t];while(r&&r!=='"'){t+=r==="\\"?2:1;r=e[t]}return t+1}get strValue(){if(!this.valueRange||!this.context)return null;const e=[];const{start:t,end:r}=this.valueRange;const{indent:s,src:i}=this.context;if(i[r-1]!=='"')e.push(new n.YAMLSyntaxError(this,'Missing closing "quote'));let o="";for(let a=t+1;a<r-1;++a){const t=i[a];if(t==="\n"){if(n.Node.atDocumentBoundary(i,a+1))e.push(new n.YAMLSemanticError(this,"Document boundary indicators are not allowed within string values"));const{fold:t,offset:r,error:c}=n.Node.foldNewline(i,a,s);o+=t;a=r;if(c)e.push(new n.YAMLSemanticError(this,"Multi-line double-quoted string needs to be sufficiently indented"))}else if(t==="\\"){a+=1;switch(i[a]){case"0":o+="\0";break;case"a":o+="";break;case"b":o+="\b";break;case"e":o+="";break;case"f":o+="\f";break;case"n":o+="\n";break;case"r":o+="\r";break;case"t":o+="\t";break;case"v":o+="\v";break;case"N":o+="
";break;case"_":o+=" ";break;case"L":o+="\u2028";break;case"P":o+="\u2029";break;case" ":o+=" ";break;case'"':o+='"';break;case"/":o+="/";break;case"\\":o+="\\";break;case"\t":o+="\t";break;case"x":o+=this.parseCharCode(a+1,2,e);a+=2;break;case"u":o+=this.parseCharCode(a+1,4,e);a+=4;break;case"U":o+=this.parseCharCode(a+1,8,e);a+=8;break;case"\n":while(i[a+1]===" "||i[a+1]==="\t")a+=1;break;default:e.push(new n.YAMLSyntaxError(this,`Invalid escape sequence ${i.substr(a-1,2)}`));o+="\\"+i[a]}}else if(t===" "||t==="\t"){const e=a;let r=i[a+1];while(r===" "||r==="\t"){a+=1;r=i[a+1]}if(r!=="\n")o+=a>e?i.slice(e,a+1):t}else{o+=t}}return e.length>0?{errors:e,str:o}:o}parseCharCode(e,t,r){const{src:s}=this.context;const i=s.substr(e,t);const o=i.length===t&&/^[0-9a-fA-F]+$/.test(i);const a=o?parseInt(i,16):NaN;if(isNaN(a)){r.push(new n.YAMLSyntaxError(this,`Invalid escape sequence ${s.substr(e-2,t+2)}`));return s.substr(e-2,t+2)}return String.fromCodePoint(a)}parse(e,t){this.context=e;const{src:r}=e;let s=QuoteDouble.endOfQuote(r,t+1);this.valueRange=new n.Range(t,s);s=n.Node.endOfWhiteSpace(r,s);s=this.parseComment(s);return s}}class QuoteSingle extends n.Node{static endOfQuote(e,t){let r=e[t];while(r){if(r==="'"){if(e[t+1]!=="'")break;r=e[t+=2]}else{r=e[t+=1]}}return t+1}get strValue(){if(!this.valueRange||!this.context)return null;const e=[];const{start:t,end:r}=this.valueRange;const{indent:s,src:i}=this.context;if(i[r-1]!=="'")e.push(new n.YAMLSyntaxError(this,"Missing closing 'quote"));let o="";for(let a=t+1;a<r-1;++a){const t=i[a];if(t==="\n"){if(n.Node.atDocumentBoundary(i,a+1))e.push(new n.YAMLSemanticError(this,"Document boundary indicators are not allowed within string values"));const{fold:t,offset:r,error:c}=n.Node.foldNewline(i,a,s);o+=t;a=r;if(c)e.push(new n.YAMLSemanticError(this,"Multi-line single-quoted string needs to be sufficiently indented"))}else if(t==="'"){o+=t;a+=1;if(i[a]!=="'")e.push(new n.YAMLSyntaxError(this,"Unescaped single quote? This should not happen."))}else if(t===" "||t==="\t"){const e=a;let r=i[a+1];while(r===" "||r==="\t"){a+=1;r=i[a+1]}if(r!=="\n")o+=a>e?i.slice(e,a+1):t}else{o+=t}}return e.length>0?{errors:e,str:o}:o}parse(e,t){this.context=e;const{src:r}=e;let s=QuoteSingle.endOfQuote(r,t+1);this.valueRange=new n.Range(t,s);s=n.Node.endOfWhiteSpace(r,s);s=this.parseComment(s);return s}}function createNewNode(e,t){switch(e){case n.Type.ALIAS:return new Alias(e,t);case n.Type.BLOCK_FOLDED:case n.Type.BLOCK_LITERAL:return new BlockValue(e,t);case n.Type.FLOW_MAP:case n.Type.FLOW_SEQ:return new FlowCollection(e,t);case n.Type.MAP_KEY:case n.Type.MAP_VALUE:case n.Type.SEQ_ITEM:return new CollectionItem(e,t);case n.Type.COMMENT:case n.Type.PLAIN:return new n.PlainValue(e,t);case n.Type.QUOTE_DOUBLE:return new QuoteDouble(e,t);case n.Type.QUOTE_SINGLE:return new QuoteSingle(e,t);default:return null}}class ParseContext{static parseType(e,t,r){switch(e[t]){case"*":return n.Type.ALIAS;case">":return n.Type.BLOCK_FOLDED;case"|":return n.Type.BLOCK_LITERAL;case"{":return n.Type.FLOW_MAP;case"[":return n.Type.FLOW_SEQ;case"?":return!r&&n.Node.atBlank(e,t+1,true)?n.Type.MAP_KEY:n.Type.PLAIN;case":":return!r&&n.Node.atBlank(e,t+1,true)?n.Type.MAP_VALUE:n.Type.PLAIN;case"-":return!r&&n.Node.atBlank(e,t+1,true)?n.Type.SEQ_ITEM:n.Type.PLAIN;case'"':return n.Type.QUOTE_DOUBLE;case"'":return n.Type.QUOTE_SINGLE;default:return n.Type.PLAIN}}constructor(e={},{atLineStart:t,inCollection:r,inFlow:s,indent:i,lineStart:o,parent:a}={}){n._defineProperty(this,"parseNode",((e,t)=>{if(n.Node.atDocumentBoundary(this.src,t))return null;const r=new ParseContext(this,e);const{props:s,type:i,valueStart:o}=r.parseProps(t);const a=createNewNode(i,s);let c=a.parse(r,o);a.range=new n.Range(t,c);if(c<=t){a.error=new Error(`Node#parse consumed no characters`);a.error.parseEnd=c;a.error.source=a;a.range.end=t+1}if(r.nodeStartsCollection(a)){if(!a.error&&!r.atLineStart&&r.parent.type===n.Type.DOCUMENT){a.error=new n.YAMLSyntaxError(a,"Block collection must not have preceding content here (e.g. directives-end indicator)")}const e=new Collection(a);c=e.parse(new ParseContext(r),c);e.range=new n.Range(t,c);return e}return a}));this.atLineStart=t!=null?t:e.atLineStart||false;this.inCollection=r!=null?r:e.inCollection||false;this.inFlow=s!=null?s:e.inFlow||false;this.indent=i!=null?i:e.indent;this.lineStart=o!=null?o:e.lineStart;this.parent=a!=null?a:e.parent||{};this.root=e.root;this.src=e.src}nodeStartsCollection(e){const{inCollection:t,inFlow:r,src:s}=this;if(t||r)return false;if(e instanceof CollectionItem)return true;let i=e.range.end;if(s[i]==="\n"||s[i-1]==="\n")return false;i=n.Node.endOfWhiteSpace(s,i);return s[i]===":"}parseProps(e){const{inFlow:t,parent:r,src:s}=this;const i=[];let o=false;e=this.atLineStart?n.Node.endOfIndent(s,e):n.Node.endOfWhiteSpace(s,e);let a=s[e];while(a===n.Char.ANCHOR||a===n.Char.COMMENT||a===n.Char.TAG||a==="\n"){if(a==="\n"){let t=e;let i;do{i=t+1;t=n.Node.endOfIndent(s,i)}while(s[t]==="\n");const a=t-(i+this.indent);const c=r.type===n.Type.SEQ_ITEM&&r.context.atLineStart;if(s[t]!=="#"&&!n.Node.nextNodeIsIndented(s[t],a,!c))break;this.atLineStart=true;this.lineStart=i;o=false;e=t}else if(a===n.Char.COMMENT){const t=n.Node.endOfLine(s,e+1);i.push(new n.Range(e,t));e=t}else{let t=n.Node.endOfIdentifier(s,e+1);if(a===n.Char.TAG&&s[t]===","&&/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+,\d\d\d\d(-\d\d){0,2}\/\S/.test(s.slice(e+1,t+13))){t=n.Node.endOfIdentifier(s,t+5)}i.push(new n.Range(e,t));o=true;e=n.Node.endOfWhiteSpace(s,t)}a=s[e]}if(o&&a===":"&&n.Node.atBlank(s,e+1,true))e-=1;const c=ParseContext.parseType(s,e,t);return{props:i,type:c,valueStart:e}}}function parse(e){const t=[];if(e.indexOf("\r")!==-1){e=e.replace(/\r\n?/g,((e,r)=>{if(e.length>1)t.push(r);return"\n"}))}const r=[];let n=0;do{const t=new Document;const s=new ParseContext({src:e});n=t.parse(s,n);r.push(t)}while(n<e.length);r.setOrigRanges=()=>{if(t.length===0)return false;for(let e=1;e<t.length;++e)t[e]-=e;let e=0;for(let n=0;n<r.length;++n){e=r[n].setOrigRanges(t,e)}t.splice(0,t.length);return true};r.toString=()=>r.join("...\n");return r}t.parse=parse},4288:function(e,t,r){"use strict";var n=r(2592);function addCommentBefore(e,t,r){if(!r)return e;const n=r.replace(/[\s\S]^/gm,`$&${t}#`);return`#${n}\n${t}${e}`}function addComment(e,t,r){return!r?e:r.indexOf("\n")===-1?`${e} #${r}`:`${e}\n`+r.replace(/^/gm,`${t||""}#`)}class Node{}function toJSON(e,t,r){if(Array.isArray(e))return e.map(((e,t)=>toJSON(e,String(t),r)));if(e&&typeof e.toJSON==="function"){const n=r&&r.anchors&&r.anchors.get(e);if(n)r.onCreate=e=>{n.res=e;delete r.onCreate};const s=e.toJSON(t,r);if(n&&r.onCreate)r.onCreate(s);return s}if((!r||!r.keep)&&typeof e==="bigint")return Number(e);return e}class Scalar extends Node{constructor(e){super();this.value=e}toJSON(e,t){return t&&t.keep?this.value:toJSON(this.value,e,t)}toString(){return String(this.value)}}function collectionFromPath(e,t,r){let n=r;for(let e=t.length-1;e>=0;--e){const r=t[e];if(Number.isInteger(r)&&r>=0){const e=[];e[r]=n;n=e}else{const e={};Object.defineProperty(e,r,{value:n,writable:true,enumerable:true,configurable:true});n=e}}return e.createNode(n,false)}const isEmptyPath=e=>e==null||typeof e==="object"&&e[Symbol.iterator]().next().done;class Collection extends Node{constructor(e){super();n._defineProperty(this,"items",[]);this.schema=e}addIn(e,t){if(isEmptyPath(e))this.add(t);else{const[r,...n]=e;const s=this.get(r,true);if(s instanceof Collection)s.addIn(n,t);else if(s===undefined&&this.schema)this.set(r,collectionFromPath(this.schema,n,t));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${n}`)}}deleteIn([e,...t]){if(t.length===0)return this.delete(e);const r=this.get(e,true);if(r instanceof Collection)return r.deleteIn(t);else throw new Error(`Expected YAML collection at ${e}. Remaining path: ${t}`)}getIn([e,...t],r){const n=this.get(e,true);if(t.length===0)return!r&&n instanceof Scalar?n.value:n;else return n instanceof Collection?n.getIn(t,r):undefined}hasAllNullValues(){return this.items.every((e=>{if(!e||e.type!=="PAIR")return false;const t=e.value;return t==null||t instanceof Scalar&&t.value==null&&!t.commentBefore&&!t.comment&&!t.tag}))}hasIn([e,...t]){if(t.length===0)return this.has(e);const r=this.get(e,true);return r instanceof Collection?r.hasIn(t):false}setIn([e,...t],r){if(t.length===0){this.set(e,r)}else{const n=this.get(e,true);if(n instanceof Collection)n.setIn(t,r);else if(n===undefined&&this.schema)this.set(e,collectionFromPath(this.schema,t,r));else throw new Error(`Expected YAML collection at ${e}. Remaining path: ${t}`)}}toJSON(){return null}toString(e,{blockItem:t,flowChars:r,isMap:s,itemIndent:i},o,a){const{indent:c,indentStep:l,stringify:u}=e;const p=this.type===n.Type.FLOW_MAP||this.type===n.Type.FLOW_SEQ||e.inFlow;if(p)i+=l;const h=s&&this.hasAllNullValues();e=Object.assign({},e,{allNullValues:h,indent:i,inFlow:p,type:null});let d=false;let g=false;const m=this.items.reduce(((t,r,n)=>{let s;if(r){if(!d&&r.spaceBefore)t.push({type:"comment",str:""});if(r.commentBefore)r.commentBefore.match(/^.*$/gm).forEach((e=>{t.push({type:"comment",str:`#${e}`})}));if(r.comment)s=r.comment;if(p&&(!d&&r.spaceBefore||r.commentBefore||r.comment||r.key&&(r.key.commentBefore||r.key.comment)||r.value&&(r.value.commentBefore||r.value.comment)))g=true}d=false;let o=u(r,e,(()=>s=null),(()=>d=true));if(p&&!g&&o.includes("\n"))g=true;if(p&&n<this.items.length-1)o+=",";o=addComment(o,i,s);if(d&&(s||p))d=false;t.push({type:"item",str:o});return t}),[]);let y;if(m.length===0){y=r.start+r.end}else if(p){const{start:e,end:t}=r;const n=m.map((e=>e.str));if(g||n.reduce(((e,t)=>e+t.length+2),2)>Collection.maxFlowStringSingleLineLength){y=e;for(const e of n){y+=e?`\n${l}${c}${e}`:"\n"}y+=`\n${c}${t}`}else{y=`${e} ${n.join(" ")} ${t}`}}else{const e=m.map(t);y=e.shift();for(const t of e)y+=t?`\n${c}${t}`:"\n"}if(this.comment){y+="\n"+this.comment.replace(/^/gm,`${c}#`);if(o)o()}else if(d&&a)a();return y}}n._defineProperty(Collection,"maxFlowStringSingleLineLength",60);function asItemIndex(e){let t=e instanceof Scalar?e.value:e;if(t&&typeof t==="string")t=Number(t);return Number.isInteger(t)&&t>=0?t:null}class YAMLSeq extends Collection{add(e){this.items.push(e)}delete(e){const t=asItemIndex(e);if(typeof t!=="number")return false;const r=this.items.splice(t,1);return r.length>0}get(e,t){const r=asItemIndex(e);if(typeof r!=="number")return undefined;const n=this.items[r];return!t&&n instanceof Scalar?n.value:n}has(e){const t=asItemIndex(e);return typeof t==="number"&&t<this.items.length}set(e,t){const r=asItemIndex(e);if(typeof r!=="number")throw new Error(`Expected a valid index, not ${e}.`);this.items[r]=t}toJSON(e,t){const r=[];if(t&&t.onCreate)t.onCreate(r);let n=0;for(const e of this.items)r.push(toJSON(e,String(n++),t));return r}toString(e,t,r){if(!e)return JSON.stringify(this);return super.toString(e,{blockItem:e=>e.type==="comment"?e.str:`- ${e.str}`,flowChars:{start:"[",end:"]"},isMap:false,itemIndent:(e.indent||"")+" "},t,r)}}const stringifyKey=(e,t,r)=>{if(t===null)return"";if(typeof t!=="object")return String(t);if(e instanceof Node&&r&&r.doc)return e.toString({anchors:Object.create(null),doc:r.doc,indent:"",indentStep:r.indentStep,inFlow:true,inStringifyKey:true,stringify:r.stringify});return JSON.stringify(t)};class Pair extends Node{constructor(e,t=null){super();this.key=e;this.value=t;this.type=Pair.Type.PAIR}get commentBefore(){return this.key instanceof Node?this.key.commentBefore:undefined}set commentBefore(e){if(this.key==null)this.key=new Scalar(null);if(this.key instanceof Node)this.key.commentBefore=e;else{const e="Pair.commentBefore is an alias for Pair.key.commentBefore. To set it, the key must be a Node.";throw new Error(e)}}addToJSMap(e,t){const r=toJSON(this.key,"",e);if(t instanceof Map){const n=toJSON(this.value,r,e);t.set(r,n)}else if(t instanceof Set){t.add(r)}else{const n=stringifyKey(this.key,r,e);const s=toJSON(this.value,n,e);if(n in t)Object.defineProperty(t,n,{value:s,writable:true,enumerable:true,configurable:true});else t[n]=s}return t}toJSON(e,t){const r=t&&t.mapAsMap?new Map:{};return this.addToJSMap(t,r)}toString(e,t,r){if(!e||!e.doc)return JSON.stringify(this);const{indent:s,indentSeq:i,simpleKeys:o}=e.doc.options;let{key:a,value:c}=this;let l=a instanceof Node&&a.comment;if(o){if(l){throw new Error("With simple keys, key nodes cannot have comments")}if(a instanceof Collection){const e="With simple keys, collection cannot be used as a key value";throw new Error(e)}}let u=!o&&(!a||l||(a instanceof Node?a instanceof Collection||a.type===n.Type.BLOCK_FOLDED||a.type===n.Type.BLOCK_LITERAL:typeof a==="object"));const{doc:p,indent:h,indentStep:d,stringify:g}=e;e=Object.assign({},e,{implicitKey:!u,indent:h+d});let m=false;let y=g(a,e,(()=>l=null),(()=>m=true));y=addComment(y,e.indent,l);if(!u&&y.length>1024){if(o)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");u=true}if(e.allNullValues&&!o){if(this.comment){y=addComment(y,e.indent,this.comment);if(t)t()}else if(m&&!l&&r)r();return e.inFlow&&!u?y:`? ${y}`}y=u?`? ${y}\n${h}:`:`${y}:`;if(this.comment){y=addComment(y,e.indent,this.comment);if(t)t()}let v="";let b=null;if(c instanceof Node){if(c.spaceBefore)v="\n";if(c.commentBefore){const t=c.commentBefore.replace(/^/gm,`${e.indent}#`);v+=`\n${t}`}b=c.comment}else if(c&&typeof c==="object"){c=p.schema.createNode(c,true)}e.implicitKey=false;if(!u&&!this.comment&&c instanceof Scalar)e.indentAtStart=y.length+1;m=false;if(!i&&s>=2&&!e.inFlow&&!u&&c instanceof YAMLSeq&&c.type!==n.Type.FLOW_SEQ&&!c.tag&&!p.anchors.getName(c)){e.indent=e.indent.substr(2)}const w=g(c,e,(()=>b=null),(()=>m=true));let S=" ";if(v||this.comment){S=`${v}\n${e.indent}`}else if(!u&&c instanceof Collection){const t=w[0]==="["||w[0]==="{";if(!t||w.includes("\n"))S=`\n${e.indent}`}else if(w[0]==="\n")S="";if(m&&!b&&r)r();return addComment(y+S+w,e.indent,b)}}n._defineProperty(Pair,"Type",{PAIR:"PAIR",MERGE_PAIR:"MERGE_PAIR"});const getAliasCount=(e,t)=>{if(e instanceof Alias){const r=t.get(e.source);return r.count*r.aliasCount}else if(e instanceof Collection){let r=0;for(const n of e.items){const e=getAliasCount(n,t);if(e>r)r=e}return r}else if(e instanceof Pair){const r=getAliasCount(e.key,t);const n=getAliasCount(e.value,t);return Math.max(r,n)}return 1};class Alias extends Node{static stringify({range:e,source:t},{anchors:r,doc:n,implicitKey:s,inStringifyKey:i}){let o=Object.keys(r).find((e=>r[e]===t));if(!o&&i)o=n.anchors.getName(t)||n.anchors.newName();if(o)return`*${o}${s?" ":""}`;const a=n.anchors.getName(t)?"Alias node must be after source node":"Source node not found for alias node";throw new Error(`${a} [${e}]`)}constructor(e){super();this.source=e;this.type=n.Type.ALIAS}set tag(e){throw new Error("Alias nodes cannot have tags")}toJSON(e,t){if(!t)return toJSON(this.source,e,t);const{anchors:r,maxAliasCount:s}=t;const i=r.get(this.source);if(!i||i.res===undefined){const e="This should not happen: Alias anchor was not resolved?";if(this.cstNode)throw new n.YAMLReferenceError(this.cstNode,e);else throw new ReferenceError(e)}if(s>=0){i.count+=1;if(i.aliasCount===0)i.aliasCount=getAliasCount(this.source,r);if(i.count*i.aliasCount>s){const e="Excessive alias count indicates a resource exhaustion attack";if(this.cstNode)throw new n.YAMLReferenceError(this.cstNode,e);else throw new ReferenceError(e)}}return i.res}toString(e){return Alias.stringify(this,e)}}n._defineProperty(Alias,"default",true);function findPair(e,t){const r=t instanceof Scalar?t.value:t;for(const n of e){if(n instanceof Pair){if(n.key===t||n.key===r)return n;if(n.key&&n.key.value===r)return n}}return undefined}class YAMLMap extends Collection{add(e,t){if(!e)e=new Pair(e);else if(!(e instanceof Pair))e=new Pair(e.key||e,e.value);const r=findPair(this.items,e.key);const n=this.schema&&this.schema.sortMapEntries;if(r){if(t)r.value=e.value;else throw new Error(`Key ${e.key} already set`)}else if(n){const t=this.items.findIndex((t=>n(e,t)<0));if(t===-1)this.items.push(e);else this.items.splice(t,0,e)}else{this.items.push(e)}}delete(e){const t=findPair(this.items,e);if(!t)return false;const r=this.items.splice(this.items.indexOf(t),1);return r.length>0}get(e,t){const r=findPair(this.items,e);const n=r&&r.value;return!t&&n instanceof Scalar?n.value:n}has(e){return!!findPair(this.items,e)}set(e,t){this.add(new Pair(e,t),true)}toJSON(e,t,r){const n=r?new r:t&&t.mapAsMap?new Map:{};if(t&&t.onCreate)t.onCreate(n);for(const e of this.items)e.addToJSMap(t,n);return n}toString(e,t,r){if(!e)return JSON.stringify(this);for(const e of this.items){if(!(e instanceof Pair))throw new Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`)}return super.toString(e,{blockItem:e=>e.str,flowChars:{start:"{",end:"}"},isMap:true,itemIndent:e.indent||""},t,r)}}const s="<<";class Merge extends Pair{constructor(e){if(e instanceof Pair){let t=e.value;if(!(t instanceof YAMLSeq)){t=new YAMLSeq;t.items.push(e.value);t.range=e.value.range}super(e.key,t);this.range=e.range}else{super(new Scalar(s),new YAMLSeq)}this.type=Pair.Type.MERGE_PAIR}addToJSMap(e,t){for(const{source:r}of this.value.items){if(!(r instanceof YAMLMap))throw new Error("Merge sources must be maps");const n=r.toJSON(null,e,Map);for(const[e,r]of n){if(t instanceof Map){if(!t.has(e))t.set(e,r)}else if(t instanceof Set){t.add(e)}else if(!Object.prototype.hasOwnProperty.call(t,e)){Object.defineProperty(t,e,{value:r,writable:true,enumerable:true,configurable:true})}}}return t}toString(e,t){const r=this.value;if(r.items.length>1)return super.toString(e,t);this.value=r.items[0];const n=super.toString(e,t);this.value=r;return n}}const i={defaultType:n.Type.BLOCK_LITERAL,lineWidth:76};const o={trueStr:"true",falseStr:"false"};const a={asBigInt:false};const c={nullStr:"null"};const l={defaultType:n.Type.PLAIN,doubleQuoted:{jsonEncoding:false,minMultiLineLength:40},fold:{lineWidth:80,minContentWidth:20}};function resolveScalar(e,t,r){for(const{format:r,test:n,resolve:s}of t){if(n){const t=e.match(n);if(t){let e=s.apply(null,t);if(!(e instanceof Scalar))e=new Scalar(e);if(r)e.format=r;return e}}}if(r)e=r(e);return new Scalar(e)}const u="flow";const p="block";const h="quoted";const consumeMoreIndentedLines=(e,t)=>{let r=e[t+1];while(r===" "||r==="\t"){do{r=e[t+=1]}while(r&&r!=="\n");r=e[t+1]}return t};function foldFlowLines(e,t,r,{indentAtStart:n,lineWidth:s=80,minContentWidth:i=20,onFold:o,onOverflow:a}){if(!s||s<0)return e;const c=Math.max(1+i,1+s-t.length);if(e.length<=c)return e;const l=[];const u={};let d=s-t.length;if(typeof n==="number"){if(n>s-Math.max(2,i))l.push(0);else d=s-n}let g=undefined;let m=undefined;let y=false;let v=-1;let b=-1;let w=-1;if(r===p){v=consumeMoreIndentedLines(e,v);if(v!==-1)d=v+c}for(let t;t=e[v+=1];){if(r===h&&t==="\\"){b=v;switch(e[v+1]){case"x":v+=3;break;case"u":v+=5;break;case"U":v+=9;break;default:v+=1}w=v}if(t==="\n"){if(r===p)v=consumeMoreIndentedLines(e,v);d=v+c;g=undefined}else{if(t===" "&&m&&m!==" "&&m!=="\n"&&m!=="\t"){const t=e[v+1];if(t&&t!==" "&&t!=="\n"&&t!=="\t")g=v}if(v>=d){if(g){l.push(g);d=g+c;g=undefined}else if(r===h){while(m===" "||m==="\t"){m=t;t=e[v+=1];y=true}const r=v>w+1?v-2:b-1;if(u[r])return e;l.push(r);u[r]=true;d=r+c;g=undefined}else{y=true}}}m=t}if(y&&a)a();if(l.length===0)return e;if(o)o();let S=e.slice(0,l[0]);for(let n=0;n<l.length;++n){const s=l[n];const i=l[n+1]||e.length;if(s===0)S=`\n${t}${e.slice(0,i)}`;else{if(r===h&&u[s])S+=`${e[s]}\\`;S+=`\n${t}${e.slice(s+1,i)}`}}return S}const getFoldOptions=({indentAtStart:e})=>e?Object.assign({indentAtStart:e},l.fold):l.fold;const containsDocumentMarker=e=>/^(%|---|\.\.\.)/m.test(e);function lineLengthOverLimit(e,t,r){if(!t||t<0)return false;const n=t-r;const s=e.length;if(s<=n)return false;for(let t=0,r=0;t<s;++t){if(e[t]==="\n"){if(t-r>n)return true;r=t+1;if(s-r<=n)return false}}return true}function doubleQuotedString(e,t){const{implicitKey:r}=t;const{jsonEncoding:n,minMultiLineLength:s}=l.doubleQuoted;const i=JSON.stringify(e);if(n)return i;const o=t.indent||(containsDocumentMarker(e)?" ":"");let a="";let c=0;for(let e=0,t=i[e];t;t=i[++e]){if(t===" "&&i[e+1]==="\\"&&i[e+2]==="n"){a+=i.slice(c,e)+"\\ ";e+=1;c=e;t="\\"}if(t==="\\")switch(i[e+1]){case"u":{a+=i.slice(c,e);const t=i.substr(e+2,4);switch(t){case"0000":a+="\\0";break;case"0007":a+="\\a";break;case"000b":a+="\\v";break;case"001b":a+="\\e";break;case"0085":a+="\\N";break;case"00a0":a+="\\_";break;case"2028":a+="\\L";break;case"2029":a+="\\P";break;default:if(t.substr(0,2)==="00")a+="\\x"+t.substr(2);else a+=i.substr(e,6)}e+=5;c=e+1}break;case"n":if(r||i[e+2]==='"'||i.length<s){e+=1}else{a+=i.slice(c,e)+"\n\n";while(i[e+2]==="\\"&&i[e+3]==="n"&&i[e+4]!=='"'){a+="\n";e+=2}a+=o;if(i[e+2]===" ")a+="\\";e+=1;c=e+1}break;default:e+=1}}a=c?a+i.slice(c):i;return r?a:foldFlowLines(a,o,h,getFoldOptions(t))}function singleQuotedString(e,t){if(t.implicitKey){if(/\n/.test(e))return doubleQuotedString(e,t)}else{if(/[ \t]\n|\n[ \t]/.test(e))return doubleQuotedString(e,t)}const r=t.indent||(containsDocumentMarker(e)?" ":"");const n="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&\n${r}`)+"'";return t.implicitKey?n:foldFlowLines(n,r,u,getFoldOptions(t))}function blockString({comment:e,type:t,value:r},s,i,o){if(/\n[\t ]+$/.test(r)||/^\s*$/.test(r)){return doubleQuotedString(r,s)}const a=s.indent||(s.forceBlockIndent||containsDocumentMarker(r)?" ":"");const c=a?"2":"1";const u=t===n.Type.BLOCK_FOLDED?false:t===n.Type.BLOCK_LITERAL?true:!lineLengthOverLimit(r,l.fold.lineWidth,a.length);let h=u?"|":">";if(!r)return h+"\n";let d="";let g="";r=r.replace(/[\n\t ]*$/,(e=>{const t=e.indexOf("\n");if(t===-1){h+="-"}else if(r===e||t!==e.length-1){h+="+";if(o)o()}g=e.replace(/\n$/,"");return""})).replace(/^[\n ]*/,(e=>{if(e.indexOf(" ")!==-1)h+=c;const t=e.match(/ +$/);if(t){d=e.slice(0,-t[0].length);return t[0]}else{d=e;return""}}));if(g)g=g.replace(/\n+(?!\n|$)/g,`$&${a}`);if(d)d=d.replace(/\n+/g,`$&${a}`);if(e){h+=" #"+e.replace(/ ?[\r\n]+/g," ");if(i)i()}if(!r)return`${h}${c}\n${a}${g}`;if(u){r=r.replace(/\n+/g,`$&${a}`);return`${h}\n${a}${d}${r}${g}`}r=r.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${a}`);const m=foldFlowLines(`${d}${r}${g}`,a,p,l.fold);return`${h}\n${a}${m}`}function plainString(e,t,r,s){const{comment:i,type:o,value:a}=e;const{actualString:c,implicitKey:l,indent:p,inFlow:h}=t;if(l&&/[\n[\]{},]/.test(a)||h&&/[[\]{},]/.test(a)){return doubleQuotedString(a,t)}if(!a||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(a)){return l||h||a.indexOf("\n")===-1?a.indexOf('"')!==-1&&a.indexOf("'")===-1?singleQuotedString(a,t):doubleQuotedString(a,t):blockString(e,t,r,s)}if(!l&&!h&&o!==n.Type.PLAIN&&a.indexOf("\n")!==-1){return blockString(e,t,r,s)}if(p===""&&containsDocumentMarker(a)){t.forceBlockIndent=true;return blockString(e,t,r,s)}const d=a.replace(/\n+/g,`$&\n${p}`);if(c){const{tags:e}=t.doc.schema;const r=resolveScalar(d,e,e.scalarFallback).value;if(typeof r!=="string")return doubleQuotedString(a,t)}const g=l?d:foldFlowLines(d,p,u,getFoldOptions(t));if(i&&!h&&(g.indexOf("\n")!==-1||i.indexOf("\n")!==-1)){if(r)r();return addCommentBefore(g,p,i)}return g}function stringifyString(e,t,r,s){const{defaultType:i}=l;const{implicitKey:o,inFlow:a}=t;let{type:c,value:u}=e;if(typeof u!=="string"){u=String(u);e=Object.assign({},e,{value:u})}const _stringify=i=>{switch(i){case n.Type.BLOCK_FOLDED:case n.Type.BLOCK_LITERAL:return blockString(e,t,r,s);case n.Type.QUOTE_DOUBLE:return doubleQuotedString(u,t);case n.Type.QUOTE_SINGLE:return singleQuotedString(u,t);case n.Type.PLAIN:return plainString(e,t,r,s);default:return null}};if(c!==n.Type.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f]/.test(u)){c=n.Type.QUOTE_DOUBLE}else if((o||a)&&(c===n.Type.BLOCK_FOLDED||c===n.Type.BLOCK_LITERAL)){c=n.Type.QUOTE_DOUBLE}let p=_stringify(c);if(p===null){p=_stringify(i);if(p===null)throw new Error(`Unsupported default string type ${i}`)}return p}function stringifyNumber({format:e,minFractionDigits:t,tag:r,value:n}){if(typeof n==="bigint")return String(n);if(!isFinite(n))return isNaN(n)?".nan":n<0?"-.inf":".inf";let s=JSON.stringify(n);if(!e&&t&&(!r||r==="tag:yaml.org,2002:float")&&/^\d/.test(s)){let e=s.indexOf(".");if(e<0){e=s.length;s+="."}let r=t-(s.length-e-1);while(r-- >0)s+="0"}return s}function checkFlowCollectionEnd(e,t){let r,s;switch(t.type){case n.Type.FLOW_MAP:r="}";s="flow map";break;case n.Type.FLOW_SEQ:r="]";s="flow sequence";break;default:e.push(new n.YAMLSemanticError(t,"Not a flow collection!?"));return}let i;for(let e=t.items.length-1;e>=0;--e){const r=t.items[e];if(!r||r.type!==n.Type.COMMENT){i=r;break}}if(i&&i.char!==r){const o=`Expected ${s} to end with ${r}`;let a;if(typeof i.offset==="number"){a=new n.YAMLSemanticError(t,o);a.offset=i.offset+1}else{a=new n.YAMLSemanticError(i,o);if(i.range&&i.range.end)a.offset=i.range.end-i.range.start}e.push(a)}}function checkFlowCommentSpace(e,t){const r=t.context.src[t.range.start-1];if(r!=="\n"&&r!=="\t"&&r!==" "){const r="Comments must be separated from other tokens by white space characters";e.push(new n.YAMLSemanticError(t,r))}}function getLongKeyError(e,t){const r=String(t);const s=r.substr(0,8)+"..."+r.substr(-8);return new n.YAMLSemanticError(e,`The "${s}" key is too long`)}function resolveComments(e,t){for(const{afterKey:r,before:n,comment:s}of t){let t=e.items[n];if(!t){if(s!==undefined){if(e.comment)e.comment+="\n"+s;else e.comment=s}}else{if(r&&t.value)t=t.value;if(s===undefined){if(r||!t.commentBefore)t.spaceBefore=true}else{if(t.commentBefore)t.commentBefore+="\n"+s;else t.commentBefore=s}}}}function resolveString(e,t){const r=t.strValue;if(!r)return"";if(typeof r==="string")return r;r.errors.forEach((r=>{if(!r.source)r.source=t;e.errors.push(r)}));return r.str}function resolveTagHandle(e,t){const{handle:r,suffix:s}=t.tag;let i=e.tagPrefixes.find((e=>e.handle===r));if(!i){const s=e.getDefaults().tagPrefixes;if(s)i=s.find((e=>e.handle===r));if(!i)throw new n.YAMLSemanticError(t,`The ${r} tag handle is non-default and was not declared.`)}if(!s)throw new n.YAMLSemanticError(t,`The ${r} tag has no suffix.`);if(r==="!"&&(e.version||e.options.version)==="1.0"){if(s[0]==="^"){e.warnings.push(new n.YAMLWarning(t,"YAML 1.0 ^ tag expansion is not supported"));return s}if(/[:/]/.test(s)){const e=s.match(/^([a-z0-9-]+)\/(.*)/i);return e?`tag:${e[1]}.yaml.org,2002:${e[2]}`:`tag:${s}`}}return i.prefix+decodeURIComponent(s)}function resolveTagName(e,t){const{tag:r,type:s}=t;let i=false;if(r){const{handle:s,suffix:o,verbatim:a}=r;if(a){if(a!=="!"&&a!=="!!")return a;const r=`Verbatim tags aren't resolved, so ${a} is invalid.`;e.errors.push(new n.YAMLSemanticError(t,r))}else if(s==="!"&&!o){i=true}else{try{return resolveTagHandle(e,t)}catch(t){e.errors.push(t)}}}switch(s){case n.Type.BLOCK_FOLDED:case n.Type.BLOCK_LITERAL:case n.Type.QUOTE_DOUBLE:case n.Type.QUOTE_SINGLE:return n.defaultTags.STR;case n.Type.FLOW_MAP:case n.Type.MAP:return n.defaultTags.MAP;case n.Type.FLOW_SEQ:case n.Type.SEQ:return n.defaultTags.SEQ;case n.Type.PLAIN:return i?n.defaultTags.STR:null;default:return null}}function resolveByTagName(e,t,r){const{tags:n}=e.schema;const s=[];for(const i of n){if(i.tag===r){if(i.test)s.push(i);else{const r=i.resolve(e,t);return r instanceof Collection?r:new Scalar(r)}}}const i=resolveString(e,t);if(typeof i==="string"&&s.length>0)return resolveScalar(i,s,n.scalarFallback);return null}function getFallbackTagName({type:e}){switch(e){case n.Type.FLOW_MAP:case n.Type.MAP:return n.defaultTags.MAP;case n.Type.FLOW_SEQ:case n.Type.SEQ:return n.defaultTags.SEQ;default:return n.defaultTags.STR}}function resolveTag(e,t,r){try{const n=resolveByTagName(e,t,r);if(n){if(r&&t.tag)n.tag=r;return n}}catch(r){if(!r.source)r.source=t;e.errors.push(r);return null}try{const s=getFallbackTagName(t);if(!s)throw new Error(`The tag ${r} is unavailable`);const i=`The tag ${r} is unavailable, falling back to ${s}`;e.warnings.push(new n.YAMLWarning(t,i));const o=resolveByTagName(e,t,s);o.tag=r;return o}catch(r){const s=new n.YAMLReferenceError(t,r.message);s.stack=r.stack;e.errors.push(s);return null}}const isCollectionItem=e=>{if(!e)return false;const{type:t}=e;return t===n.Type.MAP_KEY||t===n.Type.MAP_VALUE||t===n.Type.SEQ_ITEM};function resolveNodeProps(e,t){const r={before:[],after:[]};let s=false;let i=false;const o=isCollectionItem(t.context.parent)?t.context.parent.props.concat(t.props):t.props;for(const{start:a,end:c}of o){switch(t.context.src[a]){case n.Char.COMMENT:{if(!t.commentHasRequiredWhitespace(a)){const r="Comments must be separated from other tokens by white space characters";e.push(new n.YAMLSemanticError(t,r))}const{header:s,valueRange:i}=t;const o=i&&(a>i.start||s&&a>s.start)?r.after:r.before;o.push(t.context.src.slice(a+1,c));break}case n.Char.ANCHOR:if(s){const r="A node can have at most one anchor";e.push(new n.YAMLSemanticError(t,r))}s=true;break;case n.Char.TAG:if(i){const r="A node can have at most one tag";e.push(new n.YAMLSemanticError(t,r))}i=true;break}}return{comments:r,hasAnchor:s,hasTag:i}}function resolveNodeValue(e,t){const{anchors:r,errors:s,schema:i}=e;if(t.type===n.Type.ALIAS){const e=t.rawValue;const i=r.getNode(e);if(!i){const r=`Aliased anchor not found: ${e}`;s.push(new n.YAMLReferenceError(t,r));return null}const o=new Alias(i);r._cstAliases.push(o);return o}const o=resolveTagName(e,t);if(o)return resolveTag(e,t,o);if(t.type!==n.Type.PLAIN){const e=`Failed to resolve ${t.type} node here`;s.push(new n.YAMLSyntaxError(t,e));return null}try{const r=resolveString(e,t);return resolveScalar(r,i.tags,i.tags.scalarFallback)}catch(e){if(!e.source)e.source=t;s.push(e);return null}}function resolveNode(e,t){if(!t)return null;if(t.error)e.errors.push(t.error);const{comments:r,hasAnchor:s,hasTag:i}=resolveNodeProps(e.errors,t);if(s){const{anchors:r}=e;const n=t.anchor;const s=r.getNode(n);if(s)r.map[r.newName(n)]=s;r.map[n]=t}if(t.type===n.Type.ALIAS&&(s||i)){const r="An alias node must not specify any properties";e.errors.push(new n.YAMLSemanticError(t,r))}const o=resolveNodeValue(e,t);if(o){o.range=[t.range.start,t.range.end];if(e.options.keepCstNodes)o.cstNode=t;if(e.options.keepNodeTypes)o.type=t.type;const n=r.before.join("\n");if(n){o.commentBefore=o.commentBefore?`${o.commentBefore}\n${n}`:n}const s=r.after.join("\n");if(s)o.comment=o.comment?`${o.comment}\n${s}`:s}return t.resolved=o}function resolveMap(e,t){if(t.type!==n.Type.MAP&&t.type!==n.Type.FLOW_MAP){const r=`A ${t.type} node cannot be resolved as a mapping`;e.errors.push(new n.YAMLSyntaxError(t,r));return null}const{comments:r,items:i}=t.type===n.Type.FLOW_MAP?resolveFlowMapItems(e,t):resolveBlockMapItems(e,t);const o=new YAMLMap;o.items=i;resolveComments(o,r);let a=false;for(let r=0;r<i.length;++r){const{key:o}=i[r];if(o instanceof Collection)a=true;if(e.schema.merge&&o&&o.value===s){i[r]=new Merge(i[r]);const s=i[r].value.items;let o=null;s.some((e=>{if(e instanceof Alias){const{type:t}=e.source;if(t===n.Type.MAP||t===n.Type.FLOW_MAP)return false;return o="Merge nodes aliases can only point to maps"}return o="Merge nodes can only have Alias nodes as values"}));if(o)e.errors.push(new n.YAMLSemanticError(t,o))}else{for(let s=r+1;s<i.length;++s){const{key:r}=i[s];if(o===r||o&&r&&Object.prototype.hasOwnProperty.call(o,"value")&&o.value===r.value){const r=`Map keys must be unique; "${o}" is repeated`;e.errors.push(new n.YAMLSemanticError(t,r));break}}}}if(a&&!e.options.mapAsMap){const r="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";e.warnings.push(new n.YAMLWarning(t,r))}t.resolved=o;return o}const valueHasPairComment=({context:{lineStart:e,node:t,src:r},props:s})=>{if(s.length===0)return false;const{start:i}=s[0];if(t&&i>t.valueRange.start)return false;if(r[i]!==n.Char.COMMENT)return false;for(let t=e;t<i;++t)if(r[t]==="\n")return false;return true};function resolvePairComment(e,t){if(!valueHasPairComment(e))return;const r=e.getPropValue(0,n.Char.COMMENT,true);let s=false;const i=t.value.commentBefore;if(i&&i.startsWith(r)){t.value.commentBefore=i.substr(r.length+1);s=true}else{const n=t.value.comment;if(!e.node&&n&&n.startsWith(r)){t.value.comment=n.substr(r.length+1);s=true}}if(s)t.comment=r}function resolveBlockMapItems(e,t){const r=[];const s=[];let i=undefined;let o=null;for(let a=0;a<t.items.length;++a){const c=t.items[a];switch(c.type){case n.Type.BLANK_LINE:r.push({afterKey:!!i,before:s.length});break;case n.Type.COMMENT:r.push({afterKey:!!i,before:s.length,comment:c.comment});break;case n.Type.MAP_KEY:if(i!==undefined)s.push(new Pair(i));if(c.error)e.errors.push(c.error);i=resolveNode(e,c.node);o=null;break;case n.Type.MAP_VALUE:{if(i===undefined)i=null;if(c.error)e.errors.push(c.error);if(!c.context.atLineStart&&c.node&&c.node.type===n.Type.MAP&&!c.node.context.atLineStart){const t="Nested mappings are not allowed in compact mappings";e.errors.push(new n.YAMLSemanticError(c.node,t))}let r=c.node;if(!r&&c.props.length>0){r=new n.PlainValue(n.Type.PLAIN,[]);r.context={parent:c,src:c.context.src};const e=c.range.start+1;r.range={start:e,end:e};r.valueRange={start:e,end:e};if(typeof c.range.origStart==="number"){const e=c.range.origStart+1;r.range.origStart=r.range.origEnd=e;r.valueRange.origStart=r.valueRange.origEnd=e}}const a=new Pair(i,resolveNode(e,r));resolvePairComment(c,a);s.push(a);if(i&&typeof o==="number"){if(c.range.start>o+1024)e.errors.push(getLongKeyError(t,i))}i=undefined;o=null}break;default:if(i!==undefined)s.push(new Pair(i));i=resolveNode(e,c);o=c.range.start;if(c.error)e.errors.push(c.error);e:for(let r=a+1;;++r){const s=t.items[r];switch(s&&s.type){case n.Type.BLANK_LINE:case n.Type.COMMENT:continue e;case n.Type.MAP_VALUE:break e;default:{const t="Implicit map keys need to be followed by map values";e.errors.push(new n.YAMLSemanticError(c,t));break e}}}if(c.valueRangeContainsNewline){const t="Implicit map keys need to be on a single line";e.errors.push(new n.YAMLSemanticError(c,t))}}}if(i!==undefined)s.push(new Pair(i));return{comments:r,items:s}}function resolveFlowMapItems(e,t){const r=[];const s=[];let i=undefined;let o=false;let a="{";for(let c=0;c<t.items.length;++c){const l=t.items[c];if(typeof l.char==="string"){const{char:r,offset:u}=l;if(r==="?"&&i===undefined&&!o){o=true;a=":";continue}if(r===":"){if(i===undefined)i=null;if(a===":"){a=",";continue}}else{if(o){if(i===undefined&&r!==",")i=null;o=false}if(i!==undefined){s.push(new Pair(i));i=undefined;if(r===","){a=":";continue}}}if(r==="}"){if(c===t.items.length-1)continue}else if(r===a){a=":";continue}const p=`Flow map contains an unexpected ${r}`;const h=new n.YAMLSyntaxError(t,p);h.offset=u;e.errors.push(h)}else if(l.type===n.Type.BLANK_LINE){r.push({afterKey:!!i,before:s.length})}else if(l.type===n.Type.COMMENT){checkFlowCommentSpace(e.errors,l);r.push({afterKey:!!i,before:s.length,comment:l.comment})}else if(i===undefined){if(a===",")e.errors.push(new n.YAMLSemanticError(l,"Separator , missing in flow map"));i=resolveNode(e,l)}else{if(a!==",")e.errors.push(new n.YAMLSemanticError(l,"Indicator : missing in flow map entry"));s.push(new Pair(i,resolveNode(e,l)));i=undefined;o=false}}checkFlowCollectionEnd(e.errors,t);if(i!==undefined)s.push(new Pair(i));return{comments:r,items:s}}function resolveSeq(e,t){if(t.type!==n.Type.SEQ&&t.type!==n.Type.FLOW_SEQ){const r=`A ${t.type} node cannot be resolved as a sequence`;e.errors.push(new n.YAMLSyntaxError(t,r));return null}const{comments:r,items:s}=t.type===n.Type.FLOW_SEQ?resolveFlowSeqItems(e,t):resolveBlockSeqItems(e,t);const i=new YAMLSeq;i.items=s;resolveComments(i,r);if(!e.options.mapAsMap&&s.some((e=>e instanceof Pair&&e.key instanceof Collection))){const r="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";e.warnings.push(new n.YAMLWarning(t,r))}t.resolved=i;return i}function resolveBlockSeqItems(e,t){const r=[];const s=[];for(let i=0;i<t.items.length;++i){const o=t.items[i];switch(o.type){case n.Type.BLANK_LINE:r.push({before:s.length});break;case n.Type.COMMENT:r.push({comment:o.comment,before:s.length});break;case n.Type.SEQ_ITEM:if(o.error)e.errors.push(o.error);s.push(resolveNode(e,o.node));if(o.hasProps){const t="Sequence items cannot have tags or anchors before the - indicator";e.errors.push(new n.YAMLSemanticError(o,t))}break;default:if(o.error)e.errors.push(o.error);e.errors.push(new n.YAMLSyntaxError(o,`Unexpected ${o.type} node in sequence`))}}return{comments:r,items:s}}function resolveFlowSeqItems(e,t){const r=[];const s=[];let i=false;let o=undefined;let a=null;let c="[";let l=null;for(let u=0;u<t.items.length;++u){const p=t.items[u];if(typeof p.char==="string"){const{char:r,offset:h}=p;if(r!==":"&&(i||o!==undefined)){if(i&&o===undefined)o=c?s.pop():null;s.push(new Pair(o));i=false;o=undefined;a=null}if(r===c){c=null}else if(!c&&r==="?"){i=true}else if(c!=="["&&r===":"&&o===undefined){if(c===","){o=s.pop();if(o instanceof Pair){const r="Chaining flow sequence pairs is invalid";const s=new n.YAMLSemanticError(t,r);s.offset=h;e.errors.push(s)}if(!i&&typeof a==="number"){const r=p.range?p.range.start:p.offset;if(r>a+1024)e.errors.push(getLongKeyError(t,o));const{src:s}=l.context;for(let t=a;t<r;++t)if(s[t]==="\n"){const t="Implicit keys of flow sequence pairs need to be on a single line";e.errors.push(new n.YAMLSemanticError(l,t));break}}}else{o=null}a=null;i=false;c=null}else if(c==="["||r!=="]"||u<t.items.length-1){const s=`Flow sequence contains an unexpected ${r}`;const i=new n.YAMLSyntaxError(t,s);i.offset=h;e.errors.push(i)}}else if(p.type===n.Type.BLANK_LINE){r.push({before:s.length})}else if(p.type===n.Type.COMMENT){checkFlowCommentSpace(e.errors,p);r.push({comment:p.comment,before:s.length})}else{if(c){const t=`Expected a ${c} in flow sequence`;e.errors.push(new n.YAMLSemanticError(p,t))}const t=resolveNode(e,p);if(o===undefined){s.push(t);l=p}else{s.push(new Pair(o,t));o=undefined}a=p.range.start;c=","}}checkFlowCollectionEnd(e.errors,t);if(o!==undefined)s.push(new Pair(o));return{comments:r,items:s}}t.Alias=Alias;t.Collection=Collection;t.Merge=Merge;t.Node=Node;t.Pair=Pair;t.Scalar=Scalar;t.YAMLMap=YAMLMap;t.YAMLSeq=YAMLSeq;t.addComment=addComment;t.binaryOptions=i;t.boolOptions=o;t.findPair=findPair;t.intOptions=a;t.isEmptyPath=isEmptyPath;t.nullOptions=c;t.resolveMap=resolveMap;t.resolveNode=resolveNode;t.resolveSeq=resolveSeq;t.resolveString=resolveString;t.strOptions=l;t.stringifyNumber=stringifyNumber;t.stringifyString=stringifyString;t.toJSON=toJSON},8201:function(e,t,r){"use strict";var n=r(2592);var s=r(4288);const i={identify:e=>e instanceof Uint8Array,default:false,tag:"tag:yaml.org,2002:binary",resolve:(e,t)=>{const r=s.resolveString(e,t);if(typeof Buffer==="function"){return Buffer.from(r,"base64")}else if(typeof atob==="function"){const e=atob(r.replace(/[\n\r]/g,""));const t=new Uint8Array(e.length);for(let r=0;r<e.length;++r)t[r]=e.charCodeAt(r);return t}else{const r="This environment does not support reading binary tags; either Buffer or atob is required";e.errors.push(new n.YAMLReferenceError(t,r));return null}},options:s.binaryOptions,stringify:({comment:e,type:t,value:r},i,o,a)=>{let c;if(typeof Buffer==="function"){c=r instanceof Buffer?r.toString("base64"):Buffer.from(r.buffer).toString("base64")}else if(typeof btoa==="function"){let e="";for(let t=0;t<r.length;++t)e+=String.fromCharCode(r[t]);c=btoa(e)}else{throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required")}if(!t)t=s.binaryOptions.defaultType;if(t===n.Type.QUOTE_DOUBLE){r=c}else{const{lineWidth:e}=s.binaryOptions;const i=Math.ceil(c.length/e);const o=new Array(i);for(let t=0,r=0;t<i;++t,r+=e){o[t]=c.substr(r,e)}r=o.join(t===n.Type.BLOCK_LITERAL?"\n":" ")}return s.stringifyString({comment:e,type:t,value:r},i,o,a)}};function parsePairs(e,t){const r=s.resolveSeq(e,t);for(let e=0;e<r.items.length;++e){let i=r.items[e];if(i instanceof s.Pair)continue;else if(i instanceof s.YAMLMap){if(i.items.length>1){const e="Each pair must have its own sequence indicator";throw new n.YAMLSemanticError(t,e)}const e=i.items[0]||new s.Pair;if(i.commentBefore)e.commentBefore=e.commentBefore?`${i.commentBefore}\n${e.commentBefore}`:i.commentBefore;if(i.comment)e.comment=e.comment?`${i.comment}\n${e.comment}`:i.comment;i=e}r.items[e]=i instanceof s.Pair?i:new s.Pair(i)}return r}function createPairs(e,t,r){const n=new s.YAMLSeq(e);n.tag="tag:yaml.org,2002:pairs";for(const s of t){let t,i;if(Array.isArray(s)){if(s.length===2){t=s[0];i=s[1]}else throw new TypeError(`Expected [key, value] tuple: ${s}`)}else if(s&&s instanceof Object){const e=Object.keys(s);if(e.length===1){t=e[0];i=s[t]}else throw new TypeError(`Expected { key: value } tuple: ${s}`)}else{t=s}const o=e.createPair(t,i,r);n.items.push(o)}return n}const o={default:false,tag:"tag:yaml.org,2002:pairs",resolve:parsePairs,createNode:createPairs};class YAMLOMap extends s.YAMLSeq{constructor(){super();n._defineProperty(this,"add",s.YAMLMap.prototype.add.bind(this));n._defineProperty(this,"delete",s.YAMLMap.prototype.delete.bind(this));n._defineProperty(this,"get",s.YAMLMap.prototype.get.bind(this));n._defineProperty(this,"has",s.YAMLMap.prototype.has.bind(this));n._defineProperty(this,"set",s.YAMLMap.prototype.set.bind(this));this.tag=YAMLOMap.tag}toJSON(e,t){const r=new Map;if(t&&t.onCreate)t.onCreate(r);for(const e of this.items){let n,i;if(e instanceof s.Pair){n=s.toJSON(e.key,"",t);i=s.toJSON(e.value,n,t)}else{n=s.toJSON(e,"",t)}if(r.has(n))throw new Error("Ordered maps must not include duplicate keys");r.set(n,i)}return r}}n._defineProperty(YAMLOMap,"tag","tag:yaml.org,2002:omap");function parseOMap(e,t){const r=parsePairs(e,t);const i=[];for(const{key:e}of r.items){if(e instanceof s.Scalar){if(i.includes(e.value)){const e="Ordered maps must not include duplicate keys";throw new n.YAMLSemanticError(t,e)}else{i.push(e.value)}}}return Object.assign(new YAMLOMap,r)}function createOMap(e,t,r){const n=createPairs(e,t,r);const s=new YAMLOMap;s.items=n.items;return s}const a={identify:e=>e instanceof Map,nodeClass:YAMLOMap,default:false,tag:"tag:yaml.org,2002:omap",resolve:parseOMap,createNode:createOMap};class YAMLSet extends s.YAMLMap{constructor(){super();this.tag=YAMLSet.tag}add(e){const t=e instanceof s.Pair?e:new s.Pair(e);const r=s.findPair(this.items,t.key);if(!r)this.items.push(t)}get(e,t){const r=s.findPair(this.items,e);return!t&&r instanceof s.Pair?r.key instanceof s.Scalar?r.key.value:r.key:r}set(e,t){if(typeof t!=="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);const r=s.findPair(this.items,e);if(r&&!t){this.items.splice(this.items.indexOf(r),1)}else if(!r&&t){this.items.push(new s.Pair(e))}}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,r){if(!e)return JSON.stringify(this);if(this.hasAllNullValues())return super.toString(e,t,r);else throw new Error("Set items must all have null values")}}n._defineProperty(YAMLSet,"tag","tag:yaml.org,2002:set");function parseSet(e,t){const r=s.resolveMap(e,t);if(!r.hasAllNullValues())throw new n.YAMLSemanticError(t,"Set items must all have null values");return Object.assign(new YAMLSet,r)}function createSet(e,t,r){const n=new YAMLSet;for(const s of t)n.items.push(e.createPair(s,null,r));return n}const c={identify:e=>e instanceof Set,nodeClass:YAMLSet,default:false,tag:"tag:yaml.org,2002:set",resolve:parseSet,createNode:createSet};const parseSexagesimal=(e,t)=>{const r=t.split(":").reduce(((e,t)=>e*60+Number(t)),0);return e==="-"?-r:r};const stringifySexagesimal=({value:e})=>{if(isNaN(e)||!isFinite(e))return s.stringifyNumber(e);let t="";if(e<0){t="-";e=Math.abs(e)}const r=[e%60];if(e<60){r.unshift(0)}else{e=Math.round((e-r[0])/60);r.unshift(e%60);if(e>=60){e=Math.round((e-r[0])/60);r.unshift(e)}}return t+r.map((e=>e<10?"0"+String(e):String(e))).join(":").replace(/000000\d*$/,"")};const l={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+)$/,resolve:(e,t,r)=>parseSexagesimal(t,r.replace(/_/g,"")),stringify:stringifySexagesimal};const u={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*)$/,resolve:(e,t,r)=>parseSexagesimal(t,r.replace(/_/g,"")),stringify:stringifySexagesimal};const p={identify:e=>e instanceof Date,default:true,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^(?:"+"([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})"+"(?:(?:t|T|[ \\t]+)"+"([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)"+"(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?"+")?"+")$"),resolve:(e,t,r,n,s,i,o,a,c)=>{if(a)a=(a+"00").substr(1,3);let l=Date.UTC(t,r-1,n,s||0,i||0,o||0,a||0);if(c&&c!=="Z"){let e=parseSexagesimal(c[0],c.slice(1));if(Math.abs(e)<30)e*=60;l-=6e4*e}return new Date(l)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")};function shouldWarn(e){const t=typeof process!=="undefined"&&process.env||{};if(e){if(typeof YAML_SILENCE_DEPRECATION_WARNINGS!=="undefined")return!YAML_SILENCE_DEPRECATION_WARNINGS;return!t.YAML_SILENCE_DEPRECATION_WARNINGS}if(typeof YAML_SILENCE_WARNINGS!=="undefined")return!YAML_SILENCE_WARNINGS;return!t.YAML_SILENCE_WARNINGS}function warn(e,t){if(shouldWarn(false)){const r=typeof process!=="undefined"&&process.emitWarning;if(r)r(e,t);else{console.warn(t?`${t}: ${e}`:e)}}}function warnFileDeprecation(e){if(shouldWarn(true)){const t=e.replace(/.*yaml[/\\]/i,"").replace(/\.js$/,"").replace(/\\/g,"/");warn(`The endpoint 'yaml/${t}' will be removed in a future release.`,"DeprecationWarning")}}const h={};function warnOptionDeprecation(e,t){if(!h[e]&&shouldWarn(true)){h[e]=true;let r=`The option '${e}' will be removed in a future release`;r+=t?`, use '${t}' instead.`:".";warn(r,"DeprecationWarning")}}t.binary=i;t.floatTime=u;t.intTime=l;t.omap=a;t.pairs=o;t.set=c;t.timestamp=p;t.warn=warn;t.warnFileDeprecation=warnFileDeprecation;t.warnOptionDeprecation=warnOptionDeprecation},9307:function(e,t,r){e.exports=r(3897).YAML},4401:function(e){let t="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let customAlphabet=(e,t=21)=>(r=t)=>{let n="";let s=r;while(s--){n+=e[Math.random()*e.length|0]}return n};let nanoid=(e=21)=>{let r="";let n=e;while(n--){r+=t[Math.random()*64|0]}return r};e.exports={nanoid:nanoid,customAlphabet:customAlphabet}},1197:function(e,t,r){"use strict";r.r(t);r.d(t,{createSupportsColor:function(){return createSupportsColor},default:function(){return l}});var n=require("node:process");var s=require("node:os");var i=require("node:tty");function hasFlag(e,t=n.argv){const r=e.startsWith("-")?"":e.length===1?"-":"--";const s=t.indexOf(r+e);const i=t.indexOf("--");return s!==-1&&(i===-1||s<i)}const{env:o}=n;let a;if(hasFlag("no-color")||hasFlag("no-colors")||hasFlag("color=false")||hasFlag("color=never")){a=0}else if(hasFlag("color")||hasFlag("colors")||hasFlag("color=true")||hasFlag("color=always")){a=1}function envForceColor(){if("FORCE_COLOR"in o){if(o.FORCE_COLOR==="true"){return 1}if(o.FORCE_COLOR==="false"){return 0}return o.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(o.FORCE_COLOR,10),3)}}function translateLevel(e){if(e===0){return false}return{level:e,hasBasic:true,has256:e>=2,has16m:e>=3}}function _supportsColor(e,{streamIsTTY:t,sniffFlags:r=true}={}){const i=envForceColor();if(i!==undefined){a=i}const c=r?a:i;if(c===0){return 0}if(r){if(hasFlag("color=16m")||hasFlag("color=full")||hasFlag("color=truecolor")){return 3}if(hasFlag("color=256")){return 2}}if(e&&!t&&c===undefined){return 0}const l=c||0;if(o.TERM==="dumb"){return l}if(n.platform==="win32"){const e=s.release().split(".");if(Number(e[0])>=10&&Number(e[2])>=10586){return Number(e[2])>=14931?3:2}return 1}if("CI"in o){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some((e=>e in o))||o.CI_NAME==="codeship"){return 1}return l}if("TEAMCITY_VERSION"in o){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION)?1:0}if("TF_BUILD"in o&&"AGENT_NAME"in o){return 1}if(o.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in o){const e=Number.parseInt((o.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(o.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(o.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM)){return 1}if("COLORTERM"in o){return 1}return l}function createSupportsColor(e,t={}){const r=_supportsColor(e,{streamIsTTY:e&&e.isTTY,...t});return translateLevel(r)}const c={stdout:createSupportsColor({isTTY:i.isatty(1)}),stderr:createSupportsColor({isTTY:i.isatty(2)})};var l=c},1619:function(e){"use strict";e.exports=JSON.parse('{"name":"stylelint","version":"14.6.0","description":"A mighty, modern CSS linter.","keywords":["css-in-js","css","less","lint","linter","markdown","sass","scss","stylelint","sugarss"],"homepage":"https://stylelint.io","repository":"stylelint/stylelint","funding":{"type":"opencollective","url":"https://opencollective.com/stylelint"},"license":"MIT","author":"stylelint","main":"lib/index.js","types":"types/stylelint/index.d.ts","bin":{"stylelint":"bin/stylelint.js"},"files":["bin/**/*.js","lib/**/*.js","!**/__tests__/**","!lib/testUtils/**","types/stylelint/index.d.ts"],"scripts":{"benchmark-rule":"node scripts/benchmark-rule.mjs","format":"prettier . --write","jest":"jest","lint":"npm-run-all --parallel --continue-on-error lint:*","lint:formatting":"prettier . --check","lint:js":"eslint . --cache --max-warnings=0","lint:md":"remark . --quiet --frail","lint:types":"tsc","prepare":"husky install","release":"np","pretest":"npm run lint","test":"jest --coverage","watch":"jest --watch"},"lint-staged":{"*.js":"eslint --cache --fix","*.{js,json,md,ts,yml}":"prettier --write"},"prettier":"@stylelint/prettier-config","eslintConfig":{"extends":["stylelint"],"globals":{"__dirname":true,"module":true,"require":true,"testRule":true},"root":true},"remarkConfig":{"plugins":["@stylelint/remark-preset"]},"jest":{"clearMocks":true,"collectCoverage":false,"collectCoverageFrom":["lib/**/*.js","!lib/**/{__tests__,testUtils}/**/*.js"],"coverageDirectory":"./.coverage/","coverageReporters":["lcov","text-summary"],"coverageThreshold":{"global":{"branches":75,"functions":75,"lines":75,"statements":75}},"moduleNameMapper":{"^stylelint$":"<rootDir>/lib/index.js","stylelint/lib/utils/getOsEol":"<rootDir>/lib/utils/getOsEol.js"},"preset":"jest-preset-stylelint","roots":["lib","system-tests"],"testEnvironment":"node","testRegex":".*\\\\.test\\\\.js$|rules/.*/__tests__/.*\\\\.js$","watchPlugins":["jest-watch-typeahead/filename","jest-watch-typeahead/testname"]},"dependencies":{"balanced-match":"^2.0.0","colord":"^2.9.2","cosmiconfig":"^7.0.1","css-functions-list":"^3.0.1","debug":"^4.3.3","execall":"^2.0.0","fast-glob":"^3.2.11","fastest-levenshtein":"^1.0.12","file-entry-cache":"^6.0.1","get-stdin":"^8.0.0","global-modules":"^2.0.0","globby":"^11.1.0","globjoin":"^0.1.4","html-tags":"^3.1.0","ignore":"^5.2.0","import-lazy":"^4.0.0","imurmurhash":"^0.1.4","is-plain-object":"^5.0.0","known-css-properties":"^0.24.0","mathml-tag-names":"^2.1.3","meow":"^9.0.0","micromatch":"^4.0.4","normalize-path":"^3.0.0","normalize-selector":"^0.2.0","picocolors":"^1.0.0","postcss":"^8.4.12","postcss-media-query-parser":"^0.2.3","postcss-resolve-nested-selector":"^0.1.1","postcss-safe-parser":"^6.0.0","postcss-selector-parser":"^6.0.9","postcss-value-parser":"^4.2.0","resolve-from":"^5.0.0","specificity":"^0.4.1","string-width":"^4.2.3","strip-ansi":"^6.0.1","style-search":"^0.1.0","supports-hyperlinks":"^2.2.0","svg-tags":"^1.0.0","table":"^6.8.0","v8-compile-cache":"^2.3.0","write-file-atomic":"^4.0.1"},"devDependencies":{"@stylelint/prettier-config":"^2.0.0","@stylelint/remark-preset":"^3.0.0","@types/balanced-match":"^1.0.2","@types/debug":"^4.1.7","@types/file-entry-cache":"^5.0.2","@types/global-modules":"^2.0.0","@types/globjoin":"^0.1.0","@types/imurmurhash":"^0.1.1","@types/micromatch":"^4.0.2","@types/normalize-path":"^3.0.0","@types/postcss-less":"^4.0.2","@types/postcss-safe-parser":"^5.0.1","@types/style-search":"^0.1.3","@types/svg-tags":"^1.0.0","@types/write-file-atomic":"^4.0.0","benchmark":"^2.1.4","common-tags":"^1.8.2","deepmerge":"^4.2.2","eslint":"^8.11.0","eslint-config-stylelint":"^15.0.0","eslint-plugin-jest":"^26.1.1","husky":"^7.0.4","jest":"^27.5.1","jest-preset-stylelint":"^5.0.1","jest-watch-typeahead":"^1.0.0","lint-staged":"^12.3.6","node-fetch":"^3.2.3","np":"^7.6.0","npm-run-all":"^4.1.5","postcss-html":"^1.3.0","postcss-import":"^14.0.2","postcss-less":"^6.0.0","postcss-sass":"^0.5.0","postcss-scss":"^4.0.3","prettier":"2.6.0","remark-cli":"^10.0.1","sugarss":"^4.0.1","typescript":"^4.6.2"},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"}}')}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var s=t[r]={id:r,loaded:false,exports:{}};var i=true;try{e[r](s,s.exports,__nccwpck_require__);i=false}finally{if(i)delete t[r]}s.loaded=true;return s.exports}!function(){__nccwpck_require__.d=function(e,t){for(var r in t){if(__nccwpck_require__.o(t,r)&&!__nccwpck_require__.o(e,r)){Object.defineProperty(e,r,{enumerable:true,get:t[r]})}}}}();!function(){__nccwpck_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}();!function(){__nccwpck_require__.r=function(e){if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(e,"__esModule",{value:true})}}();!function(){__nccwpck_require__.nmd=function(e){e.paths=[];if(!e.children)e.children=[];return e}}();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(7632);module.exports=r})();
|