mirror of
https://github.com/danog/telegram-tt.git
synced 2024-12-12 00:59:52 +01:00
1 line
5.0 KiB
Plaintext
1 line
5.0 KiB
Plaintext
{"version":3,"file":"5999.3b1c15d4285915dddc03.js","mappings":"sFA+HAA,EAAOC,QAtHP,SAAgBC,GACd,MAAMC,EAAS,CACbC,UAAW,SACXC,SAAU,CAAEH,EAAKI,kBACjBC,SAAU,CACRL,EAAKM,QAAQN,EAAKO,iBAAkB,CAAEC,QAAS,OAC/CR,EAAKM,QAAQN,EAAKS,kBAAmB,CAAED,QAAS,SAG9CE,EAAaV,EAAKW,sBAClBC,EAAS,CAAEP,SAAU,CACzBL,EAAKa,mBACLb,EAAKc,gBAEDC,EAEJ,sfAyBF,MAAO,CACLC,KAAM,SACNC,QAAS,CAAE,OACXC,SAAUH,EACVZ,SAAU,CACRH,EAAKmB,oBACLnB,EAAKoB,QACH,OACA,OACA,CAAEjB,SAAU,CACV,CACED,UAAW,SACXmB,MAAO,iBAIb,CACEnB,UAAW,SACXmB,MAAO,oBACPC,IAAK,QACLnB,SAAU,CAAEH,EAAKI,mBAEnB,CAEEiB,MAAO,oDACT,CACEnB,UAAW,WACXqB,cAAe,cACfD,IAAK,OACLE,YAAY,EACZhB,QAAS,UACTL,SAAU,CACRO,EACA,CACER,UAAW,SACXmB,MAAO,KACPC,IAAK,KACLJ,SAAUH,EACVZ,SAAU,CACR,OACAH,EAAKyB,qBACLxB,EACAW,MAKR,CACEV,UAAW,QACXqB,cAAe,kBACfD,IAAK,KACLE,YAAY,EACZhB,QAAS,SACTL,SAAU,CACR,CAAEoB,cAAe,sBACjBb,IAGJ,CACEa,cAAe,YACfD,IAAK,IACLd,QAAS,OACTL,SAAU,CAAEO,IAEd,CACEa,cAAe,MACfD,IAAK,IACLnB,SAAU,CAAEO,IAEd,CAAEW,MAAO,MAETpB,EACAW","sources":["webpack://telegram-t/./node_modules/highlight.js/lib/languages/zephir.js"],"sourcesContent":["/*\n Language: Zephir\n Description: Zephir, an open source, high-level language designed to ease the creation and maintainability of extensions for PHP with a focus on type and memory safety.\n Author: Oleg Efimov <efimovov@gmail.com>\n Website: https://zephir-lang.com/en\n Audit: 2020\n */\n\n/** @type LanguageFn */\nfunction zephir(hljs) {\n const STRING = {\n className: 'string',\n contains: [ hljs.BACKSLASH_ESCAPE ],\n variants: [\n hljs.inherit(hljs.APOS_STRING_MODE, { illegal: null }),\n hljs.inherit(hljs.QUOTE_STRING_MODE, { illegal: null })\n ]\n };\n const TITLE_MODE = hljs.UNDERSCORE_TITLE_MODE;\n const NUMBER = { variants: [\n hljs.BINARY_NUMBER_MODE,\n hljs.C_NUMBER_MODE\n ] };\n const KEYWORDS =\n // classes and objects\n 'namespace class interface use extends '\n + 'function return '\n + 'abstract final public protected private static deprecated '\n // error handling\n + 'throw try catch Exception '\n // keyword-ish things their website does NOT seem to highlight (in their own snippets)\n // 'typeof fetch in ' +\n // operators/helpers\n + 'echo empty isset instanceof unset '\n // assignment/variables\n + 'let var new const self '\n // control\n + 'require '\n + 'if else elseif switch case default '\n + 'do while loop for continue break '\n + 'likely unlikely '\n // magic constants\n // https://github.com/phalcon/zephir/blob/master/Library/Expression/Constants.php\n + '__LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ '\n // types - https://docs.zephir-lang.com/0.12/en/types\n + 'array boolean float double integer object resource string '\n + 'char long unsigned bool int uint ulong uchar '\n // built-ins\n + 'true false null undefined';\n\n return {\n name: 'Zephir',\n aliases: [ 'zep' ],\n keywords: KEYWORDS,\n contains: [\n hljs.C_LINE_COMMENT_MODE,\n hljs.COMMENT(\n /\\/\\*/,\n /\\*\\//,\n { contains: [\n {\n className: 'doctag',\n begin: /@[A-Za-z]+/\n }\n ] }\n ),\n {\n className: 'string',\n begin: /<<<['\"]?\\w+['\"]?$/,\n end: /^\\w+;/,\n contains: [ hljs.BACKSLASH_ESCAPE ]\n },\n {\n // swallow composed identifiers to avoid parsing them as keywords\n begin: /(::|->)+[a-zA-Z_\\x7f-\\xff][a-zA-Z0-9_\\x7f-\\xff]*/ },\n {\n className: 'function',\n beginKeywords: 'function fn',\n end: /[;{]/,\n excludeEnd: true,\n illegal: /\\$|\\[|%/,\n contains: [\n TITLE_MODE,\n {\n className: 'params',\n begin: /\\(/,\n end: /\\)/,\n keywords: KEYWORDS,\n contains: [\n 'self',\n hljs.C_BLOCK_COMMENT_MODE,\n STRING,\n NUMBER\n ]\n }\n ]\n },\n {\n className: 'class',\n beginKeywords: 'class interface',\n end: /\\{/,\n excludeEnd: true,\n illegal: /[:($\"]/,\n contains: [\n { beginKeywords: 'extends implements' },\n TITLE_MODE\n ]\n },\n {\n beginKeywords: 'namespace',\n end: /;/,\n illegal: /[.']/,\n contains: [ TITLE_MODE ]\n },\n {\n beginKeywords: 'use',\n end: /;/,\n contains: [ TITLE_MODE ]\n },\n { begin: /=>/ // No markup, just a relevance booster\n },\n STRING,\n NUMBER\n ]\n };\n}\n\nmodule.exports = zephir;\n"],"names":["module","exports","hljs","STRING","className","contains","BACKSLASH_ESCAPE","variants","inherit","APOS_STRING_MODE","illegal","QUOTE_STRING_MODE","TITLE_MODE","UNDERSCORE_TITLE_MODE","NUMBER","BINARY_NUMBER_MODE","C_NUMBER_MODE","KEYWORDS","name","aliases","keywords","C_LINE_COMMENT_MODE","COMMENT","begin","end","beginKeywords","excludeEnd","C_BLOCK_COMMENT_MODE"],"sourceRoot":""} |