mirror of
https://github.com/danog/telegram-tt.git
synced 2024-12-15 18:57:12 +01:00
1 line
2.4 KiB
Plaintext
1 line
2.4 KiB
Plaintext
|
{"version":3,"file":"9400.9f2f9a821c3a64e5473d.js","mappings":"sFA6EAA,EAAOC,QArEP,SAAkBC,GAChB,MA2BMC,EAAmB,CACvBC,MAAO,CACL,4BACAF,EAAKG,UAEPC,MAAO,CACL,EAAG,UACH,EAAG,gBAIP,MAAO,CACLC,KAAM,mBACNC,SAAU,CACRC,QAzCa,CACf,UACA,SACA,SACA,WACA,WACA,WACA,QACA,SAkCEC,KAhCU,CACZ,SACA,QACA,QACA,QACA,SACA,SACA,SACA,SACA,UACA,UACA,WACA,WACA,OACA,SACA,SAkBEC,QAAS,CACP,OACA,UAGJC,SAAU,CACRV,EAAKW,kBACLX,EAAKY,YACLZ,EAAKa,oBACLb,EAAKc,qBACLb,EACA,CACEc,UAAW,WACXC,cAAe,MACfC,IAAK,OACLC,YAAY,EACZZ,SAAU,eAEZ,CAEEa,MAAO","sources":["webpack://telegram-t/./node_modules/highlight.js/lib/languages/protobuf.js"],"sourcesContent":["/*\nLanguage: Protocol Buffers\nAuthor: Dan Tao <daniel.tao@gmail.com>\nDescription: Protocol buffer message definition format\nWebsite: https://developers.google.com/protocol-buffers/docs/proto3\nCategory: protocols\n*/\n\nfunction protobuf(hljs) {\n const KEYWORDS = [\n \"package\",\n \"import\",\n \"option\",\n \"optional\",\n \"required\",\n \"repeated\",\n \"group\",\n \"oneof\"\n ];\n const TYPES = [\n \"double\",\n \"float\",\n \"int32\",\n \"int64\",\n \"uint32\",\n \"uint64\",\n \"sint32\",\n \"sint64\",\n \"fixed32\",\n \"fixed64\",\n \"sfixed32\",\n \"sfixed64\",\n \"bool\",\n \"string\",\n \"bytes\"\n ];\n const CLASS_DEFINITION = {\n match: [\n /(message|enum|service)\\s+/,\n hljs.IDENT_RE\n ],\n scope: {\n 1: \"keyword\",\n 2: \"title.class\"\n }\n };\n\n return {\n name: 'Protocol Buffers',\n keywords: {\n keyword: KEYWORDS,\n type: TYPES,\n literal: [\n 'true',\n 'false'\n ]\n },\n contains: [\n hljs.QUOTE_STRING_MODE,\n hljs.NUMBER_MODE,\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n CLASS_DEFINITION,\n {\n className: 'function',\n beginKeywords: 'rpc',\n end: /[{;]/,\n excludeEnd: true,\n keywords: 'rpc returns'\n },\n { // match enum items (relevance)\n // BLAH = ...;\n begin: /^\\s*[A-Z_]+(?=\\s*=[^\\n]+;$)/ }\n ]\n };\n}\n\nmodule.exports = protobuf;\n"],"names":["module","exports","hljs","CLASS_DEFINITION","match","IDENT_RE","scope","name","keywords","keyword","type","literal","contains","QUOTE_STRING_MODE","NUMBER_MODE","C_LINE_COMMENT_MODE","C_BLOCK_COMMENT_MODE","className","beginKeywords","end","excludeEnd","begin"],"sourceRoot":""}
|