19.js
8.28 KB
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[19],{
/***/ "./node_modules/monaco-editor/esm/vs/basic-languages/html/html.js":
/*!************************************************************************!*\
!*** ./node_modules/monaco-editor/esm/vs/basic-languages/html/html.js ***!
\************************************************************************/
/*! exports provided: conf, language */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"conf\", function() { return conf; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"language\", function() { return language; });\n/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n// Allow for running under nodejs/requirejs in tests\nvar _monaco = (typeof monaco === 'undefined' ? self.monaco : monaco);\nvar EMPTY_ELEMENTS = ['area', 'base', 'br', 'col', 'embed', 'hr', 'img', 'input', 'keygen', 'link', 'menuitem', 'meta', 'param', 'source', 'track', 'wbr'];\nvar conf = {\n wordPattern: /(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\$\\^\\&\\*\\(\\)\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\s]+)/g,\n comments: {\n blockComment: ['<!--', '-->']\n },\n brackets: [\n ['<!--', '-->'],\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: { indentAction: _monaco.languages.IndentAction.IndentOutdent }\n },\n {\n beforeText: new RegExp(\"<(?!(?:\" + EMPTY_ELEMENTS.join('|') + \"))(\\\\w[\\\\w\\\\d]*)([^/>]*(?!/)>)[^<]*$\", 'i'),\n action: { indentAction: _monaco.languages.IndentAction.Indent }\n }\n ],\n folding: {\n markers: {\n start: new RegExp(\"^\\\\s*<!--\\\\s*#region\\\\b.*-->\"),\n end: new RegExp(\"^\\\\s*<!--\\\\s*#endregion\\\\b.*-->\")\n }\n }\n};\nvar language = {\n defaultToken: '',\n tokenPostfix: '.html',\n ignoreCase: true,\n // The main tokenizer for our languages\n tokenizer: {\n root: [\n [/<!DOCTYPE/, 'metatag', '@doctype'],\n [/<!--/, '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 [/-->/, '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 // -- BEGIN <script> tags handling\n // After <script\n script: [\n [/type/, 'attribute.name', '@scriptAfterType'],\n [/\"([^\"]*)\"/, 'attribute.value'],\n [/'([^']*)'/, 'attribute.value'],\n [/[\\w\\-]+/, 'attribute.name'],\n [/=/, 'delimiter'],\n [/>/, { token: 'delimiter', next: '@scriptEmbedded', nextEmbedded: 'text/javascript' }],\n [/[ \\t\\r\\n]+/],\n [/(<\\/)(script\\s*)(>)/, ['delimiter', 'tag', { token: 'delimiter', next: '@pop' }]]\n ],\n // After <script ... type\n scriptAfterType: [\n [/=/, 'delimiter', '@scriptAfterTypeEquals'],\n [/>/, { token: 'delimiter', next: '@scriptEmbedded', nextEmbedded: 'text/javascript' }],\n [/[ \\t\\r\\n]+/],\n [/<\\/script\\s*>/, { token: '@rematch', next: '@pop' }]\n ],\n // After <script ... type =\n scriptAfterTypeEquals: [\n [/\"([^\"]*)\"/, { token: 'attribute.value', switchTo: '@scriptWithCustomType.$1' }],\n [/'([^']*)'/, { token: 'attribute.value', switchTo: '@scriptWithCustomType.$1' }],\n [/>/, { token: 'delimiter', next: '@scriptEmbedded', nextEmbedded: 'text/javascript' }],\n [/[ \\t\\r\\n]+/],\n [/<\\/script\\s*>/, { token: '@rematch', next: '@pop' }]\n ],\n // After <script ... type = $S2\n scriptWithCustomType: [\n [/>/, { token: 'delimiter', next: '@scriptEmbedded.$S2', nextEmbedded: '$S2' }],\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 // -- END <script> tags handling\n // -- BEGIN <style> tags handling\n // After <style\n style: [\n [/type/, 'attribute.name', '@styleAfterType'],\n [/\"([^\"]*)\"/, 'attribute.value'],\n [/'([^']*)'/, 'attribute.value'],\n [/[\\w\\-]+/, 'attribute.name'],\n [/=/, 'delimiter'],\n [/>/, { token: 'delimiter', next: '@styleEmbedded', nextEmbedded: 'text/css' }],\n [/[ \\t\\r\\n]+/],\n [/(<\\/)(style\\s*)(>)/, ['delimiter', 'tag', { token: 'delimiter', next: '@pop' }]]\n ],\n // After <style ... type\n styleAfterType: [\n [/=/, 'delimiter', '@styleAfterTypeEquals'],\n [/>/, { token: 'delimiter', next: '@styleEmbedded', nextEmbedded: 'text/css' }],\n [/[ \\t\\r\\n]+/],\n [/<\\/style\\s*>/, { token: '@rematch', next: '@pop' }]\n ],\n // After <style ... type =\n styleAfterTypeEquals: [\n [/\"([^\"]*)\"/, { token: 'attribute.value', switchTo: '@styleWithCustomType.$1' }],\n [/'([^']*)'/, { token: 'attribute.value', switchTo: '@styleWithCustomType.$1' }],\n [/>/, { token: 'delimiter', next: '@styleEmbedded', nextEmbedded: 'text/css' }],\n [/[ \\t\\r\\n]+/],\n [/<\\/style\\s*>/, { token: '@rematch', next: '@pop' }]\n ],\n // After <style ... type = $S2\n styleWithCustomType: [\n [/>/, { token: 'delimiter', next: '@styleEmbedded.$S2', nextEmbedded: '$S2' }],\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//# sourceURL=webpack:///./node_modules/monaco-editor/esm/vs/basic-languages/html/html.js?");
/***/ })
}]);