mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2024-09-07 05:14:42 +02:00
22 lines
28 KiB
JavaScript
22 lines
28 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([["vendors-node_modules_monaco-editor_esm_vs_basic-languages_freemarker2_freemarker2_js"],{
|
|
|
|
/***/ "./node_modules/monaco-editor/esm/vs/basic-languages/freemarker2/freemarker2.js":
|
|
/*!**************************************************************************************!*\
|
|
!*** ./node_modules/monaco-editor/esm/vs/basic-languages/freemarker2/freemarker2.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 */ \"TagAngleInterpolationBracket\": () => (/* binding */ TagAngleInterpolationBracket),\n/* harmony export */ \"TagAngleInterpolationDollar\": () => (/* binding */ TagAngleInterpolationDollar),\n/* harmony export */ \"TagAutoInterpolationBracket\": () => (/* binding */ TagAutoInterpolationBracket),\n/* harmony export */ \"TagAutoInterpolationDollar\": () => (/* binding */ TagAutoInterpolationDollar),\n/* harmony export */ \"TagBracketInterpolationBracket\": () => (/* binding */ TagBracketInterpolationBracket),\n/* harmony export */ \"TagBracketInterpolationDollar\": () => (/* binding */ TagBracketInterpolationDollar)\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/freemarker2/freemarker2.ts\nvar EMPTY_ELEMENTS = [\n \"assign\",\n \"flush\",\n \"ftl\",\n \"return\",\n \"global\",\n \"import\",\n \"include\",\n \"break\",\n \"continue\",\n \"local\",\n \"nested\",\n \"nt\",\n \"setting\",\n \"stop\",\n \"t\",\n \"lt\",\n \"rt\",\n \"fallback\"\n];\nvar BLOCK_ELEMENTS = [\n \"attempt\",\n \"autoesc\",\n \"autoEsc\",\n \"compress\",\n \"comment\",\n \"escape\",\n \"noescape\",\n \"function\",\n \"if\",\n \"list\",\n \"items\",\n \"sep\",\n \"macro\",\n \"noparse\",\n \"noParse\",\n \"noautoesc\",\n \"noAutoEsc\",\n \"outputformat\",\n \"switch\",\n \"visit\",\n \"recurse\"\n];\nvar TagSyntaxAngle = {\n close: \">\",\n id: \"angle\",\n open: \"<\"\n};\nvar TagSyntaxBracket = {\n close: \"\\\\]\",\n id: \"bracket\",\n open: \"\\\\[\"\n};\nvar TagSyntaxAuto = {\n close: \"[>\\\\]]\",\n id: \"auto\",\n open: \"[<\\\\[]\"\n};\nvar InterpolationSyntaxDollar = {\n close: \"\\\\}\",\n id: \"dollar\",\n open1: \"\\\\$\",\n open2: \"\\\\{\"\n};\nvar InterpolationSyntaxBracket = {\n close: \"\\\\]\",\n id: \"bracket\",\n open1: \"\\\\[\",\n open2: \"=\"\n};\nfunction createLangConfiguration(ts) {\n return {\n brackets: [\n [\"<\", \">\"],\n [\"[\", \"]\"],\n [\"(\", \")\"],\n [\"{\", \"}\"]\n ],\n comments: {\n blockComment: [`${ts.open}--`, `--${ts.close}`]\n },\n autoCloseBefore: \"\\n\\r\t }]),.:;=\",\n autoClosingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"', notIn: [\"string\"] },\n { open: \"'\", close: \"'\", notIn: [\"string\"] }\n ],\n surroundingPairs: [\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" },\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: \"<\", close: \">\" }\n ],\n folding: {\n markers: {\n start: new RegExp(`${ts.open}#(?:${BLOCK_ELEMENTS.join(\"|\")})([^/${ts.close}]*(?!/)${ts.close})[^${ts.open}]*$`),\n end: new RegExp(`${ts.open}/#(?:${BLOCK_ELEMENTS.join(\"|\")})[\\\\r\\\\n\\\\t ]*>`)\n }\n },\n onEnterRules: [\n {\n beforeText: new RegExp(`${ts.open}#(?!(?:${EMPTY_ELEMENTS.join(\"|\")}))([a-zA-Z_]+)([^/${ts.close}]*(?!/)${ts.close})[^${ts.open}]*$`),\n afterText: new RegExp(`^${ts.open}/#([a-zA-Z_]+)[\\\\r\\\\n\\\\t ]*${ts.close}$`),\n action: {\n indentAction: monaco_editor_core_exports.languages.IndentAction.IndentOutdent\n }\n },\n {\n beforeText: new RegExp(`${ts.open}#(?!(?:${EMPTY_ELEMENTS.join(\"|\")}))([a-zA-Z_]+)([^/${ts.close}]*(?!/)${ts.close})[^${ts.open}]*$`),\n action: { indentAction: monaco_editor_core_exports.languages.IndentAction.Indent }\n }\n ]\n };\n}\nfunction createLangConfigurationAuto() {\n return {\n brackets: [\n [\"<\", \">\"],\n [\"[\", \"]\"],\n [\"(\", \")\"],\n [\"{\", \"}\"]\n ],\n autoCloseBefore: \"\\n\\r\t }]),.:;=\",\n autoClosingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"', notIn: [\"string\"] },\n { open: \"'\", close: \"'\", notIn: [\"string\"] }\n ],\n surroundingPairs: [\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" },\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: \"<\", close: \">\" }\n ],\n folding: {\n markers: {\n start: new RegExp(`[<\\\\[]#(?:${BLOCK_ELEMENTS.join(\"|\")})([^/>\\\\]]*(?!/)[>\\\\]])[^<\\\\[]*$`),\n end: new RegExp(`[<\\\\[]/#(?:${BLOCK_ELEMENTS.join(\"|\")})[\\\\r\\\\n\\\\t ]*>`)\n }\n },\n onEnterRules: [\n {\n beforeText: new RegExp(`[<\\\\[]#(?!(?:${EMPTY_ELEMENTS.join(\"|\")}))([a-zA-Z_]+)([^/>\\\\]]*(?!/)[>\\\\]])[^[<\\\\[]]*$`),\n afterText: new RegExp(`^[<\\\\[]/#([a-zA-Z_]+)[\\\\r\\\\n\\\\t ]*[>\\\\]]$`),\n action: {\n indentAction: monaco_editor_core_exports.languages.IndentAction.IndentOutdent\n }\n },\n {\n beforeText: new RegExp(`[<\\\\[]#(?!(?:${EMPTY_ELEMENTS.join(\"|\")}))([a-zA-Z_]+)([^/>\\\\]]*(?!/)[>\\\\]])[^[<\\\\[]]*$`),\n action: { indentAction: monaco_editor_core_exports.languages.IndentAction.Indent }\n }\n ]\n };\n}\nfunction createMonarchLanguage(ts, is) {\n const id = `_${ts.id}_${is.id}`;\n const s = (name) => name.replace(/__id__/g, id);\n const r = (regexp) => {\n const source = regexp.source.replace(/__id__/g, id);\n return new RegExp(source, regexp.flags);\n };\n return {\n unicode: true,\n includeLF: false,\n start: s(\"default__id__\"),\n ignoreCase: false,\n defaultToken: \"invalid\",\n tokenPostfix: `.freemarker2`,\n brackets: [\n { open: \"{\", close: \"}\", token: \"delimiter.curly\" },\n { open: \"[\", close: \"]\", token: \"delimiter.square\" },\n { open: \"(\", close: \")\", token: \"delimiter.parenthesis\" },\n { open: \"<\", close: \">\", token: \"delimiter.angle\" }\n ],\n [s(\"open__id__\")]: new RegExp(ts.open),\n [s(\"close__id__\")]: new RegExp(ts.close),\n [s(\"iOpen1__id__\")]: new RegExp(is.open1),\n [s(\"iOpen2__id__\")]: new RegExp(is.open2),\n [s(\"iClose__id__\")]: new RegExp(is.close),\n [s(\"startTag__id__\")]: r(/(@open__id__)(#)/),\n [s(\"endTag__id__\")]: r(/(@open__id__)(\\/#)/),\n [s(\"startOrEndTag__id__\")]: r(/(@open__id__)(\\/?#)/),\n [s(\"closeTag1__id__\")]: r(/((?:@blank)*)(@close__id__)/),\n [s(\"closeTag2__id__\")]: r(/((?:@blank)*\\/?)(@close__id__)/),\n blank: /[ \\t\\n\\r]/,\n keywords: [\"false\", \"true\", \"in\", \"as\", \"using\"],\n directiveStartCloseTag1: /attempt|recover|sep|auto[eE]sc|no(?:autoe|AutoE)sc|compress|default|no[eE]scape|comment|no[pP]arse/,\n directiveStartCloseTag2: /else|break|continue|return|stop|flush|t|lt|rt|nt|nested|recurse|fallback|ftl/,\n directiveStartBlank: /if|else[iI]f|list|for[eE]ach|switch|case|assign|global|local|include|import|function|macro|transform|visit|stop|return|call|setting|output[fF]ormat|nested|recurse|escape|ftl|items/,\n directiveEndCloseTag1: /if|list|items|sep|recover|attempt|for[eE]ach|local|global|assign|function|macro|output[fF]ormat|auto[eE]sc|no(?:autoe|AutoE)sc|compress|transform|switch|escape|no[eE]scape/,\n escapedChar: /\\\\(?:[ntrfbgla\\\\'\"\\{=]|(?:x[0-9A-Fa-f]{1,4}))/,\n asciiDigit: /[0-9]/,\n integer: /[0-9]+/,\n nonEscapedIdStartChar: /[\\$@-Z_a-z\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u1FFF\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2183-\\u2184\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2-\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3006\\u3031-\\u3035\\u303B-\\u303C\\u3040-\\u318F\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3300-\\u337F\\u3400-\\u4DB5\\u4E00-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA62B\\uA640-\\uA66E\\uA67F-\\uA697\\uA6A0-\\uA6E5\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA793\\uA7A0-\\uA7AA\\uA7F8-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8D0-\\uA8D9\\uA8F2-\\uA8F7\\uA8FB\\uA900-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF-\\uA9D9\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA50-\\uAA59\\uAA60-\\uAA76\\uAA7A\\uAA80-\\uAAAF\\uAAB1\\uAAB5-\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uABC0-\\uABE2\\uABF0-\\uABF9\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40-\\uFB41\\uFB43-\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF10-\\uFF19\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]/,\n escapedIdChar: /\\\\[\\-\\.:#]/,\n idStartChar: /(?:@nonEscapedIdStartChar)|(?:@escapedIdChar)/,\n id: /(?:@idStartChar)(?:(?:@idStartChar)|(?:@asciiDigit))*/,\n specialHashKeys: /\\*\\*|\\*|false|true|in|as|using/,\n namedSymbols: /<=|>=|\\\\lte|\\\\lt|<|\\\\gte|\\\\gt|>|&&|\\\\and|->|->|==|!=|\\+=|-=|\\*=|\\/=|%=|\\+\\+|--|<=|&&|\\|\\||:|\\.\\.\\.|\\.\\.\\*|\\.\\.<|\\.\\.!|\\?\\?|=|<|\\+|-|\\*|\\/|%|\\||\\.\\.|\\?|!|&|\\.|,|;/,\n arrows: [\"->\", \"->\"],\n delimiters: [\";\", \":\", \",\", \".\"],\n stringOperators: [\"lte\", \"lt\", \"gte\", \"gt\"],\n noParseTags: [\"noparse\", \"noParse\", \"comment\"],\n tokenizer: {\n [s(\"default__id__\")]: [\n { include: s(\"@directive_token__id__\") },\n { include: s(\"@interpolation_and_text_token__id__\") }\n ],\n [s(\"fmExpression__id__.directive\")]: [\n { include: s(\"@blank_and_expression_comment_token__id__\") },\n { include: s(\"@directive_end_token__id__\") },\n { include: s(\"@expression_token__id__\") }\n ],\n [s(\"fmExpression__id__.interpolation\")]: [\n { include: s(\"@blank_and_expression_comment_token__id__\") },\n { include: s(\"@expression_token__id__\") },\n { include: s(\"@greater_operators_token__id__\") }\n ],\n [s(\"inParen__id__.plain\")]: [\n { include: s(\"@blank_and_expression_comment_token__id__\") },\n { include: s(\"@directive_end_token__id__\") },\n { include: s(\"@expression_token__id__\") }\n ],\n [s(\"inParen__id__.gt\")]: [\n { include: s(\"@blank_and_expression_comment_token__id__\") },\n { include: s(\"@expression_token__id__\") },\n { include: s(\"@greater_operators_token__id__\") }\n ],\n [s(\"noSpaceExpression__id__\")]: [\n { include: s(\"@no_space_expression_end_token__id__\") },\n { include: s(\"@directive_end_token__id__\") },\n { include: s(\"@expression_token__id__\") }\n ],\n [s(\"unifiedCall__id__\")]: [{ include: s(\"@unified_call_token__id__\") }],\n [s(\"singleString__id__\")]: [{ include: s(\"@string_single_token__id__\") }],\n [s(\"doubleString__id__\")]: [{ include: s(\"@string_double_token__id__\") }],\n [s(\"rawSingleString__id__\")]: [{ include: s(\"@string_single_raw_token__id__\") }],\n [s(\"rawDoubleString__id__\")]: [{ include: s(\"@string_double_raw_token__id__\") }],\n [s(\"expressionComment__id__\")]: [{ include: s(\"@expression_comment_token__id__\") }],\n [s(\"noParse__id__\")]: [{ include: s(\"@no_parse_token__id__\") }],\n [s(\"terseComment__id__\")]: [{ include: s(\"@terse_comment_token__id__\") }],\n [s(\"directive_token__id__\")]: [\n [\n r(/(?:@startTag__id__)(@directiveStartCloseTag1)(?:@closeTag1__id__)/),\n ts.id === \"auto\" ? {\n cases: {\n \"$1==<\": { token: \"@rematch\", switchTo: `@default_angle_${is.id}` },\n \"$1==[\": { token: \"@rematch\", switchTo: `@default_bracket_${is.id}` }\n }\n } : [\n { token: \"@brackets.directive\" },\n { token: \"delimiter.directive\" },\n {\n cases: {\n \"@noParseTags\": { token: \"tag\", next: s(\"@noParse__id__.$3\") },\n \"@default\": { token: \"tag\" }\n }\n },\n { token: \"delimiter.directive\" },\n { token: \"@brackets.directive\" }\n ]\n ],\n [\n r(/(?:@startTag__id__)(@directiveStartCloseTag2)(?:@closeTag2__id__)/),\n ts.id === \"auto\" ? {\n cases: {\n \"$1==<\": { token: \"@rematch\", switchTo: `@default_angle_${is.id}` },\n \"$1==[\": { token: \"@rematch\", switchTo: `@default_bracket_${is.id}` }\n }\n } : [\n { token: \"@brackets.directive\" },\n { token: \"delimiter.directive\" },\n { token: \"tag\" },\n { token: \"delimiter.directive\" },\n { token: \"@brackets.directive\" }\n ]\n ],\n [\n r(/(?:@startTag__id__)(@directiveStartBlank)(@blank)/),\n ts.id === \"auto\" ? {\n cases: {\n \"$1==<\": { token: \"@rematch\", switchTo: `@default_angle_${is.id}` },\n \"$1==[\": { token: \"@rematch\", switchTo: `@default_bracket_${is.id}` }\n }\n } : [\n { token: \"@brackets.directive\" },\n { token: \"delimiter.directive\" },\n { token: \"tag\" },\n { token: \"\", next: s(\"@fmExpression__id__.directive\") }\n ]\n ],\n [\n r(/(?:@endTag__id__)(@directiveEndCloseTag1)(?:@closeTag1__id__)/),\n ts.id === \"auto\" ? {\n cases: {\n \"$1==<\": { token: \"@rematch\", switchTo: `@default_angle_${is.id}` },\n \"$1==[\": { token: \"@rematch\", switchTo: `@default_bracket_${is.id}` }\n }\n } : [\n { token: \"@brackets.directive\" },\n { token: \"delimiter.directive\" },\n { token: \"tag\" },\n { token: \"delimiter.directive\" },\n { token: \"@brackets.directive\" }\n ]\n ],\n [\n r(/(@open__id__)(@)/),\n ts.id === \"auto\" ? {\n cases: {\n \"$1==<\": { token: \"@rematch\", switchTo: `@default_angle_${is.id}` },\n \"$1==[\": { token: \"@rematch\", switchTo: `@default_bracket_${is.id}` }\n }\n } : [\n { token: \"@brackets.directive\" },\n { token: \"delimiter.directive\", next: s(\"@unifiedCall__id__\") }\n ]\n ],\n [\n r(/(@open__id__)(\\/@)((?:(?:@id)(?:\\.(?:@id))*)?)(?:@closeTag1__id__)/),\n [\n { token: \"@brackets.directive\" },\n { token: \"delimiter.directive\" },\n { token: \"tag\" },\n { token: \"delimiter.directive\" },\n { token: \"@brackets.directive\" }\n ]\n ],\n [\n r(/(@open__id__)#--/),\n ts.id === \"auto\" ? {\n cases: {\n \"$1==<\": { token: \"@rematch\", switchTo: `@default_angle_${is.id}` },\n \"$1==[\": { token: \"@rematch\", switchTo: `@default_bracket_${is.id}` }\n }\n } : { token: \"comment\", next: s(\"@terseComment__id__\") }\n ],\n [\n r(/(?:@startOrEndTag__id__)([a-zA-Z_]+)/),\n ts.id === \"auto\" ? {\n cases: {\n \"$1==<\": { token: \"@rematch\", switchTo: `@default_angle_${is.id}` },\n \"$1==[\": { token: \"@rematch\", switchTo: `@default_bracket_${is.id}` }\n }\n } : [\n { token: \"@brackets.directive\" },\n { token: \"delimiter.directive\" },\n { token: \"tag.invalid\", next: s(\"@fmExpression__id__.directive\") }\n ]\n ]\n ],\n [s(\"interpolation_and_text_token__id__\")]: [\n [\n r(/(@iOpen1__id__)(@iOpen2__id__)/),\n [\n { token: is.id === \"bracket\" ? \"@brackets.interpolation\" : \"delimiter.interpolation\" },\n {\n token: is.id === \"bracket\" ? \"delimiter.interpolation\" : \"@brackets.interpolation\",\n next: s(\"@fmExpression__id__.interpolation\")\n }\n ]\n ],\n [/[\\$#<\\[\\{]|(?:@blank)+|[^\\$<#\\[\\{\\n\\r\\t ]+/, { token: \"source\" }]\n ],\n [s(\"string_single_token__id__\")]: [\n [/[^'\\\\]/, { token: \"string\" }],\n [/@escapedChar/, { token: \"string.escape\" }],\n [/'/, { token: \"string\", next: \"@pop\" }]\n ],\n [s(\"string_double_token__id__\")]: [\n [/[^\"\\\\]/, { token: \"string\" }],\n [/@escapedChar/, { token: \"string.escape\" }],\n [/\"/, { token: \"string\", next: \"@pop\" }]\n ],\n [s(\"string_single_raw_token__id__\")]: [\n [/[^']+/, { token: \"string.raw\" }],\n [/'/, { token: \"string.raw\", next: \"@pop\" }]\n ],\n [s(\"string_double_raw_token__id__\")]: [\n [/[^\"]+/, { token: \"string.raw\" }],\n [/\"/, { token: \"string.raw\", next: \"@pop\" }]\n ],\n [s(\"expression_token__id__\")]: [\n [\n /(r?)(['\"])/,\n {\n cases: {\n \"r'\": [\n { token: \"keyword\" },\n { token: \"string.raw\", next: s(\"@rawSingleString__id__\") }\n ],\n 'r\"': [\n { token: \"keyword\" },\n { token: \"string.raw\", next: s(\"@rawDoubleString__id__\") }\n ],\n \"'\": [{ token: \"source\" }, { token: \"string\", next: s(\"@singleString__id__\") }],\n '\"': [{ token: \"source\" }, { token: \"string\", next: s(\"@doubleString__id__\") }]\n }\n }\n ],\n [\n /(?:@integer)(?:\\.(?:@integer))?/,\n {\n cases: {\n \"(?:@integer)\": { token: \"number\" },\n \"@default\": { token: \"number.float\" }\n }\n }\n ],\n [\n /(\\.)(@blank*)(@specialHashKeys)/,\n [{ token: \"delimiter\" }, { token: \"\" }, { token: \"identifier\" }]\n ],\n [\n /(?:@namedSymbols)/,\n {\n cases: {\n \"@arrows\": { token: \"meta.arrow\" },\n \"@delimiters\": { token: \"delimiter\" },\n \"@default\": { token: \"operators\" }\n }\n }\n ],\n [\n /@id/,\n {\n cases: {\n \"@keywords\": { token: \"keyword.$0\" },\n \"@stringOperators\": { token: \"operators\" },\n \"@default\": { token: \"identifier\" }\n }\n }\n ],\n [\n /[\\[\\]\\(\\)\\{\\}]/,\n {\n cases: {\n \"\\\\[\": {\n cases: {\n \"$S2==gt\": { token: \"@brackets\", next: s(\"@inParen__id__.gt\") },\n \"@default\": { token: \"@brackets\", next: s(\"@inParen__id__.plain\") }\n }\n },\n \"\\\\]\": {\n cases: {\n ...is.id === \"bracket\" ? {\n \"$S2==interpolation\": { token: \"@brackets.interpolation\", next: \"@popall\" }\n } : {},\n ...ts.id === \"bracket\" ? {\n \"$S2==directive\": { token: \"@brackets.directive\", next: \"@popall\" }\n } : {},\n [s(\"$S1==inParen__id__\")]: { token: \"@brackets\", next: \"@pop\" },\n \"@default\": { token: \"@brackets\" }\n }\n },\n \"\\\\(\": { token: \"@brackets\", next: s(\"@inParen__id__.gt\") },\n \"\\\\)\": {\n cases: {\n [s(\"$S1==inParen__id__\")]: { token: \"@brackets\", next: \"@pop\" },\n \"@default\": { token: \"@brackets\" }\n }\n },\n \"\\\\{\": {\n cases: {\n \"$S2==gt\": { token: \"@brackets\", next: s(\"@inParen__id__.gt\") },\n \"@default\": { token: \"@brackets\", next: s(\"@inParen__id__.plain\") }\n }\n },\n \"\\\\}\": {\n cases: {\n ...is.id === \"bracket\" ? {} : {\n \"$S2==interpolation\": { token: \"@brackets.interpolation\", next: \"@popall\" }\n },\n [s(\"$S1==inParen__id__\")]: { token: \"@brackets\", next: \"@pop\" },\n \"@default\": { token: \"@brackets\" }\n }\n }\n }\n }\n ],\n [/\\$\\{/, { token: \"delimiter.invalid\" }]\n ],\n [s(\"blank_and_expression_comment_token__id__\")]: [\n [/(?:@blank)+/, { token: \"\" }],\n [/[<\\[][#!]--/, { token: \"comment\", next: s(\"@expressionComment__id__\") }]\n ],\n [s(\"directive_end_token__id__\")]: [\n [\n />/,\n ts.id === \"bracket\" ? { token: \"operators\" } : { token: \"@brackets.directive\", next: \"@popall\" }\n ],\n [\n r(/(\\/)(@close__id__)/),\n [{ token: \"delimiter.directive\" }, { token: \"@brackets.directive\", next: \"@popall\" }]\n ]\n ],\n [s(\"greater_operators_token__id__\")]: [\n [/>/, { token: \"operators\" }],\n [/>=/, { token: \"operators\" }]\n ],\n [s(\"no_space_expression_end_token__id__\")]: [\n [/(?:@blank)+/, { token: \"\", switchTo: s(\"@fmExpression__id__.directive\") }]\n ],\n [s(\"unified_call_token__id__\")]: [\n [\n /(@id)((?:@blank)+)/,\n [{ token: \"tag\" }, { token: \"\", next: s(\"@fmExpression__id__.directive\") }]\n ],\n [\n r(/(@id)(\\/?)(@close__id__)/),\n [\n { token: \"tag\" },\n { token: \"delimiter.directive\" },\n { token: \"@brackets.directive\", next: \"@popall\" }\n ]\n ],\n [/./, { token: \"@rematch\", next: s(\"@noSpaceExpression__id__\") }]\n ],\n [s(\"no_parse_token__id__\")]: [\n [\n r(/(@open__id__)(\\/#?)([a-zA-Z]+)((?:@blank)*)(@close__id__)/),\n {\n cases: {\n \"$S2==$3\": [\n { token: \"@brackets.directive\" },\n { token: \"delimiter.directive\" },\n { token: \"tag\" },\n { token: \"\" },\n { token: \"@brackets.directive\", next: \"@popall\" }\n ],\n \"$S2==comment\": [\n { token: \"comment\" },\n { token: \"comment\" },\n { token: \"comment\" },\n { token: \"comment\" },\n { token: \"comment\" }\n ],\n \"@default\": [\n { token: \"source\" },\n { token: \"source\" },\n { token: \"source\" },\n { token: \"source\" },\n { token: \"source\" }\n ]\n }\n }\n ],\n [\n /[^<\\[\\-]+|[<\\[\\-]/,\n {\n cases: {\n \"$S2==comment\": { token: \"comment\" },\n \"@default\": { token: \"source\" }\n }\n }\n ]\n ],\n [s(\"expression_comment_token__id__\")]: [\n [\n /--[>\\]]/,\n {\n token: \"comment\",\n next: \"@pop\"\n }\n ],\n [/[^\\->\\]]+|[>\\]\\-]/, { token: \"comment\" }]\n ],\n [s(\"terse_comment_token__id__\")]: [\n [r(/--(?:@close__id__)/), { token: \"comment\", next: \"@popall\" }],\n [/[^<\\[\\-]+|[<\\[\\-]/, { token: \"comment\" }]\n ]\n }\n };\n}\nfunction createMonarchLanguageAuto(is) {\n const angle = createMonarchLanguage(TagSyntaxAngle, is);\n const bracket = createMonarchLanguage(TagSyntaxBracket, is);\n const auto = createMonarchLanguage(TagSyntaxAuto, is);\n return {\n ...angle,\n ...bracket,\n ...auto,\n unicode: true,\n includeLF: false,\n start: `default_auto_${is.id}`,\n ignoreCase: false,\n defaultToken: \"invalid\",\n tokenPostfix: `.freemarker2`,\n brackets: [\n { open: \"{\", close: \"}\", token: \"delimiter.curly\" },\n { open: \"[\", close: \"]\", token: \"delimiter.square\" },\n { open: \"(\", close: \")\", token: \"delimiter.parenthesis\" },\n { open: \"<\", close: \">\", token: \"delimiter.angle\" }\n ],\n tokenizer: {\n ...angle.tokenizer,\n ...bracket.tokenizer,\n ...auto.tokenizer\n }\n };\n}\nvar TagAngleInterpolationDollar = {\n conf: createLangConfiguration(TagSyntaxAngle),\n language: createMonarchLanguage(TagSyntaxAngle, InterpolationSyntaxDollar)\n};\nvar TagBracketInterpolationDollar = {\n conf: createLangConfiguration(TagSyntaxBracket),\n language: createMonarchLanguage(TagSyntaxBracket, InterpolationSyntaxDollar)\n};\nvar TagAngleInterpolationBracket = {\n conf: createLangConfiguration(TagSyntaxAngle),\n language: createMonarchLanguage(TagSyntaxAngle, InterpolationSyntaxBracket)\n};\nvar TagBracketInterpolationBracket = {\n conf: createLangConfiguration(TagSyntaxBracket),\n language: createMonarchLanguage(TagSyntaxBracket, InterpolationSyntaxBracket)\n};\nvar TagAutoInterpolationDollar = {\n conf: createLangConfigurationAuto(),\n language: createMonarchLanguageAuto(InterpolationSyntaxDollar)\n};\nvar TagAutoInterpolationBracket = {\n conf: createLangConfigurationAuto(),\n language: createMonarchLanguageAuto(InterpolationSyntaxBracket)\n};\n\n\n\n//# sourceURL=webpack://monanco_wpack/./node_modules/monaco-editor/esm/vs/basic-languages/freemarker2/freemarker2.js?");
|
|
|
|
/***/ })
|
|
|
|
}]); |