mirror of
https://github.com/danog/telegram-tt.git
synced 2024-12-15 02:37:17 +01:00
1 line
3.7 KiB
Plaintext
1 line
3.7 KiB
Plaintext
{"version":3,"file":"9379.5f47d04a09f26df77d30.js","mappings":"sFAmGAA,EAAOC,QA1FP,SAAeC,GACb,MACMC,EAAW,qHAWjB,MAAO,CACLC,KAAM,QACNC,QAAS,CACP,MACA,QAEFC,kBAAkB,EAClBC,SAAU,CACRC,QAASC,6MACTC,QAXa,6EAafC,SAAU,CACRT,EAAKU,kBACL,CACEC,cAAe,OACfC,OAAQ,CACNC,IAAK,mBACLD,OAAQ,CACNE,UAAW,QACXD,IAAK,2BAIX,CACEF,cApCY,yBAqCZC,OAAQ,CACNE,UAAW,QACXD,IAAK,wBACLD,OAAQ,CAAEC,IAAK,8BAGnB,CACEE,MAAO,OAASd,EAASe,MAAM,KAAKC,KAAK,KAAO,QAChDZ,SAAUJ,EACVW,OAAQ,CACNE,UAAW,QACXD,IAAK,sBAGT,CACEF,cAhDgB,oCAiDhBC,OAAQ,CACNE,UAAW,QACXD,IAAK,qBAGTb,EAAKkB,kBACL,CACEJ,UAAW,OACXC,MAAO,sCACPI,UAAW,GAEb,CACEL,UAAW,SACXC,MAAO,+BACPI,UAAW,GAEb,CACEL,UAAW,UACXC,MAAO,qBACPI,UAAW,GAEb,CACEL,UAAW,OACXC,MAAO,wBACPI,UAAW,GAEb,CACEL,UAAW,MACXC,MAAO,MACPF,IAAK,MACLM,UAAW","sources":["webpack://telegram-t/./node_modules/highlight.js/lib/languages/crmsh.js"],"sourcesContent":["/*\nLanguage: crmsh\nAuthor: Kristoffer Gronlund <kgronlund@suse.com>\nWebsite: http://crmsh.github.io\nDescription: Syntax Highlighting for the crmsh DSL\nCategory: config\n*/\n\n/** @type LanguageFn */\nfunction crmsh(hljs) {\n const RESOURCES = 'primitive rsc_template';\n const COMMANDS = 'group clone ms master location colocation order fencing_topology '\n + 'rsc_ticket acl_target acl_group user role '\n + 'tag xml';\n const PROPERTY_SETS = 'property rsc_defaults op_defaults';\n const KEYWORDS = 'params meta operations op rule attributes utilization';\n const OPERATORS = 'read write deny defined not_defined in_range date spec in '\n + 'ref reference attribute type xpath version and or lt gt tag '\n + 'lte gte eq ne \\\\';\n const TYPES = 'number string';\n const LITERALS = 'Master Started Slave Stopped start promote demote stop monitor true false';\n\n return {\n name: 'crmsh',\n aliases: [\n 'crm',\n 'pcmk'\n ],\n case_insensitive: true,\n keywords: {\n keyword: KEYWORDS + ' ' + OPERATORS + ' ' + TYPES,\n literal: LITERALS\n },\n contains: [\n hljs.HASH_COMMENT_MODE,\n {\n beginKeywords: 'node',\n starts: {\n end: '\\\\s*([\\\\w_-]+:)?',\n starts: {\n className: 'title',\n end: '\\\\s*[\\\\$\\\\w_][\\\\w_-]*'\n }\n }\n },\n {\n beginKeywords: RESOURCES,\n starts: {\n className: 'title',\n end: '\\\\s*[\\\\$\\\\w_][\\\\w_-]*',\n starts: { end: '\\\\s*@?[\\\\w_][\\\\w_\\\\.:-]*' }\n }\n },\n {\n begin: '\\\\b(' + COMMANDS.split(' ').join('|') + ')\\\\s+',\n keywords: COMMANDS,\n starts: {\n className: 'title',\n end: '[\\\\$\\\\w_][\\\\w_-]*'\n }\n },\n {\n beginKeywords: PROPERTY_SETS,\n starts: {\n className: 'title',\n end: '\\\\s*([\\\\w_-]+:)?'\n }\n },\n hljs.QUOTE_STRING_MODE,\n {\n className: 'meta',\n begin: '(ocf|systemd|service|lsb):[\\\\w_:-]+',\n relevance: 0\n },\n {\n className: 'number',\n begin: '\\\\b\\\\d+(\\\\.\\\\d+)?(ms|s|h|m)?',\n relevance: 0\n },\n {\n className: 'literal',\n begin: '[-]?(infinity|inf)',\n relevance: 0\n },\n {\n className: 'attr',\n begin: /([A-Za-z$_#][\\w_-]+)=/,\n relevance: 0\n },\n {\n className: 'tag',\n begin: '</?',\n end: '/?>',\n relevance: 0\n }\n ]\n };\n}\n\nmodule.exports = crmsh;\n"],"names":["module","exports","hljs","COMMANDS","name","aliases","case_insensitive","keywords","keyword","KEYWORDS","literal","contains","HASH_COMMENT_MODE","beginKeywords","starts","end","className","begin","split","join","QUOTE_STRING_MODE","relevance"],"sourceRoot":""} |