mirror of
https://github.com/danog/telegram-tt.git
synced 2024-12-11 00:29:40 +01:00
1 line
8.4 KiB
Plaintext
1 line
8.4 KiB
Plaintext
{"version":3,"file":"3894.9ec589a8d0b8850ef326.js","mappings":"oFA8QAA,EAAOC,QApPP,SAAWC,GAMT,MAAMC,EAAa,CACjBC,SAAUF,EAAKG,oBACfC,QACE,6mBAQFC,SACE,2KAGFC,QACE,mBAwBEC,EAAa,2FAgBbC,EAAqB,yGAcrBC,EAAiB,CACrBC,UAAW,SACXC,MAAO,MAAQJ,EAAa,uBAC5BK,UAAW,GAOPC,EAAe,CACnBH,UAAW,SACXC,MAAO,udAEDJ,EAFC,gBAIPK,UAAW,GAQPE,EAAmB,CACvBJ,UAAW,SACXC,MAAO,KAAQH,EAAqB,MACpCO,IAAK,IACLC,QAAS,KAkBLC,EAAgB,CACpBP,UAAW,SACXC,MAAO,IACPO,SAAU,CAbc,CACxBP,MAAOH,EACPI,UAAW,IAYXG,IAAK,WAuFDI,EAAyBnB,EAAKoB,QAClC,SACA,SACA,CACEF,SAAU,CAAE,QACZN,UAAW,KAIf,MAAO,CACLS,KAAM,IACNC,SAAUrB,EACViB,SAAU,CACRlB,EAAKuB,oBACLvB,EAAKwB,qBACLL,EAvEsB,CACxBT,UAAW,SACXC,MAAO,iCACPC,UAAW,IAsETK,EAhGoC,CACtCP,UAAW,SACXC,MAAO,QACPI,IAAK,UACLH,UAAW,GAQ2B,CACtCF,UAAW,SACXC,MAAO,IACPI,IAAK,WAmBqB,CAC1BL,UAAW,SACXC,MAAO,QACPI,IAAK,QA+DHF,EACAJ,EACAK,EAzDoB,CACtBJ,UAAW,OACXC,MAAO,MACPI,IAAK,IACLH,UAAW,GAQyB,CACpCF,UAAW,OACXC,MAAO,UACPI,IAAK,IACLH,UAAW,GAQY,CACvBF,UAAW,UACXC,MAAO","sources":["webpack://telegram-t/./node_modules/highlight.js/lib/languages/d.js"],"sourcesContent":["/*\nLanguage: D\nAuthor: Aleksandar Ruzicic <aleksandar@ruzicic.info>\nDescription: D is a language with C-like syntax and static typing. It pragmatically combines efficiency, control, and modeling power, with safety and programmer productivity.\nVersion: 1.0a\nWebsite: https://dlang.org\nDate: 2012-04-08\n*/\n\n/**\n * Known issues:\n *\n * - invalid hex string literals will be recognized as a double quoted strings\n * but 'x' at the beginning of string will not be matched\n *\n * - delimited string literals are not checked for matching end delimiter\n * (not possible to do with js regexp)\n *\n * - content of token string is colored as a string (i.e. no keyword coloring inside a token string)\n * also, content of token string is not validated to contain only valid D tokens\n *\n * - special token sequence rule is not strictly following D grammar (anything following #line\n * up to the end of line is matched as special token sequence)\n */\n\n/** @type LanguageFn */\nfunction d(hljs) {\n /**\n * Language keywords\n *\n * @type {Object}\n */\n const D_KEYWORDS = {\n $pattern: hljs.UNDERSCORE_IDENT_RE,\n keyword:\n 'abstract alias align asm assert auto body break byte case cast catch class '\n + 'const continue debug default delete deprecated do else enum export extern final '\n + 'finally for foreach foreach_reverse|10 goto if immutable import in inout int '\n + 'interface invariant is lazy macro mixin module new nothrow out override package '\n + 'pragma private protected public pure ref return scope shared static struct '\n + 'super switch synchronized template this throw try typedef typeid typeof union '\n + 'unittest version void volatile while with __FILE__ __LINE__ __gshared|10 '\n + '__thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__',\n built_in:\n 'bool cdouble cent cfloat char creal dchar delegate double dstring float function '\n + 'idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar '\n + 'wstring',\n literal:\n 'false null true'\n };\n\n /**\n * Number literal regexps\n *\n * @type {String}\n */\n const decimal_integer_re = '(0|[1-9][\\\\d_]*)';\n const decimal_integer_nosus_re = '(0|[1-9][\\\\d_]*|\\\\d[\\\\d_]*|[\\\\d_]+?\\\\d)';\n const binary_integer_re = '0[bB][01_]+';\n const hexadecimal_digits_re = '([\\\\da-fA-F][\\\\da-fA-F_]*|_[\\\\da-fA-F][\\\\da-fA-F_]*)';\n const hexadecimal_integer_re = '0[xX]' + hexadecimal_digits_re;\n\n const decimal_exponent_re = '([eE][+-]?' + decimal_integer_nosus_re + ')';\n const decimal_float_re = '(' + decimal_integer_nosus_re + '(\\\\.\\\\d*|' + decimal_exponent_re + ')|'\n + '\\\\d+\\\\.' + decimal_integer_nosus_re + '|'\n + '\\\\.' + decimal_integer_re + decimal_exponent_re + '?'\n + ')';\n const hexadecimal_float_re = '(0[xX]('\n + hexadecimal_digits_re + '\\\\.' + hexadecimal_digits_re + '|'\n + '\\\\.?' + hexadecimal_digits_re\n + ')[pP][+-]?' + decimal_integer_nosus_re + ')';\n\n const integer_re = '('\n + decimal_integer_re + '|'\n + binary_integer_re + '|'\n + hexadecimal_integer_re\n + ')';\n\n const float_re = '('\n + hexadecimal_float_re + '|'\n + decimal_float_re\n + ')';\n\n /**\n * Escape sequence supported in D string and character literals\n *\n * @type {String}\n */\n const escape_sequence_re = '\\\\\\\\('\n + '[\\'\"\\\\?\\\\\\\\abfnrtv]|' // common escapes\n + 'u[\\\\dA-Fa-f]{4}|' // four hex digit unicode codepoint\n + '[0-7]{1,3}|' // one to three octal digit ascii char code\n + 'x[\\\\dA-Fa-f]{2}|' // two hex digit ascii char code\n + 'U[\\\\dA-Fa-f]{8}' // eight hex digit unicode codepoint\n + ')|'\n + '&[a-zA-Z\\\\d]{2,};'; // named character entity\n\n /**\n * D integer number literals\n *\n * @type {Object}\n */\n const D_INTEGER_MODE = {\n className: 'number',\n begin: '\\\\b' + integer_re + '(L|u|U|Lu|LU|uL|UL)?',\n relevance: 0\n };\n\n /**\n * [D_FLOAT_MODE description]\n * @type {Object}\n */\n const D_FLOAT_MODE = {\n className: 'number',\n begin: '\\\\b('\n + float_re + '([fF]|L|i|[fF]i|Li)?|'\n + integer_re + '(i|[fF]i|Li)'\n + ')',\n relevance: 0\n };\n\n /**\n * D character literal\n *\n * @type {Object}\n */\n const D_CHARACTER_MODE = {\n className: 'string',\n begin: '\\'(' + escape_sequence_re + '|.)',\n end: '\\'',\n illegal: '.'\n };\n\n /**\n * D string escape sequence\n *\n * @type {Object}\n */\n const D_ESCAPE_SEQUENCE = {\n begin: escape_sequence_re,\n relevance: 0\n };\n\n /**\n * D double quoted string literal\n *\n * @type {Object}\n */\n const D_STRING_MODE = {\n className: 'string',\n begin: '\"',\n contains: [ D_ESCAPE_SEQUENCE ],\n end: '\"[cwd]?'\n };\n\n /**\n * D wysiwyg and delimited string literals\n *\n * @type {Object}\n */\n const D_WYSIWYG_DELIMITED_STRING_MODE = {\n className: 'string',\n begin: '[rq]\"',\n end: '\"[cwd]?',\n relevance: 5\n };\n\n /**\n * D alternate wysiwyg string literal\n *\n * @type {Object}\n */\n const D_ALTERNATE_WYSIWYG_STRING_MODE = {\n className: 'string',\n begin: '`',\n end: '`[cwd]?'\n };\n\n /**\n * D hexadecimal string literal\n *\n * @type {Object}\n */\n const D_HEX_STRING_MODE = {\n className: 'string',\n begin: 'x\"[\\\\da-fA-F\\\\s\\\\n\\\\r]*\"[cwd]?',\n relevance: 10\n };\n\n /**\n * D delimited string literal\n *\n * @type {Object}\n */\n const D_TOKEN_STRING_MODE = {\n className: 'string',\n begin: 'q\"\\\\{',\n end: '\\\\}\"'\n };\n\n /**\n * Hashbang support\n *\n * @type {Object}\n */\n const D_HASHBANG_MODE = {\n className: 'meta',\n begin: '^#!',\n end: '$',\n relevance: 5\n };\n\n /**\n * D special token sequence\n *\n * @type {Object}\n */\n const D_SPECIAL_TOKEN_SEQUENCE_MODE = {\n className: 'meta',\n begin: '#(line)',\n end: '$',\n relevance: 5\n };\n\n /**\n * D attributes\n *\n * @type {Object}\n */\n const D_ATTRIBUTE_MODE = {\n className: 'keyword',\n begin: '@[a-zA-Z_][a-zA-Z_\\\\d]*'\n };\n\n /**\n * D nesting comment\n *\n * @type {Object}\n */\n const D_NESTING_COMMENT_MODE = hljs.COMMENT(\n '\\\\/\\\\+',\n '\\\\+\\\\/',\n {\n contains: [ 'self' ],\n relevance: 10\n }\n );\n\n return {\n name: 'D',\n keywords: D_KEYWORDS,\n contains: [\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n D_NESTING_COMMENT_MODE,\n D_HEX_STRING_MODE,\n D_STRING_MODE,\n D_WYSIWYG_DELIMITED_STRING_MODE,\n D_ALTERNATE_WYSIWYG_STRING_MODE,\n D_TOKEN_STRING_MODE,\n D_FLOAT_MODE,\n D_INTEGER_MODE,\n D_CHARACTER_MODE,\n D_HASHBANG_MODE,\n D_SPECIAL_TOKEN_SEQUENCE_MODE,\n D_ATTRIBUTE_MODE\n ]\n };\n}\n\nmodule.exports = d;\n"],"names":["module","exports","hljs","D_KEYWORDS","$pattern","UNDERSCORE_IDENT_RE","keyword","built_in","literal","integer_re","escape_sequence_re","D_INTEGER_MODE","className","begin","relevance","D_FLOAT_MODE","D_CHARACTER_MODE","end","illegal","D_STRING_MODE","contains","D_NESTING_COMMENT_MODE","COMMENT","name","keywords","C_LINE_COMMENT_MODE","C_BLOCK_COMMENT_MODE"],"sourceRoot":""} |