mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2024-12-26 20:28:20 +01:00
878 lines
2.1 MiB
878 lines
2.1 MiB
/*
|
||
* 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/).
|
||
*/
|
||
/******/ (() => { // webpackBootstrap
|
||
/******/ "use strict";
|
||
/******/ var __webpack_modules__ = ({
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/base/common/arrays.js":
|
||
/*!*****************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/base/common/arrays.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 */ \"tail\": () => (/* binding */ tail),\n/* harmony export */ \"tail2\": () => (/* binding */ tail2),\n/* harmony export */ \"equals\": () => (/* binding */ equals),\n/* harmony export */ \"binarySearch\": () => (/* binding */ binarySearch),\n/* harmony export */ \"findFirstInSorted\": () => (/* binding */ findFirstInSorted),\n/* harmony export */ \"quickSelect\": () => (/* binding */ quickSelect),\n/* harmony export */ \"mergeSort\": () => (/* binding */ mergeSort),\n/* harmony export */ \"groupBy\": () => (/* binding */ groupBy),\n/* harmony export */ \"coalesce\": () => (/* binding */ coalesce),\n/* harmony export */ \"isFalsyOrEmpty\": () => (/* binding */ isFalsyOrEmpty),\n/* harmony export */ \"isNonEmptyArray\": () => (/* binding */ isNonEmptyArray),\n/* harmony export */ \"distinct\": () => (/* binding */ distinct),\n/* harmony export */ \"distinctES6\": () => (/* binding */ distinctES6),\n/* harmony export */ \"firstOrDefault\": () => (/* binding */ firstOrDefault),\n/* harmony export */ \"flatten\": () => (/* binding */ flatten),\n/* harmony export */ \"range\": () => (/* binding */ range),\n/* harmony export */ \"arrayInsert\": () => (/* binding */ arrayInsert),\n/* harmony export */ \"pushToStart\": () => (/* binding */ pushToStart),\n/* harmony export */ \"pushToEnd\": () => (/* binding */ pushToEnd),\n/* harmony export */ \"asArray\": () => (/* binding */ asArray)\n/* harmony export */ });\n/**\r\n * Returns the last element of an array.\r\n * @param array The array.\r\n * @param n Which element from the end (default is zero).\r\n */\r\nfunction tail(array, n = 0) {\r\n return array[array.length - (1 + n)];\r\n}\r\nfunction tail2(arr) {\r\n if (arr.length === 0) {\r\n throw new Error('Invalid tail call');\r\n }\r\n return [arr.slice(0, arr.length - 1), arr[arr.length - 1]];\r\n}\r\nfunction equals(one, other, itemEquals = (a, b) => a === b) {\r\n if (one === other) {\r\n return true;\r\n }\r\n if (!one || !other) {\r\n return false;\r\n }\r\n if (one.length !== other.length) {\r\n return false;\r\n }\r\n for (let i = 0, len = one.length; i < len; i++) {\r\n if (!itemEquals(one[i], other[i])) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n}\r\nfunction binarySearch(array, key, comparator) {\r\n let low = 0, high = array.length - 1;\r\n while (low <= high) {\r\n const mid = ((low + high) / 2) | 0;\r\n const comp = comparator(array[mid], key);\r\n if (comp < 0) {\r\n low = mid + 1;\r\n }\r\n else if (comp > 0) {\r\n high = mid - 1;\r\n }\r\n else {\r\n return mid;\r\n }\r\n }\r\n return -(low + 1);\r\n}\r\n/**\r\n * Takes a sorted array and a function p. The array is sorted in such a way that all elements where p(x) is false\r\n * are located before all elements where p(x) is true.\r\n * @returns the least x for which p(x) is true or array.length if no element fullfills the given function.\r\n */\r\nfunction findFirstInSorted(array, p) {\r\n let low = 0, high = array.length;\r\n if (high === 0) {\r\n return 0; // no children\r\n }\r\n while (low < high) {\r\n const mid = Math.floor((low + high) / 2);\r\n if (p(array[mid])) {\r\n high = mid;\r\n }\r\n else {\r\n low = mid + 1;\r\n }\r\n }\r\n return low;\r\n}\r\nfunction quickSelect(nth, data, compare) {\r\n nth = nth | 0;\r\n if (nth >= data.length) {\r\n throw new TypeError('invalid index');\r\n }\r\n let pivotValue = data[Math.floor(data.length * Math.random())];\r\n let lower = [];\r\n let higher = [];\r\n let pivots = [];\r\n for (let value of data) {\r\n const val = compare(value, pivotValue);\r\n if (val < 0) {\r\n lower.push(value);\r\n }\r\n else if (val > 0) {\r\n higher.push(value);\r\n }\r\n else {\r\n pivots.push(value);\r\n }\r\n }\r\n if (nth < lower.length) {\r\n return quickSelect(nth, lower, compare);\r\n }\r\n else if (nth < lower.length + pivots.length) {\r\n return pivots[0];\r\n }\r\n else {\r\n return quickSelect(nth - (lower.length + pivots.length), higher, compare);\r\n }\r\n}\r\n/**\r\n * Like `Array#sort` but always stable. Usually runs a little slower `than Array#sort`\r\n * so only use this when actually needing stable sort.\r\n */\r\nfunction mergeSort(data, compare) {\r\n _sort(data, compare, 0, data.length - 1, []);\r\n return data;\r\n}\r\nfunction _merge(a, compare, lo, mid, hi, aux) {\r\n let leftIdx = lo, rightIdx = mid + 1;\r\n for (let i = lo; i <= hi; i++) {\r\n aux[i] = a[i];\r\n }\r\n for (let i = lo; i <= hi; i++) {\r\n if (leftIdx > mid) {\r\n // left side consumed\r\n a[i] = aux[rightIdx++];\r\n }\r\n else if (rightIdx > hi) {\r\n // right side consumed\r\n a[i] = aux[leftIdx++];\r\n }\r\n else if (compare(aux[rightIdx], aux[leftIdx]) < 0) {\r\n // right element is less -> comes first\r\n a[i] = aux[rightIdx++];\r\n }\r\n else {\r\n // left element comes first (less or equal)\r\n a[i] = aux[leftIdx++];\r\n }\r\n }\r\n}\r\nfunction _sort(a, compare, lo, hi, aux) {\r\n if (hi <= lo) {\r\n return;\r\n }\r\n const mid = lo + ((hi - lo) / 2) | 0;\r\n _sort(a, compare, lo, mid, aux);\r\n _sort(a, compare, mid + 1, hi, aux);\r\n if (compare(a[mid], a[mid + 1]) <= 0) {\r\n // left and right are sorted and if the last-left element is less\r\n // or equals than the first-right element there is nothing else\r\n // to do\r\n return;\r\n }\r\n _merge(a, compare, lo, mid, hi, aux);\r\n}\r\nfunction groupBy(data, compare) {\r\n const result = [];\r\n let currentGroup = undefined;\r\n for (const element of mergeSort(data.slice(0), compare)) {\r\n if (!currentGroup || compare(currentGroup[0], element) !== 0) {\r\n currentGroup = [element];\r\n result.push(currentGroup);\r\n }\r\n else {\r\n currentGroup.push(element);\r\n }\r\n }\r\n return result;\r\n}\r\n/**\r\n * @returns New array with all falsy values removed. The original array IS NOT modified.\r\n */\r\nfunction coalesce(array) {\r\n return array.filter(e => !!e);\r\n}\r\n/**\r\n * @returns false if the provided object is an array and not empty.\r\n */\r\nfunction isFalsyOrEmpty(obj) {\r\n return !Array.isArray(obj) || obj.length === 0;\r\n}\r\nfunction isNonEmptyArray(obj) {\r\n return Array.isArray(obj) && obj.length > 0;\r\n}\r\n/**\r\n * Removes duplicates from the given array. The optional keyFn allows to specify\r\n * how elements are checked for equalness by returning a unique string for each.\r\n */\r\nfunction distinct(array, keyFn) {\r\n if (!keyFn) {\r\n return array.filter((element, position) => {\r\n return array.indexOf(element) === position;\r\n });\r\n }\r\n const seen = Object.create(null);\r\n return array.filter((elem) => {\r\n const key = keyFn(elem);\r\n if (seen[key]) {\r\n return false;\r\n }\r\n seen[key] = true;\r\n return true;\r\n });\r\n}\r\nfunction distinctES6(array) {\r\n const seen = new Set();\r\n return array.filter(element => {\r\n if (seen.has(element)) {\r\n return false;\r\n }\r\n seen.add(element);\r\n return true;\r\n });\r\n}\r\nfunction firstOrDefault(array, notFoundValue) {\r\n return array.length > 0 ? array[0] : notFoundValue;\r\n}\r\nfunction flatten(arr) {\r\n return [].concat(...arr);\r\n}\r\nfunction range(arg, to) {\r\n let from = typeof to === 'number' ? arg : 0;\r\n if (typeof to === 'number') {\r\n from = arg;\r\n }\r\n else {\r\n from = 0;\r\n to = arg;\r\n }\r\n const result = [];\r\n if (from <= to) {\r\n for (let i = from; i < to; i++) {\r\n result.push(i);\r\n }\r\n }\r\n else {\r\n for (let i = from; i > to; i--) {\r\n result.push(i);\r\n }\r\n }\r\n return result;\r\n}\r\n/**\r\n * Insert `insertArr` inside `target` at `insertIndex`.\r\n * Please don't touch unless you understand https://jsperf.com/inserting-an-array-within-an-array\r\n */\r\nfunction arrayInsert(target, insertIndex, insertArr) {\r\n const before = target.slice(0, insertIndex);\r\n const after = target.slice(insertIndex);\r\n return before.concat(insertArr, after);\r\n}\r\n/**\r\n * Pushes an element to the start of the array, if found.\r\n */\r\nfunction pushToStart(arr, value) {\r\n const index = arr.indexOf(value);\r\n if (index > -1) {\r\n arr.splice(index, 1);\r\n arr.unshift(value);\r\n }\r\n}\r\n/**\r\n * Pushes an element to the end of the array, if found.\r\n */\r\nfunction pushToEnd(arr, value) {\r\n const index = arr.indexOf(value);\r\n if (index > -1) {\r\n arr.splice(index, 1);\r\n arr.push(value);\r\n }\r\n}\r\nfunction asArray(x) {\r\n return Array.isArray(x) ? x : [x];\r\n}\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/base/common/arrays.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/base/common/cancellation.js":
|
||
/*!***********************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/base/common/cancellation.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 */ \"CancellationToken\": () => (/* binding */ CancellationToken),\n/* harmony export */ \"CancellationTokenSource\": () => (/* binding */ CancellationTokenSource)\n/* harmony export */ });\n/* harmony import */ var _event_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./event.js */ \"./node_modules/monaco-editor/esm/vs/base/common/event.js\");\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\n\r\nconst shortcutEvent = Object.freeze(function (callback, context) {\r\n const handle = setTimeout(callback.bind(context), 0);\r\n return { dispose() { clearTimeout(handle); } };\r\n});\r\nvar CancellationToken;\r\n(function (CancellationToken) {\r\n function isCancellationToken(thing) {\r\n if (thing === CancellationToken.None || thing === CancellationToken.Cancelled) {\r\n return true;\r\n }\r\n if (thing instanceof MutableToken) {\r\n return true;\r\n }\r\n if (!thing || typeof thing !== 'object') {\r\n return false;\r\n }\r\n return typeof thing.isCancellationRequested === 'boolean'\r\n && typeof thing.onCancellationRequested === 'function';\r\n }\r\n CancellationToken.isCancellationToken = isCancellationToken;\r\n CancellationToken.None = Object.freeze({\r\n isCancellationRequested: false,\r\n onCancellationRequested: _event_js__WEBPACK_IMPORTED_MODULE_0__.Event.None\r\n });\r\n CancellationToken.Cancelled = Object.freeze({\r\n isCancellationRequested: true,\r\n onCancellationRequested: shortcutEvent\r\n });\r\n})(CancellationToken || (CancellationToken = {}));\r\nclass MutableToken {\r\n constructor() {\r\n this._isCancelled = false;\r\n this._emitter = null;\r\n }\r\n cancel() {\r\n if (!this._isCancelled) {\r\n this._isCancelled = true;\r\n if (this._emitter) {\r\n this._emitter.fire(undefined);\r\n this.dispose();\r\n }\r\n }\r\n }\r\n get isCancellationRequested() {\r\n return this._isCancelled;\r\n }\r\n get onCancellationRequested() {\r\n if (this._isCancelled) {\r\n return shortcutEvent;\r\n }\r\n if (!this._emitter) {\r\n this._emitter = new _event_js__WEBPACK_IMPORTED_MODULE_0__.Emitter();\r\n }\r\n return this._emitter.event;\r\n }\r\n dispose() {\r\n if (this._emitter) {\r\n this._emitter.dispose();\r\n this._emitter = null;\r\n }\r\n }\r\n}\r\nclass CancellationTokenSource {\r\n constructor(parent) {\r\n this._token = undefined;\r\n this._parentListener = undefined;\r\n this._parentListener = parent && parent.onCancellationRequested(this.cancel, this);\r\n }\r\n get token() {\r\n if (!this._token) {\r\n // be lazy and create the token only when\r\n // actually needed\r\n this._token = new MutableToken();\r\n }\r\n return this._token;\r\n }\r\n cancel() {\r\n if (!this._token) {\r\n // save an object by returning the default\r\n // cancelled token when cancellation happens\r\n // before someone asks for the token\r\n this._token = CancellationToken.Cancelled;\r\n }\r\n else if (this._token instanceof MutableToken) {\r\n // actually cancel\r\n this._token.cancel();\r\n }\r\n }\r\n dispose(cancel = false) {\r\n if (cancel) {\r\n this.cancel();\r\n }\r\n if (this._parentListener) {\r\n this._parentListener.dispose();\r\n }\r\n if (!this._token) {\r\n // ensure to initialize with an empty token if we had none\r\n this._token = CancellationToken.None;\r\n }\r\n else if (this._token instanceof MutableToken) {\r\n // actually dispose\r\n this._token.dispose();\r\n }\r\n }\r\n}\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/base/common/cancellation.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/base/common/diff/diff.js":
|
||
/*!********************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/base/common/diff/diff.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 */ \"StringDiffSequence\": () => (/* binding */ StringDiffSequence),\n/* harmony export */ \"stringDiff\": () => (/* binding */ stringDiff),\n/* harmony export */ \"Debug\": () => (/* binding */ Debug),\n/* harmony export */ \"MyArray\": () => (/* binding */ MyArray),\n/* harmony export */ \"LcsDiff\": () => (/* binding */ LcsDiff)\n/* harmony export */ });\n/* harmony import */ var _diffChange_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./diffChange.js */ \"./node_modules/monaco-editor/esm/vs/base/common/diff/diffChange.js\");\n/* harmony import */ var _hash_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../hash.js */ \"./node_modules/monaco-editor/esm/vs/base/common/hash.js\");\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\n\r\n\r\nclass StringDiffSequence {\r\n constructor(source) {\r\n this.source = source;\r\n }\r\n getElements() {\r\n const source = this.source;\r\n const characters = new Int32Array(source.length);\r\n for (let i = 0, len = source.length; i < len; i++) {\r\n characters[i] = source.charCodeAt(i);\r\n }\r\n return characters;\r\n }\r\n}\r\nfunction stringDiff(original, modified, pretty) {\r\n return new LcsDiff(new StringDiffSequence(original), new StringDiffSequence(modified)).ComputeDiff(pretty).changes;\r\n}\r\n//\r\n// The code below has been ported from a C# implementation in VS\r\n//\r\nclass Debug {\r\n static Assert(condition, message) {\r\n if (!condition) {\r\n throw new Error(message);\r\n }\r\n }\r\n}\r\nclass MyArray {\r\n /**\r\n * Copies a range of elements from an Array starting at the specified source index and pastes\r\n * them to another Array starting at the specified destination index. The length and the indexes\r\n * are specified as 64-bit integers.\r\n * sourceArray:\r\n *\t\tThe Array that contains the data to copy.\r\n * sourceIndex:\r\n *\t\tA 64-bit integer that represents the index in the sourceArray at which copying begins.\r\n * destinationArray:\r\n *\t\tThe Array that receives the data.\r\n * destinationIndex:\r\n *\t\tA 64-bit integer that represents the index in the destinationArray at which storing begins.\r\n * length:\r\n *\t\tA 64-bit integer that represents the number of elements to copy.\r\n */\r\n static Copy(sourceArray, sourceIndex, destinationArray, destinationIndex, length) {\r\n for (let i = 0; i < length; i++) {\r\n destinationArray[destinationIndex + i] = sourceArray[sourceIndex + i];\r\n }\r\n }\r\n static Copy2(sourceArray, sourceIndex, destinationArray, destinationIndex, length) {\r\n for (let i = 0; i < length; i++) {\r\n destinationArray[destinationIndex + i] = sourceArray[sourceIndex + i];\r\n }\r\n }\r\n}\r\n/**\r\n * A utility class which helps to create the set of DiffChanges from\r\n * a difference operation. This class accepts original DiffElements and\r\n * modified DiffElements that are involved in a particular change. The\r\n * MarktNextChange() method can be called to mark the separation between\r\n * distinct changes. At the end, the Changes property can be called to retrieve\r\n * the constructed changes.\r\n */\r\nclass DiffChangeHelper {\r\n /**\r\n * Constructs a new DiffChangeHelper for the given DiffSequences.\r\n */\r\n constructor() {\r\n this.m_changes = [];\r\n this.m_originalStart = 1073741824 /* MAX_SAFE_SMALL_INTEGER */;\r\n this.m_modifiedStart = 1073741824 /* MAX_SAFE_SMALL_INTEGER */;\r\n this.m_originalCount = 0;\r\n this.m_modifiedCount = 0;\r\n }\r\n /**\r\n * Marks the beginning of the next change in the set of differences.\r\n */\r\n MarkNextChange() {\r\n // Only add to the list if there is something to add\r\n if (this.m_originalCount > 0 || this.m_modifiedCount > 0) {\r\n // Add the new change to our list\r\n this.m_changes.push(new _diffChange_js__WEBPACK_IMPORTED_MODULE_0__.DiffChange(this.m_originalStart, this.m_originalCount, this.m_modifiedStart, this.m_modifiedCount));\r\n }\r\n // Reset for the next change\r\n this.m_originalCount = 0;\r\n this.m_modifiedCount = 0;\r\n this.m_originalStart = 1073741824 /* MAX_SAFE_SMALL_INTEGER */;\r\n this.m_modifiedStart = 1073741824 /* MAX_SAFE_SMALL_INTEGER */;\r\n }\r\n /**\r\n * Adds the original element at the given position to the elements\r\n * affected by the current change. The modified index gives context\r\n * to the change position with respect to the original sequence.\r\n * @param originalIndex The index of the original element to add.\r\n * @param modifiedIndex The index of the modified element that provides corresponding position in the modified sequence.\r\n */\r\n AddOriginalElement(originalIndex, modifiedIndex) {\r\n // The 'true' start index is the smallest of the ones we've seen\r\n this.m_originalStart = Math.min(this.m_originalStart, originalIndex);\r\n this.m_modifiedStart = Math.min(this.m_modifiedStart, modifiedIndex);\r\n this.m_originalCount++;\r\n }\r\n /**\r\n * Adds the modified element at the given position to the elements\r\n * affected by the current change. The original index gives context\r\n * to the change position with respect to the modified sequence.\r\n * @param originalIndex The index of the original element that provides corresponding position in the original sequence.\r\n * @param modifiedIndex The index of the modified element to add.\r\n */\r\n AddModifiedElement(originalIndex, modifiedIndex) {\r\n // The 'true' start index is the smallest of the ones we've seen\r\n this.m_originalStart = Math.min(this.m_originalStart, originalIndex);\r\n this.m_modifiedStart = Math.min(this.m_modifiedStart, modifiedIndex);\r\n this.m_modifiedCount++;\r\n }\r\n /**\r\n * Retrieves all of the changes marked by the class.\r\n */\r\n getChanges() {\r\n if (this.m_originalCount > 0 || this.m_modifiedCount > 0) {\r\n // Finish up on whatever is left\r\n this.MarkNextChange();\r\n }\r\n return this.m_changes;\r\n }\r\n /**\r\n * Retrieves all of the changes marked by the class in the reverse order\r\n */\r\n getReverseChanges() {\r\n if (this.m_originalCount > 0 || this.m_modifiedCount > 0) {\r\n // Finish up on whatever is left\r\n this.MarkNextChange();\r\n }\r\n this.m_changes.reverse();\r\n return this.m_changes;\r\n }\r\n}\r\n/**\r\n * An implementation of the difference algorithm described in\r\n * \"An O(ND) Difference Algorithm and its variations\" by Eugene W. Myers\r\n */\r\nclass LcsDiff {\r\n /**\r\n * Constructs the DiffFinder\r\n */\r\n constructor(originalSequence, modifiedSequence, continueProcessingPredicate = null) {\r\n this.ContinueProcessingPredicate = continueProcessingPredicate;\r\n const [originalStringElements, originalElementsOrHash, originalHasStrings] = LcsDiff._getElements(originalSequence);\r\n const [modifiedStringElements, modifiedElementsOrHash, modifiedHasStrings] = LcsDiff._getElements(modifiedSequence);\r\n this._hasStrings = (originalHasStrings && modifiedHasStrings);\r\n this._originalStringElements = originalStringElements;\r\n this._originalElementsOrHash = originalElementsOrHash;\r\n this._modifiedStringElements = modifiedStringElements;\r\n this._modifiedElementsOrHash = modifiedElementsOrHash;\r\n this.m_forwardHistory = [];\r\n this.m_reverseHistory = [];\r\n }\r\n static _isStringArray(arr) {\r\n return (arr.length > 0 && typeof arr[0] === 'string');\r\n }\r\n static _getElements(sequence) {\r\n const elements = sequence.getElements();\r\n if (LcsDiff._isStringArray(elements)) {\r\n const hashes = new Int32Array(elements.length);\r\n for (let i = 0, len = elements.length; i < len; i++) {\r\n hashes[i] = (0,_hash_js__WEBPACK_IMPORTED_MODULE_1__.stringHash)(elements[i], 0);\r\n }\r\n return [elements, hashes, true];\r\n }\r\n if (elements instanceof Int32Array) {\r\n return [[], elements, false];\r\n }\r\n return [[], new Int32Array(elements), false];\r\n }\r\n ElementsAreEqual(originalIndex, newIndex) {\r\n if (this._originalElementsOrHash[originalIndex] !== this._modifiedElementsOrHash[newIndex]) {\r\n return false;\r\n }\r\n return (this._hasStrings ? this._originalStringElements[originalIndex] === this._modifiedStringElements[newIndex] : true);\r\n }\r\n OriginalElementsAreEqual(index1, index2) {\r\n if (this._originalElementsOrHash[index1] !== this._originalElementsOrHash[index2]) {\r\n return false;\r\n }\r\n return (this._hasStrings ? this._originalStringElements[index1] === this._originalStringElements[index2] : true);\r\n }\r\n ModifiedElementsAreEqual(index1, index2) {\r\n if (this._modifiedElementsOrHash[index1] !== this._modifiedElementsOrHash[index2]) {\r\n return false;\r\n }\r\n return (this._hasStrings ? this._modifiedStringElements[index1] === this._modifiedStringElements[index2] : true);\r\n }\r\n ComputeDiff(pretty) {\r\n return this._ComputeDiff(0, this._originalElementsOrHash.length - 1, 0, this._modifiedElementsOrHash.length - 1, pretty);\r\n }\r\n /**\r\n * Computes the differences between the original and modified input\r\n * sequences on the bounded range.\r\n * @returns An array of the differences between the two input sequences.\r\n */\r\n _ComputeDiff(originalStart, originalEnd, modifiedStart, modifiedEnd, pretty) {\r\n const quitEarlyArr = [false];\r\n let changes = this.ComputeDiffRecursive(originalStart, originalEnd, modifiedStart, modifiedEnd, quitEarlyArr);\r\n if (pretty) {\r\n // We have to clean up the computed diff to be more intuitive\r\n // but it turns out this cannot be done correctly until the entire set\r\n // of diffs have been computed\r\n changes = this.PrettifyChanges(changes);\r\n }\r\n return {\r\n quitEarly: quitEarlyArr[0],\r\n changes: changes\r\n };\r\n }\r\n /**\r\n * Private helper method which computes the differences on the bounded range\r\n * recursively.\r\n * @returns An array of the differences between the two input sequences.\r\n */\r\n ComputeDiffRecursive(originalStart, originalEnd, modifiedStart, modifiedEnd, quitEarlyArr) {\r\n quitEarlyArr[0] = false;\r\n // Find the start of the differences\r\n while (originalStart <= originalEnd && modifiedStart <= modifiedEnd && this.ElementsAreEqual(originalStart, modifiedStart)) {\r\n originalStart++;\r\n modifiedStart++;\r\n }\r\n // Find the end of the differences\r\n while (originalEnd >= originalStart && modifiedEnd >= modifiedStart && this.ElementsAreEqual(originalEnd, modifiedEnd)) {\r\n originalEnd--;\r\n modifiedEnd--;\r\n }\r\n // In the special case where we either have all insertions or all deletions or the sequences are identical\r\n if (originalStart > originalEnd || modifiedStart > modifiedEnd) {\r\n let changes;\r\n if (modifiedStart <= modifiedEnd) {\r\n Debug.Assert(originalStart === originalEnd + 1, 'originalStart should only be one more than originalEnd');\r\n // All insertions\r\n changes = [\r\n new _diffChange_js__WEBPACK_IMPORTED_MODULE_0__.DiffChange(originalStart, 0, modifiedStart, modifiedEnd - modifiedStart + 1)\r\n ];\r\n }\r\n else if (originalStart <= originalEnd) {\r\n Debug.Assert(modifiedStart === modifiedEnd + 1, 'modifiedStart should only be one more than modifiedEnd');\r\n // All deletions\r\n changes = [\r\n new _diffChange_js__WEBPACK_IMPORTED_MODULE_0__.DiffChange(originalStart, originalEnd - originalStart + 1, modifiedStart, 0)\r\n ];\r\n }\r\n else {\r\n Debug.Assert(originalStart === originalEnd + 1, 'originalStart should only be one more than originalEnd');\r\n Debug.Assert(modifiedStart === modifiedEnd + 1, 'modifiedStart should only be one more than modifiedEnd');\r\n // Identical sequences - No differences\r\n changes = [];\r\n }\r\n return changes;\r\n }\r\n // This problem can be solved using the Divide-And-Conquer technique.\r\n const midOriginalArr = [0];\r\n const midModifiedArr = [0];\r\n const result = this.ComputeRecursionPoint(originalStart, originalEnd, modifiedStart, modifiedEnd, midOriginalArr, midModifiedArr, quitEarlyArr);\r\n const midOriginal = midOriginalArr[0];\r\n const midModified = midModifiedArr[0];\r\n if (result !== null) {\r\n // Result is not-null when there was enough memory to compute the changes while\r\n // searching for the recursion point\r\n return result;\r\n }\r\n else if (!quitEarlyArr[0]) {\r\n // We can break the problem down recursively by finding the changes in the\r\n // First Half: (originalStart, modifiedStart) to (midOriginal, midModified)\r\n // Second Half: (midOriginal + 1, minModified + 1) to (originalEnd, modifiedEnd)\r\n // NOTE: ComputeDiff() is inclusive, therefore the second range starts on the next point\r\n const leftChanges = this.ComputeDiffRecursive(originalStart, midOriginal, modifiedStart, midModified, quitEarlyArr);\r\n let rightChanges = [];\r\n if (!quitEarlyArr[0]) {\r\n rightChanges = this.ComputeDiffRecursive(midOriginal + 1, originalEnd, midModified + 1, modifiedEnd, quitEarlyArr);\r\n }\r\n else {\r\n // We did't have time to finish the first half, so we don't have time to compute this half.\r\n // Consider the entire rest of the sequence different.\r\n rightChanges = [\r\n new _diffChange_js__WEBPACK_IMPORTED_MODULE_0__.DiffChange(midOriginal + 1, originalEnd - (midOriginal + 1) + 1, midModified + 1, modifiedEnd - (midModified + 1) + 1)\r\n ];\r\n }\r\n return this.ConcatenateChanges(leftChanges, rightChanges);\r\n }\r\n // If we hit here, we quit early, and so can't return anything meaningful\r\n return [\r\n new _diffChange_js__WEBPACK_IMPORTED_MODULE_0__.DiffChange(originalStart, originalEnd - originalStart + 1, modifiedStart, modifiedEnd - modifiedStart + 1)\r\n ];\r\n }\r\n WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr) {\r\n let forwardChanges = null;\r\n let reverseChanges = null;\r\n // First, walk backward through the forward diagonals history\r\n let changeHelper = new DiffChangeHelper();\r\n let diagonalMin = diagonalForwardStart;\r\n let diagonalMax = diagonalForwardEnd;\r\n let diagonalRelative = (midOriginalArr[0] - midModifiedArr[0]) - diagonalForwardOffset;\r\n let lastOriginalIndex = -1073741824 /* MIN_SAFE_SMALL_INTEGER */;\r\n let historyIndex = this.m_forwardHistory.length - 1;\r\n do {\r\n // Get the diagonal index from the relative diagonal number\r\n const diagonal = diagonalRelative + diagonalForwardBase;\r\n // Figure out where we came from\r\n if (diagonal === diagonalMin || (diagonal < diagonalMax && forwardPoints[diagonal - 1] < forwardPoints[diagonal + 1])) {\r\n // Vertical line (the element is an insert)\r\n originalIndex = forwardPoints[diagonal + 1];\r\n modifiedIndex = originalIndex - diagonalRelative - diagonalForwardOffset;\r\n if (originalIndex < lastOriginalIndex) {\r\n changeHelper.MarkNextChange();\r\n }\r\n lastOriginalIndex = originalIndex;\r\n changeHelper.AddModifiedElement(originalIndex + 1, modifiedIndex);\r\n diagonalRelative = (diagonal + 1) - diagonalForwardBase; //Setup for the next iteration\r\n }\r\n else {\r\n // Horizontal line (the element is a deletion)\r\n originalIndex = forwardPoints[diagonal - 1] + 1;\r\n modifiedIndex = originalIndex - diagonalRelative - diagonalForwardOffset;\r\n if (originalIndex < lastOriginalIndex) {\r\n changeHelper.MarkNextChange();\r\n }\r\n lastOriginalIndex = originalIndex - 1;\r\n changeHelper.AddOriginalElement(originalIndex, modifiedIndex + 1);\r\n diagonalRelative = (diagonal - 1) - diagonalForwardBase; //Setup for the next iteration\r\n }\r\n if (historyIndex >= 0) {\r\n forwardPoints = this.m_forwardHistory[historyIndex];\r\n diagonalForwardBase = forwardPoints[0]; //We stored this in the first spot\r\n diagonalMin = 1;\r\n diagonalMax = forwardPoints.length - 1;\r\n }\r\n } while (--historyIndex >= -1);\r\n // Ironically, we get the forward changes as the reverse of the\r\n // order we added them since we technically added them backwards\r\n forwardChanges = changeHelper.getReverseChanges();\r\n if (quitEarlyArr[0]) {\r\n // TODO: Calculate a partial from the reverse diagonals.\r\n // For now, just assume everything after the midOriginal/midModified point is a diff\r\n let originalStartPoint = midOriginalArr[0] + 1;\r\n let modifiedStartPoint = midModifiedArr[0] + 1;\r\n if (forwardChanges !== null && forwardChanges.length > 0) {\r\n const lastForwardChange = forwardChanges[forwardChanges.length - 1];\r\n originalStartPoint = Math.max(originalStartPoint, lastForwardChange.getOriginalEnd());\r\n modifiedStartPoint = Math.max(modifiedStartPoint, lastForwardChange.getModifiedEnd());\r\n }\r\n reverseChanges = [\r\n new _diffChange_js__WEBPACK_IMPORTED_MODULE_0__.DiffChange(originalStartPoint, originalEnd - originalStartPoint + 1, modifiedStartPoint, modifiedEnd - modifiedStartPoint + 1)\r\n ];\r\n }\r\n else {\r\n // Now walk backward through the reverse diagonals history\r\n changeHelper = new DiffChangeHelper();\r\n diagonalMin = diagonalReverseStart;\r\n diagonalMax = diagonalReverseEnd;\r\n diagonalRelative = (midOriginalArr[0] - midModifiedArr[0]) - diagonalReverseOffset;\r\n lastOriginalIndex = 1073741824 /* MAX_SAFE_SMALL_INTEGER */;\r\n historyIndex = (deltaIsEven) ? this.m_reverseHistory.length - 1 : this.m_reverseHistory.length - 2;\r\n do {\r\n // Get the diagonal index from the relative diagonal number\r\n const diagonal = diagonalRelative + diagonalReverseBase;\r\n // Figure out where we came from\r\n if (diagonal === diagonalMin || (diagonal < diagonalMax && reversePoints[diagonal - 1] >= reversePoints[diagonal + 1])) {\r\n // Horizontal line (the element is a deletion))\r\n originalIndex = reversePoints[diagonal + 1] - 1;\r\n modifiedIndex = originalIndex - diagonalRelative - diagonalReverseOffset;\r\n if (originalIndex > lastOriginalIndex) {\r\n changeHelper.MarkNextChange();\r\n }\r\n lastOriginalIndex = originalIndex + 1;\r\n changeHelper.AddOriginalElement(originalIndex + 1, modifiedIndex + 1);\r\n diagonalRelative = (diagonal + 1) - diagonalReverseBase; //Setup for the next iteration\r\n }\r\n else {\r\n // Vertical line (the element is an insertion)\r\n originalIndex = reversePoints[diagonal - 1];\r\n modifiedIndex = originalIndex - diagonalRelative - diagonalReverseOffset;\r\n if (originalIndex > lastOriginalIndex) {\r\n changeHelper.MarkNextChange();\r\n }\r\n lastOriginalIndex = originalIndex;\r\n changeHelper.AddModifiedElement(originalIndex + 1, modifiedIndex + 1);\r\n diagonalRelative = (diagonal - 1) - diagonalReverseBase; //Setup for the next iteration\r\n }\r\n if (historyIndex >= 0) {\r\n reversePoints = this.m_reverseHistory[historyIndex];\r\n diagonalReverseBase = reversePoints[0]; //We stored this in the first spot\r\n diagonalMin = 1;\r\n diagonalMax = reversePoints.length - 1;\r\n }\r\n } while (--historyIndex >= -1);\r\n // There are cases where the reverse history will find diffs that\r\n // are correct, but not intuitive, so we need shift them.\r\n reverseChanges = changeHelper.getChanges();\r\n }\r\n return this.ConcatenateChanges(forwardChanges, reverseChanges);\r\n }\r\n /**\r\n * Given the range to compute the diff on, this method finds the point:\r\n * (midOriginal, midModified)\r\n * that exists in the middle of the LCS of the two sequences and\r\n * is the point at which the LCS problem may be broken down recursively.\r\n * This method will try to keep the LCS trace in memory. If the LCS recursion\r\n * point is calculated and the full trace is available in memory, then this method\r\n * will return the change list.\r\n * @param originalStart The start bound of the original sequence range\r\n * @param originalEnd The end bound of the original sequence range\r\n * @param modifiedStart The start bound of the modified sequence range\r\n * @param modifiedEnd The end bound of the modified sequence range\r\n * @param midOriginal The middle point of the original sequence range\r\n * @param midModified The middle point of the modified sequence range\r\n * @returns The diff changes, if available, otherwise null\r\n */\r\n ComputeRecursionPoint(originalStart, originalEnd, modifiedStart, modifiedEnd, midOriginalArr, midModifiedArr, quitEarlyArr) {\r\n let originalIndex = 0, modifiedIndex = 0;\r\n let diagonalForwardStart = 0, diagonalForwardEnd = 0;\r\n let diagonalReverseStart = 0, diagonalReverseEnd = 0;\r\n // To traverse the edit graph and produce the proper LCS, our actual\r\n // start position is just outside the given boundary\r\n originalStart--;\r\n modifiedStart--;\r\n // We set these up to make the compiler happy, but they will\r\n // be replaced before we return with the actual recursion point\r\n midOriginalArr[0] = 0;\r\n midModifiedArr[0] = 0;\r\n // Clear out the history\r\n this.m_forwardHistory = [];\r\n this.m_reverseHistory = [];\r\n // Each cell in the two arrays corresponds to a diagonal in the edit graph.\r\n // The integer value in the cell represents the originalIndex of the furthest\r\n // reaching point found so far that ends in that diagonal.\r\n // The modifiedIndex can be computed mathematically from the originalIndex and the diagonal number.\r\n const maxDifferences = (originalEnd - originalStart) + (modifiedEnd - modifiedStart);\r\n const numDiagonals = maxDifferences + 1;\r\n const forwardPoints = new Int32Array(numDiagonals);\r\n const reversePoints = new Int32Array(numDiagonals);\r\n // diagonalForwardBase: Index into forwardPoints of the diagonal which passes through (originalStart, modifiedStart)\r\n // diagonalReverseBase: Index into reversePoints of the diagonal which passes through (originalEnd, modifiedEnd)\r\n const diagonalForwardBase = (modifiedEnd - modifiedStart);\r\n const diagonalReverseBase = (originalEnd - originalStart);\r\n // diagonalForwardOffset: Geometric offset which allows modifiedIndex to be computed from originalIndex and the\r\n // diagonal number (relative to diagonalForwardBase)\r\n // diagonalReverseOffset: Geometric offset which allows modifiedIndex to be computed from originalIndex and the\r\n // diagonal number (relative to diagonalReverseBase)\r\n const diagonalForwardOffset = (originalStart - modifiedStart);\r\n const diagonalReverseOffset = (originalEnd - modifiedEnd);\r\n // delta: The difference between the end diagonal and the start diagonal. This is used to relate diagonal numbers\r\n // relative to the start diagonal with diagonal numbers relative to the end diagonal.\r\n // The Even/Oddn-ness of this delta is important for determining when we should check for overlap\r\n const delta = diagonalReverseBase - diagonalForwardBase;\r\n const deltaIsEven = (delta % 2 === 0);\r\n // Here we set up the start and end points as the furthest points found so far\r\n // in both the forward and reverse directions, respectively\r\n forwardPoints[diagonalForwardBase] = originalStart;\r\n reversePoints[diagonalReverseBase] = originalEnd;\r\n // Remember if we quit early, and thus need to do a best-effort result instead of a real result.\r\n quitEarlyArr[0] = false;\r\n // A couple of points:\r\n // --With this method, we iterate on the number of differences between the two sequences.\r\n // The more differences there actually are, the longer this will take.\r\n // --Also, as the number of differences increases, we have to search on diagonals further\r\n // away from the reference diagonal (which is diagonalForwardBase for forward, diagonalReverseBase for reverse).\r\n // --We extend on even diagonals (relative to the reference diagonal) only when numDifferences\r\n // is even and odd diagonals only when numDifferences is odd.\r\n for (let numDifferences = 1; numDifferences <= (maxDifferences / 2) + 1; numDifferences++) {\r\n let furthestOriginalIndex = 0;\r\n let furthestModifiedIndex = 0;\r\n // Run the algorithm in the forward direction\r\n diagonalForwardStart = this.ClipDiagonalBound(diagonalForwardBase - numDifferences, numDifferences, diagonalForwardBase, numDiagonals);\r\n diagonalForwardEnd = this.ClipDiagonalBound(diagonalForwardBase + numDifferences, numDifferences, diagonalForwardBase, numDiagonals);\r\n for (let diagonal = diagonalForwardStart; diagonal <= diagonalForwardEnd; diagonal += 2) {\r\n // STEP 1: We extend the furthest reaching point in the present diagonal\r\n // by looking at the diagonals above and below and picking the one whose point\r\n // is further away from the start point (originalStart, modifiedStart)\r\n if (diagonal === diagonalForwardStart || (diagonal < diagonalForwardEnd && forwardPoints[diagonal - 1] < forwardPoints[diagonal + 1])) {\r\n originalIndex = forwardPoints[diagonal + 1];\r\n }\r\n else {\r\n originalIndex = forwardPoints[diagonal - 1] + 1;\r\n }\r\n modifiedIndex = originalIndex - (diagonal - diagonalForwardBase) - diagonalForwardOffset;\r\n // Save the current originalIndex so we can test for false overlap in step 3\r\n const tempOriginalIndex = originalIndex;\r\n // STEP 2: We can continue to extend the furthest reaching point in the present diagonal\r\n // so long as the elements are equal.\r\n while (originalIndex < originalEnd && modifiedIndex < modifiedEnd && this.ElementsAreEqual(originalIndex + 1, modifiedIndex + 1)) {\r\n originalIndex++;\r\n modifiedIndex++;\r\n }\r\n forwardPoints[diagonal] = originalIndex;\r\n if (originalIndex + modifiedIndex > furthestOriginalIndex + furthestModifiedIndex) {\r\n furthestOriginalIndex = originalIndex;\r\n furthestModifiedIndex = modifiedIndex;\r\n }\r\n // STEP 3: If delta is odd (overlap first happens on forward when delta is odd)\r\n // and diagonal is in the range of reverse diagonals computed for numDifferences-1\r\n // (the previous iteration; we haven't computed reverse diagonals for numDifferences yet)\r\n // then check for overlap.\r\n if (!deltaIsEven && Math.abs(diagonal - diagonalReverseBase) <= (numDifferences - 1)) {\r\n if (originalIndex >= reversePoints[diagonal]) {\r\n midOriginalArr[0] = originalIndex;\r\n midModifiedArr[0] = modifiedIndex;\r\n if (tempOriginalIndex <= reversePoints[diagonal] && 1447 /* MaxDifferencesHistory */ > 0 && numDifferences <= (1447 /* MaxDifferencesHistory */ + 1)) {\r\n // BINGO! We overlapped, and we have the full trace in memory!\r\n return this.WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr);\r\n }\r\n else {\r\n // Either false overlap, or we didn't have enough memory for the full trace\r\n // Just return the recursion point\r\n return null;\r\n }\r\n }\r\n }\r\n }\r\n // Check to see if we should be quitting early, before moving on to the next iteration.\r\n const matchLengthOfLongest = ((furthestOriginalIndex - originalStart) + (furthestModifiedIndex - modifiedStart) - numDifferences) / 2;\r\n if (this.ContinueProcessingPredicate !== null && !this.ContinueProcessingPredicate(furthestOriginalIndex, matchLengthOfLongest)) {\r\n // We can't finish, so skip ahead to generating a result from what we have.\r\n quitEarlyArr[0] = true;\r\n // Use the furthest distance we got in the forward direction.\r\n midOriginalArr[0] = furthestOriginalIndex;\r\n midModifiedArr[0] = furthestModifiedIndex;\r\n if (matchLengthOfLongest > 0 && 1447 /* MaxDifferencesHistory */ > 0 && numDifferences <= (1447 /* MaxDifferencesHistory */ + 1)) {\r\n // Enough of the history is in memory to walk it backwards\r\n return this.WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr);\r\n }\r\n else {\r\n // We didn't actually remember enough of the history.\r\n //Since we are quiting the diff early, we need to shift back the originalStart and modified start\r\n //back into the boundary limits since we decremented their value above beyond the boundary limit.\r\n originalStart++;\r\n modifiedStart++;\r\n return [\r\n new _diffChange_js__WEBPACK_IMPORTED_MODULE_0__.DiffChange(originalStart, originalEnd - originalStart + 1, modifiedStart, modifiedEnd - modifiedStart + 1)\r\n ];\r\n }\r\n }\r\n // Run the algorithm in the reverse direction\r\n diagonalReverseStart = this.ClipDiagonalBound(diagonalReverseBase - numDifferences, numDifferences, diagonalReverseBase, numDiagonals);\r\n diagonalReverseEnd = this.ClipDiagonalBound(diagonalReverseBase + numDifferences, numDifferences, diagonalReverseBase, numDiagonals);\r\n for (let diagonal = diagonalReverseStart; diagonal <= diagonalReverseEnd; diagonal += 2) {\r\n // STEP 1: We extend the furthest reaching point in the present diagonal\r\n // by looking at the diagonals above and below and picking the one whose point\r\n // is further away from the start point (originalEnd, modifiedEnd)\r\n if (diagonal === diagonalReverseStart || (diagonal < diagonalReverseEnd && reversePoints[diagonal - 1] >= reversePoints[diagonal + 1])) {\r\n originalIndex = reversePoints[diagonal + 1] - 1;\r\n }\r\n else {\r\n originalIndex = reversePoints[diagonal - 1];\r\n }\r\n modifiedIndex = originalIndex - (diagonal - diagonalReverseBase) - diagonalReverseOffset;\r\n // Save the current originalIndex so we can test for false overlap\r\n const tempOriginalIndex = originalIndex;\r\n // STEP 2: We can continue to extend the furthest reaching point in the present diagonal\r\n // as long as the elements are equal.\r\n while (originalIndex > originalStart && modifiedIndex > modifiedStart && this.ElementsAreEqual(originalIndex, modifiedIndex)) {\r\n originalIndex--;\r\n modifiedIndex--;\r\n }\r\n reversePoints[diagonal] = originalIndex;\r\n // STEP 4: If delta is even (overlap first happens on reverse when delta is even)\r\n // and diagonal is in the range of forward diagonals computed for numDifferences\r\n // then check for overlap.\r\n if (deltaIsEven && Math.abs(diagonal - diagonalForwardBase) <= numDifferences) {\r\n if (originalIndex <= forwardPoints[diagonal]) {\r\n midOriginalArr[0] = originalIndex;\r\n midModifiedArr[0] = modifiedIndex;\r\n if (tempOriginalIndex >= forwardPoints[diagonal] && 1447 /* MaxDifferencesHistory */ > 0 && numDifferences <= (1447 /* MaxDifferencesHistory */ + 1)) {\r\n // BINGO! We overlapped, and we have the full trace in memory!\r\n return this.WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr);\r\n }\r\n else {\r\n // Either false overlap, or we didn't have enough memory for the full trace\r\n // Just return the recursion point\r\n return null;\r\n }\r\n }\r\n }\r\n }\r\n // Save current vectors to history before the next iteration\r\n if (numDifferences <= 1447 /* MaxDifferencesHistory */) {\r\n // We are allocating space for one extra int, which we fill with\r\n // the index of the diagonal base index\r\n let temp = new Int32Array(diagonalForwardEnd - diagonalForwardStart + 2);\r\n temp[0] = diagonalForwardBase - diagonalForwardStart + 1;\r\n MyArray.Copy2(forwardPoints, diagonalForwardStart, temp, 1, diagonalForwardEnd - diagonalForwardStart + 1);\r\n this.m_forwardHistory.push(temp);\r\n temp = new Int32Array(diagonalReverseEnd - diagonalReverseStart + 2);\r\n temp[0] = diagonalReverseBase - diagonalReverseStart + 1;\r\n MyArray.Copy2(reversePoints, diagonalReverseStart, temp, 1, diagonalReverseEnd - diagonalReverseStart + 1);\r\n this.m_reverseHistory.push(temp);\r\n }\r\n }\r\n // If we got here, then we have the full trace in history. We just have to convert it to a change list\r\n // NOTE: This part is a bit messy\r\n return this.WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr);\r\n }\r\n /**\r\n * Shifts the given changes to provide a more intuitive diff.\r\n * While the first element in a diff matches the first element after the diff,\r\n * we shift the diff down.\r\n *\r\n * @param changes The list of changes to shift\r\n * @returns The shifted changes\r\n */\r\n PrettifyChanges(changes) {\r\n // Shift all the changes down first\r\n for (let i = 0; i < changes.length; i++) {\r\n const change = changes[i];\r\n const originalStop = (i < changes.length - 1) ? changes[i + 1].originalStart : this._originalElementsOrHash.length;\r\n const modifiedStop = (i < changes.length - 1) ? changes[i + 1].modifiedStart : this._modifiedElementsOrHash.length;\r\n const checkOriginal = change.originalLength > 0;\r\n const checkModified = change.modifiedLength > 0;\r\n while (change.originalStart + change.originalLength < originalStop &&\r\n change.modifiedStart + change.modifiedLength < modifiedStop &&\r\n (!checkOriginal || this.OriginalElementsAreEqual(change.originalStart, change.originalStart + change.originalLength)) &&\r\n (!checkModified || this.ModifiedElementsAreEqual(change.modifiedStart, change.modifiedStart + change.modifiedLength))) {\r\n change.originalStart++;\r\n change.modifiedStart++;\r\n }\r\n let mergedChangeArr = [null];\r\n if (i < changes.length - 1 && this.ChangesOverlap(changes[i], changes[i + 1], mergedChangeArr)) {\r\n changes[i] = mergedChangeArr[0];\r\n changes.splice(i + 1, 1);\r\n i--;\r\n continue;\r\n }\r\n }\r\n // Shift changes back up until we hit empty or whitespace-only lines\r\n for (let i = changes.length - 1; i >= 0; i--) {\r\n const change = changes[i];\r\n let originalStop = 0;\r\n let modifiedStop = 0;\r\n if (i > 0) {\r\n const prevChange = changes[i - 1];\r\n if (prevChange.originalLength > 0) {\r\n originalStop = prevChange.originalStart + prevChange.originalLength;\r\n }\r\n if (prevChange.modifiedLength > 0) {\r\n modifiedStop = prevChange.modifiedStart + prevChange.modifiedLength;\r\n }\r\n }\r\n const checkOriginal = change.originalLength > 0;\r\n const checkModified = change.modifiedLength > 0;\r\n let bestDelta = 0;\r\n let bestScore = this._boundaryScore(change.originalStart, change.originalLength, change.modifiedStart, change.modifiedLength);\r\n for (let delta = 1;; delta++) {\r\n const originalStart = change.originalStart - delta;\r\n const modifiedStart = change.modifiedStart - delta;\r\n if (originalStart < originalStop || modifiedStart < modifiedStop) {\r\n break;\r\n }\r\n if (checkOriginal && !this.OriginalElementsAreEqual(originalStart, originalStart + change.originalLength)) {\r\n break;\r\n }\r\n if (checkModified && !this.ModifiedElementsAreEqual(modifiedStart, modifiedStart + change.modifiedLength)) {\r\n break;\r\n }\r\n const score = this._boundaryScore(originalStart, change.originalLength, modifiedStart, change.modifiedLength);\r\n if (score > bestScore) {\r\n bestScore = score;\r\n bestDelta = delta;\r\n }\r\n }\r\n change.originalStart -= bestDelta;\r\n change.modifiedStart -= bestDelta;\r\n }\r\n // There could be multiple longest common substrings.\r\n // Give preference to the ones containing longer lines\r\n if (this._hasStrings) {\r\n for (let i = 1, len = changes.length; i < len; i++) {\r\n const aChange = changes[i - 1];\r\n const bChange = changes[i];\r\n const matchedLength = bChange.originalStart - aChange.originalStart - aChange.originalLength;\r\n const aOriginalStart = aChange.originalStart;\r\n const bOriginalEnd = bChange.originalStart + bChange.originalLength;\r\n const abOriginalLength = bOriginalEnd - aOriginalStart;\r\n const aModifiedStart = aChange.modifiedStart;\r\n const bModifiedEnd = bChange.modifiedStart + bChange.modifiedLength;\r\n const abModifiedLength = bModifiedEnd - aModifiedStart;\r\n // Avoid wasting a lot of time with these searches\r\n if (matchedLength < 5 && abOriginalLength < 20 && abModifiedLength < 20) {\r\n const t = this._findBetterContiguousSequence(aOriginalStart, abOriginalLength, aModifiedStart, abModifiedLength, matchedLength);\r\n if (t) {\r\n const [originalMatchStart, modifiedMatchStart] = t;\r\n if (originalMatchStart !== aChange.originalStart + aChange.originalLength || modifiedMatchStart !== aChange.modifiedStart + aChange.modifiedLength) {\r\n // switch to another sequence that has a better score\r\n aChange.originalLength = originalMatchStart - aChange.originalStart;\r\n aChange.modifiedLength = modifiedMatchStart - aChange.modifiedStart;\r\n bChange.originalStart = originalMatchStart + matchedLength;\r\n bChange.modifiedStart = modifiedMatchStart + matchedLength;\r\n bChange.originalLength = bOriginalEnd - bChange.originalStart;\r\n bChange.modifiedLength = bModifiedEnd - bChange.modifiedStart;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n return changes;\r\n }\r\n _findBetterContiguousSequence(originalStart, originalLength, modifiedStart, modifiedLength, desiredLength) {\r\n if (originalLength < desiredLength || modifiedLength < desiredLength) {\r\n return null;\r\n }\r\n const originalMax = originalStart + originalLength - desiredLength + 1;\r\n const modifiedMax = modifiedStart + modifiedLength - desiredLength + 1;\r\n let bestScore = 0;\r\n let bestOriginalStart = 0;\r\n let bestModifiedStart = 0;\r\n for (let i = originalStart; i < originalMax; i++) {\r\n for (let j = modifiedStart; j < modifiedMax; j++) {\r\n const score = this._contiguousSequenceScore(i, j, desiredLength);\r\n if (score > 0 && score > bestScore) {\r\n bestScore = score;\r\n bestOriginalStart = i;\r\n bestModifiedStart = j;\r\n }\r\n }\r\n }\r\n if (bestScore > 0) {\r\n return [bestOriginalStart, bestModifiedStart];\r\n }\r\n return null;\r\n }\r\n _contiguousSequenceScore(originalStart, modifiedStart, length) {\r\n let score = 0;\r\n for (let l = 0; l < length; l++) {\r\n if (!this.ElementsAreEqual(originalStart + l, modifiedStart + l)) {\r\n return 0;\r\n }\r\n score += this._originalStringElements[originalStart + l].length;\r\n }\r\n return score;\r\n }\r\n _OriginalIsBoundary(index) {\r\n if (index <= 0 || index >= this._originalElementsOrHash.length - 1) {\r\n return true;\r\n }\r\n return (this._hasStrings && /^\\s*$/.test(this._originalStringElements[index]));\r\n }\r\n _OriginalRegionIsBoundary(originalStart, originalLength) {\r\n if (this._OriginalIsBoundary(originalStart) || this._OriginalIsBoundary(originalStart - 1)) {\r\n return true;\r\n }\r\n if (originalLength > 0) {\r\n const originalEnd = originalStart + originalLength;\r\n if (this._OriginalIsBoundary(originalEnd - 1) || this._OriginalIsBoundary(originalEnd)) {\r\n return true;\r\n }\r\n }\r\n return false;\r\n }\r\n _ModifiedIsBoundary(index) {\r\n if (index <= 0 || index >= this._modifiedElementsOrHash.length - 1) {\r\n return true;\r\n }\r\n return (this._hasStrings && /^\\s*$/.test(this._modifiedStringElements[index]));\r\n }\r\n _ModifiedRegionIsBoundary(modifiedStart, modifiedLength) {\r\n if (this._ModifiedIsBoundary(modifiedStart) || this._ModifiedIsBoundary(modifiedStart - 1)) {\r\n return true;\r\n }\r\n if (modifiedLength > 0) {\r\n const modifiedEnd = modifiedStart + modifiedLength;\r\n if (this._ModifiedIsBoundary(modifiedEnd - 1) || this._ModifiedIsBoundary(modifiedEnd)) {\r\n return true;\r\n }\r\n }\r\n return false;\r\n }\r\n _boundaryScore(originalStart, originalLength, modifiedStart, modifiedLength) {\r\n const originalScore = (this._OriginalRegionIsBoundary(originalStart, originalLength) ? 1 : 0);\r\n const modifiedScore = (this._ModifiedRegionIsBoundary(modifiedStart, modifiedLength) ? 1 : 0);\r\n return (originalScore + modifiedScore);\r\n }\r\n /**\r\n * Concatenates the two input DiffChange lists and returns the resulting\r\n * list.\r\n * @param The left changes\r\n * @param The right changes\r\n * @returns The concatenated list\r\n */\r\n ConcatenateChanges(left, right) {\r\n let mergedChangeArr = [];\r\n if (left.length === 0 || right.length === 0) {\r\n return (right.length > 0) ? right : left;\r\n }\r\n else if (this.ChangesOverlap(left[left.length - 1], right[0], mergedChangeArr)) {\r\n // Since we break the problem down recursively, it is possible that we\r\n // might recurse in the middle of a change thereby splitting it into\r\n // two changes. Here in the combining stage, we detect and fuse those\r\n // changes back together\r\n const result = new Array(left.length + right.length - 1);\r\n MyArray.Copy(left, 0, result, 0, left.length - 1);\r\n result[left.length - 1] = mergedChangeArr[0];\r\n MyArray.Copy(right, 1, result, left.length, right.length - 1);\r\n return result;\r\n }\r\n else {\r\n const result = new Array(left.length + right.length);\r\n MyArray.Copy(left, 0, result, 0, left.length);\r\n MyArray.Copy(right, 0, result, left.length, right.length);\r\n return result;\r\n }\r\n }\r\n /**\r\n * Returns true if the two changes overlap and can be merged into a single\r\n * change\r\n * @param left The left change\r\n * @param right The right change\r\n * @param mergedChange The merged change if the two overlap, null otherwise\r\n * @returns True if the two changes overlap\r\n */\r\n ChangesOverlap(left, right, mergedChangeArr) {\r\n Debug.Assert(left.originalStart <= right.originalStart, 'Left change is not less than or equal to right change');\r\n Debug.Assert(left.modifiedStart <= right.modifiedStart, 'Left change is not less than or equal to right change');\r\n if (left.originalStart + left.originalLength >= right.originalStart || left.modifiedStart + left.modifiedLength >= right.modifiedStart) {\r\n const originalStart = left.originalStart;\r\n let originalLength = left.originalLength;\r\n const modifiedStart = left.modifiedStart;\r\n let modifiedLength = left.modifiedLength;\r\n if (left.originalStart + left.originalLength >= right.originalStart) {\r\n originalLength = right.originalStart + right.originalLength - left.originalStart;\r\n }\r\n if (left.modifiedStart + left.modifiedLength >= right.modifiedStart) {\r\n modifiedLength = right.modifiedStart + right.modifiedLength - left.modifiedStart;\r\n }\r\n mergedChangeArr[0] = new _diffChange_js__WEBPACK_IMPORTED_MODULE_0__.DiffChange(originalStart, originalLength, modifiedStart, modifiedLength);\r\n return true;\r\n }\r\n else {\r\n mergedChangeArr[0] = null;\r\n return false;\r\n }\r\n }\r\n /**\r\n * Helper method used to clip a diagonal index to the range of valid\r\n * diagonals. This also decides whether or not the diagonal index,\r\n * if it exceeds the boundary, should be clipped to the boundary or clipped\r\n * one inside the boundary depending on the Even/Odd status of the boundary\r\n * and numDifferences.\r\n * @param diagonal The index of the diagonal to clip.\r\n * @param numDifferences The current number of differences being iterated upon.\r\n * @param diagonalBaseIndex The base reference diagonal.\r\n * @param numDiagonals The total number of diagonals.\r\n * @returns The clipped diagonal index.\r\n */\r\n ClipDiagonalBound(diagonal, numDifferences, diagonalBaseIndex, numDiagonals) {\r\n if (diagonal >= 0 && diagonal < numDiagonals) {\r\n // Nothing to clip, its in range\r\n return diagonal;\r\n }\r\n // diagonalsBelow: The number of diagonals below the reference diagonal\r\n // diagonalsAbove: The number of diagonals above the reference diagonal\r\n const diagonalsBelow = diagonalBaseIndex;\r\n const diagonalsAbove = numDiagonals - diagonalBaseIndex - 1;\r\n const diffEven = (numDifferences % 2 === 0);\r\n if (diagonal < 0) {\r\n const lowerBoundEven = (diagonalsBelow % 2 === 0);\r\n return (diffEven === lowerBoundEven) ? 0 : 1;\r\n }\r\n else {\r\n const upperBoundEven = (diagonalsAbove % 2 === 0);\r\n return (diffEven === upperBoundEven) ? numDiagonals - 1 : numDiagonals - 2;\r\n }\r\n }\r\n}\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/base/common/diff/diff.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/base/common/diff/diffChange.js":
|
||
/*!**************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/base/common/diff/diffChange.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 */ \"DiffChange\": () => (/* binding */ DiffChange)\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\n/**\r\n * Represents information about a specific difference between two sequences.\r\n */\r\nclass DiffChange {\r\n /**\r\n * Constructs a new DiffChange with the given sequence information\r\n * and content.\r\n */\r\n constructor(originalStart, originalLength, modifiedStart, modifiedLength) {\r\n //Debug.Assert(originalLength > 0 || modifiedLength > 0, \"originalLength and modifiedLength cannot both be <= 0\");\r\n this.originalStart = originalStart;\r\n this.originalLength = originalLength;\r\n this.modifiedStart = modifiedStart;\r\n this.modifiedLength = modifiedLength;\r\n }\r\n /**\r\n * The end point (exclusive) of the change in the original sequence.\r\n */\r\n getOriginalEnd() {\r\n return this.originalStart + this.originalLength;\r\n }\r\n /**\r\n * The end point (exclusive) of the change in the modified sequence.\r\n */\r\n getModifiedEnd() {\r\n return this.modifiedStart + this.modifiedLength;\r\n }\r\n}\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/base/common/diff/diffChange.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/base/common/errors.js":
|
||
/*!*****************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/base/common/errors.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 */ \"ErrorHandler\": () => (/* binding */ ErrorHandler),\n/* harmony export */ \"errorHandler\": () => (/* binding */ errorHandler),\n/* harmony export */ \"onUnexpectedError\": () => (/* binding */ onUnexpectedError),\n/* harmony export */ \"onUnexpectedExternalError\": () => (/* binding */ onUnexpectedExternalError),\n/* harmony export */ \"transformErrorForSerialization\": () => (/* binding */ transformErrorForSerialization),\n/* harmony export */ \"isPromiseCanceledError\": () => (/* binding */ isPromiseCanceledError),\n/* harmony export */ \"canceled\": () => (/* binding */ canceled),\n/* harmony export */ \"illegalArgument\": () => (/* binding */ illegalArgument),\n/* harmony export */ \"illegalState\": () => (/* binding */ illegalState)\n/* harmony export */ });\n// Avoid circular dependency on EventEmitter by implementing a subset of the interface.\r\nclass ErrorHandler {\r\n constructor() {\r\n this.listeners = [];\r\n this.unexpectedErrorHandler = function (e) {\r\n setTimeout(() => {\r\n if (e.stack) {\r\n throw new Error(e.message + '\\n\\n' + e.stack);\r\n }\r\n throw e;\r\n }, 0);\r\n };\r\n }\r\n emit(e) {\r\n this.listeners.forEach((listener) => {\r\n listener(e);\r\n });\r\n }\r\n onUnexpectedError(e) {\r\n this.unexpectedErrorHandler(e);\r\n this.emit(e);\r\n }\r\n // For external errors, we don't want the listeners to be called\r\n onUnexpectedExternalError(e) {\r\n this.unexpectedErrorHandler(e);\r\n }\r\n}\r\nconst errorHandler = new ErrorHandler();\r\nfunction onUnexpectedError(e) {\r\n // ignore errors from cancelled promises\r\n if (!isPromiseCanceledError(e)) {\r\n errorHandler.onUnexpectedError(e);\r\n }\r\n return undefined;\r\n}\r\nfunction onUnexpectedExternalError(e) {\r\n // ignore errors from cancelled promises\r\n if (!isPromiseCanceledError(e)) {\r\n errorHandler.onUnexpectedExternalError(e);\r\n }\r\n return undefined;\r\n}\r\nfunction transformErrorForSerialization(error) {\r\n if (error instanceof Error) {\r\n let { name, message } = error;\r\n const stack = error.stacktrace || error.stack;\r\n return {\r\n $isError: true,\r\n name,\r\n message,\r\n stack\r\n };\r\n }\r\n // return as is\r\n return error;\r\n}\r\nconst canceledName = 'Canceled';\r\n/**\r\n * Checks if the given error is a promise in canceled state\r\n */\r\nfunction isPromiseCanceledError(error) {\r\n return error instanceof Error && error.name === canceledName && error.message === canceledName;\r\n}\r\n/**\r\n * Returns an error that signals cancellation.\r\n */\r\nfunction canceled() {\r\n const error = new Error(canceledName);\r\n error.name = error.message;\r\n return error;\r\n}\r\nfunction illegalArgument(name) {\r\n if (name) {\r\n return new Error(`Illegal argument: ${name}`);\r\n }\r\n else {\r\n return new Error('Illegal argument');\r\n }\r\n}\r\nfunction illegalState(name) {\r\n if (name) {\r\n return new Error(`Illegal state: ${name}`);\r\n }\r\n else {\r\n return new Error('Illegal state');\r\n }\r\n}\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/base/common/errors.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/base/common/event.js":
|
||
/*!****************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/base/common/event.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 */ \"Event\": () => (/* binding */ Event),\n/* harmony export */ \"Emitter\": () => (/* binding */ Emitter),\n/* harmony export */ \"PauseableEmitter\": () => (/* binding */ PauseableEmitter),\n/* harmony export */ \"EventBufferer\": () => (/* binding */ EventBufferer),\n/* harmony export */ \"Relay\": () => (/* binding */ Relay)\n/* harmony export */ });\n/* harmony import */ var _errors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./errors.js */ \"./node_modules/monaco-editor/esm/vs/base/common/errors.js\");\n/* harmony import */ var _lifecycle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./lifecycle.js */ \"./node_modules/monaco-editor/esm/vs/base/common/lifecycle.js\");\n/* harmony import */ var _linkedList_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./linkedList.js */ \"./node_modules/monaco-editor/esm/vs/base/common/linkedList.js\");\n/* harmony import */ var _stopwatch_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./stopwatch.js */ \"./node_modules/monaco-editor/esm/vs/base/common/stopwatch.js\");\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\n\r\n\r\n\r\n\r\nvar Event;\r\n(function (Event) {\r\n Event.None = () => _lifecycle_js__WEBPACK_IMPORTED_MODULE_1__.Disposable.None;\r\n /**\r\n * Given an event, returns another event which only fires once.\r\n */\r\n function once(event) {\r\n return (listener, thisArgs = null, disposables) => {\r\n // we need this, in case the event fires during the listener call\r\n let didFire = false;\r\n let result;\r\n result = event(e => {\r\n if (didFire) {\r\n return;\r\n }\r\n else if (result) {\r\n result.dispose();\r\n }\r\n else {\r\n didFire = true;\r\n }\r\n return listener.call(thisArgs, e);\r\n }, null, disposables);\r\n if (didFire) {\r\n result.dispose();\r\n }\r\n return result;\r\n };\r\n }\r\n Event.once = once;\r\n /**\r\n * Given an event and a `map` function, returns another event which maps each element\r\n * through the mapping function.\r\n */\r\n function map(event, map) {\r\n return snapshot((listener, thisArgs = null, disposables) => event(i => listener.call(thisArgs, map(i)), null, disposables));\r\n }\r\n Event.map = map;\r\n /**\r\n * Given an event and an `each` function, returns another identical event and calls\r\n * the `each` function per each element.\r\n */\r\n function forEach(event, each) {\r\n return snapshot((listener, thisArgs = null, disposables) => event(i => { each(i); listener.call(thisArgs, i); }, null, disposables));\r\n }\r\n Event.forEach = forEach;\r\n function filter(event, filter) {\r\n return snapshot((listener, thisArgs = null, disposables) => event(e => filter(e) && listener.call(thisArgs, e), null, disposables));\r\n }\r\n Event.filter = filter;\r\n /**\r\n * Given an event, returns the same event but typed as `Event<void>`.\r\n */\r\n function signal(event) {\r\n return event;\r\n }\r\n Event.signal = signal;\r\n function any(...events) {\r\n return (listener, thisArgs = null, disposables) => (0,_lifecycle_js__WEBPACK_IMPORTED_MODULE_1__.combinedDisposable)(...events.map(event => event(e => listener.call(thisArgs, e), null, disposables)));\r\n }\r\n Event.any = any;\r\n /**\r\n * Given an event and a `merge` function, returns another event which maps each element\r\n * and the cumulative result through the `merge` function. Similar to `map`, but with memory.\r\n */\r\n function reduce(event, merge, initial) {\r\n let output = initial;\r\n return map(event, e => {\r\n output = merge(output, e);\r\n return output;\r\n });\r\n }\r\n Event.reduce = reduce;\r\n /**\r\n * Given a chain of event processing functions (filter, map, etc), each\r\n * function will be invoked per event & per listener. Snapshotting an event\r\n * chain allows each function to be invoked just once per event.\r\n */\r\n function snapshot(event) {\r\n let listener;\r\n const emitter = new Emitter({\r\n onFirstListenerAdd() {\r\n listener = event(emitter.fire, emitter);\r\n },\r\n onLastListenerRemove() {\r\n listener.dispose();\r\n }\r\n });\r\n return emitter.event;\r\n }\r\n Event.snapshot = snapshot;\r\n function debounce(event, merge, delay = 100, leading = false, leakWarningThreshold) {\r\n let subscription;\r\n let output = undefined;\r\n let handle = undefined;\r\n let numDebouncedCalls = 0;\r\n const emitter = new Emitter({\r\n leakWarningThreshold,\r\n onFirstListenerAdd() {\r\n subscription = event(cur => {\r\n numDebouncedCalls++;\r\n output = merge(output, cur);\r\n if (leading && !handle) {\r\n emitter.fire(output);\r\n output = undefined;\r\n }\r\n clearTimeout(handle);\r\n handle = setTimeout(() => {\r\n const _output = output;\r\n output = undefined;\r\n handle = undefined;\r\n if (!leading || numDebouncedCalls > 1) {\r\n emitter.fire(_output);\r\n }\r\n numDebouncedCalls = 0;\r\n }, delay);\r\n });\r\n },\r\n onLastListenerRemove() {\r\n subscription.dispose();\r\n }\r\n });\r\n return emitter.event;\r\n }\r\n Event.debounce = debounce;\r\n /**\r\n * Given an event, it returns another event which fires only once and as soon as\r\n * the input event emits. The event data is the number of millis it took for the\r\n * event to fire.\r\n */\r\n function stopwatch(event) {\r\n const start = new Date().getTime();\r\n return map(once(event), _ => new Date().getTime() - start);\r\n }\r\n Event.stopwatch = stopwatch;\r\n /**\r\n * Given an event, it returns another event which fires only when the event\r\n * element changes.\r\n */\r\n function latch(event) {\r\n let firstCall = true;\r\n let cache;\r\n return filter(event, value => {\r\n const shouldEmit = firstCall || value !== cache;\r\n firstCall = false;\r\n cache = value;\r\n return shouldEmit;\r\n });\r\n }\r\n Event.latch = latch;\r\n /**\r\n * Buffers the provided event until a first listener comes\r\n * along, at which point fire all the events at once and\r\n * pipe the event from then on.\r\n *\r\n * ```typescript\r\n * const emitter = new Emitter<number>();\r\n * const event = emitter.event;\r\n * const bufferedEvent = buffer(event);\r\n *\r\n * emitter.fire(1);\r\n * emitter.fire(2);\r\n * emitter.fire(3);\r\n * // nothing...\r\n *\r\n * const listener = bufferedEvent(num => console.log(num));\r\n * // 1, 2, 3\r\n *\r\n * emitter.fire(4);\r\n * // 4\r\n * ```\r\n */\r\n function buffer(event, nextTick = false, _buffer = []) {\r\n let buffer = _buffer.slice();\r\n let listener = event(e => {\r\n if (buffer) {\r\n buffer.push(e);\r\n }\r\n else {\r\n emitter.fire(e);\r\n }\r\n });\r\n const flush = () => {\r\n if (buffer) {\r\n buffer.forEach(e => emitter.fire(e));\r\n }\r\n buffer = null;\r\n };\r\n const emitter = new Emitter({\r\n onFirstListenerAdd() {\r\n if (!listener) {\r\n listener = event(e => emitter.fire(e));\r\n }\r\n },\r\n onFirstListenerDidAdd() {\r\n if (buffer) {\r\n if (nextTick) {\r\n setTimeout(flush);\r\n }\r\n else {\r\n flush();\r\n }\r\n }\r\n },\r\n onLastListenerRemove() {\r\n if (listener) {\r\n listener.dispose();\r\n }\r\n listener = null;\r\n }\r\n });\r\n return emitter.event;\r\n }\r\n Event.buffer = buffer;\r\n class ChainableEvent {\r\n constructor(event) {\r\n this.event = event;\r\n }\r\n map(fn) {\r\n return new ChainableEvent(map(this.event, fn));\r\n }\r\n forEach(fn) {\r\n return new ChainableEvent(forEach(this.event, fn));\r\n }\r\n filter(fn) {\r\n return new ChainableEvent(filter(this.event, fn));\r\n }\r\n reduce(merge, initial) {\r\n return new ChainableEvent(reduce(this.event, merge, initial));\r\n }\r\n latch() {\r\n return new ChainableEvent(latch(this.event));\r\n }\r\n debounce(merge, delay = 100, leading = false, leakWarningThreshold) {\r\n return new ChainableEvent(debounce(this.event, merge, delay, leading, leakWarningThreshold));\r\n }\r\n on(listener, thisArgs, disposables) {\r\n return this.event(listener, thisArgs, disposables);\r\n }\r\n once(listener, thisArgs, disposables) {\r\n return once(this.event)(listener, thisArgs, disposables);\r\n }\r\n }\r\n function chain(event) {\r\n return new ChainableEvent(event);\r\n }\r\n Event.chain = chain;\r\n function fromNodeEventEmitter(emitter, eventName, map = id => id) {\r\n const fn = (...args) => result.fire(map(...args));\r\n const onFirstListenerAdd = () => emitter.on(eventName, fn);\r\n const onLastListenerRemove = () => emitter.removeListener(eventName, fn);\r\n const result = new Emitter({ onFirstListenerAdd, onLastListenerRemove });\r\n return result.event;\r\n }\r\n Event.fromNodeEventEmitter = fromNodeEventEmitter;\r\n function fromDOMEventEmitter(emitter, eventName, map = id => id) {\r\n const fn = (...args) => result.fire(map(...args));\r\n const onFirstListenerAdd = () => emitter.addEventListener(eventName, fn);\r\n const onLastListenerRemove = () => emitter.removeEventListener(eventName, fn);\r\n const result = new Emitter({ onFirstListenerAdd, onLastListenerRemove });\r\n return result.event;\r\n }\r\n Event.fromDOMEventEmitter = fromDOMEventEmitter;\r\n function fromPromise(promise) {\r\n const emitter = new Emitter();\r\n let shouldEmit = false;\r\n promise\r\n .then(undefined, () => null)\r\n .then(() => {\r\n if (!shouldEmit) {\r\n setTimeout(() => emitter.fire(undefined), 0);\r\n }\r\n else {\r\n emitter.fire(undefined);\r\n }\r\n });\r\n shouldEmit = true;\r\n return emitter.event;\r\n }\r\n Event.fromPromise = fromPromise;\r\n function toPromise(event) {\r\n return new Promise(resolve => once(event)(resolve));\r\n }\r\n Event.toPromise = toPromise;\r\n})(Event || (Event = {}));\r\nclass EventProfiling {\r\n constructor(name) {\r\n this._listenerCount = 0;\r\n this._invocationCount = 0;\r\n this._elapsedOverall = 0;\r\n this._name = `${name}_${EventProfiling._idPool++}`;\r\n }\r\n start(listenerCount) {\r\n this._stopWatch = new _stopwatch_js__WEBPACK_IMPORTED_MODULE_3__.StopWatch(true);\r\n this._listenerCount = listenerCount;\r\n }\r\n stop() {\r\n if (this._stopWatch) {\r\n const elapsed = this._stopWatch.elapsed();\r\n this._elapsedOverall += elapsed;\r\n this._invocationCount += 1;\r\n console.info(`did FIRE ${this._name}: elapsed_ms: ${elapsed.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`);\r\n this._stopWatch = undefined;\r\n }\r\n }\r\n}\r\nEventProfiling._idPool = 0;\r\nlet _globalLeakWarningThreshold = -1;\r\nclass LeakageMonitor {\r\n constructor(customThreshold, name = Math.random().toString(18).slice(2, 5)) {\r\n this.customThreshold = customThreshold;\r\n this.name = name;\r\n this._warnCountdown = 0;\r\n }\r\n dispose() {\r\n if (this._stacks) {\r\n this._stacks.clear();\r\n }\r\n }\r\n check(listenerCount) {\r\n let threshold = _globalLeakWarningThreshold;\r\n if (typeof this.customThreshold === 'number') {\r\n threshold = this.customThreshold;\r\n }\r\n if (threshold <= 0 || listenerCount < threshold) {\r\n return undefined;\r\n }\r\n if (!this._stacks) {\r\n this._stacks = new Map();\r\n }\r\n const stack = new Error().stack.split('\\n').slice(3).join('\\n');\r\n const count = (this._stacks.get(stack) || 0);\r\n this._stacks.set(stack, count + 1);\r\n this._warnCountdown -= 1;\r\n if (this._warnCountdown <= 0) {\r\n // only warn on first exceed and then every time the limit\r\n // is exceeded by 50% again\r\n this._warnCountdown = threshold * 0.5;\r\n // find most frequent listener and print warning\r\n let topStack;\r\n let topCount = 0;\r\n for (const [stack, count] of this._stacks) {\r\n if (!topStack || topCount < count) {\r\n topStack = stack;\r\n topCount = count;\r\n }\r\n }\r\n console.warn(`[${this.name}] potential listener LEAK detected, having ${listenerCount} listeners already. MOST frequent listener (${topCount}):`);\r\n console.warn(topStack);\r\n }\r\n return () => {\r\n const count = (this._stacks.get(stack) || 0);\r\n this._stacks.set(stack, count - 1);\r\n };\r\n }\r\n}\r\n/**\r\n * The Emitter can be used to expose an Event to the public\r\n * to fire it from the insides.\r\n * Sample:\r\n class Document {\r\n\r\n private readonly _onDidChange = new Emitter<(value:string)=>any>();\r\n\r\n public onDidChange = this._onDidChange.event;\r\n\r\n // getter-style\r\n // get onDidChange(): Event<(value:string)=>any> {\r\n // \treturn this._onDidChange.event;\r\n // }\r\n\r\n private _doIt() {\r\n //...\r\n this._onDidChange.fire(value);\r\n }\r\n }\r\n */\r\nclass Emitter {\r\n constructor(options) {\r\n var _a;\r\n this._disposed = false;\r\n this._options = options;\r\n this._leakageMon = _globalLeakWarningThreshold > 0 ? new LeakageMonitor(this._options && this._options.leakWarningThreshold) : undefined;\r\n this._perfMon = ((_a = this._options) === null || _a === void 0 ? void 0 : _a._profName) ? new EventProfiling(this._options._profName) : undefined;\r\n }\r\n /**\r\n * For the public to allow to subscribe\r\n * to events from this Emitter\r\n */\r\n get event() {\r\n if (!this._event) {\r\n this._event = (listener, thisArgs, disposables) => {\r\n var _a;\r\n if (!this._listeners) {\r\n this._listeners = new _linkedList_js__WEBPACK_IMPORTED_MODULE_2__.LinkedList();\r\n }\r\n const firstListener = this._listeners.isEmpty();\r\n if (firstListener && this._options && this._options.onFirstListenerAdd) {\r\n this._options.onFirstListenerAdd(this);\r\n }\r\n const remove = this._listeners.push(!thisArgs ? listener : [listener, thisArgs]);\r\n if (firstListener && this._options && this._options.onFirstListenerDidAdd) {\r\n this._options.onFirstListenerDidAdd(this);\r\n }\r\n if (this._options && this._options.onListenerDidAdd) {\r\n this._options.onListenerDidAdd(this, listener, thisArgs);\r\n }\r\n // check and record this emitter for potential leakage\r\n const removeMonitor = (_a = this._leakageMon) === null || _a === void 0 ? void 0 : _a.check(this._listeners.size);\r\n let result;\r\n result = {\r\n dispose: () => {\r\n if (removeMonitor) {\r\n removeMonitor();\r\n }\r\n result.dispose = Emitter._noop;\r\n if (!this._disposed) {\r\n remove();\r\n if (this._options && this._options.onLastListenerRemove) {\r\n const hasListeners = (this._listeners && !this._listeners.isEmpty());\r\n if (!hasListeners) {\r\n this._options.onLastListenerRemove(this);\r\n }\r\n }\r\n }\r\n }\r\n };\r\n if (disposables instanceof _lifecycle_js__WEBPACK_IMPORTED_MODULE_1__.DisposableStore) {\r\n disposables.add(result);\r\n }\r\n else if (Array.isArray(disposables)) {\r\n disposables.push(result);\r\n }\r\n return result;\r\n };\r\n }\r\n return this._event;\r\n }\r\n /**\r\n * To be kept private to fire an event to\r\n * subscribers\r\n */\r\n fire(event) {\r\n var _a, _b;\r\n if (this._listeners) {\r\n // put all [listener,event]-pairs into delivery queue\r\n // then emit all event. an inner/nested event might be\r\n // the driver of this\r\n if (!this._deliveryQueue) {\r\n this._deliveryQueue = new _linkedList_js__WEBPACK_IMPORTED_MODULE_2__.LinkedList();\r\n }\r\n for (let listener of this._listeners) {\r\n this._deliveryQueue.push([listener, event]);\r\n }\r\n // start/stop performance insight collection\r\n (_a = this._perfMon) === null || _a === void 0 ? void 0 : _a.start(this._deliveryQueue.size);\r\n while (this._deliveryQueue.size > 0) {\r\n const [listener, event] = this._deliveryQueue.shift();\r\n try {\r\n if (typeof listener === 'function') {\r\n listener.call(undefined, event);\r\n }\r\n else {\r\n listener[0].call(listener[1], event);\r\n }\r\n }\r\n catch (e) {\r\n (0,_errors_js__WEBPACK_IMPORTED_MODULE_0__.onUnexpectedError)(e);\r\n }\r\n }\r\n (_b = this._perfMon) === null || _b === void 0 ? void 0 : _b.stop();\r\n }\r\n }\r\n dispose() {\r\n var _a, _b, _c;\r\n (_a = this._listeners) === null || _a === void 0 ? void 0 : _a.clear();\r\n (_b = this._deliveryQueue) === null || _b === void 0 ? void 0 : _b.clear();\r\n (_c = this._leakageMon) === null || _c === void 0 ? void 0 : _c.dispose();\r\n this._disposed = true;\r\n }\r\n}\r\nEmitter._noop = function () { };\r\nclass PauseableEmitter extends Emitter {\r\n constructor(options) {\r\n super(options);\r\n this._isPaused = 0;\r\n this._eventQueue = new _linkedList_js__WEBPACK_IMPORTED_MODULE_2__.LinkedList();\r\n this._mergeFn = options === null || options === void 0 ? void 0 : options.merge;\r\n }\r\n pause() {\r\n this._isPaused++;\r\n }\r\n resume() {\r\n if (this._isPaused !== 0 && --this._isPaused === 0) {\r\n if (this._mergeFn) {\r\n // use the merge function to create a single composite\r\n // event. make a copy in case firing pauses this emitter\r\n const events = Array.from(this._eventQueue);\r\n this._eventQueue.clear();\r\n super.fire(this._mergeFn(events));\r\n }\r\n else {\r\n // no merging, fire each event individually and test\r\n // that this emitter isn't paused halfway through\r\n while (!this._isPaused && this._eventQueue.size !== 0) {\r\n super.fire(this._eventQueue.shift());\r\n }\r\n }\r\n }\r\n }\r\n fire(event) {\r\n if (this._listeners) {\r\n if (this._isPaused !== 0) {\r\n this._eventQueue.push(event);\r\n }\r\n else {\r\n super.fire(event);\r\n }\r\n }\r\n }\r\n}\r\n/**\r\n * The EventBufferer is useful in situations in which you want\r\n * to delay firing your events during some code.\r\n * You can wrap that code and be sure that the event will not\r\n * be fired during that wrap.\r\n *\r\n * ```\r\n * const emitter: Emitter;\r\n * const delayer = new EventDelayer();\r\n * const delayedEvent = delayer.wrapEvent(emitter.event);\r\n *\r\n * delayedEvent(console.log);\r\n *\r\n * delayer.bufferEvents(() => {\r\n * emitter.fire(); // event will not be fired yet\r\n * });\r\n *\r\n * // event will only be fired at this point\r\n * ```\r\n */\r\nclass EventBufferer {\r\n constructor() {\r\n this.buffers = [];\r\n }\r\n wrapEvent(event) {\r\n return (listener, thisArgs, disposables) => {\r\n return event(i => {\r\n const buffer = this.buffers[this.buffers.length - 1];\r\n if (buffer) {\r\n buffer.push(() => listener.call(thisArgs, i));\r\n }\r\n else {\r\n listener.call(thisArgs, i);\r\n }\r\n }, undefined, disposables);\r\n };\r\n }\r\n bufferEvents(fn) {\r\n const buffer = [];\r\n this.buffers.push(buffer);\r\n const r = fn();\r\n this.buffers.pop();\r\n buffer.forEach(flush => flush());\r\n return r;\r\n }\r\n}\r\n/**\r\n * A Relay is an event forwarder which functions as a replugabble event pipe.\r\n * Once created, you can connect an input event to it and it will simply forward\r\n * events from that input event through its own `event` property. The `input`\r\n * can be changed at any point in time.\r\n */\r\nclass Relay {\r\n constructor() {\r\n this.listening = false;\r\n this.inputEvent = Event.None;\r\n this.inputEventListener = _lifecycle_js__WEBPACK_IMPORTED_MODULE_1__.Disposable.None;\r\n this.emitter = new Emitter({\r\n onFirstListenerDidAdd: () => {\r\n this.listening = true;\r\n this.inputEventListener = this.inputEvent(this.emitter.fire, this.emitter);\r\n },\r\n onLastListenerRemove: () => {\r\n this.listening = false;\r\n this.inputEventListener.dispose();\r\n }\r\n });\r\n this.event = this.emitter.event;\r\n }\r\n set input(event) {\r\n this.inputEvent = event;\r\n if (this.listening) {\r\n this.inputEventListener.dispose();\r\n this.inputEventListener = event(this.emitter.fire, this.emitter);\r\n }\r\n }\r\n dispose() {\r\n this.inputEventListener.dispose();\r\n this.emitter.dispose();\r\n }\r\n}\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/base/common/event.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/base/common/hash.js":
|
||
/*!***************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/base/common/hash.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 */ \"hash\": () => (/* binding */ hash),\n/* harmony export */ \"doHash\": () => (/* binding */ doHash),\n/* harmony export */ \"stringHash\": () => (/* binding */ stringHash),\n/* harmony export */ \"toHexString\": () => (/* binding */ toHexString),\n/* harmony export */ \"StringSHA1\": () => (/* binding */ StringSHA1)\n/* harmony export */ });\n/* harmony import */ var _strings_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./strings.js */ \"./node_modules/monaco-editor/esm/vs/base/common/strings.js\");\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\n\r\n/**\r\n * Return a hash value for an object.\r\n */\r\nfunction hash(obj) {\r\n return doHash(obj, 0);\r\n}\r\nfunction doHash(obj, hashVal) {\r\n switch (typeof obj) {\r\n case 'object':\r\n if (obj === null) {\r\n return numberHash(349, hashVal);\r\n }\r\n else if (Array.isArray(obj)) {\r\n return arrayHash(obj, hashVal);\r\n }\r\n return objectHash(obj, hashVal);\r\n case 'string':\r\n return stringHash(obj, hashVal);\r\n case 'boolean':\r\n return booleanHash(obj, hashVal);\r\n case 'number':\r\n return numberHash(obj, hashVal);\r\n case 'undefined':\r\n return numberHash(937, hashVal);\r\n default:\r\n return numberHash(617, hashVal);\r\n }\r\n}\r\nfunction numberHash(val, initialHashVal) {\r\n return (((initialHashVal << 5) - initialHashVal) + val) | 0; // hashVal * 31 + ch, keep as int32\r\n}\r\nfunction booleanHash(b, initialHashVal) {\r\n return numberHash(b ? 433 : 863, initialHashVal);\r\n}\r\nfunction stringHash(s, hashVal) {\r\n hashVal = numberHash(149417, hashVal);\r\n for (let i = 0, length = s.length; i < length; i++) {\r\n hashVal = numberHash(s.charCodeAt(i), hashVal);\r\n }\r\n return hashVal;\r\n}\r\nfunction arrayHash(arr, initialHashVal) {\r\n initialHashVal = numberHash(104579, initialHashVal);\r\n return arr.reduce((hashVal, item) => doHash(item, hashVal), initialHashVal);\r\n}\r\nfunction objectHash(obj, initialHashVal) {\r\n initialHashVal = numberHash(181387, initialHashVal);\r\n return Object.keys(obj).sort().reduce((hashVal, key) => {\r\n hashVal = stringHash(key, hashVal);\r\n return doHash(obj[key], hashVal);\r\n }, initialHashVal);\r\n}\r\nfunction leftRotate(value, bits, totalBits = 32) {\r\n // delta + bits = totalBits\r\n const delta = totalBits - bits;\r\n // All ones, expect `delta` zeros aligned to the right\r\n const mask = ~((1 << delta) - 1);\r\n // Join (value left-shifted `bits` bits) with (masked value right-shifted `delta` bits)\r\n return ((value << bits) | ((mask & value) >>> delta)) >>> 0;\r\n}\r\nfunction fill(dest, index = 0, count = dest.byteLength, value = 0) {\r\n for (let i = 0; i < count; i++) {\r\n dest[index + i] = value;\r\n }\r\n}\r\nfunction leftPad(value, length, char = '0') {\r\n while (value.length < length) {\r\n value = char + value;\r\n }\r\n return value;\r\n}\r\nfunction toHexString(bufferOrValue, bitsize = 32) {\r\n if (bufferOrValue instanceof ArrayBuffer) {\r\n return Array.from(new Uint8Array(bufferOrValue)).map(b => b.toString(16).padStart(2, '0')).join('');\r\n }\r\n return leftPad((bufferOrValue >>> 0).toString(16), bitsize / 4);\r\n}\r\n/**\r\n * A SHA1 implementation that works with strings and does not allocate.\r\n */\r\nclass StringSHA1 {\r\n constructor() {\r\n this._h0 = 0x67452301;\r\n this._h1 = 0xEFCDAB89;\r\n this._h2 = 0x98BADCFE;\r\n this._h3 = 0x10325476;\r\n this._h4 = 0xC3D2E1F0;\r\n this._buff = new Uint8Array(64 /* BLOCK_SIZE */ + 3 /* to fit any utf-8 */);\r\n this._buffDV = new DataView(this._buff.buffer);\r\n this._buffLen = 0;\r\n this._totalLen = 0;\r\n this._leftoverHighSurrogate = 0;\r\n this._finished = false;\r\n }\r\n update(str) {\r\n const strLen = str.length;\r\n if (strLen === 0) {\r\n return;\r\n }\r\n const buff = this._buff;\r\n let buffLen = this._buffLen;\r\n let leftoverHighSurrogate = this._leftoverHighSurrogate;\r\n let charCode;\r\n let offset;\r\n if (leftoverHighSurrogate !== 0) {\r\n charCode = leftoverHighSurrogate;\r\n offset = -1;\r\n leftoverHighSurrogate = 0;\r\n }\r\n else {\r\n charCode = str.charCodeAt(0);\r\n offset = 0;\r\n }\r\n while (true) {\r\n let codePoint = charCode;\r\n if (_strings_js__WEBPACK_IMPORTED_MODULE_0__.isHighSurrogate(charCode)) {\r\n if (offset + 1 < strLen) {\r\n const nextCharCode = str.charCodeAt(offset + 1);\r\n if (_strings_js__WEBPACK_IMPORTED_MODULE_0__.isLowSurrogate(nextCharCode)) {\r\n offset++;\r\n codePoint = _strings_js__WEBPACK_IMPORTED_MODULE_0__.computeCodePoint(charCode, nextCharCode);\r\n }\r\n else {\r\n // illegal => unicode replacement character\r\n codePoint = 65533 /* UNICODE_REPLACEMENT */;\r\n }\r\n }\r\n else {\r\n // last character is a surrogate pair\r\n leftoverHighSurrogate = charCode;\r\n break;\r\n }\r\n }\r\n else if (_strings_js__WEBPACK_IMPORTED_MODULE_0__.isLowSurrogate(charCode)) {\r\n // illegal => unicode replacement character\r\n codePoint = 65533 /* UNICODE_REPLACEMENT */;\r\n }\r\n buffLen = this._push(buff, buffLen, codePoint);\r\n offset++;\r\n if (offset < strLen) {\r\n charCode = str.charCodeAt(offset);\r\n }\r\n else {\r\n break;\r\n }\r\n }\r\n this._buffLen = buffLen;\r\n this._leftoverHighSurrogate = leftoverHighSurrogate;\r\n }\r\n _push(buff, buffLen, codePoint) {\r\n if (codePoint < 0x0080) {\r\n buff[buffLen++] = codePoint;\r\n }\r\n else if (codePoint < 0x0800) {\r\n buff[buffLen++] = 0b11000000 | ((codePoint & 0b00000000000000000000011111000000) >>> 6);\r\n buff[buffLen++] = 0b10000000 | ((codePoint & 0b00000000000000000000000000111111) >>> 0);\r\n }\r\n else if (codePoint < 0x10000) {\r\n buff[buffLen++] = 0b11100000 | ((codePoint & 0b00000000000000001111000000000000) >>> 12);\r\n buff[buffLen++] = 0b10000000 | ((codePoint & 0b00000000000000000000111111000000) >>> 6);\r\n buff[buffLen++] = 0b10000000 | ((codePoint & 0b00000000000000000000000000111111) >>> 0);\r\n }\r\n else {\r\n buff[buffLen++] = 0b11110000 | ((codePoint & 0b00000000000111000000000000000000) >>> 18);\r\n buff[buffLen++] = 0b10000000 | ((codePoint & 0b00000000000000111111000000000000) >>> 12);\r\n buff[buffLen++] = 0b10000000 | ((codePoint & 0b00000000000000000000111111000000) >>> 6);\r\n buff[buffLen++] = 0b10000000 | ((codePoint & 0b00000000000000000000000000111111) >>> 0);\r\n }\r\n if (buffLen >= 64 /* BLOCK_SIZE */) {\r\n this._step();\r\n buffLen -= 64 /* BLOCK_SIZE */;\r\n this._totalLen += 64 /* BLOCK_SIZE */;\r\n // take last 3 in case of UTF8 overflow\r\n buff[0] = buff[64 /* BLOCK_SIZE */ + 0];\r\n buff[1] = buff[64 /* BLOCK_SIZE */ + 1];\r\n buff[2] = buff[64 /* BLOCK_SIZE */ + 2];\r\n }\r\n return buffLen;\r\n }\r\n digest() {\r\n if (!this._finished) {\r\n this._finished = true;\r\n if (this._leftoverHighSurrogate) {\r\n // illegal => unicode replacement character\r\n this._leftoverHighSurrogate = 0;\r\n this._buffLen = this._push(this._buff, this._buffLen, 65533 /* UNICODE_REPLACEMENT */);\r\n }\r\n this._totalLen += this._buffLen;\r\n this._wrapUp();\r\n }\r\n return toHexString(this._h0) + toHexString(this._h1) + toHexString(this._h2) + toHexString(this._h3) + toHexString(this._h4);\r\n }\r\n _wrapUp() {\r\n this._buff[this._buffLen++] = 0x80;\r\n fill(this._buff, this._buffLen);\r\n if (this._buffLen > 56) {\r\n this._step();\r\n fill(this._buff);\r\n }\r\n // this will fit because the mantissa can cover up to 52 bits\r\n const ml = 8 * this._totalLen;\r\n this._buffDV.setUint32(56, Math.floor(ml / 4294967296), false);\r\n this._buffDV.setUint32(60, ml % 4294967296, false);\r\n this._step();\r\n }\r\n _step() {\r\n const bigBlock32 = StringSHA1._bigBlock32;\r\n const data = this._buffDV;\r\n for (let j = 0; j < 64 /* 16*4 */; j += 4) {\r\n bigBlock32.setUint32(j, data.getUint32(j, false), false);\r\n }\r\n for (let j = 64; j < 320 /* 80*4 */; j += 4) {\r\n bigBlock32.setUint32(j, leftRotate((bigBlock32.getUint32(j - 12, false) ^ bigBlock32.getUint32(j - 32, false) ^ bigBlock32.getUint32(j - 56, false) ^ bigBlock32.getUint32(j - 64, false)), 1), false);\r\n }\r\n let a = this._h0;\r\n let b = this._h1;\r\n let c = this._h2;\r\n let d = this._h3;\r\n let e = this._h4;\r\n let f, k;\r\n let temp;\r\n for (let j = 0; j < 80; j++) {\r\n if (j < 20) {\r\n f = (b & c) | ((~b) & d);\r\n k = 0x5A827999;\r\n }\r\n else if (j < 40) {\r\n f = b ^ c ^ d;\r\n k = 0x6ED9EBA1;\r\n }\r\n else if (j < 60) {\r\n f = (b & c) | (b & d) | (c & d);\r\n k = 0x8F1BBCDC;\r\n }\r\n else {\r\n f = b ^ c ^ d;\r\n k = 0xCA62C1D6;\r\n }\r\n temp = (leftRotate(a, 5) + f + e + k + bigBlock32.getUint32(j * 4, false)) & 0xffffffff;\r\n e = d;\r\n d = c;\r\n c = leftRotate(b, 30);\r\n b = a;\r\n a = temp;\r\n }\r\n this._h0 = (this._h0 + a) & 0xffffffff;\r\n this._h1 = (this._h1 + b) & 0xffffffff;\r\n this._h2 = (this._h2 + c) & 0xffffffff;\r\n this._h3 = (this._h3 + d) & 0xffffffff;\r\n this._h4 = (this._h4 + e) & 0xffffffff;\r\n }\r\n}\r\nStringSHA1._bigBlock32 = new DataView(new ArrayBuffer(320)); // 80 * 4 = 320\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/base/common/hash.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/base/common/iterator.js":
|
||
/*!*******************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/base/common/iterator.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 */ \"Iterable\": () => (/* binding */ Iterable)\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 Iterable;\r\n(function (Iterable) {\r\n function is(thing) {\r\n return thing && typeof thing === 'object' && typeof thing[Symbol.iterator] === 'function';\r\n }\r\n Iterable.is = is;\r\n const _empty = Object.freeze([]);\r\n function empty() {\r\n return _empty;\r\n }\r\n Iterable.empty = empty;\r\n function* single(element) {\r\n yield element;\r\n }\r\n Iterable.single = single;\r\n function from(iterable) {\r\n return iterable || _empty;\r\n }\r\n Iterable.from = from;\r\n function isEmpty(iterable) {\r\n return !iterable || iterable[Symbol.iterator]().next().done === true;\r\n }\r\n Iterable.isEmpty = isEmpty;\r\n function first(iterable) {\r\n return iterable[Symbol.iterator]().next().value;\r\n }\r\n Iterable.first = first;\r\n function some(iterable, predicate) {\r\n for (const element of iterable) {\r\n if (predicate(element)) {\r\n return true;\r\n }\r\n }\r\n return false;\r\n }\r\n Iterable.some = some;\r\n function find(iterable, predicate) {\r\n for (const element of iterable) {\r\n if (predicate(element)) {\r\n return element;\r\n }\r\n }\r\n return undefined;\r\n }\r\n Iterable.find = find;\r\n function* filter(iterable, predicate) {\r\n for (const element of iterable) {\r\n if (predicate(element)) {\r\n yield element;\r\n }\r\n }\r\n }\r\n Iterable.filter = filter;\r\n function* map(iterable, fn) {\r\n for (const element of iterable) {\r\n yield fn(element);\r\n }\r\n }\r\n Iterable.map = map;\r\n function* concat(...iterables) {\r\n for (const iterable of iterables) {\r\n for (const element of iterable) {\r\n yield element;\r\n }\r\n }\r\n }\r\n Iterable.concat = concat;\r\n function* concatNested(iterables) {\r\n for (const iterable of iterables) {\r\n for (const element of iterable) {\r\n yield element;\r\n }\r\n }\r\n }\r\n Iterable.concatNested = concatNested;\r\n function reduce(iterable, reducer, initialValue) {\r\n let value = initialValue;\r\n for (const element of iterable) {\r\n value = reducer(value, element);\r\n }\r\n return value;\r\n }\r\n Iterable.reduce = reduce;\r\n /**\r\n * Returns an iterable slice of the array, with the same semantics as `array.slice()`.\r\n */\r\n function* slice(arr, from, to = arr.length) {\r\n if (from < 0) {\r\n from += arr.length;\r\n }\r\n if (to < 0) {\r\n to += arr.length;\r\n }\r\n else if (to > arr.length) {\r\n to = arr.length;\r\n }\r\n for (; from < to; from++) {\r\n yield arr[from];\r\n }\r\n }\r\n Iterable.slice = slice;\r\n /**\r\n * Consumes `atMost` elements from iterable and returns the consumed elements,\r\n * and an iterable for the rest of the elements.\r\n */\r\n function consume(iterable, atMost = Number.POSITIVE_INFINITY) {\r\n const consumed = [];\r\n if (atMost === 0) {\r\n return [consumed, iterable];\r\n }\r\n const iterator = iterable[Symbol.iterator]();\r\n for (let i = 0; i < atMost; i++) {\r\n const next = iterator.next();\r\n if (next.done) {\r\n return [consumed, Iterable.empty()];\r\n }\r\n consumed.push(next.value);\r\n }\r\n return [consumed, { [Symbol.iterator]() { return iterator; } }];\r\n }\r\n Iterable.consume = consume;\r\n /**\r\n * Returns whether the iterables are the same length and all items are\r\n * equal using the comparator function.\r\n */\r\n function equals(a, b, comparator = (at, bt) => at === bt) {\r\n const ai = a[Symbol.iterator]();\r\n const bi = b[Symbol.iterator]();\r\n while (true) {\r\n const an = ai.next();\r\n const bn = bi.next();\r\n if (an.done !== bn.done) {\r\n return false;\r\n }\r\n else if (an.done) {\r\n return true;\r\n }\r\n else if (!comparator(an.value, bn.value)) {\r\n return false;\r\n }\r\n }\r\n }\r\n Iterable.equals = equals;\r\n})(Iterable || (Iterable = {}));\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/base/common/iterator.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/base/common/keyCodes.js":
|
||
/*!*******************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/base/common/keyCodes.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 */ \"KeyCodeUtils\": () => (/* binding */ KeyCodeUtils),\n/* harmony export */ \"KeyChord\": () => (/* binding */ KeyChord),\n/* harmony export */ \"createKeybinding\": () => (/* binding */ createKeybinding),\n/* harmony export */ \"createSimpleKeybinding\": () => (/* binding */ createSimpleKeybinding),\n/* harmony export */ \"SimpleKeybinding\": () => (/* binding */ SimpleKeybinding),\n/* harmony export */ \"ChordKeybinding\": () => (/* binding */ ChordKeybinding),\n/* harmony export */ \"ResolvedKeybindingPart\": () => (/* binding */ ResolvedKeybindingPart),\n/* harmony export */ \"ResolvedKeybinding\": () => (/* binding */ ResolvedKeybinding)\n/* harmony export */ });\n/* harmony import */ var _errors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./errors.js */ \"./node_modules/monaco-editor/esm/vs/base/common/errors.js\");\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\n\r\nclass KeyCodeStrMap {\r\n constructor() {\r\n this._keyCodeToStr = [];\r\n this._strToKeyCode = Object.create(null);\r\n }\r\n define(keyCode, str) {\r\n this._keyCodeToStr[keyCode] = str;\r\n this._strToKeyCode[str.toLowerCase()] = keyCode;\r\n }\r\n keyCodeToStr(keyCode) {\r\n return this._keyCodeToStr[keyCode];\r\n }\r\n strToKeyCode(str) {\r\n return this._strToKeyCode[str.toLowerCase()] || 0 /* Unknown */;\r\n }\r\n}\r\nconst uiMap = new KeyCodeStrMap();\r\nconst userSettingsUSMap = new KeyCodeStrMap();\r\nconst userSettingsGeneralMap = new KeyCodeStrMap();\r\n(function () {\r\n function define(keyCode, uiLabel, usUserSettingsLabel = uiLabel, generalUserSettingsLabel = usUserSettingsLabel) {\r\n uiMap.define(keyCode, uiLabel);\r\n userSettingsUSMap.define(keyCode, usUserSettingsLabel);\r\n userSettingsGeneralMap.define(keyCode, generalUserSettingsLabel);\r\n }\r\n define(0 /* Unknown */, 'unknown');\r\n define(1 /* Backspace */, 'Backspace');\r\n define(2 /* Tab */, 'Tab');\r\n define(3 /* Enter */, 'Enter');\r\n define(4 /* Shift */, 'Shift');\r\n define(5 /* Ctrl */, 'Ctrl');\r\n define(6 /* Alt */, 'Alt');\r\n define(7 /* PauseBreak */, 'PauseBreak');\r\n define(8 /* CapsLock */, 'CapsLock');\r\n define(9 /* Escape */, 'Escape');\r\n define(10 /* Space */, 'Space');\r\n define(11 /* PageUp */, 'PageUp');\r\n define(12 /* PageDown */, 'PageDown');\r\n define(13 /* End */, 'End');\r\n define(14 /* Home */, 'Home');\r\n define(15 /* LeftArrow */, 'LeftArrow', 'Left');\r\n define(16 /* UpArrow */, 'UpArrow', 'Up');\r\n define(17 /* RightArrow */, 'RightArrow', 'Right');\r\n define(18 /* DownArrow */, 'DownArrow', 'Down');\r\n define(19 /* Insert */, 'Insert');\r\n define(20 /* Delete */, 'Delete');\r\n define(21 /* KEY_0 */, '0');\r\n define(22 /* KEY_1 */, '1');\r\n define(23 /* KEY_2 */, '2');\r\n define(24 /* KEY_3 */, '3');\r\n define(25 /* KEY_4 */, '4');\r\n define(26 /* KEY_5 */, '5');\r\n define(27 /* KEY_6 */, '6');\r\n define(28 /* KEY_7 */, '7');\r\n define(29 /* KEY_8 */, '8');\r\n define(30 /* KEY_9 */, '9');\r\n define(31 /* KEY_A */, 'A');\r\n define(32 /* KEY_B */, 'B');\r\n define(33 /* KEY_C */, 'C');\r\n define(34 /* KEY_D */, 'D');\r\n define(35 /* KEY_E */, 'E');\r\n define(36 /* KEY_F */, 'F');\r\n define(37 /* KEY_G */, 'G');\r\n define(38 /* KEY_H */, 'H');\r\n define(39 /* KEY_I */, 'I');\r\n define(40 /* KEY_J */, 'J');\r\n define(41 /* KEY_K */, 'K');\r\n define(42 /* KEY_L */, 'L');\r\n define(43 /* KEY_M */, 'M');\r\n define(44 /* KEY_N */, 'N');\r\n define(45 /* KEY_O */, 'O');\r\n define(46 /* KEY_P */, 'P');\r\n define(47 /* KEY_Q */, 'Q');\r\n define(48 /* KEY_R */, 'R');\r\n define(49 /* KEY_S */, 'S');\r\n define(50 /* KEY_T */, 'T');\r\n define(51 /* KEY_U */, 'U');\r\n define(52 /* KEY_V */, 'V');\r\n define(53 /* KEY_W */, 'W');\r\n define(54 /* KEY_X */, 'X');\r\n define(55 /* KEY_Y */, 'Y');\r\n define(56 /* KEY_Z */, 'Z');\r\n define(57 /* Meta */, 'Meta');\r\n define(58 /* ContextMenu */, 'ContextMenu');\r\n define(59 /* F1 */, 'F1');\r\n define(60 /* F2 */, 'F2');\r\n define(61 /* F3 */, 'F3');\r\n define(62 /* F4 */, 'F4');\r\n define(63 /* F5 */, 'F5');\r\n define(64 /* F6 */, 'F6');\r\n define(65 /* F7 */, 'F7');\r\n define(66 /* F8 */, 'F8');\r\n define(67 /* F9 */, 'F9');\r\n define(68 /* F10 */, 'F10');\r\n define(69 /* F11 */, 'F11');\r\n define(70 /* F12 */, 'F12');\r\n define(71 /* F13 */, 'F13');\r\n define(72 /* F14 */, 'F14');\r\n define(73 /* F15 */, 'F15');\r\n define(74 /* F16 */, 'F16');\r\n define(75 /* F17 */, 'F17');\r\n define(76 /* F18 */, 'F18');\r\n define(77 /* F19 */, 'F19');\r\n define(78 /* NumLock */, 'NumLock');\r\n define(79 /* ScrollLock */, 'ScrollLock');\r\n define(80 /* US_SEMICOLON */, ';', ';', 'OEM_1');\r\n define(81 /* US_EQUAL */, '=', '=', 'OEM_PLUS');\r\n define(82 /* US_COMMA */, ',', ',', 'OEM_COMMA');\r\n define(83 /* US_MINUS */, '-', '-', 'OEM_MINUS');\r\n define(84 /* US_DOT */, '.', '.', 'OEM_PERIOD');\r\n define(85 /* US_SLASH */, '/', '/', 'OEM_2');\r\n define(86 /* US_BACKTICK */, '`', '`', 'OEM_3');\r\n define(110 /* ABNT_C1 */, 'ABNT_C1');\r\n define(111 /* ABNT_C2 */, 'ABNT_C2');\r\n define(87 /* US_OPEN_SQUARE_BRACKET */, '[', '[', 'OEM_4');\r\n define(88 /* US_BACKSLASH */, '\\\\', '\\\\', 'OEM_5');\r\n define(89 /* US_CLOSE_SQUARE_BRACKET */, ']', ']', 'OEM_6');\r\n define(90 /* US_QUOTE */, '\\'', '\\'', 'OEM_7');\r\n define(91 /* OEM_8 */, 'OEM_8');\r\n define(92 /* OEM_102 */, 'OEM_102');\r\n define(93 /* NUMPAD_0 */, 'NumPad0');\r\n define(94 /* NUMPAD_1 */, 'NumPad1');\r\n define(95 /* NUMPAD_2 */, 'NumPad2');\r\n define(96 /* NUMPAD_3 */, 'NumPad3');\r\n define(97 /* NUMPAD_4 */, 'NumPad4');\r\n define(98 /* NUMPAD_5 */, 'NumPad5');\r\n define(99 /* NUMPAD_6 */, 'NumPad6');\r\n define(100 /* NUMPAD_7 */, 'NumPad7');\r\n define(101 /* NUMPAD_8 */, 'NumPad8');\r\n define(102 /* NUMPAD_9 */, 'NumPad9');\r\n define(103 /* NUMPAD_MULTIPLY */, 'NumPad_Multiply');\r\n define(104 /* NUMPAD_ADD */, 'NumPad_Add');\r\n define(105 /* NUMPAD_SEPARATOR */, 'NumPad_Separator');\r\n define(106 /* NUMPAD_SUBTRACT */, 'NumPad_Subtract');\r\n define(107 /* NUMPAD_DECIMAL */, 'NumPad_Decimal');\r\n define(108 /* NUMPAD_DIVIDE */, 'NumPad_Divide');\r\n})();\r\nvar KeyCodeUtils;\r\n(function (KeyCodeUtils) {\r\n function toString(keyCode) {\r\n return uiMap.keyCodeToStr(keyCode);\r\n }\r\n KeyCodeUtils.toString = toString;\r\n function fromString(key) {\r\n return uiMap.strToKeyCode(key);\r\n }\r\n KeyCodeUtils.fromString = fromString;\r\n function toUserSettingsUS(keyCode) {\r\n return userSettingsUSMap.keyCodeToStr(keyCode);\r\n }\r\n KeyCodeUtils.toUserSettingsUS = toUserSettingsUS;\r\n function toUserSettingsGeneral(keyCode) {\r\n return userSettingsGeneralMap.keyCodeToStr(keyCode);\r\n }\r\n KeyCodeUtils.toUserSettingsGeneral = toUserSettingsGeneral;\r\n function fromUserSettings(key) {\r\n return userSettingsUSMap.strToKeyCode(key) || userSettingsGeneralMap.strToKeyCode(key);\r\n }\r\n KeyCodeUtils.fromUserSettings = fromUserSettings;\r\n})(KeyCodeUtils || (KeyCodeUtils = {}));\r\nfunction KeyChord(firstPart, secondPart) {\r\n const chordPart = ((secondPart & 0x0000FFFF) << 16) >>> 0;\r\n return (firstPart | chordPart) >>> 0;\r\n}\r\nfunction createKeybinding(keybinding, OS) {\r\n if (keybinding === 0) {\r\n return null;\r\n }\r\n const firstPart = (keybinding & 0x0000FFFF) >>> 0;\r\n const chordPart = (keybinding & 0xFFFF0000) >>> 16;\r\n if (chordPart !== 0) {\r\n return new ChordKeybinding([\r\n createSimpleKeybinding(firstPart, OS),\r\n createSimpleKeybinding(chordPart, OS)\r\n ]);\r\n }\r\n return new ChordKeybinding([createSimpleKeybinding(firstPart, OS)]);\r\n}\r\nfunction createSimpleKeybinding(keybinding, OS) {\r\n const ctrlCmd = (keybinding & 2048 /* CtrlCmd */ ? true : false);\r\n const winCtrl = (keybinding & 256 /* WinCtrl */ ? true : false);\r\n const ctrlKey = (OS === 2 /* Macintosh */ ? winCtrl : ctrlCmd);\r\n const shiftKey = (keybinding & 1024 /* Shift */ ? true : false);\r\n const altKey = (keybinding & 512 /* Alt */ ? true : false);\r\n const metaKey = (OS === 2 /* Macintosh */ ? ctrlCmd : winCtrl);\r\n const keyCode = (keybinding & 255 /* KeyCode */);\r\n return new SimpleKeybinding(ctrlKey, shiftKey, altKey, metaKey, keyCode);\r\n}\r\nclass SimpleKeybinding {\r\n constructor(ctrlKey, shiftKey, altKey, metaKey, keyCode) {\r\n this.ctrlKey = ctrlKey;\r\n this.shiftKey = shiftKey;\r\n this.altKey = altKey;\r\n this.metaKey = metaKey;\r\n this.keyCode = keyCode;\r\n }\r\n equals(other) {\r\n return (this.ctrlKey === other.ctrlKey\r\n && this.shiftKey === other.shiftKey\r\n && this.altKey === other.altKey\r\n && this.metaKey === other.metaKey\r\n && this.keyCode === other.keyCode);\r\n }\r\n isModifierKey() {\r\n return (this.keyCode === 0 /* Unknown */\r\n || this.keyCode === 5 /* Ctrl */\r\n || this.keyCode === 57 /* Meta */\r\n || this.keyCode === 6 /* Alt */\r\n || this.keyCode === 4 /* Shift */);\r\n }\r\n toChord() {\r\n return new ChordKeybinding([this]);\r\n }\r\n /**\r\n * Does this keybinding refer to the key code of a modifier and it also has the modifier flag?\r\n */\r\n isDuplicateModifierCase() {\r\n return ((this.ctrlKey && this.keyCode === 5 /* Ctrl */)\r\n || (this.shiftKey && this.keyCode === 4 /* Shift */)\r\n || (this.altKey && this.keyCode === 6 /* Alt */)\r\n || (this.metaKey && this.keyCode === 57 /* Meta */));\r\n }\r\n}\r\nclass ChordKeybinding {\r\n constructor(parts) {\r\n if (parts.length === 0) {\r\n throw (0,_errors_js__WEBPACK_IMPORTED_MODULE_0__.illegalArgument)(`parts`);\r\n }\r\n this.parts = parts;\r\n }\r\n}\r\nclass ResolvedKeybindingPart {\r\n constructor(ctrlKey, shiftKey, altKey, metaKey, kbLabel, kbAriaLabel) {\r\n this.ctrlKey = ctrlKey;\r\n this.shiftKey = shiftKey;\r\n this.altKey = altKey;\r\n this.metaKey = metaKey;\r\n this.keyLabel = kbLabel;\r\n this.keyAriaLabel = kbAriaLabel;\r\n }\r\n}\r\n/**\r\n * A resolved keybinding. Can be a simple keybinding or a chord keybinding.\r\n */\r\nclass ResolvedKeybinding {\r\n}\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/base/common/keyCodes.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/base/common/lifecycle.js":
|
||
/*!********************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/base/common/lifecycle.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 */ \"trackDisposable\": () => (/* binding */ trackDisposable),\n/* harmony export */ \"MultiDisposeError\": () => (/* binding */ MultiDisposeError),\n/* harmony export */ \"isDisposable\": () => (/* binding */ isDisposable),\n/* harmony export */ \"dispose\": () => (/* binding */ dispose),\n/* harmony export */ \"combinedDisposable\": () => (/* binding */ combinedDisposable),\n/* harmony export */ \"toDisposable\": () => (/* binding */ toDisposable),\n/* harmony export */ \"DisposableStore\": () => (/* binding */ DisposableStore),\n/* harmony export */ \"Disposable\": () => (/* binding */ Disposable),\n/* harmony export */ \"MutableDisposable\": () => (/* binding */ MutableDisposable),\n/* harmony export */ \"ImmortalReference\": () => (/* binding */ ImmortalReference)\n/* harmony export */ });\n/* harmony import */ var _iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./iterator.js */ \"./node_modules/monaco-editor/esm/vs/base/common/iterator.js\");\n\r\n/**\r\n * Enables logging of potentially leaked disposables.\r\n *\r\n * A disposable is considered leaked if it is not disposed or not registered as the child of\r\n * another disposable. This tracking is very simple an only works for classes that either\r\n * extend Disposable or use a DisposableStore. This means there are a lot of false positives.\r\n */\r\nconst TRACK_DISPOSABLES = false;\r\nlet disposableTracker = null;\r\nif (TRACK_DISPOSABLES) {\r\n const __is_disposable_tracked__ = '__is_disposable_tracked__';\r\n disposableTracker = new class {\r\n trackDisposable(x) {\r\n const stack = new Error('Potentially leaked disposable').stack;\r\n setTimeout(() => {\r\n if (!x[__is_disposable_tracked__]) {\r\n console.log(stack);\r\n }\r\n }, 3000);\r\n }\r\n markTracked(x) {\r\n if (x && x !== Disposable.None) {\r\n try {\r\n x[__is_disposable_tracked__] = true;\r\n }\r\n catch (_a) {\r\n // noop\r\n }\r\n }\r\n }\r\n };\r\n}\r\nfunction markTracked(x) {\r\n if (!disposableTracker) {\r\n return;\r\n }\r\n disposableTracker.markTracked(x);\r\n}\r\nfunction trackDisposable(x) {\r\n if (!disposableTracker) {\r\n return x;\r\n }\r\n disposableTracker.trackDisposable(x);\r\n return x;\r\n}\r\nclass MultiDisposeError extends Error {\r\n constructor(errors) {\r\n super(`Encountered errors while disposing of store. Errors: [${errors.join(', ')}]`);\r\n this.errors = errors;\r\n }\r\n}\r\nfunction isDisposable(thing) {\r\n return typeof thing.dispose === 'function' && thing.dispose.length === 0;\r\n}\r\nfunction dispose(arg) {\r\n if (_iterator_js__WEBPACK_IMPORTED_MODULE_0__.Iterable.is(arg)) {\r\n let errors = [];\r\n for (const d of arg) {\r\n if (d) {\r\n markTracked(d);\r\n try {\r\n d.dispose();\r\n }\r\n catch (e) {\r\n errors.push(e);\r\n }\r\n }\r\n }\r\n if (errors.length === 1) {\r\n throw errors[0];\r\n }\r\n else if (errors.length > 1) {\r\n throw new MultiDisposeError(errors);\r\n }\r\n return Array.isArray(arg) ? [] : arg;\r\n }\r\n else if (arg) {\r\n markTracked(arg);\r\n arg.dispose();\r\n return arg;\r\n }\r\n}\r\nfunction combinedDisposable(...disposables) {\r\n disposables.forEach(markTracked);\r\n return toDisposable(() => dispose(disposables));\r\n}\r\nfunction toDisposable(fn) {\r\n const self = trackDisposable({\r\n dispose: () => {\r\n markTracked(self);\r\n fn();\r\n }\r\n });\r\n return self;\r\n}\r\nclass DisposableStore {\r\n constructor() {\r\n this._toDispose = new Set();\r\n this._isDisposed = false;\r\n }\r\n /**\r\n * Dispose of all registered disposables and mark this object as disposed.\r\n *\r\n * Any future disposables added to this object will be disposed of on `add`.\r\n */\r\n dispose() {\r\n if (this._isDisposed) {\r\n return;\r\n }\r\n markTracked(this);\r\n this._isDisposed = true;\r\n this.clear();\r\n }\r\n /**\r\n * Dispose of all registered disposables but do not mark this object as disposed.\r\n */\r\n clear() {\r\n try {\r\n dispose(this._toDispose.values());\r\n }\r\n finally {\r\n this._toDispose.clear();\r\n }\r\n }\r\n add(t) {\r\n if (!t) {\r\n return t;\r\n }\r\n if (t === this) {\r\n throw new Error('Cannot register a disposable on itself!');\r\n }\r\n markTracked(t);\r\n if (this._isDisposed) {\r\n if (!DisposableStore.DISABLE_DISPOSED_WARNING) {\r\n console.warn(new Error('Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!').stack);\r\n }\r\n }\r\n else {\r\n this._toDispose.add(t);\r\n }\r\n return t;\r\n }\r\n}\r\nDisposableStore.DISABLE_DISPOSED_WARNING = false;\r\nclass Disposable {\r\n constructor() {\r\n this._store = new DisposableStore();\r\n trackDisposable(this);\r\n }\r\n dispose() {\r\n markTracked(this);\r\n this._store.dispose();\r\n }\r\n _register(t) {\r\n if (t === this) {\r\n throw new Error('Cannot register a disposable on itself!');\r\n }\r\n return this._store.add(t);\r\n }\r\n}\r\nDisposable.None = Object.freeze({ dispose() { } });\r\n/**\r\n * Manages the lifecycle of a disposable value that may be changed.\r\n *\r\n * This ensures that when the disposable value is changed, the previously held disposable is disposed of. You can\r\n * also register a `MutableDisposable` on a `Disposable` to ensure it is automatically cleaned up.\r\n */\r\nclass MutableDisposable {\r\n constructor() {\r\n this._isDisposed = false;\r\n trackDisposable(this);\r\n }\r\n get value() {\r\n return this._isDisposed ? undefined : this._value;\r\n }\r\n set value(value) {\r\n var _a;\r\n if (this._isDisposed || value === this._value) {\r\n return;\r\n }\r\n (_a = this._value) === null || _a === void 0 ? void 0 : _a.dispose();\r\n if (value) {\r\n markTracked(value);\r\n }\r\n this._value = value;\r\n }\r\n clear() {\r\n this.value = undefined;\r\n }\r\n dispose() {\r\n var _a;\r\n this._isDisposed = true;\r\n markTracked(this);\r\n (_a = this._value) === null || _a === void 0 ? void 0 : _a.dispose();\r\n this._value = undefined;\r\n }\r\n}\r\nclass ImmortalReference {\r\n constructor(object) {\r\n this.object = object;\r\n }\r\n dispose() { }\r\n}\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/base/common/lifecycle.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/base/common/linkedList.js":
|
||
/*!*********************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/base/common/linkedList.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 */ \"LinkedList\": () => (/* binding */ LinkedList)\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\nclass Node {\r\n constructor(element) {\r\n this.element = element;\r\n this.next = Node.Undefined;\r\n this.prev = Node.Undefined;\r\n }\r\n}\r\nNode.Undefined = new Node(undefined);\r\nclass LinkedList {\r\n constructor() {\r\n this._first = Node.Undefined;\r\n this._last = Node.Undefined;\r\n this._size = 0;\r\n }\r\n get size() {\r\n return this._size;\r\n }\r\n isEmpty() {\r\n return this._first === Node.Undefined;\r\n }\r\n clear() {\r\n this._first = Node.Undefined;\r\n this._last = Node.Undefined;\r\n this._size = 0;\r\n }\r\n unshift(element) {\r\n return this._insert(element, false);\r\n }\r\n push(element) {\r\n return this._insert(element, true);\r\n }\r\n _insert(element, atTheEnd) {\r\n const newNode = new Node(element);\r\n if (this._first === Node.Undefined) {\r\n this._first = newNode;\r\n this._last = newNode;\r\n }\r\n else if (atTheEnd) {\r\n // push\r\n const oldLast = this._last;\r\n this._last = newNode;\r\n newNode.prev = oldLast;\r\n oldLast.next = newNode;\r\n }\r\n else {\r\n // unshift\r\n const oldFirst = this._first;\r\n this._first = newNode;\r\n newNode.next = oldFirst;\r\n oldFirst.prev = newNode;\r\n }\r\n this._size += 1;\r\n let didRemove = false;\r\n return () => {\r\n if (!didRemove) {\r\n didRemove = true;\r\n this._remove(newNode);\r\n }\r\n };\r\n }\r\n shift() {\r\n if (this._first === Node.Undefined) {\r\n return undefined;\r\n }\r\n else {\r\n const res = this._first.element;\r\n this._remove(this._first);\r\n return res;\r\n }\r\n }\r\n pop() {\r\n if (this._last === Node.Undefined) {\r\n return undefined;\r\n }\r\n else {\r\n const res = this._last.element;\r\n this._remove(this._last);\r\n return res;\r\n }\r\n }\r\n _remove(node) {\r\n if (node.prev !== Node.Undefined && node.next !== Node.Undefined) {\r\n // middle\r\n const anchor = node.prev;\r\n anchor.next = node.next;\r\n node.next.prev = anchor;\r\n }\r\n else if (node.prev === Node.Undefined && node.next === Node.Undefined) {\r\n // only node\r\n this._first = Node.Undefined;\r\n this._last = Node.Undefined;\r\n }\r\n else if (node.next === Node.Undefined) {\r\n // last\r\n this._last = this._last.prev;\r\n this._last.next = Node.Undefined;\r\n }\r\n else if (node.prev === Node.Undefined) {\r\n // first\r\n this._first = this._first.next;\r\n this._first.prev = Node.Undefined;\r\n }\r\n // done\r\n this._size -= 1;\r\n }\r\n *[Symbol.iterator]() {\r\n let node = this._first;\r\n while (node !== Node.Undefined) {\r\n yield node.element;\r\n node = node.next;\r\n }\r\n }\r\n}\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/base/common/linkedList.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/base/common/path.js":
|
||
/*!***************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/base/common/path.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 */ \"win32\": () => (/* binding */ win32),\n/* harmony export */ \"posix\": () => (/* binding */ posix),\n/* harmony export */ \"normalize\": () => (/* binding */ normalize),\n/* harmony export */ \"resolve\": () => (/* binding */ resolve),\n/* harmony export */ \"relative\": () => (/* binding */ relative),\n/* harmony export */ \"dirname\": () => (/* binding */ dirname),\n/* harmony export */ \"basename\": () => (/* binding */ basename),\n/* harmony export */ \"extname\": () => (/* binding */ extname),\n/* harmony export */ \"sep\": () => (/* binding */ sep)\n/* harmony export */ });\n/* harmony import */ var _process_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./process.js */ \"./node_modules/monaco-editor/esm/vs/base/common/process.js\");\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\n// NOTE: VSCode's copy of nodejs path library to be usable in common (non-node) namespace\r\n// Copied from: https://github.com/nodejs/node/blob/v12.8.1/lib/path.js\r\n/**\r\n * Copyright Joyent, Inc. and other Node contributors.\r\n *\r\n * Permission is hereby granted, free of charge, to any person obtaining a\r\n * copy of this software and associated documentation files (the\r\n * \"Software\"), to deal in the Software without restriction, including\r\n * without limitation the rights to use, copy, modify, merge, publish,\r\n * distribute, sublicense, and/or sell copies of the Software, and to permit\r\n * persons to whom the Software is furnished to do so, subject to the\r\n * following conditions:\r\n *\r\n * The above copyright notice and this permission notice shall be included\r\n * in all copies or substantial portions of the Software.\r\n *\r\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\r\n * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r\n * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\r\n * NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\r\n * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\r\n * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\r\n * USE OR OTHER DEALINGS IN THE SOFTWARE.\r\n */\r\n\r\nconst CHAR_UPPERCASE_A = 65; /* A */\r\nconst CHAR_LOWERCASE_A = 97; /* a */\r\nconst CHAR_UPPERCASE_Z = 90; /* Z */\r\nconst CHAR_LOWERCASE_Z = 122; /* z */\r\nconst CHAR_DOT = 46; /* . */\r\nconst CHAR_FORWARD_SLASH = 47; /* / */\r\nconst CHAR_BACKWARD_SLASH = 92; /* \\ */\r\nconst CHAR_COLON = 58; /* : */\r\nconst CHAR_QUESTION_MARK = 63; /* ? */\r\nclass ErrorInvalidArgType extends Error {\r\n constructor(name, expected, actual) {\r\n // determiner: 'must be' or 'must not be'\r\n let determiner;\r\n if (typeof expected === 'string' && expected.indexOf('not ') === 0) {\r\n determiner = 'must not be';\r\n expected = expected.replace(/^not /, '');\r\n }\r\n else {\r\n determiner = 'must be';\r\n }\r\n const type = name.indexOf('.') !== -1 ? 'property' : 'argument';\r\n let msg = `The \"${name}\" ${type} ${determiner} of type ${expected}`;\r\n msg += `. Received type ${typeof actual}`;\r\n super(msg);\r\n this.code = 'ERR_INVALID_ARG_TYPE';\r\n }\r\n}\r\nfunction validateString(value, name) {\r\n if (typeof value !== 'string') {\r\n throw new ErrorInvalidArgType(name, 'string', value);\r\n }\r\n}\r\nfunction isPathSeparator(code) {\r\n return code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH;\r\n}\r\nfunction isPosixPathSeparator(code) {\r\n return code === CHAR_FORWARD_SLASH;\r\n}\r\nfunction isWindowsDeviceRoot(code) {\r\n return code >= CHAR_UPPERCASE_A && code <= CHAR_UPPERCASE_Z ||\r\n code >= CHAR_LOWERCASE_A && code <= CHAR_LOWERCASE_Z;\r\n}\r\n// Resolves . and .. elements in a path with directory names\r\nfunction normalizeString(path, allowAboveRoot, separator, isPathSeparator) {\r\n let res = '';\r\n let lastSegmentLength = 0;\r\n let lastSlash = -1;\r\n let dots = 0;\r\n let code = 0;\r\n for (let i = 0; i <= path.length; ++i) {\r\n if (i < path.length) {\r\n code = path.charCodeAt(i);\r\n }\r\n else if (isPathSeparator(code)) {\r\n break;\r\n }\r\n else {\r\n code = CHAR_FORWARD_SLASH;\r\n }\r\n if (isPathSeparator(code)) {\r\n if (lastSlash === i - 1 || dots === 1) {\r\n // NOOP\r\n }\r\n else if (dots === 2) {\r\n if (res.length < 2 || lastSegmentLength !== 2 ||\r\n res.charCodeAt(res.length - 1) !== CHAR_DOT ||\r\n res.charCodeAt(res.length - 2) !== CHAR_DOT) {\r\n if (res.length > 2) {\r\n const lastSlashIndex = res.lastIndexOf(separator);\r\n if (lastSlashIndex === -1) {\r\n res = '';\r\n lastSegmentLength = 0;\r\n }\r\n else {\r\n res = res.slice(0, lastSlashIndex);\r\n lastSegmentLength = res.length - 1 - res.lastIndexOf(separator);\r\n }\r\n lastSlash = i;\r\n dots = 0;\r\n continue;\r\n }\r\n else if (res.length !== 0) {\r\n res = '';\r\n lastSegmentLength = 0;\r\n lastSlash = i;\r\n dots = 0;\r\n continue;\r\n }\r\n }\r\n if (allowAboveRoot) {\r\n res += res.length > 0 ? `${separator}..` : '..';\r\n lastSegmentLength = 2;\r\n }\r\n }\r\n else {\r\n if (res.length > 0) {\r\n res += `${separator}${path.slice(lastSlash + 1, i)}`;\r\n }\r\n else {\r\n res = path.slice(lastSlash + 1, i);\r\n }\r\n lastSegmentLength = i - lastSlash - 1;\r\n }\r\n lastSlash = i;\r\n dots = 0;\r\n }\r\n else if (code === CHAR_DOT && dots !== -1) {\r\n ++dots;\r\n }\r\n else {\r\n dots = -1;\r\n }\r\n }\r\n return res;\r\n}\r\nfunction _format(sep, pathObject) {\r\n if (pathObject === null || typeof pathObject !== 'object') {\r\n throw new ErrorInvalidArgType('pathObject', 'Object', pathObject);\r\n }\r\n const dir = pathObject.dir || pathObject.root;\r\n const base = pathObject.base ||\r\n `${pathObject.name || ''}${pathObject.ext || ''}`;\r\n if (!dir) {\r\n return base;\r\n }\r\n return dir === pathObject.root ? `${dir}${base}` : `${dir}${sep}${base}`;\r\n}\r\nconst win32 = {\r\n // path.resolve([from ...], to)\r\n resolve(...pathSegments) {\r\n let resolvedDevice = '';\r\n let resolvedTail = '';\r\n let resolvedAbsolute = false;\r\n for (let i = pathSegments.length - 1; i >= -1; i--) {\r\n let path;\r\n if (i >= 0) {\r\n path = pathSegments[i];\r\n validateString(path, 'path');\r\n // Skip empty entries\r\n if (path.length === 0) {\r\n continue;\r\n }\r\n }\r\n else if (resolvedDevice.length === 0) {\r\n path = _process_js__WEBPACK_IMPORTED_MODULE_0__.cwd();\r\n }\r\n else {\r\n // Windows has the concept of drive-specific current working\r\n // directories. If we've resolved a drive letter but not yet an\r\n // absolute path, get cwd for that drive, or the process cwd if\r\n // the drive cwd is not available. We're sure the device is not\r\n // a UNC path at this points, because UNC paths are always absolute.\r\n path = _process_js__WEBPACK_IMPORTED_MODULE_0__.env[`=${resolvedDevice}`] || _process_js__WEBPACK_IMPORTED_MODULE_0__.cwd();\r\n // Verify that a cwd was found and that it actually points\r\n // to our drive. If not, default to the drive's root.\r\n if (path === undefined ||\r\n path.slice(0, 2).toLowerCase() !== resolvedDevice.toLowerCase() &&\r\n path.charCodeAt(2) === CHAR_BACKWARD_SLASH) {\r\n path = `${resolvedDevice}\\\\`;\r\n }\r\n }\r\n const len = path.length;\r\n let rootEnd = 0;\r\n let device = '';\r\n let isAbsolute = false;\r\n const code = path.charCodeAt(0);\r\n // Try to match a root\r\n if (len === 1) {\r\n if (isPathSeparator(code)) {\r\n // `path` contains just a path separator\r\n rootEnd = 1;\r\n isAbsolute = true;\r\n }\r\n }\r\n else if (isPathSeparator(code)) {\r\n // Possible UNC root\r\n // If we started with a separator, we know we at least have an\r\n // absolute path of some kind (UNC or otherwise)\r\n isAbsolute = true;\r\n if (isPathSeparator(path.charCodeAt(1))) {\r\n // Matched double path separator at beginning\r\n let j = 2;\r\n let last = j;\r\n // Match 1 or more non-path separators\r\n while (j < len && !isPathSeparator(path.charCodeAt(j))) {\r\n j++;\r\n }\r\n if (j < len && j !== last) {\r\n const firstPart = path.slice(last, j);\r\n // Matched!\r\n last = j;\r\n // Match 1 or more path separators\r\n while (j < len && isPathSeparator(path.charCodeAt(j))) {\r\n j++;\r\n }\r\n if (j < len && j !== last) {\r\n // Matched!\r\n last = j;\r\n // Match 1 or more non-path separators\r\n while (j < len && !isPathSeparator(path.charCodeAt(j))) {\r\n j++;\r\n }\r\n if (j === len || j !== last) {\r\n // We matched a UNC root\r\n device = `\\\\\\\\${firstPart}\\\\${path.slice(last, j)}`;\r\n rootEnd = j;\r\n }\r\n }\r\n }\r\n }\r\n else {\r\n rootEnd = 1;\r\n }\r\n }\r\n else if (isWindowsDeviceRoot(code) &&\r\n path.charCodeAt(1) === CHAR_COLON) {\r\n // Possible device root\r\n device = path.slice(0, 2);\r\n rootEnd = 2;\r\n if (len > 2 && isPathSeparator(path.charCodeAt(2))) {\r\n // Treat separator following drive name as an absolute path\r\n // indicator\r\n isAbsolute = true;\r\n rootEnd = 3;\r\n }\r\n }\r\n if (device.length > 0) {\r\n if (resolvedDevice.length > 0) {\r\n if (device.toLowerCase() !== resolvedDevice.toLowerCase()) {\r\n // This path points to another device so it is not applicable\r\n continue;\r\n }\r\n }\r\n else {\r\n resolvedDevice = device;\r\n }\r\n }\r\n if (resolvedAbsolute) {\r\n if (resolvedDevice.length > 0) {\r\n break;\r\n }\r\n }\r\n else {\r\n resolvedTail = `${path.slice(rootEnd)}\\\\${resolvedTail}`;\r\n resolvedAbsolute = isAbsolute;\r\n if (isAbsolute && resolvedDevice.length > 0) {\r\n break;\r\n }\r\n }\r\n }\r\n // At this point the path should be resolved to a full absolute path,\r\n // but handle relative paths to be safe (might happen when process.cwd()\r\n // fails)\r\n // Normalize the tail path\r\n resolvedTail = normalizeString(resolvedTail, !resolvedAbsolute, '\\\\', isPathSeparator);\r\n return resolvedAbsolute ?\r\n `${resolvedDevice}\\\\${resolvedTail}` :\r\n `${resolvedDevice}${resolvedTail}` || '.';\r\n },\r\n normalize(path) {\r\n validateString(path, 'path');\r\n const len = path.length;\r\n if (len === 0) {\r\n return '.';\r\n }\r\n let rootEnd = 0;\r\n let device;\r\n let isAbsolute = false;\r\n const code = path.charCodeAt(0);\r\n // Try to match a root\r\n if (len === 1) {\r\n // `path` contains just a single char, exit early to avoid\r\n // unnecessary work\r\n return isPosixPathSeparator(code) ? '\\\\' : path;\r\n }\r\n if (isPathSeparator(code)) {\r\n // Possible UNC root\r\n // If we started with a separator, we know we at least have an absolute\r\n // path of some kind (UNC or otherwise)\r\n isAbsolute = true;\r\n if (isPathSeparator(path.charCodeAt(1))) {\r\n // Matched double path separator at beginning\r\n let j = 2;\r\n let last = j;\r\n // Match 1 or more non-path separators\r\n while (j < len && !isPathSeparator(path.charCodeAt(j))) {\r\n j++;\r\n }\r\n if (j < len && j !== last) {\r\n const firstPart = path.slice(last, j);\r\n // Matched!\r\n last = j;\r\n // Match 1 or more path separators\r\n while (j < len && isPathSeparator(path.charCodeAt(j))) {\r\n j++;\r\n }\r\n if (j < len && j !== last) {\r\n // Matched!\r\n last = j;\r\n // Match 1 or more non-path separators\r\n while (j < len && !isPathSeparator(path.charCodeAt(j))) {\r\n j++;\r\n }\r\n if (j === len) {\r\n // We matched a UNC root only\r\n // Return the normalized version of the UNC root since there\r\n // is nothing left to process\r\n return `\\\\\\\\${firstPart}\\\\${path.slice(last)}\\\\`;\r\n }\r\n if (j !== last) {\r\n // We matched a UNC root with leftovers\r\n device = `\\\\\\\\${firstPart}\\\\${path.slice(last, j)}`;\r\n rootEnd = j;\r\n }\r\n }\r\n }\r\n }\r\n else {\r\n rootEnd = 1;\r\n }\r\n }\r\n else if (isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON) {\r\n // Possible device root\r\n device = path.slice(0, 2);\r\n rootEnd = 2;\r\n if (len > 2 && isPathSeparator(path.charCodeAt(2))) {\r\n // Treat separator following drive name as an absolute path\r\n // indicator\r\n isAbsolute = true;\r\n rootEnd = 3;\r\n }\r\n }\r\n let tail = rootEnd < len ?\r\n normalizeString(path.slice(rootEnd), !isAbsolute, '\\\\', isPathSeparator) :\r\n '';\r\n if (tail.length === 0 && !isAbsolute) {\r\n tail = '.';\r\n }\r\n if (tail.length > 0 && isPathSeparator(path.charCodeAt(len - 1))) {\r\n tail += '\\\\';\r\n }\r\n if (device === undefined) {\r\n return isAbsolute ? `\\\\${tail}` : tail;\r\n }\r\n return isAbsolute ? `${device}\\\\${tail}` : `${device}${tail}`;\r\n },\r\n isAbsolute(path) {\r\n validateString(path, 'path');\r\n const len = path.length;\r\n if (len === 0) {\r\n return false;\r\n }\r\n const code = path.charCodeAt(0);\r\n return isPathSeparator(code) ||\r\n // Possible device root\r\n len > 2 &&\r\n isWindowsDeviceRoot(code) &&\r\n path.charCodeAt(1) === CHAR_COLON &&\r\n isPathSeparator(path.charCodeAt(2));\r\n },\r\n join(...paths) {\r\n if (paths.length === 0) {\r\n return '.';\r\n }\r\n let joined;\r\n let firstPart;\r\n for (let i = 0; i < paths.length; ++i) {\r\n const arg = paths[i];\r\n validateString(arg, 'path');\r\n if (arg.length > 0) {\r\n if (joined === undefined) {\r\n joined = firstPart = arg;\r\n }\r\n else {\r\n joined += `\\\\${arg}`;\r\n }\r\n }\r\n }\r\n if (joined === undefined) {\r\n return '.';\r\n }\r\n // Make sure that the joined path doesn't start with two slashes, because\r\n // normalize() will mistake it for an UNC path then.\r\n //\r\n // This step is skipped when it is very clear that the user actually\r\n // intended to point at an UNC path. This is assumed when the first\r\n // non-empty string arguments starts with exactly two slashes followed by\r\n // at least one more non-slash character.\r\n //\r\n // Note that for normalize() to treat a path as an UNC path it needs to\r\n // have at least 2 components, so we don't filter for that here.\r\n // This means that the user can use join to construct UNC paths from\r\n // a server name and a share name; for example:\r\n // path.join('//server', 'share') -> '\\\\\\\\server\\\\share\\\\')\r\n let needsReplace = true;\r\n let slashCount = 0;\r\n if (typeof firstPart === 'string' && isPathSeparator(firstPart.charCodeAt(0))) {\r\n ++slashCount;\r\n const firstLen = firstPart.length;\r\n if (firstLen > 1 && isPathSeparator(firstPart.charCodeAt(1))) {\r\n ++slashCount;\r\n if (firstLen > 2) {\r\n if (isPathSeparator(firstPart.charCodeAt(2))) {\r\n ++slashCount;\r\n }\r\n else {\r\n // We matched a UNC path in the first part\r\n needsReplace = false;\r\n }\r\n }\r\n }\r\n }\r\n if (needsReplace) {\r\n // Find any more consecutive slashes we need to replace\r\n while (slashCount < joined.length &&\r\n isPathSeparator(joined.charCodeAt(slashCount))) {\r\n slashCount++;\r\n }\r\n // Replace the slashes if needed\r\n if (slashCount >= 2) {\r\n joined = `\\\\${joined.slice(slashCount)}`;\r\n }\r\n }\r\n return win32.normalize(joined);\r\n },\r\n // It will solve the relative path from `from` to `to`, for instance:\r\n // from = 'C:\\\\orandea\\\\test\\\\aaa'\r\n // to = 'C:\\\\orandea\\\\impl\\\\bbb'\r\n // The output of the function should be: '..\\\\..\\\\impl\\\\bbb'\r\n relative(from, to) {\r\n validateString(from, 'from');\r\n validateString(to, 'to');\r\n if (from === to) {\r\n return '';\r\n }\r\n const fromOrig = win32.resolve(from);\r\n const toOrig = win32.resolve(to);\r\n if (fromOrig === toOrig) {\r\n return '';\r\n }\r\n from = fromOrig.toLowerCase();\r\n to = toOrig.toLowerCase();\r\n if (from === to) {\r\n return '';\r\n }\r\n // Trim any leading backslashes\r\n let fromStart = 0;\r\n while (fromStart < from.length &&\r\n from.charCodeAt(fromStart) === CHAR_BACKWARD_SLASH) {\r\n fromStart++;\r\n }\r\n // Trim trailing backslashes (applicable to UNC paths only)\r\n let fromEnd = from.length;\r\n while (fromEnd - 1 > fromStart &&\r\n from.charCodeAt(fromEnd - 1) === CHAR_BACKWARD_SLASH) {\r\n fromEnd--;\r\n }\r\n const fromLen = fromEnd - fromStart;\r\n // Trim any leading backslashes\r\n let toStart = 0;\r\n while (toStart < to.length &&\r\n to.charCodeAt(toStart) === CHAR_BACKWARD_SLASH) {\r\n toStart++;\r\n }\r\n // Trim trailing backslashes (applicable to UNC paths only)\r\n let toEnd = to.length;\r\n while (toEnd - 1 > toStart &&\r\n to.charCodeAt(toEnd - 1) === CHAR_BACKWARD_SLASH) {\r\n toEnd--;\r\n }\r\n const toLen = toEnd - toStart;\r\n // Compare paths to find the longest common path from root\r\n const length = fromLen < toLen ? fromLen : toLen;\r\n let lastCommonSep = -1;\r\n let i = 0;\r\n for (; i < length; i++) {\r\n const fromCode = from.charCodeAt(fromStart + i);\r\n if (fromCode !== to.charCodeAt(toStart + i)) {\r\n break;\r\n }\r\n else if (fromCode === CHAR_BACKWARD_SLASH) {\r\n lastCommonSep = i;\r\n }\r\n }\r\n // We found a mismatch before the first common path separator was seen, so\r\n // return the original `to`.\r\n if (i !== length) {\r\n if (lastCommonSep === -1) {\r\n return toOrig;\r\n }\r\n }\r\n else {\r\n if (toLen > length) {\r\n if (to.charCodeAt(toStart + i) === CHAR_BACKWARD_SLASH) {\r\n // We get here if `from` is the exact base path for `to`.\r\n // For example: from='C:\\\\foo\\\\bar'; to='C:\\\\foo\\\\bar\\\\baz'\r\n return toOrig.slice(toStart + i + 1);\r\n }\r\n if (i === 2) {\r\n // We get here if `from` is the device root.\r\n // For example: from='C:\\\\'; to='C:\\\\foo'\r\n return toOrig.slice(toStart + i);\r\n }\r\n }\r\n if (fromLen > length) {\r\n if (from.charCodeAt(fromStart + i) === CHAR_BACKWARD_SLASH) {\r\n // We get here if `to` is the exact base path for `from`.\r\n // For example: from='C:\\\\foo\\\\bar'; to='C:\\\\foo'\r\n lastCommonSep = i;\r\n }\r\n else if (i === 2) {\r\n // We get here if `to` is the device root.\r\n // For example: from='C:\\\\foo\\\\bar'; to='C:\\\\'\r\n lastCommonSep = 3;\r\n }\r\n }\r\n if (lastCommonSep === -1) {\r\n lastCommonSep = 0;\r\n }\r\n }\r\n let out = '';\r\n // Generate the relative path based on the path difference between `to` and\r\n // `from`\r\n for (i = fromStart + lastCommonSep + 1; i <= fromEnd; ++i) {\r\n if (i === fromEnd || from.charCodeAt(i) === CHAR_BACKWARD_SLASH) {\r\n out += out.length === 0 ? '..' : '\\\\..';\r\n }\r\n }\r\n toStart += lastCommonSep;\r\n // Lastly, append the rest of the destination (`to`) path that comes after\r\n // the common path parts\r\n if (out.length > 0) {\r\n return `${out}${toOrig.slice(toStart, toEnd)}`;\r\n }\r\n if (toOrig.charCodeAt(toStart) === CHAR_BACKWARD_SLASH) {\r\n ++toStart;\r\n }\r\n return toOrig.slice(toStart, toEnd);\r\n },\r\n toNamespacedPath(path) {\r\n // Note: this will *probably* throw somewhere.\r\n if (typeof path !== 'string') {\r\n return path;\r\n }\r\n if (path.length === 0) {\r\n return '';\r\n }\r\n const resolvedPath = win32.resolve(path);\r\n if (resolvedPath.length <= 2) {\r\n return path;\r\n }\r\n if (resolvedPath.charCodeAt(0) === CHAR_BACKWARD_SLASH) {\r\n // Possible UNC root\r\n if (resolvedPath.charCodeAt(1) === CHAR_BACKWARD_SLASH) {\r\n const code = resolvedPath.charCodeAt(2);\r\n if (code !== CHAR_QUESTION_MARK && code !== CHAR_DOT) {\r\n // Matched non-long UNC root, convert the path to a long UNC path\r\n return `\\\\\\\\?\\\\UNC\\\\${resolvedPath.slice(2)}`;\r\n }\r\n }\r\n }\r\n else if (isWindowsDeviceRoot(resolvedPath.charCodeAt(0)) &&\r\n resolvedPath.charCodeAt(1) === CHAR_COLON &&\r\n resolvedPath.charCodeAt(2) === CHAR_BACKWARD_SLASH) {\r\n // Matched device root, convert the path to a long UNC path\r\n return `\\\\\\\\?\\\\${resolvedPath}`;\r\n }\r\n return path;\r\n },\r\n dirname(path) {\r\n validateString(path, 'path');\r\n const len = path.length;\r\n if (len === 0) {\r\n return '.';\r\n }\r\n let rootEnd = -1;\r\n let offset = 0;\r\n const code = path.charCodeAt(0);\r\n if (len === 1) {\r\n // `path` contains just a path separator, exit early to avoid\r\n // unnecessary work or a dot.\r\n return isPathSeparator(code) ? path : '.';\r\n }\r\n // Try to match a root\r\n if (isPathSeparator(code)) {\r\n // Possible UNC root\r\n rootEnd = offset = 1;\r\n if (isPathSeparator(path.charCodeAt(1))) {\r\n // Matched double path separator at beginning\r\n let j = 2;\r\n let last = j;\r\n // Match 1 or more non-path separators\r\n while (j < len && !isPathSeparator(path.charCodeAt(j))) {\r\n j++;\r\n }\r\n if (j < len && j !== last) {\r\n // Matched!\r\n last = j;\r\n // Match 1 or more path separators\r\n while (j < len && isPathSeparator(path.charCodeAt(j))) {\r\n j++;\r\n }\r\n if (j < len && j !== last) {\r\n // Matched!\r\n last = j;\r\n // Match 1 or more non-path separators\r\n while (j < len && !isPathSeparator(path.charCodeAt(j))) {\r\n j++;\r\n }\r\n if (j === len) {\r\n // We matched a UNC root only\r\n return path;\r\n }\r\n if (j !== last) {\r\n // We matched a UNC root with leftovers\r\n // Offset by 1 to include the separator after the UNC root to\r\n // treat it as a \"normal root\" on top of a (UNC) root\r\n rootEnd = offset = j + 1;\r\n }\r\n }\r\n }\r\n }\r\n // Possible device root\r\n }\r\n else if (isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON) {\r\n rootEnd = len > 2 && isPathSeparator(path.charCodeAt(2)) ? 3 : 2;\r\n offset = rootEnd;\r\n }\r\n let end = -1;\r\n let matchedSlash = true;\r\n for (let i = len - 1; i >= offset; --i) {\r\n if (isPathSeparator(path.charCodeAt(i))) {\r\n if (!matchedSlash) {\r\n end = i;\r\n break;\r\n }\r\n }\r\n else {\r\n // We saw the first non-path separator\r\n matchedSlash = false;\r\n }\r\n }\r\n if (end === -1) {\r\n if (rootEnd === -1) {\r\n return '.';\r\n }\r\n end = rootEnd;\r\n }\r\n return path.slice(0, end);\r\n },\r\n basename(path, ext) {\r\n if (ext !== undefined) {\r\n validateString(ext, 'ext');\r\n }\r\n validateString(path, 'path');\r\n let start = 0;\r\n let end = -1;\r\n let matchedSlash = true;\r\n let i;\r\n // Check for a drive letter prefix so as not to mistake the following\r\n // path separator as an extra separator at the end of the path that can be\r\n // disregarded\r\n if (path.length >= 2 &&\r\n isWindowsDeviceRoot(path.charCodeAt(0)) &&\r\n path.charCodeAt(1) === CHAR_COLON) {\r\n start = 2;\r\n }\r\n if (ext !== undefined && ext.length > 0 && ext.length <= path.length) {\r\n if (ext === path) {\r\n return '';\r\n }\r\n let extIdx = ext.length - 1;\r\n let firstNonSlashEnd = -1;\r\n for (i = path.length - 1; i >= start; --i) {\r\n const code = path.charCodeAt(i);\r\n if (isPathSeparator(code)) {\r\n // If we reached a path separator that was not part of a set of path\r\n // separators at the end of the string, stop now\r\n if (!matchedSlash) {\r\n start = i + 1;\r\n break;\r\n }\r\n }\r\n else {\r\n if (firstNonSlashEnd === -1) {\r\n // We saw the first non-path separator, remember this index in case\r\n // we need it if the extension ends up not matching\r\n matchedSlash = false;\r\n firstNonSlashEnd = i + 1;\r\n }\r\n if (extIdx >= 0) {\r\n // Try to match the explicit extension\r\n if (code === ext.charCodeAt(extIdx)) {\r\n if (--extIdx === -1) {\r\n // We matched the extension, so mark this as the end of our path\r\n // component\r\n end = i;\r\n }\r\n }\r\n else {\r\n // Extension does not match, so our result is the entire path\r\n // component\r\n extIdx = -1;\r\n end = firstNonSlashEnd;\r\n }\r\n }\r\n }\r\n }\r\n if (start === end) {\r\n end = firstNonSlashEnd;\r\n }\r\n else if (end === -1) {\r\n end = path.length;\r\n }\r\n return path.slice(start, end);\r\n }\r\n for (i = path.length - 1; i >= start; --i) {\r\n if (isPathSeparator(path.charCodeAt(i))) {\r\n // If we reached a path separator that was not part of a set of path\r\n // separators at the end of the string, stop now\r\n if (!matchedSlash) {\r\n start = i + 1;\r\n break;\r\n }\r\n }\r\n else if (end === -1) {\r\n // We saw the first non-path separator, mark this as the end of our\r\n // path component\r\n matchedSlash = false;\r\n end = i + 1;\r\n }\r\n }\r\n if (end === -1) {\r\n return '';\r\n }\r\n return path.slice(start, end);\r\n },\r\n extname(path) {\r\n validateString(path, 'path');\r\n let start = 0;\r\n let startDot = -1;\r\n let startPart = 0;\r\n let end = -1;\r\n let matchedSlash = true;\r\n // Track the state of characters (if any) we see before our first dot and\r\n // after any path separator we find\r\n let preDotState = 0;\r\n // Check for a drive letter prefix so as not to mistake the following\r\n // path separator as an extra separator at the end of the path that can be\r\n // disregarded\r\n if (path.length >= 2 &&\r\n path.charCodeAt(1) === CHAR_COLON &&\r\n isWindowsDeviceRoot(path.charCodeAt(0))) {\r\n start = startPart = 2;\r\n }\r\n for (let i = path.length - 1; i >= start; --i) {\r\n const code = path.charCodeAt(i);\r\n if (isPathSeparator(code)) {\r\n // If we reached a path separator that was not part of a set of path\r\n // separators at the end of the string, stop now\r\n if (!matchedSlash) {\r\n startPart = i + 1;\r\n break;\r\n }\r\n continue;\r\n }\r\n if (end === -1) {\r\n // We saw the first non-path separator, mark this as the end of our\r\n // extension\r\n matchedSlash = false;\r\n end = i + 1;\r\n }\r\n if (code === CHAR_DOT) {\r\n // If this is our first dot, mark it as the start of our extension\r\n if (startDot === -1) {\r\n startDot = i;\r\n }\r\n else if (preDotState !== 1) {\r\n preDotState = 1;\r\n }\r\n }\r\n else if (startDot !== -1) {\r\n // We saw a non-dot and non-path separator before our dot, so we should\r\n // have a good chance at having a non-empty extension\r\n preDotState = -1;\r\n }\r\n }\r\n if (startDot === -1 ||\r\n end === -1 ||\r\n // We saw a non-dot character immediately before the dot\r\n preDotState === 0 ||\r\n // The (right-most) trimmed path component is exactly '..'\r\n (preDotState === 1 &&\r\n startDot === end - 1 &&\r\n startDot === startPart + 1)) {\r\n return '';\r\n }\r\n return path.slice(startDot, end);\r\n },\r\n format: _format.bind(null, '\\\\'),\r\n parse(path) {\r\n validateString(path, 'path');\r\n const ret = { root: '', dir: '', base: '', ext: '', name: '' };\r\n if (path.length === 0) {\r\n return ret;\r\n }\r\n const len = path.length;\r\n let rootEnd = 0;\r\n let code = path.charCodeAt(0);\r\n if (len === 1) {\r\n if (isPathSeparator(code)) {\r\n // `path` contains just a path separator, exit early to avoid\r\n // unnecessary work\r\n ret.root = ret.dir = path;\r\n return ret;\r\n }\r\n ret.base = ret.name = path;\r\n return ret;\r\n }\r\n // Try to match a root\r\n if (isPathSeparator(code)) {\r\n // Possible UNC root\r\n rootEnd = 1;\r\n if (isPathSeparator(path.charCodeAt(1))) {\r\n // Matched double path separator at beginning\r\n let j = 2;\r\n let last = j;\r\n // Match 1 or more non-path separators\r\n while (j < len && !isPathSeparator(path.charCodeAt(j))) {\r\n j++;\r\n }\r\n if (j < len && j !== last) {\r\n // Matched!\r\n last = j;\r\n // Match 1 or more path separators\r\n while (j < len && isPathSeparator(path.charCodeAt(j))) {\r\n j++;\r\n }\r\n if (j < len && j !== last) {\r\n // Matched!\r\n last = j;\r\n // Match 1 or more non-path separators\r\n while (j < len && !isPathSeparator(path.charCodeAt(j))) {\r\n j++;\r\n }\r\n if (j === len) {\r\n // We matched a UNC root only\r\n rootEnd = j;\r\n }\r\n else if (j !== last) {\r\n // We matched a UNC root with leftovers\r\n rootEnd = j + 1;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n else if (isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON) {\r\n // Possible device root\r\n if (len <= 2) {\r\n // `path` contains just a drive root, exit early to avoid\r\n // unnecessary work\r\n ret.root = ret.dir = path;\r\n return ret;\r\n }\r\n rootEnd = 2;\r\n if (isPathSeparator(path.charCodeAt(2))) {\r\n if (len === 3) {\r\n // `path` contains just a drive root, exit early to avoid\r\n // unnecessary work\r\n ret.root = ret.dir = path;\r\n return ret;\r\n }\r\n rootEnd = 3;\r\n }\r\n }\r\n if (rootEnd > 0) {\r\n ret.root = path.slice(0, rootEnd);\r\n }\r\n let startDot = -1;\r\n let startPart = rootEnd;\r\n let end = -1;\r\n let matchedSlash = true;\r\n let i = path.length - 1;\r\n // Track the state of characters (if any) we see before our first dot and\r\n // after any path separator we find\r\n let preDotState = 0;\r\n // Get non-dir info\r\n for (; i >= rootEnd; --i) {\r\n code = path.charCodeAt(i);\r\n if (isPathSeparator(code)) {\r\n // If we reached a path separator that was not part of a set of path\r\n // separators at the end of the string, stop now\r\n if (!matchedSlash) {\r\n startPart = i + 1;\r\n break;\r\n }\r\n continue;\r\n }\r\n if (end === -1) {\r\n // We saw the first non-path separator, mark this as the end of our\r\n // extension\r\n matchedSlash = false;\r\n end = i + 1;\r\n }\r\n if (code === CHAR_DOT) {\r\n // If this is our first dot, mark it as the start of our extension\r\n if (startDot === -1) {\r\n startDot = i;\r\n }\r\n else if (preDotState !== 1) {\r\n preDotState = 1;\r\n }\r\n }\r\n else if (startDot !== -1) {\r\n // We saw a non-dot and non-path separator before our dot, so we should\r\n // have a good chance at having a non-empty extension\r\n preDotState = -1;\r\n }\r\n }\r\n if (end !== -1) {\r\n if (startDot === -1 ||\r\n // We saw a non-dot character immediately before the dot\r\n preDotState === 0 ||\r\n // The (right-most) trimmed path component is exactly '..'\r\n (preDotState === 1 &&\r\n startDot === end - 1 &&\r\n startDot === startPart + 1)) {\r\n ret.base = ret.name = path.slice(startPart, end);\r\n }\r\n else {\r\n ret.name = path.slice(startPart, startDot);\r\n ret.base = path.slice(startPart, end);\r\n ret.ext = path.slice(startDot, end);\r\n }\r\n }\r\n // If the directory is the root, use the entire root as the `dir` including\r\n // the trailing slash if any (`C:\\abc` -> `C:\\`). Otherwise, strip out the\r\n // trailing slash (`C:\\abc\\def` -> `C:\\abc`).\r\n if (startPart > 0 && startPart !== rootEnd) {\r\n ret.dir = path.slice(0, startPart - 1);\r\n }\r\n else {\r\n ret.dir = ret.root;\r\n }\r\n return ret;\r\n },\r\n sep: '\\\\',\r\n delimiter: ';',\r\n win32: null,\r\n posix: null\r\n};\r\nconst posix = {\r\n // path.resolve([from ...], to)\r\n resolve(...pathSegments) {\r\n let resolvedPath = '';\r\n let resolvedAbsolute = false;\r\n for (let i = pathSegments.length - 1; i >= -1 && !resolvedAbsolute; i--) {\r\n const path = i >= 0 ? pathSegments[i] : _process_js__WEBPACK_IMPORTED_MODULE_0__.cwd();\r\n validateString(path, 'path');\r\n // Skip empty entries\r\n if (path.length === 0) {\r\n continue;\r\n }\r\n resolvedPath = `${path}/${resolvedPath}`;\r\n resolvedAbsolute = path.charCodeAt(0) === CHAR_FORWARD_SLASH;\r\n }\r\n // At this point the path should be resolved to a full absolute path, but\r\n // handle relative paths to be safe (might happen when process.cwd() fails)\r\n // Normalize the path\r\n resolvedPath = normalizeString(resolvedPath, !resolvedAbsolute, '/', isPosixPathSeparator);\r\n if (resolvedAbsolute) {\r\n return `/${resolvedPath}`;\r\n }\r\n return resolvedPath.length > 0 ? resolvedPath : '.';\r\n },\r\n normalize(path) {\r\n validateString(path, 'path');\r\n if (path.length === 0) {\r\n return '.';\r\n }\r\n const isAbsolute = path.charCodeAt(0) === CHAR_FORWARD_SLASH;\r\n const trailingSeparator = path.charCodeAt(path.length - 1) === CHAR_FORWARD_SLASH;\r\n // Normalize the path\r\n path = normalizeString(path, !isAbsolute, '/', isPosixPathSeparator);\r\n if (path.length === 0) {\r\n if (isAbsolute) {\r\n return '/';\r\n }\r\n return trailingSeparator ? './' : '.';\r\n }\r\n if (trailingSeparator) {\r\n path += '/';\r\n }\r\n return isAbsolute ? `/${path}` : path;\r\n },\r\n isAbsolute(path) {\r\n validateString(path, 'path');\r\n return path.length > 0 && path.charCodeAt(0) === CHAR_FORWARD_SLASH;\r\n },\r\n join(...paths) {\r\n if (paths.length === 0) {\r\n return '.';\r\n }\r\n let joined;\r\n for (let i = 0; i < paths.length; ++i) {\r\n const arg = paths[i];\r\n validateString(arg, 'path');\r\n if (arg.length > 0) {\r\n if (joined === undefined) {\r\n joined = arg;\r\n }\r\n else {\r\n joined += `/${arg}`;\r\n }\r\n }\r\n }\r\n if (joined === undefined) {\r\n return '.';\r\n }\r\n return posix.normalize(joined);\r\n },\r\n relative(from, to) {\r\n validateString(from, 'from');\r\n validateString(to, 'to');\r\n if (from === to) {\r\n return '';\r\n }\r\n // Trim leading forward slashes.\r\n from = posix.resolve(from);\r\n to = posix.resolve(to);\r\n if (from === to) {\r\n return '';\r\n }\r\n const fromStart = 1;\r\n const fromEnd = from.length;\r\n const fromLen = fromEnd - fromStart;\r\n const toStart = 1;\r\n const toLen = to.length - toStart;\r\n // Compare paths to find the longest common path from root\r\n const length = (fromLen < toLen ? fromLen : toLen);\r\n let lastCommonSep = -1;\r\n let i = 0;\r\n for (; i < length; i++) {\r\n const fromCode = from.charCodeAt(fromStart + i);\r\n if (fromCode !== to.charCodeAt(toStart + i)) {\r\n break;\r\n }\r\n else if (fromCode === CHAR_FORWARD_SLASH) {\r\n lastCommonSep = i;\r\n }\r\n }\r\n if (i === length) {\r\n if (toLen > length) {\r\n if (to.charCodeAt(toStart + i) === CHAR_FORWARD_SLASH) {\r\n // We get here if `from` is the exact base path for `to`.\r\n // For example: from='/foo/bar'; to='/foo/bar/baz'\r\n return to.slice(toStart + i + 1);\r\n }\r\n if (i === 0) {\r\n // We get here if `from` is the root\r\n // For example: from='/'; to='/foo'\r\n return to.slice(toStart + i);\r\n }\r\n }\r\n else if (fromLen > length) {\r\n if (from.charCodeAt(fromStart + i) === CHAR_FORWARD_SLASH) {\r\n // We get here if `to` is the exact base path for `from`.\r\n // For example: from='/foo/bar/baz'; to='/foo/bar'\r\n lastCommonSep = i;\r\n }\r\n else if (i === 0) {\r\n // We get here if `to` is the root.\r\n // For example: from='/foo/bar'; to='/'\r\n lastCommonSep = 0;\r\n }\r\n }\r\n }\r\n let out = '';\r\n // Generate the relative path based on the path difference between `to`\r\n // and `from`.\r\n for (i = fromStart + lastCommonSep + 1; i <= fromEnd; ++i) {\r\n if (i === fromEnd || from.charCodeAt(i) === CHAR_FORWARD_SLASH) {\r\n out += out.length === 0 ? '..' : '/..';\r\n }\r\n }\r\n // Lastly, append the rest of the destination (`to`) path that comes after\r\n // the common path parts.\r\n return `${out}${to.slice(toStart + lastCommonSep)}`;\r\n },\r\n toNamespacedPath(path) {\r\n // Non-op on posix systems\r\n return path;\r\n },\r\n dirname(path) {\r\n validateString(path, 'path');\r\n if (path.length === 0) {\r\n return '.';\r\n }\r\n const hasRoot = path.charCodeAt(0) === CHAR_FORWARD_SLASH;\r\n let end = -1;\r\n let matchedSlash = true;\r\n for (let i = path.length - 1; i >= 1; --i) {\r\n if (path.charCodeAt(i) === CHAR_FORWARD_SLASH) {\r\n if (!matchedSlash) {\r\n end = i;\r\n break;\r\n }\r\n }\r\n else {\r\n // We saw the first non-path separator\r\n matchedSlash = false;\r\n }\r\n }\r\n if (end === -1) {\r\n return hasRoot ? '/' : '.';\r\n }\r\n if (hasRoot && end === 1) {\r\n return '//';\r\n }\r\n return path.slice(0, end);\r\n },\r\n basename(path, ext) {\r\n if (ext !== undefined) {\r\n validateString(ext, 'ext');\r\n }\r\n validateString(path, 'path');\r\n let start = 0;\r\n let end = -1;\r\n let matchedSlash = true;\r\n let i;\r\n if (ext !== undefined && ext.length > 0 && ext.length <= path.length) {\r\n if (ext === path) {\r\n return '';\r\n }\r\n let extIdx = ext.length - 1;\r\n let firstNonSlashEnd = -1;\r\n for (i = path.length - 1; i >= 0; --i) {\r\n const code = path.charCodeAt(i);\r\n if (code === CHAR_FORWARD_SLASH) {\r\n // If we reached a path separator that was not part of a set of path\r\n // separators at the end of the string, stop now\r\n if (!matchedSlash) {\r\n start = i + 1;\r\n break;\r\n }\r\n }\r\n else {\r\n if (firstNonSlashEnd === -1) {\r\n // We saw the first non-path separator, remember this index in case\r\n // we need it if the extension ends up not matching\r\n matchedSlash = false;\r\n firstNonSlashEnd = i + 1;\r\n }\r\n if (extIdx >= 0) {\r\n // Try to match the explicit extension\r\n if (code === ext.charCodeAt(extIdx)) {\r\n if (--extIdx === -1) {\r\n // We matched the extension, so mark this as the end of our path\r\n // component\r\n end = i;\r\n }\r\n }\r\n else {\r\n // Extension does not match, so our result is the entire path\r\n // component\r\n extIdx = -1;\r\n end = firstNonSlashEnd;\r\n }\r\n }\r\n }\r\n }\r\n if (start === end) {\r\n end = firstNonSlashEnd;\r\n }\r\n else if (end === -1) {\r\n end = path.length;\r\n }\r\n return path.slice(start, end);\r\n }\r\n for (i = path.length - 1; i >= 0; --i) {\r\n if (path.charCodeAt(i) === CHAR_FORWARD_SLASH) {\r\n // If we reached a path separator that was not part of a set of path\r\n // separators at the end of the string, stop now\r\n if (!matchedSlash) {\r\n start = i + 1;\r\n break;\r\n }\r\n }\r\n else if (end === -1) {\r\n // We saw the first non-path separator, mark this as the end of our\r\n // path component\r\n matchedSlash = false;\r\n end = i + 1;\r\n }\r\n }\r\n if (end === -1) {\r\n return '';\r\n }\r\n return path.slice(start, end);\r\n },\r\n extname(path) {\r\n validateString(path, 'path');\r\n let startDot = -1;\r\n let startPart = 0;\r\n let end = -1;\r\n let matchedSlash = true;\r\n // Track the state of characters (if any) we see before our first dot and\r\n // after any path separator we find\r\n let preDotState = 0;\r\n for (let i = path.length - 1; i >= 0; --i) {\r\n const code = path.charCodeAt(i);\r\n if (code === CHAR_FORWARD_SLASH) {\r\n // If we reached a path separator that was not part of a set of path\r\n // separators at the end of the string, stop now\r\n if (!matchedSlash) {\r\n startPart = i + 1;\r\n break;\r\n }\r\n continue;\r\n }\r\n if (end === -1) {\r\n // We saw the first non-path separator, mark this as the end of our\r\n // extension\r\n matchedSlash = false;\r\n end = i + 1;\r\n }\r\n if (code === CHAR_DOT) {\r\n // If this is our first dot, mark it as the start of our extension\r\n if (startDot === -1) {\r\n startDot = i;\r\n }\r\n else if (preDotState !== 1) {\r\n preDotState = 1;\r\n }\r\n }\r\n else if (startDot !== -1) {\r\n // We saw a non-dot and non-path separator before our dot, so we should\r\n // have a good chance at having a non-empty extension\r\n preDotState = -1;\r\n }\r\n }\r\n if (startDot === -1 ||\r\n end === -1 ||\r\n // We saw a non-dot character immediately before the dot\r\n preDotState === 0 ||\r\n // The (right-most) trimmed path component is exactly '..'\r\n (preDotState === 1 &&\r\n startDot === end - 1 &&\r\n startDot === startPart + 1)) {\r\n return '';\r\n }\r\n return path.slice(startDot, end);\r\n },\r\n format: _format.bind(null, '/'),\r\n parse(path) {\r\n validateString(path, 'path');\r\n const ret = { root: '', dir: '', base: '', ext: '', name: '' };\r\n if (path.length === 0) {\r\n return ret;\r\n }\r\n const isAbsolute = path.charCodeAt(0) === CHAR_FORWARD_SLASH;\r\n let start;\r\n if (isAbsolute) {\r\n ret.root = '/';\r\n start = 1;\r\n }\r\n else {\r\n start = 0;\r\n }\r\n let startDot = -1;\r\n let startPart = 0;\r\n let end = -1;\r\n let matchedSlash = true;\r\n let i = path.length - 1;\r\n // Track the state of characters (if any) we see before our first dot and\r\n // after any path separator we find\r\n let preDotState = 0;\r\n // Get non-dir info\r\n for (; i >= start; --i) {\r\n const code = path.charCodeAt(i);\r\n if (code === CHAR_FORWARD_SLASH) {\r\n // If we reached a path separator that was not part of a set of path\r\n // separators at the end of the string, stop now\r\n if (!matchedSlash) {\r\n startPart = i + 1;\r\n break;\r\n }\r\n continue;\r\n }\r\n if (end === -1) {\r\n // We saw the first non-path separator, mark this as the end of our\r\n // extension\r\n matchedSlash = false;\r\n end = i + 1;\r\n }\r\n if (code === CHAR_DOT) {\r\n // If this is our first dot, mark it as the start of our extension\r\n if (startDot === -1) {\r\n startDot = i;\r\n }\r\n else if (preDotState !== 1) {\r\n preDotState = 1;\r\n }\r\n }\r\n else if (startDot !== -1) {\r\n // We saw a non-dot and non-path separator before our dot, so we should\r\n // have a good chance at having a non-empty extension\r\n preDotState = -1;\r\n }\r\n }\r\n if (end !== -1) {\r\n const start = startPart === 0 && isAbsolute ? 1 : startPart;\r\n if (startDot === -1 ||\r\n // We saw a non-dot character immediately before the dot\r\n preDotState === 0 ||\r\n // The (right-most) trimmed path component is exactly '..'\r\n (preDotState === 1 &&\r\n startDot === end - 1 &&\r\n startDot === startPart + 1)) {\r\n ret.base = ret.name = path.slice(start, end);\r\n }\r\n else {\r\n ret.name = path.slice(start, startDot);\r\n ret.base = path.slice(start, end);\r\n ret.ext = path.slice(startDot, end);\r\n }\r\n }\r\n if (startPart > 0) {\r\n ret.dir = path.slice(0, startPart - 1);\r\n }\r\n else if (isAbsolute) {\r\n ret.dir = '/';\r\n }\r\n return ret;\r\n },\r\n sep: '/',\r\n delimiter: ':',\r\n win32: null,\r\n posix: null\r\n};\r\nposix.win32 = win32.win32 = win32;\r\nposix.posix = win32.posix = posix;\r\nconst normalize = (_process_js__WEBPACK_IMPORTED_MODULE_0__.platform === 'win32' ? win32.normalize : posix.normalize);\r\nconst resolve = (_process_js__WEBPACK_IMPORTED_MODULE_0__.platform === 'win32' ? win32.resolve : posix.resolve);\r\nconst relative = (_process_js__WEBPACK_IMPORTED_MODULE_0__.platform === 'win32' ? win32.relative : posix.relative);\r\nconst dirname = (_process_js__WEBPACK_IMPORTED_MODULE_0__.platform === 'win32' ? win32.dirname : posix.dirname);\r\nconst basename = (_process_js__WEBPACK_IMPORTED_MODULE_0__.platform === 'win32' ? win32.basename : posix.basename);\r\nconst extname = (_process_js__WEBPACK_IMPORTED_MODULE_0__.platform === 'win32' ? win32.extname : posix.extname);\r\nconst sep = (_process_js__WEBPACK_IMPORTED_MODULE_0__.platform === 'win32' ? win32.sep : posix.sep);\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/base/common/path.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/base/common/platform.js":
|
||
/*!*******************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/base/common/platform.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 */ \"isElectronSandboxed\": () => (/* binding */ isElectronSandboxed),\n/* harmony export */ \"browserCodeLoadingCacheStrategy\": () => (/* binding */ browserCodeLoadingCacheStrategy),\n/* harmony export */ \"isPreferringBrowserCodeLoad\": () => (/* binding */ isPreferringBrowserCodeLoad),\n/* harmony export */ \"isWindows\": () => (/* binding */ isWindows),\n/* harmony export */ \"isMacintosh\": () => (/* binding */ isMacintosh),\n/* harmony export */ \"isLinux\": () => (/* binding */ isLinux),\n/* harmony export */ \"isNative\": () => (/* binding */ isNative),\n/* harmony export */ \"isWeb\": () => (/* binding */ isWeb),\n/* harmony export */ \"isIOS\": () => (/* binding */ isIOS),\n/* harmony export */ \"userAgent\": () => (/* binding */ userAgent),\n/* harmony export */ \"globals\": () => (/* binding */ globals),\n/* harmony export */ \"setImmediate\": () => (/* binding */ setImmediate),\n/* harmony export */ \"OS\": () => (/* binding */ OS),\n/* harmony export */ \"isLittleEndian\": () => (/* binding */ isLittleEndian)\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 _a;\r\nconst LANGUAGE_DEFAULT = 'en';\r\nlet _isWindows = false;\r\nlet _isMacintosh = false;\r\nlet _isLinux = false;\r\nlet _isLinuxSnap = false;\r\nlet _isNative = false;\r\nlet _isWeb = false;\r\nlet _isIOS = false;\r\nlet _locale = undefined;\r\nlet _language = LANGUAGE_DEFAULT;\r\nlet _translationsConfigFile = undefined;\r\nlet _userAgent = undefined;\r\nconst _globals = (typeof self === 'object' ? self : typeof __webpack_require__.g === 'object' ? __webpack_require__.g : {});\r\nlet nodeProcess = undefined;\r\nif (typeof process !== 'undefined') {\r\n // Native environment (non-sandboxed)\r\n nodeProcess = process;\r\n}\r\nelse if (typeof _globals.vscode !== 'undefined') {\r\n // Native environment (sandboxed)\r\n nodeProcess = _globals.vscode.process;\r\n}\r\nconst isElectronRenderer = typeof ((_a = nodeProcess === null || nodeProcess === void 0 ? void 0 : nodeProcess.versions) === null || _a === void 0 ? void 0 : _a.electron) === 'string' && nodeProcess.type === 'renderer';\r\nconst isElectronSandboxed = isElectronRenderer && (nodeProcess === null || nodeProcess === void 0 ? void 0 : nodeProcess.sandboxed);\r\nconst browserCodeLoadingCacheStrategy = (() => {\r\n // Always enabled when sandbox is enabled\r\n if (isElectronSandboxed) {\r\n return 'bypassHeatCheck';\r\n }\r\n // Otherwise, only enabled conditionally\r\n const env = nodeProcess === null || nodeProcess === void 0 ? void 0 : nodeProcess.env['ENABLE_VSCODE_BROWSER_CODE_LOADING'];\r\n if (typeof env === 'string') {\r\n if (env === 'none' || env === 'code' || env === 'bypassHeatCheck' || env === 'bypassHeatCheckAndEagerCompile') {\r\n return env;\r\n }\r\n return 'bypassHeatCheck';\r\n }\r\n return undefined;\r\n})();\r\nconst isPreferringBrowserCodeLoad = typeof browserCodeLoadingCacheStrategy === 'string';\r\n// Web environment\r\nif (typeof navigator === 'object' && !isElectronRenderer) {\r\n _userAgent = navigator.userAgent;\r\n _isWindows = _userAgent.indexOf('Windows') >= 0;\r\n _isMacintosh = _userAgent.indexOf('Macintosh') >= 0;\r\n _isIOS = (_userAgent.indexOf('Macintosh') >= 0 || _userAgent.indexOf('iPad') >= 0 || _userAgent.indexOf('iPhone') >= 0) && !!navigator.maxTouchPoints && navigator.maxTouchPoints > 0;\r\n _isLinux = _userAgent.indexOf('Linux') >= 0;\r\n _isWeb = true;\r\n _locale = navigator.language;\r\n _language = _locale;\r\n}\r\n// Native environment\r\nelse if (typeof nodeProcess === 'object') {\r\n _isWindows = (nodeProcess.platform === 'win32');\r\n _isMacintosh = (nodeProcess.platform === 'darwin');\r\n _isLinux = (nodeProcess.platform === 'linux');\r\n _isLinuxSnap = _isLinux && !!nodeProcess.env['SNAP'] && !!nodeProcess.env['SNAP_REVISION'];\r\n _locale = LANGUAGE_DEFAULT;\r\n _language = LANGUAGE_DEFAULT;\r\n const rawNlsConfig = nodeProcess.env['VSCODE_NLS_CONFIG'];\r\n if (rawNlsConfig) {\r\n try {\r\n const nlsConfig = JSON.parse(rawNlsConfig);\r\n const resolved = nlsConfig.availableLanguages['*'];\r\n _locale = nlsConfig.locale;\r\n // VSCode's default language is 'en'\r\n _language = resolved ? resolved : LANGUAGE_DEFAULT;\r\n _translationsConfigFile = nlsConfig._translationsConfigFile;\r\n }\r\n catch (e) {\r\n }\r\n }\r\n _isNative = true;\r\n}\r\n// Unknown environment\r\nelse {\r\n console.error('Unable to resolve platform.');\r\n}\r\nlet _platform = 0 /* Web */;\r\nif (_isMacintosh) {\r\n _platform = 1 /* Mac */;\r\n}\r\nelse if (_isWindows) {\r\n _platform = 3 /* Windows */;\r\n}\r\nelse if (_isLinux) {\r\n _platform = 2 /* Linux */;\r\n}\r\nconst isWindows = _isWindows;\r\nconst isMacintosh = _isMacintosh;\r\nconst isLinux = _isLinux;\r\nconst isNative = _isNative;\r\nconst isWeb = _isWeb;\r\nconst isIOS = _isIOS;\r\nconst userAgent = _userAgent;\r\nconst globals = _globals;\r\nconst setImmediate = (function defineSetImmediate() {\r\n if (globals.setImmediate) {\r\n return globals.setImmediate.bind(globals);\r\n }\r\n if (typeof globals.postMessage === 'function' && !globals.importScripts) {\r\n let pending = [];\r\n globals.addEventListener('message', (e) => {\r\n if (e.data && e.data.vscodeSetImmediateId) {\r\n for (let i = 0, len = pending.length; i < len; i++) {\r\n const candidate = pending[i];\r\n if (candidate.id === e.data.vscodeSetImmediateId) {\r\n pending.splice(i, 1);\r\n candidate.callback();\r\n return;\r\n }\r\n }\r\n }\r\n });\r\n let lastId = 0;\r\n return (callback) => {\r\n const myId = ++lastId;\r\n pending.push({\r\n id: myId,\r\n callback: callback\r\n });\r\n globals.postMessage({ vscodeSetImmediateId: myId }, '*');\r\n };\r\n }\r\n if (nodeProcess && typeof nodeProcess.nextTick === 'function') {\r\n return nodeProcess.nextTick.bind(nodeProcess);\r\n }\r\n const _promise = Promise.resolve();\r\n return (callback) => _promise.then(callback);\r\n})();\r\nconst OS = (_isMacintosh || _isIOS ? 2 /* Macintosh */ : (_isWindows ? 1 /* Windows */ : 3 /* Linux */));\r\nlet _isLittleEndian = true;\r\nlet _isLittleEndianComputed = false;\r\nfunction isLittleEndian() {\r\n if (!_isLittleEndianComputed) {\r\n _isLittleEndianComputed = true;\r\n const test = new Uint8Array(2);\r\n test[0] = 1;\r\n test[1] = 2;\r\n const view = new Uint16Array(test.buffer);\r\n _isLittleEndian = (view[0] === (2 << 8) + 1);\r\n }\r\n return _isLittleEndian;\r\n}\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/base/common/platform.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/base/common/process.js":
|
||
/*!******************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/base/common/process.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 */ \"cwd\": () => (/* binding */ cwd),\n/* harmony export */ \"env\": () => (/* binding */ env),\n/* harmony export */ \"platform\": () => (/* binding */ platform)\n/* harmony export */ });\n/* harmony import */ var _platform_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./platform.js */ \"./node_modules/monaco-editor/esm/vs/base/common/platform.js\");\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\n\r\nlet safeProcess;\r\n// Native node.js environment\r\nif (typeof process !== 'undefined') {\r\n safeProcess = process;\r\n}\r\n// Native sandbox environment\r\nelse if (typeof _platform_js__WEBPACK_IMPORTED_MODULE_0__.globals.vscode !== 'undefined') {\r\n safeProcess = {\r\n // Supported\r\n get platform() { return _platform_js__WEBPACK_IMPORTED_MODULE_0__.globals.vscode.process.platform; },\r\n get env() { return _platform_js__WEBPACK_IMPORTED_MODULE_0__.globals.vscode.process.env; },\r\n nextTick(callback) { return (0,_platform_js__WEBPACK_IMPORTED_MODULE_0__.setImmediate)(callback); },\r\n // Unsupported\r\n cwd() { return _platform_js__WEBPACK_IMPORTED_MODULE_0__.globals.vscode.process.env.VSCODE_CWD || _platform_js__WEBPACK_IMPORTED_MODULE_0__.globals.vscode.process.execPath.substr(0, _platform_js__WEBPACK_IMPORTED_MODULE_0__.globals.vscode.process.execPath.lastIndexOf(_platform_js__WEBPACK_IMPORTED_MODULE_0__.globals.vscode.process.platform === 'win32' ? '\\\\' : '/')); }\r\n };\r\n}\r\n// Web environment\r\nelse {\r\n safeProcess = {\r\n // Supported\r\n get platform() { return _platform_js__WEBPACK_IMPORTED_MODULE_0__.isWindows ? 'win32' : _platform_js__WEBPACK_IMPORTED_MODULE_0__.isMacintosh ? 'darwin' : 'linux'; },\r\n nextTick(callback) { return (0,_platform_js__WEBPACK_IMPORTED_MODULE_0__.setImmediate)(callback); },\r\n // Unsupported\r\n get env() { return Object.create(null); },\r\n cwd() { return '/'; }\r\n };\r\n}\r\nconst cwd = safeProcess.cwd;\r\nconst env = safeProcess.env;\r\nconst platform = safeProcess.platform;\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/base/common/process.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/base/common/stopwatch.js":
|
||
/*!********************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/base/common/stopwatch.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 */ \"StopWatch\": () => (/* binding */ StopWatch)\n/* harmony export */ });\n/* harmony import */ var _platform_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./platform.js */ \"./node_modules/monaco-editor/esm/vs/base/common/platform.js\");\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\n\r\nconst hasPerformanceNow = (_platform_js__WEBPACK_IMPORTED_MODULE_0__.globals.performance && typeof _platform_js__WEBPACK_IMPORTED_MODULE_0__.globals.performance.now === 'function');\r\nclass StopWatch {\r\n constructor(highResolution) {\r\n this._highResolution = hasPerformanceNow && highResolution;\r\n this._startTime = this._now();\r\n this._stopTime = -1;\r\n }\r\n static create(highResolution = true) {\r\n return new StopWatch(highResolution);\r\n }\r\n stop() {\r\n this._stopTime = this._now();\r\n }\r\n elapsed() {\r\n if (this._stopTime !== -1) {\r\n return this._stopTime - this._startTime;\r\n }\r\n return this._now() - this._startTime;\r\n }\r\n _now() {\r\n return this._highResolution ? _platform_js__WEBPACK_IMPORTED_MODULE_0__.globals.performance.now() : Date.now();\r\n }\r\n}\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/base/common/stopwatch.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/base/common/strings.js":
|
||
/*!******************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/base/common/strings.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 */ \"isFalsyOrWhitespace\": () => (/* binding */ isFalsyOrWhitespace),\n/* harmony export */ \"format\": () => (/* binding */ format),\n/* harmony export */ \"escape\": () => (/* binding */ escape),\n/* harmony export */ \"escapeRegExpCharacters\": () => (/* binding */ escapeRegExpCharacters),\n/* harmony export */ \"trim\": () => (/* binding */ trim),\n/* harmony export */ \"ltrim\": () => (/* binding */ ltrim),\n/* harmony export */ \"rtrim\": () => (/* binding */ rtrim),\n/* harmony export */ \"convertSimple2RegExpPattern\": () => (/* binding */ convertSimple2RegExpPattern),\n/* harmony export */ \"stripWildcards\": () => (/* binding */ stripWildcards),\n/* harmony export */ \"createRegExp\": () => (/* binding */ createRegExp),\n/* harmony export */ \"regExpLeadsToEndlessLoop\": () => (/* binding */ regExpLeadsToEndlessLoop),\n/* harmony export */ \"regExpFlags\": () => (/* binding */ regExpFlags),\n/* harmony export */ \"splitLines\": () => (/* binding */ splitLines),\n/* harmony export */ \"firstNonWhitespaceIndex\": () => (/* binding */ firstNonWhitespaceIndex),\n/* harmony export */ \"getLeadingWhitespace\": () => (/* binding */ getLeadingWhitespace),\n/* harmony export */ \"lastNonWhitespaceIndex\": () => (/* binding */ lastNonWhitespaceIndex),\n/* harmony export */ \"compare\": () => (/* binding */ compare),\n/* harmony export */ \"compareSubstring\": () => (/* binding */ compareSubstring),\n/* harmony export */ \"compareIgnoreCase\": () => (/* binding */ compareIgnoreCase),\n/* harmony export */ \"compareSubstringIgnoreCase\": () => (/* binding */ compareSubstringIgnoreCase),\n/* harmony export */ \"isLowerAsciiLetter\": () => (/* binding */ isLowerAsciiLetter),\n/* harmony export */ \"isUpperAsciiLetter\": () => (/* binding */ isUpperAsciiLetter),\n/* harmony export */ \"equalsIgnoreCase\": () => (/* binding */ equalsIgnoreCase),\n/* harmony export */ \"startsWithIgnoreCase\": () => (/* binding */ startsWithIgnoreCase),\n/* harmony export */ \"commonPrefixLength\": () => (/* binding */ commonPrefixLength),\n/* harmony export */ \"commonSuffixLength\": () => (/* binding */ commonSuffixLength),\n/* harmony export */ \"isHighSurrogate\": () => (/* binding */ isHighSurrogate),\n/* harmony export */ \"isLowSurrogate\": () => (/* binding */ isLowSurrogate),\n/* harmony export */ \"computeCodePoint\": () => (/* binding */ computeCodePoint),\n/* harmony export */ \"getNextCodePoint\": () => (/* binding */ getNextCodePoint),\n/* harmony export */ \"nextCharLength\": () => (/* binding */ nextCharLength),\n/* harmony export */ \"prevCharLength\": () => (/* binding */ prevCharLength),\n/* harmony export */ \"decodeUTF8\": () => (/* binding */ decodeUTF8),\n/* harmony export */ \"containsRTL\": () => (/* binding */ containsRTL),\n/* harmony export */ \"containsEmoji\": () => (/* binding */ containsEmoji),\n/* harmony export */ \"isBasicASCII\": () => (/* binding */ isBasicASCII),\n/* harmony export */ \"UNUSUAL_LINE_TERMINATORS\": () => (/* binding */ UNUSUAL_LINE_TERMINATORS),\n/* harmony export */ \"containsUnusualLineTerminators\": () => (/* binding */ containsUnusualLineTerminators),\n/* harmony export */ \"containsFullWidthCharacter\": () => (/* binding */ containsFullWidthCharacter),\n/* harmony export */ \"isFullWidthCharacter\": () => (/* binding */ isFullWidthCharacter),\n/* harmony export */ \"isEmojiImprecise\": () => (/* binding */ isEmojiImprecise),\n/* harmony export */ \"UTF8_BOM_CHARACTER\": () => (/* binding */ UTF8_BOM_CHARACTER),\n/* harmony export */ \"startsWithUTF8BOM\": () => (/* binding */ startsWithUTF8BOM),\n/* harmony export */ \"containsUppercaseCharacter\": () => (/* binding */ containsUppercaseCharacter),\n/* harmony export */ \"singleLetterHash\": () => (/* binding */ singleLetterHash),\n/* harmony export */ \"getGraphemeBreakType\": () => (/* binding */ getGraphemeBreakType),\n/* harmony export */ \"breakBetweenGraphemeBreakType\": () => (/* binding */ breakBetweenGraphemeBreakType)\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\nfunction isFalsyOrWhitespace(str) {\r\n if (!str || typeof str !== 'string') {\r\n return true;\r\n }\r\n return str.trim().length === 0;\r\n}\r\nconst _formatRegexp = /{(\\d+)}/g;\r\n/**\r\n * Helper to produce a string with a variable number of arguments. Insert variable segments\r\n * into the string using the {n} notation where N is the index of the argument following the string.\r\n * @param value string to which formatting is applied\r\n * @param args replacements for {n}-entries\r\n */\r\nfunction format(value, ...args) {\r\n if (args.length === 0) {\r\n return value;\r\n }\r\n return value.replace(_formatRegexp, function (match, group) {\r\n const idx = parseInt(group, 10);\r\n return isNaN(idx) || idx < 0 || idx >= args.length ?\r\n match :\r\n args[idx];\r\n });\r\n}\r\n/**\r\n * Converts HTML characters inside the string to use entities instead. Makes the string safe from\r\n * being used e.g. in HTMLElement.innerHTML.\r\n */\r\nfunction escape(html) {\r\n return html.replace(/[<>&]/g, function (match) {\r\n switch (match) {\r\n case '<': return '<';\r\n case '>': return '>';\r\n case '&': return '&';\r\n default: return match;\r\n }\r\n });\r\n}\r\n/**\r\n * Escapes regular expression characters in a given string\r\n */\r\nfunction escapeRegExpCharacters(value) {\r\n return value.replace(/[\\\\\\{\\}\\*\\+\\?\\|\\^\\$\\.\\[\\]\\(\\)]/g, '\\\\$&');\r\n}\r\n/**\r\n * Removes all occurrences of needle from the beginning and end of haystack.\r\n * @param haystack string to trim\r\n * @param needle the thing to trim (default is a blank)\r\n */\r\nfunction trim(haystack, needle = ' ') {\r\n const trimmed = ltrim(haystack, needle);\r\n return rtrim(trimmed, needle);\r\n}\r\n/**\r\n * Removes all occurrences of needle from the beginning of haystack.\r\n * @param haystack string to trim\r\n * @param needle the thing to trim\r\n */\r\nfunction ltrim(haystack, needle) {\r\n if (!haystack || !needle) {\r\n return haystack;\r\n }\r\n const needleLen = needle.length;\r\n if (needleLen === 0 || haystack.length === 0) {\r\n return haystack;\r\n }\r\n let offset = 0;\r\n while (haystack.indexOf(needle, offset) === offset) {\r\n offset = offset + needleLen;\r\n }\r\n return haystack.substring(offset);\r\n}\r\n/**\r\n * Removes all occurrences of needle from the end of haystack.\r\n * @param haystack string to trim\r\n * @param needle the thing to trim\r\n */\r\nfunction rtrim(haystack, needle) {\r\n if (!haystack || !needle) {\r\n return haystack;\r\n }\r\n const needleLen = needle.length, haystackLen = haystack.length;\r\n if (needleLen === 0 || haystackLen === 0) {\r\n return haystack;\r\n }\r\n let offset = haystackLen, idx = -1;\r\n while (true) {\r\n idx = haystack.lastIndexOf(needle, offset - 1);\r\n if (idx === -1 || idx + needleLen !== offset) {\r\n break;\r\n }\r\n if (idx === 0) {\r\n return '';\r\n }\r\n offset = idx;\r\n }\r\n return haystack.substring(0, offset);\r\n}\r\nfunction convertSimple2RegExpPattern(pattern) {\r\n return pattern.replace(/[\\-\\\\\\{\\}\\+\\?\\|\\^\\$\\.\\,\\[\\]\\(\\)\\#\\s]/g, '\\\\$&').replace(/[\\*]/g, '.*');\r\n}\r\nfunction stripWildcards(pattern) {\r\n return pattern.replace(/\\*/g, '');\r\n}\r\nfunction createRegExp(searchString, isRegex, options = {}) {\r\n if (!searchString) {\r\n throw new Error('Cannot create regex from empty string');\r\n }\r\n if (!isRegex) {\r\n searchString = escapeRegExpCharacters(searchString);\r\n }\r\n if (options.wholeWord) {\r\n if (!/\\B/.test(searchString.charAt(0))) {\r\n searchString = '\\\\b' + searchString;\r\n }\r\n if (!/\\B/.test(searchString.charAt(searchString.length - 1))) {\r\n searchString = searchString + '\\\\b';\r\n }\r\n }\r\n let modifiers = '';\r\n if (options.global) {\r\n modifiers += 'g';\r\n }\r\n if (!options.matchCase) {\r\n modifiers += 'i';\r\n }\r\n if (options.multiline) {\r\n modifiers += 'm';\r\n }\r\n if (options.unicode) {\r\n modifiers += 'u';\r\n }\r\n return new RegExp(searchString, modifiers);\r\n}\r\nfunction regExpLeadsToEndlessLoop(regexp) {\r\n // Exit early if it's one of these special cases which are meant to match\r\n // against an empty string\r\n if (regexp.source === '^' || regexp.source === '^$' || regexp.source === '$' || regexp.source === '^\\\\s*$') {\r\n return false;\r\n }\r\n // We check against an empty string. If the regular expression doesn't advance\r\n // (e.g. ends in an endless loop) it will match an empty string.\r\n const match = regexp.exec('');\r\n return !!(match && regexp.lastIndex === 0);\r\n}\r\nfunction regExpFlags(regexp) {\r\n return (regexp.global ? 'g' : '')\r\n + (regexp.ignoreCase ? 'i' : '')\r\n + (regexp.multiline ? 'm' : '')\r\n + (regexp /* standalone editor compilation */.unicode ? 'u' : '');\r\n}\r\nfunction splitLines(str) {\r\n return str.split(/\\r\\n|\\r|\\n/);\r\n}\r\n/**\r\n * Returns first index of the string that is not whitespace.\r\n * If string is empty or contains only whitespaces, returns -1\r\n */\r\nfunction firstNonWhitespaceIndex(str) {\r\n for (let i = 0, len = str.length; i < len; i++) {\r\n const chCode = str.charCodeAt(i);\r\n if (chCode !== 32 /* Space */ && chCode !== 9 /* Tab */) {\r\n return i;\r\n }\r\n }\r\n return -1;\r\n}\r\n/**\r\n * Returns the leading whitespace of the string.\r\n * If the string contains only whitespaces, returns entire string\r\n */\r\nfunction getLeadingWhitespace(str, start = 0, end = str.length) {\r\n for (let i = start; i < end; i++) {\r\n const chCode = str.charCodeAt(i);\r\n if (chCode !== 32 /* Space */ && chCode !== 9 /* Tab */) {\r\n return str.substring(start, i);\r\n }\r\n }\r\n return str.substring(start, end);\r\n}\r\n/**\r\n * Returns last index of the string that is not whitespace.\r\n * If string is empty or contains only whitespaces, returns -1\r\n */\r\nfunction lastNonWhitespaceIndex(str, startIndex = str.length - 1) {\r\n for (let i = startIndex; i >= 0; i--) {\r\n const chCode = str.charCodeAt(i);\r\n if (chCode !== 32 /* Space */ && chCode !== 9 /* Tab */) {\r\n return i;\r\n }\r\n }\r\n return -1;\r\n}\r\nfunction compare(a, b) {\r\n if (a < b) {\r\n return -1;\r\n }\r\n else if (a > b) {\r\n return 1;\r\n }\r\n else {\r\n return 0;\r\n }\r\n}\r\nfunction compareSubstring(a, b, aStart = 0, aEnd = a.length, bStart = 0, bEnd = b.length) {\r\n for (; aStart < aEnd && bStart < bEnd; aStart++, bStart++) {\r\n let codeA = a.charCodeAt(aStart);\r\n let codeB = b.charCodeAt(bStart);\r\n if (codeA < codeB) {\r\n return -1;\r\n }\r\n else if (codeA > codeB) {\r\n return 1;\r\n }\r\n }\r\n const aLen = aEnd - aStart;\r\n const bLen = bEnd - bStart;\r\n if (aLen < bLen) {\r\n return -1;\r\n }\r\n else if (aLen > bLen) {\r\n return 1;\r\n }\r\n return 0;\r\n}\r\nfunction compareIgnoreCase(a, b) {\r\n return compareSubstringIgnoreCase(a, b, 0, a.length, 0, b.length);\r\n}\r\nfunction compareSubstringIgnoreCase(a, b, aStart = 0, aEnd = a.length, bStart = 0, bEnd = b.length) {\r\n for (; aStart < aEnd && bStart < bEnd; aStart++, bStart++) {\r\n let codeA = a.charCodeAt(aStart);\r\n let codeB = b.charCodeAt(bStart);\r\n if (codeA === codeB) {\r\n // equal\r\n continue;\r\n }\r\n const diff = codeA - codeB;\r\n if (diff === 32 && isUpperAsciiLetter(codeB)) { //codeB =[65-90] && codeA =[97-122]\r\n continue;\r\n }\r\n else if (diff === -32 && isUpperAsciiLetter(codeA)) { //codeB =[97-122] && codeA =[65-90]\r\n continue;\r\n }\r\n if (isLowerAsciiLetter(codeA) && isLowerAsciiLetter(codeB)) {\r\n //\r\n return diff;\r\n }\r\n else {\r\n return compareSubstring(a.toLowerCase(), b.toLowerCase(), aStart, aEnd, bStart, bEnd);\r\n }\r\n }\r\n const aLen = aEnd - aStart;\r\n const bLen = bEnd - bStart;\r\n if (aLen < bLen) {\r\n return -1;\r\n }\r\n else if (aLen > bLen) {\r\n return 1;\r\n }\r\n return 0;\r\n}\r\nfunction isLowerAsciiLetter(code) {\r\n return code >= 97 /* a */ && code <= 122 /* z */;\r\n}\r\nfunction isUpperAsciiLetter(code) {\r\n return code >= 65 /* A */ && code <= 90 /* Z */;\r\n}\r\nfunction isAsciiLetter(code) {\r\n return isLowerAsciiLetter(code) || isUpperAsciiLetter(code);\r\n}\r\nfunction equalsIgnoreCase(a, b) {\r\n return a.length === b.length && doEqualsIgnoreCase(a, b);\r\n}\r\nfunction doEqualsIgnoreCase(a, b, stopAt = a.length) {\r\n for (let i = 0; i < stopAt; i++) {\r\n const codeA = a.charCodeAt(i);\r\n const codeB = b.charCodeAt(i);\r\n if (codeA === codeB) {\r\n continue;\r\n }\r\n // a-z A-Z\r\n if (isAsciiLetter(codeA) && isAsciiLetter(codeB)) {\r\n const diff = Math.abs(codeA - codeB);\r\n if (diff !== 0 && diff !== 32) {\r\n return false;\r\n }\r\n }\r\n // Any other charcode\r\n else {\r\n if (String.fromCharCode(codeA).toLowerCase() !== String.fromCharCode(codeB).toLowerCase()) {\r\n return false;\r\n }\r\n }\r\n }\r\n return true;\r\n}\r\nfunction startsWithIgnoreCase(str, candidate) {\r\n const candidateLength = candidate.length;\r\n if (candidate.length > str.length) {\r\n return false;\r\n }\r\n return doEqualsIgnoreCase(str, candidate, candidateLength);\r\n}\r\n/**\r\n * @returns the length of the common prefix of the two strings.\r\n */\r\nfunction commonPrefixLength(a, b) {\r\n let i, len = Math.min(a.length, b.length);\r\n for (i = 0; i < len; i++) {\r\n if (a.charCodeAt(i) !== b.charCodeAt(i)) {\r\n return i;\r\n }\r\n }\r\n return len;\r\n}\r\n/**\r\n * @returns the length of the common suffix of the two strings.\r\n */\r\nfunction commonSuffixLength(a, b) {\r\n let i, len = Math.min(a.length, b.length);\r\n const aLastIndex = a.length - 1;\r\n const bLastIndex = b.length - 1;\r\n for (i = 0; i < len; i++) {\r\n if (a.charCodeAt(aLastIndex - i) !== b.charCodeAt(bLastIndex - i)) {\r\n return i;\r\n }\r\n }\r\n return len;\r\n}\r\n/**\r\n * See http://en.wikipedia.org/wiki/Surrogate_pair\r\n */\r\nfunction isHighSurrogate(charCode) {\r\n return (0xD800 <= charCode && charCode <= 0xDBFF);\r\n}\r\n/**\r\n * See http://en.wikipedia.org/wiki/Surrogate_pair\r\n */\r\nfunction isLowSurrogate(charCode) {\r\n return (0xDC00 <= charCode && charCode <= 0xDFFF);\r\n}\r\n/**\r\n * See http://en.wikipedia.org/wiki/Surrogate_pair\r\n */\r\nfunction computeCodePoint(highSurrogate, lowSurrogate) {\r\n return ((highSurrogate - 0xD800) << 10) + (lowSurrogate - 0xDC00) + 0x10000;\r\n}\r\n/**\r\n * get the code point that begins at offset `offset`\r\n */\r\nfunction getNextCodePoint(str, len, offset) {\r\n const charCode = str.charCodeAt(offset);\r\n if (isHighSurrogate(charCode) && offset + 1 < len) {\r\n const nextCharCode = str.charCodeAt(offset + 1);\r\n if (isLowSurrogate(nextCharCode)) {\r\n return computeCodePoint(charCode, nextCharCode);\r\n }\r\n }\r\n return charCode;\r\n}\r\n/**\r\n * get the code point that ends right before offset `offset`\r\n */\r\nfunction getPrevCodePoint(str, offset) {\r\n const charCode = str.charCodeAt(offset - 1);\r\n if (isLowSurrogate(charCode) && offset > 1) {\r\n const prevCharCode = str.charCodeAt(offset - 2);\r\n if (isHighSurrogate(prevCharCode)) {\r\n return computeCodePoint(prevCharCode, charCode);\r\n }\r\n }\r\n return charCode;\r\n}\r\nfunction nextCharLength(str, offset) {\r\n const graphemeBreakTree = GraphemeBreakTree.getInstance();\r\n const initialOffset = offset;\r\n const len = str.length;\r\n const initialCodePoint = getNextCodePoint(str, len, offset);\r\n offset += (initialCodePoint >= 65536 /* UNICODE_SUPPLEMENTARY_PLANE_BEGIN */ ? 2 : 1);\r\n let graphemeBreakType = graphemeBreakTree.getGraphemeBreakType(initialCodePoint);\r\n while (offset < len) {\r\n const nextCodePoint = getNextCodePoint(str, len, offset);\r\n const nextGraphemeBreakType = graphemeBreakTree.getGraphemeBreakType(nextCodePoint);\r\n if (breakBetweenGraphemeBreakType(graphemeBreakType, nextGraphemeBreakType)) {\r\n break;\r\n }\r\n offset += (nextCodePoint >= 65536 /* UNICODE_SUPPLEMENTARY_PLANE_BEGIN */ ? 2 : 1);\r\n graphemeBreakType = nextGraphemeBreakType;\r\n }\r\n return (offset - initialOffset);\r\n}\r\nfunction prevCharLength(str, offset) {\r\n const graphemeBreakTree = GraphemeBreakTree.getInstance();\r\n const initialOffset = offset;\r\n const initialCodePoint = getPrevCodePoint(str, offset);\r\n offset -= (initialCodePoint >= 65536 /* UNICODE_SUPPLEMENTARY_PLANE_BEGIN */ ? 2 : 1);\r\n let graphemeBreakType = graphemeBreakTree.getGraphemeBreakType(initialCodePoint);\r\n while (offset > 0) {\r\n const prevCodePoint = getPrevCodePoint(str, offset);\r\n const prevGraphemeBreakType = graphemeBreakTree.getGraphemeBreakType(prevCodePoint);\r\n if (breakBetweenGraphemeBreakType(prevGraphemeBreakType, graphemeBreakType)) {\r\n break;\r\n }\r\n offset -= (prevCodePoint >= 65536 /* UNICODE_SUPPLEMENTARY_PLANE_BEGIN */ ? 2 : 1);\r\n graphemeBreakType = prevGraphemeBreakType;\r\n }\r\n return (initialOffset - offset);\r\n}\r\n/**\r\n * A manual decoding of a UTF8 string.\r\n * Use only in environments which do not offer native conversion methods!\r\n */\r\nfunction decodeUTF8(buffer) {\r\n // https://en.wikipedia.org/wiki/UTF-8\r\n const len = buffer.byteLength;\r\n const result = [];\r\n let offset = 0;\r\n while (offset < len) {\r\n const v0 = buffer[offset];\r\n let codePoint;\r\n if (v0 >= 0b11110000 && offset + 3 < len) {\r\n // 4 bytes\r\n codePoint = ((((buffer[offset++] & 0b00000111) << 18) >>> 0)\r\n | (((buffer[offset++] & 0b00111111) << 12) >>> 0)\r\n | (((buffer[offset++] & 0b00111111) << 6) >>> 0)\r\n | (((buffer[offset++] & 0b00111111) << 0) >>> 0));\r\n }\r\n else if (v0 >= 0b11100000 && offset + 2 < len) {\r\n // 3 bytes\r\n codePoint = ((((buffer[offset++] & 0b00001111) << 12) >>> 0)\r\n | (((buffer[offset++] & 0b00111111) << 6) >>> 0)\r\n | (((buffer[offset++] & 0b00111111) << 0) >>> 0));\r\n }\r\n else if (v0 >= 0b11000000 && offset + 1 < len) {\r\n // 2 bytes\r\n codePoint = ((((buffer[offset++] & 0b00011111) << 6) >>> 0)\r\n | (((buffer[offset++] & 0b00111111) << 0) >>> 0));\r\n }\r\n else {\r\n // 1 byte\r\n codePoint = buffer[offset++];\r\n }\r\n if ((codePoint >= 0 && codePoint <= 0xD7FF) || (codePoint >= 0xE000 && codePoint <= 0xFFFF)) {\r\n // Basic Multilingual Plane\r\n result.push(String.fromCharCode(codePoint));\r\n }\r\n else if (codePoint >= 0x010000 && codePoint <= 0x10FFFF) {\r\n // Supplementary Planes\r\n const uPrime = codePoint - 0x10000;\r\n const w1 = 0xD800 + ((uPrime & 0b11111111110000000000) >>> 10);\r\n const w2 = 0xDC00 + ((uPrime & 0b00000000001111111111) >>> 0);\r\n result.push(String.fromCharCode(w1));\r\n result.push(String.fromCharCode(w2));\r\n }\r\n else {\r\n // illegal code point\r\n result.push(String.fromCharCode(0xFFFD));\r\n }\r\n }\r\n return result.join('');\r\n}\r\n/**\r\n * Generated using https://github.com/alexdima/unicode-utils/blob/master/generate-rtl-test.js\r\n */\r\nconst CONTAINS_RTL = /(?:[\\u05BE\\u05C0\\u05C3\\u05C6\\u05D0-\\u05F4\\u0608\\u060B\\u060D\\u061B-\\u064A\\u066D-\\u066F\\u0671-\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1-\\u07EA\\u07F4\\u07F5\\u07FA-\\u0815\\u081A\\u0824\\u0828\\u0830-\\u0858\\u085E-\\u08BD\\u200F\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFD3D\\uFD50-\\uFDFC\\uFE70-\\uFEFC]|\\uD802[\\uDC00-\\uDD1B\\uDD20-\\uDE00\\uDE10-\\uDE33\\uDE40-\\uDEE4\\uDEEB-\\uDF35\\uDF40-\\uDFFF]|\\uD803[\\uDC00-\\uDCFF]|\\uD83A[\\uDC00-\\uDCCF\\uDD00-\\uDD43\\uDD50-\\uDFFF]|\\uD83B[\\uDC00-\\uDEBB])/;\r\n/**\r\n * Returns true if `str` contains any Unicode character that is classified as \"R\" or \"AL\".\r\n */\r\nfunction containsRTL(str) {\r\n return CONTAINS_RTL.test(str);\r\n}\r\n/**\r\n * Generated using https://github.com/alexdima/unicode-utils/blob/master/generate-emoji-test.js\r\n */\r\nconst CONTAINS_EMOJI = /(?:[\\u231A\\u231B\\u23F0\\u23F3\\u2600-\\u27BF\\u2B50\\u2B55]|\\uD83C[\\uDDE6-\\uDDFF\\uDF00-\\uDFFF]|\\uD83D[\\uDC00-\\uDE4F\\uDE80-\\uDEFC\\uDFE0-\\uDFEB]|\\uD83E[\\uDD00-\\uDDFF\\uDE70-\\uDED6])/;\r\nfunction containsEmoji(str) {\r\n return CONTAINS_EMOJI.test(str);\r\n}\r\nconst IS_BASIC_ASCII = /^[\\t\\n\\r\\x20-\\x7E]*$/;\r\n/**\r\n * Returns true if `str` contains only basic ASCII characters in the range 32 - 126 (including 32 and 126) or \\n, \\r, \\t\r\n */\r\nfunction isBasicASCII(str) {\r\n return IS_BASIC_ASCII.test(str);\r\n}\r\nconst UNUSUAL_LINE_TERMINATORS = /[\\u2028\\u2029]/; // LINE SEPARATOR (LS) or PARAGRAPH SEPARATOR (PS)\r\n/**\r\n * Returns true if `str` contains unusual line terminators, like LS or PS\r\n */\r\nfunction containsUnusualLineTerminators(str) {\r\n return UNUSUAL_LINE_TERMINATORS.test(str);\r\n}\r\nfunction containsFullWidthCharacter(str) {\r\n for (let i = 0, len = str.length; i < len; i++) {\r\n if (isFullWidthCharacter(str.charCodeAt(i))) {\r\n return true;\r\n }\r\n }\r\n return false;\r\n}\r\nfunction isFullWidthCharacter(charCode) {\r\n // Do a cheap trick to better support wrapping of wide characters, treat them as 2 columns\r\n // http://jrgraphix.net/research/unicode_blocks.php\r\n // 2E80 — 2EFF CJK Radicals Supplement\r\n // 2F00 — 2FDF Kangxi Radicals\r\n // 2FF0 — 2FFF Ideographic Description Characters\r\n // 3000 — 303F CJK Symbols and Punctuation\r\n // 3040 — 309F Hiragana\r\n // 30A0 — 30FF Katakana\r\n // 3100 — 312F Bopomofo\r\n // 3130 — 318F Hangul Compatibility Jamo\r\n // 3190 — 319F Kanbun\r\n // 31A0 — 31BF Bopomofo Extended\r\n // 31F0 — 31FF Katakana Phonetic Extensions\r\n // 3200 — 32FF Enclosed CJK Letters and Months\r\n // 3300 — 33FF CJK Compatibility\r\n // 3400 — 4DBF CJK Unified Ideographs Extension A\r\n // 4DC0 — 4DFF Yijing Hexagram Symbols\r\n // 4E00 — 9FFF CJK Unified Ideographs\r\n // A000 — A48F Yi Syllables\r\n // A490 — A4CF Yi Radicals\r\n // AC00 — D7AF Hangul Syllables\r\n // [IGNORE] D800 — DB7F High Surrogates\r\n // [IGNORE] DB80 — DBFF High Private Use Surrogates\r\n // [IGNORE] DC00 — DFFF Low Surrogates\r\n // [IGNORE] E000 — F8FF Private Use Area\r\n // F900 — FAFF CJK Compatibility Ideographs\r\n // [IGNORE] FB00 — FB4F Alphabetic Presentation Forms\r\n // [IGNORE] FB50 — FDFF Arabic Presentation Forms-A\r\n // [IGNORE] FE00 — FE0F Variation Selectors\r\n // [IGNORE] FE20 — FE2F Combining Half Marks\r\n // [IGNORE] FE30 — FE4F CJK Compatibility Forms\r\n // [IGNORE] FE50 — FE6F Small Form Variants\r\n // [IGNORE] FE70 — FEFF Arabic Presentation Forms-B\r\n // FF00 — FFEF Halfwidth and Fullwidth Forms\r\n // [https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms]\r\n // of which FF01 - FF5E fullwidth ASCII of 21 to 7E\r\n // [IGNORE] and FF65 - FFDC halfwidth of Katakana and Hangul\r\n // [IGNORE] FFF0 — FFFF Specials\r\n charCode = +charCode; // @perf\r\n return ((charCode >= 0x2E80 && charCode <= 0xD7AF)\r\n || (charCode >= 0xF900 && charCode <= 0xFAFF)\r\n || (charCode >= 0xFF01 && charCode <= 0xFF5E));\r\n}\r\n/**\r\n * A fast function (therefore imprecise) to check if code points are emojis.\r\n * Generated using https://github.com/alexdima/unicode-utils/blob/master/generate-emoji-test.js\r\n */\r\nfunction isEmojiImprecise(x) {\r\n return ((x >= 0x1F1E6 && x <= 0x1F1FF) || (x === 8986) || (x === 8987) || (x === 9200)\r\n || (x === 9203) || (x >= 9728 && x <= 10175) || (x === 11088) || (x === 11093)\r\n || (x >= 127744 && x <= 128591) || (x >= 128640 && x <= 128764)\r\n || (x >= 128992 && x <= 129003) || (x >= 129280 && x <= 129535)\r\n || (x >= 129648 && x <= 129750));\r\n}\r\n// -- UTF-8 BOM\r\nconst UTF8_BOM_CHARACTER = String.fromCharCode(65279 /* UTF8_BOM */);\r\nfunction startsWithUTF8BOM(str) {\r\n return !!(str && str.length > 0 && str.charCodeAt(0) === 65279 /* UTF8_BOM */);\r\n}\r\nfunction containsUppercaseCharacter(target, ignoreEscapedChars = false) {\r\n if (!target) {\r\n return false;\r\n }\r\n if (ignoreEscapedChars) {\r\n target = target.replace(/\\\\./g, '');\r\n }\r\n return target.toLowerCase() !== target;\r\n}\r\n/**\r\n * Produces 'a'-'z', followed by 'A'-'Z'... followed by 'a'-'z', etc.\r\n */\r\nfunction singleLetterHash(n) {\r\n const LETTERS_CNT = (90 /* Z */ - 65 /* A */ + 1);\r\n n = n % (2 * LETTERS_CNT);\r\n if (n < LETTERS_CNT) {\r\n return String.fromCharCode(97 /* a */ + n);\r\n }\r\n return String.fromCharCode(65 /* A */ + n - LETTERS_CNT);\r\n}\r\n//#region Unicode Grapheme Break\r\nfunction getGraphemeBreakType(codePoint) {\r\n const graphemeBreakTree = GraphemeBreakTree.getInstance();\r\n return graphemeBreakTree.getGraphemeBreakType(codePoint);\r\n}\r\nfunction breakBetweenGraphemeBreakType(breakTypeA, breakTypeB) {\r\n // http://www.unicode.org/reports/tr29/#Grapheme_Cluster_Boundary_Rules\r\n // !!! Let's make the common case a bit faster\r\n if (breakTypeA === 0 /* Other */) {\r\n // see https://www.unicode.org/Public/13.0.0/ucd/auxiliary/GraphemeBreakTest-13.0.0d10.html#table\r\n return (breakTypeB !== 5 /* Extend */ && breakTypeB !== 7 /* SpacingMark */);\r\n }\r\n // Do not break between a CR and LF. Otherwise, break before and after controls.\r\n // GB3 CR × LF\r\n // GB4 (Control | CR | LF) ÷\r\n // GB5 ÷ (Control | CR | LF)\r\n if (breakTypeA === 2 /* CR */) {\r\n if (breakTypeB === 3 /* LF */) {\r\n return false; // GB3\r\n }\r\n }\r\n if (breakTypeA === 4 /* Control */ || breakTypeA === 2 /* CR */ || breakTypeA === 3 /* LF */) {\r\n return true; // GB4\r\n }\r\n if (breakTypeB === 4 /* Control */ || breakTypeB === 2 /* CR */ || breakTypeB === 3 /* LF */) {\r\n return true; // GB5\r\n }\r\n // Do not break Hangul syllable sequences.\r\n // GB6 L × (L | V | LV | LVT)\r\n // GB7 (LV | V) × (V | T)\r\n // GB8 (LVT | T) × T\r\n if (breakTypeA === 8 /* L */) {\r\n if (breakTypeB === 8 /* L */ || breakTypeB === 9 /* V */ || breakTypeB === 11 /* LV */ || breakTypeB === 12 /* LVT */) {\r\n return false; // GB6\r\n }\r\n }\r\n if (breakTypeA === 11 /* LV */ || breakTypeA === 9 /* V */) {\r\n if (breakTypeB === 9 /* V */ || breakTypeB === 10 /* T */) {\r\n return false; // GB7\r\n }\r\n }\r\n if (breakTypeA === 12 /* LVT */ || breakTypeA === 10 /* T */) {\r\n if (breakTypeB === 10 /* T */) {\r\n return false; // GB8\r\n }\r\n }\r\n // Do not break before extending characters or ZWJ.\r\n // GB9 × (Extend | ZWJ)\r\n if (breakTypeB === 5 /* Extend */ || breakTypeB === 13 /* ZWJ */) {\r\n return false; // GB9\r\n }\r\n // The GB9a and GB9b rules only apply to extended grapheme clusters:\r\n // Do not break before SpacingMarks, or after Prepend characters.\r\n // GB9a × SpacingMark\r\n // GB9b Prepend ×\r\n if (breakTypeB === 7 /* SpacingMark */) {\r\n return false; // GB9a\r\n }\r\n if (breakTypeA === 1 /* Prepend */) {\r\n return false; // GB9b\r\n }\r\n // Do not break within emoji modifier sequences or emoji zwj sequences.\r\n // GB11 \\p{Extended_Pictographic} Extend* ZWJ × \\p{Extended_Pictographic}\r\n if (breakTypeA === 13 /* ZWJ */ && breakTypeB === 14 /* Extended_Pictographic */) {\r\n // Note: we are not implementing the rule entirely here to avoid introducing states\r\n return false; // GB11\r\n }\r\n // GB12 sot (RI RI)* RI × RI\r\n // GB13 [^RI] (RI RI)* RI × RI\r\n if (breakTypeA === 6 /* Regional_Indicator */ && breakTypeB === 6 /* Regional_Indicator */) {\r\n // Note: we are not implementing the rule entirely here to avoid introducing states\r\n return false; // GB12 & GB13\r\n }\r\n // GB999 Any ÷ Any\r\n return true;\r\n}\r\nclass GraphemeBreakTree {\r\n constructor() {\r\n this._data = getGraphemeBreakRawData();\r\n }\r\n static getInstance() {\r\n if (!GraphemeBreakTree._INSTANCE) {\r\n GraphemeBreakTree._INSTANCE = new GraphemeBreakTree();\r\n }\r\n return GraphemeBreakTree._INSTANCE;\r\n }\r\n getGraphemeBreakType(codePoint) {\r\n // !!! Let's make 7bit ASCII a bit faster: 0..31\r\n if (codePoint < 32) {\r\n if (codePoint === 10 /* LineFeed */) {\r\n return 3 /* LF */;\r\n }\r\n if (codePoint === 13 /* CarriageReturn */) {\r\n return 2 /* CR */;\r\n }\r\n return 4 /* Control */;\r\n }\r\n // !!! Let's make 7bit ASCII a bit faster: 32..126\r\n if (codePoint < 127) {\r\n return 0 /* Other */;\r\n }\r\n const data = this._data;\r\n const nodeCount = data.length / 3;\r\n let nodeIndex = 1;\r\n while (nodeIndex <= nodeCount) {\r\n if (codePoint < data[3 * nodeIndex]) {\r\n // go left\r\n nodeIndex = 2 * nodeIndex;\r\n }\r\n else if (codePoint > data[3 * nodeIndex + 1]) {\r\n // go right\r\n nodeIndex = 2 * nodeIndex + 1;\r\n }\r\n else {\r\n // hit\r\n return data[3 * nodeIndex + 2];\r\n }\r\n }\r\n return 0 /* Other */;\r\n }\r\n}\r\nGraphemeBreakTree._INSTANCE = null;\r\nfunction getGraphemeBreakRawData() {\r\n // generated using https://github.com/alexdima/unicode-utils/blob/master/generate-grapheme-break.js\r\n return JSON.parse('[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]');\r\n}\r\n//#endregion\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/base/common/strings.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/base/common/types.js":
|
||
/*!****************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/base/common/types.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 */ \"isArray\": () => (/* binding */ isArray),\n/* harmony export */ \"isString\": () => (/* binding */ isString),\n/* harmony export */ \"isObject\": () => (/* binding */ isObject),\n/* harmony export */ \"isNumber\": () => (/* binding */ isNumber),\n/* harmony export */ \"isBoolean\": () => (/* binding */ isBoolean),\n/* harmony export */ \"isUndefined\": () => (/* binding */ isUndefined),\n/* harmony export */ \"isUndefinedOrNull\": () => (/* binding */ isUndefinedOrNull),\n/* harmony export */ \"assertType\": () => (/* binding */ assertType),\n/* harmony export */ \"assertIsDefined\": () => (/* binding */ assertIsDefined),\n/* harmony export */ \"isFunction\": () => (/* binding */ isFunction),\n/* harmony export */ \"validateConstraints\": () => (/* binding */ validateConstraints),\n/* harmony export */ \"validateConstraint\": () => (/* binding */ validateConstraint),\n/* harmony export */ \"getAllPropertyNames\": () => (/* binding */ getAllPropertyNames),\n/* harmony export */ \"getAllMethodNames\": () => (/* binding */ getAllMethodNames),\n/* harmony export */ \"createProxyObject\": () => (/* binding */ createProxyObject),\n/* harmony export */ \"withNullAsUndefined\": () => (/* binding */ withNullAsUndefined)\n/* harmony export */ });\n/**\r\n * @returns whether the provided parameter is a JavaScript Array or not.\r\n */\r\nfunction isArray(array) {\r\n return Array.isArray(array);\r\n}\r\n/**\r\n * @returns whether the provided parameter is a JavaScript String or not.\r\n */\r\nfunction isString(str) {\r\n return (typeof str === 'string');\r\n}\r\n/**\r\n *\r\n * @returns whether the provided parameter is of type `object` but **not**\r\n *\t`null`, an `array`, a `regexp`, nor a `date`.\r\n */\r\nfunction isObject(obj) {\r\n // The method can't do a type cast since there are type (like strings) which\r\n // are subclasses of any put not positvely matched by the function. Hence type\r\n // narrowing results in wrong results.\r\n return typeof obj === 'object'\r\n && obj !== null\r\n && !Array.isArray(obj)\r\n && !(obj instanceof RegExp)\r\n && !(obj instanceof Date);\r\n}\r\n/**\r\n * In **contrast** to just checking `typeof` this will return `false` for `NaN`.\r\n * @returns whether the provided parameter is a JavaScript Number or not.\r\n */\r\nfunction isNumber(obj) {\r\n return (typeof obj === 'number' && !isNaN(obj));\r\n}\r\n/**\r\n * @returns whether the provided parameter is a JavaScript Boolean or not.\r\n */\r\nfunction isBoolean(obj) {\r\n return (obj === true || obj === false);\r\n}\r\n/**\r\n * @returns whether the provided parameter is undefined.\r\n */\r\nfunction isUndefined(obj) {\r\n return (typeof obj === 'undefined');\r\n}\r\n/**\r\n * @returns whether the provided parameter is undefined or null.\r\n */\r\nfunction isUndefinedOrNull(obj) {\r\n return (isUndefined(obj) || obj === null);\r\n}\r\nfunction assertType(condition, type) {\r\n if (!condition) {\r\n throw new Error(type ? `Unexpected type, expected '${type}'` : 'Unexpected type');\r\n }\r\n}\r\n/**\r\n * Asserts that the argument passed in is neither undefined nor null.\r\n */\r\nfunction assertIsDefined(arg) {\r\n if (isUndefinedOrNull(arg)) {\r\n throw new Error('Assertion Failed: argument is undefined or null');\r\n }\r\n return arg;\r\n}\r\n/**\r\n * @returns whether the provided parameter is a JavaScript Function or not.\r\n */\r\nfunction isFunction(obj) {\r\n return (typeof obj === 'function');\r\n}\r\nfunction validateConstraints(args, constraints) {\r\n const len = Math.min(args.length, constraints.length);\r\n for (let i = 0; i < len; i++) {\r\n validateConstraint(args[i], constraints[i]);\r\n }\r\n}\r\nfunction validateConstraint(arg, constraint) {\r\n if (isString(constraint)) {\r\n if (typeof arg !== constraint) {\r\n throw new Error(`argument does not match constraint: typeof ${constraint}`);\r\n }\r\n }\r\n else if (isFunction(constraint)) {\r\n try {\r\n if (arg instanceof constraint) {\r\n return;\r\n }\r\n }\r\n catch (_a) {\r\n // ignore\r\n }\r\n if (!isUndefinedOrNull(arg) && arg.constructor === constraint) {\r\n return;\r\n }\r\n if (constraint.length === 1 && constraint.call(undefined, arg) === true) {\r\n return;\r\n }\r\n throw new Error(`argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true`);\r\n }\r\n}\r\nfunction getAllPropertyNames(obj) {\r\n let res = [];\r\n let proto = Object.getPrototypeOf(obj);\r\n while (Object.prototype !== proto) {\r\n res = res.concat(Object.getOwnPropertyNames(proto));\r\n proto = Object.getPrototypeOf(proto);\r\n }\r\n return res;\r\n}\r\nfunction getAllMethodNames(obj) {\r\n const methods = [];\r\n for (const prop of getAllPropertyNames(obj)) {\r\n if (typeof obj[prop] === 'function') {\r\n methods.push(prop);\r\n }\r\n }\r\n return methods;\r\n}\r\nfunction createProxyObject(methodNames, invoke) {\r\n const createProxyMethod = (method) => {\r\n return function () {\r\n const args = Array.prototype.slice.call(arguments, 0);\r\n return invoke(method, args);\r\n };\r\n };\r\n let result = {};\r\n for (const methodName of methodNames) {\r\n result[methodName] = createProxyMethod(methodName);\r\n }\r\n return result;\r\n}\r\n/**\r\n * Converts null to undefined, passes all other values through.\r\n */\r\nfunction withNullAsUndefined(x) {\r\n return x === null ? undefined : x;\r\n}\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/base/common/types.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/base/common/uint.js":
|
||
/*!***************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/base/common/uint.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 */ \"toUint8\": () => (/* binding */ toUint8),\n/* harmony export */ \"toUint32\": () => (/* binding */ toUint32)\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\nfunction toUint8(v) {\r\n if (v < 0) {\r\n return 0;\r\n }\r\n if (v > 255 /* MAX_UINT_8 */) {\r\n return 255 /* MAX_UINT_8 */;\r\n }\r\n return v | 0;\r\n}\r\nfunction toUint32(v) {\r\n if (v < 0) {\r\n return 0;\r\n }\r\n if (v > 4294967295 /* MAX_UINT_32 */) {\r\n return 4294967295 /* MAX_UINT_32 */;\r\n }\r\n return v | 0;\r\n}\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/base/common/uint.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/base/common/uri.js":
|
||
/*!**************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/base/common/uri.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 */ \"URI\": () => (/* binding */ URI),\n/* harmony export */ \"uriToFsPath\": () => (/* binding */ uriToFsPath)\n/* harmony export */ });\n/* harmony import */ var _platform_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./platform.js */ \"./node_modules/monaco-editor/esm/vs/base/common/platform.js\");\n/* harmony import */ var _path_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./path.js */ \"./node_modules/monaco-editor/esm/vs/base/common/path.js\");\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\n\r\n\r\nconst _schemePattern = /^\\w[\\w\\d+.-]*$/;\r\nconst _singleSlashStart = /^\\//;\r\nconst _doubleSlashStart = /^\\/\\//;\r\nfunction _validateUri(ret, _strict) {\r\n // scheme, must be set\r\n if (!ret.scheme && _strict) {\r\n throw new Error(`[UriError]: Scheme is missing: {scheme: \"\", authority: \"${ret.authority}\", path: \"${ret.path}\", query: \"${ret.query}\", fragment: \"${ret.fragment}\"}`);\r\n }\r\n // scheme, https://tools.ietf.org/html/rfc3986#section-3.1\r\n // ALPHA *( ALPHA / DIGIT / \"+\" / \"-\" / \".\" )\r\n if (ret.scheme && !_schemePattern.test(ret.scheme)) {\r\n throw new Error('[UriError]: Scheme contains illegal characters.');\r\n }\r\n // path, http://tools.ietf.org/html/rfc3986#section-3.3\r\n // If a URI contains an authority component, then the path component\r\n // must either be empty or begin with a slash (\"/\") character. If a URI\r\n // does not contain an authority component, then the path cannot begin\r\n // with two slash characters (\"//\").\r\n if (ret.path) {\r\n if (ret.authority) {\r\n if (!_singleSlashStart.test(ret.path)) {\r\n throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash (\"/\") character');\r\n }\r\n }\r\n else {\r\n if (_doubleSlashStart.test(ret.path)) {\r\n throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters (\"//\")');\r\n }\r\n }\r\n }\r\n}\r\n// for a while we allowed uris *without* schemes and this is the migration\r\n// for them, e.g. an uri without scheme and without strict-mode warns and falls\r\n// back to the file-scheme. that should cause the least carnage and still be a\r\n// clear warning\r\nfunction _schemeFix(scheme, _strict) {\r\n if (!scheme && !_strict) {\r\n return 'file';\r\n }\r\n return scheme;\r\n}\r\n// implements a bit of https://tools.ietf.org/html/rfc3986#section-5\r\nfunction _referenceResolution(scheme, path) {\r\n // the slash-character is our 'default base' as we don't\r\n // support constructing URIs relative to other URIs. This\r\n // also means that we alter and potentially break paths.\r\n // see https://tools.ietf.org/html/rfc3986#section-5.1.4\r\n switch (scheme) {\r\n case 'https':\r\n case 'http':\r\n case 'file':\r\n if (!path) {\r\n path = _slash;\r\n }\r\n else if (path[0] !== _slash) {\r\n path = _slash + path;\r\n }\r\n break;\r\n }\r\n return path;\r\n}\r\nconst _empty = '';\r\nconst _slash = '/';\r\nconst _regexp = /^(([^:/?#]+?):)?(\\/\\/([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?/;\r\n/**\r\n * Uniform Resource Identifier (URI) http://tools.ietf.org/html/rfc3986.\r\n * This class is a simple parser which creates the basic component parts\r\n * (http://tools.ietf.org/html/rfc3986#section-3) with minimal validation\r\n * and encoding.\r\n *\r\n * ```txt\r\n * foo://example.com:8042/over/there?name=ferret#nose\r\n * \\_/ \\______________/\\_________/ \\_________/ \\__/\r\n * | | | | |\r\n * scheme authority path query fragment\r\n * | _____________________|__\r\n * / \\ / \\\r\n * urn:example:animal:ferret:nose\r\n * ```\r\n */\r\nclass URI {\r\n /**\r\n * @internal\r\n */\r\n constructor(schemeOrData, authority, path, query, fragment, _strict = false) {\r\n if (typeof schemeOrData === 'object') {\r\n this.scheme = schemeOrData.scheme || _empty;\r\n this.authority = schemeOrData.authority || _empty;\r\n this.path = schemeOrData.path || _empty;\r\n this.query = schemeOrData.query || _empty;\r\n this.fragment = schemeOrData.fragment || _empty;\r\n // no validation because it's this URI\r\n // that creates uri components.\r\n // _validateUri(this);\r\n }\r\n else {\r\n this.scheme = _schemeFix(schemeOrData, _strict);\r\n this.authority = authority || _empty;\r\n this.path = _referenceResolution(this.scheme, path || _empty);\r\n this.query = query || _empty;\r\n this.fragment = fragment || _empty;\r\n _validateUri(this, _strict);\r\n }\r\n }\r\n static isUri(thing) {\r\n if (thing instanceof URI) {\r\n return true;\r\n }\r\n if (!thing) {\r\n return false;\r\n }\r\n return typeof thing.authority === 'string'\r\n && typeof thing.fragment === 'string'\r\n && typeof thing.path === 'string'\r\n && typeof thing.query === 'string'\r\n && typeof thing.scheme === 'string'\r\n && typeof thing.fsPath === 'string'\r\n && typeof thing.with === 'function'\r\n && typeof thing.toString === 'function';\r\n }\r\n // ---- filesystem path -----------------------\r\n /**\r\n * Returns a string representing the corresponding file system path of this URI.\r\n * Will handle UNC paths, normalizes windows drive letters to lower-case, and uses the\r\n * platform specific path separator.\r\n *\r\n * * Will *not* validate the path for invalid characters and semantics.\r\n * * Will *not* look at the scheme of this URI.\r\n * * The result shall *not* be used for display purposes but for accessing a file on disk.\r\n *\r\n *\r\n * The *difference* to `URI#path` is the use of the platform specific separator and the handling\r\n * of UNC paths. See the below sample of a file-uri with an authority (UNC path).\r\n *\r\n * ```ts\r\n const u = URI.parse('file://server/c$/folder/file.txt')\r\n u.authority === 'server'\r\n u.path === '/shares/c$/file.txt'\r\n u.fsPath === '\\\\server\\c$\\folder\\file.txt'\r\n ```\r\n *\r\n * Using `URI#path` to read a file (using fs-apis) would not be enough because parts of the path,\r\n * namely the server name, would be missing. Therefore `URI#fsPath` exists - it's sugar to ease working\r\n * with URIs that represent files on disk (`file` scheme).\r\n */\r\n get fsPath() {\r\n // if (this.scheme !== 'file') {\r\n // \tconsole.warn(`[UriError] calling fsPath with scheme ${this.scheme}`);\r\n // }\r\n return uriToFsPath(this, false);\r\n }\r\n // ---- modify to new -------------------------\r\n with(change) {\r\n if (!change) {\r\n return this;\r\n }\r\n let { scheme, authority, path, query, fragment } = change;\r\n if (scheme === undefined) {\r\n scheme = this.scheme;\r\n }\r\n else if (scheme === null) {\r\n scheme = _empty;\r\n }\r\n if (authority === undefined) {\r\n authority = this.authority;\r\n }\r\n else if (authority === null) {\r\n authority = _empty;\r\n }\r\n if (path === undefined) {\r\n path = this.path;\r\n }\r\n else if (path === null) {\r\n path = _empty;\r\n }\r\n if (query === undefined) {\r\n query = this.query;\r\n }\r\n else if (query === null) {\r\n query = _empty;\r\n }\r\n if (fragment === undefined) {\r\n fragment = this.fragment;\r\n }\r\n else if (fragment === null) {\r\n fragment = _empty;\r\n }\r\n if (scheme === this.scheme\r\n && authority === this.authority\r\n && path === this.path\r\n && query === this.query\r\n && fragment === this.fragment) {\r\n return this;\r\n }\r\n return new Uri(scheme, authority, path, query, fragment);\r\n }\r\n // ---- parse & validate ------------------------\r\n /**\r\n * Creates a new URI from a string, e.g. `http://www.msft.com/some/path`,\r\n * `file:///usr/home`, or `scheme:with/path`.\r\n *\r\n * @param value A string which represents an URI (see `URI#toString`).\r\n */\r\n static parse(value, _strict = false) {\r\n const match = _regexp.exec(value);\r\n if (!match) {\r\n return new Uri(_empty, _empty, _empty, _empty, _empty);\r\n }\r\n return new Uri(match[2] || _empty, percentDecode(match[4] || _empty), percentDecode(match[5] || _empty), percentDecode(match[7] || _empty), percentDecode(match[9] || _empty), _strict);\r\n }\r\n /**\r\n * Creates a new URI from a file system path, e.g. `c:\\my\\files`,\r\n * `/usr/home`, or `\\\\server\\share\\some\\path`.\r\n *\r\n * The *difference* between `URI#parse` and `URI#file` is that the latter treats the argument\r\n * as path, not as stringified-uri. E.g. `URI.file(path)` is **not the same as**\r\n * `URI.parse('file://' + path)` because the path might contain characters that are\r\n * interpreted (# and ?). See the following sample:\r\n * ```ts\r\n const good = URI.file('/coding/c#/project1');\r\n good.scheme === 'file';\r\n good.path === '/coding/c#/project1';\r\n good.fragment === '';\r\n const bad = URI.parse('file://' + '/coding/c#/project1');\r\n bad.scheme === 'file';\r\n bad.path === '/coding/c'; // path is now broken\r\n bad.fragment === '/project1';\r\n ```\r\n *\r\n * @param path A file system path (see `URI#fsPath`)\r\n */\r\n static file(path) {\r\n let authority = _empty;\r\n // normalize to fwd-slashes on windows,\r\n // on other systems bwd-slashes are valid\r\n // filename character, eg /f\\oo/ba\\r.txt\r\n if (_platform_js__WEBPACK_IMPORTED_MODULE_0__.isWindows) {\r\n path = path.replace(/\\\\/g, _slash);\r\n }\r\n // check for authority as used in UNC shares\r\n // or use the path as given\r\n if (path[0] === _slash && path[1] === _slash) {\r\n const idx = path.indexOf(_slash, 2);\r\n if (idx === -1) {\r\n authority = path.substring(2);\r\n path = _slash;\r\n }\r\n else {\r\n authority = path.substring(2, idx);\r\n path = path.substring(idx) || _slash;\r\n }\r\n }\r\n return new Uri('file', authority, path, _empty, _empty);\r\n }\r\n static from(components) {\r\n return new Uri(components.scheme, components.authority, components.path, components.query, components.fragment);\r\n }\r\n /**\r\n * Join a URI path with path fragments and normalizes the resulting path.\r\n *\r\n * @param uri The input URI.\r\n * @param pathFragment The path fragment to add to the URI path.\r\n * @returns The resulting URI.\r\n */\r\n static joinPath(uri, ...pathFragment) {\r\n if (!uri.path) {\r\n throw new Error(`[UriError]: cannot call joinPath on URI without path`);\r\n }\r\n let newPath;\r\n if (_platform_js__WEBPACK_IMPORTED_MODULE_0__.isWindows && uri.scheme === 'file') {\r\n newPath = URI.file(_path_js__WEBPACK_IMPORTED_MODULE_1__.win32.join(uriToFsPath(uri, true), ...pathFragment)).path;\r\n }\r\n else {\r\n newPath = _path_js__WEBPACK_IMPORTED_MODULE_1__.posix.join(uri.path, ...pathFragment);\r\n }\r\n return uri.with({ path: newPath });\r\n }\r\n // ---- printing/externalize ---------------------------\r\n /**\r\n * Creates a string representation for this URI. It's guaranteed that calling\r\n * `URI.parse` with the result of this function creates an URI which is equal\r\n * to this URI.\r\n *\r\n * * The result shall *not* be used for display purposes but for externalization or transport.\r\n * * The result will be encoded using the percentage encoding and encoding happens mostly\r\n * ignore the scheme-specific encoding rules.\r\n *\r\n * @param skipEncoding Do not encode the result, default is `false`\r\n */\r\n toString(skipEncoding = false) {\r\n return _asFormatted(this, skipEncoding);\r\n }\r\n toJSON() {\r\n return this;\r\n }\r\n static revive(data) {\r\n if (!data) {\r\n return data;\r\n }\r\n else if (data instanceof URI) {\r\n return data;\r\n }\r\n else {\r\n const result = new Uri(data);\r\n result._formatted = data.external;\r\n result._fsPath = data._sep === _pathSepMarker ? data.fsPath : null;\r\n return result;\r\n }\r\n }\r\n}\r\nconst _pathSepMarker = _platform_js__WEBPACK_IMPORTED_MODULE_0__.isWindows ? 1 : undefined;\r\n// This class exists so that URI is compatibile with vscode.Uri (API).\r\nclass Uri extends URI {\r\n constructor() {\r\n super(...arguments);\r\n this._formatted = null;\r\n this._fsPath = null;\r\n }\r\n get fsPath() {\r\n if (!this._fsPath) {\r\n this._fsPath = uriToFsPath(this, false);\r\n }\r\n return this._fsPath;\r\n }\r\n toString(skipEncoding = false) {\r\n if (!skipEncoding) {\r\n if (!this._formatted) {\r\n this._formatted = _asFormatted(this, false);\r\n }\r\n return this._formatted;\r\n }\r\n else {\r\n // we don't cache that\r\n return _asFormatted(this, true);\r\n }\r\n }\r\n toJSON() {\r\n const res = {\r\n $mid: 1\r\n };\r\n // cached state\r\n if (this._fsPath) {\r\n res.fsPath = this._fsPath;\r\n res._sep = _pathSepMarker;\r\n }\r\n if (this._formatted) {\r\n res.external = this._formatted;\r\n }\r\n // uri components\r\n if (this.path) {\r\n res.path = this.path;\r\n }\r\n if (this.scheme) {\r\n res.scheme = this.scheme;\r\n }\r\n if (this.authority) {\r\n res.authority = this.authority;\r\n }\r\n if (this.query) {\r\n res.query = this.query;\r\n }\r\n if (this.fragment) {\r\n res.fragment = this.fragment;\r\n }\r\n return res;\r\n }\r\n}\r\n// reserved characters: https://tools.ietf.org/html/rfc3986#section-2.2\r\nconst encodeTable = {\r\n [58 /* Colon */]: '%3A',\r\n [47 /* Slash */]: '%2F',\r\n [63 /* QuestionMark */]: '%3F',\r\n [35 /* Hash */]: '%23',\r\n [91 /* OpenSquareBracket */]: '%5B',\r\n [93 /* CloseSquareBracket */]: '%5D',\r\n [64 /* AtSign */]: '%40',\r\n [33 /* ExclamationMark */]: '%21',\r\n [36 /* DollarSign */]: '%24',\r\n [38 /* Ampersand */]: '%26',\r\n [39 /* SingleQuote */]: '%27',\r\n [40 /* OpenParen */]: '%28',\r\n [41 /* CloseParen */]: '%29',\r\n [42 /* Asterisk */]: '%2A',\r\n [43 /* Plus */]: '%2B',\r\n [44 /* Comma */]: '%2C',\r\n [59 /* Semicolon */]: '%3B',\r\n [61 /* Equals */]: '%3D',\r\n [32 /* Space */]: '%20',\r\n};\r\nfunction encodeURIComponentFast(uriComponent, allowSlash) {\r\n let res = undefined;\r\n let nativeEncodePos = -1;\r\n for (let pos = 0; pos < uriComponent.length; pos++) {\r\n const code = uriComponent.charCodeAt(pos);\r\n // unreserved characters: https://tools.ietf.org/html/rfc3986#section-2.3\r\n if ((code >= 97 /* a */ && code <= 122 /* z */)\r\n || (code >= 65 /* A */ && code <= 90 /* Z */)\r\n || (code >= 48 /* Digit0 */ && code <= 57 /* Digit9 */)\r\n || code === 45 /* Dash */\r\n || code === 46 /* Period */\r\n || code === 95 /* Underline */\r\n || code === 126 /* Tilde */\r\n || (allowSlash && code === 47 /* Slash */)) {\r\n // check if we are delaying native encode\r\n if (nativeEncodePos !== -1) {\r\n res += encodeURIComponent(uriComponent.substring(nativeEncodePos, pos));\r\n nativeEncodePos = -1;\r\n }\r\n // check if we write into a new string (by default we try to return the param)\r\n if (res !== undefined) {\r\n res += uriComponent.charAt(pos);\r\n }\r\n }\r\n else {\r\n // encoding needed, we need to allocate a new string\r\n if (res === undefined) {\r\n res = uriComponent.substr(0, pos);\r\n }\r\n // check with default table first\r\n const escaped = encodeTable[code];\r\n if (escaped !== undefined) {\r\n // check if we are delaying native encode\r\n if (nativeEncodePos !== -1) {\r\n res += encodeURIComponent(uriComponent.substring(nativeEncodePos, pos));\r\n nativeEncodePos = -1;\r\n }\r\n // append escaped variant to result\r\n res += escaped;\r\n }\r\n else if (nativeEncodePos === -1) {\r\n // use native encode only when needed\r\n nativeEncodePos = pos;\r\n }\r\n }\r\n }\r\n if (nativeEncodePos !== -1) {\r\n res += encodeURIComponent(uriComponent.substring(nativeEncodePos));\r\n }\r\n return res !== undefined ? res : uriComponent;\r\n}\r\nfunction encodeURIComponentMinimal(path) {\r\n let res = undefined;\r\n for (let pos = 0; pos < path.length; pos++) {\r\n const code = path.charCodeAt(pos);\r\n if (code === 35 /* Hash */ || code === 63 /* QuestionMark */) {\r\n if (res === undefined) {\r\n res = path.substr(0, pos);\r\n }\r\n res += encodeTable[code];\r\n }\r\n else {\r\n if (res !== undefined) {\r\n res += path[pos];\r\n }\r\n }\r\n }\r\n return res !== undefined ? res : path;\r\n}\r\n/**\r\n * Compute `fsPath` for the given uri\r\n */\r\nfunction uriToFsPath(uri, keepDriveLetterCasing) {\r\n let value;\r\n if (uri.authority && uri.path.length > 1 && uri.scheme === 'file') {\r\n // unc path: file://shares/c$/far/boo\r\n value = `//${uri.authority}${uri.path}`;\r\n }\r\n else if (uri.path.charCodeAt(0) === 47 /* Slash */\r\n && (uri.path.charCodeAt(1) >= 65 /* A */ && uri.path.charCodeAt(1) <= 90 /* Z */ || uri.path.charCodeAt(1) >= 97 /* a */ && uri.path.charCodeAt(1) <= 122 /* z */)\r\n && uri.path.charCodeAt(2) === 58 /* Colon */) {\r\n if (!keepDriveLetterCasing) {\r\n // windows drive letter: file:///c:/far/boo\r\n value = uri.path[1].toLowerCase() + uri.path.substr(2);\r\n }\r\n else {\r\n value = uri.path.substr(1);\r\n }\r\n }\r\n else {\r\n // other path\r\n value = uri.path;\r\n }\r\n if (_platform_js__WEBPACK_IMPORTED_MODULE_0__.isWindows) {\r\n value = value.replace(/\\//g, '\\\\');\r\n }\r\n return value;\r\n}\r\n/**\r\n * Create the external version of a uri\r\n */\r\nfunction _asFormatted(uri, skipEncoding) {\r\n const encoder = !skipEncoding\r\n ? encodeURIComponentFast\r\n : encodeURIComponentMinimal;\r\n let res = '';\r\n let { scheme, authority, path, query, fragment } = uri;\r\n if (scheme) {\r\n res += scheme;\r\n res += ':';\r\n }\r\n if (authority || scheme === 'file') {\r\n res += _slash;\r\n res += _slash;\r\n }\r\n if (authority) {\r\n let idx = authority.indexOf('@');\r\n if (idx !== -1) {\r\n // <user>@<auth>\r\n const userinfo = authority.substr(0, idx);\r\n authority = authority.substr(idx + 1);\r\n idx = userinfo.indexOf(':');\r\n if (idx === -1) {\r\n res += encoder(userinfo, false);\r\n }\r\n else {\r\n // <user>:<pass>@<auth>\r\n res += encoder(userinfo.substr(0, idx), false);\r\n res += ':';\r\n res += encoder(userinfo.substr(idx + 1), false);\r\n }\r\n res += '@';\r\n }\r\n authority = authority.toLowerCase();\r\n idx = authority.indexOf(':');\r\n if (idx === -1) {\r\n res += encoder(authority, false);\r\n }\r\n else {\r\n // <auth>:<port>\r\n res += encoder(authority.substr(0, idx), false);\r\n res += authority.substr(idx);\r\n }\r\n }\r\n if (path) {\r\n // lower-case windows drive letters in /C:/fff or C:/fff\r\n if (path.length >= 3 && path.charCodeAt(0) === 47 /* Slash */ && path.charCodeAt(2) === 58 /* Colon */) {\r\n const code = path.charCodeAt(1);\r\n if (code >= 65 /* A */ && code <= 90 /* Z */) {\r\n path = `/${String.fromCharCode(code + 32)}:${path.substr(3)}`; // \"/c:\".length === 3\r\n }\r\n }\r\n else if (path.length >= 2 && path.charCodeAt(1) === 58 /* Colon */) {\r\n const code = path.charCodeAt(0);\r\n if (code >= 65 /* A */ && code <= 90 /* Z */) {\r\n path = `${String.fromCharCode(code + 32)}:${path.substr(2)}`; // \"/c:\".length === 3\r\n }\r\n }\r\n // encode the rest of the path\r\n res += encoder(path, true);\r\n }\r\n if (query) {\r\n res += '?';\r\n res += encoder(query, false);\r\n }\r\n if (fragment) {\r\n res += '#';\r\n res += !skipEncoding ? encodeURIComponentFast(fragment, false) : fragment;\r\n }\r\n return res;\r\n}\r\n// --- decode\r\nfunction decodeURIComponentGraceful(str) {\r\n try {\r\n return decodeURIComponent(str);\r\n }\r\n catch (_a) {\r\n if (str.length > 3) {\r\n return str.substr(0, 3) + decodeURIComponentGraceful(str.substr(3));\r\n }\r\n else {\r\n return str;\r\n }\r\n }\r\n}\r\nconst _rEncodedAsHex = /(%[0-9A-Za-z][0-9A-Za-z])+/g;\r\nfunction percentDecode(str) {\r\n if (!str.match(_rEncodedAsHex)) {\r\n return str;\r\n }\r\n return str.replace(_rEncodedAsHex, (match) => decodeURIComponentGraceful(match));\r\n}\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/base/common/uri.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/base/common/worker/simpleWorker.js":
|
||
/*!******************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/base/common/worker/simpleWorker.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 */ \"logOnceWebWorkerWarning\": () => (/* binding */ logOnceWebWorkerWarning),\n/* harmony export */ \"SimpleWorkerClient\": () => (/* binding */ SimpleWorkerClient),\n/* harmony export */ \"SimpleWorkerServer\": () => (/* binding */ SimpleWorkerServer),\n/* harmony export */ \"create\": () => (/* binding */ create)\n/* harmony export */ });\n/* harmony import */ var _errors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../errors.js */ \"./node_modules/monaco-editor/esm/vs/base/common/errors.js\");\n/* harmony import */ var _lifecycle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../lifecycle.js */ \"./node_modules/monaco-editor/esm/vs/base/common/lifecycle.js\");\n/* harmony import */ var _platform_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../platform.js */ \"./node_modules/monaco-editor/esm/vs/base/common/platform.js\");\n/* harmony import */ var _types_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../types.js */ \"./node_modules/monaco-editor/esm/vs/base/common/types.js\");\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\n\r\n\r\n\r\n\r\nconst INITIALIZE = '$initialize';\r\nlet webWorkerWarningLogged = false;\r\nfunction logOnceWebWorkerWarning(err) {\r\n if (!_platform_js__WEBPACK_IMPORTED_MODULE_2__.isWeb) {\r\n // running tests\r\n return;\r\n }\r\n if (!webWorkerWarningLogged) {\r\n webWorkerWarningLogged = true;\r\n console.warn('Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/microsoft/monaco-editor#faq');\r\n }\r\n console.warn(err.message);\r\n}\r\nclass SimpleWorkerProtocol {\r\n constructor(handler) {\r\n this._workerId = -1;\r\n this._handler = handler;\r\n this._lastSentReq = 0;\r\n this._pendingReplies = Object.create(null);\r\n }\r\n setWorkerId(workerId) {\r\n this._workerId = workerId;\r\n }\r\n sendMessage(method, args) {\r\n let req = String(++this._lastSentReq);\r\n return new Promise((resolve, reject) => {\r\n this._pendingReplies[req] = {\r\n resolve: resolve,\r\n reject: reject\r\n };\r\n this._send({\r\n vsWorker: this._workerId,\r\n req: req,\r\n method: method,\r\n args: args\r\n });\r\n });\r\n }\r\n handleMessage(message) {\r\n if (!message || !message.vsWorker) {\r\n return;\r\n }\r\n if (this._workerId !== -1 && message.vsWorker !== this._workerId) {\r\n return;\r\n }\r\n this._handleMessage(message);\r\n }\r\n _handleMessage(msg) {\r\n if (msg.seq) {\r\n let replyMessage = msg;\r\n if (!this._pendingReplies[replyMessage.seq]) {\r\n console.warn('Got reply to unknown seq');\r\n return;\r\n }\r\n let reply = this._pendingReplies[replyMessage.seq];\r\n delete this._pendingReplies[replyMessage.seq];\r\n if (replyMessage.err) {\r\n let err = replyMessage.err;\r\n if (replyMessage.err.$isError) {\r\n err = new Error();\r\n err.name = replyMessage.err.name;\r\n err.message = replyMessage.err.message;\r\n err.stack = replyMessage.err.stack;\r\n }\r\n reply.reject(err);\r\n return;\r\n }\r\n reply.resolve(replyMessage.res);\r\n return;\r\n }\r\n let requestMessage = msg;\r\n let req = requestMessage.req;\r\n let result = this._handler.handleMessage(requestMessage.method, requestMessage.args);\r\n result.then((r) => {\r\n this._send({\r\n vsWorker: this._workerId,\r\n seq: req,\r\n res: r,\r\n err: undefined\r\n });\r\n }, (e) => {\r\n if (e.detail instanceof Error) {\r\n // Loading errors have a detail property that points to the actual error\r\n e.detail = (0,_errors_js__WEBPACK_IMPORTED_MODULE_0__.transformErrorForSerialization)(e.detail);\r\n }\r\n this._send({\r\n vsWorker: this._workerId,\r\n seq: req,\r\n res: undefined,\r\n err: (0,_errors_js__WEBPACK_IMPORTED_MODULE_0__.transformErrorForSerialization)(e)\r\n });\r\n });\r\n }\r\n _send(msg) {\r\n let transfer = [];\r\n if (msg.req) {\r\n const m = msg;\r\n for (let i = 0; i < m.args.length; i++) {\r\n if (m.args[i] instanceof ArrayBuffer) {\r\n transfer.push(m.args[i]);\r\n }\r\n }\r\n }\r\n else {\r\n const m = msg;\r\n if (m.res instanceof ArrayBuffer) {\r\n transfer.push(m.res);\r\n }\r\n }\r\n this._handler.sendMessage(msg, transfer);\r\n }\r\n}\r\n/**\r\n * Main thread side\r\n */\r\nclass SimpleWorkerClient extends _lifecycle_js__WEBPACK_IMPORTED_MODULE_1__.Disposable {\r\n constructor(workerFactory, moduleId, host) {\r\n super();\r\n let lazyProxyReject = null;\r\n this._worker = this._register(workerFactory.create('vs/base/common/worker/simpleWorker', (msg) => {\r\n this._protocol.handleMessage(msg);\r\n }, (err) => {\r\n // in Firefox, web workers fail lazily :(\r\n // we will reject the proxy\r\n if (lazyProxyReject) {\r\n lazyProxyReject(err);\r\n }\r\n }));\r\n this._protocol = new SimpleWorkerProtocol({\r\n sendMessage: (msg, transfer) => {\r\n this._worker.postMessage(msg, transfer);\r\n },\r\n handleMessage: (method, args) => {\r\n if (typeof host[method] !== 'function') {\r\n return Promise.reject(new Error('Missing method ' + method + ' on main thread host.'));\r\n }\r\n try {\r\n return Promise.resolve(host[method].apply(host, args));\r\n }\r\n catch (e) {\r\n return Promise.reject(e);\r\n }\r\n }\r\n });\r\n this._protocol.setWorkerId(this._worker.getId());\r\n // Gather loader configuration\r\n let loaderConfiguration = null;\r\n if (typeof self.require !== 'undefined' && typeof self.require.getConfig === 'function') {\r\n // Get the configuration from the Monaco AMD Loader\r\n loaderConfiguration = self.require.getConfig();\r\n }\r\n else if (typeof self.requirejs !== 'undefined') {\r\n // Get the configuration from requirejs\r\n loaderConfiguration = self.requirejs.s.contexts._.config;\r\n }\r\n const hostMethods = _types_js__WEBPACK_IMPORTED_MODULE_3__.getAllMethodNames(host);\r\n // Send initialize message\r\n this._onModuleLoaded = this._protocol.sendMessage(INITIALIZE, [\r\n this._worker.getId(),\r\n JSON.parse(JSON.stringify(loaderConfiguration)),\r\n moduleId,\r\n hostMethods,\r\n ]);\r\n // Create proxy to loaded code\r\n const proxyMethodRequest = (method, args) => {\r\n return this._request(method, args);\r\n };\r\n this._lazyProxy = new Promise((resolve, reject) => {\r\n lazyProxyReject = reject;\r\n this._onModuleLoaded.then((availableMethods) => {\r\n resolve(_types_js__WEBPACK_IMPORTED_MODULE_3__.createProxyObject(availableMethods, proxyMethodRequest));\r\n }, (e) => {\r\n reject(e);\r\n this._onError('Worker failed to load ' + moduleId, e);\r\n });\r\n });\r\n }\r\n getProxyObject() {\r\n return this._lazyProxy;\r\n }\r\n _request(method, args) {\r\n return new Promise((resolve, reject) => {\r\n this._onModuleLoaded.then(() => {\r\n this._protocol.sendMessage(method, args).then(resolve, reject);\r\n }, reject);\r\n });\r\n }\r\n _onError(message, error) {\r\n console.error(message);\r\n console.info(error);\r\n }\r\n}\r\n/**\r\n * Worker side\r\n */\r\nclass SimpleWorkerServer {\r\n constructor(postMessage, requestHandlerFactory) {\r\n this._requestHandlerFactory = requestHandlerFactory;\r\n this._requestHandler = null;\r\n this._protocol = new SimpleWorkerProtocol({\r\n sendMessage: (msg, transfer) => {\r\n postMessage(msg, transfer);\r\n },\r\n handleMessage: (method, args) => this._handleMessage(method, args)\r\n });\r\n }\r\n onmessage(msg) {\r\n this._protocol.handleMessage(msg);\r\n }\r\n _handleMessage(method, args) {\r\n if (method === INITIALIZE) {\r\n return this.initialize(args[0], args[1], args[2], args[3]);\r\n }\r\n if (!this._requestHandler || typeof this._requestHandler[method] !== 'function') {\r\n return Promise.reject(new Error('Missing requestHandler or method: ' + method));\r\n }\r\n try {\r\n return Promise.resolve(this._requestHandler[method].apply(this._requestHandler, args));\r\n }\r\n catch (e) {\r\n return Promise.reject(e);\r\n }\r\n }\r\n initialize(workerId, loaderConfig, moduleId, hostMethods) {\r\n this._protocol.setWorkerId(workerId);\r\n const proxyMethodRequest = (method, args) => {\r\n return this._protocol.sendMessage(method, args);\r\n };\r\n const hostProxy = _types_js__WEBPACK_IMPORTED_MODULE_3__.createProxyObject(hostMethods, proxyMethodRequest);\r\n if (this._requestHandlerFactory) {\r\n // static request handler\r\n this._requestHandler = this._requestHandlerFactory(hostProxy);\r\n return Promise.resolve(_types_js__WEBPACK_IMPORTED_MODULE_3__.getAllMethodNames(this._requestHandler));\r\n }\r\n if (loaderConfig) {\r\n // Remove 'baseUrl', handling it is beyond scope for now\r\n if (typeof loaderConfig.baseUrl !== 'undefined') {\r\n delete loaderConfig['baseUrl'];\r\n }\r\n if (typeof loaderConfig.paths !== 'undefined') {\r\n if (typeof loaderConfig.paths.vs !== 'undefined') {\r\n delete loaderConfig.paths['vs'];\r\n }\r\n }\r\n if (typeof loaderConfig.trustedTypesPolicy !== undefined) {\r\n // don't use, it has been destroyed during serialize\r\n delete loaderConfig['trustedTypesPolicy'];\r\n }\r\n // Since this is in a web worker, enable catching errors\r\n loaderConfig.catchError = true;\r\n self.require.config(loaderConfig);\r\n }\r\n return new Promise((resolve, reject) => {\r\n // Use the global require to be sure to get the global config\r\n self.require([moduleId], (module) => {\r\n this._requestHandler = module.create(hostProxy);\r\n if (!this._requestHandler) {\r\n reject(new Error(`No RequestHandler!`));\r\n return;\r\n }\r\n resolve(_types_js__WEBPACK_IMPORTED_MODULE_3__.getAllMethodNames(this._requestHandler));\r\n }, reject);\r\n });\r\n }\r\n}\r\n/**\r\n * Called on the worker side\r\n */\r\nfunction create(postMessage) {\r\n return new SimpleWorkerServer(postMessage, null);\r\n}\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/base/common/worker/simpleWorker.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/editor/common/core/characterClassifier.js":
|
||
/*!*************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/editor/common/core/characterClassifier.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 */ \"CharacterClassifier\": () => (/* binding */ CharacterClassifier),\n/* harmony export */ \"CharacterSet\": () => (/* binding */ CharacterSet)\n/* harmony export */ });\n/* harmony import */ var _base_common_uint_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../base/common/uint.js */ \"./node_modules/monaco-editor/esm/vs/base/common/uint.js\");\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\n\r\n/**\r\n * A fast character classifier that uses a compact array for ASCII values.\r\n */\r\nclass CharacterClassifier {\r\n constructor(_defaultValue) {\r\n let defaultValue = (0,_base_common_uint_js__WEBPACK_IMPORTED_MODULE_0__.toUint8)(_defaultValue);\r\n this._defaultValue = defaultValue;\r\n this._asciiMap = CharacterClassifier._createAsciiMap(defaultValue);\r\n this._map = new Map();\r\n }\r\n static _createAsciiMap(defaultValue) {\r\n let asciiMap = new Uint8Array(256);\r\n for (let i = 0; i < 256; i++) {\r\n asciiMap[i] = defaultValue;\r\n }\r\n return asciiMap;\r\n }\r\n set(charCode, _value) {\r\n let value = (0,_base_common_uint_js__WEBPACK_IMPORTED_MODULE_0__.toUint8)(_value);\r\n if (charCode >= 0 && charCode < 256) {\r\n this._asciiMap[charCode] = value;\r\n }\r\n else {\r\n this._map.set(charCode, value);\r\n }\r\n }\r\n get(charCode) {\r\n if (charCode >= 0 && charCode < 256) {\r\n return this._asciiMap[charCode];\r\n }\r\n else {\r\n return (this._map.get(charCode) || this._defaultValue);\r\n }\r\n }\r\n}\r\nclass CharacterSet {\r\n constructor() {\r\n this._actual = new CharacterClassifier(0 /* False */);\r\n }\r\n add(charCode) {\r\n this._actual.set(charCode, 1 /* True */);\r\n }\r\n has(charCode) {\r\n return (this._actual.get(charCode) === 1 /* True */);\r\n }\r\n}\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/editor/common/core/characterClassifier.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/editor/common/core/position.js":
|
||
/*!**************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/editor/common/core/position.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 */ \"Position\": () => (/* binding */ Position)\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\n/**\r\n * A position in the editor.\r\n */\r\nclass Position {\r\n constructor(lineNumber, column) {\r\n this.lineNumber = lineNumber;\r\n this.column = column;\r\n }\r\n /**\r\n * Create a new position from this position.\r\n *\r\n * @param newLineNumber new line number\r\n * @param newColumn new column\r\n */\r\n with(newLineNumber = this.lineNumber, newColumn = this.column) {\r\n if (newLineNumber === this.lineNumber && newColumn === this.column) {\r\n return this;\r\n }\r\n else {\r\n return new Position(newLineNumber, newColumn);\r\n }\r\n }\r\n /**\r\n * Derive a new position from this position.\r\n *\r\n * @param deltaLineNumber line number delta\r\n * @param deltaColumn column delta\r\n */\r\n delta(deltaLineNumber = 0, deltaColumn = 0) {\r\n return this.with(this.lineNumber + deltaLineNumber, this.column + deltaColumn);\r\n }\r\n /**\r\n * Test if this position equals other position\r\n */\r\n equals(other) {\r\n return Position.equals(this, other);\r\n }\r\n /**\r\n * Test if position `a` equals position `b`\r\n */\r\n static equals(a, b) {\r\n if (!a && !b) {\r\n return true;\r\n }\r\n return (!!a &&\r\n !!b &&\r\n a.lineNumber === b.lineNumber &&\r\n a.column === b.column);\r\n }\r\n /**\r\n * Test if this position is before other position.\r\n * If the two positions are equal, the result will be false.\r\n */\r\n isBefore(other) {\r\n return Position.isBefore(this, other);\r\n }\r\n /**\r\n * Test if position `a` is before position `b`.\r\n * If the two positions are equal, the result will be false.\r\n */\r\n static isBefore(a, b) {\r\n if (a.lineNumber < b.lineNumber) {\r\n return true;\r\n }\r\n if (b.lineNumber < a.lineNumber) {\r\n return false;\r\n }\r\n return a.column < b.column;\r\n }\r\n /**\r\n * Test if this position is before other position.\r\n * If the two positions are equal, the result will be true.\r\n */\r\n isBeforeOrEqual(other) {\r\n return Position.isBeforeOrEqual(this, other);\r\n }\r\n /**\r\n * Test if position `a` is before position `b`.\r\n * If the two positions are equal, the result will be true.\r\n */\r\n static isBeforeOrEqual(a, b) {\r\n if (a.lineNumber < b.lineNumber) {\r\n return true;\r\n }\r\n if (b.lineNumber < a.lineNumber) {\r\n return false;\r\n }\r\n return a.column <= b.column;\r\n }\r\n /**\r\n * A function that compares positions, useful for sorting\r\n */\r\n static compare(a, b) {\r\n let aLineNumber = a.lineNumber | 0;\r\n let bLineNumber = b.lineNumber | 0;\r\n if (aLineNumber === bLineNumber) {\r\n let aColumn = a.column | 0;\r\n let bColumn = b.column | 0;\r\n return aColumn - bColumn;\r\n }\r\n return aLineNumber - bLineNumber;\r\n }\r\n /**\r\n * Clone this position.\r\n */\r\n clone() {\r\n return new Position(this.lineNumber, this.column);\r\n }\r\n /**\r\n * Convert to a human-readable representation.\r\n */\r\n toString() {\r\n return '(' + this.lineNumber + ',' + this.column + ')';\r\n }\r\n // ---\r\n /**\r\n * Create a `Position` from an `IPosition`.\r\n */\r\n static lift(pos) {\r\n return new Position(pos.lineNumber, pos.column);\r\n }\r\n /**\r\n * Test if `obj` is an `IPosition`.\r\n */\r\n static isIPosition(obj) {\r\n return (obj\r\n && (typeof obj.lineNumber === 'number')\r\n && (typeof obj.column === 'number'));\r\n }\r\n}\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/editor/common/core/position.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/editor/common/core/range.js":
|
||
/*!***********************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/editor/common/core/range.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 */ \"Range\": () => (/* binding */ Range)\n/* harmony export */ });\n/* harmony import */ var _position_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./position.js */ \"./node_modules/monaco-editor/esm/vs/editor/common/core/position.js\");\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\n\r\n/**\r\n * A range in the editor. (startLineNumber,startColumn) is <= (endLineNumber,endColumn)\r\n */\r\nclass Range {\r\n constructor(startLineNumber, startColumn, endLineNumber, endColumn) {\r\n if ((startLineNumber > endLineNumber) || (startLineNumber === endLineNumber && startColumn > endColumn)) {\r\n this.startLineNumber = endLineNumber;\r\n this.startColumn = endColumn;\r\n this.endLineNumber = startLineNumber;\r\n this.endColumn = startColumn;\r\n }\r\n else {\r\n this.startLineNumber = startLineNumber;\r\n this.startColumn = startColumn;\r\n this.endLineNumber = endLineNumber;\r\n this.endColumn = endColumn;\r\n }\r\n }\r\n /**\r\n * Test if this range is empty.\r\n */\r\n isEmpty() {\r\n return Range.isEmpty(this);\r\n }\r\n /**\r\n * Test if `range` is empty.\r\n */\r\n static isEmpty(range) {\r\n return (range.startLineNumber === range.endLineNumber && range.startColumn === range.endColumn);\r\n }\r\n /**\r\n * Test if position is in this range. If the position is at the edges, will return true.\r\n */\r\n containsPosition(position) {\r\n return Range.containsPosition(this, position);\r\n }\r\n /**\r\n * Test if `position` is in `range`. If the position is at the edges, will return true.\r\n */\r\n static containsPosition(range, position) {\r\n if (position.lineNumber < range.startLineNumber || position.lineNumber > range.endLineNumber) {\r\n return false;\r\n }\r\n if (position.lineNumber === range.startLineNumber && position.column < range.startColumn) {\r\n return false;\r\n }\r\n if (position.lineNumber === range.endLineNumber && position.column > range.endColumn) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n /**\r\n * Test if range is in this range. If the range is equal to this range, will return true.\r\n */\r\n containsRange(range) {\r\n return Range.containsRange(this, range);\r\n }\r\n /**\r\n * Test if `otherRange` is in `range`. If the ranges are equal, will return true.\r\n */\r\n static containsRange(range, otherRange) {\r\n if (otherRange.startLineNumber < range.startLineNumber || otherRange.endLineNumber < range.startLineNumber) {\r\n return false;\r\n }\r\n if (otherRange.startLineNumber > range.endLineNumber || otherRange.endLineNumber > range.endLineNumber) {\r\n return false;\r\n }\r\n if (otherRange.startLineNumber === range.startLineNumber && otherRange.startColumn < range.startColumn) {\r\n return false;\r\n }\r\n if (otherRange.endLineNumber === range.endLineNumber && otherRange.endColumn > range.endColumn) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n /**\r\n * Test if `range` is strictly in this range. `range` must start after and end before this range for the result to be true.\r\n */\r\n strictContainsRange(range) {\r\n return Range.strictContainsRange(this, range);\r\n }\r\n /**\r\n * Test if `otherRange` is strinctly in `range` (must start after, and end before). If the ranges are equal, will return false.\r\n */\r\n static strictContainsRange(range, otherRange) {\r\n if (otherRange.startLineNumber < range.startLineNumber || otherRange.endLineNumber < range.startLineNumber) {\r\n return false;\r\n }\r\n if (otherRange.startLineNumber > range.endLineNumber || otherRange.endLineNumber > range.endLineNumber) {\r\n return false;\r\n }\r\n if (otherRange.startLineNumber === range.startLineNumber && otherRange.startColumn <= range.startColumn) {\r\n return false;\r\n }\r\n if (otherRange.endLineNumber === range.endLineNumber && otherRange.endColumn >= range.endColumn) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n /**\r\n * A reunion of the two ranges.\r\n * The smallest position will be used as the start point, and the largest one as the end point.\r\n */\r\n plusRange(range) {\r\n return Range.plusRange(this, range);\r\n }\r\n /**\r\n * A reunion of the two ranges.\r\n * The smallest position will be used as the start point, and the largest one as the end point.\r\n */\r\n static plusRange(a, b) {\r\n let startLineNumber;\r\n let startColumn;\r\n let endLineNumber;\r\n let endColumn;\r\n if (b.startLineNumber < a.startLineNumber) {\r\n startLineNumber = b.startLineNumber;\r\n startColumn = b.startColumn;\r\n }\r\n else if (b.startLineNumber === a.startLineNumber) {\r\n startLineNumber = b.startLineNumber;\r\n startColumn = Math.min(b.startColumn, a.startColumn);\r\n }\r\n else {\r\n startLineNumber = a.startLineNumber;\r\n startColumn = a.startColumn;\r\n }\r\n if (b.endLineNumber > a.endLineNumber) {\r\n endLineNumber = b.endLineNumber;\r\n endColumn = b.endColumn;\r\n }\r\n else if (b.endLineNumber === a.endLineNumber) {\r\n endLineNumber = b.endLineNumber;\r\n endColumn = Math.max(b.endColumn, a.endColumn);\r\n }\r\n else {\r\n endLineNumber = a.endLineNumber;\r\n endColumn = a.endColumn;\r\n }\r\n return new Range(startLineNumber, startColumn, endLineNumber, endColumn);\r\n }\r\n /**\r\n * A intersection of the two ranges.\r\n */\r\n intersectRanges(range) {\r\n return Range.intersectRanges(this, range);\r\n }\r\n /**\r\n * A intersection of the two ranges.\r\n */\r\n static intersectRanges(a, b) {\r\n let resultStartLineNumber = a.startLineNumber;\r\n let resultStartColumn = a.startColumn;\r\n let resultEndLineNumber = a.endLineNumber;\r\n let resultEndColumn = a.endColumn;\r\n let otherStartLineNumber = b.startLineNumber;\r\n let otherStartColumn = b.startColumn;\r\n let otherEndLineNumber = b.endLineNumber;\r\n let otherEndColumn = b.endColumn;\r\n if (resultStartLineNumber < otherStartLineNumber) {\r\n resultStartLineNumber = otherStartLineNumber;\r\n resultStartColumn = otherStartColumn;\r\n }\r\n else if (resultStartLineNumber === otherStartLineNumber) {\r\n resultStartColumn = Math.max(resultStartColumn, otherStartColumn);\r\n }\r\n if (resultEndLineNumber > otherEndLineNumber) {\r\n resultEndLineNumber = otherEndLineNumber;\r\n resultEndColumn = otherEndColumn;\r\n }\r\n else if (resultEndLineNumber === otherEndLineNumber) {\r\n resultEndColumn = Math.min(resultEndColumn, otherEndColumn);\r\n }\r\n // Check if selection is now empty\r\n if (resultStartLineNumber > resultEndLineNumber) {\r\n return null;\r\n }\r\n if (resultStartLineNumber === resultEndLineNumber && resultStartColumn > resultEndColumn) {\r\n return null;\r\n }\r\n return new Range(resultStartLineNumber, resultStartColumn, resultEndLineNumber, resultEndColumn);\r\n }\r\n /**\r\n * Test if this range equals other.\r\n */\r\n equalsRange(other) {\r\n return Range.equalsRange(this, other);\r\n }\r\n /**\r\n * Test if range `a` equals `b`.\r\n */\r\n static equalsRange(a, b) {\r\n return (!!a &&\r\n !!b &&\r\n a.startLineNumber === b.startLineNumber &&\r\n a.startColumn === b.startColumn &&\r\n a.endLineNumber === b.endLineNumber &&\r\n a.endColumn === b.endColumn);\r\n }\r\n /**\r\n * Return the end position (which will be after or equal to the start position)\r\n */\r\n getEndPosition() {\r\n return Range.getEndPosition(this);\r\n }\r\n /**\r\n * Return the end position (which will be after or equal to the start position)\r\n */\r\n static getEndPosition(range) {\r\n return new _position_js__WEBPACK_IMPORTED_MODULE_0__.Position(range.endLineNumber, range.endColumn);\r\n }\r\n /**\r\n * Return the start position (which will be before or equal to the end position)\r\n */\r\n getStartPosition() {\r\n return Range.getStartPosition(this);\r\n }\r\n /**\r\n * Return the start position (which will be before or equal to the end position)\r\n */\r\n static getStartPosition(range) {\r\n return new _position_js__WEBPACK_IMPORTED_MODULE_0__.Position(range.startLineNumber, range.startColumn);\r\n }\r\n /**\r\n * Transform to a user presentable string representation.\r\n */\r\n toString() {\r\n return '[' + this.startLineNumber + ',' + this.startColumn + ' -> ' + this.endLineNumber + ',' + this.endColumn + ']';\r\n }\r\n /**\r\n * Create a new range using this range's start position, and using endLineNumber and endColumn as the end position.\r\n */\r\n setEndPosition(endLineNumber, endColumn) {\r\n return new Range(this.startLineNumber, this.startColumn, endLineNumber, endColumn);\r\n }\r\n /**\r\n * Create a new range using this range's end position, and using startLineNumber and startColumn as the start position.\r\n */\r\n setStartPosition(startLineNumber, startColumn) {\r\n return new Range(startLineNumber, startColumn, this.endLineNumber, this.endColumn);\r\n }\r\n /**\r\n * Create a new empty range using this range's start position.\r\n */\r\n collapseToStart() {\r\n return Range.collapseToStart(this);\r\n }\r\n /**\r\n * Create a new empty range using this range's start position.\r\n */\r\n static collapseToStart(range) {\r\n return new Range(range.startLineNumber, range.startColumn, range.startLineNumber, range.startColumn);\r\n }\r\n // ---\r\n static fromPositions(start, end = start) {\r\n return new Range(start.lineNumber, start.column, end.lineNumber, end.column);\r\n }\r\n static lift(range) {\r\n if (!range) {\r\n return null;\r\n }\r\n return new Range(range.startLineNumber, range.startColumn, range.endLineNumber, range.endColumn);\r\n }\r\n /**\r\n * Test if `obj` is an `IRange`.\r\n */\r\n static isIRange(obj) {\r\n return (obj\r\n && (typeof obj.startLineNumber === 'number')\r\n && (typeof obj.startColumn === 'number')\r\n && (typeof obj.endLineNumber === 'number')\r\n && (typeof obj.endColumn === 'number'));\r\n }\r\n /**\r\n * Test if the two ranges are touching in any way.\r\n */\r\n static areIntersectingOrTouching(a, b) {\r\n // Check if `a` is before `b`\r\n if (a.endLineNumber < b.startLineNumber || (a.endLineNumber === b.startLineNumber && a.endColumn < b.startColumn)) {\r\n return false;\r\n }\r\n // Check if `b` is before `a`\r\n if (b.endLineNumber < a.startLineNumber || (b.endLineNumber === a.startLineNumber && b.endColumn < a.startColumn)) {\r\n return false;\r\n }\r\n // These ranges must intersect\r\n return true;\r\n }\r\n /**\r\n * Test if the two ranges are intersecting. If the ranges are touching it returns true.\r\n */\r\n static areIntersecting(a, b) {\r\n // Check if `a` is before `b`\r\n if (a.endLineNumber < b.startLineNumber || (a.endLineNumber === b.startLineNumber && a.endColumn <= b.startColumn)) {\r\n return false;\r\n }\r\n // Check if `b` is before `a`\r\n if (b.endLineNumber < a.startLineNumber || (b.endLineNumber === a.startLineNumber && b.endColumn <= a.startColumn)) {\r\n return false;\r\n }\r\n // These ranges must intersect\r\n return true;\r\n }\r\n /**\r\n * A function that compares ranges, useful for sorting ranges\r\n * It will first compare ranges on the startPosition and then on the endPosition\r\n */\r\n static compareRangesUsingStarts(a, b) {\r\n if (a && b) {\r\n const aStartLineNumber = a.startLineNumber | 0;\r\n const bStartLineNumber = b.startLineNumber | 0;\r\n if (aStartLineNumber === bStartLineNumber) {\r\n const aStartColumn = a.startColumn | 0;\r\n const bStartColumn = b.startColumn | 0;\r\n if (aStartColumn === bStartColumn) {\r\n const aEndLineNumber = a.endLineNumber | 0;\r\n const bEndLineNumber = b.endLineNumber | 0;\r\n if (aEndLineNumber === bEndLineNumber) {\r\n const aEndColumn = a.endColumn | 0;\r\n const bEndColumn = b.endColumn | 0;\r\n return aEndColumn - bEndColumn;\r\n }\r\n return aEndLineNumber - bEndLineNumber;\r\n }\r\n return aStartColumn - bStartColumn;\r\n }\r\n return aStartLineNumber - bStartLineNumber;\r\n }\r\n const aExists = (a ? 1 : 0);\r\n const bExists = (b ? 1 : 0);\r\n return aExists - bExists;\r\n }\r\n /**\r\n * A function that compares ranges, useful for sorting ranges\r\n * It will first compare ranges on the endPosition and then on the startPosition\r\n */\r\n static compareRangesUsingEnds(a, b) {\r\n if (a.endLineNumber === b.endLineNumber) {\r\n if (a.endColumn === b.endColumn) {\r\n if (a.startLineNumber === b.startLineNumber) {\r\n return a.startColumn - b.startColumn;\r\n }\r\n return a.startLineNumber - b.startLineNumber;\r\n }\r\n return a.endColumn - b.endColumn;\r\n }\r\n return a.endLineNumber - b.endLineNumber;\r\n }\r\n /**\r\n * Test if the range spans multiple lines.\r\n */\r\n static spansMultipleLines(range) {\r\n return range.endLineNumber > range.startLineNumber;\r\n }\r\n}\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/editor/common/core/range.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/editor/common/core/selection.js":
|
||
/*!***************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/editor/common/core/selection.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 */ \"Selection\": () => (/* binding */ Selection)\n/* harmony export */ });\n/* harmony import */ var _position_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./position.js */ \"./node_modules/monaco-editor/esm/vs/editor/common/core/position.js\");\n/* harmony import */ var _range_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./range.js */ \"./node_modules/monaco-editor/esm/vs/editor/common/core/range.js\");\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\n\r\n\r\n/**\r\n * A selection in the editor.\r\n * The selection is a range that has an orientation.\r\n */\r\nclass Selection extends _range_js__WEBPACK_IMPORTED_MODULE_1__.Range {\r\n constructor(selectionStartLineNumber, selectionStartColumn, positionLineNumber, positionColumn) {\r\n super(selectionStartLineNumber, selectionStartColumn, positionLineNumber, positionColumn);\r\n this.selectionStartLineNumber = selectionStartLineNumber;\r\n this.selectionStartColumn = selectionStartColumn;\r\n this.positionLineNumber = positionLineNumber;\r\n this.positionColumn = positionColumn;\r\n }\r\n /**\r\n * Transform to a human-readable representation.\r\n */\r\n toString() {\r\n return '[' + this.selectionStartLineNumber + ',' + this.selectionStartColumn + ' -> ' + this.positionLineNumber + ',' + this.positionColumn + ']';\r\n }\r\n /**\r\n * Test if equals other selection.\r\n */\r\n equalsSelection(other) {\r\n return (Selection.selectionsEqual(this, other));\r\n }\r\n /**\r\n * Test if the two selections are equal.\r\n */\r\n static selectionsEqual(a, b) {\r\n return (a.selectionStartLineNumber === b.selectionStartLineNumber &&\r\n a.selectionStartColumn === b.selectionStartColumn &&\r\n a.positionLineNumber === b.positionLineNumber &&\r\n a.positionColumn === b.positionColumn);\r\n }\r\n /**\r\n * Get directions (LTR or RTL).\r\n */\r\n getDirection() {\r\n if (this.selectionStartLineNumber === this.startLineNumber && this.selectionStartColumn === this.startColumn) {\r\n return 0 /* LTR */;\r\n }\r\n return 1 /* RTL */;\r\n }\r\n /**\r\n * Create a new selection with a different `positionLineNumber` and `positionColumn`.\r\n */\r\n setEndPosition(endLineNumber, endColumn) {\r\n if (this.getDirection() === 0 /* LTR */) {\r\n return new Selection(this.startLineNumber, this.startColumn, endLineNumber, endColumn);\r\n }\r\n return new Selection(endLineNumber, endColumn, this.startLineNumber, this.startColumn);\r\n }\r\n /**\r\n * Get the position at `positionLineNumber` and `positionColumn`.\r\n */\r\n getPosition() {\r\n return new _position_js__WEBPACK_IMPORTED_MODULE_0__.Position(this.positionLineNumber, this.positionColumn);\r\n }\r\n /**\r\n * Create a new selection with a different `selectionStartLineNumber` and `selectionStartColumn`.\r\n */\r\n setStartPosition(startLineNumber, startColumn) {\r\n if (this.getDirection() === 0 /* LTR */) {\r\n return new Selection(startLineNumber, startColumn, this.endLineNumber, this.endColumn);\r\n }\r\n return new Selection(this.endLineNumber, this.endColumn, startLineNumber, startColumn);\r\n }\r\n // ----\r\n /**\r\n * Create a `Selection` from one or two positions\r\n */\r\n static fromPositions(start, end = start) {\r\n return new Selection(start.lineNumber, start.column, end.lineNumber, end.column);\r\n }\r\n /**\r\n * Create a `Selection` from an `ISelection`.\r\n */\r\n static liftSelection(sel) {\r\n return new Selection(sel.selectionStartLineNumber, sel.selectionStartColumn, sel.positionLineNumber, sel.positionColumn);\r\n }\r\n /**\r\n * `a` equals `b`.\r\n */\r\n static selectionsArrEqual(a, b) {\r\n if (a && !b || !a && b) {\r\n return false;\r\n }\r\n if (!a && !b) {\r\n return true;\r\n }\r\n if (a.length !== b.length) {\r\n return false;\r\n }\r\n for (let i = 0, len = a.length; i < len; i++) {\r\n if (!this.selectionsEqual(a[i], b[i])) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n }\r\n /**\r\n * Test if `obj` is an `ISelection`.\r\n */\r\n static isISelection(obj) {\r\n return (obj\r\n && (typeof obj.selectionStartLineNumber === 'number')\r\n && (typeof obj.selectionStartColumn === 'number')\r\n && (typeof obj.positionLineNumber === 'number')\r\n && (typeof obj.positionColumn === 'number'));\r\n }\r\n /**\r\n * Create with a direction.\r\n */\r\n static createWithDirection(startLineNumber, startColumn, endLineNumber, endColumn, direction) {\r\n if (direction === 0 /* LTR */) {\r\n return new Selection(startLineNumber, startColumn, endLineNumber, endColumn);\r\n }\r\n return new Selection(endLineNumber, endColumn, startLineNumber, startColumn);\r\n }\r\n}\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/editor/common/core/selection.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/editor/common/core/token.js":
|
||
/*!***********************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/editor/common/core/token.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 */ \"Token\": () => (/* binding */ Token),\n/* harmony export */ \"TokenizationResult\": () => (/* binding */ TokenizationResult),\n/* harmony export */ \"TokenizationResult2\": () => (/* binding */ TokenizationResult2)\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\nclass Token {\r\n constructor(offset, type, language) {\r\n this.offset = offset | 0; // @perf\r\n this.type = type;\r\n this.language = language;\r\n }\r\n toString() {\r\n return '(' + this.offset + ', ' + this.type + ')';\r\n }\r\n}\r\nclass TokenizationResult {\r\n constructor(tokens, endState) {\r\n this.tokens = tokens;\r\n this.endState = endState;\r\n }\r\n}\r\nclass TokenizationResult2 {\r\n constructor(tokens, endState) {\r\n this.tokens = tokens;\r\n this.endState = endState;\r\n }\r\n}\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/editor/common/core/token.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/editor/common/diff/diffComputer.js":
|
||
/*!******************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/editor/common/diff/diffComputer.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 */ \"DiffComputer\": () => (/* binding */ DiffComputer)\n/* harmony export */ });\n/* harmony import */ var _base_common_diff_diff_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../base/common/diff/diff.js */ \"./node_modules/monaco-editor/esm/vs/base/common/diff/diff.js\");\n/* harmony import */ var _base_common_strings_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../base/common/strings.js */ \"./node_modules/monaco-editor/esm/vs/base/common/strings.js\");\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\n\r\n\r\nconst MINIMUM_MATCHING_CHARACTER_LENGTH = 3;\r\nfunction computeDiff(originalSequence, modifiedSequence, continueProcessingPredicate, pretty) {\r\n const diffAlgo = new _base_common_diff_diff_js__WEBPACK_IMPORTED_MODULE_0__.LcsDiff(originalSequence, modifiedSequence, continueProcessingPredicate);\r\n return diffAlgo.ComputeDiff(pretty);\r\n}\r\nclass LineSequence {\r\n constructor(lines) {\r\n const startColumns = [];\r\n const endColumns = [];\r\n for (let i = 0, length = lines.length; i < length; i++) {\r\n startColumns[i] = getFirstNonBlankColumn(lines[i], 1);\r\n endColumns[i] = getLastNonBlankColumn(lines[i], 1);\r\n }\r\n this.lines = lines;\r\n this._startColumns = startColumns;\r\n this._endColumns = endColumns;\r\n }\r\n getElements() {\r\n const elements = [];\r\n for (let i = 0, len = this.lines.length; i < len; i++) {\r\n elements[i] = this.lines[i].substring(this._startColumns[i] - 1, this._endColumns[i] - 1);\r\n }\r\n return elements;\r\n }\r\n getStartLineNumber(i) {\r\n return i + 1;\r\n }\r\n getEndLineNumber(i) {\r\n return i + 1;\r\n }\r\n createCharSequence(shouldIgnoreTrimWhitespace, startIndex, endIndex) {\r\n const charCodes = [];\r\n const lineNumbers = [];\r\n const columns = [];\r\n let len = 0;\r\n for (let index = startIndex; index <= endIndex; index++) {\r\n const lineContent = this.lines[index];\r\n const startColumn = (shouldIgnoreTrimWhitespace ? this._startColumns[index] : 1);\r\n const endColumn = (shouldIgnoreTrimWhitespace ? this._endColumns[index] : lineContent.length + 1);\r\n for (let col = startColumn; col < endColumn; col++) {\r\n charCodes[len] = lineContent.charCodeAt(col - 1);\r\n lineNumbers[len] = index + 1;\r\n columns[len] = col;\r\n len++;\r\n }\r\n }\r\n return new CharSequence(charCodes, lineNumbers, columns);\r\n }\r\n}\r\nclass CharSequence {\r\n constructor(charCodes, lineNumbers, columns) {\r\n this._charCodes = charCodes;\r\n this._lineNumbers = lineNumbers;\r\n this._columns = columns;\r\n }\r\n getElements() {\r\n return this._charCodes;\r\n }\r\n getStartLineNumber(i) {\r\n return this._lineNumbers[i];\r\n }\r\n getStartColumn(i) {\r\n return this._columns[i];\r\n }\r\n getEndLineNumber(i) {\r\n return this._lineNumbers[i];\r\n }\r\n getEndColumn(i) {\r\n return this._columns[i] + 1;\r\n }\r\n}\r\nclass CharChange {\r\n constructor(originalStartLineNumber, originalStartColumn, originalEndLineNumber, originalEndColumn, modifiedStartLineNumber, modifiedStartColumn, modifiedEndLineNumber, modifiedEndColumn) {\r\n this.originalStartLineNumber = originalStartLineNumber;\r\n this.originalStartColumn = originalStartColumn;\r\n this.originalEndLineNumber = originalEndLineNumber;\r\n this.originalEndColumn = originalEndColumn;\r\n this.modifiedStartLineNumber = modifiedStartLineNumber;\r\n this.modifiedStartColumn = modifiedStartColumn;\r\n this.modifiedEndLineNumber = modifiedEndLineNumber;\r\n this.modifiedEndColumn = modifiedEndColumn;\r\n }\r\n static createFromDiffChange(diffChange, originalCharSequence, modifiedCharSequence) {\r\n let originalStartLineNumber;\r\n let originalStartColumn;\r\n let originalEndLineNumber;\r\n let originalEndColumn;\r\n let modifiedStartLineNumber;\r\n let modifiedStartColumn;\r\n let modifiedEndLineNumber;\r\n let modifiedEndColumn;\r\n if (diffChange.originalLength === 0) {\r\n originalStartLineNumber = 0;\r\n originalStartColumn = 0;\r\n originalEndLineNumber = 0;\r\n originalEndColumn = 0;\r\n }\r\n else {\r\n originalStartLineNumber = originalCharSequence.getStartLineNumber(diffChange.originalStart);\r\n originalStartColumn = originalCharSequence.getStartColumn(diffChange.originalStart);\r\n originalEndLineNumber = originalCharSequence.getEndLineNumber(diffChange.originalStart + diffChange.originalLength - 1);\r\n originalEndColumn = originalCharSequence.getEndColumn(diffChange.originalStart + diffChange.originalLength - 1);\r\n }\r\n if (diffChange.modifiedLength === 0) {\r\n modifiedStartLineNumber = 0;\r\n modifiedStartColumn = 0;\r\n modifiedEndLineNumber = 0;\r\n modifiedEndColumn = 0;\r\n }\r\n else {\r\n modifiedStartLineNumber = modifiedCharSequence.getStartLineNumber(diffChange.modifiedStart);\r\n modifiedStartColumn = modifiedCharSequence.getStartColumn(diffChange.modifiedStart);\r\n modifiedEndLineNumber = modifiedCharSequence.getEndLineNumber(diffChange.modifiedStart + diffChange.modifiedLength - 1);\r\n modifiedEndColumn = modifiedCharSequence.getEndColumn(diffChange.modifiedStart + diffChange.modifiedLength - 1);\r\n }\r\n return new CharChange(originalStartLineNumber, originalStartColumn, originalEndLineNumber, originalEndColumn, modifiedStartLineNumber, modifiedStartColumn, modifiedEndLineNumber, modifiedEndColumn);\r\n }\r\n}\r\nfunction postProcessCharChanges(rawChanges) {\r\n if (rawChanges.length <= 1) {\r\n return rawChanges;\r\n }\r\n const result = [rawChanges[0]];\r\n let prevChange = result[0];\r\n for (let i = 1, len = rawChanges.length; i < len; i++) {\r\n const currChange = rawChanges[i];\r\n const originalMatchingLength = currChange.originalStart - (prevChange.originalStart + prevChange.originalLength);\r\n const modifiedMatchingLength = currChange.modifiedStart - (prevChange.modifiedStart + prevChange.modifiedLength);\r\n // Both of the above should be equal, but the continueProcessingPredicate may prevent this from being true\r\n const matchingLength = Math.min(originalMatchingLength, modifiedMatchingLength);\r\n if (matchingLength < MINIMUM_MATCHING_CHARACTER_LENGTH) {\r\n // Merge the current change into the previous one\r\n prevChange.originalLength = (currChange.originalStart + currChange.originalLength) - prevChange.originalStart;\r\n prevChange.modifiedLength = (currChange.modifiedStart + currChange.modifiedLength) - prevChange.modifiedStart;\r\n }\r\n else {\r\n // Add the current change\r\n result.push(currChange);\r\n prevChange = currChange;\r\n }\r\n }\r\n return result;\r\n}\r\nclass LineChange {\r\n constructor(originalStartLineNumber, originalEndLineNumber, modifiedStartLineNumber, modifiedEndLineNumber, charChanges) {\r\n this.originalStartLineNumber = originalStartLineNumber;\r\n this.originalEndLineNumber = originalEndLineNumber;\r\n this.modifiedStartLineNumber = modifiedStartLineNumber;\r\n this.modifiedEndLineNumber = modifiedEndLineNumber;\r\n this.charChanges = charChanges;\r\n }\r\n static createFromDiffResult(shouldIgnoreTrimWhitespace, diffChange, originalLineSequence, modifiedLineSequence, continueCharDiff, shouldComputeCharChanges, shouldPostProcessCharChanges) {\r\n let originalStartLineNumber;\r\n let originalEndLineNumber;\r\n let modifiedStartLineNumber;\r\n let modifiedEndLineNumber;\r\n let charChanges = undefined;\r\n if (diffChange.originalLength === 0) {\r\n originalStartLineNumber = originalLineSequence.getStartLineNumber(diffChange.originalStart) - 1;\r\n originalEndLineNumber = 0;\r\n }\r\n else {\r\n originalStartLineNumber = originalLineSequence.getStartLineNumber(diffChange.originalStart);\r\n originalEndLineNumber = originalLineSequence.getEndLineNumber(diffChange.originalStart + diffChange.originalLength - 1);\r\n }\r\n if (diffChange.modifiedLength === 0) {\r\n modifiedStartLineNumber = modifiedLineSequence.getStartLineNumber(diffChange.modifiedStart) - 1;\r\n modifiedEndLineNumber = 0;\r\n }\r\n else {\r\n modifiedStartLineNumber = modifiedLineSequence.getStartLineNumber(diffChange.modifiedStart);\r\n modifiedEndLineNumber = modifiedLineSequence.getEndLineNumber(diffChange.modifiedStart + diffChange.modifiedLength - 1);\r\n }\r\n if (shouldComputeCharChanges && diffChange.originalLength > 0 && diffChange.originalLength < 20 && diffChange.modifiedLength > 0 && diffChange.modifiedLength < 20 && continueCharDiff()) {\r\n // Compute character changes for diff chunks of at most 20 lines...\r\n const originalCharSequence = originalLineSequence.createCharSequence(shouldIgnoreTrimWhitespace, diffChange.originalStart, diffChange.originalStart + diffChange.originalLength - 1);\r\n const modifiedCharSequence = modifiedLineSequence.createCharSequence(shouldIgnoreTrimWhitespace, diffChange.modifiedStart, diffChange.modifiedStart + diffChange.modifiedLength - 1);\r\n let rawChanges = computeDiff(originalCharSequence, modifiedCharSequence, continueCharDiff, true).changes;\r\n if (shouldPostProcessCharChanges) {\r\n rawChanges = postProcessCharChanges(rawChanges);\r\n }\r\n charChanges = [];\r\n for (let i = 0, length = rawChanges.length; i < length; i++) {\r\n charChanges.push(CharChange.createFromDiffChange(rawChanges[i], originalCharSequence, modifiedCharSequence));\r\n }\r\n }\r\n return new LineChange(originalStartLineNumber, originalEndLineNumber, modifiedStartLineNumber, modifiedEndLineNumber, charChanges);\r\n }\r\n}\r\nclass DiffComputer {\r\n constructor(originalLines, modifiedLines, opts) {\r\n this.shouldComputeCharChanges = opts.shouldComputeCharChanges;\r\n this.shouldPostProcessCharChanges = opts.shouldPostProcessCharChanges;\r\n this.shouldIgnoreTrimWhitespace = opts.shouldIgnoreTrimWhitespace;\r\n this.shouldMakePrettyDiff = opts.shouldMakePrettyDiff;\r\n this.originalLines = originalLines;\r\n this.modifiedLines = modifiedLines;\r\n this.original = new LineSequence(originalLines);\r\n this.modified = new LineSequence(modifiedLines);\r\n this.continueLineDiff = createContinueProcessingPredicate(opts.maxComputationTime);\r\n this.continueCharDiff = createContinueProcessingPredicate(opts.maxComputationTime === 0 ? 0 : Math.min(opts.maxComputationTime, 5000)); // never run after 5s for character changes...\r\n }\r\n computeDiff() {\r\n if (this.original.lines.length === 1 && this.original.lines[0].length === 0) {\r\n // empty original => fast path\r\n if (this.modified.lines.length === 1 && this.modified.lines[0].length === 0) {\r\n return {\r\n quitEarly: false,\r\n changes: []\r\n };\r\n }\r\n return {\r\n quitEarly: false,\r\n changes: [{\r\n originalStartLineNumber: 1,\r\n originalEndLineNumber: 1,\r\n modifiedStartLineNumber: 1,\r\n modifiedEndLineNumber: this.modified.lines.length,\r\n charChanges: [{\r\n modifiedEndColumn: 0,\r\n modifiedEndLineNumber: 0,\r\n modifiedStartColumn: 0,\r\n modifiedStartLineNumber: 0,\r\n originalEndColumn: 0,\r\n originalEndLineNumber: 0,\r\n originalStartColumn: 0,\r\n originalStartLineNumber: 0\r\n }]\r\n }]\r\n };\r\n }\r\n if (this.modified.lines.length === 1 && this.modified.lines[0].length === 0) {\r\n // empty modified => fast path\r\n return {\r\n quitEarly: false,\r\n changes: [{\r\n originalStartLineNumber: 1,\r\n originalEndLineNumber: this.original.lines.length,\r\n modifiedStartLineNumber: 1,\r\n modifiedEndLineNumber: 1,\r\n charChanges: [{\r\n modifiedEndColumn: 0,\r\n modifiedEndLineNumber: 0,\r\n modifiedStartColumn: 0,\r\n modifiedStartLineNumber: 0,\r\n originalEndColumn: 0,\r\n originalEndLineNumber: 0,\r\n originalStartColumn: 0,\r\n originalStartLineNumber: 0\r\n }]\r\n }]\r\n };\r\n }\r\n const diffResult = computeDiff(this.original, this.modified, this.continueLineDiff, this.shouldMakePrettyDiff);\r\n const rawChanges = diffResult.changes;\r\n const quitEarly = diffResult.quitEarly;\r\n // The diff is always computed with ignoring trim whitespace\r\n // This ensures we get the prettiest diff\r\n if (this.shouldIgnoreTrimWhitespace) {\r\n const lineChanges = [];\r\n for (let i = 0, length = rawChanges.length; i < length; i++) {\r\n lineChanges.push(LineChange.createFromDiffResult(this.shouldIgnoreTrimWhitespace, rawChanges[i], this.original, this.modified, this.continueCharDiff, this.shouldComputeCharChanges, this.shouldPostProcessCharChanges));\r\n }\r\n return {\r\n quitEarly: quitEarly,\r\n changes: lineChanges\r\n };\r\n }\r\n // Need to post-process and introduce changes where the trim whitespace is different\r\n // Note that we are looping starting at -1 to also cover the lines before the first change\r\n const result = [];\r\n let originalLineIndex = 0;\r\n let modifiedLineIndex = 0;\r\n for (let i = -1 /* !!!! */, len = rawChanges.length; i < len; i++) {\r\n const nextChange = (i + 1 < len ? rawChanges[i + 1] : null);\r\n const originalStop = (nextChange ? nextChange.originalStart : this.originalLines.length);\r\n const modifiedStop = (nextChange ? nextChange.modifiedStart : this.modifiedLines.length);\r\n while (originalLineIndex < originalStop && modifiedLineIndex < modifiedStop) {\r\n const originalLine = this.originalLines[originalLineIndex];\r\n const modifiedLine = this.modifiedLines[modifiedLineIndex];\r\n if (originalLine !== modifiedLine) {\r\n // These lines differ only in trim whitespace\r\n // Check the leading whitespace\r\n {\r\n let originalStartColumn = getFirstNonBlankColumn(originalLine, 1);\r\n let modifiedStartColumn = getFirstNonBlankColumn(modifiedLine, 1);\r\n while (originalStartColumn > 1 && modifiedStartColumn > 1) {\r\n const originalChar = originalLine.charCodeAt(originalStartColumn - 2);\r\n const modifiedChar = modifiedLine.charCodeAt(modifiedStartColumn - 2);\r\n if (originalChar !== modifiedChar) {\r\n break;\r\n }\r\n originalStartColumn--;\r\n modifiedStartColumn--;\r\n }\r\n if (originalStartColumn > 1 || modifiedStartColumn > 1) {\r\n this._pushTrimWhitespaceCharChange(result, originalLineIndex + 1, 1, originalStartColumn, modifiedLineIndex + 1, 1, modifiedStartColumn);\r\n }\r\n }\r\n // Check the trailing whitespace\r\n {\r\n let originalEndColumn = getLastNonBlankColumn(originalLine, 1);\r\n let modifiedEndColumn = getLastNonBlankColumn(modifiedLine, 1);\r\n const originalMaxColumn = originalLine.length + 1;\r\n const modifiedMaxColumn = modifiedLine.length + 1;\r\n while (originalEndColumn < originalMaxColumn && modifiedEndColumn < modifiedMaxColumn) {\r\n const originalChar = originalLine.charCodeAt(originalEndColumn - 1);\r\n const modifiedChar = originalLine.charCodeAt(modifiedEndColumn - 1);\r\n if (originalChar !== modifiedChar) {\r\n break;\r\n }\r\n originalEndColumn++;\r\n modifiedEndColumn++;\r\n }\r\n if (originalEndColumn < originalMaxColumn || modifiedEndColumn < modifiedMaxColumn) {\r\n this._pushTrimWhitespaceCharChange(result, originalLineIndex + 1, originalEndColumn, originalMaxColumn, modifiedLineIndex + 1, modifiedEndColumn, modifiedMaxColumn);\r\n }\r\n }\r\n }\r\n originalLineIndex++;\r\n modifiedLineIndex++;\r\n }\r\n if (nextChange) {\r\n // Emit the actual change\r\n result.push(LineChange.createFromDiffResult(this.shouldIgnoreTrimWhitespace, nextChange, this.original, this.modified, this.continueCharDiff, this.shouldComputeCharChanges, this.shouldPostProcessCharChanges));\r\n originalLineIndex += nextChange.originalLength;\r\n modifiedLineIndex += nextChange.modifiedLength;\r\n }\r\n }\r\n return {\r\n quitEarly: quitEarly,\r\n changes: result\r\n };\r\n }\r\n _pushTrimWhitespaceCharChange(result, originalLineNumber, originalStartColumn, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedEndColumn) {\r\n if (this._mergeTrimWhitespaceCharChange(result, originalLineNumber, originalStartColumn, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedEndColumn)) {\r\n // Merged into previous\r\n return;\r\n }\r\n let charChanges = undefined;\r\n if (this.shouldComputeCharChanges) {\r\n charChanges = [new CharChange(originalLineNumber, originalStartColumn, originalLineNumber, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedLineNumber, modifiedEndColumn)];\r\n }\r\n result.push(new LineChange(originalLineNumber, originalLineNumber, modifiedLineNumber, modifiedLineNumber, charChanges));\r\n }\r\n _mergeTrimWhitespaceCharChange(result, originalLineNumber, originalStartColumn, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedEndColumn) {\r\n const len = result.length;\r\n if (len === 0) {\r\n return false;\r\n }\r\n const prevChange = result[len - 1];\r\n if (prevChange.originalEndLineNumber === 0 || prevChange.modifiedEndLineNumber === 0) {\r\n // Don't merge with inserts/deletes\r\n return false;\r\n }\r\n if (prevChange.originalEndLineNumber + 1 === originalLineNumber && prevChange.modifiedEndLineNumber + 1 === modifiedLineNumber) {\r\n prevChange.originalEndLineNumber = originalLineNumber;\r\n prevChange.modifiedEndLineNumber = modifiedLineNumber;\r\n if (this.shouldComputeCharChanges && prevChange.charChanges) {\r\n prevChange.charChanges.push(new CharChange(originalLineNumber, originalStartColumn, originalLineNumber, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedLineNumber, modifiedEndColumn));\r\n }\r\n return true;\r\n }\r\n return false;\r\n }\r\n}\r\nfunction getFirstNonBlankColumn(txt, defaultValue) {\r\n const r = _base_common_strings_js__WEBPACK_IMPORTED_MODULE_1__.firstNonWhitespaceIndex(txt);\r\n if (r === -1) {\r\n return defaultValue;\r\n }\r\n return r + 1;\r\n}\r\nfunction getLastNonBlankColumn(txt, defaultValue) {\r\n const r = _base_common_strings_js__WEBPACK_IMPORTED_MODULE_1__.lastNonWhitespaceIndex(txt);\r\n if (r === -1) {\r\n return defaultValue;\r\n }\r\n return r + 2;\r\n}\r\nfunction createContinueProcessingPredicate(maximumRuntime) {\r\n if (maximumRuntime === 0) {\r\n return () => true;\r\n }\r\n const startTime = Date.now();\r\n return () => {\r\n return Date.now() - startTime < maximumRuntime;\r\n };\r\n}\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/editor/common/diff/diffComputer.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/editor/common/model/mirrorTextModel.js":
|
||
/*!**********************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/editor/common/model/mirrorTextModel.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 */ \"MirrorTextModel\": () => (/* binding */ MirrorTextModel)\n/* harmony export */ });\n/* harmony import */ var _base_common_strings_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../base/common/strings.js */ \"./node_modules/monaco-editor/esm/vs/base/common/strings.js\");\n/* harmony import */ var _core_position_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/position.js */ \"./node_modules/monaco-editor/esm/vs/editor/common/core/position.js\");\n/* harmony import */ var _viewModel_prefixSumComputer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../viewModel/prefixSumComputer.js */ \"./node_modules/monaco-editor/esm/vs/editor/common/viewModel/prefixSumComputer.js\");\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\n\r\n\r\n\r\nclass MirrorTextModel {\r\n constructor(uri, lines, eol, versionId) {\r\n this._uri = uri;\r\n this._lines = lines;\r\n this._eol = eol;\r\n this._versionId = versionId;\r\n this._lineStarts = null;\r\n this._cachedTextValue = null;\r\n }\r\n dispose() {\r\n this._lines.length = 0;\r\n }\r\n getText() {\r\n if (this._cachedTextValue === null) {\r\n this._cachedTextValue = this._lines.join(this._eol);\r\n }\r\n return this._cachedTextValue;\r\n }\r\n onEvents(e) {\r\n if (e.eol && e.eol !== this._eol) {\r\n this._eol = e.eol;\r\n this._lineStarts = null;\r\n }\r\n // Update my lines\r\n const changes = e.changes;\r\n for (const change of changes) {\r\n this._acceptDeleteRange(change.range);\r\n this._acceptInsertText(new _core_position_js__WEBPACK_IMPORTED_MODULE_1__.Position(change.range.startLineNumber, change.range.startColumn), change.text);\r\n }\r\n this._versionId = e.versionId;\r\n this._cachedTextValue = null;\r\n }\r\n _ensureLineStarts() {\r\n if (!this._lineStarts) {\r\n const eolLength = this._eol.length;\r\n const linesLength = this._lines.length;\r\n const lineStartValues = new Uint32Array(linesLength);\r\n for (let i = 0; i < linesLength; i++) {\r\n lineStartValues[i] = this._lines[i].length + eolLength;\r\n }\r\n this._lineStarts = new _viewModel_prefixSumComputer_js__WEBPACK_IMPORTED_MODULE_2__.PrefixSumComputer(lineStartValues);\r\n }\r\n }\r\n /**\r\n * All changes to a line's text go through this method\r\n */\r\n _setLineText(lineIndex, newValue) {\r\n this._lines[lineIndex] = newValue;\r\n if (this._lineStarts) {\r\n // update prefix sum\r\n this._lineStarts.changeValue(lineIndex, this._lines[lineIndex].length + this._eol.length);\r\n }\r\n }\r\n _acceptDeleteRange(range) {\r\n if (range.startLineNumber === range.endLineNumber) {\r\n if (range.startColumn === range.endColumn) {\r\n // Nothing to delete\r\n return;\r\n }\r\n // Delete text on the affected line\r\n this._setLineText(range.startLineNumber - 1, this._lines[range.startLineNumber - 1].substring(0, range.startColumn - 1)\r\n + this._lines[range.startLineNumber - 1].substring(range.endColumn - 1));\r\n return;\r\n }\r\n // Take remaining text on last line and append it to remaining text on first line\r\n this._setLineText(range.startLineNumber - 1, this._lines[range.startLineNumber - 1].substring(0, range.startColumn - 1)\r\n + this._lines[range.endLineNumber - 1].substring(range.endColumn - 1));\r\n // Delete middle lines\r\n this._lines.splice(range.startLineNumber, range.endLineNumber - range.startLineNumber);\r\n if (this._lineStarts) {\r\n // update prefix sum\r\n this._lineStarts.removeValues(range.startLineNumber, range.endLineNumber - range.startLineNumber);\r\n }\r\n }\r\n _acceptInsertText(position, insertText) {\r\n if (insertText.length === 0) {\r\n // Nothing to insert\r\n return;\r\n }\r\n let insertLines = (0,_base_common_strings_js__WEBPACK_IMPORTED_MODULE_0__.splitLines)(insertText);\r\n if (insertLines.length === 1) {\r\n // Inserting text on one line\r\n this._setLineText(position.lineNumber - 1, this._lines[position.lineNumber - 1].substring(0, position.column - 1)\r\n + insertLines[0]\r\n + this._lines[position.lineNumber - 1].substring(position.column - 1));\r\n return;\r\n }\r\n // Append overflowing text from first line to the end of text to insert\r\n insertLines[insertLines.length - 1] += this._lines[position.lineNumber - 1].substring(position.column - 1);\r\n // Delete overflowing text from first line and insert text on first line\r\n this._setLineText(position.lineNumber - 1, this._lines[position.lineNumber - 1].substring(0, position.column - 1)\r\n + insertLines[0]);\r\n // Insert new lines & store lengths\r\n let newLengths = new Uint32Array(insertLines.length - 1);\r\n for (let i = 1; i < insertLines.length; i++) {\r\n this._lines.splice(position.lineNumber + i - 1, 0, insertLines[i]);\r\n newLengths[i - 1] = insertLines[i].length + this._eol.length;\r\n }\r\n if (this._lineStarts) {\r\n // update prefix sum\r\n this._lineStarts.insertValues(position.lineNumber, newLengths);\r\n }\r\n }\r\n}\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/editor/common/model/mirrorTextModel.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/editor/common/model/wordHelper.js":
|
||
/*!*****************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/editor/common/model/wordHelper.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 */ \"USUAL_WORD_SEPARATORS\": () => (/* binding */ USUAL_WORD_SEPARATORS),\n/* harmony export */ \"DEFAULT_WORD_REGEXP\": () => (/* binding */ DEFAULT_WORD_REGEXP),\n/* harmony export */ \"ensureValidWordDefinition\": () => (/* binding */ ensureValidWordDefinition),\n/* harmony export */ \"getWordAtText\": () => (/* binding */ getWordAtText)\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\nconst USUAL_WORD_SEPARATORS = '`~!@#$%^&*()-=+[{]}\\\\|;:\\'\",.<>/?';\r\n/**\r\n * Create a word definition regular expression based on default word separators.\r\n * Optionally provide allowed separators that should be included in words.\r\n *\r\n * The default would look like this:\r\n * /(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\#\\$\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)/g\r\n */\r\nfunction createWordRegExp(allowInWords = '') {\r\n let source = '(-?\\\\d*\\\\.\\\\d\\\\w*)|([^';\r\n for (const sep of USUAL_WORD_SEPARATORS) {\r\n if (allowInWords.indexOf(sep) >= 0) {\r\n continue;\r\n }\r\n source += '\\\\' + sep;\r\n }\r\n source += '\\\\s]+)';\r\n return new RegExp(source, 'g');\r\n}\r\n// catches numbers (including floating numbers) in the first group, and alphanum in the second\r\nconst DEFAULT_WORD_REGEXP = createWordRegExp();\r\nfunction ensureValidWordDefinition(wordDefinition) {\r\n let result = DEFAULT_WORD_REGEXP;\r\n if (wordDefinition && (wordDefinition instanceof RegExp)) {\r\n if (!wordDefinition.global) {\r\n let flags = 'g';\r\n if (wordDefinition.ignoreCase) {\r\n flags += 'i';\r\n }\r\n if (wordDefinition.multiline) {\r\n flags += 'm';\r\n }\r\n if (wordDefinition.unicode) {\r\n flags += 'u';\r\n }\r\n result = new RegExp(wordDefinition.source, flags);\r\n }\r\n else {\r\n result = wordDefinition;\r\n }\r\n }\r\n result.lastIndex = 0;\r\n return result;\r\n}\r\nconst _defaultConfig = {\r\n maxLen: 1000,\r\n windowSize: 15,\r\n timeBudget: 150\r\n};\r\nfunction getWordAtText(column, wordDefinition, text, textOffset, config = _defaultConfig) {\r\n if (text.length > config.maxLen) {\r\n // don't throw strings that long at the regexp\r\n // but use a sub-string in which a word must occur\r\n let start = column - config.maxLen / 2;\r\n if (start < 0) {\r\n start = 0;\r\n }\r\n else {\r\n textOffset += start;\r\n }\r\n text = text.substring(start, column + config.maxLen / 2);\r\n return getWordAtText(column, wordDefinition, text, textOffset, config);\r\n }\r\n const t1 = Date.now();\r\n const pos = column - 1 - textOffset;\r\n let prevRegexIndex = -1;\r\n let match = null;\r\n for (let i = 1;; i++) {\r\n // check time budget\r\n if (Date.now() - t1 >= config.timeBudget) {\r\n break;\r\n }\r\n // reset the index at which the regexp should start matching, also know where it\r\n // should stop so that subsequent search don't repeat previous searches\r\n const regexIndex = pos - config.windowSize * i;\r\n wordDefinition.lastIndex = Math.max(0, regexIndex);\r\n const thisMatch = _findRegexMatchEnclosingPosition(wordDefinition, text, pos, prevRegexIndex);\r\n if (!thisMatch && match) {\r\n // stop: we have something\r\n break;\r\n }\r\n match = thisMatch;\r\n // stop: searched at start\r\n if (regexIndex <= 0) {\r\n break;\r\n }\r\n prevRegexIndex = regexIndex;\r\n }\r\n if (match) {\r\n let result = {\r\n word: match[0],\r\n startColumn: textOffset + 1 + match.index,\r\n endColumn: textOffset + 1 + match.index + match[0].length\r\n };\r\n wordDefinition.lastIndex = 0;\r\n return result;\r\n }\r\n return null;\r\n}\r\nfunction _findRegexMatchEnclosingPosition(wordDefinition, text, pos, stopPos) {\r\n let match;\r\n while (match = wordDefinition.exec(text)) {\r\n const matchIndex = match.index || 0;\r\n if (matchIndex <= pos && wordDefinition.lastIndex >= pos) {\r\n return match;\r\n }\r\n else if (stopPos > 0 && matchIndex > stopPos) {\r\n return null;\r\n }\r\n }\r\n return null;\r\n}\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/editor/common/model/wordHelper.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/editor/common/modes/linkComputer.js":
|
||
/*!*******************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/editor/common/modes/linkComputer.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 */ \"Uint8Matrix\": () => (/* binding */ Uint8Matrix),\n/* harmony export */ \"StateMachine\": () => (/* binding */ StateMachine),\n/* harmony export */ \"LinkComputer\": () => (/* binding */ LinkComputer),\n/* harmony export */ \"computeLinks\": () => (/* binding */ computeLinks)\n/* harmony export */ });\n/* harmony import */ var _core_characterClassifier_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/characterClassifier.js */ \"./node_modules/monaco-editor/esm/vs/editor/common/core/characterClassifier.js\");\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\n\r\nclass Uint8Matrix {\r\n constructor(rows, cols, defaultValue) {\r\n const data = new Uint8Array(rows * cols);\r\n for (let i = 0, len = rows * cols; i < len; i++) {\r\n data[i] = defaultValue;\r\n }\r\n this._data = data;\r\n this.rows = rows;\r\n this.cols = cols;\r\n }\r\n get(row, col) {\r\n return this._data[row * this.cols + col];\r\n }\r\n set(row, col, value) {\r\n this._data[row * this.cols + col] = value;\r\n }\r\n}\r\nclass StateMachine {\r\n constructor(edges) {\r\n let maxCharCode = 0;\r\n let maxState = 0 /* Invalid */;\r\n for (let i = 0, len = edges.length; i < len; i++) {\r\n let [from, chCode, to] = edges[i];\r\n if (chCode > maxCharCode) {\r\n maxCharCode = chCode;\r\n }\r\n if (from > maxState) {\r\n maxState = from;\r\n }\r\n if (to > maxState) {\r\n maxState = to;\r\n }\r\n }\r\n maxCharCode++;\r\n maxState++;\r\n let states = new Uint8Matrix(maxState, maxCharCode, 0 /* Invalid */);\r\n for (let i = 0, len = edges.length; i < len; i++) {\r\n let [from, chCode, to] = edges[i];\r\n states.set(from, chCode, to);\r\n }\r\n this._states = states;\r\n this._maxCharCode = maxCharCode;\r\n }\r\n nextState(currentState, chCode) {\r\n if (chCode < 0 || chCode >= this._maxCharCode) {\r\n return 0 /* Invalid */;\r\n }\r\n return this._states.get(currentState, chCode);\r\n }\r\n}\r\n// State machine for http:// or https:// or file://\r\nlet _stateMachine = null;\r\nfunction getStateMachine() {\r\n if (_stateMachine === null) {\r\n _stateMachine = new StateMachine([\r\n [1 /* Start */, 104 /* h */, 2 /* H */],\r\n [1 /* Start */, 72 /* H */, 2 /* H */],\r\n [1 /* Start */, 102 /* f */, 6 /* F */],\r\n [1 /* Start */, 70 /* F */, 6 /* F */],\r\n [2 /* H */, 116 /* t */, 3 /* HT */],\r\n [2 /* H */, 84 /* T */, 3 /* HT */],\r\n [3 /* HT */, 116 /* t */, 4 /* HTT */],\r\n [3 /* HT */, 84 /* T */, 4 /* HTT */],\r\n [4 /* HTT */, 112 /* p */, 5 /* HTTP */],\r\n [4 /* HTT */, 80 /* P */, 5 /* HTTP */],\r\n [5 /* HTTP */, 115 /* s */, 9 /* BeforeColon */],\r\n [5 /* HTTP */, 83 /* S */, 9 /* BeforeColon */],\r\n [5 /* HTTP */, 58 /* Colon */, 10 /* AfterColon */],\r\n [6 /* F */, 105 /* i */, 7 /* FI */],\r\n [6 /* F */, 73 /* I */, 7 /* FI */],\r\n [7 /* FI */, 108 /* l */, 8 /* FIL */],\r\n [7 /* FI */, 76 /* L */, 8 /* FIL */],\r\n [8 /* FIL */, 101 /* e */, 9 /* BeforeColon */],\r\n [8 /* FIL */, 69 /* E */, 9 /* BeforeColon */],\r\n [9 /* BeforeColon */, 58 /* Colon */, 10 /* AfterColon */],\r\n [10 /* AfterColon */, 47 /* Slash */, 11 /* AlmostThere */],\r\n [11 /* AlmostThere */, 47 /* Slash */, 12 /* End */],\r\n ]);\r\n }\r\n return _stateMachine;\r\n}\r\nlet _classifier = null;\r\nfunction getClassifier() {\r\n if (_classifier === null) {\r\n _classifier = new _core_characterClassifier_js__WEBPACK_IMPORTED_MODULE_0__.CharacterClassifier(0 /* None */);\r\n const FORCE_TERMINATION_CHARACTERS = ' \\t<>\\'\\\"、。。、,.:;‘“〈《「『【〔([{「」}])〕】』」》〉”’`~…';\r\n for (let i = 0; i < FORCE_TERMINATION_CHARACTERS.length; i++) {\r\n _classifier.set(FORCE_TERMINATION_CHARACTERS.charCodeAt(i), 1 /* ForceTermination */);\r\n }\r\n const CANNOT_END_WITH_CHARACTERS = '.,;';\r\n for (let i = 0; i < CANNOT_END_WITH_CHARACTERS.length; i++) {\r\n _classifier.set(CANNOT_END_WITH_CHARACTERS.charCodeAt(i), 2 /* CannotEndIn */);\r\n }\r\n }\r\n return _classifier;\r\n}\r\nclass LinkComputer {\r\n static _createLink(classifier, line, lineNumber, linkBeginIndex, linkEndIndex) {\r\n // Do not allow to end link in certain characters...\r\n let lastIncludedCharIndex = linkEndIndex - 1;\r\n do {\r\n const chCode = line.charCodeAt(lastIncludedCharIndex);\r\n const chClass = classifier.get(chCode);\r\n if (chClass !== 2 /* CannotEndIn */) {\r\n break;\r\n }\r\n lastIncludedCharIndex--;\r\n } while (lastIncludedCharIndex > linkBeginIndex);\r\n // Handle links enclosed in parens, square brackets and curlys.\r\n if (linkBeginIndex > 0) {\r\n const charCodeBeforeLink = line.charCodeAt(linkBeginIndex - 1);\r\n const lastCharCodeInLink = line.charCodeAt(lastIncludedCharIndex);\r\n if ((charCodeBeforeLink === 40 /* OpenParen */ && lastCharCodeInLink === 41 /* CloseParen */)\r\n || (charCodeBeforeLink === 91 /* OpenSquareBracket */ && lastCharCodeInLink === 93 /* CloseSquareBracket */)\r\n || (charCodeBeforeLink === 123 /* OpenCurlyBrace */ && lastCharCodeInLink === 125 /* CloseCurlyBrace */)) {\r\n // Do not end in ) if ( is before the link start\r\n // Do not end in ] if [ is before the link start\r\n // Do not end in } if { is before the link start\r\n lastIncludedCharIndex--;\r\n }\r\n }\r\n return {\r\n range: {\r\n startLineNumber: lineNumber,\r\n startColumn: linkBeginIndex + 1,\r\n endLineNumber: lineNumber,\r\n endColumn: lastIncludedCharIndex + 2\r\n },\r\n url: line.substring(linkBeginIndex, lastIncludedCharIndex + 1)\r\n };\r\n }\r\n static computeLinks(model, stateMachine = getStateMachine()) {\r\n const classifier = getClassifier();\r\n let result = [];\r\n for (let i = 1, lineCount = model.getLineCount(); i <= lineCount; i++) {\r\n const line = model.getLineContent(i);\r\n const len = line.length;\r\n let j = 0;\r\n let linkBeginIndex = 0;\r\n let linkBeginChCode = 0;\r\n let state = 1 /* Start */;\r\n let hasOpenParens = false;\r\n let hasOpenSquareBracket = false;\r\n let inSquareBrackets = false;\r\n let hasOpenCurlyBracket = false;\r\n while (j < len) {\r\n let resetStateMachine = false;\r\n const chCode = line.charCodeAt(j);\r\n if (state === 13 /* Accept */) {\r\n let chClass;\r\n switch (chCode) {\r\n case 40 /* OpenParen */:\r\n hasOpenParens = true;\r\n chClass = 0 /* None */;\r\n break;\r\n case 41 /* CloseParen */:\r\n chClass = (hasOpenParens ? 0 /* None */ : 1 /* ForceTermination */);\r\n break;\r\n case 91 /* OpenSquareBracket */:\r\n inSquareBrackets = true;\r\n hasOpenSquareBracket = true;\r\n chClass = 0 /* None */;\r\n break;\r\n case 93 /* CloseSquareBracket */:\r\n inSquareBrackets = false;\r\n chClass = (hasOpenSquareBracket ? 0 /* None */ : 1 /* ForceTermination */);\r\n break;\r\n case 123 /* OpenCurlyBrace */:\r\n hasOpenCurlyBracket = true;\r\n chClass = 0 /* None */;\r\n break;\r\n case 125 /* CloseCurlyBrace */:\r\n chClass = (hasOpenCurlyBracket ? 0 /* None */ : 1 /* ForceTermination */);\r\n break;\r\n /* The following three rules make it that ' or \" or ` are allowed inside links if the link began with a different one */\r\n case 39 /* SingleQuote */:\r\n chClass = (linkBeginChCode === 34 /* DoubleQuote */ || linkBeginChCode === 96 /* BackTick */) ? 0 /* None */ : 1 /* ForceTermination */;\r\n break;\r\n case 34 /* DoubleQuote */:\r\n chClass = (linkBeginChCode === 39 /* SingleQuote */ || linkBeginChCode === 96 /* BackTick */) ? 0 /* None */ : 1 /* ForceTermination */;\r\n break;\r\n case 96 /* BackTick */:\r\n chClass = (linkBeginChCode === 39 /* SingleQuote */ || linkBeginChCode === 34 /* DoubleQuote */) ? 0 /* None */ : 1 /* ForceTermination */;\r\n break;\r\n case 42 /* Asterisk */:\r\n // `*` terminates a link if the link began with `*`\r\n chClass = (linkBeginChCode === 42 /* Asterisk */) ? 1 /* ForceTermination */ : 0 /* None */;\r\n break;\r\n case 124 /* Pipe */:\r\n // `|` terminates a link if the link began with `|`\r\n chClass = (linkBeginChCode === 124 /* Pipe */) ? 1 /* ForceTermination */ : 0 /* None */;\r\n break;\r\n case 32 /* Space */:\r\n // ` ` allow space in between [ and ]\r\n chClass = (inSquareBrackets ? 0 /* None */ : 1 /* ForceTermination */);\r\n break;\r\n default:\r\n chClass = classifier.get(chCode);\r\n }\r\n // Check if character terminates link\r\n if (chClass === 1 /* ForceTermination */) {\r\n result.push(LinkComputer._createLink(classifier, line, i, linkBeginIndex, j));\r\n resetStateMachine = true;\r\n }\r\n }\r\n else if (state === 12 /* End */) {\r\n let chClass;\r\n if (chCode === 91 /* OpenSquareBracket */) {\r\n // Allow for the authority part to contain ipv6 addresses which contain [ and ]\r\n hasOpenSquareBracket = true;\r\n chClass = 0 /* None */;\r\n }\r\n else {\r\n chClass = classifier.get(chCode);\r\n }\r\n // Check if character terminates link\r\n if (chClass === 1 /* ForceTermination */) {\r\n resetStateMachine = true;\r\n }\r\n else {\r\n state = 13 /* Accept */;\r\n }\r\n }\r\n else {\r\n state = stateMachine.nextState(state, chCode);\r\n if (state === 0 /* Invalid */) {\r\n resetStateMachine = true;\r\n }\r\n }\r\n if (resetStateMachine) {\r\n state = 1 /* Start */;\r\n hasOpenParens = false;\r\n hasOpenSquareBracket = false;\r\n hasOpenCurlyBracket = false;\r\n // Record where the link started\r\n linkBeginIndex = j + 1;\r\n linkBeginChCode = chCode;\r\n }\r\n j++;\r\n }\r\n if (state === 13 /* Accept */) {\r\n result.push(LinkComputer._createLink(classifier, line, i, linkBeginIndex, len));\r\n }\r\n }\r\n return result;\r\n }\r\n}\r\n/**\r\n * Returns an array of all links contains in the provided\r\n * document. *Note* that this operation is computational\r\n * expensive and should not run in the UI thread.\r\n */\r\nfunction computeLinks(model) {\r\n if (!model || typeof model.getLineCount !== 'function' || typeof model.getLineContent !== 'function') {\r\n // Unknown caller!\r\n return [];\r\n }\r\n return LinkComputer.computeLinks(model);\r\n}\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/editor/common/modes/linkComputer.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/editor/common/modes/supports/inplaceReplaceSupport.js":
|
||
/*!*************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/editor/common/modes/supports/inplaceReplaceSupport.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 */ \"BasicInplaceReplace\": () => (/* binding */ BasicInplaceReplace)\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\nclass BasicInplaceReplace {\r\n constructor() {\r\n this._defaultValueSet = [\r\n ['true', 'false'],\r\n ['True', 'False'],\r\n ['Private', 'Public', 'Friend', 'ReadOnly', 'Partial', 'Protected', 'WriteOnly'],\r\n ['public', 'protected', 'private'],\r\n ];\r\n }\r\n navigateValueSet(range1, text1, range2, text2, up) {\r\n if (range1 && text1) {\r\n let result = this.doNavigateValueSet(text1, up);\r\n if (result) {\r\n return {\r\n range: range1,\r\n value: result\r\n };\r\n }\r\n }\r\n if (range2 && text2) {\r\n let result = this.doNavigateValueSet(text2, up);\r\n if (result) {\r\n return {\r\n range: range2,\r\n value: result\r\n };\r\n }\r\n }\r\n return null;\r\n }\r\n doNavigateValueSet(text, up) {\r\n let numberResult = this.numberReplace(text, up);\r\n if (numberResult !== null) {\r\n return numberResult;\r\n }\r\n return this.textReplace(text, up);\r\n }\r\n numberReplace(value, up) {\r\n let precision = Math.pow(10, value.length - (value.lastIndexOf('.') + 1));\r\n let n1 = Number(value);\r\n let n2 = parseFloat(value);\r\n if (!isNaN(n1) && !isNaN(n2) && n1 === n2) {\r\n if (n1 === 0 && !up) {\r\n return null; // don't do negative\r\n //\t\t\t} else if(n1 === 9 && up) {\r\n //\t\t\t\treturn null; // don't insert 10 into a number\r\n }\r\n else {\r\n n1 = Math.floor(n1 * precision);\r\n n1 += up ? precision : -precision;\r\n return String(n1 / precision);\r\n }\r\n }\r\n return null;\r\n }\r\n textReplace(value, up) {\r\n return this.valueSetsReplace(this._defaultValueSet, value, up);\r\n }\r\n valueSetsReplace(valueSets, value, up) {\r\n let result = null;\r\n for (let i = 0, len = valueSets.length; result === null && i < len; i++) {\r\n result = this.valueSetReplace(valueSets[i], value, up);\r\n }\r\n return result;\r\n }\r\n valueSetReplace(valueSet, value, up) {\r\n let idx = valueSet.indexOf(value);\r\n if (idx >= 0) {\r\n idx += up ? +1 : -1;\r\n if (idx < 0) {\r\n idx = valueSet.length - 1;\r\n }\r\n else {\r\n idx %= valueSet.length;\r\n }\r\n return valueSet[idx];\r\n }\r\n return null;\r\n }\r\n}\r\nBasicInplaceReplace.INSTANCE = new BasicInplaceReplace();\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/editor/common/modes/supports/inplaceReplaceSupport.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/editor/common/services/editorSimpleWorker.js":
|
||
/*!****************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/editor/common/services/editorSimpleWorker.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 */ \"EditorSimpleWorker\": () => (/* binding */ EditorSimpleWorker),\n/* harmony export */ \"create\": () => (/* binding */ create)\n/* harmony export */ });\n/* harmony import */ var _base_common_arrays_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../base/common/arrays.js */ \"./node_modules/monaco-editor/esm/vs/base/common/arrays.js\");\n/* harmony import */ var _base_common_diff_diff_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../base/common/diff/diff.js */ \"./node_modules/monaco-editor/esm/vs/base/common/diff/diff.js\");\n/* harmony import */ var _base_common_platform_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../base/common/platform.js */ \"./node_modules/monaco-editor/esm/vs/base/common/platform.js\");\n/* harmony import */ var _base_common_uri_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../base/common/uri.js */ \"./node_modules/monaco-editor/esm/vs/base/common/uri.js\");\n/* harmony import */ var _core_position_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/position.js */ \"./node_modules/monaco-editor/esm/vs/editor/common/core/position.js\");\n/* harmony import */ var _core_range_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../core/range.js */ \"./node_modules/monaco-editor/esm/vs/editor/common/core/range.js\");\n/* harmony import */ var _diff_diffComputer_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../diff/diffComputer.js */ \"./node_modules/monaco-editor/esm/vs/editor/common/diff/diffComputer.js\");\n/* harmony import */ var _model_mirrorTextModel_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../model/mirrorTextModel.js */ \"./node_modules/monaco-editor/esm/vs/editor/common/model/mirrorTextModel.js\");\n/* harmony import */ var _model_wordHelper_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../model/wordHelper.js */ \"./node_modules/monaco-editor/esm/vs/editor/common/model/wordHelper.js\");\n/* harmony import */ var _modes_linkComputer_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../modes/linkComputer.js */ \"./node_modules/monaco-editor/esm/vs/editor/common/modes/linkComputer.js\");\n/* harmony import */ var _modes_supports_inplaceReplaceSupport_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../modes/supports/inplaceReplaceSupport.js */ \"./node_modules/monaco-editor/esm/vs/editor/common/modes/supports/inplaceReplaceSupport.js\");\n/* harmony import */ var _standalone_standaloneBase_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../standalone/standaloneBase.js */ \"./node_modules/monaco-editor/esm/vs/editor/common/standalone/standaloneBase.js\");\n/* harmony import */ var _base_common_types_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../base/common/types.js */ \"./node_modules/monaco-editor/esm/vs/base/common/types.js\");\n/* harmony import */ var _base_common_stopwatch_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../base/common/stopwatch.js */ \"./node_modules/monaco-editor/esm/vs/base/common/stopwatch.js\");\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 __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n};\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n/**\r\n * @internal\r\n */\r\nclass MirrorModel extends _model_mirrorTextModel_js__WEBPACK_IMPORTED_MODULE_7__.MirrorTextModel {\r\n get uri() {\r\n return this._uri;\r\n }\r\n get version() {\r\n return this._versionId;\r\n }\r\n get eol() {\r\n return this._eol;\r\n }\r\n getValue() {\r\n return this.getText();\r\n }\r\n getLinesContent() {\r\n return this._lines.slice(0);\r\n }\r\n getLineCount() {\r\n return this._lines.length;\r\n }\r\n getLineContent(lineNumber) {\r\n return this._lines[lineNumber - 1];\r\n }\r\n getWordAtPosition(position, wordDefinition) {\r\n let wordAtText = (0,_model_wordHelper_js__WEBPACK_IMPORTED_MODULE_8__.getWordAtText)(position.column, (0,_model_wordHelper_js__WEBPACK_IMPORTED_MODULE_8__.ensureValidWordDefinition)(wordDefinition), this._lines[position.lineNumber - 1], 0);\r\n if (wordAtText) {\r\n return new _core_range_js__WEBPACK_IMPORTED_MODULE_5__.Range(position.lineNumber, wordAtText.startColumn, position.lineNumber, wordAtText.endColumn);\r\n }\r\n return null;\r\n }\r\n words(wordDefinition) {\r\n const lines = this._lines;\r\n const wordenize = this._wordenize.bind(this);\r\n let lineNumber = 0;\r\n let lineText = '';\r\n let wordRangesIdx = 0;\r\n let wordRanges = [];\r\n return {\r\n *[Symbol.iterator]() {\r\n while (true) {\r\n if (wordRangesIdx < wordRanges.length) {\r\n const value = lineText.substring(wordRanges[wordRangesIdx].start, wordRanges[wordRangesIdx].end);\r\n wordRangesIdx += 1;\r\n yield value;\r\n }\r\n else {\r\n if (lineNumber < lines.length) {\r\n lineText = lines[lineNumber];\r\n wordRanges = wordenize(lineText, wordDefinition);\r\n wordRangesIdx = 0;\r\n lineNumber += 1;\r\n }\r\n else {\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n };\r\n }\r\n getLineWords(lineNumber, wordDefinition) {\r\n let content = this._lines[lineNumber - 1];\r\n let ranges = this._wordenize(content, wordDefinition);\r\n let words = [];\r\n for (const range of ranges) {\r\n words.push({\r\n word: content.substring(range.start, range.end),\r\n startColumn: range.start + 1,\r\n endColumn: range.end + 1\r\n });\r\n }\r\n return words;\r\n }\r\n _wordenize(content, wordDefinition) {\r\n const result = [];\r\n let match;\r\n wordDefinition.lastIndex = 0; // reset lastIndex just to be sure\r\n while (match = wordDefinition.exec(content)) {\r\n if (match[0].length === 0) {\r\n // it did match the empty string\r\n break;\r\n }\r\n result.push({ start: match.index, end: match.index + match[0].length });\r\n }\r\n return result;\r\n }\r\n getValueInRange(range) {\r\n range = this._validateRange(range);\r\n if (range.startLineNumber === range.endLineNumber) {\r\n return this._lines[range.startLineNumber - 1].substring(range.startColumn - 1, range.endColumn - 1);\r\n }\r\n let lineEnding = this._eol;\r\n let startLineIndex = range.startLineNumber - 1;\r\n let endLineIndex = range.endLineNumber - 1;\r\n let resultLines = [];\r\n resultLines.push(this._lines[startLineIndex].substring(range.startColumn - 1));\r\n for (let i = startLineIndex + 1; i < endLineIndex; i++) {\r\n resultLines.push(this._lines[i]);\r\n }\r\n resultLines.push(this._lines[endLineIndex].substring(0, range.endColumn - 1));\r\n return resultLines.join(lineEnding);\r\n }\r\n offsetAt(position) {\r\n position = this._validatePosition(position);\r\n this._ensureLineStarts();\r\n return this._lineStarts.getAccumulatedValue(position.lineNumber - 2) + (position.column - 1);\r\n }\r\n positionAt(offset) {\r\n offset = Math.floor(offset);\r\n offset = Math.max(0, offset);\r\n this._ensureLineStarts();\r\n let out = this._lineStarts.getIndexOf(offset);\r\n let lineLength = this._lines[out.index].length;\r\n // Ensure we return a valid position\r\n return {\r\n lineNumber: 1 + out.index,\r\n column: 1 + Math.min(out.remainder, lineLength)\r\n };\r\n }\r\n _validateRange(range) {\r\n const start = this._validatePosition({ lineNumber: range.startLineNumber, column: range.startColumn });\r\n const end = this._validatePosition({ lineNumber: range.endLineNumber, column: range.endColumn });\r\n if (start.lineNumber !== range.startLineNumber\r\n || start.column !== range.startColumn\r\n || end.lineNumber !== range.endLineNumber\r\n || end.column !== range.endColumn) {\r\n return {\r\n startLineNumber: start.lineNumber,\r\n startColumn: start.column,\r\n endLineNumber: end.lineNumber,\r\n endColumn: end.column\r\n };\r\n }\r\n return range;\r\n }\r\n _validatePosition(position) {\r\n if (!_core_position_js__WEBPACK_IMPORTED_MODULE_4__.Position.isIPosition(position)) {\r\n throw new Error('bad position');\r\n }\r\n let { lineNumber, column } = position;\r\n let hasChanged = false;\r\n if (lineNumber < 1) {\r\n lineNumber = 1;\r\n column = 1;\r\n hasChanged = true;\r\n }\r\n else if (lineNumber > this._lines.length) {\r\n lineNumber = this._lines.length;\r\n column = this._lines[lineNumber - 1].length + 1;\r\n hasChanged = true;\r\n }\r\n else {\r\n let maxCharacter = this._lines[lineNumber - 1].length + 1;\r\n if (column < 1) {\r\n column = 1;\r\n hasChanged = true;\r\n }\r\n else if (column > maxCharacter) {\r\n column = maxCharacter;\r\n hasChanged = true;\r\n }\r\n }\r\n if (!hasChanged) {\r\n return position;\r\n }\r\n else {\r\n return { lineNumber, column };\r\n }\r\n }\r\n}\r\n/**\r\n * @internal\r\n */\r\nclass EditorSimpleWorker {\r\n constructor(host, foreignModuleFactory) {\r\n this._host = host;\r\n this._models = Object.create(null);\r\n this._foreignModuleFactory = foreignModuleFactory;\r\n this._foreignModule = null;\r\n }\r\n dispose() {\r\n this._models = Object.create(null);\r\n }\r\n _getModel(uri) {\r\n return this._models[uri];\r\n }\r\n _getModels() {\r\n let all = [];\r\n Object.keys(this._models).forEach((key) => all.push(this._models[key]));\r\n return all;\r\n }\r\n acceptNewModel(data) {\r\n this._models[data.url] = new MirrorModel(_base_common_uri_js__WEBPACK_IMPORTED_MODULE_3__.URI.parse(data.url), data.lines, data.EOL, data.versionId);\r\n }\r\n acceptModelChanged(strURL, e) {\r\n if (!this._models[strURL]) {\r\n return;\r\n }\r\n let model = this._models[strURL];\r\n model.onEvents(e);\r\n }\r\n acceptRemovedModel(strURL) {\r\n if (!this._models[strURL]) {\r\n return;\r\n }\r\n delete this._models[strURL];\r\n }\r\n // ---- BEGIN diff --------------------------------------------------------------------------\r\n computeDiff(originalUrl, modifiedUrl, ignoreTrimWhitespace, maxComputationTime) {\r\n return __awaiter(this, void 0, void 0, function* () {\r\n const original = this._getModel(originalUrl);\r\n const modified = this._getModel(modifiedUrl);\r\n if (!original || !modified) {\r\n return null;\r\n }\r\n const originalLines = original.getLinesContent();\r\n const modifiedLines = modified.getLinesContent();\r\n const diffComputer = new _diff_diffComputer_js__WEBPACK_IMPORTED_MODULE_6__.DiffComputer(originalLines, modifiedLines, {\r\n shouldComputeCharChanges: true,\r\n shouldPostProcessCharChanges: true,\r\n shouldIgnoreTrimWhitespace: ignoreTrimWhitespace,\r\n shouldMakePrettyDiff: true,\r\n maxComputationTime: maxComputationTime\r\n });\r\n const diffResult = diffComputer.computeDiff();\r\n const identical = (diffResult.changes.length > 0 ? false : this._modelsAreIdentical(original, modified));\r\n return {\r\n quitEarly: diffResult.quitEarly,\r\n identical: identical,\r\n changes: diffResult.changes\r\n };\r\n });\r\n }\r\n _modelsAreIdentical(original, modified) {\r\n const originalLineCount = original.getLineCount();\r\n const modifiedLineCount = modified.getLineCount();\r\n if (originalLineCount !== modifiedLineCount) {\r\n return false;\r\n }\r\n for (let line = 1; line <= originalLineCount; line++) {\r\n const originalLine = original.getLineContent(line);\r\n const modifiedLine = modified.getLineContent(line);\r\n if (originalLine !== modifiedLine) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n }\r\n computeMoreMinimalEdits(modelUrl, edits) {\r\n return __awaiter(this, void 0, void 0, function* () {\r\n const model = this._getModel(modelUrl);\r\n if (!model) {\r\n return edits;\r\n }\r\n const result = [];\r\n let lastEol = undefined;\r\n edits = (0,_base_common_arrays_js__WEBPACK_IMPORTED_MODULE_0__.mergeSort)(edits, (a, b) => {\r\n if (a.range && b.range) {\r\n return _core_range_js__WEBPACK_IMPORTED_MODULE_5__.Range.compareRangesUsingStarts(a.range, b.range);\r\n }\r\n // eol only changes should go to the end\r\n let aRng = a.range ? 0 : 1;\r\n let bRng = b.range ? 0 : 1;\r\n return aRng - bRng;\r\n });\r\n for (let { range, text, eol } of edits) {\r\n if (typeof eol === 'number') {\r\n lastEol = eol;\r\n }\r\n if (_core_range_js__WEBPACK_IMPORTED_MODULE_5__.Range.isEmpty(range) && !text) {\r\n // empty change\r\n continue;\r\n }\r\n const original = model.getValueInRange(range);\r\n text = text.replace(/\\r\\n|\\n|\\r/g, model.eol);\r\n if (original === text) {\r\n // noop\r\n continue;\r\n }\r\n // make sure diff won't take too long\r\n if (Math.max(text.length, original.length) > EditorSimpleWorker._diffLimit) {\r\n result.push({ range, text });\r\n continue;\r\n }\r\n // compute diff between original and edit.text\r\n const changes = (0,_base_common_diff_diff_js__WEBPACK_IMPORTED_MODULE_1__.stringDiff)(original, text, false);\r\n const editOffset = model.offsetAt(_core_range_js__WEBPACK_IMPORTED_MODULE_5__.Range.lift(range).getStartPosition());\r\n for (const change of changes) {\r\n const start = model.positionAt(editOffset + change.originalStart);\r\n const end = model.positionAt(editOffset + change.originalStart + change.originalLength);\r\n const newEdit = {\r\n text: text.substr(change.modifiedStart, change.modifiedLength),\r\n range: { startLineNumber: start.lineNumber, startColumn: start.column, endLineNumber: end.lineNumber, endColumn: end.column }\r\n };\r\n if (model.getValueInRange(newEdit.range) !== newEdit.text) {\r\n result.push(newEdit);\r\n }\r\n }\r\n }\r\n if (typeof lastEol === 'number') {\r\n result.push({ eol: lastEol, text: '', range: { startLineNumber: 0, startColumn: 0, endLineNumber: 0, endColumn: 0 } });\r\n }\r\n return result;\r\n });\r\n }\r\n // ---- END minimal edits ---------------------------------------------------------------\r\n computeLinks(modelUrl) {\r\n return __awaiter(this, void 0, void 0, function* () {\r\n let model = this._getModel(modelUrl);\r\n if (!model) {\r\n return null;\r\n }\r\n return (0,_modes_linkComputer_js__WEBPACK_IMPORTED_MODULE_9__.computeLinks)(model);\r\n });\r\n }\r\n textualSuggest(modelUrls, leadingWord, wordDef, wordDefFlags) {\r\n return __awaiter(this, void 0, void 0, function* () {\r\n const sw = new _base_common_stopwatch_js__WEBPACK_IMPORTED_MODULE_13__.StopWatch(true);\r\n const wordDefRegExp = new RegExp(wordDef, wordDefFlags);\r\n const seen = new Set();\r\n outer: for (let url of modelUrls) {\r\n const model = this._getModel(url);\r\n if (!model) {\r\n continue;\r\n }\r\n for (let word of model.words(wordDefRegExp)) {\r\n if (word === leadingWord || !isNaN(Number(word))) {\r\n continue;\r\n }\r\n seen.add(word);\r\n if (seen.size > EditorSimpleWorker._suggestionsLimit) {\r\n break outer;\r\n }\r\n }\r\n }\r\n return { words: Array.from(seen), duration: sw.elapsed() };\r\n });\r\n }\r\n // ---- END suggest --------------------------------------------------------------------------\r\n //#region -- word ranges --\r\n computeWordRanges(modelUrl, range, wordDef, wordDefFlags) {\r\n return __awaiter(this, void 0, void 0, function* () {\r\n let model = this._getModel(modelUrl);\r\n if (!model) {\r\n return Object.create(null);\r\n }\r\n const wordDefRegExp = new RegExp(wordDef, wordDefFlags);\r\n const result = Object.create(null);\r\n for (let line = range.startLineNumber; line < range.endLineNumber; line++) {\r\n let words = model.getLineWords(line, wordDefRegExp);\r\n for (const word of words) {\r\n if (!isNaN(Number(word.word))) {\r\n continue;\r\n }\r\n let array = result[word.word];\r\n if (!array) {\r\n array = [];\r\n result[word.word] = array;\r\n }\r\n array.push({\r\n startLineNumber: line,\r\n startColumn: word.startColumn,\r\n endLineNumber: line,\r\n endColumn: word.endColumn\r\n });\r\n }\r\n }\r\n return result;\r\n });\r\n }\r\n //#endregion\r\n navigateValueSet(modelUrl, range, up, wordDef, wordDefFlags) {\r\n return __awaiter(this, void 0, void 0, function* () {\r\n let model = this._getModel(modelUrl);\r\n if (!model) {\r\n return null;\r\n }\r\n let wordDefRegExp = new RegExp(wordDef, wordDefFlags);\r\n if (range.startColumn === range.endColumn) {\r\n range = {\r\n startLineNumber: range.startLineNumber,\r\n startColumn: range.startColumn,\r\n endLineNumber: range.endLineNumber,\r\n endColumn: range.endColumn + 1\r\n };\r\n }\r\n let selectionText = model.getValueInRange(range);\r\n let wordRange = model.getWordAtPosition({ lineNumber: range.startLineNumber, column: range.startColumn }, wordDefRegExp);\r\n if (!wordRange) {\r\n return null;\r\n }\r\n let word = model.getValueInRange(wordRange);\r\n let result = _modes_supports_inplaceReplaceSupport_js__WEBPACK_IMPORTED_MODULE_10__.BasicInplaceReplace.INSTANCE.navigateValueSet(range, selectionText, wordRange, word, up);\r\n return result;\r\n });\r\n }\r\n // ---- BEGIN foreign module support --------------------------------------------------------------------------\r\n loadForeignModule(moduleId, createData, foreignHostMethods) {\r\n const proxyMethodRequest = (method, args) => {\r\n return this._host.fhr(method, args);\r\n };\r\n const foreignHost = _base_common_types_js__WEBPACK_IMPORTED_MODULE_12__.createProxyObject(foreignHostMethods, proxyMethodRequest);\r\n let ctx = {\r\n host: foreignHost,\r\n getMirrorModels: () => {\r\n return this._getModels();\r\n }\r\n };\r\n if (this._foreignModuleFactory) {\r\n this._foreignModule = this._foreignModuleFactory(ctx, createData);\r\n // static foreing module\r\n return Promise.resolve(_base_common_types_js__WEBPACK_IMPORTED_MODULE_12__.getAllMethodNames(this._foreignModule));\r\n }\r\n // ESM-comment-begin\r\n // \t\treturn new Promise<any>((resolve, reject) => {\r\n // \t\t\trequire([moduleId], (foreignModule: { create: IForeignModuleFactory }) => {\r\n // \t\t\t\tthis._foreignModule = foreignModule.create(ctx, createData);\r\n // \r\n // \t\t\t\tresolve(types.getAllMethodNames(this._foreignModule));\r\n // \r\n // \t\t\t}, reject);\r\n // \t\t});\r\n // ESM-comment-end\r\n // ESM-uncomment-begin\r\n return Promise.reject(new Error(`Unexpected usage`));\r\n // ESM-uncomment-end\r\n }\r\n // foreign method request\r\n fmr(method, args) {\r\n if (!this._foreignModule || typeof this._foreignModule[method] !== 'function') {\r\n return Promise.reject(new Error('Missing requestHandler or method: ' + method));\r\n }\r\n try {\r\n return Promise.resolve(this._foreignModule[method].apply(this._foreignModule, args));\r\n }\r\n catch (e) {\r\n return Promise.reject(e);\r\n }\r\n }\r\n}\r\n// ---- END diff --------------------------------------------------------------------------\r\n// ---- BEGIN minimal edits ---------------------------------------------------------------\r\nEditorSimpleWorker._diffLimit = 100000;\r\n// ---- BEGIN suggest --------------------------------------------------------------------------\r\nEditorSimpleWorker._suggestionsLimit = 10000;\r\n/**\r\n * Called on the worker side\r\n * @internal\r\n */\r\nfunction create(host) {\r\n return new EditorSimpleWorker(host, null);\r\n}\r\nif (typeof importScripts === 'function') {\r\n // Running in a web worker\r\n _base_common_platform_js__WEBPACK_IMPORTED_MODULE_2__.globals.monaco = (0,_standalone_standaloneBase_js__WEBPACK_IMPORTED_MODULE_11__.createMonacoBaseAPI)();\r\n}\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/editor/common/services/editorSimpleWorker.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/editor/common/standalone/standaloneBase.js":
|
||
/*!**************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/editor/common/standalone/standaloneBase.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 */ \"KeyMod\": () => (/* binding */ KeyMod),\n/* harmony export */ \"createMonacoBaseAPI\": () => (/* binding */ createMonacoBaseAPI)\n/* harmony export */ });\n/* harmony import */ var _base_common_cancellation_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../base/common/cancellation.js */ \"./node_modules/monaco-editor/esm/vs/base/common/cancellation.js\");\n/* harmony import */ var _base_common_event_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../base/common/event.js */ \"./node_modules/monaco-editor/esm/vs/base/common/event.js\");\n/* harmony import */ var _base_common_keyCodes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../base/common/keyCodes.js */ \"./node_modules/monaco-editor/esm/vs/base/common/keyCodes.js\");\n/* harmony import */ var _base_common_uri_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../base/common/uri.js */ \"./node_modules/monaco-editor/esm/vs/base/common/uri.js\");\n/* harmony import */ var _core_position_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/position.js */ \"./node_modules/monaco-editor/esm/vs/editor/common/core/position.js\");\n/* harmony import */ var _core_range_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../core/range.js */ \"./node_modules/monaco-editor/esm/vs/editor/common/core/range.js\");\n/* harmony import */ var _core_selection_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../core/selection.js */ \"./node_modules/monaco-editor/esm/vs/editor/common/core/selection.js\");\n/* harmony import */ var _core_token_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../core/token.js */ \"./node_modules/monaco-editor/esm/vs/editor/common/core/token.js\");\n/* harmony import */ var _standaloneEnums_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./standaloneEnums.js */ \"./node_modules/monaco-editor/esm/vs/editor/common/standalone/standaloneEnums.js\");\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\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nclass KeyMod {\r\n static chord(firstPart, secondPart) {\r\n return (0,_base_common_keyCodes_js__WEBPACK_IMPORTED_MODULE_2__.KeyChord)(firstPart, secondPart);\r\n }\r\n}\r\nKeyMod.CtrlCmd = 2048 /* CtrlCmd */;\r\nKeyMod.Shift = 1024 /* Shift */;\r\nKeyMod.Alt = 512 /* Alt */;\r\nKeyMod.WinCtrl = 256 /* WinCtrl */;\r\nfunction createMonacoBaseAPI() {\r\n return {\r\n editor: undefined,\r\n languages: undefined,\r\n CancellationTokenSource: _base_common_cancellation_js__WEBPACK_IMPORTED_MODULE_0__.CancellationTokenSource,\r\n Emitter: _base_common_event_js__WEBPACK_IMPORTED_MODULE_1__.Emitter,\r\n KeyCode: _standaloneEnums_js__WEBPACK_IMPORTED_MODULE_8__.KeyCode,\r\n KeyMod: KeyMod,\r\n Position: _core_position_js__WEBPACK_IMPORTED_MODULE_4__.Position,\r\n Range: _core_range_js__WEBPACK_IMPORTED_MODULE_5__.Range,\r\n Selection: _core_selection_js__WEBPACK_IMPORTED_MODULE_6__.Selection,\r\n SelectionDirection: _standaloneEnums_js__WEBPACK_IMPORTED_MODULE_8__.SelectionDirection,\r\n MarkerSeverity: _standaloneEnums_js__WEBPACK_IMPORTED_MODULE_8__.MarkerSeverity,\r\n MarkerTag: _standaloneEnums_js__WEBPACK_IMPORTED_MODULE_8__.MarkerTag,\r\n Uri: _base_common_uri_js__WEBPACK_IMPORTED_MODULE_3__.URI,\r\n Token: _core_token_js__WEBPACK_IMPORTED_MODULE_7__.Token\r\n };\r\n}\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/editor/common/standalone/standaloneBase.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/editor/common/standalone/standaloneEnums.js":
|
||
/*!***************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/editor/common/standalone/standaloneEnums.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 */ \"AccessibilitySupport\": () => (/* binding */ AccessibilitySupport),\n/* harmony export */ \"CompletionItemInsertTextRule\": () => (/* binding */ CompletionItemInsertTextRule),\n/* harmony export */ \"CompletionItemKind\": () => (/* binding */ CompletionItemKind),\n/* harmony export */ \"CompletionItemTag\": () => (/* binding */ CompletionItemTag),\n/* harmony export */ \"CompletionTriggerKind\": () => (/* binding */ CompletionTriggerKind),\n/* harmony export */ \"ContentWidgetPositionPreference\": () => (/* binding */ ContentWidgetPositionPreference),\n/* harmony export */ \"CursorChangeReason\": () => (/* binding */ CursorChangeReason),\n/* harmony export */ \"DefaultEndOfLine\": () => (/* binding */ DefaultEndOfLine),\n/* harmony export */ \"DocumentHighlightKind\": () => (/* binding */ DocumentHighlightKind),\n/* harmony export */ \"EditorAutoIndentStrategy\": () => (/* binding */ EditorAutoIndentStrategy),\n/* harmony export */ \"EditorOption\": () => (/* binding */ EditorOption),\n/* harmony export */ \"EndOfLinePreference\": () => (/* binding */ EndOfLinePreference),\n/* harmony export */ \"EndOfLineSequence\": () => (/* binding */ EndOfLineSequence),\n/* harmony export */ \"IndentAction\": () => (/* binding */ IndentAction),\n/* harmony export */ \"InlineHintKind\": () => (/* binding */ InlineHintKind),\n/* harmony export */ \"KeyCode\": () => (/* binding */ KeyCode),\n/* harmony export */ \"MarkerSeverity\": () => (/* binding */ MarkerSeverity),\n/* harmony export */ \"MarkerTag\": () => (/* binding */ MarkerTag),\n/* harmony export */ \"MinimapPosition\": () => (/* binding */ MinimapPosition),\n/* harmony export */ \"MouseTargetType\": () => (/* binding */ MouseTargetType),\n/* harmony export */ \"OverlayWidgetPositionPreference\": () => (/* binding */ OverlayWidgetPositionPreference),\n/* harmony export */ \"OverviewRulerLane\": () => (/* binding */ OverviewRulerLane),\n/* harmony export */ \"RenderLineNumbersType\": () => (/* binding */ RenderLineNumbersType),\n/* harmony export */ \"RenderMinimap\": () => (/* binding */ RenderMinimap),\n/* harmony export */ \"ScrollType\": () => (/* binding */ ScrollType),\n/* harmony export */ \"ScrollbarVisibility\": () => (/* binding */ ScrollbarVisibility),\n/* harmony export */ \"SelectionDirection\": () => (/* binding */ SelectionDirection),\n/* harmony export */ \"SignatureHelpTriggerKind\": () => (/* binding */ SignatureHelpTriggerKind),\n/* harmony export */ \"SymbolKind\": () => (/* binding */ SymbolKind),\n/* harmony export */ \"SymbolTag\": () => (/* binding */ SymbolTag),\n/* harmony export */ \"TextEditorCursorBlinkingStyle\": () => (/* binding */ TextEditorCursorBlinkingStyle),\n/* harmony export */ \"TextEditorCursorStyle\": () => (/* binding */ TextEditorCursorStyle),\n/* harmony export */ \"TrackedRangeStickiness\": () => (/* binding */ TrackedRangeStickiness),\n/* harmony export */ \"WrappingIndent\": () => (/* binding */ WrappingIndent)\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\n// THIS IS A GENERATED FILE. DO NOT EDIT DIRECTLY.\r\nvar AccessibilitySupport;\r\n(function (AccessibilitySupport) {\r\n /**\r\n * This should be the browser case where it is not known if a screen reader is attached or no.\r\n */\r\n AccessibilitySupport[AccessibilitySupport[\"Unknown\"] = 0] = \"Unknown\";\r\n AccessibilitySupport[AccessibilitySupport[\"Disabled\"] = 1] = \"Disabled\";\r\n AccessibilitySupport[AccessibilitySupport[\"Enabled\"] = 2] = \"Enabled\";\r\n})(AccessibilitySupport || (AccessibilitySupport = {}));\r\nvar CompletionItemInsertTextRule;\r\n(function (CompletionItemInsertTextRule) {\r\n /**\r\n * Adjust whitespace/indentation of multiline insert texts to\r\n * match the current line indentation.\r\n */\r\n CompletionItemInsertTextRule[CompletionItemInsertTextRule[\"KeepWhitespace\"] = 1] = \"KeepWhitespace\";\r\n /**\r\n * `insertText` is a snippet.\r\n */\r\n CompletionItemInsertTextRule[CompletionItemInsertTextRule[\"InsertAsSnippet\"] = 4] = \"InsertAsSnippet\";\r\n})(CompletionItemInsertTextRule || (CompletionItemInsertTextRule = {}));\r\nvar CompletionItemKind;\r\n(function (CompletionItemKind) {\r\n CompletionItemKind[CompletionItemKind[\"Method\"] = 0] = \"Method\";\r\n CompletionItemKind[CompletionItemKind[\"Function\"] = 1] = \"Function\";\r\n CompletionItemKind[CompletionItemKind[\"Constructor\"] = 2] = \"Constructor\";\r\n CompletionItemKind[CompletionItemKind[\"Field\"] = 3] = \"Field\";\r\n CompletionItemKind[CompletionItemKind[\"Variable\"] = 4] = \"Variable\";\r\n CompletionItemKind[CompletionItemKind[\"Class\"] = 5] = \"Class\";\r\n CompletionItemKind[CompletionItemKind[\"Struct\"] = 6] = \"Struct\";\r\n CompletionItemKind[CompletionItemKind[\"Interface\"] = 7] = \"Interface\";\r\n CompletionItemKind[CompletionItemKind[\"Module\"] = 8] = \"Module\";\r\n CompletionItemKind[CompletionItemKind[\"Property\"] = 9] = \"Property\";\r\n CompletionItemKind[CompletionItemKind[\"Event\"] = 10] = \"Event\";\r\n CompletionItemKind[CompletionItemKind[\"Operator\"] = 11] = \"Operator\";\r\n CompletionItemKind[CompletionItemKind[\"Unit\"] = 12] = \"Unit\";\r\n CompletionItemKind[CompletionItemKind[\"Value\"] = 13] = \"Value\";\r\n CompletionItemKind[CompletionItemKind[\"Constant\"] = 14] = \"Constant\";\r\n CompletionItemKind[CompletionItemKind[\"Enum\"] = 15] = \"Enum\";\r\n CompletionItemKind[CompletionItemKind[\"EnumMember\"] = 16] = \"EnumMember\";\r\n CompletionItemKind[CompletionItemKind[\"Keyword\"] = 17] = \"Keyword\";\r\n CompletionItemKind[CompletionItemKind[\"Text\"] = 18] = \"Text\";\r\n CompletionItemKind[CompletionItemKind[\"Color\"] = 19] = \"Color\";\r\n CompletionItemKind[CompletionItemKind[\"File\"] = 20] = \"File\";\r\n CompletionItemKind[CompletionItemKind[\"Reference\"] = 21] = \"Reference\";\r\n CompletionItemKind[CompletionItemKind[\"Customcolor\"] = 22] = \"Customcolor\";\r\n CompletionItemKind[CompletionItemKind[\"Folder\"] = 23] = \"Folder\";\r\n CompletionItemKind[CompletionItemKind[\"TypeParameter\"] = 24] = \"TypeParameter\";\r\n CompletionItemKind[CompletionItemKind[\"User\"] = 25] = \"User\";\r\n CompletionItemKind[CompletionItemKind[\"Issue\"] = 26] = \"Issue\";\r\n CompletionItemKind[CompletionItemKind[\"Snippet\"] = 27] = \"Snippet\";\r\n})(CompletionItemKind || (CompletionItemKind = {}));\r\nvar CompletionItemTag;\r\n(function (CompletionItemTag) {\r\n CompletionItemTag[CompletionItemTag[\"Deprecated\"] = 1] = \"Deprecated\";\r\n})(CompletionItemTag || (CompletionItemTag = {}));\r\n/**\r\n * How a suggest provider was triggered.\r\n */\r\nvar CompletionTriggerKind;\r\n(function (CompletionTriggerKind) {\r\n CompletionTriggerKind[CompletionTriggerKind[\"Invoke\"] = 0] = \"Invoke\";\r\n CompletionTriggerKind[CompletionTriggerKind[\"TriggerCharacter\"] = 1] = \"TriggerCharacter\";\r\n CompletionTriggerKind[CompletionTriggerKind[\"TriggerForIncompleteCompletions\"] = 2] = \"TriggerForIncompleteCompletions\";\r\n})(CompletionTriggerKind || (CompletionTriggerKind = {}));\r\n/**\r\n * A positioning preference for rendering content widgets.\r\n */\r\nvar ContentWidgetPositionPreference;\r\n(function (ContentWidgetPositionPreference) {\r\n /**\r\n * Place the content widget exactly at a position\r\n */\r\n ContentWidgetPositionPreference[ContentWidgetPositionPreference[\"EXACT\"] = 0] = \"EXACT\";\r\n /**\r\n * Place the content widget above a position\r\n */\r\n ContentWidgetPositionPreference[ContentWidgetPositionPreference[\"ABOVE\"] = 1] = \"ABOVE\";\r\n /**\r\n * Place the content widget below a position\r\n */\r\n ContentWidgetPositionPreference[ContentWidgetPositionPreference[\"BELOW\"] = 2] = \"BELOW\";\r\n})(ContentWidgetPositionPreference || (ContentWidgetPositionPreference = {}));\r\n/**\r\n * Describes the reason the cursor has changed its position.\r\n */\r\nvar CursorChangeReason;\r\n(function (CursorChangeReason) {\r\n /**\r\n * Unknown or not set.\r\n */\r\n CursorChangeReason[CursorChangeReason[\"NotSet\"] = 0] = \"NotSet\";\r\n /**\r\n * A `model.setValue()` was called.\r\n */\r\n CursorChangeReason[CursorChangeReason[\"ContentFlush\"] = 1] = \"ContentFlush\";\r\n /**\r\n * The `model` has been changed outside of this cursor and the cursor recovers its position from associated markers.\r\n */\r\n CursorChangeReason[CursorChangeReason[\"RecoverFromMarkers\"] = 2] = \"RecoverFromMarkers\";\r\n /**\r\n * There was an explicit user gesture.\r\n */\r\n CursorChangeReason[CursorChangeReason[\"Explicit\"] = 3] = \"Explicit\";\r\n /**\r\n * There was a Paste.\r\n */\r\n CursorChangeReason[CursorChangeReason[\"Paste\"] = 4] = \"Paste\";\r\n /**\r\n * There was an Undo.\r\n */\r\n CursorChangeReason[CursorChangeReason[\"Undo\"] = 5] = \"Undo\";\r\n /**\r\n * There was a Redo.\r\n */\r\n CursorChangeReason[CursorChangeReason[\"Redo\"] = 6] = \"Redo\";\r\n})(CursorChangeReason || (CursorChangeReason = {}));\r\n/**\r\n * The default end of line to use when instantiating models.\r\n */\r\nvar DefaultEndOfLine;\r\n(function (DefaultEndOfLine) {\r\n /**\r\n * Use line feed (\\n) as the end of line character.\r\n */\r\n DefaultEndOfLine[DefaultEndOfLine[\"LF\"] = 1] = \"LF\";\r\n /**\r\n * Use carriage return and line feed (\\r\\n) as the end of line character.\r\n */\r\n DefaultEndOfLine[DefaultEndOfLine[\"CRLF\"] = 2] = \"CRLF\";\r\n})(DefaultEndOfLine || (DefaultEndOfLine = {}));\r\n/**\r\n * A document highlight kind.\r\n */\r\nvar DocumentHighlightKind;\r\n(function (DocumentHighlightKind) {\r\n /**\r\n * A textual occurrence.\r\n */\r\n DocumentHighlightKind[DocumentHighlightKind[\"Text\"] = 0] = \"Text\";\r\n /**\r\n * Read-access of a symbol, like reading a variable.\r\n */\r\n DocumentHighlightKind[DocumentHighlightKind[\"Read\"] = 1] = \"Read\";\r\n /**\r\n * Write-access of a symbol, like writing to a variable.\r\n */\r\n DocumentHighlightKind[DocumentHighlightKind[\"Write\"] = 2] = \"Write\";\r\n})(DocumentHighlightKind || (DocumentHighlightKind = {}));\r\n/**\r\n * Configuration options for auto indentation in the editor\r\n */\r\nvar EditorAutoIndentStrategy;\r\n(function (EditorAutoIndentStrategy) {\r\n EditorAutoIndentStrategy[EditorAutoIndentStrategy[\"None\"] = 0] = \"None\";\r\n EditorAutoIndentStrategy[EditorAutoIndentStrategy[\"Keep\"] = 1] = \"Keep\";\r\n EditorAutoIndentStrategy[EditorAutoIndentStrategy[\"Brackets\"] = 2] = \"Brackets\";\r\n EditorAutoIndentStrategy[EditorAutoIndentStrategy[\"Advanced\"] = 3] = \"Advanced\";\r\n EditorAutoIndentStrategy[EditorAutoIndentStrategy[\"Full\"] = 4] = \"Full\";\r\n})(EditorAutoIndentStrategy || (EditorAutoIndentStrategy = {}));\r\nvar EditorOption;\r\n(function (EditorOption) {\r\n EditorOption[EditorOption[\"acceptSuggestionOnCommitCharacter\"] = 0] = \"acceptSuggestionOnCommitCharacter\";\r\n EditorOption[EditorOption[\"acceptSuggestionOnEnter\"] = 1] = \"acceptSuggestionOnEnter\";\r\n EditorOption[EditorOption[\"accessibilitySupport\"] = 2] = \"accessibilitySupport\";\r\n EditorOption[EditorOption[\"accessibilityPageSize\"] = 3] = \"accessibilityPageSize\";\r\n EditorOption[EditorOption[\"ariaLabel\"] = 4] = \"ariaLabel\";\r\n EditorOption[EditorOption[\"autoClosingBrackets\"] = 5] = \"autoClosingBrackets\";\r\n EditorOption[EditorOption[\"autoClosingOvertype\"] = 6] = \"autoClosingOvertype\";\r\n EditorOption[EditorOption[\"autoClosingQuotes\"] = 7] = \"autoClosingQuotes\";\r\n EditorOption[EditorOption[\"autoIndent\"] = 8] = \"autoIndent\";\r\n EditorOption[EditorOption[\"automaticLayout\"] = 9] = \"automaticLayout\";\r\n EditorOption[EditorOption[\"autoSurround\"] = 10] = \"autoSurround\";\r\n EditorOption[EditorOption[\"codeLens\"] = 11] = \"codeLens\";\r\n EditorOption[EditorOption[\"codeLensFontFamily\"] = 12] = \"codeLensFontFamily\";\r\n EditorOption[EditorOption[\"codeLensFontSize\"] = 13] = \"codeLensFontSize\";\r\n EditorOption[EditorOption[\"colorDecorators\"] = 14] = \"colorDecorators\";\r\n EditorOption[EditorOption[\"columnSelection\"] = 15] = \"columnSelection\";\r\n EditorOption[EditorOption[\"comments\"] = 16] = \"comments\";\r\n EditorOption[EditorOption[\"contextmenu\"] = 17] = \"contextmenu\";\r\n EditorOption[EditorOption[\"copyWithSyntaxHighlighting\"] = 18] = \"copyWithSyntaxHighlighting\";\r\n EditorOption[EditorOption[\"cursorBlinking\"] = 19] = \"cursorBlinking\";\r\n EditorOption[EditorOption[\"cursorSmoothCaretAnimation\"] = 20] = \"cursorSmoothCaretAnimation\";\r\n EditorOption[EditorOption[\"cursorStyle\"] = 21] = \"cursorStyle\";\r\n EditorOption[EditorOption[\"cursorSurroundingLines\"] = 22] = \"cursorSurroundingLines\";\r\n EditorOption[EditorOption[\"cursorSurroundingLinesStyle\"] = 23] = \"cursorSurroundingLinesStyle\";\r\n EditorOption[EditorOption[\"cursorWidth\"] = 24] = \"cursorWidth\";\r\n EditorOption[EditorOption[\"disableLayerHinting\"] = 25] = \"disableLayerHinting\";\r\n EditorOption[EditorOption[\"disableMonospaceOptimizations\"] = 26] = \"disableMonospaceOptimizations\";\r\n EditorOption[EditorOption[\"dragAndDrop\"] = 27] = \"dragAndDrop\";\r\n EditorOption[EditorOption[\"emptySelectionClipboard\"] = 28] = \"emptySelectionClipboard\";\r\n EditorOption[EditorOption[\"extraEditorClassName\"] = 29] = \"extraEditorClassName\";\r\n EditorOption[EditorOption[\"fastScrollSensitivity\"] = 30] = \"fastScrollSensitivity\";\r\n EditorOption[EditorOption[\"find\"] = 31] = \"find\";\r\n EditorOption[EditorOption[\"fixedOverflowWidgets\"] = 32] = \"fixedOverflowWidgets\";\r\n EditorOption[EditorOption[\"folding\"] = 33] = \"folding\";\r\n EditorOption[EditorOption[\"foldingStrategy\"] = 34] = \"foldingStrategy\";\r\n EditorOption[EditorOption[\"foldingHighlight\"] = 35] = \"foldingHighlight\";\r\n EditorOption[EditorOption[\"unfoldOnClickAfterEndOfLine\"] = 36] = \"unfoldOnClickAfterEndOfLine\";\r\n EditorOption[EditorOption[\"fontFamily\"] = 37] = \"fontFamily\";\r\n EditorOption[EditorOption[\"fontInfo\"] = 38] = \"fontInfo\";\r\n EditorOption[EditorOption[\"fontLigatures\"] = 39] = \"fontLigatures\";\r\n EditorOption[EditorOption[\"fontSize\"] = 40] = \"fontSize\";\r\n EditorOption[EditorOption[\"fontWeight\"] = 41] = \"fontWeight\";\r\n EditorOption[EditorOption[\"formatOnPaste\"] = 42] = \"formatOnPaste\";\r\n EditorOption[EditorOption[\"formatOnType\"] = 43] = \"formatOnType\";\r\n EditorOption[EditorOption[\"glyphMargin\"] = 44] = \"glyphMargin\";\r\n EditorOption[EditorOption[\"gotoLocation\"] = 45] = \"gotoLocation\";\r\n EditorOption[EditorOption[\"hideCursorInOverviewRuler\"] = 46] = \"hideCursorInOverviewRuler\";\r\n EditorOption[EditorOption[\"highlightActiveIndentGuide\"] = 47] = \"highlightActiveIndentGuide\";\r\n EditorOption[EditorOption[\"hover\"] = 48] = \"hover\";\r\n EditorOption[EditorOption[\"inDiffEditor\"] = 49] = \"inDiffEditor\";\r\n EditorOption[EditorOption[\"letterSpacing\"] = 50] = \"letterSpacing\";\r\n EditorOption[EditorOption[\"lightbulb\"] = 51] = \"lightbulb\";\r\n EditorOption[EditorOption[\"lineDecorationsWidth\"] = 52] = \"lineDecorationsWidth\";\r\n EditorOption[EditorOption[\"lineHeight\"] = 53] = \"lineHeight\";\r\n EditorOption[EditorOption[\"lineNumbers\"] = 54] = \"lineNumbers\";\r\n EditorOption[EditorOption[\"lineNumbersMinChars\"] = 55] = \"lineNumbersMinChars\";\r\n EditorOption[EditorOption[\"linkedEditing\"] = 56] = \"linkedEditing\";\r\n EditorOption[EditorOption[\"links\"] = 57] = \"links\";\r\n EditorOption[EditorOption[\"matchBrackets\"] = 58] = \"matchBrackets\";\r\n EditorOption[EditorOption[\"minimap\"] = 59] = \"minimap\";\r\n EditorOption[EditorOption[\"mouseStyle\"] = 60] = \"mouseStyle\";\r\n EditorOption[EditorOption[\"mouseWheelScrollSensitivity\"] = 61] = \"mouseWheelScrollSensitivity\";\r\n EditorOption[EditorOption[\"mouseWheelZoom\"] = 62] = \"mouseWheelZoom\";\r\n EditorOption[EditorOption[\"multiCursorMergeOverlapping\"] = 63] = \"multiCursorMergeOverlapping\";\r\n EditorOption[EditorOption[\"multiCursorModifier\"] = 64] = \"multiCursorModifier\";\r\n EditorOption[EditorOption[\"multiCursorPaste\"] = 65] = \"multiCursorPaste\";\r\n EditorOption[EditorOption[\"occurrencesHighlight\"] = 66] = \"occurrencesHighlight\";\r\n EditorOption[EditorOption[\"overviewRulerBorder\"] = 67] = \"overviewRulerBorder\";\r\n EditorOption[EditorOption[\"overviewRulerLanes\"] = 68] = \"overviewRulerLanes\";\r\n EditorOption[EditorOption[\"padding\"] = 69] = \"padding\";\r\n EditorOption[EditorOption[\"parameterHints\"] = 70] = \"parameterHints\";\r\n EditorOption[EditorOption[\"peekWidgetDefaultFocus\"] = 71] = \"peekWidgetDefaultFocus\";\r\n EditorOption[EditorOption[\"definitionLinkOpensInPeek\"] = 72] = \"definitionLinkOpensInPeek\";\r\n EditorOption[EditorOption[\"quickSuggestions\"] = 73] = \"quickSuggestions\";\r\n EditorOption[EditorOption[\"quickSuggestionsDelay\"] = 74] = \"quickSuggestionsDelay\";\r\n EditorOption[EditorOption[\"readOnly\"] = 75] = \"readOnly\";\r\n EditorOption[EditorOption[\"renameOnType\"] = 76] = \"renameOnType\";\r\n EditorOption[EditorOption[\"renderControlCharacters\"] = 77] = \"renderControlCharacters\";\r\n EditorOption[EditorOption[\"renderIndentGuides\"] = 78] = \"renderIndentGuides\";\r\n EditorOption[EditorOption[\"renderFinalNewline\"] = 79] = \"renderFinalNewline\";\r\n EditorOption[EditorOption[\"renderLineHighlight\"] = 80] = \"renderLineHighlight\";\r\n EditorOption[EditorOption[\"renderLineHighlightOnlyWhenFocus\"] = 81] = \"renderLineHighlightOnlyWhenFocus\";\r\n EditorOption[EditorOption[\"renderValidationDecorations\"] = 82] = \"renderValidationDecorations\";\r\n EditorOption[EditorOption[\"renderWhitespace\"] = 83] = \"renderWhitespace\";\r\n EditorOption[EditorOption[\"revealHorizontalRightPadding\"] = 84] = \"revealHorizontalRightPadding\";\r\n EditorOption[EditorOption[\"roundedSelection\"] = 85] = \"roundedSelection\";\r\n EditorOption[EditorOption[\"rulers\"] = 86] = \"rulers\";\r\n EditorOption[EditorOption[\"scrollbar\"] = 87] = \"scrollbar\";\r\n EditorOption[EditorOption[\"scrollBeyondLastColumn\"] = 88] = \"scrollBeyondLastColumn\";\r\n EditorOption[EditorOption[\"scrollBeyondLastLine\"] = 89] = \"scrollBeyondLastLine\";\r\n EditorOption[EditorOption[\"scrollPredominantAxis\"] = 90] = \"scrollPredominantAxis\";\r\n EditorOption[EditorOption[\"selectionClipboard\"] = 91] = \"selectionClipboard\";\r\n EditorOption[EditorOption[\"selectionHighlight\"] = 92] = \"selectionHighlight\";\r\n EditorOption[EditorOption[\"selectOnLineNumbers\"] = 93] = \"selectOnLineNumbers\";\r\n EditorOption[EditorOption[\"showFoldingControls\"] = 94] = \"showFoldingControls\";\r\n EditorOption[EditorOption[\"showUnused\"] = 95] = \"showUnused\";\r\n EditorOption[EditorOption[\"snippetSuggestions\"] = 96] = \"snippetSuggestions\";\r\n EditorOption[EditorOption[\"smartSelect\"] = 97] = \"smartSelect\";\r\n EditorOption[EditorOption[\"smoothScrolling\"] = 98] = \"smoothScrolling\";\r\n EditorOption[EditorOption[\"stickyTabStops\"] = 99] = \"stickyTabStops\";\r\n EditorOption[EditorOption[\"stopRenderingLineAfter\"] = 100] = \"stopRenderingLineAfter\";\r\n EditorOption[EditorOption[\"suggest\"] = 101] = \"suggest\";\r\n EditorOption[EditorOption[\"suggestFontSize\"] = 102] = \"suggestFontSize\";\r\n EditorOption[EditorOption[\"suggestLineHeight\"] = 103] = \"suggestLineHeight\";\r\n EditorOption[EditorOption[\"suggestOnTriggerCharacters\"] = 104] = \"suggestOnTriggerCharacters\";\r\n EditorOption[EditorOption[\"suggestSelection\"] = 105] = \"suggestSelection\";\r\n EditorOption[EditorOption[\"tabCompletion\"] = 106] = \"tabCompletion\";\r\n EditorOption[EditorOption[\"tabIndex\"] = 107] = \"tabIndex\";\r\n EditorOption[EditorOption[\"unusualLineTerminators\"] = 108] = \"unusualLineTerminators\";\r\n EditorOption[EditorOption[\"useTabStops\"] = 109] = \"useTabStops\";\r\n EditorOption[EditorOption[\"wordSeparators\"] = 110] = \"wordSeparators\";\r\n EditorOption[EditorOption[\"wordWrap\"] = 111] = \"wordWrap\";\r\n EditorOption[EditorOption[\"wordWrapBreakAfterCharacters\"] = 112] = \"wordWrapBreakAfterCharacters\";\r\n EditorOption[EditorOption[\"wordWrapBreakBeforeCharacters\"] = 113] = \"wordWrapBreakBeforeCharacters\";\r\n EditorOption[EditorOption[\"wordWrapColumn\"] = 114] = \"wordWrapColumn\";\r\n EditorOption[EditorOption[\"wordWrapOverride1\"] = 115] = \"wordWrapOverride1\";\r\n EditorOption[EditorOption[\"wordWrapOverride2\"] = 116] = \"wordWrapOverride2\";\r\n EditorOption[EditorOption[\"wrappingIndent\"] = 117] = \"wrappingIndent\";\r\n EditorOption[EditorOption[\"wrappingStrategy\"] = 118] = \"wrappingStrategy\";\r\n EditorOption[EditorOption[\"showDeprecated\"] = 119] = \"showDeprecated\";\r\n EditorOption[EditorOption[\"inlineHints\"] = 120] = \"inlineHints\";\r\n EditorOption[EditorOption[\"editorClassName\"] = 121] = \"editorClassName\";\r\n EditorOption[EditorOption[\"pixelRatio\"] = 122] = \"pixelRatio\";\r\n EditorOption[EditorOption[\"tabFocusMode\"] = 123] = \"tabFocusMode\";\r\n EditorOption[EditorOption[\"layoutInfo\"] = 124] = \"layoutInfo\";\r\n EditorOption[EditorOption[\"wrappingInfo\"] = 125] = \"wrappingInfo\";\r\n})(EditorOption || (EditorOption = {}));\r\n/**\r\n * End of line character preference.\r\n */\r\nvar EndOfLinePreference;\r\n(function (EndOfLinePreference) {\r\n /**\r\n * Use the end of line character identified in the text buffer.\r\n */\r\n EndOfLinePreference[EndOfLinePreference[\"TextDefined\"] = 0] = \"TextDefined\";\r\n /**\r\n * Use line feed (\\n) as the end of line character.\r\n */\r\n EndOfLinePreference[EndOfLinePreference[\"LF\"] = 1] = \"LF\";\r\n /**\r\n * Use carriage return and line feed (\\r\\n) as the end of line character.\r\n */\r\n EndOfLinePreference[EndOfLinePreference[\"CRLF\"] = 2] = \"CRLF\";\r\n})(EndOfLinePreference || (EndOfLinePreference = {}));\r\n/**\r\n * End of line character preference.\r\n */\r\nvar EndOfLineSequence;\r\n(function (EndOfLineSequence) {\r\n /**\r\n * Use line feed (\\n) as the end of line character.\r\n */\r\n EndOfLineSequence[EndOfLineSequence[\"LF\"] = 0] = \"LF\";\r\n /**\r\n * Use carriage return and line feed (\\r\\n) as the end of line character.\r\n */\r\n EndOfLineSequence[EndOfLineSequence[\"CRLF\"] = 1] = \"CRLF\";\r\n})(EndOfLineSequence || (EndOfLineSequence = {}));\r\n/**\r\n * Describes what to do with the indentation when pressing Enter.\r\n */\r\nvar IndentAction;\r\n(function (IndentAction) {\r\n /**\r\n * Insert new line and copy the previous line's indentation.\r\n */\r\n IndentAction[IndentAction[\"None\"] = 0] = \"None\";\r\n /**\r\n * Insert new line and indent once (relative to the previous line's indentation).\r\n */\r\n IndentAction[IndentAction[\"Indent\"] = 1] = \"Indent\";\r\n /**\r\n * Insert two new lines:\r\n * - the first one indented which will hold the cursor\r\n * - the second one at the same indentation level\r\n */\r\n IndentAction[IndentAction[\"IndentOutdent\"] = 2] = \"IndentOutdent\";\r\n /**\r\n * Insert new line and outdent once (relative to the previous line's indentation).\r\n */\r\n IndentAction[IndentAction[\"Outdent\"] = 3] = \"Outdent\";\r\n})(IndentAction || (IndentAction = {}));\r\nvar InlineHintKind;\r\n(function (InlineHintKind) {\r\n InlineHintKind[InlineHintKind[\"Other\"] = 0] = \"Other\";\r\n InlineHintKind[InlineHintKind[\"Type\"] = 1] = \"Type\";\r\n InlineHintKind[InlineHintKind[\"Parameter\"] = 2] = \"Parameter\";\r\n})(InlineHintKind || (InlineHintKind = {}));\r\n/**\r\n * Virtual Key Codes, the value does not hold any inherent meaning.\r\n * Inspired somewhat from https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx\r\n * But these are \"more general\", as they should work across browsers & OS`s.\r\n */\r\nvar KeyCode;\r\n(function (KeyCode) {\r\n /**\r\n * Placed first to cover the 0 value of the enum.\r\n */\r\n KeyCode[KeyCode[\"Unknown\"] = 0] = \"Unknown\";\r\n KeyCode[KeyCode[\"Backspace\"] = 1] = \"Backspace\";\r\n KeyCode[KeyCode[\"Tab\"] = 2] = \"Tab\";\r\n KeyCode[KeyCode[\"Enter\"] = 3] = \"Enter\";\r\n KeyCode[KeyCode[\"Shift\"] = 4] = \"Shift\";\r\n KeyCode[KeyCode[\"Ctrl\"] = 5] = \"Ctrl\";\r\n KeyCode[KeyCode[\"Alt\"] = 6] = \"Alt\";\r\n KeyCode[KeyCode[\"PauseBreak\"] = 7] = \"PauseBreak\";\r\n KeyCode[KeyCode[\"CapsLock\"] = 8] = \"CapsLock\";\r\n KeyCode[KeyCode[\"Escape\"] = 9] = \"Escape\";\r\n KeyCode[KeyCode[\"Space\"] = 10] = \"Space\";\r\n KeyCode[KeyCode[\"PageUp\"] = 11] = \"PageUp\";\r\n KeyCode[KeyCode[\"PageDown\"] = 12] = \"PageDown\";\r\n KeyCode[KeyCode[\"End\"] = 13] = \"End\";\r\n KeyCode[KeyCode[\"Home\"] = 14] = \"Home\";\r\n KeyCode[KeyCode[\"LeftArrow\"] = 15] = \"LeftArrow\";\r\n KeyCode[KeyCode[\"UpArrow\"] = 16] = \"UpArrow\";\r\n KeyCode[KeyCode[\"RightArrow\"] = 17] = \"RightArrow\";\r\n KeyCode[KeyCode[\"DownArrow\"] = 18] = \"DownArrow\";\r\n KeyCode[KeyCode[\"Insert\"] = 19] = \"Insert\";\r\n KeyCode[KeyCode[\"Delete\"] = 20] = \"Delete\";\r\n KeyCode[KeyCode[\"KEY_0\"] = 21] = \"KEY_0\";\r\n KeyCode[KeyCode[\"KEY_1\"] = 22] = \"KEY_1\";\r\n KeyCode[KeyCode[\"KEY_2\"] = 23] = \"KEY_2\";\r\n KeyCode[KeyCode[\"KEY_3\"] = 24] = \"KEY_3\";\r\n KeyCode[KeyCode[\"KEY_4\"] = 25] = \"KEY_4\";\r\n KeyCode[KeyCode[\"KEY_5\"] = 26] = \"KEY_5\";\r\n KeyCode[KeyCode[\"KEY_6\"] = 27] = \"KEY_6\";\r\n KeyCode[KeyCode[\"KEY_7\"] = 28] = \"KEY_7\";\r\n KeyCode[KeyCode[\"KEY_8\"] = 29] = \"KEY_8\";\r\n KeyCode[KeyCode[\"KEY_9\"] = 30] = \"KEY_9\";\r\n KeyCode[KeyCode[\"KEY_A\"] = 31] = \"KEY_A\";\r\n KeyCode[KeyCode[\"KEY_B\"] = 32] = \"KEY_B\";\r\n KeyCode[KeyCode[\"KEY_C\"] = 33] = \"KEY_C\";\r\n KeyCode[KeyCode[\"KEY_D\"] = 34] = \"KEY_D\";\r\n KeyCode[KeyCode[\"KEY_E\"] = 35] = \"KEY_E\";\r\n KeyCode[KeyCode[\"KEY_F\"] = 36] = \"KEY_F\";\r\n KeyCode[KeyCode[\"KEY_G\"] = 37] = \"KEY_G\";\r\n KeyCode[KeyCode[\"KEY_H\"] = 38] = \"KEY_H\";\r\n KeyCode[KeyCode[\"KEY_I\"] = 39] = \"KEY_I\";\r\n KeyCode[KeyCode[\"KEY_J\"] = 40] = \"KEY_J\";\r\n KeyCode[KeyCode[\"KEY_K\"] = 41] = \"KEY_K\";\r\n KeyCode[KeyCode[\"KEY_L\"] = 42] = \"KEY_L\";\r\n KeyCode[KeyCode[\"KEY_M\"] = 43] = \"KEY_M\";\r\n KeyCode[KeyCode[\"KEY_N\"] = 44] = \"KEY_N\";\r\n KeyCode[KeyCode[\"KEY_O\"] = 45] = \"KEY_O\";\r\n KeyCode[KeyCode[\"KEY_P\"] = 46] = \"KEY_P\";\r\n KeyCode[KeyCode[\"KEY_Q\"] = 47] = \"KEY_Q\";\r\n KeyCode[KeyCode[\"KEY_R\"] = 48] = \"KEY_R\";\r\n KeyCode[KeyCode[\"KEY_S\"] = 49] = \"KEY_S\";\r\n KeyCode[KeyCode[\"KEY_T\"] = 50] = \"KEY_T\";\r\n KeyCode[KeyCode[\"KEY_U\"] = 51] = \"KEY_U\";\r\n KeyCode[KeyCode[\"KEY_V\"] = 52] = \"KEY_V\";\r\n KeyCode[KeyCode[\"KEY_W\"] = 53] = \"KEY_W\";\r\n KeyCode[KeyCode[\"KEY_X\"] = 54] = \"KEY_X\";\r\n KeyCode[KeyCode[\"KEY_Y\"] = 55] = \"KEY_Y\";\r\n KeyCode[KeyCode[\"KEY_Z\"] = 56] = \"KEY_Z\";\r\n KeyCode[KeyCode[\"Meta\"] = 57] = \"Meta\";\r\n KeyCode[KeyCode[\"ContextMenu\"] = 58] = \"ContextMenu\";\r\n KeyCode[KeyCode[\"F1\"] = 59] = \"F1\";\r\n KeyCode[KeyCode[\"F2\"] = 60] = \"F2\";\r\n KeyCode[KeyCode[\"F3\"] = 61] = \"F3\";\r\n KeyCode[KeyCode[\"F4\"] = 62] = \"F4\";\r\n KeyCode[KeyCode[\"F5\"] = 63] = \"F5\";\r\n KeyCode[KeyCode[\"F6\"] = 64] = \"F6\";\r\n KeyCode[KeyCode[\"F7\"] = 65] = \"F7\";\r\n KeyCode[KeyCode[\"F8\"] = 66] = \"F8\";\r\n KeyCode[KeyCode[\"F9\"] = 67] = \"F9\";\r\n KeyCode[KeyCode[\"F10\"] = 68] = \"F10\";\r\n KeyCode[KeyCode[\"F11\"] = 69] = \"F11\";\r\n KeyCode[KeyCode[\"F12\"] = 70] = \"F12\";\r\n KeyCode[KeyCode[\"F13\"] = 71] = \"F13\";\r\n KeyCode[KeyCode[\"F14\"] = 72] = \"F14\";\r\n KeyCode[KeyCode[\"F15\"] = 73] = \"F15\";\r\n KeyCode[KeyCode[\"F16\"] = 74] = \"F16\";\r\n KeyCode[KeyCode[\"F17\"] = 75] = \"F17\";\r\n KeyCode[KeyCode[\"F18\"] = 76] = \"F18\";\r\n KeyCode[KeyCode[\"F19\"] = 77] = \"F19\";\r\n KeyCode[KeyCode[\"NumLock\"] = 78] = \"NumLock\";\r\n KeyCode[KeyCode[\"ScrollLock\"] = 79] = \"ScrollLock\";\r\n /**\r\n * Used for miscellaneous characters; it can vary by keyboard.\r\n * For the US standard keyboard, the ';:' key\r\n */\r\n KeyCode[KeyCode[\"US_SEMICOLON\"] = 80] = \"US_SEMICOLON\";\r\n /**\r\n * For any country/region, the '+' key\r\n * For the US standard keyboard, the '=+' key\r\n */\r\n KeyCode[KeyCode[\"US_EQUAL\"] = 81] = \"US_EQUAL\";\r\n /**\r\n * For any country/region, the ',' key\r\n * For the US standard keyboard, the ',<' key\r\n */\r\n KeyCode[KeyCode[\"US_COMMA\"] = 82] = \"US_COMMA\";\r\n /**\r\n * For any country/region, the '-' key\r\n * For the US standard keyboard, the '-_' key\r\n */\r\n KeyCode[KeyCode[\"US_MINUS\"] = 83] = \"US_MINUS\";\r\n /**\r\n * For any country/region, the '.' key\r\n * For the US standard keyboard, the '.>' key\r\n */\r\n KeyCode[KeyCode[\"US_DOT\"] = 84] = \"US_DOT\";\r\n /**\r\n * Used for miscellaneous characters; it can vary by keyboard.\r\n * For the US standard keyboard, the '/?' key\r\n */\r\n KeyCode[KeyCode[\"US_SLASH\"] = 85] = \"US_SLASH\";\r\n /**\r\n * Used for miscellaneous characters; it can vary by keyboard.\r\n * For the US standard keyboard, the '`~' key\r\n */\r\n KeyCode[KeyCode[\"US_BACKTICK\"] = 86] = \"US_BACKTICK\";\r\n /**\r\n * Used for miscellaneous characters; it can vary by keyboard.\r\n * For the US standard keyboard, the '[{' key\r\n */\r\n KeyCode[KeyCode[\"US_OPEN_SQUARE_BRACKET\"] = 87] = \"US_OPEN_SQUARE_BRACKET\";\r\n /**\r\n * Used for miscellaneous characters; it can vary by keyboard.\r\n * For the US standard keyboard, the '\\|' key\r\n */\r\n KeyCode[KeyCode[\"US_BACKSLASH\"] = 88] = \"US_BACKSLASH\";\r\n /**\r\n * Used for miscellaneous characters; it can vary by keyboard.\r\n * For the US standard keyboard, the ']}' key\r\n */\r\n KeyCode[KeyCode[\"US_CLOSE_SQUARE_BRACKET\"] = 89] = \"US_CLOSE_SQUARE_BRACKET\";\r\n /**\r\n * Used for miscellaneous characters; it can vary by keyboard.\r\n * For the US standard keyboard, the ''\"' key\r\n */\r\n KeyCode[KeyCode[\"US_QUOTE\"] = 90] = \"US_QUOTE\";\r\n /**\r\n * Used for miscellaneous characters; it can vary by keyboard.\r\n */\r\n KeyCode[KeyCode[\"OEM_8\"] = 91] = \"OEM_8\";\r\n /**\r\n * Either the angle bracket key or the backslash key on the RT 102-key keyboard.\r\n */\r\n KeyCode[KeyCode[\"OEM_102\"] = 92] = \"OEM_102\";\r\n KeyCode[KeyCode[\"NUMPAD_0\"] = 93] = \"NUMPAD_0\";\r\n KeyCode[KeyCode[\"NUMPAD_1\"] = 94] = \"NUMPAD_1\";\r\n KeyCode[KeyCode[\"NUMPAD_2\"] = 95] = \"NUMPAD_2\";\r\n KeyCode[KeyCode[\"NUMPAD_3\"] = 96] = \"NUMPAD_3\";\r\n KeyCode[KeyCode[\"NUMPAD_4\"] = 97] = \"NUMPAD_4\";\r\n KeyCode[KeyCode[\"NUMPAD_5\"] = 98] = \"NUMPAD_5\";\r\n KeyCode[KeyCode[\"NUMPAD_6\"] = 99] = \"NUMPAD_6\";\r\n KeyCode[KeyCode[\"NUMPAD_7\"] = 100] = \"NUMPAD_7\";\r\n KeyCode[KeyCode[\"NUMPAD_8\"] = 101] = \"NUMPAD_8\";\r\n KeyCode[KeyCode[\"NUMPAD_9\"] = 102] = \"NUMPAD_9\";\r\n KeyCode[KeyCode[\"NUMPAD_MULTIPLY\"] = 103] = \"NUMPAD_MULTIPLY\";\r\n KeyCode[KeyCode[\"NUMPAD_ADD\"] = 104] = \"NUMPAD_ADD\";\r\n KeyCode[KeyCode[\"NUMPAD_SEPARATOR\"] = 105] = \"NUMPAD_SEPARATOR\";\r\n KeyCode[KeyCode[\"NUMPAD_SUBTRACT\"] = 106] = \"NUMPAD_SUBTRACT\";\r\n KeyCode[KeyCode[\"NUMPAD_DECIMAL\"] = 107] = \"NUMPAD_DECIMAL\";\r\n KeyCode[KeyCode[\"NUMPAD_DIVIDE\"] = 108] = \"NUMPAD_DIVIDE\";\r\n /**\r\n * Cover all key codes when IME is processing input.\r\n */\r\n KeyCode[KeyCode[\"KEY_IN_COMPOSITION\"] = 109] = \"KEY_IN_COMPOSITION\";\r\n KeyCode[KeyCode[\"ABNT_C1\"] = 110] = \"ABNT_C1\";\r\n KeyCode[KeyCode[\"ABNT_C2\"] = 111] = \"ABNT_C2\";\r\n /**\r\n * Placed last to cover the length of the enum.\r\n * Please do not depend on this value!\r\n */\r\n KeyCode[KeyCode[\"MAX_VALUE\"] = 112] = \"MAX_VALUE\";\r\n})(KeyCode || (KeyCode = {}));\r\nvar MarkerSeverity;\r\n(function (MarkerSeverity) {\r\n MarkerSeverity[MarkerSeverity[\"Hint\"] = 1] = \"Hint\";\r\n MarkerSeverity[MarkerSeverity[\"Info\"] = 2] = \"Info\";\r\n MarkerSeverity[MarkerSeverity[\"Warning\"] = 4] = \"Warning\";\r\n MarkerSeverity[MarkerSeverity[\"Error\"] = 8] = \"Error\";\r\n})(MarkerSeverity || (MarkerSeverity = {}));\r\nvar MarkerTag;\r\n(function (MarkerTag) {\r\n MarkerTag[MarkerTag[\"Unnecessary\"] = 1] = \"Unnecessary\";\r\n MarkerTag[MarkerTag[\"Deprecated\"] = 2] = \"Deprecated\";\r\n})(MarkerTag || (MarkerTag = {}));\r\n/**\r\n * Position in the minimap to render the decoration.\r\n */\r\nvar MinimapPosition;\r\n(function (MinimapPosition) {\r\n MinimapPosition[MinimapPosition[\"Inline\"] = 1] = \"Inline\";\r\n MinimapPosition[MinimapPosition[\"Gutter\"] = 2] = \"Gutter\";\r\n})(MinimapPosition || (MinimapPosition = {}));\r\n/**\r\n * Type of hit element with the mouse in the editor.\r\n */\r\nvar MouseTargetType;\r\n(function (MouseTargetType) {\r\n /**\r\n * Mouse is on top of an unknown element.\r\n */\r\n MouseTargetType[MouseTargetType[\"UNKNOWN\"] = 0] = \"UNKNOWN\";\r\n /**\r\n * Mouse is on top of the textarea used for input.\r\n */\r\n MouseTargetType[MouseTargetType[\"TEXTAREA\"] = 1] = \"TEXTAREA\";\r\n /**\r\n * Mouse is on top of the glyph margin\r\n */\r\n MouseTargetType[MouseTargetType[\"GUTTER_GLYPH_MARGIN\"] = 2] = \"GUTTER_GLYPH_MARGIN\";\r\n /**\r\n * Mouse is on top of the line numbers\r\n */\r\n MouseTargetType[MouseTargetType[\"GUTTER_LINE_NUMBERS\"] = 3] = \"GUTTER_LINE_NUMBERS\";\r\n /**\r\n * Mouse is on top of the line decorations\r\n */\r\n MouseTargetType[MouseTargetType[\"GUTTER_LINE_DECORATIONS\"] = 4] = \"GUTTER_LINE_DECORATIONS\";\r\n /**\r\n * Mouse is on top of the whitespace left in the gutter by a view zone.\r\n */\r\n MouseTargetType[MouseTargetType[\"GUTTER_VIEW_ZONE\"] = 5] = \"GUTTER_VIEW_ZONE\";\r\n /**\r\n * Mouse is on top of text in the content.\r\n */\r\n MouseTargetType[MouseTargetType[\"CONTENT_TEXT\"] = 6] = \"CONTENT_TEXT\";\r\n /**\r\n * Mouse is on top of empty space in the content (e.g. after line text or below last line)\r\n */\r\n MouseTargetType[MouseTargetType[\"CONTENT_EMPTY\"] = 7] = \"CONTENT_EMPTY\";\r\n /**\r\n * Mouse is on top of a view zone in the content.\r\n */\r\n MouseTargetType[MouseTargetType[\"CONTENT_VIEW_ZONE\"] = 8] = \"CONTENT_VIEW_ZONE\";\r\n /**\r\n * Mouse is on top of a content widget.\r\n */\r\n MouseTargetType[MouseTargetType[\"CONTENT_WIDGET\"] = 9] = \"CONTENT_WIDGET\";\r\n /**\r\n * Mouse is on top of the decorations overview ruler.\r\n */\r\n MouseTargetType[MouseTargetType[\"OVERVIEW_RULER\"] = 10] = \"OVERVIEW_RULER\";\r\n /**\r\n * Mouse is on top of a scrollbar.\r\n */\r\n MouseTargetType[MouseTargetType[\"SCROLLBAR\"] = 11] = \"SCROLLBAR\";\r\n /**\r\n * Mouse is on top of an overlay widget.\r\n */\r\n MouseTargetType[MouseTargetType[\"OVERLAY_WIDGET\"] = 12] = \"OVERLAY_WIDGET\";\r\n /**\r\n * Mouse is outside of the editor.\r\n */\r\n MouseTargetType[MouseTargetType[\"OUTSIDE_EDITOR\"] = 13] = \"OUTSIDE_EDITOR\";\r\n})(MouseTargetType || (MouseTargetType = {}));\r\n/**\r\n * A positioning preference for rendering overlay widgets.\r\n */\r\nvar OverlayWidgetPositionPreference;\r\n(function (OverlayWidgetPositionPreference) {\r\n /**\r\n * Position the overlay widget in the top right corner\r\n */\r\n OverlayWidgetPositionPreference[OverlayWidgetPositionPreference[\"TOP_RIGHT_CORNER\"] = 0] = \"TOP_RIGHT_CORNER\";\r\n /**\r\n * Position the overlay widget in the bottom right corner\r\n */\r\n OverlayWidgetPositionPreference[OverlayWidgetPositionPreference[\"BOTTOM_RIGHT_CORNER\"] = 1] = \"BOTTOM_RIGHT_CORNER\";\r\n /**\r\n * Position the overlay widget in the top center\r\n */\r\n OverlayWidgetPositionPreference[OverlayWidgetPositionPreference[\"TOP_CENTER\"] = 2] = \"TOP_CENTER\";\r\n})(OverlayWidgetPositionPreference || (OverlayWidgetPositionPreference = {}));\r\n/**\r\n * Vertical Lane in the overview ruler of the editor.\r\n */\r\nvar OverviewRulerLane;\r\n(function (OverviewRulerLane) {\r\n OverviewRulerLane[OverviewRulerLane[\"Left\"] = 1] = \"Left\";\r\n OverviewRulerLane[OverviewRulerLane[\"Center\"] = 2] = \"Center\";\r\n OverviewRulerLane[OverviewRulerLane[\"Right\"] = 4] = \"Right\";\r\n OverviewRulerLane[OverviewRulerLane[\"Full\"] = 7] = \"Full\";\r\n})(OverviewRulerLane || (OverviewRulerLane = {}));\r\nvar RenderLineNumbersType;\r\n(function (RenderLineNumbersType) {\r\n RenderLineNumbersType[RenderLineNumbersType[\"Off\"] = 0] = \"Off\";\r\n RenderLineNumbersType[RenderLineNumbersType[\"On\"] = 1] = \"On\";\r\n RenderLineNumbersType[RenderLineNumbersType[\"Relative\"] = 2] = \"Relative\";\r\n RenderLineNumbersType[RenderLineNumbersType[\"Interval\"] = 3] = \"Interval\";\r\n RenderLineNumbersType[RenderLineNumbersType[\"Custom\"] = 4] = \"Custom\";\r\n})(RenderLineNumbersType || (RenderLineNumbersType = {}));\r\nvar RenderMinimap;\r\n(function (RenderMinimap) {\r\n RenderMinimap[RenderMinimap[\"None\"] = 0] = \"None\";\r\n RenderMinimap[RenderMinimap[\"Text\"] = 1] = \"Text\";\r\n RenderMinimap[RenderMinimap[\"Blocks\"] = 2] = \"Blocks\";\r\n})(RenderMinimap || (RenderMinimap = {}));\r\nvar ScrollType;\r\n(function (ScrollType) {\r\n ScrollType[ScrollType[\"Smooth\"] = 0] = \"Smooth\";\r\n ScrollType[ScrollType[\"Immediate\"] = 1] = \"Immediate\";\r\n})(ScrollType || (ScrollType = {}));\r\nvar ScrollbarVisibility;\r\n(function (ScrollbarVisibility) {\r\n ScrollbarVisibility[ScrollbarVisibility[\"Auto\"] = 1] = \"Auto\";\r\n ScrollbarVisibility[ScrollbarVisibility[\"Hidden\"] = 2] = \"Hidden\";\r\n ScrollbarVisibility[ScrollbarVisibility[\"Visible\"] = 3] = \"Visible\";\r\n})(ScrollbarVisibility || (ScrollbarVisibility = {}));\r\n/**\r\n * The direction of a selection.\r\n */\r\nvar SelectionDirection;\r\n(function (SelectionDirection) {\r\n /**\r\n * The selection starts above where it ends.\r\n */\r\n SelectionDirection[SelectionDirection[\"LTR\"] = 0] = \"LTR\";\r\n /**\r\n * The selection starts below where it ends.\r\n */\r\n SelectionDirection[SelectionDirection[\"RTL\"] = 1] = \"RTL\";\r\n})(SelectionDirection || (SelectionDirection = {}));\r\nvar SignatureHelpTriggerKind;\r\n(function (SignatureHelpTriggerKind) {\r\n SignatureHelpTriggerKind[SignatureHelpTriggerKind[\"Invoke\"] = 1] = \"Invoke\";\r\n SignatureHelpTriggerKind[SignatureHelpTriggerKind[\"TriggerCharacter\"] = 2] = \"TriggerCharacter\";\r\n SignatureHelpTriggerKind[SignatureHelpTriggerKind[\"ContentChange\"] = 3] = \"ContentChange\";\r\n})(SignatureHelpTriggerKind || (SignatureHelpTriggerKind = {}));\r\n/**\r\n * A symbol kind.\r\n */\r\nvar SymbolKind;\r\n(function (SymbolKind) {\r\n SymbolKind[SymbolKind[\"File\"] = 0] = \"File\";\r\n SymbolKind[SymbolKind[\"Module\"] = 1] = \"Module\";\r\n SymbolKind[SymbolKind[\"Namespace\"] = 2] = \"Namespace\";\r\n SymbolKind[SymbolKind[\"Package\"] = 3] = \"Package\";\r\n SymbolKind[SymbolKind[\"Class\"] = 4] = \"Class\";\r\n SymbolKind[SymbolKind[\"Method\"] = 5] = \"Method\";\r\n SymbolKind[SymbolKind[\"Property\"] = 6] = \"Property\";\r\n SymbolKind[SymbolKind[\"Field\"] = 7] = \"Field\";\r\n SymbolKind[SymbolKind[\"Constructor\"] = 8] = \"Constructor\";\r\n SymbolKind[SymbolKind[\"Enum\"] = 9] = \"Enum\";\r\n SymbolKind[SymbolKind[\"Interface\"] = 10] = \"Interface\";\r\n SymbolKind[SymbolKind[\"Function\"] = 11] = \"Function\";\r\n SymbolKind[SymbolKind[\"Variable\"] = 12] = \"Variable\";\r\n SymbolKind[SymbolKind[\"Constant\"] = 13] = \"Constant\";\r\n SymbolKind[SymbolKind[\"String\"] = 14] = \"String\";\r\n SymbolKind[SymbolKind[\"Number\"] = 15] = \"Number\";\r\n SymbolKind[SymbolKind[\"Boolean\"] = 16] = \"Boolean\";\r\n SymbolKind[SymbolKind[\"Array\"] = 17] = \"Array\";\r\n SymbolKind[SymbolKind[\"Object\"] = 18] = \"Object\";\r\n SymbolKind[SymbolKind[\"Key\"] = 19] = \"Key\";\r\n SymbolKind[SymbolKind[\"Null\"] = 20] = \"Null\";\r\n SymbolKind[SymbolKind[\"EnumMember\"] = 21] = \"EnumMember\";\r\n SymbolKind[SymbolKind[\"Struct\"] = 22] = \"Struct\";\r\n SymbolKind[SymbolKind[\"Event\"] = 23] = \"Event\";\r\n SymbolKind[SymbolKind[\"Operator\"] = 24] = \"Operator\";\r\n SymbolKind[SymbolKind[\"TypeParameter\"] = 25] = \"TypeParameter\";\r\n})(SymbolKind || (SymbolKind = {}));\r\nvar SymbolTag;\r\n(function (SymbolTag) {\r\n SymbolTag[SymbolTag[\"Deprecated\"] = 1] = \"Deprecated\";\r\n})(SymbolTag || (SymbolTag = {}));\r\n/**\r\n * The kind of animation in which the editor's cursor should be rendered.\r\n */\r\nvar TextEditorCursorBlinkingStyle;\r\n(function (TextEditorCursorBlinkingStyle) {\r\n /**\r\n * Hidden\r\n */\r\n TextEditorCursorBlinkingStyle[TextEditorCursorBlinkingStyle[\"Hidden\"] = 0] = \"Hidden\";\r\n /**\r\n * Blinking\r\n */\r\n TextEditorCursorBlinkingStyle[TextEditorCursorBlinkingStyle[\"Blink\"] = 1] = \"Blink\";\r\n /**\r\n * Blinking with smooth fading\r\n */\r\n TextEditorCursorBlinkingStyle[TextEditorCursorBlinkingStyle[\"Smooth\"] = 2] = \"Smooth\";\r\n /**\r\n * Blinking with prolonged filled state and smooth fading\r\n */\r\n TextEditorCursorBlinkingStyle[TextEditorCursorBlinkingStyle[\"Phase\"] = 3] = \"Phase\";\r\n /**\r\n * Expand collapse animation on the y axis\r\n */\r\n TextEditorCursorBlinkingStyle[TextEditorCursorBlinkingStyle[\"Expand\"] = 4] = \"Expand\";\r\n /**\r\n * No-Blinking\r\n */\r\n TextEditorCursorBlinkingStyle[TextEditorCursorBlinkingStyle[\"Solid\"] = 5] = \"Solid\";\r\n})(TextEditorCursorBlinkingStyle || (TextEditorCursorBlinkingStyle = {}));\r\n/**\r\n * The style in which the editor's cursor should be rendered.\r\n */\r\nvar TextEditorCursorStyle;\r\n(function (TextEditorCursorStyle) {\r\n /**\r\n * As a vertical line (sitting between two characters).\r\n */\r\n TextEditorCursorStyle[TextEditorCursorStyle[\"Line\"] = 1] = \"Line\";\r\n /**\r\n * As a block (sitting on top of a character).\r\n */\r\n TextEditorCursorStyle[TextEditorCursorStyle[\"Block\"] = 2] = \"Block\";\r\n /**\r\n * As a horizontal line (sitting under a character).\r\n */\r\n TextEditorCursorStyle[TextEditorCursorStyle[\"Underline\"] = 3] = \"Underline\";\r\n /**\r\n * As a thin vertical line (sitting between two characters).\r\n */\r\n TextEditorCursorStyle[TextEditorCursorStyle[\"LineThin\"] = 4] = \"LineThin\";\r\n /**\r\n * As an outlined block (sitting on top of a character).\r\n */\r\n TextEditorCursorStyle[TextEditorCursorStyle[\"BlockOutline\"] = 5] = \"BlockOutline\";\r\n /**\r\n * As a thin horizontal line (sitting under a character).\r\n */\r\n TextEditorCursorStyle[TextEditorCursorStyle[\"UnderlineThin\"] = 6] = \"UnderlineThin\";\r\n})(TextEditorCursorStyle || (TextEditorCursorStyle = {}));\r\n/**\r\n * Describes the behavior of decorations when typing/editing near their edges.\r\n * Note: Please do not edit the values, as they very carefully match `DecorationRangeBehavior`\r\n */\r\nvar TrackedRangeStickiness;\r\n(function (TrackedRangeStickiness) {\r\n TrackedRangeStickiness[TrackedRangeStickiness[\"AlwaysGrowsWhenTypingAtEdges\"] = 0] = \"AlwaysGrowsWhenTypingAtEdges\";\r\n TrackedRangeStickiness[TrackedRangeStickiness[\"NeverGrowsWhenTypingAtEdges\"] = 1] = \"NeverGrowsWhenTypingAtEdges\";\r\n TrackedRangeStickiness[TrackedRangeStickiness[\"GrowsOnlyWhenTypingBefore\"] = 2] = \"GrowsOnlyWhenTypingBefore\";\r\n TrackedRangeStickiness[TrackedRangeStickiness[\"GrowsOnlyWhenTypingAfter\"] = 3] = \"GrowsOnlyWhenTypingAfter\";\r\n})(TrackedRangeStickiness || (TrackedRangeStickiness = {}));\r\n/**\r\n * Describes how to indent wrapped lines.\r\n */\r\nvar WrappingIndent;\r\n(function (WrappingIndent) {\r\n /**\r\n * No indentation => wrapped lines begin at column 1.\r\n */\r\n WrappingIndent[WrappingIndent[\"None\"] = 0] = \"None\";\r\n /**\r\n * Same => wrapped lines get the same indentation as the parent.\r\n */\r\n WrappingIndent[WrappingIndent[\"Same\"] = 1] = \"Same\";\r\n /**\r\n * Indent => wrapped lines get +1 indentation toward the parent.\r\n */\r\n WrappingIndent[WrappingIndent[\"Indent\"] = 2] = \"Indent\";\r\n /**\r\n * DeepIndent => wrapped lines get +2 indentation toward the parent.\r\n */\r\n WrappingIndent[WrappingIndent[\"DeepIndent\"] = 3] = \"DeepIndent\";\r\n})(WrappingIndent || (WrappingIndent = {}));\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/editor/common/standalone/standaloneEnums.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/editor/common/viewModel/prefixSumComputer.js":
|
||
/*!****************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/editor/common/viewModel/prefixSumComputer.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 */ \"PrefixSumIndexOfResult\": () => (/* binding */ PrefixSumIndexOfResult),\n/* harmony export */ \"PrefixSumComputer\": () => (/* binding */ PrefixSumComputer)\n/* harmony export */ });\n/* harmony import */ var _base_common_uint_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../base/common/uint.js */ \"./node_modules/monaco-editor/esm/vs/base/common/uint.js\");\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\n\r\nclass PrefixSumIndexOfResult {\r\n constructor(index, remainder) {\r\n this.index = index;\r\n this.remainder = remainder;\r\n }\r\n}\r\nclass PrefixSumComputer {\r\n constructor(values) {\r\n this.values = values;\r\n this.prefixSum = new Uint32Array(values.length);\r\n this.prefixSumValidIndex = new Int32Array(1);\r\n this.prefixSumValidIndex[0] = -1;\r\n }\r\n insertValues(insertIndex, insertValues) {\r\n insertIndex = (0,_base_common_uint_js__WEBPACK_IMPORTED_MODULE_0__.toUint32)(insertIndex);\r\n const oldValues = this.values;\r\n const oldPrefixSum = this.prefixSum;\r\n const insertValuesLen = insertValues.length;\r\n if (insertValuesLen === 0) {\r\n return false;\r\n }\r\n this.values = new Uint32Array(oldValues.length + insertValuesLen);\r\n this.values.set(oldValues.subarray(0, insertIndex), 0);\r\n this.values.set(oldValues.subarray(insertIndex), insertIndex + insertValuesLen);\r\n this.values.set(insertValues, insertIndex);\r\n if (insertIndex - 1 < this.prefixSumValidIndex[0]) {\r\n this.prefixSumValidIndex[0] = insertIndex - 1;\r\n }\r\n this.prefixSum = new Uint32Array(this.values.length);\r\n if (this.prefixSumValidIndex[0] >= 0) {\r\n this.prefixSum.set(oldPrefixSum.subarray(0, this.prefixSumValidIndex[0] + 1));\r\n }\r\n return true;\r\n }\r\n changeValue(index, value) {\r\n index = (0,_base_common_uint_js__WEBPACK_IMPORTED_MODULE_0__.toUint32)(index);\r\n value = (0,_base_common_uint_js__WEBPACK_IMPORTED_MODULE_0__.toUint32)(value);\r\n if (this.values[index] === value) {\r\n return false;\r\n }\r\n this.values[index] = value;\r\n if (index - 1 < this.prefixSumValidIndex[0]) {\r\n this.prefixSumValidIndex[0] = index - 1;\r\n }\r\n return true;\r\n }\r\n removeValues(startIndex, cnt) {\r\n startIndex = (0,_base_common_uint_js__WEBPACK_IMPORTED_MODULE_0__.toUint32)(startIndex);\r\n cnt = (0,_base_common_uint_js__WEBPACK_IMPORTED_MODULE_0__.toUint32)(cnt);\r\n const oldValues = this.values;\r\n const oldPrefixSum = this.prefixSum;\r\n if (startIndex >= oldValues.length) {\r\n return false;\r\n }\r\n let maxCnt = oldValues.length - startIndex;\r\n if (cnt >= maxCnt) {\r\n cnt = maxCnt;\r\n }\r\n if (cnt === 0) {\r\n return false;\r\n }\r\n this.values = new Uint32Array(oldValues.length - cnt);\r\n this.values.set(oldValues.subarray(0, startIndex), 0);\r\n this.values.set(oldValues.subarray(startIndex + cnt), startIndex);\r\n this.prefixSum = new Uint32Array(this.values.length);\r\n if (startIndex - 1 < this.prefixSumValidIndex[0]) {\r\n this.prefixSumValidIndex[0] = startIndex - 1;\r\n }\r\n if (this.prefixSumValidIndex[0] >= 0) {\r\n this.prefixSum.set(oldPrefixSum.subarray(0, this.prefixSumValidIndex[0] + 1));\r\n }\r\n return true;\r\n }\r\n getTotalValue() {\r\n if (this.values.length === 0) {\r\n return 0;\r\n }\r\n return this._getAccumulatedValue(this.values.length - 1);\r\n }\r\n getAccumulatedValue(index) {\r\n if (index < 0) {\r\n return 0;\r\n }\r\n index = (0,_base_common_uint_js__WEBPACK_IMPORTED_MODULE_0__.toUint32)(index);\r\n return this._getAccumulatedValue(index);\r\n }\r\n _getAccumulatedValue(index) {\r\n if (index <= this.prefixSumValidIndex[0]) {\r\n return this.prefixSum[index];\r\n }\r\n let startIndex = this.prefixSumValidIndex[0] + 1;\r\n if (startIndex === 0) {\r\n this.prefixSum[0] = this.values[0];\r\n startIndex++;\r\n }\r\n if (index >= this.values.length) {\r\n index = this.values.length - 1;\r\n }\r\n for (let i = startIndex; i <= index; i++) {\r\n this.prefixSum[i] = this.prefixSum[i - 1] + this.values[i];\r\n }\r\n this.prefixSumValidIndex[0] = Math.max(this.prefixSumValidIndex[0], index);\r\n return this.prefixSum[index];\r\n }\r\n getIndexOf(accumulatedValue) {\r\n accumulatedValue = Math.floor(accumulatedValue); //@perf\r\n // Compute all sums (to get a fully valid prefixSum)\r\n this.getTotalValue();\r\n let low = 0;\r\n let high = this.values.length - 1;\r\n let mid = 0;\r\n let midStop = 0;\r\n let midStart = 0;\r\n while (low <= high) {\r\n mid = low + ((high - low) / 2) | 0;\r\n midStop = this.prefixSum[mid];\r\n midStart = midStop - this.values[mid];\r\n if (accumulatedValue < midStart) {\r\n high = mid - 1;\r\n }\r\n else if (accumulatedValue >= midStop) {\r\n low = mid + 1;\r\n }\r\n else {\r\n break;\r\n }\r\n }\r\n return new PrefixSumIndexOfResult(mid, accumulatedValue - midStart);\r\n }\r\n}\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/editor/common/viewModel/prefixSumComputer.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/editor/editor.worker.js":
|
||
/*!*******************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/editor/editor.worker.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 */ \"initialize\": () => (/* binding */ initialize)\n/* harmony export */ });\n/* harmony import */ var _base_common_worker_simpleWorker_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../base/common/worker/simpleWorker.js */ \"./node_modules/monaco-editor/esm/vs/base/common/worker/simpleWorker.js\");\n/* harmony import */ var _common_services_editorSimpleWorker_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./common/services/editorSimpleWorker.js */ \"./node_modules/monaco-editor/esm/vs/editor/common/services/editorSimpleWorker.js\");\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\n\r\n\r\nlet initialized = false;\r\nfunction initialize(foreignModule) {\r\n if (initialized) {\r\n return;\r\n }\r\n initialized = true;\r\n const simpleWorker = new _base_common_worker_simpleWorker_js__WEBPACK_IMPORTED_MODULE_0__.SimpleWorkerServer((msg) => {\r\n self.postMessage(msg);\r\n }, (host) => new _common_services_editorSimpleWorker_js__WEBPACK_IMPORTED_MODULE_1__.EditorSimpleWorker(host, foreignModule));\r\n self.onmessage = (e) => {\r\n simpleWorker.onmessage(e.data);\r\n };\r\n}\r\nself.onmessage = (e) => {\r\n // Ignore first message in this case and initialize if not yet initialized\r\n if (!initialized) {\r\n initialize(null);\r\n }\r\n};\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/editor/editor.worker.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/cssLanguageService.js":
|
||
/*!***************************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/cssLanguageService.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 */ \"ClientCapabilities\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.ClientCapabilities),\n/* harmony export */ \"CodeAction\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.CodeAction),\n/* harmony export */ \"CodeActionContext\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.CodeActionContext),\n/* harmony export */ \"CodeActionKind\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.CodeActionKind),\n/* harmony export */ \"Color\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.Color),\n/* harmony export */ \"ColorInformation\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.ColorInformation),\n/* harmony export */ \"ColorPresentation\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.ColorPresentation),\n/* harmony export */ \"Command\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.Command),\n/* harmony export */ \"CompletionItem\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.CompletionItem),\n/* harmony export */ \"CompletionItemKind\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.CompletionItemKind),\n/* harmony export */ \"CompletionItemTag\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.CompletionItemTag),\n/* harmony export */ \"CompletionList\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.CompletionList),\n/* harmony export */ \"Diagnostic\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.Diagnostic),\n/* harmony export */ \"DiagnosticSeverity\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.DiagnosticSeverity),\n/* harmony export */ \"DocumentHighlight\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.DocumentHighlight),\n/* harmony export */ \"DocumentHighlightKind\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.DocumentHighlightKind),\n/* harmony export */ \"DocumentLink\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.DocumentLink),\n/* harmony export */ \"DocumentSymbol\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.DocumentSymbol),\n/* harmony export */ \"FileType\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.FileType),\n/* harmony export */ \"FoldingRange\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.FoldingRange),\n/* harmony export */ \"FoldingRangeKind\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.FoldingRangeKind),\n/* harmony export */ \"Hover\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.Hover),\n/* harmony export */ \"InsertTextFormat\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.InsertTextFormat),\n/* harmony export */ \"Location\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.Location),\n/* harmony export */ \"MarkedString\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.MarkedString),\n/* harmony export */ \"MarkupContent\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.MarkupContent),\n/* harmony export */ \"MarkupKind\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.MarkupKind),\n/* harmony export */ \"Position\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.Position),\n/* harmony export */ \"Range\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.Range),\n/* harmony export */ \"SelectionRange\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.SelectionRange),\n/* harmony export */ \"SymbolInformation\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.SymbolInformation),\n/* harmony export */ \"SymbolKind\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.SymbolKind),\n/* harmony export */ \"TextDocument\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.TextDocument),\n/* harmony export */ \"TextDocumentEdit\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.TextDocumentEdit),\n/* harmony export */ \"TextEdit\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.TextEdit),\n/* harmony export */ \"VersionedTextDocumentIdentifier\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.VersionedTextDocumentIdentifier),\n/* harmony export */ \"WorkspaceEdit\": () => (/* reexport safe */ _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__.WorkspaceEdit),\n/* harmony export */ \"getDefaultCSSDataProvider\": () => (/* binding */ getDefaultCSSDataProvider),\n/* harmony export */ \"newCSSDataProvider\": () => (/* binding */ newCSSDataProvider),\n/* harmony export */ \"getCSSLanguageService\": () => (/* binding */ getCSSLanguageService),\n/* harmony export */ \"getSCSSLanguageService\": () => (/* binding */ getSCSSLanguageService),\n/* harmony export */ \"getLESSLanguageService\": () => (/* binding */ getLESSLanguageService)\n/* harmony export */ });\n/* harmony import */ var _parser_cssParser_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./parser/cssParser.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssParser.js\");\n/* harmony import */ var _services_cssCompletion_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./services/cssCompletion.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssCompletion.js\");\n/* harmony import */ var _services_cssHover_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./services/cssHover.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssHover.js\");\n/* harmony import */ var _services_cssNavigation_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./services/cssNavigation.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssNavigation.js\");\n/* harmony import */ var _services_cssCodeActions_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./services/cssCodeActions.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssCodeActions.js\");\n/* harmony import */ var _services_cssValidation_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./services/cssValidation.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssValidation.js\");\n/* harmony import */ var _parser_scssParser_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./parser/scssParser.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/scssParser.js\");\n/* harmony import */ var _services_scssCompletion_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./services/scssCompletion.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/scssCompletion.js\");\n/* harmony import */ var _parser_lessParser_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./parser/lessParser.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/lessParser.js\");\n/* harmony import */ var _services_lessCompletion_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./services/lessCompletion.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/lessCompletion.js\");\n/* harmony import */ var _services_cssFolding_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./services/cssFolding.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssFolding.js\");\n/* harmony import */ var _languageFacts_dataManager_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./languageFacts/dataManager.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/dataManager.js\");\n/* harmony import */ var _languageFacts_dataProvider_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./languageFacts/dataProvider.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/dataProvider.js\");\n/* harmony import */ var _services_cssSelectionRange_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./services/cssSelectionRange.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssSelectionRange.js\");\n/* harmony import */ var _services_scssNavigation_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./services/scssNavigation.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/scssNavigation.js\");\n/* harmony import */ var _data_webCustomData_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./data/webCustomData.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/data/webCustomData.js\");\n/* harmony import */ var _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./cssLanguageTypes.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/cssLanguageTypes.js\");\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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction getDefaultCSSDataProvider() {\n return newCSSDataProvider(_data_webCustomData_js__WEBPACK_IMPORTED_MODULE_15__.cssData);\n}\nfunction newCSSDataProvider(data) {\n return new _languageFacts_dataProvider_js__WEBPACK_IMPORTED_MODULE_12__.CSSDataProvider(data);\n}\nfunction createFacade(parser, completion, hover, navigation, codeActions, validation, cssDataManager) {\n return {\n configure: function (settings) {\n validation.configure(settings);\n completion.configure(settings === null || settings === void 0 ? void 0 : settings.completion);\n hover.configure(settings === null || settings === void 0 ? void 0 : settings.hover);\n },\n setDataProviders: cssDataManager.setDataProviders.bind(cssDataManager),\n doValidation: validation.doValidation.bind(validation),\n parseStylesheet: parser.parseStylesheet.bind(parser),\n doComplete: completion.doComplete.bind(completion),\n doComplete2: completion.doComplete2.bind(completion),\n setCompletionParticipants: completion.setCompletionParticipants.bind(completion),\n doHover: hover.doHover.bind(hover),\n findDefinition: navigation.findDefinition.bind(navigation),\n findReferences: navigation.findReferences.bind(navigation),\n findDocumentHighlights: navigation.findDocumentHighlights.bind(navigation),\n findDocumentLinks: navigation.findDocumentLinks.bind(navigation),\n findDocumentLinks2: navigation.findDocumentLinks2.bind(navigation),\n findDocumentSymbols: navigation.findDocumentSymbols.bind(navigation),\n doCodeActions: codeActions.doCodeActions.bind(codeActions),\n doCodeActions2: codeActions.doCodeActions2.bind(codeActions),\n findDocumentColors: navigation.findDocumentColors.bind(navigation),\n getColorPresentations: navigation.getColorPresentations.bind(navigation),\n doRename: navigation.doRename.bind(navigation),\n getFoldingRanges: _services_cssFolding_js__WEBPACK_IMPORTED_MODULE_10__.getFoldingRanges,\n getSelectionRanges: _services_cssSelectionRange_js__WEBPACK_IMPORTED_MODULE_13__.getSelectionRanges\n };\n}\nvar defaultLanguageServiceOptions = {};\nfunction getCSSLanguageService(options) {\n if (options === void 0) { options = defaultLanguageServiceOptions; }\n var cssDataManager = new _languageFacts_dataManager_js__WEBPACK_IMPORTED_MODULE_11__.CSSDataManager(options);\n return createFacade(new _parser_cssParser_js__WEBPACK_IMPORTED_MODULE_0__.Parser(), new _services_cssCompletion_js__WEBPACK_IMPORTED_MODULE_1__.CSSCompletion(null, options, cssDataManager), new _services_cssHover_js__WEBPACK_IMPORTED_MODULE_2__.CSSHover(options && options.clientCapabilities, cssDataManager), new _services_cssNavigation_js__WEBPACK_IMPORTED_MODULE_3__.CSSNavigation(options && options.fileSystemProvider), new _services_cssCodeActions_js__WEBPACK_IMPORTED_MODULE_4__.CSSCodeActions(cssDataManager), new _services_cssValidation_js__WEBPACK_IMPORTED_MODULE_5__.CSSValidation(cssDataManager), cssDataManager);\n}\nfunction getSCSSLanguageService(options) {\n if (options === void 0) { options = defaultLanguageServiceOptions; }\n var cssDataManager = new _languageFacts_dataManager_js__WEBPACK_IMPORTED_MODULE_11__.CSSDataManager(options);\n return createFacade(new _parser_scssParser_js__WEBPACK_IMPORTED_MODULE_6__.SCSSParser(), new _services_scssCompletion_js__WEBPACK_IMPORTED_MODULE_7__.SCSSCompletion(options, cssDataManager), new _services_cssHover_js__WEBPACK_IMPORTED_MODULE_2__.CSSHover(options && options.clientCapabilities, cssDataManager), new _services_scssNavigation_js__WEBPACK_IMPORTED_MODULE_14__.SCSSNavigation(options && options.fileSystemProvider), new _services_cssCodeActions_js__WEBPACK_IMPORTED_MODULE_4__.CSSCodeActions(cssDataManager), new _services_cssValidation_js__WEBPACK_IMPORTED_MODULE_5__.CSSValidation(cssDataManager), cssDataManager);\n}\nfunction getLESSLanguageService(options) {\n if (options === void 0) { options = defaultLanguageServiceOptions; }\n var cssDataManager = new _languageFacts_dataManager_js__WEBPACK_IMPORTED_MODULE_11__.CSSDataManager(options);\n return createFacade(new _parser_lessParser_js__WEBPACK_IMPORTED_MODULE_8__.LESSParser(), new _services_lessCompletion_js__WEBPACK_IMPORTED_MODULE_9__.LESSCompletion(options, cssDataManager), new _services_cssHover_js__WEBPACK_IMPORTED_MODULE_2__.CSSHover(options && options.clientCapabilities, cssDataManager), new _services_cssNavigation_js__WEBPACK_IMPORTED_MODULE_3__.CSSNavigation(options && options.fileSystemProvider), new _services_cssCodeActions_js__WEBPACK_IMPORTED_MODULE_4__.CSSCodeActions(cssDataManager), new _services_cssValidation_js__WEBPACK_IMPORTED_MODULE_5__.CSSValidation(cssDataManager), cssDataManager);\n}\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/cssLanguageService.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/cssLanguageTypes.js":
|
||
/*!*************************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/cssLanguageTypes.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 */ \"TextDocument\": () => (/* reexport safe */ _vscode_languageserver_textdocument_lib_esm_main_js__WEBPACK_IMPORTED_MODULE_1__.TextDocument),\n/* harmony export */ \"Range\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.Range),\n/* harmony export */ \"Position\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.Position),\n/* harmony export */ \"MarkupContent\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.MarkupContent),\n/* harmony export */ \"MarkupKind\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.MarkupKind),\n/* harmony export */ \"Color\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.Color),\n/* harmony export */ \"ColorInformation\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.ColorInformation),\n/* harmony export */ \"ColorPresentation\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.ColorPresentation),\n/* harmony export */ \"FoldingRange\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.FoldingRange),\n/* harmony export */ \"FoldingRangeKind\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.FoldingRangeKind),\n/* harmony export */ \"SelectionRange\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.SelectionRange),\n/* harmony export */ \"Diagnostic\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.Diagnostic),\n/* harmony export */ \"DiagnosticSeverity\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.DiagnosticSeverity),\n/* harmony export */ \"CompletionItem\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItem),\n/* harmony export */ \"CompletionItemKind\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind),\n/* harmony export */ \"CompletionList\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.CompletionList),\n/* harmony export */ \"CompletionItemTag\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemTag),\n/* harmony export */ \"InsertTextFormat\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.InsertTextFormat),\n/* harmony export */ \"SymbolInformation\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.SymbolInformation),\n/* harmony export */ \"SymbolKind\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind),\n/* harmony export */ \"DocumentSymbol\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.DocumentSymbol),\n/* harmony export */ \"Location\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.Location),\n/* harmony export */ \"Hover\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.Hover),\n/* harmony export */ \"MarkedString\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.MarkedString),\n/* harmony export */ \"CodeActionContext\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.CodeActionContext),\n/* harmony export */ \"Command\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.Command),\n/* harmony export */ \"CodeAction\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.CodeAction),\n/* harmony export */ \"DocumentHighlight\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.DocumentHighlight),\n/* harmony export */ \"DocumentLink\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.DocumentLink),\n/* harmony export */ \"WorkspaceEdit\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.WorkspaceEdit),\n/* harmony export */ \"TextEdit\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.TextEdit),\n/* harmony export */ \"CodeActionKind\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.CodeActionKind),\n/* harmony export */ \"TextDocumentEdit\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.TextDocumentEdit),\n/* harmony export */ \"VersionedTextDocumentIdentifier\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.VersionedTextDocumentIdentifier),\n/* harmony export */ \"DocumentHighlightKind\": () => (/* reexport safe */ _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.DocumentHighlightKind),\n/* harmony export */ \"ClientCapabilities\": () => (/* binding */ ClientCapabilities),\n/* harmony export */ \"FileType\": () => (/* binding */ FileType)\n/* harmony export */ });\n/* harmony import */ var _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../vscode-languageserver-types/main.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-languageserver-types/main.js\");\n/* harmony import */ var _vscode_languageserver_textdocument_lib_esm_main_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../vscode-languageserver-textdocument/lib/esm/main.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-languageserver-textdocument/lib/esm/main.js\");\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\n\n\nvar ClientCapabilities;\n(function (ClientCapabilities) {\n ClientCapabilities.LATEST = {\n textDocument: {\n completion: {\n completionItem: {\n documentationFormat: [_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.MarkupKind.Markdown, _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.MarkupKind.PlainText]\n }\n },\n hover: {\n contentFormat: [_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.MarkupKind.Markdown, _vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__.MarkupKind.PlainText]\n }\n }\n };\n})(ClientCapabilities || (ClientCapabilities = {}));\nvar FileType;\n(function (FileType) {\n /**\n * The file type is unknown.\n */\n FileType[FileType[\"Unknown\"] = 0] = \"Unknown\";\n /**\n * A regular file.\n */\n FileType[FileType[\"File\"] = 1] = \"File\";\n /**\n * A directory.\n */\n FileType[FileType[\"Directory\"] = 2] = \"Directory\";\n /**\n * A symbolic link to a file.\n */\n FileType[FileType[\"SymbolicLink\"] = 64] = \"SymbolicLink\";\n})(FileType || (FileType = {}));\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/cssLanguageTypes.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/data/webCustomData.js":
|
||
/*!***************************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/data/webCustomData.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 */ \"cssData\": () => (/* binding */ cssData)\n/* harmony export */ });\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// file generated from vscode-web-custom-data NPM package\nvar cssData = {\n \"version\": 1.1,\n \"properties\": [\n {\n \"name\": \"additive-symbols\",\n \"browsers\": [\n \"FF33\"\n ],\n \"syntax\": \"[ <integer> && <symbol> ]#\",\n \"relevance\": 50,\n \"description\": \"@counter-style descriptor. Specifies the symbols used by the marker-construction algorithm specified by the system descriptor. Needs to be specified if the counter system is 'additive'.\",\n \"restrictions\": [\n \"integer\",\n \"string\",\n \"image\",\n \"identifier\"\n ]\n },\n {\n \"name\": \"align-content\",\n \"values\": [\n {\n \"name\": \"center\",\n \"description\": \"Lines are packed toward the center of the flex container.\"\n },\n {\n \"name\": \"flex-end\",\n \"description\": \"Lines are packed toward the end of the flex container.\"\n },\n {\n \"name\": \"flex-start\",\n \"description\": \"Lines are packed toward the start of the flex container.\"\n },\n {\n \"name\": \"space-around\",\n \"description\": \"Lines are evenly distributed in the flex container, with half-size spaces on either end.\"\n },\n {\n \"name\": \"space-between\",\n \"description\": \"Lines are evenly distributed in the flex container.\"\n },\n {\n \"name\": \"stretch\",\n \"description\": \"Lines stretch to take up the remaining space.\"\n }\n ],\n \"syntax\": \"normal | <baseline-position> | <content-distribution> | <overflow-position>? <content-position>\",\n \"relevance\": 60,\n \"description\": \"Aligns a flex container’s lines within the flex container when there is extra space in the cross-axis, similar to how 'justify-content' aligns individual items within the main-axis.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"align-items\",\n \"values\": [\n {\n \"name\": \"baseline\",\n \"description\": \"If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment.\"\n },\n {\n \"name\": \"center\",\n \"description\": \"The flex item’s margin box is centered in the cross axis within the line.\"\n },\n {\n \"name\": \"flex-end\",\n \"description\": \"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line.\"\n },\n {\n \"name\": \"flex-start\",\n \"description\": \"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line.\"\n },\n {\n \"name\": \"stretch\",\n \"description\": \"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched.\"\n }\n ],\n \"syntax\": \"normal | stretch | <baseline-position> | [ <overflow-position>? <self-position> ]\",\n \"relevance\": 83,\n \"description\": \"Aligns flex items along the cross axis of the current line of the flex container.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"justify-items\",\n \"values\": [\n {\n \"name\": \"auto\"\n },\n {\n \"name\": \"normal\"\n },\n {\n \"name\": \"end\"\n },\n {\n \"name\": \"start\"\n },\n {\n \"name\": \"flex-end\",\n \"description\": \"\\\"Flex items are packed toward the end of the line.\\\"\"\n },\n {\n \"name\": \"flex-start\",\n \"description\": \"\\\"Flex items are packed toward the start of the line.\\\"\"\n },\n {\n \"name\": \"self-end\",\n \"description\": \"The item is packed flush to the edge of the alignment container of the end side of the item, in the appropriate axis.\"\n },\n {\n \"name\": \"self-start\",\n \"description\": \"The item is packed flush to the edge of the alignment container of the start side of the item, in the appropriate axis..\"\n },\n {\n \"name\": \"center\",\n \"description\": \"The items are packed flush to each other toward the center of the of the alignment container.\"\n },\n {\n \"name\": \"left\"\n },\n {\n \"name\": \"right\"\n },\n {\n \"name\": \"baseline\"\n },\n {\n \"name\": \"first baseline\"\n },\n {\n \"name\": \"last baseline\"\n },\n {\n \"name\": \"stretch\",\n \"description\": \"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched.\"\n },\n {\n \"name\": \"save\"\n },\n {\n \"name\": \"unsave\"\n },\n {\n \"name\": \"legacy\"\n }\n ],\n \"syntax\": \"normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | legacy | legacy && [ left | right | center ]\",\n \"relevance\": 51,\n \"description\": \"Defines the default justify-self for all items of the box, giving them the default way of justifying each box along the appropriate axis\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"justify-self\",\n \"values\": [\n {\n \"name\": \"auto\"\n },\n {\n \"name\": \"normal\"\n },\n {\n \"name\": \"end\"\n },\n {\n \"name\": \"start\"\n },\n {\n \"name\": \"flex-end\",\n \"description\": \"\\\"Flex items are packed toward the end of the line.\\\"\"\n },\n {\n \"name\": \"flex-start\",\n \"description\": \"\\\"Flex items are packed toward the start of the line.\\\"\"\n },\n {\n \"name\": \"self-end\",\n \"description\": \"The item is packed flush to the edge of the alignment container of the end side of the item, in the appropriate axis.\"\n },\n {\n \"name\": \"self-start\",\n \"description\": \"The item is packed flush to the edge of the alignment container of the start side of the item, in the appropriate axis..\"\n },\n {\n \"name\": \"center\",\n \"description\": \"The items are packed flush to each other toward the center of the of the alignment container.\"\n },\n {\n \"name\": \"left\"\n },\n {\n \"name\": \"right\"\n },\n {\n \"name\": \"baseline\"\n },\n {\n \"name\": \"first baseline\"\n },\n {\n \"name\": \"last baseline\"\n },\n {\n \"name\": \"stretch\",\n \"description\": \"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched.\"\n },\n {\n \"name\": \"save\"\n },\n {\n \"name\": \"unsave\"\n }\n ],\n \"syntax\": \"auto | normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ]\",\n \"relevance\": 52,\n \"description\": \"Defines the way of justifying a box inside its container along the appropriate axis.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"align-self\",\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Computes to the value of 'align-items' on the element’s parent, or 'stretch' if the element has no parent. On absolutely positioned elements, it computes to itself.\"\n },\n {\n \"name\": \"baseline\",\n \"description\": \"If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment.\"\n },\n {\n \"name\": \"center\",\n \"description\": \"The flex item’s margin box is centered in the cross axis within the line.\"\n },\n {\n \"name\": \"flex-end\",\n \"description\": \"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line.\"\n },\n {\n \"name\": \"flex-start\",\n \"description\": \"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line.\"\n },\n {\n \"name\": \"stretch\",\n \"description\": \"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched.\"\n }\n ],\n \"syntax\": \"auto | normal | stretch | <baseline-position> | <overflow-position>? <self-position>\",\n \"relevance\": 70,\n \"description\": \"Allows the default alignment along the cross axis to be overridden for individual flex items.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"all\",\n \"browsers\": [\n \"E79\",\n \"FF27\",\n \"S9.1\",\n \"C37\",\n \"O24\"\n ],\n \"values\": [],\n \"syntax\": \"initial | inherit | unset | revert\",\n \"relevance\": 52,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/all\"\n }\n ],\n \"description\": \"Shorthand that resets all properties except 'direction' and 'unicode-bidi'.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"alt\",\n \"browsers\": [\n \"S9\"\n ],\n \"values\": [],\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/alt\"\n }\n ],\n \"description\": \"Provides alternative text for assistive technology to replace the generated content of a ::before or ::after element.\",\n \"restrictions\": [\n \"string\",\n \"enum\"\n ]\n },\n {\n \"name\": \"animation\",\n \"values\": [\n {\n \"name\": \"alternate\",\n \"description\": \"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction.\"\n },\n {\n \"name\": \"alternate-reverse\",\n \"description\": \"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction.\"\n },\n {\n \"name\": \"backwards\",\n \"description\": \"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'.\"\n },\n {\n \"name\": \"both\",\n \"description\": \"Both forwards and backwards fill modes are applied.\"\n },\n {\n \"name\": \"forwards\",\n \"description\": \"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes.\"\n },\n {\n \"name\": \"infinite\",\n \"description\": \"Causes the animation to repeat forever.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"No animation is performed\"\n },\n {\n \"name\": \"normal\",\n \"description\": \"Normal playback.\"\n },\n {\n \"name\": \"reverse\",\n \"description\": \"All iterations of the animation are played in the reverse direction from the way they were specified.\"\n }\n ],\n \"syntax\": \"<single-animation>#\",\n \"relevance\": 80,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/animation\"\n }\n ],\n \"description\": \"Shorthand property combines six of the animation properties into a single property.\",\n \"restrictions\": [\n \"time\",\n \"timing-function\",\n \"enum\",\n \"identifier\",\n \"number\"\n ]\n },\n {\n \"name\": \"animation-delay\",\n \"syntax\": \"<time>#\",\n \"relevance\": 62,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/animation-delay\"\n }\n ],\n \"description\": \"Defines when the animation will start.\",\n \"restrictions\": [\n \"time\"\n ]\n },\n {\n \"name\": \"animation-direction\",\n \"values\": [\n {\n \"name\": \"alternate\",\n \"description\": \"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction.\"\n },\n {\n \"name\": \"alternate-reverse\",\n \"description\": \"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction.\"\n },\n {\n \"name\": \"normal\",\n \"description\": \"Normal playback.\"\n },\n {\n \"name\": \"reverse\",\n \"description\": \"All iterations of the animation are played in the reverse direction from the way they were specified.\"\n }\n ],\n \"syntax\": \"<single-animation-direction>#\",\n \"relevance\": 56,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/animation-direction\"\n }\n ],\n \"description\": \"Defines whether or not the animation should play in reverse on alternate cycles.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"animation-duration\",\n \"syntax\": \"<time>#\",\n \"relevance\": 65,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/animation-duration\"\n }\n ],\n \"description\": \"Defines the length of time that an animation takes to complete one cycle.\",\n \"restrictions\": [\n \"time\"\n ]\n },\n {\n \"name\": \"animation-fill-mode\",\n \"values\": [\n {\n \"name\": \"backwards\",\n \"description\": \"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'.\"\n },\n {\n \"name\": \"both\",\n \"description\": \"Both forwards and backwards fill modes are applied.\"\n },\n {\n \"name\": \"forwards\",\n \"description\": \"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes.\"\n }\n ],\n \"syntax\": \"<single-animation-fill-mode>#\",\n \"relevance\": 62,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/animation-fill-mode\"\n }\n ],\n \"description\": \"Defines what values are applied by the animation outside the time it is executing.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"animation-iteration-count\",\n \"values\": [\n {\n \"name\": \"infinite\",\n \"description\": \"Causes the animation to repeat forever.\"\n }\n ],\n \"syntax\": \"<single-animation-iteration-count>#\",\n \"relevance\": 59,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/animation-iteration-count\"\n }\n ],\n \"description\": \"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.\",\n \"restrictions\": [\n \"number\",\n \"enum\"\n ]\n },\n {\n \"name\": \"animation-name\",\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"No animation is performed\"\n }\n ],\n \"syntax\": \"[ none | <keyframes-name> ]#\",\n \"relevance\": 65,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/animation-name\"\n }\n ],\n \"description\": \"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.\",\n \"restrictions\": [\n \"identifier\",\n \"enum\"\n ]\n },\n {\n \"name\": \"animation-play-state\",\n \"values\": [\n {\n \"name\": \"paused\",\n \"description\": \"A running animation will be paused.\"\n },\n {\n \"name\": \"running\",\n \"description\": \"Resume playback of a paused animation.\"\n }\n ],\n \"syntax\": \"<single-animation-play-state>#\",\n \"relevance\": 53,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/animation-play-state\"\n }\n ],\n \"description\": \"Defines whether the animation is running or paused.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"animation-timing-function\",\n \"syntax\": \"<easing-function>#\",\n \"relevance\": 68,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/animation-timing-function\"\n }\n ],\n \"description\": \"Describes how the animation will progress over one cycle of its duration.\",\n \"restrictions\": [\n \"timing-function\"\n ]\n },\n {\n \"name\": \"backface-visibility\",\n \"values\": [\n {\n \"name\": \"hidden\",\n \"description\": \"Back side is hidden.\"\n },\n {\n \"name\": \"visible\",\n \"description\": \"Back side is visible.\"\n }\n ],\n \"syntax\": \"visible | hidden\",\n \"relevance\": 59,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/backface-visibility\"\n }\n ],\n \"description\": \"Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"background\",\n \"values\": [\n {\n \"name\": \"fixed\",\n \"description\": \"The background is fixed with regard to the viewport. In paged media where there is no viewport, a 'fixed' background is fixed with respect to the page box and therefore replicated on every page.\"\n },\n {\n \"name\": \"local\",\n \"description\": \"The background is fixed with regard to the element's contents: if the element has a scrolling mechanism, the background scrolls with the element's contents.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"A value of 'none' counts as an image layer but draws nothing.\"\n },\n {\n \"name\": \"scroll\",\n \"description\": \"The background is fixed with regard to the element itself and does not scroll with its contents. (It is effectively attached to the element's border.)\"\n }\n ],\n \"syntax\": \"[ <bg-layer> , ]* <final-bg-layer>\",\n \"relevance\": 93,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/background\"\n }\n ],\n \"description\": \"Shorthand property for setting most background properties at the same place in the style sheet.\",\n \"restrictions\": [\n \"enum\",\n \"image\",\n \"color\",\n \"position\",\n \"length\",\n \"repeat\",\n \"percentage\",\n \"box\"\n ]\n },\n {\n \"name\": \"background-attachment\",\n \"values\": [\n {\n \"name\": \"fixed\",\n \"description\": \"The background is fixed with regard to the viewport. In paged media where there is no viewport, a 'fixed' background is fixed with respect to the page box and therefore replicated on every page.\"\n },\n {\n \"name\": \"local\",\n \"description\": \"The background is fixed with regard to the element’s contents: if the element has a scrolling mechanism, the background scrolls with the element’s contents.\"\n },\n {\n \"name\": \"scroll\",\n \"description\": \"The background is fixed with regard to the element itself and does not scroll with its contents. (It is effectively attached to the element’s border.)\"\n }\n ],\n \"syntax\": \"<attachment>#\",\n \"relevance\": 54,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/background-attachment\"\n }\n ],\n \"description\": \"Specifies whether the background images are fixed with regard to the viewport ('fixed') or scroll along with the element ('scroll') or its contents ('local').\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"background-blend-mode\",\n \"browsers\": [\n \"E79\",\n \"FF30\",\n \"S8\",\n \"C35\",\n \"O22\"\n ],\n \"values\": [\n {\n \"name\": \"normal\",\n \"description\": \"Default attribute which specifies no blending\"\n },\n {\n \"name\": \"multiply\",\n \"description\": \"The source color is multiplied by the destination color and replaces the destination.\"\n },\n {\n \"name\": \"screen\",\n \"description\": \"Multiplies the complements of the backdrop and source color values, then complements the result.\"\n },\n {\n \"name\": \"overlay\",\n \"description\": \"Multiplies or screens the colors, depending on the backdrop color value.\"\n },\n {\n \"name\": \"darken\",\n \"description\": \"Selects the darker of the backdrop and source colors.\"\n },\n {\n \"name\": \"lighten\",\n \"description\": \"Selects the lighter of the backdrop and source colors.\"\n },\n {\n \"name\": \"color-dodge\",\n \"description\": \"Brightens the backdrop color to reflect the source color.\"\n },\n {\n \"name\": \"color-burn\",\n \"description\": \"Darkens the backdrop color to reflect the source color.\"\n },\n {\n \"name\": \"hard-light\",\n \"description\": \"Multiplies or screens the colors, depending on the source color value.\"\n },\n {\n \"name\": \"soft-light\",\n \"description\": \"Darkens or lightens the colors, depending on the source color value.\"\n },\n {\n \"name\": \"difference\",\n \"description\": \"Subtracts the darker of the two constituent colors from the lighter color..\"\n },\n {\n \"name\": \"exclusion\",\n \"description\": \"Produces an effect similar to that of the Difference mode but lower in contrast.\"\n },\n {\n \"name\": \"hue\",\n \"browsers\": [\n \"E79\",\n \"FF30\",\n \"S8\",\n \"C35\",\n \"O22\"\n ],\n \"description\": \"Creates a color with the hue of the source color and the saturation and luminosity of the backdrop color.\"\n },\n {\n \"name\": \"saturation\",\n \"browsers\": [\n \"E79\",\n \"FF30\",\n \"S8\",\n \"C35\",\n \"O22\"\n ],\n \"description\": \"Creates a color with the saturation of the source color and the hue and luminosity of the backdrop color.\"\n },\n {\n \"name\": \"color\",\n \"browsers\": [\n \"E79\",\n \"FF30\",\n \"S8\",\n \"C35\",\n \"O22\"\n ],\n \"description\": \"Creates a color with the hue and saturation of the source color and the luminosity of the backdrop color.\"\n },\n {\n \"name\": \"luminosity\",\n \"browsers\": [\n \"E79\",\n \"FF30\",\n \"S8\",\n \"C35\",\n \"O22\"\n ],\n \"description\": \"Creates a color with the luminosity of the source color and the hue and saturation of the backdrop color.\"\n }\n ],\n \"syntax\": \"<blend-mode>#\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/background-blend-mode\"\n }\n ],\n \"description\": \"Defines the blending mode of each background layer.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"background-clip\",\n \"syntax\": \"<box>#\",\n \"relevance\": 67,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/background-clip\"\n }\n ],\n \"description\": \"Determines the background painting area.\",\n \"restrictions\": [\n \"box\"\n ]\n },\n {\n \"name\": \"background-color\",\n \"syntax\": \"<color>\",\n \"relevance\": 94,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/background-color\"\n }\n ],\n \"description\": \"Sets the background color of an element.\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"background-image\",\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"Counts as an image layer but draws nothing.\"\n }\n ],\n \"syntax\": \"<bg-image>#\",\n \"relevance\": 89,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/background-image\"\n }\n ],\n \"description\": \"Sets the background image(s) of an element.\",\n \"restrictions\": [\n \"image\",\n \"enum\"\n ]\n },\n {\n \"name\": \"background-origin\",\n \"syntax\": \"<box>#\",\n \"relevance\": 53,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/background-origin\"\n }\n ],\n \"description\": \"For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).\",\n \"restrictions\": [\n \"box\"\n ]\n },\n {\n \"name\": \"background-position\",\n \"syntax\": \"<bg-position>#\",\n \"relevance\": 88,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/background-position\"\n }\n ],\n \"description\": \"Specifies the initial position of the background image(s) (after any resizing) within their corresponding background positioning area.\",\n \"restrictions\": [\n \"position\",\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"background-position-x\",\n \"values\": [\n {\n \"name\": \"center\",\n \"description\": \"Equivalent to '50%' ('left 50%') for the horizontal position if the horizontal position is not otherwise specified, or '50%' ('top 50%') for the vertical position if it is.\"\n },\n {\n \"name\": \"left\",\n \"description\": \"Equivalent to '0%' for the horizontal position if one or two values are given, otherwise specifies the left edge as the origin for the next offset.\"\n },\n {\n \"name\": \"right\",\n \"description\": \"Equivalent to '100%' for the horizontal position if one or two values are given, otherwise specifies the right edge as the origin for the next offset.\"\n }\n ],\n \"status\": \"experimental\",\n \"syntax\": \"[ center | [ [ left | right | x-start | x-end ]? <length-percentage>? ]! ]#\",\n \"relevance\": 53,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/background-position-x\"\n }\n ],\n \"description\": \"If background images have been specified, this property specifies their initial position (after any resizing) within their corresponding background positioning area.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"background-position-y\",\n \"values\": [\n {\n \"name\": \"bottom\",\n \"description\": \"Equivalent to '100%' for the vertical position if one or two values are given, otherwise specifies the bottom edge as the origin for the next offset.\"\n },\n {\n \"name\": \"center\",\n \"description\": \"Equivalent to '50%' ('left 50%') for the horizontal position if the horizontal position is not otherwise specified, or '50%' ('top 50%') for the vertical position if it is.\"\n },\n {\n \"name\": \"top\",\n \"description\": \"Equivalent to '0%' for the vertical position if one or two values are given, otherwise specifies the top edge as the origin for the next offset.\"\n }\n ],\n \"status\": \"experimental\",\n \"syntax\": \"[ center | [ [ top | bottom | y-start | y-end ]? <length-percentage>? ]! ]#\",\n \"relevance\": 53,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/background-position-y\"\n }\n ],\n \"description\": \"If background images have been specified, this property specifies their initial position (after any resizing) within their corresponding background positioning area.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"background-repeat\",\n \"values\": [],\n \"syntax\": \"<repeat-style>#\",\n \"relevance\": 86,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/background-repeat\"\n }\n ],\n \"description\": \"Specifies how background images are tiled after they have been sized and positioned.\",\n \"restrictions\": [\n \"repeat\"\n ]\n },\n {\n \"name\": \"background-size\",\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Resolved by using the image’s intrinsic ratio and the size of the other dimension, or failing that, using the image’s intrinsic size, or failing that, treating it as 100%.\"\n },\n {\n \"name\": \"contain\",\n \"description\": \"Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area.\"\n },\n {\n \"name\": \"cover\",\n \"description\": \"Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area.\"\n }\n ],\n \"syntax\": \"<bg-size>#\",\n \"relevance\": 86,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/background-size\"\n }\n ],\n \"description\": \"Specifies the size of the background images.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"behavior\",\n \"browsers\": [\n \"IE6\"\n ],\n \"relevance\": 50,\n \"description\": \"IE only. Used to extend behaviors of the browser.\",\n \"restrictions\": [\n \"url\"\n ]\n },\n {\n \"name\": \"block-size\",\n \"browsers\": [\n \"E79\",\n \"FF41\",\n \"S12.1\",\n \"C57\",\n \"O44\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Depends on the values of other properties.\"\n }\n ],\n \"syntax\": \"<'width'>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/block-size\"\n }\n ],\n \"description\": \"Logical 'width'. Mapping depends on the element’s 'writing-mode'.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"border\",\n \"syntax\": \"<line-width> || <line-style> || <color>\",\n \"relevance\": 96,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border\"\n }\n ],\n \"description\": \"Shorthand property for setting border width, style, and color.\",\n \"restrictions\": [\n \"length\",\n \"line-width\",\n \"line-style\",\n \"color\"\n ]\n },\n {\n \"name\": \"border-block-end\",\n \"browsers\": [\n \"E79\",\n \"FF41\",\n \"S12.1\",\n \"C69\",\n \"O56\"\n ],\n \"syntax\": \"<'border-top-width'> || <'border-top-style'> || <color>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-block-end\"\n }\n ],\n \"description\": \"Logical 'border-bottom'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.\",\n \"restrictions\": [\n \"length\",\n \"line-width\",\n \"line-style\",\n \"color\"\n ]\n },\n {\n \"name\": \"border-block-start\",\n \"browsers\": [\n \"E79\",\n \"FF41\",\n \"S12.1\",\n \"C69\",\n \"O56\"\n ],\n \"syntax\": \"<'border-top-width'> || <'border-top-style'> || <color>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-block-start\"\n }\n ],\n \"description\": \"Logical 'border-top'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.\",\n \"restrictions\": [\n \"length\",\n \"line-width\",\n \"line-style\",\n \"color\"\n ]\n },\n {\n \"name\": \"border-block-end-color\",\n \"browsers\": [\n \"E79\",\n \"FF41\",\n \"S12.1\",\n \"C69\",\n \"O56\"\n ],\n \"syntax\": \"<'border-top-color'>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-block-end-color\"\n }\n ],\n \"description\": \"Logical 'border-bottom-color'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"border-block-start-color\",\n \"browsers\": [\n \"E79\",\n \"FF41\",\n \"S12.1\",\n \"C69\",\n \"O56\"\n ],\n \"syntax\": \"<'border-top-color'>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-block-start-color\"\n }\n ],\n \"description\": \"Logical 'border-top-color'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"border-block-end-style\",\n \"browsers\": [\n \"E79\",\n \"FF41\",\n \"S12.1\",\n \"C69\",\n \"O56\"\n ],\n \"syntax\": \"<'border-top-style'>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-block-end-style\"\n }\n ],\n \"description\": \"Logical 'border-bottom-style'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.\",\n \"restrictions\": [\n \"line-style\"\n ]\n },\n {\n \"name\": \"border-block-start-style\",\n \"browsers\": [\n \"E79\",\n \"FF41\",\n \"S12.1\",\n \"C69\",\n \"O56\"\n ],\n \"syntax\": \"<'border-top-style'>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-block-start-style\"\n }\n ],\n \"description\": \"Logical 'border-top-style'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.\",\n \"restrictions\": [\n \"line-style\"\n ]\n },\n {\n \"name\": \"border-block-end-width\",\n \"browsers\": [\n \"E79\",\n \"FF41\",\n \"S12.1\",\n \"C69\",\n \"O56\"\n ],\n \"syntax\": \"<'border-top-width'>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-block-end-width\"\n }\n ],\n \"description\": \"Logical 'border-bottom-width'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.\",\n \"restrictions\": [\n \"length\",\n \"line-width\"\n ]\n },\n {\n \"name\": \"border-block-start-width\",\n \"browsers\": [\n \"E79\",\n \"FF41\",\n \"S12.1\",\n \"C69\",\n \"O56\"\n ],\n \"syntax\": \"<'border-top-width'>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-block-start-width\"\n }\n ],\n \"description\": \"Logical 'border-top-width'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.\",\n \"restrictions\": [\n \"length\",\n \"line-width\"\n ]\n },\n {\n \"name\": \"border-bottom\",\n \"syntax\": \"<line-width> || <line-style> || <color>\",\n \"relevance\": 89,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-bottom\"\n }\n ],\n \"description\": \"Shorthand property for setting border width, style and color.\",\n \"restrictions\": [\n \"length\",\n \"line-width\",\n \"line-style\",\n \"color\"\n ]\n },\n {\n \"name\": \"border-bottom-color\",\n \"syntax\": \"<'border-top-color'>\",\n \"relevance\": 71,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-bottom-color\"\n }\n ],\n \"description\": \"Sets the color of the bottom border.\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"border-bottom-left-radius\",\n \"syntax\": \"<length-percentage>{1,2}\",\n \"relevance\": 75,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-bottom-left-radius\"\n }\n ],\n \"description\": \"Defines the radii of the bottom left outer border edge.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"border-bottom-right-radius\",\n \"syntax\": \"<length-percentage>{1,2}\",\n \"relevance\": 74,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-bottom-right-radius\"\n }\n ],\n \"description\": \"Defines the radii of the bottom right outer border edge.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"border-bottom-style\",\n \"syntax\": \"<line-style>\",\n \"relevance\": 57,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-bottom-style\"\n }\n ],\n \"description\": \"Sets the style of the bottom border.\",\n \"restrictions\": [\n \"line-style\"\n ]\n },\n {\n \"name\": \"border-bottom-width\",\n \"syntax\": \"<line-width>\",\n \"relevance\": 62,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-bottom-width\"\n }\n ],\n \"description\": \"Sets the thickness of the bottom border.\",\n \"restrictions\": [\n \"length\",\n \"line-width\"\n ]\n },\n {\n \"name\": \"border-collapse\",\n \"values\": [\n {\n \"name\": \"collapse\",\n \"description\": \"Selects the collapsing borders model.\"\n },\n {\n \"name\": \"separate\",\n \"description\": \"Selects the separated borders border model.\"\n }\n ],\n \"syntax\": \"collapse | separate\",\n \"relevance\": 75,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-collapse\"\n }\n ],\n \"description\": \"Selects a table's border model.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"border-color\",\n \"values\": [],\n \"syntax\": \"<color>{1,4}\",\n \"relevance\": 87,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-color\"\n }\n ],\n \"description\": \"The color of the border around all four edges of an element.\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"border-image\",\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead.\"\n },\n {\n \"name\": \"fill\",\n \"description\": \"Causes the middle part of the border-image to be preserved.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"Use the border styles.\"\n },\n {\n \"name\": \"repeat\",\n \"description\": \"The image is tiled (repeated) to fill the area.\"\n },\n {\n \"name\": \"round\",\n \"description\": \"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does.\"\n },\n {\n \"name\": \"space\",\n \"description\": \"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles.\"\n },\n {\n \"name\": \"stretch\",\n \"description\": \"The image is stretched to fill the area.\"\n },\n {\n \"name\": \"url()\"\n }\n ],\n \"syntax\": \"<'border-image-source'> || <'border-image-slice'> [ / <'border-image-width'> | / <'border-image-width'>? / <'border-image-outset'> ]? || <'border-image-repeat'>\",\n \"relevance\": 52,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-image\"\n }\n ],\n \"description\": \"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.\",\n \"restrictions\": [\n \"length\",\n \"percentage\",\n \"number\",\n \"url\",\n \"enum\"\n ]\n },\n {\n \"name\": \"border-image-outset\",\n \"syntax\": \"[ <length> | <number> ]{1,4}\",\n \"relevance\": 51,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-image-outset\"\n }\n ],\n \"description\": \"The values specify the amount by which the border image area extends beyond the border box on the top, right, bottom, and left sides respectively. If the fourth value is absent, it is the same as the second. If the third one is also absent, it is the same as the first. If the second one is also absent, it is the same as the first. Numbers represent multiples of the corresponding border-width.\",\n \"restrictions\": [\n \"length\",\n \"number\"\n ]\n },\n {\n \"name\": \"border-image-repeat\",\n \"values\": [\n {\n \"name\": \"repeat\",\n \"description\": \"The image is tiled (repeated) to fill the area.\"\n },\n {\n \"name\": \"round\",\n \"description\": \"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does.\"\n },\n {\n \"name\": \"space\",\n \"description\": \"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles.\"\n },\n {\n \"name\": \"stretch\",\n \"description\": \"The image is stretched to fill the area.\"\n }\n ],\n \"syntax\": \"[ stretch | repeat | round | space ]{1,2}\",\n \"relevance\": 51,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-image-repeat\"\n }\n ],\n \"description\": \"Specifies how the images for the sides and the middle part of the border image are scaled and tiled. If the second keyword is absent, it is assumed to be the same as the first.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"border-image-slice\",\n \"values\": [\n {\n \"name\": \"fill\",\n \"description\": \"Causes the middle part of the border-image to be preserved.\"\n }\n ],\n \"syntax\": \"<number-percentage>{1,4} && fill?\",\n \"relevance\": 51,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-image-slice\"\n }\n ],\n \"description\": \"Specifies inward offsets from the top, right, bottom, and left edges of the image, dividing it into nine regions: four corners, four edges and a middle.\",\n \"restrictions\": [\n \"number\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"border-image-source\",\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"Use the border styles.\"\n }\n ],\n \"syntax\": \"none | <image>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-image-source\"\n }\n ],\n \"description\": \"Specifies an image to use instead of the border styles given by the 'border-style' properties and as an additional background layer for the element. If the value is 'none' or if the image cannot be displayed, the border styles will be used.\",\n \"restrictions\": [\n \"image\"\n ]\n },\n {\n \"name\": \"border-image-width\",\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead.\"\n }\n ],\n \"syntax\": \"[ <length-percentage> | <number> | auto ]{1,4}\",\n \"relevance\": 51,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-image-width\"\n }\n ],\n \"description\": \"The four values of 'border-image-width' specify offsets that are used to divide the border image area into nine parts. They represent inward distances from the top, right, bottom, and left sides of the area, respectively.\",\n \"restrictions\": [\n \"length\",\n \"percentage\",\n \"number\"\n ]\n },\n {\n \"name\": \"border-inline-end\",\n \"browsers\": [\n \"E79\",\n \"FF41\",\n \"S12.1\",\n \"C69\",\n \"O56\"\n ],\n \"syntax\": \"<'border-top-width'> || <'border-top-style'> || <color>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-inline-end\"\n }\n ],\n \"description\": \"Logical 'border-right'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.\",\n \"restrictions\": [\n \"length\",\n \"line-width\",\n \"line-style\",\n \"color\"\n ]\n },\n {\n \"name\": \"border-inline-start\",\n \"browsers\": [\n \"E79\",\n \"FF41\",\n \"S12.1\",\n \"C69\",\n \"O56\"\n ],\n \"syntax\": \"<'border-top-width'> || <'border-top-style'> || <color>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-inline-start\"\n }\n ],\n \"description\": \"Logical 'border-left'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.\",\n \"restrictions\": [\n \"length\",\n \"line-width\",\n \"line-style\",\n \"color\"\n ]\n },\n {\n \"name\": \"border-inline-end-color\",\n \"browsers\": [\n \"E79\",\n \"FF41\",\n \"S12.1\",\n \"C69\",\n \"O56\"\n ],\n \"syntax\": \"<'border-top-color'>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-color\"\n }\n ],\n \"description\": \"Logical 'border-right-color'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"border-inline-start-color\",\n \"browsers\": [\n \"E79\",\n \"FF41\",\n \"S12.1\",\n \"C69\",\n \"O56\"\n ],\n \"syntax\": \"<'border-top-color'>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-color\"\n }\n ],\n \"description\": \"Logical 'border-left-color'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"border-inline-end-style\",\n \"browsers\": [\n \"E79\",\n \"FF41\",\n \"S12.1\",\n \"C69\",\n \"O56\"\n ],\n \"syntax\": \"<'border-top-style'>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-style\"\n }\n ],\n \"description\": \"Logical 'border-right-style'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.\",\n \"restrictions\": [\n \"line-style\"\n ]\n },\n {\n \"name\": \"border-inline-start-style\",\n \"browsers\": [\n \"E79\",\n \"FF41\",\n \"S12.1\",\n \"C69\",\n \"O56\"\n ],\n \"syntax\": \"<'border-top-style'>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-style\"\n }\n ],\n \"description\": \"Logical 'border-left-style'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.\",\n \"restrictions\": [\n \"line-style\"\n ]\n },\n {\n \"name\": \"border-inline-end-width\",\n \"browsers\": [\n \"E79\",\n \"FF41\",\n \"S12.1\",\n \"C69\",\n \"O56\"\n ],\n \"syntax\": \"<'border-top-width'>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-width\"\n }\n ],\n \"description\": \"Logical 'border-right-width'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.\",\n \"restrictions\": [\n \"length\",\n \"line-width\"\n ]\n },\n {\n \"name\": \"border-inline-start-width\",\n \"browsers\": [\n \"E79\",\n \"FF41\",\n \"S12.1\",\n \"C69\",\n \"O56\"\n ],\n \"syntax\": \"<'border-top-width'>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-width\"\n }\n ],\n \"description\": \"Logical 'border-left-width'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.\",\n \"restrictions\": [\n \"length\",\n \"line-width\"\n ]\n },\n {\n \"name\": \"border-left\",\n \"syntax\": \"<line-width> || <line-style> || <color>\",\n \"relevance\": 83,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-left\"\n }\n ],\n \"description\": \"Shorthand property for setting border width, style and color\",\n \"restrictions\": [\n \"length\",\n \"line-width\",\n \"line-style\",\n \"color\"\n ]\n },\n {\n \"name\": \"border-left-color\",\n \"syntax\": \"<color>\",\n \"relevance\": 65,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-left-color\"\n }\n ],\n \"description\": \"Sets the color of the left border.\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"border-left-style\",\n \"syntax\": \"<line-style>\",\n \"relevance\": 54,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-left-style\"\n }\n ],\n \"description\": \"Sets the style of the left border.\",\n \"restrictions\": [\n \"line-style\"\n ]\n },\n {\n \"name\": \"border-left-width\",\n \"syntax\": \"<line-width>\",\n \"relevance\": 58,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-left-width\"\n }\n ],\n \"description\": \"Sets the thickness of the left border.\",\n \"restrictions\": [\n \"length\",\n \"line-width\"\n ]\n },\n {\n \"name\": \"border-radius\",\n \"syntax\": \"<length-percentage>{1,4} [ / <length-percentage>{1,4} ]?\",\n \"relevance\": 92,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-radius\"\n }\n ],\n \"description\": \"Defines the radii of the outer border edge.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"border-right\",\n \"syntax\": \"<line-width> || <line-style> || <color>\",\n \"relevance\": 81,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-right\"\n }\n ],\n \"description\": \"Shorthand property for setting border width, style and color\",\n \"restrictions\": [\n \"length\",\n \"line-width\",\n \"line-style\",\n \"color\"\n ]\n },\n {\n \"name\": \"border-right-color\",\n \"syntax\": \"<color>\",\n \"relevance\": 64,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-right-color\"\n }\n ],\n \"description\": \"Sets the color of the right border.\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"border-right-style\",\n \"syntax\": \"<line-style>\",\n \"relevance\": 54,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-right-style\"\n }\n ],\n \"description\": \"Sets the style of the right border.\",\n \"restrictions\": [\n \"line-style\"\n ]\n },\n {\n \"name\": \"border-right-width\",\n \"syntax\": \"<line-width>\",\n \"relevance\": 60,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-right-width\"\n }\n ],\n \"description\": \"Sets the thickness of the right border.\",\n \"restrictions\": [\n \"length\",\n \"line-width\"\n ]\n },\n {\n \"name\": \"border-spacing\",\n \"syntax\": \"<length> <length>?\",\n \"relevance\": 68,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-spacing\"\n }\n ],\n \"description\": \"The lengths specify the distance that separates adjoining cell borders. If one length is specified, it gives both the horizontal and vertical spacing. If two are specified, the first gives the horizontal spacing and the second the vertical spacing. Lengths may not be negative.\",\n \"restrictions\": [\n \"length\"\n ]\n },\n {\n \"name\": \"border-style\",\n \"values\": [],\n \"syntax\": \"<line-style>{1,4}\",\n \"relevance\": 80,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-style\"\n }\n ],\n \"description\": \"The style of the border around edges of an element.\",\n \"restrictions\": [\n \"line-style\"\n ]\n },\n {\n \"name\": \"border-top\",\n \"syntax\": \"<line-width> || <line-style> || <color>\",\n \"relevance\": 88,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-top\"\n }\n ],\n \"description\": \"Shorthand property for setting border width, style and color\",\n \"restrictions\": [\n \"length\",\n \"line-width\",\n \"line-style\",\n \"color\"\n ]\n },\n {\n \"name\": \"border-top-color\",\n \"syntax\": \"<color>\",\n \"relevance\": 72,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-top-color\"\n }\n ],\n \"description\": \"Sets the color of the top border.\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"border-top-left-radius\",\n \"syntax\": \"<length-percentage>{1,2}\",\n \"relevance\": 75,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-top-left-radius\"\n }\n ],\n \"description\": \"Defines the radii of the top left outer border edge.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"border-top-right-radius\",\n \"syntax\": \"<length-percentage>{1,2}\",\n \"relevance\": 73,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-top-right-radius\"\n }\n ],\n \"description\": \"Defines the radii of the top right outer border edge.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"border-top-style\",\n \"syntax\": \"<line-style>\",\n \"relevance\": 57,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-top-style\"\n }\n ],\n \"description\": \"Sets the style of the top border.\",\n \"restrictions\": [\n \"line-style\"\n ]\n },\n {\n \"name\": \"border-top-width\",\n \"syntax\": \"<line-width>\",\n \"relevance\": 61,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-top-width\"\n }\n ],\n \"description\": \"Sets the thickness of the top border.\",\n \"restrictions\": [\n \"length\",\n \"line-width\"\n ]\n },\n {\n \"name\": \"border-width\",\n \"values\": [],\n \"syntax\": \"<line-width>{1,4}\",\n \"relevance\": 82,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-width\"\n }\n ],\n \"description\": \"Shorthand that sets the four 'border-*-width' properties. If it has four values, they set top, right, bottom and left in that order. If left is missing, it is the same as right; if bottom is missing, it is the same as top; if right is missing, it is the same as top.\",\n \"restrictions\": [\n \"length\",\n \"line-width\"\n ]\n },\n {\n \"name\": \"bottom\",\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well\"\n }\n ],\n \"syntax\": \"<length> | <percentage> | auto\",\n \"relevance\": 90,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/bottom\"\n }\n ],\n \"description\": \"Specifies how far an absolutely positioned box's bottom margin edge is offset above the bottom edge of the box's 'containing block'.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"box-decoration-break\",\n \"browsers\": [\n \"E79\",\n \"FF32\",\n \"S6.1\",\n \"C22\",\n \"O15\"\n ],\n \"values\": [\n {\n \"name\": \"clone\",\n \"description\": \"Each box is independently wrapped with the border and padding.\"\n },\n {\n \"name\": \"slice\",\n \"description\": \"The effect is as though the element were rendered with no breaks present, and then sliced by the breaks afterward.\"\n }\n ],\n \"syntax\": \"slice | clone\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/box-decoration-break\"\n }\n ],\n \"description\": \"Specifies whether individual boxes are treated as broken pieces of one continuous box, or whether each box is individually wrapped with the border and padding.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"box-shadow\",\n \"values\": [\n {\n \"name\": \"inset\",\n \"description\": \"Changes the drop shadow from an outer shadow (one that shadows the box onto the canvas, as if it were lifted above the canvas) to an inner shadow (one that shadows the canvas onto the box, as if the box were cut out of the canvas and shifted behind it).\"\n },\n {\n \"name\": \"none\",\n \"description\": \"No shadow.\"\n }\n ],\n \"syntax\": \"none | <shadow>#\",\n \"relevance\": 90,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/box-shadow\"\n }\n ],\n \"description\": \"Attaches one or more drop-shadows to the box. The property is a comma-separated list of shadows, each specified by 2-4 length values, an optional color, and an optional 'inset' keyword. Omitted lengths are 0; omitted colors are a user agent chosen color.\",\n \"restrictions\": [\n \"length\",\n \"color\",\n \"enum\"\n ]\n },\n {\n \"name\": \"box-sizing\",\n \"values\": [\n {\n \"name\": \"border-box\",\n \"description\": \"The specified width and height (and respective min/max properties) on this element determine the border box of the element.\"\n },\n {\n \"name\": \"content-box\",\n \"description\": \"Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element.\"\n }\n ],\n \"syntax\": \"content-box | border-box\",\n \"relevance\": 92,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/box-sizing\"\n }\n ],\n \"description\": \"Specifies the behavior of the 'width' and 'height' properties.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"break-after\",\n \"values\": [\n {\n \"name\": \"always\",\n \"description\": \"Always force a page break before/after the generated box.\"\n },\n {\n \"name\": \"auto\",\n \"description\": \"Neither force nor forbid a page/column break before/after the principal box.\"\n },\n {\n \"name\": \"avoid\",\n \"description\": \"Avoid a break before/after the principal box.\"\n },\n {\n \"name\": \"avoid-column\",\n \"description\": \"Avoid a column break before/after the principal box.\"\n },\n {\n \"name\": \"avoid-page\",\n \"description\": \"Avoid a page break before/after the principal box.\"\n },\n {\n \"name\": \"column\",\n \"description\": \"Always force a column break before/after the principal box.\"\n },\n {\n \"name\": \"left\",\n \"description\": \"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page.\"\n },\n {\n \"name\": \"page\",\n \"description\": \"Always force a page break before/after the principal box.\"\n },\n {\n \"name\": \"right\",\n \"description\": \"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page.\"\n }\n ],\n \"syntax\": \"auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region\",\n \"relevance\": 50,\n \"description\": \"Describes the page/column/region break behavior after the generated box.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"break-before\",\n \"values\": [\n {\n \"name\": \"always\",\n \"description\": \"Always force a page break before/after the generated box.\"\n },\n {\n \"name\": \"auto\",\n \"description\": \"Neither force nor forbid a page/column break before/after the principal box.\"\n },\n {\n \"name\": \"avoid\",\n \"description\": \"Avoid a break before/after the principal box.\"\n },\n {\n \"name\": \"avoid-column\",\n \"description\": \"Avoid a column break before/after the principal box.\"\n },\n {\n \"name\": \"avoid-page\",\n \"description\": \"Avoid a page break before/after the principal box.\"\n },\n {\n \"name\": \"column\",\n \"description\": \"Always force a column break before/after the principal box.\"\n },\n {\n \"name\": \"left\",\n \"description\": \"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page.\"\n },\n {\n \"name\": \"page\",\n \"description\": \"Always force a page break before/after the principal box.\"\n },\n {\n \"name\": \"right\",\n \"description\": \"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page.\"\n }\n ],\n \"syntax\": \"auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region\",\n \"relevance\": 50,\n \"description\": \"Describes the page/column/region break behavior before the generated box.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"break-inside\",\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Impose no additional breaking constraints within the box.\"\n },\n {\n \"name\": \"avoid\",\n \"description\": \"Avoid breaks within the box.\"\n },\n {\n \"name\": \"avoid-column\",\n \"description\": \"Avoid a column break within the box.\"\n },\n {\n \"name\": \"avoid-page\",\n \"description\": \"Avoid a page break within the box.\"\n }\n ],\n \"syntax\": \"auto | avoid | avoid-page | avoid-column | avoid-region\",\n \"relevance\": 50,\n \"description\": \"Describes the page/column/region break behavior inside the principal box.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"caption-side\",\n \"values\": [\n {\n \"name\": \"bottom\",\n \"description\": \"Positions the caption box below the table box.\"\n },\n {\n \"name\": \"top\",\n \"description\": \"Positions the caption box above the table box.\"\n }\n ],\n \"syntax\": \"top | bottom | block-start | block-end | inline-start | inline-end\",\n \"relevance\": 51,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/caption-side\"\n }\n ],\n \"description\": \"Specifies the position of the caption box with respect to the table box.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"caret-color\",\n \"browsers\": [\n \"E79\",\n \"FF53\",\n \"S11.1\",\n \"C57\",\n \"O44\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The user agent selects an appropriate color for the caret. This is generally currentcolor, but the user agent may choose a different color to ensure good visibility and contrast with the surrounding content, taking into account the value of currentcolor, the background, shadows, and other factors.\"\n }\n ],\n \"syntax\": \"auto | <color>\",\n \"relevance\": 51,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/caret-color\"\n }\n ],\n \"description\": \"Controls the color of the text insertion indicator.\",\n \"restrictions\": [\n \"color\",\n \"enum\"\n ]\n },\n {\n \"name\": \"clear\",\n \"values\": [\n {\n \"name\": \"both\",\n \"description\": \"The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any right-floating and left-floating boxes that resulted from elements earlier in the source document.\"\n },\n {\n \"name\": \"left\",\n \"description\": \"The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any left-floating boxes that resulted from elements earlier in the source document.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"No constraint on the box's position with respect to floats.\"\n },\n {\n \"name\": \"right\",\n \"description\": \"The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any right-floating boxes that resulted from elements earlier in the source document.\"\n }\n ],\n \"syntax\": \"none | left | right | both | inline-start | inline-end\",\n \"relevance\": 85,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/clear\"\n }\n ],\n \"description\": \"Indicates which sides of an element's box(es) may not be adjacent to an earlier floating box. The 'clear' property does not consider floats inside the element itself or in other block formatting contexts.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"clip\",\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The element does not clip.\"\n },\n {\n \"name\": \"rect()\",\n \"description\": \"Specifies offsets from the edges of the border box.\"\n }\n ],\n \"syntax\": \"<shape> | auto\",\n \"relevance\": 73,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/clip\"\n }\n ],\n \"description\": \"Deprecated. Use the 'clip-path' property when support allows. Defines the visible portion of an element’s box.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"clip-path\",\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"No clipping path gets created.\"\n },\n {\n \"name\": \"url()\",\n \"description\": \"References a <clipPath> element to create a clipping path.\"\n }\n ],\n \"syntax\": \"<clip-source> | [ <basic-shape> || <geometry-box> ] | none\",\n \"relevance\": 55,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/clip-path\"\n }\n ],\n \"description\": \"Specifies a clipping path where everything inside the path is visible and everything outside is clipped out.\",\n \"restrictions\": [\n \"url\",\n \"shape\",\n \"geometry-box\",\n \"enum\"\n ]\n },\n {\n \"name\": \"clip-rule\",\n \"browsers\": [\n \"E\",\n \"C5\",\n \"FF3\",\n \"IE10\",\n \"O9\",\n \"S6\"\n ],\n \"values\": [\n {\n \"name\": \"evenodd\",\n \"description\": \"Determines the ‘insideness’ of a point on the canvas by drawing a ray from that point to infinity in any direction and counting the number of path segments from the given shape that the ray crosses.\"\n },\n {\n \"name\": \"nonzero\",\n \"description\": \"Determines the ‘insideness’ of a point on the canvas by drawing a ray from that point to infinity in any direction and then examining the places where a segment of the shape crosses the ray.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Indicates the algorithm which is to be used to determine what parts of the canvas are included inside the shape.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"color\",\n \"syntax\": \"<color>\",\n \"relevance\": 95,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/color\"\n }\n ],\n \"description\": \"Sets the color of an element's text\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"color-interpolation-filters\",\n \"browsers\": [\n \"E\",\n \"C5\",\n \"FF3\",\n \"IE10\",\n \"O9\",\n \"S6\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Color operations are not required to occur in a particular color space.\"\n },\n {\n \"name\": \"linearRGB\",\n \"description\": \"Color operations should occur in the linearized RGB color space.\"\n },\n {\n \"name\": \"sRGB\",\n \"description\": \"Color operations should occur in the sRGB color space.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Specifies the color space for imaging operations performed via filter effects.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"column-count\",\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Determines the number of columns by the 'column-width' property and the element width.\"\n }\n ],\n \"syntax\": \"<integer> | auto\",\n \"relevance\": 52,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/column-count\"\n }\n ],\n \"description\": \"Describes the optimal number of columns into which the content of the element will be flowed.\",\n \"restrictions\": [\n \"integer\",\n \"enum\"\n ]\n },\n {\n \"name\": \"column-fill\",\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Fills columns sequentially.\"\n },\n {\n \"name\": \"balance\",\n \"description\": \"Balance content equally between columns, if possible.\"\n }\n ],\n \"syntax\": \"auto | balance | balance-all\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/column-fill\"\n }\n ],\n \"description\": \"In continuous media, this property will only be consulted if the length of columns has been constrained. Otherwise, columns will automatically be balanced.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"column-gap\",\n \"values\": [\n {\n \"name\": \"normal\",\n \"description\": \"User agent specific and typically equivalent to 1em.\"\n }\n ],\n \"syntax\": \"normal | <length-percentage>\",\n \"relevance\": 52,\n \"description\": \"Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.\",\n \"restrictions\": [\n \"length\",\n \"enum\"\n ]\n },\n {\n \"name\": \"column-rule\",\n \"syntax\": \"<'column-rule-width'> || <'column-rule-style'> || <'column-rule-color'>\",\n \"relevance\": 51,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/column-rule\"\n }\n ],\n \"description\": \"Shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.\",\n \"restrictions\": [\n \"length\",\n \"line-width\",\n \"line-style\",\n \"color\"\n ]\n },\n {\n \"name\": \"column-rule-color\",\n \"syntax\": \"<color>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/column-rule-color\"\n }\n ],\n \"description\": \"Sets the color of the column rule\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"column-rule-style\",\n \"syntax\": \"<'border-style'>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/column-rule-style\"\n }\n ],\n \"description\": \"Sets the style of the rule between columns of an element.\",\n \"restrictions\": [\n \"line-style\"\n ]\n },\n {\n \"name\": \"column-rule-width\",\n \"syntax\": \"<'border-width'>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/column-rule-width\"\n }\n ],\n \"description\": \"Sets the width of the rule between columns. Negative values are not allowed.\",\n \"restrictions\": [\n \"length\",\n \"line-width\"\n ]\n },\n {\n \"name\": \"columns\",\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The width depends on the values of other properties.\"\n }\n ],\n \"syntax\": \"<'column-width'> || <'column-count'>\",\n \"relevance\": 51,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/columns\"\n }\n ],\n \"description\": \"A shorthand property which sets both 'column-width' and 'column-count'.\",\n \"restrictions\": [\n \"length\",\n \"integer\",\n \"enum\"\n ]\n },\n {\n \"name\": \"column-span\",\n \"values\": [\n {\n \"name\": \"all\",\n \"description\": \"The element spans across all columns. Content in the normal flow that appears before the element is automatically balanced across all columns before the element appear.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"The element does not span multiple columns.\"\n }\n ],\n \"syntax\": \"none | all\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/column-span\"\n }\n ],\n \"description\": \"Describes the page/column break behavior after the generated box.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"column-width\",\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The width depends on the values of other properties.\"\n }\n ],\n \"syntax\": \"<length> | auto\",\n \"relevance\": 51,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/column-width\"\n }\n ],\n \"description\": \"Describes the width of columns in multicol elements.\",\n \"restrictions\": [\n \"length\",\n \"enum\"\n ]\n },\n {\n \"name\": \"contain\",\n \"browsers\": [\n \"E79\",\n \"FF69\",\n \"C52\",\n \"O40\"\n ],\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"Indicates that the property has no effect.\"\n },\n {\n \"name\": \"strict\",\n \"description\": \"Turns on all forms of containment for the element.\"\n },\n {\n \"name\": \"content\",\n \"description\": \"All containment rules except size are applied to the element.\"\n },\n {\n \"name\": \"size\",\n \"description\": \"For properties that can have effects on more than just an element and its descendants, those effects don't escape the containing element.\"\n },\n {\n \"name\": \"layout\",\n \"description\": \"Turns on layout containment for the element.\"\n },\n {\n \"name\": \"style\",\n \"description\": \"Turns on style containment for the element.\"\n },\n {\n \"name\": \"paint\",\n \"description\": \"Turns on paint containment for the element.\"\n }\n ],\n \"syntax\": \"none | strict | content | [ size || layout || style || paint ]\",\n \"relevance\": 55,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/contain\"\n }\n ],\n \"description\": \"Indicates that an element and its contents are, as much as possible, independent of the rest of the document tree.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"content\",\n \"values\": [\n {\n \"name\": \"attr()\",\n \"description\": \"The attr(n) function returns as a string the value of attribute n for the subject of the selector.\"\n },\n {\n \"name\": \"counter(name)\",\n \"description\": \"Counters are denoted by identifiers (see the 'counter-increment' and 'counter-reset' properties).\"\n },\n {\n \"name\": \"icon\",\n \"description\": \"The (pseudo-)element is replaced in its entirety by the resource referenced by its 'icon' property, and treated as a replaced element.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"On elements, this inhibits the children of the element from being rendered as children of this element, as if the element was empty. On pseudo-elements it causes the pseudo-element to have no content.\"\n },\n {\n \"name\": \"normal\",\n \"description\": \"See http://www.w3.org/TR/css3-content/#content for computation rules.\"\n },\n {\n \"name\": \"url()\"\n }\n ],\n \"syntax\": \"normal | none | [ <content-replacement> | <content-list> ] [/ <string> ]?\",\n \"relevance\": 89,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/content\"\n }\n ],\n \"description\": \"Determines which page-based occurrence of a given element is applied to a counter or string value.\",\n \"restrictions\": [\n \"string\",\n \"url\"\n ]\n },\n {\n \"name\": \"counter-increment\",\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"This element does not alter the value of any counters.\"\n }\n ],\n \"syntax\": \"[ <custom-ident> <integer>? ]+ | none\",\n \"relevance\": 52,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/counter-increment\"\n }\n ],\n \"description\": \"Manipulate the value of existing counters.\",\n \"restrictions\": [\n \"identifier\",\n \"integer\"\n ]\n },\n {\n \"name\": \"counter-reset\",\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"The counter is not modified.\"\n }\n ],\n \"syntax\": \"[ <custom-ident> <integer>? ]+ | none\",\n \"relevance\": 52,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/counter-reset\"\n }\n ],\n \"description\": \"Property accepts one or more names of counters (identifiers), each one optionally followed by an integer. The integer gives the value that the counter is set to on each occurrence of the element.\",\n \"restrictions\": [\n \"identifier\",\n \"integer\"\n ]\n },\n {\n \"name\": \"cursor\",\n \"values\": [\n {\n \"name\": \"alias\",\n \"description\": \"Indicates an alias of/shortcut to something is to be created. Often rendered as an arrow with a small curved arrow next to it.\"\n },\n {\n \"name\": \"all-scroll\",\n \"description\": \"Indicates that the something can be scrolled in any direction. Often rendered as arrows pointing up, down, left, and right with a dot in the middle.\"\n },\n {\n \"name\": \"auto\",\n \"description\": \"The UA determines the cursor to display based on the current context.\"\n },\n {\n \"name\": \"cell\",\n \"description\": \"Indicates that a cell or set of cells may be selected. Often rendered as a thick plus-sign with a dot in the middle.\"\n },\n {\n \"name\": \"col-resize\",\n \"description\": \"Indicates that the item/column can be resized horizontally. Often rendered as arrows pointing left and right with a vertical bar separating them.\"\n },\n {\n \"name\": \"context-menu\",\n \"description\": \"A context menu is available for the object under the cursor. Often rendered as an arrow with a small menu-like graphic next to it.\"\n },\n {\n \"name\": \"copy\",\n \"description\": \"Indicates something is to be copied. Often rendered as an arrow with a small plus sign next to it.\"\n },\n {\n \"name\": \"crosshair\",\n \"description\": \"A simple crosshair (e.g., short line segments resembling a '+' sign). Often used to indicate a two dimensional bitmap selection mode.\"\n },\n {\n \"name\": \"default\",\n \"description\": \"The platform-dependent default cursor. Often rendered as an arrow.\"\n },\n {\n \"name\": \"e-resize\",\n \"description\": \"Indicates that east edge is to be moved.\"\n },\n {\n \"name\": \"ew-resize\",\n \"description\": \"Indicates a bidirectional east-west resize cursor.\"\n },\n {\n \"name\": \"grab\",\n \"description\": \"Indicates that something can be grabbed.\"\n },\n {\n \"name\": \"grabbing\",\n \"description\": \"Indicates that something is being grabbed.\"\n },\n {\n \"name\": \"help\",\n \"description\": \"Help is available for the object under the cursor. Often rendered as a question mark or a balloon.\"\n },\n {\n \"name\": \"move\",\n \"description\": \"Indicates something is to be moved.\"\n },\n {\n \"name\": \"-moz-grab\",\n \"description\": \"Indicates that something can be grabbed.\"\n },\n {\n \"name\": \"-moz-grabbing\",\n \"description\": \"Indicates that something is being grabbed.\"\n },\n {\n \"name\": \"-moz-zoom-in\",\n \"description\": \"Indicates that something can be zoomed (magnified) in.\"\n },\n {\n \"name\": \"-moz-zoom-out\",\n \"description\": \"Indicates that something can be zoomed (magnified) out.\"\n },\n {\n \"name\": \"ne-resize\",\n \"description\": \"Indicates that movement starts from north-east corner.\"\n },\n {\n \"name\": \"nesw-resize\",\n \"description\": \"Indicates a bidirectional north-east/south-west cursor.\"\n },\n {\n \"name\": \"no-drop\",\n \"description\": \"Indicates that the dragged item cannot be dropped at the current cursor location. Often rendered as a hand or pointer with a small circle with a line through it.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"No cursor is rendered for the element.\"\n },\n {\n \"name\": \"not-allowed\",\n \"description\": \"Indicates that the requested action will not be carried out. Often rendered as a circle with a line through it.\"\n },\n {\n \"name\": \"n-resize\",\n \"description\": \"Indicates that north edge is to be moved.\"\n },\n {\n \"name\": \"ns-resize\",\n \"description\": \"Indicates a bidirectional north-south cursor.\"\n },\n {\n \"name\": \"nw-resize\",\n \"description\": \"Indicates that movement starts from north-west corner.\"\n },\n {\n \"name\": \"nwse-resize\",\n \"description\": \"Indicates a bidirectional north-west/south-east cursor.\"\n },\n {\n \"name\": \"pointer\",\n \"description\": \"The cursor is a pointer that indicates a link.\"\n },\n {\n \"name\": \"progress\",\n \"description\": \"A progress indicator. The program is performing some processing, but is different from 'wait' in that the user may still interact with the program. Often rendered as a spinning beach ball, or an arrow with a watch or hourglass.\"\n },\n {\n \"name\": \"row-resize\",\n \"description\": \"Indicates that the item/row can be resized vertically. Often rendered as arrows pointing up and down with a horizontal bar separating them.\"\n },\n {\n \"name\": \"se-resize\",\n \"description\": \"Indicates that movement starts from south-east corner.\"\n },\n {\n \"name\": \"s-resize\",\n \"description\": \"Indicates that south edge is to be moved.\"\n },\n {\n \"name\": \"sw-resize\",\n \"description\": \"Indicates that movement starts from south-west corner.\"\n },\n {\n \"name\": \"text\",\n \"description\": \"Indicates text that may be selected. Often rendered as a vertical I-beam.\"\n },\n {\n \"name\": \"vertical-text\",\n \"description\": \"Indicates vertical-text that may be selected. Often rendered as a horizontal I-beam.\"\n },\n {\n \"name\": \"wait\",\n \"description\": \"Indicates that the program is busy and the user should wait. Often rendered as a watch or hourglass.\"\n },\n {\n \"name\": \"-webkit-grab\",\n \"description\": \"Indicates that something can be grabbed.\"\n },\n {\n \"name\": \"-webkit-grabbing\",\n \"description\": \"Indicates that something is being grabbed.\"\n },\n {\n \"name\": \"-webkit-zoom-in\",\n \"description\": \"Indicates that something can be zoomed (magnified) in.\"\n },\n {\n \"name\": \"-webkit-zoom-out\",\n \"description\": \"Indicates that something can be zoomed (magnified) out.\"\n },\n {\n \"name\": \"w-resize\",\n \"description\": \"Indicates that west edge is to be moved.\"\n },\n {\n \"name\": \"zoom-in\",\n \"description\": \"Indicates that something can be zoomed (magnified) in.\"\n },\n {\n \"name\": \"zoom-out\",\n \"description\": \"Indicates that something can be zoomed (magnified) out.\"\n }\n ],\n \"syntax\": \"[ [ <url> [ <x> <y> ]? , ]* [ auto | default | none | context-menu | help | pointer | progress | wait | cell | crosshair | text | vertical-text | alias | copy | move | no-drop | not-allowed | e-resize | n-resize | ne-resize | nw-resize | s-resize | se-resize | sw-resize | w-resize | ew-resize | ns-resize | nesw-resize | nwse-resize | col-resize | row-resize | all-scroll | zoom-in | zoom-out | grab | grabbing ] ]\",\n \"relevance\": 92,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/cursor\"\n }\n ],\n \"description\": \"Allows control over cursor appearance in an element\",\n \"restrictions\": [\n \"url\",\n \"number\",\n \"enum\"\n ]\n },\n {\n \"name\": \"direction\",\n \"values\": [\n {\n \"name\": \"ltr\",\n \"description\": \"Left-to-right direction.\"\n },\n {\n \"name\": \"rtl\",\n \"description\": \"Right-to-left direction.\"\n }\n ],\n \"syntax\": \"ltr | rtl\",\n \"relevance\": 69,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/direction\"\n }\n ],\n \"description\": \"Specifies the inline base direction or directionality of any bidi paragraph, embedding, isolate, or override established by the box. Note: for HTML content use the 'dir' attribute and 'bdo' element rather than this property.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"display\",\n \"values\": [\n {\n \"name\": \"block\",\n \"description\": \"The element generates a block-level box\"\n },\n {\n \"name\": \"contents\",\n \"description\": \"The element itself does not generate any boxes, but its children and pseudo-elements still generate boxes as normal.\"\n },\n {\n \"name\": \"flex\",\n \"description\": \"The element generates a principal flex container box and establishes a flex formatting context.\"\n },\n {\n \"name\": \"flexbox\",\n \"description\": \"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'.\"\n },\n {\n \"name\": \"flow-root\",\n \"description\": \"The element generates a block container box, and lays out its contents using flow layout.\"\n },\n {\n \"name\": \"grid\",\n \"description\": \"The element generates a principal grid container box, and establishes a grid formatting context.\"\n },\n {\n \"name\": \"inline\",\n \"description\": \"The element generates an inline-level box.\"\n },\n {\n \"name\": \"inline-block\",\n \"description\": \"A block box, which itself is flowed as a single inline box, similar to a replaced element. The inside of an inline-block is formatted as a block box, and the box itself is formatted as an inline box.\"\n },\n {\n \"name\": \"inline-flex\",\n \"description\": \"Inline-level flex container.\"\n },\n {\n \"name\": \"inline-flexbox\",\n \"description\": \"Inline-level flex container. Standardized as 'inline-flex'\"\n },\n {\n \"name\": \"inline-table\",\n \"description\": \"Inline-level table wrapper box containing table box.\"\n },\n {\n \"name\": \"list-item\",\n \"description\": \"One or more block boxes and one marker box.\"\n },\n {\n \"name\": \"-moz-box\",\n \"description\": \"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'.\"\n },\n {\n \"name\": \"-moz-deck\"\n },\n {\n \"name\": \"-moz-grid\"\n },\n {\n \"name\": \"-moz-grid-group\"\n },\n {\n \"name\": \"-moz-grid-line\"\n },\n {\n \"name\": \"-moz-groupbox\"\n },\n {\n \"name\": \"-moz-inline-box\",\n \"description\": \"Inline-level flex container. Standardized as 'inline-flex'\"\n },\n {\n \"name\": \"-moz-inline-grid\"\n },\n {\n \"name\": \"-moz-inline-stack\"\n },\n {\n \"name\": \"-moz-marker\"\n },\n {\n \"name\": \"-moz-popup\"\n },\n {\n \"name\": \"-moz-stack\"\n },\n {\n \"name\": \"-ms-flexbox\",\n \"description\": \"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'.\"\n },\n {\n \"name\": \"-ms-grid\",\n \"description\": \"The element generates a principal grid container box, and establishes a grid formatting context.\"\n },\n {\n \"name\": \"-ms-inline-flexbox\",\n \"description\": \"Inline-level flex container. Standardized as 'inline-flex'\"\n },\n {\n \"name\": \"-ms-inline-grid\",\n \"description\": \"Inline-level grid container.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"The element and its descendants generates no boxes.\"\n },\n {\n \"name\": \"ruby\",\n \"description\": \"The element generates a principal ruby container box, and establishes a ruby formatting context.\"\n },\n {\n \"name\": \"ruby-base\"\n },\n {\n \"name\": \"ruby-base-container\"\n },\n {\n \"name\": \"ruby-text\"\n },\n {\n \"name\": \"ruby-text-container\"\n },\n {\n \"name\": \"run-in\",\n \"description\": \"The element generates a run-in box. Run-in elements act like inlines or blocks, depending on the surrounding elements.\"\n },\n {\n \"name\": \"table\",\n \"description\": \"The element generates a principal table wrapper box containing an additionally-generated table box, and establishes a table formatting context.\"\n },\n {\n \"name\": \"table-caption\"\n },\n {\n \"name\": \"table-cell\"\n },\n {\n \"name\": \"table-column\"\n },\n {\n \"name\": \"table-column-group\"\n },\n {\n \"name\": \"table-footer-group\"\n },\n {\n \"name\": \"table-header-group\"\n },\n {\n \"name\": \"table-row\"\n },\n {\n \"name\": \"table-row-group\"\n },\n {\n \"name\": \"-webkit-box\",\n \"description\": \"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'.\"\n },\n {\n \"name\": \"-webkit-flex\",\n \"description\": \"The element lays out its contents using flow layout (block-and-inline layout).\"\n },\n {\n \"name\": \"-webkit-inline-box\",\n \"description\": \"Inline-level flex container. Standardized as 'inline-flex'\"\n },\n {\n \"name\": \"-webkit-inline-flex\",\n \"description\": \"Inline-level flex container.\"\n }\n ],\n \"syntax\": \"[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy>\",\n \"relevance\": 96,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/display\"\n }\n ],\n \"description\": \"In combination with 'float' and 'position', determines the type of box or boxes that are generated for an element.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"empty-cells\",\n \"values\": [\n {\n \"name\": \"hide\",\n \"description\": \"No borders or backgrounds are drawn around/behind empty cells.\"\n },\n {\n \"name\": \"-moz-show-background\"\n },\n {\n \"name\": \"show\",\n \"description\": \"Borders and backgrounds are drawn around/behind empty cells (like normal cells).\"\n }\n ],\n \"syntax\": \"show | hide\",\n \"relevance\": 51,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/empty-cells\"\n }\n ],\n \"description\": \"In the separated borders model, this property controls the rendering of borders and backgrounds around cells that have no visible content.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"enable-background\",\n \"values\": [\n {\n \"name\": \"accumulate\",\n \"description\": \"If the ancestor container element has a property of new, then all graphics elements within the current container are rendered both on the parent's background image and onto the target.\"\n },\n {\n \"name\": \"new\",\n \"description\": \"Create a new background image canvas. All children of the current container element can access the background, and they will be rendered onto both the parent's background image canvas in addition to the target device.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Deprecated. Use 'isolation' property instead when support allows. Specifies how the accumulation of the background image is managed.\",\n \"restrictions\": [\n \"integer\",\n \"length\",\n \"percentage\",\n \"enum\"\n ]\n },\n {\n \"name\": \"fallback\",\n \"browsers\": [\n \"FF33\"\n ],\n \"syntax\": \"<counter-style-name>\",\n \"relevance\": 50,\n \"description\": \"@counter-style descriptor. Specifies a fallback counter style to be used when the current counter style can’t create a representation for a given counter value.\",\n \"restrictions\": [\n \"identifier\"\n ]\n },\n {\n \"name\": \"fill\",\n \"values\": [\n {\n \"name\": \"url()\",\n \"description\": \"A URL reference to a paint server element, which is an element that defines a paint server: ‘hatch’, ‘linearGradient’, ‘mesh’, ‘pattern’, ‘radialGradient’ and ‘solidcolor’.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"No paint is applied in this layer.\"\n }\n ],\n \"relevance\": 75,\n \"description\": \"Paints the interior of the given graphical element.\",\n \"restrictions\": [\n \"color\",\n \"enum\",\n \"url\"\n ]\n },\n {\n \"name\": \"fill-opacity\",\n \"relevance\": 52,\n \"description\": \"Specifies the opacity of the painting operation used to paint the interior the current object.\",\n \"restrictions\": [\n \"number(0-1)\"\n ]\n },\n {\n \"name\": \"fill-rule\",\n \"values\": [\n {\n \"name\": \"evenodd\",\n \"description\": \"Determines the ‘insideness’ of a point on the canvas by drawing a ray from that point to infinity in any direction and counting the number of path segments from the given shape that the ray crosses.\"\n },\n {\n \"name\": \"nonzero\",\n \"description\": \"Determines the ‘insideness’ of a point on the canvas by drawing a ray from that point to infinity in any direction and then examining the places where a segment of the shape crosses the ray.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Indicates the algorithm (or winding rule) which is to be used to determine what parts of the canvas are included inside the shape.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"filter\",\n \"browsers\": [\n \"E12\",\n \"FF35\",\n \"S9.1\",\n \"C53\",\n \"O40\"\n ],\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"No filter effects are applied.\"\n },\n {\n \"name\": \"blur()\",\n \"description\": \"Applies a Gaussian blur to the input image.\"\n },\n {\n \"name\": \"brightness()\",\n \"description\": \"Applies a linear multiplier to input image, making it appear more or less bright.\"\n },\n {\n \"name\": \"contrast()\",\n \"description\": \"Adjusts the contrast of the input.\"\n },\n {\n \"name\": \"drop-shadow()\",\n \"description\": \"Applies a drop shadow effect to the input image.\"\n },\n {\n \"name\": \"grayscale()\",\n \"description\": \"Converts the input image to grayscale.\"\n },\n {\n \"name\": \"hue-rotate()\",\n \"description\": \"Applies a hue rotation on the input image. \"\n },\n {\n \"name\": \"invert()\",\n \"description\": \"Inverts the samples in the input image.\"\n },\n {\n \"name\": \"opacity()\",\n \"description\": \"Applies transparency to the samples in the input image.\"\n },\n {\n \"name\": \"saturate()\",\n \"description\": \"Saturates the input image.\"\n },\n {\n \"name\": \"sepia()\",\n \"description\": \"Converts the input image to sepia.\"\n },\n {\n \"name\": \"url()\",\n \"browsers\": [\n \"E12\",\n \"FF35\",\n \"S9.1\",\n \"C53\",\n \"O40\"\n ],\n \"description\": \"A filter reference to a <filter> element.\"\n }\n ],\n \"syntax\": \"none | <filter-function-list>\",\n \"relevance\": 65,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/filter\"\n }\n ],\n \"description\": \"Processes an element’s rendering before it is displayed in the document, by applying one or more filter effects.\",\n \"restrictions\": [\n \"enum\",\n \"url\"\n ]\n },\n {\n \"name\": \"flex\",\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Retrieves the value of the main size property as the used 'flex-basis'.\"\n },\n {\n \"name\": \"content\",\n \"description\": \"Indicates automatic sizing, based on the flex item’s content.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"Expands to '0 0 auto'.\"\n }\n ],\n \"syntax\": \"none | [ <'flex-grow'> <'flex-shrink'>? || <'flex-basis'> ]\",\n \"relevance\": 78,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/flex\"\n }\n ],\n \"description\": \"Specifies the components of a flexible length: the flex grow factor and flex shrink factor, and the flex basis.\",\n \"restrictions\": [\n \"length\",\n \"number\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"flex-basis\",\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Retrieves the value of the main size property as the used 'flex-basis'.\"\n },\n {\n \"name\": \"content\",\n \"description\": \"Indicates automatic sizing, based on the flex item’s content.\"\n }\n ],\n \"syntax\": \"content | <'width'>\",\n \"relevance\": 63,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/flex-basis\"\n }\n ],\n \"description\": \"Sets the flex basis.\",\n \"restrictions\": [\n \"length\",\n \"number\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"flex-direction\",\n \"values\": [\n {\n \"name\": \"column\",\n \"description\": \"The flex container’s main axis has the same orientation as the block axis of the current writing mode.\"\n },\n {\n \"name\": \"column-reverse\",\n \"description\": \"Same as 'column', except the main-start and main-end directions are swapped.\"\n },\n {\n \"name\": \"row\",\n \"description\": \"The flex container’s main axis has the same orientation as the inline axis of the current writing mode.\"\n },\n {\n \"name\": \"row-reverse\",\n \"description\": \"Same as 'row', except the main-start and main-end directions are swapped.\"\n }\n ],\n \"syntax\": \"row | row-reverse | column | column-reverse\",\n \"relevance\": 80,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/flex-direction\"\n }\n ],\n \"description\": \"Specifies how flex items are placed in the flex container, by setting the direction of the flex container’s main axis.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"flex-flow\",\n \"values\": [\n {\n \"name\": \"column\",\n \"description\": \"The flex container’s main axis has the same orientation as the block axis of the current writing mode.\"\n },\n {\n \"name\": \"column-reverse\",\n \"description\": \"Same as 'column', except the main-start and main-end directions are swapped.\"\n },\n {\n \"name\": \"nowrap\",\n \"description\": \"The flex container is single-line.\"\n },\n {\n \"name\": \"row\",\n \"description\": \"The flex container’s main axis has the same orientation as the inline axis of the current writing mode.\"\n },\n {\n \"name\": \"row-reverse\",\n \"description\": \"Same as 'row', except the main-start and main-end directions are swapped.\"\n },\n {\n \"name\": \"wrap\",\n \"description\": \"The flexbox is multi-line.\"\n },\n {\n \"name\": \"wrap-reverse\",\n \"description\": \"Same as 'wrap', except the cross-start and cross-end directions are swapped.\"\n }\n ],\n \"syntax\": \"<'flex-direction'> || <'flex-wrap'>\",\n \"relevance\": 59,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/flex-flow\"\n }\n ],\n \"description\": \"Specifies how flexbox items are placed in the flexbox.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"flex-grow\",\n \"syntax\": \"<number>\",\n \"relevance\": 73,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/flex-grow\"\n }\n ],\n \"description\": \"Sets the flex grow factor. Negative numbers are invalid.\",\n \"restrictions\": [\n \"number\"\n ]\n },\n {\n \"name\": \"flex-shrink\",\n \"syntax\": \"<number>\",\n \"relevance\": 71,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/flex-shrink\"\n }\n ],\n \"description\": \"Sets the flex shrink factor. Negative numbers are invalid.\",\n \"restrictions\": [\n \"number\"\n ]\n },\n {\n \"name\": \"flex-wrap\",\n \"values\": [\n {\n \"name\": \"nowrap\",\n \"description\": \"The flex container is single-line.\"\n },\n {\n \"name\": \"wrap\",\n \"description\": \"The flexbox is multi-line.\"\n },\n {\n \"name\": \"wrap-reverse\",\n \"description\": \"Same as 'wrap', except the cross-start and cross-end directions are swapped.\"\n }\n ],\n \"syntax\": \"nowrap | wrap | wrap-reverse\",\n \"relevance\": 76,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/flex-wrap\"\n }\n ],\n \"description\": \"Controls whether the flex container is single-line or multi-line, and the direction of the cross-axis, which determines the direction new lines are stacked in.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"float\",\n \"values\": [\n {\n \"name\": \"inline-end\",\n \"description\": \"A keyword indicating that the element must float on the end side of its containing block. That is the right side with ltr scripts, and the left side with rtl scripts.\"\n },\n {\n \"name\": \"inline-start\",\n \"description\": \"A keyword indicating that the element must float on the start side of its containing block. That is the left side with ltr scripts, and the right side with rtl scripts.\"\n },\n {\n \"name\": \"left\",\n \"description\": \"The element generates a block box that is floated to the left. Content flows on the right side of the box, starting at the top (subject to the 'clear' property).\"\n },\n {\n \"name\": \"none\",\n \"description\": \"The box is not floated.\"\n },\n {\n \"name\": \"right\",\n \"description\": \"Similar to 'left', except the box is floated to the right, and content flows on the left side of the box, starting at the top.\"\n }\n ],\n \"syntax\": \"left | right | none | inline-start | inline-end\",\n \"relevance\": 92,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/float\"\n }\n ],\n \"description\": \"Specifies how a box should be floated. It may be set for any element, but only applies to elements that generate boxes that are not absolutely positioned.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"flood-color\",\n \"browsers\": [\n \"E\",\n \"C5\",\n \"FF3\",\n \"IE10\",\n \"O9\",\n \"S6\"\n ],\n \"relevance\": 50,\n \"description\": \"Indicates what color to use to flood the current filter primitive subregion.\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"flood-opacity\",\n \"browsers\": [\n \"E\",\n \"C5\",\n \"FF3\",\n \"IE10\",\n \"O9\",\n \"S6\"\n ],\n \"relevance\": 50,\n \"description\": \"Indicates what opacity to use to flood the current filter primitive subregion.\",\n \"restrictions\": [\n \"number(0-1)\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"font\",\n \"values\": [\n {\n \"name\": \"100\",\n \"description\": \"Thin\"\n },\n {\n \"name\": \"200\",\n \"description\": \"Extra Light (Ultra Light)\"\n },\n {\n \"name\": \"300\",\n \"description\": \"Light\"\n },\n {\n \"name\": \"400\",\n \"description\": \"Normal\"\n },\n {\n \"name\": \"500\",\n \"description\": \"Medium\"\n },\n {\n \"name\": \"600\",\n \"description\": \"Semi Bold (Demi Bold)\"\n },\n {\n \"name\": \"700\",\n \"description\": \"Bold\"\n },\n {\n \"name\": \"800\",\n \"description\": \"Extra Bold (Ultra Bold)\"\n },\n {\n \"name\": \"900\",\n \"description\": \"Black (Heavy)\"\n },\n {\n \"name\": \"bold\",\n \"description\": \"Same as 700\"\n },\n {\n \"name\": \"bolder\",\n \"description\": \"Specifies the weight of the face bolder than the inherited value.\"\n },\n {\n \"name\": \"caption\",\n \"description\": \"The font used for captioned controls (e.g., buttons, drop-downs, etc.).\"\n },\n {\n \"name\": \"icon\",\n \"description\": \"The font used to label icons.\"\n },\n {\n \"name\": \"italic\",\n \"description\": \"Selects a font that is labeled 'italic', or, if that is not available, one labeled 'oblique'.\"\n },\n {\n \"name\": \"large\"\n },\n {\n \"name\": \"larger\"\n },\n {\n \"name\": \"lighter\",\n \"description\": \"Specifies the weight of the face lighter than the inherited value.\"\n },\n {\n \"name\": \"medium\"\n },\n {\n \"name\": \"menu\",\n \"description\": \"The font used in menus (e.g., dropdown menus and menu lists).\"\n },\n {\n \"name\": \"message-box\",\n \"description\": \"The font used in dialog boxes.\"\n },\n {\n \"name\": \"normal\",\n \"description\": \"Specifies a face that is not labeled as a small-caps font.\"\n },\n {\n \"name\": \"oblique\",\n \"description\": \"Selects a font that is labeled 'oblique'.\"\n },\n {\n \"name\": \"small\"\n },\n {\n \"name\": \"small-caps\",\n \"description\": \"Specifies a font that is labeled as a small-caps font. If a genuine small-caps font is not available, user agents should simulate a small-caps font.\"\n },\n {\n \"name\": \"small-caption\",\n \"description\": \"The font used for labeling small controls.\"\n },\n {\n \"name\": \"smaller\"\n },\n {\n \"name\": \"status-bar\",\n \"description\": \"The font used in window status bars.\"\n },\n {\n \"name\": \"x-large\"\n },\n {\n \"name\": \"x-small\"\n },\n {\n \"name\": \"xx-large\"\n },\n {\n \"name\": \"xx-small\"\n }\n ],\n \"syntax\": \"[ [ <'font-style'> || <font-variant-css21> || <'font-weight'> || <'font-stretch'> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'> ] | caption | icon | menu | message-box | small-caption | status-bar\",\n \"relevance\": 82,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font\"\n }\n ],\n \"description\": \"Shorthand property for setting 'font-style', 'font-variant', 'font-weight', 'font-size', 'line-height', and 'font-family', at the same place in the style sheet. The syntax of this property is based on a traditional typographical shorthand notation to set multiple properties related to fonts.\",\n \"restrictions\": [\n \"font\"\n ]\n },\n {\n \"name\": \"font-family\",\n \"values\": [\n {\n \"name\": \"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif\"\n },\n {\n \"name\": \"Arial, Helvetica, sans-serif\"\n },\n {\n \"name\": \"Cambria, Cochin, Georgia, Times, 'Times New Roman', serif\"\n },\n {\n \"name\": \"'Courier New', Courier, monospace\"\n },\n {\n \"name\": \"cursive\"\n },\n {\n \"name\": \"fantasy\"\n },\n {\n \"name\": \"'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif\"\n },\n {\n \"name\": \"Georgia, 'Times New Roman', Times, serif\"\n },\n {\n \"name\": \"'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif\"\n },\n {\n \"name\": \"Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif\"\n },\n {\n \"name\": \"'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif\"\n },\n {\n \"name\": \"monospace\"\n },\n {\n \"name\": \"sans-serif\"\n },\n {\n \"name\": \"'Segoe UI', Tahoma, Geneva, Verdana, sans-serif\"\n },\n {\n \"name\": \"serif\"\n },\n {\n \"name\": \"'Times New Roman', Times, serif\"\n },\n {\n \"name\": \"'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif\"\n },\n {\n \"name\": \"Verdana, Geneva, Tahoma, sans-serif\"\n }\n ],\n \"syntax\": \"<family-name>\",\n \"relevance\": 93,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-family\"\n }\n ],\n \"description\": \"Specifies a prioritized list of font family names or generic family names. A user agent iterates through the list of family names until it matches an available font that contains a glyph for the character to be rendered.\",\n \"restrictions\": [\n \"font\"\n ]\n },\n {\n \"name\": \"font-feature-settings\",\n \"values\": [\n {\n \"name\": \"\\\"aalt\\\"\",\n \"description\": \"Access All Alternates.\"\n },\n {\n \"name\": \"\\\"abvf\\\"\",\n \"description\": \"Above-base Forms. Required in Khmer script.\"\n },\n {\n \"name\": \"\\\"abvm\\\"\",\n \"description\": \"Above-base Mark Positioning. Required in Indic scripts.\"\n },\n {\n \"name\": \"\\\"abvs\\\"\",\n \"description\": \"Above-base Substitutions. Required in Indic scripts.\"\n },\n {\n \"name\": \"\\\"afrc\\\"\",\n \"description\": \"Alternative Fractions.\"\n },\n {\n \"name\": \"\\\"akhn\\\"\",\n \"description\": \"Akhand. Required in most Indic scripts.\"\n },\n {\n \"name\": \"\\\"blwf\\\"\",\n \"description\": \"Below-base Form. Required in a number of Indic scripts.\"\n },\n {\n \"name\": \"\\\"blwm\\\"\",\n \"description\": \"Below-base Mark Positioning. Required in Indic scripts.\"\n },\n {\n \"name\": \"\\\"blws\\\"\",\n \"description\": \"Below-base Substitutions. Required in Indic scripts.\"\n },\n {\n \"name\": \"\\\"calt\\\"\",\n \"description\": \"Contextual Alternates.\"\n },\n {\n \"name\": \"\\\"case\\\"\",\n \"description\": \"Case-Sensitive Forms. Applies only to European scripts; particularly prominent in Spanish-language setting.\"\n },\n {\n \"name\": \"\\\"ccmp\\\"\",\n \"description\": \"Glyph Composition/Decomposition.\"\n },\n {\n \"name\": \"\\\"cfar\\\"\",\n \"description\": \"Conjunct Form After Ro. Required in Khmer scripts.\"\n },\n {\n \"name\": \"\\\"cjct\\\"\",\n \"description\": \"Conjunct Forms. Required in Indic scripts that show similarity to Devanagari.\"\n },\n {\n \"name\": \"\\\"clig\\\"\",\n \"description\": \"Contextual Ligatures.\"\n },\n {\n \"name\": \"\\\"cpct\\\"\",\n \"description\": \"Centered CJK Punctuation. Used primarily in Chinese fonts.\"\n },\n {\n \"name\": \"\\\"cpsp\\\"\",\n \"description\": \"Capital Spacing. Should not be used in connecting scripts (e.g. most Arabic).\"\n },\n {\n \"name\": \"\\\"cswh\\\"\",\n \"description\": \"Contextual Swash.\"\n },\n {\n \"name\": \"\\\"curs\\\"\",\n \"description\": \"Cursive Positioning. Can be used in any cursive script.\"\n },\n {\n \"name\": \"\\\"c2pc\\\"\",\n \"description\": \"Petite Capitals From Capitals. Applies only to bicameral scripts.\"\n },\n {\n \"name\": \"\\\"c2sc\\\"\",\n \"description\": \"Small Capitals From Capitals. Applies only to bicameral scripts.\"\n },\n {\n \"name\": \"\\\"dist\\\"\",\n \"description\": \"Distances. Required in Indic scripts.\"\n },\n {\n \"name\": \"\\\"dlig\\\"\",\n \"description\": \"Discretionary ligatures.\"\n },\n {\n \"name\": \"\\\"dnom\\\"\",\n \"description\": \"Denominators.\"\n },\n {\n \"name\": \"\\\"dtls\\\"\",\n \"description\": \"Dotless Forms. Applied to math formula layout.\"\n },\n {\n \"name\": \"\\\"expt\\\"\",\n \"description\": \"Expert Forms. Applies only to Japanese.\"\n },\n {\n \"name\": \"\\\"falt\\\"\",\n \"description\": \"Final Glyph on Line Alternates. Can be used in any cursive script.\"\n },\n {\n \"name\": \"\\\"fin2\\\"\",\n \"description\": \"Terminal Form #2. Used only with the Syriac script.\"\n },\n {\n \"name\": \"\\\"fin3\\\"\",\n \"description\": \"Terminal Form #3. Used only with the Syriac script.\"\n },\n {\n \"name\": \"\\\"fina\\\"\",\n \"description\": \"Terminal Forms. Can be used in any alphabetic script.\"\n },\n {\n \"name\": \"\\\"flac\\\"\",\n \"description\": \"Flattened ascent forms. Applied to math formula layout.\"\n },\n {\n \"name\": \"\\\"frac\\\"\",\n \"description\": \"Fractions.\"\n },\n {\n \"name\": \"\\\"fwid\\\"\",\n \"description\": \"Full Widths. Applies to any script which can use monospaced forms.\"\n },\n {\n \"name\": \"\\\"half\\\"\",\n \"description\": \"Half Forms. Required in Indic scripts that show similarity to Devanagari.\"\n },\n {\n \"name\": \"\\\"haln\\\"\",\n \"description\": \"Halant Forms. Required in Indic scripts.\"\n },\n {\n \"name\": \"\\\"halt\\\"\",\n \"description\": \"Alternate Half Widths. Used only in CJKV fonts.\"\n },\n {\n \"name\": \"\\\"hist\\\"\",\n \"description\": \"Historical Forms.\"\n },\n {\n \"name\": \"\\\"hkna\\\"\",\n \"description\": \"Horizontal Kana Alternates. Applies only to fonts that support kana (hiragana and katakana).\"\n },\n {\n \"name\": \"\\\"hlig\\\"\",\n \"description\": \"Historical Ligatures.\"\n },\n {\n \"name\": \"\\\"hngl\\\"\",\n \"description\": \"Hangul. Korean only.\"\n },\n {\n \"name\": \"\\\"hojo\\\"\",\n \"description\": \"Hojo Kanji Forms (JIS X 0212-1990 Kanji Forms). Used only with Kanji script.\"\n },\n {\n \"name\": \"\\\"hwid\\\"\",\n \"description\": \"Half Widths. Generally used only in CJKV fonts.\"\n },\n {\n \"name\": \"\\\"init\\\"\",\n \"description\": \"Initial Forms. Can be used in any alphabetic script.\"\n },\n {\n \"name\": \"\\\"isol\\\"\",\n \"description\": \"Isolated Forms. Can be used in any cursive script.\"\n },\n {\n \"name\": \"\\\"ital\\\"\",\n \"description\": \"Italics. Applies mostly to Latin; note that many non-Latin fonts contain Latin as well.\"\n },\n {\n \"name\": \"\\\"jalt\\\"\",\n \"description\": \"Justification Alternates. Can be used in any cursive script.\"\n },\n {\n \"name\": \"\\\"jp78\\\"\",\n \"description\": \"JIS78 Forms. Applies only to Japanese.\"\n },\n {\n \"name\": \"\\\"jp83\\\"\",\n \"description\": \"JIS83 Forms. Applies only to Japanese.\"\n },\n {\n \"name\": \"\\\"jp90\\\"\",\n \"description\": \"JIS90 Forms. Applies only to Japanese.\"\n },\n {\n \"name\": \"\\\"jp04\\\"\",\n \"description\": \"JIS2004 Forms. Applies only to Japanese.\"\n },\n {\n \"name\": \"\\\"kern\\\"\",\n \"description\": \"Kerning.\"\n },\n {\n \"name\": \"\\\"lfbd\\\"\",\n \"description\": \"Left Bounds.\"\n },\n {\n \"name\": \"\\\"liga\\\"\",\n \"description\": \"Standard Ligatures.\"\n },\n {\n \"name\": \"\\\"ljmo\\\"\",\n \"description\": \"Leading Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported.\"\n },\n {\n \"name\": \"\\\"lnum\\\"\",\n \"description\": \"Lining Figures.\"\n },\n {\n \"name\": \"\\\"locl\\\"\",\n \"description\": \"Localized Forms.\"\n },\n {\n \"name\": \"\\\"ltra\\\"\",\n \"description\": \"Left-to-right glyph alternates.\"\n },\n {\n \"name\": \"\\\"ltrm\\\"\",\n \"description\": \"Left-to-right mirrored forms.\"\n },\n {\n \"name\": \"\\\"mark\\\"\",\n \"description\": \"Mark Positioning.\"\n },\n {\n \"name\": \"\\\"med2\\\"\",\n \"description\": \"Medial Form #2. Used only with the Syriac script.\"\n },\n {\n \"name\": \"\\\"medi\\\"\",\n \"description\": \"Medial Forms.\"\n },\n {\n \"name\": \"\\\"mgrk\\\"\",\n \"description\": \"Mathematical Greek.\"\n },\n {\n \"name\": \"\\\"mkmk\\\"\",\n \"description\": \"Mark to Mark Positioning.\"\n },\n {\n \"name\": \"\\\"nalt\\\"\",\n \"description\": \"Alternate Annotation Forms.\"\n },\n {\n \"name\": \"\\\"nlck\\\"\",\n \"description\": \"NLC Kanji Forms. Used only with Kanji script.\"\n },\n {\n \"name\": \"\\\"nukt\\\"\",\n \"description\": \"Nukta Forms. Required in Indic scripts..\"\n },\n {\n \"name\": \"\\\"numr\\\"\",\n \"description\": \"Numerators.\"\n },\n {\n \"name\": \"\\\"onum\\\"\",\n \"description\": \"Oldstyle Figures.\"\n },\n {\n \"name\": \"\\\"opbd\\\"\",\n \"description\": \"Optical Bounds.\"\n },\n {\n \"name\": \"\\\"ordn\\\"\",\n \"description\": \"Ordinals. Applies mostly to Latin script.\"\n },\n {\n \"name\": \"\\\"ornm\\\"\",\n \"description\": \"Ornaments.\"\n },\n {\n \"name\": \"\\\"palt\\\"\",\n \"description\": \"Proportional Alternate Widths. Used mostly in CJKV fonts.\"\n },\n {\n \"name\": \"\\\"pcap\\\"\",\n \"description\": \"Petite Capitals.\"\n },\n {\n \"name\": \"\\\"pkna\\\"\",\n \"description\": \"Proportional Kana. Generally used only in Japanese fonts.\"\n },\n {\n \"name\": \"\\\"pnum\\\"\",\n \"description\": \"Proportional Figures.\"\n },\n {\n \"name\": \"\\\"pref\\\"\",\n \"description\": \"Pre-base Forms. Required in Khmer and Myanmar (Burmese) scripts and southern Indic scripts that may display a pre-base form of Ra.\"\n },\n {\n \"name\": \"\\\"pres\\\"\",\n \"description\": \"Pre-base Substitutions. Required in Indic scripts.\"\n },\n {\n \"name\": \"\\\"pstf\\\"\",\n \"description\": \"Post-base Forms. Required in scripts of south and southeast Asia that have post-base forms for consonants eg: Gurmukhi, Malayalam, Khmer.\"\n },\n {\n \"name\": \"\\\"psts\\\"\",\n \"description\": \"Post-base Substitutions.\"\n },\n {\n \"name\": \"\\\"pwid\\\"\",\n \"description\": \"Proportional Widths.\"\n },\n {\n \"name\": \"\\\"qwid\\\"\",\n \"description\": \"Quarter Widths. Generally used only in CJKV fonts.\"\n },\n {\n \"name\": \"\\\"rand\\\"\",\n \"description\": \"Randomize.\"\n },\n {\n \"name\": \"\\\"rclt\\\"\",\n \"description\": \"Required Contextual Alternates. May apply to any script, but is especially important for many styles of Arabic.\"\n },\n {\n \"name\": \"\\\"rlig\\\"\",\n \"description\": \"Required Ligatures. Applies to Arabic and Syriac. May apply to some other scripts.\"\n },\n {\n \"name\": \"\\\"rkrf\\\"\",\n \"description\": \"Rakar Forms. Required in Devanagari and Gujarati scripts.\"\n },\n {\n \"name\": \"\\\"rphf\\\"\",\n \"description\": \"Reph Form. Required in Indic scripts. E.g. Devanagari, Kannada.\"\n },\n {\n \"name\": \"\\\"rtbd\\\"\",\n \"description\": \"Right Bounds.\"\n },\n {\n \"name\": \"\\\"rtla\\\"\",\n \"description\": \"Right-to-left alternates.\"\n },\n {\n \"name\": \"\\\"rtlm\\\"\",\n \"description\": \"Right-to-left mirrored forms.\"\n },\n {\n \"name\": \"\\\"ruby\\\"\",\n \"description\": \"Ruby Notation Forms. Applies only to Japanese.\"\n },\n {\n \"name\": \"\\\"salt\\\"\",\n \"description\": \"Stylistic Alternates.\"\n },\n {\n \"name\": \"\\\"sinf\\\"\",\n \"description\": \"Scientific Inferiors.\"\n },\n {\n \"name\": \"\\\"size\\\"\",\n \"description\": \"Optical size.\"\n },\n {\n \"name\": \"\\\"smcp\\\"\",\n \"description\": \"Small Capitals. Applies only to bicameral scripts.\"\n },\n {\n \"name\": \"\\\"smpl\\\"\",\n \"description\": \"Simplified Forms. Applies only to Chinese and Japanese.\"\n },\n {\n \"name\": \"\\\"ssty\\\"\",\n \"description\": \"Math script style alternates.\"\n },\n {\n \"name\": \"\\\"stch\\\"\",\n \"description\": \"Stretching Glyph Decomposition.\"\n },\n {\n \"name\": \"\\\"subs\\\"\",\n \"description\": \"Subscript.\"\n },\n {\n \"name\": \"\\\"sups\\\"\",\n \"description\": \"Superscript.\"\n },\n {\n \"name\": \"\\\"swsh\\\"\",\n \"description\": \"Swash. Does not apply to ideographic scripts.\"\n },\n {\n \"name\": \"\\\"titl\\\"\",\n \"description\": \"Titling.\"\n },\n {\n \"name\": \"\\\"tjmo\\\"\",\n \"description\": \"Trailing Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported.\"\n },\n {\n \"name\": \"\\\"tnam\\\"\",\n \"description\": \"Traditional Name Forms. Applies only to Japanese.\"\n },\n {\n \"name\": \"\\\"tnum\\\"\",\n \"description\": \"Tabular Figures.\"\n },\n {\n \"name\": \"\\\"trad\\\"\",\n \"description\": \"Traditional Forms. Applies only to Chinese and Japanese.\"\n },\n {\n \"name\": \"\\\"twid\\\"\",\n \"description\": \"Third Widths. Generally used only in CJKV fonts.\"\n },\n {\n \"name\": \"\\\"unic\\\"\",\n \"description\": \"Unicase.\"\n },\n {\n \"name\": \"\\\"valt\\\"\",\n \"description\": \"Alternate Vertical Metrics. Applies only to scripts with vertical writing modes.\"\n },\n {\n \"name\": \"\\\"vatu\\\"\",\n \"description\": \"Vattu Variants. Used for Indic scripts. E.g. Devanagari.\"\n },\n {\n \"name\": \"\\\"vert\\\"\",\n \"description\": \"Vertical Alternates. Applies only to scripts with vertical writing modes.\"\n },\n {\n \"name\": \"\\\"vhal\\\"\",\n \"description\": \"Alternate Vertical Half Metrics. Used only in CJKV fonts.\"\n },\n {\n \"name\": \"\\\"vjmo\\\"\",\n \"description\": \"Vowel Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported.\"\n },\n {\n \"name\": \"\\\"vkna\\\"\",\n \"description\": \"Vertical Kana Alternates. Applies only to fonts that support kana (hiragana and katakana).\"\n },\n {\n \"name\": \"\\\"vkrn\\\"\",\n \"description\": \"Vertical Kerning.\"\n },\n {\n \"name\": \"\\\"vpal\\\"\",\n \"description\": \"Proportional Alternate Vertical Metrics. Used mostly in CJKV fonts.\"\n },\n {\n \"name\": \"\\\"vrt2\\\"\",\n \"description\": \"Vertical Alternates and Rotation. Applies only to scripts with vertical writing modes.\"\n },\n {\n \"name\": \"\\\"zero\\\"\",\n \"description\": \"Slashed Zero.\"\n },\n {\n \"name\": \"normal\",\n \"description\": \"No change in glyph substitution or positioning occurs.\"\n },\n {\n \"name\": \"off\",\n \"description\": \"Disable feature.\"\n },\n {\n \"name\": \"on\",\n \"description\": \"Enable feature.\"\n }\n ],\n \"syntax\": \"normal | <feature-tag-value>#\",\n \"relevance\": 54,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-feature-settings\"\n }\n ],\n \"description\": \"Provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case.\",\n \"restrictions\": [\n \"string\",\n \"integer\"\n ]\n },\n {\n \"name\": \"font-kerning\",\n \"browsers\": [\n \"E79\",\n \"FF32\",\n \"S9\",\n \"C33\",\n \"O20\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Specifies that kerning is applied at the discretion of the user agent.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"Specifies that kerning is not applied.\"\n },\n {\n \"name\": \"normal\",\n \"description\": \"Specifies that kerning is applied.\"\n }\n ],\n \"syntax\": \"auto | normal | none\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-kerning\"\n }\n ],\n \"description\": \"Kerning is the contextual adjustment of inter-glyph spacing. This property controls metric kerning, kerning that utilizes adjustment data contained in the font.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"font-language-override\",\n \"browsers\": [\n \"FF34\"\n ],\n \"values\": [\n {\n \"name\": \"normal\",\n \"description\": \"Implies that when rendering with OpenType fonts the language of the document is used to infer the OpenType language system, used to select language specific features when rendering.\"\n }\n ],\n \"syntax\": \"normal | <string>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-language-override\"\n }\n ],\n \"description\": \"The value of 'normal' implies that when rendering with OpenType fonts the language of the document is used to infer the OpenType language system, used to select language specific features when rendering.\",\n \"restrictions\": [\n \"string\"\n ]\n },\n {\n \"name\": \"font-size\",\n \"values\": [\n {\n \"name\": \"large\"\n },\n {\n \"name\": \"larger\"\n },\n {\n \"name\": \"medium\"\n },\n {\n \"name\": \"small\"\n },\n {\n \"name\": \"smaller\"\n },\n {\n \"name\": \"x-large\"\n },\n {\n \"name\": \"x-small\"\n },\n {\n \"name\": \"xx-large\"\n },\n {\n \"name\": \"xx-small\"\n }\n ],\n \"syntax\": \"<absolute-size> | <relative-size> | <length-percentage>\",\n \"relevance\": 94,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-size\"\n }\n ],\n \"description\": \"Indicates the desired height of glyphs from the font. For scalable fonts, the font-size is a scale factor applied to the EM unit of the font. (Note that certain glyphs may bleed outside their EM box.) For non-scalable fonts, the font-size is converted into absolute units and matched against the declared font-size of the font, using the same absolute coordinate space for both of the matched values.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"font-size-adjust\",\n \"browsers\": [\n \"E79\",\n \"FF40\",\n \"C43\",\n \"O30\"\n ],\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"Do not preserve the font’s x-height.\"\n }\n ],\n \"syntax\": \"none | <number>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-size-adjust\"\n }\n ],\n \"description\": \"Preserves the readability of text when font fallback occurs by adjusting the font-size so that the x-height is the same regardless of the font used.\",\n \"restrictions\": [\n \"number\"\n ]\n },\n {\n \"name\": \"font-stretch\",\n \"values\": [\n {\n \"name\": \"condensed\"\n },\n {\n \"name\": \"expanded\"\n },\n {\n \"name\": \"extra-condensed\"\n },\n {\n \"name\": \"extra-expanded\"\n },\n {\n \"name\": \"narrower\",\n \"description\": \"Indicates a narrower value relative to the width of the parent element.\"\n },\n {\n \"name\": \"normal\"\n },\n {\n \"name\": \"semi-condensed\"\n },\n {\n \"name\": \"semi-expanded\"\n },\n {\n \"name\": \"ultra-condensed\"\n },\n {\n \"name\": \"ultra-expanded\"\n },\n {\n \"name\": \"wider\",\n \"description\": \"Indicates a wider value relative to the width of the parent element.\"\n }\n ],\n \"syntax\": \"<font-stretch-absolute>{1,2}\",\n \"relevance\": 53,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-stretch\"\n }\n ],\n \"description\": \"Selects a normal, condensed, or expanded face from a font family.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"font-style\",\n \"values\": [\n {\n \"name\": \"italic\",\n \"description\": \"Selects a font that is labeled as an 'italic' face, or an 'oblique' face if one is not\"\n },\n {\n \"name\": \"normal\",\n \"description\": \"Selects a face that is classified as 'normal'.\"\n },\n {\n \"name\": \"oblique\",\n \"description\": \"Selects a font that is labeled as an 'oblique' face, or an 'italic' face if one is not.\"\n }\n ],\n \"syntax\": \"normal | italic | oblique <angle>{0,2}\",\n \"relevance\": 83,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-style\"\n }\n ],\n \"description\": \"Allows italic or oblique faces to be selected. Italic forms are generally cursive in nature while oblique faces are typically sloped versions of the regular face.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"font-synthesis\",\n \"browsers\": [\n \"FF34\",\n \"S9\"\n ],\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"Disallow all synthetic faces.\"\n },\n {\n \"name\": \"style\",\n \"description\": \"Allow synthetic italic faces.\"\n },\n {\n \"name\": \"weight\",\n \"description\": \"Allow synthetic bold faces.\"\n }\n ],\n \"syntax\": \"none | [ weight || style ]\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-synthesis\"\n }\n ],\n \"description\": \"Controls whether user agents are allowed to synthesize bold or oblique font faces when a font family lacks bold or italic faces.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"font-variant\",\n \"values\": [\n {\n \"name\": \"normal\",\n \"description\": \"Specifies a face that is not labeled as a small-caps font.\"\n },\n {\n \"name\": \"small-caps\",\n \"description\": \"Specifies a font that is labeled as a small-caps font. If a genuine small-caps font is not available, user agents should simulate a small-caps font.\"\n }\n ],\n \"syntax\": \"normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> || stylistic(<feature-value-name>) || historical-forms || styleset(<feature-value-name>#) || character-variant(<feature-value-name>#) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || annotation(<feature-value-name>) || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero || <east-asian-variant-values> || <east-asian-width-values> || ruby ]\",\n \"relevance\": 64,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-variant\"\n }\n ],\n \"description\": \"Specifies variant representations of the font\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"font-variant-alternates\",\n \"browsers\": [\n \"FF34\"\n ],\n \"values\": [\n {\n \"name\": \"annotation()\",\n \"description\": \"Enables display of alternate annotation forms.\"\n },\n {\n \"name\": \"character-variant()\",\n \"description\": \"Enables display of specific character variants.\"\n },\n {\n \"name\": \"historical-forms\",\n \"description\": \"Enables display of historical forms.\"\n },\n {\n \"name\": \"normal\",\n \"description\": \"None of the features are enabled.\"\n },\n {\n \"name\": \"ornaments()\",\n \"description\": \"Enables replacement of default glyphs with ornaments, if provided in the font.\"\n },\n {\n \"name\": \"styleset()\",\n \"description\": \"Enables display with stylistic sets.\"\n },\n {\n \"name\": \"stylistic()\",\n \"description\": \"Enables display of stylistic alternates.\"\n },\n {\n \"name\": \"swash()\",\n \"description\": \"Enables display of swash glyphs.\"\n }\n ],\n \"syntax\": \"normal | [ stylistic( <feature-value-name> ) || historical-forms || styleset( <feature-value-name># ) || character-variant( <feature-value-name># ) || swash( <feature-value-name> ) || ornaments( <feature-value-name> ) || annotation( <feature-value-name> ) ]\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-variant-alternates\"\n }\n ],\n \"description\": \"For any given character, fonts can provide a variety of alternate glyphs in addition to the default glyph for that character. This property provides control over the selection of these alternate glyphs.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"font-variant-caps\",\n \"browsers\": [\n \"E79\",\n \"FF34\",\n \"C52\",\n \"O39\"\n ],\n \"values\": [\n {\n \"name\": \"all-petite-caps\",\n \"description\": \"Enables display of petite capitals for both upper and lowercase letters.\"\n },\n {\n \"name\": \"all-small-caps\",\n \"description\": \"Enables display of small capitals for both upper and lowercase letters.\"\n },\n {\n \"name\": \"normal\",\n \"description\": \"None of the features are enabled.\"\n },\n {\n \"name\": \"petite-caps\",\n \"description\": \"Enables display of petite capitals.\"\n },\n {\n \"name\": \"small-caps\",\n \"description\": \"Enables display of small capitals. Small-caps glyphs typically use the form of uppercase letters but are reduced to the size of lowercase letters.\"\n },\n {\n \"name\": \"titling-caps\",\n \"description\": \"Enables display of titling capitals.\"\n },\n {\n \"name\": \"unicase\",\n \"description\": \"Enables display of mixture of small capitals for uppercase letters with normal lowercase letters.\"\n }\n ],\n \"syntax\": \"normal | small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-variant-caps\"\n }\n ],\n \"description\": \"Specifies control over capitalized forms.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"font-variant-east-asian\",\n \"browsers\": [\n \"E79\",\n \"FF34\",\n \"C63\",\n \"O50\"\n ],\n \"values\": [\n {\n \"name\": \"full-width\",\n \"description\": \"Enables rendering of full-width variants.\"\n },\n {\n \"name\": \"jis04\",\n \"description\": \"Enables rendering of JIS04 forms.\"\n },\n {\n \"name\": \"jis78\",\n \"description\": \"Enables rendering of JIS78 forms.\"\n },\n {\n \"name\": \"jis83\",\n \"description\": \"Enables rendering of JIS83 forms.\"\n },\n {\n \"name\": \"jis90\",\n \"description\": \"Enables rendering of JIS90 forms.\"\n },\n {\n \"name\": \"normal\",\n \"description\": \"None of the features are enabled.\"\n },\n {\n \"name\": \"proportional-width\",\n \"description\": \"Enables rendering of proportionally-spaced variants.\"\n },\n {\n \"name\": \"ruby\",\n \"description\": \"Enables display of ruby variant glyphs.\"\n },\n {\n \"name\": \"simplified\",\n \"description\": \"Enables rendering of simplified forms.\"\n },\n {\n \"name\": \"traditional\",\n \"description\": \"Enables rendering of traditional forms.\"\n }\n ],\n \"syntax\": \"normal | [ <east-asian-variant-values> || <east-asian-width-values> || ruby ]\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-variant-east-asian\"\n }\n ],\n \"description\": \"Allows control of glyph substitute and positioning in East Asian text.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"font-variant-ligatures\",\n \"browsers\": [\n \"E79\",\n \"FF34\",\n \"S9.1\",\n \"C34\",\n \"O21\"\n ],\n \"values\": [\n {\n \"name\": \"additional-ligatures\",\n \"description\": \"Enables display of additional ligatures.\"\n },\n {\n \"name\": \"common-ligatures\",\n \"description\": \"Enables display of common ligatures.\"\n },\n {\n \"name\": \"contextual\",\n \"browsers\": [\n \"E79\",\n \"FF34\",\n \"S9.1\",\n \"C34\",\n \"O21\"\n ],\n \"description\": \"Enables display of contextual alternates.\"\n },\n {\n \"name\": \"discretionary-ligatures\",\n \"description\": \"Enables display of discretionary ligatures.\"\n },\n {\n \"name\": \"historical-ligatures\",\n \"description\": \"Enables display of historical ligatures.\"\n },\n {\n \"name\": \"no-additional-ligatures\",\n \"description\": \"Disables display of additional ligatures.\"\n },\n {\n \"name\": \"no-common-ligatures\",\n \"description\": \"Disables display of common ligatures.\"\n },\n {\n \"name\": \"no-contextual\",\n \"browsers\": [\n \"E79\",\n \"FF34\",\n \"S9.1\",\n \"C34\",\n \"O21\"\n ],\n \"description\": \"Disables display of contextual alternates.\"\n },\n {\n \"name\": \"no-discretionary-ligatures\",\n \"description\": \"Disables display of discretionary ligatures.\"\n },\n {\n \"name\": \"no-historical-ligatures\",\n \"description\": \"Disables display of historical ligatures.\"\n },\n {\n \"name\": \"none\",\n \"browsers\": [\n \"E79\",\n \"FF34\",\n \"S9.1\",\n \"C34\",\n \"O21\"\n ],\n \"description\": \"Disables all ligatures.\"\n },\n {\n \"name\": \"normal\",\n \"description\": \"Implies that the defaults set by the font are used.\"\n }\n ],\n \"syntax\": \"normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> ]\",\n \"relevance\": 51,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-variant-ligatures\"\n }\n ],\n \"description\": \"Specifies control over which ligatures are enabled or disabled. A value of ‘normal’ implies that the defaults set by the font are used.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"font-variant-numeric\",\n \"browsers\": [\n \"E79\",\n \"FF34\",\n \"S9.1\",\n \"C52\",\n \"O39\"\n ],\n \"values\": [\n {\n \"name\": \"diagonal-fractions\",\n \"description\": \"Enables display of lining diagonal fractions.\"\n },\n {\n \"name\": \"lining-nums\",\n \"description\": \"Enables display of lining numerals.\"\n },\n {\n \"name\": \"normal\",\n \"description\": \"None of the features are enabled.\"\n },\n {\n \"name\": \"oldstyle-nums\",\n \"description\": \"Enables display of old-style numerals.\"\n },\n {\n \"name\": \"ordinal\",\n \"description\": \"Enables display of letter forms used with ordinal numbers.\"\n },\n {\n \"name\": \"proportional-nums\",\n \"description\": \"Enables display of proportional numerals.\"\n },\n {\n \"name\": \"slashed-zero\",\n \"description\": \"Enables display of slashed zeros.\"\n },\n {\n \"name\": \"stacked-fractions\",\n \"description\": \"Enables display of lining stacked fractions.\"\n },\n {\n \"name\": \"tabular-nums\",\n \"description\": \"Enables display of tabular numerals.\"\n }\n ],\n \"syntax\": \"normal | [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero ]\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-variant-numeric\"\n }\n ],\n \"description\": \"Specifies control over numerical forms.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"font-variant-position\",\n \"browsers\": [\n \"FF34\"\n ],\n \"values\": [\n {\n \"name\": \"normal\",\n \"description\": \"None of the features are enabled.\"\n },\n {\n \"name\": \"sub\",\n \"description\": \"Enables display of subscript variants (OpenType feature: subs).\"\n },\n {\n \"name\": \"super\",\n \"description\": \"Enables display of superscript variants (OpenType feature: sups).\"\n }\n ],\n \"syntax\": \"normal | sub | super\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-variant-position\"\n }\n ],\n \"description\": \"Specifies the vertical position\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"font-weight\",\n \"values\": [\n {\n \"name\": \"100\",\n \"description\": \"Thin\"\n },\n {\n \"name\": \"200\",\n \"description\": \"Extra Light (Ultra Light)\"\n },\n {\n \"name\": \"300\",\n \"description\": \"Light\"\n },\n {\n \"name\": \"400\",\n \"description\": \"Normal\"\n },\n {\n \"name\": \"500\",\n \"description\": \"Medium\"\n },\n {\n \"name\": \"600\",\n \"description\": \"Semi Bold (Demi Bold)\"\n },\n {\n \"name\": \"700\",\n \"description\": \"Bold\"\n },\n {\n \"name\": \"800\",\n \"description\": \"Extra Bold (Ultra Bold)\"\n },\n {\n \"name\": \"900\",\n \"description\": \"Black (Heavy)\"\n },\n {\n \"name\": \"bold\",\n \"description\": \"Same as 700\"\n },\n {\n \"name\": \"bolder\",\n \"description\": \"Specifies the weight of the face bolder than the inherited value.\"\n },\n {\n \"name\": \"lighter\",\n \"description\": \"Specifies the weight of the face lighter than the inherited value.\"\n },\n {\n \"name\": \"normal\",\n \"description\": \"Same as 400\"\n }\n ],\n \"syntax\": \"<font-weight-absolute>{1,2}\",\n \"relevance\": 93,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-weight\"\n }\n ],\n \"description\": \"Specifies weight of glyphs in the font, their degree of blackness or stroke thickness.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"glyph-orientation-horizontal\",\n \"relevance\": 50,\n \"description\": \"Controls glyph orientation when the inline-progression-direction is horizontal.\",\n \"restrictions\": [\n \"angle\",\n \"number\"\n ]\n },\n {\n \"name\": \"glyph-orientation-vertical\",\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Sets the orientation based on the fullwidth or non-fullwidth characters and the most common orientation.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Controls glyph orientation when the inline-progression-direction is vertical.\",\n \"restrictions\": [\n \"angle\",\n \"number\",\n \"enum\"\n ]\n },\n {\n \"name\": \"grid-area\",\n \"browsers\": [\n \"E16\",\n \"FF52\",\n \"S10.1\",\n \"C57\",\n \"O44\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one.\"\n },\n {\n \"name\": \"span\",\n \"description\": \"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge.\"\n }\n ],\n \"syntax\": \"<grid-line> [ / <grid-line> ]{0,3}\",\n \"relevance\": 51,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/grid-area\"\n }\n ],\n \"description\": \"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement. Shorthand for 'grid-row-start', 'grid-column-start', 'grid-row-end', and 'grid-column-end'.\",\n \"restrictions\": [\n \"identifier\",\n \"integer\"\n ]\n },\n {\n \"name\": \"grid\",\n \"browsers\": [\n \"E16\",\n \"FF52\",\n \"S10.1\",\n \"C57\",\n \"O44\"\n ],\n \"syntax\": \"<'grid-template'> | <'grid-template-rows'> / [ auto-flow && dense? ] <'grid-auto-columns'>? | [ auto-flow && dense? ] <'grid-auto-rows'>? / <'grid-template-columns'>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/grid\"\n }\n ],\n \"description\": \"The grid CSS property is a shorthand property that sets all of the explicit grid properties ('grid-template-rows', 'grid-template-columns', and 'grid-template-areas'), and all the implicit grid properties ('grid-auto-rows', 'grid-auto-columns', and 'grid-auto-flow'), in a single declaration.\",\n \"restrictions\": [\n \"identifier\",\n \"length\",\n \"percentage\",\n \"string\",\n \"enum\"\n ]\n },\n {\n \"name\": \"grid-auto-columns\",\n \"values\": [\n {\n \"name\": \"min-content\",\n \"description\": \"Represents the largest min-content contribution of the grid items occupying the grid track.\"\n },\n {\n \"name\": \"max-content\",\n \"description\": \"Represents the largest max-content contribution of the grid items occupying the grid track.\"\n },\n {\n \"name\": \"auto\",\n \"description\": \"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track.\"\n },\n {\n \"name\": \"minmax()\",\n \"description\": \"Defines a size range greater than or equal to min and less than or equal to max.\"\n }\n ],\n \"syntax\": \"<track-size>+\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/grid-auto-columns\"\n }\n ],\n \"description\": \"Specifies the size of implicitly created columns.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"grid-auto-flow\",\n \"browsers\": [\n \"E16\",\n \"FF52\",\n \"S10.1\",\n \"C57\",\n \"O44\"\n ],\n \"values\": [\n {\n \"name\": \"row\",\n \"description\": \"The auto-placement algorithm places items by filling each row in turn, adding new rows as necessary.\"\n },\n {\n \"name\": \"column\",\n \"description\": \"The auto-placement algorithm places items by filling each column in turn, adding new columns as necessary.\"\n },\n {\n \"name\": \"dense\",\n \"description\": \"If specified, the auto-placement algorithm uses a “dense” packing algorithm, which attempts to fill in holes earlier in the grid if smaller items come up later.\"\n }\n ],\n \"syntax\": \"[ row | column ] || dense\",\n \"relevance\": 51,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/grid-auto-flow\"\n }\n ],\n \"description\": \"Controls how the auto-placement algorithm works, specifying exactly how auto-placed items get flowed into the grid.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"grid-auto-rows\",\n \"values\": [\n {\n \"name\": \"min-content\",\n \"description\": \"Represents the largest min-content contribution of the grid items occupying the grid track.\"\n },\n {\n \"name\": \"max-content\",\n \"description\": \"Represents the largest max-content contribution of the grid items occupying the grid track.\"\n },\n {\n \"name\": \"auto\",\n \"description\": \"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track.\"\n },\n {\n \"name\": \"minmax()\",\n \"description\": \"Defines a size range greater than or equal to min and less than or equal to max.\"\n }\n ],\n \"syntax\": \"<track-size>+\",\n \"relevance\": 51,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/grid-auto-rows\"\n }\n ],\n \"description\": \"Specifies the size of implicitly created rows.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"grid-column\",\n \"browsers\": [\n \"E16\",\n \"FF52\",\n \"S10.1\",\n \"C57\",\n \"O44\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one.\"\n },\n {\n \"name\": \"span\",\n \"description\": \"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge.\"\n }\n ],\n \"syntax\": \"<grid-line> [ / <grid-line> ]?\",\n \"relevance\": 52,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/grid-column\"\n }\n ],\n \"description\": \"Shorthand for 'grid-column-start' and 'grid-column-end'.\",\n \"restrictions\": [\n \"identifier\",\n \"integer\",\n \"enum\"\n ]\n },\n {\n \"name\": \"grid-column-end\",\n \"browsers\": [\n \"E16\",\n \"FF52\",\n \"S10.1\",\n \"C57\",\n \"O44\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one.\"\n },\n {\n \"name\": \"span\",\n \"description\": \"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge.\"\n }\n ],\n \"syntax\": \"<grid-line>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/grid-column-end\"\n }\n ],\n \"description\": \"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.\",\n \"restrictions\": [\n \"identifier\",\n \"integer\",\n \"enum\"\n ]\n },\n {\n \"name\": \"grid-column-gap\",\n \"browsers\": [\n \"FF52\",\n \"C57\",\n \"S10.1\",\n \"O44\"\n ],\n \"status\": \"obsolete\",\n \"syntax\": \"<length-percentage>\",\n \"relevance\": 1,\n \"description\": \"Specifies the gutters between grid columns. Replaced by 'column-gap' property.\",\n \"restrictions\": [\n \"length\"\n ]\n },\n {\n \"name\": \"grid-column-start\",\n \"browsers\": [\n \"E16\",\n \"FF52\",\n \"S10.1\",\n \"C57\",\n \"O44\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one.\"\n },\n {\n \"name\": \"span\",\n \"description\": \"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge.\"\n }\n ],\n \"syntax\": \"<grid-line>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/grid-column-start\"\n }\n ],\n \"description\": \"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.\",\n \"restrictions\": [\n \"identifier\",\n \"integer\",\n \"enum\"\n ]\n },\n {\n \"name\": \"grid-gap\",\n \"browsers\": [\n \"FF52\",\n \"C57\",\n \"S10.1\",\n \"O44\"\n ],\n \"status\": \"obsolete\",\n \"syntax\": \"<'grid-row-gap'> <'grid-column-gap'>?\",\n \"relevance\": 2,\n \"description\": \"Shorthand that specifies the gutters between grid columns and grid rows in one declaration. Replaced by 'gap' property.\",\n \"restrictions\": [\n \"length\"\n ]\n },\n {\n \"name\": \"grid-row\",\n \"browsers\": [\n \"E16\",\n \"FF52\",\n \"S10.1\",\n \"C57\",\n \"O44\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one.\"\n },\n {\n \"name\": \"span\",\n \"description\": \"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge.\"\n }\n ],\n \"syntax\": \"<grid-line> [ / <grid-line> ]?\",\n \"relevance\": 51,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/grid-row\"\n }\n ],\n \"description\": \"Shorthand for 'grid-row-start' and 'grid-row-end'.\",\n \"restrictions\": [\n \"identifier\",\n \"integer\",\n \"enum\"\n ]\n },\n {\n \"name\": \"grid-row-end\",\n \"browsers\": [\n \"E16\",\n \"FF52\",\n \"S10.1\",\n \"C57\",\n \"O44\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one.\"\n },\n {\n \"name\": \"span\",\n \"description\": \"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge.\"\n }\n ],\n \"syntax\": \"<grid-line>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/grid-row-end\"\n }\n ],\n \"description\": \"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.\",\n \"restrictions\": [\n \"identifier\",\n \"integer\",\n \"enum\"\n ]\n },\n {\n \"name\": \"grid-row-gap\",\n \"browsers\": [\n \"FF52\",\n \"C57\",\n \"S10.1\",\n \"O44\"\n ],\n \"status\": \"obsolete\",\n \"syntax\": \"<length-percentage>\",\n \"relevance\": 1,\n \"description\": \"Specifies the gutters between grid rows. Replaced by 'row-gap' property.\",\n \"restrictions\": [\n \"length\"\n ]\n },\n {\n \"name\": \"grid-row-start\",\n \"browsers\": [\n \"E16\",\n \"FF52\",\n \"S10.1\",\n \"C57\",\n \"O44\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one.\"\n },\n {\n \"name\": \"span\",\n \"description\": \"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge.\"\n }\n ],\n \"syntax\": \"<grid-line>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/grid-row-start\"\n }\n ],\n \"description\": \"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.\",\n \"restrictions\": [\n \"identifier\",\n \"integer\",\n \"enum\"\n ]\n },\n {\n \"name\": \"grid-template\",\n \"browsers\": [\n \"E16\",\n \"FF52\",\n \"S10.1\",\n \"C57\",\n \"O44\"\n ],\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"Sets all three properties to their initial values.\"\n },\n {\n \"name\": \"min-content\",\n \"description\": \"Represents the largest min-content contribution of the grid items occupying the grid track.\"\n },\n {\n \"name\": \"max-content\",\n \"description\": \"Represents the largest max-content contribution of the grid items occupying the grid track.\"\n },\n {\n \"name\": \"auto\",\n \"description\": \"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track.\"\n },\n {\n \"name\": \"subgrid\",\n \"description\": \"Sets 'grid-template-rows' and 'grid-template-columns' to 'subgrid', and 'grid-template-areas' to its initial value.\"\n },\n {\n \"name\": \"minmax()\",\n \"description\": \"Defines a size range greater than or equal to min and less than or equal to max.\"\n },\n {\n \"name\": \"repeat()\",\n \"description\": \"Represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form.\"\n }\n ],\n \"syntax\": \"none | [ <'grid-template-rows'> / <'grid-template-columns'> ] | [ <line-names>? <string> <track-size>? <line-names>? ]+ [ / <explicit-track-list> ]?\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/grid-template\"\n }\n ],\n \"description\": \"Shorthand for setting grid-template-columns, grid-template-rows, and grid-template-areas in a single declaration.\",\n \"restrictions\": [\n \"identifier\",\n \"length\",\n \"percentage\",\n \"string\",\n \"enum\"\n ]\n },\n {\n \"name\": \"grid-template-areas\",\n \"browsers\": [\n \"E16\",\n \"FF52\",\n \"S10.1\",\n \"C57\",\n \"O44\"\n ],\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"The grid container doesn’t define any named grid areas.\"\n }\n ],\n \"syntax\": \"none | <string>+\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/grid-template-areas\"\n }\n ],\n \"description\": \"Specifies named grid areas, which are not associated with any particular grid item, but can be referenced from the grid-placement properties.\",\n \"restrictions\": [\n \"string\"\n ]\n },\n {\n \"name\": \"grid-template-columns\",\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"There is no explicit grid; any rows/columns will be implicitly generated.\"\n },\n {\n \"name\": \"min-content\",\n \"description\": \"Represents the largest min-content contribution of the grid items occupying the grid track.\"\n },\n {\n \"name\": \"max-content\",\n \"description\": \"Represents the largest max-content contribution of the grid items occupying the grid track.\"\n },\n {\n \"name\": \"auto\",\n \"description\": \"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track.\"\n },\n {\n \"name\": \"subgrid\",\n \"description\": \"Indicates that the grid will align to its parent grid in that axis.\"\n },\n {\n \"name\": \"minmax()\",\n \"description\": \"Defines a size range greater than or equal to min and less than or equal to max.\"\n },\n {\n \"name\": \"repeat()\",\n \"description\": \"Represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form.\"\n }\n ],\n \"syntax\": \"none | <track-list> | <auto-track-list> | subgrid <line-name-list>?\",\n \"relevance\": 56,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/grid-template-columns\"\n }\n ],\n \"description\": \"specifies, as a space-separated track list, the line names and track sizing functions of the grid.\",\n \"restrictions\": [\n \"identifier\",\n \"length\",\n \"percentage\",\n \"enum\"\n ]\n },\n {\n \"name\": \"grid-template-rows\",\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"There is no explicit grid; any rows/columns will be implicitly generated.\"\n },\n {\n \"name\": \"min-content\",\n \"description\": \"Represents the largest min-content contribution of the grid items occupying the grid track.\"\n },\n {\n \"name\": \"max-content\",\n \"description\": \"Represents the largest max-content contribution of the grid items occupying the grid track.\"\n },\n {\n \"name\": \"auto\",\n \"description\": \"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track.\"\n },\n {\n \"name\": \"subgrid\",\n \"description\": \"Indicates that the grid will align to its parent grid in that axis.\"\n },\n {\n \"name\": \"minmax()\",\n \"description\": \"Defines a size range greater than or equal to min and less than or equal to max.\"\n },\n {\n \"name\": \"repeat()\",\n \"description\": \"Represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form.\"\n }\n ],\n \"syntax\": \"none | <track-list> | <auto-track-list> | subgrid <line-name-list>?\",\n \"relevance\": 52,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/grid-template-rows\"\n }\n ],\n \"description\": \"specifies, as a space-separated track list, the line names and track sizing functions of the grid.\",\n \"restrictions\": [\n \"identifier\",\n \"length\",\n \"percentage\",\n \"string\",\n \"enum\"\n ]\n },\n {\n \"name\": \"height\",\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The height depends on the values of other properties.\"\n },\n {\n \"name\": \"fit-content\",\n \"description\": \"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode.\"\n },\n {\n \"name\": \"max-content\",\n \"description\": \"Use the max-content inline size or max-content block size, as appropriate to the writing mode.\"\n },\n {\n \"name\": \"min-content\",\n \"description\": \"Use the min-content inline size or min-content block size, as appropriate to the writing mode.\"\n }\n ],\n \"syntax\": \"<viewport-length>{1,2}\",\n \"relevance\": 96,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/height\"\n }\n ],\n \"description\": \"Specifies the height of the content area, padding area or border area (depending on 'box-sizing') of certain boxes.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"hyphens\",\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word.\"\n },\n {\n \"name\": \"manual\",\n \"description\": \"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities\"\n },\n {\n \"name\": \"none\",\n \"description\": \"Words are not broken at line breaks, even if characters inside the word suggest line break points.\"\n }\n ],\n \"syntax\": \"none | manual | auto\",\n \"relevance\": 53,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/hyphens\"\n }\n ],\n \"description\": \"Controls whether hyphenation is allowed to create more break opportunities within a line of text.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"image-orientation\",\n \"browsers\": [\n \"E81\",\n \"FF26\",\n \"S13.1\",\n \"C81\",\n \"O67\"\n ],\n \"values\": [\n {\n \"name\": \"flip\",\n \"description\": \"After rotating by the precededing angle, the image is flipped horizontally. Defaults to 0deg if the angle is ommitted.\"\n },\n {\n \"name\": \"from-image\",\n \"description\": \"If the image has an orientation specified in its metadata, such as EXIF, this value computes to the angle that the metadata specifies is necessary to correctly orient the image.\"\n }\n ],\n \"syntax\": \"from-image | <angle> | [ <angle>? flip ]\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/image-orientation\"\n }\n ],\n \"description\": \"Specifies an orthogonal rotation to be applied to an image before it is laid out.\",\n \"restrictions\": [\n \"angle\"\n ]\n },\n {\n \"name\": \"image-rendering\",\n \"browsers\": [\n \"E79\",\n \"FF3.6\",\n \"S6\",\n \"C13\",\n \"O15\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The image should be scaled with an algorithm that maximizes the appearance of the image.\"\n },\n {\n \"name\": \"crisp-edges\",\n \"description\": \"The image must be scaled with an algorithm that preserves contrast and edges in the image, and which does not smooth colors or introduce blur to the image in the process.\"\n },\n {\n \"name\": \"-moz-crisp-edges\",\n \"browsers\": [\n \"E79\",\n \"FF3.6\",\n \"S6\",\n \"C13\",\n \"O15\"\n ]\n },\n {\n \"name\": \"optimizeQuality\",\n \"description\": \"Deprecated.\"\n },\n {\n \"name\": \"optimizeSpeed\",\n \"description\": \"Deprecated.\"\n },\n {\n \"name\": \"pixelated\",\n \"description\": \"When scaling the image up, the 'nearest neighbor' or similar algorithm must be used, so that the image appears to be simply composed of very large pixels.\"\n }\n ],\n \"syntax\": \"auto | crisp-edges | pixelated\",\n \"relevance\": 55,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/image-rendering\"\n }\n ],\n \"description\": \"Provides a hint to the user-agent about what aspects of an image are most important to preserve when the image is scaled, to aid the user-agent in the choice of an appropriate scaling algorithm.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"ime-mode\",\n \"browsers\": [\n \"E12\",\n \"FF3\",\n \"IE5\"\n ],\n \"values\": [\n {\n \"name\": \"active\",\n \"description\": \"The input method editor is initially active; text entry is performed using it unless the user specifically dismisses it.\"\n },\n {\n \"name\": \"auto\",\n \"description\": \"No change is made to the current input method editor state. This is the default.\"\n },\n {\n \"name\": \"disabled\",\n \"description\": \"The input method editor is disabled and may not be activated by the user.\"\n },\n {\n \"name\": \"inactive\",\n \"description\": \"The input method editor is initially inactive, but the user may activate it if they wish.\"\n },\n {\n \"name\": \"normal\",\n \"description\": \"The IME state should be normal; this value can be used in a user style sheet to override the page setting.\"\n }\n ],\n \"status\": \"obsolete\",\n \"syntax\": \"auto | normal | active | inactive | disabled\",\n \"relevance\": 0,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/ime-mode\"\n }\n ],\n \"description\": \"Controls the state of the input method editor for text fields.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"inline-size\",\n \"browsers\": [\n \"E79\",\n \"FF41\",\n \"S12.1\",\n \"C57\",\n \"O44\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Depends on the values of other properties.\"\n }\n ],\n \"syntax\": \"<'width'>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/inline-size\"\n }\n ],\n \"description\": \"Logical 'height'. Mapping depends on the element’s 'writing-mode'.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"isolation\",\n \"browsers\": [\n \"E79\",\n \"FF36\",\n \"S8\",\n \"C41\",\n \"O30\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Elements are not isolated unless an operation is applied that causes the creation of a stacking context.\"\n },\n {\n \"name\": \"isolate\",\n \"description\": \"In CSS will turn the element into a stacking context.\"\n }\n ],\n \"syntax\": \"auto | isolate\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/isolation\"\n }\n ],\n \"description\": \"In CSS setting to 'isolate' will turn the element into a stacking context. In SVG, it defines whether an element is isolated or not.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"justify-content\",\n \"values\": [\n {\n \"name\": \"center\",\n \"description\": \"Flex items are packed toward the center of the line.\"\n },\n {\n \"name\": \"start\",\n \"description\": \"The items are packed flush to each other toward the start edge of the alignment container in the main axis.\"\n },\n {\n \"name\": \"end\",\n \"description\": \"The items are packed flush to each other toward the end edge of the alignment container in the main axis.\"\n },\n {\n \"name\": \"left\",\n \"description\": \"The items are packed flush to each other toward the left edge of the alignment container in the main axis.\"\n },\n {\n \"name\": \"right\",\n \"description\": \"The items are packed flush to each other toward the right edge of the alignment container in the main axis.\"\n },\n {\n \"name\": \"safe\",\n \"description\": \"If the size of the item overflows the alignment container, the item is instead aligned as if the alignment mode were start.\"\n },\n {\n \"name\": \"unsafe\",\n \"description\": \"Regardless of the relative sizes of the item and alignment container, the given alignment value is honored.\"\n },\n {\n \"name\": \"stretch\",\n \"description\": \"If the combined size of the alignment subjects is less than the size of the alignment container, any auto-sized alignment subjects have their size increased equally (not proportionally), while still respecting the constraints imposed by max-height/max-width (or equivalent functionality), so that the combined size exactly fills the alignment container.\"\n },\n {\n \"name\": \"space-evenly\",\n \"description\": \"The items are evenly distributed within the alignment container along the main axis.\"\n },\n {\n \"name\": \"flex-end\",\n \"description\": \"Flex items are packed toward the end of the line.\"\n },\n {\n \"name\": \"flex-start\",\n \"description\": \"Flex items are packed toward the start of the line.\"\n },\n {\n \"name\": \"space-around\",\n \"description\": \"Flex items are evenly distributed in the line, with half-size spaces on either end.\"\n },\n {\n \"name\": \"space-between\",\n \"description\": \"Flex items are evenly distributed in the line.\"\n },\n {\n \"name\": \"baseline\",\n \"description\": \"Specifies participation in first-baseline alignment.\"\n },\n {\n \"name\": \"first baseline\",\n \"description\": \"Specifies participation in first-baseline alignment.\"\n },\n {\n \"name\": \"last baseline\",\n \"description\": \"Specifies participation in last-baseline alignment.\"\n }\n ],\n \"syntax\": \"normal | <content-distribution> | <overflow-position>? [ <content-position> | left | right ]\",\n \"relevance\": 84,\n \"description\": \"Aligns flex items along the main axis of the current line of the flex container.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"kerning\",\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Indicates that the user agent should adjust inter-glyph spacing based on kerning tables that are included in the font that will be used.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Indicates whether the user agent should adjust inter-glyph spacing based on kerning tables that are included in the relevant font or instead disable auto-kerning and set inter-character spacing to a specific length.\",\n \"restrictions\": [\n \"length\",\n \"enum\"\n ]\n },\n {\n \"name\": \"left\",\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well\"\n }\n ],\n \"syntax\": \"<length> | <percentage> | auto\",\n \"relevance\": 95,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/left\"\n }\n ],\n \"description\": \"Specifies how far an absolutely positioned box's left margin edge is offset to the right of the left edge of the box's 'containing block'.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"letter-spacing\",\n \"values\": [\n {\n \"name\": \"normal\",\n \"description\": \"The spacing is the normal spacing for the current font. It is typically zero-length.\"\n }\n ],\n \"syntax\": \"normal | <length>\",\n \"relevance\": 80,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/letter-spacing\"\n }\n ],\n \"description\": \"Specifies the minimum, maximum, and optimal spacing between grapheme clusters.\",\n \"restrictions\": [\n \"length\"\n ]\n },\n {\n \"name\": \"lighting-color\",\n \"browsers\": [\n \"E\",\n \"C5\",\n \"FF3\",\n \"IE10\",\n \"O9\",\n \"S6\"\n ],\n \"relevance\": 50,\n \"description\": \"Defines the color of the light source for filter primitives 'feDiffuseLighting' and 'feSpecularLighting'.\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"line-break\",\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The UA determines the set of line-breaking restrictions to use for CJK scripts, and it may vary the restrictions based on the length of the line; e.g., use a less restrictive set of line-break rules for short lines.\"\n },\n {\n \"name\": \"loose\",\n \"description\": \"Breaks text using the least restrictive set of line-breaking rules. Typically used for short lines, such as in newspapers.\"\n },\n {\n \"name\": \"normal\",\n \"description\": \"Breaks text using the most common set of line-breaking rules.\"\n },\n {\n \"name\": \"strict\",\n \"description\": \"Breaks CJK scripts using a more restrictive set of line-breaking rules than 'normal'.\"\n }\n ],\n \"syntax\": \"auto | loose | normal | strict | anywhere\",\n \"relevance\": 51,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/line-break\"\n }\n ],\n \"description\": \"Specifies what set of line breaking restrictions are in effect within the element.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"line-height\",\n \"values\": [\n {\n \"name\": \"normal\",\n \"description\": \"Tells user agents to set the computed value to a 'reasonable' value based on the font size of the element.\"\n }\n ],\n \"syntax\": \"normal | <number> | <length> | <percentage>\",\n \"relevance\": 93,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/line-height\"\n }\n ],\n \"description\": \"Determines the block-progression dimension of the text content area of an inline box.\",\n \"restrictions\": [\n \"number\",\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"list-style\",\n \"values\": [\n {\n \"name\": \"armenian\"\n },\n {\n \"name\": \"circle\",\n \"description\": \"A hollow circle.\"\n },\n {\n \"name\": \"decimal\"\n },\n {\n \"name\": \"decimal-leading-zero\"\n },\n {\n \"name\": \"disc\",\n \"description\": \"A filled circle.\"\n },\n {\n \"name\": \"georgian\"\n },\n {\n \"name\": \"inside\",\n \"description\": \"The marker box is outside the principal block box, as described in the section on the ::marker pseudo-element below.\"\n },\n {\n \"name\": \"lower-alpha\"\n },\n {\n \"name\": \"lower-greek\"\n },\n {\n \"name\": \"lower-latin\"\n },\n {\n \"name\": \"lower-roman\"\n },\n {\n \"name\": \"none\"\n },\n {\n \"name\": \"outside\",\n \"description\": \"The ::marker pseudo-element is an inline element placed immediately before all ::before pseudo-elements in the principal block box, after which the element's content flows.\"\n },\n {\n \"name\": \"square\",\n \"description\": \"A filled square.\"\n },\n {\n \"name\": \"symbols()\",\n \"description\": \"Allows a counter style to be defined inline.\"\n },\n {\n \"name\": \"upper-alpha\"\n },\n {\n \"name\": \"upper-latin\"\n },\n {\n \"name\": \"upper-roman\"\n },\n {\n \"name\": \"url()\"\n }\n ],\n \"syntax\": \"<'list-style-type'> || <'list-style-position'> || <'list-style-image'>\",\n \"relevance\": 85,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/list-style\"\n }\n ],\n \"description\": \"Shorthand for setting 'list-style-type', 'list-style-position' and 'list-style-image'\",\n \"restrictions\": [\n \"image\",\n \"enum\",\n \"url\"\n ]\n },\n {\n \"name\": \"list-style-image\",\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"The default contents of the of the list item’s marker are given by 'list-style-type' instead.\"\n }\n ],\n \"syntax\": \"<url> | none\",\n \"relevance\": 52,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/list-style-image\"\n }\n ],\n \"description\": \"Sets the image that will be used as the list item marker. When the image is available, it will replace the marker set with the 'list-style-type' marker.\",\n \"restrictions\": [\n \"image\"\n ]\n },\n {\n \"name\": \"list-style-position\",\n \"values\": [\n {\n \"name\": \"inside\",\n \"description\": \"The marker box is outside the principal block box, as described in the section on the ::marker pseudo-element below.\"\n },\n {\n \"name\": \"outside\",\n \"description\": \"The ::marker pseudo-element is an inline element placed immediately before all ::before pseudo-elements in the principal block box, after which the element's content flows.\"\n }\n ],\n \"syntax\": \"inside | outside\",\n \"relevance\": 55,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/list-style-position\"\n }\n ],\n \"description\": \"Specifies the position of the '::marker' pseudo-element's box in the list item.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"list-style-type\",\n \"values\": [\n {\n \"name\": \"armenian\",\n \"description\": \"Traditional uppercase Armenian numbering.\"\n },\n {\n \"name\": \"circle\",\n \"description\": \"A hollow circle.\"\n },\n {\n \"name\": \"decimal\",\n \"description\": \"Western decimal numbers.\"\n },\n {\n \"name\": \"decimal-leading-zero\",\n \"description\": \"Decimal numbers padded by initial zeros.\"\n },\n {\n \"name\": \"disc\",\n \"description\": \"A filled circle.\"\n },\n {\n \"name\": \"georgian\",\n \"description\": \"Traditional Georgian numbering.\"\n },\n {\n \"name\": \"lower-alpha\",\n \"description\": \"Lowercase ASCII letters.\"\n },\n {\n \"name\": \"lower-greek\",\n \"description\": \"Lowercase classical Greek.\"\n },\n {\n \"name\": \"lower-latin\",\n \"description\": \"Lowercase ASCII letters.\"\n },\n {\n \"name\": \"lower-roman\",\n \"description\": \"Lowercase ASCII Roman numerals.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"No marker\"\n },\n {\n \"name\": \"square\",\n \"description\": \"A filled square.\"\n },\n {\n \"name\": \"symbols()\",\n \"description\": \"Allows a counter style to be defined inline.\"\n },\n {\n \"name\": \"upper-alpha\",\n \"description\": \"Uppercase ASCII letters.\"\n },\n {\n \"name\": \"upper-latin\",\n \"description\": \"Uppercase ASCII letters.\"\n },\n {\n \"name\": \"upper-roman\",\n \"description\": \"Uppercase ASCII Roman numerals.\"\n }\n ],\n \"syntax\": \"<counter-style> | <string> | none\",\n \"relevance\": 75,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/list-style-type\"\n }\n ],\n \"description\": \"Used to construct the default contents of a list item’s marker\",\n \"restrictions\": [\n \"enum\",\n \"string\"\n ]\n },\n {\n \"name\": \"margin\",\n \"values\": [\n {\n \"name\": \"auto\"\n }\n ],\n \"syntax\": \"[ <length> | <percentage> | auto ]{1,4}\",\n \"relevance\": 95,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/margin\"\n }\n ],\n \"description\": \"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"margin-block-end\",\n \"browsers\": [\n \"E79\",\n \"FF41\",\n \"S12.1\",\n \"C69\",\n \"O56\"\n ],\n \"values\": [\n {\n \"name\": \"auto\"\n }\n ],\n \"syntax\": \"<'margin-left'>\",\n \"relevance\": 53,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/margin-block-end\"\n }\n ],\n \"description\": \"Logical 'margin-bottom'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"margin-block-start\",\n \"browsers\": [\n \"E79\",\n \"FF41\",\n \"S12.1\",\n \"C69\",\n \"O56\"\n ],\n \"values\": [\n {\n \"name\": \"auto\"\n }\n ],\n \"syntax\": \"<'margin-left'>\",\n \"relevance\": 52,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/margin-block-start\"\n }\n ],\n \"description\": \"Logical 'margin-top'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"margin-bottom\",\n \"values\": [\n {\n \"name\": \"auto\"\n }\n ],\n \"syntax\": \"<length> | <percentage> | auto\",\n \"relevance\": 91,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/margin-bottom\"\n }\n ],\n \"description\": \"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"margin-inline-end\",\n \"browsers\": [\n \"E79\",\n \"FF41\",\n \"S12.1\",\n \"C69\",\n \"O56\"\n ],\n \"values\": [\n {\n \"name\": \"auto\"\n }\n ],\n \"syntax\": \"<'margin-left'>\",\n \"relevance\": 51,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/margin-inline-end\"\n }\n ],\n \"description\": \"Logical 'margin-right'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"margin-inline-start\",\n \"browsers\": [\n \"E79\",\n \"FF41\",\n \"S12.1\",\n \"C69\",\n \"O56\"\n ],\n \"values\": [\n {\n \"name\": \"auto\"\n }\n ],\n \"syntax\": \"<'margin-left'>\",\n \"relevance\": 51,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/margin-inline-start\"\n }\n ],\n \"description\": \"Logical 'margin-left'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"margin-left\",\n \"values\": [\n {\n \"name\": \"auto\"\n }\n ],\n \"syntax\": \"<length> | <percentage> | auto\",\n \"relevance\": 91,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/margin-left\"\n }\n ],\n \"description\": \"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"margin-right\",\n \"values\": [\n {\n \"name\": \"auto\"\n }\n ],\n \"syntax\": \"<length> | <percentage> | auto\",\n \"relevance\": 91,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/margin-right\"\n }\n ],\n \"description\": \"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"margin-top\",\n \"values\": [\n {\n \"name\": \"auto\"\n }\n ],\n \"syntax\": \"<length> | <percentage> | auto\",\n \"relevance\": 95,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/margin-top\"\n }\n ],\n \"description\": \"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"marker\",\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"Indicates that no marker symbol will be drawn at the given vertex or vertices.\"\n },\n {\n \"name\": \"url()\",\n \"description\": \"Indicates that the <marker> element referenced will be used.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Specifies the marker symbol that shall be used for all points on the sets the value for all vertices on the given ‘path’ element or basic shape.\",\n \"restrictions\": [\n \"url\"\n ]\n },\n {\n \"name\": \"marker-end\",\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"Indicates that no marker symbol will be drawn at the given vertex or vertices.\"\n },\n {\n \"name\": \"url()\",\n \"description\": \"Indicates that the <marker> element referenced will be used.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Specifies the marker that will be drawn at the last vertices of the given markable element.\",\n \"restrictions\": [\n \"url\"\n ]\n },\n {\n \"name\": \"marker-mid\",\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"Indicates that no marker symbol will be drawn at the given vertex or vertices.\"\n },\n {\n \"name\": \"url()\",\n \"description\": \"Indicates that the <marker> element referenced will be used.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Specifies the marker that will be drawn at all vertices except the first and last.\",\n \"restrictions\": [\n \"url\"\n ]\n },\n {\n \"name\": \"marker-start\",\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"Indicates that no marker symbol will be drawn at the given vertex or vertices.\"\n },\n {\n \"name\": \"url()\",\n \"description\": \"Indicates that the <marker> element referenced will be used.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Specifies the marker that will be drawn at the first vertices of the given markable element.\",\n \"restrictions\": [\n \"url\"\n ]\n },\n {\n \"name\": \"mask-image\",\n \"browsers\": [\n \"E16\",\n \"FF53\",\n \"S4\",\n \"C1\",\n \"O15\"\n ],\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"Counts as a transparent black image layer.\"\n },\n {\n \"name\": \"url()\",\n \"description\": \"Reference to a <mask element or to a CSS image.\"\n }\n ],\n \"syntax\": \"<mask-reference>#\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/mask-image\"\n }\n ],\n \"description\": \"Sets the mask layer image of an element.\",\n \"restrictions\": [\n \"url\",\n \"image\",\n \"enum\"\n ]\n },\n {\n \"name\": \"mask-mode\",\n \"browsers\": [\n \"FF53\"\n ],\n \"values\": [\n {\n \"name\": \"alpha\",\n \"description\": \"Alpha values of the mask layer image should be used as the mask values.\"\n },\n {\n \"name\": \"auto\",\n \"description\": \"Use alpha values if 'mask-image' is an image, luminance if a <mask> element or a CSS image.\"\n },\n {\n \"name\": \"luminance\",\n \"description\": \"Luminance values of the mask layer image should be used as the mask values.\"\n }\n ],\n \"syntax\": \"<masking-mode>#\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/mask-mode\"\n }\n ],\n \"description\": \"Indicates whether the mask layer image is treated as luminance mask or alpha mask.\",\n \"restrictions\": [\n \"url\",\n \"image\",\n \"enum\"\n ]\n },\n {\n \"name\": \"mask-origin\",\n \"browsers\": [\n \"E79\",\n \"FF53\",\n \"S4\",\n \"C1\",\n \"O15\"\n ],\n \"syntax\": \"<geometry-box>#\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/mask-origin\"\n }\n ],\n \"description\": \"Specifies the mask positioning area.\",\n \"restrictions\": [\n \"geometry-box\",\n \"enum\"\n ]\n },\n {\n \"name\": \"mask-position\",\n \"browsers\": [\n \"E18\",\n \"FF53\",\n \"S3.2\",\n \"C1\",\n \"O15\"\n ],\n \"syntax\": \"<position>#\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/mask-position\"\n }\n ],\n \"description\": \"Specifies how mask layer images are positioned.\",\n \"restrictions\": [\n \"position\",\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"mask-repeat\",\n \"browsers\": [\n \"E18\",\n \"FF53\",\n \"S3.2\",\n \"C1\",\n \"O15\"\n ],\n \"syntax\": \"<repeat-style>#\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/mask-repeat\"\n }\n ],\n \"description\": \"Specifies how mask layer images are tiled after they have been sized and positioned.\",\n \"restrictions\": [\n \"repeat\"\n ]\n },\n {\n \"name\": \"mask-size\",\n \"browsers\": [\n \"E18\",\n \"FF53\",\n \"S4\",\n \"C4\",\n \"O15\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Resolved by using the image’s intrinsic ratio and the size of the other dimension, or failing that, using the image’s intrinsic size, or failing that, treating it as 100%.\"\n },\n {\n \"name\": \"contain\",\n \"description\": \"Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area.\"\n },\n {\n \"name\": \"cover\",\n \"description\": \"Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area.\"\n }\n ],\n \"syntax\": \"<bg-size>#\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/mask-size\"\n }\n ],\n \"description\": \"Specifies the size of the mask layer images.\",\n \"restrictions\": [\n \"length\",\n \"percentage\",\n \"enum\"\n ]\n },\n {\n \"name\": \"mask-type\",\n \"browsers\": [\n \"E79\",\n \"FF35\",\n \"S6.1\",\n \"C24\",\n \"O15\"\n ],\n \"values\": [\n {\n \"name\": \"alpha\",\n \"description\": \"Indicates that the alpha values of the mask should be used.\"\n },\n {\n \"name\": \"luminance\",\n \"description\": \"Indicates that the luminance values of the mask should be used.\"\n }\n ],\n \"syntax\": \"luminance | alpha\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/mask-type\"\n }\n ],\n \"description\": \"Defines whether the content of the <mask> element is treated as as luminance mask or alpha mask.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"max-block-size\",\n \"browsers\": [\n \"E79\",\n \"FF41\",\n \"S12.1\",\n \"C57\",\n \"O44\"\n ],\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"No limit on the width of the box.\"\n }\n ],\n \"syntax\": \"<'max-width'>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/max-block-size\"\n }\n ],\n \"description\": \"Logical 'max-width'. Mapping depends on the element’s 'writing-mode'.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"max-height\",\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"No limit on the height of the box.\"\n },\n {\n \"name\": \"fit-content\",\n \"description\": \"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode.\"\n },\n {\n \"name\": \"max-content\",\n \"description\": \"Use the max-content inline size or max-content block size, as appropriate to the writing mode.\"\n },\n {\n \"name\": \"min-content\",\n \"description\": \"Use the min-content inline size or min-content block size, as appropriate to the writing mode.\"\n }\n ],\n \"syntax\": \"<viewport-length>\",\n \"relevance\": 85,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/max-height\"\n }\n ],\n \"description\": \"Allows authors to constrain content height to a certain range.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"max-inline-size\",\n \"browsers\": [\n \"E79\",\n \"FF41\",\n \"S12.1\",\n \"C57\",\n \"O44\"\n ],\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"No limit on the height of the box.\"\n }\n ],\n \"syntax\": \"<'max-width'>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/max-inline-size\"\n }\n ],\n \"description\": \"Logical 'max-height'. Mapping depends on the element’s 'writing-mode'.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"max-width\",\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"No limit on the width of the box.\"\n },\n {\n \"name\": \"fit-content\",\n \"description\": \"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode.\"\n },\n {\n \"name\": \"max-content\",\n \"description\": \"Use the max-content inline size or max-content block size, as appropriate to the writing mode.\"\n },\n {\n \"name\": \"min-content\",\n \"description\": \"Use the min-content inline size or min-content block size, as appropriate to the writing mode.\"\n }\n ],\n \"syntax\": \"<viewport-length>\",\n \"relevance\": 90,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/max-width\"\n }\n ],\n \"description\": \"Allows authors to constrain content width to a certain range.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"min-block-size\",\n \"browsers\": [\n \"E79\",\n \"FF41\",\n \"S12.1\",\n \"C57\",\n \"O44\"\n ],\n \"syntax\": \"<'min-width'>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/min-block-size\"\n }\n ],\n \"description\": \"Logical 'min-width'. Mapping depends on the element’s 'writing-mode'.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"min-height\",\n \"values\": [\n {\n \"name\": \"auto\"\n },\n {\n \"name\": \"fit-content\",\n \"description\": \"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode.\"\n },\n {\n \"name\": \"max-content\",\n \"description\": \"Use the max-content inline size or max-content block size, as appropriate to the writing mode.\"\n },\n {\n \"name\": \"min-content\",\n \"description\": \"Use the min-content inline size or min-content block size, as appropriate to the writing mode.\"\n }\n ],\n \"syntax\": \"<viewport-length>\",\n \"relevance\": 89,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/min-height\"\n }\n ],\n \"description\": \"Allows authors to constrain content height to a certain range.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"min-inline-size\",\n \"browsers\": [\n \"E79\",\n \"FF41\",\n \"S12.1\",\n \"C57\",\n \"O44\"\n ],\n \"syntax\": \"<'min-width'>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/min-inline-size\"\n }\n ],\n \"description\": \"Logical 'min-height'. Mapping depends on the element’s 'writing-mode'.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"min-width\",\n \"values\": [\n {\n \"name\": \"auto\"\n },\n {\n \"name\": \"fit-content\",\n \"description\": \"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode.\"\n },\n {\n \"name\": \"max-content\",\n \"description\": \"Use the max-content inline size or max-content block size, as appropriate to the writing mode.\"\n },\n {\n \"name\": \"min-content\",\n \"description\": \"Use the min-content inline size or min-content block size, as appropriate to the writing mode.\"\n }\n ],\n \"syntax\": \"<viewport-length>\",\n \"relevance\": 88,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/min-width\"\n }\n ],\n \"description\": \"Allows authors to constrain content width to a certain range.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"mix-blend-mode\",\n \"browsers\": [\n \"E79\",\n \"FF32\",\n \"S8\",\n \"C41\",\n \"O28\"\n ],\n \"values\": [\n {\n \"name\": \"normal\",\n \"description\": \"Default attribute which specifies no blending\"\n },\n {\n \"name\": \"multiply\",\n \"description\": \"The source color is multiplied by the destination color and replaces the destination.\"\n },\n {\n \"name\": \"screen\",\n \"description\": \"Multiplies the complements of the backdrop and source color values, then complements the result.\"\n },\n {\n \"name\": \"overlay\",\n \"description\": \"Multiplies or screens the colors, depending on the backdrop color value.\"\n },\n {\n \"name\": \"darken\",\n \"description\": \"Selects the darker of the backdrop and source colors.\"\n },\n {\n \"name\": \"lighten\",\n \"description\": \"Selects the lighter of the backdrop and source colors.\"\n },\n {\n \"name\": \"color-dodge\",\n \"description\": \"Brightens the backdrop color to reflect the source color.\"\n },\n {\n \"name\": \"color-burn\",\n \"description\": \"Darkens the backdrop color to reflect the source color.\"\n },\n {\n \"name\": \"hard-light\",\n \"description\": \"Multiplies or screens the colors, depending on the source color value.\"\n },\n {\n \"name\": \"soft-light\",\n \"description\": \"Darkens or lightens the colors, depending on the source color value.\"\n },\n {\n \"name\": \"difference\",\n \"description\": \"Subtracts the darker of the two constituent colors from the lighter color..\"\n },\n {\n \"name\": \"exclusion\",\n \"description\": \"Produces an effect similar to that of the Difference mode but lower in contrast.\"\n },\n {\n \"name\": \"hue\",\n \"browsers\": [\n \"E79\",\n \"FF32\",\n \"S8\",\n \"C41\",\n \"O28\"\n ],\n \"description\": \"Creates a color with the hue of the source color and the saturation and luminosity of the backdrop color.\"\n },\n {\n \"name\": \"saturation\",\n \"browsers\": [\n \"E79\",\n \"FF32\",\n \"S8\",\n \"C41\",\n \"O28\"\n ],\n \"description\": \"Creates a color with the saturation of the source color and the hue and luminosity of the backdrop color.\"\n },\n {\n \"name\": \"color\",\n \"browsers\": [\n \"E79\",\n \"FF32\",\n \"S8\",\n \"C41\",\n \"O28\"\n ],\n \"description\": \"Creates a color with the hue and saturation of the source color and the luminosity of the backdrop color.\"\n },\n {\n \"name\": \"luminosity\",\n \"browsers\": [\n \"E79\",\n \"FF32\",\n \"S8\",\n \"C41\",\n \"O28\"\n ],\n \"description\": \"Creates a color with the luminosity of the source color and the hue and saturation of the backdrop color.\"\n }\n ],\n \"syntax\": \"<blend-mode>\",\n \"relevance\": 51,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/mix-blend-mode\"\n }\n ],\n \"description\": \"Defines the formula that must be used to mix the colors with the backdrop.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"motion\",\n \"browsers\": [\n \"C46\",\n \"O33\"\n ],\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"No motion path gets created.\"\n },\n {\n \"name\": \"path()\",\n \"description\": \"Defines an SVG path as a string, with optional 'fill-rule' as the first argument.\"\n },\n {\n \"name\": \"auto\",\n \"description\": \"Indicates that the object is rotated by the angle of the direction of the motion path.\"\n },\n {\n \"name\": \"reverse\",\n \"description\": \"Indicates that the object is rotated by the angle of the direction of the motion path plus 180 degrees.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Shorthand property for setting 'motion-path', 'motion-offset' and 'motion-rotation'.\",\n \"restrictions\": [\n \"url\",\n \"length\",\n \"percentage\",\n \"angle\",\n \"shape\",\n \"geometry-box\",\n \"enum\"\n ]\n },\n {\n \"name\": \"motion-offset\",\n \"browsers\": [\n \"C46\",\n \"O33\"\n ],\n \"relevance\": 50,\n \"description\": \"A distance that describes the position along the specified motion path.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"motion-path\",\n \"browsers\": [\n \"C46\",\n \"O33\"\n ],\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"No motion path gets created.\"\n },\n {\n \"name\": \"path()\",\n \"description\": \"Defines an SVG path as a string, with optional 'fill-rule' as the first argument.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Specifies the motion path the element gets positioned at.\",\n \"restrictions\": [\n \"url\",\n \"shape\",\n \"geometry-box\",\n \"enum\"\n ]\n },\n {\n \"name\": \"motion-rotation\",\n \"browsers\": [\n \"C46\",\n \"O33\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Indicates that the object is rotated by the angle of the direction of the motion path.\"\n },\n {\n \"name\": \"reverse\",\n \"description\": \"Indicates that the object is rotated by the angle of the direction of the motion path plus 180 degrees.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Defines the direction of the element while positioning along the motion path.\",\n \"restrictions\": [\n \"angle\"\n ]\n },\n {\n \"name\": \"-moz-animation\",\n \"browsers\": [\n \"FF9\"\n ],\n \"values\": [\n {\n \"name\": \"alternate\",\n \"description\": \"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction.\"\n },\n {\n \"name\": \"alternate-reverse\",\n \"description\": \"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction.\"\n },\n {\n \"name\": \"backwards\",\n \"description\": \"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'.\"\n },\n {\n \"name\": \"both\",\n \"description\": \"Both forwards and backwards fill modes are applied.\"\n },\n {\n \"name\": \"forwards\",\n \"description\": \"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes.\"\n },\n {\n \"name\": \"infinite\",\n \"description\": \"Causes the animation to repeat forever.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"No animation is performed\"\n },\n {\n \"name\": \"normal\",\n \"description\": \"Normal playback.\"\n },\n {\n \"name\": \"reverse\",\n \"description\": \"All iterations of the animation are played in the reverse direction from the way they were specified.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Shorthand property combines six of the animation properties into a single property.\",\n \"restrictions\": [\n \"time\",\n \"enum\",\n \"timing-function\",\n \"identifier\",\n \"number\"\n ]\n },\n {\n \"name\": \"-moz-animation-delay\",\n \"browsers\": [\n \"FF9\"\n ],\n \"relevance\": 50,\n \"description\": \"Defines when the animation will start.\",\n \"restrictions\": [\n \"time\"\n ]\n },\n {\n \"name\": \"-moz-animation-direction\",\n \"browsers\": [\n \"FF9\"\n ],\n \"values\": [\n {\n \"name\": \"alternate\",\n \"description\": \"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction.\"\n },\n {\n \"name\": \"alternate-reverse\",\n \"description\": \"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction.\"\n },\n {\n \"name\": \"normal\",\n \"description\": \"Normal playback.\"\n },\n {\n \"name\": \"reverse\",\n \"description\": \"All iterations of the animation are played in the reverse direction from the way they were specified.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Defines whether or not the animation should play in reverse on alternate cycles.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-moz-animation-duration\",\n \"browsers\": [\n \"FF9\"\n ],\n \"relevance\": 50,\n \"description\": \"Defines the length of time that an animation takes to complete one cycle.\",\n \"restrictions\": [\n \"time\"\n ]\n },\n {\n \"name\": \"-moz-animation-iteration-count\",\n \"browsers\": [\n \"FF9\"\n ],\n \"values\": [\n {\n \"name\": \"infinite\",\n \"description\": \"Causes the animation to repeat forever.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.\",\n \"restrictions\": [\n \"number\",\n \"enum\"\n ]\n },\n {\n \"name\": \"-moz-animation-name\",\n \"browsers\": [\n \"FF9\"\n ],\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"No animation is performed\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.\",\n \"restrictions\": [\n \"identifier\",\n \"enum\"\n ]\n },\n {\n \"name\": \"-moz-animation-play-state\",\n \"browsers\": [\n \"FF9\"\n ],\n \"values\": [\n {\n \"name\": \"paused\",\n \"description\": \"A running animation will be paused.\"\n },\n {\n \"name\": \"running\",\n \"description\": \"Resume playback of a paused animation.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Defines whether the animation is running or paused.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-moz-animation-timing-function\",\n \"browsers\": [\n \"FF9\"\n ],\n \"relevance\": 50,\n \"description\": \"Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.\",\n \"restrictions\": [\n \"timing-function\"\n ]\n },\n {\n \"name\": \"-moz-appearance\",\n \"browsers\": [\n \"FF1\"\n ],\n \"values\": [\n {\n \"name\": \"button\"\n },\n {\n \"name\": \"button-arrow-down\"\n },\n {\n \"name\": \"button-arrow-next\"\n },\n {\n \"name\": \"button-arrow-previous\"\n },\n {\n \"name\": \"button-arrow-up\"\n },\n {\n \"name\": \"button-bevel\"\n },\n {\n \"name\": \"checkbox\"\n },\n {\n \"name\": \"checkbox-container\"\n },\n {\n \"name\": \"checkbox-label\"\n },\n {\n \"name\": \"dialog\"\n },\n {\n \"name\": \"groupbox\"\n },\n {\n \"name\": \"listbox\"\n },\n {\n \"name\": \"menuarrow\"\n },\n {\n \"name\": \"menuimage\"\n },\n {\n \"name\": \"menuitem\"\n },\n {\n \"name\": \"menuitemtext\"\n },\n {\n \"name\": \"menulist\"\n },\n {\n \"name\": \"menulist-button\"\n },\n {\n \"name\": \"menulist-text\"\n },\n {\n \"name\": \"menulist-textfield\"\n },\n {\n \"name\": \"menupopup\"\n },\n {\n \"name\": \"menuradio\"\n },\n {\n \"name\": \"menuseparator\"\n },\n {\n \"name\": \"-moz-mac-unified-toolbar\"\n },\n {\n \"name\": \"-moz-win-borderless-glass\"\n },\n {\n \"name\": \"-moz-win-browsertabbar-toolbox\"\n },\n {\n \"name\": \"-moz-win-communications-toolbox\"\n },\n {\n \"name\": \"-moz-win-glass\"\n },\n {\n \"name\": \"-moz-win-media-toolbox\"\n },\n {\n \"name\": \"none\"\n },\n {\n \"name\": \"progressbar\"\n },\n {\n \"name\": \"progresschunk\"\n },\n {\n \"name\": \"radio\"\n },\n {\n \"name\": \"radio-container\"\n },\n {\n \"name\": \"radio-label\"\n },\n {\n \"name\": \"radiomenuitem\"\n },\n {\n \"name\": \"resizer\"\n },\n {\n \"name\": \"resizerpanel\"\n },\n {\n \"name\": \"scrollbarbutton-down\"\n },\n {\n \"name\": \"scrollbarbutton-left\"\n },\n {\n \"name\": \"scrollbarbutton-right\"\n },\n {\n \"name\": \"scrollbarbutton-up\"\n },\n {\n \"name\": \"scrollbar-small\"\n },\n {\n \"name\": \"scrollbartrack-horizontal\"\n },\n {\n \"name\": \"scrollbartrack-vertical\"\n },\n {\n \"name\": \"separator\"\n },\n {\n \"name\": \"spinner\"\n },\n {\n \"name\": \"spinner-downbutton\"\n },\n {\n \"name\": \"spinner-textfield\"\n },\n {\n \"name\": \"spinner-upbutton\"\n },\n {\n \"name\": \"statusbar\"\n },\n {\n \"name\": \"statusbarpanel\"\n },\n {\n \"name\": \"tab\"\n },\n {\n \"name\": \"tabpanels\"\n },\n {\n \"name\": \"tab-scroll-arrow-back\"\n },\n {\n \"name\": \"tab-scroll-arrow-forward\"\n },\n {\n \"name\": \"textfield\"\n },\n {\n \"name\": \"textfield-multiline\"\n },\n {\n \"name\": \"toolbar\"\n },\n {\n \"name\": \"toolbox\"\n },\n {\n \"name\": \"tooltip\"\n },\n {\n \"name\": \"treeheadercell\"\n },\n {\n \"name\": \"treeheadersortarrow\"\n },\n {\n \"name\": \"treeitem\"\n },\n {\n \"name\": \"treetwistyopen\"\n },\n {\n \"name\": \"treeview\"\n },\n {\n \"name\": \"treewisty\"\n },\n {\n \"name\": \"window\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"none | button | button-arrow-down | button-arrow-next | button-arrow-previous | button-arrow-up | button-bevel | button-focus | caret | checkbox | checkbox-container | checkbox-label | checkmenuitem | dualbutton | groupbox | listbox | listitem | menuarrow | menubar | menucheckbox | menuimage | menuitem | menuitemtext | menulist | menulist-button | menulist-text | menulist-textfield | menupopup | menuradio | menuseparator | meterbar | meterchunk | progressbar | progressbar-vertical | progresschunk | progresschunk-vertical | radio | radio-container | radio-label | radiomenuitem | range | range-thumb | resizer | resizerpanel | scale-horizontal | scalethumbend | scalethumb-horizontal | scalethumbstart | scalethumbtick | scalethumb-vertical | scale-vertical | scrollbarbutton-down | scrollbarbutton-left | scrollbarbutton-right | scrollbarbutton-up | scrollbarthumb-horizontal | scrollbarthumb-vertical | scrollbartrack-horizontal | scrollbartrack-vertical | searchfield | separator | sheet | spinner | spinner-downbutton | spinner-textfield | spinner-upbutton | splitter | statusbar | statusbarpanel | tab | tabpanel | tabpanels | tab-scroll-arrow-back | tab-scroll-arrow-forward | textfield | textfield-multiline | toolbar | toolbarbutton | toolbarbutton-dropdown | toolbargripper | toolbox | tooltip | treeheader | treeheadercell | treeheadersortarrow | treeitem | treeline | treetwisty | treetwistyopen | treeview | -moz-mac-unified-toolbar | -moz-win-borderless-glass | -moz-win-browsertabbar-toolbox | -moz-win-communicationstext | -moz-win-communications-toolbox | -moz-win-exclude-glass | -moz-win-glass | -moz-win-mediatext | -moz-win-media-toolbox | -moz-window-button-box | -moz-window-button-box-maximized | -moz-window-button-close | -moz-window-button-maximize | -moz-window-button-minimize | -moz-window-button-restore | -moz-window-frame-bottom | -moz-window-frame-left | -moz-window-frame-right | -moz-window-titlebar | -moz-window-titlebar-maximized\",\n \"relevance\": 0,\n \"description\": \"Used in Gecko (Firefox) to display an element using a platform-native styling based on the operating system's theme.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-moz-backface-visibility\",\n \"browsers\": [\n \"FF10\"\n ],\n \"values\": [\n {\n \"name\": \"hidden\"\n },\n {\n \"name\": \"visible\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-moz-background-clip\",\n \"browsers\": [\n \"FF1-3.6\"\n ],\n \"values\": [\n {\n \"name\": \"padding\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Determines the background painting area.\",\n \"restrictions\": [\n \"box\",\n \"enum\"\n ]\n },\n {\n \"name\": \"-moz-background-inline-policy\",\n \"browsers\": [\n \"FF1\"\n ],\n \"values\": [\n {\n \"name\": \"bounding-box\"\n },\n {\n \"name\": \"continuous\"\n },\n {\n \"name\": \"each-box\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"In Gecko-based applications like Firefox, the -moz-background-inline-policy CSS property specifies how the background image of an inline element is determined when the content of the inline element wraps onto multiple lines. The choice of position has significant effects on repetition.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-moz-background-origin\",\n \"browsers\": [\n \"FF1\"\n ],\n \"relevance\": 50,\n \"description\": \"For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).\",\n \"restrictions\": [\n \"box\"\n ]\n },\n {\n \"name\": \"-moz-border-bottom-colors\",\n \"browsers\": [\n \"FF1\"\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"<color>+ | none\",\n \"relevance\": 0,\n \"description\": \"Sets a list of colors for the bottom border.\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"-moz-border-image\",\n \"browsers\": [\n \"FF3.6\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead.\"\n },\n {\n \"name\": \"fill\",\n \"description\": \"Causes the middle part of the border-image to be preserved.\"\n },\n {\n \"name\": \"none\"\n },\n {\n \"name\": \"repeat\",\n \"description\": \"The image is tiled (repeated) to fill the area.\"\n },\n {\n \"name\": \"round\",\n \"description\": \"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does.\"\n },\n {\n \"name\": \"space\",\n \"description\": \"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles.\"\n },\n {\n \"name\": \"stretch\",\n \"description\": \"The image is stretched to fill the area.\"\n },\n {\n \"name\": \"url()\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.\",\n \"restrictions\": [\n \"length\",\n \"percentage\",\n \"number\",\n \"url\",\n \"enum\"\n ]\n },\n {\n \"name\": \"-moz-border-left-colors\",\n \"browsers\": [\n \"FF1\"\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"<color>+ | none\",\n \"relevance\": 0,\n \"description\": \"Sets a list of colors for the bottom border.\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"-moz-border-right-colors\",\n \"browsers\": [\n \"FF1\"\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"<color>+ | none\",\n \"relevance\": 0,\n \"description\": \"Sets a list of colors for the bottom border.\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"-moz-border-top-colors\",\n \"browsers\": [\n \"FF1\"\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"<color>+ | none\",\n \"relevance\": 0,\n \"description\": \"Ske Firefox, -moz-border-bottom-colors sets a list of colors for the bottom border.\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"-moz-box-align\",\n \"browsers\": [\n \"FF1\"\n ],\n \"values\": [\n {\n \"name\": \"baseline\",\n \"description\": \"If this box orientation is inline-axis or horizontal, all children are placed with their baselines aligned, and extra space placed before or after as necessary. For block flows, the baseline of the first non-empty line box located within the element is used. For tables, the baseline of the first cell is used.\"\n },\n {\n \"name\": \"center\",\n \"description\": \"Any extra space is divided evenly, with half placed above the child and the other half placed after the child.\"\n },\n {\n \"name\": \"end\",\n \"description\": \"For normal direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element. For reverse direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element.\"\n },\n {\n \"name\": \"start\",\n \"description\": \"For normal direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element. For reverse direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element.\"\n },\n {\n \"name\": \"stretch\",\n \"description\": \"The height of each child is adjusted to that of the containing block.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Specifies how a XUL box aligns its contents across (perpendicular to) the direction of its layout. The effect of this is only visible if there is extra space in the box.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-moz-box-direction\",\n \"browsers\": [\n \"FF1\"\n ],\n \"values\": [\n {\n \"name\": \"normal\",\n \"description\": \"A box with a computed value of horizontal for box-orient displays its children from left to right. A box with a computed value of vertical displays its children from top to bottom.\"\n },\n {\n \"name\": \"reverse\",\n \"description\": \"A box with a computed value of horizontal for box-orient displays its children from right to left. A box with a computed value of vertical displays its children from bottom to top.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge).\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-moz-box-flex\",\n \"browsers\": [\n \"FF1\"\n ],\n \"relevance\": 50,\n \"description\": \"Specifies how a box grows to fill the box that contains it, in the direction of the containing box's layout.\",\n \"restrictions\": [\n \"number\"\n ]\n },\n {\n \"name\": \"-moz-box-flexgroup\",\n \"browsers\": [\n \"FF1\"\n ],\n \"relevance\": 50,\n \"description\": \"Flexible elements can be assigned to flex groups using the 'box-flex-group' property.\",\n \"restrictions\": [\n \"integer\"\n ]\n },\n {\n \"name\": \"-moz-box-ordinal-group\",\n \"browsers\": [\n \"FF1\"\n ],\n \"relevance\": 50,\n \"description\": \"Indicates the ordinal group the element belongs to. Elements with a lower ordinal group are displayed before those with a higher ordinal group.\",\n \"restrictions\": [\n \"integer\"\n ]\n },\n {\n \"name\": \"-moz-box-orient\",\n \"browsers\": [\n \"FF1\"\n ],\n \"values\": [\n {\n \"name\": \"block-axis\",\n \"description\": \"Elements are oriented along the box's axis.\"\n },\n {\n \"name\": \"horizontal\",\n \"description\": \"The box displays its children from left to right in a horizontal line.\"\n },\n {\n \"name\": \"inline-axis\",\n \"description\": \"Elements are oriented vertically.\"\n },\n {\n \"name\": \"vertical\",\n \"description\": \"The box displays its children from stacked from top to bottom vertically.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"In Mozilla applications, -moz-box-orient specifies whether a box lays out its contents horizontally or vertically.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-moz-box-pack\",\n \"browsers\": [\n \"FF1\"\n ],\n \"values\": [\n {\n \"name\": \"center\",\n \"description\": \"The extra space is divided evenly, with half placed before the first child and the other half placed after the last child.\"\n },\n {\n \"name\": \"end\",\n \"description\": \"For normal direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child. For reverse direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child.\"\n },\n {\n \"name\": \"justify\",\n \"description\": \"The space is divided evenly in-between each child, with none of the extra space placed before the first child or after the last child. If there is only one child, treat the pack value as if it were start.\"\n },\n {\n \"name\": \"start\",\n \"description\": \"For normal direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child. For reverse direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Specifies how a box packs its contents in the direction of its layout. The effect of this is only visible if there is extra space in the box.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-moz-box-sizing\",\n \"browsers\": [\n \"FF1\"\n ],\n \"values\": [\n {\n \"name\": \"border-box\",\n \"description\": \"The specified width and height (and respective min/max properties) on this element determine the border box of the element.\"\n },\n {\n \"name\": \"content-box\",\n \"description\": \"Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element.\"\n },\n {\n \"name\": \"padding-box\",\n \"description\": \"The specified width and height (and respective min/max properties) on this element determine the padding box of the element.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Box Model addition in CSS3.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-moz-column-count\",\n \"browsers\": [\n \"FF3.5\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Determines the number of columns by the 'column-width' property and the element width.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Describes the optimal number of columns into which the content of the element will be flowed.\",\n \"restrictions\": [\n \"integer\"\n ]\n },\n {\n \"name\": \"-moz-column-gap\",\n \"browsers\": [\n \"FF3.5\"\n ],\n \"values\": [\n {\n \"name\": \"normal\",\n \"description\": \"User agent specific and typically equivalent to 1em.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.\",\n \"restrictions\": [\n \"length\"\n ]\n },\n {\n \"name\": \"-moz-column-rule\",\n \"browsers\": [\n \"FF3.5\"\n ],\n \"relevance\": 50,\n \"description\": \"Shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.\",\n \"restrictions\": [\n \"length\",\n \"line-width\",\n \"line-style\",\n \"color\"\n ]\n },\n {\n \"name\": \"-moz-column-rule-color\",\n \"browsers\": [\n \"FF3.5\"\n ],\n \"relevance\": 50,\n \"description\": \"Sets the color of the column rule\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"-moz-column-rule-style\",\n \"browsers\": [\n \"FF3.5\"\n ],\n \"relevance\": 50,\n \"description\": \"Sets the style of the rule between columns of an element.\",\n \"restrictions\": [\n \"line-style\"\n ]\n },\n {\n \"name\": \"-moz-column-rule-width\",\n \"browsers\": [\n \"FF3.5\"\n ],\n \"relevance\": 50,\n \"description\": \"Sets the width of the rule between columns. Negative values are not allowed.\",\n \"restrictions\": [\n \"length\",\n \"line-width\"\n ]\n },\n {\n \"name\": \"-moz-columns\",\n \"browsers\": [\n \"FF9\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The width depends on the values of other properties.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"A shorthand property which sets both 'column-width' and 'column-count'.\",\n \"restrictions\": [\n \"length\",\n \"integer\"\n ]\n },\n {\n \"name\": \"-moz-column-width\",\n \"browsers\": [\n \"FF3.5\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The width depends on the values of other properties.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"This property describes the width of columns in multicol elements.\",\n \"restrictions\": [\n \"length\"\n ]\n },\n {\n \"name\": \"-moz-font-feature-settings\",\n \"browsers\": [\n \"FF4\"\n ],\n \"values\": [\n {\n \"name\": \"\\\"c2cs\\\"\"\n },\n {\n \"name\": \"\\\"dlig\\\"\"\n },\n {\n \"name\": \"\\\"kern\\\"\"\n },\n {\n \"name\": \"\\\"liga\\\"\"\n },\n {\n \"name\": \"\\\"lnum\\\"\"\n },\n {\n \"name\": \"\\\"onum\\\"\"\n },\n {\n \"name\": \"\\\"smcp\\\"\"\n },\n {\n \"name\": \"\\\"swsh\\\"\"\n },\n {\n \"name\": \"\\\"tnum\\\"\"\n },\n {\n \"name\": \"normal\",\n \"description\": \"No change in glyph substitution or positioning occurs.\"\n },\n {\n \"name\": \"off\",\n \"browsers\": [\n \"FF4\"\n ]\n },\n {\n \"name\": \"on\",\n \"browsers\": [\n \"FF4\"\n ]\n }\n ],\n \"relevance\": 50,\n \"description\": \"Provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case.\",\n \"restrictions\": [\n \"string\",\n \"integer\"\n ]\n },\n {\n \"name\": \"-moz-hyphens\",\n \"browsers\": [\n \"FF9\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word.\"\n },\n {\n \"name\": \"manual\",\n \"description\": \"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities\"\n },\n {\n \"name\": \"none\",\n \"description\": \"Words are not broken at line breaks, even if characters inside the word suggest line break points.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Controls whether hyphenation is allowed to create more break opportunities within a line of text.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-moz-perspective\",\n \"browsers\": [\n \"FF10\"\n ],\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"No perspective transform is applied.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.\",\n \"restrictions\": [\n \"length\"\n ]\n },\n {\n \"name\": \"-moz-perspective-origin\",\n \"browsers\": [\n \"FF10\"\n ],\n \"relevance\": 50,\n \"description\": \"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.\",\n \"restrictions\": [\n \"position\",\n \"percentage\",\n \"length\"\n ]\n },\n {\n \"name\": \"-moz-text-align-last\",\n \"browsers\": [\n \"FF12\"\n ],\n \"values\": [\n {\n \"name\": \"auto\"\n },\n {\n \"name\": \"center\",\n \"description\": \"The inline contents are centered within the line box.\"\n },\n {\n \"name\": \"justify\",\n \"description\": \"The text is justified according to the method specified by the 'text-justify' property.\"\n },\n {\n \"name\": \"left\",\n \"description\": \"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text.\"\n },\n {\n \"name\": \"right\",\n \"description\": \"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-moz-text-decoration-color\",\n \"browsers\": [\n \"FF6\"\n ],\n \"relevance\": 50,\n \"description\": \"Specifies the color of text decoration (underlines overlines, and line-throughs) set on the element with text-decoration-line.\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"-moz-text-decoration-line\",\n \"browsers\": [\n \"FF6\"\n ],\n \"values\": [\n {\n \"name\": \"line-through\",\n \"description\": \"Each line of text has a line through the middle.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"Neither produces nor inhibits text decoration.\"\n },\n {\n \"name\": \"overline\",\n \"description\": \"Each line of text has a line above it.\"\n },\n {\n \"name\": \"underline\",\n \"description\": \"Each line of text is underlined.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Specifies what line decorations, if any, are added to the element.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-moz-text-decoration-style\",\n \"browsers\": [\n \"FF6\"\n ],\n \"values\": [\n {\n \"name\": \"dashed\",\n \"description\": \"Produces a dashed line style.\"\n },\n {\n \"name\": \"dotted\",\n \"description\": \"Produces a dotted line.\"\n },\n {\n \"name\": \"double\",\n \"description\": \"Produces a double line.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"Produces no line.\"\n },\n {\n \"name\": \"solid\",\n \"description\": \"Produces a solid line.\"\n },\n {\n \"name\": \"wavy\",\n \"description\": \"Produces a wavy line.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Specifies the line style for underline, line-through and overline text decoration.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-moz-text-size-adjust\",\n \"browsers\": [\n \"FF\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Renderers must use the default size adjustment when displaying on a small device.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"Renderers must not do size adjustment when displaying on a small device.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Specifies a size adjustment for displaying text content in mobile browsers.\",\n \"restrictions\": [\n \"enum\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"-moz-transform\",\n \"browsers\": [\n \"FF3.5\"\n ],\n \"values\": [\n {\n \"name\": \"matrix()\",\n \"description\": \"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]\"\n },\n {\n \"name\": \"matrix3d()\",\n \"description\": \"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order.\"\n },\n {\n \"name\": \"none\"\n },\n {\n \"name\": \"perspective\",\n \"description\": \"Specifies a perspective projection matrix.\"\n },\n {\n \"name\": \"rotate()\",\n \"description\": \"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property.\"\n },\n {\n \"name\": \"rotate3d()\",\n \"description\": \"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters.\"\n },\n {\n \"name\": \"rotateX('angle')\",\n \"description\": \"Specifies a clockwise rotation by the given angle about the X axis.\"\n },\n {\n \"name\": \"rotateY('angle')\",\n \"description\": \"Specifies a clockwise rotation by the given angle about the Y axis.\"\n },\n {\n \"name\": \"rotateZ('angle')\",\n \"description\": \"Specifies a clockwise rotation by the given angle about the Z axis.\"\n },\n {\n \"name\": \"scale()\",\n \"description\": \"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first.\"\n },\n {\n \"name\": \"scale3d()\",\n \"description\": \"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters.\"\n },\n {\n \"name\": \"scaleX()\",\n \"description\": \"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter.\"\n },\n {\n \"name\": \"scaleY()\",\n \"description\": \"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter.\"\n },\n {\n \"name\": \"scaleZ()\",\n \"description\": \"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter.\"\n },\n {\n \"name\": \"skew()\",\n \"description\": \"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis).\"\n },\n {\n \"name\": \"skewX()\",\n \"description\": \"Specifies a skew transformation along the X axis by the given angle.\"\n },\n {\n \"name\": \"skewY()\",\n \"description\": \"Specifies a skew transformation along the Y axis by the given angle.\"\n },\n {\n \"name\": \"translate()\",\n \"description\": \"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter.\"\n },\n {\n \"name\": \"translate3d()\",\n \"description\": \"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively.\"\n },\n {\n \"name\": \"translateX()\",\n \"description\": \"Specifies a translation by the given amount in the X direction.\"\n },\n {\n \"name\": \"translateY()\",\n \"description\": \"Specifies a translation by the given amount in the Y direction.\"\n },\n {\n \"name\": \"translateZ()\",\n \"description\": \"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-moz-transform-origin\",\n \"browsers\": [\n \"FF3.5\"\n ],\n \"relevance\": 50,\n \"description\": \"Establishes the origin of transformation for an element.\",\n \"restrictions\": [\n \"position\",\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"-moz-transition\",\n \"browsers\": [\n \"FF4\"\n ],\n \"values\": [\n {\n \"name\": \"all\",\n \"description\": \"Every property that is able to undergo a transition will do so.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"No property will transition.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Shorthand property combines four of the transition properties into a single property.\",\n \"restrictions\": [\n \"time\",\n \"property\",\n \"timing-function\",\n \"enum\"\n ]\n },\n {\n \"name\": \"-moz-transition-delay\",\n \"browsers\": [\n \"FF4\"\n ],\n \"relevance\": 50,\n \"description\": \"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.\",\n \"restrictions\": [\n \"time\"\n ]\n },\n {\n \"name\": \"-moz-transition-duration\",\n \"browsers\": [\n \"FF4\"\n ],\n \"relevance\": 50,\n \"description\": \"Specifies how long the transition from the old value to the new value should take.\",\n \"restrictions\": [\n \"time\"\n ]\n },\n {\n \"name\": \"-moz-transition-property\",\n \"browsers\": [\n \"FF4\"\n ],\n \"values\": [\n {\n \"name\": \"all\",\n \"description\": \"Every property that is able to undergo a transition will do so.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"No property will transition.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Specifies the name of the CSS property to which the transition is applied.\",\n \"restrictions\": [\n \"property\"\n ]\n },\n {\n \"name\": \"-moz-transition-timing-function\",\n \"browsers\": [\n \"FF4\"\n ],\n \"relevance\": 50,\n \"description\": \"Describes how the intermediate values used during a transition will be calculated.\",\n \"restrictions\": [\n \"timing-function\"\n ]\n },\n {\n \"name\": \"-moz-user-focus\",\n \"browsers\": [\n \"FF1\"\n ],\n \"values\": [\n {\n \"name\": \"ignore\"\n },\n {\n \"name\": \"normal\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"ignore | normal | select-after | select-before | select-menu | select-same | select-all | none\",\n \"relevance\": 0,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-moz-user-focus\"\n }\n ],\n \"description\": \"Used to indicate whether the element can have focus.\"\n },\n {\n \"name\": \"-moz-user-select\",\n \"browsers\": [\n \"FF1.5\"\n ],\n \"values\": [\n {\n \"name\": \"all\"\n },\n {\n \"name\": \"element\"\n },\n {\n \"name\": \"elements\"\n },\n {\n \"name\": \"-moz-all\"\n },\n {\n \"name\": \"-moz-none\"\n },\n {\n \"name\": \"none\"\n },\n {\n \"name\": \"text\"\n },\n {\n \"name\": \"toggle\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Controls the appearance of selection.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-accelerator\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"false\",\n \"description\": \"The element does not contain an accelerator key sequence.\"\n },\n {\n \"name\": \"true\",\n \"description\": \"The element contains an accelerator key sequence.\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"false | true\",\n \"relevance\": 0,\n \"description\": \"IE only. Has the ability to turn off its system underlines for accelerator keys until the ALT key is pressed\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-behavior\",\n \"browsers\": [\n \"IE8\"\n ],\n \"relevance\": 50,\n \"description\": \"IE only. Used to extend behaviors of the browser\",\n \"restrictions\": [\n \"url\"\n ]\n },\n {\n \"name\": \"-ms-block-progression\",\n \"browsers\": [\n \"IE8\"\n ],\n \"values\": [\n {\n \"name\": \"bt\",\n \"description\": \"Bottom-to-top block flow. Layout is horizontal.\"\n },\n {\n \"name\": \"lr\",\n \"description\": \"Left-to-right direction. The flow orientation is vertical.\"\n },\n {\n \"name\": \"rl\",\n \"description\": \"Right-to-left direction. The flow orientation is vertical.\"\n },\n {\n \"name\": \"tb\",\n \"description\": \"Top-to-bottom direction. The flow orientation is horizontal.\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"tb | rl | bt | lr\",\n \"relevance\": 0,\n \"description\": \"Sets the block-progression value and the flow orientation\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-content-zoom-chaining\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"chained\",\n \"description\": \"The nearest zoomable parent element begins zooming when the user hits a zoom limit during a manipulation. No bounce effect is shown.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"A bounce effect is shown when the user hits a zoom limit during a manipulation.\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"none | chained\",\n \"relevance\": 0,\n \"description\": \"Specifies the zoom behavior that occurs when a user hits the zoom limit during a manipulation.\"\n },\n {\n \"name\": \"-ms-content-zooming\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"The element is not zoomable.\"\n },\n {\n \"name\": \"zoom\",\n \"description\": \"The element is zoomable.\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"none | zoom\",\n \"relevance\": 0,\n \"description\": \"Specifies whether zooming is enabled.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-content-zoom-limit\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>\",\n \"relevance\": 0,\n \"description\": \"Shorthand property for the -ms-content-zoom-limit-min and -ms-content-zoom-limit-max properties.\",\n \"restrictions\": [\n \"percentage\"\n ]\n },\n {\n \"name\": \"-ms-content-zoom-limit-max\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"<percentage>\",\n \"relevance\": 0,\n \"description\": \"Specifies the maximum zoom factor.\",\n \"restrictions\": [\n \"percentage\"\n ]\n },\n {\n \"name\": \"-ms-content-zoom-limit-min\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"<percentage>\",\n \"relevance\": 0,\n \"description\": \"Specifies the minimum zoom factor.\",\n \"restrictions\": [\n \"percentage\"\n ]\n },\n {\n \"name\": \"-ms-content-zoom-snap\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"mandatory\",\n \"description\": \"Indicates that the motion of the content after the contact is picked up is always adjusted so that it lands on a snap-point.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"Indicates that zooming is unaffected by any defined snap-points.\"\n },\n {\n \"name\": \"proximity\",\n \"description\": \"Indicates that the motion of the content after the contact is picked up may be adjusted if the content would normally stop \\\"close enough\\\" to a snap-point.\"\n },\n {\n \"name\": \"snapInterval(100%, 100%)\",\n \"description\": \"Specifies where the snap-points will be placed.\"\n },\n {\n \"name\": \"snapList()\",\n \"description\": \"Specifies the position of individual snap-points as a comma-separated list of zoom factors.\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"<'-ms-content-zoom-snap-type'> || <'-ms-content-zoom-snap-points'>\",\n \"relevance\": 0,\n \"description\": \"Shorthand property for the -ms-content-zoom-snap-type and -ms-content-zoom-snap-points properties.\"\n },\n {\n \"name\": \"-ms-content-zoom-snap-points\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"snapInterval(100%, 100%)\",\n \"description\": \"Specifies where the snap-points will be placed.\"\n },\n {\n \"name\": \"snapList()\",\n \"description\": \"Specifies the position of individual snap-points as a comma-separated list of zoom factors.\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"snapInterval( <percentage>, <percentage> ) | snapList( <percentage># )\",\n \"relevance\": 0,\n \"description\": \"Defines where zoom snap-points are located.\"\n },\n {\n \"name\": \"-ms-content-zoom-snap-type\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"mandatory\",\n \"description\": \"Indicates that the motion of the content after the contact is picked up is always adjusted so that it lands on a snap-point.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"Indicates that zooming is unaffected by any defined snap-points.\"\n },\n {\n \"name\": \"proximity\",\n \"description\": \"Indicates that the motion of the content after the contact is picked up may be adjusted if the content would normally stop \\\"close enough\\\" to a snap-point.\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"none | proximity | mandatory\",\n \"relevance\": 0,\n \"description\": \"Specifies how zooming is affected by defined snap-points.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-filter\",\n \"browsers\": [\n \"IE8-9\"\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"<string>\",\n \"relevance\": 0,\n \"description\": \"IE only. Used to produce visual effects.\",\n \"restrictions\": [\n \"string\"\n ]\n },\n {\n \"name\": \"-ms-flex\",\n \"browsers\": [\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Retrieves the value of the main size property as the used 'flex-basis'.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"Expands to '0 0 auto'.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"specifies the parameters of a flexible length: the positive and negative flexibility, and the preferred size.\",\n \"restrictions\": [\n \"length\",\n \"number\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"-ms-flex-align\",\n \"browsers\": [\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"baseline\",\n \"description\": \"If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment.\"\n },\n {\n \"name\": \"center\",\n \"description\": \"The flex item’s margin box is centered in the cross axis within the line.\"\n },\n {\n \"name\": \"end\",\n \"description\": \"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line.\"\n },\n {\n \"name\": \"start\",\n \"description\": \"The cross-start margin edge of the flexbox item is placed flush with the cross-start edge of the line.\"\n },\n {\n \"name\": \"stretch\",\n \"description\": \"If the cross size property of the flexbox item is anything other than 'auto', this value is identical to 'start'.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Aligns flex items along the cross axis of the current line of the flex container.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-flex-direction\",\n \"browsers\": [\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"column\",\n \"description\": \"The flex container’s main axis has the same orientation as the block axis of the current writing mode.\"\n },\n {\n \"name\": \"column-reverse\",\n \"description\": \"Same as 'column', except the main-start and main-end directions are swapped.\"\n },\n {\n \"name\": \"row\",\n \"description\": \"The flex container’s main axis has the same orientation as the inline axis of the current writing mode.\"\n },\n {\n \"name\": \"row-reverse\",\n \"description\": \"Same as 'row', except the main-start and main-end directions are swapped.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Specifies how flex items are placed in the flex container, by setting the direction of the flex container’s main axis.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-flex-flow\",\n \"browsers\": [\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"column\",\n \"description\": \"The flex container’s main axis has the same orientation as the block axis of the current writing mode.\"\n },\n {\n \"name\": \"column-reverse\",\n \"description\": \"Same as 'column', except the main-start and main-end directions are swapped.\"\n },\n {\n \"name\": \"nowrap\",\n \"description\": \"The flex container is single-line.\"\n },\n {\n \"name\": \"row\",\n \"description\": \"The flex container’s main axis has the same orientation as the inline axis of the current writing mode.\"\n },\n {\n \"name\": \"wrap\",\n \"description\": \"The flexbox is multi-line.\"\n },\n {\n \"name\": \"wrap-reverse\",\n \"description\": \"Same as 'wrap', except the cross-start and cross-end directions are swapped.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Specifies how flexbox items are placed in the flexbox.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-flex-item-align\",\n \"browsers\": [\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Computes to the value of 'align-items' on the element’s parent, or 'stretch' if the element has no parent. On absolutely positioned elements, it computes to itself.\"\n },\n {\n \"name\": \"baseline\",\n \"description\": \"If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment.\"\n },\n {\n \"name\": \"center\",\n \"description\": \"The flex item’s margin box is centered in the cross axis within the line.\"\n },\n {\n \"name\": \"end\",\n \"description\": \"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line.\"\n },\n {\n \"name\": \"start\",\n \"description\": \"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line.\"\n },\n {\n \"name\": \"stretch\",\n \"description\": \"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Allows the default alignment along the cross axis to be overridden for individual flex items.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-flex-line-pack\",\n \"browsers\": [\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"center\",\n \"description\": \"Lines are packed toward the center of the flex container.\"\n },\n {\n \"name\": \"distribute\",\n \"description\": \"Lines are evenly distributed in the flex container, with half-size spaces on either end.\"\n },\n {\n \"name\": \"end\",\n \"description\": \"Lines are packed toward the end of the flex container.\"\n },\n {\n \"name\": \"justify\",\n \"description\": \"Lines are evenly distributed in the flex container.\"\n },\n {\n \"name\": \"start\",\n \"description\": \"Lines are packed toward the start of the flex container.\"\n },\n {\n \"name\": \"stretch\",\n \"description\": \"Lines stretch to take up the remaining space.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Aligns a flex container’s lines within the flex container when there is extra space in the cross-axis, similar to how 'justify-content' aligns individual items within the main-axis.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-flex-order\",\n \"browsers\": [\n \"IE10\"\n ],\n \"relevance\": 50,\n \"description\": \"Controls the order in which children of a flex container appear within the flex container, by assigning them to ordinal groups.\",\n \"restrictions\": [\n \"integer\"\n ]\n },\n {\n \"name\": \"-ms-flex-pack\",\n \"browsers\": [\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"center\",\n \"description\": \"Flex items are packed toward the center of the line.\"\n },\n {\n \"name\": \"distribute\",\n \"description\": \"Flex items are evenly distributed in the line, with half-size spaces on either end.\"\n },\n {\n \"name\": \"end\",\n \"description\": \"Flex items are packed toward the end of the line.\"\n },\n {\n \"name\": \"justify\",\n \"description\": \"Flex items are evenly distributed in the line.\"\n },\n {\n \"name\": \"start\",\n \"description\": \"Flex items are packed toward the start of the line.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Aligns flex items along the main axis of the current line of the flex container.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-flex-wrap\",\n \"browsers\": [\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"nowrap\",\n \"description\": \"The flex container is single-line.\"\n },\n {\n \"name\": \"wrap\",\n \"description\": \"The flexbox is multi-line.\"\n },\n {\n \"name\": \"wrap-reverse\",\n \"description\": \"Same as 'wrap', except the cross-start and cross-end directions are swapped.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Controls whether the flex container is single-line or multi-line, and the direction of the cross-axis, which determines the direction new lines are stacked in.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-flow-from\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"The block container is not a CSS Region.\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"[ none | <custom-ident> ]#\",\n \"relevance\": 0,\n \"description\": \"Makes a block container a region and associates it with a named flow.\",\n \"restrictions\": [\n \"identifier\"\n ]\n },\n {\n \"name\": \"-ms-flow-into\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"The element is not moved to a named flow and normal CSS processing takes place.\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"[ none | <custom-ident> ]#\",\n \"relevance\": 0,\n \"description\": \"Places an element or its contents into a named flow.\",\n \"restrictions\": [\n \"identifier\"\n ]\n },\n {\n \"name\": \"-ms-grid-column\",\n \"browsers\": [\n \"E12\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"auto\"\n },\n {\n \"name\": \"end\"\n },\n {\n \"name\": \"start\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Used to place grid items and explicitly defined grid cells in the Grid.\",\n \"restrictions\": [\n \"integer\",\n \"string\",\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-grid-column-align\",\n \"browsers\": [\n \"E12\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"center\",\n \"description\": \"Places the center of the Grid Item's margin box at the center of the Grid Item's column.\"\n },\n {\n \"name\": \"end\",\n \"description\": \"Aligns the end edge of the Grid Item's margin box to the end edge of the Grid Item's column.\"\n },\n {\n \"name\": \"start\",\n \"description\": \"Aligns the starting edge of the Grid Item's margin box to the starting edge of the Grid Item's column.\"\n },\n {\n \"name\": \"stretch\",\n \"description\": \"Ensures that the Grid Item's margin box is equal to the size of the Grid Item's column.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Aligns the columns in a grid.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-grid-columns\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"none | <track-list> | <auto-track-list>\",\n \"relevance\": 0,\n \"description\": \"Lays out the columns of the grid.\"\n },\n {\n \"name\": \"-ms-grid-column-span\",\n \"browsers\": [\n \"E12\",\n \"IE10\"\n ],\n \"relevance\": 50,\n \"description\": \"Specifies the number of columns to span.\",\n \"restrictions\": [\n \"integer\"\n ]\n },\n {\n \"name\": \"-ms-grid-layer\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"relevance\": 50,\n \"description\": \"Grid-layer is similar in concept to z-index, but avoids overloading the meaning of the z-index property, which is applicable only to positioned elements.\",\n \"restrictions\": [\n \"integer\"\n ]\n },\n {\n \"name\": \"-ms-grid-row\",\n \"browsers\": [\n \"E12\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"auto\"\n },\n {\n \"name\": \"end\"\n },\n {\n \"name\": \"start\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"grid-row is used to place grid items and explicitly defined grid cells in the Grid.\",\n \"restrictions\": [\n \"integer\",\n \"string\",\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-grid-row-align\",\n \"browsers\": [\n \"E12\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"center\",\n \"description\": \"Places the center of the Grid Item's margin box at the center of the Grid Item's row.\"\n },\n {\n \"name\": \"end\",\n \"description\": \"Aligns the end edge of the Grid Item's margin box to the end edge of the Grid Item's row.\"\n },\n {\n \"name\": \"start\",\n \"description\": \"Aligns the starting edge of the Grid Item's margin box to the starting edge of the Grid Item's row.\"\n },\n {\n \"name\": \"stretch\",\n \"description\": \"Ensures that the Grid Item's margin box is equal to the size of the Grid Item's row.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Aligns the rows in a grid.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-grid-rows\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"none | <track-list> | <auto-track-list>\",\n \"relevance\": 0,\n \"description\": \"Lays out the columns of the grid.\"\n },\n {\n \"name\": \"-ms-grid-row-span\",\n \"browsers\": [\n \"E12\",\n \"IE10\"\n ],\n \"relevance\": 50,\n \"description\": \"Specifies the number of rows to span.\",\n \"restrictions\": [\n \"integer\"\n ]\n },\n {\n \"name\": \"-ms-high-contrast-adjust\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Properties will be adjusted as applicable.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"No adjustments will be applied.\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"auto | none\",\n \"relevance\": 0,\n \"description\": \"Specifies if properties should be adjusted in high contrast mode.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-hyphenate-limit-chars\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The user agent chooses a value that adapts to the current layout.\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"auto | <integer>{1,3}\",\n \"relevance\": 0,\n \"description\": \"Specifies the minimum number of characters in a hyphenated word.\",\n \"restrictions\": [\n \"integer\"\n ]\n },\n {\n \"name\": \"-ms-hyphenate-limit-lines\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"no-limit\",\n \"description\": \"There is no limit.\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"no-limit | <integer>\",\n \"relevance\": 0,\n \"description\": \"Indicates the maximum number of successive hyphenated lines in an element.\",\n \"restrictions\": [\n \"integer\"\n ]\n },\n {\n \"name\": \"-ms-hyphenate-limit-zone\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"<percentage> | <length>\",\n \"relevance\": 0,\n \"description\": \"Specifies the maximum amount of unfilled space (before justification) that may be left in the line box before hyphenation is triggered to pull part of a word from the next line back up into the current line.\",\n \"restrictions\": [\n \"percentage\",\n \"length\"\n ]\n },\n {\n \"name\": \"-ms-hyphens\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word.\"\n },\n {\n \"name\": \"manual\",\n \"description\": \"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities\"\n },\n {\n \"name\": \"none\",\n \"description\": \"Words are not broken at line breaks, even if characters inside the word suggest line break points.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Controls whether hyphenation is allowed to create more break opportunities within a line of text.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-ime-mode\",\n \"browsers\": [\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"active\",\n \"description\": \"The input method editor is initially active; text entry is performed using it unless the user specifically dismisses it.\"\n },\n {\n \"name\": \"auto\",\n \"description\": \"No change is made to the current input method editor state. This is the default.\"\n },\n {\n \"name\": \"disabled\",\n \"description\": \"The input method editor is disabled and may not be activated by the user.\"\n },\n {\n \"name\": \"inactive\",\n \"description\": \"The input method editor is initially inactive, but the user may activate it if they wish.\"\n },\n {\n \"name\": \"normal\",\n \"description\": \"The IME state should be normal; this value can be used in a user style sheet to override the page setting.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Controls the state of the input method editor for text fields.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-interpolation-mode\",\n \"browsers\": [\n \"IE7\"\n ],\n \"values\": [\n {\n \"name\": \"bicubic\"\n },\n {\n \"name\": \"nearest-neighbor\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Gets or sets the interpolation (resampling) method used to stretch images.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-layout-grid\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"char\",\n \"description\": \"Any of the range of character values available to the -ms-layout-grid-char property.\"\n },\n {\n \"name\": \"line\",\n \"description\": \"Any of the range of line values available to the -ms-layout-grid-line property.\"\n },\n {\n \"name\": \"mode\",\n \"description\": \"Any of the range of mode values available to the -ms-layout-grid-mode property.\"\n },\n {\n \"name\": \"type\",\n \"description\": \"Any of the range of type values available to the -ms-layout-grid-type property.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Sets or retrieves the composite document grid properties that specify the layout of text characters.\"\n },\n {\n \"name\": \"-ms-layout-grid-char\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Largest character in the font of the element is used to set the character grid.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"Default. No character grid is set.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Sets or retrieves the size of the character grid used for rendering the text content of an element.\",\n \"restrictions\": [\n \"enum\",\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"-ms-layout-grid-line\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Largest character in the font of the element is used to set the character grid.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"Default. No grid line is set.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Sets or retrieves the gridline value used for rendering the text content of an element.\",\n \"restrictions\": [\n \"length\"\n ]\n },\n {\n \"name\": \"-ms-layout-grid-mode\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"both\",\n \"description\": \"Default. Both the char and line grid modes are enabled. This setting is necessary to fully enable the layout grid on an element.\"\n },\n {\n \"name\": \"char\",\n \"description\": \"Only a character grid is used. This is recommended for use with block-level elements, such as a blockquote, where the line grid is intended to be disabled.\"\n },\n {\n \"name\": \"line\",\n \"description\": \"Only a line grid is used. This is recommended for use with inline elements, such as a span, to disable the horizontal grid on runs of text that act as a single entity in the grid layout.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"No grid is used.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Gets or sets whether the text layout grid uses two dimensions.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-layout-grid-type\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"fixed\",\n \"description\": \"Grid used for monospaced layout. All noncursive characters are treated as equal; every character is centered within a single grid space by default.\"\n },\n {\n \"name\": \"loose\",\n \"description\": \"Default. Grid used for Japanese and Korean characters.\"\n },\n {\n \"name\": \"strict\",\n \"description\": \"Grid used for Chinese, as well as Japanese (Genko) and Korean characters. Only the ideographs, kanas, and wide characters are snapped to the grid.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Sets or retrieves the type of grid used for rendering the text content of an element.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-line-break\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The UA determines the set of line-breaking restrictions to use for CJK scripts, and it may vary the restrictions based on the length of the line; e.g., use a less restrictive set of line-break rules for short lines.\"\n },\n {\n \"name\": \"keep-all\",\n \"description\": \"Sequences of CJK characters can no longer break on implied break points. This option should only be used where the presence of word separator characters still creates line-breaking opportunities, as in Korean.\"\n },\n {\n \"name\": \"newspaper\",\n \"description\": \"Breaks CJK scripts using the least restrictive set of line-breaking rules. Typically used for short lines, such as in newspapers.\"\n },\n {\n \"name\": \"normal\",\n \"description\": \"Breaks CJK scripts using a normal set of line-breaking rules.\"\n },\n {\n \"name\": \"strict\",\n \"description\": \"Breaks CJK scripts using a more restrictive set of line-breaking rules than 'normal'.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Specifies what set of line breaking restrictions are in effect within the element.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-overflow-style\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"No preference, UA should use the first scrolling method in the list that it supports.\"\n },\n {\n \"name\": \"-ms-autohiding-scrollbar\",\n \"description\": \"Indicates the element displays auto-hiding scrollbars during mouse interactions and panning indicators during touch and keyboard interactions.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"Indicates the element does not display scrollbars or panning indicators, even when its content overflows.\"\n },\n {\n \"name\": \"scrollbar\",\n \"description\": \"Scrollbars are typically narrow strips inserted on one or two edges of an element and which often have arrows to click on and a \\\"thumb\\\" to drag up and down (or left and right) to move the contents of the element.\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"auto | none | scrollbar | -ms-autohiding-scrollbar\",\n \"relevance\": 0,\n \"description\": \"Specify whether content is clipped when it overflows the element's content area.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-perspective\",\n \"browsers\": [\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"No perspective transform is applied.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.\",\n \"restrictions\": [\n \"length\"\n ]\n },\n {\n \"name\": \"-ms-perspective-origin\",\n \"browsers\": [\n \"IE10\"\n ],\n \"relevance\": 50,\n \"description\": \"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.\",\n \"restrictions\": [\n \"position\",\n \"percentage\",\n \"length\"\n ]\n },\n {\n \"name\": \"-ms-perspective-origin-x\",\n \"browsers\": [\n \"IE10\"\n ],\n \"relevance\": 50,\n \"description\": \"Establishes the origin for the perspective property. It effectively sets the X position at which the viewer appears to be looking at the children of the element.\",\n \"restrictions\": [\n \"position\",\n \"percentage\",\n \"length\"\n ]\n },\n {\n \"name\": \"-ms-perspective-origin-y\",\n \"browsers\": [\n \"IE10\"\n ],\n \"relevance\": 50,\n \"description\": \"Establishes the origin for the perspective property. It effectively sets the Y position at which the viewer appears to be looking at the children of the element.\",\n \"restrictions\": [\n \"position\",\n \"percentage\",\n \"length\"\n ]\n },\n {\n \"name\": \"-ms-progress-appearance\",\n \"browsers\": [\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"bar\"\n },\n {\n \"name\": \"ring\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Gets or sets a value that specifies whether a progress control displays as a bar or a ring.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-scrollbar-3dlight-color\",\n \"browsers\": [\n \"IE8\"\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"<color>\",\n \"relevance\": 0,\n \"description\": \"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"-ms-scrollbar-arrow-color\",\n \"browsers\": [\n \"IE8\"\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"<color>\",\n \"relevance\": 0,\n \"description\": \"Determines the color of the arrow elements of a scroll arrow.\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"-ms-scrollbar-base-color\",\n \"browsers\": [\n \"IE8\"\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"<color>\",\n \"relevance\": 0,\n \"description\": \"Determines the color of the main elements of a scroll bar, which include the scroll box, track, and scroll arrows.\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"-ms-scrollbar-darkshadow-color\",\n \"browsers\": [\n \"IE8\"\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"<color>\",\n \"relevance\": 0,\n \"description\": \"Determines the color of the gutter of a scroll bar.\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"-ms-scrollbar-face-color\",\n \"browsers\": [\n \"IE8\"\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"<color>\",\n \"relevance\": 0,\n \"description\": \"Determines the color of the scroll box and scroll arrows of a scroll bar.\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"-ms-scrollbar-highlight-color\",\n \"browsers\": [\n \"IE8\"\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"<color>\",\n \"relevance\": 0,\n \"description\": \"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"-ms-scrollbar-shadow-color\",\n \"browsers\": [\n \"IE8\"\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"<color>\",\n \"relevance\": 0,\n \"description\": \"Determines the color of the bottom and right edges of the scroll box and scroll arrows of a scroll bar.\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"-ms-scrollbar-track-color\",\n \"browsers\": [\n \"IE5\"\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"<color>\",\n \"relevance\": 0,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-ms-scrollbar-track-color\"\n }\n ],\n \"description\": \"Determines the color of the track element of a scroll bar.\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"-ms-scroll-chaining\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"chained\"\n },\n {\n \"name\": \"none\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"chained | none\",\n \"relevance\": 0,\n \"description\": \"Gets or sets a value that indicates the scrolling behavior that occurs when a user hits the content boundary during a manipulation.\",\n \"restrictions\": [\n \"enum\",\n \"length\"\n ]\n },\n {\n \"name\": \"-ms-scroll-limit\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"auto\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>\",\n \"relevance\": 0,\n \"description\": \"Gets or sets a shorthand value that sets values for the -ms-scroll-limit-x-min, -ms-scroll-limit-y-min, -ms-scroll-limit-x-max, and -ms-scroll-limit-y-max properties.\",\n \"restrictions\": [\n \"length\"\n ]\n },\n {\n \"name\": \"-ms-scroll-limit-x-max\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"auto\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"auto | <length>\",\n \"relevance\": 0,\n \"description\": \"Gets or sets a value that specifies the maximum value for the scrollLeft property.\",\n \"restrictions\": [\n \"length\"\n ]\n },\n {\n \"name\": \"-ms-scroll-limit-x-min\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"<length>\",\n \"relevance\": 0,\n \"description\": \"Gets or sets a value that specifies the minimum value for the scrollLeft property.\",\n \"restrictions\": [\n \"length\"\n ]\n },\n {\n \"name\": \"-ms-scroll-limit-y-max\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"auto\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"auto | <length>\",\n \"relevance\": 0,\n \"description\": \"Gets or sets a value that specifies the maximum value for the scrollTop property.\",\n \"restrictions\": [\n \"length\"\n ]\n },\n {\n \"name\": \"-ms-scroll-limit-y-min\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"<length>\",\n \"relevance\": 0,\n \"description\": \"Gets or sets a value that specifies the minimum value for the scrollTop property.\",\n \"restrictions\": [\n \"length\"\n ]\n },\n {\n \"name\": \"-ms-scroll-rails\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"none\"\n },\n {\n \"name\": \"railed\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"none | railed\",\n \"relevance\": 0,\n \"description\": \"Gets or sets a value that indicates whether or not small motions perpendicular to the primary axis of motion will result in either changes to both the scrollTop and scrollLeft properties or a change to the primary axis (for instance, either the scrollTop or scrollLeft properties will change, but not both).\",\n \"restrictions\": [\n \"enum\",\n \"length\"\n ]\n },\n {\n \"name\": \"-ms-scroll-snap-points-x\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"snapInterval(100%, 100%)\"\n },\n {\n \"name\": \"snapList()\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"snapInterval( <length-percentage>, <length-percentage> ) | snapList( <length-percentage># )\",\n \"relevance\": 0,\n \"description\": \"Gets or sets a value that defines where snap-points will be located along the x-axis.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-scroll-snap-points-y\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"snapInterval(100%, 100%)\"\n },\n {\n \"name\": \"snapList()\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"snapInterval( <length-percentage>, <length-percentage> ) | snapList( <length-percentage># )\",\n \"relevance\": 0,\n \"description\": \"Gets or sets a value that defines where snap-points will be located along the y-axis.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-scroll-snap-type\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"The visual viewport of this scroll container must ignore snap points, if any, when scrolled.\"\n },\n {\n \"name\": \"mandatory\",\n \"description\": \"The visual viewport of this scroll container is guaranteed to rest on a snap point when there are no active scrolling operations.\"\n },\n {\n \"name\": \"proximity\",\n \"description\": \"The visual viewport of this scroll container may come to rest on a snap point at the termination of a scroll at the discretion of the UA given the parameters of the scroll.\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"none | proximity | mandatory\",\n \"relevance\": 0,\n \"description\": \"Gets or sets a value that defines what type of snap-point should be used for the current element. There are two type of snap-points, with the primary difference being whether or not the user is guaranteed to always stop on a snap-point.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-scroll-snap-x\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"mandatory\"\n },\n {\n \"name\": \"none\"\n },\n {\n \"name\": \"proximity\"\n },\n {\n \"name\": \"snapInterval(100%, 100%)\"\n },\n {\n \"name\": \"snapList()\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>\",\n \"relevance\": 0,\n \"description\": \"Gets or sets a shorthand value that sets values for the -ms-scroll-snap-type and -ms-scroll-snap-points-x properties.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-scroll-snap-y\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"mandatory\"\n },\n {\n \"name\": \"none\"\n },\n {\n \"name\": \"proximity\"\n },\n {\n \"name\": \"snapInterval(100%, 100%)\"\n },\n {\n \"name\": \"snapList()\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>\",\n \"relevance\": 0,\n \"description\": \"Gets or sets a shorthand value that sets values for the -ms-scroll-snap-type and -ms-scroll-snap-points-y properties.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-scroll-translation\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"none\"\n },\n {\n \"name\": \"vertical-to-horizontal\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"none | vertical-to-horizontal\",\n \"relevance\": 0,\n \"description\": \"Gets or sets a value that specifies whether vertical-to-horizontal scroll wheel translation occurs on the specified element.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-text-align-last\",\n \"browsers\": [\n \"E\",\n \"IE8\"\n ],\n \"values\": [\n {\n \"name\": \"auto\"\n },\n {\n \"name\": \"center\",\n \"description\": \"The inline contents are centered within the line box.\"\n },\n {\n \"name\": \"justify\",\n \"description\": \"The text is justified according to the method specified by the 'text-justify' property.\"\n },\n {\n \"name\": \"left\",\n \"description\": \"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text.\"\n },\n {\n \"name\": \"right\",\n \"description\": \"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-text-autospace\",\n \"browsers\": [\n \"E\",\n \"IE8\"\n ],\n \"values\": [\n {\n \"name\": \"ideograph-alpha\",\n \"description\": \"Creates 1/4em extra spacing between runs of ideographic letters and non-ideographic letters, such as Latin-based, Cyrillic, Greek, Arabic or Hebrew.\"\n },\n {\n \"name\": \"ideograph-numeric\",\n \"description\": \"Creates 1/4em extra spacing between runs of ideographic letters and numeric glyphs.\"\n },\n {\n \"name\": \"ideograph-parenthesis\",\n \"description\": \"Creates extra spacing between normal (non wide) parenthesis and ideographs.\"\n },\n {\n \"name\": \"ideograph-space\",\n \"description\": \"Extends the width of the space character while surrounded by ideographs.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"No extra space is created.\"\n },\n {\n \"name\": \"punctuation\",\n \"description\": \"Creates extra non-breaking spacing around punctuation as required by language-specific typographic conventions.\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"none | ideograph-alpha | ideograph-numeric | ideograph-parenthesis | ideograph-space\",\n \"relevance\": 0,\n \"description\": \"Determines whether or not a full-width punctuation mark character should be trimmed if it appears at the beginning of a line, so that its 'ink' lines up with the first glyph in the line above and below.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-text-combine-horizontal\",\n \"browsers\": [\n \"E\",\n \"IE11\"\n ],\n \"values\": [\n {\n \"name\": \"all\",\n \"description\": \"Attempt to typeset horizontally all consecutive characters within the box such that they take up the space of a single character within the vertical line box.\"\n },\n {\n \"name\": \"digits\",\n \"description\": \"Attempt to typeset horizontally each maximal sequence of consecutive ASCII digits (U+0030–U+0039) that has as many or fewer characters than the specified integer such that it takes up the space of a single character within the vertical line box.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"No special processing.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"This property specifies the combination of multiple characters into the space of a single character.\",\n \"restrictions\": [\n \"enum\",\n \"integer\"\n ]\n },\n {\n \"name\": \"-ms-text-justify\",\n \"browsers\": [\n \"E\",\n \"IE8\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The UA determines the justification algorithm to follow, based on a balance between performance and adequate presentation quality.\"\n },\n {\n \"name\": \"distribute\",\n \"description\": \"Justification primarily changes spacing both at word separators and at grapheme cluster boundaries in all scripts except those in the connected and cursive groups. This value is sometimes used in e.g. Japanese, often with the 'text-align-last' property.\"\n },\n {\n \"name\": \"inter-cluster\",\n \"description\": \"Justification primarily changes spacing at word separators and at grapheme cluster boundaries in clustered scripts. This value is typically used for Southeast Asian scripts such as Thai.\"\n },\n {\n \"name\": \"inter-ideograph\",\n \"description\": \"Justification primarily changes spacing at word separators and at inter-graphemic boundaries in scripts that use no word spaces. This value is typically used for CJK languages.\"\n },\n {\n \"name\": \"inter-word\",\n \"description\": \"Justification primarily changes spacing at word separators. This value is typically used for languages that separate words using spaces, like English or (sometimes) Korean.\"\n },\n {\n \"name\": \"kashida\",\n \"description\": \"Justification primarily stretches Arabic and related scripts through the use of kashida or other calligraphic elongation.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Selects the justification algorithm used when 'text-align' is set to 'justify'. The property applies to block containers, but the UA may (but is not required to) also support it on inline elements.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-text-kashida-space\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"relevance\": 50,\n \"description\": \"Sets or retrieves the ratio of kashida expansion to white space expansion when justifying lines of text in the object.\",\n \"restrictions\": [\n \"percentage\"\n ]\n },\n {\n \"name\": \"-ms-text-overflow\",\n \"browsers\": [\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"clip\",\n \"description\": \"Clip inline content that overflows. Characters may be only partially rendered.\"\n },\n {\n \"name\": \"ellipsis\",\n \"description\": \"Render an ellipsis character (U+2026) to represent clipped inline content.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Text can overflow for example when it is prevented from wrapping\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-text-size-adjust\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Renderers must use the default size adjustment when displaying on a small device.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"Renderers must not do size adjustment when displaying on a small device.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Specifies a size adjustment for displaying text content in mobile browsers.\",\n \"restrictions\": [\n \"enum\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"-ms-text-underline-position\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"alphabetic\",\n \"description\": \"The underline is aligned with the alphabetic baseline. In this case the underline is likely to cross some descenders.\"\n },\n {\n \"name\": \"auto\",\n \"description\": \"The user agent may use any algorithm to determine the underline's position. In horizontal line layout, the underline should be aligned as for alphabetic. In vertical line layout, if the language is set to Japanese or Korean, the underline should be aligned as for over.\"\n },\n {\n \"name\": \"over\",\n \"description\": \"The underline is aligned with the 'top' (right in vertical writing) edge of the element's em-box. In this mode, an overline also switches sides.\"\n },\n {\n \"name\": \"under\",\n \"description\": \"The underline is aligned with the 'bottom' (left in vertical writing) edge of the element's em-box. In this case the underline usually does not cross the descenders. This is sometimes called 'accounting' underline.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Sets the position of an underline specified on the same element: it does not affect underlines specified by ancestor elements.This property is typically used in vertical writing contexts such as in Japanese documents where it often desired to have the underline appear 'over' (to the right of) the affected run of text\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-touch-action\",\n \"browsers\": [\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The element is a passive element, with several exceptions.\"\n },\n {\n \"name\": \"double-tap-zoom\",\n \"description\": \"The element will zoom on double-tap.\"\n },\n {\n \"name\": \"manipulation\",\n \"description\": \"The element is a manipulation-causing element.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"The element is a manipulation-blocking element.\"\n },\n {\n \"name\": \"pan-x\",\n \"description\": \"The element permits touch-driven panning on the horizontal axis. The touch pan is performed on the nearest ancestor with horizontally scrollable content.\"\n },\n {\n \"name\": \"pan-y\",\n \"description\": \"The element permits touch-driven panning on the vertical axis. The touch pan is performed on the nearest ancestor with vertically scrollable content.\"\n },\n {\n \"name\": \"pinch-zoom\",\n \"description\": \"The element permits pinch-zooming. The pinch-zoom is performed on the nearest ancestor with zoomable content.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Gets or sets a value that indicates whether and how a given region can be manipulated by the user.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-touch-select\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"grippers\",\n \"description\": \"Grippers are always on.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"Grippers are always off.\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"grippers | none\",\n \"relevance\": 0,\n \"description\": \"Gets or sets a value that toggles the 'gripper' visual elements that enable touch text selection.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-transform\",\n \"browsers\": [\n \"IE9-9\"\n ],\n \"values\": [\n {\n \"name\": \"matrix()\",\n \"description\": \"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]\"\n },\n {\n \"name\": \"matrix3d()\",\n \"description\": \"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order.\"\n },\n {\n \"name\": \"none\"\n },\n {\n \"name\": \"rotate()\",\n \"description\": \"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property.\"\n },\n {\n \"name\": \"rotate3d()\",\n \"description\": \"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters.\"\n },\n {\n \"name\": \"rotateX('angle')\",\n \"description\": \"Specifies a clockwise rotation by the given angle about the X axis.\"\n },\n {\n \"name\": \"rotateY('angle')\",\n \"description\": \"Specifies a clockwise rotation by the given angle about the Y axis.\"\n },\n {\n \"name\": \"rotateZ('angle')\",\n \"description\": \"Specifies a clockwise rotation by the given angle about the Z axis.\"\n },\n {\n \"name\": \"scale()\",\n \"description\": \"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first.\"\n },\n {\n \"name\": \"scale3d()\",\n \"description\": \"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters.\"\n },\n {\n \"name\": \"scaleX()\",\n \"description\": \"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter.\"\n },\n {\n \"name\": \"scaleY()\",\n \"description\": \"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter.\"\n },\n {\n \"name\": \"scaleZ()\",\n \"description\": \"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter.\"\n },\n {\n \"name\": \"skew()\",\n \"description\": \"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis).\"\n },\n {\n \"name\": \"skewX()\",\n \"description\": \"Specifies a skew transformation along the X axis by the given angle.\"\n },\n {\n \"name\": \"skewY()\",\n \"description\": \"Specifies a skew transformation along the Y axis by the given angle.\"\n },\n {\n \"name\": \"translate()\",\n \"description\": \"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter.\"\n },\n {\n \"name\": \"translate3d()\",\n \"description\": \"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively.\"\n },\n {\n \"name\": \"translateX()\",\n \"description\": \"Specifies a translation by the given amount in the X direction.\"\n },\n {\n \"name\": \"translateY()\",\n \"description\": \"Specifies a translation by the given amount in the Y direction.\"\n },\n {\n \"name\": \"translateZ()\",\n \"description\": \"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-transform-origin\",\n \"browsers\": [\n \"IE9-9\"\n ],\n \"relevance\": 50,\n \"description\": \"Establishes the origin of transformation for an element.\",\n \"restrictions\": [\n \"position\",\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"-ms-transform-origin-x\",\n \"browsers\": [\n \"IE10\"\n ],\n \"relevance\": 50,\n \"description\": \"The x coordinate of the origin for transforms applied to an element with respect to its border box.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"-ms-transform-origin-y\",\n \"browsers\": [\n \"IE10\"\n ],\n \"relevance\": 50,\n \"description\": \"The y coordinate of the origin for transforms applied to an element with respect to its border box.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"-ms-transform-origin-z\",\n \"browsers\": [\n \"IE10\"\n ],\n \"relevance\": 50,\n \"description\": \"The z coordinate of the origin for transforms applied to an element with respect to its border box.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"-ms-user-select\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"element\"\n },\n {\n \"name\": \"none\"\n },\n {\n \"name\": \"text\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"none | element | text\",\n \"relevance\": 0,\n \"description\": \"Controls the appearance of selection.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-word-break\",\n \"browsers\": [\n \"IE8\"\n ],\n \"values\": [\n {\n \"name\": \"break-all\",\n \"description\": \"Lines may break between any two grapheme clusters for non-CJK scripts.\"\n },\n {\n \"name\": \"keep-all\",\n \"description\": \"Block characters can no longer create implied break points.\"\n },\n {\n \"name\": \"normal\",\n \"description\": \"Breaks non-CJK scripts according to their own rules.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Specifies line break opportunities for non-CJK scripts.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-word-wrap\",\n \"browsers\": [\n \"IE8\"\n ],\n \"values\": [\n {\n \"name\": \"break-word\",\n \"description\": \"An unbreakable 'word' may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line.\"\n },\n {\n \"name\": \"normal\",\n \"description\": \"Lines may break only at allowed break points.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-wrap-flow\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"For floats an exclusion is created, for all other elements an exclusion is not created.\"\n },\n {\n \"name\": \"both\",\n \"description\": \"Inline flow content can flow on all sides of the exclusion.\"\n },\n {\n \"name\": \"clear\",\n \"description\": \"Inline flow content can only wrap on top and bottom of the exclusion and must leave the areas to the start and end edges of the exclusion box empty.\"\n },\n {\n \"name\": \"end\",\n \"description\": \"Inline flow content can wrap on the end side of the exclusion area but must leave the area to the start edge of the exclusion area empty.\"\n },\n {\n \"name\": \"maximum\",\n \"description\": \"Inline flow content can wrap on the side of the exclusion with the largest available space for the given line, and must leave the other side of the exclusion empty.\"\n },\n {\n \"name\": \"minimum\",\n \"description\": \"Inline flow content can flow around the edge of the exclusion with the smallest available space within the flow content’s containing block, and must leave the other edge of the exclusion empty.\"\n },\n {\n \"name\": \"start\",\n \"description\": \"Inline flow content can wrap on the start edge of the exclusion area but must leave the area to end edge of the exclusion area empty.\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"auto | both | start | end | maximum | clear\",\n \"relevance\": 0,\n \"description\": \"An element becomes an exclusion when its 'wrap-flow' property has a computed value other than 'auto'.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-wrap-margin\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"<length>\",\n \"relevance\": 0,\n \"description\": \"Gets or sets a value that is used to offset the inner wrap shape from other shapes.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"-ms-wrap-through\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"The exclusion element does not inherit its parent node's wrapping context. Its descendants are only subject to exclusion shapes defined inside the element.\"\n },\n {\n \"name\": \"wrap\",\n \"description\": \"The exclusion element inherits its parent node's wrapping context. Its descendant inline content wraps around exclusions defined outside the element.\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"wrap | none\",\n \"relevance\": 0,\n \"description\": \"Specifies if an element inherits its parent wrapping context. In other words if it is subject to the exclusions defined outside the element.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-writing-mode\",\n \"browsers\": [\n \"IE8\"\n ],\n \"values\": [\n {\n \"name\": \"bt-lr\"\n },\n {\n \"name\": \"bt-rl\"\n },\n {\n \"name\": \"lr-bt\"\n },\n {\n \"name\": \"lr-tb\"\n },\n {\n \"name\": \"rl-bt\"\n },\n {\n \"name\": \"rl-tb\"\n },\n {\n \"name\": \"tb-lr\"\n },\n {\n \"name\": \"tb-rl\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Shorthand property for both 'direction' and 'block-progression'.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-ms-zoom\",\n \"browsers\": [\n \"IE8\"\n ],\n \"values\": [\n {\n \"name\": \"normal\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Sets or retrieves the magnification scale of the object.\",\n \"restrictions\": [\n \"enum\",\n \"integer\",\n \"number\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"-ms-zoom-animation\",\n \"browsers\": [\n \"IE10\"\n ],\n \"values\": [\n {\n \"name\": \"default\"\n },\n {\n \"name\": \"none\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Gets or sets a value that indicates whether an animation is used when zooming.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"nav-down\",\n \"browsers\": [\n \"O9.5\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The user agent automatically determines which element to navigate the focus to in response to directional navigational input.\"\n },\n {\n \"name\": \"current\",\n \"description\": \"Indicates that the user agent should target the frame that the element is in.\"\n },\n {\n \"name\": \"root\",\n \"description\": \"Indicates that the user agent should target the full window.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Provides an way to control directional focus navigation.\",\n \"restrictions\": [\n \"enum\",\n \"identifier\",\n \"string\"\n ]\n },\n {\n \"name\": \"nav-index\",\n \"browsers\": [\n \"O9.5\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The element's sequential navigation order is assigned automatically by the user agent.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Provides an input-method-neutral way of specifying the sequential navigation order (also known as 'tabbing order').\",\n \"restrictions\": [\n \"number\"\n ]\n },\n {\n \"name\": \"nav-left\",\n \"browsers\": [\n \"O9.5\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The user agent automatically determines which element to navigate the focus to in response to directional navigational input.\"\n },\n {\n \"name\": \"current\",\n \"description\": \"Indicates that the user agent should target the frame that the element is in.\"\n },\n {\n \"name\": \"root\",\n \"description\": \"Indicates that the user agent should target the full window.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Provides an way to control directional focus navigation.\",\n \"restrictions\": [\n \"enum\",\n \"identifier\",\n \"string\"\n ]\n },\n {\n \"name\": \"nav-right\",\n \"browsers\": [\n \"O9.5\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The user agent automatically determines which element to navigate the focus to in response to directional navigational input.\"\n },\n {\n \"name\": \"current\",\n \"description\": \"Indicates that the user agent should target the frame that the element is in.\"\n },\n {\n \"name\": \"root\",\n \"description\": \"Indicates that the user agent should target the full window.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Provides an way to control directional focus navigation.\",\n \"restrictions\": [\n \"enum\",\n \"identifier\",\n \"string\"\n ]\n },\n {\n \"name\": \"nav-up\",\n \"browsers\": [\n \"O9.5\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The user agent automatically determines which element to navigate the focus to in response to directional navigational input.\"\n },\n {\n \"name\": \"current\",\n \"description\": \"Indicates that the user agent should target the frame that the element is in.\"\n },\n {\n \"name\": \"root\",\n \"description\": \"Indicates that the user agent should target the full window.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Provides an way to control directional focus navigation.\",\n \"restrictions\": [\n \"enum\",\n \"identifier\",\n \"string\"\n ]\n },\n {\n \"name\": \"negative\",\n \"browsers\": [\n \"FF33\"\n ],\n \"syntax\": \"<symbol> <symbol>?\",\n \"relevance\": 50,\n \"description\": \"@counter-style descriptor. Defines how to alter the representation when the counter value is negative.\",\n \"restrictions\": [\n \"image\",\n \"identifier\",\n \"string\"\n ]\n },\n {\n \"name\": \"-o-animation\",\n \"browsers\": [\n \"O12\"\n ],\n \"values\": [\n {\n \"name\": \"alternate\",\n \"description\": \"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction.\"\n },\n {\n \"name\": \"alternate-reverse\",\n \"description\": \"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction.\"\n },\n {\n \"name\": \"backwards\",\n \"description\": \"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'.\"\n },\n {\n \"name\": \"both\",\n \"description\": \"Both forwards and backwards fill modes are applied.\"\n },\n {\n \"name\": \"forwards\",\n \"description\": \"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes.\"\n },\n {\n \"name\": \"infinite\",\n \"description\": \"Causes the animation to repeat forever.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"No animation is performed\"\n },\n {\n \"name\": \"normal\",\n \"description\": \"Normal playback.\"\n },\n {\n \"name\": \"reverse\",\n \"description\": \"All iterations of the animation are played in the reverse direction from the way they were specified.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Shorthand property combines six of the animation properties into a single property.\",\n \"restrictions\": [\n \"time\",\n \"enum\",\n \"timing-function\",\n \"identifier\",\n \"number\"\n ]\n },\n {\n \"name\": \"-o-animation-delay\",\n \"browsers\": [\n \"O12\"\n ],\n \"relevance\": 50,\n \"description\": \"Defines when the animation will start.\",\n \"restrictions\": [\n \"time\"\n ]\n },\n {\n \"name\": \"-o-animation-direction\",\n \"browsers\": [\n \"O12\"\n ],\n \"values\": [\n {\n \"name\": \"alternate\",\n \"description\": \"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction.\"\n },\n {\n \"name\": \"alternate-reverse\",\n \"description\": \"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction.\"\n },\n {\n \"name\": \"normal\",\n \"description\": \"Normal playback.\"\n },\n {\n \"name\": \"reverse\",\n \"description\": \"All iterations of the animation are played in the reverse direction from the way they were specified.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Defines whether or not the animation should play in reverse on alternate cycles.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-o-animation-duration\",\n \"browsers\": [\n \"O12\"\n ],\n \"relevance\": 50,\n \"description\": \"Defines the length of time that an animation takes to complete one cycle.\",\n \"restrictions\": [\n \"time\"\n ]\n },\n {\n \"name\": \"-o-animation-fill-mode\",\n \"browsers\": [\n \"O12\"\n ],\n \"values\": [\n {\n \"name\": \"backwards\",\n \"description\": \"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'.\"\n },\n {\n \"name\": \"both\",\n \"description\": \"Both forwards and backwards fill modes are applied.\"\n },\n {\n \"name\": \"forwards\",\n \"description\": \"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Defines what values are applied by the animation outside the time it is executing.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-o-animation-iteration-count\",\n \"browsers\": [\n \"O12\"\n ],\n \"values\": [\n {\n \"name\": \"infinite\",\n \"description\": \"Causes the animation to repeat forever.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.\",\n \"restrictions\": [\n \"number\",\n \"enum\"\n ]\n },\n {\n \"name\": \"-o-animation-name\",\n \"browsers\": [\n \"O12\"\n ],\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"No animation is performed\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.\",\n \"restrictions\": [\n \"identifier\",\n \"enum\"\n ]\n },\n {\n \"name\": \"-o-animation-play-state\",\n \"browsers\": [\n \"O12\"\n ],\n \"values\": [\n {\n \"name\": \"paused\",\n \"description\": \"A running animation will be paused.\"\n },\n {\n \"name\": \"running\",\n \"description\": \"Resume playback of a paused animation.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Defines whether the animation is running or paused.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-o-animation-timing-function\",\n \"browsers\": [\n \"O12\"\n ],\n \"relevance\": 50,\n \"description\": \"Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.\",\n \"restrictions\": [\n \"timing-function\"\n ]\n },\n {\n \"name\": \"object-fit\",\n \"browsers\": [\n \"E16\",\n \"FF36\",\n \"S10\",\n \"C31\",\n \"O19\"\n ],\n \"values\": [\n {\n \"name\": \"contain\",\n \"description\": \"The replaced content is sized to maintain its aspect ratio while fitting within the element’s content box: its concrete object size is resolved as a contain constraint against the element's used width and height.\"\n },\n {\n \"name\": \"cover\",\n \"description\": \"The replaced content is sized to maintain its aspect ratio while filling the element's entire content box: its concrete object size is resolved as a cover constraint against the element’s used width and height.\"\n },\n {\n \"name\": \"fill\",\n \"description\": \"The replaced content is sized to fill the element’s content box: the object's concrete object size is the element's used width and height.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"The replaced content is not resized to fit inside the element's content box\"\n },\n {\n \"name\": \"scale-down\",\n \"description\": \"Size the content as if ‘none’ or ‘contain’ were specified, whichever would result in a smaller concrete object size.\"\n }\n ],\n \"syntax\": \"fill | contain | cover | none | scale-down\",\n \"relevance\": 64,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/object-fit\"\n }\n ],\n \"description\": \"Specifies how the contents of a replaced element should be scaled relative to the box established by its used height and width.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"object-position\",\n \"browsers\": [\n \"E16\",\n \"FF36\",\n \"S10\",\n \"C31\",\n \"O19\"\n ],\n \"syntax\": \"<position>\",\n \"relevance\": 53,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/object-position\"\n }\n ],\n \"description\": \"Determines the alignment of the replaced element inside its box.\",\n \"restrictions\": [\n \"position\",\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"-o-border-image\",\n \"browsers\": [\n \"O11.6\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead.\"\n },\n {\n \"name\": \"fill\",\n \"description\": \"Causes the middle part of the border-image to be preserved.\"\n },\n {\n \"name\": \"none\"\n },\n {\n \"name\": \"repeat\",\n \"description\": \"The image is tiled (repeated) to fill the area.\"\n },\n {\n \"name\": \"round\",\n \"description\": \"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does.\"\n },\n {\n \"name\": \"space\",\n \"description\": \"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles.\"\n },\n {\n \"name\": \"stretch\",\n \"description\": \"The image is stretched to fill the area.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.\",\n \"restrictions\": [\n \"length\",\n \"percentage\",\n \"number\",\n \"image\",\n \"enum\"\n ]\n },\n {\n \"name\": \"-o-object-fit\",\n \"browsers\": [\n \"O10.6\"\n ],\n \"values\": [\n {\n \"name\": \"contain\",\n \"description\": \"The replaced content is sized to maintain its aspect ratio while fitting within the element’s content box: its concrete object size is resolved as a contain constraint against the element's used width and height.\"\n },\n {\n \"name\": \"cover\",\n \"description\": \"The replaced content is sized to maintain its aspect ratio while filling the element's entire content box: its concrete object size is resolved as a cover constraint against the element’s used width and height.\"\n },\n {\n \"name\": \"fill\",\n \"description\": \"The replaced content is sized to fill the element’s content box: the object's concrete object size is the element's used width and height.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"The replaced content is not resized to fit inside the element's content box\"\n },\n {\n \"name\": \"scale-down\",\n \"description\": \"Size the content as if ‘none’ or ‘contain’ were specified, whichever would result in a smaller concrete object size.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Specifies how the contents of a replaced element should be scaled relative to the box established by its used height and width.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-o-object-position\",\n \"browsers\": [\n \"O10.6\"\n ],\n \"relevance\": 50,\n \"description\": \"Determines the alignment of the replaced element inside its box.\",\n \"restrictions\": [\n \"position\",\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"opacity\",\n \"syntax\": \"<alpha-value>\",\n \"relevance\": 93,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/opacity\"\n }\n ],\n \"description\": \"Opacity of an element's text, where 1 is opaque and 0 is entirely transparent.\",\n \"restrictions\": [\n \"number(0-1)\"\n ]\n },\n {\n \"name\": \"order\",\n \"syntax\": \"<integer>\",\n \"relevance\": 62,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/order\"\n }\n ],\n \"description\": \"Controls the order in which children of a flex container appear within the flex container, by assigning them to ordinal groups.\",\n \"restrictions\": [\n \"integer\"\n ]\n },\n {\n \"name\": \"orphans\",\n \"browsers\": [\n \"E12\",\n \"S1.3\",\n \"C25\",\n \"IE8\",\n \"O9.2\"\n ],\n \"syntax\": \"<integer>\",\n \"relevance\": 51,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/orphans\"\n }\n ],\n \"description\": \"Specifies the minimum number of line boxes in a block container that must be left in a fragment before a fragmentation break.\",\n \"restrictions\": [\n \"integer\"\n ]\n },\n {\n \"name\": \"-o-table-baseline\",\n \"browsers\": [\n \"O9.6\"\n ],\n \"relevance\": 50,\n \"description\": \"Determines which row of a inline-table should be used as baseline of inline-table.\",\n \"restrictions\": [\n \"integer\"\n ]\n },\n {\n \"name\": \"-o-tab-size\",\n \"browsers\": [\n \"O10.6\"\n ],\n \"relevance\": 50,\n \"description\": \"This property determines the width of the tab character (U+0009), in space characters (U+0020), when rendered.\",\n \"restrictions\": [\n \"integer\",\n \"length\"\n ]\n },\n {\n \"name\": \"-o-text-overflow\",\n \"browsers\": [\n \"O10\"\n ],\n \"values\": [\n {\n \"name\": \"clip\",\n \"description\": \"Clip inline content that overflows. Characters may be only partially rendered.\"\n },\n {\n \"name\": \"ellipsis\",\n \"description\": \"Render an ellipsis character (U+2026) to represent clipped inline content.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Text can overflow for example when it is prevented from wrapping\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-o-transform\",\n \"browsers\": [\n \"O10.5\"\n ],\n \"values\": [\n {\n \"name\": \"matrix()\",\n \"description\": \"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]\"\n },\n {\n \"name\": \"matrix3d()\",\n \"description\": \"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order.\"\n },\n {\n \"name\": \"none\"\n },\n {\n \"name\": \"rotate()\",\n \"description\": \"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property.\"\n },\n {\n \"name\": \"rotate3d()\",\n \"description\": \"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters.\"\n },\n {\n \"name\": \"rotateX('angle')\",\n \"description\": \"Specifies a clockwise rotation by the given angle about the X axis.\"\n },\n {\n \"name\": \"rotateY('angle')\",\n \"description\": \"Specifies a clockwise rotation by the given angle about the Y axis.\"\n },\n {\n \"name\": \"rotateZ('angle')\",\n \"description\": \"Specifies a clockwise rotation by the given angle about the Z axis.\"\n },\n {\n \"name\": \"scale()\",\n \"description\": \"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first.\"\n },\n {\n \"name\": \"scale3d()\",\n \"description\": \"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters.\"\n },\n {\n \"name\": \"scaleX()\",\n \"description\": \"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter.\"\n },\n {\n \"name\": \"scaleY()\",\n \"description\": \"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter.\"\n },\n {\n \"name\": \"scaleZ()\",\n \"description\": \"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter.\"\n },\n {\n \"name\": \"skew()\",\n \"description\": \"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis).\"\n },\n {\n \"name\": \"skewX()\",\n \"description\": \"Specifies a skew transformation along the X axis by the given angle.\"\n },\n {\n \"name\": \"skewY()\",\n \"description\": \"Specifies a skew transformation along the Y axis by the given angle.\"\n },\n {\n \"name\": \"translate()\",\n \"description\": \"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter.\"\n },\n {\n \"name\": \"translate3d()\",\n \"description\": \"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively.\"\n },\n {\n \"name\": \"translateX()\",\n \"description\": \"Specifies a translation by the given amount in the X direction.\"\n },\n {\n \"name\": \"translateY()\",\n \"description\": \"Specifies a translation by the given amount in the Y direction.\"\n },\n {\n \"name\": \"translateZ()\",\n \"description\": \"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-o-transform-origin\",\n \"browsers\": [\n \"O10.5\"\n ],\n \"relevance\": 50,\n \"description\": \"Establishes the origin of transformation for an element.\",\n \"restrictions\": [\n \"positon\",\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"-o-transition\",\n \"browsers\": [\n \"O11.5\"\n ],\n \"values\": [\n {\n \"name\": \"all\",\n \"description\": \"Every property that is able to undergo a transition will do so.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"No property will transition.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Shorthand property combines four of the transition properties into a single property.\",\n \"restrictions\": [\n \"time\",\n \"property\",\n \"timing-function\",\n \"enum\"\n ]\n },\n {\n \"name\": \"-o-transition-delay\",\n \"browsers\": [\n \"O11.5\"\n ],\n \"relevance\": 50,\n \"description\": \"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.\",\n \"restrictions\": [\n \"time\"\n ]\n },\n {\n \"name\": \"-o-transition-duration\",\n \"browsers\": [\n \"O11.5\"\n ],\n \"relevance\": 50,\n \"description\": \"Specifies how long the transition from the old value to the new value should take.\",\n \"restrictions\": [\n \"time\"\n ]\n },\n {\n \"name\": \"-o-transition-property\",\n \"browsers\": [\n \"O11.5\"\n ],\n \"values\": [\n {\n \"name\": \"all\",\n \"description\": \"Every property that is able to undergo a transition will do so.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"No property will transition.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Specifies the name of the CSS property to which the transition is applied.\",\n \"restrictions\": [\n \"property\"\n ]\n },\n {\n \"name\": \"-o-transition-timing-function\",\n \"browsers\": [\n \"O11.5\"\n ],\n \"relevance\": 50,\n \"description\": \"Describes how the intermediate values used during a transition will be calculated.\",\n \"restrictions\": [\n \"timing-function\"\n ]\n },\n {\n \"name\": \"offset-block-end\",\n \"browsers\": [\n \"FF41\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Logical 'bottom'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"offset-block-start\",\n \"browsers\": [\n \"FF41\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Logical 'top'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"offset-inline-end\",\n \"browsers\": [\n \"FF41\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Logical 'right'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"offset-inline-start\",\n \"browsers\": [\n \"FF41\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Logical 'left'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"outline\",\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Permits the user agent to render a custom outline style, typically the default platform style.\"\n },\n {\n \"name\": \"invert\",\n \"description\": \"Performs a color inversion on the pixels on the screen.\"\n }\n ],\n \"syntax\": \"[ <'outline-color'> || <'outline-style'> || <'outline-width'> ]\",\n \"relevance\": 88,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/outline\"\n }\n ],\n \"description\": \"Shorthand property for 'outline-style', 'outline-width', and 'outline-color'.\",\n \"restrictions\": [\n \"length\",\n \"line-width\",\n \"line-style\",\n \"color\",\n \"enum\"\n ]\n },\n {\n \"name\": \"outline-color\",\n \"values\": [\n {\n \"name\": \"invert\",\n \"description\": \"Performs a color inversion on the pixels on the screen.\"\n }\n ],\n \"syntax\": \"<color> | invert\",\n \"relevance\": 53,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/outline-color\"\n }\n ],\n \"description\": \"The color of the outline.\",\n \"restrictions\": [\n \"enum\",\n \"color\"\n ]\n },\n {\n \"name\": \"outline-offset\",\n \"browsers\": [\n \"E15\",\n \"FF1.5\",\n \"S1.2\",\n \"C1\",\n \"O9.5\"\n ],\n \"syntax\": \"<length>\",\n \"relevance\": 65,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/outline-offset\"\n }\n ],\n \"description\": \"Offset the outline and draw it beyond the border edge.\",\n \"restrictions\": [\n \"length\"\n ]\n },\n {\n \"name\": \"outline-style\",\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Permits the user agent to render a custom outline style, typically the default platform style.\"\n }\n ],\n \"syntax\": \"auto | <'border-style'>\",\n \"relevance\": 61,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/outline-style\"\n }\n ],\n \"description\": \"Style of the outline.\",\n \"restrictions\": [\n \"line-style\",\n \"enum\"\n ]\n },\n {\n \"name\": \"outline-width\",\n \"syntax\": \"<line-width>\",\n \"relevance\": 61,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/outline-width\"\n }\n ],\n \"description\": \"Width of the outline.\",\n \"restrictions\": [\n \"length\",\n \"line-width\"\n ]\n },\n {\n \"name\": \"overflow\",\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes.\"\n },\n {\n \"name\": \"hidden\",\n \"description\": \"Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region.\"\n },\n {\n \"name\": \"-moz-hidden-unscrollable\",\n \"description\": \"Same as the standardized 'clip', except doesn’t establish a block formatting context.\"\n },\n {\n \"name\": \"scroll\",\n \"description\": \"Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped.\"\n },\n {\n \"name\": \"visible\",\n \"description\": \"Content is not clipped, i.e., it may be rendered outside the content box.\"\n }\n ],\n \"syntax\": \"[ visible | hidden | clip | scroll | auto ]{1,2}\",\n \"relevance\": 93,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/overflow\"\n }\n ],\n \"description\": \"Shorthand for setting 'overflow-x' and 'overflow-y'.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"overflow-wrap\",\n \"values\": [\n {\n \"name\": \"break-word\",\n \"description\": \"An otherwise unbreakable sequence of characters may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line.\"\n },\n {\n \"name\": \"normal\",\n \"description\": \"Lines may break only at allowed break points.\"\n }\n ],\n \"syntax\": \"normal | break-word | anywhere\",\n \"relevance\": 63,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/overflow-wrap\"\n }\n ],\n \"description\": \"Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit within the line box.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"overflow-x\",\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes.\"\n },\n {\n \"name\": \"hidden\",\n \"description\": \"Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region.\"\n },\n {\n \"name\": \"scroll\",\n \"description\": \"Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped.\"\n },\n {\n \"name\": \"visible\",\n \"description\": \"Content is not clipped, i.e., it may be rendered outside the content box.\"\n }\n ],\n \"syntax\": \"visible | hidden | clip | scroll | auto\",\n \"relevance\": 80,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/overflow-x\"\n }\n ],\n \"description\": \"Specifies the handling of overflow in the horizontal direction.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"overflow-y\",\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes.\"\n },\n {\n \"name\": \"hidden\",\n \"description\": \"Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region.\"\n },\n {\n \"name\": \"scroll\",\n \"description\": \"Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped.\"\n },\n {\n \"name\": \"visible\",\n \"description\": \"Content is not clipped, i.e., it may be rendered outside the content box.\"\n }\n ],\n \"syntax\": \"visible | hidden | clip | scroll | auto\",\n \"relevance\": 81,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/overflow-y\"\n }\n ],\n \"description\": \"Specifies the handling of overflow in the vertical direction.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"pad\",\n \"browsers\": [\n \"FF33\"\n ],\n \"syntax\": \"<integer> && <symbol>\",\n \"relevance\": 50,\n \"description\": \"@counter-style descriptor. Specifies a “fixed-width” counter style, where representations shorter than the pad value are padded with a particular <symbol>\",\n \"restrictions\": [\n \"integer\",\n \"image\",\n \"string\",\n \"identifier\"\n ]\n },\n {\n \"name\": \"padding\",\n \"values\": [],\n \"syntax\": \"[ <length> | <percentage> ]{1,4}\",\n \"relevance\": 96,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/padding\"\n }\n ],\n \"description\": \"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"padding-bottom\",\n \"syntax\": \"<length> | <percentage>\",\n \"relevance\": 89,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/padding-bottom\"\n }\n ],\n \"description\": \"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"padding-block-end\",\n \"browsers\": [\n \"E79\",\n \"FF41\",\n \"S12.1\",\n \"C69\",\n \"O56\"\n ],\n \"syntax\": \"<'padding-left'>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/padding-block-end\"\n }\n ],\n \"description\": \"Logical 'padding-bottom'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"padding-block-start\",\n \"browsers\": [\n \"E79\",\n \"FF41\",\n \"S12.1\",\n \"C69\",\n \"O56\"\n ],\n \"syntax\": \"<'padding-left'>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/padding-block-start\"\n }\n ],\n \"description\": \"Logical 'padding-top'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"padding-inline-end\",\n \"browsers\": [\n \"E79\",\n \"FF41\",\n \"S12.1\",\n \"C69\",\n \"O56\"\n ],\n \"syntax\": \"<'padding-left'>\",\n \"relevance\": 53,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/padding-inline-end\"\n }\n ],\n \"description\": \"Logical 'padding-right'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"padding-inline-start\",\n \"browsers\": [\n \"E79\",\n \"FF41\",\n \"S12.1\",\n \"C69\",\n \"O56\"\n ],\n \"syntax\": \"<'padding-left'>\",\n \"relevance\": 52,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/padding-inline-start\"\n }\n ],\n \"description\": \"Logical 'padding-left'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"padding-left\",\n \"syntax\": \"<length> | <percentage>\",\n \"relevance\": 90,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/padding-left\"\n }\n ],\n \"description\": \"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"padding-right\",\n \"syntax\": \"<length> | <percentage>\",\n \"relevance\": 89,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/padding-right\"\n }\n ],\n \"description\": \"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"padding-top\",\n \"syntax\": \"<length> | <percentage>\",\n \"relevance\": 90,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/padding-top\"\n }\n ],\n \"description\": \"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"page-break-after\",\n \"values\": [\n {\n \"name\": \"always\",\n \"description\": \"Always force a page break after the generated box.\"\n },\n {\n \"name\": \"auto\",\n \"description\": \"Neither force nor forbid a page break after generated box.\"\n },\n {\n \"name\": \"avoid\",\n \"description\": \"Avoid a page break after the generated box.\"\n },\n {\n \"name\": \"left\",\n \"description\": \"Force one or two page breaks after the generated box so that the next page is formatted as a left page.\"\n },\n {\n \"name\": \"right\",\n \"description\": \"Force one or two page breaks after the generated box so that the next page is formatted as a right page.\"\n }\n ],\n \"syntax\": \"auto | always | avoid | left | right | recto | verso\",\n \"relevance\": 51,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/page-break-after\"\n }\n ],\n \"description\": \"Defines rules for page breaks after an element.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"page-break-before\",\n \"values\": [\n {\n \"name\": \"always\",\n \"description\": \"Always force a page break before the generated box.\"\n },\n {\n \"name\": \"auto\",\n \"description\": \"Neither force nor forbid a page break before the generated box.\"\n },\n {\n \"name\": \"avoid\",\n \"description\": \"Avoid a page break before the generated box.\"\n },\n {\n \"name\": \"left\",\n \"description\": \"Force one or two page breaks before the generated box so that the next page is formatted as a left page.\"\n },\n {\n \"name\": \"right\",\n \"description\": \"Force one or two page breaks before the generated box so that the next page is formatted as a right page.\"\n }\n ],\n \"syntax\": \"auto | always | avoid | left | right | recto | verso\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/page-break-before\"\n }\n ],\n \"description\": \"Defines rules for page breaks before an element.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"page-break-inside\",\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Neither force nor forbid a page break inside the generated box.\"\n },\n {\n \"name\": \"avoid\",\n \"description\": \"Avoid a page break inside the generated box.\"\n }\n ],\n \"syntax\": \"auto | avoid\",\n \"relevance\": 52,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/page-break-inside\"\n }\n ],\n \"description\": \"Defines rules for page breaks inside an element.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"paint-order\",\n \"browsers\": [\n \"E17\",\n \"FF60\",\n \"S8\",\n \"C35\",\n \"O22\"\n ],\n \"values\": [\n {\n \"name\": \"fill\"\n },\n {\n \"name\": \"markers\"\n },\n {\n \"name\": \"normal\",\n \"description\": \"The element is painted with the standard order of painting operations: the 'fill' is painted first, then its 'stroke' and finally its markers.\"\n },\n {\n \"name\": \"stroke\"\n }\n ],\n \"syntax\": \"normal | [ fill || stroke || markers ]\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/paint-order\"\n }\n ],\n \"description\": \"Controls the order that the three paint operations that shapes and text are rendered with: their fill, their stroke and any markers they might have.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"perspective\",\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"No perspective transform is applied.\"\n }\n ],\n \"syntax\": \"none | <length>\",\n \"relevance\": 56,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/perspective\"\n }\n ],\n \"description\": \"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.\",\n \"restrictions\": [\n \"length\",\n \"enum\"\n ]\n },\n {\n \"name\": \"perspective-origin\",\n \"syntax\": \"<position>\",\n \"relevance\": 51,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/perspective-origin\"\n }\n ],\n \"description\": \"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.\",\n \"restrictions\": [\n \"position\",\n \"percentage\",\n \"length\"\n ]\n },\n {\n \"name\": \"pointer-events\",\n \"values\": [\n {\n \"name\": \"all\",\n \"description\": \"The given element can be the target element for pointer events whenever the pointer is over either the interior or the perimeter of the element.\"\n },\n {\n \"name\": \"fill\",\n \"description\": \"The given element can be the target element for pointer events whenever the pointer is over the interior of the element.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"The given element does not receive pointer events.\"\n },\n {\n \"name\": \"painted\",\n \"description\": \"The given element can be the target element for pointer events when the pointer is over a \\\"painted\\\" area. \"\n },\n {\n \"name\": \"stroke\",\n \"description\": \"The given element can be the target element for pointer events whenever the pointer is over the perimeter of the element.\"\n },\n {\n \"name\": \"visible\",\n \"description\": \"The given element can be the target element for pointer events when the ‘visibility’ property is set to visible and the pointer is over either the interior or the perimete of the element.\"\n },\n {\n \"name\": \"visibleFill\",\n \"description\": \"The given element can be the target element for pointer events when the ‘visibility’ property is set to visible and when the pointer is over the interior of the element.\"\n },\n {\n \"name\": \"visiblePainted\",\n \"description\": \"The given element can be the target element for pointer events when the ‘visibility’ property is set to visible and when the pointer is over a ‘painted’ area.\"\n },\n {\n \"name\": \"visibleStroke\",\n \"description\": \"The given element can be the target element for pointer events when the ‘visibility’ property is set to visible and when the pointer is over the perimeter of the element.\"\n }\n ],\n \"syntax\": \"auto | none | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | inherit\",\n \"relevance\": 81,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/pointer-events\"\n }\n ],\n \"description\": \"Specifies under what circumstances a given element can be the target element for a pointer event.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"position\",\n \"values\": [\n {\n \"name\": \"absolute\",\n \"description\": \"The box's position (and possibly size) is specified with the 'top', 'right', 'bottom', and 'left' properties. These properties specify offsets with respect to the box's 'containing block'.\"\n },\n {\n \"name\": \"fixed\",\n \"description\": \"The box's position is calculated according to the 'absolute' model, but in addition, the box is fixed with respect to some reference. As with the 'absolute' model, the box's margins do not collapse with any other margins.\"\n },\n {\n \"name\": \"-ms-page\",\n \"description\": \"The box's position is calculated according to the 'absolute' model.\"\n },\n {\n \"name\": \"relative\",\n \"description\": \"The box's position is calculated according to the normal flow (this is called the position in normal flow). Then the box is offset relative to its normal position.\"\n },\n {\n \"name\": \"static\",\n \"description\": \"The box is a normal box, laid out according to the normal flow. The 'top', 'right', 'bottom', and 'left' properties do not apply.\"\n },\n {\n \"name\": \"sticky\",\n \"description\": \"The box's position is calculated according to the normal flow. Then the box is offset relative to its flow root and containing block and in all cases, including table elements, does not affect the position of any following boxes.\"\n },\n {\n \"name\": \"-webkit-sticky\",\n \"description\": \"The box's position is calculated according to the normal flow. Then the box is offset relative to its flow root and containing block and in all cases, including table elements, does not affect the position of any following boxes.\"\n }\n ],\n \"syntax\": \"static | relative | absolute | sticky | fixed\",\n \"relevance\": 96,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/position\"\n }\n ],\n \"description\": \"The position CSS property sets how an element is positioned in a document. The top, right, bottom, and left properties determine the final location of positioned elements.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"prefix\",\n \"browsers\": [\n \"FF33\"\n ],\n \"syntax\": \"<symbol>\",\n \"relevance\": 50,\n \"description\": \"@counter-style descriptor. Specifies a <symbol> that is prepended to the marker representation.\",\n \"restrictions\": [\n \"image\",\n \"string\",\n \"identifier\"\n ]\n },\n {\n \"name\": \"quotes\",\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"The 'open-quote' and 'close-quote' values of the 'content' property produce no quotations marks, as if they were 'no-open-quote' and 'no-close-quote' respectively.\"\n }\n ],\n \"syntax\": \"none | auto | [ <string> <string> ]+\",\n \"relevance\": 53,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/quotes\"\n }\n ],\n \"description\": \"Specifies quotation marks for any number of embedded quotations.\",\n \"restrictions\": [\n \"string\"\n ]\n },\n {\n \"name\": \"range\",\n \"browsers\": [\n \"FF33\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The range depends on the counter system.\"\n },\n {\n \"name\": \"infinite\",\n \"description\": \"If used as the first value in a range, it represents negative infinity; if used as the second value, it represents positive infinity.\"\n }\n ],\n \"syntax\": \"[ [ <integer> | infinite ]{2} ]# | auto\",\n \"relevance\": 50,\n \"description\": \"@counter-style descriptor. Defines the ranges over which the counter style is defined.\",\n \"restrictions\": [\n \"integer\",\n \"enum\"\n ]\n },\n {\n \"name\": \"resize\",\n \"browsers\": [\n \"E79\",\n \"FF4\",\n \"S3\",\n \"C1\",\n \"O12.1\"\n ],\n \"values\": [\n {\n \"name\": \"both\",\n \"description\": \"The UA presents a bidirectional resizing mechanism to allow the user to adjust both the height and the width of the element.\"\n },\n {\n \"name\": \"horizontal\",\n \"description\": \"The UA presents a unidirectional horizontal resizing mechanism to allow the user to adjust only the width of the element.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"The UA does not present a resizing mechanism on the element, and the user is given no direct manipulation mechanism to resize the element.\"\n },\n {\n \"name\": \"vertical\",\n \"description\": \"The UA presents a unidirectional vertical resizing mechanism to allow the user to adjust only the height of the element.\"\n }\n ],\n \"syntax\": \"none | both | horizontal | vertical | block | inline\",\n \"relevance\": 60,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/resize\"\n }\n ],\n \"description\": \"Specifies whether or not an element is resizable by the user, and if so, along which axis/axes.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"right\",\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well\"\n }\n ],\n \"syntax\": \"<length> | <percentage> | auto\",\n \"relevance\": 91,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/right\"\n }\n ],\n \"description\": \"Specifies how far an absolutely positioned box's right margin edge is offset to the left of the right edge of the box's 'containing block'.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"ruby-align\",\n \"browsers\": [\n \"FF38\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"browsers\": [\n \"FF38\"\n ],\n \"description\": \"The user agent determines how the ruby contents are aligned. This is the initial value.\"\n },\n {\n \"name\": \"center\",\n \"description\": \"The ruby content is centered within its box.\"\n },\n {\n \"name\": \"distribute-letter\",\n \"browsers\": [\n \"FF38\"\n ],\n \"description\": \"If the width of the ruby text is smaller than that of the base, then the ruby text contents are evenly distributed across the width of the base, with the first and last ruby text glyphs lining up with the corresponding first and last base glyphs. If the width of the ruby text is at least the width of the base, then the letters of the base are evenly distributed across the width of the ruby text.\"\n },\n {\n \"name\": \"distribute-space\",\n \"browsers\": [\n \"FF38\"\n ],\n \"description\": \"If the width of the ruby text is smaller than that of the base, then the ruby text contents are evenly distributed across the width of the base, with a certain amount of white space preceding the first and following the last character in the ruby text. That amount of white space is normally equal to half the amount of inter-character space of the ruby text.\"\n },\n {\n \"name\": \"left\",\n \"description\": \"The ruby text content is aligned with the start edge of the base.\"\n },\n {\n \"name\": \"line-edge\",\n \"browsers\": [\n \"FF38\"\n ],\n \"description\": \"If the ruby text is not adjacent to a line edge, it is aligned as in 'auto'. If it is adjacent to a line edge, then it is still aligned as in auto, but the side of the ruby text that touches the end of the line is lined up with the corresponding edge of the base.\"\n },\n {\n \"name\": \"right\",\n \"browsers\": [\n \"FF38\"\n ],\n \"description\": \"The ruby text content is aligned with the end edge of the base.\"\n },\n {\n \"name\": \"start\",\n \"browsers\": [\n \"FF38\"\n ],\n \"description\": \"The ruby text content is aligned with the start edge of the base.\"\n },\n {\n \"name\": \"space-between\",\n \"browsers\": [\n \"FF38\"\n ],\n \"description\": \"The ruby content expands as defined for normal text justification (as defined by 'text-justify'),\"\n },\n {\n \"name\": \"space-around\",\n \"browsers\": [\n \"FF38\"\n ],\n \"description\": \"As for 'space-between' except that there exists an extra justification opportunities whose space is distributed half before and half after the ruby content.\"\n }\n ],\n \"status\": \"experimental\",\n \"syntax\": \"start | center | space-between | space-around\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/ruby-align\"\n }\n ],\n \"description\": \"Specifies how text is distributed within the various ruby boxes when their contents do not exactly fill their respective boxes.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"ruby-overhang\",\n \"browsers\": [\n \"FF10\",\n \"IE5\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The ruby text can overhang text adjacent to the base on either side. This is the initial value.\"\n },\n {\n \"name\": \"end\",\n \"description\": \"The ruby text can overhang the text that follows it.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"The ruby text cannot overhang any text adjacent to its base, only its own base.\"\n },\n {\n \"name\": \"start\",\n \"description\": \"The ruby text can overhang the text that precedes it.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Determines whether, and on which side, ruby text is allowed to partially overhang any adjacent text in addition to its own base, when the ruby text is wider than the ruby base.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"ruby-position\",\n \"browsers\": [\n \"E84\",\n \"FF38\",\n \"S6.1\",\n \"C84\",\n \"O70\"\n ],\n \"values\": [\n {\n \"name\": \"after\",\n \"description\": \"The ruby text appears after the base. This is a relatively rare setting used in ideographic East Asian writing systems, most easily found in educational text.\"\n },\n {\n \"name\": \"before\",\n \"description\": \"The ruby text appears before the base. This is the most common setting used in ideographic East Asian writing systems.\"\n },\n {\n \"name\": \"inline\"\n },\n {\n \"name\": \"right\",\n \"description\": \"The ruby text appears on the right of the base. Unlike 'before' and 'after', this value is not relative to the text flow direction.\"\n }\n ],\n \"status\": \"experimental\",\n \"syntax\": \"over | under | inter-character\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/ruby-position\"\n }\n ],\n \"description\": \"Used by the parent of elements with display: ruby-text to control the position of the ruby text with respect to its base.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"ruby-span\",\n \"browsers\": [\n \"FF10\"\n ],\n \"values\": [\n {\n \"name\": \"attr(x)\",\n \"description\": \"The value of attribute 'x' is a string value. The string value is evaluated as a <number> to determine the number of ruby base elements to be spanned by the annotation element.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"No spanning. The computed value is '1'.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Determines whether, and on which side, ruby text is allowed to partially overhang any adjacent text in addition to its own base, when the ruby text is wider than the ruby base.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"scrollbar-3dlight-color\",\n \"browsers\": [\n \"IE5\"\n ],\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scrollbar-3dlight-color\"\n }\n ],\n \"description\": \"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"scrollbar-arrow-color\",\n \"browsers\": [\n \"IE5\"\n ],\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scrollbar-arrow-color\"\n }\n ],\n \"description\": \"Determines the color of the arrow elements of a scroll arrow.\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"scrollbar-base-color\",\n \"browsers\": [\n \"IE5\"\n ],\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scrollbar-base-color\"\n }\n ],\n \"description\": \"Determines the color of the main elements of a scroll bar, which include the scroll box, track, and scroll arrows.\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"scrollbar-darkshadow-color\",\n \"browsers\": [\n \"IE5\"\n ],\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scrollbar-darkshadow-color\"\n }\n ],\n \"description\": \"Determines the color of the gutter of a scroll bar.\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"scrollbar-face-color\",\n \"browsers\": [\n \"IE5\"\n ],\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scrollbar-face-color\"\n }\n ],\n \"description\": \"Determines the color of the scroll box and scroll arrows of a scroll bar.\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"scrollbar-highlight-color\",\n \"browsers\": [\n \"IE5\"\n ],\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scrollbar-highlight-color\"\n }\n ],\n \"description\": \"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"scrollbar-shadow-color\",\n \"browsers\": [\n \"IE5\"\n ],\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scrollbar-shadow-color\"\n }\n ],\n \"description\": \"Determines the color of the bottom and right edges of the scroll box and scroll arrows of a scroll bar.\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"scrollbar-track-color\",\n \"browsers\": [\n \"IE6\"\n ],\n \"relevance\": 50,\n \"description\": \"Determines the color of the track element of a scroll bar.\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"scroll-behavior\",\n \"browsers\": [\n \"E79\",\n \"FF36\",\n \"S14\",\n \"C61\",\n \"O48\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Scrolls in an instant fashion.\"\n },\n {\n \"name\": \"smooth\",\n \"description\": \"Scrolls in a smooth fashion using a user-agent-defined timing function and time period.\"\n }\n ],\n \"syntax\": \"auto | smooth\",\n \"relevance\": 51,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-behavior\"\n }\n ],\n \"description\": \"Specifies the scrolling behavior for a scrolling box, when scrolling happens due to navigation or CSSOM scrolling APIs.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"scroll-snap-coordinate\",\n \"browsers\": [\n \"FF39\"\n ],\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"Specifies that this element does not contribute a snap point.\"\n }\n ],\n \"status\": \"obsolete\",\n \"syntax\": \"none | <position>#\",\n \"relevance\": 0,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-coordinate\"\n }\n ],\n \"description\": \"Defines the x and y coordinate within the element which will align with the nearest ancestor scroll container’s snap-destination for the respective axis.\",\n \"restrictions\": [\n \"position\",\n \"length\",\n \"percentage\",\n \"enum\"\n ]\n },\n {\n \"name\": \"scroll-snap-destination\",\n \"browsers\": [\n \"FF39\"\n ],\n \"status\": \"obsolete\",\n \"syntax\": \"<position>\",\n \"relevance\": 0,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-destination\"\n }\n ],\n \"description\": \"Define the x and y coordinate within the scroll container’s visual viewport which element snap points will align with.\",\n \"restrictions\": [\n \"position\",\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"scroll-snap-points-x\",\n \"browsers\": [\n \"FF39\",\n \"S9\"\n ],\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"No snap points are defined by this scroll container.\"\n },\n {\n \"name\": \"repeat()\",\n \"description\": \"Defines an interval at which snap points are defined, starting from the container’s relevant start edge.\"\n }\n ],\n \"status\": \"obsolete\",\n \"syntax\": \"none | repeat( <length-percentage> )\",\n \"relevance\": 0,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-points-x\"\n }\n ],\n \"description\": \"Defines the positioning of snap points along the x axis of the scroll container it is applied to.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"scroll-snap-points-y\",\n \"browsers\": [\n \"FF39\",\n \"S9\"\n ],\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"No snap points are defined by this scroll container.\"\n },\n {\n \"name\": \"repeat()\",\n \"description\": \"Defines an interval at which snap points are defined, starting from the container’s relevant start edge.\"\n }\n ],\n \"status\": \"obsolete\",\n \"syntax\": \"none | repeat( <length-percentage> )\",\n \"relevance\": 0,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-points-y\"\n }\n ],\n \"description\": \"Defines the positioning of snap points along the y axis of the scroll container it is applied to.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"scroll-snap-type\",\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"The visual viewport of this scroll container must ignore snap points, if any, when scrolled.\"\n },\n {\n \"name\": \"mandatory\",\n \"description\": \"The visual viewport of this scroll container is guaranteed to rest on a snap point when there are no active scrolling operations.\"\n },\n {\n \"name\": \"proximity\",\n \"description\": \"The visual viewport of this scroll container may come to rest on a snap point at the termination of a scroll at the discretion of the UA given the parameters of the scroll.\"\n }\n ],\n \"syntax\": \"none | [ x | y | block | inline | both ] [ mandatory | proximity ]?\",\n \"relevance\": 51,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type\"\n }\n ],\n \"description\": \"Defines how strictly snap points are enforced on the scroll container.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"shape-image-threshold\",\n \"browsers\": [\n \"E79\",\n \"FF62\",\n \"S10.1\",\n \"C37\",\n \"O24\"\n ],\n \"syntax\": \"<alpha-value>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/shape-image-threshold\"\n }\n ],\n \"description\": \"Defines the alpha channel threshold used to extract the shape using an image. A value of 0.5 means that the shape will enclose all the pixels that are more than 50% opaque.\",\n \"restrictions\": [\n \"number\"\n ]\n },\n {\n \"name\": \"shape-margin\",\n \"browsers\": [\n \"E79\",\n \"FF62\",\n \"S10.1\",\n \"C37\",\n \"O24\"\n ],\n \"syntax\": \"<length-percentage>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/shape-margin\"\n }\n ],\n \"description\": \"Adds a margin to a 'shape-outside'. This defines a new shape that is the smallest contour that includes all the points that are the 'shape-margin' distance outward in the perpendicular direction from a point on the underlying shape.\",\n \"restrictions\": [\n \"url\",\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"shape-outside\",\n \"browsers\": [\n \"E79\",\n \"FF62\",\n \"S10.1\",\n \"C37\",\n \"O24\"\n ],\n \"values\": [\n {\n \"name\": \"margin-box\",\n \"description\": \"The background is painted within (clipped to) the margin box.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"The float area is unaffected.\"\n }\n ],\n \"syntax\": \"none | <shape-box> || <basic-shape> | <image>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/shape-outside\"\n }\n ],\n \"description\": \"Specifies an orthogonal rotation to be applied to an image before it is laid out.\",\n \"restrictions\": [\n \"image\",\n \"box\",\n \"shape\",\n \"enum\"\n ]\n },\n {\n \"name\": \"shape-rendering\",\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Suppresses aural rendering.\"\n },\n {\n \"name\": \"crispEdges\",\n \"description\": \"Emphasize the contrast between clean edges of artwork over rendering speed and geometric precision.\"\n },\n {\n \"name\": \"geometricPrecision\",\n \"description\": \"Emphasize geometric precision over speed and crisp edges.\"\n },\n {\n \"name\": \"optimizeSpeed\",\n \"description\": \"Emphasize rendering speed over geometric precision and crisp edges.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Provides hints about what tradeoffs to make as it renders vector graphics elements such as <path> elements and basic shapes such as circles and rectangles.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"size\",\n \"browsers\": [\n \"C\",\n \"O8\"\n ],\n \"syntax\": \"<length>{1,2} | auto | [ <page-size> || [ portrait | landscape ] ]\",\n \"relevance\": 52,\n \"description\": \"The size CSS at-rule descriptor, used with the @page at-rule, defines the size and orientation of the box which is used to represent a page. Most of the time, this size corresponds to the target size of the printed page if applicable.\",\n \"restrictions\": [\n \"length\"\n ]\n },\n {\n \"name\": \"src\",\n \"values\": [\n {\n \"name\": \"url()\",\n \"description\": \"Reference font by URL\"\n },\n {\n \"name\": \"format()\",\n \"description\": \"Optional hint describing the format of the font resource.\"\n },\n {\n \"name\": \"local()\",\n \"description\": \"Format-specific string that identifies a locally available copy of a given font.\"\n }\n ],\n \"syntax\": \"[ <url> [ format( <string># ) ]? | local( <family-name> ) ]#\",\n \"relevance\": 65,\n \"description\": \"@font-face descriptor. Specifies the resource containing font data. It is required, whether the font is downloadable or locally installed.\",\n \"restrictions\": [\n \"enum\",\n \"url\",\n \"identifier\"\n ]\n },\n {\n \"name\": \"stop-color\",\n \"relevance\": 51,\n \"description\": \"Indicates what color to use at that gradient stop.\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"stop-opacity\",\n \"relevance\": 50,\n \"description\": \"Defines the opacity of a given gradient stop.\",\n \"restrictions\": [\n \"number(0-1)\"\n ]\n },\n {\n \"name\": \"stroke\",\n \"values\": [\n {\n \"name\": \"url()\",\n \"description\": \"A URL reference to a paint server element, which is an element that defines a paint server: ‘hatch’, ‘linearGradient’, ‘mesh’, ‘pattern’, ‘radialGradient’ and ‘solidcolor’.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"No paint is applied in this layer.\"\n }\n ],\n \"relevance\": 64,\n \"description\": \"Paints along the outline of the given graphical element.\",\n \"restrictions\": [\n \"color\",\n \"enum\",\n \"url\"\n ]\n },\n {\n \"name\": \"stroke-dasharray\",\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"Indicates that no dashing is used.\"\n }\n ],\n \"relevance\": 59,\n \"description\": \"Controls the pattern of dashes and gaps used to stroke paths.\",\n \"restrictions\": [\n \"length\",\n \"percentage\",\n \"number\",\n \"enum\"\n ]\n },\n {\n \"name\": \"stroke-dashoffset\",\n \"relevance\": 58,\n \"description\": \"Specifies the distance into the dash pattern to start the dash.\",\n \"restrictions\": [\n \"percentage\",\n \"length\"\n ]\n },\n {\n \"name\": \"stroke-linecap\",\n \"values\": [\n {\n \"name\": \"butt\",\n \"description\": \"Indicates that the stroke for each subpath does not extend beyond its two endpoints.\"\n },\n {\n \"name\": \"round\",\n \"description\": \"Indicates that at each end of each subpath, the shape representing the stroke will be extended by a half circle with a radius equal to the stroke width.\"\n },\n {\n \"name\": \"square\",\n \"description\": \"Indicates that at the end of each subpath, the shape representing the stroke will be extended by a rectangle with the same width as the stroke width and whose length is half of the stroke width.\"\n }\n ],\n \"relevance\": 53,\n \"description\": \"Specifies the shape to be used at the end of open subpaths when they are stroked.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"stroke-linejoin\",\n \"values\": [\n {\n \"name\": \"bevel\",\n \"description\": \"Indicates that a bevelled corner is to be used to join path segments.\"\n },\n {\n \"name\": \"miter\",\n \"description\": \"Indicates that a sharp corner is to be used to join path segments.\"\n },\n {\n \"name\": \"round\",\n \"description\": \"Indicates that a round corner is to be used to join path segments.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Specifies the shape to be used at the corners of paths or basic shapes when they are stroked.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"stroke-miterlimit\",\n \"relevance\": 50,\n \"description\": \"When two line segments meet at a sharp angle and miter joins have been specified for 'stroke-linejoin', it is possible for the miter to extend far beyond the thickness of the line stroking the path.\",\n \"restrictions\": [\n \"number\"\n ]\n },\n {\n \"name\": \"stroke-opacity\",\n \"relevance\": 52,\n \"description\": \"Specifies the opacity of the painting operation used to stroke the current object.\",\n \"restrictions\": [\n \"number(0-1)\"\n ]\n },\n {\n \"name\": \"stroke-width\",\n \"relevance\": 61,\n \"description\": \"Specifies the width of the stroke on the current object.\",\n \"restrictions\": [\n \"percentage\",\n \"length\"\n ]\n },\n {\n \"name\": \"suffix\",\n \"browsers\": [\n \"FF33\"\n ],\n \"syntax\": \"<symbol>\",\n \"relevance\": 50,\n \"description\": \"@counter-style descriptor. Specifies a <symbol> that is appended to the marker representation.\",\n \"restrictions\": [\n \"image\",\n \"string\",\n \"identifier\"\n ]\n },\n {\n \"name\": \"system\",\n \"browsers\": [\n \"FF33\"\n ],\n \"values\": [\n {\n \"name\": \"additive\",\n \"description\": \"Represents “sign-value” numbering systems, which, rather than using reusing digits in different positions to change their value, define additional digits with much larger values, so that the value of the number can be obtained by adding all the digits together.\"\n },\n {\n \"name\": \"alphabetic\",\n \"description\": \"Interprets the list of counter symbols as digits to an alphabetic numbering system, similar to the default lower-alpha counter style, which wraps from \\\"a\\\", \\\"b\\\", \\\"c\\\", to \\\"aa\\\", \\\"ab\\\", \\\"ac\\\".\"\n },\n {\n \"name\": \"cyclic\",\n \"description\": \"Cycles repeatedly through its provided symbols, looping back to the beginning when it reaches the end of the list.\"\n },\n {\n \"name\": \"extends\",\n \"description\": \"Use the algorithm of another counter style, but alter other aspects.\"\n },\n {\n \"name\": \"fixed\",\n \"description\": \"Runs through its list of counter symbols once, then falls back.\"\n },\n {\n \"name\": \"numeric\",\n \"description\": \"interprets the list of counter symbols as digits to a \\\"place-value\\\" numbering system, similar to the default 'decimal' counter style.\"\n },\n {\n \"name\": \"symbolic\",\n \"description\": \"Cycles repeatedly through its provided symbols, doubling, tripling, etc. the symbols on each successive pass through the list.\"\n }\n ],\n \"syntax\": \"cyclic | numeric | alphabetic | symbolic | additive | [ fixed <integer>? ] | [ extends <counter-style-name> ]\",\n \"relevance\": 50,\n \"description\": \"@counter-style descriptor. Specifies which algorithm will be used to construct the counter’s representation based on the counter value.\",\n \"restrictions\": [\n \"enum\",\n \"integer\"\n ]\n },\n {\n \"name\": \"symbols\",\n \"browsers\": [\n \"FF33\"\n ],\n \"syntax\": \"<symbol>+\",\n \"relevance\": 50,\n \"description\": \"@counter-style descriptor. Specifies the symbols used by the marker-construction algorithm specified by the system descriptor.\",\n \"restrictions\": [\n \"image\",\n \"string\",\n \"identifier\"\n ]\n },\n {\n \"name\": \"table-layout\",\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Use any automatic table layout algorithm.\"\n },\n {\n \"name\": \"fixed\",\n \"description\": \"Use the fixed table layout algorithm.\"\n }\n ],\n \"syntax\": \"auto | fixed\",\n \"relevance\": 60,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/table-layout\"\n }\n ],\n \"description\": \"Controls the algorithm used to lay out the table cells, rows, and columns.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"tab-size\",\n \"browsers\": [\n \"E79\",\n \"FF4\",\n \"S6.1\",\n \"C21\",\n \"O15\"\n ],\n \"syntax\": \"<integer> | <length>\",\n \"relevance\": 51,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/tab-size\"\n }\n ],\n \"description\": \"Determines the width of the tab character (U+0009), in space characters (U+0020), when rendered.\",\n \"restrictions\": [\n \"integer\",\n \"length\"\n ]\n },\n {\n \"name\": \"text-align\",\n \"values\": [\n {\n \"name\": \"center\",\n \"description\": \"The inline contents are centered within the line box.\"\n },\n {\n \"name\": \"end\",\n \"description\": \"The inline contents are aligned to the end edge of the line box.\"\n },\n {\n \"name\": \"justify\",\n \"description\": \"The text is justified according to the method specified by the 'text-justify' property.\"\n },\n {\n \"name\": \"left\",\n \"description\": \"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text.\"\n },\n {\n \"name\": \"right\",\n \"description\": \"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text.\"\n },\n {\n \"name\": \"start\",\n \"description\": \"The inline contents are aligned to the start edge of the line box.\"\n }\n ],\n \"syntax\": \"start | end | left | right | center | justify | match-parent\",\n \"relevance\": 94,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-align\"\n }\n ],\n \"description\": \"Describes how inline contents of a block are horizontally aligned if the contents do not completely fill the line box.\",\n \"restrictions\": [\n \"string\"\n ]\n },\n {\n \"name\": \"text-align-last\",\n \"browsers\": [\n \"E12\",\n \"FF49\",\n \"C47\",\n \"IE5.5\",\n \"O34\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Content on the affected line is aligned per 'text-align' unless 'text-align' is set to 'justify', in which case it is 'start-aligned'.\"\n },\n {\n \"name\": \"center\",\n \"description\": \"The inline contents are centered within the line box.\"\n },\n {\n \"name\": \"justify\",\n \"description\": \"The text is justified according to the method specified by the 'text-justify' property.\"\n },\n {\n \"name\": \"left\",\n \"description\": \"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text.\"\n },\n {\n \"name\": \"right\",\n \"description\": \"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text.\"\n }\n ],\n \"syntax\": \"auto | start | end | left | right | center | justify\",\n \"relevance\": 51,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-align-last\"\n }\n ],\n \"description\": \"Describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"text-anchor\",\n \"values\": [\n {\n \"name\": \"end\",\n \"description\": \"The rendered characters are aligned such that the end of the resulting rendered text is at the initial current text position.\"\n },\n {\n \"name\": \"middle\",\n \"description\": \"The rendered characters are aligned such that the geometric middle of the resulting rendered text is at the initial current text position.\"\n },\n {\n \"name\": \"start\",\n \"description\": \"The rendered characters are aligned such that the start of the resulting rendered text is at the initial current text position.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Used to align (start-, middle- or end-alignment) a string of text relative to a given point.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"text-decoration\",\n \"values\": [\n {\n \"name\": \"dashed\",\n \"description\": \"Produces a dashed line style.\"\n },\n {\n \"name\": \"dotted\",\n \"description\": \"Produces a dotted line.\"\n },\n {\n \"name\": \"double\",\n \"description\": \"Produces a double line.\"\n },\n {\n \"name\": \"line-through\",\n \"description\": \"Each line of text has a line through the middle.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"Produces no line.\"\n },\n {\n \"name\": \"overline\",\n \"description\": \"Each line of text has a line above it.\"\n },\n {\n \"name\": \"solid\",\n \"description\": \"Produces a solid line.\"\n },\n {\n \"name\": \"underline\",\n \"description\": \"Each line of text is underlined.\"\n },\n {\n \"name\": \"wavy\",\n \"description\": \"Produces a wavy line.\"\n }\n ],\n \"syntax\": \"<'text-decoration-line'> || <'text-decoration-style'> || <'text-decoration-color'> || <'text-decoration-thickness'>\",\n \"relevance\": 92,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-decoration\"\n }\n ],\n \"description\": \"Decorations applied to font used for an element's text.\",\n \"restrictions\": [\n \"enum\",\n \"color\"\n ]\n },\n {\n \"name\": \"text-decoration-color\",\n \"browsers\": [\n \"E79\",\n \"FF36\",\n \"S12.1\",\n \"C57\",\n \"O44\"\n ],\n \"syntax\": \"<color>\",\n \"relevance\": 52,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-decoration-color\"\n }\n ],\n \"description\": \"Specifies the color of text decoration (underlines overlines, and line-throughs) set on the element with text-decoration-line.\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"text-decoration-line\",\n \"browsers\": [\n \"E79\",\n \"FF36\",\n \"S12.1\",\n \"C57\",\n \"O44\"\n ],\n \"values\": [\n {\n \"name\": \"line-through\",\n \"description\": \"Each line of text has a line through the middle.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"Neither produces nor inhibits text decoration.\"\n },\n {\n \"name\": \"overline\",\n \"description\": \"Each line of text has a line above it.\"\n },\n {\n \"name\": \"underline\",\n \"description\": \"Each line of text is underlined.\"\n }\n ],\n \"syntax\": \"none | [ underline || overline || line-through || blink ] | spelling-error | grammar-error\",\n \"relevance\": 51,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-decoration-line\"\n }\n ],\n \"description\": \"Specifies what line decorations, if any, are added to the element.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"text-decoration-style\",\n \"browsers\": [\n \"E79\",\n \"FF36\",\n \"S12.1\",\n \"C57\",\n \"O44\"\n ],\n \"values\": [\n {\n \"name\": \"dashed\",\n \"description\": \"Produces a dashed line style.\"\n },\n {\n \"name\": \"dotted\",\n \"description\": \"Produces a dotted line.\"\n },\n {\n \"name\": \"double\",\n \"description\": \"Produces a double line.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"Produces no line.\"\n },\n {\n \"name\": \"solid\",\n \"description\": \"Produces a solid line.\"\n },\n {\n \"name\": \"wavy\",\n \"description\": \"Produces a wavy line.\"\n }\n ],\n \"syntax\": \"solid | double | dotted | dashed | wavy\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-decoration-style\"\n }\n ],\n \"description\": \"Specifies the line style for underline, line-through and overline text decoration.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"text-indent\",\n \"values\": [],\n \"syntax\": \"<length-percentage> && hanging? && each-line?\",\n \"relevance\": 68,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-indent\"\n }\n ],\n \"description\": \"Specifies the indentation applied to lines of inline content in a block. The indentation only affects the first line of inline content in the block unless the 'hanging' keyword is specified, in which case it affects all lines except the first.\",\n \"restrictions\": [\n \"percentage\",\n \"length\"\n ]\n },\n {\n \"name\": \"text-justify\",\n \"browsers\": [\n \"E12\",\n \"FF55\",\n \"C32\",\n \"IE11\",\n \"O19\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The UA determines the justification algorithm to follow, based on a balance between performance and adequate presentation quality.\"\n },\n {\n \"name\": \"distribute\",\n \"description\": \"Justification primarily changes spacing both at word separators and at grapheme cluster boundaries in all scripts except those in the connected and cursive groups. This value is sometimes used in e.g. Japanese, often with the 'text-align-last' property.\"\n },\n {\n \"name\": \"distribute-all-lines\"\n },\n {\n \"name\": \"inter-cluster\",\n \"description\": \"Justification primarily changes spacing at word separators and at grapheme cluster boundaries in clustered scripts. This value is typically used for Southeast Asian scripts such as Thai.\"\n },\n {\n \"name\": \"inter-ideograph\",\n \"description\": \"Justification primarily changes spacing at word separators and at inter-graphemic boundaries in scripts that use no word spaces. This value is typically used for CJK languages.\"\n },\n {\n \"name\": \"inter-word\",\n \"description\": \"Justification primarily changes spacing at word separators. This value is typically used for languages that separate words using spaces, like English or (sometimes) Korean.\"\n },\n {\n \"name\": \"kashida\",\n \"description\": \"Justification primarily stretches Arabic and related scripts through the use of kashida or other calligraphic elongation.\"\n },\n {\n \"name\": \"newspaper\"\n }\n ],\n \"syntax\": \"auto | inter-character | inter-word | none\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-justify\"\n }\n ],\n \"description\": \"Selects the justification algorithm used when 'text-align' is set to 'justify'. The property applies to block containers, but the UA may (but is not required to) also support it on inline elements.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"text-orientation\",\n \"browsers\": [\n \"E79\",\n \"FF41\",\n \"S14\",\n \"C48\",\n \"O15\"\n ],\n \"values\": [\n {\n \"name\": \"sideways\",\n \"browsers\": [\n \"E79\",\n \"FF41\",\n \"S14\",\n \"C48\",\n \"O15\"\n ],\n \"description\": \"This value is equivalent to 'sideways-right' in 'vertical-rl' writing mode and equivalent to 'sideways-left' in 'vertical-lr' writing mode.\"\n },\n {\n \"name\": \"sideways-right\",\n \"browsers\": [\n \"E79\",\n \"FF41\",\n \"S14\",\n \"C48\",\n \"O15\"\n ],\n \"description\": \"In vertical writing modes, this causes text to be set as if in a horizontal layout, but rotated 90° clockwise.\"\n },\n {\n \"name\": \"upright\",\n \"description\": \"In vertical writing modes, characters from horizontal-only scripts are rendered upright, i.e. in their standard horizontal orientation.\"\n }\n ],\n \"syntax\": \"mixed | upright | sideways\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-orientation\"\n }\n ],\n \"description\": \"Specifies the orientation of text within a line.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"text-overflow\",\n \"values\": [\n {\n \"name\": \"clip\",\n \"description\": \"Clip inline content that overflows. Characters may be only partially rendered.\"\n },\n {\n \"name\": \"ellipsis\",\n \"description\": \"Render an ellipsis character (U+2026) to represent clipped inline content.\"\n }\n ],\n \"syntax\": \"[ clip | ellipsis | <string> ]{1,2}\",\n \"relevance\": 82,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-overflow\"\n }\n ],\n \"description\": \"Text can overflow for example when it is prevented from wrapping.\",\n \"restrictions\": [\n \"enum\",\n \"string\"\n ]\n },\n {\n \"name\": \"text-rendering\",\n \"browsers\": [\n \"E79\",\n \"FF1\",\n \"S5\",\n \"C4\",\n \"O15\"\n ],\n \"values\": [\n {\n \"name\": \"auto\"\n },\n {\n \"name\": \"geometricPrecision\",\n \"description\": \"Indicates that the user agent shall emphasize geometric precision over legibility and rendering speed.\"\n },\n {\n \"name\": \"optimizeLegibility\",\n \"description\": \"Indicates that the user agent shall emphasize legibility over rendering speed and geometric precision.\"\n },\n {\n \"name\": \"optimizeSpeed\",\n \"description\": \"Indicates that the user agent shall emphasize rendering speed over legibility and geometric precision.\"\n }\n ],\n \"syntax\": \"auto | optimizeSpeed | optimizeLegibility | geometricPrecision\",\n \"relevance\": 68,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-rendering\"\n }\n ],\n \"description\": \"The creator of SVG content might want to provide a hint to the implementation about what tradeoffs to make as it renders text. The ‘text-rendering’ property provides these hints.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"text-shadow\",\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"No shadow.\"\n }\n ],\n \"syntax\": \"none | <shadow-t>#\",\n \"relevance\": 75,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-shadow\"\n }\n ],\n \"description\": \"Enables shadow effects to be applied to the text of the element.\",\n \"restrictions\": [\n \"length\",\n \"color\"\n ]\n },\n {\n \"name\": \"text-transform\",\n \"values\": [\n {\n \"name\": \"capitalize\",\n \"description\": \"Puts the first typographic letter unit of each word in titlecase.\"\n },\n {\n \"name\": \"lowercase\",\n \"description\": \"Puts all letters in lowercase.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"No effects.\"\n },\n {\n \"name\": \"uppercase\",\n \"description\": \"Puts all letters in uppercase.\"\n }\n ],\n \"syntax\": \"none | capitalize | uppercase | lowercase | full-width | full-size-kana\",\n \"relevance\": 85,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-transform\"\n }\n ],\n \"description\": \"Controls capitalization effects of an element’s text.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"text-underline-position\",\n \"values\": [\n {\n \"name\": \"above\"\n },\n {\n \"name\": \"auto\",\n \"description\": \"The user agent may use any algorithm to determine the underline’s position. In horizontal line layout, the underline should be aligned as for alphabetic. In vertical line layout, if the language is set to Japanese or Korean, the underline should be aligned as for over.\"\n },\n {\n \"name\": \"below\",\n \"description\": \"The underline is aligned with the under edge of the element’s content box.\"\n }\n ],\n \"syntax\": \"auto | from-font | [ under || [ left | right ] ]\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-underline-position\"\n }\n ],\n \"description\": \"Sets the position of an underline specified on the same element: it does not affect underlines specified by ancestor elements. This property is typically used in vertical writing contexts such as in Japanese documents where it often desired to have the underline appear 'over' (to the right of) the affected run of text\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"top\",\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well\"\n }\n ],\n \"syntax\": \"<length> | <percentage> | auto\",\n \"relevance\": 95,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/top\"\n }\n ],\n \"description\": \"Specifies how far an absolutely positioned box's top margin edge is offset below the top edge of the box's 'containing block'.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"touch-action\",\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The user agent may determine any permitted touch behaviors for touches that begin on the element.\"\n },\n {\n \"name\": \"cross-slide-x\"\n },\n {\n \"name\": \"cross-slide-y\"\n },\n {\n \"name\": \"double-tap-zoom\"\n },\n {\n \"name\": \"manipulation\",\n \"description\": \"The user agent may consider touches that begin on the element only for the purposes of scrolling and continuous zooming.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"Touches that begin on the element must not trigger default touch behaviors.\"\n },\n {\n \"name\": \"pan-x\",\n \"description\": \"The user agent may consider touches that begin on the element only for the purposes of horizontally scrolling the element’s nearest ancestor with horizontally scrollable content.\"\n },\n {\n \"name\": \"pan-y\",\n \"description\": \"The user agent may consider touches that begin on the element only for the purposes of vertically scrolling the element’s nearest ancestor with vertically scrollable content.\"\n },\n {\n \"name\": \"pinch-zoom\"\n }\n ],\n \"syntax\": \"auto | none | [ [ pan-x | pan-left | pan-right ] || [ pan-y | pan-up | pan-down ] || pinch-zoom ] | manipulation\",\n \"relevance\": 66,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/touch-action\"\n }\n ],\n \"description\": \"Determines whether touch input may trigger default behavior supplied by user agent.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"transform\",\n \"values\": [\n {\n \"name\": \"matrix()\",\n \"description\": \"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]\"\n },\n {\n \"name\": \"matrix3d()\",\n \"description\": \"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order.\"\n },\n {\n \"name\": \"none\"\n },\n {\n \"name\": \"perspective()\",\n \"description\": \"Specifies a perspective projection matrix.\"\n },\n {\n \"name\": \"rotate()\",\n \"description\": \"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property.\"\n },\n {\n \"name\": \"rotate3d()\",\n \"description\": \"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters.\"\n },\n {\n \"name\": \"rotateX('angle')\",\n \"description\": \"Specifies a clockwise rotation by the given angle about the X axis.\"\n },\n {\n \"name\": \"rotateY('angle')\",\n \"description\": \"Specifies a clockwise rotation by the given angle about the Y axis.\"\n },\n {\n \"name\": \"rotateZ('angle')\",\n \"description\": \"Specifies a clockwise rotation by the given angle about the Z axis.\"\n },\n {\n \"name\": \"scale()\",\n \"description\": \"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first.\"\n },\n {\n \"name\": \"scale3d()\",\n \"description\": \"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters.\"\n },\n {\n \"name\": \"scaleX()\",\n \"description\": \"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter.\"\n },\n {\n \"name\": \"scaleY()\",\n \"description\": \"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter.\"\n },\n {\n \"name\": \"scaleZ()\",\n \"description\": \"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter.\"\n },\n {\n \"name\": \"skew()\",\n \"description\": \"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis).\"\n },\n {\n \"name\": \"skewX()\",\n \"description\": \"Specifies a skew transformation along the X axis by the given angle.\"\n },\n {\n \"name\": \"skewY()\",\n \"description\": \"Specifies a skew transformation along the Y axis by the given angle.\"\n },\n {\n \"name\": \"translate()\",\n \"description\": \"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter.\"\n },\n {\n \"name\": \"translate3d()\",\n \"description\": \"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively.\"\n },\n {\n \"name\": \"translateX()\",\n \"description\": \"Specifies a translation by the given amount in the X direction.\"\n },\n {\n \"name\": \"translateY()\",\n \"description\": \"Specifies a translation by the given amount in the Y direction.\"\n },\n {\n \"name\": \"translateZ()\",\n \"description\": \"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0.\"\n }\n ],\n \"syntax\": \"none | <transform-list>\",\n \"relevance\": 89,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/transform\"\n }\n ],\n \"description\": \"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"transform-origin\",\n \"syntax\": \"[ <length-percentage> | left | center | right | top | bottom ] | [ [ <length-percentage> | left | center | right ] && [ <length-percentage> | top | center | bottom ] ] <length>?\",\n \"relevance\": 75,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/transform-origin\"\n }\n ],\n \"description\": \"Establishes the origin of transformation for an element.\",\n \"restrictions\": [\n \"position\",\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"transform-style\",\n \"browsers\": [\n \"E12\",\n \"FF16\",\n \"S9\",\n \"C36\",\n \"O23\"\n ],\n \"values\": [\n {\n \"name\": \"flat\",\n \"description\": \"All children of this element are rendered flattened into the 2D plane of the element.\"\n },\n {\n \"name\": \"preserve-3d\",\n \"browsers\": [\n \"E12\",\n \"FF16\",\n \"S9\",\n \"C36\",\n \"O23\"\n ],\n \"description\": \"Flattening is not performed, so children maintain their position in 3D space.\"\n }\n ],\n \"syntax\": \"flat | preserve-3d\",\n \"relevance\": 55,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/transform-style\"\n }\n ],\n \"description\": \"Defines how nested elements are rendered in 3D space.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"transition\",\n \"values\": [\n {\n \"name\": \"all\",\n \"description\": \"Every property that is able to undergo a transition will do so.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"No property will transition.\"\n }\n ],\n \"syntax\": \"<single-transition>#\",\n \"relevance\": 88,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/transition\"\n }\n ],\n \"description\": \"Shorthand property combines four of the transition properties into a single property.\",\n \"restrictions\": [\n \"time\",\n \"property\",\n \"timing-function\",\n \"enum\"\n ]\n },\n {\n \"name\": \"transition-delay\",\n \"syntax\": \"<time>#\",\n \"relevance\": 63,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/transition-delay\"\n }\n ],\n \"description\": \"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.\",\n \"restrictions\": [\n \"time\"\n ]\n },\n {\n \"name\": \"transition-duration\",\n \"syntax\": \"<time>#\",\n \"relevance\": 62,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/transition-duration\"\n }\n ],\n \"description\": \"Specifies how long the transition from the old value to the new value should take.\",\n \"restrictions\": [\n \"time\"\n ]\n },\n {\n \"name\": \"transition-property\",\n \"values\": [\n {\n \"name\": \"all\",\n \"description\": \"Every property that is able to undergo a transition will do so.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"No property will transition.\"\n }\n ],\n \"syntax\": \"none | <single-transition-property>#\",\n \"relevance\": 64,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/transition-property\"\n }\n ],\n \"description\": \"Specifies the name of the CSS property to which the transition is applied.\",\n \"restrictions\": [\n \"property\"\n ]\n },\n {\n \"name\": \"transition-timing-function\",\n \"syntax\": \"<easing-function>#\",\n \"relevance\": 61,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/transition-timing-function\"\n }\n ],\n \"description\": \"Describes how the intermediate values used during a transition will be calculated.\",\n \"restrictions\": [\n \"timing-function\"\n ]\n },\n {\n \"name\": \"unicode-bidi\",\n \"values\": [\n {\n \"name\": \"bidi-override\",\n \"description\": \"Inside the element, reordering is strictly in sequence according to the 'direction' property; the implicit part of the bidirectional algorithm is ignored.\"\n },\n {\n \"name\": \"embed\",\n \"description\": \"If the element is inline-level, this value opens an additional level of embedding with respect to the bidirectional algorithm. The direction of this embedding level is given by the 'direction' property.\"\n },\n {\n \"name\": \"isolate\",\n \"description\": \"The contents of the element are considered to be inside a separate, independent paragraph.\"\n },\n {\n \"name\": \"isolate-override\",\n \"description\": \"This combines the isolation behavior of 'isolate' with the directional override behavior of 'bidi-override'\"\n },\n {\n \"name\": \"normal\",\n \"description\": \"The element does not open an additional level of embedding with respect to the bidirectional algorithm. For inline-level elements, implicit reordering works across element boundaries.\"\n },\n {\n \"name\": \"plaintext\",\n \"description\": \"For the purposes of the Unicode bidirectional algorithm, the base directionality of each bidi paragraph for which the element forms the containing block is determined not by the element's computed 'direction'.\"\n }\n ],\n \"syntax\": \"normal | embed | isolate | bidi-override | isolate-override | plaintext\",\n \"relevance\": 58,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/unicode-bidi\"\n }\n ],\n \"description\": \"The level of embedding with respect to the bidirectional algorithm.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"unicode-range\",\n \"values\": [\n {\n \"name\": \"U+26\",\n \"description\": \"Ampersand.\"\n },\n {\n \"name\": \"U+20-24F, U+2B0-2FF, U+370-4FF, U+1E00-1EFF, U+2000-20CF, U+2100-23FF, U+2500-26FF, U+E000-F8FF, U+FB00–FB4F\",\n \"description\": \"WGL4 character set (Pan-European).\"\n },\n {\n \"name\": \"U+20-17F, U+2B0-2FF, U+2000-206F, U+20A0-20CF, U+2100-21FF, U+2600-26FF\",\n \"description\": \"The Multilingual European Subset No. 1. Latin. Covers ~44 languages.\"\n },\n {\n \"name\": \"U+20-2FF, U+370-4FF, U+1E00-20CF, U+2100-23FF, U+2500-26FF, U+FB00-FB4F, U+FFF0-FFFD\",\n \"description\": \"The Multilingual European Subset No. 2. Latin, Greek, and Cyrillic. Covers ~128 language.\"\n },\n {\n \"name\": \"U+20-4FF, U+530-58F, U+10D0-10FF, U+1E00-23FF, U+2440-245F, U+2500-26FF, U+FB00-FB4F, U+FE20-FE2F, U+FFF0-FFFD\",\n \"description\": \"The Multilingual European Subset No. 3. Covers all characters belonging to European scripts.\"\n },\n {\n \"name\": \"U+00-7F\",\n \"description\": \"Basic Latin (ASCII).\"\n },\n {\n \"name\": \"U+80-FF\",\n \"description\": \"Latin-1 Supplement. Accented characters for Western European languages, common punctuation characters, multiplication and division signs.\"\n },\n {\n \"name\": \"U+100-17F\",\n \"description\": \"Latin Extended-A. Accented characters for for Czech, Dutch, Polish, and Turkish.\"\n },\n {\n \"name\": \"U+180-24F\",\n \"description\": \"Latin Extended-B. Croatian, Slovenian, Romanian, Non-European and historic latin, Khoisan, Pinyin, Livonian, Sinology.\"\n },\n {\n \"name\": \"U+1E00-1EFF\",\n \"description\": \"Latin Extended Additional. Vietnamese, German captial sharp s, Medievalist, Latin general use.\"\n },\n {\n \"name\": \"U+250-2AF\",\n \"description\": \"International Phonetic Alphabet Extensions.\"\n },\n {\n \"name\": \"U+370-3FF\",\n \"description\": \"Greek and Coptic.\"\n },\n {\n \"name\": \"U+1F00-1FFF\",\n \"description\": \"Greek Extended. Accented characters for polytonic Greek.\"\n },\n {\n \"name\": \"U+400-4FF\",\n \"description\": \"Cyrillic.\"\n },\n {\n \"name\": \"U+500-52F\",\n \"description\": \"Cyrillic Supplement. Extra letters for Komi, Khanty, Chukchi, Mordvin, Kurdish, Aleut, Chuvash, Abkhaz, Azerbaijani, and Orok.\"\n },\n {\n \"name\": \"U+00-52F, U+1E00-1FFF, U+2200–22FF\",\n \"description\": \"Latin, Greek, Cyrillic, some punctuation and symbols.\"\n },\n {\n \"name\": \"U+530–58F\",\n \"description\": \"Armenian.\"\n },\n {\n \"name\": \"U+590–5FF\",\n \"description\": \"Hebrew.\"\n },\n {\n \"name\": \"U+600–6FF\",\n \"description\": \"Arabic.\"\n },\n {\n \"name\": \"U+750–77F\",\n \"description\": \"Arabic Supplement. Additional letters for African languages, Khowar, Torwali, Burushaski, and early Persian.\"\n },\n {\n \"name\": \"U+8A0–8FF\",\n \"description\": \"Arabic Extended-A. Additional letters for African languages, European and Central Asian languages, Rohingya, Tamazight, Arwi, and Koranic annotation signs.\"\n },\n {\n \"name\": \"U+700–74F\",\n \"description\": \"Syriac.\"\n },\n {\n \"name\": \"U+900–97F\",\n \"description\": \"Devanagari.\"\n },\n {\n \"name\": \"U+980–9FF\",\n \"description\": \"Bengali.\"\n },\n {\n \"name\": \"U+A00–A7F\",\n \"description\": \"Gurmukhi.\"\n },\n {\n \"name\": \"U+A80–AFF\",\n \"description\": \"Gujarati.\"\n },\n {\n \"name\": \"U+B00–B7F\",\n \"description\": \"Oriya.\"\n },\n {\n \"name\": \"U+B80–BFF\",\n \"description\": \"Tamil.\"\n },\n {\n \"name\": \"U+C00–C7F\",\n \"description\": \"Telugu.\"\n },\n {\n \"name\": \"U+C80–CFF\",\n \"description\": \"Kannada.\"\n },\n {\n \"name\": \"U+D00–D7F\",\n \"description\": \"Malayalam.\"\n },\n {\n \"name\": \"U+D80–DFF\",\n \"description\": \"Sinhala.\"\n },\n {\n \"name\": \"U+118A0–118FF\",\n \"description\": \"Warang Citi.\"\n },\n {\n \"name\": \"U+E00–E7F\",\n \"description\": \"Thai.\"\n },\n {\n \"name\": \"U+1A20–1AAF\",\n \"description\": \"Tai Tham.\"\n },\n {\n \"name\": \"U+AA80–AADF\",\n \"description\": \"Tai Viet.\"\n },\n {\n \"name\": \"U+E80–EFF\",\n \"description\": \"Lao.\"\n },\n {\n \"name\": \"U+F00–FFF\",\n \"description\": \"Tibetan.\"\n },\n {\n \"name\": \"U+1000–109F\",\n \"description\": \"Myanmar (Burmese).\"\n },\n {\n \"name\": \"U+10A0–10FF\",\n \"description\": \"Georgian.\"\n },\n {\n \"name\": \"U+1200–137F\",\n \"description\": \"Ethiopic.\"\n },\n {\n \"name\": \"U+1380–139F\",\n \"description\": \"Ethiopic Supplement. Extra Syllables for Sebatbeit, and Tonal marks\"\n },\n {\n \"name\": \"U+2D80–2DDF\",\n \"description\": \"Ethiopic Extended. Extra Syllables for Me'en, Blin, and Sebatbeit.\"\n },\n {\n \"name\": \"U+AB00–AB2F\",\n \"description\": \"Ethiopic Extended-A. Extra characters for Gamo-Gofa-Dawro, Basketo, and Gumuz.\"\n },\n {\n \"name\": \"U+1780–17FF\",\n \"description\": \"Khmer.\"\n },\n {\n \"name\": \"U+1800–18AF\",\n \"description\": \"Mongolian.\"\n },\n {\n \"name\": \"U+1B80–1BBF\",\n \"description\": \"Sundanese.\"\n },\n {\n \"name\": \"U+1CC0–1CCF\",\n \"description\": \"Sundanese Supplement. Punctuation.\"\n },\n {\n \"name\": \"U+4E00–9FD5\",\n \"description\": \"CJK (Chinese, Japanese, Korean) Unified Ideographs. Most common ideographs for modern Chinese and Japanese.\"\n },\n {\n \"name\": \"U+3400–4DB5\",\n \"description\": \"CJK Unified Ideographs Extension A. Rare ideographs.\"\n },\n {\n \"name\": \"U+2F00–2FDF\",\n \"description\": \"Kangxi Radicals.\"\n },\n {\n \"name\": \"U+2E80–2EFF\",\n \"description\": \"CJK Radicals Supplement. Alternative forms of Kangxi Radicals.\"\n },\n {\n \"name\": \"U+1100–11FF\",\n \"description\": \"Hangul Jamo.\"\n },\n {\n \"name\": \"U+AC00–D7AF\",\n \"description\": \"Hangul Syllables.\"\n },\n {\n \"name\": \"U+3040–309F\",\n \"description\": \"Hiragana.\"\n },\n {\n \"name\": \"U+30A0–30FF\",\n \"description\": \"Katakana.\"\n },\n {\n \"name\": \"U+A5, U+4E00-9FFF, U+30??, U+FF00-FF9F\",\n \"description\": \"Japanese Kanji, Hiragana and Katakana characters plus Yen/Yuan symbol.\"\n },\n {\n \"name\": \"U+A4D0–A4FF\",\n \"description\": \"Lisu.\"\n },\n {\n \"name\": \"U+A000–A48F\",\n \"description\": \"Yi Syllables.\"\n },\n {\n \"name\": \"U+A490–A4CF\",\n \"description\": \"Yi Radicals.\"\n },\n {\n \"name\": \"U+2000-206F\",\n \"description\": \"General Punctuation.\"\n },\n {\n \"name\": \"U+3000–303F\",\n \"description\": \"CJK Symbols and Punctuation.\"\n },\n {\n \"name\": \"U+2070–209F\",\n \"description\": \"Superscripts and Subscripts.\"\n },\n {\n \"name\": \"U+20A0–20CF\",\n \"description\": \"Currency Symbols.\"\n },\n {\n \"name\": \"U+2100–214F\",\n \"description\": \"Letterlike Symbols.\"\n },\n {\n \"name\": \"U+2150–218F\",\n \"description\": \"Number Forms.\"\n },\n {\n \"name\": \"U+2190–21FF\",\n \"description\": \"Arrows.\"\n },\n {\n \"name\": \"U+2200–22FF\",\n \"description\": \"Mathematical Operators.\"\n },\n {\n \"name\": \"U+2300–23FF\",\n \"description\": \"Miscellaneous Technical.\"\n },\n {\n \"name\": \"U+E000-F8FF\",\n \"description\": \"Private Use Area.\"\n },\n {\n \"name\": \"U+FB00–FB4F\",\n \"description\": \"Alphabetic Presentation Forms. Ligatures for latin, Armenian, and Hebrew.\"\n },\n {\n \"name\": \"U+FB50–FDFF\",\n \"description\": \"Arabic Presentation Forms-A. Contextual forms / ligatures for Persian, Urdu, Sindhi, Central Asian languages, etc, Arabic pedagogical symbols, word ligatures.\"\n },\n {\n \"name\": \"U+1F600–1F64F\",\n \"description\": \"Emoji: Emoticons.\"\n },\n {\n \"name\": \"U+2600–26FF\",\n \"description\": \"Emoji: Miscellaneous Symbols.\"\n },\n {\n \"name\": \"U+1F300–1F5FF\",\n \"description\": \"Emoji: Miscellaneous Symbols and Pictographs.\"\n },\n {\n \"name\": \"U+1F900–1F9FF\",\n \"description\": \"Emoji: Supplemental Symbols and Pictographs.\"\n },\n {\n \"name\": \"U+1F680–1F6FF\",\n \"description\": \"Emoji: Transport and Map Symbols.\"\n }\n ],\n \"syntax\": \"<unicode-range>#\",\n \"relevance\": 58,\n \"description\": \"@font-face descriptor. Defines the set of Unicode codepoints that may be supported by the font face for which it is declared.\",\n \"restrictions\": [\n \"unicode-range\"\n ]\n },\n {\n \"name\": \"user-select\",\n \"values\": [\n {\n \"name\": \"all\",\n \"description\": \"The content of the element must be selected atomically\"\n },\n {\n \"name\": \"auto\"\n },\n {\n \"name\": \"contain\",\n \"description\": \"UAs must not allow a selection which is started in this element to be extended outside of this element.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"The UA must not allow selections to be started in this element.\"\n },\n {\n \"name\": \"text\",\n \"description\": \"The element imposes no constraint on the selection.\"\n }\n ],\n \"syntax\": \"auto | text | none | contain | all\",\n \"relevance\": 75,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/user-select\"\n }\n ],\n \"description\": \"Controls the appearance of selection.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"vertical-align\",\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Align the dominant baseline of the parent box with the equivalent, or heuristically reconstructed, baseline of the element inline box.\"\n },\n {\n \"name\": \"baseline\",\n \"description\": \"Align the 'alphabetic' baseline of the element with the 'alphabetic' baseline of the parent element.\"\n },\n {\n \"name\": \"bottom\",\n \"description\": \"Align the after edge of the extended inline box with the after-edge of the line box.\"\n },\n {\n \"name\": \"middle\",\n \"description\": \"Align the 'middle' baseline of the inline element with the middle baseline of the parent.\"\n },\n {\n \"name\": \"sub\",\n \"description\": \"Lower the baseline of the box to the proper position for subscripts of the parent's box. (This value has no effect on the font size of the element's text.)\"\n },\n {\n \"name\": \"super\",\n \"description\": \"Raise the baseline of the box to the proper position for superscripts of the parent's box. (This value has no effect on the font size of the element's text.)\"\n },\n {\n \"name\": \"text-bottom\",\n \"description\": \"Align the bottom of the box with the after-edge of the parent element's font.\"\n },\n {\n \"name\": \"text-top\",\n \"description\": \"Align the top of the box with the before-edge of the parent element's font.\"\n },\n {\n \"name\": \"top\",\n \"description\": \"Align the before edge of the extended inline box with the before-edge of the line box.\"\n },\n {\n \"name\": \"-webkit-baseline-middle\"\n }\n ],\n \"syntax\": \"baseline | sub | super | text-top | text-bottom | middle | top | bottom | <percentage> | <length>\",\n \"relevance\": 92,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/vertical-align\"\n }\n ],\n \"description\": \"Affects the vertical positioning of the inline boxes generated by an inline-level element inside a line box.\",\n \"restrictions\": [\n \"percentage\",\n \"length\"\n ]\n },\n {\n \"name\": \"visibility\",\n \"values\": [\n {\n \"name\": \"collapse\",\n \"description\": \"Table-specific. If used on elements other than rows, row groups, columns, or column groups, 'collapse' has the same meaning as 'hidden'.\"\n },\n {\n \"name\": \"hidden\",\n \"description\": \"The generated box is invisible (fully transparent, nothing is drawn), but still affects layout.\"\n },\n {\n \"name\": \"visible\",\n \"description\": \"The generated box is visible.\"\n }\n ],\n \"syntax\": \"visible | hidden | collapse\",\n \"relevance\": 88,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/visibility\"\n }\n ],\n \"description\": \"Specifies whether the boxes generated by an element are rendered. Invisible boxes still affect layout (set the ‘display’ property to ‘none’ to suppress box generation altogether).\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-webkit-animation\",\n \"browsers\": [\n \"C\",\n \"S5\"\n ],\n \"values\": [\n {\n \"name\": \"alternate\",\n \"description\": \"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction.\"\n },\n {\n \"name\": \"alternate-reverse\",\n \"description\": \"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction.\"\n },\n {\n \"name\": \"backwards\",\n \"description\": \"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'.\"\n },\n {\n \"name\": \"both\",\n \"description\": \"Both forwards and backwards fill modes are applied.\"\n },\n {\n \"name\": \"forwards\",\n \"description\": \"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes.\"\n },\n {\n \"name\": \"infinite\",\n \"description\": \"Causes the animation to repeat forever.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"No animation is performed\"\n },\n {\n \"name\": \"normal\",\n \"description\": \"Normal playback.\"\n },\n {\n \"name\": \"reverse\",\n \"description\": \"All iterations of the animation are played in the reverse direction from the way they were specified.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Shorthand property combines six of the animation properties into a single property.\",\n \"restrictions\": [\n \"time\",\n \"enum\",\n \"timing-function\",\n \"identifier\",\n \"number\"\n ]\n },\n {\n \"name\": \"-webkit-animation-delay\",\n \"browsers\": [\n \"C\",\n \"S5\"\n ],\n \"relevance\": 50,\n \"description\": \"Defines when the animation will start.\",\n \"restrictions\": [\n \"time\"\n ]\n },\n {\n \"name\": \"-webkit-animation-direction\",\n \"browsers\": [\n \"C\",\n \"S5\"\n ],\n \"values\": [\n {\n \"name\": \"alternate\",\n \"description\": \"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction.\"\n },\n {\n \"name\": \"alternate-reverse\",\n \"description\": \"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction.\"\n },\n {\n \"name\": \"normal\",\n \"description\": \"Normal playback.\"\n },\n {\n \"name\": \"reverse\",\n \"description\": \"All iterations of the animation are played in the reverse direction from the way they were specified.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Defines whether or not the animation should play in reverse on alternate cycles.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-webkit-animation-duration\",\n \"browsers\": [\n \"C\",\n \"S5\"\n ],\n \"relevance\": 50,\n \"description\": \"Defines the length of time that an animation takes to complete one cycle.\",\n \"restrictions\": [\n \"time\"\n ]\n },\n {\n \"name\": \"-webkit-animation-fill-mode\",\n \"browsers\": [\n \"C\",\n \"S5\"\n ],\n \"values\": [\n {\n \"name\": \"backwards\",\n \"description\": \"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'.\"\n },\n {\n \"name\": \"both\",\n \"description\": \"Both forwards and backwards fill modes are applied.\"\n },\n {\n \"name\": \"forwards\",\n \"description\": \"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Defines what values are applied by the animation outside the time it is executing.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-webkit-animation-iteration-count\",\n \"browsers\": [\n \"C\",\n \"S5\"\n ],\n \"values\": [\n {\n \"name\": \"infinite\",\n \"description\": \"Causes the animation to repeat forever.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.\",\n \"restrictions\": [\n \"number\",\n \"enum\"\n ]\n },\n {\n \"name\": \"-webkit-animation-name\",\n \"browsers\": [\n \"C\",\n \"S5\"\n ],\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"No animation is performed\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.\",\n \"restrictions\": [\n \"identifier\",\n \"enum\"\n ]\n },\n {\n \"name\": \"-webkit-animation-play-state\",\n \"browsers\": [\n \"C\",\n \"S5\"\n ],\n \"values\": [\n {\n \"name\": \"paused\",\n \"description\": \"A running animation will be paused.\"\n },\n {\n \"name\": \"running\",\n \"description\": \"Resume playback of a paused animation.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Defines whether the animation is running or paused.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-webkit-animation-timing-function\",\n \"browsers\": [\n \"C\",\n \"S5\"\n ],\n \"relevance\": 50,\n \"description\": \"Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.\",\n \"restrictions\": [\n \"timing-function\"\n ]\n },\n {\n \"name\": \"-webkit-appearance\",\n \"browsers\": [\n \"C\",\n \"S3\"\n ],\n \"values\": [\n {\n \"name\": \"button\"\n },\n {\n \"name\": \"button-bevel\"\n },\n {\n \"name\": \"caps-lock-indicator\"\n },\n {\n \"name\": \"caret\"\n },\n {\n \"name\": \"checkbox\"\n },\n {\n \"name\": \"default-button\"\n },\n {\n \"name\": \"listbox\"\n },\n {\n \"name\": \"listitem\"\n },\n {\n \"name\": \"media-fullscreen-button\"\n },\n {\n \"name\": \"media-mute-button\"\n },\n {\n \"name\": \"media-play-button\"\n },\n {\n \"name\": \"media-seek-back-button\"\n },\n {\n \"name\": \"media-seek-forward-button\"\n },\n {\n \"name\": \"media-slider\"\n },\n {\n \"name\": \"media-sliderthumb\"\n },\n {\n \"name\": \"menulist\"\n },\n {\n \"name\": \"menulist-button\"\n },\n {\n \"name\": \"menulist-text\"\n },\n {\n \"name\": \"menulist-textfield\"\n },\n {\n \"name\": \"none\"\n },\n {\n \"name\": \"push-button\"\n },\n {\n \"name\": \"radio\"\n },\n {\n \"name\": \"scrollbarbutton-down\"\n },\n {\n \"name\": \"scrollbarbutton-left\"\n },\n {\n \"name\": \"scrollbarbutton-right\"\n },\n {\n \"name\": \"scrollbarbutton-up\"\n },\n {\n \"name\": \"scrollbargripper-horizontal\"\n },\n {\n \"name\": \"scrollbargripper-vertical\"\n },\n {\n \"name\": \"scrollbarthumb-horizontal\"\n },\n {\n \"name\": \"scrollbarthumb-vertical\"\n },\n {\n \"name\": \"scrollbartrack-horizontal\"\n },\n {\n \"name\": \"scrollbartrack-vertical\"\n },\n {\n \"name\": \"searchfield\"\n },\n {\n \"name\": \"searchfield-cancel-button\"\n },\n {\n \"name\": \"searchfield-decoration\"\n },\n {\n \"name\": \"searchfield-results-button\"\n },\n {\n \"name\": \"searchfield-results-decoration\"\n },\n {\n \"name\": \"slider-horizontal\"\n },\n {\n \"name\": \"sliderthumb-horizontal\"\n },\n {\n \"name\": \"sliderthumb-vertical\"\n },\n {\n \"name\": \"slider-vertical\"\n },\n {\n \"name\": \"square-button\"\n },\n {\n \"name\": \"textarea\"\n },\n {\n \"name\": \"textfield\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"none | button | button-bevel | caret | checkbox | default-button | inner-spin-button | listbox | listitem | media-controls-background | media-controls-fullscreen-background | media-current-time-display | media-enter-fullscreen-button | media-exit-fullscreen-button | media-fullscreen-button | media-mute-button | media-overlay-play-button | media-play-button | media-seek-back-button | media-seek-forward-button | media-slider | media-sliderthumb | media-time-remaining-display | media-toggle-closed-captions-button | media-volume-slider | media-volume-slider-container | media-volume-sliderthumb | menulist | menulist-button | menulist-text | menulist-textfield | meter | progress-bar | progress-bar-value | push-button | radio | searchfield | searchfield-cancel-button | searchfield-decoration | searchfield-results-button | searchfield-results-decoration | slider-horizontal | slider-vertical | sliderthumb-horizontal | sliderthumb-vertical | square-button | textarea | textfield | -apple-pay-button\",\n \"relevance\": 0,\n \"description\": \"Changes the appearance of buttons and other controls to resemble native controls.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-webkit-backdrop-filter\",\n \"browsers\": [\n \"S9\"\n ],\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"No filter effects are applied.\"\n },\n {\n \"name\": \"blur()\",\n \"description\": \"Applies a Gaussian blur to the input image.\"\n },\n {\n \"name\": \"brightness()\",\n \"description\": \"Applies a linear multiplier to input image, making it appear more or less bright.\"\n },\n {\n \"name\": \"contrast()\",\n \"description\": \"Adjusts the contrast of the input.\"\n },\n {\n \"name\": \"drop-shadow()\",\n \"description\": \"Applies a drop shadow effect to the input image.\"\n },\n {\n \"name\": \"grayscale()\",\n \"description\": \"Converts the input image to grayscale.\"\n },\n {\n \"name\": \"hue-rotate()\",\n \"description\": \"Applies a hue rotation on the input image. \"\n },\n {\n \"name\": \"invert()\",\n \"description\": \"Inverts the samples in the input image.\"\n },\n {\n \"name\": \"opacity()\",\n \"description\": \"Applies transparency to the samples in the input image.\"\n },\n {\n \"name\": \"saturate()\",\n \"description\": \"Saturates the input image.\"\n },\n {\n \"name\": \"sepia()\",\n \"description\": \"Converts the input image to sepia.\"\n },\n {\n \"name\": \"url()\",\n \"description\": \"A filter reference to a <filter> element.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Applies a filter effect where the first filter in the list takes the element's background image as the input image.\",\n \"restrictions\": [\n \"enum\",\n \"url\"\n ]\n },\n {\n \"name\": \"-webkit-backface-visibility\",\n \"browsers\": [\n \"C\",\n \"S5\"\n ],\n \"values\": [\n {\n \"name\": \"hidden\"\n },\n {\n \"name\": \"visible\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-webkit-background-clip\",\n \"browsers\": [\n \"C\",\n \"S3\"\n ],\n \"relevance\": 50,\n \"description\": \"Determines the background painting area.\",\n \"restrictions\": [\n \"box\"\n ]\n },\n {\n \"name\": \"-webkit-background-composite\",\n \"browsers\": [\n \"C\",\n \"S3\"\n ],\n \"values\": [\n {\n \"name\": \"border\"\n },\n {\n \"name\": \"padding\"\n }\n ],\n \"relevance\": 50,\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-webkit-background-origin\",\n \"browsers\": [\n \"C\",\n \"S3\"\n ],\n \"relevance\": 50,\n \"description\": \"For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).\",\n \"restrictions\": [\n \"box\"\n ]\n },\n {\n \"name\": \"-webkit-border-image\",\n \"browsers\": [\n \"C\",\n \"S5\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead.\"\n },\n {\n \"name\": \"fill\",\n \"description\": \"Causes the middle part of the border-image to be preserved.\"\n },\n {\n \"name\": \"none\"\n },\n {\n \"name\": \"repeat\",\n \"description\": \"The image is tiled (repeated) to fill the area.\"\n },\n {\n \"name\": \"round\",\n \"description\": \"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does.\"\n },\n {\n \"name\": \"space\",\n \"description\": \"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles.\"\n },\n {\n \"name\": \"stretch\",\n \"description\": \"The image is stretched to fill the area.\"\n },\n {\n \"name\": \"url()\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.\",\n \"restrictions\": [\n \"length\",\n \"percentage\",\n \"number\",\n \"url\",\n \"enum\"\n ]\n },\n {\n \"name\": \"-webkit-box-align\",\n \"browsers\": [\n \"C\",\n \"S3\"\n ],\n \"values\": [\n {\n \"name\": \"baseline\",\n \"description\": \"If this box orientation is inline-axis or horizontal, all children are placed with their baselines aligned, and extra space placed before or after as necessary. For block flows, the baseline of the first non-empty line box located within the element is used. For tables, the baseline of the first cell is used.\"\n },\n {\n \"name\": \"center\",\n \"description\": \"Any extra space is divided evenly, with half placed above the child and the other half placed after the child.\"\n },\n {\n \"name\": \"end\",\n \"description\": \"For normal direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element. For reverse direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element.\"\n },\n {\n \"name\": \"start\",\n \"description\": \"For normal direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element. For reverse direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element.\"\n },\n {\n \"name\": \"stretch\",\n \"description\": \"The height of each child is adjusted to that of the containing block.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Specifies the alignment of nested elements within an outer flexible box element.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-webkit-box-direction\",\n \"browsers\": [\n \"C\",\n \"S3\"\n ],\n \"values\": [\n {\n \"name\": \"normal\",\n \"description\": \"A box with a computed value of horizontal for box-orient displays its children from left to right. A box with a computed value of vertical displays its children from top to bottom.\"\n },\n {\n \"name\": \"reverse\",\n \"description\": \"A box with a computed value of horizontal for box-orient displays its children from right to left. A box with a computed value of vertical displays its children from bottom to top.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"In webkit applications, -webkit-box-direction specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge).\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-webkit-box-flex\",\n \"browsers\": [\n \"C\",\n \"S3\"\n ],\n \"relevance\": 50,\n \"description\": \"Specifies an element's flexibility.\",\n \"restrictions\": [\n \"number\"\n ]\n },\n {\n \"name\": \"-webkit-box-flex-group\",\n \"browsers\": [\n \"C\",\n \"S3\"\n ],\n \"relevance\": 50,\n \"description\": \"Flexible elements can be assigned to flex groups using the 'box-flex-group' property.\",\n \"restrictions\": [\n \"integer\"\n ]\n },\n {\n \"name\": \"-webkit-box-ordinal-group\",\n \"browsers\": [\n \"C\",\n \"S3\"\n ],\n \"relevance\": 50,\n \"description\": \"Indicates the ordinal group the element belongs to. Elements with a lower ordinal group are displayed before those with a higher ordinal group.\",\n \"restrictions\": [\n \"integer\"\n ]\n },\n {\n \"name\": \"-webkit-box-orient\",\n \"browsers\": [\n \"C\",\n \"S3\"\n ],\n \"values\": [\n {\n \"name\": \"block-axis\",\n \"description\": \"Elements are oriented along the box's axis.\"\n },\n {\n \"name\": \"horizontal\",\n \"description\": \"The box displays its children from left to right in a horizontal line.\"\n },\n {\n \"name\": \"inline-axis\",\n \"description\": \"Elements are oriented vertically.\"\n },\n {\n \"name\": \"vertical\",\n \"description\": \"The box displays its children from stacked from top to bottom vertically.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"In webkit applications, -webkit-box-orient specifies whether a box lays out its contents horizontally or vertically.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-webkit-box-pack\",\n \"browsers\": [\n \"C\",\n \"S3\"\n ],\n \"values\": [\n {\n \"name\": \"center\",\n \"description\": \"The extra space is divided evenly, with half placed before the first child and the other half placed after the last child.\"\n },\n {\n \"name\": \"end\",\n \"description\": \"For normal direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child. For reverse direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child.\"\n },\n {\n \"name\": \"justify\",\n \"description\": \"The space is divided evenly in-between each child, with none of the extra space placed before the first child or after the last child. If there is only one child, treat the pack value as if it were start.\"\n },\n {\n \"name\": \"start\",\n \"description\": \"For normal direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child. For reverse direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Specifies alignment of child elements within the current element in the direction of orientation.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-webkit-box-reflect\",\n \"browsers\": [\n \"E79\",\n \"S4\",\n \"C4\",\n \"O15\"\n ],\n \"values\": [\n {\n \"name\": \"above\",\n \"description\": \"The reflection appears above the border box.\"\n },\n {\n \"name\": \"below\",\n \"description\": \"The reflection appears below the border box.\"\n },\n {\n \"name\": \"left\",\n \"description\": \"The reflection appears to the left of the border box.\"\n },\n {\n \"name\": \"right\",\n \"description\": \"The reflection appears to the right of the border box.\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"[ above | below | right | left ]? <length>? <image>?\",\n \"relevance\": 0,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-webkit-box-reflect\"\n }\n ],\n \"description\": \"Defines a reflection of a border box.\"\n },\n {\n \"name\": \"-webkit-box-sizing\",\n \"browsers\": [\n \"C\",\n \"S3\"\n ],\n \"values\": [\n {\n \"name\": \"border-box\",\n \"description\": \"The specified width and height (and respective min/max properties) on this element determine the border box of the element.\"\n },\n {\n \"name\": \"content-box\",\n \"description\": \"Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Box Model addition in CSS3.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-webkit-break-after\",\n \"browsers\": [\n \"S7\"\n ],\n \"values\": [\n {\n \"name\": \"always\",\n \"description\": \"Always force a page break before/after the generated box.\"\n },\n {\n \"name\": \"auto\",\n \"description\": \"Neither force nor forbid a page/column break before/after the generated box.\"\n },\n {\n \"name\": \"avoid\",\n \"description\": \"Avoid a page/column break before/after the generated box.\"\n },\n {\n \"name\": \"avoid-column\",\n \"description\": \"Avoid a column break before/after the generated box.\"\n },\n {\n \"name\": \"avoid-page\",\n \"description\": \"Avoid a page break before/after the generated box.\"\n },\n {\n \"name\": \"avoid-region\"\n },\n {\n \"name\": \"column\",\n \"description\": \"Always force a column break before/after the generated box.\"\n },\n {\n \"name\": \"left\",\n \"description\": \"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page.\"\n },\n {\n \"name\": \"page\",\n \"description\": \"Always force a page break before/after the generated box.\"\n },\n {\n \"name\": \"region\"\n },\n {\n \"name\": \"right\",\n \"description\": \"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Describes the page/column break behavior before the generated box.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-webkit-break-before\",\n \"browsers\": [\n \"S7\"\n ],\n \"values\": [\n {\n \"name\": \"always\",\n \"description\": \"Always force a page break before/after the generated box.\"\n },\n {\n \"name\": \"auto\",\n \"description\": \"Neither force nor forbid a page/column break before/after the generated box.\"\n },\n {\n \"name\": \"avoid\",\n \"description\": \"Avoid a page/column break before/after the generated box.\"\n },\n {\n \"name\": \"avoid-column\",\n \"description\": \"Avoid a column break before/after the generated box.\"\n },\n {\n \"name\": \"avoid-page\",\n \"description\": \"Avoid a page break before/after the generated box.\"\n },\n {\n \"name\": \"avoid-region\"\n },\n {\n \"name\": \"column\",\n \"description\": \"Always force a column break before/after the generated box.\"\n },\n {\n \"name\": \"left\",\n \"description\": \"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page.\"\n },\n {\n \"name\": \"page\",\n \"description\": \"Always force a page break before/after the generated box.\"\n },\n {\n \"name\": \"region\"\n },\n {\n \"name\": \"right\",\n \"description\": \"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Describes the page/column break behavior before the generated box.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-webkit-break-inside\",\n \"browsers\": [\n \"S7\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Neither force nor forbid a page/column break inside the generated box.\"\n },\n {\n \"name\": \"avoid\",\n \"description\": \"Avoid a page/column break inside the generated box.\"\n },\n {\n \"name\": \"avoid-column\",\n \"description\": \"Avoid a column break inside the generated box.\"\n },\n {\n \"name\": \"avoid-page\",\n \"description\": \"Avoid a page break inside the generated box.\"\n },\n {\n \"name\": \"avoid-region\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Describes the page/column break behavior inside the generated box.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-webkit-column-break-after\",\n \"browsers\": [\n \"C\",\n \"S3\"\n ],\n \"values\": [\n {\n \"name\": \"always\",\n \"description\": \"Always force a page break before/after the generated box.\"\n },\n {\n \"name\": \"auto\",\n \"description\": \"Neither force nor forbid a page/column break before/after the generated box.\"\n },\n {\n \"name\": \"avoid\",\n \"description\": \"Avoid a page/column break before/after the generated box.\"\n },\n {\n \"name\": \"avoid-column\",\n \"description\": \"Avoid a column break before/after the generated box.\"\n },\n {\n \"name\": \"avoid-page\",\n \"description\": \"Avoid a page break before/after the generated box.\"\n },\n {\n \"name\": \"avoid-region\"\n },\n {\n \"name\": \"column\",\n \"description\": \"Always force a column break before/after the generated box.\"\n },\n {\n \"name\": \"left\",\n \"description\": \"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page.\"\n },\n {\n \"name\": \"page\",\n \"description\": \"Always force a page break before/after the generated box.\"\n },\n {\n \"name\": \"region\"\n },\n {\n \"name\": \"right\",\n \"description\": \"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Describes the page/column break behavior before the generated box.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-webkit-column-break-before\",\n \"browsers\": [\n \"C\",\n \"S3\"\n ],\n \"values\": [\n {\n \"name\": \"always\",\n \"description\": \"Always force a page break before/after the generated box.\"\n },\n {\n \"name\": \"auto\",\n \"description\": \"Neither force nor forbid a page/column break before/after the generated box.\"\n },\n {\n \"name\": \"avoid\",\n \"description\": \"Avoid a page/column break before/after the generated box.\"\n },\n {\n \"name\": \"avoid-column\",\n \"description\": \"Avoid a column break before/after the generated box.\"\n },\n {\n \"name\": \"avoid-page\",\n \"description\": \"Avoid a page break before/after the generated box.\"\n },\n {\n \"name\": \"avoid-region\"\n },\n {\n \"name\": \"column\",\n \"description\": \"Always force a column break before/after the generated box.\"\n },\n {\n \"name\": \"left\",\n \"description\": \"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page.\"\n },\n {\n \"name\": \"page\",\n \"description\": \"Always force a page break before/after the generated box.\"\n },\n {\n \"name\": \"region\"\n },\n {\n \"name\": \"right\",\n \"description\": \"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Describes the page/column break behavior before the generated box.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-webkit-column-break-inside\",\n \"browsers\": [\n \"C\",\n \"S3\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Neither force nor forbid a page/column break inside the generated box.\"\n },\n {\n \"name\": \"avoid\",\n \"description\": \"Avoid a page/column break inside the generated box.\"\n },\n {\n \"name\": \"avoid-column\",\n \"description\": \"Avoid a column break inside the generated box.\"\n },\n {\n \"name\": \"avoid-page\",\n \"description\": \"Avoid a page break inside the generated box.\"\n },\n {\n \"name\": \"avoid-region\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Describes the page/column break behavior inside the generated box.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-webkit-column-count\",\n \"browsers\": [\n \"C\",\n \"S3\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Determines the number of columns by the 'column-width' property and the element width.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Describes the optimal number of columns into which the content of the element will be flowed.\",\n \"restrictions\": [\n \"integer\"\n ]\n },\n {\n \"name\": \"-webkit-column-gap\",\n \"browsers\": [\n \"C\",\n \"S3\"\n ],\n \"values\": [\n {\n \"name\": \"normal\",\n \"description\": \"User agent specific and typically equivalent to 1em.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.\",\n \"restrictions\": [\n \"length\"\n ]\n },\n {\n \"name\": \"-webkit-column-rule\",\n \"browsers\": [\n \"C\",\n \"S3\"\n ],\n \"relevance\": 50,\n \"description\": \"This property is a shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.\",\n \"restrictions\": [\n \"length\",\n \"line-width\",\n \"line-style\",\n \"color\"\n ]\n },\n {\n \"name\": \"-webkit-column-rule-color\",\n \"browsers\": [\n \"C\",\n \"S3\"\n ],\n \"relevance\": 50,\n \"description\": \"Sets the color of the column rule\",\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"-webkit-column-rule-style\",\n \"browsers\": [\n \"C\",\n \"S3\"\n ],\n \"relevance\": 50,\n \"description\": \"Sets the style of the rule between columns of an element.\",\n \"restrictions\": [\n \"line-style\"\n ]\n },\n {\n \"name\": \"-webkit-column-rule-width\",\n \"browsers\": [\n \"C\",\n \"S3\"\n ],\n \"relevance\": 50,\n \"description\": \"Sets the width of the rule between columns. Negative values are not allowed.\",\n \"restrictions\": [\n \"length\",\n \"line-width\"\n ]\n },\n {\n \"name\": \"-webkit-columns\",\n \"browsers\": [\n \"C\",\n \"S3\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The width depends on the values of other properties.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"A shorthand property which sets both 'column-width' and 'column-count'.\",\n \"restrictions\": [\n \"length\",\n \"integer\"\n ]\n },\n {\n \"name\": \"-webkit-column-span\",\n \"browsers\": [\n \"C\",\n \"S3\"\n ],\n \"values\": [\n {\n \"name\": \"all\",\n \"description\": \"The element spans across all columns. Content in the normal flow that appears before the element is automatically balanced across all columns before the element appear.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"The element does not span multiple columns.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Describes the page/column break behavior after the generated box.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-webkit-column-width\",\n \"browsers\": [\n \"C\",\n \"S3\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The width depends on the values of other properties.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"This property describes the width of columns in multicol elements.\",\n \"restrictions\": [\n \"length\"\n ]\n },\n {\n \"name\": \"-webkit-filter\",\n \"browsers\": [\n \"C18\",\n \"O15\",\n \"S6\"\n ],\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"No filter effects are applied.\"\n },\n {\n \"name\": \"blur()\",\n \"description\": \"Applies a Gaussian blur to the input image.\"\n },\n {\n \"name\": \"brightness()\",\n \"description\": \"Applies a linear multiplier to input image, making it appear more or less bright.\"\n },\n {\n \"name\": \"contrast()\",\n \"description\": \"Adjusts the contrast of the input.\"\n },\n {\n \"name\": \"drop-shadow()\",\n \"description\": \"Applies a drop shadow effect to the input image.\"\n },\n {\n \"name\": \"grayscale()\",\n \"description\": \"Converts the input image to grayscale.\"\n },\n {\n \"name\": \"hue-rotate()\",\n \"description\": \"Applies a hue rotation on the input image. \"\n },\n {\n \"name\": \"invert()\",\n \"description\": \"Inverts the samples in the input image.\"\n },\n {\n \"name\": \"opacity()\",\n \"description\": \"Applies transparency to the samples in the input image.\"\n },\n {\n \"name\": \"saturate()\",\n \"description\": \"Saturates the input image.\"\n },\n {\n \"name\": \"sepia()\",\n \"description\": \"Converts the input image to sepia.\"\n },\n {\n \"name\": \"url()\",\n \"description\": \"A filter reference to a <filter> element.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Processes an element’s rendering before it is displayed in the document, by applying one or more filter effects.\",\n \"restrictions\": [\n \"enum\",\n \"url\"\n ]\n },\n {\n \"name\": \"-webkit-flow-from\",\n \"browsers\": [\n \"S6.1\"\n ],\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"The block container is not a CSS Region.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Makes a block container a region and associates it with a named flow.\",\n \"restrictions\": [\n \"identifier\"\n ]\n },\n {\n \"name\": \"-webkit-flow-into\",\n \"browsers\": [\n \"S6.1\"\n ],\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"The element is not moved to a named flow and normal CSS processing takes place.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Places an element or its contents into a named flow.\",\n \"restrictions\": [\n \"identifier\"\n ]\n },\n {\n \"name\": \"-webkit-font-feature-settings\",\n \"browsers\": [\n \"C16\"\n ],\n \"values\": [\n {\n \"name\": \"\\\"c2cs\\\"\"\n },\n {\n \"name\": \"\\\"dlig\\\"\"\n },\n {\n \"name\": \"\\\"kern\\\"\"\n },\n {\n \"name\": \"\\\"liga\\\"\"\n },\n {\n \"name\": \"\\\"lnum\\\"\"\n },\n {\n \"name\": \"\\\"onum\\\"\"\n },\n {\n \"name\": \"\\\"smcp\\\"\"\n },\n {\n \"name\": \"\\\"swsh\\\"\"\n },\n {\n \"name\": \"\\\"tnum\\\"\"\n },\n {\n \"name\": \"normal\",\n \"description\": \"No change in glyph substitution or positioning occurs.\"\n },\n {\n \"name\": \"off\"\n },\n {\n \"name\": \"on\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"This property provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case.\",\n \"restrictions\": [\n \"string\",\n \"integer\"\n ]\n },\n {\n \"name\": \"-webkit-hyphens\",\n \"browsers\": [\n \"S5.1\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word.\"\n },\n {\n \"name\": \"manual\",\n \"description\": \"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities\"\n },\n {\n \"name\": \"none\",\n \"description\": \"Words are not broken at line breaks, even if characters inside the word suggest line break points.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Controls whether hyphenation is allowed to create more break opportunities within a line of text.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-webkit-line-break\",\n \"browsers\": [\n \"C\",\n \"S3\"\n ],\n \"values\": [\n {\n \"name\": \"after-white-space\"\n },\n {\n \"name\": \"normal\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Specifies line-breaking rules for CJK (Chinese, Japanese, and Korean) text.\"\n },\n {\n \"name\": \"-webkit-margin-bottom-collapse\",\n \"browsers\": [\n \"C\",\n \"S3\"\n ],\n \"values\": [\n {\n \"name\": \"collapse\"\n },\n {\n \"name\": \"discard\"\n },\n {\n \"name\": \"separate\"\n }\n ],\n \"relevance\": 50,\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-webkit-margin-collapse\",\n \"browsers\": [\n \"C\",\n \"S3\"\n ],\n \"values\": [\n {\n \"name\": \"collapse\"\n },\n {\n \"name\": \"discard\"\n },\n {\n \"name\": \"separate\"\n }\n ],\n \"relevance\": 50,\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-webkit-margin-start\",\n \"browsers\": [\n \"C\",\n \"S3\"\n ],\n \"values\": [\n {\n \"name\": \"auto\"\n }\n ],\n \"relevance\": 50,\n \"restrictions\": [\n \"percentage\",\n \"length\"\n ]\n },\n {\n \"name\": \"-webkit-margin-top-collapse\",\n \"browsers\": [\n \"C\",\n \"S3\"\n ],\n \"values\": [\n {\n \"name\": \"collapse\"\n },\n {\n \"name\": \"discard\"\n },\n {\n \"name\": \"separate\"\n }\n ],\n \"relevance\": 50,\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-webkit-mask-clip\",\n \"browsers\": [\n \"C\",\n \"O15\",\n \"S4\"\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"[ <box> | border | padding | content | text ]#\",\n \"relevance\": 0,\n \"description\": \"Determines the mask painting area, which determines the area that is affected by the mask.\",\n \"restrictions\": [\n \"box\"\n ]\n },\n {\n \"name\": \"-webkit-mask-image\",\n \"browsers\": [\n \"C\",\n \"O15\",\n \"S4\"\n ],\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"Counts as a transparent black image layer.\"\n },\n {\n \"name\": \"url()\",\n \"description\": \"Reference to a <mask element or to a CSS image.\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"<mask-reference>#\",\n \"relevance\": 0,\n \"description\": \"Sets the mask layer image of an element.\",\n \"restrictions\": [\n \"url\",\n \"image\",\n \"enum\"\n ]\n },\n {\n \"name\": \"-webkit-mask-origin\",\n \"browsers\": [\n \"C\",\n \"O15\",\n \"S4\"\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"[ <box> | border | padding | content ]#\",\n \"relevance\": 0,\n \"description\": \"Specifies the mask positioning area.\",\n \"restrictions\": [\n \"box\"\n ]\n },\n {\n \"name\": \"-webkit-mask-repeat\",\n \"browsers\": [\n \"C\",\n \"O15\",\n \"S4\"\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"<repeat-style>#\",\n \"relevance\": 0,\n \"description\": \"Specifies how mask layer images are tiled after they have been sized and positioned.\",\n \"restrictions\": [\n \"repeat\"\n ]\n },\n {\n \"name\": \"-webkit-mask-size\",\n \"browsers\": [\n \"C\",\n \"O15\",\n \"S4\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Resolved by using the image’s intrinsic ratio and the size of the other dimension, or failing that, using the image’s intrinsic size, or failing that, treating it as 100%.\"\n },\n {\n \"name\": \"contain\",\n \"description\": \"Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area.\"\n },\n {\n \"name\": \"cover\",\n \"description\": \"Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area.\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"<bg-size>#\",\n \"relevance\": 0,\n \"description\": \"Specifies the size of the mask layer images.\",\n \"restrictions\": [\n \"length\",\n \"percentage\",\n \"enum\"\n ]\n },\n {\n \"name\": \"-webkit-nbsp-mode\",\n \"browsers\": [\n \"C\",\n \"S3\"\n ],\n \"values\": [\n {\n \"name\": \"normal\"\n },\n {\n \"name\": \"space\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Defines the behavior of nonbreaking spaces within text.\"\n },\n {\n \"name\": \"-webkit-overflow-scrolling\",\n \"browsers\": [\n \"C\",\n \"S5\"\n ],\n \"values\": [\n {\n \"name\": \"auto\"\n },\n {\n \"name\": \"touch\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"auto | touch\",\n \"relevance\": 0,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-webkit-overflow-scrolling\"\n }\n ],\n \"description\": \"Specifies whether to use native-style scrolling in an overflow:scroll element.\"\n },\n {\n \"name\": \"-webkit-padding-start\",\n \"browsers\": [\n \"C\",\n \"S3\"\n ],\n \"relevance\": 50,\n \"restrictions\": [\n \"percentage\",\n \"length\"\n ]\n },\n {\n \"name\": \"-webkit-perspective\",\n \"browsers\": [\n \"C\",\n \"S4\"\n ],\n \"values\": [\n {\n \"name\": \"none\",\n \"description\": \"No perspective transform is applied.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.\",\n \"restrictions\": [\n \"length\"\n ]\n },\n {\n \"name\": \"-webkit-perspective-origin\",\n \"browsers\": [\n \"C\",\n \"S4\"\n ],\n \"relevance\": 50,\n \"description\": \"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.\",\n \"restrictions\": [\n \"position\",\n \"percentage\",\n \"length\"\n ]\n },\n {\n \"name\": \"-webkit-region-fragment\",\n \"browsers\": [\n \"S7\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Content flows as it would in a regular content box.\"\n },\n {\n \"name\": \"break\",\n \"description\": \"If the content fits within the CSS Region, then this property has no effect.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"The 'region-fragment' property controls the behavior of the last region associated with a named flow.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-webkit-tap-highlight-color\",\n \"browsers\": [\n \"E12\",\n \"C16\",\n \"O≤15\"\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"<color>\",\n \"relevance\": 0,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-webkit-tap-highlight-color\"\n }\n ],\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"-webkit-text-fill-color\",\n \"browsers\": [\n \"E12\",\n \"FF49\",\n \"S3\",\n \"C1\",\n \"O15\"\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"<color>\",\n \"relevance\": 0,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-fill-color\"\n }\n ],\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"-webkit-text-size-adjust\",\n \"browsers\": [\n \"E\",\n \"C\",\n \"S3\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Renderers must use the default size adjustment when displaying on a small device.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"Renderers must not do size adjustment when displaying on a small device.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Specifies a size adjustment for displaying text content in mobile browsers.\",\n \"restrictions\": [\n \"percentage\"\n ]\n },\n {\n \"name\": \"-webkit-text-stroke\",\n \"browsers\": [\n \"E15\",\n \"FF49\",\n \"S3\",\n \"C4\",\n \"O15\"\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"<length> || <color>\",\n \"relevance\": 0,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke\"\n }\n ],\n \"restrictions\": [\n \"length\",\n \"line-width\",\n \"color\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"-webkit-text-stroke-color\",\n \"browsers\": [\n \"E15\",\n \"FF49\",\n \"S3\",\n \"C1\",\n \"O15\"\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"<color>\",\n \"relevance\": 0,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke-color\"\n }\n ],\n \"restrictions\": [\n \"color\"\n ]\n },\n {\n \"name\": \"-webkit-text-stroke-width\",\n \"browsers\": [\n \"E15\",\n \"FF49\",\n \"S3\",\n \"C1\",\n \"O15\"\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"<length>\",\n \"relevance\": 0,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke-width\"\n }\n ],\n \"restrictions\": [\n \"length\",\n \"line-width\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"-webkit-touch-callout\",\n \"browsers\": [\n \"S3\"\n ],\n \"values\": [\n {\n \"name\": \"none\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"default | none\",\n \"relevance\": 0,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-webkit-touch-callout\"\n }\n ],\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-webkit-transform\",\n \"browsers\": [\n \"C\",\n \"O12\",\n \"S3.1\"\n ],\n \"values\": [\n {\n \"name\": \"matrix()\",\n \"description\": \"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]\"\n },\n {\n \"name\": \"matrix3d()\",\n \"description\": \"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order.\"\n },\n {\n \"name\": \"none\"\n },\n {\n \"name\": \"perspective()\",\n \"description\": \"Specifies a perspective projection matrix.\"\n },\n {\n \"name\": \"rotate()\",\n \"description\": \"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property.\"\n },\n {\n \"name\": \"rotate3d()\",\n \"description\": \"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters.\"\n },\n {\n \"name\": \"rotateX('angle')\",\n \"description\": \"Specifies a clockwise rotation by the given angle about the X axis.\"\n },\n {\n \"name\": \"rotateY('angle')\",\n \"description\": \"Specifies a clockwise rotation by the given angle about the Y axis.\"\n },\n {\n \"name\": \"rotateZ('angle')\",\n \"description\": \"Specifies a clockwise rotation by the given angle about the Z axis.\"\n },\n {\n \"name\": \"scale()\",\n \"description\": \"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first.\"\n },\n {\n \"name\": \"scale3d()\",\n \"description\": \"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters.\"\n },\n {\n \"name\": \"scaleX()\",\n \"description\": \"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter.\"\n },\n {\n \"name\": \"scaleY()\",\n \"description\": \"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter.\"\n },\n {\n \"name\": \"scaleZ()\",\n \"description\": \"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter.\"\n },\n {\n \"name\": \"skew()\",\n \"description\": \"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis).\"\n },\n {\n \"name\": \"skewX()\",\n \"description\": \"Specifies a skew transformation along the X axis by the given angle.\"\n },\n {\n \"name\": \"skewY()\",\n \"description\": \"Specifies a skew transformation along the Y axis by the given angle.\"\n },\n {\n \"name\": \"translate()\",\n \"description\": \"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter.\"\n },\n {\n \"name\": \"translate3d()\",\n \"description\": \"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively.\"\n },\n {\n \"name\": \"translateX()\",\n \"description\": \"Specifies a translation by the given amount in the X direction.\"\n },\n {\n \"name\": \"translateY()\",\n \"description\": \"Specifies a translation by the given amount in the Y direction.\"\n },\n {\n \"name\": \"translateZ()\",\n \"description\": \"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-webkit-transform-origin\",\n \"browsers\": [\n \"C\",\n \"O15\",\n \"S3.1\"\n ],\n \"relevance\": 50,\n \"description\": \"Establishes the origin of transformation for an element.\",\n \"restrictions\": [\n \"position\",\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"-webkit-transform-origin-x\",\n \"browsers\": [\n \"C\",\n \"S3.1\"\n ],\n \"relevance\": 50,\n \"description\": \"The x coordinate of the origin for transforms applied to an element with respect to its border box.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"-webkit-transform-origin-y\",\n \"browsers\": [\n \"C\",\n \"S3.1\"\n ],\n \"relevance\": 50,\n \"description\": \"The y coordinate of the origin for transforms applied to an element with respect to its border box.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"-webkit-transform-origin-z\",\n \"browsers\": [\n \"C\",\n \"S4\"\n ],\n \"relevance\": 50,\n \"description\": \"The z coordinate of the origin for transforms applied to an element with respect to its border box.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"-webkit-transform-style\",\n \"browsers\": [\n \"C\",\n \"S4\"\n ],\n \"values\": [\n {\n \"name\": \"flat\",\n \"description\": \"All children of this element are rendered flattened into the 2D plane of the element.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Defines how nested elements are rendered in 3D space.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-webkit-transition\",\n \"browsers\": [\n \"C\",\n \"O12\",\n \"S5\"\n ],\n \"values\": [\n {\n \"name\": \"all\",\n \"description\": \"Every property that is able to undergo a transition will do so.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"No property will transition.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Shorthand property combines four of the transition properties into a single property.\",\n \"restrictions\": [\n \"time\",\n \"property\",\n \"timing-function\",\n \"enum\"\n ]\n },\n {\n \"name\": \"-webkit-transition-delay\",\n \"browsers\": [\n \"C\",\n \"O12\",\n \"S5\"\n ],\n \"relevance\": 50,\n \"description\": \"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.\",\n \"restrictions\": [\n \"time\"\n ]\n },\n {\n \"name\": \"-webkit-transition-duration\",\n \"browsers\": [\n \"C\",\n \"O12\",\n \"S5\"\n ],\n \"relevance\": 50,\n \"description\": \"Specifies how long the transition from the old value to the new value should take.\",\n \"restrictions\": [\n \"time\"\n ]\n },\n {\n \"name\": \"-webkit-transition-property\",\n \"browsers\": [\n \"C\",\n \"O12\",\n \"S5\"\n ],\n \"values\": [\n {\n \"name\": \"all\",\n \"description\": \"Every property that is able to undergo a transition will do so.\"\n },\n {\n \"name\": \"none\",\n \"description\": \"No property will transition.\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Specifies the name of the CSS property to which the transition is applied.\",\n \"restrictions\": [\n \"property\"\n ]\n },\n {\n \"name\": \"-webkit-transition-timing-function\",\n \"browsers\": [\n \"C\",\n \"O12\",\n \"S5\"\n ],\n \"relevance\": 50,\n \"description\": \"Describes how the intermediate values used during a transition will be calculated.\",\n \"restrictions\": [\n \"timing-function\"\n ]\n },\n {\n \"name\": \"-webkit-user-drag\",\n \"browsers\": [\n \"S3\"\n ],\n \"values\": [\n {\n \"name\": \"auto\"\n },\n {\n \"name\": \"element\"\n },\n {\n \"name\": \"none\"\n }\n ],\n \"relevance\": 50,\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-webkit-user-modify\",\n \"browsers\": [\n \"C\",\n \"S3\"\n ],\n \"values\": [\n {\n \"name\": \"read-only\"\n },\n {\n \"name\": \"read-write\"\n },\n {\n \"name\": \"read-write-plaintext-only\"\n }\n ],\n \"status\": \"nonstandard\",\n \"syntax\": \"read-only | read-write | read-write-plaintext-only\",\n \"relevance\": 0,\n \"description\": \"Determines whether a user can edit the content of an element.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"-webkit-user-select\",\n \"browsers\": [\n \"C\",\n \"S3\"\n ],\n \"values\": [\n {\n \"name\": \"auto\"\n },\n {\n \"name\": \"none\"\n },\n {\n \"name\": \"text\"\n }\n ],\n \"relevance\": 50,\n \"description\": \"Controls the appearance of selection.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"white-space\",\n \"values\": [\n {\n \"name\": \"normal\",\n \"description\": \"Sets 'white-space-collapsing' to 'collapse' and 'text-wrap' to 'normal'.\"\n },\n {\n \"name\": \"nowrap\",\n \"description\": \"Sets 'white-space-collapsing' to 'collapse' and 'text-wrap' to 'none'.\"\n },\n {\n \"name\": \"pre\",\n \"description\": \"Sets 'white-space-collapsing' to 'preserve' and 'text-wrap' to 'none'.\"\n },\n {\n \"name\": \"pre-line\",\n \"description\": \"Sets 'white-space-collapsing' to 'preserve-breaks' and 'text-wrap' to 'normal'.\"\n },\n {\n \"name\": \"pre-wrap\",\n \"description\": \"Sets 'white-space-collapsing' to 'preserve' and 'text-wrap' to 'normal'.\"\n }\n ],\n \"syntax\": \"normal | pre | nowrap | pre-wrap | pre-line | break-spaces\",\n \"relevance\": 89,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/white-space\"\n }\n ],\n \"description\": \"Shorthand property for the 'white-space-collapsing' and 'text-wrap' properties.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"widows\",\n \"browsers\": [\n \"E12\",\n \"S1.3\",\n \"C25\",\n \"IE8\",\n \"O9.2\"\n ],\n \"syntax\": \"<integer>\",\n \"relevance\": 51,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/widows\"\n }\n ],\n \"description\": \"Specifies the minimum number of line boxes of a block container that must be left in a fragment after a break.\",\n \"restrictions\": [\n \"integer\"\n ]\n },\n {\n \"name\": \"width\",\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The width depends on the values of other properties.\"\n },\n {\n \"name\": \"fit-content\",\n \"description\": \"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode.\"\n },\n {\n \"name\": \"max-content\",\n \"description\": \"Use the max-content inline size or max-content block size, as appropriate to the writing mode.\"\n },\n {\n \"name\": \"min-content\",\n \"description\": \"Use the min-content inline size or min-content block size, as appropriate to the writing mode.\"\n }\n ],\n \"syntax\": \"<viewport-length>{1,2}\",\n \"relevance\": 96,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/width\"\n }\n ],\n \"description\": \"Specifies the width of the content area, padding area or border area (depending on 'box-sizing') of certain boxes.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"will-change\",\n \"browsers\": [\n \"E79\",\n \"FF36\",\n \"S9.1\",\n \"C36\",\n \"O24\"\n ],\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"Expresses no particular intent.\"\n },\n {\n \"name\": \"contents\",\n \"description\": \"Indicates that the author expects to animate or change something about the element’s contents in the near future.\"\n },\n {\n \"name\": \"scroll-position\",\n \"description\": \"Indicates that the author expects to animate or change the scroll position of the element in the near future.\"\n }\n ],\n \"syntax\": \"auto | <animateable-feature>#\",\n \"relevance\": 62,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/will-change\"\n }\n ],\n \"description\": \"Provides a rendering hint to the user agent, stating what kinds of changes the author expects to perform on the element.\",\n \"restrictions\": [\n \"enum\",\n \"identifier\"\n ]\n },\n {\n \"name\": \"word-break\",\n \"values\": [\n {\n \"name\": \"break-all\",\n \"description\": \"Lines may break between any two grapheme clusters for non-CJK scripts.\"\n },\n {\n \"name\": \"keep-all\",\n \"description\": \"Block characters can no longer create implied break points.\"\n },\n {\n \"name\": \"normal\",\n \"description\": \"Breaks non-CJK scripts according to their own rules.\"\n }\n ],\n \"syntax\": \"normal | break-all | keep-all | break-word\",\n \"relevance\": 74,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/word-break\"\n }\n ],\n \"description\": \"Specifies line break opportunities for non-CJK scripts.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"word-spacing\",\n \"values\": [\n {\n \"name\": \"normal\",\n \"description\": \"No additional spacing is applied. Computes to zero.\"\n }\n ],\n \"syntax\": \"normal | <length-percentage>\",\n \"relevance\": 58,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/word-spacing\"\n }\n ],\n \"description\": \"Specifies additional spacing between “words”.\",\n \"restrictions\": [\n \"length\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"word-wrap\",\n \"values\": [\n {\n \"name\": \"break-word\",\n \"description\": \"An otherwise unbreakable sequence of characters may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line.\"\n },\n {\n \"name\": \"normal\",\n \"description\": \"Lines may break only at allowed break points.\"\n }\n ],\n \"syntax\": \"normal | break-word\",\n \"relevance\": 78,\n \"description\": \"Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"writing-mode\",\n \"values\": [\n {\n \"name\": \"horizontal-tb\",\n \"description\": \"Top-to-bottom block flow direction. The writing mode is horizontal.\"\n },\n {\n \"name\": \"sideways-lr\",\n \"description\": \"Left-to-right block flow direction. The writing mode is vertical, while the typographic mode is horizontal.\"\n },\n {\n \"name\": \"sideways-rl\",\n \"description\": \"Right-to-left block flow direction. The writing mode is vertical, while the typographic mode is horizontal.\"\n },\n {\n \"name\": \"vertical-lr\",\n \"description\": \"Left-to-right block flow direction. The writing mode is vertical.\"\n },\n {\n \"name\": \"vertical-rl\",\n \"description\": \"Right-to-left block flow direction. The writing mode is vertical.\"\n }\n ],\n \"syntax\": \"horizontal-tb | vertical-rl | vertical-lr | sideways-rl | sideways-lr\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/writing-mode\"\n }\n ],\n \"description\": \"This is a shorthand property for both 'direction' and 'block-progression'.\",\n \"restrictions\": [\n \"enum\"\n ]\n },\n {\n \"name\": \"z-index\",\n \"values\": [\n {\n \"name\": \"auto\",\n \"description\": \"The stack level of the generated box in the current stacking context is 0. The box does not establish a new stacking context unless it is the root element.\"\n }\n ],\n \"syntax\": \"auto | <integer>\",\n \"relevance\": 92,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/z-index\"\n }\n ],\n \"description\": \"For a positioned box, the 'z-index' property specifies the stack level of the box in the current stacking context and whether the box establishes a local stacking context.\",\n \"restrictions\": [\n \"integer\"\n ]\n },\n {\n \"name\": \"zoom\",\n \"browsers\": [\n \"E12\",\n \"S3.1\",\n \"C1\",\n \"IE5.5\",\n \"O15\"\n ],\n \"values\": [\n {\n \"name\": \"normal\"\n }\n ],\n \"syntax\": \"auto | <number> | <percentage>\",\n \"relevance\": 70,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/zoom\"\n }\n ],\n \"description\": \"Non-standard. Specifies the magnification scale of the object. See 'transform: scale()' for a standards-based alternative.\",\n \"restrictions\": [\n \"enum\",\n \"integer\",\n \"number\",\n \"percentage\"\n ]\n },\n {\n \"name\": \"-ms-ime-align\",\n \"status\": \"nonstandard\",\n \"syntax\": \"auto | after\",\n \"relevance\": 0,\n \"description\": \"Aligns the Input Method Editor (IME) candidate window box relative to the element on which the IME composition is active.\"\n },\n {\n \"name\": \"-moz-binding\",\n \"status\": \"nonstandard\",\n \"syntax\": \"<url> | none\",\n \"relevance\": 0,\n \"browsers\": [\n \"FF1\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-moz-binding\"\n }\n ],\n \"description\": \"The -moz-binding CSS property is used by Mozilla-based applications to attach an XBL binding to a DOM element.\"\n },\n {\n \"name\": \"-moz-context-properties\",\n \"status\": \"nonstandard\",\n \"syntax\": \"none | [ fill | fill-opacity | stroke | stroke-opacity ]#\",\n \"relevance\": 0,\n \"browsers\": [\n \"FF55\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-moz-context-properties\"\n }\n ],\n \"description\": \"If you reference an SVG image in a webpage (such as with the <img> element or as a background image), the SVG image can coordinate with the embedding element (its context) to have the image adopt property values set on the embedding element. To do this the embedding element needs to list the properties that are to be made available to the image by listing them as values of the -moz-context-properties property, and the image needs to opt in to using those properties by using values such as the context-fill value.\\n\\nThis feature is available since Firefox 55, but is only currently supported with SVG images loaded via chrome:// or resource:// URLs. To experiment with the feature in SVG on the Web it is necessary to set the svg.context-properties.content.enabled pref to true.\"\n },\n {\n \"name\": \"-moz-float-edge\",\n \"status\": \"nonstandard\",\n \"syntax\": \"border-box | content-box | margin-box | padding-box\",\n \"relevance\": 0,\n \"browsers\": [\n \"FF1\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-moz-float-edge\"\n }\n ],\n \"description\": \"The non-standard -moz-float-edge CSS property specifies whether the height and width properties of the element include the margin, border, or padding thickness.\"\n },\n {\n \"name\": \"-moz-force-broken-image-icon\",\n \"status\": \"nonstandard\",\n \"syntax\": \"<integer [0,1]>\",\n \"relevance\": 0,\n \"browsers\": [\n \"FF1\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-moz-force-broken-image-icon\"\n }\n ],\n \"description\": \"The -moz-force-broken-image-icon extended CSS property can be used to force the broken image icon to be shown even when a broken image has an alt attribute.\"\n },\n {\n \"name\": \"-moz-image-region\",\n \"status\": \"nonstandard\",\n \"syntax\": \"<shape> | auto\",\n \"relevance\": 0,\n \"browsers\": [\n \"FF1\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-moz-image-region\"\n }\n ],\n \"description\": \"For certain XUL elements and pseudo-elements that use an image from the list-style-image property, this property specifies a region of the image that is used in place of the whole image. This allows elements to use different pieces of the same image to improve performance.\"\n },\n {\n \"name\": \"-moz-orient\",\n \"status\": \"nonstandard\",\n \"syntax\": \"inline | block | horizontal | vertical\",\n \"relevance\": 0,\n \"browsers\": [\n \"FF6\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-moz-orient\"\n }\n ],\n \"description\": \"The -moz-orient CSS property specifies the orientation of the element to which it's applied.\"\n },\n {\n \"name\": \"-moz-outline-radius\",\n \"status\": \"nonstandard\",\n \"syntax\": \"<outline-radius>{1,4} [ / <outline-radius>{1,4} ]?\",\n \"relevance\": 0,\n \"browsers\": [\n \"FF1\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius\"\n }\n ],\n \"description\": \"In Mozilla applications like Firefox, the -moz-outline-radius CSS property can be used to give an element's outline rounded corners.\"\n },\n {\n \"name\": \"-moz-outline-radius-bottomleft\",\n \"status\": \"nonstandard\",\n \"syntax\": \"<outline-radius>\",\n \"relevance\": 0,\n \"browsers\": [\n \"FF1\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-bottomleft\"\n }\n ],\n \"description\": \"In Mozilla applications, the -moz-outline-radius-bottomleft CSS property can be used to round the bottom-left corner of an element's outline.\"\n },\n {\n \"name\": \"-moz-outline-radius-bottomright\",\n \"status\": \"nonstandard\",\n \"syntax\": \"<outline-radius>\",\n \"relevance\": 0,\n \"browsers\": [\n \"FF1\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-bottomright\"\n }\n ],\n \"description\": \"In Mozilla applications, the -moz-outline-radius-bottomright CSS property can be used to round the bottom-right corner of an element's outline.\"\n },\n {\n \"name\": \"-moz-outline-radius-topleft\",\n \"status\": \"nonstandard\",\n \"syntax\": \"<outline-radius>\",\n \"relevance\": 0,\n \"browsers\": [\n \"FF1\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-topleft\"\n }\n ],\n \"description\": \"In Mozilla applications, the -moz-outline-radius-topleft CSS property can be used to round the top-left corner of an element's outline.\"\n },\n {\n \"name\": \"-moz-outline-radius-topright\",\n \"status\": \"nonstandard\",\n \"syntax\": \"<outline-radius>\",\n \"relevance\": 0,\n \"browsers\": [\n \"FF1\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-topright\"\n }\n ],\n \"description\": \"In Mozilla applications, the -moz-outline-radius-topright CSS property can be used to round the top-right corner of an element's outline.\"\n },\n {\n \"name\": \"-moz-stack-sizing\",\n \"status\": \"nonstandard\",\n \"syntax\": \"ignore | stretch-to-fit\",\n \"relevance\": 0,\n \"description\": \"-moz-stack-sizing is an extended CSS property. Normally, a stack will change its size so that all of its child elements are completely visible. For example, moving a child of the stack far to the right will widen the stack so the child remains visible.\"\n },\n {\n \"name\": \"-moz-text-blink\",\n \"status\": \"nonstandard\",\n \"syntax\": \"none | blink\",\n \"relevance\": 0,\n \"description\": \"The -moz-text-blink non-standard Mozilla CSS extension specifies the blink mode.\"\n },\n {\n \"name\": \"-moz-user-input\",\n \"status\": \"nonstandard\",\n \"syntax\": \"auto | none | enabled | disabled\",\n \"relevance\": 0,\n \"browsers\": [\n \"FF1\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-moz-user-input\"\n }\n ],\n \"description\": \"In Mozilla applications, -moz-user-input determines if an element will accept user input.\"\n },\n {\n \"name\": \"-moz-user-modify\",\n \"status\": \"nonstandard\",\n \"syntax\": \"read-only | read-write | write-only\",\n \"relevance\": 0,\n \"description\": \"The -moz-user-modify property has no effect. It was originally planned to determine whether or not the content of an element can be edited by a user.\"\n },\n {\n \"name\": \"-moz-window-dragging\",\n \"status\": \"nonstandard\",\n \"syntax\": \"drag | no-drag\",\n \"relevance\": 0,\n \"description\": \"The -moz-window-dragging CSS property specifies whether a window is draggable or not. It only works in Chrome code, and only on Mac OS X.\"\n },\n {\n \"name\": \"-moz-window-shadow\",\n \"status\": \"nonstandard\",\n \"syntax\": \"default | menu | tooltip | sheet | none\",\n \"relevance\": 0,\n \"description\": \"The -moz-window-shadow CSS property specifies whether a window will have a shadow. It only works on Mac OS X.\"\n },\n {\n \"name\": \"-webkit-border-before\",\n \"status\": \"nonstandard\",\n \"syntax\": \"<'border-width'> || <'border-style'> || <color>\",\n \"relevance\": 0,\n \"browsers\": [\n \"E79\",\n \"S5.1\",\n \"C8\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-webkit-border-before\"\n }\n ],\n \"description\": \"The -webkit-border-before CSS property is a shorthand property for setting the individual logical block start border property values in a single place in the style sheet.\"\n },\n {\n \"name\": \"-webkit-border-before-color\",\n \"status\": \"nonstandard\",\n \"syntax\": \"<color>\",\n \"relevance\": 0,\n \"description\": \"The -webkit-border-before-color CSS property sets the color of the individual logical block start border in a single place in the style sheet.\"\n },\n {\n \"name\": \"-webkit-border-before-style\",\n \"status\": \"nonstandard\",\n \"syntax\": \"<'border-style'>\",\n \"relevance\": 0,\n \"description\": \"The -webkit-border-before-style CSS property sets the style of the individual logical block start border in a single place in the style sheet.\"\n },\n {\n \"name\": \"-webkit-border-before-width\",\n \"status\": \"nonstandard\",\n \"syntax\": \"<'border-width'>\",\n \"relevance\": 0,\n \"description\": \"The -webkit-border-before-width CSS property sets the width of the individual logical block start border in a single place in the style sheet.\"\n },\n {\n \"name\": \"-webkit-line-clamp\",\n \"syntax\": \"none | <integer>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E17\",\n \"FF68\",\n \"S5\",\n \"C6\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp\"\n }\n ],\n \"description\": \"The -webkit-line-clamp CSS property allows limiting of the contents of a block container to the specified number of lines.\"\n },\n {\n \"name\": \"-webkit-mask\",\n \"status\": \"nonstandard\",\n \"syntax\": \"[ <mask-reference> || <position> [ / <bg-size> ]? || <repeat-style> || [ <box> | border | padding | content | text ] || [ <box> | border | padding | content ] ]#\",\n \"relevance\": 0,\n \"description\": \"The mask CSS property alters the visibility of an element by either partially or fully hiding it. This is accomplished by either masking or clipping the image at specific points.\"\n },\n {\n \"name\": \"-webkit-mask-attachment\",\n \"status\": \"nonstandard\",\n \"syntax\": \"<attachment>#\",\n \"relevance\": 0,\n \"browsers\": [\n \"S4\",\n \"C1\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-attachment\"\n }\n ],\n \"description\": \"If a -webkit-mask-image is specified, -webkit-mask-attachment determines whether the mask image's position is fixed within the viewport, or scrolls along with its containing block.\"\n },\n {\n \"name\": \"-webkit-mask-composite\",\n \"status\": \"nonstandard\",\n \"syntax\": \"<composite-style>#\",\n \"relevance\": 0,\n \"browsers\": [\n \"E18\",\n \"FF53\",\n \"S3.2\",\n \"C1\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-composite\"\n }\n ],\n \"description\": \"The -webkit-mask-composite property specifies the manner in which multiple mask images applied to the same element are composited with one another. Mask images are composited in the opposite order that they are declared with the -webkit-mask-image property.\"\n },\n {\n \"name\": \"-webkit-mask-position\",\n \"status\": \"nonstandard\",\n \"syntax\": \"<position>#\",\n \"relevance\": 0,\n \"description\": \"The mask-position CSS property sets the initial position, relative to the mask position layer defined by mask-origin, for each defined mask image.\"\n },\n {\n \"name\": \"-webkit-mask-position-x\",\n \"status\": \"nonstandard\",\n \"syntax\": \"[ <length-percentage> | left | center | right ]#\",\n \"relevance\": 0,\n \"browsers\": [\n \"E18\",\n \"FF49\",\n \"S3.2\",\n \"C1\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-position-x\"\n }\n ],\n \"description\": \"The -webkit-mask-position-x CSS property sets the initial horizontal position of a mask image.\"\n },\n {\n \"name\": \"-webkit-mask-position-y\",\n \"status\": \"nonstandard\",\n \"syntax\": \"[ <length-percentage> | top | center | bottom ]#\",\n \"relevance\": 0,\n \"browsers\": [\n \"E18\",\n \"FF49\",\n \"S3.2\",\n \"C1\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-position-y\"\n }\n ],\n \"description\": \"The -webkit-mask-position-y CSS property sets the initial vertical position of a mask image.\"\n },\n {\n \"name\": \"-webkit-mask-repeat-x\",\n \"status\": \"nonstandard\",\n \"syntax\": \"repeat | no-repeat | space | round\",\n \"relevance\": 0,\n \"browsers\": [\n \"E18\",\n \"S5\",\n \"C3\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-repeat-x\"\n }\n ],\n \"description\": \"The -webkit-mask-repeat-x property specifies whether and how a mask image is repeated (tiled) horizontally.\"\n },\n {\n \"name\": \"-webkit-mask-repeat-y\",\n \"status\": \"nonstandard\",\n \"syntax\": \"repeat | no-repeat | space | round\",\n \"relevance\": 0,\n \"browsers\": [\n \"E18\",\n \"S5\",\n \"C3\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-repeat-y\"\n }\n ],\n \"description\": \"The -webkit-mask-repeat-y property specifies whether and how a mask image is repeated (tiled) vertically.\"\n },\n {\n \"name\": \"align-tracks\",\n \"status\": \"experimental\",\n \"syntax\": \"[ normal | <baseline-position> | <content-distribution> | <overflow-position>? <content-position> ]#\",\n \"relevance\": 50,\n \"browsers\": [\n \"FF77\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/align-tracks\"\n }\n ],\n \"description\": \"The align-tracks CSS property sets the alignment in the masonry axis for grid containers that have masonry in their block axis.\"\n },\n {\n \"name\": \"appearance\",\n \"status\": \"experimental\",\n \"syntax\": \"none | auto | textfield | menulist-button | <compat-auto>\",\n \"relevance\": 60,\n \"browsers\": [\n \"E84\",\n \"FF80\",\n \"S3\",\n \"C84\",\n \"O70\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/appearance\"\n }\n ],\n \"description\": \"Changes the appearance of buttons and other controls to resemble native controls.\"\n },\n {\n \"name\": \"aspect-ratio\",\n \"status\": \"experimental\",\n \"syntax\": \"auto | <ratio>\",\n \"relevance\": 52,\n \"browsers\": [\n \"E88\",\n \"FF83\",\n \"C88\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/aspect-ratio\"\n }\n ],\n \"description\": \"The aspect-ratio CSS property sets a preferred aspect ratio for the box, which will be used in the calculation of auto sizes and some other layout functions.\"\n },\n {\n \"name\": \"azimuth\",\n \"status\": \"obsolete\",\n \"syntax\": \"<angle> | [ [ left-side | far-left | left | center-left | center | center-right | right | far-right | right-side ] || behind ] | leftwards | rightwards\",\n \"relevance\": 0,\n \"description\": \"In combination with elevation, the azimuth CSS property enables different audio sources to be positioned spatially for aural presentation. This is important in that it provides a natural way to tell several voices apart, as each can be positioned to originate at a different location on the sound stage. Stereo output produce a lateral sound stage, while binaural headphones and multi-speaker setups allow for a fully three-dimensional stage.\"\n },\n {\n \"name\": \"backdrop-filter\",\n \"syntax\": \"none | <filter-function-list>\",\n \"relevance\": 51,\n \"browsers\": [\n \"E17\",\n \"FF70\",\n \"S9\",\n \"C76\",\n \"O34\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/backdrop-filter\"\n }\n ],\n \"description\": \"The backdrop-filter CSS property lets you apply graphical effects such as blurring or color shifting to the area behind an element. Because it applies to everything behind the element, to see the effect you must make the element or its background at least partially transparent.\"\n },\n {\n \"name\": \"border-block\",\n \"syntax\": \"<'border-top-width'> || <'border-top-style'> || <color>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF66\",\n \"C87\",\n \"O73\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-block\"\n }\n ],\n \"description\": \"The border-block CSS property is a shorthand property for setting the individual logical block border property values in a single place in the style sheet.\"\n },\n {\n \"name\": \"border-block-color\",\n \"syntax\": \"<'border-top-color'>{1,2}\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF66\",\n \"C87\",\n \"O73\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-block-color\"\n }\n ],\n \"description\": \"The border-block-color CSS property defines the color of the logical block borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color and border-bottom-color, or border-right-color and border-left-color property depending on the values defined for writing-mode, direction, and text-orientation.\"\n },\n {\n \"name\": \"border-block-style\",\n \"syntax\": \"<'border-top-style'>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF66\",\n \"C87\",\n \"O73\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-block-style\"\n }\n ],\n \"description\": \"The border-block-style CSS property defines the style of the logical block borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style and border-bottom-style, or border-left-style and border-right-style properties depending on the values defined for writing-mode, direction, and text-orientation.\"\n },\n {\n \"name\": \"border-block-width\",\n \"syntax\": \"<'border-top-width'>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF66\",\n \"C87\",\n \"O73\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-block-width\"\n }\n ],\n \"description\": \"The border-block-width CSS property defines the width of the logical block borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width and border-bottom-width, or border-left-width, and border-right-width property depending on the values defined for writing-mode, direction, and text-orientation.\"\n },\n {\n \"name\": \"border-end-end-radius\",\n \"syntax\": \"<length-percentage>{1,2}\",\n \"relevance\": 50,\n \"browsers\": [\n \"FF66\",\n \"C89\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-end-end-radius\"\n }\n ],\n \"description\": \"The border-end-end-radius CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on on the element's writing-mode, direction, and text-orientation.\"\n },\n {\n \"name\": \"border-end-start-radius\",\n \"syntax\": \"<length-percentage>{1,2}\",\n \"relevance\": 50,\n \"browsers\": [\n \"FF66\",\n \"C89\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-end-start-radius\"\n }\n ],\n \"description\": \"The border-end-start-radius CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's writing-mode, direction, and text-orientation.\"\n },\n {\n \"name\": \"border-inline\",\n \"syntax\": \"<'border-top-width'> || <'border-top-style'> || <color>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF66\",\n \"C87\",\n \"O73\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-inline\"\n }\n ],\n \"description\": \"The border-inline CSS property is a shorthand property for setting the individual logical inline border property values in a single place in the style sheet.\"\n },\n {\n \"name\": \"border-inline-color\",\n \"syntax\": \"<'border-top-color'>{1,2}\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF66\",\n \"C87\",\n \"O73\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-inline-color\"\n }\n ],\n \"description\": \"The border-inline-color CSS property defines the color of the logical inline borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color and border-bottom-color, or border-right-color and border-left-color property depending on the values defined for writing-mode, direction, and text-orientation.\"\n },\n {\n \"name\": \"border-inline-style\",\n \"syntax\": \"<'border-top-style'>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF66\",\n \"C87\",\n \"O73\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-inline-style\"\n }\n ],\n \"description\": \"The border-inline-style CSS property defines the style of the logical inline borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style and border-bottom-style, or border-left-style and border-right-style properties depending on the values defined for writing-mode, direction, and text-orientation.\"\n },\n {\n \"name\": \"border-inline-width\",\n \"syntax\": \"<'border-top-width'>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF66\",\n \"C87\",\n \"O73\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-inline-width\"\n }\n ],\n \"description\": \"The border-inline-width CSS property defines the width of the logical inline borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width and border-bottom-width, or border-left-width, and border-right-width property depending on the values defined for writing-mode, direction, and text-orientation.\"\n },\n {\n \"name\": \"border-start-end-radius\",\n \"syntax\": \"<length-percentage>{1,2}\",\n \"relevance\": 50,\n \"browsers\": [\n \"FF66\",\n \"C89\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-start-end-radius\"\n }\n ],\n \"description\": \"The border-start-end-radius CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's writing-mode, direction, and text-orientation.\"\n },\n {\n \"name\": \"border-start-start-radius\",\n \"syntax\": \"<length-percentage>{1,2}\",\n \"relevance\": 50,\n \"browsers\": [\n \"FF66\",\n \"C89\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/border-start-start-radius\"\n }\n ],\n \"description\": \"The border-start-start-radius CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on the element's writing-mode, direction, and text-orientation.\"\n },\n {\n \"name\": \"box-align\",\n \"status\": \"nonstandard\",\n \"syntax\": \"start | center | end | baseline | stretch\",\n \"relevance\": 0,\n \"browsers\": [\n \"E12\",\n \"FF1\",\n \"S3\",\n \"C1\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/box-align\"\n }\n ],\n \"description\": \"The box-align CSS property specifies how an element aligns its contents across its layout in a perpendicular direction. The effect of the property is only visible if there is extra space in the box.\"\n },\n {\n \"name\": \"box-direction\",\n \"status\": \"nonstandard\",\n \"syntax\": \"normal | reverse | inherit\",\n \"relevance\": 0,\n \"browsers\": [\n \"E12\",\n \"FF1\",\n \"S3\",\n \"C1\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/box-direction\"\n }\n ],\n \"description\": \"The box-direction CSS property specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge).\"\n },\n {\n \"name\": \"box-flex\",\n \"status\": \"nonstandard\",\n \"syntax\": \"<number>\",\n \"relevance\": 0,\n \"browsers\": [\n \"E12\",\n \"FF1\",\n \"S3\",\n \"C1\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/box-flex\"\n }\n ],\n \"description\": \"The -moz-box-flex and -webkit-box-flex CSS properties specify how a -moz-box or -webkit-box grows to fill the box that contains it, in the direction of the containing box's layout.\"\n },\n {\n \"name\": \"box-flex-group\",\n \"status\": \"nonstandard\",\n \"syntax\": \"<integer>\",\n \"relevance\": 0,\n \"browsers\": [\n \"S3\",\n \"C1\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/box-flex-group\"\n }\n ],\n \"description\": \"The box-flex-group CSS property assigns the flexbox's child elements to a flex group.\"\n },\n {\n \"name\": \"box-lines\",\n \"status\": \"nonstandard\",\n \"syntax\": \"single | multiple\",\n \"relevance\": 0,\n \"browsers\": [\n \"S3\",\n \"C1\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/box-lines\"\n }\n ],\n \"description\": \"The box-lines CSS property determines whether the box may have a single or multiple lines (rows for horizontally oriented boxes, columns for vertically oriented boxes).\"\n },\n {\n \"name\": \"box-ordinal-group\",\n \"status\": \"nonstandard\",\n \"syntax\": \"<integer>\",\n \"relevance\": 0,\n \"browsers\": [\n \"E12\",\n \"FF1\",\n \"S3\",\n \"C1\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/box-ordinal-group\"\n }\n ],\n \"description\": \"The box-ordinal-group CSS property assigns the flexbox's child elements to an ordinal group.\"\n },\n {\n \"name\": \"box-orient\",\n \"status\": \"nonstandard\",\n \"syntax\": \"horizontal | vertical | inline-axis | block-axis | inherit\",\n \"relevance\": 0,\n \"browsers\": [\n \"E12\",\n \"FF1\",\n \"S3\",\n \"C1\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/box-orient\"\n }\n ],\n \"description\": \"The box-orient CSS property specifies whether an element lays out its contents horizontally or vertically.\"\n },\n {\n \"name\": \"box-pack\",\n \"status\": \"nonstandard\",\n \"syntax\": \"start | center | end | justify\",\n \"relevance\": 0,\n \"browsers\": [\n \"E12\",\n \"FF1\",\n \"S3\",\n \"C1\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/box-pack\"\n }\n ],\n \"description\": \"The -moz-box-pack and -webkit-box-pack CSS properties specify how a -moz-box or -webkit-box packs its contents in the direction of its layout. The effect of this is only visible if there is extra space in the box.\"\n },\n {\n \"name\": \"color-adjust\",\n \"syntax\": \"economy | exact\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF48\",\n \"S6\",\n \"C49\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/color-adjust\"\n }\n ],\n \"description\": \"The color-adjust property is a non-standard CSS extension that can be used to force printing of background colors and images in browsers based on the WebKit engine.\"\n },\n {\n \"name\": \"content-visibility\",\n \"syntax\": \"visible | auto | hidden\",\n \"relevance\": 50,\n \"browsers\": [\n \"E85\",\n \"C85\",\n \"O71\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/content-visibility\"\n }\n ],\n \"description\": \"Controls whether or not an element renders its contents at all, along with forcing a strong set of containments, allowing user agents to potentially omit large swathes of layout and rendering work until it becomes needed.\"\n },\n {\n \"name\": \"counter-set\",\n \"syntax\": \"[ <custom-ident> <integer>? ]+ | none\",\n \"relevance\": 50,\n \"browsers\": [\n \"E85\",\n \"FF68\",\n \"C85\",\n \"O71\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/counter-set\"\n }\n ],\n \"description\": \"The counter-set CSS property sets a CSS counter to a given value. It manipulates the value of existing counters, and will only create new counters if there isn't already a counter of the given name on the element.\"\n },\n {\n \"name\": \"font-optical-sizing\",\n \"syntax\": \"auto | none\",\n \"relevance\": 50,\n \"browsers\": [\n \"E17\",\n \"FF62\",\n \"S11\",\n \"C79\",\n \"O66\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-optical-sizing\"\n }\n ],\n \"description\": \"The font-optical-sizing CSS property allows developers to control whether browsers render text with slightly differing visual representations to optimize viewing at different sizes, or not. This only works for fonts that have an optical size variation axis.\"\n },\n {\n \"name\": \"font-variation-settings\",\n \"syntax\": \"normal | [ <string> <number> ]#\",\n \"relevance\": 50,\n \"browsers\": [\n \"E17\",\n \"FF62\",\n \"S11\",\n \"C62\",\n \"O49\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-variation-settings\"\n }\n ],\n \"description\": \"The font-variation-settings CSS property provides low-level control over OpenType or TrueType font variations, by specifying the four letter axis names of the features you want to vary, along with their variation values.\"\n },\n {\n \"name\": \"font-smooth\",\n \"status\": \"nonstandard\",\n \"syntax\": \"auto | never | always | <absolute-size> | <length>\",\n \"relevance\": 0,\n \"browsers\": [\n \"E79\",\n \"FF25\",\n \"S4\",\n \"C5\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/font-smooth\"\n }\n ],\n \"description\": \"The font-smooth CSS property controls the application of anti-aliasing when fonts are rendered.\"\n },\n {\n \"name\": \"forced-color-adjust\",\n \"status\": \"experimental\",\n \"syntax\": \"auto | none\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"C79\",\n \"IE10\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/forced-color-adjust\"\n }\n ],\n \"description\": \"Allows authors to opt certain elements out of forced colors mode. This then restores the control of those values to CSS\"\n },\n {\n \"name\": \"gap\",\n \"syntax\": \"<'row-gap'> <'column-gap'>?\",\n \"relevance\": 50,\n \"browsers\": [\n \"E84\",\n \"FF63\",\n \"S10.1\",\n \"C84\",\n \"O70\"\n ],\n \"description\": \"The gap CSS property is a shorthand property for row-gap and column-gap specifying the gutters between grid rows and columns.\"\n },\n {\n \"name\": \"hanging-punctuation\",\n \"syntax\": \"none | [ first || [ force-end | allow-end ] || last ]\",\n \"relevance\": 50,\n \"browsers\": [\n \"S10\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/hanging-punctuation\"\n }\n ],\n \"description\": \"The hanging-punctuation CSS property specifies whether a punctuation mark should hang at the start or end of a line of text. Hanging punctuation may be placed outside the line box.\"\n },\n {\n \"name\": \"image-resolution\",\n \"status\": \"experimental\",\n \"syntax\": \"[ from-image || <resolution> ] && snap?\",\n \"relevance\": 50,\n \"description\": \"The image-resolution property specifies the intrinsic resolution of all raster images used in or on the element. It affects both content images (e.g. replaced elements and generated content) and decorative images (such as background-image). The intrinsic resolution of an image is used to determine the image’s intrinsic dimensions.\"\n },\n {\n \"name\": \"initial-letter\",\n \"status\": \"experimental\",\n \"syntax\": \"normal | [ <number> <integer>? ]\",\n \"relevance\": 50,\n \"browsers\": [\n \"S9\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/initial-letter\"\n }\n ],\n \"description\": \"The initial-letter CSS property specifies styling for dropped, raised, and sunken initial letters.\"\n },\n {\n \"name\": \"initial-letter-align\",\n \"status\": \"experimental\",\n \"syntax\": \"[ auto | alphabetic | hanging | ideographic ]\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/initial-letter-align\"\n }\n ],\n \"description\": \"The initial-letter-align CSS property specifies the alignment of initial letters within a paragraph.\"\n },\n {\n \"name\": \"inset\",\n \"syntax\": \"<'top'>{1,4}\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF66\",\n \"C87\",\n \"O73\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/inset\"\n }\n ],\n \"description\": \"The inset CSS property defines the logical block and inline start and end offsets of an element, which map to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation.\"\n },\n {\n \"name\": \"inset-block\",\n \"syntax\": \"<'top'>{1,2}\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF63\",\n \"C87\",\n \"O73\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/inset-block\"\n }\n ],\n \"description\": \"The inset-block CSS property defines the logical block start and end offsets of an element, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation.\"\n },\n {\n \"name\": \"inset-block-end\",\n \"syntax\": \"<'top'>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF63\",\n \"C87\",\n \"O73\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/inset-block-end\"\n }\n ],\n \"description\": \"The inset-block-end CSS property defines the logical block end offset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation.\"\n },\n {\n \"name\": \"inset-block-start\",\n \"syntax\": \"<'top'>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF63\",\n \"C87\",\n \"O73\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/inset-block-start\"\n }\n ],\n \"description\": \"The inset-block-start CSS property defines the logical block start offset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation.\"\n },\n {\n \"name\": \"inset-inline\",\n \"syntax\": \"<'top'>{1,2}\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF63\",\n \"C87\",\n \"O73\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/inset-inline\"\n }\n ],\n \"description\": \"The inset-inline CSS property defines the logical block start and end offsets of an element, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation.\"\n },\n {\n \"name\": \"inset-inline-end\",\n \"syntax\": \"<'top'>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF63\",\n \"C87\",\n \"O73\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/inset-inline-end\"\n }\n ],\n \"description\": \"The inset-inline-end CSS property defines the logical inline end inset of an element, which maps to a physical inset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation.\"\n },\n {\n \"name\": \"inset-inline-start\",\n \"syntax\": \"<'top'>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF63\",\n \"C87\",\n \"O73\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/inset-inline-start\"\n }\n ],\n \"description\": \"The inset-inline-start CSS property defines the logical inline start inset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation.\"\n },\n {\n \"name\": \"justify-tracks\",\n \"status\": \"experimental\",\n \"syntax\": \"[ normal | <content-distribution> | <overflow-position>? [ <content-position> | left | right ] ]#\",\n \"relevance\": 50,\n \"browsers\": [\n \"FF77\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/justify-tracks\"\n }\n ],\n \"description\": \"The justify-tracks CSS property sets the alignment in the masonry axis for grid containers that have masonry in their inline axis\"\n },\n {\n \"name\": \"line-clamp\",\n \"status\": \"experimental\",\n \"syntax\": \"none | <integer>\",\n \"relevance\": 50,\n \"description\": \"The line-clamp property allows limiting the contents of a block container to the specified number of lines; remaining content is fragmented away and neither rendered nor measured. Optionally, it also allows inserting content into the last line box to indicate the continuity of truncated/interrupted content.\"\n },\n {\n \"name\": \"line-height-step\",\n \"status\": \"experimental\",\n \"syntax\": \"<length>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"C60\",\n \"O47\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/line-height-step\"\n }\n ],\n \"description\": \"The line-height-step CSS property defines the step units for line box heights. When the step unit is positive, line box heights are rounded up to the closest multiple of the unit. Negative values are invalid.\"\n },\n {\n \"name\": \"margin-block\",\n \"syntax\": \"<'margin-left'>{1,2}\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF66\",\n \"C87\",\n \"O73\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/margin-block\"\n }\n ],\n \"description\": \"The margin-block CSS property defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.\"\n },\n {\n \"name\": \"margin-inline\",\n \"syntax\": \"<'margin-left'>{1,2}\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF66\",\n \"C87\",\n \"O73\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/margin-inline\"\n }\n ],\n \"description\": \"The margin-inline CSS property defines the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.\"\n },\n {\n \"name\": \"margin-trim\",\n \"status\": \"experimental\",\n \"syntax\": \"none | in-flow | all\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/margin-trim\"\n }\n ],\n \"description\": \"The margin-trim property allows the container to trim the margins of its children where they adjoin the container’s edges.\"\n },\n {\n \"name\": \"mask\",\n \"syntax\": \"<mask-layer>#\",\n \"relevance\": 50,\n \"browsers\": [\n \"E12\",\n \"FF2\",\n \"S3.2\",\n \"C1\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/mask\"\n }\n ],\n \"description\": \"The mask CSS property alters the visibility of an element by either partially or fully hiding it. This is accomplished by either masking or clipping the image at specific points.\"\n },\n {\n \"name\": \"mask-border\",\n \"syntax\": \"<'mask-border-source'> || <'mask-border-slice'> [ / <'mask-border-width'>? [ / <'mask-border-outset'> ]? ]? || <'mask-border-repeat'> || <'mask-border-mode'>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"S3.1\",\n \"C1\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/mask-border\"\n }\n ],\n \"description\": \"The mask-border CSS property lets you create a mask along the edge of an element's border.\\n\\nThis property is a shorthand for mask-border-source, mask-border-slice, mask-border-width, mask-border-outset, mask-border-repeat, and mask-border-mode. As with all shorthand properties, any omitted sub-values will be set to their initial value.\"\n },\n {\n \"name\": \"mask-border-mode\",\n \"syntax\": \"luminance | alpha\",\n \"relevance\": 50,\n \"description\": \"The mask-border-mode CSS property specifies the blending mode used in a mask border.\"\n },\n {\n \"name\": \"mask-border-outset\",\n \"syntax\": \"[ <length> | <number> ]{1,4}\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"S3.1\",\n \"C1\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/mask-border-outset\"\n }\n ],\n \"description\": \"The mask-border-outset CSS property specifies the distance by which an element's mask border is set out from its border box.\"\n },\n {\n \"name\": \"mask-border-repeat\",\n \"syntax\": \"[ stretch | repeat | round | space ]{1,2}\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"S3.1\",\n \"C1\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/mask-border-repeat\"\n }\n ],\n \"description\": \"The mask-border-repeat CSS property defines how the edge regions of a source image are adjusted to fit the dimensions of an element's mask border.\"\n },\n {\n \"name\": \"mask-border-slice\",\n \"syntax\": \"<number-percentage>{1,4} fill?\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"S3.1\",\n \"C1\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/mask-border-slice\"\n }\n ],\n \"description\": \"The mask-border-slice CSS property divides the image specified by mask-border-source into regions. These regions are used to form the components of an element's mask border.\"\n },\n {\n \"name\": \"mask-border-source\",\n \"syntax\": \"none | <image>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"S3.1\",\n \"C1\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/mask-border-source\"\n }\n ],\n \"description\": \"The mask-border-source CSS property specifies the source image used to create an element's mask border.\\n\\nThe mask-border-slice property is used to divide the source image into regions, which are then dynamically applied to the final mask border.\"\n },\n {\n \"name\": \"mask-border-width\",\n \"syntax\": \"[ <length-percentage> | <number> | auto ]{1,4}\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"S3.1\",\n \"C1\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/mask-border-width\"\n }\n ],\n \"description\": \"The mask-border-width CSS property specifies the width of an element's mask border.\"\n },\n {\n \"name\": \"mask-clip\",\n \"syntax\": \"[ <geometry-box> | no-clip ]#\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF53\",\n \"S4\",\n \"C1\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/mask-clip\"\n }\n ],\n \"description\": \"The mask-clip CSS property determines the area, which is affected by a mask. The painted content of an element must be restricted to this area.\"\n },\n {\n \"name\": \"mask-composite\",\n \"syntax\": \"<compositing-operator>#\",\n \"relevance\": 50,\n \"browsers\": [\n \"E18\",\n \"FF53\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/mask-composite\"\n }\n ],\n \"description\": \"The mask-composite CSS property represents a compositing operation used on the current mask layer with the mask layers below it.\"\n },\n {\n \"name\": \"masonry-auto-flow\",\n \"status\": \"experimental\",\n \"syntax\": \"[ pack | next ] || [ definite-first | ordered ]\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/masonry-auto-flow\"\n }\n ],\n \"description\": \"The masonry-auto-flow CSS property modifies how items are placed when using masonry in CSS Grid Layout.\"\n },\n {\n \"name\": \"math-style\",\n \"syntax\": \"normal | compact\",\n \"relevance\": 50,\n \"browsers\": [\n \"FF83\",\n \"C83\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/math-style\"\n }\n ],\n \"description\": \"The math-style property indicates whether MathML equations should render with normal or compact height.\"\n },\n {\n \"name\": \"max-lines\",\n \"status\": \"experimental\",\n \"syntax\": \"none | <integer>\",\n \"relevance\": 50,\n \"description\": \"The max-liens property forces a break after a set number of lines\"\n },\n {\n \"name\": \"offset\",\n \"syntax\": \"[ <'offset-position'>? [ <'offset-path'> [ <'offset-distance'> || <'offset-rotate'> ]? ]? ]! [ / <'offset-anchor'> ]?\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF72\",\n \"C55\",\n \"O42\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/offset\"\n }\n ],\n \"description\": \"The offset CSS property is a shorthand property for animating an element along a defined path.\"\n },\n {\n \"name\": \"offset-anchor\",\n \"syntax\": \"auto | <position>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF72\",\n \"C79\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/offset-anchor\"\n }\n ],\n \"description\": \"Defines an anchor point of the box positioned along the path. The anchor point specifies the point of the box which is to be considered as the point that is moved along the path.\"\n },\n {\n \"name\": \"offset-distance\",\n \"syntax\": \"<length-percentage>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF72\",\n \"C55\",\n \"O42\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/offset-distance\"\n }\n ],\n \"description\": \"The offset-distance CSS property specifies a position along an offset-path.\"\n },\n {\n \"name\": \"offset-path\",\n \"syntax\": \"none | ray( [ <angle> && <size> && contain? ] ) | <path()> | <url> | [ <basic-shape> || <geometry-box> ]\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF72\",\n \"C55\",\n \"O45\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/offset-path\"\n }\n ],\n \"description\": \"The offset-path CSS property specifies the offset path where the element gets positioned. The exact element’s position on the offset path is determined by the offset-distance property. An offset path is either a specified path with one or multiple sub-paths or the geometry of a not-styled basic shape. Each shape or path must define an initial position for the computed value of \\\"0\\\" for offset-distance and an initial direction which specifies the rotation of the object to the initial position.\\n\\nIn this specification, a direction (or rotation) of 0 degrees is equivalent to the direction of the positive x-axis in the object’s local coordinate system. In other words, a rotation of 0 degree points to the right side of the UA if the object and its ancestors have no transformation applied.\"\n },\n {\n \"name\": \"offset-position\",\n \"status\": \"experimental\",\n \"syntax\": \"auto | <position>\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/offset-position\"\n }\n ],\n \"description\": \"Specifies the initial position of the offset path. If position is specified with static, offset-position would be ignored.\"\n },\n {\n \"name\": \"offset-rotate\",\n \"syntax\": \"[ auto | reverse ] || <angle>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF72\",\n \"C56\",\n \"O43\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/offset-rotate\"\n }\n ],\n \"description\": \"The offset-rotate CSS property defines the direction of the element while positioning along the offset path.\"\n },\n {\n \"name\": \"overflow-anchor\",\n \"syntax\": \"auto | none\",\n \"relevance\": 52,\n \"browsers\": [\n \"E79\",\n \"FF66\",\n \"C56\",\n \"O43\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/overflow-anchor\"\n }\n ],\n \"description\": \"The overflow-anchor CSS property provides a way to opt out browser scroll anchoring behavior which adjusts scroll position to minimize content shifts.\"\n },\n {\n \"name\": \"overflow-block\",\n \"syntax\": \"visible | hidden | clip | scroll | auto\",\n \"relevance\": 50,\n \"browsers\": [\n \"FF69\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/overflow-block\"\n }\n ],\n \"description\": \"The overflow-block CSS media feature can be used to test how the output device handles content that overflows the initial containing block along the block axis.\"\n },\n {\n \"name\": \"overflow-clip-box\",\n \"status\": \"nonstandard\",\n \"syntax\": \"padding-box | content-box\",\n \"relevance\": 0,\n \"browsers\": [\n \"FF29\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Mozilla/Gecko/Chrome/CSS/overflow-clip-box\"\n }\n ],\n \"description\": \"The overflow-clip-box CSS property specifies relative to which box the clipping happens when there is an overflow. It is short hand for the overflow-clip-box-inline and overflow-clip-box-block properties.\"\n },\n {\n \"name\": \"overflow-inline\",\n \"syntax\": \"visible | hidden | clip | scroll | auto\",\n \"relevance\": 50,\n \"browsers\": [\n \"FF69\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/overflow-inline\"\n }\n ],\n \"description\": \"The overflow-inline CSS media feature can be used to test how the output device handles content that overflows the initial containing block along the inline axis.\"\n },\n {\n \"name\": \"overscroll-behavior\",\n \"syntax\": \"[ contain | none | auto ]{1,2}\",\n \"relevance\": 50,\n \"browsers\": [\n \"E18\",\n \"FF59\",\n \"C63\",\n \"O50\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior\"\n }\n ],\n \"description\": \"The overscroll-behavior CSS property is shorthand for the overscroll-behavior-x and overscroll-behavior-y properties, which allow you to control the browser's scroll overflow behavior — what happens when the boundary of a scrolling area is reached.\"\n },\n {\n \"name\": \"overscroll-behavior-block\",\n \"syntax\": \"contain | none | auto\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF73\",\n \"C77\",\n \"O64\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-block\"\n }\n ],\n \"description\": \"The overscroll-behavior-block CSS property sets the browser's behavior when the block direction boundary of a scrolling area is reached.\"\n },\n {\n \"name\": \"overscroll-behavior-inline\",\n \"syntax\": \"contain | none | auto\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF73\",\n \"C77\",\n \"O64\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-inline\"\n }\n ],\n \"description\": \"The overscroll-behavior-inline CSS property sets the browser's behavior when the inline direction boundary of a scrolling area is reached.\"\n },\n {\n \"name\": \"overscroll-behavior-x\",\n \"syntax\": \"contain | none | auto\",\n \"relevance\": 50,\n \"browsers\": [\n \"E18\",\n \"FF59\",\n \"C63\",\n \"O50\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-x\"\n }\n ],\n \"description\": \"The overscroll-behavior-x CSS property is allows you to control the browser's scroll overflow behavior — what happens when the boundary of a scrolling area is reached — in the x axis direction.\"\n },\n {\n \"name\": \"overscroll-behavior-y\",\n \"syntax\": \"contain | none | auto\",\n \"relevance\": 50,\n \"browsers\": [\n \"E18\",\n \"FF59\",\n \"C63\",\n \"O50\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-y\"\n }\n ],\n \"description\": \"The overscroll-behavior-y CSS property is allows you to control the browser's scroll overflow behavior — what happens when the boundary of a scrolling area is reached — in the y axis direction.\"\n },\n {\n \"name\": \"padding-block\",\n \"syntax\": \"<'padding-left'>{1,2}\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF66\",\n \"C87\",\n \"O73\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/padding-block\"\n }\n ],\n \"description\": \"The padding-block CSS property defines the logical block start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation.\"\n },\n {\n \"name\": \"padding-inline\",\n \"syntax\": \"<'padding-left'>{1,2}\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF66\",\n \"C87\",\n \"O73\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/padding-inline\"\n }\n ],\n \"description\": \"The padding-inline CSS property defines the logical inline start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation.\"\n },\n {\n \"name\": \"place-content\",\n \"syntax\": \"<'align-content'> <'justify-content'>?\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF53\",\n \"S9\",\n \"C59\",\n \"O46\"\n ],\n \"description\": \"The place-content CSS shorthand property sets both the align-content and justify-content properties.\"\n },\n {\n \"name\": \"place-items\",\n \"syntax\": \"<'align-items'> <'justify-items'>?\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF45\",\n \"S11\",\n \"C59\",\n \"O46\"\n ],\n \"description\": \"The CSS place-items shorthand property sets both the align-items and justify-items properties. The first value is the align-items property value, the second the justify-items one. If the second value is not present, the first value is also used for it.\"\n },\n {\n \"name\": \"place-self\",\n \"syntax\": \"<'align-self'> <'justify-self'>?\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF45\",\n \"S11\",\n \"C59\",\n \"O46\"\n ],\n \"description\": \"The place-self CSS property is a shorthand property sets both the align-self and justify-self properties. The first value is the align-self property value, the second the justify-self one. If the second value is not present, the first value is also used for it.\"\n },\n {\n \"name\": \"rotate\",\n \"syntax\": \"none | <angle> | [ x | y | z | <number>{3} ] && <angle>\",\n \"relevance\": 50,\n \"browsers\": [\n \"FF72\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/rotate\"\n }\n ],\n \"description\": \"The rotate CSS property allows you to specify rotation transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value.\"\n },\n {\n \"name\": \"row-gap\",\n \"syntax\": \"normal | <length-percentage>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E84\",\n \"FF63\",\n \"S12.1\",\n \"C84\",\n \"O70\"\n ],\n \"description\": \"The row-gap CSS property specifies the gutter between grid rows.\"\n },\n {\n \"name\": \"ruby-merge\",\n \"status\": \"experimental\",\n \"syntax\": \"separate | collapse | auto\",\n \"relevance\": 50,\n \"description\": \"This property controls how ruby annotation boxes should be rendered when there are more than one in a ruby container box: whether each pair should be kept separate, the annotations should be collapsed and rendered as a group, or the separation should be determined based on the space available.\"\n },\n {\n \"name\": \"scale\",\n \"syntax\": \"none | <number>{1,3}\",\n \"relevance\": 50,\n \"browsers\": [\n \"FF72\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scale\"\n }\n ],\n \"description\": \"The scale CSS property allows you to specify scale transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value.\"\n },\n {\n \"name\": \"scrollbar-color\",\n \"syntax\": \"auto | dark | light | <color>{2}\",\n \"relevance\": 50,\n \"browsers\": [\n \"FF64\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scrollbar-color\"\n }\n ],\n \"description\": \"The scrollbar-color CSS property sets the color of the scrollbar track and thumb.\"\n },\n {\n \"name\": \"scrollbar-gutter\",\n \"syntax\": \"auto | [ stable | always ] && both? && force?\",\n \"relevance\": 50,\n \"browsers\": [\n \"C88\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scrollbar-gutter\"\n }\n ],\n \"description\": \"The scrollbar-gutter CSS property allows authors to reserve space for the scrollbar, preventing unwanted layout changes as the content grows while also avoiding unnecessary visuals when scrolling isn't needed.\"\n },\n {\n \"name\": \"scrollbar-width\",\n \"syntax\": \"auto | thin | none\",\n \"relevance\": 50,\n \"browsers\": [\n \"FF64\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scrollbar-width\"\n }\n ],\n \"description\": \"The scrollbar-width property allows the author to set the maximum thickness of an element’s scrollbars when they are shown. \"\n },\n {\n \"name\": \"scroll-margin\",\n \"syntax\": \"<length>{1,4}\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF68\",\n \"S11\",\n \"C69\",\n \"O56\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-margin\"\n }\n ],\n \"description\": \"The scroll-margin property is a shorthand property which sets all of the scroll-margin longhands, assigning values much like the margin property does for the margin-* longhands.\"\n },\n {\n \"name\": \"scroll-margin-block\",\n \"syntax\": \"<length>{1,2}\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF68\",\n \"C69\",\n \"O56\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block\"\n }\n ],\n \"description\": \"The scroll-margin-block property is a shorthand property which sets the scroll-margin longhands in the block dimension.\"\n },\n {\n \"name\": \"scroll-margin-block-start\",\n \"syntax\": \"<length>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF68\",\n \"C69\",\n \"O56\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-start\"\n }\n ],\n \"description\": \"The scroll-margin-block-start property defines the margin of the scroll snap area at the start of the block dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets.\"\n },\n {\n \"name\": \"scroll-margin-block-end\",\n \"syntax\": \"<length>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF68\",\n \"C69\",\n \"O56\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-end\"\n }\n ],\n \"description\": \"The scroll-margin-block-end property defines the margin of the scroll snap area at the end of the block dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets.\"\n },\n {\n \"name\": \"scroll-margin-bottom\",\n \"syntax\": \"<length>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF68\",\n \"S11\",\n \"C69\",\n \"O56\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-bottom\"\n }\n ],\n \"description\": \"The scroll-margin-bottom property defines the bottom margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets.\"\n },\n {\n \"name\": \"scroll-margin-inline\",\n \"syntax\": \"<length>{1,2}\",\n \"relevance\": 50,\n \"browsers\": [\n \"FF68\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline\"\n }\n ],\n \"description\": \"The scroll-margin-inline property is a shorthand property which sets the scroll-margin longhands in the inline dimension.\"\n },\n {\n \"name\": \"scroll-margin-inline-start\",\n \"syntax\": \"<length>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF68\",\n \"C69\",\n \"O56\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-start\"\n }\n ],\n \"description\": \"The scroll-margin-inline-start property defines the margin of the scroll snap area at the start of the inline dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets.\"\n },\n {\n \"name\": \"scroll-margin-inline-end\",\n \"syntax\": \"<length>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF68\",\n \"C69\",\n \"O56\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-end\"\n }\n ],\n \"description\": \"The scroll-margin-inline-end property defines the margin of the scroll snap area at the end of the inline dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets.\"\n },\n {\n \"name\": \"scroll-margin-left\",\n \"syntax\": \"<length>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF68\",\n \"S11\",\n \"C69\",\n \"O56\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-left\"\n }\n ],\n \"description\": \"The scroll-margin-left property defines the left margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets.\"\n },\n {\n \"name\": \"scroll-margin-right\",\n \"syntax\": \"<length>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF68\",\n \"S11\",\n \"C69\",\n \"O56\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-right\"\n }\n ],\n \"description\": \"The scroll-margin-right property defines the right margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets.\"\n },\n {\n \"name\": \"scroll-margin-top\",\n \"syntax\": \"<length>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF68\",\n \"S11\",\n \"C69\",\n \"O56\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-top\"\n }\n ],\n \"description\": \"The scroll-margin-top property defines the top margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets.\"\n },\n {\n \"name\": \"scroll-padding\",\n \"syntax\": \"[ auto | <length-percentage> ]{1,4}\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF68\",\n \"S11\",\n \"C69\",\n \"O56\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-padding\"\n }\n ],\n \"description\": \"The scroll-padding property is a shorthand property which sets all of the scroll-padding longhands, assigning values much like the padding property does for the padding-* longhands.\"\n },\n {\n \"name\": \"scroll-padding-block\",\n \"syntax\": \"[ auto | <length-percentage> ]{1,2}\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF68\",\n \"C69\",\n \"O56\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block\"\n }\n ],\n \"description\": \"The scroll-padding-block property is a shorthand property which sets the scroll-padding longhands for the block dimension.\"\n },\n {\n \"name\": \"scroll-padding-block-start\",\n \"syntax\": \"auto | <length-percentage>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF68\",\n \"C69\",\n \"O56\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-start\"\n }\n ],\n \"description\": \"The scroll-padding-block-start property defines offsets for the start edge in the block dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport.\"\n },\n {\n \"name\": \"scroll-padding-block-end\",\n \"syntax\": \"auto | <length-percentage>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF68\",\n \"C69\",\n \"O56\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-end\"\n }\n ],\n \"description\": \"The scroll-padding-block-end property defines offsets for the end edge in the block dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport.\"\n },\n {\n \"name\": \"scroll-padding-bottom\",\n \"syntax\": \"auto | <length-percentage>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF68\",\n \"S11\",\n \"C69\",\n \"O56\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-bottom\"\n }\n ],\n \"description\": \"The scroll-padding-bottom property defines offsets for the bottom of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport.\"\n },\n {\n \"name\": \"scroll-padding-inline\",\n \"syntax\": \"[ auto | <length-percentage> ]{1,2}\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF68\",\n \"C69\",\n \"O56\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline\"\n }\n ],\n \"description\": \"The scroll-padding-inline property is a shorthand property which sets the scroll-padding longhands for the inline dimension.\"\n },\n {\n \"name\": \"scroll-padding-inline-start\",\n \"syntax\": \"auto | <length-percentage>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF68\",\n \"C69\",\n \"O56\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-start\"\n }\n ],\n \"description\": \"The scroll-padding-inline-start property defines offsets for the start edge in the inline dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport.\"\n },\n {\n \"name\": \"scroll-padding-inline-end\",\n \"syntax\": \"auto | <length-percentage>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF68\",\n \"C69\",\n \"O56\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-end\"\n }\n ],\n \"description\": \"The scroll-padding-inline-end property defines offsets for the end edge in the inline dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport.\"\n },\n {\n \"name\": \"scroll-padding-left\",\n \"syntax\": \"auto | <length-percentage>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF68\",\n \"S11\",\n \"C69\",\n \"O56\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-left\"\n }\n ],\n \"description\": \"The scroll-padding-left property defines offsets for the left of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport.\"\n },\n {\n \"name\": \"scroll-padding-right\",\n \"syntax\": \"auto | <length-percentage>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF68\",\n \"S11\",\n \"C69\",\n \"O56\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-right\"\n }\n ],\n \"description\": \"The scroll-padding-right property defines offsets for the right of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport.\"\n },\n {\n \"name\": \"scroll-padding-top\",\n \"syntax\": \"auto | <length-percentage>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF68\",\n \"S11\",\n \"C69\",\n \"O56\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-top\"\n }\n ],\n \"description\": \"The scroll-padding-top property defines offsets for the top of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport.\"\n },\n {\n \"name\": \"scroll-snap-align\",\n \"syntax\": \"[ none | start | end | center ]{1,2}\",\n \"relevance\": 51,\n \"browsers\": [\n \"E79\",\n \"FF68\",\n \"S11\",\n \"C69\",\n \"O56\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-align\"\n }\n ],\n \"description\": \"The scroll-snap-align property specifies the box’s snap position as an alignment of its snap area (as the alignment subject) within its snap container’s snapport (as the alignment container). The two values specify the snapping alignment in the block axis and inline axis, respectively. If only one value is specified, the second value defaults to the same value.\"\n },\n {\n \"name\": \"scroll-snap-stop\",\n \"syntax\": \"normal | always\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"C75\",\n \"O62\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-stop\"\n }\n ],\n \"description\": \"The scroll-snap-stop CSS property defines whether the scroll container is allowed to \\\"pass over\\\" possible snap positions.\"\n },\n {\n \"name\": \"scroll-snap-type-x\",\n \"status\": \"obsolete\",\n \"syntax\": \"none | mandatory | proximity\",\n \"relevance\": 0,\n \"browsers\": [\n \"FF39\",\n \"S9\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type-x\"\n }\n ],\n \"description\": \"The scroll-snap-type-x CSS property defines how strictly snap points are enforced on the horizontal axis of the scroll container in case there is one.\\n\\nSpecifying any precise animations or physics used to enforce those snap points is not covered by this property but instead left up to the user agent.\"\n },\n {\n \"name\": \"scroll-snap-type-y\",\n \"status\": \"obsolete\",\n \"syntax\": \"none | mandatory | proximity\",\n \"relevance\": 0,\n \"browsers\": [\n \"FF39\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type-y\"\n }\n ],\n \"description\": \"The scroll-snap-type-y CSS property defines how strictly snap points are enforced on the vertical axis of the scroll container in case there is one.\\n\\nSpecifying any precise animations or physics used to enforce those snap points is not covered by this property but instead left up to the user agent.\"\n },\n {\n \"name\": \"text-combine-upright\",\n \"syntax\": \"none | all | [ digits <integer>? ]\",\n \"relevance\": 50,\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-combine-upright\"\n }\n ],\n \"description\": \"The text-combine-upright CSS property specifies the combination of multiple characters into the space of a single character. If the combined text is wider than 1em, the user agent must fit the contents within 1em. The resulting composition is treated as a single upright glyph for layout and decoration. This property only has an effect in vertical writing modes.\\n\\nThis is used to produce an effect that is known as tate-chū-yoko (縦中横) in Japanese, or as 直書橫向 in Chinese.\"\n },\n {\n \"name\": \"text-decoration-skip\",\n \"status\": \"experimental\",\n \"syntax\": \"none | [ objects || [ spaces | [ leading-spaces || trailing-spaces ] ] || edges || box-decoration ]\",\n \"relevance\": 53,\n \"browsers\": [\n \"S12.1\",\n \"C57\",\n \"O44\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip\"\n }\n ],\n \"description\": \"The text-decoration-skip CSS property specifies what parts of the element’s content any text decoration affecting the element must skip over. It controls all text decoration lines drawn by the element and also any text decoration lines drawn by its ancestors.\"\n },\n {\n \"name\": \"text-decoration-skip-ink\",\n \"syntax\": \"auto | all | none\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF70\",\n \"C64\",\n \"O50\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip-ink\"\n }\n ],\n \"description\": \"The text-decoration-skip-ink CSS property specifies how overlines and underlines are drawn when they pass over glyph ascenders and descenders.\"\n },\n {\n \"name\": \"text-decoration-thickness\",\n \"syntax\": \"auto | from-font | <length> | <percentage> \",\n \"relevance\": 50,\n \"browsers\": [\n \"E87\",\n \"FF70\",\n \"S12.1\",\n \"C87\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-decoration-thickness\"\n }\n ],\n \"description\": \"The text-decoration-thickness CSS property sets the thickness, or width, of the decoration line that is used on text in an element, such as a line-through, underline, or overline.\"\n },\n {\n \"name\": \"text-emphasis\",\n \"syntax\": \"<'text-emphasis-style'> || <'text-emphasis-color'>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF46\",\n \"S6.1\",\n \"C25\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-emphasis\"\n }\n ],\n \"description\": \"The text-emphasis CSS property is a shorthand property for setting text-emphasis-style and text-emphasis-color in one declaration. This property will apply the specified emphasis mark to each character of the element's text, except separator characters, like spaces, and control characters.\"\n },\n {\n \"name\": \"text-emphasis-color\",\n \"syntax\": \"<color>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF46\",\n \"S6.1\",\n \"C25\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-color\"\n }\n ],\n \"description\": \"The text-emphasis-color CSS property defines the color used to draw emphasis marks on text being rendered in the HTML document. This value can also be set and reset using the text-emphasis shorthand.\"\n },\n {\n \"name\": \"text-emphasis-position\",\n \"syntax\": \"[ over | under ] && [ right | left ]\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF46\",\n \"S6.1\",\n \"C25\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-position\"\n }\n ],\n \"description\": \"The text-emphasis-position CSS property describes where emphasis marks are drawn at. The effect of emphasis marks on the line height is the same as for ruby text: if there isn't enough place, the line height is increased.\"\n },\n {\n \"name\": \"text-emphasis-style\",\n \"syntax\": \"none | [ [ filled | open ] || [ dot | circle | double-circle | triangle | sesame ] ] | <string>\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF46\",\n \"S6.1\",\n \"C25\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-style\"\n }\n ],\n \"description\": \"The text-emphasis-style CSS property defines the type of emphasis used. It can also be set, and reset, using the text-emphasis shorthand.\"\n },\n {\n \"name\": \"text-size-adjust\",\n \"status\": \"experimental\",\n \"syntax\": \"none | auto | <percentage>\",\n \"relevance\": 56,\n \"browsers\": [\n \"E79\",\n \"C54\",\n \"O41\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-size-adjust\"\n }\n ],\n \"description\": \"The text-size-adjust CSS property controls the text inflation algorithm used on some smartphones and tablets. Other browsers will ignore this property.\"\n },\n {\n \"name\": \"text-underline-offset\",\n \"syntax\": \"auto | <length> | <percentage> \",\n \"relevance\": 50,\n \"browsers\": [\n \"E87\",\n \"FF70\",\n \"S12.1\",\n \"C87\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/text-underline-offset\"\n }\n ],\n \"description\": \"The text-underline-offset CSS property sets the offset distance of an underline text decoration line (applied using text-decoration) from its original position.\"\n },\n {\n \"name\": \"transform-box\",\n \"syntax\": \"content-box | border-box | fill-box | stroke-box | view-box\",\n \"relevance\": 50,\n \"browsers\": [\n \"E79\",\n \"FF55\",\n \"S11\",\n \"C64\",\n \"O51\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/transform-box\"\n }\n ],\n \"description\": \"The transform-box CSS property defines the layout box to which the transform and transform-origin properties relate.\"\n },\n {\n \"name\": \"translate\",\n \"syntax\": \"none | <length-percentage> [ <length-percentage> <length>? ]?\",\n \"relevance\": 50,\n \"browsers\": [\n \"FF72\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/translate\"\n }\n ],\n \"description\": \"The translate CSS property allows you to specify translation transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value.\"\n },\n {\n \"name\": \"speak-as\",\n \"syntax\": \"auto | bullets | numbers | words | spell-out | <counter-style-name>\",\n \"relevance\": 50,\n \"description\": \"The speak-as descriptor specifies how a counter symbol constructed with a given @counter-style will be represented in the spoken form. For example, an author can specify a counter symbol to be either spoken as its numerical value or just represented with an audio cue.\"\n },\n {\n \"name\": \"font-display\",\n \"status\": \"experimental\",\n \"syntax\": \"[ auto | block | swap | fallback | optional ]\",\n \"relevance\": 54,\n \"description\": \"The font-display descriptor determines how a font face is displayed based on whether and when it is downloaded and ready to use.\"\n },\n {\n \"name\": \"bleed\",\n \"syntax\": \"auto | <length>\",\n \"relevance\": 50,\n \"description\": \"The bleed CSS at-rule descriptor, used with the @page at-rule, specifies the extent of the page bleed area outside the page box. This property only has effect if crop marks are enabled using the marks property.\"\n },\n {\n \"name\": \"marks\",\n \"syntax\": \"none | [ crop || cross ]\",\n \"relevance\": 50,\n \"description\": \"The marks CSS at-rule descriptor, used with the @page at-rule, adds crop and/or cross marks to the presentation of the document. Crop marks indicate where the page should be cut. Cross marks are used to align sheets.\"\n },\n {\n \"name\": \"syntax\",\n \"status\": \"experimental\",\n \"syntax\": \"<string>\",\n \"relevance\": 50,\n \"description\": \"Specifies the syntax of the custom property registration represented by the @property rule, controlling how the property’s value is parsed at computed value time.\"\n },\n {\n \"name\": \"inherits\",\n \"status\": \"experimental\",\n \"syntax\": \"true | false\",\n \"relevance\": 50,\n \"description\": \"Specifies the inherit flag of the custom property registration represented by the @property rule, controlling whether or not the property inherits by default.\"\n },\n {\n \"name\": \"initial-value\",\n \"status\": \"experimental\",\n \"syntax\": \"<string>\",\n \"relevance\": 50,\n \"description\": \"Specifies the initial value of the custom property registration represented by the @property rule, controlling the property’s initial value.\"\n },\n {\n \"name\": \"max-zoom\",\n \"syntax\": \"auto | <number> | <percentage>\",\n \"relevance\": 50,\n \"description\": \"The max-zoom CSS descriptor sets the maximum zoom factor of a document defined by the @viewport at-rule. The browser will not zoom in any further than this, whether automatically or at the user's request.\\n\\nA zoom factor of 1.0 or 100% corresponds to no zooming. Larger values are zoomed in. Smaller values are zoomed out.\"\n },\n {\n \"name\": \"min-zoom\",\n \"syntax\": \"auto | <number> | <percentage>\",\n \"relevance\": 50,\n \"description\": \"The min-zoom CSS descriptor sets the minimum zoom factor of a document defined by the @viewport at-rule. The browser will not zoom out any further than this, whether automatically or at the user's request.\\n\\nA zoom factor of 1.0 or 100% corresponds to no zooming. Larger values are zoomed in. Smaller values are zoomed out.\"\n },\n {\n \"name\": \"orientation\",\n \"syntax\": \"auto | portrait | landscape\",\n \"relevance\": 50,\n \"description\": \"The orientation CSS @media media feature can be used to apply styles based on the orientation of the viewport (or the page box, for paged media).\"\n },\n {\n \"name\": \"user-zoom\",\n \"syntax\": \"zoom | fixed\",\n \"relevance\": 50,\n \"description\": \"The user-zoom CSS descriptor controls whether or not the user can change the zoom factor of a document defined by @viewport.\"\n },\n {\n \"name\": \"viewport-fit\",\n \"syntax\": \"auto | contain | cover\",\n \"relevance\": 50,\n \"description\": \"The border-block-style CSS property defines the style of the logical block borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation.\"\n }\n ],\n \"atDirectives\": [\n {\n \"name\": \"@charset\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/@charset\"\n }\n ],\n \"description\": \"Defines character set of the document.\"\n },\n {\n \"name\": \"@counter-style\",\n \"browsers\": [\n \"FF33\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/@counter-style\"\n }\n ],\n \"description\": \"Defines a custom counter style.\"\n },\n {\n \"name\": \"@font-face\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/@font-face\"\n }\n ],\n \"description\": \"Allows for linking to fonts that are automatically activated when needed. This permits authors to work around the limitation of 'web-safe' fonts, allowing for consistent rendering independent of the fonts available in a given user's environment.\"\n },\n {\n \"name\": \"@font-feature-values\",\n \"browsers\": [\n \"FF34\",\n \"S9.1\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/@font-feature-values\"\n }\n ],\n \"description\": \"Defines named values for the indices used to select alternate glyphs for a given font family.\"\n },\n {\n \"name\": \"@import\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/@import\"\n }\n ],\n \"description\": \"Includes content of another file.\"\n },\n {\n \"name\": \"@keyframes\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/@keyframes\"\n }\n ],\n \"description\": \"Defines set of animation key frames.\"\n },\n {\n \"name\": \"@media\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/@media\"\n }\n ],\n \"description\": \"Defines a stylesheet for a particular media type.\"\n },\n {\n \"name\": \"@-moz-document\",\n \"browsers\": [\n \"FF1.8\"\n ],\n \"description\": \"Gecko-specific at-rule that restricts the style rules contained within it based on the URL of the document.\"\n },\n {\n \"name\": \"@-moz-keyframes\",\n \"browsers\": [\n \"FF5\"\n ],\n \"description\": \"Defines set of animation key frames.\"\n },\n {\n \"name\": \"@-ms-viewport\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"description\": \"Specifies the size, zoom factor, and orientation of the viewport.\"\n },\n {\n \"name\": \"@namespace\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/@namespace\"\n }\n ],\n \"description\": \"Declares a prefix and associates it with a namespace name.\"\n },\n {\n \"name\": \"@-o-keyframes\",\n \"browsers\": [\n \"O12\"\n ],\n \"description\": \"Defines set of animation key frames.\"\n },\n {\n \"name\": \"@-o-viewport\",\n \"browsers\": [\n \"O11\"\n ],\n \"description\": \"Specifies the size, zoom factor, and orientation of the viewport.\"\n },\n {\n \"name\": \"@page\",\n \"browsers\": [\n \"E12\",\n \"FF19\",\n \"C2\",\n \"IE8\",\n \"O6\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/@page\"\n }\n ],\n \"description\": \"Directive defines various page parameters.\"\n },\n {\n \"name\": \"@supports\",\n \"browsers\": [\n \"E12\",\n \"FF22\",\n \"S9\",\n \"C28\",\n \"O12.1\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/@supports\"\n }\n ],\n \"description\": \"A conditional group rule whose condition tests whether the user agent supports CSS property:value pairs.\"\n },\n {\n \"name\": \"@-webkit-keyframes\",\n \"browsers\": [\n \"C\",\n \"S4\"\n ],\n \"description\": \"Defines set of animation key frames.\"\n }\n ],\n \"pseudoClasses\": [\n {\n \"name\": \":active\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:active\"\n }\n ],\n \"description\": \"Applies while an element is being activated by the user. For example, between the times the user presses the mouse button and releases it.\"\n },\n {\n \"name\": \":any-link\",\n \"browsers\": [\n \"E79\",\n \"FF50\",\n \"S9\",\n \"C65\",\n \"O52\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:any-link\"\n }\n ],\n \"description\": \"Represents an element that acts as the source anchor of a hyperlink. Applies to both visited and unvisited links.\"\n },\n {\n \"name\": \":checked\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:checked\"\n }\n ],\n \"description\": \"Radio and checkbox elements can be toggled by the user. Some menu items are 'checked' when the user selects them. When such elements are toggled 'on' the :checked pseudo-class applies.\"\n },\n {\n \"name\": \":corner-present\",\n \"browsers\": [\n \"C\",\n \"S5\"\n ],\n \"description\": \"Non-standard. Indicates whether or not a scrollbar corner is present.\"\n },\n {\n \"name\": \":decrement\",\n \"browsers\": [\n \"C\",\n \"S5\"\n ],\n \"description\": \"Non-standard. Applies to buttons and track pieces. Indicates whether or not the button or track piece will decrement the view’s position when used.\"\n },\n {\n \"name\": \":default\",\n \"browsers\": [\n \"E79\",\n \"FF4\",\n \"S5\",\n \"C10\",\n \"O10\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:default\"\n }\n ],\n \"description\": \"Applies to the one or more UI elements that are the default among a set of similar elements. Typically applies to context menu items, buttons, and select lists/menus.\"\n },\n {\n \"name\": \":disabled\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:disabled\"\n }\n ],\n \"description\": \"Represents user interface elements that are in a disabled state; such elements have a corresponding enabled state.\"\n },\n {\n \"name\": \":double-button\",\n \"browsers\": [\n \"C\",\n \"S5\"\n ],\n \"description\": \"Non-standard. Applies to buttons and track pieces. Applies when both buttons are displayed together at the same end of the scrollbar.\"\n },\n {\n \"name\": \":empty\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:empty\"\n }\n ],\n \"description\": \"Represents an element that has no children at all.\"\n },\n {\n \"name\": \":enabled\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:enabled\"\n }\n ],\n \"description\": \"Represents user interface elements that are in an enabled state; such elements have a corresponding disabled state.\"\n },\n {\n \"name\": \":end\",\n \"browsers\": [\n \"C\",\n \"S5\"\n ],\n \"description\": \"Non-standard. Applies to buttons and track pieces. Indicates whether the object is placed after the thumb.\"\n },\n {\n \"name\": \":first\",\n \"browsers\": [\n \"E12\",\n \"S6\",\n \"C18\",\n \"IE8\",\n \"O9.2\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:first\"\n }\n ],\n \"description\": \"When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the page context.\"\n },\n {\n \"name\": \":first-child\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:first-child\"\n }\n ],\n \"description\": \"Same as :nth-child(1). Represents an element that is the first child of some other element.\"\n },\n {\n \"name\": \":first-of-type\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:first-of-type\"\n }\n ],\n \"description\": \"Same as :nth-of-type(1). Represents an element that is the first sibling of its type in the list of children of its parent element.\"\n },\n {\n \"name\": \":focus\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:focus\"\n }\n ],\n \"description\": \"Applies while an element has the focus (accepts keyboard or mouse events, or other forms of input).\"\n },\n {\n \"name\": \":fullscreen\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:fullscreen\"\n }\n ],\n \"description\": \"Matches any element that has its fullscreen flag set.\"\n },\n {\n \"name\": \":future\",\n \"browsers\": [\n \"C\",\n \"O16\",\n \"S6\"\n ],\n \"description\": \"Represents any element that is defined to occur entirely after a :current element.\"\n },\n {\n \"name\": \":horizontal\",\n \"browsers\": [\n \"C\",\n \"S5\"\n ],\n \"description\": \"Non-standard. Applies to any scrollbar pieces that have a horizontal orientation.\"\n },\n {\n \"name\": \":host\",\n \"browsers\": [\n \"E79\",\n \"FF63\",\n \"S10\",\n \"C54\",\n \"O41\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:host\"\n }\n ],\n \"description\": \"When evaluated in the context of a shadow tree, matches the shadow tree’s host element.\"\n },\n {\n \"name\": \":host()\",\n \"browsers\": [\n \"C35\",\n \"O22\"\n ],\n \"description\": \"When evaluated in the context of a shadow tree, it matches the shadow tree’s host element if the host element, in its normal context, matches the selector argument.\"\n },\n {\n \"name\": \":host-context()\",\n \"browsers\": [\n \"C35\",\n \"O22\"\n ],\n \"description\": \"Tests whether there is an ancestor, outside the shadow tree, which matches a particular selector.\"\n },\n {\n \"name\": \":hover\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:hover\"\n }\n ],\n \"description\": \"Applies while the user designates an element with a pointing device, but does not necessarily activate it. For example, a visual user agent could apply this pseudo-class when the cursor (mouse pointer) hovers over a box generated by the element.\"\n },\n {\n \"name\": \":increment\",\n \"browsers\": [\n \"C\",\n \"S5\"\n ],\n \"description\": \"Non-standard. Applies to buttons and track pieces. Indicates whether or not the button or track piece will increment the view’s position when used.\"\n },\n {\n \"name\": \":indeterminate\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:indeterminate\"\n }\n ],\n \"description\": \"Applies to UI elements whose value is in an indeterminate state.\"\n },\n {\n \"name\": \":in-range\",\n \"browsers\": [\n \"E13\",\n \"FF29\",\n \"S5.1\",\n \"C10\",\n \"O11\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:in-range\"\n }\n ],\n \"description\": \"Used in conjunction with the min and max attributes, whether on a range input, a number field, or any other types that accept those attributes.\"\n },\n {\n \"name\": \":invalid\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:invalid\"\n }\n ],\n \"description\": \"An element is :valid or :invalid when it is, respectively, valid or invalid with respect to data validity semantics defined by a different specification.\"\n },\n {\n \"name\": \":lang()\",\n \"browsers\": [\n \"E\",\n \"C\",\n \"FF1\",\n \"IE8\",\n \"O8\",\n \"S3\"\n ],\n \"description\": \"Represents an element that is in language specified.\"\n },\n {\n \"name\": \":last-child\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:last-child\"\n }\n ],\n \"description\": \"Same as :nth-last-child(1). Represents an element that is the last child of some other element.\"\n },\n {\n \"name\": \":last-of-type\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:last-of-type\"\n }\n ],\n \"description\": \"Same as :nth-last-of-type(1). Represents an element that is the last sibling of its type in the list of children of its parent element.\"\n },\n {\n \"name\": \":left\",\n \"browsers\": [\n \"E12\",\n \"S5.1\",\n \"C6\",\n \"IE8\",\n \"O9.2\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:left\"\n }\n ],\n \"description\": \"When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the page context.\"\n },\n {\n \"name\": \":link\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:link\"\n }\n ],\n \"description\": \"Applies to links that have not yet been visited.\"\n },\n {\n \"name\": \":matches()\",\n \"browsers\": [\n \"S9\"\n ],\n \"description\": \"Takes a selector list as its argument. It represents an element that is represented by its argument.\"\n },\n {\n \"name\": \":-moz-any()\",\n \"browsers\": [\n \"FF4\"\n ],\n \"description\": \"Represents an element that is represented by the selector list passed as its argument. Standardized as :matches().\"\n },\n {\n \"name\": \":-moz-any-link\",\n \"browsers\": [\n \"FF1\"\n ],\n \"description\": \"Represents an element that acts as the source anchor of a hyperlink. Applies to both visited and unvisited links.\"\n },\n {\n \"name\": \":-moz-broken\",\n \"browsers\": [\n \"FF3\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:-moz-broken\"\n }\n ],\n \"description\": \"Non-standard. Matches elements representing broken images.\"\n },\n {\n \"name\": \":-moz-drag-over\",\n \"browsers\": [\n \"FF1\"\n ],\n \"description\": \"Non-standard. Matches elements when a drag-over event applies to it.\"\n },\n {\n \"name\": \":-moz-first-node\",\n \"browsers\": [\n \"FF1\"\n ],\n \"description\": \"Non-standard. Represents an element that is the first child node of some other element.\"\n },\n {\n \"name\": \":-moz-focusring\",\n \"browsers\": [\n \"FF4\"\n ],\n \"description\": \"Non-standard. Matches an element that has focus and focus ring drawing is enabled in the browser.\"\n },\n {\n \"name\": \":-moz-full-screen\",\n \"browsers\": [\n \"FF9\"\n ],\n \"description\": \"Matches any element that has its fullscreen flag set. Standardized as :fullscreen.\"\n },\n {\n \"name\": \":-moz-last-node\",\n \"browsers\": [\n \"FF1\"\n ],\n \"description\": \"Non-standard. Represents an element that is the last child node of some other element.\"\n },\n {\n \"name\": \":-moz-loading\",\n \"browsers\": [\n \"FF3\"\n ],\n \"description\": \"Non-standard. Matches elements, such as images, that haven’t started loading yet.\"\n },\n {\n \"name\": \":-moz-only-whitespace\",\n \"browsers\": [\n \"FF1\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:-moz-only-whitespace\"\n }\n ],\n \"description\": \"The same as :empty, except that it additionally matches elements that only contain code points affected by whitespace processing. Standardized as :blank.\"\n },\n {\n \"name\": \":-moz-placeholder\",\n \"browsers\": [\n \"FF4\"\n ],\n \"description\": \"Deprecated. Represents placeholder text in an input field. Use ::-moz-placeholder for Firefox 19+.\"\n },\n {\n \"name\": \":-moz-submit-invalid\",\n \"browsers\": [\n \"FF4\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:-moz-submit-invalid\"\n }\n ],\n \"description\": \"Non-standard. Represents any submit button when the contents of the associated form are not valid.\"\n },\n {\n \"name\": \":-moz-suppressed\",\n \"browsers\": [\n \"FF3\"\n ],\n \"description\": \"Non-standard. Matches elements representing images that have been blocked from loading.\"\n },\n {\n \"name\": \":-moz-ui-invalid\",\n \"browsers\": [\n \"FF4\"\n ],\n \"description\": \"Non-standard. Represents any validated form element whose value isn't valid \"\n },\n {\n \"name\": \":-moz-ui-valid\",\n \"browsers\": [\n \"FF4\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:-moz-ui-valid\"\n }\n ],\n \"description\": \"Non-standard. Represents any validated form element whose value is valid \"\n },\n {\n \"name\": \":-moz-user-disabled\",\n \"browsers\": [\n \"FF3\"\n ],\n \"description\": \"Non-standard. Matches elements representing images that have been disabled due to the user’s preferences.\"\n },\n {\n \"name\": \":-moz-window-inactive\",\n \"browsers\": [\n \"FF4\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:-moz-window-inactive\"\n }\n ],\n \"description\": \"Non-standard. Matches elements in an inactive window.\"\n },\n {\n \"name\": \":-ms-fullscreen\",\n \"browsers\": [\n \"IE11\"\n ],\n \"description\": \"Matches any element that has its fullscreen flag set.\"\n },\n {\n \"name\": \":-ms-input-placeholder\",\n \"browsers\": [\n \"IE10\"\n ],\n \"description\": \"Represents placeholder text in an input field. Note: for Edge use the pseudo-element ::-ms-input-placeholder. Standardized as ::placeholder.\"\n },\n {\n \"name\": \":-ms-keyboard-active\",\n \"browsers\": [\n \"IE10\"\n ],\n \"description\": \"Windows Store apps only. Applies one or more styles to an element when it has focus and the user presses the space bar.\"\n },\n {\n \"name\": \":-ms-lang()\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"description\": \"Represents an element that is in the language specified. Accepts a comma separated list of language tokens.\"\n },\n {\n \"name\": \":no-button\",\n \"browsers\": [\n \"C\",\n \"S5\"\n ],\n \"description\": \"Non-standard. Applies to track pieces. Applies when there is no button at that end of the track.\"\n },\n {\n \"name\": \":not()\",\n \"browsers\": [\n \"E\",\n \"C\",\n \"FF1\",\n \"IE9\",\n \"O9.5\",\n \"S2\"\n ],\n \"description\": \"The negation pseudo-class, :not(X), is a functional notation taking a simple selector (excluding the negation pseudo-class itself) as an argument. It represents an element that is not represented by its argument.\"\n },\n {\n \"name\": \":nth-child()\",\n \"browsers\": [\n \"E\",\n \"C\",\n \"FF3.5\",\n \"IE9\",\n \"O9.5\",\n \"S3.1\"\n ],\n \"description\": \"Represents an element that has an+b-1 siblings before it in the document tree, for any positive integer or zero value of n, and has a parent element.\"\n },\n {\n \"name\": \":nth-last-child()\",\n \"browsers\": [\n \"E\",\n \"C\",\n \"FF3.5\",\n \"IE9\",\n \"O9.5\",\n \"S3.1\"\n ],\n \"description\": \"Represents an element that has an+b-1 siblings after it in the document tree, for any positive integer or zero value of n, and has a parent element.\"\n },\n {\n \"name\": \":nth-last-of-type()\",\n \"browsers\": [\n \"E\",\n \"C\",\n \"FF3.5\",\n \"IE9\",\n \"O9.5\",\n \"S3.1\"\n ],\n \"description\": \"Represents an element that has an+b-1 siblings with the same expanded element name after it in the document tree, for any zero or positive integer value of n, and has a parent element.\"\n },\n {\n \"name\": \":nth-of-type()\",\n \"browsers\": [\n \"E\",\n \"C\",\n \"FF3.5\",\n \"IE9\",\n \"O9.5\",\n \"S3.1\"\n ],\n \"description\": \"Represents an element that has an+b-1 siblings with the same expanded element name before it in the document tree, for any zero or positive integer value of n, and has a parent element.\"\n },\n {\n \"name\": \":only-child\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:only-child\"\n }\n ],\n \"description\": \"Represents an element that has a parent element and whose parent element has no other element children. Same as :first-child:last-child or :nth-child(1):nth-last-child(1), but with a lower specificity.\"\n },\n {\n \"name\": \":only-of-type\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:only-of-type\"\n }\n ],\n \"description\": \"Matches every element that is the only child of its type, of its parent. Same as :first-of-type:last-of-type or :nth-of-type(1):nth-last-of-type(1), but with a lower specificity.\"\n },\n {\n \"name\": \":optional\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:optional\"\n }\n ],\n \"description\": \"A form element is :required or :optional if a value for it is, respectively, required or optional before the form it belongs to is submitted. Elements that are not form elements are neither required nor optional.\"\n },\n {\n \"name\": \":out-of-range\",\n \"browsers\": [\n \"E13\",\n \"FF29\",\n \"S5.1\",\n \"C10\",\n \"O11\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:out-of-range\"\n }\n ],\n \"description\": \"Used in conjunction with the min and max attributes, whether on a range input, a number field, or any other types that accept those attributes.\"\n },\n {\n \"name\": \":past\",\n \"browsers\": [\n \"C\",\n \"O16\",\n \"S6\"\n ],\n \"description\": \"Represents any element that is defined to occur entirely prior to a :current element.\"\n },\n {\n \"name\": \":read-only\",\n \"browsers\": [\n \"E13\",\n \"FF78\",\n \"S4\",\n \"C1\",\n \"O9\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:read-only\"\n }\n ],\n \"description\": \"An element whose contents are not user-alterable is :read-only. However, elements whose contents are user-alterable (such as text input fields) are considered to be in a :read-write state. In typical documents, most elements are :read-only.\"\n },\n {\n \"name\": \":read-write\",\n \"browsers\": [\n \"E13\",\n \"FF78\",\n \"S4\",\n \"C1\",\n \"O9\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:read-write\"\n }\n ],\n \"description\": \"An element whose contents are not user-alterable is :read-only. However, elements whose contents are user-alterable (such as text input fields) are considered to be in a :read-write state. In typical documents, most elements are :read-only.\"\n },\n {\n \"name\": \":required\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:required\"\n }\n ],\n \"description\": \"A form element is :required or :optional if a value for it is, respectively, required or optional before the form it belongs to is submitted. Elements that are not form elements are neither required nor optional.\"\n },\n {\n \"name\": \":right\",\n \"browsers\": [\n \"E12\",\n \"S5.1\",\n \"C6\",\n \"IE8\",\n \"O9.2\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:right\"\n }\n ],\n \"description\": \"When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the page context.\"\n },\n {\n \"name\": \":root\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:root\"\n }\n ],\n \"description\": \"Represents an element that is the root of the document. In HTML 4, this is always the HTML element.\"\n },\n {\n \"name\": \":scope\",\n \"browsers\": [\n \"E79\",\n \"FF32\",\n \"S7\",\n \"C27\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:scope\"\n }\n ],\n \"description\": \"Represents any element that is in the contextual reference element set.\"\n },\n {\n \"name\": \":single-button\",\n \"browsers\": [\n \"C\",\n \"S5\"\n ],\n \"description\": \"Non-standard. Applies to buttons and track pieces. Applies when both buttons are displayed separately at either end of the scrollbar.\"\n },\n {\n \"name\": \":start\",\n \"browsers\": [\n \"C\",\n \"S5\"\n ],\n \"description\": \"Non-standard. Applies to buttons and track pieces. Indicates whether the object is placed before the thumb.\"\n },\n {\n \"name\": \":target\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:target\"\n }\n ],\n \"description\": \"Some URIs refer to a location within a resource. This kind of URI ends with a 'number sign' (#) followed by an anchor identifier (called the fragment identifier).\"\n },\n {\n \"name\": \":valid\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:valid\"\n }\n ],\n \"description\": \"An element is :valid or :invalid when it is, respectively, valid or invalid with respect to data validity semantics defined by a different specification.\"\n },\n {\n \"name\": \":vertical\",\n \"browsers\": [\n \"C\",\n \"S5\"\n ],\n \"description\": \"Non-standard. Applies to any scrollbar pieces that have a vertical orientation.\"\n },\n {\n \"name\": \":visited\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:visited\"\n }\n ],\n \"description\": \"Applies once the link has been visited by the user.\"\n },\n {\n \"name\": \":-webkit-any()\",\n \"browsers\": [\n \"C\",\n \"S5\"\n ],\n \"description\": \"Represents an element that is represented by the selector list passed as its argument. Standardized as :matches().\"\n },\n {\n \"name\": \":-webkit-full-screen\",\n \"browsers\": [\n \"C\",\n \"S6\"\n ],\n \"description\": \"Matches any element that has its fullscreen flag set. Standardized as :fullscreen.\"\n },\n {\n \"name\": \":window-inactive\",\n \"browsers\": [\n \"C\",\n \"S3\"\n ],\n \"description\": \"Non-standard. Applies to all scrollbar pieces. Indicates whether or not the window containing the scrollbar is currently active.\"\n },\n {\n \"name\": \":current\",\n \"status\": \"experimental\",\n \"description\": \"The :current CSS pseudo-class selector is a time-dimensional pseudo-class that represents the element, or an ancestor of the element, that is currently being displayed\"\n },\n {\n \"name\": \":blank\",\n \"status\": \"experimental\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:blank\"\n }\n ],\n \"description\": \"The :blank CSS pseudo-class selects empty user input elements (eg. <input> or <textarea>).\"\n },\n {\n \"name\": \":defined\",\n \"status\": \"experimental\",\n \"browsers\": [\n \"E79\",\n \"FF63\",\n \"S10\",\n \"C54\",\n \"O41\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:defined\"\n }\n ],\n \"description\": \"The :defined CSS pseudo-class represents any element that has been defined. This includes any standard element built in to the browser, and custom elements that have been successfully defined (i.e. with the CustomElementRegistry.define() method).\"\n },\n {\n \"name\": \":dir\",\n \"browsers\": [\n \"FF49\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:dir\"\n }\n ],\n \"description\": \"The :dir() CSS pseudo-class matches elements based on the directionality of the text contained in them.\"\n },\n {\n \"name\": \":focus-visible\",\n \"browsers\": [\n \"E79\",\n \"FF85\",\n \"C86\",\n \"O54\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:focus-visible\"\n }\n ],\n \"description\": \"The :focus-visible pseudo-class applies while an element matches the :focus pseudo-class and the UA determines via heuristics that the focus should be made evident on the element.\"\n },\n {\n \"name\": \":focus-within\",\n \"browsers\": [\n \"E79\",\n \"FF52\",\n \"S10.1\",\n \"C60\",\n \"O47\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:focus-within\"\n }\n ],\n \"description\": \"The :focus-within pseudo-class applies to any element for which the :focus pseudo class applies as well as to an element whose descendant in the flat tree (including non-element nodes, such as text nodes) matches the conditions for matching :focus.\"\n },\n {\n \"name\": \":has\",\n \"status\": \"experimental\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:has\"\n }\n ],\n \"description\": \":The :has() CSS pseudo-class represents an element if any of the selectors passed as parameters (relative to the :scope of the given element), match at least one element.\"\n },\n {\n \"name\": \":is\",\n \"status\": \"experimental\",\n \"browsers\": [\n \"E79\",\n \"FF78\",\n \"S14\",\n \"C68\",\n \"O55\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:is\"\n }\n ],\n \"description\": \"The :is() CSS pseudo-class function takes a selector list as its argument, and selects any element that can be selected by one of the selectors in that list. This is useful for writing large selectors in a more compact form.\"\n },\n {\n \"name\": \":local-link\",\n \"status\": \"experimental\",\n \"description\": \"The :local-link CSS pseudo-class represents an link to the same document\"\n },\n {\n \"name\": \":nth-col\",\n \"status\": \"experimental\",\n \"description\": \"The :nth-col() CSS pseudo-class is designed for tables and grids. It accepts the An+B notation such as used with the :nth-child selector, using this to target every nth column. \"\n },\n {\n \"name\": \":nth-last-col\",\n \"status\": \"experimental\",\n \"description\": \"The :nth-last-col() CSS pseudo-class is designed for tables and grids. It accepts the An+B notation such as used with the :nth-child selector, using this to target every nth column before it, therefore counting back from the end of the set of columns.\"\n },\n {\n \"name\": \":paused\",\n \"status\": \"experimental\",\n \"description\": \"The :paused CSS pseudo-class selector is a resource state pseudo-class that will match an audio, video, or similar resource that is capable of being “played” or “paused”, when that element is “paused”.\"\n },\n {\n \"name\": \":placeholder-shown\",\n \"status\": \"experimental\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:placeholder-shown\"\n }\n ],\n \"description\": \"The :placeholder-shown CSS pseudo-class represents any <input> or <textarea> element that is currently displaying placeholder text.\"\n },\n {\n \"name\": \":playing\",\n \"status\": \"experimental\",\n \"description\": \"The :playing CSS pseudo-class selector is a resource state pseudo-class that will match an audio, video, or similar resource that is capable of being “played” or “paused”, when that element is “playing”. \"\n },\n {\n \"name\": \":target-within\",\n \"status\": \"experimental\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:target-within\"\n }\n ],\n \"description\": \"The :target-within CSS pseudo-class represents an element that is a target element or contains an element that is a target. A target element is a unique element with an id matching the URL's fragment.\"\n },\n {\n \"name\": \":user-invalid\",\n \"status\": \"experimental\",\n \"browsers\": [\n \"FF4\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:user-invalid\"\n }\n ],\n \"description\": \"The :user-invalid CSS pseudo-class represents any validated form element whose value isn't valid based on their validation constraints, after the user has interacted with it.\"\n },\n {\n \"name\": \":where\",\n \"status\": \"experimental\",\n \"browsers\": [\n \"FF78\",\n \"S14\",\n \"C72\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/:where\"\n }\n ],\n \"description\": \"The :where() CSS pseudo-class function takes a selector list as its argument, and selects any element that can be selected by one of the selectors in that list.\"\n },\n {\n \"name\": \":picture-in-picture\",\n \"status\": \"experimental\",\n \"description\": \"The :picture-in-picture CSS pseudo-class matches the element which is currently in picture-in-picture mode.\"\n }\n ],\n \"pseudoElements\": [\n {\n \"name\": \"::after\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::after\"\n }\n ],\n \"description\": \"Represents a styleable child pseudo-element immediately after the originating element’s actual content.\"\n },\n {\n \"name\": \"::backdrop\",\n \"browsers\": [\n \"E12\",\n \"FF47\",\n \"C37\",\n \"IE11\",\n \"O24\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::backdrop\"\n }\n ],\n \"description\": \"Used to create a backdrop that hides the underlying document for an element in a top layer (such as an element that is displayed fullscreen).\"\n },\n {\n \"name\": \"::before\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::before\"\n }\n ],\n \"description\": \"Represents a styleable child pseudo-element immediately before the originating element’s actual content.\"\n },\n {\n \"name\": \"::content\",\n \"browsers\": [\n \"C35\",\n \"O22\"\n ],\n \"description\": \"Deprecated. Matches the distribution list itself, on elements that have one. Use ::slotted for forward compatibility.\"\n },\n {\n \"name\": \"::cue\",\n \"browsers\": [\n \"E79\",\n \"FF55\",\n \"S6.1\",\n \"C26\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::cue\"\n }\n ]\n },\n {\n \"name\": \"::cue()\",\n \"browsers\": [\n \"C\",\n \"O16\",\n \"S6\"\n ]\n },\n {\n \"name\": \"::cue-region\",\n \"browsers\": [\n \"C\",\n \"O16\",\n \"S6\"\n ]\n },\n {\n \"name\": \"::cue-region()\",\n \"browsers\": [\n \"C\",\n \"O16\",\n \"S6\"\n ]\n },\n {\n \"name\": \"::first-letter\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::first-letter\"\n }\n ],\n \"description\": \"Represents the first letter of an element, if it is not preceded by any other content (such as images or inline tables) on its line.\"\n },\n {\n \"name\": \"::first-line\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::first-line\"\n }\n ],\n \"description\": \"Describes the contents of the first formatted line of its originating element.\"\n },\n {\n \"name\": \"::-moz-focus-inner\",\n \"browsers\": [\n \"FF4\"\n ]\n },\n {\n \"name\": \"::-moz-focus-outer\",\n \"browsers\": [\n \"FF4\"\n ]\n },\n {\n \"name\": \"::-moz-list-bullet\",\n \"browsers\": [\n \"FF1\"\n ],\n \"description\": \"Used to style the bullet of a list element. Similar to the standardized ::marker.\"\n },\n {\n \"name\": \"::-moz-list-number\",\n \"browsers\": [\n \"FF1\"\n ],\n \"description\": \"Used to style the numbers of a list element. Similar to the standardized ::marker.\"\n },\n {\n \"name\": \"::-moz-placeholder\",\n \"browsers\": [\n \"FF19\"\n ],\n \"description\": \"Represents placeholder text in an input field\"\n },\n {\n \"name\": \"::-moz-progress-bar\",\n \"browsers\": [\n \"FF9\"\n ],\n \"description\": \"Represents the bar portion of a progress bar.\"\n },\n {\n \"name\": \"::-moz-selection\",\n \"browsers\": [\n \"FF1\"\n ],\n \"description\": \"Represents the portion of a document that has been highlighted by the user.\"\n },\n {\n \"name\": \"::-ms-backdrop\",\n \"browsers\": [\n \"IE11\"\n ],\n \"description\": \"Used to create a backdrop that hides the underlying document for an element in a top layer (such as an element that is displayed fullscreen).\"\n },\n {\n \"name\": \"::-ms-browse\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"description\": \"Represents the browse button of an input type=file control.\"\n },\n {\n \"name\": \"::-ms-check\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"description\": \"Represents the check of a checkbox or radio button input control.\"\n },\n {\n \"name\": \"::-ms-clear\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"description\": \"Represents the clear button of a text input control\"\n },\n {\n \"name\": \"::-ms-expand\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"description\": \"Represents the drop-down button of a select control.\"\n },\n {\n \"name\": \"::-ms-fill\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"description\": \"Represents the bar portion of a progress bar.\"\n },\n {\n \"name\": \"::-ms-fill-lower\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"description\": \"Represents the portion of the slider track from its smallest value up to the value currently selected by the thumb. In a left-to-right layout, this is the portion of the slider track to the left of the thumb.\"\n },\n {\n \"name\": \"::-ms-fill-upper\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"description\": \"Represents the portion of the slider track from the value currently selected by the thumb up to the slider's largest value. In a left-to-right layout, this is the portion of the slider track to the right of the thumb.\"\n },\n {\n \"name\": \"::-ms-reveal\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"description\": \"Represents the password reveal button of an input type=password control.\"\n },\n {\n \"name\": \"::-ms-thumb\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"description\": \"Represents the portion of range input control (also known as a slider control) that the user drags.\"\n },\n {\n \"name\": \"::-ms-ticks-after\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"description\": \"Represents the tick marks of a slider that begin just after the thumb and continue up to the slider's largest value. In a left-to-right layout, these are the ticks to the right of the thumb.\"\n },\n {\n \"name\": \"::-ms-ticks-before\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"description\": \"Represents the tick marks of a slider that represent its smallest values up to the value currently selected by the thumb. In a left-to-right layout, these are the ticks to the left of the thumb.\"\n },\n {\n \"name\": \"::-ms-tooltip\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"description\": \"Represents the tooltip of a slider (input type=range).\"\n },\n {\n \"name\": \"::-ms-track\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"description\": \"Represents the track of a slider.\"\n },\n {\n \"name\": \"::-ms-value\",\n \"browsers\": [\n \"E\",\n \"IE10\"\n ],\n \"description\": \"Represents the content of a text or password input control, or a select control.\"\n },\n {\n \"name\": \"::selection\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::selection\"\n }\n ],\n \"description\": \"Represents the portion of a document that has been highlighted by the user.\"\n },\n {\n \"name\": \"::shadow\",\n \"browsers\": [\n \"C35\",\n \"O22\"\n ],\n \"description\": \"Matches the shadow root if an element has a shadow tree.\"\n },\n {\n \"name\": \"::-webkit-file-upload-button\",\n \"browsers\": [\n \"C\",\n \"O\",\n \"S6\"\n ]\n },\n {\n \"name\": \"::-webkit-inner-spin-button\",\n \"browsers\": [\n \"E79\",\n \"S5\",\n \"C6\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-webkit-inner-spin-button\"\n }\n ]\n },\n {\n \"name\": \"::-webkit-input-placeholder\",\n \"browsers\": [\n \"C\",\n \"S4\"\n ]\n },\n {\n \"name\": \"::-webkit-keygen-select\",\n \"browsers\": [\n \"C\",\n \"O\",\n \"S6\"\n ]\n },\n {\n \"name\": \"::-webkit-meter-bar\",\n \"browsers\": [\n \"E79\",\n \"S5.1\",\n \"C12\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-bar\"\n }\n ]\n },\n {\n \"name\": \"::-webkit-meter-even-less-good-value\",\n \"browsers\": [\n \"E79\",\n \"S5.1\",\n \"C12\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-even-less-good-value\"\n }\n ]\n },\n {\n \"name\": \"::-webkit-meter-optimum-value\",\n \"browsers\": [\n \"E79\",\n \"S5.1\",\n \"C12\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-optimum-value\"\n }\n ]\n },\n {\n \"name\": \"::-webkit-meter-suboptimum-value\",\n \"browsers\": [\n \"E79\",\n \"S5.1\",\n \"C12\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-suboptimum-value\"\n }\n ]\n },\n {\n \"name\": \"::-webkit-outer-spin-button\",\n \"browsers\": [\n \"S5\",\n \"C6\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-webkit-outer-spin-button\"\n }\n ]\n },\n {\n \"name\": \"::-webkit-progress-bar\",\n \"browsers\": [\n \"E79\",\n \"S6.1\",\n \"C25\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-bar\"\n }\n ]\n },\n {\n \"name\": \"::-webkit-progress-inner-element\",\n \"browsers\": [\n \"E79\",\n \"S6.1\",\n \"C23\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-inner-element\"\n }\n ]\n },\n {\n \"name\": \"::-webkit-progress-value\",\n \"browsers\": [\n \"E79\",\n \"S6.1\",\n \"C25\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-value\"\n }\n ]\n },\n {\n \"name\": \"::-webkit-resizer\",\n \"browsers\": [\n \"E79\",\n \"S4\",\n \"C2\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar\"\n }\n ]\n },\n {\n \"name\": \"::-webkit-scrollbar\",\n \"browsers\": [\n \"E79\",\n \"S4\",\n \"C2\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar\"\n }\n ]\n },\n {\n \"name\": \"::-webkit-scrollbar-button\",\n \"browsers\": [\n \"E79\",\n \"S4\",\n \"C2\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar\"\n }\n ]\n },\n {\n \"name\": \"::-webkit-scrollbar-corner\",\n \"browsers\": [\n \"E79\",\n \"S4\",\n \"C2\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar\"\n }\n ]\n },\n {\n \"name\": \"::-webkit-scrollbar-thumb\",\n \"browsers\": [\n \"E79\",\n \"S4\",\n \"C2\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar\"\n }\n ]\n },\n {\n \"name\": \"::-webkit-scrollbar-track\",\n \"browsers\": [\n \"E79\",\n \"S4\",\n \"C2\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar\"\n }\n ]\n },\n {\n \"name\": \"::-webkit-scrollbar-track-piece\",\n \"browsers\": [\n \"E79\",\n \"S4\",\n \"C2\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar\"\n }\n ]\n },\n {\n \"name\": \"::-webkit-search-cancel-button\",\n \"browsers\": [\n \"E79\",\n \"S3\",\n \"C1\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-webkit-search-cancel-button\"\n }\n ]\n },\n {\n \"name\": \"::-webkit-search-decoration\",\n \"browsers\": [\n \"C\",\n \"S4\"\n ]\n },\n {\n \"name\": \"::-webkit-search-results-button\",\n \"browsers\": [\n \"E79\",\n \"S3\",\n \"C1\",\n \"O15\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-webkit-search-results-button\"\n }\n ]\n },\n {\n \"name\": \"::-webkit-search-results-decoration\",\n \"browsers\": [\n \"C\",\n \"S4\"\n ]\n },\n {\n \"name\": \"::-webkit-slider-runnable-track\",\n \"browsers\": [\n \"C\",\n \"O\",\n \"S6\"\n ]\n },\n {\n \"name\": \"::-webkit-slider-thumb\",\n \"browsers\": [\n \"C\",\n \"O\",\n \"S6\"\n ]\n },\n {\n \"name\": \"::-webkit-textfield-decoration-container\",\n \"browsers\": [\n \"C\",\n \"O\",\n \"S6\"\n ]\n },\n {\n \"name\": \"::-webkit-validation-bubble\",\n \"browsers\": [\n \"C\",\n \"O\",\n \"S6\"\n ]\n },\n {\n \"name\": \"::-webkit-validation-bubble-arrow\",\n \"browsers\": [\n \"C\",\n \"O\",\n \"S6\"\n ]\n },\n {\n \"name\": \"::-webkit-validation-bubble-arrow-clipper\",\n \"browsers\": [\n \"C\",\n \"O\",\n \"S6\"\n ]\n },\n {\n \"name\": \"::-webkit-validation-bubble-heading\",\n \"browsers\": [\n \"C\",\n \"O\",\n \"S6\"\n ]\n },\n {\n \"name\": \"::-webkit-validation-bubble-message\",\n \"browsers\": [\n \"C\",\n \"O\",\n \"S6\"\n ]\n },\n {\n \"name\": \"::-webkit-validation-bubble-text-block\",\n \"browsers\": [\n \"C\",\n \"O\",\n \"S6\"\n ]\n },\n {\n \"name\": \"::-moz-range-progress\",\n \"status\": \"nonstandard\",\n \"browsers\": [\n \"FF22\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-moz-range-progress\"\n }\n ],\n \"description\": \"The ::-moz-range-progress CSS pseudo-element is a Mozilla extension that represents the lower portion of the track (i.e., groove) in which the indicator slides in an <input> of type=\\\"range\\\". This portion corresponds to values lower than the value currently selected by the thumb (i.e., virtual knob).\"\n },\n {\n \"name\": \"::-moz-range-thumb\",\n \"status\": \"nonstandard\",\n \"browsers\": [\n \"FF21\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-moz-range-thumb\"\n }\n ],\n \"description\": \"The ::-moz-range-thumb CSS pseudo-element is a Mozilla extension that represents the thumb (i.e., virtual knob) of an <input> of type=\\\"range\\\". The user can move the thumb along the input's track to alter its numerical value.\"\n },\n {\n \"name\": \"::-moz-range-track\",\n \"status\": \"nonstandard\",\n \"browsers\": [\n \"FF21\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::-moz-range-track\"\n }\n ],\n \"description\": \"The ::-moz-range-track CSS pseudo-element is a Mozilla extension that represents the track (i.e., groove) in which the indicator slides in an <input> of type=\\\"range\\\".\"\n },\n {\n \"name\": \"::-webkit-progress-inner-value\",\n \"status\": \"nonstandard\",\n \"description\": \"The ::-webkit-progress-value CSS pseudo-element represents the filled-in portion of the bar of a <progress> element. It is a child of the ::-webkit-progress-bar pseudo-element.\\n\\nIn order to let ::-webkit-progress-value take effect, -webkit-appearance needs to be set to none on the <progress> element.\"\n },\n {\n \"name\": \"::grammar-error\",\n \"status\": \"experimental\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::grammar-error\"\n }\n ],\n \"description\": \"The ::grammar-error CSS pseudo-element represents a text segment which the user agent has flagged as grammatically incorrect.\"\n },\n {\n \"name\": \"::marker\",\n \"browsers\": [\n \"E86\",\n \"FF68\",\n \"S11.1\",\n \"C86\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::marker\"\n }\n ],\n \"description\": \"The ::marker CSS pseudo-element selects the marker box of a list item, which typically contains a bullet or number. It works on any element or pseudo-element set to display: list-item, such as the <li> and <summary> elements.\"\n },\n {\n \"name\": \"::part\",\n \"status\": \"experimental\",\n \"browsers\": [\n \"E79\",\n \"FF72\",\n \"S13.1\",\n \"C73\",\n \"O60\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::part\"\n }\n ],\n \"description\": \"The ::part CSS pseudo-element represents any element within a shadow tree that has a matching part attribute.\"\n },\n {\n \"name\": \"::placeholder\",\n \"browsers\": [\n \"E12\",\n \"FF51\",\n \"S10.1\",\n \"C57\",\n \"O44\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::placeholder\"\n }\n ],\n \"description\": \"The ::placeholder CSS pseudo-element represents the placeholder text of a form element.\"\n },\n {\n \"name\": \"::slotted\",\n \"browsers\": [\n \"E79\",\n \"FF63\",\n \"S10\",\n \"C50\",\n \"O37\"\n ],\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::slotted\"\n }\n ],\n \"description\": \"The :slotted() CSS pseudo-element represents any element that has been placed into a slot inside an HTML template.\"\n },\n {\n \"name\": \"::spelling-error\",\n \"status\": \"experimental\",\n \"references\": [\n {\n \"name\": \"MDN Reference\",\n \"url\": \"https://developer.mozilla.org/docs/Web/CSS/::spelling-error\"\n }\n ],\n \"description\": \"The ::spelling-error CSS pseudo-element represents a text segment which the user agent has flagged as incorrectly spelled.\"\n }\n ]\n};\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/data/webCustomData.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/builtinData.js":
|
||
/*!**********************************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/builtinData.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 */ \"positionKeywords\": () => (/* binding */ positionKeywords),\n/* harmony export */ \"repeatStyleKeywords\": () => (/* binding */ repeatStyleKeywords),\n/* harmony export */ \"lineStyleKeywords\": () => (/* binding */ lineStyleKeywords),\n/* harmony export */ \"lineWidthKeywords\": () => (/* binding */ lineWidthKeywords),\n/* harmony export */ \"boxKeywords\": () => (/* binding */ boxKeywords),\n/* harmony export */ \"geometryBoxKeywords\": () => (/* binding */ geometryBoxKeywords),\n/* harmony export */ \"cssWideKeywords\": () => (/* binding */ cssWideKeywords),\n/* harmony export */ \"imageFunctions\": () => (/* binding */ imageFunctions),\n/* harmony export */ \"transitionTimingFunctions\": () => (/* binding */ transitionTimingFunctions),\n/* harmony export */ \"basicShapeFunctions\": () => (/* binding */ basicShapeFunctions),\n/* harmony export */ \"units\": () => (/* binding */ units),\n/* harmony export */ \"html5Tags\": () => (/* binding */ html5Tags),\n/* harmony export */ \"svgElements\": () => (/* binding */ svgElements),\n/* harmony export */ \"pageBoxDirectives\": () => (/* binding */ pageBoxDirectives)\n/* harmony export */ });\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\nvar positionKeywords = {\n 'bottom': 'Computes to ‘100%’ for the vertical position if one or two values are given, otherwise specifies the bottom edge as the origin for the next offset.',\n 'center': 'Computes to ‘50%’ (‘left 50%’) for the horizontal position if the horizontal position is not otherwise specified, or ‘50%’ (‘top 50%’) for the vertical position if it is.',\n 'left': 'Computes to ‘0%’ for the horizontal position if one or two values are given, otherwise specifies the left edge as the origin for the next offset.',\n 'right': 'Computes to ‘100%’ for the horizontal position if one or two values are given, otherwise specifies the right edge as the origin for the next offset.',\n 'top': 'Computes to ‘0%’ for the vertical position if one or two values are given, otherwise specifies the top edge as the origin for the next offset.'\n};\nvar repeatStyleKeywords = {\n 'no-repeat': 'Placed once and not repeated in this direction.',\n 'repeat': 'Repeated in this direction as often as needed to cover the background painting area.',\n 'repeat-x': 'Computes to ‘repeat no-repeat’.',\n 'repeat-y': 'Computes to ‘no-repeat repeat’.',\n 'round': 'Repeated as often as will fit within the background positioning area. If it doesn’t fit a whole number of times, it is rescaled so that it does.',\n 'space': 'Repeated as often as will fit within the background positioning area without being clipped and then the images are spaced out to fill the area.'\n};\nvar lineStyleKeywords = {\n 'dashed': 'A series of square-ended dashes.',\n 'dotted': 'A series of round dots.',\n 'double': 'Two parallel solid lines with some space between them.',\n 'groove': 'Looks as if it were carved in the canvas.',\n 'hidden': 'Same as ‘none’, but has different behavior in the border conflict resolution rules for border-collapsed tables.',\n 'inset': 'Looks as if the content on the inside of the border is sunken into the canvas.',\n 'none': 'No border. Color and width are ignored.',\n 'outset': 'Looks as if the content on the inside of the border is coming out of the canvas.',\n 'ridge': 'Looks as if it were coming out of the canvas.',\n 'solid': 'A single line segment.'\n};\nvar lineWidthKeywords = ['medium', 'thick', 'thin'];\nvar boxKeywords = {\n 'border-box': 'The background is painted within (clipped to) the border box.',\n 'content-box': 'The background is painted within (clipped to) the content box.',\n 'padding-box': 'The background is painted within (clipped to) the padding box.'\n};\nvar geometryBoxKeywords = {\n 'margin-box': 'Uses the margin box as reference box.',\n 'fill-box': 'Uses the object bounding box as reference box.',\n 'stroke-box': 'Uses the stroke bounding box as reference box.',\n 'view-box': 'Uses the nearest SVG viewport as reference box.'\n};\nvar cssWideKeywords = {\n 'initial': 'Represents the value specified as the property’s initial value.',\n 'inherit': 'Represents the computed value of the property on the element’s parent.',\n 'unset': 'Acts as either `inherit` or `initial`, depending on whether the property is inherited or not.'\n};\nvar imageFunctions = {\n 'url()': 'Reference an image file by URL',\n 'image()': 'Provide image fallbacks and annotations.',\n '-webkit-image-set()': 'Provide multiple resolutions. Remember to use unprefixed image-set() in addition.',\n 'image-set()': 'Provide multiple resolutions of an image and const the UA decide which is most appropriate in a given situation.',\n '-moz-element()': 'Use an element in the document as an image. Remember to use unprefixed element() in addition.',\n 'element()': 'Use an element in the document as an image.',\n 'cross-fade()': 'Indicates the two images to be combined and how far along in the transition the combination is.',\n '-webkit-gradient()': 'Deprecated. Use modern linear-gradient() or radial-gradient() instead.',\n '-webkit-linear-gradient()': 'Linear gradient. Remember to use unprefixed version in addition.',\n '-moz-linear-gradient()': 'Linear gradient. Remember to use unprefixed version in addition.',\n '-o-linear-gradient()': 'Linear gradient. Remember to use unprefixed version in addition.',\n 'linear-gradient()': 'A linear gradient is created by specifying a straight gradient line, and then several colors placed along that line.',\n '-webkit-repeating-linear-gradient()': 'Repeating Linear gradient. Remember to use unprefixed version in addition.',\n '-moz-repeating-linear-gradient()': 'Repeating Linear gradient. Remember to use unprefixed version in addition.',\n '-o-repeating-linear-gradient()': 'Repeating Linear gradient. Remember to use unprefixed version in addition.',\n 'repeating-linear-gradient()': 'Same as linear-gradient, except the color-stops are repeated infinitely in both directions, with their positions shifted by multiples of the difference between the last specified color-stop’s position and the first specified color-stop’s position.',\n '-webkit-radial-gradient()': 'Radial gradient. Remember to use unprefixed version in addition.',\n '-moz-radial-gradient()': 'Radial gradient. Remember to use unprefixed version in addition.',\n 'radial-gradient()': 'Colors emerge from a single point and smoothly spread outward in a circular or elliptical shape.',\n '-webkit-repeating-radial-gradient()': 'Repeating radial gradient. Remember to use unprefixed version in addition.',\n '-moz-repeating-radial-gradient()': 'Repeating radial gradient. Remember to use unprefixed version in addition.',\n 'repeating-radial-gradient()': 'Same as radial-gradient, except the color-stops are repeated infinitely in both directions, with their positions shifted by multiples of the difference between the last specified color-stop’s position and the first specified color-stop’s position.'\n};\nvar transitionTimingFunctions = {\n 'ease': 'Equivalent to cubic-bezier(0.25, 0.1, 0.25, 1.0).',\n 'ease-in': 'Equivalent to cubic-bezier(0.42, 0, 1.0, 1.0).',\n 'ease-in-out': 'Equivalent to cubic-bezier(0.42, 0, 0.58, 1.0).',\n 'ease-out': 'Equivalent to cubic-bezier(0, 0, 0.58, 1.0).',\n 'linear': 'Equivalent to cubic-bezier(0.0, 0.0, 1.0, 1.0).',\n 'step-end': 'Equivalent to steps(1, end).',\n 'step-start': 'Equivalent to steps(1, start).',\n 'steps()': 'The first parameter specifies the number of intervals in the function. The second parameter, which is optional, is either the value “start” or “end”.',\n 'cubic-bezier()': 'Specifies a cubic-bezier curve. The four values specify points P1 and P2 of the curve as (x1, y1, x2, y2).',\n 'cubic-bezier(0.6, -0.28, 0.735, 0.045)': 'Ease-in Back. Overshoots.',\n 'cubic-bezier(0.68, -0.55, 0.265, 1.55)': 'Ease-in-out Back. Overshoots.',\n 'cubic-bezier(0.175, 0.885, 0.32, 1.275)': 'Ease-out Back. Overshoots.',\n 'cubic-bezier(0.6, 0.04, 0.98, 0.335)': 'Ease-in Circular. Based on half circle.',\n 'cubic-bezier(0.785, 0.135, 0.15, 0.86)': 'Ease-in-out Circular. Based on half circle.',\n 'cubic-bezier(0.075, 0.82, 0.165, 1)': 'Ease-out Circular. Based on half circle.',\n 'cubic-bezier(0.55, 0.055, 0.675, 0.19)': 'Ease-in Cubic. Based on power of three.',\n 'cubic-bezier(0.645, 0.045, 0.355, 1)': 'Ease-in-out Cubic. Based on power of three.',\n 'cubic-bezier(0.215, 0.610, 0.355, 1)': 'Ease-out Cubic. Based on power of three.',\n 'cubic-bezier(0.95, 0.05, 0.795, 0.035)': 'Ease-in Exponential. Based on two to the power ten.',\n 'cubic-bezier(1, 0, 0, 1)': 'Ease-in-out Exponential. Based on two to the power ten.',\n 'cubic-bezier(0.19, 1, 0.22, 1)': 'Ease-out Exponential. Based on two to the power ten.',\n 'cubic-bezier(0.47, 0, 0.745, 0.715)': 'Ease-in Sine.',\n 'cubic-bezier(0.445, 0.05, 0.55, 0.95)': 'Ease-in-out Sine.',\n 'cubic-bezier(0.39, 0.575, 0.565, 1)': 'Ease-out Sine.',\n 'cubic-bezier(0.55, 0.085, 0.68, 0.53)': 'Ease-in Quadratic. Based on power of two.',\n 'cubic-bezier(0.455, 0.03, 0.515, 0.955)': 'Ease-in-out Quadratic. Based on power of two.',\n 'cubic-bezier(0.25, 0.46, 0.45, 0.94)': 'Ease-out Quadratic. Based on power of two.',\n 'cubic-bezier(0.895, 0.03, 0.685, 0.22)': 'Ease-in Quartic. Based on power of four.',\n 'cubic-bezier(0.77, 0, 0.175, 1)': 'Ease-in-out Quartic. Based on power of four.',\n 'cubic-bezier(0.165, 0.84, 0.44, 1)': 'Ease-out Quartic. Based on power of four.',\n 'cubic-bezier(0.755, 0.05, 0.855, 0.06)': 'Ease-in Quintic. Based on power of five.',\n 'cubic-bezier(0.86, 0, 0.07, 1)': 'Ease-in-out Quintic. Based on power of five.',\n 'cubic-bezier(0.23, 1, 0.320, 1)': 'Ease-out Quintic. Based on power of five.'\n};\nvar basicShapeFunctions = {\n 'circle()': 'Defines a circle.',\n 'ellipse()': 'Defines an ellipse.',\n 'inset()': 'Defines an inset rectangle.',\n 'polygon()': 'Defines a polygon.'\n};\nvar units = {\n 'length': ['em', 'rem', 'ex', 'px', 'cm', 'mm', 'in', 'pt', 'pc', 'ch', 'vw', 'vh', 'vmin', 'vmax'],\n 'angle': ['deg', 'rad', 'grad', 'turn'],\n 'time': ['ms', 's'],\n 'frequency': ['Hz', 'kHz'],\n 'resolution': ['dpi', 'dpcm', 'dppx'],\n 'percentage': ['%', 'fr']\n};\nvar html5Tags = ['a', 'abbr', 'address', 'area', 'article', 'aside', 'audio', 'b', 'base', 'bdi', 'bdo', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption',\n 'cite', 'code', 'col', 'colgroup', 'data', 'datalist', 'dd', 'del', 'details', 'dfn', 'dialog', 'div', 'dl', 'dt', 'em', 'embed', 'fieldset', 'figcaption', 'figure', 'footer',\n 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'iframe', 'img', 'input', 'ins', 'kbd', 'keygen', 'label', 'legend', 'li', 'link',\n 'main', 'map', 'mark', 'menu', 'menuitem', 'meta', 'meter', 'nav', 'noscript', 'object', 'ol', 'optgroup', 'option', 'output', 'p', 'param', 'picture', 'pre', 'progress', 'q',\n 'rb', 'rp', 'rt', 'rtc', 'ruby', 's', 'samp', 'script', 'section', 'select', 'small', 'source', 'span', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td',\n 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'title', 'tr', 'track', 'u', 'ul', 'const', 'video', 'wbr'];\nvar svgElements = ['circle', 'clipPath', 'cursor', 'defs', 'desc', 'ellipse', 'feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting',\n 'feDisplacementMap', 'feDistantLight', 'feDropShadow', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology',\n 'feOffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence', 'filter', 'foreignObject', 'g', 'hatch', 'hatchpath', 'image', 'line', 'linearGradient',\n 'marker', 'mask', 'mesh', 'meshpatch', 'meshrow', 'metadata', 'mpath', 'path', 'pattern', 'polygon', 'polyline', 'radialGradient', 'rect', 'set', 'solidcolor', 'stop', 'svg', 'switch',\n 'symbol', 'text', 'textPath', 'tspan', 'use', 'view'];\nvar pageBoxDirectives = [\n '@bottom-center', '@bottom-left', '@bottom-left-corner', '@bottom-right', '@bottom-right-corner',\n '@left-bottom', '@left-middle', '@left-top', '@right-bottom', '@right-middle', '@right-top',\n '@top-center', '@top-left', '@top-left-corner', '@top-right', '@top-right-corner'\n];\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/builtinData.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/colors.js":
|
||
/*!*****************************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/colors.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 */ \"colorFunctions\": () => (/* binding */ colorFunctions),\n/* harmony export */ \"colors\": () => (/* binding */ colors),\n/* harmony export */ \"colorKeywords\": () => (/* binding */ colorKeywords),\n/* harmony export */ \"isColorConstructor\": () => (/* binding */ isColorConstructor),\n/* harmony export */ \"isColorValue\": () => (/* binding */ isColorValue),\n/* harmony export */ \"hexDigit\": () => (/* binding */ hexDigit),\n/* harmony export */ \"colorFromHex\": () => (/* binding */ colorFromHex),\n/* harmony export */ \"colorFrom256RGB\": () => (/* binding */ colorFrom256RGB),\n/* harmony export */ \"colorFromHSL\": () => (/* binding */ colorFromHSL),\n/* harmony export */ \"hslFromColor\": () => (/* binding */ hslFromColor),\n/* harmony export */ \"getColorValue\": () => (/* binding */ getColorValue)\n/* harmony export */ });\n/* harmony import */ var _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../parser/cssNodes.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssNodes.js\");\n/* harmony import */ var _fillers_vscode_nls_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../../../fillers/vscode-nls.js */ \"./node_modules/monaco-editor/esm/vs/language/css/fillers/vscode-nls.js\");\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\nvar localize = _fillers_vscode_nls_js__WEBPACK_IMPORTED_MODULE_1__.loadMessageBundle();\nvar colorFunctions = [\n { func: 'rgb($red, $green, $blue)', desc: localize('css.builtin.rgb', 'Creates a Color from red, green, and blue values.') },\n { func: 'rgba($red, $green, $blue, $alpha)', desc: localize('css.builtin.rgba', 'Creates a Color from red, green, blue, and alpha values.') },\n { func: 'hsl($hue, $saturation, $lightness)', desc: localize('css.builtin.hsl', 'Creates a Color from hue, saturation, and lightness values.') },\n { func: 'hsla($hue, $saturation, $lightness, $alpha)', desc: localize('css.builtin.hsla', 'Creates a Color from hue, saturation, lightness, and alpha values.') }\n];\nvar colors = {\n aliceblue: '#f0f8ff',\n antiquewhite: '#faebd7',\n aqua: '#00ffff',\n aquamarine: '#7fffd4',\n azure: '#f0ffff',\n beige: '#f5f5dc',\n bisque: '#ffe4c4',\n black: '#000000',\n blanchedalmond: '#ffebcd',\n blue: '#0000ff',\n blueviolet: '#8a2be2',\n brown: '#a52a2a',\n burlywood: '#deb887',\n cadetblue: '#5f9ea0',\n chartreuse: '#7fff00',\n chocolate: '#d2691e',\n coral: '#ff7f50',\n cornflowerblue: '#6495ed',\n cornsilk: '#fff8dc',\n crimson: '#dc143c',\n cyan: '#00ffff',\n darkblue: '#00008b',\n darkcyan: '#008b8b',\n darkgoldenrod: '#b8860b',\n darkgray: '#a9a9a9',\n darkgrey: '#a9a9a9',\n darkgreen: '#006400',\n darkkhaki: '#bdb76b',\n darkmagenta: '#8b008b',\n darkolivegreen: '#556b2f',\n darkorange: '#ff8c00',\n darkorchid: '#9932cc',\n darkred: '#8b0000',\n darksalmon: '#e9967a',\n darkseagreen: '#8fbc8f',\n darkslateblue: '#483d8b',\n darkslategray: '#2f4f4f',\n darkslategrey: '#2f4f4f',\n darkturquoise: '#00ced1',\n darkviolet: '#9400d3',\n deeppink: '#ff1493',\n deepskyblue: '#00bfff',\n dimgray: '#696969',\n dimgrey: '#696969',\n dodgerblue: '#1e90ff',\n firebrick: '#b22222',\n floralwhite: '#fffaf0',\n forestgreen: '#228b22',\n fuchsia: '#ff00ff',\n gainsboro: '#dcdcdc',\n ghostwhite: '#f8f8ff',\n gold: '#ffd700',\n goldenrod: '#daa520',\n gray: '#808080',\n grey: '#808080',\n green: '#008000',\n greenyellow: '#adff2f',\n honeydew: '#f0fff0',\n hotpink: '#ff69b4',\n indianred: '#cd5c5c',\n indigo: '#4b0082',\n ivory: '#fffff0',\n khaki: '#f0e68c',\n lavender: '#e6e6fa',\n lavenderblush: '#fff0f5',\n lawngreen: '#7cfc00',\n lemonchiffon: '#fffacd',\n lightblue: '#add8e6',\n lightcoral: '#f08080',\n lightcyan: '#e0ffff',\n lightgoldenrodyellow: '#fafad2',\n lightgray: '#d3d3d3',\n lightgrey: '#d3d3d3',\n lightgreen: '#90ee90',\n lightpink: '#ffb6c1',\n lightsalmon: '#ffa07a',\n lightseagreen: '#20b2aa',\n lightskyblue: '#87cefa',\n lightslategray: '#778899',\n lightslategrey: '#778899',\n lightsteelblue: '#b0c4de',\n lightyellow: '#ffffe0',\n lime: '#00ff00',\n limegreen: '#32cd32',\n linen: '#faf0e6',\n magenta: '#ff00ff',\n maroon: '#800000',\n mediumaquamarine: '#66cdaa',\n mediumblue: '#0000cd',\n mediumorchid: '#ba55d3',\n mediumpurple: '#9370d8',\n mediumseagreen: '#3cb371',\n mediumslateblue: '#7b68ee',\n mediumspringgreen: '#00fa9a',\n mediumturquoise: '#48d1cc',\n mediumvioletred: '#c71585',\n midnightblue: '#191970',\n mintcream: '#f5fffa',\n mistyrose: '#ffe4e1',\n moccasin: '#ffe4b5',\n navajowhite: '#ffdead',\n navy: '#000080',\n oldlace: '#fdf5e6',\n olive: '#808000',\n olivedrab: '#6b8e23',\n orange: '#ffa500',\n orangered: '#ff4500',\n orchid: '#da70d6',\n palegoldenrod: '#eee8aa',\n palegreen: '#98fb98',\n paleturquoise: '#afeeee',\n palevioletred: '#d87093',\n papayawhip: '#ffefd5',\n peachpuff: '#ffdab9',\n peru: '#cd853f',\n pink: '#ffc0cb',\n plum: '#dda0dd',\n powderblue: '#b0e0e6',\n purple: '#800080',\n red: '#ff0000',\n rebeccapurple: '#663399',\n rosybrown: '#bc8f8f',\n royalblue: '#4169e1',\n saddlebrown: '#8b4513',\n salmon: '#fa8072',\n sandybrown: '#f4a460',\n seagreen: '#2e8b57',\n seashell: '#fff5ee',\n sienna: '#a0522d',\n silver: '#c0c0c0',\n skyblue: '#87ceeb',\n slateblue: '#6a5acd',\n slategray: '#708090',\n slategrey: '#708090',\n snow: '#fffafa',\n springgreen: '#00ff7f',\n steelblue: '#4682b4',\n tan: '#d2b48c',\n teal: '#008080',\n thistle: '#d8bfd8',\n tomato: '#ff6347',\n turquoise: '#40e0d0',\n violet: '#ee82ee',\n wheat: '#f5deb3',\n white: '#ffffff',\n whitesmoke: '#f5f5f5',\n yellow: '#ffff00',\n yellowgreen: '#9acd32'\n};\nvar colorKeywords = {\n 'currentColor': 'The value of the \\'color\\' property. The computed value of the \\'currentColor\\' keyword is the computed value of the \\'color\\' property. If the \\'currentColor\\' keyword is set on the \\'color\\' property itself, it is treated as \\'color:inherit\\' at parse time.',\n 'transparent': 'Fully transparent. This keyword can be considered a shorthand for rgba(0,0,0,0) which is its computed value.',\n};\nfunction getNumericValue(node, factor) {\n var val = node.getText();\n var m = val.match(/^([-+]?[0-9]*\\.?[0-9]+)(%?)$/);\n if (m) {\n if (m[2]) {\n factor = 100.0;\n }\n var result = parseFloat(m[1]) / factor;\n if (result >= 0 && result <= 1) {\n return result;\n }\n }\n throw new Error();\n}\nfunction getAngle(node) {\n var val = node.getText();\n var m = val.match(/^([-+]?[0-9]*\\.?[0-9]+)(deg)?$/);\n if (m) {\n return parseFloat(val) % 360;\n }\n throw new Error();\n}\nfunction isColorConstructor(node) {\n var name = node.getName();\n if (!name) {\n return false;\n }\n return /^(rgb|rgba|hsl|hsla)$/gi.test(name);\n}\n/**\n * Returns true if the node is a color value - either\n * defined a hex number, as rgb or rgba function, or\n * as color name.\n */\nfunction isColorValue(node) {\n if (node.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.HexColorValue) {\n return true;\n }\n else if (node.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Function) {\n return isColorConstructor(node);\n }\n else if (node.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Identifier) {\n if (node.parent && node.parent.type !== _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Term) {\n return false;\n }\n var candidateColor = node.getText().toLowerCase();\n if (candidateColor === 'none') {\n return false;\n }\n if (colors[candidateColor]) {\n return true;\n }\n }\n return false;\n}\nvar Digit0 = 48;\nvar Digit9 = 57;\nvar A = 65;\nvar F = 70;\nvar a = 97;\nvar f = 102;\nfunction hexDigit(charCode) {\n if (charCode < Digit0) {\n return 0;\n }\n if (charCode <= Digit9) {\n return charCode - Digit0;\n }\n if (charCode < a) {\n charCode += (a - A);\n }\n if (charCode >= a && charCode <= f) {\n return charCode - a + 10;\n }\n return 0;\n}\nfunction colorFromHex(text) {\n if (text[0] !== '#') {\n return null;\n }\n switch (text.length) {\n case 4:\n return {\n red: (hexDigit(text.charCodeAt(1)) * 0x11) / 255.0,\n green: (hexDigit(text.charCodeAt(2)) * 0x11) / 255.0,\n blue: (hexDigit(text.charCodeAt(3)) * 0x11) / 255.0,\n alpha: 1\n };\n case 5:\n return {\n red: (hexDigit(text.charCodeAt(1)) * 0x11) / 255.0,\n green: (hexDigit(text.charCodeAt(2)) * 0x11) / 255.0,\n blue: (hexDigit(text.charCodeAt(3)) * 0x11) / 255.0,\n alpha: (hexDigit(text.charCodeAt(4)) * 0x11) / 255.0,\n };\n case 7:\n return {\n red: (hexDigit(text.charCodeAt(1)) * 0x10 + hexDigit(text.charCodeAt(2))) / 255.0,\n green: (hexDigit(text.charCodeAt(3)) * 0x10 + hexDigit(text.charCodeAt(4))) / 255.0,\n blue: (hexDigit(text.charCodeAt(5)) * 0x10 + hexDigit(text.charCodeAt(6))) / 255.0,\n alpha: 1\n };\n case 9:\n return {\n red: (hexDigit(text.charCodeAt(1)) * 0x10 + hexDigit(text.charCodeAt(2))) / 255.0,\n green: (hexDigit(text.charCodeAt(3)) * 0x10 + hexDigit(text.charCodeAt(4))) / 255.0,\n blue: (hexDigit(text.charCodeAt(5)) * 0x10 + hexDigit(text.charCodeAt(6))) / 255.0,\n alpha: (hexDigit(text.charCodeAt(7)) * 0x10 + hexDigit(text.charCodeAt(8))) / 255.0\n };\n }\n return null;\n}\nfunction colorFrom256RGB(red, green, blue, alpha) {\n if (alpha === void 0) { alpha = 1.0; }\n return {\n red: red / 255.0,\n green: green / 255.0,\n blue: blue / 255.0,\n alpha: alpha\n };\n}\nfunction colorFromHSL(hue, sat, light, alpha) {\n if (alpha === void 0) { alpha = 1.0; }\n hue = hue / 60.0;\n if (sat === 0) {\n return { red: light, green: light, blue: light, alpha: alpha };\n }\n else {\n var hueToRgb = function (t1, t2, hue) {\n while (hue < 0) {\n hue += 6;\n }\n while (hue >= 6) {\n hue -= 6;\n }\n if (hue < 1) {\n return (t2 - t1) * hue + t1;\n }\n if (hue < 3) {\n return t2;\n }\n if (hue < 4) {\n return (t2 - t1) * (4 - hue) + t1;\n }\n return t1;\n };\n var t2 = light <= 0.5 ? (light * (sat + 1)) : (light + sat - (light * sat));\n var t1 = light * 2 - t2;\n return { red: hueToRgb(t1, t2, hue + 2), green: hueToRgb(t1, t2, hue), blue: hueToRgb(t1, t2, hue - 2), alpha: alpha };\n }\n}\nfunction hslFromColor(rgba) {\n var r = rgba.red;\n var g = rgba.green;\n var b = rgba.blue;\n var a = rgba.alpha;\n var max = Math.max(r, g, b);\n var min = Math.min(r, g, b);\n var h = 0;\n var s = 0;\n var l = (min + max) / 2;\n var chroma = max - min;\n if (chroma > 0) {\n s = Math.min((l <= 0.5 ? chroma / (2 * l) : chroma / (2 - (2 * l))), 1);\n switch (max) {\n case r:\n h = (g - b) / chroma + (g < b ? 6 : 0);\n break;\n case g:\n h = (b - r) / chroma + 2;\n break;\n case b:\n h = (r - g) / chroma + 4;\n break;\n }\n h *= 60;\n h = Math.round(h);\n }\n return { h: h, s: s, l: l, a: a };\n}\nfunction getColorValue(node) {\n if (node.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.HexColorValue) {\n var text = node.getText();\n return colorFromHex(text);\n }\n else if (node.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Function) {\n var functionNode = node;\n var name = functionNode.getName();\n var colorValues = functionNode.getArguments().getChildren();\n if (!name || colorValues.length < 3 || colorValues.length > 4) {\n return null;\n }\n try {\n var alpha = colorValues.length === 4 ? getNumericValue(colorValues[3], 1) : 1;\n if (name === 'rgb' || name === 'rgba') {\n return {\n red: getNumericValue(colorValues[0], 255.0),\n green: getNumericValue(colorValues[1], 255.0),\n blue: getNumericValue(colorValues[2], 255.0),\n alpha: alpha\n };\n }\n else if (name === 'hsl' || name === 'hsla') {\n var h = getAngle(colorValues[0]);\n var s = getNumericValue(colorValues[1], 100.0);\n var l = getNumericValue(colorValues[2], 100.0);\n return colorFromHSL(h, s, l, alpha);\n }\n }\n catch (e) {\n // parse error on numeric value\n return null;\n }\n }\n else if (node.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Identifier) {\n if (node.parent && node.parent.type !== _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Term) {\n return null;\n }\n var term = node.parent;\n if (term && term.parent && term.parent.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.BinaryExpression) {\n var expression = term.parent;\n if (expression.parent && expression.parent.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.ListEntry && expression.parent.key === expression) {\n return null;\n }\n }\n var candidateColor = node.getText().toLowerCase();\n if (candidateColor === 'none') {\n return null;\n }\n var colorHex = colors[candidateColor];\n if (colorHex) {\n return colorFromHex(colorHex);\n }\n }\n return null;\n}\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/colors.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/dataManager.js":
|
||
/*!**********************************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/dataManager.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 */ \"CSSDataManager\": () => (/* binding */ CSSDataManager)\n/* harmony export */ });\n/* harmony import */ var _utils_objects_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/objects.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/utils/objects.js\");\n/* harmony import */ var _data_webCustomData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../data/webCustomData.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/data/webCustomData.js\");\n/* harmony import */ var _dataProvider_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./dataProvider.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/dataProvider.js\");\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\n\n\nvar CSSDataManager = /** @class */ (function () {\n function CSSDataManager(options) {\n this.dataProviders = [];\n this._propertySet = {};\n this._atDirectiveSet = {};\n this._pseudoClassSet = {};\n this._pseudoElementSet = {};\n this._properties = [];\n this._atDirectives = [];\n this._pseudoClasses = [];\n this._pseudoElements = [];\n this.setDataProviders((options === null || options === void 0 ? void 0 : options.useDefaultDataProvider) !== false, (options === null || options === void 0 ? void 0 : options.customDataProviders) || []);\n }\n CSSDataManager.prototype.setDataProviders = function (builtIn, providers) {\n var _a;\n this.dataProviders = [];\n if (builtIn) {\n this.dataProviders.push(new _dataProvider_js__WEBPACK_IMPORTED_MODULE_2__.CSSDataProvider(_data_webCustomData_js__WEBPACK_IMPORTED_MODULE_1__.cssData));\n }\n (_a = this.dataProviders).push.apply(_a, providers);\n this.collectData();\n };\n /**\n * Collect all data & handle duplicates\n */\n CSSDataManager.prototype.collectData = function () {\n var _this = this;\n this._propertySet = {};\n this._atDirectiveSet = {};\n this._pseudoClassSet = {};\n this._pseudoElementSet = {};\n this.dataProviders.forEach(function (provider) {\n provider.provideProperties().forEach(function (p) {\n if (!_this._propertySet[p.name]) {\n _this._propertySet[p.name] = p;\n }\n });\n provider.provideAtDirectives().forEach(function (p) {\n if (!_this._atDirectiveSet[p.name]) {\n _this._atDirectiveSet[p.name] = p;\n }\n });\n provider.providePseudoClasses().forEach(function (p) {\n if (!_this._pseudoClassSet[p.name]) {\n _this._pseudoClassSet[p.name] = p;\n }\n });\n provider.providePseudoElements().forEach(function (p) {\n if (!_this._pseudoElementSet[p.name]) {\n _this._pseudoElementSet[p.name] = p;\n }\n });\n });\n this._properties = _utils_objects_js__WEBPACK_IMPORTED_MODULE_0__.values(this._propertySet);\n this._atDirectives = _utils_objects_js__WEBPACK_IMPORTED_MODULE_0__.values(this._atDirectiveSet);\n this._pseudoClasses = _utils_objects_js__WEBPACK_IMPORTED_MODULE_0__.values(this._pseudoClassSet);\n this._pseudoElements = _utils_objects_js__WEBPACK_IMPORTED_MODULE_0__.values(this._pseudoElementSet);\n };\n CSSDataManager.prototype.getProperty = function (name) { return this._propertySet[name]; };\n CSSDataManager.prototype.getAtDirective = function (name) { return this._atDirectiveSet[name]; };\n CSSDataManager.prototype.getPseudoClass = function (name) { return this._pseudoClassSet[name]; };\n CSSDataManager.prototype.getPseudoElement = function (name) { return this._pseudoElementSet[name]; };\n CSSDataManager.prototype.getProperties = function () {\n return this._properties;\n };\n CSSDataManager.prototype.getAtDirectives = function () {\n return this._atDirectives;\n };\n CSSDataManager.prototype.getPseudoClasses = function () {\n return this._pseudoClasses;\n };\n CSSDataManager.prototype.getPseudoElements = function () {\n return this._pseudoElements;\n };\n CSSDataManager.prototype.isKnownProperty = function (name) {\n return name.toLowerCase() in this._propertySet;\n };\n CSSDataManager.prototype.isStandardProperty = function (name) {\n return this.isKnownProperty(name) &&\n (!this._propertySet[name.toLowerCase()].status || this._propertySet[name.toLowerCase()].status === 'standard');\n };\n return CSSDataManager;\n}());\n\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/dataManager.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/dataProvider.js":
|
||
/*!***********************************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/dataProvider.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 */ \"CSSDataProvider\": () => (/* binding */ CSSDataProvider)\n/* harmony export */ });\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\nvar CSSDataProvider = /** @class */ (function () {\n /**\n * Currently, unversioned data uses the V1 implementation\n * In the future when the provider handles multiple versions of HTML custom data,\n * use the latest implementation for unversioned data\n */\n function CSSDataProvider(data) {\n this._properties = [];\n this._atDirectives = [];\n this._pseudoClasses = [];\n this._pseudoElements = [];\n this.addData(data);\n }\n CSSDataProvider.prototype.provideProperties = function () {\n return this._properties;\n };\n CSSDataProvider.prototype.provideAtDirectives = function () {\n return this._atDirectives;\n };\n CSSDataProvider.prototype.providePseudoClasses = function () {\n return this._pseudoClasses;\n };\n CSSDataProvider.prototype.providePseudoElements = function () {\n return this._pseudoElements;\n };\n CSSDataProvider.prototype.addData = function (data) {\n if (Array.isArray(data.properties)) {\n for (var _i = 0, _a = data.properties; _i < _a.length; _i++) {\n var prop = _a[_i];\n if (isPropertyData(prop)) {\n this._properties.push(prop);\n }\n }\n }\n if (Array.isArray(data.atDirectives)) {\n for (var _b = 0, _c = data.atDirectives; _b < _c.length; _b++) {\n var prop = _c[_b];\n if (isAtDirective(prop)) {\n this._atDirectives.push(prop);\n }\n }\n }\n if (Array.isArray(data.pseudoClasses)) {\n for (var _d = 0, _e = data.pseudoClasses; _d < _e.length; _d++) {\n var prop = _e[_d];\n if (isPseudoClassData(prop)) {\n this._pseudoClasses.push(prop);\n }\n }\n }\n if (Array.isArray(data.pseudoElements)) {\n for (var _f = 0, _g = data.pseudoElements; _f < _g.length; _f++) {\n var prop = _g[_f];\n if (isPseudoElementData(prop)) {\n this._pseudoElements.push(prop);\n }\n }\n }\n };\n return CSSDataProvider;\n}());\n\nfunction isPropertyData(d) {\n return typeof d.name === 'string';\n}\nfunction isAtDirective(d) {\n return typeof d.name === 'string';\n}\nfunction isPseudoClassData(d) {\n return typeof d.name === 'string';\n}\nfunction isPseudoElementData(d) {\n return typeof d.name === 'string';\n}\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/dataProvider.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/entry.js":
|
||
/*!****************************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/entry.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 */ \"browserNames\": () => (/* binding */ browserNames),\n/* harmony export */ \"getEntryDescription\": () => (/* binding */ getEntryDescription),\n/* harmony export */ \"textToMarkedString\": () => (/* binding */ textToMarkedString),\n/* harmony export */ \"getBrowserLabel\": () => (/* binding */ getBrowserLabel)\n/* harmony export */ });\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\nvar browserNames = {\n E: 'Edge',\n FF: 'Firefox',\n S: 'Safari',\n C: 'Chrome',\n IE: 'IE',\n O: 'Opera'\n};\nfunction getEntryStatus(status) {\n switch (status) {\n case 'experimental':\n return '⚠️ Property is experimental. Be cautious when using it.️\\n\\n';\n case 'nonstandard':\n return '🚨️ Property is nonstandard. Avoid using it.\\n\\n';\n case 'obsolete':\n return '🚨️️️ Property is obsolete. Avoid using it.\\n\\n';\n default:\n return '';\n }\n}\nfunction getEntryDescription(entry, doesSupportMarkdown, settings) {\n var result;\n if (doesSupportMarkdown) {\n result = {\n kind: 'markdown',\n value: getEntryMarkdownDescription(entry, settings)\n };\n }\n else {\n result = {\n kind: 'plaintext',\n value: getEntryStringDescription(entry, settings)\n };\n }\n if (result.value === '') {\n return undefined;\n }\n return result;\n}\nfunction textToMarkedString(text) {\n text = text.replace(/[\\\\`*_{}[\\]()#+\\-.!]/g, '\\\\$&'); // escape markdown syntax tokens: http://daringfireball.net/projects/markdown/syntax#backslash\n return text.replace(/</g, '<').replace(/>/g, '>');\n}\nfunction getEntryStringDescription(entry, settings) {\n if (!entry.description || entry.description === '') {\n return '';\n }\n if (typeof entry.description !== 'string') {\n return entry.description.value;\n }\n var result = '';\n if ((settings === null || settings === void 0 ? void 0 : settings.documentation) !== false) {\n if (entry.status) {\n result += getEntryStatus(entry.status);\n }\n result += entry.description;\n var browserLabel = getBrowserLabel(entry.browsers);\n if (browserLabel) {\n result += '\\n(' + browserLabel + ')';\n }\n if ('syntax' in entry) {\n result += \"\\n\\nSyntax: \" + entry.syntax;\n }\n }\n if (entry.references && entry.references.length > 0 && (settings === null || settings === void 0 ? void 0 : settings.references) !== false) {\n if (result.length > 0) {\n result += '\\n\\n';\n }\n result += entry.references.map(function (r) {\n return r.name + \": \" + r.url;\n }).join(' | ');\n }\n return result;\n}\nfunction getEntryMarkdownDescription(entry, settings) {\n if (!entry.description || entry.description === '') {\n return '';\n }\n var result = '';\n if ((settings === null || settings === void 0 ? void 0 : settings.documentation) !== false) {\n if (entry.status) {\n result += getEntryStatus(entry.status);\n }\n var description = typeof entry.description === 'string' ? entry.description : entry.description.value;\n result += textToMarkedString(description);\n var browserLabel = getBrowserLabel(entry.browsers);\n if (browserLabel) {\n result += '\\n\\n(' + textToMarkedString(browserLabel) + ')';\n }\n if ('syntax' in entry && entry.syntax) {\n result += \"\\n\\nSyntax: \" + textToMarkedString(entry.syntax);\n }\n }\n if (entry.references && entry.references.length > 0 && (settings === null || settings === void 0 ? void 0 : settings.references) !== false) {\n if (result.length > 0) {\n result += '\\n\\n';\n }\n result += entry.references.map(function (r) {\n return \"[\" + r.name + \"](\" + r.url + \")\";\n }).join(' | ');\n }\n return result;\n}\n/**\n * Input is like `[\"E12\",\"FF49\",\"C47\",\"IE\",\"O\"]`\n * Output is like `Edge 12, Firefox 49, Chrome 47, IE, Opera`\n */\nfunction getBrowserLabel(browsers) {\n if (browsers === void 0) { browsers = []; }\n if (browsers.length === 0) {\n return null;\n }\n return browsers\n .map(function (b) {\n var result = '';\n var matches = b.match(/([A-Z]+)(\\d+)?/);\n var name = matches[1];\n var version = matches[2];\n if (name in browserNames) {\n result += browserNames[name];\n }\n if (version) {\n result += ' ' + version;\n }\n return result;\n })\n .join(', ');\n}\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/entry.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/facts.js":
|
||
/*!****************************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/facts.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 */ \"browserNames\": () => (/* reexport safe */ _entry_js__WEBPACK_IMPORTED_MODULE_0__.browserNames),\n/* harmony export */ \"getBrowserLabel\": () => (/* reexport safe */ _entry_js__WEBPACK_IMPORTED_MODULE_0__.getBrowserLabel),\n/* harmony export */ \"getEntryDescription\": () => (/* reexport safe */ _entry_js__WEBPACK_IMPORTED_MODULE_0__.getEntryDescription),\n/* harmony export */ \"textToMarkedString\": () => (/* reexport safe */ _entry_js__WEBPACK_IMPORTED_MODULE_0__.textToMarkedString),\n/* harmony export */ \"colorFrom256RGB\": () => (/* reexport safe */ _colors_js__WEBPACK_IMPORTED_MODULE_1__.colorFrom256RGB),\n/* harmony export */ \"colorFromHSL\": () => (/* reexport safe */ _colors_js__WEBPACK_IMPORTED_MODULE_1__.colorFromHSL),\n/* harmony export */ \"colorFromHex\": () => (/* reexport safe */ _colors_js__WEBPACK_IMPORTED_MODULE_1__.colorFromHex),\n/* harmony export */ \"colorFunctions\": () => (/* reexport safe */ _colors_js__WEBPACK_IMPORTED_MODULE_1__.colorFunctions),\n/* harmony export */ \"colorKeywords\": () => (/* reexport safe */ _colors_js__WEBPACK_IMPORTED_MODULE_1__.colorKeywords),\n/* harmony export */ \"colors\": () => (/* reexport safe */ _colors_js__WEBPACK_IMPORTED_MODULE_1__.colors),\n/* harmony export */ \"getColorValue\": () => (/* reexport safe */ _colors_js__WEBPACK_IMPORTED_MODULE_1__.getColorValue),\n/* harmony export */ \"hexDigit\": () => (/* reexport safe */ _colors_js__WEBPACK_IMPORTED_MODULE_1__.hexDigit),\n/* harmony export */ \"hslFromColor\": () => (/* reexport safe */ _colors_js__WEBPACK_IMPORTED_MODULE_1__.hslFromColor),\n/* harmony export */ \"isColorConstructor\": () => (/* reexport safe */ _colors_js__WEBPACK_IMPORTED_MODULE_1__.isColorConstructor),\n/* harmony export */ \"isColorValue\": () => (/* reexport safe */ _colors_js__WEBPACK_IMPORTED_MODULE_1__.isColorValue),\n/* harmony export */ \"basicShapeFunctions\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.basicShapeFunctions),\n/* harmony export */ \"boxKeywords\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.boxKeywords),\n/* harmony export */ \"cssWideKeywords\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.cssWideKeywords),\n/* harmony export */ \"geometryBoxKeywords\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.geometryBoxKeywords),\n/* harmony export */ \"html5Tags\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.html5Tags),\n/* harmony export */ \"imageFunctions\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.imageFunctions),\n/* harmony export */ \"lineStyleKeywords\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.lineStyleKeywords),\n/* harmony export */ \"lineWidthKeywords\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.lineWidthKeywords),\n/* harmony export */ \"pageBoxDirectives\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.pageBoxDirectives),\n/* harmony export */ \"positionKeywords\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.positionKeywords),\n/* harmony export */ \"repeatStyleKeywords\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.repeatStyleKeywords),\n/* harmony export */ \"svgElements\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.svgElements),\n/* harmony export */ \"transitionTimingFunctions\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.transitionTimingFunctions),\n/* harmony export */ \"units\": () => (/* reexport safe */ _builtinData_js__WEBPACK_IMPORTED_MODULE_2__.units)\n/* harmony export */ });\n/* harmony import */ var _entry_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./entry.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/entry.js\");\n/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./colors.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/colors.js\");\n/* harmony import */ var _builtinData_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./builtinData.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/builtinData.js\");\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\n\n\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/facts.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssErrors.js":
|
||
/*!*************************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssErrors.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 */ \"CSSIssueType\": () => (/* binding */ CSSIssueType),\n/* harmony export */ \"ParseError\": () => (/* binding */ ParseError)\n/* harmony export */ });\n/* harmony import */ var _fillers_vscode_nls_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../../../fillers/vscode-nls.js */ \"./node_modules/monaco-editor/esm/vs/language/css/fillers/vscode-nls.js\");\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\nvar localize = _fillers_vscode_nls_js__WEBPACK_IMPORTED_MODULE_0__.loadMessageBundle();\nvar CSSIssueType = /** @class */ (function () {\n function CSSIssueType(id, message) {\n this.id = id;\n this.message = message;\n }\n return CSSIssueType;\n}());\n\nvar ParseError = {\n NumberExpected: new CSSIssueType('css-numberexpected', localize('expected.number', \"number expected\")),\n ConditionExpected: new CSSIssueType('css-conditionexpected', localize('expected.condt', \"condition expected\")),\n RuleOrSelectorExpected: new CSSIssueType('css-ruleorselectorexpected', localize('expected.ruleorselector', \"at-rule or selector expected\")),\n DotExpected: new CSSIssueType('css-dotexpected', localize('expected.dot', \"dot expected\")),\n ColonExpected: new CSSIssueType('css-colonexpected', localize('expected.colon', \"colon expected\")),\n SemiColonExpected: new CSSIssueType('css-semicolonexpected', localize('expected.semicolon', \"semi-colon expected\")),\n TermExpected: new CSSIssueType('css-termexpected', localize('expected.term', \"term expected\")),\n ExpressionExpected: new CSSIssueType('css-expressionexpected', localize('expected.expression', \"expression expected\")),\n OperatorExpected: new CSSIssueType('css-operatorexpected', localize('expected.operator', \"operator expected\")),\n IdentifierExpected: new CSSIssueType('css-identifierexpected', localize('expected.ident', \"identifier expected\")),\n PercentageExpected: new CSSIssueType('css-percentageexpected', localize('expected.percentage', \"percentage expected\")),\n URIOrStringExpected: new CSSIssueType('css-uriorstringexpected', localize('expected.uriorstring', \"uri or string expected\")),\n URIExpected: new CSSIssueType('css-uriexpected', localize('expected.uri', \"URI expected\")),\n VariableNameExpected: new CSSIssueType('css-varnameexpected', localize('expected.varname', \"variable name expected\")),\n VariableValueExpected: new CSSIssueType('css-varvalueexpected', localize('expected.varvalue', \"variable value expected\")),\n PropertyValueExpected: new CSSIssueType('css-propertyvalueexpected', localize('expected.propvalue', \"property value expected\")),\n LeftCurlyExpected: new CSSIssueType('css-lcurlyexpected', localize('expected.lcurly', \"{ expected\")),\n RightCurlyExpected: new CSSIssueType('css-rcurlyexpected', localize('expected.rcurly', \"} expected\")),\n LeftSquareBracketExpected: new CSSIssueType('css-rbracketexpected', localize('expected.lsquare', \"[ expected\")),\n RightSquareBracketExpected: new CSSIssueType('css-lbracketexpected', localize('expected.rsquare', \"] expected\")),\n LeftParenthesisExpected: new CSSIssueType('css-lparentexpected', localize('expected.lparen', \"( expected\")),\n RightParenthesisExpected: new CSSIssueType('css-rparentexpected', localize('expected.rparent', \") expected\")),\n CommaExpected: new CSSIssueType('css-commaexpected', localize('expected.comma', \"comma expected\")),\n PageDirectiveOrDeclarationExpected: new CSSIssueType('css-pagedirordeclexpected', localize('expected.pagedirordecl', \"page directive or declaraton expected\")),\n UnknownAtRule: new CSSIssueType('css-unknownatrule', localize('unknown.atrule', \"at-rule unknown\")),\n UnknownKeyword: new CSSIssueType('css-unknownkeyword', localize('unknown.keyword', \"unknown keyword\")),\n SelectorExpected: new CSSIssueType('css-selectorexpected', localize('expected.selector', \"selector expected\")),\n StringLiteralExpected: new CSSIssueType('css-stringliteralexpected', localize('expected.stringliteral', \"string literal expected\")),\n WhitespaceExpected: new CSSIssueType('css-whitespaceexpected', localize('expected.whitespace', \"whitespace expected\")),\n MediaQueryExpected: new CSSIssueType('css-mediaqueryexpected', localize('expected.mediaquery', \"media query expected\")),\n IdentifierOrWildcardExpected: new CSSIssueType('css-idorwildcardexpected', localize('expected.idorwildcard', \"identifier or wildcard expected\")),\n WildcardExpected: new CSSIssueType('css-wildcardexpected', localize('expected.wildcard', \"wildcard expected\")),\n IdentifierOrVariableExpected: new CSSIssueType('css-idorvarexpected', localize('expected.idorvar', \"identifier or variable expected\")),\n};\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssErrors.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssNodes.js":
|
||
/*!************************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssNodes.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 */ \"NodeType\": () => (/* binding */ NodeType),\n/* harmony export */ \"ReferenceType\": () => (/* binding */ ReferenceType),\n/* harmony export */ \"getNodeAtOffset\": () => (/* binding */ getNodeAtOffset),\n/* harmony export */ \"getNodePath\": () => (/* binding */ getNodePath),\n/* harmony export */ \"getParentDeclaration\": () => (/* binding */ getParentDeclaration),\n/* harmony export */ \"Node\": () => (/* binding */ Node),\n/* harmony export */ \"Nodelist\": () => (/* binding */ Nodelist),\n/* harmony export */ \"Identifier\": () => (/* binding */ Identifier),\n/* harmony export */ \"Stylesheet\": () => (/* binding */ Stylesheet),\n/* harmony export */ \"Declarations\": () => (/* binding */ Declarations),\n/* harmony export */ \"BodyDeclaration\": () => (/* binding */ BodyDeclaration),\n/* harmony export */ \"RuleSet\": () => (/* binding */ RuleSet),\n/* harmony export */ \"Selector\": () => (/* binding */ Selector),\n/* harmony export */ \"SimpleSelector\": () => (/* binding */ SimpleSelector),\n/* harmony export */ \"AtApplyRule\": () => (/* binding */ AtApplyRule),\n/* harmony export */ \"AbstractDeclaration\": () => (/* binding */ AbstractDeclaration),\n/* harmony export */ \"CustomPropertySet\": () => (/* binding */ CustomPropertySet),\n/* harmony export */ \"Declaration\": () => (/* binding */ Declaration),\n/* harmony export */ \"CustomPropertyDeclaration\": () => (/* binding */ CustomPropertyDeclaration),\n/* harmony export */ \"Property\": () => (/* binding */ Property),\n/* harmony export */ \"Invocation\": () => (/* binding */ Invocation),\n/* harmony export */ \"Function\": () => (/* binding */ Function),\n/* harmony export */ \"FunctionParameter\": () => (/* binding */ FunctionParameter),\n/* harmony export */ \"FunctionArgument\": () => (/* binding */ FunctionArgument),\n/* harmony export */ \"IfStatement\": () => (/* binding */ IfStatement),\n/* harmony export */ \"ForStatement\": () => (/* binding */ ForStatement),\n/* harmony export */ \"EachStatement\": () => (/* binding */ EachStatement),\n/* harmony export */ \"WhileStatement\": () => (/* binding */ WhileStatement),\n/* harmony export */ \"ElseStatement\": () => (/* binding */ ElseStatement),\n/* harmony export */ \"FunctionDeclaration\": () => (/* binding */ FunctionDeclaration),\n/* harmony export */ \"ViewPort\": () => (/* binding */ ViewPort),\n/* harmony export */ \"FontFace\": () => (/* binding */ FontFace),\n/* harmony export */ \"NestedProperties\": () => (/* binding */ NestedProperties),\n/* harmony export */ \"Keyframe\": () => (/* binding */ Keyframe),\n/* harmony export */ \"KeyframeSelector\": () => (/* binding */ KeyframeSelector),\n/* harmony export */ \"Import\": () => (/* binding */ Import),\n/* harmony export */ \"Use\": () => (/* binding */ Use),\n/* harmony export */ \"ModuleConfiguration\": () => (/* binding */ ModuleConfiguration),\n/* harmony export */ \"Forward\": () => (/* binding */ Forward),\n/* harmony export */ \"ForwardVisibility\": () => (/* binding */ ForwardVisibility),\n/* harmony export */ \"Namespace\": () => (/* binding */ Namespace),\n/* harmony export */ \"Media\": () => (/* binding */ Media),\n/* harmony export */ \"Supports\": () => (/* binding */ Supports),\n/* harmony export */ \"Document\": () => (/* binding */ Document),\n/* harmony export */ \"Medialist\": () => (/* binding */ Medialist),\n/* harmony export */ \"MediaQuery\": () => (/* binding */ MediaQuery),\n/* harmony export */ \"SupportsCondition\": () => (/* binding */ SupportsCondition),\n/* harmony export */ \"Page\": () => (/* binding */ Page),\n/* harmony export */ \"PageBoxMarginBox\": () => (/* binding */ PageBoxMarginBox),\n/* harmony export */ \"Expression\": () => (/* binding */ Expression),\n/* harmony export */ \"BinaryExpression\": () => (/* binding */ BinaryExpression),\n/* harmony export */ \"Term\": () => (/* binding */ Term),\n/* harmony export */ \"AttributeSelector\": () => (/* binding */ AttributeSelector),\n/* harmony export */ \"Operator\": () => (/* binding */ Operator),\n/* harmony export */ \"HexColorValue\": () => (/* binding */ HexColorValue),\n/* harmony export */ \"NumericValue\": () => (/* binding */ NumericValue),\n/* harmony export */ \"VariableDeclaration\": () => (/* binding */ VariableDeclaration),\n/* harmony export */ \"Interpolation\": () => (/* binding */ Interpolation),\n/* harmony export */ \"Variable\": () => (/* binding */ Variable),\n/* harmony export */ \"ExtendsReference\": () => (/* binding */ ExtendsReference),\n/* harmony export */ \"MixinContentReference\": () => (/* binding */ MixinContentReference),\n/* harmony export */ \"MixinContentDeclaration\": () => (/* binding */ MixinContentDeclaration),\n/* harmony export */ \"MixinReference\": () => (/* binding */ MixinReference),\n/* harmony export */ \"MixinDeclaration\": () => (/* binding */ MixinDeclaration),\n/* harmony export */ \"UnknownAtRule\": () => (/* binding */ UnknownAtRule),\n/* harmony export */ \"ListEntry\": () => (/* binding */ ListEntry),\n/* harmony export */ \"LessGuard\": () => (/* binding */ LessGuard),\n/* harmony export */ \"GuardCondition\": () => (/* binding */ GuardCondition),\n/* harmony export */ \"Module\": () => (/* binding */ Module),\n/* harmony export */ \"Level\": () => (/* binding */ Level),\n/* harmony export */ \"Marker\": () => (/* binding */ Marker),\n/* harmony export */ \"ParseErrorCollector\": () => (/* binding */ ParseErrorCollector)\n/* harmony export */ });\n/* harmony import */ var _utils_strings_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/strings.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/utils/strings.js\");\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\nvar __extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\n\n/// <summary>\n/// Nodes for the css 2.1 specification. See for reference:\n/// http://www.w3.org/TR/CSS21/grammar.html#grammar\n/// </summary>\nvar NodeType;\n(function (NodeType) {\n NodeType[NodeType[\"Undefined\"] = 0] = \"Undefined\";\n NodeType[NodeType[\"Identifier\"] = 1] = \"Identifier\";\n NodeType[NodeType[\"Stylesheet\"] = 2] = \"Stylesheet\";\n NodeType[NodeType[\"Ruleset\"] = 3] = \"Ruleset\";\n NodeType[NodeType[\"Selector\"] = 4] = \"Selector\";\n NodeType[NodeType[\"SimpleSelector\"] = 5] = \"SimpleSelector\";\n NodeType[NodeType[\"SelectorInterpolation\"] = 6] = \"SelectorInterpolation\";\n NodeType[NodeType[\"SelectorCombinator\"] = 7] = \"SelectorCombinator\";\n NodeType[NodeType[\"SelectorCombinatorParent\"] = 8] = \"SelectorCombinatorParent\";\n NodeType[NodeType[\"SelectorCombinatorSibling\"] = 9] = \"SelectorCombinatorSibling\";\n NodeType[NodeType[\"SelectorCombinatorAllSiblings\"] = 10] = \"SelectorCombinatorAllSiblings\";\n NodeType[NodeType[\"SelectorCombinatorShadowPiercingDescendant\"] = 11] = \"SelectorCombinatorShadowPiercingDescendant\";\n NodeType[NodeType[\"Page\"] = 12] = \"Page\";\n NodeType[NodeType[\"PageBoxMarginBox\"] = 13] = \"PageBoxMarginBox\";\n NodeType[NodeType[\"ClassSelector\"] = 14] = \"ClassSelector\";\n NodeType[NodeType[\"IdentifierSelector\"] = 15] = \"IdentifierSelector\";\n NodeType[NodeType[\"ElementNameSelector\"] = 16] = \"ElementNameSelector\";\n NodeType[NodeType[\"PseudoSelector\"] = 17] = \"PseudoSelector\";\n NodeType[NodeType[\"AttributeSelector\"] = 18] = \"AttributeSelector\";\n NodeType[NodeType[\"Declaration\"] = 19] = \"Declaration\";\n NodeType[NodeType[\"Declarations\"] = 20] = \"Declarations\";\n NodeType[NodeType[\"Property\"] = 21] = \"Property\";\n NodeType[NodeType[\"Expression\"] = 22] = \"Expression\";\n NodeType[NodeType[\"BinaryExpression\"] = 23] = \"BinaryExpression\";\n NodeType[NodeType[\"Term\"] = 24] = \"Term\";\n NodeType[NodeType[\"Operator\"] = 25] = \"Operator\";\n NodeType[NodeType[\"Value\"] = 26] = \"Value\";\n NodeType[NodeType[\"StringLiteral\"] = 27] = \"StringLiteral\";\n NodeType[NodeType[\"URILiteral\"] = 28] = \"URILiteral\";\n NodeType[NodeType[\"EscapedValue\"] = 29] = \"EscapedValue\";\n NodeType[NodeType[\"Function\"] = 30] = \"Function\";\n NodeType[NodeType[\"NumericValue\"] = 31] = \"NumericValue\";\n NodeType[NodeType[\"HexColorValue\"] = 32] = \"HexColorValue\";\n NodeType[NodeType[\"MixinDeclaration\"] = 33] = \"MixinDeclaration\";\n NodeType[NodeType[\"MixinReference\"] = 34] = \"MixinReference\";\n NodeType[NodeType[\"VariableName\"] = 35] = \"VariableName\";\n NodeType[NodeType[\"VariableDeclaration\"] = 36] = \"VariableDeclaration\";\n NodeType[NodeType[\"Prio\"] = 37] = \"Prio\";\n NodeType[NodeType[\"Interpolation\"] = 38] = \"Interpolation\";\n NodeType[NodeType[\"NestedProperties\"] = 39] = \"NestedProperties\";\n NodeType[NodeType[\"ExtendsReference\"] = 40] = \"ExtendsReference\";\n NodeType[NodeType[\"SelectorPlaceholder\"] = 41] = \"SelectorPlaceholder\";\n NodeType[NodeType[\"Debug\"] = 42] = \"Debug\";\n NodeType[NodeType[\"If\"] = 43] = \"If\";\n NodeType[NodeType[\"Else\"] = 44] = \"Else\";\n NodeType[NodeType[\"For\"] = 45] = \"For\";\n NodeType[NodeType[\"Each\"] = 46] = \"Each\";\n NodeType[NodeType[\"While\"] = 47] = \"While\";\n NodeType[NodeType[\"MixinContentReference\"] = 48] = \"MixinContentReference\";\n NodeType[NodeType[\"MixinContentDeclaration\"] = 49] = \"MixinContentDeclaration\";\n NodeType[NodeType[\"Media\"] = 50] = \"Media\";\n NodeType[NodeType[\"Keyframe\"] = 51] = \"Keyframe\";\n NodeType[NodeType[\"FontFace\"] = 52] = \"FontFace\";\n NodeType[NodeType[\"Import\"] = 53] = \"Import\";\n NodeType[NodeType[\"Namespace\"] = 54] = \"Namespace\";\n NodeType[NodeType[\"Invocation\"] = 55] = \"Invocation\";\n NodeType[NodeType[\"FunctionDeclaration\"] = 56] = \"FunctionDeclaration\";\n NodeType[NodeType[\"ReturnStatement\"] = 57] = \"ReturnStatement\";\n NodeType[NodeType[\"MediaQuery\"] = 58] = \"MediaQuery\";\n NodeType[NodeType[\"FunctionParameter\"] = 59] = \"FunctionParameter\";\n NodeType[NodeType[\"FunctionArgument\"] = 60] = \"FunctionArgument\";\n NodeType[NodeType[\"KeyframeSelector\"] = 61] = \"KeyframeSelector\";\n NodeType[NodeType[\"ViewPort\"] = 62] = \"ViewPort\";\n NodeType[NodeType[\"Document\"] = 63] = \"Document\";\n NodeType[NodeType[\"AtApplyRule\"] = 64] = \"AtApplyRule\";\n NodeType[NodeType[\"CustomPropertyDeclaration\"] = 65] = \"CustomPropertyDeclaration\";\n NodeType[NodeType[\"CustomPropertySet\"] = 66] = \"CustomPropertySet\";\n NodeType[NodeType[\"ListEntry\"] = 67] = \"ListEntry\";\n NodeType[NodeType[\"Supports\"] = 68] = \"Supports\";\n NodeType[NodeType[\"SupportsCondition\"] = 69] = \"SupportsCondition\";\n NodeType[NodeType[\"NamespacePrefix\"] = 70] = \"NamespacePrefix\";\n NodeType[NodeType[\"GridLine\"] = 71] = \"GridLine\";\n NodeType[NodeType[\"Plugin\"] = 72] = \"Plugin\";\n NodeType[NodeType[\"UnknownAtRule\"] = 73] = \"UnknownAtRule\";\n NodeType[NodeType[\"Use\"] = 74] = \"Use\";\n NodeType[NodeType[\"ModuleConfiguration\"] = 75] = \"ModuleConfiguration\";\n NodeType[NodeType[\"Forward\"] = 76] = \"Forward\";\n NodeType[NodeType[\"ForwardVisibility\"] = 77] = \"ForwardVisibility\";\n NodeType[NodeType[\"Module\"] = 78] = \"Module\";\n})(NodeType || (NodeType = {}));\nvar ReferenceType;\n(function (ReferenceType) {\n ReferenceType[ReferenceType[\"Mixin\"] = 0] = \"Mixin\";\n ReferenceType[ReferenceType[\"Rule\"] = 1] = \"Rule\";\n ReferenceType[ReferenceType[\"Variable\"] = 2] = \"Variable\";\n ReferenceType[ReferenceType[\"Function\"] = 3] = \"Function\";\n ReferenceType[ReferenceType[\"Keyframe\"] = 4] = \"Keyframe\";\n ReferenceType[ReferenceType[\"Unknown\"] = 5] = \"Unknown\";\n ReferenceType[ReferenceType[\"Module\"] = 6] = \"Module\";\n ReferenceType[ReferenceType[\"Forward\"] = 7] = \"Forward\";\n ReferenceType[ReferenceType[\"ForwardVisibility\"] = 8] = \"ForwardVisibility\";\n})(ReferenceType || (ReferenceType = {}));\nfunction getNodeAtOffset(node, offset) {\n var candidate = null;\n if (!node || offset < node.offset || offset > node.end) {\n return null;\n }\n // Find the shortest node at the position\n node.accept(function (node) {\n if (node.offset === -1 && node.length === -1) {\n return true;\n }\n if (node.offset <= offset && node.end >= offset) {\n if (!candidate) {\n candidate = node;\n }\n else if (node.length <= candidate.length) {\n candidate = node;\n }\n return true;\n }\n return false;\n });\n return candidate;\n}\nfunction getNodePath(node, offset) {\n var candidate = getNodeAtOffset(node, offset);\n var path = [];\n while (candidate) {\n path.unshift(candidate);\n candidate = candidate.parent;\n }\n return path;\n}\nfunction getParentDeclaration(node) {\n var decl = node.findParent(NodeType.Declaration);\n var value = decl && decl.getValue();\n if (value && value.encloses(node)) {\n return decl;\n }\n return null;\n}\nvar Node = /** @class */ (function () {\n function Node(offset, len, nodeType) {\n if (offset === void 0) { offset = -1; }\n if (len === void 0) { len = -1; }\n this.parent = null;\n this.offset = offset;\n this.length = len;\n if (nodeType) {\n this.nodeType = nodeType;\n }\n }\n Object.defineProperty(Node.prototype, \"end\", {\n get: function () { return this.offset + this.length; },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Node.prototype, \"type\", {\n get: function () {\n return this.nodeType || NodeType.Undefined;\n },\n set: function (type) {\n this.nodeType = type;\n },\n enumerable: false,\n configurable: true\n });\n Node.prototype.getTextProvider = function () {\n var node = this;\n while (node && !node.textProvider) {\n node = node.parent;\n }\n if (node) {\n return node.textProvider;\n }\n return function () { return 'unknown'; };\n };\n Node.prototype.getText = function () {\n return this.getTextProvider()(this.offset, this.length);\n };\n Node.prototype.matches = function (str) {\n return this.length === str.length && this.getTextProvider()(this.offset, this.length) === str;\n };\n Node.prototype.startsWith = function (str) {\n return this.length >= str.length && this.getTextProvider()(this.offset, str.length) === str;\n };\n Node.prototype.endsWith = function (str) {\n return this.length >= str.length && this.getTextProvider()(this.end - str.length, str.length) === str;\n };\n Node.prototype.accept = function (visitor) {\n if (visitor(this) && this.children) {\n for (var _i = 0, _a = this.children; _i < _a.length; _i++) {\n var child = _a[_i];\n child.accept(visitor);\n }\n }\n };\n Node.prototype.acceptVisitor = function (visitor) {\n this.accept(visitor.visitNode.bind(visitor));\n };\n Node.prototype.adoptChild = function (node, index) {\n if (index === void 0) { index = -1; }\n if (node.parent && node.parent.children) {\n var idx = node.parent.children.indexOf(node);\n if (idx >= 0) {\n node.parent.children.splice(idx, 1);\n }\n }\n node.parent = this;\n var children = this.children;\n if (!children) {\n children = this.children = [];\n }\n if (index !== -1) {\n children.splice(index, 0, node);\n }\n else {\n children.push(node);\n }\n return node;\n };\n Node.prototype.attachTo = function (parent, index) {\n if (index === void 0) { index = -1; }\n if (parent) {\n parent.adoptChild(this, index);\n }\n return this;\n };\n Node.prototype.collectIssues = function (results) {\n if (this.issues) {\n results.push.apply(results, this.issues);\n }\n };\n Node.prototype.addIssue = function (issue) {\n if (!this.issues) {\n this.issues = [];\n }\n this.issues.push(issue);\n };\n Node.prototype.hasIssue = function (rule) {\n return Array.isArray(this.issues) && this.issues.some(function (i) { return i.getRule() === rule; });\n };\n Node.prototype.isErroneous = function (recursive) {\n if (recursive === void 0) { recursive = false; }\n if (this.issues && this.issues.length > 0) {\n return true;\n }\n return recursive && Array.isArray(this.children) && this.children.some(function (c) { return c.isErroneous(true); });\n };\n Node.prototype.setNode = function (field, node, index) {\n if (index === void 0) { index = -1; }\n if (node) {\n node.attachTo(this, index);\n this[field] = node;\n return true;\n }\n return false;\n };\n Node.prototype.addChild = function (node) {\n if (node) {\n if (!this.children) {\n this.children = [];\n }\n node.attachTo(this);\n this.updateOffsetAndLength(node);\n return true;\n }\n return false;\n };\n Node.prototype.updateOffsetAndLength = function (node) {\n if (node.offset < this.offset || this.offset === -1) {\n this.offset = node.offset;\n }\n var nodeEnd = node.end;\n if ((nodeEnd > this.end) || this.length === -1) {\n this.length = nodeEnd - this.offset;\n }\n };\n Node.prototype.hasChildren = function () {\n return !!this.children && this.children.length > 0;\n };\n Node.prototype.getChildren = function () {\n return this.children ? this.children.slice(0) : [];\n };\n Node.prototype.getChild = function (index) {\n if (this.children && index < this.children.length) {\n return this.children[index];\n }\n return null;\n };\n Node.prototype.addChildren = function (nodes) {\n for (var _i = 0, nodes_1 = nodes; _i < nodes_1.length; _i++) {\n var node = nodes_1[_i];\n this.addChild(node);\n }\n };\n Node.prototype.findFirstChildBeforeOffset = function (offset) {\n if (this.children) {\n var current = null;\n for (var i = this.children.length - 1; i >= 0; i--) {\n // iterate until we find a child that has a start offset smaller than the input offset\n current = this.children[i];\n if (current.offset <= offset) {\n return current;\n }\n }\n }\n return null;\n };\n Node.prototype.findChildAtOffset = function (offset, goDeep) {\n var current = this.findFirstChildBeforeOffset(offset);\n if (current && current.end >= offset) {\n if (goDeep) {\n return current.findChildAtOffset(offset, true) || current;\n }\n return current;\n }\n return null;\n };\n Node.prototype.encloses = function (candidate) {\n return this.offset <= candidate.offset && this.offset + this.length >= candidate.offset + candidate.length;\n };\n Node.prototype.getParent = function () {\n var result = this.parent;\n while (result instanceof Nodelist) {\n result = result.parent;\n }\n return result;\n };\n Node.prototype.findParent = function (type) {\n var result = this;\n while (result && result.type !== type) {\n result = result.parent;\n }\n return result;\n };\n Node.prototype.findAParent = function () {\n var types = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n types[_i] = arguments[_i];\n }\n var result = this;\n while (result && !types.some(function (t) { return result.type === t; })) {\n result = result.parent;\n }\n return result;\n };\n Node.prototype.setData = function (key, value) {\n if (!this.options) {\n this.options = {};\n }\n this.options[key] = value;\n };\n Node.prototype.getData = function (key) {\n if (!this.options || !this.options.hasOwnProperty(key)) {\n return null;\n }\n return this.options[key];\n };\n return Node;\n}());\n\nvar Nodelist = /** @class */ (function (_super) {\n __extends(Nodelist, _super);\n function Nodelist(parent, index) {\n if (index === void 0) { index = -1; }\n var _this = _super.call(this, -1, -1) || this;\n _this.attachTo(parent, index);\n _this.offset = -1;\n _this.length = -1;\n return _this;\n }\n return Nodelist;\n}(Node));\n\nvar Identifier = /** @class */ (function (_super) {\n __extends(Identifier, _super);\n function Identifier(offset, length) {\n var _this = _super.call(this, offset, length) || this;\n _this.isCustomProperty = false;\n return _this;\n }\n Object.defineProperty(Identifier.prototype, \"type\", {\n get: function () {\n return NodeType.Identifier;\n },\n enumerable: false,\n configurable: true\n });\n Identifier.prototype.containsInterpolation = function () {\n return this.hasChildren();\n };\n return Identifier;\n}(Node));\n\nvar Stylesheet = /** @class */ (function (_super) {\n __extends(Stylesheet, _super);\n function Stylesheet(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Stylesheet.prototype, \"type\", {\n get: function () {\n return NodeType.Stylesheet;\n },\n enumerable: false,\n configurable: true\n });\n return Stylesheet;\n}(Node));\n\nvar Declarations = /** @class */ (function (_super) {\n __extends(Declarations, _super);\n function Declarations(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Declarations.prototype, \"type\", {\n get: function () {\n return NodeType.Declarations;\n },\n enumerable: false,\n configurable: true\n });\n return Declarations;\n}(Node));\n\nvar BodyDeclaration = /** @class */ (function (_super) {\n __extends(BodyDeclaration, _super);\n function BodyDeclaration(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n BodyDeclaration.prototype.getDeclarations = function () {\n return this.declarations;\n };\n BodyDeclaration.prototype.setDeclarations = function (decls) {\n return this.setNode('declarations', decls);\n };\n return BodyDeclaration;\n}(Node));\n\nvar RuleSet = /** @class */ (function (_super) {\n __extends(RuleSet, _super);\n function RuleSet(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(RuleSet.prototype, \"type\", {\n get: function () {\n return NodeType.Ruleset;\n },\n enumerable: false,\n configurable: true\n });\n RuleSet.prototype.getSelectors = function () {\n if (!this.selectors) {\n this.selectors = new Nodelist(this);\n }\n return this.selectors;\n };\n RuleSet.prototype.isNested = function () {\n return !!this.parent && this.parent.findParent(NodeType.Declarations) !== null;\n };\n return RuleSet;\n}(BodyDeclaration));\n\nvar Selector = /** @class */ (function (_super) {\n __extends(Selector, _super);\n function Selector(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Selector.prototype, \"type\", {\n get: function () {\n return NodeType.Selector;\n },\n enumerable: false,\n configurable: true\n });\n return Selector;\n}(Node));\n\nvar SimpleSelector = /** @class */ (function (_super) {\n __extends(SimpleSelector, _super);\n function SimpleSelector(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(SimpleSelector.prototype, \"type\", {\n get: function () {\n return NodeType.SimpleSelector;\n },\n enumerable: false,\n configurable: true\n });\n return SimpleSelector;\n}(Node));\n\nvar AtApplyRule = /** @class */ (function (_super) {\n __extends(AtApplyRule, _super);\n function AtApplyRule(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(AtApplyRule.prototype, \"type\", {\n get: function () {\n return NodeType.AtApplyRule;\n },\n enumerable: false,\n configurable: true\n });\n AtApplyRule.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n AtApplyRule.prototype.getIdentifier = function () {\n return this.identifier;\n };\n AtApplyRule.prototype.getName = function () {\n return this.identifier ? this.identifier.getText() : '';\n };\n return AtApplyRule;\n}(Node));\n\nvar AbstractDeclaration = /** @class */ (function (_super) {\n __extends(AbstractDeclaration, _super);\n function AbstractDeclaration(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n return AbstractDeclaration;\n}(Node));\n\nvar CustomPropertySet = /** @class */ (function (_super) {\n __extends(CustomPropertySet, _super);\n function CustomPropertySet(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(CustomPropertySet.prototype, \"type\", {\n get: function () {\n return NodeType.CustomPropertySet;\n },\n enumerable: false,\n configurable: true\n });\n return CustomPropertySet;\n}(BodyDeclaration));\n\nvar Declaration = /** @class */ (function (_super) {\n __extends(Declaration, _super);\n function Declaration(offset, length) {\n var _this = _super.call(this, offset, length) || this;\n _this.property = null;\n return _this;\n }\n Object.defineProperty(Declaration.prototype, \"type\", {\n get: function () {\n return NodeType.Declaration;\n },\n enumerable: false,\n configurable: true\n });\n Declaration.prototype.setProperty = function (node) {\n return this.setNode('property', node);\n };\n Declaration.prototype.getProperty = function () {\n return this.property;\n };\n Declaration.prototype.getFullPropertyName = function () {\n var propertyName = this.property ? this.property.getName() : 'unknown';\n if (this.parent instanceof Declarations && this.parent.getParent() instanceof NestedProperties) {\n var parentDecl = this.parent.getParent().getParent();\n if (parentDecl instanceof Declaration) {\n return parentDecl.getFullPropertyName() + propertyName;\n }\n }\n return propertyName;\n };\n Declaration.prototype.getNonPrefixedPropertyName = function () {\n var propertyName = this.getFullPropertyName();\n if (propertyName && propertyName.charAt(0) === '-') {\n var vendorPrefixEnd = propertyName.indexOf('-', 1);\n if (vendorPrefixEnd !== -1) {\n return propertyName.substring(vendorPrefixEnd + 1);\n }\n }\n return propertyName;\n };\n Declaration.prototype.setValue = function (value) {\n return this.setNode('value', value);\n };\n Declaration.prototype.getValue = function () {\n return this.value;\n };\n Declaration.prototype.setNestedProperties = function (value) {\n return this.setNode('nestedProperties', value);\n };\n Declaration.prototype.getNestedProperties = function () {\n return this.nestedProperties;\n };\n return Declaration;\n}(AbstractDeclaration));\n\nvar CustomPropertyDeclaration = /** @class */ (function (_super) {\n __extends(CustomPropertyDeclaration, _super);\n function CustomPropertyDeclaration(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(CustomPropertyDeclaration.prototype, \"type\", {\n get: function () {\n return NodeType.CustomPropertyDeclaration;\n },\n enumerable: false,\n configurable: true\n });\n CustomPropertyDeclaration.prototype.setPropertySet = function (value) {\n return this.setNode('propertySet', value);\n };\n CustomPropertyDeclaration.prototype.getPropertySet = function () {\n return this.propertySet;\n };\n return CustomPropertyDeclaration;\n}(Declaration));\n\nvar Property = /** @class */ (function (_super) {\n __extends(Property, _super);\n function Property(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Property.prototype, \"type\", {\n get: function () {\n return NodeType.Property;\n },\n enumerable: false,\n configurable: true\n });\n Property.prototype.setIdentifier = function (value) {\n return this.setNode('identifier', value);\n };\n Property.prototype.getIdentifier = function () {\n return this.identifier;\n };\n Property.prototype.getName = function () {\n return (0,_utils_strings_js__WEBPACK_IMPORTED_MODULE_0__.trim)(this.getText(), /[_\\+]+$/); /* +_: less merge */\n };\n Property.prototype.isCustomProperty = function () {\n return !!this.identifier && this.identifier.isCustomProperty;\n };\n return Property;\n}(Node));\n\nvar Invocation = /** @class */ (function (_super) {\n __extends(Invocation, _super);\n function Invocation(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Invocation.prototype, \"type\", {\n get: function () {\n return NodeType.Invocation;\n },\n enumerable: false,\n configurable: true\n });\n Invocation.prototype.getArguments = function () {\n if (!this.arguments) {\n this.arguments = new Nodelist(this);\n }\n return this.arguments;\n };\n return Invocation;\n}(Node));\n\nvar Function = /** @class */ (function (_super) {\n __extends(Function, _super);\n function Function(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Function.prototype, \"type\", {\n get: function () {\n return NodeType.Function;\n },\n enumerable: false,\n configurable: true\n });\n Function.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n Function.prototype.getIdentifier = function () {\n return this.identifier;\n };\n Function.prototype.getName = function () {\n return this.identifier ? this.identifier.getText() : '';\n };\n return Function;\n}(Invocation));\n\nvar FunctionParameter = /** @class */ (function (_super) {\n __extends(FunctionParameter, _super);\n function FunctionParameter(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(FunctionParameter.prototype, \"type\", {\n get: function () {\n return NodeType.FunctionParameter;\n },\n enumerable: false,\n configurable: true\n });\n FunctionParameter.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n FunctionParameter.prototype.getIdentifier = function () {\n return this.identifier;\n };\n FunctionParameter.prototype.getName = function () {\n return this.identifier ? this.identifier.getText() : '';\n };\n FunctionParameter.prototype.setDefaultValue = function (node) {\n return this.setNode('defaultValue', node, 0);\n };\n FunctionParameter.prototype.getDefaultValue = function () {\n return this.defaultValue;\n };\n return FunctionParameter;\n}(Node));\n\nvar FunctionArgument = /** @class */ (function (_super) {\n __extends(FunctionArgument, _super);\n function FunctionArgument(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(FunctionArgument.prototype, \"type\", {\n get: function () {\n return NodeType.FunctionArgument;\n },\n enumerable: false,\n configurable: true\n });\n FunctionArgument.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n FunctionArgument.prototype.getIdentifier = function () {\n return this.identifier;\n };\n FunctionArgument.prototype.getName = function () {\n return this.identifier ? this.identifier.getText() : '';\n };\n FunctionArgument.prototype.setValue = function (node) {\n return this.setNode('value', node, 0);\n };\n FunctionArgument.prototype.getValue = function () {\n return this.value;\n };\n return FunctionArgument;\n}(Node));\n\nvar IfStatement = /** @class */ (function (_super) {\n __extends(IfStatement, _super);\n function IfStatement(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(IfStatement.prototype, \"type\", {\n get: function () {\n return NodeType.If;\n },\n enumerable: false,\n configurable: true\n });\n IfStatement.prototype.setExpression = function (node) {\n return this.setNode('expression', node, 0);\n };\n IfStatement.prototype.setElseClause = function (elseClause) {\n return this.setNode('elseClause', elseClause);\n };\n return IfStatement;\n}(BodyDeclaration));\n\nvar ForStatement = /** @class */ (function (_super) {\n __extends(ForStatement, _super);\n function ForStatement(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(ForStatement.prototype, \"type\", {\n get: function () {\n return NodeType.For;\n },\n enumerable: false,\n configurable: true\n });\n ForStatement.prototype.setVariable = function (node) {\n return this.setNode('variable', node, 0);\n };\n return ForStatement;\n}(BodyDeclaration));\n\nvar EachStatement = /** @class */ (function (_super) {\n __extends(EachStatement, _super);\n function EachStatement(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(EachStatement.prototype, \"type\", {\n get: function () {\n return NodeType.Each;\n },\n enumerable: false,\n configurable: true\n });\n EachStatement.prototype.getVariables = function () {\n if (!this.variables) {\n this.variables = new Nodelist(this);\n }\n return this.variables;\n };\n return EachStatement;\n}(BodyDeclaration));\n\nvar WhileStatement = /** @class */ (function (_super) {\n __extends(WhileStatement, _super);\n function WhileStatement(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(WhileStatement.prototype, \"type\", {\n get: function () {\n return NodeType.While;\n },\n enumerable: false,\n configurable: true\n });\n return WhileStatement;\n}(BodyDeclaration));\n\nvar ElseStatement = /** @class */ (function (_super) {\n __extends(ElseStatement, _super);\n function ElseStatement(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(ElseStatement.prototype, \"type\", {\n get: function () {\n return NodeType.Else;\n },\n enumerable: false,\n configurable: true\n });\n return ElseStatement;\n}(BodyDeclaration));\n\nvar FunctionDeclaration = /** @class */ (function (_super) {\n __extends(FunctionDeclaration, _super);\n function FunctionDeclaration(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(FunctionDeclaration.prototype, \"type\", {\n get: function () {\n return NodeType.FunctionDeclaration;\n },\n enumerable: false,\n configurable: true\n });\n FunctionDeclaration.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n FunctionDeclaration.prototype.getIdentifier = function () {\n return this.identifier;\n };\n FunctionDeclaration.prototype.getName = function () {\n return this.identifier ? this.identifier.getText() : '';\n };\n FunctionDeclaration.prototype.getParameters = function () {\n if (!this.parameters) {\n this.parameters = new Nodelist(this);\n }\n return this.parameters;\n };\n return FunctionDeclaration;\n}(BodyDeclaration));\n\nvar ViewPort = /** @class */ (function (_super) {\n __extends(ViewPort, _super);\n function ViewPort(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(ViewPort.prototype, \"type\", {\n get: function () {\n return NodeType.ViewPort;\n },\n enumerable: false,\n configurable: true\n });\n return ViewPort;\n}(BodyDeclaration));\n\nvar FontFace = /** @class */ (function (_super) {\n __extends(FontFace, _super);\n function FontFace(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(FontFace.prototype, \"type\", {\n get: function () {\n return NodeType.FontFace;\n },\n enumerable: false,\n configurable: true\n });\n return FontFace;\n}(BodyDeclaration));\n\nvar NestedProperties = /** @class */ (function (_super) {\n __extends(NestedProperties, _super);\n function NestedProperties(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(NestedProperties.prototype, \"type\", {\n get: function () {\n return NodeType.NestedProperties;\n },\n enumerable: false,\n configurable: true\n });\n return NestedProperties;\n}(BodyDeclaration));\n\nvar Keyframe = /** @class */ (function (_super) {\n __extends(Keyframe, _super);\n function Keyframe(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Keyframe.prototype, \"type\", {\n get: function () {\n return NodeType.Keyframe;\n },\n enumerable: false,\n configurable: true\n });\n Keyframe.prototype.setKeyword = function (keyword) {\n return this.setNode('keyword', keyword, 0);\n };\n Keyframe.prototype.getKeyword = function () {\n return this.keyword;\n };\n Keyframe.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n Keyframe.prototype.getIdentifier = function () {\n return this.identifier;\n };\n Keyframe.prototype.getName = function () {\n return this.identifier ? this.identifier.getText() : '';\n };\n return Keyframe;\n}(BodyDeclaration));\n\nvar KeyframeSelector = /** @class */ (function (_super) {\n __extends(KeyframeSelector, _super);\n function KeyframeSelector(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(KeyframeSelector.prototype, \"type\", {\n get: function () {\n return NodeType.KeyframeSelector;\n },\n enumerable: false,\n configurable: true\n });\n return KeyframeSelector;\n}(BodyDeclaration));\n\nvar Import = /** @class */ (function (_super) {\n __extends(Import, _super);\n function Import(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Import.prototype, \"type\", {\n get: function () {\n return NodeType.Import;\n },\n enumerable: false,\n configurable: true\n });\n Import.prototype.setMedialist = function (node) {\n if (node) {\n node.attachTo(this);\n return true;\n }\n return false;\n };\n return Import;\n}(Node));\n\nvar Use = /** @class */ (function (_super) {\n __extends(Use, _super);\n function Use() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(Use.prototype, \"type\", {\n get: function () {\n return NodeType.Use;\n },\n enumerable: false,\n configurable: true\n });\n Use.prototype.getParameters = function () {\n if (!this.parameters) {\n this.parameters = new Nodelist(this);\n }\n return this.parameters;\n };\n Use.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n Use.prototype.getIdentifier = function () {\n return this.identifier;\n };\n return Use;\n}(Node));\n\nvar ModuleConfiguration = /** @class */ (function (_super) {\n __extends(ModuleConfiguration, _super);\n function ModuleConfiguration() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(ModuleConfiguration.prototype, \"type\", {\n get: function () {\n return NodeType.ModuleConfiguration;\n },\n enumerable: false,\n configurable: true\n });\n ModuleConfiguration.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n ModuleConfiguration.prototype.getIdentifier = function () {\n return this.identifier;\n };\n ModuleConfiguration.prototype.getName = function () {\n return this.identifier ? this.identifier.getText() : '';\n };\n ModuleConfiguration.prototype.setValue = function (node) {\n return this.setNode('value', node, 0);\n };\n ModuleConfiguration.prototype.getValue = function () {\n return this.value;\n };\n return ModuleConfiguration;\n}(Node));\n\nvar Forward = /** @class */ (function (_super) {\n __extends(Forward, _super);\n function Forward() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(Forward.prototype, \"type\", {\n get: function () {\n return NodeType.Forward;\n },\n enumerable: false,\n configurable: true\n });\n Forward.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n Forward.prototype.getIdentifier = function () {\n return this.identifier;\n };\n Forward.prototype.getMembers = function () {\n if (!this.members) {\n this.members = new Nodelist(this);\n }\n return this.members;\n };\n Forward.prototype.getParameters = function () {\n if (!this.parameters) {\n this.parameters = new Nodelist(this);\n }\n return this.parameters;\n };\n return Forward;\n}(Node));\n\nvar ForwardVisibility = /** @class */ (function (_super) {\n __extends(ForwardVisibility, _super);\n function ForwardVisibility() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(ForwardVisibility.prototype, \"type\", {\n get: function () {\n return NodeType.ForwardVisibility;\n },\n enumerable: false,\n configurable: true\n });\n ForwardVisibility.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n ForwardVisibility.prototype.getIdentifier = function () {\n return this.identifier;\n };\n return ForwardVisibility;\n}(Node));\n\nvar Namespace = /** @class */ (function (_super) {\n __extends(Namespace, _super);\n function Namespace(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Namespace.prototype, \"type\", {\n get: function () {\n return NodeType.Namespace;\n },\n enumerable: false,\n configurable: true\n });\n return Namespace;\n}(Node));\n\nvar Media = /** @class */ (function (_super) {\n __extends(Media, _super);\n function Media(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Media.prototype, \"type\", {\n get: function () {\n return NodeType.Media;\n },\n enumerable: false,\n configurable: true\n });\n return Media;\n}(BodyDeclaration));\n\nvar Supports = /** @class */ (function (_super) {\n __extends(Supports, _super);\n function Supports(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Supports.prototype, \"type\", {\n get: function () {\n return NodeType.Supports;\n },\n enumerable: false,\n configurable: true\n });\n return Supports;\n}(BodyDeclaration));\n\nvar Document = /** @class */ (function (_super) {\n __extends(Document, _super);\n function Document(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Document.prototype, \"type\", {\n get: function () {\n return NodeType.Document;\n },\n enumerable: false,\n configurable: true\n });\n return Document;\n}(BodyDeclaration));\n\nvar Medialist = /** @class */ (function (_super) {\n __extends(Medialist, _super);\n function Medialist(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Medialist.prototype.getMediums = function () {\n if (!this.mediums) {\n this.mediums = new Nodelist(this);\n }\n return this.mediums;\n };\n return Medialist;\n}(Node));\n\nvar MediaQuery = /** @class */ (function (_super) {\n __extends(MediaQuery, _super);\n function MediaQuery(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(MediaQuery.prototype, \"type\", {\n get: function () {\n return NodeType.MediaQuery;\n },\n enumerable: false,\n configurable: true\n });\n return MediaQuery;\n}(Node));\n\nvar SupportsCondition = /** @class */ (function (_super) {\n __extends(SupportsCondition, _super);\n function SupportsCondition(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(SupportsCondition.prototype, \"type\", {\n get: function () {\n return NodeType.SupportsCondition;\n },\n enumerable: false,\n configurable: true\n });\n return SupportsCondition;\n}(Node));\n\nvar Page = /** @class */ (function (_super) {\n __extends(Page, _super);\n function Page(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Page.prototype, \"type\", {\n get: function () {\n return NodeType.Page;\n },\n enumerable: false,\n configurable: true\n });\n return Page;\n}(BodyDeclaration));\n\nvar PageBoxMarginBox = /** @class */ (function (_super) {\n __extends(PageBoxMarginBox, _super);\n function PageBoxMarginBox(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(PageBoxMarginBox.prototype, \"type\", {\n get: function () {\n return NodeType.PageBoxMarginBox;\n },\n enumerable: false,\n configurable: true\n });\n return PageBoxMarginBox;\n}(BodyDeclaration));\n\nvar Expression = /** @class */ (function (_super) {\n __extends(Expression, _super);\n function Expression(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Expression.prototype, \"type\", {\n get: function () {\n return NodeType.Expression;\n },\n enumerable: false,\n configurable: true\n });\n return Expression;\n}(Node));\n\nvar BinaryExpression = /** @class */ (function (_super) {\n __extends(BinaryExpression, _super);\n function BinaryExpression(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(BinaryExpression.prototype, \"type\", {\n get: function () {\n return NodeType.BinaryExpression;\n },\n enumerable: false,\n configurable: true\n });\n BinaryExpression.prototype.setLeft = function (left) {\n return this.setNode('left', left);\n };\n BinaryExpression.prototype.getLeft = function () {\n return this.left;\n };\n BinaryExpression.prototype.setRight = function (right) {\n return this.setNode('right', right);\n };\n BinaryExpression.prototype.getRight = function () {\n return this.right;\n };\n BinaryExpression.prototype.setOperator = function (value) {\n return this.setNode('operator', value);\n };\n BinaryExpression.prototype.getOperator = function () {\n return this.operator;\n };\n return BinaryExpression;\n}(Node));\n\nvar Term = /** @class */ (function (_super) {\n __extends(Term, _super);\n function Term(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Term.prototype, \"type\", {\n get: function () {\n return NodeType.Term;\n },\n enumerable: false,\n configurable: true\n });\n Term.prototype.setOperator = function (value) {\n return this.setNode('operator', value);\n };\n Term.prototype.getOperator = function () {\n return this.operator;\n };\n Term.prototype.setExpression = function (value) {\n return this.setNode('expression', value);\n };\n Term.prototype.getExpression = function () {\n return this.expression;\n };\n return Term;\n}(Node));\n\nvar AttributeSelector = /** @class */ (function (_super) {\n __extends(AttributeSelector, _super);\n function AttributeSelector(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(AttributeSelector.prototype, \"type\", {\n get: function () {\n return NodeType.AttributeSelector;\n },\n enumerable: false,\n configurable: true\n });\n AttributeSelector.prototype.setNamespacePrefix = function (value) {\n return this.setNode('namespacePrefix', value);\n };\n AttributeSelector.prototype.getNamespacePrefix = function () {\n return this.namespacePrefix;\n };\n AttributeSelector.prototype.setIdentifier = function (value) {\n return this.setNode('identifier', value);\n };\n AttributeSelector.prototype.getIdentifier = function () {\n return this.identifier;\n };\n AttributeSelector.prototype.setOperator = function (operator) {\n return this.setNode('operator', operator);\n };\n AttributeSelector.prototype.getOperator = function () {\n return this.operator;\n };\n AttributeSelector.prototype.setValue = function (value) {\n return this.setNode('value', value);\n };\n AttributeSelector.prototype.getValue = function () {\n return this.value;\n };\n return AttributeSelector;\n}(Node));\n\nvar Operator = /** @class */ (function (_super) {\n __extends(Operator, _super);\n function Operator(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Operator.prototype, \"type\", {\n get: function () {\n return NodeType.Operator;\n },\n enumerable: false,\n configurable: true\n });\n return Operator;\n}(Node));\n\nvar HexColorValue = /** @class */ (function (_super) {\n __extends(HexColorValue, _super);\n function HexColorValue(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(HexColorValue.prototype, \"type\", {\n get: function () {\n return NodeType.HexColorValue;\n },\n enumerable: false,\n configurable: true\n });\n return HexColorValue;\n}(Node));\n\nvar _dot = '.'.charCodeAt(0), _0 = '0'.charCodeAt(0), _9 = '9'.charCodeAt(0);\nvar NumericValue = /** @class */ (function (_super) {\n __extends(NumericValue, _super);\n function NumericValue(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(NumericValue.prototype, \"type\", {\n get: function () {\n return NodeType.NumericValue;\n },\n enumerable: false,\n configurable: true\n });\n NumericValue.prototype.getValue = function () {\n var raw = this.getText();\n var unitIdx = 0;\n var code;\n for (var i = 0, len = raw.length; i < len; i++) {\n code = raw.charCodeAt(i);\n if (!(_0 <= code && code <= _9 || code === _dot)) {\n break;\n }\n unitIdx += 1;\n }\n return {\n value: raw.substring(0, unitIdx),\n unit: unitIdx < raw.length ? raw.substring(unitIdx) : undefined\n };\n };\n return NumericValue;\n}(Node));\n\nvar VariableDeclaration = /** @class */ (function (_super) {\n __extends(VariableDeclaration, _super);\n function VariableDeclaration(offset, length) {\n var _this = _super.call(this, offset, length) || this;\n _this.variable = null;\n _this.value = null;\n _this.needsSemicolon = true;\n return _this;\n }\n Object.defineProperty(VariableDeclaration.prototype, \"type\", {\n get: function () {\n return NodeType.VariableDeclaration;\n },\n enumerable: false,\n configurable: true\n });\n VariableDeclaration.prototype.setVariable = function (node) {\n if (node) {\n node.attachTo(this);\n this.variable = node;\n return true;\n }\n return false;\n };\n VariableDeclaration.prototype.getVariable = function () {\n return this.variable;\n };\n VariableDeclaration.prototype.getName = function () {\n return this.variable ? this.variable.getName() : '';\n };\n VariableDeclaration.prototype.setValue = function (node) {\n if (node) {\n node.attachTo(this);\n this.value = node;\n return true;\n }\n return false;\n };\n VariableDeclaration.prototype.getValue = function () {\n return this.value;\n };\n return VariableDeclaration;\n}(AbstractDeclaration));\n\nvar Interpolation = /** @class */ (function (_super) {\n __extends(Interpolation, _super);\n // private _interpolations: void; // workaround for https://github.com/Microsoft/TypeScript/issues/18276\n function Interpolation(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Interpolation.prototype, \"type\", {\n get: function () {\n return NodeType.Interpolation;\n },\n enumerable: false,\n configurable: true\n });\n return Interpolation;\n}(Node));\n\nvar Variable = /** @class */ (function (_super) {\n __extends(Variable, _super);\n function Variable(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(Variable.prototype, \"type\", {\n get: function () {\n return NodeType.VariableName;\n },\n enumerable: false,\n configurable: true\n });\n Variable.prototype.getName = function () {\n return this.getText();\n };\n return Variable;\n}(Node));\n\nvar ExtendsReference = /** @class */ (function (_super) {\n __extends(ExtendsReference, _super);\n function ExtendsReference(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(ExtendsReference.prototype, \"type\", {\n get: function () {\n return NodeType.ExtendsReference;\n },\n enumerable: false,\n configurable: true\n });\n ExtendsReference.prototype.getSelectors = function () {\n if (!this.selectors) {\n this.selectors = new Nodelist(this);\n }\n return this.selectors;\n };\n return ExtendsReference;\n}(Node));\n\nvar MixinContentReference = /** @class */ (function (_super) {\n __extends(MixinContentReference, _super);\n function MixinContentReference(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(MixinContentReference.prototype, \"type\", {\n get: function () {\n return NodeType.MixinContentReference;\n },\n enumerable: false,\n configurable: true\n });\n MixinContentReference.prototype.getArguments = function () {\n if (!this.arguments) {\n this.arguments = new Nodelist(this);\n }\n return this.arguments;\n };\n return MixinContentReference;\n}(Node));\n\nvar MixinContentDeclaration = /** @class */ (function (_super) {\n __extends(MixinContentDeclaration, _super);\n function MixinContentDeclaration(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(MixinContentDeclaration.prototype, \"type\", {\n get: function () {\n return NodeType.MixinContentReference;\n },\n enumerable: false,\n configurable: true\n });\n MixinContentDeclaration.prototype.getParameters = function () {\n if (!this.parameters) {\n this.parameters = new Nodelist(this);\n }\n return this.parameters;\n };\n return MixinContentDeclaration;\n}(BodyDeclaration));\n\nvar MixinReference = /** @class */ (function (_super) {\n __extends(MixinReference, _super);\n function MixinReference(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(MixinReference.prototype, \"type\", {\n get: function () {\n return NodeType.MixinReference;\n },\n enumerable: false,\n configurable: true\n });\n MixinReference.prototype.getNamespaces = function () {\n if (!this.namespaces) {\n this.namespaces = new Nodelist(this);\n }\n return this.namespaces;\n };\n MixinReference.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n MixinReference.prototype.getIdentifier = function () {\n return this.identifier;\n };\n MixinReference.prototype.getName = function () {\n return this.identifier ? this.identifier.getText() : '';\n };\n MixinReference.prototype.getArguments = function () {\n if (!this.arguments) {\n this.arguments = new Nodelist(this);\n }\n return this.arguments;\n };\n MixinReference.prototype.setContent = function (node) {\n return this.setNode('content', node);\n };\n MixinReference.prototype.getContent = function () {\n return this.content;\n };\n return MixinReference;\n}(Node));\n\nvar MixinDeclaration = /** @class */ (function (_super) {\n __extends(MixinDeclaration, _super);\n function MixinDeclaration(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(MixinDeclaration.prototype, \"type\", {\n get: function () {\n return NodeType.MixinDeclaration;\n },\n enumerable: false,\n configurable: true\n });\n MixinDeclaration.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n MixinDeclaration.prototype.getIdentifier = function () {\n return this.identifier;\n };\n MixinDeclaration.prototype.getName = function () {\n return this.identifier ? this.identifier.getText() : '';\n };\n MixinDeclaration.prototype.getParameters = function () {\n if (!this.parameters) {\n this.parameters = new Nodelist(this);\n }\n return this.parameters;\n };\n MixinDeclaration.prototype.setGuard = function (node) {\n if (node) {\n node.attachTo(this);\n this.guard = node;\n }\n return false;\n };\n return MixinDeclaration;\n}(BodyDeclaration));\n\nvar UnknownAtRule = /** @class */ (function (_super) {\n __extends(UnknownAtRule, _super);\n function UnknownAtRule(offset, length) {\n return _super.call(this, offset, length) || this;\n }\n Object.defineProperty(UnknownAtRule.prototype, \"type\", {\n get: function () {\n return NodeType.UnknownAtRule;\n },\n enumerable: false,\n configurable: true\n });\n UnknownAtRule.prototype.setAtRuleName = function (atRuleName) {\n this.atRuleName = atRuleName;\n };\n UnknownAtRule.prototype.getAtRuleName = function () {\n return this.atRuleName;\n };\n return UnknownAtRule;\n}(BodyDeclaration));\n\nvar ListEntry = /** @class */ (function (_super) {\n __extends(ListEntry, _super);\n function ListEntry() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(ListEntry.prototype, \"type\", {\n get: function () {\n return NodeType.ListEntry;\n },\n enumerable: false,\n configurable: true\n });\n ListEntry.prototype.setKey = function (node) {\n return this.setNode('key', node, 0);\n };\n ListEntry.prototype.setValue = function (node) {\n return this.setNode('value', node, 1);\n };\n return ListEntry;\n}(Node));\n\nvar LessGuard = /** @class */ (function (_super) {\n __extends(LessGuard, _super);\n function LessGuard() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n LessGuard.prototype.getConditions = function () {\n if (!this.conditions) {\n this.conditions = new Nodelist(this);\n }\n return this.conditions;\n };\n return LessGuard;\n}(Node));\n\nvar GuardCondition = /** @class */ (function (_super) {\n __extends(GuardCondition, _super);\n function GuardCondition() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n GuardCondition.prototype.setVariable = function (node) {\n return this.setNode('variable', node);\n };\n return GuardCondition;\n}(Node));\n\nvar Module = /** @class */ (function (_super) {\n __extends(Module, _super);\n function Module() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(Module.prototype, \"type\", {\n get: function () {\n return NodeType.Module;\n },\n enumerable: false,\n configurable: true\n });\n Module.prototype.setIdentifier = function (node) {\n return this.setNode('identifier', node, 0);\n };\n Module.prototype.getIdentifier = function () {\n return this.identifier;\n };\n return Module;\n}(Node));\n\nvar Level;\n(function (Level) {\n Level[Level[\"Ignore\"] = 1] = \"Ignore\";\n Level[Level[\"Warning\"] = 2] = \"Warning\";\n Level[Level[\"Error\"] = 4] = \"Error\";\n})(Level || (Level = {}));\nvar Marker = /** @class */ (function () {\n function Marker(node, rule, level, message, offset, length) {\n if (offset === void 0) { offset = node.offset; }\n if (length === void 0) { length = node.length; }\n this.node = node;\n this.rule = rule;\n this.level = level;\n this.message = message || rule.message;\n this.offset = offset;\n this.length = length;\n }\n Marker.prototype.getRule = function () {\n return this.rule;\n };\n Marker.prototype.getLevel = function () {\n return this.level;\n };\n Marker.prototype.getOffset = function () {\n return this.offset;\n };\n Marker.prototype.getLength = function () {\n return this.length;\n };\n Marker.prototype.getNode = function () {\n return this.node;\n };\n Marker.prototype.getMessage = function () {\n return this.message;\n };\n return Marker;\n}());\n\n/*\nexport class DefaultVisitor implements IVisitor {\n\n public visitNode(node:Node):boolean {\n switch (node.type) {\n case NodeType.Stylesheet:\n return this.visitStylesheet(<Stylesheet> node);\n case NodeType.FontFace:\n return this.visitFontFace(<FontFace> node);\n case NodeType.Ruleset:\n return this.visitRuleSet(<RuleSet> node);\n case NodeType.Selector:\n return this.visitSelector(<Selector> node);\n case NodeType.SimpleSelector:\n return this.visitSimpleSelector(<SimpleSelector> node);\n case NodeType.Declaration:\n return this.visitDeclaration(<Declaration> node);\n case NodeType.Function:\n return this.visitFunction(<Function> node);\n case NodeType.FunctionDeclaration:\n return this.visitFunctionDeclaration(<FunctionDeclaration> node);\n case NodeType.FunctionParameter:\n return this.visitFunctionParameter(<FunctionParameter> node);\n case NodeType.FunctionArgument:\n return this.visitFunctionArgument(<FunctionArgument> node);\n case NodeType.Term:\n return this.visitTerm(<Term> node);\n case NodeType.Declaration:\n return this.visitExpression(<Expression> node);\n case NodeType.NumericValue:\n return this.visitNumericValue(<NumericValue> node);\n case NodeType.Page:\n return this.visitPage(<Page> node);\n case NodeType.PageBoxMarginBox:\n return this.visitPageBoxMarginBox(<PageBoxMarginBox> node);\n case NodeType.Property:\n return this.visitProperty(<Property> node);\n case NodeType.NumericValue:\n return this.visitNodelist(<Nodelist> node);\n case NodeType.Import:\n return this.visitImport(<Import> node);\n case NodeType.Namespace:\n return this.visitNamespace(<Namespace> node);\n case NodeType.Keyframe:\n return this.visitKeyframe(<Keyframe> node);\n case NodeType.KeyframeSelector:\n return this.visitKeyframeSelector(<KeyframeSelector> node);\n case NodeType.MixinDeclaration:\n return this.visitMixinDeclaration(<MixinDeclaration> node);\n case NodeType.MixinReference:\n return this.visitMixinReference(<MixinReference> node);\n case NodeType.Variable:\n return this.visitVariable(<Variable> node);\n case NodeType.VariableDeclaration:\n return this.visitVariableDeclaration(<VariableDeclaration> node);\n }\n return this.visitUnknownNode(node);\n }\n\n public visitFontFace(node:FontFace):boolean {\n return true;\n }\n\n public visitKeyframe(node:Keyframe):boolean {\n return true;\n }\n\n public visitKeyframeSelector(node:KeyframeSelector):boolean {\n return true;\n }\n\n public visitStylesheet(node:Stylesheet):boolean {\n return true;\n }\n\n public visitProperty(Node:Property):boolean {\n return true;\n }\n\n public visitRuleSet(node:RuleSet):boolean {\n return true;\n }\n\n public visitSelector(node:Selector):boolean {\n return true;\n }\n\n public visitSimpleSelector(node:SimpleSelector):boolean {\n return true;\n }\n\n public visitDeclaration(node:Declaration):boolean {\n return true;\n }\n\n public visitFunction(node:Function):boolean {\n return true;\n }\n\n public visitFunctionDeclaration(node:FunctionDeclaration):boolean {\n return true;\n }\n\n public visitInvocation(node:Invocation):boolean {\n return true;\n }\n\n public visitTerm(node:Term):boolean {\n return true;\n }\n\n public visitImport(node:Import):boolean {\n return true;\n }\n\n public visitNamespace(node:Namespace):boolean {\n return true;\n }\n\n public visitExpression(node:Expression):boolean {\n return true;\n }\n\n public visitNumericValue(node:NumericValue):boolean {\n return true;\n }\n\n public visitPage(node:Page):boolean {\n return true;\n }\n\n public visitPageBoxMarginBox(node:PageBoxMarginBox):boolean {\n return true;\n }\n\n public visitNodelist(node:Nodelist):boolean {\n return true;\n }\n\n public visitVariableDeclaration(node:VariableDeclaration):boolean {\n return true;\n }\n\n public visitVariable(node:Variable):boolean {\n return true;\n }\n\n public visitMixinDeclaration(node:MixinDeclaration):boolean {\n return true;\n }\n\n public visitMixinReference(node:MixinReference):boolean {\n return true;\n }\n\n public visitUnknownNode(node:Node):boolean {\n return true;\n }\n}\n*/\nvar ParseErrorCollector = /** @class */ (function () {\n function ParseErrorCollector() {\n this.entries = [];\n }\n ParseErrorCollector.entries = function (node) {\n var visitor = new ParseErrorCollector();\n node.acceptVisitor(visitor);\n return visitor.entries;\n };\n ParseErrorCollector.prototype.visitNode = function (node) {\n if (node.isErroneous()) {\n node.collectIssues(this.entries);\n }\n return true;\n };\n return ParseErrorCollector;\n}());\n\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssNodes.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssParser.js":
|
||
/*!*************************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssParser.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 */ \"Parser\": () => (/* binding */ Parser)\n/* harmony export */ });\n/* harmony import */ var _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./cssScanner.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssScanner.js\");\n/* harmony import */ var _cssNodes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./cssNodes.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssNodes.js\");\n/* harmony import */ var _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./cssErrors.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssErrors.js\");\n/* harmony import */ var _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../languageFacts/facts.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/facts.js\");\n/* harmony import */ var _utils_objects_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/objects.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/utils/objects.js\");\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\n\n\n\n\n/// <summary>\n/// A parser for the css core specification. See for reference:\n/// https://www.w3.org/TR/CSS21/grammar.html\n/// http://www.w3.org/TR/CSS21/syndata.html#tokenization\n/// </summary>\nvar Parser = /** @class */ (function () {\n function Parser(scnr) {\n if (scnr === void 0) { scnr = new _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.Scanner(); }\n this.keyframeRegex = /^@(\\-(webkit|ms|moz|o)\\-)?keyframes$/i;\n this.scanner = scnr;\n this.token = { type: _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.EOF, offset: -1, len: 0, text: '' };\n this.prevToken = undefined;\n }\n Parser.prototype.peekIdent = function (text) {\n return _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Ident === this.token.type && text.length === this.token.text.length && text === this.token.text.toLowerCase();\n };\n Parser.prototype.peekKeyword = function (text) {\n return _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.AtKeyword === this.token.type && text.length === this.token.text.length && text === this.token.text.toLowerCase();\n };\n Parser.prototype.peekDelim = function (text) {\n return _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Delim === this.token.type && text === this.token.text;\n };\n Parser.prototype.peek = function (type) {\n return type === this.token.type;\n };\n Parser.prototype.peekOne = function (types) {\n return types.indexOf(this.token.type) !== -1;\n };\n Parser.prototype.peekRegExp = function (type, regEx) {\n if (type !== this.token.type) {\n return false;\n }\n return regEx.test(this.token.text);\n };\n Parser.prototype.hasWhitespace = function () {\n return !!this.prevToken && (this.prevToken.offset + this.prevToken.len !== this.token.offset);\n };\n Parser.prototype.consumeToken = function () {\n this.prevToken = this.token;\n this.token = this.scanner.scan();\n };\n Parser.prototype.mark = function () {\n return {\n prev: this.prevToken,\n curr: this.token,\n pos: this.scanner.pos()\n };\n };\n Parser.prototype.restoreAtMark = function (mark) {\n this.prevToken = mark.prev;\n this.token = mark.curr;\n this.scanner.goBackTo(mark.pos);\n };\n Parser.prototype.try = function (func) {\n var pos = this.mark();\n var node = func();\n if (!node) {\n this.restoreAtMark(pos);\n return null;\n }\n return node;\n };\n Parser.prototype.acceptOneKeyword = function (keywords) {\n if (_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.AtKeyword === this.token.type) {\n for (var _i = 0, keywords_1 = keywords; _i < keywords_1.length; _i++) {\n var keyword = keywords_1[_i];\n if (keyword.length === this.token.text.length && keyword === this.token.text.toLowerCase()) {\n this.consumeToken();\n return true;\n }\n }\n }\n return false;\n };\n Parser.prototype.accept = function (type) {\n if (type === this.token.type) {\n this.consumeToken();\n return true;\n }\n return false;\n };\n Parser.prototype.acceptIdent = function (text) {\n if (this.peekIdent(text)) {\n this.consumeToken();\n return true;\n }\n return false;\n };\n Parser.prototype.acceptKeyword = function (text) {\n if (this.peekKeyword(text)) {\n this.consumeToken();\n return true;\n }\n return false;\n };\n Parser.prototype.acceptDelim = function (text) {\n if (this.peekDelim(text)) {\n this.consumeToken();\n return true;\n }\n return false;\n };\n Parser.prototype.acceptRegexp = function (regEx) {\n if (regEx.test(this.token.text)) {\n this.consumeToken();\n return true;\n }\n return false;\n };\n Parser.prototype._parseRegexp = function (regEx) {\n var node = this.createNode(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.Identifier);\n do { } while (this.acceptRegexp(regEx));\n return this.finish(node);\n };\n Parser.prototype.acceptUnquotedString = function () {\n var pos = this.scanner.pos();\n this.scanner.goBackTo(this.token.offset);\n var unquoted = this.scanner.scanUnquotedString();\n if (unquoted) {\n this.token = unquoted;\n this.consumeToken();\n return true;\n }\n this.scanner.goBackTo(pos);\n return false;\n };\n Parser.prototype.resync = function (resyncTokens, resyncStopTokens) {\n while (true) {\n if (resyncTokens && resyncTokens.indexOf(this.token.type) !== -1) {\n this.consumeToken();\n return true;\n }\n else if (resyncStopTokens && resyncStopTokens.indexOf(this.token.type) !== -1) {\n return true;\n }\n else {\n if (this.token.type === _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.EOF) {\n return false;\n }\n this.token = this.scanner.scan();\n }\n }\n };\n Parser.prototype.createNode = function (nodeType) {\n return new _cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.Node(this.token.offset, this.token.len, nodeType);\n };\n Parser.prototype.create = function (ctor) {\n return new ctor(this.token.offset, this.token.len);\n };\n Parser.prototype.finish = function (node, error, resyncTokens, resyncStopTokens) {\n // parseNumeric misuses error for boolean flagging (however the real error mustn't be a false)\n // + nodelist offsets mustn't be modified, because there is a offset hack in rulesets for smartselection\n if (!(node instanceof _cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.Nodelist)) {\n if (error) {\n this.markError(node, error, resyncTokens, resyncStopTokens);\n }\n // set the node end position\n if (this.prevToken) {\n // length with more elements belonging together\n var prevEnd = this.prevToken.offset + this.prevToken.len;\n node.length = prevEnd > node.offset ? prevEnd - node.offset : 0; // offset is taken from current token, end from previous: Use 0 for empty nodes\n }\n }\n return node;\n };\n Parser.prototype.markError = function (node, error, resyncTokens, resyncStopTokens) {\n if (this.token !== this.lastErrorToken) { // do not report twice on the same token\n node.addIssue(new _cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.Marker(node, error, _cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.Level.Error, undefined, this.token.offset, this.token.len));\n this.lastErrorToken = this.token;\n }\n if (resyncTokens || resyncStopTokens) {\n this.resync(resyncTokens, resyncStopTokens);\n }\n };\n Parser.prototype.parseStylesheet = function (textDocument) {\n var versionId = textDocument.version;\n var text = textDocument.getText();\n var textProvider = function (offset, length) {\n if (textDocument.version !== versionId) {\n throw new Error('Underlying model has changed, AST is no longer valid');\n }\n return text.substr(offset, length);\n };\n return this.internalParse(text, this._parseStylesheet, textProvider);\n };\n Parser.prototype.internalParse = function (input, parseFunc, textProvider) {\n this.scanner.setSource(input);\n this.token = this.scanner.scan();\n var node = parseFunc.bind(this)();\n if (node) {\n if (textProvider) {\n node.textProvider = textProvider;\n }\n else {\n node.textProvider = function (offset, length) { return input.substr(offset, length); };\n }\n }\n return node;\n };\n Parser.prototype._parseStylesheet = function () {\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.Stylesheet);\n while (node.addChild(this._parseStylesheetStart())) {\n // Parse statements only valid at the beginning of stylesheets.\n }\n var inRecovery = false;\n do {\n var hasMatch = false;\n do {\n hasMatch = false;\n var statement = this._parseStylesheetStatement();\n if (statement) {\n node.addChild(statement);\n hasMatch = true;\n inRecovery = false;\n if (!this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.EOF) && this._needsSemicolonAfter(statement) && !this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.SemiColon)) {\n this.markError(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.SemiColonExpected);\n }\n }\n while (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.SemiColon) || this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.CDO) || this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.CDC)) {\n // accept empty statements\n hasMatch = true;\n inRecovery = false;\n }\n } while (hasMatch);\n if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.EOF)) {\n break;\n }\n if (!inRecovery) {\n if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.AtKeyword)) {\n this.markError(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.UnknownAtRule);\n }\n else {\n this.markError(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.RuleOrSelectorExpected);\n }\n inRecovery = true;\n }\n this.consumeToken();\n } while (!this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.EOF));\n return this.finish(node);\n };\n Parser.prototype._parseStylesheetStart = function () {\n return this._parseCharset();\n };\n Parser.prototype._parseStylesheetStatement = function (isNested) {\n if (isNested === void 0) { isNested = false; }\n if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.AtKeyword)) {\n return this._parseStylesheetAtStatement(isNested);\n }\n return this._parseRuleset(isNested);\n };\n Parser.prototype._parseStylesheetAtStatement = function (isNested) {\n if (isNested === void 0) { isNested = false; }\n return this._parseImport()\n || this._parseMedia(isNested)\n || this._parsePage()\n || this._parseFontFace()\n || this._parseKeyframe()\n || this._parseSupports(isNested)\n || this._parseViewPort()\n || this._parseNamespace()\n || this._parseDocument()\n || this._parseUnknownAtRule();\n };\n Parser.prototype._tryParseRuleset = function (isNested) {\n var mark = this.mark();\n if (this._parseSelector(isNested)) {\n while (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Comma) && this._parseSelector(isNested)) {\n // loop\n }\n if (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.CurlyL)) {\n this.restoreAtMark(mark);\n return this._parseRuleset(isNested);\n }\n }\n this.restoreAtMark(mark);\n return null;\n };\n Parser.prototype._parseRuleset = function (isNested) {\n if (isNested === void 0) { isNested = false; }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.RuleSet);\n var selectors = node.getSelectors();\n if (!selectors.addChild(this._parseSelector(isNested))) {\n return null;\n }\n while (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Comma)) {\n if (!selectors.addChild(this._parseSelector(isNested))) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.SelectorExpected);\n }\n }\n return this._parseBody(node, this._parseRuleSetDeclaration.bind(this));\n };\n Parser.prototype._parseRuleSetDeclarationAtStatement = function () {\n return this._parseAtApply()\n || this._parseUnknownAtRule();\n };\n Parser.prototype._parseRuleSetDeclaration = function () {\n // https://www.w3.org/TR/css-syntax-3/#consume-a-list-of-declarations0\n if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.AtKeyword)) {\n return this._parseRuleSetDeclarationAtStatement();\n }\n return this._parseDeclaration();\n };\n /**\n * Parses declarations like:\n * @apply --my-theme;\n *\n * Follows https://tabatkins.github.io/specs/css-apply-rule/#using\n */\n Parser.prototype._parseAtApply = function () {\n if (!this.peekKeyword('@apply')) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.AtApplyRule);\n this.consumeToken();\n if (!node.setIdentifier(this._parseIdent([_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.ReferenceType.Variable]))) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.IdentifierExpected);\n }\n return this.finish(node);\n };\n Parser.prototype._needsSemicolonAfter = function (node) {\n switch (node.type) {\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.Keyframe:\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.ViewPort:\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.Media:\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.Ruleset:\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.Namespace:\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.If:\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.For:\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.Each:\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.While:\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.MixinDeclaration:\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.FunctionDeclaration:\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.MixinContentDeclaration:\n return false;\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.ExtendsReference:\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.MixinContentReference:\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.ReturnStatement:\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.MediaQuery:\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.Debug:\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.Import:\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.AtApplyRule:\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.CustomPropertyDeclaration:\n return true;\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.VariableDeclaration:\n return node.needsSemicolon;\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.MixinReference:\n return !node.getContent();\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.Declaration:\n return !node.getNestedProperties();\n }\n return false;\n };\n Parser.prototype._parseDeclarations = function (parseDeclaration) {\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.Declarations);\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.CurlyL)) {\n return null;\n }\n var decl = parseDeclaration();\n while (node.addChild(decl)) {\n if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.CurlyR)) {\n break;\n }\n if (this._needsSemicolonAfter(decl) && !this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.SemiColon)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.SemiColonExpected, [_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.SemiColon, _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.CurlyR]);\n }\n // We accepted semicolon token. Link it to declaration.\n if (decl && this.prevToken && this.prevToken.type === _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.SemiColon) {\n decl.semicolonPosition = this.prevToken.offset;\n }\n while (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.SemiColon)) {\n // accept empty statements\n }\n decl = parseDeclaration();\n }\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.CurlyR)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.RightCurlyExpected, [_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.CurlyR, _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.SemiColon]);\n }\n return this.finish(node);\n };\n Parser.prototype._parseBody = function (node, parseDeclaration) {\n if (!node.setDeclarations(this._parseDeclarations(parseDeclaration))) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.LeftCurlyExpected, [_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.CurlyR, _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.SemiColon]);\n }\n return this.finish(node);\n };\n Parser.prototype._parseSelector = function (isNested) {\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.Selector);\n var hasContent = false;\n if (isNested) {\n // nested selectors can start with a combinator\n hasContent = node.addChild(this._parseCombinator());\n }\n while (node.addChild(this._parseSimpleSelector())) {\n hasContent = true;\n node.addChild(this._parseCombinator()); // optional\n }\n return hasContent ? this.finish(node) : null;\n };\n Parser.prototype._parseDeclaration = function (stopTokens) {\n var custonProperty = this._tryParseCustomPropertyDeclaration(stopTokens);\n if (custonProperty) {\n return custonProperty;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.Declaration);\n if (!node.setProperty(this._parseProperty())) {\n return null;\n }\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Colon)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.ColonExpected, [_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Colon], stopTokens || [_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.SemiColon]);\n }\n if (this.prevToken) {\n node.colonPosition = this.prevToken.offset;\n }\n if (!node.setValue(this._parseExpr())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.PropertyValueExpected);\n }\n node.addChild(this._parsePrio());\n if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.SemiColon)) {\n node.semicolonPosition = this.token.offset; // not part of the declaration, but useful information for code assist\n }\n return this.finish(node);\n };\n Parser.prototype._tryParseCustomPropertyDeclaration = function (stopTokens) {\n if (!this.peekRegExp(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Ident, /^--/)) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.CustomPropertyDeclaration);\n if (!node.setProperty(this._parseProperty())) {\n return null;\n }\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Colon)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.ColonExpected, [_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Colon]);\n }\n if (this.prevToken) {\n node.colonPosition = this.prevToken.offset;\n }\n var mark = this.mark();\n if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.CurlyL)) {\n // try to parse it as nested declaration\n var propertySet = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.CustomPropertySet);\n var declarations = this._parseDeclarations(this._parseRuleSetDeclaration.bind(this));\n if (propertySet.setDeclarations(declarations) && !declarations.isErroneous(true)) {\n propertySet.addChild(this._parsePrio());\n if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.SemiColon)) {\n this.finish(propertySet);\n node.setPropertySet(propertySet);\n node.semicolonPosition = this.token.offset; // not part of the declaration, but useful information for code assist\n return this.finish(node);\n }\n }\n this.restoreAtMark(mark);\n }\n // try tp parse as expression\n var expression = this._parseExpr();\n if (expression && !expression.isErroneous(true)) {\n this._parsePrio();\n if (this.peekOne(stopTokens || [_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.SemiColon])) {\n node.setValue(expression);\n node.semicolonPosition = this.token.offset; // not part of the declaration, but useful information for code assist\n return this.finish(node);\n }\n }\n this.restoreAtMark(mark);\n node.addChild(this._parseCustomPropertyValue(stopTokens));\n node.addChild(this._parsePrio());\n if ((0,_utils_objects_js__WEBPACK_IMPORTED_MODULE_4__.isDefined)(node.colonPosition) && this.token.offset === node.colonPosition + 1) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.PropertyValueExpected);\n }\n return this.finish(node);\n };\n /**\n * Parse custom property values.\n *\n * Based on https://www.w3.org/TR/css-variables/#syntax\n *\n * This code is somewhat unusual, as the allowed syntax is incredibly broad,\n * parsing almost any sequence of tokens, save for a small set of exceptions.\n * Unbalanced delimitors, invalid tokens, and declaration\n * terminators like semicolons and !important directives (when not inside\n * of delimitors).\n */\n Parser.prototype._parseCustomPropertyValue = function (stopTokens) {\n var _this = this;\n if (stopTokens === void 0) { stopTokens = [_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.CurlyR]; }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.Node);\n var isTopLevel = function () { return curlyDepth === 0 && parensDepth === 0 && bracketsDepth === 0; };\n var onStopToken = function () { return stopTokens.indexOf(_this.token.type) !== -1; };\n var curlyDepth = 0;\n var parensDepth = 0;\n var bracketsDepth = 0;\n done: while (true) {\n switch (this.token.type) {\n case _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.SemiColon:\n // A semicolon only ends things if we're not inside a delimitor.\n if (isTopLevel()) {\n break done;\n }\n break;\n case _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Exclamation:\n // An exclamation ends the value if we're not inside delims.\n if (isTopLevel()) {\n break done;\n }\n break;\n case _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.CurlyL:\n curlyDepth++;\n break;\n case _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.CurlyR:\n curlyDepth--;\n if (curlyDepth < 0) {\n // The property value has been terminated without a semicolon, and\n // this is the last declaration in the ruleset.\n if (onStopToken() && parensDepth === 0 && bracketsDepth === 0) {\n break done;\n }\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.LeftCurlyExpected);\n }\n break;\n case _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.ParenthesisL:\n parensDepth++;\n break;\n case _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.ParenthesisR:\n parensDepth--;\n if (parensDepth < 0) {\n if (onStopToken() && bracketsDepth === 0 && curlyDepth === 0) {\n break done;\n }\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.LeftParenthesisExpected);\n }\n break;\n case _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.BracketL:\n bracketsDepth++;\n break;\n case _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.BracketR:\n bracketsDepth--;\n if (bracketsDepth < 0) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.LeftSquareBracketExpected);\n }\n break;\n case _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.BadString: // fall through\n break done;\n case _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.EOF:\n // We shouldn't have reached the end of input, something is\n // unterminated.\n var error = _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.RightCurlyExpected;\n if (bracketsDepth > 0) {\n error = _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.RightSquareBracketExpected;\n }\n else if (parensDepth > 0) {\n error = _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.RightParenthesisExpected;\n }\n return this.finish(node, error);\n }\n this.consumeToken();\n }\n return this.finish(node);\n };\n Parser.prototype._tryToParseDeclaration = function (stopTokens) {\n var mark = this.mark();\n if (this._parseProperty() && this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Colon)) {\n // looks like a declaration, go ahead\n this.restoreAtMark(mark);\n return this._parseDeclaration(stopTokens);\n }\n this.restoreAtMark(mark);\n return null;\n };\n Parser.prototype._parseProperty = function () {\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.Property);\n var mark = this.mark();\n if (this.acceptDelim('*') || this.acceptDelim('_')) {\n // support for IE 5.x, 6 and 7 star hack: see http://en.wikipedia.org/wiki/CSS_filter#Star_hack\n if (this.hasWhitespace()) {\n this.restoreAtMark(mark);\n return null;\n }\n }\n if (node.setIdentifier(this._parsePropertyIdentifier())) {\n return this.finish(node);\n }\n return null;\n };\n Parser.prototype._parsePropertyIdentifier = function () {\n return this._parseIdent();\n };\n Parser.prototype._parseCharset = function () {\n if (!this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Charset)) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.Node);\n this.consumeToken(); // charset\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.String)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.IdentifierExpected);\n }\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.SemiColon)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.SemiColonExpected);\n }\n return this.finish(node);\n };\n Parser.prototype._parseImport = function () {\n if (!this.peekKeyword('@import')) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.Import);\n this.consumeToken(); // @import\n if (!node.addChild(this._parseURILiteral()) && !node.addChild(this._parseStringLiteral())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.URIOrStringExpected);\n }\n if (!this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.SemiColon) && !this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.EOF)) {\n node.setMedialist(this._parseMediaQueryList());\n }\n return this.finish(node);\n };\n Parser.prototype._parseNamespace = function () {\n // http://www.w3.org/TR/css3-namespace/\n // namespace : NAMESPACE_SYM S* [IDENT S*]? [STRING|URI] S* ';' S*\n if (!this.peekKeyword('@namespace')) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.Namespace);\n this.consumeToken(); // @namespace\n if (!node.addChild(this._parseURILiteral())) { // url literal also starts with ident\n node.addChild(this._parseIdent()); // optional prefix\n if (!node.addChild(this._parseURILiteral()) && !node.addChild(this._parseStringLiteral())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.URIExpected, [_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.SemiColon]);\n }\n }\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.SemiColon)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.SemiColonExpected);\n }\n return this.finish(node);\n };\n Parser.prototype._parseFontFace = function () {\n if (!this.peekKeyword('@font-face')) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.FontFace);\n this.consumeToken(); // @font-face\n return this._parseBody(node, this._parseRuleSetDeclaration.bind(this));\n };\n Parser.prototype._parseViewPort = function () {\n if (!this.peekKeyword('@-ms-viewport') &&\n !this.peekKeyword('@-o-viewport') &&\n !this.peekKeyword('@viewport')) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.ViewPort);\n this.consumeToken(); // @-ms-viewport\n return this._parseBody(node, this._parseRuleSetDeclaration.bind(this));\n };\n Parser.prototype._parseKeyframe = function () {\n if (!this.peekRegExp(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.AtKeyword, this.keyframeRegex)) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.Keyframe);\n var atNode = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.Node);\n this.consumeToken(); // atkeyword\n node.setKeyword(this.finish(atNode));\n if (atNode.matches('@-ms-keyframes')) { // -ms-keyframes never existed\n this.markError(atNode, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.UnknownKeyword);\n }\n if (!node.setIdentifier(this._parseKeyframeIdent())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.IdentifierExpected, [_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.CurlyR]);\n }\n return this._parseBody(node, this._parseKeyframeSelector.bind(this));\n };\n Parser.prototype._parseKeyframeIdent = function () {\n return this._parseIdent([_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.ReferenceType.Keyframe]);\n };\n Parser.prototype._parseKeyframeSelector = function () {\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.KeyframeSelector);\n if (!node.addChild(this._parseIdent()) && !this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Percentage)) {\n return null;\n }\n while (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Comma)) {\n if (!node.addChild(this._parseIdent()) && !this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Percentage)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.PercentageExpected);\n }\n }\n return this._parseBody(node, this._parseRuleSetDeclaration.bind(this));\n };\n Parser.prototype._tryParseKeyframeSelector = function () {\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.KeyframeSelector);\n var pos = this.mark();\n if (!node.addChild(this._parseIdent()) && !this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Percentage)) {\n return null;\n }\n while (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Comma)) {\n if (!node.addChild(this._parseIdent()) && !this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Percentage)) {\n this.restoreAtMark(pos);\n return null;\n }\n }\n if (!this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.CurlyL)) {\n this.restoreAtMark(pos);\n return null;\n }\n return this._parseBody(node, this._parseRuleSetDeclaration.bind(this));\n };\n Parser.prototype._parseSupports = function (isNested) {\n if (isNested === void 0) { isNested = false; }\n // SUPPORTS_SYM S* supports_condition '{' S* ruleset* '}' S*\n if (!this.peekKeyword('@supports')) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.Supports);\n this.consumeToken(); // @supports\n node.addChild(this._parseSupportsCondition());\n return this._parseBody(node, this._parseSupportsDeclaration.bind(this, isNested));\n };\n Parser.prototype._parseSupportsDeclaration = function (isNested) {\n if (isNested === void 0) { isNested = false; }\n if (isNested) {\n // if nested, the body can contain rulesets, but also declarations\n return this._tryParseRuleset(true)\n || this._tryToParseDeclaration()\n || this._parseStylesheetStatement(true);\n }\n return this._parseStylesheetStatement(false);\n };\n Parser.prototype._parseSupportsCondition = function () {\n // supports_condition : supports_negation | supports_conjunction | supports_disjunction | supports_condition_in_parens ;\n // supports_condition_in_parens: ( '(' S* supports_condition S* ')' ) | supports_declaration_condition | general_enclosed ;\n // supports_negation: NOT S+ supports_condition_in_parens ;\n // supports_conjunction: supports_condition_in_parens ( S+ AND S+ supports_condition_in_parens )+;\n // supports_disjunction: supports_condition_in_parens ( S+ OR S+ supports_condition_in_parens )+;\n // supports_declaration_condition: '(' S* declaration ')';\n // general_enclosed: ( FUNCTION | '(' ) ( any | unused )* ')' ;\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.SupportsCondition);\n if (this.acceptIdent('not')) {\n node.addChild(this._parseSupportsConditionInParens());\n }\n else {\n node.addChild(this._parseSupportsConditionInParens());\n if (this.peekRegExp(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Ident, /^(and|or)$/i)) {\n var text = this.token.text.toLowerCase();\n while (this.acceptIdent(text)) {\n node.addChild(this._parseSupportsConditionInParens());\n }\n }\n }\n return this.finish(node);\n };\n Parser.prototype._parseSupportsConditionInParens = function () {\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.SupportsCondition);\n if (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.ParenthesisL)) {\n if (this.prevToken) {\n node.lParent = this.prevToken.offset;\n }\n if (!node.addChild(this._tryToParseDeclaration([_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.ParenthesisR]))) {\n if (!this._parseSupportsCondition()) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.ConditionExpected);\n }\n }\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.ParenthesisR)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.RightParenthesisExpected, [_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.ParenthesisR], []);\n }\n if (this.prevToken) {\n node.rParent = this.prevToken.offset;\n }\n return this.finish(node);\n }\n else if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Ident)) {\n var pos = this.mark();\n this.consumeToken();\n if (!this.hasWhitespace() && this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.ParenthesisL)) {\n var openParentCount = 1;\n while (this.token.type !== _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.EOF && openParentCount !== 0) {\n if (this.token.type === _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.ParenthesisL) {\n openParentCount++;\n }\n else if (this.token.type === _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.ParenthesisR) {\n openParentCount--;\n }\n this.consumeToken();\n }\n return this.finish(node);\n }\n else {\n this.restoreAtMark(pos);\n }\n }\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.LeftParenthesisExpected, [], [_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.ParenthesisL]);\n };\n Parser.prototype._parseMediaDeclaration = function (isNested) {\n if (isNested === void 0) { isNested = false; }\n if (isNested) {\n // if nested, the body can contain rulesets, but also declarations\n return this._tryParseRuleset(true)\n || this._tryToParseDeclaration()\n || this._parseStylesheetStatement(true);\n }\n return this._parseStylesheetStatement(false);\n };\n Parser.prototype._parseMedia = function (isNested) {\n if (isNested === void 0) { isNested = false; }\n // MEDIA_SYM S* media_query_list '{' S* ruleset* '}' S*\n // media_query_list : S* [media_query [ ',' S* media_query ]* ]?\n if (!this.peekKeyword('@media')) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.Media);\n this.consumeToken(); // @media\n if (!node.addChild(this._parseMediaQueryList())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.MediaQueryExpected);\n }\n return this._parseBody(node, this._parseMediaDeclaration.bind(this, isNested));\n };\n Parser.prototype._parseMediaQueryList = function () {\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.Medialist);\n if (!node.addChild(this._parseMediaQuery([_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.CurlyL]))) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.MediaQueryExpected);\n }\n while (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Comma)) {\n if (!node.addChild(this._parseMediaQuery([_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.CurlyL]))) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.MediaQueryExpected);\n }\n }\n return this.finish(node);\n };\n Parser.prototype._parseMediaQuery = function (resyncStopToken) {\n // http://www.w3.org/TR/css3-mediaqueries/\n // media_query : [ONLY | NOT]? S* IDENT S* [ AND S* expression ]* | expression [ AND S* expression ]*\n // expression : '(' S* IDENT S* [ ':' S* expr ]? ')' S*\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.MediaQuery);\n var parseExpression = true;\n var hasContent = false;\n if (!this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.ParenthesisL)) {\n if (this.acceptIdent('only') || this.acceptIdent('not')) {\n // optional\n }\n if (!node.addChild(this._parseIdent())) {\n return null;\n }\n hasContent = true;\n parseExpression = this.acceptIdent('and');\n }\n while (parseExpression) {\n // Allow short-circuting for other language constructs.\n if (node.addChild(this._parseMediaContentStart())) {\n parseExpression = this.acceptIdent('and');\n continue;\n }\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.ParenthesisL)) {\n if (hasContent) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.LeftParenthesisExpected, [], resyncStopToken);\n }\n return null;\n }\n if (!node.addChild(this._parseMediaFeatureName())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.IdentifierExpected, [], resyncStopToken);\n }\n if (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Colon)) {\n if (!node.addChild(this._parseExpr())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.TermExpected, [], resyncStopToken);\n }\n }\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.ParenthesisR)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.RightParenthesisExpected, [], resyncStopToken);\n }\n parseExpression = this.acceptIdent('and');\n }\n return this.finish(node);\n };\n Parser.prototype._parseMediaContentStart = function () {\n return null;\n };\n Parser.prototype._parseMediaFeatureName = function () {\n return this._parseIdent();\n };\n Parser.prototype._parseMedium = function () {\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.Node);\n if (node.addChild(this._parseIdent())) {\n return this.finish(node);\n }\n else {\n return null;\n }\n };\n Parser.prototype._parsePageDeclaration = function () {\n return this._parsePageMarginBox() || this._parseRuleSetDeclaration();\n };\n Parser.prototype._parsePage = function () {\n // http://www.w3.org/TR/css3-page/\n // page_rule : PAGE_SYM S* page_selector_list '{' S* page_body '}' S*\n // page_body : /* Can be empty */ declaration? [ ';' S* page_body ]? | page_margin_box page_body\n if (!this.peekKeyword('@page')) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.Page);\n this.consumeToken();\n if (node.addChild(this._parsePageSelector())) {\n while (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Comma)) {\n if (!node.addChild(this._parsePageSelector())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.IdentifierExpected);\n }\n }\n }\n return this._parseBody(node, this._parsePageDeclaration.bind(this));\n };\n Parser.prototype._parsePageMarginBox = function () {\n // page_margin_box : margin_sym S* '{' S* declaration? [ ';' S* declaration? ]* '}' S*\n if (!this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.AtKeyword)) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.PageBoxMarginBox);\n if (!this.acceptOneKeyword(_languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_3__.pageBoxDirectives)) {\n this.markError(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.UnknownAtRule, [], [_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.CurlyL]);\n }\n return this._parseBody(node, this._parseRuleSetDeclaration.bind(this));\n };\n Parser.prototype._parsePageSelector = function () {\n // page_selector : pseudo_page+ | IDENT pseudo_page*\n // pseudo_page : ':' [ \"left\" | \"right\" | \"first\" | \"blank\" ];\n if (!this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Ident) && !this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Colon)) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.Node);\n node.addChild(this._parseIdent()); // optional ident\n if (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Colon)) {\n if (!node.addChild(this._parseIdent())) { // optional ident\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.IdentifierExpected);\n }\n }\n return this.finish(node);\n };\n Parser.prototype._parseDocument = function () {\n // -moz-document is experimental but has been pushed to css4\n if (!this.peekKeyword('@-moz-document')) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.Document);\n this.consumeToken(); // @-moz-document\n this.resync([], [_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.CurlyL]); // ignore all the rules\n return this._parseBody(node, this._parseStylesheetStatement.bind(this));\n };\n // https://www.w3.org/TR/css-syntax-3/#consume-an-at-rule\n Parser.prototype._parseUnknownAtRule = function () {\n if (!this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.AtKeyword)) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.UnknownAtRule);\n node.addChild(this._parseUnknownAtRuleName());\n var isTopLevel = function () { return curlyDepth === 0 && parensDepth === 0 && bracketsDepth === 0; };\n var curlyLCount = 0;\n var curlyDepth = 0;\n var parensDepth = 0;\n var bracketsDepth = 0;\n done: while (true) {\n switch (this.token.type) {\n case _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.SemiColon:\n if (isTopLevel()) {\n break done;\n }\n break;\n case _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.EOF:\n if (curlyDepth > 0) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.RightCurlyExpected);\n }\n else if (bracketsDepth > 0) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.RightSquareBracketExpected);\n }\n else if (parensDepth > 0) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.RightParenthesisExpected);\n }\n else {\n return this.finish(node);\n }\n case _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.CurlyL:\n curlyLCount++;\n curlyDepth++;\n break;\n case _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.CurlyR:\n curlyDepth--;\n // End of at-rule, consume CurlyR and return node\n if (curlyLCount > 0 && curlyDepth === 0) {\n this.consumeToken();\n if (bracketsDepth > 0) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.RightSquareBracketExpected);\n }\n else if (parensDepth > 0) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.RightParenthesisExpected);\n }\n break done;\n }\n if (curlyDepth < 0) {\n // The property value has been terminated without a semicolon, and\n // this is the last declaration in the ruleset.\n if (parensDepth === 0 && bracketsDepth === 0) {\n break done;\n }\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.LeftCurlyExpected);\n }\n break;\n case _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.ParenthesisL:\n parensDepth++;\n break;\n case _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.ParenthesisR:\n parensDepth--;\n if (parensDepth < 0) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.LeftParenthesisExpected);\n }\n break;\n case _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.BracketL:\n bracketsDepth++;\n break;\n case _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.BracketR:\n bracketsDepth--;\n if (bracketsDepth < 0) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.LeftSquareBracketExpected);\n }\n break;\n }\n this.consumeToken();\n }\n return node;\n };\n Parser.prototype._parseUnknownAtRuleName = function () {\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.Node);\n if (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.AtKeyword)) {\n return this.finish(node);\n }\n return node;\n };\n Parser.prototype._parseOperator = function () {\n // these are operators for binary expressions\n if (this.peekDelim('/') ||\n this.peekDelim('*') ||\n this.peekDelim('+') ||\n this.peekDelim('-') ||\n this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Dashmatch) ||\n this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Includes) ||\n this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.SubstringOperator) ||\n this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.PrefixOperator) ||\n this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.SuffixOperator) ||\n this.peekDelim('=')) { // doesn't stick to the standard here\n var node = this.createNode(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.Operator);\n this.consumeToken();\n return this.finish(node);\n }\n else {\n return null;\n }\n };\n Parser.prototype._parseUnaryOperator = function () {\n if (!this.peekDelim('+') && !this.peekDelim('-')) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.Node);\n this.consumeToken();\n return this.finish(node);\n };\n Parser.prototype._parseCombinator = function () {\n if (this.peekDelim('>')) {\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.Node);\n this.consumeToken();\n var mark = this.mark();\n if (!this.hasWhitespace() && this.acceptDelim('>')) {\n if (!this.hasWhitespace() && this.acceptDelim('>')) {\n node.type = _cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.SelectorCombinatorShadowPiercingDescendant;\n return this.finish(node);\n }\n this.restoreAtMark(mark);\n }\n node.type = _cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.SelectorCombinatorParent;\n return this.finish(node);\n }\n else if (this.peekDelim('+')) {\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.Node);\n this.consumeToken();\n node.type = _cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.SelectorCombinatorSibling;\n return this.finish(node);\n }\n else if (this.peekDelim('~')) {\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.Node);\n this.consumeToken();\n node.type = _cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.SelectorCombinatorAllSiblings;\n return this.finish(node);\n }\n else if (this.peekDelim('/')) {\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.Node);\n this.consumeToken();\n var mark = this.mark();\n if (!this.hasWhitespace() && this.acceptIdent('deep') && !this.hasWhitespace() && this.acceptDelim('/')) {\n node.type = _cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.SelectorCombinatorShadowPiercingDescendant;\n return this.finish(node);\n }\n this.restoreAtMark(mark);\n }\n return null;\n };\n Parser.prototype._parseSimpleSelector = function () {\n // simple_selector\n // : element_name [ HASH | class | attrib | pseudo ]* | [ HASH | class | attrib | pseudo ]+ ;\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.SimpleSelector);\n var c = 0;\n if (node.addChild(this._parseElementName())) {\n c++;\n }\n while ((c === 0 || !this.hasWhitespace()) && node.addChild(this._parseSimpleSelectorBody())) {\n c++;\n }\n return c > 0 ? this.finish(node) : null;\n };\n Parser.prototype._parseSimpleSelectorBody = function () {\n return this._parsePseudo() || this._parseHash() || this._parseClass() || this._parseAttrib();\n };\n Parser.prototype._parseSelectorIdent = function () {\n return this._parseIdent();\n };\n Parser.prototype._parseHash = function () {\n if (!this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Hash) && !this.peekDelim('#')) {\n return null;\n }\n var node = this.createNode(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.IdentifierSelector);\n if (this.acceptDelim('#')) {\n if (this.hasWhitespace() || !node.addChild(this._parseSelectorIdent())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.IdentifierExpected);\n }\n }\n else {\n this.consumeToken(); // TokenType.Hash\n }\n return this.finish(node);\n };\n Parser.prototype._parseClass = function () {\n // class: '.' IDENT ;\n if (!this.peekDelim('.')) {\n return null;\n }\n var node = this.createNode(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.ClassSelector);\n this.consumeToken(); // '.'\n if (this.hasWhitespace() || !node.addChild(this._parseSelectorIdent())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.IdentifierExpected);\n }\n return this.finish(node);\n };\n Parser.prototype._parseElementName = function () {\n // element_name: (ns? '|')? IDENT | '*';\n var pos = this.mark();\n var node = this.createNode(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.ElementNameSelector);\n node.addChild(this._parseNamespacePrefix());\n if (!node.addChild(this._parseSelectorIdent()) && !this.acceptDelim('*')) {\n this.restoreAtMark(pos);\n return null;\n }\n return this.finish(node);\n };\n Parser.prototype._parseNamespacePrefix = function () {\n var pos = this.mark();\n var node = this.createNode(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.NamespacePrefix);\n if (!node.addChild(this._parseIdent()) && !this.acceptDelim('*')) {\n // ns is optional\n }\n if (!this.acceptDelim('|')) {\n this.restoreAtMark(pos);\n return null;\n }\n return this.finish(node);\n };\n Parser.prototype._parseAttrib = function () {\n // attrib : '[' S* IDENT S* [ [ '=' | INCLUDES | DASHMATCH ] S* [ IDENT | STRING ] S* ]? ']'\n if (!this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.BracketL)) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.AttributeSelector);\n this.consumeToken(); // BracketL\n // Optional attrib namespace\n node.setNamespacePrefix(this._parseNamespacePrefix());\n if (!node.setIdentifier(this._parseIdent())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.IdentifierExpected);\n }\n if (node.setOperator(this._parseOperator())) {\n node.setValue(this._parseBinaryExpr());\n this.acceptIdent('i'); // case insensitive matching\n }\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.BracketR)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.RightSquareBracketExpected);\n }\n return this.finish(node);\n };\n Parser.prototype._parsePseudo = function () {\n var _this = this;\n // pseudo: ':' [ IDENT | FUNCTION S* [IDENT S*]? ')' ]\n var node = this._tryParsePseudoIdentifier();\n if (node) {\n if (!this.hasWhitespace() && this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.ParenthesisL)) {\n var tryAsSelector = function () {\n var selectors = _this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.Node);\n if (!selectors.addChild(_this._parseSelector(false))) {\n return null;\n }\n while (_this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Comma) && selectors.addChild(_this._parseSelector(false))) {\n // loop\n }\n if (_this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.ParenthesisR)) {\n return _this.finish(selectors);\n }\n return null;\n };\n node.addChild(this.try(tryAsSelector) || this._parseBinaryExpr());\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.ParenthesisR)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.RightParenthesisExpected);\n }\n }\n return this.finish(node);\n }\n return null;\n };\n Parser.prototype._tryParsePseudoIdentifier = function () {\n if (!this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Colon)) {\n return null;\n }\n var pos = this.mark();\n var node = this.createNode(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.PseudoSelector);\n this.consumeToken(); // Colon\n if (this.hasWhitespace()) {\n this.restoreAtMark(pos);\n return null;\n }\n // optional, support ::\n this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Colon);\n if (this.hasWhitespace() || !node.addChild(this._parseIdent())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.IdentifierExpected);\n }\n return this.finish(node);\n };\n Parser.prototype._tryParsePrio = function () {\n var mark = this.mark();\n var prio = this._parsePrio();\n if (prio) {\n return prio;\n }\n this.restoreAtMark(mark);\n return null;\n };\n Parser.prototype._parsePrio = function () {\n if (!this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Exclamation)) {\n return null;\n }\n var node = this.createNode(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.Prio);\n if (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Exclamation) && this.acceptIdent('important')) {\n return this.finish(node);\n }\n return null;\n };\n Parser.prototype._parseExpr = function (stopOnComma) {\n if (stopOnComma === void 0) { stopOnComma = false; }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.Expression);\n if (!node.addChild(this._parseBinaryExpr())) {\n return null;\n }\n while (true) {\n if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Comma)) { // optional\n if (stopOnComma) {\n return this.finish(node);\n }\n this.consumeToken();\n }\n if (!node.addChild(this._parseBinaryExpr())) {\n break;\n }\n }\n return this.finish(node);\n };\n Parser.prototype._parseNamedLine = function () {\n // https://www.w3.org/TR/css-grid-1/#named-lines\n if (!this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.BracketL)) {\n return null;\n }\n var node = this.createNode(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.GridLine);\n this.consumeToken();\n while (node.addChild(this._parseIdent())) {\n // repeat\n }\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.BracketR)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.RightSquareBracketExpected);\n }\n return this.finish(node);\n };\n Parser.prototype._parseBinaryExpr = function (preparsedLeft, preparsedOper) {\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.BinaryExpression);\n if (!node.setLeft((preparsedLeft || this._parseTerm()))) {\n return null;\n }\n if (!node.setOperator(preparsedOper || this._parseOperator())) {\n return this.finish(node);\n }\n if (!node.setRight(this._parseTerm())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.TermExpected);\n }\n // things needed for multiple binary expressions\n node = this.finish(node);\n var operator = this._parseOperator();\n if (operator) {\n node = this._parseBinaryExpr(node, operator);\n }\n return this.finish(node);\n };\n Parser.prototype._parseTerm = function () {\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.Term);\n node.setOperator(this._parseUnaryOperator()); // optional\n if (node.setExpression(this._parseTermExpression())) {\n return this.finish(node);\n }\n return null;\n };\n Parser.prototype._parseTermExpression = function () {\n return this._parseURILiteral() || // url before function\n this._parseFunction() || // function before ident\n this._parseIdent() ||\n this._parseStringLiteral() ||\n this._parseNumeric() ||\n this._parseHexColor() ||\n this._parseOperation() ||\n this._parseNamedLine();\n };\n Parser.prototype._parseOperation = function () {\n if (!this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.ParenthesisL)) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.Node);\n this.consumeToken(); // ParenthesisL\n node.addChild(this._parseExpr());\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.ParenthesisR)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.RightParenthesisExpected);\n }\n return this.finish(node);\n };\n Parser.prototype._parseNumeric = function () {\n if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Num) ||\n this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Percentage) ||\n this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Resolution) ||\n this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Length) ||\n this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.EMS) ||\n this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.EXS) ||\n this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Angle) ||\n this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Time) ||\n this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Dimension) ||\n this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Freq)) {\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NumericValue);\n this.consumeToken();\n return this.finish(node);\n }\n return null;\n };\n Parser.prototype._parseStringLiteral = function () {\n if (!this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.String) && !this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.BadString)) {\n return null;\n }\n var node = this.createNode(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.StringLiteral);\n this.consumeToken();\n return this.finish(node);\n };\n Parser.prototype._parseURILiteral = function () {\n if (!this.peekRegExp(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Ident, /^url(-prefix)?$/i)) {\n return null;\n }\n var pos = this.mark();\n var node = this.createNode(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.URILiteral);\n this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Ident);\n if (this.hasWhitespace() || !this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.ParenthesisL)) {\n this.restoreAtMark(pos);\n return null;\n }\n this.scanner.inURL = true;\n this.consumeToken(); // consume ()\n node.addChild(this._parseURLArgument()); // argument is optional\n this.scanner.inURL = false;\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.ParenthesisR)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.RightParenthesisExpected);\n }\n return this.finish(node);\n };\n Parser.prototype._parseURLArgument = function () {\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.Node);\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.String) && !this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.BadString) && !this.acceptUnquotedString()) {\n return null;\n }\n return this.finish(node);\n };\n Parser.prototype._parseIdent = function (referenceTypes) {\n if (!this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Ident)) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.Identifier);\n if (referenceTypes) {\n node.referenceTypes = referenceTypes;\n }\n node.isCustomProperty = this.peekRegExp(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Ident, /^--/);\n this.consumeToken();\n return this.finish(node);\n };\n Parser.prototype._parseFunction = function () {\n var pos = this.mark();\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.Function);\n if (!node.setIdentifier(this._parseFunctionIdentifier())) {\n return null;\n }\n if (this.hasWhitespace() || !this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.ParenthesisL)) {\n this.restoreAtMark(pos);\n return null;\n }\n if (node.getArguments().addChild(this._parseFunctionArgument())) {\n while (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Comma)) {\n if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.ParenthesisR)) {\n break;\n }\n if (!node.getArguments().addChild(this._parseFunctionArgument())) {\n this.markError(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.ExpressionExpected);\n }\n }\n }\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.ParenthesisR)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_2__.ParseError.RightParenthesisExpected);\n }\n return this.finish(node);\n };\n Parser.prototype._parseFunctionIdentifier = function () {\n if (!this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Ident)) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.Identifier);\n node.referenceTypes = [_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.ReferenceType.Function];\n if (this.acceptIdent('progid')) {\n // support for IE7 specific filters: 'progid:DXImageTransform.Microsoft.MotionBlur(strength=13, direction=310)'\n if (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Colon)) {\n while (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Ident) && this.acceptDelim('.')) {\n // loop\n }\n }\n return this.finish(node);\n }\n this.consumeToken();\n return this.finish(node);\n };\n Parser.prototype._parseFunctionArgument = function () {\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.FunctionArgument);\n if (node.setValue(this._parseExpr(true))) {\n return this.finish(node);\n }\n return null;\n };\n Parser.prototype._parseHexColor = function () {\n if (this.peekRegExp(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Hash, /^#([A-Fa-f0-9]{3}|[A-Fa-f0-9]{4}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{8})$/g)) {\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.HexColorValue);\n this.consumeToken();\n return this.finish(node);\n }\n else {\n return null;\n }\n };\n return Parser;\n}());\n\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssParser.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssScanner.js":
|
||
/*!**************************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssScanner.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 */ \"TokenType\": () => (/* binding */ TokenType),\n/* harmony export */ \"MultiLineStream\": () => (/* binding */ MultiLineStream),\n/* harmony export */ \"Scanner\": () => (/* binding */ Scanner)\n/* harmony export */ });\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\nvar TokenType;\n(function (TokenType) {\n TokenType[TokenType[\"Ident\"] = 0] = \"Ident\";\n TokenType[TokenType[\"AtKeyword\"] = 1] = \"AtKeyword\";\n TokenType[TokenType[\"String\"] = 2] = \"String\";\n TokenType[TokenType[\"BadString\"] = 3] = \"BadString\";\n TokenType[TokenType[\"UnquotedString\"] = 4] = \"UnquotedString\";\n TokenType[TokenType[\"Hash\"] = 5] = \"Hash\";\n TokenType[TokenType[\"Num\"] = 6] = \"Num\";\n TokenType[TokenType[\"Percentage\"] = 7] = \"Percentage\";\n TokenType[TokenType[\"Dimension\"] = 8] = \"Dimension\";\n TokenType[TokenType[\"UnicodeRange\"] = 9] = \"UnicodeRange\";\n TokenType[TokenType[\"CDO\"] = 10] = \"CDO\";\n TokenType[TokenType[\"CDC\"] = 11] = \"CDC\";\n TokenType[TokenType[\"Colon\"] = 12] = \"Colon\";\n TokenType[TokenType[\"SemiColon\"] = 13] = \"SemiColon\";\n TokenType[TokenType[\"CurlyL\"] = 14] = \"CurlyL\";\n TokenType[TokenType[\"CurlyR\"] = 15] = \"CurlyR\";\n TokenType[TokenType[\"ParenthesisL\"] = 16] = \"ParenthesisL\";\n TokenType[TokenType[\"ParenthesisR\"] = 17] = \"ParenthesisR\";\n TokenType[TokenType[\"BracketL\"] = 18] = \"BracketL\";\n TokenType[TokenType[\"BracketR\"] = 19] = \"BracketR\";\n TokenType[TokenType[\"Whitespace\"] = 20] = \"Whitespace\";\n TokenType[TokenType[\"Includes\"] = 21] = \"Includes\";\n TokenType[TokenType[\"Dashmatch\"] = 22] = \"Dashmatch\";\n TokenType[TokenType[\"SubstringOperator\"] = 23] = \"SubstringOperator\";\n TokenType[TokenType[\"PrefixOperator\"] = 24] = \"PrefixOperator\";\n TokenType[TokenType[\"SuffixOperator\"] = 25] = \"SuffixOperator\";\n TokenType[TokenType[\"Delim\"] = 26] = \"Delim\";\n TokenType[TokenType[\"EMS\"] = 27] = \"EMS\";\n TokenType[TokenType[\"EXS\"] = 28] = \"EXS\";\n TokenType[TokenType[\"Length\"] = 29] = \"Length\";\n TokenType[TokenType[\"Angle\"] = 30] = \"Angle\";\n TokenType[TokenType[\"Time\"] = 31] = \"Time\";\n TokenType[TokenType[\"Freq\"] = 32] = \"Freq\";\n TokenType[TokenType[\"Exclamation\"] = 33] = \"Exclamation\";\n TokenType[TokenType[\"Resolution\"] = 34] = \"Resolution\";\n TokenType[TokenType[\"Comma\"] = 35] = \"Comma\";\n TokenType[TokenType[\"Charset\"] = 36] = \"Charset\";\n TokenType[TokenType[\"EscapedJavaScript\"] = 37] = \"EscapedJavaScript\";\n TokenType[TokenType[\"BadEscapedJavaScript\"] = 38] = \"BadEscapedJavaScript\";\n TokenType[TokenType[\"Comment\"] = 39] = \"Comment\";\n TokenType[TokenType[\"SingleLineComment\"] = 40] = \"SingleLineComment\";\n TokenType[TokenType[\"EOF\"] = 41] = \"EOF\";\n TokenType[TokenType[\"CustomToken\"] = 42] = \"CustomToken\";\n})(TokenType || (TokenType = {}));\nvar MultiLineStream = /** @class */ (function () {\n function MultiLineStream(source) {\n this.source = source;\n this.len = source.length;\n this.position = 0;\n }\n MultiLineStream.prototype.substring = function (from, to) {\n if (to === void 0) { to = this.position; }\n return this.source.substring(from, to);\n };\n MultiLineStream.prototype.eos = function () {\n return this.len <= this.position;\n };\n MultiLineStream.prototype.pos = function () {\n return this.position;\n };\n MultiLineStream.prototype.goBackTo = function (pos) {\n this.position = pos;\n };\n MultiLineStream.prototype.goBack = function (n) {\n this.position -= n;\n };\n MultiLineStream.prototype.advance = function (n) {\n this.position += n;\n };\n MultiLineStream.prototype.nextChar = function () {\n return this.source.charCodeAt(this.position++) || 0;\n };\n MultiLineStream.prototype.peekChar = function (n) {\n if (n === void 0) { n = 0; }\n return this.source.charCodeAt(this.position + n) || 0;\n };\n MultiLineStream.prototype.lookbackChar = function (n) {\n if (n === void 0) { n = 0; }\n return this.source.charCodeAt(this.position - n) || 0;\n };\n MultiLineStream.prototype.advanceIfChar = function (ch) {\n if (ch === this.source.charCodeAt(this.position)) {\n this.position++;\n return true;\n }\n return false;\n };\n MultiLineStream.prototype.advanceIfChars = function (ch) {\n if (this.position + ch.length > this.source.length) {\n return false;\n }\n var i = 0;\n for (; i < ch.length; i++) {\n if (this.source.charCodeAt(this.position + i) !== ch[i]) {\n return false;\n }\n }\n this.advance(i);\n return true;\n };\n MultiLineStream.prototype.advanceWhileChar = function (condition) {\n var posNow = this.position;\n while (this.position < this.len && condition(this.source.charCodeAt(this.position))) {\n this.position++;\n }\n return this.position - posNow;\n };\n return MultiLineStream;\n}());\n\nvar _a = 'a'.charCodeAt(0);\nvar _f = 'f'.charCodeAt(0);\nvar _z = 'z'.charCodeAt(0);\nvar _A = 'A'.charCodeAt(0);\nvar _F = 'F'.charCodeAt(0);\nvar _Z = 'Z'.charCodeAt(0);\nvar _0 = '0'.charCodeAt(0);\nvar _9 = '9'.charCodeAt(0);\nvar _TLD = '~'.charCodeAt(0);\nvar _HAT = '^'.charCodeAt(0);\nvar _EQS = '='.charCodeAt(0);\nvar _PIP = '|'.charCodeAt(0);\nvar _MIN = '-'.charCodeAt(0);\nvar _USC = '_'.charCodeAt(0);\nvar _PRC = '%'.charCodeAt(0);\nvar _MUL = '*'.charCodeAt(0);\nvar _LPA = '('.charCodeAt(0);\nvar _RPA = ')'.charCodeAt(0);\nvar _LAN = '<'.charCodeAt(0);\nvar _RAN = '>'.charCodeAt(0);\nvar _ATS = '@'.charCodeAt(0);\nvar _HSH = '#'.charCodeAt(0);\nvar _DLR = '$'.charCodeAt(0);\nvar _BSL = '\\\\'.charCodeAt(0);\nvar _FSL = '/'.charCodeAt(0);\nvar _NWL = '\\n'.charCodeAt(0);\nvar _CAR = '\\r'.charCodeAt(0);\nvar _LFD = '\\f'.charCodeAt(0);\nvar _DQO = '\"'.charCodeAt(0);\nvar _SQO = '\\''.charCodeAt(0);\nvar _WSP = ' '.charCodeAt(0);\nvar _TAB = '\\t'.charCodeAt(0);\nvar _SEM = ';'.charCodeAt(0);\nvar _COL = ':'.charCodeAt(0);\nvar _CUL = '{'.charCodeAt(0);\nvar _CUR = '}'.charCodeAt(0);\nvar _BRL = '['.charCodeAt(0);\nvar _BRR = ']'.charCodeAt(0);\nvar _CMA = ','.charCodeAt(0);\nvar _DOT = '.'.charCodeAt(0);\nvar _BNG = '!'.charCodeAt(0);\nvar staticTokenTable = {};\nstaticTokenTable[_SEM] = TokenType.SemiColon;\nstaticTokenTable[_COL] = TokenType.Colon;\nstaticTokenTable[_CUL] = TokenType.CurlyL;\nstaticTokenTable[_CUR] = TokenType.CurlyR;\nstaticTokenTable[_BRR] = TokenType.BracketR;\nstaticTokenTable[_BRL] = TokenType.BracketL;\nstaticTokenTable[_LPA] = TokenType.ParenthesisL;\nstaticTokenTable[_RPA] = TokenType.ParenthesisR;\nstaticTokenTable[_CMA] = TokenType.Comma;\nvar staticUnitTable = {};\nstaticUnitTable['em'] = TokenType.EMS;\nstaticUnitTable['ex'] = TokenType.EXS;\nstaticUnitTable['px'] = TokenType.Length;\nstaticUnitTable['cm'] = TokenType.Length;\nstaticUnitTable['mm'] = TokenType.Length;\nstaticUnitTable['in'] = TokenType.Length;\nstaticUnitTable['pt'] = TokenType.Length;\nstaticUnitTable['pc'] = TokenType.Length;\nstaticUnitTable['deg'] = TokenType.Angle;\nstaticUnitTable['rad'] = TokenType.Angle;\nstaticUnitTable['grad'] = TokenType.Angle;\nstaticUnitTable['ms'] = TokenType.Time;\nstaticUnitTable['s'] = TokenType.Time;\nstaticUnitTable['hz'] = TokenType.Freq;\nstaticUnitTable['khz'] = TokenType.Freq;\nstaticUnitTable['%'] = TokenType.Percentage;\nstaticUnitTable['fr'] = TokenType.Percentage;\nstaticUnitTable['dpi'] = TokenType.Resolution;\nstaticUnitTable['dpcm'] = TokenType.Resolution;\nvar Scanner = /** @class */ (function () {\n function Scanner() {\n this.stream = new MultiLineStream('');\n this.ignoreComment = true;\n this.ignoreWhitespace = true;\n this.inURL = false;\n }\n Scanner.prototype.setSource = function (input) {\n this.stream = new MultiLineStream(input);\n };\n Scanner.prototype.finishToken = function (offset, type, text) {\n return {\n offset: offset,\n len: this.stream.pos() - offset,\n type: type,\n text: text || this.stream.substring(offset)\n };\n };\n Scanner.prototype.substring = function (offset, len) {\n return this.stream.substring(offset, offset + len);\n };\n Scanner.prototype.pos = function () {\n return this.stream.pos();\n };\n Scanner.prototype.goBackTo = function (pos) {\n this.stream.goBackTo(pos);\n };\n Scanner.prototype.scanUnquotedString = function () {\n var offset = this.stream.pos();\n var content = [];\n if (this._unquotedString(content)) {\n return this.finishToken(offset, TokenType.UnquotedString, content.join(''));\n }\n return null;\n };\n Scanner.prototype.scan = function () {\n // processes all whitespaces and comments\n var triviaToken = this.trivia();\n if (triviaToken !== null) {\n return triviaToken;\n }\n var offset = this.stream.pos();\n // End of file/input\n if (this.stream.eos()) {\n return this.finishToken(offset, TokenType.EOF);\n }\n return this.scanNext(offset);\n };\n Scanner.prototype.scanNext = function (offset) {\n // CDO <!--\n if (this.stream.advanceIfChars([_LAN, _BNG, _MIN, _MIN])) {\n return this.finishToken(offset, TokenType.CDO);\n }\n // CDC -->\n if (this.stream.advanceIfChars([_MIN, _MIN, _RAN])) {\n return this.finishToken(offset, TokenType.CDC);\n }\n var content = [];\n if (this.ident(content)) {\n return this.finishToken(offset, TokenType.Ident, content.join(''));\n }\n // at-keyword\n if (this.stream.advanceIfChar(_ATS)) {\n content = ['@'];\n if (this._name(content)) {\n var keywordText = content.join('');\n if (keywordText === '@charset') {\n return this.finishToken(offset, TokenType.Charset, keywordText);\n }\n return this.finishToken(offset, TokenType.AtKeyword, keywordText);\n }\n else {\n return this.finishToken(offset, TokenType.Delim);\n }\n }\n // hash\n if (this.stream.advanceIfChar(_HSH)) {\n content = ['#'];\n if (this._name(content)) {\n return this.finishToken(offset, TokenType.Hash, content.join(''));\n }\n else {\n return this.finishToken(offset, TokenType.Delim);\n }\n }\n // Important\n if (this.stream.advanceIfChar(_BNG)) {\n return this.finishToken(offset, TokenType.Exclamation);\n }\n // Numbers\n if (this._number()) {\n var pos = this.stream.pos();\n content = [this.stream.substring(offset, pos)];\n if (this.stream.advanceIfChar(_PRC)) {\n // Percentage 43%\n return this.finishToken(offset, TokenType.Percentage);\n }\n else if (this.ident(content)) {\n var dim = this.stream.substring(pos).toLowerCase();\n var tokenType_1 = staticUnitTable[dim];\n if (typeof tokenType_1 !== 'undefined') {\n // Known dimension 43px\n return this.finishToken(offset, tokenType_1, content.join(''));\n }\n else {\n // Unknown dimension 43ft\n return this.finishToken(offset, TokenType.Dimension, content.join(''));\n }\n }\n return this.finishToken(offset, TokenType.Num);\n }\n // String, BadString\n content = [];\n var tokenType = this._string(content);\n if (tokenType !== null) {\n return this.finishToken(offset, tokenType, content.join(''));\n }\n // single character tokens\n tokenType = staticTokenTable[this.stream.peekChar()];\n if (typeof tokenType !== 'undefined') {\n this.stream.advance(1);\n return this.finishToken(offset, tokenType);\n }\n // includes ~=\n if (this.stream.peekChar(0) === _TLD && this.stream.peekChar(1) === _EQS) {\n this.stream.advance(2);\n return this.finishToken(offset, TokenType.Includes);\n }\n // DashMatch |=\n if (this.stream.peekChar(0) === _PIP && this.stream.peekChar(1) === _EQS) {\n this.stream.advance(2);\n return this.finishToken(offset, TokenType.Dashmatch);\n }\n // Substring operator *=\n if (this.stream.peekChar(0) === _MUL && this.stream.peekChar(1) === _EQS) {\n this.stream.advance(2);\n return this.finishToken(offset, TokenType.SubstringOperator);\n }\n // Substring operator ^=\n if (this.stream.peekChar(0) === _HAT && this.stream.peekChar(1) === _EQS) {\n this.stream.advance(2);\n return this.finishToken(offset, TokenType.PrefixOperator);\n }\n // Substring operator $=\n if (this.stream.peekChar(0) === _DLR && this.stream.peekChar(1) === _EQS) {\n this.stream.advance(2);\n return this.finishToken(offset, TokenType.SuffixOperator);\n }\n // Delim\n this.stream.nextChar();\n return this.finishToken(offset, TokenType.Delim);\n };\n Scanner.prototype.trivia = function () {\n while (true) {\n var offset = this.stream.pos();\n if (this._whitespace()) {\n if (!this.ignoreWhitespace) {\n return this.finishToken(offset, TokenType.Whitespace);\n }\n }\n else if (this.comment()) {\n if (!this.ignoreComment) {\n return this.finishToken(offset, TokenType.Comment);\n }\n }\n else {\n return null;\n }\n }\n };\n Scanner.prototype.comment = function () {\n if (this.stream.advanceIfChars([_FSL, _MUL])) {\n var success_1 = false, hot_1 = false;\n this.stream.advanceWhileChar(function (ch) {\n if (hot_1 && ch === _FSL) {\n success_1 = true;\n return false;\n }\n hot_1 = ch === _MUL;\n return true;\n });\n if (success_1) {\n this.stream.advance(1);\n }\n return true;\n }\n return false;\n };\n Scanner.prototype._number = function () {\n var npeek = 0, ch;\n if (this.stream.peekChar() === _DOT) {\n npeek = 1;\n }\n ch = this.stream.peekChar(npeek);\n if (ch >= _0 && ch <= _9) {\n this.stream.advance(npeek + 1);\n this.stream.advanceWhileChar(function (ch) {\n return ch >= _0 && ch <= _9 || npeek === 0 && ch === _DOT;\n });\n return true;\n }\n return false;\n };\n Scanner.prototype._newline = function (result) {\n var ch = this.stream.peekChar();\n switch (ch) {\n case _CAR:\n case _LFD:\n case _NWL:\n this.stream.advance(1);\n result.push(String.fromCharCode(ch));\n if (ch === _CAR && this.stream.advanceIfChar(_NWL)) {\n result.push('\\n');\n }\n return true;\n }\n return false;\n };\n Scanner.prototype._escape = function (result, includeNewLines) {\n var ch = this.stream.peekChar();\n if (ch === _BSL) {\n this.stream.advance(1);\n ch = this.stream.peekChar();\n var hexNumCount = 0;\n while (hexNumCount < 6 && (ch >= _0 && ch <= _9 || ch >= _a && ch <= _f || ch >= _A && ch <= _F)) {\n this.stream.advance(1);\n ch = this.stream.peekChar();\n hexNumCount++;\n }\n if (hexNumCount > 0) {\n try {\n var hexVal = parseInt(this.stream.substring(this.stream.pos() - hexNumCount), 16);\n if (hexVal) {\n result.push(String.fromCharCode(hexVal));\n }\n }\n catch (e) {\n // ignore\n }\n // optional whitespace or new line, not part of result text\n if (ch === _WSP || ch === _TAB) {\n this.stream.advance(1);\n }\n else {\n this._newline([]);\n }\n return true;\n }\n if (ch !== _CAR && ch !== _LFD && ch !== _NWL) {\n this.stream.advance(1);\n result.push(String.fromCharCode(ch));\n return true;\n }\n else if (includeNewLines) {\n return this._newline(result);\n }\n }\n return false;\n };\n Scanner.prototype._stringChar = function (closeQuote, result) {\n // not closeQuote, not backslash, not newline\n var ch = this.stream.peekChar();\n if (ch !== 0 && ch !== closeQuote && ch !== _BSL && ch !== _CAR && ch !== _LFD && ch !== _NWL) {\n this.stream.advance(1);\n result.push(String.fromCharCode(ch));\n return true;\n }\n return false;\n };\n Scanner.prototype._string = function (result) {\n if (this.stream.peekChar() === _SQO || this.stream.peekChar() === _DQO) {\n var closeQuote = this.stream.nextChar();\n result.push(String.fromCharCode(closeQuote));\n while (this._stringChar(closeQuote, result) || this._escape(result, true)) {\n // loop\n }\n if (this.stream.peekChar() === closeQuote) {\n this.stream.nextChar();\n result.push(String.fromCharCode(closeQuote));\n return TokenType.String;\n }\n else {\n return TokenType.BadString;\n }\n }\n return null;\n };\n Scanner.prototype._unquotedChar = function (result) {\n // not closeQuote, not backslash, not newline\n var ch = this.stream.peekChar();\n if (ch !== 0 && ch !== _BSL && ch !== _SQO && ch !== _DQO && ch !== _LPA && ch !== _RPA && ch !== _WSP && ch !== _TAB && ch !== _NWL && ch !== _LFD && ch !== _CAR) {\n this.stream.advance(1);\n result.push(String.fromCharCode(ch));\n return true;\n }\n return false;\n };\n Scanner.prototype._unquotedString = function (result) {\n var hasContent = false;\n while (this._unquotedChar(result) || this._escape(result)) {\n hasContent = true;\n }\n return hasContent;\n };\n Scanner.prototype._whitespace = function () {\n var n = this.stream.advanceWhileChar(function (ch) {\n return ch === _WSP || ch === _TAB || ch === _NWL || ch === _LFD || ch === _CAR;\n });\n return n > 0;\n };\n Scanner.prototype._name = function (result) {\n var matched = false;\n while (this._identChar(result) || this._escape(result)) {\n matched = true;\n }\n return matched;\n };\n Scanner.prototype.ident = function (result) {\n var pos = this.stream.pos();\n var hasMinus = this._minus(result);\n if (hasMinus && this._minus(result) /* -- */) {\n if (this._identFirstChar(result) || this._escape(result)) {\n while (this._identChar(result) || this._escape(result)) {\n // loop\n }\n return true;\n }\n }\n else if (this._identFirstChar(result) || this._escape(result)) {\n while (this._identChar(result) || this._escape(result)) {\n // loop\n }\n return true;\n }\n this.stream.goBackTo(pos);\n return false;\n };\n Scanner.prototype._identFirstChar = function (result) {\n var ch = this.stream.peekChar();\n if (ch === _USC || // _\n ch >= _a && ch <= _z || // a-z\n ch >= _A && ch <= _Z || // A-Z\n ch >= 0x80 && ch <= 0xFFFF) { // nonascii\n this.stream.advance(1);\n result.push(String.fromCharCode(ch));\n return true;\n }\n return false;\n };\n Scanner.prototype._minus = function (result) {\n var ch = this.stream.peekChar();\n if (ch === _MIN) {\n this.stream.advance(1);\n result.push(String.fromCharCode(ch));\n return true;\n }\n return false;\n };\n Scanner.prototype._identChar = function (result) {\n var ch = this.stream.peekChar();\n if (ch === _USC || // _\n ch === _MIN || // -\n ch >= _a && ch <= _z || // a-z\n ch >= _A && ch <= _Z || // A-Z\n ch >= _0 && ch <= _9 || // 0/9\n ch >= 0x80 && ch <= 0xFFFF) { // nonascii\n this.stream.advance(1);\n result.push(String.fromCharCode(ch));\n return true;\n }\n return false;\n };\n return Scanner;\n}());\n\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssScanner.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssSymbolScope.js":
|
||
/*!******************************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssSymbolScope.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 */ \"Scope\": () => (/* binding */ Scope),\n/* harmony export */ \"GlobalScope\": () => (/* binding */ GlobalScope),\n/* harmony export */ \"Symbol\": () => (/* binding */ Symbol),\n/* harmony export */ \"ScopeBuilder\": () => (/* binding */ ScopeBuilder),\n/* harmony export */ \"Symbols\": () => (/* binding */ Symbols)\n/* harmony export */ });\n/* harmony import */ var _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./cssNodes.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssNodes.js\");\n/* harmony import */ var _utils_arrays_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/arrays.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/utils/arrays.js\");\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\nvar __extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\n\n\nvar Scope = /** @class */ (function () {\n function Scope(offset, length) {\n this.offset = offset;\n this.length = length;\n this.symbols = [];\n this.parent = null;\n this.children = [];\n }\n Scope.prototype.addChild = function (scope) {\n this.children.push(scope);\n scope.setParent(this);\n };\n Scope.prototype.setParent = function (scope) {\n this.parent = scope;\n };\n Scope.prototype.findScope = function (offset, length) {\n if (length === void 0) { length = 0; }\n if (this.offset <= offset && this.offset + this.length > offset + length || this.offset === offset && this.length === length) {\n return this.findInScope(offset, length);\n }\n return null;\n };\n Scope.prototype.findInScope = function (offset, length) {\n if (length === void 0) { length = 0; }\n // find the first scope child that has an offset larger than offset + length\n var end = offset + length;\n var idx = (0,_utils_arrays_js__WEBPACK_IMPORTED_MODULE_1__.findFirst)(this.children, function (s) { return s.offset > end; });\n if (idx === 0) {\n // all scopes have offsets larger than our end\n return this;\n }\n var res = this.children[idx - 1];\n if (res.offset <= offset && res.offset + res.length >= offset + length) {\n return res.findInScope(offset, length);\n }\n return this;\n };\n Scope.prototype.addSymbol = function (symbol) {\n this.symbols.push(symbol);\n };\n Scope.prototype.getSymbol = function (name, type) {\n for (var index = 0; index < this.symbols.length; index++) {\n var symbol = this.symbols[index];\n if (symbol.name === name && symbol.type === type) {\n return symbol;\n }\n }\n return null;\n };\n Scope.prototype.getSymbols = function () {\n return this.symbols;\n };\n return Scope;\n}());\n\nvar GlobalScope = /** @class */ (function (_super) {\n __extends(GlobalScope, _super);\n function GlobalScope() {\n return _super.call(this, 0, Number.MAX_VALUE) || this;\n }\n return GlobalScope;\n}(Scope));\n\nvar Symbol = /** @class */ (function () {\n function Symbol(name, value, node, type) {\n this.name = name;\n this.value = value;\n this.node = node;\n this.type = type;\n }\n return Symbol;\n}());\n\nvar ScopeBuilder = /** @class */ (function () {\n function ScopeBuilder(scope) {\n this.scope = scope;\n }\n ScopeBuilder.prototype.addSymbol = function (node, name, value, type) {\n if (node.offset !== -1) {\n var current = this.scope.findScope(node.offset, node.length);\n if (current) {\n current.addSymbol(new Symbol(name, value, node, type));\n }\n }\n };\n ScopeBuilder.prototype.addScope = function (node) {\n if (node.offset !== -1) {\n var current = this.scope.findScope(node.offset, node.length);\n if (current && (current.offset !== node.offset || current.length !== node.length)) { // scope already known?\n var newScope = new Scope(node.offset, node.length);\n current.addChild(newScope);\n return newScope;\n }\n return current;\n }\n return null;\n };\n ScopeBuilder.prototype.addSymbolToChildScope = function (scopeNode, node, name, value, type) {\n if (scopeNode && scopeNode.offset !== -1) {\n var current = this.addScope(scopeNode); // create the scope or gets the existing one\n if (current) {\n current.addSymbol(new Symbol(name, value, node, type));\n }\n }\n };\n ScopeBuilder.prototype.visitNode = function (node) {\n switch (node.type) {\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Keyframe:\n this.addSymbol(node, node.getName(), void 0, _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Keyframe);\n return true;\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.CustomPropertyDeclaration:\n return this.visitCustomPropertyDeclarationNode(node);\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.VariableDeclaration:\n return this.visitVariableDeclarationNode(node);\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Ruleset:\n return this.visitRuleSet(node);\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.MixinDeclaration:\n this.addSymbol(node, node.getName(), void 0, _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Mixin);\n return true;\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.FunctionDeclaration:\n this.addSymbol(node, node.getName(), void 0, _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Function);\n return true;\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.FunctionParameter: {\n return this.visitFunctionParameterNode(node);\n }\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Declarations:\n this.addScope(node);\n return true;\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.For:\n var forNode = node;\n var scopeNode = forNode.getDeclarations();\n if (scopeNode && forNode.variable) {\n this.addSymbolToChildScope(scopeNode, forNode.variable, forNode.variable.getName(), void 0, _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Variable);\n }\n return true;\n case _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Each: {\n var eachNode = node;\n var scopeNode_1 = eachNode.getDeclarations();\n if (scopeNode_1) {\n var variables = eachNode.getVariables().getChildren();\n for (var _i = 0, variables_1 = variables; _i < variables_1.length; _i++) {\n var variable = variables_1[_i];\n this.addSymbolToChildScope(scopeNode_1, variable, variable.getName(), void 0, _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Variable);\n }\n }\n return true;\n }\n }\n return true;\n };\n ScopeBuilder.prototype.visitRuleSet = function (node) {\n var current = this.scope.findScope(node.offset, node.length);\n if (current) {\n for (var _i = 0, _a = node.getSelectors().getChildren(); _i < _a.length; _i++) {\n var child = _a[_i];\n if (child instanceof _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Selector) {\n if (child.getChildren().length === 1) { // only selectors with a single element can be extended\n current.addSymbol(new Symbol(child.getChild(0).getText(), void 0, child, _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Rule));\n }\n }\n }\n }\n return true;\n };\n ScopeBuilder.prototype.visitVariableDeclarationNode = function (node) {\n var value = node.getValue() ? node.getValue().getText() : void 0;\n this.addSymbol(node, node.getName(), value, _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Variable);\n return true;\n };\n ScopeBuilder.prototype.visitFunctionParameterNode = function (node) {\n // parameters are part of the body scope\n var scopeNode = node.getParent().getDeclarations();\n if (scopeNode) {\n var valueNode = node.getDefaultValue();\n var value = valueNode ? valueNode.getText() : void 0;\n this.addSymbolToChildScope(scopeNode, node, node.getName(), value, _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Variable);\n }\n return true;\n };\n ScopeBuilder.prototype.visitCustomPropertyDeclarationNode = function (node) {\n var value = node.getValue() ? node.getValue().getText() : '';\n this.addCSSVariable(node.getProperty(), node.getProperty().getName(), value, _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Variable);\n return true;\n };\n ScopeBuilder.prototype.addCSSVariable = function (node, name, value, type) {\n if (node.offset !== -1) {\n this.scope.addSymbol(new Symbol(name, value, node, type));\n }\n };\n return ScopeBuilder;\n}());\n\nvar Symbols = /** @class */ (function () {\n function Symbols(node) {\n this.global = new GlobalScope();\n node.acceptVisitor(new ScopeBuilder(this.global));\n }\n Symbols.prototype.findSymbolsAtOffset = function (offset, referenceType) {\n var scope = this.global.findScope(offset, 0);\n var result = [];\n var names = {};\n while (scope) {\n var symbols = scope.getSymbols();\n for (var i = 0; i < symbols.length; i++) {\n var symbol = symbols[i];\n if (symbol.type === referenceType && !names[symbol.name]) {\n result.push(symbol);\n names[symbol.name] = true;\n }\n }\n scope = scope.parent;\n }\n return result;\n };\n Symbols.prototype.internalFindSymbol = function (node, referenceTypes) {\n var scopeNode = node;\n if (node.parent instanceof _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.FunctionParameter && node.parent.getParent() instanceof _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.BodyDeclaration) {\n scopeNode = node.parent.getParent().getDeclarations();\n }\n if (node.parent instanceof _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.FunctionArgument && node.parent.getParent() instanceof _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Function) {\n var funcId = node.parent.getParent().getIdentifier();\n if (funcId) {\n var functionSymbol = this.internalFindSymbol(funcId, [_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Function]);\n if (functionSymbol) {\n scopeNode = functionSymbol.node.getDeclarations();\n }\n }\n }\n if (!scopeNode) {\n return null;\n }\n var name = node.getText();\n var scope = this.global.findScope(scopeNode.offset, scopeNode.length);\n while (scope) {\n for (var index = 0; index < referenceTypes.length; index++) {\n var type = referenceTypes[index];\n var symbol = scope.getSymbol(name, type);\n if (symbol) {\n return symbol;\n }\n }\n scope = scope.parent;\n }\n return null;\n };\n Symbols.prototype.evaluateReferenceTypes = function (node) {\n if (node instanceof _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Identifier) {\n var referenceTypes = node.referenceTypes;\n if (referenceTypes) {\n return referenceTypes;\n }\n else {\n if (node.isCustomProperty) {\n return [_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Variable];\n }\n // are a reference to a keyframe?\n var decl = _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.getParentDeclaration(node);\n if (decl) {\n var propertyName = decl.getNonPrefixedPropertyName();\n if ((propertyName === 'animation' || propertyName === 'animation-name')\n && decl.getValue() && decl.getValue().offset === node.offset) {\n return [_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Keyframe];\n }\n }\n }\n }\n else if (node instanceof _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Variable) {\n return [_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Variable];\n }\n var selector = node.findAParent(_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Selector, _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.ExtendsReference);\n if (selector) {\n return [_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Rule];\n }\n return null;\n };\n Symbols.prototype.findSymbolFromNode = function (node) {\n if (!node) {\n return null;\n }\n while (node.type === _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Interpolation) {\n node = node.getParent();\n }\n var referenceTypes = this.evaluateReferenceTypes(node);\n if (referenceTypes) {\n return this.internalFindSymbol(node, referenceTypes);\n }\n return null;\n };\n Symbols.prototype.matchesSymbol = function (node, symbol) {\n if (!node) {\n return false;\n }\n while (node.type === _cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Interpolation) {\n node = node.getParent();\n }\n if (!node.matches(symbol.name)) {\n return false;\n }\n var referenceTypes = this.evaluateReferenceTypes(node);\n if (!referenceTypes || referenceTypes.indexOf(symbol.type) === -1) {\n return false;\n }\n var nodeSymbol = this.internalFindSymbol(node, referenceTypes);\n return nodeSymbol === symbol;\n };\n Symbols.prototype.findSymbol = function (name, type, offset) {\n var scope = this.global.findScope(offset);\n while (scope) {\n var symbol = scope.getSymbol(name, type);\n if (symbol) {\n return symbol;\n }\n scope = scope.parent;\n }\n return null;\n };\n return Symbols;\n}());\n\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssSymbolScope.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/lessParser.js":
|
||
/*!**************************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/lessParser.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 */ \"LESSParser\": () => (/* binding */ LESSParser)\n/* harmony export */ });\n/* harmony import */ var _lessScanner_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lessScanner.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/lessScanner.js\");\n/* harmony import */ var _cssScanner_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./cssScanner.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssScanner.js\");\n/* harmony import */ var _cssParser_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./cssParser.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssParser.js\");\n/* harmony import */ var _cssNodes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./cssNodes.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssNodes.js\");\n/* harmony import */ var _cssErrors_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./cssErrors.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssErrors.js\");\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\nvar __extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\n\n\n\n\n\n/// <summary>\n/// A parser for LESS\n/// http://lesscss.org/\n/// </summary>\nvar LESSParser = /** @class */ (function (_super) {\n __extends(LESSParser, _super);\n function LESSParser() {\n return _super.call(this, new _lessScanner_js__WEBPACK_IMPORTED_MODULE_0__.LESSScanner()) || this;\n }\n LESSParser.prototype._parseStylesheetStatement = function (isNested) {\n if (isNested === void 0) { isNested = false; }\n if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.AtKeyword)) {\n return this._parseVariableDeclaration()\n || this._parsePlugin()\n || _super.prototype._parseStylesheetAtStatement.call(this, isNested);\n }\n return this._tryParseMixinDeclaration()\n || this._tryParseMixinReference()\n || this._parseFunction()\n || this._parseRuleset(true);\n };\n LESSParser.prototype._parseImport = function () {\n if (!this.peekKeyword('@import') && !this.peekKeyword('@import-once') /* deprecated in less 1.4.1 */) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.Import);\n this.consumeToken();\n // less 1.4.1: @import (css) \"lib\"\n if (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisL)) {\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Ident)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_4__.ParseError.IdentifierExpected, [_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.SemiColon]);\n }\n do {\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Comma)) {\n break;\n }\n } while (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Ident));\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisR)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_4__.ParseError.RightParenthesisExpected, [_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.SemiColon]);\n }\n }\n if (!node.addChild(this._parseURILiteral()) && !node.addChild(this._parseStringLiteral())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_4__.ParseError.URIOrStringExpected, [_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.SemiColon]);\n }\n if (!this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.SemiColon) && !this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.EOF)) {\n node.setMedialist(this._parseMediaQueryList());\n }\n return this.finish(node);\n };\n LESSParser.prototype._parsePlugin = function () {\n if (!this.peekKeyword('@plugin')) {\n return null;\n }\n var node = this.createNode(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.NodeType.Plugin);\n this.consumeToken(); // @import\n if (!node.addChild(this._parseStringLiteral())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_4__.ParseError.StringLiteralExpected);\n }\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.SemiColon)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_4__.ParseError.SemiColonExpected);\n }\n return this.finish(node);\n };\n LESSParser.prototype._parseMediaQuery = function (resyncStopToken) {\n var node = _super.prototype._parseMediaQuery.call(this, resyncStopToken);\n if (!node) {\n var node_1 = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.MediaQuery);\n if (node_1.addChild(this._parseVariable())) {\n return this.finish(node_1);\n }\n return null;\n }\n return node;\n };\n LESSParser.prototype._parseMediaDeclaration = function (isNested) {\n if (isNested === void 0) { isNested = false; }\n return this._tryParseRuleset(isNested)\n || this._tryToParseDeclaration()\n || this._tryParseMixinDeclaration()\n || this._tryParseMixinReference()\n || this._parseDetachedRuleSetMixin()\n || this._parseStylesheetStatement(isNested);\n };\n LESSParser.prototype._parseMediaFeatureName = function () {\n return this._parseIdent() || this._parseVariable();\n };\n LESSParser.prototype._parseVariableDeclaration = function (panic) {\n if (panic === void 0) { panic = []; }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.VariableDeclaration);\n var mark = this.mark();\n if (!node.setVariable(this._parseVariable(true))) {\n return null;\n }\n if (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Colon)) {\n if (this.prevToken) {\n node.colonPosition = this.prevToken.offset;\n }\n if (node.setValue(this._parseDetachedRuleSet())) {\n node.needsSemicolon = false;\n }\n else if (!node.setValue(this._parseExpr())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_4__.ParseError.VariableValueExpected, [], panic);\n }\n node.addChild(this._parsePrio());\n }\n else {\n this.restoreAtMark(mark);\n return null; // at keyword, but no ':', not a variable declaration but some at keyword\n }\n if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.SemiColon)) {\n node.semicolonPosition = this.token.offset; // not part of the declaration, but useful information for code assist\n }\n return this.finish(node);\n };\n LESSParser.prototype._parseDetachedRuleSet = function () {\n var mark = this.mark();\n // \"Anonymous mixin\" used in each() and possibly a generic type in the future\n if (this.peekDelim('#') || this.peekDelim('.')) {\n this.consumeToken();\n if (!this.hasWhitespace() && this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisL)) {\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.MixinDeclaration);\n if (node.getParameters().addChild(this._parseMixinParameter())) {\n while (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Comma) || this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.SemiColon)) {\n if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisR)) {\n break;\n }\n if (!node.getParameters().addChild(this._parseMixinParameter())) {\n this.markError(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_4__.ParseError.IdentifierExpected, [], [_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisR]);\n }\n }\n }\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisR)) {\n this.restoreAtMark(mark);\n return null;\n }\n }\n else {\n this.restoreAtMark(mark);\n return null;\n }\n }\n if (!this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.CurlyL)) {\n return null;\n }\n var content = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.BodyDeclaration);\n this._parseBody(content, this._parseDetachedRuleSetBody.bind(this));\n return this.finish(content);\n };\n LESSParser.prototype._parseDetachedRuleSetBody = function () {\n return this._tryParseKeyframeSelector() || this._parseRuleSetDeclaration();\n };\n LESSParser.prototype._addLookupChildren = function (node) {\n if (!node.addChild(this._parseLookupValue())) {\n return false;\n }\n var expectsValue = false;\n while (true) {\n if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.BracketL)) {\n expectsValue = true;\n }\n if (!node.addChild(this._parseLookupValue())) {\n break;\n }\n expectsValue = false;\n }\n return !expectsValue;\n };\n LESSParser.prototype._parseLookupValue = function () {\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.Node);\n var mark = this.mark();\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.BracketL)) {\n this.restoreAtMark(mark);\n return null;\n }\n if (((node.addChild(this._parseVariable(false, true)) ||\n node.addChild(this._parsePropertyIdentifier())) &&\n this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.BracketR)) || this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.BracketR)) {\n return node;\n }\n this.restoreAtMark(mark);\n return null;\n };\n LESSParser.prototype._parseVariable = function (declaration, insideLookup) {\n if (declaration === void 0) { declaration = false; }\n if (insideLookup === void 0) { insideLookup = false; }\n var isPropertyReference = !declaration && this.peekDelim('$');\n if (!this.peekDelim('@') && !isPropertyReference && !this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.AtKeyword)) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.Variable);\n var mark = this.mark();\n while (this.acceptDelim('@') || (!declaration && this.acceptDelim('$'))) {\n if (this.hasWhitespace()) {\n this.restoreAtMark(mark);\n return null;\n }\n }\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.AtKeyword) && !this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Ident)) {\n this.restoreAtMark(mark);\n return null;\n }\n if (!insideLookup && this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.BracketL)) {\n if (!this._addLookupChildren(node)) {\n this.restoreAtMark(mark);\n return null;\n }\n }\n return node;\n };\n LESSParser.prototype._parseTermExpression = function () {\n return this._parseVariable() ||\n this._parseEscaped() ||\n _super.prototype._parseTermExpression.call(this) || // preference for colors before mixin references\n this._tryParseMixinReference(false);\n };\n LESSParser.prototype._parseEscaped = function () {\n if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.EscapedJavaScript) ||\n this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.BadEscapedJavaScript)) {\n var node = this.createNode(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.NodeType.EscapedValue);\n this.consumeToken();\n return this.finish(node);\n }\n if (this.peekDelim('~')) {\n var node = this.createNode(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.NodeType.EscapedValue);\n this.consumeToken();\n if (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.String) || this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.EscapedJavaScript)) {\n return this.finish(node);\n }\n else {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_4__.ParseError.TermExpected);\n }\n }\n return null;\n };\n LESSParser.prototype._parseOperator = function () {\n var node = this._parseGuardOperator();\n if (node) {\n return node;\n }\n else {\n return _super.prototype._parseOperator.call(this);\n }\n };\n LESSParser.prototype._parseGuardOperator = function () {\n if (this.peekDelim('>')) {\n var node = this.createNode(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.NodeType.Operator);\n this.consumeToken();\n this.acceptDelim('=');\n return node;\n }\n else if (this.peekDelim('=')) {\n var node = this.createNode(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.NodeType.Operator);\n this.consumeToken();\n this.acceptDelim('<');\n return node;\n }\n else if (this.peekDelim('<')) {\n var node = this.createNode(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.NodeType.Operator);\n this.consumeToken();\n this.acceptDelim('=');\n return node;\n }\n return null;\n };\n LESSParser.prototype._parseRuleSetDeclaration = function () {\n if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.AtKeyword)) {\n return this._parseKeyframe()\n || this._parseMedia(true)\n || this._parseImport()\n || this._parseSupports(true) // @supports\n || this._parseDetachedRuleSetMixin() // less detached ruleset mixin\n || this._parseVariableDeclaration() // Variable declarations\n || _super.prototype._parseRuleSetDeclarationAtStatement.call(this);\n }\n return this._tryParseMixinDeclaration()\n || this._tryParseRuleset(true) // nested ruleset\n || this._tryParseMixinReference() // less mixin reference\n || this._parseFunction()\n || this._parseExtend() // less extend declaration\n || _super.prototype._parseRuleSetDeclaration.call(this); // try css ruleset declaration as the last option\n };\n LESSParser.prototype._parseKeyframeIdent = function () {\n return this._parseIdent([_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.ReferenceType.Keyframe]) || this._parseVariable();\n };\n LESSParser.prototype._parseKeyframeSelector = function () {\n return this._parseDetachedRuleSetMixin() // less detached ruleset mixin\n || _super.prototype._parseKeyframeSelector.call(this);\n };\n LESSParser.prototype._parseSimpleSelectorBody = function () {\n return this._parseSelectorCombinator() || _super.prototype._parseSimpleSelectorBody.call(this);\n };\n LESSParser.prototype._parseSelector = function (isNested) {\n // CSS Guards\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.Selector);\n var hasContent = false;\n if (isNested) {\n // nested selectors can start with a combinator\n hasContent = node.addChild(this._parseCombinator());\n }\n while (node.addChild(this._parseSimpleSelector())) {\n hasContent = true;\n var mark = this.mark();\n if (node.addChild(this._parseGuard()) && this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.CurlyL)) {\n break;\n }\n this.restoreAtMark(mark);\n node.addChild(this._parseCombinator()); // optional\n }\n return hasContent ? this.finish(node) : null;\n };\n LESSParser.prototype._parseSelectorCombinator = function () {\n if (this.peekDelim('&')) {\n var node = this.createNode(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.NodeType.SelectorCombinator);\n this.consumeToken();\n while (!this.hasWhitespace() && (this.acceptDelim('-') || this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Num) || this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Dimension) || node.addChild(this._parseIdent()) || this.acceptDelim('&'))) {\n // support &-foo\n }\n return this.finish(node);\n }\n return null;\n };\n LESSParser.prototype._parseSelectorIdent = function () {\n if (!this.peekInterpolatedIdent()) {\n return null;\n }\n var node = this.createNode(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.NodeType.SelectorInterpolation);\n var hasContent = this._acceptInterpolatedIdent(node);\n return hasContent ? this.finish(node) : null;\n };\n LESSParser.prototype._parsePropertyIdentifier = function (inLookup) {\n if (inLookup === void 0) { inLookup = false; }\n var propertyRegex = /^[\\w-]+/;\n if (!this.peekInterpolatedIdent() && !this.peekRegExp(this.token.type, propertyRegex)) {\n return null;\n }\n var mark = this.mark();\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.Identifier);\n node.isCustomProperty = this.acceptDelim('-') && this.acceptDelim('-');\n var childAdded = false;\n if (!inLookup) {\n if (node.isCustomProperty) {\n childAdded = this._acceptInterpolatedIdent(node);\n }\n else {\n childAdded = this._acceptInterpolatedIdent(node, propertyRegex);\n }\n }\n else {\n if (node.isCustomProperty) {\n childAdded = node.addChild(this._parseIdent());\n }\n else {\n childAdded = node.addChild(this._parseRegexp(propertyRegex));\n }\n }\n if (!childAdded) {\n this.restoreAtMark(mark);\n return null;\n }\n if (!inLookup && !this.hasWhitespace()) {\n this.acceptDelim('+');\n if (!this.hasWhitespace()) {\n this.acceptIdent('_');\n }\n }\n return this.finish(node);\n };\n LESSParser.prototype.peekInterpolatedIdent = function () {\n return this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Ident) ||\n this.peekDelim('@') ||\n this.peekDelim('$') ||\n this.peekDelim('-');\n };\n LESSParser.prototype._acceptInterpolatedIdent = function (node, identRegex) {\n var _this = this;\n var hasContent = false;\n var indentInterpolation = function () {\n var pos = _this.mark();\n if (_this.acceptDelim('-')) {\n if (!_this.hasWhitespace()) {\n _this.acceptDelim('-');\n }\n if (_this.hasWhitespace()) {\n _this.restoreAtMark(pos);\n return null;\n }\n }\n return _this._parseInterpolation();\n };\n var accept = identRegex ?\n function () { return _this.acceptRegexp(identRegex); } :\n function () { return _this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Ident); };\n while (accept() ||\n node.addChild(this._parseInterpolation() ||\n this.try(indentInterpolation))) {\n hasContent = true;\n if (this.hasWhitespace()) {\n break;\n }\n }\n return hasContent;\n };\n LESSParser.prototype._parseInterpolation = function () {\n // @{name} Variable or\n // ${name} Property\n var mark = this.mark();\n if (this.peekDelim('@') || this.peekDelim('$')) {\n var node = this.createNode(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.NodeType.Interpolation);\n this.consumeToken();\n if (this.hasWhitespace() || !this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.CurlyL)) {\n this.restoreAtMark(mark);\n return null;\n }\n if (!node.addChild(this._parseIdent())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_4__.ParseError.IdentifierExpected);\n }\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.CurlyR)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_4__.ParseError.RightCurlyExpected);\n }\n return this.finish(node);\n }\n return null;\n };\n LESSParser.prototype._tryParseMixinDeclaration = function () {\n var mark = this.mark();\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.MixinDeclaration);\n if (!node.setIdentifier(this._parseMixinDeclarationIdentifier()) || !this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisL)) {\n this.restoreAtMark(mark);\n return null;\n }\n if (node.getParameters().addChild(this._parseMixinParameter())) {\n while (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Comma) || this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.SemiColon)) {\n if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisR)) {\n break;\n }\n if (!node.getParameters().addChild(this._parseMixinParameter())) {\n this.markError(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_4__.ParseError.IdentifierExpected, [], [_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisR]);\n }\n }\n }\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisR)) {\n this.restoreAtMark(mark);\n return null;\n }\n node.setGuard(this._parseGuard());\n if (!this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.CurlyL)) {\n this.restoreAtMark(mark);\n return null;\n }\n return this._parseBody(node, this._parseMixInBodyDeclaration.bind(this));\n };\n LESSParser.prototype._parseMixInBodyDeclaration = function () {\n return this._parseFontFace() || this._parseRuleSetDeclaration();\n };\n LESSParser.prototype._parseMixinDeclarationIdentifier = function () {\n var identifier;\n if (this.peekDelim('#') || this.peekDelim('.')) {\n identifier = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.Identifier);\n this.consumeToken(); // # or .\n if (this.hasWhitespace() || !identifier.addChild(this._parseIdent())) {\n return null;\n }\n }\n else if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Hash)) {\n identifier = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.Identifier);\n this.consumeToken(); // TokenType.Hash\n }\n else {\n return null;\n }\n identifier.referenceTypes = [_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.ReferenceType.Mixin];\n return this.finish(identifier);\n };\n LESSParser.prototype._parsePseudo = function () {\n if (!this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Colon)) {\n return null;\n }\n var mark = this.mark();\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.ExtendsReference);\n this.consumeToken(); // :\n if (this.acceptIdent('extend')) {\n return this._completeExtends(node);\n }\n this.restoreAtMark(mark);\n return _super.prototype._parsePseudo.call(this);\n };\n LESSParser.prototype._parseExtend = function () {\n if (!this.peekDelim('&')) {\n return null;\n }\n var mark = this.mark();\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.ExtendsReference);\n this.consumeToken(); // &\n if (this.hasWhitespace() || !this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Colon) || !this.acceptIdent('extend')) {\n this.restoreAtMark(mark);\n return null;\n }\n return this._completeExtends(node);\n };\n LESSParser.prototype._completeExtends = function (node) {\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisL)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_4__.ParseError.LeftParenthesisExpected);\n }\n var selectors = node.getSelectors();\n if (!selectors.addChild(this._parseSelector(true))) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_4__.ParseError.SelectorExpected);\n }\n while (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Comma)) {\n if (!selectors.addChild(this._parseSelector(true))) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_4__.ParseError.SelectorExpected);\n }\n }\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisR)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_4__.ParseError.RightParenthesisExpected);\n }\n return this.finish(node);\n };\n LESSParser.prototype._parseDetachedRuleSetMixin = function () {\n if (!this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.AtKeyword)) {\n return null;\n }\n var mark = this.mark();\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.MixinReference);\n if (node.addChild(this._parseVariable(true)) && (this.hasWhitespace() || !this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisL))) {\n this.restoreAtMark(mark);\n return null;\n }\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisR)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_4__.ParseError.RightParenthesisExpected);\n }\n return this.finish(node);\n };\n LESSParser.prototype._tryParseMixinReference = function (atRoot) {\n if (atRoot === void 0) { atRoot = true; }\n var mark = this.mark();\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.MixinReference);\n var identifier = this._parseMixinDeclarationIdentifier();\n while (identifier) {\n this.acceptDelim('>');\n var nextId = this._parseMixinDeclarationIdentifier();\n if (nextId) {\n node.getNamespaces().addChild(identifier);\n identifier = nextId;\n }\n else {\n break;\n }\n }\n if (!node.setIdentifier(identifier)) {\n this.restoreAtMark(mark);\n return null;\n }\n var hasArguments = false;\n if (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisL)) {\n hasArguments = true;\n if (node.getArguments().addChild(this._parseMixinArgument())) {\n while (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Comma) || this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.SemiColon)) {\n if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisR)) {\n break;\n }\n if (!node.getArguments().addChild(this._parseMixinArgument())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_4__.ParseError.ExpressionExpected);\n }\n }\n }\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisR)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_4__.ParseError.RightParenthesisExpected);\n }\n identifier.referenceTypes = [_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.ReferenceType.Mixin];\n }\n else {\n identifier.referenceTypes = [_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.ReferenceType.Mixin, _cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.ReferenceType.Rule];\n }\n if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.BracketL)) {\n if (!atRoot) {\n this._addLookupChildren(node);\n }\n }\n else {\n node.addChild(this._parsePrio());\n }\n if (!hasArguments && !this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.SemiColon) && !this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.CurlyR) && !this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.EOF)) {\n this.restoreAtMark(mark);\n return null;\n }\n return this.finish(node);\n };\n LESSParser.prototype._parseMixinArgument = function () {\n // [variableName ':'] expression | variableName '...'\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.FunctionArgument);\n var pos = this.mark();\n var argument = this._parseVariable();\n if (argument) {\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Colon)) {\n this.restoreAtMark(pos);\n }\n else {\n node.setIdentifier(argument);\n }\n }\n if (node.setValue(this._parseDetachedRuleSet() || this._parseExpr(true))) {\n return this.finish(node);\n }\n this.restoreAtMark(pos);\n return null;\n };\n LESSParser.prototype._parseMixinParameter = function () {\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.FunctionParameter);\n // special rest variable: @rest...\n if (this.peekKeyword('@rest')) {\n var restNode = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.Node);\n this.consumeToken();\n if (!this.accept(_lessScanner_js__WEBPACK_IMPORTED_MODULE_0__.Ellipsis)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_4__.ParseError.DotExpected, [], [_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Comma, _cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisR]);\n }\n node.setIdentifier(this.finish(restNode));\n return this.finish(node);\n }\n // special const args: ...\n if (this.peek(_lessScanner_js__WEBPACK_IMPORTED_MODULE_0__.Ellipsis)) {\n var varargsNode = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.Node);\n this.consumeToken();\n node.setIdentifier(this.finish(varargsNode));\n return this.finish(node);\n }\n var hasContent = false;\n // default variable declaration: @param: 12 or @name\n if (node.setIdentifier(this._parseVariable())) {\n this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Colon);\n hasContent = true;\n }\n if (!node.setDefaultValue(this._parseDetachedRuleSet() || this._parseExpr(true)) && !hasContent) {\n return null;\n }\n return this.finish(node);\n };\n LESSParser.prototype._parseGuard = function () {\n if (!this.peekIdent('when')) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.LessGuard);\n this.consumeToken(); // when\n node.isNegated = this.acceptIdent('not');\n if (!node.getConditions().addChild(this._parseGuardCondition())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_4__.ParseError.ConditionExpected);\n }\n while (this.acceptIdent('and') || this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Comma)) {\n if (!node.getConditions().addChild(this._parseGuardCondition())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_4__.ParseError.ConditionExpected);\n }\n }\n return this.finish(node);\n };\n LESSParser.prototype._parseGuardCondition = function () {\n if (!this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisL)) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.GuardCondition);\n this.consumeToken(); // ParenthesisL\n if (!node.addChild(this._parseExpr())) {\n // empty (?)\n }\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisR)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_4__.ParseError.RightParenthesisExpected);\n }\n return this.finish(node);\n };\n LESSParser.prototype._parseFunction = function () {\n var pos = this.mark();\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.Function);\n if (!node.setIdentifier(this._parseFunctionIdentifier())) {\n return null;\n }\n if (this.hasWhitespace() || !this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisL)) {\n this.restoreAtMark(pos);\n return null;\n }\n if (node.getArguments().addChild(this._parseMixinArgument())) {\n while (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Comma) || this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.SemiColon)) {\n if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisR)) {\n break;\n }\n if (!node.getArguments().addChild(this._parseMixinArgument())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_4__.ParseError.ExpressionExpected);\n }\n }\n }\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisR)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_4__.ParseError.RightParenthesisExpected);\n }\n return this.finish(node);\n };\n LESSParser.prototype._parseFunctionIdentifier = function () {\n if (this.peekDelim('%')) {\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.Identifier);\n node.referenceTypes = [_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.ReferenceType.Function];\n this.consumeToken();\n return this.finish(node);\n }\n return _super.prototype._parseFunctionIdentifier.call(this);\n };\n LESSParser.prototype._parseURLArgument = function () {\n var pos = this.mark();\n var node = _super.prototype._parseURLArgument.call(this);\n if (!node || !this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisR)) {\n this.restoreAtMark(pos);\n var node_2 = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.Node);\n node_2.addChild(this._parseBinaryExpr());\n return this.finish(node_2);\n }\n return node;\n };\n return LESSParser;\n}(_cssParser_js__WEBPACK_IMPORTED_MODULE_2__.Parser));\n\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/lessParser.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/lessScanner.js":
|
||
/*!***************************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/lessScanner.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 */ \"Ellipsis\": () => (/* binding */ Ellipsis),\n/* harmony export */ \"LESSScanner\": () => (/* binding */ LESSScanner)\n/* harmony export */ });\n/* harmony import */ var _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./cssScanner.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssScanner.js\");\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\nvar __extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\n\nvar _FSL = '/'.charCodeAt(0);\nvar _NWL = '\\n'.charCodeAt(0);\nvar _CAR = '\\r'.charCodeAt(0);\nvar _LFD = '\\f'.charCodeAt(0);\nvar _TIC = '`'.charCodeAt(0);\nvar _DOT = '.'.charCodeAt(0);\nvar customTokenValue = _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.CustomToken;\nvar Ellipsis = customTokenValue++;\nvar LESSScanner = /** @class */ (function (_super) {\n __extends(LESSScanner, _super);\n function LESSScanner() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n LESSScanner.prototype.scanNext = function (offset) {\n // LESS: escaped JavaScript code `const a = \"dddd\"`\n var tokenType = this.escapedJavaScript();\n if (tokenType !== null) {\n return this.finishToken(offset, tokenType);\n }\n if (this.stream.advanceIfChars([_DOT, _DOT, _DOT])) {\n return this.finishToken(offset, Ellipsis);\n }\n return _super.prototype.scanNext.call(this, offset);\n };\n LESSScanner.prototype.comment = function () {\n if (_super.prototype.comment.call(this)) {\n return true;\n }\n if (!this.inURL && this.stream.advanceIfChars([_FSL, _FSL])) {\n this.stream.advanceWhileChar(function (ch) {\n switch (ch) {\n case _NWL:\n case _CAR:\n case _LFD:\n return false;\n default:\n return true;\n }\n });\n return true;\n }\n else {\n return false;\n }\n };\n LESSScanner.prototype.escapedJavaScript = function () {\n var ch = this.stream.peekChar();\n if (ch === _TIC) {\n this.stream.advance(1);\n this.stream.advanceWhileChar(function (ch) { return ch !== _TIC; });\n return this.stream.advanceIfChar(_TIC) ? _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.EscapedJavaScript : _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.BadEscapedJavaScript;\n }\n return null;\n };\n return LESSScanner;\n}(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.Scanner));\n\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/lessScanner.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/scssErrors.js":
|
||
/*!**************************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/scssErrors.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 */ \"SCSSIssueType\": () => (/* binding */ SCSSIssueType),\n/* harmony export */ \"SCSSParseError\": () => (/* binding */ SCSSParseError)\n/* harmony export */ });\n/* harmony import */ var _fillers_vscode_nls_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../../../fillers/vscode-nls.js */ \"./node_modules/monaco-editor/esm/vs/language/css/fillers/vscode-nls.js\");\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\nvar localize = _fillers_vscode_nls_js__WEBPACK_IMPORTED_MODULE_0__.loadMessageBundle();\nvar SCSSIssueType = /** @class */ (function () {\n function SCSSIssueType(id, message) {\n this.id = id;\n this.message = message;\n }\n return SCSSIssueType;\n}());\n\nvar SCSSParseError = {\n FromExpected: new SCSSIssueType('scss-fromexpected', localize('expected.from', \"'from' expected\")),\n ThroughOrToExpected: new SCSSIssueType('scss-throughexpected', localize('expected.through', \"'through' or 'to' expected\")),\n InExpected: new SCSSIssueType('scss-fromexpected', localize('expected.in', \"'in' expected\")),\n};\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/scssErrors.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/scssParser.js":
|
||
/*!**************************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/scssParser.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 */ \"SCSSParser\": () => (/* binding */ SCSSParser)\n/* harmony export */ });\n/* harmony import */ var _scssScanner_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./scssScanner.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/scssScanner.js\");\n/* harmony import */ var _cssScanner_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./cssScanner.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssScanner.js\");\n/* harmony import */ var _cssParser_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./cssParser.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssParser.js\");\n/* harmony import */ var _cssNodes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./cssNodes.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssNodes.js\");\n/* harmony import */ var _scssErrors_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./scssErrors.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/scssErrors.js\");\n/* harmony import */ var _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./cssErrors.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssErrors.js\");\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\nvar __extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\n\n\n\n\n\n\n/// <summary>\n/// A parser for scss\n/// http://sass-lang.com/documentation/file.SASS_REFERENCE.html\n/// </summary>\nvar SCSSParser = /** @class */ (function (_super) {\n __extends(SCSSParser, _super);\n function SCSSParser() {\n return _super.call(this, new _scssScanner_js__WEBPACK_IMPORTED_MODULE_0__.SCSSScanner()) || this;\n }\n SCSSParser.prototype._parseStylesheetStatement = function (isNested) {\n if (isNested === void 0) { isNested = false; }\n if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.AtKeyword)) {\n return this._parseWarnAndDebug() // @warn, @debug and @error statements\n || this._parseControlStatement() // @if, @while, @for, @each\n || this._parseMixinDeclaration() // @mixin\n || this._parseMixinContent() // @content\n || this._parseMixinReference() // @include\n || this._parseFunctionDeclaration() // @function\n || this._parseForward() // @forward\n || this._parseUse() // @use\n || this._parseRuleset(isNested) // @at-rule\n || _super.prototype._parseStylesheetAtStatement.call(this, isNested);\n }\n return this._parseRuleset(true) || this._parseVariableDeclaration();\n };\n SCSSParser.prototype._parseImport = function () {\n if (!this.peekKeyword('@import')) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.Import);\n this.consumeToken();\n if (!node.addChild(this._parseURILiteral()) && !node.addChild(this._parseStringLiteral())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.URIOrStringExpected);\n }\n while (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Comma)) {\n if (!node.addChild(this._parseURILiteral()) && !node.addChild(this._parseStringLiteral())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.URIOrStringExpected);\n }\n }\n if (!this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.SemiColon) && !this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.EOF)) {\n node.setMedialist(this._parseMediaQueryList());\n }\n return this.finish(node);\n };\n // scss variables: $font-size: 12px;\n SCSSParser.prototype._parseVariableDeclaration = function (panic) {\n if (panic === void 0) { panic = []; }\n if (!this.peek(_scssScanner_js__WEBPACK_IMPORTED_MODULE_0__.VariableName)) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.VariableDeclaration);\n if (!node.setVariable(this._parseVariable())) {\n return null;\n }\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Colon)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.ColonExpected);\n }\n if (this.prevToken) {\n node.colonPosition = this.prevToken.offset;\n }\n if (!node.setValue(this._parseExpr())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.VariableValueExpected, [], panic);\n }\n while (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Exclamation)) {\n if (node.addChild(this._tryParsePrio())) {\n // !important\n }\n else {\n this.consumeToken();\n if (!this.peekRegExp(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Ident, /^(default|global)$/)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.UnknownKeyword);\n }\n this.consumeToken();\n }\n }\n if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.SemiColon)) {\n node.semicolonPosition = this.token.offset; // not part of the declaration, but useful information for code assist\n }\n return this.finish(node);\n };\n SCSSParser.prototype._parseMediaContentStart = function () {\n return this._parseInterpolation();\n };\n SCSSParser.prototype._parseMediaFeatureName = function () {\n return this._parseModuleMember()\n || this._parseFunction() // function before ident\n || this._parseIdent()\n || this._parseVariable();\n };\n SCSSParser.prototype._parseKeyframeSelector = function () {\n return this._tryParseKeyframeSelector()\n || this._parseControlStatement(this._parseKeyframeSelector.bind(this))\n || this._parseVariableDeclaration()\n || this._parseMixinContent();\n };\n SCSSParser.prototype._parseVariable = function () {\n if (!this.peek(_scssScanner_js__WEBPACK_IMPORTED_MODULE_0__.VariableName)) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.Variable);\n this.consumeToken();\n return node;\n };\n SCSSParser.prototype._parseModuleMember = function () {\n var pos = this.mark();\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.Module);\n if (!node.setIdentifier(this._parseIdent([_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.ReferenceType.Module]))) {\n return null;\n }\n if (this.hasWhitespace()\n || !this.acceptDelim('.')\n || this.hasWhitespace()) {\n this.restoreAtMark(pos);\n return null;\n }\n if (!node.addChild(this._parseVariable() || this._parseFunction())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.IdentifierOrVariableExpected);\n }\n return node;\n };\n SCSSParser.prototype._parseIdent = function (referenceTypes) {\n var _this = this;\n if (!this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Ident) && !this.peek(_scssScanner_js__WEBPACK_IMPORTED_MODULE_0__.InterpolationFunction) && !this.peekDelim('-')) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.Identifier);\n node.referenceTypes = referenceTypes;\n node.isCustomProperty = this.peekRegExp(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Ident, /^--/);\n var hasContent = false;\n var indentInterpolation = function () {\n var pos = _this.mark();\n if (_this.acceptDelim('-')) {\n if (!_this.hasWhitespace()) {\n _this.acceptDelim('-');\n }\n if (_this.hasWhitespace()) {\n _this.restoreAtMark(pos);\n return null;\n }\n }\n return _this._parseInterpolation();\n };\n while (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Ident) || node.addChild(indentInterpolation()) || (hasContent && this.acceptRegexp(/^[\\w-]/))) {\n hasContent = true;\n if (this.hasWhitespace()) {\n break;\n }\n }\n return hasContent ? this.finish(node) : null;\n };\n SCSSParser.prototype._parseTermExpression = function () {\n return this._parseModuleMember() ||\n this._parseVariable() ||\n this._parseSelectorCombinator() ||\n //this._tryParsePrio() ||\n _super.prototype._parseTermExpression.call(this);\n };\n SCSSParser.prototype._parseInterpolation = function () {\n if (this.peek(_scssScanner_js__WEBPACK_IMPORTED_MODULE_0__.InterpolationFunction)) {\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.Interpolation);\n this.consumeToken();\n if (!node.addChild(this._parseExpr()) && !this._parseSelectorCombinator()) {\n if (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.CurlyR)) {\n return this.finish(node);\n }\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.ExpressionExpected);\n }\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.CurlyR)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.RightCurlyExpected);\n }\n return this.finish(node);\n }\n return null;\n };\n SCSSParser.prototype._parseOperator = function () {\n if (this.peek(_scssScanner_js__WEBPACK_IMPORTED_MODULE_0__.EqualsOperator) || this.peek(_scssScanner_js__WEBPACK_IMPORTED_MODULE_0__.NotEqualsOperator)\n || this.peek(_scssScanner_js__WEBPACK_IMPORTED_MODULE_0__.GreaterEqualsOperator) || this.peek(_scssScanner_js__WEBPACK_IMPORTED_MODULE_0__.SmallerEqualsOperator)\n || this.peekDelim('>') || this.peekDelim('<')\n || this.peekIdent('and') || this.peekIdent('or')\n || this.peekDelim('%')) {\n var node = this.createNode(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.NodeType.Operator);\n this.consumeToken();\n return this.finish(node);\n }\n return _super.prototype._parseOperator.call(this);\n };\n SCSSParser.prototype._parseUnaryOperator = function () {\n if (this.peekIdent('not')) {\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.Node);\n this.consumeToken();\n return this.finish(node);\n }\n return _super.prototype._parseUnaryOperator.call(this);\n };\n SCSSParser.prototype._parseRuleSetDeclaration = function () {\n if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.AtKeyword)) {\n return this._parseKeyframe() // nested @keyframe\n || this._parseImport() // nested @import\n || this._parseMedia(true) // nested @media\n || this._parseFontFace() // nested @font-face\n || this._parseWarnAndDebug() // @warn, @debug and @error statements\n || this._parseControlStatement() // @if, @while, @for, @each\n || this._parseFunctionDeclaration() // @function\n || this._parseExtends() // @extends\n || this._parseMixinReference() // @include\n || this._parseMixinContent() // @content\n || this._parseMixinDeclaration() // nested @mixin\n || this._parseRuleset(true) // @at-rule\n || this._parseSupports(true) // @supports\n || _super.prototype._parseRuleSetDeclarationAtStatement.call(this);\n }\n return this._parseVariableDeclaration() // variable declaration\n || this._tryParseRuleset(true) // nested ruleset\n || _super.prototype._parseRuleSetDeclaration.call(this); // try css ruleset declaration as last so in the error case, the ast will contain a declaration\n };\n SCSSParser.prototype._parseDeclaration = function (stopTokens) {\n var custonProperty = this._tryParseCustomPropertyDeclaration(stopTokens);\n if (custonProperty) {\n return custonProperty;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.Declaration);\n if (!node.setProperty(this._parseProperty())) {\n return null;\n }\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Colon)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.ColonExpected, [_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Colon], stopTokens || [_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.SemiColon]);\n }\n if (this.prevToken) {\n node.colonPosition = this.prevToken.offset;\n }\n var hasContent = false;\n if (node.setValue(this._parseExpr())) {\n hasContent = true;\n node.addChild(this._parsePrio());\n }\n if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.CurlyL)) {\n node.setNestedProperties(this._parseNestedProperties());\n }\n else {\n if (!hasContent) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.PropertyValueExpected);\n }\n }\n if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.SemiColon)) {\n node.semicolonPosition = this.token.offset; // not part of the declaration, but useful information for code assist\n }\n return this.finish(node);\n };\n SCSSParser.prototype._parseNestedProperties = function () {\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.NestedProperties);\n return this._parseBody(node, this._parseDeclaration.bind(this));\n };\n SCSSParser.prototype._parseExtends = function () {\n if (this.peekKeyword('@extend')) {\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.ExtendsReference);\n this.consumeToken();\n if (!node.getSelectors().addChild(this._parseSimpleSelector())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.SelectorExpected);\n }\n while (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Comma)) {\n node.getSelectors().addChild(this._parseSimpleSelector());\n }\n if (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Exclamation)) {\n if (!this.acceptIdent('optional')) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.UnknownKeyword);\n }\n }\n return this.finish(node);\n }\n return null;\n };\n SCSSParser.prototype._parseSimpleSelectorBody = function () {\n return this._parseSelectorCombinator() || this._parseSelectorPlaceholder() || _super.prototype._parseSimpleSelectorBody.call(this);\n };\n SCSSParser.prototype._parseSelectorCombinator = function () {\n if (this.peekDelim('&')) {\n var node = this.createNode(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.NodeType.SelectorCombinator);\n this.consumeToken();\n while (!this.hasWhitespace() && (this.acceptDelim('-') || this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Num) || this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Dimension) || node.addChild(this._parseIdent()) || this.acceptDelim('&'))) {\n // support &-foo-1\n }\n return this.finish(node);\n }\n return null;\n };\n SCSSParser.prototype._parseSelectorPlaceholder = function () {\n if (this.peekDelim('%')) {\n var node = this.createNode(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.NodeType.SelectorPlaceholder);\n this.consumeToken();\n this._parseIdent();\n return this.finish(node);\n }\n else if (this.peekKeyword('@at-root')) {\n var node = this.createNode(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.NodeType.SelectorPlaceholder);\n this.consumeToken();\n return this.finish(node);\n }\n return null;\n };\n SCSSParser.prototype._parseElementName = function () {\n var pos = this.mark();\n var node = _super.prototype._parseElementName.call(this);\n if (node && !this.hasWhitespace() && this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisL)) { // for #49589\n this.restoreAtMark(pos);\n return null;\n }\n return node;\n };\n SCSSParser.prototype._tryParsePseudoIdentifier = function () {\n return this._parseInterpolation() || _super.prototype._tryParsePseudoIdentifier.call(this); // for #49589\n };\n SCSSParser.prototype._parseWarnAndDebug = function () {\n if (!this.peekKeyword('@debug')\n && !this.peekKeyword('@warn')\n && !this.peekKeyword('@error')) {\n return null;\n }\n var node = this.createNode(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.NodeType.Debug);\n this.consumeToken(); // @debug, @warn or @error\n node.addChild(this._parseExpr()); // optional\n return this.finish(node);\n };\n SCSSParser.prototype._parseControlStatement = function (parseStatement) {\n if (parseStatement === void 0) { parseStatement = this._parseRuleSetDeclaration.bind(this); }\n if (!this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.AtKeyword)) {\n return null;\n }\n return this._parseIfStatement(parseStatement) || this._parseForStatement(parseStatement)\n || this._parseEachStatement(parseStatement) || this._parseWhileStatement(parseStatement);\n };\n SCSSParser.prototype._parseIfStatement = function (parseStatement) {\n if (!this.peekKeyword('@if')) {\n return null;\n }\n return this._internalParseIfStatement(parseStatement);\n };\n SCSSParser.prototype._internalParseIfStatement = function (parseStatement) {\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.IfStatement);\n this.consumeToken(); // @if or if\n if (!node.setExpression(this._parseExpr(true))) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.ExpressionExpected);\n }\n this._parseBody(node, parseStatement);\n if (this.acceptKeyword('@else')) {\n if (this.peekIdent('if')) {\n node.setElseClause(this._internalParseIfStatement(parseStatement));\n }\n else if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.CurlyL)) {\n var elseNode = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.ElseStatement);\n this._parseBody(elseNode, parseStatement);\n node.setElseClause(elseNode);\n }\n }\n return this.finish(node);\n };\n SCSSParser.prototype._parseForStatement = function (parseStatement) {\n if (!this.peekKeyword('@for')) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.ForStatement);\n this.consumeToken(); // @for\n if (!node.setVariable(this._parseVariable())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.VariableNameExpected, [_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.CurlyR]);\n }\n if (!this.acceptIdent('from')) {\n return this.finish(node, _scssErrors_js__WEBPACK_IMPORTED_MODULE_4__.SCSSParseError.FromExpected, [_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.CurlyR]);\n }\n if (!node.addChild(this._parseBinaryExpr())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.ExpressionExpected, [_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.CurlyR]);\n }\n if (!this.acceptIdent('to') && !this.acceptIdent('through')) {\n return this.finish(node, _scssErrors_js__WEBPACK_IMPORTED_MODULE_4__.SCSSParseError.ThroughOrToExpected, [_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.CurlyR]);\n }\n if (!node.addChild(this._parseBinaryExpr())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.ExpressionExpected, [_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.CurlyR]);\n }\n return this._parseBody(node, parseStatement);\n };\n SCSSParser.prototype._parseEachStatement = function (parseStatement) {\n if (!this.peekKeyword('@each')) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.EachStatement);\n this.consumeToken(); // @each\n var variables = node.getVariables();\n if (!variables.addChild(this._parseVariable())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.VariableNameExpected, [_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.CurlyR]);\n }\n while (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Comma)) {\n if (!variables.addChild(this._parseVariable())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.VariableNameExpected, [_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.CurlyR]);\n }\n }\n this.finish(variables);\n if (!this.acceptIdent('in')) {\n return this.finish(node, _scssErrors_js__WEBPACK_IMPORTED_MODULE_4__.SCSSParseError.InExpected, [_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.CurlyR]);\n }\n if (!node.addChild(this._parseExpr())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.ExpressionExpected, [_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.CurlyR]);\n }\n return this._parseBody(node, parseStatement);\n };\n SCSSParser.prototype._parseWhileStatement = function (parseStatement) {\n if (!this.peekKeyword('@while')) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.WhileStatement);\n this.consumeToken(); // @while\n if (!node.addChild(this._parseBinaryExpr())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.ExpressionExpected, [_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.CurlyR]);\n }\n return this._parseBody(node, parseStatement);\n };\n SCSSParser.prototype._parseFunctionBodyDeclaration = function () {\n return this._parseVariableDeclaration() || this._parseReturnStatement() || this._parseWarnAndDebug()\n || this._parseControlStatement(this._parseFunctionBodyDeclaration.bind(this));\n };\n SCSSParser.prototype._parseFunctionDeclaration = function () {\n if (!this.peekKeyword('@function')) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.FunctionDeclaration);\n this.consumeToken(); // @function\n if (!node.setIdentifier(this._parseIdent([_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.ReferenceType.Function]))) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.IdentifierExpected, [_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.CurlyR]);\n }\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisL)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.LeftParenthesisExpected, [_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.CurlyR]);\n }\n if (node.getParameters().addChild(this._parseParameterDeclaration())) {\n while (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Comma)) {\n if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisR)) {\n break;\n }\n if (!node.getParameters().addChild(this._parseParameterDeclaration())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.VariableNameExpected);\n }\n }\n }\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisR)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.RightParenthesisExpected, [_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.CurlyR]);\n }\n return this._parseBody(node, this._parseFunctionBodyDeclaration.bind(this));\n };\n SCSSParser.prototype._parseReturnStatement = function () {\n if (!this.peekKeyword('@return')) {\n return null;\n }\n var node = this.createNode(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.NodeType.ReturnStatement);\n this.consumeToken(); // @function\n if (!node.addChild(this._parseExpr())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.ExpressionExpected);\n }\n return this.finish(node);\n };\n SCSSParser.prototype._parseMixinDeclaration = function () {\n if (!this.peekKeyword('@mixin')) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.MixinDeclaration);\n this.consumeToken();\n if (!node.setIdentifier(this._parseIdent([_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.ReferenceType.Mixin]))) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.IdentifierExpected, [_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.CurlyR]);\n }\n if (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisL)) {\n if (node.getParameters().addChild(this._parseParameterDeclaration())) {\n while (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Comma)) {\n if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisR)) {\n break;\n }\n if (!node.getParameters().addChild(this._parseParameterDeclaration())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.VariableNameExpected);\n }\n }\n }\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisR)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.RightParenthesisExpected, [_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.CurlyR]);\n }\n }\n return this._parseBody(node, this._parseRuleSetDeclaration.bind(this));\n };\n SCSSParser.prototype._parseParameterDeclaration = function () {\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.FunctionParameter);\n if (!node.setIdentifier(this._parseVariable())) {\n return null;\n }\n if (this.accept(_scssScanner_js__WEBPACK_IMPORTED_MODULE_0__.Ellipsis)) {\n // ok\n }\n if (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Colon)) {\n if (!node.setDefaultValue(this._parseExpr(true))) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.VariableValueExpected, [], [_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Comma, _cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisR]);\n }\n }\n return this.finish(node);\n };\n SCSSParser.prototype._parseMixinContent = function () {\n if (!this.peekKeyword('@content')) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.MixinContentReference);\n this.consumeToken();\n if (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisL)) {\n if (node.getArguments().addChild(this._parseFunctionArgument())) {\n while (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Comma)) {\n if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisR)) {\n break;\n }\n if (!node.getArguments().addChild(this._parseFunctionArgument())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.ExpressionExpected);\n }\n }\n }\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisR)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.RightParenthesisExpected);\n }\n }\n return this.finish(node);\n };\n SCSSParser.prototype._parseMixinReference = function () {\n if (!this.peekKeyword('@include')) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.MixinReference);\n this.consumeToken();\n // Could be module or mixin identifier, set as mixin as default.\n var firstIdent = this._parseIdent([_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.ReferenceType.Mixin]);\n if (!node.setIdentifier(firstIdent)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.IdentifierExpected, [_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.CurlyR]);\n }\n // Is a module accessor.\n if (!this.hasWhitespace() && this.acceptDelim('.') && !this.hasWhitespace()) {\n var secondIdent = this._parseIdent([_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.ReferenceType.Mixin]);\n if (!secondIdent) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.IdentifierExpected, [_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.CurlyR]);\n }\n var moduleToken = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.Module);\n // Re-purpose first matched ident as identifier for module token.\n firstIdent.referenceTypes = [_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.ReferenceType.Module];\n moduleToken.setIdentifier(firstIdent);\n // Override identifier with second ident.\n node.setIdentifier(secondIdent);\n node.addChild(moduleToken);\n }\n if (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisL)) {\n if (node.getArguments().addChild(this._parseFunctionArgument())) {\n while (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Comma)) {\n if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisR)) {\n break;\n }\n if (!node.getArguments().addChild(this._parseFunctionArgument())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.ExpressionExpected);\n }\n }\n }\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisR)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.RightParenthesisExpected);\n }\n }\n if (this.peekIdent('using') || this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.CurlyL)) {\n node.setContent(this._parseMixinContentDeclaration());\n }\n return this.finish(node);\n };\n SCSSParser.prototype._parseMixinContentDeclaration = function () {\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.MixinContentDeclaration);\n if (this.acceptIdent('using')) {\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisL)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.LeftParenthesisExpected, [_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.CurlyL]);\n }\n if (node.getParameters().addChild(this._parseParameterDeclaration())) {\n while (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Comma)) {\n if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisR)) {\n break;\n }\n if (!node.getParameters().addChild(this._parseParameterDeclaration())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.VariableNameExpected);\n }\n }\n }\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisR)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.RightParenthesisExpected, [_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.CurlyL]);\n }\n }\n if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.CurlyL)) {\n this._parseBody(node, this._parseMixinReferenceBodyStatement.bind(this));\n }\n return this.finish(node);\n };\n SCSSParser.prototype._parseMixinReferenceBodyStatement = function () {\n return this._tryParseKeyframeSelector() || this._parseRuleSetDeclaration();\n };\n SCSSParser.prototype._parseFunctionArgument = function () {\n // [variableName ':'] expression | variableName '...'\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.FunctionArgument);\n var pos = this.mark();\n var argument = this._parseVariable();\n if (argument) {\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Colon)) {\n if (this.accept(_scssScanner_js__WEBPACK_IMPORTED_MODULE_0__.Ellipsis)) { // optional\n node.setValue(argument);\n return this.finish(node);\n }\n else {\n this.restoreAtMark(pos);\n }\n }\n else {\n node.setIdentifier(argument);\n }\n }\n if (node.setValue(this._parseExpr(true))) {\n this.accept(_scssScanner_js__WEBPACK_IMPORTED_MODULE_0__.Ellipsis); // #43746\n node.addChild(this._parsePrio()); // #9859\n return this.finish(node);\n }\n else if (node.setValue(this._tryParsePrio())) {\n return this.finish(node);\n }\n return null;\n };\n SCSSParser.prototype._parseURLArgument = function () {\n var pos = this.mark();\n var node = _super.prototype._parseURLArgument.call(this);\n if (!node || !this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisR)) {\n this.restoreAtMark(pos);\n var node_1 = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.Node);\n node_1.addChild(this._parseBinaryExpr());\n return this.finish(node_1);\n }\n return node;\n };\n SCSSParser.prototype._parseOperation = function () {\n if (!this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisL)) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.Node);\n this.consumeToken();\n while (node.addChild(this._parseListElement())) {\n this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Comma); // optional\n }\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisR)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.RightParenthesisExpected);\n }\n return this.finish(node);\n };\n SCSSParser.prototype._parseListElement = function () {\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.ListEntry);\n var child = this._parseBinaryExpr();\n if (!child) {\n return null;\n }\n if (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Colon)) {\n node.setKey(child);\n if (!node.setValue(this._parseBinaryExpr())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.ExpressionExpected);\n }\n }\n else {\n node.setValue(child);\n }\n return this.finish(node);\n };\n SCSSParser.prototype._parseUse = function () {\n if (!this.peekKeyword('@use')) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.Use);\n this.consumeToken(); // @use\n if (!node.addChild(this._parseStringLiteral())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.StringLiteralExpected);\n }\n if (!this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.SemiColon) && !this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.EOF)) {\n if (!this.peekRegExp(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Ident, /as|with/)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.UnknownKeyword);\n }\n if (this.acceptIdent('as') &&\n (!node.setIdentifier(this._parseIdent([_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.ReferenceType.Module])) && !this.acceptDelim('*'))) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.IdentifierOrWildcardExpected);\n }\n if (this.acceptIdent('with')) {\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisL)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.LeftParenthesisExpected, [_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisR]);\n }\n // First variable statement, no comma.\n if (!node.getParameters().addChild(this._parseModuleConfigDeclaration())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.VariableNameExpected);\n }\n while (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Comma)) {\n if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisR)) {\n break;\n }\n if (!node.getParameters().addChild(this._parseModuleConfigDeclaration())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.VariableNameExpected);\n }\n }\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisR)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.RightParenthesisExpected);\n }\n }\n }\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.SemiColon) && !this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.EOF)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.SemiColonExpected);\n }\n return this.finish(node);\n };\n SCSSParser.prototype._parseModuleConfigDeclaration = function () {\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.ModuleConfiguration);\n if (!node.setIdentifier(this._parseVariable())) {\n return null;\n }\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Colon) || !node.setValue(this._parseExpr(true))) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.VariableValueExpected, [], [_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Comma, _cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisR]);\n }\n if (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Exclamation)) {\n if (this.hasWhitespace() || !this.acceptIdent('default')) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.UnknownKeyword);\n }\n }\n return this.finish(node);\n };\n SCSSParser.prototype._parseForward = function () {\n if (!this.peekKeyword('@forward')) {\n return null;\n }\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.Forward);\n this.consumeToken();\n if (!node.addChild(this._parseStringLiteral())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.StringLiteralExpected);\n }\n if (this.acceptIdent('with')) {\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisL)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.LeftParenthesisExpected, [_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisR]);\n }\n // First variable statement, no comma.\n if (!node.getParameters().addChild(this._parseModuleConfigDeclaration())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.VariableNameExpected);\n }\n while (this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Comma)) {\n if (this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisR)) {\n break;\n }\n if (!node.getParameters().addChild(this._parseModuleConfigDeclaration())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.VariableNameExpected);\n }\n }\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.ParenthesisR)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.RightParenthesisExpected);\n }\n }\n if (!this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.SemiColon) && !this.peek(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.EOF)) {\n if (!this.peekRegExp(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Ident, /as|hide|show/)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.UnknownKeyword);\n }\n if (this.acceptIdent('as')) {\n var identifier = this._parseIdent([_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.ReferenceType.Forward]);\n if (!node.setIdentifier(identifier)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.IdentifierExpected);\n }\n // Wildcard must be the next character after the identifier string.\n if (this.hasWhitespace() || !this.acceptDelim('*')) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.WildcardExpected);\n }\n }\n if (this.peekIdent('hide') || this.peekIdent('show')) {\n if (!node.addChild(this._parseForwardVisibility())) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.IdentifierOrVariableExpected);\n }\n }\n }\n if (!this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.SemiColon) && !this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.EOF)) {\n return this.finish(node, _cssErrors_js__WEBPACK_IMPORTED_MODULE_5__.ParseError.SemiColonExpected);\n }\n return this.finish(node);\n };\n SCSSParser.prototype._parseForwardVisibility = function () {\n var node = this.create(_cssNodes_js__WEBPACK_IMPORTED_MODULE_3__.ForwardVisibility);\n // Assume to be \"hide\" or \"show\".\n node.setIdentifier(this._parseIdent());\n while (node.addChild(this._parseVariable() || this._parseIdent())) {\n // Consume all variables and idents ahead.\n this.accept(_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.TokenType.Comma);\n }\n // More than just identifier \n return node.getChildren().length > 1 ? node : null;\n };\n SCSSParser.prototype._parseSupportsCondition = function () {\n return this._parseInterpolation() || _super.prototype._parseSupportsCondition.call(this);\n };\n return SCSSParser;\n}(_cssParser_js__WEBPACK_IMPORTED_MODULE_2__.Parser));\n\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/scssParser.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/scssScanner.js":
|
||
/*!***************************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/scssScanner.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 */ \"VariableName\": () => (/* binding */ VariableName),\n/* harmony export */ \"InterpolationFunction\": () => (/* binding */ InterpolationFunction),\n/* harmony export */ \"Default\": () => (/* binding */ Default),\n/* harmony export */ \"EqualsOperator\": () => (/* binding */ EqualsOperator),\n/* harmony export */ \"NotEqualsOperator\": () => (/* binding */ NotEqualsOperator),\n/* harmony export */ \"GreaterEqualsOperator\": () => (/* binding */ GreaterEqualsOperator),\n/* harmony export */ \"SmallerEqualsOperator\": () => (/* binding */ SmallerEqualsOperator),\n/* harmony export */ \"Ellipsis\": () => (/* binding */ Ellipsis),\n/* harmony export */ \"Module\": () => (/* binding */ Module),\n/* harmony export */ \"SCSSScanner\": () => (/* binding */ SCSSScanner)\n/* harmony export */ });\n/* harmony import */ var _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./cssScanner.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssScanner.js\");\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\nvar __extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\n\nvar _FSL = '/'.charCodeAt(0);\nvar _NWL = '\\n'.charCodeAt(0);\nvar _CAR = '\\r'.charCodeAt(0);\nvar _LFD = '\\f'.charCodeAt(0);\nvar _DLR = '$'.charCodeAt(0);\nvar _HSH = '#'.charCodeAt(0);\nvar _CUL = '{'.charCodeAt(0);\nvar _EQS = '='.charCodeAt(0);\nvar _BNG = '!'.charCodeAt(0);\nvar _LAN = '<'.charCodeAt(0);\nvar _RAN = '>'.charCodeAt(0);\nvar _DOT = '.'.charCodeAt(0);\nvar _ATS = '@'.charCodeAt(0);\nvar customTokenValue = _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.CustomToken;\nvar VariableName = customTokenValue++;\nvar InterpolationFunction = customTokenValue++;\nvar Default = customTokenValue++;\nvar EqualsOperator = customTokenValue++;\nvar NotEqualsOperator = customTokenValue++;\nvar GreaterEqualsOperator = customTokenValue++;\nvar SmallerEqualsOperator = customTokenValue++;\nvar Ellipsis = customTokenValue++;\nvar Module = customTokenValue++;\nvar SCSSScanner = /** @class */ (function (_super) {\n __extends(SCSSScanner, _super);\n function SCSSScanner() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n SCSSScanner.prototype.scanNext = function (offset) {\n // scss variable\n if (this.stream.advanceIfChar(_DLR)) {\n var content = ['$'];\n if (this.ident(content)) {\n return this.finishToken(offset, VariableName, content.join(''));\n }\n else {\n this.stream.goBackTo(offset);\n }\n }\n // scss: interpolation function #{..})\n if (this.stream.advanceIfChars([_HSH, _CUL])) {\n return this.finishToken(offset, InterpolationFunction);\n }\n // operator ==\n if (this.stream.advanceIfChars([_EQS, _EQS])) {\n return this.finishToken(offset, EqualsOperator);\n }\n // operator !=\n if (this.stream.advanceIfChars([_BNG, _EQS])) {\n return this.finishToken(offset, NotEqualsOperator);\n }\n // operators <, <=\n if (this.stream.advanceIfChar(_LAN)) {\n if (this.stream.advanceIfChar(_EQS)) {\n return this.finishToken(offset, SmallerEqualsOperator);\n }\n return this.finishToken(offset, _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Delim);\n }\n // ooperators >, >=\n if (this.stream.advanceIfChar(_RAN)) {\n if (this.stream.advanceIfChar(_EQS)) {\n return this.finishToken(offset, GreaterEqualsOperator);\n }\n return this.finishToken(offset, _cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Delim);\n }\n // ellipis\n if (this.stream.advanceIfChars([_DOT, _DOT, _DOT])) {\n return this.finishToken(offset, Ellipsis);\n }\n return _super.prototype.scanNext.call(this, offset);\n };\n SCSSScanner.prototype.comment = function () {\n if (_super.prototype.comment.call(this)) {\n return true;\n }\n if (!this.inURL && this.stream.advanceIfChars([_FSL, _FSL])) {\n this.stream.advanceWhileChar(function (ch) {\n switch (ch) {\n case _NWL:\n case _CAR:\n case _LFD:\n return false;\n default:\n return true;\n }\n });\n return true;\n }\n else {\n return false;\n }\n };\n return SCSSScanner;\n}(_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.Scanner));\n\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/scssScanner.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssCodeActions.js":
|
||
/*!********************************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssCodeActions.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 */ \"CSSCodeActions\": () => (/* binding */ CSSCodeActions)\n/* harmony export */ });\n/* harmony import */ var _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../parser/cssNodes.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssNodes.js\");\n/* harmony import */ var _utils_strings_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/strings.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/utils/strings.js\");\n/* harmony import */ var _services_lintRules_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../services/lintRules.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/lintRules.js\");\n/* harmony import */ var _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../cssLanguageTypes.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/cssLanguageTypes.js\");\n/* harmony import */ var _fillers_vscode_nls_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./../../../fillers/vscode-nls.js */ \"./node_modules/monaco-editor/esm/vs/language/css/fillers/vscode-nls.js\");\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\n\n\n\n\nvar localize = _fillers_vscode_nls_js__WEBPACK_IMPORTED_MODULE_4__.loadMessageBundle();\nvar CSSCodeActions = /** @class */ (function () {\n function CSSCodeActions(cssDataManager) {\n this.cssDataManager = cssDataManager;\n }\n CSSCodeActions.prototype.doCodeActions = function (document, range, context, stylesheet) {\n return this.doCodeActions2(document, range, context, stylesheet).map(function (ca) {\n var textDocumentEdit = ca.edit && ca.edit.documentChanges && ca.edit.documentChanges[0];\n return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_3__.Command.create(ca.title, '_css.applyCodeAction', document.uri, document.version, textDocumentEdit && textDocumentEdit.edits);\n });\n };\n CSSCodeActions.prototype.doCodeActions2 = function (document, range, context, stylesheet) {\n var result = [];\n if (context.diagnostics) {\n for (var _i = 0, _a = context.diagnostics; _i < _a.length; _i++) {\n var diagnostic = _a[_i];\n this.appendFixesForMarker(document, stylesheet, diagnostic, result);\n }\n }\n return result;\n };\n CSSCodeActions.prototype.getFixesForUnknownProperty = function (document, property, marker, result) {\n var propertyName = property.getName();\n var candidates = [];\n this.cssDataManager.getProperties().forEach(function (p) {\n var score = (0,_utils_strings_js__WEBPACK_IMPORTED_MODULE_1__.difference)(propertyName, p.name);\n if (score >= propertyName.length / 2 /*score_lim*/) {\n candidates.push({ property: p.name, score: score });\n }\n });\n // Sort in descending order.\n candidates.sort(function (a, b) {\n return b.score - a.score || a.property.localeCompare(b.property);\n });\n var maxActions = 3;\n for (var _i = 0, candidates_1 = candidates; _i < candidates_1.length; _i++) {\n var candidate = candidates_1[_i];\n var propertyName_1 = candidate.property;\n var title = localize('css.codeaction.rename', \"Rename to '{0}'\", propertyName_1);\n var edit = _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_3__.TextEdit.replace(marker.range, propertyName_1);\n var documentIdentifier = _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_3__.VersionedTextDocumentIdentifier.create(document.uri, document.version);\n var workspaceEdit = { documentChanges: [_cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_3__.TextDocumentEdit.create(documentIdentifier, [edit])] };\n var codeAction = _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_3__.CodeAction.create(title, workspaceEdit, _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_3__.CodeActionKind.QuickFix);\n codeAction.diagnostics = [marker];\n result.push(codeAction);\n if (--maxActions <= 0) {\n return;\n }\n }\n };\n CSSCodeActions.prototype.appendFixesForMarker = function (document, stylesheet, marker, result) {\n if (marker.code !== _services_lintRules_js__WEBPACK_IMPORTED_MODULE_2__.Rules.UnknownProperty.id) {\n return;\n }\n var offset = document.offsetAt(marker.range.start);\n var end = document.offsetAt(marker.range.end);\n var nodepath = _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.getNodePath(stylesheet, offset);\n for (var i = nodepath.length - 1; i >= 0; i--) {\n var node = nodepath[i];\n if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Declaration) {\n var property = node.getProperty();\n if (property && property.offset === offset && property.end === end) {\n this.getFixesForUnknownProperty(document, property, marker, result);\n return;\n }\n }\n }\n };\n return CSSCodeActions;\n}());\n\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssCodeActions.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssCompletion.js":
|
||
/*!*******************************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssCompletion.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 */ \"CSSCompletion\": () => (/* binding */ CSSCompletion)\n/* harmony export */ });\n/* harmony import */ var _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../parser/cssNodes.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssNodes.js\");\n/* harmony import */ var _parser_cssSymbolScope_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../parser/cssSymbolScope.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssSymbolScope.js\");\n/* harmony import */ var _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../languageFacts/facts.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/facts.js\");\n/* harmony import */ var _utils_strings_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/strings.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/utils/strings.js\");\n/* harmony import */ var _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../cssLanguageTypes.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/cssLanguageTypes.js\");\n/* harmony import */ var _fillers_vscode_nls_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./../../../fillers/vscode-nls.js */ \"./node_modules/monaco-editor/esm/vs/language/css/fillers/vscode-nls.js\");\n/* harmony import */ var _utils_objects_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/objects.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/utils/objects.js\");\n/* harmony import */ var _pathCompletion_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./pathCompletion.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/pathCompletion.js\");\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\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (undefined && undefined.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\n\n\n\n\n\n\n\n\nvar localize = _fillers_vscode_nls_js__WEBPACK_IMPORTED_MODULE_5__.loadMessageBundle();\nvar SnippetFormat = _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.InsertTextFormat.Snippet;\nvar SortTexts;\n(function (SortTexts) {\n // char code 32, comes before everything\n SortTexts[\"Enums\"] = \" \";\n SortTexts[\"Normal\"] = \"d\";\n SortTexts[\"VendorPrefixed\"] = \"x\";\n SortTexts[\"Term\"] = \"y\";\n SortTexts[\"Variable\"] = \"z\";\n})(SortTexts || (SortTexts = {}));\nvar CSSCompletion = /** @class */ (function () {\n function CSSCompletion(variablePrefix, lsOptions, cssDataManager) {\n if (variablePrefix === void 0) { variablePrefix = null; }\n this.variablePrefix = variablePrefix;\n this.lsOptions = lsOptions;\n this.cssDataManager = cssDataManager;\n this.completionParticipants = [];\n }\n CSSCompletion.prototype.configure = function (settings) {\n this.defaultSettings = settings;\n };\n CSSCompletion.prototype.getSymbolContext = function () {\n if (!this.symbolContext) {\n this.symbolContext = new _parser_cssSymbolScope_js__WEBPACK_IMPORTED_MODULE_1__.Symbols(this.styleSheet);\n }\n return this.symbolContext;\n };\n CSSCompletion.prototype.setCompletionParticipants = function (registeredCompletionParticipants) {\n this.completionParticipants = registeredCompletionParticipants || [];\n };\n CSSCompletion.prototype.doComplete2 = function (document, position, styleSheet, documentContext, completionSettings) {\n if (completionSettings === void 0) { completionSettings = this.defaultSettings; }\n return __awaiter(this, void 0, void 0, function () {\n var participant, contributedParticipants, result, pathCompletionResult;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (!this.lsOptions.fileSystemProvider || !this.lsOptions.fileSystemProvider.readDirectory) {\n return [2 /*return*/, this.doComplete(document, position, styleSheet, completionSettings)];\n }\n participant = new _pathCompletion_js__WEBPACK_IMPORTED_MODULE_7__.PathCompletionParticipant(this.lsOptions.fileSystemProvider.readDirectory);\n contributedParticipants = this.completionParticipants;\n this.completionParticipants = [participant].concat(contributedParticipants);\n result = this.doComplete(document, position, styleSheet, completionSettings);\n _a.label = 1;\n case 1:\n _a.trys.push([1, , 3, 4]);\n return [4 /*yield*/, participant.computeCompletions(document, documentContext)];\n case 2:\n pathCompletionResult = _a.sent();\n return [2 /*return*/, {\n isIncomplete: result.isIncomplete || pathCompletionResult.isIncomplete,\n items: pathCompletionResult.items.concat(result.items)\n }];\n case 3:\n this.completionParticipants = contributedParticipants;\n return [7 /*endfinally*/];\n case 4: return [2 /*return*/];\n }\n });\n });\n };\n CSSCompletion.prototype.doComplete = function (document, position, styleSheet, documentSettings) {\n this.offset = document.offsetAt(position);\n this.position = position;\n this.currentWord = getCurrentWord(document, this.offset);\n this.defaultReplaceRange = _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.Range.create(_cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.Position.create(this.position.line, this.position.character - this.currentWord.length), this.position);\n this.textDocument = document;\n this.styleSheet = styleSheet;\n this.documentSettings = documentSettings;\n try {\n var result = { isIncomplete: false, items: [] };\n this.nodePath = _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.getNodePath(this.styleSheet, this.offset);\n for (var i = this.nodePath.length - 1; i >= 0; i--) {\n var node = this.nodePath[i];\n if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Property) {\n this.getCompletionsForDeclarationProperty(node.getParent(), result);\n }\n else if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Expression) {\n if (node.parent instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Interpolation) {\n this.getVariableProposals(null, result);\n }\n else {\n this.getCompletionsForExpression(node, result);\n }\n }\n else if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.SimpleSelector) {\n var parentRef = node.findAParent(_parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.ExtendsReference, _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Ruleset);\n if (parentRef) {\n if (parentRef.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.ExtendsReference) {\n this.getCompletionsForExtendsReference(parentRef, node, result);\n }\n else {\n var parentRuleSet = parentRef;\n this.getCompletionsForSelector(parentRuleSet, parentRuleSet && parentRuleSet.isNested(), result);\n }\n }\n }\n else if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.FunctionArgument) {\n this.getCompletionsForFunctionArgument(node, node.getParent(), result);\n }\n else if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Declarations) {\n this.getCompletionsForDeclarations(node, result);\n }\n else if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.VariableDeclaration) {\n this.getCompletionsForVariableDeclaration(node, result);\n }\n else if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.RuleSet) {\n this.getCompletionsForRuleSet(node, result);\n }\n else if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Interpolation) {\n this.getCompletionsForInterpolation(node, result);\n }\n else if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.FunctionDeclaration) {\n this.getCompletionsForFunctionDeclaration(node, result);\n }\n else if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.MixinReference) {\n this.getCompletionsForMixinReference(node, result);\n }\n else if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Function) {\n this.getCompletionsForFunctionArgument(null, node, result);\n }\n else if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Supports) {\n this.getCompletionsForSupports(node, result);\n }\n else if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.SupportsCondition) {\n this.getCompletionsForSupportsCondition(node, result);\n }\n else if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ExtendsReference) {\n this.getCompletionsForExtendsReference(node, null, result);\n }\n else if (node.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.URILiteral) {\n this.getCompletionForUriLiteralValue(node, result);\n }\n else if (node.parent === null) {\n this.getCompletionForTopLevel(result);\n }\n else if (node.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.StringLiteral && this.isImportPathParent(node.parent.type)) {\n this.getCompletionForImportPath(node, result);\n // } else if (node instanceof nodes.Variable) {\n // this.getCompletionsForVariableDeclaration()\n }\n else {\n continue;\n }\n if (result.items.length > 0 || this.offset > node.offset) {\n return this.finalize(result);\n }\n }\n this.getCompletionsForStylesheet(result);\n if (result.items.length === 0) {\n if (this.variablePrefix && this.currentWord.indexOf(this.variablePrefix) === 0) {\n this.getVariableProposals(null, result);\n }\n }\n return this.finalize(result);\n }\n finally {\n // don't hold on any state, clear symbolContext\n this.position = null;\n this.currentWord = null;\n this.textDocument = null;\n this.styleSheet = null;\n this.symbolContext = null;\n this.defaultReplaceRange = null;\n this.nodePath = null;\n }\n };\n CSSCompletion.prototype.isImportPathParent = function (type) {\n return type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Import;\n };\n CSSCompletion.prototype.finalize = function (result) {\n return result;\n };\n CSSCompletion.prototype.findInNodePath = function () {\n var types = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n types[_i] = arguments[_i];\n }\n for (var i = this.nodePath.length - 1; i >= 0; i--) {\n var node = this.nodePath[i];\n if (types.indexOf(node.type) !== -1) {\n return node;\n }\n }\n return null;\n };\n CSSCompletion.prototype.getCompletionsForDeclarationProperty = function (declaration, result) {\n return this.getPropertyProposals(declaration, result);\n };\n CSSCompletion.prototype.getPropertyProposals = function (declaration, result) {\n var _this = this;\n var triggerPropertyValueCompletion = this.isTriggerPropertyValueCompletionEnabled;\n var completePropertyWithSemicolon = this.isCompletePropertyWithSemicolonEnabled;\n var properties = this.cssDataManager.getProperties();\n properties.forEach(function (entry) {\n var range;\n var insertText;\n var retrigger = false;\n if (declaration) {\n range = _this.getCompletionRange(declaration.getProperty());\n insertText = entry.name;\n if (!(0,_utils_objects_js__WEBPACK_IMPORTED_MODULE_6__.isDefined)(declaration.colonPosition)) {\n insertText += ': ';\n retrigger = true;\n }\n }\n else {\n range = _this.getCompletionRange(null);\n insertText = entry.name + ': ';\n retrigger = true;\n }\n // Empty .selector { | } case\n if (!declaration && completePropertyWithSemicolon) {\n insertText += '$0;';\n }\n // Cases such as .selector { p; } or .selector { p:; }\n if (declaration && !declaration.semicolonPosition) {\n if (completePropertyWithSemicolon && _this.offset >= _this.textDocument.offsetAt(range.end)) {\n insertText += '$0;';\n }\n }\n var item = {\n label: entry.name,\n documentation: _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__.getEntryDescription(entry, _this.doesSupportMarkdown()),\n tags: isDeprecated(entry) ? [_cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.CompletionItemTag.Deprecated] : [],\n textEdit: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.TextEdit.replace(range, insertText),\n insertTextFormat: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.InsertTextFormat.Snippet,\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.CompletionItemKind.Property\n };\n if (!entry.restrictions) {\n retrigger = false;\n }\n if (triggerPropertyValueCompletion && retrigger) {\n item.command = {\n title: 'Suggest',\n command: 'editor.action.triggerSuggest'\n };\n }\n var relevance = typeof entry.relevance === 'number' ? Math.min(Math.max(entry.relevance, 0), 99) : 50;\n var sortTextSuffix = (255 - relevance).toString(16);\n var sortTextPrefix = _utils_strings_js__WEBPACK_IMPORTED_MODULE_3__.startsWith(entry.name, '-') ? SortTexts.VendorPrefixed : SortTexts.Normal;\n item.sortText = sortTextPrefix + '_' + sortTextSuffix;\n result.items.push(item);\n });\n this.completionParticipants.forEach(function (participant) {\n if (participant.onCssProperty) {\n participant.onCssProperty({\n propertyName: _this.currentWord,\n range: _this.defaultReplaceRange\n });\n }\n });\n return result;\n };\n Object.defineProperty(CSSCompletion.prototype, \"isTriggerPropertyValueCompletionEnabled\", {\n get: function () {\n var _a, _b;\n return (_b = (_a = this.documentSettings) === null || _a === void 0 ? void 0 : _a.triggerPropertyValueCompletion) !== null && _b !== void 0 ? _b : true;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(CSSCompletion.prototype, \"isCompletePropertyWithSemicolonEnabled\", {\n get: function () {\n var _a, _b;\n return (_b = (_a = this.documentSettings) === null || _a === void 0 ? void 0 : _a.completePropertyWithSemicolon) !== null && _b !== void 0 ? _b : true;\n },\n enumerable: false,\n configurable: true\n });\n CSSCompletion.prototype.getCompletionsForDeclarationValue = function (node, result) {\n var _this = this;\n var propertyName = node.getFullPropertyName();\n var entry = this.cssDataManager.getProperty(propertyName);\n var existingNode = node.getValue() || null;\n while (existingNode && existingNode.hasChildren()) {\n existingNode = existingNode.findChildAtOffset(this.offset, false);\n }\n this.completionParticipants.forEach(function (participant) {\n if (participant.onCssPropertyValue) {\n participant.onCssPropertyValue({\n propertyName: propertyName,\n propertyValue: _this.currentWord,\n range: _this.getCompletionRange(existingNode)\n });\n }\n });\n if (entry) {\n if (entry.restrictions) {\n for (var _i = 0, _a = entry.restrictions; _i < _a.length; _i++) {\n var restriction = _a[_i];\n switch (restriction) {\n case 'color':\n this.getColorProposals(entry, existingNode, result);\n break;\n case 'position':\n this.getPositionProposals(entry, existingNode, result);\n break;\n case 'repeat':\n this.getRepeatStyleProposals(entry, existingNode, result);\n break;\n case 'line-style':\n this.getLineStyleProposals(entry, existingNode, result);\n break;\n case 'line-width':\n this.getLineWidthProposals(entry, existingNode, result);\n break;\n case 'geometry-box':\n this.getGeometryBoxProposals(entry, existingNode, result);\n break;\n case 'box':\n this.getBoxProposals(entry, existingNode, result);\n break;\n case 'image':\n this.getImageProposals(entry, existingNode, result);\n break;\n case 'timing-function':\n this.getTimingFunctionProposals(entry, existingNode, result);\n break;\n case 'shape':\n this.getBasicShapeProposals(entry, existingNode, result);\n break;\n }\n }\n }\n this.getValueEnumProposals(entry, existingNode, result);\n this.getCSSWideKeywordProposals(entry, existingNode, result);\n this.getUnitProposals(entry, existingNode, result);\n }\n else {\n var existingValues = collectValues(this.styleSheet, node);\n for (var _b = 0, _c = existingValues.getEntries(); _b < _c.length; _b++) {\n var existingValue = _c[_b];\n result.items.push({\n label: existingValue,\n textEdit: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.TextEdit.replace(this.getCompletionRange(existingNode), existingValue),\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.CompletionItemKind.Value\n });\n }\n }\n this.getVariableProposals(existingNode, result);\n this.getTermProposals(entry, existingNode, result);\n return result;\n };\n CSSCompletion.prototype.getValueEnumProposals = function (entry, existingNode, result) {\n if (entry.values) {\n for (var _i = 0, _a = entry.values; _i < _a.length; _i++) {\n var value = _a[_i];\n var insertString = value.name;\n var insertTextFormat = void 0;\n if (_utils_strings_js__WEBPACK_IMPORTED_MODULE_3__.endsWith(insertString, ')')) {\n var from = insertString.lastIndexOf('(');\n if (from !== -1) {\n insertString = insertString.substr(0, from) + '($1)';\n insertTextFormat = SnippetFormat;\n }\n }\n var sortText = SortTexts.Enums;\n if (_utils_strings_js__WEBPACK_IMPORTED_MODULE_3__.startsWith(value.name, '-')) {\n sortText += SortTexts.VendorPrefixed;\n }\n var item = {\n label: value.name,\n documentation: _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__.getEntryDescription(value, this.doesSupportMarkdown()),\n tags: isDeprecated(entry) ? [_cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.CompletionItemTag.Deprecated] : [],\n textEdit: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.TextEdit.replace(this.getCompletionRange(existingNode), insertString),\n sortText: sortText,\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.CompletionItemKind.Value,\n insertTextFormat: insertTextFormat\n };\n result.items.push(item);\n }\n }\n return result;\n };\n CSSCompletion.prototype.getCSSWideKeywordProposals = function (entry, existingNode, result) {\n for (var keywords in _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__.cssWideKeywords) {\n result.items.push({\n label: keywords,\n documentation: _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__.cssWideKeywords[keywords],\n textEdit: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.TextEdit.replace(this.getCompletionRange(existingNode), keywords),\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.CompletionItemKind.Value\n });\n }\n return result;\n };\n CSSCompletion.prototype.getCompletionsForInterpolation = function (node, result) {\n if (this.offset >= node.offset + 2) {\n this.getVariableProposals(null, result);\n }\n return result;\n };\n CSSCompletion.prototype.getVariableProposals = function (existingNode, result) {\n var symbols = this.getSymbolContext().findSymbolsAtOffset(this.offset, _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Variable);\n for (var _i = 0, symbols_1 = symbols; _i < symbols_1.length; _i++) {\n var symbol = symbols_1[_i];\n var insertText = _utils_strings_js__WEBPACK_IMPORTED_MODULE_3__.startsWith(symbol.name, '--') ? \"var(\" + symbol.name + \")\" : symbol.name;\n var completionItem = {\n label: symbol.name,\n documentation: symbol.value ? _utils_strings_js__WEBPACK_IMPORTED_MODULE_3__.getLimitedString(symbol.value) : symbol.value,\n textEdit: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.TextEdit.replace(this.getCompletionRange(existingNode), insertText),\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.CompletionItemKind.Variable,\n sortText: SortTexts.Variable\n };\n if (typeof completionItem.documentation === 'string' && isColorString(completionItem.documentation)) {\n completionItem.kind = _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.CompletionItemKind.Color;\n }\n if (symbol.node.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.FunctionParameter) {\n var mixinNode = (symbol.node.getParent());\n if (mixinNode.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.MixinDeclaration) {\n completionItem.detail = localize('completion.argument', 'argument from \\'{0}\\'', mixinNode.getName());\n }\n }\n result.items.push(completionItem);\n }\n return result;\n };\n CSSCompletion.prototype.getVariableProposalsForCSSVarFunction = function (result) {\n var symbols = this.getSymbolContext().findSymbolsAtOffset(this.offset, _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Variable);\n symbols = symbols.filter(function (symbol) {\n return _utils_strings_js__WEBPACK_IMPORTED_MODULE_3__.startsWith(symbol.name, '--');\n });\n for (var _i = 0, symbols_2 = symbols; _i < symbols_2.length; _i++) {\n var symbol = symbols_2[_i];\n var completionItem = {\n label: symbol.name,\n documentation: symbol.value ? _utils_strings_js__WEBPACK_IMPORTED_MODULE_3__.getLimitedString(symbol.value) : symbol.value,\n textEdit: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.TextEdit.replace(this.getCompletionRange(null), symbol.name),\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.CompletionItemKind.Variable\n };\n if (typeof completionItem.documentation === 'string' && isColorString(completionItem.documentation)) {\n completionItem.kind = _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.CompletionItemKind.Color;\n }\n result.items.push(completionItem);\n }\n return result;\n };\n CSSCompletion.prototype.getUnitProposals = function (entry, existingNode, result) {\n var currentWord = '0';\n if (this.currentWord.length > 0) {\n var numMatch = this.currentWord.match(/^-?\\d[\\.\\d+]*/);\n if (numMatch) {\n currentWord = numMatch[0];\n result.isIncomplete = currentWord.length === this.currentWord.length;\n }\n }\n else if (this.currentWord.length === 0) {\n result.isIncomplete = true;\n }\n if (existingNode && existingNode.parent && existingNode.parent.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Term) {\n existingNode = existingNode.getParent(); // include the unary operator\n }\n if (entry.restrictions) {\n for (var _i = 0, _a = entry.restrictions; _i < _a.length; _i++) {\n var restriction = _a[_i];\n var units = _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__.units[restriction];\n if (units) {\n for (var _b = 0, units_1 = units; _b < units_1.length; _b++) {\n var unit = units_1[_b];\n var insertText = currentWord + unit;\n result.items.push({\n label: insertText,\n textEdit: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.TextEdit.replace(this.getCompletionRange(existingNode), insertText),\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.CompletionItemKind.Unit\n });\n }\n }\n }\n }\n return result;\n };\n CSSCompletion.prototype.getCompletionRange = function (existingNode) {\n if (existingNode && existingNode.offset <= this.offset && this.offset <= existingNode.end) {\n var end = existingNode.end !== -1 ? this.textDocument.positionAt(existingNode.end) : this.position;\n var start = this.textDocument.positionAt(existingNode.offset);\n if (start.line === end.line) {\n return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.Range.create(start, end); // multi line edits are not allowed\n }\n }\n return this.defaultReplaceRange;\n };\n CSSCompletion.prototype.getColorProposals = function (entry, existingNode, result) {\n for (var color in _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__.colors) {\n result.items.push({\n label: color,\n documentation: _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__.colors[color],\n textEdit: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.TextEdit.replace(this.getCompletionRange(existingNode), color),\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.CompletionItemKind.Color\n });\n }\n for (var color in _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__.colorKeywords) {\n result.items.push({\n label: color,\n documentation: _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__.colorKeywords[color],\n textEdit: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.TextEdit.replace(this.getCompletionRange(existingNode), color),\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.CompletionItemKind.Value\n });\n }\n var colorValues = new Set();\n this.styleSheet.acceptVisitor(new ColorValueCollector(colorValues, this.offset));\n for (var _i = 0, _a = colorValues.getEntries(); _i < _a.length; _i++) {\n var color = _a[_i];\n result.items.push({\n label: color,\n textEdit: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.TextEdit.replace(this.getCompletionRange(existingNode), color),\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.CompletionItemKind.Color\n });\n }\n var _loop_1 = function (p) {\n var tabStop = 1;\n var replaceFunction = function (_match, p1) { return '${' + tabStop++ + ':' + p1 + '}'; };\n var insertText = p.func.replace(/\\[?\\$(\\w+)\\]?/g, replaceFunction);\n result.items.push({\n label: p.func.substr(0, p.func.indexOf('(')),\n detail: p.func,\n documentation: p.desc,\n textEdit: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.TextEdit.replace(this_1.getCompletionRange(existingNode), insertText),\n insertTextFormat: SnippetFormat,\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.CompletionItemKind.Function\n });\n };\n var this_1 = this;\n for (var _b = 0, _c = _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__.colorFunctions; _b < _c.length; _b++) {\n var p = _c[_b];\n _loop_1(p);\n }\n return result;\n };\n CSSCompletion.prototype.getPositionProposals = function (entry, existingNode, result) {\n for (var position in _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__.positionKeywords) {\n result.items.push({\n label: position,\n documentation: _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__.positionKeywords[position],\n textEdit: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.TextEdit.replace(this.getCompletionRange(existingNode), position),\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.CompletionItemKind.Value\n });\n }\n return result;\n };\n CSSCompletion.prototype.getRepeatStyleProposals = function (entry, existingNode, result) {\n for (var repeat in _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__.repeatStyleKeywords) {\n result.items.push({\n label: repeat,\n documentation: _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__.repeatStyleKeywords[repeat],\n textEdit: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.TextEdit.replace(this.getCompletionRange(existingNode), repeat),\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.CompletionItemKind.Value\n });\n }\n return result;\n };\n CSSCompletion.prototype.getLineStyleProposals = function (entry, existingNode, result) {\n for (var lineStyle in _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__.lineStyleKeywords) {\n result.items.push({\n label: lineStyle,\n documentation: _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__.lineStyleKeywords[lineStyle],\n textEdit: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.TextEdit.replace(this.getCompletionRange(existingNode), lineStyle),\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.CompletionItemKind.Value\n });\n }\n return result;\n };\n CSSCompletion.prototype.getLineWidthProposals = function (entry, existingNode, result) {\n for (var _i = 0, _a = _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__.lineWidthKeywords; _i < _a.length; _i++) {\n var lineWidth = _a[_i];\n result.items.push({\n label: lineWidth,\n textEdit: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.TextEdit.replace(this.getCompletionRange(existingNode), lineWidth),\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.CompletionItemKind.Value\n });\n }\n return result;\n };\n CSSCompletion.prototype.getGeometryBoxProposals = function (entry, existingNode, result) {\n for (var box in _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__.geometryBoxKeywords) {\n result.items.push({\n label: box,\n documentation: _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__.geometryBoxKeywords[box],\n textEdit: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.TextEdit.replace(this.getCompletionRange(existingNode), box),\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.CompletionItemKind.Value\n });\n }\n return result;\n };\n CSSCompletion.prototype.getBoxProposals = function (entry, existingNode, result) {\n for (var box in _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__.boxKeywords) {\n result.items.push({\n label: box,\n documentation: _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__.boxKeywords[box],\n textEdit: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.TextEdit.replace(this.getCompletionRange(existingNode), box),\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.CompletionItemKind.Value\n });\n }\n return result;\n };\n CSSCompletion.prototype.getImageProposals = function (entry, existingNode, result) {\n for (var image in _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__.imageFunctions) {\n var insertText = moveCursorInsideParenthesis(image);\n result.items.push({\n label: image,\n documentation: _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__.imageFunctions[image],\n textEdit: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.TextEdit.replace(this.getCompletionRange(existingNode), insertText),\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.CompletionItemKind.Function,\n insertTextFormat: image !== insertText ? SnippetFormat : void 0\n });\n }\n return result;\n };\n CSSCompletion.prototype.getTimingFunctionProposals = function (entry, existingNode, result) {\n for (var timing in _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__.transitionTimingFunctions) {\n var insertText = moveCursorInsideParenthesis(timing);\n result.items.push({\n label: timing,\n documentation: _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__.transitionTimingFunctions[timing],\n textEdit: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.TextEdit.replace(this.getCompletionRange(existingNode), insertText),\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.CompletionItemKind.Function,\n insertTextFormat: timing !== insertText ? SnippetFormat : void 0\n });\n }\n return result;\n };\n CSSCompletion.prototype.getBasicShapeProposals = function (entry, existingNode, result) {\n for (var shape in _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__.basicShapeFunctions) {\n var insertText = moveCursorInsideParenthesis(shape);\n result.items.push({\n label: shape,\n documentation: _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__.basicShapeFunctions[shape],\n textEdit: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.TextEdit.replace(this.getCompletionRange(existingNode), insertText),\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.CompletionItemKind.Function,\n insertTextFormat: shape !== insertText ? SnippetFormat : void 0\n });\n }\n return result;\n };\n CSSCompletion.prototype.getCompletionsForStylesheet = function (result) {\n var node = this.styleSheet.findFirstChildBeforeOffset(this.offset);\n if (!node) {\n return this.getCompletionForTopLevel(result);\n }\n if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.RuleSet) {\n return this.getCompletionsForRuleSet(node, result);\n }\n if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Supports) {\n return this.getCompletionsForSupports(node, result);\n }\n return result;\n };\n CSSCompletion.prototype.getCompletionForTopLevel = function (result) {\n var _this = this;\n this.cssDataManager.getAtDirectives().forEach(function (entry) {\n result.items.push({\n label: entry.name,\n textEdit: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.TextEdit.replace(_this.getCompletionRange(null), entry.name),\n documentation: _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__.getEntryDescription(entry, _this.doesSupportMarkdown()),\n tags: isDeprecated(entry) ? [_cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.CompletionItemTag.Deprecated] : [],\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.CompletionItemKind.Keyword\n });\n });\n this.getCompletionsForSelector(null, false, result);\n return result;\n };\n CSSCompletion.prototype.getCompletionsForRuleSet = function (ruleSet, result) {\n var declarations = ruleSet.getDeclarations();\n var isAfter = declarations && declarations.endsWith('}') && this.offset >= declarations.end;\n if (isAfter) {\n return this.getCompletionForTopLevel(result);\n }\n var isInSelectors = !declarations || this.offset <= declarations.offset;\n if (isInSelectors) {\n return this.getCompletionsForSelector(ruleSet, ruleSet.isNested(), result);\n }\n return this.getCompletionsForDeclarations(ruleSet.getDeclarations(), result);\n };\n CSSCompletion.prototype.getCompletionsForSelector = function (ruleSet, isNested, result) {\n var _this = this;\n var existingNode = this.findInNodePath(_parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.PseudoSelector, _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.IdentifierSelector, _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.ClassSelector, _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.ElementNameSelector);\n if (!existingNode && this.hasCharacterAtPosition(this.offset - this.currentWord.length - 1, ':')) {\n // after the ':' of a pseudo selector, no node generated for just ':'\n this.currentWord = ':' + this.currentWord;\n if (this.hasCharacterAtPosition(this.offset - this.currentWord.length - 1, ':')) {\n this.currentWord = ':' + this.currentWord; // for '::'\n }\n this.defaultReplaceRange = _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.Range.create(_cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.Position.create(this.position.line, this.position.character - this.currentWord.length), this.position);\n }\n var pseudoClasses = this.cssDataManager.getPseudoClasses();\n pseudoClasses.forEach(function (entry) {\n var insertText = moveCursorInsideParenthesis(entry.name);\n var item = {\n label: entry.name,\n textEdit: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.TextEdit.replace(_this.getCompletionRange(existingNode), insertText),\n documentation: _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__.getEntryDescription(entry, _this.doesSupportMarkdown()),\n tags: isDeprecated(entry) ? [_cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.CompletionItemTag.Deprecated] : [],\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.CompletionItemKind.Function,\n insertTextFormat: entry.name !== insertText ? SnippetFormat : void 0\n };\n if (_utils_strings_js__WEBPACK_IMPORTED_MODULE_3__.startsWith(entry.name, ':-')) {\n item.sortText = SortTexts.VendorPrefixed;\n }\n result.items.push(item);\n });\n var pseudoElements = this.cssDataManager.getPseudoElements();\n pseudoElements.forEach(function (entry) {\n var insertText = moveCursorInsideParenthesis(entry.name);\n var item = {\n label: entry.name,\n textEdit: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.TextEdit.replace(_this.getCompletionRange(existingNode), insertText),\n documentation: _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__.getEntryDescription(entry, _this.doesSupportMarkdown()),\n tags: isDeprecated(entry) ? [_cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.CompletionItemTag.Deprecated] : [],\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.CompletionItemKind.Function,\n insertTextFormat: entry.name !== insertText ? SnippetFormat : void 0\n };\n if (_utils_strings_js__WEBPACK_IMPORTED_MODULE_3__.startsWith(entry.name, '::-')) {\n item.sortText = SortTexts.VendorPrefixed;\n }\n result.items.push(item);\n });\n if (!isNested) { // show html tags only for top level\n for (var _i = 0, _a = _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__.html5Tags; _i < _a.length; _i++) {\n var entry = _a[_i];\n result.items.push({\n label: entry,\n textEdit: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.TextEdit.replace(this.getCompletionRange(existingNode), entry),\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.CompletionItemKind.Keyword\n });\n }\n for (var _b = 0, _c = _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__.svgElements; _b < _c.length; _b++) {\n var entry = _c[_b];\n result.items.push({\n label: entry,\n textEdit: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.TextEdit.replace(this.getCompletionRange(existingNode), entry),\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.CompletionItemKind.Keyword\n });\n }\n }\n var visited = {};\n visited[this.currentWord] = true;\n var docText = this.textDocument.getText();\n this.styleSheet.accept(function (n) {\n if (n.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.SimpleSelector && n.length > 0) {\n var selector = docText.substr(n.offset, n.length);\n if (selector.charAt(0) === '.' && !visited[selector]) {\n visited[selector] = true;\n result.items.push({\n label: selector,\n textEdit: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.TextEdit.replace(_this.getCompletionRange(existingNode), selector),\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.CompletionItemKind.Keyword\n });\n }\n return false;\n }\n return true;\n });\n if (ruleSet && ruleSet.isNested()) {\n var selector = ruleSet.getSelectors().findFirstChildBeforeOffset(this.offset);\n if (selector && ruleSet.getSelectors().getChildren().indexOf(selector) === 0) {\n this.getPropertyProposals(null, result);\n }\n }\n return result;\n };\n CSSCompletion.prototype.getCompletionsForDeclarations = function (declarations, result) {\n if (!declarations || this.offset === declarations.offset) { // incomplete nodes\n return result;\n }\n var node = declarations.findFirstChildBeforeOffset(this.offset);\n if (!node) {\n return this.getCompletionsForDeclarationProperty(null, result);\n }\n if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.AbstractDeclaration) {\n var declaration = node;\n if (!(0,_utils_objects_js__WEBPACK_IMPORTED_MODULE_6__.isDefined)(declaration.colonPosition) || this.offset <= declaration.colonPosition) {\n // complete property\n return this.getCompletionsForDeclarationProperty(declaration, result);\n }\n else if (((0,_utils_objects_js__WEBPACK_IMPORTED_MODULE_6__.isDefined)(declaration.semicolonPosition) && declaration.semicolonPosition < this.offset)) {\n if (this.offset === declaration.semicolonPosition + 1) {\n return result; // don't show new properties right after semicolon (see Bug 15421:[intellisense] [css] Be less aggressive when manually typing CSS)\n }\n // complete next property\n return this.getCompletionsForDeclarationProperty(null, result);\n }\n if (declaration instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Declaration) {\n // complete value\n return this.getCompletionsForDeclarationValue(declaration, result);\n }\n }\n else if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ExtendsReference) {\n this.getCompletionsForExtendsReference(node, null, result);\n }\n else if (this.currentWord && this.currentWord[0] === '@') {\n this.getCompletionsForDeclarationProperty(null, result);\n }\n else if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.RuleSet) {\n this.getCompletionsForDeclarationProperty(null, result);\n }\n return result;\n };\n CSSCompletion.prototype.getCompletionsForVariableDeclaration = function (declaration, result) {\n if (this.offset && (0,_utils_objects_js__WEBPACK_IMPORTED_MODULE_6__.isDefined)(declaration.colonPosition) && this.offset > declaration.colonPosition) {\n this.getVariableProposals(declaration.getValue(), result);\n }\n return result;\n };\n CSSCompletion.prototype.getCompletionsForExpression = function (expression, result) {\n var parent = expression.getParent();\n if (parent instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.FunctionArgument) {\n this.getCompletionsForFunctionArgument(parent, parent.getParent(), result);\n return result;\n }\n var declaration = expression.findParent(_parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Declaration);\n if (!declaration) {\n this.getTermProposals(undefined, null, result);\n return result;\n }\n var node = expression.findChildAtOffset(this.offset, true);\n if (!node) {\n return this.getCompletionsForDeclarationValue(declaration, result);\n }\n if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NumericValue || node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Identifier) {\n return this.getCompletionsForDeclarationValue(declaration, result);\n }\n return result;\n };\n CSSCompletion.prototype.getCompletionsForFunctionArgument = function (arg, func, result) {\n var identifier = func.getIdentifier();\n if (identifier && identifier.matches('var')) {\n if (!func.getArguments().hasChildren() || func.getArguments().getChild(0) === arg) {\n this.getVariableProposalsForCSSVarFunction(result);\n }\n }\n return result;\n };\n CSSCompletion.prototype.getCompletionsForFunctionDeclaration = function (decl, result) {\n var declarations = decl.getDeclarations();\n if (declarations && this.offset > declarations.offset && this.offset < declarations.end) {\n this.getTermProposals(undefined, null, result);\n }\n return result;\n };\n CSSCompletion.prototype.getCompletionsForMixinReference = function (ref, result) {\n var _this = this;\n var allMixins = this.getSymbolContext().findSymbolsAtOffset(this.offset, _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Mixin);\n for (var _i = 0, allMixins_1 = allMixins; _i < allMixins_1.length; _i++) {\n var mixinSymbol = allMixins_1[_i];\n if (mixinSymbol.node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.MixinDeclaration) {\n result.items.push(this.makeTermProposal(mixinSymbol, mixinSymbol.node.getParameters(), null));\n }\n }\n var identifierNode = ref.getIdentifier() || null;\n this.completionParticipants.forEach(function (participant) {\n if (participant.onCssMixinReference) {\n participant.onCssMixinReference({\n mixinName: _this.currentWord,\n range: _this.getCompletionRange(identifierNode)\n });\n }\n });\n return result;\n };\n CSSCompletion.prototype.getTermProposals = function (entry, existingNode, result) {\n var allFunctions = this.getSymbolContext().findSymbolsAtOffset(this.offset, _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ReferenceType.Function);\n for (var _i = 0, allFunctions_1 = allFunctions; _i < allFunctions_1.length; _i++) {\n var functionSymbol = allFunctions_1[_i];\n if (functionSymbol.node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.FunctionDeclaration) {\n result.items.push(this.makeTermProposal(functionSymbol, functionSymbol.node.getParameters(), existingNode));\n }\n }\n return result;\n };\n CSSCompletion.prototype.makeTermProposal = function (symbol, parameters, existingNode) {\n var decl = symbol.node;\n var params = parameters.getChildren().map(function (c) {\n return (c instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.FunctionParameter) ? c.getName() : c.getText();\n });\n var insertText = symbol.name + '(' + params.map(function (p, index) { return '${' + (index + 1) + ':' + p + '}'; }).join(', ') + ')';\n return {\n label: symbol.name,\n detail: symbol.name + '(' + params.join(', ') + ')',\n textEdit: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.TextEdit.replace(this.getCompletionRange(existingNode), insertText),\n insertTextFormat: SnippetFormat,\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.CompletionItemKind.Function,\n sortText: SortTexts.Term\n };\n };\n CSSCompletion.prototype.getCompletionsForSupportsCondition = function (supportsCondition, result) {\n var child = supportsCondition.findFirstChildBeforeOffset(this.offset);\n if (child) {\n if (child instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Declaration) {\n if (!(0,_utils_objects_js__WEBPACK_IMPORTED_MODULE_6__.isDefined)(child.colonPosition) || this.offset <= child.colonPosition) {\n return this.getCompletionsForDeclarationProperty(child, result);\n }\n else {\n return this.getCompletionsForDeclarationValue(child, result);\n }\n }\n else if (child instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.SupportsCondition) {\n return this.getCompletionsForSupportsCondition(child, result);\n }\n }\n if ((0,_utils_objects_js__WEBPACK_IMPORTED_MODULE_6__.isDefined)(supportsCondition.lParent) && this.offset > supportsCondition.lParent && (!(0,_utils_objects_js__WEBPACK_IMPORTED_MODULE_6__.isDefined)(supportsCondition.rParent) || this.offset <= supportsCondition.rParent)) {\n return this.getCompletionsForDeclarationProperty(null, result);\n }\n return result;\n };\n CSSCompletion.prototype.getCompletionsForSupports = function (supports, result) {\n var declarations = supports.getDeclarations();\n var inInCondition = !declarations || this.offset <= declarations.offset;\n if (inInCondition) {\n var child = supports.findFirstChildBeforeOffset(this.offset);\n if (child instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.SupportsCondition) {\n return this.getCompletionsForSupportsCondition(child, result);\n }\n return result;\n }\n return this.getCompletionForTopLevel(result);\n };\n CSSCompletion.prototype.getCompletionsForExtendsReference = function (extendsRef, existingNode, result) {\n return result;\n };\n CSSCompletion.prototype.getCompletionForUriLiteralValue = function (uriLiteralNode, result) {\n var uriValue;\n var position;\n var range;\n // No children, empty value\n if (!uriLiteralNode.hasChildren()) {\n uriValue = '';\n position = this.position;\n var emptyURIValuePosition = this.textDocument.positionAt(uriLiteralNode.offset + 'url('.length);\n range = _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.Range.create(emptyURIValuePosition, emptyURIValuePosition);\n }\n else {\n var uriValueNode = uriLiteralNode.getChild(0);\n uriValue = uriValueNode.getText();\n position = this.position;\n range = this.getCompletionRange(uriValueNode);\n }\n this.completionParticipants.forEach(function (participant) {\n if (participant.onCssURILiteralValue) {\n participant.onCssURILiteralValue({\n uriValue: uriValue,\n position: position,\n range: range\n });\n }\n });\n return result;\n };\n CSSCompletion.prototype.getCompletionForImportPath = function (importPathNode, result) {\n var _this = this;\n this.completionParticipants.forEach(function (participant) {\n if (participant.onCssImportPath) {\n participant.onCssImportPath({\n pathValue: importPathNode.getText(),\n position: _this.position,\n range: _this.getCompletionRange(importPathNode)\n });\n }\n });\n return result;\n };\n CSSCompletion.prototype.hasCharacterAtPosition = function (offset, char) {\n var text = this.textDocument.getText();\n return (offset >= 0 && offset < text.length) && text.charAt(offset) === char;\n };\n CSSCompletion.prototype.doesSupportMarkdown = function () {\n var _a, _b, _c;\n if (!(0,_utils_objects_js__WEBPACK_IMPORTED_MODULE_6__.isDefined)(this.supportsMarkdown)) {\n if (!(0,_utils_objects_js__WEBPACK_IMPORTED_MODULE_6__.isDefined)(this.lsOptions.clientCapabilities)) {\n this.supportsMarkdown = true;\n return this.supportsMarkdown;\n }\n var documentationFormat = (_c = (_b = (_a = this.lsOptions.clientCapabilities.textDocument) === null || _a === void 0 ? void 0 : _a.completion) === null || _b === void 0 ? void 0 : _b.completionItem) === null || _c === void 0 ? void 0 : _c.documentationFormat;\n this.supportsMarkdown = Array.isArray(documentationFormat) && documentationFormat.indexOf(_cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.MarkupKind.Markdown) !== -1;\n }\n return this.supportsMarkdown;\n };\n return CSSCompletion;\n}());\n\nfunction isDeprecated(entry) {\n if (entry.status && (entry.status === 'nonstandard' || entry.status === 'obsolete')) {\n return true;\n }\n return false;\n}\n/**\n * Rank number should all be same length strings\n */\nfunction computeRankNumber(n) {\n var nstr = n.toString();\n switch (nstr.length) {\n case 4:\n return nstr;\n case 3:\n return '0' + nstr;\n case 2:\n return '00' + nstr;\n case 1:\n return '000' + nstr;\n default:\n return '0000';\n }\n}\nvar Set = /** @class */ (function () {\n function Set() {\n this.entries = {};\n }\n Set.prototype.add = function (entry) {\n this.entries[entry] = true;\n };\n Set.prototype.getEntries = function () {\n return Object.keys(this.entries);\n };\n return Set;\n}());\nfunction moveCursorInsideParenthesis(text) {\n return text.replace(/\\(\\)$/, \"($1)\");\n}\nfunction collectValues(styleSheet, declaration) {\n var fullPropertyName = declaration.getFullPropertyName();\n var entries = new Set();\n function visitValue(node) {\n if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Identifier || node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NumericValue || node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.HexColorValue) {\n entries.add(node.getText());\n }\n return true;\n }\n function matchesProperty(decl) {\n var propertyName = decl.getFullPropertyName();\n return fullPropertyName === propertyName;\n }\n function vistNode(node) {\n if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Declaration && node !== declaration) {\n if (matchesProperty(node)) {\n var value = node.getValue();\n if (value) {\n value.accept(visitValue);\n }\n }\n }\n return true;\n }\n styleSheet.accept(vistNode);\n return entries;\n}\nvar ColorValueCollector = /** @class */ (function () {\n function ColorValueCollector(entries, currentOffset) {\n this.entries = entries;\n this.currentOffset = currentOffset;\n // nothing to do\n }\n ColorValueCollector.prototype.visitNode = function (node) {\n if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.HexColorValue || (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Function && _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__.isColorConstructor(node))) {\n if (this.currentOffset < node.offset || node.end < this.currentOffset) {\n this.entries.add(node.getText());\n }\n }\n return true;\n };\n return ColorValueCollector;\n}());\nfunction getCurrentWord(document, offset) {\n var i = offset - 1;\n var text = document.getText();\n while (i >= 0 && ' \\t\\n\\r\":{[()]},*>+'.indexOf(text.charAt(i)) === -1) {\n i--;\n }\n return text.substring(i + 1, offset);\n}\nfunction isColorString(s) {\n // From https://stackoverflow.com/questions/8027423/how-to-check-if-a-string-is-a-valid-hex-color-representation/8027444\n return (s.toLowerCase() in _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__.colors) || /(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(s);\n}\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssCompletion.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssFolding.js":
|
||
/*!****************************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssFolding.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 */ \"getFoldingRanges\": () => (/* binding */ getFoldingRanges)\n/* harmony export */ });\n/* harmony import */ var _parser_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../parser/cssScanner.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssScanner.js\");\n/* harmony import */ var _parser_scssScanner_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../parser/scssScanner.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/scssScanner.js\");\n/* harmony import */ var _parser_lessScanner_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../parser/lessScanner.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/lessScanner.js\");\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\n\n\nfunction getFoldingRanges(document, context) {\n var ranges = computeFoldingRanges(document);\n return limitFoldingRanges(ranges, context);\n}\nfunction computeFoldingRanges(document) {\n function getStartLine(t) {\n return document.positionAt(t.offset).line;\n }\n function getEndLine(t) {\n return document.positionAt(t.offset + t.len).line;\n }\n function getScanner() {\n switch (document.languageId) {\n case 'scss':\n return new _parser_scssScanner_js__WEBPACK_IMPORTED_MODULE_1__.SCSSScanner();\n case 'less':\n return new _parser_lessScanner_js__WEBPACK_IMPORTED_MODULE_2__.LESSScanner();\n default:\n return new _parser_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.Scanner();\n }\n }\n function tokenToRange(t, kind) {\n var startLine = getStartLine(t);\n var endLine = getEndLine(t);\n if (startLine !== endLine) {\n return {\n startLine: startLine,\n endLine: endLine,\n kind: kind\n };\n }\n else {\n return null;\n }\n }\n var ranges = [];\n var delimiterStack = [];\n var scanner = getScanner();\n scanner.ignoreComment = false;\n scanner.setSource(document.getText());\n var token = scanner.scan();\n var prevToken = null;\n var _loop_1 = function () {\n switch (token.type) {\n case _parser_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.CurlyL:\n case _parser_scssScanner_js__WEBPACK_IMPORTED_MODULE_1__.InterpolationFunction:\n {\n delimiterStack.push({ line: getStartLine(token), type: 'brace', isStart: true });\n break;\n }\n case _parser_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.CurlyR: {\n if (delimiterStack.length !== 0) {\n var prevDelimiter = popPrevStartDelimiterOfType(delimiterStack, 'brace');\n if (!prevDelimiter) {\n break;\n }\n var endLine = getEndLine(token);\n if (prevDelimiter.type === 'brace') {\n /**\n * Other than the case when curly brace is not on a new line by itself, for example\n * .foo {\n * color: red; }\n * Use endLine minus one to show ending curly brace\n */\n if (prevToken && getEndLine(prevToken) !== endLine) {\n endLine--;\n }\n if (prevDelimiter.line !== endLine) {\n ranges.push({\n startLine: prevDelimiter.line,\n endLine: endLine,\n kind: undefined\n });\n }\n }\n }\n break;\n }\n /**\n * In CSS, there is no single line comment prefixed with //\n * All comments are marked as `Comment`\n */\n case _parser_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.Comment: {\n var commentRegionMarkerToDelimiter_1 = function (marker) {\n if (marker === '#region') {\n return { line: getStartLine(token), type: 'comment', isStart: true };\n }\n else {\n return { line: getEndLine(token), type: 'comment', isStart: false };\n }\n };\n var getCurrDelimiter = function (token) {\n var matches = token.text.match(/^\\s*\\/\\*\\s*(#region|#endregion)\\b\\s*(.*?)\\s*\\*\\//);\n if (matches) {\n return commentRegionMarkerToDelimiter_1(matches[1]);\n }\n else if (document.languageId === 'scss' || document.languageId === 'less') {\n var matches_1 = token.text.match(/^\\s*\\/\\/\\s*(#region|#endregion)\\b\\s*(.*?)\\s*/);\n if (matches_1) {\n return commentRegionMarkerToDelimiter_1(matches_1[1]);\n }\n }\n return null;\n };\n var currDelimiter = getCurrDelimiter(token);\n // /* */ comment region folding\n // All #region and #endregion cases\n if (currDelimiter) {\n if (currDelimiter.isStart) {\n delimiterStack.push(currDelimiter);\n }\n else {\n var prevDelimiter = popPrevStartDelimiterOfType(delimiterStack, 'comment');\n if (!prevDelimiter) {\n break;\n }\n if (prevDelimiter.type === 'comment') {\n if (prevDelimiter.line !== currDelimiter.line) {\n ranges.push({\n startLine: prevDelimiter.line,\n endLine: currDelimiter.line,\n kind: 'region'\n });\n }\n }\n }\n }\n // Multiline comment case\n else {\n var range = tokenToRange(token, 'comment');\n if (range) {\n ranges.push(range);\n }\n }\n break;\n }\n }\n prevToken = token;\n token = scanner.scan();\n };\n while (token.type !== _parser_cssScanner_js__WEBPACK_IMPORTED_MODULE_0__.TokenType.EOF) {\n _loop_1();\n }\n return ranges;\n}\nfunction popPrevStartDelimiterOfType(stack, type) {\n if (stack.length === 0) {\n return null;\n }\n for (var i = stack.length - 1; i >= 0; i--) {\n if (stack[i].type === type && stack[i].isStart) {\n return stack.splice(i, 1)[0];\n }\n }\n return null;\n}\n/**\n * - Sort regions\n * - Remove invalid regions (intersections)\n * - If limit exceeds, only return `rangeLimit` amount of ranges\n */\nfunction limitFoldingRanges(ranges, context) {\n var maxRanges = context && context.rangeLimit || Number.MAX_VALUE;\n var sortedRanges = ranges.sort(function (r1, r2) {\n var diff = r1.startLine - r2.startLine;\n if (diff === 0) {\n diff = r1.endLine - r2.endLine;\n }\n return diff;\n });\n var validRanges = [];\n var prevEndLine = -1;\n sortedRanges.forEach(function (r) {\n if (!(r.startLine < prevEndLine && prevEndLine < r.endLine)) {\n validRanges.push(r);\n prevEndLine = r.endLine;\n }\n });\n if (validRanges.length < maxRanges) {\n return validRanges;\n }\n else {\n return validRanges.slice(0, maxRanges);\n }\n}\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssFolding.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssHover.js":
|
||
/*!**************************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssHover.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 */ \"CSSHover\": () => (/* binding */ CSSHover)\n/* harmony export */ });\n/* harmony import */ var _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../parser/cssNodes.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssNodes.js\");\n/* harmony import */ var _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../languageFacts/facts.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/facts.js\");\n/* harmony import */ var _selectorPrinting_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./selectorPrinting.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/selectorPrinting.js\");\n/* harmony import */ var _utils_strings_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/strings.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/utils/strings.js\");\n/* harmony import */ var _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../cssLanguageTypes.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/cssLanguageTypes.js\");\n/* harmony import */ var _utils_objects_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/objects.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/utils/objects.js\");\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\n\n\n\n\n\nvar CSSHover = /** @class */ (function () {\n function CSSHover(clientCapabilities, cssDataManager) {\n this.clientCapabilities = clientCapabilities;\n this.cssDataManager = cssDataManager;\n this.selectorPrinting = new _selectorPrinting_js__WEBPACK_IMPORTED_MODULE_2__.SelectorPrinting(cssDataManager);\n }\n CSSHover.prototype.configure = function (settings) {\n this.defaultSettings = settings;\n };\n CSSHover.prototype.doHover = function (document, position, stylesheet, settings) {\n if (settings === void 0) { settings = this.defaultSettings; }\n function getRange(node) {\n return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.Range.create(document.positionAt(node.offset), document.positionAt(node.end));\n }\n var offset = document.offsetAt(position);\n var nodepath = _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.getNodePath(stylesheet, offset);\n /**\n * nodepath is top-down\n * Build up the hover by appending inner node's information\n */\n var hover = null;\n for (var i = 0; i < nodepath.length; i++) {\n var node = nodepath[i];\n if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Selector) {\n hover = {\n contents: this.selectorPrinting.selectorToMarkedString(node),\n range: getRange(node)\n };\n break;\n }\n if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.SimpleSelector) {\n /**\n * Some sass specific at rules such as `@at-root` are parsed as `SimpleSelector`\n */\n if (!(0,_utils_strings_js__WEBPACK_IMPORTED_MODULE_3__.startsWith)(node.getText(), '@')) {\n hover = {\n contents: this.selectorPrinting.simpleSelectorToMarkedString(node),\n range: getRange(node)\n };\n }\n break;\n }\n if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Declaration) {\n var propertyName = node.getFullPropertyName();\n var entry = this.cssDataManager.getProperty(propertyName);\n if (entry) {\n var contents = _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_1__.getEntryDescription(entry, this.doesSupportMarkdown(), settings);\n if (contents) {\n hover = {\n contents: contents,\n range: getRange(node)\n };\n }\n else {\n hover = null;\n }\n }\n continue;\n }\n if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.UnknownAtRule) {\n var atRuleName = node.getText();\n var entry = this.cssDataManager.getAtDirective(atRuleName);\n if (entry) {\n var contents = _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_1__.getEntryDescription(entry, this.doesSupportMarkdown(), settings);\n if (contents) {\n hover = {\n contents: contents,\n range: getRange(node)\n };\n }\n else {\n hover = null;\n }\n }\n continue;\n }\n if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Node && node.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.PseudoSelector) {\n var selectorName = node.getText();\n var entry = selectorName.slice(0, 2) === '::'\n ? this.cssDataManager.getPseudoElement(selectorName)\n : this.cssDataManager.getPseudoClass(selectorName);\n if (entry) {\n var contents = _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_1__.getEntryDescription(entry, this.doesSupportMarkdown(), settings);\n if (contents) {\n hover = {\n contents: contents,\n range: getRange(node)\n };\n }\n else {\n hover = null;\n }\n }\n continue;\n }\n }\n if (hover) {\n hover.contents = this.convertContents(hover.contents);\n }\n return hover;\n };\n CSSHover.prototype.convertContents = function (contents) {\n if (!this.doesSupportMarkdown()) {\n if (typeof contents === 'string') {\n return contents;\n }\n // MarkupContent\n else if ('kind' in contents) {\n return {\n kind: 'plaintext',\n value: contents.value\n };\n }\n // MarkedString[]\n else if (Array.isArray(contents)) {\n return contents.map(function (c) {\n return typeof c === 'string' ? c : c.value;\n });\n }\n // MarkedString\n else {\n return contents.value;\n }\n }\n return contents;\n };\n CSSHover.prototype.doesSupportMarkdown = function () {\n if (!(0,_utils_objects_js__WEBPACK_IMPORTED_MODULE_5__.isDefined)(this.supportsMarkdown)) {\n if (!(0,_utils_objects_js__WEBPACK_IMPORTED_MODULE_5__.isDefined)(this.clientCapabilities)) {\n this.supportsMarkdown = true;\n return this.supportsMarkdown;\n }\n var hover = this.clientCapabilities.textDocument && this.clientCapabilities.textDocument.hover;\n this.supportsMarkdown = hover && hover.contentFormat && Array.isArray(hover.contentFormat) && hover.contentFormat.indexOf(_cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_4__.MarkupKind.Markdown) !== -1;\n }\n return this.supportsMarkdown;\n };\n return CSSHover;\n}());\n\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssHover.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssNavigation.js":
|
||
/*!*******************************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssNavigation.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 */ \"CSSNavigation\": () => (/* binding */ CSSNavigation)\n/* harmony export */ });\n/* harmony import */ var _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../cssLanguageTypes.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/cssLanguageTypes.js\");\n/* harmony import */ var _fillers_vscode_nls_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../../../fillers/vscode-nls.js */ \"./node_modules/monaco-editor/esm/vs/language/css/fillers/vscode-nls.js\");\n/* harmony import */ var _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../parser/cssNodes.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssNodes.js\");\n/* harmony import */ var _parser_cssSymbolScope_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../parser/cssSymbolScope.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssSymbolScope.js\");\n/* harmony import */ var _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../languageFacts/facts.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/facts.js\");\n/* harmony import */ var _utils_strings_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/strings.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/utils/strings.js\");\n/* harmony import */ var _utils_resources_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/resources.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/utils/resources.js\");\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\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (undefined && undefined.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\n\n\n\n\n\n\n\nvar localize = _fillers_vscode_nls_js__WEBPACK_IMPORTED_MODULE_1__.loadMessageBundle();\nvar CSSNavigation = /** @class */ (function () {\n function CSSNavigation(fileSystemProvider) {\n this.fileSystemProvider = fileSystemProvider;\n }\n CSSNavigation.prototype.findDefinition = function (document, position, stylesheet) {\n var symbols = new _parser_cssSymbolScope_js__WEBPACK_IMPORTED_MODULE_3__.Symbols(stylesheet);\n var offset = document.offsetAt(position);\n var node = _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.getNodeAtOffset(stylesheet, offset);\n if (!node) {\n return null;\n }\n var symbol = symbols.findSymbolFromNode(node);\n if (!symbol) {\n return null;\n }\n return {\n uri: document.uri,\n range: getRange(symbol.node, document)\n };\n };\n CSSNavigation.prototype.findReferences = function (document, position, stylesheet) {\n var highlights = this.findDocumentHighlights(document, position, stylesheet);\n return highlights.map(function (h) {\n return {\n uri: document.uri,\n range: h.range\n };\n });\n };\n CSSNavigation.prototype.findDocumentHighlights = function (document, position, stylesheet) {\n var result = [];\n var offset = document.offsetAt(position);\n var node = _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.getNodeAtOffset(stylesheet, offset);\n if (!node || node.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.NodeType.Stylesheet || node.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.NodeType.Declarations) {\n return result;\n }\n if (node.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.NodeType.Identifier && node.parent && node.parent.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.NodeType.ClassSelector) {\n node = node.parent;\n }\n var symbols = new _parser_cssSymbolScope_js__WEBPACK_IMPORTED_MODULE_3__.Symbols(stylesheet);\n var symbol = symbols.findSymbolFromNode(node);\n var name = node.getText();\n stylesheet.accept(function (candidate) {\n if (symbol) {\n if (symbols.matchesSymbol(candidate, symbol)) {\n result.push({\n kind: getHighlightKind(candidate),\n range: getRange(candidate, document)\n });\n return false;\n }\n }\n else if (node && node.type === candidate.type && candidate.matches(name)) {\n // Same node type and data\n result.push({\n kind: getHighlightKind(candidate),\n range: getRange(candidate, document)\n });\n }\n return true;\n });\n return result;\n };\n CSSNavigation.prototype.isRawStringDocumentLinkNode = function (node) {\n return node.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.NodeType.Import;\n };\n CSSNavigation.prototype.findDocumentLinks = function (document, stylesheet, documentContext) {\n var links = this.findUnresolvedLinks(document, stylesheet);\n for (var i = 0; i < links.length; i++) {\n var target = links[i].target;\n if (target && !(/^\\w+:\\/\\//g.test(target))) {\n var resolved = documentContext.resolveReference(target, document.uri);\n if (resolved) {\n links[i].target = resolved;\n }\n }\n }\n return links;\n };\n CSSNavigation.prototype.findDocumentLinks2 = function (document, stylesheet, documentContext) {\n return __awaiter(this, void 0, void 0, function () {\n var links, resolvedLinks, _i, links_1, link, target, resolvedTarget;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n links = this.findUnresolvedLinks(document, stylesheet);\n resolvedLinks = [];\n _i = 0, links_1 = links;\n _a.label = 1;\n case 1:\n if (!(_i < links_1.length)) return [3 /*break*/, 5];\n link = links_1[_i];\n target = link.target;\n if (!(target && !(/^\\w+:\\/\\//g.test(target)))) return [3 /*break*/, 3];\n return [4 /*yield*/, this.resolveRelativeReference(target, document.uri, documentContext)];\n case 2:\n resolvedTarget = _a.sent();\n if (resolvedTarget !== undefined) {\n link.target = resolvedTarget;\n resolvedLinks.push(link);\n }\n return [3 /*break*/, 4];\n case 3:\n resolvedLinks.push(link);\n _a.label = 4;\n case 4:\n _i++;\n return [3 /*break*/, 1];\n case 5: return [2 /*return*/, resolvedLinks];\n }\n });\n });\n };\n CSSNavigation.prototype.findUnresolvedLinks = function (document, stylesheet) {\n var _this = this;\n var result = [];\n var collect = function (uriStringNode) {\n var rawUri = uriStringNode.getText();\n var range = getRange(uriStringNode, document);\n // Make sure the range is not empty\n if (range.start.line === range.end.line && range.start.character === range.end.character) {\n return;\n }\n if ((0,_utils_strings_js__WEBPACK_IMPORTED_MODULE_5__.startsWith)(rawUri, \"'\") || (0,_utils_strings_js__WEBPACK_IMPORTED_MODULE_5__.startsWith)(rawUri, \"\\\"\")) {\n rawUri = rawUri.slice(1, -1);\n }\n result.push({ target: rawUri, range: range });\n };\n stylesheet.accept(function (candidate) {\n if (candidate.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.NodeType.URILiteral) {\n var first = candidate.getChild(0);\n if (first) {\n collect(first);\n }\n return false;\n }\n /**\n * In @import, it is possible to include links that do not use `url()`\n * For example, `@import 'foo.css';`\n */\n if (candidate.parent && _this.isRawStringDocumentLinkNode(candidate.parent)) {\n var rawText = candidate.getText();\n if ((0,_utils_strings_js__WEBPACK_IMPORTED_MODULE_5__.startsWith)(rawText, \"'\") || (0,_utils_strings_js__WEBPACK_IMPORTED_MODULE_5__.startsWith)(rawText, \"\\\"\")) {\n collect(candidate);\n }\n return false;\n }\n return true;\n });\n return result;\n };\n CSSNavigation.prototype.findDocumentSymbols = function (document, stylesheet) {\n var result = [];\n stylesheet.accept(function (node) {\n var entry = {\n name: null,\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Class,\n location: null\n };\n var locationNode = node;\n if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.Selector) {\n entry.name = node.getText();\n locationNode = node.findAParent(_parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.NodeType.Ruleset, _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.NodeType.ExtendsReference);\n if (locationNode) {\n entry.location = _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_0__.Location.create(document.uri, getRange(locationNode, document));\n result.push(entry);\n }\n return false;\n }\n else if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.VariableDeclaration) {\n entry.name = node.getName();\n entry.kind = _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Variable;\n }\n else if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.MixinDeclaration) {\n entry.name = node.getName();\n entry.kind = _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Method;\n }\n else if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.FunctionDeclaration) {\n entry.name = node.getName();\n entry.kind = _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Function;\n }\n else if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.Keyframe) {\n entry.name = localize('literal.keyframes', \"@keyframes {0}\", node.getName());\n }\n else if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.FontFace) {\n entry.name = localize('literal.fontface', \"@font-face\");\n }\n else if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.Media) {\n var mediaList = node.getChild(0);\n if (mediaList instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.Medialist) {\n entry.name = '@media ' + mediaList.getText();\n entry.kind = _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_0__.SymbolKind.Module;\n }\n }\n if (entry.name) {\n entry.location = _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_0__.Location.create(document.uri, getRange(locationNode, document));\n result.push(entry);\n }\n return true;\n });\n return result;\n };\n CSSNavigation.prototype.findDocumentColors = function (document, stylesheet) {\n var result = [];\n stylesheet.accept(function (node) {\n var colorInfo = getColorInformation(node, document);\n if (colorInfo) {\n result.push(colorInfo);\n }\n return true;\n });\n return result;\n };\n CSSNavigation.prototype.getColorPresentations = function (document, stylesheet, color, range) {\n var result = [];\n var red256 = Math.round(color.red * 255), green256 = Math.round(color.green * 255), blue256 = Math.round(color.blue * 255);\n var label;\n if (color.alpha === 1) {\n label = \"rgb(\" + red256 + \", \" + green256 + \", \" + blue256 + \")\";\n }\n else {\n label = \"rgba(\" + red256 + \", \" + green256 + \", \" + blue256 + \", \" + color.alpha + \")\";\n }\n result.push({ label: label, textEdit: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_0__.TextEdit.replace(range, label) });\n if (color.alpha === 1) {\n label = \"#\" + toTwoDigitHex(red256) + toTwoDigitHex(green256) + toTwoDigitHex(blue256);\n }\n else {\n label = \"#\" + toTwoDigitHex(red256) + toTwoDigitHex(green256) + toTwoDigitHex(blue256) + toTwoDigitHex(Math.round(color.alpha * 255));\n }\n result.push({ label: label, textEdit: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_0__.TextEdit.replace(range, label) });\n var hsl = (0,_languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_4__.hslFromColor)(color);\n if (hsl.a === 1) {\n label = \"hsl(\" + hsl.h + \", \" + Math.round(hsl.s * 100) + \"%, \" + Math.round(hsl.l * 100) + \"%)\";\n }\n else {\n label = \"hsla(\" + hsl.h + \", \" + Math.round(hsl.s * 100) + \"%, \" + Math.round(hsl.l * 100) + \"%, \" + hsl.a + \")\";\n }\n result.push({ label: label, textEdit: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_0__.TextEdit.replace(range, label) });\n return result;\n };\n CSSNavigation.prototype.doRename = function (document, position, newName, stylesheet) {\n var _a;\n var highlights = this.findDocumentHighlights(document, position, stylesheet);\n var edits = highlights.map(function (h) { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_0__.TextEdit.replace(h.range, newName); });\n return {\n changes: (_a = {}, _a[document.uri] = edits, _a)\n };\n };\n CSSNavigation.prototype.resolveRelativeReference = function (ref, documentUri, documentContext) {\n return __awaiter(this, void 0, void 0, function () {\n var moduleName, rootFolderUri, documentFolderUri, modulePath, pathWithinModule;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (!(ref[0] === '~' && ref[1] !== '/' && this.fileSystemProvider)) return [3 /*break*/, 3];\n ref = ref.substring(1);\n if (!(0,_utils_strings_js__WEBPACK_IMPORTED_MODULE_5__.startsWith)(documentUri, 'file://')) return [3 /*break*/, 2];\n moduleName = getModuleNameFromPath(ref);\n rootFolderUri = documentContext.resolveReference('/', documentUri);\n documentFolderUri = (0,_utils_resources_js__WEBPACK_IMPORTED_MODULE_6__.dirname)(documentUri);\n return [4 /*yield*/, this.resolvePathToModule(moduleName, documentFolderUri, rootFolderUri)];\n case 1:\n modulePath = _a.sent();\n if (modulePath) {\n pathWithinModule = ref.substring(moduleName.length + 1);\n return [2 /*return*/, (0,_utils_resources_js__WEBPACK_IMPORTED_MODULE_6__.joinPath)(modulePath, pathWithinModule)];\n }\n _a.label = 2;\n case 2: return [2 /*return*/, documentContext.resolveReference(ref, documentUri)];\n case 3: return [2 /*return*/, documentContext.resolveReference(ref, documentUri)];\n }\n });\n });\n };\n CSSNavigation.prototype.resolvePathToModule = function (_moduleName, documentFolderUri, rootFolderUri) {\n return __awaiter(this, void 0, void 0, function () {\n var packPath;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n packPath = (0,_utils_resources_js__WEBPACK_IMPORTED_MODULE_6__.joinPath)(documentFolderUri, 'node_modules', _moduleName, 'package.json');\n return [4 /*yield*/, this.fileExists(packPath)];\n case 1:\n if (_a.sent()) {\n return [2 /*return*/, (0,_utils_resources_js__WEBPACK_IMPORTED_MODULE_6__.dirname)(packPath)];\n }\n else if (rootFolderUri && documentFolderUri.startsWith(rootFolderUri) && (documentFolderUri.length !== rootFolderUri.length)) {\n return [2 /*return*/, this.resolvePathToModule(_moduleName, (0,_utils_resources_js__WEBPACK_IMPORTED_MODULE_6__.dirname)(documentFolderUri), rootFolderUri)];\n }\n return [2 /*return*/, undefined];\n }\n });\n });\n };\n CSSNavigation.prototype.fileExists = function (uri) {\n return __awaiter(this, void 0, void 0, function () {\n var stat, err_1;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (!this.fileSystemProvider) {\n return [2 /*return*/, false];\n }\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, , 4]);\n return [4 /*yield*/, this.fileSystemProvider.stat(uri)];\n case 2:\n stat = _a.sent();\n if (stat.type === _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_0__.FileType.Unknown && stat.size === -1) {\n return [2 /*return*/, false];\n }\n return [2 /*return*/, true];\n case 3:\n err_1 = _a.sent();\n return [2 /*return*/, false];\n case 4: return [2 /*return*/];\n }\n });\n });\n };\n return CSSNavigation;\n}());\n\nfunction getColorInformation(node, document) {\n var color = (0,_languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_4__.getColorValue)(node);\n if (color) {\n var range = getRange(node, document);\n return { color: color, range: range };\n }\n return null;\n}\nfunction getRange(node, document) {\n return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_0__.Range.create(document.positionAt(node.offset), document.positionAt(node.end));\n}\nfunction getHighlightKind(node) {\n if (node.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.NodeType.Selector) {\n return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_0__.DocumentHighlightKind.Write;\n }\n if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.Identifier) {\n if (node.parent && node.parent instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.Property) {\n if (node.isCustomProperty) {\n return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_0__.DocumentHighlightKind.Write;\n }\n }\n }\n if (node.parent) {\n switch (node.parent.type) {\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.NodeType.FunctionDeclaration:\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.NodeType.MixinDeclaration:\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.NodeType.Keyframe:\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.NodeType.VariableDeclaration:\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.NodeType.FunctionParameter:\n return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_0__.DocumentHighlightKind.Write;\n }\n }\n return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_0__.DocumentHighlightKind.Read;\n}\nfunction toTwoDigitHex(n) {\n var r = n.toString(16);\n return r.length !== 2 ? '0' + r : r;\n}\nfunction getModuleNameFromPath(path) {\n // If a scoped module (starts with @) then get up until second instance of '/', otherwise get until first instance of '/'\n if (path[0] === '@') {\n return path.substring(0, path.indexOf('/', path.indexOf('/') + 1));\n }\n return path.substring(0, path.indexOf('/'));\n}\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssNavigation.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssSelectionRange.js":
|
||
/*!***********************************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssSelectionRange.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 */ \"getSelectionRanges\": () => (/* binding */ getSelectionRanges)\n/* harmony export */ });\n/* harmony import */ var _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../cssLanguageTypes.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/cssLanguageTypes.js\");\n/* harmony import */ var _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../parser/cssNodes.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssNodes.js\");\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\n\nfunction getSelectionRanges(document, positions, stylesheet) {\n function getSelectionRange(position) {\n var applicableRanges = getApplicableRanges(position);\n var current = undefined;\n for (var index = applicableRanges.length - 1; index >= 0; index--) {\n current = _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_0__.SelectionRange.create(_cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_0__.Range.create(document.positionAt(applicableRanges[index][0]), document.positionAt(applicableRanges[index][1])), current);\n }\n if (!current) {\n current = _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_0__.SelectionRange.create(_cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_0__.Range.create(position, position));\n }\n return current;\n }\n return positions.map(getSelectionRange);\n function getApplicableRanges(position) {\n var offset = document.offsetAt(position);\n var currNode = stylesheet.findChildAtOffset(offset, true);\n if (!currNode) {\n return [];\n }\n var result = [];\n while (currNode) {\n if (currNode.parent &&\n currNode.offset === currNode.parent.offset &&\n currNode.end === currNode.parent.end) {\n currNode = currNode.parent;\n continue;\n }\n // The `{ }` part of `.a { }`\n if (currNode.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.Declarations) {\n if (offset > currNode.offset && offset < currNode.end) {\n // Return `{ }` and the range inside `{` and `}`\n result.push([currNode.offset + 1, currNode.end - 1]);\n }\n }\n result.push([currNode.offset, currNode.end]);\n currNode = currNode.parent;\n }\n return result;\n }\n}\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssSelectionRange.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssValidation.js":
|
||
/*!*******************************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssValidation.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 */ \"CSSValidation\": () => (/* binding */ CSSValidation)\n/* harmony export */ });\n/* harmony import */ var _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../parser/cssNodes.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssNodes.js\");\n/* harmony import */ var _lintRules_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./lintRules.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/lintRules.js\");\n/* harmony import */ var _lint_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./lint.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/lint.js\");\n/* harmony import */ var _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../cssLanguageTypes.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/cssLanguageTypes.js\");\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\n\n\n\nvar CSSValidation = /** @class */ (function () {\n function CSSValidation(cssDataManager) {\n this.cssDataManager = cssDataManager;\n }\n CSSValidation.prototype.configure = function (settings) {\n this.settings = settings;\n };\n CSSValidation.prototype.doValidation = function (document, stylesheet, settings) {\n if (settings === void 0) { settings = this.settings; }\n if (settings && settings.validate === false) {\n return [];\n }\n var entries = [];\n entries.push.apply(entries, _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.ParseErrorCollector.entries(stylesheet));\n entries.push.apply(entries, _lint_js__WEBPACK_IMPORTED_MODULE_2__.LintVisitor.entries(stylesheet, document, new _lintRules_js__WEBPACK_IMPORTED_MODULE_1__.LintConfigurationSettings(settings && settings.lint), this.cssDataManager));\n var ruleIds = [];\n for (var r in _lintRules_js__WEBPACK_IMPORTED_MODULE_1__.Rules) {\n ruleIds.push(_lintRules_js__WEBPACK_IMPORTED_MODULE_1__.Rules[r].id);\n }\n function toDiagnostic(marker) {\n var range = _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_3__.Range.create(document.positionAt(marker.getOffset()), document.positionAt(marker.getOffset() + marker.getLength()));\n var source = document.languageId;\n return {\n code: marker.getRule().id,\n source: source,\n message: marker.getMessage(),\n severity: marker.getLevel() === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Level.Warning ? _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_3__.DiagnosticSeverity.Warning : _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_3__.DiagnosticSeverity.Error,\n range: range\n };\n }\n return entries.filter(function (entry) { return entry.getLevel() !== _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Level.Ignore; }).map(toDiagnostic);\n };\n return CSSValidation;\n}());\n\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssValidation.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/lessCompletion.js":
|
||
/*!********************************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/lessCompletion.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 */ \"LESSCompletion\": () => (/* binding */ LESSCompletion)\n/* harmony export */ });\n/* harmony import */ var _cssCompletion_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./cssCompletion.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssCompletion.js\");\n/* harmony import */ var _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../cssLanguageTypes.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/cssLanguageTypes.js\");\n/* harmony import */ var _fillers_vscode_nls_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./../../../fillers/vscode-nls.js */ \"./node_modules/monaco-editor/esm/vs/language/css/fillers/vscode-nls.js\");\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\nvar __extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\n\n\n\nvar localize = _fillers_vscode_nls_js__WEBPACK_IMPORTED_MODULE_2__.loadMessageBundle();\nvar LESSCompletion = /** @class */ (function (_super) {\n __extends(LESSCompletion, _super);\n function LESSCompletion(lsOptions, cssDataManager) {\n return _super.call(this, '@', lsOptions, cssDataManager) || this;\n }\n LESSCompletion.prototype.createFunctionProposals = function (proposals, existingNode, sortToEnd, result) {\n for (var _i = 0, proposals_1 = proposals; _i < proposals_1.length; _i++) {\n var p = proposals_1[_i];\n var item = {\n label: p.name,\n detail: p.example,\n documentation: p.description,\n textEdit: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_1__.TextEdit.replace(this.getCompletionRange(existingNode), p.name + '($0)'),\n insertTextFormat: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_1__.InsertTextFormat.Snippet,\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_1__.CompletionItemKind.Function\n };\n if (sortToEnd) {\n item.sortText = 'z';\n }\n result.items.push(item);\n }\n return result;\n };\n LESSCompletion.prototype.getTermProposals = function (entry, existingNode, result) {\n var functions = LESSCompletion.builtInProposals;\n if (entry) {\n functions = functions.filter(function (f) { return !f.type || !entry.restrictions || entry.restrictions.indexOf(f.type) !== -1; });\n }\n this.createFunctionProposals(functions, existingNode, true, result);\n return _super.prototype.getTermProposals.call(this, entry, existingNode, result);\n };\n LESSCompletion.prototype.getColorProposals = function (entry, existingNode, result) {\n this.createFunctionProposals(LESSCompletion.colorProposals, existingNode, false, result);\n return _super.prototype.getColorProposals.call(this, entry, existingNode, result);\n };\n LESSCompletion.prototype.getCompletionsForDeclarationProperty = function (declaration, result) {\n this.getCompletionsForSelector(null, true, result);\n return _super.prototype.getCompletionsForDeclarationProperty.call(this, declaration, result);\n };\n LESSCompletion.builtInProposals = [\n // Boolean functions\n {\n 'name': 'if',\n 'example': 'if(condition, trueValue [, falseValue]);',\n 'description': localize('less.builtin.if', 'returns one of two values depending on a condition.')\n },\n {\n 'name': 'boolean',\n 'example': 'boolean(condition);',\n 'description': localize('less.builtin.boolean', '\"store\" a boolean test for later evaluation in a guard or if().')\n },\n // List functions\n {\n 'name': 'length',\n 'example': 'length(@list);',\n 'description': localize('less.builtin.length', 'returns the number of elements in a value list')\n },\n {\n 'name': 'extract',\n 'example': 'extract(@list, index);',\n 'description': localize('less.builtin.extract', 'returns a value at the specified position in the list')\n },\n {\n 'name': 'range',\n 'example': 'range([start, ] end [, step]);',\n 'description': localize('less.builtin.range', 'generate a list spanning a range of values')\n },\n {\n 'name': 'each',\n 'example': 'each(@list, ruleset);',\n 'description': localize('less.builtin.each', 'bind the evaluation of a ruleset to each member of a list.')\n },\n // Other built-ins\n {\n 'name': 'escape',\n 'example': 'escape(@string);',\n 'description': localize('less.builtin.escape', 'URL encodes a string')\n },\n {\n 'name': 'e',\n 'example': 'e(@string);',\n 'description': localize('less.builtin.e', 'escape string content')\n },\n {\n 'name': 'replace',\n 'example': 'replace(@string, @pattern, @replacement[, @flags]);',\n 'description': localize('less.builtin.replace', 'string replace')\n },\n {\n 'name': 'unit',\n 'example': 'unit(@dimension, [@unit: \\'\\']);',\n 'description': localize('less.builtin.unit', 'remove or change the unit of a dimension')\n },\n {\n 'name': 'color',\n 'example': 'color(@string);',\n 'description': localize('less.builtin.color', 'parses a string to a color'),\n 'type': 'color'\n },\n {\n 'name': 'convert',\n 'example': 'convert(@value, unit);',\n 'description': localize('less.builtin.convert', 'converts numbers from one type into another')\n },\n {\n 'name': 'data-uri',\n 'example': 'data-uri([mimetype,] url);',\n 'description': localize('less.builtin.data-uri', 'inlines a resource and falls back to `url()`'),\n 'type': 'url'\n },\n {\n 'name': 'abs',\n 'description': localize('less.builtin.abs', 'absolute value of a number'),\n 'example': 'abs(number);'\n },\n {\n 'name': 'acos',\n 'description': localize('less.builtin.acos', 'arccosine - inverse of cosine function'),\n 'example': 'acos(number);'\n },\n {\n 'name': 'asin',\n 'description': localize('less.builtin.asin', 'arcsine - inverse of sine function'),\n 'example': 'asin(number);'\n },\n {\n 'name': 'ceil',\n 'example': 'ceil(@number);',\n 'description': localize('less.builtin.ceil', 'rounds up to an integer')\n },\n {\n 'name': 'cos',\n 'description': localize('less.builtin.cos', 'cosine function'),\n 'example': 'cos(number);'\n },\n {\n 'name': 'floor',\n 'description': localize('less.builtin.floor', 'rounds down to an integer'),\n 'example': 'floor(@number);'\n },\n {\n 'name': 'percentage',\n 'description': localize('less.builtin.percentage', 'converts to a %, e.g. 0.5 > 50%'),\n 'example': 'percentage(@number);',\n 'type': 'percentage'\n },\n {\n 'name': 'round',\n 'description': localize('less.builtin.round', 'rounds a number to a number of places'),\n 'example': 'round(number, [places: 0]);'\n },\n {\n 'name': 'sqrt',\n 'description': localize('less.builtin.sqrt', 'calculates square root of a number'),\n 'example': 'sqrt(number);'\n },\n {\n 'name': 'sin',\n 'description': localize('less.builtin.sin', 'sine function'),\n 'example': 'sin(number);'\n },\n {\n 'name': 'tan',\n 'description': localize('less.builtin.tan', 'tangent function'),\n 'example': 'tan(number);'\n },\n {\n 'name': 'atan',\n 'description': localize('less.builtin.atan', 'arctangent - inverse of tangent function'),\n 'example': 'atan(number);'\n },\n {\n 'name': 'pi',\n 'description': localize('less.builtin.pi', 'returns pi'),\n 'example': 'pi();'\n },\n {\n 'name': 'pow',\n 'description': localize('less.builtin.pow', 'first argument raised to the power of the second argument'),\n 'example': 'pow(@base, @exponent);'\n },\n {\n 'name': 'mod',\n 'description': localize('less.builtin.mod', 'first argument modulus second argument'),\n 'example': 'mod(number, number);'\n },\n {\n 'name': 'min',\n 'description': localize('less.builtin.min', 'returns the lowest of one or more values'),\n 'example': 'min(@x, @y);'\n },\n {\n 'name': 'max',\n 'description': localize('less.builtin.max', 'returns the lowest of one or more values'),\n 'example': 'max(@x, @y);'\n }\n ];\n LESSCompletion.colorProposals = [\n {\n 'name': 'argb',\n 'example': 'argb(@color);',\n 'description': localize('less.builtin.argb', 'creates a #AARRGGBB')\n },\n {\n 'name': 'hsl',\n 'example': 'hsl(@hue, @saturation, @lightness);',\n 'description': localize('less.builtin.hsl', 'creates a color')\n },\n {\n 'name': 'hsla',\n 'example': 'hsla(@hue, @saturation, @lightness, @alpha);',\n 'description': localize('less.builtin.hsla', 'creates a color')\n },\n {\n 'name': 'hsv',\n 'example': 'hsv(@hue, @saturation, @value);',\n 'description': localize('less.builtin.hsv', 'creates a color')\n },\n {\n 'name': 'hsva',\n 'example': 'hsva(@hue, @saturation, @value, @alpha);',\n 'description': localize('less.builtin.hsva', 'creates a color')\n },\n {\n 'name': 'hue',\n 'example': 'hue(@color);',\n 'description': localize('less.builtin.hue', 'returns the `hue` channel of `@color` in the HSL space')\n },\n {\n 'name': 'saturation',\n 'example': 'saturation(@color);',\n 'description': localize('less.builtin.saturation', 'returns the `saturation` channel of `@color` in the HSL space')\n },\n {\n 'name': 'lightness',\n 'example': 'lightness(@color);',\n 'description': localize('less.builtin.lightness', 'returns the `lightness` channel of `@color` in the HSL space')\n },\n {\n 'name': 'hsvhue',\n 'example': 'hsvhue(@color);',\n 'description': localize('less.builtin.hsvhue', 'returns the `hue` channel of `@color` in the HSV space')\n },\n {\n 'name': 'hsvsaturation',\n 'example': 'hsvsaturation(@color);',\n 'description': localize('less.builtin.hsvsaturation', 'returns the `saturation` channel of `@color` in the HSV space')\n },\n {\n 'name': 'hsvvalue',\n 'example': 'hsvvalue(@color);',\n 'description': localize('less.builtin.hsvvalue', 'returns the `value` channel of `@color` in the HSV space')\n },\n {\n 'name': 'red',\n 'example': 'red(@color);',\n 'description': localize('less.builtin.red', 'returns the `red` channel of `@color`')\n },\n {\n 'name': 'green',\n 'example': 'green(@color);',\n 'description': localize('less.builtin.green', 'returns the `green` channel of `@color`')\n },\n {\n 'name': 'blue',\n 'example': 'blue(@color);',\n 'description': localize('less.builtin.blue', 'returns the `blue` channel of `@color`')\n },\n {\n 'name': 'alpha',\n 'example': 'alpha(@color);',\n 'description': localize('less.builtin.alpha', 'returns the `alpha` channel of `@color`')\n },\n {\n 'name': 'luma',\n 'example': 'luma(@color);',\n 'description': localize('less.builtin.luma', 'returns the `luma` value (perceptual brightness) of `@color`')\n },\n {\n 'name': 'saturate',\n 'example': 'saturate(@color, 10%);',\n 'description': localize('less.builtin.saturate', 'return `@color` 10% points more saturated')\n },\n {\n 'name': 'desaturate',\n 'example': 'desaturate(@color, 10%);',\n 'description': localize('less.builtin.desaturate', 'return `@color` 10% points less saturated')\n },\n {\n 'name': 'lighten',\n 'example': 'lighten(@color, 10%);',\n 'description': localize('less.builtin.lighten', 'return `@color` 10% points lighter')\n },\n {\n 'name': 'darken',\n 'example': 'darken(@color, 10%);',\n 'description': localize('less.builtin.darken', 'return `@color` 10% points darker')\n },\n {\n 'name': 'fadein',\n 'example': 'fadein(@color, 10%);',\n 'description': localize('less.builtin.fadein', 'return `@color` 10% points less transparent')\n },\n {\n 'name': 'fadeout',\n 'example': 'fadeout(@color, 10%);',\n 'description': localize('less.builtin.fadeout', 'return `@color` 10% points more transparent')\n },\n {\n 'name': 'fade',\n 'example': 'fade(@color, 50%);',\n 'description': localize('less.builtin.fade', 'return `@color` with 50% transparency')\n },\n {\n 'name': 'spin',\n 'example': 'spin(@color, 10);',\n 'description': localize('less.builtin.spin', 'return `@color` with a 10 degree larger in hue')\n },\n {\n 'name': 'mix',\n 'example': 'mix(@color1, @color2, [@weight: 50%]);',\n 'description': localize('less.builtin.mix', 'return a mix of `@color1` and `@color2`')\n },\n {\n 'name': 'greyscale',\n 'example': 'greyscale(@color);',\n 'description': localize('less.builtin.greyscale', 'returns a grey, 100% desaturated color'),\n },\n {\n 'name': 'contrast',\n 'example': 'contrast(@color1, [@darkcolor: black], [@lightcolor: white], [@threshold: 43%]);',\n 'description': localize('less.builtin.contrast', 'return `@darkcolor` if `@color1 is> 43% luma` otherwise return `@lightcolor`, see notes')\n },\n {\n 'name': 'multiply',\n 'example': 'multiply(@color1, @color2);'\n },\n {\n 'name': 'screen',\n 'example': 'screen(@color1, @color2);'\n },\n {\n 'name': 'overlay',\n 'example': 'overlay(@color1, @color2);'\n },\n {\n 'name': 'softlight',\n 'example': 'softlight(@color1, @color2);'\n },\n {\n 'name': 'hardlight',\n 'example': 'hardlight(@color1, @color2);'\n },\n {\n 'name': 'difference',\n 'example': 'difference(@color1, @color2);'\n },\n {\n 'name': 'exclusion',\n 'example': 'exclusion(@color1, @color2);'\n },\n {\n 'name': 'average',\n 'example': 'average(@color1, @color2);'\n },\n {\n 'name': 'negation',\n 'example': 'negation(@color1, @color2);'\n }\n ];\n return LESSCompletion;\n}(_cssCompletion_js__WEBPACK_IMPORTED_MODULE_0__.CSSCompletion));\n\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/lessCompletion.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/lint.js":
|
||
/*!**********************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/lint.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 */ \"LintVisitor\": () => (/* binding */ LintVisitor)\n/* harmony export */ });\n/* harmony import */ var _fillers_vscode_nls_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../../../fillers/vscode-nls.js */ \"./node_modules/monaco-editor/esm/vs/language/css/fillers/vscode-nls.js\");\n/* harmony import */ var _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../languageFacts/facts.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/facts.js\");\n/* harmony import */ var _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../parser/cssNodes.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssNodes.js\");\n/* harmony import */ var _utils_arrays_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/arrays.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/utils/arrays.js\");\n/* harmony import */ var _lintRules_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./lintRules.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/lintRules.js\");\n/* harmony import */ var _lintUtil_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./lintUtil.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/lintUtil.js\");\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\n\n\n\n\n\nvar localize = _fillers_vscode_nls_js__WEBPACK_IMPORTED_MODULE_0__.loadMessageBundle();\nvar NodesByRootMap = /** @class */ (function () {\n function NodesByRootMap() {\n this.data = {};\n }\n NodesByRootMap.prototype.add = function (root, name, node) {\n var entry = this.data[root];\n if (!entry) {\n entry = { nodes: [], names: [] };\n this.data[root] = entry;\n }\n entry.names.push(name);\n if (node) {\n entry.nodes.push(node);\n }\n };\n return NodesByRootMap;\n}());\nvar LintVisitor = /** @class */ (function () {\n function LintVisitor(document, settings, cssDataManager) {\n var _this = this;\n this.cssDataManager = cssDataManager;\n this.warnings = [];\n this.settings = settings;\n this.documentText = document.getText();\n this.keyframes = new NodesByRootMap();\n this.validProperties = {};\n var properties = settings.getSetting(_lintRules_js__WEBPACK_IMPORTED_MODULE_4__.Settings.ValidProperties);\n if (Array.isArray(properties)) {\n properties.forEach(function (p) {\n if (typeof p === 'string') {\n var name = p.trim().toLowerCase();\n if (name.length) {\n _this.validProperties[name] = true;\n }\n }\n });\n }\n }\n LintVisitor.entries = function (node, document, settings, cssDataManager, entryFilter) {\n var visitor = new LintVisitor(document, settings, cssDataManager);\n node.acceptVisitor(visitor);\n visitor.completeValidations();\n return visitor.getEntries(entryFilter);\n };\n LintVisitor.prototype.isValidPropertyDeclaration = function (element) {\n var propertyName = element.fullPropertyName;\n return this.validProperties[propertyName];\n };\n LintVisitor.prototype.fetch = function (input, s) {\n var elements = [];\n for (var _i = 0, input_1 = input; _i < input_1.length; _i++) {\n var curr = input_1[_i];\n if (curr.fullPropertyName === s) {\n elements.push(curr);\n }\n }\n return elements;\n };\n LintVisitor.prototype.fetchWithValue = function (input, s, v) {\n var elements = [];\n for (var _i = 0, input_2 = input; _i < input_2.length; _i++) {\n var inputElement = input_2[_i];\n if (inputElement.fullPropertyName === s) {\n var expression = inputElement.node.getValue();\n if (expression && this.findValueInExpression(expression, v)) {\n elements.push(inputElement);\n }\n }\n }\n return elements;\n };\n LintVisitor.prototype.findValueInExpression = function (expression, v) {\n var found = false;\n expression.accept(function (node) {\n if (node.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.NodeType.Identifier && node.matches(v)) {\n found = true;\n }\n return !found;\n });\n return found;\n };\n LintVisitor.prototype.getEntries = function (filter) {\n if (filter === void 0) { filter = (_parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.Level.Warning | _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.Level.Error); }\n return this.warnings.filter(function (entry) {\n return (entry.getLevel() & filter) !== 0;\n });\n };\n LintVisitor.prototype.addEntry = function (node, rule, details) {\n var entry = new _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.Marker(node, rule, this.settings.getRule(rule), details);\n this.warnings.push(entry);\n };\n LintVisitor.prototype.getMissingNames = function (expected, actual) {\n var expectedClone = expected.slice(0); // clone\n for (var i = 0; i < actual.length; i++) {\n var k = expectedClone.indexOf(actual[i]);\n if (k !== -1) {\n expectedClone[k] = null;\n }\n }\n var result = null;\n for (var i = 0; i < expectedClone.length; i++) {\n var curr = expectedClone[i];\n if (curr) {\n if (result === null) {\n result = localize('namelist.single', \"'{0}'\", curr);\n }\n else {\n result = localize('namelist.concatenated', \"{0}, '{1}'\", result, curr);\n }\n }\n }\n return result;\n };\n LintVisitor.prototype.visitNode = function (node) {\n switch (node.type) {\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.NodeType.UnknownAtRule:\n return this.visitUnknownAtRule(node);\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.NodeType.Keyframe:\n return this.visitKeyframe(node);\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.NodeType.FontFace:\n return this.visitFontFace(node);\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.NodeType.Ruleset:\n return this.visitRuleSet(node);\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.NodeType.SimpleSelector:\n return this.visitSimpleSelector(node);\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.NodeType.Function:\n return this.visitFunction(node);\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.NodeType.NumericValue:\n return this.visitNumericValue(node);\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.NodeType.Import:\n return this.visitImport(node);\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.NodeType.HexColorValue:\n return this.visitHexColorValue(node);\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.NodeType.Prio:\n return this.visitPrio(node);\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.NodeType.IdentifierSelector:\n return this.visitIdentifierSelector(node);\n }\n return true;\n };\n LintVisitor.prototype.completeValidations = function () {\n this.validateKeyframes();\n };\n LintVisitor.prototype.visitUnknownAtRule = function (node) {\n var atRuleName = node.getChild(0);\n if (!atRuleName) {\n return false;\n }\n var atDirective = this.cssDataManager.getAtDirective(atRuleName.getText());\n if (atDirective) {\n return false;\n }\n this.addEntry(atRuleName, _lintRules_js__WEBPACK_IMPORTED_MODULE_4__.Rules.UnknownAtRules, \"Unknown at rule \" + atRuleName.getText());\n return true;\n };\n LintVisitor.prototype.visitKeyframe = function (node) {\n var keyword = node.getKeyword();\n if (!keyword) {\n return false;\n }\n var text = keyword.getText();\n this.keyframes.add(node.getName(), text, (text !== '@keyframes') ? keyword : null);\n return true;\n };\n LintVisitor.prototype.validateKeyframes = function () {\n // @keyframe and it's vendor specific alternatives\n // @keyframe should be included\n var expected = ['@-webkit-keyframes', '@-moz-keyframes', '@-o-keyframes'];\n for (var name in this.keyframes.data) {\n var actual = this.keyframes.data[name].names;\n var needsStandard = (actual.indexOf('@keyframes') === -1);\n if (!needsStandard && actual.length === 1) {\n continue; // only the non-vendor specific keyword is used, that's fine, no warning\n }\n var missingVendorSpecific = this.getMissingNames(expected, actual);\n if (missingVendorSpecific || needsStandard) {\n for (var _i = 0, _a = this.keyframes.data[name].nodes; _i < _a.length; _i++) {\n var node = _a[_i];\n if (needsStandard) {\n var message = localize('keyframes.standardrule.missing', \"Always define standard rule '@keyframes' when defining keyframes.\");\n this.addEntry(node, _lintRules_js__WEBPACK_IMPORTED_MODULE_4__.Rules.IncludeStandardPropertyWhenUsingVendorPrefix, message);\n }\n if (missingVendorSpecific) {\n var message = localize('keyframes.vendorspecific.missing', \"Always include all vendor specific rules: Missing: {0}\", missingVendorSpecific);\n this.addEntry(node, _lintRules_js__WEBPACK_IMPORTED_MODULE_4__.Rules.AllVendorPrefixes, message);\n }\n }\n }\n }\n return true;\n };\n LintVisitor.prototype.visitSimpleSelector = function (node) {\n /////////////////////////////////////////////////////////////\n //\tLint - The universal selector (*) is known to be slow.\n /////////////////////////////////////////////////////////////\n var firstChar = this.documentText.charAt(node.offset);\n if (node.length === 1 && firstChar === '*') {\n this.addEntry(node, _lintRules_js__WEBPACK_IMPORTED_MODULE_4__.Rules.UniversalSelector);\n }\n return true;\n };\n LintVisitor.prototype.visitIdentifierSelector = function (node) {\n /////////////////////////////////////////////////////////////\n //\tLint - Avoid id selectors\n /////////////////////////////////////////////////////////////\n this.addEntry(node, _lintRules_js__WEBPACK_IMPORTED_MODULE_4__.Rules.AvoidIdSelector);\n return true;\n };\n LintVisitor.prototype.visitImport = function (node) {\n /////////////////////////////////////////////////////////////\n //\tLint - Import statements shouldn't be used, because they aren't offering parallel downloads.\n /////////////////////////////////////////////////////////////\n this.addEntry(node, _lintRules_js__WEBPACK_IMPORTED_MODULE_4__.Rules.ImportStatemement);\n return true;\n };\n LintVisitor.prototype.visitRuleSet = function (node) {\n /////////////////////////////////////////////////////////////\n //\tLint - Don't use empty rulesets.\n /////////////////////////////////////////////////////////////\n var declarations = node.getDeclarations();\n if (!declarations) {\n // syntax error\n return false;\n }\n if (!declarations.hasChildren()) {\n this.addEntry(node.getSelectors(), _lintRules_js__WEBPACK_IMPORTED_MODULE_4__.Rules.EmptyRuleSet);\n }\n var propertyTable = [];\n for (var _i = 0, _a = declarations.getChildren(); _i < _a.length; _i++) {\n var element = _a[_i];\n if (element instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.Declaration) {\n propertyTable.push(new _lintUtil_js__WEBPACK_IMPORTED_MODULE_5__.Element(element));\n }\n }\n /////////////////////////////////////////////////////////////\n // the rule warns when it finds:\n // width being used with border, border-left, border-right, padding, padding-left, or padding-right\n // height being used with border, border-top, border-bottom, padding, padding-top, or padding-bottom\n // No error when box-sizing property is specified, as it assumes the user knows what he's doing.\n // see https://github.com/CSSLint/csslint/wiki/Beware-of-box-model-size\n /////////////////////////////////////////////////////////////\n var boxModel = (0,_lintUtil_js__WEBPACK_IMPORTED_MODULE_5__.default)(propertyTable);\n if (boxModel.width) {\n var properties = [];\n if (boxModel.right.value) {\n properties = (0,_utils_arrays_js__WEBPACK_IMPORTED_MODULE_3__.union)(properties, boxModel.right.properties);\n }\n if (boxModel.left.value) {\n properties = (0,_utils_arrays_js__WEBPACK_IMPORTED_MODULE_3__.union)(properties, boxModel.left.properties);\n }\n if (properties.length !== 0) {\n for (var _b = 0, properties_1 = properties; _b < properties_1.length; _b++) {\n var item = properties_1[_b];\n this.addEntry(item.node, _lintRules_js__WEBPACK_IMPORTED_MODULE_4__.Rules.BewareOfBoxModelSize);\n }\n this.addEntry(boxModel.width.node, _lintRules_js__WEBPACK_IMPORTED_MODULE_4__.Rules.BewareOfBoxModelSize);\n }\n }\n if (boxModel.height) {\n var properties = [];\n if (boxModel.top.value) {\n properties = (0,_utils_arrays_js__WEBPACK_IMPORTED_MODULE_3__.union)(properties, boxModel.top.properties);\n }\n if (boxModel.bottom.value) {\n properties = (0,_utils_arrays_js__WEBPACK_IMPORTED_MODULE_3__.union)(properties, boxModel.bottom.properties);\n }\n if (properties.length !== 0) {\n for (var _c = 0, properties_2 = properties; _c < properties_2.length; _c++) {\n var item = properties_2[_c];\n this.addEntry(item.node, _lintRules_js__WEBPACK_IMPORTED_MODULE_4__.Rules.BewareOfBoxModelSize);\n }\n this.addEntry(boxModel.height.node, _lintRules_js__WEBPACK_IMPORTED_MODULE_4__.Rules.BewareOfBoxModelSize);\n }\n }\n /////////////////////////////////////////////////////////////\n //\tProperties ignored due to display\n /////////////////////////////////////////////////////////////\n // With 'display: inline-block', 'float' has no effect\n var displayElems = this.fetchWithValue(propertyTable, 'display', 'inline-block');\n if (displayElems.length > 0) {\n var elem = this.fetch(propertyTable, 'float');\n for (var index = 0; index < elem.length; index++) {\n var node_1 = elem[index].node;\n var value = node_1.getValue();\n if (value && !value.matches('none')) {\n this.addEntry(node_1, _lintRules_js__WEBPACK_IMPORTED_MODULE_4__.Rules.PropertyIgnoredDueToDisplay, localize('rule.propertyIgnoredDueToDisplayInlineBlock', \"inline-block is ignored due to the float. If 'float' has a value other than 'none', the box is floated and 'display' is treated as 'block'\"));\n }\n }\n }\n // With 'display: block', 'vertical-align' has no effect\n displayElems = this.fetchWithValue(propertyTable, 'display', 'block');\n if (displayElems.length > 0) {\n var elem = this.fetch(propertyTable, 'vertical-align');\n for (var index = 0; index < elem.length; index++) {\n this.addEntry(elem[index].node, _lintRules_js__WEBPACK_IMPORTED_MODULE_4__.Rules.PropertyIgnoredDueToDisplay, localize('rule.propertyIgnoredDueToDisplayBlock', \"Property is ignored due to the display. With 'display: block', vertical-align should not be used.\"));\n }\n }\n /////////////////////////////////////////////////////////////\n //\tAvoid 'float'\n /////////////////////////////////////////////////////////////\n var elements = this.fetch(propertyTable, 'float');\n for (var index = 0; index < elements.length; index++) {\n var element = elements[index];\n if (!this.isValidPropertyDeclaration(element)) {\n this.addEntry(element.node, _lintRules_js__WEBPACK_IMPORTED_MODULE_4__.Rules.AvoidFloat);\n }\n }\n /////////////////////////////////////////////////////////////\n //\tDon't use duplicate declarations.\n /////////////////////////////////////////////////////////////\n for (var i = 0; i < propertyTable.length; i++) {\n var element = propertyTable[i];\n if (element.fullPropertyName !== 'background' && !this.validProperties[element.fullPropertyName]) {\n var value = element.node.getValue();\n if (value && this.documentText.charAt(value.offset) !== '-') {\n var elements_1 = this.fetch(propertyTable, element.fullPropertyName);\n if (elements_1.length > 1) {\n for (var k = 0; k < elements_1.length; k++) {\n var value_1 = elements_1[k].node.getValue();\n if (value_1 && this.documentText.charAt(value_1.offset) !== '-' && elements_1[k] !== element) {\n this.addEntry(element.node, _lintRules_js__WEBPACK_IMPORTED_MODULE_4__.Rules.DuplicateDeclarations);\n }\n }\n }\n }\n }\n }\n /////////////////////////////////////////////////////////////\n //\tUnknown propery & When using a vendor-prefixed gradient, make sure to use them all.\n /////////////////////////////////////////////////////////////\n var isExportBlock = node.getSelectors().matches(\":export\");\n if (!isExportBlock) {\n var propertiesBySuffix = new NodesByRootMap();\n var containsUnknowns = false;\n for (var _d = 0, propertyTable_1 = propertyTable; _d < propertyTable_1.length; _d++) {\n var element = propertyTable_1[_d];\n var decl = element.node;\n if (this.isCSSDeclaration(decl)) {\n var name = element.fullPropertyName;\n var firstChar = name.charAt(0);\n if (firstChar === '-') {\n if (name.charAt(1) !== '-') { // avoid css variables\n if (!this.cssDataManager.isKnownProperty(name) && !this.validProperties[name]) {\n this.addEntry(decl.getProperty(), _lintRules_js__WEBPACK_IMPORTED_MODULE_4__.Rules.UnknownVendorSpecificProperty);\n }\n var nonPrefixedName = decl.getNonPrefixedPropertyName();\n propertiesBySuffix.add(nonPrefixedName, name, decl.getProperty());\n }\n }\n else {\n var fullName = name;\n if (firstChar === '*' || firstChar === '_') {\n this.addEntry(decl.getProperty(), _lintRules_js__WEBPACK_IMPORTED_MODULE_4__.Rules.IEStarHack);\n name = name.substr(1);\n }\n // _property and *property might be contributed via custom data\n if (!this.cssDataManager.isKnownProperty(fullName) && !this.cssDataManager.isKnownProperty(name)) {\n if (!this.validProperties[name]) {\n this.addEntry(decl.getProperty(), _lintRules_js__WEBPACK_IMPORTED_MODULE_4__.Rules.UnknownProperty, localize('property.unknownproperty.detailed', \"Unknown property: '{0}'\", decl.getFullPropertyName()));\n }\n }\n propertiesBySuffix.add(name, name, null); // don't pass the node as we don't show errors on the standard\n }\n }\n else {\n containsUnknowns = true;\n }\n }\n if (!containsUnknowns) { // don't perform this test if there are\n for (var suffix in propertiesBySuffix.data) {\n var entry = propertiesBySuffix.data[suffix];\n var actual = entry.names;\n var needsStandard = this.cssDataManager.isStandardProperty(suffix) && (actual.indexOf(suffix) === -1);\n if (!needsStandard && actual.length === 1) {\n continue; // only the non-vendor specific rule is used, that's fine, no warning\n }\n var expected = [];\n for (var i = 0, len = LintVisitor.prefixes.length; i < len; i++) {\n var prefix = LintVisitor.prefixes[i];\n if (this.cssDataManager.isStandardProperty(prefix + suffix)) {\n expected.push(prefix + suffix);\n }\n }\n var missingVendorSpecific = this.getMissingNames(expected, actual);\n if (missingVendorSpecific || needsStandard) {\n for (var _e = 0, _f = entry.nodes; _e < _f.length; _e++) {\n var node_2 = _f[_e];\n if (needsStandard) {\n var message = localize('property.standard.missing', \"Also define the standard property '{0}' for compatibility\", suffix);\n this.addEntry(node_2, _lintRules_js__WEBPACK_IMPORTED_MODULE_4__.Rules.IncludeStandardPropertyWhenUsingVendorPrefix, message);\n }\n if (missingVendorSpecific) {\n var message = localize('property.vendorspecific.missing', \"Always include all vendor specific properties: Missing: {0}\", missingVendorSpecific);\n this.addEntry(node_2, _lintRules_js__WEBPACK_IMPORTED_MODULE_4__.Rules.AllVendorPrefixes, message);\n }\n }\n }\n }\n }\n }\n return true;\n };\n LintVisitor.prototype.visitPrio = function (node) {\n /////////////////////////////////////////////////////////////\n //\tDon't use !important\n /////////////////////////////////////////////////////////////\n this.addEntry(node, _lintRules_js__WEBPACK_IMPORTED_MODULE_4__.Rules.AvoidImportant);\n return true;\n };\n LintVisitor.prototype.visitNumericValue = function (node) {\n /////////////////////////////////////////////////////////////\n //\t0 has no following unit\n /////////////////////////////////////////////////////////////\n var funcDecl = node.findParent(_parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.NodeType.Function);\n if (funcDecl && funcDecl.getName() === 'calc') {\n return true;\n }\n var decl = node.findParent(_parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.NodeType.Declaration);\n if (decl) {\n var declValue = decl.getValue();\n if (declValue) {\n var value = node.getValue();\n if (!value.unit || _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_1__.units.length.indexOf(value.unit.toLowerCase()) === -1) {\n return true;\n }\n if (parseFloat(value.value) === 0.0 && !!value.unit && !this.validProperties[decl.getFullPropertyName()]) {\n this.addEntry(node, _lintRules_js__WEBPACK_IMPORTED_MODULE_4__.Rules.ZeroWithUnit);\n }\n }\n }\n return true;\n };\n LintVisitor.prototype.visitFontFace = function (node) {\n var declarations = node.getDeclarations();\n if (!declarations) {\n // syntax error\n return false;\n }\n var definesSrc = false, definesFontFamily = false;\n var containsUnknowns = false;\n for (var _i = 0, _a = declarations.getChildren(); _i < _a.length; _i++) {\n var node_3 = _a[_i];\n if (this.isCSSDeclaration(node_3)) {\n var name = node_3.getProperty().getName().toLowerCase();\n if (name === 'src') {\n definesSrc = true;\n }\n if (name === 'font-family') {\n definesFontFamily = true;\n }\n }\n else {\n containsUnknowns = true;\n }\n }\n if (!containsUnknowns && (!definesSrc || !definesFontFamily)) {\n this.addEntry(node, _lintRules_js__WEBPACK_IMPORTED_MODULE_4__.Rules.RequiredPropertiesForFontFace);\n }\n return true;\n };\n LintVisitor.prototype.isCSSDeclaration = function (node) {\n if (node instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.Declaration) {\n if (!node.getValue()) {\n return false;\n }\n var property = node.getProperty();\n if (!property) {\n return false;\n }\n var identifier = property.getIdentifier();\n if (!identifier || identifier.containsInterpolation()) {\n return false;\n }\n return true;\n }\n return false;\n };\n LintVisitor.prototype.visitHexColorValue = function (node) {\n // Rule: #eeff0011 or #eeff00 or #ef01 or #ef0\n var length = node.length;\n if (length !== 9 && length !== 7 && length !== 5 && length !== 4) {\n this.addEntry(node, _lintRules_js__WEBPACK_IMPORTED_MODULE_4__.Rules.HexColorLength);\n }\n return false;\n };\n LintVisitor.prototype.visitFunction = function (node) {\n var fnName = node.getName().toLowerCase();\n var expectedAttrCount = -1;\n var actualAttrCount = 0;\n switch (fnName) {\n case 'rgb(':\n case 'hsl(':\n expectedAttrCount = 3;\n break;\n case 'rgba(':\n case 'hsla(':\n expectedAttrCount = 4;\n break;\n }\n if (expectedAttrCount !== -1) {\n node.getArguments().accept(function (n) {\n if (n instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_2__.BinaryExpression) {\n actualAttrCount += 1;\n return false;\n }\n return true;\n });\n if (actualAttrCount !== expectedAttrCount) {\n this.addEntry(node, _lintRules_js__WEBPACK_IMPORTED_MODULE_4__.Rules.ArgsInColorFunction);\n }\n }\n return true;\n };\n LintVisitor.prefixes = [\n '-ms-', '-moz-', '-o-', '-webkit-', // Quite common\n //\t\t'-xv-', '-atsc-', '-wap-', '-khtml-', 'mso-', 'prince-', '-ah-', '-hp-', '-ro-', '-rim-', '-tc-' // Quite un-common\n ];\n return LintVisitor;\n}());\n\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/lint.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/lintRules.js":
|
||
/*!***************************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/lintRules.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 */ \"Rule\": () => (/* binding */ Rule),\n/* harmony export */ \"Setting\": () => (/* binding */ Setting),\n/* harmony export */ \"Rules\": () => (/* binding */ Rules),\n/* harmony export */ \"Settings\": () => (/* binding */ Settings),\n/* harmony export */ \"LintConfigurationSettings\": () => (/* binding */ LintConfigurationSettings)\n/* harmony export */ });\n/* harmony import */ var _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../parser/cssNodes.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssNodes.js\");\n/* harmony import */ var _fillers_vscode_nls_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../../../fillers/vscode-nls.js */ \"./node_modules/monaco-editor/esm/vs/language/css/fillers/vscode-nls.js\");\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\n\nvar localize = _fillers_vscode_nls_js__WEBPACK_IMPORTED_MODULE_1__.loadMessageBundle();\nvar Warning = _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Level.Warning;\nvar Error = _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Level.Error;\nvar Ignore = _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Level.Ignore;\nvar Rule = /** @class */ (function () {\n function Rule(id, message, defaultValue) {\n this.id = id;\n this.message = message;\n this.defaultValue = defaultValue;\n // nothing to do\n }\n return Rule;\n}());\n\nvar Setting = /** @class */ (function () {\n function Setting(id, message, defaultValue) {\n this.id = id;\n this.message = message;\n this.defaultValue = defaultValue;\n // nothing to do\n }\n return Setting;\n}());\n\nvar Rules = {\n AllVendorPrefixes: new Rule('compatibleVendorPrefixes', localize('rule.vendorprefixes.all', \"When using a vendor-specific prefix make sure to also include all other vendor-specific properties\"), Ignore),\n IncludeStandardPropertyWhenUsingVendorPrefix: new Rule('vendorPrefix', localize('rule.standardvendorprefix.all', \"When using a vendor-specific prefix also include the standard property\"), Warning),\n DuplicateDeclarations: new Rule('duplicateProperties', localize('rule.duplicateDeclarations', \"Do not use duplicate style definitions\"), Ignore),\n EmptyRuleSet: new Rule('emptyRules', localize('rule.emptyRuleSets', \"Do not use empty rulesets\"), Warning),\n ImportStatemement: new Rule('importStatement', localize('rule.importDirective', \"Import statements do not load in parallel\"), Ignore),\n BewareOfBoxModelSize: new Rule('boxModel', localize('rule.bewareOfBoxModelSize', \"Do not use width or height when using padding or border\"), Ignore),\n UniversalSelector: new Rule('universalSelector', localize('rule.universalSelector', \"The universal selector (*) is known to be slow\"), Ignore),\n ZeroWithUnit: new Rule('zeroUnits', localize('rule.zeroWidthUnit', \"No unit for zero needed\"), Ignore),\n RequiredPropertiesForFontFace: new Rule('fontFaceProperties', localize('rule.fontFaceProperties', \"@font-face rule must define 'src' and 'font-family' properties\"), Warning),\n HexColorLength: new Rule('hexColorLength', localize('rule.hexColor', \"Hex colors must consist of three, four, six or eight hex numbers\"), Error),\n ArgsInColorFunction: new Rule('argumentsInColorFunction', localize('rule.colorFunction', \"Invalid number of parameters\"), Error),\n UnknownProperty: new Rule('unknownProperties', localize('rule.unknownProperty', \"Unknown property.\"), Warning),\n UnknownAtRules: new Rule('unknownAtRules', localize('rule.unknownAtRules', \"Unknown at-rule.\"), Warning),\n IEStarHack: new Rule('ieHack', localize('rule.ieHack', \"IE hacks are only necessary when supporting IE7 and older\"), Ignore),\n UnknownVendorSpecificProperty: new Rule('unknownVendorSpecificProperties', localize('rule.unknownVendorSpecificProperty', \"Unknown vendor specific property.\"), Ignore),\n PropertyIgnoredDueToDisplay: new Rule('propertyIgnoredDueToDisplay', localize('rule.propertyIgnoredDueToDisplay', \"Property is ignored due to the display.\"), Warning),\n AvoidImportant: new Rule('important', localize('rule.avoidImportant', \"Avoid using !important. It is an indication that the specificity of the entire CSS has gotten out of control and needs to be refactored.\"), Ignore),\n AvoidFloat: new Rule('float', localize('rule.avoidFloat', \"Avoid using 'float'. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes.\"), Ignore),\n AvoidIdSelector: new Rule('idSelector', localize('rule.avoidIdSelector', \"Selectors should not contain IDs because these rules are too tightly coupled with the HTML.\"), Ignore),\n};\nvar Settings = {\n ValidProperties: new Setting('validProperties', localize('rule.validProperties', \"A list of properties that are not validated against the `unknownProperties` rule.\"), [])\n};\nvar LintConfigurationSettings = /** @class */ (function () {\n function LintConfigurationSettings(conf) {\n if (conf === void 0) { conf = {}; }\n this.conf = conf;\n }\n LintConfigurationSettings.prototype.getRule = function (rule) {\n if (this.conf.hasOwnProperty(rule.id)) {\n var level = toLevel(this.conf[rule.id]);\n if (level) {\n return level;\n }\n }\n return rule.defaultValue;\n };\n LintConfigurationSettings.prototype.getSetting = function (setting) {\n return this.conf[setting.id];\n };\n return LintConfigurationSettings;\n}());\n\nfunction toLevel(level) {\n switch (level) {\n case 'ignore': return _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Level.Ignore;\n case 'warning': return _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Level.Warning;\n case 'error': return _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.Level.Error;\n }\n return null;\n}\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/lintRules.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/lintUtil.js":
|
||
/*!**************************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/lintUtil.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 */ \"Element\": () => (/* binding */ Element),\n/* harmony export */ \"default\": () => (/* binding */ calculateBoxModel)\n/* harmony export */ });\n/* harmony import */ var _utils_arrays_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/arrays.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/utils/arrays.js\");\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\nvar Element = /** @class */ (function () {\n function Element(decl) {\n this.fullPropertyName = decl.getFullPropertyName().toLowerCase();\n this.node = decl;\n }\n return Element;\n}());\n\nfunction setSide(model, side, value, property) {\n var state = model[side];\n state.value = value;\n if (value) {\n if (!(0,_utils_arrays_js__WEBPACK_IMPORTED_MODULE_0__.includes)(state.properties, property)) {\n state.properties.push(property);\n }\n }\n}\nfunction setAllSides(model, value, property) {\n setSide(model, 'top', value, property);\n setSide(model, 'right', value, property);\n setSide(model, 'bottom', value, property);\n setSide(model, 'left', value, property);\n}\nfunction updateModelWithValue(model, side, value, property) {\n if (side === 'top' || side === 'right' ||\n side === 'bottom' || side === 'left') {\n setSide(model, side, value, property);\n }\n else {\n setAllSides(model, value, property);\n }\n}\nfunction updateModelWithList(model, values, property) {\n switch (values.length) {\n case 1:\n updateModelWithValue(model, undefined, values[0], property);\n break;\n case 2:\n updateModelWithValue(model, 'top', values[0], property);\n updateModelWithValue(model, 'bottom', values[0], property);\n updateModelWithValue(model, 'right', values[1], property);\n updateModelWithValue(model, 'left', values[1], property);\n break;\n case 3:\n updateModelWithValue(model, 'top', values[0], property);\n updateModelWithValue(model, 'right', values[1], property);\n updateModelWithValue(model, 'left', values[1], property);\n updateModelWithValue(model, 'bottom', values[2], property);\n break;\n case 4:\n updateModelWithValue(model, 'top', values[0], property);\n updateModelWithValue(model, 'right', values[1], property);\n updateModelWithValue(model, 'bottom', values[2], property);\n updateModelWithValue(model, 'left', values[3], property);\n break;\n }\n}\nfunction matches(value, candidates) {\n for (var _i = 0, candidates_1 = candidates; _i < candidates_1.length; _i++) {\n var candidate = candidates_1[_i];\n if (value.matches(candidate)) {\n return true;\n }\n }\n return false;\n}\n/**\n * @param allowsKeywords whether the initial value of property is zero, so keywords `initial` and `unset` count as zero\n * @return `true` if this node represents a non-zero border; otherwise, `false`\n */\nfunction checkLineWidth(value, allowsKeywords) {\n if (allowsKeywords === void 0) { allowsKeywords = true; }\n if (allowsKeywords && matches(value, ['initial', 'unset'])) {\n return false;\n }\n // a <length> is a value and a unit\n // so use `parseFloat` to strip the unit\n return parseFloat(value.getText()) !== 0;\n}\nfunction checkLineWidthList(nodes, allowsKeywords) {\n if (allowsKeywords === void 0) { allowsKeywords = true; }\n return nodes.map(function (node) { return checkLineWidth(node, allowsKeywords); });\n}\n/**\n * @param allowsKeywords whether keywords `initial` and `unset` count as zero\n * @return `true` if this node represents a non-zero border; otherwise, `false`\n */\nfunction checkLineStyle(valueNode, allowsKeywords) {\n if (allowsKeywords === void 0) { allowsKeywords = true; }\n if (matches(valueNode, ['none', 'hidden'])) {\n return false;\n }\n if (allowsKeywords && matches(valueNode, ['initial', 'unset'])) {\n return false;\n }\n return true;\n}\nfunction checkLineStyleList(nodes, allowsKeywords) {\n if (allowsKeywords === void 0) { allowsKeywords = true; }\n return nodes.map(function (node) { return checkLineStyle(node, allowsKeywords); });\n}\nfunction checkBorderShorthand(node) {\n var children = node.getChildren();\n // the only child can be a keyword, a <line-width>, or a <line-style>\n // if either check returns false, the result is no border\n if (children.length === 1) {\n var value = children[0];\n return checkLineWidth(value) && checkLineStyle(value);\n }\n // multiple children can't contain keywords\n // if any child means no border, the result is no border\n for (var _i = 0, children_1 = children; _i < children_1.length; _i++) {\n var child = children_1[_i];\n var value = child;\n if (!checkLineWidth(value, /* allowsKeywords: */ false) ||\n !checkLineStyle(value, /* allowsKeywords: */ false)) {\n return false;\n }\n }\n return true;\n}\nfunction calculateBoxModel(propertyTable) {\n var model = {\n top: { value: false, properties: [] },\n right: { value: false, properties: [] },\n bottom: { value: false, properties: [] },\n left: { value: false, properties: [] },\n };\n for (var _i = 0, propertyTable_1 = propertyTable; _i < propertyTable_1.length; _i++) {\n var property = propertyTable_1[_i];\n var value = property.node.value;\n if (typeof value === 'undefined') {\n continue;\n }\n switch (property.fullPropertyName) {\n case 'box-sizing':\n // has `box-sizing`, bail out\n return {\n top: { value: false, properties: [] },\n right: { value: false, properties: [] },\n bottom: { value: false, properties: [] },\n left: { value: false, properties: [] },\n };\n case 'width':\n model.width = property;\n break;\n case 'height':\n model.height = property;\n break;\n default:\n var segments = property.fullPropertyName.split('-');\n switch (segments[0]) {\n case 'border':\n switch (segments[1]) {\n case undefined:\n case 'top':\n case 'right':\n case 'bottom':\n case 'left':\n switch (segments[2]) {\n case undefined:\n updateModelWithValue(model, segments[1], checkBorderShorthand(value), property);\n break;\n case 'width':\n // the initial value of `border-width` is `medium`, not zero\n updateModelWithValue(model, segments[1], checkLineWidth(value, false), property);\n break;\n case 'style':\n // the initial value of `border-style` is `none`\n updateModelWithValue(model, segments[1], checkLineStyle(value, true), property);\n break;\n }\n break;\n case 'width':\n // the initial value of `border-width` is `medium`, not zero\n updateModelWithList(model, checkLineWidthList(value.getChildren(), false), property);\n break;\n case 'style':\n // the initial value of `border-style` is `none`\n updateModelWithList(model, checkLineStyleList(value.getChildren(), true), property);\n break;\n }\n break;\n case 'padding':\n if (segments.length === 1) {\n // the initial value of `padding` is zero\n updateModelWithList(model, checkLineWidthList(value.getChildren(), true), property);\n }\n else {\n // the initial value of `padding` is zero\n updateModelWithValue(model, segments[1], checkLineWidth(value, true), property);\n }\n break;\n }\n break;\n }\n }\n return model;\n}\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/lintUtil.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/pathCompletion.js":
|
||
/*!********************************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/pathCompletion.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 */ \"PathCompletionParticipant\": () => (/* binding */ PathCompletionParticipant)\n/* harmony export */ });\n/* harmony import */ var _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../cssLanguageTypes.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/cssLanguageTypes.js\");\n/* harmony import */ var _utils_strings_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/strings.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/utils/strings.js\");\n/* harmony import */ var _utils_resources_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/resources.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/utils/resources.js\");\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 *--------------------------------------------------------------------------------------------*/\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (undefined && undefined.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\n\n\n\nvar PathCompletionParticipant = /** @class */ (function () {\n function PathCompletionParticipant(readDirectory) {\n this.readDirectory = readDirectory;\n this.literalCompletions = [];\n this.importCompletions = [];\n }\n PathCompletionParticipant.prototype.onCssURILiteralValue = function (context) {\n this.literalCompletions.push(context);\n };\n PathCompletionParticipant.prototype.onCssImportPath = function (context) {\n this.importCompletions.push(context);\n };\n PathCompletionParticipant.prototype.computeCompletions = function (document, documentContext) {\n return __awaiter(this, void 0, void 0, function () {\n var result, _i, _a, literalCompletion, uriValue, fullValue, items, _b, items_1, item, _c, _d, importCompletion, pathValue, fullValue, suggestions, _e, suggestions_1, item;\n return __generator(this, function (_f) {\n switch (_f.label) {\n case 0:\n result = { items: [], isIncomplete: false };\n _i = 0, _a = this.literalCompletions;\n _f.label = 1;\n case 1:\n if (!(_i < _a.length)) return [3 /*break*/, 5];\n literalCompletion = _a[_i];\n uriValue = literalCompletion.uriValue;\n fullValue = stripQuotes(uriValue);\n if (!(fullValue === '.' || fullValue === '..')) return [3 /*break*/, 2];\n result.isIncomplete = true;\n return [3 /*break*/, 4];\n case 2: return [4 /*yield*/, this.providePathSuggestions(uriValue, literalCompletion.position, literalCompletion.range, document, documentContext)];\n case 3:\n items = _f.sent();\n for (_b = 0, items_1 = items; _b < items_1.length; _b++) {\n item = items_1[_b];\n result.items.push(item);\n }\n _f.label = 4;\n case 4:\n _i++;\n return [3 /*break*/, 1];\n case 5:\n _c = 0, _d = this.importCompletions;\n _f.label = 6;\n case 6:\n if (!(_c < _d.length)) return [3 /*break*/, 10];\n importCompletion = _d[_c];\n pathValue = importCompletion.pathValue;\n fullValue = stripQuotes(pathValue);\n if (!(fullValue === '.' || fullValue === '..')) return [3 /*break*/, 7];\n result.isIncomplete = true;\n return [3 /*break*/, 9];\n case 7: return [4 /*yield*/, this.providePathSuggestions(pathValue, importCompletion.position, importCompletion.range, document, documentContext)];\n case 8:\n suggestions = _f.sent();\n if (document.languageId === 'scss') {\n suggestions.forEach(function (s) {\n if ((0,_utils_strings_js__WEBPACK_IMPORTED_MODULE_1__.startsWith)(s.label, '_') && (0,_utils_strings_js__WEBPACK_IMPORTED_MODULE_1__.endsWith)(s.label, '.scss')) {\n if (s.textEdit) {\n s.textEdit.newText = s.label.slice(1, -5);\n }\n else {\n s.label = s.label.slice(1, -5);\n }\n }\n });\n }\n for (_e = 0, suggestions_1 = suggestions; _e < suggestions_1.length; _e++) {\n item = suggestions_1[_e];\n result.items.push(item);\n }\n _f.label = 9;\n case 9:\n _c++;\n return [3 /*break*/, 6];\n case 10: return [2 /*return*/, result];\n }\n });\n });\n };\n PathCompletionParticipant.prototype.providePathSuggestions = function (pathValue, position, range, document, documentContext) {\n return __awaiter(this, void 0, void 0, function () {\n var fullValue, isValueQuoted, valueBeforeCursor, currentDocUri, fullValueRange, replaceRange, valueBeforeLastSlash, parentDir, result, infos, _i, infos_1, _a, name, type, e_1;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n fullValue = stripQuotes(pathValue);\n isValueQuoted = (0,_utils_strings_js__WEBPACK_IMPORTED_MODULE_1__.startsWith)(pathValue, \"'\") || (0,_utils_strings_js__WEBPACK_IMPORTED_MODULE_1__.startsWith)(pathValue, \"\\\"\");\n valueBeforeCursor = isValueQuoted\n ? fullValue.slice(0, position.character - (range.start.character + 1))\n : fullValue.slice(0, position.character - range.start.character);\n currentDocUri = document.uri;\n fullValueRange = isValueQuoted ? shiftRange(range, 1, -1) : range;\n replaceRange = pathToReplaceRange(valueBeforeCursor, fullValue, fullValueRange);\n valueBeforeLastSlash = valueBeforeCursor.substring(0, valueBeforeCursor.lastIndexOf('/') + 1);\n parentDir = documentContext.resolveReference(valueBeforeLastSlash || '.', currentDocUri);\n if (!parentDir) return [3 /*break*/, 4];\n _b.label = 1;\n case 1:\n _b.trys.push([1, 3, , 4]);\n result = [];\n return [4 /*yield*/, this.readDirectory(parentDir)];\n case 2:\n infos = _b.sent();\n for (_i = 0, infos_1 = infos; _i < infos_1.length; _i++) {\n _a = infos_1[_i], name = _a[0], type = _a[1];\n // Exclude paths that start with `.`\n if (name.charCodeAt(0) !== CharCode_dot && (type === _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_0__.FileType.Directory || (0,_utils_resources_js__WEBPACK_IMPORTED_MODULE_2__.joinPath)(parentDir, name) !== currentDocUri)) {\n result.push(createCompletionItem(name, type === _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_0__.FileType.Directory, replaceRange));\n }\n }\n return [2 /*return*/, result];\n case 3:\n e_1 = _b.sent();\n return [3 /*break*/, 4];\n case 4: return [2 /*return*/, []];\n }\n });\n });\n };\n return PathCompletionParticipant;\n}());\n\nvar CharCode_dot = '.'.charCodeAt(0);\nfunction stripQuotes(fullValue) {\n if ((0,_utils_strings_js__WEBPACK_IMPORTED_MODULE_1__.startsWith)(fullValue, \"'\") || (0,_utils_strings_js__WEBPACK_IMPORTED_MODULE_1__.startsWith)(fullValue, \"\\\"\")) {\n return fullValue.slice(1, -1);\n }\n else {\n return fullValue;\n }\n}\nfunction pathToReplaceRange(valueBeforeCursor, fullValue, fullValueRange) {\n var replaceRange;\n var lastIndexOfSlash = valueBeforeCursor.lastIndexOf('/');\n if (lastIndexOfSlash === -1) {\n replaceRange = fullValueRange;\n }\n else {\n // For cases where cursor is in the middle of attribute value, like <script src=\"./s|rc/test.js\">\n // Find the last slash before cursor, and calculate the start of replace range from there\n var valueAfterLastSlash = fullValue.slice(lastIndexOfSlash + 1);\n var startPos = shiftPosition(fullValueRange.end, -valueAfterLastSlash.length);\n // If whitespace exists, replace until it\n var whitespaceIndex = valueAfterLastSlash.indexOf(' ');\n var endPos = void 0;\n if (whitespaceIndex !== -1) {\n endPos = shiftPosition(startPos, whitespaceIndex);\n }\n else {\n endPos = fullValueRange.end;\n }\n replaceRange = _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_0__.Range.create(startPos, endPos);\n }\n return replaceRange;\n}\nfunction createCompletionItem(name, isDir, replaceRange) {\n if (isDir) {\n name = name + '/';\n return {\n label: escapePath(name),\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.Folder,\n textEdit: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_0__.TextEdit.replace(replaceRange, escapePath(name)),\n command: {\n title: 'Suggest',\n command: 'editor.action.triggerSuggest'\n }\n };\n }\n else {\n return {\n label: escapePath(name),\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_0__.CompletionItemKind.File,\n textEdit: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_0__.TextEdit.replace(replaceRange, escapePath(name))\n };\n }\n}\n// Escape https://www.w3.org/TR/CSS1/#url\nfunction escapePath(p) {\n return p.replace(/(\\s|\\(|\\)|,|\"|')/g, '\\\\$1');\n}\nfunction shiftPosition(pos, offset) {\n return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_0__.Position.create(pos.line, pos.character + offset);\n}\nfunction shiftRange(range, startOffset, endOffset) {\n var start = shiftPosition(range.start, startOffset);\n var end = shiftPosition(range.end, endOffset);\n return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_0__.Range.create(start, end);\n}\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/pathCompletion.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/scssCompletion.js":
|
||
/*!********************************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/scssCompletion.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 */ \"SCSSCompletion\": () => (/* binding */ SCSSCompletion)\n/* harmony export */ });\n/* harmony import */ var _cssCompletion_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./cssCompletion.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssCompletion.js\");\n/* harmony import */ var _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../parser/cssNodes.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssNodes.js\");\n/* harmony import */ var _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../cssLanguageTypes.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/cssLanguageTypes.js\");\n/* harmony import */ var _fillers_vscode_nls_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./../../../fillers/vscode-nls.js */ \"./node_modules/monaco-editor/esm/vs/language/css/fillers/vscode-nls.js\");\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\nvar __extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\n\n\n\n\nvar localize = _fillers_vscode_nls_js__WEBPACK_IMPORTED_MODULE_3__.loadMessageBundle();\nvar SCSSCompletion = /** @class */ (function (_super) {\n __extends(SCSSCompletion, _super);\n function SCSSCompletion(lsServiceOptions, cssDataManager) {\n var _this = _super.call(this, '$', lsServiceOptions, cssDataManager) || this;\n addReferencesToDocumentation(SCSSCompletion.scssModuleLoaders);\n addReferencesToDocumentation(SCSSCompletion.scssModuleBuiltIns);\n return _this;\n }\n SCSSCompletion.prototype.isImportPathParent = function (type) {\n return type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.Forward\n || type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.Use\n || _super.prototype.isImportPathParent.call(this, type);\n };\n SCSSCompletion.prototype.getCompletionForImportPath = function (importPathNode, result) {\n var parentType = importPathNode.getParent().type;\n if (parentType === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.Forward || parentType === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.Use) {\n for (var _i = 0, _a = SCSSCompletion.scssModuleBuiltIns; _i < _a.length; _i++) {\n var p = _a[_i];\n var item = {\n label: p.label,\n documentation: p.documentation,\n textEdit: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_2__.TextEdit.replace(this.getCompletionRange(importPathNode), \"'\" + p.label + \"'\"),\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_2__.CompletionItemKind.Module\n };\n result.items.push(item);\n }\n }\n return _super.prototype.getCompletionForImportPath.call(this, importPathNode, result);\n };\n SCSSCompletion.prototype.createReplaceFunction = function () {\n var tabStopCounter = 1;\n return function (_match, p1) {\n return '\\\\' + p1 + ': ${' + tabStopCounter++ + ':' + (SCSSCompletion.variableDefaults[p1] || '') + '}';\n };\n };\n SCSSCompletion.prototype.createFunctionProposals = function (proposals, existingNode, sortToEnd, result) {\n for (var _i = 0, proposals_1 = proposals; _i < proposals_1.length; _i++) {\n var p = proposals_1[_i];\n var insertText = p.func.replace(/\\[?(\\$\\w+)\\]?/g, this.createReplaceFunction());\n var label = p.func.substr(0, p.func.indexOf('('));\n var item = {\n label: label,\n detail: p.func,\n documentation: p.desc,\n textEdit: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_2__.TextEdit.replace(this.getCompletionRange(existingNode), insertText),\n insertTextFormat: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_2__.InsertTextFormat.Snippet,\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_2__.CompletionItemKind.Function\n };\n if (sortToEnd) {\n item.sortText = 'z';\n }\n result.items.push(item);\n }\n return result;\n };\n SCSSCompletion.prototype.getCompletionsForSelector = function (ruleSet, isNested, result) {\n this.createFunctionProposals(SCSSCompletion.selectorFuncs, null, true, result);\n return _super.prototype.getCompletionsForSelector.call(this, ruleSet, isNested, result);\n };\n SCSSCompletion.prototype.getTermProposals = function (entry, existingNode, result) {\n var functions = SCSSCompletion.builtInFuncs;\n if (entry) {\n functions = functions.filter(function (f) { return !f.type || !entry.restrictions || entry.restrictions.indexOf(f.type) !== -1; });\n }\n this.createFunctionProposals(functions, existingNode, true, result);\n return _super.prototype.getTermProposals.call(this, entry, existingNode, result);\n };\n SCSSCompletion.prototype.getColorProposals = function (entry, existingNode, result) {\n this.createFunctionProposals(SCSSCompletion.colorProposals, existingNode, false, result);\n return _super.prototype.getColorProposals.call(this, entry, existingNode, result);\n };\n SCSSCompletion.prototype.getCompletionsForDeclarationProperty = function (declaration, result) {\n this.getCompletionForAtDirectives(result);\n this.getCompletionsForSelector(null, true, result);\n return _super.prototype.getCompletionsForDeclarationProperty.call(this, declaration, result);\n };\n SCSSCompletion.prototype.getCompletionsForExtendsReference = function (_extendsRef, existingNode, result) {\n var symbols = this.getSymbolContext().findSymbolsAtOffset(this.offset, _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.ReferenceType.Rule);\n for (var _i = 0, symbols_1 = symbols; _i < symbols_1.length; _i++) {\n var symbol = symbols_1[_i];\n var suggest = {\n label: symbol.name,\n textEdit: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_2__.TextEdit.replace(this.getCompletionRange(existingNode), symbol.name),\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_2__.CompletionItemKind.Function,\n };\n result.items.push(suggest);\n }\n return result;\n };\n SCSSCompletion.prototype.getCompletionForAtDirectives = function (result) {\n var _a;\n (_a = result.items).push.apply(_a, SCSSCompletion.scssAtDirectives);\n return result;\n };\n SCSSCompletion.prototype.getCompletionForTopLevel = function (result) {\n this.getCompletionForAtDirectives(result);\n this.getCompletionForModuleLoaders(result);\n _super.prototype.getCompletionForTopLevel.call(this, result);\n return result;\n };\n SCSSCompletion.prototype.getCompletionForModuleLoaders = function (result) {\n var _a;\n (_a = result.items).push.apply(_a, SCSSCompletion.scssModuleLoaders);\n return result;\n };\n SCSSCompletion.variableDefaults = {\n '$red': '1',\n '$green': '2',\n '$blue': '3',\n '$alpha': '1.0',\n '$color': '#000000',\n '$weight': '0.5',\n '$hue': '0',\n '$saturation': '0%',\n '$lightness': '0%',\n '$degrees': '0',\n '$amount': '0',\n '$string': '\"\"',\n '$substring': '\"s\"',\n '$number': '0',\n '$limit': '1'\n };\n SCSSCompletion.colorProposals = [\n { func: 'red($color)', desc: localize('scss.builtin.red', 'Gets the red component of a color.') },\n { func: 'green($color)', desc: localize('scss.builtin.green', 'Gets the green component of a color.') },\n { func: 'blue($color)', desc: localize('scss.builtin.blue', 'Gets the blue component of a color.') },\n { func: 'mix($color, $color, [$weight])', desc: localize('scss.builtin.mix', 'Mixes two colors together.') },\n { func: 'hue($color)', desc: localize('scss.builtin.hue', 'Gets the hue component of a color.') },\n { func: 'saturation($color)', desc: localize('scss.builtin.saturation', 'Gets the saturation component of a color.') },\n { func: 'lightness($color)', desc: localize('scss.builtin.lightness', 'Gets the lightness component of a color.') },\n { func: 'adjust-hue($color, $degrees)', desc: localize('scss.builtin.adjust-hue', 'Changes the hue of a color.') },\n { func: 'lighten($color, $amount)', desc: localize('scss.builtin.lighten', 'Makes a color lighter.') },\n { func: 'darken($color, $amount)', desc: localize('scss.builtin.darken', 'Makes a color darker.') },\n { func: 'saturate($color, $amount)', desc: localize('scss.builtin.saturate', 'Makes a color more saturated.') },\n { func: 'desaturate($color, $amount)', desc: localize('scss.builtin.desaturate', 'Makes a color less saturated.') },\n { func: 'grayscale($color)', desc: localize('scss.builtin.grayscale', 'Converts a color to grayscale.') },\n { func: 'complement($color)', desc: localize('scss.builtin.complement', 'Returns the complement of a color.') },\n { func: 'invert($color)', desc: localize('scss.builtin.invert', 'Returns the inverse of a color.') },\n { func: 'alpha($color)', desc: localize('scss.builtin.alpha', 'Gets the opacity component of a color.') },\n { func: 'opacity($color)', desc: 'Gets the alpha component (opacity) of a color.' },\n { func: 'rgba($color, $alpha)', desc: localize('scss.builtin.rgba', 'Changes the alpha component for a color.') },\n { func: 'opacify($color, $amount)', desc: localize('scss.builtin.opacify', 'Makes a color more opaque.') },\n { func: 'fade-in($color, $amount)', desc: localize('scss.builtin.fade-in', 'Makes a color more opaque.') },\n { func: 'transparentize($color, $amount)', desc: localize('scss.builtin.transparentize', 'Makes a color more transparent.') },\n { func: 'fade-out($color, $amount)', desc: localize('scss.builtin.fade-out', 'Makes a color more transparent.') },\n { func: 'adjust-color($color, [$red], [$green], [$blue], [$hue], [$saturation], [$lightness], [$alpha])', desc: localize('scss.builtin.adjust-color', 'Increases or decreases one or more components of a color.') },\n { func: 'scale-color($color, [$red], [$green], [$blue], [$saturation], [$lightness], [$alpha])', desc: localize('scss.builtin.scale-color', 'Fluidly scales one or more properties of a color.') },\n { func: 'change-color($color, [$red], [$green], [$blue], [$hue], [$saturation], [$lightness], [$alpha])', desc: localize('scss.builtin.change-color', 'Changes one or more properties of a color.') },\n { func: 'ie-hex-str($color)', desc: localize('scss.builtin.ie-hex-str', 'Converts a color into the format understood by IE filters.') }\n ];\n SCSSCompletion.selectorFuncs = [\n { func: 'selector-nest($selectors…)', desc: localize('scss.builtin.selector-nest', 'Nests selector beneath one another like they would be nested in the stylesheet.') },\n { func: 'selector-append($selectors…)', desc: localize('scss.builtin.selector-append', 'Appends selectors to one another without spaces in between.') },\n { func: 'selector-extend($selector, $extendee, $extender)', desc: localize('scss.builtin.selector-extend', 'Extends $extendee with $extender within $selector.') },\n { func: 'selector-replace($selector, $original, $replacement)', desc: localize('scss.builtin.selector-replace', 'Replaces $original with $replacement within $selector.') },\n { func: 'selector-unify($selector1, $selector2)', desc: localize('scss.builtin.selector-unify', 'Unifies two selectors to produce a selector that matches elements matched by both.') },\n { func: 'is-superselector($super, $sub)', desc: localize('scss.builtin.is-superselector', 'Returns whether $super matches all the elements $sub does, and possibly more.') },\n { func: 'simple-selectors($selector)', desc: localize('scss.builtin.simple-selectors', 'Returns the simple selectors that comprise a compound selector.') },\n { func: 'selector-parse($selector)', desc: localize('scss.builtin.selector-parse', 'Parses a selector into the format returned by &.') }\n ];\n SCSSCompletion.builtInFuncs = [\n { func: 'unquote($string)', desc: localize('scss.builtin.unquote', 'Removes quotes from a string.') },\n { func: 'quote($string)', desc: localize('scss.builtin.quote', 'Adds quotes to a string.') },\n { func: 'str-length($string)', desc: localize('scss.builtin.str-length', 'Returns the number of characters in a string.') },\n { func: 'str-insert($string, $insert, $index)', desc: localize('scss.builtin.str-insert', 'Inserts $insert into $string at $index.') },\n { func: 'str-index($string, $substring)', desc: localize('scss.builtin.str-index', 'Returns the index of the first occurance of $substring in $string.') },\n { func: 'str-slice($string, $start-at, [$end-at])', desc: localize('scss.builtin.str-slice', 'Extracts a substring from $string.') },\n { func: 'to-upper-case($string)', desc: localize('scss.builtin.to-upper-case', 'Converts a string to upper case.') },\n { func: 'to-lower-case($string)', desc: localize('scss.builtin.to-lower-case', 'Converts a string to lower case.') },\n { func: 'percentage($number)', desc: localize('scss.builtin.percentage', 'Converts a unitless number to a percentage.'), type: 'percentage' },\n { func: 'round($number)', desc: localize('scss.builtin.round', 'Rounds a number to the nearest whole number.') },\n { func: 'ceil($number)', desc: localize('scss.builtin.ceil', 'Rounds a number up to the next whole number.') },\n { func: 'floor($number)', desc: localize('scss.builtin.floor', 'Rounds a number down to the previous whole number.') },\n { func: 'abs($number)', desc: localize('scss.builtin.abs', 'Returns the absolute value of a number.') },\n { func: 'min($numbers)', desc: localize('scss.builtin.min', 'Finds the minimum of several numbers.') },\n { func: 'max($numbers)', desc: localize('scss.builtin.max', 'Finds the maximum of several numbers.') },\n { func: 'random([$limit])', desc: localize('scss.builtin.random', 'Returns a random number.') },\n { func: 'length($list)', desc: localize('scss.builtin.length', 'Returns the length of a list.') },\n { func: 'nth($list, $n)', desc: localize('scss.builtin.nth', 'Returns a specific item in a list.') },\n { func: 'set-nth($list, $n, $value)', desc: localize('scss.builtin.set-nth', 'Replaces the nth item in a list.') },\n { func: 'join($list1, $list2, [$separator])', desc: localize('scss.builtin.join', 'Joins together two lists into one.') },\n { func: 'append($list1, $val, [$separator])', desc: localize('scss.builtin.append', 'Appends a single value onto the end of a list.') },\n { func: 'zip($lists)', desc: localize('scss.builtin.zip', 'Combines several lists into a single multidimensional list.') },\n { func: 'index($list, $value)', desc: localize('scss.builtin.index', 'Returns the position of a value within a list.') },\n { func: 'list-separator(#list)', desc: localize('scss.builtin.list-separator', 'Returns the separator of a list.') },\n { func: 'map-get($map, $key)', desc: localize('scss.builtin.map-get', 'Returns the value in a map associated with a given key.') },\n { func: 'map-merge($map1, $map2)', desc: localize('scss.builtin.map-merge', 'Merges two maps together into a new map.') },\n { func: 'map-remove($map, $keys)', desc: localize('scss.builtin.map-remove', 'Returns a new map with keys removed.') },\n { func: 'map-keys($map)', desc: localize('scss.builtin.map-keys', 'Returns a list of all keys in a map.') },\n { func: 'map-values($map)', desc: localize('scss.builtin.map-values', 'Returns a list of all values in a map.') },\n { func: 'map-has-key($map, $key)', desc: localize('scss.builtin.map-has-key', 'Returns whether a map has a value associated with a given key.') },\n { func: 'keywords($args)', desc: localize('scss.builtin.keywords', 'Returns the keywords passed to a function that takes variable arguments.') },\n { func: 'feature-exists($feature)', desc: localize('scss.builtin.feature-exists', 'Returns whether a feature exists in the current Sass runtime.') },\n { func: 'variable-exists($name)', desc: localize('scss.builtin.variable-exists', 'Returns whether a variable with the given name exists in the current scope.') },\n { func: 'global-variable-exists($name)', desc: localize('scss.builtin.global-variable-exists', 'Returns whether a variable with the given name exists in the global scope.') },\n { func: 'function-exists($name)', desc: localize('scss.builtin.function-exists', 'Returns whether a function with the given name exists.') },\n { func: 'mixin-exists($name)', desc: localize('scss.builtin.mixin-exists', 'Returns whether a mixin with the given name exists.') },\n { func: 'inspect($value)', desc: localize('scss.builtin.inspect', 'Returns the string representation of a value as it would be represented in Sass.') },\n { func: 'type-of($value)', desc: localize('scss.builtin.type-of', 'Returns the type of a value.') },\n { func: 'unit($number)', desc: localize('scss.builtin.unit', 'Returns the unit(s) associated with a number.') },\n { func: 'unitless($number)', desc: localize('scss.builtin.unitless', 'Returns whether a number has units.') },\n { func: 'comparable($number1, $number2)', desc: localize('scss.builtin.comparable', 'Returns whether two numbers can be added, subtracted, or compared.') },\n { func: 'call($name, $args…)', desc: localize('scss.builtin.call', 'Dynamically calls a Sass function.') }\n ];\n SCSSCompletion.scssAtDirectives = [\n {\n label: \"@extend\",\n documentation: localize(\"scss.builtin.@extend\", \"Inherits the styles of another selector.\"),\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_2__.CompletionItemKind.Keyword\n },\n {\n label: \"@at-root\",\n documentation: localize(\"scss.builtin.@at-root\", \"Causes one or more rules to be emitted at the root of the document.\"),\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_2__.CompletionItemKind.Keyword\n },\n {\n label: \"@debug\",\n documentation: localize(\"scss.builtin.@debug\", \"Prints the value of an expression to the standard error output stream. Useful for debugging complicated Sass files.\"),\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_2__.CompletionItemKind.Keyword\n },\n {\n label: \"@warn\",\n documentation: localize(\"scss.builtin.@warn\", \"Prints the value of an expression to the standard error output stream. Useful for libraries that need to warn users of deprecations or recovering from minor mixin usage mistakes. Warnings can be turned off with the `--quiet` command-line option or the `:quiet` Sass option.\"),\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_2__.CompletionItemKind.Keyword\n },\n {\n label: \"@error\",\n documentation: localize(\"scss.builtin.@error\", \"Throws the value of an expression as a fatal error with stack trace. Useful for validating arguments to mixins and functions.\"),\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_2__.CompletionItemKind.Keyword\n },\n {\n label: \"@if\",\n documentation: localize(\"scss.builtin.@if\", \"Includes the body if the expression does not evaluate to `false` or `null`.\"),\n insertText: \"@if ${1:expr} {\\n\\t$0\\n}\",\n insertTextFormat: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_2__.InsertTextFormat.Snippet,\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_2__.CompletionItemKind.Keyword\n },\n {\n label: \"@for\",\n documentation: localize(\"scss.builtin.@for\", \"For loop that repeatedly outputs a set of styles for each `$var` in the `from/through` or `from/to` clause.\"),\n insertText: \"@for \\\\$${1:var} from ${2:start} ${3|to,through|} ${4:end} {\\n\\t$0\\n}\",\n insertTextFormat: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_2__.InsertTextFormat.Snippet,\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_2__.CompletionItemKind.Keyword\n },\n {\n label: \"@each\",\n documentation: localize(\"scss.builtin.@each\", \"Each loop that sets `$var` to each item in the list or map, then outputs the styles it contains using that value of `$var`.\"),\n insertText: \"@each \\\\$${1:var} in ${2:list} {\\n\\t$0\\n}\",\n insertTextFormat: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_2__.InsertTextFormat.Snippet,\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_2__.CompletionItemKind.Keyword\n },\n {\n label: \"@while\",\n documentation: localize(\"scss.builtin.@while\", \"While loop that takes an expression and repeatedly outputs the nested styles until the statement evaluates to `false`.\"),\n insertText: \"@while ${1:condition} {\\n\\t$0\\n}\",\n insertTextFormat: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_2__.InsertTextFormat.Snippet,\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_2__.CompletionItemKind.Keyword\n },\n {\n label: \"@mixin\",\n documentation: localize(\"scss.builtin.@mixin\", \"Defines styles that can be re-used throughout the stylesheet with `@include`.\"),\n insertText: \"@mixin ${1:name} {\\n\\t$0\\n}\",\n insertTextFormat: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_2__.InsertTextFormat.Snippet,\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_2__.CompletionItemKind.Keyword\n },\n {\n label: \"@include\",\n documentation: localize(\"scss.builtin.@include\", \"Includes the styles defined by another mixin into the current rule.\"),\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_2__.CompletionItemKind.Keyword\n },\n {\n label: \"@function\",\n documentation: localize(\"scss.builtin.@function\", \"Defines complex operations that can be re-used throughout stylesheets.\"),\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_2__.CompletionItemKind.Keyword\n }\n ];\n SCSSCompletion.scssModuleLoaders = [\n {\n label: \"@use\",\n documentation: localize(\"scss.builtin.@use\", \"Loads mixins, functions, and variables from other Sass stylesheets as 'modules', and combines CSS from multiple stylesheets together.\"),\n references: [{ name: 'Sass documentation', url: 'https://sass-lang.com/documentation/at-rules/use' }],\n insertText: \"@use $0;\",\n insertTextFormat: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_2__.InsertTextFormat.Snippet,\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_2__.CompletionItemKind.Keyword\n },\n {\n label: \"@forward\",\n documentation: localize(\"scss.builtin.@forward\", \"Loads a Sass stylesheet and makes its mixins, functions, and variables available when this stylesheet is loaded with the @use rule.\"),\n references: [{ name: 'Sass documentation', url: 'https://sass-lang.com/documentation/at-rules/forward' }],\n insertText: \"@forward $0;\",\n insertTextFormat: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_2__.InsertTextFormat.Snippet,\n kind: _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_2__.CompletionItemKind.Keyword\n },\n ];\n SCSSCompletion.scssModuleBuiltIns = [\n {\n label: 'sass:math',\n documentation: localize('scss.builtin.sass:math', 'Provides functions that operate on numbers.'),\n references: [{ name: 'Sass documentation', url: 'https://sass-lang.com/documentation/modules/math' }]\n },\n {\n label: 'sass:string',\n documentation: localize('scss.builtin.sass:string', 'Makes it easy to combine, search, or split apart strings.'),\n references: [{ name: 'Sass documentation', url: 'https://sass-lang.com/documentation/modules/string' }]\n },\n {\n label: 'sass:color',\n documentation: localize('scss.builtin.sass:color', 'Generates new colors based on existing ones, making it easy to build color themes.'),\n references: [{ name: 'Sass documentation', url: 'https://sass-lang.com/documentation/modules/color' }]\n },\n {\n label: 'sass:list',\n documentation: localize('scss.builtin.sass:list', 'Lets you access and modify values in lists.'),\n references: [{ name: 'Sass documentation', url: 'https://sass-lang.com/documentation/modules/list' }]\n },\n {\n label: 'sass:map',\n documentation: localize('scss.builtin.sass:map', 'Makes it possible to look up the value associated with a key in a map, and much more.'),\n references: [{ name: 'Sass documentation', url: 'https://sass-lang.com/documentation/modules/map' }]\n },\n {\n label: 'sass:selector',\n documentation: localize('scss.builtin.sass:selector', 'Provides access to Sass’s powerful selector engine.'),\n references: [{ name: 'Sass documentation', url: 'https://sass-lang.com/documentation/modules/selector' }]\n },\n {\n label: 'sass:meta',\n documentation: localize('scss.builtin.sass:meta', 'Exposes the details of Sass’s inner workings.'),\n references: [{ name: 'Sass documentation', url: 'https://sass-lang.com/documentation/modules/meta' }]\n },\n ];\n return SCSSCompletion;\n}(_cssCompletion_js__WEBPACK_IMPORTED_MODULE_0__.CSSCompletion));\n\n/**\n * Todo @Pine: Remove this and do it through custom data\n */\nfunction addReferencesToDocumentation(items) {\n items.forEach(function (i) {\n if (i.documentation && i.references && i.references.length > 0) {\n var markdownDoc = typeof i.documentation === 'string'\n ? { kind: 'markdown', value: i.documentation }\n : { kind: 'markdown', value: i.documentation.value };\n markdownDoc.value += '\\n\\n';\n markdownDoc.value += i.references\n .map(function (r) {\n return \"[\" + r.name + \"](\" + r.url + \")\";\n })\n .join(' | ');\n i.documentation = markdownDoc;\n }\n });\n}\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/scssCompletion.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/scssNavigation.js":
|
||
/*!********************************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/scssNavigation.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 */ \"SCSSNavigation\": () => (/* binding */ SCSSNavigation)\n/* harmony export */ });\n/* harmony import */ var _cssNavigation_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./cssNavigation.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssNavigation.js\");\n/* harmony import */ var _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../parser/cssNodes.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssNodes.js\");\n/* harmony import */ var _vscode_uri_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./../../vscode-uri/index.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-uri/index.js\");\n/* harmony import */ var _utils_strings_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/strings.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/utils/strings.js\");\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\nvar __extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (undefined && undefined.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\n\n\n\n\nvar SCSSNavigation = /** @class */ (function (_super) {\n __extends(SCSSNavigation, _super);\n function SCSSNavigation(fileSystemProvider) {\n return _super.call(this, fileSystemProvider) || this;\n }\n SCSSNavigation.prototype.isRawStringDocumentLinkNode = function (node) {\n return (_super.prototype.isRawStringDocumentLinkNode.call(this, node) ||\n node.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.Use ||\n node.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_1__.NodeType.Forward);\n };\n SCSSNavigation.prototype.resolveRelativeReference = function (ref, documentUri, documentContext) {\n return __awaiter(this, void 0, void 0, function () {\n function toPathVariations(uri) {\n // No valid path\n if (uri.path === '') {\n return undefined;\n }\n // No variation for links that ends with suffix\n if (uri.path.endsWith('.scss') || uri.path.endsWith('.css')) {\n return undefined;\n }\n // If a link is like a/, try resolving a/index.scss and a/_index.scss\n if (uri.path.endsWith('/')) {\n return [\n uri.with({ path: uri.path + 'index.scss' }).toString(),\n uri.with({ path: uri.path + '_index.scss' }).toString()\n ];\n }\n // Use `uri.path` since it's normalized to use `/` in all platforms\n var pathFragments = uri.path.split('/');\n var basename = pathFragments[pathFragments.length - 1];\n var pathWithoutBasename = uri.path.slice(0, -basename.length);\n // No variation for links such as _a\n if (basename.startsWith('_')) {\n if (uri.path.endsWith('.scss')) {\n return undefined;\n }\n else {\n return [uri.with({ path: uri.path + '.scss' }).toString()];\n }\n }\n var normalizedBasename = basename + '.scss';\n var documentUriWithBasename = function (newBasename) {\n return uri.with({ path: pathWithoutBasename + newBasename }).toString();\n };\n var normalizedPath = documentUriWithBasename(normalizedBasename);\n var underScorePath = documentUriWithBasename('_' + normalizedBasename);\n var indexPath = documentUriWithBasename(normalizedBasename.slice(0, -5) + '/index.scss');\n var indexUnderscoreUri = documentUriWithBasename(normalizedBasename.slice(0, -5) + '/_index.scss');\n var cssPath = documentUriWithBasename(normalizedBasename.slice(0, -5) + '.css');\n return [normalizedPath, underScorePath, indexPath, indexUnderscoreUri, cssPath];\n }\n var target, parsedUri, pathVariations, j, e_1;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if ((0,_utils_strings_js__WEBPACK_IMPORTED_MODULE_3__.startsWith)(ref, 'sass:')) {\n return [2 /*return*/, undefined]; // sass library\n }\n return [4 /*yield*/, _super.prototype.resolveRelativeReference.call(this, ref, documentUri, documentContext)];\n case 1:\n target = _a.sent();\n if (!(this.fileSystemProvider && target)) return [3 /*break*/, 8];\n parsedUri = _vscode_uri_index_js__WEBPACK_IMPORTED_MODULE_2__.URI.parse(target);\n if (!(parsedUri.path && _vscode_uri_index_js__WEBPACK_IMPORTED_MODULE_2__.Utils.extname(parsedUri).length === 0)) return [3 /*break*/, 8];\n _a.label = 2;\n case 2:\n _a.trys.push([2, 7, , 8]);\n pathVariations = toPathVariations(parsedUri);\n if (!pathVariations) return [3 /*break*/, 6];\n j = 0;\n _a.label = 3;\n case 3:\n if (!(j < pathVariations.length)) return [3 /*break*/, 6];\n return [4 /*yield*/, this.fileExists(pathVariations[j])];\n case 4:\n if (_a.sent()) {\n return [2 /*return*/, pathVariations[j]];\n }\n _a.label = 5;\n case 5:\n j++;\n return [3 /*break*/, 3];\n case 6: return [2 /*return*/, undefined];\n case 7:\n e_1 = _a.sent();\n return [3 /*break*/, 8];\n case 8: return [2 /*return*/, target];\n }\n });\n });\n };\n return SCSSNavigation;\n}(_cssNavigation_js__WEBPACK_IMPORTED_MODULE_0__.CSSNavigation));\n\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/scssNavigation.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/selectorPrinting.js":
|
||
/*!**********************************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/selectorPrinting.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 */ \"Element\": () => (/* binding */ Element),\n/* harmony export */ \"RootElement\": () => (/* binding */ RootElement),\n/* harmony export */ \"LabelElement\": () => (/* binding */ LabelElement),\n/* harmony export */ \"toElement\": () => (/* binding */ toElement),\n/* harmony export */ \"SelectorPrinting\": () => (/* binding */ SelectorPrinting),\n/* harmony export */ \"selectorToElement\": () => (/* binding */ selectorToElement)\n/* harmony export */ });\n/* harmony import */ var _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../parser/cssNodes.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssNodes.js\");\n/* harmony import */ var _parser_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../parser/cssScanner.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssScanner.js\");\n/* harmony import */ var _fillers_vscode_nls_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./../../../fillers/vscode-nls.js */ \"./node_modules/monaco-editor/esm/vs/language/css/fillers/vscode-nls.js\");\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\nvar __extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\n\n\n\nvar localize = _fillers_vscode_nls_js__WEBPACK_IMPORTED_MODULE_2__.loadMessageBundle();\nvar Element = /** @class */ (function () {\n function Element() {\n this.parent = null;\n this.children = null;\n this.attributes = null;\n }\n Element.prototype.findAttribute = function (name) {\n if (this.attributes) {\n for (var _i = 0, _a = this.attributes; _i < _a.length; _i++) {\n var attribute = _a[_i];\n if (attribute.name === name) {\n return attribute.value;\n }\n }\n }\n return null;\n };\n Element.prototype.addChild = function (child) {\n if (child instanceof Element) {\n child.parent = this;\n }\n if (!this.children) {\n this.children = [];\n }\n this.children.push(child);\n };\n Element.prototype.append = function (text) {\n if (this.attributes) {\n var last = this.attributes[this.attributes.length - 1];\n last.value = last.value + text;\n }\n };\n Element.prototype.prepend = function (text) {\n if (this.attributes) {\n var first = this.attributes[0];\n first.value = text + first.value;\n }\n };\n Element.prototype.findRoot = function () {\n var curr = this;\n while (curr.parent && !(curr.parent instanceof RootElement)) {\n curr = curr.parent;\n }\n return curr;\n };\n Element.prototype.removeChild = function (child) {\n if (this.children) {\n var index = this.children.indexOf(child);\n if (index !== -1) {\n this.children.splice(index, 1);\n return true;\n }\n }\n return false;\n };\n Element.prototype.addAttr = function (name, value) {\n if (!this.attributes) {\n this.attributes = [];\n }\n for (var _i = 0, _a = this.attributes; _i < _a.length; _i++) {\n var attribute = _a[_i];\n if (attribute.name === name) {\n attribute.value += ' ' + value;\n return;\n }\n }\n this.attributes.push({ name: name, value: value });\n };\n Element.prototype.clone = function (cloneChildren) {\n if (cloneChildren === void 0) { cloneChildren = true; }\n var elem = new Element();\n if (this.attributes) {\n elem.attributes = [];\n for (var _i = 0, _a = this.attributes; _i < _a.length; _i++) {\n var attribute = _a[_i];\n elem.addAttr(attribute.name, attribute.value);\n }\n }\n if (cloneChildren && this.children) {\n elem.children = [];\n for (var index = 0; index < this.children.length; index++) {\n elem.addChild(this.children[index].clone());\n }\n }\n return elem;\n };\n Element.prototype.cloneWithParent = function () {\n var clone = this.clone(false);\n if (this.parent && !(this.parent instanceof RootElement)) {\n var parentClone = this.parent.cloneWithParent();\n parentClone.addChild(clone);\n }\n return clone;\n };\n return Element;\n}());\n\nvar RootElement = /** @class */ (function (_super) {\n __extends(RootElement, _super);\n function RootElement() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n return RootElement;\n}(Element));\n\nvar LabelElement = /** @class */ (function (_super) {\n __extends(LabelElement, _super);\n function LabelElement(label) {\n var _this = _super.call(this) || this;\n _this.addAttr('name', label);\n return _this;\n }\n return LabelElement;\n}(Element));\n\nvar MarkedStringPrinter = /** @class */ (function () {\n function MarkedStringPrinter(quote) {\n this.quote = quote;\n this.result = [];\n // empty\n }\n MarkedStringPrinter.prototype.print = function (element) {\n this.result = [];\n if (element instanceof RootElement) {\n if (element.children) {\n this.doPrint(element.children, 0);\n }\n }\n else {\n this.doPrint([element], 0);\n }\n var value = this.result.join('\\n');\n return [{ language: 'html', value: value }];\n };\n MarkedStringPrinter.prototype.doPrint = function (elements, indent) {\n for (var _i = 0, elements_1 = elements; _i < elements_1.length; _i++) {\n var element = elements_1[_i];\n this.doPrintElement(element, indent);\n if (element.children) {\n this.doPrint(element.children, indent + 1);\n }\n }\n };\n MarkedStringPrinter.prototype.writeLine = function (level, content) {\n var indent = new Array(level + 1).join(' ');\n this.result.push(indent + content);\n };\n MarkedStringPrinter.prototype.doPrintElement = function (element, indent) {\n var name = element.findAttribute('name');\n // special case: a simple label\n if (element instanceof LabelElement || name === '\\u2026') {\n this.writeLine(indent, name);\n return;\n }\n // the real deal\n var content = ['<'];\n // element name\n if (name) {\n content.push(name);\n }\n else {\n content.push('element');\n }\n // attributes\n if (element.attributes) {\n for (var _i = 0, _a = element.attributes; _i < _a.length; _i++) {\n var attr = _a[_i];\n if (attr.name !== 'name') {\n content.push(' ');\n content.push(attr.name);\n var value = attr.value;\n if (value) {\n content.push('=');\n content.push(quotes.ensure(value, this.quote));\n }\n }\n }\n }\n content.push('>');\n this.writeLine(indent, content.join(''));\n };\n return MarkedStringPrinter;\n}());\nvar quotes;\n(function (quotes) {\n function ensure(value, which) {\n return which + remove(value) + which;\n }\n quotes.ensure = ensure;\n function remove(value) {\n var match = value.match(/^['\"](.*)[\"']$/);\n if (match) {\n return match[1];\n }\n return value;\n }\n quotes.remove = remove;\n})(quotes || (quotes = {}));\nvar Specificity = /** @class */ (function () {\n function Specificity() {\n /** Count of identifiers (e.g., `#app`) */\n this.id = 0;\n /** Count of attributes (`[type=\"number\"]`), classes (`.container-fluid`), and pseudo-classes (`:hover`) */\n this.attr = 0;\n /** Count of tag names (`div`), and pseudo-elements (`::before`) */\n this.tag = 0;\n }\n return Specificity;\n}());\nfunction toElement(node, parentElement) {\n var result = new Element();\n for (var _i = 0, _a = node.getChildren(); _i < _a.length; _i++) {\n var child = _a[_i];\n switch (child.type) {\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.SelectorCombinator:\n if (parentElement) {\n var segments = child.getText().split('&');\n if (segments.length === 1) {\n // should not happen\n result.addAttr('name', segments[0]);\n break;\n }\n result = parentElement.cloneWithParent();\n if (segments[0]) {\n var root = result.findRoot();\n root.prepend(segments[0]);\n }\n for (var i = 1; i < segments.length; i++) {\n if (i > 1) {\n var clone = parentElement.cloneWithParent();\n result.addChild(clone.findRoot());\n result = clone;\n }\n result.append(segments[i]);\n }\n }\n break;\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.SelectorPlaceholder:\n if (child.matches('@at-root')) {\n return result;\n }\n // fall through\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.ElementNameSelector:\n var text = child.getText();\n result.addAttr('name', text === '*' ? 'element' : unescape(text));\n break;\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.ClassSelector:\n result.addAttr('class', unescape(child.getText().substring(1)));\n break;\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.IdentifierSelector:\n result.addAttr('id', unescape(child.getText().substring(1)));\n break;\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.MixinDeclaration:\n result.addAttr('class', child.getName());\n break;\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.PseudoSelector:\n result.addAttr(unescape(child.getText()), '');\n break;\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.AttributeSelector:\n var selector = child;\n var identifier = selector.getIdentifier();\n if (identifier) {\n var expression = selector.getValue();\n var operator = selector.getOperator();\n var value = void 0;\n if (expression && operator) {\n switch (unescape(operator.getText())) {\n case '|=':\n // excatly or followed by -words\n value = quotes.remove(unescape(expression.getText())) + \"-\\u2026\";\n break;\n case '^=':\n // prefix\n value = quotes.remove(unescape(expression.getText())) + \"\\u2026\";\n break;\n case '$=':\n // suffix\n value = \"\\u2026\" + quotes.remove(unescape(expression.getText()));\n break;\n case '~=':\n // one of a list of words\n value = \" \\u2026 \" + quotes.remove(unescape(expression.getText())) + \" \\u2026 \";\n break;\n case '*=':\n // substring\n value = \"\\u2026\" + quotes.remove(unescape(expression.getText())) + \"\\u2026\";\n break;\n default:\n value = quotes.remove(unescape(expression.getText()));\n break;\n }\n }\n result.addAttr(unescape(identifier.getText()), value);\n }\n break;\n }\n }\n return result;\n}\nfunction unescape(content) {\n var scanner = new _parser_cssScanner_js__WEBPACK_IMPORTED_MODULE_1__.Scanner();\n scanner.setSource(content);\n var token = scanner.scanUnquotedString();\n if (token) {\n return token.text;\n }\n return content;\n}\nvar SelectorPrinting = /** @class */ (function () {\n function SelectorPrinting(cssDataManager) {\n this.cssDataManager = cssDataManager;\n }\n SelectorPrinting.prototype.selectorToMarkedString = function (node) {\n var root = selectorToElement(node);\n if (root) {\n var markedStrings = new MarkedStringPrinter('\"').print(root);\n markedStrings.push(this.selectorToSpecificityMarkedString(node));\n return markedStrings;\n }\n else {\n return [];\n }\n };\n SelectorPrinting.prototype.simpleSelectorToMarkedString = function (node) {\n var element = toElement(node);\n var markedStrings = new MarkedStringPrinter('\"').print(element);\n markedStrings.push(this.selectorToSpecificityMarkedString(node));\n return markedStrings;\n };\n SelectorPrinting.prototype.isPseudoElementIdentifier = function (text) {\n var match = text.match(/^::?([\\w-]+)/);\n if (!match) {\n return false;\n }\n return !!this.cssDataManager.getPseudoElement(\"::\" + match[1]);\n };\n SelectorPrinting.prototype.selectorToSpecificityMarkedString = function (node) {\n var _this = this;\n //https://www.w3.org/TR/selectors-3/#specificity\n var calculateScore = function (node) {\n for (var _i = 0, _a = node.getChildren(); _i < _a.length; _i++) {\n var element = _a[_i];\n switch (element.type) {\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.IdentifierSelector:\n specificity.id++;\n break;\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.ClassSelector:\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.AttributeSelector:\n specificity.attr++;\n break;\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.ElementNameSelector:\n //ignore universal selector\n if (element.matches(\"*\")) {\n break;\n }\n specificity.tag++;\n break;\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.PseudoSelector:\n var text = element.getText();\n if (_this.isPseudoElementIdentifier(text)) {\n specificity.tag++; // pseudo element\n }\n else {\n //ignore psuedo class NOT\n if (text.match(/^:not/i)) {\n break;\n }\n specificity.attr++; //pseudo class\n }\n break;\n }\n if (element.getChildren().length > 0) {\n calculateScore(element);\n }\n }\n };\n var specificity = new Specificity();\n calculateScore(node);\n return localize('specificity', \"[Selector Specificity](https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity): ({0}, {1}, {2})\", specificity.id, specificity.attr, specificity.tag);\n };\n return SelectorPrinting;\n}());\n\nvar SelectorElementBuilder = /** @class */ (function () {\n function SelectorElementBuilder(element) {\n this.prev = null;\n this.element = element;\n }\n SelectorElementBuilder.prototype.processSelector = function (selector) {\n var parentElement = null;\n if (!(this.element instanceof RootElement)) {\n if (selector.getChildren().some(function (c) { return c.hasChildren() && c.getChild(0).type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.SelectorCombinator; })) {\n var curr = this.element.findRoot();\n if (curr.parent instanceof RootElement) {\n parentElement = this.element;\n this.element = curr.parent;\n this.element.removeChild(curr);\n this.prev = null;\n }\n }\n }\n for (var _i = 0, _a = selector.getChildren(); _i < _a.length; _i++) {\n var selectorChild = _a[_i];\n if (selectorChild instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.SimpleSelector) {\n if (this.prev instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.SimpleSelector) {\n var labelElement = new LabelElement('\\u2026');\n this.element.addChild(labelElement);\n this.element = labelElement;\n }\n else if (this.prev && (this.prev.matches('+') || this.prev.matches('~')) && this.element.parent) {\n this.element = this.element.parent;\n }\n if (this.prev && this.prev.matches('~')) {\n this.element.addChild(new LabelElement('\\u22EE'));\n }\n var thisElement = toElement(selectorChild, parentElement);\n var root = thisElement.findRoot();\n this.element.addChild(root);\n this.element = thisElement;\n }\n if (selectorChild instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.SimpleSelector ||\n selectorChild.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.SelectorCombinatorParent ||\n selectorChild.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.SelectorCombinatorShadowPiercingDescendant ||\n selectorChild.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.SelectorCombinatorSibling ||\n selectorChild.type === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.SelectorCombinatorAllSiblings) {\n this.prev = selectorChild;\n }\n }\n };\n return SelectorElementBuilder;\n}());\nfunction isNewSelectorContext(node) {\n switch (node.type) {\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.MixinDeclaration:\n case _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.NodeType.Stylesheet:\n return true;\n }\n return false;\n}\nfunction selectorToElement(node) {\n if (node.matches('@at-root')) {\n return null;\n }\n var root = new RootElement();\n var parentRuleSets = [];\n var ruleSet = node.getParent();\n if (ruleSet instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.RuleSet) {\n var parent = ruleSet.getParent(); // parent of the selector's ruleset\n while (parent && !isNewSelectorContext(parent)) {\n if (parent instanceof _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__.RuleSet) {\n if (parent.getSelectors().matches('@at-root')) {\n break;\n }\n parentRuleSets.push(parent);\n }\n parent = parent.getParent();\n }\n }\n var builder = new SelectorElementBuilder(root);\n for (var i = parentRuleSets.length - 1; i >= 0; i--) {\n var selector = parentRuleSets[i].getSelectors().getChild(0);\n if (selector) {\n builder.processSelector(selector);\n }\n }\n builder.processSelector(node);\n return root;\n}\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/selectorPrinting.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/utils/arrays.js":
|
||
/*!*********************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/utils/arrays.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 */ \"findFirst\": () => (/* binding */ findFirst),\n/* harmony export */ \"includes\": () => (/* binding */ includes),\n/* harmony export */ \"union\": () => (/* binding */ union)\n/* harmony export */ });\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/**\n * Takes a sorted array and a function p. The array is sorted in such a way that all elements where p(x) is false\n * are located before all elements where p(x) is true.\n * @returns the least x for which p(x) is true or array.length if no element fullfills the given function.\n */\nfunction findFirst(array, p) {\n var low = 0, high = array.length;\n if (high === 0) {\n return 0; // no children\n }\n while (low < high) {\n var mid = Math.floor((low + high) / 2);\n if (p(array[mid])) {\n high = mid;\n }\n else {\n low = mid + 1;\n }\n }\n return low;\n}\nfunction includes(array, item) {\n return array.indexOf(item) !== -1;\n}\nfunction union() {\n var arrays = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n arrays[_i] = arguments[_i];\n }\n var result = [];\n for (var _a = 0, arrays_1 = arrays; _a < arrays_1.length; _a++) {\n var array = arrays_1[_a];\n for (var _b = 0, array_1 = array; _b < array_1.length; _b++) {\n var item = array_1[_b];\n if (!includes(result, item)) {\n result.push(item);\n }\n }\n }\n return result;\n}\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/utils/arrays.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/utils/objects.js":
|
||
/*!**********************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/utils/objects.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 */ \"values\": () => (/* binding */ values),\n/* harmony export */ \"isDefined\": () => (/* binding */ isDefined)\n/* harmony export */ });\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\nfunction values(obj) {\n return Object.keys(obj).map(function (key) { return obj[key]; });\n}\nfunction isDefined(obj) {\n return typeof obj !== 'undefined';\n}\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/utils/objects.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/utils/resources.js":
|
||
/*!************************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/utils/resources.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 */ \"dirname\": () => (/* binding */ dirname),\n/* harmony export */ \"joinPath\": () => (/* binding */ joinPath)\n/* harmony export */ });\n/* harmony import */ var _vscode_uri_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../../vscode-uri/index.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-uri/index.js\");\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 *--------------------------------------------------------------------------------------------*/\nvar __spreadArray = (undefined && undefined.__spreadArray) || function (to, from) {\n for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)\n to[j] = from[i];\n return to;\n};\n\nfunction dirname(uriString) {\n return _vscode_uri_index_js__WEBPACK_IMPORTED_MODULE_0__.Utils.dirname(_vscode_uri_index_js__WEBPACK_IMPORTED_MODULE_0__.URI.parse(uriString)).toString();\n}\nfunction joinPath(uriString) {\n var paths = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n paths[_i - 1] = arguments[_i];\n }\n return _vscode_uri_index_js__WEBPACK_IMPORTED_MODULE_0__.Utils.joinPath.apply(_vscode_uri_index_js__WEBPACK_IMPORTED_MODULE_0__.Utils, __spreadArray([_vscode_uri_index_js__WEBPACK_IMPORTED_MODULE_0__.URI.parse(uriString)], paths)).toString();\n}\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/utils/resources.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/utils/strings.js":
|
||
/*!**********************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/utils/strings.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 */ \"startsWith\": () => (/* binding */ startsWith),\n/* harmony export */ \"endsWith\": () => (/* binding */ endsWith),\n/* harmony export */ \"difference\": () => (/* binding */ difference),\n/* harmony export */ \"getLimitedString\": () => (/* binding */ getLimitedString),\n/* harmony export */ \"trim\": () => (/* binding */ trim)\n/* harmony export */ });\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\nfunction startsWith(haystack, needle) {\n if (haystack.length < needle.length) {\n return false;\n }\n for (var i = 0; i < needle.length; i++) {\n if (haystack[i] !== needle[i]) {\n return false;\n }\n }\n return true;\n}\n/**\n * Determines if haystack ends with needle.\n */\nfunction endsWith(haystack, needle) {\n var diff = haystack.length - needle.length;\n if (diff > 0) {\n return haystack.lastIndexOf(needle) === diff;\n }\n else if (diff === 0) {\n return haystack === needle;\n }\n else {\n return false;\n }\n}\n/**\n * Computes the difference score for two strings. More similar strings have a higher score.\n * We use largest common subsequence dynamic programming approach but penalize in the end for length differences.\n * Strings that have a large length difference will get a bad default score 0.\n * Complexity - both time and space O(first.length * second.length)\n * Dynamic programming LCS computation http://en.wikipedia.org/wiki/Longest_common_subsequence_problem\n *\n * @param first a string\n * @param second a string\n */\nfunction difference(first, second, maxLenDelta) {\n if (maxLenDelta === void 0) { maxLenDelta = 4; }\n var lengthDifference = Math.abs(first.length - second.length);\n // We only compute score if length of the currentWord and length of entry.name are similar.\n if (lengthDifference > maxLenDelta) {\n return 0;\n }\n // Initialize LCS (largest common subsequence) matrix.\n var LCS = [];\n var zeroArray = [];\n var i, j;\n for (i = 0; i < second.length + 1; ++i) {\n zeroArray.push(0);\n }\n for (i = 0; i < first.length + 1; ++i) {\n LCS.push(zeroArray);\n }\n for (i = 1; i < first.length + 1; ++i) {\n for (j = 1; j < second.length + 1; ++j) {\n if (first[i - 1] === second[j - 1]) {\n LCS[i][j] = LCS[i - 1][j - 1] + 1;\n }\n else {\n LCS[i][j] = Math.max(LCS[i - 1][j], LCS[i][j - 1]);\n }\n }\n }\n return LCS[first.length][second.length] - Math.sqrt(lengthDifference);\n}\n/**\n * Limit of string length.\n */\nfunction getLimitedString(str, ellipsis) {\n if (ellipsis === void 0) { ellipsis = true; }\n if (!str) {\n return '';\n }\n if (str.length < 140) {\n return str;\n }\n return str.slice(0, 140) + (ellipsis ? '\\u2026' : '');\n}\n/**\n * Limit of string length.\n */\nfunction trim(str, regexp) {\n var m = regexp.exec(str);\n if (m && m[0].length) {\n return str.substr(0, str.length - m[0].length);\n }\n return str;\n}\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/utils/strings.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-languageserver-textdocument/lib/esm/main.js":
|
||
/*!*****************************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-languageserver-textdocument/lib/esm/main.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 */ \"TextDocument\": () => (/* binding */ TextDocument)\n/* harmony export */ });\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\nvar FullTextDocument = /** @class */ (function () {\n function FullTextDocument(uri, languageId, version, content) {\n this._uri = uri;\n this._languageId = languageId;\n this._version = version;\n this._content = content;\n this._lineOffsets = undefined;\n }\n Object.defineProperty(FullTextDocument.prototype, \"uri\", {\n get: function () {\n return this._uri;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FullTextDocument.prototype, \"languageId\", {\n get: function () {\n return this._languageId;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FullTextDocument.prototype, \"version\", {\n get: function () {\n return this._version;\n },\n enumerable: true,\n configurable: true\n });\n FullTextDocument.prototype.getText = function (range) {\n if (range) {\n var start = this.offsetAt(range.start);\n var end = this.offsetAt(range.end);\n return this._content.substring(start, end);\n }\n return this._content;\n };\n FullTextDocument.prototype.update = function (changes, version) {\n for (var _i = 0, changes_1 = changes; _i < changes_1.length; _i++) {\n var change = changes_1[_i];\n if (FullTextDocument.isIncremental(change)) {\n // makes sure start is before end\n var range = getWellformedRange(change.range);\n // update content\n var startOffset = this.offsetAt(range.start);\n var endOffset = this.offsetAt(range.end);\n this._content = this._content.substring(0, startOffset) + change.text + this._content.substring(endOffset, this._content.length);\n // update the offsets\n var startLine = Math.max(range.start.line, 0);\n var endLine = Math.max(range.end.line, 0);\n var lineOffsets = this._lineOffsets;\n var addedLineOffsets = computeLineOffsets(change.text, false, startOffset);\n if (endLine - startLine === addedLineOffsets.length) {\n for (var i = 0, len = addedLineOffsets.length; i < len; i++) {\n lineOffsets[i + startLine + 1] = addedLineOffsets[i];\n }\n }\n else {\n if (addedLineOffsets.length < 10000) {\n lineOffsets.splice.apply(lineOffsets, [startLine + 1, endLine - startLine].concat(addedLineOffsets));\n }\n else { // avoid too many arguments for splice\n this._lineOffsets = lineOffsets = lineOffsets.slice(0, startLine + 1).concat(addedLineOffsets, lineOffsets.slice(endLine + 1));\n }\n }\n var diff = change.text.length - (endOffset - startOffset);\n if (diff !== 0) {\n for (var i = startLine + 1 + addedLineOffsets.length, len = lineOffsets.length; i < len; i++) {\n lineOffsets[i] = lineOffsets[i] + diff;\n }\n }\n }\n else if (FullTextDocument.isFull(change)) {\n this._content = change.text;\n this._lineOffsets = undefined;\n }\n else {\n throw new Error('Unknown change event received');\n }\n }\n this._version = version;\n };\n FullTextDocument.prototype.getLineOffsets = function () {\n if (this._lineOffsets === undefined) {\n this._lineOffsets = computeLineOffsets(this._content, true);\n }\n return this._lineOffsets;\n };\n FullTextDocument.prototype.positionAt = function (offset) {\n offset = Math.max(Math.min(offset, this._content.length), 0);\n var lineOffsets = this.getLineOffsets();\n var low = 0, high = lineOffsets.length;\n if (high === 0) {\n return { line: 0, character: offset };\n }\n while (low < high) {\n var mid = Math.floor((low + high) / 2);\n if (lineOffsets[mid] > offset) {\n high = mid;\n }\n else {\n low = mid + 1;\n }\n }\n // low is the least x for which the line offset is larger than the current offset\n // or array.length if no line offset is larger than the current offset\n var line = low - 1;\n return { line: line, character: offset - lineOffsets[line] };\n };\n FullTextDocument.prototype.offsetAt = function (position) {\n var lineOffsets = this.getLineOffsets();\n if (position.line >= lineOffsets.length) {\n return this._content.length;\n }\n else if (position.line < 0) {\n return 0;\n }\n var lineOffset = lineOffsets[position.line];\n var nextLineOffset = (position.line + 1 < lineOffsets.length) ? lineOffsets[position.line + 1] : this._content.length;\n return Math.max(Math.min(lineOffset + position.character, nextLineOffset), lineOffset);\n };\n Object.defineProperty(FullTextDocument.prototype, \"lineCount\", {\n get: function () {\n return this.getLineOffsets().length;\n },\n enumerable: true,\n configurable: true\n });\n FullTextDocument.isIncremental = function (event) {\n var candidate = event;\n return candidate !== undefined && candidate !== null &&\n typeof candidate.text === 'string' && candidate.range !== undefined &&\n (candidate.rangeLength === undefined || typeof candidate.rangeLength === 'number');\n };\n FullTextDocument.isFull = function (event) {\n var candidate = event;\n return candidate !== undefined && candidate !== null &&\n typeof candidate.text === 'string' && candidate.range === undefined && candidate.rangeLength === undefined;\n };\n return FullTextDocument;\n}());\nvar TextDocument;\n(function (TextDocument) {\n /**\n * Creates a new text document.\n *\n * @param uri The document's uri.\n * @param languageId The document's language Id.\n * @param version The document's initial version number.\n * @param content The document's content.\n */\n function create(uri, languageId, version, content) {\n return new FullTextDocument(uri, languageId, version, content);\n }\n TextDocument.create = create;\n /**\n * Updates a TextDocument by modifing its content.\n *\n * @param document the document to update. Only documents created by TextDocument.create are valid inputs.\n * @param changes the changes to apply to the document.\n * @returns The updated TextDocument. Note: That's the same document instance passed in as first parameter.\n *\n */\n function update(document, changes, version) {\n if (document instanceof FullTextDocument) {\n document.update(changes, version);\n return document;\n }\n else {\n throw new Error('TextDocument.update: document must be created by TextDocument.create');\n }\n }\n TextDocument.update = update;\n function applyEdits(document, edits) {\n var text = document.getText();\n var sortedEdits = mergeSort(edits.map(getWellformedEdit), function (a, b) {\n var diff = a.range.start.line - b.range.start.line;\n if (diff === 0) {\n return a.range.start.character - b.range.start.character;\n }\n return diff;\n });\n var lastModifiedOffset = 0;\n var spans = [];\n for (var _i = 0, sortedEdits_1 = sortedEdits; _i < sortedEdits_1.length; _i++) {\n var e = sortedEdits_1[_i];\n var startOffset = document.offsetAt(e.range.start);\n if (startOffset < lastModifiedOffset) {\n throw new Error('Overlapping edit');\n }\n else if (startOffset > lastModifiedOffset) {\n spans.push(text.substring(lastModifiedOffset, startOffset));\n }\n if (e.newText.length) {\n spans.push(e.newText);\n }\n lastModifiedOffset = document.offsetAt(e.range.end);\n }\n spans.push(text.substr(lastModifiedOffset));\n return spans.join('');\n }\n TextDocument.applyEdits = applyEdits;\n})(TextDocument || (TextDocument = {}));\nfunction mergeSort(data, compare) {\n if (data.length <= 1) {\n // sorted\n return data;\n }\n var p = (data.length / 2) | 0;\n var left = data.slice(0, p);\n var right = data.slice(p);\n mergeSort(left, compare);\n mergeSort(right, compare);\n var leftIdx = 0;\n var rightIdx = 0;\n var i = 0;\n while (leftIdx < left.length && rightIdx < right.length) {\n var ret = compare(left[leftIdx], right[rightIdx]);\n if (ret <= 0) {\n // smaller_equal -> take left to preserve order\n data[i++] = left[leftIdx++];\n }\n else {\n // greater -> take right\n data[i++] = right[rightIdx++];\n }\n }\n while (leftIdx < left.length) {\n data[i++] = left[leftIdx++];\n }\n while (rightIdx < right.length) {\n data[i++] = right[rightIdx++];\n }\n return data;\n}\nfunction computeLineOffsets(text, isAtLineStart, textOffset) {\n if (textOffset === void 0) { textOffset = 0; }\n var result = isAtLineStart ? [textOffset] : [];\n for (var i = 0; i < text.length; i++) {\n var ch = text.charCodeAt(i);\n if (ch === 13 /* CarriageReturn */ || ch === 10 /* LineFeed */) {\n if (ch === 13 /* CarriageReturn */ && i + 1 < text.length && text.charCodeAt(i + 1) === 10 /* LineFeed */) {\n i++;\n }\n result.push(textOffset + i + 1);\n }\n }\n return result;\n}\nfunction getWellformedRange(range) {\n var start = range.start;\n var end = range.end;\n if (start.line > end.line || (start.line === end.line && start.character > end.character)) {\n return { start: end, end: start };\n }\n return range;\n}\nfunction getWellformedEdit(textEdit) {\n var range = getWellformedRange(textEdit.range);\n if (range !== textEdit.range) {\n return { newText: textEdit.newText, range: range };\n }\n return textEdit;\n}\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-languageserver-textdocument/lib/esm/main.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-languageserver-types/main.js":
|
||
/*!**************************************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-languageserver-types/main.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 */ \"integer\": () => (/* binding */ integer),\n/* harmony export */ \"uinteger\": () => (/* binding */ uinteger),\n/* harmony export */ \"Position\": () => (/* binding */ Position),\n/* harmony export */ \"Range\": () => (/* binding */ Range),\n/* harmony export */ \"Location\": () => (/* binding */ Location),\n/* harmony export */ \"LocationLink\": () => (/* binding */ LocationLink),\n/* harmony export */ \"Color\": () => (/* binding */ Color),\n/* harmony export */ \"ColorInformation\": () => (/* binding */ ColorInformation),\n/* harmony export */ \"ColorPresentation\": () => (/* binding */ ColorPresentation),\n/* harmony export */ \"FoldingRangeKind\": () => (/* binding */ FoldingRangeKind),\n/* harmony export */ \"FoldingRange\": () => (/* binding */ FoldingRange),\n/* harmony export */ \"DiagnosticRelatedInformation\": () => (/* binding */ DiagnosticRelatedInformation),\n/* harmony export */ \"DiagnosticSeverity\": () => (/* binding */ DiagnosticSeverity),\n/* harmony export */ \"DiagnosticTag\": () => (/* binding */ DiagnosticTag),\n/* harmony export */ \"CodeDescription\": () => (/* binding */ CodeDescription),\n/* harmony export */ \"Diagnostic\": () => (/* binding */ Diagnostic),\n/* harmony export */ \"Command\": () => (/* binding */ Command),\n/* harmony export */ \"TextEdit\": () => (/* binding */ TextEdit),\n/* harmony export */ \"ChangeAnnotation\": () => (/* binding */ ChangeAnnotation),\n/* harmony export */ \"ChangeAnnotationIdentifier\": () => (/* binding */ ChangeAnnotationIdentifier),\n/* harmony export */ \"AnnotatedTextEdit\": () => (/* binding */ AnnotatedTextEdit),\n/* harmony export */ \"TextDocumentEdit\": () => (/* binding */ TextDocumentEdit),\n/* harmony export */ \"CreateFile\": () => (/* binding */ CreateFile),\n/* harmony export */ \"RenameFile\": () => (/* binding */ RenameFile),\n/* harmony export */ \"DeleteFile\": () => (/* binding */ DeleteFile),\n/* harmony export */ \"WorkspaceEdit\": () => (/* binding */ WorkspaceEdit),\n/* harmony export */ \"WorkspaceChange\": () => (/* binding */ WorkspaceChange),\n/* harmony export */ \"TextDocumentIdentifier\": () => (/* binding */ TextDocumentIdentifier),\n/* harmony export */ \"VersionedTextDocumentIdentifier\": () => (/* binding */ VersionedTextDocumentIdentifier),\n/* harmony export */ \"OptionalVersionedTextDocumentIdentifier\": () => (/* binding */ OptionalVersionedTextDocumentIdentifier),\n/* harmony export */ \"TextDocumentItem\": () => (/* binding */ TextDocumentItem),\n/* harmony export */ \"MarkupKind\": () => (/* binding */ MarkupKind),\n/* harmony export */ \"MarkupContent\": () => (/* binding */ MarkupContent),\n/* harmony export */ \"CompletionItemKind\": () => (/* binding */ CompletionItemKind),\n/* harmony export */ \"InsertTextFormat\": () => (/* binding */ InsertTextFormat),\n/* harmony export */ \"CompletionItemTag\": () => (/* binding */ CompletionItemTag),\n/* harmony export */ \"InsertReplaceEdit\": () => (/* binding */ InsertReplaceEdit),\n/* harmony export */ \"InsertTextMode\": () => (/* binding */ InsertTextMode),\n/* harmony export */ \"CompletionItem\": () => (/* binding */ CompletionItem),\n/* harmony export */ \"CompletionList\": () => (/* binding */ CompletionList),\n/* harmony export */ \"MarkedString\": () => (/* binding */ MarkedString),\n/* harmony export */ \"Hover\": () => (/* binding */ Hover),\n/* harmony export */ \"ParameterInformation\": () => (/* binding */ ParameterInformation),\n/* harmony export */ \"SignatureInformation\": () => (/* binding */ SignatureInformation),\n/* harmony export */ \"DocumentHighlightKind\": () => (/* binding */ DocumentHighlightKind),\n/* harmony export */ \"DocumentHighlight\": () => (/* binding */ DocumentHighlight),\n/* harmony export */ \"SymbolKind\": () => (/* binding */ SymbolKind),\n/* harmony export */ \"SymbolTag\": () => (/* binding */ SymbolTag),\n/* harmony export */ \"SymbolInformation\": () => (/* binding */ SymbolInformation),\n/* harmony export */ \"DocumentSymbol\": () => (/* binding */ DocumentSymbol),\n/* harmony export */ \"CodeActionKind\": () => (/* binding */ CodeActionKind),\n/* harmony export */ \"CodeActionContext\": () => (/* binding */ CodeActionContext),\n/* harmony export */ \"CodeAction\": () => (/* binding */ CodeAction),\n/* harmony export */ \"CodeLens\": () => (/* binding */ CodeLens),\n/* harmony export */ \"FormattingOptions\": () => (/* binding */ FormattingOptions),\n/* harmony export */ \"DocumentLink\": () => (/* binding */ DocumentLink),\n/* harmony export */ \"SelectionRange\": () => (/* binding */ SelectionRange),\n/* harmony export */ \"EOL\": () => (/* binding */ EOL),\n/* harmony export */ \"TextDocument\": () => (/* binding */ TextDocument)\n/* harmony export */ });\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\nvar integer;\n(function (integer) {\n integer.MIN_VALUE = -2147483648;\n integer.MAX_VALUE = 2147483647;\n})(integer || (integer = {}));\nvar uinteger;\n(function (uinteger) {\n uinteger.MIN_VALUE = 0;\n uinteger.MAX_VALUE = 2147483647;\n})(uinteger || (uinteger = {}));\n/**\n * The Position namespace provides helper functions to work with\n * [Position](#Position) literals.\n */\nvar Position;\n(function (Position) {\n /**\n * Creates a new Position literal from the given line and character.\n * @param line The position's line.\n * @param character The position's character.\n */\n function create(line, character) {\n if (line === Number.MAX_VALUE) {\n line = uinteger.MAX_VALUE;\n }\n if (character === Number.MAX_VALUE) {\n character = uinteger.MAX_VALUE;\n }\n return { line: line, character: character };\n }\n Position.create = create;\n /**\n * Checks whether the given literal conforms to the [Position](#Position) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.objectLiteral(candidate) && Is.uinteger(candidate.line) && Is.uinteger(candidate.character);\n }\n Position.is = is;\n})(Position || (Position = {}));\n/**\n * The Range namespace provides helper functions to work with\n * [Range](#Range) literals.\n */\nvar Range;\n(function (Range) {\n function create(one, two, three, four) {\n if (Is.uinteger(one) && Is.uinteger(two) && Is.uinteger(three) && Is.uinteger(four)) {\n return { start: Position.create(one, two), end: Position.create(three, four) };\n }\n else if (Position.is(one) && Position.is(two)) {\n return { start: one, end: two };\n }\n else {\n throw new Error(\"Range#create called with invalid arguments[\" + one + \", \" + two + \", \" + three + \", \" + four + \"]\");\n }\n }\n Range.create = create;\n /**\n * Checks whether the given literal conforms to the [Range](#Range) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.objectLiteral(candidate) && Position.is(candidate.start) && Position.is(candidate.end);\n }\n Range.is = is;\n})(Range || (Range = {}));\n/**\n * The Location namespace provides helper functions to work with\n * [Location](#Location) literals.\n */\nvar Location;\n(function (Location) {\n /**\n * Creates a Location literal.\n * @param uri The location's uri.\n * @param range The location's range.\n */\n function create(uri, range) {\n return { uri: uri, range: range };\n }\n Location.create = create;\n /**\n * Checks whether the given literal conforms to the [Location](#Location) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Range.is(candidate.range) && (Is.string(candidate.uri) || Is.undefined(candidate.uri));\n }\n Location.is = is;\n})(Location || (Location = {}));\n/**\n * The LocationLink namespace provides helper functions to work with\n * [LocationLink](#LocationLink) literals.\n */\nvar LocationLink;\n(function (LocationLink) {\n /**\n * Creates a LocationLink literal.\n * @param targetUri The definition's uri.\n * @param targetRange The full range of the definition.\n * @param targetSelectionRange The span of the symbol definition at the target.\n * @param originSelectionRange The span of the symbol being defined in the originating source file.\n */\n function create(targetUri, targetRange, targetSelectionRange, originSelectionRange) {\n return { targetUri: targetUri, targetRange: targetRange, targetSelectionRange: targetSelectionRange, originSelectionRange: originSelectionRange };\n }\n LocationLink.create = create;\n /**\n * Checks whether the given literal conforms to the [LocationLink](#LocationLink) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Range.is(candidate.targetRange) && Is.string(candidate.targetUri)\n && (Range.is(candidate.targetSelectionRange) || Is.undefined(candidate.targetSelectionRange))\n && (Range.is(candidate.originSelectionRange) || Is.undefined(candidate.originSelectionRange));\n }\n LocationLink.is = is;\n})(LocationLink || (LocationLink = {}));\n/**\n * The Color namespace provides helper functions to work with\n * [Color](#Color) literals.\n */\nvar Color;\n(function (Color) {\n /**\n * Creates a new Color literal.\n */\n function create(red, green, blue, alpha) {\n return {\n red: red,\n green: green,\n blue: blue,\n alpha: alpha,\n };\n }\n Color.create = create;\n /**\n * Checks whether the given literal conforms to the [Color](#Color) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.numberRange(candidate.red, 0, 1)\n && Is.numberRange(candidate.green, 0, 1)\n && Is.numberRange(candidate.blue, 0, 1)\n && Is.numberRange(candidate.alpha, 0, 1);\n }\n Color.is = is;\n})(Color || (Color = {}));\n/**\n * The ColorInformation namespace provides helper functions to work with\n * [ColorInformation](#ColorInformation) literals.\n */\nvar ColorInformation;\n(function (ColorInformation) {\n /**\n * Creates a new ColorInformation literal.\n */\n function create(range, color) {\n return {\n range: range,\n color: color,\n };\n }\n ColorInformation.create = create;\n /**\n * Checks whether the given literal conforms to the [ColorInformation](#ColorInformation) interface.\n */\n function is(value) {\n var candidate = value;\n return Range.is(candidate.range) && Color.is(candidate.color);\n }\n ColorInformation.is = is;\n})(ColorInformation || (ColorInformation = {}));\n/**\n * The Color namespace provides helper functions to work with\n * [ColorPresentation](#ColorPresentation) literals.\n */\nvar ColorPresentation;\n(function (ColorPresentation) {\n /**\n * Creates a new ColorInformation literal.\n */\n function create(label, textEdit, additionalTextEdits) {\n return {\n label: label,\n textEdit: textEdit,\n additionalTextEdits: additionalTextEdits,\n };\n }\n ColorPresentation.create = create;\n /**\n * Checks whether the given literal conforms to the [ColorInformation](#ColorInformation) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.string(candidate.label)\n && (Is.undefined(candidate.textEdit) || TextEdit.is(candidate))\n && (Is.undefined(candidate.additionalTextEdits) || Is.typedArray(candidate.additionalTextEdits, TextEdit.is));\n }\n ColorPresentation.is = is;\n})(ColorPresentation || (ColorPresentation = {}));\n/**\n * Enum of known range kinds\n */\nvar FoldingRangeKind;\n(function (FoldingRangeKind) {\n /**\n * Folding range for a comment\n */\n FoldingRangeKind[\"Comment\"] = \"comment\";\n /**\n * Folding range for a imports or includes\n */\n FoldingRangeKind[\"Imports\"] = \"imports\";\n /**\n * Folding range for a region (e.g. `#region`)\n */\n FoldingRangeKind[\"Region\"] = \"region\";\n})(FoldingRangeKind || (FoldingRangeKind = {}));\n/**\n * The folding range namespace provides helper functions to work with\n * [FoldingRange](#FoldingRange) literals.\n */\nvar FoldingRange;\n(function (FoldingRange) {\n /**\n * Creates a new FoldingRange literal.\n */\n function create(startLine, endLine, startCharacter, endCharacter, kind) {\n var result = {\n startLine: startLine,\n endLine: endLine\n };\n if (Is.defined(startCharacter)) {\n result.startCharacter = startCharacter;\n }\n if (Is.defined(endCharacter)) {\n result.endCharacter = endCharacter;\n }\n if (Is.defined(kind)) {\n result.kind = kind;\n }\n return result;\n }\n FoldingRange.create = create;\n /**\n * Checks whether the given literal conforms to the [FoldingRange](#FoldingRange) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.uinteger(candidate.startLine) && Is.uinteger(candidate.startLine)\n && (Is.undefined(candidate.startCharacter) || Is.uinteger(candidate.startCharacter))\n && (Is.undefined(candidate.endCharacter) || Is.uinteger(candidate.endCharacter))\n && (Is.undefined(candidate.kind) || Is.string(candidate.kind));\n }\n FoldingRange.is = is;\n})(FoldingRange || (FoldingRange = {}));\n/**\n * The DiagnosticRelatedInformation namespace provides helper functions to work with\n * [DiagnosticRelatedInformation](#DiagnosticRelatedInformation) literals.\n */\nvar DiagnosticRelatedInformation;\n(function (DiagnosticRelatedInformation) {\n /**\n * Creates a new DiagnosticRelatedInformation literal.\n */\n function create(location, message) {\n return {\n location: location,\n message: message\n };\n }\n DiagnosticRelatedInformation.create = create;\n /**\n * Checks whether the given literal conforms to the [DiagnosticRelatedInformation](#DiagnosticRelatedInformation) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Location.is(candidate.location) && Is.string(candidate.message);\n }\n DiagnosticRelatedInformation.is = is;\n})(DiagnosticRelatedInformation || (DiagnosticRelatedInformation = {}));\n/**\n * The diagnostic's severity.\n */\nvar DiagnosticSeverity;\n(function (DiagnosticSeverity) {\n /**\n * Reports an error.\n */\n DiagnosticSeverity.Error = 1;\n /**\n * Reports a warning.\n */\n DiagnosticSeverity.Warning = 2;\n /**\n * Reports an information.\n */\n DiagnosticSeverity.Information = 3;\n /**\n * Reports a hint.\n */\n DiagnosticSeverity.Hint = 4;\n})(DiagnosticSeverity || (DiagnosticSeverity = {}));\n/**\n * The diagnostic tags.\n *\n * @since 3.15.0\n */\nvar DiagnosticTag;\n(function (DiagnosticTag) {\n /**\n * Unused or unnecessary code.\n *\n * Clients are allowed to render diagnostics with this tag faded out instead of having\n * an error squiggle.\n */\n DiagnosticTag.Unnecessary = 1;\n /**\n * Deprecated or obsolete code.\n *\n * Clients are allowed to rendered diagnostics with this tag strike through.\n */\n DiagnosticTag.Deprecated = 2;\n})(DiagnosticTag || (DiagnosticTag = {}));\n/**\n * The CodeDescription namespace provides functions to deal with descriptions for diagnostic codes.\n *\n * @since 3.16.0\n */\nvar CodeDescription;\n(function (CodeDescription) {\n function is(value) {\n var candidate = value;\n return candidate !== undefined && candidate !== null && Is.string(candidate.href);\n }\n CodeDescription.is = is;\n})(CodeDescription || (CodeDescription = {}));\n/**\n * The Diagnostic namespace provides helper functions to work with\n * [Diagnostic](#Diagnostic) literals.\n */\nvar Diagnostic;\n(function (Diagnostic) {\n /**\n * Creates a new Diagnostic literal.\n */\n function create(range, message, severity, code, source, relatedInformation) {\n var result = { range: range, message: message };\n if (Is.defined(severity)) {\n result.severity = severity;\n }\n if (Is.defined(code)) {\n result.code = code;\n }\n if (Is.defined(source)) {\n result.source = source;\n }\n if (Is.defined(relatedInformation)) {\n result.relatedInformation = relatedInformation;\n }\n return result;\n }\n Diagnostic.create = create;\n /**\n * Checks whether the given literal conforms to the [Diagnostic](#Diagnostic) interface.\n */\n function is(value) {\n var _a;\n var candidate = value;\n return Is.defined(candidate)\n && Range.is(candidate.range)\n && Is.string(candidate.message)\n && (Is.number(candidate.severity) || Is.undefined(candidate.severity))\n && (Is.integer(candidate.code) || Is.string(candidate.code) || Is.undefined(candidate.code))\n && (Is.undefined(candidate.codeDescription) || (Is.string((_a = candidate.codeDescription) === null || _a === void 0 ? void 0 : _a.href)))\n && (Is.string(candidate.source) || Is.undefined(candidate.source))\n && (Is.undefined(candidate.relatedInformation) || Is.typedArray(candidate.relatedInformation, DiagnosticRelatedInformation.is));\n }\n Diagnostic.is = is;\n})(Diagnostic || (Diagnostic = {}));\n/**\n * The Command namespace provides helper functions to work with\n * [Command](#Command) literals.\n */\nvar Command;\n(function (Command) {\n /**\n * Creates a new Command literal.\n */\n function create(title, command) {\n var args = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n args[_i - 2] = arguments[_i];\n }\n var result = { title: title, command: command };\n if (Is.defined(args) && args.length > 0) {\n result.arguments = args;\n }\n return result;\n }\n Command.create = create;\n /**\n * Checks whether the given literal conforms to the [Command](#Command) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Is.string(candidate.title) && Is.string(candidate.command);\n }\n Command.is = is;\n})(Command || (Command = {}));\n/**\n * The TextEdit namespace provides helper function to create replace,\n * insert and delete edits more easily.\n */\nvar TextEdit;\n(function (TextEdit) {\n /**\n * Creates a replace text edit.\n * @param range The range of text to be replaced.\n * @param newText The new text.\n */\n function replace(range, newText) {\n return { range: range, newText: newText };\n }\n TextEdit.replace = replace;\n /**\n * Creates a insert text edit.\n * @param position The position to insert the text at.\n * @param newText The text to be inserted.\n */\n function insert(position, newText) {\n return { range: { start: position, end: position }, newText: newText };\n }\n TextEdit.insert = insert;\n /**\n * Creates a delete text edit.\n * @param range The range of text to be deleted.\n */\n function del(range) {\n return { range: range, newText: '' };\n }\n TextEdit.del = del;\n function is(value) {\n var candidate = value;\n return Is.objectLiteral(candidate)\n && Is.string(candidate.newText)\n && Range.is(candidate.range);\n }\n TextEdit.is = is;\n})(TextEdit || (TextEdit = {}));\nvar ChangeAnnotation;\n(function (ChangeAnnotation) {\n function create(label, needsConfirmation, description) {\n var result = { label: label };\n if (needsConfirmation !== undefined) {\n result.needsConfirmation = needsConfirmation;\n }\n if (description !== undefined) {\n result.description = description;\n }\n return result;\n }\n ChangeAnnotation.create = create;\n function is(value) {\n var candidate = value;\n return candidate !== undefined && Is.objectLiteral(candidate) && Is.string(candidate.label) &&\n (Is.boolean(candidate.needsConfirmation) || candidate.needsConfirmation === undefined) &&\n (Is.string(candidate.description) || candidate.description === undefined);\n }\n ChangeAnnotation.is = is;\n})(ChangeAnnotation || (ChangeAnnotation = {}));\nvar ChangeAnnotationIdentifier;\n(function (ChangeAnnotationIdentifier) {\n function is(value) {\n var candidate = value;\n return typeof candidate === 'string';\n }\n ChangeAnnotationIdentifier.is = is;\n})(ChangeAnnotationIdentifier || (ChangeAnnotationIdentifier = {}));\nvar AnnotatedTextEdit;\n(function (AnnotatedTextEdit) {\n /**\n * Creates an annotated replace text edit.\n *\n * @param range The range of text to be replaced.\n * @param newText The new text.\n * @param annotation The annotation.\n */\n function replace(range, newText, annotation) {\n return { range: range, newText: newText, annotationId: annotation };\n }\n AnnotatedTextEdit.replace = replace;\n /**\n * Creates an annotated insert text edit.\n *\n * @param position The position to insert the text at.\n * @param newText The text to be inserted.\n * @param annotation The annotation.\n */\n function insert(position, newText, annotation) {\n return { range: { start: position, end: position }, newText: newText, annotationId: annotation };\n }\n AnnotatedTextEdit.insert = insert;\n /**\n * Creates an annotated delete text edit.\n *\n * @param range The range of text to be deleted.\n * @param annotation The annotation.\n */\n function del(range, annotation) {\n return { range: range, newText: '', annotationId: annotation };\n }\n AnnotatedTextEdit.del = del;\n function is(value) {\n var candidate = value;\n return TextEdit.is(candidate) && (ChangeAnnotation.is(candidate.annotationId) || ChangeAnnotationIdentifier.is(candidate.annotationId));\n }\n AnnotatedTextEdit.is = is;\n})(AnnotatedTextEdit || (AnnotatedTextEdit = {}));\n/**\n * The TextDocumentEdit namespace provides helper function to create\n * an edit that manipulates a text document.\n */\nvar TextDocumentEdit;\n(function (TextDocumentEdit) {\n /**\n * Creates a new `TextDocumentEdit`\n */\n function create(textDocument, edits) {\n return { textDocument: textDocument, edits: edits };\n }\n TextDocumentEdit.create = create;\n function is(value) {\n var candidate = value;\n return Is.defined(candidate)\n && OptionalVersionedTextDocumentIdentifier.is(candidate.textDocument)\n && Array.isArray(candidate.edits);\n }\n TextDocumentEdit.is = is;\n})(TextDocumentEdit || (TextDocumentEdit = {}));\nvar CreateFile;\n(function (CreateFile) {\n function create(uri, options, annotation) {\n var result = {\n kind: 'create',\n uri: uri\n };\n if (options !== undefined && (options.overwrite !== undefined || options.ignoreIfExists !== undefined)) {\n result.options = options;\n }\n if (annotation !== undefined) {\n result.annotationId = annotation;\n }\n return result;\n }\n CreateFile.create = create;\n function is(value) {\n var candidate = value;\n return candidate && candidate.kind === 'create' && Is.string(candidate.uri) && (candidate.options === undefined ||\n ((candidate.options.overwrite === undefined || Is.boolean(candidate.options.overwrite)) && (candidate.options.ignoreIfExists === undefined || Is.boolean(candidate.options.ignoreIfExists)))) && (candidate.annotationId === undefined || ChangeAnnotationIdentifier.is(candidate.annotationId));\n }\n CreateFile.is = is;\n})(CreateFile || (CreateFile = {}));\nvar RenameFile;\n(function (RenameFile) {\n function create(oldUri, newUri, options, annotation) {\n var result = {\n kind: 'rename',\n oldUri: oldUri,\n newUri: newUri\n };\n if (options !== undefined && (options.overwrite !== undefined || options.ignoreIfExists !== undefined)) {\n result.options = options;\n }\n if (annotation !== undefined) {\n result.annotationId = annotation;\n }\n return result;\n }\n RenameFile.create = create;\n function is(value) {\n var candidate = value;\n return candidate && candidate.kind === 'rename' && Is.string(candidate.oldUri) && Is.string(candidate.newUri) && (candidate.options === undefined ||\n ((candidate.options.overwrite === undefined || Is.boolean(candidate.options.overwrite)) && (candidate.options.ignoreIfExists === undefined || Is.boolean(candidate.options.ignoreIfExists)))) && (candidate.annotationId === undefined || ChangeAnnotationIdentifier.is(candidate.annotationId));\n }\n RenameFile.is = is;\n})(RenameFile || (RenameFile = {}));\nvar DeleteFile;\n(function (DeleteFile) {\n function create(uri, options, annotation) {\n var result = {\n kind: 'delete',\n uri: uri\n };\n if (options !== undefined && (options.recursive !== undefined || options.ignoreIfNotExists !== undefined)) {\n result.options = options;\n }\n if (annotation !== undefined) {\n result.annotationId = annotation;\n }\n return result;\n }\n DeleteFile.create = create;\n function is(value) {\n var candidate = value;\n return candidate && candidate.kind === 'delete' && Is.string(candidate.uri) && (candidate.options === undefined ||\n ((candidate.options.recursive === undefined || Is.boolean(candidate.options.recursive)) && (candidate.options.ignoreIfNotExists === undefined || Is.boolean(candidate.options.ignoreIfNotExists)))) && (candidate.annotationId === undefined || ChangeAnnotationIdentifier.is(candidate.annotationId));\n }\n DeleteFile.is = is;\n})(DeleteFile || (DeleteFile = {}));\nvar WorkspaceEdit;\n(function (WorkspaceEdit) {\n function is(value) {\n var candidate = value;\n return candidate &&\n (candidate.changes !== undefined || candidate.documentChanges !== undefined) &&\n (candidate.documentChanges === undefined || candidate.documentChanges.every(function (change) {\n if (Is.string(change.kind)) {\n return CreateFile.is(change) || RenameFile.is(change) || DeleteFile.is(change);\n }\n else {\n return TextDocumentEdit.is(change);\n }\n }));\n }\n WorkspaceEdit.is = is;\n})(WorkspaceEdit || (WorkspaceEdit = {}));\nvar TextEditChangeImpl = /** @class */ (function () {\n function TextEditChangeImpl(edits, changeAnnotations) {\n this.edits = edits;\n this.changeAnnotations = changeAnnotations;\n }\n TextEditChangeImpl.prototype.insert = function (position, newText, annotation) {\n var edit;\n var id;\n if (annotation === undefined) {\n edit = TextEdit.insert(position, newText);\n }\n else if (ChangeAnnotationIdentifier.is(annotation)) {\n id = annotation;\n edit = AnnotatedTextEdit.insert(position, newText, annotation);\n }\n else {\n this.assertChangeAnnotations(this.changeAnnotations);\n id = this.changeAnnotations.manage(annotation);\n edit = AnnotatedTextEdit.insert(position, newText, id);\n }\n this.edits.push(edit);\n if (id !== undefined) {\n return id;\n }\n };\n TextEditChangeImpl.prototype.replace = function (range, newText, annotation) {\n var edit;\n var id;\n if (annotation === undefined) {\n edit = TextEdit.replace(range, newText);\n }\n else if (ChangeAnnotationIdentifier.is(annotation)) {\n id = annotation;\n edit = AnnotatedTextEdit.replace(range, newText, annotation);\n }\n else {\n this.assertChangeAnnotations(this.changeAnnotations);\n id = this.changeAnnotations.manage(annotation);\n edit = AnnotatedTextEdit.replace(range, newText, id);\n }\n this.edits.push(edit);\n if (id !== undefined) {\n return id;\n }\n };\n TextEditChangeImpl.prototype.delete = function (range, annotation) {\n var edit;\n var id;\n if (annotation === undefined) {\n edit = TextEdit.del(range);\n }\n else if (ChangeAnnotationIdentifier.is(annotation)) {\n id = annotation;\n edit = AnnotatedTextEdit.del(range, annotation);\n }\n else {\n this.assertChangeAnnotations(this.changeAnnotations);\n id = this.changeAnnotations.manage(annotation);\n edit = AnnotatedTextEdit.del(range, id);\n }\n this.edits.push(edit);\n if (id !== undefined) {\n return id;\n }\n };\n TextEditChangeImpl.prototype.add = function (edit) {\n this.edits.push(edit);\n };\n TextEditChangeImpl.prototype.all = function () {\n return this.edits;\n };\n TextEditChangeImpl.prototype.clear = function () {\n this.edits.splice(0, this.edits.length);\n };\n TextEditChangeImpl.prototype.assertChangeAnnotations = function (value) {\n if (value === undefined) {\n throw new Error(\"Text edit change is not configured to manage change annotations.\");\n }\n };\n return TextEditChangeImpl;\n}());\n/**\n * A helper class\n */\nvar ChangeAnnotations = /** @class */ (function () {\n function ChangeAnnotations(annotations) {\n this._annotations = annotations === undefined ? Object.create(null) : annotations;\n this._counter = 0;\n this._size = 0;\n }\n ChangeAnnotations.prototype.all = function () {\n return this._annotations;\n };\n Object.defineProperty(ChangeAnnotations.prototype, \"size\", {\n get: function () {\n return this._size;\n },\n enumerable: false,\n configurable: true\n });\n ChangeAnnotations.prototype.manage = function (idOrAnnotation, annotation) {\n var id;\n if (ChangeAnnotationIdentifier.is(idOrAnnotation)) {\n id = idOrAnnotation;\n }\n else {\n id = this.nextId();\n annotation = idOrAnnotation;\n }\n if (this._annotations[id] !== undefined) {\n throw new Error(\"Id \" + id + \" is already in use.\");\n }\n if (annotation === undefined) {\n throw new Error(\"No annotation provided for id \" + id);\n }\n this._annotations[id] = annotation;\n this._size++;\n return id;\n };\n ChangeAnnotations.prototype.nextId = function () {\n this._counter++;\n return this._counter.toString();\n };\n return ChangeAnnotations;\n}());\n/**\n * A workspace change helps constructing changes to a workspace.\n */\nvar WorkspaceChange = /** @class */ (function () {\n function WorkspaceChange(workspaceEdit) {\n var _this = this;\n this._textEditChanges = Object.create(null);\n if (workspaceEdit !== undefined) {\n this._workspaceEdit = workspaceEdit;\n if (workspaceEdit.documentChanges) {\n this._changeAnnotations = new ChangeAnnotations(workspaceEdit.changeAnnotations);\n workspaceEdit.changeAnnotations = this._changeAnnotations.all();\n workspaceEdit.documentChanges.forEach(function (change) {\n if (TextDocumentEdit.is(change)) {\n var textEditChange = new TextEditChangeImpl(change.edits, _this._changeAnnotations);\n _this._textEditChanges[change.textDocument.uri] = textEditChange;\n }\n });\n }\n else if (workspaceEdit.changes) {\n Object.keys(workspaceEdit.changes).forEach(function (key) {\n var textEditChange = new TextEditChangeImpl(workspaceEdit.changes[key]);\n _this._textEditChanges[key] = textEditChange;\n });\n }\n }\n else {\n this._workspaceEdit = {};\n }\n }\n Object.defineProperty(WorkspaceChange.prototype, \"edit\", {\n /**\n * Returns the underlying [WorkspaceEdit](#WorkspaceEdit) literal\n * use to be returned from a workspace edit operation like rename.\n */\n get: function () {\n this.initDocumentChanges();\n if (this._changeAnnotations !== undefined) {\n if (this._changeAnnotations.size === 0) {\n this._workspaceEdit.changeAnnotations = undefined;\n }\n else {\n this._workspaceEdit.changeAnnotations = this._changeAnnotations.all();\n }\n }\n return this._workspaceEdit;\n },\n enumerable: false,\n configurable: true\n });\n WorkspaceChange.prototype.getTextEditChange = function (key) {\n if (OptionalVersionedTextDocumentIdentifier.is(key)) {\n this.initDocumentChanges();\n if (this._workspaceEdit.documentChanges === undefined) {\n throw new Error('Workspace edit is not configured for document changes.');\n }\n var textDocument = { uri: key.uri, version: key.version };\n var result = this._textEditChanges[textDocument.uri];\n if (!result) {\n var edits = [];\n var textDocumentEdit = {\n textDocument: textDocument,\n edits: edits\n };\n this._workspaceEdit.documentChanges.push(textDocumentEdit);\n result = new TextEditChangeImpl(edits, this._changeAnnotations);\n this._textEditChanges[textDocument.uri] = result;\n }\n return result;\n }\n else {\n this.initChanges();\n if (this._workspaceEdit.changes === undefined) {\n throw new Error('Workspace edit is not configured for normal text edit changes.');\n }\n var result = this._textEditChanges[key];\n if (!result) {\n var edits = [];\n this._workspaceEdit.changes[key] = edits;\n result = new TextEditChangeImpl(edits);\n this._textEditChanges[key] = result;\n }\n return result;\n }\n };\n WorkspaceChange.prototype.initDocumentChanges = function () {\n if (this._workspaceEdit.documentChanges === undefined && this._workspaceEdit.changes === undefined) {\n this._changeAnnotations = new ChangeAnnotations();\n this._workspaceEdit.documentChanges = [];\n this._workspaceEdit.changeAnnotations = this._changeAnnotations.all();\n }\n };\n WorkspaceChange.prototype.initChanges = function () {\n if (this._workspaceEdit.documentChanges === undefined && this._workspaceEdit.changes === undefined) {\n this._workspaceEdit.changes = Object.create(null);\n }\n };\n WorkspaceChange.prototype.createFile = function (uri, optionsOrAnnotation, options) {\n this.initDocumentChanges();\n if (this._workspaceEdit.documentChanges === undefined) {\n throw new Error('Workspace edit is not configured for document changes.');\n }\n var annotation;\n if (ChangeAnnotation.is(optionsOrAnnotation) || ChangeAnnotationIdentifier.is(optionsOrAnnotation)) {\n annotation = optionsOrAnnotation;\n }\n else {\n options = optionsOrAnnotation;\n }\n var operation;\n var id;\n if (annotation === undefined) {\n operation = CreateFile.create(uri, options);\n }\n else {\n id = ChangeAnnotationIdentifier.is(annotation) ? annotation : this._changeAnnotations.manage(annotation);\n operation = CreateFile.create(uri, options, id);\n }\n this._workspaceEdit.documentChanges.push(operation);\n if (id !== undefined) {\n return id;\n }\n };\n WorkspaceChange.prototype.renameFile = function (oldUri, newUri, optionsOrAnnotation, options) {\n this.initDocumentChanges();\n if (this._workspaceEdit.documentChanges === undefined) {\n throw new Error('Workspace edit is not configured for document changes.');\n }\n var annotation;\n if (ChangeAnnotation.is(optionsOrAnnotation) || ChangeAnnotationIdentifier.is(optionsOrAnnotation)) {\n annotation = optionsOrAnnotation;\n }\n else {\n options = optionsOrAnnotation;\n }\n var operation;\n var id;\n if (annotation === undefined) {\n operation = RenameFile.create(oldUri, newUri, options);\n }\n else {\n id = ChangeAnnotationIdentifier.is(annotation) ? annotation : this._changeAnnotations.manage(annotation);\n operation = RenameFile.create(oldUri, newUri, options, id);\n }\n this._workspaceEdit.documentChanges.push(operation);\n if (id !== undefined) {\n return id;\n }\n };\n WorkspaceChange.prototype.deleteFile = function (uri, optionsOrAnnotation, options) {\n this.initDocumentChanges();\n if (this._workspaceEdit.documentChanges === undefined) {\n throw new Error('Workspace edit is not configured for document changes.');\n }\n var annotation;\n if (ChangeAnnotation.is(optionsOrAnnotation) || ChangeAnnotationIdentifier.is(optionsOrAnnotation)) {\n annotation = optionsOrAnnotation;\n }\n else {\n options = optionsOrAnnotation;\n }\n var operation;\n var id;\n if (annotation === undefined) {\n operation = DeleteFile.create(uri, options);\n }\n else {\n id = ChangeAnnotationIdentifier.is(annotation) ? annotation : this._changeAnnotations.manage(annotation);\n operation = DeleteFile.create(uri, options, id);\n }\n this._workspaceEdit.documentChanges.push(operation);\n if (id !== undefined) {\n return id;\n }\n };\n return WorkspaceChange;\n}());\n\n/**\n * The TextDocumentIdentifier namespace provides helper functions to work with\n * [TextDocumentIdentifier](#TextDocumentIdentifier) literals.\n */\nvar TextDocumentIdentifier;\n(function (TextDocumentIdentifier) {\n /**\n * Creates a new TextDocumentIdentifier literal.\n * @param uri The document's uri.\n */\n function create(uri) {\n return { uri: uri };\n }\n TextDocumentIdentifier.create = create;\n /**\n * Checks whether the given literal conforms to the [TextDocumentIdentifier](#TextDocumentIdentifier) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Is.string(candidate.uri);\n }\n TextDocumentIdentifier.is = is;\n})(TextDocumentIdentifier || (TextDocumentIdentifier = {}));\n/**\n * The VersionedTextDocumentIdentifier namespace provides helper functions to work with\n * [VersionedTextDocumentIdentifier](#VersionedTextDocumentIdentifier) literals.\n */\nvar VersionedTextDocumentIdentifier;\n(function (VersionedTextDocumentIdentifier) {\n /**\n * Creates a new VersionedTextDocumentIdentifier literal.\n * @param uri The document's uri.\n * @param uri The document's text.\n */\n function create(uri, version) {\n return { uri: uri, version: version };\n }\n VersionedTextDocumentIdentifier.create = create;\n /**\n * Checks whether the given literal conforms to the [VersionedTextDocumentIdentifier](#VersionedTextDocumentIdentifier) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Is.string(candidate.uri) && Is.integer(candidate.version);\n }\n VersionedTextDocumentIdentifier.is = is;\n})(VersionedTextDocumentIdentifier || (VersionedTextDocumentIdentifier = {}));\n/**\n * The OptionalVersionedTextDocumentIdentifier namespace provides helper functions to work with\n * [OptionalVersionedTextDocumentIdentifier](#OptionalVersionedTextDocumentIdentifier) literals.\n */\nvar OptionalVersionedTextDocumentIdentifier;\n(function (OptionalVersionedTextDocumentIdentifier) {\n /**\n * Creates a new OptionalVersionedTextDocumentIdentifier literal.\n * @param uri The document's uri.\n * @param uri The document's text.\n */\n function create(uri, version) {\n return { uri: uri, version: version };\n }\n OptionalVersionedTextDocumentIdentifier.create = create;\n /**\n * Checks whether the given literal conforms to the [OptionalVersionedTextDocumentIdentifier](#OptionalVersionedTextDocumentIdentifier) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Is.string(candidate.uri) && (candidate.version === null || Is.integer(candidate.version));\n }\n OptionalVersionedTextDocumentIdentifier.is = is;\n})(OptionalVersionedTextDocumentIdentifier || (OptionalVersionedTextDocumentIdentifier = {}));\n/**\n * The TextDocumentItem namespace provides helper functions to work with\n * [TextDocumentItem](#TextDocumentItem) literals.\n */\nvar TextDocumentItem;\n(function (TextDocumentItem) {\n /**\n * Creates a new TextDocumentItem literal.\n * @param uri The document's uri.\n * @param languageId The document's language identifier.\n * @param version The document's version number.\n * @param text The document's text.\n */\n function create(uri, languageId, version, text) {\n return { uri: uri, languageId: languageId, version: version, text: text };\n }\n TextDocumentItem.create = create;\n /**\n * Checks whether the given literal conforms to the [TextDocumentItem](#TextDocumentItem) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Is.string(candidate.uri) && Is.string(candidate.languageId) && Is.integer(candidate.version) && Is.string(candidate.text);\n }\n TextDocumentItem.is = is;\n})(TextDocumentItem || (TextDocumentItem = {}));\n/**\n * Describes the content type that a client supports in various\n * result literals like `Hover`, `ParameterInfo` or `CompletionItem`.\n *\n * Please note that `MarkupKinds` must not start with a `$`. This kinds\n * are reserved for internal usage.\n */\nvar MarkupKind;\n(function (MarkupKind) {\n /**\n * Plain text is supported as a content format\n */\n MarkupKind.PlainText = 'plaintext';\n /**\n * Markdown is supported as a content format\n */\n MarkupKind.Markdown = 'markdown';\n})(MarkupKind || (MarkupKind = {}));\n(function (MarkupKind) {\n /**\n * Checks whether the given value is a value of the [MarkupKind](#MarkupKind) type.\n */\n function is(value) {\n var candidate = value;\n return candidate === MarkupKind.PlainText || candidate === MarkupKind.Markdown;\n }\n MarkupKind.is = is;\n})(MarkupKind || (MarkupKind = {}));\nvar MarkupContent;\n(function (MarkupContent) {\n /**\n * Checks whether the given value conforms to the [MarkupContent](#MarkupContent) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.objectLiteral(value) && MarkupKind.is(candidate.kind) && Is.string(candidate.value);\n }\n MarkupContent.is = is;\n})(MarkupContent || (MarkupContent = {}));\n/**\n * The kind of a completion entry.\n */\nvar CompletionItemKind;\n(function (CompletionItemKind) {\n CompletionItemKind.Text = 1;\n CompletionItemKind.Method = 2;\n CompletionItemKind.Function = 3;\n CompletionItemKind.Constructor = 4;\n CompletionItemKind.Field = 5;\n CompletionItemKind.Variable = 6;\n CompletionItemKind.Class = 7;\n CompletionItemKind.Interface = 8;\n CompletionItemKind.Module = 9;\n CompletionItemKind.Property = 10;\n CompletionItemKind.Unit = 11;\n CompletionItemKind.Value = 12;\n CompletionItemKind.Enum = 13;\n CompletionItemKind.Keyword = 14;\n CompletionItemKind.Snippet = 15;\n CompletionItemKind.Color = 16;\n CompletionItemKind.File = 17;\n CompletionItemKind.Reference = 18;\n CompletionItemKind.Folder = 19;\n CompletionItemKind.EnumMember = 20;\n CompletionItemKind.Constant = 21;\n CompletionItemKind.Struct = 22;\n CompletionItemKind.Event = 23;\n CompletionItemKind.Operator = 24;\n CompletionItemKind.TypeParameter = 25;\n})(CompletionItemKind || (CompletionItemKind = {}));\n/**\n * Defines whether the insert text in a completion item should be interpreted as\n * plain text or a snippet.\n */\nvar InsertTextFormat;\n(function (InsertTextFormat) {\n /**\n * The primary text to be inserted is treated as a plain string.\n */\n InsertTextFormat.PlainText = 1;\n /**\n * The primary text to be inserted is treated as a snippet.\n *\n * A snippet can define tab stops and placeholders with `$1`, `$2`\n * and `${3:foo}`. `$0` defines the final tab stop, it defaults to\n * the end of the snippet. Placeholders with equal identifiers are linked,\n * that is typing in one will update others too.\n *\n * See also: https://microsoft.github.io/language-server-protocol/specifications/specification-current/#snippet_syntax\n */\n InsertTextFormat.Snippet = 2;\n})(InsertTextFormat || (InsertTextFormat = {}));\n/**\n * Completion item tags are extra annotations that tweak the rendering of a completion\n * item.\n *\n * @since 3.15.0\n */\nvar CompletionItemTag;\n(function (CompletionItemTag) {\n /**\n * Render a completion as obsolete, usually using a strike-out.\n */\n CompletionItemTag.Deprecated = 1;\n})(CompletionItemTag || (CompletionItemTag = {}));\n/**\n * The InsertReplaceEdit namespace provides functions to deal with insert / replace edits.\n *\n * @since 3.16.0\n */\nvar InsertReplaceEdit;\n(function (InsertReplaceEdit) {\n /**\n * Creates a new insert / replace edit\n */\n function create(newText, insert, replace) {\n return { newText: newText, insert: insert, replace: replace };\n }\n InsertReplaceEdit.create = create;\n /**\n * Checks whether the given literal conforms to the [InsertReplaceEdit](#InsertReplaceEdit) interface.\n */\n function is(value) {\n var candidate = value;\n return candidate && Is.string(candidate.newText) && Range.is(candidate.insert) && Range.is(candidate.replace);\n }\n InsertReplaceEdit.is = is;\n})(InsertReplaceEdit || (InsertReplaceEdit = {}));\n/**\n * How whitespace and indentation is handled during completion\n * item insertion.\n *\n * @since 3.16.0\n */\nvar InsertTextMode;\n(function (InsertTextMode) {\n /**\n * The insertion or replace strings is taken as it is. If the\n * value is multi line the lines below the cursor will be\n * inserted using the indentation defined in the string value.\n * The client will not apply any kind of adjustments to the\n * string.\n */\n InsertTextMode.asIs = 1;\n /**\n * The editor adjusts leading whitespace of new lines so that\n * they match the indentation up to the cursor of the line for\n * which the item is accepted.\n *\n * Consider a line like this: <2tabs><cursor><3tabs>foo. Accepting a\n * multi line completion item is indented using 2 tabs and all\n * following lines inserted will be indented using 2 tabs as well.\n */\n InsertTextMode.adjustIndentation = 2;\n})(InsertTextMode || (InsertTextMode = {}));\n/**\n * The CompletionItem namespace provides functions to deal with\n * completion items.\n */\nvar CompletionItem;\n(function (CompletionItem) {\n /**\n * Create a completion item and seed it with a label.\n * @param label The completion item's label\n */\n function create(label) {\n return { label: label };\n }\n CompletionItem.create = create;\n})(CompletionItem || (CompletionItem = {}));\n/**\n * The CompletionList namespace provides functions to deal with\n * completion lists.\n */\nvar CompletionList;\n(function (CompletionList) {\n /**\n * Creates a new completion list.\n *\n * @param items The completion items.\n * @param isIncomplete The list is not complete.\n */\n function create(items, isIncomplete) {\n return { items: items ? items : [], isIncomplete: !!isIncomplete };\n }\n CompletionList.create = create;\n})(CompletionList || (CompletionList = {}));\nvar MarkedString;\n(function (MarkedString) {\n /**\n * Creates a marked string from plain text.\n *\n * @param plainText The plain text.\n */\n function fromPlainText(plainText) {\n return plainText.replace(/[\\\\`*_{}[\\]()#+\\-.!]/g, '\\\\$&'); // escape markdown syntax tokens: http://daringfireball.net/projects/markdown/syntax#backslash\n }\n MarkedString.fromPlainText = fromPlainText;\n /**\n * Checks whether the given value conforms to the [MarkedString](#MarkedString) type.\n */\n function is(value) {\n var candidate = value;\n return Is.string(candidate) || (Is.objectLiteral(candidate) && Is.string(candidate.language) && Is.string(candidate.value));\n }\n MarkedString.is = is;\n})(MarkedString || (MarkedString = {}));\nvar Hover;\n(function (Hover) {\n /**\n * Checks whether the given value conforms to the [Hover](#Hover) interface.\n */\n function is(value) {\n var candidate = value;\n return !!candidate && Is.objectLiteral(candidate) && (MarkupContent.is(candidate.contents) ||\n MarkedString.is(candidate.contents) ||\n Is.typedArray(candidate.contents, MarkedString.is)) && (value.range === undefined || Range.is(value.range));\n }\n Hover.is = is;\n})(Hover || (Hover = {}));\n/**\n * The ParameterInformation namespace provides helper functions to work with\n * [ParameterInformation](#ParameterInformation) literals.\n */\nvar ParameterInformation;\n(function (ParameterInformation) {\n /**\n * Creates a new parameter information literal.\n *\n * @param label A label string.\n * @param documentation A doc string.\n */\n function create(label, documentation) {\n return documentation ? { label: label, documentation: documentation } : { label: label };\n }\n ParameterInformation.create = create;\n})(ParameterInformation || (ParameterInformation = {}));\n/**\n * The SignatureInformation namespace provides helper functions to work with\n * [SignatureInformation](#SignatureInformation) literals.\n */\nvar SignatureInformation;\n(function (SignatureInformation) {\n function create(label, documentation) {\n var parameters = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n parameters[_i - 2] = arguments[_i];\n }\n var result = { label: label };\n if (Is.defined(documentation)) {\n result.documentation = documentation;\n }\n if (Is.defined(parameters)) {\n result.parameters = parameters;\n }\n else {\n result.parameters = [];\n }\n return result;\n }\n SignatureInformation.create = create;\n})(SignatureInformation || (SignatureInformation = {}));\n/**\n * A document highlight kind.\n */\nvar DocumentHighlightKind;\n(function (DocumentHighlightKind) {\n /**\n * A textual occurrence.\n */\n DocumentHighlightKind.Text = 1;\n /**\n * Read-access of a symbol, like reading a variable.\n */\n DocumentHighlightKind.Read = 2;\n /**\n * Write-access of a symbol, like writing to a variable.\n */\n DocumentHighlightKind.Write = 3;\n})(DocumentHighlightKind || (DocumentHighlightKind = {}));\n/**\n * DocumentHighlight namespace to provide helper functions to work with\n * [DocumentHighlight](#DocumentHighlight) literals.\n */\nvar DocumentHighlight;\n(function (DocumentHighlight) {\n /**\n * Create a DocumentHighlight object.\n * @param range The range the highlight applies to.\n */\n function create(range, kind) {\n var result = { range: range };\n if (Is.number(kind)) {\n result.kind = kind;\n }\n return result;\n }\n DocumentHighlight.create = create;\n})(DocumentHighlight || (DocumentHighlight = {}));\n/**\n * A symbol kind.\n */\nvar SymbolKind;\n(function (SymbolKind) {\n SymbolKind.File = 1;\n SymbolKind.Module = 2;\n SymbolKind.Namespace = 3;\n SymbolKind.Package = 4;\n SymbolKind.Class = 5;\n SymbolKind.Method = 6;\n SymbolKind.Property = 7;\n SymbolKind.Field = 8;\n SymbolKind.Constructor = 9;\n SymbolKind.Enum = 10;\n SymbolKind.Interface = 11;\n SymbolKind.Function = 12;\n SymbolKind.Variable = 13;\n SymbolKind.Constant = 14;\n SymbolKind.String = 15;\n SymbolKind.Number = 16;\n SymbolKind.Boolean = 17;\n SymbolKind.Array = 18;\n SymbolKind.Object = 19;\n SymbolKind.Key = 20;\n SymbolKind.Null = 21;\n SymbolKind.EnumMember = 22;\n SymbolKind.Struct = 23;\n SymbolKind.Event = 24;\n SymbolKind.Operator = 25;\n SymbolKind.TypeParameter = 26;\n})(SymbolKind || (SymbolKind = {}));\n/**\n * Symbol tags are extra annotations that tweak the rendering of a symbol.\n * @since 3.16\n */\nvar SymbolTag;\n(function (SymbolTag) {\n /**\n * Render a symbol as obsolete, usually using a strike-out.\n */\n SymbolTag.Deprecated = 1;\n})(SymbolTag || (SymbolTag = {}));\nvar SymbolInformation;\n(function (SymbolInformation) {\n /**\n * Creates a new symbol information literal.\n *\n * @param name The name of the symbol.\n * @param kind The kind of the symbol.\n * @param range The range of the location of the symbol.\n * @param uri The resource of the location of symbol, defaults to the current document.\n * @param containerName The name of the symbol containing the symbol.\n */\n function create(name, kind, range, uri, containerName) {\n var result = {\n name: name,\n kind: kind,\n location: { uri: uri, range: range }\n };\n if (containerName) {\n result.containerName = containerName;\n }\n return result;\n }\n SymbolInformation.create = create;\n})(SymbolInformation || (SymbolInformation = {}));\nvar DocumentSymbol;\n(function (DocumentSymbol) {\n /**\n * Creates a new symbol information literal.\n *\n * @param name The name of the symbol.\n * @param detail The detail of the symbol.\n * @param kind The kind of the symbol.\n * @param range The range of the symbol.\n * @param selectionRange The selectionRange of the symbol.\n * @param children Children of the symbol.\n */\n function create(name, detail, kind, range, selectionRange, children) {\n var result = {\n name: name,\n detail: detail,\n kind: kind,\n range: range,\n selectionRange: selectionRange\n };\n if (children !== undefined) {\n result.children = children;\n }\n return result;\n }\n DocumentSymbol.create = create;\n /**\n * Checks whether the given literal conforms to the [DocumentSymbol](#DocumentSymbol) interface.\n */\n function is(value) {\n var candidate = value;\n return candidate &&\n Is.string(candidate.name) && Is.number(candidate.kind) &&\n Range.is(candidate.range) && Range.is(candidate.selectionRange) &&\n (candidate.detail === undefined || Is.string(candidate.detail)) &&\n (candidate.deprecated === undefined || Is.boolean(candidate.deprecated)) &&\n (candidate.children === undefined || Array.isArray(candidate.children)) &&\n (candidate.tags === undefined || Array.isArray(candidate.tags));\n }\n DocumentSymbol.is = is;\n})(DocumentSymbol || (DocumentSymbol = {}));\n/**\n * A set of predefined code action kinds\n */\nvar CodeActionKind;\n(function (CodeActionKind) {\n /**\n * Empty kind.\n */\n CodeActionKind.Empty = '';\n /**\n * Base kind for quickfix actions: 'quickfix'\n */\n CodeActionKind.QuickFix = 'quickfix';\n /**\n * Base kind for refactoring actions: 'refactor'\n */\n CodeActionKind.Refactor = 'refactor';\n /**\n * Base kind for refactoring extraction actions: 'refactor.extract'\n *\n * Example extract actions:\n *\n * - Extract method\n * - Extract function\n * - Extract variable\n * - Extract interface from class\n * - ...\n */\n CodeActionKind.RefactorExtract = 'refactor.extract';\n /**\n * Base kind for refactoring inline actions: 'refactor.inline'\n *\n * Example inline actions:\n *\n * - Inline function\n * - Inline variable\n * - Inline constant\n * - ...\n */\n CodeActionKind.RefactorInline = 'refactor.inline';\n /**\n * Base kind for refactoring rewrite actions: 'refactor.rewrite'\n *\n * Example rewrite actions:\n *\n * - Convert JavaScript function to class\n * - Add or remove parameter\n * - Encapsulate field\n * - Make method static\n * - Move method to base class\n * - ...\n */\n CodeActionKind.RefactorRewrite = 'refactor.rewrite';\n /**\n * Base kind for source actions: `source`\n *\n * Source code actions apply to the entire file.\n */\n CodeActionKind.Source = 'source';\n /**\n * Base kind for an organize imports source action: `source.organizeImports`\n */\n CodeActionKind.SourceOrganizeImports = 'source.organizeImports';\n /**\n * Base kind for auto-fix source actions: `source.fixAll`.\n *\n * Fix all actions automatically fix errors that have a clear fix that do not require user input.\n * They should not suppress errors or perform unsafe fixes such as generating new types or classes.\n *\n * @since 3.15.0\n */\n CodeActionKind.SourceFixAll = 'source.fixAll';\n})(CodeActionKind || (CodeActionKind = {}));\n/**\n * The CodeActionContext namespace provides helper functions to work with\n * [CodeActionContext](#CodeActionContext) literals.\n */\nvar CodeActionContext;\n(function (CodeActionContext) {\n /**\n * Creates a new CodeActionContext literal.\n */\n function create(diagnostics, only) {\n var result = { diagnostics: diagnostics };\n if (only !== undefined && only !== null) {\n result.only = only;\n }\n return result;\n }\n CodeActionContext.create = create;\n /**\n * Checks whether the given literal conforms to the [CodeActionContext](#CodeActionContext) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Is.typedArray(candidate.diagnostics, Diagnostic.is) && (candidate.only === undefined || Is.typedArray(candidate.only, Is.string));\n }\n CodeActionContext.is = is;\n})(CodeActionContext || (CodeActionContext = {}));\nvar CodeAction;\n(function (CodeAction) {\n function create(title, kindOrCommandOrEdit, kind) {\n var result = { title: title };\n var checkKind = true;\n if (typeof kindOrCommandOrEdit === 'string') {\n checkKind = false;\n result.kind = kindOrCommandOrEdit;\n }\n else if (Command.is(kindOrCommandOrEdit)) {\n result.command = kindOrCommandOrEdit;\n }\n else {\n result.edit = kindOrCommandOrEdit;\n }\n if (checkKind && kind !== undefined) {\n result.kind = kind;\n }\n return result;\n }\n CodeAction.create = create;\n function is(value) {\n var candidate = value;\n return candidate && Is.string(candidate.title) &&\n (candidate.diagnostics === undefined || Is.typedArray(candidate.diagnostics, Diagnostic.is)) &&\n (candidate.kind === undefined || Is.string(candidate.kind)) &&\n (candidate.edit !== undefined || candidate.command !== undefined) &&\n (candidate.command === undefined || Command.is(candidate.command)) &&\n (candidate.isPreferred === undefined || Is.boolean(candidate.isPreferred)) &&\n (candidate.edit === undefined || WorkspaceEdit.is(candidate.edit));\n }\n CodeAction.is = is;\n})(CodeAction || (CodeAction = {}));\n/**\n * The CodeLens namespace provides helper functions to work with\n * [CodeLens](#CodeLens) literals.\n */\nvar CodeLens;\n(function (CodeLens) {\n /**\n * Creates a new CodeLens literal.\n */\n function create(range, data) {\n var result = { range: range };\n if (Is.defined(data)) {\n result.data = data;\n }\n return result;\n }\n CodeLens.create = create;\n /**\n * Checks whether the given literal conforms to the [CodeLens](#CodeLens) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Range.is(candidate.range) && (Is.undefined(candidate.command) || Command.is(candidate.command));\n }\n CodeLens.is = is;\n})(CodeLens || (CodeLens = {}));\n/**\n * The FormattingOptions namespace provides helper functions to work with\n * [FormattingOptions](#FormattingOptions) literals.\n */\nvar FormattingOptions;\n(function (FormattingOptions) {\n /**\n * Creates a new FormattingOptions literal.\n */\n function create(tabSize, insertSpaces) {\n return { tabSize: tabSize, insertSpaces: insertSpaces };\n }\n FormattingOptions.create = create;\n /**\n * Checks whether the given literal conforms to the [FormattingOptions](#FormattingOptions) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Is.uinteger(candidate.tabSize) && Is.boolean(candidate.insertSpaces);\n }\n FormattingOptions.is = is;\n})(FormattingOptions || (FormattingOptions = {}));\n/**\n * The DocumentLink namespace provides helper functions to work with\n * [DocumentLink](#DocumentLink) literals.\n */\nvar DocumentLink;\n(function (DocumentLink) {\n /**\n * Creates a new DocumentLink literal.\n */\n function create(range, target, data) {\n return { range: range, target: target, data: data };\n }\n DocumentLink.create = create;\n /**\n * Checks whether the given literal conforms to the [DocumentLink](#DocumentLink) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Range.is(candidate.range) && (Is.undefined(candidate.target) || Is.string(candidate.target));\n }\n DocumentLink.is = is;\n})(DocumentLink || (DocumentLink = {}));\n/**\n * The SelectionRange namespace provides helper function to work with\n * SelectionRange literals.\n */\nvar SelectionRange;\n(function (SelectionRange) {\n /**\n * Creates a new SelectionRange\n * @param range the range.\n * @param parent an optional parent.\n */\n function create(range, parent) {\n return { range: range, parent: parent };\n }\n SelectionRange.create = create;\n function is(value) {\n var candidate = value;\n return candidate !== undefined && Range.is(candidate.range) && (candidate.parent === undefined || SelectionRange.is(candidate.parent));\n }\n SelectionRange.is = is;\n})(SelectionRange || (SelectionRange = {}));\nvar EOL = ['\\n', '\\r\\n', '\\r'];\n/**\n * @deprecated Use the text document from the new vscode-languageserver-textdocument package.\n */\nvar TextDocument;\n(function (TextDocument) {\n /**\n * Creates a new ITextDocument literal from the given uri and content.\n * @param uri The document's uri.\n * @param languageId The document's language Id.\n * @param content The document's content.\n */\n function create(uri, languageId, version, content) {\n return new FullTextDocument(uri, languageId, version, content);\n }\n TextDocument.create = create;\n /**\n * Checks whether the given literal conforms to the [ITextDocument](#ITextDocument) interface.\n */\n function is(value) {\n var candidate = value;\n return Is.defined(candidate) && Is.string(candidate.uri) && (Is.undefined(candidate.languageId) || Is.string(candidate.languageId)) && Is.uinteger(candidate.lineCount)\n && Is.func(candidate.getText) && Is.func(candidate.positionAt) && Is.func(candidate.offsetAt) ? true : false;\n }\n TextDocument.is = is;\n function applyEdits(document, edits) {\n var text = document.getText();\n var sortedEdits = mergeSort(edits, function (a, b) {\n var diff = a.range.start.line - b.range.start.line;\n if (diff === 0) {\n return a.range.start.character - b.range.start.character;\n }\n return diff;\n });\n var lastModifiedOffset = text.length;\n for (var i = sortedEdits.length - 1; i >= 0; i--) {\n var e = sortedEdits[i];\n var startOffset = document.offsetAt(e.range.start);\n var endOffset = document.offsetAt(e.range.end);\n if (endOffset <= lastModifiedOffset) {\n text = text.substring(0, startOffset) + e.newText + text.substring(endOffset, text.length);\n }\n else {\n throw new Error('Overlapping edit');\n }\n lastModifiedOffset = startOffset;\n }\n return text;\n }\n TextDocument.applyEdits = applyEdits;\n function mergeSort(data, compare) {\n if (data.length <= 1) {\n // sorted\n return data;\n }\n var p = (data.length / 2) | 0;\n var left = data.slice(0, p);\n var right = data.slice(p);\n mergeSort(left, compare);\n mergeSort(right, compare);\n var leftIdx = 0;\n var rightIdx = 0;\n var i = 0;\n while (leftIdx < left.length && rightIdx < right.length) {\n var ret = compare(left[leftIdx], right[rightIdx]);\n if (ret <= 0) {\n // smaller_equal -> take left to preserve order\n data[i++] = left[leftIdx++];\n }\n else {\n // greater -> take right\n data[i++] = right[rightIdx++];\n }\n }\n while (leftIdx < left.length) {\n data[i++] = left[leftIdx++];\n }\n while (rightIdx < right.length) {\n data[i++] = right[rightIdx++];\n }\n return data;\n }\n})(TextDocument || (TextDocument = {}));\n/**\n * @deprecated Use the text document from the new vscode-languageserver-textdocument package.\n */\nvar FullTextDocument = /** @class */ (function () {\n function FullTextDocument(uri, languageId, version, content) {\n this._uri = uri;\n this._languageId = languageId;\n this._version = version;\n this._content = content;\n this._lineOffsets = undefined;\n }\n Object.defineProperty(FullTextDocument.prototype, \"uri\", {\n get: function () {\n return this._uri;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(FullTextDocument.prototype, \"languageId\", {\n get: function () {\n return this._languageId;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(FullTextDocument.prototype, \"version\", {\n get: function () {\n return this._version;\n },\n enumerable: false,\n configurable: true\n });\n FullTextDocument.prototype.getText = function (range) {\n if (range) {\n var start = this.offsetAt(range.start);\n var end = this.offsetAt(range.end);\n return this._content.substring(start, end);\n }\n return this._content;\n };\n FullTextDocument.prototype.update = function (event, version) {\n this._content = event.text;\n this._version = version;\n this._lineOffsets = undefined;\n };\n FullTextDocument.prototype.getLineOffsets = function () {\n if (this._lineOffsets === undefined) {\n var lineOffsets = [];\n var text = this._content;\n var isLineStart = true;\n for (var i = 0; i < text.length; i++) {\n if (isLineStart) {\n lineOffsets.push(i);\n isLineStart = false;\n }\n var ch = text.charAt(i);\n isLineStart = (ch === '\\r' || ch === '\\n');\n if (ch === '\\r' && i + 1 < text.length && text.charAt(i + 1) === '\\n') {\n i++;\n }\n }\n if (isLineStart && text.length > 0) {\n lineOffsets.push(text.length);\n }\n this._lineOffsets = lineOffsets;\n }\n return this._lineOffsets;\n };\n FullTextDocument.prototype.positionAt = function (offset) {\n offset = Math.max(Math.min(offset, this._content.length), 0);\n var lineOffsets = this.getLineOffsets();\n var low = 0, high = lineOffsets.length;\n if (high === 0) {\n return Position.create(0, offset);\n }\n while (low < high) {\n var mid = Math.floor((low + high) / 2);\n if (lineOffsets[mid] > offset) {\n high = mid;\n }\n else {\n low = mid + 1;\n }\n }\n // low is the least x for which the line offset is larger than the current offset\n // or array.length if no line offset is larger than the current offset\n var line = low - 1;\n return Position.create(line, offset - lineOffsets[line]);\n };\n FullTextDocument.prototype.offsetAt = function (position) {\n var lineOffsets = this.getLineOffsets();\n if (position.line >= lineOffsets.length) {\n return this._content.length;\n }\n else if (position.line < 0) {\n return 0;\n }\n var lineOffset = lineOffsets[position.line];\n var nextLineOffset = (position.line + 1 < lineOffsets.length) ? lineOffsets[position.line + 1] : this._content.length;\n return Math.max(Math.min(lineOffset + position.character, nextLineOffset), lineOffset);\n };\n Object.defineProperty(FullTextDocument.prototype, \"lineCount\", {\n get: function () {\n return this.getLineOffsets().length;\n },\n enumerable: false,\n configurable: true\n });\n return FullTextDocument;\n}());\nvar Is;\n(function (Is) {\n var toString = Object.prototype.toString;\n function defined(value) {\n return typeof value !== 'undefined';\n }\n Is.defined = defined;\n function undefined(value) {\n return typeof value === 'undefined';\n }\n Is.undefined = undefined;\n function boolean(value) {\n return value === true || value === false;\n }\n Is.boolean = boolean;\n function string(value) {\n return toString.call(value) === '[object String]';\n }\n Is.string = string;\n function number(value) {\n return toString.call(value) === '[object Number]';\n }\n Is.number = number;\n function numberRange(value, min, max) {\n return toString.call(value) === '[object Number]' && min <= value && value <= max;\n }\n Is.numberRange = numberRange;\n function integer(value) {\n return toString.call(value) === '[object Number]' && -2147483648 <= value && value <= 2147483647;\n }\n Is.integer = integer;\n function uinteger(value) {\n return toString.call(value) === '[object Number]' && 0 <= value && value <= 2147483647;\n }\n Is.uinteger = uinteger;\n function func(value) {\n return toString.call(value) === '[object Function]';\n }\n Is.func = func;\n function objectLiteral(value) {\n // Strictly speaking class instances pass this check as well. Since the LSP\n // doesn't use classes we ignore this for now. If we do we need to add something\n // like this: `Object.getPrototypeOf(Object.getPrototypeOf(x)) === null`\n return value !== null && typeof value === 'object';\n }\n Is.objectLiteral = objectLiteral;\n function typedArray(value, check) {\n return Array.isArray(value) && value.every(check);\n }\n Is.typedArray = typedArray;\n})(Is || (Is = {}));\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-languageserver-types/main.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-uri/index.js":
|
||
/*!**********************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-uri/index.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 */ \"URI\": () => (/* binding */ URI),\n/* harmony export */ \"Utils\": () => (/* binding */ Utils)\n/* harmony export */ });\nvar LIB;LIB=(()=>{\"use strict\";var t={470:t=>{function e(t){if(\"string\"!=typeof t)throw new TypeError(\"Path must be a string. Received \"+JSON.stringify(t))}function r(t,e){for(var r,n=\"\",o=0,i=-1,a=0,h=0;h<=t.length;++h){if(h<t.length)r=t.charCodeAt(h);else{if(47===r)break;r=47}if(47===r){if(i===h-1||1===a);else if(i!==h-1&&2===a){if(n.length<2||2!==o||46!==n.charCodeAt(n.length-1)||46!==n.charCodeAt(n.length-2))if(n.length>2){var s=n.lastIndexOf(\"/\");if(s!==n.length-1){-1===s?(n=\"\",o=0):o=(n=n.slice(0,s)).length-1-n.lastIndexOf(\"/\"),i=h,a=0;continue}}else if(2===n.length||1===n.length){n=\"\",o=0,i=h,a=0;continue}e&&(n.length>0?n+=\"/..\":n=\"..\",o=2)}else n.length>0?n+=\"/\"+t.slice(i+1,h):n=t.slice(i+1,h),o=h-i-1;i=h,a=0}else 46===r&&-1!==a?++a:a=-1}return n}var n={resolve:function(){for(var t,n=\"\",o=!1,i=arguments.length-1;i>=-1&&!o;i--){var a;i>=0?a=arguments[i]:(void 0===t&&(t=process.cwd()),a=t),e(a),0!==a.length&&(n=a+\"/\"+n,o=47===a.charCodeAt(0))}return n=r(n,!o),o?n.length>0?\"/\"+n:\"/\":n.length>0?n:\".\"},normalize:function(t){if(e(t),0===t.length)return\".\";var n=47===t.charCodeAt(0),o=47===t.charCodeAt(t.length-1);return 0!==(t=r(t,!n)).length||n||(t=\".\"),t.length>0&&o&&(t+=\"/\"),n?\"/\"+t:t},isAbsolute:function(t){return e(t),t.length>0&&47===t.charCodeAt(0)},join:function(){if(0===arguments.length)return\".\";for(var t,r=0;r<arguments.length;++r){var o=arguments[r];e(o),o.length>0&&(void 0===t?t=o:t+=\"/\"+o)}return void 0===t?\".\":n.normalize(t)},relative:function(t,r){if(e(t),e(r),t===r)return\"\";if((t=n.resolve(t))===(r=n.resolve(r)))return\"\";for(var o=1;o<t.length&&47===t.charCodeAt(o);++o);for(var i=t.length,a=i-o,h=1;h<r.length&&47===r.charCodeAt(h);++h);for(var s=r.length-h,f=a<s?a:s,u=-1,c=0;c<=f;++c){if(c===f){if(s>f){if(47===r.charCodeAt(h+c))return r.slice(h+c+1);if(0===c)return r.slice(h+c)}else a>f&&(47===t.charCodeAt(o+c)?u=c:0===c&&(u=0));break}var l=t.charCodeAt(o+c);if(l!==r.charCodeAt(h+c))break;47===l&&(u=c)}var p=\"\";for(c=o+u+1;c<=i;++c)c!==i&&47!==t.charCodeAt(c)||(0===p.length?p+=\"..\":p+=\"/..\");return p.length>0?p+r.slice(h+u):(h+=u,47===r.charCodeAt(h)&&++h,r.slice(h))},_makeLong:function(t){return t},dirname:function(t){if(e(t),0===t.length)return\".\";for(var r=t.charCodeAt(0),n=47===r,o=-1,i=!0,a=t.length-1;a>=1;--a)if(47===(r=t.charCodeAt(a))){if(!i){o=a;break}}else i=!1;return-1===o?n?\"/\":\".\":n&&1===o?\"//\":t.slice(0,o)},basename:function(t,r){if(void 0!==r&&\"string\"!=typeof r)throw new TypeError('\"ext\" argument must be a string');e(t);var n,o=0,i=-1,a=!0;if(void 0!==r&&r.length>0&&r.length<=t.length){if(r.length===t.length&&r===t)return\"\";var h=r.length-1,s=-1;for(n=t.length-1;n>=0;--n){var f=t.charCodeAt(n);if(47===f){if(!a){o=n+1;break}}else-1===s&&(a=!1,s=n+1),h>=0&&(f===r.charCodeAt(h)?-1==--h&&(i=n):(h=-1,i=s))}return o===i?i=s:-1===i&&(i=t.length),t.slice(o,i)}for(n=t.length-1;n>=0;--n)if(47===t.charCodeAt(n)){if(!a){o=n+1;break}}else-1===i&&(a=!1,i=n+1);return-1===i?\"\":t.slice(o,i)},extname:function(t){e(t);for(var r=-1,n=0,o=-1,i=!0,a=0,h=t.length-1;h>=0;--h){var s=t.charCodeAt(h);if(47!==s)-1===o&&(i=!1,o=h+1),46===s?-1===r?r=h:1!==a&&(a=1):-1!==r&&(a=-1);else if(!i){n=h+1;break}}return-1===r||-1===o||0===a||1===a&&r===o-1&&r===n+1?\"\":t.slice(r,o)},format:function(t){if(null===t||\"object\"!=typeof t)throw new TypeError('The \"pathObject\" argument must be of type Object. Received type '+typeof t);return function(t,e){var r=e.dir||e.root,n=e.base||(e.name||\"\")+(e.ext||\"\");return r?r===e.root?r+n:r+\"/\"+n:n}(0,t)},parse:function(t){e(t);var r={root:\"\",dir:\"\",base:\"\",ext:\"\",name:\"\"};if(0===t.length)return r;var n,o=t.charCodeAt(0),i=47===o;i?(r.root=\"/\",n=1):n=0;for(var a=-1,h=0,s=-1,f=!0,u=t.length-1,c=0;u>=n;--u)if(47!==(o=t.charCodeAt(u)))-1===s&&(f=!1,s=u+1),46===o?-1===a?a=u:1!==c&&(c=1):-1!==a&&(c=-1);else if(!f){h=u+1;break}return-1===a||-1===s||0===c||1===c&&a===s-1&&a===h+1?-1!==s&&(r.base=r.name=0===h&&i?t.slice(1,s):t.slice(h,s)):(0===h&&i?(r.name=t.slice(1,a),r.base=t.slice(1,s)):(r.name=t.slice(h,a),r.base=t.slice(h,s)),r.ext=t.slice(a,s)),h>0?r.dir=t.slice(0,h-1):i&&(r.dir=\"/\"),r},sep:\"/\",delimiter:\":\",win32:null,posix:null};n.posix=n,t.exports=n},447:(t,e,r)=>{var n;if(r.r(e),r.d(e,{URI:()=>g,Utils:()=>O}),\"object\"==typeof process)n=\"win32\"===process.platform;else if(\"object\"==typeof navigator){var o=navigator.userAgent;n=o.indexOf(\"Windows\")>=0}var i,a,h=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),s=/^\\w[\\w\\d+.-]*$/,f=/^\\//,u=/^\\/\\//,c=\"\",l=\"/\",p=/^(([^:/?#]+?):)?(\\/\\/([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?/,g=function(){function t(t,e,r,n,o,i){void 0===i&&(i=!1),\"object\"==typeof t?(this.scheme=t.scheme||c,this.authority=t.authority||c,this.path=t.path||c,this.query=t.query||c,this.fragment=t.fragment||c):(this.scheme=function(t,e){return t||e?t:\"file\"}(t,i),this.authority=e||c,this.path=function(t,e){switch(t){case\"https\":case\"http\":case\"file\":e?e[0]!==l&&(e=l+e):e=l}return e}(this.scheme,r||c),this.query=n||c,this.fragment=o||c,function(t,e){if(!t.scheme&&e)throw new Error('[UriError]: Scheme is missing: {scheme: \"\", authority: \"'+t.authority+'\", path: \"'+t.path+'\", query: \"'+t.query+'\", fragment: \"'+t.fragment+'\"}');if(t.scheme&&!s.test(t.scheme))throw new Error(\"[UriError]: Scheme contains illegal characters.\");if(t.path)if(t.authority){if(!f.test(t.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash (\"/\") character')}else if(u.test(t.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters (\"//\")')}(this,i))}return t.isUri=function(e){return e instanceof t||!!e&&\"string\"==typeof e.authority&&\"string\"==typeof e.fragment&&\"string\"==typeof e.path&&\"string\"==typeof e.query&&\"string\"==typeof e.scheme&&\"function\"==typeof e.fsPath&&\"function\"==typeof e.with&&\"function\"==typeof e.toString},Object.defineProperty(t.prototype,\"fsPath\",{get:function(){return C(this,!1)},enumerable:!1,configurable:!0}),t.prototype.with=function(t){if(!t)return this;var e=t.scheme,r=t.authority,n=t.path,o=t.query,i=t.fragment;return void 0===e?e=this.scheme:null===e&&(e=c),void 0===r?r=this.authority:null===r&&(r=c),void 0===n?n=this.path:null===n&&(n=c),void 0===o?o=this.query:null===o&&(o=c),void 0===i?i=this.fragment:null===i&&(i=c),e===this.scheme&&r===this.authority&&n===this.path&&o===this.query&&i===this.fragment?this:new v(e,r,n,o,i)},t.parse=function(t,e){void 0===e&&(e=!1);var r=p.exec(t);return r?new v(r[2]||c,x(r[4]||c),x(r[5]||c),x(r[7]||c),x(r[9]||c),e):new v(c,c,c,c,c)},t.file=function(t){var e=c;if(n&&(t=t.replace(/\\\\/g,l)),t[0]===l&&t[1]===l){var r=t.indexOf(l,2);-1===r?(e=t.substring(2),t=l):(e=t.substring(2,r),t=t.substring(r)||l)}return new v(\"file\",e,t,c,c)},t.from=function(t){return new v(t.scheme,t.authority,t.path,t.query,t.fragment)},t.prototype.toString=function(t){return void 0===t&&(t=!1),A(this,t)},t.prototype.toJSON=function(){return this},t.revive=function(e){if(e){if(e instanceof t)return e;var r=new v(e);return r._formatted=e.external,r._fsPath=e._sep===d?e.fsPath:null,r}return e},t}(),d=n?1:void 0,v=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._formatted=null,e._fsPath=null,e}return h(e,t),Object.defineProperty(e.prototype,\"fsPath\",{get:function(){return this._fsPath||(this._fsPath=C(this,!1)),this._fsPath},enumerable:!1,configurable:!0}),e.prototype.toString=function(t){return void 0===t&&(t=!1),t?A(this,!0):(this._formatted||(this._formatted=A(this,!1)),this._formatted)},e.prototype.toJSON=function(){var t={$mid:1};return this._fsPath&&(t.fsPath=this._fsPath,t._sep=d),this._formatted&&(t.external=this._formatted),this.path&&(t.path=this.path),this.scheme&&(t.scheme=this.scheme),this.authority&&(t.authority=this.authority),this.query&&(t.query=this.query),this.fragment&&(t.fragment=this.fragment),t},e}(g),m=((a={})[58]=\"%3A\",a[47]=\"%2F\",a[63]=\"%3F\",a[35]=\"%23\",a[91]=\"%5B\",a[93]=\"%5D\",a[64]=\"%40\",a[33]=\"%21\",a[36]=\"%24\",a[38]=\"%26\",a[39]=\"%27\",a[40]=\"%28\",a[41]=\"%29\",a[42]=\"%2A\",a[43]=\"%2B\",a[44]=\"%2C\",a[59]=\"%3B\",a[61]=\"%3D\",a[32]=\"%20\",a);function y(t,e){for(var r=void 0,n=-1,o=0;o<t.length;o++){var i=t.charCodeAt(o);if(i>=97&&i<=122||i>=65&&i<=90||i>=48&&i<=57||45===i||46===i||95===i||126===i||e&&47===i)-1!==n&&(r+=encodeURIComponent(t.substring(n,o)),n=-1),void 0!==r&&(r+=t.charAt(o));else{void 0===r&&(r=t.substr(0,o));var a=m[i];void 0!==a?(-1!==n&&(r+=encodeURIComponent(t.substring(n,o)),n=-1),r+=a):-1===n&&(n=o)}}return-1!==n&&(r+=encodeURIComponent(t.substring(n))),void 0!==r?r:t}function b(t){for(var e=void 0,r=0;r<t.length;r++){var n=t.charCodeAt(r);35===n||63===n?(void 0===e&&(e=t.substr(0,r)),e+=m[n]):void 0!==e&&(e+=t[r])}return void 0!==e?e:t}function C(t,e){var r;return r=t.authority&&t.path.length>1&&\"file\"===t.scheme?\"//\"+t.authority+t.path:47===t.path.charCodeAt(0)&&(t.path.charCodeAt(1)>=65&&t.path.charCodeAt(1)<=90||t.path.charCodeAt(1)>=97&&t.path.charCodeAt(1)<=122)&&58===t.path.charCodeAt(2)?e?t.path.substr(1):t.path[1].toLowerCase()+t.path.substr(2):t.path,n&&(r=r.replace(/\\//g,\"\\\\\")),r}function A(t,e){var r=e?b:y,n=\"\",o=t.scheme,i=t.authority,a=t.path,h=t.query,s=t.fragment;if(o&&(n+=o,n+=\":\"),(i||\"file\"===o)&&(n+=l,n+=l),i){var f=i.indexOf(\"@\");if(-1!==f){var u=i.substr(0,f);i=i.substr(f+1),-1===(f=u.indexOf(\":\"))?n+=r(u,!1):(n+=r(u.substr(0,f),!1),n+=\":\",n+=r(u.substr(f+1),!1)),n+=\"@\"}-1===(f=(i=i.toLowerCase()).indexOf(\":\"))?n+=r(i,!1):(n+=r(i.substr(0,f),!1),n+=i.substr(f))}if(a){if(a.length>=3&&47===a.charCodeAt(0)&&58===a.charCodeAt(2))(c=a.charCodeAt(1))>=65&&c<=90&&(a=\"/\"+String.fromCharCode(c+32)+\":\"+a.substr(3));else if(a.length>=2&&58===a.charCodeAt(1)){var c;(c=a.charCodeAt(0))>=65&&c<=90&&(a=String.fromCharCode(c+32)+\":\"+a.substr(2))}n+=r(a,!0)}return h&&(n+=\"?\",n+=r(h,!1)),s&&(n+=\"#\",n+=e?s:y(s,!1)),n}function w(t){try{return decodeURIComponent(t)}catch(e){return t.length>3?t.substr(0,3)+w(t.substr(3)):t}}var _=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function x(t){return t.match(_)?t.replace(_,(function(t){return w(t)})):t}var O,P=r(470),j=function(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;var n=Array(t),o=0;for(e=0;e<r;e++)for(var i=arguments[e],a=0,h=i.length;a<h;a++,o++)n[o]=i[a];return n},U=P.posix||P;!function(t){t.joinPath=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return t.with({path:U.join.apply(U,j([t.path],e))})},t.resolvePath=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var n=t.path||\"/\";return t.with({path:U.resolve.apply(U,j([n],e))})},t.dirname=function(t){var e=U.dirname(t.path);return 1===e.length&&46===e.charCodeAt(0)?t:t.with({path:e})},t.basename=function(t){return U.basename(t.path)},t.extname=function(t){return U.extname(t.path)}}(O||(O={}))}},e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}return r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(t,\"__esModule\",{value:!0})},r(447)})();const{URI,Utils}=LIB;\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-uri/index.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/css.worker.js":
|
||
/*!**********************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/css.worker.js ***!
|
||
\**********************************************************************/
|
||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _editor_editor_worker_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../editor/editor.worker.js */ \"./node_modules/monaco-editor/esm/vs/editor/editor.worker.js\");\n/* harmony import */ var _cssWorker_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./cssWorker.js */ \"./node_modules/monaco-editor/esm/vs/language/css/cssWorker.js\");\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\n\r\n\r\nself.onmessage = function () {\r\n // ignore the first message\r\n _editor_editor_worker_js__WEBPACK_IMPORTED_MODULE_0__.initialize(function (ctx, createData) {\r\n return new _cssWorker_js__WEBPACK_IMPORTED_MODULE_1__.CSSWorker(ctx, createData);\r\n });\r\n};\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/css.worker.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/cssWorker.js":
|
||
/*!*********************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/cssWorker.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 */ \"CSSWorker\": () => (/* binding */ CSSWorker),\n/* harmony export */ \"create\": () => (/* binding */ create)\n/* harmony export */ });\n/* harmony import */ var _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_deps/vscode-css-languageservice/cssLanguageService.js */ \"./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/cssLanguageService.js\");\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 __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n};\r\nvar __generator = (undefined && undefined.__generator) || function (thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n};\r\n\r\nvar CSSWorker = /** @class */ (function () {\r\n function CSSWorker(ctx, createData) {\r\n this._ctx = ctx;\r\n this._languageSettings = createData.languageSettings;\r\n this._languageId = createData.languageId;\r\n switch (this._languageId) {\r\n case 'css':\r\n this._languageService = _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.getCSSLanguageService();\r\n break;\r\n case 'less':\r\n this._languageService = _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.getLESSLanguageService();\r\n break;\r\n case 'scss':\r\n this._languageService = _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.getSCSSLanguageService();\r\n break;\r\n default:\r\n throw new Error('Invalid language id: ' + this._languageId);\r\n }\r\n this._languageService.configure(this._languageSettings);\r\n }\r\n // --- language service host ---------------\r\n CSSWorker.prototype.doValidation = function (uri) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var document, stylesheet, diagnostics;\r\n return __generator(this, function (_a) {\r\n document = this._getTextDocument(uri);\r\n if (document) {\r\n stylesheet = this._languageService.parseStylesheet(document);\r\n diagnostics = this._languageService.doValidation(document, stylesheet);\r\n return [2 /*return*/, Promise.resolve(diagnostics)];\r\n }\r\n return [2 /*return*/, Promise.resolve([])];\r\n });\r\n });\r\n };\r\n CSSWorker.prototype.doComplete = function (uri, position) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var document, stylesheet, completions;\r\n return __generator(this, function (_a) {\r\n document = this._getTextDocument(uri);\r\n stylesheet = this._languageService.parseStylesheet(document);\r\n completions = this._languageService.doComplete(document, position, stylesheet);\r\n return [2 /*return*/, Promise.resolve(completions)];\r\n });\r\n });\r\n };\r\n CSSWorker.prototype.doHover = function (uri, position) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var document, stylesheet, hover;\r\n return __generator(this, function (_a) {\r\n document = this._getTextDocument(uri);\r\n stylesheet = this._languageService.parseStylesheet(document);\r\n hover = this._languageService.doHover(document, position, stylesheet);\r\n return [2 /*return*/, Promise.resolve(hover)];\r\n });\r\n });\r\n };\r\n CSSWorker.prototype.findDefinition = function (uri, position) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var document, stylesheet, definition;\r\n return __generator(this, function (_a) {\r\n document = this._getTextDocument(uri);\r\n stylesheet = this._languageService.parseStylesheet(document);\r\n definition = this._languageService.findDefinition(document, position, stylesheet);\r\n return [2 /*return*/, Promise.resolve(definition)];\r\n });\r\n });\r\n };\r\n CSSWorker.prototype.findReferences = function (uri, position) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var document, stylesheet, references;\r\n return __generator(this, function (_a) {\r\n document = this._getTextDocument(uri);\r\n stylesheet = this._languageService.parseStylesheet(document);\r\n references = this._languageService.findReferences(document, position, stylesheet);\r\n return [2 /*return*/, Promise.resolve(references)];\r\n });\r\n });\r\n };\r\n CSSWorker.prototype.findDocumentHighlights = function (uri, position) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var document, stylesheet, highlights;\r\n return __generator(this, function (_a) {\r\n document = this._getTextDocument(uri);\r\n stylesheet = this._languageService.parseStylesheet(document);\r\n highlights = this._languageService.findDocumentHighlights(document, position, stylesheet);\r\n return [2 /*return*/, Promise.resolve(highlights)];\r\n });\r\n });\r\n };\r\n CSSWorker.prototype.findDocumentSymbols = function (uri) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var document, stylesheet, symbols;\r\n return __generator(this, function (_a) {\r\n document = this._getTextDocument(uri);\r\n stylesheet = this._languageService.parseStylesheet(document);\r\n symbols = this._languageService.findDocumentSymbols(document, stylesheet);\r\n return [2 /*return*/, Promise.resolve(symbols)];\r\n });\r\n });\r\n };\r\n CSSWorker.prototype.doCodeActions = function (uri, range, context) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var document, stylesheet, actions;\r\n return __generator(this, function (_a) {\r\n document = this._getTextDocument(uri);\r\n stylesheet = this._languageService.parseStylesheet(document);\r\n actions = this._languageService.doCodeActions(document, range, context, stylesheet);\r\n return [2 /*return*/, Promise.resolve(actions)];\r\n });\r\n });\r\n };\r\n CSSWorker.prototype.findDocumentColors = function (uri) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var document, stylesheet, colorSymbols;\r\n return __generator(this, function (_a) {\r\n document = this._getTextDocument(uri);\r\n stylesheet = this._languageService.parseStylesheet(document);\r\n colorSymbols = this._languageService.findDocumentColors(document, stylesheet);\r\n return [2 /*return*/, Promise.resolve(colorSymbols)];\r\n });\r\n });\r\n };\r\n CSSWorker.prototype.getColorPresentations = function (uri, color, range) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var document, stylesheet, colorPresentations;\r\n return __generator(this, function (_a) {\r\n document = this._getTextDocument(uri);\r\n stylesheet = this._languageService.parseStylesheet(document);\r\n colorPresentations = this._languageService.getColorPresentations(document, stylesheet, color, range);\r\n return [2 /*return*/, Promise.resolve(colorPresentations)];\r\n });\r\n });\r\n };\r\n CSSWorker.prototype.getFoldingRanges = function (uri, context) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var document, ranges;\r\n return __generator(this, function (_a) {\r\n document = this._getTextDocument(uri);\r\n ranges = this._languageService.getFoldingRanges(document, context);\r\n return [2 /*return*/, Promise.resolve(ranges)];\r\n });\r\n });\r\n };\r\n CSSWorker.prototype.getSelectionRanges = function (uri, positions) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var document, stylesheet, ranges;\r\n return __generator(this, function (_a) {\r\n document = this._getTextDocument(uri);\r\n stylesheet = this._languageService.parseStylesheet(document);\r\n ranges = this._languageService.getSelectionRanges(document, positions, stylesheet);\r\n return [2 /*return*/, Promise.resolve(ranges)];\r\n });\r\n });\r\n };\r\n CSSWorker.prototype.doRename = function (uri, position, newName) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var document, stylesheet, renames;\r\n return __generator(this, function (_a) {\r\n document = this._getTextDocument(uri);\r\n stylesheet = this._languageService.parseStylesheet(document);\r\n renames = this._languageService.doRename(document, position, newName, stylesheet);\r\n return [2 /*return*/, Promise.resolve(renames)];\r\n });\r\n });\r\n };\r\n CSSWorker.prototype._getTextDocument = function (uri) {\r\n var models = this._ctx.getMirrorModels();\r\n for (var _i = 0, models_1 = models; _i < models_1.length; _i++) {\r\n var model = models_1[_i];\r\n if (model.uri.toString() === uri) {\r\n return _deps_vscode_css_languageservice_cssLanguageService_js__WEBPACK_IMPORTED_MODULE_0__.TextDocument.create(uri, this._languageId, model.version, model.getValue());\r\n }\r\n }\r\n return null;\r\n };\r\n return CSSWorker;\r\n}());\r\n\r\nfunction create(ctx, createData) {\r\n return new CSSWorker(ctx, createData);\r\n}\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/cssWorker.js?");
|
||
|
||
/***/ }),
|
||
|
||
/***/ "./node_modules/monaco-editor/esm/vs/language/css/fillers/vscode-nls.js":
|
||
/*!******************************************************************************!*\
|
||
!*** ./node_modules/monaco-editor/esm/vs/language/css/fillers/vscode-nls.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 */ \"loadMessageBundle\": () => (/* binding */ loadMessageBundle),\n/* harmony export */ \"config\": () => (/* binding */ config)\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\nfunction format(message, args) {\r\n var result;\r\n if (args.length === 0) {\r\n result = message;\r\n }\r\n else {\r\n result = message.replace(/\\{(\\d+)\\}/g, function (match, rest) {\r\n var index = rest[0];\r\n return typeof args[index] !== 'undefined' ? args[index] : match;\r\n });\r\n }\r\n return result;\r\n}\r\nfunction localize(key, message) {\r\n var args = [];\r\n for (var _i = 2; _i < arguments.length; _i++) {\r\n args[_i - 2] = arguments[_i];\r\n }\r\n return format(message, args);\r\n}\r\nfunction loadMessageBundle(file) {\r\n return localize;\r\n}\r\nfunction config(opt) {\r\n return loadMessageBundle;\r\n}\r\n\n\n//# sourceURL=webpack://browser-esm-webpack/./node_modules/monaco-editor/esm/vs/language/css/fillers/vscode-nls.js?");
|
||
|
||
/***/ })
|
||
|
||
/******/ });
|
||
/************************************************************************/
|
||
/******/ // The module cache
|
||
/******/ var __webpack_module_cache__ = {};
|
||
/******/
|
||
/******/ // The require function
|
||
/******/ function __webpack_require__(moduleId) {
|
||
/******/ // Check if module is in cache
|
||
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
||
/******/ if (cachedModule !== undefined) {
|
||
/******/ return cachedModule.exports;
|
||
/******/ }
|
||
/******/ // Create a new module (and put it into the cache)
|
||
/******/ var module = __webpack_module_cache__[moduleId] = {
|
||
/******/ // no module.id needed
|
||
/******/ // no module.loaded needed
|
||
/******/ exports: {}
|
||
/******/ };
|
||
/******/
|
||
/******/ // Execute the module function
|
||
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
||
/******/
|
||
/******/ // Return the exports of the module
|
||
/******/ return module.exports;
|
||
/******/ }
|
||
/******/
|
||
/************************************************************************/
|
||
/******/ /* webpack/runtime/define property getters */
|
||
/******/ (() => {
|
||
/******/ // define getter functions for harmony exports
|
||
/******/ __webpack_require__.d = (exports, definition) => {
|
||
/******/ for(var key in definition) {
|
||
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
||
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
||
/******/ }
|
||
/******/ }
|
||
/******/ };
|
||
/******/ })();
|
||
/******/
|
||
/******/ /* webpack/runtime/global */
|
||
/******/ (() => {
|
||
/******/ __webpack_require__.g = (function() {
|
||
/******/ if (typeof globalThis === 'object') return globalThis;
|
||
/******/ try {
|
||
/******/ return this || new Function('return this')();
|
||
/******/ } catch (e) {
|
||
/******/ if (typeof window === 'object') return window;
|
||
/******/ }
|
||
/******/ })();
|
||
/******/ })();
|
||
/******/
|
||
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
||
/******/ (() => {
|
||
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
||
/******/ })();
|
||
/******/
|
||
/******/ /* webpack/runtime/make namespace object */
|
||
/******/ (() => {
|
||
/******/ // define __esModule on exports
|
||
/******/ __webpack_require__.r = (exports) => {
|
||
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
||
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
||
/******/ }
|
||
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
||
/******/ };
|
||
/******/ })();
|
||
/******/
|
||
/************************************************************************/
|
||
/******/
|
||
/******/ // startup
|
||
/******/ // Load entry module and return exports
|
||
/******/ // This entry module can't be inlined because the eval devtool is used.
|
||
/******/ var __webpack_exports__ = __webpack_require__("./node_modules/monaco-editor/esm/vs/language/css/css.worker.js");
|
||
/******/
|
||
/******/ })()
|
||
; |