"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("../../../../../../../_virtual/index18.js");require("../../../../../js-tokens@4.0.0/node_modules/js-tokens/index.js");require("../../../../../@babel_helper-validator-identifier@7.18.6/node_modules/@babel/helper-validator-identifier/lib/index.js");require("../../../../../chalk@2.4.2/node_modules/chalk/index.js");const m=require("../../../../../../../_virtual/index24.js"),j=require("../../../../../../../_virtual/index25.js"),w=require("../../../../../../../_virtual/index26.js");var f;function q(){if(f)return u.__exports;f=1,Object.defineProperty(u.__exports,"__esModule",{value:!0}),u.__exports.default=y,u.__exports.getChalk=c,u.__exports.shouldHighlight=d;var s=m.__exports,l=j.__exports,o=w.chalk.exports;const p=new Set(["as","async","from","get","of","set"]);function v(r){return{keyword:r.cyan,capitalized:r.yellow,jsxIdentifier:r.yellow,punctuator:r.yellow,number:r.magenta,string:r.green,regex:r.magenta,comment:r.grey,invalid:r.white.bgRed.bold}}const g=/\r\n|[\n\r\u2028\u2029]/,h=/^[()[\]{}]$/;let a;{const r=/^[a-z][\w-]*$/i,n=function(e,t,i){if(e.type==="name"){if((0,l.isKeyword)(e.value)||(0,l.isStrictReservedWord)(e.value,!0)||p.has(e.value))return"keyword";if(r.test(e.value)&&(i[t-1]==="<"||i.substr(t-2,2)=="</"))return"jsxIdentifier";if(e.value[0]!==e.value[0].toLowerCase())return"capitalized"}return e.type==="punctuator"&&h.test(e.value)?"bracket":e.type==="invalid"&&(e.value==="@"||e.value==="#")?"punctuator":e.type};a=function*(e){let t;for(;t=s.default.exec(e);){const i=s.matchToToken(t);yield{type:n(i,t.index,e),value:i.value}}}}function x(r,n){let e="";for(const{type:t,value:i}of a(n)){const _=r[t];_?e+=i.split(g).map(b=>_(b)).join(`
`):e+=i}return e}function d(r){return!!o.supportsColor||r.forceColor}function c(r){return r.forceColor?new o.constructor({enabled:!0,level:1}):o}function y(r,n={}){if(r!==""&&d(n)){const e=c(n),t=v(e);return x(t,r)}else return r}return u.__exports}exports.__require=q;
//# sourceMappingURL=index.js.map
