mirror of
https://github.com/danog/telegram-tt.git
synced 2024-12-15 02:37:17 +01:00
1 line
15 KiB
Plaintext
1 line
15 KiB
Plaintext
{"version":3,"file":"5368.892f890338957f00fc23.js","mappings":"qFAyiBAA,EAAOC,QAliBP,SAAcC,GACZ,MAAMC,EAAQD,EAAKC,MA0IbC,EAAY,CAChBC,UAAW,oBACXC,MAAOH,EAAMI,OAAO,KAAMJ,EAAMK,OA1IhC,aACA,UACA,cACA,UACA,gBACA,gBACA,cACA,UACA,UACA,YACA,SACA,UACA,UACA,YACA,QACA,UACA,aACA,UACA,iBACA,WACA,eACA,QACA,UACA,SACA,WACA,aACA,YACA,UACA,iBACA,iBACA,eACA,cACA,SACA,sBACA,YACA,SACA,aACA,YACA,YACA,SACA,OACA,YACA,SACA,YAkGIC,EAAU,CAEdJ,UAAW,WACXC,MAAO,qBAGHI,EAAY,CAEhBL,UAAW,WACXC,MAAO,eACPK,QAAS,YAGLC,EAAY,CAEhBP,UAAW,WACXC,MAAO,qBAGHO,EAAa,CAEjBR,UAAW,SACXC,MAAOH,EAAMK,OApHb,UACA,yBACA,wBACA,yBACA,0BACA,wBACA,2BACA,OACA,OACA,OACA,oBACA,sBACA,oBACA,gBACA,qBACA,wBACA,aACA,OACA,OACA,MACA,UACA,WACA,WACA,OACA,OACA,UACA,QACA,sBACA,gBACA,gBACA,gBACA,gBACA,qBACA,qBACA,kBACA,cACA,QACA,cACA,iBACA,WACA,gBACA,mBACA,aACA,cACA,WACA,SACA,UACA,WACA,QACA,gBACA,qBAqEIM,EAAW,CAEfT,UAAW,UACXC,MAAOH,EAAMI,OACX,IACAJ,EAAMK,OAtER,gBACA,eACA,aACA,KACA,SACA,UACA,OACA,OACA,QACA,QACA,UACA,WACA,gBACA,gBACA,KACA,QACA,aACA,cACA,SACA,UACA,cACA,QACA,WACA,WACA,UACA,cACA,gBACA,SACA,WACA,QACA,iBACA,UACA,aAsDIO,EAAS,CACbV,UAAW,SACXW,SAAU,CACR,CACEV,MAAO,IACPW,IAAK,KAEP,CACEX,MAAO,IACPW,IAAK,KAEP,CACEX,MAAO,IACPW,IAAK,MAGTN,QAAS,KACTO,SAAU,CA7BS,CAEnBb,UAAW,cACXC,MAAO,kBA4BLF,EACAK,EACAC,EACAE,IAmREO,EAAsB,CAC1BC,MAAO,CACL,WACA,MACAjB,EAAMI,OAAO,QAASL,EAAKmB,WAE7BC,MAAO,CACL,EAAG,UACH,EAAG,mBAqBP,MAAO,CACLC,KAAM,OACNC,kBAAkB,EAClBC,SAAU,CACRC,QAhTa,CACf,QACA,mBACA,UACA,sBACA,iBACA,kBACA,SACA,aACA,eACA,eACA,OACA,cACA,UACA,WACA,cACA,cACA,gBACA,gBACA,YACA,WACA,kBACA,aACA,iBACA,SACA,eACA,eACA,eACA,iBACA,cACA,oBACA,UACA,SACA,YACA,eACA,aACA,eACA,OACA,OACA,YACA,gBACA,WACA,mBACA,OACA,cACA,YACA,gBACA,WACA,WACA,eACA,kBACA,eACA,mBACA,WACA,YACA,gBACA,gBACA,YACA,YACA,WACA,aACA,WACA,iBACA,oBACA,aACA,gBACA,qBACA,gBACA,cACA,mBACA,kBACA,qBACA,kBACA,qBACA,kBACA,kBACA,YACA,OACA,aACA,OACA,UACA,WACA,eACA,eACA,gBACA,uBACA,WACA,iBACA,oBACA,gBACA,aACA,mBACA,oBACA,WACA,kBACA,kBACA,WACA,YACA,WACA,SACA,UACA,SACA,QACA,YACA,aACA,WACA,WACA,aACA,iBACA,cACA,wBACA,oBACA,cACA,kBACA,mBACA,aACA,SACA,UACA,mBACA,wBACA,2BACA,sBACA,aACA,iBACA,SACA,MACA,UACA,OACA,gBACA,gBACA,uBACA,mBACA,cACA,MACA,OACA,OACA,aACA,aACA,eACA,aACA,SACA,SACA,SACA,wBACA,cACA,SACA,QACA,aACA,kBACA,sBACA,iBACA,iBACA,YACA,kBACA,sBACA,iBACA,iBACA,cACA,eACA,mBACA,cACA,gBACA,wBACA,eACA,iBACA,uBACA,cACA,kBACA,iBACA,gBACA,YACA,oBACA,UACA,aACA,eACA,gBACA,aACA,qBACA,YACA,kBACA,oBACA,aACA,gBACA,kBACA,QACA,aACA,SACA,UACA,SACA,SACA,aACA,UACA,sBACA,mBACA,gBACA,sBACA,gBACA,aACA,WACA,MACA,kBACA,gBACA,mBACA,aACA,cACA,cACA,gBACA,oBACA,mBACA,eACA,cACA,mBACA,WA6FEC,QA1Fa,CACf,QACA,MACA,OACA,OACA,SACA,QACA,UACA,aACA,UACA,SACA,YACA,QACA,QACA,OACA,UACA,SACA,UACA,YACA,WACA,QACA,OACA,UACA,WACA,OACA,YACA,OACA,SACA,SACA,MACA,KACA,OACA,QACA,QACA,OACA,SACA,YACA,SACA,WACA,MACA,OACA,MACA,gBACA,YACA,eACA,eACA,aACA,gBACA,OACA,QACA,OACA,OACA,WACA,SAuCAT,SAAU,CACRhB,EAAK0B,kBACL1B,EAAK2B,qBACL3B,EAAK4B,QACH,IACA,IACA,CAAEC,UAAW,IA3BS,CAC1BX,MAAO,CACL,MACA,MACA,mBALqB,kBAQvBE,MAAO,CACL,EAAG,UACH,EAAG,SACH,EAAG,aAoBHH,EACA,CAAEa,cAAe,+DACjBjB,EACAD,EACAL,EACAC,EACAE,EACAC,EAnWY,CAEdR,UAAW,iBACXC,MAAO,YAkWLJ,EAAK+B","sources":["webpack://telegram-t/./node_modules/highlight.js/lib/languages/nsis.js"],"sourcesContent":["/*\nLanguage: NSIS\nDescription: Nullsoft Scriptable Install System\nAuthor: Jan T. Sott <jan.sott@gmail.com>\nWebsite: https://nsis.sourceforge.io/Main_Page\n*/\n\nfunction nsis(hljs) {\n const regex = hljs.regex;\n const LANGUAGE_CONSTANTS = [\n \"ADMINTOOLS\",\n \"APPDATA\",\n \"CDBURN_AREA\",\n \"CMDLINE\",\n \"COMMONFILES32\",\n \"COMMONFILES64\",\n \"COMMONFILES\",\n \"COOKIES\",\n \"DESKTOP\",\n \"DOCUMENTS\",\n \"EXEDIR\",\n \"EXEFILE\",\n \"EXEPATH\",\n \"FAVORITES\",\n \"FONTS\",\n \"HISTORY\",\n \"HWNDPARENT\",\n \"INSTDIR\",\n \"INTERNET_CACHE\",\n \"LANGUAGE\",\n \"LOCALAPPDATA\",\n \"MUSIC\",\n \"NETHOOD\",\n \"OUTDIR\",\n \"PICTURES\",\n \"PLUGINSDIR\",\n \"PRINTHOOD\",\n \"PROFILE\",\n \"PROGRAMFILES32\",\n \"PROGRAMFILES64\",\n \"PROGRAMFILES\",\n \"QUICKLAUNCH\",\n \"RECENT\",\n \"RESOURCES_LOCALIZED\",\n \"RESOURCES\",\n \"SENDTO\",\n \"SMPROGRAMS\",\n \"SMSTARTUP\",\n \"STARTMENU\",\n \"SYSDIR\",\n \"TEMP\",\n \"TEMPLATES\",\n \"VIDEOS\",\n \"WINDIR\"\n ];\n\n const PARAM_NAMES = [\n \"ARCHIVE\",\n \"FILE_ATTRIBUTE_ARCHIVE\",\n \"FILE_ATTRIBUTE_NORMAL\",\n \"FILE_ATTRIBUTE_OFFLINE\",\n \"FILE_ATTRIBUTE_READONLY\",\n \"FILE_ATTRIBUTE_SYSTEM\",\n \"FILE_ATTRIBUTE_TEMPORARY\",\n \"HKCR\",\n \"HKCU\",\n \"HKDD\",\n \"HKEY_CLASSES_ROOT\",\n \"HKEY_CURRENT_CONFIG\",\n \"HKEY_CURRENT_USER\",\n \"HKEY_DYN_DATA\",\n \"HKEY_LOCAL_MACHINE\",\n \"HKEY_PERFORMANCE_DATA\",\n \"HKEY_USERS\",\n \"HKLM\",\n \"HKPD\",\n \"HKU\",\n \"IDABORT\",\n \"IDCANCEL\",\n \"IDIGNORE\",\n \"IDNO\",\n \"IDOK\",\n \"IDRETRY\",\n \"IDYES\",\n \"MB_ABORTRETRYIGNORE\",\n \"MB_DEFBUTTON1\",\n \"MB_DEFBUTTON2\",\n \"MB_DEFBUTTON3\",\n \"MB_DEFBUTTON4\",\n \"MB_ICONEXCLAMATION\",\n \"MB_ICONINFORMATION\",\n \"MB_ICONQUESTION\",\n \"MB_ICONSTOP\",\n \"MB_OK\",\n \"MB_OKCANCEL\",\n \"MB_RETRYCANCEL\",\n \"MB_RIGHT\",\n \"MB_RTLREADING\",\n \"MB_SETFOREGROUND\",\n \"MB_TOPMOST\",\n \"MB_USERICON\",\n \"MB_YESNO\",\n \"NORMAL\",\n \"OFFLINE\",\n \"READONLY\",\n \"SHCTX\",\n \"SHELL_CONTEXT\",\n \"SYSTEM|TEMPORARY\",\n ];\n\n const COMPILER_FLAGS = [\n \"addincludedir\",\n \"addplugindir\",\n \"appendfile\",\n \"cd\",\n \"define\",\n \"delfile\",\n \"echo\",\n \"else\",\n \"endif\",\n \"error\",\n \"execute\",\n \"finalize\",\n \"getdllversion\",\n \"gettlbversion\",\n \"if\",\n \"ifdef\",\n \"ifmacrodef\",\n \"ifmacrondef\",\n \"ifndef\",\n \"include\",\n \"insertmacro\",\n \"macro\",\n \"macroend\",\n \"makensis\",\n \"packhdr\",\n \"searchparse\",\n \"searchreplace\",\n \"system\",\n \"tempfile\",\n \"undef\",\n \"uninstfinalize\",\n \"verbose\",\n \"warning\",\n ];\n\n const CONSTANTS = {\n className: 'variable.constant',\n begin: regex.concat(/\\$/, regex.either(...LANGUAGE_CONSTANTS))\n };\n\n const DEFINES = {\n // ${defines}\n className: 'variable',\n begin: /\\$+\\{[\\!\\w.:-]+\\}/\n };\n\n const VARIABLES = {\n // $variables\n className: 'variable',\n begin: /\\$+\\w[\\w\\.]*/,\n illegal: /\\(\\)\\{\\}/\n };\n\n const LANGUAGES = {\n // $(language_strings)\n className: 'variable',\n begin: /\\$+\\([\\w^.:!-]+\\)/\n };\n\n const PARAMETERS = {\n // command parameters\n className: 'params',\n begin: regex.either(...PARAM_NAMES)\n };\n\n const COMPILER = {\n // !compiler_flags\n className: 'keyword',\n begin: regex.concat(\n /!/,\n regex.either(...COMPILER_FLAGS)\n )\n };\n\n const ESCAPE_CHARS = {\n // $\\n, $\\r, $\\t, $$\n className: 'char.escape',\n begin: /\\$(\\\\[nrt]|\\$)/\n };\n\n const PLUGINS = {\n // plug::ins\n className: 'title.function',\n begin: /\\w+::\\w+/\n };\n\n const STRING = {\n className: 'string',\n variants: [\n {\n begin: '\"',\n end: '\"'\n },\n {\n begin: '\\'',\n end: '\\''\n },\n {\n begin: '`',\n end: '`'\n }\n ],\n illegal: /\\n/,\n contains: [\n ESCAPE_CHARS,\n CONSTANTS,\n DEFINES,\n VARIABLES,\n LANGUAGES\n ]\n };\n\n const KEYWORDS = [\n \"Abort\",\n \"AddBrandingImage\",\n \"AddSize\",\n \"AllowRootDirInstall\",\n \"AllowSkipFiles\",\n \"AutoCloseWindow\",\n \"BGFont\",\n \"BGGradient\",\n \"BrandingText\",\n \"BringToFront\",\n \"Call\",\n \"CallInstDLL\",\n \"Caption\",\n \"ChangeUI\",\n \"CheckBitmap\",\n \"ClearErrors\",\n \"CompletedText\",\n \"ComponentText\",\n \"CopyFiles\",\n \"CRCCheck\",\n \"CreateDirectory\",\n \"CreateFont\",\n \"CreateShortCut\",\n \"Delete\",\n \"DeleteINISec\",\n \"DeleteINIStr\",\n \"DeleteRegKey\",\n \"DeleteRegValue\",\n \"DetailPrint\",\n \"DetailsButtonText\",\n \"DirText\",\n \"DirVar\",\n \"DirVerify\",\n \"EnableWindow\",\n \"EnumRegKey\",\n \"EnumRegValue\",\n \"Exch\",\n \"Exec\",\n \"ExecShell\",\n \"ExecShellWait\",\n \"ExecWait\",\n \"ExpandEnvStrings\",\n \"File\",\n \"FileBufSize\",\n \"FileClose\",\n \"FileErrorText\",\n \"FileOpen\",\n \"FileRead\",\n \"FileReadByte\",\n \"FileReadUTF16LE\",\n \"FileReadWord\",\n \"FileWriteUTF16LE\",\n \"FileSeek\",\n \"FileWrite\",\n \"FileWriteByte\",\n \"FileWriteWord\",\n \"FindClose\",\n \"FindFirst\",\n \"FindNext\",\n \"FindWindow\",\n \"FlushINI\",\n \"GetCurInstType\",\n \"GetCurrentAddress\",\n \"GetDlgItem\",\n \"GetDLLVersion\",\n \"GetDLLVersionLocal\",\n \"GetErrorLevel\",\n \"GetFileTime\",\n \"GetFileTimeLocal\",\n \"GetFullPathName\",\n \"GetFunctionAddress\",\n \"GetInstDirError\",\n \"GetKnownFolderPath\",\n \"GetLabelAddress\",\n \"GetTempFileName\",\n \"GetWinVer\",\n \"Goto\",\n \"HideWindow\",\n \"Icon\",\n \"IfAbort\",\n \"IfErrors\",\n \"IfFileExists\",\n \"IfRebootFlag\",\n \"IfRtlLanguage\",\n \"IfShellVarContextAll\",\n \"IfSilent\",\n \"InitPluginsDir\",\n \"InstallButtonText\",\n \"InstallColors\",\n \"InstallDir\",\n \"InstallDirRegKey\",\n \"InstProgressFlags\",\n \"InstType\",\n \"InstTypeGetText\",\n \"InstTypeSetText\",\n \"Int64Cmp\",\n \"Int64CmpU\",\n \"Int64Fmt\",\n \"IntCmp\",\n \"IntCmpU\",\n \"IntFmt\",\n \"IntOp\",\n \"IntPtrCmp\",\n \"IntPtrCmpU\",\n \"IntPtrOp\",\n \"IsWindow\",\n \"LangString\",\n \"LicenseBkColor\",\n \"LicenseData\",\n \"LicenseForceSelection\",\n \"LicenseLangString\",\n \"LicenseText\",\n \"LoadAndSetImage\",\n \"LoadLanguageFile\",\n \"LockWindow\",\n \"LogSet\",\n \"LogText\",\n \"ManifestDPIAware\",\n \"ManifestLongPathAware\",\n \"ManifestMaxVersionTested\",\n \"ManifestSupportedOS\",\n \"MessageBox\",\n \"MiscButtonText\",\n \"Name|0\",\n \"Nop\",\n \"OutFile\",\n \"Page\",\n \"PageCallbacks\",\n \"PEAddResource\",\n \"PEDllCharacteristics\",\n \"PERemoveResource\",\n \"PESubsysVer\",\n \"Pop\",\n \"Push\",\n \"Quit\",\n \"ReadEnvStr\",\n \"ReadINIStr\",\n \"ReadRegDWORD\",\n \"ReadRegStr\",\n \"Reboot\",\n \"RegDLL\",\n \"Rename\",\n \"RequestExecutionLevel\",\n \"ReserveFile\",\n \"Return\",\n \"RMDir\",\n \"SearchPath\",\n \"SectionGetFlags\",\n \"SectionGetInstTypes\",\n \"SectionGetSize\",\n \"SectionGetText\",\n \"SectionIn\",\n \"SectionSetFlags\",\n \"SectionSetInstTypes\",\n \"SectionSetSize\",\n \"SectionSetText\",\n \"SendMessage\",\n \"SetAutoClose\",\n \"SetBrandingImage\",\n \"SetCompress\",\n \"SetCompressor\",\n \"SetCompressorDictSize\",\n \"SetCtlColors\",\n \"SetCurInstType\",\n \"SetDatablockOptimize\",\n \"SetDateSave\",\n \"SetDetailsPrint\",\n \"SetDetailsView\",\n \"SetErrorLevel\",\n \"SetErrors\",\n \"SetFileAttributes\",\n \"SetFont\",\n \"SetOutPath\",\n \"SetOverwrite\",\n \"SetRebootFlag\",\n \"SetRegView\",\n \"SetShellVarContext\",\n \"SetSilent\",\n \"ShowInstDetails\",\n \"ShowUninstDetails\",\n \"ShowWindow\",\n \"SilentInstall\",\n \"SilentUnInstall\",\n \"Sleep\",\n \"SpaceTexts\",\n \"StrCmp\",\n \"StrCmpS\",\n \"StrCpy\",\n \"StrLen\",\n \"SubCaption\",\n \"Unicode\",\n \"UninstallButtonText\",\n \"UninstallCaption\",\n \"UninstallIcon\",\n \"UninstallSubCaption\",\n \"UninstallText\",\n \"UninstPage\",\n \"UnRegDLL\",\n \"Var\",\n \"VIAddVersionKey\",\n \"VIFileVersion\",\n \"VIProductVersion\",\n \"WindowIcon\",\n \"WriteINIStr\",\n \"WriteRegBin\",\n \"WriteRegDWORD\",\n \"WriteRegExpandStr\",\n \"WriteRegMultiStr\",\n \"WriteRegNone\",\n \"WriteRegStr\",\n \"WriteUninstaller\",\n \"XPStyle\"\n ];\n\n const LITERALS = [\n \"admin\",\n \"all\",\n \"auto\",\n \"both\",\n \"bottom\",\n \"bzip2\",\n \"colored\",\n \"components\",\n \"current\",\n \"custom\",\n \"directory\",\n \"false\",\n \"force\",\n \"hide\",\n \"highest\",\n \"ifdiff\",\n \"ifnewer\",\n \"instfiles\",\n \"lastused\",\n \"leave\",\n \"left\",\n \"license\",\n \"listonly\",\n \"lzma\",\n \"nevershow\",\n \"none\",\n \"normal\",\n \"notset\",\n \"off\",\n \"on\",\n \"open\",\n \"print\",\n \"right\",\n \"show\",\n \"silent\",\n \"silentlog\",\n \"smooth\",\n \"textonly\",\n \"top\",\n \"true\",\n \"try\",\n \"un.components\",\n \"un.custom\",\n \"un.directory\",\n \"un.instfiles\",\n \"un.license\",\n \"uninstConfirm\",\n \"user\",\n \"Win10\",\n \"Win7\",\n \"Win8\",\n \"WinVista\",\n \"zlib\"\n ];\n\n const FUNCTION_DEFINITION = {\n match: [\n /Function/,\n /\\s+/,\n regex.concat(/(\\.)?/, hljs.IDENT_RE)\n ],\n scope: {\n 1: \"keyword\",\n 3: \"title.function\"\n }\n };\n\n // Var Custom.Variable.Name.Item\n // Var /GLOBAL Custom.Variable.Name.Item\n const VARIABLE_NAME_RE = /[A-Za-z][\\w.]*/;\n const VARIABLE_DEFINITION = {\n match: [\n /Var/,\n /\\s+/,\n /(?:\\/GLOBAL\\s+)?/,\n VARIABLE_NAME_RE\n ],\n scope: {\n 1: \"keyword\",\n 3: \"params\",\n 4: \"variable\"\n }\n };\n\n return {\n name: 'NSIS',\n case_insensitive: true,\n keywords: {\n keyword: KEYWORDS,\n literal: LITERALS\n },\n contains: [\n hljs.HASH_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n hljs.COMMENT(\n ';',\n '$',\n { relevance: 0 }\n ),\n VARIABLE_DEFINITION,\n FUNCTION_DEFINITION,\n { beginKeywords: 'Function PageEx Section SectionGroup FunctionEnd SectionEnd', },\n STRING,\n COMPILER,\n DEFINES,\n VARIABLES,\n LANGUAGES,\n PARAMETERS,\n PLUGINS,\n hljs.NUMBER_MODE\n ]\n };\n}\n\nmodule.exports = nsis;\n"],"names":["module","exports","hljs","regex","CONSTANTS","className","begin","concat","either","DEFINES","VARIABLES","illegal","LANGUAGES","PARAMETERS","COMPILER","STRING","variants","end","contains","FUNCTION_DEFINITION","match","IDENT_RE","scope","name","case_insensitive","keywords","keyword","literal","HASH_COMMENT_MODE","C_BLOCK_COMMENT_MODE","COMMENT","relevance","beginKeywords","NUMBER_MODE"],"sourceRoot":""} |