/* * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). * This devtool is neither made for production nor for readable output files. * It uses "eval()" calls to create a separate source file in the browser devtools. * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) * or disable the default devtool with "devtool: false". * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). */ (self["webpackChunkbrowser_esm_webpack"] = self["webpackChunkbrowser_esm_webpack"] || []).push([["node_modules_monaco-editor_esm_vs_basic-languages_yaml_yaml_js"],{ /***/ "./node_modules/monaco-editor/esm/vs/basic-languages/yaml/yaml.js": /*!************************************************************************!*\ !*** ./node_modules/monaco-editor/esm/vs/basic-languages/yaml/yaml.js ***! \************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"conf\": () => (/* binding */ conf),\n/* harmony export */ \"language\": () => (/* binding */ language)\n/* harmony export */ });\nvar conf = {\r\n comments: {\r\n lineComment: '#'\r\n },\r\n brackets: [\r\n ['{', '}'],\r\n ['[', ']'],\r\n ['(', ')']\r\n ],\r\n autoClosingPairs: [\r\n { open: '{', close: '}' },\r\n { open: '[', close: ']' },\r\n { open: '(', close: ')' },\r\n { open: '\"', close: '\"' },\r\n { open: \"'\", close: \"'\" }\r\n ],\r\n surroundingPairs: [\r\n { open: '{', close: '}' },\r\n { open: '[', close: ']' },\r\n { open: '(', close: ')' },\r\n { open: '\"', close: '\"' },\r\n { open: \"'\", close: \"'\" }\r\n ],\r\n folding: {\r\n offSide: true\r\n }\r\n};\r\nvar language = {\r\n tokenPostfix: '.yaml',\r\n brackets: [\r\n { token: 'delimiter.bracket', open: '{', close: '}' },\r\n { token: 'delimiter.square', open: '[', close: ']' }\r\n ],\r\n keywords: ['true', 'True', 'TRUE', 'false', 'False', 'FALSE', 'null', 'Null', 'Null', '~'],\r\n numberInteger: /(?:0|[+-]?[0-9]+)/,\r\n numberFloat: /(?:0|[+-]?[0-9]+)(?:\\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,\r\n numberOctal: /0o[0-7]+/,\r\n numberHex: /0x[0-9a-fA-F]+/,\r\n numberInfinity: /[+-]?\\.(?:inf|Inf|INF)/,\r\n numberNaN: /\\.(?:nan|Nan|NAN)/,\r\n numberDate: /\\d{4}-\\d\\d-\\d\\d([Tt ]\\d\\d:\\d\\d:\\d\\d(\\.\\d+)?(( ?[+-]\\d\\d?(:\\d\\d)?)|Z)?)?/,\r\n escapes: /\\\\(?:[btnfr\\\\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,\r\n tokenizer: {\r\n root: [\r\n { include: '@whitespace' },\r\n { include: '@comment' },\r\n // Directive\r\n [/%[^ ]+.*$/, 'meta.directive'],\r\n // Document Markers\r\n [/---/, 'operators.directivesEnd'],\r\n [/\\.{3}/, 'operators.documentEnd'],\r\n // Block Structure Indicators\r\n [/[-?:](?= )/, 'operators'],\r\n { include: '@anchor' },\r\n { include: '@tagHandle' },\r\n { include: '@flowCollections' },\r\n { include: '@blockStyle' },\r\n // Numbers\r\n [/@numberInteger(?![ \\t]*\\S+)/, 'number'],\r\n [/@numberFloat(?![ \\t]*\\S+)/, 'number.float'],\r\n [/@numberOctal(?![ \\t]*\\S+)/, 'number.octal'],\r\n [/@numberHex(?![ \\t]*\\S+)/, 'number.hex'],\r\n [/@numberInfinity(?![ \\t]*\\S+)/, 'number.infinity'],\r\n [/@numberNaN(?![ \\t]*\\S+)/, 'number.nan'],\r\n [/@numberDate(?![ \\t]*\\S+)/, 'number.date'],\r\n // Key:Value pair\r\n [/(\".*?\"|'.*?'|.*?)([ \\t]*)(:)( |$)/, ['type', 'white', 'operators', 'white']],\r\n { include: '@flowScalars' },\r\n // String nodes\r\n [\r\n /.+$/,\r\n {\r\n cases: {\r\n '@keywords': 'keyword',\r\n '@default': 'string'\r\n }\r\n }\r\n ]\r\n ],\r\n // Flow Collection: Flow Mapping\r\n object: [\r\n { include: '@whitespace' },\r\n { include: '@comment' },\r\n // Flow Mapping termination\r\n [/\\}/, '@brackets', '@pop'],\r\n // Flow Mapping delimiter\r\n [/,/, 'delimiter.comma'],\r\n // Flow Mapping Key:Value delimiter\r\n [/:(?= )/, 'operators'],\r\n // Flow Mapping Key:Value key\r\n [/(?:\".*?\"|'.*?'|[^,\\{\\[]+?)(?=: )/, 'type'],\r\n // Start Flow Style\r\n { include: '@flowCollections' },\r\n { include: '@flowScalars' },\r\n // Scalar Data types\r\n { include: '@tagHandle' },\r\n { include: '@anchor' },\r\n { include: '@flowNumber' },\r\n // Other value (keyword or string)\r\n [\r\n /[^\\},]+/,\r\n {\r\n cases: {\r\n '@keywords': 'keyword',\r\n '@default': 'string'\r\n }\r\n }\r\n ]\r\n ],\r\n // Flow Collection: Flow Sequence\r\n array: [\r\n { include: '@whitespace' },\r\n { include: '@comment' },\r\n // Flow Sequence termination\r\n [/\\]/, '@brackets', '@pop'],\r\n // Flow Sequence delimiter\r\n [/,/, 'delimiter.comma'],\r\n // Start Flow Style\r\n { include: '@flowCollections' },\r\n { include: '@flowScalars' },\r\n // Scalar Data types\r\n { include: '@tagHandle' },\r\n { include: '@anchor' },\r\n { include: '@flowNumber' },\r\n // Other value (keyword or string)\r\n [\r\n /[^\\],]+/,\r\n {\r\n cases: {\r\n '@keywords': 'keyword',\r\n '@default': 'string'\r\n }\r\n }\r\n ]\r\n ],\r\n // First line of a Block Style\r\n multiString: [[/^( +).+$/, 'string', '@multiStringContinued.$1']],\r\n // Further lines of a Block Style\r\n // Workaround for indentation detection\r\n multiStringContinued: [\r\n [\r\n /^( *).+$/,\r\n {\r\n cases: {\r\n '$1==$S2': 'string',\r\n '@default': { token: '@rematch', next: '@popall' }\r\n }\r\n }\r\n ]\r\n ],\r\n whitespace: [[/[ \\t\\r\\n]+/, 'white']],\r\n // Only line comments\r\n comment: [[/#.*$/, 'comment']],\r\n // Start Flow Collections\r\n flowCollections: [\r\n [/\\[/, '@brackets', '@array'],\r\n [/\\{/, '@brackets', '@object']\r\n ],\r\n // Start Flow Scalars (quoted strings)\r\n flowScalars: [\r\n [/\"([^\"\\\\]|\\\\.)*$/, 'string.invalid'],\r\n [/'([^'\\\\]|\\\\.)*$/, 'string.invalid'],\r\n [/'[^']*'/, 'string'],\r\n [/\"/, 'string', '@doubleQuotedString']\r\n ],\r\n doubleQuotedString: [\r\n [/[^\\\\\"]+/, 'string'],\r\n [/@escapes/, 'string.escape'],\r\n [/\\\\./, 'string.escape.invalid'],\r\n [/\"/, 'string', '@pop']\r\n ],\r\n // Start Block Scalar\r\n blockStyle: [[/[>|][0-9]*[+-]?$/, 'operators', '@multiString']],\r\n // Numbers in Flow Collections (terminate with ,]})\r\n flowNumber: [\r\n [/@numberInteger(?=[ \\t]*[,\\]\\}])/, 'number'],\r\n [/@numberFloat(?=[ \\t]*[,\\]\\}])/, 'number.float'],\r\n [/@numberOctal(?=[ \\t]*[,\\]\\}])/, 'number.octal'],\r\n [/@numberHex(?=[ \\t]*[,\\]\\}])/, 'number.hex'],\r\n [/@numberInfinity(?=[ \\t]*[,\\]\\}])/, 'number.infinity'],\r\n [/@numberNaN(?=[ \\t]*[,\\]\\}])/, 'number.nan'],\r\n [/@numberDate(?=[ \\t]*[,\\]\\}])/, 'number.date']\r\n ],\r\n tagHandle: [[/\\![^ ]*/, 'tag']],\r\n anchor: [[/[&*][^ ]+/, 'namespace']]\r\n }\r\n};\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/basic-languages/yaml/yaml.js?"); /***/ }) }]);