1 |
- {"version":3,"file":"832.1bbcc6420497d432a98b.js","mappings":";4IAQA,IAAIA,EAAO,CACTC,SAAU,CACRC,YAAa,KACbC,aAAc,CAAC,KAAM,OAEvBC,SAAU,CACR,CAAC,IAAK,KACN,CAAC,IAAK,KACN,CAAC,IAAK,MAERC,iBAAkB,CAChB,CAAEC,KAAM,IAAKC,MAAO,KACpB,CAAED,KAAM,IAAKC,MAAO,KACpB,CAAED,KAAM,IAAKC,MAAO,KACpB,CAAED,KAAM,IAAKC,MAAO,IAAKC,MAAO,CAAC,SAAU,YAC3C,CAAEF,KAAM,IAAKC,MAAO,IAAKC,MAAO,CAAC,YAEnCC,iBAAkB,CAChB,CAAEH,KAAM,IAAKC,MAAO,KACpB,CAAED,KAAM,IAAKC,MAAO,KACpB,CAAED,KAAM,IAAKC,MAAO,KACpB,CAAED,KAAM,IAAKC,MAAO,KACpB,CAAED,KAAM,IAAKC,MAAO,MAEtBG,QAAS,CACPC,QAAS,CACPC,MAAO,IAAIC,OAAO,6BAClBC,IAAK,IAAID,OAAO,mCAIlBE,EAAW,CACbC,aAAc,GACdC,aAAc,OACdb,SAAU,CACR,CAAEc,MAAO,kBAAmBZ,KAAM,IAAKC,MAAO,KAC9C,CAAEW,MAAO,wBAAyBZ,KAAM,IAAKC,MAAO,KACpD,CAAEW,MAAO,mBAAoBZ,KAAM,IAAKC,MAAO,KAC/C,CAAEW,MAAO,kBAAmBZ,KAAM,IAAKC,MAAO,MAEhDY,SAAU,CACR,WACA,MACA,QACA,OACA,OACA,QACA,OACA,QACA,OACA,QACA,QACA,YACA,aACA,WACA,MACA,WACA,UACA,WACA,SACA,KACA,SACA,eACA,OACA,OACA,OACA,QACA,WACA,SACA,SACA,QACA,QACA,UACA,QACA,MACA,SACA,QACA,UACA,OACA,KACA,KACA,WACA,SACA,MACA,YACA,eACA,WACA,UACA,OACA,UACA,YACA,MACA,WACA,UACA,YACA,WACA,WACA,UACA,SACA,UACA,UACA,WACA,YACA,SACA,MACA,WACA,mBACA,WACA,SACA,YACA,SACA,QACA,SACA,SACA,SACA,gBACA,cACA,SACA,SACA,WACA,OACA,eACA,QACA,cACA,OACA,MACA,UACA,SACA,WACA,QACA,WACA,QACA,UACA,OACA,WACA,UACA,QACA,QACA,OACA,SACA,SACA,YACA,YACA,aACA,iBACA,UACA,wBACA,UACA,sBACA,WACA,uBACA,OACA,aACA,YACA,QACA,WACA,UACA,QACA,oBACA,UACA,YACA,aACA,aACA,UACA,WACA,aACA,YACA,gBACA,OACA,SACA,eACA,cACA,kBACA,WACA,WACA,UACA,UACA,UACA,SACA,cACA,UACA,SACA,UACA,UACA,SACA,UACA,UACA,QACA,yBACA,YACA,SACA,SACA,aACA,eACA,WACA,QACA,WACA,aACA,UACA,UACA,UACA,aACA,WACA,WACA,uBACA,YACA,UACA,aACA,QACA,aACA,WACA,cACA,WACA,WACA,UACA,wBACA,QACA,aAEFC,UAAW,CACT,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KACA,KACA,MACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,MACA,MACA,QAEFC,QAAS,wBACTC,QAAS,wEACTC,cAAe,sCACfC,YAAa,UACbC,SAAU,WACVC,UAAW,CACTC,KAAM,CACJ,CAAC,mCAAoC,CAAET,MAAO,mBAAoBU,KAAM,YACxE,CACE,eACA,CACEC,MAAO,CACL,YAAa,CAAEX,MAAO,cACtB,WAAY,gBAIlB,CAAC,kBAAmB,CAAEA,MAAO,4BAA6BU,KAAM,aAChE,CAAC,cAAe,qBAChB,CAAEE,QAAS,eACX,CAAC,UAAW,CAAEZ,MAAO,aAAcU,KAAM,gBACzC,CAAC,aAAc,aACf,CAAC,mBAAoB,aACrB,CACE,WACA,CACEC,MAAO,CACL,aAAc,YACd,WAAY,MAIlB,CAAC,uCAAwC,gBACzC,CAAC,yCAA0C,gBAC3C,CAAC,gDAAiD,cAClD,CAAC,gCAAiC,gBAClC,CAAC,oCAAqC,iBACtC,CAAC,6BAA8B,UAC/B,CAAC,qBAAsB,UACvB,CAAC,QAAS,aACV,CAAC,kBAAmB,kBACpB,CAAC,IAAK,SAAU,WAChB,CAAC,WAAY,UACb,CAAC,mBAAoB,CAAC,SAAU,gBAAiB,WACjD,CAAC,IAAK,mBAERE,WAAY,CACV,CAAC,aAAc,IACf,CAAC,eAAgB,cAAe,eAChC,CAAC,OAAQ,UAAW,YACpB,CAAC,YAAa,UAAW,gBACzB,CAAC,UAAW,YAEdC,QAAS,CACP,CAAC,UAAW,WACZ,CAAC,OAAQ,UAAW,QACpB,CAAC,QAAS,YAEZC,YAAa,CACX,CAAC,WAAY,UAAW,QACxB,CAAC,OAAQ,YAEXC,WAAY,CACV,CAAC,UAAW,eACZ,CAAC,OAAQ,cAAe,QACxB,CAAC,QAAS,gBAEZC,OAAQ,CACN,CAAC,UAAW,UACZ,CAAC,WAAY,iBACb,CAAC,MAAO,yBACR,CAAC,IAAK,SAAU,SAElBC,IAAK,CACH,CACE,iCACA,CACEP,MAAO,CACL,UAAW,CACT,aACA,iBACA,iBACA,CAAEX,MAAO,iBAAkBU,KAAM,SAEnC,WAAY,CAAC,aAAc,aAAc,aAAc,iBAI7D,CAAC,KAAM,eAETS,WAAY,CACV,CAAEP,QAAS,eACX,CAAC,gBAAiB,WAClB,CAAC,gBAAiB,cAClB,CAAC,OAAQ,aACT,CAAC,OAAQ,aACT,CAAC,UAAW,CAAEZ,MAAO,aAAcU,KAAM,UAE3CE,QAAS,CACP,CACE,sBACA,CACE,GACA,kCACA,4BACA,CAAEZ,MAAO,gCAAiCU,KAAM,UAGpD,CACE,qBACA,CACE,GACA,kCACA,4BACA,CAAEV,MAAO,gCAAiCU,KAAM","sources":["webpack://grafana/../../opt/drone/yarncache/monaco-editor-npm-0.31.1-d8d5ee78bb-65be40c557.zip/node_modules/monaco-editor/esm/vs/basic-languages/cpp/cpp.js"],"sourcesContent":["/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.31.1(337587859b1c171314b40503171188b6cea6a32a)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/\n\n// src/basic-languages/cpp/cpp.ts\nvar conf = {\n comments: {\n lineComment: \"//\",\n blockComment: [\"/*\", \"*/\"]\n },\n brackets: [\n [\"{\", \"}\"],\n [\"[\", \"]\"],\n [\"(\", \")\"]\n ],\n autoClosingPairs: [\n { open: \"[\", close: \"]\" },\n { open: \"{\", close: \"}\" },\n { open: \"(\", close: \")\" },\n { open: \"'\", close: \"'\", notIn: [\"string\", \"comment\"] },\n { open: '\"', close: '\"', notIn: [\"string\"] }\n ],\n surroundingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" }\n ],\n folding: {\n markers: {\n start: new RegExp(\"^\\\\s*#pragma\\\\s+region\\\\b\"),\n end: new RegExp(\"^\\\\s*#pragma\\\\s+endregion\\\\b\")\n }\n }\n};\nvar language = {\n defaultToken: \"\",\n tokenPostfix: \".cpp\",\n brackets: [\n { token: \"delimiter.curly\", open: \"{\", close: \"}\" },\n { token: \"delimiter.parenthesis\", open: \"(\", close: \")\" },\n { token: \"delimiter.square\", open: \"[\", close: \"]\" },\n { token: \"delimiter.angle\", open: \"<\", close: \">\" }\n ],\n keywords: [\n \"abstract\",\n \"amp\",\n \"array\",\n \"auto\",\n \"bool\",\n \"break\",\n \"case\",\n \"catch\",\n \"char\",\n \"class\",\n \"const\",\n \"constexpr\",\n \"const_cast\",\n \"continue\",\n \"cpu\",\n \"decltype\",\n \"default\",\n \"delegate\",\n \"delete\",\n \"do\",\n \"double\",\n \"dynamic_cast\",\n \"each\",\n \"else\",\n \"enum\",\n \"event\",\n \"explicit\",\n \"export\",\n \"extern\",\n \"false\",\n \"final\",\n \"finally\",\n \"float\",\n \"for\",\n \"friend\",\n \"gcnew\",\n \"generic\",\n \"goto\",\n \"if\",\n \"in\",\n \"initonly\",\n \"inline\",\n \"int\",\n \"interface\",\n \"interior_ptr\",\n \"internal\",\n \"literal\",\n \"long\",\n \"mutable\",\n \"namespace\",\n \"new\",\n \"noexcept\",\n \"nullptr\",\n \"__nullptr\",\n \"operator\",\n \"override\",\n \"partial\",\n \"pascal\",\n \"pin_ptr\",\n \"private\",\n \"property\",\n \"protected\",\n \"public\",\n \"ref\",\n \"register\",\n \"reinterpret_cast\",\n \"restrict\",\n \"return\",\n \"safe_cast\",\n \"sealed\",\n \"short\",\n \"signed\",\n \"sizeof\",\n \"static\",\n \"static_assert\",\n \"static_cast\",\n \"struct\",\n \"switch\",\n \"template\",\n \"this\",\n \"thread_local\",\n \"throw\",\n \"tile_static\",\n \"true\",\n \"try\",\n \"typedef\",\n \"typeid\",\n \"typename\",\n \"union\",\n \"unsigned\",\n \"using\",\n \"virtual\",\n \"void\",\n \"volatile\",\n \"wchar_t\",\n \"where\",\n \"while\",\n \"_asm\",\n \"_based\",\n \"_cdecl\",\n \"_declspec\",\n \"_fastcall\",\n \"_if_exists\",\n \"_if_not_exists\",\n \"_inline\",\n \"_multiple_inheritance\",\n \"_pascal\",\n \"_single_inheritance\",\n \"_stdcall\",\n \"_virtual_inheritance\",\n \"_w64\",\n \"__abstract\",\n \"__alignof\",\n \"__asm\",\n \"__assume\",\n \"__based\",\n \"__box\",\n \"__builtin_alignof\",\n \"__cdecl\",\n \"__clrcall\",\n \"__declspec\",\n \"__delegate\",\n \"__event\",\n \"__except\",\n \"__fastcall\",\n \"__finally\",\n \"__forceinline\",\n \"__gc\",\n \"__hook\",\n \"__identifier\",\n \"__if_exists\",\n \"__if_not_exists\",\n \"__inline\",\n \"__int128\",\n \"__int16\",\n \"__int32\",\n \"__int64\",\n \"__int8\",\n \"__interface\",\n \"__leave\",\n \"__m128\",\n \"__m128d\",\n \"__m128i\",\n \"__m256\",\n \"__m256d\",\n \"__m256i\",\n \"__m64\",\n \"__multiple_inheritance\",\n \"__newslot\",\n \"__nogc\",\n \"__noop\",\n \"__nounwind\",\n \"__novtordisp\",\n \"__pascal\",\n \"__pin\",\n \"__pragma\",\n \"__property\",\n \"__ptr32\",\n \"__ptr64\",\n \"__raise\",\n \"__restrict\",\n \"__resume\",\n \"__sealed\",\n \"__single_inheritance\",\n \"__stdcall\",\n \"__super\",\n \"__thiscall\",\n \"__try\",\n \"__try_cast\",\n \"__typeof\",\n \"__unaligned\",\n \"__unhook\",\n \"__uuidof\",\n \"__value\",\n \"__virtual_inheritance\",\n \"__w64\",\n \"__wchar_t\"\n ],\n operators: [\n \"=\",\n \">\",\n \"<\",\n \"!\",\n \"~\",\n \"?\",\n \":\",\n \"==\",\n \"<=\",\n \">=\",\n \"!=\",\n \"&&\",\n \"||\",\n \"++\",\n \"--\",\n \"+\",\n \"-\",\n \"*\",\n \"/\",\n \"&\",\n \"|\",\n \"^\",\n \"%\",\n \"<<\",\n \">>\",\n \">>>\",\n \"+=\",\n \"-=\",\n \"*=\",\n \"/=\",\n \"&=\",\n \"|=\",\n \"^=\",\n \"%=\",\n \"<<=\",\n \">>=\",\n \">>>=\"\n ],\n symbols: /[=><!~?:&|+\\-*\\/\\^%]+/,\n escapes: /\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,\n integersuffix: /([uU](ll|LL|l|L)|(ll|LL|l|L)?[uU]?)/,\n floatsuffix: /[fFlL]?/,\n encoding: /u|u8|U|L/,\n tokenizer: {\n root: [\n [/@encoding?R\\\"(?:([^ ()\\\\\\t]*))\\(/, { token: \"string.raw.begin\", next: \"@raw.$1\" }],\n [\n /[a-zA-Z_]\\w*/,\n {\n cases: {\n \"@keywords\": { token: \"keyword.$0\" },\n \"@default\": \"identifier\"\n }\n }\n ],\n [/^\\s*#\\s*include/, { token: \"keyword.directive.include\", next: \"@include\" }],\n [/^\\s*#\\s*\\w+/, \"keyword.directive\"],\n { include: \"@whitespace\" },\n [/\\[\\s*\\[/, { token: \"annotation\", next: \"@annotation\" }],\n [/[{}()\\[\\]]/, \"@brackets\"],\n [/[<>](?!@symbols)/, \"@brackets\"],\n [\n /@symbols/,\n {\n cases: {\n \"@operators\": \"delimiter\",\n \"@default\": \"\"\n }\n }\n ],\n [/\\d*\\d+[eE]([\\-+]?\\d+)?(@floatsuffix)/, \"number.float\"],\n [/\\d*\\.\\d+([eE][\\-+]?\\d+)?(@floatsuffix)/, \"number.float\"],\n [/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/, \"number.hex\"],\n [/0[0-7']*[0-7](@integersuffix)/, \"number.octal\"],\n [/0[bB][0-1']*[0-1](@integersuffix)/, \"number.binary\"],\n [/\\d[\\d']*\\d(@integersuffix)/, \"number\"],\n [/\\d(@integersuffix)/, \"number\"],\n [/[;,.]/, \"delimiter\"],\n [/\"([^\"\\\\]|\\\\.)*$/, \"string.invalid\"],\n [/\"/, \"string\", \"@string\"],\n [/'[^\\\\']'/, \"string\"],\n [/(')(@escapes)(')/, [\"string\", \"string.escape\", \"string\"]],\n [/'/, \"string.invalid\"]\n ],\n whitespace: [\n [/[ \\t\\r\\n]+/, \"\"],\n [/\\/\\*\\*(?!\\/)/, \"comment.doc\", \"@doccomment\"],\n [/\\/\\*/, \"comment\", \"@comment\"],\n [/\\/\\/.*\\\\$/, \"comment\", \"@linecomment\"],\n [/\\/\\/.*$/, \"comment\"]\n ],\n comment: [\n [/[^\\/*]+/, \"comment\"],\n [/\\*\\//, \"comment\", \"@pop\"],\n [/[\\/*]/, \"comment\"]\n ],\n linecomment: [\n [/.*[^\\\\]$/, \"comment\", \"@pop\"],\n [/[^]+/, \"comment\"]\n ],\n doccomment: [\n [/[^\\/*]+/, \"comment.doc\"],\n [/\\*\\//, \"comment.doc\", \"@pop\"],\n [/[\\/*]/, \"comment.doc\"]\n ],\n string: [\n [/[^\\\\\"]+/, \"string\"],\n [/@escapes/, \"string.escape\"],\n [/\\\\./, \"string.escape.invalid\"],\n [/\"/, \"string\", \"@pop\"]\n ],\n raw: [\n [\n /(.*)(\\))(?:([^ ()\\\\\\t\"]*))(\\\")/,\n {\n cases: {\n \"$3==$S2\": [\n \"string.raw\",\n \"string.raw.end\",\n \"string.raw.end\",\n { token: \"string.raw.end\", next: \"@pop\" }\n ],\n \"@default\": [\"string.raw\", \"string.raw\", \"string.raw\", \"string.raw\"]\n }\n }\n ],\n [/.*/, \"string.raw\"]\n ],\n annotation: [\n { include: \"@whitespace\" },\n [/using|alignas/, \"keyword\"],\n [/[a-zA-Z0-9_]+/, \"annotation\"],\n [/[,:]/, \"delimiter\"],\n [/[()]/, \"@brackets\"],\n [/\\]\\s*\\]/, { token: \"annotation\", next: \"@pop\" }]\n ],\n include: [\n [\n /(\\s*)(<)([^<>]*)(>)/,\n [\n \"\",\n \"keyword.directive.include.begin\",\n \"string.include.identifier\",\n { token: \"keyword.directive.include.end\", next: \"@pop\" }\n ]\n ],\n [\n /(\\s*)(\")([^\"]*)(\")/,\n [\n \"\",\n \"keyword.directive.include.begin\",\n \"string.include.identifier\",\n { token: \"keyword.directive.include.end\", next: \"@pop\" }\n ]\n ]\n ]\n }\n};\nexport {\n conf,\n language\n};\n"],"names":["conf","comments","lineComment","blockComment","brackets","autoClosingPairs","open","close","notIn","surroundingPairs","folding","markers","start","RegExp","end","language","defaultToken","tokenPostfix","token","keywords","operators","symbols","escapes","integersuffix","floatsuffix","encoding","tokenizer","root","next","cases","include","whitespace","comment","linecomment","doccomment","string","raw","annotation"],"sourceRoot":""}
|