antosdk-apps/MonacoCore/bundle/node_modules_monaco-editor_esm_vs_basic-languages_less_less_js.bundle.js
2021-04-19 15:08:15 +02:00

22 lines
8.2 KiB
JavaScript

/*
* 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_less_less_js"],{
/***/ "./node_modules/monaco-editor/esm/vs/basic-languages/less/less.js":
/*!************************************************************************!*\
!*** ./node_modules/monaco-editor/esm/vs/basic-languages/less/less.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 */ });\n/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\nvar conf = {\r\n wordPattern: /(#?-?\\d*\\.\\d\\w*%?)|([@#!.:]?[\\w-?]+%?)|[@#!.]/g,\r\n comments: {\r\n blockComment: ['/*', '*/'],\r\n lineComment: '//'\r\n },\r\n brackets: [\r\n ['{', '}'],\r\n ['[', ']'],\r\n ['(', ')']\r\n ],\r\n autoClosingPairs: [\r\n { open: '{', close: '}', notIn: ['string', 'comment'] },\r\n { open: '[', close: ']', notIn: ['string', 'comment'] },\r\n { open: '(', close: ')', notIn: ['string', 'comment'] },\r\n { open: '\"', close: '\"', notIn: ['string', 'comment'] },\r\n { open: \"'\", close: \"'\", notIn: ['string', 'comment'] }\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 markers: {\r\n start: new RegExp('^\\\\s*\\\\/\\\\*\\\\s*#region\\\\b\\\\s*(.*?)\\\\s*\\\\*\\\\/'),\r\n end: new RegExp('^\\\\s*\\\\/\\\\*\\\\s*#endregion\\\\b.*\\\\*\\\\/')\r\n }\r\n }\r\n};\r\nvar language = {\r\n defaultToken: '',\r\n tokenPostfix: '.less',\r\n identifier: '-?-?([a-zA-Z]|(\\\\\\\\(([0-9a-fA-F]{1,6}\\\\s?)|[^[0-9a-fA-F])))([\\\\w\\\\-]|(\\\\\\\\(([0-9a-fA-F]{1,6}\\\\s?)|[^[0-9a-fA-F])))*',\r\n identifierPlus: '-?-?([a-zA-Z:.]|(\\\\\\\\(([0-9a-fA-F]{1,6}\\\\s?)|[^[0-9a-fA-F])))([\\\\w\\\\-:.]|(\\\\\\\\(([0-9a-fA-F]{1,6}\\\\s?)|[^[0-9a-fA-F])))*',\r\n brackets: [\r\n { open: '{', close: '}', token: 'delimiter.curly' },\r\n { open: '[', close: ']', token: 'delimiter.bracket' },\r\n { open: '(', close: ')', token: 'delimiter.parenthesis' },\r\n { open: '<', close: '>', token: 'delimiter.angle' }\r\n ],\r\n tokenizer: {\r\n root: [\r\n { include: '@nestedJSBegin' },\r\n ['[ \\\\t\\\\r\\\\n]+', ''],\r\n { include: '@comments' },\r\n { include: '@keyword' },\r\n { include: '@strings' },\r\n { include: '@numbers' },\r\n ['[*_]?[a-zA-Z\\\\-\\\\s]+(?=:.*(;|(\\\\\\\\$)))', 'attribute.name', '@attribute'],\r\n ['url(\\\\-prefix)?\\\\(', { token: 'tag', next: '@urldeclaration' }],\r\n ['[{}()\\\\[\\\\]]', '@brackets'],\r\n ['[,:;]', 'delimiter'],\r\n ['#@identifierPlus', 'tag.id'],\r\n ['&', 'tag'],\r\n ['\\\\.@identifierPlus(?=\\\\()', 'tag.class', '@attribute'],\r\n ['\\\\.@identifierPlus', 'tag.class'],\r\n ['@identifierPlus', 'tag'],\r\n { include: '@operators' },\r\n ['@(@identifier(?=[:,\\\\)]))', 'variable', '@attribute'],\r\n ['@(@identifier)', 'variable'],\r\n ['@', 'key', '@atRules']\r\n ],\r\n nestedJSBegin: [\r\n ['``', 'delimiter.backtick'],\r\n [\r\n '`',\r\n {\r\n token: 'delimiter.backtick',\r\n next: '@nestedJSEnd',\r\n nextEmbedded: 'text/javascript'\r\n }\r\n ]\r\n ],\r\n nestedJSEnd: [\r\n [\r\n '`',\r\n {\r\n token: 'delimiter.backtick',\r\n next: '@pop',\r\n nextEmbedded: '@pop'\r\n }\r\n ]\r\n ],\r\n operators: [['[<>=\\\\+\\\\-\\\\*\\\\/\\\\^\\\\|\\\\~]', 'operator']],\r\n keyword: [\r\n [\r\n '(@[\\\\s]*import|![\\\\s]*important|true|false|when|iscolor|isnumber|isstring|iskeyword|isurl|ispixel|ispercentage|isem|hue|saturation|lightness|alpha|lighten|darken|saturate|desaturate|fadein|fadeout|fade|spin|mix|round|ceil|floor|percentage)\\\\b',\r\n 'keyword'\r\n ]\r\n ],\r\n urldeclaration: [\r\n { include: '@strings' },\r\n ['[^)\\r\\n]+', 'string'],\r\n ['\\\\)', { token: 'tag', next: '@pop' }]\r\n ],\r\n attribute: [\r\n { include: '@nestedJSBegin' },\r\n { include: '@comments' },\r\n { include: '@strings' },\r\n { include: '@numbers' },\r\n { include: '@keyword' },\r\n ['[a-zA-Z\\\\-]+(?=\\\\()', 'attribute.value', '@attribute'],\r\n ['>', 'operator', '@pop'],\r\n ['@identifier', 'attribute.value'],\r\n { include: '@operators' },\r\n ['@(@identifier)', 'variable'],\r\n ['[)\\\\}]', '@brackets', '@pop'],\r\n ['[{}()\\\\[\\\\]>]', '@brackets'],\r\n ['[;]', 'delimiter', '@pop'],\r\n ['[,=:]', 'delimiter'],\r\n ['\\\\s', ''],\r\n ['.', 'attribute.value']\r\n ],\r\n comments: [\r\n ['\\\\/\\\\*', 'comment', '@comment'],\r\n ['\\\\/\\\\/+.*', 'comment']\r\n ],\r\n comment: [\r\n ['\\\\*\\\\/', 'comment', '@pop'],\r\n ['.', 'comment']\r\n ],\r\n numbers: [\r\n [\r\n '(\\\\d*\\\\.)?\\\\d+([eE][\\\\-+]?\\\\d+)?',\r\n { token: 'attribute.value.number', next: '@units' }\r\n ],\r\n ['#[0-9a-fA-F_]+(?!\\\\w)', 'attribute.value.hex']\r\n ],\r\n units: [\r\n [\r\n '(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?',\r\n 'attribute.value.unit',\r\n '@pop'\r\n ]\r\n ],\r\n strings: [\r\n ['~?\"', { token: 'string.delimiter', next: '@stringsEndDoubleQuote' }],\r\n [\"~?'\", { token: 'string.delimiter', next: '@stringsEndQuote' }]\r\n ],\r\n stringsEndDoubleQuote: [\r\n ['\\\\\\\\\"', 'string'],\r\n ['\"', { token: 'string.delimiter', next: '@popall' }],\r\n ['.', 'string']\r\n ],\r\n stringsEndQuote: [\r\n [\"\\\\\\\\'\", 'string'],\r\n [\"'\", { token: 'string.delimiter', next: '@popall' }],\r\n ['.', 'string']\r\n ],\r\n atRules: [\r\n { include: '@comments' },\r\n { include: '@strings' },\r\n ['[()]', 'delimiter'],\r\n ['[\\\\{;]', 'delimiter', '@pop'],\r\n ['.', 'key']\r\n ]\r\n }\r\n};\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/basic-languages/less/less.js?");
/***/ })
}]);