mirror of
https://github.com/danog/telegram-tt.git
synced 2024-11-26 20:34:44 +01:00
1 line
5.6 KiB
Plaintext
1 line
5.6 KiB
Plaintext
{"version":3,"file":"2342.f8d4331788cc89a2b694.js","mappings":"sFAOA,SAASA,EAASA,EAAUC,EAAM,IAEhC,OADAA,EAAID,SAAWA,EACRC,EAkLTC,EAAOC,QA/KP,SAAgBC,GACd,MAAMC,EAAQD,EAAKC,MACbC,EAAW,iBACXC,EAAUP,EAAS,CACvBI,EAAKI,oBACLJ,EAAKK,qBACLL,EAAKG,QACH,UACA,OACA,CACEG,UAAW,EACXC,SAAU,CACR,CAEEC,MAAO,OACPF,UAAW,GAEb,CACEG,UAAW,SACXD,MAAO,mBAMXE,EAAS,CACbD,UAAW,SACXD,MAAO,iBACPD,SAAU,CAAEP,EAAKW,mBAEbC,EAAShB,EAAS,CACtBI,EAAKa,mBACLb,EAAKc,gBAEDC,EAASnB,EAAS,CACtB,CACEY,MAAO,MACPQ,IAAK,OAEP,CACER,MAAO,MACPQ,IAAK,OAEP,CACER,MAAO,OACPQ,IAAK,OACLV,UAAW,IAEbN,EAAKiB,iBACLjB,EAAKkB,mBAEP,CAAET,UAAW,WAGPU,EAAmB,CACvBC,MAAO,CACL,kDACA,MACApB,EAAKqB,qBAEPC,MAAO,CACL,EAAG,UACH,EAAG,gBAyDP,MAAO,CACLC,KAAM,SACNC,SAAU,CACR,oBAAqB,aACrBC,QAAS,kBACTC,KA3DU,CACZ,OACA,QACA,OACA,MACA,OACA,UACA,QACA,SACA,QAmDEC,QAjDa,CAEf,MACA,KACA,KACA,SACA,QAEA,WACA,SACA,WACA,YACA,SACA,UACA,YACA,eACA,QACA,QACA,YACA,OACA,KACA,OACA,MACA,QACA,SACA,OACA,QACA,UACA,WACA,QACA,SACA,MACA,QACA,UACA,aACA,UACA,MACA,SACA,UACA,SACA,eAWApB,SAAU,CACRP,EAAK4B,QAAQ,CACXC,OAAQ,SACRvB,UAAW,KAEbH,EACAY,EACAL,EACAE,EACAO,EACA,CACEV,UAAW,OACXD,MAAO,aACPF,UAAW,GAEb,CAEEG,UAAW,OACXD,MAAON,EAAW,UAClBI,UAAW,GAEb,CAGEE,MAAO,KACPQ,IAAK,IACLV,UAAW,EACXC,SAAU,CACRJ,EACAY,EACAL,EACAE,EACA,SAGJ,CAEEH,UAAW,SACXD,MAAO,UAAYP,EAAM6B,UAAU5B,EAAW,KAC9C6B,cAAc,EACdf,IAAKd,EAAW,IAChBI,UAAW,IAGf0B,QAAS","sources":["webpack://telegram-t/./node_modules/highlight.js/lib/languages/groovy.js"],"sourcesContent":["/*\n Language: Groovy\n Author: Guillaume Laforge <glaforge@gmail.com>\n Description: Groovy programming language implementation inspired from Vsevolod's Java mode\n Website: https://groovy-lang.org\n */\n\nfunction variants(variants, obj = {}) {\n obj.variants = variants;\n return obj;\n}\n\nfunction groovy(hljs) {\n const regex = hljs.regex;\n const IDENT_RE = '[A-Za-z0-9_$]+';\n const COMMENT = variants([\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n hljs.COMMENT(\n '/\\\\*\\\\*',\n '\\\\*/',\n {\n relevance: 0,\n contains: [\n {\n // eat up @'s in emails to prevent them to be recognized as doctags\n begin: /\\w+@/,\n relevance: 0\n },\n {\n className: 'doctag',\n begin: '@[A-Za-z]+'\n }\n ]\n }\n )\n ]);\n const REGEXP = {\n className: 'regexp',\n begin: /~?\\/[^\\/\\n]+\\//,\n contains: [ hljs.BACKSLASH_ESCAPE ]\n };\n const NUMBER = variants([\n hljs.BINARY_NUMBER_MODE,\n hljs.C_NUMBER_MODE\n ]);\n const STRING = variants([\n {\n begin: /\"\"\"/,\n end: /\"\"\"/\n },\n {\n begin: /'''/,\n end: /'''/\n },\n {\n begin: \"\\\\$/\",\n end: \"/\\\\$\",\n relevance: 10\n },\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE\n ],\n { className: \"string\" }\n );\n\n const CLASS_DEFINITION = {\n match: [\n /(class|interface|trait|enum|extends|implements)/,\n /\\s+/,\n hljs.UNDERSCORE_IDENT_RE\n ],\n scope: {\n 1: \"keyword\",\n 3: \"title.class\",\n }\n };\n const TYPES = [\n \"byte\",\n \"short\",\n \"char\",\n \"int\",\n \"long\",\n \"boolean\",\n \"float\",\n \"double\",\n \"void\"\n ];\n const KEYWORDS = [\n // groovy specific keywords\n \"def\",\n \"as\",\n \"in\",\n \"assert\",\n \"trait\",\n // common keywords with Java\n \"abstract\",\n \"static\",\n \"volatile\",\n \"transient\",\n \"public\",\n \"private\",\n \"protected\",\n \"synchronized\",\n \"final\",\n \"class\",\n \"interface\",\n \"enum\",\n \"if\",\n \"else\",\n \"for\",\n \"while\",\n \"switch\",\n \"case\",\n \"break\",\n \"default\",\n \"continue\",\n \"throw\",\n \"throws\",\n \"try\",\n \"catch\",\n \"finally\",\n \"implements\",\n \"extends\",\n \"new\",\n \"import\",\n \"package\",\n \"return\",\n \"instanceof\"\n ];\n\n return {\n name: 'Groovy',\n keywords: {\n \"variable.language\": 'this super',\n literal: 'true false null',\n type: TYPES,\n keyword: KEYWORDS\n },\n contains: [\n hljs.SHEBANG({\n binary: \"groovy\",\n relevance: 10\n }),\n COMMENT,\n STRING,\n REGEXP,\n NUMBER,\n CLASS_DEFINITION,\n {\n className: 'meta',\n begin: '@[A-Za-z]+',\n relevance: 0\n },\n {\n // highlight map keys and named parameters as attrs\n className: 'attr',\n begin: IDENT_RE + '[ \\t]*:',\n relevance: 0\n },\n {\n // catch middle element of the ternary operator\n // to avoid highlight it as a label, named parameter, or map key\n begin: /\\?/,\n end: /:/,\n relevance: 0,\n contains: [\n COMMENT,\n STRING,\n REGEXP,\n NUMBER,\n 'self'\n ]\n },\n {\n // highlight labeled statements\n className: 'symbol',\n begin: '^[ \\t]*' + regex.lookahead(IDENT_RE + ':'),\n excludeBegin: true,\n end: IDENT_RE + ':',\n relevance: 0\n }\n ],\n illegal: /#|<\\//\n };\n}\n\nmodule.exports = groovy;\n"],"names":["variants","obj","module","exports","hljs","regex","IDENT_RE","COMMENT","C_LINE_COMMENT_MODE","C_BLOCK_COMMENT_MODE","relevance","contains","begin","className","REGEXP","BACKSLASH_ESCAPE","NUMBER","BINARY_NUMBER_MODE","C_NUMBER_MODE","STRING","end","APOS_STRING_MODE","QUOTE_STRING_MODE","CLASS_DEFINITION","match","UNDERSCORE_IDENT_RE","scope","name","keywords","literal","type","keyword","SHEBANG","binary","lookahead","excludeBegin","illegal"],"sourceRoot":""} |