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Ac,GACdC,aAAc,UACdC,SAAU,CACR,QACA,OACA,OACA,MACA,KACA,SACA,QACA,QACA,QACA,QACA,WACA,MACA,MACA,OACA,OACA,SACA,OACA,UACA,MACA,OACA,SACA,KACA,SACA,KACA,KACA,SACA,WACA,MACA,KACA,OACA,QACA,QACA,SACA,MACA,QACA,OACA,QACA,MACA,QACA,OACA,UACA,MACA,MACA,MACA,MACA,QACA,aACA,MACA,OACA,SACA,YACA,WACA,MACA,cACA,MACA,SACA,UACA,UACA,UACA,OACA,MACA,SACA,YACA,OACA,WACA,OACA,SACA,SACA,YACA,UACA,UACA,UACA,OACA,OACA,KACA,QACA,SACA,aACA,aACA,OACA,MACA,SACA,OACA,MACA,MACA,aACA,MACA,OACA,SACA,MACA,OACA,MACA,MACA,QACA,WACA,WACA,QACA,YACA,SACA,SACA,OACA,WACA,QACA,OACA,MACA,UACA,QACA,SACA,eACA,MACA,MACA,QACA,QACA,OACA,SACA,UACA,OACA,SACA,MACA,WACA,cACA,cACA,YACA,YACA,WACA,UACA,iBACA,WACA,cAEFtB,SAAU,CACR,CAAEE,KAAM,IAAKC,MAAO,IAAKoB,MAAO,mBAChC,CAAErB,KAAM,IAAKC,MAAO,IAAKoB,MAAO,qBAChC,CAAErB,KAAM,IAAKC,MAAO,IAAKoB,MAAO,0BAElCC,UAAW,CACTC,KAAM,CACJ,CAAEC,QAAS,eACX,CAAEA,QAAS,YACX,CAAEA,QAAS,YACX,CAAC,QAAS,aACV,CAAC,aAAc,aACf,CAAC,gBAAiB,OAClB,CACE,eACA,CACEC,MAAO,CACL,YAAa,UACb,WAAY,iBAKpBC,WAAY,CACV,CAAC,MAAO,SACR,CAAC,UAAW,WACZ,CAAC,MAAO,SAAU,iBAClB,CAAC,MAAO,SAAU,qBAEpBC,aAAc,CACZ,CAAC,QAAS,UACV,CAAC,MAAO,UACR,CAAC,MAAO,SAAU,WAClB,CAAC,IAAK,WAERC,gBAAiB,CACf,CAAC,QAAS,UACV,CAAC,MAAO,UACR,CAAC,MAAO,SAAU,WAClB,CAAC,IAAK,WAERC,QAAS,CACP,CAAC,mCAAoC,cACrC,CAAC,0CAA2C,WAE9CC,QAAS,CACP,CAAC,KAAM,gBAAiB,WACxB,CAAC,IAAK,gBAAiB,eACvB,CAAC,KAAM,gBAAiB,WACxB,CAAC,IAAK,gBAAiB,mBAEzBC,WAAY,CACV,CAAC,WAAY,SAAU,WACvB,CAAC,UAAW,UACZ,CAAC,MAAO,UACR,CAAC,IAAK,gBAAiB,WACvB,CAAC,MAAO,WAEVC,cAAe,CACb,CAAC,WAAY,SAAU,WACvB,CAAC,UAAW,UACZ,CAAC,MAAO,UACR,CAAC,IAAK,gBAAiB,WACvB,CAAC,MAAO","sources":["webpack://grafana/../../opt/drone/yarncache/monaco-editor-npm-0.31.1-d8d5ee78bb-65be40c557.zip/node_modules/monaco-editor/esm/vs/basic-languages/python/python.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\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __markAsModule = (target) => __defProp(target, \"__esModule\", { value: true });\nvar __reExport = (target, module, desc) => {\n if (module && typeof module === \"object\" || typeof module === \"function\") {\n for (let key of __getOwnPropNames(module))\n if (!__hasOwnProp.call(target, key) && key !== \"default\")\n __defProp(target, key, { get: () => module[key], enumerable: !(desc = __getOwnPropDesc(module, key)) || desc.enumerable });\n }\n return target;\n};\n\n// src/fillers/monaco-editor-core.ts\nvar monaco_editor_core_exports = {};\n__markAsModule(monaco_editor_core_exports);\n__reExport(monaco_editor_core_exports, monaco_editor_core_star);\nimport * as monaco_editor_core_star from \"../../editor/editor.api.js\";\n\n// src/basic-languages/python/python.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\"] },\n { open: \"'\", close: \"'\", notIn: [\"string\", \"comment\"] }\n ],\n surroundingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" }\n ],\n onEnterRules: [\n {\n beforeText: new RegExp(\"^\\\\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async).*?:\\\\s*$\"),\n action: { indentAction: monaco_editor_core_exports.languages.IndentAction.Indent }\n }\n ],\n folding: {\n offSide: true,\n markers: {\n start: new RegExp(\"^\\\\s*#region\\\\b\"),\n end: new RegExp(\"^\\\\s*#endregion\\\\b\")\n }\n }\n};\nvar language = {\n defaultToken: \"\",\n tokenPostfix: \".python\",\n keywords: [\n \"False\",\n \"None\",\n \"True\",\n \"and\",\n \"as\",\n \"assert\",\n \"async\",\n \"await\",\n \"break\",\n \"class\",\n \"continue\",\n \"def\",\n \"del\",\n \"elif\",\n \"else\",\n \"except\",\n \"exec\",\n \"finally\",\n \"for\",\n \"from\",\n \"global\",\n \"if\",\n \"import\",\n \"in\",\n \"is\",\n \"lambda\",\n \"nonlocal\",\n \"not\",\n \"or\",\n \"pass\",\n \"print\",\n \"raise\",\n \"return\",\n \"try\",\n \"while\",\n \"with\",\n \"yield\",\n \"int\",\n \"float\",\n \"long\",\n \"complex\",\n \"hex\",\n \"abs\",\n \"all\",\n \"any\",\n \"apply\",\n \"basestring\",\n \"bin\",\n \"bool\",\n \"buffer\",\n \"bytearray\",\n \"callable\",\n \"chr\",\n \"classmethod\",\n \"cmp\",\n \"coerce\",\n \"compile\",\n \"complex\",\n \"delattr\",\n \"dict\",\n \"dir\",\n \"divmod\",\n \"enumerate\",\n \"eval\",\n \"execfile\",\n \"file\",\n \"filter\",\n \"format\",\n \"frozenset\",\n \"getattr\",\n \"globals\",\n \"hasattr\",\n \"hash\",\n \"help\",\n \"id\",\n \"input\",\n \"intern\",\n \"isinstance\",\n \"issubclass\",\n \"iter\",\n \"len\",\n \"locals\",\n \"list\",\n \"map\",\n \"max\",\n \"memoryview\",\n \"min\",\n \"next\",\n \"object\",\n \"oct\",\n \"open\",\n \"ord\",\n \"pow\",\n \"print\",\n \"property\",\n \"reversed\",\n \"range\",\n \"raw_input\",\n \"reduce\",\n \"reload\",\n \"repr\",\n \"reversed\",\n \"round\",\n \"self\",\n \"set\",\n \"setattr\",\n \"slice\",\n \"sorted\",\n \"staticmethod\",\n \"str\",\n \"sum\",\n \"super\",\n \"tuple\",\n \"type\",\n \"unichr\",\n \"unicode\",\n \"vars\",\n \"xrange\",\n \"zip\",\n \"__dict__\",\n \"__methods__\",\n \"__members__\",\n \"__class__\",\n \"__bases__\",\n \"__name__\",\n \"__mro__\",\n \"__subclasses__\",\n \"__init__\",\n \"__import__\"\n ],\n brackets: [\n { open: \"{\", close: \"}\", token: \"delimiter.curly\" },\n { open: \"[\", close: \"]\", token: \"delimiter.bracket\" },\n { open: \"(\", close: \")\", token: \"delimiter.parenthesis\" }\n ],\n tokenizer: {\n root: [\n { include: \"@whitespace\" },\n { include: \"@numbers\" },\n { include: \"@strings\" },\n [/[,:;]/, \"delimiter\"],\n [/[{}\\[\\]()]/, \"@brackets\"],\n [/@[a-zA-Z_]\\w*/, \"tag\"],\n [\n /[a-zA-Z_]\\w*/,\n {\n cases: {\n \"@keywords\": \"keyword\",\n \"@default\": \"identifier\"\n }\n }\n ]\n ],\n whitespace: [\n [/\\s+/, \"white\"],\n [/(^#.*$)/, \"comment\"],\n [/'''/, \"string\", \"@endDocString\"],\n [/\"\"\"/, \"string\", \"@endDblDocString\"]\n ],\n endDocString: [\n [/[^']+/, \"string\"],\n [/\\\\'/, \"string\"],\n [/'''/, \"string\", \"@popall\"],\n [/'/, \"string\"]\n ],\n endDblDocString: [\n [/[^\"]+/, \"string\"],\n [/\\\\\"/, \"string\"],\n [/\"\"\"/, \"string\", \"@popall\"],\n [/\"/, \"string\"]\n ],\n numbers: [\n [/-?0x([abcdef]|[ABCDEF]|\\d)+[lL]?/, \"number.hex\"],\n [/-?(\\d*\\.)?\\d+([eE][+\\-]?\\d+)?[jJ]?[lL]?/, \"number\"]\n ],\n strings: [\n [/'$/, \"string.escape\", \"@popall\"],\n [/'/, \"string.escape\", \"@stringBody\"],\n [/\"$/, \"string.escape\", \"@popall\"],\n [/\"/, \"string.escape\", \"@dblStringBody\"]\n ],\n stringBody: [\n [/[^\\\\']+$/, \"string\", \"@popall\"],\n [/[^\\\\']+/, \"string\"],\n [/\\\\./, \"string\"],\n [/'/, \"string.escape\", \"@popall\"],\n [/\\\\$/, \"string\"]\n ],\n dblStringBody: [\n [/[^\\\\\"]+$/, \"string\", \"@popall\"],\n [/[^\\\\\"]+/, \"string\"],\n [/\\\\./, \"string\"],\n [/\"/, \"string.escape\", \"@popall\"],\n [/\\\\$/, \"string\"]\n ]\n }\n};\nexport {\n conf,\n language\n};\n"],"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","monaco_editor_core_exports","value","target","module","desc","key","call","get","enumerable","__reExport","conf","comments","lineComment","blockComment","brackets","autoClosingPairs","open","close","notIn","surroundingPairs","onEnterRules","beforeText","RegExp","action","indentAction","languages","IndentAction","Indent","folding","offSide","markers","start","end","language","defaultToken","tokenPostfix","keywords","token","tokenizer","root","include","cases","whitespace","endDocString","endDblDocString","numbers","strings","stringBody","dblStringBody"],"sourceRoot":""}
|