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

4 lines
9.0 KiB
JavaScript

"use strict";(self.webpackChunkmonanco_wpack=self.webpackChunkmonanco_wpack||[]).push([["node_modules_monaco-editor_esm_vs_basic-languages_html_html_js"],{"./node_modules/monaco-editor/esm/vs/basic-languages/html/html.js":
/*!************************************************************************!*\
!*** ./node_modules/monaco-editor/esm/vs/basic-languages/html/html.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/html/html.ts\nvar EMPTY_ELEMENTS = [\n "area",\n "base",\n "br",\n "col",\n "embed",\n "hr",\n "img",\n "input",\n "keygen",\n "link",\n "menuitem",\n "meta",\n "param",\n "source",\n "track",\n "wbr"\n];\nvar conf = {\n wordPattern: /(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\$\\^\\&\\*\\(\\)\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\\'\\"\\,\\.\\<\\>\\/\\s]+)/g,\n comments: {\n blockComment: ["\x3c!--", "--\x3e"]\n },\n brackets: [\n ["\x3c!--", "--\x3e"],\n ["<", ">"],\n ["{", "}"],\n ["(", ")"]\n ],\n autoClosingPairs: [\n { open: "{", close: "}" },\n { open: "[", close: "]" },\n { open: "(", close: ")" },\n { open: \'"\', close: \'"\' },\n { open: "\'", close: "\'" }\n ],\n surroundingPairs: [\n { open: \'"\', close: \'"\' },\n { open: "\'", close: "\'" },\n { open: "{", close: "}" },\n { open: "[", close: "]" },\n { open: "(", close: ")" },\n { open: "<", close: ">" }\n ],\n onEnterRules: [\n {\n beforeText: new RegExp(`<(?!(?:${EMPTY_ELEMENTS.join("|")}))([_:\\\\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(`<(?!(?:${EMPTY_ELEMENTS.join("|")}))(\\\\w[\\\\w\\\\d]*)([^/>]*(?!/)>)[^<]*$`, "i"),\n action: { indentAction: monaco_editor_core_exports.languages.IndentAction.Indent }\n }\n ],\n folding: {\n markers: {\n start: new RegExp("^\\\\s*\x3c!--\\\\s*#region\\\\b.*--\x3e"),\n end: new RegExp("^\\\\s*\x3c!--\\\\s*#endregion\\\\b.*--\x3e")\n }\n }\n};\nvar language = {\n defaultToken: "",\n tokenPostfix: ".html",\n ignoreCase: true,\n tokenizer: {\n root: [\n [/<!DOCTYPE/, "metatag", "@doctype"],\n [/\x3c!--/, "comment", "@comment"],\n [/(<)((?:[\\w\\-]+:)?[\\w\\-]+)(\\s*)(\\/>)/, ["delimiter", "tag", "", "delimiter"]],\n [/(<)(script)/, ["delimiter", { token: "tag", next: "@script" }]],\n [/(<)(style)/, ["delimiter", { token: "tag", next: "@style" }]],\n [/(<)((?:[\\w\\-]+:)?[\\w\\-]+)/, ["delimiter", { token: "tag", next: "@otherTag" }]],\n [/(<\\/)((?:[\\w\\-]+:)?[\\w\\-]+)/, ["delimiter", { token: "tag", next: "@otherTag" }]],\n [/</, "delimiter"],\n [/[^<]+/]\n ],\n doctype: [\n [/[^>]+/, "metatag.content"],\n [/>/, "metatag", "@pop"]\n ],\n comment: [\n [/--\x3e/, "comment", "@pop"],\n [/[^-]+/, "comment.content"],\n [/./, "comment.content"]\n ],\n otherTag: [\n [/\\/?>/, "delimiter", "@pop"],\n [/"([^"]*)"/, "attribute.value"],\n [/\'([^\']*)\'/, "attribute.value"],\n [/[\\w\\-]+/, "attribute.name"],\n [/=/, "delimiter"],\n [/[ \\t\\r\\n]+/]\n ],\n script: [\n [/type/, "attribute.name", "@scriptAfterType"],\n [/"([^"]*)"/, "attribute.value"],\n [/\'([^\']*)\'/, "attribute.value"],\n [/[\\w\\-]+/, "attribute.name"],\n [/=/, "delimiter"],\n [\n />/,\n {\n token: "delimiter",\n next: "@scriptEmbedded",\n nextEmbedded: "text/javascript"\n }\n ],\n [/[ \\t\\r\\n]+/],\n [/(<\\/)(script\\s*)(>)/, ["delimiter", "tag", { token: "delimiter", next: "@pop" }]]\n ],\n scriptAfterType: [\n [/=/, "delimiter", "@scriptAfterTypeEquals"],\n [\n />/,\n {\n token: "delimiter",\n next: "@scriptEmbedded",\n nextEmbedded: "text/javascript"\n }\n ],\n [/[ \\t\\r\\n]+/],\n [/<\\/script\\s*>/, { token: "@rematch", next: "@pop" }]\n ],\n scriptAfterTypeEquals: [\n [\n /"([^"]*)"/,\n {\n token: "attribute.value",\n switchTo: "@scriptWithCustomType.$1"\n }\n ],\n [\n /\'([^\']*)\'/,\n {\n token: "attribute.value",\n switchTo: "@scriptWithCustomType.$1"\n }\n ],\n [\n />/,\n {\n token: "delimiter",\n next: "@scriptEmbedded",\n nextEmbedded: "text/javascript"\n }\n ],\n [/[ \\t\\r\\n]+/],\n [/<\\/script\\s*>/, { token: "@rematch", next: "@pop" }]\n ],\n scriptWithCustomType: [\n [\n />/,\n {\n token: "delimiter",\n next: "@scriptEmbedded.$S2",\n nextEmbedded: "$S2"\n }\n ],\n [/"([^"]*)"/, "attribute.value"],\n [/\'([^\']*)\'/, "attribute.value"],\n [/[\\w\\-]+/, "attribute.name"],\n [/=/, "delimiter"],\n [/[ \\t\\r\\n]+/],\n [/<\\/script\\s*>/, { token: "@rematch", next: "@pop" }]\n ],\n scriptEmbedded: [\n [/<\\/script/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }],\n [/[^<]+/, ""]\n ],\n style: [\n [/type/, "attribute.name", "@styleAfterType"],\n [/"([^"]*)"/, "attribute.value"],\n [/\'([^\']*)\'/, "attribute.value"],\n [/[\\w\\-]+/, "attribute.name"],\n [/=/, "delimiter"],\n [\n />/,\n {\n token: "delimiter",\n next: "@styleEmbedded",\n nextEmbedded: "text/css"\n }\n ],\n [/[ \\t\\r\\n]+/],\n [/(<\\/)(style\\s*)(>)/, ["delimiter", "tag", { token: "delimiter", next: "@pop" }]]\n ],\n styleAfterType: [\n [/=/, "delimiter", "@styleAfterTypeEquals"],\n [\n />/,\n {\n token: "delimiter",\n next: "@styleEmbedded",\n nextEmbedded: "text/css"\n }\n ],\n [/[ \\t\\r\\n]+/],\n [/<\\/style\\s*>/, { token: "@rematch", next: "@pop" }]\n ],\n styleAfterTypeEquals: [\n [\n /"([^"]*)"/,\n {\n token: "attribute.value",\n switchTo: "@styleWithCustomType.$1"\n }\n ],\n [\n /\'([^\']*)\'/,\n {\n token: "attribute.value",\n switchTo: "@styleWithCustomType.$1"\n }\n ],\n [\n />/,\n {\n token: "delimiter",\n next: "@styleEmbedded",\n nextEmbedded: "text/css"\n }\n ],\n [/[ \\t\\r\\n]+/],\n [/<\\/style\\s*>/, { token: "@rematch", next: "@pop" }]\n ],\n styleWithCustomType: [\n [\n />/,\n {\n token: "delimiter",\n next: "@styleEmbedded.$S2",\n nextEmbedded: "$S2"\n }\n ],\n [/"([^"]*)"/, "attribute.value"],\n [/\'([^\']*)\'/, "attribute.value"],\n [/[\\w\\-]+/, "attribute.name"],\n [/=/, "delimiter"],\n [/[ \\t\\r\\n]+/],\n [/<\\/style\\s*>/, { token: "@rematch", next: "@pop" }]\n ],\n styleEmbedded: [\n [/<\\/style/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }],\n [/[^<]+/, ""]\n ]\n }\n};\n\n\n\n//# sourceURL=webpack://monanco_wpack/./node_modules/monaco-editor/esm/vs/basic-languages/html/html.js?')}}]);