1
|
{"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/css.js"],"names":["module","exports","hljs","RULE","begin","returnBegin","end","endsWithParent","contains","className","excludeEnd","starts","APOS_STRING_MODE","QUOTE_STRING_MODE","CSS_NUMBER_MODE","C_BLOCK_COMMENT_MODE","case_insensitive","illegal","lexemes","keywords","relevance"],"mappings":"oFAAAA,EAAOC,QAAU,SAASC,GACxB,IA0CIC,EAAO,CACTC,MAAO,wCAAyCC,aAAa,EAAMC,IAAK,IAAKC,gBAAgB,EAC7FC,SAAU,CA3BI,CACdC,UAAW,YACXL,MAAO,KAAME,IAAK,IAAKI,YAAY,EACnCC,OAAQ,CACNJ,gBAAgB,EAAMG,YAAY,EAClCF,SAAU,CAtBM,CAClBJ,MAAO,WAAYC,aAAa,EAChCG,SAAU,CACR,CACEC,UAAW,WACXL,MAAO,UAET,CACEA,MAAO,KAAME,IAAK,KAClBE,SAAU,CACRN,EAAKU,iBACLV,EAAKW,kBACLX,EAAKY,oBAYPZ,EAAKY,gBACLZ,EAAKW,kBACLX,EAAKU,iBACLV,EAAKa,qBACL,CACEN,UAAW,SAAUL,MAAO,iBAE9B,CACEK,UAAW,OAAQL,MAAO,mBAiBlC,MAAO,CACLY,kBAAkB,EAClBC,QAAS,YACTT,SAAU,CACRN,EAAKa,qBACL,CACEN,UAAW,cAAeL,MAAO,mBAEnC,CACEK,UAAW,iBAAkBL,MAAO,oBAEtC,CACEK,UAAW,gBACXL,MAAO,KAAME,IAAK,KAClBW,QAAS,IACTT,SAAU,CACRN,EAAKU,iBACLV,EAAKW,oBAGT,CACEJ,UAAW,kBACXL,MAAO,kCAKT,CACEA,MAAO,oBACPc,QAzCc,WA0CdC,SAAU,oBAEZ,CACEf,MAAO,IAAKE,IAAK,OAIjBW,QAAS,IACTZ,aAAa,EACbG,SAAU,CACR,CACEC,UAAW,UACXL,MAnDW,uBAqDb,CACEA,MAAO,KAAMG,gBAAgB,EAAMG,YAAY,EAC/CU,UAAW,EACXD,SA1DS,kBA2DTX,SAAU,CACR,CACEJ,MAAO,WACPK,UAAU,aAEZP,EAAKU,iBACLV,EAAKW,kBACLX,EAAKY,oBAKb,CACEL,UAAW,eAAgBL,MArElB,0BAsETgB,UAAW,GAEb,CACEhB,MAAO,IAAKE,IAAK,IACjBW,QAAS,KACTT,SAAU,CACRN,EAAKa,qBACLZ","file":"highlight/css.js?v=57421587b84dc7122b01","sourcesContent":["module.exports = function(hljs) {\n var FUNCTION_LIKE = {\n begin: /[\\w-]+\\(/, returnBegin: true,\n contains: [\n {\n className: 'built_in',\n begin: /[\\w-]+/\n },\n {\n begin: /\\(/, end: /\\)/,\n contains: [\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n hljs.CSS_NUMBER_MODE,\n ]\n }\n ]\n }\n var ATTRIBUTE = {\n className: 'attribute',\n begin: /\\S/, end: ':', excludeEnd: true,\n starts: {\n endsWithParent: true, excludeEnd: true,\n contains: [\n FUNCTION_LIKE,\n hljs.CSS_NUMBER_MODE,\n hljs.QUOTE_STRING_MODE,\n hljs.APOS_STRING_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n {\n className: 'number', begin: '#[0-9A-Fa-f]+'\n },\n {\n className: 'meta', begin: '!important'\n }\n ]\n }\n }\n var AT_IDENTIFIER = '@[a-z-]+' // @font-face\n var AT_MODIFIERS = \"and or not only\"\n var MEDIA_TYPES = \"all print screen speech\"\n var AT_PROPERTY_RE = /@\\-?\\w[\\w]*(\\-\\w+)*/ // @-webkit-keyframes\n var IDENT_RE = '[a-zA-Z-][a-zA-Z0-9_-]*';\n var RULE = {\n begin: /(?:[A-Z\\_\\.\\-]+|--[a-zA-Z0-9_-]+)\\s*:/, returnBegin: true, end: ';', endsWithParent: true,\n contains: [\n ATTRIBUTE\n ]\n };\n\n return {\n case_insensitive: true,\n illegal: /[=\\/|'\\$]/,\n contains: [\n hljs.C_BLOCK_COMMENT_MODE,\n {\n className: 'selector-id', begin: /#[A-Za-z0-9_-]+/\n },\n {\n className: 'selector-class', begin: /\\.[A-Za-z0-9_-]+/\n },\n {\n className: 'selector-attr',\n begin: /\\[/, end: /\\]/,\n illegal: '$',\n contains: [\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n ]\n },\n {\n className: 'selector-pseudo',\n begin: /:(:)?[a-zA-Z0-9\\_\\-\\+\\(\\)\"'.]+/\n },\n // matching these here allows us to treat them more like regular CSS\n // rules so everything between the {} gets regular rule highlighting,\n // which is what we want for page and font-face\n {\n begin: '@(page|font-face)',\n lexemes: AT_IDENTIFIER,\n keywords: '@page @font-face'\n },\n {\n begin: '@', end: '[{;]', // at_rule eating first \"{\" is a good thing\n // because it doesn’t let it to be parsed as\n // a rule set but instead drops parser into\n // the default mode which is how it should be.\n illegal: /:/, // break on Less variables @var: ...\n returnBegin: true,\n contains: [\n {\n className: 'keyword',\n begin: AT_PROPERTY_RE\n },\n {\n begin: /\\s/, endsWithParent: true, excludeEnd: true,\n relevance: 0,\n keywords: AT_MODIFIERS,\n contains: [\n {\n begin: /[a-z-]+:/,\n className:\"attribute\"\n },\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n hljs.CSS_NUMBER_MODE\n ]\n }\n ]\n },\n {\n className: 'selector-tag', begin: IDENT_RE,\n relevance: 0\n },\n {\n begin: '{', end: '}',\n illegal: /\\S/,\n contains: [\n hljs.C_BLOCK_COMMENT_MODE,\n RULE,\n ]\n }\n ]\n };\n};"],"sourceRoot":""}
|