mirror of
https://github.com/danog/telegram-tt.git
synced 2024-11-26 20:34:44 +01:00
1 line
3.6 KiB
Plaintext
1 line
3.6 KiB
Plaintext
{"version":3,"file":"4747.a51da29105f71545b275.js","mappings":"qFAoGAA,EAAOC,QAzFP,SAAgBC,GACd,MAQMC,EAAa,CACjBC,UAAW,SACXC,MAAO,iDAMT,MAAO,CACLC,KAAM,gBACNC,QAAS,CAAE,cACXC,kBAAkB,EAClBC,SAAU,CACRP,EAAKQ,kBACL,CACEN,UAAW,UACXC,MAAO,OACPM,IAAK,IACLF,SAAU,CACRN,EAfY,CAClBC,UAAW,SACXC,MAAO,YAiBDH,EAAKU,QAAQV,EAAKW,kBAAmB,CAAEC,UAAW,MAGtD,CACEV,UAAW,YACXC,MAAO,MACPS,UAAW,EAGXC,SAAU,CAAEC,EAAG,CACb,QACA,OACA,QACA,SACA,cACA,gBACA,cACA,eACA,aACA,gBACA,aACA,UACA,SACA,SACA,aACA,eAEFC,OAAQ,CACNN,IAAK,IACLG,UAAW,EACXC,SAAU,CAAEG,QAAS,yBACrBT,SAAU,CACR,CACEL,UAAW,OACXC,MAAO,OACPM,IAAK,OAEP,CACEP,UAAW,WACXC,MAAO,UACPM,IAAK,KACLF,SAAU,CACR,OAzEK,CACjBL,UAAW,SACXC,MAAO,aA2ECF,EAzEK,CACbC,UAAW,SACXC,MAAO,SAyECH,EAAKW,sBAKbM,QAAS","sources":["webpack://telegram-t/./node_modules/highlight.js/lib/languages/apache.js"],"sourcesContent":["/*\nLanguage: Apache config\nAuthor: Ruslan Keba <rukeba@gmail.com>\nContributors: Ivan Sagalaev <maniac@softwaremaniacs.org>\nWebsite: https://httpd.apache.org\nDescription: language definition for Apache configuration files (httpd.conf & .htaccess)\nCategory: config, web\nAudit: 2020\n*/\n\n/** @type LanguageFn */\nfunction apache(hljs) {\n const NUMBER_REF = {\n className: 'number',\n begin: /[$%]\\d+/\n };\n const NUMBER = {\n className: 'number',\n begin: /\\b\\d+/\n };\n const IP_ADDRESS = {\n className: \"number\",\n begin: /\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?/\n };\n const PORT_NUMBER = {\n className: \"number\",\n begin: /:\\d{1,5}/\n };\n return {\n name: 'Apache config',\n aliases: [ 'apacheconf' ],\n case_insensitive: true,\n contains: [\n hljs.HASH_COMMENT_MODE,\n {\n className: 'section',\n begin: /<\\/?/,\n end: />/,\n contains: [\n IP_ADDRESS,\n PORT_NUMBER,\n // low relevance prevents us from claming XML/HTML where this rule would\n // match strings inside of XML tags\n hljs.inherit(hljs.QUOTE_STRING_MODE, { relevance: 0 })\n ]\n },\n {\n className: 'attribute',\n begin: /\\w+/,\n relevance: 0,\n // keywords aren’t needed for highlighting per se, they only boost relevance\n // for a very generally defined mode (starts with a word, ends with line-end\n keywords: { _: [\n \"order\",\n \"deny\",\n \"allow\",\n \"setenv\",\n \"rewriterule\",\n \"rewriteengine\",\n \"rewritecond\",\n \"documentroot\",\n \"sethandler\",\n \"errordocument\",\n \"loadmodule\",\n \"options\",\n \"header\",\n \"listen\",\n \"serverroot\",\n \"servername\"\n ] },\n starts: {\n end: /$/,\n relevance: 0,\n keywords: { literal: 'on off all deny allow' },\n contains: [\n {\n className: 'meta',\n begin: /\\s\\[/,\n end: /\\]$/\n },\n {\n className: 'variable',\n begin: /[\\$%]\\{/,\n end: /\\}/,\n contains: [\n 'self',\n NUMBER_REF\n ]\n },\n IP_ADDRESS,\n NUMBER,\n hljs.QUOTE_STRING_MODE\n ]\n }\n }\n ],\n illegal: /\\S/\n };\n}\n\nmodule.exports = apache;\n"],"names":["module","exports","hljs","IP_ADDRESS","className","begin","name","aliases","case_insensitive","contains","HASH_COMMENT_MODE","end","inherit","QUOTE_STRING_MODE","relevance","keywords","_","starts","literal","illegal"],"sourceRoot":""} |