telegram-tt/dist/5239.73400cf76a319169f599.js.map

1 line
4.3 KiB
Plaintext
Raw Normal View History

2022-05-20 17:57:33 +02:00
{"version":3,"file":"5239.73400cf76a319169f599.js","mappings":"sFA8JAA,EAAOC,QAtJP,SAAaC,GACX,MAAMC,EAAQD,EAAKC,MACbC,EAAW,CACf,MACA,MACA,KACA,MACA,KACA,MACA,MACA,cACA,QACA,OACA,KACA,SACA,OACA,MACA,OACA,MACA,QACA,KACA,KACA,SACA,OACA,KACA,QACA,QACA,OACA,OAGIC,EAAgB,CACpBH,EAAKI,oBACLJ,EAAKK,QACH,KACA,KACA,CAAEC,UAAW,IAEfN,EAAKK,QACH,OACA,OACA,CAAEC,UAAW,MAGXC,EAAS,CACbC,UAAW,SACXC,MAAO,IACPC,IAAK,IACLC,SAAU,CAAE,CAAEF,MAAO,QAEjBG,EAAc,CAClBJ,UAAW,SACXC,MAAO,WAaHI,EAAY,CAChBC,MAAO,CACL,YACA,MACA,kBACA,OAEFC,MAAO,CACL,EAAG,UACH,EAAG,kBAELJ,SAAU,CACR,CACEH,UAAW,SACXC,MAAO,KACPC,IAAK,KACLM,SAAUd,EACVS,SAAU,CACRJ,EACAK,EACAZ,EAAKiB,iBAGNd,IAeDe,EAAS,CACbJ,MAAO,CACL,SACA,MACAb,EAAMkB,OAdR,QACA,OACA,SACA,WACA,WACA,UACA,YACA,OACA,SAOE,MACA,MACA,eACA,KACA,KAEFb,UAAW,EACXS,MAAO,CACL,EAAG,UACH,EAAG,OACH,EAAG,SACH,EAAG,UAUP,MAAO,CACLK,KAAM,OACNC,kBAAkB,EAClBL,SAAU,CACRM,QAASpB,EACTqB,QAxGa,cA0GfC,QAAS,OACTb,SAAU,CAdK,CACfG,MAAO,cACPC,MAAO,YACPT,UAAW,GAaTC,EACAK,EAtFS,CACXJ,UAAW,SACXC,MAAO,4BACPH,UAAW,GAEe,CAC1BE,UAAW,SACXC,MAAO,IACPC,IAAK,KAiFHV,EAAKiB,YACLC,EACAL","sources":["webpack://telegram-t/./node_modules/highlight.js/lib/languages/cal.js"],"sourcesContent":["/*\nLanguage: C/AL\nAuthor: Kenneth Fuglsang Christensen <kfuglsang@gmail.com>\nDescription: Provides highlighting of Microsoft Dynamics NAV C/AL code files\nWebsite: https://docs.microsoft.com/en-us/dynamics-nav/programming-in-c-al\n*/\n\n/** @type LanguageFn */\nfunction cal(hljs) {\n const regex = hljs.regex;\n const KEYWORDS = [\n \"div\",\n \"mod\",\n \"in\",\n \"and\",\n \"or\",\n \"not\",\n \"xor\",\n \"asserterror\",\n \"begin\",\n \"case\",\n \"do\",\n \"downto\",\n \"else\",\n \"end\",\n \"exit\",\n \"for\",\n \"local\",\n \"if\",\n \"of\",\n \"repeat\",\n \"then\",\n \"to\",\n \"until\",\n \"while\",\n \"with\",\n \"var\"\n ];\n const LITERALS = 'false true';\n const COMMENT_MODES = [\n hljs.C_LINE_COMMENT_MODE,\n hljs.COMMENT(\n /\\{/,\n /\\}/,\n { relevance: 0 }\n ),\n hljs.COMMENT(\n /\\(\\*/,\n /\\*\\)/,\n { relevance: 10 }\n )\n ];\n const STRING = {\n className: 'string',\n begin: /'/,\n end: /'/,\n contains: [ { begin: /''/ } ]\n };\n const CHAR_STRING = {\n className: 'string',\n begin: /(#\\d+)+/\n };\n const DATE = {\n className: 'number',\n begin: '\\\\b\\\\d+(\\\\.\\\\d+)?(DT|D|T)',\n relevance: 0\n };\n const DBL_QUOTED_VARIABLE = {\n className: 'string', // not a string technically but makes sense to be highlighted in the same style\n begin: '\"',\n end: '\"'\n };\n\n const PROCEDURE = {\n match: [\n /procedure/,\n /\\s+/,\n /[a-zA-Z_][\\w@]*/,\n /\\s*/\n ],\n scope: {\n 1: \"keyword\",\n 3: \"title.function\"\n },\n contains: [\n {\n className: 'params',\n begin: /\\(/,\n end: /\\)/,\n keywords: KEYWORDS,\n contains: [\n STRING,\n CHAR_STRING,\n hljs.NUMBER_MODE\n ]\n },\n ...COMMENT_MODES\n ]\n };\n\n const OBJECT_TYPES = [\n \"Table\",\n \"Form\",\n \"Report\",\n \"Dataport\",\n \"Codeunit\",\n \"XMLport\",\n \"MenuSuite\",\n \"Page\",\n \"Query\"\n ];\n const OBJECT = {\n match: [\n /OBJECT/,\n /\\s+/,\n regex.either(...OBJECT_TYPES),\n /\\s+/,\n /\\d+/,\n /\\s+(?=[^\\s])/,\n /.*/,\n /$/\n ],\n relevance: 3,\n scope: {\n 1: \"keyword\",\n 3: \"type\",\n 5: \"number\",\n 7: \"title\"\n }\n };\n\n const PROPERTY = {\n match: /[\\w]+(?=\\=)/,\n scope: \"attribute\",\n relevance: 0\n };\n\n return {\n name: 'C/AL',\n case_insensitive: true,\n keywords: {\n keyword: KEYWORDS,\n literal: LITERALS\n },\n illegal: /\\/\\*/,\n contains: [\n PROPERTY,\n STRING,\n CHAR_STRING,\n DATE,\n DBL_QUOTED_VARIABLE,\n hljs.NUMBER_MODE,\n OBJECT,\n PROCEDURE\n ]\n };\n}\n\nmo