UNPKG

utquidem

Version:

The meta-framework suite designed from scratch for frontend-focused modern web development.

1 lines 93.4 kB
(()=>{var e={39:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t["default"]=_default;var n=r(120);let o=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const a=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r){const n=Object.assign({column:0,line:-1},e.start);const o=Object.assign({},n,e.end);const{linesAbove:a=2,linesBelow:s=3}=r||{};const i=n.line;const l=n.column;const c=o.line;const u=o.column;let f=Math.max(i-(a+1),0);let h=Math.min(t.length,c+s);if(i===-1){f=0}if(c===-1){h=t.length}const p=c-i;const d={};if(p){for(let e=0;e<=p;e++){const r=e+i;if(!l){d[r]=true}else if(e===0){const e=t[r-1].length;d[r]=[l,e-l+1]}else if(e===p){d[r]=[0,u]}else{const n=t[r-e].length;d[r]=[0,n]}}}else{if(l===u){if(l){d[i]=[l,0]}else{d[i]=true}}else{d[i]=[l,u-l]}}return{start:f,end:h,markerLines:d}}function codeFrameColumns(e,t,r={}){const o=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r);const s=(0,n.getChalk)(r);const i=getDefs(s);const maybeHighlight=(e,t)=>o?e(t):t;const l=e.split(a);const{start:c,end:u,markerLines:f}=getMarkerLines(t,l,r);const h=t.start&&typeof t.start.column==="number";const p=String(u).length;const d=o?(0,n.default)(e,r):e;let g=d.split(a,u).slice(c,u).map(((e,t)=>{const n=c+1+t;const o=` ${n}`.slice(-p);const a=` ${o} |`;const s=f[n];const l=!f[n+1];if(s){let t="";if(Array.isArray(s)){const n=e.slice(0,Math.max(s[0]-1,0)).replace(/[^\t]/g," ");const o=s[1]||1;t=["\n ",maybeHighlight(i.gutter,a.replace(/\d/g," "))," ",n,maybeHighlight(i.marker,"^").repeat(o)].join("");if(l&&r.message){t+=" "+maybeHighlight(i.message,r.message)}}return[maybeHighlight(i.marker,">"),maybeHighlight(i.gutter,a),e.length>0?` ${e}`:"",t].join("")}else{return` ${maybeHighlight(i.gutter,a)}${e.length>0?` ${e}`:""}`}})).join("\n");if(r.message&&!h){g=`${" ".repeat(p+1)}${r.message}\n${g}`}if(o){return s.reset(g)}else{return g}}function _default(e,t,r,n={}){if(!o){o=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 a={start:{column:r,line:t}};return codeFrameColumns(e,a,n)}},860:(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 o=new RegExp("["+r+"]");const a=new RegExp("["+r+n+"]");r=n=null;const s=[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 i=[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,o=t.length;n<o;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&&o.test(String.fromCharCode(e))}return isInAstralSet(e,s)}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&&a.test(String.fromCharCode(e))}return isInAstralSet(e,s)||isInAstralSet(e,i)}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}},220:(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 o.isKeyword}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return o.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return o.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return o.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return o.isStrictReservedWord}});var n=r(860);var o=r(501)},501:(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 o=new Set(r.strict);const a=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||o.has(e)}function isStrictBindOnlyReservedWord(e){return a.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},120:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=highlight;t.getChalk=getChalk;t.shouldHighlight=shouldHighlight;var n=r(629);var o=r(220);var a=r(673);const s=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 i=/\r\n|[\n\r\u2028\u2029]/;const l=/^[()[\]{}]$/;let c;{const e=/^[a-z][\w-]*$/i;const getTokenType=function(t,r,n){if(t.type==="name"){if((0,o.isKeyword)(t.value)||(0,o.isStrictReservedWord)(t.value,true)||s.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"&&l.test(t.value)){return"bracket"}if(t.type==="invalid"&&(t.value==="@"||t.value==="#")){return"punctuator"}return t.type};c=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:o}of c(t)){const t=e[n];if(t){r+=o.split(i).map((e=>t(e))).join("\n")}else{r+=o}}return r}function shouldHighlight(e){return!!a.supportsColor||e.forceColor}function getChalk(e){return e.forceColor?new a.constructor({enabled:true,level:1}):a}function highlight(e,t={}){if(shouldHighlight(t)){const r=getChalk(t);const n=getDefs(r);return highlightTokens(n,e)}else{return e}}},727:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const r="[";const n="]";const o="{";const a="}";const s=":";const i=",";const l="true";const c="false";const u="null";const f='"';const h=new Map([["t",l],["f",c],["n",u]]);const p=new Map([[f,f],["\\","\\"],["/","/"],["b","\b"],["n","\n"],["f","\f"],["r","\r"],["t","\t"]]);const d=new Map([[r,"Punctuator"],[n,"Punctuator"],[o,"Punctuator"],[a,"Punctuator"],[s,"Punctuator"],[i,"Punctuator"],[l,"Boolean"],[c,"Boolean"],[u,"Null"]]);class ErrorWithLocation extends Error{constructor(e,{line:t,column:r,index:n}){super(`${e} (${t}:${r})`);this.line=t;this.column=r;this.index=n}}class UnexpectedChar extends ErrorWithLocation{constructor(e,t){super(`Unexpected character ${e} found.`,t)}}class UnexpectedToken extends ErrorWithLocation{constructor(e){super(`Unexpected token ${e.type}(${e.value}) found.`,e.loc.start)}}class UnexpectedEOF extends ErrorWithLocation{constructor(e){super("Unexpected end of input found.",e)}}const g='"';const v="/";const b="*";const m={comments:false,ranges:false};function isWhitespace(e){return/[\s\n]/.test(e)}function isDigit(e){return e>="0"&&e<="9"}function isHexDigit(e){return isDigit(e)||/[a-f]/i.test(e)}function isPositiveDigit(e){return e>="1"&&e<="9"}function isKeywordStart(e){return/[tfn]/.test(e)}function isNumberStart(e){return isDigit(e)||e==="."||e==="-"}function tokenize(e,t){t=Object.freeze({...m,...t});let r=-1;let n=1;let o=0;let a=false;const s=[];function createToken(e,r,n,o){const a=n.offset+r.length;let s=t.ranges?{range:[n.offset,a]}:undefined;return{type:e,value:r,loc:{start:n,end:o||{line:n.line,column:n.column+r.length,offset:a}},...s}}function next(){let t=e.charAt(++r);if(a){n++;o=1;a=false}else{o++}if(t==="\r"){a=true;if(e.charAt(r+1)==="\n"){r++}}else if(t==="\n"){a=true}return t}function locate(){return{line:n,column:o,offset:r}}function readKeyword(t){let n=h.get(t);if(e.slice(r,r+n.length)===n){r+=n.length-1;o+=n.length-1;return{value:n,c:next()}}for(let t=1;t<n.length;t++){if(n[t]!==e.charAt(r+t)){unexpected(next())}}}function readString(e){let t=e;e=next();while(e&&e!==g){if(e==="\\"){t+=e;e=next();if(p.has(e)){t+=e}else if(e==="u"){t+=e;for(let r=0;r<4;r++){e=next();if(isHexDigit(e)){t+=e}else{unexpected(e)}}}else{unexpected(e)}}else{t+=e}e=next()}if(!e){unexpectedEOF()}t+=e;return{value:t,c:next()}}function readNumber(e){let t="";if(e==="-"){t+=e;e=next();if(!isDigit(e)){unexpected(e)}}if(e==="0"){t+=e;e=next();if(isDigit(e)){unexpected(e)}}else{if(!isPositiveDigit(e)){unexpected(e)}do{t+=e;e=next()}while(isDigit(e))}if(e==="."){do{t+=e;e=next()}while(isDigit(e))}if(e==="e"||e==="E"){t+=e;e=next();if(e==="+"||e==="-"){t+=e;e=next()}if(!isDigit(e)){unexpected(e)}while(isDigit(e)){t+=e;e=next()}}return{value:t,c:e}}function readComment(e){let t=e;e=next();if(e==="/"){do{t+=e;e=next()}while(e&&e!=="\r"&&e!=="\n");return{value:t,c:e}}if(e===b){while(e){t+=e;e=next();if(e===b){t+=e;e=next();if(e===v){t+=e;e=next();return{value:t,c:e}}}}unexpectedEOF()}unexpected(e)}function unexpected(e){throw new UnexpectedChar(e,locate())}function unexpectedEOF(){throw new UnexpectedEOF(locate())}let i=next();while(r<e.length){while(isWhitespace(i)){i=next()}if(!i){break}const e=locate();if(d.has(i)){s.push(createToken(d.get(i),i,e));i=next()}else if(isKeywordStart(i)){const t=readKeyword(i);let r=t.value;i=t.c;s.push(createToken(d.get(r),r,e))}else if(isNumberStart(i)){const t=readNumber(i);let r=t.value;i=t.c;s.push(createToken("Number",r,e))}else if(i===g){const t=readString(i);let r=t.value;i=t.c;s.push(createToken("String",r,e))}else if(i===v&&t.comments){const t=readComment(i);let r=t.value;i=t.c;s.push(createToken(r.startsWith("//")?"LineComment":"BlockComment",r,e,locate()))}else{unexpected(i)}}return s}const y={document(e,t={}){return{type:"Document",body:e,...t}},string(e,t={}){return{type:"String",value:e,...t}},number(e,t={}){return{type:"Number",value:e,...t}},boolean(e,t={}){return{type:"Boolean",value:e,...t}},null(e={}){return{type:"Null",value:"null",...e}},array(e,t={}){return{type:"Array",elements:e,...t}},object(e,t={}){return{type:"Object",members:e,...t}},member(e,t,r={}){return{type:"Member",name:e,value:t,...r}}};const w={tokens:false,comments:false,ranges:false};function getStringValue(e){let t=e.value.slice(1,-1);let r="";let n=t.indexOf("\\");let o=0;while(n>=0){r+=t.slice(o,n);const a=t.charAt(n+1);if(p.has(a)){r+=p.get(a);o=n+2}else if(a==="u"){const a=t.slice(n+2,n+6);if(a.length<4||/[^0-9a-f]/i.test(a)){throw new ErrorWithLocation(`Invalid unicode escape \\u${a}.`,{line:e.loc.start.line,column:e.loc.start.column+n,offset:e.loc.start.offset+n})}r+=String.fromCharCode(parseInt(a,16));o=n+6}else{throw new ErrorWithLocation(`Invalid escape \\${a}.`,{line:e.loc.start.line,column:e.loc.start.column+n,offset:e.loc.start.offset+n})}n=t.indexOf("\\",o)}r+=t.slice(o);return r}function getLiteralValue(e){switch(e.type){case"Boolean":return e.value==="true";case"Number":return Number(e.value);case"Null":return null;case"String":return getStringValue(e)}}function parse(e,t){t=Object.freeze({...w,...t});const r=tokenize(e,{comments:!!t.comments,ranges:!!t.ranges});let n=0;function nextNoComments(){return r[n++]}function nextSkipComments(){const e=r[n++];if(e&&e.type.endsWith("Comment")){return nextSkipComments()}return e}const o=t.comments?nextSkipComments:nextNoComments;function assertTokenValue(e,t){if(!e||e.value!==t){throw new UnexpectedToken(e)}}function assertTokenType(e,t){if(!e||e.type!==t){throw new UnexpectedToken(e)}}function createRange(e,r){return t.ranges?{range:[e.offset,r.offset]}:undefined}function createLiteralNode(e){const t=createRange(e.loc.start,e.loc.end);return{type:e.type,value:getLiteralValue(e),loc:{start:{...e.loc.start},end:{...e.loc.end}},...t}}function parseProperty(e){assertTokenType(e,"String");const t=createLiteralNode(e);e=o();assertTokenValue(e,":");const r=parseValue();const n=createRange(t.loc.start,r.loc.end);return y.member(t,r,{loc:{start:{...t.loc.start},end:{...r.loc.end}},...n})}function parseObject(e){assertTokenValue(e,"{");const t=[];let r=o();if(r&&r.value!=="}"){do{t.push(parseProperty(r));r=o();if(r.value===","){r=o()}else{break}}while(r)}assertTokenValue(r,"}");const n=createRange(e.loc.start,r.loc.end);return y.object(t,{loc:{start:{...e.loc.start},end:{...r.loc.end}},...n})}function parseArray(e){assertTokenValue(e,"[");const t=[];let r=o();if(r&&r.value!=="]"){do{t.push(parseValue(r));r=o();if(r.value===","){r=o()}else{break}}while(r)}assertTokenValue(r,"]");const n=createRange(e.loc.start,r.loc.end);return y.array(t,{type:"Array",elements:t,loc:{start:{...e.loc.start},end:{...r.loc.end}},...n})}function parseValue(e){e=e||o();switch(e.type){case"String":case"Boolean":case"Number":case"Null":return createLiteralNode(e);case"Punctuator":if(e.value==="{"){return parseObject(e)}else if(e.value==="["){return parseArray(e)}default:throw new UnexpectedToken(e)}}const a=parseValue();const s=o();if(s){throw new UnexpectedToken(s)}const i={loc:{start:{line:1,column:1,offset:0},end:{...a.loc.end}}};if(t.tokens){i.tokens=r}if(t.ranges){i.range=createRange(i.loc.start,i.loc.end)}return y.document(a,i)}const O=new Map([["Document",["body"]],["Object",["members"]],["Member",["name","value"]],["Array",["elements"]],["String",[]],["Number",[]],["Boolean",[]],["Null",[]]]);function isObject(e){return e&&typeof e==="object"}function isNode(e){return isObject(e)&&typeof e.type==="string"}function traverse(e,t){function visitNode(e,r){if(typeof t.enter==="function"){t.enter(e,r)}for(const t of O.get(e.type)){const r=e[t];if(isObject(r)){if(Array.isArray(r)){r.forEach((t=>visitNode(t,e)))}else if(isNode(r)){visitNode(r,e)}}}if(typeof t.exit==="function"){t.exit(e,r)}}visitNode(e)}function iterator(e,t=(()=>true)){const r=[];traverse(e,{enter(e,t){r.push({node:e,parent:t,phase:"enter"})},exit(e,t){r.push({node:e,parent:t,phase:"exit"})}});return r.filter(t).values()}function evaluate(e){switch(e.type){case"String":case"Number":case"Boolean":return e.value;case"Null":return null;case"Array":return e.elements.map(evaluate);case"Object":{const t={};e.members.forEach((e=>{t[evaluate(e.name)]=evaluate(e.value)}));return t}case"Document":return evaluate(e.body);case"Property":throw new Error("Cannot evaluate object property outside of an object.");default:throw new Error(`Unknown node type ${e.type}.`)}}function print(e,{indent:t=0}={}){const r=evaluate(e);return JSON.stringify(r,null,t)}t.evaluate=evaluate;t.iterator=iterator;t.parse=parse;t.print=print;t.tokenize=tokenize;t.traverse=traverse;t.types=y},571:(e,t,r)=>{"use strict";e=r.nmd(e);const n=r(755);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 o=n[r];t[r]={open:`[${o[0]}m`,close:`[${o[1]}m`};n[r]=t[r];e.set(o[0],o[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="";t.bgColor.close="";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})},44:(e,t,r)=>{"use strict";e=r.nmd(e);const wrapAnsi16=(e,t)=>(...r)=>{const n=e(...r);return`[${n+t}m`};const wrapAnsi256=(e,t)=>(...r)=>{const n=e(...r);return`[${38+t};5;${n}m`};const wrapAnsi16m=(e,t)=>(...r)=>{const n=e(...r);return`[${38+t};2;${n[0]};${n[1]};${n[2]}m`};const ansi2ansi=e=>e;const rgb2rgb=(e,t,r)=>[e,t,r];const setLazyProperty=(e,t,r)=>{Object.defineProperty(e,t,{get:()=>{const n=r();Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true});return n},enumerable:true,configurable:true})};let n;const makeDynamicStyles=(e,t,o,a)=>{if(n===undefined){n=r(767)}const s=a?10:0;const i={};for(const[r,a]of Object.entries(n)){const n=r==="ansi16"?"ansi":r;if(r===t){i[n]=e(o,s)}else if(typeof a==="object"){i[n]=e(a[t],s)}}return i};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],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.gray=t.color.blackBright;t.bgColor.bgGray=t.bgColor.bgBlackBright;t.color.grey=t.color.blackBright;t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(const[r,n]of Object.entries(t)){for(const[r,o]of Object.entries(n)){t[r]={open:`[${o[0]}m`,close:`[${o[1]}m`};n[r]=t[r];e.set(o[0],o[1])}Object.defineProperty(t,r,{value:n,enumerable:false})}Object.defineProperty(t,"codes",{value:e,enumerable:false});t.color.close="";t.bgColor.close="";setLazyProperty(t.color,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,false)));setLazyProperty(t.color,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,false)));setLazyProperty(t.color,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,false)));setLazyProperty(t.bgColor,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,true)));setLazyProperty(t.bgColor,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,true)));setLazyProperty(t.bgColor,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,true)));return t}Object.defineProperty(e,"exports",{enumerable:true,get:assembleStyles})},228:(e,t,r)=>{var n=Object.defineProperty;var o=Object.defineProperties;var a=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyDescriptors;var i=Object.getOwnPropertyNames;var l=Object.getOwnPropertySymbols;var c=Object.prototype.hasOwnProperty;var u=Object.prototype.propertyIsEnumerable;var __defNormalProp=(e,t,r)=>t in e?n(e,t,{enumerable:true,configurable:true,writable:true,value:r}):e[t]=r;var __spreadValues=(e,t)=>{for(var r in t||(t={}))if(c.call(t,r))__defNormalProp(e,r,t[r]);if(l)for(var r of l(t)){if(u.call(t,r))__defNormalProp(e,r,t[r])}return e};var __spreadProps=(e,t)=>o(e,s(t));var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,o)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let s of i(t))if(!c.call(e,s)&&s!==r)n(e,s,{get:()=>t[s],enumerable:!(o=a(t,s))||o.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var f={};__export(f,{createErrorInstances:()=>createErrorInstances,default:()=>helpers_default,filterRedundantErrors:()=>filterRedundantErrors,makeTree:()=>makeTree});e.exports=__toCommonJS(f);var h=r(694);var p=r(109);const d=/\/[\w_-]+(\/\d+)?/g;function makeTree(e=[]){const t={children:{}};e.forEach((e=>{const r=typeof e.instancePath!=="undefined"?e.instancePath:e.dataPath;const n=r===""?[""]:r.match(d);n&&n.reduce(((t,r,o)=>{t.children[r]=t.children[r]||{children:{},errors:[]};if(o===n.length-1){t.children[r].errors.push(e)}return t.children[r]}),t)}));return t}function filterRedundantErrors(e,t,r){(0,h.getErrors)(e).forEach((t=>{if((0,h.isRequiredError)(t)){e.errors=[t];e.children={}}}));if((0,h.getErrors)(e).some(h.isAnyOfError)){if(Object.keys(e.children).length>0){delete e.errors}}if(e.errors&&e.errors.length&&(0,h.getErrors)(e).every(h.isEnumError)){if((0,h.getSiblings)(t)(e).filter(h.notUndefined).some(h.getErrors)){delete t.children[r]}}Object.entries(e.children).forEach((([t,r])=>filterRedundantErrors(r,e,t)))}function createErrorInstances(e,t){const r=(0,h.getErrors)(e);if(r.length&&r.every(h.isEnumError)){const e=new Set((0,h.concatAll)([])(r.map((e=>e.params.allowedValues))));const n=[...e];const o=r[0];return[new p.EnumValidationError(__spreadProps(__spreadValues({},o),{params:{allowedValues:n}}),t)]}else{return(0,h.concatAll)(r.reduce(((e,r)=>{switch(r.keyword){case"additionalProperties":return e.concat(new p.AdditionalPropValidationError(r,t));case"required":return e.concat(new p.RequiredValidationError(r,t));default:return e.concat(new p.DefaultValidationError(r,t))}}),[]))((0,h.getChildren)(e).map((e=>createErrorInstances(e,t))))}}var helpers_default=(e,t)=>{const r=makeTree(e||[]);filterRedundantErrors(r);return createErrorInstances(r,t)};0&&0},281:(e,t,r)=>{var n=Object.create;var o=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.getPrototypeOf;var l=Object.prototype.hasOwnProperty;var __export=(e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,n)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let i of s(t))if(!l.call(e,i)&&i!==r)o(e,i,{get:()=>t[i],enumerable:!(n=a(t,i))||n.enumerable})}return e};var __toESM=(e,t,r)=>(r=e!=null?n(i(e)):{},__copyProps(t||!e||!e.__esModule?o(r,"default",{value:e,enumerable:true}):r,e));var __toCommonJS=e=>__copyProps(o({},"__esModule",{value:true}),e);var c={};__export(c,{default:()=>src_default});e.exports=__toCommonJS(c);var u=r(727);var f=__toESM(r(228));var src_default=(e,t,r,n={})=>{const{format:o="cli",indent:a=null,json:s=null}=n;const i=s||JSON.stringify(t,null,a);const l=(0,u.parse)(i);const customErrorToText=e=>e.print().join("\n");const customErrorToStructure=e=>e.getError();const c=(0,f.default)(r,{data:t,schema:e,jsonAst:l,jsonRaw:i});if(o==="cli"){return c.map(customErrorToText).join("\n\n")}else{return c.map(customErrorToStructure)}};0&&0},60:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var s=Object.prototype.hasOwnProperty;var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,i)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let l of a(t))if(!s.call(e,l)&&l!==r)n(e,l,{get:()=>t[l],enumerable:!(i=o(t,l))||i.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var i={};__export(i,{default:()=>getDecoratedDataPath});e.exports=__toCommonJS(i);var l=r(381);function getDecoratedDataPath(e,t){let r="";(0,l.getPointers)(t).reduce(((e,n)=>{switch(e.type){case"Object":{r+=`/${n}`;const o=e.members.filter((e=>e.name.value===n));if(o.length!==1){throw new Error(`Couldn't find property ${n} of ${t}`)}return o[0].value}case"Array":{r+=`/${n}${getTypeName(e.elements[n])}`;return e.elements[n]}default:console.log(e)}}),e.body);return r}function getTypeName(e){if(!e||!e.elements){return""}const t=e.elements.filter((e=>e&&e.name&&e.name.value==="type"));if(!t.length){return""}return t[0].value&&`:${t[0].value.value}`||""}0&&0},28:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var s=Object.prototype.hasOwnProperty;var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,i)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let l of a(t))if(!s.call(e,l)&&l!==r)n(e,l,{get:()=>t[l],enumerable:!(i=o(t,l))||i.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var i={};__export(i,{default:()=>getMetaFromPath});e.exports=__toCommonJS(i);var l=r(381);function getMetaFromPath(e,t,r){const n=(0,l.getPointers)(t);const o=n.length-1;return n.reduce(((e,n,a)=>{switch(e.type){case"Object":{const s=e.members.filter((e=>e.name.value===n));if(s.length!==1){throw new Error(`Couldn't find property ${n} of ${t}`)}const{name:i,value:l}=s[0];return r&&a===o?i:l}case"Array":return e.elements[n];default:console.log(e)}}),e.body)}0&&0},131:(e,t,r)=>{var n=Object.create;var o=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.getPrototypeOf;var l=Object.prototype.hasOwnProperty;var __export=(e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,n)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let i of s(t))if(!l.call(e,i)&&i!==r)o(e,i,{get:()=>t[i],enumerable:!(n=a(t,i))||n.enumerable})}return e};var __toESM=(e,t,r)=>(r=e!=null?n(i(e)):{},__copyProps(t||!e||!e.__esModule?o(r,"default",{value:e,enumerable:true}):r,e));var __toCommonJS=e=>__copyProps(o({},"__esModule",{value:true}),e);var c={};__export(c,{getDecoratedDataPath:()=>f.default,getMetaFromPath:()=>u.default});e.exports=__toCommonJS(c);var u=__toESM(r(28));var f=__toESM(r(60));0&&0},381:e=>{var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __export=(e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,a,s,i)=>{if(a&&typeof a==="object"||typeof a==="function"){for(let l of n(a))if(!o.call(e,l)&&l!==s)t(e,l,{get:()=>a[l],enumerable:!(i=r(a,l))||i.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var a={};__export(a,{getPointers:()=>getPointers});e.exports=__toCommonJS(a);const getPointers=e=>e.split("/").slice(1).map((e=>e.split("~1").join("/").split("~0").join("~")));0&&0},694:e=>{var t=Object.defineProperty;var r=Object.defineProperties;var n=Object.getOwnPropertyDescriptor;var o=Object.getOwnPropertyDescriptors;var a=Object.getOwnPropertyNames;var s=Object.getOwnPropertySymbols;var i=Object.prototype.hasOwnProperty;var l=Object.prototype.propertyIsEnumerable;var __defNormalProp=(e,r,n)=>r in e?t(e,r,{enumerable:true,configurable:true,writable:true,value:n}):e[r]=n;var __spreadValues=(e,t)=>{for(var r in t||(t={}))if(i.call(t,r))__defNormalProp(e,r,t[r]);if(s)for(var r of s(t)){if(l.call(t,r))__defNormalProp(e,r,t[r])}return e};var __spreadProps=(e,t)=>r(e,o(t));var __export=(e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,r,o,s)=>{if(r&&typeof r==="object"||typeof r==="function"){for(let l of a(r))if(!i.call(e,l)&&l!==o)t(e,l,{get:()=>r[l],enumerable:!(s=n(r,l))||s.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var c={};__export(c,{concatAll:()=>concatAll,getChildren:()=>getChildren,getErrors:()=>getErrors,getSiblings:()=>getSiblings,isAnyOfError:()=>f,isEnumError:()=>h,isRequiredError:()=>u,notUndefined:()=>notUndefined});e.exports=__toCommonJS(c);const eq=e=>t=>e===t;const not=e=>t=>!e(t);const getValues=e=>Object.values(e);const notUndefined=e=>e!==void 0;const isXError=e=>t=>t.keyword===e;const u=isXError("required");const f=isXError("anyOf");const h=isXError("enum");const getErrors=e=>e&&e.errors?e.errors.map((e=>e.keyword==="errorMessage"?__spreadProps(__spreadValues({},e.params.errors[0]),{message:e.message}):e)):[];const getChildren=e=>e&&getValues(e.children)||[];const getSiblings=e=>t=>getChildren(e).filter(not(eq(t)));const concatAll=e=>t=>t.reduce(((e,t)=>e.concat(t)),e);0&&0},997:(e,t,r)=>{var n=Object.create;var o=Object.defineProperty;var a=Object.defineProperties;var s=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyDescriptors;var l=Object.getOwnPropertyNames;var c=Object.getOwnPropertySymbols;var u=Object.getPrototypeOf;var f=Object.prototype.hasOwnProperty;var h=Object.prototype.propertyIsEnumerable;var __defNormalProp=(e,t,r)=>t in e?o(e,t,{enumerable:true,configurable:true,writable:true,value:r}):e[t]=r;var __spreadValues=(e,t)=>{for(var r in t||(t={}))if(f.call(t,r))__defNormalProp(e,r,t[r]);if(c)for(var r of c(t)){if(h.call(t,r))__defNormalProp(e,r,t[r])}return e};var __spreadProps=(e,t)=>a(e,i(t));var __export=(e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,n)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let a of l(t))if(!f.call(e,a)&&a!==r)o(e,a,{get:()=>t[a],enumerable:!(n=s(t,a))||n.enumerable})}return e};var __toESM=(e,t,r)=>(r=e!=null?n(u(e)):{},__copyProps(t||!e||!e.__esModule?o(r,"default",{value:e,enumerable:true}):r,e));var __toCommonJS=e=>__copyProps(o({},"__esModule",{value:true}),e);var p={};__export(p,{default:()=>AdditionalPropValidationError});e.exports=__toCommonJS(p);var d=__toESM(r(584));var g=__toESM(r(272));class AdditionalPropValidationError extends g.default{constructor(...e){super(...e);this.options.isIdentifierLocation=true}print(){const{message:e,params:t}=this.options;const r=[d.default`{red {bold ADDTIONAL PROPERTY} ${e}}\n`];return r.concat(this.getCodeFrame(d.default`😲 {magentaBright ${t.additionalProperty}} is not expected to be here!`,`${this.instancePath}/${t.additionalProperty}`))}getError(){const{params:e}=this.options;return __spreadProps(__spreadValues({},this.getLocation(`${this.instancePath}/${e.additionalProperty}`)),{error:`${this.getDecoratedPath()} Property ${e.additionalProperty} is not expected to be here`,path:this.instancePath})}}0&&0},272:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var s=Object.prototype.hasOwnProperty;var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,i)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let l of a(t))if(!s.call(e,l)&&l!==r)n(e,l,{get:()=>t[l],enumerable:!(i=o(t,l))||i.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var i={};__export(i,{default:()=>BaseValidationError});e.exports=__toCommonJS(i);var l=r(39);var c=r(131);class BaseValidationError{constructor(e={isIdentifierLocation:false},{data:t,schema:r,jsonAst:n,jsonRaw:o}){this.options=e;this.data=t;this.schema=r;this.jsonAst=n;this.jsonRaw=o}getLocation(e=this.instancePath){const{isIdentifierLocation:t,isSkipEndLocation:r}=this.options;const{loc:n}=(0,c.getMetaFromPath)(this.jsonAst,e,t);return{start:n.start,end:r?void 0:n.end}}getDecoratedPath(e=this.instancePath){const t=(0,c.getDecoratedDataPath)(this.jsonAst,e);return t}getCodeFrame(e,t=this.instancePath){return(0,l.codeFrameColumns)(this.jsonRaw,this.getLocation(t),{highlightCode:true,message:e})}get instancePath(){return typeof this.options.instancePath!=="undefined"?this.options.instancePath:this.options.dataPath}print(){throw new Error(`Implement the 'print' method inside ${this.constructor.name}!`)}getError(){throw new Error(`Implement the 'getError' method inside ${this.constructor.name}!`)}}0&&0},64:(e,t,r)=>{var n=Object.create;var o=Object.defineProperty;var a=Object.defineProperties;var s=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyDescriptors;var l=Object.getOwnPropertyNames;var c=Object.getOwnPropertySymbols;var u=Object.getPrototypeOf;var f=Object.prototype.hasOwnProperty;var h=Object.prototype.propertyIsEnumerable;var __defNormalProp=(e,t,r)=>t in e?o(e,t,{enumerable:true,configurable:true,writable:true,value:r}):e[t]=r;var __spreadValues=(e,t)=>{for(var r in t||(t={}))if(f.call(t,r))__defNormalProp(e,r,t[r]);if(c)for(var r of c(t)){if(h.call(t,r))__defNormalProp(e,r,t[r])}return e};var __spreadProps=(e,t)=>a(e,i(t));var __export=(e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,n)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let a of l(t))if(!f.call(e,a)&&a!==r)o(e,a,{get:()=>t[a],enumerable:!(n=s(t,a))||n.enumerable})}return e};var __toESM=(e,t,r)=>(r=e!=null?n(u(e)):{},__copyProps(t||!e||!e.__esModule?o(r,"default",{value:e,enumerable:true}):r,e));var __toCommonJS=e=>__copyProps(o({},"__esModule",{value:true}),e);var p={};__export(p,{default:()=>DefaultValidationError});e.exports=__toCommonJS(p);var d=__toESM(r(584));var g=__toESM(r(272));class DefaultValidationError extends g.default{print(){const{keyword:e,message:t}=this.options;const r=[d.default`{red {bold ${e.toUpperCase()}} ${t}}\n`];return r.concat(this.getCodeFrame(d.default`👈🏽 {magentaBright ${e}} ${t}`))}getError(){const{keyword:e,message:t}=this.options;return __spreadProps(__spreadValues({},this.getLocation()),{error:`${this.getDecoratedPath()}: ${e} ${t}`,path:this.instancePath})}}0&&0},421:(e,t,r)=>{var n=Object.create;var o=Object.defineProperty;var a=Object.defineProperties;var s=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyDescriptors;var l=Object.getOwnPropertyNames;var c=Object.getOwnPropertySymbols;var u=Object.getPrototypeOf;var f=Object.prototype.hasOwnProperty;var h=Object.prototype.propertyIsEnumerable;var __defNormalProp=(e,t,r)=>t in e?o(e,t,{enumerable:true,configurable:true,writable:true,value:r}):e[t]=r;var __spreadValues=(e,t)=>{for(var r in t||(t={}))if(f.call(t,r))__defNormalProp(e,r,t[r]);if(c)for(var r of c(t)){if(h.call(t,r))__defNormalProp(e,r,t[r])}return e};var __spreadProps=(e,t)=>a(e,i(t));var __export=(e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,n)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let a of l(t))if(!f.call(e,a)&&a!==r)o(e,a,{get:()=>t[a],enumerable:!(n=s(t,a))||n.enumerable})}return e};var __toESM=(e,t,r)=>(r=e!=null?n(u(e)):{},__copyProps(t||!e||!e.__esModule?o(r,"default",{value:e,enumerable:true}):r,e));var __toCommonJS=e=>__copyProps(o({},"__esModule",{value:true}),e);var p={};__export(p,{default:()=>EnumValidationError});e.exports=__toCommonJS(p);var d=__toESM(r(584));var g=__toESM(r(954));var v=__toESM(r(472));var b=__toESM(r(272));class EnumValidationError extends b.default{print(){const{message:e,params:{allowedValues:t}}=this.options;const r=this.findBestMatch();const n=[d.default`{red {bold ENUM} ${e}}`,d.default`{red (${t.join(", ")})}\n`];return n.concat(this.getCodeFrame(r!==null?d.default`👈🏽 Did you mean {magentaBright ${r}} here?`:d.default`👈🏽 Unexpected value, should be equal to one of the allowed values`))}getError(){const{message:e,params:t}=this.options;const r=this.findBestMatch();const n=t.allowedValues.join(", ");const o=__spreadProps(__spreadValues({},this.getLocation()),{error:`${this.getDecoratedPath()} ${e}: ${n}`,path:this.instancePath});if(r!==null){o.suggestion=`Did you mean ${r}?`}return o}findBestMatch(){const{params:{allowedValues:e}}=this.options;const t=this.instancePath===""?this.data:v.default.get(this.data,this.instancePath);if(!t){return null}const r=e.map((e=>({value:e,weight:(0,g.default)(e,t.toString())}))).sort(((e,t)=>e.weight>t.weight?1:e.weight<t.weight?-1:0))[0];return e.length===1||r.weight<r.value.length?r.value:null}}0&&0},109:(e,t,r)=>{var n=Object.create;var o=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.getPrototypeOf;var l=Object.prototype.hasOwnProperty;var __export=(e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,n)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let i of s(t))if(!l.call(e,i)&&i!==r)o(e,i,{get:()=>t[i],enumerable:!(n=a(t,i))||n.enumerable})}return e};var __toESM=(e,t,r)=>(r=e!=null?n(i(e)):{},__copyProps(t||!e||!e.__esModule?o(r,"default",{value:e,enumerable:true}):r,e));var __toCommonJS=e=>__copyProps(o({},"__esModule",{value:true}),e);var c={};__export(c,{AdditionalPropValidationError:()=>f.default,DefaultValidationError:()=>p.default,EnumValidationError:()=>h.default,RequiredValidationError:()=>u.default});e.exports=__toCommonJS(c);var u=__toESM(r(318));var f=__toESM(r(997));var h=__toESM(r(421));var p=__toESM(r(64));0&&0},318:(e,t,r)=>{var n=Object.create;var o=Object.defineProperty;var a=Object.defineProperties;var s=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyDescriptors;var l=Object.getOwnPropertyNames;var c=Object.getOwnPropertySymbols;var u=Object.getPrototypeOf;var f=Object.prototype.hasOwnProperty;var h=Object.prototype.propertyIsEnumerable;var __defNormalProp=(e,t,r)=>t in e?o(e,t,{enumerable:true,configurable:true,writable:true,value:r}):e[t]=r;var __spreadValues=(e,t)=>{for(var r in t||(t={}))if(f.call(t,r))__defNormalProp(e,r,t[r]);if(c)for(var r of c(t)){if(h.call(t,r))__defNormalProp(e,r,t[r])}return e};var __spreadProps=(e,t)=>a(e,i(t));var __export=(e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,n)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let a of l(t))if(!f.call(e,a)&&a!==r)o(e,a,{get:()=>t[a],enumerable:!(n=s(t,a))||n.enumerable})}return e};var __toESM=(e,t,r)=>(r=e!=null?n(u(e)):{},__copyProps(t||!e||!e.__esModule?o(r,"default",{value:e,enumerable:true}):r,e));var __toCommonJS=e=>__copyProps(o({},"__esModule",{value:true}),e);var p={};__export(p,{default:()=>RequiredValidationError});e.exports=__toCommonJS(p);var d=__toESM(r(584));var g=__toESM(r(272));class RequiredValidationError extends g.default{getLocation(e=this.instancePath){const{start:t}=super.getLocation(e);return{start:t}}print(){const{message:e,params:t}=this.options;const r=[d.default`{red {bold REQUIRED} ${e}}\n`];return r.concat(this.getCodeFrame(d.default`☹️ {magentaBright ${t.missingProperty}} is missing here!`))}getError(){const{message:e}=this.options;return __spreadProps(__spreadValues({},this.getLocation()),{error:`${this.getDecoratedPath()} ${e}`,path:this.instancePath})}}0&&0},673:(e,t,r)=>{"use strict";const n=r(434);const o=r(571);const a=r(332).stdout;const s=r(956);const i=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm");const l=["ansi","ansi","ansi256","ansi16m"];const c=new Set(["gray"]);const u=Object.create(null);function applyOptions(e,t){t=t||{};const r=a?a.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(i){o.blue.open=""}for(const e of Object.keys(o)){o[e].closeRe=new RegExp(n(o[e].close),"g");u[e]={get(){const t=o[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")}};o.color.closeRe=new RegExp(n(o.color.close),"g");for(const e of Object.keys(o.color.ansi)){if(c.has(e)){continue}u[e]={get(){const t=this.level;return function(){const r=o.color[l[t]][e].apply(null,arguments);const n={open:r,close:o.color.close,closeRe:o.color.closeRe};return build.call(this,this._styles?this._styles.concat(n):[n],this._empty,e)}}}}o.bgColor.closeRe=new RegExp(n(o.bgColor.close),"g");for(const e of Object.keys(o.bgColor.ansi)){if(c.has(e)){continue}const t="bg"+e[0].toUpperCase()+e.slice(1);u[t]={get(){const t=this.level;return function(){const r=o.bgColor[l[t]][e].apply(null,arguments);const n={open:r,close:o.bgColor.close,closeRe:o.bgColor.closeRe};return build.call(this,this._styles?this._styles.concat(n):[n],this._empty,e)}}}}const f=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__=f;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=o.dim.open;if(i&&this.hasGrey){o.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}`)}o.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 s(e,n.join(""))}Object.defineProperties(Chalk.prototype,u);e.exports=Chalk();e.exports.supportsColor=a;e.exports["default"]=e.exports},956: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 o=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi;const a=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 a.get(e)||e}function parseArguments(e,t){const r=[];const a=t.trim().split(/\s*,\s*/g);let s;for(const t of a){if(!isNaN(t)){r.push(Number(t))}else if(s=t.match(n)){r.push(s[2].replace(o,((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 o=[];let a=[];r.replace(t,((t,r,s,i,l,c)=>{if(r){a.push(unescape(r))}else if(i){const t=a.join("");a=[];o.push(n.length===0?t:buildStyle(e,n)(t));n.push({inverse:s,styles:parseStyle(i)})}else if(l){if(n.length===0){throw new Error("Found extraneous } in Chalk template literal")}o.push(buildStyle(e,n)(a.join("")));a=[];n.pop()}else{a.push(c)}}));o.push(a.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 o.join("")}},584:(e,t,r)=>{"use strict";const n=r(44);const{stdout:o,stderr:a}=r(242);const{stringReplaceAll:s,stringEncaseCRLFWithFirstIndex:i}=r(905);const{isArray:l}=Array;const c=["ansi","ansi","ansi256","ansi16m"];const u=Object.create(null);const applyOptions=(e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3)){throw new Error("The `level` option should be an integer from 0 to 3")}const r=o?o.level:0;e.level=t.level===undefined?r:t.level};class ChalkClass{constructor(e){return chalkFactory(e)}}const chalkFactory=e=>{const t={};applyOptions(t,e);t.template=(...e)=>chalkTag(t.template,...e);Object.setPrototypeOf(t,Chalk.prototype);Object.setPrototypeOf(t.template,t);t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")};t.template.Instance=ChalkClass;return t.template};function Chalk(e){return chalkFactory(e)}for(const[e,t]of Object.entries(n)){u[e]={get(){const r=createBuilder(this,createStyler(t.open,t.close,this._styler),this._isEmpty);Object.defineProperty(this,e,{value:r});return r}}}u.visible={get(){const e=createBuilder(this,this._styler,true);Object.defineProperty(this,"visible",{value:e});return e}};const f=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const e of f){u[e]={get(){const{level:t}=this;return function(...r){const o=createStyler(n.color[c[t]][e](...r),n.color.close,this._sty