@modern-js/utils 2.60.6-alpha.0 → 2.61.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. package/package.json +5 -5
  2. package/dist/compiled/ajv/codegen.js +0 -1
  3. package/dist/compiled/ajv/index.js +0 -9
  4. package/dist/compiled/ajv/license +0 -22
  5. package/dist/compiled/ajv/package.json +0 -1
  6. package/dist/compiled/ajv/types/ajv.d.ts +0 -16
  7. package/dist/compiled/ajv/types/compile/codegen/code.d.ts +0 -40
  8. package/dist/compiled/ajv/types/compile/codegen/index.d.ts +0 -79
  9. package/dist/compiled/ajv/types/compile/codegen/scope.d.ts +0 -79
  10. package/dist/compiled/ajv/types/compile/errors.d.ts +0 -13
  11. package/dist/compiled/ajv/types/compile/index.d.ts +0 -80
  12. package/dist/compiled/ajv/types/compile/ref_error.d.ts +0 -6
  13. package/dist/compiled/ajv/types/compile/resolve.d.ts +0 -12
  14. package/dist/compiled/ajv/types/compile/rules.d.ts +0 -28
  15. package/dist/compiled/ajv/types/compile/util.d.ts +0 -40
  16. package/dist/compiled/ajv/types/compile/validate/index.d.ts +0 -42
  17. package/dist/compiled/ajv/types/compile/validate/subschema.d.ts +0 -47
  18. package/dist/compiled/ajv/types/core.d.ts +0 -173
  19. package/dist/compiled/ajv/types/runtime/validation_error.d.ts +0 -7
  20. package/dist/compiled/ajv/types/types/index.d.ts +0 -183
  21. package/dist/compiled/ajv/types/types/json-schema.d.ts +0 -124
  22. package/dist/compiled/ajv/types/types/jtd-schema.d.ts +0 -169
  23. package/dist/compiled/ajv/types/vocabularies/errors.d.ts +0 -1
  24. package/dist/compiled/ajv/uri-js.d.ts +0 -59
  25. package/dist/compiled/ajv-keywords/index.d.ts +0 -1
  26. package/dist/compiled/ajv-keywords/index.js +0 -1
  27. package/dist/compiled/ajv-keywords/license +0 -21
  28. package/dist/compiled/ajv-keywords/package.json +0 -1
  29. package/dist/compiled/better-ajv-errors/index.d.ts +0 -1
  30. package/dist/compiled/better-ajv-errors/index.js +0 -1
  31. package/dist/compiled/better-ajv-errors/license +0 -13
  32. package/dist/compiled/better-ajv-errors/package.json +0 -1
  33. package/dist/compiled/recursive-readdir/index.d.ts +0 -21
  34. package/dist/compiled/recursive-readdir/index.js +0 -1
  35. package/dist/compiled/recursive-readdir/license +0 -21
  36. package/dist/compiled/recursive-readdir/package.json +0 -1
  37. package/dist/compiled/schema-utils3/index.d.ts +0 -1
  38. package/dist/compiled/schema-utils3/index.js +0 -3
  39. package/dist/compiled/schema-utils3/license +0 -20
  40. package/dist/compiled/schema-utils3/package.json +0 -1
  41. package/dist/compiled/webpack-dev-middleware/index.js +0 -7
  42. package/dist/compiled/webpack-dev-middleware/license +0 -20
  43. package/dist/compiled/webpack-dev-middleware/package.json +0 -1
  44. package/dist/compiled/webpack-dev-middleware/types/index.d.ts +0 -262
@@ -1 +0,0 @@
1
- (()=>{var e={39:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t["default"]=_default;var n=r(505);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)}},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._styler);return createBuilder(this,o,this._isEmpty)}}}}for(const e of f){const t="bg"+e[0].toUpperCase()+e.slice(1);u[t]={get(){const{level:t}=this;return function(...r){const o=createStyler(n.bgColor[c[t]][e](...r),n.bgColor.close,this._styler);return createBuilder(this,o,this._isEmpty)}}}}const h=Object.defineProperties((()=>{}),{...u,level:{enumerable:true,get(){return this._generator.level},set(e){this._generator.level=e}}});const createStyler=(e,t,r)=>{let n;let o;if(r===undefined){n=e;o=t}else{n=r.openAll+e;o=t+r.closeAll}return{open:e,close:t,openAll:n,closeAll:o,parent:r}};const createBuilder=(e,t,r)=>{const builder=(...e)=>{if(l(e[0])&&l(e[0].raw)){return applyStyle(builder,chalkTag(builder,...e))}return applyStyle(builder,e.length===1?""+e[0]:e.join(" "))};Object.setPrototypeOf(builder,h);builder._generator=e;builder._styler=t;builder._isEmpty=r;return builder};const applyStyle=(e,t)=>{if(e.level<=0||!t){return e._isEmpty?"":t}let r=e._styler;if(r===undefined){return t}const{openAll:n,closeAll:o}=r;if(t.indexOf("")!==-1){while(r!==undefined){t=s(t,r.close,r.open);r=r.parent}}const a=t.indexOf("\n");if(a!==-1){t=i(t,o,n,a)}return n+t+o};let p;const chalkTag=(e,...t)=>{const[n]=t;if(!l(n)||!l(n.raw)){return t.join(" ")}const o=t.slice(1);const a=[n.raw[0]];for(let e=1;e<n.length;e++){a.push(String(o[e-1]).replace(/[{}\\]/g,"\\$&"),String(n.raw[e]))}if(p===undefined){p=r(654)}return p(e,a.join(""))};Object.defineProperties(Chalk.prototype,u);const d=Chalk();d.supportsColor=o;d.stderr=Chalk({level:a?a.level:0});d.stderr.supportsColor=a;e.exports=d},654:e=>{"use strict";const t=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;const r=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;const n=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;const o=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|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){const t=e[0]==="u";const r=e[1]==="{";if(t&&!r&&e.length===5||e[0]==="x"&&e.length===3){return String.fromCharCode(parseInt(e.slice(1),16))}if(t&&r){return String.fromCodePoint(parseInt(e.slice(2,-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){const a=Number(t);if(!Number.isNaN(a)){r.push(a)}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,t]of Object.entries(r)){if(!Array.isArray(t)){continue}if(!(e in n)){throw new Error(`Unknown Chalk style: ${e}`)}n=t.length>0?n[e](...t):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("")}},905:e=>{"use strict";const stringReplaceAll=(e,t,r)=>{let n=e.indexOf(t);if(n===-1){return e}const o=t.length;let a=0;let s="";do{s+=e.substr(a,n-a)+t+r;a=n+o;n=e.indexOf(t,a)}while(n!==-1);s+=e.substr(a);return s};const stringEncaseCRLFWithFirstIndex=(e,t,r,n)=>{let o=0;let a="";do{const s=e[n-1]==="\r";a+=e.substr(o,(s?n-1:n)-o)+t+(s?"\r\n":"\n")+r;o=n+1;n=e.indexOf("\n",o)}while(n!==-1);a+=e.substr(o);return a};e.exports={stringReplaceAll:stringReplaceAll,stringEncaseCRLFWithFirstIndex:stringEncaseCRLFWithFirstIndex}},461:(e,t,r)=>{var n=r(391);var o={};for(var a in n){if(n.hasOwnProperty(a)){o[n[a]]=a}}var s=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 i in s){if(s.hasOwnProperty(i)){if(!("channels"in s[i])){throw new Error("missing channels property: "+i)}if(!("labels"in s[i])){throw new Error("missing channel labels property: "+i)}if(s[i].labels.length!==s[i].channels){throw new Error("channel and label counts mismatch: "+i)}var l=s[i].channels;var c=s[i].labels;delete s[i].channels;delete s[i].labels;Object.defineProperty(s[i],"channels",{value:l});Object.defineProperty(s[i],"labels",{value:c})}}s.rgb.hsl=function(e){var t=e[0]/255;var r=e[1]/255;var n=e[2]/255;var o=Math.min(t,r,n);var a=Math.max(t,r,n);var s=a-o;var i;var l;var c;if(a===o){i=0}else if(t===a){i=(r-n)/s}else if(r===a){i=2+(n-t)/s}else if(n===a){i=4+(t-r)/s}i=Math.min(i*60,360);if(i<0){i+=360}c=(o+a)/2;if(a===o){l=0}else if(c<=.5){l=s/(a+o)}else{l=s/(2-a-o)}return[i,l*100,c*100]};s.rgb.hsv=function(e){var t;var r;var n;var o;var a;var s=e[0]/255;var i=e[1]/255;var l=e[2]/255;var c=Math.max(s,i,l);var u=c-Math.min(s,i,l);var diffc=function(e){return(c-e)/6/u+1/2};if(u===0){o=a=0}else{a=u/c;t=diffc(s);r=diffc(i);n=diffc(l);if(s===c){o=n-r}else if(i===c){o=1/3+t-n}else if(l===c){o=2/3+r-t}if(o<0){o+=1}else if(o>1){o-=1}}return[o*360,a*100,c*100]};s.rgb.hwb=function(e){var t=e[0];var r=e[1];var n=e[2];var o=s.rgb.hsl(e)[0];var a=1/255*Math.min(t,Math.min(r,n));n=1-1/255*Math.max(t,Math.max(r,n));return[o,a*100,n*100]};s.rgb.cmyk=function(e){var t=e[0]/255;var r=e[1]/255;var n=e[2]/255;var o;var a;var s;var i;i=Math.min(1-t,1-r,1-n);o=(1-t-i)/(1-i)||0;a=(1-r-i)/(1-i)||0;s=(1-n-i)/(1-i)||0;return[o*100,a*100,s*100,i*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)}s.rgb.keyword=function(e){var t=o[e];if(t){return t}var r=Infinity;var a;for(var s in n){if(n.hasOwnProperty(s)){var i=n[s];var l=comparativeDistance(e,i);if(l<r){r=l;a=s}}}return a};s.keyword.rgb=function(e){return n[e]};s.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 o=t*.4124+r*.3576+n*.1805;var a=t*.2126+r*.7152+n*.0722;var s=t*.0193+r*.1192+n*.9505;return[o*100,a*100,s*100]};s.rgb.lab=function(e){var t=s.rgb.xyz(e);var r=t[0];var n=t[1];var o=t[2];var a;var i;var l;r/=95.047;n/=100;o/=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;o=o>.008856?Math.pow(o,1/3):7.787*o+16/116;a=116*n-16;i=500*(r-n);l=200*(n-o);return[a,i,l]};s.hsl.rgb=function(e){var t=e[0]/360;var r=e[1]/100;var n=e[2]/100;var o;var a;var s;var i;var l;if(r===0){l=n*255;return[l,l,l]}if(n<.5){a=n*(1+r)}else{a=n+r-n*r}o=2*n-a;i=[0,0,0];for(var c=0;c<3;c++){s=t+1/3*-(c-1);if(s<0){s++}if(s>1){s--}if(6*s<1){l=o+(a-o)*6*s}else if(2*s<1){l=a}else if(3*s<2){l=o+(a-o)*(2/3-s)*6}else{l=o}i[c]=l*255}return i};s.hsl.hsv=function(e){var t=e[0];var r=e[1]/100;var n=e[2]/100;var o=r;var a=Math.max(n,.01);var s;var i;n*=2;r*=n<=1?n:2-n;o*=a<=1?a:2-a;i=(n+r)/2;s=n===0?2*o/(a+o):2*r/(n+r);return[t,s*100,i*100]};s.hsv.rgb=function(e){var t=e[0]/60;var r=e[1]/100;var n=e[2]/100;var o=Math.floor(t)%6;var a=t-Math.floor(t);var s=255*n*(1-r);var i=255*n*(1-r*a);var l=255*n*(1-r*(1-a));n*=255;switch(o){case 0:return[n,l,s];case 1:return[i,n,s];case 2:return[s,n,l];case 3:return[s,i,n];case 4:return[l,s,n];case 5:return[n,s,i]}};s.hsv.hsl=function(e){var t=e[0];var r=e[1]/100;var n=e[2]/100;var o=Math.max(n,.01);var a;var s;var i;i=(2-r)*n;a=(2-r)*o;s=r*o;s/=a<=1?a:2-a;s=s||0;i/=2;return[t,s*100,i*100]};s.hwb.rgb=function(e){var t=e[0]/360;var r=e[1]/100;var n=e[2]/100;var o=r+n;var a;var s;var i;var l;if(o>1){r/=o;n/=o}a=Math.floor(6*t);s=1-n;i=6*t-a;if((a&1)!==0){i=1-i}l=r+i*(s-r);var c;var u;var f;switch(a){default:case 6:case 0:c=s;u=l;f=r;break;case 1:c=l;u=s;f=r;break;case 2:c=r;u=s;f=l;break;case 3:c=r;u=l;f=s;break;case 4:c=l;u=r;f=s;break;case 5:c=s;u=r;f=l;break}return[c*255,u*255,f*255]};s.cmyk.rgb=function(e){var t=e[0]/100;var r=e[1]/100;var n=e[2]/100;var o=e[3]/100;var a;var s;var i;a=1-Math.min(1,t*(1-o)+o);s=1-Math.min(1,r*(1-o)+o);i=1-Math.min(1,n*(1-o)+o);return[a*255,s*255,i*255]};s.xyz.rgb=function(e){var t=e[0]/100;var r=e[1]/100;var n=e[2]/100;var o;var a;var s;o=t*3.2406+r*-1.5372+n*-.4986;a=t*-.9689+r*1.8758+n*.0415;s=t*.0557+r*-.204+n*1.057;o=o>.0031308?1.055*Math.pow(o,1/2.4)-.055:o*12.92;a=a>.0031308?1.055*Math.pow(a,1/2.4)-.055:a*12.92;s=s>.0031308?1.055*Math.pow(s,1/2.4)-.055:s*12.92;o=Math.min(Math.max(0,o),1);a=Math.min(Math.max(0,a),1);s=Math.min(Math.max(0,s),1);return[o*255,a*255,s*255]};s.xyz.lab=function(e){var t=e[0];var r=e[1];var n=e[2];var o;var a;var s;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;o=116*r-16;a=500*(t-r);s=200*(r-n);return[o,a,s]};s.lab.xyz=function(e){var t=e[0];var r=e[1];var n=e[2];var o;var a;var s;a=(t+16)/116;o=r/500+a;s=a-n/200;var i=Math.pow(a,3);var l=Math.pow(o,3);var c=Math.pow(s,3);a=i>.008856?i:(a-16/116)/7.787;o=l>.008856?l:(o-16/116)/7.787;s=c>.008856?c:(s-16/116)/7.787;o*=95.047;a*=100;s*=108.883;return[o,a,s]};s.lab.lch=function(e){var t=e[0];var r=e[1];var n=e[2];var o;var a;var s;o=Math.atan2(n,r);a=o*360/2/Math.PI;if(a<0){a+=360}s=Math.sqrt(r*r+n*n);return[t,s,a]};s.lch.lab=function(e){var t=e[0];var r=e[1];var n=e[2];var o;var a;var s;s=n/360*2*Math.PI;o=r*Math.cos(s);a=r*Math.sin(s);return[t,o,a]};s.rgb.ansi16=function(e){var t=e[0];var r=e[1];var n=e[2];var o=1 in arguments?arguments[1]:s.rgb.hsv(e)[2];o=Math.round(o/50);if(o===0){return 30}var a=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(t/255));if(o===2){a+=60}return a};s.hsv.ansi16=function(e){return s.rgb.ansi16(s.hsv.rgb(e),e[2])};s.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 o=16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5);return o};s.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 o=(t>>1&1)*r*255;var a=(t>>2&1)*r*255;return[n,o,a]};s.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 o=Math.floor((r=e%36)/6)/5*255;var a=r%6/5*255;return[n,o,a]};s.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};s.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 o=n>>16&255;var a=n>>8&255;var s=n&255;return[o,a,s]};s.rgb.hcg=function(e){var t=e[0]/255;var r=e[1]/255;var n=e[2]/255;var o=Math.max(Math.max(t,r),n);var a=Math.min(Math.min(t,r),n);var s=o-a;var i;var l;if(s<1){i=a/(1-s)}else{i=0}if(s<=0){l=0}else if(o===t){l=(r-n)/s%6}else if(o===r){l=2+(n-t)/s}else{l=4+(t-r)/s+4}l/=6;l%=1;return[l*360,s*100,i*100]};s.hsl.hcg=function(e){var t=e[1]/100;var r=e[2]/100;var n=1;var o=0;if(r<.5){n=2*t*r}else{n=2*t*(1-r)}if(n<1){o=(r-.5*n)/(1-n)}return[e[0],n*100,o*100]};s.hsv.hcg=function(e){var t=e[1]/100;var r=e[2]/100;var n=t*r;var o=0;if(n<1){o=(r-n)/(1-n)}return[e[0],n*100,o*100]};s.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 o=[0,0,0];var a=t%1*6;var s=a%1;var i=1-s;var l=0;switch(Math.floor(a)){case 0:o[0]=1;o[1]=s;o[2]=0;break;case 1:o[0]=i;o[1]=1;o[2]=0;break;case 2:o[0]=0;o[1]=1;o[2]=s;break;case 3:o[0]=0;o[1]=i;o[2]=1;break;case 4:o[0]=s;o[1]=0;o[2]=1;break;default:o[0]=1;o[1]=0;o[2]=i}l=(1-r)*n;return[(r*o[0]+l)*255,(r*o[1]+l)*255,(r*o[2]+l)*255]};s.hcg.hsv=function(e){var t=e[1]/100;var r=e[2]/100;var n=t+r*(1-t);var o=0;if(n>0){o=t/n}return[e[0],o*100,n*100]};s.hcg.hsl=function(e){var t=e[1]/100;var r=e[2]/100;var n=r*(1-t)+.5*t;var o=0;if(n>0&&n<.5){o=t/(2*n)}else if(n>=.5&&n<1){o=t/(2*(1-n))}return[e[0],o*100,n*100]};s.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]};s.hwb.hcg=function(e){var t=e[1]/100;var r=e[2]/100;var n=1-r;var o=n-t;var a=0;if(o<1){a=(n-o)/(1-o)}return[e[0],o*100,a*100]};s.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};s.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};s.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};s.gray.hsl=s.gray.hsv=function(e){return[0,0,e[0]]};s.gray.hwb=function(e){return[0,100,e[0]]};s.gray.cmyk=function(e){return[0,0,0,e[0]]};s.gray.lab=function(e){return[e[0],0,0]};s.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};s.rgb.gray=function(e){var t=(e[0]+e[1]+e[2])/3;return[t/255*100]}},755:(e,t,r)=>{var n=r(461);var o=r(974);var a={};var s=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,o=0;o<n;o++){r[o]=Math.round(r[o])}}return r};if("conversion"in e){wrappedFn.conversion=e.conversion}return wrappedFn}s.forEach((function(e){a[e]={};Object.defineProperty(a[e],"channels",{value:n[e].channels});Object.defineProperty(a[e],"labels",{value:n[e].labels});var t=o(e);var r=Object.keys(t);r.forEach((function(r){var n=t[r];a[e][r]=wrapRounded(n);a[e][r].raw=wrapRaw(n)}))}));e.exports=a},974:(e,t,r)=>{var n=r(461);function buildGraph(){var e={};var t=Object.keys(n);for(var r=t.length,o=0;o<r;o++){e[t[o]]={distance:-1,parent:null}}return e}function deriveBFS(e){var t=buildGraph();var r=[e];t[e].distance=0;while(r.length){var o=r.pop();var a=Object.keys(n[o]);for(var s=a.length,i=0;i<s;i++){var l=a[i];var c=t[l];if(c.distance===-1){c.distance=t[o].distance+1;c.parent=o;r.unshift(l)}}}return t}function link(e,t){return function(r){return t(e(r))}}function wrapConversion(e,t){var r=[t[e].parent,e];var o=n[t[e].parent][e];var a=t[e].parent;while(t[a].parent){r.unshift(t[a].parent);o=link(n[t[a].parent][a],o);a=t[a].parent}o.conversion=r;return o}e.exports=function(e){var t=deriveBFS(e);var r={};var n=Object.keys(t);for(var o=n.length,a=0;a<o;a++){var s=n[a];var i=t[s];if(i.parent===null){continue}r[s]=wrapConversion(s,t)}return r}},226:(e,t,r)=>{const n=r(866);const o={};for(const e of Object.keys(n)){o[n[e]]=e}const a={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"]}};e.exports=a;for(const e of Object.keys(a)){if(!("channels"in a[e])){throw new Error("missing channels property: "+e)}if(!("labels"in a[e])){throw new Error("missing channel labels property: "+e)}if(a[e].labels.length!==a[e].channels){throw new Error("channel and label counts mismatch: "+e)}const{channels:t,labels:r}=a[e];delete a[e].channels;delete a[e].labels;Object.defineProperty(a[e],"channels",{value:t});Object.defineProperty(a[e],"labels",{value:r})}a.rgb.hsl=function(e){const t=e[0]/255;const r=e[1]/255;const n=e[2]/255;const o=Math.min(t,r,n);const a=Math.max(t,r,n);const s=a-o;let i;let l;if(a===o){i=0}else if(t===a){i=(r-n)/s}else if(r===a){i=2+(n-t)/s}else if(n===a){i=4+(t-r)/s}i=Math.min(i*60,360);if(i<0){i+=360}const c=(o+a)/2;if(a===o){l=0}else if(c<=.5){l=s/(a+o)}else{l=s/(2-a-o)}return[i,l*100,c*100]};a.rgb.hsv=function(e){let t;let r;let n;let o;let a;const s=e[0]/255;const i=e[1]/255;const l=e[2]/255;const c=Math.max(s,i,l);const u=c-Math.min(s,i,l);const diffc=function(e){return(c-e)/6/u+1/2};if(u===0){o=0;a=0}else{a=u/c;t=diffc(s);r=diffc(i);n=diffc(l);if(s===c){o=n-r}else if(i===c){o=1/3+t-n}else if(l===c){o=2/3+r-t}if(o<0){o+=1}else if(o>1){o-=1}}return[o*360,a*100,c*100]};a.rgb.hwb=function(e){const t=e[0];const r=e[1];let n=e[2];const o=a.rgb.hsl(e)[0];const s=1/255*Math.min(t,Math.min(r,n));n=1-1/255*Math.max(t,Math.max(r,n));return[o,s*100,n*100]};a.rgb.cmyk=function(e){const t=e[0]/255;const r=e[1]/255;const n=e[2]/255;const o=Math.min(1-t,1-r,1-n);const a=(1-t-o)/(1-o)||0;const s=(1-r-o)/(1-o)||0;const i=(1-n-o)/(1-o)||0;return[a*100,s*100,i*100,o*100]};function comparativeDistance(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}a.rgb.keyword=function(e){const t=o[e];if(t){return t}let r=Infinity;let a;for(const t of Object.keys(n)){const o=n[t];const s=comparativeDistance(e,o);if(s<r){r=s;a=t}}return a};a.keyword.rgb=function(e){return n[e]};a.rgb.xyz=function(e){let t=e[0]/255;let r=e[1]/255;let n=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92;r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;const o=t*.4124+r*.3576+n*.1805;const a=t*.2126+r*.7152+n*.0722;const s=t*.0193+r*.1192+n*.9505;return[o*100,a*100,s*100]};a.rgb.lab=function(e){const t=a.rgb.xyz(e);let r=t[0];let n=t[1];let o=t[2];r/=95.047;n/=100;o/=108.883;r=r>.008856?r**(1/3):7.787*r+16/116;n=n>.008856?n**(1/3):7.787*n+16/116;o=o>.008856?o**(1/3):7.787*o+16/116;const s=116*n-16;const i=500*(r-n);const l=200*(n-o);return[s,i,l]};a.hsl.rgb=function(e){const t=e[0]/360;const r=e[1]/100;const n=e[2]/100;let o;let a;let s;if(r===0){s=n*255;return[s,s,s]}if(n<.5){o=n*(1+r)}else{o=n+r-n*r}const i=2*n-o;const l=[0,0,0];for(let e=0;e<3;e++){a=t+1/3*-(e-1);if(a<0){a++}if(a>1){a--}if(6*a<1){s=i+(o-i)*6*a}else if(2*a<1){s=o}else if(3*a<2){s=i+(o-i)*(2/3-a)*6}else{s=i}l[e]=s*255}return l};a.hsl.hsv=function(e){const t=e[0];let r=e[1]/100;let n=e[2]/100;let o=r;const a=Math.max(n,.01);n*=2;r*=n<=1?n:2-n;o*=a<=1?a:2-a;const s=(n+r)/2;const i=n===0?2*o/(a+o):2*r/(n+r);return[t,i*100,s*100]};a.hsv.rgb=function(e){const t=e[0]/60;const r=e[1]/100;let n=e[2]/100;const o=Math.floor(t)%6;const a=t-Math.floor(t);const s=255*n*(1-r);const i=255*n*(1-r*a);const l=255*n*(1-r*(1-a));n*=255;switch(o){case 0:return[n,l,s];case 1:return[i,n,s];case 2:return[s,n,l];case 3:return[s,i,n];case 4:return[l,s,n];case 5:return[n,s,i]}};a.hsv.hsl=function(e){const t=e[0];const r=e[1]/100;const n=e[2]/100;const o=Math.max(n,.01);let a;let s;s=(2-r)*n;const i=(2-r)*o;a=r*o;a/=i<=1?i:2-i;a=a||0;s/=2;return[t,a*100,s*100]};a.hwb.rgb=function(e){const t=e[0]/360;let r=e[1]/100;let n=e[2]/100;const o=r+n;let a;if(o>1){r/=o;n/=o}const s=Math.floor(6*t);const i=1-n;a=6*t-s;if((s&1)!==0){a=1-a}const l=r+a*(i-r);let c;let u;let f;switch(s){default:case 6:case 0:c=i;u=l;f=r;break;case 1:c=l;u=i;f=r;break;case 2:c=r;u=i;f=l;break;case 3:c=r;u=l;f=i;break;case 4:c=l;u=r;f=i;break;case 5:c=i;u=r;f=l;break}return[c*255,u*255,f*255]};a.cmyk.rgb=function(e){const t=e[0]/100;const r=e[1]/100;const n=e[2]/100;const o=e[3]/100;const a=1-Math.min(1,t*(1-o)+o);const s=1-Math.min(1,r*(1-o)+o);const i=1-Math.min(1,n*(1-o)+o);return[a*255,s*255,i*255]};a.xyz.rgb=function(e){const t=e[0]/100;const r=e[1]/100;const n=e[2]/100;let o;let a;let s;o=t*3.2406+r*-1.5372+n*-.4986;a=t*-.9689+r*1.8758+n*.0415;s=t*.0557+r*-.204+n*1.057;o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92;a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92;s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92;o=Math.min(Math.max(0,o),1);a=Math.min(Math.max(0,a),1);s=Math.min(Math.max(0,s),1);return[o*255,a*255,s*255]};a.xyz.lab=function(e){let t=e[0];let r=e[1];let n=e[2];t/=95.047;r/=100;n/=108.883;t=t>.008856?t**(1/3):7.787*t+16/116;r=r>.008856?r**(1/3):7.787*r+16/116;n=n>.008856?n**(1/3):7.787*n+16/116;const o=116*r-16;const a=500*(t-r);const s=200*(r-n);return[o,a,s]};a.lab.xyz=function(e){const t=e[0];const r=e[1];const n=e[2];let o;let a;let s;a=(t+16)/116;o=r/500+a;s=a-n/200;const i=a**3;const l=o**3;const c=s**3;a=i>.008856?i:(a-16/116)/7.787;o=l>.008856?l:(o-16/116)/7.787;s=c>.008856?c:(s-16/116)/7.787;o*=95.047;a*=100;s*=108.883;return[o,a,s]};a.lab.lch=function(e){const t=e[0];const r=e[1];const n=e[2];let o;const a=Math.atan2(n,r);o=a*360/2/Math.PI;if(o<0){o+=360}const s=Math.sqrt(r*r+n*n);return[t,s,o]};a.lch.lab=function(e){const t=e[0];const r=e[1];const n=e[2];const o=n/360*2*Math.PI;const a=r*Math.cos(o);const s=r*Math.sin(o);return[t,a,s]};a.rgb.ansi16=function(e,t=null){const[r,n,o]=e;let s=t===null?a.rgb.hsv(e)[2]:t;s=Math.round(s/50);if(s===0){return 30}let i=30+(Math.round(o/255)<<2|Math.round(n/255)<<1|Math.round(r/255));if(s===2){i+=60}return i};a.hsv.ansi16=function(e){return a.rgb.ansi16(a.hsv.rgb(e),e[2])};a.rgb.ansi256=function(e){const t=e[0];const r=e[1];const 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}const o=16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5);return o};a.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7){if(e>50){t+=3.5}t=t/10.5*255;return[t,t,t]}const r=(~~(e>50)+1)*.5;const n=(t&1)*r*255;const o=(t>>1&1)*r*255;const a=(t>>2&1)*r*255;return[n,o,a]};a.ansi256.rgb=function(e){if(e>=232){const t=(e-232)*10+8;return[t,t,t]}e-=16;let t;const r=Math.floor(e/36)/5*255;const n=Math.floor((t=e%36)/6)/5*255;const o=t%6/5*255;return[r,n,o]};a.rgb.hex=function(e){const t=((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255);const r=t.toString(16).toUpperCase();return"000000".substring(r.length)+r};a.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t){return[0,0,0]}let r=t[0];if(t[0].length===3){r=r.split("").map((e=>e+e)).join("")}const n=parseInt(r,16);const o=n>>16&255;const a=n>>8&255;const s=n&255;return[o,a,s]};a.rgb.hcg=function(e){const t=e[0]/255;const r=e[1]/255;const n=e[2]/255;const o=Math.max(Math.max(t,r),n);const a=Math.min(Math.min(t,r),n);const s=o-a;let i;let l;if(s<1){i=a/(1-s)}else{i=0}if(s<=0){l=0}else if(o===t){l=(r-n)/s%6}else if(o===r){l=2+(n-t)/s}else{l=4+(t-r)/s}l/=6;l%=1;return[l*360,s*100,i*100]};a.hsl.hcg=function(e){const t=e[1]/100;const r=e[2]/100;const n=r<.5?2*t*r:2*t*(1-r);let o=0;if(n<1){o=(r-.5*n)/(1-n)}return[e[0],n*100,o*100]};a.hsv.hcg=function(e){const t=e[1]/100;const r=e[2]/100;const n=t*r;let o=0;if(n<1){o=(r-n)/(1-n)}return[e[0],n*100,o*100]};a.hcg.rgb=function(e){const t=e[0]/360;const r=e[1]/100;const n=e[2]/100;if(r===0){return[n*255,n*255,n*255]}const o=[0,0,0];const a=t%1*6;const s=a%1;const i=1-s;let l=0;switch(Math.floor(a)){case 0:o[0]=1;o[1]=s;o[2]=0;break;case 1:o[0]=i;o[1]=1;o[2]=0;break;case 2:o[0]=0;o[1]=1;o[2]=s;break;case 3:o[0]=0;o[1]=i;o[2]=1;break;case 4:o[0]=s;o[1]=0;o[2]=1;break;default:o[0]=1;o[1]=0;o[2]=i}l=(1-r)*n;return[(r*o[0]+l)*255,(r*o[1]+l)*255,(r*o[2]+l)*255]};a.hcg.hsv=function(e){const t=e[1]/100;const r=e[2]/100;const n=t+r*(1-t);let o=0;if(n>0){o=t/n}return[e[0],o*100,n*100]};a.hcg.hsl=function(e){const t=e[1]/100;const r=e[2]/100;const n=r*(1-t)+.5*t;let o=0;if(n>0&&n<.5){o=t/(2*n)}else if(n>=.5&&n<1){o=t/(2*(1-n))}return[e[0],o*100,n*100]};a.hcg.hwb=function(e){const t=e[1]/100;const r=e[2]/100;const n=t+r*(1-t);return[e[0],(n-t)*100,(1-n)*100]};a.hwb.hcg=function(e){const t=e[1]/100;const r=e[2]/100;const n=1-r;const o=n-t;let a=0;if(o<1){a=(n-o)/(1-o)}return[e[0],o*100,a*100]};a.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};a.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};a.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};a.gray.hsl=function(e){return[0,0,e[0]]};a.gray.hsv=a.gray.hsl;a.gray.hwb=function(e){return[0,100,e[0]]};a.gray.cmyk=function(e){return[0,0,0,e[0]]};a.gray.lab=function(e){return[e[0],0,0]};a.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255;const r=(t<<16)+(t<<8)+t;const n=r.toString(16).toUpperCase();return"000000".substring(n.length)+n};a.rgb.gray=function(e){const t=(e[0]+e[1]+e[2])/3;return[t/255*100]}},767:(e,t,r)=>{const n=r(226);const o=r(392);const a={};const s=Object.keys(n);function wrapRaw(e){const wrappedFn=function(...t){const r=t[0];if(r===undefined||r===null){return r}if(r.length>1){t=r}return e(t)};if("conversion"in e){wrappedFn.conversion=e.conversion}return wrappedFn}function wrapRounded(e){const wrappedFn=function(...t){const r=t[0];if(r===undefined||r===null){return r}if(r.length>1){t=r}const n=e(t);if(typeof n==="object"){for(let e=n.length,t=0;t<e;t++){n[t]=Math.round(n[t])}}return n};if("conversion"in e){wrappedFn.conversion=e.conversion}return wrappedFn}s.forEach((e=>{a[e]={};Object.defineProperty(a[e],"channels",{value:n[e].channels});Object.defineProperty(a[e],"labels",{value:n[e].labels});const t=o(e);const r=Object.keys(t);r.forEach((r=>{const n=t[r];a[e][r]=wrapRounded(n);a[e][r].raw=wrapRaw(n)}))}));e.exports=a},392:(e,t,r)=>{const n=r(226);function buildGraph(){const e={};const t=Object.keys(n);for(let r=t.length,n=0;n<r;n++){e[t[n]]={distance:-1,parent:null}}return e}function deriveBFS(e){const t=buildGraph();const r=[e];t[e].distance=0;while(r.length){const e=r.pop();const o=Object.keys(n[e]);for(let n=o.length,a=0;a<n;a++){const n=o[a];const s=t[n];if(s.distance===-1){s.distance=t[e].distance+1;s.parent=e;r.unshift(n)}}}return t}function link(e,t){return function(r){return t(e(r))}}function wrapConversion(e,t){const r=[t[e].parent,e];let o=n[t[e].parent][e];let a=t[e].parent;while(t[a].parent){r.unshift(t[a].parent);o=link(n[t[a].parent][a],o);a=t[a].parent}o.conversion=r;return o}e.exports=function(e){const t=deriveBFS(e);const r={};const n=Object.keys(t);for(let e=n.length,o=0;o<e;o++){const e=n[o];const a=t[e];if(a.parent===null){continue}r[e]=wrapConversion(e,t)}return r}},391: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]}},866: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]}},434:e=>{"use strict";var t=/[|\\{}()[\]^$+*?.]/g;e.exports=function(e){if(typeof e!=="string"){throw new TypeError("Expected a string")}return e.replace(t,"\\$&")}},419: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 o=t.indexOf("--");return n!==-1&&(o===-1?true:n<o)}},975:e=>{"use strict";e.exports=(e,t=process.argv)=>{const r=e.startsWith("-")?"":e.length===1?"-":"--";const n=t.indexOf(r+e);const o=t.indexOf("--");return n!==-1&&(o===-1||n<o)}},629:(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}},472:(e,t)=>{var r=/~/;var n=/~[01]/g;function escapeReplacer(e){switch(e){case"~1":return"/";case"~0":return"~"}throw new Error("Invalid tilde escape: "+e)}function untilde(e){if(!r.test(e))return e;return e.replace(n,escapeReplacer)}function setter(e,t,r){var n;var o;for(var a=1,s=t.length;a<s;){if(t[a]==="constructor"||t[a]==="prototype"||t[a]==="__proto__")return e;n=untilde(t[a++]);o=s>a;if(typeof e[n]==="undefined"){if(Array.isArray(e)&&n==="-"){n=e.length}if(o){if(t[a]!==""&&t[a]<Infinity||t[a]==="-")e[n]=[];else e[n]={}}}if(!o)break;e=e[n]}var i=e[n];if(r===undefined)delete e[n];else e[n]=r;return i}function compilePointer(e){if(typeof e==="string"){e=e.split("/");if(e[0]==="")return e;throw new Error("Invalid JSON pointer.")}else if(Array.isArray(e)){for(const t of e){if(typeof t!=="string"&&typeof t!=="number"){throw new Error("Invalid JSON pointer. Must be of type string or number.")}}return e}throw new Error("Invalid JSON pointer.")}function get(e,t){if(typeof e!=="object")throw new Error("Invalid input object.");t=compilePointer(t);var r=t.length;if(r===1)return e;for(var n=1;n<r;){e=e[untilde(t[n++])];if(r===n)return e;if(typeof e!=="object")return undefined}}function set(e,t,r){if(typeof e!=="object")throw new Error("Invalid input object.");t=compilePointer(t);if(t.length===0)throw new Error("Invalid JSON pointer for set.");return setter(e,t,r)}function compile(e){var t=compilePointer(e);return{get:function(e){return get(e,t)},set:function(e,r){return set(e,t,r)}}}t.get=get;t.set=set;t.compile=compile},954:e=>{"use strict";const t=[];const r=[];const leven=(e,n)=>{if(e===n){return 0}const o=e;if(e.length>n.length){e=n;n=o}let a=e.length;let s=n.length;while(a>0&&e.charCodeAt(~-a)===n.charCodeAt(~-s)){a--;s--}let i=0;while(i<a&&e.charCodeAt(i)===n.charCodeAt(i)){i++}a-=i;s-=i;if(a===0){return s}let l;let c;let u;let f;let h=0;let p=0;while(h<a){r[h]=e.charCodeAt(i+h);t[h]=++h}while(p<s){l=n.charCodeAt(i+p);u=p++;c=p;for(h=0;h<a;h++){f=l===r[h]?u:u+1;u=t[h];c=t[h]=u>c?f>c?c+1:f:f>u?u+1:f}}return c};e.exports=leven;e.exports["default"]=leven},332:(e,t,r)=>{"use strict";const n=r(37);const o=r(419);const a=process.env;let s;if(o("no-color")||o("no-colors")||o("color=false")){s=false}else if(o("color")||o("colors")||o("color=true")||o("color=always")){s=true}if("FORCE_COLOR"in a){s=a.FORCE_COLOR.length===0||parseInt(a.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(s===false){return 0}if(o("color=16m")||o("color=full")||o("color=truecolor")){return 3}if(o("color=256")){return 2}if(e&&!e.isTTY&&s!==true){return 0}const t=s?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 a){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((e=>e in a))||a.CI_NAME==="codeship"){return 1}return t}if("TEAMCITY_VERSION"in a){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(a.TEAMCITY_VERSION)?1:0}if(a.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in a){const e=parseInt((a.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(a.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(a.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(a.TERM)){return 1}if("COLORTERM"in a){return 1}if(a.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)}},242:(e,t,r)=>{"use strict";const n=r(37);const o=r(224);const a=r(975);const{env:s}=process;let i;if(a("no-color")||a("no-colors")||a("color=false")||a("color=never")){i=0}else if(a("color")||a("colors")||a("color=true")||a("color=always")){i=1}if("FORCE_COLOR"in s){if(s.FORCE_COLOR==="true"){i=1}else if(s.FORCE_COLOR==="false"){i=0}else{i=s.FORCE_COLOR.length===0?1:Math.min(parseInt(s.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,t){if(i===0){return 0}if(a("color=16m")||a("color=full")||a("color=truecolor")){return 3}if(a("color=256")){return 2}if(e&&!t&&i===undefined){return 0}const r=i||0;if(s.TERM==="dumb"){return r}if(process.platform==="win32"){const e=n.release().split(".");if(Number(e[0])>=10&&Number(e[2])>=10586){return Number(e[2])>=14931?3:2}return 1}if("CI"in s){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in s))||s.CI_NAME==="codeship"){return 1}return r}if("TEAMCITY_VERSION"in s){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(s.TEAMCITY_VERSION)?1:0}if(s.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in s){const e=parseInt((s.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(s.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(s.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(s.TERM)){return 1}if("COLORTERM"in s){return 1}return r}function getSupportLevel(e){const t=supportsColor(e,e&&e.isTTY);return translateLevel(t)}e.exports={supportsColor:getSupportLevel,stdout:translateLevel(supportsColor(true,o.isatty(1))),stderr:translateLevel(supportsColor(true,o.isatty(2)))}},37:e=>{"use strict";e.exports=require("os")},224:e=>{"use strict";e.exports=require("tty")},266:(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,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,3104,541,1507,4938,6,4191];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,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(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}},740:(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(266);var o=r(563)},563:(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)}},505:(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(740);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.slice(r-2,r)=="</")){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(e!==""&&shouldHighlight(t)){const r=getChalk(t);const n=getDefs(r);return highlightTokens(n,e)}else{return e}}}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var o=t[r]={id:r,loaded:false,exports:{}};var a=true;try{e[r](o,o.exports,__nccwpck_require__);a=false}finally{if(a)delete t[r]}o.loaded=true;return o.exports}(()=>{__nccwpck_require__.nmd=e=>{e.paths=[];if(!e.children)e.children=[];return e}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(281);module.exports=r})();
@@ -1,13 +0,0 @@
1
- Copyright 2018 Atlassian Pty Ltd
2
-
3
- Licensed under the Apache License, Version 2.0 (the "License");
4
- you may not use this file except in compliance with the License.
5
- You may obtain a copy of the License at
6
-
7
- http://www.apache.org/licenses/LICENSE-2.0
8
-
9
- Unless required by applicable law or agreed to in writing, software
10
- distributed under the License is distributed on an "AS IS" BASIS,
11
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- See the License for the specific language governing permissions and
13
- limitations under the License.
@@ -1 +0,0 @@
1
- {"name":"better-ajv-errors","author":"Rifat Nabi <to.rifat@gmail.com>","version":"1.2.0","license":"Apache-2.0","types":"index.d.ts"}
@@ -1,21 +0,0 @@
1
- // Type definitions for recursive-readdir 2.2
2
- // Project: https://github.com/jergason/recursive-readdir/
3
- // Definitions by: Elisée Maurer <https://github.com/elisee>, Micah Zoltu <https://github.com/MicahZoltu>
4
- // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5
-
6
- /// <reference types="node" />
7
-
8
- import * as fs from 'fs';
9
- declare namespace RecursiveReaddir {
10
- type IgnoreFunction = (file: string, stats: fs.Stats) => boolean;
11
- type Ignores = ReadonlyArray<string|IgnoreFunction>;
12
- type Callback = (error: Error, files: string[]) => void;
13
- interface readDir {
14
- (path: string, ignores?: Ignores): Promise<string[]>;
15
- (path: string, callback: Callback): void;
16
- (path: string, ignores: Ignores, callback: Callback): void;
17
- }
18
- }
19
-
20
- declare var recursiveReadDir: RecursiveReaddir.readDir;
21
- export = recursiveReadDir;
@@ -1 +0,0 @@
1
- (()=>{var e={155: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,a,i,s,c;var o=r.indexOf(e);var u=r.indexOf(t,o+1);var f=o;if(o>=0&&u>0){if(e===t){return[o,u]}n=[];i=r.length;while(f>=0&&!c){if(f==o){n.push(f);o=r.indexOf(e,f+1)}else if(n.length==1){c=[n.pop(),u]}else{a=n.pop();if(a<i){i=a;s=u}u=r.indexOf(t,f+1)}f=o<u&&o>=0?o:u}if(n.length){c=[i,s]}}return c}},847:(e,t,r)=>{var n=r(62);var a=r(155);e.exports=expandTop;var i="\0SLASH"+Math.random()+"\0";var s="\0OPEN"+Math.random()+"\0";var c="\0CLOSE"+Math.random()+"\0";var o="\0COMMA"+Math.random()+"\0";var u="\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(s).split("\\}").join(c).split("\\,").join(o).split("\\.").join(u)}function unescapeBraces(e){return e.split(i).join("\\").split(s).join("{").split(c).join("}").split(o).join(",").split(u).join(".")}function parseCommaParts(e){if(!e)return[""];var t=[];var r=a("{","}",e);if(!r)return e.split(",");var n=r.pre;var i=r.body;var s=r.post;var c=n.split(",");c[c.length-1]+="{"+i+"}";var o=parseCommaParts(s);if(s.length){c[c.length-1]+=o.shift();c.push.apply(c,o)}t.push.apply(t,c);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=a("{","}",e);if(!i||/\$$/.test(i.pre))return[e];var s=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(i.body);var o=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(i.body);var u=s||o;var f=i.body.indexOf(",")>=0;if(!u&&!f){if(i.post.match(/,.*\}/)){e=i.pre+"{"+i.body+c+i.post;return expand(e)}return[e]}var h;if(u){h=i.body.split(/\.\./)}else{h=parseCommaParts(i.body);if(h.length===1){h=expand(h[0],false).map(embrace);if(h.length===1){var p=i.post.length?expand(i.post,false):[""];return p.map((function(e){return i.pre+h[0]+e}))}}}var l=i.pre;var p=i.post.length?expand(i.post,false):[""];var m;if(u){var g=numeric(h[0]);var v=numeric(h[1]);var d=Math.max(h[0].length,h[1].length);var b=h.length==3?Math.abs(numeric(h[2])):1;var y=lte;var x=v<g;if(x){b*=-1;y=gte}var M=h.some(isPadded);m=[];for(var w=g;y(w,v);w+=b){var E;if(o){E=String.fromCharCode(w);if(E==="\\")E=""}else{E=String(w);if(M){var _=d-E.length;if(_>0){var j=new Array(_+1).join("0");if(w<0)E="-"+j+E.slice(1);else E=j+E}}}m.push(E)}}else{m=n(h,(function(e){return expand(e,false)}))}for(var S=0;S<m.length;S++){for(var O=0;O<p.length;O++){var k=l+m[S]+p[O];if(!t||u||k)r.push(k)}}return r}},62:e=>{e.exports=function(e,r){var n=[];for(var a=0;a<e.length;a++){var i=r(e[a],a);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]"}},435:(e,t,r)=>{e.exports=minimatch;minimatch.Minimatch=Minimatch;var n={sep:"/"};try{n=r(17)}catch(e){}var a=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var i=r(847);var s={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var c="[^/]";var o=c+"*?";var u="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var f="(?:(?!(?:\\/|^)\\.).)*?";var h=charSet("().*{}+?[]^$\\!");function charSet(e){return e.split("").reduce((function(e,t){e[t]=true;return e}),{})}var p=/\/+/;minimatch.filter=filter;function filter(e,t){t=t||{};return function(r,n,a){return minimatch(r,e,t)}}function ext(e,t){e=e||{};t=t||{};var r={};Object.keys(t).forEach((function(e){r[e]=t[e]}));Object.keys(e).forEach((function(t){r[t]=e[t]}));return r}minimatch.defaults=function(e){if(!e||!Object.keys(e).length)return minimatch;var t=minimatch;var r=function minimatch(r,n,a){return t.minimatch(r,n,ext(e,a))};r.Minimatch=function Minimatch(r,n){return new t.Minimatch(r,ext(e,n))};return r};Minimatch.defaults=function(e){if(!e||!Object.keys(e).length)return Minimatch;return minimatch.defaults(e).Minimatch};function minimatch(e,t,r){if(typeof t!=="string"){throw new TypeError("glob pattern string required")}if(!r)r={};if(!r.nocomment&&t.charAt(0)==="#"){return false}if(t.trim()==="")return e==="";return new Minimatch(t,r).match(e)}function Minimatch(e,t){if(!(this instanceof Minimatch)){return new Minimatch(e,t)}if(typeof e!=="string"){throw new TypeError("glob pattern string required")}if(!t)t={};e=e.trim();if(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.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){if(this._made)return;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=console.error;this.debug(this.pattern,r);r=this.globParts=r.map((function(e){return e.split(p)}));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 a=0,i=e.length;a<i&&e.charAt(a)==="!";a++){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;if(typeof e==="undefined"){throw new TypeError("undefined pattern")}if(t.nobrace||!e.match(/\{.*\}/)){return[e]}return i(e)}Minimatch.prototype.parse=parse;var l={};function parse(e,t){if(e.length>1024*64){throw new TypeError("pattern is too long")}var r=this.options;if(!r.noglobstar&&e==="**")return a;if(e==="")return"";var n="";var i=!!r.nocase;var u=false;var f=[];var p=[];var m;var g=false;var v=-1;var d=-1;var b=e.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";var y=this;function clearStateChar(){if(m){switch(m){case"*":n+=o;i=true;break;case"?":n+=c;i=true;break;default:n+="\\"+m;break}y.debug("clearStateChar %j %j",m,n);m=false}}for(var x=0,M=e.length,w;x<M&&(w=e.charAt(x));x++){this.debug("%s\t%s %s %j",e,x,n,w);if(u&&h[w]){n+="\\"+w;u=false;continue}switch(w){case"/":return false;case"\\":clearStateChar();u=true;continue;case"?":case"*":case"+":case"@":case"!":this.debug("%s\t%s %s %j <-- stateChar",e,x,n,w);if(g){this.debug(" in class");if(w==="!"&&x===d+1)w="^";n+=w;continue}y.debug("call clearStateChar %j",m);clearStateChar();m=w;if(r.noext)clearStateChar();continue;case"(":if(g){n+="(";continue}if(!m){n+="\\(";continue}f.push({type:m,start:x-1,reStart:n.length,open:s[m].open,close:s[m].close});n+=m==="!"?"(?:(?!(?:":"(?:";this.debug("plType %j %j",m,n);m=false;continue;case")":if(g||!f.length){n+="\\)";continue}clearStateChar();i=true;var E=f.pop();n+=E.close;if(E.type==="!"){p.push(E)}E.reEnd=n.length;continue;case"|":if(g||!f.length||u){n+="\\|";u=false;continue}clearStateChar();n+="|";continue;case"[":clearStateChar();if(g){n+="\\"+w;continue}g=true;d=x;v=n.length;n+=w;continue;case"]":if(x===d+1||!g){n+="\\"+w;u=false;continue}if(g){var _=e.substring(d+1,x);try{RegExp("["+_+"]")}catch(e){var j=this.parse(_,l);n=n.substr(0,v)+"\\["+j[0]+"\\]";i=i||j[1];g=false;continue}}i=true;g=false;n+=w;continue;default:clearStateChar();if(u){u=false}else if(h[w]&&!(w==="^"&&g)){n+="\\"}n+=w}}if(g){_=e.substr(d+1);j=this.parse(_,l);n=n.substr(0,v)+"\\["+j[0];i=i||j[1]}for(E=f.pop();E;E=f.pop()){var S=n.slice(E.reStart+E.open.length);this.debug("setting tail",n,E);S=S.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(e,t,r){if(!r){r="\\"}return t+t+r+"|"}));this.debug("tail=%j\n %s",S,S,E,n);var O=E.type==="*"?o:E.type==="?"?c:"\\"+E.type;i=true;n=n.slice(0,E.reStart)+O+"\\("+S}clearStateChar();if(u){n+="\\\\"}var k=false;switch(n.charAt(0)){case".":case"[":case"(":k=true}for(var C=p.length-1;C>-1;C--){var A=p[C];var R=n.slice(0,A.reStart);var $=n.slice(A.reStart,A.reEnd-8);var T=n.slice(A.reEnd-8,A.reEnd);var q=n.slice(A.reEnd);T+=q;var B=R.split("(").length-1;var P=q;for(x=0;x<B;x++){P=P.replace(/\)[+*?]?/,"")}q=P;var L="";if(q===""&&t!==l){L="$"}var N=R+$+q+L+T;n=N}if(n!==""&&i){n="(?=.)"+n}if(k){n=b+n}if(t===l){return[n,i]}if(!i){return globUnescape(e)}var F=r.nocase?"i":"";try{var G=new RegExp("^"+n+"$",F)}catch(e){return new RegExp("$.")}G._glob=e;G._src=n;return G}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?o:t.dot?u:f;var n=t.nocase?"i":"";var i=e.map((function(e){return e.map((function(e){return e===a?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=match;function match(e,t){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(p);this.debug(this.pattern,"split",e);var a=this.set;this.debug(this.pattern,"set",a);var i;var s;for(s=e.length-1;s>=0;s--){i=e[s];if(i)break}for(s=0;s<a.length;s++){var c=a[s];var o=e;if(r.matchBase&&c.length===1){o=[i]}var u=this.matchOne(o,c,t);if(u){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,s=0,c=e.length,o=t.length;i<c&&s<o;i++,s++){this.debug("matchOne loop");var u=t[s];var f=e[i];this.debug(t,u,f);if(u===false)return false;if(u===a){this.debug("GLOBSTAR",[t,u,f]);var h=i;var p=s+1;if(p===o){this.debug("** at the end");for(;i<c;i++){if(e[i]==="."||e[i]===".."||!n.dot&&e[i].charAt(0)===".")return false}return true}while(h<c){var l=e[h];this.debug("\nglobstar while",e,h,t,p,l);if(this.matchOne(e.slice(h),t.slice(p),r)){this.debug("globstar found match!",h,c,l);return true}else{if(l==="."||l===".."||!n.dot&&l.charAt(0)==="."){this.debug("dot detected!",e,h,t,p);break}this.debug("globstar swallow a segment, and continue");h++}}if(r){this.debug("\n>>> no match, partial?",e,h,t,p);if(h===c)return true}return false}var m;if(typeof u==="string"){if(n.nocase){m=f.toLowerCase()===u.toLowerCase()}else{m=f===u}this.debug("string match",u,f,m)}else{m=f.match(u);this.debug("pattern match",u,f,m)}if(!m)return false}if(i===c&&s===o){return true}else if(i===c){return r}else if(s===o){var g=i===c-1&&e[i]==="";return g}throw new Error("wtf?")};function globUnescape(e){return e.replace(/\\(.)/g,"$1")}function regExpEscape(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}},736:(e,t,r)=>{var n=r(147);var a=r(17);var i=r(435);function patternMatcher(e){return function(t,r){var n=new i.Minimatch(e,{matchBase:true});return(!n.negate||r.isFile())&&n.match(t)}}function toMatcherFunction(e){if(typeof e=="function"){return e}else{return patternMatcher(e)}}function readdir(e,t,r){if(typeof t=="function"){r=t;t=[]}if(!r){return new Promise((function(r,n){readdir(e,t||[],(function(e,t){if(e){n(e)}else{r(t)}}))}))}t=t.map(toMatcherFunction);var i=[];n.readdir(e,(function(s,c){if(s){return r(s)}var o=c.length;if(!o){return r(null,i)}c.forEach((function(s){var c=a.join(e,s);n.stat(c,(function(e,n){if(e){return r(e)}if(t.some((function(e){return e(c,n)}))){o-=1;if(!o){return r(null,i)}return null}if(n.isDirectory()){readdir(c,t,(function(e,t){if(e){return r(e)}i=i.concat(t);o-=1;if(!o){return r(null,i)}}))}else{i.push(c);o-=1;if(!o){return r(null,i)}}}))}))}))}e.exports=readdir},147:e=>{"use strict";e.exports=require("fs")},17:e=>{"use strict";e.exports=require("path")}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var a=t[r]={exports:{}};var i=true;try{e[r](a,a.exports,__nccwpck_require__);i=false}finally{if(i)delete t[r]}return a.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(736);module.exports=r})();
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) <year> <copyright holders>
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
@@ -1 +0,0 @@
1
- {"name":"recursive-readdir","author":"Jamison Dance <jergason@gmail.com> (http://jamisondance.com/)","version":"2.2.2","license":"MIT"}
@@ -1 +0,0 @@
1
- export = any;