antosdk-apps/MonacoCore/bundle/node_modules_monaco-editor_esm_vs_basic-languages_xml_xml_js.bundle.js
2022-06-03 19:30:11 +02:00

22 lines
5.6 KiB
JavaScript

"use strict";
/*
* 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["webpackChunkmonanco_wpack"] = self["webpackChunkmonanco_wpack"] || []).push([["node_modules_monaco-editor_esm_vs_basic-languages_xml_xml_js"],{
/***/ "./node_modules/monaco-editor/esm/vs/basic-languages/xml/xml.js":
/*!**********************************************************************!*\
!*** ./node_modules/monaco-editor/esm/vs/basic-languages/xml/xml.js ***!
\**********************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
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 */ });\n/* harmony import */ var _editor_editor_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../editor/editor.api.js */ \"./node_modules/monaco-editor/esm/vs/editor/editor.api.js\");\n/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\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 __reExport = (target, module, copyDefault, desc) => {\n if (module && typeof module === \"object\" || typeof module === \"function\") {\n for (let key of __getOwnPropNames(module))\n if (!__hasOwnProp.call(target, key) && (copyDefault || 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__reExport(monaco_editor_core_exports, _editor_editor_api_js__WEBPACK_IMPORTED_MODULE_0__);\n\n\n// src/basic-languages/xml/xml.ts\nvar conf = {\n comments: {\n blockComment: [\"<!--\", \"-->\"]\n },\n brackets: [[\"<\", \">\"]],\n autoClosingPairs: [\n { open: \"<\", close: \">\" },\n { open: \"'\", close: \"'\" },\n { open: '\"', close: '\"' }\n ],\n surroundingPairs: [\n { open: \"<\", close: \">\" },\n { open: \"'\", close: \"'\" },\n { open: '\"', close: '\"' }\n ],\n onEnterRules: [\n {\n beforeText: new RegExp(`<([_:\\\\w][_:\\\\w-.\\\\d]*)([^/>]*(?!/)>)[^<]*$`, \"i\"),\n afterText: /^<\\/([_:\\w][_:\\w-.\\d]*)\\s*>$/i,\n action: {\n indentAction: monaco_editor_core_exports.languages.IndentAction.IndentOutdent\n }\n },\n {\n beforeText: new RegExp(`<(\\\\w[\\\\w\\\\d]*)([^/>]*(?!/)>)[^<]*$`, \"i\"),\n action: { indentAction: monaco_editor_core_exports.languages.IndentAction.Indent }\n }\n ]\n};\nvar language = {\n defaultToken: \"\",\n tokenPostfix: \".xml\",\n ignoreCase: true,\n qualifiedName: /(?:[\\w\\.\\-]+:)?[\\w\\.\\-]+/,\n tokenizer: {\n root: [\n [/[^<&]+/, \"\"],\n { include: \"@whitespace\" },\n [/(<)(@qualifiedName)/, [{ token: \"delimiter\" }, { token: \"tag\", next: \"@tag\" }]],\n [\n /(<\\/)(@qualifiedName)(\\s*)(>)/,\n [{ token: \"delimiter\" }, { token: \"tag\" }, \"\", { token: \"delimiter\" }]\n ],\n [/(<\\?)(@qualifiedName)/, [{ token: \"delimiter\" }, { token: \"metatag\", next: \"@tag\" }]],\n [/(<\\!)(@qualifiedName)/, [{ token: \"delimiter\" }, { token: \"metatag\", next: \"@tag\" }]],\n [/<\\!\\[CDATA\\[/, { token: \"delimiter.cdata\", next: \"@cdata\" }],\n [/&\\w+;/, \"string.escape\"]\n ],\n cdata: [\n [/[^\\]]+/, \"\"],\n [/\\]\\]>/, { token: \"delimiter.cdata\", next: \"@pop\" }],\n [/\\]/, \"\"]\n ],\n tag: [\n [/[ \\t\\r\\n]+/, \"\"],\n [/(@qualifiedName)(\\s*=\\s*)(\"[^\"]*\"|'[^']*')/, [\"attribute.name\", \"\", \"attribute.value\"]],\n [\n /(@qualifiedName)(\\s*=\\s*)(\"[^\">?\\/]*|'[^'>?\\/]*)(?=[\\?\\/]\\>)/,\n [\"attribute.name\", \"\", \"attribute.value\"]\n ],\n [/(@qualifiedName)(\\s*=\\s*)(\"[^\">]*|'[^'>]*)/, [\"attribute.name\", \"\", \"attribute.value\"]],\n [/@qualifiedName/, \"attribute.name\"],\n [/\\?>/, { token: \"delimiter\", next: \"@pop\" }],\n [/(\\/)(>)/, [{ token: \"tag\" }, { token: \"delimiter\", next: \"@pop\" }]],\n [/>/, { token: \"delimiter\", next: \"@pop\" }]\n ],\n whitespace: [\n [/[ \\t\\r\\n]+/, \"\"],\n [/<!--/, { token: \"comment\", next: \"@comment\" }]\n ],\n comment: [\n [/[^<\\-]+/, \"comment.content\"],\n [/-->/, { token: \"comment\", next: \"@pop\" }],\n [/<!--/, \"comment.content.invalid\"],\n [/[<\\-]/, \"comment.content\"]\n ]\n }\n};\n\n\n\n//# sourceURL=webpack://monanco_wpack/./node_modules/monaco-editor/esm/vs/basic-languages/xml/xml.js?");
/***/ })
}]);