зеркало из https://github.com/nextcloud/text.git
1 строка
5.2 KiB
Plaintext
1 строка
5.2 KiB
Plaintext
{"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","name","case_insensitive","illegal","lexemes","keywords","relevance"],"mappings":"mGAsIAA,EAAOC,QA/HP,SAAaC,GACX,IAyCIC,EAAO,CACTC,MAAO,4DAA6DC,aAAa,EAAMC,IAAK,IAAKC,gBAAgB,EACjHC,SAAU,CA1BI,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,mBAgBlC,MAAO,CACLY,KAAM,MACNC,kBAAkB,EAClBC,QAAS,UACTV,SAAU,CACRN,EAAKa,qBACL,CACEN,UAAW,cAAeL,MAAO,mBAEnC,CACEK,UAAW,iBAAkBL,MAAO,8BAEtC,CACEK,UAAW,gBACXL,MAAO,KAAME,IAAK,KAClBY,QAAS,IACTV,SAAU,CACRN,EAAKU,iBACLV,EAAKW,oBAGT,CACEJ,UAAW,kBACXL,MAAO,6BAKT,CACEA,MAAO,oBACPe,QAzCc,WA0CdC,SAAU,oBAEZ,CACEhB,MAAO,IAAKE,IAAK,OAIjBY,QAAS,IACTb,aAAa,EACbG,SAAU,CACR,CACEC,UAAW,UACXL,MApDW,qBAsDb,CACEA,MAAO,KAAMG,gBAAgB,EAAMG,YAAY,EAC/CW,UAAW,EACXD,SA1DS,kBA2DTZ,SAAU,CACR,CACEJ,MAAO,WACPK,UAAU,aAEZP,EAAKU,iBACLV,EAAKW,kBACLX,EAAKY,oBAKb,CACEL,UAAW,eAAgBL,MAtElB,0BAuETiB,UAAW,GAEb,CACEjB,MAAO,KAAME,IAAK,KAClBY,QAAS,KACTV,SAAU,CACRN,EAAKa,qBACL,CAAEX,MAAO,KACTD","file":"highlight/css.js?v=a80939d3ccd41d225e33","sourcesContent":["/*\nLanguage: CSS\nCategory: common, css\nWebsite: https://developer.mozilla.org/en-US/docs/Web/CSS\n*/\n\n/** @type LanguageFn */\nfunction css(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 AT_PROPERTY_RE = /@-?\\w[\\w]*(-\\w+)*/; // @-webkit-keyframes\n var IDENT_RE = '[a-zA-Z-][a-zA-Z0-9_-]*';\n var RULE = {\n begin: /([*]\\s?)?(?:[A-Z_.\\-\\\\]+|--[a-zA-Z0-9_-]+)\\s*(\\/\\*\\*\\/)?:/, returnBegin: true, end: ';', endsWithParent: true,\n contains: [\n ATTRIBUTE\n ]\n };\n\n return {\n name: 'CSS',\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: '\\\\.' + IDENT_RE\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 { begin: /;/ }, // empty ; rule\n RULE,\n ]\n }\n ]\n };\n}\n\nmodule.exports = css;\n"],"sourceRoot":""} |